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

How to pre populate lookup fields in a custom child record

I would like to automatially populate lookup fields on the child object which reflect the same lookup values of the parent object (Opportunity object).
How can I achieve this? I have looked into this and I have found a link below which is helpful to a point, it only shows how to auto populate a text field but not a lookup field.
I should add that there is an extra layer of complexity to this. The custom object Payments__c has 3 record types.
This is the URL of the edit page of one of the custom related child object record types.
Chellappa NagarajanChellappa Nagarajan
Hi NevDev,
Have you taken a look at the below articles. It might help you.

Note: I haven't done this by myself.