Login  Register

View Entity-Is it possible to build a combination field?

Posted by Vinay Agarwal on Jun 28, 2006; 2:23pm
URL: http://ofbiz.116.s1.nabble.com/View-Entity-Is-it-possible-to-build-a-combination-field-tp140263.html

Hello,

 

It is desirable to sort many party lists with names. Unfortunately, party
names can be either groupName, or a combination of first, and last names
which makes sorting difficult. Is it possible to build a view entity that
has a name field

partyName = isgroup ? groupName : lastName + ", " + firstName;

 

Thanks in advance,

Vinay Agarwal