RCG Salesforce Experience 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
createHanaPricingAPIRequestPricing request mapping
createHanaPricingAPIResponsePricing response mapping
map-customer-query-responsecustomer response mapping
map-externalids-responseOrder external Id response mapping
map-inventory-responseinventory response mapping
map-order-query-responseorders response mapping

createHanaPricingAPIRequest

Pricing request mapping

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

Mapping Tables

Maps salesforce format to CIM mapping

CIMsalesforceDescription
id10Defaut the Id value to 10
productIdproductIdThe unique Product Id
quoteIdquoteIdThe quoteID
customerIdcustomerIdThe unique customerId
quantityquantityThe product quantity
additionalDiscountAdditionalDiscountThe additional discount percentage

(back to top)

createHanaPricingAPIResponse

Pricing response mapping

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

Mapping Tables

Maps salesforce format to CIM mapping

salesforceCIMDescription
ProductIdProductIdThe unique Product Id
NetUnitPriceNetUnitPriceThe net unit price of a product
customerIdcustomerIdThe unique customerId
quantityquantityThe product quantity
additionalDiscountAdditionalDiscountThe additional discount percentage
DiscountValidationResponseDiscountValidationResponseThe discount validation response

(back to top)

map-customer-query-response

customer response mapping

Source: ./src/main/resources/dwl/map-customer-query-response.dwl

Mapping Tables

Maps CIM customer format to Salesforce mapping

SalesforceCIMDescription
GlobalCustomerIdidThe external Id of the customer
PersonNameparty.personNameThe full name of the customer
EmailAddressparty.contactPoints.emailAddressThe email address of the customer
ContactPhoneparty.contactPoints.telephoneNumberThe telephone Number of the customer
CustomerStatuscustomerStatusIndicates if customer status is Active or not

(back to top)

map-externalids-response

Order external Id response mapping

Source: ./src/main/resources/dwl/map-externalids-response.dwl

Mapping Tables

Maps CIM external IDs to Salesforce

SalesforceCIMDescription
TypeexternalIdTypeThe type of external identifier
NameexternalIdTypeThe display name of the external ID Type
SortOrdernumberThe preferred display position of an item in the list
IdexternalIdThe actual external identifier
LastChangedstatusLastChangedDateThe last status changed date

(back to top)

map-inventory-response

inventory response mapping

Source: ./src/main/resources/dwl/map-inventory-response.dwl

Mapping Tables

Maps inventory details to Salesforce mapping

SalesforceCIMDescription
ProductIdProductIdID of the Inventory Product
StoreIdlocationIdhardcoded storename with location Id
AvailableQuantityquantityInStockQuantity of the Product in Store

(back to top)

map-order-query-response

orders response mapping

Source: ./src/main/resources/dwl/map-order-query-response.dwl

Mapping Tables

Maps OMS to Salesforce mapping

SalesforceOMSDescription
GlobalSalesOrderIdidThe external Id of the customer
OrderIdidThe order Id of the customer
OrderNumberorderNumberThe order number
OrderTypesalesOrderType.nameThe order type name
OriginalOrderIdoriginalOrderThe order Id of the customer
OrderStatussalesOrderStatus.nameThe Status of the order
BeginDateorderStartDateThe order start Date
EndDateorderEndDateThe order end Date
FiledDatefiledDateThe order filled dte

(back to top)


Reviews

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

Asset versions for 3.0.x

Asset versions
VersionActions
3.0.6