Facility trigger handler/TDTM
If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.
|Custom Permission||REDU - Admin
|Related RIO Education Settings||None
When a new Facility is inserted or when an existing Facility is updated, this class checks if it has a related Resource of Resource Type Location. If it does, then this class updates the Resource Name and Active fields to match the Facility Name and Active fields on the Facility.
If there is no existing Location Resource, then this class will create one, link it to the triggering Facility record using the Facility field, and set the Resource Name and Active fields to match the corresponding Facility fields.
To create/update Resource record that linked to Facility.