Table of Contents

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"): 

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"): 

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"): 

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"): 

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"): 

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"): 

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"): 

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"): 

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"): 

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"): 

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"): 

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"): 

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"): 

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): 

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): 

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): 

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

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): 

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): 

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): 

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"): 

Parameters:

  • JobBudgetLine: The job budget line being checked for usage