Appointment
The Appointment object in Maica is used to manage the details of Appointment records in Maica Client Care, such as Start Date/End Date/Resource(s) etc
Fields & Relationships
The table below provides a comprehensive overview of all fields and relationships for the Appointment object in Maica. Please refer to the table below for detailed information.
Click here to view and download the complete Appointment Schema.
Validation Rules
The list below outlines the Validation Rules applied to the Appointment Object in Maica.
Please refer to the list below for more detailed information on each Validation Rule.
End Time Cannot Be Before Start Time
Ensures that the End Time cannot be set prior to the Start Time.
Rule Name
VAL_APPOINTMENT_0001
Error Message
VAL_0001: The End Time cannot be prior to the Start Time.
Error Location
Top of Page
maica_cc__Scheduled_Start__c > maica_cc__Scheduled_End__c
Check out Date/Time Must Be After Check in Date/Time
The checkout date/time must be greater than the checkin date/time.
Rule Name
VAL_APPOINTMENT_0002
Error Message
VAL_0002: The checkout date/time must be greater than the checkin date/time.
Error Location
Top of Page
maica_cc__Check_out__c < maica_cc__Check_in__c
Cancellation Date Required When Cancellation Reason is Set
If the cancellation reason is set, then a cancellation date must be supplied.
Rule Name
VAL_APPOINTMENT_0003
Error Message
VAL_0003: A Cancellation Date must be entered if a Cancellation Reason is selected.
Error Location
Top of Page
AND(
ISBLANK(TEXT(maica_cc__Cancellation_Date__c)),
NOT(ISBLANK(TEXT(maica_cc__Cancellation_Reason__c)))
)
Automation
Flows
The list below outlines the Flows applied to the Appointment Object in Maica.
Please refer to the list below for more detailed information on each Flow.
Appointment Geocoding
This flow is designed to geocode the address of an appointment upon creation or update of the appointment record.
Flow Label
Maica - Appointment Geocoding
API Name
maica__Maica_Appointment_Geocoding
Type
Autolaunched Flow
Flow Summary
This flow geocodes the address of an appointment and updates the appointment record with the latitude and longitude by:
Triggering on the creation or update of an appointment record.
Geocoding the address fields using an Apex action.
Checking for errors in the geocoding process.
Updating the appointment record with the geocoded latitude and longitude if no errors occur.
Trigger Handlers
The table below outlines the Trigger Handlers applied to the Appointment Object in Maica and their Load Order
.
Please refer to the list below for more detailed information on each Trigger Handler.
Appointment Time Sheet
This trigger is designed to manage the timesheets for appointments in Maica. The outcome is accurate and reliable timesheet data for all appointments, ensuring proper time management and reporting.
Load Order
1
Label
AppointmentTimeSheet_MDTM
Appointment Status
This trigger is designed to manage the status updates for appointments in Maica. The outcome is accurate and reliable status tracking for all appointments, ensuring proper management and communication.
Load Order
1
Label
AppointmentStatus_MDTM
Appointment Rollup Participants
This trigger is designed to manage the rollup of participants for appointments in Maica.
Load Order
2
Label
AppointmentRollupParticipants_MDTM
Appointment Geocoding
This trigger is designed to manage the geocoding of appointments in Maica, maintaining accurate geographical data.
Load Order
4
Label
AppointmentGeocode_MDTM
Appointment Delivery Activities
This trigger is designed to manage the delivery activities for appointments in Maica.
Load Order
5
Label
AppointmentDeliveryActivities_MDTM
Last updated
Was this helpful?