路径:应付款系统管理员/发票/发票

问题描述:

在AP发票界面录入一笔发票,验证发票,撤销发票,然后在AP发票界面的“活动”中创建会计科目,发现带出的并发请求“创建会计科目”正常跑完,但是通过“报表/查看会计科目”却无法查看该发票是否生成会计科目。

查询SQL:

select xte.entity_id,
xe.event_id,
xe.transaction_date,
xe.event_status_code,
xe.process_status_code,
xe.event_type_code
from xla.xla_transaction_entities xte, xla.xla_events xe
where xe.entity_id = xte.entity_id
and xte.application_id = xe.application_id
-- and xe.application_id = 200
and xte.entity_code = 'AP_INVOICES'
and xte.transaction_number = 'D301ZTX2017110001';

发现xe.event_status_code和 xe.process_status_code分别为 I 和 U ,并且表xla.xla_ae_headers与xla.xla_ae_lines没有相关数据,所以确认没有生成会计分录,原因不明。

解决方法:

一:参照sr提供的方式操作

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:
*********TEST INSTANCE FIRSTLY********
Step 1) Download and apply the data fix patch 19637587:R12.AP.A
**Please ignore the first step in case you have applied this patch before **********
Step 2) Execute the selection script : AP_MISC_INVOICE_DIAG.sql
sqlplus apps/apps
@$AP_TOP/patch/115/sql/AP_MISC_INVOICE_DIAG.sql
Parameters : ** invoice date (Format dd/mm/yyyy Eg. 28/01/1999)
l_start_date
l_end_date
This script will create the temp DB table and log file for review.
a) Driver table AP_TEMP_DATA_DRIVER_9738413
b) log file 9738413-diag-<DD_MI_SS>.html which displays the affected transactions.
Log files will be created in the following directory:
SELECT decode(instr(value,','),0,value,SUBSTR (value,1,instr(value,',') - 1)) FROM v$parameter WHERE name = 'utl_file_dir';
Step 3) Update process_flag in each driver table AP_TEMP_DATA_DRIVER_9738413 to 'Y' for any transactions that should be operated on.
update AP_TEMP_DATA_DRIVER_9738413 set process_flag = 'Y' where invoice_id in ('2007427');
commit;

Step 4) Execute the fix script
Example: sqlplus apps/apps
$AP_TOP/patch/115/sql/AP_MISC_INVOICE_FIX.sql
This script expects the following parameters
-p_user_name : Enter user name that has the required permissions.
-p_resp_name : Enter responsibility that has required permissions. (Case sensitive) eg. Payables Manager
-p_proposed_undo_date : New accounting date for undo accounting events. (DD/MM/YYYY)
-p_email_id: Optional. Enter if you want to receive the generated logs on email id.
Please verify the user name and responsibility name based on the SQL as below firstly, if return no record, that means the parameter is not correct.
SELECT *FROM fnd_user WHERE user_name = Upper('&P_User_Name');
SELECT * FROM fnd_responsibility_tl WHERE responsibility_name = '&p_resp_name ' AND ROWNUM = 1;
This script will generate log file 9738413-fix-<DD_MI_SS>.html
Step 5) Check whether the data fix is working or not.
-- process_flag : E (Error) ; D (Done / Finished)
select invoice_id , process_flag from AP_TEMP_DATA_DRIVER_9738413 where invoice_id in ('2007427');
3. Once the scripts complete, confirm that the data is corrected.
4. If you are satisfied with the results, issue a commit.
5. Confirm that the data is corrected when viewed in the Oracle Applications.
6. If you are satisfied that the issue is resolved, migrate the solution as appropriate to other environments.

二 重新对该发票“创建会计科目”

1 重新创建会计科目,报错如下,xe.event_status_code和 xe.process_status_code分别为 I 和 U ,但是表xla.xla_ae_headers与xla.xla_ae_lines有相关数据

2 按照报错提示,在AP职责下单独提交“创建会计科目”并发程序,并将“报表”参数设置为“详细信息”,然后下载“查看输出”文件,搜问题发票编号“D301ZTX2017110001”,

检查AP和GL的期间是否打开,发现GL的2017-11期间关闭,则打开GL期间,然后重新创建会计科目,创建成功

sr网址:

1)https://support.oracle.com/epmos/faces/SrDetail?_afrLoop=172711819808699&srNumber=3-16377513741&srDetailRelativeDateParam=null&queryModeName=Technical&needSrDetailRefresh=true&_afrWindowMode=0&_adf.ctrl-state=gih44hrzi_4

2)https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=174674419612511&parent=SrDetailText&sourceId=3-16377513741&id=1360390.1&_afrWindowMode=0&_adf.ctrl-state=gih44hrzi_21

转载于:https://www.cnblogs.com/hand-lzs/p/8057399.html

EBS AP 创建会计科目失败相关推荐

  1. Oracle EBS R12 创建会计科目失败诊断和处理

    前言:Oracle EBS R12 财务系统中运维工作中比较常见的问题就是创建会计科目失败,本文对资产模块和应付模块创建会计科目的一般情况进行总结. 1.创建会计科目失败一般场景 1.1 期间未打开 ...

  2. oracle应付创建会计科目,月结AP创建会计分录失败问题

    月结AP创建会计分录失败问题 应付发票传送总账问题 在作应付发票传送总账的时候,出现下面问题,请问应该如何处理? 环境 11.5.9 数据库 oracle 模块 应付AP 操作过程描述: 1.创建一张 ...

  3. Oracle EBS OPM创建会计科目告警:日记帐分录不平衡

    Oracle EBS环境: RDBMS : 12.1.0.2.0 Oracle Applications : 12.2.6 问题症状: 在OPM成本中,提交"创建会计科目"请求,提 ...

  4. Oracle EBS AP 创建贷项通知单并核销到相应发票

    --1.0 生成与发票一样的贷项通知单 created by jenrry 20170423 DECLARE L_CUSTOMER_TRX_ID NUMBER;L_INVOICE_NUMBER VAR ...

  5. oracle预收核销,Oracle EBS AP取消核销

    --取消核销 created by jenrry 20170425 DECLARE l_result BOOLEAN; l_msg_count NUMBER; l_result_n varchar2( ...

  6. Oracle EBS 付款后无法创建会计科目

    Oracle EBS 付款后无法创建会计科目 通过 运行创建会计 选择明细后 查看到输出结果: 错误编号:95353 错误消息:子分类帐会计无法使用 Oracle 拥有的帐户推导规则 远期付款账户 导 ...

  7. EBS创建会计科目请求报错问题查询

    1.修改如下2个配置文件 把 FND:启用调试日志 在当前用户或职责层改成 是 把 FND:调试日志级别 在当前用户或职责层改成 对账单 2.重新运行创建会计科目请求 3.执行下面的sql查询日志信息 ...

  8. anaconda创建菜单失败

    20210508 六 版本安装Anaconda3-2019.07-Windows-x86_64.exe报错 anaconda创建菜单失败 到官网下载最新版本问题解决Anaconda3-2020.11- ...

  9. mysql创建新表失败_MySQL创建表失败的问题

    今天有一个朋友问我一个MySQL的建表问题,问题的现象是创建表失败,根据他的反馈,问题比较奇怪, CREATE TABLE XXX ..此处省略260多个字段 `xxxxIsAllowIn` varc ...

最新文章

  1. 新一代宽带路由器—Vigor防火墙路由器
  2. 关于工作的选择之软件开发还是软件维护的建议
  3. 前端学习(2775):方式2进行路由跳转
  4. python模拟内置函数all_Python内置all函数详细介绍
  5. LeetCode 22. Generate Parentheses
  6. 去除QQ打/之后会出现的表情
  7. redis教程(七)之redis List
  8. 揭开面纱:Kubernetes架构详解
  9. python模块分析之typing(三)
  10. matlab 图像傅里叶逆变换,用MATLAB实现图像的傅里叶变换.ppt
  11. iOS Core Bluetooth 教程:心率监测
  12. ubuntu无法进入图形界面,停留在【ok】启动界面
  13. Matlab之inv函数
  14. could not delete: [org.jbpm.pvm.internal.model.ExecutionImpl#20007] 使用jbpm流程结束时出现异常
  15. 六种黑客入侵手机的常见方式
  16. 实现变色TextView及ViewPager指示器(原来可以这么简单)
  17. HiveSql工作中常见易错点总结
  18. 使用ch.ethz.ssh2中sess.execCommand方法导致线程卡死的原因分析
  19. 十多个巨头App上可跑智能小程序了
  20. Scrum 项目6.0-展示Sprint回顾的过程及成果。

热门文章

  1. linux系统调用劫持隐藏进程,linux 下隐藏进程的一种方法及遇到的坑
  2. 集合字典序(优先队列)
  3. LADRC的学习——PID的学习
  4. 下面不是android四大组件之一的是,Android四大组件之一 Service
  5. 用幂次变换来增强图像matlab,基于幂次变换及MSR光照不均图像增强.doc
  6. docker︱docker run的解读与一键部署
  7. typescript探索(一)
  8. Linux 命令行提示符路径显示
  9. 《Learning Scrapy》(中文版)第8章 Scrapy编程
  10. QQ第三方授权登录(带详细源码)