Skip to content

KVSPSACreate Res. Capacity#

Procedures#

SetDeleteMode() :#

procedure SetDeleteMode(): 

Events#

KVSPSAOnAfterCalculateCapacity(Record Resource, Decimal, Date) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterCalculateCapacity(var Resource: Record "Resource"; Capacity: Decimal; LoopDate: Date): 
[EventSubscriber(ObjectType::Report, Report::"KVSPSACreate Res. Capacity", 'KVSPSAOnAfterCalculateCapacity', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterCalculateCapacity(var Resource: Record "Resource"; Capacity: Decimal; LoopDate: Date)
begin
end;

KVSPSAOnBeforeShowResultMessage(Boolean, Integer, Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeShowResultMessage(AutomaticMode: Boolean; ChangedDaysCounter: Integer; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Report, Report::"KVSPSACreate Res. Capacity", 'KVSPSAOnBeforeShowResultMessage', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeShowResultMessage(AutomaticMode: Boolean; ChangedDaysCounter: Integer; var IsHandled: Boolean)
begin
end;

KVSPSAOnBeforeUpdateResCap(Code[10], Code[10], Date, Date, Record Work-Hour Template, Boolean, Code[20], Record Resource) :#

Obsolete

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

[Obsolete('This event is obsolete. Use "KVSPSAOnBeforeUpdateResCapacity" instead.', '23.0')]
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeUpdateResCap(var WorkHourTemplateCode: Code[10]; var BaseCalendar: Code[10]; var StartingDate: Date; var EndingDate: Date; var WorkHourTemplate: Record "Work-Hour Template"; var AutomaticMode: Boolean; var ResNoAutoMode: Code[20]; var Resource: Record "Resource"): 
[EventSubscriber(ObjectType::Report, Report::"KVSPSACreate Res. Capacity", 'KVSPSAOnBeforeUpdateResCap', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeUpdateResCap(var WorkHourTemplateCode: Code[10]; var BaseCalendar: Code[10]; var StartingDate: Date; var EndingDate: Date; var WorkHourTemplate: Record "Work-Hour Template"; var AutomaticMode: Boolean; var ResNoAutoMode: Code[20]; var Resource: Record "Resource")
begin
end;

KVSPSAOnBeforeUpdateResCapacity(Code[10], Code[10], Date, Date, Record Work-Hour Template, Boolean, Code[20], Record Resource, Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeUpdateResCapacity(var WorkHourTemplateCode: Code[10]; var BaseCalendar: Code[10]; var StartingDate: Date; var EndingDate: Date; var WorkHourTemplate: Record "Work-Hour Template"; var AutomaticMode: Boolean; var ResNoAutoMode: Code[20]; var Resource: Record "Resource"; var IgnoreWorkTemplate: Boolean): 
[EventSubscriber(ObjectType::Report, Report::"KVSPSACreate Res. Capacity", 'KVSPSAOnBeforeUpdateResCapacity', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeUpdateResCapacity(var WorkHourTemplateCode: Code[10]; var BaseCalendar: Code[10]; var StartingDate: Date; var EndingDate: Date; var WorkHourTemplate: Record "Work-Hour Template"; var AutomaticMode: Boolean; var ResNoAutoMode: Code[20]; var Resource: Record "Resource"; var IgnoreWorkTemplate: Boolean)
begin
end;