Zeromotorcycles

Members
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Zeromotorcycles

  • Rank
    Newbie
  1. Zeromotorcycles

    Need an assist

    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?