!IMPORTANT! Initial stock value

Helloo, i’m making a new report that should have as columns: Item name, Initial stock quantity and the quantity left.
so to get the quantity left its easy, i can get it from the table: ‘tabStock Ledger Entry’.actual_qty
but my problem is i don’t know how can i get The initial stock value of each item before any purchase.
Any Idea? plz i need this ASAP.
Thanks in advance.

You could select movements and ordering them by data ASC and get the first.

i didnt get your point. Please can u explain more