No Warning or error on duplicate Document Number in Sales Order

261 Views Asked by At

I have set Duplicate Number Warnings to Warn and Block in Setup -> Accounting -> Accounting Preferences. I have also checked Treat Warnings and Errors in Integration Preferences.

What happens is that when I try to create a sales order using NetSuite UI with an already existing Document Number (tranId), NetSuite throws an alert that record with same document number already exists, and blocks the user from creating sales order. On the other hand, if SOAP web service tries to create a sales order with an already existing Document Number, NetSuite creates the Sales Order without returning any warnings or errors.

What am I doing wrong? How do I fix it. I want NetSuite to block teh web service from creating a new sales order if it send an already existing document number for the new sales order to be created.

1

There are 1 best solutions below

0
Mingo On

Did you set the auto numbering for sales order to allow override ? If that's the case that could be the cause.