Mike Robbins
11/09/2020, 3:59 PMcustomrecord_lockbox_payments_parent
Child record: customrecord_lockbox_payments
Child record field: custrecord_lbp_parent_record
(Type: List/Record of SCG Lock Box Payments Parent, Record is parent)
When I try to access the sublist via scripting, I’m using this code:
var parent = record.load({ type: 'customrecord_scg_lockbox_payments_parent', id: 1 });
var lineCount = parent.getLineCount({ sublistId: 'recmachcustrecord_lbp_parent_record' });
log.debug({ title: lineCount }); // logs '0'
Did I miss something setting up this relationship?Roberto Cideos
11/10/2020, 8:18 AM