You can add any ABL procedure file to an AppObject or SubAppObject definition, provided the compiled (r-code) version of the file is available to ProxyGen through the Propath Components setting. For information on compiling ABL procedures, see OpenEdge Getting Started: ABL Essentials.
To add procedure files to your object definition, choose Procedure > Add and select the procedure type. A dialog box will appear, which will allow you to:
Select r-code files under a pathname selected from your Propath Components setting (Propath Selection combo box).
Specify whether to use the relative pathname of selected procedures as part of the corresponding method name in the Open Client interface using the Use Path in Name check box. This helps to automatically generate unique method names.
Request that any directories you select be searched recursively using the Perform Recursive Add check box.
Add the selected files to the Procedures tab folder for the current AppObject or SubAppObject definition using the Add button. The procedures you add depend on what files and directories you selected in the Folders tree and the Folder Contents list.
Note: ProxyGen will not allow you to set a procedure as single-run or singleton if the procedure has parameters in the main block..
For each non-persistent procedure, ProxyGen generates a method in the Open Client interface. For each persistent, single-run, or singleton procedure, ProxyGen generates a ProcObject class factory method in the Open Client interface, along with a ProcObject definition that encapsulates its internal procedures and user-defined functions. For information on class factory methods, see OpenEdge Development: .NET Open Clients, OpenEdge Development: Java Open Clients, or OpenEdge Development: Web Services.
After selecting and adding the respective procedure files, any non-persistent procedures appear in the Non-persistent procedures list, and any persistent, single-run, and singleton procedures appear in the Procedure Objects list of the Procedures tab folder on the main window.
To delete procedures from either list in the Procedures tab folder:
1. Select one or more procedures in one list.
2. Press the DELETE key or choose Procedure > Remove from the menu bar.