如何應(yīng)對Oracle PO審批界面的一個(gè)BUG

創(chuàng)新互聯(lián)服務(wù)項(xiàng)目包括勐海網(wǎng)站建設(shè)、勐海網(wǎng)站制作、勐海網(wǎng)頁制作以及勐海網(wǎng)絡(luò)營銷策劃等。多年來,我們專注于互聯(lián)網(wǎng)行業(yè),利用自身積累的技術(shù)優(yōu)勢、行業(yè)經(jīng)驗(yàn)、深度合作伙伴關(guān)系等,向廣大中小型企業(yè)、政府機(jī)構(gòu)等提供互聯(lián)網(wǎng)行業(yè)的解決方案,勐海網(wǎng)站推廣取得了明顯的社會(huì)效益與經(jīng)濟(jì)效益。目前,我們服務(wù)的客戶以成都為中心已經(jīng)輻射到勐海省份的部分城市,未來相信會(huì)繼續(xù)擴(kuò)大服務(wù)區(qū)域并繼續(xù)獲得客戶的支持與信任!
Oralce EBS 11i PO Status PO狀態(tài)詳細(xì)說明
狀態(tài) 描述 說明
INCOMPLETE 1.正在輸入,尚未提交審批,可以修改;
2.可以刪除,PO刪除后對應(yīng)的PR回歸到?jīng)]有做PO狀態(tài)。
定義職位---定義審批組---審批組分配---再把自己分配給該職位。
如:先定義一個(gè)職位XX采購主管,再定議XX采購主管審批組的審批限額,再分配XX采購主管對應(yīng)的審批組可以審批哪些單據(jù)類型。最后把自已分配給XX采購主管。
在oracle11g中,數(shù)據(jù)庫的審計(jì)功能是默認(rèn)開啟的(這和oracle10g的不一樣,10g默認(rèn)是關(guān)閉的),\x0d\x0aoracle11gR2的官方文檔上寫的是錯(cuò)的,當(dāng)上說default是none,而且是審計(jì)到DB級別的,這樣就會(huì)\x0d\x0a往aud$表里記錄統(tǒng)計(jì)信息。\x0d\x0a \x0d\x0a1.如果審計(jì)不是必須的,可以關(guān)掉審計(jì)功能;\x0d\x0a\x0d\x0aSQL show parameter audit_trail;\x0d\x0a\x0d\x0aNAME TYPE VALUE\x0d\x0a------------------------------------ ----------- ------------------------------\x0d\x0aaudit_trail string DB\x0d\x0a\x0d\x0aSQL alter system set audit_trail=none scope=spfile;\x0d\x0aSQL shut immediate;\x0d\x0aSQLstartup\x0d\x0a2.刪除已有的審計(jì)信息\x0d\x0a可以直接truncate表aud$,\x0d\x0atruncate table SYS.AUD$;\x0d\x0a\x0d\x0a3.或者將aud$表移到另外一個(gè)表空間下,以減少system表空間的壓力和被撐爆的風(fēng)險(xiǎn)。\x0d\x0a \x0d\x0a附:11g中有關(guān)audit_trail參數(shù)的設(shè)置說明:\x0d\x0aAUDIT_TRAIL\x0d\x0aProperty Description\x0d\x0aParameter type String\x0d\x0aSyntaxAUDIT_TRAIL = { none | os | db [, extended] | xml [, extended] }\x0d\x0aDefault valuenone\x0d\x0aModifiable No\x0d\x0aBasic No\x0d\x0aAUDIT_TRAIL enables or disables database auditing.\x0d\x0aValues:\x0d\x0anone\x0d\x0aDisables standard auditing. This value is the default if the AUDIT_TRAIL parameter was not set \x0d\x0ain the initialization parameter file or if you created the database using a method other than \x0d\x0aDatabase Configuration Assistant. If you created the database using Database Configuration \x0d\x0aAssistant, then the default is db.\x0d\x0aos\x0d\x0aDirects all audit records to an operating system file. Oracle recommends that you use the os \x0d\x0asetting, particularly if you are using an ultra-secure database configuration.\x0d\x0adb\x0d\x0aDirects audit records to the database audit trail (the SYS.AUD$ table), except for records \x0d\x0athat are always written to the operating system audit trail. Use this setting for a general \x0d\x0adatabase for manageability.\x0d\x0aIf the database was started in read-only mode with AUDIT_TRAIL set to db, then Oracle Database \x0d\x0ainternally sets AUDIT_TRAIL to os. Check the alert log for details.\x0d\x0adb, extended\x0d\x0aPerforms all actions of AUDIT_TRAIL=db, and also populates the SQL bind and SQL text CLOB-type \x0d\x0acolumns of the SYS.AUD$ table, when available. These two columns are populated only when this \x0d\x0aparameter is specified.\x0d\x0aIf the database was started in read-only mode with AUDIT_TRAIL set to db, extended, then Oracle \x0d\x0aDatabase internally sets AUDIT_TRAIL to os. Check the alert log for details.\x0d\x0axml\x0d\x0aWrites to the operating system audit record file in XML format. Records all elements of the \x0d\x0aAuditRecord node except Sql_Text and Sql_Bind to the operating system XML audit file.\x0d\x0axml, extended\x0d\x0aPerforms all actions of AUDIT_TRAIL=xml, and populates the SQL bind and SQL text CLOB-type columns\x0d\x0a of the SYS.AUD$ table, wherever possible. These columns are populated only when this parameter \x0d\x0ais specified.\x0d\x0aYou can use the SQL AUDIT statement to set auditing options regardless of the setting of this \x0d\x0aparameter.
只能對采購單題頭操作的活動(dòng)有:
1.暫掛,釋放。暫掛作用防止打印單據(jù)(通過Oracle標(biāo)準(zhǔn)報(bào)表的話)。適用與未完成狀態(tài)的采購訂單;
2.凍結(jié),解凍,凍結(jié)能夠防止對已經(jīng)審批的訂單做修改,并且不能通過采購訂單錄入界面打開;
對題頭和采購訂單行都有效的活動(dòng):
3.取消。終止合同或合同行。動(dòng)作不可逆。比較麻煩的是怎樣通知供應(yīng)商,不同公司有不同的方式這一點(diǎn)在實(shí)施的時(shí)候需要考慮;
4.最終關(guān)閉,為了防止對已經(jīng)完全完結(jié)(不會(huì)發(fā)生退貨)的訂單的變更,可以對其進(jìn)行最終關(guān)閉。這個(gè)動(dòng)作也是不可逆的。對于包含最終關(guān)閉行的采購訂單可以進(jìn)行審批,對于最終關(guān)閉的訂單可以進(jìn)行清除操作,但是這個(gè)功能在下沒有用過。
只適用于采購單行(這里不區(qū)分采購行和發(fā)運(yùn)行)
5.接受關(guān)閉,接收打開,如果行完全接收或接收數(shù)量符合允差規(guī)定系統(tǒng)會(huì)自動(dòng)關(guān)閉,當(dāng)然為了某些目的我們可以手工關(guān)閉或打開,這個(gè)狀態(tài)會(huì)影響查找預(yù)期接收的form的查找結(jié)果。
6.發(fā)票關(guān)閉,發(fā)票打開,如果行完全匹配或匹配數(shù)量符合允差規(guī)定系統(tǒng)會(huì)自動(dòng)關(guān)閉,這個(gè)對AP的影響在下不是很清楚。
系統(tǒng)會(huì)自動(dòng)運(yùn)行的:
7.關(guān)閉,系統(tǒng)會(huì)檢查發(fā)運(yùn)行,采購單行的關(guān)閉狀況系統(tǒng)會(huì)自動(dòng)的逐級關(guān)閉訂單,當(dāng)然也可以手工進(jìn)行。
也就是說,關(guān)閉和最終關(guān)閉是不一樣的
ORA-28000: the account is locked
第一步:使用PL/SQL,登錄名為system,數(shù)據(jù)庫名稱不變,選擇類型的時(shí)候把Normal修改為Sysdba;
第二步:選擇myjob,查看users;
第三步:選擇system,右擊點(diǎn)擊“編輯”;
第四步:修改密碼,把“帳戶被鎖住”的勾去掉;
第五步:點(diǎn)擊“應(yīng)用”再點(diǎn)擊“關(guān)閉”;
第六步:重新登錄就可以通過驗(yàn)證了;
第二種
ALTER USER username ACCOUNT UNLOCK;
第三種
在plsql developer中要是以scott/tiger登錄時(shí)提示ora-28000 the account is locked。
解決辦法:
新裝完Oracle10g后,用scott/tiger測試,會(huì)出現(xiàn)以下錯(cuò)誤提示:
oracle10g the account is locked
oracle10g the password has expired
原因:默認(rèn)Oracle10g的scott不能登陸。
解決:
(1)conn sys/sys as sysdba; //以DBA的身份登錄
(2)alter user scott account unlock;// 然后解鎖
(3)conn scott/tiger //彈出一個(gè)修改密碼的對話框,修改一下密碼就可以了
在運(yùn)行里面輸入cmd在DOS模式下輸入sqlplus,以system用戶名登錄,密碼是剛裝oracle時(shí)自己填寫的密碼orcl,登錄進(jìn)去以后。
SQL conn sys/sys as sysdba; (分號是必須的但是我是以system登錄的所在這不應(yīng)該寫conn sys/sys as sysdba應(yīng)該寫conn system/orcl as sysdba;)
Connected.
SQL alter user scott account unlock;
User altered.
SQL commit;
Commit complete.
SQL conn scott/tiger//請輸入新密碼,并確認(rèn)后OK
Password changed
Connected.
這時(shí)再到plsql developer里面以scott/tiger登錄就可以了。。。。。
本文名稱:oracle怎么取消審批,oracle取消權(quán)限
鏈接URL:http://chinadenli.net/article8/dsgspop.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供網(wǎng)站策劃、品牌網(wǎng)站建設(shè)、響應(yīng)式網(wǎng)站、網(wǎng)站內(nèi)鏈、商城網(wǎng)站、App開發(fā)
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來源: 創(chuàng)新互聯(lián)