/** * @NApiVersion 2.1 * @NScriptType UserEventScript */ define([‘N/error’], /** * @param{error} error */ (error) => { “use strict”; /** * Defines the function definition that is executed before record is submitted. … Continue reading Validation of Work Order Line Fields During Record Creation or Edit in User Event Script