---
id: object/tableextension/20511
type: object
title: Table extension 20511 "Subc. Purchase Header Arch"
summary: Table extension 20511 "Subc. Purchase Header Arch" in Subcontracting (Microsoft.Manufacturing.Subcontracting), extends "Purchase Header Archive". 2 fields. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - tableextension
  - subcontracting
versions:
  introduced: "29"
  last_changed: null
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 42c2010bf6b39a95c108ccff9ec1beda169adb6d895989669e54ade0e4803189
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/Subcontracting/app/src/Purchase/SubcPurchaseHeaderArch.TableExt.al
    title: src/Apps/W1/Subcontracting/app/src/Purchase/SubcPurchaseHeaderArch.TableExt.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/table/5109
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/9892
object_type: tableextension
object_id: 20511
name: Subc. Purchase Header Arch
namespace: Microsoft.Manufacturing.Subcontracting
app: Subcontracting
extends: Purchase Header Archive
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 2
  procedures: 0
  events: 0
  subscribers: 0
relations:
  out: 3
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table extension 20511 "Subc. Purchase Header Arch"

> Table extension 20511 "Subc. Purchase Header Arch" in Subcontracting (Microsoft.Manufacturing.Subcontracting), extends "Purchase Header Archive". 2 fields. Introduced in BC29, still in BC30.

Subcontracting · Microsoft.Manufacturing.Subcontracting · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/Subcontracting/app/src/Purchase/SubcPurchaseHeaderArch.TableExt.al) · facts from BC29

Extends [Purchase Header Archive](../table/5109.md).

## Fields

Explanation: the field's ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.

| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 20520 | Subc. Location Code | Code[10] | Subcontracting Location Code <small>caption</small> | TableRelation [Table 14 "Location"](../table/14.md) (Location where("Use As In-Transit" = const(false))); DataClassification CustomerContent |
| 20521 | Subc. Order | Boolean | Subcontracting Order <small>caption</small> | FlowField: exist("Purchase Line" where("Document Type" = const(Order), "Document No." = field("No."), "Prod. Order No." = filter(<> ''), "Prod. Order Line No." = filter(<> 0))); not editable |

## Relations

- Subc. Location Code: TableRelation [Table 14 "Location"](../table/14.md)
- Subc. Order: CalcFormula [Table 39 "Purchase Line"](../table/39.md)
- extends [Table 5109 "Purchase Header Archive"](../table/5109.md)

## Recent changes

- 2026-08-18 [#9892 [main] Bug 644283: Renumber Subcontracting app object ids as it clashes with partner range](../../changes/bcapps/9892.md) (main, BC30, refactor)

## Across versions

- Present in: BC29-30
- Changed (declaration) in: none

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: "tableextension", object_name: "Subc. Purchase Header Arch")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
