cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
yanalex981
Level: Powered On

Common Data Service Record Referencing a Different Version of a Record Possible?

We're trying to build something to track inventory. I'm just wondering if there's something in CDS built-in that can manage different versions of a record. Say somebody updated an Item entry, changed the name from Samsung to Samsung Inc. or something, older transaction records should retain a reference to the older version, and display as such, but lookups should turn up fields from the latest version of that record.

I see that the fields

  • Record Created On
  • Modified On
  • Created On
  • Version Number

are standard for all CDS entities. How would I make use of these?

 

I've done a test version of this project with SQL server. In that implementation, every "modification" is really a new entry in the table of items, with the same part number. The ID of each record is generated by the server through autoincrement. So we could manage versioning because other things could just reference the item ID. For viewing the items, we'd just group by part number, and pick the one with the highest ID among them which would be the latest version. Would I have to replicate that in CDS, or is it a built-in feature that I can configure?

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Common Data Service Record Referencing a Different Version of a Record Possible?

Hi @yanalex981 ,

I'm afraid it's not supported to record other version's data in CDS currently.

There's only one record named "modified" to record the time that the item is modified.

No more settings about this.

I suggest you express your views on PowerApps Ideas Forum. Your precious feedback will be very helpful for our work.

https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

Your test version in SQL's thought is very good.

For now, to achieve this function, I suggest you replicate that in CDS.

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
1 REPLY 1
Community Support Team
Community Support Team

Re: Common Data Service Record Referencing a Different Version of a Record Possible?

Hi @yanalex981 ,

I'm afraid it's not supported to record other version's data in CDS currently.

There's only one record named "modified" to record the time that the item is modified.

No more settings about this.

I suggest you express your views on PowerApps Ideas Forum. Your precious feedback will be very helpful for our work.

https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

Your test version in SQL's thought is very good.

For now, to achieve this function, I suggest you replicate that in CDS.

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 303 members 5,079 guests
Please welcome our newest community members: