[main] Feature 640068 - Separate settings for automatic dimensions#9595
Merged
v-janpopr merged 2 commits intoJul 21, 2026
Merged
Conversation
- Added new table "Auto. Create Default Dim. CZA" to manage automatic default dimension creation. - Created page "Auto. Create Default Dim. CZA" for user interface to configure automatic dimensions. - Updated existing codeunits to integrate with the new table, including Dimension Auto.Create and Dimension Auto.Update management. - Modified upgrade codeunit to migrate data from "Default Dimension" to "Auto. Create Default Dim. CZA". - Updated permissions to include access to the new table and page. - Deprecated fields in "Default Dimension" related to automatic creation, marking them as obsolete. - Added integration events for custom validation logic in the new table. - Enhanced test code to support the new automatic dimension creation logic.
…res/640068-master-SeparateSettingsFor_AutomaticDimensions
Contributor
Author
|
DavidHolusa
approved these changes
Jul 20, 2026
v-janpopr
enabled auto-merge
July 21, 2026 06:10
ventselartur
approved these changes
Jul 21, 2026
v-janpopr
deleted the
features/640068-master-SeparateSettingsFor_AutomaticDimensions
branch
July 21, 2026 08:56
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What & why
New feature introducing a dedicated settings table for automatic dimension creation, separating configuration from the existing Default Dimension table.
PR Summary
This PR introduces a new table and page for managing automatic dimension creation settings independently from default dimensions. The feature separates the automatic dimension creation configuration into its own entity while adding a new "Do Not Create Default Dimension" option.
Added new AutoCreateDefaultDimCZA.Table.al with fields for dimension auto-creation settings including dimension description updates, value posting rules, and an option to skip default dimension creation
Added new AutoCreateDefaultDimCZA.Page.al providing a dedicated UI for managing automatic dimension creation with an action to update existing records
Modified DimensionAutoCreateMgtCZA.Codeunit.al to reference the new Auto. Create Default Dim. CZA table instead of Default Dimension, wrapped automatic dimension creation logic in a conditional check for "Not Create Default Dimension", and marked old methods as obsolete
Updated DefaultDimensionHandlerCZA.Codeunit.al to use the new Auto. Create Default Dim. CZA table for Job and Item copy operations
Linked work
Fixes AB#640068