KVSMEDFAItemJnlPostBatch
Procedures
OnRun
procedure OnRun(Rec: Record "KVSMEDFAItemJournalLine")
Events
OnBeforePostFAJournalLine(Enum FA Journal Line FA Posting Type, Record KVSMEDFAItemJournalLine, Record FA Journal Line, Boolean) :
[IntegrationEvent(false, false)]
local procedure OnBeforePostFAJournalLine(FAPostingType: Enum "FA Journal Line FA Posting Type"; var FAItemJournalLine: Record "KVSMEDFAItemJournalLine"; var FAJournalLine: Record "FA Journal Line"; var Handled: Boolean):
OnBeforePostingTypeActivationFAItemJnlLineTestField(Record KVSMEDFAItemJournalLine, Record Item Ledger Entry, Record KVSMEDPostingCode, Codeunit KVSKBAGenericEventArguments, Boolean) :
[IntegrationEvent(false, false)]
local procedure OnBeforePostingTypeActivationFAItemJnlLineTestField(var FAItemJournalLine: Record "KVSMEDFAItemJournalLine"; var ItemLedgerEntry: Record "Item Ledger Entry"; var OldPostingCode: Record "KVSMEDPostingCode"; var KVSKBAGenericEventArguments: Codeunit "KVSKBAGenericEventArguments"; var SkipTests: Boolean):
OnPostItemJnlLineBeforePost(Record Item Journal Line, Option, Record Item Ledger Entry, Record KVSMEDFAItemJournalLine) :
Summary: Raised before posting an Item Journal Line within the FA Item Journal posting batch.
[IntegrationEvent(false, false)]
local procedure OnPostItemJnlLineBeforePost(var ItemJournalLine: Record "Item Journal Line"; EntryType: Option; ItemLedgEntry: Record "Item Ledger Entry"; FAItemJnlLine: Record "KVSMEDFAItemJournalLine"):
Parameters:
ItemJournalLine: The Item Journal Line record to be posted.EntryType: The entry type indicating a Positive or Negative Adjustment.ItemLedgEntry: The Item Ledger Entry record associated with the posting.FAItemJnlLine: The FA Item Journal Line record being processed.
OnPostWhseJnlLineBeforePost(Record Warehouse Journal Line, Record Item Journal Line, Decimal, Decimal, Record Tracking Specification) :
Summary: Raised before posting a Warehouse Journal Line during the FA Item Journal posting batch.
[IntegrationEvent(false, false)]
local procedure OnPostWhseJnlLineBeforePost(var TempWhseJnlLine: Record "Warehouse Journal Line" temporary; ItemJnlLine: Record "Item Journal Line"; OriginalQuantity: Decimal; OriginalQuantityBase: Decimal; var TempTrackingSpecification: Record "Tracking Specification" temporary):
Parameters:
TempWhseJnlLine: The temporary Warehouse Journal Line record to be posted.ItemJnlLine: The Item Journal Line record associated with the warehouse posting.OriginalQuantity: The original quantity of the item journal line before posting.OriginalQuantityBase: The original base quantity of the item journal line before posting.TempTrackingSpecification: The temporary Tracking Specification record for item tracking.