Indexes in axapta

200 views Asked by At

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.

1

There are 1 answers

3
10p On

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.