scottvonduhn
10/02/2019, 5:54 PMSirus Badiee
10/02/2019, 5:56 PMSirus Badiee
10/02/2019, 5:58 PMscottvonduhn
10/02/2019, 5:58 PMSirus Badiee
10/02/2019, 5:58 PMSirus Badiee
10/02/2019, 5:58 PMSirus Badiee
10/02/2019, 5:58 PMSirus Badiee
10/02/2019, 5:59 PMscottvonduhn
10/02/2019, 6:04 PMscottvonduhn
10/02/2019, 6:04 PMSirus Badiee
10/02/2019, 6:12 PMSirus Badiee
10/02/2019, 6:13 PMscottvonduhn
10/02/2019, 6:15 PMrecord.load and then .save() , or possibly you could use record.submitFields if you are really just touching one or two columns on the sales orderscottvonduhn
10/02/2019, 6:16 PMSirus Badiee
10/02/2019, 6:16 PMscottvonduhn
10/02/2019, 6:17 PMSirus Badiee
10/02/2019, 7:50 PMscottvonduhn
10/02/2019, 7:57 PMsubmitFields just doesn;t seem to do anything, but doesn;t thrown an error. Then you have to do a full record.load() and salesOrderRecord.save() after updating the necessary fieldsscottvonduhn
10/02/2019, 7:59 PMlog.debug({ title: context.key, details: content.value }); at the beginning of the map function, and make sure you are getting what you expectSirus Badiee
10/02/2019, 8:06 PMSirus Badiee
10/02/2019, 8:06 PMscottvonduhn
10/02/2019, 8:14 PM