Solved

PXLongOperation.SetCurrentItem method removed in Acumatica 2023 R1

  • 13 July 2023
  • 2 replies
  • 72 views

Userlevel 1

Hello everyone! I have a question, I recently had to update my custom code, but I saw that the PXLongOperation.SetCurrentItem method was removed in Acuamtica 2023 R1. Does anyone know what I'll have to do or if the method has another implementation?

Any help would be appreciated :) 

Thank you so much for your attention!

icon

Best answer by Zoltan Febert 14 July 2023, 00:22

View original

2 replies

Userlevel 6
Badge +3

Hi @angelesosorno86,

PXLongOperation.SetCurrentItem is an internal function at least since 22R2, but you can use PXProcessing.SetCurrentItem instead.

PXProcessing<Customer>.SetCurrentItem(customer);

 

Userlevel 1

Hi @zfebert56  thank you for your answer, I’ll try it :)

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 — 2024  Acumatica, Inc. All rights reserved