Agile (MOSC)

MOSC Banner

non-programmer wanting to learn needs help to modify "AddAISetRevPX.groovy" to company rev scheme

edited Dec 27, 2012 10:46AM in Agile (MOSC) 5 commentsAnswered
I need help to revise the sample groovy script that oracle provides to set the next rev of the affected items of an ECO.

Our rev scheme is a 3 digit numeric.  Example: 001, 002, 003, ... how can I modify the section of the grovy script to set the next number to 001 if it is the first rev and increment the non zero portion to the next number.

Below is the portion of the code where I beleive I need to revise.

Than you in advance for your teaching!!

   //find the number part of the old rev on the right
             for(int i=revLength-1; i>=0; i--) {

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center