How to calculate tax of a sales order using MSDAX x++?

How to calculate tax of a sales order using x++?

There is link where you can get help to calculate tax of a sales order by code .

http://www.msdynamicsax.info/2010/04/get-total-sales-order.html

I hope this will help you