@madhu
Stock transactions are recorded in Bin DocType and it is Bin Doctype mainly record all the transactions. You can fetch by interacting with database
daffy.db.get_doc('Bin', 'MAT-BIN-2023-00068')
For more detail about how to interact with accu360 database follow this document.