Isis Herrero
01/13/2022, 2:23 PMMichael McNamara
01/13/2022, 4:00 PMbattk
01/13/2022, 6:06 PMIsis Herrero
01/14/2022, 6:22 AMvar checkboxField = currentRecord.getValue({ fieldId: 'custbody_show_linked_po' });
if (!Boolean(checkboxField)) {
var linkedPO = currentRecord.getField({
fieldId: 'custbody_linked_po'
});
linkedPO.isDisplay = false;
}
If I log the isDisplay, it comes empty. I’ve done the above following the documentation, so I do not understand why it’s not working.
So, what am I doing wrong? 🤔battk
01/14/2022, 7:14 AMbattk
01/14/2022, 7:15 AMIsis Herrero
01/14/2022, 7:25 AM