KVSPSACreate Res. Capacity
Procedures
SetDeleteMode() :
Summary: This procedure sets value of GlobalDeleteMode.
procedure SetDeleteMode():
Events
KVSPSAOnAfterCalculateCapacity(Record Resource, Decimal, Date) :
Summary: Integration event raised after calculating capacity.
[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterCalculateCapacity(var Resource: Record "Resource"; Capacity: Decimal; LoopDate: Date):
Parameters:
Resource: The resource recordCapacity: The calculated capacityLoopDate: The loop date
KVSPSAOnBeforeShowResultMessage(Boolean, Integer, Boolean) :
Summary: Integration event raised before showing result message.
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeShowResultMessage(AutomaticMode: Boolean; ChangedDaysCounter: Integer; var IsHandled: Boolean):
Parameters:
AutomaticMode: Indicates whether in automatic modeChangedDaysCounter: The number of changed daysIsHandled: Set to true if the event handler has handled the operation
KVSPSAOnBeforeUpdateResCapacity(Code[10], Code[10], Date, Date, Record Work-Hour Template, Boolean, Code[20], Record Resource, Boolean, Date, Date) :
Summary: Integration event raised before updating resource capacity.
[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; var ResourceSpecificStartingDate: Date; var ResourceSpecificEndingDate: Date):
Parameters:
WorkHourTemplateCode: The work hour template codeBaseCalendar: The base calendar codeStartingDate: The starting dateEndingDate: The ending dateWorkHourTemplate: The work hour template recordAutomaticMode: Indicates whether in automatic modeResNoAutoMode: The resource number in automatic modeResource: The resource recordIgnoreWorkTemplate: Indicates whether to ignore work templateResourceSpecificStartingDate: Differing Starting Date (got from employee)ResourceSpecificEndingDate: Differing ending date (got from employee)