Skip to main content
Answer

Upgrade to 2024 R1 causes error in simple customization.

  • June 18, 2024
  • 2 replies
  • 154 views

Created a simple customization to add Principal employee and PO number to a project in 23R2, customization work without any issue until upgrade.

After upgrade in Sandbox, there is an error message.

 

\App_RuntimeCode\PX_Objects_CT_Contract_extensions.cs(35): error CS0246: The type or namespace name 'EPEmployee' could not be found (are you missing a using directive or an assembly reference?)

I have come at this several different ways, and just create new error messages. I feel that I am missing something very obvious.

Best answer by darylbowman

EPEmployee happens to live in the PX.Objects.EP namespace. For whatever reason, the DAC extension generated by adding a field in Data Access seems no longer to contain that reference. I just added it for each EPEmployee field.

2 replies

darylbowman
Captain II
Forum|alt.badge.img+15

EPEmployee happens to live in the PX.Objects.EP namespace. For whatever reason, the DAC extension generated by adding a field in Data Access seems no longer to contain that reference. I just added it for each EPEmployee field.


  • Author
  • Freshman I
  • June 19, 2024

EPEmployee happens to live in the PX.Objects.EP namespace. For whatever reason, the DAC extension generated by adding a field in Data Access seems no longer to contain that reference. I just added it for each EPEmployee field.

Thank you, as I thought it was something very simple, I wasn’t even thinking about.

I pounded my head into the keyboard several dozen times trying to work out different ways of doing it...that didn’t break something else.