This post has been contributed by Ravi Kumar who’s been working in Siebel from past 4 years and have worked on areas like configuration, scripting, Workflows, EAI. In this post he has explained “How to copy custom fields from Order line items to Asset using Auto Asset functionality”.
I have created some custom fields on line items and I want to copy these fields to Assets by calling Siebel vanilla workflow “SIS OM Apply Completed Service Order Line Item to Service Profile”
This workflow uses SIS OM PMT Business Service to copy the line items to assets. Mapping of fields from line items to assets is done using the business service user properties, for example:
Name:SIS OM Order.Line Item:SIS OM Asset.Line Item Map 109
Value:[First Payment Order]:[First Payment Asset]
But just mentioning this user property alone is not going to work; we have to create these fields in Integration Objects which this (SIS OM PMT) business service uses.
Here are the Integration Objects that are used by SIS OM PMT business service.
- SIS OM Asset
- SIS OM Order
- SIS OM Quote
- SIS OM Revenue
Note: Don’t forget to add the fields in the relevant Business Components, which the above Integration Objects and Integration Components use. Generally these Integration Objects are based on Light weight Business Objects and Business Components which are different from UI Business Objects and Business Components.
So, the complete steps to achieve the above mentioned requirement would be
- Add these custom fields in BC “MACD Order Entry – Line Items” and “Asset Mgmt – Asset“.
- Add the fields in Integration Components of Integration Objects “SIS OM Order” and “SIS OM Asset“. (Make sure that External name is similar as BC field Name)
- Map these fields in SIS OM PMT Business service user properties.
This is a really nice article from Ravi and hoping to get same kind of articles in future. Thanks Ravi for sharing it with all of us.