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.
Unless I overlooked something, I could not find any special X code to tap into the "system defined" assignments.
Now lets look at the database table that stores assignments (PayrollTaxGroupCode).
Below shows that only "manually created" assignments are stored in table PayrollTaxGroupCode.
Example:
Try running this query.
SELECT TOP 100 * FROM MicrosoftDynamicsAX.DBO.PayrollTaxGroupCode
Now add a tax group (with tax code assignments) manually.
Try running the query (again).
SELECT TOP 100 * FROM MicrosoftDynamicsAX.DBO.PayrollTaxGroupCode
Thanks,
Randy