|
|
问题现象:在用友8.51Aerp系统中用友U8版本号:U8.51A软件的供应链产品线销售管理模块出现如下问题:销售日报复核提示:PubicFunction:MakedispatchError(0):发货单主表ID申请失败或单据号重复,请稍后再试发货单保存提示:操作过程中发生资源共享冲突(可能单据号重复),请稍后重试!请帮助解决!请帮忙解答!
原因分析:此问题由最大单据号表错误引起。
解决方案:在用友erp 系统版本U8.51A软件中请在查询分析器中执行如下脚本(其中具体的数据库视用户实际情况更改)useufsystemupdateua_identitysetiFatherid=(selectmax(dlid)fromufdata_700_2005..dispatchlist),iChildID=(selectmax(idlsid)fromufdata_700_2005..dispatchlists)wherecacc_id='700'andcVouchType='Dispatch'updateua_identitysetiFatherid=(selectmax(id)fromufdata_700_2005..rdrecord),iChildID=(selectmax(autoid)fromufdata_700_2005..rdrecords)wherecacc_id='700'andcVouchType='rd'updateua_identitysetiFatherid=(selectmax(sbvid)fromufdata_700_2005..SaleBillVouch),iChildID=(selectmax(autoid)fromufdata_700_2005..SaleBillVouchs)wherecacc_id='700'andcVouchType='billvouch'。
|
|