Pablo Schneiter
06/18/2021, 7:53 AMWatz
06/18/2021, 9:07 AMPablo Schneiter
06/18/2021, 9:15 AMWatz
06/18/2021, 9:31 AMWatz
06/18/2021, 9:35 AMPablo Schneiter
06/18/2021, 11:46 AMPablo Schneiter
06/18/2021, 11:47 AMWatz
06/18/2021, 12:01 PMconst newRec = context.newRecord
const lineCount = newRec.getLineCount({sublistId: 'submachine'})
for(let line=0;line<lineCount;line++){
newRec.setSublistValue({
fieldId: 'custrecord_tax_item_copy',
line,
sublistId:'submachine',
value: newRec.getSublistValue({sublistId:'submachine', line, fieldId:'taxitem'})
})
}
Pablo Schneiter
06/18/2021, 12:18 PM