起步软件技术论坛-X3

 找回密码
 立即注册
搜索
查看: 368|回复: 1

外部程序启动流程报错

[复制链接]
发表于 2011-2-14 10:49:26 | 显示全部楼层 |阅读模式
在外部程序中,往TFLOW、TFLOWID、TTASK、TTASKMESSAGE、TTASKBIZDATA表中插入数据。在待办任务中生成了待办任务,但是打开待办任务的时候报错。
跟踪到:AFlowControl.CurrentTask.SaveToDB报错

错误信息:
X3 Studio
---------------------------
运行系统初始化的时候发生异常:invoke batch method error, error occur during invoke ApplyUpdates method, 当前修改的数据已经被其他用户修改,不能进行保存操作. SQL:declare @A0 nvarchar(1) select @A0=? declare @A1 nvarchar(32) select @A1=? declare @A2 nvarchar(7) select @A2=? declare @A3 nvarchar(2) select @A3=? declare @A4 nvarchar(32) select @A4=? declare @A5 nvarchar(6) select @A5=? declare @A6 nvarchar(4) select @A6=? declare @A7 nvarchar(11) select @A7=? declare @A8 nvarchar(71) select @A8=? declare @A9 datetime select @A9=? declare @A10 nvarchar(7) select @A10=? declare @A11 nvarchar(5) select @A11=? declare @A12 nvarchar(4) select @A12=? declare @A13 nvarchar(3) select @A13=? declare @A14 nvarchar(7) select @A14=? declare @A15 nvarchar(10) select @A15=? UPDATE TTASKMESSAGE SET FFLAG = @A0 WHERE FGUID = @A1 AND FCLIENTACCOUNT = @A2 AND FPARENTGUID = @A3 AND FTASKGUID = @A4 AND FRDEPT = @A5 AND FRPOSITION = @A6 AND FRPERSON = @A7 AND FRORGURL = @A8 AND FRECEIVETIME = @A9 AND FFINISHTIME is NULL AND FSTATE = @A10 AND FFLAG is NULL AND FRDEPTNAME = @A11 AND FRPOSITIONNAME = @A12 AND FRPERSONNAME = @A13 AND FROGN = @A14 AND FROGNNAME = @A15 AND ESField01 is NULL AND ESField02 is NULL AND ESField03 is NULL AND ESField04 is NULL AND ESField05 is NULL AND ESField06 is NULL AND ECField07 is NULL AND ECField08 is NULL AND ENField17 is NULL AND ENField18 is NULL AND ENField19 is NULL AND ENField20 is NULL AND EDField33 is NULL AND EDField34 is NULL AND EDField35 is NULL AND EDField36 is NULL

类型:Exception。
---------------------------
确定   
---------------------------
回复

使用道具 举报

发表于 2011-2-14 11:49:59 | 显示全部楼层
http://bbs.justep.com/forum.php?mod=viewthread&tid=25175
看看这个帖子是否可以解决。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Justep Inc.

GMT+8, 2024-12-23 14:28 , Processed in 0.037992 second(s), 15 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表