Contents tagged with Email

  • 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