Running the Create Business Function Call Wizard

The business service framework provides a Create Business Function Call Wizard that generates Java code for calling a business function. You create a business function call in the code already created by the Create Business Service Wizard. You must be at an appropriate location within the code to create the business call method. A TODO tag should be available to help you find this location. The Create Business Function Call Wizard helps you select a business function to use for creating your new business function call.

To run the Create Business Function Call Wizard:

  1. Open the Java file for the business service.

  2. In the JDeveloper editor pane, place the cursor at a valid position for inserting the Java logic.

  3. From the context menu, select EnterpriseOne, and then select Create Business Function Call.

    If Create Business Function Call is disabled on the context menu, the cursor is not at a valid position in the code.

  4. The Business Function Call Wizard is launched.

  5. Click Next.

    If the authentication page appears, enter your credentials, and then click Next.

  6. On the wizard search page, find an existing business function by performing one of the following actions:

    • If you do not have any information about the business function, click Find to list all business functions and scroll through the list. Select a business function and then click Next.

    • If you have some information about the business function you want to use, complete one or more of these search fields to filter the list of business functions, and then click Find.

      – Object Name

      – System Code

      – Function Name

      – Reporting System Code

      – Description

      – Library

      You can use wildcards in any of these search fields.

      Scroll through the results to find a business function. If the Next Page button is active, click it to see additional results, which are added to the bottom of the list, and continue to scroll.

      If you use the Find button to find a business function, select a business function from the search results and then click Next.

    • If you know which business function you want to use, click Advanced Find.

      Using the drop-down list box, select the appropriate information for each of these fields, and then click Next:

      – Library

      – Module/Object Name

      – Function Name

  7. The next page of the wizard opens showing the attributes of the business function that you selected.

  8. Select the parameters that you want to include in your new value object class.

    You can select parameters individually by selecting the Include check box in the same row as the parameter that you want. When you select parameters individually, you can display the parameters that you selected by selecting the Display Select Only option. If you want to include all of the parameters in your value object, use the Select All button. Use the Clear All button to clear your selections and start over.

  9. Click Finish.

    The Java code is updated with the business function call and accompanying code, which you must complete.