Recommended Posts

Hi,

 

I found the attached script which automatically proposes a "new rev". It does so by incrementing the "current Rev" by 1.

 

in our case we have legacy 3 character rev's (i.e. 01A). Thus the script wants to propose a new rev of 01A1. However the result of the script is that no new value is posted since our configuration attribute for new rev has been changed to only allow a two character numeric.

 

What I need is for the script to recognize only the two left most characters of the current rev and increment it by 1 (ex: current rev 01A...proposed new rev 02)

 

Can anyone help modify the attached script appropriately?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Who's Online   0 Members, 0 Anonymous, 65 Guests (See full list)

    There are no registered users currently online