Share via


Table "Transfer Line"

ID 5741
Namespace: Microsoft.Inventory.Transfer

Properties

Name Value
Caption Transfer Line
DrillDownPageID Page Microsoft.Inventory.Transfer."Transfer Lines"
LookupPageID Page Microsoft.Inventory.Transfer."Transfer Lines"
DataClassification CustomerContent

Fields

Name Type Description
"Document No." Code[20]
"Line No." Integer
"Item No." Code[20]
Quantity Decimal
"Unit of Measure" Text[50]
"Qty. to Ship" Decimal
"Qty. to Receive" Decimal
"Quantity Shipped" Decimal
"Quantity Received" Decimal
Status Option
"Shortcut Dimension 1 Code" Code[20]
"Shortcut Dimension 2 Code" Code[20]
Description Text[100]
"Gen. Prod. Posting Group" Code[20]
"Inventory Posting Group" Code[20]
"Quantity (Base)" Decimal
"Outstanding Qty. (Base)" Decimal
"Qty. to Ship (Base)" Decimal
"Qty. Shipped (Base)" Decimal
"Qty. to Receive (Base)" Decimal
"Qty. Received (Base)" Decimal
"Qty. per Unit of Measure" Decimal
"Unit of Measure Code" Code[10]
"Outstanding Quantity" Decimal
"Gross Weight" Decimal
"Net Weight" Decimal
"Unit Volume" Decimal
"Qty. Rounding Precision" Decimal
"Qty. Rounding Precision (Base)" Decimal
"Variant Code" Code[10]
"Units per Parcel" Decimal
"Description 2" Text[50]
"In-Transit Code" Code[10]
"Qty. in Transit" Decimal
"Qty. in Transit (Base)" Decimal
"Transfer-from Code" Code[10]
"Transfer-to Code" Code[10]
"Shipment Date" Date
"Receipt Date" Date
"Derived From Line No." Integer
"Shipping Agent Code" Code[10]
"Shipping Agent Service Code" Code[10]
"Appl.-to Item Entry" Integer
"Reserved Quantity Inbnd." Decimal
"Reserved Quantity Outbnd." Decimal
"Reserved Qty. Inbnd. (Base)" Decimal
"Reserved Qty. Outbnd. (Base)" Decimal
"Shipping Time" DateFormula
"Reserved Quantity Shipped" Decimal
"Reserved Qty. Shipped (Base)" Decimal
"Direct Transfer" Boolean
"Dimension Set ID" Integer
"Item Category Code" Code[20]
"Whse. Inbnd. Otsdg. Qty (Base)" Decimal
"Whse Outbnd. Otsdg. Qty (Base)" Decimal
"Completely Shipped" Boolean
"Completely Received" Boolean
"Outbound Whse. Handling Time" DateFormula
"Inbound Whse. Handling Time" DateFormula
"Transfer-from Bin Code" Code[20]
"Transfer-To Bin Code" Code[20]
"Planning Flexibility" Enum Microsoft.Inventory.Tracking."Reservation Planning Flexibility"
SystemId Guid
SystemCreatedAt DateTime
SystemCreatedBy Guid
SystemModifiedAt DateTime
SystemModifiedBy Guid
SystemRowVersion BigInteger

Methods

InitOutstandingQty

Initializes outstanding quantity and base quantity for the current transfer line.

procedure InitOutstandingQty()

InitQtyToShip

Initializes quantity to ship fields for the current transfer line.

procedure InitQtyToShip()

InitQtyToReceive

Initializes quantity to receive based on in transit location for the current transfer line.

procedure InitQtyToReceive()

InitQtyInTransit

Calculates the quantity in transit based on in transit location for the current transfer line. Verifies whether the transfer line is completely received by checking if the Quantity is not zero and if it is equal to the "Quantity Received".

procedure InitQtyInTransit()

ResetPostedQty

Resets the posted quantities for the current transfer line.

procedure ResetPostedQty()

GetTransHeaderExternal

Retrieves the transfer header information and assigns it to the corresponding fields in the current transfer line.

procedure GetTransHeaderExternal()

BlockDynamicTracking

Sets the block status for dynamic tracking of the transfer line.

procedure BlockDynamicTracking(SetBlock: Boolean)

Parameters

Name Type Description
SetBlock Boolean

Specifies whether to block dynamic tracking.

Remarks

Global parameter 'TrackingBlocked' is used to prevent date conflict check.

ShowDimensions

Opens a page that shows the dimensions of the current transfer line.

procedure ShowDimensions()

Remarks

In case transfer line is partially shipped, confirmation dialog will appear.

CreateDim

Generates a new dimension set id from provided default dimensions for the current transfer line.

procedure CreateDim(DefaultDimSource: List of [Dictionary of [Integer, Code[20]]])

Parameters

Name Type Description
DefaultDimSource List of [Dictionary of [Integer, Code[20]]]

Provided list of default dimensions.

ValidateShortcutDimCode

Triggers validation of shortcut dimension values.

procedure ValidateShortcutDimCode(FieldNumber: Integer, var ShortcutDimCode: Code[20])

Parameters

Name Type Description
FieldNumber Integer

Indicates the number of a field which is invoked by the method.

ShortcutDimCode Code[20]

Specified value of the shortcut dimension.

Remarks

In case transfer line is partially shipped, confirmation dialog will appear.

LookupShortcutDimCode

Displays a shortcut dimension list for the user to choose from.

procedure LookupShortcutDimCode(FieldNumber: Integer, var ShortcutDimCode: Code[20])

Parameters

Name Type Description
FieldNumber Integer

Dimension shortcut ordinal number.

ShortcutDimCode Code[20]

Selected shortcut dimension code.

ShowShortcutDimCode

Retrieves a shortcut dimension list for the current transfer line.

procedure ShowShortcutDimCode(var ShortcutDimCode: array[8] of Code[20])

Parameters

Name Type Description
ShortcutDimCode array[8] of Code[20]

Array to hold the dimension information.

SelectMultipleItems

Runs an item list page for the user to select multiple items for transfer.

procedure SelectMultipleItems()

AddItems

Adds items to the transfer line based on the specified selection filter.

procedure AddItems(SelectionFilter: Text)

Parameters

Name Type Description
SelectionFilter Text

The filter to apply when selecting items.

AddItem

Creates a new transfer line and validates item no based on provided 'ItemNo'.

procedure AddItem(var TransferLine: Record "Transfer Line", ItemNo: Code[20])

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"

The transfer line record.

ItemNo Code[20]

The item number.

InitNewLine

Initializes a new transfer line based on the current record.

procedure InitNewLine(var NewTransferLine: Record "Transfer Line")

Parameters

Name Type Description
NewTransferLine Table Microsoft.Inventory.Transfer."Transfer Line"

The new transfer line record.

CheckItemAvailable

Checks if an item is available for transfer.

procedure CheckItemAvailable(CalledByFieldNo: Integer)

Parameters

Name Type Description
CalledByFieldNo Integer

The field number that triggered the check.

CheckDirectTransferQtyToShip

Checks if the entire quantity on the line is shipped in case of direct Transfer.

procedure CheckDirectTransferQtyToShip()

OpenItemTrackingLines

Opens the item tracking lines for the specified transfer direction.

procedure OpenItemTrackingLines(Direction: Enum "Transfer Direction")

Parameters

Name Type Description
Direction Enum Microsoft.Foundation.Enums."Transfer Direction"

The transfer direction.

Remarks

Transfer direction can be either outbound or inbound.

OpenItemTrackingLinesWithReclass

Opens the item tracking lines for the specified transfer direction.

procedure OpenItemTrackingLinesWithReclass(Direction: Enum "Transfer Direction")

Parameters

Name Type Description
Direction Enum Microsoft.Foundation.Enums."Transfer Direction"

The transfer direction.

Remarks

Transfer direction can be either outbound or inbound. Item tracking page will be run in direct transfer mode.

TestStatusOpen

Test whether the status of a transfer document is set to 'Open'.

procedure TestStatusOpen()

SuspendStatusCheck

Sets the status check suspension flag.

procedure SuspendStatusCheck(Suspend: Boolean)

Parameters

Name Type Description
Suspend Boolean

A boolean value indicating whether to suspend the status check.

ShowReservation

Displays the reservation for the transfer line.

procedure ShowReservation()

UpdateWithWarehouseShipReceive

Updates "Qty. to Ship" and "Qty. to Receive" fields of current transfer line based on location setup.

procedure UpdateWithWarehouseShipReceive()

RenameNo

Renames the item number in the transfer line table.

procedure RenameNo(OldNo: Code[20], NewNo: Code[20])

Parameters

Name Type Description
OldNo Code[20]

The old item number.

NewNo Code[20]

The new item number.

CheckWarehouse

Checks warehouse requirements for a transfer line. It determines whether a dialog should be displayed to the user based on the location setup and receive flag. In case a dialog needs to be displayed, an appropriate message or error is presented.

procedure CheckWarehouse(Location: Record Location, Receive: Boolean)

Parameters

Name Type Description
Location Table Microsoft.Inventory.Location.Location

The location record for the transfer line.

Receive Boolean

A boolean flag indicating whether the transfer line is for receiving or not.

GetRemainingQty

Calculates remaining quantity and remaining base quantity according to specified direction for the current transfer line.

procedure GetRemainingQty(var RemainingQty: Decimal, var RemainingQtyBase: Decimal, Direction: Integer)

Parameters

Name Type Description
RemainingQty Decimal

The remaining quantity.

RemainingQtyBase Decimal

The remaining base quantity.

Direction Integer

Direction of the transfer (0 for outbound, 1 for inbound).

GetReservationQty

Retrieves reservation quantities for the current transfer line.

procedure GetReservationQty(var QtyReserved: Decimal, var QtyReservedBase: Decimal, var QtyToReserve: Decimal, var QtyToReserveBase: Decimal, Direction: Integer): Decimal

Parameters

Name Type Description
QtyReserved Decimal

The quantity reserved.

QtyReservedBase Decimal

The quantity reserved in base units.

QtyToReserve Decimal

The quantity to be reserved.

QtyToReserveBase Decimal

The quantity to be reserved in base units.

Direction Integer

Direction of the transfer (0 for outbound, 1 for inbound).

Returns

Type Description
Decimal

The quantity per unit of measure.

GetSourceCaption

Combines values of "Document No.", "Line No." and "Item No." fields of the current transfer line.

procedure GetSourceCaption(): Text

Returns

Type Description
Text

Returns source transfer line information.

SetReservationEntry

Sets the reservation entry for the current transfer line based on specified direction.

procedure SetReservationEntry(var ReservEntry: Record "Reservation Entry", Direction: Enum "Transfer Direction")

Parameters

Name Type Description
ReservEntry Table Microsoft.Inventory.Tracking."Reservation Entry"

The reservation entry record to set.

Direction Enum Microsoft.Foundation.Enums."Transfer Direction"

The transfer direction.

SetReservationFilters

Sets filters for the specified reservation entry based on the transfer direction.

procedure SetReservationFilters(var ReservEntry: Record "Reservation Entry", Direction: Enum "Transfer Direction")

Parameters

Name Type Description
ReservEntry Table Microsoft.Inventory.Tracking."Reservation Entry"

The reservation entry record to set the filters for.

Direction Enum Microsoft.Foundation.Enums."Transfer Direction"

The transfer direction.

ReservEntryExist

Checks if a reservation entry exists for the transfer line.

procedure ReservEntryExist(): Boolean

Returns

Type Description
Boolean

Returns true in case reservation entry exists, otherwise false.

IsInbound

Checks if the current transfer line is inbound.

procedure IsInbound(): Boolean

Returns

Type Description
Boolean

Returns true if the quantity (base) is less than 0, indicating an inbound transfer line. Returns false otherwise.

FilterLinesWithItemToPlan

Filters the lines with the provided item for planning.

procedure FilterLinesWithItemToPlan(var Item: Record Item, IsReceipt: Boolean, IsSupplyForPlanning: Boolean)

Parameters

Name Type Description
Item Table Microsoft.Inventory.Item.Item

Provided item record.

IsReceipt Boolean

Specifies whether transfer line is a receipt or not.

IsSupplyForPlanning Boolean

Specifies whether it is supply for planning or not.

FindLinesWithItemToPlan

Finds the lines with the provided item to plan.

procedure FindLinesWithItemToPlan(var Item: Record Item, IsReceipt: Boolean, IsSupplyForPlanning: Boolean): Boolean

Parameters

Name Type Description
Item Table Microsoft.Inventory.Item.Item

Provided item record.

IsReceipt Boolean

Specifies whether the transfer line is a receipt.

IsSupplyForPlanning Boolean

Specifies whether the item is supply for planning.

Returns

Type Description
Boolean

True in case the lines with the item to plan are found, otherwise false.

LinesWithItemToPlanExist

Checks if there are any lines with the provided item that need to be planned.

procedure LinesWithItemToPlanExist(var Item: Record Item, IsReceipt: Boolean): Boolean

Parameters

Name Type Description
Item Table Microsoft.Inventory.Item.Item

Provided item record.

IsReceipt Boolean

Specifies whether the transfer line is a receipt or not.

Returns

Type Description
Boolean

True if there are lines with the item that need to be planned, otherwise false.

FilterInboundLinesForReservation

Filters the inbound transfer lines based on provided reservation entry and availability date filter.

procedure FilterInboundLinesForReservation(ReservationEntry: Record "Reservation Entry", AvailabilityFilter: Text, Positive: Boolean)

Parameters

Name Type Description
ReservationEntry Table Microsoft.Inventory.Tracking."Reservation Entry"

Provided reservation entry record.

AvailabilityFilter Text

The availability date filter.

Positive Boolean

A boolean value indicating whether to filter for positive or negative outstanding quantities.

FilterOutboundLinesForReservation

Filters the outbound transfer lines based on provided reservation entry and availability date filter.

procedure FilterOutboundLinesForReservation(ReservationEntry: Record "Reservation Entry", AvailabilityFilter: Text, Positive: Boolean)

Parameters

Name Type Description
ReservationEntry Table Microsoft.Inventory.Tracking."Reservation Entry"

Provided reservation entry record.

AvailabilityFilter Text

The availability date filter.

Positive Boolean

A boolean value indicating whether to filter for positive or negative outstanding quantities.

VerifyItemLineDim

Verifies if the item line dimensions have been changed and confirms the change if necessary.

procedure VerifyItemLineDim()

ReserveFromInventory

Automatically creates reservations for the item quantity of provided transfer lines.

procedure ReserveFromInventory(var TransLine: Record "Transfer Line")

Parameters

Name Type Description
TransLine Table Microsoft.Inventory.Transfer."Transfer Line"

Provided transfer line records.

IsShippedDimChanged

Determines if the dimensions of already shipped transfer line have been changed.

procedure IsShippedDimChanged(): Boolean

Returns

Type Description
Boolean

True if the dimensions are changed, otherwise false.

ConfirmShippedDimChange

Confirms the change of dimensions for an already shipped transfer line.

procedure ConfirmShippedDimChange(): Boolean

Returns

Type Description
Boolean

Returns true if the change is confirmed, otherwise false.

GetTransferHeader

Retrieves the transfer header record based on document number of the current transfer line.

procedure GetTransferHeader(): Record "Transfer Header"

Returns

Type Description
Table Microsoft.Inventory.Transfer."Transfer Header"

DateConflictCheck

Checks for date conflicts in the transfer line in case global parameter 'TrackingBlocked' is set to false.

procedure DateConflictCheck()

RowID1

Returns the Row ID for the specified transfer direction.

procedure RowID1(Direction: Enum "Transfer Direction"): Text[250]

Parameters

Name Type Description
Direction Enum Microsoft.Foundation.Enums."Transfer Direction"

Provided transfer direction.

Returns

Type Description
Text[250]

The Row ID as a text value.

CreateDimFromDefaultDim

Creates a dimension based on default dimension source.

procedure CreateDimFromDefaultDim()

CheckIfTransferLineMeetsReservedFromStockSetting

Checks if qunatity on the current transfer line meets the reserved from stock setting.

procedure CheckIfTransferLineMeetsReservedFromStockSetting(QtyToPost: Decimal, ReservedFromStock: Enum "Reservation From Stock"): Boolean

Parameters

Name Type Description
QtyToPost Decimal

The quantity to post from current transfer line.

ReservedFromStock Enum Microsoft.Inventory.Tracking."Reservation From Stock"

The reservation from stock option.

Returns

Type Description
Boolean

True if the transfer line meets the reserved from stock setting, otherwise false.

Remarks

Reserve from stock options are: None, Partial, Full and Partial, Full.

ShowReservationEntries

Displays reservation entries for the current transfer line.

procedure ShowReservationEntries(Modal: Boolean, Direction: Enum "Transfer Direction")

Parameters

Name Type Description
Modal Boolean

Specifies whether the page reservation entries should be run in a modal mode or not.

Direction Enum Microsoft.Foundation.Enums."Transfer Direction"

Specifies the direction of the transfer.

Events

OnAfterInitDefaultDimensionSources

[IntegrationEvent(False,False)]
local procedure OnAfterInitDefaultDimensionSources(var TransferLine: Record "Transfer Line", var DefaultDimSource: List of [Dictionary of [Integer, Code[20]]], CurrentFieldNo: Integer)

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
DefaultDimSource List of [Dictionary of [Integer, Code[20]]]
CurrentFieldNo Integer

OnAfterCreateDim

[IntegrationEvent(False,False)]
local procedure OnAfterCreateDim(var TransferLine: Record "Transfer Line", DefaultDimSource: List of [Dictionary of [Integer, Code[20]]], xTransferLine: Record "Transfer Line", CurrentFieldNo: Integer)

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
DefaultDimSource List of [Dictionary of [Integer, Code[20]]]
xTransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
CurrentFieldNo Integer

OnAfterAssignItemValues

[IntegrationEvent(False,False)]
local procedure OnAfterAssignItemValues(var TransferLine: Record "Transfer Line", Item: Record Item, TransferHeader: Record "Transfer Header")

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
Item Table Microsoft.Inventory.Item.Item
TransferHeader Table Microsoft.Inventory.Transfer."Transfer Header"

OnAfterFilterLinesWithItemToPlan

[IntegrationEvent(True,False)]
local procedure OnAfterFilterLinesWithItemToPlan(var Item: Record Item, IsReceipt: Boolean, IsSupplyForPlanning: Boolean, var TransferLine: Record "Transfer Line")

Parameters

Name Type Description
Item Table Microsoft.Inventory.Item.Item
IsReceipt Boolean
IsSupplyForPlanning Boolean
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"

OnAfterFilterInboundLinesForReservation

[IntegrationEvent(False,False)]
local procedure OnAfterFilterInboundLinesForReservation(var TransferLine: Record "Transfer Line", ReservationEntry: Record "Reservation Entry", AvailabilityFilter: Text, Positive: Boolean)

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
ReservationEntry Table Microsoft.Inventory.Tracking."Reservation Entry"
AvailabilityFilter Text
Positive Boolean

OnAfterFilterOutboundLinesForReservation

[IntegrationEvent(False,False)]
local procedure OnAfterFilterOutboundLinesForReservation(var TransferLine: Record "Transfer Line", ReservationEntry: Record "Reservation Entry", AvailabilityFilter: Text, Positive: Boolean)

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
ReservationEntry Table Microsoft.Inventory.Tracking."Reservation Entry"
AvailabilityFilter Text
Positive Boolean

OnAfterGetDefaultBin

[IntegrationEvent(False,False)]
local procedure OnAfterGetDefaultBin(var TransferLine: Record "Transfer Line", FromLocationCode: Code[10], ToLocationCode: Code[10])

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
FromLocationCode Code[10]
ToLocationCode Code[10]

OnAfterGetTransHeader

[IntegrationEvent(False,False)]
local procedure OnAfterGetTransHeader(var TransferLine: Record "Transfer Line", TransferHeader: Record "Transfer Header")

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
TransferHeader Table Microsoft.Inventory.Transfer."Transfer Header"

OnAfterInitOutstandingQty

[IntegrationEvent(False,False)]
local procedure OnAfterInitOutstandingQty(var TransferLine: Record "Transfer Line", CurrentFieldNo: Integer)

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
CurrentFieldNo Integer

OnAfterInitQtyInTransit

[IntegrationEvent(False,False)]
local procedure OnAfterInitQtyInTransit(var TransferLine: Record "Transfer Line", CurrentFieldNo: Integer)

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
CurrentFieldNo Integer

OnAfterInitQtyToReceive

[IntegrationEvent(False,False)]
local procedure OnAfterInitQtyToReceive(var TransferLine: Record "Transfer Line", CurrentFieldNo: Integer)

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
CurrentFieldNo Integer

OnAfterInitQtyToShip

[IntegrationEvent(False,False)]
local procedure OnAfterInitQtyToShip(var TransferLine: Record "Transfer Line", CurrentFieldNo: Integer)

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
CurrentFieldNo Integer

OnAfterResetPostedQty

[IntegrationEvent(False,False)]
local procedure OnAfterResetPostedQty(var TransferLine: Record "Transfer Line")

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"

OnAfterShowDimensions

[IntegrationEvent(False,False)]
local procedure OnAfterShowDimensions(var TransferLine: Record "Transfer Line", xTransferLine: Record "Transfer Line")

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
xTransferLine Table Microsoft.Inventory.Transfer."Transfer Line"

OnAfterSetReservationFilters

[IntegrationEvent(False,False)]
local procedure OnAfterSetReservationFilters(var ReservEntry: Record "Reservation Entry", TransferLine: Record "Transfer Line")

Parameters

Name Type Description
ReservEntry Table Microsoft.Inventory.Tracking."Reservation Entry"
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"

OnAfterShowReservation

[IntegrationEvent(False,False)]
local procedure OnAfterShowReservation(var TransferLine: Record "Transfer Line")

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"

OnAfterTestStatusOpen

[IntegrationEvent(False,False)]
local procedure OnAfterTestStatusOpen(var TransferLine: Record "Transfer Line", TransferHeader: Record "Transfer Header")

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
TransferHeader Table Microsoft.Inventory.Transfer."Transfer Header"

OnAfterUpdateWithWarehouseShipReceive

[IntegrationEvent(False,False)]
local procedure OnAfterUpdateWithWarehouseShipReceive(var TransferLine: Record "Transfer Line", CurrentFieldNo: Integer)

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
CurrentFieldNo Integer

OnAfterValidateShortcutDimCode

[IntegrationEvent(False,False)]
local procedure OnAfterValidateShortcutDimCode(var TransferLine: Record "Transfer Line", var xTransferLine: Record "Transfer Line", FieldNumber: Integer, var ShortcutDimCode: Code[20])

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
xTransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
FieldNumber Integer
ShortcutDimCode Code[20]

OnBeforeCheckItemAvailable

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckItemAvailable(var TransferLine: Record "Transfer Line", CalledByFieldNo: Integer, CurrentFieldNo: Integer, var IsHandled: Boolean)

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
CalledByFieldNo Integer
CurrentFieldNo Integer
IsHandled Boolean

OnBeforeCheckItemCanBeShipped

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckItemCanBeShipped(var TransferLine: Record "Transfer Line", var IsHandled: Boolean)

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
IsHandled Boolean

OnBeforeCheckTransferHeader

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckTransferHeader(TransferHeader: Record "Transfer Header", var IsHandled: Boolean, TransferLine: Record "Transfer Line", xTransferLine: Record "Transfer Line")

Parameters

Name Type Description
TransferHeader Table Microsoft.Inventory.Transfer."Transfer Header"
IsHandled Boolean
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
xTransferLine Table Microsoft.Inventory.Transfer."Transfer Line"

OnBeforeCheckWarehouse

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckWarehouse(TransferLine: Record "Transfer Line", Location: Record Location, Receive: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
Location Table Microsoft.Inventory.Location.Location
Receive Boolean
IsHandled Boolean

OnBeforeGetItemNo

[IntegrationEvent(False,False)]
local procedure OnBeforeGetItemNo(var TransLine: Record "Transfer Line", xTransLine: Record "Transfer Line", CurrentFieldNo: Integer, var IsHandled: Boolean)

Parameters

Name Type Description
TransLine Table Microsoft.Inventory.Transfer."Transfer Line"
xTransLine Table Microsoft.Inventory.Transfer."Transfer Line"
CurrentFieldNo Integer
IsHandled Boolean

OnBeforeGetReservationQty

[IntegrationEvent(False,False)]
local procedure OnBeforeGetReservationQty(var TransferLine: Record "Transfer Line", var QtyReserved: Decimal, var QtyReservedBase: Decimal, var QtyToReserve: Decimal, var QtyToReserveBase: Decimal, Direction: Integer, var Result: Decimal, var IsHandled: Boolean)

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
QtyReserved Decimal
QtyReservedBase Decimal
QtyToReserve Decimal
QtyToReserveBase Decimal
Direction Integer
Result Decimal
IsHandled Boolean

OnBeforeGetTransHeader

[IntegrationEvent(False,False)]
local procedure OnBeforeGetTransHeader(var TransferLine: Record "Transfer Line", var TransferHeader: Record "Transfer Header", var IsHandled: Boolean)

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
TransferHeader Table Microsoft.Inventory.Transfer."Transfer Header"
IsHandled Boolean

OnBeforeOnInsert

[IntegrationEvent(False,False)]
local procedure OnBeforeOnInsert(var TransferLine: Record "Transfer Line", var xTransferLine: Record "Transfer Line", TransferHeader: Record "Transfer Header", var IsHandled: Boolean)

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
xTransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
TransferHeader Table Microsoft.Inventory.Transfer."Transfer Header"
IsHandled Boolean

OnBeforeOpenItemTrackingLines

[IntegrationEvent(False,False)]
local procedure OnBeforeOpenItemTrackingLines(var TransferLine: Record "Transfer Line", var IsHandled: Boolean)

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
IsHandled Boolean

OnBeforeOnDelete

[IntegrationEvent(False,False)]
local procedure OnBeforeOnDelete(var TransferLine: Record "Transfer Line")

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"

OnBeforeTestStatusOpen

[IntegrationEvent(False,False)]
local procedure OnBeforeTestStatusOpen(var TransferLine: Record "Transfer Line", TransferHeader: Record "Transfer Header", var IsHandled: Boolean)

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
TransferHeader Table Microsoft.Inventory.Transfer."Transfer Header"
IsHandled Boolean

OnBeforeUpdateWithWarehouseShipReceive

[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateWithWarehouseShipReceive(var TransferLine: Record "Transfer Line", var IsHandled: Boolean)

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
IsHandled Boolean

OnBeforeValidateDescription

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateDescription(var TransferLine: Record "Transfer Line", xTransferLine: Record "Transfer Line", CurrFieldNo: Integer, var IsHandled: Boolean)

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
xTransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
CurrFieldNo Integer
IsHandled Boolean

OnBeforeValidateShortcutDimCode

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateShortcutDimCode(var TransferLine: Record "Transfer Line", var xTransferLine: Record "Transfer Line", FieldNumber: Integer, var ShortcutDimCode: Code[20])

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
xTransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
FieldNumber Integer
ShortcutDimCode Code[20]

OnBeforeValidateQuantityReceiveIsBalanced

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateQuantityReceiveIsBalanced(var TransferLine: Record "Transfer Line", xTransferLine: Record "Transfer Line", var IsHandled: Boolean)

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
xTransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
IsHandled Boolean

OnBeforeValidateQuantityShipIsBalanced

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateQuantityShipIsBalanced(var TransferLine: Record "Transfer Line", xTransferLine: Record "Transfer Line", var IsHandled: Boolean)

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
xTransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
IsHandled Boolean

OnBeforeValidateQuantityBase

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateQuantityBase(var TransferLine: Record "Transfer Line", var xTransferLine: Record "Transfer Line", FieldNumber: Integer, var IsHandled: Boolean)

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
xTransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
FieldNumber Integer
IsHandled Boolean

OnBeforeValidateQtyToShipBase

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateQtyToShipBase(var TransferLine: Record "Transfer Line", var xTransferLine: Record "Transfer Line", FieldNumber: Integer, var IsHandled: Boolean)

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
xTransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
FieldNumber Integer
IsHandled Boolean

OnBeforeValidateQtyToReceiveBase

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateQtyToReceiveBase(var TransferLine: Record "Transfer Line", var xTransferLine: Record "Transfer Line", FieldNumber: Integer, var IsHandled: Boolean)

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
xTransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
FieldNumber Integer
IsHandled Boolean

OnBeforeVerifyReserveTransferLineQuantity

[IntegrationEvent(False,False)]
local procedure OnBeforeVerifyReserveTransferLineQuantity(var TransferLine: Record "Transfer Line", var IsHandled: Boolean)

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
IsHandled Boolean

OnDeleteOnBeforeDeleteRelatedData

[IntegrationEvent(False,False)]
local procedure OnDeleteOnBeforeDeleteRelatedData(var TransferLine: Record "Transfer Line")

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"

OnValidateItemNoOnAfterInitLine

[IntegrationEvent(False,False)]
local procedure OnValidateItemNoOnAfterInitLine(var TransferLine: Record "Transfer Line", TempTransferLine: Record "Transfer Line" temporary)

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
TempTransferLine Table Microsoft.Inventory.Transfer."Transfer Line"

OnValidateItemNoOnAfterGetTransHeaderExternal

[IntegrationEvent(False,False)]
local procedure OnValidateItemNoOnAfterGetTransHeaderExternal(var TransferLine: Record "Transfer Line", var TransHeader: Record "Transfer Header", TempTransferLine: Record "Transfer Line" temporary)

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
TransHeader Table Microsoft.Inventory.Transfer."Transfer Header"
TempTransferLine Table Microsoft.Inventory.Transfer."Transfer Line"

OnValidateItemNoOnCopyFromTempTransLine

[IntegrationEvent(False,False)]
local procedure OnValidateItemNoOnCopyFromTempTransLine(var TransferLine: Record "Transfer Line", TempTransferLine: Record "Transfer Line" temporary)

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
TempTransferLine Table Microsoft.Inventory.Transfer."Transfer Line"

OnValidateReceiptDateOnBeforeCalcShipmentDate

[IntegrationEvent(True,False)]
local procedure OnValidateReceiptDateOnBeforeCalcShipmentDate(var IsHandled: Boolean, var TransferLine: Record "Transfer Line")

Parameters

Name Type Description
IsHandled Boolean
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"

OnValidateShipmentDateOnBeforeCalcReceiptDate

[IntegrationEvent(True,False)]
local procedure OnValidateShipmentDateOnBeforeCalcReceiptDate(var IsHandled: Boolean, var TransferLine: Record "Transfer Line")

Parameters

Name Type Description
IsHandled Boolean
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"

OnValidateQuantityOnBeforeTransLineVerifyChange

[IntegrationEvent(False,False)]
local procedure OnValidateQuantityOnBeforeTransLineVerifyChange(var TransferLine: Record "Transfer Line", xTransferLine: Record "Transfer Line", var IsHandled: Boolean)

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
xTransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
IsHandled Boolean

OnValidateQuantityOnAfterCalcQuantityBase

[IntegrationEvent(False,False)]
local procedure OnValidateQuantityOnAfterCalcQuantityBase(var TransferLine: Record "Transfer Line", xTransferLine: Record "Transfer Line")

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
xTransferLine Table Microsoft.Inventory.Transfer."Transfer Line"

OnValidateUnitofMeasureCodeOnBeforeValidateQuantity

[IntegrationEvent(False,False)]
local procedure OnValidateUnitofMeasureCodeOnBeforeValidateQuantity(var TransferLine: Record "Transfer Line", Item: Record Item, xTransferLine: Record "Transfer Line")

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
Item Table Microsoft.Inventory.Item.Item
xTransferLine Table Microsoft.Inventory.Transfer."Transfer Line"

OnAfterSetItemLedgerEntryFilters

[IntegrationEvent(False,False)]
local procedure OnAfterSetItemLedgerEntryFilters(var ItemLedgEntry: Record "Item Ledger Entry", TransferLine: Record "Transfer Line")

Parameters

Name Type Description
ItemLedgEntry Table Microsoft.Inventory.Ledger."Item Ledger Entry"
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"

OnBeforeGetDefaultBin

[IntegrationEvent(False,False)]
local procedure OnBeforeGetDefaultBin(var TransferLine: Record "Transfer Line", var IsHandled: Boolean)

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
IsHandled Boolean

OnCheckWarehouseOnBeforeShowDialog

[IntegrationEvent(False,False)]
local procedure OnCheckWarehouseOnBeforeShowDialog(TransferLine: Record "Transfer Line", Location: Record Location, var ShowDialog: Option, var DialogText: Text[50])

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
Location Table Microsoft.Inventory.Location.Location
ShowDialog Option
DialogText Text[50]

OnInsertOnBeforeAssignLineNo

[IntegrationEvent(False,False)]
local procedure OnInsertOnBeforeAssignLineNo(var TransferLine: Record "Transfer Line", var IsHandled: Boolean)

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
IsHandled Boolean

OnAfterIsShippedDimChanged

[IntegrationEvent(False,False)]
local procedure OnAfterIsShippedDimChanged(var TransferLine: Record "Transfer Line", var Result: Boolean)

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
Result Boolean

OnBeforeShowReservation

[IntegrationEvent(False,False)]
local procedure OnBeforeShowReservation(var TransferLine: Record "Transfer Line", var IsHandled: Boolean)

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
IsHandled Boolean

OnValidateTransferFromCodeOnBeforeCheckItemAvailable

[IntegrationEvent(False,False)]
local procedure OnValidateTransferFromCodeOnBeforeCheckItemAvailable(var TransferLine: Record "Transfer Line")

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"

OnValidateTransferToCodeOnBeforeVerifyChange

[IntegrationEvent(False,False)]
local procedure OnValidateTransferToCodeOnBeforeVerifyChange(var TransferLine: Record "Transfer Line")

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"

OnValidateVariantCodeOnBeforeCheckEmptyVariantCode

[IntegrationEvent(False,False)]
local procedure OnValidateVariantCodeOnBeforeCheckEmptyVariantCode(var TransferLine: Record "Transfer Line", xTransferLine: Record "Transfer Line", CurrentFieldNo: Integer)

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
xTransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
CurrentFieldNo Integer

OnBeforeSelectMultipleItems

[IntegrationEvent(False,False)]
local procedure OnBeforeSelectMultipleItems(var TransferLine: Record "Transfer Line")

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"

OnAfterSelectMultipleItems

[IntegrationEvent(False,False)]
local procedure OnAfterSelectMultipleItems(var TransferLine: Record "Transfer Line")

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"

OnBeforeAddItems

[IntegrationEvent(False,False)]
local procedure OnBeforeAddItems(var TransferLine: Record "Transfer Line", SelectionFilter: Text, var IsHandled: Boolean)

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
SelectionFilter Text
IsHandled Boolean

OnAfterAddItem

[IntegrationEvent(False,False)]
local procedure OnAfterAddItem(var TransferLine: Record "Transfer Line")

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"

OnBeforeCalcBaseQty

[IntegrationEvent(False,False)]
local procedure OnBeforeCalcBaseQty(var TransferLine: Record "Transfer Line", var Qty: Decimal, FromFieldName: Text, ToFieldName: Text)

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
Qty Decimal
FromFieldName Text
ToFieldName Text

OnCheckIfTransferLineMeetsReservedFromStockSetting

[IntegrationEvent(False,False)]
local procedure OnCheckIfTransferLineMeetsReservedFromStockSetting(QtyToPost: Decimal, ReservedFromStock: Enum "Reservation From Stock", var Result: Boolean)

Parameters

Name Type Description
QtyToPost Decimal
ReservedFromStock Enum Microsoft.Inventory.Tracking."Reservation From Stock"
Result Boolean

OnBeforeValidateTransferToCode

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateTransferToCode(var TransferLine: Record "Transfer Line", xTransferLine: Record "Transfer Line", CurrFieldNo: Integer, StatusCheckSuspended: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
xTransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
CurrFieldNo Integer
StatusCheckSuspended Boolean
IsHandled Boolean

OnBeforeValidateQtyToShip

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateQtyToShip(var TransferLine: Record "Transfer Line", xTransferLine: Record "Transfer Line", CallingFieldNo: Integer, var IsHandled: Boolean)

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
xTransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
CallingFieldNo Integer
IsHandled Boolean

OnBeforeValidateQtyToReceive

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateQtyToReceive(var TransferLine: Record "Transfer Line", xTransferLine: Record "Transfer Line", CallingFieldNo: Integer, var IsHandled: Boolean)

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
xTransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
CallingFieldNo Integer
IsHandled Boolean

OnBeforeValidateItemNo

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateItemNo(var TransferLine: Record "Transfer Line", xTransferLine: Record "Transfer Line", CurrentFieldNo: Integer, var IsHandled: Boolean)

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
xTransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
CurrentFieldNo Integer
IsHandled Boolean

See also