I am trying to create a alphanumeric serial number in Javascript, the serial number is governed by the following rules:

1. 3-Digit Alphanumeric Series
2. Allowed values 1-9 (Zero is excluded) and A-Z (All Capitals with exclusions of I and O)
3. The code should be able to give the next number after getting the input number.

The last part is tricky, basically the code would fetch the existing value of the serial number and it would then give the output as the next number.

For example: If the input number 11D then the output number should be 11E. Please let me know if this description is good enough to explain my requirement.

The excel sheet for the same is attached [here](https://docs.google.com/file/d/0BzoorscHTf6cckFxU0pZYlVGeDg/edit?usp=sharing)

Also the part of the code where the script would fetch the starting value 11D would be from this code:

```
cur_frm.add_fetch('item_group','serial_number','serial_number');

```