1
votes

I'm trying to show a custom success message instead of basic 'The operation has completed.' Does anybody know how to implement it for some specific long operation? (e.g. Only for voiding Reconciliation statement)enter image description here

1

1 Answers

3
votes

Basicaly, one can throw PXOperationCompletedException from inside of the long operation to complete it with a custom message. Here is an example

PXLongOperation.StartOperation(this, () =>
        {
            throw new PXOperationCompletedException("test");
        });

enter image description here