Codeunit "Invt. Doc. Line-Reserve"

ID 5854
Namespace: Microsoft.Inventory.Document

Properties

Name Value
Permissions TableData "Reservation Entry" = rimd

Methods

CreateReservation

procedure CreateReservation(var InvtDocumentLine: Record "Invt. Document Line", Description: Text[100], ExpectedReceiptDate: Date, Quantity: Decimal, QuantityBase: Decimal, ForReservationEntry: Record "Reservation Entry")

Parameters

Name Type Description
InvtDocumentLine Table Microsoft.Inventory.Document."Invt. Document Line"
Description Text[100]
ExpectedReceiptDate Date
Quantity Decimal
QuantityBase Decimal
ForReservationEntry Table Microsoft.Inventory.Tracking."Reservation Entry"

CreateReservationSetFrom

procedure CreateReservationSetFrom(TrackingSpecification: Record "Tracking Specification")

Parameters

Name Type Description
TrackingSpecification Table Microsoft.Inventory.Tracking."Tracking Specification"

FilterReservFor

procedure FilterReservFor(var FilterReservationEntry: Record "Reservation Entry", InvtDocumentLine: Record "Invt. Document Line")

Parameters

Name Type Description
FilterReservationEntry Table Microsoft.Inventory.Tracking."Reservation Entry"
InvtDocumentLine Table Microsoft.Inventory.Document."Invt. Document Line"

Caption

procedure Caption(InvtDocumentLine: Record "Invt. Document Line"): Text

Parameters

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

Returns

Type Description
Text

FindReservEntry

procedure FindReservEntry(InvtDocumentLine: Record "Invt. Document Line", var ReservationEntry: Record "Reservation Entry"): Boolean

Parameters

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

Returns

Type Description
Boolean

VerifyChange

procedure VerifyChange(var NewInvtDocumentLine: Record "Invt. Document Line", var OldInvtDocumentLine: Record "Invt. Document Line")

Parameters

Name Type Description
NewInvtDocumentLine Table Microsoft.Inventory.Document."Invt. Document Line"
OldInvtDocumentLine Table Microsoft.Inventory.Document."Invt. Document Line"

VerifyQuantity

procedure VerifyQuantity(var NewInvtDocumentLine: Record "Invt. Document Line", var OldInvtDocumentLine: Record "Invt. Document Line")

Parameters

Name Type Description
NewInvtDocumentLine Table Microsoft.Inventory.Document."Invt. Document Line"
OldInvtDocumentLine Table Microsoft.Inventory.Document."Invt. Document Line"

TransferInvtDocToItemJnlLine

procedure TransferInvtDocToItemJnlLine(var InvtDocumentLine: Record "Invt. Document Line", var ItemJournalLine: Record "Item Journal Line", ReceiptQty: Decimal)

Parameters

Name Type Description
InvtDocumentLine Table Microsoft.Inventory.Document."Invt. Document Line"
ItemJournalLine Table Microsoft.Inventory.Journal."Item Journal Line"
ReceiptQty Decimal

RenameLine

procedure RenameLine(var NewInvtDocumentLine: Record "Invt. Document Line", var OldInvtDocumentLine: Record "Invt. Document Line")

Parameters

Name Type Description
NewInvtDocumentLine Table Microsoft.Inventory.Document."Invt. Document Line"
OldInvtDocumentLine Table Microsoft.Inventory.Document."Invt. Document Line"

DeleteLine

procedure DeleteLine(var InvtDocumentLine: Record "Invt. Document Line")

Parameters

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

AssignForPlanning

procedure AssignForPlanning(var InvtDocumentLine: Record "Invt. Document Line")

Parameters

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

Block

procedure Block(SetBlocked: Boolean)

Parameters

Name Type Description
SetBlocked Boolean

CallItemTracking

procedure CallItemTracking(var InvtDocumentLine: Record "Invt. Document Line")

Parameters

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

CallItemTracking2

procedure CallItemTracking2(var InvtDocumentLine: Record "Invt. Document Line", var SecondSourceQuantityArray: array[3] of Decimal)

Parameters

Name Type Description
InvtDocumentLine Table Microsoft.Inventory.Document."Invt. Document Line"
SecondSourceQuantityArray array[3] of Decimal

DeleteLineConfirm

procedure DeleteLineConfirm(var InvtDocumentLine: Record "Invt. Document Line"): Boolean

Parameters

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

Returns

Type Description
Boolean

InitFromInvtDocLine

procedure InitFromInvtDocLine(var TrackingSpecification: Record "Tracking Specification", var InvtDocLine: Record "Invt. Document Line")

Parameters

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

Events

OnBeforeVerifyChange

[IntegrationEvent(False,False)]
local procedure OnBeforeVerifyChange(var NewInvtDocumentLine: Record "Invt. Document Line", var OldInvtDocumentLine: Record "Invt. Document Line", var IsHandled: Boolean)

Parameters

Name Type Description
NewInvtDocumentLine Table Microsoft.Inventory.Document."Invt. Document Line"
OldInvtDocumentLine Table Microsoft.Inventory.Document."Invt. Document Line"
IsHandled Boolean

OnBeforeDeleteLine

[IntegrationEvent(False,False)]
local procedure OnBeforeDeleteLine(var InvtDocumentLine: Record "Invt. Document Line", DeleteItemTracking: Boolean, Blocked: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
InvtDocumentLine Table Microsoft.Inventory.Document."Invt. Document Line"
DeleteItemTracking Boolean
Blocked Boolean
IsHandled Boolean

See also