Mapping Objects for Asset-Based Ordering

Object Mapper is a program that transfers data from one object to another. The asset-based ordering process allows the Object Mapper to accept more objects. Object Mapper maps child line items as well as the objects and fields associated with them.

You can move items such as line item attachments and custom child objects using Object Mapper throughout the asset-based ordering cycle.

For example, as a child of the line item object, you could have created an object Subsidiary. Subsidiary can be moved along with the line item objects.

By default, asset-based ordering processes quotes, orders, assets, and their associated line items. Object Mapper can be used to add more objects. If no object mapping is specified, only the header and header line items are moved. The process will not fail if you specify an object map but no field mappings exist. However, a log entry mentions this problem.

In Energy & Utilities Cloud, each asset is usually mapped to a service point. Other mappings are possible. For example, an asset can be mapped to a unit rate or to a contract. However, these alternative mappings often require custom configurations.

Object Mapper uses the custom object Custom Object Map (CustomObjectMap__c) to store the object mapping, which has the following custom fields:

CUSTOM FIELDDESCRIPTIONEXAMPLE
Source Parent ObjectSourceParentObject__cStores the source parent object name.Opportunity
Destination Parent ObjectDestinationParentObject__cStores the destination parent object name.Quote
Source Child ObjectSourceChildObject__cStores the source child object nameOpportunityLineItem
Destination Child ObjectDestinationChildObject__cStores the destination child object name.QuoteLineItem
Parent Source Reference FieldPartentSourceReferenceField__cStores parent source reference fieldOpportunityId in OpportunityLineItem
Parent Destination Reference FieldParentDestinationreferenceField__cStores child target reference fieldQuoteId in QuoteLineItem
  1. Go to the Object Mapper tab.Fields in the Object Mapper tab are described in the following steps.
  2. Select the Source Parent Object, for example, Quote.
  3. Select the Destination Parent Object, for example, Order.
  4. From Source Object, select the child object to map.
  5. From Destination Object, select the child object to map.
  6. From Parent source reference field, select the parent object field to map.
  7. From Destination source reference field, select the destination object field to map.
  8. To add more mappings, click Add.

img source : Salesforce

When you are done mapping child objects, don’t forget to click Save.

Stay tuned for the next post, where we’ll dive deeper into this topic!

Hope this information helps you guys.

Cheers!!!

Mukul Sharma

Leave a comment