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):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDFAItemJnlPostBatch", 'OnBeforePostFAJournalLine', '', false, false)]
local procedure DoSomethingOnBeforePostFAJournalLine(FAPostingType: Enum "FA Journal Line FA Posting Type"; var FAItemJournalLine: Record "KVSMEDFAItemJournalLine"; var FAJournalLine: Record "FA Journal Line"; var Handled: Boolean)
begin
end;
OnCodeBeforePostingTypeActivationFAItemJnlLineTestField(Record KVSMEDFAItemJournalLine, Record Item Ledger Entry, Record KVSKBAPostingCode, Codeunit KVSKBAGenericEventArguments, Boolean) :#
Obsolete
This Element will be removed or changed with a future Version of the App.
[Obsolete('Use OnBeforePostingTypeActivationFAItemJnlLineTestField instead.', '26.2')]
[IntegrationEvent(false, false)]
local procedure OnCodeBeforePostingTypeActivationFAItemJnlLineTestField(var FAItemJournalLine: Record "KVSMEDFAItemJournalLine"; var ItemLedgerEntry: Record "Item Ledger Entry"; var OldPostingCode: Record "KVSKBAPostingCode"; var AdditionalEventArguments: Codeunit "KVSKBAGenericEventArguments"; var SkipTests: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDFAItemJnlPostBatch", 'OnCodeBeforePostingTypeActivationFAItemJnlLineTestField', '', false, false)]
local procedure DoSomethingOnCodeBeforePostingTypeActivationFAItemJnlLineTestField(var FAItemJournalLine: Record "KVSMEDFAItemJournalLine"; var ItemLedgerEntry: Record "Item Ledger Entry"; var OldPostingCode: Record "KVSKBAPostingCode"; var AdditionalEventArguments: Codeunit "KVSKBAGenericEventArguments"; var SkipTests: Boolean)
begin
end;
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):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDFAItemJnlPostBatch", 'OnBeforePostingTypeActivationFAItemJnlLineTestField', '', false, false)]
local procedure DoSomethingOnBeforePostingTypeActivationFAItemJnlLineTestField(var FAItemJournalLine: Record "KVSMEDFAItemJournalLine"; var ItemLedgerEntry: Record "Item Ledger Entry"; var OldPostingCode: Record "KVSMEDPostingCode"; var KVSKBAGenericEventArguments: Codeunit "KVSKBAGenericEventArguments"; var SkipTests: Boolean)
begin
end;
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"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDFAItemJnlPostBatch", 'OnPostItemJnlLineBeforePost', '', false, false)]
local procedure DoSomethingOnPostItemJnlLineBeforePost(var ItemJournalLine: Record "Item Journal Line"; EntryType: Option; ItemLedgEntry: Record "Item Ledger Entry"; FAItemJnlLine: Record "KVSMEDFAItemJournalLine")
begin
end;
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):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDFAItemJnlPostBatch", 'OnPostWhseJnlLineBeforePost', '', false, false)]
local procedure DoSomethingOnPostWhseJnlLineBeforePost(var TempWhseJnlLine: Record "Warehouse Journal Line" temporary; ItemJnlLine: Record "Item Journal Line"; OriginalQuantity: Decimal; OriginalQuantityBase: Decimal; var TempTrackingSpecification: Record "Tracking Specification" temporary)
begin
end;
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.