Table of Contents

KVSPSARELedgerEntryMgt

Summary: This Codeunit handles the allocation of entries of the following types:

  • Job ledger entry
  • Advance job ledger entry
  • Allocation Entries

Events

KVSPSAREOnAfterInitEntryNoJobLedgerEntries(Integer, Integer, Integer) :

[IntegrationEvent(false, false)]
local procedure KVSPSAREOnAfterInitEntryNoJobLedgerEntries(var FirstJobLedgerEntryNo: Integer; var HighestJobLedgerEntryNo: Integer; var JobRegisterNo: Integer): 

KVSPSAREOnCreateTemporaryCancelJobLedgerEntry(Record Job Ledger Entry, Record Job Ledger Entry) :

Summary: Use this event to make additional changes towards Job Ledger Entries created while cancelling a job's allocation

[IntegrationEvent(false, false)]
local procedure KVSPSAREOnCreateTemporaryCancelJobLedgerEntry(var TempJobLedgerEntry: Record "Job Ledger Entry" temporary; JobLedgerEntry: Record "Job Ledger Entry"): 

Parameters:

  • TempJobLedgerEntry: The newly created cancellation Job Ledger Entry
  • JobLedgerEntry: The original Allocation Job Ledger Entry which is cancelled

KVSPSARECreateTemporaryCancelAdvJobLedgerEntry(Record KVSADVAdvanceJobLedgerEntry, Record KVSADVAdvanceJobLedgerEntry) :

Summary: Use this event to make additional changes towards Advance Job Ledger Entries created while cancelling a job's allocation

[IntegrationEvent(false, false)]
local procedure KVSPSARECreateTemporaryCancelAdvJobLedgerEntry(var TempKVSADVAdvanceJobLedgerEntry: Record "KVSADVAdvanceJobLedgerEntry" temporary; KVSADVAdvanceJobLedgerEntry: Record "KVSADVAdvanceJobLedgerEntry"): 

Parameters:

  • TempKVSADVAdvanceJobLedgerEntry: The newly created cancellation Advance Job Ledger Entry
  • KVSADVAdvanceJobLedgerEntry: The original Allocation Advance Job Ledger Entry which is cancelled