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

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,336 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,025 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans