Skip to main content
Hi,

I want to create multiple child records while creating a parent record using an afetr insert , after update trigger but I have few questions. So lets say parent object is A and B is child object. There are like 36*3 fields on A. out of them 36 fields are Yes/No picklist fields and 36 fields are multiselect picklists. What I want to do is when user selects No in any or all of the fields, it should create those many numberr of child records B. Also when user selects No as value then they need to select some values from multiselect picklists too, Based on that the child object B has fields which should be populated with values in the parent object.

     Please provide me with some ideas on how I can proceed?

Thank you

 
5 answers
  1. Sep 10, 2016, 12:25 AM
    Hi 

    Here Once it is No , child record should get created , even if it is changed to Yes later, we dont delete it. Once The record is saved, we are not deleting it.
0/9000