Calculate profit on FIFO Basis.
Required 3 CSV file.
1st p.csv having format item,date,qty,rate
2nd s.csv having format item,date,qty,rate
3rd l.csv having list of item
it does not automaticallt sort date so you have to enter purchase and sales date wise