1、问题描述
总账期末结账报错,报错如图:
报错堆栈:
Caused by: java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Integer.java:465)
at java.lang.Integer.valueOf(Integer.java:593)
at com.kingdee.eas.fi.gl.cslacct.app.RequisitionControllerBean.exists_NonCheckedNew(RequisitionControllerBean.java:161)
2、解决方案
是因为缺少总账参数GL_0121导致,后台执行补丁脚本即可,脚本如下:
IF NOT EXISTS (SELECT 1 from t_bas_paramvaluerange where FID = 'sBqCdDhgQkjgUztAqMCoEBsoUZM=')
INSERT INTO t_bas_paramvaluerange (FID ,FVALUEENUM_L2 ,FVALUEENUM_L3 )VALUES ('sBqCdDhgQkjgUztAqMCoEBsoUZM=','发送的通知单#全部','發送的通知單#全部' );
IF NOT EXISTS (SELECT 1 from t_bas_param where fnumber='GL_121')
INSERT INTO t_bas_param (FID,FDEFAULTVAL_L1,FDEFAULTVAL_L2 ,FDEFAULTVAL_L3 ,FVALUEALIAS_L1 ,FVALUEALIAS_L2 ,FVALUEALIAS_L3 ,FDESC_L1 ,FDESC_L2 ,FDESC_L3 ,FISUSERDEFINED ,FNAME_L1 ,FNAME_L2 ,FNAME_L3 ,FNUMBER ,FISGROUPCONTROL ,FCANBEMODIFIED ,FORGTYPE ,FCREATORID,FLASTUPDATEUSERID ,FVALUERANGE ,FDATATYPE ,FSUBSYSID ,FUSEREDIT ,FCONTROLUNITID ) VALUES ( 'sBqlaDMhTPLgUztAqMCyAqiB8+c=','0','0','0','','发送的通知单','發送的通知單','','发送的通知单,只校验发送的通知单。全部,校验发送和接收的通知单','發送的通知單,只校驗發送的通知單。全部,校驗發送的和接收的通知單',0,'','结账校验发送的通知类别','結賬校驗發送的通知類別','GL_121',0,1,1,'00000000-0000-0000-0000-00000000000013B7DE7F','00000000-0000-0000-0000-00000000000013B7DE7F','sBqCdDhgQkjgUztAqMCoEBsoUZM=',5,'com.kingdee.eas.fi.gl.gl',0,'00000000-0000-0000-0000-000000000000CCE7AED4');