Contents tagged with Processing screen

  • How to notify about errors on Processing screens that are made through Automation schedules

    Hello everybody,

    today I want to leave a short notice on how to send a message from your graph for cases, when your graph is used in processing screen which is implemented through Automation steps. For this purpose you can use new property of PXAdapter class. It has property 

    MassProcess. In case if your graph will be executed from processing screen that property will be set to true. Then you'll get a chance to notify processing screen about error with help of SetError message. In that case in your graph you can write something like this:

    var currentSoOrder = currentSoOrderBoxed.GetItem<SOOrder>();

    string errorMessage = string.Format(WorkFlowMessages.creditLimitExceededTemplate,  … more

  • How to rename buttons Process and Process All at processing screens of Acumatica

    Hello everybody,

    today I want to leave short notice on quesiton how to rename buttons or if to be more specific change title of buttons at Processing screens. By default those buttons have captions Process and Process All. The simplest way to rename them is to use constructor of processing graph. In constructor you can make something like this:

    public YourGraph()

    {

            Actions["Process"].SetCaption("Email");

            Actions["ProcessAll"].SetCaption("Email All");

    }

    With such simple trick, you can assign any caption you wish to your buttons more

  • How to filter add some info to filter

    Hello everybody.

    Today I want to share notice of how to work with processing screens.

    But of course not in very standard situation. One of my clients requested me the following: he wanted at processing screen to select some items in screen in part 1, then monitor 

    results in part two, and see some totals in part three. 

    As you understand it's not easy to ahcieve this goal only with help of selectors. It is possible with usage of delegates in Acumatica and with usage of it's cache.

    Initial initialization of page was the following:

    [Serializable]

    public class RRCashRequestProcessor : PXGraph<RRCashRequestProcessor>

    {

    public PXCancel<CreatePaymentFilter> Cancel; … more