收款单付款单结算报错
金蝶云社区-bin_mei_bingmeijun048183
bin_mei_bingmeijun048183
0人赞赏了该文章 847次浏览 未经作者许可,禁止转载编辑于2015年04月13日 16:12:29

EAS版本:701
问题描述:在收款单、付款单编辑界面点击“结算”按钮,系统报中断错误。
付款单编辑界面点“结算” 关键报错日志:
select ...... from T_AP_OtherBill as t1 inner join T_AP_OtherBillEntry AS t2 on t1.fid = t2.FParentID inner join t_org_company AS t3
Caused by: java.sql.SQLException
java.sql.SQLException: ORA-00904: "T2"."FCONTRACTENTRYSEQ": invalid identifier

收款单编辑界面点“结算”关键报错日志:
select ...... from T_AR_OtherBill as t1 inner join T_AR_OtherBillEntry as t2 on t1.fid = t2.fparentid inner join t_org_company AS t3
Caused by: java.sql.SQLException: ORA-00904: "T2"."FCONTRACTENTRYSEQ": invalid identifier
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:111)

从错误日志可以确定,系统表t_ar_otherbillEntry 和 t_ap_otherbillentry表缺字段 FCONTRACTENTRYSEQ
也就是应收单、应付单分录的合同编码在数据库上没有被定义,需要执行对应的脚本。

“服务器安装目录\eas\server\properties\upgradescript\product\PTM026649\”下的PT023697_contract_patches.ksql脚本文件
或者“服务器安装目录\eas\server\properties\upgradescript\6_0_0to6_0_1\sp\”下的PT023697_contract_patches.ksql脚本文件,
在EAS服务器的管理控制台执行对应的脚本文件即可,如果没有这两个脚本文件,打补丁pt023697,执行补丁脚本即可。