Undo some ill-considered "corrections" to classes rud, rcirct,
authorscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 4 Dec 2009 17:06:52 +0000 (17:06 +0000)
committerscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 4 Dec 2009 17:06:52 +0000 (17:06 +0000)
rhrr, rxbt, rxpt, ergbhu, erfcc, rccc, and rccbs.

A primary key should not have a datatype of "link", even if
it is one.

M    Open-ILS/examples/fm_IDL.xml

git-svn-id: svn://svn.open-ils.org/ILS/trunk@15082 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/examples/fm_IDL.xml

index 3a121f3..c79f26b 100644 (file)
@@ -5098,7 +5098,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
        </class>
        <class id="rud" controller="open-ils.reporter-store open-ils.cstore" oils_obj:fieldmapper="reporter::user_demographic" oils_persist:tablename="reporter.demographic" reporter:label="User Demographics">
                <fields oils_persist:primary="id">
-                       <field reporter:label="User ID" name="id" reporter:datatype="link" />
+                       <field reporter:label="User ID" name="id" reporter:datatype="id" />
                        <field reporter:label="Date of Birth" name="dob" reporter:datatype="timestamp"/>
                        <field reporter:label="General Demographic Division" name="general_division" reporter:datatype="text"/>
                </fields>
@@ -5108,7 +5108,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
        </class>
        <class id="rcirct" controller="open-ils.reporter-store open-ils.cstore" oils_obj:fieldmapper="reporter::circulation_type" oils_persist:tablename="reporter.circ_type" reporter:label="Circulation Type">
                <fields oils_persist:primary="id">
-                       <field reporter:label="Circulation ID" name="id" reporter:datatype="link" />
+                       <field reporter:label="Circulation ID" name="id" reporter:datatype="id" />
                        <field reporter:label="Circulation Type" name="type" reporter:datatype="text"/>
                </fields>
                <links>
@@ -5117,7 +5117,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
        </class>
        <class id="rhrr" controller="open-ils.reporter-store open-ils.cstore" oils_obj:fieldmapper="reporter::hold_request_record" oils_persist:tablename="reporter.hold_request_record" reporter:label="Hold Request Record">
                <fields oils_persist:primary="id">
-                       <field reporter:label="Hold ID" name="id" reporter:datatype="link" />
+                       <field reporter:label="Hold ID" name="id" reporter:datatype="id" />
                        <field reporter:label="Hold Target" name="target" reporter:datatype="int" />
                        <field reporter:label="Hold Request Type" name="hold_type" reporter:datatype="text"/>
                        <field reporter:label="Target Bib Record" name="bib_record" reporter:datatype="link"/>
@@ -5129,7 +5129,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
        </class>
        <class id="rxbt" controller="open-ils.reporter-store" oils_obj:fieldmapper="reporter::xact_billing_totals" oils_persist:tablename="reporter.xact_billing_totals" reporter:label="Transaction Billing Totals">
                <fields oils_persist:primary="xact">
-                       <field reporter:label="Transaction ID" name="xact" reporter:datatype="link" />
+                       <field reporter:label="Transaction ID" name="xact" reporter:datatype="int" />
                        <field reporter:label="Unvoided Billing Amount" name="unvoided" reporter:datatype="int" />
                        <field reporter:label="Voided Billing Amount" name="voided" reporter:datatype="money"/>
                        <field reporter:label="Total Billing Amount" name="total" reporter:datatype="money"/>
@@ -5140,7 +5140,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
        </class>
        <class id="rxpt" controller="open-ils.reporter-store" oils_obj:fieldmapper="reporter::xact_paid_totals" oils_persist:tablename="reporter.xact_paid_totals" reporter:label="Transaction Paid Totals">
                <fields oils_persist:primary="xact">
-                       <field reporter:label="Transaction ID" name="xact" reporter:datatype="link" />
+                       <field reporter:label="Transaction ID" name="xact" reporter:datatype="int" />
                        <field reporter:label="Unvoided Paid Amount" name="unvoided" reporter:datatype="int" />
                        <field reporter:label="Voided (Returned) Paid Amount" name="voided" reporter:datatype="money"/>
                        <field reporter:label="Total Paid Amount" name="total" reporter:datatype="money"/>
@@ -5151,7 +5151,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
        </class>
        <class id="ergbhu" controller="open-ils.reporter-store" oils_obj:fieldmapper="extend_reporter::global_bibs_by_holding_update" oils_persist:tablename="extend_reporter.global_bibs_by_holding_update" reporter:label="Bib IDs by Holding Add/Delete Time (OCLC batch update)">
                <fields oils_persist:primary="id">
-                       <field reporter:label="Bib ID" name="id" reporter:datatype="link" />
+                       <field reporter:label="Bib ID" name="id" reporter:datatype="id" />
                        <field reporter:label="Update Time" name="holding_update" reporter:datatype="timestamp" />
                        <field reporter:label="Update Type" name="update_type" reporter:datatype="text" />
                </fields>
@@ -5161,7 +5161,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
        </class>
        <class id="erfcc" controller="open-ils.reporter-store" oils_obj:fieldmapper="extend_reporter::full_circ_count" oils_persist:tablename="extend_reporter.full_circ_count" reporter:label="Total Circulation Count, Including Legacy">
                <fields oils_persist:primary="id">
-                       <field reporter:label="Copy ID" name="id" reporter:datatype="link" />
+                       <field reporter:label="Copy ID" name="id" reporter:datatype="int" />
                        <field reporter:label="Total Circulation Count" name="circ_count" reporter:datatype="int" />
                </fields>
                <links>
@@ -5868,7 +5868,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
        <!-- ********************************************************************************************************************* -->
        <class id="rccc" controller="open-ils.reporter-store" oils_obj:fieldmapper="reporter::classic_current_circ" oils_persist:tablename="reporter.classic_current_circ" reporter:core="true" reporter:label="Classic Circulation View">
                <fields oils_persist:primary="id">
-                       <field reporter:label="Circulation" name="id" reporter:datatype="link" />
+                       <field reporter:label="Circulation" name="id" reporter:datatype="id" />
                        <field reporter:label="Library Circulation Location Short (Policy) Name" name="circ_lib" reporter:datatype="text"/>
                        <field reporter:label="Library Circulation Location Link" name="circ_lib_id" reporter:datatype="org_unit"/>
                        <field reporter:label="Circulation Date/Time" name="xact_start" reporter:datatype="timestamp"/>
@@ -5937,7 +5937,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 
        <class id="rccbs" controller="open-ils.reporter-store" oils_obj:fieldmapper="reporter::classic_current_billing_summary" oils_persist:tablename="reporter.classic_current_billing_summary" reporter:core="true" reporter:label="Classic Open Transaction Summary">
                <fields oils_persist:primary="id">
-                       <field reporter:label="Transaction ID" name="id" reporter:datatype="link" />
+                       <field reporter:label="Transaction ID" name="id" reporter:datatype="id" />
 
                        <field reporter:label="Billing Location Short (Policy) Name" name="billing_location_shortname" reporter:datatype="text"/>
                        <field reporter:label="Billing Location Name" name="billing_location_name" reporter:datatype="text"/>