I'm sure there's an easy way to do this, but I can't seem to wrap my head around it...
I need to produce sets of sequential numbers. I have a series of prefixes (i.e. "R21-") that each have a different starting number (i.e. "2145") and a different number of sequential numbers needed for each prefix. The kicker is that I need each sequential number to repeat a different number of times for each prefix. For example, line item (prefix) 1, may need to repeat each number three times and would output like this:
R21-02145
R21-02145
R21-02145
R21-02146
R21-02146
R21-02146
R21-02147
R21-02147
R21-02147
...
I'm using the repeatrecordCount call in onRecordStart to specify the quantity of unique numbers for the set. I can't figure out how to get each of those unique numbers to repeat x number of times though.
Does that make sense?