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, ...
Answered

RecId field not present in standard entity

(0) ShareShare
ReportReport
Posted on by 8,201

 Hello,

 I want to know, is there a reason why MS didn't include the RecId field in the standard entities (of course I did not look at all the entities, now I am working with the EcoResReleasedDistinctProductV2Entity)?

 Just to be clear on what I want: a lot of APIs on the CSU require the product RecId, and I would get these recids from the dataverse dual-write enabled tables; but since I have no RecId in the FO entity in the first place and I do not want to extend the entity, I am wondering why this data was not included by default?

I have the same question (0)
  • Verified answer
    GirishS Profile Picture
    27,843 Moderator on at

    Hi Iulian Cordobin,

    There is some RecId field available in standard entities. Refer to the entities like DirPartyBaseEntity where you will have RecId of LogisticsElectronicAddress table (PrimaryContactEmailRecordId). For some entities they didn't add that one, if you want you need to add that via extension.

    Mostly data entities will be used in open in excel or some other integration purposes, so I guess instead of adding RecId values they have added the values that will be more in more readable format.

    Thanks,

    Girish S.

  • Verified answer
    Israel Gonzalez Profile Picture
    737 on at

    Hi Lulian,

    I recomend you create a new custom entity with the fields you want, that is the way if you need some fields like RecId, dataAreaId, etc.

  • Martin Dráb Profile Picture
    239,029 Most Valuable Professional on at

    Record IDs aren't supposed to be exposed to external systems and people. RecId are considered an internal detail of F&O; natural keys (such as product numbers or customer IDs) should be used for communication with other systems.

    This should explain why entites normally don't expose RecId and why it's considered a bad practice.

    Your need to use them suggests that someone didn't respect the pattern.

    What is CSU?

  • Iulian Cordobin Profile Picture
    8,201 on at

    Hi all,

    Thanks for your answers.

    I do agree with the statement that integrations should use natural keys.

    But, now the question comes: if the API exposed by the CSU breaks this pattern, is it ok? The endpoint Commerce/Products/GetEstimatedAvailability requires (only) the RecId of the Product.

  • Iulian Cordobin Profile Picture
    8,201 on at

    Commerce Scale Unit.

  • Verified answer
    Martin Dráb Profile Picture
    239,029 Most Valuable Professional on at

    If you need it, you can add RecId to a standard entity (via an extension), or create a new entity for your purposes.

  • Israel Gonzalez Profile Picture
    737 on at

    As I said.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 617

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 461 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 298 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans