Before You Begin
This 30-minute Oracle by Example (OBE) shows you how to create an orchestration that automatically generates serial numbers for multiple work orders. It shows how to use the Orchestrator Process Recorder to capture the steps you would perform manually in EnterpriseOne forms. The system saves this recording as an Orchestrator form request. You will then include this form request in an orchestration called "WOSLGEN". This Orchestration also shows how to create a data request.
Scenario
In this OBE, consider a scenario in which you manufacture large numbers of serialized items and you want to generate serial numbers for all the items. The manual process can be cumbersome and time-consuming as it requires drilling into each work order and then run the Assign Serial Numbers application to interactively generate them. This Orchestration replaces the manual process allowing for mass generation of work order serial numbers.
What Do You Need?
- Orchestrator Studio 9.2.7 or later deployed in a JD Edwards EnterpriseOne test environment with a minimum of EnterpriseOne Tools 9.2.7.
- Data for items, and branches in the database.
- Access to the Orchestrator Studio and permissions to create orchestration and service request components, which are managed as user defined objects (UDO) in EnterpriseOne.
- Access to the Process Recorder in EnterpriseOne.
- A work order for which serial number needs to created should be created.
Recording
the Process for Creating a Form Request to Generate a Serial
Number for Work Order
- Open a web browser and sign in to EnterpriseOne on the web.
- Navigate to Work With Manufacturing Work Orders (P48013) application from the Fast Path.
- Click the Login(User Id) drop-down menu, from Personalization menu, select Record a Process.
- In the Process Recorder, click Start.
- Enter
1136920
in the Order No field. - Click Find.
- Select the work order displayed.
- Click the Row exit and select Serial Numbers.
- Click the Form exit and select Revisions.
- Click the Form exit and click Lot/SN Generation.
- Click OK.
- In the Process Recorder, click Stop.
- Complete the following fields in the Process Recorder:
- Name =
WOSLGEN
- Description =
Work Order Serial Number Generation.
- Product Code =
55
- Click Save.
- Close Process Recorder.
- Click the login drop-down menu(user id) and click Sign
Out.


Creating
Data Request in Orchestrator Studio
- Sign in to the Orchestrator Studio.
- On the Orchestrator Studio Home Page, Click the Data Requests icon.
- Click the New button.
- Enter
Work Order Data
in the Name field. - Enter
Work Order Data Request
in the Description field . - Enter
F4801
in the Table/View Name field. - Click Load.
- Enter
Doc Order
in the Data Set Variable Name field. - Type
User ID
in the Filter field. - Click filter icon.
- Type
Request Date
in the Filter field. - Click Filter icon.
- Select
Order Number
as Return Value. - Click Return icon to add parameters in the Return
Fields and Variable Names .
Order Number
- Scroll down on the Data Request page to check that the Filter Criteria and Return Fields and Variable Names are added accordingly.
Filter Criteria
Return Fields and Variable Names
- Click Save.
- Close the Data Request form.


Creating
an Orchestration to Generate a Serial Number for Work Order
- On the Orchestrator Studio Home page, click Form Requests icon.
- From the list of Personal Form Requests, select WOSLGEN.
- In the Manage menu, select Create Orchestration,.
- Click Design Mode.
- Click the Add(+) button beside the Start button . New Step Type form is displayed.
- From the the New Step Type select Data request .
- From the list of Personal Data Requests, select Work Order Data.
- Click Save button.
- Click the WOSLGEN icon in the Orchestration flow and then click Transformations icon.
- Select Doc order in the Iterate over drop-down list.
- Map the inputs as follows:
- From the Available Values drop-down list in the Order_No row, select Doc Order.Order Number.
- From the Available Values drop-down list in Select_Row row, select Select_Row.
- From the Available Values drop-down list in P48013_Version row, select P48013_Version.
- Click Add Inputs to Orchestration.
- Click Save on the WOSLGEN page.
- Click the Work Order Data icon in the Orchestration flow and click Transformations icon.
- Map the values as follows.
- From the Available Values column in the User Id row, select User Id 1.
- From the Available Values column in the Requested Date row, select Requested Date 1.
- Click Add Inputs to Orchestration.
- Click Save on the WOSLGEN page.








Testing
the Work Order Serial Number Generation Orchestration
- On the Orchestration page, click Start button and click Inputs and Values.
- Enter the
Requested Date
in the Input field and specify the Value Type in the format Date-yy/MM/dd. - Enter
User ID
as the Input field and specify the Value Type asString
. - Click Save.
- To test the Orchestration, click the Start icon in the orchestration flow and then click the Run Orchestration icon
- In the input fields on the left, enter the following : Requested Date: The requested date of the order in the format defined.
- Click Run button.
- The Output shows the new order number and the success message.
- Close(x) the Run Orchestration form.
- Click on Sign Out from the Login(User Id) drop-down menu.
- Sign in to EnterpriseOne application.
- Access the Work With Manufacturing Work Orders (P48013) application from the Fast Path.
- Search for the work orders by their request date.
- Select any work order.
- Select Serial Numbers from Row Exit. The serial numbers generated by orchestration will be displayed.



User Id: User id.

