Table of Contents

Table "Warehouse Activity Header"

ID 5766
Namespace: Microsoft.Warehouse.Activity

Properties

Name Value
Caption Warehouse Activity Header
LookupPageID Page Microsoft.Warehouse.Activity."Warehouse Activity List"
DataClassification CustomerContent

Fields

Name Type Description
Type Enum Microsoft.Warehouse.Activity."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.

"No." Code[20]

Specifies the number of the involved entry or record, according to the specified number series.

"Location Code" Code[10]

Specifies the code for the location where the warehouse activity takes place.

"Assigned User ID" Code[50]

Specifies the ID of the user who is responsible for the document.

"Assignment Date" Date

Specifies the date when the user was assigned the activity.

"Assignment Time" Time

Specifies the time when the user was assigned the activity.

"Sorting Method" Enum Microsoft.Warehouse.Activity."Whse. Activity Sorting Method"

Specifies the method by which the lines are sorted on the warehouse header, such as Item or Document.

"No. Series" Code[20]
Comment Boolean
"No. Printed" Integer
"No. of Lines" Integer

Specifies the number of lines in the warehouse activity document.

"Source Type Filter" Integer
"Source Subtype Filter" Option
"Source No. Filter" Code[250]
"Location Filter" Code[250]
"Posting Date" Date

Specifies the date when the warehouse activity should be recorded as being posted.

"Registering No." Code[20]
"Last Registering No." Code[20]
"Registering No. Series" Code[20]
"Date of Last Printing" Date
"Time of Last Printing" Time
"Breakbulk Filter" 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.

"Source No." Code[20]

Specifies the number of the source document that the entry originates from.

"Source Document" Enum Microsoft.Warehouse.Activity."Warehouse Activity Source Document"

Specifies the type of document that the line relates to.

"Source Type" Integer
"Source Subtype" Option
"Destination Type" Enum Microsoft.Warehouse.Request."Warehouse Destination Type"

Specifies information about the type of destination, such as customer or vendor, associated with the warehouse activity.

"Destination No." Code[20]

Specifies the number or the code of the customer or vendor that the line is linked to.

"External Document No." Code[35]

Specifies a document number that refers to the customer's or vendor's numbering system.

"Expected Receipt Date" 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.

"Shipment Date" 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.

"External Document No.2" Code[35]

Specifies an additional part of the document number that refers to the customer's or vendor's numbering system.

"Do Not Fill Qty. to Handle" Boolean
SystemId Guid
SystemCreatedAt DateTime
SystemCreatedBy Guid
SystemModifiedAt DateTime
SystemModifiedBy Guid
SystemCreatedByUserName Text[50]
SystemCreatedByFullName Text[80]
SystemModifiedByUserName Text[50]
SystemModifiedByFullName Text[80]
SystemRowVersion BigInteger

Methods

AssistEdit

procedure AssistEdit(OldWhseActivHeader: Record "Warehouse Activity Header"): Boolean

Parameters

Name Type Description
OldWhseActivHeader Table Microsoft.Warehouse.Activity."Warehouse Activity Header"

Returns

Type Description
Boolean

SortWhseDoc

procedure SortWhseDoc()

SortWhseDocByShelfOrBin

procedure SortWhseDocByShelfOrBin(var WhseActivLine2: Record "Warehouse Activity Line"; var SequenceNo: Integer)

Parameters

Name Type Description
WhseActivLine2 Table Microsoft.Warehouse.Activity."Warehouse Activity Line"
SequenceNo Integer

SortLinesBinShelf

procedure SortLinesBinShelf(var WarehouseActivityLineParam: Record "Warehouse Activity Line"; var SeqNo: Integer; SortOrder: Option)

Parameters

Name Type Description
WarehouseActivityLineParam Table Microsoft.Warehouse.Activity."Warehouse Activity Line"
SeqNo Integer
SortOrder Option

SetActivityFilter

procedure SetActivityFilter(var WhseActivLineFrom: Record "Warehouse Activity Line"; var WhseActivLineTo: Record "Warehouse Activity Line")

Parameters

Name Type Description
WhseActivLineFrom Table Microsoft.Warehouse.Activity."Warehouse Activity Line"
WhseActivLineTo Table Microsoft.Warehouse.Activity."Warehouse Activity Line"

LookupActivityHeader

procedure LookupActivityHeader(var CurrentLocationCode: Code[10]; var WhseActivHeader: Record "Warehouse Activity Header")

Parameters

Name Type Description
CurrentLocationCode Code[10]
WhseActivHeader Table Microsoft.Warehouse.Activity."Warehouse Activity Header"

LineExist

procedure LineExist(): Boolean

Returns

Type Description
Boolean

FindFirstAllowedRec

procedure FindFirstAllowedRec(Which: Text[1024]): Boolean

Parameters

Name Type Description
Which Text[1024]

Returns

Type Description
Boolean

FindNextAllowedRec

procedure FindNextAllowedRec(Steps: Integer): Integer

Parameters

Name Type Description
Steps Integer

Returns

Type Description
Integer

ErrorIfUserIsNotWhseEmployee

procedure ErrorIfUserIsNotWhseEmployee()

GetUserLocation

procedure GetUserLocation(): Code[10]

Returns

Type Description
Code[10]

Lock

procedure Lock()

BinCodeMandatory

procedure BinCodeMandatory(): Boolean

Returns

Type Description
Boolean

Events

OnAfterDeleteWhseActivHeader

[IntegrationEvent(False,False)]
local procedure OnAfterDeleteWhseActivHeader(var WarehouseActivityHeader: Record "Warehouse Activity Header")

Parameters

Name Type Description
WarehouseActivityHeader Table Microsoft.Warehouse.Activity."Warehouse Activity Header"

OnAfterGetNoSeriesCode

[IntegrationEvent(False,False)]
local procedure OnAfterGetNoSeriesCode(var WarehouseActivityHeader: Record "Warehouse Activity Header"; var NoSeriesCode: Code[20])

Parameters

Name Type Description
WarehouseActivityHeader Table Microsoft.Warehouse.Activity."Warehouse Activity Header"
NoSeriesCode Code[20]

OnBeforeErrorIfUserIsNotWhseEmployee

[IntegrationEvent(False,False)]
local procedure OnBeforeErrorIfUserIsNotWhseEmployee(LocationCode: Code[10]; var IsHandled: Boolean)

Parameters

Name Type Description
LocationCode Code[10]
IsHandled Boolean

OnBeforeGetUserLocation

[IntegrationEvent(False,False)]
local procedure OnBeforeGetUserLocation(var LocationCode: Code[10]; var IsHandled: Boolean)

Parameters

Name Type Description
LocationCode Code[10]
IsHandled Boolean

OnBeforeSortWhseDoc

[IntegrationEvent(False,False)]
local procedure OnBeforeSortWhseDoc(var WarehouseActivityHeader: Record "Warehouse Activity Header"; var IsHandled: Boolean)

Parameters

Name Type Description
WarehouseActivityHeader Table Microsoft.Warehouse.Activity."Warehouse Activity Header"
IsHandled Boolean

OnCaseSortWhseDoc

[IntegrationEvent(False,False)]
local procedure OnCaseSortWhseDoc(WarehouseActivityHeader: Record "Warehouse Activity Header"; var WarehouseActivityLine: Record "Warehouse Activity Line"; var SequenceNo: Integer)

Parameters

Name Type Description
WarehouseActivityHeader Table Microsoft.Warehouse.Activity."Warehouse Activity Header"
WarehouseActivityLine Table Microsoft.Warehouse.Activity."Warehouse Activity Line"
SequenceNo Integer

OnBeforeGetRegisteringNoSeriesCode

[IntegrationEvent(False,False)]
local procedure OnBeforeGetRegisteringNoSeriesCode(var WarehouseActivityHeader: Record "Warehouse Activity Header"; WarehouseSetup: Record "Warehouse Setup"; var Result: Code[20]; var IsHandled: Boolean)

Parameters

Name Type Description
WarehouseActivityHeader Table Microsoft.Warehouse.Activity."Warehouse Activity Header"
WarehouseSetup Table Microsoft.Warehouse.Setup."Warehouse Setup"
Result Code[20]
IsHandled Boolean

OnAfterSortWhseDoc

[IntegrationEvent(False,False)]
local procedure OnAfterSortWhseDoc(var WarehouseActivityHeader: Record "Warehouse Activity Header")

Parameters

Name Type Description
WarehouseActivityHeader Table Microsoft.Warehouse.Activity."Warehouse Activity Header"

OnSortWhseDocByShelfOrBinOnBeforeWhseActivLine2Find

[IntegrationEvent(False,False)]
local procedure OnSortWhseDocByShelfOrBinOnBeforeWhseActivLine2Find(var WarehouseActivityLine2: Record "Warehouse Activity Line"; var TempWarehouseActivityLine: Record "Warehouse Activity Line" temporary)

Parameters

Name Type Description
WarehouseActivityLine2 Table Microsoft.Warehouse.Activity."Warehouse Activity Line"
TempWarehouseActivityLine Table Microsoft.Warehouse.Activity."Warehouse Activity Line"

OnValidateSourceDocumentOnAssignSourceType

[IntegrationEvent(False,False)]
local procedure OnValidateSourceDocumentOnAssignSourceType(var WarehouseActivityHeader: Record "Warehouse Activity Header")

Parameters

Name Type Description
WarehouseActivityHeader Table Microsoft.Warehouse.Activity."Warehouse Activity Header"

See also