CV
Hello,
I'm building a report, and my client have requested information about EPCs versions. Anybody know what are those elements which contain this information?
In the end, I need to present something like this:
Version Date Comments about version
1 23Feb2010 First version (default)
2 26Feb2010 Applications added
.
.
.
Thank you in advanced
Cesar
Hi Cesar,
try this code:
var reportVersioning = Context.getComponent("Versioning"); var oModel = ArisData.getSelectedModels()[0]; var revInfo = reportVersioning.getModelRevisions(oModel); for (var i = 0; i < revInfo.length; i++){ Dialogs.MsgBox(revInfo[i].getRevisionNumber() + '\n\n' + revInfo[i].getChangeListInfo().getID() + ', ' + revInfo[i].getChangeListInfo().getSubmitTimeGMT0() + ', ' + revInfo[i].getChangeListInfo().getDescription()); }