Páginas filhas
  • Histórico de Deduções (GET)

Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.

A integração de grupo de insumos e grupo de materiais consiste na movimentação do cadastro no sentido ERP para PIMS Multicultivos, ou seja, será realizado no ERP e enviado para o PIMS Multicultivos através do PIMSConnector. O objetivo é permitir o controle do consumo dos insumos e materiais automotivos pelo seu respectivo grupo. Esta integração no PIMS Multicultivos é cadastrada em duas tabelas distintas, sendo assim é necessário existir no ERP, uma classificação que determina o tipo de item, se é grupo de insumo ou grupo de material automotivo.

Informações da Mensagem

  • Tipo de Envio: Assíncrona / Síncrona
  • Tipo de Evento: Upsert / Delete

Campo Obrigatórios

  • Código;
  • Descrição da família;
  • Classificação da família.

Exemplos de Mensagens

Mensagem XML

Bloco de código
languagexml
titleFamily_Envio
linenumberstrue
collapsetrue
POST /CONTRATOS_WS/CONTRATOS_WS.asmx HTTP/1.1
Host: 10.173.12.25
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "CONTRATOS_WS/apiHTTP_GET_HISTDEDCTCANA"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <apiHTTP_GET_HISTDEDCTCANA xmlns="CONTRATOS_WS">
      <pInputINSTANCIA>string</pInputINSTANCIA>
      <pInputAM_FORNEC_INI>string</pInputAM_FORNEC_INI>
      <pInputAM_FORNEC_FIN>string</pInputAM_FORNEC_FIN>
      <pInputFG_TP_PROC>string</pInputFG_TP_PROC>
      <pInputCD_EMPRESA>string</pInputCD_EMPRESA>
      <pInputNO_CONTR_CANA>string</pInputNO_CONTR_CANA>
    </apiHTTP_GET_HISTDEDCTCANA>
  </soap:Body>
</soap:Envelope>
Bloco de código
languagexml
titleFamily_Retorno
linenumberstrue
collapsetrue
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <apiHTTP_GET_HISTDEDCTCANAResponse xmlns="CONTRATOS_WS">
      <apiHTTP_GET_HISTDEDCTCANAResult>string</apiHTTP_GET_HISTDEDCTCANAResult>
    </apiHTTP_GET_HISTDEDCTCANAResponse>
  </soap:Body>
</soap:Envelope>

Mensagem JSON

Bloco de código
languagejs
titleFamily_Envio
linenumberstrue
collapsetrue
{
  "oHISTDEDCTCANA": {
    "instancia": "web2",
    "fgTpProc": "T",
    "cdEmpresa": "T",
    "deEmpresa": "T",
    "noContrCana": {
      "Value": "1"
    },
    "noParcela": {
      "Value": "1"
      
    },
    "cdFazenda": "T",
    "deFazenda": "T",
    "dtHistorico": {
      "Value": "2020-03-12T13:37:27+00:00"
      
    },
    "dtPagto": {
      "Value": "2020-03-12T13:37:27+00:00"
      
    },
    "cdEvto": {
      "Value": "1"
      
    },
    "deEvto": "T",
    "dtEvto": {
      "Value": "2020-03-12T13:37:27+00:00"
      
    },
    "vlDeducao": {
      "Value": "1"
      
    },
    "cdGrpEvto": {
      "Value": "1"
      
    },
    "deGrpEvto": "T",
    "cdFornec": {
      "Value": "1"
      
    },
    "deFornec": "T"
  }
}
Bloco de código
languagejs
titleFamily_Retorno
linenumberstrue
collapsetrue
{
    "d": "Sucess 200 OK"
}

Descrição Detalhada das Tags

SEGMENTOTAGSTIPOTAMANHODESCRITIVO DA TAG


Event





instancia
String5Código da Instância
FG_TP_PROC
String1tipo de processo ( M = mensal, Y = anual, T = ajuste topografico)
CD_EMPRESAString5codigo da empresa
NO_CONTR_CANANumber15numero contrato de cana

NO_PARCELA

Number

3

numero da parcela
CD_UPNIVEL1String6codigo de upnivel1
DT_HISTORICOdate10data do historico
DT_PAGTOdate10DATA PAGAMENTO
CD_EVTONumber3codigo do evento
DT_EVTODate10data do evento
VL_DEDUCAONumber

13

valor da deducao
CD_GRP_EVTONumber2Grupo de evento
CD_FORNECNumber8Codigo do Fornecedor
ROWVERSIONNumber5controle interno