Am I running into a concurrency problem with my in...
# suitescript
d
Am I running into a concurrency problem with my invoice UE script? In a single batch of 28 invoices, 5 seemingly didn't trigger the UE
SS1.0, if that matters
c
too broad to really help much. Are you getting any errors? What is a UE doing with batched invoices?
d
No errors, just not seeing UE logs for the skipped invoices (and no evidence the UE did anything) The UE is POSTing the invoices
one solution may be to finally refactor this thing into SS2.1 using a UE > SS queue to ensure the UE runs quicker
c
This is happening when you "invoice sales orders" in a batch? I would not expect an issue with User Event because of concurrency. Do you have any filtering in your UE? It feels like some of these invoices do not fit the criteria OR there's a competing process. Any consistencies on the failed ones? Payment method, subsidiary, etc? Why do invoices need to be posted? do you have approval routing turned on? (Accounting preferences). If turned off for invoices, they should post automatically.
r
Check the deployment filtering. UE is not subject to concurrency afaik.
r
Check Scripted Records. If there is a failure in any of the scripts that are higher priority, the UE will never run.
you can also manipulate the priority of UEs there, with drag and drop