You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Vinay Agarwal <Vi...@hotmail.com> on 2006/06/28 15:23:23 UTC
View Entity-Is it possible to build a combination field?
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
Re: View Entity-Is it possible to build a combination field?
Posted by Alexandre Gomes <al...@gmail.com>.
Hi Vinay,
Maybe doing it with code in a dynamic view entity (proxy for the Party entity).
Regards,
Alexandre Gomes
On 6/28/06, Vinay Agarwal <Vi...@hotmail.com> wrote:
> 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
>
>
>
>
>