[open-ils-commits] r15731 - trunk/Open-ILS/examples (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Mar 8 09:28:46 EST 2010
Author: erickson
Date: 2010-03-08 09:28:44 -0500 (Mon, 08 Mar 2010)
New Revision: 15731
Modified:
trunk/Open-ILS/examples/fm_IDL.xml
Log:
added pcrud entries for lineitem retrieval
Modified: trunk/Open-ILS/examples/fm_IDL.xml
===================================================================
--- trunk/Open-ILS/examples/fm_IDL.xml 2010-03-08 13:59:56 UTC (rev 15730)
+++ trunk/Open-ILS/examples/fm_IDL.xml 2010-03-08 14:28:44 UTC (rev 15731)
@@ -5195,7 +5195,7 @@
</links>
</class>
- <class id="jub" controller="open-ils.cstore open-ils.reporter-store" oils_obj:fieldmapper="acq::lineitem" oils_persist:tablename="acq.lineitem" reporter:label="Line Item">
+ <class id="jub" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="acq::lineitem" oils_persist:tablename="acq.lineitem" reporter:label="Line Item">
<fields oils_persist:primary="id" oils_persist:sequence="acq.lineitem_id_seq">
<field reporter:label="Lineitem ID" name="id" reporter:datatype="id" />
<field reporter:label="Selecting User" name="selector" reporter:datatype="link" />
@@ -5231,6 +5231,12 @@
<link field="lineitem_notes" reltype="has_many" key="lineitem" map="" class="acqlin"/>
<link field="cancel_reason" reltype="has_a" key="id" map="" class="acqcr"/>
</links>
+ <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
+ <retrieve permission="CREATE_PURCHASE_ORDER VIEW_PURCHASE_ORDER CREATE_PICKLIST VIEW_PICKLIST">
+ <context link="purchase_order" field="ordering_agency"/>
+ <context link="picklist" field="org_unit"/>
+ </retrieve>
+ </permacrud>
</class>
<class id="acqlih" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="acq::acq_lineitem_history" oils_persist:tablename="acq.acq_lineitem_history" reporter:label="Line Item History">
More information about the open-ils-commits
mailing list