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

Posted by Alexandre Gomes-5 on
URL: http://ofbiz.116.s1.nabble.com/View-Entity-Is-it-possible-to-build-a-combination-field-tp140263p140264.html

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 <[hidden email]> 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
>
>
>
>
>