IN CadastroInventarioEstoque.integrador: mudanças entre as edições
Criou página com '{{VoltarPagina}} *<b>Requisição</b> **<b>Soap:</b> http://servidor/CadastroInventarioEstoque.integrador.asmx **<b>Rest/JSon:</b> http://servidor/CadastroInventarioEstoque.i...' |
Sem resumo de edição |
||
| (14 revisões intermediárias por 2 usuários não estão sendo mostradas) | |||
| Linha 1: | Linha 1: | ||
{{VoltarPagina}} | {{VoltarPagina}} | ||
[[Integrador]] > | |||
[[IN_CIGAM Integrador#Estoque|WebServices]] > | |||
[[IN CadastroInventarioEstoque.integrador]] | |||
=Requisição= | |||
*<b>Soap:</b> http://servidor/CadastroInventarioEstoque.integrador.asmx | |||
*<b>Rest/JSon:</b> http://servidor/CadastroInventarioEstoque.integrador.ashx/metodo | |||
**<b>Tipo de registro:</b> INVEST | |||
== | =Métodos= | ||
< | <!--bgcolor="#5F6B7A"--> | ||
</ | <center><table class="mw-collapsible mw-collapsed wikitable" width="95%"> | ||
<tr> | |||
<td bgcolor="#6E6E6E" align="rigth" style="padding: 8px 20px;><font color="#FFFFFF"><b>ListarId</b></font></td> | |||
</tr> | |||
<tr> | |||
<td><p align="justify" style="margin-left: 0.12in; text-indent: 0.25in; margin-bottom: 0.00in; font-weight: normal; line-height: 50%;"><b>Parâmetros:</b></p><br> | |||
{{#tree: minExpandLevel=2 | | {{#tree: minExpandLevel=2 | | ||
*pin | *pin | ||
** Obrigatório, Tipo: String 20 | ** Obrigatório, Tipo: String 20 | ||
}} | }} | ||
<p align= | <p align="justify" style="margin-left: 0.32in; text-indent: 0.45in; margin-bottom: 0.08in; font-weight: normal; line-height: 150%;"><br/> | ||
<b> | <b>Retornos:</b><br/> | ||
Se sucesso:<br/> | Se sucesso:<br/> | ||
{{#tree: minExpandLevel=2 | | {{#tree: minExpandLevel=2 | | ||
| Linha 31: | Linha 37: | ||
Se nenhum registro encontrado:<br/> | Se nenhum registro encontrado:<br/> | ||
A consulta não retornou nenhum registro.</p> | A consulta não retornou nenhum registro.</p> | ||
{{VoltarInicio}}</td> | |||
</tr> | |||
</table></center> | |||
== | <center><table class="mw-collapsible mw-collapsed wikitable" width="95%"> | ||
< | <tr> | ||
</ | <td bgcolor="#6E6E6E" align="rigth" style="padding: 8px 20px;><font color="#FFFFFF"><b>ListarIndividual</b></font></td> | ||
</tr> | |||
<tr> | |||
<td><p align="justify" style="margin-left: 0.12in; text-indent: 0.25in; margin-bottom: 0.00in; font-weight: normal; line-height: 50%;"><b>Parâmetros:</b></p><br> | |||
{{#tree: minExpandLevel=2 | | {{#tree: minExpandLevel=2 | | ||
*pin | *pin | ||
| Linha 45: | Linha 55: | ||
*dataDoInventario | *dataDoInventario | ||
** Obrigatório, Tipo: | ** Obrigatório, Tipo: DateTime | ||
}} | }} | ||
<p align= | <p align="justify" style="margin-left: 0.32in; text-indent: 0.45in; margin-bottom: 0.08in; font-weight: normal; line-height: 150%;"><br/> | ||
<b> | <b>Retornos:</b><br/> | ||
Se sucesso:<br/> | Se sucesso:<br/> | ||
{{#tree: minExpandLevel=2 | | {{#tree: minExpandLevel=2 | | ||
| Linha 90: | Linha 100: | ||
Se nenhum registro encontrado:<br/> | Se nenhum registro encontrado:<br/> | ||
A consulta não retornou nenhum registro.</p> | A consulta não retornou nenhum registro.</p> | ||
{{VoltarInicio}}</td> | |||
</tr> | |||
</table></center> | |||
== | <center><table class="mw-collapsible mw-collapsed wikitable" width="95%"> | ||
< | <tr> | ||
</ | <td bgcolor="#6E6E6E" align="rigth" style="padding: 8px 20px;><font color="#FFFFFF"><b>ListarInventarioEstoque</b></font></td> | ||
</tr> | |||
<tr> | |||
<td><p align="justify" style="margin-left: 0.12in; text-indent: 0.25in; margin-bottom: 0.00in; font-weight: normal; line-height: 50%;"><b>Parâmetros:</b></p><br> | |||
{{#tree: minExpandLevel=2 | | {{#tree: minExpandLevel=2 | | ||
*pin | *pin | ||
** Obrigatório, Tipo: String 20 | ** Obrigatório, Tipo: String 20 | ||
* | *codigoUnidadeNegocio | ||
** Tipo: | ** Obrigatório, Tipo: String 20 | ||
* | *dataDoInventario | ||
** Tipo: | ** Obrigatório, Tipo: DateTime | ||
* | *tipoResposta | ||
** Obrigatório, Tipo: String 20 | |||
** Tipo: String | |||
}} | }} | ||
<p align= | <p align="justify" style="margin-left: 0.32in; text-indent: 0.45in; margin-bottom: 0.08in; font-weight: normal; line-height: 150%;"><br/> | ||
<b> | <b>Retornos:</b><br/> | ||
Se sucesso:<br/> | Se sucesso:<br/> | ||
{{#tree: minExpandLevel=2 | | {{#tree: minExpandLevel=2 | | ||
| Linha 148: | Linha 159: | ||
*usresinventari3 | *usresinventari3 | ||
** Tipo: Float | ** Tipo: Float | ||
*ItemInv | |||
**idItensDoInventario | |||
*** Tipo: Int | |||
**codigoUnidadeNegocio | |||
*** Tipo: String | |||
**dataDoInventario | |||
*** Tipo: Date | |||
**centroDeArmazenagem | |||
*** Tipo: String | |||
**material | |||
*** Tipo: String | |||
**especif1 | |||
*** Tipo: String | |||
**especif2 | |||
*** Tipo: String | |||
**especif3 | |||
*** Tipo: String | |||
**numeracao | |||
*** Tipo: String | |||
**lote | |||
*** Tipo: String | |||
**quantidade | |||
*** Tipo: Float | |||
**pecas | |||
*** Tipo: Float | |||
**precoMedio | |||
*** Tipo: Float | |||
**valorTotal | |||
*** Tipo: Float | |||
**precoCusto | |||
*** Tipo: Float | |||
**usresiteminven1 | |||
*** Tipo: String | |||
**usresiteminven2 | |||
*** Tipo: Date | |||
**usresiteminven3 | |||
*** Tipo: Float | |||
}} | }} | ||
<p align="justify" style="margin-left: 0.32in; text-indent: 0.45in; margin-bottom: 0.08in; font-weight: normal; line-height: 150%;"><br/> | <p align="justify" style="margin-left: 0.32in; text-indent: 0.45in; margin-bottom: 0.08in; font-weight: normal; line-height: 150%;"><br/> | ||
| Linha 155: | Linha 221: | ||
Se nenhum registro encontrado:<br/> | Se nenhum registro encontrado:<br/> | ||
A consulta não retornou nenhum registro.</p> | A consulta não retornou nenhum registro.</p> | ||
{{VoltarInicio}}</td> | |||
</tr> | |||
</table></center> | |||
== | <center><table class="mw-collapsible mw-collapsed wikitable" width="95%"> | ||
< | <tr> | ||
</ | <td bgcolor="#6E6E6E" align="rigth" style="padding: 8px 20px;><font color="#FFFFFF"><b>ListarInventarioEstoque</b></font></td> | ||
</tr> | |||
<tr> | |||
<td><p align="justify" style="margin-left: 0.12in; text-indent: 0.25in; margin-bottom: 0.00in; font-weight: normal; line-height: 50%;"><b>Parâmetros:</b></p><br> | |||
{{#tree: minExpandLevel=2 | | {{#tree: minExpandLevel=2 | | ||
*pin | *pin | ||
| Linha 169: | Linha 239: | ||
*dataDoInventario | *dataDoInventario | ||
** Obrigatório, Tipo: | ** Obrigatório, Tipo: DateTime | ||
*tipoResposta | *tipoResposta | ||
** Obrigatório, Tipo: String 20 | ** Obrigatório, Tipo: String 20 | ||
}} | }} | ||
<p align= | <p align="justify" style="margin-left: 0.32in; text-indent: 0.45in; margin-bottom: 0.08in; font-weight: normal; line-height: 150%;"><br/> | ||
<b> | <b>Retornos:</b><br/> | ||
Se sucesso:<br/> | Se sucesso:<br/> | ||
{{#tree: minExpandLevel=2 | | {{#tree: minExpandLevel=2 | | ||
| Linha 256: | Linha 326: | ||
**precoCusto | **precoCusto | ||
*** Tipo: Float | *** Tipo: Float | ||
**usresiteminven1 | **usresiteminven1 | ||
| Linha 287: | Linha 342: | ||
Se nenhum registro encontrado:<br/> | Se nenhum registro encontrado:<br/> | ||
A consulta não retornou nenhum registro.</p> | A consulta não retornou nenhum registro.</p> | ||
{{VoltarInicio}}</td> | |||
</tr> | |||
</table></center> | |||
== | <center><table class="mw-collapsible mw-collapsed wikitable" width="95%"> | ||
< | <tr> | ||
</ | <td bgcolor="#6E6E6E" align="rigth" style="padding: 8px 20px;><font color="#FFFFFF"><b>CadastrarInventario</b></font></td> | ||
</tr> | |||
<tr> | |||
<td><p align="justify" style="margin-left: 0.12in; text-indent: 0.25in; margin-bottom: 0.00in; font-weight: normal; line-height: 50%;"><b>Parâmetros:</b></p><br> | |||
{{#tree: minExpandLevel=2 | | {{#tree: minExpandLevel=2 | | ||
*pin | *pin | ||
| Linha 303: | Linha 362: | ||
** Obrigatório, Tipo: String | ** Obrigatório, Tipo: String | ||
}} | }} | ||
<br><p align="justify" style="margin-left: 0.12in; text-indent: 0.25in; margin-bottom: 0.00in; font-weight: normal; line-height: 50%;"><b>Distribuição das Tags XML:</b></p><br> | |||
{{#tree: | | |||
*inventarioXml | *inventarioXml | ||
**<codigoUnidadeNegocio></codigoUnidadeNegocio> | **<codigoUnidadeNegocio></codigoUnidadeNegocio> | ||
**<dataDoInventario></dataDoInventario> | **<dataDoInventario></dataDoInventario> | ||
**<inventarioInicial></inventarioInicial> | **<inventarioInicial></inventarioInicial> | ||
**<usresinventari1></usresinventari1> | **<usresinventari1></usresinventari1> | ||
**<usresinventari2></usresinventari2> | **<usresinventari2></usresinventari2> | ||
**<usresinventari3></usresinventari3> | **<usresinventari3></usresinventari3> | ||
**<itemInv> | **<itemInv> | ||
***<codigoUnidadeNegocio></codigoUnidadeNegocio> | ***<codigoUnidadeNegocio></codigoUnidadeNegocio> | ||
***<dataDoInventario></dataDoInventario> | ***<dataDoInventario></dataDoInventario> | ||
| Linha 338: | Linha 387: | ||
***<valorTotal></valorTotal> | ***<valorTotal></valorTotal> | ||
***<precoCusto></precoCusto> | ***<precoCusto></precoCusto> | ||
***<usresiteminven1></usresiteminven1> | ***<usresiteminven1></usresiteminven1> | ||
***<usresiteminven2></usresiteminven2> | ***<usresiteminven2></usresiteminven2> | ||
***<usresiteminven3></usresiteminven3> | ***<usresiteminven3></usresiteminven3> | ||
}} | }} | ||
<p align="justify" style="margin-left: 0.32in; text-indent: 0.45in; margin-bottom: 0.08in; font-weight: normal; line-height: 150%;"><br/> | <p align="justify" style="margin-left: 0.32in; text-indent: 0.45in; margin-bottom: 0.08in; font-weight: normal; line-height: 150%;"><br/> | ||
<b>Retornos:</b><br/> | |||
Se sucesso:<br/> | |||
idRegistro - ID que representa este registro na tabela de integração.<br/> | |||
<br/> | |||
Se pin inválido:<br/> | |||
O usuário não possui direitos suficientes para executar esta rotina.<br/> | |||
<br/> | |||
Se algum parâmetro inválido:<br/> | |||
Parâmetro necessário não informado.</p> | |||
{{VoltarInicio}}</td> | |||
</tr> | |||
</table></center> | |||
<center><table class="mw-collapsible mw-collapsed wikitable" width="95%"> | |||
<tr> | |||
<td bgcolor="#6E6E6E" align="rigth" style="padding: 8px 20px;><font color="#FFFFFF"><b>LiberarPendentes</b></font></td> | |||
</tr> | |||
<tr> | |||
<td><p align="justify" style="margin-left: 0.12in; text-indent: 0.25in; margin-bottom: 0.00in; font-weight: normal; line-height: 50%;"><b>Parâmetros:</b></p><br> | |||
{{#tree: minExpandLevel=2 | | |||
*pin | |||
** Obrigatório, Tipo: String 20 | |||
*id | |||
** Obrigatório, Tipo: Int | |||
*liberarCorrelatos | |||
** Obrigatório, Tipo: Boolean | |||
}} | |||
<p align="justify" style="margin-left: 0.32in; text-indent: 0.45in; margin-bottom: 0.08in; font-weight: normal; line-height: 150%;"><br/> | |||
<b>Retornos:</b><br/> | |||
Se pin inválido:<br/> | Se pin inválido:<br/> | ||
O usuário não possui direitos suficientes para executar esta rotina.<br/> | O usuário não possui direitos suficientes para executar esta rotina.<br/> | ||
<br/> | <br/> | ||
Se erro na conexão com banco de dados:<br/> | |||
A conexão com o banco de dados e/ou comando SQL possui erros.<br/> | |||
<br/> | |||
Se ID inválido ou não encontrado:<br/> | |||
Falha ao liberar registro.<br/> | |||
<br/> | |||
Se sucesso:<br/> | |||
Sucesso.</p> | |||
{{VoltarInicio}}</td> | |||
</tr> | |||
</table></center> | |||
Edição atual tal como às 18h07min de 8 de outubro de 2026
Voltar
Integrador >
WebServices >
IN CadastroInventarioEstoque.integrador
Requisição
- Soap: http://servidor/CadastroInventarioEstoque.integrador.asmx
- Rest/JSon: http://servidor/CadastroInventarioEstoque.integrador.ashx/metodo
- Tipo de registro: INVEST
Métodos
| ListarId |
Parâmetros:
|
| ListarIndividual |
Parâmetros:
|
| ListarInventarioEstoque |
Parâmetros:
|
| ListarInventarioEstoque |
Parâmetros:
|
| CadastrarInventario |
Parâmetros: Distribuição das Tags XML:
|
| LiberarPendentes |
Parâmetros:
|
