Skip to main content
Solved

PXLongOperation.SetCurrentItem method removed in Acumatica 2023 R1

  • July 13, 2023
  • 2 replies
  • 140 views
  • Translate All

angelesosorno86
Jr Varsity II
Forum|alt.badge.img

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!

Best answer by Zoltan Febert

Hi @angelesosorno86,

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

PXProcessing<Customer>.SetCurrentItem(customer);

 

View original

2 replies

Zoltan Febert
Jr Varsity I
Forum|alt.badge.img+4

Hi @angelesosorno86,

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

PXProcessing<Customer>.SetCurrentItem(customer);

 

Translate

angelesosorno86
Jr Varsity II
Forum|alt.badge.img

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

Translate