Histórico da Página
A integração de Depreciação de Bens consiste na movimentação de lançamentos no sentido ERP para PIMS Multicultivos, ou seja, será realizada no ERP e enviada para o PIMS através do PIMSConnector. O objetivo é a alocação de custos de depreciação para os equipamentos no processamento de custos agrícolas, obtidos através dos valores de depreciação de bem.
Observação: Caso seja necessário realizar o reprocessamento de depreciação de bens para o mesmo período, é necessário realizar a Exclusão de Registros Integrados no PIMS Multicultivos. Se a Exclusão de Registros Integrados não for realizada, pode gerar inconsistências nos valores enviados no processo de integração.
Informações da Mensagem
- Identificador da Mensagem: AssetDepreciation
- Versão: 1.000
- Módulo PIMS Multicultivos:
- Tipo de Envio: Assíncrona / Síncrona
Campos Obrigatórios
- Período de Depreciação;
- Código do Centro de Custo;
- Código do Equipamento;
- Código da Empresa;
- Código da Filial;
- Valor.
Exemplos de Mensagens
Mensagem XML
Bloco de código | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<TOTVSMessage>
<MessageInformation version="1.000">
<BranchId/>
<CompanyId>50</CompanyId>
<DeliveryType>Async</DeliveryType>
<GeneratedOn>2018-05-17T12:01:01.308-03:00</GeneratedOn>
<Product name="ERP" version="12.1.21"/>
<SourceApplication>dts11buzios8480</SourceApplication>
<StandardVersion>1.0</StandardVersion>
<Transaction>assetdepreciation</Transaction>
<Type>BusinessMessage</Type>
<UUID>f719a39e-cf4e-6d92-3c14-2e8284176ec3</UUID>
</MessageInformation>
<BusinessMessage>
<BusinessEvent>
<Entity>assetdepreciation</Entity>
<Event>upsert</Event>
<Identification/>
</BusinessEvent>
<BusinessContent xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SelectionInformation>
<AssetInformation/>
<CostCenterInformation/>
<ListOfRuleInformation>
<RuleInformation>
<RuleType>Bem Patrimonial</RuleType>
<InitialValue>0</InitialValue>
<FinalValue>999999999</FinalValue>
</RuleInformation>
<RuleInformation>
<RuleType>Estabelecimento</RuleType>
<InitialValue/>
<FinalValue>ZZZZZ</FinalValue>
</RuleInformation>
<RuleInformation>
<RuleType>Unid Negócio</RuleType>
<InitialValue/>
<FinalValue>ZZZ</FinalValue>
</RuleInformation>
</ListOfRuleInformation>
</SelectionInformation>
<ParametersInformation>
<PeriodInformation>
<DateIni>2010-01-01</DateIni>
<DateFin>2099-10-10</DateFin>
</PeriodInformation>
<FirstPart>true</FirstPart>
</ParametersInformation>
<ListOfAssetDepreciation>
<AssetDepreciation>
<AssetInformation>
<CompanyId>50</CompanyId>
<BranchId>5</BranchId>
<AssetCode>3131</AssetCode>
<CostCenterCode>01070101</CostCenterCode>
</AssetInformation>
<ListOfDepreciation>
<Depreciation>
<PeriodDepreciationAmount>32.33</PeriodDepreciationAmount>
<PeriodAmortizationAmount>0</PeriodAmortizationAmount>
</Depreciation>
</ListOfDepreciation>
</AssetDepreciation>
<AssetDepreciation>
<AssetInformation>
<CompanyId>50</CompanyId>
<BranchId>5</BranchId>
<AssetCode>3134</AssetCode>
<CostCenterCode>01070101</CostCenterCode>
</AssetInformation>
<ListOfDepreciation>
<Depreciation>
<PeriodDepreciationAmount>614.25</PeriodDepreciationAmount>
<PeriodAmortizationAmount>0</PeriodAmortizationAmount>
</Depreciation>
</ListOfDepreciation>
</AssetDepreciation>
<AssetDepreciation>
<AssetInformation>
<CompanyId>50</CompanyId>
<BranchId>5</BranchId>
<AssetCode>3333</AssetCode>
<CostCenterCode>01070101</CostCenterCode>
</AssetInformation>
<ListOfDepreciation>
<Depreciation>
<PeriodDepreciationAmount>0</PeriodDepreciationAmount>
<PeriodAmortizationAmount>3.57</PeriodAmortizationAmount>
</Depreciation>
</ListOfDepreciation>
</AssetDepreciation>
<AssetDepreciation>
<AssetInformation>
<CompanyId>50</CompanyId>
<BranchId>5</BranchId>
<AssetCode>3333</AssetCode>
<CostCenterCode>01070101</CostCenterCode>
</AssetInformation>
<ListOfDepreciation>
<Depreciation>
<PeriodDepreciationAmount>0</PeriodDepreciationAmount>
<PeriodAmortizationAmount>.09</PeriodAmortizationAmount>
</Depreciation>
</ListOfDepreciation>
</AssetDepreciation>
<AssetDepreciation>
<AssetInformation>
<CompanyId>50</CompanyId>
<BranchId>500</BranchId>
<AssetCode>334</AssetCode>
<CostCenterCode>01070101</CostCenterCode>
</AssetInformation>
<ListOfDepreciation>
<Depreciation>
<PeriodDepreciationAmount>0</PeriodDepreciationAmount>
<PeriodAmortizationAmount>5.96</PeriodAmortizationAmount>
</Depreciation>
</ListOfDepreciation>
</AssetDepreciation>
</ListOfAssetDepreciation>
</BusinessContent>
</BusinessMessage>
</TOTVSMessage> |
Bloco de código | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<TOTVSMessage>
<MessageInformation version="1.000">
<BranchId/>
<CompanyId>50</CompanyId>
<DeliveryType>Async</DeliveryType>
<GeneratedOn>2018-05-17T12:03:00</GeneratedOn>
<Product name="PIMS" version="12.1.21"/>
<SourceApplication>PIMSCONNECTOR</SourceApplication>
<StandardVersion>1.000</StandardVersion>
<Transaction>assetdepreciation</Transaction>
<Type>Response</Type>
<UUID>74ff32e0-1d10-492e-8c5f-7d0f966ed636</UUID>
</MessageInformation>
<ResponseMessage>
<ProcessingInformation>
<ProcessedOn>2018-05-17T12:03:00</ProcessedOn>
<Status>OK</Status>
</ProcessingInformation>
<ReceivedMessage>
<MessageContent/>
<SentBy>ERP</SentBy>
<UUID>f719a39e-cf4e-6d92-3c14-2e8284176ec3</UUID>
</ReceivedMessage>
<ReturnContent>
<ListOfInternalId>
<InternalId>
<Destination>||5246527067259186583</Destination>
<Name>assetdepreciation</Name>
<Origin>0</Origin>
</InternalId>
</ListOfInternalId>
</ReturnContent>
</ResponseMessage>
</TOTVSMessage> |
Mensagem JSON
Bloco de código | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
{
"TOTVSMessage" : {
"MessageInformation" : {
"@version" : "1.000",
"BranchId" : null,
"CompanyId" : "50",
"DeliveryType" : "Async",
"GeneratedOn" : "2018-05-17T12:01:01.308-03:00",
"Product" : {
"@name" : "ERP",
"@version" : "12.1.21"
},
"SourceApplication" : "dts11buzios8480",
"StandardVersion" : "1.0",
"Transaction" : "assetdepreciation",
"Type" : "BusinessMessage",
"UUID" : "f719a39e-cf4e-6d92-3c14-2e8284176ec3"
},
"BusinessMessage" : {
"BusinessEvent" : {
"Entity" : "assetdepreciation",
"Event" : "upsert",
"Identification" : null
},
"BusinessContent" : {
"@xmlns:xsi" : "http://www.w3.org/2001/XMLSchema-instance",
"SelectionInformation" : {
"AssetInformation" : null,
"CostCenterInformation" : null,
"ListOfRuleInformation" : {
"RuleInformation" : [ {
"RuleType" : "Bem Patrimonial",
"InitialValue" : "0",
"FinalValue" : "999999999"
}, {
"RuleType" : "Estabelecimento",
"InitialValue" : null,
"FinalValue" : "ZZZZZ"
}, {
"RuleType" : "Unid Negócio",
"InitialValue" : null,
"FinalValue" : "ZZZ"
} ]
}
},
"ParametersInformation" : {
"PeriodInformation" : {
"DateIni" : "2010-01-01",
"DateFin" : "2099-10-10"
},
"FirstPart" : "true"
},
"ListOfAssetDepreciation" : {
"AssetDepreciation" : [ {
"AssetInformation" : {
"CompanyId" : "50",
"BranchId" : "5",
"AssetCode" : "3131",
"CostCenterCode" : "01070101"
},
"ListOfDepreciation" : {
"Depreciation" : {
"PeriodDepreciationAmount" : "32.33",
"PeriodAmortizationAmount" : "0"
}
}
}, {
"AssetInformation" : {
"CompanyId" : "50",
"BranchId" : "5",
"AssetCode" : "3134",
"CostCenterCode" : "01070101"
},
"ListOfDepreciation" : {
"Depreciation" : {
"PeriodDepreciationAmount" : "614.25",
"PeriodAmortizationAmount" : "0"
}
}
}, {
"AssetInformation" : {
"CompanyId" : "50",
"BranchId" : "5",
"AssetCode" : "3333",
"CostCenterCode" : "01070101"
},
"ListOfDepreciation" : {
"Depreciation" : {
"PeriodDepreciationAmount" : "0",
"PeriodAmortizationAmount" : "3.57"
}
}
}, {
"AssetInformation" : {
"CompanyId" : "50",
"BranchId" : "5",
"AssetCode" : "3333",
"CostCenterCode" : "01070101"
},
"ListOfDepreciation" : {
"Depreciation" : {
"PeriodDepreciationAmount" : "0",
"PeriodAmortizationAmount" : ".09"
}
}
}, {
"AssetInformation" : {
"CompanyId" : "50",
"BranchId" : "500",
"AssetCode" : "334",
"CostCenterCode" : "01070101"
},
"ListOfDepreciation" : {
"Depreciation" : {
"PeriodDepreciationAmount" : "0",
"PeriodAmortizationAmount" : "5.96"
}
}
} ]
}
}
}
}
} |
Bloco de código | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
{
"TOTVSMessage" : {
"MessageInformation" : {
"@version" : "1.000",
"BranchId" : null,
"CompanyId" : "50",
"DeliveryType" : "Async",
"GeneratedOn" : "2018-05-17T12:03:00",
"Product" : {
"@name" : "PIMS",
"@version" : "12.1.21"
},
"SourceApplication" : "PIMSCONNECTOR",
"StandardVersion" : "1.000",
"Transaction" : "assetdepreciation",
"Type" : "Response",
"UUID" : "74ff32e0-1d10-492e-8c5f-7d0f966ed636"
},
"ResponseMessage" : {
"ProcessingInformation" : {
"ProcessedOn" : "2018-05-17T12:03:00",
"Status" : "OK"
},
"ReceivedMessage" : {
"MessageContent" : null,
"SentBy" : "ERP",
"UUID" : "f719a39e-cf4e-6d92-3c14-2e8284176ec3"
},
"ReturnContent" : {
"ListOfInternalId" : {
"InternalId" : {
"Destination" : "||5246527067259186583",
"Name" : "assetdepreciation",
"Origin" : "0"
}
}
}
}
}
} |
Limitações e Restrições
- Esta integração está disponível a partir da versão 12.1.14 do PIMS Multicultivos e PIMSConnector;
- A integração de Depreciação de Bens para o PIMS Multicultivos é realizada em modo exclusivo entre as Unidades Administrativas.
Visão Geral
Import HTML Content
Conteúdo das Ferramentas
Tarefas