1. Describe the bug
Some Enums are defined in System and extended in Base. The additional values from the Base are not available.
2. To Reproduce
- AL: Go
- Edit HelloWorld.al:
pageextension 50100 CustomerListExt extends "Customer List"
{
trigger OnOpenPage();
begin
Message('%1', "Email Scenario"::"Job Planning Line Calendar");
end;
}
3. Expected behavior
It should compile.
4. Actual behavior
error AL0132: '"Email Scenario"' does not contain a definition for 'Job Planning Line Calendar'
5. Versions:
- AL Language: 12.0.12.14294
- Visual Studio Code: 1.78.2
- Business Central: 23
- List of Visual Studio Code extensions that you have installed:
It works for BC 22 and AL Language 11.0.12.24044.
Final Checklist
Please remember to do the following:
1. Describe the bug
Some Enums are defined in System and extended in Base. The additional values from the Base are not available.
2. To Reproduce
3. Expected behavior
It should compile.
4. Actual behavior
error AL0132: '"Email Scenario"' does not contain a definition for 'Job Planning Line Calendar'5. Versions:
It works for BC 22 and AL Language 11.0.12.24044.
Final Checklist
Please remember to do the following:
Search the issue repository to ensure you are reporting a new issue
Reproduce the issue after disabling all extensions except the AL Language extension
Simplify your code around the issue to better isolate the problem