set Type as Integer in RMPeriod table