Now codetable-a is working, validation should be changed according to current code table selection.