金蝶单位换算方法
Kingdee.BOS.ServiceHelper.dll
using Kingdee.BOS.ServiceHelper;
decimal thisPassAbsBaseQty = ConvertServiceHelper.GetBaseUnitQty(this.Context, Convert.ToInt64(MaterialID_id), Convert.ToInt64(UnitID_id), thisPassAbsQty);//基本单位数量
decimal thisPassAbsPriceQty = ConvertServiceHelper.GetUnitTransQty(this.Context, Convert.ToInt64(MaterialID_id), Convert.ToInt64(UnitID_id), Convert.ToInt64(PRICEUNITID_id), thisPassAbsBaseQty);//计价单位数量