#12459 [Master][All-E] Subcontractor Price ignores Run Time when creating purchase cost for time-based subcontracting operations
Fixed subcontractor pricing for time-based operations by multiplying the subcontractor price by the operation run time factor when creating purchase costs, with comprehensive test coverage.
- 2files
- 1AL files
- 1objects
Pull request · merged into main (BC30) on 2026-10-12 by sanjmaurya · 2 files (+400 -10), 1 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Subcontractor price now correctly incorporates operation run time for time-based unit cost calculations
- Shared calculation applies consistent pricing across requisition worksheets, purchase lines, and automatic repricing scenarios
- Operation time factor multiplied by price and rounded using configured unit-amount precision
- Automated tests added for worksheet calculation, carried-out lines, repricing, and direct purchase line creation
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 20508 “Subc. Price Management”, Subcontracting: modified
Context
- Work items: AB#653252
- Labels: AL: Apps (W1), Team: SCM
- Systems: manufacturing
- From the description: “Subcontractor Price ignores Run Time when creating purchase cost for time-based subcontracting operations”
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Set up subcontractor prices — possibly related: Documents subcontractor price setup including time-based cost calculations for subcontracting. (model-linked)
Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).