Adding a method to an IDO

An IDO method is either based on a stored procedure in the application database or is an extension class method. When customizing your application, you might need to add your own methods to an IDO.

You can add methods to IDOs only if you have first checked out the IDO for which you want to create the method. Use the IDOs form to check out the IDO. Once the IDO has been checked out, you can click the New Method button on either the IDOs form or the IDO Methods form to launch the IDO Method Wizard.

  1. In the IDO Method Wizard form, make these selections:
    Method Type
    Select the type of procedure being called by this method. You can specify a method that either does or does not return a result set.
    Stored Procedure
    Select the stored procedure to add. This is the stored procedure on which the method is based.
    Note: If you selected a Stored Procedure option as the Method Type, this field is required. If you selected an Extension Class option, this field is disabled.
    Method Name
    Enter the method to add. The method name must be unique to the IDO.
    Note: If you selected a Stored Procedure option as the Method Type, this field is automatically populated with the name of the stored procedure as well. You can change it if you want. If you selected an Extension Class option, you must provide the name of the method. In this case, the name you provide here must match exactly the name of the method as provided in the extension class code.
    Transactional
    If the method should be run as a transaction, select this option. Otherwise, leave it cleared.
  2. Click OK.
  3. Refresh the IDOs form.
The new method is added to the IDO. After you refresh, the method displays in the Methods tab.

Remember to check the IDO back in. Your changes do not become operative until you check them in.