Oracle by Example brandingCreating an Orchestration to Generate Serial Numbers for a Work Order in EnterpriseOne

section 0Before 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.

section 1Recording the Process for Creating a Form Request to Generate a Serial Number for Work Order

  1. Open a web browser and sign in to EnterpriseOne on the web.
  2. Navigate to Work With Manufacturing Work Orders (P48013) application from the Fast Path.
  3. Click the Login(User Id) drop-down menu, from Personalization menu, select Record a Process.
  4. Work Order must be created before starting the process.
  5. In the Process Recorder, click Start.
  6. Enter 1136920 in the Order No field.
  7. For this OBE, the order number for the work order is 1136920.
  8. Click Find.
  9. Select the work order displayed.
  10. Click the Row exit and select Serial Numbers.
  11. The Work With Work Order Serial Numbers form is displayed.
    Work Order with serial number image
    Work with Work Order Serial Numbers form
  12. Click the Form exit and select Revisions.
  13. The Serial Number Revisions form is displayed.
    serial number revisions form
    Serial Number Revisions form
  14. Click the Form exit and click Lot/SN Generation.
  15. Click OK.
  16. In the Process Recorder, click Stop.
  17. Complete the following fields in the Process Recorder:
    • Name = WOSLGEN
    • Description = Work Order Serial Number Generation.
    • Product Code = 55
    process recorder details
    Process Recorder Input
  18. Click Save.
  19. EnterpriseOne saves the recording as a Form Request.
  20. Close Process Recorder.
  21. Click the login drop-down menu(user id) and click Sign Out.

section 2Creating Data Request in Orchestrator Studio

  1. Sign in to the Orchestrator Studio.
  2. On the Orchestrator Studio Home Page, Click the Data Requests icon.
  3. Click the New button.
  4. Enter Work Order Data in the Name field.
  5. Enter Work Order Data Request in the Description field .
  6. Enter F4801 in the Table/View Name field.
  7. Click Load.
  8. Enter Doc Order in the Data Set Variable Name field.
  9. Type User ID in the Filter field.
  10. Click filter icon.
  11. filter icon
    User ID
  12. Type Request Date in the Filter field.
  13. Click Filter icon.
  14. filter icon
    Request Date
  15. Select Order Number as Return Value.
  16. Click Return icon to add parameters in the Return Fields and Variable Names . return_icon
    Order Number

  17. Scroll down on the Data Request page to check that the Filter Criteria and Return Fields and Variable Names are added accordingly.
  18. image 2
    Filter Criteria


    image 3
    Return Fields and Variable Names

  19. Click Save.
  20. Close the Data Request form.

section 5Creating an Orchestration to Generate a Serial Number for Work Order

  1. On the Orchestrator Studio Home page, click Form Requests icon.
  2. From the list of Personal Form Requests, select WOSLGEN.
  3. If you don’t see WOSLGEN listed, click the refresh icon.
  4. In the Manage menu, select Create Orchestration,.
  5. Click Design Mode.
  6. Click the Add(+) button beside the Start button .
  7. New Step Type form is displayed.
  8. From the the New Step Type select Data request .
  9. From the list of Personal Data Requests, select Work Order Data.
  10. Click Save button.
  11. The name defaults to WOSLGEN from the form request. Orchestration details
    Orchestration

  12. Click the WOSLGEN icon in the Orchestration flow and then click Transformations icon.
  13. transformations
    Transformations
  14. Select Doc order in the Iterate over drop-down list.
  15. Orchestrator transformations details
    Transformations

  16. 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.
    • orchestrator_transformations_input
      Transformations Input
  17. Click Add Inputs to Orchestration.
  18. Click Save on the WOSLGEN page.
  19. save
    Save
  20. Click the Work Order Data icon in the Orchestration flow and click Transformations icon.
  21. work_order_data_transformations
    Transformations button
  22. 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.
    work order transformations details
    Transformations Input
  23. Click Add Inputs to Orchestration.
  24. Click Save on the WOSLGEN page.
  25. save
    Save Data Request

section 8Testing the Work Order Serial Number Generation Orchestration

  1. On the Orchestration page, click Start button and click Inputs and Values.
  2. input
    Inputs and Values
    Inputs and Values Form opens up.
  3. Enter the Requested Date in the Input field and specify the Value Type in the format Date-yy/MM/dd.
  4. Enter User ID as the Input field and specify the Value Type as String.
  5. orchestrator input details
    Input Format
  6. Click Save.
  7. To test the Orchestration, click the Start icon in the orchestration flow and then click the Run Orchestration icon
  8. run
    Run
  9. In the input fields on the left, enter the following :
  10. Requested Date: The requested date of the order in the format defined.
    User Id: User id.
    Orchestration input
    Input Values

  11. Click Run button.
  12. The Output shows the new order number and the success message.
  13. Expand the Inputs area on the right to clearly see the JSON input that was sent.

    output details
    Output

  14. Close(x) the Run Orchestration form.
  15. Click on Sign Out from the Login(User Id) drop-down menu.
  16. Sign in to EnterpriseOne application.
  17. Access the Work With Manufacturing Work Orders (P48013) application from the Fast Path.
  18. Search for the work orders by their request date.
  19. Select any work order.
  20. Select Serial Numbers from Row Exit.
  21. The serial numbers generated by orchestration will be displayed.


more informationWant to Learn More?