function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
FraserWAFraserWA 

Customised Opportunity Reference

Does anyone know how to generate a customised unique Opportunity proposal reference?

 

I am looking to create within SalesForce a customised proposal reference number as an Opportunity field that uses the value from a user defined service line to create a unique reference that is sequential to each service line .... ie

 

{YY}{MM} (Service_value__c )-{0}

 

eg 130600-001, 130601-001 etc ...

 

any help appreciated in solving this one

 

Fraser - Perth, WA

sandeep1989sandeep1989

create a trigger on the opportunity object and modify the field in before trigger.

FraserWAFraserWA
sounds interesting - could you explain further ... I'm not a professional
daveloper

regards

Fraser Maywood
+ 61 450 167 614