IN CadastroLancamentos.integrador: mudanças entre as edições
Sem resumo de edição |
|||
| (7 revisões intermediárias por 3 usuários não estão sendo mostradas) | |||
| Linha 1: | Linha 1: | ||
{{VoltarPagina}} | {{VoltarPagina}} | ||
[[Integrador]] > | |||
[[IN_CIGAM Integrador#Financeiro|WebServices]] > | |||
[[IN CadastroLancamentos.integrador]] | |||
=Palavras-Chave= | |||
Integrador de lançamentos financeiros. Integrador Financeiro. JSON de integração do lançamento financeiro. | |||
= | =Requisição= | ||
< | *<b>Soap:</b> http://servidor/CadastroLancamentos.integrador.asmx | ||
*<b>Rest/JSon:</b> http://servidor/CadastroLancamentos.integrador.ashx/metodo | |||
**<b>Tipo de registro:</b> LANCAD</br> | |||
</ | |||
{{#tree: | =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>Cadastrar</b></font></td> | |||
</tr> | |||
<tr> | |||
<td><p style="margin: 0 0 6px 0; font-style: italic; line-height: 1.4;">Os dados do Lançamento deverão estar em formato XML para requisições SOAP e JSON para requisições REST.</p> | |||
<p align="justify" style="margin-left: 0.12in; text-indent: 0.25in; margin-bottom: 0.00in; font-weight: normal; line-height: 50%;"> | |||
{{#tree: minExpandLevel=2 | | |||
*<b>Parâmetros:</b> | *<b>Parâmetros:</b> | ||
**pin | **pin | ||
| Linha 18: | Linha 27: | ||
**statusRegistro | **statusRegistro | ||
***L=Liberado, P=Pendente | ***L=Liberado, P=Pendente | ||
***Este parâmetro não é obrigatório | ***Este parâmetro não é obrigatório | ||
***mas se for informado algo diferente de L ou P, por padrão, será cadastrado como P | |||
***na tabela de integração. | |||
**codigoLancamento | **codigoLancamento | ||
***<b>Tipo:</b> Int 12 | ***<b>Tipo:</b> Int 12 | ||
| Linha 43: | Linha 54: | ||
**tipo | **tipo | ||
***<i>Campo obrigatório a ser informado.</i> | ***<i>Campo obrigatório a ser informado.</i> | ||
***Tipo lançamento, não pode ser branco, deve ser informado '''R:''' Receber/'''c:''' Recebido, '''P:''' Pagar/'''d:''' Pago, '''E:''' Entrada ou '''S:''' Saída. | ***Tipo lançamento, não pode ser branco, deve ser informado | ||
***'''R:''' Receber/'''c:''' Recebido, | |||
***'''P:''' Pagar/'''d:''' Pago, | |||
***'''E:''' Entrada ou | |||
***'''S:''' Saída. | |||
***<b>Tipo:</b> String 1 | ***<b>Tipo:</b> String 1 | ||
**valor | **valor | ||
| Linha 200: | Linha 215: | ||
***<b>Tipo:</b> Date | ***<b>Tipo:</b> Date | ||
**remessaSerasa | **remessaSerasa | ||
** Tipo: Date | ***<b>Tipo:</b> Date | ||
**adiantarRetornoCobranca | **adiantarRetornoCobranca | ||
***<b>Tipo:</b> String 6 | ***<b>Tipo:</b> String 6 | ||
| Linha 269: | Linha 284: | ||
Se registro válido:</br> | Se registro válido:</br> | ||
Inserção efetuada com sucesso</br> | Inserção efetuada com sucesso</br> | ||
idRegistro: 00</ | idRegistro: 00</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>CadastrarValeAdiantamento</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%;"> | |||
{{#tree: minExpandLevel=2 | | {{#tree: minExpandLevel=2 | | ||
*<b>Parâmetros:</b> | *<b>Parâmetros:</b> | ||
| Linha 286: | Linha 307: | ||
**codigoEmpresa | **codigoEmpresa | ||
**codigoPortador | **codigoPortador | ||
** | **TipoPagamento | ||
**codigoUnidadeNegocio | **codigoUnidadeNegocio | ||
}} | }} | ||
| Linha 297: | Linha 318: | ||
Se registro válido:</br> | Se registro válido:</br> | ||
Inserção efetuada com sucesso</br> | Inserção efetuada com sucesso</br> | ||
idRegistro: 00</ | idRegistro: 00</p> | ||
</ | {{VoltarInicio}}</td> | ||
</tr> | |||
</table></center> | |||
== ListarId == | <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 | ||
| Linha 307: | Linha 334: | ||
}} | }} | ||
<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> | <b>Retornos:</b><br/> | ||
Se sucesso:<br/> | Se sucesso:<br/> | ||
{{#tree: minExpandLevel=2 | | {{#tree: minExpandLevel=2 | | ||
| Linha 318: | Linha 345: | ||
<br/> | <br/> | ||
Se nenhum registro encontrado:<br/> | Se nenhum registro encontrado:<br/> | ||
A consulta não retornou nenhum registro.< | 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>ListarPendentes</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 340: | Linha 371: | ||
}} | }} | ||
<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> | <b>Retornos:</b><br/> | ||
Se sucesso:<br/> | Se sucesso:<br/> | ||
{{#tree: minExpandLevel=2 | | {{#tree: minExpandLevel=2 | | ||
| Linha 381: | Linha 412: | ||
<br/> | <br/> | ||
Se nenhum registro encontrado:<br/> | Se nenhum registro encontrado:<br/> | ||
A consulta não retornou nenhum registro.< | 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>ListarModificacoes</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 405: | Linha 440: | ||
}} | }} | ||
<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> | <b>Retornos:</b><br/> | ||
Se sucesso:<br/> | Se sucesso:<br/> | ||
{{#tree: minExpandLevel=2 | | {{#tree: minExpandLevel=2 | | ||
| Linha 694: | Linha 729: | ||
<br/> | <br/> | ||
Se nenhum registro encontrado:<br/> | Se nenhum registro encontrado:<br/> | ||
A consulta não retornou nenhum registro.< | 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 709: | Linha 748: | ||
}} | }} | ||
<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> | <b>Retornos:</b><br/> | ||
Se sucesso:<br/> | Se sucesso:<br/> | ||
{{#tree: minExpandLevel=2 | | {{#tree: minExpandLevel=2 | | ||
| Linha 998: | Linha 1 037: | ||
<br/> | <br/> | ||
Se nenhum registro encontrado:<br/> | Se nenhum registro encontrado:<br/> | ||
A consulta não retornou nenhum registro.< | 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>ListarLancamentos</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%;"> | |||
{{#tree: minExpandLevel=2 | | {{#tree: minExpandLevel=2 | | ||
*<b>Parâmetros:</b> | *<b>Parâmetros:</b> | ||
| Linha 1 012: | Linha 1 058: | ||
**situacao | **situacao | ||
}} | }} | ||
<br> | |||
{{#tree: | {{#tree: minExpandLevel=2 | | ||
*<b> | *<b>Retornos:</b> | ||
**codigoLancamento | **codigoLancamento | ||
**data | **data | ||
| Linha 1 104: | Linha 1 150: | ||
**usrlanc3 | **usrlanc3 | ||
}} | }} | ||
{{VoltarInicio}}</td> | |||
</tr> | |||
</table></center> | |||
== ListarLancamentosVencimento == | <center><table class="mw-collapsible mw-collapsed wikitable" width="95%"> | ||
<tr> | |||
<td bgcolor="#6E6E6E" align="rigth" style="padding: 8px 20px;><font color="#FFFFFF"><b>ListarLancamentosVencimento</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%;"> | |||
{{#tree: minExpandLevel=2 | | {{#tree: minExpandLevel=2 | | ||
*<b>Parâmetros:</b> | *<b>Parâmetros:</b> | ||
| Linha 1 120: | Linha 1 173: | ||
**vencimentoFinal | **vencimentoFinal | ||
}} | }} | ||
<br> | |||
{{#tree: | {{#tree: minExpandLevel=2 | | ||
*<b> | *<b>Retornos:</b> | ||
**codigoLancamento | **codigoLancamento | ||
**data | **data | ||
| Linha 1 212: | Linha 1 265: | ||
**usrlanc3 | **usrlanc3 | ||
}} | }} | ||
{{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>ListarLancamentosTerceiro</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 1 226: | Linha 1 283: | ||
}} | }} | ||
<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> | <b>Retornos:</b><br/> | ||
Se sucesso:<br/> | Se sucesso:<br/> | ||
{{#tree: minExpandLevel=2 | | {{#tree: minExpandLevel=2 | | ||
| Linha 1 518: | Linha 1 575: | ||
<br/> | <br/> | ||
Se nenhum registro encontrado:<br/> | Se nenhum registro encontrado:<br/> | ||
A consulta não retornou nenhum registro.< | 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>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 | | {{#tree: minExpandLevel=2 | | ||
*pin | *pin | ||
| Linha 1 536: | Linha 1 597: | ||
}} | }} | ||
<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> | <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/> | ||
| Linha 1 547: | Linha 1 608: | ||
<br/> | <br/> | ||
Se sucesso:<br/> | Se sucesso:<br/> | ||
Sucesso.< | Sucesso.</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>ExcluirValeAdiantamento</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 1 562: | Linha 1 627: | ||
}} | }} | ||
<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> | <b>Retornos:</b><br/> | ||
Se sucesso:<br/> | Se sucesso:<br/> | ||
idRegistro - ID que representa este registro na tabela de integração.<br/> | idRegistro - ID que representa este registro na tabela de integração.<br/> | ||
<br/> | <br/> | ||
Se pin inválido:<br/> | Se pin inválido:<br/> | ||
O usuário não possui direitos suficientes para executar esta rotina. | O usuário não possui direitos suficientes para executar esta rotina.</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>LiquidarLancamentoNotaFiscal</b></font></td> | |||
</tr> | |||
<tr> | |||
<td><p style="margin: 0 0 6px 0; font-style: italic; line-height: 1.4;">Método que tem por finalidade liquidar títulos de Notas Fiscais no ERP CIGAM.<br><br><b>Tipo de registro:</b> <u>LIQLNF</u></p> | |||
<p align="justify" style="margin-left: 0.12in; text-indent: 0.25in; margin-bottom: 0.00in; font-weight: normal; line-height: 50%;"> | |||
{{#tree: minExpandLevel=2 | | {{#tree: minExpandLevel=2 | | ||
*<b>Parâmetros</b> | *<b>Parâmetros</b> | ||
| Linha 1 597: | Linha 1 667: | ||
**historicoLiquidacao | **historicoLiquidacao | ||
}} | }} | ||
<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"> | <b>Exemplo de Retornos:</b></br> | ||
<b>Exemplo de | |||
Se registro válido:</br> | Se registro válido:</br> | ||
Inserção efetuada com sucesso</br> | Inserção efetuada com sucesso</br> | ||
| Linha 1 609: | Linha 1 678: | ||
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> | |||
=Manuais Referenciados= | |||
[[GE - Como Fazer - Integrador|Como Fazer - Integrador]] | |||
Edição atual tal como às 14h58min de 7 de outubro de 2026
Voltar
Integrador >
WebServices >
IN CadastroLancamentos.integrador
Palavras-Chave
Integrador de lançamentos financeiros. Integrador Financeiro. JSON de integração do lançamento financeiro.
Requisição
- Soap: http://servidor/CadastroLancamentos.integrador.asmx
- Rest/JSon: http://servidor/CadastroLancamentos.integrador.ashx/metodo
- Tipo de registro: LANCAD
- Tipo de registro: LANCAD
Métodos
| Cadastrar |
Os dados do Lançamento deverão estar em formato XML para requisições SOAP e JSON para requisições REST.
|
| CadastrarValeAdiantamento |
|
| ListarId |
Parâmetros:
|
| ListarPendentes |
Parâmetros:
|
| ListarModificacoes |
Parâmetros:
|
| ListarIndividual |
Parâmetros:
|
| ListarLancamentos |
|
| ListarLancamentosVencimento |
|
| ListarLancamentosTerceiro |
Parâmetros:
|
| LiberarPendentes |
Parâmetros:
|
| ExcluirValeAdiantamento |
Parâmetros:
|
| LiquidarLancamentoNotaFiscal |
Método que tem por finalidade liquidar títulos de Notas Fiscais no ERP CIGAM.
|
