Skip to content

KVSPSABudgetLineChangeWorkPack#

Events#

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

Summary: Integration event that fires after changing work package in budget line.

[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterChangeWP(var SourceJobBudgetLine: Record "KVSPSA Job Budget Line"; var TargetJobBudgetLine: Record "KVSPSA Job Budget Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSABudgetLineChangeWorkPack", 'KVSPSAOnAfterChangeWP', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterChangeWP(var SourceJobBudgetLine: Record "KVSPSA Job Budget Line"; var TargetJobBudgetLine: Record "KVSPSA Job Budget Line")
begin
end;

Parameters:

  • SourceJobBudgetLine: The original job budget line that was moved
  • TargetJobBudgetLine: The new job budget line that was created in the target work package

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

Summary: Integration event that fires after checking that budget lines belong to the same master budget line PSP.

[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterCheckBudgetLineIsFromMasterBudgetLinePSP(var MasterJobBudgetLine: Record "KVSPSA Job Budget Line"; var ToBeMovedJobBudgetLine: Record "KVSPSA Job Budget Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSABudgetLineChangeWorkPack", 'KVSPSAOnAfterCheckBudgetLineIsFromMasterBudgetLinePSP', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterCheckBudgetLineIsFromMasterBudgetLinePSP(var MasterJobBudgetLine: Record "KVSPSA Job Budget Line"; var ToBeMovedJobBudgetLine: Record "KVSPSA Job Budget Line")
begin
end;

Parameters:

  • MasterJobBudgetLine: The master job budget line (BudgetLineToMove) used for comparison
  • ToBeMovedJobBudgetLine: The job budget line to be validated against the master

KVSPSAOnAfterCheckTargetPSPLine(Record KVSPSA Job Budget Line, Record KVSPSAJobPSPLine) :#

Summary: Integration event that fires after checking the target PSP line for budget line move.

[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterCheckTargetPSPLine(var JobBudgetLine: Record "KVSPSA Job Budget Line"; var TargetJobPSPLine: Record "KVSPSAJobPSPLine"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSABudgetLineChangeWorkPack", 'KVSPSAOnAfterCheckTargetPSPLine', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterCheckTargetPSPLine(var JobBudgetLine: Record "KVSPSA Job Budget Line"; var TargetJobPSPLine: Record "KVSPSAJobPSPLine")
begin
end;

Parameters:

  • JobBudgetLine: The job budget line being moved
  • TargetJobPSPLine: The target PSP line where the budget line will be moved

KVSPSAOnAfterCheckTargetPSPLineWithEntriesToMove(Record KVSPSA Job Budget Line, Record KVSPSAJobPSPLine) :#

Summary: Integration event that fires after checking the target PSP line when entries need to be moved.

[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterCheckTargetPSPLineWithEntriesToMove(var JobBudgetLine: Record "KVSPSA Job Budget Line"; var TargetJobPSPLine: Record "KVSPSAJobPSPLine"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSABudgetLineChangeWorkPack", 'KVSPSAOnAfterCheckTargetPSPLineWithEntriesToMove', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterCheckTargetPSPLineWithEntriesToMove(var JobBudgetLine: Record "KVSPSA Job Budget Line"; var TargetJobPSPLine: Record "KVSPSAJobPSPLine")
begin
end;

Parameters:

  • JobBudgetLine: The job budget line with existing entries being moved
  • TargetJobPSPLine: The target PSP line where the budget line and entries will be moved

KVSPSAOnAfterCopiedNewFieldsToPurchaseLine(Record Purchase Line, Record KVSPSA Job Budget Line, Record KVSPSA Job Budget Line) :#

Summary: Integration event that fires after copying new fields to purchase line during work package change.

[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterCopiedNewFieldsToPurchaseLine(var PurchaseLine: Record "Purchase Line"; var SourceJobBudgetLine: Record "KVSPSA Job Budget Line"; var TargetJobBudgetLine: Record "KVSPSA Job Budget Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSABudgetLineChangeWorkPack", 'KVSPSAOnAfterCopiedNewFieldsToPurchaseLine', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterCopiedNewFieldsToPurchaseLine(var PurchaseLine: Record "Purchase Line"; var SourceJobBudgetLine: Record "KVSPSA Job Budget Line"; var TargetJobBudgetLine: Record "KVSPSA Job Budget Line")
begin
end;

Parameters:

  • PurchaseLine: The purchase line being updated with new work package information
  • SourceJobBudgetLine: The original job budget line
  • TargetJobBudgetLine: The target job budget line with new work package information

KVSPSAOnAfterCopiedNewFieldsToSalesLine(Record Sales Line, Record KVSPSA Job Budget Line, Record KVSPSA Job Budget Line) :#

Summary: Integration event that fires after copying new fields to sales line during work package change.

[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterCopiedNewFieldsToSalesLine(var SalesLine: Record "Sales Line"; var SourceJobBudgetLine: Record "KVSPSA Job Budget Line"; var TargetJobBudgetLine: Record "KVSPSA Job Budget Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSABudgetLineChangeWorkPack", 'KVSPSAOnAfterCopiedNewFieldsToSalesLine', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterCopiedNewFieldsToSalesLine(var SalesLine: Record "Sales Line"; var SourceJobBudgetLine: Record "KVSPSA Job Budget Line"; var TargetJobBudgetLine: Record "KVSPSA Job Budget Line")
begin
end;

Parameters:

  • SalesLine: The sales line being updated with new work package information
  • SourceJobBudgetLine: The original job budget line
  • TargetJobBudgetLine: The target job budget line with new work package information

KVSPSAOnAfterCopyBeforeInsertJobCommentlineTextLine(Record KVSPSAPSPJobCommentLineText, Record KVSPSAPSPJobCommentLineText, Record KVSPSA Job Budget Line) :#

Summary: Integration event that fires after copying job comment line text before inserting during work package change.

[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterCopyBeforeInsertJobCommentlineTextLine(var NewPSPJobCommentLineText: Record "KVSPSAPSPJobCommentLineText"; var SourcePSPJobCommentLineText: Record "KVSPSAPSPJobCommentLineText"; var TargetJobBudgetLine: Record "KVSPSA Job Budget Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSABudgetLineChangeWorkPack", 'KVSPSAOnAfterCopyBeforeInsertJobCommentlineTextLine', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterCopyBeforeInsertJobCommentlineTextLine(var NewPSPJobCommentLineText: Record "KVSPSAPSPJobCommentLineText"; var SourcePSPJobCommentLineText: Record "KVSPSAPSPJobCommentLineText"; var TargetJobBudgetLine: Record "KVSPSA Job Budget Line")
begin
end;

Parameters:

  • NewPSPJobCommentLineText: The new PSP job comment line text being created
  • SourcePSPJobCommentLineText: The source PSP job comment line text being copied from
  • TargetJobBudgetLine: The target job budget line receiving the comment

KVSPSAOnAfterCopyBeforeInsertJobTextLine(Record KVSPSAPSP Job Text Line, Record KVSPSAPSP Job Text Line, Record KVSPSA Job Budget Line) :#

Summary: Integration event that fires after copying job text line before inserting during work package change.

[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterCopyBeforeInsertJobTextLine(var NewPSPJobTextLine: Record "KVSPSAPSP Job Text Line"; var SourcePSPJobTextLine: Record "KVSPSAPSP Job Text Line"; var TargetJobBudgetLine: Record "KVSPSA Job Budget Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSABudgetLineChangeWorkPack", 'KVSPSAOnAfterCopyBeforeInsertJobTextLine', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterCopyBeforeInsertJobTextLine(var NewPSPJobTextLine: Record "KVSPSAPSP Job Text Line"; var SourcePSPJobTextLine: Record "KVSPSAPSP Job Text Line"; var TargetJobBudgetLine: Record "KVSPSA Job Budget Line")
begin
end;

Parameters:

  • NewPSPJobTextLine: The new PSP job text line being created
  • SourcePSPJobTextLine: The source PSP job text line being copied from
  • TargetJobBudgetLine: The target job budget line receiving the text

KVSPSAOnAfterCopyBeforeInsertPSPLineSkill(Record KVSPSAPSP Line Skill, Record KVSPSAPSP Line Skill, Record KVSPSA Job Budget Line) :#

Summary: Integration event that fires after copying PSP line skill before inserting during work package change.

[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterCopyBeforeInsertPSPLineSkill(var NewPSPLineSkill: Record "KVSPSAPSP Line Skill"; var SourcePSPLineSkill: Record "KVSPSAPSP Line Skill"; var TargetJobBudgetLine: Record "KVSPSA Job Budget Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSABudgetLineChangeWorkPack", 'KVSPSAOnAfterCopyBeforeInsertPSPLineSkill', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterCopyBeforeInsertPSPLineSkill(var NewPSPLineSkill: Record "KVSPSAPSP Line Skill"; var SourcePSPLineSkill: Record "KVSPSAPSP Line Skill"; var TargetJobBudgetLine: Record "KVSPSA Job Budget Line")
begin
end;

Parameters:

  • NewPSPLineSkill: The new PSP line skill being created
  • SourcePSPLineSkill: The source PSP line skill being copied from
  • TargetJobBudgetLine: The target job budget line receiving the skill

KVSPSAOnAfterCreateAfterInsertNewBudgetLine(Record KVSPSA Job Budget Line, Record KVSPSAJobPSPLine, Record KVSPSA Job Budget Line) :#

Summary: Integration event that fires after creating and inserting new budget line during work package change.

[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterCreateAfterInsertNewBudgetLine(var JobBudgetLine: Record "KVSPSA Job Budget Line"; var TargetJobPSPLine: Record "KVSPSAJobPSPLine"; var NewJobBudgetLine: Record "KVSPSA Job Budget Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSABudgetLineChangeWorkPack", 'KVSPSAOnAfterCreateAfterInsertNewBudgetLine', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterCreateAfterInsertNewBudgetLine(var JobBudgetLine: Record "KVSPSA Job Budget Line"; var TargetJobPSPLine: Record "KVSPSAJobPSPLine"; var NewJobBudgetLine: Record "KVSPSA Job Budget Line")
begin
end;

Parameters:

  • JobBudgetLine: The original job budget line being moved
  • TargetJobPSPLine: The target PSP line where the budget line is moved
  • NewJobBudgetLine: The newly created job budget line in the target work package

KVSPSAOnAfterCreateBeforeInsertNewBudgetLine(Record KVSPSA Job Budget Line, Record KVSPSAJobPSPLine, Record KVSPSA Job Budget Line) :#

Summary: Integration event that fires after creating but before inserting new budget line during work package change.

[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterCreateBeforeInsertNewBudgetLine(var JobBudgetLine: Record "KVSPSA Job Budget Line"; var TargetJobPSPLine: Record "KVSPSAJobPSPLine"; var NewJobBudgetLine: Record "KVSPSA Job Budget Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSABudgetLineChangeWorkPack", 'KVSPSAOnAfterCreateBeforeInsertNewBudgetLine', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterCreateBeforeInsertNewBudgetLine(var JobBudgetLine: Record "KVSPSA Job Budget Line"; var TargetJobPSPLine: Record "KVSPSAJobPSPLine"; var NewJobBudgetLine: Record "KVSPSA Job Budget Line")
begin
end;

Parameters:

  • JobBudgetLine: The original job budget line being moved
  • TargetJobPSPLine: The target PSP line where the budget line is moved
  • NewJobBudgetLine: The new job budget line being prepared for insertion

KVSPSAOnAfterInitializedNewBudgetEntryFromBudgetEntryInMoveBudgetEntries(Record KVSPSA Job Budget Entry, Record KVSPSA Job Budget Entry, Record KVSPSA Job Budget Line, Record KVSPSA Job Budget Line) :#

Summary: Integration event that fires after initializing new budget entry from existing budget entry during budget entries move.

[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterInitializedNewBudgetEntryFromBudgetEntryInMoveBudgetEntries(var NewJobBudgetEntry: Record "KVSPSA Job Budget Entry"; OldJobBudgetEntry: Record "KVSPSA Job Budget Entry"; NewJobBudgetLine: Record "KVSPSA Job Budget Line"; OldJobBudgetLine: Record "KVSPSA Job Budget Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSABudgetLineChangeWorkPack", 'KVSPSAOnAfterInitializedNewBudgetEntryFromBudgetEntryInMoveBudgetEntries', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterInitializedNewBudgetEntryFromBudgetEntryInMoveBudgetEntries(var NewJobBudgetEntry: Record "KVSPSA Job Budget Entry"; OldJobBudgetEntry: Record "KVSPSA Job Budget Entry"; NewJobBudgetLine: Record "KVSPSA Job Budget Line"; OldJobBudgetLine: Record "KVSPSA Job Budget Line")
begin
end;

Parameters:

  • NewJobBudgetEntry: The new job budget entry being created
  • OldJobBudgetEntry: The old job budget entry being moved
  • NewJobBudgetLine: The new job budget line in the target work package
  • OldJobBudgetLine: The old job budget line being moved

KVSPSAOnAfterUpdateOtherFieldsInNewBudgetLine(Record KVSPSA Job Budget Line, Record KVSPSA Job Budget Line, Record KVSPSAJobPSPLine) :#

Summary: Integration event that fires after updating other fields in new budget line during work package change.

[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterUpdateOtherFieldsInNewBudgetLine(var JobBudgetLine: Record "KVSPSA Job Budget Line"; var NewJobBudgetLine: Record "KVSPSA Job Budget Line"; var TargetJobPSPLine: Record "KVSPSAJobPSPLine"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSABudgetLineChangeWorkPack", 'KVSPSAOnAfterUpdateOtherFieldsInNewBudgetLine', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterUpdateOtherFieldsInNewBudgetLine(var JobBudgetLine: Record "KVSPSA Job Budget Line"; var NewJobBudgetLine: Record "KVSPSA Job Budget Line"; var TargetJobPSPLine: Record "KVSPSAJobPSPLine")
begin
end;

Parameters:

  • JobBudgetLine: The original job budget line being moved
  • NewJobBudgetLine: The new job budget line with updated fields
  • TargetJobPSPLine: The target PSP line where the budget line is moved

KVSPSAOnBeforeCheckTargetPSPLine(Record KVSPSA Job Budget Line, Record KVSPSAJobPSPLine, Boolean) :#

Summary: Integration event that fires before checking the target PSP line for budget line move.

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeCheckTargetPSPLine(var JobBudgetLine: Record "KVSPSA Job Budget Line"; var TargetJobPSPLine: Record "KVSPSAJobPSPLine"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSABudgetLineChangeWorkPack", 'KVSPSAOnBeforeCheckTargetPSPLine', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeCheckTargetPSPLine(var JobBudgetLine: Record "KVSPSA Job Budget Line"; var TargetJobPSPLine: Record "KVSPSAJobPSPLine"; var IsHandled: Boolean)
begin
end;

Parameters:

  • JobBudgetLine: The job budget line being moved
  • TargetJobPSPLine: The target PSP line where the budget line will be moved
  • IsHandled: Set to true to skip the default checking logic

KVSPSAOnBeforeCheckTargetPSPLineWithEntriesToMove(Record KVSPSA Job Budget Line, Record KVSPSAJobPSPLine, Boolean) :#

Summary: Integration event that fires before checking the target PSP line when entries need to be moved.

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeCheckTargetPSPLineWithEntriesToMove(var JobBudgetLine: Record "KVSPSA Job Budget Line"; var TargetJobPSPLine: Record "KVSPSAJobPSPLine"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSABudgetLineChangeWorkPack", 'KVSPSAOnBeforeCheckTargetPSPLineWithEntriesToMove', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeCheckTargetPSPLineWithEntriesToMove(var JobBudgetLine: Record "KVSPSA Job Budget Line"; var TargetJobPSPLine: Record "KVSPSAJobPSPLine"; var IsHandled: Boolean)
begin
end;

Parameters:

  • JobBudgetLine: The job budget line with existing entries being moved
  • TargetJobPSPLine: The target PSP line where the budget line and entries will be moved
  • IsHandled: Set to true to skip the default checking logic

KVSPSAOnBeforeChooseTargetPSPLine(Record KVSPSA Job Budget Line, Record KVSPSAJobPSPLine, Boolean) :#

Summary: Integration event that fires before choosing the target PSP line for budget line move.

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeChooseTargetPSPLine(var JobBudgetLine: Record "KVSPSA Job Budget Line"; var TargetJobPSPLine: Record "KVSPSAJobPSPLine"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSABudgetLineChangeWorkPack", 'KVSPSAOnBeforeChooseTargetPSPLine', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeChooseTargetPSPLine(var JobBudgetLine: Record "KVSPSA Job Budget Line"; var TargetJobPSPLine: Record "KVSPSAJobPSPLine"; var IsHandled: Boolean)
begin
end;

Parameters:

  • JobBudgetLine: The job budget line being moved
  • TargetJobPSPLine: The target PSP line where the budget line will be moved
  • IsHandled: Set to true to skip the default target PSP line selection logic

KVSPSAOnBeforeGetNextEntryNoOnMoveBudgetEntries(Record KVSPSA Job Budget Line, Record KVSPSA Job Budget Line, Integer, Boolean) :#

Obsolete

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

Summary: Integration event that fires before getting next entry number on move budget entries. This procedure is obsolete and not needed anymore since Rolling Planning is moved to product.

[Obsolete('Not needed anymore since Rolling Planing is moved to product', '25.0')]
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeGetNextEntryNoOnMoveBudgetEntries(var JobBudgetLineToMove: Record "KVSPSA Job Budget Line"; var NewJobBudgetLine: Record "KVSPSA Job Budget Line"; var NewEntryNo: Integer; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSABudgetLineChangeWorkPack", 'KVSPSAOnBeforeGetNextEntryNoOnMoveBudgetEntries', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeGetNextEntryNoOnMoveBudgetEntries(var JobBudgetLineToMove: Record "KVSPSA Job Budget Line"; var NewJobBudgetLine: Record "KVSPSA Job Budget Line"; var NewEntryNo: Integer; var IsHandled: Boolean)
begin
end;

Parameters:

  • JobBudgetLineToMove: The job budget line being moved
  • NewJobBudgetLine: The new job budget line being created
  • NewEntryNo: The new entry number to be assigned
  • IsHandled: Set to true to skip the default entry number logic

KVSPSAOnBeforeMovePSPJobCommentLineTexts(Record KVSPSA Job Budget Line, Record KVSPSA Job Budget Line, Boolean) :#

Summary: Integration event that fires before moving PSP job comment line texts during work package change.

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeMovePSPJobCommentLineTexts(var SourceJobBudgetLine: Record "KVSPSA Job Budget Line"; var TargetJobBudgetLine: Record "KVSPSA Job Budget Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSABudgetLineChangeWorkPack", 'KVSPSAOnBeforeMovePSPJobCommentLineTexts', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeMovePSPJobCommentLineTexts(var SourceJobBudgetLine: Record "KVSPSA Job Budget Line"; var TargetJobBudgetLine: Record "KVSPSA Job Budget Line"; var IsHandled: Boolean)
begin
end;

Parameters:

  • SourceJobBudgetLine: The source job budget line containing the comment texts to move
  • TargetJobBudgetLine: The target job budget line where comment texts will be moved
  • IsHandled: Set to true to skip the default comment text moving logic

KVSPSAOnBeforeMovePSPJobTextLines(Record KVSPSA Job Budget Line, Record KVSPSA Job Budget Line, Boolean) :#

Summary: Integration event that fires before moving PSP job text lines during work package change.

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeMovePSPJobTextLines(var SourceJobBudgetLine: Record "KVSPSA Job Budget Line"; var TargetJobBudgetLine: Record "KVSPSA Job Budget Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSABudgetLineChangeWorkPack", 'KVSPSAOnBeforeMovePSPJobTextLines', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeMovePSPJobTextLines(var SourceJobBudgetLine: Record "KVSPSA Job Budget Line"; var TargetJobBudgetLine: Record "KVSPSA Job Budget Line"; var IsHandled: Boolean)
begin
end;

Parameters:

  • SourceJobBudgetLine: The source job budget line containing the text lines to move
  • TargetJobBudgetLine: The target job budget line where text lines will be moved
  • IsHandled: Set to true to skip the default text line moving logic

KVSPSAOnBeforeMovePSPLineSkills(Record KVSPSA Job Budget Line, Record KVSPSA Job Budget Line, Boolean) :#

Summary: Integration event that fires before moving PSP line skills during work package change.

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeMovePSPLineSkills(var SourceJobBudgetLine: Record "KVSPSA Job Budget Line"; var TargetJobBudgetLine: Record "KVSPSA Job Budget Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSABudgetLineChangeWorkPack", 'KVSPSAOnBeforeMovePSPLineSkills', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeMovePSPLineSkills(var SourceJobBudgetLine: Record "KVSPSA Job Budget Line"; var TargetJobBudgetLine: Record "KVSPSA Job Budget Line"; var IsHandled: Boolean)
begin
end;

Parameters:

  • SourceJobBudgetLine: The source job budget line containing the line skills to move
  • TargetJobBudgetLine: The target job budget line where line skills will be moved
  • IsHandled: Set to true to skip the default line skills moving logic

KVSPSAOnCheckUsage(Record KVSPSA Job Budget Line) :#

Summary: Integration event that fires during usage checking for job budget line before work package change.

[IntegrationEvent(false, false)]
local procedure KVSPSAOnCheckUsage(var JobBudgetLine: Record "KVSPSA Job Budget Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSABudgetLineChangeWorkPack", 'KVSPSAOnCheckUsage', '', false, false)]
local procedure DoSomethingKVSPSAOnCheckUsage(var JobBudgetLine: Record "KVSPSA Job Budget Line")
begin
end;

Parameters:

  • JobBudgetLine: The job budget line being checked for usage