To trigger a Map/Reduce script from a User Event script in NetSuite, you can use the N/task module in SuiteScript 2.0 or 2.1. Sample code: define([‘N/record’, ‘N/search’, ‘N/log’, ‘N/task’], (record, search, log, task) => { const afterSubmit = (scriptContext) => { try { if (scriptContext.type !== scriptContext.UserEventType.CREATE && scriptContext.type !== scriptContext.UserEventType.EDIT) { return; } let… Continue reading Trigger Map Reduce script from User event script.