Skip to main content
Answer

Determine the version of Acumatica from code

  • July 15, 2025
  • 2 replies
  • 106 views

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

I have a custom app that is version sensitive.  For example, there are new fields and tables in 24R2 that don’t exist in 24R1.

I can find the build in the Versions table:

I need to be able to determine if the version is 24R1 or 24R2.  I can’t find anything that will help me do this.

Maybe there is some algorithm that is used on the Version field?

 

 

Best answer by Dmitrii Naumov

Hi ​@Joe Schmucker you can use 

PX.Data.PXVersionInfo class. 

It’s marked as obsolete, but there is no replacement yet. 

2 replies

Dmitrii Naumov
Acumatica Moderator
Forum|alt.badge.img+7
  • Acumatica Moderator
  • Answer
  • July 15, 2025

Hi ​@Joe Schmucker you can use 

PX.Data.PXVersionInfo class. 

It’s marked as obsolete, but there is no replacement yet. 


Joe Schmucker
Captain II
Forum|alt.badge.img+3
  • Author
  • Captain II
  • July 15, 2025

Thank you!!!  That is perfect!