There's probably a really obvious way to do this.
I am creating an Object BerthTypes. BerthTypes has a maximum value. I want to create an Object Berth for however many is specified in BerthTypes.Maximum.
That is straightforward
CREATE Berth FOR EACH NUMBER BETWEEN 1 AND BerthTypes.Maximum
However I want to populate a field with a descriptor and a number as a default eg. MOORING 1, MOORING 2, MOORING 3 ... MOORING [BerthTypes.Maximum]
Is there a straightforward way to do this? The counter is independent of everything else in the system so SystemSettings is not use and CREATE ... FOR EACH won't update the LIRU