Business rules installed with Facilities Visualization Workbench
A business rule is a server-side script that runs when a record is displayed, inserted, updated, deleted, or when a table is queried.
Facilities visualization workbench adds the following business
rules.
| Business rule | Table | Description |
|---|---|---|
| Update default campus | Campus [fm_campus] |
Ensures one default campus |
| Prevent duplicates | Facility Map Option [fm_map_option] |
Prevents duplicate map options |
| Max search results per campus < 50 | System Property [sys_properties] |
Limits the maximum search results to less than 50 |
| Max spaces per zone < 1000 | System Property [sys_properties] |
Limits the number of spaces per zone to 1000 |
| Build Scratchpad | Facilities Map Filter [fm_map_filter] |
Provides a list of tables that are extended from fm_spaces. Used by the Hide field for space tables client script. |
| Prevent duplicates | Facility Map Color [fm_map_color] |
Prevents duplicate map colors |
| Prevent duplicates | Facility Map Task Option [fm_map_task] |
Prevents duplicate map task options |
| Facility map highlight color validation | System Property [sys_properties] |
Validates the highlight colors on the floor plan map |
| Facility map color validation | Facility Map Color [fm_map_color] |
Validates the colors on the floor plan map |
| Max facilities/move search results< 5000 | System Property [sys_properties] |
Limits the maximum facilities move search results to less than 5000 |
| Prevent duplicate | Facility Feature [fm_facility_feature] |
Prevents duplicate facility features |
| Create spaces requires default class | Facility Feature [fm_facility_feature] |
Prevents empty class by default on a space |
| Facility map outline color validation | System Property [sys_properties] |
Validates the outline colors on the floor plan map |
| Max requests per level should be < 5000 | System Property [sys_properties] |
Limits the number of requests per level to 5000 |
| Prevent duplicate | Facility Icon [fm_icon] |
Prevents duplicate facility icons |
| Max search results for other campuses | System Property [sys_properties] |
Limits the maximum search results for other campuses |
| Max search results per level < 50 | System Property [sys_properties] |
Limits the maximum search results per level to less than 50 |