Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Business rules installed with Facilities Service Management

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 Service Management adds the following business rules.

Business ruleTableDescription
Building UtilizationBuilding\[alm\_building\]Ensures that utilization thresholds are set to numbers from 0 through 100.
Update User Primary LocationAssociated User\[fm\_m2m\_user\_to\_space\]Updates the sys user records location to the current primary location for the user in the fm\_m2m\_user\_to\_space table.
Reference AreaFacility Space\[fm\_space\]Calculates the area in common units for the space.
Prevent ancestry loopFacility Space\[fm\_space\]Prevents circular space definitions where a space is both a parent and child at the same time.
RollupFacility Space\[fm\_space\]Rolls up the space information to level as info is changed on the space.
RollupLevel\[fm\_level\]Rolls up level information to the building.
Floor UtilizationLevel\[fm\_level\]Ensures that utilization thresholds are set to numbers from 0 through 100.
RollupAssociated User\[fm\_m2m\_user\_to\_space\]Updates the space utilization on a space as users are added and removed from spaces.
Reference areaCampus\[fm\_campus\]Calculates the area in common units for the space.
update space display nameBuilding\[alm\_building\]Generates the full display name for the space.
Max OccupancyBuilding\[alm\_building\]Max occupancy cannot be less than 0.
RollupBuilding\[alm\_building\]Rolls up building data to the campus.
Request AutocloseFacilities Request\[facilities\_request\]Automatically closes requests that are resolved and have not been updated in the 1 day. This number is a property in System Properties.
Facilities Primary Location ChangeUser\[sys\_user\]Updates the fm\_m2m\_user\_to\_space table when the location on the sys\_user records changes.
Max OccupancyFacility Space\[fm\_space\]Max occupancy cannot be less than 0.
Prevent duplicatesFacility Zone \[fm\_zone\]Do not allow the same space to be added to a single zone more than once.
Prevent duplicatesAssociated User\[fm\_m2m\_user\_to\_space\]Do not allow the same user to be added to the same space more than once.
Prevent multiple main level for buildingLevel\[fm\_level\]Do not allow there to be more than one main level set for levels in a building.
Update primary locationAssociated User\[fm\_m2m\_user\_to\_space\]Helps keep the sys user and fm\_m2m\_users\_to\_space tables in synchronization when primary location changes.
Facilities area unit option changedFacility Space\[fm\_space\]Converts\` square feet to square meters
update space display nameLevel\[fm\_level\]Updates display name as building and level name changes
Reference AreaFacility Space\[fm\_space\]Calculates the area in common units for the spaces.
Max OccupancyFacility Space\[fm\_space\]Max occupancy cannot be less than 0.
Reference AreaFacility Space\[fm\_space\]Calculates the area in common units for the space.
Space - generate full nameFacility Space\[fm\_space\]Generates the full display name for the space.

Parent Topic:Installed with Facilities Service Management