Detail Page for Job Orders
The detail page displays information about the job order that was selected for viewing from the Job Orders page, or that was just created.
Job order detail page.
Mashups and Widgets
The PTC.Factory.Demo.JobOrderDetailMashup mashup defines the detail page for a job order. This mashup in turn calls the following mashups for the individual selectable tabs:
The General Information tab, which displays the general information mashup for job orders.
The Work Definitions tab, which displays the work definitions mashup for job orders.
The PTC.Factory.Demo.JobOrderDetailMashup mashup uses the following widgets:
A Contained Mashup widget, which calls the breadcrumb navigation mashup.
A Label widget, which displays the identifying information for the job order. The identifying information is made up of the type plus the ID for the job order. For example, JOB ORDER - JO000001.
A Tabs widget, which defines the tabs in the display pane and calls the appropriate mashup for the selected tab. The job detail page contains two tabs: General Information and Work Definitions.
Multiple Contained Mashup widgets, which display the mashup associated with the selected tab.
The PTC.Factory.Demo.ManufacturingPlanningMaster mashup is specified as the Master property on the mashup. It supplies the banner at the top of the page and the navigation panes on the left.
Inputs
The input parameters for the PTC.Factory.Demo.JobOrderDetailMashup mashup are:
jobOrderUID—The UID of the job order that was selected for editing from the Job Orders table, or that was just created.
jobOrderID—The ID value for the job order.
Outputs
The UID of the job order being viewed is passed to the mashup displayed in the Contained Mashup widget for the selected tab.
Services
The mashup uses the following services from the PTC.Factory.Demo.JobOrderUtils Thing:
GetJobOrderTitleLabel—Retrieves the ID value from the information returned by the GetJobOrderView service. This value is used in the Label widget at the top of the page.
GetJobOrderView—Retrieves the information for the job order that was either selected from the Job Orders table, that was just created, or that was just updated.
Was this helpful?