Table "Item Application Entry"
ID 339
Namespace: Microsoft.Inventory.Ledger
Properties
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
GetLastEntryNo
[InherentPermissions(TableData,339,r)]
procedure GetLastEntryNo(): Integer
Returns
AppliedOutbndEntryExists
procedure AppliedOutbndEntryExists(InbndItemLedgEntryNo: Integer, IsCostApplication: Boolean, FilterOnOnlyCostNotAdjusted: Boolean): Boolean
Parameters
Name
Type
Description
InbndItemLedgEntryNo
Integer
IsCostApplication
Boolean
FilterOnOnlyCostNotAdjusted
Boolean
Returns
AppliedOutbndEntryExists
procedure AppliedOutbndEntryExists(var ItemApplicationEntries: Query "Item Application Entries", InbndItemLedgEntryNo: Integer, IsCostApplication: Boolean, FilterOnOnlyCostNotAdjusted: Boolean): Boolean
Parameters
Returns
AppliedInbndTransEntryExists
procedure AppliedInbndTransEntryExists(InbndItemLedgEntryNo: Integer, IsCostApplication: Boolean): Boolean
Parameters
Name
Type
Description
InbndItemLedgEntryNo
Integer
IsCostApplication
Boolean
Returns
AppliedInbndTransEntryExists
procedure AppliedInbndTransEntryExists(var ItemApplicationEntries: Query "Item Application Entries", InbndItemLedgEntryNo: Integer, IsCostApplication: Boolean): Boolean
Parameters
Returns
AppliedInbndEntryExists
procedure AppliedInbndEntryExists(OutbndItemLedgEntryNo: Integer, IsCostApplication: Boolean): Boolean
Parameters
Name
Type
Description
OutbndItemLedgEntryNo
Integer
IsCostApplication
Boolean
Returns
AppliedInbndEntryExists
procedure AppliedInbndEntryExists(var ItemApplicationEntries: Query "Item Application Entries", OutbndItemLedgEntryNo: Integer, IsCostApplication: Boolean): Boolean
Parameters
Returns
AppliedFromEntryExists
procedure AppliedFromEntryExists(InbndItemLedgEntryNo: Integer): Boolean
Parameters
Name
Type
Description
InbndItemLedgEntryNo
Integer
Returns
GetInboundEntriesTheOutbndEntryAppliedTo
procedure GetInboundEntriesTheOutbndEntryAppliedTo(OutbndItemLedgEntryNo: Integer): Boolean
Parameters
Name
Type
Description
OutbndItemLedgEntryNo
Integer
Returns
GetOutboundEntriesAppliedToTheInboundEntry
procedure GetOutboundEntriesAppliedToTheInboundEntry(InbndItemLedgEntryNo: Integer): Boolean
Parameters
Name
Type
Description
InbndItemLedgEntryNo
Integer
Returns
CheckAppliedFromEntryToAdjust
procedure CheckAppliedFromEntryToAdjust(InbndItemLedgEntryNo: Integer)
Parameters
Name
Type
Description
InbndItemLedgEntryNo
Integer
CostReceiver
procedure CostReceiver(): Integer
Returns
Fixed
procedure Fixed(): Boolean
Returns
InsertHistory
procedure InsertHistory(): Integer
Returns
CostApplication
procedure CostApplication(): Boolean
Returns
CheckIsCyclicalLoop
procedure CheckIsCyclicalLoop(CheckItemLedgEntry: Record "Item Ledger Entry", FromItemLedgEntry: Record "Item Ledger Entry"): Boolean
Parameters
Returns
GetVisitedEntries
procedure GetVisitedEntries(FromItemLedgEntry: Record "Item Ledger Entry", var ItemLedgEntryInChain: Record "Item Ledger Entry", WithinValuationDate: Boolean)
Parameters
OutboundApplied
procedure OutboundApplied(EntryNo: Integer, SameType: Boolean): Decimal
Parameters
Name
Type
Description
EntryNo
Integer
SameType
Boolean
Returns
InboundApplied
procedure InboundApplied(EntryNo: Integer, SameType: Boolean): Decimal
Parameters
Name
Type
Description
EntryNo
Integer
SameType
Boolean
Returns
Returned
procedure Returned(EntryNo: Integer): Decimal
Parameters
Name
Type
Description
EntryNo
Integer
Returns
ExistsBetween
procedure ExistsBetween(ILE1: Integer, ILE2: Integer): Boolean
Parameters
Name
Type
Description
ILE1
Integer
ILE2
Integer
Returns
SetOutboundsNotUpdated
procedure SetOutboundsNotUpdated(ItemLedgEntry: Record "Item Ledger Entry")
Parameters
SetInboundToUpdated
procedure SetInboundToUpdated(ItemLedgEntry: Record "Item Ledger Entry")
Parameters
IsAppliedFromIncrease
procedure IsAppliedFromIncrease(InbndItemLedgEntryNo: Integer): Boolean
Parameters
Name
Type
Description
InbndItemLedgEntryNo
Integer
Returns
IsOutbndItemApplEntryCostApplication
procedure IsOutbndItemApplEntryCostApplication(OutboundItemLedgEntryNo: Integer): Boolean
Parameters
Name
Type
Description
OutboundItemLedgEntryNo
Integer
Returns
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
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
OnSetInboundToUpdatedOnAfterSetFilters
[IntegrationEvent(False,False)]
local procedure OnSetInboundToUpdatedOnAfterSetFilters(var ItemApplicationEntry: Record "Item Application Entry")
Parameters
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
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
OnSetOutboundsNotUpdatedOnAfterSetFilters
[IntegrationEvent(False,False)]
local procedure OnSetOutboundsNotUpdatedOnAfterSetFilters(var ItemApplicationEntry: Record "Item Application Entry")
Parameters
OnCheckIsCyclicalLoopOnBeforeCheckCyclicForwardToAppliedInbounds
[IntegrationEvent(True,False)]
local procedure OnCheckIsCyclicalLoopOnBeforeCheckCyclicForwardToAppliedInbounds(CheckItemLedgEntry: Record "Item Ledger Entry", FromItemLedgEntry: Record "Item Ledger Entry", MaxValuationDate: Date, var IsCyclicalLoop: Boolean)
Parameters
OnCheckCyclicFwdToAppliedEntriesOnAfterCheckItemApplicationEntry
[IntegrationEvent(True,False)]
local procedure OnCheckCyclicFwdToAppliedEntriesOnAfterCheckItemApplicationEntry(CheckItemLedgerEntry: Record "Item Ledger Entry", ToEntryNo: Integer, IsPositiveToNegativeFlow: Boolean, var IsCyclicalLoop: Boolean)
Parameters
See also