ThingWorx Flow > Connectors Overview > System Connectors > SAP > Get Production Order
  
Get Production Order
A production order defines which material is processed, at which location, and at what time, and how much quantity is required. It also defines which components and sequence of operations to use and how the order costs are settled.
Use this action to get the production order data such as production order header data, operation data, and component data.
The following BAPI has been used for this action:
BAPI_PRODORD_GET_DETAIL
Using the Get Production Order Action
To use this action in your workflow, connect it to ThingWorx Flow. To create a flow, do the following:
1. Drag the Get Production Order action under the SAP connector to the canvas, place the pointer on the action, and then click or double-click the action. The Get Production Order action window opens.
2. Edit the label name, if needed. By default, the label name is same as the action name.
3. To add a connection, refer to the section Adding a SAP Connection in the SAP connector topic.
4. In the Select a Plant field, select an available plant from the list.
5. In the Select a Work Center field, select an available work center.
6. In the Production Order field, enter or select a production order id. If you do not enter or select a production order, all production orders are fetched.
* 
This is an optional step.
7. Click Done.
Output Schema
The Get Production Order action returns a static output schema. See a sample output schema in the figure that follows: