Monday, February 1, 2010

Quick Tax Calculation

So sometimes all you need is to calculate an amount’s tax. Here it is.

 

static void CalcTax(Args _args)

{

    Tax         tax;

    Amount      taxAmount;

    ;

    tax = new Tax();

    taxAmount = tax::calcTaxAmount("GST","GST",systemdateget(),"AUD",100,TaxModuleType::Project);

   

    print taxAmount;

    pause;

}

No comments:

Post a Comment