Table of Contents

KVSPSARECreateJobAllocAcrJobs

Procedures

ExecuteAllocationForFilteredJobs(Record Job) :

procedure ExecuteAllocationForFilteredJobs(var Job: Record "Job"): 

Events

KVSPSAREOnAfterConnectReallocationToJobLedgerEntries(Record Job Ledger Entry) :

Summary: Use this event to clear filters for linking allocated entries.

[IntegrationEvent(false, false)]
local procedure KVSPSAREOnAfterConnectReallocationToJobLedgerEntries(var OrigJobLedgerEntry: Record "Job Ledger Entry"): 

Parameters:

  • OrigJobLedgerEntry: Allocated entry for filtering original entries.

KVSPSAREOnAfterMarkReallocatedToAdvJobLedgerEntries(Record KVSADVAdvanceJobLedgerEntry) :

Summary: Use this event to clear filters for linking allocated entries.

[IntegrationEvent(false, false)]
local procedure KVSPSAREOnAfterMarkReallocatedToAdvJobLedgerEntries(var OrigKVSADVAdvanceJobLedgerEntry: Record "KVSADVAdvanceJobLedgerEntry"): 

Parameters:

  • OrigKVSADVAdvanceJobLedgerEntry: Allocated entry for filtering original entries.

KVSPSAREOnAfterMarkReallocatedToBudgetEntries(Record KVSPSA Job Budget Entry) :

Summary: Use this event to clear filters for linking allocated entries.

[IntegrationEvent(false, false)]
local procedure KVSPSAREOnAfterMarkReallocatedToBudgetEntries(var OriginalKVSPSAJobBudgetEntry: Record "KVSPSA Job Budget Entry"): 

Parameters:

  • OriginalKVSPSAJobBudgetEntry: Allocated entry for filtering original entries.

KVSPSAREOnAllocateAllJobs(Record Job) :

Summary: Use this function to allocate customer specific tables for jobs.

[IntegrationEvent(false, false)]
local procedure KVSPSAREOnAllocateAllJobs(Job: Record "Job"): 

Parameters:

  • Job: Job, which will be allocated in this function.

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

Summary: Use this event to customize the filter for linking allocated entries.

[IntegrationEvent(false, false)]
local procedure KVSPSAREOnBeforeConnectReallocationToJobLedgerEntries(var OrigJobLedgerEntry: Record "Job Ledger Entry"; var JobLedgerEntry: Record "Job Ledger Entry"): 

Parameters:

  • OrigJobLedgerEntry: Filtered entries for linking.
  • JobLedgerEntry: Allocated entry for filtering original entries.

KVSPSAREOnBeforeMarkReallocatedToAdvJobLedgerEntries(Record KVSADVAdvanceJobLedgerEntry, Record KVSADVAdvanceJobLedgerEntry) :

Summary: Use this event to customize the filter for linking allocated entries.

[IntegrationEvent(false, false)]
local procedure KVSPSAREOnBeforeMarkReallocatedToAdvJobLedgerEntries(var OrigKVSADVAdvanceJobLedgerEntry: Record "KVSADVAdvanceJobLedgerEntry"; var KVSADVAdvanceJobLedgerEntry: Record "KVSADVAdvanceJobLedgerEntry"): 

Parameters:

  • OrigKVSADVAdvanceJobLedgerEntry: Filtered entries for linking.
  • KVSADVAdvanceJobLedgerEntry: Allocated entry for filtering original entries.

KVSPSAREOnBeforeMarkReallocatedToBudgetEntries(Record KVSPSA Job Budget Entry, Record KVSPSA Job Budget Entry) :

Summary: Use this event to customize the filter for linking allocated entries.

[IntegrationEvent(false, false)]
local procedure KVSPSAREOnBeforeMarkReallocatedToBudgetEntries(var OriginalKVSPSAJobBudgetEntry: Record "KVSPSA Job Budget Entry"; var KVSPSAJobBudgetEntry: Record "KVSPSA Job Budget Entry"): 

Parameters:

  • OriginalKVSPSAJobBudgetEntry: Filtered entries for linking.
  • KVSPSAJobBudgetEntry: Allocated entry for filtering original entries.

KVSPSAREOnFindAllocationKeyAfterSetFilter(Code[20], Code[10], Code[20], Code[20], Code[20], Code[20], Code[20], Record KVSPSAREAllocateToJob) :

Summary: Use this event to customize the filters controlling which allocation keys will be used to allocate costs across jobs

[IntegrationEvent(false, false)]
local procedure KVSPSAREOnFindAllocationKeyAfterSetFilter(JobNo: Code[20]; JobBudgetName: Code[10]; VersionNo: Code[20]; WorkPackageCode: Code[20]; PhaseCode: Code[20]; TaskCode: Code[20]; StepCode: Code[20]; var AllocateToJob: Record "KVSPSAREAllocateToJob"): 

Parameters:

  • JobNo: Job No. from which costs are allocated
  • JobBudgetName: Job Budget Name of the PSP Version from which costs are allocated
  • VersionNo: Version of the PSP Version from which costs are allocated
  • WorkPackageCode: Work Package of PSP Line from which costs are allocated
  • PhaseCode: Phase of PSP Line from which costs are allocated
  • TaskCode: Task of PSP Line from which costs are allocated
  • StepCode: Step of PSP Line from which costs are allocated
  • AllocateToJob: Filtered Allocation Entries which will be used to allocate costs