Last Cost with Average Valuation Method

All items have a valuation method of average cost. 

When enter purchase orders, we want to use last cost. 

We do not want to enter vendor price levels. 

Is there a way to use last cost in Purchase Order Entry, maybe using a script?