|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册账号
×
本帖最后由 liuqingfeng 于 2010-1-4 16:38 编辑
852应收年结失败,下面是部分跟踪文件,不知什么原因,谢谢!帐套055
USE UFSystem
go
declare @P1 int
set @P1=180150144
declare @P2 int
set @P2=8
declare @P3 int
set @P3=1
declare @P4 int
set @P4=5
exec sp_cursoropen @P1 output, N'SELECT csub_name ,cstation ,TaskState ,dintime ,csub_id,ctaskid FROM UA_TaskLog WHERE cAppServer like ''{152D3537-34FA-4C19-B719-C0FB6D8CEA9D}%'' ORDER BY cstation,csub_name,TaskState', @P2 output, @P3 output, @P4 output
select @P1, @P2, @P3, @P4
go
exec sp_cursorfetch 180150144, 16, 1, 1
go
exec sp_cursorfetch 180150144, 16, 1, 1
go
exec sp_cursorfetch 180150144, 16, 2, 1
go
exec sp_cursorfetch 180150144, 16, 3, 1
go
exec sp_cursorfetch 180150144, 16, 4, 1
go
exec sp_cursorfetch 180150144, 16, 5, 1
go
exec sp_cursorfetch 180150144, 16, 6, 1
go
USE UFSystem
go
declare @P1 int
set @P1=180150145
declare @P2 int
set @P2=8
declare @P3 int
set @P3=1
declare @P4 int
set @P4=2
exec sp_cursoropen @P1 output, N'SELECT UA_Task.cacc_id AS 账套号,iyear AS 年度,cUser_Id AS 操作员,''[''+UA_Task.cauth_id+'']''+UA_Auth.cauth_name AS 执行功能 FROM UA_Task,UA_Auth WHERE cTaskId=''10484672'' AND UA_Task.cAuth_id=UA_Auth.cAuth_id ORDER BY cAuth_name', @P2 output, @P3 output, @P4 output
select @P1, @P2, @P3, @P4
go
exec sp_cursorfetch 180150145, 16, 1, 1
go
exec sp_cursorfetch 180150145, 16, 1, 1
go
exec sp_cursorfetch 180150145, 16, 2, 1
go
exec sp_cursorfetch 180150145, 16, 3, 1
go
exec sp_cursorclose 180150145
go
exec sp_cursorclose 180150144
go
select bcal from ForeignCurrency where cexch_name='人民币'
go
select fadvdate from venandinv where cvencode='02005' and cinvcode='PG1101003804'
go |
|