Skip to content

add subcontracting report, subcontracting worksheet and role center extensions to Subcontracting App#7612

Draft
stevengrossGOB wants to merge 1 commit intomicrosoft:mainfrom
GOB-Software-Systeme-DevOps:w/grosss/SubcWorksheet_FromMSMain
Draft

add subcontracting report, subcontracting worksheet and role center extensions to Subcontracting App#7612
stevengrossGOB wants to merge 1 commit intomicrosoft:mainfrom
GOB-Software-Systeme-DevOps:w/grosss/SubcWorksheet_FromMSMain

Conversation

@stevengrossGOB
Copy link
Copy Markdown
Contributor

@stevengrossGOB stevengrossGOB commented Apr 9, 2026

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

  • Added a new enum value Subcontracting to the Req. Worksheet Template Type via 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 new Subcontracting worksheet type, ensuring correct filtering, validation, and table relations for subcontracting workflows. [1] [2] [3] [4]

  • Added an event subscriber in SubcWorksheetHandler.Codeunit.al to include the subcontracting worksheet type in the template selection process.

  • Enhanced the logic in SubcReqLineExtension.Codeunit.al to update the page ID for non-recurring subcontracting worksheet templates.

UI and Role Center Extensions

  • Extended multiple role centers (Manufacturing Manager, Production Planner, Purchasing Manager, Shop Supervisor, and Purchasing Agent) to add actions for accessing subcontracting worksheets, making these worksheets easily accessible from various user roles. [1] [2] [3] [4] [5] [6]

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.

  • 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.

Summary

Work Item(s)

Fixes AB#619326

- 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.
@stevengrossGOB stevengrossGOB requested review from a team as code owners April 9, 2026 09:02
@stevengrossGOB stevengrossGOB marked this pull request as draft April 9, 2026 09:02
@github-actions github-actions bot added AL: Apps (W1) Add-on apps for W1 From Fork Pull request is coming from a fork labels Apr 9, 2026
@stevengrossGOB stevengrossGOB changed the title add subcontracting report, subcontracting worksheet and role center extensions add subcontracting report, subcontracting worksheet and role center extensions to Subcontracting App Apr 9, 2026
@github-actions github-actions bot added the Linked Issue is linked to a Azure Boards work item label Apr 9, 2026
@github-actions github-actions bot added this to the Version 29.0 milestone Apr 9, 2026

#pragma warning disable AA0074
#pragma warning disable AA0470
Text000: Label 'Processing Work Centers #1##########\';
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we move it to a subcontracting namespace?

}
area(factboxes)
{
systempart(Control1900383207; Links)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rename from Control1900383207 to something appropriate......Links/RecordLinks/??

ApplicationArea = RecordLinks;
Visible = false;
}
systempart(Control1905767507; Notes)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AL: Apps (W1) Add-on apps for W1 From Fork Pull request is coming from a fork Linked Issue is linked to a Azure Boards work item

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants