Skip to content

KVSPSARenumber PSP Management#

Procedures#

MovePSPLine(Record KVSPSAJobPSPLine, Integer) :#

procedure MovePSPLine(JobPSPLine: Record "KVSPSAJobPSPLine"; NewLineNo: Integer): 

Events#

KVSPSAOnAfterMoveToNewJobPSPLineBeforeDeleteOldPSPLine(Record KVSPSAJobPSPLine, Record KVSPSAJobPSPLine) :#

Summary: Use this Event to change the Values of the NewJobPSPLine or to move other related tables of JobPSPLine

[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterMoveToNewJobPSPLineBeforeDeleteOldPSPLine(var NewJobPSPLine: Record "KVSPSAJobPSPLine"; var OldJobPSPLine: Record "KVSPSAJobPSPLine"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSARenumber PSP Management", 'KVSPSAOnAfterMoveToNewJobPSPLineBeforeDeleteOldPSPLine', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterMoveToNewJobPSPLineBeforeDeleteOldPSPLine(var NewJobPSPLine: Record "KVSPSAJobPSPLine"; var OldJobPSPLine: Record "KVSPSAJobPSPLine")
begin
end;

Parameters:

  • NewJobPSPLine: New created JobPSPLine with new "Line No."
  • OldJobPSPLine: Old JobPSPLine which is moved to a new "Line No."

KVSPSAOnBeforeInsertNewBudgetLine(Record KVSPSA Job Budget Line, Record KVSPSA Job Budget Line) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeInsertNewBudgetLine(var NewJobBudgetLine: Record "KVSPSA Job Budget Line"; var JobBudgetLine: Record "KVSPSA Job Budget Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSARenumber PSP Management", 'KVSPSAOnBeforeInsertNewBudgetLine', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeInsertNewBudgetLine(var NewJobBudgetLine: Record "KVSPSA Job Budget Line"; var JobBudgetLine: Record "KVSPSA Job Budget Line")
begin
end;

KVSPSAOnBeforeInsertNewJobPSPLineOnMovePSPLine(Record KVSPSAJobPSPLine, Record KVSPSAJobPSPLine) :#

Summary: Use this Event to add changes to NewJobPSPLine before its inserted after values of OldJobPSPLine are transfered

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeInsertNewJobPSPLineOnMovePSPLine(var NewJobPSPLine: Record "KVSPSAJobPSPLine"; var OldJobPSPLine: Record "KVSPSAJobPSPLine"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSARenumber PSP Management", 'KVSPSAOnBeforeInsertNewJobPSPLineOnMovePSPLine', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeInsertNewJobPSPLineOnMovePSPLine(var NewJobPSPLine: Record "KVSPSAJobPSPLine"; var OldJobPSPLine: Record "KVSPSAJobPSPLine")
begin
end;

Parameters:

  • NewJobPSPLine: New created JobPSPLine with new "Line No."
  • OldJobPSPLine: Old JobPSPLine which is moved to a new "Line No."

KVSPSAOnBeforeInsertNewPSPLine(Record KVSPSAJobPSPLine, Record KVSPSAJobPSPLine) :#

Obsolete

This Element will be removed or changed with a future Version of the App.

[Obsolete('New Event "KVSPSAOnBeforeInsertNewJobPSPLineOnMovePSPLine" created and insert of JobPSPLine moved in code', '24.1')]
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeInsertNewPSPLine(var NewJobPSPLine: Record "KVSPSAJobPSPLine"; var OldJobPSPLine: Record "KVSPSAJobPSPLine"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSARenumber PSP Management", 'KVSPSAOnBeforeInsertNewPSPLine', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeInsertNewPSPLine(var NewJobPSPLine: Record "KVSPSAJobPSPLine"; var OldJobPSPLine: Record "KVSPSAJobPSPLine")
begin
end;