...
解决方法:禁用掉多余的开票用户,删掉开票通知单,然后重置应收单的金额,脚本如下:
update T_AR_OtherBillentry
set CFUNSUBMITAMT=FAMOUNT
where fparentid in (
select fid from T_AR_OtherBill where fnumber in (
'应收单号')
) ) and CFUNSUBMITAMT>FAMOUNT
...
...
解决方法:禁用掉多余的开票用户,删掉开票通知单,然后重置应收单的金额,脚本如下:
update T_AR_OtherBillentry
set CFUNSUBMITAMT=FAMOUNT
where fparentid in (
select fid from T_AR_OtherBill where fnumber in (
'应收单号')
) ) and CFUNSUBMITAMT>FAMOUNT
...