壹佰网|ERP100 - 企业信息化知识门户

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 3642|回复: 5

应付款管理系统会计核算流程无法创建会计分录

[复制链接]
发表于 2007/9/3 14:19:46 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。如果您注册时有任何问题请联系客服QQ: 83569622  。

您需要 登录 才可以下载或查看,没有帐号?注册

x
“应付款管理系统会计核算流程”启用了跟踪,check_id=106756, 付款编号=12045575,OU是在线,PAYMENT EVENT (ID = 209179)无法创建会计分录,Payment Cancellation Event (ID = 209187)也无法创建。请检查原因,如果能产生会计分录,就生成;如果无法生成,请将该付款的“已入帐”修改为已入帐状态。

下面是错误信息:
+---------------------------------------------------------------------------+
Oracle 应付款管理系统: Version : 11.5.0 - Development
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
APACCENG module: 应付款管理系统会计核算流程
+---------------------------------------------------------------------------+
当前的系统时间为 03-09-2007 10:04:05
+---------------------------------------------------------------------------+
+-----------------------------
| 正在启动并发执行程序...
+-----------------------------
变元
------------
P_JOURNAL_CATEGORY='All'
P_SUB_TRANSF_TO_GL='Y'
P_SUB_JOURNAL_IMP='Y'
P_VALIDATE_ACCTS='Y'
P_SUMMARIZE_FLAG='N'
P_COMMIT_CYCLE='50'
P_ORG_ID='85'
P_DEBUG_SWITCH='Y'
P_TRACE_SWITCH='N'
P_RUN_ACCT_REPORT='Y'
------------
-- Start of Reports Command --
ar60run
P_CONC_REQUEST_ID=2151714
P_JOURNAL_CATEGORY='All'
P_SUB_TRANSF_TO_GL='Y'
P_SUB_JOURNAL_IMP='Y'
P_VALIDATE_ACCTS='Y'
P_SUMMARIZE_FLAG='N'
P_COMMIT_CYCLE='50'
P_ORG_ID='85'
P_DEBUG_SWITCH='Y'
P_TRACE_SWITCH='N'
P_RUN_ACCT_REPORT='Y'
report=/prod/prodappl/ap/11.5.0/reports/ZHS/APXAEREP.rdf
batch=yes
destype=file
desname=/prod/prodcomn/admin/out/PROD_ERP2/o2151714.out
desformat=/prod/prodappl/fnd/11.5.0/reports/HPL
pagesize=132x66
-- End of Reports Command --
Request language is :
SIMPLIFIED CHINESE
Request territory is :
CHINA
Previous NLS_LANG Environment Variable was :
SIMPLIFIED CHINESE_CHINA.ZHS16GBK
Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
SIMPLIFIED CHINESE_CHINA.ZHS16GBK
'.,'
Spawned Process 4393
MSG-00001: After SRWINIT
MSG-00002: Check that AX is not installed before calling the accounting engine
MSG-00003: AX is not installed, Calling the accounting engine
MSG-00004: After the call to AP_Accounting_Engine_Pkg.Do_Accounting
MSG-00007: After Get_Company_Name
MSG-00008: After Get_NLS_Strings
MSG-00009: After Get_Base_Curr_Data
MSG-00010: After populating report count
MSG-00010: After populating cannot account transaction count
MSG-00011: After getting the chart_of_accounts_id
MSG-00010: After Custom_Init
MSG-00015: About to undo accounting for event_id 209179
MSG-00016: After undo_accounting for event_id 209179
MSG-00015: Before trying to submit GL Transfer
MSG-00017: GL Transfer submitted successfully, Req. ID:2151718
Report Builder: Release 6.0.8.20.2 - Production on 1 09 3 10:04:05 2007
(c) Copyright 1999 Oracle Corporation.  All rights reserved.
输入用户名:
Reset original NLS_LANG in environment as :  
SIMPLIFIED CHINESE_CHINA.ZHS16GBK
+---------------------------------------------------------------------------+
Plsql 程序的日志信息开始
+---------------------------------------------------------------------------+
Input Parameter Values :
   P_start_date =
   P_end_date =
   P_journal_category = All
   P_invoice_batch_id =
   P_invoice_id =
   P_payment_batch_name =
   P_check_id =
   P_gl_transfer_flag = Y
  P_journal_import_flag = Y
   P_commit_cycle = 50
   P_validate_accounts = Y
   P_summarize_report = N
   P_debug = Y
   P_calling_sequence = APXAEREP
Initializing and caching all accounting rule info ...
Number of rows in SOB PL/SQL table before calling MRC API = 1
Number of rows in SOB PL/SQL table after calling MRC API = 1
Finished Initialization
Setting posted flag of invoice distributions to S
Starting to account all the events created ...
Calling Create_Accounting_Entry for PAYMENT EVENT (ID = 209179) ...
Inside AP_Accounting_Main_Pkg package.
About to account for Payment Event (ID = 209179) for SOB ID  1 ...
Inside Execute for Payment_Event_Core
SOB ID = 1
SOB Type = P
Check ID = 106756
Check ID = 106756
Inside Derive_Accounting_Entry for Payment_Event_Core
Starting Accrual Basis Accounting for Payment Event...
INSERTing Header into AP_AE_Headers ...
Entering loop for creating the AE lines ...
Accounting Event ID = 209179
Check ID = 106756
Getting Invoice info ...
Getting invoice info for invoice ID 114069
Inside Accrual_Account_Payment_Line for Payment_Event_Core
Getting proration divisor ...
Creating (backing out) Liability Line ...
Inside Create_Accrual_AE_Lines_Liab...
P_rounding_amount =
l_total_rounding =
l_check_rounding = 40300
Creating summarized Cash Line ...
AE Line Accounted Status = ERROR
AE Header Accounted Status =
Calling Create_Accounting_Entry for PAYMENT CANCELLATION EVENT (ID = 209187) ...
Inside AP_Accounting_Main_Pkg package.
About to account for Payment Cancellation Event (ID = 209187) for SOB ID  1 ...
Inside Execute for Payment_Canc_Event_Core
Cannot Account for void of北京北四环支行 bank account's check number 12045575 be
cause some prior event is NOT accounted.
AE Line Accounted Status = CANNOT ACCOUNT FOR THIS EVENT
Finished accounting all the events created. Submitting Accounting Entry Report..
.
+---------------------------------------------------------------------------+
PlSql 程序的日志信息结尾
+---------------------------------------------------------------------------+
+---------------------------------------------------------------------------+
正在执行请求完成选项...
未打印输出文件,因为:
已禁用此报表的打印选项。
+------------- 1) PRINT   -------------+
+--------------------------------------+
已完成执行请求完成选项。
+---------------------------------------------------------------------------+
已成功完成并发请求
当前的系统时间为 03-09-2007 10:04:10
+---------------------------------------------------------------------------+

 楼主| 发表于 2007/9/3 14:20:53 | 显示全部楼层
以下为百度工程师给出的解决方案:

  1. UPDATE ap.ap_invoice_payments_all t
  2. SET t.accrual_posted_flag = 'Y',
  3.     t.cash_posted_flag    = 'Y',
  4.     t.posted_flag         = 'Y'
  5. WHERE t.check_id = 106756;

  6. UPDATE ap.ap_accounting_events_all t
  7. SET t.event_status_code = 'ACCOUNTED', t.cannot_account_flag = ''
  8. WHERE t.accounting_event_id IN (209179, 209180, 209187);

复制代码
发表于 2007/9/3 16:14:42 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
发表于 2007/9/3 16:15:25 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
发表于 2007/9/3 16:18:13 | 显示全部楼层
没有汇率也不能建立会计科目
发表于 2010/12/11 20:52:15 | 显示全部楼层
学习了,收藏备用
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|手机版|壹佰网 ERP100 ( 京ICP备19053597号-2 )

Copyright © 2005-2012 北京海之大网络技术有限责任公司 服务器托管由互联互通
手机:13911575376
网站技术点击发送消息给对方83569622   广告&合作 点击发送消息给对方27675401   点击发送消息给对方634043306   咨询及人才点击发送消息给对方138011526

GMT+8, 2025/11/29 23:43 , Processed in 0.018710 second(s), 14 queries , File On.

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表