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

Related Posts


Under the terms of this license, you are authorized to share and redistribute the content across various mediums, subject to adherence to the specified conditions: you must provide proper attribution to Stoneridge as the original creator in a manner that does not imply their endorsement of your use, the material is to be utilized solely for non-commercial purposes, and alterations, modifications, or derivative works based on the original material are strictly prohibited.

Responsibility rests with the licensee to ensure that their use of the material does not violate any other rights.

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!