hi Rojalin Patri,
ListType listType=ListTypeServiceUtil.getListType(contact.getPrefixId());
String prefix =listType.getName();
k now i am doing according to your suggestion but i found that in contact table there is prefixId field but there is no value, all records have zero value.
so why prefixId is not stored in that field.
now how can i get prefixId and what should i do to get Stored prefixId in that field.
thanks.
Please sign in to flag this as inappropriate.