简体   繁体   English

会计程序错误

[英]Accounting Program Error

I have Oracle Application R12 running on 11g. 我在11g上运行了Oracle Application R12。

The error occurs in Accounting Program when we are running Create Accounting session in Payable Module . 当我们在“应付款模块”中运行“ 创建记帐”会话时,在“ 记帐程序”中发生错误。 When we click on Diagnostics it gives this message : 当我们单击“诊断”时,将显示以下消息:

This request finished with an error and produced the following completion message: An internal error occurred. 该请求以错误结束,并产生了以下完成消息:发生内部错误。 Please inform your system administrator or support representative that: 请通知您的系统管理员或支持代表:

An internal error has occurred in the program xla_ap_acct_hooks_pkg.main. 程序xla_ap_acct_hooks_pkg.main中发生内部错误。 Technical problem : Error encountered in product API for extrac 技术问题:Extrac产品API中遇到错误

The processing began on 24-MAR-2015 09:11:13 and ended on 24-MAR-2015 09:12:16. 处理开始于2015年3月24日09:11:13,结束于2015年3月24日09:12:16。 You may find more information on the cause of the error in the request log or the concurrent manager log. 您可以在请求日志或并发管理器日志中找到有关错误原因的更多信息。

and if we click on View log it gives this : 如果我们单击查看日志,它将显示以下内容:

+---------------------------------------------------------------------------+ Subledger Accounting: Version : 12.0.0 + ------------------------------------------------- -------------------------- +分类帐会计:版本:12.0.0

Copyright (c) 1979, 1999, Oracle Corporation. Oracle Corporation版权所有(c)1979,1999。 All rights reserved. 版权所有。

XLAACCUP module: Accounting Program +---------------------------------------------------------------------------+ XLAACCUP模块:会计程序+ -------------------------------------------- ------------------------------- +

Current system time is 25-MAR-2015 11:09:05 当前系统时间是2015年3月25日11:09:05

+---------------------------------------------------------------------------+ + ------------------------------------------------- -------------------------- +

Starts 25-MAR-2015 11:09:06 Ends 25-MAR-2015 11:10:43 An internal error occurred. 开始于 25-MAR-2015 11:09:06 结束 25-MAR-2015 11:10:43发生内部错误。 Please inform your system administrator or support representative that: 请通知您的系统管理员或支持代表:

An internal error has occurred in the program xla_ap_acct_hooks_pkg.main. 程序xla_ap_acct_hooks_pkg.main中发生内部错误。 Technical problem : Error encountered in product API for extract An internal error occurred. 技术问题:提取的产品API中遇到错误发生内部错误。 Please inform your system administrator or support representative that: 请通知您的系统管理员或支持代表:

An internal error has occurred in the program xla_ap_acct_hooks_pkg.main. 程序xla_ap_acct_hooks_pkg.main中发生内部错误。 Technical problem : Error encountered in product API for extract +---------------------------------------------------------------------------+ Start of log messages from FND_FILE +---------------------------------------------------------------------------+ 25-MAR-2015 11:25:17 - Executing Unit Processor ... 25-MAR-2015 11:25:17 - Initializing variables 25-MAR-2015 11:25:17 - Security Context Set 25-MAR-2015 11:25:17 - Ready to cache the Application and Ledger Level Sources ... 25-MAR-2015 11:25:21 - Cached the Application and Ledger Level Sources 25-MAR-2015 11:25:22 - Entering the loop to read document units from the queue ... 25-MAR-2015 11:25:22 - Checking status of the parent Accounting Program 25-MAR-2015 11:25:22 - Dequeuing the unit from the queue 25-MAR-2015 11:25:22 - Fetching event information for the documents in the unit 25-MAR-2015 11:26:00 - executing extract hook event key = 527717-11312076-1219A353A3BA70B9E05400144F2BF644 25-MAR-2015 11:26:03 - extract hook executed suc 技术问题:提取产品API时遇到错误+ --------------------------------------- ------------------------------------ +从FND_FILE开始日志消息+ ------ -------------------------------------------------- ------------------- + 25-MAR-2015 11:25:17-执行单元处理器... 25-MAR-2015 11:25:17-初始化变量25-MAR-2015 11:25:17-安全上下文集25-MAR-2015 11:25:17-准备缓存应用程序和分类帐级别源... 25-MAR-2015 11:25:21-缓存应用程序和分类帐级别源25-MAR-2015 11:25:22-进入循环以从队列中读取文档单位... 25-MAR-2015 11:25:22-检查父会计程序的状态25-MAR -2015 11:25:22-从队列中使单元出队25-MAR-2015 11:25:22-提取单元中文档的事件信息25-MAR-2015 11:26:00-执行提取挂钩事件键= 527717-11312076-1219A353A3BA70B9E05400144F2BF644 2015年3月25日11:26:03-提取钩子执行成功 cessfully *************************************************************************************************** The following REVERSAL events could not be processed. **************************************************** ******************************************************无法处理以下REVERSAL事件。 The event/process status is U/U: Note: this warning may be ignored for any events whose ledger is a cash-basis ledger -------NO SUCH EVENTS----------- *************************************************************************************************** 25-MAR-2015 11:26:40 - executing postprocessing hook event key = 527717-11312076-1219A353A3BA70B9E05400144F2BF644 25-MAR-2015 11:26:40 - postprocessing hook executed successfully 25-MAR-2015 11:26:40 - Completing Journal Entries 25-MAR-2015 11:26:41 - Checking status of the parent Accounting Program 25-MAR-2015 11:26:41 - Dequeuing the unit from the queue 25-MAR-2015 11:26:41 - Fetching event information for the documents in the unit 25-MAR-2015 11:26:43 - executing extract hook event key = 527717-11312076-1219A353A3BB70B9E05400144F2BF644 25-MAR-2015 11:26:47 - extract hook executed successfully *************************************************************************************************** The following REVERSAL events could not be pro 事件/过程状态为U / U:注意:对于任何分类帐为现金分类帐的事件,可以忽略此警告-------没有此类事件----------- * ****************************************************** **************************************************** 25- MAR-2015 11:26:40-执行后处理挂钩事件键= 527717-11312076-1219A353A3BA70B9E05400144F2BF644 25-MAR-2015 11:26:40-后处理挂钩成功执行25-MAR-2015 11:26:40-完成日记条目25 -MAR-2015 11:26:41-检查上级记帐程序的状态25-MAR-2015 11:26:41-从队列中将单元出队25-MAR-2015 11:26:41-获取事件的信息单元中的文档25-MAR-2015 11:26:43-执行提取钩事件键= 527717-11312076-1219A353A3BB70B9E05400144F2BF644 25-MAR-2015 11:26:47-提取钩成功执行** ****************************************************** ********************************************以下的REVERSAL事件不适合 cessed. 停止。 The event/process status is U/U: Note: this warning may be ignored for any events whose ledger is a cash-basis ledger -------NO SUCH EVENTS----------- *************************************************************************************************** 25-MAR-2015 11:26:51 - executing postprocessing hook event key = 527717-11312076-1219A353A3BB70B9E05400144F2BF644 25-MAR-2015 11:26:51 - postprocessing hook executed successfully 25-MAR-2015 11:26:51 - Completing Journal Entries 25-MAR-2015 11:26:51 - Checking status of the parent Accounting Program 25-MAR-2015 11:26:51 - Dequeuing the unit from the queue 25-MAR-2015 11:26:51 - Fetching event information for the documents in the unit 25-MAR-2015 11:26:52 - executing extract hook Technical problem : Error encountered in product API for extract +---------------------------------------------------------------------------+ End of log messages from FND_FILE +---------------------------------------------------------------------------+ 事件/过程状态为U / U:注意:对于任何分类帐为现金分类帐的事件,可以忽略此警告-------没有此类事件----------- * ****************************************************** **************************************************** 25- MAR-2015 11:26:51-执行后处理挂钩事件键= 527717-11312076-1219A353A3BB70B9E05400144F2BF644 25-MAR-2015 11:26:51-后处理挂钩成功执行25-MAR-2015 11:26:51-完成日记条目25 -MAR-2015 11:26:51-检查上级记帐程序的状态25-MAR-2015 11:26:51-从队列中退出单元25-MAR-2015 11:26:51-提取事件的信息单元中的文档25-MAR-2015 11:26:52-执行提取钩技术问题:提取产品API遇到错误+ --------------------- -------------------------------------------------- ---- +来自FND_FILE的日志消息结尾+ -------------------------------------- ------------------------------------- +

+---------------------------------------------------------------------------+ Executing request completion options... + ------------------------------------------------- -------------------------- +执行请求完成选项...

Finished executing request completion options. 完成执行请求的完成选项。

+---------------------------------------------------------------------------+ Concurrent request completed Current system time is 25-MAR-2015 11:10:43 + ------------------------------------------------- -------------------------- +并发请求已完成当前系统时间为2015年3月25日11:10:43

+---------------------------------------------------------------------------+ + ------------------------------------------------- -------------------------- +

Screenshots are in the attachment to get better idea !! 屏幕快照包含在附件中以获得更好的主意!

Thanks in advance !! 提前致谢 !!

![enter image description here][1] ![在此处输入图片描述] [1]

Referencing MOS Doc ID 1964046.1 it appears as though you will need a patch. 引用MOS Doc ID 1964046.1时 ,似乎需要修补程序。

Note: While it is typically SO best practice to include quotes from whatever source you are linking it is actually violating the ToS with Oracle to quote their MOS documentation. 注意:虽然通常最佳做法是包括来自您所链接的任何来源的引号,但实际上这违反了Oracle的ToS引述其MOS文档。 I like my support contract, TYVM. 我喜欢我的支持合同TYVM。

Also there could be an issue with this, please reference MOS Doc ID 1582378.1 : 也可能与此有关,请参考MOS文档ID 1582378.1

*************************************************************************************************** The following REVERSAL events could not be processed. ****************************************************** ******************************************************无法处理以下REVERSAL事件。 The event/process status is U/U: Note: this warning may be ignored for any events whose ledger is a cash-basis ledger -------NO SUCH EVENTS----------- 事件/过程状态为U / U:注意:对于任何分类帐为现金分类帐的事件,可以忽略此警告-------没有此类事件-----------


If this is a production environment I highly recommend opening an SR to confirm that this is the only issue you are seeing. 如果这是生产环境,则强烈建议您打开SR,以确认这是您看到的唯一问题。

It could be because of the following reason. 可能是由于以下原因。

There is some orphan record exists in xla_transaction_entities table. xla_transaction_entities表中存在一些孤立记录。 Delete those lines from the table. 从表中删除这些行。 It will be Ok. 一切都会安好的。 To identify the record, you can use the below query: 要标识记录,可以使用以下查询:

SELECT *
FROM xla.xla_transaction_entities xla_tran_ent
WHERE 1 = 1
AND application_id = 200
AND NOT EXISTS (
SELECT 1
FROM xla_ae_headers xla_header
WHERE 1 = 1
AND xla_header.application_id = xla_tran_ent.application_id
AND xla_header.entity_id = xla_tran_ent.entity_id)
AND NOT EXISTS (
SELECT 1
FROM ap_invoices_all ap_inv
WHERE xla_tran_ent.source_id_int_1 = ap_inv.invoice_id
AND xla_tran_ent.entity_code = 'AP_INVOICES')
AND NOT EXISTS (
SELECT 1
FROM ap_checks_all ap_inv
WHERE xla_tran_ent.source_id_int_1 = ap_inv.check_id
AND xla_tran_ent.entity_code = 'AP_PAYMENTS')

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM