...
O cadastro de Pedido de Venda é realizado no sistema TOTVS CRM, e será integrado com o sistema Datasul sistema Datasul através de comunicação de Mensagem Única, abaixo os campos que são integrados por padrão.
TOTVSCRM → Fluxo: TOTVS CRM → DATASUL
Campos Integrados:
Mensagem Única HUBDatasul | Obrigatório | Observação |
Código Estabelecimento |
branchIdcompanyId | branchId | Sim |
|
Número Sequencial |
orderIdsequentialNumber- | Sim |
|
Cliente | customerId | customerCode |
customerERPReferenceKey | Sim |
|
Nome Cliente | customerName | shortName |
customerShortName | Sim |
|
Cond. Pagto | paymentTermDescription | paymentTerms |
erpFinancialManagerCode | Sim |
|
Vlr. Total | totalValue | orderAmount |
totalValue | Sim |
|
Vlr Desconto | discountValue | discountAmt |
discountValue | listOfOrderItem/itemCode | Sim | Unidade | unitMeasureBillingunitOfMeasureitemCode | Sim |
|
Qtd. Total | products[].quantity | listOfOrderItem/quantityBilling |
quantity | Sim |
|
Preço Unitário | products[].price | listOfOrderItem/price/priceUnitary |
price | Sim |
|
Preço Original | products[].price | listOfOrderItem/price/originalPrice |
price | Sim |
|
Preço Original de Cobrança | products[].price | listOfOrderItem/price/originalPriceBilling |
price | Sim |
|
Total do Item | products[].price | listOfOrderItem/price/totalOrderItemAmount |
price | Sim |
|
Tabela de Preço | priceListId | listOfOrderItem/priceTable |
priceTableCode | Sim |
|
Tipo de Operação | orderType.code | listOfOrderItem/transactionType |
orderTypeOperationSim
Cadastro Datasul:
Cadastro CRM:
![](/download/attachments/638717789/image2021-9-17_16-2-19.png?version=1&modificationDate=1631905339593&api=v2)
![](/download/attachments/638717789/image2021-9-17_16-3-3.png?version=1&modificationDate=1631905384050&api=v2)