Customizing Operator Advisor > Linking a Job Order to Equipment
Linking a Job Order to Equipment
A job order is linked to a resource (processing resource or processing resource class) using a job order processing resource requirement. "Equipment" in this discussion means any Thing defined in ThingWorx, for example an asset or manufacturing line.
* 
All services mentioned in this section are executed from the default production order manager Thing (PTC.SCA.SCO.DefaultProductionOrderManager).
1. Create a job order.
Job orders are created using the CreateJobOrders service. The input table for this service is based on the PTC.SCA.SCO.JobOrder Data Shape.
2. Create a resource.
Resources (processing resource or processing resource class) are created using the CreateProcessingResources or CreateProcessingResourceClasses services. The input tables for these services are based on the PTC.SCA.SCO.ProcessingResource and PTC.SCA.SCO.ProcessingResourceClass Data Shapes, respectively. Resources can also be retrieved from a Windchill system or other manufacturing system.
If the Thing to be represented by the resource already exists in ThingWorx, enter the Thing name in the Thing field on the input table.
3. Create a job order processing resource requirement.
A job order processing resource requirement is used to link a job order with a resource. A job order can be linked to multiple resources.
Create a job order processing resource requirement using the CreateJobOrderProcessingResourceRequirements service. The input table for this service is based on the PTC.SCA.SCO.JobOrderProcessingResourceRequirement Data Shape. Provide the UID of the job order as the JobOrderUID, and the UID of the resource as the ProcessingResourceUID or ProcessingResourceClassUID as appropriate. The job order and resource UIDs must already be present in the Operator Advisor database for the job order processing resource requirement to be created.
4. Create a Thing to represent your equipment.
Equipment in Operator Advisor can be represented as a Thing in ThingWorx, created in ThingWorx Composer. Things provide support for data binding from connected machines and tools, as well as recording real-time live data. At a minimum, a name and a Thing Template must be provided for a Thing to be created. We recommend that you use ThingWorx Apps to create your Things, using the provided Thing Templates or any custom equipment type Thing Templates you have created for use with Asset Advisor. For more information see Creating Custom Equipment Types and Structures.
5. Relate the resource with the Thing.
If a resource (processing resource or processing resource class) is created without a reference to a related Thing, use the UpdateProcessingResources or UpdateProcessingResourceClasses services to relate the resource to the Thing. For the UID field, provide the UID of the resource. For the Thing field, provide the name of the Thing. The input tables for these services are based on the PTC.SCA.SCO.ProcessingResource and PTC.SCA.SCO.ProcessingResourceClass Data Shapes respectively.
Was this helpful?