Find Dynamics NAV/BC actual build number.

Haxiboy
Member Posts: 13
Hello!
I'm working on webservice code in BC14 (C/AL).
Is there a way to find actual Version/Build Number from code that's universal to all NAV versions with SQL, and maybe works in AL.
The way i've found that's the PRODUCTNAME function, but on BC this does not provide information about the version, all of them are called Business Central 365.
The other way is reading virtual table 'License Information', and getting the 16th record, and trimming the other text from the string, but this still not gives the actual build number.
Any advice appreciated.
Regards,
Peter
I'm working on webservice code in BC14 (C/AL).
Is there a way to find actual Version/Build Number from code that's universal to all NAV versions with SQL, and maybe works in AL.
The way i've found that's the PRODUCTNAME function, but on BC this does not provide information about the version, all of them are called Business Central 365.
The other way is reading virtual table 'License Information', and getting the 16th record, and trimming the other text from the string, but this still not gives the actual build number.
Any advice appreciated.
Regards,
Peter
0
Best Answer
-
In NAV the thing you wanted could be constructed from functions in Codeunit 1. Later, in BC, those functions were moved to Codeunit 9015:
1
Answers
-
For BC, you can get the version as per screenshot below.
0 -
For BC, you can get the version as per screenshot below.
Thank you for your answer, this is what i'd need, but from C/AL and AL side as i'd use it in my web service call.
The About page seems to be a native page, no page information avaliable, and i've not found any records in the database containing the version/build number.
The code is used in several builds and platforms from NAV2008 to BC15 (we build it with custom build scripts that generate the platform and language specific parts from our base code). The web service expects Navision to send the current version/build for example 'BC15_CU1', this variable should not be burned into code for every version.
Regards,
Peter0 -
In NAV the thing you wanted could be constructed from functions in Codeunit 1. Later, in BC, those functions were moved to Codeunit 9015:
1
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions