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
0
Answers
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,
Peter
Thank you very much! This has been solved my problem.