Extracting my opening balance.. How?

being
Hi,

How can I extract my opening balance directly in my code?

Thanks
This discussion has been closed.