---
id: object/codeunit/12153-it
type: object
title: Codeunit 12153 "SubcontractingPricesMgt" (IT)
summary: Codeunit 12153 "SubcontractingPricesMgt" (IT) in the IT country layer (Microsoft.Manufacturing.Document). 7 public procedures, 2 events. Introduced in BC29, still in BC30. Obsolete (Pending since 27.0).
tier: official
language: en
tags:
  - codeunit
  - it layer
versions:
  introduced: "29"
  last_changed: null
  deprecated: "27.0"
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 786937234da803fb0c6a8e7739f3a82da638a264197a1575a05fdbe3f5d430fc
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/IT/BaseApp/Local/Manufacturing/Document/SubcontractingPricesMgt.Codeunit.al
    title: src/Layers/IT/BaseApp/Local/Manufacturing/Document/SubcontractingPricesMgt.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations:
    - localization/it
  videos: []
  posts: []
  guidelines: []
object_type: codeunit
object_id: 12153
name: SubcontractingPricesMgt
namespace: Microsoft.Manufacturing.Document
app: Base Application
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete:
  state: Pending
  tag: "27.0"
  reason: Preparation for replacement by Subcontracting app
countries: []
ms_search_form_ids: []
country: IT
counts:
  fields: 0
  procedures: 9
  events: 2
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
---

# Codeunit 12153 "SubcontractingPricesMgt" (IT)

> Codeunit 12153 "SubcontractingPricesMgt" (IT) in the IT country layer (Microsoft.Manufacturing.Document). 7 public procedures, 2 events. Introduced in BC29, still in BC30. Obsolete (Pending since 27.0).

IT country layer · Microsoft.Manufacturing.Document · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/IT/BaseApp/Local/Manufacturing/Document/SubcontractingPricesMgt.Codeunit.al) · facts from BC29

An object of the [IT localization](../../localizations/it.md), not part of W1.

## Properties

| Property | Value |
|---|---|
| ObsoleteState | Pending |
| ObsoleteTag | 27.0 |
| ObsoleteReason | Preparation for replacement by Subcontracting app |

## Events published

- `OnGetSubcPriceForReqLineOnAfterSetFilters(var SubcontractorPrices: Record "Subcontractor Prices"; var ReqLine: Record "Requisition Line")` (integration)
- `OnRoutingPricelistCostOnAfterSetFilters(var SubcontractorPrices: Record "Subcontractor Prices"; var InSubcPrices: Record "Subcontractor Prices"; WorkCenter: Record "Work Center")` (integration)

## Procedures

- `GetRoutingPricelistCost(var InSubcPrices: Record "Subcontractor Prices"; WorkCenter: Record "Work Center"; var DirUnitCost: Decimal; var IndirCostPct: Decimal; var OvhdRate: Decimal; var UnitCost: Decimal; var UnitCostCalculation: Enum "Unit Cost Calculation Type"; QtyUoM: Decimal; ProdQtyPerUom: Decimal; QtyBase: Decimal)`
- `GetUOMPrice(ItemNo: Code[20]; QtyBase: Decimal)`
- `GetPriceByUOM()`
- `ConvertPriceToUOM(ProdUOM: Code[10]; ProdQtyPerUoM: Decimal)`
- `ConvertPriceToCurrency(CurrencyCode: Code[10])`
- `ConvertPriceFromCurrency(CurrencyCode: Code[10]; OrderDate: Date)`
- `GetSubcPriceForReqLine(var ReqLine: Record "Requisition Line"; FixedUOM: Code[10])`

## Triggers

OnRun

## Across versions

- Present in: BC29-30
- Changed (declaration) in: none
- Obsolete: Pending since 27.0, "Preparation for replacement by Subcontracting app"

## Deprecations

- object: Pending 27.0 (#if not CLEAN28), "Preparation for replacement by Subcontracting app"

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: "SubcontractingPricesMgt")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.

A IT country object, not part of W1: the default corpus does not have it; `bcatlas_list_countries` shows which countries the atlas has.
