This works to look up a price and divide it by 2:
Field AdvancedPricing
formulafill
lookupselected(“PriceSource”,«ItemNum»,«ItemNumber»,val(«Retail»),0)/2
But this (which I’ve tried in various versions) doesn’t work. I need to be able to prepend some text and what used to work (I have old code from Pan 6) isn’t working now:
FormulaFill “~Retail~~1~0.0000~”+str(lookupselected(“PriceSource”,“ItemNum”,ItemNumber,val(“Retail”)/2),0)
Thanks in advance as always!
b