Skip to content
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.

6. Pretty Pictures

Ben Wong edited this page Nov 29, 2018 · 1 revision

Rendering a work order page is quite involved, we make an initial call to the API to fetch some basic information and then AJAX more complete information (eg: appointment details) and the content for the tabs.

In the API, we access 3 databases, the data warehouse, the universal housing (UH) database and the DRS database (for appointment details).

To track work orders that are related to others we use a feed system to pull any new work orders or notes every 5 minutes. We then:

  • store any work order references or note ids we receive
  • scan the text for any 8 digit work order references
  • create a citation link between any related work orders