问题描述:没有财务期初数据,删除客户档案提示删除失败。
处理方法:备份数据执行下面语句清除使用记录,引号内的编号要改成往来单位的编号,有多个往来单位要删除,就按格式填对应个数。
delete from Ac_Bas_Finance_Init_Item where Bid in (select Bid from Bas_BType where UserCode in ('编号3','编号2','编号1'))
delete from Ac_Bas_Finance_Init_Item_History where Bid in (select Bid from Bas_BType where UserCode in ('编号3','编号2','编号1'))
所有往来单位都要删除时修改编号太麻烦了,若客户不要财务期初数据,就做财务重建。
