Share via


Table "Invt. Document Line"

ID 5851
Namespace: Microsoft.Inventory.Document

Properties

Name Value
Caption Item Document Line
DrillDownPageID Page Microsoft.Inventory.Document."Invt. Document Lines"
LookupPageID Page Microsoft.Inventory.Document."Invt. Document Lines"
DataClassification CustomerContent

Fields

Name Type Description
"Document Type" Enum Microsoft.Inventory.Document."Invt. Doc. Document Type"
"Line No." Integer
"Item No." Code[20]
"Posting Date" Date
"Document Date" Date
"Document No." Code[20]
Description Text[100]
"Location Code" Code[10]
"Inventory Posting Group" Code[20]
Quantity Decimal
"Unit Amount" Decimal
"Unit Cost" Decimal
Amount Decimal
"Salespers./Purch. Code" Code[20]
"Source Code" Code[10]
"Applies-to Entry" Integer
"Item Shpt. Entry No." Integer
"Shortcut Dimension 1 Code" Code[20]
"Shortcut Dimension 2 Code" Code[20]
"Indirect Cost %" Decimal
"Gross Weight" Decimal
"Net Weight" Decimal
"Units per Parcel" Decimal
"Unit Volume" Decimal
"Reason Code" Code[10]
"Last Item Ledger Entry No." Integer
"Gen. Bus. Posting Group" Code[20]
"Gen. Prod. Posting Group" Code[20]
"Posting No. Series" Code[20]
"Unit Cost (ACY)" Decimal
"Dimension Set ID" Integer
"Variant Code" Code[10]
"Bin Code" Code[20]
"Qty. per Unit of Measure" Decimal
"Qty. Rounding Precision" Decimal
"Qty. Rounding Precision (Base)" Decimal
"Unit of Measure Code" Code[10]
"Quantity (Base)" Decimal
"Reserved Quantity Inbnd." Decimal
"Reserved Quantity Outbnd." Decimal
"Reserved Qty. Inbnd. (Base)" Decimal
"Reserved Qty. Outbnd. (Base)" Decimal
"Item Category Code" Code[20]
"Purchasing Code" Code[10]
"Item Reference No." Code[50]
"Item Reference Unit of Measure" Code[10]
"Item Reference Type" Enum Microsoft.Inventory.Item.Catalog."Item Reference Type"
"Item Reference Type No." Code[30]
"Item Charge No." Code[20]
"Applies-from Entry" Integer
"Applied Amount" Decimal
"Update Standard Cost" Boolean
"Amount (ACY)" Decimal
"Applies-to Value Entry" Integer
"FA No." Code[20]
"FA Entry No." Integer
"Depreciation Book Code" Code[10]
SystemId Guid
SystemCreatedAt DateTime
SystemCreatedBy Guid
SystemModifiedAt DateTime
SystemModifiedBy Guid
SystemRowVersion BigInteger

Methods

SuppressRecalculateDimensions

procedure SuppressRecalculateDimensions(RecalculateDimensions: Boolean)

Parameters

Name Type Description
RecalculateDimensions Boolean

EmptyLine

procedure EmptyLine(): Boolean

Returns

Type Description
Boolean

UpdateAmount

procedure UpdateAmount()

CheckItemAvailable

procedure CheckItemAvailable(CalledByFieldNo: Integer)

Parameters

Name Type Description
CalledByFieldNo Integer

GetInvtDocHeader

procedure GetInvtDocHeader()

IsCorrection

procedure IsCorrection(): Boolean

Returns

Type Description
Boolean

GetUnitAmount

procedure GetUnitAmount(CalledByFieldNo: Integer)

Parameters

Name Type Description
CalledByFieldNo Integer

ShowReservation

procedure ShowReservation()

OpenItemTrackingLines

procedure OpenItemTrackingLines()

CreateDim

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

Parameters

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

ShowDimensions

procedure ShowDimensions()

ValidateShortcutDimCode

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

Parameters

Name Type Description
FieldNumber Integer
ShortcutDimCode Code[20]

LookupShortcutDimCode

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

Parameters

Name Type Description
FieldNumber Integer
ShortcutDimCode Code[20]

ShowShortcutDimCode

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

Parameters

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

RowID1

procedure RowID1(): Text[250]

Returns

Type Description
Text[250]

SuspendStatusCheck

procedure SuspendStatusCheck(Suspend: Boolean)

Parameters

Name Type Description
Suspend Boolean

Signed

procedure Signed(Value: Decimal): Decimal

Parameters

Name Type Description
Value Decimal

Returns

Type Description
Decimal

ReserveFromInventory

procedure ReserveFromInventory(var InvtDocLine: Record "Invt. Document Line")

Parameters

Name Type Description
InvtDocLine Table Microsoft.Inventory.Document."Invt. Document Line"

GetRemainingQty

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

Parameters

Name Type Description
RemainingQty Decimal
RemainingQtyBase Decimal
Direction Integer

GetReservationQty

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

Parameters

Name Type Description
QtyReserved Decimal
QtyReservedBase Decimal
QtyToReserve Decimal
QtyToReserveBase Decimal
SourceSubtype Integer

Returns

Type Description
Decimal

GetSourceCaption

procedure GetSourceCaption(): Text

Returns

Type Description
Text

FilterReceiptLinesForReservation

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

Parameters

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

FilterShipmentLinesForReservation

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

Parameters

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

ReservEntryExist

procedure ReservEntryExist(): Boolean

Returns

Type Description
Boolean

SetReservationEntry

procedure SetReservationEntry(var ReservEntry: Record "Reservation Entry")

Parameters

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

SetReservationFilters

procedure SetReservationFilters(var ReservEntry: Record "Reservation Entry")

Parameters

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

CreateDimFromDefaultDim

procedure CreateDimFromDefaultDim(FieldNo: Integer)

Parameters

Name Type Description
FieldNo Integer

Events

OnAfterInitDefaultDimensionSources

[IntegrationEvent(False,False)]
local procedure OnAfterInitDefaultDimensionSources(var InvtDocumentLine: Record "Invt. Document Line", var DefaultDimSource: List of [Dictionary of [Integer, Code[20]]], FieldNo: Integer)

Parameters

Name Type Description
InvtDocumentLine Table Microsoft.Inventory.Document."Invt. Document Line"
DefaultDimSource List of [Dictionary of [Integer, Code[20]]]
FieldNo Integer

OnAfterFilterReceiptLinesForReservation

[IntegrationEvent(False,False)]
local procedure OnAfterFilterReceiptLinesForReservation(var InvtDocumentLine: Record "Invt. Document Line", ReservationEntry: Record "Reservation Entry", AvailabilityFilter: Text, Positive: Boolean)

Parameters

Name Type Description
InvtDocumentLine Table Microsoft.Inventory.Document."Invt. Document Line"
ReservationEntry Table Microsoft.Inventory.Tracking."Reservation Entry"
AvailabilityFilter Text
Positive Boolean

OnAfterFilterShipmentLinesForReservation

[IntegrationEvent(False,False)]
local procedure OnAfterFilterShipmentLinesForReservation(var InvtDocumentLine: Record "Invt. Document Line", ReservationEntry: Record "Reservation Entry", AvailabilityFilter: Text, Positive: Boolean)

Parameters

Name Type Description
InvtDocumentLine Table Microsoft.Inventory.Document."Invt. Document Line"
ReservationEntry Table Microsoft.Inventory.Tracking."Reservation Entry"
AvailabilityFilter Text
Positive Boolean

OnBeforeRetrieveCosts

[IntegrationEvent(False,False)]
local procedure OnBeforeRetrieveCosts(var InvtDocumentLine: Record "Invt. Document Line", var UnitCost: Decimal, var IsHandled: Boolean)

Parameters

Name Type Description
InvtDocumentLine Table Microsoft.Inventory.Document."Invt. Document Line"
UnitCost Decimal
IsHandled Boolean

OnAfterGetUnitAmount

[IntegrationEvent(False,False)]
local procedure OnAfterGetUnitAmount(var InvtDocumentLine: Record "Invt. Document Line", var UnitCost: Decimal, CalledByFieldNo: Integer)

Parameters

Name Type Description
InvtDocumentLine Table Microsoft.Inventory.Document."Invt. Document Line"
UnitCost Decimal
CalledByFieldNo Integer

OnAfterOpenItemTrackingLines

[IntegrationEvent(False,False)]
local procedure OnAfterOpenItemTrackingLines(var InvtDocumentLine: Record "Invt. Document Line")

Parameters

Name Type Description
InvtDocumentLine Table Microsoft.Inventory.Document."Invt. Document Line"

See also