Carl Jenkins
02/24/2021, 6:12 PMbattk
02/24/2021, 6:17 PMCarl Jenkins
02/24/2021, 6:22 PMglAccount.test = glAccountRecord.getValue({fieldId: 'custrecord1394'});
glAccount.testData = glAccountRecord.getText({fieldId: 'custrecord1394'})
try{
if(glAccountRecord.hasSubrecord({fieldId:'custrecord1394'})){
log.debug({title: 'glAccount sub RECORD EXISTS', details: "WOOT!"});
}
}catch(e){
log.debug({title: 'glAccount.testData', details: glAccount.testData});
}
battk
02/24/2021, 6:27 PMbattk
02/24/2021, 6:27 PMbattk
02/24/2021, 6:27 PMbattk
02/24/2021, 6:28 PMCarl Jenkins
02/24/2021, 6:39 PMCarl Jenkins
02/24/2021, 8:10 PM