Skip to main content
Question

Approbation function

  • September 14, 2021
  • 0 replies
  • 56 views

Hello,
I have a source code for the approbation for purchase which works well at acumatica 2020R1.

When I did the migration to 2020R2 then it does not work the approval function.

I want to know what the problem is exactly.
 

        protected void createRecipt(POOrder order, List<POLine> PoOrderLine, SOShipment shipment, SOShipment newshipment, POOrderEntry graph1)
        {

            PXAdapter adapter3 = new PXAdapter(new DummyView(graph1, graph1.Document.View.BqlSelect,
             new List<object> { graph1.Document.Current }));
            adapter3.Menu = "Approve";
            PXAutomation.CompleteAction(graph1);
            adapter3.Arguments = new Dictionary<string, object>();
            adapter3.Arguments.Add("actionID", 1);
            graph1.action.PressButton(adapter3);
}

Exception : PX.Data.PXLockViolationException


Best regards

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings