How can i fetch the values that appear in the Totals button inside the purchase order tab in AX 2012 ?

How can i fetch the values that appear in the Totals button inside the purchase order tab in AX 2012 ?

i am editing the standard report of purchase order, i need to fetch the tax amounts, discounts, etc

any suggestions?