handling "lookup", "set", "enum", and "many to many" for "detail one to many" field