Hi everyone,
During a migration from NAV to Microsoft Dynamics 365 Business Central, I encountered a field defined as follows:
field(2; Description; Code[30])
{
TableRelation = "Product Group"."Item Category Code";
}
As the Product Group table has been removed in Business Central (v15+), I’m unsure how to correctly replace this TableRelation.
From my understanding, this relation was effectively allowing selection of Item Category Codes, but only those that existed in the Product Group table.
Would replacing it with the following be correct?
TableRelation = "Item Category".Code;
Or is there a better approach to preserve the original filtering behavior?

Report
All responses (
Answers (