update vs4tinventorymb set tinmamount=tinmamouquantity*tinmunitcost where tinmunitcalc=0
update vs4tinventorymb set tinmamount=tinmamouquantity2*tinmunitcost where tinmunitcalc=1
update vs4tinventorymb set tinmamount=tinmamouquantity3*tinmunitcost where tinmunitcalc=2