Need an assist

Remember, there's no such thing as a stupid question, they're just the easiest to answer!

Need an assist

Postby Zeromotorcycles » Thu Mar 02, 2017 12:34 pm

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?
Zeromotorcycles
Newbie
Newbie
 
Posts: 1
Joined: Thu Mar 02, 2017 12:13 pm
Location: Scotts Valley CA

Return to General Geek Questions (HW, SW, Etc..)

Who is online

Users browsing this forum: No registered users and 10 guests