RCG Salesforce Orders System API - Implementation Template

(0 reviews)

Data mappings

This document provides information generated from the DataWeave scripts included in the project, such as function definitions, variable definitions, and data mapping tables.

ModuleDescription
create-orderlineitem-requestCreate OrderLines mapping
createOrdersRequestCreate Order mapping
getOrderByIdResponseGet OrderById response mapping
getOrderListResponseGet OrdersList response mapping
updateOrderRequestUpdate order mapping

create-orderlineitem-request

Create OrderLines mapping

Source: ./src/main/resources/dwl/create-orderlineitem-request.dwl

Variables

var s

Create OrderLines mapping.

Mapping Tables

Create OrderLines mapping.

Request FieldCIM Source fieldDescription of source field
OrderIdsalesOrderResponse IDOrder ID
TotalLineAmounttotalPriceAmountTotal Price Amount of a Product
Product2IdProduct2Id from Query ResponseProduct ID
PricebookEntryIdPricebookEntryId from Query ResponsePriceBook Entry ID
SBQQOrderedQuantitycorderedQuantityOrder Quantity
UnitPricetotalUnitPriceAmountUnit Price of the Product
QuantityorderedQuantityOrder Quantity

(back to top)

createOrdersRequest

Create Order mapping

Source: ./src/main/resources/dwl/createOrdersRequest.dwl

Mapping Tables

Create Order mapping.

Request FieldCIM Source fieldDescription of source field
namenameOrder Name
AccountIdsoldToCustomerAccount Id Info
DescriptiondescriptionDescription of the Order
EffectiveDatesysdateEffective date of the Order
Global_SalesOrder_Id__cexternalIds[0].externalIdGlobal SalesOrder Id
StatussalesOrderStatusStatus of the order
TypesalesOrderTypeType of order
Pricebook2Iddefault valuePriceBook ID
Total_Tax__ctotalTaxAmountTotal Tax Amount
Shipping__ctotalDeliveryFeeAmountShipping Fee

(back to top)

getOrderByIdResponse

Get OrderById response mapping

Source: ./src/main/resources/dwl/getOrderByIdResponse.dwl

Mapping Tables

Get OrderById response mapping.

Resp FieldSalesforce Source fieldDescription of source field
nameNamename of the Order
requestedStartDateOrderedDateOrdered Date
idIdSalesforce Order Id
soldToCustomerAccountIdSalesforce Account Id Info
descriptionDescriptionDescription of the Order
salesOrderConfirmationStatus.idIdSalesforce Order Id confirmation
salesOrderConfirmationStatus.nameNamename of the order confirmation
taxRateTax__ctax Rate
totalProductAmountTotalAmounttotal Product Amount
purchaseOrderNumberPoNumberPo Number
totalDeliveryAmountTotalAdjustedDeliveryAmountDelivery Amount
activatedDateEffectiveDateEffective Date
renewalTerm.nameSBQQRenewalTermcRenewal term details
totalAdjustmentAmountTotalAdjustedProductAmountTotal Adjusted Product Amount
shipToContactShipToContactIdShip To ContactId Info
billToEmailBillingEmailAddressBilling EmailAddress
promiseFulfillmentDateEffectiveDateEffective Date
grandTotalAmountOrderTotalAmount__cTotalAmount of the Order
shipToAddressshipToAddressShipping Address
purchaseOrderDatePoDatePurchase Order date
adjustedTotalProductAmountTotalAdjustedProductAmountAdjusted Product Amount
orderStartDateOrderedDateSalesforce Order start date
totalDeliveryFeeAmountShipping__cShipping Fee
salesChannelSalesChannelIdSales Channel Id
originalOrderOriginalOrderIdSalesforce Original Order Id
totalProductTaxAmountTotalTaxAmountTax Amount
billToAddressBillingAddressBilling Address Info
salesOrderType.idRecordTypeIdRecord Type Id
salesOrderType.nameTypeSalesforce Order Type
totalAdjustmentTaxAmountTax__cTax amount
totalAdjustedDeliveryTaxAmountTotalAdjustedDeliveryTaxAmountDelivery Tax Amount
billToPhoneNumberBillingPhoneNumberBilling Phone Number
totalBookingAmountSBQQOrderBookingscBooking Amount
totalTaxAmountTotal_Tax__cTotal Tax Amount
priceCalculationStatusMessageTextSBQQPriceCalcStatusMessagecPrice Calculation Status Message
orderEndDateEndDateEndDate for Order
renewalUpliftRateSBQQRenewalUpliftRatecrenewal Uplift Rate
auditInfo.createdByCreatedByIdCreatedBy Id
auditInfo.updatedByLastModifiedByIdUpdatedBy Id
auditInfo.updatedDateLastModifiedDateUpdated Date
auditInfo.createdDateCreatedDateCreated Date
salesOrderSystemStatusStatusStatus of the Salesforce Order
externalIds.externalIdType"MDM"Master data management
externalIds.externalIdExternal_ID__cGlobal SalesOrder id

(back to top)

getOrderListResponse

Get OrdersList response mapping

Source: ./src/main/resources/dwl/getOrderListResponse.dwl

Mapping Tables

Get OrdersList response mapping.

Resp FieldSalesforce Source fieldDescription of source field
nameNamename of the Order
requestedStartDateOrderedDateOrdered Date
idIdSalesforce Order Id
soldToCustomerAccountIdSalesforce Account Id Info
descriptionDescriptionDescription of the Order
salesOrderConfirmationStatus.idIdSalesforce Order Id confirmation
salesOrderConfirmationStatus.nameNamename of the order confirmation
taxRateTax__ctax Rate
totalProductAmountTotalAmounttotal Product Amount
purchaseOrderNumberPoNumberPo Number
totalDeliveryAmountTotalAdjustedDeliveryAmountDelivery Amount
activatedDateEffectiveDateEffective Date
renewalTerm.nameSBQQRenewalTermcRenewal term details
totalAdjustmentAmountTotalAdjustedProductAmountTotal Adjusted Product Amount
shipToContactShipToContactIdShip To ContactId Info
billToEmailBillingEmailAddressBilling EmailAddress
promiseFulfillmentDateEffectiveDateEffective Date
grandTotalAmountOrderTotalAmount__cTotalAmount of the Order
shipToAddressshipToAddressShipping Address
purchaseOrderDatePoDatePurchase Order date
adjustedTotalProductAmountTotalAdjustedProductAmountAdjusted Product Amount
orderStartDateOrderedDateSalesforce Order start date
totalDeliveryFeeAmountShipping__cShipping Fee
salesChannelSalesChannelIdSales Channel Id
originalOrderOriginalOrderIdSalesforce Original Order Id
totalProductTaxAmountTotalTaxAmountTax Amount
billToAddressBillingAddressBilling Address Info
salesOrderType.idRecordTypeIdRecord Type Id
salesOrderType.nameTypesalefore order type
totalAdjustmentTaxAmountTax__cTax amount
totalAdjustedDeliveryTaxAmountTotalAdjustedDeliveryTaxAmountDelivery Tax Amount
billToPhoneNumberBillingPhoneNumberBilling Phone Number
totalBookingAmountSBQQOrderBookingscBooking Amount
totalTaxAmountTotal_Tax__cTotal Tax Amount
priceCalculationStatusMessageTextSBQQPriceCalcStatusMessagecPrice Calculation Status Message
orderEndDateEndDateEndDate for Order
renewalUpliftRateSBQQRenewalUpliftRatecrenewal Uplift Rate
auditInfo.createdByCreatedByIdCreatedBy Id
auditInfo.updatedByLastModifiedByIdUpdatedBy Id
auditInfo.updatedDateLastModifiedDateUpdated Date
auditInfo.createdDateCreatedDateCreated Date
salesOrderSystemStatusStatusStatus of the Salesforce Order
externalIds.externalIdType"MDM"Master data management
externalIds.externalIdExternal_ID__cGlobal SalesOrder id

(back to top)

updateOrderRequest

Update order mapping

Source: ./src/main/resources/dwl/updateOrderRequest.dwl

Mapping Tables

Update order mapping.

Resp FieldCIM Source fieldDescription of source field
namenameOrder Name
AccountIdsoldToCustomerAccount Id Info
DescriptiondescriptionDescription of the Order
EffectiveDatesysdateEffective date of the Order
Global_SalesOrder_Id__cexternalIds[0].externalIdGlobal SalesOrder Id
StatussalesOrderStatusStatus of the order

(back to top)


Reviews

TypeTemplate
OrganizationMulesoft Inc.
Published by
MuleSoft Solutions
Published onOct 18, 2022
Asset overview

Asset versions for 2.6.x

Asset versions
VersionActions
2.6.0