my requirement is to get the latest ItemRevision from Item using SOA if an itemRevision is input.
My question is: will the last revision in revision_list property always give the latest revision ?
In other words, does revision_list property always returns itemRevision in sequence of creation ?
Solved! Go to Solution.
NX 11.0.1.mp01 | SW 2016 | TcUA 11.2.3
Something like this works for me but I never checked if I really get the lastest revision if users are doing some weird things on revising in TC.
ItemRevision lastRev = item.Revision_list[item.Revision_list.Length - 1]
After the discussion with my colleague today the requirement was clarified and as the requirement does not demand that accuracy regarding creation date.
So I can conclude this discussion here. Thanks again for your responses