Skip to main content What is Dynamics 365? Guided tours Customer stories Try our products Build your own agents CRM ERP Sales Service Sales Customer Insights Customer Service Contact Center Field Service Supply Chain Management Commerce Finance Project Operations Human Resources Business Central Pricing Business application topics Training & certifications Migrate to the cloud Documentation Events Dynamics 365 Blog Product updates Onboarding and implementation Community Find a partner Software Development Companies Partner resources Microsoft Marketplace Product documentation Technical support On-premises product support Contact us Try for free Sign in
  • 1 min read

1. Solving Fill Utility errors on Microsoft Dynamics AX 2012 – SysDictFieldGroup object not initialized


Scenario:
A user wishes to update the Item group for a released product.
They right-click on the Item group field and selects the Record Info menu item.
In the Record information form he clicks the Fill Utility button.
On the Query form, (EcoResProductPerCompanyListPage) they click the OK botton.
Now they get the following error:

SysDictFieldGroup object not initialized.
Stack trace
(C)\Forms\SysFillUtility\Methods\fillFieldIdsFromGroup – line 23
(C)\Forms\SysFillUtility\Methods\fillFieldIds – line 43
(C)\Forms\SysFillUtility\Methods\initializeAfterQuery – line 10

What happened?
This error is caused by the fact that the AutoLookup Field Group of the table (the table that the field belongs to that he wants to change) does not exist. The Field group is shown in the AOT as it is semi-created when the table is created, but it does not actually exist as field group until a field has (or had) been added to it.

How did we resolve this?
1. We found the tableid by doing some x++ debugging. Put a breakpoint for example on method at the top of the stack in line 23. When the code stops, after closing the stack trace window, in this method you can find there a variable called tableid. Note the value.

2 Several methods can be used to convert the tableid to a table name.

3 In the AOT, we located this table

4 Opened the node Field groups and then open AutoLookup and found it to be empty.

5 We can add any field, We added RecId, to this Field Group and this resolved the issue.

Once the field group has been created you can delete the added field

Get started with Dynamics 365

Drive more efficiency, reduce costs, and create a hyperconnected business that links people, data, and processes across your organization—enabling every team to quickly adapt and innovate.