michoel
12/19/2016, 5:47 AM/**
*@NApiVersion 2.x
*@NScriptType UserEventScript
*/
define(['N/record'], function(record) {
function afterSubmit(context) {
if (context.type === context.UserEventType.CREATE) {
// YOUR CODE HERE
}
}
return {
afterSubmit: afterSubmit
};
});