How To Collect Diagnostic Data to Troubleshoot Create Accounting in Oracle Assets?
来源:互联网 发布:js url随机数 编辑:程序博客网 时间:2024/06/06 01:53
Applies to:
Oracle Assets - Version: 12.0.0
Information in this document applies to any platform.
FAACCPB - Create Accounting - Assets
XLAACCUP - Accounting Program
Goal
How to collect diagnostic data to troubleshoot Create Accounting in Oracle Assets ?
Solution
1. Prepare the test case by entering problem transaction (ie transfer, unplanned depreciation, etc).
2. Set Profile Options:
SLA: Enable Diagnostics = YES
FND: Debug Log Enabled = YES
FND: Debug Log Level = Statement
FND: Debug Log Module = %
3. Run Create Accounting with parameters:
- Accounting mode: Draft
- Report: Detail
- Include User Transaction Identifiers: Yes
4. Collect FND Debug log (extract in csv/xls format) :
- make sure to provide request id of Accounting Program not Create Accounting - Assets.
--debug for concurrent request Accounting Program
SELECT tcon.TRANSACTION_TYPE, tcon.TRANSACTION_ID,tcon.component_type,
MESSAGE_TEXT, substr(module,1,70)
FROM fnd_log_messages msg,
fnd_log_transaction_context tcon
WHERE msg.TRANSACTION_CONTEXT_ID = tcon.TRANSACTION_CONTEXT_ID
AND tcon.TRANSACTION_ID = &request_id
ORDER BY tcon.TRANSACTION_CONTEXT_ID desc, LOG_SEQUENCE;
5. Run Transaction Object Diagnostics Report
- make sure you enter Accounting Program Request Id parameter
6. Generate Asset Trace of the Asset encountering the problem
7. Extract package body depending on the problem journal:
a) for issues with Transaction journal :
set pages
spool FA_XLA_EXTRACT_TRX_PKG.pls
select text from dba_source
where name = 'FA_XLA_EXTRACT_TRX_PKG'
and type = 'PACKAGE BODY';
spool off
b) for issues with Depreciation journal :
set pages
spool FA_XLA_EXTRACT_DEPRN_PKG.pls
select text from dba_source
where name = 'FA_XLA_EXTRACT_DEPRN_PKG'
and type = 'PACKAGE BODY';
spool off
c) for issues with Deferred depreciation journal :
set pages
spool FA_XLA_EXTRACT_DEF_PKG.pls
select text from dba_source
where name = 'FA_XLA_EXTRACT_DEF_PKG'
and type = 'PACKAGE BODY';
spool off
8. Provide versions of seeded Application Accounting Definition (AAD):
adident Header $FA_TOP/patch/115/import/US/FAXLAAAD.ldt
9. Get the Application Accounting Definition (AAD) package body definition from database. This applied only for cases when there's a problem specific to :
- incorrect Account Combination generated by Account Derivation Rule (ADR)
- ADR failing to generate Account Combination
- the following needs to be run from SQL Plus session under APPS:
set termout off
set pages
variable pkg_name varchar2(50)
begin
select object_name
into :pkg_name
from dba_objects
where object_type = 'PACKAGE BODY'
and object_name like (select distinct 'XLA_00140_AAD_C_%' || r.product_rule_hash_id || '_PKG' pkg_name
from xla_product_rules_tl t
, xla_product_rules_b r
where name = '&AAD_name'
and r.product_rule_code = t.product_rule_code
and r.amb_context_code = 'DEFAULT');
end;
/
spool AADpkg.pls
select text from dba_source
where type = 'PACKAGE BODY'
AND name = :pkg_name
/
spool off
All the information collected using above steps needs to be seen as one concise picture to troubleshoot the problem you're encountering with Create Accounting in Oracle Assets.
Make sure the content uploaded contains following:
- Output file of Create Accounting - Assets
- Log file of Create Accounting - Assets
- Log file of Accounting program
- FND Debug log (Step #4)
- Output of Transaction Object Diagnostics Report
- Output of Generate Asset Trace
- Output of FATRACE - SLA Subrequest
- Extract of applicable package bodies (Steps #7, #9)
References
Note 402842.1 - How To Run An Asset Trace?
Keywords
XLAACCUP ; FAACCPB ; CREATE~ACCOUNTING ;
- How To Collect Diagnostic Data to Troubleshoot Create Accounting in Oracle Assets?
- How to create Function/Procedure in Oracle?
- [zz]How to Create Sample Data in Blend 3
- How to troubleshoot a macvtap network in kvm/virt-manager
- How to troubleshoot memory problems
- Script to Collect RAC Diagnostic Information
- How to collect explorer
- Script to Collect Data Guard Primary Site Diagnostic Information for Version 10g and above(+RAC)
- How To Create A Data Entry Screen
- How to troubleshoot the "Could not create 'CDO.Message'" error message
- How to troubleshoot TCP/IP connectivity
- How to troubleshoot SQL Server performance issues
- How To Debug and Troubleshoot VOIP
- How To Troubleshoot Common ELK Stack Issues
- How to create function polymorphism in C
- How to Create Procedure in DB2
- How To Create Alternate Background In WPF?
- How to create a user in PostgreSQL
- uclinux内核的任务切换
- shell下自动ftp脚本
- Json的例子
- C#怎样判断系统是否为静音?
- Java中重载和重写的区别
- How To Collect Diagnostic Data to Troubleshoot Create Accounting in Oracle Assets?
- PowerDesigner设置集锦(转)
- NetBeans IDE 6.8 Milestone 1 已经可用!
- OpenCms 7.5 评论模块(comments_1.0.1) jquery 兼容问题
- 对自定义类的调用与理解
- 深入研究java对String字符串对象的创建以及管理
- Javascript 脚本的调试
- VS2008试用版破解方法
- java.util.Collections.sort(List list)类的应用(与Comparable,Comparator比较)