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 :
Finance | Project Operations, Human Resources, ...
Unanswered

How to add field from 'Item' table to data entity

(0) ShareShare
ReportReport
Posted on by 15

Hi All ,

My current use case is to find the last modifed date of a product through the Odata apis of Dynamics 365 FnO

I see that the 'modifed date and time ' field is present in the Items table on the Dynamics 365 UI .

However this field is not present when I fetch the DistinctProduct entity from the Odata apis . 

My question is :How can we add this field from the Items table to the DistinctProducts / ReleasedDistinctProducts Odata entity ?

I have tried the approach through the custom field but , for the existing field it is not getting added in the data entity

Step by step approach if any will be extremely helpful .

Thanks in advance ...

Sameer Kulkarni. 

I have the same question (0)
  • Martin Dráb Profile Picture
    236,124 Most Valuable Professional on at
    RE: How to add field from 'Item' table to data entity

    Adding an extra field to an entity requires a customization. It can't be done by users through GUI.

    Note that you can map an entity field to the table field without any code - but it still needs to be done by a developer and deployed in the same way as code changes.

  • Sameerkulkarni20 Profile Picture
    15 on at
    RE: How to add field from 'Item' table to data entity

    Hi , we don't have access to deploy custom X++ code on our Dynamics 365 instance . Is there any way we can add the unmapped fields to entity from the Dynamics 365 UI?

  • AnithaEswaran Profile Picture
    2,032 on at
    RE: How to add field from 'Item' table to data entity

    Can you try adding a unmapped field in the entity(IsComputed set to No) and populate the value in PostLoad method? Usually postLoad works for exporting the data.

  • Sameerkulkarni20 Profile Picture
    15 on at
    RE: How to add field from 'Item' table to data entity

    Yes , I have tried using the GET method , also in the metadata I am unable to get the attribute for the entity

  • AnithaEswaran Profile Picture
    2,032 on at
    RE: How to add field from 'Item' table to data entity

    Are you using GET to fetch the details of the entity?

  • Sameerkulkarni20 Profile Picture
    15 on at
    RE: How to add field from 'Item' table to data entity

    Actually , In the Odata Entity , I am unable to view / fetch the attribute , 'Modified Date and time'

    However i can see the same  from the Released Products , view in Dynamics 365 .

    How can i add the 'modified date ' field to the data entity?

  • AnithaEswaran Profile Picture
    2,032 on at
    RE: How to add field from 'Item' table to data entity

    HI Sameer,

    In your OData API, can you include the condition to fetch the last modified date ?

    I could not understand your requirement ? Can you explain it?

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

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

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 1,140

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 762 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 706 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans