Notifications
Announcements
No record found.
What is the use of Sales order detail entity version number field in crm 365?
*This post is locked for comments
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?
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
SA-08121319-0 4
Calum MacFarlane 4
Alex Fun Wei Jie 2