/**
*@NApiVersion 2.x
*@NScriptType UserEventScript
*/
define(['N/record','N/config'],
function(record,config) {
function beforeLoad(scriptContext) {
var projectRec = scriptContext.newRecord ;
projectRec.setValue('limittimetoassignees', false);
}
function beforeSubmit(scriptContext) {
var projectRec = scriptContext.newRecord ;
projectRec.setValue('limittimetoassignees', false);
}
return {
beforeLoad: beforeLoad,
beforeSubmit: beforeSubmit
};
});