For external systems, is there a way for them to g...
# suitescript
s
For external systems, is there a way for them to generate an empty sales order (to get the id and tranId), and then later fill it in? We're getting duplicate sales order ids (from users) so we need to turn off the ability for them to override the transaction id while allowing the external systems to either A) Pass in their own SO or B) Quickly get an SO Id and then later fill out the SO.
e
I don’t think so. Could you add a dummy item that is always removed later?
s
Sad. Nah, would be too much of a pain
b
Auto-Generated Document Numbers goes over how to prevent duplicate tranids
s
We generate unique externalIds (using a unique identifier in the external system) and let NS deal with the tranid automatically