Re: [OFBiz] Dev - How to filter a field in a <view-entity>
Posted by
Adam Heath-2 on
URL: http://ofbiz.116.s1.nabble.com/OFBiz-Dev-How-to-filter-a-field-in-a-view-entity-tp165825p165827.html
On Mon, 8 Aug 2005, Si Chen wrote:
> Li Yan,
>
> You define your view-entity in the entitymodel.xml but you filter it
> using the delegator.find_ methods in your java code, such as:
>
> delegator.findByAnd("Employee", UtilMisc.toMap("isDeleted", "N"));
Until such time as I forward port the change that let's you do it in
entitymodel.
The feature let you:
* create related entities, that were restricted based on a condition
* create a view-link that was restricted by a condition.
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev