Why do you need this change?
On Page 7004 "Sales Line Discounts", the variable is currently defined as an Option, which prevents extensibility.
ItemTypeFilter: Option Item,"Item Discount Group","None";
As this variable is an Option type:
It cannot be extended in extensions
Custom solutions that require additional values must implement workarounds
This limits flexibility and leads to non-upgrade-safe customizations
Benefits
Enables partners to extend filtering options
Improves upgrade safety
Use Case
Our customization requires adding additional filter types, which is currently not possible without replacing standard logic.
Describe the request
Replace the Option type with an extensible Enum, for example:
enum 50XXX "Item Type Filter"
{
Extensible = true;
value(0; Item) { }
value(1; "Item Discount Group") { }
value(2; None) { }
}
and update the variable inside page
ItemTypeFilter: Enum "Item Type Filter";
Why do you need this change?
On Page 7004 "Sales Line Discounts", the variable is currently defined as an Option, which prevents extensibility.
ItemTypeFilter: Option Item,"Item Discount Group","None";
As this variable is an Option type:
It cannot be extended in extensions
Custom solutions that require additional values must implement workarounds
This limits flexibility and leads to non-upgrade-safe customizations
Benefits
Enables partners to extend filtering options
Improves upgrade safety
Use Case
Our customization requires adding additional filter types, which is currently not possible without replacing standard logic.
Describe the request
Replace the Option type with an extensible Enum, for example:
and update the variable inside page
ItemTypeFilter: Enum "Item Type Filter";