Contents tagged with Purchase Order

  • How to execute action Email Purchase Order in Acumatica and how create PXAdapter

    Hello everybody,

    today I want to post code sample on how to execute menu item "Email Purchase Order" in Acumatica.

    I mean this fragment of Purchase order screen:

    If you'll try to find the source code of that Action or menu item, you'll be disappointed because you'll not find it. As some other actions, Email Purchase Order is implemented in Acumatica as combination of Automation steps with C# functions.

    Below goes code sample, that allows you to call that method with help of static method:

    public static void SendNotificationForGraph(POOrderEntry graph, POOrder order)

    {

        graph.Clear(PXClearOption.ClearAll);

        graph.Document.Current = graph.Document.Search<POOrder.orderNbr>( … more

  • How to modify Approve and Reject actions in Purchase orders screen

    Hello everybody,

    today I want to share some knowledge about interesting feature of Acumatica: Approve and Reject actions in Purchase orders screen.

    When I was asked how long it will take to modify behaviour of Approve and Reject actions, I've thought it will be easy task. Find appropriate Actions, overload then and enjoy life. But with those two actions life is more complicated. 

    After speaking with Acumatica support I've realized that those two actions are declared as Automation steps, so in order to work with those actions it will be needed to look into knowledge about Automation steps. The only memeber that has relation to those actions are type of EPApprovalAutomation. 

    So, in order … more