Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Answered

how to do check out forcibly in ax 2012?

Posted on by 160

Hi All

May be who knows how to do check out xpo (object) forcibly in ax 2012?

the fact is that developer gone on vacation and isn't reachable?

the check out needs to do from another dev box.

  • Ruslan7 Profile Picture
    Ruslan7 160 on at
    RE: how to do check out forcibly in ax 2012?

    Yes, Martin, you are right. My mistake was that I put the user name in single quotes instead of double and misunderstood the situation with VM that the undo command was not able to find a workspace.

    thank a lot!

  • Verified answer
    Martin Dráb Profile Picture
    Martin Dráb 230,188 Most Valuable Professional on at
    RE: how to do check out forcibly in ax 2012?

    tf undo can do do that. If you don't believe me, look at the documentation for undo:

    You can use the /workspace option (and as needed, the /collection option) to undo changes on a remote dev machine. This capability is especially useful in cases when, for example, a file has been checked out and possibly locked on a dev machine that you cannot access.

    You must be doing something wrong. TFS surely must know the workspace if it has an check out in it.

    What workspace name are you using? How did you find it? Note that the computer name is a part of the workspace name.

  • Ruslan7 Profile Picture
    Ruslan7 160 on at
    RE: how to do check out forcibly in ax 2012?

    As it turned out the issue becomes more complex. The fact is that the check-in was made on VM which was deleted many years ago and tf can't execute the undo command (it can't find this workspace, and I can create the same workspace because TFS doesn't allow it)

    Is there a possibility do I don't know in Team Foundation Server itself?

  • Verified answer
    Martin Dráb Profile Picture
    Martin Dráb 230,188 Most Valuable Professional on at
    RE: how to do check out forcibly in ax 2012?

    If the object is checked out by another developer and it prevents you from checking it out by yourself, you can either undo the other check out or allow concurrent check outs.

    I assume you want the former. It can be done though command line, specifically tf undo command (if you have sufficient permissions). See Undo Changes in Another User's Workspace for details.

  • Ruslan7 Profile Picture
    Ruslan7 160 on at
    RE: how to do check out forcibly in ax 2012?

    We have Team Foundation Server. Is there an option to make a check out forcibly in this case?

  • Verified answer
    Martin Dráb Profile Picture
    Martin Dráb 230,188 Most Valuable Professional on at
    RE: how to do check out forcibly in ax 2012?

    If you have multiple development boxes, you don't seem to be using MorphX version control. Also, your reasoning for the decision that you're using MorphX version control is wrong - the UI is always the same, regardless of which versioning system is used under the hood.

    To find it out, open a developer workspace, go to Version control > Version Control Parameters and check the value of "Version control system" field.

  • Ruslan7 Profile Picture
    Ruslan7 160 on at
    RE: how to do check out forcibly in ax 2012?

    yes, it is correct. We want to do check out form another dev box and made changes.

  • Gunjan Bhattachayya Profile Picture
    Gunjan Bhattachayya 35,421 on at
    RE: how to do check out forcibly in ax 2012?

    Ok. Just to understand your issue, your developer has checked out an object and is currently unavailable. You want to undo this check out and check do changes from another Dev box.

    Is this correct?

  • Ruslan7 Profile Picture
    Ruslan7 160 on at
    RE: how to do check out forcibly in ax 2012?

    Yes, it seems that we use MorphX , because to do check out it needs to open MorphX and to call context menu

  • Gunjan Bhattachayya Profile Picture
    Gunjan Bhattachayya 35,421 on at
    RE: how to do check out forcibly in ax 2012?

    Are you using MorphX version source control?

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans