web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Why is tax group not set when creating customer invoice from general Journal?

(0) ShareShare
ReportReport
Posted on by 2,460

I'm currently investigating issues during the posting of cash discounts when settling a customer invoice in case the tax is exempt.

Specifically I was analyzing method cashDiscountLedgerDimension in class CustVendSettle_Cust, which will only call method findTaxLedgerDimension if the fields TaxGroup and SumTax are set in the CustInvoiceJour record. But when creating a customer invoice by posting a general Journal, these fields are empty (in case of exempt tax). Now for the SumTax field KB 3020713 seems to provide a fix. Unfortunately this does not seem to solve the issue with the empty TaxGroup. Additionally I could not find any code that would set this field in case of posting of a general journal (method createInvoiceJournal of class CustVoucher).

So does anybody know why field TaxGroup in table CustInvoiceJour is not filled when the invoice journal is created by posting a general gournal?

*This post is locked for comments

I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Tocauer Profile Picture

Martin Tocauer 4

#2
AlissonGodoy Profile Picture

AlissonGodoy 2

#2
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans