I am trying to close a Sales Order using Suite Script in NetSuite.
I noticed that records which are already closed have their 'status' set to 'Closed'. I tried setting this field before submitting the record but this doesn't work and the record still remains in the 'Pending Fulfilment' stage.
Are there any other fields involved?
Thanks in advance!