stock history from purchase GRN and direct invoice