- Set the following profile options:
OM: Debug Level - set to 5
OM: Debug Log Directory - any directory that can be written to by the database
To check, run the following SQL statement:Code:select value from v$parameter where name = 'utl_file_dir'
- In the Sales Orders form go to Tools -> Debug and select 'Write to a File'.
Note: Later versions of the Sales Order form do not have this option. Simply click on Tools and check the Debug box. This will print out a file name - NOTE down this file name (the first letter in the file name is lower case 'L'). - Perform the action you wish to debug.
- Go to Tools -> Debug and select 'Turn Debug Off' to complete debugging. Or on later form versions just uncheck Debug.
- After you have completed generating the debug file, please set the value of the profile OM: Debug Level back to 0, otherwise there will be some performance impact. Retrieve the debug file from the directory specified in step 1.
Monday, May 7, 2012
How to generate a debug file in OM
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment