问题补充:
怎么才能把“外购入库生成暂估冲回凭证”更改为“外购入库不生成暂估冲回凭证”?
--修改为暂估冲回不生成凭证
exec sp_executesql N'update t_SystemProfile set FValue = @P1 where FCategory = @P2 and FKey = @P3', N'@P1 varchar(255),@P2 varchar(30),@P3 varchar(30)', '0', 'IC', 'MakeZanGuVoucher'
--修改支持部分钩稽
If not exists(Select * from t_SystemProfile Where FCategory='IC' and FKey='PurchaseSupportPartiallyHook')
INSERT INTO t_SystemProfile(FCategory,FKey,FValue,FReadonly,FDescription)
VALUES ('IC','PurchaseSupportPartiallyHook','1',1,'采购系统支持部分钩稽')
Else
Update t_SystemProfile Set FValue='1' Where FCategory='IC' and FKey='PurchaseSupportPartiallyHook'
Update t_SystemProfile Set FValue='1' Where FCategory IN ('Imp','Exp') and FKey='PurchaseSupportPartiallyHook'
Update ICSystemProfile Set FValue='1' Where FCategory IN ('Imp','Exp') and FKey='PurchaseSupportPartiallyHook'
金蝶软件资讯网 http://www.winerp.cn
西安金蝶软件 http://www.3rensoft.com
西安(陕西)地区金蝶软件销售及服务咨询。
销售咨询电话:029-88455355
技术咨询电话:029-88455366
售前咨询QQ客服: