Table "Warehouse Shipment Line"
ID 7321
Namespace: Microsoft.Warehouse.Document
Properties
Fields
| Name |
Type |
Description |
| "No." |
Code[20]
|
Specifies the number of the involved entry or record, according to the specified number series.
|
| "Line No." |
Integer
|
Specifies the number of the warehouse shipment line.
|
| "Source Type" |
Integer
|
Specifies the number of the table that is the source of the receipt line.
|
| "Source Subtype" |
Option
|
Specifies the source subtype of the document to which the line relates.
|
| "Source No." |
Code[20]
|
Specifies the number of the source document that the entry originates from.
|
| "Source Line No." |
Integer
|
Specifies the line 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.
|
| "Location Code" |
Code[10]
|
Specifies the code of the location from which the items on the line are being shipped.
|
| "Shelf No." |
Code[10]
|
Specifies the shelf number of the item for informational use.
|
| "Bin Code" |
Code[20]
|
Specifies the bin where the items are picked or put away.
|
| "Zone Code" |
Code[10]
|
Specifies the code of the zone where the bin on this shipment line is located.
|
| "Item No." |
Code[20]
|
Specifies the number of the item that should be shipped.
|
| Quantity |
Decimal
|
Specifies the quantity that should be shipped.
|
| "Qty. (Base)" |
Decimal
|
|
| "Qty. Outstanding" |
Decimal
|
Specifies the quantity that still needs to be handled.
|
| "Qty. Outstanding (Base)" |
Decimal
|
|
| "Qty. to Ship" |
Decimal
|
Specifies the quantity of items that remain to be shipped.
|
| "Qty. to Ship (Base)" |
Decimal
|
|
| "Qty. Picked" |
Decimal
|
Specifies how many of the total shipment quantity have been registered as picked.
|
| "Qty. Picked (Base)" |
Decimal
|
|
| "Qty. Shipped" |
Decimal
|
Specifies the quantity of the item on the line that is posted as shipped.
|
| "Qty. Shipped (Base)" |
Decimal
|
|
| "Pick Qty." |
Decimal
|
Specifies the quantity in pick instructions assigned to be picked for the warehouse shipment line.
|
| "Pick Qty. (Base)" |
Decimal
|
|
| "Unit of Measure Code" |
Code[10]
|
Specifies how each unit of the item or resource is measured, such as in pieces or hours. By default, the value in the Base Unit of Measure field on the item or resource card is inserted.
|
| "Qty. per Unit of Measure" |
Decimal
|
Specifies the number of base units of measure that are in the unit of measure specified for the item on the line.
|
| "Variant Code" |
Code[10]
|
Specifies the variant of the item on the line.
|
| Description |
Text[100]
|
Specifies the description of the item in the line.
|
| "Description 2" |
Text[50]
|
Specifies information in addition to the description of the item in the line.
|
| Status |
Enum Microsoft.Warehouse.Document."Warehouse Shipment Status"
|
Specifies the status of the shipment line.
|
| "Sorting Sequence No." |
Integer
|
|
| "Due Date" |
Date
|
Specifies the date when the related warehouse activity, such as a pick, must be completed to ensure items can be shipped by the shipment date.
|
| "Destination Type" |
Enum Microsoft.Warehouse.Request."Warehouse Destination Type"
|
Specifies the type of destination associated with the warehouse shipment line.
|
| "Destination No." |
Code[20]
|
Specifies the number of the customer, vendor, or location to which the items should be shipped.
|
| Cubage |
Decimal
|
|
| Weight |
Decimal
|
|
| "Shipping Advice" |
Enum Microsoft.Foundation.Shipping."Sales Header Shipping Advice"
|
|
| "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.
|
| "Completely Picked" |
Boolean
|
|
| "Not upd. by Src. Doc. Post." |
Boolean
|
|
| "Posting from Whse. Ref." |
Integer
|
|
| "Qty. Rounding Precision" |
Decimal
|
|
| "Qty. Rounding Precision (Base)" |
Decimal
|
|
| "Assemble to Order" |
Boolean
|
Specifies if the warehouse shipment line is for items that are assembled to a sales order before it is shipped.
|
| 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
InitNewLine
procedure InitNewLine(DocNo: Code[20])
Parameters
| Name |
Type |
Description |
|
DocNo
|
Code[20] |
|
CalcQty
procedure CalcQty(QtyBase: Decimal): Decimal
Parameters
| Name |
Type |
Description |
|
QtyBase
|
Decimal |
|
Returns
CalcBaseQty
procedure CalcBaseQty(Qty: Decimal; FromFieldName: Text; ToFieldName: Text): Decimal
Parameters
| Name |
Type |
Description |
|
Qty
|
Decimal |
|
|
FromFieldName
|
Text |
|
|
ToFieldName
|
Text |
|
Returns
CheckBin
procedure CheckBin(DeductCubage: Decimal; DeductWeight: Decimal)
Parameters
| Name |
Type |
Description |
|
DeductCubage
|
Decimal |
|
|
DeductWeight
|
Decimal |
|
CheckSourceDocLineQty
procedure CheckSourceDocLineQty()
GetShipmentLineStatus
procedure GetShipmentLineStatus(): Enum "Warehouse Shipment Status"
Returns
AutofillQtyToHandle
procedure AutofillQtyToHandle(var WhseShptLine: Record "Warehouse Shipment Line")
Parameters
DeleteQtyToHandle
procedure DeleteQtyToHandle(var WhseShptLine: Record "Warehouse Shipment Line")
Parameters
SetHideValidationDialog
procedure SetHideValidationDialog(NewHideValidationDialog: Boolean)
Parameters
| Name |
Type |
Description |
|
NewHideValidationDialog
|
Boolean |
|
CreatePickDoc
procedure CreatePickDoc(var WhseShptLine: Record "Warehouse Shipment Line"; WhseShptHeader2: Record "Warehouse Shipment Header")
Parameters
OpenItemTrackingLines
procedure OpenItemTrackingLines()
SetIgnoreErrors
procedure SetIgnoreErrors()
HasErrorOccured
procedure HasErrorOccured(): Boolean
Returns
GetATOAndNonATOLines
procedure GetATOAndNonATOLines(var ATOWhseShptLine: Record "Warehouse Shipment Line"; var NonATOWhseShptLine: Record "Warehouse Shipment Line"; var ATOLineFound: Boolean; var NonATOLineFound: Boolean)
Parameters
FullATOPosted
procedure FullATOPosted(): Boolean
Returns
InitOutstandingQtys
procedure InitOutstandingQtys()
GetWhseShptLine
procedure GetWhseShptLine(ShipmentNo: Code[20]; SourceType: Integer; SourceSubtype: Option; SourceNo: Code[20]; SourceLineNo: Integer): Boolean
Parameters
| Name |
Type |
Description |
|
ShipmentNo
|
Code[20] |
|
|
SourceType
|
Integer |
|
|
SourceSubtype
|
Option |
|
|
SourceNo
|
Code[20] |
|
|
SourceLineNo
|
Integer |
|
Returns
CreateWhseItemTrackingLines
procedure CreateWhseItemTrackingLines()
DeleteWhseItemTrackingLines
procedure DeleteWhseItemTrackingLines()
SetItemData
procedure SetItemData(ItemNo: Code[20]; ItemDescription: Text[100]; ItemDescription2: Text[50]; LocationCode: Code[10]; VariantCode: Code[10]; UoMCode: Code[10]; QtyPerUoM: Decimal)
Parameters
| Name |
Type |
Description |
|
ItemNo
|
Code[20] |
|
|
ItemDescription
|
Text[100] |
|
|
ItemDescription2
|
Text[50] |
|
|
LocationCode
|
Code[10] |
|
|
VariantCode
|
Code[10] |
|
|
UoMCode
|
Code[10] |
|
|
QtyPerUoM
|
Decimal |
|
SetItemData
procedure SetItemData(ItemNo: Code[20]; ItemDescription: Text[100]; ItemDescription2: Text[50]; LocationCode: Code[10]; VariantCode: Code[10]; UoMCode: Code[10]; QtyPerUoM: Decimal; QtyRndPrec: Decimal; QtyRndPrecBase: Decimal)
Parameters
| Name |
Type |
Description |
|
ItemNo
|
Code[20] |
|
|
ItemDescription
|
Text[100] |
|
|
ItemDescription2
|
Text[50] |
|
|
LocationCode
|
Code[10] |
|
|
VariantCode
|
Code[10] |
|
|
UoMCode
|
Code[10] |
|
|
QtyPerUoM
|
Decimal |
|
|
QtyRndPrec
|
Decimal |
|
|
QtyRndPrecBase
|
Decimal |
|
SetSource
procedure SetSource(SourceType: Integer; SourceSubType: Option; SourceNo: Code[20]; SourceLineNo: Integer)
Parameters
| Name |
Type |
Description |
|
SourceType
|
Integer |
|
|
SourceSubType
|
Option |
|
|
SourceNo
|
Code[20] |
|
|
SourceLineNo
|
Integer |
|
SetSourceFilter
procedure SetSourceFilter(SourceType: Integer; SourceSubType: Option; SourceNo: Code[20]; SourceLineNo: Integer; SetKey: Boolean)
Parameters
| Name |
Type |
Description |
|
SourceType
|
Integer |
|
|
SourceSubType
|
Option |
|
|
SourceNo
|
Code[20] |
|
|
SourceLineNo
|
Integer |
|
|
SetKey
|
Boolean |
|
ClearSourceFilter
procedure ClearSourceFilter()
SuspendStatusCheck
procedure SuspendStatusCheck(Suspend: Boolean)
Parameters
| Name |
Type |
Description |
|
Suspend
|
Boolean |
|
Events
OnAfterAutofillQtyToHandle
[IntegrationEvent(False,False)]
local procedure OnAfterAutofillQtyToHandle(var WarehouseShipmentLine: Record "Warehouse Shipment Line"; var HideValidationDialog: Boolean)
Parameters
OnAfterCreatePickDoc
[IntegrationEvent(False,False)]
local procedure OnAfterCreatePickDoc(var WarehouseShipmentHeader: Record "Warehouse Shipment Header"; var WhseShptLine: Record "Warehouse Shipment Line")
Parameters
OnAfterCreateWhseItemTrackingLines
[IntegrationEvent(False,False)]
local procedure OnAfterCreateWhseItemTrackingLines(var WarehouseShipmentLine: Record "Warehouse Shipment Line")
Parameters
OnAfterGetWhseShptHeader
[IntegrationEvent(False,False)]
local procedure OnAfterGetWhseShptHeader(var WarehouseShipmentLine: Record "Warehouse Shipment Line"; var WarehouseShipmentHeader: Record "Warehouse Shipment Header"; WhseShptNo: Code[20])
Parameters
OnAfterInitQtyToShip
[IntegrationEvent(False,False)]
local procedure OnAfterInitQtyToShip(var WarehouseShipmentLine: Record "Warehouse Shipment Line"; CurrentFieldNo: Integer)
Parameters
OnAfterOpenItemTrackingLines
[IntegrationEvent(False,False)]
local procedure OnAfterOpenItemTrackingLines(var WarehouseShipmentLine: Record "Warehouse Shipment Line"; var SecondSourceQtyArray: array[3] of Decimal)
Parameters
OnAfterSetSourceFilter
[IntegrationEvent(False,False)]
local procedure OnAfterSetSourceFilter(var WarehouseShipmentLine: Record "Warehouse Shipment Line"; SourceType: Integer; SourceSubType: Option; SourceNo: Code[20]; SourceLineNo: Integer; SetKey: Boolean)
Parameters
OnAutoFillQtyToHandleOnBeforeModify
[IntegrationEvent(False,False)]
local procedure OnAutoFillQtyToHandleOnBeforeModify(var WarehouseShipmentLine: Record "Warehouse Shipment Line")
Parameters
OnBeforeAutofillQtyToHandle
[IntegrationEvent(False,False)]
local procedure OnBeforeAutofillQtyToHandle(var WarehouseShipmentLine: Record "Warehouse Shipment Line"; var HideValidationDialog: Boolean; var IsHandled: Boolean)
Parameters
OnBeforeGetShipmentLineStatus
[IntegrationEvent(False,False)]
local procedure OnBeforeGetShipmentLineStatus(var WarehouseShipmentLine: Record "Warehouse Shipment Line"; var NewStatus: Enum "Warehouse Shipment Status"; var IsHandled: Boolean)
Parameters
OnBeforeCheckBin
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckBin(var WarehouseShipmentLine: Record "Warehouse Shipment Line"; var Bin: Record Bin; DeductCubage: Decimal; DeductWeight: Decimal; IgnoreErrors: Boolean; var ErrorOccured: Boolean; var IsHandled: Boolean)
Parameters
OnBeforeCheckSourceDocLineQty
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckSourceDocLineQty(var WarehouseShipmentLine: Record "Warehouse Shipment Line"; var IsHandled: Boolean)
Parameters
OnBeforeCreatePickDoc
[IntegrationEvent(False,False)]
local procedure OnBeforeCreatePickDoc(var WarehouseShipmentLine: Record "Warehouse Shipment Line"; WarehouseShipmentHeader: Record "Warehouse Shipment Header"; HideValidationDialog: Boolean; var IsHandled: Boolean)
Parameters
OnBeforeCompareQtyToShipAndOutstandingQty
[IntegrationEvent(False,False)]
local procedure OnBeforeCompareQtyToShipAndOutstandingQty(var WarehouseShipmentLine: Record "Warehouse Shipment Line"; var IsHandled: Boolean)
Parameters
OnBeforeCompareShipAndPickQty
[IntegrationEvent(False,False)]
local procedure OnBeforeCompareShipAndPickQty(WarehouseShipmentLine: Record "Warehouse Shipment Line"; var IsHandled: Boolean; CurrentFieldNo: Integer)
Parameters
OnValidateQtyToShipOnBeforeCheckConfirm
[IntegrationEvent(False,False)]
local procedure OnValidateQtyToShipOnBeforeCheckConfirm(var Confirmed: Boolean; WarehouseShipmentLine: Record "Warehouse Shipment Line"; CurrentFieldNo: Integer)
Parameters
OnBeforeInitOutstandingQtys
[IntegrationEvent(False,False)]
local procedure OnBeforeInitOutstandingQtys(var WarehouseShipmentLine: Record "Warehouse Shipment Line"; CurrentFieldNo: Integer; var IsHandled: Boolean)
Parameters
OnBeforeOpenItemTrackingLines
[IntegrationEvent(False,False)]
local procedure OnBeforeOpenItemTrackingLines(var WarehouseShipmentLine: Record "Warehouse Shipment Line"; var IsHandled: Boolean)
Parameters
OnBeforeTestReleased
[IntegrationEvent(False,False)]
local procedure OnBeforeTestReleased(var WhseShptHeader: Record "Warehouse Shipment Header"; var StatusCheckSuspended: Boolean)
Parameters
OnBeforeUpdateDocumentStatus
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateDocumentStatus(var WarehouseShipmentLine: Record "Warehouse Shipment Line"; var IsHandled: Boolean)
Parameters
OnBeforeValidateQuantityIsBalanced
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateQuantityIsBalanced(var WarehouseShipmentLine: Record "Warehouse Shipment Line"; var IsHandled: Boolean; xWarehouseShipmentLine: Record "Warehouse Shipment Line")
Parameters
OnBeforeValidateQtyToShipBase
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateQtyToShipBase(var WarehouseShipmentLine: Record "Warehouse Shipment Line"; xWarehouseShipmentLine: Record "Warehouse Shipment Line"; CallingFieldNo: Integer; var IsHandled: Boolean)
Parameters
OnBeforeCreateWhseItemTrackingLines
[IntegrationEvent(False,False)]
local procedure OnBeforeCreateWhseItemTrackingLines(var WarehouseShipmentLine: Record "Warehouse Shipment Line"; var IsHandled: Boolean)
Parameters
OnCheckSourceDocLineQtyOnBeforeFieldError
[IntegrationEvent(False,False)]
local procedure OnCheckSourceDocLineQtyOnBeforeFieldError(var WarehouseShipmentLine: Record "Warehouse Shipment Line"; WhseQtyOutstandingBase: Decimal; var QtyOutstandingBase: Decimal; QuantityBase: Decimal; var IsHandled: Boolean)
Parameters
OnCheckSourceDocLineQtyOnCaseSourceType
[IntegrationEvent(False,False)]
local procedure OnCheckSourceDocLineQtyOnCaseSourceType(var WarehouseShipmentLine: Record "Warehouse Shipment Line"; WhseQtyOutstandingBase: Decimal; var QtyOutstandingBase: Decimal; QuantityBase: Decimal)
Parameters
OnValidateQuantityStatusUpdate
[IntegrationEvent(False,False)]
local procedure OnValidateQuantityStatusUpdate(var WarehouseShipmentLine: Record "Warehouse Shipment Line"; xWarehouseShipmentLine: Record "Warehouse Shipment Line"; var IsHandled: Boolean)
Parameters
OnDeleteQtyToHandleOnBeforeModify
[IntegrationEvent(False,False)]
local procedure OnDeleteQtyToHandleOnBeforeModify(var WhseShptLine: Record "Warehouse Shipment Line")
Parameters
OnCreatePickDocOnBeforeCreatePickDoc
[IntegrationEvent(False,False)]
local procedure OnCreatePickDocOnBeforeCreatePickDoc(var WarehouseShipmentLine: Record "Warehouse Shipment Line"; var WhseShptLine: Record "Warehouse Shipment Line"; var WhseShptHeader2: Record "Warehouse Shipment Header"; HideValidationDialog: Boolean; var IsHandled: Boolean)
Parameters
OnBeforeDeleteQtyToHandle
[IntegrationEvent(False,False)]
local procedure OnBeforeDeleteQtyToHandle(var WhseShptLine: Record "Warehouse Shipment Line"; var IsHandled: Boolean)
Parameters
OnBeforeSetQuantityBase
[IntegrationEvent(False,False)]
local procedure OnBeforeSetQuantityBase(var Rec: Record "Warehouse Shipment Line"; var QuantityBase: Decimal; var IsHandled: Boolean)
Parameters
OnAfterValidateQtyToShip
[IntegrationEvent(False,False)]
local procedure OnAfterValidateQtyToShip(var WarehouseShipmentLine: Record "Warehouse Shipment Line"; var xWarehouseShipmentLine: Record "Warehouse Shipment Line")
Parameters
OnBeforeCalcBaseQty
[IntegrationEvent(False,False)]
local procedure OnBeforeCalcBaseQty(var WarehouseShipmentLine: Record "Warehouse Shipment Line"; var Qty: Decimal; FromFieldName: Text; ToFieldName: Text; var SuppressQtyPerUoMTestfield: Boolean)
Parameters
OnAfterSetItemData
[IntegrationEvent(False,False)]
local procedure OnAfterSetItemData(var WarehouseShipmentLine: Record "Warehouse Shipment Line")
Parameters
OnCreatePickDocFromWhseShptOnBeforeRunWhseShipmentCreatePick
[IntegrationEvent(False,False)]
local procedure OnCreatePickDocFromWhseShptOnBeforeRunWhseShipmentCreatePick(var WhseShipmentCreatePick: Report "Whse.-Shipment - Create Pick")
Parameters
OnDeleteOnBeforeConfirmDelete
[IntegrationEvent(False,False)]
local procedure OnDeleteOnBeforeConfirmDelete(var WarehouseShipmentLine: Record "Warehouse Shipment Line"; var IsHandled: Boolean)
Parameters
OnCheckSourceDocLineQtyOnSetQtyOutstandingBase
[IntegrationEvent(False,False)]
local procedure OnCheckSourceDocLineQtyOnSetQtyOutstandingBase(var WarehouseShipmentLine: Record "Warehouse Shipment Line"; QuantityBase: Decimal; WhseQtyOutstandingBase: Decimal; var QtyOutstandingBase: Decimal)
Parameters
OnOpenItemTrackingLines
[IntegrationEvent(False,False)]
local procedure OnOpenItemTrackingLines(var WarehouseShipmentLine: Record "Warehouse Shipment Line")
Parameters
OnBeforeLockTable
[IntegrationEvent(False,False)]
local procedure OnBeforeLockTable(var Rec: Record "Warehouse Shipment Line"; var IsHandled: Boolean)
Parameters
OnInitNewLineOnAfterInit
[IntegrationEvent(False,False)]
local procedure OnInitNewLineOnAfterInit(var WarehouseShipmentLine: Record "Warehouse Shipment Line")
Parameters
OnBeforeInitQtyToShip
[IntegrationEvent(False,False)]
local procedure OnBeforeInitQtyToShip(var WarehouseShipmentLine: Record "Warehouse Shipment Line"; CurrentFieldNo: Integer; var IsHandled: Boolean)
Parameters
OnBeforeGetLocation
[IntegrationEvent(False,False)]
local procedure OnBeforeGetLocation(var Location: Record Location; var LocationCode: Code[10])
Parameters
OnAfterGetLocation
[IntegrationEvent(False,False)]
local procedure OnAfterGetLocation(var Location: Record Location; var LocationCode: Code[10])
Parameters
See also