Lev Berger
08/15/2022, 9:54 AMtry{
let check = cRecord.getCurrentSublistValue({
sublistId: 'item',
fieldId: 'class',
});
console.log("check: " + check)
}catch (e) {
log.debug({title:"check field ",details: e})
}
e= TypeError: cRecord.getCurrentSublistField is not a functionLev Berger
08/15/2022, 10:09 AMHannu Forsten
08/15/2022, 10:31 AMconst rec = context.currentRecord;
const field = rec.getSublistField({sublistId:'item', fieldId:'quantity', line:0});
const fieldExist = field ? field.isDisplay : false;