add subcontracting report, subcontracting worksheet and role center extensions to Subcontracting App#7612
Draft
stevengrossGOB wants to merge 1 commit intomicrosoft:mainfrom
Conversation
- Introduce a new report "Subc. Calculate Subcontracts" for calculating subcontract requirements. - Extend role centers for Manufacturing Manager, Production Planner, Purchasing Agent, and Shop Supervisor to include actions for subcontracting worksheets. - Update "Subc. Management Setup" table to relate to subcontracting templates. - Modify tests and libraries to support new subcontracting functionality.
ChethanT
reviewed
Apr 9, 2026
|
|
||
| #pragma warning disable AA0074 | ||
| #pragma warning disable AA0470 | ||
| Text000: Label 'Processing Work Centers #1##########\'; |
Contributor
There was a problem hiding this comment.
We can fix this and remove pragmas
| // Copyright (c) Microsoft Corporation. All rights reserved. | ||
| // Licensed under the MIT License. See License.txt in the project root for license information. | ||
| // ------------------------------------------------------------------------------------------------ | ||
| namespace Microsoft.Manufacturing.Planning; |
Contributor
There was a problem hiding this comment.
Should we move it to a subcontracting namespace?
| } | ||
| area(factboxes) | ||
| { | ||
| systempart(Control1900383207; Links) |
Contributor
There was a problem hiding this comment.
Rename from Control1900383207 to something appropriate......Links/RecordLinks/??
| ApplicationArea = RecordLinks; | ||
| Visible = false; | ||
| } | ||
| systempart(Control1905767507; Notes) |
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.
This pull request introduces the "Subcontracting" worksheet type into the manufacturing and purchasing workflows, making it available throughout the application and updating all relevant references and UI elements. The main changes include adding a new enum value for subcontracting worksheet templates, updating setup and processing logic, and extending multiple role centers to provide access to subcontracting worksheets.
Key changes:
Subcontracting Worksheet Type Introduction
Subcontractingto theReq. Worksheet Template Typevia an enum extension, enabling system-wide recognition of subcontracting worksheets.Code and Setup Updates
Updated all references in codeunits and setup tables from
"For. Labor"to the newSubcontractingworksheet type, ensuring correct filtering, validation, and table relations for subcontracting workflows. [1] [2] [3] [4]Added an event subscriber in
SubcWorksheetHandler.Codeunit.alto include the subcontracting worksheet type in the template selection process.Enhanced the logic in
SubcReqLineExtension.Codeunit.alto update the page ID for non-recurring subcontracting worksheet templates.UI and Role Center Extensions
These changes ensure that subcontracting worksheets are fully integrated into both the backend logic and the user interface, supporting streamlined subcontracting operations across manufacturing and purchasing processes.- Introduce a new report "Subc. Calculate Subcontracts" for calculating subcontract requirements.
Summary
Work Item(s)
Fixes AB#619326