<field reporter:label="Currency" name="currency_type" oils_obj:array_position="6" oils_persist:virtual="false" oils_persist:primitive="string" reporter:datatype="link" />
<field name="summary" oils_obj:array_position="7" oils_persist:virtual="true"/>
+ <field reporter:label="Allocations" name="allocations" oils_obj:array_position="8" oils_persist:virtual="true" reporter:datatype="link"/>
+ <field reporter:label="Credits" name="credits" oils_obj:array_position="9" oils_persist:virtual="true" reporter:datatype="link"/>
</fields>
<links>
<link field="currency_type" reltype="has_a" key="code" map="" class="acqct"/>
<link field="owner" reltype="has_a" key="id" map="" class="aou"/>
+ <link field="allocations" reltype="has_many" key="funding_source" class="acqfa"/>
+ <link field="credits" reltype="has_many" key="funding_source" class="acqfscred"/>
</links>
<permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
<actions>
<field reporter:label="Year" name="year" oils_obj:array_position="6" oils_persist:virtual="false" reporter:datatype="int" />
<field reporter:label="Currency Type" name="currency_type" oils_obj:array_position="7" oils_persist:virtual="false" reporter:datatype="text" />
<field name="summary" oils_obj:array_position="8" oils_persist:virtual="true"/>
+ <field reporter:label="Allocations" name="allocations" oils_obj:array_position="9" oils_persist:virtual="true" reporter:datatype="link"/>
+ <field reporter:label="Debits" name="debits" oils_obj:array_position="10" oils_persist:virtual="true" reporter:datatype="link"/>
</fields>
<links>
<link field="org" reltype="has_a" key="id" map="" class="aou"/>
<link field="currency_type" reltype="has_a" key="code" map="" class="acqct"/>
+ <link field="allocations" reltype="has_many" key="fund" class="acqfa"/>
+ <link field="debits" reltype="has_many" key="fund" class="acqfdeb"/>
</links>
</class>