Skip to main content
Question

After upgrade 2022 R1 : Error The type name 'majorStatus' does not exist in the type 'CRCase'  

  • October 13, 2022
  • 6 replies
  • 118 views

Forum|alt.badge.img

After upgrade 2022 R1 : getting Error “The type name 'majorStatus' does not exist in the type 'CRCase' “

6 replies

Manikanta Dhulipudi
Captain II
Forum|alt.badge.img+15

Hi @vibindas 

Could you please more details on this? Also add screenname and screenshot.

Thanks


Forum|alt.badge.img
  • Author
  • October 13, 2022

@manikantad18 ,  We are in the process of upgrading from  2020 to 2022. For one of our customizations when adding reference to the latest dll’s and building customization project on VS we get the above compile time error for CRCase , this is a DAC under namespace PX.Objects.CR, looks like the field majorStatus is longer available under CRCase. Was checking if there is an alternate field that I can use or just ignore this field for now as it’s not available in the 2022 R1 version...


Shawn Burt
Jr Varsity I
Forum|alt.badge.img+1
  • Jr Varsity I
  • October 13, 2022

can you review your old code in Visual Studio with Acuminator installed?

Sounds like something has been deprecated and alot of times this is shown via Acuminator’s code analysis, but you would need to view it while it was still 2020 code.


Forum|alt.badge.img
  • Author
  • October 13, 2022

tried on the 2020 code version, no luck


Leonardo Justiniano
Jr Varsity II
Forum|alt.badge.img+4

Hi @vibindas 

I found majorStatus reference on CRAnnouncement class which is hidden and marked obsolete in 2022R1. Is this error related to a customization or to a specific screen?


Forum|alt.badge.img
  • Author
  • October 27, 2022

I was referring to CRCase.MajorStatus , this field is obsolete now.