When creating a Sandbox (this goes for all Sandboxes, except Full Sandbox) from a Production environment that has Booker25 installed, it is likely that Booker25 will not function correctly on this Sandbox. This is due to the fact that Booker25 uses Salesforce records to store its configuration and Resource (Type) tree, which do not get copied when creating a Sandbox other than Full Sandbox. When this happens you can use two Global Booker25 methods to first remove all Booker25 records that may have been created on the Sandbox (in case of Partial Sandbox for example) and then perform the setup that runs when Booker25 is first installed.
Considerations
This process will delete all records of Booker25 objects! Only perform this operation if you don't have any data in Booker25 objects that you want to preserve.
The list of object that will be deleted:
B25__Reservation__c
B25__ReservationContact__c
B25__Service_Reservation__c
B25__Recurring_Reservation__c
B25__Service_Type__c
B25__Service__c
B25__Service_Availability__c
B25__Reservation_Color__c
B25__Reservation_Type__c
B25__Dimension_Junction_display_Setting__c
B25__Calendar__c
B25__Calendar_View__c
B25__Reservation_Type__c
B25__Filterable_Field__c
B25__User_Setting__c
B25__View__c
B25__Time_Header__c
B25__Dimension__c
B25__Dimension_Field__c
B25__Dimension_junction__c
B25__Reservation_Display_Context__c
B25__Hover_Field__c
B25__Related_List_Field__c
B25__Related_List__c
B25__Reservation_Display__c
B25__Reservation_Title__c
B25__Reservation_Title_Group__c
B25__Availability__c
B25__Group_Membership__c
B25__Group__c
B25__Staff__c
B25__Resource_Grouping__c
B25__Timeframe__c
B25__Resource__c
B25__ResourceLayouts__c
B25__Resource_Type__c
B25__Abr_Queue_Item__c
B25__FieldAssignment__c
B25__AutomatedBookingRule__c
B25__ABRLocations__c
B25__Reservation_Status__c
B25__Custom_Buttons__c
B25__System_Setting__c
B25__Booker25_Settings__c
Any custom objects that you have created and are details of any of the above objects.
Steps to perform
Create a Booker25 System Setting with the name 'removeAllBooker25Data' and string value 'Yes i want to remove all booker25 data'
Call the global method B25.Util_SandboxSetup.removeAllBooker25Data()
Call the global method B25.Util_PostInstall.doFreshInstall()