You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The field at Key1 and Key2 are of NAV, the field in Key3 is one from my application.
The Key1 and Key2 has the problem: [AL] A field list has to contain at least one field.
The "Customer Price Group" and "Statistics Group" have the problem:
[AL] Reference '"Customer Price Group"' in application object 'tableextension50101' does not exist
[AL] The keys 'Key1' and 'Key2' have an identical list of fields.
Another object is a tableextension on Sales Header with the following extra keys:
Unfortunately, table extensions do not currently support 'cross-keys' from fields that are not part of the extension with the exception of the primary key.
This means that you cannot reference non-PK fields from the 'base' table inside of a key list.
The errors you are seeing in your first example are a result of this:
The compiler doesn't recognize the fields from the base as existing/available in this context
Since the fields are recognized, the compiler sees an 'empty' key list
Since both Key1 & Key2 have 'empty' key lists, they are seen as duplicates
Your second example should also produce the same errors. My guess is that there is an error above or elsewhere in the file that is in some way causing the compiler to stop parsing that file and thus not reach these keys yet.
If you were to create a new, completely empty table extension for the "Sales Header" table, and add these keys to it, I would expect to see the same/similar errors as your first example
Unfortunately, table extensions do not currently support 'cross-keys' from fields that are not part of the extension with the exception of the primary key.
This means that you cannot reference non-PK fields from the 'base' table inside of a key list.
Please make this possible!!
I can see the logic and reason behind this.
However if can't create new keys on NAV-fields, we will have a huge performance loss.
I would be very suprised if there would be any application of ISV's that doesn't have an extra key on NAV-fields (combined with fields from the application).
Perhaps make it also possible to add extra SIF to existing NAV-keys?
I have a tableextension on customer table that contains extra keys:
The field at Key1 and Key2 are of NAV, the field in Key3 is one from my application.
The Key1 and Key2 has the problem:
[AL] A field list has to contain at least one field.
The "Customer Price Group" and "Statistics Group" have the problem:
Another object is a tableextension on Sales Header with the following extra keys:
These are all NAV fields, but these don't have any problems ...
What is missing on the keys for the customer tableextension?
The text was updated successfully, but these errors were encountered: