Share via


Codeunit "Reservation-Check Date Confl."

ID 99000815
Namespace: Microsoft.Inventory.Tracking

Methods

SalesLineCheck

procedure SalesLineCheck(SalesLine: Record "Sales Line", ForceRequest: Boolean)

Parameters

Name Type Description
SalesLine Table Microsoft.Sales.Document."Sales Line"
ForceRequest Boolean

PurchLineCheck

procedure PurchLineCheck(PurchaseLine: Record "Purchase Line", ForceRequest: Boolean)

Parameters

Name Type Description
PurchaseLine Table Microsoft.Purchases.Document."Purchase Line"
ForceRequest Boolean

ItemJnlLineCheck

procedure ItemJnlLineCheck(ItemJournalLine: Record "Item Journal Line", ForceRequest: Boolean)

Parameters

Name Type Description
ItemJournalLine Table Microsoft.Inventory.Journal."Item Journal Line"
ForceRequest Boolean

ReqLineCheck

procedure ReqLineCheck(RequisitionLine: Record "Requisition Line", ForceRequest: Boolean)

Parameters

Name Type Description
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
ForceRequest Boolean

ProdOrderLineCheck

Obsolete

This element will become obsolete from version 27.0. Moved to codeunit "Mfg. ReservCheckDateConfl"

[Obsolete(Moved to codeunit "Mfg. ReservCheckDateConfl",27.0)]
procedure ProdOrderLineCheck(ProdOrderLine: Record "Prod. Order Line", ForceRequest: Boolean)

Parameters

Name Type Description
ProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
ForceRequest Boolean

ProdOrderComponentCheck

Obsolete

This element will become obsolete from version 27.0. Moved to codeunit "Mfg. ReservCheckDateConfl"

[Obsolete(Moved to codeunit "Mfg. ReservCheckDateConfl",27.0)]
procedure ProdOrderComponentCheck(ProdOrderComponent: Record "Prod. Order Component", ForceRequest: Boolean, IsCritical: Boolean): Boolean

Parameters

Name Type Description
ProdOrderComponent Table Microsoft.Manufacturing.Document."Prod. Order Component"
ForceRequest Boolean
IsCritical Boolean

Returns

Type Description
Boolean

AssemblyHeaderCheck

Obsolete

This element will become obsolete from version 27.0. Moved to codeunit "Asm. ReservCheckDateConfl"

[Obsolete(Moved to codeunit "Asm. ReservCheckDateConfl",27.0)]
procedure AssemblyHeaderCheck(AssemblyHeader: Record "Assembly Header", ForceRequest: Boolean)

Parameters

Name Type Description
AssemblyHeader Table Microsoft.Assembly.Document."Assembly Header"
ForceRequest Boolean

AssemblyLineCheck

Obsolete

This element will become obsolete from version 27.0. Moved to codeunit "Asm. ReservCheckDateConfl"

[Obsolete(Moved to codeunit "Asm. ReservCheckDateConfl",27.0)]
procedure AssemblyLineCheck(AssemblyLine: Record "Assembly Line", ForceRequest: Boolean)

Parameters

Name Type Description
AssemblyLine Table Microsoft.Assembly.Document."Assembly Line"
ForceRequest Boolean

PlanningComponentCheck

procedure PlanningComponentCheck(PlanningComponent: Record "Planning Component", ForceRequest: Boolean)

Parameters

Name Type Description
PlanningComponent Table Microsoft.Inventory.Planning."Planning Component"
ForceRequest Boolean

TransferLineCheck

procedure TransferLineCheck(TransferLine: Record "Transfer Line")

Parameters

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

ServiceInvLineCheck

Obsolete

This element will become obsolete from version 25.0. Moved to codeunit ServiceLineReserve

[Obsolete(Moved to codeunit ServiceLineReserve,25.0)]
procedure ServiceInvLineCheck(ServiceLine: Record "Service Line", ForceRequest: Boolean): Codeunit "Service Line-Reserve"

Parameters

Name Type Description
ServiceLine Table Microsoft.Service.Document."Service Line"
ForceRequest Boolean

Returns

Type Description
Codeunit Microsoft.Service.Document."Service Line-Reserve"

JobPlanningLineCheck

procedure JobPlanningLineCheck(JobPlanningLine: Record "Job Planning Line", ForceRequest: Boolean)

Parameters

Name Type Description
JobPlanningLine Table Microsoft.Projects.Project.Planning."Job Planning Line"
ForceRequest Boolean

InvtDocLineCheck

procedure InvtDocLineCheck(InvtDocumentLine: Record "Invt. Document Line", ForceRequest: Boolean): Boolean

Parameters

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

Returns

Type Description
Boolean

UpdateDate

procedure UpdateDate(var FilterReservationEntry: Record "Reservation Entry", Date: Date)

Parameters

Name Type Description
FilterReservationEntry Table Microsoft.Inventory.Tracking."Reservation Entry"
Date Date

DateConflict

procedure DateConflict(Date: Date, var ForceRequest: Boolean, var ReservationEntry1: Record "Reservation Entry"): Boolean

Parameters

Name Type Description
Date Date
ForceRequest Boolean
ReservationEntry1 Table Microsoft.Inventory.Tracking."Reservation Entry"

Returns

Type Description
Boolean

IssueError

procedure IssueError(NewDate: Date)

Parameters

Name Type Description
NewDate Date

IssueError

procedure IssueError(var CalcReservEntry: Record "Reservation Entry", NewDate: Date)

Parameters

Name Type Description
CalcReservEntry Table Microsoft.Inventory.Tracking."Reservation Entry"
NewDate Date

IssueWarning

procedure IssueWarning(NewDate: Date)

Parameters

Name Type Description
NewDate Date

IssueWarning

procedure IssueWarning(var CalcReservEntry: Record "Reservation Entry", NewDate: Date)

Parameters

Name Type Description
CalcReservEntry Table Microsoft.Inventory.Tracking."Reservation Entry"
NewDate Date

Events

OnBeforeCheckProdOrderLineDateConflict

Obsolete

This element will become obsolete from version 27.0. Moved to codeunit "Mfg. ReservCheckDateConfl"

[Obsolete(Moved to codeunit "Mfg. ReservCheckDateConfl",27.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckProdOrderLineDateConflict(DueDate: Date, var ForceRequest: Boolean, var ReservationEntry: Record "Reservation Entry", var IsHandled: Boolean)

Parameters

Name Type Description
DueDate Date
ForceRequest Boolean
ReservationEntry Table Microsoft.Inventory.Tracking."Reservation Entry"
IsHandled Boolean

OnBeforeUpdateDate

[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateDate(var ReservationEntry: Record "Reservation Entry", NewDate: Date, var IsHandled: Boolean)

Parameters

Name Type Description
ReservationEntry Table Microsoft.Inventory.Tracking."Reservation Entry"
NewDate Date
IsHandled Boolean

OnSalesLineCheckOnBeforeUpdateDate

[IntegrationEvent(False,False)]
local procedure OnSalesLineCheckOnBeforeUpdateDate(var ReservationEntry: Record "Reservation Entry", SalesLine: Record "Sales Line", var IsHandled: Boolean)

Parameters

Name Type Description
ReservationEntry Table Microsoft.Inventory.Tracking."Reservation Entry"
SalesLine Table Microsoft.Sales.Document."Sales Line"
IsHandled Boolean

OnPurchLineCheckOnBeforeUpdateDate

[IntegrationEvent(True,False)]
local procedure OnPurchLineCheckOnBeforeUpdateDate(var ReservationEntry: Record "Reservation Entry", PurchaseLine: Record "Purchase Line", var IsHandled: Boolean)

Parameters

Name Type Description
ReservationEntry Table Microsoft.Inventory.Tracking."Reservation Entry"
PurchaseLine Table Microsoft.Purchases.Document."Purchase Line"
IsHandled Boolean

OnReqLineCheckOnBeforeUpdateDate

[IntegrationEvent(False,False)]
local procedure OnReqLineCheckOnBeforeUpdateDate(var ReservationEntry: Record "Reservation Entry", RequisitionLine: Record "Requisition Line", var IsHandled: Boolean)

Parameters

Name Type Description
ReservationEntry Table Microsoft.Inventory.Tracking."Reservation Entry"
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
IsHandled Boolean

OnItemJnlLineCheckOnBeforeUpdateDate

[IntegrationEvent(False,False)]
local procedure OnItemJnlLineCheckOnBeforeUpdateDate(var ReservationEntry: Record "Reservation Entry", ItemJournalLine: Record "Item Journal Line", var IsHandled: Boolean)

Parameters

Name Type Description
ReservationEntry Table Microsoft.Inventory.Tracking."Reservation Entry"
ItemJournalLine Table Microsoft.Inventory.Journal."Item Journal Line"
IsHandled Boolean

OnProdOrderLineCheckOnBeforeUpdateDate

Obsolete

This element will become obsolete from version 27.0. Moved to codeunit "Mfg. ReservCheckDateConfl"

[Obsolete(Moved to codeunit "Mfg. ReservCheckDateConfl",27.0)]
[IntegrationEvent(False,False)]
local procedure OnProdOrderLineCheckOnBeforeUpdateDate(var ReservationEntry: Record "Reservation Entry", ProdOrderLine: Record "Prod. Order Line", var IsHandled: Boolean)

Parameters

Name Type Description
ReservationEntry Table Microsoft.Inventory.Tracking."Reservation Entry"
ProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
IsHandled Boolean

OnProdOrderComponentCheckOnBeforeUpdateDate

Obsolete

This element will become obsolete from version 27.0. Moved to codeunit "Mfg. ReservCheckDateConfl"

[Obsolete(Moved to codeunit "Mfg. ReservCheckDateConfl",27.0)]
[IntegrationEvent(False,False)]
local procedure OnProdOrderComponentCheckOnBeforeUpdateDate(var ReservationEntry: Record "Reservation Entry", ProdOrderComp: Record "Prod. Order Component", var IsHandled: Boolean)

Parameters

Name Type Description
ReservationEntry Table Microsoft.Inventory.Tracking."Reservation Entry"
ProdOrderComp Table Microsoft.Manufacturing.Document."Prod. Order Component"
IsHandled Boolean

OnPlanningComponentCheckOnBeforeUpdateDate

[IntegrationEvent(False,False)]
local procedure OnPlanningComponentCheckOnBeforeUpdateDate(var ReservationEntry: Record "Reservation Entry", PlanningComponent: Record "Planning Component", var IsHandled: Boolean)

Parameters

Name Type Description
ReservationEntry Table Microsoft.Inventory.Tracking."Reservation Entry"
PlanningComponent Table Microsoft.Inventory.Planning."Planning Component"
IsHandled Boolean

OnAssemblyHeaderCheckOnBeforeUpdateDate

Obsolete

This element will become obsolete from version 27.0. Moved to codeunit AsmReservCheckDateConfl

[Obsolete(Moved to codeunit AsmReservCheckDateConfl,27.0)]
[IntegrationEvent(False,False)]
local procedure OnAssemblyHeaderCheckOnBeforeUpdateDate(var ReservationEntry: Record "Reservation Entry", AssemblyHeader: Record "Assembly Header", var IsHandled: Boolean)

Parameters

Name Type Description
ReservationEntry Table Microsoft.Inventory.Tracking."Reservation Entry"
AssemblyHeader Table Microsoft.Assembly.Document."Assembly Header"
IsHandled Boolean

OnAssemblyLineCheckOnBeforeUpdateDate

Obsolete

This element will become obsolete from version 27.0. Moved to codeunit AsmReservCheckDateConfl

[Obsolete(Moved to codeunit AsmReservCheckDateConfl,27.0)]
[IntegrationEvent(False,False)]
local procedure OnAssemblyLineCheckOnBeforeUpdateDate(var ReservationEntry: Record "Reservation Entry", AssemblyLine: Record "Assembly Line", var IsHandled: Boolean)

Parameters

Name Type Description
ReservationEntry Table Microsoft.Inventory.Tracking."Reservation Entry"
AssemblyLine Table Microsoft.Assembly.Document."Assembly Line"
IsHandled Boolean

OnAfterDateConflict

[IntegrationEvent(False,False)]
local procedure OnAfterDateConflict(var ReservationEntry: Record "Reservation Entry", var Date: Date, var IsConflict: Boolean, var ForceRequest: Boolean)

Parameters

Name Type Description
ReservationEntry Table Microsoft.Inventory.Tracking."Reservation Entry"
Date Date
IsConflict Boolean
ForceRequest Boolean

OnBeforeDateConflict

[IntegrationEvent(False,False)]
local procedure OnBeforeDateConflict(var ReservationEntry: Record "Reservation Entry", var Date: Date, var IsConflict: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
ReservationEntry Table Microsoft.Inventory.Tracking."Reservation Entry"
Date Date
IsConflict Boolean
IsHandled Boolean

OnTransLineCheckOnBeforeUpdateDate

[IntegrationEvent(False,False)]
local procedure OnTransLineCheckOnBeforeUpdateDate(var ReservationEntry: Record "Reservation Entry", TransferLine: Record "Transfer Line", Direction: Option, var IsHandled: Boolean)

Parameters

Name Type Description
ReservationEntry Table Microsoft.Inventory.Tracking."Reservation Entry"
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
Direction Option
IsHandled Boolean

OnUpdateDateFilterReservEntryLoop

[IntegrationEvent(False,False)]
local procedure OnUpdateDateFilterReservEntryLoop(var ReservationEntry: Record "Reservation Entry", var ForceModifyShipmentDate: Boolean, Date: Date)

Parameters

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

OnSalesLineCheckOnBeforeIssueError

[IntegrationEvent(False,False)]
local procedure OnSalesLineCheckOnBeforeIssueError(ReservationEntry: Record "Reservation Entry", SalesLine: Record "Sales Line", var IsHandled: Boolean, var ForceRequest: Boolean)

Parameters

Name Type Description
ReservationEntry Table Microsoft.Inventory.Tracking."Reservation Entry"
SalesLine Table Microsoft.Sales.Document."Sales Line"
IsHandled Boolean
ForceRequest Boolean

OnPurchLineCheckOnBeforeIssueError

[IntegrationEvent(False,False)]
local procedure OnPurchLineCheckOnBeforeIssueError(var ReservationEntry: Record "Reservation Entry", PurchaseLine: Record "Purchase Line", var ForceRequest: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
ReservationEntry Table Microsoft.Inventory.Tracking."Reservation Entry"
PurchaseLine Table Microsoft.Purchases.Document."Purchase Line"
ForceRequest Boolean
IsHandled Boolean

OnReqLineCheckOnBeforeIssueError

[IntegrationEvent(False,False)]
local procedure OnReqLineCheckOnBeforeIssueError(var ReservationEntry: Record "Reservation Entry", RequisitionLine: Record "Requisition Line", var ForceRequest: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
ReservationEntry Table Microsoft.Inventory.Tracking."Reservation Entry"
RequisitionLine Table Microsoft.Inventory.Requisition."Requisition Line"
ForceRequest Boolean
IsHandled Boolean

OnProdOrderComponentCheckOnBeforeIssueError

Obsolete

This element will become obsolete from version 27.0. Moved to codeunit "Mfg. ReservCheckDateConfl"

[Obsolete(Moved to codeunit "Mfg. ReservCheckDateConfl",27.0)]
[IntegrationEvent(False,False)]
local procedure OnProdOrderComponentCheckOnBeforeIssueError(var ReservationEntry: Record "Reservation Entry", ProdOrderComponent: Record "Prod. Order Component", var ForceRequest: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
ReservationEntry Table Microsoft.Inventory.Tracking."Reservation Entry"
ProdOrderComponent Table Microsoft.Manufacturing.Document."Prod. Order Component"
ForceRequest Boolean
IsHandled Boolean

OnItemJnlLineCheckOnBeforeIssueError

[IntegrationEvent(False,False)]
local procedure OnItemJnlLineCheckOnBeforeIssueError(var ReservationEntry: Record "Reservation Entry", ItemJournalLine: Record "Item Journal Line", var ForceRequest: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
ReservationEntry Table Microsoft.Inventory.Tracking."Reservation Entry"
ItemJournalLine Table Microsoft.Inventory.Journal."Item Journal Line"
ForceRequest Boolean
IsHandled Boolean

OnAssemblyHeaderCheckOnBeforeIssueError

Obsolete

This element will become obsolete from version 27.0. Moved to codeunit AsmReservCheckDateConfl

[Obsolete(Moved to codeunit AsmReservCheckDateConfl,27.0)]
[IntegrationEvent(False,False)]
local procedure OnAssemblyHeaderCheckOnBeforeIssueError(var ReservationEntry: Record "Reservation Entry", AssemblyHeader: Record "Assembly Header", var ForceRequest: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
ReservationEntry Table Microsoft.Inventory.Tracking."Reservation Entry"
AssemblyHeader Table Microsoft.Assembly.Document."Assembly Header"
ForceRequest Boolean
IsHandled Boolean

OnTransferLineCheckOutboundOnBeforeIssueError

[IntegrationEvent(False,False)]
local procedure OnTransferLineCheckOutboundOnBeforeIssueError(var ReservationEntry: Record "Reservation Entry", TransferLine: Record "Transfer Line", var ForceRequest: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
ReservationEntry Table Microsoft.Inventory.Tracking."Reservation Entry"
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
ForceRequest Boolean
IsHandled Boolean

OnTransferLineCheckInboundOnBeforeIssueError

[IntegrationEvent(False,False)]
local procedure OnTransferLineCheckInboundOnBeforeIssueError(var ReservationEntry: Record "Reservation Entry", TransferLine: Record "Transfer Line", var ForceRequest: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
ReservationEntry Table Microsoft.Inventory.Tracking."Reservation Entry"
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
ForceRequest Boolean
IsHandled Boolean

OnPlanningComponentCheckOnBeforeIssueError

[IntegrationEvent(False,False)]
local procedure OnPlanningComponentCheckOnBeforeIssueError(var ReservationEntry: Record "Reservation Entry", PlanningComponent: Record "Planning Component", var ForceRequest: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
ReservationEntry Table Microsoft.Inventory.Tracking."Reservation Entry"
PlanningComponent Table Microsoft.Inventory.Planning."Planning Component"
ForceRequest Boolean
IsHandled Boolean

OnSameProdOrderAutoReserve

[IntegrationEvent(False,False)]
local procedure OnSameProdOrderAutoReserve(var FilterReservationEntry: Record "Reservation Entry", var Result: Boolean)

Parameters

Name Type Description
FilterReservationEntry Table Microsoft.Inventory.Tracking."Reservation Entry"
Result Boolean

OnReqLineCheckOnBeforeClearSurplus

[IntegrationEvent(False,False)]
local procedure OnReqLineCheckOnBeforeClearSurplus(var ReservMgt: Codeunit "Reservation Management", var IsHandled: Boolean)

Parameters

Name Type Description
ReservMgt Codeunit Microsoft.Inventory.Tracking."Reservation Management"
IsHandled Boolean

See also