Codeunit 20508 "Subc. Price Management"
Subcontracting · Microsoft.Manufacturing.Subcontracting
Across versions
- BC23-28not present
- BC29present
- BC30changed
Subcontracting · Microsoft.Manufacturing.Subcontracting · BC29-30 · source at 4e6a307c · facts from BC29
Procedures
ApplySubcontractorPricingToProdOrderRouting(var ProdOrderLine: Record "Prod. Order Line"; var RoutingLine: Record "Routing Line"; var ProdOrderRoutingLine: Record "Prod. Order Routing Line")ApplySubcontractorPricingToPlanningRouting(var RequisitionLine: Record "Requisition Line"; var RoutingLine: Record "Routing Line"; var PlanningRoutingLine: Record "Planning Routing Line")CalcStandardCostOnAfterCalcRtngLineCost(RoutingLine: Record "Routing Line"; MfgItemQtyBase: Decimal; var SLSub: Decimal)CalcStandardCostOnAfterCalcRtngLineCost(RoutingLine: Record "Routing Line"; MfgItemQtyBase: Decimal; Item: Record Item; CalculationDate: Date; var SLSub: Decimal)(internal)GetSubcPriceList(var ProdOrderRoutingLine: Record "Prod. Order Routing Line")SetRoutingPriceListCost(var InSubcontractorPrice: Record "Subcontractor Price"; WorkCenter: Record "Work Center"; var DirUnitCost: Decimal; var IndirCostPct: Decimal; var OvhdRate: Decimal; var UnitCost: Decimal; var UnitCostCalculationType: Enum "Unit Cost Calculation Type"; QtyUoM: Decimal; ProdQtyPerUom: Decimal; QtyBase: Decimal)ConvertPriceToUOM(ProdUOM: Code[10]; ProdQtyPerUoM: Decimal; PriceListUOM: Code[10]; PriceListQtyPerUOM: Decimal; PriceListCost: Decimal; var DirectCost: Decimal)GetSubcPriceForReqLine(var RequisitionLine: Record "Requisition Line"; FixedUOM: Code[10])GetAutomaticSubcCostForReqLine(RequisitionLine: Record "Requisition Line"; var ProdOrderRoutingLine: Record "Prod. Order Routing Line"): Decimal(internal)IsAutomaticSubcCostForReqLine(RequisitionLine: Record "Requisition Line"; var ProdOrderRoutingLine: Record "Prod. Order Routing Line"): Boolean(internal)GetSubcPriceForPurchLine(var PurchaseLine: Record "Purchase Line")
Plus 13 local procedures.
Recent changes
- 2026-12-04 #14844 Subcontracting: Skip subcontracting price calculation for routing lines without a work center (main, BC30, fix)
- 2026-11-04 #13566 [Subcontracting] Bug 648843: Align feature-handler references with CLEAN28 (main, BC30, refactor)
- 2026-10-23 #12783 [29.x] Subcontractor Price ignores Run Time when creating purchase cost for time-based subcontracting operations (releases/29.x, BC29, fix)
- 2026-10-14 #12669 [Main]Subcontracting Order Date does not account for lead time before the routing operation starts (main, BC30, fix)
- 2026-10-12 #12459 [Master][All-E] Subcontractor Price ignores Run Time when creating purchase cost for time-based subcontracting operations (main, BC30, fix)
- 2026-09-22 #11292 Bug 648535: Reprice subcontracting lines after scheduling (main, BC30, fix)
- 2026-08-18 #9892 [main] Bug 644283: Renumber Subcontracting app object ids as it clashes with partner range (main, BC30, refactor)
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Set Up Subcontracting Prices and Allocate Item Charges — possibly related: Documents setting up subcontractor prices and allocating costs for manufacturing operations. (model-linked)
Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).
Ask your agent
Procedure bodies are not stored here (D10). For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "Subc. Price Management"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.