凭证提交或过账提示ORA-00904: "FINSERTID": 标识符无效
1、问题描述
8.2版凭证提交或过账提示
2、业务场景(参考)
Sql222 execute exception : insert into t_gl_voucher_log(FEntryID, FAssistID, FActionID, FInsertID, fisassist,fvoucherid,fcreatetime,faction,fbaltype,fcompanyid,fperiodid,faccountid,fcurrencyid, fdebitfor,fdebitlocal,fdebitrpt,fstandarddebitqty,fcreditfor,fcreditlocal,fcreditrpt,fstandardcreditqty, fmonthpnlfor,fmonthpnllocal,fmonthpnlrpt,fisupdating,fvecount) select ve.FID, null, ?, ?, 0, v.fid,getdate(),?,?,v.fcompanyid,v.fperiodid,ve.faccountid,ve.fcurrencyid,1*ve.fentrydc*ve.foriginalamount,1*ve.fentrydc*ve.flocalamount,1*ve.fentrydc*ve.freportingamount,1*ve.fentrydc*ve.fstandardquantity,1*(1-ve.fentrydc)*ve.foriginalamount,1*(1-ve.fentrydc)*ve.flocalamount,1*(1-ve.fentrydc)*ve.freportingamount,1*(1-ve.fentrydc)*ve.fstandardquantity, case when (acctType.FProperty = 4 or (acctType.FProperty in (8, 12, 13, 14) and av.FPLType <> 0)) and v.FSourceType <> 1 then (2 * ve.FEntryDC - 1)*ve.foriginalamount*1 else 0 end, case when (acctType.FProperty = 4 or (acctType.FProperty in (8, 12, 13, 14) and av.FPLType <> 0)) and v.FSourceType <> 1 then (2 * ve.FEntryDC - 1)*ve.flocalamount*1 else 0 end, case when (acctType.FProperty = 4 or (acctType.FProperty in (8, 12, 13, 14) and av.FPLType <> 0)) and v.FSourceType <> 1 then (2 * ve.FEntryDC - 1)*ve.freportingamount*1 else 0 end, 0 ,1 from t_gl_voucher v inner join t_gl_voucherentry ve on ve.fbillid = v.fid inner join t_bd_accountview av on av.fid = ve.faccountid inner join t_bd_accounttype acctType on av.faccounttypeid = acctType.fid where v.fid = ?
Caused exception message is: ORA-00904: "FINSERTID": 标识符无效
at com.kingdee.eas.util.app.DbUtil.execute(DbUtil.java:304)
at com.kingdee.eas.fi.gl.app.GLBalanceFacadeControllerBean._insertVoucherLog(GLBalanceFacadeControllerBean.java:474)
at com.kingdee.eas.fi.gl.app.AbstractGLBalanceFacadeControllerBean.insertVoucherLog(AbstractGLBalanceFacadeControllerBean.java:101)
3、解决方案
补丁PT166814 ,sql 文件PT163567_fi_gl_atler_Voucher_Log.sql 中的给表 t_gl_voucher_log添加字段的脚本未执行造成
4、操作步骤
服务器--管理控制台--执行补丁脚本即可
5、注意
执行脚本的数据中心可以只选择有问题数据中心。
凭证提交或过账提示ORA-00904: "FINSERTID": 标识符无效
本文2024-09-22 18:23:55发表“eas cloud知识”栏目。
本文链接:https://wenku.my7c.com/article/kingdee-eas-100517.html