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.