ERT-419 - Storing of scale values.

Scale values stored for each data type.