@theredspace/spp-client
    Preparing search index...

    Interface ScheduleException

    A ScheduleException represents a date or date range when a user is unavailable (e.g., vacation, holiday). Supports Add, Read, Modify, Upsert, Delete.

    interface ScheduleException {
        created?: string;
        enddate: string;
        exception_type?: "R";
        id?: string;
        name: string;
        schedule_request_itemid?: number;
        startdate: string;
        timetypeid?: number;
        updated?: string;
        userid?: number;
        workhours?: number;
        workscheduleid?: number;
    }
    Index

    Properties

    created?: string
    enddate: string
    exception_type?: "R"
    id?: string
    name: string
    schedule_request_itemid?: number
    startdate: string
    timetypeid?: number
    updated?: string
    userid?: number
    workhours?: number
    workscheduleid?: number

    Usage and Relationships

    The ScheduleException represents a date or date range when a user is unavailable (e.g., vacation, holiday). It is often linked to a ScheduleRequest_item.

    Important: When deleting related records, ensure that child records are deleted before parent records. For example:

    1. Delete ScheduleException first.
    2. Delete ScheduleRequest_item second.
    3. Delete ScheduleRequest last.

    Related Types:

    Key Fields:

    • userid: Identifies the user associated with the exception.
    • schedule_request_itemid: Links to the related ScheduleRequest_item.