【BOTP】单据转换规则复制保存报错
金蝶云社区-yangyang0283
yangyang0283
2人赞赏了该文章 2,022次浏览 未经作者许可,禁止转载编辑于2014年03月12日 10:00:47
问题描述:单据转换规则复制后保存报错,大多是协同的业务单据,如:报销单生成付款单,费用报销单或差旅费报销单生成凭证等,报错信息类似于以下内容:错误信息一错误信息:create data error.将截断字符串或二进制数据。Caused exception message is: DataLimitCaused exception message is: 将截断字符串或二进制数据。错误详细堆栈信息:com.kingdee.bos.dao.ormapping.SQLAccessException: create data error.将截断字符串或二进制数据。Caused exception message is: DataLimitCaused exception message is: 将截断字符串或二进制数据。at com.kingdee.bos.dao.ormapping.ORMappingDAO.innerAddnew(ORMappingDAO.java:714)at com.kingdee.bos.dao.ormapping.ORMappingDAO.addnew(ORMappingDAO.java:692)错误信息二错误信息:create data error.ORA-12899: value too large for column "EAS"."T_BOT_MAPPING"."FALIAS_L1" (actual: 84, maximum: 80) Caused exception message is: DataLimitCaused exception message is: ORA-12899: value too large for column "EAS"."T_BOT_MAPPING"."FALIAS_L1" (actual: 84, maximum: 80) 错误详细堆栈信息:com.kingdee.bos.dao.ormapping.SQLAccessException: create data error.ORA-12899: value too large for column "EAS"."T_BOT_MAPPING"."FALIAS_L1" (actual: 84, maximum: 80) Caused exception message is: DataLimitCaused exception message is: ORA-12899: value too large for column "EAS"."T_BOT_MAPPING"."FALIAS_L1" (actual: 84, maximum: 80)问题分析:表字段超长导致。解决方法select * from t_bot_mapping where fname =‘规则编码(单据转换界面中“编码”字段内容)’,查到FAlias_L1(英文名称),FAlias_L3(繁体名称),将这2个字段清空。规则名称对应的是FAlias