|
问题现象:在用友8.60sperp系统中用友U8版本号:U8.60sp软件的财务系统产品线应付模块出现如下问题:采购发票参照入库单生成,传递到应付模块审核后生成凭证不平衡。请帮忙解答!
原因分析:有以下语句查询的记录SELECT*FROMRdRecordsWHERE(IDIN(SELECTidFROMRdRecordWHERE(bRdFlag=1)AND(cVouchType='01')))AND(iPriceiQuantity*iUnitCost)AND(iPriceiOriMoney)OR(IDIN(SELECTidFROMRdRecordWHERE(bRdFlag=1)AND(cVouchType='01')))AND(iPriceiOriMoney)AND(iOriMoneyiQuantity*iOriCost)。
解决方案:在用友erp 系统版本U8.60sp软件中执行以下语句:UPDATERdRecordsSETiOriMoney=iQuantity*iOriCost,iOriTaxPrice=iQuantity*iOriCost*iTaxRate/100,ioriSum=iQuantity*iOriCost+iQuantity*iOriCost*iTaxRate/100,iTaxPrice=iQuantity*iOriCost*iTaxRate/100,iSum=iQuantity*iOriCost+iQuantity*iOriCost*iTaxRate/100WHERE(IDIN(SELECTidFROMRdRecordWHERE(bRdFlag=1)AND(cVouchType='01')))AND(iPriceiQuantity*iUnitCost)AND(iPriceiOriMoney)OR(IDIN(SELECTidFROMRdRecordWHERE(bRdFlag=1)AND(cVouchType='01')))AND(iPriceiOriMoney)AND(iOriMoneyiQuantity*iOriCost)。
|
|