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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How can Power apps mak...
Power Apps
Unanswered

How can Power apps make RecId automaticallly

(0) ShareShare
ReportReport
Posted on by 4

Hello,

 

I'm making new application for AX2012 using CDS.

When I inserted new data from power apps, how the application insert the RecId of the data.

In AX 2012, RecId is very important for each data, (it means unique and primary) the process for RecId is essential.

 

Please give me any information or proper link about it.

Thanks.

I have the same question (0)
  • v-xida-msft Profile Picture
    on at

    Hi @BeHappy,

    Based on the issue that you mentioned, I think you have some misunderstanding in RecId in Dynamics AX.

    In Microsoft Dynamics AX 2012 the primary key for every new table is always enforced by an index that has exactly one field. The one field is usually an incremented number, or a completely meaningless number that is generated by the system.

    For new tables the default is a primary key based on the RecId field. This is represented as the surrogate key in the user interface.

    Please check the following article for more details:

    https://community.dynamics.com/ax/f/33/t/233826

    https://stackoverflow.com/questions/23899445/are-recids-unique-across-common-tables-in-dynamics-ax-2012

     

    In other words, when you add a new record within your AX table, the RecId column value would be generated automatically by your Dynamics AX System rather than be inserted via a PowerApps app.

     

    Best regards,

    Kris

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard