Approbation function

  • 14 September 2021
  • 0 replies

Userlevel 2

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";
adapter3.Arguments = new Dictionary<string, object>();
adapter3.Arguments.Add("actionID", 1);

Exception : PX.Data.PXLockViolationException

Best regards

0 replies

Be the first to reply!


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2022  Acumatica, Inc. All rights reserved