Download page Synchronizing Related Line Items with Opportunity Line Items.
Synchronizing Related Line Items with Opportunity Line Items
As an administrator, you can enable synchronization of related line items with opportunity line items. The following are the methods of synchronization:
This feature is used only in Service CPQ.
Auto-Synchronization
Enable the Auto Sync With Opportunity setting in the Proposal System Properties custom setting.
Create a lookup field with API name LineItemCollId__c on the Opportunity Product object with a lookup relationship to the Related Opportunity Line Item Coll object.
Display related lists Related Opportunity Line Item Collection and Related Opportunity Line Items on the opportunity layout.
Ensure that the Primary checkbox is selected on the quote and the opportunity has a price book associated with it.
When you finalize the quote, you observe that:
Proposal line items synchronize on the Opportunity Product object.
The lookup field with API name LineItemCollId__c is populated with a related item collection ID.
Each record in the Opportunity Product object has a unique related Item collection ID.
The Related Opportunity Line Item Collection object links the opportunity product to the related line items associated with it. For every record in the Opportunity Product object, which has related lines associated with it, a unique Related Opportunity Line Item Collection is created.
In the Related Opportunity Line Item Collection related list, the Related Item Coll Id of all collection records is displayed.
The Proposal Related Line Items are synchronized with the Related Opportunity Line Items object and are displayed in its related list.
Manual Synchronization
Disable the Auto Sync With Opportunity setting in the Proposal System Properties custom setting.
Create a lookup field with API name LineItemCollId__c on the Opportunity Product object with a lookup relationship to the Related Opportunity Line Item Coll object.
Display related lists Related Opportunity Line Item Collection and Related Opportunity Line Items on the opportunity layout.
Ensure that the Primary checkbox is selected on the quote and the opportunity has a price book associated with it.
Ensure that Synchronize with Opportunity formula button in displayed on the proposal layout.
Finalize quote and click Synchronize with Opportunity. Observations are same as step 5 in Auto-Synchronization.
The options of the service bundle are synchronized to the opportunity only if the Sync Option Products setting is enabled in the Proposal System Properties custom setting.