差旅报销单导入发票后提示座位字段超长
问题描述
现场差旅报销单导入发票后台提示如下:
Caused exception message is: ORA-12899: 列 "EAS"."T_BC_TRATICKETENTRY"."FSEATCLASS" 的值太大 (实际值: 21, 最大值: 20)
at com.kingdee.bos.dao.ormapping.ORMappingDAO.innerAddnew(ORMappingDAO.java:1103)
at com.kingdee.bos.dao.ormapping.ORMappingDAO.addnew(ORMappingDAO.java:1042)
问题分析
差旅报销单发票分录T_BC_TRATICKETENTRY表中座位字段FSEATCLASS长度太小,无法满足现场需求
解决方案
临时方案:
IF EXISTS(SELECT 1 FROM Ksql_usercolumns where ksql_col_tabname ='T_BC_TraTicketEntry'and ksql_col_name ='FSEATCLASS')
alter table T_BC_TraTicketEntry alter FSEATCLASS NVARCHAR (80);
补丁处理:
82 PT170676(2023-03-24)
85 PT170595(2023-03-24)
86 PT170608(2023-03-24)
差旅报销单导入发票后提示座位字段超长
本文2024-09-22 18:47:23发表“eas cloud知识”栏目。
本文链接:https://wenku.my7c.com/article/kingdee-eas-103032.html