SBX - Search With Button

SBX - Forum Post Title

Replacement key and Primary key

Microsoft Dynamics AX Forum

NoobDaxCoder asked a question on 11 Oct 2018 9:14 AM

Question Status

Suggested Answer

Can replacement key created while primary key exists? I check in ax 2012 R2. Does not seem to work.

Reply
Sohail Sheikh responded on 12 Oct 2018 2:47 AM
My Badges
Suggested Answer

Here is the detail Microsoft documentation for your understanding about Surrogate, Alternate, Replacement, Primary, and Foreign.

docs.microsoft.com/.../table-keys-surrogate-alternate-replacement-primary-and-foreign

Reply
István Orosz responded on 12 Oct 2018 2:55 AM
My Badges
Suggested Answer

Hi,

Yes, in general you can have primary key and replacement key on the same table. What is you current scenario which fails, please give us more details. Please see MS doc: Table Keys: Surrogate, Alternate, Replacement, Primary, and Foreign

Reply
Keshav Kumar responded on 13 Oct 2018 2:31 AM
My Badges
Sohail Sheikh responded on 12 Oct 2018 2:47 AM
My Badges
Suggested Answer

Here is the detail Microsoft documentation for your understanding about Surrogate, Alternate, Replacement, Primary, and Foreign.

docs.microsoft.com/.../table-keys-surrogate-alternate-replacement-primary-and-foreign

Reply
István Orosz responded on 12 Oct 2018 2:55 AM
My Badges
Suggested Answer

Hi,

Yes, in general you can have primary key and replacement key on the same table. What is you current scenario which fails, please give us more details. Please see MS doc: Table Keys: Surrogate, Alternate, Replacement, Primary, and Foreign

Reply

SBX - Two Col Forum

SBX - Migrated JS