Allocate Revenue Arrangement Page
We have to schedule 11000 records, the screen enable us to mark only 200 records in each run. How can we either expend this selection or schedule allocation of revenue arrangement?
NetSuite normally performs the allocation automatically, so processing 11,000 records is outside the standard and normal process. Not helpful, I know.
Allocation can be run by a script, so you could create a scheduled script/ MapReduce / Workflow Action script to perform the allocation automatically. I’ve done that a few times for customers who had some interesting allocation procedures.
Here’s the basic workflow action script version:
/** * @NScriptType WorkflowActionScript * @NApiVersion 2.0 */ define(["require", "exports", "N/log", "N/action"], function (require, exports, log, action) { Object.defineProperty(exports, "__esModule", { value: true }); exports.onAction = function (ctx) { var result = action.execute({ recordType: 'revenuearrangement', id: 'allocate', params: { recordId: ctx.newRecord.id } }); log.audit('Revenue Arrangement Reallocated', "{result: " + JSON.stringify(result) + "}"); }; });

Thank you !
You’re welcome. I noticed an error in the script, so I just fixed it.