- March 29, 2018 at 7:39 pm #27044Ankit #947
Can we use mixed sobjects dml in one transaction?
Can we use mixed sobjects dml in one transaction?March 30, 2018 at 3:58 am #27048Rajan #943
Hi ankit ,
You can’t use the following sObjects with other sObjects when performing DML operations in the same transaction.
You can only insert and update a group in a transaction with other sObjects. Other DML operations aren’t allowed.March 30, 2018 at 5:47 am #27054Adarsh #954
You can use external ID fields as foreign keys to create parent and child records of different sObject types in a single step instead of creating the parent record first, querying its ID, and then creating the child record.
You can create related records that are up to 10 levels deep. Also, the related records created in a single call must have different sObject types. For more information, see Creating Records for Different Object Types in the SOAP API Developer’s Guide.March 30, 2018 at 8:17 am #27059
Please Register to reply to this topic. /