Do you already have pending prices(InventItemPriceSim) and want to activate all the pending lines?
Or just created active prices without using pending prices?
Have a look at \Data Dictionary\Tables\InventItemPrice\Methods\updateLastPrice
\Data Dictionary\Tables\InventItemPriceSim\Methods\moveSimulatedToCurrent