客户以前使用的存货自由项,但是觉得出入库时输入太麻烦,要取消,挺让人头大!可以使用以下方式取消自由设置(假设启用的是自由项1)
1、把收发存记录子表的自由设置为默认值:update rdrecords set cfree1=null
2、把库存总账的表进行一定的修改:update St_Totalaccount set cfree1=null
3、修改存货是否自由项核算update inventory set bcfree1=0
4、取消自由项启用并删除自由项档案:delete userdefine where cid=(select cid from UserDef where citem=‘自由项1’ )
update UserDef set citemname=null where citem=\'自由项1\'
不改收发存记录和库存总账现存量会有问题。影响到正常的出库业务!