Skip to main content
Solved

PXAutomation not in 2024R1 or was it renamed?


Joe Schmucker
Captain II
Forum|alt.badge.img+2

I am trying to upgrade another persons code from 2023 R1 to 2024 R1.  There is a line as follows which compiles in 2023:

In 2023, the decompiled code shows it is part of PX.Data.PXAutomation

  

In the 2023R2 developer release notes, I see it was removed:

NetTools/PX.Data/Process/Automation.cs PX.Data PXAutomation
 

Is there a replacement for this?  I’m not sure what that line of code even does.

 

Best answer by Joe Schmucker

I just figured out that the previous developer did an override of 

        protected virtual IEnumerable CreateShipment(PXAdapter adapter,
            [PXDate] DateTime? shipDate,
            [PXInt] int? siteID,
            [SOOperation.List] string operation)

They copied/pasted the original code and made insertions of custom business logic.  Yuk.

I am going to do the same thing.

I probably asked this question too quickly.

View original
Did this topic help you find an answer to your question?

2 replies

Joe Schmucker
Captain II
Forum|alt.badge.img+2
  • Author
  • Captain II
  • 455 replies
  • Answer
  • June 2, 2024

I just figured out that the previous developer did an override of 

        protected virtual IEnumerable CreateShipment(PXAdapter adapter,
            [PXDate] DateTime? shipDate,
            [PXInt] int? siteID,
            [SOOperation.List] string operation)

They copied/pasted the original code and made insertions of custom business logic.  Yuk.

I am going to do the same thing.

I probably asked this question too quickly.


Chris Hackett
Community Manager
Forum|alt.badge.img
  • Acumatica Community Manager
  • 2754 replies
  • June 3, 2024

Thank you for sharing your solution with the community @Joe Schmucker!


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