Tyn Guardian
05/07/2023, 4:40 PMconst soRecord = record.load({type: newRecord.type, id:newRecord.id, isDynamic: true});
soRecord.setSublistValue({
sublistId: 'item',
fieldId: 'custcol1',
line: 1,
value: lineItems.date || new Date()
});
soRecord.save();
battk
05/07/2023, 5:39 PMAnthony OConnor
05/07/2023, 6:05 PMAnthony OConnor
05/07/2023, 6:06 PMTyn Guardian
05/07/2023, 11:41 PMTyn Guardian
05/08/2023, 1:09 PMbattk
05/08/2023, 1:30 PMTyn Guardian
05/09/2023, 12:47 AM_const_ soRecord = record.load({
type: record.Type.SALES_ORDER,
id: soId,
isDynamic: true
});
soRecord.setSublistValue({
sublistId: 'item',
fieldId: 'custcol1',
line: i,
value: lineItems.date || new Date()
});
soRecord.save();
battk
05/09/2023, 1:00 AMTyn Guardian
05/09/2023, 1:52 AM