8

The AL compiler notes that if I assign e.g. Text Value to Enum, that this is not possible. For MyTable.Validate(Option, 'Text'); I the error message:


Argument 2: cannot convert from 'Text' to the type of Argument 1 'Enum "My Enum"


It would be nice if the AL compiler would recordnize then same if I use the same text when getting the record. For MyTable.Get('VALUE', 'Text'); I get no error.


Full example: https://pastebin.com/4Yr9tgxT

Category: Development
STATUS DETAILS
New