You need to sign in to do that
Don't have an account?
Jim Montgomery
copy related list data
I have a custom object "Inventory", that has a master detil relationship with the account object.
I need to be able to copy all of the related Inventory records to a custon object that has a master detail relationship to case, when the Account lookup is populated on the case reocrd.
I need to be able to copy all of the related Inventory records to a custon object that has a master detail relationship to case, when the Account lookup is populated on the case reocrd.
Suresh Kumar Arjunan1
I would evaluate to use same inventory object to be a child to case object as well (if possible) as a first step instead of creating a new custom object and duplicating records. If your business use case is to go with new custom object, then i would create an after apex trigger in case object to copy child records.