Client scripts installed with Facilities Move Management

Client scripts define custom behaviors that run when events occur like when a form is loaded or submitted, or a cell changes value.

Facilities Move Management adds the following client scripts.
Client script Table Description
Remove bad date Move Request

[move_request]

Remove default date
Autopopulate from_location Move Request

[move_request]

Auto-populate the from_location based on the selected User to be moved.
Autopopulate From on embedded list Enterprise Move Detail

[move_detail]

Populate from location when a user is added
State is read only Move Request

[move_request]

Set state to read only when state is Draft or Submitted
Warn to_location not a Facility Space Enterprise Move Detail

[move_detail]

Warn the user that the to location is not a facility space (fm_space)
Asset update Enterprise Move Detail

[move_detail]

Update assets for the user in a move
Close Complete Check Enterprise Move Request

[enterprise_move_request]

Check that all tasks are closed complete before setting request state
Autopopulate from location Enterprise Move Detail

[move_detail]

Populate from location when a user is added
hide submit Move Request

[move_request]

Hide submit button when needed
Lock down form when request approved Enterprise Move Detail

[move_detail]

Prevent changes to the request after tasks are created
Info message Move Request

[move_request]

Add an info message when state is Ready
Remove extra buttons on Workbench Enterprise Move Scenario

[enterprise_move_scenario]

Remove the extra buttons (various icons, and so on) while in a modal
Warn from_location not a Facility Space Enterprise Move Detail

[move_detail]

Warn the user when the selected from location is a cmn_location and not a facility space (fm_space)
Warn from_location not a Facility Space Move Request

[move_request]

Warn the user when the selected from location is a cmn_location and not a facility space (fm_space)
Remove bad date2 Move Request

[move_request]

Remove default date
Set Building and Floor Enterprise Move Detail

[move_detail]

Automatically sets the destination building and floor when the to location is selected
Warn to_location not a Facility Space Move Request

[move_request]

Warn the user that the selected from location is a (cmn_location)