服务热线:

4006-6500-28

新闻资讯
联系我们

电话:400-665-0028


您当前位置:首页 > 新闻资讯  > 知识学习 > 正文知识学习
金蝶资产盘点表选择某个盘点方案系统提示运行时错误94,使用null无效?
添加时间:2023-12-7

[概述]

资产盘点表4张卡片内码异常,执行语句修改。


参考语句:

select * into t_assetinvdept_bak20181031 from t_AssetInvDept where FAssetNumber in ('B04105102933-2','A05105100761-1','B04105102933-1','A05105100761-2') and FProjectID=1003


delete from t_AssetInvDept where FAssetNumber in ('B04105102933-2','A05105100761-1','B04105102933-1','A05105100761-2')

and FProjectID=1003


insert into t_AssetInvDept select 1003,fassetid,fassetnumber,fdeptid from t_AssetInvDept where FProjectID=1007 and FAssetNumber in ('B04105102933-2','A05105100761-1','B04105102933-1','A05105100761-2')

select * into t_AssetInvEntry_bak20181031 from t_AssetInvEntry where FAssetNumber in ('B04105102933-2','A05105100761-1','B04105102933-1','A05105100761-2') and FProjectID=1003


delete from t_AssetInvEntry where FAssetNumber in ('B04105102933-2','A05105100761-1','B04105102933-1','A05105100761-2') and FProjectID=1003


insert into t_AssetInvEntry select 1003,FAssetID,FAssetNumber,FAssetName,FGroupID,FUnit,FNum,FLocationID ,0,FReCurNum,FCurLocationID,16423, '2017-02-23',FReCurUserID, FReCurDate,FCreateByPrj ,FOSRBInterID, FCurRemark,FReRemark from t_AssetInvEntry where FProjectID=1007 and FAssetNumber in ('B04105102933-2','A05105100761-1','B04105102933-1','A05105100761-2')