Adding secondary key in base app using table extension

Hi, As I’m new Business central fields, So wants to know how can we add a secondary key along with base fields using table extensions.
I have tried like this way


Getting ERROR: “The property ‘INCA365key23’ can only be set if the specified fields are from the same table.”
Can anyone please suggest?

You can add additional keys using a table extension but a single key can’t include fields from both the base table object and table extension object. In other words, each key must contain fields from either the base table object or the table extension object.

1 Like