RCG Salesforce Consumer Goods Cloud 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
get-customer-by-id-responseMaps the individual customer and customer hierarchy data from Salesforce Consumer Goods cloud to CIM
get-customers-responseMaps the customers and customer hierarchy from Salesforce Consumer Goods Cloud to CIM
get-product-by-id-responseMaps the individual product and product hierarchy data from Salesforce Consumer Goods Cloud to CIM
get-products-responseMaps the product and product heirarchy data from Salesforce Consumer Goods cloud to CIM
post-customers-requestMaps the CIM request to customer data for Salesforce Consumer Goods Cloud
post-products-requestMaps the CIM request to product data for Salesforce Consumer Goods cloud
accountExtensionMaps the CIM request to customer extension data for Salesforce Consumer Goods Cloud
accountManagerMaps the CIM request to customer manager data for Salesforce Consumer Goods Cloud
accountOrgUnitMaps the CIM request to customer org unit data for Salesforce Consumer Goods Cloud
accountRelationshipMaps the CIM request to customer relationship data for Salesforce Consumer Goods Cloud

get-customer-by-id-response

Maps the individual customer and customer hierarchy data from Salesforce Consumer Goods cloud to CIM

Source: ./src/main/resources/dwl/get-customer-by-id-response.dwl

Mapping Tables

Maps the individual customer and customer hierarchy data from Salesforce Consumer Goods cloud to CIM.

CIM propertyCG Cloud propertyDescription
partyRoleTypecgcloud__Account_TemplateDescription\_cParty Role Type
idIdCustomer Id
nameNameCustomer Name
party.partyTypeOrganizationMapped to Organization
contactPoints.addressLine1ShippingStreetAddress Line for Contact Point Address
contactPoints.cityNameShippingCityShipping City for Contact Point Address
contactPoints.postalCodeTextShippingPostalCodePostal code for Contact Point Address
contactPoints.stateProvinceNameShippingStateShipping State for Contact Point Address
contactPoints.countryNameShippingCountryShipping Country for Contact Point Address
contactPoints.emailAddresscgcloud__AccountEmail\_cEmail Address for Contact Point Email
contactPoints.telephoneNumberPhonePhone Number for Contact Point Phone
externalIds.externalIdcgcloud__ExternalId__cMDM External ID stored in CG cloud
originatingCustomerSourcecgcloud__AccountTemplate\_cAccount Template equivalent for source system
primaryAccountParentIdParent Account ID

(back to top)

get-customers-response

Maps the customers and customer hierarchy from Salesforce Consumer Goods Cloud to CIM

Source: ./src/main/resources/dwl/get-customers-response.dwl

Mapping Tables

Maps the customers and customer hierarchy from Salesforce Consumer Goods Cloud to CIM.

CIM propertyCG Cloud propertyDescription
partyRoleTypecgcloud__Account_TemplateDescription\_cParty Role Type
idIdCustomer Id
nameNameCustomer Name
party.partyTypeOrganizationMapped to Organization
contactPoints.addressLine1ShippingStreetAddress Line for Contact Point Address
contactPoints.cityNameShippingCityShipping City for Contact Point Address
contactPoints.postalCodeTextShippingPostalCodePostal code for Contact Point Address
contactPoints.stateProvinceNameShippingStateShipping State for Contact Point Address
contactPoints.countryNameShippingCountryShipping Country for Contact Point Address
contactPoints.emailAddresscgcloud__AccountEmail\_cEmail Address for Contact Point Email
contactPoints.telephoneNumberPhonePhone Number for Contact Point Phone
externalIds.externalIdcgcloud__ExternalId__cMDM External ID stored in CG cloud
originatingCustomerSourcecgcloud__AccountTemplate\_cAccount Template equivalent for source system
primaryAccountParentIdParent Account ID

(back to top)

get-product-by-id-response

Maps the individual product and product hierarchy data from Salesforce Consumer Goods Cloud to CIM

Source: ./src/main/resources/dwl/get-product-by-id-response.dwl

Mapping Tables

Maps the individual product and product hierarchy data from Salesforce Consumer Goods Cloud to CIM.

CIM propertyCG Cloud propertyDescription
nameNameProduct Name
longDescriptionDescriptionProduct Description
idIdID
productStatuscgcloud__State__cStatus of the Product
descriptionDescriptionProduct Description
productSKUcgcloud__GTIN__cProduct's GTIn or SKU Number
'type'cgcloud__ProductType\_cType of the Product
productLevelcgcloud__ProductTemplate\_cProduct Template in CG Cloud
productCodecgcloud__Consumer_Goods_ProductCode\_cProduct Code
productShortCodecgcloud__Product_ShortCode\_cProduct Short Code
productFormcgcloud__ProductForm\_cProduct Form
sizecgcloud__Size__cSize of the product
packSizecgcloud__PackSize\_cPack size of the product
packSizeUnitcgcloud__Pack_SizeUnit\_cPack size's unit for the product
weightcgcloud__Weight__cWeight of the product
heightcgcloud__Height__cHeight of the product
containerTypecgcloud__ContainerType\_cContainer Type for the Product
containerSizeUnitcgcloud__Container_SizeUnit\_cContainer size unit
containerSizecgcloud__ContainerSize\_cContainer size of the product
criterion1Productcgcloud__Criterion_1Product\_cCategory Id of the product
criterion1ProductCodecgcloud__Criterion_1_ProductCode\_cCategory Product code
criterion1ProductDescriptioncgcloud__Criterion_1_ProductDescription\_cCategory's Product description
criterion2Productcgcloud__Criterion_2Product\_cSub Category Id of the product
criterion2ProductCodecgcloud__Criterion_2_ProductCode\_cSub Category Product code
criterion2ProductDescriptioncgcloud__Criterion_2_ProductDescription\_cSub Category's Product description
criterion3Productcgcloud__Criterion_3Product\_cBrand Id of the product
criterion3ProductCodecgcloud__Criterion_3_ProductCode\_cBrand Product code
criterion3ProductDescriptioncgcloud__Criterion_3_ProductDescription\_cBrand's Product description
criterion4Productcgcloud__Criterion_4Product\_cFlavor Id of the product
criterion4ProductCodecgcloud__Criterion_4_ProductCode\_cFlavor Product code
criterion4ProductDescriptioncgcloud__Criterion_4_ProductDescription\_cFlavor's Product description
criterion5Productcgcloud__Criterion_5Product\_cPackage Id of the product
criterion5ProductCodecgcloud__Criterion_5_ProductCode\_cPackage Product code
criterion5ProductDescriptioncgcloud__Criterion_5_ProductDescription\_cPackage's Product description
productCategory.parentCategoryArray of Criterion Product codes
manufacturerNamecgcloud__Manufacturer__cName of the Manufacturer
manufacturerItemNumbercgcloud__Manufacturer_ItemNumber\_cManufacturer's Item Number
competitiveProductcgcloud__CompetitiveProduct\_cIf the product is competitor's product (Boolean)
kamProductcgcloud__KAMProduct\_cKAM product
estimatedValuecgcloud__EstimatedValue\_cEstimated value of the product

(back to top)

get-products-response

Maps the product and product heirarchy data from Salesforce Consumer Goods cloud to CIM

Source: ./src/main/resources/dwl/get-products-response.dwl

Mapping Tables

Maps the product and product heirarchy data from Salesforce Consumer Goods cloud to CIM.

CIM propertyCG Cloud propertyDescription
nameNameProduct Name
longDescriptionDescriptionProduct Description
idIdID
productStatuscgcloud__State__cStatus of the Product
descriptionDescriptionProduct Description
productSKUcgcloud__GTIN__cProduct's GTIn or SKU Number
'type'cgcloud__ProductType\_cType of the Product
productLevelcgcloud__ProductTemplate\_cProduct Template in CG Cloud
productCodecgcloud__Consumer_Goods_ProductCode\_cProduct Code
productShortCodecgcloud__Product_ShortCode\_cProduct Short Code
productFormcgcloud__ProductForm\_cProduct Form
sizecgcloud__Size__cSize of the product
packSizecgcloud__PackSize\_cPack size of the product
packSizeUnitcgcloud__Pack_SizeUnit\_cPack size's unit for the product
weightcgcloud__Weight__cWeight of the product
heightcgcloud__Height__cHeight of the product
containerTypecgcloud__ContainerType\_cContainer Type for the Product
containerSizeUnitcgcloud__Container_SizeUnit\_cContainer size unit
containerSizecgcloud__ContainerSize\_cContainer size of the product
criterion1Productcgcloud__Criterion_1Product\_cCategory Id of the product
criterion1ProductCodecgcloud__Criterion_1_ProductCode\_cCategory Product code
criterion1ProductDescriptioncgcloud__Criterion_1_ProductDescription\_cCategory's Product description
criterion2Productcgcloud__Criterion_2Product\_cSub Category Id of the product
criterion2ProductCodecgcloud__Criterion_2_ProductCode\_cSub Category Product code
criterion2ProductDescriptioncgcloud__Criterion_2_ProductDescription\_cSub Category's Product description
criterion3Productcgcloud__Criterion_3Product\_cBrand Id of the product
criterion3ProductCodecgcloud__Criterion_3_ProductCode\_cBrand Product code
criterion3ProductDescriptioncgcloud__Criterion_3_ProductDescription\_cBrand's Product description
criterion4Productcgcloud__Criterion_4Product\_cFlavor Id of the product
criterion4ProductCodecgcloud__Criterion_4_ProductCode\_cFlavor Product code
criterion4ProductDescriptioncgcloud__Criterion_4_ProductDescription\_cFlavor's Product description
criterion5Productcgcloud__Criterion_5Product\_cPackage Id of the product
criterion5ProductCodecgcloud__Criterion_5_ProductCode\_cPackage Product code
criterion5ProductDescriptioncgcloud__Criterion_5_ProductDescription\_cPackage's Product description
productCategory.parentCategoryArray of Criterion Product codes
manufacturerNamecgcloud__Manufacturer__cName of the Manufacturer
manufacturerItemNumbercgcloud__Manufacturer_ItemNumber\_cManufacturer's Item Number
competitiveProductcgcloud__CompetitiveProduct\_cIf the product is competitor's product (Boolean)
kamProductcgcloud__KAMProduct\_cKAM product
estimatedValuecgcloud__EstimatedValue\_cEstimated value of the product

(back to top)

post-customers-request

Maps the CIM request to customer data for Salesforce Consumer Goods Cloud

Source: ./src/main/resources/dwl/post-customers-request.dwl

Variables

var s

Maps the CIM request to customer data for Salesforce Consumer Goods Cloud.

Mapping Tables

Maps the CIM request to customer data for Salesforce Consumer Goods Cloud.

CG Cloud propertyCIM propertyDescription
IDidCustomer Id
NamenameCustomer Name
cgcloud__AccountNumber\_ccustomerNumberAccount Number
cgcloud__Name2\_cparty.nameCustomer Name
ShippingStreetcontactPoints.addressLine1Address Line for Contact Point Address
ShippingCitycontactPoints.cityNameShipping City for Contact Point Address
ShippingPostalCodecontactPoints.postalCodeTextPostal code for Contact Point Address
ShippingStatecontactPoints.stateProvinceNameShipping State for Contact Point Address
ShippingCountrycontactPoints.countryNameShipping Country for Contact Point Address
cgcloud__AccountEmail\_ccontactPoints.emailAddressEmail Address for Contact Point Email
PhonecontactPoints.telephoneNumberPhone Number for Contact Point Phone
cgcloud__ExternalId__cexternalIds.externalIdMDM External ID stored in CG cloud
SAP_4HANAId\_cexternalIds.externalIdSAP_4HANA External Id
cgcloud__AccountTemplate\_coriginatingCustomerSourceAccount Template equivalent for CG Cloud
ParentIdprimaryAccountParent Account ID

(back to top)

post-products-request

Maps the CIM request to product data for Salesforce Consumer Goods cloud

Source: ./src/main/resources/dwl/post-products-request.dwl

Variables

var s

Maps the CIM request to product data for Salesforce Consumer Goods cloud.

Mapping Tables

Maps the CIM request to product data for Salesforce Consumer Goods cloud.

CG Cloud propertyCIM propertyDescription
NamenameProduct Name
DescriptionlongDescriptionProduct Description
IdidCG Cloud ID
cgcloud__State__cproductStatusStatus of the Product
cgcloud__GTIN__cproductSKUProduct's GTIn or SKU Number
cgcloud__ProductType\_c'type'Type of the Product
cgcloud__ProductLevel\_cproductLevelProduct Level
cgcloud__ProductTemplate\_cproductLevelId of Product level
cgcloud__Consumer_Goods_ProductCode\_cproductCodeProduct Code
cgcloud__Product_ShortCode\_cproductShortCodeProduct Short Code
cgcloud__ProductForm\_cproductFormProduct Form
cgcloud__Consumer_Goods_External_ProductId\_cexternalIds.externalIdMDM External Id
SAP_4HANAId\_cexternalIds.externalIdSAP_4HANA External Id
cgcloud__Description_1_Language1\_cdescriptionProduct Description
cgcloud__Description_2_Language1\_clongDescriptionProduct Long description
cgcloud__Size__csizeSize of the product
cgcloud__PackSize\_cpackSizePack size of the product
cgcloud__Pack_SizeUnit\_cpackSizeUnitPack sizes unit for the product
cgcloud__Weight__cweightWeight of the product
cgcloud__Height__cheightHeight of the product
cgcloud__ContainerType\_ccontainerTypeContainer Type for the Product
cgcloud__Container_SizeUnit\_ccontainerSizeUnitContainer size unit
cgcloud__ContainerSize\_ccontainerSizeContainer size of the product
cgcloud__Criterion_1Product\_ccriterion1ProductCategory Id of the product
cgcloud__Criterion_2Product\_ccriterion2ProductSub Category Id of the product
cgcloud__Criterion_3Product\_ccriterion3ProductBrand Id of the product
cgcloud__Criterion_4Product\_ccriterion4ProductFlavor Id of the product
cgcloud__Criterion_5Product\_ccriterion5ProductPackage Id of the product
cgcloud__Manufacturer__cmanufacturerNameName of the Manufacturer
cgcloud__Manufacturer_ItemNumber\_cmanufacturerItemNumberManufacturer's Item Number
cgcloud__CompetitiveProduct\_ccompetitiveProductIf the product is competitor's product (Boolean)
cgcloud__KAMProduct\_ckamProductKAM product
cgcloud__EstimatedValue\_cestimatedValueEstimated value of the product

(back to top)

accountExtension

Maps the CIM request to customer extension data for Salesforce Consumer Goods Cloud

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

Mapping Tables

Maps the CIM request to customer extension data for Salesforce Consumer Goods Cloud.

CG Cloud propertyCIM propertyDescription
cgcloud__Bill_To_Role_ValidFrom\_cvalidFromBillToRole Valid From
cgcloud__Bill_To_Role_ValidThru\_cvalidThroughBillToRole Valid Through
cgcloud__Broker_Role_ValidFrom\_cvalidFromBrokerRole Valid From
cgcloud__Broker_Role_ValidThru\_cvalidThroughBrokerRole Valid Through
cgcloud__customerId\_croleIdCustomerRole Id
cgcloud__customer_RoleNumber\_croleNumberCustomerRole Number
cgcloud__customer_Role_Price_Listtype\_crolePriceListTypeCustomerRole Price List Type
cgcloud__customer_Role_PriceType\_crolePriceTypeCustomerRole Price Type
cgcloud__customer_Role_ValidFrom\_cvalidFromCustomerRole Valid From
cgcloud__customer_Role_ValidThru\_cvalidThroughCustomerRole Valid Through
cgcloud__Delivery_Role_ValidFrom\_cvalidFromDeliveryRole Valid From
cgcloud__Delivery_Role_ValidThru\_cvalidThroughDeliveryRole Valid Through
cgcloud__Promotion_ValidFrom\_cvalidFromPromotionRole Valid From
cgcloud__Promotion_ValidThru\_cvalidThroughPromotionRole Valid Through
cgcloud__Payer_Role_ValidFrom\_cvalidFromPayerRole Valid From
cgcloud__Payer_Role_ValidThru\_cvalidThroughPayerRole Valid Through
cgcloud__Payer_Role_Overall_CreditLimit\_ccreditLimitPayerRole Credit Limit
cgcloud__Payer_Role_CreditRating\_ccreditRatingPayerRole Credit Rating
cgcloud__Payer_Role_CreditBlock\_ccreditBlockPayerRole Credit Block
cgcloud__PaymentMode\_cpaymentModePayerRole Payment Mode
cgcloud__Order_Document_TransactionType\_corderDocumentTransactionTypePayerRole Order Document Transaction Type
cgcloud__Payer_Role_Document_TransactionType\_cpayerRoleDocumentTransactionTypePayerRole Payer Role Document Transaction Type
cgcloud__Invoice_Document_TransactionType\_cinvoiceDocumentTransactionTypePayerRole Invoice Document Transaction Type
cgcloud__Order_Role_ValidFrom\_cvalidFromOrderRole Valid From
cgcloud__Order_Role_ValidThru\_cvalidThroughOrderRole Valid Through
cgcloud__Order_Role_OrdererType\_corderRoleOrdererTypeOrderRole Orderer Type
cgcloud__Order_Role_Order_TemplateBlocked\_corderRoleOrderTemplateBlockedOrderRole Order Template Blocked
cgcloud__Store_Role_ValidFrom\_cvalidFromStoreRole Valid From
cgcloud__Store_Role_ValidThru\_cvalidThroughStoreRole Valid Through
cgcloud__considerModules\_cconsiderModulesStoreRole Consider Modules

(back to top)

accountManager

Maps the CIM request to customer manager data for Salesforce Consumer Goods Cloud

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

Mapping Tables

Maps the CIM request to customer manager data for Salesforce Consumer Goods Cloud.

CG Cloud propertyCIM propertyDescription
cgcloud__Account__cidAccount Id
cgcloud__User__cUser Id
cgcloud__Active__cactiveToDateCustomer Manager Active Status
cgcloud__ValidFrom\_cactiveFromDateActive From Date
cgcloud__ValidThru\_cactiveToDateActive To Date
cgcloud__ManagementType\_cDefaulted to Sales

(back to top)

accountOrgUnit

Maps the CIM request to customer org unit data for Salesforce Consumer Goods Cloud

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

Mapping Tables

Maps the CIM request to customer org unit data for Salesforce Consumer Goods Cloud.

CG Cloud propertyCIM propertyDescription
cgcloud__Account__cidAccount Id
cgcloud__OrgUnit\_corgUnitOrg Unit Id
cgcloud__ValidFrom\_cvalidFromValid From
cgcloud__ValidThru\_cvalidThruValid Through
cgcloud__Active__cvalidThruCustomer Org Unit Active Status

(back to top)

accountRelationship

Maps the CIM request to customer relationship data for Salesforce Consumer Goods Cloud

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

Mapping Tables

Maps the CIM request to customer relationship data for Salesforce Consumer Goods Cloud.

CG Cloud propertyCIM propertyDescription
cgcloud__Account__cidAccount Id
cgcloud__RelatedAccount\_cidRelated Account Id
cgcloud__RelationshipType\_cpartyRelationshipTypeRelationship Type
cgcloud__StartDate\_crelatedFromDateRelated From Date
cgcloud__EndDate\_crelatedToDateRelated To Date

(back to top)


Reviews

TypeTemplate
OrganizationMulesoft Inc.
Published by
MuleSoft Solutions
Published onOct 16, 2023
Asset overview

Asset versions for 2.1.x

Asset versions
VersionActions
2.1.4
2.1.3
2.1.0