Forum Discussion

Ashok_Yadav's avatar
Ashok_Yadav
Creator II
2 years ago
Solved

Query Related Edit Version able Item

Hi All, I have question related to Edit version able Item. Let suppose . I want to edit Item Type user Guide. User Guide Number is Doc*25 and Generation 10. I logged with user  X and e...
  • angela's avatar
    2 years ago

    Hi Ashok,

    thanks for the detailed description!  I wonder how people are able to edit the previous version? Which Innovator version do you use? Something between 12SP14 and I22?

    Your issue sounds similar to this one. The post describes some possible solutions:

     link 

    Hope it helps! Let us know if you find a solution!

    Angela

  • Ashok_Yadav's avatar
    Ashok_Yadav
    2 years ago

    Hi AngelaIp,

    I am using  Aras Innovator 12 SP 9.

    I created On server side(onBeforeVersion Event) method to deal with this situation .

    Innovator inn=this.getInnovator();
    string is_current=this.getProperty("is_current");
    if(string.Equals(is_current,"1"))
    {


    }
    else{

    return inn.newError("You can not modify old Generation of Part.Please refresh Or Close and open again Part");

    }
    return this;