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
arif ahmed 1arif ahmed 1 

how to display order description in Account

Hello,
I need to create a custom field in standard Account object to display order_description__c field from order__c object. there is a master detail and look up relationship between account and order. Could someone please give me a pointer. appreciate your help.
Khan AnasKhan Anas (Salesforce Developers) 
Hi Arif,

I trust you are doing very well.

You can do this using a formula field. Create a formula field on Account and use this formula:
 
Order__r.Order_Description__c

I hope it helps you.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in future.

Thanks and Regards,
Khan Anas


 
arif ahmed 1arif ahmed 1
Thank you Anas.
Khan AnasKhan Anas (Salesforce Developers) 
Hi Arif, 

I am glad I was able to help.

Kindly mark this as solved if it's resolved so that it gets removed from the unanswered queue which results in helping others who are encountering a similar issue. *(After you choose the best answer the question is marked as “resolved”)*

Regards, 
Khan Anas
Raj VakatiRaj Vakati
If i am correct Account  Is master and Order is child .. 

One Account can have multiple orders .. 

If you wanted to display the Order Desciption on Account you need to crrate a trigger ...Decide the approach you need to show for the last order or Comma spearted descriptions