The type or namespace name 'UD07Adapter' could not be found (are you missing a using directive or an assembly reference?)

I have created a UD child table in the customization wizard. After restarting the form I am getting the following error and cannot open the form that has been customizes. The form only opens in Base layout only.

Error: CS0246 - line 38 (5191) - The type or namespace name ‘UD07Adapter’ could not be found (are you missing a using directive or an assembly reference?)

has anyone had this issue before?

Have you added the assembly reference manager?
image

1 Like

Sometimes the wizard fails to add the using statements.
Try adding the following and recompile:

using Ice.BO;
using Ice.Adapter; // There may be an "s" on that end of this one. I don't remember and am not on a PC atm. 

Here are eh following Assemblies that I have in my custom form.

Sorry The*

I have the adapters for ud07 yet I am still getting the same error.

But when I add the child table to the base only not the customization I already have, the form works and the child table works.

Have you added the using statements to the top of your code?

No I have not. I did have Epicor look into this problem, they have sent it up to their development team due to, they do not have answer for why this is happening. Basically from what I have found online is the form was created in 2015 and I may have to rebuild the customization that have been in place working fine for years in the 10.2 base only version.

Try adding the lines of code.
I’ve experienced that error numerous times because the wizard did not add them. Typically, one schema or the other has the appropriate using, but if you add adapters of the other schema, it does not add them.
For instance, if you’re editing Order Entry, it will have Erp.Adapter and Erp.BO, but using the wizard to add anything from the Ice schema will not add in Ice.Adapter and Ice.BO to actually make them work.
Same goes for the reverse.

1 Like