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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Payroll tax group/tax code -> "System Defined" assignments. How does X++ load them into the form?

(0) ShareShare
ReportReport
Posted on by 47

Related to the payroll tax group/tax code assignments that are "system defined". 

Question:

  • How does X populate the pane inside AOT form PayrollTaxGroup? This is the pane that shows tax codes assigned to a selected tax group.  Example below. 

Extra detail:

  • I believe AX relies on a third-party XML file that contains all “system defined” assignments. However, I cannot find any X code inside the AOT form PayrollTaxGroup that taps into this XML file. 
  • I went through all nodes in the form, also the data sources, and many other places. 
  • Table PayrollTaxGroupCode (which stores tax code/group assignments)...only stores “manually created” assignments. It does not store “system defined” assignments.  Example below. 

Examples:

This is the assignment pane. 

pastedimage1624997779077v4.png

pastedimage1624997890849v5.png

Unless I overlooked something, I could not find any special X code to tap into the "system defined" assignments. 

pastedimage1624998032751v6.png

Now lets look at the database table that stores assignments (PayrollTaxGroupCode). 

pastedimage1624998139541v7.png

Below shows that only "manually created" assignments are stored in table PayrollTaxGroupCode.

Example:

Try running this query. 

SELECT TOP 100 * 
FROM MicrosoftDynamicsAX.DBO.PayrollTaxGroupCode

pastedimage1624998251012v9.png

Now add a tax group (with tax code assignments) manually. 

pastedimage1624998458450v10.png

Try running the query (again).

SELECT TOP 100 * 
FROM MicrosoftDynamicsAX.DBO.PayrollTaxGroupCode

pastedimage1624998640685v12.png

Thanks,

Randy

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 456 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 429 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans