Netsuite Workflow Action Script to Close Pending Transaction

Netsuite Workflow Action Script to Close Pending Transaction

Cancelled

Job Description

There are two ways to close a transaction record in Netsuite

1. You can either do it by choosing the button : Close Order on the order

2. You can select "Closed" transaction column field on present on each item and once all the items are closed the order status will reflect "Closed"

Both of the above options are not accessible via Workflow.

What I am looking for is a Workflow action script that would run on each of the saved search records and close it accordingly.

In the script you would need to first :

- GetRecordID > Load Sales Order > Access the Item Sublist > Close Items one after the other

The transaction column field that you need to close has the id "isclosed"