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 copiedtempJobAccScheduleLayoutLineVar: 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 linetempAccSchedLineVar: The temporary instance of the job account schedule line which contains the calculated schedule linestempColumnLayoutLineVar: The temporary record of the job account schedule column layout containing the layout to useTempKVSFCYJobAccSchedCellValueVar: The temporary of the job account schedule cell value which contains the calculated cell valuescurrentJobFilterPar: The filter on the jobcurrentDateFilterPar: The filter on the datecurrVersionFilterPar: The filter on the versioncurrJobTaskFilterPar: 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) :#
Summary: Integration event that is raised during cell value calculation when the column layout entry type is not handled by standard processing, providing an extension point for implementing custom entry type calculations and value retrieval logic for specialized job account schedule scenarios.
[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;
Parameters:
Value: Decimal variable (passed by reference) that should be populated with the calculated cell value by the extension when handling custom entry types for job account schedule matrix calculations.JobFilter: Text value containing the current job filter applied to restrict calculations to specific jobs, enabling job-scoped custom calculations and value retrieval operations.JobTaskFilter: Text value containing the current job task filter applied to limit calculations to specific job tasks within the filtered jobs, providing task-level calculation granularity.DateFilter: Text value containing the current date filter applied to restrict calculations to specific date ranges, enabling period-based custom value calculations and temporal data analysis.VersionFilter: Integer value containing the current version filter applied for version-specific calculations, allowing extensions to implement version-aware custom calculation logic for job account schedules.KVSFCYJobAccScheduleLine: Job Account Schedule Line record containing the current row configuration including totaling settings, totaling type, and calculation parameters for the matrix cell being processed.KVSFCYJobAccSchedColLayout: Job Account Schedule Column Layout record containing the current column configuration including entry type, amount type, and column-specific settings that define the calculation context.
OnDrillDownFromOverviewPageEntryTypeCaseElse(Text, Text, Text, Integer, Record KVSFCYJobAccScheduleLine, Record KVSFCYJobAccSchedColLayout) :#
Summary: Integration event that is raised during drill-down operations from the job account schedule overview page when the column layout entry type is not handled by standard drill-down processing, providing an extension point for implementing custom drill-down navigation and detail page display for specialized entry types.
[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;
Parameters:
JobFilter: Text value containing the current job filter applied to the schedule overview, providing job context for custom drill-down operations and detail page filtering.JobTaskFilter: Text value containing the current job task filter applied to limit drill-down results to specific job tasks, enabling task-scoped detail navigation and data presentation.DateFilter: Text value containing the current date filter applied for period-specific drill-down operations, allowing extensions to implement date-aware detail page navigation and filtering.VersionFilter: Integer value containing the current version filter for version-specific drill-down operations, enabling extensions to implement version-aware detail navigation for job account schedule data.KVSFCYJobAccScheduleLine: Job Account Schedule Line record containing the row configuration and totaling settings for the drill-down source, providing context for detail page navigation and filtering.KVSFCYJobAccSchedColLayout: Job Account Schedule Column Layout record containing the column configuration including entry type and amount type that define the drill-down target and detail page context.
OnCreateTempLayoutFromChartOfJobAcc(Record KVSFCYJobAccSchedColLayout, Integer) :#
Summary: Integration event that is raised during the creation of temporary job account schedule column layout from the chart of job accounts, providing an extension point for adding custom column layout lines or modifying the default layout structure to include additional columns for specialized reporting scenarios.
[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;
Parameters:
TempKVSFCYJobAccSchedColLayout: Temporary Job Account Schedule Column Layout record (passed by reference) that contains the generated layout lines and can be modified by extensions to add custom columns or adjust layout configuration.LineNo: Integer variable (passed by reference) containing the current line number counter for layout line creation, which should be incremented by extensions when adding new layout lines to maintain proper line numbering sequence.
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 DateKVSFCYJobAccScheduleLine: Current Job Account Schedule LineKVSFCYJobAccSchedColLayout: Current Job Account Schedule Column LayoutDrillDown: True if drill down is requestedJobLedgerEntry: 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 DateKVSFCYJobAccScheduleLine: Current Job Account Schedule LineKVSFCYJobAccSchedColLayout: Current Job Account Schedule Column LayoutDrillDown: True if drill down is requestedJobPlanningLine: Job Planning Line record to be filtered by var