
I am looking for solution to merge Account custom field "Internal ID" to custom objects Orders and Deliveries. Later I would like to just after entering Internal ID (of the account which is unique) in Orders see that Account Name in Orders is also fulfilled automaticaly based on Internal ID.
답변 4개
You would need a trigger for that, I'm afraid, on Orders_and_Deliveries__c Insert(), and a query to identify the Account based on the Internal Id (which I assume is unique?)
Then you can populate the Account Id into the Orders and Deliveries:Account field (which would display the name). The Account name would appear after the Orders and Deliveries record was saved, not during Create/Edit.