Reference Number per posting

How is it possible to get the reference Number per posting? Because si understand that each transaction is generating a correlative number right?

If I understand your question correctly, it is answered in this Guide: https://www.manager.io/guides/18764.