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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Can the same RecId be generated again?

(1) ShareShare
ReportReport
Posted on by 845
Hello,
I am working on upgrading AX to D365. There is a sizable modification, using external software, in which records from AX are identified by RecId, which must remain unchanged.
The question is, can there be a situation where a new record is created in D365 with a RecId that has already been generated previously in AX?
 
Thanks.
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    307,445 Super User 2026 Season 2 on at
    Hi Shooowtek,
     
    Your question is cunfusing me a bit. Are you trying to ask if you can reuse the same RecId value when converting data using e.g. data management? When you import records, you can't control the RecId to be used. 
     
    If your question is about having the database upgraded and then when using the application, it would again issue an already existing RecId, that is most likely not possible. If it would issue the same RecId, it is not accepted as the RecId field is not allowing duplicates. You will then get a runtime error raised by the SQL database.
  • Suggested answer
    Hana Xue Profile Picture
    Microsoft Employee on at
    Hi,
    In AX, we will query the SYSTEMSEQUENCES table of the related database, but it is not the same in D365FO,Microsoft has switched from using a dedicated database table to using the standard SQL sequences functionality.
    If we upgrade the database, we will encounter record problems: could not be inserted due to already existing records.
    For a description of this issue and how to fix it you can check this blog post:
    Nordic 365 Wisdom: RECID numbering in Dynamics 365 FO
    Best Regards,
    Hana

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 555 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 484 Super User 2026 Season 2

#3
CU10121822-0 Profile Picture

CU10121822-0 378

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans