Skip to main content
Admin ADP ha fatto una domanda in #Data Management
I posted this on the Apex boards, but wanted to post here as well in case anyone here has a quick link / reference or if anyone else could benefit from the question:

 

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
  1. 6 dic 2012, 04:14
    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.
0/9000