I need to update one of the field in generator.
The field values are P-II,P-III,P-IV and P-V in the database.A match function used on this field in the generator.
match("field",'P-II','P-III','P-IV','P-V','Test') as code.
This field returns value like 0,1,2,3,4 in the interface.Now user wants the field to return 2,3,4,5 and 0 for null.
Kindly let me know what changes required in the generator.