Job Orders Tab
The
Job Orders tab displays all job orders present in the
Operator Advisor database. To create a new job order, click
. To view and edit the details of an existing job order, select that job order in the table and click
.
Mashups and Widgets
The PTC.Factory.Demo.JobOrdersManagementMashup mashup defines the Job Orders tab. This mashup uses the following widgets:
• A Grid Advanced widget, listing all job orders in the database.
• Multiple Button widgets:
◦ For the
Create Job Order action (
).
◦ For the
Edit Job Order (
) action. This button is enabled when a row in the table is selected.
◦ For the Refresh Now button, refreshes the list that is displayed.
• An
Infotable Selector widget. When no row is selected in the table, this widget disables the
Edit Job Order button (
).
• A
Navigation widget which launches the
CREATE JOB ORDER window when
is clicked.
• A Link widget, used to navigate to the detail page for the selected row, when the Edit button is clicked.
• A Data Filter widget which filters the list based on the selected values.
Outputs
When the
Edit Job Order button (
) is clicked, the UID of the job order for the selected row is passed as part of the URL as input to the
job order details page.
Services
The mashup uses the following service from the PTC.Factory.Demo.JobOrderUtils Thing:
• GetJobOrders—Retrieves all job orders in the database.