特价活动:>>>> 畅云管家新购、续费8折优惠,畅捷通T+cloud、好会计、易代账、好业财、好生意云产品8折优惠。
【问题现象】
删除单据提示:存货[XXX]信息已发生修改,不允许此操作!
【问题原因】单据界面的销售单位和存货档案的不一致。
如下图:存货触摸式液晶控制面板,单据上的销售单位为个,但实际基础档案的计量单位为台
【解决方案】
1、查存货对应计量单位id
select idunit from AA_inventory where code='存货编码'
2、查存货明细在销售单明细表中id
select id from SA_SaleDelivery_b where idinventory in (select id from AA_inventory where code='存货编码') and idSaleDeliveryDTO in (select id from SA_SaleDelivery where code='单据编号')
3、更新销货单明细表中存货计量单位id
update SA_SaleDelivery_b set idunit=计量单位id where id=销货单明细id
举例:
--update SA_SaleDelivery_b set idunit=14 where id=194578
具体步骤:
1、查存货对应计量单位id
select idunit from AA_inventory where code=’存货编码’
2、查存货明细在销售单明细表中id
select id from SA_SaleDelivery_b where idinventory in (select id from AA_inventory where code='存货编码') and idSaleDeliveryDTO in (select id from SA_SaleDelivery where code='单据编号')
3、更新销货单明细表中存货计量单位id
update SA_SaleDelivery_b set idunit=计量单位id where id=销货单明细id
客服电话:400-665-0028
关键字:用友财务软件,畅捷通软件,财务软件,进销存软件,U9官网,用友U8,用友T1,用友T+,用友T3,用友T6,畅捷通好会计,好生意,智+好业财,用友培训服务售后公司,畅捷通运营培训服务公司
版权所有:用友畅捷通软件 Copyright © 2026 All rights reserved.