Apex Trigger code I have to get the sum of "field : total_order_amount" in OBJECT NAME: Order but only who choose the "Record Type Single Order" on the second object "OBJECT NAME: SureBuyer__c".
HI, Can you add more details to your question to provide any attempts/code you've started, any errors you're getting, or where exactly you're struggling in achieving this so that the developer community can suggest better? Thanks
Can you add more details to your question to provide any attempts/code you've started, any errors you're getting, or where exactly you're struggling in achieving this so that the developer community can suggest better?
Thanks
Try Below Code Please Mark It As Best Answer If It Helps
Thank You!
Hi,
You can take references from the below code