You need to sign in to do that
Don't have an account?
Priya M 22
Auto generated number for all the related custom object per account
Hi Everyone,
Issue: Auto generated number for all the related custom object per account. i.e
Account1 -- CustomObj1, CustomObj2, CustomObj3
Account2 -- CustomObj1, CustomObj2, CustomObj3... so on
Solution:
Account --(Master Detail Relationship) ---CustomObj
For its solution i have created one customObj_Count__c field of rollup summary type. Now using process builder when i am trying to update the Auto-generated field by using formula 'CustomObj'+TEXT([CustomObj__c].Account.CustomObj__c) its giving me values in CustomObj0,CustomObj1, CustomObj2, CustomObj3..
There for i tried changing my code to
IF( ((TEXT([CustomObj__c].Account.CustomObj__c) = 0), 'CustomObj'+TEXT(([CustomObj__c].Account.CustomObj__c)+ 1), 'CustomObj'+TEXT([CustomObj__c].Account.CustomObj__c) )
and now i am getting output as
CustomObj1,CustomObj1, CustomObj2, CustomObj3
Please, help me out here what i am doing wrong.
Issue: Auto generated number for all the related custom object per account. i.e
Account1 -- CustomObj1, CustomObj2, CustomObj3
Account2 -- CustomObj1, CustomObj2, CustomObj3... so on
Solution:
Account --(Master Detail Relationship) ---CustomObj
For its solution i have created one customObj_Count__c field of rollup summary type. Now using process builder when i am trying to update the Auto-generated field by using formula 'CustomObj'+TEXT([CustomObj__c].Account.CustomObj__c) its giving me values in CustomObj0,CustomObj1, CustomObj2, CustomObj3..
There for i tried changing my code to
IF( ((TEXT([CustomObj__c].Account.CustomObj__c) = 0), 'CustomObj'+TEXT(([CustomObj__c].Account.CustomObj__c)+ 1), 'CustomObj'+TEXT([CustomObj__c].Account.CustomObj__c) )
and now i am getting output as
CustomObj1,CustomObj1, CustomObj2, CustomObj3
Please, help me out here what i am doing wrong.
'CustomObj'+TEXT(([CustomObj__c].Account.CustomObj__c)+ 1)