Scripts
File | Script Name | Details |
---|---|---|
Products | WebUILogin | Used to log in to the portal - validates username and password entered and passes back an access key - used for retrieving data (S: WebUIData) |
Products | WebUIData | Uses the previously given Access Key collects and returns data to portal for display |
Products | WebUIJobUpdate | Retrieves a single job's worth of data to update in the portal |
Products | ResetPassword | Reset the user password from the portal |
Products | Subcontractor Portal Log | creates a log for events in the portal - login, data retrieval etc |
Vehicle Run Profitability | Create Subcontractor Invoices | Generates RCTI's for a specific time period - button on the RCTI Interface |
Vehicle Run Profitability | Subcontractor Employee Use Invoice | Generates EUIs for a specified time period - button on the EUI interface |
Vehicle Run Profitability | Print PDF | Called during the create invoice script - converts the RCTI into a PDF and stores in $FMInvoiceCache |
Vehicle Run Profitability | Go To Related Contractor Week Invoice | Open a specified RCTI from the RCTI interface |
Vehicle Run Profitability | Go To Related Contractor Employee Use Week Invoice | Open a specified EUI from the EUI interface |
Vehicle Run Profitability | SubcontractorWeekJSONData | Called through WebUIData to grab the RCTI information for the portal |
Vehicle Run Profitability | SubcontractorEmpUseWeekJSONData | Called through WebUIData to grab the EUI information for the portal |
Vehicle Run Profitability | RCTI csv Export | Netsuite csv Export of the RCTI's for the week - button on the RCTI Interface |
Vehicle Run Profitability | EUI csv Export | Netsuite csv Export of the Employee Use invoices for the week - button on the EUI Interface |
Vehicle Run Profitability | Contractor Menu | Opens the Contractor Menu |
Vehicle Run Profitability | RCTI Interface | Opens the RCTI Interface |
Vehicle Run Profitability | Employee Use Invoice Interface | Opens the EUI Interface |
Contracts | New Contractor Invoice (JSON) | Accepts JSON input to create a new invoice line (Flags the invoice as manual) |
Contracts | Clean Up Contractor Invoice | Nightly scheduled script to remove "invoice" lines created for a job that was removed from a contractor. now on emp truck |
Contracts | SubcontractorConfirmInvoice | Called from the portal - marks the "Subcontractor Confirmed" Field. |
Actions | NewSubcontractorQueryAction | Called from the Portal to create a new Query action, calls SQ_Update to provide up to date information back to the portal |
Actions | CancelSubcontractorQueryAction | Called from the portal - cancels the query action. |
Actions | CompleteSubcontractorQueryAction | Called from "Assign based on Level" if the action is complete, then it will call Contracts-New Contractor Invoice (JSON) to create a new invoice line. |
Actions | SQ_UpdateJob | Called from NewSubcontractorQueryAction, this script calls Products-WebUIJobUDate to provide up to date job info |
Screens
Products | Subcontractor | Default Subcontractor (ID: 0) - This is the pricing management screen, each record is stored in a record of the Subcontractor_Pricing table and accessed through the portal |
Products | Subcontractor | Actual Subcontractors (ID ≠ 0) - Individual Contractor Management |
Products | Invoice Review | Current Screen built for testing and verifying subcontractor invoices. (Will be obsolete when RCTI implementation. |
Vehicle Run Profitability | Contractor Menu | Primary Access screen, Links to all other UI Screens |
Vehicle Run Profitability | RCTI Interface | Weekly filter and view of the RCTI's, allowing the ability to exclude an invoice from the export |
Vehicle Run Profitability | Employee Invoice Interface | Weekly filter and view of the EUI's, allowing the ability to exclude an invoice from the export |
Portal
HTML web page stored in \\bsserver\scheduler_wwwroot\Reports\Contractor
web side link: https://contractor.buildsafe.net.au/
The Portal Consists of 4 pages;
- Login
- Index
- RCTI
- EUI
Login.html
Page used to verify username and password of the contractor and choose the correct server for data retrieval.
Uses FM Php to access, [Products] WebUILogin script.
The FM Script will pass back a result, either valid, with an access key or invalid with an error.
Index.html
Page used as the main interface of the contractor portal.
Displays job / day data of the contractor, retrieved VIA the WEBUIData script.
Access Key is passed by PHP to the WEBUIData script, if the access key is valid, then the script will pass back a JSON array of data.
Data is then rendered onto the page using Javascript.
RCTI.html
Page is used to view the RCTI's generated via FM and the PDF stored in \\Bsserver\FMInvoiceCache$\Contractor
EUI.html
Page is used to view the EUI's generated via FM and the PDF stored in \\Bsserver\FMInvoiceCache$\Contractor
Relationships