Production Definition Wizard - Implementation #9067
Open
stevengrossGOB wants to merge 3 commits into
Open
Conversation
…management - Implement tests for creating and managing BOM and Routing versions - Validate behavior when toggling version creation options - Ensure correct error handling for missing version number series - Confirm that new versions are created and certified as expected
… unit pages - Moved the 'RunProdDefinition' action to a new position in the Mfg. Item Card, Mfg. Item List, Mfg. Stockkeeping Unit Card, and Mfg. Stockkeeping Unit List pages for better accessibility. - Updated the Production Definition Manager to handle empty temporary records gracefully. - Enhanced the Production Definition Wizard page to ensure proper enabling of editable fields based on conditions.
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
This PR introduces the Production Definition Wizard, a guided multi-step wizard for defining and configuring the Bill of Materials (BOM) and Routing of manufactured items.
This pull request introduces enhancements to the Manufacturing module, focusing on better support for the Production Definition Wizard, improved handling of temporary records in production tables, and new configuration options for production order creation. The changes add new fields and UI controls for wizard customization, expand event publishers for extensibility, and ensure that temporary records are handled safely in business logic.
Key changes include:
Production Definition Wizard Enhancements:
ManufacturingSetup.Table.aland corresponding UI groups toManufacturingSetup.Page.alto control the visibility and behavior of wizard steps, default values, and user overrides in the Production Definition Wizard. These include options for BOM/routing step display, component preview, always saving modified versions, UI selection overrides, and default values for work center, component item, and flushing method. [1] [2]UseProductDefinitionWizardto theCreateOrderFromSales.Page.alpage, including logic to control its editability and tooltip, allowing users to opt into the wizard during order creation. [1] [2]Temporary Record Handling Improvements:
Prod. Order ComponentandProd. Order Routing Linetables to check for temporary records usingIsTemporary(), exiting early to prevent unintended processing or database access. This improves stability when working with in-memory (temporary) records. [1] [2] [3] [4] [5] [6] [7] [8] [9]Extensibility and Event Publisher Updates:
IsHandledandProdOrderLine) for greater flexibility in extensions. Added new event publishers likeOnBeforeGetProdOrderNeedsandOnBeforeGetProdOrderLineto allow external code to influence or override logic in key procedures. [1] [2] [3]Miscellaneous:
usingdirectives for new dependencies related to the wizard and work center modules. [1] [2]ManufacturingSetup.Page.al.These changes collectively improve the configurability, safety, and extensibility of the manufacturing order creation and management processes.
References: [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19]
Linked work
AB#618497
AB#576196
How I validated this
What I tested and the outcome (required — be specific: scenarios, commands, screenshots for UI changes)
Risk & compatibility