Bug 633674: [Subcontracting] Subcontracting Type field and enum captions are unclear — rename to Component Supply Method#8073
Conversation
There was a problem hiding this comment.
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.
| value(2; InventoryByVendor) | ||
| { | ||
| Caption = 'Inventory by Vendor'; | ||
| Caption = 'Consignment at Vendor'; |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Isn't it a matter of documentation, tooltip and code comment?
…Subcontracting/633674-RenameSubcontractingType
…entSupplyMethod.Enum.al Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…tractingUITest.Codeunit.al Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Transfer header lookup ignores purchase order scopeThe filter Recommendation:
Line mapping was unavailable, so this was posted as an issue comment. 👍 useful · ❤️ especially valuable · 👎 wrong - reply with why |
Transfer order lookup missing purchase order filterThe Recommendation:
Line mapping was unavailable, so this was posted as an issue comment. 👍 useful · ❤️ especially valuable · 👎 wrong - reply with why |
Transfer order lookup missing purchase-order filterThe filter Recommendation:
Line mapping was unavailable, so this was posted as an issue comment. 👍 useful · ❤️ especially valuable · 👎 wrong - reply with why |
…Subcontracting/633674-RenameSubcontractingType
Duplicate field assignment — dead code
Recommendation:
Line mapping was unavailable, so this was posted as an issue comment. 👍 useful · ❤️ especially valuable · 👎 wrong - reply with why |
Missing newline at end of fileThe Production BOM Line table extension file is missing a trailing newline ( Recommendation:
Line mapping was unavailable, so this was posted as an issue comment. 👍 useful · ❤️ especially valuable · 👎 wrong - reply with why |
Invalid enum identifier in location test
Recommendation:
Line mapping was unavailable, so this was posted as an issue comment. 👍 useful · ❤️ especially valuable · 👎 wrong - reply with why |
Invalid enum identifier in sync test
Recommendation:
Line mapping was unavailable, so this was posted as an issue comment. 👍 useful · ❤️ especially valuable · 👎 wrong - reply with why |
Enum identifier mismatch causes compile errorTest files reference Recommendation:
Line mapping was unavailable, so this was posted as an issue comment. 👍 useful · ❤️ especially valuable · 👎 wrong - reply with why |
…Subcontracting/633674-RenameSubcontractingType
| Caption = 'Subcontracting Type'; | ||
| Caption = 'Component Supply Method'; | ||
| DataClassification = CustomerContent; | ||
| ToolTip = 'Specifies the Type of Subcontracting that is assigned to the Production Order Component.'; |
There was a problem hiding this comment.
Inconsistent ToolTip detail across related fields
SubcPlanningCompExt.TableExt.al (line 20) has a comprehensive ToolTip explaining all three enum values, while SubcProdOrderCompExt.TableExt.al and SubcProdBOMLineExt.TableExt.al have single-sentence ToolTips for the same "Component Supply Method" field. This creates an inconsistent user experience depending on which page surface the user interacts with.
Recommendation:
- Align the ToolTip text for
"Component Supply Method"across all three table extensions to the same level of detail. Either use the detailed version fromSubcPlanningCompExtin all places, or shorten it consistently across all three.
| ToolTip = 'Specifies the Type of Subcontracting that is assigned to the Production Order Component.'; | |
| ToolTip = 'Specifies how components are supplied to the subcontractor for the production order component. Vendor-Supplied - components are provided by the subcontractor. Consignment at Vendor - components are owned by your company but stored at the subcontractor location. Transfer to Vendor - components are sent to the subcontractor through a transfer order.'; |
👍 useful · ❤️ especially valuable · 👎 wrong - reply with why
Field rename breaks AL code in dependent appsFields 'Subcontracting Type' (ID 99001522) are renamed to 'Component Supply Method' across three table extensions (Prod. Order Component, Planning Component, Production BOM Line). While the field ID is preserved (so database data is safe), any AL code in dependent extensions or integrations that references the old field name will fail to compile. Recommendation:
Line mapping was unavailable, so this was posted as an issue comment. 👍 useful · ❤️ especially valuable · 👎 wrong - reply with why |
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
Test Added
Validation
AB#633674