Is there a generic extensibility point to filter Shortcut Dimension 1–8 lookups based on the current G/L Account?
I am developing a Business Central extension where Shortcut Dimension values should be filtered based on allowed values configured for the selected G/L Account.
The filtering should apply anywhere Shortcut Dimensions 1–8 are entered, including sales lines, purchase lines, general journals, and potentially other standard pages.
I can implement this using page extensions and the individual LookupShortcutDimCode logic/events available on each page, but this would require modifying a large number of pages.
Is there a more generic extensibility point in standard Business Central that can intercept or modify the lookup/filter for Shortcut Dimensions 1–8 regardless of which page initiated the lookup?
Ideally, I would like to centralize the filtering logic in a codeunit and avoid creating page extensions for every page that exposes ShortcutDimCode[1..8].
Has anyone implemented something similar, or is page-by-page extension currently the only reliable approach?

Report
All responses (
Answers (