+ Start a Discussion

Trigger to update SBQQ Template ID field based on a Opportunity picklist field

Hi guys,

I'm looking for a trigger that will update the SBQQ__QuoteTemplateId__c field with the correct Template ID based on a custom Opportunity field "Segment__c". 

Can anyone help me with this? 
Suraj TripathiSuraj Tripathi
Please give an exmaple of your requirement.
If the [Opportunity].Segement__c = Retail, then the [Quote].Template_ID__c = a6n370000008S6u
If the [Opportunity].Segement__c = Hospitality, then the [Quote].Template_ID__c = a6n370000008S74

and so on.