Hi..
When i try to rename the item no. in item card i am getting an error saying,
The field below must be included in the table's primary key
Field -> Global Dimension 1 Filter
Table -> Item
I have checked all the objects through code coverage, there is nothing customized. Also Global Dimension 1 Filter is a flow filter which can never be included in a key.I am not getting anything while debugging also ](*,)
0
Comments
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book
Its been discussed many times, its a bug in NAV that has been there since Navision Financial version 1.1 (it was not in versions 0.9 or 1.0) you need to find the table relation that points to the Item table and filters by global dim 1.
It is not "filtering" but looking up for the field "Global Dimension 1 Filter" instead of the PK. It means that you will have TableRelation like Item."Global Dimension 1 Code" somewhere in some table...
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book
It is a "bug" because standard definition is using non-PK field for TableRelation, which is violation of DB normalization... ;-)
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Correct. The bug is that Navsion allows you to create this relationship in the first place.
The most amazing thing is that I first reported this bug when upgrading a customer from Navision Financials 1.0 to Navision finacials 1.1 So this is not new.
Anyway the reason for this is stupid. Basically in the DOS version of Navision the primary key for Report, Import and Batch objects was the NAME of the object. In financials they introduced the Object number. But the convesion tool from DOS created Report links to the Name instead of the Object number, so in 1.1 they made this change. 13 years later we have a bug that is only there to support the upgrade from DOS :shock: