Table of Contents

Codeunit "Whse. Item Tracking FEFO"

ID 7326
Namespace: Microsoft.Warehouse.Tracking

Methods

CreateEntrySummaryFEFO

procedure CreateEntrySummaryFEFO(Location: Record Location; ItemNo: Code[20]; VariantCode: Code[10]; UseExpDates: Boolean)

Parameters

Name Type Description
Location Table Microsoft.Inventory.Location.Location
ItemNo Code[20]
VariantCode Code[10]
UseExpDates Boolean

CreateEntrySummaryFEFO

procedure CreateEntrySummaryFEFO(Location: Record Location; ItemNo: Code[20]; VariantCode: Code[10]; UnitofMeasureCode: Code[10]; UseExpDates: Boolean)

Parameters

Name Type Description
Location Table Microsoft.Inventory.Location.Location
ItemNo Code[20]
VariantCode Code[10]
UnitofMeasureCode Code[10]
UseExpDates Boolean

InsertEntrySummaryFEFO

procedure InsertEntrySummaryFEFO(ItemTrackingSetup: Record "Item Tracking Setup"; ExpirationDate: Date)

Parameters

Name Type Description
ItemTrackingSetup Table Microsoft.Inventory.Tracking."Item Tracking Setup"
ExpirationDate Date

EntrySummaryFEFOExists

procedure EntrySummaryFEFOExists(ItemTrackingSetup: Record "Item Tracking Setup"): Boolean

Parameters

Name Type Description
ItemTrackingSetup Table Microsoft.Inventory.Tracking."Item Tracking Setup"

Returns

Type Description
Boolean

FindFirstEntrySummaryFEFO

procedure FindFirstEntrySummaryFEFO(var EntrySummary: Record "Entry Summary"): Boolean

Parameters

Name Type Description
EntrySummary Table Microsoft.Inventory.Tracking."Entry Summary"

Returns

Type Description
Boolean

FindNextEntrySummaryFEFO

procedure FindNextEntrySummaryFEFO(var EntrySummary: Record "Entry Summary"): Boolean

Parameters

Name Type Description
EntrySummary Table Microsoft.Inventory.Tracking."Entry Summary"

Returns

Type Description
Boolean

GetHasExpiredItems

procedure GetHasExpiredItems(): Boolean

Returns

Type Description
Boolean

GetResultMessageForExpiredItem

procedure GetResultMessageForExpiredItem(): Text[100]

Returns

Type Description
Text[100]

SetSource

procedure SetSource(SourceType2: Integer; SourceSubType2: Integer; SourceNo2: Code[20]; SourceLineNo2: Integer; SourceSubLineNo2: Integer)

Parameters

Name Type Description
SourceType2 Integer
SourceSubType2 Integer
SourceNo2 Code[20]
SourceLineNo2 Integer
SourceSubLineNo2 Integer

SetCalledFromMovementWksh

procedure SetCalledFromMovementWksh(NewCalledFromMovementWksh: Boolean)

Parameters

Name Type Description
NewCalledFromMovementWksh Boolean

Events

OnAfterCreateEntrySummaryFEFO

[IntegrationEvent(False,False)]
local procedure OnAfterCreateEntrySummaryFEFO(var TempEntrySummary: Record "Entry Summary" temporary)

Parameters

Name Type Description
TempEntrySummary Table Microsoft.Inventory.Tracking."Entry Summary"

OnAfterIsItemTrackingBlocked

[IntegrationEvent(False,False)]
local procedure OnAfterIsItemTrackingBlocked(var ReservEntry: Record "Reservation Entry"; ItemNo: Code[20]; VariantCode: Code[10]; LotNo: Code[50]; var IsBlocked: Boolean; ItemTrackingSetup: Record "Item Tracking Setup")

Parameters

Name Type Description
ReservEntry Table Microsoft.Inventory.Tracking."Reservation Entry"
ItemNo Code[20]
VariantCode Code[10]
LotNo Code[50]
IsBlocked Boolean
ItemTrackingSetup Table Microsoft.Inventory.Tracking."Item Tracking Setup"

OnBeforeFindFirstEntrySummaryFEFO

[IntegrationEvent(False,False)]
local procedure OnBeforeFindFirstEntrySummaryFEFO(var TempGlobalEntrySummary: Record "Entry Summary" temporary; var IsFound: Boolean; var IsHandled: Boolean)

Parameters

Name Type Description
TempGlobalEntrySummary Table Microsoft.Inventory.Tracking."Entry Summary"
IsFound Boolean
IsHandled Boolean

OnBeforeInsertEntrySummaryFEFO

[IntegrationEvent(False,False)]
local procedure OnBeforeInsertEntrySummaryFEFO(var TempGlobalEntrySummary: Record "Entry Summary" temporary)

Parameters

Name Type Description
TempGlobalEntrySummary Table Microsoft.Inventory.Tracking."Entry Summary"

OnBeforeInsertEntrySummaryFEFOProcedure

[IntegrationEvent(False,False)]
local procedure OnBeforeInsertEntrySummaryFEFOProcedure(ItemTrackingSetup: Record "Item Tracking Setup"; var TempGlobalEntrySummary: Record "Entry Summary" temporary; var LastSummaryEntryNo: Integer; StrictExpirationPosting: Boolean; ExpirationDate: Date; var HasExpiredItems: Boolean; var IsHandled: Boolean)

Parameters

Name Type Description
ItemTrackingSetup Table Microsoft.Inventory.Tracking."Item Tracking Setup"
TempGlobalEntrySummary Table Microsoft.Inventory.Tracking."Entry Summary"
LastSummaryEntryNo Integer
StrictExpirationPosting Boolean
ExpirationDate Date
HasExpiredItems Boolean
IsHandled Boolean

OnBeforeSetSource

[IntegrationEvent(False,False)]
local procedure OnBeforeSetSource(SourceType2: Integer; SourceSubType2: Integer; SourceNo2: Code[20]; SourceLineNo2: Integer; SourceSubLineNo2: Integer)

Parameters

Name Type Description
SourceType2 Integer
SourceSubType2 Integer
SourceNo2 Code[20]
SourceLineNo2 Integer
SourceSubLineNo2 Integer

OnBeforeSummarizeInventoryFEFO

[IntegrationEvent(True,False)]
local procedure OnBeforeSummarizeInventoryFEFO(Location: Record Location; ItemNo: Code[20]; VariantCode: Code[10]; HasExpirationDate: Boolean; var IsHandled: Boolean; var TempGlobalEntrySummary: Record "Entry Summary"; var StrictExpirationPosting: Boolean; var LastSummaryEntryNo: Integer; var HasExpiredItems: Boolean)

Parameters

Name Type Description
Location Table Microsoft.Inventory.Location.Location
ItemNo Code[20]
VariantCode Code[10]
HasExpirationDate Boolean
IsHandled Boolean
TempGlobalEntrySummary Table Microsoft.Inventory.Tracking."Entry Summary"
StrictExpirationPosting Boolean
LastSummaryEntryNo Integer
HasExpiredItems Boolean

OnEntrySummaryFEFOExistsOnAfterSetFilters

[IntegrationEvent(False,False)]
local procedure OnEntrySummaryFEFOExistsOnAfterSetFilters(var TempGlobalEntrySummary: Record "Entry Summary" temporary)

Parameters

Name Type Description
TempGlobalEntrySummary Table Microsoft.Inventory.Tracking."Entry Summary"

OnSummarizeAdjustmentBinFEFOOnBeforeInsertEntrySummaryFEFO

[IntegrationEvent(False,False)]
local procedure OnSummarizeAdjustmentBinFEFOOnBeforeInsertEntrySummaryFEFO(var TempGlobalEntrySummary: Record "Entry Summary" temporary; WarehouseEntry: Record "Warehouse Entry"; var ItemTrackingSetup: Record "Item Tracking Setup"; Location: Record Location)

Parameters

Name Type Description
TempGlobalEntrySummary Table Microsoft.Inventory.Tracking."Entry Summary"
WarehouseEntry Table Microsoft.Warehouse.Ledger."Warehouse Entry"
ItemTrackingSetup Table Microsoft.Inventory.Tracking."Item Tracking Setup"
Location Table Microsoft.Inventory.Location.Location

OnBeforeFindNextEntrySummaryFEFO

[IntegrationEvent(False,False)]
local procedure OnBeforeFindNextEntrySummaryFEFO(var EntrySummary: Record "Entry Summary"; var TempGlobalEntrySummary: Record "Entry Summary" temporary; var Result: Boolean; var IsHandled: Boolean)

Parameters

Name Type Description
EntrySummary Table Microsoft.Inventory.Tracking."Entry Summary"
TempGlobalEntrySummary Table Microsoft.Inventory.Tracking."Entry Summary"
Result Boolean
IsHandled Boolean

OnSummarizeInventoryFEFOOnBeforeInsertEntrySummaryFEFO

[IntegrationEvent(True,False)]
local procedure OnSummarizeInventoryFEFOOnBeforeInsertEntrySummaryFEFO(var Location: Record Location; ItemNo: Code[20]; VariantCode: Code[10]; HasExpirationDate: Boolean; NonReservedQtyLotSN: Decimal; var ItemTrackingSetup: Record "Item Tracking Setup"; ExpirationDate: Date; var DoInsertEntrySummary: Boolean; var TempGlobalEntrySummary: Record "Entry Summary" temporary)

Parameters

Name Type Description
Location Table Microsoft.Inventory.Location.Location
ItemNo Code[20]
VariantCode Code[10]
HasExpirationDate Boolean
NonReservedQtyLotSN Decimal
ItemTrackingSetup Table Microsoft.Inventory.Tracking."Item Tracking Setup"
ExpirationDate Date
DoInsertEntrySummary Boolean
TempGlobalEntrySummary Table Microsoft.Inventory.Tracking."Entry Summary"

See also