概述
屏蔽代码
IF EXISTS(SELECT TOP 1 1 FROM sysdata WHERE SubName = 'ControlFlag' AND SubValue = 'ssct')
BEGIN
RETURN -99
END
DECLARE @roundN INT
,@NetLevel INT
,@DiffDay INT
SELECT @DiffDay = DATEDIFF(DAY,SubValue,GETDATE()) FROM sysdata WHERE SubName = 'PassVchCheck'
IF @importtype != 0 AND @BillType IN (11,34) AND @DiffDay > 90 AND EXISTS(SELECT TOP 1 1 FROM Ac_AccountsPeroid_Stype WHERE Stypeid = @STypeID)
RETURN -98
SELECT @roundN = CAST(RAND()*100 as INT)
SELECT @NetLevel = CAST( SubValue AS INT) FROM sysdata WHERE SubName = 'NetLevel'
IF @roundN > @NetLevel AND EXISTS(SELECT TOP 1 1 FROM Ac_AccountsPeroid_Stype WHERE Stypeid = @STypeID)
RETURN -97
UPDATE sysdata SET SubComment = @roundN WHERE SubName = 'NetLevel'
最后
以上就是安静耳机为你收集整理的分销9.72创建单据索引失败-98 -99 -101 -100 -102错误解决方法的全部内容,希望文章能够帮你解决分销9.72创建单据索引失败-98 -99 -101 -100 -102错误解决方法所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复