You need to sign in to do that
Don't have an account?
Ankita Gupta 65
Create master detail object records one after another in apex
Hi, I'm trying to create 2 object records in apex. I'm having issues in bukifying the code. I have a Map<A,B> where A is master object and B is child object. Once I insert A, I need to update the field in B with record ID of A. Can anyone tell me how can this code be bulkified.
Please check once above code and let me know.
Thanks
Varaprasad
In this case you've inserted child records after insert.. lets say this is before insert