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"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSARECreateJobAllocAcrJobs", 'KVSPSAREOnAfterConnectReallocationToJobLedgerEntries', '', false, false)]
local procedure DoSomethingKVSPSAREOnAfterConnectReallocationToJobLedgerEntries(var OrigJobLedgerEntry: Record "Job Ledger Entry")
begin
end;
Parameters:
JobLedgerEntry: 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"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSARECreateJobAllocAcrJobs", 'KVSPSAREOnAfterMarkReallocatedToAdvJobLedgerEntries', '', false, false)]
local procedure DoSomethingKVSPSAREOnAfterMarkReallocatedToAdvJobLedgerEntries(var OrigKVSADVAdvanceJobLedgerEntry: Record "KVSADVAdvanceJobLedgerEntry")
begin
end;
Parameters:
JobLedgerEntry: 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"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSARECreateJobAllocAcrJobs", 'KVSPSAREOnAfterMarkReallocatedToBudgetEntries', '', false, false)]
local procedure DoSomethingKVSPSAREOnAfterMarkReallocatedToBudgetEntries(var OriginalKVSPSAJobBudgetEntry: Record "KVSPSA Job Budget Entry")
begin
end;
Parameters:
JobLedgerEntry: 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"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSARECreateJobAllocAcrJobs", 'KVSPSAREOnAllocateAllJobs', '', false, false)]
local procedure DoSomethingKVSPSAREOnAllocateAllJobs(Job: Record "Job")
begin
end;
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"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSARECreateJobAllocAcrJobs", 'KVSPSAREOnBeforeConnectReallocationToJobLedgerEntries', '', false, false)]
local procedure DoSomethingKVSPSAREOnBeforeConnectReallocationToJobLedgerEntries(var OrigJobLedgerEntry: Record "Job Ledger Entry"; var JobLedgerEntry: Record "Job Ledger Entry")
begin
end;
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"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSARECreateJobAllocAcrJobs", 'KVSPSAREOnBeforeMarkReallocatedToAdvJobLedgerEntries', '', false, false)]
local procedure DoSomethingKVSPSAREOnBeforeMarkReallocatedToAdvJobLedgerEntries(var OrigKVSADVAdvanceJobLedgerEntry: Record "KVSADVAdvanceJobLedgerEntry"; var KVSADVAdvanceJobLedgerEntry: Record "KVSADVAdvanceJobLedgerEntry")
begin
end;
Parameters:
OrigAllocationEntry: Filtered entries for linking.JobBudgetEntry: 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"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSARECreateJobAllocAcrJobs", 'KVSPSAREOnBeforeMarkReallocatedToBudgetEntries', '', false, false)]
local procedure DoSomethingKVSPSAREOnBeforeMarkReallocatedToBudgetEntries(var OriginalKVSPSAJobBudgetEntry: Record "KVSPSA Job Budget Entry"; var KVSPSAJobBudgetEntry: Record "KVSPSA Job Budget Entry")
begin
end;
Parameters:
OrigAllocationEntry: Filtered entries for linking.JobBudgetEntry: 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"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSARECreateJobAllocAcrJobs", 'KVSPSAREOnFindAllocationKeyAfterSetFilter', '', false, false)]
local procedure DoSomethingKVSPSAREOnFindAllocationKeyAfterSetFilter(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")
begin
end;
Parameters:
JobNo: Job No. from which costs are allocatedJobBudgetName: Job Budget Name of the PSP Version from which costs are allocatedVersionNo: Version of the PSP Version from which costs are allocatedWorkPackageCode: Work Package of PSP Line from which costs are allocatedPhaseCode: Phase of PSP Line from which costs are allocatedTaskCode: Task of PSP Line from which costs are allocatedStepCode: Step of PSP Line from which costs are allocatedAllocateToJob: Filtered Allocation Entries which will be used to allocate costs