Netsuite provides a way in which we can create memorized transaction using the application or front-end... Is it possible to create a memorized transaction in netsuite using suitescript 2.0.?
0
votes
2 Answers
0
votes
well i just figured out a way which helped me in replicating memorized transaction by suite script 2.0.
By using record.copy() function in Scheduled script, it is possible.
invoiceObject = record.copy({
type: record.Type.INVOICE,
id: <internal id of invoice to copy>
});
//update invoice record fields if you want
invoiceObject.save();
