web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Alternate key process

(0) ShareShare
ReportReport
Posted on by 30

Dear All

I am creating process for Alternate key :

Header table : EmpTable
Fields : EmpID , Name
Note : NameIdx index must be create 1ST because it’s having Alter Alternate Key = YES

2117.s1.png

0550.s2.png

Here Auto Identification is automatically populated because Name index we set to property Alternate Key = YES.

Emptable : Properties

7888.s3.png

Line table : EmpTransactions
Fields : WorkdHrs

5340.s7.png

Then i will create relation with Header table (EmpTable)

7416.s8.png

1121.s9.png

Note : It will automatically create relation with HeaderTable (EmpTable.RecID).
Once relation done it will add automatically field EmpTable and add index EmpTableIdx.

Now I am insert records in to Table Header table (EmpTable) :

s10.png

Line Table : EmpTransaction

s11.png

So, i noticed  we are getting values in EmpTable fields from HeaderTable with RecID.

s12.png

Now i am creating a Form with 2 data sources

Form : EmployeeDetails

s13.png

Data source : EmpTransaction -- Properties

s15.png

Then go to Design part

s17.png

Then add one more Group for Footer

s21.png

Note :

Once I drag and drop EmpTable field from EmpTransaction table in to Footer GRID
Then it will automatically created ReferenceGroup for EmpTable field because of nameIdx set to Alternate key = YES

Reference group : Properties

s23.png

Form Output :

s24.png

Note : In table it’s store the RecID and in GUI it showing Value respective of that RecID as reference.

Can you please let me know is't correct?

Please give me more shed on this.

Thanks!

Arpan

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Rohin Profile Picture
    4,624 on at
    RE: Alternate key process

    That what Surrogate Replacement key does. please read below whitepaper.

    technet.microsoft.com/.../jj860380.aspx

  • @rp@n Profile Picture
    30 on at
    RE: Alternate key process

    it's ok.

    i am asking what i did is't correct? Simply send a link

    arpan

  • Verified answer
    Rohin Profile Picture
    4,624 on at
    RE: Alternate key process

    Yes. On UI instead of surrogate key , its showing you the replacement key which is more readable for user.

  • @rp@n Profile Picture
    30 on at
    RE: Alternate key process

    Dear All,

    Can any one please validate the "process for Alternate key" is correct?

    If any thing else please let  me know.

    Please give me more shed on this.

    Arpan

  • @rp@n Profile Picture
    30 on at
    RE: Alternate key process

    Thanks Sukrut

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Tocauer Profile Picture

Martin Tocauer 4

#2
Community Member Profile Picture

Community Member 2

#2
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans