A business requires that every parent record must have a child record. A developer writes an Apex method with two DML statements to insert a parent record and a child record.
A validation rule blocks child records from being created. The method uses a try/catch block to handle the DML exception.
What should the developer do to ensure the parent always has a child record?
corpex
6 months, 1 week agoRatnaB
8 months, 2 weeks agoM4JK3LSON
10 months, 4 weeks ago