Question

SOReleaseInvoice: Hangs. When trying to cancel get "Cancellation Token not defined"

  • 29 August 2023
  • 1 reply
  • 68 views

Userlevel 4
Badge

In Acumatica “Process Invoice and Memos” screen (ID: SO505000), one of the invoices my customer created apparently is causing the system to “hang forever” (their words -- the video they showed me has them trying to cancel it after waiting 2 minutes and 18 seconds...).

When they hit cancel, they get a pop up error saying: “Cancellation Token Source Not Set”

So, I sort of know what the error message is saying. But this looks like a Process form, and I’ve only extended Graphs. I am guessing it is an Acumatica Standard Processing form… they must have set up the cancellation logic… didn’t they? Do I need to find this whole thing in the source, copy it over, and then make changes, or can I just override a Process Form the same as I do a regular graph, and then just extend it as normal?

Any thoughts as to how you debug an invoice that “sometimes” seems to “hang forever?”

Any ideas would be appreciated!

 

-Mark

 


1 reply

Userlevel 3
Badge +1

So Process Invoice and Memos is a processing screen, however it leverages the Workflow engine to invoke actions on the Invoice and Memos screen. Did you extend any actions on the Invoice and Memos screen that could be causing issues? 

 

FYI also, processing forms use graphs, any screen needs a graph backing it. 

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved