Converted intValue to integerValue
#254 all segment value creation/importation respects current process codes; lottery creation imports process codes