Here is how I would do it:
“Padding” is just a simple ITE…
So putting all that together, 4 columns required:
- Rollup to determine the current max order ID
- Math column to increment that by 1
- ITE column to determine how many zeros required for padding
- Template column to join 2 & 3