---
title: "Table extension 20512 Subc. Purchase Line"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/tableextension/20512-subc-purchase-line/
type: tableextension
id: 20512
name: "Subc. Purchase Line"
app: "Subcontracting"
namespace: Microsoft.Manufacturing.Subcontracting
versions: "28-29"
build: 29.0.54011.55644
countries: "W1, DE, US"
source: "https://jonas-paprotka.de/ref/tableextension/20512-subc-purchase-line/source/?v=28 https://jonas-paprotka.de/ref/tableextension/20512-subc-purchase-line/source/"
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Table extension 20512 Subc. Purchase Line

JOP-AL, https://jonas-paprotka.de/ref/tableextension/20512-subc-purchase-line/

| | |
| --- | --- |
| App | Subcontracting |
| Namespace | Microsoft.Manufacturing.Subcontracting |
| Versions | 28-29 |
| Minors | W1 28.4-29.0; DE 28.4-29.0; US 28.4-29.0, [every minor](https://jonas-paprotka.de/ref/tableextension/20512-subc-purchase-line/editions.json) |
| Extends | [Table 39 Purchase Line](https://jonas-paprotka.de/ref/table/39-purchase-line/) |
| Source file | src/Purchase/SubcPurchaseLine.TableExt.al |

## Fields

| Id | Name | Type | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| 20543 | Subc. Prod. Order No. | Code[20] | 28-29 | - | - |
| 20544 | Subc. Prod. Order Line No. | Integer | 28-29 | - | - |
| 20545 | Subc. Routing No. | Code[20] | 28-29 | - | - |
| 20546 | Subc. Rtng Reference No. | Integer | 28-29 | - | - |
| 20547 | Subc. Operation No. | Code[10] | 28-29 | - | - |
| 20548 | Subc. Work Center No. | Code[20] | 28-29 | - | - |
| 20549 | Subc. Purchase Line Type | Enum Subc. Purchase Line Type | 28-29 | - | - |
| 20550 | Subc.Whse.Outstanding Quantity | Decimal | 28-29 | - | - |
| 20560 | Transfer WIP Item | Boolean | 28-29 | - | - |

## Keys

| Name | Fields | Sum fields | Versions |
| --- | --- | --- | --- |
| SubcPurchLineKey | Subc. Purchase Line Type | - | 28-29 |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| GetQuantityPerUOM | () | Decimal | public | 28-29 | - | - |
| GetQuantityBase | () | Decimal | public | 28-29 | - | - |
| CalcBaseQtyFromQuantity | (SourceQuantity: Decimal; BasedOnField: Text; FromFieldName: Text; ToFieldName: Text) | Decimal | internal | 28-29 | - | - |
| IsSubcontractingLine | (var ProdOrderLine: Record "Prod. Order Line") | Boolean | internal | 28-29 | - | - |
| IsSubcontractingLineWithLastOperation | (var ProdOrderLine: Record "Prod. Order Line") | Boolean | internal | 28-29 | - | - |

## Source

Symbols: Microsoft.Subcontracting.symbols.1f32a50d-0057-4b95-b5df-cc04d7e89470, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-11-20.
AL source 28: https://github.com/microsoft/BCApps, MIT, releases/28.x at 408a4cc8d3a4c54b60464cc14c964479facb9ba0.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
