问题
I need to void a payment made in netsuite by using NetSuite webservice. Is it possible? I have tried by adding Journal entry for the payment which i need to void. But it doesn't work for me. Any help on this is appreciated.
回答1:
If you're using suite scripts you can use
nlapiVoidTransaction(transactionType, recordId);
This API is supported in the following script types:
Client
User Event
Scheduled
Suitelet
RESTlet
Workflow Action
The Governance on this API is 10.
回答2:
The general rule in Netsuite webservice is, if it can be done in the user-interface then it can be done via webservices.
By voiding you mean, deleting the payment? If you can confirm that it is possible do to it (no other child records attach on it, etc.) then it can be done via webservices.
回答3:
Voiding is not supported via web services or SuiteScript.
来源:https://stackoverflow.com/questions/14536205/how-to-void-a-payment-in-netsuite-using-netsuite-webservice