Skip to content

KVSFCYJobAccScheduleMgt#

Procedures#

CopyLayoutLinesToTemp(Code[10], Record KVSFCYJobAccSchedColLayout) : Boolean#

Summary: Copies a job account schedule column layout to a temporary record of a job account schedule column layout

procedure CopyLayoutLinesToTemp(newLayoutCodePar: Code[10]; var tempJobAccScheduleLayoutLineVar: Record "KVSFCYJobAccSchedColLayout" temporary): Boolean

Parameters:

  • newLayoutCodePar: The layout to be copied
  • tempJobAccScheduleLayoutLineVar: The temporary record with the layout to be used

CreateTempLayoutFromChartOfJobAcc(Record KVSFCYJobAccSchedColLayout) :#

Summary: Creates a job account schedule layout in a temporary record

procedure CreateTempLayoutFromChartOfJobAcc(var tempJobAccScheduleLayoutLineVar: Record "KVSFCYJobAccSchedColLayout" temporary): 

Parameters:

  • tempJobAccScheduleLayoutLineVar: The temporary instance of a job account schedule column layout, which will be created

CalculateMatrix(Code[10], Record KVSFCYJobAccScheduleLine, Record KVSFCYJobAccSchedColLayout, Record KVSFCYJobAccSchedCellValue, Text, Text, Text, Text) :#

Summary: Calculates a job account schedule matrix based on schedule lines and layout

procedure CalculateMatrix(currentScheduleCodePar: Code[10]; var tempAccSchedLineVar: Record "KVSFCYJobAccScheduleLine" temporary; var tempColumnLayoutLineVar: Record "KVSFCYJobAccSchedColLayout" temporary; var TempKVSFCYJobAccSchedCellValueVar: Record "KVSFCYJobAccSchedCellValue" temporary; currentJobFilterPar: Text; currentDateFilterPar: Text; currVersionFilterPar: Text; currJobTaskFilterPar: Text): 

Parameters:

  • currentScheduleCodePar: The filter on the job account schedule line
  • tempAccSchedLineVar: The temporary instance of the job account schedule line which contains the calculated schedule lines
  • tempColumnLayoutLineVar: The temporary record of the job account schedule column layout containing the layout to use
  • TempKVSFCYJobAccSchedCellValueVar: The temporary of the job account schedule cell value which contains the calculated cell values
  • currentJobFilterPar: The filter on the job
  • currentDateFilterPar: The filter on the date
  • currVersionFilterPar: The filter on the version
  • currJobTaskFilterPar: The filter on the job task

Events#

OnAfterSetFlowFiltersToJobAccount(Record KVSFCYJobAccount) :#

Obsolete

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

[Obsolete('Event is no longer triggered', '27.0')]
[IntegrationEvent(false, false)]
local procedure OnAfterSetFlowFiltersToJobAccount(var KVSPECJobAccountVar: Record "KVSFCYJobAccount"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYJobAccScheduleMgt", 'OnAfterSetFlowFiltersToJobAccount', '', false, false)]
local procedure DoSomethingOnAfterSetFlowFiltersToJobAccount(var KVSPECJobAccountVar: Record "KVSFCYJobAccount")
begin
end;

OnCalcCellValueEntryTypeCaseElse(Decimal, Text, Text, Text, Integer, Record KVSFCYJobAccScheduleLine, Record KVSFCYJobAccSchedColLayout) :#

[IntegrationEvent(false, false)]
local procedure OnCalcCellValueEntryTypeCaseElse(var Value: Decimal; JobFilter: Text; JobTaskFilter: Text; DateFilter: Text; VersionFilter: Integer; KVSFCYJobAccScheduleLine: Record "KVSFCYJobAccScheduleLine"; KVSFCYJobAccSchedColLayout: Record "KVSFCYJobAccSchedColLayout"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYJobAccScheduleMgt", 'OnCalcCellValueEntryTypeCaseElse', '', false, false)]
local procedure DoSomethingOnCalcCellValueEntryTypeCaseElse(var Value: Decimal; JobFilter: Text; JobTaskFilter: Text; DateFilter: Text; VersionFilter: Integer; KVSFCYJobAccScheduleLine: Record "KVSFCYJobAccScheduleLine"; KVSFCYJobAccSchedColLayout: Record "KVSFCYJobAccSchedColLayout")
begin
end;

OnDrillDownFromOverviewPageEntryTypeCaseElse(Text, Text, Text, Integer, Record KVSFCYJobAccScheduleLine, Record KVSFCYJobAccSchedColLayout) :#

[IntegrationEvent(false, false)]
local procedure OnDrillDownFromOverviewPageEntryTypeCaseElse(JobFilter: Text; JobTaskFilter: Text; DateFilter: Text; VersionFilter: Integer; KVSFCYJobAccScheduleLine: Record "KVSFCYJobAccScheduleLine"; KVSFCYJobAccSchedColLayout: Record "KVSFCYJobAccSchedColLayout"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYJobAccScheduleMgt", 'OnDrillDownFromOverviewPageEntryTypeCaseElse', '', false, false)]
local procedure DoSomethingOnDrillDownFromOverviewPageEntryTypeCaseElse(JobFilter: Text; JobTaskFilter: Text; DateFilter: Text; VersionFilter: Integer; KVSFCYJobAccScheduleLine: Record "KVSFCYJobAccScheduleLine"; KVSFCYJobAccSchedColLayout: Record "KVSFCYJobAccSchedColLayout")
begin
end;

OnCreateTempLayoutFromChartOfJobAcc(Record KVSFCYJobAccSchedColLayout, Integer) :#

[IntegrationEvent(false, false)]
local procedure OnCreateTempLayoutFromChartOfJobAcc(var TempKVSFCYJobAccSchedColLayout: Record "KVSFCYJobAccSchedColLayout" temporary; var LineNo: Integer): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYJobAccScheduleMgt", 'OnCreateTempLayoutFromChartOfJobAcc', '', false, false)]
local procedure DoSomethingOnCreateTempLayoutFromChartOfJobAcc(var TempKVSFCYJobAccSchedColLayout: Record "KVSFCYJobAccSchedColLayout" temporary; var LineNo: Integer)
begin
end;

OnAfterFilteringCalcValueFromJobLedgerEntry(Text, Text, Text, Record KVSFCYJobAccScheduleLine, Record KVSFCYJobAccSchedColLayout, Boolean, Record Job Ledger Entry) :#

Summary: This event is used to filter Job Ledger Entry before calculation of value

[IntegrationEvent(false, false)]
local procedure OnAfterFilteringCalcValueFromJobLedgerEntry(CurrentJobFilter: Text; CurrentJobTaskFilter: Text; CurrentDateFilter: Text; KVSFCYJobAccScheduleLine: Record "KVSFCYJobAccScheduleLine"; KVSFCYJobAccSchedColLayout: Record "KVSFCYJobAccSchedColLayout"; DrillDown: Boolean; var JobLedgerEntry: Record "Job Ledger Entry"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYJobAccScheduleMgt", 'OnAfterFilteringCalcValueFromJobLedgerEntry', '', false, false)]
local procedure DoSomethingOnAfterFilteringCalcValueFromJobLedgerEntry(CurrentJobFilter: Text; CurrentJobTaskFilter: Text; CurrentDateFilter: Text; KVSFCYJobAccScheduleLine: Record "KVSFCYJobAccScheduleLine"; KVSFCYJobAccSchedColLayout: Record "KVSFCYJobAccSchedColLayout"; DrillDown: Boolean; var JobLedgerEntry: Record "Job Ledger Entry")
begin
end;

Parameters:

  • CurrentJobFilter: Filter for Job No.
  • CurrentJobTaskFilter: Filter for Job Task No.
  • CurrentDateFilter: Filter for Planning Date
  • KVSFCYJobAccScheduleLine: Current Job Account Schedule Line
  • KVSFCYJobAccSchedColLayout: Current Job Account Schedule Column Layout
  • DrillDown: True if drill down is requested
  • JobLedgerEntry: Job Ledger Entry record to be filtered by var

OnAfterFilteringCalcValueFromJobPlanningLine(Text, Text, Text, Record KVSFCYJobAccScheduleLine, Record KVSFCYJobAccSchedColLayout, Boolean, Record Job Planning Line) :#

Summary: This event is used to filter Job Planning Line before calculation of value

[IntegrationEvent(false, false)]
local procedure OnAfterFilteringCalcValueFromJobPlanningLine(CurrentJobFilter: Text; CurrentJobTaskFilter: Text; CurrentDateFilter: Text; KVSFCYJobAccScheduleLine: Record "KVSFCYJobAccScheduleLine"; KVSFCYJobAccSchedColLayout: Record "KVSFCYJobAccSchedColLayout"; DrillDown: Boolean; var JobPlanningLine: Record "Job Planning Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYJobAccScheduleMgt", 'OnAfterFilteringCalcValueFromJobPlanningLine', '', false, false)]
local procedure DoSomethingOnAfterFilteringCalcValueFromJobPlanningLine(CurrentJobFilter: Text; CurrentJobTaskFilter: Text; CurrentDateFilter: Text; KVSFCYJobAccScheduleLine: Record "KVSFCYJobAccScheduleLine"; KVSFCYJobAccSchedColLayout: Record "KVSFCYJobAccSchedColLayout"; DrillDown: Boolean; var JobPlanningLine: Record "Job Planning Line")
begin
end;

Parameters:

  • CurrentJobFilter: Filter for Job No.
  • CurrentJobTaskFilter: Filter for Job Task No.
  • CurrentDateFilter: Filter for Planning Date
  • KVSFCYJobAccScheduleLine: Current Job Account Schedule Line
  • KVSFCYJobAccSchedColLayout: Current Job Account Schedule Column Layout
  • DrillDown: True if drill down is requested
  • JobPlanningLine: Job Planning Line record to be filtered by var