---
title: "Page 5881 Phys. Invt. Recording Subform, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/page/5881-phys-invt-recording-subform/points/
object: https://jonas-paprotka.de/ref/page/5881-phys-invt-recording-subform/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/page/5881-phys-invt-recording-subform/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/"
---

# Page 5881 Phys. Invt. Recording Subform, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/page/5881-phys-invt-recording-subform/points/

9 procedures and triggers with a step in src/Layers/W1/BaseApp/Inventory/Counting/Recording/PhysInvtRecordingSubform.Page.al, in source order, read from the text, not from a run.

## Item No..OnValidate

[Line 31](https://jonas-paprotka.de/ref/page/5881-phys-invt-recording-subform/source/#L31), trigger.

- [33](https://jonas-paprotka.de/ref/page/5881-phys-invt-recording-subform/source/#L33) calls `SetVariantCodeMandatory`

## Item Reference No..OnLookup

[Line 43](https://jonas-paprotka.de/ref/page/5881-phys-invt-recording-subform/source/#L43), trigger.

- [47](https://jonas-paprotka.de/ref/page/5881-phys-invt-recording-subform/source/#L47) calls [Codeunit 5720 Item Reference Management](https://jonas-paprotka.de/ref/codeunit/5720-item-reference-management/) `PhysicalInventoryRecordReferenceNoLookup`
- [48](https://jonas-paprotka.de/ref/page/5881-phys-invt-recording-subform/source/#L48) calls `SetVariantCodeMandatory`
- [49](https://jonas-paprotka.de/ref/page/5881-phys-invt-recording-subform/source/#L49) raises `OnReferenceNoOnAfterLookup`

## Item Reference No..OnValidate

[Line 52](https://jonas-paprotka.de/ref/page/5881-phys-invt-recording-subform/source/#L52), trigger.

- [54](https://jonas-paprotka.de/ref/page/5881-phys-invt-recording-subform/source/#L54) calls `SetVariantCodeMandatory`

## Variant Code.OnValidate

[Line 63](https://jonas-paprotka.de/ref/page/5881-phys-invt-recording-subform/source/#L63), trigger.

- [65](https://jonas-paprotka.de/ref/page/5881-phys-invt-recording-subform/source/#L65) calls `SetVariantCodeMandatory`

## CopyLineAction.OnAction

[Line 159](https://jonas-paprotka.de/ref/page/5881-phys-invt-recording-subform/source/#L159), trigger.

- [161](https://jonas-paprotka.de/ref/page/5881-phys-invt-recording-subform/source/#L161) calls `CopyLine`

## OnOpenPage

[Line 206](https://jonas-paprotka.de/ref/page/5881-phys-invt-recording-subform/source/#L206), trigger.

- [208](https://jonas-paprotka.de/ref/page/5881-phys-invt-recording-subform/source/#L208) calls `SetItemReferenceVisibility`

## Package No. Information Card.OnAfterGetRecord

[Line 211](https://jonas-paprotka.de/ref/page/5881-phys-invt-recording-subform/source/#L211), trigger.

- [213](https://jonas-paprotka.de/ref/page/5881-phys-invt-recording-subform/source/#L213) calls `SetVariantCodeMandatory`

## CopyLine

[Line 221](https://jonas-paprotka.de/ref/page/5881-phys-invt-recording-subform/source/#L221).

- [223](https://jonas-paprotka.de/ref/page/5881-phys-invt-recording-subform/source/#L223) calls [Report 5883 Copy Phys. Invt. Recording](https://jonas-paprotka.de/ref/report/5883-copy-phys-invt-recording/) `SetPhysInvtRecordLine`

## SetVariantCodeMandatory

[Line 228](https://jonas-paprotka.de/ref/page/5881-phys-invt-recording-subform/source/#L228), local.

- [233](https://jonas-paprotka.de/ref/page/5881-phys-invt-recording-subform/source/#L233) calls [Table 27 Item](https://jonas-paprotka.de/ref/table/27-item/) `IsVariantMandatory`

## Source

AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
