enumextension breaks OptionCaptionML
I created an enumextension in the DE version of Business Central (13.0.24623.0) in the table Sales Invoice Line(37) for the field Type(5).
I marked the option field as Extensible like this:

In VS Code i wrote an enumextension like this to extend the field:
enumextension 50111 SalesLineTypeEnum extends SalesInvLineType
{
value(50100; Test)
{
Caption = 'Test';
}
}
The result is that the field now only got the english option values even though my client is set to german:

To rollback to the german values, you need to uninstall/unpublish the extension and restart the service.
- AL Extension Version: 2.0.48254
- Server Version: 13.0.24623.0
Hello d-Larisch, can you attach whole related AL code (how iit is nested in the surround AL code? Not only enumextension 50111 SalesLineTypeEnum extends SalesInvLineType { value(50100; Test) { Caption = 'Test'; } } Thank you.
Hi @pdwgithub
this is my whole AL code! I just wanted to test the new feature to extend option values, and I just wrote this one .al file to test this.
I attached my whole solution for this test, so u can try it by yourself.
@d-larisch Thank you for reporting the issue. The fix will be shipped in future update.
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 26141.
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/
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 26141.
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/