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 :
Microsoft Dynamics AX (Archived)

MorphX VCS

(0) ShareShare
ReportReport
Posted on by 49,677 Super User 2026 Season 1

Using MorphX VCS,  i am trying to manage versions. I can see history of all versions of any object (e.g. table). Also, i can restore/get any of the versions, available in history.

The only which i am trying to dig out that how to get the currently active version? suppose if i have TableABC, and there are 3 versions as Version: 0.0.1, Version : 0.0.2, Version: 0.0.3

i can see these version in table SysVersionControlMorphXRevisionTable on sql server [select * from SysVersionControlMorphXRevisionTable]

But i want to know the currently active version.

any help in this regard would be highly appreciated.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    I suggest you to use Compare Tool to see which all Version for Object you have and which one is the latest.

    Please verify.

  • Sohaib Cheema Profile Picture
    49,677 Super User 2026 Season 1 on at

    the active and latest versions could be different, sometimes. its not must that latest version will always be active. a previous version can also be active.

    i don't want to see the latest version in order to see the latest version here is the query

    return (select maxof(Version) from sysVersionControlMorphXRevisionTable

               where sysVersionControlMorphXRevisionTable.ItemPath == _itemPath).Version;

    my problem is to know ACTIVE version. e.g. we may have 3 versions and 3rd one is the latest, while the active version could be second one.

    so, my problem here is to know active version.

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

    If you get a version from version control, it's simply imported to AX. The VCS doesn't track whether your current code corresponds to any saved version and which one. If you don't know what version you have, you have to explicitly get a specific version or compare your code with a specific version.

  • KLSI Profile Picture
    40 on at

    You could easly change MophX VCS to generate a new version if an old version was restored. We have done this in our application, we also link the new version to the original version number in this case. Take a look at classes SysVersionControlAddIn, SysVersionControlSystemMorphX, etc.

    However, if a developer changed the object since last checkin, none of the VCS versions is active. Active is only the code which is shown in AOT...

    Best regards

    Simon

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 2

#2
Henrik Nordlöf Profile Picture

Henrik Nordlöf 2 User Group Leader

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans