Table 5766 "Warehouse Activity Header"
Base Application · Microsoft.Warehouse.Activity
Across versions
- BC23present
- BC241 procedures added
- BC251 fields added
- BC261 fields changed, 1 events added
- BC271 procedures added, 1 events added
- BC2818 fields changed
- BC291 procedures added
- BC30unchanged
Neighbourhood 37 connected objects and pages
Base Application · Microsoft.Warehouse.Activity · BC23-30 · source at ea08af5e · facts from BC29
Learn documents this table through its pages: Page 7382 “Inventory Movement” (2 Learn pages), Page 7315 “Warehouse Movement” (1), Page 9314 “Warehouse Movements” (1), Page 9330 “Inventory Movements” (1).
Properties
| Property | Value |
|---|---|
| Caption | Warehouse Activity Header |
| DataClassification | CustomerContent |
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 | Type Δ BC28 | Enum “Warehouse Activity Type” | Specifies the type of activity, such as Put-away, that the warehouse performs on the lines that are attached to the header. | enum Enum 5767 “Warehouse Activity Type” |
| 2 | No. Δ BC28 | Code[20] | Specifies the number of the involved entry or record, according to the specified number series. | |
| 3 | Location Code Δ BC28 | Code[10] | Specifies the code for the location where the warehouse activity takes place. | TableRelation Table 14 “Location” (Location where(“Use As In-Transit” = const(false))) |
| 4 | Assigned User ID Δ BC28 | Code[50] | Specifies the ID of the user who is responsible for the document. | TableRelation Table 7301 “Warehouse Employee” (“Warehouse Employee” where(“Location Code” = field(“Location Code”))); DataClassification EndUserIdentifiableInformation |
| 5 | Assignment Date Δ BC28 | Date | Specifies the date when the user was assigned the activity. | not editable |
| 6 | Assignment Time Δ BC28 | Time | Specifies the time when the user was assigned the activity. | not editable |
| 7 | Sorting Method Δ BC28 | Enum “Whse. Activity Sorting Method” | Specifies the method by which the lines are sorted on the warehouse header, such as Item or Document. | enum Enum 7300 “Whse. Activity Sorting Method” |
| 9 | No. Series | Code[20] | — | TableRelation Table 308 “No. Series” (No. Series) |
| 10 | Comment | Boolean | — | FlowField: exist(“Warehouse Comment Line” where(“Table Name” = const(“Whse. Activity Header”), Type = field(Type), “No.” = field(“No.”))); not editable |
| 12 | No. Printed | Integer | — | not editable |
| 13 | No. of Lines Δ BC28 | Integer | Specifies the number of lines in the warehouse activity document. | FlowField: count(“Warehouse Activity Line” where(“Activity Type” = field(Type), “No.” = field(“No.”), “Source Type” = field(“Source Type Filter”), “Source Subtype” = field(“Source Subtype Filter”), “Source No.” = field(“Source No. Filter”), “Location Code” = field(“Location Filter”))); not editable |
| 14 | Source Type Filter | Integer | — | FlowFilter |
| 15 | Source Subtype Filter | Option | — | FlowFilter; OptionCaption: 0,1,2,3,4,5,6,7,8,9,10 |
| 16 | Source No. Filter | Code[250] | — | FlowFilter |
| 17 | Location Filter | Code[250] | — | TableRelation Table 14 “Location”; FlowFilter |
| 20 | Posting Date Δ BC28 | Date | Specifies the date when the warehouse activity should be recorded as being posted. | |
| 61 | Registering No. | Code[20] | — | |
| 62 | Last Registering No. | Code[20] | — | TableRelation Table 5772 “Registered Whse. Activity Hdr.” (if (Type = const(“Put-away”)) “Registered Whse. Activity Hdr.”.“No.” where(Type = const(“Put-away”)) else if (Type = const(Pick)) “Registered Whse. Activity Hdr.”.“No.” where(Type = const(Pick)) else if (Type = const(Movement)) “Registered Whse. Activity Hdr.”.“No.” where(Type = const(Movement))); not editable |
| 63 | Registering No. Series | Code[20] | — | TableRelation Table 308 “No. Series” (No. Series) |
| 7303 | Date of Last Printing | Date | — | not editable |
| 7304 | Time of Last Printing | Time | — | not editable |
| 7305 | Breakbulk Filter Δ BC28 | Boolean | Specifies that the intermediate Take and Place lines will not show as put-away, pick, or movement lines, when the quantity in the larger unit of measure is being put-away, picked or moved completely. | |
| 7306 | Source No. Δ BC28 | Code[20] | Specifies the number of the source document that the entry originates from. | |
| 7307 | Source Document Δ BC28 | Enum “Warehouse Activity Source Document” | Specifies the type of document that the line relates to. | enum Enum 5768 “Warehouse Activity Source Document” |
| 7308 | Source Type | Integer | — | |
| 7309 | Source Subtype | Option | — | OptionCaption: 0,1,2,3,4,5,6,7,8,9,10; not editable |
| 7310 | Destination Type Δ BC28 | enum “Warehouse Destination Type” | Specifies information about the type of destination, such as customer or vendor, associated with the warehouse activity. | enum Enum 7310 “Warehouse Destination Type” |
| 7311 | Destination No. Δ BC26 Δ BC28 | Code[20] | Specifies the number or the code of the customer or vendor that the line is linked to. | TableRelation Table 14 “Location”, Table 18 “Customer”, Table 23 “Vendor” (if (“Destination Type” = const(Vendor)) Vendor else if (“Destination Type” = const(Customer)) Customer else if (“Destination Type” = const(Location)) Location else if (“Destination Type” = const(Item)) Item else if (“Destination Type” = const(“Sales Order”)) “Sales Header”.“No.” where(“Document Type…) |
| 7312 | External Document No. Δ BC28 | Code[35] | Specifies a document number that refers to the customer’s or vendor’s numbering system. | |
| 7313 | Expected Receipt Date Δ BC28 | Date | Specifies the date you expect the items to be available in your warehouse. If you leave the field blank, it will be calculated as follows: Planned Receipt Date + Safety Lead Time + Inbound Warehouse Handling Time = Expected Receipt Date. | |
| 7314 | Shipment Date Δ BC28 | Date | Specifies when items on the document are shipped or were shipped. A shipment date is usually calculated from a requested delivery date plus lead time. | |
| 7315 | External Document No.2 Δ BC28 | Code[35] | Specifies an additional part of the document number that refers to the customer’s or vendor’s numbering system. | |
| 7316 | Do Not Fill Qty. to Handle + BC25 | Boolean | — |
Keys
- Key1: Type, No. (clustered)
- Key2: Location Code, Shipment Date
- Key3: Source Document, Source No., Location Code
- Key4: Assigned User ID
Events published
OnAfterDeleteWhseActivHeader(var WarehouseActivityHeader: Record "Warehouse Activity Header")(integration)OnAfterGetNoSeriesCode(var WarehouseActivityHeader: Record "Warehouse Activity Header"; var NoSeriesCode: Code[20])(integration)OnBeforeErrorIfUserIsNotWhseEmployee(LocationCode: Code[10]; var IsHandled: Boolean)(integration)OnBeforeGetUserLocation(var LocationCode: Code[10]; var IsHandled: Boolean)(integration)OnBeforeSortWhseDoc(var WarehouseActivityHeader: Record "Warehouse Activity Header"; var IsHandled: Boolean)(integration)OnCaseSortWhseDoc(WarehouseActivityHeader: Record "Warehouse Activity Header"; var WarehouseActivityLine: Record "Warehouse Activity Line"; var SequenceNo: Integer)(integration)OnBeforeGetRegisteringNoSeriesCode(var WarehouseActivityHeader: Record "Warehouse Activity Header"; WarehouseSetup: Record "Warehouse Setup"; var Result: Code[20]; var IsHandled: Boolean)(integration)OnAfterSortWhseDoc(var WarehouseActivityHeader: Record "Warehouse Activity Header")(integration)OnSortWhseDocByShelfOrBinOnBeforeWhseActivLine2Find(var WarehouseActivityLine2: Record "Warehouse Activity Line"; var TempWarehouseActivityLine: Record "Warehouse Activity Line" temporary)(integration)OnValidateSourceDocumentOnAssignSourceType(var WarehouseActivityHeader: Record "Warehouse Activity Header")+ BC26 (integration)- subscribers: Codeunit 5996 “Prod. Order Warehouse Mgt.” OnValidateSourceDocumentOnAssignSourceType
OnProdWhseHandlingIsInventoryPutaway(Location: Record Location; var Result: Boolean)+ BC27 (internal)- subscribers: Codeunit 5996 “Prod. Order Warehouse Mgt.” OnProdWhseHandlingIsInventoryPutaway
Procedures
AssistEdit(OldWhseActivHeader: Record "Warehouse Activity Header"): BooleanSortWhseDoc()SortWhseDocByShelfOrBin(var WhseActivLine2: Record "Warehouse Activity Line"; var SequenceNo: Integer)SortLinesBinShelf(var WarehouseActivityLineParam: Record "Warehouse Activity Line"; var SeqNo: Integer; SortOrder: Option Bin,Shelf)SetActivityFilter(var WhseActivLineFrom: Record "Warehouse Activity Line"; var WhseActivLineTo: Record "Warehouse Activity Line")LookupActivityHeader(var CurrentLocationCode: Code[10]; var WhseActivHeader: Record "Warehouse Activity Header")LineExist(): BooleanFindFirstAllowedRec(Which: Text[1024]): BooleanFindNextAllowedRec(Steps: Integer): IntegerErrorIfUserIsNotWhseEmployee()GetUserLocation(): Code[10]Lock()BinCodeMandatory(): BooleanIsInvoiceNoMandatory(): Boolean(internal)AssignToCurrentUser()+ BC24 (internal)ProdWhseHandlingIsInventoryPutaway(Location: Record Location): Boolean+ BC27 (internal)PostInboundTransferInOneStep(): Boolean+ BC29 (internal): Determines whether the inbound transfer should be posted in one step.
Plus 10 local procedures.
Triggers
OnDelete, OnInsert, OnRename
Relations
- lookup page Page 5774 “Warehouse Activity List”
- Destination No.: TableRelation Table 14 “Location” (conditional)
- Location Code: TableRelation Table 14 “Location”
- Location Filter: TableRelation Table 14 “Location”
- Destination No.: TableRelation Table 18 “Customer” (conditional)
- Destination No.: TableRelation Table 23 “Vendor” (conditional)
- Destination No.: TableRelation Table 27 “Item” (conditional)
- No. Series: TableRelation Table 308 “No. Series”
- Registering No. Series: TableRelation Table 308 “No. Series”
- Destination No.: TableRelation Table 36 “Sales Header” (conditional)
- No. of Lines: CalcFormula Table 5767 “Warehouse Activity Line”
- Comment: CalcFormula Table 5770 “Warehouse Comment Line”
- Last Registering No.: TableRelation Table 5772 “Registered Whse. Activity Hdr.” (conditional)
- Assigned User ID: TableRelation Table 7301 “Warehouse Employee”
Referenced by
16 fields in 4 objects relate to this table (TableRelation or CalcFormula).
- Table 9051 “Warehouse WMS Cue”: Movements - All, Picks - All, Put-aways - All, Unassigned Movements, Unassigned Picks, Unassigned Put-aways
- Table 9058 “Warehouse Worker WMS Cue”: My Movements, My Picks, My Put-aways, Unassigned Movements, Unassigned Picks, Unassigned Put-aways
- Table 9050 “Warehouse Basic Cue”: Invt. Picks Until Today, Invt. Put-aways Until Today
- Table 9056 “Manufacturing Cue”: Invt. Picks to Production, Invt. Put-aways from Prod.
Pages and codeunits on this table
- Page 5770 “Warehouse Put-away” (source table)
- Page 5774 “Warehouse Activity List” (source table)
- Page 5779 “Warehouse Pick” (source table)
- Page 7315 “Warehouse Movement” (source table)
- Page 7375 “Inventory Put-away” (source table)
- Page 7377 “Inventory Pick” (source table)
- Page 7382 “Inventory Movement” (source table)
- Page 9312 “Warehouse Put-aways” (source table)
- Page 9313 “Warehouse Picks” (source table)
- Page 9314 “Warehouse Movements” (source table)
- Page 9315 “Inventory Put-aways” (source table)
- Page 9316 “Inventory Picks” (source table)
- Page 9330 “Inventory Movements” (source table)
- Codeunit 5779 “Whse.-Printed” (codeunit runs on it)
- Codeunit 7321 “Create Inventory Put-away” (codeunit runs on it)
- Codeunit 7322 “Create Inventory Pick/Movement” (codeunit runs on it)
Extended by
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” (3 calls:
ErrorIfUserIsNotWhseEmployee → CheckUserIsWhseEmployee,FindFirstAllowedRec → LocationIsAllowedToView,FindNextAllowedRec → LocationIsAllowedToView) - Page 456 “No. Series” (2 calls:
AssistEdit → (object),OnInsert → (object)) - Codeunit 99 “Posting Selection Management” (1 call:
IsInvoiceNoMandatory → IsPostingInvoiceMandatoryPurchase)
Recent changes
- 2026-07-17 #8905 [Master] Different source reference on reservation entries created directly from Job Planning Line and via a warehouse pick. (main, BC30, fix)
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 Activity Header"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.