Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var CPRecord=RECORDMODULE.load({type: RECORDMODULE.Type.CUSTOMER_PAYMENT, id: 3382, isDynamic: false,});
- var lineCount = CPRecord.getLineCount("apply");
- for (var i = 0; i < lineCount; i++) {
- var isApplied = CPRecord.getSublistValue({ sublistId: 'apply', fieldId: 'apply', line: i });
- if(isApplied){
- log.debug('Applied found!', CPRecord.getSublistValue({ sublistId: 'apply', fieldId: 'internalid', line: i }));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment