Change the behavior of the process associated with System Option #1 - "Automatic P.O. generation during Invoicing" so that it will respect the setting of System Option #60 - "Use last vendor cost on P.O.'s.".
This change also applies to the process associated with Modification #641 which automatically generates Purchase Orders in Create Sales Order.
Previously this process always used the last vendor cost.