Customizing the Sales Orders Form
Prerequisites
Install Oracle Order Entry Runtime on your PC. See: Oracle Applications Installation Manual for Windows Clients.
Install the Oracle Order Entry Development Kit on your PC. See: Oracle Applications Installation Manual for Windows Clients.
Verify that the Order Entry Development Kit has installed the following files in the %AU_TOP%\res\US subdirectory:
For example, if you installed Oracle Applications to the default directory, verify that the files are present in C:\Apps10\au10\res\US.
Design different form layouts to meet your requirements.
Note: To ensure that your forms match the look-and-feel of Oracle Applications, see: Oracle Applications Coding Standards and Oracle Applications User Interface Standards.
To customize items on the Sales Orders form:
1. Make a backup copy of both the CUSTOM form (OEXOECOE.FMB) and the MAIN form (OEXOEMOE.FMB), as well as OEXOEMOE.FMX.
The original location of OEXOECOE.FMB and OEXOEMOE.FMB is the %AU_TOP%\res\US subdirectory. OEXOEMOE.FMX resides in %OE_TOP%\forms\US.
2. Use Developer/2000 Forms Designer to edit OEXOECOE.FMB.
To hide an item, set its height and width to zero and set its navigable property to FALSE.
Attention: Do not put the item on a NULL canvas or set its DISPLAYED property to FALSE. Either action causes errors when form logic attempts to set the item's properties.
If a block contains an item called SWITCHER, the underlying code requires that SWITCHER be the first item in the block.
If a block contains an item called STOP, place defaulted fields before the STOP item.
When items are resequenced, you may need to update the Previous Navigation Item and Next Navigation Item properties. For back-tabbing support for Display Only fields, see: Oracle Applications Coding Standards.
3. Generate the form in %OE_TOP%\forms\US\OEXOEMOE.FMB.
Note: Check the Compile all PL/SQL code check box.
The file OEXOEMOE.FMX will appear in the same directory. For example, if you installed Oracle Applications to the default directory, the file will appear in C:\Apps10\OE50\forms\US.
4. Copy OEXOEMOE.FMX to a new form name.
This is the executable version of your customized form.
5. Copy OEXOECOE.FMB (in %AU_TOP%\res\US) to a new form name.
This is your customized form.
Note: You rename OEXOEMOE.FMX and OEXOECOE.FMB in order to retain a backup of your customizations. The original files are overwritten each time you reinstall Oracle Order Entry/Shipping.
6. Access the Sales Orders form to view your changes.
To utilize more than one version of the form:
For each version, repeat steps 2-5 above. Save each customized OEXOEMOE.FMX and OEXOECOE.FMB to a different form name for your reference.
1. Using the Application Developer GUI responsibility, register the new file (saved in step 4, above) as a form. See: Forms.
3. Add the form to the desired Oracle Applications menu. See: Menus Window.
If you entered STARTUP_MODE = SALES_ORDERS in the Parameters field during step 2, choosing the new menu item will open the Sales Orders form. If you left the field blank, choosing the new menu item will open the Orders Workbench.
See Also
Sales Orders Customization