Share via


Codeunit "Item Jnl.-Check Line"

ID 21
Namespace: Microsoft.Inventory.Journal

Properties

Name Value
TableNo Table Microsoft.Inventory.Journal."Item Journal Line"

Methods

RunCheck

procedure RunCheck(var ItemJournalLine: Record "Item Journal Line")

Parameters

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

SetCalledFromInvtPutawayPick

procedure SetCalledFromInvtPutawayPick(NewCalledFromInvtPutawayPick: Boolean)

Parameters

Name Type Description
NewCalledFromInvtPutawayPick Boolean

SetCalledFromAdjustment

procedure SetCalledFromAdjustment(NewCalledFromAdjustment: Boolean)

Parameters

Name Type Description
NewCalledFromAdjustment Boolean

Events

OnAfterCheckItemJnlLine

[IntegrationEvent(False,False)]
local procedure OnAfterCheckItemJnlLine(var ItemJnlLine: Record "Item Journal Line", CalledFromInvtPutawayPick: Boolean, CalledFromAdjustment: Boolean)

Parameters

Name Type Description
ItemJnlLine Table Microsoft.Inventory.Journal."Item Journal Line"
CalledFromInvtPutawayPick Boolean
CalledFromAdjustment Boolean

OnAfterAssignInvtPickRequired

Obsolete

This element will become obsolete from version 26.0. Moved to codeunits Asm./Mfg. Item Jnl.-Check-Line

[Obsolete(Moved to codeunits Asm./Mfg. Item Jnl.-Check-Line,26.0)]
[IntegrationEvent(False,False)]
local procedure OnAfterAssignInvtPickRequired(ItemJournalLine: Record "Item Journal Line", Location: Record Location, var InvtPickLocation: Boolean)

Parameters

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

OnAfterAssignWhsePickRequired

Obsolete

This element will become obsolete from version 26.0. Moved to codeunits Asm./Mfg. Item Jnl.-Check-Line

[Obsolete(Moved to codeunits Asm./Mfg. Item Jnl.-Check-Line,26.0)]
[IntegrationEvent(False,False)]
local procedure OnAfterAssignWhsePickRequired(ItemJournalLine: Record "Item Journal Line", Location: Record Location, var WhsePickLocation: Boolean)

Parameters

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

OnAfterAssignInvtPutAwayRequired

Obsolete

This element will become obsolete from version 26.0. Moved to codeunits Asm./Mfg. Item Jnl.-Check-Line

[Obsolete(Moved to codeunits Asm./Mfg. Item Jnl.-Check-Line,26.0)]
[IntegrationEvent(False,False)]
local procedure OnAfterAssignInvtPutAwayRequired(ItemJournalLine: Record "Item Journal Line", Location: Record Location, var InvtPutAwayLocation: Boolean)

Parameters

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

OnAfterCheckFindProdOrderLine

Obsolete

This element will become obsolete from version 26.0. Moved to codeunits Mfg. Item Jnl.-Check-Line

[Obsolete(Moved to codeunits Mfg. Item Jnl.-Check-Line,26.0)]
[IntegrationEvent(False,False)]
local procedure OnAfterCheckFindProdOrderLine(ItemJournalLine: Record "Item Journal Line", ProdOrderLine: Record "Prod. Order Line")

Parameters

Name Type Description
ItemJournalLine Table Microsoft.Inventory.Journal."Item Journal Line"
ProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"

OnAfterGetItem

[IntegrationEvent(False,False)]
local procedure OnAfterGetItem(Item: Record Item, var ItemJournalLine: Record "Item Journal Line", var IsHandled: Boolean)

Parameters

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

OnBeforeCheckBins

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckBins(var ItemJournalLine: Record "Item Journal Line", var IsHandled: Boolean, CalledFromAdjustment: Boolean)

Parameters

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

OnBeforeCheckDimensions

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckDimensions(var ItemJournalLine: Record "Item Journal Line", CalledFromAdjustment: Boolean, var IsHandled: Boolean)

Parameters

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

OnBeforeCheckInTransitLocations

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckInTransitLocations(var ItemJournalLine: Record "Item Journal Line", var IsHandled: Boolean)

Parameters

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

OnBeforeCheckLocation

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckLocation(var ItemJournalLine: Record "Item Journal Line", var IsHandled: Boolean)

Parameters

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

OnBeforeCheckSubcontracting

Obsolete

This element will become obsolete from version 26.0. Moved to codeunits Mfg. Item Jnl.-Check-Line

[Obsolete(Moved to codeunits Mfg. Item Jnl.-Check-Line,26.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckSubcontracting(var ItemJournalLine: Record "Item Journal Line", var IsHandled: Boolean)

Parameters

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

OnBeforeCheckWarehouse

Obsolete

This element will become obsolete from version 26.0. Moved to codeunits Mfg. Item Jnl.-Check-Line

[Obsolete(Moved to codeunits Mfg. Item Jnl.-Check-Line,26.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckWarehouse(var ItemJournalLine: Record "Item Journal Line", var IsHandled: Boolean)

Parameters

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

OnBeforeCheckWarehouseLastOutputOperation

Obsolete

This element will become obsolete from version 26.0. Moved to codeunits Mfg. Item Jnl.-Check-Line

[Obsolete(Moved to codeunits Mfg. Item Jnl.-Check-Line,26.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckWarehouseLastOutputOperation(var ItemJournalLine: Record "Item Journal Line", var Result: Boolean, var IsHandled: Boolean)

Parameters

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

OnBeforeCheckOutputFields

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckOutputFields(var ItemJournalLine: Record "Item Journal Line", var IsHandled: Boolean)

Parameters

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

OnBeforeDateNotAllowed

[IntegrationEvent(False,False)]
local procedure OnBeforeDateNotAllowed(ItemJnlLine: Record "Item Journal Line", var DateCheckDone: Boolean)

Parameters

Name Type Description
ItemJnlLine Table Microsoft.Inventory.Journal."Item Journal Line"
DateCheckDone Boolean

OnBeforeCheckPhysInventory

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckPhysInventory(ItemJnlLine: Record "Item Journal Line", var IsHandled: Boolean)

Parameters

Name Type Description
ItemJnlLine Table Microsoft.Inventory.Journal."Item Journal Line"
IsHandled Boolean

OnBeforeCheckEmptyQuantity

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckEmptyQuantity(ItemJnlLine: Record "Item Journal Line", var IsHandled: Boolean)

Parameters

Name Type Description
ItemJnlLine Table Microsoft.Inventory.Journal."Item Journal Line"
IsHandled Boolean

OnBeforeCheckNewBinCode

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckNewBinCode(ItemJnlLine: Record "Item Journal Line", Location: Record Location, var IsHandled: Boolean)

Parameters

Name Type Description
ItemJnlLine Table Microsoft.Inventory.Journal."Item Journal Line"
Location Table Microsoft.Inventory.Location.Location
IsHandled Boolean

OnCheckBinsOnBeforeCheckNonZeroQuantity

[IntegrationEvent(False,False)]
local procedure OnCheckBinsOnBeforeCheckNonZeroQuantity(ItemJnlLine: Record "Item Journal Line", var CalledFromAdjustment: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
ItemJnlLine Table Microsoft.Inventory.Journal."Item Journal Line"
CalledFromAdjustment Boolean
IsHandled Boolean

OnCheckDatesOnAfterCalcShouldShowError

[IntegrationEvent(False,False)]
local procedure OnCheckDatesOnAfterCalcShouldShowError(var ItemJournalLine: Record "Item Journal Line", var ShouldShowError: Boolean, CalledFromAdjustment: Boolean)

Parameters

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

OnCheckDimensionsOnAfterAssignDimTableIDs

[IntegrationEvent(False,False)]
local procedure OnCheckDimensionsOnAfterAssignDimTableIDs(var ItemJnlLine: Record "Item Journal Line", var TableID: array[10] of Integer, var No: array[10] of Code[20])

Parameters

Name Type Description
ItemJnlLine Table Microsoft.Inventory.Journal."Item Journal Line"
TableID array[10] of Integer
No array[10] of Code[20]

OnRunCheckOnAfterCalcShouldCheckItemNo

Obsolete

This element will become obsolete from version 26.0. Moved to codeunits Mfg. Item Jnl.-Check-Line

[Obsolete(Moved to codeunits Mfg. Item Jnl.-Check-Line,26.0)]
[IntegrationEvent(False,False)]
local procedure OnRunCheckOnAfterCalcShouldCheckItemNo(ItemJournalLine: Record "Item Journal Line", ProdOrderLine: Record "Prod. Order Line", CalledFromAdjustment: Boolean, var ShouldCheckItemNo: Boolean)

Parameters

Name Type Description
ItemJournalLine Table Microsoft.Inventory.Journal."Item Journal Line"
ProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
CalledFromAdjustment Boolean
ShouldCheckItemNo Boolean

OnRunCheckOnAfterCalcShouldCheckLocationCode

[IntegrationEvent(False,False)]
local procedure OnRunCheckOnAfterCalcShouldCheckLocationCode(var ItemJournalLine: Record "Item Journal Line", var ShouldCheckLocationCode: Boolean)

Parameters

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

OnRunCheckOnAfterCalcShouldCheckDiscountAmount

[IntegrationEvent(False,False)]
local procedure OnRunCheckOnAfterCalcShouldCheckDiscountAmount(var ItemJournalLine: Record "Item Journal Line", var ShouldCheckDiscountAmount: Boolean)

Parameters

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

OnBeforeCheckVariantMandatory

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckVariantMandatory(var ItemJournalLine: Record "Item Journal Line", var IsHandled: Boolean)

Parameters

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

OnRunCheckOnAfterCalcShouldCheckApplication

[IntegrationEvent(False,False)]
local procedure OnRunCheckOnAfterCalcShouldCheckApplication(var ItemJournalLine: Record "Item Journal Line", var ShouldCheckApplication: Boolean)

Parameters

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

OnRunCheckOnBeforeTestFieldAppliesToEntry

[IntegrationEvent(False,False)]
local procedure OnRunCheckOnBeforeTestFieldAppliesToEntry(var ItemJournalLine: Record "Item Journal Line", var IsHandled: Boolean)

Parameters

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

OnBeforeGetItem

[IntegrationEvent(False,False)]
local procedure OnBeforeGetItem(var Item: Record Item, var IsHandled: Boolean, ItemJournalLine: Record "Item Journal Line")

Parameters

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

OnRunOnCheckWarehouse

[IntegrationEvent(False,False)]
local procedure OnRunOnCheckWarehouse(var ItemJournalLine: Record "Item Journal Line", CalledFromAdjustment: Boolean, CalledFromInvtPutawayPick: Boolean)

Parameters

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

OnCheckDimensionsOnAfterSetTableValues

[IntegrationEvent(False,False)]
local procedure OnCheckDimensionsOnAfterSetTableValues(ItemJournalLine: Record "Item Journal Line", var TableID: array[10] of Integer, var No: array[10] of Code[20])

Parameters

Name Type Description
ItemJournalLine Table Microsoft.Inventory.Journal."Item Journal Line"
TableID array[10] of Integer
No array[10] of Code[20]

OnCheckEmptyQuantity

[IntegrationEvent(False,False)]
local procedure OnCheckEmptyQuantity(var ItemJournalLine: Record "Item Journal Line")

Parameters

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

See also