---
id: object/table/7316
type: object
title: Table 7316 "Warehouse Receipt Header"
summary: Table 7316 "Warehouse Receipt Header" in Base Application (Microsoft.Warehouse.Document). 19 fields, 13 public procedures, 9 events. Present since at least BC23, still in BC30, changed in BC24, BC26, BC28.
tier: official
language: en
tags:
  - table
  - base application
versions:
  introduced: null
  last_changed: "28"
  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: a7e4e6cab7466a6cd4dd2b7df0739ee33850d3f07dfd081874de8fdc883b2d3d
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Warehouse/Document/WarehouseReceiptHeader.Table.al
    title: src/Layers/W1/BaseApp/Warehouse/Document/WarehouseReceiptHeader.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/warehouse-how-receive-items
    - https://learn.microsoft.com/dynamics365/business-central/warehouse-how-to-cross-dock-items
  objects: []
  features: []
  topics:
    - topic/business-central/business-functionality/warehouse-management/inbound-warehouse-processes
    - topic/business-central/business-functionality/warehouse-management/outbound-warehouse-processes
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 7316
name: Warehouse Receipt Header
namespace: Microsoft.Warehouse.Document
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "26"
  - "28"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 19
  procedures: 22
  events: 9
  subscribers: 0
relations:
  out: 11
  referenced_by: 1
  pages: 2
  extended_by: 0
  event_subscribers: 0
  calls: 3
  called_by: 0
  implements: 0
---

# Table 7316 "Warehouse Receipt Header"

> Table 7316 "Warehouse Receipt Header" in Base Application (Microsoft.Warehouse.Document). 19 fields, 13 public procedures, 9 events. Present since at least BC23, still in BC30, changed in BC24, BC26, BC28.

Base Application · Microsoft.Warehouse.Document · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Warehouse/Document/WarehouseReceiptHeader.Table.al) · facts from BC29

Learn documents this table through its pages: [Page 5768 "Warehouse Receipt"](../page/5768.md) (2 Learn pages), [Page 7332 "Warehouse Receipts"](../page/7332.md) (2).

## Properties

| Property | Value |
|---|---|
| Caption | Warehouse Receipt Header |
| DataClassification | CustomerContent |
| Permissions | TableData "Warehouse Receipt Line" = rd |

## 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 |
|---|---|---|---|---|
| 1 | No. | Code[20] | Specifies the number of the involved entry or record, according to the specified number series. |  |
| 2 | Location Code | Code[10] | Specifies the code of the location in which the items are being received. | TableRelation [Table 14 "Location"](../table/14.md) (Location where("Use As In-Transit" = const(false))) |
| 3 | Assigned User ID | Code[50] | Specifies the ID of the user who is responsible for the document. | TableRelation [Table 7301 "Warehouse Employee"](../table/7301.md) ("Warehouse Employee" where("Location Code" = field("Location Code"))); DataClassification EndUserIdentifiableInformation |
| 4 | Assignment Date | Date | Specifies the date when the user was assigned the activity. | not editable |
| 5 | Assignment Time | Time | Specifies the time when the user was assigned the activity. | not editable |
| 6 | Sorting Method | Enum "Warehouse Receipt Sorting Method" | Specifies the method by which the receipts are sorted. | enum [Enum 7301 "Warehouse Receipt Sorting Method"](../enum/7301.md) |
| 7 | No. Series | Code[20] | — | TableRelation [Table 308 "No. Series"](../table/308.md) (No. Series) |
| 8 | Zone Code | Code[10] | Specifies the zone in which the items are being received if you are using directed put-away and pick. | TableRelation [Table 7300 "Zone"](../table/7300.md) (Zone.Code where("Location Code" = field("Location Code"))) |
| 9 | Bin Code | Code[20] | Specifies the bin where the items are picked or put away. | TableRelation [Table 7354 "Bin"](../table/7354.md) (if ("Zone Code" = filter('')) Bin.Code where("Location Code" = field("Location Code")) else if ("Zone Code" = filter(<> '')) Bin.Code where("Location Code" = field("Location Code"), "Zone Code" = field("Zone Code"))) |
| 10 | Document Status | Option | Specifies the status of the warehouse receipt. | OptionCaption: ,Partially Received,Completely Received; not editable |
| 11 | Comment | Boolean | — | FlowField: exist("Warehouse Comment Line" where("Table Name" = const("Whse. Receipt"), Type = const(" "), "No." = field("No."))); not editable |
| 12 | Posting Date | Date | Specifies the posting date of the warehouse receipt. |  |
| 13 | Vendor Shipment No. | Code[35] | Specifies the vendor's shipment number. It is inserted in the corresponding field on the source document during posting. |  |
| 16 | Cross-Dock Zone Code | Code[10] | — | TableRelation [Table 7300 "Zone"](../table/7300.md) (Zone.Code where("Location Code" = field("Location Code"), "Cross-Dock Bin Zone" = const(true))) |
| 17 | Cross-Dock Bin Code | Code[20] | — | TableRelation [Table 7354 "Bin"](../table/7354.md) (if ("Cross-Dock Zone Code" = filter('')) Bin.Code where("Location Code" = field("Location Code"), "Cross-Dock Bin" = const(true)) else if ("Cross-Dock Zone Code" = filter(<> '')) Bin.Code where("Location Code" = field("Location Code"), "Zone Code" = field("Cross-Dock Zone Code"), "Cross-Dock Bin" = ...) |
| 50 | Create Posted Header | Boolean | — |  |
| 51 | Receiving No. | Code[20] | — |  |
| 62 | Last Receiving No. | Code[20] | — | TableRelation [Table 7318 "Posted Whse. Receipt Header"](../table/7318.md) (Posted Whse. Receipt Header) |
| 63 | Receiving No. Series | Code[20] | — | TableRelation [Table 308 "No. Series"](../table/308.md) (No. Series) |

## Keys

- Key1: No. (clustered)
- Key2: Location Code

## Events published

- `OnAfterAssistEdit(var WarehouseReceiptHeader: Record "Warehouse Receipt Header")` (integration)
- `OnAfterOnInsert(var WarehouseReceiptHeader: Record "Warehouse Receipt Header"; var xWarehouseReceiptHeader: Record "Warehouse Receipt Header"; Location: Record Location)` (integration)
- `OnAfterReceiptLinesEditable(WarehouseReceiptHeader: Record "Warehouse Receipt Header"; var IsEditable: Boolean)` (integration)
- `OnBeforeDeleteWhseRcptRelatedLines(var WhseRcptLine: Record "Warehouse Receipt Line"; var SkipConfirm: Boolean)` (integration)
- `OnBeforeGetLocation(LocationCode: Code[10]; var WarehouseReceiptHeader: Record "Warehouse Receipt Header"; var Location: Record Location; var IsHandled: Boolean)` (integration)
- `OnBeforeErrorIfUserIsNotWhseEmployee(LocationCode: Code[10]; var IsHandled: Boolean)` (integration)
- `OnBeforeSortWhseDoc(var WarehouseReceiptHeader: Record "Warehouse Receipt Header"; var IsHandled: Boolean)` (integration)
- `OnSortWhseDocOnCaseSortingMethodElse(var WarehouseReceiptHeader: Record "Warehouse Receipt Header"; var WhseRcptLine: Record "Warehouse Receipt Line")` (integration)
- `OnValidateLocationCodeOnAfterTransferLocationFields(var WarehouseReceiptHeader: Record "Warehouse Receipt Header"; xWarehouseReceiptHeader: Record "Warehouse Receipt Header"; Location: Record Location)` (integration)

## Procedures

- `AssistEdit(OldWhseRcptHeader: Record "Warehouse Receipt Header"): Boolean`
- `SortWhseDoc()`
- `MessageIfReceiptLinesExist(ChangedFieldName: Text[80])`
- `DeleteRelatedLines(UseTableTrigger: Boolean)`
- `GetHeaderStatus(SkipLineNo: Integer): Integer`
- `LookupLocation(var WhseRcptHeader: Record "Warehouse Receipt Header")`
- `GetLocation(LocationCode: Code[10]): Record Location`
- `SetHideValidationDialog(NewHideValidationDialog: Boolean)`
- `FindFirstAllowedRec(Which: Text[1024]): Boolean`
- `FindNextAllowedRec(Steps: Integer): Integer`
- `ErrorIfUserIsNotWhseEmployee()`
- `ReceiptLinesEditable(): Boolean`
- `BinCodeMandatory(): Boolean`

## Triggers

OnDelete, OnInsert, OnRename

## Relations

- lookup page [Page 7332 "Warehouse Receipts"](../page/7332.md)
- Location Code: TableRelation [Table 14 "Location"](../table/14.md)
- No. Series: TableRelation [Table 308 "No. Series"](../table/308.md)
- Receiving No. Series: TableRelation [Table 308 "No. Series"](../table/308.md)
- Comment: CalcFormula [Table 5770 "Warehouse Comment Line"](../table/5770.md)
- Cross-Dock Zone Code: TableRelation [Table 7300 "Zone"](../table/7300.md)
- Zone Code: TableRelation [Table 7300 "Zone"](../table/7300.md)
- Assigned User ID: TableRelation [Table 7301 "Warehouse Employee"](../table/7301.md)
- Last Receiving No.: TableRelation [Table 7318 "Posted Whse. Receipt Header"](../table/7318.md)
- Bin Code: TableRelation [Table 7354 "Bin"](../table/7354.md) (conditional)
- Cross-Dock Bin Code: TableRelation [Table 7354 "Bin"](../table/7354.md) (conditional)

## Referenced by

1 fields in 1 objects relate to this table (TableRelation or CalcFormula).

- [Table 9051 "Warehouse WMS Cue"](../table/9051.md): Arrivals

## Pages and codeunits on this table

- [Page 5768 "Warehouse Receipt"](../page/5768.md) (source table)
- [Page 7332 "Warehouse Receipts"](../page/7332.md) (source table)

## Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Codeunit 7302 "WMS Management"](../codeunit/7302.md) (3 calls: `ErrorIfUserIsNotWhseEmployee → CheckUserIsWhseEmployee`, `FindFirstAllowedRec → LocationIsAllowedToView`, `FindNextAllowedRec → LocationIsAllowedToView`)
- [Page 456 "No. Series"](../page/456.md) (2 calls: `AssistEdit → (object)`, `OnInsert → (object)`)
- [Page 7347 "Locations with Warehouse List"](../page/7347.md) (1 call: `LookupLocation → (object)`)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24, BC26, BC28

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). The call sections above are our own, per object, from the BC29 call graph. 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: "table", object_name: "Warehouse Receipt Header")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
