Question
PHP SDK is used to create batch invoices. It gives 6000 Error: another user was creating, ... a transaction with inventory products at exactly the same time. Solution?
The script is used to create approx 5000 invoices. I have created a batch of 20 invoices. The script sometimes work but mostly I am unable to create invoices due to the error. I have also tried to reduce the batch size to 5 but I keep on getting the same error.
The script first check items in QB and gets their Item ID. This is using to create the invoice.
How can I check if any other script is trying to change the inventory? I am certain that only 1 script is being run but still get 6000 error.
The script first check items in QB and gets their Item ID. This is using to create the invoice.
How can I check if any other script is trying to change the inventory? I am certain that only 1 script is being run but still get 6000 error.
