Supply purchase to CreatePurchase.compute_purchase_line()

issue4015
review14321002