connect 2022 banner tablet connect 2022 banner mobile

Dynamics AX Error: Field Tax Code Must Be Filled In

By Robert Mountain | February 9, 2016

I recently came across an issue in Dynamics AX when creating a new payroll tax transition from the Tax transaction history detail inquiry. The Dynamics AX error stated: Field Tax Code must be filled in.

Infolog in Dynamics AX

This error seems disingenuous because when you review the Create tax transaction form, the Tax code field is clearly populated (it is, after all, a required field).

Create Tax Transaction in Dynamics AX

As it turns out, there is another tax code field that we aren’t seeing in the form that is causing the issue.

When your Microsoft Dynamics AX License Configuration has the options for Keep update objects marked, AX will crate and store fields and tables that begin with the extension DEL_.

License Configuration in Dynamics AX

The field that is causing this specific issue is the Del_TaxCode field in the PRLUSTaxTransactionHistory table. When you take a peek at this table in your AOT, you will find that this pesky field is set as Mandatory.

AOT Data Dictionary in Dynamics AX

Now, we can’t access the DEL_TaxCode field from the user interface therefore, we cannot resolve the error message and create the tax transaction line which means the payroll processing team is not going to be pleased.

To resolve this error issue, update the Mandatory setting for this field in the AOT to No. Save and compile the change to the PRLUSTaxTransactionHistory table and the payroll team will be forever in your debt.

AOT Data Dictionary in Dynamics AX

Start the Conversation

It’s our mission to help clients win. We’d love to talk to you about the right business solutions to help you achieve your goals.

Subscribe To Our Blog

Sign up to get periodic updates on the latest posts.

Thank you for subscribing!

X