Tip |
---|
Sample use case where a client books an appointment for a treatment for an hour.
|
Setting it up Parent Child Reservations starts with creating a reservation blueprint, this basically determines what the actual parent and child reservation combination consists of and creates the possible combinations for the API to consider.
...
First go to reservation types
Go to Reservation Blueprints
Create new blueprint called Treatment appointment to create the parent
Give it a duration of 60 minutes
Go to related, fields to set
Add reservation type: Treatment
Create a new child blueprint called Intake
Give it a duration of 15 minutes
Give it a order, this determines the sequence in which the reservations take place
Go to related, fields to set
Add reservation type: Intake
Add fields to be set: Reservation Type
Add fields to set: Resource in parent resource
Create a new child blueprint called Medical treatment
Give it a duration of 30 minutes
Add reservation type: Treatment
Add fields to be filled: Staff available in Parent Resource
Filter the Staff by adding a rule to it. B25__Staff__c = ‘Doctor’
Add fields to be filled: Resource in parent resource
Filter the Resource adding a rule to it. B25__Resource__c = ‘Doctor’
Create a new child blueprint
Give it a duration of 15 minutes
Go to related, fields to set
Add reservation type: Recovery
Add fields to be filled: Resource in parent resource
...