Caiman
10/11/2021, 1:54 PMlet rec = record.transform({
fromType: record.Type.VENDOR_BILL,
fromId: billId,
toType: record.Type.VENDOR_PAYMENT
});
let line = rec.findSublistLineWithValue({
sublistId: 'apply',
fieldId: 'internalid',
value: journalId
});
rec.setSublistValue({
sublistId: 'apply',
fieldId: 'apply',
line: line,
value: true
});
rec.save();
battk
10/11/2021, 9:54 PMbattk
10/11/2021, 9:55 PMbattk
10/11/2021, 9:56 PMCaiman
10/12/2021, 6:22 AM