Skip to content

Bug 633674: Subcontracting Type field and enum captions are unclear — rename to Component Supply Method#8073

Open
ChethanT wants to merge 3 commits into
mainfrom
bugs/Subcontracting/633674-RenameSubcontractingType
Open

Bug 633674: Subcontracting Type field and enum captions are unclear — rename to Component Supply Method#8073
ChethanT wants to merge 3 commits into
mainfrom
bugs/Subcontracting/633674-RenameSubcontractingType

Conversation

@ChethanT
Copy link
Copy Markdown
Contributor

@ChethanT ChethanT commented May 9, 2026

Bug Summary

The Subcontracting Type wording was unclear in Subcontracting pages and enum captions. The labels implied a subcontracting classification instead of the actual intent: how components are supplied to the subcontractor.

Root Cause

User-facing names and captions did not reflect the functional meaning of the field and enum values, which caused confusion in UI interpretation and setup decisions.

Fix

  • Renamed enum object from Subcontracting Type to Component Supply Method.
  • Updated enum value captions:
    • Purchase with Service -> Vendor-Supplied
    • Inventory by Vendor -> Consignment at Vendor
    • Transfer -> Transfer to Vendor
  • Updated related captions/tooltips/messages in Subcontracting App to align terminology.
  • Updated references in app/test AL code to the renamed enum object.

Test Added

  • Codeunit: 139990 (Subc. Subcontracting UI Test)
  • Test function: ComponentSupplyMethodCaptionsAreClear
  • Coverage:
    • Verifies field caption is Component Supply Method on Production BOM Line, Planning Component, and Prod. Order Component.
    • Verifies enum value captions are Vendor-Supplied, Consignment at Vendor, and Transfer to Vendor.

Validation

  • App compiles and publishes.
  • Tests run and pass.

AB#633674

@ChethanT ChethanT requested a review from a team as a code owner May 9, 2026 16:13
@github-actions github-actions Bot added the AL: Apps (W1) Add-on apps for W1 label May 9, 2026
@ChethanT ChethanT added the Subcontracting Subcontracting related activities label May 9, 2026
@ChethanT
Copy link
Copy Markdown
Contributor Author

ChethanT commented May 9, 2026

@SPinkow

@github-actions github-actions Bot added this to the Version 29.0 milestone May 9, 2026
Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

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

AL Documentation Audit

Documentation gaps were detected in the following apps:

  • Subcontracting-Test: 0% documentation coverage
  • Subcontracting: 0% documentation coverage

To generate documentation, run /al-docs init or /al-docs update using GitHub Copilot CLI or Claude Code.
This review is for awareness to help keep documentation in sync with code changes. It is okay to dismiss this request.

@ChethanT ChethanT requested a review from AleksandricMarko May 10, 2026 19:22
value(2; InventoryByVendor)
{
Caption = 'Inventory by Vendor';
Caption = 'Consignment at Vendor';
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.

I see that this jargon is used by people who work with subcontracting process. It's confusing, though, who owns the stock - we or subcontractor.

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 Subcontracting Subcontracting related activities

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants