Skip to content

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.