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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

What is the use of version number field?

(0) ShareShare
ReportReport
Posted on by

What is the use of Sales order detail entity version number field in crm 365?

*This post is locked for comments

I have the same question (0)
  • RaviKashyap Profile Picture
    55,410 Moderator on at

    Hi,

    Which version number field you are refering to. OOB I couldn't see any version number field.

    Is it something custom? Could you share a screenshot please?

  • Suggested answer
    ashlega Profile Picture
    34,477 on at

    It's a system read-only property(I can see it in 365, but it might not be there in the earlier versions):

    msdn.microsoft.com/.../mt593069.aspx

    It seems to be updated any time you update an order line. You can't add it to the views etc, but, if you wanted to see the values, you might use this kind of web api request:

    <ORG ROOT>/api/data/v8.2/salesorderdetails?fetchXml=%3Cfetch%20version=%221.0%22%20output-format=%22xml-platform%22%20mapping=%22logical%22%20distinct=%22false%22%3E%20%3Centity%20name=%22salesorderdetail%22%3E%20%3Cattribute%20name=%22productid%22%20/%3E%20%3Cattribute%20name=%22productdescription%22%20/%3E%20%3Cattribute%20name=%22priceperunit%22%20/%3E%20%3Cattribute%20name=%22quantity%22%20/%3E%20%3Cattribute%20name=%22extendedamount%22%20/%3E%20%3Cattribute%20name=%22salesorderdetailid%22%20/%3E%20%3Cattribute%20name=%22versionnumber%22%20/%3E%20%3Corder%20attribute=%22productid%22%20descending=%22false%22%20/%3E%20%3C/entity%3E%20%3C/fetch%3E

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans