IN CadastroOrdemCompra.integrador: mudanças entre as edições
Criou página com '{{VoltarPagina}} Integrador > WebServices > IN CadastroRequisicaoMaterial.integrador *<b>Requisição</b> **<b>Soap:</b> http://servi...' |
Sem resumo de edição |
||
| (8 revisões intermediárias por um outro usuário não estão sendo mostradas) | |||
| Linha 2: | Linha 2: | ||
[[Integrador]] > | [[Integrador]] > | ||
[[IN_CIGAM Integrador#Compras|WebServices]] > | [[IN_CIGAM Integrador#Compras|WebServices]] > | ||
[[IN | [[IN CadastroOrdemCompra.integrador]] | ||
=Requisição= | |||
*<b>Soap:</b> http://servidor/CadastroOrdemCompra.integrador.asmx | |||
*<b>Rest/JSon:</b> http://servidor/CadastroOrdemCompra.integrador.ashx/metodo | |||
**<b>Tipo de registro:</b> ORDCOM | |||
=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 | | |||
*pin | |||
** Obrigatório, Tipo: String 20 | |||
}} | |||
<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/> | |||
{{#tree: minExpandLevel=2 | | |||
*codigoOrdemCompra | |||
** Tipo: String 12 | |||
}} | |||
<p align="justify" style="margin-left: 0.32in; text-indent: 0.45in; margin-bottom: 0.08in; font-weight: normal; line-height: 150%;"><br/> | |||
Se pin inválido:<br/> | |||
O usuário não possui direitos suficientes para executar esta rotina.<br/> | |||
<br/> | |||
Se nenhum registro encontrado:<br/> | |||
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 | | |||
*pin | |||
** Obrigatório, Tipo: String 20 | |||
*CodigoOrdemCompra | |||
** Tipo: String 12 | |||
}} | |||
<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/> | |||
{{#tree: minExpandLevel=2 | | |||
*codigoOrdemCompra | |||
*campo2 | |||
*codigoTipoOperacao | |||
*cfop | |||
*dataCompra | |||
*dataRecebimento | |||
*viaTransporte | |||
*documentoFiscal | |||
*codigoFornecedor | |||
*baseIcms | |||
*percentualIcms | |||
*valorIcms | |||
*icmsNaoTributado | |||
*icmsOutros | |||
*baseIpi | |||
*valorIpi | |||
*ipiNaoTributado | |||
*ipiOutros | |||
*valorIss | |||
*baseIss | |||
*incidenciaPis | |||
*incidenciaCofins | |||
*percentualDesconto1 | |||
*totalDescontos | |||
*percentualEncargos | |||
*valorFrete | |||
*valorSeguro | |||
*totalMercadorias | |||
*totalOrdem | |||
*codigoContoa | |||
*codigoPortador | |||
*fatura | |||
*quantidadeTotal | |||
*complementoFatura | |||
*codigoPedido | |||
*gerouLancamentos | |||
*tipoFrete | |||
*dataPrazoEntrega | |||
*percentualDesconto2 | |||
*percentualDesconto3 | |||
*quantidadeItens | |||
*codigoResponsavel | |||
*localEntrega | |||
*planoDeCompras | |||
*referencia | |||
*codigoCliente | |||
*percentualTransferenciaIcms | |||
*situacao | |||
*codigoUsuarioModificacao | |||
*observacao | |||
*codigoCondicaoPagamento | |||
*descricaoCondicaoPagamento | |||
*codigoTransportador | |||
*sessao | |||
*codigoUnidadeNegocio | |||
*impressa | |||
*nf | |||
*codigoCancelamento | |||
*percentualDesconto4 | |||
*percentualEncargosFinanceiros | |||
*totalDespesas | |||
*substituicaoTributariaInclusa | |||
*baseSubstituicaoTributaria | |||
*percentualSubstituicaoTrib | |||
*valorSubstituicaoTrib | |||
*baseIrrf | |||
*valorIrrf | |||
*baseInss | |||
*valorInss | |||
*regraFrete | |||
*horarioPrevisto | |||
*horarioEntrega | |||
*codigoMercado | |||
*codigoGrade | |||
*projeto | |||
*usuarioCriacao | |||
*dataModificacao | |||
*dataPrazoProgramado | |||
*dataEmbarque | |||
*dataCriacao | |||
*campo81 | |||
*codigoIndice | |||
*codigoRepresentante | |||
*codigoEmpresaEntrega | |||
*codigoTipoDocumento | |||
*tipoNota | |||
*campo87 | |||
*campo88 | |||
*codigoControle | |||
*campo90 | |||
*campo91 | |||
*usuarioAutorizado | |||
*localEmbarque | |||
*localDestino | |||
*ordemIncosistente | |||
*buscarRegraFiscal | |||
*permiteImpressao | |||
*pesoBruto | |||
*pesoLiquido | |||
*campo100 | |||
*campo101 | |||
*valorTotalFaturado | |||
*valorEncargos | |||
*percentualComissao | |||
*campo105 | |||
*usrOrde1 | |||
*usrOrde2 | |||
*usrOrde3 | |||
*totalFaturado | |||
*codigoUf | |||
*percentualFunrural | |||
*valorFunrural | |||
*codigoMunicipio | |||
*tipoPagamento | |||
*classificacaoDocumento | |||
*codigoTG | |||
*valorEncargosFinanceiros | |||
*totalDespesasAcessorias | |||
*setor | |||
*codigoUfDestino | |||
*codigoMunicipioDestino | |||
*descricaoProjeto | |||
}} | |||
<p align="justify" style="margin-left: 0.32in; text-indent: 0.45in; margin-bottom: 0.08in; font-weight: normal; line-height: 150%;"><br/> | |||
Se pin inválido:<br/> | |||
O usuário não possui direitos suficientes para executar esta rotina.<br/> | |||
<br/> | |||
Se nenhum registro encontrado:<br/> | |||
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 | | |||
*pin | |||
** Obrigatório, Tipo: String 20 | |||
== | *dataInicial | ||
<p align= | ** Tipo: DateTime | ||
</ | |||
*horaInicial | |||
** Tipo: String 6 | |||
*dataFinal | |||
** Tipo: DateTime | |||
*horaFinal | |||
** Tipo: String 6 | |||
}} | |||
<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/> | |||
{{#tree: minExpandLevel=2 | | |||
*codigoOrdemCompra | |||
*campo2 | |||
*codigoTipoOperacao | |||
*cfop | |||
*dataCompra | |||
*dataRecebimento | |||
*viaTransporte | |||
*documentoFiscal | |||
*codigoFornecedor | |||
*baseIcms | |||
*percentualIcms | |||
*valorIcms | |||
*icmsNaoTributado | |||
*icmsOutros> | |||
*baseIpi | |||
*valorIpi | |||
*ipiNaoTributado | |||
*ipiOutros | |||
*valorIss | |||
*baseIss | |||
*incidenciaPis | |||
*incidenciaCofins | |||
*percentualDesconto1 | |||
*totalDescontos | |||
*percentualEncargos | |||
*valorFrete | |||
*valorSeguro | |||
*totalMercadorias | |||
*totalOrdem | |||
*codigoContoa | |||
*codigoPortador | |||
*fatura | |||
*quantidadeTotal | |||
*complementoFatura | |||
*codigoPedido | |||
*gerouLancamentos | |||
*tipoFrete | |||
*dataPrazoEntrega | |||
*percentualDesconto2 | |||
*percentualDesconto3 | |||
*quantidadeItens | |||
*codigoResponsavel | |||
*localEntrega | |||
*planoDeCompras | |||
*referencia | |||
*codigoCliente | |||
*percentualTransferenciaIcms | |||
*situacao | |||
*codigoUsuarioModificacao | |||
*observacao | |||
*codigoCondicaoPagamento | |||
*descricaoCondicaoPagamento | |||
*codigoTransportador | |||
*sessao | |||
*codigoUnidadeNegocio | |||
*impressa | |||
*nf | |||
*codigoCancelamento | |||
*percentualDesconto4 | |||
*percentualEncargosFinanceiros | |||
*totalDespesas | |||
*substituicaoTributariaInclusa | |||
*baseSubstituicaoTributaria | |||
*percentualSubstituicaoTrib | |||
*valorSubstituicaoTrib | |||
*baseIrrf | |||
*valorIrrf | |||
*baseInss | |||
*valorInss | |||
*regraFrete | |||
*horarioPrevisto | |||
*horarioEntrega | |||
*codigoMercado | |||
*codigoGrade | |||
*projeto | |||
*usuarioCriacao | |||
*dataModificacao | |||
*dataPrazoProgramado | |||
*dataEmbarque | |||
*dataCriacao | |||
*campo81 | |||
*codigoIndice | |||
*codigoRepresentante | |||
*codigoEmpresaEntrega | |||
*codigoTipoDocumento | |||
*tipoNota | |||
*campo87 | |||
*campo88 | |||
*codigoControle | |||
*campo90 | |||
*campo91 | |||
*usuarioAutorizado | |||
*localEmbarque | |||
*localDestino | |||
*ordemIncosistente | |||
*buscarRegraFiscal | |||
*permiteImpressao | |||
*pesoBruto | |||
*pesoLiquido | |||
*campo100 | |||
*campo101 | |||
*valorTotalFaturado | |||
*valorEncargos | |||
*percentualComissao | |||
*campo105 | |||
*usrOrde1 | |||
*usrOrde2 | |||
*usrOrde3 | |||
*totalFaturado | |||
*codigoUf | |||
*percentualFunrural | |||
*valorFunrural | |||
*codigoMunicipio | |||
*tipoPagamento | |||
*classificacaoDocumento | |||
*codigoTG | |||
*valorEncargosFinanceiros | |||
*totalDespesasAcessorias | |||
*setor | |||
*codigoUfDestino | |||
*codigoMunicipioDestino | |||
}} | |||
<p align="justify" style="margin-left: 0.32in; text-indent: 0.45in; margin-bottom: 0.08in; font-weight: normal; line-height: 150%;"><br/> | |||
Se pin inválido:<br/> | |||
O usuário não possui direitos suficientes para executar esta rotina.<br/> | |||
<br/> | |||
Se nenhum registro encontrado:<br/> | |||
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 | ||
** Obrigatório, Tipo: String 20 | ** Obrigatório, Tipo: String 20 | ||
*statusRegistro | |||
** Tipo: String 1 | |||
** L=Liberado,P=Pendente | |||
** Se for informado algo diferente de P ou L não será aplicado nenhum filtro. | |||
*acao | |||
** Tipo: String 1 | |||
** C=Cadastrar, E=Excluir | |||
** Se for informado algo diferente de C ou E não será aplicado nenhum filtro | |||
}} | }} | ||
<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 | | ||
* | *idRegistro | ||
** Tipo: Int 12 | ** Tipo: Int 14 | ||
*acao | |||
** Tipo: String 1 | |||
*statusRegistro | |||
** Tipo: String 1 | |||
*dataRequisicao | |||
** Tipo: Date | |||
*horaRequisicao | |||
** Tipo: Int 8 | |||
*idCorrelato | |||
** Tipo: Int 14 | |||
*CodigoOrdemCompra | |||
** Tipo: string 12 | |||
}} | }} | ||
<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 40: | Linha 397: | ||
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}} | {{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 | |||
** Tipo: Bool | |||
}} | |||
<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/> | |||
O usuário não possui direitos suficientes para executar esta rotina.<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> | |||
<center><table class="mw-collapsible mw-collapsed wikitable" width="95%"> | |||
<tr> | |||
<td bgcolor="#6E6E6E" align="rigth" style="padding: 8px 20px;><font color="#FFFFFF"><b>AtualizaPrazoProgramado</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 | |||
*statusRegistro | |||
** Tipo: String 1 | |||
*codigoOrdemCompra | |||
** Tipo: String 12 | |||
*dataPrazoProgramado | |||
** Tipo: Date | |||
*codigoUsuario | |||
**Tipo: String 3 | |||
}} | |||
<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> | |||
Edição atual tal como às 11h46min de 13 de outubro de 2026
Voltar
Integrador >
WebServices >
IN CadastroOrdemCompra.integrador
Requisição
- Soap: http://servidor/CadastroOrdemCompra.integrador.asmx
- Rest/JSon: http://servidor/CadastroOrdemCompra.integrador.ashx/metodo
- Tipo de registro: ORDCOM
Métodos
| ListarId |
Parâmetros:
|
| ListarIndividual |
Parâmetros:
|
| ListarModificacoes |
Parâmetros:
|
| ListarPendentes |
Parâmetros:
|
| LiberarPendentes |
Parâmetros:
|
| AtualizaPrazoProgramado |
Parâmetros:
|
