---
title: "Table 7316 Warehouse Receipt Header, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/points/
object: https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/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 7316 Warehouse Receipt Header, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/points/

21 procedures and triggers with a step in src/Layers/W1/BaseApp/Warehouse/Document/WarehouseReceiptHeader.Table.al, in source order, read from the text, not from a run.

## No..OnValidate

[Line 30](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L30), trigger.

- [34](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L34) calls [Codeunit 310 No. Series](https://jonas-paprotka.de/ref/codeunit/310-no-series/) `TestManual`

## Location Code.OnValidate

[Line 45](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L45), trigger.

- [49](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L49) calls [Codeunit 7302 WMS Management](https://jonas-paprotka.de/ref/codeunit/7302-wms-management/) `LocationIsAllowed`
- [64](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L64) calls `GetLocation`
- [67](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L67) validates [Table 7316 Warehouse Receipt Header](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/) `Bin Code`
- [68](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L68) validates [Table 7316 Warehouse Receipt Header](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/) `Cross-Dock Bin Code`
- [71](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L71) raises `OnValidateLocationCodeOnAfterTransferLocationFields`

## Sorting Method.OnValidate

[Line 115](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L115), trigger.

- [118](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L118) calls `SortWhseDoc`

## Zone Code.OnValidate

[Line 132](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L132), trigger.

- [136](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L136) calls `GetLocation`
- [140](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L140) calls `MessageIfReceiptLinesExist`

## Bin Code.OnValidate

[Line 153](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L153), trigger.

- [160](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L160) calls `GetLocation`
- [161](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L161) calls [Codeunit 7317 Whse. Integration Management](https://jonas-paprotka.de/ref/codeunit/7317-whse-integration-management/) `CheckBinTypeAndCode`
- [166](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L166) calls `MessageIfReceiptLinesExist`

## Cross-Dock Zone Code.OnValidate

[Line 203](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L203), trigger.

- [207](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L207) calls `GetLocation`
- [211](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L211) calls `MessageIfReceiptLinesExist`

## Cross-Dock Bin Code.OnValidate

[Line 225](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L225), trigger.

- [231](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L231) calls `GetLocation`
- [245](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L245) calls `MessageIfReceiptLinesExist`

## Receiving No. Series.OnLookup

[Line 267](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L267), trigger.

- [272](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L272) calls [Codeunit 310 No. Series](https://jonas-paprotka.de/ref/codeunit/310-no-series/) `LookupRelatedNoSeries`
- [273](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L273) validates [Table 7316 Warehouse Receipt Header](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/) `Receiving No. Series`

## Receiving No. Series.OnValidate

[Line 277](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L277), trigger.

- [282](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L282) calls [Codeunit 310 No. Series](https://jonas-paprotka.de/ref/codeunit/310-no-series/) `TestAreRelated`

## OnDelete

[Line 304](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L304), trigger.

- [306](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L306) calls `DeleteRelatedLines`

## OnInsert

[Line 309](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L309), trigger.

- [315](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L315) calls [Codeunit 310 No. Series](https://jonas-paprotka.de/ref/codeunit/310-no-series/) `AreRelated`
- [317](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L317) calls [Codeunit 310 No. Series](https://jonas-paprotka.de/ref/codeunit/310-no-series/) `GetNextNo`
- [320](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L320) calls [Codeunit 310 No. Series](https://jonas-paprotka.de/ref/codeunit/310-no-series/) `IsAutomatic`
- [323](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L323) calls `GetLocation`
- [324](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L324) validates [Table 7316 Warehouse Receipt Header](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/) `Bin Code`
- [325](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L325) validates [Table 7316 Warehouse Receipt Header](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/) `Cross-Dock Bin Code`
- [328](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L328) raises `OnAfterOnInsert`

## AssistEdit

[Line 359](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L359).

- [364](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L364) calls [Codeunit 310 No. Series](https://jonas-paprotka.de/ref/codeunit/310-no-series/) `LookupRelatedNoSeries`
- [367](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L367) calls [Codeunit 310 No. Series](https://jonas-paprotka.de/ref/codeunit/310-no-series/) `GetNextNo`
- [372](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L372) raises `OnAfterAssistEdit`

## SortWhseDoc

[Line 375](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L375).

- [382](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L382) raises `OnBeforeSortWhseDoc`, IsHandled
- [387](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L387) calls `GetLocation`
- [401](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L401) raises `OnSortWhseDocOnCaseSortingMethodElse`
- [408](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L408) writes [Table 7317 Warehouse Receipt Line](https://jonas-paprotka.de/ref/table/7317-warehouse-receipt-line/) Modify

## DeleteRelatedLines

[Line 426](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L426).

- [437](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L437) raises `OnBeforeDeleteWhseRcptRelatedLines`
- [446](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L446) writes [Table 7317 Warehouse Receipt Line](https://jonas-paprotka.de/ref/table/7317-warehouse-receipt-line/) DeleteAll
- [449](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L449) writes [Table 7317 Warehouse Receipt Line](https://jonas-paprotka.de/ref/table/7317-warehouse-receipt-line/) DeleteAll
- [453](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L453) writes [Table 5768 Whse. Cross-Dock Opportunity](https://jonas-paprotka.de/ref/table/5768-whse-cross-dock-opportunity/) DeleteAll
- [458](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L458) writes [Table 5770 Warehouse Comment Line](https://jonas-paprotka.de/ref/table/5770-warehouse-comment-line/) DeleteAll

## LookupLocation

[Line 485](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L485).

- [492](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L492) runs [Page 7347 Locations with Warehouse List](https://jonas-paprotka.de/ref/page/7347-locations-with-warehouse-list/)
- [493](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L493) validates [Table 7316 Warehouse Receipt Header](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/) `Location Code`

## GetLocation

[Line 497](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L497).

- [502](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L502) raises `OnBeforeGetLocation`, IsHandled
- [507](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L507) calls [Table 14 Location](https://jonas-paprotka.de/ref/table/14-location/) `GetLocationSetup`

## FindFirstAllowedRec

[Line 520](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L520).

- [528](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L528) calls [Codeunit 7302 WMS Management](https://jonas-paprotka.de/ref/codeunit/7302-wms-management/) `LocationIsAllowedToView`
- [535](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L535) calls [Codeunit 7302 WMS Management](https://jonas-paprotka.de/ref/codeunit/7302-wms-management/) `LocationIsAllowedToView`

## FindNextAllowedRec

[Line 547](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L547).

- [559](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L559) calls [Codeunit 7302 WMS Management](https://jonas-paprotka.de/ref/codeunit/7302-wms-management/) `LocationIsAllowedToView`

## ErrorIfUserIsNotWhseEmployee

[Line 570](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L570).

- [575](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L575) raises `OnBeforeErrorIfUserIsNotWhseEmployee`, IsHandled
- [579](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L579) calls [Codeunit 7302 WMS Management](https://jonas-paprotka.de/ref/codeunit/7302-wms-management/) `CheckUserIsWhseEmployee`

## ReceiptLinesEditable

[Line 582](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L582).

- [586](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L586) raises `OnAfterReceiptLinesEditable`

## BinCodeMandatory

[Line 589](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L589).

- [591](https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/#L591) calls `GetLocation`

## Source

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

JOP-AL, 2026-11-20.
