leo
11/16/2020, 11:05 PM/**
*@NApiVersion 2.0
*@NScriptType ClientScript
*/
require(['N/currentRecord'], function (currentRecord) {
if //if this field is not null, then
custcol_projectfield1 <> null
//require this field below to have a value
custcol_projectfieldtask1
}
Sandii
11/16/2020, 11:09 PMleo
11/16/2020, 11:10 PMSandii
11/16/2020, 11:18 PMleo
11/16/2020, 11:19 PMleo
11/16/2020, 11:19 PMleo
11/16/2020, 11:19 PMif(custcol_projectfield1==null){
true;
} else{
alert
}
leo
11/16/2020, 11:20 PMSandii
11/16/2020, 11:20 PMreturn true/false