You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 19, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Oct 19, 2026. It is now read-only.
Extensibility Request: Replace Option with Enum on Page 7004 "Sales Line Discounts" #30170
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:
✅ Analysis complete - ready for further processing
Implementation:
Add a new extensible enum Item Type Filter with the values Item, Item Discount Group, and None, and update page Sales Line Discounts to use ItemTypeFilter: Enum "Item Type Filter";.
Did you try to hide ItemTypeFilter and add your field which will validate ItemTypeFilter?
It will not have proper descriptive values in code, but seems you can accomplish desired
New event is implemented with ItemType filter as integer as I can see.
I know it is not ideal solution, but still seem it can be used as is, without new enum?
Activity
github-actions commentedon May 27, 2026
✅ Analysis complete - ready for further processing
Implementation:
Add a new extensible enum
Item Type Filterwith the valuesItem,Item Discount Group, andNone, and update pageSales Line Discountsto useItemTypeFilter: Enum "Item Type Filter";.File:
SalesLineDiscounts.Page.alNote
Automatically generated by the Triage Agent — advisory only. An engineer will review before any action is taken.
Tip
Not accurate? Reply with
/not-accurate(optional: add a short explanation). Your feedback improves future responses.exnihiloo commentedon Jun 11, 2026
Hello, is this approved for implementation?
AleksandricMarko commentedon Sep 3, 2026
Hello exnihiloo,
Did you try to hide ItemTypeFilter and add your field which will validate ItemTypeFilter?
It will not have proper descriptive values in code, but seems you can accomplish desired
exnihiloo commentedon Sep 3, 2026
Marko Aleksandric (@AleksandricMarko)
hello, I also added event requests : #30173
those event requests are related to ItemTypeFilter because it uses additional values on filtering
AleksandricMarko commentedon Sep 7, 2026
Hi,
New event is implemented with ItemType filter as integer as I can see.
I know it is not ideal solution, but still seem it can be used as is, without new enum?
exnihiloo commentedon Sep 9, 2026
Hello, Marko Aleksandric (@AleksandricMarko),
Yes we can use new implementation. Thank you.