Skip to main content
Solved

Determine the version of Acumatica from code

  • July 15, 2025
  • 2 replies
  • 296 views
  • Translate All

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. 

View original

2 replies

Dmitrii Naumov
Community Manager
Forum|alt.badge.img+7

Hi ​@Joe Schmucker you can use 

PX.Data.PXVersionInfo class. 

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

Translate

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

Thank you!!!  That is perfect!

Translate