KVSPSACalendarManagement#
Procedures#
CheckCustomizedDateStatus(Enum Calendar Source Type, Code[20], Code[20], Code[10], Date, Text[30]) : Boolean#
procedure CheckCustomizedDateStatus(SourceType: Enum "Calendar Source Type"; SourceCode: Code[20]; AdditionalSourceCode: Code[20]; CalendarCode: Code[10]; TargetDate: Date; var Description: Text[30]): Boolean
CheckDateStatus(Code[10], Date, Text[30]) : Boolean#
Summary: Check if a date is non-working in the base calendar. This function checks if a given date is non-working in the base calendar specified by the CalendarCode. If the date is found to be non-working, it returns true and provides a description of the non-working event. If the date is working, it returns false and an empty description.
procedure CheckDateStatus(CalendarCode: Code[10]; TargetDate: Date; var Description: Text[30]): Boolean
Parameters:
CalendarCode
: Which Calendar should be usedTargetDate
: The date to check for non-working status.Description
: A text variable to hold the description of the non-working event.
Returns: Returns true if a customized date status exists, otherwise false.
CustomizedChangesExist(Enum Calendar Source Type, Code[20], Code[20], Code[10]) : Boolean#
procedure CustomizedChangesExist(SourceType: Enum "Calendar Source Type"; SourceCode: Code[20]; AdditionalSourceCode: Code[20]; BaseCalendarCode: Code[10]): Boolean