Return value: Get the set of reservation entries used in posting.
Returns
Type
Description
Boolean
True if item journal line was posted, otherwise false.
PostSplitJnlLine
Splits the item journal line into multiple lines based on item tracking specification and posts them.
<remarks>
After posting, corrects the valuation date of output entries in the item ledger
based on the maximum consumption valuation date.
</remarks>
procedure PostSplitJnlLine(var ItemJnlLineToPost: Record "Item Journal Line", TrackingSpecExists: Boolean): Boolean
Posts the current item journal line in the global ItemJnlLine buffer, creating item ledger, value and application entries.
It checks if the quantity and invoiced quantity of the item journal line are different. If they are,
it tests if the invoiced quantity is zero and raises an error otherwise.
Inserts an item ledger entry and a value entry from the item journal line information.
procedure ItemQtyPosting()
ItemValuePosting
Posts balance of expected cost reversal if it's expected by item's costing method.
procedure ItemValuePosting()
Remarks
If a balance is expected from a cost reversal based on the item's costing method and the properties of the
item journal line then the procedure inserts a balance expected cost reversal entry for a value entry.
PostFlushedConsumption
Obsolete
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
Posts the consumption of the component in a production order.
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
procedure PostFlushedConsumption(ProdOrder: Record "Production Order", ProdOrderLine: Record "Prod. Order Line", ProdOrderComp: Record "Prod. Order Component", var ProdOrderRoutingLine: Record "Prod. Order Routing Line", OldItemJnlLine: Record "Item Journal Line")
Applies an item ledger entry to another item ledger entry.
procedure ApplyItemLedgEntry(var ItemLedgEntry: Record "Item Ledger Entry", var OldItemLedgEntry: Record "Item Ledger Entry", var ValueEntry: Record "Value Entry", CausedByTransfer: Boolean)
Return value: Value entry with updated valuation date.
CausedByTransfer
Boolean
Is caused by a transfer.
Remarks
Usually used in inventory management where you want to match an incoming item ledger entry (like a purchase)
with an outgoing item ledger entry (like a sale).
InitItemLedgEntry
Initializes the item ledger entry record from the global item journal line variable.
procedure InitItemLedgEntry(var ItemLedgEntry: Record "Item Ledger Entry")
Return value: Item ledger entry to insert value entry for.
TransferItem
Boolean
If true, global dimension codes and dimension set ID will be changed to new shorcut dimension values
instead of shortcut dimension values. A new shortcut dimension on an item journal line refers to adding a
new dimension specifically for item-related entries, providing additional flexibility and analysis capabilities
within the context of item transactions.
Remarks
Updates item ledger entry based on a value entry.
Posts value entry information to the general ledger.
Inserts or updates item register record based on a value entry.
InitTransValueEntry
Initializes a value entry record for a transfer item ledger entry.
Calculates the cost amounts and adjusted cost based on whether the average transfer is being used.
procedure InitTransValueEntry(var ValueEntry: Record "Value Entry", ItemLedgEntry: Record "Item Ledger Entry")
Copies all tracking specification lines from the global variable to the parameter, overriding all existing lines.
After the transfer, all lines are deleted from the global record set.
procedure CollectTrackingSpecification(var TargetTrackingSpecification: Record "Tracking Specification" temporary): Boolean
True if any tracking specifications were transferred, otherwise false.
CollectValueEntryRelation
Copies all value entry relation lines from the global variable to the parameter, overriding all existing lines.
After the transfer, all lines are deleted from the global record set.
Unique identifier text of a line that will be used in source rowId field.
Returns
Type
Description
Boolean
True if any value entry relations were transferred, otherwise false.
CollectItemEntryRelation
Copies all item entry relation lines from the global variable to the parameter, overriding all existing lines.
After the transfer, all lines are deleted from the global record set.
procedure CollectItemEntryRelation(var TargetItemEntryRelation: Record "Item Entry Relation" temporary): Boolean
The date is modified if the valuation date is not equal to the posting date, or if it's less than the given date,
or if it's greater than the given date and the application is fixed.
SetServUndoConsumption
Sets the value of the global flag IsServUndoConsumption.
procedure SetServUndoConsumption(Value: Boolean)
Parameters
Name
Type
Description
Value
Boolean
The new value to set.
SetProdOrderCompModified
Sets the value of the global flag ProdOrderCompModified.
Splits a journal line based on the current global tracking specification line and stores it into a global buffer.
procedure SetupTempSplitItemJnlLine(ItemJnlLine2: Record "Item Journal Line", SignFactor: Integer, var NonDistrQuantity: Decimal, var NonDistrAmount: Decimal, var NonDistrAmountACY: Decimal, var NonDistrDiscountAmount: Decimal, Invoice: Boolean): Boolean
If General Ledger Setup has additional reporting currency record, that record is retrieved
and mandatory fields are checked. Checks if an item and its variant are blocked and retrieve their records
if they are not.
SetSkipApplicationCheck
Sets the value of the global flag SkipApplicationCheck.
If true, then application check is not executed when an item ledger entry is applied to another item ledger entry.
LogApply
Logs the application of an item ledger entry by creating a new item application entry record and
adding it to the global temporary item application entry history record set.
procedure LogApply(ApplyItemLedgEntry: Record "Item Ledger Entry", AppliedItemLedgEntry: Record "Item Ledger Entry")
If true and item tracking code has serial number specific tracking enabled, it skips the checks.
Enabled serial number specific tracking ensures that items are accurately traced with specific serial or lot numbers
both backward and forward in the supply chain, which is crucial for quality assurance and product recalls.
MarkAppliedInboundItemEntriesForAdjustment
Marks the inbound item ledger entries that are applied to a specific outbound item ledger entry for adjustment.
[IntegrationEvent(False,False)]
local procedure OnBeforeAllowProdApplication(OldItemLedgerEntry: Record "Item Ledger Entry", ItemLedgerEntry: Record "Item Ledger Entry", var AllowApplication: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeApplyItemLedgEntry(var ItemLedgEntry: Record "Item Ledger Entry", var OldItemLedgEntry: Record "Item Ledger Entry", var ValueEntry: Record "Value Entry", CausedByTransfer: Boolean, var Handled: Boolean, ItemJnlLine: Record "Item Journal Line", var ItemApplnEntryNo: Integer)
[IntegrationEvent(False,False)]
local procedure OnBeforeApplyItemLedgEntrySetFilters(var ToItemLedgEntry: Record "Item Ledger Entry", FromItemLedgEntry: Record "Item Ledger Entry", ItemTrackingCode: Record "Item Tracking Code", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckApplication(ItemLedgerEntry: Record "Item Ledger Entry", OldItemLedgerEntry: Record "Item Ledger Entry", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckExpirationDate(var ItemJournalLine: Record "Item Journal Line", var TrackingSpecification: Record "Tracking Specification", SignFactor: Integer, CalcExpirationDate: Date, var ExpirationDateChecked: Boolean, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckLotNoInfoNotBlocked(var ItemJnlLine2: Record "Item Journal Line", var IsHandled: Boolean, var ItemTrackingSetup: Record "Item Tracking Setup" temporary, var TrackingSpecification: Record "Tracking Specification")
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckItemTracking(var ItemJournalLine: Record "Item Journal Line", ItemTrackingSetup: Record "Item Tracking Setup" temporary, var IsHandled: Boolean, var TempTrackingSpecification: Record "Tracking Specification" temporary)
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckItemTrackingInformation(var ItemJnlLine2: Record "Item Journal Line", var TrackingSpecification: Record "Tracking Specification", var ItemTrackingSetup: Record "Item Tracking Setup" temporary, var SignFactor: Decimal, var ItemTrackingCode: Record "Item Tracking Code", var IsHandled: Boolean, var GlobalItemTrackingCode: Record "Item Tracking Code")
[IntegrationEvent(False,False)]
local procedure OnAfterCalcAdjustedCost(var ItemJournalLine: Record "Item Journal Line", var AdjustedCostLCY: Decimal, var AdjustedCostACY: Decimal)
[IntegrationEvent(False,False)]
local procedure OnAfterCheckItemTracking(ItemJournalLine: Record "Item Journal Line", ItemTrackingSetup: Record "Item Tracking Setup" temporary, GlobalItemTrackingCode: Record "Item Tracking Code")
[IntegrationEvent(False,False)]
local procedure OnAfterCheckItemTrackingInformation(var ItemJnlLine2: Record "Item Journal Line", var TrackingSpecification: Record "Tracking Specification", ItemTrackingSetup: Record "Item Tracking Setup" temporary, Item: Record Item)
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckIfItemIsBlocked(var ItemJournalLine: Record "Item Journal Line", CalledFromAdjustment: Boolean, var IsHandled: Boolean)
[IntegrationEvent(True,False)]
local procedure OnBeforeCheckRunItemValuePosting(var ItemJournalLine: Record "Item Journal Line", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnAfterCreateItemJnlLineFromEntry(var ItemJournalLine: Record "Item Journal Line", ItemLedgerEntry: Record "Item Ledger Entry")
[IntegrationEvent(False,False)]
local procedure OnAfterInsertTempSplitItemJnlLine(var TempSplitItemJournalLine: Record "Item Journal Line" temporary, var ItemJournalLine: Record "Item Journal Line")
[IntegrationEvent(False,False)]
local procedure OnBeforeInsertApplEntry(var ItemLedgEntryNo: Integer, var InboundItemEntry: Integer, var OutboundItemEntry: Integer, var TransferedFromEntryNo: Integer, var PostingDate: Date, var Quantity: Decimal, var CostToApply: Boolean, var IsHandled: Boolean)
Parameters
Name
Type
Description
ItemLedgEntryNo
Integer
InboundItemEntry
Integer
OutboundItemEntry
Integer
TransferedFromEntryNo
Integer
PostingDate
Date
Quantity
Decimal
CostToApply
Boolean
IsHandled
Boolean
OnBeforeInsertTransferEntry
[IntegrationEvent(False,False)]
local procedure OnBeforeInsertTransferEntry(var NewItemLedgerEntry: Record "Item Ledger Entry", var OldItemLedgerEntry: Record "Item Ledger Entry", var ItemJournalLine: Record "Item Journal Line")
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(False,False)]
local procedure OnAfterFlushOperation(var ProdOrder: Record "Production Order", var ProdOrderLine: Record "Prod. Order Line", var ItemJnlLine: Record "Item Journal Line")
[IntegrationEvent(False,False)]
local procedure OnBeforeGetItem(var Item: Record Item, ItemNo: Code[20], Unconditionally: Boolean, var HasGotItem: Boolean, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeGetItemVariant(var ItemVariant: Record "Item Variant", ItemNo: Code[20], VariantCode: Code[10], Unconditionally: Boolean, var ReturnValue: Boolean, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeGetSourceNo(ItemJournalLine: Record "Item Journal Line", var Result: Code[20], var IsHandled: Boolean)
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(False,False)]
local procedure OnAfterPostFlushedConsump(var ProdOrderComp: Record "Prod. Order Component", var ProdOrderRoutingLine: Record "Prod. Order Routing Line", OldItemJnlLine: Record "Item Journal Line")
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(False,False)]
local procedure OnAfterPostConsumption(var ProdOrderComp: Record "Prod. Order Component", var ItemJnlLine: Record "Item Journal Line")
[IntegrationEvent(False,False)]
local procedure OnBeforeInsertPhysInvtLedgEntry(var PhysInventoryLedgerEntry: Record "Phys. Inventory Ledger Entry", ItemJournalLine: Record "Item Journal Line", LastSplitItemJournalLine: Record "Item Journal Line")
[IntegrationEvent(False,False)]
local procedure OnAfterInitItemLedgEntry(var NewItemLedgEntry: Record "Item Ledger Entry", var ItemJournalLine: Record "Item Journal Line", var ItemLedgEntryNo: Integer)
[IntegrationEvent(False,False)]
local procedure OnAfterInsertItemLedgEntry(var ItemLedgerEntry: Record "Item Ledger Entry", ItemJournalLine: Record "Item Journal Line", var ItemLedgEntryNo: Integer, var ValueEntryNo: Integer, var ItemApplnEntryNo: Integer, GlobalValueEntry: Record "Value Entry", TransferItem: Boolean, var InventoryPostingToGL: Codeunit "Inventory Posting To G/L", var OldItemLedgerEntry: Record "Item Ledger Entry")
[IntegrationEvent(False,False)]
local procedure OnBeforeInsertItemLedgEntryProcedure(var ItemLedgerEntry: Record "Item Ledger Entry", var IsHandled: Boolean, var ItemJournalLine: Record "Item Journal Line")
[IntegrationEvent(False,False)]
local procedure OnAfterInsertValueEntry(var ValueEntry: Record "Value Entry", ItemJournalLine: Record "Item Journal Line", var ItemLedgerEntry: Record "Item Ledger Entry", var ValueEntryNo: Integer)
[IntegrationEvent(False,False)]
local procedure OnBeforeInsertValueEntry(var ValueEntry: Record "Value Entry", ItemJournalLine: Record "Item Journal Line", var ItemLedgerEntry: Record "Item Ledger Entry", var ValueEntryNo: Integer, var InventoryPostingToGL: Codeunit "Inventory Posting To G/L", CalledFromAdjustment: Boolean, var OldItemLedgEntry: Record "Item Ledger Entry", var Item: Record Item, TransferItem: Boolean, var GlobalValueEntry: Record "Value Entry")
[IntegrationEvent(False,False)]
local procedure OnBeforeInsertValueEntryProcedure(var ItemLedgerEntry: Record "Item Ledger Entry", ItemJournalLine: Record "Item Journal Line")
[IntegrationEvent(False,False)]
local procedure OnAfterInitValueEntry(var ValueEntry: Record "Value Entry", var ItemJournalLine: Record "Item Journal Line", var ValueEntryNo: Integer, var ItemLedgEntry: Record "Item Ledger Entry")
[IntegrationEvent(False,False)]
local procedure OnAfterInsertCapLedgEntry(var CapLedgEntry: Record "Capacity Ledger Entry", ItemJournalLine: Record "Item Journal Line")
[IntegrationEvent(False,False)]
local procedure OnAfterInsertCapValueEntry(var ValueEntry: Record "Value Entry", ItemJnlLine: Record "Item Journal Line")
[IntegrationEvent(False,False)]
local procedure OnBeforeInsertCapValueEntryProcedure(ItemJournalLine: Record "Item Journal Line", ValueEntryType: Enum "Cost Entry Type", var ValuedQty: Decimal, var InvdQty: Decimal, var AdjdCost: Decimal)
[IntegrationEvent(False,False)]
local procedure OnBeforeInsertCapValueEntry(var ValueEntry: Record "Value Entry", ItemJnlLine: Record "Item Journal Line")
[IntegrationEvent(False,False)]
local procedure OnBeforeInsertCorrItemLedgEntry(var NewItemLedgerEntry: Record "Item Ledger Entry", var OldItemLedgerEntry: Record "Item Ledger Entry", var ItemJournalLine: Record "Item Journal Line")
[IntegrationEvent(False,False)]
local procedure OnAfterInsertCorrItemLedgEntry(var NewItemLedgerEntry: Record "Item Ledger Entry", var ItemJournalLine: Record "Item Journal Line", var OldItemLedgerEntry: Record "Item Ledger Entry")
[IntegrationEvent(False,False)]
local procedure OnBeforeInsertCorrValueEntry(var NewValueEntry: Record "Value Entry", OldValueEntry: Record "Value Entry", var ItemJournalLine: Record "Item Journal Line", Sign: Integer, CalledFromAdjustment: Boolean, var ItemLedgerEntry: Record "Item Ledger Entry", var ValueEntryNo: Integer, var InventoryPostingToGL: Codeunit "Inventory Posting To G/L")
[IntegrationEvent(False,False)]
local procedure OnAfterInsertCorrValueEntry(var NewValueEntry: Record "Value Entry", var ItemJournalLine: Record "Item Journal Line", var ItemLedgerEntry: Record "Item Ledger Entry", var ValueEntryNo: Integer)
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforeInsertConsumpEntry(var ProdOrderComponent: Record "Prod. Order Component", QtyBase: Decimal, var ModifyProdOrderComp: Boolean, var ItemJnlLine: Record "Item Journal Line", var TempSplitItemJnlLine: Record "Item Journal Line" temporary)
[IntegrationEvent(False,False)]
local procedure OnAfterItemApplnEntryInsert(var ItemApplicationEntry: Record "Item Application Entry", GlobalItemLedgerEntry: Record "Item Ledger Entry", OldItemLedgerEntry: Record "Item Ledger Entry")
[IntegrationEvent(False,False)]
local procedure OnBeforeItemApplnEntryInsert(var ItemApplicationEntry: Record "Item Application Entry", GlobalItemLedgerEntry: Record "Item Ledger Entry", OldItemLedgerEntry: Record "Item Ledger Entry", var ItemApplnEntryNo: Integer)
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforeNextOperationExist(var ProdOrderRoutingLine: Record "Prod. Order Routing Line")
[IntegrationEvent(False,False)]
local procedure OnBeforePostItem(var ItemJournalLine: Record "Item Journal Line", var IsHandled: Boolean, CalledFromAdjustment: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforePostItemJnlLine(var ItemJournalLine: Record "Item Journal Line", CalledFromAdjustment: Boolean, CalledFromInvtPutawayPick: Boolean, var ItemRegister: Record "Item Register", var ItemLedgEntryNo: Integer, var ValueEntryNo: Integer, var ItemApplnEntryNo: Integer)
[IntegrationEvent(False,False)]
local procedure OnBeforeSetValueEntrySourceFieldsFromItemJnlLine(var ValueEntry: Record "Value Entry", var ItemJournalLine: Record "Item Journal Line")
[IntegrationEvent(True,False)]
local procedure OnAfterPostItemJnlLine(var ItemJournalLine: Record "Item Journal Line", ItemLedgerEntry: Record "Item Ledger Entry", var ValueEntryNo: Integer, var InventoryPostingToGL: Codeunit "Inventory Posting To G/L", CalledFromAdjustment: Boolean, CalledFromInvtPutawayPick: Boolean, var ItemRegister: Record "Item Register", var ItemLedgEntryNo: Integer, var ItemApplnEntryNo: Integer, var WhseJnlRegisterLine: Codeunit "Whse. Jnl.-Register Line")
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(False,False)]
local procedure OnAfterPostOutput(var ItemLedgerEntry: Record "Item Ledger Entry", var ProdOrderLine: Record "Prod. Order Line", var ItemJournalLine: Record "Item Journal Line")
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(False,False)]
local procedure OnPostOutputOnBeforeProdOrderRtngLineModify(var ProdOrderRoutingLine: Record "Prod. Order Routing Line", var ProdOrderLine: Record "Prod. Order Line", var ItemJournalLine: Record "Item Journal Line", var LastOperation: Boolean)
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(False,False)]
local procedure OnPostOutputOnAfterProdOrderRtngLineSetFilters(var ProdOrderRtngLine: Record "Prod. Order Routing Line")
[IntegrationEvent(False,False)]
local procedure OnCheckExpirationDateOnBeforeTestFieldExpirationDate(var TempTrackingSpecification: Record "Tracking Specification" temporary, var EntriesExist: Boolean, var ExistingExpirationDate: Date)
[IntegrationEvent(False,False)]
local procedure OnBeforeInsertSetupTempSplitItemJnlLine(var TempTrackingSpecification: Record "Tracking Specification" temporary, var TempItemJournalLine: Record "Item Journal Line" temporary, var PostItemJnlLine: Boolean, var ItemJournalLine2: Record "Item Journal Line", SignFactor: Integer, FloatingFactor: Decimal)
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(True,False)]
local procedure OnBeforeFlushOperation(var ProdOrder: Record "Production Order", var ProdOrderLine: Record "Prod. Order Line", var ItemJnlLine: Record "Item Journal Line", LastOperation: Boolean)
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforePostFlushedConsumpItemJnlLine(var ItemJournalLine: Record "Item Journal Line")
[IntegrationEvent(False,False)]
local procedure OnAfterUpdateOldItemLedgerEntryRemainingQuantity(var OldItemLedgerEntry: Record "Item Ledger Entry", AppliedQuantity: Decimal, var GlobalItemLedgEntry: Record "Item Ledger Entry", var AverageTransfer: Boolean)
[IntegrationEvent(True,False)]
local procedure OnAfterItemValuePosting(var ValueEntry: Record "Value Entry", var ItemJournalLine: Record "Item Journal Line", var Item: Record Item)
[IntegrationEvent(False,False)]
local procedure OnSetupSplitJnlLineOnBeforeSplitTempLines(var TempSplitItemJournalLine: Record "Item Journal Line" temporary, var TempTrackingSpecification: Record "Tracking Specification" temporary)
[IntegrationEvent(False,False)]
local procedure OnSetupSplitJnlLineOnAfterCheckExpirationDate(var ItemJnlLine2: Record "Item Journal Line", var TempTrackingSpecification: Record "Tracking Specification" temporary, Item: Record Item)
[IntegrationEvent(False,False)]
local procedure OnSetupSplitJnlLineOnBeforeCheckUseExpirationDates(var ItemJnlLine2: Record "Item Journal Line", var TempTrackingSpecification: Record "Tracking Specification" temporary, Item: Record Item, var CalcExpirationDate: Date)
[IntegrationEvent(False,False)]
local procedure OnSetupSplitJnlLineOnAfterGetItemTrackingSetup(ItemTrackingCode: Record "Item Tracking Code", ItemJnlLine: Record "Item Journal Line", var ItemTrackingSetup: Record "Item Tracking Setup" temporary, GlobalItemJnlLine: Record "Item Journal Line")
[IntegrationEvent(False,False)]
local procedure OnSetupSplitJnlLineOnBeforeGetItemTrackingSetup(var ItemJnlLine2: Record "Item Journal Line", TrackingSpecExists: Boolean, CalledFromAdjustment: Boolean, var Item: Record Item, var ItemTrackingCode: Record "Item Tracking Code")
[IntegrationEvent(False,False)]
local procedure OnSetupSplitJnlLineOnAfterSetupTempSplitItemJnlLine(var ItemJournalLine: Record "Item Journal Line", var TempSplitItemJournalLine: Record "Item Journal Line" temporary, TempTrackingSpecification: Record "Tracking Specification" temporary)
[IntegrationEvent(False,False)]
local procedure OnAfterCalcExpectedCost(var ValueEntry: Record "Value Entry", ItemLedgerEntryNo: Integer, var ExpectedCost: Decimal, var ExpectedCostACY: Decimal, var ExpectedSalesAmt: Decimal, var ExpectedPurchAmt: Decimal)
[IntegrationEvent(False,False)]
local procedure OnAfterCalcPurchCorrShares(var ValueEntry: Record "Value Entry", var ItemJournalLine: Record "Item Journal Line", var OverheadAmount: Decimal, var OverheadAmountACY: Decimal, var VarianceAmount: Decimal, var VarianceAmountACY: Decimal)
[IntegrationEvent(False,False)]
local procedure OnAfterCalcPosShares(var ItemJournalLine: Record "Item Journal Line", var DirCost: Decimal, var OvhdCost: Decimal, var PurchVar: Decimal, var DirCostACY: Decimal, var OvhdCostACY: Decimal, var PurchVarACY: Decimal, var CalcUnitCost: Boolean, CalcPurchVar: Boolean, Expected: Boolean, GlobalItemLedgerEntry: Record "Item Ledger Entry")
[IntegrationEvent(False,False)]
local procedure OnAfterInsertOHValueEntry(var ValueEntry: Record "Value Entry", var Item: Record Item, var OverheadAmount: Decimal, var OverheadAmountACY: Decimal)
[IntegrationEvent(False,False)]
local procedure OnAfterSetupTempSplitItemJnlLineSetQty(var TempSplitItemJnlLine: Record "Item Journal Line" temporary, ItemJournalLine: Record "Item Journal Line", SignFactor: Integer, var TempTrackingSpecification: Record "Tracking Specification" temporary)
[IntegrationEvent(False,False)]
local procedure OnAfterUpdateUnitCost(ValueEntry: Record "Value Entry", LastDirectCost: Decimal, ItemJournalLine: Record "Item Journal Line", var Item: Record Item)
[IntegrationEvent(False,False)]
local procedure OnBeforeCalcDirAndIndirCostAmts(var ItemJournalLine: Record "Item Journal Line", var DirCostAmt: Decimal, var IndirCostAmt: Decimal, CapQty: Decimal, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeCalcExpirationDate(var ItemJnlLine: Record "Item Journal Line", var ExpirationDate: Date, var IsHandled: Boolean, Item: Record Item)
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforeCallFlushOperation(var ItemJnlLine: Record "Item Journal Line", var ShouldFlushOperation: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckIsCyclicalLoop(ItemLedgEntry: Record "Item Ledger Entry", OldItemLedgEntry: Record "Item Ledger Entry", var PrevAppliedItemLedgEntry: Record "Item Ledger Entry", var AppliedQty: Decimal, var IsHandled: Boolean)
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforePostFlushedConsump(ProdOrder: Record "Production Order", ProdOrderLine: Record "Prod. Order Line", ProdOrderComp: Record "Prod. Order Component", ProdOrderRoutingLine: Record "Prod. Order Routing Line", OldItemJnlLine: Record "Item Journal Line", var IsHandled: Boolean)
[IntegrationEvent(True,False)]
local procedure OnBeforeInitValueEntry(var ValueEntry: Record "Value Entry", var ValueEntryNo: Integer, var ItemJournalLine: Record "Item Journal Line")
[IntegrationEvent(False,False)]
local procedure OnBeforeInsertOHValueEntry(var ValueEntry: Record "Value Entry", var Item: Record Item, var OverheadAmount: Decimal, var OverheadAmountACY: Decimal, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeInsertVarValueEntry(var ValueEntry: Record "Value Entry", var Item: Record Item, var VarianceAmount: Decimal, var VarianceAmountACY: Decimal, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeInsertTempSplitItemJnlLine(ItemJournalLine: Record "Item Journal Line", IsServUndoConsumption: Boolean, PostponeReservationHandling: Boolean, var TempSplitItemJnlLine: Record "Item Journal Line", var IsHandled: Boolean, var PostItemJnlLine: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeMoveApplication(var ItemLedgEntry: Record "Item Ledger Entry", var OldItemLedgEntry: Record "Item Ledger Entry")
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforeProdOrderCompModify(var ProdOrderComponent: Record "Prod. Order Component", ItemJournalLine: Record "Item Journal Line")
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforeProdOrderLineModify(var ProdOrderLine: Record "Prod. Order Line", ItemJournalLine: Record "Item Journal Line", ItemLedgEntryNo: Integer)
[IntegrationEvent(False,False)]
local procedure OnBeforeRoundAmtValueEntry(var ValueEntry: Record "Value Entry", Currency: Record Currency, Item: Record Item, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeRetrieveCostPerUnit(ItemJournalLine: Record "Item Journal Line", SKU: Record "Stockkeeping Unit", SKUExists: Boolean, var UnitCost: Decimal, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeTempItemEntryRelationInsert(var TempItemEntryRelation: Record "Item Entry Relation" temporary, ItemLedgerEntry: Record "Item Ledger Entry")
[IntegrationEvent(False,False)]
local procedure OnBeforeTestFirstApplyItemLedgEntry(var OldItemLedgerEntry: Record "Item Ledger Entry", var ItemLedgerEntry: Record "Item Ledger Entry", var ItemJournalLine: Record "Item Journal Line", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeTrackingSpecificationMissingErr(ItemJournalLine: Record "Item Journal Line", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeSetupSplitJnlLine(var ItemJnlLine2: Record "Item Journal Line", var TrackingSpecExists: Boolean, var TempTrackingSpecification: Record "Tracking Specification" temporary)
[IntegrationEvent(False,False)]
local procedure OnBeforeVerifyInvoicedQty(ItemLedgerEntry: Record "Item Ledger Entry", var IsHandled: Boolean, ValueEntry: Record "Value Entry")
[IntegrationEvent(False,False)]
local procedure OnBeforeVerifyItemJnlLineAsembleToOrder(var ItemJournalLine: Record "Item Journal Line", var IsHandled: Boolean)
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateProdOrderLine(var ProdOrderLine: Record "Prod. Order Line", var ItemJournalLine: Record "Item Journal Line", ReTrack: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateUnitCost(var ValueEntry: Record "Value Entry", var IsHandled: Boolean, ItemJournalLine: Record "Item Journal Line")
[IntegrationEvent(False,False)]
local procedure OnApplyItemLedgEntryOnAfterCloseReservEntry(var OldItemLedgEntry: Record "Item Ledger Entry", ItemJournalLine: Record "Item Journal Line", var ItemLedgerEntry: Record "Item Ledger Entry", var ReservEntry: Record "Reservation Entry")
[IntegrationEvent(False,False)]
local procedure OnApplyItemLedgEntryOnBeforeCloseReservEntry(var OldItemLedgEntry: Record "Item Ledger Entry", ItemJournalLine: Record "Item Journal Line", var ItemLedgerEntry: Record "Item Ledger Entry", var ReservEntry: Record "Reservation Entry")
[IntegrationEvent(False,False)]
local procedure OnApplyItemLedgEntryOnBeforeStartApplication(var ItemLedgerEntry: Record "Item Ledger Entry", var OldItemLedgerEntry: Record "Item Ledger Entry", var StartApplication: Boolean, var AppliedQty: Decimal, var Item: Record Item, var ItemJournalLine: Record "Item Journal Line")
[IntegrationEvent(False,False)]
local procedure OnAfterApplyItemLedgEntrySetFilters(var ItemLedgerEntry2: Record "Item Ledger Entry", ItemLedgerEntry: Record "Item Ledger Entry", ItemJournalLine: Record "Item Journal Line")
[IntegrationEvent(False,False)]
local procedure OnAfterApplyItemLedgEntryOnBeforeCalcAppliedQty(var OldItemLedgerEntry: Record "Item Ledger Entry", ItemLedgerEntry: Record "Item Ledger Entry")
[IntegrationEvent(False,False)]
local procedure OnAfterMoveValEntryDimToValEntryDim(var ToValueEntry: Record "Value Entry", FromValueEntry: Record "Value Entry")
[IntegrationEvent(True,False)]
local procedure OnAfterInsertTransferEntry(var ItemJournalLine: Record "Item Journal Line", NewItemLedgerEntry: Record "Item Ledger Entry", OldItemLedgerEntry: Record "Item Ledger Entry", NewValueEntry: Record "Value Entry", var ValueEntryNo: Integer)
[IntegrationEvent(False,False)]
local procedure OnAfterPostSplitJnlLine(var ItemJournalLine: Record "Item Journal Line", var TempTrackingSpecification: Record "Tracking Specification" temporary)
[IntegrationEvent(False,False)]
local procedure OnAfterUndoQuantityPosting(var ItemLedgerEntry: Record "Item Ledger Entry", ItemJournalLine: Record "Item Journal Line")
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(False,False)]
local procedure OnAfterUpdateProdOrderLine(var ProdOrderLine: Record "Prod. Order Line", ReTrack: Boolean, var ItemJournalLine: Record "Item Journal Line")
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(False,False)]
local procedure OnAfterInsertConsumpEntry(var WarehouseJournalLine: Record "Warehouse Journal Line", var ProdOrderComponent: Record "Prod. Order Component", QtyBase: Decimal, PostWhseJnlLine: Boolean, var ItemJnlLine: Record "Item Journal Line", ItemLedgEntryNo: Integer)
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(False,False)]
local procedure OnApplyCapNeedOnAfterSetFilters(var ProdOrderCapNeed: Record "Prod. Order Capacity Need", ItemJnlLine: Record "Item Journal Line")
[IntegrationEvent(False,False)]
local procedure OnApplyItemLedgEntryOnAfterCalcAppliedQty(OldItemLedgEntry: Record "Item Ledger Entry", ItemLedgEntry: Record "Item Ledger Entry", var AppliedQty: Decimal)
[IntegrationEvent(False,False)]
local procedure OnApplyItemLedgEntryOnAfterSetAppliedQtyZero(OldItemLedgerEntry: Record "Item Ledger Entry", var ItemLedgerEntry: Record "Item Ledger Entry", var AppliedQty: Decimal, var ItemJournalLine: Record "Item Journal Line")
[IntegrationEvent(False,False)]
local procedure OnApplyItemLedgEntryOnBeforeInsertApplEntry(var ItemLedgerEntry: Record "Item Ledger Entry", ItemJournalLine: Record "Item Journal Line", var OldItemLedgEntry: Record "Item Ledger Entry", var GlobalItemLedgEntry: Record "Item Ledger Entry", var AppliedQty: Decimal)
[IntegrationEvent(False,False)]
local procedure OnApplyItemLedgEntryOnBeforeOldItemLedgEntryModify(var ItemLedgerEntry: Record "Item Ledger Entry", var OldItemLedgerEntry: Record "Item Ledger Entry", ItemJournalLine: Record "Item Journal Line", var AverageTransfer: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeCollectTrackingSpecification(var TempTrackingSpecification: Record "Tracking Specification" temporary, var TargetTrackingSpecification: Record "Tracking Specification" temporary, var Result: Boolean, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnCalcExpectedCostOnBeforeFindValueEntry(var ValueEntry: Record "Value Entry", ItemLedgEntryNo: Integer, InvoicedQty: Decimal, Quantity: Decimal, var ExpectedCost: Decimal, var ExpectedCostACY: Decimal, var ExpectedSalesAmt: Decimal, var ExpectedPurchAmt: Decimal, CalcReminder: Boolean, var InvdValueEntry: Record "Value Entry", ItemJnlLine: Record "Item Journal Line")
[IntegrationEvent(False,False)]
local procedure OnCalcILEExpectedAmountOnBeforeCalcCostAmounts(var OldValueEntry2: Record "Value Entry", var OldValueEntry: Record "Value Entry", ItemLedgEntryNo: Integer)
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(False,False)]
local procedure OnCorrectOutputValuationDateOnBeforeCheckProdOrder(ItemLedgerEntry: Record "Item Ledger Entry", var IsHandled: Boolean)
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(False,False)]
local procedure OnFlushOperationOnAfterProdOrderCompSetFilters(var ProdOrderComponent: Record "Prod. Order Component", OldItemJournalLine: Record "Item Journal Line", var ProdOrderRoutingLine: Record "Prod. Order Routing Line")
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(True,False)]
local procedure OnFlushOperationOnBeforeCheckRoutingLinkCode(var ProductionOrder: Record "Production Order", var ProdOrderLine: Record "Prod. Order Line", var ProdOrderRoutingLine: Record "Prod. Order Routing Line", var ItemJournalLine: Record "Item Journal Line", LastOperation: Boolean)
[IntegrationEvent(False,False)]
local procedure OnGetValuationDateOnAfterOldValueEntrySetFilters(var OldValueEntry: Record "Value Entry", ValueEntry: Record "Value Entry", OldItemLedgEntry: Record "Item Ledger Entry")
[IntegrationEvent(False,False)]
local procedure OnGetValuationDateOnBeforeFindOldValueEntry(var OldValueEntry: Record "Value Entry", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnInitTransValueEntryOnAfterInitValueEntry(var ValueEntry: Record "Value Entry", ItemLedgerEntry: Record "Item Ledger Entry")
[IntegrationEvent(False,False)]
local procedure OnInitValueEntryOnAfterNotAdjustmentCheckClearCostAmount(var ValueEntry: Record "Value Entry", var ItemJnlLine: Record "Item Journal Line")
[IntegrationEvent(False,False)]
local procedure OnInitValueEntryOnAfterSetValueEntryInventoriable(var ValueEntry: Record "Value Entry", var ItemJournalLine: Record "Item Journal Line")
[IntegrationEvent(False,False)]
local procedure OnInitValueEntryOnBeforeRoundAmtValueEntry(var ValueEntry: Record "Value Entry", ItemJnlLine: Record "Item Journal Line")
[IntegrationEvent(False,False)]
local procedure OnInitValueEntryOnAfterAssignFields(var ValueEntry: Record "Value Entry", ItemLedgEntry: Record "Item Ledger Entry", ItemJnlLine: Record "Item Journal Line")
[IntegrationEvent(False,False)]
local procedure OnInitValueEntryOnAfterCalcInvoicedQuantityNotEmpty(var ItemJournalLine: Record "Item Journal Line", var InvoicedQuantityNotEmpty: Boolean)
[IntegrationEvent(False,False)]
local procedure OnInitValueEntryOnAfterCalcDirestCost(var CostAmt: Decimal, var VarianceAmount: Decimal, Item: Record Item, ItemJournalLine: Record "Item Journal Line", ValueEntry: Record "Value Entry", var CostAmtACY: Decimal, var VarianceAmountACY: Decimal)
[IntegrationEvent(False,False)]
local procedure OnInsertPostValueEntryToGLOnAfterTransferFields(var PostValueEntryToGL: Record "Post Value Entry to G/L", ValueEntry: Record "Value Entry")
[IntegrationEvent(False,False)]
local procedure OnInsertTransferEntryOnTransferValues(var NewItemLedgerEntry: Record "Item Ledger Entry", OldItemLedgerEntry: Record "Item Ledger Entry", ItemLedgerEntry: Record "Item Ledger Entry", ItemJournalLine: Record "Item Journal Line", var TempItemEntryRelation: Record "Item Entry Relation", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnInsertCapValueEntryOnAfterUpdateCostAmounts(var ValueEntry: Record "Value Entry", var ItemJournalLine: Record "Item Journal Line")
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(False,False)]
local procedure OnInsertConsumpEntryOnBeforePostItem(var ItemJournalLine: Record "Item Journal Line", ProdOrderComponent: Record "Prod. Order Component", PostWhseJnlLine: Boolean, var WarehouseJournalLine: Record "Warehouse Journal Line")
[IntegrationEvent(True,False)]
local procedure OnInsertOHValueEntryOnBeforeInsertValueEntry(var ValueEntry: Record "Value Entry", ItemJnlLine: Record "Item Journal Line", var IsHandled: Boolean, var GlobalItemLedgEntry: Record "Item Ledger Entry", var ValueEntryNo: Integer)
[IntegrationEvent(False,False)]
local procedure OnItemQtyPostingOnAfterCalcInsertItemLedgEntryNeeded(var ItemJournalLine: Record "Item Journal Line", var InsertItemLedgEntryNeeded: Boolean)
[IntegrationEvent(False,False)]
local procedure OnItemQtyPostingOnBeforeApplyItemLedgEntry(var ItemJournalLine: Record "Item Journal Line", var ItemLedgerEntry: Record "Item Ledger Entry")
[IntegrationEvent(False,False)]
local procedure OnItemValuePostingOnAfterInsertValueEntry(var ValueEntry: Record "Value Entry", var ItemLedgerEntry: Record "Item Ledger Entry", var ValueEntryNo: Integer)
[IntegrationEvent(False,False)]
local procedure OnItemValuePostingOnAfterCalcIsCostNotTracedDirectly(var ItemJnlLine: Record "Item Journal Line", var IsCostNotTracedDirectly: Boolean)
[IntegrationEvent(False,False)]
local procedure OnInsertItemLedgEntryOnBeforeReservationError(var ItemJournalLine: Record "Item Journal Line", var ItemLedgerEntry: Record "Item Ledger Entry", var IsHandled: Boolean, Location: Record Location)
[IntegrationEvent(False,False)]
local procedure OnInsertItemLedgEntryOnBeforeSNQtyCheck(ItemJournalLine: Record "Item Journal Line", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnInsertItemRegOnBeforeItemRegInsert(var ItemRegister: Record "Item Register", var ItemJournalLine: Record "Item Journal Line")
[IntegrationEvent(False,False)]
local procedure OnValuateAppliedAvgEntryOnAfterSetCostPerUnit(var ValueEntry: Record "Value Entry", ItemJournalLine: Record "Item Journal Line", InventorySetup: Record "Inventory Setup", SKU: Record "Stockkeeping Unit", SKUExists: Boolean, Item: Record Item)
[IntegrationEvent(False,False)]
local procedure OnValuateAppliedAvgEntryOnAfterUpdateCostAmounts(var ValueEntry: Record "Value Entry", var ItemJournalLine: Record "Item Journal Line")
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(False,False)]
local procedure OnPostFlushedConsumpOnAfterCalcQtyToPost(ProductionOrder: Record "Production Order", ProdOrderLine: Record "Prod. Order Line", ProdOrderComponent: Record "Prod. Order Component", ActOutputQtyBase: Decimal, var QtyToPost: Decimal, var OldItemJournalLine: Record "Item Journal Line", var ProdOrderRoutingLine: Record "Prod. Order Routing Line", var CompItem: Record Item)
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(False,False)]
local procedure OnPostFlushedConsumpOnAfterCopyProdOrderFieldsToItemJnlLine(var ItemJournalLine: Record "Item Journal Line", var OldItemJournalLine: Record "Item Journal Line", ProdOrderLine: Record "Prod. Order Line", ProdOrderComponent: Record "Prod. Order Component", CompItem: Record Item)
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(False,False)]
local procedure OnPostFlushedConsumptionOnBeforeCalcQtyToPost(ProdOrder: Record "Production Order", ProdOrderLine: Record "Prod. Order Line", ProdOrderComp: Record "Prod. Order Component", ProdOrderRoutingLine: Record "Prod. Order Routing Line", OldItemJnlLine: Record "Item Journal Line", var OutputQtyBase: Decimal)
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(False,False)]
local procedure OnPostFlushedConsumpOnBeforeProdOrderCompReserveTransferPOCompToItemJnlLine(ItemJournalLine: Record "Item Journal Line", ProdOrderComponent: Record "Prod. Order Component")
This element will become obsolete from version 27.0. Replaced by event OnPostFlushedConsumptionItemJnlLineOnBeforeSetupSplitJnlLine
[Obsolete(Replaced by event OnPostFlushedConsumptionItemJnlLineOnBeforeSetupSplitJnlLine,27.0)]
[IntegrationEvent(False,False)]
local procedure OnPostFlushedConsumpOnBeforeSetupSplitJnlLine(var ItemJournalLine: Record "Item Journal Line", var ProdOrder: Record "Production Order", var ProdOrderLine: Record "Prod. Order Line", var ProdOrderComp: Record "Prod. Order Component", var TempTrackingSpecification: Record "Tracking Specification" temporary, var TrackingSpecExists: Boolean)
[IntegrationEvent(False,False)]
local procedure OnPostFlushedConsumptionItemJnlLineOnBeforeSetupSplitJnlLine(var ItemJournalLine: Record "Item Journal Line", var TempTrackingSpecification: Record "Tracking Specification" temporary, var TrackingSpecExists: Boolean)
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(False,False)]
local procedure OnPostFlushedConsumptionOnAfterSetDimensionSetID(ItemJournalLine: Record "Item Journal Line", var ProdOrderLine: Record "Prod. Order Line")
[IntegrationEvent(False,False)]
local procedure OnPostFlushedConsumptionItemJnlLineOnAfterSetDimensionSetID(ItemJournalLine: Record "Item Journal Line")
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(False,False)]
local procedure OnPostConsumptionOnAfterInsertEntry(var ProdOrderComponent: Record "Prod. Order Component")
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(False,False)]
local procedure OnPostConsumptionOnAfterFindProdOrderComp(var ProdOrderComp: Record "Prod. Order Component")
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(False,False)]
local procedure OnPostConsumptionOnAfterCalcNewRemainingQty(ProdOrderComponent: Record "Prod. Order Component", var NewRemainingQuantity: Decimal, QtyToPost: Decimal)
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(False,False)]
local procedure OnPostConsumptionOnBeforeCheckOrderType(var ProdOrderComponent: Record "Prod. Order Component", var ItemJournalLine: Record "Item Journal Line", var IsHandled: Boolean)
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(False,False)]
local procedure OnPostConsumptionOnBeforeFindSetProdOrderComp(var ProdOrderComponent: Record "Prod. Order Component", var ItemJournalLine: Record "Item Journal Line")
[IntegrationEvent(False,False)]
local procedure OnPostItemOnAfterGetSKU(var ItemJnlLine: Record "Item Journal Line", var SKUExists: Boolean, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnPostItemOnBeforeCheckInventoryPostingGroup(var ItemJnlLine: Record "Item Journal Line", var CalledFromAdjustment: Boolean, var Item: Record Item, var ItemTrackingCode: Record "Item Tracking Code")
[IntegrationEvent(False,False)]
local procedure OnPostItemOnBeforeUpdateUnitCost(var ItemJnlLine: Record "Item Journal Line", GlobalItemLedgEntry: Record "Item Ledger Entry")
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(False,False)]
local procedure OnPostOutputOnAfterInsertCapLedgEntry(ItemJournalLine: Record "Item Journal Line", var SkipPost: Boolean)
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(False,False)]
local procedure OnPostOutputOnAfterInsertCostValueEntries(ItemJournalLine: Record "Item Journal Line", var CapLedgEntry: Record "Capacity Ledger Entry", CalledFromAdjustment: Boolean, PostToGL: Boolean)
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(False,False)]
local procedure OnPostOutputOnAfterSetMfgUnitCost(var ItemJournalLine: Record "Item Journal Line", var MfgUnitCost: Decimal, var ProdOrderLine: Record "Prod. Order Line")
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(False,False)]
local procedure OnPostOutputOnAfterUpdateAmounts(var ItemJournalLine: Record "Item Journal Line")
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(False,False)]
local procedure OnPostOutputOnAfterUpdateProdOrderLine(var ItemJournalLine: Record "Item Journal Line", var WhseJnlLine: Record "Warehouse Journal Line", var GlobalItemLedgEntry: Record "Item Ledger Entry")
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(False,False)]
local procedure OnPostOutputOnBeforeUpdateProdOrderLine(var ItemJournalLine: Record "Item Journal Line", var IsHandled: Boolean)
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(False,False)]
local procedure OnPostOutputOnAfterCreateWhseJnlLine(var ItemJournalLine: Record "Item Journal Line")
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(False,False)]
local procedure OnPostOutputOnBeforeCreateWhseJnlLine(var ItemJournalLine: Record "Item Journal Line", var PostWhseJnlLine: Boolean)
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(False,False)]
local procedure OnPostOutputOnBeforePostItem(var ItemJournalLine: Record "Item Journal Line", var ProdOrderLine: Record "Prod. Order Line", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnPostSplitJnlLineOnBeforeSplitJnlLine(var ItemJournalLine: Record "Item Journal Line", var ItemJournalLineToPost: Record "Item Journal Line", var PostItemJournalLine: Boolean, DisableItemTracking: Boolean)
[IntegrationEvent(False,False)]
local procedure OnReApplyOnBeforeStartApply(var ItemLedgerEntry: Record "Item Ledger Entry", var ItemLedgerEntry2: Record "Item Ledger Entry")
[IntegrationEvent(False,False)]
local procedure OnReApplyOnBeforeGetItemTrackingSetup(var Item: Record Item, var ItemTrackingCode: Record "Item Tracking Code")
[IntegrationEvent(False,False)]
local procedure OnSetOrderAdjmtPropertiesOnBeforeSetCostIsAdjusted(var InvtAdjmtEntryOrder: Record "Inventory Adjmt. Entry (Order)", var ModifyOrderAdjmt: Boolean, var IsHandled: Boolean, OriginalPostingDate: Date)
[IntegrationEvent(False,False)]
local procedure OnSetOrderAdjmtPropertiesOnBeforeSetAllowOnlineAdjustment(var InvtAdjmtEntryOrder: Record "Inventory Adjmt. Entry (Order)", var ModifyOrderAdjmt: Boolean, var IsHandled: Boolean, OriginalPostingDate: Date)
[IntegrationEvent(False,False)]
local procedure OnSetupSplitJnlLineOnBeforeReallocateTrkgSpecification(var ItemTrackingCode: Record "Item Tracking Code", var TempTrackingSpecification: Record "Tracking Specification" temporary, var ItemJnlLine: Record "Item Journal Line", var SignFactor: Integer, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnSetupSplitJnlLineOnBeforeCalcNonDistrQuantity(var TempTrackingSpecification: Record "Tracking Specification" temporary, var ItemJournalLine: Record "Item Journal Line", Invoice: Boolean, SignFactor: Decimal)
[IntegrationEvent(False,False)]
local procedure OnSplitItemJnlLineOnBeforeTracking(var ItemJnlLine2: Record "Item Journal Line", var PostItemJnlLine: Boolean, var TempTrackingSpecification: Record "Tracking Specification" temporary, var GlobalItemLedgEntry: Record "Item Ledger Entry", var TempItemEntryRelation: Record "Item Entry Relation" temporary, var PostponeReservationHandling: Boolean, var SignFactor: Integer, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnTestFirstApplyItemLedgEntryOnAfterTestFields(ItemLedgerEntry: Record "Item Ledger Entry", OldItemLedgerEntry: Record "Item Ledger Entry", ItemJournalLine: Record "Item Journal Line")
[IntegrationEvent(False,False)]
local procedure OnAfterTestFirstApplyItemLedgerEntryTracking(ItemLedgEntry: Record "Item Ledger Entry", OldItemLedgEntry: Record "Item Ledger Entry", ItemTrackingCode: Record "Item Tracking Code")
[IntegrationEvent(False,False)]
local procedure OnUnApplyOnBeforeUpdateItemLedgerEntries(var ItemLedgerEntry1: Record "Item Ledger Entry", var ItemLedgerEntry2: Record "Item Ledger Entry", ItemApplnEntry: Record "Item Application Entry")
[IntegrationEvent(False,False)]
local procedure OnUpdateUnitCostOnBeforeCalculateLastDirectCost(var TotalAmount: Decimal, ItemJournalLine: Record "Item Journal Line", ValueEntry: Record "Value Entry", var Item: Record Item, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnUpdateUnitCostOnBeforeUpdateUnitCost(ItemJournalLine: Record "Item Journal Line", ValueEntry: Record "Value Entry", var Item: Record Item, var UpdateSKU: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforePostInventoryToGL(var ValueEntry: Record "Value Entry", var IsHandled: Boolean, var ItemJnlLine: Record "Item Journal Line", PostToGL: Boolean, CalledFromAdjustment: Boolean, ItemInventoryValueZero: Boolean)
[IntegrationEvent(False,False)]
local procedure OnPostSplitJnlLineOnAfterCode(var ItemJournalLine: Record "Item Journal Line", var ItemJournalLineToPost: Record "Item Journal Line", var PostItemJournalLine: Boolean, var TempTrackingSpecification: Record "Tracking Specification" temporary, DisableItemTracking: Boolean)
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(False,False)]
local procedure OnAfterCalcCapQty(var ItemJnlLine: Record "Item Journal Line", var CapQty: Decimal)
[IntegrationEvent(False,False)]
local procedure OnVerifyInvoicedQtyOnAfterGetSalesShipmentHeader(ItemLedgEntry2: Record "Item Ledger Entry", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnAfterInsertPhysInventoryEntry(var PhysInventoryLedgerEntry: Record "Phys. Inventory Ledger Entry", ItemJournalLine: Record "Item Journal Line")
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(False,False)]
local procedure OnAfterCheckItemTrackingOfComp(TempHandlingSpecification: Record "Tracking Specification", ItemJnlLine: Record "Item Journal Line")
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforeGetOutputProdOrder(var ProdOrder: Record "Production Order", ItemJnlLine: Record "Item Journal Line", var IsHandled: Boolean)
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforeGetOutputProdOrderLine(var ProdOrderLine: Record "Prod. Order Line", ItemJnlLine: Record "Item Journal Line", var IsHandled: Boolean)
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforeGetProdOrderLine(var ProdOrderLine: Record "Prod. Order Line", OrderNo: Code[20], OrderLineNo: Integer, var IsHandled: Boolean)
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforeGetProdOrderRoutingLine(var ProdOrderRoutingLine: Record "Prod. Order Routing Line", OldItemJnlLine: Record "Item Journal Line", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeIsNotInternalWhseMovement(ItemJnlLine: Record "Item Journal Line", var Result: Boolean, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeIsInterimRevaluation(ItemJnlLine: Record "Item Journal Line", var Result: Boolean, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckPostingDateWithExpirationDate(var ItemLedgEntry: Record "Item Ledger Entry", ItemTrackingCode: Record "Item Tracking Code", OldItemLedgEntry: Record "Item Ledger Entry", var IsHandled: Boolean, var ItemJnlLine: Record "Item Journal Line")
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforePostOutput(var ItemJnlLine: Record "Item Journal Line")
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforePostOutputUpdateProdOrderRtngLine(var ProdOrderRtngLine: Record "Prod. Order Routing Line", ItemJnlLine: Record "Item Journal Line", var IsHandled: Boolean)
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(False,False)]
local procedure OnCalcCapLedgerEntriesSetupRunTimeOnAfterCapLedgerEntrySetFilters(var CapLedgerEntry: Record "Capacity Ledger Entry", ItemJnlLine: Record "Item Journal Line")
[IntegrationEvent(False,False)]
local procedure OnCheckExpirationDateOnAfterCalcSumLot(var SumLot: Decimal, SignFactor: Integer, var TempTrackingSpecification: Record "Tracking Specification" temporary)
[IntegrationEvent(False,False)]
local procedure OnCheckExpirationDateOnBeforeAssignExpirationDate(var TempTrackingSpecification: Record "Tracking Specification" temporary, ExistingExpirationDate: Date, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnInitTransValueEntryOnBeforeCalcCostAmounts(GlobalValueEntry: Record "Value Entry", var ValueEntry: Record "Value Entry", ItemTrackingSetup: Record "Item Tracking Setup" temporary, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnInsertValueEntryOnBeforeCalcExpectedCost(var ItemJnlLine: Record "Item Journal Line", var ItemLedgEntry: Record "Item Ledger Entry", var ValueEntry: Record "Value Entry", TransferItemPBln: Boolean, var InventoryPostingToGL: Codeunit "Inventory Posting To G/L", var ShouldCalcExpectedCost: Boolean)
[IntegrationEvent(False,False)]
local procedure OnInsertValueEntryOnBeforeRoundAmtValueEntry(var ValueEntry: Record "Value Entry", var ItemLedgEntry: Record "Item Ledger Entry", ItemJnlLine: Record "Item Journal Line", TransferItem: Boolean)
[IntegrationEvent(False,False)]
local procedure OnInsertItemLedgEntryOnBeforeVerifyOnInventory(ItemJnlLine: Record "Item Journal Line", ItemLedgEntry: Record "Item Ledger Entry", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnInsertItemLedgEntryOnCheckItemTracking(ItemJnlLine: Record "Item Journal Line", ItemLedgEntry: Record "Item Ledger Entry", ItemTrackingCode: Record "Item Tracking Code", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnInsertCapValueEntryOnAfterUpdateCapLedgEntry(var ValueEntry: Record "Value Entry", ItemJnlLine: Record "Item Journal Line")
[IntegrationEvent(False,False)]
local procedure OnInsertCapValueEntryOnAfterInsertValueEntryRelation(var ValueEntry: Record "Value Entry", ItemJnlLine: Record "Item Journal Line", var TempValueEntryRelation: Record "Value Entry Relation" temporary)
[IntegrationEvent(False,False)]
local procedure OnPostItemOnBeforeGetGlobalLedgerEntry(ItemJnlLine: Record "Item Journal Line", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeRecalculateCostPerUnit(var ValueEntry: Record "Value Entry", ItemJnlLine: Record "Item Journal Line", var ItemLedgEntry: Record "Item Ledger Entry", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeSetCalledFromAdjustment(CalledFromAdjustment: Boolean)
Parameters
Name
Type
Description
CalledFromAdjustment
Boolean
OnInsertTransferEntryOnBeforeInitTransValueEntry
[IntegrationEvent(False,False)]
local procedure OnInsertTransferEntryOnBeforeInitTransValueEntry(var TempItemEntryRelation: Record "Item Entry Relation", var NewItemLedgEntry: Record "Item Ledger Entry", Item: Record Item)
[IntegrationEvent(False,False)]
local procedure OnInitCorrItemLedgEntryOnAfterRetrieveAppliedExpirationDate(var NewItemLedgEntry: Record "Item Ledger Entry")
[IntegrationEvent(False,False)]
local procedure OnSplitItemJnlLineOnBeforePostItemJnlLine(var TempTrackingSpecification: Record "Tracking Specification", var GlobalItemLedgEntry: Record "Item Ledger Entry")
[IntegrationEvent(False,False)]
local procedure OnInsertValueEntryOnAfterTempValueEntryRelationInsert(var ValueEntry: Record "Value Entry", ItemJnlLine: Record "Item Journal Line", var TempValueEntryRelation: Record "Value Entry Relation")
[IntegrationEvent(False,False)]
local procedure OnUpdateUnitCostOnAfterAssignLastDirectCost(var ValueEntry: Record "Value Entry", var Item: Record Item, LastDirectCost: Decimal)
[IntegrationEvent(False,False)]
local procedure OnItemQtyPostingOnAfterInsertApplEntry(var ItemJnlLine: Record "Item Journal Line", var TempSplitItemJnlLine: Record "Item Journal Line" temporary, var GlobalItemLedgEntry: Record "Item Ledger Entry")
[IntegrationEvent(False,False)]
local procedure OnItemQtyPostingOnBeforeInsertApplEntry(var GlobalItemLedgEntry: Record "Item Ledger Entry", ItemJnlLine: Record "Item Journal Line")
[IntegrationEvent(False,False)]
local procedure OnCostApplyOnBeforeInsertApplEntry(var GlobalItemLedgEntry: Record "Item Ledger Entry", var ApplyWithItemLedgEntry: Record "Item Ledger Entry")
[IntegrationEvent(False,False)]
local procedure OnApplyItemLedgEntryOnItemLedgEntryPositiveOnBeforeInsertApplEntry(var OldItemLedgEntry: Record "Item Ledger Entry", var ItemLedgEntry: Record "Item Ledger Entry", var GlobalItemLedgEntry: Record "Item Ledger Entry", var AppliedQty: Decimal)
[IntegrationEvent(False,False)]
local procedure OnInsertTransferEntryOnBeforeInsertApplEntry(var NewItemLedgEntry: Record "Item Ledger Entry", var ItemLedgEntry: Record "Item Ledger Entry")
[IntegrationEvent(False,False)]
local procedure OnUndoQuantityPostingOnBeforeInitCorrItemLedgEntry(var ItemJnlLine: Record "Item Journal Line", var OldItemLedgEntry: Record "Item Ledger Entry")
[IntegrationEvent(False,False)]
local procedure OnUndoQuantityPostingOnAfterInitCorrItemLedgEntry(var OldItemLedgEntry: Record "Item Ledger Entry", var NewItemLedgEntry: Record "Item Ledger Entry")
[IntegrationEvent(False,False)]
local procedure OnUndoQuantityPostingOnAfterUpdateItemApplnEntry(var ItemJnlLine: Record "Item Journal Line", OldItemLedgEntry: Record "Item Ledger Entry", NewItemLedgEntry: Record "Item Ledger Entry", NewValueEntry: Record "Value Entry", InventoryPostingToGL: Codeunit "Inventory Posting To G/L")
[IntegrationEvent(False,False)]
local procedure OnUndoQuantityPostingOnBeforeUpdateOldItemLedgEntry(var OldValueEntry2: Record "Value Entry", var NewItemLedgEntry: Record "Item Ledger Entry", var NewValueEntry: Record "Value Entry", var ItemJnlLine: Record "Item Journal Line")
[IntegrationEvent(False,False)]
local procedure OnUndoQuantityPostingOnBeforeInsertApplEntry(var NewItemLedgEntry: Record "Item Ledger Entry", var OldItemLedgEntry: Record "Item Ledger Entry", var GlobalItemLedgEntry: Record "Item Ledger Entry")
[IntegrationEvent(False,False)]
local procedure OnAfterSetupSplitJnlLine(var ItemJnlLine2: Record "Item Journal Line", var TempSplitItemJnlLine: Record "Item Journal Line", var ItemJnlLineOrigin: Record "Item Journal Line", var TempTrackingSpecification: Record "Tracking Specification", TrackingSpecExists: Boolean, CalledFromAdjustment: Boolean, PostponeReservationHandling: Boolean, var PostItemJnlLine: Boolean)
[IntegrationEvent(False,False)]
local procedure OnApplyItemLedgEntryOnBeforeFirstReservationSetFilters(var ItemJnlLine: Record "Item Journal Line", var StartApplication: Boolean, FirstReservation: Boolean, var Handled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnApplyItemLedgEntryOnBeforeCloseSurplusTrackingEntry(ItemJnlLine: Record "Item Journal Line", var StartApplication: Boolean, var UseReservationApplication: Boolean, var Handled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeInsertPhysInventoryEntry(var ItemJnlLineOrigin: Record "Item Journal Line", var IsHandled: Boolean)
[IntegrationEvent(True,False)]
local procedure OnItemValuePostingOnBeforeInsertOHValueEntry(var ItemJnlLine: Record "Item Journal Line", var GlobalValueEntry: Record "Value Entry", var GlobalItemLedgEntry: Record "Item Ledger Entry", var ValueEntryNo: Integer, var IsHandled: Boolean, var VarianceAmount: Decimal, var VarianceAmountACY: Decimal, var OverheadAmount: Decimal, var OverheadAmountACY: Decimal)
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(False,False)]
local procedure OnPostConsumptionOnBeforeCalcRemQtyToPostThisLine(var ProdOrderComp: Record "Prod. Order Component", var ItemJnlLine: Record "Item Journal Line", var TempHandlingSpecification: Record "Tracking Specification", RemQtyToPost: Decimal, UseItemTrackingApplication: Boolean, LastLoop: Boolean, var IsHandled: Boolean)
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(False,False)]
local procedure OnPostConsumptionOnBeforeCalcRemainingQuantity(var ProdOrderComp: Record "Prod. Order Component", var ItemJnlLine: Record "Item Journal Line", var NewRemainingQty: Decimal, var QtyToPost: Decimal, var IsHandled: Boolean, var RemQtyToPost: Decimal)
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(False,False)]
local procedure OnPostConsumptionOnRemQtyToPostOnBeforeInsertConsumpEntry(var ItemJnlLine: Record "Item Journal Line", var ProdOrderComponent: Record "Prod. Order Component")
[IntegrationEvent(False,False)]
local procedure OnSetupTempSplitItemJnlLineOnAfterCalcPostItemJnlLine(var TempSplitItemJnlLine: Record "Item Journal Line", var TempTrackingSpecification: Record "Tracking Specification" temporary, var PostItemJnlLine: Boolean)
[IntegrationEvent(False,False)]
local procedure OnCodeOnBeforeCheckItemTracking(var ItemJnlLine: Record "Item Journal Line", DisableItemTracking: Boolean, var IsHandled: Boolean, var TempTrackingSpecification: Record "Tracking Specification", var ItemTrackingSetup: Record "Item Tracking Setup" temporary)
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckInvoicedQuantity(ItemLedgEntry: Record "Item Ledger Entry", ValueEntry: Record "Value Entry", var ModifyEntry: Boolean, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnUpdateOrigAppliedFromEntryOnItemApplEntryLoop(var ItemLedgEntry: Record "Item Ledger Entry", ItemApplEntry: Record "Item Application Entry")
[IntegrationEvent(False,False)]
local procedure OnUpdateItemLedgEntryOnBeforeUpdateOutboundItemLedgEntry(ValueEntry: Record "Value Entry", var IsHandled: Boolean, var ItemJournalLine: Record "Item Journal Line")
[IntegrationEvent(False,False)]
local procedure OnBeforeTouchItemEntryCost(var ItemLedgerEntry: Record "Item Ledger Entry", ItemJnlLine: Record "Item Journal Line", IsAdjustment: Boolean, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnPostItemOnBeforeTransferReservFromJobPlanningLine(var ItemJournalLine: Record "Item Journal Line", var IsHandled: Boolean, var AverageTransfer: Boolean)
[IntegrationEvent(False,False)]
local procedure OnRunWithCheckOnAfterRetrieveItemTracking(var ItemJournalLine: Record "Item Journal Line", var TempTrackingSpecification: Record "Tracking Specification", var TrackingSpecExists: Boolean, PostponeReservationHandling: Boolean)
[IntegrationEvent(False,False)]
local procedure OnCheckItemTrackingOnAfterCheckRequiredTrackingNos(ItemJournalLine: Record "Item Journal Line", ItemTrackingSetup: Record "Item Tracking Setup" temporary, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnInsertCapValueEntryOnBeforeInventoryPostingToGL(ValueEntry: Record "Value Entry", var IsHandled: Boolean, PostToGL: Boolean)
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforePostOutputForProdOrder(var ItemJnlLine: Record "Item Journal Line", var LastOperation: Boolean, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnPostItemOnAfterCheckCostingMethodStandard(var Item: Record Item, var ItemJnlLine: Record "Item Journal Line")
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateLinkedValuationDate(GlobalItemLedgEntry: Record "Item Ledger Entry", FromItemledgEntryNo: Integer, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnCodeOnAfterCalcQtyPerUnitOfMeasure(var ItemJnlLine: Record "Item Journal Line", Subcontracting: Boolean, var QtyPerUnitOfMeasure: Decimal)
[IntegrationEvent(False,False)]
local procedure OnItemQtyPostingOnAfterInsertTransferEntry(var ItemJnlLine: Record "Item Journal Line", AverageTransfer: Boolean, GlobalItemLedgEntry: Record "Item Ledger Entry", OldItemLedgEntry: Record "Item Ledger Entry", TotalAppliedQty: Decimal, var TempItemEntryRelation: Record "Item Entry Relation", var GlobalValueEntry: Record "Value Entry")
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateValuationDate(GlobalItemLedgEntry: Record "Item Ledger Entry", FromItemLedgEntryNo: Integer, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnCheckItemTrackingInformationOnBeforeTestFields(ItemTrackingSetup: Record "Item Tracking Setup" temporary, TrackingSpecification: Record "Tracking Specification", ItemJnlLine: Record "Item Journal Line", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnInsertTransferEntryOnBeforeCalcIsReserved(ItemJnlLine: Record "Item Journal Line", var TempTrackingSpecification: Record "Tracking Specification", NewItemLedgEntry: Record "Item Ledger Entry", ItemLedgEntry: Record "Item Ledger Entry", var IsReserved: Boolean, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnSetupTempSplitItemJnlLineOnBeforeCalcPostItemJnlLine(var TempSplitItemJnlLine: Record "Item Journal Line", TempTrackingSpecification: Record "Tracking Specification")
[IntegrationEvent(False,False)]
local procedure OnCodeOnBeforeRunCheck(var ItemJnlCheckLine: Codeunit "Item Jnl.-Check Line", var ItemJnlLine: Record "Item Journal Line")
[IntegrationEvent(False,False)]
local procedure OnUndoQuantityPostingOnBeforeInsertCorrOldItemLedgEntry(OldItemLedgEntry: Record "Item Ledger Entry", var IsHandled: Boolean)
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforeReservationExists(ItemJnlLine: Record "Item Journal Line", var Result: Boolean, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnUndoQuantityPostingOnAfterCalcShouldInsertCorrValueEntry(OldItemLedgEntry: Record "Item Ledger Entry", var ShouldInsertCorrValueEntries: Boolean)
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(False,False)]
local procedure OnPostOutputOnBeforeGetMfgAmounts(var ItemJnlLine: Record "Item Journal Line", ProdOrder: Record "Production Order", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnUpdateAvgCostAdjmtBufferOnAfterSetValueEntry(var ValueEntry: Record "Value Entry", OldItemLedgEntry: Record "Item Ledger Entry")
[IntegrationEvent(False,False)]
local procedure OnBeforeGetGeneralPostingSetup(ItemJournalLine: Record "Item Journal Line", var GeneralPostingSetup: Record "General Posting Setup", PostToGl: Boolean, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnCheckItemOnAfterGetItem(Item: Record Item, ItemJnlLine: Record "Item Journal Line", CalledFromAdjustment: Boolean)
[IntegrationEvent(False,False)]
local procedure OnCheckItemVariantOnAfterGetItemVariant(ItemVariant: Record "Item Variant", ItemJnlLine: Record "Item Journal Line", CalledFromAdjustment: Boolean)
[IntegrationEvent(False,False)]
local procedure OnAfterMoveApplication(var ItemLedgerEntry: Record "Item Ledger Entry", OldItemLedgerEntry: Record "Item Ledger Entry", var Enough: Boolean)
[IntegrationEvent(False,False)]
local procedure OnInitValueEntryOnBeforeSetDocumentLineNo(ItemJournalLine: Record "Item Journal Line", var ItemLedgerEntry: Record "Item Ledger Entry", var ValueEntry: Record "Value Entry")
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(False,False)]
local procedure OnCorrectOutputValuationDateOnBeforeValueEntryFindSet(var ValueEntry: Record "Value Entry")
[IntegrationEvent(False,False)]
local procedure OnApplyItemLedgEntryOnAfterTestFirstApplyItemLedgEntry(OldItemLedgerEntry: Record "Item Ledger Entry", var ItemLedgerEntry: Record "Item Ledger Entry")
[IntegrationEvent(False,False)]
local procedure OnBeforeInsertBalanceExpCostRevEntry(var GlobalItemLedgEntry: Record "Item Ledger Entry", ValueEntry: Record "Value Entry", var ValueEntryNo: Integer, var GLSetup: Record "General Ledger Setup", var Currency: Record Currency, var GLSetupRead: Boolean, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnUndoQuantityPostingOnAfterAutoTrack(var NewItemLedgEntry: Record "Item Ledger Entry", var NewValueEntry: Record "Value Entry", ItemJnlLine: Record "Item Journal Line", Item: Record Item)
[IntegrationEvent(False,False)]
local procedure OnInitTransValueEntryOnBeforeCalcAdjustedCost(OldItemLedgEntry: Record "Item Ledger Entry", var ValueEntry: Record "Value Entry", var AdjCostInvoicedLCY: Decimal, var AdjCostInvoicedACY: Decimal, var DiscountAmount: Decimal, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnTestFirstApplyItemLedgEntryOnBeforeTestFields(var OldItemLedgerEntry: Record "Item Ledger Entry", var ItemLedgerEntry: Record "Item Ledger Entry", ItemJournalLine: Record "Item Journal Line", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnTestFirstApplyItemLedgEntryOnBeforeReservationPreventsApplication(OldItemLedgerEntry: Record "Item Ledger Entry", ItemLedgerEntry: Record "Item Ledger Entry", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnAfterValuateAppliedAvgEntry(var ValueEntry: Record "Value Entry", ItemJournalLine: Record "Item Journal Line")
[IntegrationEvent(False,False)]
local procedure OnUndoQuantityPostingOnBeforeCheckPositive(var ItemJournalLine: Record "Item Journal Line", var OldItemLedgerEntry: Record "Item Ledger Entry", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnCheckApplicationOnBeforeRemainingQtyError(OldItemLedgerEntry: Record "Item Ledger Entry", ItemLedgerEntry: Record "Item Ledger Entry", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnUndoQuantityPostingOnAfterInsertItemReg(var ItemJournalLine: Record "Item Journal Line", var OldItemLedgerEntry: Record "Item Ledger Entry", var NewItemLedgerEntry: Record "Item Ledger Entry")
[IntegrationEvent(False,False)]
local procedure OnInsertCorrValueEntryOnAfterAssignNewValueEntry(GlobalItemLedgerEntry: Record "Item Ledger Entry", var OldValueEntry: Record "Value Entry", var NewValueEntry: Record "Value Entry", var ItemJournalLine: Record "Item Journal Line", var ItemLedgerEntry: Record "Item Ledger Entry", var ValueEntryNo: Integer)
[IntegrationEvent(True,False)]
local procedure OnBeforeCheckItemAndItemVariant(ItemNo: Code[20], VariantCode: Code[10], var Item: Record Item, var ItemVariant: Record "Item Variant", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnItemValuePostingOnBeforeInsertValueEntry(ItemJournalLine: Record "Item Journal Line", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnAfterUpdateAvgCostAdjmtBuffer(var OldItemLedgerEntry: Record "Item Ledger Entry", var ValueEntry: Record "Value Entry", var ValuationDate: Date)
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(True,False)]
local procedure OnPostOutputOnBeforeInsertCostValueEntries(var ItemJournalLine: Record "Item Journal Line", var CapacityLedgerEntry: Record "Capacity Ledger Entry", var ValuedQty: Decimal, var DirCostAmt: Decimal, var IndirCostAmt: Decimal)
[IntegrationEvent(False,False)]
local procedure OnUpdateItemApplnEntryOnAfterFilterItemApplicationEntry(var ItemApplnEntry: Record "Item Application Entry")
[IntegrationEvent(False,False)]
local procedure OnApplyItemLedgEntryOnAfterSetLoadFieldsOnReservEntry(var ReservationEntry: Record "Reservation Entry")
[IntegrationEvent(False,False)]
local procedure OnPublishPostingInventoryToGL(ItemJournalLine: Record "Item Journal Line", var InventoryPostingToGL: Codeunit "Inventory Posting To G/L")
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforeOnApplyCapNeed(var ItemJnlLine: Record "Item Journal Line", var PostedSetupTime: Decimal, var PostedRunTime: Decimal, var IsHandled: Boolean)
This element will become obsolete from version 27.0. Moved to codeunit MfgItemJnlPostLine
[Obsolete(Moved to codeunit MfgItemJnlPostLine,27.0)]
[IntegrationEvent(False,False)]
local procedure OnPostOutputForProdOrderOnAfterApplyCapNeed(var ItemJnlLine: Record "Item Journal Line", var ValuedQty: Decimal)
[IntegrationEvent(False,False)]
local procedure OnBeforeReApply(ItemLedgerEntry: Record "Item Ledger Entry", ApplyWith: Integer, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeRunPostWithReservation(var ItemJournalLine: Record "Item Journal Line", var ReservationEntry: Record "Reservation Entry", var ItemJournalLinePosted: Boolean, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeCollectItemEntryRelation(var TempItemEntryRelation: Record "Item Entry Relation" temporary, var TargetItemEntryRelation: Record "Item Entry Relation" temporary, var Result: Boolean, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeCollectValueEntryRelation(var TempValueEntryRelation: Record "Value Entry Relation" temporary, var TargetValueEntryRelation: Record "Value Entry Relation" temporary, var Result: Boolean, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeUndoValuePostingWithJob(OldItemLedgEntryNo: Integer, NewItemLedgEntryNo: Integer, var IsHandled: Boolean)
Parameters
Name
Type
Description
OldItemLedgEntryNo
Integer
NewItemLedgEntryNo
Integer
IsHandled
Boolean
OnBeforeProcedureInsertCapLedgEntry
[IntegrationEvent(False,False)]
local procedure OnBeforeProcedureInsertCapLedgEntry(var ItemJournalLine: Record "Item Journal Line", var CapacityLedgerEntry: Record "Capacity Ledger Entry", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeItemQtyPosting(var ItemJnlLine: Record "Item Journal Line", var CalledFromAdjustment: Boolean, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeSetupTempSplitItemJnlLine(var ItemJnlLine2: Record "Item Journal Line", var SignFactor: Integer, var NonDistrQuantity: Decimal, var NonDistrAmount: Decimal, var NonDistrAmountACY: Decimal, var NonDistrDiscountAmount: Decimal, var Invoice: Boolean, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnUndoQuantityPostingOnBeforeCheckItem(Item: Record Item, ItemLedgerEntry: Record "Item Ledger Entry", var ShouldCheckItem: Boolean)