Unavailability
This object in Maica is used to define specific dates or periods where the Resource is unavailable, i.e. when they are not able to work.
Fields & Relationships
The table below provides a comprehensive overview of all fields and relationships for the Unavailability object in Maica. Please refer to the table below for detailed information.
Click here to view and download the complete Support Category Schema.
Validation Rules
The list below outlines the Validation Rules applied to the Unavailability Object in Maica.
Please refer to the list below for more detailed information on each Validation Rule.
Unavailable To
Date Cannot Be Before Unavailable From
Date
Unavailable To
Date Cannot Be Before Unavailable From
DateEnsures that the Unavailable To date cannot be before the Unavailable From date.
Rule Name
VAL_UNAVAILABILITY_0001
Error Message
VAL_0001: The Unavailable To date cannot be before the Unavailable From date
Error Location
Unavailable To
AND(
NOT(ISBLANK(maica_cc__Unavailable_From__c)),
NOT(ISBLANK(maica_cc__Unavailable_To__c)),
maica_cc__Unavailable_From__c > maica_cc__Unavailable_To__c
)
Unavailable To
/ Unavailable From
Cannot Be Changed if Status is Approved
Unavailable To
/ Unavailable From
Cannot Be Changed if Status is ApprovedPrevents editing the date fields once the Unavailability record has been marked as Approved.
Rule Name
VAL_UNAVAILABILITY_0003
Error Message
VAL_0003: Unavailable From and Unavailable To cannot be changed when the Status is Approved.
AND(
ISPICKVAL(maica_cc__Status__c, 'Approved'),
OR(
ISCHANGED(maica_cc__Unavailable_From__c),
ISCHANGED(maica_cc__Unavailable_To__c)
)
)
Status
Cannot Be Changed Once Approved
Status
Cannot Be Changed Once ApprovedPrevents users from changing the Status value once it has been set to Approved.
Rule Name
VAL_UNAVAILABILITY_0004
Error Message
VAL_0004: Status cannot be changed once it has been set to Approved.
AND(
ISPICKVAL(PRIORVALUE(maica_cc__Status__c), 'Approved'),
NOT(ISPICKVAL(maica_cc__Status__c, 'Approved'))
)
Automation
Trigger Handlers
The list below outlines the Trigger Handlers applied to the Support Item Object in Maica.
Please refer to the list below for more detailed information on each Trigger Handler.
Unavailability Status
This trigger is designed to manage the status of unavailability records in Maica.
Load Order
1
Label
UnavailabilityStatus_MDTM
Unavailability Appointments
This trigger is designed to manage the appointments related to unavailability records in Maica.
Load Order
2
Label
UnavailabilityAppointments_MDTM
Last updated
Was this helpful?