Implementing an Asynchronous Operation

An operation that is expected to take a long time to complete should be executed asynchronously: that is, executed on a separate thread so that it does not block the main thread of an application and freeze up the user interface. In MYOB Acumatica, you should execute asynchronous operations by using the PXLongOperation class.

In this chapter, you will learn how to process operations whose execution takes a long time.