Reputation: 11
Hiii, I am new to axapta
I have a table in which I want two fields together should act as a primary key. Is this possible or not
If not is there any alternate way to achieve.
Upvotes: 0
Views: 214
Reputation: 6793
There are many examples in the AOT.
For example, table MarkupTrans
has primary index TableRecIdIdx
created from 3 fields (TransRecId
, TransTableId
and LineNum
); table VendInvoiceInfoLine
has primary index TableRefIdx
created from 5 fields (TableRefId
, ParmId
, OrigPurchId
, LineNum
and RecId
), etc.
Upvotes: 2