Skip to content

KVSPSAGenJnlPostLine#

Events#

KVSPSAOnAfterCollectJobPosting(Record Gen. Journal Line, Record G/L Register, Integer) :#

Summary: Event triggered after collecting job posting information during general journal line processing. Allows subscribers to perform additional processing after job ledger entries have been collected and GL register has been updated with job entry references.

[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterCollectJobPosting(GenJournalLine: Record "Gen. Journal Line"; var GLRegister: Record "G/L Register"; NextTransactionNo: Integer): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAGenJnlPostLine", 'KVSPSAOnAfterCollectJobPosting', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterCollectJobPosting(GenJournalLine: Record "Gen. Journal Line"; var GLRegister: Record "G/L Register"; NextTransactionNo: Integer)
begin
end;

Parameters:

  • GenJournalLine: The general journal line that was processed for job posting.
  • GLRegister: The GL register record that contains the job ledger entry references and can be further modified.
  • NextTransactionNo: The next transaction number that will be used in the posting process.