
Parent Object
Record 1:
Primary Country (picklist): Country 1
Secondary Countries (multi-picklist):
Country 2
Country 3
Country 4
Given the above record on the parent object, I want the following records to be automatically created on the child object:
Child Object:
Record 1:
Project Country: Country 1
Primary Country: Yes
Record 2:
Project Country: Country 2
Primary Country: No
Record 3:
Project Country: Country 3
Primary Country: No
Record 4:
Project Country: Country 4
Primary Country: No
1 risposta
Do you mean to say based on Parent object's picklist field values (Primary Country and Secondary Countries) you want to create child records (4)? You can do this via Apex trigger.