Hello,
Business Requirement: Automatically Generate the next order number using (0,1,2,3,4,5,6,7,8,9,B,C,F,V,X,Z). In the real world, this will be a 10 character
String.
For this example I'll just use a 5 character. The current latest order number = 123V9
The Method should return 123X1 as the next order number.
The only way I could come up with is something like this.
Then go through a bunch if if then else return logic to figure out the next order.
Am I making a mountain out of a molehill here and missing something pretty basic?
Any thoughts appreciated.
Thanks.
Marc