ALM is checking out first version of VC entities like tests, reqs, test resources, etc. instead of latest one.
td.test set TS_VC_VERSION_NUMBER sdfasdfadsBy using a query like the following we are able to determine what is the latest check-in version of an entity: i.e. test plan tests.
SELECT TS_TEST_ID, TS_VC_VERSION_NUMBER, TS_VC_STATUS FROM TEST
For example: If wrong value is shown under TS_VC_VERSION_NUMBER (i.e. 1 instead of 5) ALM will check-out version number '1' which is not the latest one!
VC entities like Reqs, Test Resources, etc might also be affected by this so the query should be modified to accomodate to specific entity table.