LP#1904244: add edi_accounts virtual field to EDI attribute sets
authorGalen Charlton <gmc@equinoxOLI.org>
Sat, 27 Mar 2021 21:00:02 +0000 (17:00 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 12 Aug 2021 19:29:26 +0000 (15:29 -0400)
This facilitates retrieving the list of EDI accounts that use
a given attribute set.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Ruth Frasur <rfrasur@library.in.gov>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/examples/fm_IDL.xml

index 364ae32..58c89a7 100644 (file)
@@ -10502,9 +10502,11 @@ SELECT  usr,
                        <field name="id"    reporter:datatype="id"   reporter:label="ID" reporter:selector="label"/>
                        <field name="label" reporter:datatype="text" reporter:label="Label"/>
                        <field name="attr_maps" reporter:datatype="link" oils_persist:virtual="true" reporter:label="Mapped EDI Attributes"/>
+                       <field name="edi_accounts" reporter:datatype="link" oils_persist:virtual="true" reporter:label="EDI Accounts"/>
                </fields>
                <links>
                        <link field="attr_maps" reltype="has_many" key="attr_set" map="" class="aeasm"/>
+                       <link field="edi_accounts" reltype="has_many" key="attr_set" map="" class="acqedi"/>
                </links>
         <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
             <actions>