OptionCaptionML with numbers not working
In Business Central i created an option for rounding an annuity calculation. i created the following
OptionMembers = " ",Ordinary,Round,Tens,Fifties,Hundreds,Thousands; OptionCaptionML = ENU = ' ,0.01,1,10,50,100,1000', DAN = ' ,0.01,1,10,50,100,1000'; Now when i run the program the value 0.01 cannot be chosen. It skips to 1. All the other values work. I tried plinging it, and then it works.
ex. DAN = ' ,"0.01","1","10","50","100","1000"';
Then i tried plinging them one by one and i found that the problem was 1. After further investigation i found that it actually picks the value for the index if it exists..
Ex. if instead of 1 i use 01 and instead of 50 i use 3.
DAN = ' ,0.01,01,10,3,100,1000'; Now 0.01 can be picked however if i pick 10 it jumps to 3.
Is this the intended functionality?
using AL Language version 2.0.48254
The fix for this issue has been checked in to the master branch. It will be available in the bcinsider.azurecr.io/bcsandbox-master Docker image starting from platform build number 26203.
If you don’t have access to these images you need to become part of the Ready2Go program: aka.ms/readytogo
For more details on code branches and docker images please read: https://blogs.msdn.microsoft.com/nav/2018/05/03/al-developer-previews-multiple-releases-and-github/ https://blogs.msdn.microsoft.com/freddyk/2018/04/16/which-docker-image-is-the-right-for-you/