microsoft / ALAppExtensions

Repository for collaboration on Microsoft AL application add-on and localization extensions for Microsoft Dynamics 365 Business Central.
MIT License
795 stars 622 forks source link

[Change Request] Fixed Asset Enum integer operations #26894

Open RZ440 opened 4 months ago

RZ440 commented 4 months ago

Describe the request

Hello, would it be possible to implement the following changes for the fixed asset enum? The change would simplify the expansion of Enum objects. I have attached the suggestion as files. FA_Enum_integer_operations.zip

The customized objects contain all dependent changes.

Additional context

The Fixed Asset module is using integer operations to perform conversions between different enum types. Additionally, the enum values are used as array indexes in some cases. As this does not correspond to current coding guidelines and also causes massive problems with enum extensions, the following change request offers a more clean way to handle enum values and conversions. All the conversion procedures can be extended, using events, so enum extensions are fully supported.

Internal work item: AB#542651

azure-boards[bot] commented 4 months ago

✅ Successfully linked to Azure Boards work item(s):