Skip to content

KVSPSADimensionManagement#

Procedures#

AddTableToDimTableArray(Integer, Code[20], Integer, Code[20]) : Integer#

Obsolete

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

[Obsolete('Replaced by new dimension logic.', '20.5')]
procedure AddTableToDimTableArray(var TableIDArray: Integer; var NoArray: Code[20]; TableID: Integer; No: Code[20]): Integer

CopyDimSetIDtoDefaultDim(Integer, Integer, Code[20]) :#

Summary: Copy Dimension Set ID to Default Dimension

procedure CopyDimSetIDtoDefaultDim(SourceDimensionSetID: Integer; TargetTableNo: Integer; TargetNo: Code[20]): 

DeleteSavedDimensions(RecordId) :#

procedure DeleteSavedDimensions(SourceRecordID: RecordId): 

HandleJobPlanDimensions(RecordId, List, Code[20], Code[20], Code[20], Code[20], Code[20], Integer) :#

procedure HandleJobPlanDimensions(SourceRecRecordID: RecordId; var DefaultDimSource: List; JobNo: Code[20]; WorkPackageCode: Code[20]; PhaseCode: Code[20]; TaskCode: Code[20]; StepCode: Code[20]; BudgetLineNo: Integer): 

MergeDimensionIDSetInExistingSet(Integer, Integer, Boolean) : Integer#

procedure MergeDimensionIDSetInExistingSet(OldDimensionSetID: Integer; NewDimensionSetID: Integer; Addonly: Boolean): Integer

UpdateDimensionInExistingSet(Integer, Code[20], Code[20], Boolean, Option) : Integer#

procedure UpdateDimensionInExistingSet(OldDimensionSetID: Integer; NewDimensionCode: Code[20]; NewDimensionValueCode: Code[20]; FromDelete: Boolean; Type: Option): Integer

Events#

KVSPSAOnAfterHandleJobPlanDimensions(RecordId, List, Code[20], Code[20], Code[20], Code[20], Code[20], Integer) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterHandleJobPlanDimensions(SourceRecRecordID: RecordId; var DefaultDimSource: List; JobNo: Code[20]; WorkPackageCode: Code[20]; PhaseCode: Code[20]; TaskCode: Code[20]; StepCode: Code[20]; BudgetLineNo: Integer): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSADimensionManagement", 'KVSPSAOnAfterHandleJobPlanDimensions', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterHandleJobPlanDimensions(SourceRecRecordID: RecordId; var DefaultDimSource: List; JobNo: Code[20]; WorkPackageCode: Code[20]; PhaseCode: Code[20]; TaskCode: Code[20]; StepCode: Code[20]; BudgetLineNo: Integer)
begin
end;

KVSPSAOnBeforeJobPSPLineFindSetInHandleJobPlanDimensions(RecordId, Record KVSPSAJobPSPLine) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeJobPSPLineFindSetInHandleJobPlanDimensions(SourceRecRecordID: RecordId; var JobPSPLine: Record "KVSPSAJobPSPLine"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSADimensionManagement", 'KVSPSAOnBeforeJobPSPLineFindSetInHandleJobPlanDimensions', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeJobPSPLineFindSetInHandleJobPlanDimensions(SourceRecRecordID: RecordId; var JobPSPLine: Record "KVSPSAJobPSPLine")
begin
end;

KVSPSAOnBeforeUpdateJobDefaultDimension(List, Record Job) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeUpdateJobDefaultDimension(var DefaultDimSource: List; var Job: Record "Job"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSADimensionManagement", 'KVSPSAOnBeforeUpdateJobDefaultDimension', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeUpdateJobDefaultDimension(var DefaultDimSource: List; var Job: Record "Job")
begin
end;