Forum Post: RE: Issue with Triggers for Attach Related Record vs Update Field Value for...

Status
Not open for further replies.
O

Orchid Corpin

Guest
Hi, 1. I already created the two Object Ref No (Many) : Parent Ref No (Many). Is this the right cardinality in your setup? 2. I created a records e.g. Test Parent with 3 Test Ref no Attach to it. I feel confused doing the statement below. Is trigger will be in the child obj? Do I have to query all parents regarless if there is a child or not then attach all these parent to current child record? "Write an After Create Trigger to "Attach Related Record" with the script finding the Parent record via query and returning an array containing the ID found to the Hierarchical Relationship." Regards, Orchid

Continue reading...
 
Status
Not open for further replies.
Top