2

In 2022 the AL Language introduced the Option Access Syntax to be used in more places.

https://learn.microsoft.com/en-us/dynamics365-release-plan/2022wave2/smb/dynamics365-business-central/use-option-access-syntax-formulas


I suggest to uptake this feature in the BaseApp now.


e.g. for Filtering the Source SubType

Instead of "Source Type" = const(901)

you should now write "Source Type" = const(Database::"Assembly Line")



When you use Names instead of IDs this will make it easier for new developers to read and understand the code.

New Developers don't know the IDs of those tables, but they know the name instead.

Category: General
STATUS DETAILS
Needs Votes
Ideas Administrator

Thank you for this suggestion! Currently this is not on our roadmap. We are tracking this idea and if it gathers more votes and comments we will consider it in the future. Best regards, Business Central Team