Timeline for Need assistance in writing a apex trigger to add a list of standard lines to an object
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 23, 2017 at 19:03 | vote | accept | Chris | ||
Jun 22, 2017 at 21:20 | comment | added | Chris | Thanks yes it is a look up., will look into leveraging the id. | |
Jun 22, 2017 at 21:18 | comment | added | Keith C |
@ChrisSecrist I presume the Product__c field is a lookup? You will need to get hold of the right Id s somehow - via a query? - and set them in each item.
|
|
Jun 22, 2017 at 21:02 | comment | added | Chris | Thank you so much it is updating with some minor changes. I would like to add and update a Product__c field to each line item. This caused a failure. I put the terminology in '', but still fails. Would this be because this Product__c field looks up the product object | |
Jun 22, 2017 at 20:22 | history | answered | Keith C | CC BY-SA 3.0 |