If an average purchase price exists and we want the last purchase price to match it:
update cklad set lastdoctprice = avgprice
If a last purchase price exists and we want the average price to match it:
update cklad set avgprice= lastdoctprice
When running against a central database, append where id= followed by the id of the site you want to align.
Last updated by admin on March 29, 2020 · 2234 reads · Rate this page0000
