OM模塊調試

1How to Create a Debug File in Shipping Execution (文檔 ID 290432.1)app

2 WSH 調試ide

Release:工具

11.5.9 and higherspa

Updates:debug

No updates are performed to the database調試

Profile Options:日誌

Following Profile Options need to be set before each test case, then reset after completion:orm

OM: Debug Level = 5 ip

Edit > Preferences > Profiles > F11 > OM: Debug Level > Ctrl+F11-> Set User Value to 5ci

WSH: Debug Enabled = Yes 

Edit > Preferences > Profiles > F11 > WSH: Debug Enabled > Ctrl+F11 > Set User Value to Yes

Following Profile Option once set do not need to be changed. Please confirm settings per Note 290432.1 How to Create a Debug File in Shipping Execution

WSH: Debug Level = Statement

WSH: Debug Log Directory

Navigate:

Navigate to the form with the error.

Turn Debug On:

Tools > Debug

Note Debug File Name:

Pop up will appear with Debug File Name. Note down Debug File Path and Name.

Reproduce the error:

Reproduce the error. Step through all errors.

Turn Debug Off:

Tools > Debug

Retrieve Debug File:

If profiles WSH: Debug Log Directory and OM: Debug Log Directory are set to the same value: Oracle Order Management > Reports,Requests > Run Requests > Single Request > OK > Name = Diagnostics: OM Debug File Retrieval.

Otherwise contact your DBA to retrieve the file and provide the Debug File Path and Name.

Parameters:

Debug File Name, enter noted Debug File Name

Output:

To retrieve the output navigate to:

View > Requests > Relevant Request ID (button)

Click View Output > Save File as "filename.txt"

Upload the file "filename.txt" to My Oracle Support

3OM調試

QP調試:

1、FORM 界面日誌獲取

1.開啓配置文件:

 

QP調試

關閉請求顯示器

FND:啓用調試日誌

FND:調試日誌級別

對賬單

OM調試級別

11

OM:調試日誌目錄

/pjebs/sit/temp

(select value from v$parameter where name = 'utl_file_dir')

 

  2. OM銷售訂單->工具  勾上調試。

 

2、包啓用日誌調試

 

   l_file_val VARCHAR2(50);

 

   oe_debug_pub.debug_on;

   oe_debug_pub.initialize;

   l_file_val := oe_debug_pub.set_debug_mode('FILE');

   oe_debug_pub.setdebuglevel(5);

   dbms_output.put_line('file :' || l_file_val);

   oe_debug_pub.add('debug statement'1);

   oe_debug_pub.add('an other debug statement'1);

   dbms_output.put_line('File name '||OE_DEBUG_PUB.G_DIR||'/'||OE_DEBUG_PUB.G_FILE);

 



相關文章
相關標籤/搜索