You need to sign in to do that
Don't have an account?
S Balaji 8
Can anyone share me the trigger code for the below scenario please?
When an Order is loaded into CRM, using the associated Account, find the child Contact using the “RDOC(field on Contact)” field as a flag, populate this Contact in “DR” Lookup field on Order
try with below code and modify the field API names as per your org.
If this helps, Please mark it as best answer.
Thanks!!
All Answers
RDOC field is available in account also?
THanks!!
Nopes, it's only on Contact object.
Best Regards,
Balaji
Thanks!!
try with below code and modify the field API names as per your org.
If this helps, Please mark it as best answer.
Thanks!!
If you don't mind, will you be able to share me the test class as well please , it will be very helpful.
Would you be able to post this as a new question so I can have a track of my efforts. Appreciate your understanding
Thanks!!
One query please, in my org for one account we have multiple contacts, in this scenario how does this work please?
If more than one contact have the RDOC field checked, then which contact will be considered?
Regards,
Balaji
Can you please help me on the below scenario if possible.
https://developer.salesforce.com/forums/ForumsMain?id=9062I000000R1u6QAC
Regards,
Balaji