You need to sign in to do that
Don't have an account?
vijendahr k
Hello All, i have to write one trigger on stagging object records, all the stageing object records shold be stored in
Object A(Parent), Child1(child 1)Object Chiild 2(child 2) as shown in the image, after saving the record, parent id come and save in
"Object A(Parent)(ID)", can any one help me with adivce how to insert data in the above format,
Thanks to all Advance
Bulk data insert in object and its related list.
Hello All, i have to write one trigger on stagging object records, all the stageing object records shold be stored in
Object A(Parent), Child1(child 1)Object Chiild 2(child 2) as shown in the image, after saving the record, parent id come and save in
"Object A(Parent)(ID)", can any one help me with adivce how to insert data in the above format,
Thanks to all Advance
In salesforce, you can enter data in one object at a time ONLY with the dataLoader.
I would suggest alwys enter the parent obejcts first since you are going to need an Id of parent object record into child objects.
In your case, I would import/insert all parent obejct records first then I will enter all child - 1 and then child - 2.
Once that is done, I would enter Staging object records. It looks like, this object name Staging__c is looking up to Child_1__c, Child_2__c, and Parent__c.
Always, start from top of the tree my friend since down at the bottom you will need parents info.
Hope it helps!