UPDATE RdRecords01 SET
ioriSum=ROUND(iquantity * ioritaxcost,2),--原币价税合计
iOriMoney=ROUND(iquantity * ioritaxcost,2) * 100 / (100 + iTaxRate),--原币无税金额
iOriTaxPrice=ROUND(iquantity * ioritaxcost,2)-(ROUND(iquantity * ioritaxcost,2) * 100 / (100 + iTaxRate)),--原币税额
iOriCost=ROUND(((ROUND(iquantity * ioritaxcost,2) * 100 / (100 + iTaxRate))/iQuantity),6),--原币无税单价
iSum=1*ROUND(iquantity * ioritaxcost,2),--本币价税合计
iprice=1*ROUND(iquantity * ioritaxcost,2) * 100 / (100 + iTaxRate),--本币无税金额
iTaxPrice=1*ROUND(iquantity * ioritaxcost,2)-(ROUND(iquantity * ioritaxcost,2) * 100 / (100 + iTaxRate)),--本币税额
iUnitCost=1*ROUND(((ROUND(iquantity * ioritaxcost,2) * 100 / (100 + iTaxRate))/iQuantity),6)--本币无税单价
WHERE 1=1
U8采购单价修复sql以及字段说明
最新推荐文章于 2024-03-22 15:11:57 发布