Merge branch 'FINERACT-331' into develop

This commit is contained in:
Nazeer Hussain Shaik
2017-03-13 17:33:39 +05:30
@@ -562,6 +562,13 @@ public final class Client extends AbstractPersistableCustom<Long> {
{
actualChanges.put(ClientApiConstants.legalFormIdParamName, ClientEnumerations.legalForm(newValue));
this.setLegalForm(legalForm.getValue());
if(legalForm.isPerson()){
this.fullname = null;
}else if(legalForm.isEntity()){
this.firstname = null;
this.lastname = null;
this.displayName = null;
}
}
else
{