Making a workflow which will make Department (line...
# suiteflow
m
Making a workflow which will make Department (line) field mandatory on Journal. In the action, under Parameters section the only SUBLIST I have is Items ... I was expecting Accounts .. since this is a journal ?! Any clues ?
m
@Marco5 I dont think this will be possible without scripting
m
Could you help by any chance with the code for that ? Want to have a server trigger : Before Record Load
Found this in suiteanswers : function userEventBeforeLoad_mandatory(type, form, request){ var sublistobj = nlapiGetSubList('line'); var memofield = sublistobj.getField('memo'); memofield.setMandatory(true); Just need changing to Department (Line) field and deploying on Journal