---
id: object/page/20561
type: object
title: Page 20561 "Subc. WIP Adjustment"
summary: Page 20561 "Subc. WIP Adjustment" in Subcontracting (Microsoft.Manufacturing.Subcontracting). 2 public procedures. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - page
  - 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: 362cedb3aa945567714835e1bf7975c36ae85c9ceb621f8f9f3e2a9540d1779b
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/Subcontracting/app/src/WIPItem/SubcWIPAdjustment.Page.al
    title: src/Apps/W1/Subcontracting/app/src/WIPItem/SubcWIPAdjustment.Page.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/9892
object_type: page
object_id: 20561
name: Subc. WIP Adjustment
caption: WIP Adjustment
namespace: Microsoft.Manufacturing.Subcontracting
app: Subcontracting
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 7
  events: 0
  subscribers: 0
  controls: 34
  actions: 0
relations:
  out: 1
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Page 20561 "Subc. WIP Adjustment"

> Page 20561 "Subc. WIP Adjustment" in Subcontracting (Microsoft.Manufacturing.Subcontracting). 2 public procedures. Introduced in BC29, still in BC30.

Subcontracting · Microsoft.Manufacturing.Subcontracting · captioned "WIP Adjustment" · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/Subcontracting/app/src/WIPItem/SubcWIPAdjustment.Page.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | WIP Adjustment |
| SourceTable | Subcontractor WIP Ledger Entry |
| PageType | StandardDialog |
| UsageCategory | None |
| ApplicationArea | Subcontracting |

## Fields on this page

Layout controls in source order, grouped by the container they sit in. Shows: the table field a control is bound to (or its expression as written); ToolTip: the control's own, else the bound field's (marked).

| Group | Control | Shows | ToolTip |
|---|---|---|---|
| Adjustment | Document Type | `DocumentType` | Specifies the document type applied to all created adjustment entries. |
|  | Document No. | `DocumentNo` | Specifies the document number applied to all created adjustment entries. |
| Production Order | Prod. Order Status | [Prod. Order Status](../table/20560.md#fields) | Specifies the production order status. <small>from the table field</small> |
|  | Prod. Order No. | [Prod. Order No.](../table/20560.md#fields) | Specifies the production order number. <small>from the table field</small> |
|  | Prod. Order Line No. | [Prod. Order Line No.](../table/20560.md#fields) | Specifies the production order line number. <small>from the table field</small> |
|  | Routing No. | [Routing No.](../table/20560.md#fields) | Specifies the routing number. <small>from the table field</small> |
|  | Routing Reference No. | [Routing Reference No.](../table/20560.md#fields) | Specifies the routing reference number. <small>from the table field</small> |
|  | Operation No. | [Operation No.](../table/20560.md#fields) | Specifies the operation number. <small>from the table field</small> |
|  | Work Center No. | [Work Center No.](../table/20560.md#fields) | Specifies the work center number. <small>from the table field</small> |
| General | Location Code | [Location Code](../table/20560.md#fields) | Specifies the location where the WIP quantity is tracked. <small>from the table field</small> |
|  | Item No. | [Item No.](../table/20560.md#fields) | Specifies the item number. <small>from the table field</small> |
|  | Variant Code | [Variant Code](../table/20560.md#fields) | Specifies the variant code. <small>from the table field</small> |
|  | Description | [Description](../table/20560.md#fields) | Specifies a description for the WIP ledger entry. <small>from the table field</small> |
|  | Description 2 | [Description 2](../table/20560.md#fields) | Specifies description 2 for the WIP ledger entry. <small>from the table field</small> |
|  | Current Quantity (Base) | [Quantity (Base)](../table/20560.md#fields) | Specifies the current WIP quantity base for this operation and location. |
|  | New Quantity (Base) | `NewQuantityBase` | Specifies the new target WIP quantity base after adjustment. |
|  | Quantity to Adjust (Base) | `QuantityToAdjustBase` | Specifies the quantity that will be adjusted (New Quantity (Base) minus Current Quantity (Base)). |
|  | Base Unit of Measure | [Base Unit of Measure](../table/20560.md#fields) | Specifies the base unit of measure of the item. <small>from the table field</small> |
| Lines | Prod. Order Status Line | [Prod. Order Status](../table/20560.md#fields) | Specifies the production order status. <small>from the table field</small> |
|  | Prod. Order No. Line | [Prod. Order No.](../table/20560.md#fields) | Specifies the production order number. <small>from the table field</small> |
|  | Prod. Order Line No. Line | [Prod. Order Line No.](../table/20560.md#fields) | Specifies the production order line number. <small>from the table field</small> |
|  | Routing No. Line | [Routing No.](../table/20560.md#fields) | Specifies the routing number. <small>from the table field</small> |
|  | Routing Reference No. Line | [Routing Reference No.](../table/20560.md#fields) | Specifies the routing reference number. <small>from the table field</small> |
|  | Operation No. Line | [Operation No.](../table/20560.md#fields) | Specifies the operation number. <small>from the table field</small> |
|  | Work Center No. Line | [Work Center No.](../table/20560.md#fields) | Specifies the work center number. <small>from the table field</small> |
|  | Item No. Line | [Item No.](../table/20560.md#fields) | Specifies the item number. <small>from the table field</small> |
|  | Variant Code Line | [Variant Code](../table/20560.md#fields) | Specifies the variant code. <small>from the table field</small> |
|  | DescriptionLine | [Description](../table/20560.md#fields) | Specifies a description for the WIP ledger entry. <small>from the table field</small> |
|  | Description 2 Line | [Description 2](../table/20560.md#fields) | Specifies description 2 for the WIP ledger entry. <small>from the table field</small> |
|  | Location Code | [Location Code](../table/20560.md#fields) | Specifies the location where the WIP quantity is tracked. <small>from the table field</small> |
|  | Current Quantity (Base) | [Quantity (Base)](../table/20560.md#fields) | Specifies the WIP quantity in base unit of measure <small>from the table field</small> |
|  | New Quantity (Base) | `NewQuantityBase` | Specifies the new target WIP quantity after adjustment. |
|  | Qty. to Adjust (Base) | `QuantityToAdjustBase` | Specifies the quantity that will be adjusted (New Quantity minus Current Quantity). |
|  | Base Unit of Measure | [Base Unit of Measure](../table/20560.md#fields) | Specifies the base unit of measure of the item. <small>from the table field</small> |

## Procedures

- `SetWIPLedgerEntry(var WIPLedgerEntry: Record "Subcontractor WIP Ledger Entry")`: Populates the page source table with one row per (Routing Reference No., Operation No., Location Code) combination, aggregating the current WIP quantity from the supplied ledger entries. Must be called before running the page.
- `SetDocumentNo(DocNo: Code[20])`

Plus 5 local procedures.

## Triggers

OnAfterGetRecord, OnOpenPage, OnQueryClosePage

## Relations

- source table [Table 20560 "Subcontractor WIP Ledger Entry"](../table/20560.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: "page", object_name: "Subc. WIP Adjustment")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
