Skip to main content

Moving this from github at the request of @Judi Sohn (was issue #2445). I'm working with the TDTM model based on the example code here: http://developer.salesforce.org/#blog/post/2016/06/10/table-driven-trigger-management.html

 

My code is successfully adding a list of 12 records to the DMLWrapper class, but the NPSP code is only inserting a single record. I checked the code, and the only logic that runs between those two steps is the groupSObjects method. Per @David Habib , this removes duplicate objects. So, if I want to insert 12 records from a single object, can I not use the DMLWrapper? That doesn't make a lot of sense to me, so I wanted to check before I abandoned the DMLWrapper class.

6 risposte
0/9000