LP1837260 Bill Type IDL required fields
authorBill Erickson <berickxx@gmail.com>
Mon, 22 Jul 2019 14:22:06 +0000 (10:22 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Thu, 1 Aug 2019 20:57:08 +0000 (16:57 -0400)
Add oils_obj:required attributes to config.billing_type IDL fields.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/examples/fm_IDL.xml

index 3ed0f2a..d28d708 100644 (file)
@@ -8408,10 +8408,10 @@ SELECT  usr,
        </class>
        <class id="cbt" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::billing_type" oils_persist:tablename="config.billing_type" oils_persist:restrict_primary="100" reporter:label="Billing Type">
                <fields oils_persist:primary="id" oils_persist:sequence="config.billing_type_id_seq">
-                       <field name="id" reporter:datatype="id" reporter:label="ID" reporter:selector="name"/>
-                       <field name="name" reporter:datatype="text" reporter:label="Name" oils_persist:i18n="true"/>
-                       <field name="owner" reporter:datatype="org_unit" reporter:label="Org Unit" />
-            <field name="default_price" reporter:datatype="money" reporter:label="Default Price"/>
+                       <field name="id" reporter:datatype="id" reporter:label="ID" reporter:selector="name" oils_obj:required="true"/>
+                       <field name="name" reporter:datatype="text" reporter:label="Name" oils_persist:i18n="true" oils_obj:required="true"/>
+                       <field name="owner" reporter:datatype="org_unit" reporter:label="Org Unit" oils_obj:required="true"/>
+                       <field name="default_price" reporter:datatype="money" reporter:label="Default Price"/>
                </fields>
                <links>
                        <link field="owner" reltype="has_a" key="id" map="" class="aou"/>