Adding an Item to a Job Order
The ADD ITEM window is launched when Link icon is clicked from the job order general information page. Allows user to select the material from the list of available materials to link to a job order. A duplicate of the original material is created each time a material is linked to a job order. This ensures that each job order has a unique material instance linked to it.
Add Item window.
Mashups and Widgets
The PTC.Factory.Demo.MaterialDefinitionPickerMashup mashup defines the ADD ITEM window. This mashup uses the following widgets:
A Label widget, which displays the name of the window.
A Data Filter widget, which filters the list based on the selected values.
A Grid Advanced widget, which lists all of the material definitions in the database.
Button widgets for the Add and Cancel buttons.
Outputs
When the Add button is clicked, the UID of the selected material is passed to the GetJobOrderMaterialItemName service on the PTC.Factory.Demo.JobOrderGeneralInfoMashup mashup.
Services
The mashup uses the following service from the PTC.Factory.Demo.MaterialDefinitionUtils Thing:
GetMaterialDefinitions—Retrieves the list of materials in the database.
Was this helpful?