max function in entitymodel.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

max function in entitymodel.xml

SAURABH SINGH
Dear all

How can i use max function in entity condition in the entitymodel.xml file.

anyone can help me?

--


*Thanks & RegardsSAURABH SINGH**Software Engineer*
Reply | Threaded
Open this post in threaded view
|

Re: max function in entitymodel.xml

Yashwant Dhakad
Hi Saurabh,

Please refer ProductVirtualAndAssocPrices view entity defined in
product/entitydef/entitymodel.xml  for reference.

--
Thanks & Regards,
Yashwant Dhakad




On 04/16/2014 06:00 PM, SAURABH SINGH wrote:
> Dear all
>
> How can i use max function in entity condition in the entitymodel.xml file.
>
> anyone can help me?
>
Reply | Threaded
Open this post in threaded view
|

Re: max function in entitymodel.xml

SAURABH SINGH
Actually i want to get a max value in an entity condition define on
screens.xml

<entity-condition list="valuationList"
entity-name="ContractProgressAndPeriod">
               <condition-list combine="and">
                <condition-expr field-name="workEffortId" operator="equals"
from-field="workEffortId"/>


                 *<condition-exp**r field-name="cum**ulativePayment"
function="MAX" />*
</condition-list>
               </entity-condition>

I want the max value of the given field name cumulativePayment where i
worte function="MAX"


On Wed, Apr 16, 2014 at 6:20 PM, Yashwant Dhakad <
[hidden email]> wrote:

> Hi Saurabh,
>
> Please refer ProductVirtualAndAssocPrices view entity defined in
> product/entitydef/entitymodel.xml  for reference.
>
> --
> Thanks & Regards,
> Yashwant Dhakad
>
>
>
>
>
> On 04/16/2014 06:00 PM, SAURABH SINGH wrote:
>
>> Dear all
>>
>> How can i use max function in entity condition in the entitymodel.xml
>> file.
>>
>> anyone can help me?
>>
>>


--


*Thanks & RegardsSAURABH SINGH**Software Engineer*