---
title: "Table 5766 Warehouse Activity Header"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/table/5766-warehouse-activity-header/
type: table
id: 5766
name: "Warehouse Activity Header"
app: "Base Application"
namespace: Microsoft.Warehouse.Activity
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/table/5766-warehouse-activity-header/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Table 5766 Warehouse Activity Header

Jonas Paprotka, https://jonas-paprotka.de/ref/table/5766-warehouse-activity-header/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Warehouse.Activity |
| Versions | 17-28 |
| Source file | Warehouse/Activity/WarehouseActivityHeader.Table.al |

## Fields

| Id | Name | Type | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| 1 | Type | Enum Warehouse Activity Type | 17-28 | - | - |
| 2 | No. | Code[20] | 17-28 | - | - |
| 3 | Location Code | Code[10] | 17-28 | - | - |
| 4 | Assigned User ID | Code[50] | 17-28 | - | - |
| 5 | Assignment Date | Date | 17-28 | - | - |
| 6 | Assignment Time | Time | 17-28 | - | - |
| 7 | Sorting Method | Enum Whse. Activity Sorting Method | 17-28 | - | - |
| 9 | No. Series | Code[20] | 17-28 | - | - |
| 10 | Comment | Boolean | 17-28 | - | - |
| 12 | No. Printed | Integer | 17-28 | - | - |
| 13 | No. of Lines | Integer | 17-28 | - | - |
| 14 | Source Type Filter | Integer | 17-28 | - | - |
| 15 | Source Subtype Filter | Option | 17-28 | - | - |
| 16 | Source No. Filter | Code[250] | 17-28 | - | - |
| 17 | Location Filter | Code[250] | 17-28 | - | - |
| 20 | Posting Date | Date | 17-28 | - | - |
| 61 | Registering No. | Code[20] | 17-28 | - | - |
| 62 | Last Registering No. | Code[20] | 17-28 | - | - |
| 63 | Registering No. Series | Code[20] | 17-28 | - | - |
| 7303 | Date of Last Printing | Date | 17-28 | - | - |
| 7304 | Time of Last Printing | Time | 17-28 | - | - |
| 7305 | Breakbulk Filter | Boolean | 17-28 | - | - |
| 7306 | Source No. | Code[20] | 17-28 | - | - |
| 7307 | Source Document | Enum Warehouse Activity Source Document | 17-28 | - | - |
| 7308 | Source Type | Integer | 17-28 | - | - |
| 7309 | Source Subtype | Option | 17-28 | - | - |
| 7310 | Destination Type | Enum Warehouse Destination Type | 17-28 | - | - |
| 7311 | Destination No. | Code[20] | 17-28 | - | - |
| 7312 | External Document No. | Code[35] | 17-28 | - | - |
| 7313 | Expected Receipt Date | Date | 17-28 | - | - |
| 7314 | Shipment Date | Date | 17-28 | - | - |
| 7315 | External Document No.2 | Code[35] | 17-28 | - | - |
| 7316 | Do Not Fill Qty. to Handle | Boolean | 25-28 | - | - |

## Keys

| Name | Fields | Versions |
| --- | --- | --- |
| Key1, clustered | Type, No. | 17-28 |
| Key2 | Location Code, Shipment Date | 17-28 |
| Key3 | Source Document, Source No., Location Code | 17-28 |
| Key4 | Assigned User ID | 17-28 |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| AssistEdit | (Record Warehouse Activity Header) | Boolean | public | 17-28 | - | - |
| SortWhseDoc | () | - | public | 17-28 | - | - |
| SortWhseDocByShelfOrBin | (var Record Warehouse Activity Line, var Integer) | - | public | 17-28 | - | - |
| SortLinesBinShelf | (var Record Warehouse Activity Line, var Integer, Option) | - | public | 17-28 | - | - |
| SetActivityFilter | (var Record Warehouse Activity Line, var Record Warehouse Activity Line) | - | public | 17-28 | - | - |
| LookupActivityHeader | (var Code[10], var Record Warehouse Activity Header) | - | public | 17-28 | - | - |
| LineExist | () | Boolean | public | 17-28 | - | - |
| FindFirstAllowedRec | (Text[1024]) | Boolean | public | 17-28 | - | - |
| FindNextAllowedRec | (Integer) | Integer | public | 17-28 | - | - |
| ErrorIfUserIsNotWhseEmployee | () | - | public | 17-28 | - | - |
| GetUserLocation | () | Code[10] | public | 17-28 | - | - |
| Lock | () | - | public | 18-28 | - | - |
| BinCodeMandatory | () | Boolean | public | 22-28 | - | - |
| IsInvoiceNoMandatory | () | Boolean | internal | 23-28 | - | - |
| AssignToCurrentUser | () | - | internal | 24-28 | - | - |
| ProdWhseHandlingIsInventoryPutaway | (Record Location) | Boolean | internal | 27-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnAfterDeleteWhseActivHeader | (var Record Warehouse Activity Header) | 17-28 | - | - |
| Integration event | OnAfterGetNoSeriesCode | (var Record Warehouse Activity Header, var Code[20]) | 17-28 | - | - |
| Integration event | OnBeforeErrorIfUserIsNotWhseEmployee | (Code[10], var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeGetUserLocation | (var Code[10], var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeSortWhseDoc | (var Record Warehouse Activity Header, var Boolean) | 17-28 | - | - |
| Integration event | OnCaseSortWhseDoc | (Record Warehouse Activity Header, var Record Warehouse Activity Line, var Integer) | 17-28 | - | - |
| Integration event | OnBeforeGetRegisteringNoSeriesCode | (var Record Warehouse Activity Header, Record Warehouse Setup, var Code[20], var Boolean) | 21-28 | - | - |
| Integration event | OnAfterSortWhseDoc | (var Record Warehouse Activity Header) | 23-28 | - | - |
| Integration event | OnSortWhseDocByShelfOrBinOnBeforeWhseActivLine2Find | (var Record Warehouse Activity Line, var Record Warehouse Activity Line) | 23-28 | - | - |
| Integration event | OnValidateSourceDocumentOnAssignSourceType | (var Record Warehouse Activity Header) | 26-28 | - | - |
| Internal event | OnProdWhseHandlingIsInventoryPutaway | (Record Location, var Boolean) | 27-28 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
