今天發現Toad也有for Mac的版本,我只能說,這世界是多麼的美好~
連結在這
http://www.toadworld.com/products/toad-mac-edition/default.aspx
8/23/2013
2/25/2013
更新Java for MAC OS X 2013-001後,如何重新啟用Java SE 6 Applet插件(Java for MAC OS X 2013-001: How to re-enable the Apple-provided Java SE 6 web applet plug-in and Web Start functionality)
前言
日前(2013/2/20)蘋果發佈了Java for OS X 2013-001的更新說了很多關於Java不安全之類的,然後更新之後會把Java SE 6給停用(當然你也可以一直忍住不按更新,那App Store上就會一直有個紅色的小1在上面),並且要求用戶去Java官網下載使用最新的Java 7。
重點來了,還是那個老問題,Java 7很安全,但EBS的伺服器端絕大多數還是只認Java SE 6,用了Java 7去開EBS的Form它還會顯示你的版本太老舊呢!
所以現在下面就是怎麼把Java SE 6給招回來的過程。
行前確認
在繼續之前請確認兩件事:
1)已更新Java for OS X 2013-001
2)已下載並安裝Java官網上最新版本的Java 7
最後還要確認一件事,就是你的Form起不來了。如果有起來,表示你們家DBA佛心來的,更新了伺器端的Java版本。那就不必這麼大費周張把客戶端改回Java SE 6了。
寫在前面
這個re-enable的解決方案是由蘋果官方所釋出,我只是把過程用中文說明,並且加上自己的經驗,當然你覺得想看英文的原版比較爽那就直接從這轉出:
Java for OS X 2013-001
Show Time
1)打開終端機。找不到或者不知道終端機在哪的,請使用Spoltlight,也就是Mac桌面右上角的小放大鏡,叫出來輸入「終端機」三個字,它就會送你一個終端機了。
2)進入終端機後,輸入下列命令(在Library/Internet Plug-Ins下建一個資料夾disabled):
sudo mkdir -p /Library/Internet\ Plug-Ins/disabled
3)接著執行(將Java 7的插件移到新建的disabled資料夾):
sudo mv /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin /Library/Internet\ Plug-Ins/disabled
4)接著執行(Java SE 6會從以前的版本重新建立一個替身到plug-in資料夾):
sudo ln -sf /System/Library/Java/Support/Deploy.bundle/Contents/Resources/JavaPlugin2_NPAPI.plugin /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin
5)最後執行:
sudo ln -sf /System/Library/Frameworks/JavaVM.framework/Commands/javaws /usr/bin/javaws
p.s.
如果上述的作業都執行完還是沒辦法正常啟用Java,請參考上一篇日誌
2/19/2013
解決Mac OSX Java JRE 6被擋無法啟用
引述:
蘋果透過安全下載項目列表(XProtect.meta.plist)將Java 6 update 37及Java 7 update 12(含)以前的版本給封鎖了,並強迫用戶升級至Java 7 update 13,但是絕大多數的Oracle E-Business Suite的伺服器端都還停留在Java 6的版本,如果客戶端升級至Java 7就會發生無法正常啟用Form的慘劇。
其實目前Oracle已經有解決方案將EBS伺服器端升級為Java 7,但是我相信與其在那邊求DBA為你一個人上Patch還不如乖乖繼續用Java 6,省得還要聽那些沒用過Mac的人又在那邊說些小心眼的話(真的要唸就請先用過Mac以後我們再來戰,好嗎)。
解決方案:
說在前頭,以下步驟會涉及終端機操作,請小心服用
1)取消「自動更新安全下載項目列表」,取消後蘋果才不會偷偷在背後又把Java給擋了
打開「系統偏好設定」->「安全性與隱私」->「進階」(記得先把左下角的鎖頭解開)->取消「自動更新安全下載項目列表」的勾選
2)修改「XProtect.meta.plist」內容
打開工具程式裡面的「終端機」,輸入下列指令:
sudo nano /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/XProtect.meta.plist
sudo nano /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/XProtect.meta.plist
7/24/2012
5/16/2012
問題記錄_AP_APP-FND-01702: An assignment does not exist for these parameters and one is mandatory.
Symptoms
---------------------------------------------------------------------------------------------------------------
於Payables的Invoice Workbench輸入Credit Memo(銷退折讓單)時,打完Header的資料後,存檔時彈出下列錯誤:
APP-FND-01702: An assignment does not exist for these parameters and one is mandatory.
Cause: The profile option Sequential Numbering is defined to have sequential numbering always used. The current set of parameters does not have a sequence assigned.
Action: Go to the Assign Sequences screen and Assign a Sequence to the current set of parameters.
Solution
---------------------------------------------------------------------------------------------------------------
定義與指定循序編號(Sequential Numbering)
1)定義
切換至GL模組,功能路徑:Setup:Financials:Sequences:Document:Define
依Invoice和Payment新增兩筆Sequences,Name欄位不可重覆,Application欄位選取Payables,From和To欄位依所要作用的期間(此例為期間單位為月)選定日期,存檔。
2)指定
於GL模組,功能路徑:Setup:Financials:Sequences:Document:Assign
新增Application Payables的Category(共19個)並依Invoices及Payments對應先前所建立的Sequences。
備註
---------------------------------------------------------------------------------------------------------------
Payables的Category列表清單如下:
Adjustment Invoices
Check Payments
Clearing Payments
Credit Memo Invoices
Debit Memo Invoices
Electronic Payments
Expense Report Invoices
Future Dated Payments
Interest Invoices
Manual Future Dated Payments
Mixed Invoices
Netting Payments
Payment Request
PO Price Adjustment Invoices
Prepayment Invoices
Recurring Standard Invoices
Standard Invoices
Supplier Refund Payment
Wire Payments
共19組
---------------------------------------------------------------------------------------------------------------
於Payables的Invoice Workbench輸入Credit Memo(銷退折讓單)時,打完Header的資料後,存檔時彈出下列錯誤:
APP-FND-01702: An assignment does not exist for these parameters and one is mandatory.
Cause: The profile option Sequential Numbering is defined to have sequential numbering always used. The current set of parameters does not have a sequence assigned.
Action: Go to the Assign Sequences screen and Assign a Sequence to the current set of parameters.
Solution
---------------------------------------------------------------------------------------------------------------
定義與指定循序編號(Sequential Numbering)
1)定義
切換至GL模組,功能路徑:Setup:Financials:Sequences:Document:Define
依Invoice和Payment新增兩筆Sequences,Name欄位不可重覆,Application欄位選取Payables,From和To欄位依所要作用的期間(此例為期間單位為月)選定日期,存檔。
2)指定
於GL模組,功能路徑:Setup:Financials:Sequences:Document:Assign
新增Application Payables的Category(共19個)並依Invoices及Payments對應先前所建立的Sequences。
備註
---------------------------------------------------------------------------------------------------------------
Payables的Category列表清單如下:
Adjustment Invoices
Check Payments
Clearing Payments
Credit Memo Invoices
Debit Memo Invoices
Electronic Payments
Expense Report Invoices
Future Dated Payments
Interest Invoices
Manual Future Dated Payments
Mixed Invoices
Netting Payments
Payment Request
PO Price Adjustment Invoices
Prepayment Invoices
Recurring Standard Invoices
Standard Invoices
Supplier Refund Payment
Wire Payments
共19組
4/19/2012
實務_關於Debit Note與Credit Note的分別
簡單的說, Credit Note就是承諾給錢, Debit Note就是索討欠款.
要開折讓單, 請問英文是用debit note 還是 credit note ?
答: 賣方給予買方折讓, 由賣方開Credit Note給買方, 買方可用來抵付別筆帳款或下次貨款; 換句話說, Credit Note就是等於要給錢的折讓單, 一旦開出等於送錢給對方.
答: 賣方給予買方折讓, 由賣方開Credit Note給買方, 買方可用來抵付別筆帳款或下次貨款; 換句話說, Credit Note就是等於要給錢的折讓單, 一旦開出等於送錢給對方.
我做買方, 打算少付錢給對方, 請問在英文中 有沒有分別 ? 我是要開debit note 還是 credit note?
答: 要減少付錢給對方, 要開debit note, 由收款方簽認才生效. 例如買方退貨或因瑕疵而要求折讓時, 應就退或之數量及金額開立Debit Note給賣方, 賣方收到退貨或同意給予折讓時, 應開具Credit Note給買方.
答: 要減少付錢給對方, 要開debit note, 由收款方簽認才生效. 例如買方退貨或因瑕疵而要求折讓時, 應就退或之數量及金額開立Debit Note給賣方, 賣方收到退貨或同意給予折讓時, 應開具Credit Note給買方.
同理, 賣方出貨或增加出貨、新增收費、追索欠款等等, 都應開立Debit Note給買方. 在出貨時, 賣方開的發票(Invoice)就是Debit Note的一種, 只是Invoice並不表示已否收款, Debit Note則必是尚未收款.
我記得是不管買方 或 賣方 沒有分別的都是叫做 credit note (折讓單)?答: 那要看是誰開出的Credit Note:
-- 賣方開出的Credit Note代表賣方要支付或少收這筆錢.
-- 買方開出的Credit Note代表買方承諾要付這筆錢.
總而言之, Credit Note就是代表錢, 不論對方簽署與否都有效, 故開立要謹慎.
-- 賣方開出的Credit Note代表賣方要支付或少收這筆錢.
-- 買方開出的Credit Note代表買方承諾要付這筆錢.
總而言之, Credit Note就是代表錢, 不論對方簽署與否都有效, 故開立要謹慎.
-------------------------------------------------------------------------------------------------------------------------------------
在Oracle AP之應付帳款模組中,將應付憑據(Invoice)分成了「standard」、「Credit memo」、「Debit memo」….等幾種不同的型式,而其中的Credit memo與Debit memo 之間的差異以及使用時機,可以簡單的描述如下:
Credit Memo :
當廠商將某張訂單的商品寄送至本公司後,由於其他因素(如:商品有瑕疵…等)主動要給予我們額外的折扣時,廠商會先開立一張credit Memo給我們, 當我們收到該通知時便可將其輸入到oracle AP的應付帳款系統中 , 接著再將此張credit memo invoice與之前的invoice 來做match,從而減少我們的應付帳款。
Debit Memo :
當我們要退貨給某家供應商時,需先通知該供應商,並待其核可此項退貨後,我們便可開立一張Debit memo形式的invoice,並將此張Debit memo invoice與之前的invoice 來做match,從而減少我們的應付帳款,接著再將商品退還給供應商。而此種Debit memo invoice在台灣比較少使用到,通常是用在廠商送過來的產品,並非是我方訂單所要求的項目時,才會開立一張Debit memo形式的invoice,來減少應付帳款。
簡單的說
Credit memo: 便是『廠商』 通知 『我們』 要給予貨品的折扣時,會開立credit memo 給我們,接著我們便要在oracle AP的應付帳款系統中輸入此張credit memo,而此種型式的 invoice便稱為credit memo invoice。
Debit memo: 便是『我方』要求『廠商』給與貨品的折讓時(如退貨),我們便要開立debit memo invoice,並且通知廠商,而此種型式的invoice便稱為 debit memo invoice。
(本文由中原資管羅國銘提供)
Credit Memo :
當廠商將某張訂單的商品寄送至本公司後,由於其他因素(如:商品有瑕疵…等)主動要給予我們額外的折扣時,廠商會先開立一張credit Memo給我們, 當我們收到該通知時便可將其輸入到oracle AP的應付帳款系統中 , 接著再將此張credit memo invoice與之前的invoice 來做match,從而減少我們的應付帳款。
Debit Memo :
當我們要退貨給某家供應商時,需先通知該供應商,並待其核可此項退貨後,我們便可開立一張Debit memo形式的invoice,並將此張Debit memo invoice與之前的invoice 來做match,從而減少我們的應付帳款,接著再將商品退還給供應商。而此種Debit memo invoice在台灣比較少使用到,通常是用在廠商送過來的產品,並非是我方訂單所要求的項目時,才會開立一張Debit memo形式的invoice,來減少應付帳款。
簡單的說
Credit memo: 便是『廠商』 通知 『我們』 要給予貨品的折扣時,會開立credit memo 給我們,接著我們便要在oracle AP的應付帳款系統中輸入此張credit memo,而此種型式的 invoice便稱為credit memo invoice。
Debit memo: 便是『我方』要求『廠商』給與貨品的折讓時(如退貨),我們便要開立debit memo invoice,並且通知廠商,而此種型式的invoice便稱為 debit memo invoice。
(本文由中原資管羅國銘提供)
內文回應:
hello
隨便閒逛看到你的網頁
對於你這麼認真將oracle erp的學習心得記錄於blog中
深感敬佩
但本人在oracle erp的財務模組有幾年的經驗
不禁想要交流一下
你的解釋似乎來自user guide的觀念
但在台灣的實務中這樣解釋似乎較為恰當
credit memo or debit memo均為應付帳款的減項
但若帳務處理中需要區分進貨折讓與進貨退出的科目的話
則可以credit memo表進貨折讓(與量無關)
以debit memo表進貨退出(與量有關自然得原自po模組)
因為這樣便可避免oracle本身標準功能中
match 原invoice or po時均為原科目迴轉之由
然後可透過標準報表
於參數中選擇invoice type
自然可求得全年度之進貨折讓與進貨退出之總金額
但
當然
若帳務處理無需出現進貨折讓或是進貨退出之科目者
則兩者皆視為應付帳款的減項
只是是由廠商主動或是我方主動罷了
希望以上在實務上的運用
能更讓你了解
謝謝
來源:http://blog.roodo.com/oracle_erp/archives/4119969.html#comments
4/10/2012
問題記錄_AP_錯誤 APP-SQLAP-10199
Symptoms
--------------------------------------------------------------------
應付模組下,建立商業發票批次(Invoice Batches)時(功能路徑為Invoices:Entry:Invoice Batches)提示下列錯誤資訊:
APP-SQLAP-10199: You cannot navigate to the Invoice Batches window because invoice batch control is not enable for your system.
If you want to enable invoice batch control for your system, then ask your system administrator to enable the profile option AP: Use Invoice Batch Controls in the System Profile Options window.
Issue
--------------------------------------------------------------------
AP模組中有兩種立帳方式,一為Invoice Batches、另一為Invoices,二者只能取其一,因此需透過Profile設定來決定。
切換至系統管理員(System Administrator)職責,設定功能路徑為Profile:System,Profile Option Name為AP: Use Invoice Batch Controls,將Site由No改為Yes。
--------------------------------------------------------------------
應付模組下,建立商業發票批次(Invoice Batches)時(功能路徑為Invoices:Entry:Invoice Batches)提示下列錯誤資訊:
APP-SQLAP-10199: You cannot navigate to the Invoice Batches window because invoice batch control is not enable for your system.
If you want to enable invoice batch control for your system, then ask your system administrator to enable the profile option AP: Use Invoice Batch Controls in the System Profile Options window.
Issue
--------------------------------------------------------------------
AP模組中有兩種立帳方式,一為Invoice Batches、另一為Invoices,二者只能取其一,因此需透過Profile設定來決定。
切換至系統管理員(System Administrator)職責,設定功能路徑為Profile:System,Profile Option Name為AP: Use Invoice Batch Controls,將Site由No改為Yes。
11/25/2010
問題記錄_FA_APP-OFA-48392 Error When Adding a New Asset in the Asset Workbench
| APP-OFA-48392 Error When Adding a New Asset in the Asset Workbench [ID 275200.1] | |||||
| 修改时间 04-DEC-2008 类型 PROBLEM 状态 PUBLISHED | |||||
Applies To
Oracle Assets - Version: 11.5.9This problem can occur on any platform.
FAXASSET - Asset Workbench
Symptoms
When adding a new asset in Asset Workbench, in the Assignments window, whenclicking Done, an error message appears:
APP-OFA-48392: Unable to get the concurrent request status using procedure.
Cause
Invalid depreciation run status showing as 'Submitted'.Fix
Change the Status to 'Error', resubmit Run Depreciation and let it complete
normally, rollback depreciation, then enter new assets.
1) Refresh a TEST instance with the Production data when experiencing this issue.
2) Run this update:
update fa_book_controls
set deprn_status = 'E'
where book_type_code = '&book'
and deprn_status = 'S';
commit;
3) Resubmit Run Depreciation WITHOUT Close Period option.
4) Rollback Depreciation.
Always TEST results prior to implementing in a Production database.
IMPORTANT
Help us improve our service. If you have any comments or questions regarding the solution
as documented in this Note (or ANY other questions related to Oracle Assets), please post on the
Oracle Assets Technical Forum on MetaLink. The FA Forum is monitored on a daily basis
by Oracle Support Services (OSS), and response time is generally within 24 hours.
Thank you for using MetaLink!
10/28/2010
問題記錄_FA_Create Accounting ERROR MESSAGE NUMBER:95937
Symptoms
----------------------------------------------------------------------------------------------------------------
於固定資產模組下,執行創建會計請求(Create Accounting)後,檢視輸出的報表(Subledger Accounting Program Report),內容顯示錯誤訊息:
Message Number:
95937
Message:
There are either non-accountable events existing in the system, or events which could not be processed because no data could be found on transaction objects. Please enable the profile option SLA: Enable Diagnostics,create accounting again, and run the report Transaction Objects Disagnostics to identify the problem.
Cause
----------------------------------------------------------------------------------------------------------------
造成此錯誤的原因主要分為兩項:
1.Oracle Patch Needed.
2.Unprocessed Records Exists(Orphan Records).
其中Patch是在Oracle Support查詢時,幾乎所有的資料都顯示要打這個Patch:8738842。另外在查詢會計事件的時候,也發現了有未處理並沒有產生分錄的事件(Accounting Events)。
經過Reproduce後,基本上確認是用戶手動新增固定資產後,又手動將其資產刪除,造成Orphan Records所引起的錯誤。
Solution
----------------------------------------------------------------------------------------------------------------
1)先執行Apps Check(可略過):
Please run the Diagnostics: Apps Check program for Oracle Assets
If the program doesn't exist, please add the program as follows
Sysadmin > Security > Responsibility > Request
Query the request as follows
Group - All reports
Application - Assets
And add the Diagnostics: Apps Check as follows
Type - Program
Name - from the list of value select Diagnostics: Apps Check
Application - Oracle Order Management
Save the changes. Now you can run the Diagnostics: Apps Check with
Assets as Parameter
依自身系統環境進行參數輸入,並檢查輸出的報表。
2)檢查下列Query:
Select bug_number, creation_date from ad_bugs where bug_number IN('8738842');
Select owner,object_name,object_type, status From all_objects Where status = 'INVALID' And object_name LIKE 'FA%';
3)在固定資產模組下查詢到未處理並沒有分錄的事件(Inquiry->Subledger Accounting->Accounting Events)。
4)執行下列Query檢查分錄事件表單(Table),可依情況自行修改一些ID參數:
SELECT xlt.ledger_id,
xlt.valuation_method,
xe.event_id,
xlt.entity_id,
xe.event_type_code,
xe.event_status_code,
xlt.transaction_number,
xe.event_date
FROM xla_events xe,
xla.xla_transaction_entities xlt
WHERE xe.entity_id = xlt.entity_id
AND xe.application_id = xlt.application_id
AND xlt.source_application_id = 140
AND xlt.entity_code = 'TRANSACTIONS'
AND xe.event_status_code <> 'P'
AND NOT EXISTS (SELECT fth.transaction_header_id
FROM fa_transaction_headers fth
WHERE fth.transaction_header_id = xlt.source_id_int_1);
5)備份及刪除表單中的Orphan Events
To implement the solution, please execute the following steps:
1. Ensure that you have taken a backup of your system before applying the recommended solution.
2. Run the following scripts in a TEST environment first:
a. Create table to list down the orphan records.
CREATE TABLE fa_orphan_events AS
SELECT xlt.ledger_id,
xlt.valuation_method,
xe.event_id,
xlt.entity_id,
xe.event_type_code,
xe.event_status_code,
xlt.transaction_number,
xe.event_date
FROM xla_events xe,
xla.xla_transaction_entities xlt
WHERE xe.entity_id = xlt.entity_id
AND xe.application_id = xlt.application_id
AND xlt.source_application_id = 140
AND xlt.entity_code = 'TRANSACTIONS'
AND xe.event_status_code <> 'P'
AND NOT EXISTS (SELECT fth.transaction_header_id
FROM fa_transaction_headers fth
WHERE fth.transaction_header_id = xlt.source_id_int_1);
b. Create Backup tables
CREATE TABLE xla_transaction_entities_bk
AS SELECT * FROM xla_transaction_entities xte
WHERE xte.application_id = 140
AND EXISTS (
SELECT xe.entity_id
FROM xla_events xe,fa_orphan_events oe
WHERE xe.event_id = oe.event_id
AND xe.entity_id = xte.entity_id
AND xe.application_id = 140);
CREATE TABLE xla_events_bk
AS SELECT * FROM xla_events xe
WHERE EXISTS (
SELECT oe.event_id
FROM fa_orphan_events oe
WHERE xe.event_id = oe.event_id)
AND xe.application_id = 140;
c. Delete the unwanted orphan records
DELETE FROM xla_transaction_entities xte
WHERE xte.application_id = 140
AND EXISTS (
SELECT oe.entity_id
FROM fa_orphan_events oe
WHERE oe.entity_id = xte.entity_id);
DELETE FROM xla_events xe
WHERE xe.application_id = 140
AND EXISTS (
SELECT oe.event_id
FROM fa_orphan_events oe
WHERE xe.event_id = oe.event_id);
COMMIT;
3. If you are satisfied with the results, issue a commit.
4. Confirm that the data is corrected when viewed in the Oracle Applications.
You can do this by running Sub-ledger Period Close Exception Report.
5. If you are satisfied that the issue is resolved, migrate the solution as appropriate to other environments.
6)再次執行Create Accounting請求,並確認錯誤訊息解除。
----------------------------------------------------------------------------------------------------------------
於固定資產模組下,執行創建會計請求(Create Accounting)後,檢視輸出的報表(Subledger Accounting Program Report),內容顯示錯誤訊息:
Message Number:
95937
Message:
There are either non-accountable events existing in the system, or events which could not be processed because no data could be found on transaction objects. Please enable the profile option SLA: Enable Diagnostics,create accounting again, and run the report Transaction Objects Disagnostics to identify the problem.
Cause
----------------------------------------------------------------------------------------------------------------
造成此錯誤的原因主要分為兩項:
1.Oracle Patch Needed.
2.Unprocessed Records Exists(Orphan Records).
其中Patch是在Oracle Support查詢時,幾乎所有的資料都顯示要打這個Patch:8738842。另外在查詢會計事件的時候,也發現了有未處理並沒有產生分錄的事件(Accounting Events)。
經過Reproduce後,基本上確認是用戶手動新增固定資產後,又手動將其資產刪除,造成Orphan Records所引起的錯誤。
Solution
----------------------------------------------------------------------------------------------------------------
1)先執行Apps Check(可略過):
Please run the Diagnostics: Apps Check program for Oracle Assets
If the program doesn't exist, please add the program as follows
Sysadmin > Security > Responsibility > Request
Query the request as follows
Group - All reports
Application - Assets
And add the Diagnostics: Apps Check as follows
Type - Program
Name - from the list of value select Diagnostics: Apps Check
Application - Oracle Order Management
Save the changes. Now you can run the Diagnostics: Apps Check with
Assets as Parameter
依自身系統環境進行參數輸入,並檢查輸出的報表。
2)檢查下列Query:
Select bug_number, creation_date from ad_bugs where bug_number IN('8738842');
Select owner,object_name,object_type, status From all_objects Where status = 'INVALID' And object_name LIKE 'FA%';
3)在固定資產模組下查詢到未處理並沒有分錄的事件(Inquiry->Subledger Accounting->Accounting Events)。
4)執行下列Query檢查分錄事件表單(Table),可依情況自行修改一些ID參數:
SELECT xlt.ledger_id,
xlt.valuation_method,
xe.event_id,
xlt.entity_id,
xe.event_type_code,
xe.event_status_code,
xlt.transaction_number,
xe.event_date
FROM xla_events xe,
xla.xla_transaction_entities xlt
WHERE xe.entity_id = xlt.entity_id
AND xe.application_id = xlt.application_id
AND xlt.source_application_id = 140
AND xlt.entity_code = 'TRANSACTIONS'
AND xe.event_status_code <> 'P'
AND NOT EXISTS (SELECT fth.transaction_header_id
FROM fa_transaction_headers fth
WHERE fth.transaction_header_id = xlt.source_id_int_1);
5)備份及刪除表單中的Orphan Events
To implement the solution, please execute the following steps:
1. Ensure that you have taken a backup of your system before applying the recommended solution.
2. Run the following scripts in a TEST environment first:
a. Create table to list down the orphan records.
CREATE TABLE fa_orphan_events AS
SELECT xlt.ledger_id,
xlt.valuation_method,
xe.event_id,
xlt.entity_id,
xe.event_type_code,
xe.event_status_code,
xlt.transaction_number,
xe.event_date
FROM xla_events xe,
xla.xla_transaction_entities xlt
WHERE xe.entity_id = xlt.entity_id
AND xe.application_id = xlt.application_id
AND xlt.source_application_id = 140
AND xlt.entity_code = 'TRANSACTIONS'
AND xe.event_status_code <> 'P'
AND NOT EXISTS (SELECT fth.transaction_header_id
FROM fa_transaction_headers fth
WHERE fth.transaction_header_id = xlt.source_id_int_1);
b. Create Backup tables
CREATE TABLE xla_transaction_entities_bk
AS SELECT * FROM xla_transaction_entities xte
WHERE xte.application_id = 140
AND EXISTS (
SELECT xe.entity_id
FROM xla_events xe,fa_orphan_events oe
WHERE xe.event_id = oe.event_id
AND xe.entity_id = xte.entity_id
AND xe.application_id = 140);
CREATE TABLE xla_events_bk
AS SELECT * FROM xla_events xe
WHERE EXISTS (
SELECT oe.event_id
FROM fa_orphan_events oe
WHERE xe.event_id = oe.event_id)
AND xe.application_id = 140;
c. Delete the unwanted orphan records
DELETE FROM xla_transaction_entities xte
WHERE xte.application_id = 140
AND EXISTS (
SELECT oe.entity_id
FROM fa_orphan_events oe
WHERE oe.entity_id = xte.entity_id);
DELETE FROM xla_events xe
WHERE xe.application_id = 140
AND EXISTS (
SELECT oe.event_id
FROM fa_orphan_events oe
WHERE xe.event_id = oe.event_id);
COMMIT;
3. If you are satisfied with the results, issue a commit.
4. Confirm that the data is corrected when viewed in the Oracle Applications.
You can do this by running Sub-ledger Period Close Exception Report.
5. If you are satisfied that the issue is resolved, migrate the solution as appropriate to other environments.
6)再次執行Create Accounting請求,並確認錯誤訊息解除。
10/19/2010
問題記錄_GL_APP-FND-01388: Cannot read value for profile option FND_DEVELOPER_MODE in routine &ROUTINE
Symptoms
----------------------------------------------------------------------------------------------------------------
於修改總帳(GL)Segment Values的內容後,回到Key Flexfield Segments視窗重新進行Compile,於Requests查看沒有錯誤訊息,但重新進到Segment Values就會發生錯誤:「APP-FND-01388: Cannot read value for profile option FND_DEVELOPER_MODE in routine &ROUTINE」。
Cause
----------------------------------------------------------------------------------------------------------------
Form並未編譯(Compile)成功。
Solution
----------------------------------------------------------------------------------------------------------------
by METALink.
To implement the solution, please execute the following steps::
-1. Go into the responsibility: Navigate to the AU_TOP/resource directory
-2. Compile and generate manually CSQKMENU.pll, ensure CSQKMENU.plx gets generated successfully.
-3. Then compile BENAUTHE.pll and BENAUTHE.fmb successfully.
-4. Retest the scenario. This should fix the issue.
-5. Migrate the solution as appropriate
by myself.
我用appl的權限帳戶登入到R12 APP的Server上,執行以下指令即可(此為一行指令,因網頁才分段的):
frmcmp module=$AU_TOP/resource/CSQKMENU.pll userid=apps/apps output_file=$AU_TOP/resource/CSQKMENU.plx module_type=library batch=no compile_all=special
結果:
Forms 10.1 (Form Compiler) Version 10.1.2.2.0 (Production)
Forms 10.1 (Form Compiler): Release - Production
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
PL/SQL Version 10.1.0.5.0 (Production)
Oracle Procedure Builder V10.1.2.2.0 - Production
Oracle Virtual Graphics System Version 10.1.2.0.0 (Production)
Oracle Multimedia Version 10.1.2.0.2 (Production)
Oracle Tools Integration Version 10.1.2.0.2 (Production)
Oracle Tools Common Area Version 10.1.2.0.2
Oracle CORE 10.1.0.5.0 Production
Compiling library CSQKMENU...
Invalidating Package Spec CS_QK_FILTER_LIB......
Invalidating Package Spec CSQKMENU......
Invalidating Package Body CS_QK_FILTER_LIB......
Invalidating Package Body CSQKMENU......
Compiling Package Spec CS_QK_FILTER_LIB......
Compiling Package Spec CSQKMENU......
Compiling Package Body CS_QK_FILTER_LIB......
Compiling Package Body CSQKMENU......
Done.
----------------------------------------------------------------------------------------------------------------
於修改總帳(GL)Segment Values的內容後,回到Key Flexfield Segments視窗重新進行Compile,於Requests查看沒有錯誤訊息,但重新進到Segment Values就會發生錯誤:「APP-FND-01388: Cannot read value for profile option FND_DEVELOPER_MODE in routine &ROUTINE」。
Cause
----------------------------------------------------------------------------------------------------------------
Form並未編譯(Compile)成功。
Solution
----------------------------------------------------------------------------------------------------------------
by METALink.
To implement the solution, please execute the following steps::
-1. Go into the responsibility: Navigate to the AU_TOP/resource directory
-2. Compile and generate manually CSQKMENU.pll, ensure CSQKMENU.plx gets generated successfully.
-3. Then compile BENAUTHE.pll and BENAUTHE.fmb successfully.
-4. Retest the scenario. This should fix the issue.
-5. Migrate the solution as appropriate
by myself.
我用appl的權限帳戶登入到R12 APP的Server上,執行以下指令即可(此為一行指令,因網頁才分段的):
frmcmp module=$AU_TOP/resource/CSQKMENU.pll userid=apps/apps output_file=$AU_TOP/resource/CSQKMENU.plx module_type=library batch=no compile_all=special
結果:
Forms 10.1 (Form Compiler) Version 10.1.2.2.0 (Production)
Forms 10.1 (Form Compiler): Release - Production
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
PL/SQL Version 10.1.0.5.0 (Production)
Oracle Procedure Builder V10.1.2.2.0 - Production
Oracle Virtual Graphics System Version 10.1.2.0.0 (Production)
Oracle Multimedia Version 10.1.2.0.2 (Production)
Oracle Tools Integration Version 10.1.2.0.2 (Production)
Oracle Tools Common Area Version 10.1.2.0.2
Oracle CORE 10.1.0.5.0 Production
Compiling library CSQKMENU...
Invalidating Package Spec CS_QK_FILTER_LIB......
Invalidating Package Spec CSQKMENU......
Invalidating Package Body CS_QK_FILTER_LIB......
Invalidating Package Body CSQKMENU......
Compiling Package Spec CS_QK_FILTER_LIB......
Compiling Package Spec CSQKMENU......
Compiling Package Body CS_QK_FILTER_LIB......
Compiling Package Body CSQKMENU......
Done.
10/11/2010
9/13/2010
問題記錄_GL_Journals_Accounting Flexfields_Description Length Modification
Symptoms
--------------------------------------------------------------------------------------------------------------
提交總帳模組(GL)裡面的標準報表:「Journals - Voucher」,完成後發生「科目摘要」欄位顯示不全的情況。
進入GL職責中查看分錄(Journals)的詳細資料,也有同樣顯示不全的情形。
Cause
--------------------------------------------------------------------------------------------------------------
提交總帳模組(GL)裡面的標準報表:「Journals - Voucher」,完成後發生「科目摘要」欄位顯示不全的情況。
進入GL職責中查看分錄(Journals)的詳細資料,也有同樣顯示不全的情形。
Cause
--------------------------------------------------------------------------------------------------------------
經查證後,造成原因是會計科目的關鍵性彈性欄位設定值有問題,需要將描述欄位的顯示字元數加長。
Solution
--------------------------------------------------------------------------------------------------------------
1)進入總帳管理超級用戶職責。
2)Setup->Financials->Flexfields->Key->Segments
3)彈出「Key Flexfield Segments」視窗。
4)點選左上角的手電筒(Find)。
5)找出:
Application: General Ledger
Flexfield Title: Accounting Flexfield
為值的Structures。
6)將游標放在要修改的彈性欄位Title->先將Freeze Flexfield Definition取消勾選->點擊「Segments」按鈕。
7)彈出Segments Summary(Accounting Flexfield)視窗。
8)將游標放到要修改的科目節段,這邊選的是「會計科目」段->點擊「Open」按鈕。
9)彈出Segments(Accounting Flexfield)視窗。
10)修改欄位數值:
->Description Size: 255(依需要)
->Concatenated Description Size: 255(依需要)
11)儲存設定。
12)回到Key Flexfield Segments視窗。
13)將Freeze Flexfield Definition選項勾選->點擊「Compile」按鈕。
14)進入到檢視請求裡面查看運行情況,沒有錯誤發生。
15)回到分錄功能的Form中查看,重新提交報表請求,字串正常顯示,問題解決。
9/12/2010
問題記錄_Mac_OSX_DVD播放程式_發生初始化錯誤_找不到有效的DVD光碟機_70012
Symptoms
--------------------------------------------------------------------------------------------------------------
經過將內置的光碟機位置改成放第二顆硬碟以後,原本的光碟機就變成是外接的方式來使用,一般使用下是沒有發現什麼問題,但如果是看DVD影片的話,Mac裡面預設的「DVD播放程式」就會彈出:「發生初始化錯誤:找不到有效的DVD光碟機 70012」的錯誤視窗。
Cause
--------------------------------------------------------------------------------------------------------------
由於MacBookPro中DVD播放程式的設定檔(DVDPlayback),預設是使用內置(Internal)的光碟機。
Solution
--------------------------------------------------------------------------------------------------------------
1)打開Finder,在工具欄點選「前往」->「前往資料夾」->於彈出的視窗中輸入:「/System/Library/Frameworks/DVDPlayback.framework/Versions/A」。
2)將資料夾中的「DVDPlayback」檔案拷貝一份到桌面(修改用),再另外備份一份到備份資料夾(避免失敗了回不了頭)。
3)打開「HexEdit」應用程式來開啟桌面上的「DVDPlayback」檔(點這下載HexEdit)。
4)在「HexEdit」的工具欄點選「Find」->「Find & Replace」,於彈出的視窗中輸入:
-> Find: 「Internal」
-> Replace with: 「External」
5)點選「Replace All」按鈕,將DVDPlayback檔中所有的Internal換成External字串(我的DVD播放程式版本是5.2,總共置換了7筆Internal to External)。
6)存檔後關閉HexEdit。
7)將桌面上修改好的「DVDPlayback」檔直接拖到原始的位置「/System/Library/Frameworks/DVDPlayback.framework/Versions/A」,覆蓋原DVDPlayback檔(會叫你輸入使用者密碼),完成,搞定收工。
--------------------------------------------------------------------------------------------------------------
經過將內置的光碟機位置改成放第二顆硬碟以後,原本的光碟機就變成是外接的方式來使用,一般使用下是沒有發現什麼問題,但如果是看DVD影片的話,Mac裡面預設的「DVD播放程式」就會彈出:「發生初始化錯誤:找不到有效的DVD光碟機 70012」的錯誤視窗。
Cause
--------------------------------------------------------------------------------------------------------------
由於MacBookPro中DVD播放程式的設定檔(DVDPlayback),預設是使用內置(Internal)的光碟機。
Solution
--------------------------------------------------------------------------------------------------------------
1)打開Finder,在工具欄點選「前往」->「前往資料夾」->於彈出的視窗中輸入:「/System/Library/Frameworks/DVDPlayback.framework/Versions/A」。
2)將資料夾中的「DVDPlayback」檔案拷貝一份到桌面(修改用),再另外備份一份到備份資料夾(避免失敗了回不了頭)。
3)打開「HexEdit」應用程式來開啟桌面上的「DVDPlayback」檔(點這下載HexEdit)。
4)在「HexEdit」的工具欄點選「Find」->「Find & Replace」,於彈出的視窗中輸入:
-> Find: 「Internal」
-> Replace with: 「External」
5)點選「Replace All」按鈕,將DVDPlayback檔中所有的Internal換成External字串(我的DVD播放程式版本是5.2,總共置換了7筆Internal to External)。
6)存檔後關閉HexEdit。
7)將桌面上修改好的「DVDPlayback」檔直接拖到原始的位置「/System/Library/Frameworks/DVDPlayback.framework/Versions/A」,覆蓋原DVDPlayback檔(會叫你輸入使用者密碼),完成,搞定收工。
8/23/2010
AppLocale應用_解決360安全衛士不支援正(繁)體Windows_簡體亂碼問題
Symptoms
----------------------------------------------------------------------------------------------------------------
來到大陸以後,發現一個很有用的軟體叫「360安全衛士」,並且能夠在不破解的情況下持續更新Windows(簡體版限定),但是裝在正體的Windows上就會見到一堆亂碼,上了官網也是說不支援正體(喵的bb),網上有很許多網友製作了免安裝(綠色)的版本,但是會有版本更新速度的問題。後來靈機一動,看看是不是可以用微軟自己出的AppLocale配合修改開機的機碼(RegEdit)來解決這個問題?
Cause
----------------------------------------------------------------------------------------------------------------
簡體軟體不支援正(繁)作業系統,引起文字亂碼情況。
Solution
----------------------------------------------------------------------------------------------------------------
1)安裝AppLocale
2)使用AppLocale,並選擇以「簡體」編碼模式安裝360安全衛士
3)開機時按F8,進入安全模式。
4)點選「開始」->「執行」->輸入「regedit」->彈出「登錄編輯程式」視窗
5)點開機碼「360Safetray」,路徑:
我的電腦\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
6)將原本的機碼改為:
C:\WINDOWS\AppPatch\AppLoc.exe "C:\Program Files\360\360safe\safemon\360tray.exe" "/L0804" /start,點確定。
7)重新開機,完成、收工。
----------------------------------------------------------------------------------------------------------------
來到大陸以後,發現一個很有用的軟體叫「360安全衛士」,並且能夠在不破解的情況下持續更新Windows(簡體版限定),但是裝在正體的Windows上就會見到一堆亂碼,上了官網也是說不支援正體(喵的bb),網上有很許多網友製作了免安裝(綠色)的版本,但是會有版本更新速度的問題。後來靈機一動,看看是不是可以用微軟自己出的AppLocale配合修改開機的機碼(RegEdit)來解決這個問題?
Cause
----------------------------------------------------------------------------------------------------------------
簡體軟體不支援正(繁)作業系統,引起文字亂碼情況。
Solution
----------------------------------------------------------------------------------------------------------------
1)安裝AppLocale
2)使用AppLocale,並選擇以「簡體」編碼模式安裝360安全衛士
3)開機時按F8,進入安全模式。
4)點選「開始」->「執行」->輸入「regedit」->彈出「登錄編輯程式」視窗
5)點開機碼「360Safetray」,路徑:
我的電腦\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
6)將原本的機碼改為:
C:\WINDOWS\AppPatch\AppLoc.exe "C:\Program Files\360\360safe\safemon\360tray.exe" "/L0804" /start,點確定。
7)重新開機,完成、收工。
7/16/2010
修改_Oracle Developer 10g_操作環境語言
於Windows環境下,點擊「開始」->「執行」->輸入 REGEDIT
到達下列路徑:
我的電腦\HKEY_LOCAL_MACHINE\SOFTWARE\Oracle
尋找字串:
NLS_LANG
將數值資料改為:
AMERICAN_AMERICA.ZHT16BIG5
點擊確定後即完成修改
P.S.
數值資料依需要還可以改為,
正體中文:CHINESE_TAIWAN.ZHT16MSWIN950
簡體中文:CHINESE_CHINA.ZHS16GBK
英 文:AMERICAN_AMERICA.UTF8
到達下列路徑:
我的電腦\HKEY_LOCAL_MACHINE\SOFTWARE\Oracle
尋找字串:
NLS_LANG
將數值資料改為:
AMERICAN_AMERICA.ZHT16BIG5
點擊確定後即完成修改
P.S.
數值資料依需要還可以改為,
正體中文:CHINESE_TAIWAN.ZHT16MSWIN950
簡體中文:CHINESE_CHINA.ZHS16GBK
英 文:AMERICAN_AMERICA.UTF8
問題記錄_GL_Error31 - Unopened secondary ledger period
Symptoms
----------------------------------------------------------------------------------------------------------------
於總帳職責下,主帳套(非其它貨幣輔助帳套)中,提交請求(Requests):Trial Balance(試算表),顯示輸出後,Debits和Credits項皆為0,如下圖:
----------------------------------------------------------------------------------------------------------------
於總帳職責下,主帳套(非其它貨幣輔助帳套)中,提交請求(Requests):Trial Balance(試算表),顯示輸出後,Debits和Credits項皆為0,如下圖:
檢查該月份之日計帳分錄,發現Batch Status出現:Error31 - Unopened secondary ledger period,如下圖:
Cause
--------------------------------------------------------------------------------------------------------------
子分類帳期間未開啟
Solution
--------------------------------------------------------------------------------------------------------------
確認該問題期間的主帳套及子帳套是否開啟
1)登入總帳(主、子帳套)超級管理員權限的帳號->Setup->Open/Close
2)彈出Find Periods視窗,點選Find按鈕
3)彈出Open and Close Periods (帳套名)視窗,點選Open Period按鈕
4)彈出帳套視窗,選擇帳套及目標期間後,點選Open按鈕
5)彈出確認的請求視窗
6)其它子帳套也是相同步驟
確認主、子帳套都開啟後,始進行匯率更新維護以及重新過帳
1)總帳超級管理員權限->Setup->Currencies->Rates->Daily
2)彈出Daily Rates視窗,依貨幣匯率與日期進行資料維護與更新,若無則此步跳過
3)準備開始重新過帳,Journals->Post
4)彈出Find Journal Batches視窗,輸入搜尋條件(如:Period),點選Find按鈕
5)彈出Post Journals視窗,並逐一勾選欲過帳之批次(由於並沒有更新批次資料,我的實例還會彈出注意視窗Caution:The batch has not been updated. Do you still want to post this batch?直接按OK跳過),點選Post按鈕,過帳
6)彈出Note視窗,過帳請求開始運行
7)再次提交試算表請求,搞定收工
6/25/2010
MAC上也可使用支付寶的安全控件_for Safari only
前一陣子加入中國最大的網拍平台-淘寶網,裡面有個線上付費的平台,叫「支付寶」,由於牽扯到網上交易,所以就有一個東西叫「安全控件」,以前都是只有for Windows的於去年的四月一日正式支援蘋果系統(OS X),下面是官方下載連結:

訂閱:
文章 (Atom)




































