發表文章

目前顯示的是 6月, 2018的文章
SELECT   (SELECT COUNT (1)             FROM v$session a2            WHERE a2.blocking_session IS NOT NULL              AND a2.SID = a1.blocking_session) r_count,          a1.blocking_session,          (SELECT a2.serial#             FROM v$session a2            WHERE a2.SID = a1.blocking_session) blocking_serial, a1.SID,          a1.serial#, a1.wait_class, a1.module, a1.seconds_in_wait, a1.action     FROM v$session a1    WHERE a1.blocking_session IS NOT NULL AND a1.blocking_session <> 1693 ORDER BY 1;  

oracle erp Period setup path 模組設定期間路徑

Note :  GL: Setup / Open/Close AP: Accounting / Control Payables Periods AR: Control / Accounting / Open/Close Periods PO: Setup / Financials / Accounting / Control Purchasing Periods       (Setup / Financials / Accounting / Open and Close Periods) INV: Cost Management / Accounting Close Cycle / Inventory Accounting Periods

Form 常用

1.一進頁面就能看到表中已生成數據,而不用按ctrl+f11進行查詢的語句: 在form級的觸發器when-new-form-instance中, 寫如下代碼: go_block('XXXX'); execute_query; 要查詢的數據塊的名稱 說明: 當使用基於表建立的塊時,可使用塊裡的任何項的GO_BLOCK或者GO_ITEM找到那個塊當查詢數據到一個塊裡去,可通過execute_query進行處理 補充:用DELETE_RECORD從塊中刪除當前記錄,要改變數據庫的記錄,必須使用COMMIT_FORM  2,什麼辦法可以控制form中File菜單中的Export嗎? 使其失效答: 在FORM中,在FORM級的觸發器EXPORT中, 將其中的代碼app_standard.event('EXPORT');屏蔽掉,改為null;試一試  3當form啟動時,在pre-form觸發器中instantiate你特定的菜單items 調用app_special.instantiate包  procedure APP_SPECIAL.INSTANTIATE(  option_name varchar2, --定義tigger名字  hint varchar2 default null,--定義菜單實體的名字,使用&來定義菜單實體的鍵盤快捷鍵  icon varchar2 default null,--  initially_enabledboolean default true,  separator varchar2 default null);--定義'LINE'為separator 例子  app_special.instantiate(’SPECIAL1’,’&rint Order’,’PRINTORD’);  4,在tool菜單中的check boxes  --option_name與trigger_name包括關鍵字CHECKBOX(例如:SPECIAL3_CHECKBOX)  app_special.instantiate(’SPECIAL3_CHECKBOX’,’Sp...