Skip to content

KVSPSAEvaluation Template#

Fields#

Name Type Note
Evaluation Book Code Code[10]
Line No. Integer
Row No. Code[10]
Description Text[100]
Totaling Text[250]
Bold Boolean
Italic Boolean
Underline Boolean
Show Opposite Sign Boolean
G/L Integration Code[20]
Argument 1 Text[250]
Argument 2 Text[250]
Argument 3 Text[250]
Argument 4 Text[250]
Calculation Date Filter Enum (KVSPSACalculationDateFilter)
Calculate from System Boolean
Costline Boolean
Show Boolean
Print Description Text[100]
Use Unit Costs Boolean
SourceTable Enum (KVSPSAEvalTemplSourceTableType)
TotalingType Enum (KVSPSAJobEvalTotalingType)
Evaluation Condition Enum (KVSPSAJobEvalConditionType)
Advance Amount Type Enum (KVSPSAJobEvalAdvanceAmountType)
WBS Version Type Enum (KVSPSAPSPVersionSelectionType)

Events#

OnBeforeClearTotalAccount(Record KVSPSAEvaluation Template, Record KVSPSAEvaluation Template, Boolean) :#

Summary: An Event that allows to handle the clearing of Totaling if SourceTable is changed

[IntegrationEvent(false, false)]
local procedure OnBeforeClearTotalAccount(Rec: Record "KVSPSAEvaluation Template"; xRec: Record "KVSPSAEvaluation Template"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Table, Table::"KVSPSAEvaluation Template", 'OnBeforeClearTotalAccount', '', false, false)]
local procedure DoSomethingOnBeforeClearTotalAccount(Rec: Record "KVSPSAEvaluation Template"; xRec: Record "KVSPSAEvaluation Template"; var IsHandled: Boolean)
begin
end;

Parameters:

  • Rec: The Record in the current state
  • xRec: The Record in the previous state
  • IsHandled: Indicates whether the event has been handled

OnBeforeValidateTotalingTypeTotalAccounts(Record KVSPSAEvaluation Template, Record KVSPSAEvaluation Template, Boolean) :#

Summary: An Event that allows to handle the validation of TotalingType = TotalAccounts

[IntegrationEvent(false, false)]
local procedure OnBeforeValidateTotalingTypeTotalAccounts(Rec: Record "KVSPSAEvaluation Template"; xRec: Record "KVSPSAEvaluation Template"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Table, Table::"KVSPSAEvaluation Template", 'OnBeforeValidateTotalingTypeTotalAccounts', '', false, false)]
local procedure DoSomethingOnBeforeValidateTotalingTypeTotalAccounts(Rec: Record "KVSPSAEvaluation Template"; xRec: Record "KVSPSAEvaluation Template"; var IsHandled: Boolean)
begin
end;

Parameters:

  • Rec: The Record in the current state
  • xRec: The Record in the previous state
  • IsHandled: Indicates whether the event has been handled