Forum Discussion

jeromecha's avatar
jeromecha
Creator I
6 years ago

Promote method not increase generation number

Hello,

I have a other question .. yet !!

I use the minor rev Handling  (https://github.com/ArasLabs/Adding-Minor-Revision-Handling).

In the original method, the creation of a new minor revision does't change the part status to preliminary. 

So i addes the folowing code to the method PE_CreateNewMinorRevision:

Aras.Server.Security.Identity plmIdentity = Aras.Server.Security.Identity.GetByName("Aras PLM");

bool PermissionWasSet = Aras.Server.Security.Permissions.GrantIdentity(plmIdentity);

this.promote("Preliminary", "New minor revision");

 It works ..but the generation number isn't increase. 

How cant I increase this generation number ? 

thanks..

1 Reply

  • Former Member's avatar
    Former Member
    Not applicable

    Employees of the firm are the strength and indeed the vital part of making the dream of hassle-free deliveries a upsers login mesmerizing possibility.