Share via


Table "Item Application Entry"

ID 339
Namespace: Microsoft.Inventory.Ledger

Properties

Name Value
Caption Item Application Entry
DrillDownPageID Page Microsoft.Inventory.Ledger."Item Application Entries"
LookupPageID Page Microsoft.Inventory.Ledger."Item Application Entries"
Permissions TableData "Item Application Entry" = rim, TableData "Item Application Entry History" = ri
DataClassification CustomerContent

Fields

Name Type Description
"Entry No." Integer
"Item Ledger Entry No." Integer
"Inbound Item Entry No." Integer
"Outbound Item Entry No." Integer
Quantity Decimal
"Item Register No." Integer
"Posting Date" Date
"Transferred-from Entry No." Integer
"Creation Date" DateTime
"Created By User" Code[50]
"Last Modified Date" DateTime
"Last Modified By User" Code[50]
"Item No." Code[20]
"Location Code" Code[10]
"Variant Code" Code[10]
"Latest Valuation Date" Date
"Cost Application" Boolean
"Output Completely Invd. Date" Date
"Outbound Entry is Updated" Boolean
SystemId Guid
SystemCreatedAt DateTime
SystemCreatedBy Guid
SystemModifiedAt DateTime
SystemModifiedBy Guid
SystemRowVersion BigInteger

Methods

GetNextEntryNo

[InherentPermissions(TableData,339,r)]
procedure GetNextEntryNo(): Integer

Returns

Type Description
Integer

GetLastEntryNo

[InherentPermissions(TableData,339,r)]
procedure GetLastEntryNo(): Integer

Returns

Type Description
Integer

AppliedOutbndEntryExists

procedure AppliedOutbndEntryExists(InbndItemLedgEntryNo: Integer, IsCostApplication: Boolean, FilterOnOnlyCostNotAdjusted: Boolean): Boolean

Parameters

Name Type Description
InbndItemLedgEntryNo Integer
IsCostApplication Boolean
FilterOnOnlyCostNotAdjusted Boolean

Returns

Type Description
Boolean

AppliedOutbndEntryExists

procedure AppliedOutbndEntryExists(var ItemApplicationEntries: Query "Item Application Entries", InbndItemLedgEntryNo: Integer, IsCostApplication: Boolean, FilterOnOnlyCostNotAdjusted: Boolean): Boolean

Parameters

Name Type Description
ItemApplicationEntries Query Microsoft.Inventory.Ledger."Item Application Entries"
InbndItemLedgEntryNo Integer
IsCostApplication Boolean
FilterOnOnlyCostNotAdjusted Boolean

Returns

Type Description
Boolean

AppliedInbndTransEntryExists

procedure AppliedInbndTransEntryExists(InbndItemLedgEntryNo: Integer, IsCostApplication: Boolean): Boolean

Parameters

Name Type Description
InbndItemLedgEntryNo Integer
IsCostApplication Boolean

Returns

Type Description
Boolean

AppliedInbndTransEntryExists

procedure AppliedInbndTransEntryExists(var ItemApplicationEntries: Query "Item Application Entries", InbndItemLedgEntryNo: Integer, IsCostApplication: Boolean): Boolean

Parameters

Name Type Description
ItemApplicationEntries Query Microsoft.Inventory.Ledger."Item Application Entries"
InbndItemLedgEntryNo Integer
IsCostApplication Boolean

Returns

Type Description
Boolean

AppliedInbndEntryExists

procedure AppliedInbndEntryExists(OutbndItemLedgEntryNo: Integer, IsCostApplication: Boolean): Boolean

Parameters

Name Type Description
OutbndItemLedgEntryNo Integer
IsCostApplication Boolean

Returns

Type Description
Boolean

AppliedInbndEntryExists

procedure AppliedInbndEntryExists(var ItemApplicationEntries: Query "Item Application Entries", OutbndItemLedgEntryNo: Integer, IsCostApplication: Boolean): Boolean

Parameters

Name Type Description
ItemApplicationEntries Query Microsoft.Inventory.Ledger."Item Application Entries"
OutbndItemLedgEntryNo Integer
IsCostApplication Boolean

Returns

Type Description
Boolean

AppliedFromEntryExists

procedure AppliedFromEntryExists(InbndItemLedgEntryNo: Integer): Boolean

Parameters

Name Type Description
InbndItemLedgEntryNo Integer

Returns

Type Description
Boolean

GetInboundEntriesTheOutbndEntryAppliedTo

procedure GetInboundEntriesTheOutbndEntryAppliedTo(OutbndItemLedgEntryNo: Integer): Boolean

Parameters

Name Type Description
OutbndItemLedgEntryNo Integer

Returns

Type Description
Boolean

GetOutboundEntriesAppliedToTheInboundEntry

procedure GetOutboundEntriesAppliedToTheInboundEntry(InbndItemLedgEntryNo: Integer): Boolean

Parameters

Name Type Description
InbndItemLedgEntryNo Integer

Returns

Type Description
Boolean

CheckAppliedFromEntryToAdjust

procedure CheckAppliedFromEntryToAdjust(InbndItemLedgEntryNo: Integer)

Parameters

Name Type Description
InbndItemLedgEntryNo Integer

CostReceiver

procedure CostReceiver(): Integer

Returns

Type Description
Integer

Fixed

procedure Fixed(): Boolean

Returns

Type Description
Boolean

InsertHistory

procedure InsertHistory(): Integer

Returns

Type Description
Integer

CostApplication

procedure CostApplication(): Boolean

Returns

Type Description
Boolean

CheckIsCyclicalLoop

procedure CheckIsCyclicalLoop(CheckItemLedgEntry: Record "Item Ledger Entry", FromItemLedgEntry: Record "Item Ledger Entry"): Boolean

Parameters

Name Type Description
CheckItemLedgEntry Table Microsoft.Inventory.Ledger."Item Ledger Entry"
FromItemLedgEntry Table Microsoft.Inventory.Ledger."Item Ledger Entry"

Returns

Type Description
Boolean

GetVisitedEntries

procedure GetVisitedEntries(FromItemLedgEntry: Record "Item Ledger Entry", var ItemLedgEntryInChain: Record "Item Ledger Entry", WithinValuationDate: Boolean)

Parameters

Name Type Description
FromItemLedgEntry Table Microsoft.Inventory.Ledger."Item Ledger Entry"
ItemLedgEntryInChain Table Microsoft.Inventory.Ledger."Item Ledger Entry"
WithinValuationDate Boolean

OutboundApplied

procedure OutboundApplied(EntryNo: Integer, SameType: Boolean): Decimal

Parameters

Name Type Description
EntryNo Integer
SameType Boolean

Returns

Type Description
Decimal

InboundApplied

procedure InboundApplied(EntryNo: Integer, SameType: Boolean): Decimal

Parameters

Name Type Description
EntryNo Integer
SameType Boolean

Returns

Type Description
Decimal

Returned

procedure Returned(EntryNo: Integer): Decimal

Parameters

Name Type Description
EntryNo Integer

Returns

Type Description
Decimal

ExistsBetween

procedure ExistsBetween(ILE1: Integer, ILE2: Integer): Boolean

Parameters

Name Type Description
ILE1 Integer
ILE2 Integer

Returns

Type Description
Boolean

SetOutboundsNotUpdated

procedure SetOutboundsNotUpdated(ItemLedgEntry: Record "Item Ledger Entry")

Parameters

Name Type Description
ItemLedgEntry Table Microsoft.Inventory.Ledger."Item Ledger Entry"

SetInboundToUpdated

procedure SetInboundToUpdated(ItemLedgEntry: Record "Item Ledger Entry")

Parameters

Name Type Description
ItemLedgEntry Table Microsoft.Inventory.Ledger."Item Ledger Entry"

IsAppliedFromIncrease

procedure IsAppliedFromIncrease(InbndItemLedgEntryNo: Integer): Boolean

Parameters

Name Type Description
InbndItemLedgEntryNo Integer

Returns

Type Description
Boolean

IsOutbndItemApplEntryCostApplication

procedure IsOutbndItemApplEntryCostApplication(OutboundItemLedgEntryNo: Integer): Boolean

Parameters

Name Type Description
OutboundItemLedgEntryNo Integer

Returns

Type Description
Boolean

SetSearchedItemLedgerEntry

Obsolete

This element will become obsolete from version 27.0. The optimization that used this function was obsoleted.

[Obsolete(The optimization that used this function was obsoleted.,27.0)]
procedure SetSearchedItemLedgerEntry(var ItemLedgerEntry: Record "Item Ledger Entry")

Parameters

Name Type Description
ItemLedgerEntry Table Microsoft.Inventory.Ledger."Item Ledger Entry"

SetCostApplication

procedure SetCostApplication(NewCostApplication: Boolean)

Parameters

Name Type Description
NewCostApplication Boolean

Events

OnBeforeFixed

[IntegrationEvent(False,False)]
local procedure OnBeforeFixed(ItemApplicationEntry: Record "Item Application Entry", var Result: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
ItemApplicationEntry Table Microsoft.Inventory.Ledger."Item Application Entry"
Result Boolean
IsHandled Boolean

OnSetInboundToUpdatedOnAfterSetFilters

[IntegrationEvent(False,False)]
local procedure OnSetInboundToUpdatedOnAfterSetFilters(var ItemApplicationEntry: Record "Item Application Entry")

Parameters

Name Type Description
ItemApplicationEntry Table Microsoft.Inventory.Ledger."Item Application Entry"

OnBeforeCheckCyclicProdCyclicalLoop

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckCyclicProdCyclicalLoop(var ItemApplicationEntry: Record "Item Application Entry", CheckItemLedgerEntry: Record "Item Ledger Entry", ItemLedgerEntry: Record "Item Ledger Entry", var Result: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
ItemApplicationEntry Table Microsoft.Inventory.Ledger."Item Application Entry"
CheckItemLedgerEntry Table Microsoft.Inventory.Ledger."Item Ledger Entry"
ItemLedgerEntry Table Microsoft.Inventory.Ledger."Item Ledger Entry"
Result Boolean
IsHandled Boolean

OnBeforeCheckCyclicAsmCyclicalLoop

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckCyclicAsmCyclicalLoop(var ItemApplicationEntry: Record "Item Application Entry", CheckItemLedgerEntry: Record "Item Ledger Entry", ItemLedgerEntry: Record "Item Ledger Entry", var Result: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
ItemApplicationEntry Table Microsoft.Inventory.Ledger."Item Application Entry"
CheckItemLedgerEntry Table Microsoft.Inventory.Ledger."Item Ledger Entry"
ItemLedgerEntry Table Microsoft.Inventory.Ledger."Item Ledger Entry"
Result Boolean
IsHandled Boolean

OnSetOutboundsNotUpdatedOnAfterSetFilters

[IntegrationEvent(False,False)]
local procedure OnSetOutboundsNotUpdatedOnAfterSetFilters(var ItemApplicationEntry: Record "Item Application Entry")

Parameters

Name Type Description
ItemApplicationEntry Table Microsoft.Inventory.Ledger."Item Application Entry"

OnCheckIsCyclicalLoopOnBeforeCheckCyclicForwardToAppliedInbounds

[IntegrationEvent(True,False)]
local procedure OnCheckIsCyclicalLoopOnBeforeCheckCyclicForwardToAppliedInbounds(CheckItemLedgEntry: Record "Item Ledger Entry", FromItemLedgEntry: Record "Item Ledger Entry", MaxValuationDate: Date, var IsCyclicalLoop: Boolean)

Parameters

Name Type Description
CheckItemLedgEntry Table Microsoft.Inventory.Ledger."Item Ledger Entry"
FromItemLedgEntry Table Microsoft.Inventory.Ledger."Item Ledger Entry"
MaxValuationDate Date
IsCyclicalLoop Boolean

OnCheckCyclicFwdToAppliedEntriesOnAfterCheckItemApplicationEntry

[IntegrationEvent(True,False)]
local procedure OnCheckCyclicFwdToAppliedEntriesOnAfterCheckItemApplicationEntry(CheckItemLedgerEntry: Record "Item Ledger Entry", ToEntryNo: Integer, IsPositiveToNegativeFlow: Boolean, var IsCyclicalLoop: Boolean)

Parameters

Name Type Description
CheckItemLedgerEntry Table Microsoft.Inventory.Ledger."Item Ledger Entry"
ToEntryNo Integer
IsPositiveToNegativeFlow Boolean
IsCyclicalLoop Boolean

See also