I am using ax2012 R2, i want to get the Sales Tax Totals from code from LedgerJournalTrans. Is there any existing class for this? How will i execute it?
Check out this code:
ledgerJournalEngine.taxAmountJournal(_ledgerJournalTrans); // this will calculate the tax if you have ledgerjournaltrans line with you.
i want to fetch all the sales tax codes, including their calculated and actual sales tax amount. example, i have a sales group “CA”, with item sales tax group =“ALL”. i want to get all the sales tax codes under that sales tax group for that specific item