LP#1687125: adjust relationship between acqpro and acqpron
[working/Evergreen.git] / Open-ILS / examples / fm_IDL.xml
index d4eb723..00734a8 100644 (file)
@@ -7699,7 +7699,7 @@ SELECT  usr,
                        <field reporter:label="Fax Phone" name="fax_phone" reporter:datatype="text" />
                        <field reporter:label="Default Claim Policy" name="default_claim_policy" reporter:datatype="link" />
                        <field reporter:label="Default # Copies" name="default_copy_count" reporter:datatype="int" />
-                       <field reporter:label="Note" name="provider_note" reporter:datatype="link" />
+                       <field reporter:label="Notes" name="provider_notes" oils_persist:virtual="true" reporter:datatype="link" />
                </fields>
                <links>
                        <link field="currency_type" reltype="has_a" key="code" map="" class="acqct"/>
@@ -7707,7 +7707,7 @@ SELECT  usr,
             <link field="addresses" reltype="has_many" map="" key="provider" class="acqpa"/>
             <link field="edi_default" reltype="has_a" map="" key="id" class="acqedi"/>
                        <link field="default_claim_policy" reltype="has_a" map="" key="id" class="acqclp"/>
-                       <link field="provider_note" reltype="has_a" map="" key="id" class="acqpron"/>
+                       <link field="provider_notes" reltype="has_many" map="" key="provider" class="acqpron"/>
                </links>
         <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
             <actions>