1 <?xml version="1.0" encoding="UTF-8" ?>
4 Copyright (C) 2006-2008 Georgia Public Library Service
5 Copyright (C) 2008 Equinox Software, Inc
6 Author: Mike Rylander <miker@esilibrary.com>
8 This program is free software; you can redistribute it and/or
9 modify it under the terms of the GNU General Public License
10 as published by the Free Software Foundation; either version 2
11 of the License, or (at your option) any later version.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
22 ############################
24 ############################
28 controller="open-ils.cstore open-ils.pcrud"
29 oils_obj:fieldmapper=""
30 oils_persist:tablename=""
32 oils_persist:field_safe=""
33 oils_persist:virtual=""
34 oils_persist:readonly=""
38 <oils_persist:source_definition><![CDATA[
40 ]]></oils_persist:source_definition>
42 <fields oils_persist:primary="" oils_persist:sequence="">
43 <field reporter:label="ID" name="id" reporter:datatype="id"/>
44 <field reporter:label="" name="" reporter:datatype="org_unit"/>
45 <field reporter:label="" name="" reporter:datatype="text"/>
46 <field reporter:label="" name="" reporter:datatype="link"/>
47 <field reporter:label="" name="" reporter:datatype="timestamp"/>
48 <field reporter:label="" name="" reporter:datatype="money"/>
49 <field reporter:label="" name="" reporter:datatype="bool"/>
50 <field reporter:label="" name="" reporter:datatype="int" oils_obj:required="true"/>
51 <field reporter:label="" name="" reporter:datatype="int" oils_persist:virtual="true"/>
55 <link field="" reltype="has_a" key="" map="" class=""/>
58 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
60 <create permission="" gloabl_required="true"/>
62 <update permission="" context_field=""/>
63 <delete permission="">
64 <context link="" field=""/>
74 <IDL xmlns="http://opensrf.org/spec/IDL/base/v1" xmlns:idl="http://opensrf.org/spec/IDL/base/v1" xmlns:oils_persist="http://open-ils.org/spec/opensrf/IDL/persistence/v1" xmlns:oils_obj="http://open-ils.org/spec/opensrf/IDL/objects/v1" xmlns:reporter="http://open-ils.org/spec/opensrf/IDL/reporter/v1" xmlns:permacrud="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
76 <!-- Virtual classes -->
77 <class id="mups" controller="open-ils.cstore" oils_obj:fieldmapper="money::user_payment_summary" oils_persist:virtual="true" reporter:label="User Payment Summary">
79 <field name="usr" oils_persist:virtual="true" />
80 <field name="forgive_payment" oils_persist:virtual="true" />
81 <field name="work_payment" oils_persist:virtual="true" />
82 <field name="credit_payment" oils_persist:virtual="true" />
83 <field name="goods_payment" oils_persist:virtual="true" />
84 <field name="account_adjustment" oils_persist:virtual="true" />
87 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
91 <class id="mwps" controller="open-ils.cstore" oils_obj:fieldmapper="money::workstation_payment_summary" oils_persist:virtual="true" reporter:label="Workstation Payment Summary">
93 <field name="workstation" oils_persist:virtual="true" />
94 <field name="cash_payment" oils_persist:virtual="true" />
95 <field name="check_payment" oils_persist:virtual="true" />
96 <field name="credit_card_payment" oils_persist:virtual="true" />
99 <link field="workstation" reltype="has_a" key="id" map="" class="aws"/>
103 <class id="brn" controller="open-ils.cstore" oils_obj:fieldmapper="biblio::record_node" oils_persist:virtual="true" reporter:label="Record Node">
105 <field name="id" oils_persist:virtual="true" />
106 <field name="children" oils_persist:virtual="true" />
107 <field name="owner_doc" oils_persist:virtual="true" />
108 <field name="intra_doc_id" oils_persist:virtual="true" />
109 <field name="parent_node" oils_persist:virtual="true" />
110 <field name="node_type" oils_persist:virtual="true" />
111 <field name="namespace_uri" oils_persist:virtual="true" />
112 <field name="name" oils_persist:virtual="true" />
113 <field name="value" oils_persist:virtual="true" />
117 <class id="mvr" controller="open-ils.cstore" oils_obj:fieldmapper="metabib::virtual_record" oils_persist:virtual="true" reporter:label="Virtual Record">
119 <field name="title" oils_persist:virtual="true" />
120 <field name="author" oils_persist:virtual="true" />
121 <field name="doc_id" oils_persist:virtual="true" />
122 <field name="doc_type" oils_persist:virtual="true" />
123 <field name="pubdate" oils_persist:virtual="true" />
124 <field name="isbn" oils_persist:virtual="true" />
125 <field name="publisher" oils_persist:virtual="true" />
126 <field name="tcn" oils_persist:virtual="true" />
127 <field name="subject" oils_persist:virtual="true" />
128 <field name="types_of_resource" oils_persist:virtual="true" />
129 <field name="call_numbers" oils_persist:virtual="true" />
130 <field name="edition" oils_persist:virtual="true" />
131 <field name="online_loc" oils_persist:virtual="true" />
132 <field name="synopsis" oils_persist:virtual="true" />
133 <field name="physical_description" oils_persist:virtual="true" />
134 <field name="toc" oils_persist:virtual="true" />
135 <field name="copy_count" oils_persist:virtual="true" />
136 <field name="series" oils_persist:virtual="true" />
137 <field name="serials" oils_persist:virtual="true" />
138 <field name="foreign_copy_maps" oils_persist:virtual="true" />
142 <class id="ex" controller="open-ils.cstore" oils_obj:fieldmapper="ex" oils_persist:virtual="true">
144 <field name="err_msg" oils_persist:virtual="true" />
145 <field name="type" oils_persist:virtual="true" />
149 <class id="perm_ex" controller="open-ils.cstore" oils_obj:fieldmapper="perm_ex" oils_persist:virtual="true">
151 <field name="err_msg" oils_persist:virtual="true" />
152 <field name="type" oils_persist:virtual="true" />
156 <class id="amtr" controller="open-ils.cstore" oils_obj:fieldmapper="action::matrix_test_result" oils_persist:virtual="true" reporter:label="Matrix Test Result">
157 <fields oils_persist:primary="matchpoint">
158 <field reporter:label="Matchpoint ID" name="matchpoint" reporter:datatype="id"/>
159 <field reporter:label="Success" name="success" reporter:datatype="bool"/>
160 <field reporter:label="Failure Part" name="fail_part" reporter:datatype="text"/>
163 <link field="matchpoint" reltype="has_a" key="id" map="" class="ccmm"/>
167 <class id="accs" controller="open-ils.cstore" oils_obj:fieldmapper="action::circ_chain_summary" oils_persist:virtual="true" reporter:label="Circulation Chain Summary">
168 <!-- when the time is right, turn me into a view. -->
170 <field reporter:label="Total Circs" name="num_circs" reporter:datatype="int"/>
171 <field reporter:label="Start Time" name="start_time" reporter:datatype="timestamp"/>
172 <field reporter:label="Checkout Workstation" name="checkout_workstation" reporter:datatype="text"/>
173 <field reporter:label="Last Renewal Time" name="last_renewal_time" reporter:datatype="timestamp"/>
174 <field reporter:label="Last Stop Fines" name="last_stop_fines" reporter:datatype="text"/>
175 <field reporter:label="Last Stop Fines Time" name="last_stop_fines_time" reporter:datatype="timestamp"/>
176 <field reporter:label="Last Renewal Workstation" name="last_renewal_workstation" reporter:datatype="text"/>
177 <field reporter:label="Last Checkin Workstation" name="last_checkin_workstation" reporter:datatype="text"/>
178 <field reporter:label="Last Checkin Time" name="last_checkin_time" reporter:datatype="timestamp"/>
179 <field reporter:label="Last Checkin Scan Time" name="last_checkin_scan_time" reporter:datatype="timestamp"/>
183 <class id="rhr" oils_obj:fieldmapper="resolver::holdings_record" oils_persist:virtual="true">
185 <field name="public_name" oils_persist:virtual="true" />
186 <field name="target_url" oils_persist:virtual="true" />
187 <field name="target_coverage" oils_persist:virtual="true" />
188 <field name="target_embargo" oils_persist:virtual="true" />
192 <!-- Actually in the DB -->
193 <class id="vmp" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="vandelay::merge_profile" oils_persist:tablename="vandelay.merge_profile" reporter:label="Bib Import Merge Profile">
194 <fields oils_persist:primary="id" oils_persist:sequence="vandelay.merge_profile_id_seq">
195 <field reporter:label="Field ID" name="id" reporter:selector="name" reporter:datatype="id"/>
196 <field reporter:label="Owner" name="owner" reporter:datatype="link"/>
197 <field reporter:label="Name" name="name" reporter:datatype="text" oils_persist:i18n="true"/>
198 <field reporter:label="Add Specification" name="add_spec" reporter:datatype="text"/>
199 <field reporter:label="Replace Specification" name="replace_spec" reporter:datatype="text"/>
200 <field reporter:label="Remove Specification" name="strip_spec" reporter:datatype="text"/>
201 <field reporter:label="Preserve Specification" name="preserve_spec" reporter:datatype="text"/>
202 <field reporter:label="Min. Quality Ratio" name="lwm_ratio" reporter:datatype="float"/>
203 <field reporter:label="Update Bib. Source" name="update_bib_source" reporter:datatype="bool"/>
206 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
208 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
210 <create permission="ADMIN_MERGE_PROFILE CREATE_MERGE_PROFILE" context_field="owner"/>
211 <retrieve permission="ADMIN_MERGE_PROFILE CREATE_MERGE_PROFILE UPDATE_MERGE_PROFILE DELETE_MERGE_PROFILE VIEW_MERGE_PROFILE" context_field="owner"/>
212 <update permission="ADMIN_MERGE_PROFILE UPDATE_MERGE_PROFILE" context_field="owner"/>
213 <delete permission="ADMIN_MERGE_PROFILE DELETE_MERGE_PROFILE" context_field="owner"/>
218 <class id="vibtf" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="vandelay::import_bib_trash_fields" oils_persist:tablename="vandelay.import_bib_trash_fields" reporter:label="Import/Overlay Fields for Removal">
219 <fields oils_persist:primary="id" oils_persist:sequence="vandelay.import_bib_trash_fields_id_seq">
220 <field reporter:label="Field ID" name="id" reporter:datatype="id"/>
221 <field reporter:label="Group" name="grp" reporter:datatype="link"/>
222 <field reporter:label="Field" name="field" reporter:datatype="text"/>
225 <link field="grp" reltype="has_a" key="id" map="" class="vibtg"/>
227 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
229 <create permission="CREATE_IMPORT_TRASH_FIELD">
230 <context link="grp" field="owner"/>
233 <update permission="UPDATE_IMPORT_TRASH_FIELD">
234 <context link="grp" field="owner"/>
236 <delete permission="DELETE_IMPORT_TRASH_FIELD">
237 <context link="grp" field="owner"/>
244 controller="open-ils.cstore open-ils.pcrud"
245 oils_obj:fieldmapper="rating::record_badge_score"
246 oils_persist:tablename="rating.record_badge_score"
247 reporter:label="Statistical Popularity Badge">
248 <fields oils_persist:primary="id"
249 oils_persist:sequence="rating.record_badge_score_id_seq">
250 <field reporter:label="ID" name="id" reporter:datatype="id" reporter:selector="name"/>
251 <field reporter:label="Badge" name="badge" reporter:datatype="link"/>
252 <field reporter:label="Record" name="record" reporter:datatype="link"/>
253 <field reporter:label="Score" name="score" reporter:datatype="int"/>
256 <link field="badge" reltype="has_a" key="id" map="" class="rb"/>
257 <link field="record" reltype="has_a" key="id" map="" class="bre"/>
259 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
267 controller="open-ils.cstore open-ils.pcrud"
268 oils_obj:fieldmapper="rating::popularity_parameter"
269 oils_persist:tablename="rating.popularity_parameter"
270 reporter:label="Statistical Popularity Parameter">
271 <fields oils_persist:primary="id"
272 oils_persist:sequence="rating.popularity_parameter_id_seq">
273 <field reporter:label="ID" name="id" reporter:datatype="id" reporter:selector="name"/>
274 <field reporter:label="Name" name="name" reporter:datatype="text"/>
275 <field reporter:label="Description" name="description" reporter:datatype="text"/>
276 <field reporter:label="Population Function" name="func" reporter:datatype="text"/>
277 <field reporter:label="Require Horizon" name="require_horizon" reporter:datatype="bool"/>
278 <field reporter:label="Require Percentile" name="require_percentile" reporter:datatype="bool"/>
279 <field reporter:label="Require Importance" name="require_importance" reporter:datatype="bool"/>
281 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
283 <create permission="CREATE_POP_PARAMETER" global_required="true"/>
285 <update permission="UPDATE_POP_PARAMETER" global_required="true"/>
286 <delete permission="DELETE_POP_PARAMETER" global_required="true"/>
292 controller="open-ils.cstore open-ils.pcrud"
293 oils_obj:fieldmapper="rating::badge"
294 oils_persist:tablename="rating.badge"
295 reporter:label="Statistical Popularity Badge">
296 <fields oils_persist:primary="id"
297 oils_persist:sequence="rating.badge_id_seq">
298 <field reporter:label="ID" name="id" reporter:datatype="id" reporter:selector="name"/>
299 <field reporter:label="Name" name="name" reporter:datatype="text" oils_persist:i18n="true"/>
300 <field reporter:label="Description" name="description" reporter:datatype="text" oils_persist:i18n="true"/>
301 <field reporter:label="Scope" name="scope" reporter:datatype="org_unit"/>
302 <field reporter:label="Weight" name="weight" reporter:datatype="int"/>
303 <field reporter:label="Age Horizon" name="horizon_age" reporter:datatype="text"/>
304 <field reporter:label="Importance Horizon" name="importance_age" reporter:datatype="text"/>
305 <field reporter:label="Importance Interval" name="importance_interval" reporter:datatype="text"/>
306 <field reporter:label="Importance Scale" name="importance_scale" reporter:datatype="text"/>
307 <field reporter:label="Percentile" name="percentile" reporter:datatype="float"/>
308 <field reporter:label="Attribute Filter" name="attr_filter" reporter:datatype="text"/>
309 <field reporter:label="Circ Mod Filter" name="circ_mod_filter" reporter:datatype="link"/>
310 <field reporter:label="Bib Source Filter" name="src_filter" reporter:datatype="link"/>
311 <field reporter:label="Location Group Filter" name="loc_grp_filter" reporter:datatype="link"/>
312 <field reporter:label="Recalculation Interval" name="recalc_interval" reporter:datatype="text"/>
313 <field reporter:label="Fixed Rating" name="fixed_rating" reporter:datatype="int"/>
314 <field reporter:label="Discard Value Count" name="discard" reporter:datatype="int"/>
315 <field reporter:label="Last Refresh Time" name="last_calc" reporter:datatype="timestamp"/>
316 <field reporter:label="Popularity Parameter" name="popularity_parameter" reporter:datatype="link"/>
319 <link field="scope" reltype="has_a" key="id" map="" class="aou"/>
320 <link field="popularity_parameter" reltype="has_a" key="id" map="" class="rp"/>
321 <link field="src_filter" reltype="has_a" key="id" map="" class="cbs"/>
322 <link field="circ_mod_filter" reltype="has_a" key="code" map="" class="ccm"/>
323 <link field="loc_grp_filter" reltype="has_a" key="id" map="" class="acplg"/>
325 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
327 <create permission="CREATE_POP_BADGE" global_required="true"/>
329 <update permission="UPDATE_POP_BADGE" global_required="true"/>
330 <delete permission="DELETE_POP_BADGE" global_required="true"/>
336 controller="open-ils.cstore open-ils.pcrud"
337 oils_obj:fieldmapper="vandelay::import_bib_trash_group"
338 oils_persist:tablename="vandelay.import_bib_trash_group"
339 reporter:label="Import/Overlay Field Groups for Removal">
340 <fields oils_persist:primary="id"
341 oils_persist:sequence="vandelay.import_bib_trash_group_id_seq">
342 <field reporter:label="ID" name="id" reporter:datatype="id" reporter:selector="name"/>
343 <field reporter:label="Owner" name="owner" reporter:datatype="link"/>
344 <field reporter:label="Label" name="label" reporter:datatype="text"/>
345 <field reporter:label="Always Apply" name="always_apply" reporter:datatype="bool"/>
348 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
350 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
352 <create permission="CREATE_IMPORT_TRASH_FIELD" context_field="owner"/>
354 <update permission="UPDATE_IMPORT_TRASH_FIELD" context_field="owner"/>
355 <delete permission="DELETE_IMPORT_TRASH_FIELD" context_field="owner"/>
361 <class id="vii" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="vandelay::import_item" oils_persist:tablename="vandelay.import_item" reporter:label="Import Item">
362 <fields oils_persist:primary="id" oils_persist:sequence="vandelay.import_item_id_seq">
363 <field reporter:label="Import Item ID" name="id" reporter:datatype="id"/>
364 <field reporter:label="Import Record" name="record" reporter:datatype="link"/>
365 <field reporter:label="Attribute Definition" name="definition" reporter:datatype="link"/>
366 <field reporter:label="Import Error" name="import_error" reporter:datatype="link"/>
367 <field reporter:label="Import Error Detail" name="error_detail" reporter:datatype="text"/>
368 <field reporter:label="Final Target Copy" name="imported_as" reporter:datatype="link"/>
369 <field reporter:label="Import Time" name="import_time" reporter:datatype="timestamp"/>
370 <field reporter:label="Owning Library" name="owning_lib" reporter:datatype="int"/>
371 <field reporter:label="Circulating Library" name="circ_lib" reporter:datatype="int"/>
372 <field reporter:label="Call Number" name="call_number" reporter:datatype="text"/>
373 <field reporter:label="Copy Number" name="copy_number" reporter:datatype="int"/>
374 <field reporter:label="Status" name="status" reporter:datatype="int"/>
375 <field reporter:label="Shelving Location" name="location" reporter:datatype="int"/>
376 <field reporter:label="Circulate" name="circulate" reporter:datatype="bool"/>
377 <field reporter:label="Deposit" name="deposit" reporter:datatype="bool"/>
378 <field reporter:label="Deposit Amount" name="deposit_amount" reporter:datatype="money"/>
379 <field reporter:label="Reference" name="ref" reporter:datatype="bool"/>
380 <field reporter:label="Holdable" name="holdable" reporter:datatype="bool"/>
381 <field reporter:label="Price" name="price" reporter:datatype="money"/>
382 <field reporter:label="Barcode" name="barcode" reporter:datatype="text"/>
383 <field reporter:label="Circulation Modifier" name="circ_modifier" reporter:datatype="text"/>
384 <field reporter:label="Circulate As MARC Type" name="circ_as_type" reporter:datatype="text"/>
385 <field reporter:label="Alert Message" name="alert_message" reporter:datatype="text"/>
386 <field reporter:label="Public Note" name="pub_note" reporter:datatype="text"/>
387 <field reporter:label="Private Note" name="priv_note" reporter:datatype="text"/>
388 <field reporter:label="OPAC Visible" name="opac_visible" reporter:datatype="bool"/>
389 <field reporter:label="Overlay Match ID" name="internal_id" reporter:datatype="int"/>
390 <field reporter:label="Stat Cat Data" name="stat_cat_data" reporter:datatype="text"/>
391 <field reporter:label="Parts Data" name="parts_data" reporter:datatype="text"/>
394 <link field="import_error" reltype="has_a" key="code" map="" class="vie"/>
395 <link field="record" reltype="has_a" key="id" map="" class="vqbr"/>
396 <link field="definition" reltype="has_a" key="id" map="" class="viiad"/>
397 <link field="imported_as" reltype="has_a" key="id" map="" class="acp"/>
399 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
401 <create permission="CREATE_IMPORT_ITEM">
402 <context link="definition" field="owner"/>
404 <retrieve permission="CREATE_IMPORT_ITEM UPDATE_IMPORT_ITEM DELETE_IMPORT_ITEM">
405 <context link="definition" field="owner"/>
407 <update permission="UPDATE_IMPORT_ITEM">
408 <context link="definition" field="owner"/>
410 <delete permission="DELETE_IMPORT_ITEM">
411 <context link="definition" field="owner"/>
417 <class id="viiad" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="vandelay::import_item_attr_definition" oils_persist:tablename="vandelay.import_item_attr_definition" reporter:label="Import Item Attribute Definition">
418 <fields oils_persist:primary="id" oils_persist:sequence="vandelay.import_item_attr_definition_id_seq">
419 <field reporter:label="Definition ID" name="id" reporter:datatype="id"/>
420 <field reporter:label="Owner" name="owner" reporter:datatype="link"/>
421 <field reporter:label="Name" name="name" reporter:datatype="text" oils_persist:i18n="true"/>
422 <field reporter:label="Tag" name="tag" reporter:datatype="text"/>
423 <field reporter:label="Owning Library" name="owning_lib" reporter:datatype="text"/>
424 <field reporter:label="Circulating Library" name="circ_lib" reporter:datatype="text"/>
425 <field reporter:label="Call Number" name="call_number" reporter:datatype="text"/>
426 <field reporter:label="Status" name="status" reporter:datatype="text"/>
427 <field reporter:label="Shelving Location" name="location" reporter:datatype="text"/>
428 <field reporter:label="Circulate" name="circulate" reporter:datatype="text"/>
429 <field reporter:label="Deposit" name="deposit" reporter:datatype="text"/>
430 <field reporter:label="Deposit Amount" name="deposit_amount" reporter:datatype="text"/>
431 <field reporter:label="Reference" name="ref" reporter:datatype="text"/>
432 <field reporter:label="Holdable" name="holdable" reporter:datatype="text"/>
433 <field reporter:label="Price" name="price" reporter:datatype="text"/>
434 <field reporter:label="Barcode" name="barcode" reporter:datatype="text"/>
435 <field reporter:label="Circulation Modifier" name="circ_modifier" reporter:datatype="text"/>
436 <field reporter:label="Circulate As MARC Type" name="circ_as_type" reporter:datatype="text"/>
437 <field reporter:label="Alert Message" name="alert_message" reporter:datatype="text"/>
438 <field reporter:label="Public Note" name="pub_note" reporter:datatype="text"/>
439 <field reporter:label="Private Note" name="priv_note" reporter:datatype="text"/>
440 <field reporter:label="OPAC Visible" name="opac_visible" reporter:datatype="text"/>
441 <field reporter:label="Copy Number" name="copy_number" reporter:datatype="text"/>
442 <field reporter:label="Overlay Match ID" name="internal_id" reporter:datatype="text"/>
443 <field reporter:label="Stat Cat Data" name="stat_cat_data" reporter:datatype="text"/>
444 <field reporter:label="Parts Data" name="parts_data" reporter:datatype="text"/>
447 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
449 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
451 <create permission="CREATE_IMPORT_ITEM_ATTR_DEF ADMIN_IMPORT_ITEM_ATTR_DEF" context_field="owner"/>
452 <retrieve permission="CREATE_IMPORT_ITEM_ATTR_DEF UPDATE_IMPORT_ITEM_ATTR_DEF DELETE_IMPORT_ITEM_ATTR_DEF ADMIN_IMPORT_ITEM_ATTR_DEF" context_field="owner"/>
453 <update permission="UPDATE_IMPORT_ITEM_ATTR_DEF ADMIN_IMPORT_ITEM_ATTR_DEF" context_field="owner"/>
454 <delete permission="DELETE_IMPORT_ITEM_ATTR_DEF ADMIN_IMPORT_ITEM_ATTR_DEF" context_field="owner"/>
459 <class id="vbq" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="vandelay::bib_queue" oils_persist:tablename="vandelay.bib_queue" reporter:label="Import/Overlay Bib Queue">
460 <fields oils_persist:primary="id" oils_persist:sequence="vandelay.queue_id_seq">
461 <field reporter:label="Queue ID" name="id" reporter:selector="name" reporter:datatype="id"/>
462 <field reporter:label="Owner" name="owner" reporter:datatype="link"/>
463 <field reporter:label="Name" name="name" reporter:datatype="text" oils_persist:i18n="true"/>
464 <field reporter:label="Complete" name="complete" reporter:datatype="bool"/>
465 <field reporter:label="Type" name="queue_type" reporter:datatype="text"/>
466 <field reporter:label="Match Set" name="match_set" reporter:datatype="link"/>
467 <field reporter:label="Item Import Attribute Definition" name="item_attr_def" reporter:datatype="link"/>
468 <field reporter:label="Match Bucket" name="match_bucket" reporter:datatype="link"/>
471 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
472 <link field="item_attr_def" reltype="has_a" key="id" map="" class="viiad"/>
473 <link field="match_set" reltype="has_a" key="id" map="" class="vms"/>
474 <link field="match_bucket" reltype="has_a" key="id" map="" class="cbreb"/>
476 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
478 <create permission="CREATE_BIB_IMPORT_QUEUE" global_required="true"/>
479 <retrieve permission="CREATE_BIB_IMPORT_QUEUE UPDATE_BIB_IMPORT_QUEUE DELETE_BIB_IMPORT_QUEUE" global_required="true"/>
480 <update permission="UPDATE_BIB_IMPORT_QUEUE" global_required="true"/>
481 <delete permission="DELETE_BIB_IMPORT_QUEUE" global_required="true"/>
486 <class id="vie" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="vandelay::import_error" oils_persist:tablename="vandelay.import_error" reporter:label="Import/Overlay Error Definitions">
487 <fields oils_persist:primary="code">
488 <field reporter:label="Error Code" name="code" reporter:selector="description" reporter:datatype="id"/>
489 <field reporter:label="Description" name="description" reporter:datatype="text" oils_persist:i18n="true"/>
492 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
493 <link field="item_attr_def" reltype="has_a" key="id" map="" class="viiad"/>
494 <link field="match_set" reltype="has_a" key="id" map="" class="vms"/>
496 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
503 <class id="vqbr" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="vandelay::queued_bib_record" oils_persist:tablename="vandelay.queued_bib_record" reporter:label="Queued Bib Record">
504 <fields oils_persist:primary="id" oils_persist:sequence="vandelay.queued_record_id_seq">
505 <field reporter:label="Record ID" name="id" reporter:datatype="id"/>
506 <field reporter:label="Create Time" name="create_time" reporter:datatype="timestamp"/>
507 <field reporter:label="Import Time" name="import_time" reporter:datatype="timestamp"/>
508 <field reporter:label="MARC" name="marc" reporter:datatype="text"/>
509 <field reporter:label="Queue" name="queue" reporter:datatype="link"/>
510 <field reporter:label="Bib Source" name="bib_source" reporter:datatype="link"/>
511 <field reporter:label="Final Target Record" name="imported_as" reporter:datatype="link"/>
512 <field reporter:label="Import Error" name="import_error" reporter:datatype="link"/>
513 <field reporter:label="Import Error Detail" name="error_detail" reporter:datatype="text"/>
514 <field reporter:label="Purpose" name="purpose" reporter:datatype="text"/>
515 <field reporter:label="Attributes" name="attributes" oils_persist:virtual="true" reporter:datatype="link"/>
516 <field reporter:label="Matches" name="matches" oils_persist:virtual="true" reporter:datatype="link"/>
517 <field reporter:label="Import Items" name="import_items" oils_persist:virtual="true" reporter:datatype="link"/>
518 <field reporter:label="Quality" name="quality" reporter:datatype="int"/>
521 <link field="import_error" reltype="has_a" key="code" map="" class="vie"/>
522 <link field="queue" reltype="has_a" key="id" map="" class="vbq"/>
523 <link field="bib_source" reltype="has_a" key="id" map="" class="cbs"/>
524 <link field="imported_as" reltype="has_a" key="id" map="" class="bre"/>
525 <link field="attributes" reltype="has_many" key="record" map="" class="vqbra"/>
526 <link field="matches" reltype="has_many" key="queued_record" map="" class="vbm"/>
527 <link field="import_items" reltype="has_many" key="record" map="" class="vii"/>
529 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
531 <create permission="CREATE_BIB_IMPORT_QUEUE" global_required="true"/>
532 <retrieve permission="CREATE_BIB_IMPORT_QUEUE UPDATE_BIB_IMPORT_QUEUE DELETE_BIB_IMPORT_QUEUE" global_required="true"/>
533 <update permission="UPDATE_BIB_IMPORT_QUEUE" global_required="true"/>
534 <delete permission="DELETE_BIB_IMPORT_QUEUE" global_required="true"/>
539 <class id="vqbrad" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="vandelay::bib_attr_definition" oils_persist:tablename="vandelay.bib_attr_definition" reporter:label="Queued Bib Record Attribute Definition">
540 <fields oils_persist:primary="id" oils_persist:sequence="vandelay.bib_attr_definition_id_seq">
541 <field reporter:label="ID" name="id" reporter:datatype="id"/>
542 <field reporter:label="Code" name="code" reporter:datatype="text"/>
543 <field reporter:label="Description" name="description" reporter:datatype="text" oils_persist:i18n="true"/>
544 <field reporter:label="XPath" name="xpath" reporter:datatype="text"/>
545 <field reporter:label="Remove RegExp" name="remove" reporter:datatype="text"/>
548 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
550 <create permission="CREATE_BIB_IMPORT_FIELD_DEF" global_required="true"/>
552 <update permission="UPDATE_BIB_IMPORT_IMPORT_FIELD_DEF" global_required="true"/>
553 <delete permission="DELETE_BIB_IMPORT_IMPORT_FIELD_DEF" global_required="true"/>
558 <class id="vqbra" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="vandelay::queued_bib_record_attr" oils_persist:tablename="vandelay.queued_bib_record_attr" reporter:label="Queued Bib Record Attribute">
559 <fields oils_persist:primary="id" oils_persist:sequence="vandelay.queued_bib_record_attr_id_seq">
560 <field reporter:label="Attribute ID" name="id" reporter:datatype="id"/>
561 <field reporter:label="Record" name="record" reporter:datatype="link"/>
562 <field reporter:label="Field" name="field" reporter:datatype="link"/>
563 <field reporter:label="Value" name="attr_value" reporter:datatype="text"/>
566 <link field="record" reltype="has_a" key="id" map="" class="vqbr"/>
567 <link field="field" reltype="has_a" key="id" map="" class="vqbrad"/>
569 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
571 <create permission="CREATE_BIB_IMPORT_QUEUE" global_required="true"/>
572 <retrieve permission="CREATE_BIB_IMPORT_QUEUE UPDATE_BIB_IMPORT_QUEUE DELETE_BIB_IMPORT_QUEUE" global_required="true"/>
573 <update permission="UPDATE_BIB_IMPORT_QUEUE" global_required="true"/>
574 <delete permission="DELETE_BIB_IMPORT_QUEUE" global_required="true"/>
579 <class id="vbm" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="vandelay::bib_match" oils_persist:tablename="vandelay.bib_match" reporter:label="Queued Bib Record Match">
580 <fields oils_persist:primary="id" oils_persist:sequence="vandelay.bib_match_id_seq">
581 <field reporter:label="Match ID" name="id" reporter:datatype="id"/>
582 <field reporter:label="Queued Record" name="queued_record" reporter:datatype="link"/>
583 <field reporter:label="Evergreen Record" name="eg_record" reporter:datatype="link"/>
584 <field reporter:label="Quality" name="quality" reporter:datatype="text"/>
585 <field reporter:label="Match Score" name="match_score" reporter:datatype="text"/>
588 <link field="queued_record" reltype="has_a" key="id" map="" class="vqbr"/>
589 <link field="eg_record" reltype="has_a" key="id" map="" class="bre"/>
591 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
593 <create permission="CREATE_BIB_IMPORT_QUEUE" global_required="true"/>
594 <retrieve permission="CREATE_BIB_IMPORT_QUEUE UPDATE_BIB_IMPORT_QUEUE DELETE_BIB_IMPORT_QUEUE" global_required="true"/>
595 <update permission="UPDATE_BIB_IMPORT_QUEUE" global_required="true"/>
596 <delete permission="DELETE_BIB_IMPORT_QUEUE" global_required="true"/>
601 <class id="vaq" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="vandelay::authority_queue" oils_persist:tablename="vandelay.authority_queue" reporter:label="Import/Overlay Authority Queue">
602 <fields oils_persist:primary="id" oils_persist:sequence="vandelay.queue_id_seq">
603 <field reporter:label="Queue ID" name="id" reporter:selector="name" reporter:datatype="id"/>
604 <field reporter:label="Owner" name="owner" reporter:datatype="link"/>
605 <field reporter:label="Name" name="name" reporter:datatype="text" oils_persist:i18n="true"/>
606 <field reporter:label="Complete" name="complete" reporter:datatype="bool"/>
607 <field reporter:label="Type" name="queue_type" reporter:datatype="text"/>
608 <field reporter:label="Match Set" name="match_set" reporter:datatype="link"/>
611 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
612 <link field="match_set" reltype="has_a" key="id" map="" class="vms"/>
614 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
616 <create permission="CREATE_AUTHORITY_IMPORT_QUEUE" global_required="true"/>
617 <retrieve permission="CREATE_AUTHORITY_IMPORT_QUEUE UPDATE_AUTHORITY_IMPORT_QUEUE DELETE_AUTHORITY_IMPORT_QUEUE" global_required="true"/>
618 <update permission="UPDATE_AUTHORITY_IMPORT_QUEUE" global_required="true"/>
619 <delete permission="DELETE_AUTHORITY_IMPORT_QUEUE" global_required="true"/>
624 <class id="vqar" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="vandelay::queued_authority_record" oils_persist:tablename="vandelay.queued_authority_record" reporter:label="Queued Authority Record">
625 <fields oils_persist:primary="id" oils_persist:sequence="vandelay.queued_record_id_seq">
626 <field reporter:label="Record ID" name="id" reporter:datatype="id"/>
627 <field reporter:label="Create Time" name="create_time" reporter:datatype="timestamp"/>
628 <field reporter:label="Import Time" name="import_time" reporter:datatype="timestamp"/>
629 <field reporter:label="MARC" name="marc" reporter:datatype="text"/>
630 <field reporter:label="Queue" name="queue" reporter:datatype="link"/>
631 <field reporter:label="Final Target Record" name="imported_as" reporter:datatype="link"/>
632 <field reporter:label="Import Error" name="import_error" reporter:datatype="link"/>
633 <field reporter:label="Import Error Detail" name="error_detail" reporter:datatype="text"/>
634 <field reporter:label="Purpose" name="purpose" reporter:datatype="text"/>
635 <field reporter:label="Attributes" name="attributes" oils_persist:virtual="true" reporter:datatype="link"/>
636 <field reporter:label="Matches" name="matches" oils_persist:virtual="true" reporter:datatype="link"/>
637 <field reporter:label="Quality" name="quality" reporter:datatype="int"/>
640 <link field="import_error" reltype="has_a" key="code" map="" class="vie"/>
641 <link field="queue" reltype="has_a" key="id" map="" class="vaq"/>
642 <link field="imported_as" reltype="has_a" key="id" map="" class="are"/>
643 <link field="attributes" reltype="has_many" key="record" map="" class="vqara"/>
644 <link field="matches" reltype="has_many" key="queued_record" map="" class="vam"/>
646 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
648 <create permission="CREATE_AUTHORITY_IMPORT_QUEUE" global_required="true"/>
649 <retrieve permission="CREATE_AUTHORITY_IMPORT_QUEUE UPDATE_AUTHORITY_IMPORT_QUEUE DELETE_AUTHORITY_IMPORT_QUEUE" global_required="true"/>
650 <update permission="UPDATE_AUTHORITY_IMPORT_QUEUE" global_required="true"/>
651 <delete permission="DELETE_AUTHORITY_IMPORT_QUEUE" global_required="true"/>
656 <class id="vqarad" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="vandelay::authority_attr_definition" oils_persist:tablename="vandelay.authority_attr_definition" reporter:label="Queued Authority Record Attribute Definition">
657 <fields oils_persist:primary="id" oils_persist:sequence="vandelay.authority_attr_definition_id_seq">
658 <field reporter:label="ID" name="id" reporter:datatype="id"/>
659 <field reporter:label="Code" name="code" reporter:datatype="text"/>
660 <field reporter:label="Description" name="description" reporter:datatype="text" oils_persist:i18n="true"/>
661 <field reporter:label="XPath" name="xpath" reporter:datatype="text"/>
662 <field reporter:label="Remove RegExp" name="remove" reporter:datatype="text"/>
665 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
667 <create permission="CREATE_AUTHORITY_IMPORT_IMPORT_FIELD_DEF" global_required="true"/>
669 <update permission="UPDATE_AUTHORITY_IMPORT_IMPORT_FIELD_DEF" global_required="true"/>
670 <delete permission="DELETE_AUTHORITY_IMPORT_IMPORT_FIELD_DEF" global_required="true"/>
675 <class id="vqara" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="vandelay::queued_authority_record_attr" oils_persist:tablename="vandelay.queued_authority_record_attr" reporter:label="Queued Authority Record Attribute">
676 <fields oils_persist:primary="id" oils_persist:sequence="vandelay.queued_authority_record_attr_id_seq">
677 <field reporter:label="Attribute ID" name="id" reporter:datatype="id"/>
678 <field reporter:label="Record" name="record" reporter:datatype="link"/>
679 <field reporter:label="Field" name="field" reporter:datatype="link"/>
680 <field reporter:label="Value" name="attr_value" reporter:datatype="text"/>
683 <link field="record" reltype="has_a" key="id" map="" class="vqar"/>
684 <link field="field" reltype="has_a" key="id" map="" class="vqarad"/>
686 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
688 <create permission="CREATE_AUTHORITY_IMPORT_QUEUE" global_required="true"/>
689 <retrieve permission="CREATE_AUTHORITY_IMPORT_QUEUE UPDATE_AUTHORITY_IMPORT_QUEUE DELETE_AUTHORITY_IMPORT_QUEUE" global_required="true"/>
690 <update permission="UPDATE_AUTHORITY_IMPORT_QUEUE" global_required="true"/>
691 <delete permission="DELETE_AUTHORITY_IMPORT_QUEUE" global_required="true"/>
696 <class id="vam" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="vandelay::authority_match" oils_persist:tablename="vandelay.authority_match" reporter:label="Queued Authority Record Match">
697 <fields oils_persist:primary="id" oils_persist:sequence="vandelay.authority_match_id_seq">
698 <field reporter:label="Match ID" name="id" reporter:datatype="id"/>
699 <field reporter:label="Queued Record" name="queued_record" reporter:datatype="link"/>
700 <field reporter:label="Evergreen Record" name="eg_record" reporter:datatype="link"/>
701 <field reporter:label="Quality" name="quality" reporter:datatype="int"/>
702 <field reporter:label="Match Score" name="match_score" reporter:datatype="text"/>
705 <link field="queued_record" reltype="has_a" key="id" map="" class="vqar"/>
706 <link field="eg_record" reltype="has_a" key="id" map="" class="are"/>
708 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
710 <create permission="CREATE_AUTHORITY_IMPORT_QUEUE" global_required="true"/>
711 <retrieve permission="CREATE_AUTHORITY_IMPORT_QUEUE UPDATE_AUTHORITY_IMPORT_QUEUE DELETE_AUTHORITY_IMPORT_QUEUE" global_required="true"/>
712 <update permission="UPDATE_AUTHORITY_IMPORT_QUEUE" global_required="true"/>
713 <delete permission="DELETE_AUTHORITY_IMPORT_QUEUE" global_required="true"/>
718 <class id="vms" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="vandelay::match_set" oils_persist:tablename="vandelay.match_set" reporter:label="Record Matching Definition Set">
719 <fields oils_persist:primary="id" oils_persist:sequence="vandelay.match_set_id_seq">
720 <field reporter:label="Match Set ID" name="id" reporter:datatype="id" reporter:selector="name"/>
721 <field reporter:label="Name" name="name" reporter:datatype="text"/>
722 <field reporter:label="Owning Library" name="owner" reporter:datatype="link"/>
723 <field reporter:label="Match Set Type" name="mtype" reporter:datatype="text"/>
726 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
728 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
730 <create permission="ADMIN_IMPORT_MATCH_SET" context_field="owner"/>
731 <retrieve permission="ADMIN_IMPORT_MATCH_SET VIEW_IMPORT_MATCH_SET" context_field="owner"/>
732 <update permission="ADMIN_IMPORT_MATCH_SET" context_field="owner"/>
733 <delete permission="ADMIN_IMPORT_MATCH_SET" context_field="owner"/>
738 <class id="vmsp" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="vandelay::match_set_point" oils_persist:tablename="vandelay.match_set_point" reporter:label="Record Matching Definition">
739 <fields oils_persist:primary="id" oils_persist:sequence="vandelay.match_set_point_id_seq">
740 <field reporter:label="Match Definition ID" name="id" reporter:datatype="id"/>
741 <field reporter:label="Expression Tree Parent" name="parent" reporter:datatype="link"/>
742 <field reporter:label="Match Set" name="match_set" reporter:datatype="link"/>
743 <field reporter:label="Boolean Operator" name="bool_op" reporter:datatype="text"/>
744 <field reporter:label="Coded Field" name="svf" reporter:datatype="link"/>
745 <field reporter:label="Tag" name="tag" reporter:datatype="text"/>
746 <field reporter:label="Subfield" name="subfield" reporter:datatype="text"/>
747 <field reporter:label="Negate" name="negate" reporter:datatype="bool"/>
748 <field reporter:label="Importance" name="quality" reporter:datatype="int"/>
749 <field reporter:label="Expression Tree Children" name="children" oils_persist:virtual="true" reporter:datatype="link"/>
750 <field reporter:label="Authority Heading" name="heading" reporter:datatype="bool"/>
753 <link field="parent" reltype="has_a" key="id" map="" class="vmsp"/>
754 <link field="match_set" reltype="has_a" key="id" map="" class="vms"/>
755 <link field="svf" reltype="has_a" key="id" map="" class="crad"/>
756 <link field="children" reltype="has_many" key="parent" map="" class="vmsp"/>
758 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
760 <create permission="ADMIN_IMPORT_MATCH_SET">
761 <context link="match_set" field="owner"/>
763 <retrieve permission="ADMIN_IMPORT_MATCH_SET VIEW_IMPORT_MATCH_SET">
764 <context link="match_set" field="owner"/>
766 <update permission="ADMIN_IMPORT_MATCH_SET">
767 <context link="match_set" field="owner"/>
769 <delete permission="ADMIN_IMPORT_MATCH_SET">
770 <context link="match_set" field="owner"/>
776 <class id="vmsq" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="vandelay::match_set_quality" oils_persist:tablename="vandelay.match_set_quality" reporter:label="Record Quality Metric">
777 <fields oils_persist:primary="id" oils_persist:sequence="vandelay.match_set_quality_id_seq">
778 <field reporter:label="Quality Metric ID" name="id" reporter:datatype="id"/>
779 <field reporter:label="Match Set" name="match_set" reporter:datatype="link"/>
780 <field reporter:label="Record Attribute" name="svf" reporter:datatype="text"/>
781 <field reporter:label="Tag" name="tag" reporter:datatype="text"/>
782 <field reporter:label="Subfield" name="subfield" reporter:datatype="text"/>
783 <field reporter:label="Value" name="value" reporter:datatype="text"/>
784 <field reporter:label="Quality" name="quality" reporter:datatype="int"/>
787 <link field="match_set" reltype="has_a" key="id" map="" class="vms"/>
789 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
791 <create permission="ADMIN_IMPORT_MATCH_SET">
792 <context link="match_set" field="owner"/>
794 <retrieve permission="ADMIN_IMPORT_MATCH_SET">
795 <context link="match_set" field="owner"/>
797 <update permission="ADMIN_IMPORT_MATCH_SET">
798 <context link="match_set" field="owner"/>
800 <delete permission="ADMIN_IMPORT_MATCH_SET">
801 <context link="match_set" field="owner"/>
807 <class id="vst" controller="open-ils.cstore open-ils.pcrud"
808 oils_obj:fieldmapper="vandelay::session_tracker"
809 oils_persist:tablename="vandelay.session_tracker"
810 reporter:label="Vandelay Session Tracker">
811 <fields oils_persist:primary="id" oils_persist:sequence="vandelay.session_tracker_id_seq">
812 <field reporter:label="ID" name="id" reporter:datatype="id"/>
813 <field reporter:label="Session Key" name="session_key" reporter:datatype="text"/>
814 <field reporter:label="Name" name="name" reporter:datatype="text"/>
815 <field reporter:label="User" name="usr" reporter:datatype="link"/>
816 <field reporter:label="Workstation" name="workstation" reporter:datatype="link"/>
817 <field reporter:label="Record Type" name="record_type" reporter:datatype="text"/>
818 <!-- queue doesn't use datatype 'link' because it may refer to a bib
819 queue or an auth queue and there's no IDL class for vandelay.queue .
822 <field reporter:label="Source Queue" name="queue" reporter:datatype="int"/>
823 <field reporter:label="Create Time" name="create_time" reporter:datatype="timestsamp"/>
824 <field reporter:label="Update Time" name="update_time" reporter:datatype="timestsamp"/>
825 <field reporter:label="State" name="state" reporter:datatype="text"/>
826 <field reporter:label="Action Type" name="action_type" reporter:datatype="text"/>
827 <field reporter:label="Total Actions" name="total_actions" reporter:datatype="int"/>
828 <field reporter:label="Actions Performed" name="actions_performed" reporter:datatype="int"/>
831 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
832 <link field="workstation" reltype="has_a" key="id" map="" class="aws"/>
834 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
836 <!-- created by the API -->
837 <retrieve global_required="true"
838 permission="CREATE_BIB_IMPORT_QUEUE CREATE_AUTHORITY_IMPORT_QUEUE"/>
839 <update global_required="true"
840 permission="UPDATE_BIB_IMPORT_QUEUE UPDATE_AUTHORITY_IMPORT_QUEUE">
841 <context link="workstation" field="owning_lib"/>
844 permission="DELETE_BIB_IMPORT_QUEUE DELETE_AUTHORITY_IMPORT_QUEUE">
845 <context link="workstation" field="owning_lib"/>
851 <class id="auoi" controller="open-ils.cstore" oils_obj:fieldmapper="actor::usr_org_unit_opt_in" oils_persist:tablename="actor.usr_org_unit_opt_in" reporter:label="User Sharing Opt-in">
852 <fields oils_persist:primary="id" oils_persist:sequence="actor.usr_org_unit_opt_in_id_seq">
853 <field reporter:label="Opt-in ID" name="id" reporter:datatype="id"/>
854 <field reporter:label="Workstation" name="opt_in_ws" reporter:datatype="link"/>
855 <field reporter:label="Staff Member" name="staff" reporter:datatype="link"/>
856 <field reporter:label="User" name="usr" reporter:datatype="link"/>
857 <field reporter:label="Allowed Org Unit" name="org_unit" reporter:datatype="link"/>
858 <field reporter:label="Opt-in Date/Time" name="opt_in_ts" reporter:datatype="timestamp"/>
861 <link field="org_unit" reltype="has_a" key="id" map="" class="aou"/>
862 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
863 <link field="staff" reltype="has_a" key="id" map="" class="au"/>
864 <link field="opt_in_ws" reltype="has_a" key="id" map="" class="aws"/>
868 <class id="cgf" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::global_flag" oils_persist:tablename="config.global_flag" reporter:label="Global Flags and Settings" oils_persist:field_safe="true">
869 <fields oils_persist:primary="name">
870 <field reporter:label="Name" name="name" reporter:datatype="text"/>
871 <field reporter:label="Label" name="label" reporter:datatype="text" oils_persist:i18n="true"/>
872 <field reporter:label="Value" name="value" reporter:datatype="text"/>
873 <field reporter:label="Enabled" name="enabled" reporter:datatype="bool"/>
875 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
877 <create permission="ADMIN_GLOBAL_FLAG" global_required="true"/>
878 <retrieve permission="ADMIN_GLOBAL_FLAG" global_required="true"/>
879 <update permission="ADMIN_GLOBAL_FLAG" global_required="true"/>
880 <delete permission="ADMIN_GLOBAL_FLAG" global_required="true"/>
885 <class id="cin" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::index_normalizer" oils_persist:tablename="config.index_normalizer" reporter:label="Indexing Normalizer" oils_persist:field_safe="true">
886 <fields oils_persist:primary="id">
887 <field reporter:label="ID" name="id" reporter:datatype="id"/>
888 <field reporter:label="Name" name="name" reporter:datatype="text" oils_persist:i18n="true"/>
889 <field reporter:label="Description" name="description" reporter:datatype="text" oils_persist:i18n="true"/>
890 <field reporter:label="Function" name="func" reporter:datatype="text"/>
891 <field reporter:label="Required Parameter Count" name="param_count" reporter:datatype="int"/>
893 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
895 <create permission="ADMIN_INDEX_NORMALIZER" global_required="true"/>
897 <update permission="ADMIN_INDEX_NORMALIZER" global_required="true"/>
898 <delete permission="ADMIN_INDEX_NORMALIZER" global_required="true"/>
903 <class id="cmfinm" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::metabib_field_index_norm_map" oils_persist:tablename="config.metabib_field_index_norm_map" reporter:label="Metabib Field to Indexing Normalizer Map" oils_persist:field_safe="true">
904 <fields oils_persist:primary="id" oils_persist:sequence="config.metabib_field_index_norm_map_id_seq">
905 <field reporter:label="ID" name="id" reporter:datatype="id"/>
906 <field reporter:label="Metabib Field" name="field" reporter:datatype="link"/>
907 <field reporter:label="Normalizer" name="norm" reporter:datatype="link"/>
908 <field reporter:label="Parameters (JSON Array)" name="params" reporter:datatype="text"/>
909 <field reporter:label="Order of Application" name="pos" reporter:datatype="int"/>
912 <link field="field" reltype="has_a" key="id" map="" class="cmf"/>
913 <link field="norm" reltype="has_a" key="id" map="" class="cin"/>
915 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
917 <create permission="ADMIN_INDEX_NORMALIZER" global_required="true"/>
919 <update permission="ADMIN_INDEX_NORMALIZER" global_required="true"/>
920 <delete permission="ADMIN_INDEX_NORMALIZER" global_required="true"/>
925 <class id="cmrcfmt" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::marc_format" oils_persist:tablename="config.marc_format" reporter:label="MARC Formats" oils_persist:field_safe="true">
926 <fields oils_persist:primary="id" oils_persist:sequence="config.marc_format_id_seq">
927 <field reporter:label="ID" name="id" reporter:datatype="id" reporter:selector="name" />
928 <field reporter:label="Code" name="code" reporter:datatype="text" oils_obj:required="true"/>
929 <field reporter:label="Name" name="name" reporter:datatype="text" oils_persist:i18n="true" oils_obj:required="true"/>
931 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
933 <create permission="ADMIN_TAG_TABLE" global_required="true"/>
935 <update permission="ADMIN_TAG_TABLE" global_required="true"/>
936 <delete permission="ADMIN_TAG_TABLE" global_required="true"/>
941 <class id="cmrcfld" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::marc_field" oils_persist:tablename="config.marc_field" reporter:label="MARC Fields" oils_persist:field_safe="true">
942 <fields oils_persist:primary="id" oils_persist:sequence="config.marc_field_id_seq">
943 <field reporter:label="ID" name="id" reporter:datatype="id"/>
944 <field reporter:label="MARC Format" name="marc_format" reporter:datatype="link" oils_obj:required="true"/>
945 <field reporter:label="MARC Record Type" name="marc_record_type" reporter:datatype="text" oils_obj:required="true" />
946 <field reporter:label="MARC Tag" name="tag" reporter:datatype="text" oils_obj:required="true"/>
947 <field reporter:label="Name" name="name" reporter:datatype="text" oils_persist:i18n="true"/>
948 <field reporter:label="Description" name="description" reporter:datatype="text" oils_persist:i18n="true"/>
949 <field reporter:label="Fixed Field?" name="fixed_field" reporter:datatype="bool"/>
950 <field reporter:label="Repeatable?" name="repeatable" reporter:datatype="bool"/>
951 <field reporter:label="Mandatory?" name="mandatory" reporter:datatype="bool"/>
952 <field reporter:label="Hidden?" name="hidden" reporter:datatype="bool"/>
953 <field reporter:label="Owner" name="owner" reporter:datatype="org_unit"/>
956 <link field="marc_format" reltype="has_a" key="id" map="" class="cmrcfmt"/>
957 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
959 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
961 <create permission="ADMIN_TAG_TABLE" context_field="owner"/>
963 <update permission="ADMIN_TAG_TABLE" context_field="owner"/>
964 <delete permission="ADMIN_TAG_TABLE" context_field="owner"/>
969 <class id="cmrcsubfld" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::marc_subfield" oils_persist:tablename="config.marc_subfield" reporter:label="MARC Subfields" oils_persist:subfield_safe="true">
970 <fields oils_persist:primary="id" oils_persist:sequence="config.marc_subfield_id_seq">
971 <field reporter:label="ID" name="id" reporter:datatype="id"/>
972 <field reporter:label="MARC Format" name="marc_format" reporter:datatype="link" oils_obj:required="true"/>
973 <field reporter:label="MARC Record Type" name="marc_record_type" reporter:datatype="text" oils_obj:required="true"/>
974 <field reporter:label="MARC Tag" name="tag" reporter:datatype="text" oils_obj:required="true"/>
975 <field reporter:label="MARC Subfield" name="code" reporter:datatype="text" oils_obj:required="true"/>
976 <field reporter:label="Description" name="description" reporter:datatype="text" oils_persist:i18n="true"/>
977 <field reporter:label="Repeatable?" name="repeatable" reporter:datatype="bool"/>
978 <field reporter:label="Mandatory?" name="mandatory" reporter:datatype="bool"/>
979 <field reporter:label="Hidden?" name="hidden" reporter:datatype="bool"/>
980 <field reporter:label="Owner" name="owner" reporter:datatype="org_unit"/>
983 <link field="marc_format" reltype="has_a" key="id" map="" class="cmrcfmt"/>
984 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
986 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
988 <create permission="ADMIN_TAG_TABLE" context_field="owner"/>
990 <update permission="ADMIN_TAG_TABLE" context_field="owner"/>
991 <delete permission="ADMIN_TAG_TABLE" context_field="owner"/>
996 <class id="crad" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::record_attr_definition" oils_persist:tablename="config.record_attr_definition" reporter:label="SVF Record Attribute Defintion" oils_persist:field_safe="true">
997 <fields oils_persist:primary="name">
998 <field reporter:label="Name" name="name" reporter:datatype="id" reporter:selector="label" oils_obj:required="true"/>
999 <field reporter:label="Label" name="label" reporter:datatype="text" oils_obj:required="true" oils_persist:i18n="true"/>
1000 <field reporter:label="Description" name="description" reporter:datatype="text" oils_persist:i18n="true" />
1001 <field reporter:label="Multi-valued?" name="multi" reporter:datatype="bool"/>
1002 <field reporter:label="Filter?" name="filter" reporter:datatype="bool"/>
1003 <field reporter:label="Sorter?" name="sorter" reporter:datatype="bool"/>
1004 <field reporter:label="Composite attribute?" name="composite" reporter:datatype="bool"/>
1005 <field reporter:label="MARC Tag" name="tag" reporter:datatype="text"/>
1006 <field reporter:label="MARC Subfields" name="sf_list" reporter:datatype="text"/>
1007 <field reporter:label="Joiner" name="joiner" reporter:datatype="text"/>
1008 <field reporter:label="XPath" name="xpath" reporter:datatype="text"/>
1009 <field reporter:label="Format" name="format" reporter:datatype="link"/>
1010 <field reporter:label="Starting Position" name="start_pos" reporter:datatype="int"/>
1011 <field reporter:label="String Length" name="string_len" reporter:datatype="int"/>
1012 <field reporter:label="Fixed Field" name="fixed_field" reporter:datatype="text"/>
1013 <field reporter:label="Physical Characteristic" name="phys_char_sf" reporter:datatype="text"/>
1014 <field reporter:label="Vocabulary URI" name="vocabulary" reporter:datatype="text"/>
1015 <field reporter:label="Normalizers" name="normalizers" reporter:datatype="link" oils_persist:virtual="true"/>
1018 <link field="format" reltype="has_a" key="name" map="" class="cxt"/>
1019 <link field="normalizers" reltype="has_many" key="name" map="" class="crainm"/>
1021 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
1023 <create permission="ADMIN_SVF" global_required="true"/>
1025 <update permission="ADMIN_SVF" global_required="true"/>
1026 <delete permission="ADMIN_SVF" global_required="true"/>
1031 <class id="csc" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::sms_carrier" oils_persist:tablename="config.sms_carrier" reporter:label="SMS Carrier" oils_persist:field_safe="true">
1032 <fields oils_persist:primary="id" oils_persist:sequence="config.sms_carrier_id_seq">
1033 <field reporter:label="ID" name="id" reporter:datatype="id"/>
1034 <field reporter:label="Region" name="region" reporter:datatype="text" oils_persist:i18n="true"/>
1035 <field reporter:label="Name" name="name" reporter:datatype="text" oils_persist:i18n="true"/>
1036 <field reporter:label="Active" name="active" reporter:datatype="bool" oils_persist:i18n="true"/>
1037 <field reporter:label="Email Gateway" name="email_gateway" reporter:datatype="text" oils_persist:i18n="true"/>
1040 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
1042 <create permission="ADMIN_SMS_CARRIER" global_required="true"/>
1044 <update permission="ADMIN_SMS_CARRIER" global_required="true"/>
1045 <delete permission="ADMIN_SMS_CARRIER" global_required="true"/>
1050 <class id="ccraed" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::composite_attr_entry_definition" oils_persist:tablename="config.composite_attr_entry_definition" reporter:label="Composite Attribute Definitions" oils_persist:field_safe="true">
1051 <fields oils_persist:primary="coded_value">
1052 <field reporter:label="Coded Value" name="coded_value" reporter:datatype="id" oils_obj:required="true"/>
1053 <field reporter:label="Defintion" name="definition" reporter:datatype="text" oils_obj:required="true"/>
1056 <link field="coded_value" reltype="has_a" key="id" map="" class="ccvm"/>
1058 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
1060 <create permission="ADMIN_CODED_VALUE" global_required="true"/>
1062 <update permission="ADMIN_CODED_VALUE" global_required="true"/>
1063 <delete permission="ADMIN_CODED_VALUE" global_required="true"/>
1068 <class id="murav" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="metabib::uncontrolled_record_attr_value" oils_persist:tablename="metabib.uncontrolled_record_attr_value" reporter:label="Uncontrolled Record Attribute Values" oils_persist:field_safe="true">
1069 <fields oils_persist:primary="id" oils_persist:sequence="metabib.uncontrolled_record_attr_value_id_seq">
1070 <field reporter:label="ID" name="id" reporter:datatype="id" oils_obj:required="true"/>
1071 <field reporter:label="Attribute" name="attr" reporter:datatype="text" oils_obj:required="true"/>
1072 <field reporter:label="Value" name="value" reporter:datatype="text" oils_obj:required="true"/>
1075 <link field="attr" reltype="has_a" key="name" map="" class="crad"/>
1077 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
1085 <class id="mrs" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="metabib::record_sorter" oils_persist:tablename="metabib.record_sorter" reporter:label="Record Sort Values" oils_persist:field_safe="true">
1086 <fields oils_persist:primary="id" oils_persist:sequence="metabib.record_sorter_id_seq">
1087 <field reporter:label="ID" name="id" reporter:datatype="id" oils_obj:required="true"/>
1088 <field reporter:label="Bib Record ID" name="source" reporter:datatype="int" oils_obj:required="true"/>
1089 <field reporter:label="Attribute" name="attr" reporter:datatype="text" oils_obj:required="true"/>
1090 <field reporter:label="Value" name="value" reporter:datatype="text" oils_obj:required="true"/>
1093 <link field="source" reltype="has_a" key="id" map="" class="bre"/>
1094 <link field="attr" reltype="has_a" key="name" map="" class="crad"/>
1096 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
1104 <class id="mravl" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="metabib::record_attr_vector_list" oils_persist:tablename="metabib.record_attr_vector_list" reporter:label="MVF Record Attribute Vectors" oils_persist:field_safe="true">
1105 <fields oils_persist:primary="source">
1106 <field reporter:label="Record ID" name="source" reporter:datatype="id" oils_obj:required="true"/>
1107 <field reporter:label="Vector" name="vlist" reporter:datatype="text" oils_obj:required="true"/> <!-- Actually an int[], but this is the best we can do in fm_IDL.xml -->
1110 <link field="source" reltype="has_a" key="id" map="" class="bre"/>
1112 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
1119 <class id="mraf" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="metabib::record_attr_flat" oils_persist:tablename="metabib.record_attr_flat" reporter:label="MVF Record Attribute Flat List" oils_persist:field_safe="true">
1121 <field reporter:label="Record ID" name="id" reporter:datatype="id" oils_obj:required="true"/>
1122 <field reporter:label="Attribute" name="attr" reporter:datatype="text" oils_obj:required="true"/>
1123 <field reporter:label="Value" name="value" reporter:datatype="text" oils_obj:required="true"/>
1126 <link field="id" reltype="has_a" key="id" map="" class="bre"/>
1128 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
1135 <class id="mra" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="metabib::record_attr" oils_persist:tablename="metabib.record_attr" reporter:label="SVF Record Attribute" oils_persist:field_safe="true" oils_persist:readonly="true">
1136 <fields oils_persist:primary="id">
1137 <field reporter:label="Record ID" name="id" reporter:datatype="id" oils_obj:required="true"/>
1138 <field reporter:label="Attributes" name="attrs" reporter:datatype="text" oils_obj:required="true"/>
1141 <link field="id" reltype="has_a" key="id" map="" class="bre"/>
1143 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
1150 <class id="crainm" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::record_attr_index_norm_map" oils_persist:tablename="config.record_attr_index_norm_map" reporter:label="SVF Record Attribute to Indexing Normalizer Map" oils_persist:field_safe="true">
1151 <fields oils_persist:primary="id" oils_persist:sequence="config.record_attr_index_norm_map_id_seq">
1152 <field reporter:label="ID" name="id" reporter:datatype="id"/>
1153 <field reporter:label="SVF Attribute" name="attr" reporter:datatype="link"/>
1154 <field reporter:label="Normalizer" name="norm" reporter:datatype="link"/>
1155 <field reporter:label="Parameters (JSON Array)" name="params" reporter:datatype="text"/>
1156 <field reporter:label="Order of Application" name="pos" reporter:datatype="int"/>
1159 <link field="attr" reltype="has_a" key="name" map="" class="crad"/>
1160 <link field="norm" reltype="has_a" key="id" map="" class="cin"/>
1162 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
1164 <create permission="ADMIN_INDEX_NORMALIZER" global_required="true"/>
1166 <update permission="ADMIN_INDEX_NORMALIZER" global_required="true"/>
1167 <delete permission="ADMIN_INDEX_NORMALIZER" global_required="true"/>
1172 <class id="ccvm" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::coded_value_map" oils_persist:tablename="config.coded_value_map" reporter:label="SVF Record Attribute Coded Value Map" oils_persist:field_safe="true">
1173 <fields oils_persist:primary="id" oils_persist:sequence="config.coded_value_map_id_seq">
1174 <field reporter:label="ID" name="id" reporter:datatype="id" oils_obj:required="true" reporter:selector="value"/>
1175 <field reporter:label="SVF Attribute" name="ctype" reporter:datatype="link" oils_obj:required="true"/>
1176 <field reporter:label="Code" name="code" reporter:datatype="text" oils_obj:required="true"/>
1177 <field reporter:label="Value" name="value" reporter:datatype="text" oils_obj:required="true" oils_persist:i18n="true"/>
1178 <field reporter:label="Description" name="description" reporter:datatype="text" oils_persist:i18n="true"/>
1179 <field reporter:label="OPAC Visible" name="opac_visible" reporter:datatype="bool"/>
1180 <field reporter:label="Search Label" name="search_label" reporter:datatype="text" oils_persist:i18n="true"/>
1181 <field reporter:label="Is Simple Selector" name="is_simple" reporter:datatype="bool"/>
1182 <field reporter:label="Concept URI" name="concept_uri" reporter:datatype="text"/>
1183 <field reporter:label="Composite Definition" name="composite_def" oils_persist:virtual="true" reporter:datatype="link"/>
1186 <link field="ctype" reltype="has_a" key="name" map="" class="crad"/>
1187 <link field="composite_def" reltype="might_have" key="coded_value" map="" class="ccraed"/>
1189 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
1191 <create permission="ADMIN_CODED_VALUE" global_required="true"/>
1193 <update permission="ADMIN_CODED_VALUE" global_required="true"/>
1194 <delete permission="ADMIN_CODED_VALUE" global_required="true"/>
1199 <class id="cracct" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::remote_account" oils_persist:tablename="config.remote_account" reporter:label="Remote (3rd party) Account">
1200 <fields oils_persist:primary="id" oils_persist:sequence="config.remote_account_id_seq">
1201 <field name="id" reporter:datatype="id" reporter:label="ID"/>
1202 <field name="label" reporter:datatype="text" reporter:label="Label"/>
1203 <field name="host" reporter:datatype="text" reporter:label="Host"/>
1204 <field name="username" reporter:datatype="text" reporter:label="Username"/>
1205 <field name="password" reporter:datatype="text" reporter:label="Password"/>
1206 <field name="account" reporter:datatype="text" reporter:label="Account"/>
1207 <field name="path" reporter:datatype="text" reporter:label="Path"/>
1208 <field name="owner" reporter:datatype="link" reporter:label="Owner"/>
1209 <field name="last_activity" reporter:datatype="timestamp" reporter:label="Last Activity"/>
1212 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
1214 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
1216 <create permission="ADMIN_CONFIG_REMOTE_ACCOUNT" context_field="owner"/>
1217 <retrieve permission="ADMIN_CONFIG_REMOTE_ACCOUNT" context_field="owner"/>
1218 <update permission="ADMIN_CONFIG_REMOTE_ACCOUNT" context_field="owner"/>
1219 <delete permission="ADMIN_CONFIG_REMOTE_ACCOUNT" context_field="owner"/>
1224 <class id="czs" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::z3950_source" oils_persist:tablename="config.z3950_source" reporter:label="Z39.50 Source">
1225 <fields oils_persist:primary="name">
1226 <field reporter:label="Z39.50 Source" name="name" reporter:datatype="id"/>
1227 <field reporter:label="Label" name="label" reporter:datatype="text" oils_persist:i18n="true"/>
1228 <field reporter:label="Host" name="host" reporter:datatype="text"/>
1229 <field reporter:label="Port" name="port" reporter:datatype="int"/>
1230 <field reporter:label="DB" name="db" reporter:datatype="text"/>
1231 <field reporter:label="Record Format" name="record_format" reporter:datatype="text"/>
1232 <field reporter:label="Transmission Format" name="transmission_format" reporter:datatype="text"/>
1233 <field reporter:label="Auth" name="auth" reporter:datatype="bool"/>
1234 <field reporter:label="Attrs" name="attrs" oils_persist:virtual="true" reporter:datatype="link"/>
1235 <field reporter:label="Use Permission" name="use_perm" reporter:datatype="link"/>
1238 <link field="attrs" reltype="has_many" key="source" map="" class="cza"/>
1239 <link field="use_perm" reltype="has_a" key="id" map="" class="ppl"/>
1241 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
1243 <create permission="ADMIN_Z3950_SOURCE" global_required="true"/>
1245 <update permission="ADMIN_Z3950_SOURCE" global_required="true"/>
1246 <delete permission="ADMIN_Z3950_SOURCE" global_required="true"/>
1251 <class id="cza" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::z3950_attr" oils_persist:tablename="config.z3950_attr" reporter:label="Z39.50 Attribute">
1252 <fields oils_persist:primary="id" oils_persist:sequence="config.z3950_attr_id_seq">
1253 <field reporter:label="Z39.50 Attribute ID" name="id" reporter:datatype="id" reporter:selector="label"/>
1254 <field reporter:label="Z39.50 Source" name="source" reporter:datatype="link"/>
1255 <field reporter:label="Name" name="name" reporter:datatype="text"/>
1256 <field reporter:label="Label" name="label" reporter:datatype="text" oils_persist:i18n="true"/>
1257 <field reporter:label="Code" name="code" reporter:datatype="int"/>
1258 <field reporter:label="Format" name="format" reporter:datatype="int"/>
1259 <field reporter:label="Truncation" name="truncation" reporter:datatype="int"/>
1262 <link field="source" reltype="has_a" key="name" map="" class="czs"/>
1264 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
1266 <create permission="ADMIN_Z3950_SOURCE" global_required="true"/>
1268 <update permission="ADMIN_Z3950_SOURCE" global_required="true"/>
1269 <delete permission="ADMIN_Z3950_SOURCE" global_required="true"/>
1274 <class id="czifm" controller="open-ils.cstore open-ils.pcrud"
1275 oils_obj:fieldmapper="config::z3950_index_field_map"
1276 oils_persist:tablename="config.z3950_index_field_map"
1277 reporter:label="Z39.50 Index Field Map">
1278 <fields oils_persist:primary="id" oils_persist:sequence="config.z3950_index_field_map_id_seq">
1279 <field reporter:label="Map ID" name="id" reporter:datatype="id"/>
1280 <field reporter:label="Label" name="label" reporter:datatype="text" oils_persist:i18n="true"/>
1281 <field reporter:label="Metabib Field" name="metabib_field" reporter:datatype="link"/>
1282 <field reporter:label="Record Attribute" name="record_attr" reporter:datatype="link"/>
1283 <field reporter:label="Z39.50 Attribute" name="z3950_attr" reporter:datatype="link"/>
1284 <field reporter:label="Z39.50 Attribute Type" name="z3950_attr_type" reporter:datatype="text"/>
1287 <link field="metabib_field" reltype="has_a" key="id" map="" class="cmf"/>
1288 <link field="record_attr" reltype="has_a" key="name" map="" class="crad"/>
1289 <link field="z3950_attr" reltype="has_a" key="id" map="" class="cza"/>
1291 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
1293 <create permission="ADMIN_Z3950_SOURCE" global_required="true"/>
1295 <update permission="ADMIN_Z3950_SOURCE" global_required="true"/>
1296 <delete permission="ADMIN_Z3950_SOURCE" global_required="true"/>
1302 <class id="ateo" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="action_trigger::event_output" oils_persist:tablename="action_trigger.event_output" reporter:label="Event Output">
1303 <fields oils_persist:primary="id" oils_persist:sequence="action_trigger.event_output_id_seq">
1304 <field reporter:label="Output ID" name="id" reporter:datatype="id"/>
1305 <field reporter:label="Create Date/Time" name="create_time" reporter:datatype="timestamp"/>
1306 <field reporter:label="Data" name="data" reporter:datatype="text"/>
1307 <field reporter:label="Is Error" name="is_error" reporter:datatype="bool"/>
1308 <field reporter:label="Events" name="events" oils_persist:virtual="true" reporter:datatype="link"/>
1309 <field reporter:label="Error Events" name="error_events" oils_persist:virtual="true" reporter:datatype="link"/>
1312 <link field="events" reltype="has_many" key="template_output" map="" class="atev"/>
1313 <link field="error_events" reltype="has_many" key="error_output" map="" class="atev"/>
1315 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
1318 <delete permission="ADMIN_TRIGGER_TEMPLATE_OUTPUT DELETE_TRIGGER_TEMPLATE_OUTPUT" global_required="true"/>
1323 <class id="ath" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="action_trigger::hook" oils_persist:tablename="action_trigger.hook" reporter:label="Trigger Hook Point">
1324 <fields oils_persist:primary="key">
1325 <field reporter:label="Hook Key" name="key" reporter:datatype="text"/>
1326 <field reporter:label="Core Type" name="core_type" reporter:datatype="text"/>
1327 <field reporter:label="Description" name="description" reporter:datatype="text" oils_persist:i18n="true"/>
1328 <field reporter:label="Passive" name="passive" reporter:datatype="bool"/>
1331 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
1333 <create permission="ADMIN_TRIGGER_HOOK CREATE_TRIGGER_HOOK" global_required="true"/>
1335 <update permission="ADMIN_TRIGGER_HOOK UPDATE_TRIGGER_HOOK" global_required="true"/>
1336 <delete permission="ADMIN_TRIGGER_HOOK DELETE_TRIGGER_HOOK" global_required="true"/>
1341 <class id="atcol" controller="open-ils.cstore" oils_obj:fieldmapper="action_trigger::collector" oils_persist:tablename="action_trigger.collector" reporter:label="Trigger Environment Collector">
1342 <fields oils_persist:primary="module">
1343 <field reporter:label="Module Name" name="module" reporter:datatype="text"/>
1344 <field reporter:label="Description" name="description" reporter:datatype="text" oils_persist:i18n="true"/>
1349 <class id="atval" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="action_trigger::validator" oils_persist:tablename="action_trigger.validator" reporter:label="Trigger Condition Validator">
1350 <fields oils_persist:primary="module">
1351 <field reporter:label="Module Name" name="module" reporter:datatype="text"/>
1352 <field reporter:label="Description" name="description" reporter:datatype="text" oils_persist:i18n="true"/>
1355 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
1357 <create permission="ADMIN_TRIGGER_VALIDATOR CREATE_TRIGGER_VALIDATOR" global_required="true"/>
1359 <update permission="ADMIN_TRIGGER_VALIDATOR UPDATE_TRIGGER_VALIDATOR" global_required="true"/>
1360 <delete permission="ADMIN_TRIGGER_VALIDATOR DELETE_TRIGGER_VALIDATOR" global_required="true"/>
1365 <class id="atreact" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="action_trigger::reactor" oils_persist:tablename="action_trigger.reactor" reporter:label="Trigger Event Reactor">
1366 <fields oils_persist:primary="module">
1367 <field reporter:label="Module Name" name="module" reporter:datatype="text"/>
1368 <field reporter:label="Description" name="description" reporter:datatype="text" oils_persist:i18n="true"/>
1371 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
1373 <create permission="ADMIN_TRIGGER_REACTOR CREATE_TRIGGER_REACTOR" global_required="true"/>
1375 <update permission="ADMIN_TRIGGER_REACTOR UPDATE_TRIGGER_REACTOR" global_required="true"/>
1376 <delete permission="ADMIN_TRIGGER_REACTOR DELETE_TRIGGER_REACTOR" global_required="true"/>
1381 <class id="atclean" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="action_trigger::cleanup" oils_persist:tablename="action_trigger.cleanup" reporter:label="Trigger Event Cleanup">
1382 <fields oils_persist:primary="module">
1383 <field reporter:label="Module Name" name="module" reporter:datatype="text"/>
1384 <field reporter:label="Description" name="description" reporter:datatype="text" oils_persist:i18n="true"/>
1387 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
1389 <create permission="ADMIN_TRIGGER_CLEANUP CREATE_TRIGGER_CLEANUP" global_required="true"/>
1391 <update permission="ADMIN_TRIGGER_CLEANUP UPDATE_TRIGGER_CLEANUP" global_required="true"/>
1392 <delete permission="ADMIN_TRIGGER_CLEANUP DELETE_TRIGGER_CLEANUP" global_required="true"/>
1397 <class id="atenv" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="action_trigger::environment" oils_persist:tablename="action_trigger.environment" reporter:label="Trigger Event Environment Entry">
1398 <fields oils_persist:primary="id" oils_persist:sequence="action_trigger.environment_id_seq">
1399 <field reporter:label="Environment ID" name="id" reporter:datatype="id"/>
1400 <field reporter:label="Event Definition" name="event_def" reporter:datatype="link"/>
1401 <field reporter:label="Field Path" name="path" reporter:datatype="text"/>
1402 <field reporter:label="Collector" name="collector" reporter:datatype="link"/>
1403 <field reporter:label="Label" name="label" reporter:datatype="text"/>
1406 <link field="event_def" reltype="has_a" key="id" map="" class="atevdef"/>
1407 <link field="collector" reltype="has_a" key="id" map="" class="atcol"/>
1409 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
1411 <create permission="ADMIN_TRIGGER_EVENT_DEF CREATE_TRIGGER_EVENT_DEF">
1412 <context link="event_def" field="owner"/>
1414 <retrieve permission="ADMIN_TRIGGER_EVENT_DEF VIEW_TRIGGER_EVENT_DEF">
1415 <context link="event_def" field="owner"/>
1417 <update permission="ADMIN_TRIGGER_EVENT_DEF UPDATE_TRIGGER_EVENT_DEF">
1418 <context link="event_def" field="owner"/>
1420 <delete permission="ADMIN_TRIGGER_EVENT_DEF DELETE_TRIGGER_EVENT_DEF">
1421 <context link="event_def" field="owner"/>
1427 <class id="atevdef" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="action_trigger::event_definition" oils_persist:tablename="action_trigger.event_definition" reporter:label="Trigger Event Definition">
1428 <fields oils_persist:primary="id" oils_persist:sequence="action_trigger.event_definition_id_seq">
1429 <field reporter:label="Definition ID" name="id" reporter:datatype="id"/>
1430 <field reporter:label="Enabled" name="active" reporter:datatype="bool"/>
1431 <field reporter:label="Owning Library" name="owner" reporter:datatype="org_unit"/>
1432 <field reporter:label="Hook" name="hook" reporter:datatype="link"/>
1433 <field reporter:label="Validator" name="validator" reporter:datatype="link"/>
1434 <field reporter:label="Reactor" name="reactor" reporter:datatype="link"/>
1435 <field reporter:label="Success Cleanup" name="cleanup_success" reporter:datatype="link"/>
1436 <field reporter:label="Failure Cleanup" name="cleanup_failure" reporter:datatype="link"/>
1437 <field reporter:label="Processing Delay" name="delay" reporter:datatype="interval"/>
1438 <field reporter:label="Max Event Validity Delay" name="max_delay" reporter:datatype="interval"/>
1439 <field reporter:label="Processing Delay Context Field" name="delay_field" reporter:datatype="text"/>
1440 <field reporter:label="Processing Group Context Field" name="group_field" reporter:datatype="text"/>
1441 <field reporter:label="Template" name="template" reporter:datatype="text"/>
1442 <field reporter:label="Name" name="name" reporter:datatype="text"/>
1443 <field reporter:label="Granularity" name="granularity" reporter:datatype="text"/>
1444 <field reporter:label="Opt-In User Field" name="usr_field" reporter:datatype="text"/>
1445 <field reporter:label="Opt-In Setting Type" name="opt_in_setting" reporter:datatype="link"/>
1446 <field reporter:label="Event Repeatability Delay" name="repeat_delay" reporter:datatype="interval"/>
1447 <field reporter:label="Message Template" name="message_template" reporter:datatype="text"/>
1448 <field reporter:label="Message Title" name="message_title" reporter:datatype="text"/>
1449 <field reporter:label="Message User Path" name="message_usr_path" reporter:datatype="text"/>
1450 <field reporter:label="Message Library Path" name="message_library_path" reporter:datatype="text"/>
1451 <field reporter:label="Environment Entries" name="env" oils_persist:virtual="true" reporter:datatype="link"/>
1452 <field reporter:label="Parameters" name="params" oils_persist:virtual="true" reporter:datatype="link"/>
1453 <field reporter:label="Retention Interval" name="retention_interval" reporter:datatype="interval"/>
1456 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
1457 <link field="hook" reltype="has_a" key="key" map="" class="ath"/>
1458 <link field="validator" reltype="has_a" key="module" map="" class="atval"/>
1459 <link field="reactor" reltype="has_a" key="module" map="" class="atreact"/>
1460 <link field="cleanup_success" reltype="has_a" key="module" map="" class="atclean"/>
1461 <link field="cleanup_failure" reltype="has_a" key="module" map="" class="atclean"/>
1462 <link field="env" reltype="has_many" key="event_def" map="" class="atenv"/>
1463 <link field="params" reltype="has_many" key="event_def" map="" class="atevparam"/>
1464 <link field="opt_in_setting" reltype="has_a" key="name" map="" class="cust"/>
1466 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
1468 <create permission="ADMIN_TRIGGER_EVENT_DEF CREATE_TRIGGER_EVENT_DEF" context_field="owner"/>
1469 <retrieve permission="ADMIN_TRIGGER_EVENT_DEF VIEW_TRIGGER_EVENT_DEF" context_field="owner"/>
1470 <update permission="ADMIN_TRIGGER_EVENT_DEF UPDATE_TRIGGER_EVENT_DEF" context_field="owner"/>
1471 <delete permission="ADMIN_TRIGGER_EVENT_DEF DELETE_TRIGGER_EVENT_DEF" context_field="owner"/>
1476 <class id="atev" controller="open-ils.cstore" oils_obj:fieldmapper="action_trigger::event" oils_persist:tablename="action_trigger.event" reporter:label="Trigger Event Entry">
1477 <fields oils_persist:primary="id" oils_persist:sequence="action_trigger.event_id_seq">
1478 <field reporter:label="Event ID" name="id" reporter:datatype="id"/>
1479 <field reporter:label="Target ID" name="target" reporter:datatype="int"/>
1480 <field reporter:label="Event Definition" name="event_def" reporter:datatype="link"/>
1481 <field reporter:label="Add Time" name="add_time" reporter:datatype="timestamp"/>
1482 <field reporter:label="Run Time" name="run_time" reporter:datatype="timestamp"/>
1483 <field reporter:label="Start Time" name="start_time" reporter:datatype="timestamp"/>
1484 <field reporter:label="Update Time" name="update_time" reporter:datatype="timestamp"/>
1485 <field reporter:label="Complete Time" name="complete_time" reporter:datatype="timestamp"/>
1486 <field reporter:label="State" name="state" reporter:datatype="text"/>
1487 <field reporter:label="User Data" name="user_data" reporter:datatype="text"/>
1488 <field reporter:label="Template Output" name="template_output" reporter:datatype="link"/>
1489 <field reporter:label="Error Output" name="error_output" reporter:datatype="text"/>
1490 <field reporter:label="Asynchronous Output" name="async_output" reporter:datatype="link"/>
1491 <field reporter:label="Update Process" name="update_process" reporter:datatype="int"/>
1494 <link field="event_def" reltype="has_a" key="id" map="" class="atevdef"/>
1495 <link field="template_output" reltype="has_a" key="id" map="" class="ateo"/>
1496 <link field="error_output" reltype="has_a" key="id" map="" class="ateo"/>
1497 <link field="async_output" reltype="has_a" key="id" map="" class="ateo"/>
1501 <class id="atevparam" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="action_trigger::event_param" oils_persist:tablename="action_trigger.event_params" reporter:label="Trigger Event Parameter">
1502 <fields oils_persist:primary="id" oils_persist:sequence="action_trigger.event_params_id_seq">
1503 <field reporter:label="Parameter ID" name="id" reporter:datatype="id"/>
1504 <field reporter:label="Event Definition" name="event_def" reporter:datatype="link"/>
1505 <field reporter:label="Parameter Name" name="param" reporter:datatype="text"/>
1506 <field reporter:label="Parameter Value" name="value" reporter:datatype="text"/>
1509 <link field="event_def" reltype="has_a" key="id" map="" class="atevdef"/>
1511 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
1513 <create permission="ADMIN_TRIGGER_EVENT_DEF CREATE_TRIGGER_EVENT_DEF">
1514 <context link="event_def" field="owner"/>
1516 <retrieve permission="ADMIN_TRIGGER_EVENT_DEF VIEW_TRIGGER_EVENT_DEF">
1517 <context link="event_def" field="owner"/>
1519 <update permission="ADMIN_TRIGGER_EVENT_DEF UPDATE_TRIGGER_EVENT_DEF">
1520 <context link="event_def" field="owner"/>
1522 <delete permission="ADMIN_TRIGGER_EVENT_DEF DELETE_TRIGGER_EVENT_DEF">
1523 <context link="event_def" field="owner"/>
1529 <class id="atul" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="action_trigger::user_log" reporter:label="Action Trigger User Log" oils_persist:readonly="true">
1530 <oils_persist:source_definition><![CDATA[
1531 SELECT atevdef.hook,
1541 atev.update_process,
1544 atev.template_output,
1547 targ_circ.id AS target_circ,
1548 targ_ahr.id AS target_hold,
1553 FROM action_trigger.event atev
1554 JOIN action_trigger.event_definition atevdef ON
1555 (atevdef.id = atev.event_def)
1556 JOIN action_trigger.hook ath ON
1557 (ath.key = atevdef.hook)
1558 LEFT JOIN action.circulation targ_circ ON
1559 (ath.core_type = 'circ' AND targ_circ.id = atev.target)
1560 LEFT JOIN action.hold_request targ_ahr ON
1561 (ath.core_type = 'ahr' AND targ_ahr.id = atev.target)
1562 WHERE atev.add_time > NOW() - (SELECT MIN(value) FROM (
1563 SELECT value::INTERVAL FROM actor.org_unit_ancestor_setting(
1564 'circ.staff.max_visible_event_age',
1565 COALESCE(targ_circ.circ_lib, targ_ahr.pickup_lib)
1567 SELECT '1000 YEARS'::INTERVAL AS value
1569 ]]></oils_persist:source_definition>
1570 <fields oils_persist:primary="id">
1571 <field reporter:label="Hook" name="hook" reporter:datatype="link" />
1572 <field reporter:label="Name" name="name" reporter:datatype="text" />
1573 <field reporter:label="Reactor" name="reactor" reporter:datatype="text" />
1574 <field reporter:label="Event ID" name="id" reporter:datatype="id" />
1575 <field reporter:label="Event Definition ID" name="event_def" reporter:datatype="int" />
1576 <field reporter:label="Event Add Time" name="add_time" reporter:datatype="timestamp" />
1577 <field reporter:label="Event Run Time" name="run_time" reporter:datatype="timestamp" />
1578 <field reporter:label="Event Start Time" name="start_time" reporter:datatype="timestamp" />
1579 <field reporter:label="Event Update Time" name="update_time" reporter:datatype="timestamp" />
1580 <field reporter:label="Event Complete Time" name="complete_time" reporter:datatype="timestamp" />
1581 <field reporter:label="Event Update PID" name="update_process" reporter:datatype="int" />
1582 <field reporter:label="Event State" name="state" reporter:datatype="text" />
1583 <field reporter:label="Event User Data" name="user_data" reporter:datatype="text" />
1584 <field reporter:label="Event Template Output" name="template_output" reporter:datatype="link" />
1585 <field reporter:label="Event Error Output" name="error_output" reporter:datatype="link" />
1586 <field reporter:label="Event Async Output" name="async_output" reporter:datatype="link" />
1587 <field reporter:label="Target Circulation" name="target_circ" reporter:datatype="link" />
1588 <field reporter:label="Target Hold" name="target_hold" reporter:datatype="link" />
1589 <field reporter:label="Permission Context" name="perm_lib" reporter:datatype="org_unit" />
1592 <link field="hook" reltype="has_a" key="key" map="" class="ath" />
1593 <link field="template_output" reltype="has_a" key="id" map="" class="ateo" />
1594 <link field="error_output" reltype="has_a" key="id" map="" class="ateo" />
1595 <link field="async_output" reltype="has_a" key="id" map="" class="ateo" />
1596 <link field="target_circ" reltype="has_a" key="id" map="" class="circ" />
1597 <link field="target_hold" reltype="has_a" key="id" map="" class="ahr" />
1598 <link field="perm_lib" reltype="has_a" key="id" map="" class="aou" />
1600 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
1602 <retrieve permission="VIEW_TRIGGER_EVENT" context_field="perm_lib" />
1607 <class id="aws" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="actor::workstation" oils_persist:tablename="actor.workstation" reporter:label="Workstation">
1608 <fields oils_persist:primary="id" oils_persist:sequence="actor.workstation_id_seq">
1609 <field reporter:label="Workstation ID" name="id" reporter:datatype="id"/>
1610 <field reporter:label="Workstation Name" name="name" reporter:datatype="text"/>
1611 <field reporter:label="Owning Library" name="owning_lib" reporter:datatype="org_unit"/>
1612 <field reporter:label="Toolbars" name="toolbars" oils_persist:virtual="true" reporter:datatype="link"/>
1613 <field reporter:label="Circulations" name="circulations" oils_persist:virtual="true" reporter:datatype="link"/>
1616 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
1617 <link field="toolbars" reltype="has_many" key="ws" map="" class="atb"/>
1618 <link field="circulations" reltype="has_many" key="workstation" map="" class="circ"/>
1620 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
1622 <retrieve permission="STAFF_LOGIN" context_field="owning_lib" />
1627 <class id="ccm" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::circ_modifier" oils_persist:tablename="config.circ_modifier" reporter:label="Circulation Modifier">
1628 <fields oils_persist:primary="code">
1629 <field reporter:label="Code" name="code" reporter:selector="name" reporter:datatype="id"/>
1630 <field reporter:label="Name" name="name" reporter:datatype="text" oils_persist:i18n="true"/>
1631 <field reporter:label="Description" name="description" reporter:datatype="text" oils_persist:i18n="true"/>
1632 <field reporter:label="SIP2 Media Type" name="sip2_media_type" reporter:datatype="text" oils_persist:i18n="true"/>
1633 <field reporter:label="Magnetic Media" name="magnetic_media" reporter:datatype="bool"/>
1634 <field reporter:label="Average Wait Time" name="avg_wait_time" reporter:datatype="interval"/>
1637 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
1639 <create permission="ADMIN_CIRC_MOD" global_required="true"/>
1641 <update permission="ADMIN_CIRC_MOD" global_required="true"/>
1642 <delete permission="ADMIN_CIRC_MOD" global_required="true"/>
1647 <class id="aiit" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="acq::invoice_item_type" oils_persist:tablename="acq.invoice_item_type" reporter:label="Non-bibliographic Invoice Item Type" oils_persist:field_safe="true">
1648 <fields oils_persist:primary="code">
1649 <field reporter:label="Code" name="code" reporter:selector="name" reporter:datatype="id"/>
1650 <field reporter:label="Label" name="name" reporter:datatype="text" oils_persist:i18n="true"/>
1651 <field reporter:label="Prorate?" name="prorate" reporter:datatype="bool"/>
1652 <field reporter:label="Blanket?" name="blanket" reporter:datatype="bool"/>
1655 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
1657 <create permission="CREATE_INVOICE_ITEM_TYPE" global_required="true"/>
1659 <update permission="UPDATE_INVOICE_ITEM_TYPE" global_required="true"/>
1660 <delete permission="DELETE_INVOICE_ITEM_TYPE" global_required="true"/>
1665 <class id="acqim" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="acq::invoice_method" oils_persist:tablename="acq.invoice_method" reporter:label="Invoice Method used by Vendor" oils_persist:field_safe="true">
1666 <fields oils_persist:primary="code">
1667 <field reporter:label="Code" name="code" reporter:selector="name" reporter:datatype="id"/>
1668 <field reporter:label="Label" name="name" reporter:datatype="text" oils_persist:i18n="true"/>
1671 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
1673 <create permission="ADMIN_INVOICE_METHOD CREATE_INVOICE_METHOD" global_required="true"/>
1675 <update permission="ADMIN_INVOICE_METHOD UPDATE_INVOICE_METHOD" global_required="true"/>
1676 <delete permission="ADMIN_INVOICE_METHOD DELETE_INVOICE_METHOD" global_required="true"/>
1681 <class id="ccpbt" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="container::copy_bucket_type" oils_persist:tablename="container.copy_bucket_type" reporter:label="Copy Bucket Type" oils_persist:field_safe="true">
1682 <fields oils_persist:primary="code">
1683 <field reporter:label="Code" name="code" reporter:selector="name" reporter:datatype="id"/>
1684 <field reporter:label="Label" name="label" reporter:datatype="text" oils_persist:i18n="true"/>
1687 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
1689 <create permission="CREATE_COPY_BTYPE" global_required="true"/>
1691 <update permission="UPDATE_COPY_BTYPE" global_required="true"/>
1692 <delete permission="DELETE_COPY_BTYPE" global_required="true"/>
1697 <class id="ccnbt" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="container::call_number_bucket_type" oils_persist:tablename="container.call_number_bucket_type" reporter:label="Call Number Bucket Type" oils_persist:field_safe="true">
1698 <fields oils_persist:primary="code">
1699 <field reporter:label="Code" name="code" reporter:selector="name" reporter:datatype="id"/>
1700 <field reporter:label="Label" name="label" reporter:datatype="text" oils_persist:i18n="true"/>
1703 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
1705 <create permission="CREATE_CN_BTYPE" global_required="true"/>
1707 <update permission="UPDATE_CN_BTYPE" global_required="true"/>
1708 <delete permission="DELETE_CN_BTYPE" global_required="true"/>
1713 <class id="bpt" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="biblio::peer_type" oils_persist:tablename="biblio.peer_type" reporter:label="Bibliographic Record Peer Type" oils_persist:field_safe="true">
1714 <fields oils_persist:primary="id" oils_persist:sequence="biblio.peer_type_id_seq">
1715 <field reporter:label="ID" name="id" reporter:selector="name" reporter:datatype="id"/>
1716 <field reporter:label="Name" name="name" reporter:datatype="text" oils_persist:i18n="true"/>
1719 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
1721 <create permission="CREATE_BIB_PTYPE" global_required="true"/>
1723 <update permission="UPDATE_BIB_PTYPE" global_required="true"/>
1724 <delete permission="DELETE_BIB_PTYPE" global_required="true"/>
1729 <class id="bpbcm" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="biblio::peer_bib_copy_map" oils_persist:tablename="biblio.peer_bib_copy_map" reporter:label="Bibliographic Record Peer Copy Map">
1730 <fields oils_persist:primary="id" oils_persist:sequence="biblio.peer_bib_copy_map_id_seq">
1731 <field reporter:label="ID" name="id" reporter:selector="name" reporter:datatype="id"/>
1732 <field reporter:label="Peer Type" name="peer_type" reporter:datatype="link"/>
1733 <field reporter:label="Peer Record" name="peer_record" reporter:datatype="link"/>
1734 <field reporter:label="Target Copy" name="target_copy" reporter:datatype="link"/>
1737 <link field="peer_type" reltype="has_a" key="id" map="" class="bpt"/>
1738 <link field="peer_record" reltype="has_a" key="id" map="" class="bre"/>
1739 <link field="target_copy" reltype="has_a" key="id" map="" class="acp"/>
1741 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
1743 <create permission="UPDATE_COPY">
1744 <context link="target_copy" field="circ_lib"/>
1747 <update permission="UPDATE_COPY">
1748 <context link="target_copy" field="circ_lib"/>
1750 <delete permission="UPDATE_COPY">
1751 <context link="target_copy" field="circ_lib"/>
1757 <class id="cbrebt" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="container::biblio_record_entry_bucket_type" oils_persist:tablename="container.biblio_record_entry_bucket_type" reporter:label="Bibliographic Record Bucket Type" oils_persist:field_safe="true">
1758 <fields oils_persist:primary="code">
1759 <field reporter:label="Code" name="code" reporter:selector="name" reporter:datatype="id"/>
1760 <field reporter:label="Label" name="label" reporter:datatype="text" oils_persist:i18n="true"/>
1763 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
1765 <create permission="CREATE_BIB_BTYPE" global_required="true"/>
1767 <update permission="UPDATE_BIB_BTYPE" global_required="true"/>
1768 <delete permission="DELETE_BIB_BTYPE" global_required="true"/>
1773 <class id="cubt" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="container::user_bucket_type" oils_persist:tablename="container.user_bucket_type" reporter:label="User Bucket Type" oils_persist:field_safe="true">
1774 <fields oils_persist:primary="code">
1775 <field reporter:label="Code" name="code" reporter:selector="name" reporter:datatype="id"/>
1776 <field reporter:label="Label" name="label" reporter:datatype="text" oils_persist:i18n="true"/>
1779 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
1781 <create permission="CREATE_USER_BTYPE" global_required="true"/>
1783 <update permission="UPDATE_USER_BTYPE" global_required="true"/>
1784 <delete permission="DELETE_USER_BTYPE" global_required="true"/>
1789 <class id="cvrfm" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::videorecording_format_map" oils_persist:tablename="config.videorecording_format_map" reporter:label="Videorecording Format" oils_persist:field_safe="true">
1790 <fields oils_persist:primary="code">
1791 <field reporter:label="Code" name="code" reporter:selector="value" reporter:datatype="id"/>
1792 <field reporter:label="Format" name="value" reporter:datatype="text" oils_persist:i18n="true"/>
1795 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
1797 <create permission="ADMIN_MARC_CODE" global_required="true"/>
1799 <update permission="ADMIN_MARC_CODE" global_required="true"/>
1800 <delete permission="ADMIN_MARC_CODE" global_required="true"/>
1805 <class id="chmw" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::hold_matrix_weights" oils_persist:tablename="config.hold_matrix_weights" reporter:label="Hold Matrix Weights">
1806 <fields oils_persist:primary="id" oils_persist:sequence="config.hold_matrix_weights_id_seq">
1807 <field reporter:label="Hold Weights ID" name="id" reporter:datatype="id" reporter:selector="name"/>
1808 <field reporter:label="Name" name="name" reporter:datatype="text"/>
1809 <field reporter:label="User Home Library" name="user_home_ou" reporter:datatype="float"/>
1810 <field reporter:label="Request Library" name="request_ou" reporter:datatype="float"/>
1811 <field reporter:label="Pickup Library" name="pickup_ou" reporter:datatype="float"/>
1812 <field reporter:label="Owning Library" name="item_owning_ou" reporter:datatype="float"/>
1813 <field reporter:label="Item Circ Library" name="item_circ_ou" reporter:datatype="float"/>
1814 <field reporter:label="User Permission Group" name="usr_grp" reporter:datatype="float"/>
1815 <field reporter:label="Requestor Permission Group" name="requestor_grp" reporter:datatype="float"/>
1816 <field reporter:label="Circulation Modifier" name="circ_modifier" oils_persist:primitive="string" reporter:datatype="float"/>
1817 <field reporter:label="MARC Type" name="marc_type" oils_persist:primitive="string" reporter:datatype="float"/>
1818 <field reporter:label="MARC Form" name="marc_form" oils_persist:primitive="string" reporter:datatype="float"/>
1819 <field reporter:label="MARC Bib Level" name="marc_bib_level" oils_persist:primitive="string" reporter:datatype="float"/>
1820 <field reporter:label="Videorecording Format" name="marc_vr_format" oils_persist:primitive="string" reporter:datatype="float"/>
1821 <field reporter:label="Juvenile?" name="juvenile_flag" oils_persist:primitive="string" reporter:datatype="float"/>
1822 <field reporter:label="Reference?" name="ref_flag" reporter:datatype="float"/>
1823 <field reporter:label="Item Age <" name="item_age" reporter:datatype="float"/>
1826 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
1828 <create permission="ADMIN_HOLD_MATRIX_MATCHPOINT" global_required="true"/>
1830 <update permission="ADMIN_HOLD_MATRIX_MATCHPOINT" global_required="true"/>
1831 <delete permission="ADMIN_HOLD_MATRIX_MATCHPOINT" global_required="true"/>
1836 <class id="ccmw" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::circ_matrix_weights" oils_persist:tablename="config.circ_matrix_weights" reporter:label="Circ Matrix Weights">
1837 <fields oils_persist:primary="id" oils_persist:sequence="config.circ_matrix_weights_id_seq">
1838 <field reporter:label="Circ Weights ID" name="id" reporter:datatype="id" reporter:selector="name"/>
1839 <field reporter:label="Name" name="name" reporter:datatype="text"/>
1840 <field reporter:label="Renewal?" name="is_renewal" reporter:datatype="float"/>
1841 <field reporter:label="Org Unit" name="org_unit" reporter:datatype="float"/>
1842 <field reporter:label="Copy Circ Lib" name="copy_circ_lib" reporter:datatype="float"/>
1843 <field reporter:label="Copy Owning Lib" name="copy_owning_lib" reporter:datatype="float"/>
1844 <field reporter:label="User Home Lib" name="user_home_ou" reporter:datatype="float"/>
1845 <field reporter:label="Permission Group" name="grp" reporter:datatype="float"/>
1846 <field reporter:label="Circulation Modifier" name="circ_modifier" reporter:datatype="float"/>
1847 <field reporter:label="Copy Location" name="copy_location" reporter:datatype="float"/>
1848 <field reporter:label="MARC Type" name="marc_type" reporter:datatype="float"/>
1849 <field reporter:label="MARC Form" name="marc_form" reporter:datatype="float"/>
1850 <field reporter:label="MARC Bib Level" name="marc_bib_level" reporter:datatype="float"/>
1851 <field reporter:label="Videorecording Format" name="marc_vr_format" reporter:datatype="float"/>
1852 <field reporter:label="Reference?" name="ref_flag" reporter:datatype="float"/>
1853 <field reporter:label="Juvenile?" name="juvenile_flag" reporter:datatype="float"/>
1854 <field reporter:label="User Age: Lower Bound" name="usr_age_lower_bound" reporter:datatype="float"/>
1855 <field reporter:label="User Age: Upper Bound" name="usr_age_upper_bound" reporter:datatype="float"/>
1856 <field reporter:label="Item Age <" name="item_age" reporter:datatype="float"/>
1859 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
1861 <create permission="ADMIN_CIRC_MATRIX_MATCHPOINT" global_required="true"/>
1863 <update permission="ADMIN_CIRC_MATRIX_MATCHPOINT" global_required="true"/>
1864 <delete permission="ADMIN_CIRC_MATRIX_MATCHPOINT" global_required="true"/>
1869 <class id="cwa" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::weight_assoc" oils_persist:tablename="config.weight_assoc" reporter:label="Matrix Weight Association">
1870 <fields oils_persist:primary="id" oils_persist:sequence="config.weight_assoc_id_seq">
1871 <field reporter:label="Assoc ID" name="id" reporter:datatype="id"/>
1872 <field reporter:label="Active?" name="active" reporter:datatype="bool"/>
1873 <field reporter:label="Org Unit" name="org_unit" reporter:datatype="org_unit"/>
1874 <field reporter:label="Circ Weights" name="circ_weights" reporter:datatype="link"/>
1875 <field reporter:label="Hold Weights" name="hold_weights" reporter:datatype="link"/>
1878 <link field="org_unit" reltype="has_a" key="id" map="" class="aou"/>
1879 <link field="circ_weights" reltype="has_a" key="id" map="" class="ccmw"/>
1880 <link field="hold_weights" reltype="has_a" key="id" map="" class="chmw"/>
1882 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
1884 <create permission="ADMIN_CIRC_MATRIX_MATCHPOINT ADMIN_HOLD_MATRIX_MATCHPOINT" context_field='org_unit'/>
1885 <retrieve permission="ADMIN_CIRC_MATRIX_MATCHPOINT ADMIN_HOLD_MATRIX_MATCHPOINT VIEW_CIRC_MATRIX_MATCHPOINT VIEW_HOLD_MATRIX_MATCHPOINT" context_field='org_unit'/>
1886 <update permission="ADMIN_CIRC_MATRIX_MATCHPOINT ADMIN_HOLD_MATRIX_MATCHPOINT" context_field='org_unit'/>
1887 <delete permission="ADMIN_CIRC_MATRIX_MATCHPOINT ADMIN_HOLD_MATRIX_MATCHPOINT" context_field='org_unit'/>
1892 <class id="chmm" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::hold_matrix_matchpoint" oils_persist:tablename="config.hold_matrix_matchpoint" reporter:label="Hold Matrix Matchpoint">
1893 <fields oils_persist:primary="id" oils_persist:sequence="config.hold_matrix_matchpoint_id_seq">
1894 <field reporter:label="Matchpoint ID" name="id" reporter:datatype="id"/>
1895 <field reporter:label="Active?" name="active" reporter:datatype="bool"/>
1896 <field reporter:label="Strict OU matches?" name="strict_ou_match" reporter:datatype="bool"/>
1897 <field reporter:label="User Home Library" name="user_home_ou" reporter:datatype="org_unit"/>
1898 <field reporter:label="Request Library" name="request_ou" reporter:datatype="org_unit"/>
1899 <field reporter:label="Pickup Library" name="pickup_ou" reporter:datatype="org_unit"/>
1900 <field reporter:label="Owning Library" name="item_owning_ou" reporter:datatype="org_unit"/>
1901 <field reporter:label="Item Circ Library" name="item_circ_ou" reporter:datatype="org_unit"/>
1902 <field reporter:label="User Permission Group" name="usr_grp" reporter:datatype="link"/>
1903 <field reporter:label="Requestor Permission Group" name="requestor_grp" reporter:datatype="link"/>
1904 <field reporter:label="Circulation Modifier" name="circ_modifier" oils_persist:primitive="string" reporter:datatype="link"/>
1905 <field reporter:label="MARC Type" name="marc_type" oils_persist:primitive="string" reporter:datatype="link"/>
1906 <field reporter:label="MARC Form" name="marc_form" oils_persist:primitive="string" reporter:datatype="link"/>
1907 <field reporter:label="MARC Bib Level" name="marc_bib_level" oils_persist:primitive="string" reporter:datatype="link"/>
1908 <field reporter:label="Videorecording Format" name="marc_vr_format" oils_persist:primitive="string" reporter:datatype="link"/>
1909 <field reporter:label="Reference?" name="ref_flag" reporter:datatype="bool"/>
1910 <field reporter:label="Item Age <" name="item_age" reporter:datatype="text"/>
1911 <field reporter:label="Holdable?" name="holdable" reporter:datatype="bool"/>
1912 <field reporter:label="Range is from Owning Lib?" name="distance_is_from_owner" reporter:datatype="bool"/>
1913 <field reporter:label="Transit Range" name="transit_range" reporter:datatype="link"/>
1914 <field reporter:label="Max Holds" name="max_holds" reporter:datatype="int"/>
1915 <field reporter:label="Max includes Frozen" name="include_frozen_holds" reporter:datatype="bool"/>
1916 <field reporter:label="Copy Age Hold Protection Rule" name="age_hold_protect_rule" reporter:datatype="link"/>
1917 <field name="description" reporter:datatype="text" reporter:label="Description"/>
1920 <link field="user_home_ou" reltype="has_a" key="id" map="" class="aou"/>
1921 <link field="request_ou" reltype="has_a" key="id" map="" class="aou"/>
1922 <link field="pickup_ou" reltype="has_a" key="id" map="" class="aou"/>
1923 <link field="item_owning_ou" reltype="has_a" key="id" map="" class="aou"/>
1924 <link field="item_circ_ou" reltype="has_a" key="id" map="" class="aou"/>
1925 <link field="usr_grp" reltype="has_a" key="id" map="" class="pgt"/>
1926 <link field="requestor_grp" reltype="has_a" key="id" map="" class="pgt"/>
1927 <link field="circ_modifier" reltype="has_a" key="code" map="" class="ccm"/>
1928 <link field="marc_type" reltype="has_a" key="code" map="" class="citm"/>
1929 <link field="marc_form" reltype="has_a" key="code" map="" class="cifm"/>
1930 <link field="marc_bib_level" reltype="has_a" key="code" map="" class="cblvl"/>
1931 <link field="marc_vr_format" reltype="has_a" key="code" map="" class="cvrfm"/>
1932 <link field="age_hold_protect_rule" reltype="has_a" key="id" map="" class="crahp"/>
1933 <link field="transit_range" reltype="has_a" key="id" map="" class="aout"/>
1935 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
1937 <create permission="ADMIN_HOLD_MATRIX_MATCHPOINT" global_required="true"/>
1938 <retrieve permission="ADMIN_HOLD_MATRIX_MATCHPOINT VIEW_HOLD_MATRIX_MATCHPOINT" global_required="true"/>
1939 <update permission="ADMIN_HOLD_MATRIX_MATCHPOINT" global_required="true"/>
1940 <delete permission="ADMIN_HOLD_MATRIX_MATCHPOINT" global_required="true"/>
1945 <class id="ccmm" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::circ_matrix_matchpoint" oils_persist:tablename="config.circ_matrix_matchpoint" reporter:label="Circulation Matrix Matchpoint">
1946 <fields oils_persist:primary="id" oils_persist:sequence="config.circ_matrix_matchpoint_id_seq">
1947 <field reporter:label="Matchpoint ID" name="id" reporter:datatype="id"/>
1948 <field reporter:label="Renewal?" name="is_renewal" reporter:datatype="bool"/>
1949 <field reporter:label="Active?" name="active" reporter:datatype="bool"/>
1950 <field reporter:label="Org Unit" name="org_unit" reporter:datatype="org_unit" oils_obj:required="true"/>
1951 <field reporter:label="Copy Circ Lib" name="copy_circ_lib" reporter:datatype="org_unit"/>
1952 <field reporter:label="Copy Owning Lib" name="copy_owning_lib" reporter:datatype="org_unit"/>
1953 <field reporter:label="User Home Lib" name="user_home_ou" reporter:datatype="org_unit"/>
1954 <field reporter:label="Permission Group" name="grp" reporter:datatype="link" oils_obj:required="true"/>
1955 <field reporter:label="Circulation Modifier" name="circ_modifier" oils_persist:primitive="string" reporter:datatype="link"/>
1956 <field reporter:label="Copy Location" name="copy_location" reporter:datatype="link"/>
1957 <field reporter:label="MARC Type" name="marc_type" oils_persist:primitive="string" reporter:datatype="link"/>
1958 <field reporter:label="MARC Form" name="marc_form" oils_persist:primitive="string" reporter:datatype="link"/>
1959 <field reporter:label="MARC Bib Level" name="marc_bib_level" oils_persist:primitive="string" reporter:datatype="link"/>
1960 <field reporter:label="Videorecording Format" name="marc_vr_format" oils_persist:primitive="string" reporter:datatype="link"/>
1961 <field reporter:label="Reference?" name="ref_flag" reporter:datatype="bool"/>
1962 <field reporter:label="Juvenile?" name="juvenile_flag" reporter:datatype="bool"/>
1963 <field reporter:label="User Age: Lower Bound" name="usr_age_lower_bound" reporter:datatype="text"/>
1964 <field reporter:label="User Age: Upper Bound" name="usr_age_upper_bound" reporter:datatype="text"/>
1965 <field reporter:label="Item Age <" name="item_age" reporter:datatype="text"/>
1966 <field reporter:label="Circulate?" name="circulate" reporter:datatype="bool"/>
1967 <field reporter:label="Duration Rule" name="duration_rule" reporter:datatype="link"/>
1968 <field reporter:label="Recurring Fine Rule" name="recurring_fine_rule" reporter:datatype="link"/>
1969 <field reporter:label="Max Fine Rule" name="max_fine_rule" reporter:datatype="link"/>
1970 <field reporter:label="Hard Due Date" name="hard_due_date" reporter:datatype="link"/>
1971 <field reporter:label="Renewals Override" name="renewals" reporter:datatype="int"/>
1972 <field reporter:label="Grace Period Override" name="grace_period" reporter:datatype="interval"/>
1973 <field reporter:label="Script Test" name="script_test" reporter:datatype="text"/>
1974 <field name="total_copy_hold_ratio" reporter:datatype="float" reporter:label="Minimum Total Copy/Hold Ratio"/>
1975 <field name="available_copy_hold_ratio" reporter:datatype="float" reporter:label="Minimum Available Copy/Hold Ratio"/>
1976 <field name="description" reporter:datatype="text" reporter:label="Description"/>
1979 <link field="org_unit" reltype="has_a" key="id" map="" class="aou"/>
1980 <link field="copy_circ_lib" reltype="has_a" key="id" map="" class="aou"/>
1981 <link field="copy_owning_lib" reltype="has_a" key="id" map="" class="aou"/>
1982 <link field="user_home_ou" reltype="has_a" key="id" map="" class="aou"/>
1983 <link field="grp" reltype="has_a" key="id" map="" class="pgt"/>
1984 <link field="circ_modifier" reltype="has_a" key="code" map="" class="ccm"/>
1985 <link field="copy_location" reltype="has_a" key="id" map="" class="acpl"/>
1986 <link field="marc_type" reltype="has_a" key="code" map="" class="citm"/>
1987 <link field="marc_form" reltype="has_a" key="code" map="" class="cifm"/>
1988 <link field="marc_bib_level" reltype="has_a" key="code" map="" class="cblvl"/>
1989 <link field="marc_vr_format" reltype="has_a" key="code" map="" class="cvrfm"/>
1990 <link field="duration_rule" reltype="has_a" key="id" map="" class="crcd"/>
1991 <link field="max_fine_rule" reltype="has_a" key="id" map="" class="crmf"/>
1992 <link field="recurring_fine_rule" reltype="has_a" key="id" map="" class="crrf"/>
1993 <link field="hard_due_date" reltype="has_a" key="id" map="" class="chdd"/>
1995 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
1997 <create permission="ADMIN_CIRC_MATRIX_MATCHPOINT" context_field='org_unit'/>
1998 <retrieve permission="ADMIN_CIRC_MATRIX_MATCHPOINT VIEW_CIRC_MATRIX_MATCHPOINT" context_field='org_unit'/>
1999 <update permission="ADMIN_CIRC_MATRIX_MATCHPOINT" context_field='org_unit'/>
2000 <delete permission="ADMIN_CIRC_MATRIX_MATCHPOINT" context_field='org_unit'/>
2005 <class id="cclg" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::circ_limit_group" oils_persist:tablename="config.circ_limit_group" reporter:label="Circulation Limit Group">
2006 <fields oils_persist:primary="id" oils_persist:sequence="config.circ_limit_group_id_seq">
2007 <field reporter:label="ID" name="id" reporter:datatype="id" reporter:selector="name"/>
2008 <field reporter:label="Name" name="name" reporter:datatype="text"/>
2009 <field reporter:label="Description" name="description" reporter:datatype="text"/>
2012 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2014 <create permission="ADMIN_CIRC_MATRIX_MATCHPOINT" global_required="true"/>
2016 <update permission="ADMIN_CIRC_MATRIX_MATCHPOINT" global_required="true"/>
2017 <delete permission="ADMIN_CIRC_MATRIX_MATCHPOINT" global_required="true"/>
2022 <class id="ccls" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::circ_limit_set" oils_persist:tablename="config.circ_limit_set" reporter:label="Circulation Limit Set">
2023 <fields oils_persist:primary="id" oils_persist:sequence="config.circ_limit_set_id_seq">
2024 <field reporter:label="ID" name="id" reporter:datatype="id" reporter:selector="name"/>
2025 <field reporter:label="Name" name="name" reporter:datatype="text"/>
2026 <field reporter:label="Owning Library" name="owning_lib" reporter:datatype="org_unit"/>
2027 <field reporter:label="Items Out" name="items_out" reporter:datatype="int"/>
2028 <field reporter:label="Min Depth" name="depth" reporter:datatype="int"/>
2029 <field reporter:label="Global" name="global" reporter:datatype="bool"/>
2030 <field reporter:label="Description" name="description" reporter:datatype="text"/>
2033 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
2035 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2037 <create permission="ADMIN_CIRC_MATRIX_MATCHPOINT" context_field="owning_lib"/>
2039 <update permission="ADMIN_CIRC_MATRIX_MATCHPOINT" context_field="owning_lib"/>
2040 <delete permission="ADMIN_CIRC_MATRIX_MATCHPOINT" context_field="owning_lib"/>
2045 <class id="ccmlsm" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::circ_matrix_limit_set_map" oils_persist:tablename="config.circ_matrix_limit_set_map" reporter:label="Circulation Matrix Limit Set Map">
2046 <fields oils_persist:primary="id" oils_persist:sequence="config.circ_matrix_limit_set_map_id_seq">
2047 <field reporter:label="ID" name="id" reporter:datatype="id"/>
2048 <field reporter:label="Matchpoint" name="matchpoint" reporter:datatype="link"/>
2049 <field reporter:label="Limit Set" name="limit_set" reporter:datatype="link"/>
2050 <field reporter:label="Fallthrough" name="fallthrough" reporter:datatype="bool"/>
2051 <field reporter:label="Active" name="active" reporter:datatype="bool"/>
2054 <link field="matchpoint" reltype="has_a" key="id" map="" class="ccmm"/>
2055 <link field="limit_set" reltype="has_a" key="id" map="" class="ccls"/>
2057 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2059 <create permission="ADMIN_CIRC_MATRIX_MATCHPOINT">
2060 <context link="matchpoint" field="org_unit"/>
2063 <update permission="ADMIN_CIRC_MATRIX_MATCHPOINT">
2064 <context link="matchpoint" field="org_unit"/>
2066 <delete permission="ADMIN_CIRC_MATRIX_MATCHPOINT">
2067 <context link="matchpoint" field="org_unit"/>
2073 <class id="cclscmm" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::circ_limit_set_circ_mod_map" oils_persist:tablename="config.circ_limit_set_circ_mod_map" reporter:label="Circulation Limit Set Circ Mod Map">
2074 <fields oils_persist:primary="id" oils_persist:sequence="config.circ_limit_set_circ_mod_map_id_seq">
2075 <field reporter:label="ID" name="id" reporter:datatype="id"/>
2076 <field reporter:label="Limit Set" name="limit_set" reporter:datatype="link"/>
2077 <field reporter:label="Circulation Modifier" name="circ_mod" reporter:datatype="link"/>
2080 <link field="limit_set" reltype="has_a" key="id" map="" class="ccls"/>
2081 <link field="circ_mod" reltype="has_a" key="code" map="" class="ccm"/>
2083 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2085 <create permission="ADMIN_CIRC_MATRIX_MATCHPOINT">
2086 <context link="limit_set" field="owning_lib"/>
2089 <update permission="ADMIN_CIRC_MATRIX_MATCHPOINT">
2090 <context link="limit_set" field="owning_lib"/>
2092 <delete permission="ADMIN_CIRC_MATRIX_MATCHPOINT">
2093 <context link="limit_set" field="owning_lib"/>
2098 <class id="cclsacpl" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::circ_limit_set_copy_loc_map" oils_persist:tablename="config.circ_limit_set_copy_loc_map" reporter:label="Circulation Limit Set Copy Location Map">
2099 <fields oils_persist:primary="id" oils_persist:sequence="config.circ_limit_set_copy_loc_map_id_seq">
2100 <field reporter:label="ID" name="id" reporter:datatype="id"/>
2101 <field reporter:label="Limit Set" name="limit_set" reporter:datatype="link"/>
2102 <field reporter:label="Copy Location" name="copy_loc" reporter:datatype="link"/>
2105 <link field="limit_set" reltype="has_a" key="id" map="" class="ccls"/>
2106 <link field="copy_loc" reltype="has_a" key="id" map="" class="acpl"/>
2108 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2110 <create permission="ADMIN_CIRC_MATRIX_MATCHPOINT">
2111 <context link="limit_set" field="owning_lib"/>
2114 <update permission="ADMIN_CIRC_MATRIX_MATCHPOINT">
2115 <context link="limit_set" field="owning_lib"/>
2117 <delete permission="ADMIN_CIRC_MATRIX_MATCHPOINT">
2118 <context link="limit_set" field="owning_lib"/>
2124 <class id="cclsgm" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::circ_limit_set_group_map" oils_persist:tablename="config.circ_limit_set_group_map" reporter:label="Circulation Limit Set Group Map">
2125 <fields oils_persist:primary="id" oils_persist:sequence="config.circ_limit_set_group_map_id_seq">
2126 <field reporter:label="ID" name="id" reporter:datatype="id"/>
2127 <field reporter:label="Limit Set" name="limit_set" reporter:datatype="link"/>
2128 <field reporter:label="Limit Group" name="limit_group" reporter:datatype="link"/>
2129 <field reporter:label="Check Only" name="check_only" reporter:datatype="bool"/>
2132 <link field="limit_set" reltype="has_a" key="id" map="" class="ccls"/>
2133 <link field="limit_group" reltype="has_a" key="id" map="" class="cclg"/>
2135 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2137 <create permission="ADMIN_CIRC_MATRIX_MATCHPOINT">
2138 <context link="limit_set" field="owning_lib"/>
2141 <update permission="ADMIN_CIRC_MATRIX_MATCHPOINT">
2142 <context link="limit_set" field="owning_lib"/>
2144 <delete permission="ADMIN_CIRC_MATRIX_MATCHPOINT">
2145 <context link="limit_set" field="owning_lib"/>
2151 <class id="cit" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::identification_type" oils_persist:tablename="config.identification_type" reporter:label="Identification Type">
2152 <fields oils_persist:primary="id" oils_persist:sequence="config.identification_type_id_seq">
2153 <field reporter:label="Identification ID" name="id" reporter:selector="name" reporter:datatype="id"/>
2154 <field reporter:label="Identification Name" name="name" reporter:datatype="text" oils_persist:i18n="true"/>
2157 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2159 <create permission="ADMIN_IDENT_TYPE" global_required="true"/>
2161 <update permission="ADMIN_IDENT_TYPE" global_required="true"/>
2162 <delete permission="ADMIN_IDENT_TYPE" global_required="true"/>
2167 <class id="asvq" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="action::survey_question" oils_persist:tablename="action.survey_question" reporter:label="User Survey Question">
2168 <fields oils_persist:primary="id" oils_persist:sequence="action.survey_question_id_seq">
2169 <field reporter:label="Answers" name="answers" oils_persist:virtual="true" reporter:datatype="link"/>
2170 <field reporter:label="Responses" name="responses" oils_persist:virtual="true" reporter:datatype="link"/>
2171 <field reporter:label="Question ID" name="id" reporter:datatype="id" />
2172 <field reporter:label="Question" name="question" reporter:datatype="text"/>
2173 <field reporter:label="Survey" name="survey" reporter:datatype="link"/>
2176 <link field="survey" reltype="has_a" key="id" map="" class="asv"/>
2177 <link field="responses" reltype="has_many" key="question" map="" class="asvr"/>
2178 <link field="answers" reltype="has_many" key="question" map="" class="asva"/>
2180 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2182 <create permission="ADMIN_SURVEY">
2183 <context link="survey" field="owner"/>
2186 <update permission="ADMIN_SURVEY">
2187 <context link="survey" field="owner"/>
2189 <delete permission="ADMIN_SURVEY">
2190 <context link="survey" field="owner"/>
2195 <class id="mbts" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="money::billable_transaction_summary" oils_persist:tablename="money.materialized_billable_xact_summary" reporter:label="Billable Transaction Summary" oils_persist:readonly="true">
2196 <fields oils_persist:primary="id" oils_persist:sequence="">
2197 <field reporter:label="Balance Owed" name="balance_owed" reporter:datatype="money"/>
2198 <field reporter:label="Transaction ID" name="id" reporter:datatype="id"/>
2199 <field reporter:label="Last Billing Note" name="last_billing_note" reporter:datatype="text"/>
2200 <field reporter:label="Last Billing Timestamp" name="last_billing_ts" reporter:datatype="timestamp"/>
2201 <field reporter:label="Last Billing Type" name="last_billing_type" reporter:datatype="text"/>
2202 <field reporter:label="Last Payment Note" name="last_payment_note" reporter:datatype="text"/>
2203 <field reporter:label="Last Payment Timestamp" name="last_payment_ts" reporter:datatype="timestamp"/>
2204 <field reporter:label="Last Payment Type" name="last_payment_type" reporter:datatype="text"/>
2205 <field reporter:label="Total Owed" name="total_owed" reporter:datatype="money"/>
2206 <field reporter:label="Total Paid" name="total_paid" reporter:datatype="money"/>
2207 <field reporter:label="Billed User" name="usr" reporter:datatype="link"/>
2208 <field reporter:label="Transaction Finish Time" name="xact_finish" reporter:datatype="timestamp" />
2209 <field reporter:label="Transaction Start Time" name="xact_start" reporter:datatype="timestamp" />
2210 <field reporter:label="Transaction Type" name="xact_type" reporter:datatype="text"/>
2213 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
2215 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2217 <retrieve permission="VIEW_USER_TRANSACTIONS">
2218 <context link="usr" field="home_ou" />
2223 <class id="mbtslv" controller="open-ils.cstore" oils_obj:fieldmapper="money::billable_transaction_summary_location_view" oils_persist:tablename="money.billable_xact_summary_location_view" reporter:label="Billable Transaction Summary with Billing Location" oils_persist:readonly="true" reporter:core="true">
2224 <fields oils_persist:primary="id" oils_persist:sequence="">
2225 <field reporter:label="Balance Owed" name="balance_owed" reporter:datatype="money"/>
2226 <field reporter:label="Transaction ID" name="id" reporter:datatype="id"/>
2227 <field reporter:label="Last Billing Note" name="last_billing_note" reporter:datatype="text"/>
2228 <field reporter:label="Last Billing Timestamp" name="last_billing_ts" reporter:datatype="timestamp"/>
2229 <field reporter:label="Last Billing Type" name="last_billing_type" reporter:datatype="text"/>
2230 <field reporter:label="Last Payment Note" name="last_payment_note" reporter:datatype="text"/>
2231 <field reporter:label="Last Payment Timestamp" name="last_payment_ts" reporter:datatype="timestamp"/>
2232 <field reporter:label="Last Payment Type" name="last_payment_type" reporter:datatype="text"/>
2233 <field reporter:label="Total Owed" name="total_owed" reporter:datatype="money"/>
2234 <field reporter:label="Total Paid" name="total_paid" reporter:datatype="money"/>
2235 <field reporter:label="Billed User" name="usr" reporter:datatype="link"/>
2236 <field reporter:label="Transaction Finish Time" name="xact_finish" reporter:datatype="timestamp" />
2237 <field reporter:label="Transaction Start Time" name="xact_start" reporter:datatype="timestamp" />
2238 <field reporter:label="Transaction Type" name="xact_type" reporter:datatype="text"/>
2239 <field reporter:label="Billing Location" name="billing_location" reporter:datatype="link"/>
2242 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
2243 <link field="billing_location" reltype="has_a" key="id" map="" class="aou"/>
2246 <class id="aum" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="actor::usr_message" oils_persist:tablename="actor.usr_message" reporter:label="User Message">
2247 <fields oils_persist:primary="id" oils_persist:sequence="actor.usr_message_id_seq">
2248 <field reporter:label="Creation Date/Time" name="create_date" reporter:datatype="timestamp"/>
2249 <field reporter:label="Read Date/Time" name="read_date" reporter:datatype="timestamp"/>
2250 <field reporter:label="Creating Library" name="sending_lib" reporter:datatype="link"/>
2251 <field reporter:label="Message ID" name="id" reporter:datatype="id" />
2252 <field reporter:label="Deleted?" name="deleted" reporter:datatype="bool"/>
2253 <field reporter:label="Title" name="title" reporter:datatype="text"/>
2254 <field reporter:label="User" name="usr" reporter:datatype="link" />
2255 <field reporter:label="Message" name="message" reporter:datatype="text"/>
2258 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
2259 <link field="sending_lib" reltype="has_a" key="id" map="" class="aou"/>
2261 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2262 <actions> <!-- created magically, so no create action -->
2263 <retrieve permission="VIEW_USER" context_field="sending_lib" />
2264 <update permission="UPDATE_USER" context_field="sending_lib" />
2265 <delete permission="UPDATE_USER" context_field="sending_lib" />
2269 <class id="auml" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="actor::usr_message_limited" oils_persist:tablename="actor.usr_message_limited" reporter:label="User Message (Limited Access)">
2270 <fields oils_persist:primary="id" oils_persist:sequence="actor.usr_message_id_seq">
2271 <field reporter:label="Creation Date/Time" name="create_date" reporter:datatype="timestamp"/>
2272 <field reporter:label="Read Date/Time" name="read_date" reporter:datatype="timestamp"/>
2273 <field reporter:label="Creating Library" name="sending_lib" reporter:datatype="link"/>
2274 <field reporter:label="Message ID" name="id" reporter:datatype="id" />
2275 <field reporter:label="Deleted?" name="deleted" reporter:datatype="bool"/>
2276 <field reporter:label="Title" name="title" reporter:datatype="text"/>
2277 <field reporter:label="User" name="usr" reporter:datatype="link" />
2278 <field reporter:label="Message" name="message" reporter:datatype="text"/>
2281 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
2282 <link field="sending_lib" reltype="has_a" key="id" map="" class="aou"/>
2284 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2285 <actions> <!-- created magically, so no create action -->
2286 <retrieve permission="UPDATE_USER" context_field="sending_lib" owning_user="usr"/>
2287 <update permission="UPDATE_USER" context_field="sending_lib" owning_user="usr"/>
2291 <class id="aun" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="actor::usr_note" oils_persist:tablename="actor.usr_note" reporter:label="User Note">
2292 <fields oils_persist:primary="id" oils_persist:sequence="actor.usr_note_id_seq">
2293 <field reporter:label="Creation Date/Time" name="create_date" reporter:datatype="timestamp"/>
2294 <field reporter:label="Creating Staff" name="creator" reporter:datatype="link"/>
2295 <field reporter:label="Note ID" name="id" reporter:datatype="id" />
2296 <field reporter:label="Is OPAC Visible?" name="pub" reporter:datatype="bool"/>
2297 <field reporter:label="Note Title" name="title" reporter:datatype="text"/>
2298 <field reporter:label="User" name="usr" reporter:datatype="link" />
2299 <field reporter:label="Note Content" name="value" reporter:datatype="text"/>
2302 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
2303 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
2305 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2307 <create permission="UPDATE_USER" context_field="owner">
2308 <context link="usr" field="home_ou"/>
2310 <!-- note: public notes are still accessible via API -->
2311 <retrieve permission="UPDATE_USER">
2312 <context link="usr" field="home_ou"/>
2314 <update permission="UPDATE_USER">
2315 <context link="usr" field="home_ou"/>
2317 <delete permission="UPDATE_USER">
2318 <context link="usr" field="home_ou"/>
2323 <class id="aupw" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="actor::usr_privacy_waiver" oils_persist:tablename="actor.usr_privacy_waiver" reporter:label="Privacy Waiver">
2324 <fields oils_persist:primary="id" oils_persist:sequence="actor.usr_privacy_waiver_id_seq">
2325 <field reporter:label="ID" name="id" reporter:datatype="id" />
2326 <field reporter:label="User" name="usr" reporter:datatype="link" />
2327 <field reporter:label="Name" name="name" reporter:datatype="text"/>
2328 <field reporter:label="Place Holds?" name="place_holds" reporter:datatype="bool" />
2329 <field reporter:label="Pick Up Holds?" name="pickup_holds" reporter:datatype="bool" />
2330 <field reporter:label="View Borrowing History?" name="view_history" reporter:datatype="bool" />
2331 <field reporter:label="Check Out Items?" name="checkout_items" reporter:datatype="bool" />
2334 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
2336 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2338 <create permission="UPDATE_USER">
2339 <context link="usr" field="home_ou"/>
2341 <retrieve permission="VIEW_USER">
2342 <context link="usr" field="home_ou"/>
2344 <update permission="UPDATE_USER">
2345 <context link="usr" field="home_ou"/>
2347 <delete permission="UPDATE_USER">
2348 <context link="usr" field="home_ou"/>
2353 <class id="aupr" controller="open-ils.cstore" oils_obj:fieldmapper="actor::usr_password_reset" oils_persist:tablename="actor.usr_password_reset" reporter:label="User password reset requests">
2354 <fields oils_persist:primary="id" oils_persist:sequence="actor.usr_password_reset_id_seq">
2355 <field reporter:label="Request ID" name="id" reporter:datatype="id"/>
2356 <field reporter:label="UUID" name="uuid" reporter:datatype="text"/>
2357 <field reporter:label="User" name="usr" reporter:datatype="link"/>
2358 <field reporter:label="Request Time" name="request_time" reporter:datatype="timestamp"/>
2359 <field reporter:label="Was Reset?" name="has_been_reset" reporter:datatype="bool"/>
2362 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
2365 <class id="aus" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="actor::user_setting" oils_persist:tablename="actor.usr_setting" reporter:label="User Setting">
2366 <fields oils_persist:primary="id" oils_persist:sequence="actor.usr_setting_id_seq">
2367 <field reporter:label="Setting ID" name="id" reporter:datatype="id" />
2368 <field reporter:label="Name" name="name" reporter:datatype="link"/>
2369 <field reporter:label="User" name="usr" reporter:datatype="link"/>
2370 <field reporter:label="Value" name="value" reporter:datatype="text"/>
2373 <link field="name" reltype="has_a" key="name" map="" class="cust"/>
2374 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
2376 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2378 <retrieve permission="VIEW_USER">
2379 <context link="usr" field="home_ou" />
2384 <class id="mafe" controller="open-ils.cstore" oils_obj:fieldmapper="metabib::author_field_entry" oils_persist:tablename="metabib.author_field_entry" reporter:label="Author Field Entry">
2385 <fields oils_persist:primary="id" oils_persist:sequence="metabib.author_field_entry_id_seq">
2386 <field name="field" reporter:datatype="link"/>
2387 <field name="id" reporter:datatype="id" />
2388 <field name="source" reporter:datatype="link"/>
2389 <field name="value" reporter:datatype="text"/>
2392 <link field="source" reltype="has_a" key="id" map="" class="bre"/>
2393 <link field="field" reltype="has_a" key="id" map="" class="cmf"/>
2396 <class id="aihu" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="action::in_house_use" oils_persist:tablename="action.in_house_use" reporter:core="true" reporter:label="In House Use">
2397 <fields oils_persist:primary="id" oils_persist:sequence="action.in_house_use_id_seq">
2398 <field reporter:label="Use ID" name="id" reporter:datatype="id" />
2399 <field reporter:label="Item" name="item" reporter:datatype="int" />
2400 <field reporter:label="Using Library" name="org_unit" reporter:datatype="org_unit"/>
2401 <field reporter:label="Recording Staff" name="staff" reporter:datatype="link"/>
2402 <field reporter:label="Use Date/Time" name="use_time" reporter:datatype="timestamp"/>
2405 <link field="item" reltype="has_a" key="id" map="" class="acp"/>
2406 <link field="staff" reltype="has_a" key="id" map="" class="au"/>
2407 <link field="org_unit" reltype="has_a" key="id" map="" class="aou"/>
2409 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2415 <class id="ancihu" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="action::non_cat_in_house_use" oils_persist:tablename="action.non_cat_in_house_use" reporter:core="true" reporter:label="Non-cataloged In House Use">
2416 <fields oils_persist:primary="id" oils_persist:sequence="action.non_cat_in_house_use_id_seq">
2417 <field reporter:label="Use ID" name="id" reporter:datatype="id" />
2418 <field reporter:label="Item Type" name="item_type" reporter:datatype="link"/>
2419 <field reporter:label="Using Library" name="org_unit" reporter:datatype="org_unit"/>
2420 <field reporter:label="Recording Staff" name="staff" reporter:datatype="link"/>
2421 <field reporter:label="Use Date/Time" name="use_time" reporter:datatype="timestamp"/>
2424 <link field="item_type" reltype="has_a" key="id" map="" class="cnct"/>
2425 <link field="staff" reltype="has_a" key="id" map="" class="au"/>
2426 <link field="org_unit" reltype="has_a" key="id" map="" class="aou"/>
2428 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2434 <class id="atc" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="action::transit_copy" oils_persist:tablename="action.transit_copy" reporter:core="true" reporter:label="Copy Transit">
2435 <fields oils_persist:primary="id" oils_persist:sequence="action.transit_copy_id_seq">
2436 <field reporter:label="Pretransit Copy Status" name="copy_status" reporter:datatype="bool"/>
2437 <field reporter:label="Destination" name="dest" reporter:datatype="link"/>
2438 <field reporter:label="Receive Date/Time" name="dest_recv_time" reporter:datatype="timestamp"/>
2439 <field reporter:label="Transit ID" name="id" reporter:datatype="id"/>
2440 <field reporter:label="Is Persistent? (unused)" name="persistant_transfer" reporter:datatype="bool"/>
2441 <field reporter:label="Previous Hop (unused)" name="prev_hop" reporter:datatype="link"/>
2442 <field reporter:label="Source" name="source" reporter:datatype="link"/>
2443 <field reporter:label="Prev Destination" name="prev_dest" reporter:datatype="org_unit"/>
2444 <field reporter:label="Send Date/Time" name="source_send_time" reporter:datatype="timestamp"/>
2445 <field reporter:label="Transited Copy" name="target_copy" reporter:datatype="link"/>
2446 <field reporter:label="Cancel Date/Time" name="cancel_time" reporter:datatype="timestamp"/>
2447 <field reporter:label="Hold Transit" name="hold_transit_copy" oils_persist:virtual="true" reporter:datatype="link"/>
2450 <link field="hold_transit_copy" reltype="might_have" key="id" map="" class="ahtc"/>
2451 <link field="source" reltype="has_a" key="id" map="" class="aou"/>
2452 <link field="prev_dest" reltype="has_a" key="id" map="" class="aou"/>
2453 <link field="copy_status" reltype="has_a" key="id" map="" class="ccs"/>
2454 <link field="dest" reltype="has_a" key="id" map="" class="aou"/>
2455 <link field="target_copy" reltype="has_a" key="id" map="" class="acp"/>
2457 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2459 <create permission="TRANSIT_COPY" context_field="owner">
2460 <context link="target_copy" field="circ_lib"/>
2463 <update permission="UPDATE_TRANSIT" context_field="dest source"/>
2464 <delete permission="DELETE_TRANSIT" context_field="dest source"/>
2468 <class id="asvr" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="action::survey_response" oils_persist:tablename="action.survey_response" reporter:label="Survey Response">
2469 <fields oils_persist:primary="id" oils_persist:sequence="action.survey_response_id_seq">
2470 <field reporter:label="Answer" name="answer" reporter:datatype="link"/>
2471 <field reporter:label="Answer Date/Time" name="answer_date" reporter:datatype="timestamp"/>
2472 <field reporter:label="Effective Answer Date/Time" name="effective_date" reporter:datatype="timestamp"/>
2473 <field reporter:label="Answer ID" name="id" reporter:datatype="id" />
2474 <field reporter:label="Question" name="question" reporter:datatype="link"/>
2475 <field reporter:label="Response Group ID" name="response_group_id" reporter:datatype="int" />
2476 <field reporter:label="Survey" name="survey" reporter:datatype="link"/>
2477 <field reporter:label="Responding User" name="usr" reporter:datatype="link"/>
2480 <link field="question" reltype="has_a" key="id" map="" class="asvq"/>
2481 <link field="survey" reltype="has_a" key="id" map="" class="asv"/>
2482 <link field="answer" reltype="has_a" key="id" map="" class="asva"/>
2483 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
2485 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2487 <create permission="ADMIN_SURVEY">
2488 <context link="survey" field="owner"/>
2490 <retrieve permission="VIEW_USER">
2491 <context link="usr" field="home_ou"/>
2493 <update permission="ADMIN_SURVEY">
2494 <context link="survey" field="owner"/>
2496 <delete permission="ADMIN_SURVEY">
2497 <context link="survey" field="owner"/>
2502 <class id="ccbi" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="container::copy_bucket_item" oils_persist:tablename="container.copy_bucket_item" reporter:label="Copy Bucket Item">
2503 <fields oils_persist:primary="id" oils_persist:sequence="container.copy_bucket_item_id_seq">
2504 <field name="bucket" />
2505 <field name="id" reporter:datatype="id" />
2506 <field name="target_copy" reporter:datatype="link"/>
2507 <field name="create_time" reporter:datatype="timestamp" />
2508 <field name="pos" reporter:datatype="int" />
2509 <field name="notes" oils_persist:virtual="true" reporter:datatype="link" />
2512 <link field="target_copy" reltype="has_a" key="id" map="" class="acp"/>
2513 <link field="bucket" reltype="has_a" key="id" map="" class="ccb"/>
2514 <link field="notes" reltype="has_many" map="" key="item" class="ccbin"/>
2516 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2518 <retrieve permission="ADMIN_COPY_BUCKET">
2519 <context link="bucket" owning_lib="owning_lib"/>
2524 <class id="ccbin" controller="open-ils.cstore" oils_obj:fieldmapper="container::copy_bucket_item_note" oils_persist:tablename="container.copy_bucket_item_note" reporter:label="Copy Bucket Item Note">
2525 <fields oils_persist:primary="id" oils_persist:sequence="container.copy_bucket_item_note_id_seq">
2526 <field name="id" reporter:datatype="id" />
2527 <field name="item" reporter:datatype="link"/>
2528 <field name="note" reporter:datatype="text" />
2531 <link field="item" reltype="has_a" key="id" map="" class="ccbi"/>
2535 <class id="acs" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="authority::control_set" oils_persist:tablename="authority.control_set" reporter:label="Authority Control Set" oils_persist:field_safe="true">
2536 <fields oils_persist:primary="id" oils_persist:sequence="authority.control_set_id_seq">
2537 <field reporter:label="Control Set ID" name="id" reporter:datatype="id" reporter:selector="name"/>
2538 <field reporter:label="Name" name="name" reporter:datatype="text" oils_persist:i18n="true" oils_obj:required="true" />
2539 <field reporter:label="Description" name="description" reporter:datatype="text" oils_persist:i18n="true" />
2540 <field reporter:label="Controlling Authority Fields" name="authority_fields" reporter:datatype="link" oils_persist:virtual="true"/>
2541 <field reporter:label="Thesauri" name="thesauri" reporter:datatype="link" oils_persist:virtual="true"/>
2544 <link field="authority_fields" reltype="has_many" key="control_set" map="" class="acsaf"/>
2545 <link field="thesauri" reltype="has_many" key="control_set" map="" class="at"/>
2547 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2549 <create permission="CREATE_AUTHORITY_CONTROL_SET" global_required="true"/>
2551 <update permission="UPDATE_AUTHORITY_CONTROL_SET" global_required="true"/>
2552 <delete permission="DELETE_AUTHORITY_CONTROL_SET" global_required="true"/>
2557 <class id="acsaf" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="authority::control_set_authority_field" oils_persist:tablename="authority.control_set_authority_field" reporter:label="Authority Control Set Authority Field" oils_persist:field_safe="true">
2558 <fields oils_persist:primary="id" oils_persist:sequence="authority.control_set_authority_field_id_seq">
2559 <field reporter:label="Control Set Authority Field ID" name="id" reporter:datatype="id" reporter:selector="name"/>
2560 <field reporter:label="Main Entry" name="main_entry" reporter:datatype="link"/>
2561 <field reporter:label="Control Set" name="control_set" reporter:datatype="link"/>
2562 <field reporter:label="Tag" name="tag" reporter:datatype="text" oils_obj:required="true" oils_obj:validate="^.{3}$"/>
2563 <field reporter:label="Subfield List" name="sf_list" reporter:datatype="text" />
2564 <field reporter:label="Subfield List for Display" name="display_sf_list" reporter:datatype="text" />
2565 <field reporter:label="Non-filing Indicator" name="nfi" reporter:datatype="text" />
2566 <field reporter:label="Name" name="name" reporter:datatype="text" oils_persist:i18n="true" oils_obj:required="true" />
2567 <field reporter:label="Description" name="description" reporter:datatype="text" oils_persist:i18n="true" />
2568 <field reporter:label="Linking Subfield" name="linking_subfield" reporter:datatype="text" />
2569 <field reporter:label="Subordinate Entries" name="sub_entries" reporter:datatype="link" oils_persist:virtual="true"/>
2570 <field reporter:label="Controlled Bib Fields" name="bib_fields" reporter:datatype="link" oils_persist:virtual="true"/>
2571 <field reporter:label="Thesauri" name="thesauri" reporter:datatype="link" oils_persist:virtual="true"/>
2572 <field reporter:label="Browse Axis Maps" name="axis_maps" reporter:datatype="link" oils_persist:virtual="true"/>
2573 <field reporter:label="Joiner" name="joiner" reporter:datatype="text" />
2574 <field reporter:label="Heading Field" name="heading_field" reporter:datatype="link" />
2577 <link field="axis_maps" reltype="has_many" key="field" map="" class="abaafm"/>
2578 <link field="control_set" reltype="has_a" key="id" map="" class="acs"/>
2579 <link field="bib_fields" reltype="has_many" key="authority_field" map="" class="acsbf"/>
2580 <link field="thesauri" reltype="has_many" key="control_set" map="" class="at"/>
2581 <link field="main_entry" reltype="has_a" key="id" map="" class="acsaf"/>
2582 <link field="sub_entries" reltype="has_many" key="main_entry" map="" class="acsaf"/>
2583 <link field="heading" reltype="has_a" key="id" map="" class="ahf"/>
2585 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2587 <create permission="CREATE_AUTHORITY_CONTROL_SET" global_required="true"/>
2589 <update permission="UPDATE_AUTHORITY_CONTROL_SET" global_required="true"/>
2590 <delete permission="UPDATE_AUTHORITY_CONTROL_SET" global_required="true"/>
2595 <class id="acsbf" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="authority::control_set_bib_field" oils_persist:tablename="authority.control_set_bib_field" reporter:label="Authority Control Set Bib Field" oils_persist:field_safe="true">
2596 <fields oils_persist:primary="id" oils_persist:sequence="authority.control_set_bib_field_id_seq">
2597 <field reporter:label="Controlled Bib Field ID" name="id" reporter:datatype="id" reporter:selector="name"/>
2598 <field reporter:label="Controlling Authority Field" name="authority_field" reporter:datatype="link"/>
2599 <field reporter:label="Tag" name="tag" reporter:datatype="text" oils_obj:required="true" oils_obj:validate="^.{3}$"/>
2602 <link field="authority_field" reltype="has_a" key="id" map="" class="acsaf"/>
2604 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2606 <create permission="CREATE_AUTHORITY_CONTROL_SET" global_required="true"/>
2608 <update permission="UPDATE_AUTHORITY_CONTROL_SET" global_required="true"/>
2609 <delete permission="UPDATE_AUTHORITY_CONTROL_SET" global_required="true"/>
2614 <class id="acsbfmfm" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="authority::control_set_bib_field_metabib_field_map" oils_persist:tablename="authority.control_set_bib_field_metabib_field_map" reporter:label="Authority Control Set Bib Field to Metabib Field Map" oils_persist:field_safe="true">
2615 <fields oils_persist:primary="id" oils_persist:sequence="authority.control_set_bib_field_metabib_field_map_id_seq">
2616 <field reporter:label="ID" name="id" reporter:datatype="id" reporter:selector="name"/>
2617 <field reporter:label="Bib Field" name="bib_field" reporter:datatype="link"/>
2618 <field reporter:label="Metabib Field" name="metabib_field" reporter:datatype="link"/>
2621 <link field="bib_field" reltype="has_a" key="id" map="" class="acsbf"/>
2622 <link field="metabib_field" reltype="has_a" key="id" map="" class="cmf"/>
2624 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2626 <create permission="CREATE_AUTHORITY_CONTROL_SET" global_required="true"/>
2628 <update permission="UPDATE_AUTHORITY_CONTROL_SET" global_required="true"/>
2629 <delete permission="UPDATE_AUTHORITY_CONTROL_SET" global_required="true"/>
2634 <class id="at" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="authority::thesaurus" oils_persist:tablename="authority.thesaurus" reporter:label="Authority Thesaurus" oils_persist:field_safe="true">
2635 <fields oils_persist:primary="code">
2636 <field reporter:label="Thesaurus Code" name="code" reporter:datatype="id" reporter:selector="name"/>
2637 <field reporter:label="Control Set" name="control_set" reporter:datatype="link"/>
2638 <field reporter:label="Name" name="name" reporter:datatype="text" oils_persist:i18n="true" oils_obj:required="true" />
2639 <field reporter:label="Description" name="description" reporter:datatype="text" oils_persist:i18n="true" />
2640 <field reporter:label="Short Code" name="short_code" reporter:datatype="text" />
2641 <field reporter:label="URI" name="uri" reporter:datatype="text" />
2644 <link field="control_set" reltype="has_a" key="id" map="" class="acs"/>
2646 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2648 <create permission="CREATE_AUTHORITY_CONTROL_SET" global_required="true"/>
2650 <update permission="UPDATE_AUTHORITY_CONTROL_SET" global_required="true"/>
2651 <delete permission="UPDATE_AUTHORITY_CONTROL_SET" global_required="true"/>
2656 <class id="aba" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="authority::browse_axis" oils_persist:tablename="authority.browse_axis" reporter:label="Authority Browse Axis" oils_persist:field_safe="true">
2657 <fields oils_persist:primary="code">
2658 <field reporter:label="Code" name="code" reporter:datatype="id" reporter:selector="name" oils_obj:validate="^\S+$"/>
2659 <field reporter:label="Name" name="name" reporter:datatype="text" oils_persist:i18n="true" oils_obj:required="true"/>
2660 <field reporter:label="Sorter Attribute" name="sorter" reporter:datatype="link"/>
2661 <field reporter:label="Description" name="description" reporter:datatype="text"/>
2662 <field reporter:label="Authority Fields" name="fields" reporter:datatype="link" oils_persist:virtual="true"/>
2663 <field reporter:label="Authority Field Maps" name="maps" reporter:datatype="link" oils_persist:virtual="true"/>
2666 <link field="sorter" reltype="has_a" key="name" map="" class="crad"/>
2667 <link field="fields" reltype="has_many" key="axis" map="field" class="abaafm"/>
2668 <link field="maps" reltype="has_many" key="axis" map="" class="abaafm"/>
2670 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2672 <create permission="CREATE_AUTHORITY_CONTROL_SET" global_required="true"/>
2674 <update permission="UPDATE_AUTHORITY_CONTROL_SET" global_required="true"/>
2675 <delete permission="UPDATE_AUTHORITY_CONTROL_SET" global_required="true"/>
2680 <class id="abaafm" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="authority::browse_axis_authority_field_map" oils_persist:tablename="authority.browse_axis_authority_field_map" reporter:label="Authority Browse Axis Field Map" oils_persist:field_safe="true">
2681 <fields oils_persist:primary="id" oils_persist:sequence="authority.browse_axis_authority_field_map_id_seq">
2682 <field reporter:label="Axis Authority Field Map ID" name="id" reporter:datatype="id"/>
2683 <field reporter:label="Authority Field" name="field" oils_obj:required="true" reporter:datatype="link"/>
2684 <field reporter:label="Axis" name="axis" reporter:datatype="link" oils_obj:required="true"/>
2687 <link field="field" reltype="has_a" key="id" map="" class="acsaf"/>
2688 <link field="axis" reltype="has_a" key="code" map="" class="aba"/>
2690 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2692 <create permission="CREATE_AUTHORITY_CONTROL_SET" global_required="true"/>
2694 <update permission="UPDATE_AUTHORITY_CONTROL_SET" global_required="true"/>
2695 <delete permission="UPDATE_AUTHORITY_CONTROL_SET" global_required="true"/>
2700 <class id="are" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="authority::record_entry" oils_persist:tablename="authority.record_entry" reporter:label="Authority Record Entry">
2701 <fields oils_persist:primary="id" oils_persist:sequence="authority.record_entry_id_seq">
2702 <field name="active" reporter:datatype="bool"/>
2703 <field name="create_date" reporter:datatype="timestamp"/>
2704 <field name="creator" />
2705 <field name="deleted" reporter:datatype="bool"/>
2706 <field name="edit_date" reporter:datatype="timestamp"/>
2707 <field name="editor" />
2708 <field name="id" reporter:datatype="id" />
2709 <field name="last_xact_id" />
2710 <field name="marc" />
2711 <field name="source" />
2712 <field reporter:label="Control Set" name="control_set" reporter:datatype="link"/>
2713 <field reporter:label="Owner" name="owner" reporter:datatype="org_unit"/>
2714 <field name="heading" />
2715 <field name="simple_heading" />
2716 <field name="fixed_fields" oils_persist:virtual="true" reporter:datatype="link"/>
2717 <field name="notes" oils_persist:virtual="true" reporter:datatype="link"/>
2718 <field name="bib_links" oils_persist:virtual="true" reporter:datatype="link"/>
2721 <link field="control_set" reltype="has_a" key="id" map="" class="acs"/>
2722 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
2723 <link field="editor" reltype="has_a" key="id" map="" class="au"/>
2724 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
2725 <link field="notes" reltype="has_many" key="record" map="" class="arn"/>
2726 <link field="bib_links" reltype="has_many" key="authority" map="" class="abl"/>
2727 <link field="fixed_fields" reltype="might_have" key="record" map="" class="ard"/>
2729 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2731 <create permission="CREATE_AUTHORITY_RECORD IMPORT_MARC" global_required="true"/>
2733 <update permission="UPDATE_AUTHORITY_RECORD" global_required="true"/>
2734 <delete permission="DELETE_AUTHORITY_RECORD" global_required="true"/>
2738 <class id="ard" controller="open-ils.cstore" oils_obj:fieldmapper="authority::record_descriptor" oils_persist:tablename="authority.rec_descriptor" reporter:label="Authority Record Descriptor">
2739 <fields oils_persist:primary="id" oils_persist:sequence="authority.rec_descriptor_id_seq">
2740 <field name="char_encoding" />
2742 <field name="record" />
2743 <field name="record_status" />
2744 <field name="thesaurus" />
2747 <link field="record" reltype="has_a" key="id" map="" class="are"/>
2748 <link field="thesaurus" reltype="might_have" key="code" map="" class="at"/>
2751 <class id="abl" controller="open-ils.cstore" oils_obj:fieldmapper="authority::bib_linking" oils_persist:tablename="authority.bib_linking" reporter:label="Authority-Bibliographic Record Link">
2752 <fields oils_persist:primary="id" oils_persist:sequence="authority.bib_linking_id_seq">
2753 <field name="id" reporter:datatype="id" />
2754 <field name="bib" reporter:datatype="link" />
2755 <field name="authority" reporter:datatype="link" />
2758 <link field="bib" reltype="has_a" key="id" map="" class="bre"/>
2759 <link field="authority" reltype="has_a" key="id" map="" class="are"/>
2762 <class id="ash" controller="open-ils.cstore" oils_obj:fieldmapper="authority::simple_heading" oils_persist:tablename="authority.simple_heading" reporter:label="Authority Simple Heading">
2763 <fields oils_persist:primary="id" oils_persist:sequence="authority.simple_heading_id_seq">
2764 <field name="id" reporter:datatype="id" />
2765 <field name="record" reporter:datatype="link" />
2766 <field name="atag" reporter:datatype="link" />
2767 <field name="value" reporter:datatype="text" />
2770 <link field="record" reltype="has_a" key="id" map="" class="are"/>
2771 <link field="atag" reltype="has_a" key="id" map="" class="acsaf"/>
2775 <class id="ahf" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="authority::heading_field" oils_persist:tablename="authority.heading_field" reporter:label="Authority Heading Fields">
2776 <fields oils_persist:primary="id" oils_persist:sequence="authority.heading_fields_id_seq">
2777 <field name="id" reporter:datatype="id" />
2778 <field name="heading_type" reporter:datatype="text" reporter:label="Heading Type" />
2779 <field name="heading_purpose" reporter:datatype="text" reporter:label="Heading Purpose" />
2780 <field name="label" reporter:datatype="text" reporter:label="Heading Field Label" />
2781 <field name="format" reporter:datatype="text" reporter:label="Heading XSLT Format" />
2782 <field name="heading_xpath" reporter:datatype="text" reporter:label="Heading XPath" />
2783 <field name="component_xpath" reporter:datatype="text" reporter:label="Heading Component XPath" />
2784 <field name="type_xpath" reporter:datatype="text" reporter:label="Related/Variant Type XPath" />
2785 <field name="thesaurus_xpath" reporter:datatype="text" reporter:label="Thesaurus XPath" />
2786 <field name="thesaurus_override_xpath" reporter:datatype="text" reporter:label="Thesaurus Override XPath" />
2787 <field name="joiner" reporter:datatype="text" reporter:label="Joiner string" />
2789 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2791 <create permission="CREATE_AUTHORITY_CONTROL_SET" global_required="true"/>
2793 <update permission="UPDATE_AUTHORITY_CONTROL_SET" global_required="true"/>
2794 <delete permission="UPDATE_AUTHORITY_CONTROL_SET" global_required="true"/>
2799 <class id="clm" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::language_map" oils_persist:tablename="config.language_map" reporter:label="Language Map" oils_persist:field_safe="true">
2800 <fields oils_persist:primary="code" oils_persist:sequence="">
2801 <field reporter:label="Language Code" name="code" reporter:selector="value" reporter:datatype="text"/>
2802 <field reporter:label="Language" name="value" reporter:datatype="text" oils_persist:i18n="true"/>
2805 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2807 <create permission="CREATE_MARC_CODE" global_required="true"/>
2809 <update permission="UPDATE_MARC_CODE" global_required="true"/>
2810 <delete permission="DELETE_MARC_CODE" global_required="true"/>
2814 <class id="mccp" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="money::credit_card_payment" oils_persist:tablename="money.credit_card_payment" reporter:label="Credit Card Payment">
2815 <fields oils_persist:primary="id" oils_persist:sequence="money.payment_id_seq">
2816 <field name="accepting_usr" />
2817 <field name="amount" reporter:datatype="money" />
2818 <field name="amount_collected" reporter:datatype="money" />
2819 <field name="approval_code" reporter:datatype="text"/>
2820 <field name="cash_drawer" reporter:datatype="link"/>
2821 <field name="cc_number" reporter:datatype="text"/>
2822 <field name="cc_order_number" reporter:datatype="text"/>
2823 <field name="cc_processor" reporter:datatype="text"/>
2824 <field name="id" reporter:datatype="id" />
2825 <field name="note" reporter:datatype="text"/>
2826 <field name="payment_ts" reporter:datatype="timestamp"/>
2827 <field name="xact" reporter:datatype="link"/>
2828 <field name="payment_type" oils_persist:virtual="true" reporter:datatype="text"/>
2829 <field name="payment" oils_persist:virtual="true" reporter:datatype="link"/>
2832 <link field="payment" reltype="might_have" key="id" map="" class="mp"/>
2833 <link field="accepting_usr" reltype="has_a" key="id" map="" class="au"/>
2834 <link field="cash_drawer" reltype="has_a" key="id" map="" class="aws"/>
2835 <link field="xact" reltype="has_a" key="id" map="" class="mbt"/>
2837 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2839 <retrieve permission="VIEW_USER_TRANSACTIONS">
2840 <context link="xact" jump="usr" field="home_ou"/>
2845 <class id="cxt" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::xml_transform" oils_persist:tablename="config.xml_transform" reporter:label="XML/XSLT Transform Definition" oils_persist:field_safe="true">
2846 <fields oils_persist:primary="name">
2847 <field reporter:label="Name" name="name" reporter:datatype="text" />
2848 <field reporter:label="Namespace URI" name="namespace_uri" reporter:datatype="text"/>
2849 <field reporter:label="Namespace Prefix" name="prefix" reporter:datatype="text"/>
2850 <field reporter:label="XSLT" name="xslt" reporter:datatype="text" />
2853 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2855 <create permission="CREATE_XML_TRANSFORM" global_required="true"/>
2857 <update permission="UPDATE_XML_TRANSFORM" global_required="true"/>
2858 <delete permission="DELETE_XML_TRANSFORM" global_required="true"/>
2863 <class id="cmsa" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::metabib_search_alias" oils_persist:tablename="config.metabib_search_alias" reporter:label="Metabib Search Alias" oils_persist:field_safe="true">
2864 <fields oils_persist:primary="alias">
2865 <field reporter:label="Alias (RegExp)" name="alias" reporter:datatype="text"/>
2866 <field reporter:label="Class" name="field_class" reporter:datatype="link"/>
2867 <field reporter:label="Field" name="field" reporter:datatype="link"/>
2870 <link field="field_class" reltype="has_a" key="name" map="" class="cmc"/>
2871 <link field="field" reltype="has_a" key="id" map="" class="cmf"/>
2873 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2875 <create permission="CREATE_METABIB_SEARCH_ALIAS" global_required="true"/>
2877 <update permission="UPDATE_METABIB_SEARCH_ALIAS" global_required="true"/>
2878 <delete permission="DELETE_METABIB_SEARCH_ALIAS" global_required="true"/>
2883 <class id="cmc" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::metabib_class" oils_persist:tablename="config.metabib_class" reporter:label="Metabib Class" oils_persist:field_safe="true">
2884 <fields oils_persist:primary="name">
2885 <field reporter:label="Name" name="name" reporter:datatype="text" reporter:selector="label"/>
2886 <field reporter:label="Label" name="label" reporter:datatype="text" oils_persist:i18n="true"/>
2887 <field reporter:label="Buoyant?" name="buoyant" reporter:datatype="bool" />
2888 <field reporter:label="Restrict?" name="restrict" reporter:datatype="bool" />
2889 <field reporter:label="Combined?" name="combined" reporter:datatype="bool" />
2890 <field reporter:label="A Weight" name="a_weight" reporter:datatype="float" />
2891 <field reporter:label="B Weight" name="b_weight" reporter:datatype="float" />
2892 <field reporter:label="C Weight" name="c_weight" reporter:datatype="float" />
2893 <field reporter:label="D Weight" name="d_weight" reporter:datatype="float" />
2894 <field reporter:label="Fields" name="fields" reporter:datatype="link" oils_persist:virtual="true"/>
2897 <link field="fields" reltype="has_many" key="name" map="" class="cmf"/>
2899 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2901 <create permission="CREATE_METABIB_CLASS" global_required="true"/>
2903 <update permission="UPDATE_METABIB_CLASS" global_required="true"/>
2904 <delete permission="DELETE_METABIB_CLASS" global_required="true"/>
2909 <class id="cmf" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::metabib_field" oils_persist:tablename="config.metabib_field" reporter:label="Metabib Field" oils_persist:field_safe="true">
2910 <fields oils_persist:primary="id" oils_persist:sequence="config.metabib_field_id_seq">
2911 <field reporter:label="ID" name="id" reporter:datatype="id" reporter:selector="label"/>
2912 <field reporter:label="Class" name="field_class" reporter:datatype="link"/>
2913 <field reporter:label="Label" name="label" reporter:datatype="text" oils_persist:i18n="true"/>
2914 <field reporter:label="Name" name="name" reporter:datatype="text"/>
2915 <field reporter:label="Weight" name="weight" reporter:datatype="int" />
2916 <field reporter:label="XPath" name="xpath" reporter:datatype="text"/>
2917 <field reporter:label="Joiner" name="joiner" reporter:datatype="text"/>
2918 <field reporter:label="Format" name="format" reporter:datatype="link"/>
2919 <field reporter:label="Search Field" name="search_field" reporter:datatype="bool" />
2920 <field reporter:label="Facet Field" name="facet_field" reporter:datatype="bool" />
2921 <field reporter:label="Facet XPath" name="facet_xpath" reporter:datatype="text" />
2922 <field reporter:label="Display Field?" name="display_field" reporter:datatype="bool" />
2923 <field reporter:label="Display XPath" name="display_xpath" reporter:datatype="text" />
2924 <field reporter:label="Browse Field" name="browse_field" reporter:datatype="bool" />
2925 <field reporter:label="Browse XPath" name="browse_xpath" reporter:datatype="text" />
2926 <field reporter:label="Browse Sort XPath" name="browse_sort_xpath" reporter:datatype="text" />
2927 <field reporter:label="Authority XPath" name="authority_xpath" reporter:datatype="text" />
2928 <field reporter:label="Restrict?" name="restrict" reporter:datatype="bool" />
2929 <field reporter:label="Display Field Map" name="display_field_map" oils_persist:virtual="true" reporter:datatype="link"/>
2930 <field reporter:label="Virtual Field Data Suppliers" name="data_sources" oils_persist:virtual="true" reporter:datatype="link"/>
2933 <link field="format" reltype="has_a" key="name" map="" class="cxt"/>
2934 <link field="field_class" reltype="has_a" key="name" map="" class="cmc"/>
2935 <link field="display_field_map" reltype="might_have" key="field" map="" class="cdfm"/>
2936 <link field="data_sources" reltype="has_many" key="virtual" map="" class="cmfvm"/>
2938 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2940 <create permission="CREATE_METABIB_FIELD" global_required="true"/>
2942 <update permission="UPDATE_METABIB_FIELD" global_required="true"/>
2943 <delete permission="DELETE_METABIB_FIELD" global_required="true"/>
2948 <class id="cmfvm" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::metabib_field_virtual_map" oils_persist:tablename="config.metabib_field_virtual_map" reporter:label="Metabib Field Virtual Map" oils_persist:field_safe="true">
2949 <fields oils_persist:primary="id" oils_persist:sequence="config.metabib_field_virtual_map_id_seq">
2950 <field reporter:label="ID" name="id" reporter:datatype="id"/>
2951 <field reporter:label="Real" name="real" reporter:datatype="link"/>
2952 <field reporter:label="Virtual" name="virtual" reporter:datatype="link"/>
2953 <field reporter:label="Weight" name="weight" reporter:datatype="int"/>
2956 <link field="real" reltype="has_a" key="id" map="" class="cmf"/>
2957 <link field="virtual" reltype="has_a" key="id" map="" class="cmf"/>
2959 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2961 <create permission="CREATE_METABIB_FIELD ADMIN_METABIB_FIELD" global_required="true"/>
2963 <update permission="UPDATE_METABIB_FIELD ADMIN_METABIB_FIELD" global_required="true"/>
2964 <delete permission="DELETE_METABIB_FIELD ADMIN_METABIB_FIELD" global_required="true"/>
2969 <class id="cbho" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::best_hold_order" oils_persist:tablename="config.best_hold_order" reporter:label="Best-Hold Sort Order">
2970 <fields oils_persist:primary="id" oils_persist:sequence="config.best_hold_order_id_seq">
2971 <field reporter:label="ID" name="id" reporter:datatype="id" reporter:selector="name" />
2972 <field reporter:label="Name" name="name" reporter:datatype="text"/>
2973 <field reporter:label="Capture Lib to Pickup Lib Proximity" name="pprox" reporter:datatype="int" />
2974 <field reporter:label="Circ Lib to Request Lib Proximity" name="hprox" reporter:datatype="int" />
2975 <field reporter:label="Adjusted Circ Lib to Pickup Lib Proximity" name="aprox" reporter:datatype="int" />
2976 <field reporter:label="Adjusted Capture Location to Pickup Lib Proximity" name="approx" reporter:datatype="int" />
2977 <field reporter:label="Hold Priority" name="priority" reporter:datatype="int" />
2978 <field reporter:label="Hold Cut-in-line State" name="cut" reporter:datatype="int" />
2979 <field reporter:label="Hold Selection Depth" name="depth" reporter:datatype="int" />
2980 <field reporter:label="Copy Has Circulated From Home Lately" name="htime" reporter:datatype="int" />
2981 <field reporter:label="Hold Request Time" name="rtime" reporter:datatype="int" />
2982 <field reporter:label="Copy Has Been Home At All Lately" name="shtime" reporter:datatype="int" />
2986 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2988 <create permission="ADMIN_HOLD_CAPTURE_SORT" global_required="true"/>
2989 <retrieve permission="ADMIN_HOLD_CAPTURE_SORT" global_required="true"/>
2990 <update permission="ADMIN_HOLD_CAPTURE_SORT" global_required="true"/>
2991 <delete permission="ADMIN_HOLD_CAPTURE_SORT" global_required="true"/>
2995 <class id="cbfp" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::biblio_fingerprint" oils_persist:tablename="config.biblio_fingerprint" reporter:label="Fingerprint Definition">
2996 <fields oils_persist:primary="id" oils_persist:sequence="config.biblio_fingerprint_id_seq">
2997 <field name="id" reporter:datatype="id" />
2998 <field name="name" reporter:datatype="text"/>
2999 <field name="xpath" reporter:datatype="text"/>
3000 <field name="format" reporter:datatype="link"/>
3001 <field name="first_word" reporter:datatype="bool" />
3004 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3006 <create permission="CREATE_BIBLIO_FINGERPRINT" global_required="true"/>
3008 <update permission="UPDATE_BIBLIO_FINGERPRINT" global_required="true"/>
3009 <delete permission="DELETE_BIBLIO_FINGERPRINT" global_required="true"/>
3013 <class id="cam" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::audience_map" oils_persist:tablename="config.audience_map" reporter:label="Audience Map" oils_persist:field_safe="true">
3014 <fields oils_persist:primary="code" oils_persist:sequence="">
3015 <field reporter:label="Audience Code" name="code" reporter:selector="value" reporter:datatype="text"/>
3016 <field reporter:label="Description" name="description" reporter:datatype="text" oils_persist:i18n="true" />
3017 <field reporter:label="Audience" name="value" reporter:datatype="text" oils_persist:i18n="true"/>
3020 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3022 <create permission="CREATE_MARC_CODE" global_required="true"/>
3024 <update permission="UPDATE_MARC_CODE" global_required="true"/>
3025 <delete permission="DELETE_MARC_CODE" global_required="true"/>
3029 <class id="cifm" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::item_form_map" oils_persist:tablename="config.item_form_map" reporter:label="Item Form Map" oils_persist:field_safe="true">
3030 <fields oils_persist:primary="code" oils_persist:sequence="">
3031 <field reporter:label="Item Form Code" name="code" reporter:selector="value" reporter:datatype="text"/>
3032 <field reporter:label="Item Form" name="value" reporter:datatype="text" oils_persist:i18n="true"/>
3035 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3037 <create permission="ADMIN_MARC_CODE" global_required="true"/>
3039 <update permission="ADMIN_MARC_CODE" global_required="true"/>
3040 <delete permission="ADMIN_MARC_CODE" global_required="true"/>
3044 <class id="acnc" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="asset::call_number_class" oils_persist:tablename="asset.call_number_class" reporter:label="Call number classification scheme">
3045 <fields oils_persist:primary="id" oils_persist:sequence="asset.call_number_class_id_seq">
3046 <field reporter:label="Call number class ID" name="id" reporter:datatype="id"/>
3047 <field reporter:label="Name" name="name" reporter:datatype="text"/>
3048 <field reporter:label="Normalizer function" name="normalizer" reporter:datatype="text"/>
3049 <field reporter:label="Call number fields" name="field" reporter:datatype="text"/>
3051 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3057 <class id="acns" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="asset::call_number_suffix" oils_persist:tablename="asset.call_number_suffix" reporter:label="Call Number/Volume Suffix">
3058 <fields oils_persist:primary="id" oils_persist:sequence="asset.call_number_suffix_id_seq">
3059 <field reporter:label="ID" name="id" reporter:datatype="id" />
3060 <field reporter:label="Label" name="label" reporter:datatype="text"/>
3061 <field reporter:label="Label Sort Key" name="label_sortkey" reporter:datatype="text"/>
3062 <field reporter:label="Owning Library" name="owning_lib" reporter:datatype="org_unit"/>
3065 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
3067 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3069 <create permission="CREATE_VOLUME_SUFFIX" context_field="owning_lib"/>
3071 <update permission="UPDATE_VOLUME_SUFFIX" context_field="owning_lib"/>
3072 <delete permission="DELETE_VOLUME_SUFFIX" context_field="owning_lib"/>
3076 <class id="acnp" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="asset::call_number_prefix" oils_persist:tablename="asset.call_number_prefix" reporter:label="Call Number/Volume Prefix">
3077 <fields oils_persist:primary="id" oils_persist:sequence="asset.call_number_prefix_id_seq">
3078 <field reporter:label="ID" name="id" reporter:datatype="id" />
3079 <field reporter:label="Label" name="label" reporter:datatype="text"/>
3080 <field reporter:label="Label Sort Key" name="label_sortkey" reporter:datatype="text"/>
3081 <field reporter:label="Owning Library" name="owning_lib" reporter:datatype="org_unit"/>
3084 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
3086 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3088 <create permission="CREATE_VOLUME_PREFIX" context_field="owning_lib"/>
3090 <update permission="UPDATE_VOLUME_PREFIX" context_field="owning_lib"/>
3091 <delete permission="DELETE_VOLUME_PREFIX" context_field="owning_lib"/>
3095 <class id="acn" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="asset::call_number" oils_persist:tablename="asset.call_number" reporter:label="Call Number/Volume">
3096 <fields oils_persist:primary="id" oils_persist:sequence="asset.call_number_id_seq">
3097 <field reporter:label="Copies" name="copies" oils_persist:virtual="true" reporter:datatype="link"/>
3098 <field reporter:label="Create Date/Time" name="create_date" reporter:datatype="timestamp"/>
3099 <field reporter:label="Creating User" name="creator" reporter:datatype="link"/>
3100 <field reporter:label="Is Deleted" name="deleted" reporter:datatype="bool"/>
3101 <field reporter:label="Last Edit Date/Time" name="edit_date" reporter:datatype="timestamp"/>
3102 <field reporter:label="Last Editing User" name="editor" reporter:datatype="link"/>
3103 <field reporter:label="Call Number/Volume ID" name="id" reporter:datatype="id" />
3104 <field reporter:label="Call Number Label" name="label" reporter:datatype="text"/>
3105 <field reporter:label="Owning Library" name="owning_lib" reporter:datatype="org_unit"/>
3106 <field reporter:label="Bib Record" name="record" reporter:datatype="link"/>
3107 <field reporter:label="Notes" name="notes" oils_persist:virtual="true" reporter:datatype="link"/>
3108 <field reporter:label="URI Maps" name="uri_maps" oils_persist:virtual="true" reporter:datatype="link"/>
3109 <field reporter:label="URIs" name="uris" oils_persist:virtual="true" reporter:datatype="link"/>
3110 <field reporter:label="Call Number Sort Key" name="label_sortkey" reporter:datatype="text"/>
3111 <field reporter:label="Classification Scheme" name="label_class" reporter:datatype="link"/>
3112 <field reporter:label="Prefix" name="prefix" reporter:datatype="link"/>
3113 <field reporter:label="Suffix" name="suffix" reporter:datatype="link"/>
3116 <link field="editor" reltype="has_a" key="id" map="" class="au"/>
3117 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
3118 <link field="record" reltype="has_a" key="id" map="" class="bre"/>
3119 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
3120 <link field="notes" reltype="has_many" key="call_number" map="" class="acnn"/>
3121 <link field="copies" reltype="has_many" key="call_number" map="" class="acp"/>
3122 <link field="uris" reltype="has_many" key="call_number" map="uri" class="auricnm"/>
3123 <link field="uri_maps" reltype="has_many" key="call_number" map="" class="auricnm"/>
3124 <link field="label_class" reltype="has_a" key="id" map="" class="acnc"/>
3125 <link field="prefix" reltype="has_a" key="id" map="" class="acnp"/>
3126 <link field="suffix" reltype="has_a" key="id" map="" class="acns"/>
3128 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3130 <create permission="CREATE_VOLUME" context_field="owning_lib"/>
3132 <update permission="UPDATE_VOLUME" context_field="owning_lib"/>
3133 <delete permission="DELETE_VOLUME" context_field="owning_lib"/>
3137 <class id="auri" controller="open-ils.cstore" oils_obj:fieldmapper="asset::uri" oils_persist:tablename="asset.uri" reporter:label="Electronic Access URI">
3138 <fields oils_persist:primary="id" oils_persist:sequence="asset.uri_id_seq">
3139 <field reporter:label="URI ID" name="id" reporter:datatype="id"/>
3140 <field reporter:label="URI" name="href" reporter:datatype="text"/>
3141 <field reporter:label="Label" name="label" reporter:datatype="text"/>
3142 <field reporter:label="Use Information" name="use_restriction" reporter:datatype="text"/>
3143 <field reporter:label="Active" name="active" reporter:datatype="bool"/>
3144 <field reporter:label="Call Number Maps" name="call_number_maps" oils_persist:virtual="true" reporter:datatype="link"/>
3145 <field reporter:label="Call Numbers" name="call_numbers" oils_persist:virtual="true" reporter:datatype="link"/>
3148 <link field="call_numbers" reltype="has_many" key="uri" map="call_number" class="auricnm"/>
3149 <link field="call_number_maps" reltype="has_many" key="uri" map="" class="auricnm"/>
3152 <class id="auricnm" controller="open-ils.cstore" oils_obj:fieldmapper="asset::uri_call_number_map" oils_persist:tablename="asset.uri_call_number_map" reporter:label="Electronic Access URI to Call Number Map">
3153 <fields oils_persist:primary="id" oils_persist:sequence="asset.uri_call_number_map_id_seq">
3154 <field reporter:label="ID" name="id" reporter:datatype="id"/>
3155 <field reporter:label="URI" name="uri" reporter:datatype="int"/>
3156 <field reporter:label="Call Number" name="call_number" reporter:datatype="text"/>
3159 <link field="uri" reltype="has_a" key="id" map="" class="auri"/>
3160 <link field="call_number" reltype="has_a" key="id" map="" class="acn"/>
3163 <class id="cst" controller="open-ils.cstore" oils_obj:fieldmapper="config::standing" oils_persist:tablename="config.standing" reporter:label="Standing Penalty">
3164 <fields oils_persist:primary="id" oils_persist:sequence="config.standing_id_seq">
3165 <field name="id" reporter:datatype="id" />
3166 <field name="value" oils_persist:i18n="true" />
3170 <class id="mous" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="money::open_user_summary" oils_persist:tablename="money.open_usr_summary" reporter:label="Open User Summary">
3171 <fields oils_persist:primary="usr" oils_persist:sequence="">
3172 <field name="balance_owed" reporter:datatype="money" />
3173 <field name="total_owed" reporter:datatype="money" />
3174 <field name="total_paid" reporter:datatype="money" />
3175 <field name="usr" reporter:datatype="link"/>
3178 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
3180 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3182 <retrieve permission="VIEW_USER">
3183 <context link="usr" field="home_ou"/>
3188 <class id="mct" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="money::collections_tracker" oils_persist:tablename="money.collections_tracker" reporter:label="Collections Tracker">
3189 <fields oils_persist:primary="id" oils_persist:sequence="money.collections_tracker_id_seq">
3190 <field name="collector" />
3191 <field name="enter_time" reporter:datatype="timestamp"/>
3192 <field name="id" reporter:datatype="id" />
3193 <field name="location" reporter:datatype="link"/>
3194 <field name="usr" reporter:datatype="link"/>
3197 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
3198 <link field="collector" reltype="has_a" key="id" map="" class="au"/>
3199 <link field="location" reltype="has_a" key="id" map="" class="aou"/>
3201 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3203 <create permission="money.collections_tracker.create" context_field="location"/>
3204 <retrieve permission="money.collections_tracker.create" context_field="location"/>
3205 <delete permission="money.collections_tracker.create" context_field="location"/>
3209 <class id="bre" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="biblio::record_entry" oils_persist:tablename="biblio.record_entry" reporter:core="true" reporter:label="Bibliographic Record">
3210 <fields oils_persist:primary="id" oils_persist:sequence="biblio.record_entry_id_seq">
3211 <field reporter:label="Call Numbers" name="call_numbers" oils_persist:virtual="true" reporter:datatype="link"/>
3212 <field reporter:label="Fixed Field Entry" name="fixed_fields" oils_persist:virtual="true" reporter:datatype="link"/>
3213 <field reporter:label="Is Active?" name="active" reporter:datatype="bool"/>
3214 <field reporter:label="Record Creation Date/Time" name="create_date" reporter:datatype="timestamp"/>
3215 <field reporter:label="Record Creator" name="creator" reporter:datatype="link"/>
3216 <field reporter:label="Is Deleted?" name="deleted" reporter:datatype="bool"/>
3217 <field reporter:label="Last Edit Data/Time" name="edit_date" reporter:datatype="timestamp"/>
3218 <field reporter:label="Last Editing User" name="editor" reporter:datatype="link"/>
3219 <field reporter:label="Fingerprint" name="fingerprint" reporter:datatype="text"/>
3220 <field reporter:label="Record ID" name="id" reporter:datatype="id" />
3221 <field reporter:label="Last Transaction ID" name="last_xact_id" reporter:datatype="text"/>
3222 <field reporter:label="MARC21Slim" name="marc" reporter:datatype="text"/>
3223 <field reporter:label="Overall Quality" name="quality" reporter:datatype="int" />
3224 <field reporter:label="Record Source" name="source" reporter:datatype="link"/>
3225 <field reporter:label="TCN Source" name="tcn_source" reporter:datatype="text"/>
3226 <field reporter:label="TCN Value" name="tcn_value" reporter:datatype="text"/>
3227 <field reporter:label="Owner" name="owner" reporter:datatype="org_unit"/>
3228 <field reporter:label="Share Depth" name="share_depth" reporter:datatype="int"/>
3229 <field reporter:label="Metarecord" name="metarecord" oils_persist:virtual="true" reporter:datatype="link"/>
3230 <field reporter:label="Language Code" name="language" oils_persist:virtual="true" reporter:datatype="link"/>
3231 <field reporter:label="Non-MARC Record Notes" name="notes" oils_persist:virtual="true" reporter:datatype="link"/>
3232 <field reporter:label="Indexed Keyword Field Entries" name="keyword_field_entries" oils_persist:virtual="true" reporter:datatype="link"/>
3233 <field reporter:label="Indexed Subject Field Entries" name="subject_field_entries" oils_persist:virtual="true" reporter:datatype="link"/>
3234 <field reporter:label="Indexed Title Field Entries" name="title_field_entries" oils_persist:virtual="true" reporter:datatype="link"/>
3235 <field reporter:label="Indexed Identifier Field Entries" name="identifier_field_entries" oils_persist:virtual="true" reporter:datatype="link"/>
3236 <field reporter:label="Indexed Author Field Entries" name="author_field_entries" oils_persist:virtual="true" reporter:datatype="link"/>
3237 <field reporter:label="Indexed Series Field Entries" name="series_field_entries" oils_persist:virtual="true" reporter:datatype="link"/>
3238 <field reporter:label="Flattened MARC Fields " name="full_record_entries" oils_persist:virtual="true" reporter:datatype="link"/>
3239 <field reporter:label="Simple Record Extracts " name="simple_record" oils_persist:virtual="true" reporter:datatype="link"/>
3240 <field reporter:label="Authority Links" name="authority_links" oils_persist:virtual="true" reporter:datatype="link"/>
3241 <field reporter:label="Subscriptions" name="subscriptions" oils_persist:virtual="true" reporter:datatype="link"/>
3242 <field reporter:label="SVF Attributes" name="attrs" oils_persist:virtual="true" reporter:datatype="link"/>
3243 <field reporter:label="MVF Attributes" name="mattrs" oils_persist:virtual="true" reporter:datatype="link"/>
3244 <field reporter:label="Display Fields" name="display_entries" oils_persist:virtual="true" reporter:datatype="link"/>
3245 <field reporter:label="Flat Display Entries" name="flat_display_entries" oils_persist:virtual="true" reporter:datatype="link"/>
3246 <field reporter:label="Compressed Display Entries" name="compressed_display_entries" oils_persist:virtual="true" reporter:datatype="link"/>
3247 <field reporter:label="Wide Display Entries" name="wide_display_entry" oils_persist:virtual="true" reporter:datatype="link"/>
3248 <field reporter:label="Merge Date" name="merge_date" reporter:datatype="timestamp"/>
3249 <field reporter:label="Merged To" name="merged_to" reporter:datatype="link"/>
3252 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
3253 <link field="editor" reltype="has_a" key="id" map="" class="au"/>
3254 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
3255 <link field="simple_record" reltype="might_have" key="id" map="" class="rmsr"/>
3256 <link field="metarecord" reltype="might_have" key="source" map="metarecord" class="mmrsm"/>
3257 <link field="call_numbers" reltype="has_many" key="record" map="" class="acn"/>
3258 <link field="keyword_field_entries" reltype="has_many" key="source" map="" class="mkfe"/>
3259 <link field="fixed_fields" reltype="might_have" key="record" map="" class="mrd"/>
3260 <link field="language" reltype="might_have" key="record" map="item_lang" class="mrd"/>
3261 <link field="subject_field_entries" reltype="has_many" key="source" map="" class="msfe"/>
3262 <link field="title_field_entries" reltype="has_many" key="source" map="" class="mtfe"/>
3263 <link field="identifier_field_entries" reltype="has_many" key="source" map="" class="mife"/>
3264 <link field="notes" reltype="has_many" key="record" map="" class="bren"/>
3265 <link field="author_field_entries" reltype="has_many" key="source" map="" class="mafe"/>
3266 <link field="series_field_entries" reltype="has_many" key="source" map="" class="msefe"/>
3267 <link field="full_record_entries" reltype="has_many" key="record" map="" class="mfr"/>
3268 <link field="authority_links" reltype="has_many" key="bib" map="" class="abl"/>
3269 <link field="subscriptions" reltype="has_many" key="record_entry" map="" class="ssub"/>
3270 <link field="attrs" reltype="might_have" key="id" map="" class="mra"/>
3271 <link field="mattrs" reltype="has_many" key="id" map="" class="mraf"/>
3272 <link field="source" reltype="has_a" key="id" map="" class="cbs"/>
3273 <link field="display_entries" reltype="has_many" key="source" map="" class="mde"/>
3274 <link field="flat_display_entries" reltype="has_many" key="source" map="" class="mfde"/>
3275 <link field="compressed_display_entries" reltype="has_many" key="source" map="" class="mcde"/>
3276 <link field="wide_display_entry" reltype="might_have" key="source" map="" class="mwde"/>
3277 <link field="merged_to" reltype="has_a" key="id" map="" class="bre"/>
3279 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3281 <create permission="CREATE_MARC IMPORT_MARC" global_required="true"/>
3283 <update permission="UPDATE_MARC" global_required="true"/>
3284 <!-- WARNING: Deleting records via PCRUD does NOT check that any prerequisite conditions have been handled first. It is your responsibility to check for those conditions before deleting bib records. -->
3285 <delete permission="DELETE_RECORD" global_required="true"/>
3289 <class id="aouhoo" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="actor::org_unit::hours_of_operation" oils_persist:tablename="actor.hours_of_operation" reporter:label="Hours of Operation">
3290 <fields oils_persist:primary="id">
3291 <field name="dow_0_close" />
3292 <field name="dow_0_open" />
3293 <field name="dow_1_close" />
3294 <field name="dow_1_open" />
3295 <field name="dow_2_close" />
3296 <field name="dow_2_open" />
3297 <field name="dow_3_close" />
3298 <field name="dow_3_open" />
3299 <field name="dow_4_close" />
3300 <field name="dow_4_open" />
3301 <field name="dow_5_close" />
3302 <field name="dow_5_open" />
3303 <field name="dow_6_close" />
3304 <field name="dow_6_open" />
3305 <field name="id" reporter:datatype="id" />
3306 <field name="org_unit" oils_persist:virtual="true" reporter:datatype="org_unit"/>
3309 <link field="id" reltype="might_have" key="id" map="" class="aou"/>
3311 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3313 <create permission="CREATE_HOURS_OF_OPERATION" context_field="id"/>
3315 <update permission="UPDATE_HOURS_OF_OPERATION" context_field="id"/>
3316 <delete permission="DELETE_HOURS_OF_OPERATION" context_field="id"/>
3320 <class id="bmp" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="biblio::monograph_part" oils_persist:tablename="biblio.monograph_part" reporter:label="Monograph Parts" oils_persist:field_safe="true">
3321 <fields oils_persist:primary="id" oils_persist:sequence="biblio.monograph_part_id_seq">
3322 <field name="id" reporter:datatype="id" />
3323 <field name="record" reporter:datatype="link"/>
3324 <field name="label" reporter:datatype="text"/>
3325 <field name="label_sortkey" reporter:datatype="text"/>
3326 <field name="deleted" reporter:datatype="bool"/>
3329 <link field="record" reltype="has_a" key="id" map="" class="bre"/>
3331 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3333 <create permission="CREATE_MONOGRAPH_PART" global_required="true"/>
3335 <update permission="UPDATE_MONOGRAPH_PART" global_required="true"/>
3336 <delete permission="DELETE_MONOGRAPH_PART" global_required="true"/>
3340 <class id="acpm" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="asset::copy_part_map" oils_persist:tablename="asset.copy_part_map" reporter:label="Copy Monograph Part Map">
3341 <fields oils_persist:primary="id" oils_persist:sequence="asset.copy_part_map_id_seq">
3342 <field name="id" reporter:datatype="id" />
3343 <field name="target_copy" reporter:datatype="link" />
3344 <field name="part" reporter:datatype="link"/>
3347 <link field="target_copy" reltype="has_a" key="id" map="" class="acp"/>
3348 <link field="part" reltype="has_a" key="id" map="" class="bmp"/>
3350 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3352 <create permission="MAP_MONOGRAPH_PART" global_required="true"/>
3354 <update permission="MAP_MONOGRAPH_PART" global_required="true"/>
3355 <delete permission="MAP_MONOGRAPH_PART" global_required="true"/>
3360 controller="open-ils.cstore open-ils.pcrud"
3361 oils_obj:fieldmapper="action::emergency_closing_circulation"
3362 oils_persist:tablename="action.emergency_closing_circulation"
3363 reporter:label="Emergency Closing Circulation Entry"
3364 oils_persist:readonly="true"
3365 > <!-- This is not a view, but is managed via functions, so it's readonly. -->
3366 <fields oils_persist:primary="id">
3367 <field name="id" reporter:datatype="id" />
3368 <field name="circulation" reporter:datatype="link" />
3369 <field name="emergency_closing" reporter:datatype="link"/>
3370 <field name="original_due_date" reporter:datatype="timestamp" />
3371 <field name="process_time" reporter:datatype="timestamp" />
3374 <link field="circulation" reltype="has_a" key="id" map="" class="circ"/>
3375 <link field="emergency_closing" reltype="has_a" key="id" map="" class="aec"/>
3377 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3384 controller="open-ils.cstore open-ils.pcrud"
3385 oils_obj:fieldmapper="action::emergency_closing_reservation"
3386 oils_persist:tablename="action.emergency_closing_reservation"
3387 reporter:label="Emergency Closing Reservation Entry"
3388 oils_persist:readonly="true"
3389 > <!-- This is not a view, but is managed via functions, so it's readonly. -->
3390 <fields oils_persist:primary="id">
3391 <field name="id" reporter:datatype="id" />
3392 <field name="reservation" reporter:datatype="link" />
3393 <field name="emergency_closing" reporter:datatype="link"/>
3394 <field name="original_end_time" reporter:datatype="timestamp" />
3395 <field name="process_time" reporter:datatype="timestamp" />
3398 <link field="reservation" reltype="has_a" key="id" map="" class="bresv"/>
3399 <link field="emergency_closing" reltype="has_a" key="id" map="" class="aec"/>
3401 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3408 controller="open-ils.cstore open-ils.pcrud"
3409 oils_obj:fieldmapper="action::emergency_closing_hold"
3410 oils_persist:tablename="action.emergency_closing_hold"
3411 reporter:label="Emergency Closing Hold Entry"
3412 oils_persist:readonly="true"
3413 > <!-- This is not a view, but is managed via functions, so it's readonly. -->
3414 <fields oils_persist:primary="id">
3415 <field name="id" reporter:datatype="id" />
3416 <field name="hold" reporter:datatype="link" />
3417 <field name="emergency_closing" reporter:datatype="link"/>
3418 <field name="original_shelf_expire_time" reporter:datatype="timestamp" />
3419 <field name="process_time" reporter:datatype="timestamp" />
3422 <link field="hold" reltype="has_a" key="id" map="" class="ahr"/>
3423 <link field="emergency_closing" reltype="has_a" key="id" map="" class="aec"/>
3425 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3432 controller="open-ils.cstore open-ils.pcrud"
3433 oils_obj:fieldmapper="action::emergency_closing_status"
3434 oils_persist:tablename="action.emergency_closing_status"
3435 reporter:label="Emergency Closing Status"
3436 oils_persist:readonly="true"
3438 <fields oils_persist:primary="id">
3439 <field name="id" reporter:datatype="id" />
3440 <field name="creator" reporter:datatype="link" />
3441 <field name="create_time" reporter:datatype="timestamp" />
3442 <field name="process_start_time" reporter:datatype="timestamp" />
3443 <field name="process_end_time" reporter:datatype="timestamp" />
3444 <field name="last_update_time" reporter:datatype="timestamp" />
3445 <field name="circulations" reporter:datatype="int" />
3446 <field name="circulations_complete" reporter:datatype="int" />
3447 <field name="reservations" reporter:datatype="int" />
3448 <field name="reservations_complete" reporter:datatype="int" />
3449 <field name="holds" reporter:datatype="int" />
3450 <field name="holds_complete" reporter:datatype="int" />
3453 <link field="id" reltype="has_a" key="id" map="" class="aec"/>
3455 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3461 <class id="aec" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="action::emergency_closing" oils_persist:tablename="action.emergency_closing" reporter:label="Emergency Closing">
3462 <fields oils_persist:primary="id" oils_persist:sequence="action.emergency_closing_id_seq">
3463 <field name="id" reporter:datatype="id" />
3464 <field name="creator" reporter:datatype="link" />
3465 <field name="create_time" reporter:datatype="timestamp" />
3466 <field name="process_start_time" reporter:datatype="timestamp" />
3467 <field name="process_end_time" reporter:datatype="timestamp" />
3468 <field name="last_update_time" reporter:datatype="timestamp" />
3469 <field name="closing" oils_persist:virtual="true" reporter:datatype="link"/>
3470 <field name="status" oils_persist:virtual="true" reporter:datatype="link"/>
3471 <field name="circulations" oils_persist:virtual="true" reporter:datatype="link"/>
3472 <field name="reservations" oils_persist:virtual="true" reporter:datatype="link"/>
3473 <field name="holds" oils_persist:virtual="true" reporter:datatype="link"/>
3476 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
3477 <link field="closing" reltype="might_have" key="emergency_closing" map="" class="aoucd"/>
3478 <link field="status" reltype="might_have" key="id" map="" class="aecs"/>
3479 <link field="circulations" reltype="has_many" key="emergency_closing" map="" class="aecc"/>
3480 <link field="reservations" reltype="has_many" key="emergency_closing" map="" class="aecr"/>
3481 <link field="holds" reltype="has_many" key="emergency_closing" map="" class="aech"/>
3483 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3485 <create permission="EMERGENCY_CLOSING">
3486 <context link="closing" field="org_unit" />
3489 <update permission="EMERGENCY_CLOSING">
3490 <context link="closing" field="org_unit" />
3492 <delete permission="EMERGENCY_CLOSING">
3493 <context link="closing" field="org_unit" />
3498 <class id="aoucd" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="actor::org_unit::closed_date" oils_persist:tablename="actor.org_unit_closed" reporter:label="Closed Dates">
3499 <fields oils_persist:primary="id" oils_persist:sequence="actor.org_unit_closed_id_seq">
3500 <field name="close_end" reporter:datatype="timestamp" />
3501 <field name="close_start" reporter:datatype="timestamp" />
3502 <field name="id" reporter:datatype="id" />
3503 <field name="org_unit" reporter:datatype="org_unit"/>
3504 <field name="reason" reporter:datatype="text"/>
3505 <field name="full_day" reporter:datatype="bool"/>
3506 <field name="multi_day" reporter:datatype="bool"/>
3507 <field name="emergency_closing" reporter:datatype="link"/>
3510 <link field="org_unit" reltype="has_a" key="id" map="" class="aou"/>
3511 <link field="emergency_closing" reltype="has_a" key="id" map="" class="aec"/>
3513 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3515 <create permission="CREATE_ORG_UNIT_CLOSING" context_field="org_unit"/>
3517 <update permission="UPDATE_ORG_UNIT_CLOSING" context_field="org_unit"/>
3518 <delete permission="DELETE_ORG_UNIT_CLOSING" context_field="org_unit"/>
3522 <class id="crcd" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::rules::circ_duration" oils_persist:tablename="config.rule_circ_duration" reporter:label="Circulation Duration Rule">
3523 <fields oils_persist:primary="id" oils_persist:sequence="config.rule_circ_duration_id_seq">
3524 <field name="extended" reporter:datatype="interval"/>
3525 <field name="id" reporter:datatype="id" reporter:selector="name"/>
3526 <field name="max_renewals" reporter:datatype="int" />
3527 <field name="name" reporter:datatype="text"/>
3528 <field name="normal" reporter:datatype="interval"/>
3529 <field name="shrt" reporter:datatype="interval"/>
3530 <field name="max_auto_renewals" reporter:datatype="int" />
3534 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3536 <create permission="CREATE_CIRC_DURATION" global_required="true"/>
3538 <update permission="UPDATE_CIRC_DURATION" global_required="true"/>
3539 <delete permission="DELETE_CIRC_DURATION" global_required="true"/>
3544 <class id="chdd" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::hard_due_date" oils_persist:tablename="config.hard_due_date" reporter:label="Hard Due Date">
3545 <fields oils_persist:primary="id" oils_persist:sequence="config.hard_due_date_id_seq">
3546 <field reporter:label="ID" name="id" reporter:datatype="id" reporter:selector="name"/>
3547 <field reporter:label="Name" name="name" reporter:datatype="text"/>
3548 <field reporter:label="Always Use?" name="forceto" reporter:datatype="bool"/>
3549 <field reporter:label="Current Ceiling Date" name="ceiling_date" reporter:datatype="timestamp"/>
3550 <field reporter:label="Owner" name="owner" reporter:datatype="org_unit"/>
3553 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
3555 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3557 <create permission="CREATE_CIRC_DURATION" global_required="true"/>
3559 <update permission="UPDATE_CIRC_DURATION" global_required="true"/>
3560 <delete permission="DELETE_CIRC_DURATION" global_required="true"/>
3565 <class id="chddv" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::hard_due_date_values" oils_persist:tablename="config.hard_due_date_values" reporter:label="Hard Due Date Values">
3566 <fields oils_persist:primary="id" oils_persist:sequence="config.hard_due_date_values_id_seq">
3567 <field reporter:label="ID" name="id" reporter:datatype="id"/>
3568 <field reporter:label="Hard Due Date" name="hard_due_date" reporter:datatype="link"/>
3569 <field reporter:label="Ceiling Date" name="ceiling_date" reporter:datatype="timestamp"/>
3570 <field reporter:label="Active Date" name="active_date" reporter:datatype="timestamp"/>
3573 <link field="hard_due_date" reltype="has_a" key="id" map="" class="chdd"/>
3575 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3577 <create permission="CREATE_CIRC_DURATION" global_required="true"/>
3579 <update permission="UPDATE_CIRC_DURATION" global_required="true"/>
3580 <delete permission="DELETE_CIRC_DURATION" global_required="true"/>
3585 <class id="mobts" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="money::open_billable_transaction_summary" oils_persist:tablename="money.open_billable_xact_summary" reporter:label="Open Billable Transaction Summary">
3586 <fields oils_persist:primary="id" oils_persist:sequence="">
3587 <field name="balance_owed" reporter:datatype="money"/>
3588 <field name="id" reporter:datatype="id" />
3589 <field name="last_billing_note" reporter:datatype="text"/>
3590 <field name="last_billing_ts" reporter:datatype="timestamp"/>
3591 <field name="last_billing_type" reporter:datatype="text"/>
3592 <field name="last_payment_note" reporter:datatype="text"/>
3593 <field name="last_payment_ts" reporter:datatype="timestamp"/>
3594 <field name="last_payment_type" reporter:datatype="text"/>
3595 <field name="total_owed" reporter:datatype="money"/>
3596 <field name="total_paid" reporter:datatype="money"/>
3597 <field name="usr" reporter:datatype="link"/>
3598 <field name="xact_finish" reporter:datatype="timestamp" />
3599 <field name="xact_start" reporter:datatype="timestamp" />
3600 <field name="xact_type" reporter:datatype="text"/>
3601 <field name="xact" oils_persist:virtual="true" reporter:datatype="link"/>
3602 <field name="grocery" oils_persist:virtual="true" reporter:datatype="link"/>
3603 <field name="circulation" oils_persist:virtual="true" reporter:datatype="link"/>
3604 <field name="reservation" oils_persist:virtual="true" reporter:datatype="link"/>
3605 <field name="billing_location" reporter:datatype="link"/>
3608 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
3609 <link field="xact" reltype="might_have" key="id" map="" class="mbt"/>
3610 <link field="circulation" reltype="might_have" key="id" map="" class="circ"/>
3611 <link field="grocery" reltype="might_have" key="id" map="" class="mg"/>
3612 <link field="reservation" reltype="might_have" key="id" map="" class="bresv"/>
3613 <link field="billing_location" reltype="has_a" key="id" map="" class="aou"/>
3615 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3617 <retrieve permission="VIEW_USER_TRANSACTIONS">
3618 <context link="usr" field="home_ou" />
3623 <class id="au" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="actor::user" oils_persist:tablename="actor.usr" reporter:core="true" reporter:label="ILS User">
3624 <fields oils_persist:primary="id" oils_persist:sequence="actor.usr_id_seq">
3625 <field reporter:label="All Addresses" name="addresses" oils_persist:virtual="true" reporter:datatype="link"/>
3626 <field reporter:label="All Library Cards" name="cards" oils_persist:virtual="true" reporter:datatype="link"/>
3627 <field reporter:label="All Circulations" name="checkouts" oils_persist:virtual="true" reporter:datatype="link"/>
3628 <field reporter:label="All Hold Requests" name="hold_requests" oils_persist:virtual="true" reporter:datatype="link"/>
3629 <field reporter:label="All Permissions" name="permissions" oils_persist:virtual="true" reporter:datatype="link"/>
3630 <field reporter:label="All User Settings" name="settings" oils_persist:virtual="true" reporter:datatype="link"/>
3631 <field reporter:label="Standing Penalties" name="standing_penalties" oils_persist:virtual="true" reporter:datatype="link"/>
3632 <field reporter:label="Statistical Category Entries" name="stat_cat_entries" oils_persist:virtual="true" reporter:datatype="link"/>
3633 <field reporter:label="Survey Responses" name="survey_responses" oils_persist:virtual="true" reporter:datatype="link"/>
3634 <field reporter:label="Privacy Waiver Entries" name = "waiver_entries" oils_persist:virtual="true" reporter:datatype="link"/>
3635 <field reporter:label="Workstation Org Unit" name="ws_ou" oils_persist:virtual="true" reporter:datatype="link"/>
3636 <field reporter:label="Workstation ID" name="wsid" oils_persist:virtual="true" reporter:datatype="link"/>
3637 <field reporter:label="Active" name="active" reporter:datatype="bool"/>
3638 <field reporter:label="Alert Message" name="alert_message" reporter:datatype="text"/>
3639 <field reporter:label="Barred" name="barred" reporter:datatype="bool"/>
3640 <field reporter:label="Physical Address" name="billing_address" reporter:datatype="link"/>
3641 <field reporter:label="Current Library Card" name="card" reporter:datatype="link"/>
3642 <field reporter:label="Claims-returned Count" name="claims_returned_count" reporter:datatype="int" />
3643 <field reporter:label="Claims Never Checked Out Count" name="claims_never_checked_out_count" reporter:datatype="int" />
3644 <field reporter:label="Record Creation Date/Time" name="create_date" reporter:datatype="timestamp"/>
3645 <field reporter:label="User Credit Balance" name="credit_forward_balance" reporter:datatype="money" />
3646 <field reporter:label="Daytime Phone" name="day_phone" reporter:datatype="text"/>
3647 <field reporter:label="Date of Birth" name="dob" reporter:datatype="timestamp"/>
3648 <field reporter:label="Email Address" name="email" reporter:datatype="text"/>
3649 <field reporter:label="Evening Phone" name="evening_phone" reporter:datatype="text"/>
3650 <field reporter:label="Privilege Expiration Date" name="expire_date" reporter:datatype="timestamp"/>
3651 <field reporter:label="Last Name" name="family_name" reporter:datatype="text"/>
3652 <field reporter:label="First Name" name="first_given_name" reporter:datatype="text"/>
3653 <field reporter:label="Home Library" name="home_ou" reporter:datatype="org_unit"/>
3654 <field reporter:label="User ID" name="id" reporter:datatype="id" />
3655 <field reporter:label="Primary Identification Type" name="ident_type" reporter:datatype="link"/>
3656 <field reporter:label="Secondary Identification Type" name="ident_type2" reporter:datatype="link"/>
3657 <field reporter:label="Primary Identification" name="ident_value" reporter:datatype="text"/>
3658 <field reporter:label="Secondary Identification" name="ident_value2" reporter:datatype="text"/>
3659 <field reporter:label="Last Transaction ID" name="last_xact_id" reporter:datatype="text"/>
3660 <field reporter:label="Mailing Address" name="mailing_address" reporter:datatype="link"/>
3661 <field reporter:label="Is Group Lead Account" name="master_account" reporter:datatype="bool"/>
3662 <field reporter:label="Internet Access Level" name="net_access_level" reporter:datatype="link"/>
3663 <field reporter:label="Other Phone" name="other_phone" reporter:datatype="text"/>
3664 <field reporter:label="Password" name="passwd" suppress_controller="open-ils.pcrud open-ils.reporter-store" reporter:datatype="text"/>
3665 <field reporter:label="Photo URL" name="photo_url" reporter:datatype="text"/>
3666 <field reporter:label="Prefix/Title" name="prefix" reporter:datatype="text"/>
3667 <field reporter:label="Main (Profile) Permission Group" name="profile" reporter:datatype="link"/>
3668 <field reporter:label="Middle Name" name="second_given_name" reporter:datatype="text"/>
3669 <field reporter:label="Standing (unused)" name="standing" reporter:datatype="link"/>
3670 <field reporter:label="Suffix" name="suffix" reporter:datatype="text"/>
3671 <field reporter:label="Is Super User" name="super_user" reporter:datatype="bool"/>
3672 <field reporter:label="Family Linkage or other Group" name="usrgroup" reporter:datatype="int"/>
3673 <field reporter:label="OPAC/Staff Client User Name" name="usrname" reporter:datatype="text"/>
3674 <field reporter:label="OPAC/Staff Client Holds Alias" name="alias" reporter:datatype="text"/>
3675 <field reporter:label="Juvenile" name="juvenile" reporter:datatype="bool"/>
3676 <field reporter:label="Record Last Update Time" name="last_update_time" reporter:datatype="timestamp"/>
3677 <field reporter:label="Preferred Prefix" name="pref_prefix" reporter:datatype="text"/>
3678 <field reporter:label="Preferred First Name" name="pref_first_given_name" reporter:datatype="text"/>
3679 <field reporter:label="Preferred Middle Name" name="pref_second_given_name" reporter:datatype="text"/>
3680 <field reporter:label="Preferred Last Name" name="pref_family_name" reporter:datatype="text"/>
3681 <field reporter:label="Preferred Suffix" name="pref_suffix" reporter:datatype="text"/>
3682 <field reporter:label="Parent/Guardian" name="guardian" reporter:datatype="text"/>
3683 <field reporter:label="Name Keywords" name="name_keywords" reporter:datatype="text"/>
3684 <field reporter:label="Additional Permission Groups" name="groups" oils_persist:virtual="true" reporter:datatype="link"/>
3685 <field reporter:label="Is Deleted" name="deleted" reporter:datatype="bool"/>
3686 <field reporter:label="User Notes" name="notes" oils_persist:virtual="true" reporter:datatype="link"/>
3687 <field reporter:label="Demographic Info" name="demographic" oils_persist:virtual="true" reporter:datatype="link"/>
3688 <field reporter:label="Billable Transactions" name="billable_transactions" oils_persist:virtual="true" reporter:datatype="link"/>
3689 <field reporter:label="Money Summary" name="money_summary" oils_persist:virtual="true" reporter:datatype="link"/>
3690 <field reporter:label="Open Billable Transactions" name="open_billable_transactions_summary" oils_persist:virtual="true" reporter:datatype="link"/>
3691 <field reporter:label="Checkins" name="checkins" oils_persist:virtual="true" reporter:datatype="link"/>
3692 <field reporter:label="Circulations Performed as Staff" name="performed_circulations" oils_persist:virtual="true" reporter:datatype="link"/>
3693 <field reporter:label="Fund Allocation Percentages" name="fund_alloc_pcts" oils_persist:virtual="true" reporter:datatype="link"/>
3694 <field reporter:label="Reservations" name="reservations" oils_persist:virtual="true" reporter:datatype="link"/>
3695 <field reporter:label="User Activity Entries" name="usr_activity" oils_persist:virtual="true" reporter:datatype="link"/>
3696 <field reporter:label="User/Working Location Map" name="usr_work_ou_map" oils_persist:virtual="true" reporter:datatype="link"/>
3699 <link field="demographic" reltype="might_have" key="id" map="" class="rud"/>
3700 <link field="net_access_level" reltype="has_a" key="id" map="" class="cnal"/>
3701 <link field="profile" reltype="has_a" key="id" map="" class="pgt"/>
3702 <link field="ident_type" reltype="has_a" key="id" map="" class="cit"/>
3703 <link field="billing_address" reltype="has_a" key="id" map="" class="aua"/>
3704 <link field="mailing_address" reltype="has_a" key="id" map="" class="aua"/>
3705 <link field="home_ou" reltype="has_a" key="id" map="" class="aou"/>
3706 <link field="standing" reltype="has_a" key="id" map="" class="cst"/>
3707 <link field="card" reltype="has_a" key="id" map="" class="ac"/>
3708 <link field="ident_type2" reltype="has_a" key="id" map="" class="cit"/>
3709 <link field="stat_cat_entries" reltype="has_many" key="target_usr" map="" class="actscecm"/>
3710 <link field="waiver_entries" reltype="has_many" key="usr" map="" class="aupw"/>
3711 <link field="groups" reltype="has_many" key="usr" map="grp" class="pugm"/>
3712 <link field="usrgroup" reltype="has_many" key="usrgroup" map="" class="au"/>
3713 <link field="checkouts" reltype="has_many" key="usr" map="" class="circ"/>
3714 <link field="hold_requests" reltype="has_many" key="usr" map="" class="ahr"/>
3715 <link field="permissions" reltype="has_many" key="usr" map="perm" class="pupm"/>
3716 <link field="settings" reltype="has_many" key="usr" map="" class="aus"/>
3717 <link field="billable_transactions" reltype="has_many" key="usr" map="" class="mbt"/>
3718 <link field="open_billable_transactions_summary" reltype="has_many" key="usr" map="" class="mobts"/>
3719 <link field="money_summary" reltype="might_have" key="usr" map="" class="mus"/>
3720 <link field="standing_penalties" reltype="has_many" key="usr" map="" class="ausp"/>
3721 <link field="addresses" reltype="has_many" key="usr" map="" class="aua"/>
3722 <link field="survey_responses" reltype="has_many" key="usr" map="" class="asvr"/>
3723 <link field="notes" reltype="has_many" key="usr" map="" class="aun"/>
3724 <link field="checkins" reltype="has_many" key="checkin_staff" map="" class="circ"/>
3725 <link field="cards" reltype="has_many" key="usr" map="" class="ac"/>
3726 <link field="performed_circulations" reltype="has_many" key="circ_staff" map="" class="circ"/>
3727 <link field="fund_alloc_pcts" reltype="has_many" key="allocator" map="" class="acqfap"/>
3728 <link field="reservations" reltype="has_many" key="usr" map="" class="bresv"/>
3729 <link field="usr_activity" reltype="has_many" key="usr" map="" class="auact"/>
3730 <link field="usr_work_ou_map" reltype="has_many" key="usr" map="" class="puwoum"/>
3732 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3734 <retrieve permission="VIEW_USER user_request.view" context_field="home_ou" />
3738 <class id="cuat" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::usr_activity_type" oils_persist:tablename="config.usr_activity_type" reporter:label="User Activity Type">
3739 <fields oils_persist:primary="id" oils_persist:sequence="config.usr_activity_type_id_seq">
3740 <field name="id" reporter:label="ID" reporter:datatype="id" />
3741 <field name="ewho" reporter:label="Event Caller" reporter:datatype="text"/>
3742 <field name="ewhat" reporter:label="Event Type" reporter:datatype="text"/>
3743 <field name="ehow" reporter:label="Event Mechanism" reporter:datatype="text"/>
3744 <field name="label" reporter:label="Label" reporter:datatype="text"/>
3745 <field name="egroup" reporter:label="Activity Group" reporter:datatype="text"/>
3746 <field name="enabled" reporter:label="Enabled" reporter:datatype="bool"/>
3747 <field name="transient" reporter:label="Transient" reporter:datatype="bool"/>
3749 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3751 <create permission="ADMIN_USER_ACTIVITY_TYPE" global_required="true"/>
3753 <update permission="ADMIN_USER_ACTIVITY_TYPE" global_required="true"/>
3754 <delete permission="ADMIN_USER_ACTIVITY_TYPE" global_required="true"/>
3758 <class id="auact" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="actor::usr_activity" oils_persist:tablename="actor.usr_activity" reporter:label="User Activity">
3759 <fields oils_persist:primary="id" oils_persist:sequence="actor.usr_activity_id_seq">
3760 <field name="id" reporter:label="ID" reporter:datatype="id" />
3761 <field name="usr" reporter:label="User" reporter:datatype="link" />
3762 <field name="etype" reporter:label="Activity Type" reporter:datatype="link" />
3763 <field name="event_time" reporter:label="Event Time" reporter:datatype="timestamp" />
3766 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
3767 <link field="etype" reltype="has_a" key="id" map="" class="cuat"/>
3769 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3771 <retrieve permission="RUN_REPORTS">
3772 <context link="usr" field="home_ou" />
3777 <class id="atb" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="actor::toolbar" oils_persist:tablename="actor.toolbar" reporter:label="Custom Toolbar">
3778 <fields oils_persist:primary="id" oils_persist:sequence="actor.toolbar_id_seq">
3779 <field name="id" reporter:label="ID" reporter:datatype="id" />
3780 <field name="usr" reporter:label="Owning User" reporter:datatype="link" />
3781 <field name="org" reporter:label="Owning Org Unit" reporter:datatype="link" />
3782 <field name="ws" reporter:label="Owning Workstation" reporter:datatype="link" />
3783 <field name="label" reporter:label="Label" reporter:datatype="text" oils_persist:i18n="true" />
3784 <field name="layout" reporter:label="Layout" reporter:datatype="text" />
3787 <link field="usr" reltype="might_have" key="id" map="" class="au"/>
3788 <link field="org" reltype="might_have" key="id" map="" class="aou"/>
3789 <link field="ws" reltype="might_have" key="id" map="" class="aws"/>
3791 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3793 <retrieve permission="ADMIN_TOOLBAR STAFF_LOGIN" context_field="org">
3794 <context link="usr" field="home_ou" />
3795 <context link="ws" field="owning_lib" />
3797 <create permission="ADMIN_TOOLBAR" context_field="org">
3798 <context link="usr" field="home_ou" />
3799 <context link="ws" field="owning_lib" />
3801 <update permission="ADMIN_TOOLBAR" context_field="org">
3802 <context link="usr" field="home_ou" />
3803 <context link="ws" field="owning_lib" />
3805 <delete permission="ADMIN_TOOLBAR" context_field="org">
3806 <context link="usr" field="home_ou" />
3807 <context link="ws" field="owning_lib" />
3812 <class id="csg" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::settings_group" oils_persist:tablename="config.settings_group" reporter:label="Settings Group">
3813 <fields oils_persist:primary="name">
3814 <field name="name" reporter:datatype="text"/>
3815 <field name="label" reporter:datatype="text" oils_persist:i18n="true"/>
3818 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3820 <create permission="ADMIN_USER_SETTING_GROUP" global_required="true"/>
3822 <update permission="ADMIN_USER_SETTING_GROUP" global_required="true"/>
3823 <delete permission="ADMIN_USER_SETTING_GROUP" global_required="true"/>
3827 <class id="cust" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::usr_setting_type" oils_persist:tablename="config.usr_setting_type" reporter:label="User Setting Type">
3828 <fields oils_persist:primary="name">
3829 <field name="name" reporter:label="Name" reporter:datatype="text"/>
3830 <field name="label" reporter:label="Label" reporter:datatype="text" oils_persist:i18n="true"/>
3831 <field name="description" reporter:label="Description" reporter:datatype="text" oils_persist:i18n="true"/>
3832 <field name="datatype" reporter:label="Datatype" reporter:datatype="text"/>
3833 <field name="fm_class" reporter:label="Fieldmapper Class" reporter:datatype="text"/>
3834 <field name="grp" reporter:label="Settings Group" reporter:datatype="link"/>
3835 <field name="opac_visible" reporter:label="OPAC/Patron Visible" reporter:datatype="bool"/>
3836 <field name="reg_default" reporter:label="Registration Default" reporter:datatype="text"/>
3839 <link field="name" reltype="has_many" key="name" map="" class="aus"/>
3840 <link field="grp" reltype="has_a" key="name" map="" class="csg"/>
3842 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3844 <create permission="ADMIN_USER_SETTING_TYPE" global_required="true"/>
3846 <update permission="ADMIN_USER_SETTING_TYPE" global_required="true"/>
3847 <delete permission="ADMIN_USER_SETTING_TYPE" global_required="true"/>
3851 <class id="coust" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::org_unit_setting_type" oils_persist:tablename="config.org_unit_setting_type" reporter:label="Organizational Unit Setting Type">
3852 <fields oils_persist:primary="name">
3853 <field name="name" reporter:datatype="text"/>
3854 <field name="label" reporter:datatype="text" oils_persist:i18n="true"/>
3855 <field name="description" reporter:datatype="text" oils_persist:i18n="true"/>
3856 <field name="datatype" reporter:datatype="text"/>
3857 <field name="view_perm" reporter:datatype="link"/>
3858 <field name="update_perm" reporter:datatype="link"/>
3859 <field name="fm_class" reporter:datatype="text"/>
3860 <field name="grp" reporter:datatype="link"/>
3863 <link field="name" reltype="has_many" key="name" map="" class="aous"/>
3864 <link field="view_perm" reltype="has_a" key="id" map="" class="ppl"/>
3865 <link field="update_perm" reltype="has_a" key="id" map="" class="ppl"/>
3866 <link field="grp" reltype="has_a" key="name" map="" class="csg"/>
3868 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3870 <create permission="ADMIN_ORG_UNIT_SETTING_TYPE" global_required="true"/>
3872 <update permission="ADMIN_ORG_UNIT_SETTING_TYPE" global_required="true"/>
3873 <delete permission="ADMIN_ORG_UNIT_SETTING_TYPE" global_required="true"/>
3877 <class id="aous" controller="open-ils.cstore" oils_obj:fieldmapper="actor::org_unit_setting" oils_persist:tablename="actor.org_unit_setting" reporter:label="Organizational Unit Setting">
3878 <fields oils_persist:primary="id" oils_persist:sequence="actor.org_unit_setting_id_seq">
3880 <field name="name" reporter:datatype="text"/>
3881 <field name="org_unit" reporter:datatype="org_unit"/>
3882 <field name="value" reporter:datatype="text"/>
3885 <link field="org_unit" reltype="has_a" key="id" map="" class="aou"/>
3886 <link field="name" reltype="has_a" key="name" map="" class="coust"/>
3889 <class id="acpn" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="asset::copy_note" oils_persist:tablename="asset.copy_note" reporter:label="Copy Note">
3890 <fields oils_persist:primary="id" oils_persist:sequence="asset.copy_note_id_seq">
3891 <field reporter:label="Note Creation Date/Time" name="create_date" reporter:datatype="timestamp"/>
3892 <field reporter:label="Note Creator" name="creator" reporter:datatype="link"/>
3893 <field reporter:label="Note ID" name="id" reporter:datatype="id" />
3894 <field reporter:label="Copy" name="owning_copy" reporter:datatype="link"/>
3895 <field reporter:label="Is OPAC Visible?" name="pub" reporter:datatype="bool"/>
3896 <field reporter:label="Note Title" name="title" reporter:datatype="text"/>
3897 <field reporter:label="Note Content" name="value" reporter:datatype="text"/>
3900 <link field="owning_copy" reltype="has_a" key="id" map="" class="acp"/>
3901 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
3903 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3905 <create permission="CREATE_COPY_NOTE">
3906 <context link="owning_copy" field="circ_lib"/>
3908 <retrieve permission="VIEW_COPY_NOTES">
3909 <context link="owning_copy" field="circ_lib"/>
3911 <update permission="UPDATE_COPY_NOTE">
3912 <context link="owning_copy" field="circ_lib"/>
3914 <delete permission="DELETE_COPY_NOTE">
3915 <context link="owning_copy" field="circ_lib"/>
3920 <class id="mfr" controller="open-ils.cstore" oils_obj:fieldmapper="metabib::full_rec" oils_persist:tablename="metabib.full_rec" reporter:label="Flattened MARC Fields">
3921 <fields oils_persist:primary="id" oils_persist:sequence="metabib.full_rec_id_seq">
3922 <field reporter:label="Field ID" name="id" reporter:datatype="id" />
3923 <field reporter:label="Indicator 1" name="ind1" oils_persist:primitive="string" reporter:datatype="text"/>
3924 <field reporter:label="Indicator 2" name="ind2" oils_persist:primitive="string" reporter:datatype="text"/>
3925 <field reporter:label="Bib Record Entry" name="record" reporter:datatype="link"/>
3926 <field reporter:label="Subfield" name="subfield" oils_persist:primitive="string" reporter:datatype="text"/>
3927 <field reporter:label="Tag" name="tag" reporter:datatype="text"/>
3928 <field reporter:label="Normalized Value" name="value" reporter:datatype="text"/>
3931 <link field="record" reltype="has_a" key="id" map="" class="bre"/>
3934 <class id="mmr" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="metabib::metarecord" oils_persist:tablename="metabib.metarecord" reporter:label="Metarecord">
3935 <fields oils_persist:primary="id" oils_persist:sequence="metabib.metarecord_id_seq">
3936 <field name="fingerprint" reporter:datatype="text"/>
3937 <field name="id" reporter:datatype="id" reporter:selector="fingerprint" />
3938 <field name="master_record" reporter:datatype="link"/>
3939 <field name="mods" reporter:datatype="text"/>
3940 <field name="source_records" oils_persist:virtual="true" reporter:datatype="link"/>
3941 <field name="source_maps" oils_persist:virtual="true" reporter:datatype="link"/>
3944 <link field="master_record" reltype="has_a" key="id" map="" class="bre"/>
3945 <link field="source_records" reltype="has_many" key="metarecord" map="source" class="mmrsm"/>
3946 <link field="source_maps" reltype="has_many" key="metarecord" class="mmrsm"/>
3948 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3954 <class id="cnal" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::net_access_level" oils_persist:tablename="config.net_access_level" reporter:label="Net Access Level">
3955 <fields oils_persist:primary="id" oils_persist:sequence="config.net_access_level_id_seq">
3956 <field name="id" reporter:selector="name" reporter:datatype="id"/>
3957 <field name="name" reporter:datatype="text" oils_persist:i18n="true"/>
3960 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3962 <create permission="CREATE_NET_ACCESS_LEVEL" global_required="true"/>
3964 <update permission="UPDATE_NET_ACCESS_LEVEL" global_required="true"/>
3965 <delete permission="DELETE_NET_ACCESS_LEVEL" global_required="true"/>
3969 <class id="ppl" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="permission::perm_list" oils_persist:tablename="permission.perm_list" reporter:label="Permission List">
3970 <fields oils_persist:primary="id" oils_persist:sequence="permission.perm_list_id_seq">
3971 <field name="code" reporter:datatype="text"/>
3972 <field name="description" reporter:datatype="text" oils_persist:i18n="true"/>
3973 <field name="id" reporter:selector="code" reporter:datatype="id"/>
3976 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3978 <create permission="CREATE_PERM" global_required="true"/>
3979 <retrieve permission="CREATE_PERM UPDATE_PERM DELETE_PERM" global_required="true"/>
3980 <update permission="UPDATE_PERM" global_required="true"/>
3981 <delete permission="DELETE_PERM" global_required="true"/>
3985 <class id="mmrsm" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="metabib::metarecord_source_map" oils_persist:tablename="metabib.metarecord_source_map" oils_persist:field_safe="true" reporter:label="Metarecord Source Map">
3986 <fields oils_persist:primary="id" oils_persist:sequence="metabib.metarecord_source_map_id_seq">
3987 <field name="id" reporter:datatype="id" />
3988 <field name="metarecord" reporter:datatype="link"/>
3989 <field name="source" reporter:datatype="link"/>
3992 <link field="source" reltype="has_a" key="id" map="" class="bre"/>
3993 <link field="metarecord" reltype="has_a" key="id" map="" class="mmr"/>
3995 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
4001 <class id="mde" controller="open-ils.cstore open-ils.pcrud"
4002 oils_obj:fieldmapper="metabib::display_entry"
4003 oils_persist:tablename="metabib.display_entry"
4004 oils_persist:field_safe="true"
4005 reporter:label="Display Field Entry" oils_persist:readonly="true">
4006 <fields oils_persist:primary="id" oils_persist:sequence="metabib.display_entry_id_seq">
4007 <field name="id" reporter:datatype="id" />
4008 <field name="field" reporter:datatype="link"/>
4009 <field name="source" reporter:datatype="link"/>
4010 <field name="value" reporter:datatype="text"/>
4011 <field name="highlight" oils_persist:virtual="true" reporter:datatype="text"/>
4014 <link field="source" reltype="has_a" key="id" map="" class="bre"/>
4015 <link field="field" reltype="has_a" key="id" map="" class="cmf"/>
4017 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
4023 <class id="mfde" controller="open-ils.cstore open-ils.pcrud"
4024 oils_persist:tablename="metabib.flat_display_entry"
4025 oils_obj:fieldmapper="metabib::flat_display_entry"
4026 oils_persist:field_safe="true"
4027 reporter:label="Flat Display Entry"
4028 oils_persist:readonly="true">
4030 <field name="source" reporter:datatype="id" />
4031 <field name="name" reporter:datatype="text"/>
4032 <field name="multi" reporter:datatype="bool"/>
4033 <field name="label" reporter:datatype="text"/>
4034 <field name="field" reporter:datatype="link"/>
4035 <field name="value" reporter:datatype="text"/>
4038 <link field="source" reltype="has_a" key="id" map="" class="bre"/>
4039 <link field="field" reltype="has_a" key="id" map="" class="cmf"/>
4040 <link field="name" reltype="has_a" key="name" map="" class="cdfm"/>
4042 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
4048 <class id="mcde" controller="open-ils.cstore open-ils.pcrud"
4049 oils_persist:tablename="metabib.compressed_display_entry"
4050 oils_obj:fieldmapper="metabib::compressed_display_entry"
4051 oils_persist:field_safe="true"
4052 reporter:label="Compressed Display Entry"
4053 oils_persist:readonly="true">
4055 <field name="source" reporter:datatype="id" />
4056 <field name="name" reporter:datatype="text"/>
4057 <field name="multi" reporter:datatype="bool"/>
4058 <field name="label" reporter:datatype="text"/>
4059 <field name="field" reporter:datatype="link"/>
4060 <field name="value" reporter:datatype="text"/>
4063 <link field="source" reltype="has_a" key="id" map="" class="bre"/>
4064 <link field="field" reltype="has_a" key="id" map="" class="cmf"/>
4065 <link field="name" reltype="has_a" key="name" map="" class="cdfm"/>
4067 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
4073 <class id="mwde" controller="open-ils.cstore open-ils.pcrud"
4074 oils_persist:tablename="metabib.wide_display_entry"
4075 oils_obj:fieldmapper="metabib::wide_display_entry"
4076 oils_persist:field_safe="true"
4077 reporter:label="Wide Display Entry"
4078 oils_persist:readonly="true">
4079 <fields oils_persist:primary="source">
4080 <field name="source" reporter:label="Record ID" reporter:datatype="id" />
4081 <field name="title" reporter:label="Title" reporter:datatype="text"/>
4082 <field name="author" reporter:label="Author" reporter:datatype="text"/>
4083 <field name="creators" reporter:label="Creators" reporter:datatype="text"/>
4084 <field name="isbn" reporter:label="ISBN" reporter:datatype="text"/>
4085 <field name="issn" reporter:label="ISSN" reporter:datatype="text"/>
4086 <field name="upc" reporter:label="UPC" reporter:datatype="text"/>
4087 <field name="tcn" reporter:label="TCN" reporter:datatype="text"/>
4088 <field name="edition" reporter:label="Edition" reporter:datatype="text"/>
4089 <field name="physical_description" reporter:label="Physical Description" reporter:datatype="text"/>
4090 <field name="publisher" reporter:label="Publisher" reporter:datatype="text"/>
4091 <field name="series_title" reporter:label="Series Title" reporter:datatype="text"/>
4092 <field name="subject_geographic" reporter:label="Geographic Subject" reporter:datatype="text"/>
4093 <field name="subject_name" reporter:label="Name Subject" reporter:datatype="text"/>
4094 <field name="subject_temporal" reporter:label="Temporal Subject" reporter:datatype="text"/>
4095 <field name="subject_topic" reporter:label="Topic Subject" reporter:datatype="text"/>
4096 <field name="abstract" reporter:label="Abstract" reporter:datatype="text"/>
4097 <field name="toc" reporter:label="Table of Contents" reporter:datatype="text"/>
4098 <field name="pubdate" reporter:label="Publication Date" reporter:datatype="text"/>
4099 <field name="type_of_resource" reporter:label="Type of Resource" reporter:datatype="text"/>
4102 <link field="source" reltype="has_a" key="id" map="" class="bre"/>
4104 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
4111 <class id="cdfm" controller="open-ils.cstore open-ils.pcrud"
4112 oils_persist:tablename="config.display_field_map"
4113 oils_obj:fieldmapper="config::display_field_map"
4114 oils_persist:field_safe="true"
4115 reporter:label="Display Field Map">
4116 <fields oils_persist:primary="name">
4117 <field name="name" reporter:datatype="text"/>
4118 <field name="field" reporter:datatype="link"/>
4119 <field name="multi" reporter:datatype="bool"/>
4122 <link field="field" reltype="has_a" key="id" map="" class="cmf"/>
4124 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
4127 <create permission="CREATE_METABIB_FIELD" global_required="true"/>
4128 <update permission="UPDATE_METABIB_FIELD" global_required="true"/>
4129 <delete permission="DELETE_METABIB_FIELD" global_required="true"/>
4134 <class id="mfae" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="metabib::facet_entry" oils_persist:tablename="metabib.facet_entry" reporter:label="Combined Facet Entry" oils_persist:readonly="true">
4135 <fields oils_persist:primary="id" oils_persist:sequence="metabib.facet_entry_id_seq">
4136 <field name="id" reporter:datatype="id" />
4137 <field name="field" reporter:datatype="link"/>
4138 <field name="source" reporter:datatype="link"/>
4139 <field name="value" reporter:datatype="text"/>
4142 <link field="source" reltype="has_a" key="id" map="" class="bre"/>
4143 <link field="field" reltype="has_a" key="id" map="" class="cmf"/>
4146 <class id="mbe" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="metabib::browse_entry" oils_persist:tablename="metabib.browse_entry" reporter:label="Combined Browse Entry" oils_persist:readonly="true">
4147 <fields oils_persist:primary="id" oils_persist:sequence="metabib.browse_entry_id_seq">
4148 <field name="id" reporter:datatype="id" />
4149 <field name="value" reporter:datatype="text"/>
4150 <field name="def_maps" oils_persist:virtual="true" reporter:datatype="link"/>
4153 <link field="def_maps" reltype="has_many" key="entry" map="" class="mbedm"/>
4155 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
4161 <class id="mbedm" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="metabib::browse_entry_def_map" oils_persist:tablename="metabib.browse_entry_def_map" reporter:label="Combined Browse Entry Definition Map" oils_persist:readonly="true">
4162 <fields oils_persist:primary="id" oils_persist:sequence="metabib.browse_entry_def_map_id_seq">
4163 <field name="id" reporter:datatype="id" />
4164 <field name="entry" reporter:datatype="link"/>
4165 <field name="def" reporter:datatype="link"/>
4166 <field name="source" reporter:datatype="link"/>
4169 <link field="entry" reltype="has_a" key="id" map="" class="mbe"/>
4170 <link field="def" reltype="has_a" key="id" map="" class="cmf"/>
4171 <link field="source" reltype="has_a" key="id" map="" class="bre"/>
4174 <class id="mbeshm" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="metabib::browse_entry_simple_heading_map" oils_persist:tablename="metabib.browse_entry_simple_heading_map" reporter:label="Combined Browse Entry Simple Authority Heading Map" oils_persist:readonly="true">
4175 <fields oils_persist:primary="id" oils_persist:sequence="metabib.browse_entry_simple_heading_map_id_seq">
4176 <field name="id" reporter:datatype="id" />
4177 <field name="entry" reporter:datatype="link"/>
4178 <field name="simple_heading" reporter:datatype="link"/>
4181 <link field="entry" reltype="has_a" key="id" map="" class="mbe"/>
4182 <link field="simple_heading" reltype="has_a" key="id" map="" class="ash"/>
4185 <class id="mfe" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="metabib::field_entry" reporter:label="Combined Field Entry View" oils_persist:readonly="true">
4186 <oils_persist:source_definition><![CDATA[
4187 SELECT * FROM metabib.author_field_entry
4189 SELECT * FROM metabib.keyword_field_entry
4191 SELECT * FROM metabib.identifier_field_entry
4193 SELECT * FROM metabib.title_field_entry
4195 SELECT * FROM metabib.subject_field_entry
4197 SELECT * FROM metabib.series_field_entry
4198 ]]></oils_persist:source_definition>
4200 <field name="field" reporter:datatype="link"/>
4201 <field name="id" reporter:datatype="id" />
4202 <field name="source" reporter:datatype="link"/>
4203 <field name="value" reporter:datatype="text"/>
4206 <link field="source" reltype="has_a" key="id" map="" class="bre"/>
4207 <link field="field" reltype="has_a" key="id" map="" class="cmf"/>
4210 <class id="mkfe" controller="open-ils.cstore" oils_obj:fieldmapper="metabib::keyword_field_entry" oils_persist:tablename="metabib.keyword_field_entry" reporter:label="Keyword Field Entry">
4211 <fields oils_persist:primary="id" oils_persist:sequence="metabib.keyword_field_entry_id_seq">
4212 <field name="field" reporter:datatype="link"/>
4213 <field name="id" reporter:datatype="id" />
4214 <field name="source" reporter:datatype="link"/>
4215 <field name="value" reporter:datatype="text"/>
4218 <link field="source" reltype="has_a" key="id" map="" class="bre"/>
4219 <link field="field" reltype="has_a" key="id" map="" class="cmf"/>
4222 <class id="mcp" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="money::cash_payment" oils_persist:tablename="money.cash_payment" reporter:label="Cash Payment">
4223 <fields oils_persist:primary="id" oils_persist:sequence="money.payment_id_seq">
4224 <field name="accepting_usr" reporter:datatype="link"/>
4225 <field name="amount" reporter:datatype="money" />
4226 <field name="amount_collected" reporter:datatype="money" />
4227 <field name="cash_drawer" reporter:datatype="link"/>
4228 <field name="id" reporter:datatype="id" />
4229 <field name="note" reporter:datatype="text"/>
4230 <field name="payment_ts" reporter:datatype="timestamp"/>
4231 <field name="xact" reporter:datatype="link"/>
4232 <field name="payment_type" oils_persist:virtual="true" reporter:datatype="text"/>
4233 <field name="payment" oils_persist:virtual="true" reporter:datatype="link"/>
4236 <link field="payment" reltype="might_have" key="id" map="" class="mp"/>
4237 <link field="accepting_usr" reltype="has_a" key="id" map="" class="au"/>
4238 <link field="cash_drawer" reltype="has_a" key="id" map="" class="aws"/>
4239 <link field="xact" reltype="has_a" key="id" map="" class="mbt"/>
4241 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
4243 <retrieve permission="VIEW_USER_TRANSACTIONS">
4244 <context link="xact" jump="usr" field="home_ou"/>
4249 <class id="mfp" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="money::forgive_payment" oils_persist:tablename="money.forgive_payment" reporter:label="Forgive Payment">
4250 <fields oils_persist:primary="id" oils_persist:sequence="money.payment_id_seq">
4251 <field name="accepting_usr" reporter:datatype="link"/>
4252 <field name="amount" reporter:datatype="money" />
4253 <field name="amount_collected" reporter:datatype="money" />
4254 <field name="id" reporter:datatype="id" />
4255 <field name="note" reporter:datatype="text"/>
4256 <field name="payment_ts" reporter:datatype="timestamp"/>
4257 <field name="xact" reporter:datatype="link"/>
4258 <field name="payment_type" oils_persist:virtual="true" reporter:datatype="text"/>
4259 <field name="payment" oils_persist:virtual="true" reporter:datatype="link"/>
4262 <link field="payment" reltype="might_have" key="id" map="" class="mp"/>
4263 <link field="accepting_usr" reltype="has_a" key="id" map="" class="au"/>
4264 <link field="xact" reltype="has_a" key="id" map="" class="mbt"/>
4266 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
4268 <retrieve permission="VIEW_USER_TRANSACTIONS">
4269 <context link="xact" jump="usr" field="home_ou"/>
4274 <class id="maa" controller="open-ils.cstore" oils_obj:fieldmapper="money::account_adjustment" oils_persist:tablename="money.account_adjustment" reporter:label="Account Adjustment">
4275 <fields oils_persist:primary="id" oils_persist:sequence="money.payment_id_seq">
4276 <field name="accepting_usr" reporter:datatype="link"/>
4277 <field name="amount" reporter:datatype="money" />
4278 <field name="amount_collected" reporter:datatype="money" />
4279 <field name="id" reporter:datatype="id" />
4280 <field name="note" reporter:datatype="text"/>
4281 <field name="payment_ts" reporter:datatype="timestamp"/>
4282 <field name="xact" reporter:datatype="link"/>
4283 <field name="billing" reporter:datatype="link"/>
4284 <field name="payment_type" oils_persist:virtual="true" reporter:datatype="text"/>
4285 <field name="payment" oils_persist:virtual="true" reporter:datatype="link"/>
4288 <link field="payment" reltype="might_have" key="id" map="" class="mp"/>
4289 <link field="accepting_usr" reltype="has_a" key="id" map="" class="au"/>
4290 <link field="xact" reltype="has_a" key="id" map="" class="mbt"/>
4291 <link field="billing" reltype="might_have" key="id" class="mb"/>
4294 <class id="mrd" controller="open-ils.cstore" oils_obj:fieldmapper="metabib::record_descriptor" oils_persist:tablename="metabib.rec_descriptor" reporter:label="Basic Record Descriptor">
4295 <fields oils_persist:primary="id" oils_persist:sequence="metabib.rec_descriptor_id_seq">
4296 <field reporter:label="Audn" name="audience" oils_persist:primitive="string" reporter:datatype="text"/>
4297 <field reporter:label="BLvl" name="bib_level" oils_persist:primitive="string" reporter:datatype="text"/>
4298 <field reporter:label="Cat Form" name="cat_form" oils_persist:primitive="string" reporter:datatype="text"/>
4299 <field reporter:label="Character Encoding" name="char_encoding" oils_persist:primitive="string" reporter:datatype="text"/>
4300 <field reporter:label="Ctrl" name="control_type" oils_persist:primitive="string" reporter:datatype="text"/>
4301 <field reporter:label="ELvl" name="enc_level" oils_persist:primitive="string" reporter:datatype="text"/>
4302 <field reporter:label="Descriptor ID" name="id" reporter:datatype="id" />
4303 <field reporter:label="Form" name="item_form" oils_persist:primitive="string" reporter:datatype="text"/>
4304 <field reporter:label="Lang" name="item_lang" oils_persist:primitive="string" reporter:datatype="text"/>
4305 <field reporter:label="Type" name="item_type" oils_persist:primitive="string" reporter:datatype="text"/>
4306 <field reporter:label="LitF" name="lit_form" oils_persist:primitive="string" reporter:datatype="text"/>
4307 <field reporter:label="Pub Status" name="pub_status" oils_persist:primitive="string" reporter:datatype="text"/>
4308 <field reporter:label="Bib Record Entry" name="record" reporter:datatype="link"/>
4309 <field reporter:label="TMat" name="type_mat" oils_persist:primitive="string" reporter:datatype="text"/>
4310 <field reporter:label="Video Recording Format" name="vr_format" oils_persist:primitive="string" reporter:datatype="text"/>
4311 <field reporter:label="Date1" name="date1" oils_persist:primitive="string" reporter:datatype="text"/>
4312 <field reporter:label="Date2" name="date2" oils_persist:primitive="string" reporter:datatype="text"/>
4315 <link field="record" reltype="has_a" key="id" map="" class="bre"/>
4316 <link field="item_lang" reltype="has_a" key="code" map="" class="clm"/>
4317 <link field="item_type" reltype="has_a" key="code" map="" class="citm"/>
4318 <link field="bib_level" reltype="has_a" key="code" map="" class="cblvl"/>
4319 <link field="item_form" reltype="has_a" key="code" map="" class="cifm"/>
4320 <link field="audience" reltype="has_a" key="code" map="" class="cam"/>
4321 <link field="lit_form" reltype="has_a" key="code" map="" class="clfm"/>
4325 <class id="csp" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::standing_penalty" oils_persist:tablename="config.standing_penalty" reporter:label="Standing Penalty">
4326 <fields oils_persist:primary="id" oils_persist:sequence="config.standing_penalty_id_seq">
4327 <field reporter:label="Penalty ID" name="id" reporter:selector="name" reporter:datatype="id"/>
4328 <field reporter:label="Name" name="name" reporter:datatype="text"/>
4329 <field reporter:label="Label" name="label" reporter:datatype="text" oils_persist:i18n="true"/>
4330 <field reporter:label="Block List" name="block_list" reporter:datatype="text"/>
4331 <field reporter:label="Staff Alert" name="staff_alert" reporter:datatype="bool"/>
4332 <field reporter:label="Org Depth" name="org_depth" reporter:datatype="int"/>
4333 <field reporter:label="Ignore Proximity" name="ignore_proximity" reporter:datatype="int"/>
4336 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
4338 <create permission="ADMIN_STANDING_PENALTY" global_required="true"/>
4339 <retrieve permission="ADMIN_STANDING_PENALTY VIEW_STANDING_PENALTY" global_required="true"/>
4340 <update permission="ADMIN_STANDING_PENALTY" global_required="true"/>
4341 <delete permission="ADMIN_STANDING_PENALTY" global_required="true"/>
4345 <class id="pgpt" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="permission::grp_penalty_threshold" oils_persist:tablename="permission.grp_penalty_threshold" reporter:label="Group Penalty Threshold">
4346 <fields oils_persist:primary="id" oils_persist:sequence="permission.grp_penalty_threshold_id_seq">
4347 <field name="id" reporter:selector="name" reporter:datatype="id" reporter:label="ID"/>
4348 <field name="grp" reporter:datatype="link" reporter:label="Group"/>
4349 <field name="penalty" reporter:datatype="link" reporter:label="Penalty"/>
4350 <field name="threshold" reporter:datatype="float" reporter:label="Threshold"/>
4351 <field name="org_unit" reporter:datatype="org_unit" reporter:label="Org Unit"/>
4354 <link field="penalty" reltype="has_a" key="id" map="" class="csp"/>
4355 <link field="grp" reltype="has_a" key="id" map="" class="pgt"/>
4356 <link field="org_unit" reltype="has_a" key="id" map="" class="aou"/>
4358 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
4360 <create permission="ADMIN_GROUP_PENALTY_THRESHOLD" context_field='org_unit'/>
4361 <retrieve permission="VIEW_GROUP_PENALTY_THRESHOLD ADMIN_GROUP_PENALTY_THRESHOLD" context_field='org_unit'/>
4362 <update permission="ADMIN_GROUP_PENALTY_THRESHOLD" context_field='org_unit'/>
4363 <delete permission="ADMIN_GROUP_PENALTY_THRESHOLD" context_field='org_unit'/>
4367 <class id="ccs" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::copy_status" oils_persist:tablename="config.copy_status" oils_persist:restrict_primary="100" reporter:label="Copy Status" oils_persist:field_safe="true">
4368 <fields oils_persist:primary="id" oils_persist:sequence="config.copy_status_id_seq">
4369 <field name="holdable" reporter:datatype="bool"/>
4370 <field name="id" reporter:selector="name" reporter:datatype="id"/>
4371 <field name="name" reporter:datatype="text" oils_persist:i18n="true"/>
4372 <field name="opac_visible" reporter:datatype="bool"/>
4373 <field name="copy_active" reporter:datatype="bool"/>
4374 <field name="restrict_copy_delete" reporter:datatype="bool"/>
4375 <field name="is_available" reporter:datatype="bool"/>
4378 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
4380 <create permission="CREATE_COPY_STATUS" global_required="true"/>
4382 <update permission="UPDATE_COPY_STATUS" global_required="true"/>
4383 <delete permission="DELETE_COPY_STATUS" global_required="true"/>
4387 <class id="ausp" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="actor::user_standing_penalty" oils_persist:tablename="actor.usr_standing_penalty" oils_persist:restrict_primary="100" reporter:label="User Standing Penalty">
4388 <fields oils_persist:primary="id" oils_persist:sequence="actor.usr_standing_penalty_id_seq">
4389 <field name="id" reporter:datatype="id" reporter:label="ID" />
4390 <field name="set_date" reporter:datatype="timestamp" reporter:label="Set Date"/>
4391 <field name="usr" reporter:datatype="link" reporter:label="User"/>
4392 <field name="staff" reporter:datatype="link" reporter:label="Staff"/>
4393 <field name="standing_penalty" reporter:datatype="link" reporter:label="Standing Penalty"/>
4394 <field name="org_unit" reporter:datatype="link" reporter:label="Org Unit"/>
4395 <field name="stop_date" reporter:datatype="timestamp" reporter:label="Stop Date"/>
4396 <field name="note" reporter:datatype="text" reporter:label="Note"/>
4399 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
4400 <link field="org_unit" reltype="has_a" key="id" map="" class="aou"/>
4401 <link field="staff" reltype="has_a" key="id" map="" class="au"/>
4402 <link field="standing_penalty" reltype="has_a" key="id" map="" class="csp"/>
4404 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
4406 <create permission="UPDATE_USER"><context link="usr" field="home_ou"/></create>
4407 <retrieve permission="VIEW_USER"><context link="usr" field="home_ou"/></retrieve>
4408 <update permission="UPDATE_USER"><context link="usr" field="home_ou"/></update>
4409 <delete permission="UPDATE_USER"><context link="usr" field="home_ou"/></delete>
4413 <class id="aua" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="actor::user_address" oils_persist:tablename="actor.usr_address" reporter:label="User Address">
4414 <fields oils_persist:primary="id" oils_persist:sequence="actor.usr_address_id_seq">
4415 <field reporter:label="Type" name="address_type" reporter:datatype="text"/>
4416 <field reporter:label="City" name="city" reporter:datatype="text"/>
4417 <field reporter:label="Country" name="country" reporter:datatype="text"/>
4418 <field reporter:label="County" name="county" reporter:datatype="text"/>
4419 <field reporter:label="Address ID" name="id" reporter:datatype="id" />
4420 <field reporter:label="Postal Code" name="post_code" reporter:datatype="text"/>
4421 <field reporter:label="State" name="state" reporter:datatype="text"/>
4422 <field reporter:label="Street (1)" name="street1" reporter:datatype="text"/>
4423 <field reporter:label="Street (2)" name="street2" reporter:datatype="text"/>
4424 <field reporter:label="User" name="usr" reporter:datatype="link"/>
4425 <field reporter:label="Valid Address?" name="valid" reporter:datatype="bool"/>
4426 <field reporter:label="Within City Limits?" name="within_city_limits" reporter:datatype="bool"/>
4427 <field reporter:label="Replaces" name="replaces" reporter:datatype="link"/>
4428 <field reporter:label="Pending" name="pending" reporter:datatype="bool"/>
4431 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
4432 <link field="replaces" reltype="has_a" key="id" map="" class="aua"/>
4434 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
4436 <create permission="UPDATE_USER"><context link="usr" field="home_ou"/></create>
4437 <retrieve permission="VIEW_USER"><context link="usr" field="home_ou"/></retrieve>
4438 <update permission="UPDATE_USER"><context link="usr" field="home_ou"/></update>
4439 <delete permission="UPDATE_USER"><context link="usr" field="home_ou"/></delete>
4443 <class id="aal" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="actor::address_alert" oils_persist:tablename="actor.address_alert" reporter:label="Address Alert">
4444 <fields oils_persist:primary="id" oils_persist:sequence="actor.address_alert_id_seq">
4445 <field reporter:label="Address Alert ID" name="id" reporter:datatype="id" />
4446 <field reporter:label="Owner" name="owner" reporter:datatype="org_unit" oils_obj:required="true"/>
4447 <field reporter:label="Active" name="active" reporter:datatype="bool"/>
4448 <field reporter:label="Match All Fields" name="match_all" reporter:datatype="bool" />
4449 <field reporter:label="Alert Message" name="alert_message" reporter:datatype="text" oils_obj:required="true"/>
4450 <field reporter:label="Street (1)" name="street1" reporter:datatype="text"/>
4451 <field reporter:label="Street (2)" name="street2" reporter:datatype="text"/>
4452 <field reporter:label="City" name="city" reporter:datatype="text"/>
4453 <field reporter:label="County" name="county" reporter:datatype="text"/>
4454 <field reporter:label="State" name="state" reporter:datatype="text"/>
4455 <field reporter:label="Country" name="country" reporter:datatype="text"/>
4456 <field reporter:label="Postal Code" name="post_code" reporter:datatype="text"/>
4457 <field reporter:label="Mailing Address" name="mailing_address" reporter:datatype="bool"/>
4458 <field reporter:label="Billing Address" name="billing_address" reporter:datatype="bool"/>
4461 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
4463 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
4465 <create context_field='owner' permission="ADMIN_ADDRESS_ALERT"/>
4466 <retrieve context_field='owner' permission="ADMIN_ADDRESS_ALERT VIEW_ADDRESS_ALERT CREATE_USER"/>
4467 <update context_field='owner' permission="ADMIN_ADDRESS_ALERT"/>
4468 <delete context_field='owner' permission="ADMIN_ADDRESS_ALERT"/>
4474 <class id="auss" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="actor::usr_saved_search" oils_persist:tablename="actor.usr_saved_search" reporter:label="User Saved Search">
4475 <fields oils_persist:primary="id" oils_persist:sequence="actor.usr_saved_search_id_seq">
4476 <field reporter:label="ID" name="id" reporter:datatype="id"/>
4477 <field reporter:label="Owner" name="owner" reporter:datatype="link"/>
4478 <field reporter:label="Name" name="name" reporter:datatype="text"/>
4479 <field reporter:label="Create Date" name="create_date" reporter:datatype="timestamp"/>
4480 <field reporter:label="Query Text" name="query_text" reporter:datatype="text"/>
4481 <field reporter:label="Query Type" name="query_type" reporter:datatype="text"/>
4482 <field reporter:label="Target" name="target" reporter:datatype="text"/>
4485 <link field="owner" reltype="has_a" key="id" map="" class="au"/>
4489 <class id="acnn" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="asset::call_number_note" oils_persist:tablename="asset.call_number_note" reporter:label="Call Number Note">
4490 <fields oils_persist:primary="id" oils_persist:sequence="asset.call_number_note_id_seq">
4491 <field name="call_number" />
4492 <field name="create_date" reporter:datatype="timestamp"/>
4493 <field name="creator" reporter:datatype="link"/>
4494 <field name="id" reporter:datatype="id" />
4495 <field name="pub" reporter:datatype="bool"/>
4496 <field name="title" reporter:datatype="text"/>
4497 <field name="value" reporter:datatype="text"/>
4500 <link field="call_number" reltype="has_a" key="id" map="" class="acn"/>
4502 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
4504 <create permission="CREATE_VOLUME_NOTE">
4505 <context link="call_number" field="owning_lib"/>
4507 <retrieve permission="VIEW_VOLUME_NOTES">
4508 <context link="call_number" field="owning_lib"/>
4510 <update permission="UPDATE_VOLUME_NOTE">
4511 <context link="call_number" field="owning_lib"/>
4513 <delete permission="DELETE_VOLUME_NOTE">
4514 <context link="call_number" field="owning_lib"/>
4519 <class id="arn" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="authority::record_note" oils_persist:tablename="authority.record_note" reporter:label="Authority Record Note">
4520 <fields oils_persist:primary="id" oils_persist:sequence="authority.record_note_id_seq">
4521 <field name="create_date" reporter:datatype="timestamp"/>
4522 <field name="creator" reporter:datatype="link"/>
4523 <field name="edit_date" reporter:datatype="timestamp"/>
4524 <field name="editor" reporter:datatype="link"/>
4525 <field name="id" reporter:datatype="id" />
4526 <field name="record" reporter:datatype="link"/>
4527 <field name="value" reporter:datatype="text"/>
4530 <link field="record" reltype="has_a" key="id" map="" class="are"/>
4532 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
4534 <create permission="CREATE_AUTHORITY_RECORD_NOTE" global_required='true'/>
4536 <update permission="UPDATE_AUTHORITY_RECORD_NOTE" global_required='true'/>
4537 <delete permission="DELETE_AUTHORITY_RECORD_NOTE" global_required='true'/>
4541 <class id="ocirccount" controller="open-ils.cstore" oils_obj:fieldmapper="action::open_circ_count" reporter:label="Open Circulation Count" oils_persist:readonly="true">
4542 <oils_persist:source_definition><![CDATA[
4547 ((fine_interval >= '1 day' AND due_date >= 'today') OR (fine_interval < '1 day' AND due_date > 'now'))
4548 AND (stop_fines IS NULL OR stop_fines NOT IN ('LOST','CLAIMSRETURNED','LONGOVERDUE'))
4557 ((fine_interval >= '1 day' AND due_date < 'today') OR (fine_interval < '1 day' AND due_date < 'now'))
4558 AND (stop_fines IS NULL OR stop_fines NOT IN ('LOST','CLAIMSRETURNED','LONGOVERDUE'))
4564 SUM( CASE WHEN (xact_finish IS NULL AND stop_fines = 'LOST') THEN 1 ELSE 0 END) AS lost,
4565 SUM( CASE WHEN stop_fines = 'CLAIMSRETURNED' THEN 1 ELSE 0 END) AS claims_returned,
4566 SUM( CASE WHEN (xact_finish IS NULL AND stop_fines = 'LONGOVERDUE') THEN 1 ELSE 0 END) AS long_overdue
4567 FROM action.circulation
4568 WHERE checkin_time IS NULL
4570 ]]></oils_persist:source_definition>
4571 <fields oils_persist:primary="usr">
4572 <field reporter:label="User ID" name="usr" reporter:datatype="link"/>
4573 <field reporter:label="Out" name="out" reporter:datatype="text"/>
4574 <field reporter:label="Overdue" name="overdue" reporter:datatype="text"/>
4575 <field reporter:label="Lost" name="lost" reporter:datatype="text"/>
4576 <field reporter:label="Claims Returned" name="claims_returned" reporter:datatype="text"/>
4577 <field reporter:label="Long Overdue" name="long_overdue" reporter:datatype="text"/>
4580 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
4583 <class id="ocirclist" controller="open-ils.cstore" oils_obj:fieldmapper="action::open_circ_list" reporter:label="Open Circulation List" oils_persist:readonly="true">
4584 <oils_persist:source_definition><![CDATA[
4589 ((fine_interval >= '1 day' AND due_date >= 'today') OR (fine_interval < '1 day' AND due_date > 'now'))
4590 AND (stop_fines IS NULL OR stop_fines NOT IN ('LOST','CLAIMSRETURNED','LONGOVERDUE'))
4599 ((fine_interval >= '1 day' AND due_date < 'today') OR (fine_interval < '1 day' AND due_date < 'now'))
4600 AND (stop_fines IS NULL OR stop_fines NOT IN ('LOST','CLAIMSRETURNED','LONGOVERDUE'))
4606 STRING_AGG( CASE WHEN (xact_finish IS NULL AND stop_fines = 'LOST') THEN id::TEXT ELSE '0' END,',') AS lost,
4607 STRING_AGG( CASE WHEN stop_fines = 'CLAIMSRETURNED' THEN id::TEXT ELSE '0' END,',') AS claims_returned,
4608 STRING_AGG( CASE WHEN (xact_finish IS NULL AND stop_fines = 'LONGOVERDUE') THEN id::TEXT ELSE '0' END,',') AS long_overdue
4609 FROM action.circulation
4610 WHERE checkin_time IS NULL
4612 ]]></oils_persist:source_definition>
4613 <fields oils_persist:primary="usr">
4614 <field reporter:label="User ID" name="usr" reporter:datatype="link"/>
4615 <field reporter:label="Out" name="out" reporter:datatype="text"/>
4616 <field reporter:label="Overdue" name="overdue" reporter:datatype="text"/>
4617 <field reporter:label="Lost" name="lost" reporter:datatype="text"/>
4618 <field reporter:label="Claims Returned" name="claims_returned" reporter:datatype="text"/>
4619 <field reporter:label="Long Overdue" name="long_overdue" reporter:datatype="text"/>
4622 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
4625 <class id="circ" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="action::circulation" oils_persist:tablename="action.circulation" reporter:core="true" reporter:label="Circulation">
4626 <fields oils_persist:primary="id" oils_persist:sequence="money.billable_xact_id_seq">
4627 <field reporter:label="Check In Library" name="checkin_lib" reporter:datatype="org_unit"/>
4628 <field reporter:label="Check In Staff" name="checkin_staff" reporter:datatype="link"/>
4629 <field reporter:label="Check In Date/Time" name="checkin_time" reporter:datatype="timestamp"/>
4630 <field reporter:label="Checkout / Renewal Library" name="circ_lib" reporter:datatype="org_unit"/>
4631 <field reporter:label="Circulating Staff" name="circ_staff" reporter:datatype="link"/>
4632 <field reporter:label="Desk Renewal" name="desk_renewal" reporter:datatype="bool"/>
4633 <field reporter:label="Due Date/Time" name="due_date" reporter:datatype="timestamp"/>
4634 <field reporter:label="Circulation Duration" name="duration" reporter:datatype="interval"/>
4635 <field reporter:label="Circ Duration Rule" name="duration_rule" reporter:datatype="link"/>
4636 <field reporter:label="Fine Interval" name="fine_interval" reporter:datatype="interval"/>
4637 <field reporter:label="Circ ID" name="id" reporter:datatype="id" />
4638 <field reporter:label="Max Fine Amount" name="max_fine" reporter:datatype="money" />
4639 <field reporter:label="Max Fine Rule" name="max_fine_rule" reporter:datatype="link"/>
4640 <field reporter:label="OPAC Renewal" name="opac_renewal" reporter:datatype="bool"/>
4641 <field reporter:label="Phone Renewal" name="phone_renewal" reporter:datatype="bool"/>
4642 <field reporter:label="Recurring Fine Amount" name="recurring_fine" reporter:datatype="money" />
4643 <field reporter:label="Recurring Fine Rule" name="recurring_fine_rule" reporter:datatype="link"/>
4644 <field reporter:label="Remaining Renewals" name="renewal_remaining" reporter:datatype="int" />
4645 <field reporter:label="Grace Period" name="grace_period" reporter:datatype="interval" />
4646 <field reporter:label="Fine Stop Reason" name="stop_fines" reporter:datatype="text"/>
4647 <field reporter:label="Fine Stop Date/Time" name="stop_fines_time" reporter:datatype="timestamp"/>
4648 <field reporter:label="Circulating Item" name="target_copy" reporter:datatype="link"/>
4649 <field reporter:label="Patron" name="usr" reporter:datatype="link"/>
4650 <field reporter:label="Transaction Finish Date/Time" name="xact_finish" reporter:datatype="timestamp" />
4651 <field reporter:label="Checkout Date/Time" name="xact_start" reporter:datatype="timestamp" />
4652 <field reporter:label="Record Creation Date/Time" name="create_time" reporter:datatype="timestamp" />
4653 <field reporter:label="Workstation" name="workstation" reporter:datatype="link"/>
4654 <field reporter:label="Checkin Workstation" name="checkin_workstation" reporter:datatype="link"/>
4655 <field reporter:label="Checkin Scan Date/Time" name="checkin_scan_time" reporter:datatype="timestamp" />
4656 <field reporter:label="Parent Circulation" name="parent_circ" reporter:datatype="link"/>
4657 <field reporter:label="Transaction Billings" name="billings" oils_persist:virtual="true" reporter:datatype="link"/>
4658 <field reporter:label="Transaction Payments" name="payments" oils_persist:virtual="true" reporter:datatype="link"/>
4659 <field reporter:label="Base Transaction" name="billable_transaction" oils_persist:virtual="true" reporter:datatype="link"/>
4660 <field reporter:label="Circulation Type" name="circ_type" oils_persist:virtual="true" reporter:datatype="text"/>
4661 <field reporter:label="Billing Totals" name="billing_total" oils_persist:virtual="true" reporter:datatype="money"/>
4662 <field reporter:label="Payment Totals" name="payment_total" oils_persist:virtual="true" reporter:datatype="money"/>
4663 <field reporter:label="Unrecovered Debt" name="unrecovered" reporter:datatype="bool"/>
4664 <field reporter:label="Shelving Location" name="copy_location" reporter:datatype="link"/>
4665 <field reporter:label="Archived Patron Stat-Cat Entries" name="aaactsc_entries" oils_persist:virtual="true" reporter:datatype="link"/>
4666 <field reporter:label="Archived Copy Stat-Cat Entries" name="aaasc_entries" oils_persist:virtual="true" reporter:datatype="link"/>
4667 <field reporter:label="Auto Renewal" name="auto_renewal" reporter:datatype="bool"/>
4668 <field reporter:label="Remaining Auto Renewals" name="auto_renewal_remaining" reporter:datatype="int" />
4671 <link field="billable_transaction" reltype="might_have" key="id" map="" class="mbt"/>
4672 <link field="circ_staff" reltype="has_a" key="id" map="" class="au"/>
4673 <link field="checkin_lib" reltype="has_a" key="id" map="" class="aou"/>
4674 <link field="target_copy" reltype="has_a" key="id" map="" class="acp"/>
4675 <link field="checkin_staff" reltype="has_a" key="id" map="" class="au"/>
4676 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
4677 <link field="circ_lib" reltype="has_a" key="id" map="" class="aou"/>
4678 <link field="payments" reltype="has_many" key="xact" map="" class="mp"/>
4679 <link field="billings" reltype="has_many" key="xact" map="" class="mb"/>
4680 <link field="duration_rule" reltype="has_a" key="name" map="" class="crcd"/>
4681 <link field="max_fine_rule" reltype="has_a" key="name" map="" class="crmf"/>
4682 <link field="recurring_fine_rule" reltype="has_a" key="name" map="" class="crrf"/>
4683 <link field="circ_type" reltype="might_have" key="id" map="" class="rcirct"/>
4684 <link field="billing_total" reltype="might_have" key="xact" map="" class="rxbt"/>
4685 <link field="payment_total" reltype="might_have" key="xact" map="" class="rxpt"/>
4686 <link field="workstation" reltype="has_a" key="id" map="" class="aws"/>
4687 <link field="checkin_workstation" reltype="has_a" key="id" map="" class="aws"/>
4688 <link field="parent_circ" reltype="has_a" key="id" map="" class="circ"/>
4689 <link field="renewals" reltype="has_many" key="parent_circ" map="" class="circ"/>
4690 <link field="copy_location" reltype="has_a" key="id" map="" class="acpl"/>
4691 <link field="aaactsc_entries" reltype="has_many" key="xact" map="" class="aaactsc"/>
4692 <link field="aaasc_entries" reltype="has_many" key="xact" map="" class="aaasc"/>
4694 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
4696 <retrieve permission="VIEW_CIRCULATIONS" context_field="circ_lib" />
4700 <class id="aacct" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="action::all_circulation_combined_types" oils_persist:tablename="action.all_circulation_combined_types" reporter:core="true" reporter:label="All Circulation Combined Types" oils_persist:readonly="true">
4702 <field reporter:label="Circulating Library" name="circ_lib" reporter:datatype="org_unit"/>
4703 <field reporter:label="Circulating Staff" name="circ_staff" reporter:datatype="link"/>
4704 <field reporter:label="Circ ID" name="id" reporter:datatype="int" />
4705 <field reporter:label="Checkout Date/Time" name="xact_start" reporter:datatype="timestamp" />
4706 <field reporter:label="Create Date/Time" name="create_time" reporter:datatype="timestamp" />
4707 <field reporter:label="Circulation Type" name="circ_type" reporter:datatype="text"/>
4708 <field reporter:label="Item Type" name="item_type" reporter:datatype="text"/>
4711 <link field="circ_staff" reltype="has_a" key="id" map="" class="au"/>
4712 <link field="circ_lib" reltype="has_a" key="id" map="" class="aou"/>
4714 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
4716 <retrieve permission="VIEW_CIRCULATIONS" context_field="circ_lib" />
4720 <class id="aacs" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="action::all_circulation_slim" oils_persist:tablename="action.all_circulation_slim" reporter:core="true" reporter:label="Combined Aged and Active circulations" oils_persist:readonly="true">
4721 <fields oils_persist:primary="id" oils_persist:sequence="money.billable_xact_id_seq">
4722 <field reporter:label="Check In Library" name="checkin_lib" reporter:datatype="org_unit"/>
4723 <field reporter:label="Check In Staff" name="checkin_staff" reporter:datatype="link"/>
4724 <field reporter:label="Check In Date/Time" name="checkin_time" reporter:datatype="timestamp"/>
4725 <field reporter:label="Circulating Library" name="circ_lib" reporter:datatype="org_unit"/>
4726 <field reporter:label="Circulating Staff" name="circ_staff" reporter:datatype="link"/>
4727 <field reporter:label="Desk Renewal" name="desk_renewal" reporter:datatype="bool"/>
4728 <field reporter:label="Due Date/Time" name="due_date" reporter:datatype="timestamp"/>
4729 <field reporter:label="Circulation Duration" name="duration" reporter:datatype="interval"/>
4730 <field reporter:label="Circ Duration Rule" name="duration_rule" reporter:datatype="link"/>
4731 <field reporter:label="Fine Interval" name="fine_interval" reporter:datatype="interval"/>
4732 <field reporter:label="Circ ID" name="id" reporter:datatype="id" />
4733 <field reporter:label="Max Fine Amount" name="max_fine" reporter:datatype="money" />
4734 <field reporter:label="Max Fine Rule" name="max_fine_rule" reporter:datatype="link"/>
4735 <field reporter:label="OPAC Renewal" name="opac_renewal" reporter:datatype="bool"/>
4736 <field reporter:label="Phone Renewal" name="phone_renewal" reporter:datatype="bool"/>
4737 <field reporter:label="Recurring Fine Amount" name="recurring_fine" reporter:datatype="money" />
4738 <field reporter:label="Recurring Fine Rule" name="recurring_fine_rule" reporter:datatype="link"/>
4739 <field reporter:label="Remaining Renewals" name="renewal_remaining" reporter:datatype="int" />
4740 <field reporter:label="Grace Period" name="grace_period" reporter:datatype="interval" />
4741 <field reporter:label="Fine Stop Reason" name="stop_fines" reporter:datatype="text"/>
4742 <field reporter:label="Fine Stop Date/Time" name="stop_fines_time" reporter:datatype="timestamp"/>
4743 <field reporter:label="Circulating Item" name="target_copy" reporter:datatype="link"/>
4744 <field reporter:label="Transaction Finish Date/Time" name="xact_finish" reporter:datatype="timestamp" />
4745 <field reporter:label="Checkout Date/Time" name="xact_start" reporter:datatype="timestamp" />
4746 <field reporter:label="Record Creation Date/Time" name="create_time" reporter:datatype="timestamp" />
4747 <field reporter:label="Parent Circulation" name="parent_circ" reporter:datatype="link"/>
4748 <field reporter:label="Checkin Scan Time" name="checkin_scan_time" reporter:datatype="timestamp"/>
4749 <field reporter:label="Checkin Workstation" name="checkin_workstation" reporter:datatype="link"/>
4750 <field reporter:label="Patron" name="usr" reporter:datatype="link"/>
4751 <field reporter:label="Transaction Billings" name="billings" oils_persist:virtual="true" reporter:datatype="link"/>
4752 <field reporter:label="Transaction Payments" name="payments" oils_persist:virtual="true" reporter:datatype="link"/>
4753 <field reporter:label="Base Transaction" name="billable_transaction" oils_persist:virtual="true" reporter:datatype="link"/>
4754 <field reporter:label="Workstation" name="workstation" reporter:datatype="link"/>
4755 <field reporter:label="Circulation Type" name="circ_type" oils_persist:virtual="true" reporter:datatype="text"/>
4756 <field reporter:label="Billing Totals" name="billing_total" oils_persist:virtual="true" reporter:datatype="money"/>
4757 <field reporter:label="Payment Totals" name="payment_total" oils_persist:virtual="true" reporter:datatype="money"/>
4758 <field reporter:label="Archived Patron Stat-Cat Entries" name="aaactsc_entries" oils_persist:virtual="true" reporter:datatype="link"/>
4759 <field reporter:label="Archived Copy Stat-Cat Entries" name="aaasc_entries" oils_persist:virtual="true" reporter:datatype="link"/>
4760 <field reporter:label="Linked Active Circulation" name="active_circ" oils_persist:virtual="true" reporter:datatype="link"/>
4761 <field reporter:label="Linked Aged Circulation" name="aged_circ" oils_persist:virtual="true" reporter:datatype="link"/>
4764 <link field="billable_transaction" reltype="might_have" key="id" map="" class="mbt"/>
4765 <link field="circ_staff" reltype="has_a" key="id" map="" class="au"/>
4766 <link field="checkin_lib" reltype="has_a" key="id" map="" class="aou"/>
4767 <link field="target_copy" reltype="has_a" key="id" map="" class="acp"/>
4768 <link field="checkin_staff" reltype="has_a" key="id" map="" class="au"/>
4769 <link field="circ_lib" reltype="has_a" key="id" map="" class="aou"/>
4770 <link field="payments" reltype="has_many" key="xact" map="" class="mp"/>
4771 <link field="billings" reltype="has_many" key="xact" map="" class="mb"/>
4772 <link field="duration_rule" reltype="has_a" key="name" map="" class="crcd"/>
4773 <link field="max_fine_rule" reltype="has_a" key="name" map="" class="crmf"/>
4774 <link field="recurring_fine_rule" reltype="has_a" key="name" map="" class="crrf"/>
4775 <link field="circ_type" reltype="might_have" key="id" map="" class="rcirct"/>
4776 <link field="billing_total" reltype="might_have" key="xact" map="" class="rxbt"/>
4777 <link field="payment_total" reltype="might_have" key="xact" map="" class="rxpt"/>
4778 <link field="workstation" reltype="has_a" key="id" map="" class="aws"/>
4779 <link field="checkin_workstation" reltype="has_a" key="id" map="" class="aws"/>
4780 <link field="aaactsc_entries" reltype="has_many" key="xact" map="" class="aaactsc"/>
4781 <link field="aaasc_entries" reltype="has_many" key="xact" map="" class="aaasc"/>
4782 <link field="active_circ" reltype="might_have" key="id" map="" class="circ"/>
4783 <link field="aged_circ" reltype="might_have" key="id" map="" class="acirc"/>
4784 <link field="parent_circ" reltype="might_have" key="id" map="" class="acirc"/>
4785 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
4787 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
4789 <retrieve permission="VIEW_CIRCULATIONS" context_field="circ_lib" />
4794 <class id="combcirc" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="action::all_circulation" oils_persist:tablename="action.all_circulation" reporter:core="true" reporter:label="Combined Aged and Active Circulations" oils_persist:readonly="true">
4795 <fields oils_persist:primary="id" oils_persist:sequence="money.billable_xact_id_seq">
4796 <field reporter:label="Check In Library" name="checkin_lib" reporter:datatype="org_unit"/>
4797 <field reporter:label="Check In Staff" name="checkin_staff" reporter:datatype="link"/>
4798 <field reporter:label="Check In Date/Time" name="checkin_time" reporter:datatype="timestamp"/>
4799 <field reporter:label="Circulating Library" name="circ_lib" reporter:datatype="org_unit"/>
4800 <field reporter:label="Circulating Staff" name="circ_staff" reporter:datatype="link"/>
4801 <field reporter:label="Desk Renewal" name="desk_renewal" reporter:datatype="bool"/>
4802 <field reporter:label="Due Date/Time" name="due_date" reporter:datatype="timestamp"/>
4803 <field reporter:label="Circulation Duration" name="duration" reporter:datatype="interval"/>
4804 <field reporter:label="Circ Duration Rule" name="duration_rule" reporter:datatype="link"/>
4805 <field reporter:label="Fine Interval" name="fine_interval" reporter:datatype="interval"/>
4806 <field reporter:label="Circ ID" name="id" reporter:datatype="id" />
4807 <field reporter:label="Max Fine Amount" name="max_fine" reporter:datatype="money" />
4808 <field reporter:label="Max Fine Rule" name="max_fine_rule" reporter:datatype="link"/>
4809 <field reporter:label="OPAC Renewal" name="opac_renewal" reporter:datatype="bool"/>
4810 <field reporter:label="Phone Renewal" name="phone_renewal" reporter:datatype="bool"/>
4811 <field reporter:label="Recurring Fine Amount" name="recurring_fine" reporter:datatype="money" />
4812 <field reporter:label="Recurring Fine Rule" name="recurring_fine_rule" reporter:datatype="link"/>
4813 <field reporter:label="Remaining Renewals" name="renewal_remaining" reporter:datatype="int" />
4814 <field reporter:label="Grace Period" name="grace_period" reporter:datatype="interval" />
4815 <field reporter:label="Fine Stop Reason" name="stop_fines" reporter:datatype="text"/>
4816 <field reporter:label="Fine Stop Date/Time" name="stop_fines_time" reporter:datatype="timestamp"/>
4817 <field reporter:label="Circulating Item" name="target_copy" reporter:datatype="link"/>
4818 <field reporter:label="Patron ZIP" name="usr_post_code" reporter:datatype="text"/>
4819 <field reporter:label="Transaction Finish Date/Time" name="xact_finish" reporter:datatype="timestamp" />
4820 <field reporter:label="Checkout Date/Time" name="xact_start" reporter:datatype="timestamp" />
4821 <field reporter:label="Record Creation Date/Time" name="create_time" reporter:datatype="timestamp" />
4822 <field reporter:label="Parent Circulation" name="parent_circ" reporter:datatype="link"/>
4823 <field reporter:label="Checkin Scan Time" name="checkin_scan_time" reporter:datatype="timestamp"/>
4824 <field reporter:label="Checkin Workstation" name="checkin_workstation" reporter:datatype="link"/>
4825 <field reporter:label="Patron" name="usr" reporter:datatype="link"/>
4826 <field reporter:label="Transaction Billings" name="billings" oils_persist:virtual="true" reporter:datatype="link"/>
4827 <field reporter:label="Transaction Payments" name="payments" oils_persist:virtual="true" reporter:datatype="link"/>
4828 <field reporter:label="Base Transaction" name="billable_transaction" oils_persist:virtual="true" reporter:datatype="link"/>
4829 <field reporter:label="Workstation" name="workstation" reporter:datatype="link"/>
4830 <field reporter:label="Circulation Type" name="circ_type" oils_persist:virtual="true" reporter:datatype="text"/>
4831 <field reporter:label="Billing Totals" name="billing_total" oils_persist:virtual="true" reporter:datatype="money"/>
4832 <field reporter:label="Payment Totals" name="payment_total" oils_persist:virtual="true" reporter:datatype="money"/>
4833 <field reporter:label="Patron Home Library" name="usr_home_ou" reporter:datatype="link"/>
4834 <field reporter:label="Patron Profile Group" name="usr_profile" reporter:datatype="link"/>
4835 <field reporter:label="Patron Birth Year" name="usr_birth_year" reporter:datatype="int"/>
4836 <field reporter:label="Call Number" name="copy_call_number" reporter:datatype="link"/>
4837 <field reporter:label="Shelving Location" name="copy_location" reporter:datatype="link"/>
4838 <field reporter:label="Copy Owning Library" name="copy_owning_lib" reporter:datatype="link"/>
4839 <field reporter:label="Copy Circulating Library" name="copy_circ_lib" reporter:datatype="link"/>
4840 <field reporter:label="Bib Record" name="copy_bib_record" reporter:datatype="link"/>
4841 <field reporter:label="Archived Patron Stat-Cat Entries" name="aaactsc_entries" oils_persist:virtual="true" reporter:datatype="link"/>
4842 <field reporter:label="Archived Copy Stat-Cat Entries" name="aaasc_entries" oils_persist:virtual="true" reporter:datatype="link"/>
4843 <field reporter:label="Linked Active Circulation" name="active_circ" oils_persist:virtual="true" reporter:datatype="link"/>
4844 <field reporter:label="Linked Aged Circulation" name="aged_circ" oils_persist:virtual="true" reporter:datatype="link"/>
4847 <link field="billable_transaction" reltype="might_have" key="id" map="" class="mbt"/>
4848 <link field="circ_staff" reltype="has_a" key="id" map="" class="au"/>
4849 <link field="checkin_lib" reltype="has_a" key="id" map="" class="aou"/>
4850 <link field="target_copy" reltype="has_a" key="id" map="" class="acp"/>
4851 <link field="checkin_staff" reltype="has_a" key="id" map="" class="au"/>
4852 <link field="circ_lib" reltype="has_a" key="id" map="" class="aou"/>
4853 <link field="payments" reltype="has_many" key="xact" map="" class="mp"/>
4854 <link field="billings" reltype="has_many" key="xact" map="" class="mb"/>
4855 <link field="duration_rule" reltype="has_a" key="name" map="" class="crcd"/>
4856 <link field="max_fine_rule" reltype="has_a" key="name" map="" class="crmf"/>
4857 <link field="recurring_fine_rule" reltype="has_a" key="name" map="" class="crrf"/>
4858 <link field="circ_type" reltype="might_have" key="id" map="" class="rcirct"/>
4859 <link field="billing_total" reltype="might_have" key="xact" map="" class="rxbt"/>
4860 <link field="payment_total" reltype="might_have" key="xact" map="" class="rxpt"/>
4861 <link field="copy_call_number" reltype="has_a" key="id" map="" class="acn"/>
4862 <link field="copy_location" reltype="has_a" key="id" map="" class="acpl"/>
4863 <link field="copy_owning_lib" reltype="has_a" key="id" map="" class="aou"/>
4864 <link field="copy_circ_lib" reltype="has_a" key="id" map="" class="aou"/>
4865 <link field="workstation" reltype="has_a" key="id" map="" class="aws"/>
4866 <link field="checkin_workstation" reltype="has_a" key="id" map="" class="aws"/>
4867 <link field="copy_bib_record" reltype="has_a" key="id" map="" class="bre"/>
4868 <link field="aaactsc_entries" reltype="has_many" key="xact" map="" class="aaactsc"/>
4869 <link field="aaasc_entries" reltype="has_many" key="xact" map="" class="aaasc"/>
4870 <link field="usr_home_ou" reltype="has_a" key="id" map="" class="aou"/>
4871 <link field="usr_profile" reltype="has_a" key="id" map="" class="pgt"/>
4872 <link field="active_circ" reltype="might_have" key="id" map="" class="circ"/>
4873 <link field="aged_circ" reltype="might_have" key="id" map="" class="acirc"/>
4874 <link field="parent_circ" reltype="might_have" key="id" map="" class="acirc"/>
4875 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
4877 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
4879 <retrieve permission="VIEW_CIRCULATIONS" context_field="circ_lib" />
4883 <class id="acirc" controller="open-ils.cstore" oils_obj:fieldmapper="action::aged_circulation" oils_persist:tablename="action.aged_circulation" reporter:core="true" reporter:label="Aged (patronless) Circulation">
4884 <fields oils_persist:primary="id" oils_persist:sequence="money.billable_xact_id_seq">
4885 <field reporter:label="Check In Library" name="checkin_lib" reporter:datatype="org_unit"/>
4886 <field reporter:label="Check In Staff" name="checkin_staff" reporter:datatype="link"/>
4887 <field reporter:label="Check In Date/Time" name="checkin_time" reporter:datatype="timestamp"/>
4888 <field reporter:label="Circulating Library" name="circ_lib" reporter:datatype="org_unit"/>
4889 <field reporter:label="Circulating Staff" name="circ_staff" reporter:datatype="link"/>
4890 <field reporter:label="Desk Renewal" name="desk_renewal" reporter:datatype="bool"/>
4891 <field reporter:label="Due Date/Time" name="due_date" reporter:datatype="timestamp"/>
4892 <field reporter:label="Circulation Duration" name="duration" reporter:datatype="interval"/>
4893 <field reporter:label="Circ Duration Rule" name="duration_rule" reporter:datatype="link"/>
4894 <field reporter:label="Fine Interval" name="fine_interval" reporter:datatype="interval"/>
4895 <field reporter:label="Circ ID" name="id" reporter:datatype="id" />
4896 <field reporter:label="Max Fine Amount" name="max_fine" reporter:datatype="money" />
4897 <field reporter:label="Max Fine Rule" name="max_fine_rule" reporter:datatype="link"/>
4898 <field reporter:label="OPAC Renewal" name="opac_renewal" reporter:datatype="bool"/>
4899 <field reporter:label="Phone Renewal" name="phone_renewal" reporter:datatype="bool"/>
4900 <field reporter:label="Recurring Fine Amount" name="recurring_fine" reporter:datatype="money" />
4901 <field reporter:label="Recurring Fine Rule" name="recurring_fine_rule" reporter:datatype="link"/>
4902 <field reporter:label="Remaining Renewals" name="renewal_remaining" reporter:datatype="int" />
4903 <field reporter:label="Grace Period" name="grace_period" reporter:datatype="interval" />
4904 <field reporter:label="Fine Stop Reason" name="stop_fines" reporter:datatype="text"/>
4905 <field reporter:label="Fine Stop Date/Time" name="stop_fines_time" reporter:datatype="timestamp"/>
4906 <field reporter:label="Circulating Item" name="target_copy" reporter:datatype="link"/>
4907 <field reporter:label="Patron ZIP" name="usr_post_code" reporter:datatype="text"/>
4908 <field reporter:label="Transaction Finish Date/Time" name="xact_finish" reporter:datatype="timestamp" />
4909 <field reporter:label="Checkout Date/Time" name="xact_start" reporter:datatype="timestamp" />
4910 <field reporter:label="Record Creation Date/Time" name="create_time" reporter:datatype="timestamp" />
4911 <field reporter:label="Workstation" name="workstation" reporter:datatype="link"/>
4912 <field reporter:label="Checkin Workstation" name="checkin_workstation" reporter:datatype="link"/>
4913 <field reporter:label="Checkin Scan Date/Time" name="checkin_scan_time" reporter:datatype="timestamp" />
4914 <field reporter:label="Parent Circulation" name="parent_circ" reporter:datatype="link"/>
4915 <field reporter:label="Transaction Billings" name="billings" oils_persist:virtual="true" reporter:datatype="link"/>
4916 <field reporter:label="Transaction Payments" name="payments" oils_persist:virtual="true" reporter:datatype="link"/>
4917 <field reporter:label="Base Transaction" name="billable_transaction" oils_persist:virtual="true" reporter:datatype="link"/>
4918 <field reporter:label="Circulation Type" name="circ_type" oils_persist:virtual="true" reporter:datatype="text"/>
4919 <field reporter:label="Billing Totals" name="billing_total" oils_persist:virtual="true" reporter:datatype="money"/>
4920 <field reporter:label="Payment Totals" name="payment_total" oils_persist:virtual="true" reporter:datatype="money"/>
4921 <field reporter:label="Patron Home Library" name="usr_home_ou" reporter:datatype="link"/>
4922 <field reporter:label="Patron Profile Group" name="usr_profile" reporter:datatype="link"/>
4923 <field reporter:label="Patron Birth Year" name="usr_birth_year" reporter:datatype="int"/>
4924 <field reporter:label="Call Number" name="copy_call_number" reporter:datatype="link"/>
4925 <field reporter:label="Shelving Location" name="copy_location" reporter:datatype="link"/>
4926 <field reporter:label="Copy Owning Library" name="copy_owning_lib" reporter:datatype="link"/>
4927 <field reporter:label="Copy Circulating Library" name="copy_circ_lib" reporter:datatype="link"/>
4928 <field reporter:label="Bib Record" name="copy_bib_record" reporter:datatype="link"/>
4929 <field reporter:label="Archived Patron Stat-Cat Entries" name="aaactsc_entries" oils_persist:virtual="true" reporter:datatype="link"/>
4930 <field reporter:label="Archived Copy Stat-Cat Entries" name="aaasc_entries" oils_persist:virtual="true" reporter:datatype="link"/>
4933 <link field="billable_transaction" reltype="might_have" key="id" map="" class="mbt"/>
4934 <link field="circ_staff" reltype="has_a" key="id" map="" class="au"/>
4935 <link field="checkin_lib" reltype="has_a" key="id" map="" class="aou"/>
4936 <link field="target_copy" reltype="has_a" key="id" map="" class="acp"/>
4937 <link field="checkin_staff" reltype="has_a" key="id" map="" class="au"/>
4938 <link field="circ_lib" reltype="has_a" key="id" map="" class="aou"/>
4939 <link field="payments" reltype="has_many" key="xact" map="" class="mp"/>
4940 <link field="billings" reltype="has_many" key="xact" map="" class="mb"/>
4941 <link field="duration_rule" reltype="has_a" key="name" map="" class="crcd"/>
4942 <link field="max_fine_rule" reltype="has_a" key="name" map="" class="crmf"/>
4943 <link field="recurring_fine_rule" reltype="has_a" key="name" map="" class="crrf"/>
4944 <link field="circ_type" reltype="might_have" key="id" map="" class="rcirct"/>
4945 <link field="billing_total" reltype="might_have" key="xact" map="" class="rxbt"/>
4946 <link field="payment_total" reltype="might_have" key="xact" map="" class="rxpt"/>
4947 <link field="copy_call_number" reltype="has_a" key="id" map="" class="acn"/>
4948 <link field="copy_location" reltype="has_a" key="id" map="" class="acpl"/>
4949 <link field="copy_owning_lib" reltype="has_a" key="id" map="" class="aou"/>
4950 <link field="copy_circ_lib" reltype="has_a" key="id" map="" class="aou"/>
4951 <link field="copy_bib_record" reltype="has_a" key="id" map="" class="bre"/>
4952 <link field="workstation" reltype="has_a" key="id" map="" class="aws"/>
4953 <link field="checkin_workstation" reltype="has_a" key="id" map="" class="aws"/>
4954 <link field="parent_circ" reltype="might_have" key="id" map="" class="circ"/>
4955 <link field="renewals" reltype="has_many" key="parent_circ" map="" class="circ"/>
4956 <link field="aaactsc_entries" reltype="has_many" key="xact" map="" class="aaactsc"/>
4957 <link field="aaasc_entries" reltype="has_many" key="xact" map="" class="aaasc"/>
4961 controller="open-ils.cstore"
4962 oils_obj:fieldmapper="action::user_circ_history"
4963 oils_persist:tablename="action.usr_circ_history"
4964 reporter:label="User Checkout History">
4965 <fields oils_persist:primary="id" oils_persist:sequence="action.usr_circ_history_id_seq">
4966 <field reporter:label="ID" name="id" reporter:datatype="id"/>
4967 <!-- prevent reporting on the user that owns the checkout history -->
4968 <field reporter:label="User" name="usr" reporter:datatype="link" suppress_controller="open-ils.reporter-store"/>
4969 <field reporter:label="Circulating Item" name="target_copy" reporter:datatype="link"/>
4970 <field reporter:label="Checkin Time" name="checkin_time" reporter:datatype="timestamp" />
4971 <field reporter:label="Due Date" name="due_date" reporter:datatype="timestamp" />
4972 <field reporter:label="Checkout Time" name="xact_start" reporter:datatype="timestamp" />
4973 <field reporter:label="Source Circulation" name="source_circ" reporter:datatype="link" />
4976 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
4977 <link field="target_copy" reltype="has_a" key="id" map="" class="acp"/>
4978 <link field="source_circ" reltype="has_a" key="id" map="" class="circ"/>
4981 <class id="brt" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="booking::resource_type" oils_persist:tablename="booking.resource_type" reporter:label="Resource Type">
4982 <fields oils_persist:primary="id" oils_persist:sequence="booking.resource_type_id_seq">
4983 <field reporter:label="Resource Type ID" name="id" reporter:datatype="id" reporter:selector="name"/>
4984 <field reporter:label="Resource Type Name" name="name" reporter:datatype="text" oils_obj:required="true"/>
4985 <field reporter:label="Fine Interval" name="fine_interval" reporter:datatype="interval"/>
4986 <field reporter:label="Fine Amount" name="fine_amount" reporter:datatype="money"/>
4987 <field reporter:label="Max Fine Amount" name="max_fine" reporter:datatype="money"/>
4988 <field reporter:label="Owning Library" name="owner" reporter:datatype="org_unit" oils_obj:required="true"/>
4989 <field reporter:label="Catalog Item" name="catalog_item" reporter:datatype="bool"/>
4990 <field reporter:label="Bibliographic Record" name="record" reporter:datatype="link"/>
4991 <field reporter:label="Transferable" name="transferable" reporter:datatype="bool"/>
4992 <field reporter:label="Inter-booking and Inter-circulation Interval" name="elbow_room" reporter:datatype="interval"/>
4993 <field reporter:label="Resources" name="resources" oils_persist:virtual="true" reporter:datatype="link"/>
4994 <field reporter:label="Resource Attributes" name="resource_attrs" oils_persist:virtual="true" reporter:datatype="link"/>
4995 <field reporter:label="Target Resource Types" name="tgt_rsrc_types" oils_persist:virtual="true" reporter:datatype="link"/>
4998 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
4999 <link field="record" reltype="has_a" key="id" map="" class="bre"/>
5000 <link field="resources" reltype="has_many" key="type" map="" class="brsrc"/>
5001 <link field="resource_attrs" reltype="has_many" key="type" map="" class="bra"/>
5002 <link field="tgt_rsrc_types" reltype="has_many" key="type" map="" class="bresv"/>
5004 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
5006 <create permission="ADMIN_BOOKING_RESOURCE_TYPE" context_field='owner'/>
5007 <retrieve permission="ADMIN_BOOKING_RESOURCE_TYPE" context_field='owner'/>
5008 <update permission="ADMIN_BOOKING_RESOURCE_TYPE" context_field='owner'/>
5009 <delete permission="ADMIN_BOOKING_RESOURCE_TYPE" context_field='owner'/>
5014 <class id="brsrc" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="booking::resource" oils_persist:tablename="booking.resource" reporter:label="Resource">
5015 <fields oils_persist:primary="id" oils_persist:sequence="booking.resource_id_seq">
5016 <field reporter:label="Resource ID" name="id" reporter:datatype="id" reporter:selector="barcode" />
5017 <field reporter:label="Owning Library" name="owner" reporter:datatype="org_unit" oils_obj:required="true"/>
5018 <field reporter:label="Resource Type" name="type" reporter:datatype="link" oils_obj:required="true"/>
5019 <field reporter:label="Overbook" name="overbook" reporter:datatype="bool"/>
5020 <field reporter:label="Barcode" name="barcode" reporter:datatype="text" oils_obj:required="true"/>
5021 <field reporter:label="Is Deposit Required" name="deposit" reporter:datatype="bool"/>
5022 <field reporter:label="Deposit Amount" name="deposit_amount" reporter:datatype="money"/>
5023 <field reporter:label="User Fee" name="user_fee" reporter:datatype="money"/>
5024 <field reporter:label="Resource Attribute Maps" name="attr_maps" oils_persist:virtual="true" reporter:datatype="link"/>
5025 <field reporter:label="Reservation Target Resources" name="tgt_rsrcs" oils_persist:virtual="true" reporter:datatype="link"/>
5026 <field reporter:label="Reservation Current Resources" name="curr_rsrcs" oils_persist:virtual="true" reporter:datatype="link"/>
5027 <field reporter:label="Catalog Item" name="catalog_item" oils_persist:virtual="true" reporter:datatype="link"/>
5030 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
5031 <link field="type" reltype="has_a" key="id" map="" class="brt"/>
5032 <link field="attr_maps" reltype="has_many" key="resource" map="" class="bram"/>
5033 <link field="tgt_rsrcs" reltype="has_many" key="targeted_resource" map="" class="bresv"/>
5034 <link field="curr_rsrcs" reltype="has_many" key="current_resource" map="" class="bresv"/>
5036 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
5038 <create permission="ADMIN_BOOKING_RESOURCE" context_field='owner'/>
5039 <retrieve permission="ADMIN_BOOKING_RESOURCE" context_field='owner'/>
5040 <update permission="ADMIN_BOOKING_RESOURCE" context_field='owner'/>
5041 <delete permission="ADMIN_BOOKING_RESOURCE" context_field='owner'/>
5046 <class id="bra" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="booking::resource_attr" oils_persist:tablename="booking.resource_attr" reporter:label="Resource Attribute">
5047 <fields oils_persist:primary="id" oils_persist:sequence="booking.resource_attr_id_seq">
5048 <field reporter:label="Resource Attribute ID" name="id" reporter:datatype="id" reporter:selector="name" />
5049 <field reporter:label="Owning Library" name="owner" reporter:datatype="org_unit" oils_obj:required="true"/>
5050 <field reporter:label="Resource Attribute Name" name="name" reporter:datatype="text" oils_obj:required="true"/>
5051 <field reporter:label="Resource Type" name="resource_type" reporter:datatype="link"/>
5052 <field reporter:label="Is Required" name="required" reporter:datatype="bool"/>
5053 <field reporter:label="Valid Values" name="valid_values" oils_persist:virtual="true" reporter:datatype="link"/>
5054 <field reporter:label="Resource Attribute Maps" name="attr_maps" oils_persist:virtual="true" reporter:datatype="link"/>
5057 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
5058 <link field="resource_type" reltype="has_a" key="id" map="" class="brt"/>
5059 <link field="valid_values" reltype="has_many" key="attr" map="" class="brav"/>
5060 <link field="attr_maps" reltype="has_many" key="attr" map="" class="bram"/>
5062 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
5064 <create permission="ADMIN_BOOKING_RESOURCE_ATTR" context_field='owner'/>
5065 <retrieve permission="ADMIN_BOOKING_RESOURCE_ATTR" context_field='owner'/>
5066 <update permission="ADMIN_BOOKING_RESOURCE_ATTR" context_field='owner'/>
5067 <delete permission="ADMIN_BOOKING_RESOURCE_ATTR" context_field='owner'/>
5072 <class id="brav" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="booking::resource_attr_value" oils_persist:tablename="booking.resource_attr_value" reporter:label="Resource Attribute Value">
5073 <fields oils_persist:primary="id" oils_persist:sequence="booking.resource_attr_value_id_seq">
5074 <field reporter:label="Resource Attribute Value ID" name="id" reporter:datatype="id" reporter:selector="valid_value" />
5075 <field reporter:label="Owning Library" name="owner" reporter:datatype="org_unit" oils_obj:required="true"/>
5076 <field reporter:label="Resource Attribute" name="attr" reporter:datatype="link" oils_obj:required="true"/>
5077 <field reporter:label="Valid Value" name="valid_value" reporter:datatype="text" oils_obj:required="true"/>
5078 <field reporter:label="Resource Attribute Maps" name="attr_maps" oils_persist:virtual="true" reporter:datatype="link"/>
5079 <field reporter:label="Resource Attribute Value Maps" name="attr_val_maps" oils_persist:virtual="true" reporter:datatype="link"/>
5082 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
5083 <link field="attr" reltype="has_a" key="id" map="" class="bra"/>
5084 <link field="attr_maps" reltype="has_many" key="id" map="" class="bram"/>
5085 <link field="attr_val_maps" reltype="has_many" key="attr_value" map="" class="bravm"/>
5087 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
5089 <create permission="ADMIN_BOOKING_RESOURCE_ATTR_VALUE" context_field='owner'/>
5090 <retrieve permission="ADMIN_BOOKING_RESOURCE_ATTR_VALUE" context_field='owner'/>
5091 <update permission="ADMIN_BOOKING_RESOURCE_ATTR_VALUE" context_field='owner'/>
5092 <delete permission="ADMIN_BOOKING_RESOURCE_ATTR_VALUE" context_field='owner'/>
5097 <class id="bram" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="booking::resource_attr_map" oils_persist:tablename="booking.resource_attr_map" reporter:label="Resource Attribute Map">
5098 <fields oils_persist:primary="id" oils_persist:sequence="booking.resource_attr_map_id_seq">
5099 <field reporter:label="Resource Attribute Map ID" name="id" reporter:datatype="id"/>
5100 <field reporter:label="Resource" name="resource" reporter:datatype="link" oils_obj:required="true"/>
5101 <field reporter:label="Resource Attribute" name="resource_attr" reporter:datatype="link" oils_obj:required="true"/>
5102 <field reporter:label="Attribute Value" name="value" reporter:datatype="link" oils_obj:required="true"/>
5105 <link field="resource" reltype="has_a" key="id" map="" class="brsrc"/>
5106 <link field="resource_attr" reltype="has_a" key="id" map="" class="bra"/>
5107 <link field="value" reltype="has_a" key="id" map="" class="brav"/>
5109 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
5111 <create permission="ADMIN_BOOKING_RESOURCE_ATTR_MAP">
5112 <context link="resource" field="owner" />
5114 <retrieve permission="ADMIN_BOOKING_RESOURCE_ATTR_MAP">
5115 <context link="resource" field="owner" />
5117 <update permission="ADMIN_BOOKING_RESOURCE_ATTR_MAP">
5118 <context link="resource" field="owner" />
5120 <delete permission="ADMIN_BOOKING_RESOURCE_ATTR_MAP">
5121 <context link="resource" field="owner" />
5127 <class id="bresv" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="booking::reservation" oils_persist:tablename="booking.reservation" reporter:label="Reservation">
5128 <fields oils_persist:primary="id" oils_persist:sequence="money.billable_xact_id_seq">
5129 <field reporter:label="Transaction ID" name="id" reporter:datatype="id" />
5130 <field reporter:label="User" name="usr" reporter:datatype="link"/>
5131 <field reporter:label="Transaction Finish Date/Time" name="xact_finish" reporter:datatype="timestamp"/>
5132 <field reporter:label="Transaction Start Date/Time" name="xact_start" reporter:datatype="timestamp"/>
5133 <field reporter:label="Unrecovered Debt" name="unrecovered" reporter:datatype="bool"/>
5134 <field reporter:label="Billing Line Items" name="billings" oils_persist:virtual="true" reporter:datatype="link"/>
5135 <field reporter:label="Payment Line Items" name="payments" oils_persist:virtual="true" reporter:datatype="link"/>
5136 <field reporter:label="Billing Totals" name="billing_total" oils_persist:virtual="true" reporter:datatype="money"/>
5137 <field reporter:label="Payment Totals" name="payment_total" oils_persist:virtual="true" reporter:datatype="money"/>
5138 <field reporter:label="Payment Summary" name="summary" oils_persist:virtual="true" reporter:datatype="link"/>
5139 <field reporter:label="Request Time" name="request_time" reporter:datatype="timestamp"/>
5140 <field reporter:label="Start Time" name="start_time" reporter:datatype="timestamp"/>
5141 <field reporter:label="End Time" name="end_time" reporter:datatype="timestamp"/>
5142 <field reporter:label="Capture Time" name="capture_time" reporter:datatype="timestamp"/>
5143 <field reporter:label="Cancel Time" name="cancel_time" reporter:datatype="timestamp"/>
5144 <field reporter:label="Pickup Time" name="pickup_time" reporter:datatype="timestamp"/>
5145 <field reporter:label="Return Time" name="return_time" reporter:datatype="timestamp"/>
5146 <field reporter:label="Booking Interval" name="booking_interval" reporter:datatype="interval"/>
5147 <field reporter:label="Fine Interval" name="fine_interval" reporter:datatype="interval"/>
5148 <field reporter:label="Fine Amount" name="fine_amount" reporter:datatype="money"/>
5149 <field reporter:label="Max Fine Amount" name="max_fine" reporter:datatype="money"/>
5150 <field reporter:label="Target Resource Type" name="target_resource_type" reporter:datatype="link"/>
5151 <field reporter:label="Target Resource" name="target_resource" reporter:datatype="link"/>
5152 <field reporter:label="Current Resource" name="current_resource" reporter:datatype="link"/>
5153 <field reporter:label="Request Library" name="request_lib" reporter:datatype="link"/>
5154 <field reporter:label="Pickup Library" name="pickup_lib" reporter:datatype="link"/>
5155 <field reporter:label="Capture Staff" name="capture_staff" reporter:datatype="link"/>
5156 <field reporter:label="Notify by Email?" name="email_notify" reporter:datatype="bool"/>
5157 <field reporter:label="Attribute Value Maps" name="attr_val_maps" oils_persist:virtual="true" reporter:datatype="link"/>
5160 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
5161 <link field="payments" reltype="has_many" key="xact" map="" class="mp"/>
5162 <link field="billings" reltype="has_many" key="xact" map="" class="mb"/>
5163 <link field="billing_total" reltype="might_have" key="xact" map="" class="rxbt"/>
5164 <link field="payment_total" reltype="might_have" key="xact" map="" class="rxpt"/>
5165 <link field="summary" reltype="might_have" key="id" map="" class="mbts"/>
5166 <link field="target_resource_type" reltype="has_a" key="id" map="" class="brt"/>
5167 <link field="target_resource" reltype="has_a" key="id" map="" class="brsrc"/>
5168 <link field="current_resource" reltype="has_a" key="id" map="" class="brsrc"/>
5169 <link field="request_lib" reltype="has_a" key="id" map="" class="aou"/>
5170 <link field="pickup_lib" reltype="might_have" key="id" map="" class="aou"/>
5171 <link field="capture_staff" reltype="might_have" key="id" map="" class="au"/>
5172 <link field="attr_val_maps" reltype="has_many" key="reservation" map="" class="bravm"/>
5174 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
5176 <create permission="ADMIN_BOOKING_RESERVATION" global_required='true'/>
5177 <retrieve permission="STAFF_LOGIN" global_required='true'/>
5178 <update permission="ADMIN_BOOKING_RESERVATION" global_required='true'/>
5179 <delete permission="ADMIN_BOOKING_RESERVATION" global_required='true'/>
5184 <class id="bravm" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="booking::reservation_attr_value_map" oils_persist:tablename="booking.reservation_attr_value_map" reporter:label="Reservation Attribute Value Map">
5185 <fields oils_persist:primary="id" oils_persist:sequence="booking.reservation_attr_value_map_id_seq">
5186 <field reporter:label="Reservation Attribute Value Map" name="id" reporter:datatype="id"/>
5187 <field reporter:label="Reservation" name="reservation" reporter:datatype="link"/>
5188 <field reporter:label="Attribute Map" name="attr_value" reporter:datatype="link"/>
5191 <link field="reservation" reltype="has_a" key="id" map="" class="bresv"/>
5192 <link field="attr_value" reltype="has_a" key="id" map="" class="brav"/>
5194 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
5196 <create permission="ADMIN_BOOKING_RESERVATION_ATTR_MAP" global_required='true'/>
5197 <retrieve permission="STAFF_LOGIN" global_required='true'/>
5198 <update permission="ADMIN_BOOKING_RESERVATION_ATTR_MAP" global_required='true'/>
5199 <delete permission="ADMIN_BOOKING_RESERVATION_ATTR_MAP" global_required='true'/>
5204 <class id="ccnbi" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="container::call_number_bucket_item" oils_persist:tablename="container.call_number_bucket_item" reporter:label="Call Number Bucket Item">
5205 <fields oils_persist:primary="id" oils_persist:sequence="container.call_number_bucket_item_id_seq">
5206 <field name="bucket" reporter:datatype="link"/>
5207 <field name="id" reporter:datatype="id" />
5208 <field name="target_call_number" reporter:datatype="link" />
5209 <field name="create_time" reporter:datatype="timestamp" />
5210 <field name="pos" reporter:datatype="int" />
5211 <field name="notes" oils_persist:virtual="true" reporter:datatype="link" />
5214 <link field="target_call_number" reltype="has_a" key="id" map="" class="acn"/>
5215 <link field="bucket" reltype="has_a" key="id" map="" class="ccnb"/>
5216 <link field="notes" reltype="has_many" map="" key="item" class="ccnbin"/>
5218 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
5220 <retrieve permission="ADMIN_CALLNUMBER_BUCKET">
5221 <context link="bucket" owning_lib="owning_lib"/>
5226 <class id="ccnbin" controller="open-ils.cstore" oils_obj:fieldmapper="container::call_number_bucket_item_note" oils_persist:tablename="container.call_number_bucket_item_note" reporter:label="Call Number Bucket Item Note">
5227 <fields oils_persist:primary="id" oils_persist:sequence="container.call_number_bucket_item_note_id_seq">
5228 <field name="id" reporter:datatype="id" />
5229 <field name="item" reporter:datatype="link"/>
5230 <field name="note" reporter:datatype="text" />
5233 <link field="item" reltype="has_a" key="id" map="" class="ccnbi"/>
5236 <class id="cbreb" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="container::biblio_record_entry_bucket" oils_persist:tablename="container.biblio_record_entry_bucket" reporter:label="Bibliographic Record Entry Bucket">
5237 <fields oils_persist:primary="id" oils_persist:sequence="container.biblio_record_entry_bucket_id_seq">
5238 <field name="items" oils_persist:virtual="true" reporter:datatype="link"/>
5239 <field name="btype" reporter:datatype="text"/>
5240 <field name="id" reporter:datatype="id" />
5241 <field name="name" reporter:datatype="text"/>
5242 <field name="description" reporter:datatype="text"/>
5243 <field name="owner" reporter:datatype="link"/>
5244 <field name="pub" reporter:datatype="bool"/>
5245 <field name="create_time" reporter:datatype="timestamp" />
5246 <field name="owning_lib" reporter:datatype="org_unit" />
5249 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
5250 <link field="owner" reltype="has_a" key="id" map="" class="au"/>
5251 <link field="items" reltype="has_many" key="bucket" map="" class="cbrebi"/>
5253 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
5255 <create permission="CREATE_BIB_BUCKET ADMIN_BIB_BUCKET" context="owning_lib" owning_user="owner"/>
5256 <retrieve permission="CREATE_BIB_BUCKET ADMIN_BIB_BUCKET" context="owning_lib" owning_user="owner"/>
5257 <update permission="CREATE_BIB_BUCKET ADMIN_BIB_BUCKET" context="owning_lib" owning_user="owner"/>
5258 <delete permission="CREATE_BIB_BUCKET ADMIN_BIB_BUCKET" context="owning_lib" owning_user="owner"/>
5262 <class id="cbrebn" controller="open-ils.cstore" oils_obj:fieldmapper="container::biblio_record_entry_bucket_note" oils_persist:tablename="container.biblio_record_entry_bucket_note" reporter:label="Bibliographic Record Entry Bucket Note">
5263 <fields oils_persist:primary="id" oils_persist:sequence="container.biblio_record_entry_bucket_note_id_seq">
5264 <field name="id" reporter:datatype="id" />
5265 <field name="bucket" reporter:datatype="link"/>
5266 <field name="note" reporter:datatype="text" />
5269 <link field="bucket" reltype="has_a" key="id" map="" class="cbreb"/>
5272 <class id="ahcm" controller="open-ils.cstore" oils_obj:fieldmapper="action::hold_copy_map" oils_persist:tablename="action.hold_copy_map" reporter:label="Hold Copy Map">
5273 <fields oils_persist:primary="id" oils_persist:sequence="action.hold_copy_map_id_seq">
5274 <field name="hold" reporter:datatype="link"/>
5275 <field name="id" reporter:datatype="id" />
5276 <field name="target_copy" reporter:datatype="link"/>
5277 <field name="proximity" reporter:datatype="number"/>
5280 <link field="hold" reltype="has_a" key="id" map="" class="ahr"/>
5281 <link field="target_copy" reltype="has_a" key="id" map="" class="acp"/>
5284 <class id="ahn" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="action::hold_notification" oils_persist:tablename="action.hold_notification" reporter:label="Hold Notification">
5285 <fields oils_persist:primary="id" oils_persist:sequence="action.hold_notification_id_seq">
5286 <field reporter:label="Hold" name="hold" reporter:datatype="link"/>
5287 <field reporter:label="Notification ID" name="id" reporter:datatype="id" />
5288 <field reporter:label="Notification Method" name="method" reporter:datatype="text"/>
5289 <field reporter:label="Notification Note" name="note" reporter:datatype="text"/>
5290 <field reporter:label="Notifying Staff" name="notify_staff" reporter:datatype="link"/>
5291 <field reporter:label="Notification Date/Time" name="notify_time" reporter:datatype="timestamp"/>
5294 <link field="hold" reltype="has_a" key="id" map="" class="ahr"/>
5295 <link field="notify_staff" reltype="has_a" key="id" map="" class="au"/>
5297 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
5299 <create permission="CREATE_HOLD_NOTIFICATION">
5300 <context link="hold" jump="usr" field="home_ou" />
5302 <retrieve permission="VIEW_HOLD_NOTIFICATION">
5303 <context link="hold" jump="usr" field="home_ou" />
5305 <update permission="CREATE_HOLD_NOTIFICATION">
5306 <context link="hold" jump="usr" field="home_ou" />
5308 <delete permission="CREATE_HOLD_NOTIFICATION">
5309 <context link="hold" jump="usr" field="home_ou" />
5314 <class id="acpl" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="asset::copy_location" oils_persist:tablename="asset.copy_location" reporter:label="Copy/Shelving Location" oils_persist:field_safe="true">
5315 <fields oils_persist:primary="id" oils_persist:sequence="asset.copy_location_id_seq">
5316 <field reporter:label="Can Circulate?" name="circulate" reporter:datatype="bool"/>
5317 <field reporter:label="Is Holdable?" name="holdable" reporter:datatype="bool"/>
5318 <field reporter:label="Hold Capture Requires Verification" name="hold_verify" reporter:datatype="bool"/>
5319 <field reporter:label="Location ID" name="id" reporter:selector="name" reporter:datatype="id"/>
5320 <field reporter:label="Name" name="name" reporter:datatype="text" oils_persist:i18n="true"/>
5321 <field reporter:label="Is OPAC Visible?" name="opac_visible" reporter:datatype="bool"/>
5322 <field reporter:label="Owning Org Unit" name="owning_lib" reporter:datatype="org_unit"/>
5323 <field reporter:label="Copy Location Orders" name="orders" oils_persist:virtual="true" reporter:datatype="link"/>
5324 <field reporter:label="Copies" name="copies" oils_persist:virtual="true" reporter:datatype="link"/>
5325 <field reporter:label="Label Prefix" name="label_prefix" reporter:datatype="text" oils_persist:i18n="true"/>
5326 <field reporter:label="Label Suffix" name="label_suffix" reporter:datatype="text" oils_persist:i18n="true"/>
5327 <field reporter:label="Checkin Alert" name="checkin_alert" reporter:datatype="bool" />
5328 <field reporter:label="Is Deleted?" name="deleted" reporter:datatype="bool" />
5329 <field reporter:label="URL" name="url" reporter:datatype="text" />
5332 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
5333 <link field="distribution_formula_entries" reltype="has_many" key="location" map="" class="acqdfe"/>
5334 <link field="orders" reltype="has_many" key="location" map="" class="acplo"/>
5335 <link field="copies" reltype="has_many" key="location" map="" class="acp"/>
5337 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
5339 <create permission="CREATE_COPY_LOCATION" context_field="owning_lib"/>
5341 <update permission="UPDATE_COPY_LOCATION" context_field="owning_lib"/>
5342 <delete permission="DELETE_COPY_LOCATION" context_field="owning_lib"/>
5346 <class id="acplg" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="asset::copy_location_group" oils_persist:tablename="asset.copy_location_group" reporter:label="Copy/Shelving Location Group">
5347 <fields oils_persist:primary="id" oils_persist:sequence="asset.copy_location_group_id_seq">
5348 <field reporter:label="ID" name="id" reporter:selector="name" reporter:datatype="id"/>
5349 <field reporter:label="Name" name="name" reporter:datatype="text" oils_persist:i18n="true"/>
5350 <field reporter:label="Is OPAC Visible?" name="opac_visible" reporter:datatype="bool"/>
5351 <field reporter:label="Owning Org Unit" name="owner" reporter:datatype="org_unit"/>
5352 <field reporter:label="Position" name="pos" reporter:datatype="int"/>
5353 <field reporter:label="Display Above Orgs" name="top" reporter:datatype="bool"/>
5354 <field reporter:label="Copy Location Mappings" name="location_maps" oils_persist:virtual="true" reporter:datatype="link"/>
5357 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
5358 <link field="location_maps" reltype="has_many" key="lgroup" map="" class="acplgm"/>
5360 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
5362 <create permission="ADMIN_COPY_LOCATION_GROUP" context_field="owner"/>
5364 <update permission="ADMIN_COPY_LOCATION_GROUP" context_field="owner"/>
5365 <delete permission="ADMIN_COPY_LOCATION_GROUP" context_field="owner"/>
5369 <class id="acplgm" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="asset::copy_location_group_map" oils_persist:tablename="asset.copy_location_group_map" reporter:label="Copy/Shelving Location Group Map">
5370 <fields oils_persist:primary="id" oils_persist:sequence="asset.copy_location_group_map_id_seq">
5371 <field reporter:label="ID" name="id" reporter:selector="name" reporter:datatype="id"/>
5372 <field reporter:label="Group" name="lgroup" reporter:datatype="link"/>
5373 <field reporter:label="Copy Location" name="location" reporter:datatype="link"/>
5376 <link field="lgroup" reltype="has_a" key="id" map="" class="acplg"/>
5377 <link field="location" reltype="has_a" key="id" map="" class="acpl"/>
5379 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
5381 <create permission="ADMIN_COPY_LOCATION_GROUP">
5382 <context link="lgroup" field="owner" />
5385 <update permission="ADMIN_COPY_LOCATION_GROUP">
5386 <context link="lgroup" field="owner" />
5388 <delete permission="ADMIN_COPY_LOCATION_GROUP">
5389 <context link="lgroup" field="owner" />
5395 <class id="acplo" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="asset::copy_location_order" oils_persist:tablename="asset.copy_location_order" reporter:label="Copy/Shelving Location Order">
5396 <fields oils_persist:primary="id" oils_persist:sequence="asset.copy_location_order_id_seq">
5397 <field reporter:label="Location Order ID" name="id" reporter:datatype="id"/>
5398 <field reporter:label="Location ID" name="location" reporter:datatype="link"/>
5399 <field reporter:label="Org Unit" name="org" reporter:datatype="org_unit"/>
5400 <field reporter:label="Position" name="position" reporter:datatype="int"/>
5403 <link field="location" reltype="has_a" key="id" map="" class="acpl"/>
5404 <link field="org" reltype="has_a" key="id" map="" class="aou"/>
5406 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
5408 <create permission="ADMIN_COPY_LOCATION_ORDER" context_field="org"/>
5410 <update permission="ADMIN_COPY_LOCATION_ORDER" context_field="org"/>
5411 <delete permission="ADMIN_COPY_LOCATION_ORDER" context_field="org"/>
5416 <class id="svr" controller="open-ils.cstore" oils_obj:fieldmapper="serial::virtual_record" oils_persist:virtual="true" reporter:label="Serial Virtual Record">
5418 <field name="sre_id" oils_persist:virtual="true" />
5419 <field name="location" oils_persist:virtual="true" />
5420 <field name="owning_lib" oils_persist:virtual="true" />
5421 <field name="basic_holdings" oils_persist:virtual="true" />
5422 <field name="basic_holdings_add" oils_persist:virtual="true" />
5423 <field name="supplement_holdings" oils_persist:virtual="true" />
5424 <field name="supplement_holdings_add" oils_persist:virtual="true" />
5425 <field name="index_holdings" oils_persist:virtual="true" />
5426 <field name="index_holdings_add" oils_persist:virtual="true" />
5427 <field name="online" oils_persist:virtual="true" />
5428 <field name="missing" oils_persist:virtual="true" />
5429 <field name="incomplete" oils_persist:virtual="true" />
5433 <class id="sre" controller="open-ils.pcrud open-ils.cstore" oils_obj:fieldmapper="serial::record_entry" oils_persist:tablename="serial.record_entry" reporter:label="Serial Record Entry">
5434 <fields oils_persist:primary="id" oils_persist:sequence="serial.record_entry_id_seq">
5435 <field reporter:label="Is Active" name="active" reporter:datatype="bool"/>
5436 <field reporter:label="Bib Record" name="record" reporter:datatype="link"/>
5437 <field reporter:label="Create Date" name="create_date" reporter:datatype="timestamp"/>
5438 <field reporter:label="Creator" name="creator" reporter:datatype="link"/>
5439 <field reporter:label="Is Deleted" name="deleted" reporter:datatype="bool"/>
5440 <field reporter:label="Edit date" name="edit_date" reporter:datatype="timestamp"/>
5441 <field reporter:label="Editor" name="editor" reporter:datatype="link"/>
5442 <field reporter:label="ID" name="id" reporter:datatype="id" />
5443 <field reporter:label="Last Transaction ID" name="last_xact_id" reporter:datatype="text"/>
5444 <field reporter:label="MARC" name="marc" reporter:datatype="text"/>
5445 <field reporter:label="Source" name="source" reporter:datatype="int"/>
5446 <field reporter:label="Owning Org Unit" name="owning_lib" reporter:datatype="org_unit"/>
5449 <link field="record" reltype="has_a" key="id" map="" class="bre"/>
5450 <link field="editor" reltype="has_a" key="id" map="" class="au"/>
5451 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
5452 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
5454 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
5456 <create permission="CREATE_MFHD_RECORD" context_field="owning_lib"/>
5458 <update permission="UPDATE_MFHD_RECORD" context_field="owning_lib"/>
5459 <delete permission="DELETE_MFHD_RECORD" context_field="owning_lib"/>
5464 <class id="scap" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="serial::caption_and_pattern" oils_persist:tablename="serial.caption_and_pattern" reporter:label="Caption and Pattern">
5465 <fields oils_persist:primary="id" oils_persist:sequence="serial.caption_and_pattern_id_seq">
5466 <field reporter:label="ID" name="id" reporter:datatype="id"/>
5467 <field reporter:label="Subscription" name="subscription" reporter:datatype="link"/>
5468 <field reporter:label="Type" name="type" reporter:datatype="text"/>
5469 <field reporter:label="Create Date" name="create_date" reporter:datatype="timestamp"/>
5470 <field reporter:label="Start Date" name="start_date" reporter:datatype="timestamp"/>
5471 <field reporter:label="End Date" name="end_date" reporter:datatype="timestamp"/>
5472 <field reporter:label="Active?" name="active" reporter:datatype="bool"/>
5473 <field reporter:label="Pattern Code" name="pattern_code" reporter:datatype="text"/>
5474 <field reporter:label="Enum 1" name="enum_1" reporter:datatype="text"/>
5475 <field reporter:label="Enum 2" name="enum_2" reporter:datatype="text"/>
5476 <field reporter:label="Enum 3" name="enum_3" reporter:datatype="text"/>
5477 <field reporter:label="Enum 4" name="enum_4" reporter:datatype="text"/>
5478 <field reporter:label="Enum 5" name="enum_5" reporter:datatype="text"/>
5479 <field reporter:label="Enum 6" name="enum_6" reporter:datatype="text"/>
5480 <field reporter:label="Chron 1" name="chron_1" reporter:datatype="text"/>
5481 <field reporter:label="Chron 2" name="chron_2" reporter:datatype="text"/>
5482 <field reporter:label="Chron 3" name="chron_3" reporter:datatype="text"/>
5483 <field reporter:label="Chron 4" name="chron_4" reporter:datatype="text"/>
5484 <field reporter:label="Chron 5" name="chron_5" reporter:datatype="text"/>
5487 <link field="subscription" reltype="has_a" key="id" map="" class="ssub"/>
5489 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
5491 <create permission="ADMIN_SERIAL_CAPTION_PATTERN">
5492 <context link="subscription" field="owning_lib" />
5495 <update permission="ADMIN_SERIAL_CAPTION_PATTERN">
5496 <context link="subscription" field="owning_lib" />
5498 <delete permission="ADMIN_SERIAL_CAPTION_PATTERN">
5499 <context link="subscription" field="owning_lib" />
5505 <class id="ssub" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="serial::subscription" oils_persist:tablename="serial.subscription" reporter:label="Subscription">
5506 <fields oils_persist:primary="id" oils_persist:sequence="serial.subscription_id_seq">
5507 <field reporter:label="ID" name="id" reporter:datatype="id"/>
5508 <field reporter:label="Owning Library" name="owning_lib" reporter:datatype="org_unit"/>
5509 <field reporter:label="Start Date" name="start_date" reporter:datatype="timestamp"/>
5510 <field reporter:label="End Date" name="end_date" reporter:datatype="timestamp"/>
5511 <field reporter:label="Bibliographic Record Entry" name="record_entry" reporter:datatype="link"/>
5512 <field reporter:label="Expected Date Offset" name="expected_date_offset" reporter:datatype="interval"/>
5513 <field reporter:label="Distributions" name="distributions" oils_persist:virtual="true" reporter:datatype="link"/>
5514 <field reporter:label="Issuances" name="issuances" oils_persist:virtual="true" reporter:datatype="link"/>
5515 <field reporter:label="Captions and Patterns" name="scaps" oils_persist:virtual="true" reporter:datatype="link"/>
5516 <field reporter:label="Notes" name="notes" oils_persist:virtual="true" reporter:datatype="link"/>
5519 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
5520 <link field="record_entry" reltype="has_a" key="id" map="" class="bre"/>
5521 <link field="distributions" reltype="has_many" key="subscription" map="" class="sdist"/>
5522 <link field="issuances" reltype="has_many" key="subscription" map="" class="siss"/>
5523 <link field="scaps" reltype="has_many" key="subscription" map="" class="scap"/>
5524 <link field="notes" reltype="has_many" key="subscription" map="" class="ssubn"/>
5526 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
5528 <create permission="ADMIN_SERIAL_SUBSCRIPTION" context_field="owning_lib"/>
5530 <update permission="ADMIN_SERIAL_SUBSCRIPTION" context_field="owning_lib"/>
5531 <delete permission="ADMIN_SERIAL_SUBSCRIPTION" context_field="owning_lib"/>
5536 <class id="ssubn" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="serial::subscription_note" oils_persist:tablename="serial.subscription_note" reporter:label="Subscription Note">
5537 <fields oils_persist:primary="id" oils_persist:sequence="serial.subscription_note_id_seq">
5538 <field reporter:label="ID" name="id" reporter:datatype="id"/>
5539 <field reporter:label="Subscription" name="subscription" reporter:datatype="link"/>
5540 <field reporter:label="Creator" name="creator" reporter:datatype="link"/>
5541 <field reporter:label="Create Date" name="create_date" reporter:datatype="timestamp"/>
5542 <field reporter:label="Public?" name="pub" reporter:datatype="bool"/>
5543 <field reporter:label="Alert?" name="alert" reporter:datatype="bool"/>
5544 <field reporter:label="Title" name="title" reporter:datatype="text"/>
5545 <field reporter:label="Value" name="value" reporter:datatype="text"/>
5548 <link field="subscription" reltype="has_a" key="id" map="" class="ssub"/>
5549 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
5551 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
5553 <create permission="ADMIN_SERIAL_SUBSCRIPTION" context_field="owning_lib">
5554 <context link="subscription" field="owning_lib"/>
5557 <update permission="ADMIN_SERIAL_SUBSCRIPTION" context_field="owning_lib">
5558 <context link="subscription" field="owning_lib"/>
5560 <delete permission="ADMIN_SERIAL_SUBSCRIPTION" context_field="owning_lib">
5561 <context link="subscription" field="owning_lib"/>
5567 <class id="sdist" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="serial::distribution" oils_persist:tablename="serial.distribution" reporter:label="Distribution">
5568 <fields oils_persist:primary="id" oils_persist:sequence="serial.distribution_id_seq">
5569 <field reporter:label="ID" name="id" reporter:datatype="id"/>
5570 <field reporter:label="Legacy Record Entry" name="record_entry" reporter:datatype="link"/>
5571 <field reporter:label="Summary Method" name="summary_method" reporter:datatype="text"/>
5572 <field reporter:label="Subscription" name="subscription" reporter:datatype="link"/>
5573 <field reporter:label="Holding Lib" name="holding_lib" reporter:datatype="org_unit"/>
5574 <field reporter:label="Label" name="label" reporter:datatype="text"/>
5575 <field reporter:label="Receive Call Number" name="receive_call_number" reporter:datatype="link"/>
5576 <field reporter:label="Receive Unit Template" name="receive_unit_template" reporter:datatype="link"/>
5577 <field reporter:label="Bind Call Number" name="bind_call_number" reporter:datatype="link"/>
5578 <field reporter:label="Bind Unit Template" name="bind_unit_template" reporter:datatype="link"/>
5579 <field reporter:label="Unit Label Prefix" name="unit_label_prefix" reporter:datatype="text"/>
5580 <field reporter:label="Unit Label Suffix" name="unit_label_suffix" reporter:datatype="text"/>
5581 <field reporter:label="Display Grouping" name="display_grouping" reporter:datatype="text"/>
5582 <field reporter:label="Streams" name="streams" oils_persist:virtual="true" reporter:datatype="link"/>
5583 <field reporter:label="Notes" name="notes" oils_persist:virtual="true" reporter:datatype="link"/>
5584 <field reporter:label="Basic Issue Summary" name="basic_summary" oils_persist:virtual="true" reporter:datatype="link"/>
5585 <field reporter:label="Supplemental Issue Summary" name="supplement_summary" oils_persist:virtual="true" reporter:datatype="link"/>
5586 <field reporter:label="Index Issue Summary" name="index_summary" oils_persist:virtual="true" reporter:datatype="link"/>
5589 <link field="record_entry" reltype="has_a" key="id" map="" class="sre"/>
5590 <link field="subscription" reltype="has_a" key="id" map="" class="ssub"/>
5591 <link field="holding_lib" reltype="has_a" key="id" map="" class="aou"/>
5592 <link field="receive_call_number" reltype="has_a" key="id" map="" class="acn"/>
5593 <link field="receive_unit_template" reltype="has_a" key="id" map="" class="act"/>
5594 <link field="bind_call_number" reltype="has_a" key="id" map="" class="acn"/>
5595 <link field="bind_unit_template" reltype="has_a" key="id" map="" class="act"/>
5596 <link field="streams" reltype="has_many" key="distribution" map="" class="sstr"/>
5597 <link field="notes" reltype="has_many" key="distribution" map="" class="sdistn"/>
5598 <link field="basic_summary" reltype="might_have" key="distribution" map="" class="sbsum"/>
5599 <link field="supplement_summary" reltype="might_have" key="distribution" map="" class="sssum"/>
5600 <link field="index_summary" reltype="might_have" key="distribution" map="" class="sisum"/>
5602 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
5604 <create permission="ADMIN_SERIAL_DISTRIBUTION" context_field="holding_lib" />
5606 <update permission="ADMIN_SERIAL_DISTRIBUTION" context_field="holding_lib" />
5607 <delete permission="ADMIN_SERIAL_DISTRIBUTION" context_field="holding_lib" />
5612 <class id="sdistn" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="serial::distribution_note" oils_persist:tablename="serial.distribution_note" reporter:label="Distribution Note">
5613 <fields oils_persist:primary="id" oils_persist:sequence="serial.distribution_note_id_seq">
5614 <field reporter:label="ID" name="id" reporter:datatype="id"/>
5615 <field reporter:label="Distribution" name="distribution" reporter:datatype="link"/>
5616 <field reporter:label="Creator" name="creator" reporter:datatype="link"/>
5617 <field reporter:label="Create Date" name="create_date" reporter:datatype="timestamp"/>
5618 <field reporter:label="Public?" name="pub" reporter:datatype="bool"/>
5619 <field reporter:label="Alert?" name="alert" reporter:datatype="bool"/>
5620 <field reporter:label="Title" name="title" reporter:datatype="text"/>
5621 <field reporter:label="Value" name="value" reporter:datatype="text"/>
5624 <link field="distribution" reltype="has_a" key="id" map="" class="sdist"/>
5625 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
5627 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
5629 <create permission="ADMIN_SERIAL_DISTRIBUTION">
5630 <context link="distribution" field="holding_lib" />
5632 <retrieve permission="ADMIN_SERIAL_DISTRIBUTION">
5633 <context link="distribution" field="holding_lib" />
5635 <update permission="ADMIN_SERIAL_DISTRIBUTION">
5636 <context link="distribution" field="holding_lib" />
5638 <delete permission="ADMIN_SERIAL_DISTRIBUTION">
5639 <context link="distribution" field="holding_lib" />
5645 <class id="sstr" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="serial::stream" oils_persist:tablename="serial.stream" reporter:label="Stream">
5646 <fields oils_persist:primary="id" oils_persist:sequence="serial.stream_id_seq">
5647 <field reporter:label="ID" name="id" reporter:datatype="id"/>
5648 <field reporter:label="Distribution" name="distribution" reporter:datatype="link"/>
5649 <field reporter:label="Routing Label" name="routing_label" reporter:datatype="text"/>
5650 <field reporter:label="Items" name="items" oils_persist:virtual="true" reporter:datatype="link" />
5651 <field reporter:label="Routing List Users" name="routing_list_users" oils_persist:virtual="true" reporter:datatype="link"/>
5654 <link field="distribution" reltype="has_a" key="id" map="" class="sdist"/>
5655 <link field="items" reltype="has_many" key="stream" map="" class="sitem"/>
5656 <link field="routing_list_users" reltype="has_many" key="stream" map="" class="srlu"/>
5658 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
5660 <create permission="ADMIN_SERIAL_STREAM">
5661 <context link="distribution" field="holding_lib" />
5664 <update permission="ADMIN_SERIAL_STREAM">
5665 <context link="distribution" field="holding_lib" />
5667 <delete permission="ADMIN_SERIAL_STREAM">
5668 <context link="distribution" field="holding_lib" />
5674 <class id="srlu" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="serial::routing_list_user" oils_persist:tablename="serial.routing_list_user" reporter:label="Routing List User">
5675 <fields oils_persist:primary="id" oils_persist:sequence="serial.routing_list_user_id_seq">
5676 <field reporter:label="ID" name="id" reporter:datatype="id"/>
5677 <field reporter:label="Stream" name="stream" reporter:datatype="link"/>
5678 <field reporter:label="Position" name="pos" reporter:datatype="int"/>
5679 <field reporter:label="Reader" name="reader" reporter:datatype="link"/>
5680 <field reporter:label="Department" name="department" reporter:datatype="text"/>
5681 <field reporter:label="Note" name="note" reporter:datatype="text"/>
5684 <link field="stream" reltype="has_a" key="id" map="" class="sstr"/>
5685 <link field="reader" reltype="has_a" key="id" map="" class="au"/>
5687 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
5689 <create permission="ADMIN_SERIAL_STREAM">
5690 <context link="stream" jump="distribution" field="holding_lib" />
5692 <retrieve permission="RECEIVE_SERIAL">
5693 <context link="stream" jump="distribution" field="holding_lib" />
5695 <update permission="ADMIN_SERIAL_STREAM">
5696 <context link="stream" jump="distribution" field="holding_lib" />
5698 <delete permission="ADMIN_SERIAL_STREAM">
5699 <context link="stream" jump="distribution" field="holding_lib" />
5705 <class id="siss" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="serial::issuance" oils_persist:tablename="serial.issuance" reporter:label="Issuance">
5706 <fields oils_persist:primary="id" oils_persist:sequence="serial.issuance_id_seq">
5707 <field reporter:label="ID" name="id" reporter:datatype="id" />
5708 <field reporter:label="Creator" name="creator" reporter:datatype="link"/>
5709 <field reporter:label="Editor" name="editor" reporter:datatype="link"/>
5710 <field reporter:label="Create Date" name="create_date" reporter:datatype="timestamp"/>
5711 <field reporter:label="Edit Date" name="edit_date" reporter:datatype="timestamp"/>
5712 <field reporter:label="Subscription" name="subscription" reporter:datatype="link"/>
5713 <field reporter:label="Caption/Pattern" name="caption_and_pattern" reporter:datatype="link"/>
5714 <field reporter:label="Label" name="label" reporter:datatype="text"/>
5715 <field reporter:label="Date Published" name="date_published" reporter:datatype="timestamp"/>
5716 <field reporter:label="Holding Code" name="holding_code" reporter:datatype="text"/>
5717 <field reporter:label="Holding Type" name="holding_type" reporter:datatype="text"/>
5718 <field reporter:label="Holding Link ID" name="holding_link_id" reporter:datatype="int"/>
5719 <field reporter:label="Items" name="items" oils_persist:virtual="true" reporter:datatype="link" />
5722 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
5723 <link field="editor" reltype="has_a" key="id" map="" class="au"/>
5724 <link field="subscription" reltype="has_a" key="id" map="" class="ssub"/>
5725 <link field="caption_and_pattern" reltype="has_a" key="id" map="" class="scap"/>
5726 <link field="items" reltype="has_many" key="issuance" map="" class="sitem"/>
5728 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
5730 <create permission="ADMIN_SERIAL_SUBSCRIPTION">
5731 <context link="subscription" field="owning_lib" />
5734 <update permission="ADMIN_SERIAL_SUBSCRIPTION">
5735 <context link="subscription" field="owning_lib" />
5737 <delete permission="ADMIN_SERIAL_SUBSCRIPTION">
5738 <context link="subscription" field="owning_lib" />
5744 <class id="sunit" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="serial::unit" oils_persist:tablename="serial.unit" reporter:label="Unit">
5745 <fields oils_persist:primary="id" oils_persist:sequence="asset.copy_id_seq">
5746 <field reporter:label="ID" name="id" reporter:datatype="id"/>
5747 <field reporter:label="Age Hold Protection" name="age_protect" reporter:datatype="link"/>
5748 <field reporter:label="Alert Message" name="alert_message" reporter:datatype="text"/>
5749 <field reporter:label="Barcode" name="barcode" reporter:datatype="text"/>
5750 <field reporter:label="Call Number/Volume" name="call_number" reporter:datatype="link"/>
5751 <field reporter:label="Circulation Type (MARC)" name="circ_as_type" reporter:datatype="text"/>
5752 <field reporter:label="Circulating Library" name="circ_lib" reporter:datatype="org_unit"/>
5753 <field reporter:label="Circulation Modifier" name="circ_modifier" reporter:datatype="link"/>
5754 <field reporter:label="Can Circulate" name="circulate" reporter:datatype="bool"/>
5755 <field reporter:label="Copy Number on Volume" name="copy_number" reporter:datatype="text"/>
5756 <field reporter:label="Creation Date/Time" name="create_date" reporter:datatype="timestamp"/>
5757 <field reporter:label="Active Date/Time" name="active_date" reporter:datatype="timestamp"/>
5758 <field reporter:label="Creating User" name="creator" reporter:datatype="link"/>
5759 <field reporter:label="Is Deleted" name="deleted" reporter:datatype="bool"/>
5760 <field reporter:label="Dummy ISBN" name="dummy_isbn" reporter:datatype="text"/>
5761 <field reporter:label="Is Deposit Required" name="deposit" reporter:datatype="bool"/>
5762 <field reporter:label="Deposit Amount" name="deposit_amount" reporter:datatype="money" />
5763 <field reporter:label="Precat Dummy Author" name="dummy_author" reporter:datatype="text"/>
5764 <field reporter:label="Precat Dummy Title" name="dummy_title" reporter:datatype="text"/>
5765 <field reporter:label="Last Edit Date/Time" name="edit_date" reporter:datatype="timestamp"/>
5766 <field reporter:label="Last Editing User" name="editor" reporter:datatype="link"/>
5767 <field reporter:label="Fine Level" name="fine_level" reporter:datatype="int"/>
5768 <field reporter:label="Is Holdable" name="holdable" reporter:datatype="bool" />
5769 <field reporter:label="Loan Duration" name="loan_duration" reporter:datatype="int"/>
5770 <field reporter:label="Shelving Location" name="location" reporter:datatype="link"/>
5771 <field reporter:label="OPAC Visible" name="opac_visible" reporter:datatype="bool" />
5772 <field reporter:label="Price" name="price" reporter:datatype="money" />
5773 <field reporter:label="Is Reference" name="ref" reporter:datatype="bool"/>
5774 <field reporter:label="Copy Status" name="status" reporter:datatype="link"/>
5775 <field reporter:label="Copy Status Changed Time" name="status_changed_time" reporter:datatype="timestamp"/>
5776 <field reporter:label="Is Mint Condition" name="mint_condition" reporter:datatype="bool"/>
5777 <field reporter:label="Floating Group" name="floating" reporter:datatype="link"/>
5778 <field reporter:label="Cost" name="cost" reporter:datatype="money"/>
5779 <field reporter:label="Sort Key" name="sort_key" reporter:datatype="text"/>
5780 <field reporter:label="Summary Contents" name="summary_contents" reporter:datatype="text"/>
5781 <field reporter:label="Detailed Contents" name="detailed_contents" reporter:datatype="text"/>
5782 <field reporter:label="Copy Notes" name="notes" oils_persist:virtual="true" reporter:datatype="link"/>
5783 <field reporter:label="Stat-Cat entry maps" name="stat_cat_entry_copy_maps" oils_persist:virtual="true" reporter:datatype="link"/>
5784 <field reporter:label="Circulations" name="circulations" oils_persist:virtual="true" reporter:datatype="link"/>
5785 <field reporter:label="Total Circulations" name="total_circ_count" oils_persist:virtual="true" reporter:datatype="link"/>
5786 <field reporter:label="Holds" name="holds" oils_persist:virtual="true" reporter:datatype="link"/>
5787 <field reporter:label="Statistical Category Entries" name="stat_cat_entries" oils_persist:virtual="true" reporter:datatype="link"/>
5790 <link field="age_protect" reltype="has_a" key="id" map="" class="crahp"/>
5791 <link field="call_number" reltype="has_a" key="id" map="" class="acn"/>
5792 <link field="location" reltype="has_a" key="id" map="" class="acpl"/>
5793 <link field="editor" reltype="has_a" key="id" map="" class="au"/>
5794 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
5795 <link field="status" reltype="has_a" key="id" map="" class="ccs"/>
5796 <link field="circ_lib" reltype="has_a" key="id" map="" class="aou"/>
5797 <link field="holds" reltype="has_many" key="target_copy" map="hold" class="ahcm"/>
5798 <link field="stat_cat_entry_copy_maps" reltype="has_many" key="owning_copy" map="" class="ascecm"/>
5799 <link field="notes" reltype="has_many" key="owning_copy" map="" class="acpn"/>
5800 <link field="stat_cat_entries" reltype="has_many" key="owning_copy" map="stat_cat_entry" class="ascecm"/>
5801 <link field="circulations" reltype="has_many" key="target_copy" map="" class="circ"/>
5802 <link field="total_circ_count" reltype="might_have" key="id" map="" class="erfcc"/>
5803 <link field="circ_modifier" reltype="has_a" key="code" map="" class="ccm"/>
5804 <link field="floating" reltype="has_a" key="id" map="" class="cfg"/>
5806 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
5808 <create permission="RECEIVE_SERIAL ADMIN_SERIAL_SUBSCRIPTION" context_field="circ_lib" />
5810 <update permission="RECEIVE_SERIAL ADMIN_SERIAL_SUBSCRIPTION" context_field="circ_lib" />
5811 <delete permission="RECEIVE_SERIAL ADMIN_SERIAL_SUBSCRIPTION" context_field="circ_lib" />
5816 <class id="sitem" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="serial::item" oils_persist:tablename="serial.item" reporter:label="Item">
5817 <fields oils_persist:primary="id" oils_persist:sequence="serial.item_id_seq">
5818 <field reporter:label="ID" name="id" reporter:datatype="id"/>
5819 <field reporter:label="Creator" name="creator" reporter:datatype="link"/>
5820 <field reporter:label="Editor" name="editor" reporter:datatype="link"/>
5821 <field reporter:label="Create Date" name="create_date" reporter:datatype="timestamp"/>
5822 <field reporter:label="Edit Date" name="edit_date" reporter:datatype="timestamp"/>
5823 <field reporter:label="Issuance" name="issuance" reporter:datatype="link"/>
5824 <field reporter:label="Stream" name="stream" reporter:datatype="link"/>
5825 <field reporter:label="Unit" name="unit" reporter:datatype="link"/>
5826 <field reporter:label="URI" name="uri" reporter:datatype="link"/>
5827 <field reporter:label="Date Expected" name="date_expected" reporter:datatype="timestamp"/>
5828 <field reporter:label="Date Received" name="date_received" reporter:datatype="timestamp"/>
5829 <field reporter:label="Status" name="status" reporter:datatype="text"/>
5830 <field reporter:label="Notes" name="notes" oils_persist:virtual="true" reporter:datatype="link"/>
5831 <field reporter:label="Shadowed?" name="shadowed" reporter:datatype="bool"/>
5834 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
5835 <link field="editor" reltype="has_a" key="id" map="" class="au"/>
5836 <link field="issuance" reltype="has_a" key="id" map="" class="siss"/>
5837 <link field="stream" reltype="has_a" key="id" map="" class="sstr"/>
5838 <link field="unit" reltype="has_a" key="id" map="" class="sunit"/>
5839 <link field="uri" reltype="has_a" key="id" map="" class="auri"/>
5840 <link field="notes" reltype="has_many" key="item" map="" class="sin"/>
5842 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
5844 <create permission="ADMIN_SERIAL_ITEM">
5845 <context link="stream" jump="distribution" field="holding_lib" />
5847 <retrieve permission="ADMIN_SERIAL_ITEM">
5848 <context link="stream" jump="distribution" field="holding_lib" />
5850 <update permission="ADMIN_SERIAL_ITEM">
5851 <context link="stream" jump="distribution" field="holding_lib" />
5853 <delete permission="ADMIN_SERIAL_ITEM">
5854 <context link="stream" jump="distribution" field="holding_lib" />
5860 <class id="sin" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="serial::item_note" oils_persist:tablename="serial.item_note" reporter:label="Item Note">
5861 <fields oils_persist:primary="id" oils_persist:sequence="serial.item_note_id_seq">
5862 <field reporter:label="ID" name="id" reporter:datatype="id"/>
5863 <field reporter:label="Item" name="item" reporter:datatype="link"/>
5864 <field reporter:label="Creator" name="creator" reporter:datatype="link"/>
5865 <field reporter:label="Create Date" name="create_date" reporter:datatype="timestamp"/>
5866 <field reporter:label="Public?" name="pub" reporter:datatype="bool"/>
5867 <field reporter:label="Alert?" name="alert" reporter:datatype="bool"/>
5868 <field reporter:label="Title" name="title" reporter:datatype="text"/>
5869 <field reporter:label="Value" name="value" reporter:datatype="text"/>
5872 <link field="item" reltype="has_a" key="id" map="" class="sitem"/>
5873 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
5875 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
5877 <create permission="ADMIN_SERIAL_ITEM">
5878 <context link="item" jump="stream.distribution" field="holding_lib" />
5880 <retrieve permission="ADMIN_SERIAL_ITEM">
5881 <context link="item" jump="stream.distribution" field="holding_lib" />
5883 <update permission="ADMIN_SERIAL_ITEM">
5884 <context link="item" jump="stream.distribution" field="holding_lib" />
5886 <delete permission="ADMIN_SERIAL_ITEM">
5887 <context link="item" jump="stream.distribution" field="holding_lib" />
5892 <class id="sasum" controller="open-ils.cstore" oils_obj:fieldmapper="serial::any_summary" oils_persist:tablename="serial.any_summary" reporter:label="All Issues' Summaries" oils_persist:readonly="true">
5894 <field name="summary_type" reporter:label="Summary Type" reporter:datatype="text" />
5895 <field name="id" reporter:label="Native ID" reporter:datatype="int" /><!-- not datatype="id", because id is not unique in this view -->
5896 <field name="distribution" reporter:label="Distribution" reporter:datatype="link" />
5897 <field name="generated_coverage" reporter:label="Generated Coverage" reporter:datatype="text" />
5898 <field name="show_generated" reporter:label="Show Generated?" reporter:datatype="bool" />
5901 <link field="distribution" reltype="has_a" key="id" map="" class="sdist"/>
5904 <class id="smhc" controller="open-ils.cstore" oils_obj:fieldmapper="serial::materialized_holding_code" oils_persist:tablename="serial.materialized_holding_code" reporter:label="Materialized Holding Code" oils_persist:readonly="true">
5905 <fields oils_persist:primary="id" oils_persist:sequence="serial.materialized_holding_code_id_seq">
5906 <field name="id" reporter:label="ID" reporter:datatype="id" />
5907 <field name="issuance" reporter:label="Issuance" reporter:datatype="link" />
5908 <field name="holding_type" reporter:label="Holding Type" reporter:datatype="text" />
5909 <field name="ind1" reporter:label="First Indicator" reporter:datatype="text" />
5910 <field name="ind2" reporter:label="Second Indicator" reporter:datatype="text" />
5911 <field name="subfield" reporter:label="Subfield" reporter:datatype="text" />
5912 <field name="value" reporter:label="Value" reporter:datatype="text" oils_obj:validate="^\w$" />
5915 <link field="issuance" reltype="has_a" key="id" map="" class="siss"/>
5918 <class id="sbsum" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="serial::basic_summary" oils_persist:tablename="serial.basic_summary" reporter:label="Basic Issue Summary">
5919 <fields oils_persist:primary="id" oils_persist:sequence="serial.basic_summary_id_seq">
5920 <field reporter:label="ID" name="id" reporter:datatype="id" />
5921 <field reporter:label="Distribution" name="distribution" reporter:datatype="link"/>
5922 <field reporter:label="Generated Coverage" name="generated_coverage" reporter:datatype="text"/>
5923 <field reporter:label="Textual Holdings" name="textual_holdings" reporter:datatype="text"/>
5924 <field reporter:label="Show Generated?" name="show_generated" reporter:datatype="bool"/>
5927 <link field="distribution" reltype="has_a" key="id" map="" class="sdist"/>
5929 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
5931 <create permission="ADMIN_SERIAL_DISTRIBUTION">
5932 <context link="distribution" field="holding_lib" />
5935 <update permission="ADMIN_SERIAL_DISTRIBUTION">
5936 <context link="distribution" field="holding_lib" />
5938 <delete permission="ADMIN_SERIAL_DISTRIBUTION">
5939 <context link="distribution" field="holding_lib" />
5945 <class id="sssum" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="serial::supplement_summary" oils_persist:tablename="serial.supplement_summary" reporter:label="Supplemental Issue Summary">
5946 <fields oils_persist:primary="id" oils_persist:sequence="serial.supplement_summary_id_seq">
5947 <field reporter:label="ID" name="id" reporter:datatype="id" />
5948 <field reporter:label="Distribution" name="distribution" reporter:datatype="link"/>
5949 <field reporter:label="Generated Coverage" name="generated_coverage" reporter:datatype="text"/>
5950 <field reporter:label="Textual Holdings" name="textual_holdings" reporter:datatype="text"/>
5951 <field reporter:label="Show Generated?" name="show_generated" reporter:datatype="bool"/>
5954 <link field="distribution" reltype="has_a" key="id" map="" class="sdist"/>
5956 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
5958 <create permission="ADMIN_SERIAL_DISTRIBUTION">
5959 <context link="distribution" field="holding_lib" />
5962 <update permission="ADMIN_SERIAL_DISTRIBUTION">
5963 <context link="distribution" field="holding_lib" />
5965 <delete permission="ADMIN_SERIAL_DISTRIBUTION">
5966 <context link="distribution" field="holding_lib" />
5972 <class id="sisum" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="serial::index_summary" oils_persist:tablename="serial.index_summary" reporter:label="Index Issue Summary">
5973 <fields oils_persist:primary="id" oils_persist:sequence="serial.index_summary_id_seq">
5974 <field reporter:label="ID" name="id" reporter:datatype="id" />
5975 <field reporter:label="Distribution" name="distribution" reporter:datatype="link"/>
5976 <field reporter:label="Generated Coverage" name="generated_coverage" reporter:datatype="text"/>
5977 <field reporter:label="Textual Holdings" name="textual_holdings" reporter:datatype="text"/>
5978 <field reporter:label="Show Generated?" name="show_generated" reporter:datatype="bool"/>
5981 <link field="distribution" reltype="has_a" key="id" map="" class="sdist"/>
5983 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
5985 <create permission="ADMIN_SERIAL_DISTRIBUTION">
5986 <context link="distribution" field="holding_lib" />
5989 <update permission="ADMIN_SERIAL_DISTRIBUTION">
5990 <context link="distribution" field="holding_lib" />
5992 <delete permission="ADMIN_SERIAL_DISTRIBUTION">
5993 <context link="distribution" field="holding_lib" />
5999 <class id="spt" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="serial::pattern_template" oils_persist:tablename="serial.pattern_template" reporter:label="Prediction Pattern Template">
6000 <fields oils_persist:primary="id" oils_persist:sequence="serial.pattern_template_id_seq">
6001 <field reporter:label="ID" name="id" reporter:datatype="id" />
6002 <field reporter:label="Name" name="name" reporter:datatype="text" oils_obj:required="true"/>
6003 <field reporter:label="Pattern Code" name="pattern_code" reporter:datatype="text" oils_obj:required="true"/>
6004 <field reporter:label="Owning Library" name="owning_lib" reporter:datatype="org_unit" oils_obj:required="true"/>
6005 <field reporter:label="Share Depth" name="share_depth" reporter:datatype="int"/>
6008 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
6010 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
6012 <create permission="ADMIN_SERIAL_PATTERN_TEMPLATE" context_field="owning_lib"/>
6014 <update permission="ADMIN_SERIAL_PATTERN_TEMPLATE" context_field="owning_lib"/>
6015 <delete permission="ADMIN_SERIAL_PATTERN_TEMPLATE" context_field="owning_lib"/>
6020 <class id="ascecm" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="asset::stat_cat_entry_copy_map" oils_persist:tablename="asset.stat_cat_entry_copy_map" reporter:label="Statistical Category Entry Copy Map">
6021 <fields oils_persist:primary="id" oils_persist:sequence="asset.stat_cat_entry_copy_map_id_seq">
6022 <field name="id" reporter:datatype="id" />
6023 <field name="owning_copy" reporter:datatype="link"/>
6024 <field name="stat_cat" reporter:datatype="link"/>
6025 <field name="stat_cat_entry" reporter:datatype="link"/>
6028 <link field="owning_copy" reltype="has_a" key="id" map="" class="acp"/>
6029 <link field="stat_cat_entry" reltype="has_a" key="id" map="" class="asce"/>
6030 <link field="stat_cat" reltype="has_a" key="id" map="" class="asc"/>
6032 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
6038 <class id="citm" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::item_type_map" oils_persist:tablename="config.item_type_map" reporter:label="Item Type Map" oils_persist:field_safe="true">
6039 <fields oils_persist:primary="code">
6040 <field reporter:label="Item Type Code" name="code" reporter:selector="value" reporter:datatype="text"/>
6041 <field reporter:label="Item Type" name="value" reporter:datatype="text" oils_persist:i18n="true"/>
6044 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
6046 <create permission="ADMIN_MARC_CODE" global_required="true"/>
6048 <update permission="ADMIN_MARC_CODE" global_required="true"/>
6049 <delete permission="ADMIN_MARC_CODE" global_required="true"/>
6053 <class id="cblvl" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::bib_level_map" oils_persist:tablename="config.bib_level_map" reporter:label="Bib Level Map" oils_persist:field_safe="true">
6054 <fields oils_persist:primary="code">
6055 <field reporter:label="Bib Level Code" name="code" reporter:datatype="text"/>
6056 <field reporter:label="Bib Level" name="value" reporter:datatype="text" oils_persist:i18n="true"/>
6059 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
6061 <create permission="CREATE_MARC_CODE" global_required="true"/>
6063 <update permission="UPDATE_MARC_CODE" global_required="true"/>
6064 <delete permission="DELETE_MARC_CODE" global_required="true"/>
6068 <class id="sra" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="search::relevance_adjustment" oils_persist:tablename="search.relevance_adjustment" reporter:label="Relevance Adjustment">
6069 <fields oils_persist:primary="id" oils_persist:sequence="search.relevance_adjustment_id_seq">
6070 <field reporter:label="ID" name="id" reporter:datatype="id"/>
6071 <field reporter:label="Active" name="active" reporter:datatype="bool"/>
6072 <field reporter:label="Index Field" name="field" reporter:datatype="link"/>
6073 <field reporter:label="Bump Type" name="bump_type" reporter:datatype="text"/>
6074 <field reporter:label="Multiplier" name="multiplier" reporter:datatype="number"/>
6077 <link field="field" reltype="has_a" key="id" map="" class="cmf"/>
6079 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
6081 <create permission="CREATE_RELEVANCE_ADJUSTMENT" global_required="true"/>
6082 <retrieve permission="CREATE_RELEVANCE_ADJUSTMENT UPDATE_RELEVANCE_ADJUSTMENT DELETE_RELEVANCE_ADJUSTMENT" global_required="true"/>
6083 <update permission="UPDATE_RELEVANCE_ADJUSTMENT" global_required="true"/>
6084 <delete permission="DELETE_RELEVANCE_ADJUSTMENT" global_required="true"/>
6088 <class id="lasso" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="actor::org_lasso" oils_persist:tablename="actor.org_lasso" reporter:label="Org Lasso">
6089 <fields oils_persist:primary="id" oils_persist:sequence="actor.org_lasso_id_seq">
6090 <field name="id" reporter:datatype="id" />
6091 <field name="name" reporter:datatype="text"/>
6094 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
6096 <create permission="CREATE_LASSO" global_required="true"/>
6097 <retrieve permission="CREATE_LASSO UPDATE_LASSO DELETE_LASSO" global_required="true"/>
6098 <update permission="UPDATE_LASSO" global_required="true"/>
6099 <delete permission="DELETE_LASSO" global_required="true"/>
6103 <class id="lmap" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="actor::org_lasso_map" oils_persist:tablename="actor.org_lasso_map" reporter:label="Org Lasso Map">
6104 <fields oils_persist:primary="id" oils_persist:sequence="actor.org_lasso_map_id_seq">
6105 <field name="id" reporter:datatype="id" />
6106 <field name="lasso" reporter:datatype="link"/>
6107 <field name="org_unit" reporter:datatype="org_unit"/>
6110 <link field="lasso" reltype="has_a" key="id" map="" class="lasso"/>
6111 <link field="org_unit" reltype="has_a" key="id" map="" class="aou"/>
6113 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
6115 <create permission="CREATE_LASSO_MAP" global_required="true"/>
6116 <retrieve permission="CREATE_LASSO_MAP UPDATE_LASSO_MAP DELETE_LASSO_MAP" global_required="true"/>
6117 <update permission="UPDATE_LASSO_MAP" global_required="true"/>
6118 <delete permission="DELETE_LASSO_MAP" global_required="true"/>
6122 <class id="aoupa" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="actor::org_unit_proximity_adjustment" oils_persist:tablename="actor.org_unit_proximity_adjustment" reporter:label="Org Unit Proximity Adjustment">
6123 <fields oils_persist:primary="id" oils_persist:sequence="actor.org_unit_proximity_adjustment_id_seq">
6124 <field name="id" reporter:label="ID" reporter:datatype="id" />
6125 <field name="item_circ_lib" reporter:label="Item Circ Lib" reporter:datatype="org_unit"/>
6126 <field name="item_owning_lib" reporter:label="Item Owning Lib" reporter:datatype="org_unit"/>
6127 <field name="hold_pickup_lib" reporter:label="Hold Pickup Lib" reporter:datatype="org_unit"/>
6128 <field name="hold_request_lib" reporter:label="Hold Request Lib" reporter:datatype="org_unit"/>
6129 <field name="copy_location" reporter:label="Copy Location" reporter:datatype="link"/>
6130 <field name="circ_mod" reporter:label="Circ Modifier" reporter:datatype="link"/>
6131 <field name="pos" reporter:label="Position" reporter:datatype="int" />
6132 <field name="absolute_adjustment" reporter:label="Absolute adjustment?" reporter:datatype="bool" />
6133 <field name="prox_adjustment" reporter:label="Proximity Adjustment" reporter:datatype="number" />
6136 <link field="item_circ_lib" reltype="has_a" key="id" map="" class="aou"/>
6137 <link field="item_owning_lib" reltype="has_a" key="id" map="" class="aou"/>
6138 <link field="hold_pickup_lib" reltype="has_a" key="id" map="" class="aou"/>
6139 <link field="hold_request_lib" reltype="has_a" key="id" map="" class="aou"/>
6140 <link field="circ_mod" reltype="has_a" key="code" map="" class="ccm"/>
6141 <link field="copy_location" reltype="has_a" key="id" map="" class="acpl"/>
6143 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
6145 <create permission="ADMIN_PROXIMITY_ADJUSTMENT" global_required="true"/>
6146 <retrieve permission="ADMIN_PROXIMITY_ADJUSTMENT" global_required="true"/>
6147 <update permission="ADMIN_PROXIMITY_ADJUSTMENT" global_required="true"/>
6148 <delete permission="ADMIN_PROXIMITY_ADJUSTMENT" global_required="true"/>
6152 <class id="aoup" controller="open-ils.cstore" oils_obj:fieldmapper="actor::org_unit_proximity" oils_persist:tablename="actor.org_unit_proximity" reporter:label="Org Unit Proximity">
6153 <fields oils_persist:primary="id" oils_persist:sequence="actor.org_unit_proximity_id_seq">
6154 <field name="id" reporter:datatype="id" />
6155 <field name="from_org" reporter:datatype="org_unit"/>
6156 <field name="to_org" reporter:datatype="org_unit"/>
6157 <field name="prox" reporter:datatype="int" />
6160 <link field="from_org" reltype="has_a" key="id" map="" class="aou"/>
6161 <link field="to_org" reltype="has_a" key="id" map="" class="aou"/>
6164 <class id="ssr" controller="open-ils.cstore" oils_obj:fieldmapper="search::search_result" oils_persist:tablename="search.search_result" oils_persist:readonly="true" reporter:label="Search Result">
6165 <fields oils_persist:primary="id" oils_persist:sequence="actor.org_unit_proximity_id_seq">
6166 <field reporter:label="ID" name="id" reporter:datatype="id" />
6167 <field reporter:label="Relevance" name="rel" reporter:datatype="float"/>
6168 <field reporter:label="Record" name="record" reporter:datatype="link"/>
6169 <field reporter:label="Total Results" name="total" reporter:datatype="int" />
6170 <field reporter:label="Checked" name="checked" reporter:datatype="int"/>
6171 <field reporter:label="Visible" name="visible" reporter:datatype="int"/>
6172 <field reporter:label="Deleted" name="deleted" reporter:datatype="int"/>
6173 <field reporter:label="Excluded" name="excluded" reporter:datatype="int"/>
6177 <class id="asv" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="action::survey" oils_persist:tablename="action.survey" reporter:label="Survey">
6178 <fields oils_persist:primary="id" oils_persist:sequence="action.survey_id_seq">
6179 <field reporter:label="Questions" name="questions" oils_persist:virtual="true" reporter:datatype="link"/>
6180 <field reporter:label="Responses" name="responses" oils_persist:virtual="true" reporter:datatype="link"/>
6181 <field reporter:label="Description" name="description" reporter:datatype="text"/>
6182 <field reporter:label="Survey End Date/Time" name="end_date" reporter:datatype="timestamp"/>
6183 <field reporter:label="Survey ID" name="id" reporter:datatype="id"/>
6184 <field reporter:label="Name" name="name" reporter:datatype="text"/>
6185 <field reporter:label="OPAC Survey?" name="opac" reporter:datatype="bool"/>
6186 <field reporter:label="Owning Library" name="owner" reporter:datatype="org_unit"/>
6187 <field reporter:label="Poll Style?" name="poll" reporter:datatype="bool"/>
6188 <field reporter:label="Is Required?" name="required" reporter:datatype="bool"/>
6189 <field reporter:label="Survey Start Date/Time" name="start_date" reporter:datatype="timestamp"/>
6190 <field reporter:label="Display in User Summary" name="usr_summary" reporter:datatype="bool"/>
6193 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
6194 <link field="responses" reltype="has_many" key="survey" map="" class="asvr"/>
6195 <link field="questions" reltype="has_many" key="survey" map="" class="asvq"/>
6197 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
6199 <create permission="ADMIN_SURVEY" context_field="owner"/>
6201 <update permission="ADMIN_SURVEY" context_field="owner"/>
6202 <delete permission="ADMIN_SURVEY" context_field="owner"/>
6206 <class id="aoa" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="actor::org_address" oils_persist:tablename="actor.org_address" reporter:label="Org Address">
6207 <fields oils_persist:primary="id" oils_persist:sequence="actor.org_address_id_seq">
6208 <field name="address_type" reporter:datatype="text"/>
6209 <field name="city" reporter:datatype="text"/>
6210 <field name="country" reporter:datatype="text"/>
6211 <field name="county" reporter:datatype="text"/>
6212 <field name="id" reporter:datatype="id" />
6213 <field name="org_unit" reporter:datatype="org_unit"/>
6214 <field name="post_code" reporter:datatype="text"/>
6215 <field name="state" reporter:datatype="text"/>
6216 <field name="street1" reporter:datatype="text"/>
6217 <field name="street2" reporter:datatype="text"/>
6218 <field name="valid" reporter:datatype="bool"/>
6219 <field name="san" reporter:datatype="text" reporter:label="SAN"/>
6222 <link field="org_unit" reltype="has_a" key="id" map="" class="aou"/>
6224 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
6226 <create permission="CREATE_ORG_ADDRESS" context_field="org_unit"/>
6228 <update permission="UPDATE_ORG_ADDRESS" context_field="org_unit"/>
6229 <delete permission="DELETE_ORG_ADDRESS" context_field="org_unit"/>
6233 <class id="asq" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="actor::search_query" oils_persist:tablename="actor.search_query" reporter:label="Search Query" oils_persist:field_safe="true">
6234 <fields oils_persist:primary="id" oils_persist:sequence="actor.search_query_id_seq">
6235 <field name="id" reporter:datatype="id" reporter:selector="label"/>
6236 <field name="label" reporter:datatype="text" oils_persist:i18n="true"/>
6237 <field name="query_text" reporter:datatype="text"/>
6239 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
6246 <class id="asfg" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="actor::search_filter_group" oils_persist:tablename="actor.search_filter_group" reporter:label="Search Filter Group" oils_persist:field_safe="true">
6247 <fields oils_persist:primary="id" oils_persist:sequence="actor.search_filter_group_id_seq">
6248 <field name="id" reporter:datatype="id" reporter:selector="label"/>
6249 <field name="owner" reporter:datatype="org_unit"/>
6250 <field name="code" reporter:datatype="text"/>
6251 <field name="label" reporter:datatype="text" oils_persist:i18n="true"/>
6252 <field name="create_date" reporter:datatype="timestamp"/>
6253 <field name="entries" oils_persist:virtual="true" reporter:datatype="link"/>
6256 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
6257 <link field="entries" reltype="has_many" key="grp" map="" class="asfge"/>
6259 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
6261 <create permission="ADMIN_SEARCH_FILTER_GROUP" context_field="owner"/>
6263 <update permission="ADMIN_SEARCH_FILTER_GROUP" context_field="owner"/>
6264 <delete permission="ADMIN_SEARCH_FILTER_GROUP" context_field="owner"/>
6268 <class id="asfge" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="actor::search_filter_group_entry" oils_persist:tablename="actor.search_filter_group_entry" reporter:label="Search Filter Group Entry" oils_persist:field_safe="true">
6269 <fields oils_persist:primary="id" oils_persist:sequence="actor.search_filter_group_entry_id_seq">
6270 <field name="id" reporter:datatype="id"/>
6271 <field name="grp" reporter:datatype="link"/>
6272 <field name="pos" reporter:datatype="int"/>
6273 <field name="query" reporter:datatype="link"/>
6276 <link field="grp" reltype="has_a" key="id" map="" class="asfg"/>
6277 <link field="query" reltype="has_a" key="id" map="" class="asq"/>
6279 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
6281 <create permission="ADMIN_SEARCH_FILTER_GROUP">
6282 <context link="grp" field="owner"/>
6285 <update permission="ADMIN_SEARCH_FILTER_GROUP">
6286 <context link="grp" field="owner"/>
6288 <delete permission="ADMIN_SEARCH_FILTER_GROUP">
6289 <context link="grp" field="owner"/>
6295 <!-- A note: Please update alhr and ahopl when updating ahr -->
6296 <class id="ahr" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="action::hold_request" oils_persist:tablename="action.hold_request" reporter:core="true" reporter:label="Hold Request">
6297 <fields oils_persist:primary="id" oils_persist:sequence="action.hold_request_id_seq">
6298 <field reporter:label="Status" name="status" oils_persist:virtual="true" />
6299 <field reporter:label="Transit" name="transit" oils_persist:virtual="true" />
6300 <field reporter:label="Capture Date/Time" name="capture_time" reporter:datatype="timestamp"/>
6301 <field reporter:label="Currently Targeted Copy" name="current_copy" reporter:datatype="link"/>
6302 <field reporter:label="Notify by Email?" name="email_notify" reporter:datatype="bool"/>
6303 <field reporter:label="Hold Expire Date/Time" name="expire_time" reporter:datatype="timestamp"/>
6304 <field reporter:label="Fulfilling Library" name="fulfillment_lib" reporter:datatype="org_unit"/>
6305 <field reporter:label="Fulfilling Staff" name="fulfillment_staff" />
6306 <field reporter:label="Fulfillment Date/Time" name="fulfillment_time" reporter:datatype="timestamp"/>
6307 <field reporter:label="Hold Type" name="hold_type" reporter:datatype="text"/>
6308 <field reporter:label="Holdable Formats (for M-type hold)" name="holdable_formats" reporter:datatype="text"/>
6309 <field reporter:label="Hold ID" name="id" reporter:datatype="id" />
6310 <field reporter:label="Notifications Phone Number" name="phone_notify" reporter:datatype="text"/>
6311 <field reporter:label="Notifications SMS Number" name="sms_notify" reporter:datatype="text"/>
6312 <field reporter:label="Notifications SMS Carrier" name="sms_carrier" reporter:datatype="link"/>
6313 <field reporter:label="Pickup Library" name="pickup_lib" reporter:datatype="org_unit"/>
6314 <field reporter:label="Last Targeting Date/Time" name="prev_check_time" reporter:datatype="timestamp"/>
6315 <field reporter:label="Requesting Library" name="request_lib" reporter:datatype="org_unit"/>
6316 <field reporter:label="Request Date/Time" name="request_time" reporter:datatype="timestamp"/>
6317 <field reporter:label="Requesting User" name="requestor" reporter:datatype="link"/>
6318 <field reporter:label="Item Selection Depth" name="selection_depth" />
6319 <field reporter:label="Selection Locus" name="selection_ou" reporter:datatype="org_unit"/>
6320 <field reporter:label="Target Object ID" name="target" reporter:datatype="link"/>
6321 <field reporter:label="Hold User" name="usr" reporter:datatype="link"/>
6322 <field reporter:label="Hold Cancel Date/Time" name="cancel_time" reporter:datatype="timestamp"/>
6323 <field reporter:label="Notify Time" name="notify_time" oils_persist:virtual="true" reporter:datatype="timestamp"/>
6324 <field reporter:label="Notify Count" name="notify_count" oils_persist:virtual="true" reporter:datatype="int" />
6325 <field reporter:label="Notifications" name="notifications" oils_persist:virtual="true" reporter:datatype="link"/>
6326 <field reporter:label="Bib Record link" name="bib_rec" oils_persist:virtual="true" reporter:datatype="link"/>
6327 <field reporter:label="Eligible Copies" name="eligible_copies" oils_persist:virtual="true" reporter:datatype="link"/>
6328 <field reporter:label="Currently Frozen" name="frozen" reporter:datatype="bool"/>
6329 <field reporter:label="Activation Date" name="thaw_date" reporter:datatype="timestamp"/>
6330 <field reporter:label="Shelf Time" name="shelf_time" reporter:datatype="timestamp"/>
6331 <field reporter:label="Cancelation cause" name="cancel_cause" reporter:datatype="link" />
6332 <field reporter:label="Cancelation note" name="cancel_note" reporter:datatype="text" />
6333 <field reporter:label="Top of Queue" name="cut_in_line" reporter:datatype="bool" />
6334 <field reporter:label="Is Mint Condition" name="mint_condition" reporter:datatype="bool" />
6335 <field reporter:label="Shelf Expire Time" name="shelf_expire_time" reporter:datatype="timestamp"/>
6336 <field reporter:label="Notes" name="notes" reporter:datatype="link" oils_persist:virtual="true"/>
6337 <field reporter:label="Current Shelf Lib" name="current_shelf_lib" reporter:datatype="org_unit"/>
6338 <field reporter:label="Behind Desk" name="behind_desk" reporter:datatype="bool"/>
6339 <field reporter:label="Acquisition Request" name="acq_request" reporter:datatype="link" />
6342 <link field="fulfillment_lib" reltype="has_a" key="id" map="" class="aou"/>
6343 <link field="fulfillment_staff" reltype="has_a" key="id" map="" class="au"/>
6344 <link field="pickup_lib" reltype="has_a" key="id" map="" class="aou"/>
6345 <link field="selection_ou" reltype="has_a" key="id" map="" class="aou"/>
6346 <link field="requestor" reltype="has_a" key="id" map="" class="au"/>
6347 <link field="current_copy" reltype="has_a" key="id" map="" class="acp"/>
6348 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
6349 <link field="request_lib" reltype="has_a" key="id" map="" class="aou"/>
6350 <link field="transit" reltype="might_have" key="hold" map="" class="ahtc"/>
6351 <link field="notifications" reltype="has_many" key="hold" map="" class="ahn"/>
6352 <link field="eligible_copies" reltype="has_many" key="hold" map="target_copy" class="ahcm"/>
6353 <link field="bib_rec" reltype="might_have" key="id" map="" class="rhrr"/>
6354 <link field="cancel_cause" reltype="might_have" key="id" map="" class="ahrcc"/>
6355 <link field="notes" reltype="has_many" key="hold" map="" class="ahrn"/>
6356 <link field="current_shelf_lib" reltype="has_a" key="id" map="" class="aou"/>
6357 <link field="sms_carrier" reltype="has_a" key="id" map="" class="csc"/>
6358 <link field="acq_request" reltype="has_a" key="id" map="" class="aur"/>
6360 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
6362 <retrieve permission="VIEW_HOLD" context_field="pickup_lib" />
6366 <class id="ahopl" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="action::hold_on_pull_list" reporter:label="Hold On Pull List" oils_persist:readonly="true">
6367 <oils_persist:source_definition><![CDATA[
6370 COALESCE(acplo.position, acpl_ordered.fallback_position) AS
6371 copy_location_order_position,
6372 CASE WHEN au.alias IS NOT NULL THEN
6376 END AS usr_alias_or_first_given_name,
6377 au.first_given_name AS usr_first_given_name,
6378 au.second_given_name AS usr_second_given_name,
6379 au.family_name AS usr_family_name,
6380 au.prefix AS usr_prefix,
6381 au.suffix AS usr_suffix,
6382 au.alias AS usr_alias,
6383 CASE WHEN au.alias IS NOT NULL THEN
6386 REGEXP_REPLACE(ARRAY_TO_STRING(ARRAY[
6387 COALESCE(au.family_name, ''),
6388 COALESCE(au.suffix, ''),
6390 COALESCE(au.prefix, ''),
6391 COALESCE(au.first_given_name, ''),
6392 COALESCE(au.second_given_name, '')
6393 ], ' '), E'\\s+,', ',')
6394 END AS usr_alias_or_display_name,
6395 REGEXP_REPLACE(ARRAY_TO_STRING(ARRAY[
6396 COALESCE(au.family_name, ''),
6397 COALESCE(au.suffix, ''),
6399 COALESCE(au.prefix, ''),
6400 COALESCE(au.first_given_name, ''),
6401 COALESCE(au.second_given_name, '')
6402 ], ' '), E'\\s+,', ',') AS usr_display_name,
6403 TRIM(acnp.label || ' ' || acn.label || ' ' || acns.label)
6404 AS call_number_label,
6405 siss.label AS issuance_label,
6406 (ahr.usr <> ahr.requestor) AS is_staff_hold,
6407 ahcm_1.copy_count AS potential_copies
6408 FROM action.hold_request ahr
6409 JOIN asset.copy acp ON (acp.id = ahr.current_copy)
6410 JOIN asset.call_number acn ON (acp.call_number = acn.id)
6411 JOIN asset.call_number_prefix acnp ON (acn.prefix = acnp.id)
6412 JOIN asset.call_number_suffix acns ON (acn.suffix = acns.id)
6413 JOIN actor.usr au ON (au.id = ahr.usr)
6415 SELECT *, (ROW_NUMBER() OVER (ORDER BY name) + 1000000) AS fallback_position
6416 FROM asset.copy_location
6417 ) acpl_ordered ON (acpl_ordered.id = acp.location)
6418 LEFT JOIN actor.usr_standing_penalty ausp
6419 ON (ahr.usr = ausp.usr AND (ausp.stop_date IS NULL OR ausp.stop_date > NOW()))
6420 LEFT JOIN config.standing_penalty csp
6422 csp.id = ausp.standing_penalty AND
6423 csp.block_list LIKE '%CAPTURE%' AND (
6424 (csp.org_depth IS NULL AND ahr.pickup_lib = ausp.org_unit) OR
6425 (csp.org_depth IS NOT NULL AND ahr.pickup_lib IN (
6426 SELECT id FROM actor.org_unit_descendants(ausp.org_unit, csp.org_depth))
6431 SELECT COUNT(target_copy) AS copy_count, hold
6432 FROM action.hold_copy_map
6434 ) ahcm_1 ON (ahcm_1.hold = ahr.id)
6435 LEFT JOIN serial.issuance siss
6436 ON (ahr.hold_type = 'I' AND siss.id = ahr.target)
6437 LEFT JOIN asset.copy_location_order acplo
6438 ON (acp.location = acplo.location AND
6439 acp.circ_lib = acplo.org)
6441 ahr.capture_time IS NULL AND
6442 ahr.cancel_time IS NULL AND
6444 (ahr.expire_time is NULL OR ahr.expire_time > NOW()) AND
6446 ]]></oils_persist:source_definition>
6447 <fields oils_persist:primary="id">
6448 <field reporter:label="Status" name="status" oils_persist:virtual="true" />
6449 <field reporter:label="Transit" name="transit" oils_persist:virtual="true" />
6450 <field reporter:label="Capture Date/Time" name="capture_time" reporter:datatype="timestamp"/>
6451 <field reporter:label="Currently Targeted Copy" name="current_copy" reporter:datatype="link"/>
6452 <field reporter:label="Notify by Email?" name="email_notify" reporter:datatype="bool"/>
6453 <field reporter:label="Hold Expire Date/Time" name="expire_time" reporter:datatype="timestamp"/>
6454 <field reporter:label="Fulfilling Library" name="fulfillment_lib" reporter:datatype="org_unit"/>
6455 <field reporter:label="Fulfilling Staff" name="fulfillment_staff" />
6456 <field reporter:label="Fulfillment Date/Time" name="fulfillment_time" reporter:datatype="timestamp"/>
6457 <field reporter:label="Hold Type" name="hold_type" reporter:datatype="text"/>
6458 <field reporter:label="Holdable Formats (for M-type hold)" name="holdable_formats" reporter:datatype="text"/>
6459 <field reporter:label="Hold ID" name="id" reporter:datatype="id" />
6460 <field reporter:label="Notifications Phone Number" name="phone_notify" reporter:datatype="text"/>
6461 <field reporter:label="Notifications SMS Number" name="sms_notify" reporter:datatype="text"/>
6462 <field reporter:label="Notifications SMS Carrier" name="sms_carrier" reporter:datatype="link"/>
6463 <field reporter:label="Pickup Library" name="pickup_lib" reporter:datatype="org_unit"/>
6464 <field reporter:label="Last Targeting Date/Time" name="prev_check_time" reporter:datatype="timestamp"/>
6465 <field reporter:label="Requesting Library" name="request_lib" reporter:datatype="org_unit"/>
6466 <field reporter:label="Request Date/Time" name="request_time" reporter:datatype="timestamp"/>
6467 <field reporter:label="Requesting User" name="requestor" reporter:datatype="link"/>
6468 <field reporter:label="Item Selection Depth" name="selection_depth" />
6469 <field reporter:label="Selection Locus" name="selection_ou" reporter:datatype="org_unit"/>
6470 <field reporter:label="Target Object ID" name="target" reporter:datatype="link"/>
6471 <field reporter:label="Hold User" name="usr" reporter:datatype="link"/>
6472 <field reporter:label="Hold Cancel Date/Time" name="cancel_time" reporter:datatype="timestamp"/>
6473 <field reporter:label="Notify Time" name="notify_time" oils_persist:virtual="true" reporter:datatype="timestamp"/>
6474 <field reporter:label="Notify Count" name="notify_count" oils_persist:virtual="true" reporter:datatype="int" />
6475 <field reporter:label="Notifications" name="notifications" oils_persist:virtual="true" reporter:datatype="link"/>
6476 <field reporter:label="Bib Record link" name="bib_rec" oils_persist:virtual="true" reporter:datatype="link"/>
6477 <field reporter:label="Eligible Copies" name="eligible_copies" oils_persist:virtual="true" reporter:datatype="link"/>
6478 <field reporter:label="Currently Frozen" name="frozen" reporter:datatype="bool"/>
6479 <field reporter:label="Activation Date" name="thaw_date" reporter:datatype="timestamp"/>
6480 <field reporter:label="Shelf Time" name="shelf_time" reporter:datatype="timestamp"/>
6481 <field reporter:label="Cancelation cause" name="cancel_cause" reporter:datatype="link" />
6482 <field reporter:label="Cancelation note" name="cancel_note" reporter:datatype="text" />
6483 <field reporter:label="Top of Queue" name="cut_in_line" reporter:datatype="bool" />
6484 <field reporter:label="Is Mint Condition" name="mint_condition" reporter:datatype="bool" />
6485 <field reporter:label="Shelf Expire Time" name="shelf_expire_time" reporter:datatype="timestamp"/>
6486 <field reporter:label="Notes" name="notes" reporter:datatype="link" oils_persist:virtual="true"/>
6487 <field reporter:label="Current Shelf Lib" name="current_shelf_lib" reporter:datatype="org_unit"/>
6488 <field reporter:label="Acquisition Request" name="acq_request" reporter:datatype="link" />
6489 <field reporter:label="Copy Location Sort Order" name="copy_location_order_position" reporter:datatype="int" />
6490 <field reporter:label="User First Given Name" name="usr_first_given_name" reporter:datatype="text" />
6491 <field reporter:label="User Second Given Name" name="usr_second_given_name" reporter:datatype="text" />
6492 <field reporter:label="User Family Name" name="usr_family_name" reporter:datatype="text" />
6493 <field reporter:label="User Prefix" name="usr_prefix" reporter:datatype="text" />
6494 <field reporter:label="User Suffix" name="usr_suffix" reporter:datatype="text" />
6495 <field reporter:label="User Alias or First Given Name" name="usr_alias_or_first_given_name" reporter:datatype="text" />
6496 <field reporter:label="User Display Name" name="usr_display_name" reporter:datatype="text" />
6497 <field reporter:label="User Alias or Display Name" name="usr_alias_or_display_name" reporter:datatype="text" />
6498 <field reporter:label="User Alias" name="usr_alias" reporter:datatype="text" />
6499 <field reporter:label="Call Number Label" name="call_number_label" reporter:datatype="text" />
6500 <field reporter:label="Issuance Label" name="issuance_label" reporter:datatype="text" />
6501 <field reporter:label="Is Staff Hold?" name="is_staff_hold" reporter:datatype="bool" />
6502 <field reporter:label="Potential Copies" name="potential_copies" reporter:datatype="int" />
6503 <field reporter:label="Behind Desk" name="behind_desk" reporter:datatype="bool"/>
6506 <link field="fulfillment_lib" reltype="has_a" key="id" map="" class="aou"/>
6507 <link field="fulfillment_staff" reltype="has_a" key="id" map="" class="au"/>
6508 <link field="pickup_lib" reltype="has_a" key="id" map="" class="aou"/>
6509 <link field="selection_ou" reltype="has_a" key="id" map="" class="aou"/>
6510 <link field="requestor" reltype="has_a" key="id" map="" class="au"/>
6511 <link field="current_copy" reltype="has_a" key="id" map="" class="acp"/>
6512 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
6513 <link field="request_lib" reltype="has_a" key="id" map="" class="aou"/>
6514 <link field="transit" reltype="might_have" key="hold" map="" class="ahtc"/>
6515 <link field="notifications" reltype="has_many" key="hold" map="" class="ahn"/>
6516 <link field="eligible_copies" reltype="has_many" key="hold" map="target_copy" class="ahcm"/>
6517 <link field="bib_rec" reltype="might_have" key="id" map="" class="rhrr"/>
6518 <link field="cancel_cause" reltype="might_have" key="id" map="" class="ahrcc"/>
6519 <link field="notes" reltype="has_many" key="hold" map="" class="ahrn"/>
6520 <link field="current_shelf_lib" reltype="has_a" key="id" map="" class="aou"/>
6521 <link field="sms_carrier" reltype="has_a" key="id" map="" class="csc"/>
6522 <link field="acq_request" reltype="has_a" key="id" map="" class="aur"/>
6524 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
6526 <retrieve permission="VIEW_HOLD" context_field="pickup_lib" />
6530 <class id="alhr" controller="open-ils.cstore" oils_obj:fieldmapper="action::last_hold_request" reporter:label="Last Captured Hold Request" oils_persist:readonly="true">
6531 <oils_persist:source_definition><![CDATA[
6532 SELECT ahr.* FROM action.hold_request ahr JOIN (SELECT current_copy, MAX(capture_time) AS capture_time FROM action.hold_request WHERE capture_time IS NOT NULL AND current_copy IS NOT NULL AND fulfillment_time IS NULL GROUP BY current_copy)x USING (current_copy, capture_time)
6533 ]]></oils_persist:source_definition>
6534 <fields oils_persist:primary="id">
6535 <field reporter:label="Status" name="status" oils_persist:virtual="true" />
6536 <field reporter:label="Transit" name="transit" oils_persist:virtual="true" />
6537 <field reporter:label="Capture Date/Time" name="capture_time" reporter:datatype="timestamp"/>
6538 <field reporter:label="Currently Targeted Copy" name="current_copy" reporter:datatype="link"/>
6539 <field reporter:label="Notify by Email?" name="email_notify" reporter:datatype="bool"/>
6540 <field reporter:label="Hold Expire Date/Time" name="expire_time" reporter:datatype="timestamp"/>
6541 <field reporter:label="Fulfilling Library" name="fulfillment_lib" reporter:datatype="org_unit"/>
6542 <field reporter:label="Fulfilling Staff" name="fulfillment_staff" />
6543 <field reporter:label="Fulfillment Date/Time" name="fulfillment_time" reporter:datatype="timestamp"/>
6544 <field reporter:label="Hold Type" name="hold_type" reporter:datatype="text"/>
6545 <field reporter:label="Holdable Formats (for M-type hold)" name="holdable_formats" reporter:datatype="text"/>
6546 <field reporter:label="Hold ID" name="id" reporter:datatype="id" />
6547 <field reporter:label="Notifications Phone Number" name="phone_notify" reporter:datatype="text"/>
6548 <field reporter:label="Pickup Library" name="pickup_lib" reporter:datatype="org_unit"/>
6549 <field reporter:label="Last Targeting Date/Time" name="prev_check_time" reporter:datatype="timestamp"/>
6550 <field reporter:label="Requesting Library" name="request_lib" reporter:datatype="org_unit"/>
6551 <field reporter:label="Request Date/Time" name="request_time" reporter:datatype="timestamp"/>
6552 <field reporter:label="Requesting User" name="requestor" reporter:datatype="link"/>
6553 <field reporter:label="Item Selection Depth" name="selection_depth" />
6554 <field reporter:label="Selection Locus" name="selection_ou" reporter:datatype="org_unit"/>
6555 <field reporter:label="Target Object ID" name="target" reporter:datatype="link"/>
6556 <field reporter:label="Hold User" name="usr" reporter:datatype="link"/>
6557 <field reporter:label="Hold Cancel Date/Time" name="cancel_time" reporter:datatype="timestamp"/>
6558 <field reporter:label="Notify Time" name="notify_time" oils_persist:virtual="true" reporter:datatype="timestamp"/>
6559 <field reporter:label="Notify Count" name="notify_count" oils_persist:virtual="true" reporter:datatype="int" />
6560 <field reporter:label="Notifications" name="notifications" oils_persist:virtual="true" reporter:datatype="link"/>
6561 <field reporter:label="Bib Record link" name="bib_rec" oils_persist:virtual="true" reporter:datatype="link"/>
6562 <field reporter:label="Eligible Copies" name="eligible_copies" oils_persist:virtual="true" reporter:datatype="link"/>
6563 <field reporter:label="Currently Frozen" name="frozen" reporter:datatype="bool"/>
6564 <field reporter:label="Activation Date" name="thaw_date" reporter:datatype="timestamp"/>
6565 <field reporter:label="Shelf Time" name="shelf_time" reporter:datatype="timestamp"/>
6566 <field reporter:label="Cancelation cause" name="cancel_cause" reporter:datatype="link" />
6567 <field reporter:label="Cancelation note" name="cancel_note" reporter:datatype="text" />
6568 <field reporter:label="Top of Queue" name="cut_in_line" reporter:datatype="bool" />
6569 <field reporter:label="Is Mint Condition" name="mint_condition" reporter:datatype="bool" />
6570 <field reporter:label="Shelf Expire Time" name="shelf_expire_time" reporter:datatype="timestamp"/>
6571 <field reporter:label="Notes" name="notes" reporter:datatype="link" oils_persist:virtual="true"/>
6572 <field reporter:label="Current Shelf Lib" name="current_shelf_lib" reporter:datatype="org_unit"/>
6573 <field reporter:label="Behind Desk" name="behind_desk" reporter:datatype="bool"/>
6574 <field reporter:label="Acquisition Request" name="acq_request" reporter:datatype="link" />
6577 <link field="fulfillment_lib" reltype="has_a" key="id" map="" class="aou"/>
6578 <link field="fulfillment_staff" reltype="has_a" key="id" map="" class="au"/>
6579 <link field="pickup_lib" reltype="has_a" key="id" map="" class="aou"/>
6580 <link field="selection_ou" reltype="has_a" key="id" map="" class="aou"/>
6581 <link field="requestor" reltype="has_a" key="id" map="" class="au"/>
6582 <link field="current_copy" reltype="has_a" key="id" map="" class="acp"/>
6583 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
6584 <link field="request_lib" reltype="has_a" key="id" map="" class="aou"/>
6585 <link field="transit" reltype="might_have" key="hold" map="" class="ahtc"/>
6586 <link field="notifications" reltype="has_many" key="hold" map="" class="ahn"/>
6587 <link field="eligible_copies" reltype="has_many" key="hold" map="target_copy" class="ahcm"/>
6588 <link field="bib_rec" reltype="might_have" key="id" map="" class="rhrr"/>
6589 <link field="cancel_cause" reltype="might_have" key="id" map="" class="ahrcc"/>
6590 <link field="notes" reltype="has_many" key="hold" map="" class="ahrn"/>
6591 <link field="current_shelf_lib" reltype="has_a" key="id" map="" class="aou"/>
6592 <link field="acq_request" reltype="has_a" key="id" map="" class="aur"/>
6596 <class id="ahrn" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="action::hold_request_note" oils_persist:tablename="action.hold_request_note" reporter:label="Hold Request Note">
6597 <fields oils_persist:primary="id" oils_persist:sequence="action.hold_request_note_id_seq">
6598 <field reporter:label="ID" name="id" reporter:datatype="id"/>
6599 <field reporter:label="Hold ID" name="hold" reporter:datatype="link"/>
6600 <field reporter:label="Title" name="title" reporter:datatype="text"/>
6601 <field reporter:label="Body" name="body" reporter:datatype="text"/>
6602 <field reporter:label="Slip?" name="slip" reporter:datatype="bool"/>
6603 <field reporter:label="Pub?" name="pub" reporter:datatype="bool"/>
6604 <field reporter:label="Staff?" name="staff" reporter:datatype="bool"/>
6607 <link field="hold" reltype="has_a" key="id" map="" class="ahr"/>
6609 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
6611 <create permission="UPDATE_HOLD"><context link="hold" field="request_lib"/></create>
6612 <retrieve permission="VIEW_USER"><context link="hold" field="request_lib"/></retrieve>
6613 <update permission="UPDATE_HOLD"><context link="hold" field="request_lib"/></update>
6614 <delete permission="UPDATE_HOLD"><context link="hold" field="request_lib"/></delete>
6618 <class id="combahr" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="action::all_hold_request" oils_persist:tablename="action.all_hold_request" reporter:core="true" reporter:label="Combined (Active & Aged) Hold Request">
6619 <fields oils_persist:primary="id" oils_persist:sequence="action.hold_request_id_seq">
6620 <field reporter:label="Status" name="status" oils_persist:virtual="true" />
6621 <field reporter:label="Capture Date/Time" name="capture_time" reporter:datatype="timestamp"/>
6622 <field reporter:label="Currently Targeted Copy" name="current_copy" reporter:datatype="link"/>
6623 <field reporter:label="Notify by Email?" name="email_notify" reporter:datatype="bool"/>
6624 <field reporter:label="Hold Expire Date/Time" name="expire_time" reporter:datatype="timestamp"/>
6625 <field reporter:label="Fulfilling Library" name="fulfillment_lib" reporter:datatype="org_unit"/>
6626 <field reporter:label="Fulfilling Staff" name="fulfillment_staff" />
6627 <field reporter:label="Fulfillment Date/Time" name="fulfillment_time" reporter:datatype="timestamp"/>
6628 <field reporter:label="Hold Type" name="hold_type" reporter:datatype="text"/>
6629 <field reporter:label="Holdable Formats (for M-type hold)" name="holdable_formats" reporter:datatype="text"/>
6630 <field reporter:label="Hold ID" name="id" reporter:datatype="id" />
6631 <field reporter:label="Notify by Phone?" name="phone_notify" reporter:datatype="bool"/>
6632 <field reporter:label="Notify by SMS?" name="sms_notify" reporter:datatype="bool"/>
6633 <field reporter:label="Pickup Library" name="pickup_lib" reporter:datatype="org_unit"/>
6634 <field reporter:label="Last Targeting Date/Time" name="prev_check_time" reporter:datatype="timestamp"/>
6635 <field reporter:label="Requesting Library" name="request_lib" reporter:datatype="org_unit"/>
6636 <field reporter:label="Request Date/Time" name="request_time" reporter:datatype="timestamp"/>
6637 <field reporter:label="Patron ZIP" name="usr_post_code" reporter:datatype="text"/>
6638 <field reporter:label="Patron Home Library" name="usr_home_ou" reporter:datatype="link"/>
6639 <field reporter:label="Patron Profile Group" name="usr_profile" reporter:datatype="link"/>
6640 <field reporter:label="Patron Birth Year" name="usr_birth_year" reporter:datatype="int"/>
6641 <field reporter:label="Staff Placed?" name="staff_placed" reporter:datatype="bool"/>
6642 <field reporter:label="Item Selection Depth" name="selection_depth" />
6643 <field reporter:label="Selection Locus" name="selection_ou" reporter:datatype="org_unit"/>
6644 <field reporter:label="Target Object ID" name="target" reporter:datatype="link"/>
6645 <field reporter:label="Hold Cancel Date/Time" name="cancel_time" reporter:datatype="timestamp"/>
6646 <field reporter:label="Bib Record link" name="bib_rec" oils_persist:virtual="true" reporter:datatype="link"/>
6647 <field reporter:label="Currently Frozen" name="frozen" reporter:datatype="bool"/>
6648 <field reporter:label="Activation Date" name="thaw_date" reporter:datatype="timestamp"/>
6649 <field reporter:label="Shelf Time" name="shelf_time" reporter:datatype="timestamp"/>
6650 <field reporter:label="Cancelation cause" name="cancel_cause" reporter:datatype="link" />
6651 <field reporter:label="Cancelation note" name="cancel_note" reporter:datatype="text" />
6652 <field reporter:label="Top of Queue" name="cut_in_line" reporter:datatype="bool" />
6653 <field reporter:label="Is Mint Condition" name="mint_condition" reporter:datatype="bool" />
6654 <field reporter:label="Shelf Expire Time" name="shelf_expire_time" reporter:datatype="timestamp"/>
6655 <field reporter:label="Current Shelf Lib" name="current_shelf_lib" reporter:datatype="org_unit"/>
6656 <field reporter:label="Behind Desk" name="behind_desk" reporter:datatype="bool"/>
6659 <link field="fulfillment_lib" reltype="has_a" key="id" map="" class="aou"/>
6660 <link field="fulfillment_staff" reltype="has_a" key="id" map="" class="au"/>
6661 <link field="pickup_lib" reltype="has_a" key="id" map="" class="aou"/>
6662 <link field="selection_ou" reltype="has_a" key="id" map="" class="aou"/>
6663 <link field="current_copy" reltype="has_a" key="id" map="" class="acp"/>
6664 <link field="request_lib" reltype="has_a" key="id" map="" class="aou"/>
6665 <link field="usr_home_ou" reltype="has_a" key="id" map="" class="aou"/>
6666 <link field="bib_rec" reltype="might_have" key="id" map="" class="rhrr"/>
6667 <link field="cancel_cause" reltype="might_have" key="id" map="" class="ahrcc"/>
6668 <link field="current_shelf_lib" reltype="has_a" key="id" map="" class="aou"/>
6669 <link field="usr_profile" reltype="has_a" key="id" map="" class="pgt"/>
6671 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
6673 <retrieve permission="VIEW_HOLD" context_field="pickup_lib" />
6677 <class id="aahr" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="action::aged_hold_request" oils_persist:tablename="action.aged_hold_request" reporter:core="true" reporter:label="Aged Hold Request">
6678 <fields oils_persist:primary="id" oils_persist:sequence="action.hold_request_id_seq">
6679 <field reporter:label="Status" name="status" oils_persist:virtual="true" />
6680 <field reporter:label="Capture Date/Time" name="capture_time" reporter:datatype="timestamp"/>
6681 <field reporter:label="Currently Targeted Copy" name="current_copy" reporter:datatype="link"/>
6682 <field reporter:label="Notify by Email?" name="email_notify" reporter:datatype="bool"/>
6683 <field reporter:label="Hold Expire Date/Time" name="expire_time" reporter:datatype="timestamp"/>
6684 <field reporter:label="Fulfilling Library" name="fulfillment_lib" reporter:datatype="org_unit"/>
6685 <field reporter:label="Fulfilling Staff" name="fulfillment_staff" />
6686 <field reporter:label="Fulfillment Date/Time" name="fulfillment_time" reporter:datatype="timestamp"/>
6687 <field reporter:label="Hold Type" name="hold_type" reporter:datatype="text"/>
6688 <field reporter:label="Holdable Formats (for M-type hold)" name="holdable_formats" reporter:datatype="text"/>
6689 <field reporter:label="Hold ID" name="id" reporter:datatype="id" />
6690 <field reporter:label="Notify by Phone?" name="phone_notify" reporter:datatype="bool"/>
6691 <field reporter:label="Notify by SMS?" name="sms_notify" reporter:datatype="bool"/>
6692 <field reporter:label="Pickup Library" name="pickup_lib" reporter:datatype="org_unit"/>
6693 <field reporter:label="Last Targeting Date/Time" name="prev_check_time" reporter:datatype="timestamp"/>
6694 <field reporter:label="Requesting Library" name="request_lib" reporter:datatype="org_unit"/>
6695 <field reporter:label="Request Date/Time" name="request_time" reporter:datatype="timestamp"/>
6696 <field reporter:label="Patron ZIP" name="usr_post_code" reporter:datatype="text"/>
6697 <field reporter:label="Patron Home Library" name="usr_home_ou" reporter:datatype="link"/>
6698 <field reporter:label="Patron Profile Group" name="usr_profile" reporter:datatype="link"/>
6699 <field reporter:label="Patron Birth Year" name="usr_birth_year" reporter:datatype="int"/>
6700 <field reporter:label="Staff Placed?" name="staff_placed" reporter:datatype="bool"/>
6701 <field reporter:label="Item Selection Depth" name="selection_depth" />
6702 <field reporter:label="Selection Locus" name="selection_ou" reporter:datatype="org_unit"/>
6703 <field reporter:label="Target Object ID" name="target" reporter:datatype="link"/>
6704 <field reporter:label="Hold Cancel Date/Time" name="cancel_time" reporter:datatype="timestamp"/>
6705 <field reporter:label="Bib Record link" name="bib_rec" oils_persist:virtual="true" reporter:datatype="link"/>
6706 <field reporter:label="Currently Frozen" name="frozen" reporter:datatype="bool"/>
6707 <field reporter:label="Activation Date" name="thaw_date" reporter:datatype="timestamp"/>
6708 <field reporter:label="Shelf Time" name="shelf_time" reporter:datatype="timestamp"/>
6709 <field reporter:label="Cancelation cause" name="cancel_cause" reporter:datatype="link" />
6710 <field reporter:label="Cancelation note" name="cancel_note" reporter:datatype="text" />
6711 <field reporter:label="Top of Queue" name="cut_in_line" reporter:datatype="bool" />
6712 <field reporter:label="Is Mint Condition" name="mint_condition" reporter:datatype="bool" />
6713 <field reporter:label="Shelf Expire Time" name="shelf_expire_time" reporter:datatype="timestamp"/>
6714 <field reporter:label="Current Shelf Lib" name="current_shelf_lib" reporter:datatype="org_unit"/>
6717 <link field="fulfillment_lib" reltype="has_a" key="id" map="" class="aou"/>
6718 <link field="fulfillment_staff" reltype="has_a" key="id" map="" class="au"/>
6719 <link field="pickup_lib" reltype="has_a" key="id" map="" class="aou"/>
6720 <link field="selection_ou" reltype="has_a" key="id" map="" class="aou"/>
6721 <link field="current_copy" reltype="has_a" key="id" map="" class="acp"/>
6722 <link field="request_lib" reltype="has_a" key="id" map="" class="aou"/>
6723 <link field="usr_home_ou" reltype="has_a" key="id" map="" class="aou"/>
6724 <link field="bib_rec" reltype="might_have" key="id" map="" class="rhrr"/>
6725 <link field="cancel_cause" reltype="might_have" key="id" map="" class="ahrcc"/>
6726 <link field="current_shelf_lib" reltype="has_a" key="id" map="" class="aou"/>
6727 <link field="usr_profile" reltype="has_a" key="id" map="" class="pgt"/>
6729 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
6731 <retrieve permission="VIEW_HOLD" context_field="pickup_lib" />
6736 <class id="aou" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="actor::org_unit" oils_persist:tablename="actor.org_unit" reporter:label="Organizational Unit" oils_persist:field_safe="true">
6737 <fields oils_persist:primary="id" oils_persist:sequence="actor.org_unit_id_seq">
6738 <field reporter:label="Subordinate Organizational Units" name="children" oils_persist:virtual="true" reporter:datatype="org_unit"/>
6739 <field reporter:label="Billing Address" name="billing_address" reporter:datatype="link"/>
6740 <field reporter:label="Holds Receiving Address" name="holds_address" reporter:datatype="link"/>
6741 <field reporter:label="Organizational Unit ID" name="id" reporter:datatype="org_unit" reporter:selector="shortname"/>
6742 <field reporter:label="ILL Receiving Address" name="ill_address" reporter:datatype="link"/>
6743 <field reporter:label="Mailing Address" name="mailing_address" reporter:datatype="link"/>
6744 <field reporter:label="Name" name="name" reporter:datatype="text" oils_persist:i18n="true"/>
6745 <field reporter:label="Organizational Unit Type" name="ou_type" reporter:datatype="link"/>
6746 <field reporter:label="Parent Organizational Unit" name="parent_ou" reporter:datatype="link"/>
6747 <field reporter:label="Short (Policy) Name" name="shortname" reporter:datatype="text" oils_obj:required="true" oils_obj:validate="^.+$"/>
6748 <field reporter:label="Email Address" name="email" reporter:datatype="text"/>
6749 <field reporter:label="Phone Number" name="phone" reporter:datatype="text"/>
6750 <field reporter:label="OPAC Visible" name="opac_visible" reporter:datatype="bool"/>
6751 <field reporter:label="Fiscal Calendar" name="fiscal_calendar" reporter:datatype="link"/>
6752 <field reporter:label="Users" name="users" oils_persist:virtual="true" reporter:datatype="link"/>
6753 <field reporter:label="Closed Dates" name="closed_dates" oils_persist:virtual="true" reporter:datatype="link"/>
6754 <field reporter:label="Circulations" name="circulations" oils_persist:virtual="true" reporter:datatype="link"/>
6755 <field reporter:label="Settings" name="settings" oils_persist:virtual="true" reporter:datatype="link"/>
6756 <field reporter:label="Addresses" name="addresses" oils_persist:virtual="true" reporter:datatype="link"/>
6757 <field reporter:label="Checkins" name="checkins" oils_persist:virtual="true" reporter:datatype="link"/>
6758 <field reporter:label="Workstations" name="workstations" oils_persist:virtual="true" reporter:datatype="link"/>
6759 <field reporter:label="Fund Allocation Percentages" name="fund_alloc_pcts" oils_persist:virtual="true" reporter:datatype="link"/>
6760 <field reporter:label="Copy Location Orders" name="copy_location_orders" oils_persist:virtual="true" reporter:datatype="link"/>
6761 <field reporter:label="Transit Copy Prev Destinations" name="atc_prev_dests" oils_persist:virtual="true" reporter:datatype="link"/>
6762 <field reporter:label="Reservation Requests" name="resv_requests" oils_persist:virtual="true" reporter:datatype="link"/>
6763 <field reporter:label="Reservation Pickups" name="resv_pickups" oils_persist:virtual="true" reporter:datatype="link"/>
6764 <field reporter:label="Resource Types" name="rsrc_types" oils_persist:virtual="true" reporter:datatype="link"/>
6765 <field reporter:label="Resources" name="resources" oils_persist:virtual="true" reporter:datatype="link"/>
6766 <field reporter:label="Resource Attributes" name="rsrc_attrs" oils_persist:virtual="true" reporter:datatype="link"/>
6767 <field reporter:label="Attribute Values" name="attr_vals" oils_persist:virtual="true" reporter:datatype="link"/>
6768 <field reporter:label="Hours of Operation" name="hours_of_operation" oils_persist:virtual="true" reporter:datatype="link"/>
6771 <link field="billing_address" reltype="has_a" key="id" map="" class="aoa"/>
6772 <link field="holds_address" reltype="has_a" key="id" map="" class="aoa"/>
6773 <link field="ou_type" reltype="has_a" key="id" map="" class="aout"/>
6774 <link field="mailing_address" reltype="has_a" key="id" map="" class="aoa"/>
6775 <link field="parent_ou" reltype="has_a" key="id" map="" class="aou"/>
6776 <link field="ill_address" reltype="has_a" key="id" map="" class="aoa"/>
6777 <link field="fiscal_calendar" reltype="has_a" key="id" map="" class="acqfc"/>
6778 <link field="users" reltype="has_many" key="home_ou" map="" class="au"/>
6779 <link field="closed_dates" reltype="has_many" key="org_unit" map="" class="aoucd"/>
6780 <link field="children" reltype="has_many" key="parent_ou" map="" class="aou"/>
6781 <link field="circulations" reltype="has_many" key="circ_lib" map="" class="circ"/>
6782 <link field="settings" reltype="has_many" key="org_unit" map="" class="aous"/>
6783 <link field="addresses" reltype="has_many" key="org_unit" map="" class="aoa"/>
6784 <link field="checkins" reltype="has_many" key="checkin_lib" map="" class="circ"/>
6785 <link field="workstations" reltype="has_many" key="owning_lib" map="" class="aws"/>
6786 <link field="fund_alloc_pcts" reltype="has_many" key="org" map="" class="acqfap"/>
6787 <link field="copy_location_orders" reltype="has_many" key="org" map="" class="acplo"/>
6788 <link field="atc_prev_dests" reltype="has_many" key="prev_dest" map="" class="atc"/>
6789 <link field="resv_requests" reltype="has_many" key="request_lib" map="" class="bresv"/>
6790 <link field="resv_pickups" reltype="has_many" key="pickup_lib" map="" class="bresv"/>
6791 <link field="rsrc_types" reltype="has_many" key="owner" map="" class="brt"/>
6792 <link field="resources" reltype="has_many" key="owner" map="" class="brsrc"/>
6793 <link field="rsrc_attrs" reltype="has_many" key="owner" map="" class="bra"/>
6794 <link field="attr_vals" reltype="has_many" key="owner" map="" class="brav"/>
6795 <link field="hours_of_operation" reltype="might_have" key="id" map="" class="aouhoo"/>
6797 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
6799 <create permission="CREATE_ORG_UNIT" context_field="parent_ou"/>
6801 <update permission="UPDATE_ORG_UNIT" context_field="id"/>
6802 <delete permission="DELETE_ORG_UNIT" context_field="parent_ou"/>
6806 <class id="aouct" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="actor::org_unit_custom_tree" oils_persist:tablename="actor.org_unit_custom_tree" reporter:label="Org Unit Custom Tree">
6807 <fields oils_persist:primary="id" oils_persist:sequence="actor.org_unit_custom_tree_id_seq">
6808 <field reporter:label="ID" name="id" reporter:datatype="id"/>
6809 <field reporter:label="Active" name="active" reporter:datatype="bool"/>
6810 <field reporter:label="Purpose" name="purpose" reporter:datatype="text"/>
6812 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
6814 <create permission="ADMIN_ORG_UNIT_CUSTOM_TREE" global_required="true" />
6816 <update permission="ADMIN_ORG_UNIT_CUSTOM_TREE" global_required="true" />
6817 <delete permission="ADMIN_ORG_UNIT_CUSTOM_TREE" global_required="true" />
6821 <class id="aouctn" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="actor::org_unit_custom_tree_node" oils_persist:tablename="actor.org_unit_custom_tree_node" reporter:label="Org Unit Custom Tree Node">
6822 <fields oils_persist:primary="id" oils_persist:sequence="actor.org_unit_custom_tree_node_id_seq">
6823 <field reporter:label="ID" name="id" reporter:datatype="id"/>
6824 <field reporter:label="Tree" name="tree" reporter:datatype="link"/>
6825 <field reporter:label="Org Unit" name="org_unit" reporter:datatype="link"/>
6826 <field reporter:label="Parent" name="parent_node" reporter:datatype="link"/>
6827 <field reporter:label="Sibling Sort Order" name="sibling_order" reporter:datatype="int"/>
6828 <field reporter:label="Children" name="children" reporter:datatype="link" oils_persist:virtual="true" />
6831 <link field="tree" reltype="has_a" key="id" map="" class="aouct"/>
6832 <link field="org_unit" reltype="has_a" key="id" map="" class="aou"/>
6833 <link field="parent_node" reltype="has_a" key="id" map="" class="aouctn"/>
6834 <link field="children" reltype="has_many" key="parent_node" map="" class="aouctn"/>
6836 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
6838 <create permission="ADMIN_ORG_UNIT_CUSTOM_TREE" global_required="true" />
6840 <update permission="ADMIN_ORG_UNIT_CUSTOM_TREE" global_required="true" />
6841 <delete permission="ADMIN_ORG_UNIT_CUSTOM_TREE" global_required="true" />
6845 <class id="ccnb" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="container::call_number_bucket" oils_persist:tablename="container.call_number_bucket" reporter:label="Call Number Bucket">
6846 <fields oils_persist:primary="id" oils_persist:sequence="container.call_number_bucket_id_seq">
6847 <field name="items" oils_persist:virtual="true" reporter:datatype="link"/>
6848 <field name="btype" reporter:datatype="text"/>
6849 <field name="id" reporter:datatype="id" />
6850 <field name="name" reporter:datatype="text"/>
6851 <field name="description" reporter:datatype="text"/>
6852 <field name="owner" reporter:datatype="link"/>
6853 <field name="pub" reporter:datatype="bool"/>
6854 <field name="create_time" reporter:datatype="timestamp" />
6855 <field name="owning_lib" reporter:datatype="org_unit" />
6858 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
6859 <link field="owner" reltype="has_a" key="id" map="" class="au"/>
6860 <link field="items" reltype="has_many" key="bucket" map="" class="ccnbi"/>
6862 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
6864 <create permission="CREATE_CALLNUMBER_BUCKET ADMIN_CALLNUMBER_BUCKET" context="owning_lib" owning_user="owner"/>
6865 <retrieve permission="CREATE_CALLNUMBER_BUCKET ADMIN_CALLNUMBER_BUCKET" context="owning_lib" owning_user="owner"/>
6866 <update permission="CREATE_CALLNUMBER_BUCKET ADMIN_CALLNUMBER_BUCKET" context="owning_lib" owning_user="owner"/>
6867 <delete permission="CREATE_CALLNUMBER_BUCKET ADMIN_CALLNUMBER_BUCKET" context="owning_lib" owning_user="owner"/>
6871 <class id="ccnbn" controller="open-ils.cstore" oils_obj:fieldmapper="container::call_number_bucket_note" oils_persist:tablename="container.call_number_bucket_note" reporter:label="Call Number Bucket Note">
6872 <fields oils_persist:primary="id" oils_persist:sequence="container.call_number_bucket_note_id_seq">
6873 <field name="id" reporter:datatype="id" />
6874 <field name="bucket" reporter:datatype="link"/>
6875 <field name="note" reporter:datatype="text" />
6878 <link field="bucket" reltype="has_a" key="id" map="" class="ccnb"/>
6881 <class id="asc" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="asset::stat_cat" oils_persist:tablename="asset.stat_cat" reporter:label="Asset Statistical Category">
6882 <fields oils_persist:primary="id" oils_persist:sequence="asset.stat_cat_id_seq">
6883 <field reporter:label="Entries" name="entries" oils_persist:virtual="true" reporter:datatype="link"/>
6884 <field reporter:label="Stat Cat ID" name="id" reporter:datatype="id" reporter:selector="name"/>
6885 <field reporter:label="Name" name="name" reporter:datatype="text" oils_persist:i18n="true"/>
6886 <field reporter:label="OPAC Visible" name="opac_visible" reporter:datatype="bool"/>
6887 <field reporter:label="Owning Library" name="owner" reporter:datatype="org_unit"/>
6888 <field reporter:label="SIP Field" name="sip_field" reporter:datatype="link"/>
6889 <field reporter:label="SIP Format" name="sip_format" reporter:datatype="text"/>
6890 <field reporter:label="Required" name="required" reporter:datatype="bool"/>
6891 <field reporter:label="Checkout Archive" name="checkout_archive" reporter:datatype="bool"/>
6894 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
6895 <link field="sip_field" reltype="has_a" key="field" map="" class="ascsf"/>
6896 <link field="entries" reltype="has_many" key="stat_cat" map="" class="asce"/>
6898 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
6900 <retrieve permission="STAFF_LOGIN" global_required="true"/>
6904 <class id="ac" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="actor::card" oils_persist:tablename="actor.card" reporter:label="Library Card">
6905 <fields oils_persist:primary="id" oils_persist:sequence="actor.card_id_seq">
6906 <field reporter:label="IsActive?" name="active" reporter:datatype="bool"/>
6907 <field reporter:label="Barcode" name="barcode" reporter:datatype="text"/>
6908 <field reporter:label="Card ID" name="id" reporter:datatype="id" />
6909 <field reporter:label="User" name="usr" reporter:datatype="link"/>
6912 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
6914 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
6916 <retrieve permission="VIEW_USER user_request.view">
6917 <context link="usr" field="home_ou" />
6922 <class id="actscsf" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="actor::stat_cat_sip_fields" oils_persist:tablename="actor.stat_cat_sip_fields" reporter:label="SIP Statistical Category Field Identifier">
6923 <fields oils_persist:primary="field">
6924 <field reporter:label="Field Identifier" name="field" reporter:datatype="text" reporter:selector="name"/>
6925 <field reporter:label="Field Name" name="name" reporter:datatype="text"/>
6926 <field reporter:label="Exclusive?" name="one_only" reporter:datatype="bool"/>
6929 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
6931 <create permission="CREATE_PATRON_STAT_CAT" global_required="true"/>
6933 <update permission="UPDATE_PATRON_STAT_CAT" global_required="true"/>
6934 <delete permission="DELETE_PATRON_STAT_CAT" global_required="true"/>
6938 <class id="actsc" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="actor::stat_cat" oils_persist:tablename="actor.stat_cat" reporter:label="User Statistical Category">
6939 <fields oils_persist:primary="id" oils_persist:sequence="actor.stat_cat_id_seq">
6940 <field reporter:label="Entries" name="entries" oils_persist:virtual="true" reporter:datatype="link"/>
6941 <field reporter:label="Default Entries" name="default_entries" oils_persist:virtual="true" reporter:datatype="link"/>
6942 <field reporter:label="Stat Cat ID" name="id" reporter:datatype="id" reporter:selector="name"/>
6943 <field reporter:label="Name" name="name" reporter:datatype="text" oils_persist:i18n="true"/>
6944 <field reporter:label="OPAC Visible" name="opac_visible" reporter:datatype="bool"/>
6945 <field reporter:label="Owning Library" name="owner" reporter:datatype="org_unit"/>
6946 <field reporter:label="User Summary" name="usr_summary" reporter:datatype="bool"/>
6947 <field reporter:label="SIP Field" name="sip_field" reporter:datatype="link"/>
6948 <field reporter:label="SIP Format" name="sip_format" reporter:datatype="text"/>
6949 <field reporter:label="Checkout Archive" name="checkout_archive" reporter:datatype="bool"/>
6950 <field reporter:label="Required" name="required" reporter:datatype="bool"/>
6951 <field reporter:label="Free Text" name="allow_freetext" reporter:datatype="bool"/>
6954 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
6955 <link field="sip_field" reltype="has_a" key="field" map="" class="actscsf"/>
6956 <link field="entries" reltype="has_many" key="stat_cat" map="" class="actsce"/>
6957 <link field="default_entries" reltype="has_many" key="stat_cat" map="" class="actsced"/>
6959 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
6961 <create permission="CREATE_PATRON_STAT_CAT" context_field="owner"/>
6963 <update permission="UPDATE_PATRON_STAT_CAT" context_field="owner"/>
6964 <delete permission="DELETE_PATRON_STAT_CAT" context_field="owner"/>
6968 <class id="msefe" controller="open-ils.cstore" oils_obj:fieldmapper="metabib::series_field_entry" oils_persist:tablename="metabib.series_field_entry" reporter:label="Series Field Entry">
6969 <fields oils_persist:primary="id" oils_persist:sequence="metabib.series_field_entry_id_seq">
6970 <field name="field" reporter:datatype="link"/>
6971 <field name="id" reporter:datatype="id" />
6972 <field name="source" reporter:datatype="link"/>
6973 <field name="value" reporter:datatype="text"/>
6976 <link field="source" reltype="has_a" key="id" map="" class="bre"/>
6977 <link field="field" reltype="has_a" key="id" map="" class="cmf"/>
6980 <class id="cub" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="container::user_bucket" oils_persist:tablename="container.user_bucket" reporter:label="User Bucket">
6981 <fields oils_persist:primary="id" oils_persist:sequence="container.user_bucket_id_seq">
6982 <field name="items" oils_persist:virtual="true" reporter:datatype="link"/>
6983 <field name="btype" reporter:datatype="text"/>
6984 <field name="id" reporter:datatype="id" />
6985 <field name="name" reporter:datatype="text"/>
6986 <field name="description" reporter:datatype="text"/>
6987 <field name="owner" reporter:datatype="link"/>
6988 <field name="pub" reporter:datatype="bool"/>
6989 <field name="create_time" reporter:datatype="timestamp" />
6990 <field name="owning_lib" reporter:datatype="org_unit" />
6993 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
6994 <link field="owner" reltype="has_a" key="id" map="" class="au"/>
6995 <link field="items" reltype="has_many" key="bucket" map="" class="cubi"/>
6997 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
6999 <create permission="CREATE_USER_BUCKET ADMIN_USER_BUCKET" context="owning_lib" owning_user="owner"/>
7000 <retrieve permission="CREATE_USER_BUCKET ADMIN_USER_BUCKET" context="owning_lib" owning_user="owner"/>
7001 <update permission="CREATE_USER_BUCKET ADMIN_USER_BUCKET" context="owning_lib" owning_user="owner"/>
7002 <delete permission="CREATE_USER_BUCKET ADMIN_USER_BUCKET" context="owning_lib" owning_user="owner"/>
7006 <class id="cubn" controller="open-ils.cstore" oils_obj:fieldmapper="container::user_bucket_note" oils_persist:tablename="container.user_bucket_note" reporter:label="User Bucket Note">
7007 <fields oils_persist:primary="id" oils_persist:sequence="container.user_bucket_note_id_seq">
7008 <field name="id" reporter:datatype="id" />
7009 <field name="bucket" reporter:datatype="link"/>
7010 <field name="note" reporter:datatype="text" />
7013 <link field="bucket" reltype="has_a" key="id" map="" class="cub"/>
7016 <class id="mcrp" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="money::credit_payment" oils_persist:tablename="money.credit_payment" reporter:label="House Credit Payment">
7017 <fields oils_persist:primary="id" oils_persist:sequence="money.payment_id_seq">
7018 <field reporter:label="Accepting Staff Member" name="accepting_usr" reporter:datatype="link"/>
7019 <field reporter:label="Amount" name="amount" reporter:datatype="money" />
7020 <field reporter:label="Amount Collected" name="amount_collected" reporter:datatype="money" />
7021 <field reporter:label="Pyament ID" name="id" reporter:datatype="id" />
7022 <field reporter:label="Payment Note" name="note" reporter:datatype="text"/>
7023 <field reporter:label="Payment Timestamp" name="payment_ts" reporter:datatype="timestamp"/>
7024 <field reporter:label="Transaction" name="xact" reporter:datatype="link"/>
7025 <field reporter:label="Payment Type" name="payment_type" oils_persist:virtual="true" reporter:datatype="text"/>
7026 <field reporter:label="Payment link" name="payment" oils_persist:virtual="true" reporter:datatype="link"/>
7029 <link field="payment" reltype="might_have" key="id" map="" class="mp"/>
7030 <link field="accepting_usr" reltype="has_a" key="id" map="" class="au"/>
7031 <link field="xact" reltype="has_a" key="id" map="" class="mbt"/>
7033 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
7035 <retrieve permission="VIEW_USER_TRANSACTIONS">
7036 <context link="xact" jump="usr" field="home_ou"/>
7041 <class id="afr" controller="open-ils.cstore" oils_obj:fieldmapper="authority::full_rec" oils_persist:tablename="authority.full_rec" reporter:label="Full Authority Record">
7042 <fields oils_persist:primary="id" oils_persist:sequence="authority.full_rec_id_seq">
7043 <field name="id" reporter:datatype="id" />
7044 <field name="ind1" />
7045 <field name="ind2" />
7046 <field name="record" />
7047 <field name="subfield" />
7048 <field name="tag" />
7049 <field name="value" />
7052 <link field="record" reltype="has_a" key="id" map="" class="are"/>
7055 <class id="aalink" controller="open-ils.cstore" oils_obj:fieldmapper="authority::authority_linking" oils_persist:tablename="authority.authority_linking" reporter:label="Authority to Authority Linking">
7056 <fields oils_persist:primary="id" oils_persist:sequence="authority.authority_linking_id_seq">
7057 <field name="id" reporter:label="ID" reporter:datatype="id" />
7058 <field name="source" reporter:label="Source Record" reporter:datatype="link" />
7059 <field name="target" reporter:label="Target Record" reporter:datatype="link" />
7060 <field name="field" reporter:label="Authority Field" reporter:datatype="link" />
7063 <link field="source" reltype="has_a" key="id" map="" class="are"/>
7064 <link field="target" reltype="has_a" key="id" map="" class="are"/>
7065 <link field="field" reltype="has_a" key="id" map="" class="acsaf"/>
7068 <class id="cnct" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::non_cataloged_type" oils_persist:tablename="config.non_cataloged_type" reporter:label="Non-cataloged Type">
7069 <fields oils_persist:primary="id" oils_persist:sequence="config.non_cataloged_type_id_seq">
7070 <field reporter:label="Circulation Duration" name="circ_duration" reporter:datatype="interval"/>
7071 <field reporter:label="Non-cat Type ID" name="id" reporter:selector="name" reporter:datatype="id"/>
7072 <field reporter:label="In House?" name="in_house" reporter:datatype="bool"/>
7073 <field reporter:label="Name" name="name" reporter:datatype="text" oils_persist:i18n="true"/>
7074 <field reporter:label="Owning Library" name="owning_lib" reporter:datatype="org_unit"/>
7077 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
7079 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
7081 <create permission="CREATE_NON_CAT_TYPE" context_field="owning_lib"/>
7083 <update permission="CREATE_NON_CAT_TYPE" context_field="owning_lib"/>
7084 <delete permission="CREATE_NON_CAT_TYPE" context_field="owning_lib"/>
7089 <class id="aout" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="actor::org_unit_type" oils_persist:tablename="actor.org_unit_type" reporter:label="Organizational Unit Type" oils_persist:field_safe="true">
7090 <fields oils_persist:primary="id" oils_persist:sequence="actor.org_unit_type_id_seq">
7091 <field reporter:label="Subordinate Types" name="children" oils_persist:virtual="true" reporter:datatype="link"/>
7092 <field reporter:label="Can Have Users?" name="can_have_users" reporter:datatype="bool"/>
7093 <field reporter:label="Can Have Volumes?" name="can_have_vols" reporter:datatype="bool"/>
7094 <field reporter:label="Type Depth" name="depth" reporter:datatype="int" />
7095 <field reporter:label="Type ID" name="id" reporter:selector="name" reporter:datatype="id"/>
7096 <field reporter:label="Type Name" name="name" reporter:datatype="text" oils_persist:i18n="true"/>
7097 <field reporter:label="OPAC Label" name="opac_label" reporter:datatype="text" oils_persist:i18n="true"/>
7098 <field reporter:label="Parent Type" name="parent" reporter:datatype="link"/>
7099 <field reporter:label="Org Units" name="org_units" oils_persist:virtual="true" reporter:datatype="org_unit"/>
7102 <link field="parent" reltype="has_a" key="id" map="" class="aout"/>
7103 <link field="children" reltype="has_many" key="parent" map="" class="aout"/>
7104 <link field="org_units" reltype="has_many" key="ou_type" map="" class="aou"/>
7106 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
7108 <create permission="CREATE_ORG_TYPE" global_required="true"/>
7110 <update permission="UPDATE_ORG_TYPE" global_required="true"/>
7111 <delete permission="DELETE_ORG_TYPE" global_required="true"/>
7115 <class id="bren" controller="open-ils.cstore" oils_obj:fieldmapper="biblio::record_note" oils_persist:tablename="biblio.record_note" reporter:label="Bib Record Note">
7116 <fields oils_persist:primary="id" oils_persist:sequence="biblio.record_note_id_seq">
7117 <field name="create_date" reporter:datatype="timestamp"/>
7118 <field name="creator" reporter:datatype="link"/>
7119 <field name="edit_date" reporter:datatype="timestamp"/>
7120 <field name="editor" reporter:datatype="link"/>
7121 <field name="id" reporter:datatype="id" />
7122 <field name="pub" reporter:datatype="bool"/>
7123 <field name="record" reporter:datatype="link"/>
7124 <field name="value" reporter:datatype="text"/>
7127 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
7128 <link field="editor" reltype="has_a" key="id" map="" class="au"/>
7129 <link field="record" reltype="has_a" key="id" map="" class="bre"/>
7132 <class id="mucs" controller="open-ils.cstore" oils_obj:fieldmapper="money::user_circulation_summary" oils_persist:tablename="money.usr_circulation_summary" reporter:label="User Circulation Summary">
7133 <fields oils_persist:primary="usr" oils_persist:sequence="">
7134 <field name="balance_owed" reporter:datatype="money" />
7135 <field name="total_owed" reporter:datatype="money" />
7136 <field name="total_paid" reporter:datatype="money" />
7137 <field name="usr" reporter:datatype="link"/>
7140 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
7143 <class id="mg" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="money::grocery" oils_persist:tablename="money.grocery" reporter:label="Grocery Transaction">
7144 <fields oils_persist:primary="id" oils_persist:sequence="money.billable_xact_id_seq">
7145 <field reporter:label="Billing Location" name="billing_location" reporter:datatype="link"/>
7146 <field reporter:label="Transaction ID" name="id" reporter:datatype="id" />
7147 <field reporter:label="Note" name="note" reporter:datatype="text"/>
7148 <field reporter:label="User" name="usr" reporter:datatype="link"/>
7149 <field reporter:label="Transaction Finish Timestamp" name="xact_finish" reporter:datatype="timestamp" />
7150 <field reporter:label="Transaction Start Timestamp" name="xact_start" reporter:datatype="timestamp" />
7151 <field reporter:label="Billings" name="billings" oils_persist:virtual="true" reporter:datatype="link"/>
7152 <field reporter:label="Payments" name="payments" oils_persist:virtual="true" reporter:datatype="link"/>
7153 <field reporter:label="Billable Transaction link" name="billable_transaction" oils_persist:virtual="true" reporter:datatype="link"/>
7154 <field reporter:label="Billing Totals" name="billing_total" oils_persist:virtual="true" reporter:datatype="money"/>
7155 <field reporter:label="Payment Totals" name="payment_total" oils_persist:virtual="true" reporter:datatype="money"/>
7158 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
7159 <link field="billable_transaction" reltype="might_have" key="id" map="" class="mbt"/>
7160 <link field="payments" reltype="has_many" key="xact" map="" class="mp"/>
7161 <link field="billings" reltype="has_many" key="xact" map="" class="mb"/>
7162 <link field="billing_location" reltype="has_a" key="id" map="" class="aou"/>
7163 <link field="billing_total" reltype="might_have" key="xact" map="" class="rxbt"/>
7164 <link field="payment_total" reltype="might_have" key="xact" map="" class="rxpt"/>
7166 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
7168 <retrieve permission="VIEW_USER_TRANSACTIONS" context_field="billing_location"/>
7172 <class id="cbs" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::bib_source" oils_persist:tablename="config.bib_source" reporter:label="Bib Source">
7173 <fields oils_persist:primary="id" oils_persist:sequence="config.bib_source_id_seq">
7174 <field name="id" reporter:selector="source" reporter:datatype="id"/>
7175 <field name="quality" reporter:datatype="int" />
7176 <field name="source" reporter:datatype="text"/>
7177 <field name="transcendant" reporter:datatype="bool"/>
7178 <field name="can_have_copies" reporter:datatype="bool"/>
7181 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
7183 <create permission="CREATE_BIB_SOURCE" global_required="true"/>
7185 <update permission="UPDATE_BIB_SOURCE" global_required="true"/>
7186 <delete permission="DELETE_BIB_SOURCE" global_required="true"/>
7190 <class id="mbt" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="money::billable_transaction" oils_persist:tablename="money.billable_xact" reporter:label="Billable Transaction">
7191 <fields oils_persist:primary="id" oils_persist:sequence="money.billable_xact_id_seq">
7192 <field reporter:label="Transaction ID" name="id" reporter:datatype="id" />
7193 <field reporter:label="User" name="usr" reporter:datatype="link"/>
7194 <field reporter:label="Transaction Finish Date/Time" name="xact_finish" reporter:datatype="timestamp"/>
7195 <field reporter:label="Transaction Start Date/Time" name="xact_start" reporter:datatype="timestamp"/>
7196 <field reporter:label="Unrecovered Debt" name="unrecovered" reporter:datatype="bool"/>
7197 <field reporter:label="Grocery Billing link" name="grocery" oils_persist:virtual="true" reporter:datatype="link"/>
7198 <field reporter:label="Circulation Billing link" name="circulation" oils_persist:virtual="true" reporter:datatype="link"/>
7199 <field reporter:label="Billing Line Items" name="billings" oils_persist:virtual="true" reporter:datatype="link"/>
7200 <field reporter:label="Payment Line Items" name="payments" oils_persist:virtual="true" reporter:datatype="link"/>
7201 <field reporter:label="Billing Totals" name="billing_total" oils_persist:virtual="true" reporter:datatype="money"/>
7202 <field reporter:label="Payment Totals" name="payment_total" oils_persist:virtual="true" reporter:datatype="money"/>
7203 <field reporter:label="Payment Summary" name="summary" oils_persist:virtual="true" reporter:datatype="link"/>
7206 <link field="grocery" reltype="might_have" key="id" map="" class="mg"/>
7207 <link field="circulation" reltype="might_have" key="id" map="" class="circ"/>
7208 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
7209 <link field="payments" reltype="has_many" key="xact" map="" class="mp"/>
7210 <link field="billings" reltype="has_many" key="xact" map="" class="mb"/>
7211 <link field="billing_total" reltype="might_have" key="xact" map="" class="rxbt"/>
7212 <link field="payment_total" reltype="might_have" key="xact" map="" class="rxpt"/>
7213 <link field="summary" reltype="might_have" key="id" map="" class="mbts"/>
7215 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
7217 <retrieve permission="VIEW_USER_TRANSACTIONS">
7218 <context link="usr" field="home_ou" />
7223 <class id="actsce" controller="open-ils.cstore" oils_obj:fieldmapper="actor::stat_cat_entry" oils_persist:tablename="actor.stat_cat_entry" reporter:label="User Stat Cat Entry">
7224 <fields oils_persist:primary="id" oils_persist:sequence="actor.stat_cat_entry_id_seq">
7225 <field reporter:label="Entry ID" name="id" reporter:datatype="id" />
7226 <field reporter:label="Entry Owner" name="owner" reporter:datatype="link"/>
7227 <field reporter:label="Stat Cat" name="stat_cat" reporter:datatype="link"/>
7228 <field reporter:label="Entry Value" name="value" reporter:datatype="text"/>
7229 <field reporter:label="Default Entries" name="default_entries" oils_persist:virtual="true" reporter:datatype="link"/>
7232 <link field="stat_cat" reltype="has_a" key="id" map="" class="actsc"/>
7233 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
7234 <link field="default_entries" reltype="has_many" key="stat_cat_entry" map="" class="actsced"/>
7237 <class id="actsced" controller="open-ils.cstore" oils_obj:fieldmapper="actor::stat_cat_entry_default" oils_persist:tablename="actor.stat_cat_entry_default" reporter:label="User Stat Cat Default Entry">
7238 <fields oils_persist:primary="id" oils_persist:sequence="actor.stat_cat_entry_default_id_seq">
7239 <field reporter:label="Default Entry ID" name="id" reporter:datatype="id" />
7240 <field reporter:label="Default Entry Value" name="stat_cat_entry" reporter:datatype="link"/>
7241 <field reporter:label="Stat Cat" name="stat_cat" reporter:datatype="link"/>
7242 <field reporter:label="Default for Owner" name="owner" reporter:datatype="link"/>
7245 <link field="stat_cat" reltype="has_a" key="id" map="" class="actsc"/>
7246 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
7247 <link field="stat_cat_entry" reltype="has_a" key="id" map="" class="actsce"/>
7250 <class id="cubi" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="container::user_bucket_item" oils_persist:tablename="container.user_bucket_item" reporter:label="User Bucket Item">
7251 <fields oils_persist:primary="id" oils_persist:sequence="container.user_bucket_item_id_seq">
7252 <field name="bucket" reporter:datatype="link"/>
7253 <field name="id" reporter:datatype="id" />
7254 <field name="target_user" reporter:datatype="link"/>
7255 <field name="create_time" reporter:datatype="timestamp" />
7256 <field name="pos" reporter:datatype="int" />
7257 <field name="notes" oils_persist:virtual="true" reporter:datatype="link" />
7260 <link field="target_user" reltype="has_a" key="id" map="" class="au"/>
7261 <link field="bucket" reltype="has_a" key="id" map="" class="cub"/>
7262 <link field="notes" reltype="has_many" map="" key="item" class="cubin"/>
7264 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
7266 <retrieve permission="ADMIN_USER_BUCKET">
7267 <context link="bucket" owning_lib="owning_lib"/>
7272 <class id="cubin" controller="open-ils.cstore" oils_obj:fieldmapper="container::user_bucket_item_note" oils_persist:tablename="container.user_bucket_item_note" reporter:label="User Bucket Item Note">
7273 <fields oils_persist:primary="id" oils_persist:sequence="container.user_bucket_item_note_id_seq">
7274 <field name="id" reporter:datatype="id" />
7275 <field name="item" reporter:datatype="link"/>
7276 <field name="note" reporter:datatype="text" />
7279 <link field="item" reltype="has_a" key="id" map="" class="cubi"/>
7282 <class id="mus" controller="open-ils.cstore" oils_obj:fieldmapper="money::user_summary" oils_persist:tablename="money.usr_summary" reporter:label="User Summary">
7283 <fields oils_persist:primary="usr" oils_persist:sequence="">
7284 <field name="balance_owed" reporter:datatype="money" />
7285 <field name="total_owed" reporter:datatype="money" />
7286 <field name="total_paid" reporter:datatype="money" />
7287 <field name="usr" reporter:datatype="link"/>
7290 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
7293 <class id="clfm" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::lit_form_map" oils_persist:tablename="config.lit_form_map" reporter:label="Literary Form" oils_persist:field_safe="true">
7294 <fields oils_persist:primary="code" oils_persist:sequence="">
7295 <field reporter:label="LitF Code" name="code" reporter:datatype="text"/>
7296 <field reporter:label="LitF Description" name="description" reporter:datatype="text" oils_persist:i18n="true"/>
7297 <field reporter:label="LitF Name" name="value" reporter:datatype="text" oils_persist:i18n="true"/>
7300 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
7302 <create permission="CREATE_MARC_CODE" global_required="true"/>
7304 <update permission="UPDATE_MARC_CODE" global_required="true"/>
7305 <delete permission="DELETE_MARC_CODE" global_required="true"/>
7309 <class id="mwp" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="money::work_payment" oils_persist:tablename="money.work_payment" reporter:label="Work Payment">
7310 <fields oils_persist:primary="id" oils_persist:sequence="money.payment_id_seq">
7311 <field reporter:label="Accepting Staff Member" name="accepting_usr" reporter:datatype="link"/>
7312 <field reporter:label="Amount" name="amount" reporter:datatype="money" />
7313 <field reporter:label="Amount Collected" name="amount_collected" reporter:datatype="money" />
7314 <field reporter:label="Payment ID" name="id" reporter:datatype="id" />
7315 <field reporter:label="Note" name="note" reporter:datatype="text"/>
7316 <field reporter:label="Payment Timestamp" name="payment_ts" reporter:datatype="timestamp"/>
7317 <field reporter:label="Transaction ID" name="xact" reporter:datatype="link"/>
7318 <field reporter:label="Payment link" name="payment" oils_persist:virtual="true" reporter:datatype="link"/>
7319 <field reporter:label="Payment Type" name="payment_type" oils_persist:virtual="true" reporter:datatype="text"/>
7322 <link field="payment" reltype="might_have" key="id" map="" class="mp"/>
7323 <link field="accepting_usr" reltype="has_a" key="id" map="" class="au"/>
7324 <link field="xact" reltype="has_a" key="id" map="" class="mbt"/>
7326 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
7328 <retrieve permission="VIEW_USER_TRANSACTIONS">
7329 <context link="xact" jump="usr" field="home_ou"/>
7334 <class id="mgp" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="money::goods_payment" oils_persist:tablename="money.goods_payment" reporter:label="Goods Payment">
7335 <fields oils_persist:primary="id" oils_persist:sequence="money.payment_id_seq">
7336 <field reporter:label="Accepting Staff Member" name="accepting_usr" reporter:datatype="link"/>
7337 <field reporter:label="Amount" name="amount" reporter:datatype="money" />
7338 <field reporter:label="Amount Collected" name="amount_collected" reporter:datatype="money" />
7339 <field reporter:label="Payment ID" name="id" reporter:datatype="id" />
7340 <field reporter:label="Note" name="note" reporter:datatype="text"/>
7341 <field reporter:label="Payment Timestamp" name="payment_ts" reporter:datatype="timestamp"/>
7342 <field reporter:label="Transaction ID" name="xact" reporter:datatype="link"/>
7343 <field reporter:label="Payment link" name="payment" oils_persist:virtual="true" reporter:datatype="link"/>
7344 <field reporter:label="Payment Type" name="payment_type" oils_persist:virtual="true" reporter:datatype="text"/>
7347 <link field="payment" reltype="might_have" key="id" map="" class="mp"/>
7348 <link field="accepting_usr" reltype="has_a" key="id" map="" class="au"/>
7349 <link field="xact" reltype="has_a" key="id" map="" class="mbt"/>
7351 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
7353 <retrieve permission="VIEW_USER_TRANSACTIONS">
7354 <context link="xact" jump="usr" field="home_ou"/>
7359 <class id="aoc" controller="open-ils.cstore" oils_obj:fieldmapper="action::open_circulation" oils_persist:tablename="action.open_circulation" reporter:label="Open Circulation">
7360 <fields oils_persist:primary="id" oils_persist:sequence="">
7361 <field name="checkin_lib" reporter:datatype="link"/>
7362 <field name="checkin_staff" reporter:datatype="link"/>
7363 <field name="checkin_time" reporter:datatype="timestamp"/>
7364 <field name="circ_lib" reporter:datatype="org_unit"/>
7365 <field name="circ_staff" reporter:datatype="link"/>
7366 <field name="desk_renewal" reporter:datatype="bool"/>
7367 <field name="due_date" reporter:datatype="timestamp"/>
7368 <field name="duration" reporter:datatype="interval"/>
7369 <field name="duration_rule" reporter:datatype="link"/>
7370 <field name="fine_interval" reporter:datatype="interval"/>
7371 <field name="id" reporter:datatype="id" />
7372 <field name="max_fine" reporter:datatype="money" />
7373 <field name="max_fine_rule" reporter:datatype="link"/>
7374 <field name="opac_renewal" reporter:datatype="bool"/>
7375 <field name="phone_renewal" reporter:datatype="bool"/>
7376 <field name="recurring_fine" reporter:datatype="money" />
7377 <field name="recurring_fine_rule" reporter:datatype="link"/>
7378 <field name="renewal_remaining" reporter:datatype="int" />
7379 <field name="grace_period" reporter:datatype="interval" />
7380 <field name="stop_fines" reporter:datatype="text"/>
7381 <field name="stop_fines_time" reporter:datatype="timestamp"/>
7382 <field name="target_copy" reporter:datatype="link"/>
7383 <field name="usr" reporter:datatype="link"/>
7384 <field name="xact_finish" reporter:datatype="timestamp" />
7385 <field name="xact_start" reporter:datatype="timestamp" />
7386 <field name="circulation" oils_persist:virtual="true" reporter:datatype="link"/>
7389 <link field="circulation" reltype="might_have" key="id" map="" class="circ"/>
7390 <link field="duration_rule" reltype="has_a" key="name" map="" class="crcd"/>
7391 <link field="max_fine_rule" reltype="has_a" key="name" map="" class="crmf"/>
7392 <link field="recurring_fine_rule" reltype="has_a" key="name" map="" class="crrf"/>
7395 <class id="msfe" controller="open-ils.cstore" oils_obj:fieldmapper="metabib::subject_field_entry" oils_persist:tablename="metabib.subject_field_entry" reporter:label="Subject Field Entry">
7396 <fields oils_persist:primary="id" oils_persist:sequence="metabib.subject_field_entry_id_seq">
7397 <field name="field" reporter:datatype="link"/>
7398 <field name="id" reporter:datatype="id" />
7399 <field name="source" reporter:datatype="link"/>
7400 <field name="value" reporter:datatype="text"/>
7403 <link field="source" reltype="has_a" key="id" map="" class="bre"/>
7404 <link field="field" reltype="has_a" key="id" map="" class="cmf"/>
7407 <class id="crrf" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::rules::recurring_fine" oils_persist:tablename="config.rule_recurring_fine" reporter:label="Recurring Fine Rule">
7408 <fields oils_persist:primary="id" oils_persist:sequence="config.rule_recurring_fine_id_seq">
7409 <field name="high" reporter:datatype="money" />
7410 <field name="id" reporter:selector="name" reporter:datatype="id"/>
7411 <field name="low" reporter:datatype="money" />
7412 <field name="name" reporter:datatype="text"/>
7413 <field name="normal" reporter:datatype="money" />
7414 <field name="recurrence_interval" reporter:datatype="interval"/>
7415 <field name="grace_period" reporter:datatype="interval" />
7418 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
7420 <create permission="ADMIN_RECURRING_FINE_RULE" global_required="true"/>
7422 <update permission="ADMIN_RECURRING_FINE_RULE" global_required="true"/>
7423 <delete permission="ADMIN_RECURRING_FINE_RULE" global_required="true"/>
7427 <class id="mckp" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="money::check_payment" oils_persist:tablename="money.check_payment" reporter:label="Check Payment">
7428 <fields oils_persist:primary="id" oils_persist:sequence="money.payment_id_seq">
7429 <field reporter:label="Accepting Staff Member" name="accepting_usr" reporter:datatype="link"/>
7430 <field reporter:label="Amount" name="amount" reporter:datatype="money" />
7431 <field reporter:label="Amount Collected" name="amount_collected" reporter:datatype="money" />
7432 <field reporter:label="Workstation link" name="cash_drawer" reporter:datatype="link"/>
7433 <field reporter:label="Check Number" name="check_number" reporter:datatype="int" />
7434 <field reporter:label="Payment ID" name="id" reporter:datatype="id" />
7435 <field reporter:label="Note" name="note" reporter:datatype="text"/>
7436 <field reporter:label="Payment Timestamp" name="payment_ts" reporter:datatype="timestamp"/>
7437 <field reporter:label="Transaction link" name="xact" reporter:datatype="link"/>
7438 <field reporter:label="Payment link" name="payment" oils_persist:virtual="true" reporter:datatype="link"/>
7439 <field reporter:label="Payment Type" name="payment_type" oils_persist:virtual="true" reporter:datatype="text"/>
7442 <link field="payment" reltype="might_have" key="id" map="" class="mp"/>
7443 <link field="accepting_usr" reltype="has_a" key="id" map="" class="au"/>
7444 <link field="cash_drawer" reltype="has_a" key="id" map="" class="aws"/>
7445 <link field="xact" reltype="has_a" key="id" map="" class="mbt"/>
7447 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
7449 <retrieve permission="VIEW_USER_TRANSACTIONS">
7450 <context link="xact" jump="usr" field="home_ou"/>
7455 <class id="acp" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="asset::copy" oils_persist:tablename="asset.copy" reporter:core="true" reporter:label="Item">
7456 <fields oils_persist:primary="id" oils_persist:sequence="asset.copy_id_seq">
7457 <field reporter:label="Age Hold Protection" name="age_protect" reporter:datatype="link"/>
7458 <field reporter:label="Alert Message" name="alert_message" reporter:datatype="text"/>
7459 <field reporter:label="Barcode" name="barcode" reporter:datatype="text"/>
7460 <field reporter:label="Call Number/Volume" name="call_number" reporter:datatype="link"/>
7461 <field reporter:label="Circulation Type (MARC)" name="circ_as_type" reporter:datatype="link"/>
7462 <field reporter:label="Circulating Library" name="circ_lib" reporter:datatype="org_unit"/>
7463 <field reporter:label="Circulation Modifier" name="circ_modifier" reporter:datatype="link"/>
7464 <field reporter:label="Can Circulate" name="circulate" reporter:datatype="bool"/>
7465 <field reporter:label="Copy Number on Volume" name="copy_number" reporter:datatype="text"/>
7466 <field reporter:label="Creation Date/Time" name="create_date" reporter:datatype="timestamp"/>
7467 <field reporter:label="Active Date/Time" name="active_date" reporter:datatype="timestamp"/>
7468 <field reporter:label="Creating User" name="creator" reporter:datatype="link"/>
7469 <field reporter:label="Is Deleted" name="deleted" reporter:datatype="bool"/>
7470 <field reporter:label="Dummy ISBN" name="dummy_isbn" reporter:datatype="text"/>
7471 <field reporter:label="Is Deposit Required" name="deposit" reporter:datatype="bool"/>
7472 <field reporter:label="Deposit Amount" name="deposit_amount" reporter:datatype="money" />
7473 <field reporter:label="Precat Dummy Author" name="dummy_author" reporter:datatype="text"/>
7474 <field reporter:label="Precat Dummy Title" name="dummy_title" reporter:datatype="text"/>
7475 <field reporter:label="Last Edit Date/Time" name="edit_date" reporter:datatype="timestamp"/>
7476 <field reporter:label="Last Editing User" name="editor" reporter:datatype="link"/>
7477 <field reporter:label="Fine Level" name="fine_level" reporter:datatype="int"/>
7478 <field reporter:label="Is Holdable" name="holdable" reporter:datatype="bool" />
7479 <field reporter:label="Copy ID" name="id" reporter:datatype="id"/>
7480 <field reporter:label="Loan Duration" name="loan_duration" reporter:datatype="int"/>
7481 <field reporter:label="Shelving Location" name="location" reporter:datatype="link"/>
7482 <field reporter:label="OPAC Visible" name="opac_visible" reporter:datatype="bool" />
7483 <field reporter:label="Price" name="price" reporter:datatype="money" />
7484 <field reporter:label="Is Reference" name="ref" reporter:datatype="bool"/>
7485 <field reporter:label="Copy Status" name="status" reporter:datatype="link"/>
7486 <field reporter:label="Copy Status Changed Time" name="status_changed_time" reporter:datatype="timestamp"/>
7487 <field reporter:label="Is Mint Condition" name="mint_condition" reporter:datatype="bool"/>
7488 <field reporter:label="Floating Group" name="floating" reporter:datatype="link"/>
7489 <field reporter:label="Cost" name="cost" reporter:datatype="money"/>
7490 <field reporter:label="Copy Notes" name="notes" oils_persist:virtual="true" reporter:datatype="link"/>
7491 <field reporter:label="Stat-Cat entry maps" name="stat_cat_entry_copy_maps" oils_persist:virtual="true" reporter:datatype="link"/>
7492 <field reporter:label="Circulations" name="circulations" oils_persist:virtual="true" reporter:datatype="link"/>
7493 <field reporter:label="Aged (patronless) Circulations" name="aged_circulations" oils_persist:virtual="true" reporter:datatype="link"/>
7494 <field reporter:label="Combined Aged and Active Circulations" name="all_circulations" oils_persist:virtual="true" reporter:datatype="link"/>
7495 <field reporter:label="Total Circulations" name="total_circ_count" oils_persist:virtual="true" reporter:datatype="link"/>
7496 <field reporter:label="Last Circulation Date" name="last_circ" oils_persist:virtual="true" reporter:datatype="link"/>
7497 <field reporter:label="Holds" name="holds" oils_persist:virtual="true" reporter:datatype="link"/>
7498 <field reporter:label="Statistical Category Entries" name="stat_cat_entries" oils_persist:virtual="true" reporter:datatype="link"/>
7499 <field reporter:label="Monograph Parts" name="parts" oils_persist:virtual="true" reporter:datatype="link"/>
7500 <field reporter:label="Peer Record Maps" name="peer_record_maps" oils_persist:virtual="true" reporter:datatype="link"/>
7501 <field reporter:label="Peer Records" name="peer_records" oils_persist:virtual="true" reporter:datatype="link"/>
7502 <field reporter:label="Last Captured Hold" name="last_captured_hold" oils_persist:virtual="true" reporter:datatype="link"/>
7503 <field reporter:label="Latest Inventory" name="latest_inventory" oils_persist:virtual="true" reporter:datatype="link"/>
7504 <field reporter:label="Has Holds" name="holds_count" oils_persist:virtual="true" reporter:datatype="link"/>
7505 <field reporter:label="Copy Tags" name="tags" oils_persist:virtual="true" reporter:datatype="link"/>
7506 <field reporter:label="Copy Alerts" name="copy_alerts" oils_persist:virtual="true" reporter:datatype="link"/>
7509 <link field="age_protect" reltype="has_a" key="id" map="" class="crahp"/>
7510 <link field="call_number" reltype="has_a" key="id" map="" class="acn"/>
7511 <link field="location" reltype="has_a" key="id" map="" class="acpl"/>
7512 <link field="editor" reltype="has_a" key="id" map="" class="au"/>
7513 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
7514 <link field="status" reltype="has_a" key="id" map="" class="ccs"/>
7515 <link field="circ_lib" reltype="has_a" key="id" map="" class="aou"/>
7516 <link field="holds" reltype="has_many" key="target_copy" map="hold" class="ahcm"/>
7517 <link field="stat_cat_entry_copy_maps" reltype="has_many" key="owning_copy" map="" class="ascecm"/>
7518 <link field="notes" reltype="has_many" key="owning_copy" map="" class="acpn"/>
7519 <link field="stat_cat_entries" reltype="has_many" key="owning_copy" map="stat_cat_entry" class="ascecm"/>
7520 <link field="circulations" reltype="has_many" key="target_copy" map="" class="circ"/>
7521 <link field="aged_circulations" reltype="has_many" key="target_copy" map="" class="acirc"/>
7522 <link field="all_circulations" reltype="has_many" key="target_copy" map="" class="combcirc"/>
7523 <link field="total_circ_count" reltype="might_have" key="id" map="" class="erfcc"/>
7524 <link field="last_circ" reltype="might_have" key="id" map="" class="rlc"/>
7525 <link field="circ_modifier" reltype="has_a" key="code" map="" class="ccm"/>
7526 <link field="parts" reltype="has_many" key="target_copy" map="part" class="acpm"/>
7527 <link field="peer_record_maps" reltype="has_many" key="target_copy" map="" class="bpbcm"/>
7528 <link field="peer_records" reltype="has_many" key="target_copy" map="peer_record" class="bpbcm"/>
7529 <link field="last_captured_hold" reltype="has_a" key="current_copy" map="" class="alhr"/>
7530 <link field="latest_inventory" reltype="might_have" key="copy" map="" class="alci"/>
7531 <link field="floating" reltype="has_a" key="id" map="" class="cfg"/>
7532 <link field="holds_count" reltype="might_have" key="id" map="" class="hasholdscount"/>
7533 <link field="tags" reltype="has_many" key="copy" map="" class="acptcm"/>
7534 <link field="copy_alerts" reltype="has_many" key="copy" map="" class="aca"/>
7535 <link field="circ_as_type" reltype="has_a" key="code" map="" class="citm"/>
7537 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
7539 <create permission="CREATE_COPY">
7540 <context link="call_number" field="owning_lib"/>
7543 <update permission="UPDATE_COPY">
7544 <context link="call_number" field="owning_lib"/>
7546 <delete permission="DELETE_COPY">
7547 <context link="call_number" field="owning_lib"/>
7553 <class id="alci" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="asset::latest_inventory" oils_persist:tablename="asset.latest_inventory" reporter:core="true" reporter:label="Latest Inventory">
7554 <fields oils_persist:primary="id" oils_persist:sequence="asset.latest_inventory_id_seq">
7555 <field reporter:label="Latest Inventory ID" name="id" reporter:datatype="id"/>
7556 <field reporter:label="Latest Inventory Date" name="inventory_date" reporter:datatype="timestamp"/>
7557 <field reporter:label="Latest Inventory Workstation" name="inventory_workstation" reporter:datatype="link"/>
7558 <field reporter:label="Copy" name="copy" reporter:datatype="link"/>
7561 <link field="inventory_workstation" reltype="has_a" key="id" map="" class="aws"/>
7562 <link field="copy" reltype="has_a" key="id" map="" class="acp"/>
7564 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
7574 <class id="ccat" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::copy_alert_type" oils_persist:tablename="config.copy_alert_type" reporter:label="Copy Alert Type" oils_persist:restrict_primary="100">
7575 <fields oils_persist:primary="id" oils_persist:sequence="config.copy_alert_type_id_seq">
7576 <field reporter:label="Id" name="id" reporter:selector="name" reporter:datatype="id"/>
7577 <field reporter:label="Scope Org Unit" name="scope_org" reporter:datatype="org_unit"/>
7578 <field reporter:label="Active" name="active" reporter:datatype="bool" />
7579 <field reporter:label="Name" name="name" reporter:datatype="text" />
7580 <field reporter:label="State" name="state" reporter:datatype="text"/>
7581 <field reporter:label="Event" name="event" reporter:datatype="text" />
7582 <field reporter:label="During Renewal" name="in_renew" reporter:datatype="bool" />
7583 <field reporter:label="Allow At Copy Circ Lib" name="at_circ" reporter:datatype="bool"/>
7584 <field reporter:label="Allow At Copy Owning Lib" name="at_owning" reporter:datatype="bool"/>
7585 <field reporter:label="Invert allowed locations" name="invert_location" reporter:datatype="bool"/>
7586 <field reporter:label="Next Statuses" name="next_status" reporter:datatype="text"/>
7589 <link field="scope_org" reltype="has_a" key="id" map="" class="aou"/>
7591 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
7593 <create permission="ADMIN_COPY_ALERT_TYPE CREATE_COPY_ALERT_TYPE" context_field="scope_org"/>
7595 <update permission="ADMIN_COPY_ALERT_TYPE UPDATE_COPY_ALERT_TYPE" context_field="scope_org"/>
7596 <delete permission="ADMIN_COPY_ALERT_TYPE DELETE_COPY_ALERT_TYPE" context_field="scope_org"/>
7601 <class id="acas" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="actor::copy_alert_suppress" oils_persist:tablename="actor.copy_alert_suppress" reporter:label="Copy Alert Suppression">
7602 <fields oils_persist:primary="id" oils_persist:sequence="actor.copy_alert_suppress_id_seq">
7603 <field reporter:label="Id" name="id" reporter:datatype="id"/>
7604 <field reporter:label="Org Unit" name="org" reporter:datatype="org_unit"/>
7605 <field reporter:label="Alert Type" name="alert_type" reporter:datatype="link" />
7608 <link field="org" reltype="has_a" key="id" map="" class="aou"/>
7609 <link field="alert_type" reltype="has_a" key="id" map="" class="ccat"/>
7611 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
7613 <create permission="ADMIN_COPY_ALERT_SUPPRESS CREATE_COPY_ALERT_SUPPRESS" context_field="org"/>
7615 <update permission="ADMIN_COPY_ALERT_SUPPRESS UPDATE_COPY_ALERT_SUPPRESS" context_field="org"/>
7616 <delete permission="ADMIN_COPY_ALERT_SUPPRESS DELETE_COPY_ALERT_SUPPRESS" context_field="org"/>
7621 <class id="aca" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="asset::copy_alert" oils_persist:tablename="asset.copy_alert" reporter:label="Copy Alert">
7622 <fields oils_persist:primary="id" oils_persist:sequence="asset.copy_alert_id_seq">
7623 <field reporter:label="Id" name="id" reporter:datatype="id"/>
7624 <field reporter:label="Alert Type" name="alert_type" reporter:datatype="link" />
7625 <field reporter:label="Copy" name="copy" reporter:datatype="link"/>
7626 <field reporter:label="Temporary" name="temp" reporter:datatype="bool" />
7627 <field reporter:label="Create Date/Time" name="create_time" reporter:datatype="timestamp" />
7628 <field reporter:label="Creator" name="create_staff" reporter:datatype="link"/>
7629 <field reporter:label="Note" name="note" reporter:datatype="text"/>
7630 <field reporter:label="Acknowledge Date/Time" name="ack_time" reporter:datatype="timestamp" />
7631 <field reporter:label="Acknowledger" name="ack_staff" reporter:datatype="link"/>
7634 <link field="alert_type" reltype="has_a" key="id" map="" class="ccat"/>
7635 <link field="copy" reltype="has_a" key="id" map="" class="acp"/>
7636 <link field="create_staff" reltype="has_a" key="id" map="" class="au"/>
7637 <link field="ack_staff" reltype="has_a" key="id" map="" class="au"/>
7639 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
7641 <create permission="ADMIN_COPY_ALERT CREATE_COPY_ALERT">
7642 <context link="copy" field="circ_lib"/>
7644 <retrieve permission="ADMIN_COPY_ALERT VIEW_COPY_ALERT">
7645 <context link="copy" field="circ_lib"/>
7647 <update permission="ADMIN_COPY_ALERT UPDATE_COPY_ALERT">
7648 <context link="copy" field="circ_lib"/>
7650 <delete permission="ADMIN_COPY_ALERT DELETE_COPY_ALERT">
7651 <context link="copy" field="circ_lib"/>
7657 <class id="aaca" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="asset::active_copy_alert" oils_persist:tablename="asset.active_copy_alert" reporter:label="Active Copy Alert" oils_persist:readonly="true">
7658 <fields oils_persist:primary="id">
7659 <field reporter:label="Id" name="id" reporter:datatype="id"/>
7660 <field reporter:label="Alert Type" name="alert_type" reporter:datatype="link" />
7661 <field reporter:label="Copy" name="copy" reporter:datatype="link"/>
7662 <field reporter:label="Temporary" name="temp" reporter:datatype="bool" />
7663 <field reporter:label="Create Date/Time" name="create_time" reporter:datatype="timestamp" />
7664 <field reporter:label="Creator" name="create_staff" reporter:datatype="link"/>
7665 <field reporter:label="Note" name="note" reporter:datatype="text"/>
7666 <field reporter:label="Acknowledge Date/Time" name="ack_time" reporter:datatype="timestamp" />
7667 <field reporter:label="Acknowledger" name="ack_staff" reporter:datatype="link"/>
7670 <link field="alert_type" reltype="has_a" key="id" map="" class="ccat"/>
7671 <link field="copy" reltype="has_a" key="id" map="" class="acp"/>
7672 <link field="create_staff" reltype="has_a" key="id" map="" class="au"/>
7673 <link field="ack_staff" reltype="has_a" key="id" map="" class="au"/>
7675 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
7677 <create permission="ADMIN_COPY_ALERT CREATE_COPY_ALERT">
7678 <context link="copy" field="circ_lib"/>
7680 <retrieve permission="ADMIN_COPY_ALERT VIEW_COPY_ALERT">
7681 <context link="copy" field="circ_lib"/>
7683 <update permission="ADMIN_COPY_ALERT UPDATE_COPY_ALERT">
7684 <context link="copy" field="circ_lib"/>
7686 <delete permission="ADMIN_COPY_ALERT DELETE_COPY_ALERT">
7687 <context link="copy" field="circ_lib"/>
7693 <class id="act" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="asset::copy_template" oils_persist:tablename="asset.copy_template" reporter:label="Asset Copy Template">
7694 <fields oils_persist:primary="id" oils_persist:sequence="asset.copy_template_id_seq">
7695 <field reporter:label="ID" name="id" reporter:datatype="id" reporter:selector="name" />
7696 <field reporter:label="Owning Lib" name="owning_lib" reporter:datatype="org_unit"/>
7697 <field reporter:label="Creator" name="creator" reporter:datatype="link"/>
7698 <field reporter:label="Editor" name="editor" reporter:datatype="link"/>
7699 <field reporter:label="Create Date" name="create_date" reporter:datatype="timestamp"/>
7700 <field reporter:label="Edit Date" name="edit_date" reporter:datatype="timestamp"/>
7701 <field reporter:label="Name" name="name" reporter:datatype="text"/>
7702 <field reporter:label="Circ Lib" name="circ_lib" reporter:datatype="org_unit"/>
7703 <field reporter:label="Status" name="status" reporter:datatype="link"/>
7704 <field reporter:label="Location" name="location" reporter:datatype="link"/>
7705 <field reporter:label="Loan Duration" name="loan_duration" reporter:datatype="int"/>
7706 <field reporter:label="Fine Level" name="fine_level" reporter:datatype="int"/>
7707 <field reporter:label="Age Protect" name="age_protect" reporter:datatype="link"/>
7708 <field reporter:label="Circulate?" name="circulate" reporter:datatype="bool"/>
7709 <field reporter:label="Deposit?" name="deposit" reporter:datatype="bool"/>
7710 <field reporter:label="Reference?" name="ref" reporter:datatype="bool"/>
7711 <field reporter:label="Holdable?" name="holdable" reporter:datatype="bool"/>
7712 <field reporter:label="Deposit Amount" name="deposit_amount" reporter:datatype="money"/>
7713 <field reporter:label="Price" name="price" reporter:datatype="money"/>
7714 <field reporter:label="Circ Modifier" name="circ_modifier" reporter:datatype="link"/>
7715 <field reporter:label="Circ As Type" name="circ_as_type" reporter:datatype="link"/>
7716 <field reporter:label="Alert Message" name="alert_message" reporter:datatype="text"/>
7717 <field reporter:label="OPAC Visible?" name="opac_visible" reporter:datatype="bool"/>
7718 <field reporter:label="Floating Group" name="floating" reporter:datatype="link"/>
7719 <field reporter:label="Mint Condition?" name="mint_condition" reporter:datatype="bool"/>
7722 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
7723 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
7724 <link field="editor" reltype="has_a" key="id" map="" class="au"/>
7725 <link field="circ_lib" reltype="has_a" key="id" map="" class="aou"/>
7726 <link field="status" reltype="has_a" key="id" map="" class="ccs"/>
7727 <link field="circ_modifier" reltype="has_a" key="code" map="" class="ccm"/>
7728 <link field="location" reltype="has_a" key="id" map="" class="acpl"/>
7729 <link field="floating" reltype="has_a" key="id" map="" class="cfg"/>
7730 <link field="age_protect" reltype="has_a" key="id" map="" class="crahp"/>
7731 <link field="circ_as_type" reltype="has_a" key="code" map="" class="citm"/>
7733 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
7735 <create permission="ADMIN_ASSET_COPY_TEMPLATE" global_required="true"/>
7737 <update permission="ADMIN_ASSET_COPY_TEMPLATE" global_required="true"/>
7738 <delete permission="ADMIN_ASSET_COPY_TEMPLATE" global_required="true"/>
7743 <class id="crahp" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::rules::age_hold_protect" oils_persist:tablename="config.rule_age_hold_protect" reporter:label="Age Hold Protection Rule" oils_persist:field_safe="true">
7744 <fields oils_persist:primary="id" oils_persist:sequence="config.rule_age_hold_protect_id_seq">
7745 <field reporter:label="Item Age" name="age" reporter:datatype="interval"/>
7746 <field reporter:label="Rule ID" name="id" reporter:selector="name" reporter:datatype="id"/>
7747 <field reporter:label="Rule Name" name="name" reporter:datatype="text"/>
7748 <field reporter:label="Allowed Proximity" name="prox" reporter:datatype="int" />
7751 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
7753 <create permission="ADMIN_AGE_PROTECT_RULE" global_required="true"/>
7755 <update permission="ADMIN_AGE_PROTECT_RULE" global_required="true"/>
7756 <delete permission="ADMIN_AGE_PROTECT_RULE" global_required="true"/>
7760 <class id="crmf" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::rules::max_fine" oils_persist:tablename="config.rule_max_fine" reporter:label="Max Fine Rule">
7761 <fields oils_persist:primary="id" oils_persist:sequence="config.rule_max_fine_id_seq">
7762 <field reporter:label="Max Fine Amount" name="amount" reporter:datatype="money" />
7763 <field reporter:label="Rule ID" name="id" reporter:selector="name" reporter:datatype="id"/>
7764 <field reporter:label="Rule Name" name="name" reporter:datatype="text"/>
7765 <field reporter:label="Is Percent" name="is_percent" reporter:datatype="bool"/>
7768 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
7770 <create permission="ADMIN_MAX_FINE_RULE" global_required="true"/>
7772 <update permission="ADMIN_MAX_FINE_RULE" global_required="true"/>
7773 <delete permission="ADMIN_MAX_FINE_RULE" global_required="true"/>
7777 <class id="pgt" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="permission::grp_tree" oils_persist:tablename="permission.grp_tree" reporter:label="Permission Group">
7778 <fields oils_persist:primary="id" oils_persist:sequence="permission.grp_tree_id_seq">
7779 <field reporter:label="Child Groups" name="children" oils_persist:virtual="true" reporter:datatype="link"/>
7780 <field reporter:label="Description" name="description" reporter:datatype="text" oils_persist:i18n="true"/>
7781 <field reporter:label="Group ID" name="id" reporter:selector="name" reporter:datatype="id"/>
7782 <field reporter:label="Group Name" name="name" reporter:datatype="text" oils_persist:i18n="true"/>
7783 <field reporter:label="Parent Group" name="parent" reporter:datatype="link"/>
7784 <field reporter:label="User Expiration Interval" name="perm_interval" reporter:datatype="interval"/>
7785 <field reporter:label="Required Permission" name="application_perm" reporter:datatype="text"/>
7786 <field reporter:label="Is User Group" name="usergroup" reporter:datatype="bool"/>
7787 <field reporter:label="Hold Priority" name="hold_priority" reporter:datatype="int"/>
7790 <link field="parent" reltype="has_a" key="id" map="" class="pgt"/>
7791 <link field="children" reltype="has_many" key="parent" map="" class="pgt"/>
7793 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
7795 <create permission="CREATE_PERM" global_required="true"/>
7796 <retrieve permission="STAFF_LOGIN" global_required="true"/>
7797 <update permission="UPDATE_PERM" global_required="true"/>
7798 <delete permission="DELETE_PERM" global_required="true"/>
7802 <class id="pgtde" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="permission::grp_tree_display_entry" oils_persist:tablename="permission.grp_tree_display_entry" reporter:label="Permission Group Tree Display Entry">
7803 <fields oils_persist:primary="id" oils_persist:sequence="permission.grp_tree_display_entry_id_seq">
7804 <field reporter:label="Entry ID" name="id" reporter:selector="name" reporter:datatype="id"/>
7805 <field reporter:label="Group ID" name="grp" reporter:datatype="link" oils_persist:i18n="true"/>
7806 <field reporter:label="Parent Group" name="parent" reporter:datatype="link"/>
7807 <field reporter:label="Org Unit" name="org" reporter:datatype="link"/>
7808 <field reporter:label="Position" name="position" reporter:datatype="int"/>
7809 <field reporter:label="Child Entries" name="children" oils_persist:virtual="true" reporter:datatype="link"/>
7812 <link field="parent" reltype="has_a" key="id" map="" class="pgtde"/>
7813 <link field="grp" reltype="has_a" key="id" map="" class="pgt"/>
7814 <link field="org" reltype="has_a" key="id" map="" class="aou"/>
7815 <link field="children" reltype="has_many" key="parent" map="" class="pgtde"/>
7817 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
7819 <create permission="MANAGE_CUSTOM_PERM_GRP_TREE" global_required="true"/>
7820 <retrieve permission="STAFF_LOGIN" global_required="true"/>
7821 <update permission="MANAGE_CUSTOM_PERM_GRP_TREE" global_required="true"/>
7822 <delete permission="MANAGE_CUSTOM_PERM_GRP_TREE" global_required="true"/>
7826 <class id="asva" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="action::survey_answer" oils_persist:tablename="action.survey_answer" reporter:label="Survey Answer">
7827 <fields oils_persist:primary="id" oils_persist:sequence="action.survey_answer_id_seq">
7828 <field reporter:label="Responses using this Answer" name="responses" oils_persist:virtual="true" reporter:datatype="link"/>
7829 <field reporter:label="Answer Text" name="answer" reporter:datatype="text"/>
7830 <field reporter:label="Answer ID" name="id" reporter:datatype="id" />
7831 <field reporter:label="Question" name="question" reporter:datatype="link"/>
7834 <link field="question" reltype="has_a" key="id" map="" class="asvq"/>
7835 <link field="responses" reltype="has_many" key="answer" map="" class="asvr"/>
7837 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
7839 <create permission="ADMIN_SURVEY">
7840 <context link="question" jump="survey" field="owner"/>
7843 <update permission="ADMIN_SURVEY">
7844 <context link="question" jump="survey" field="owner"/>
7846 <delete permission="ADMIN_SURVEY">
7847 <context link="question" jump="survey" field="owner"/>
7852 <class id="ancc" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="action::non_cataloged_circulation" oils_persist:tablename="action.non_cataloged_circulation" reporter:core="true" reporter:label="Non-cataloged Circulation">
7853 <fields oils_persist:primary="id" oils_persist:sequence="action.non_cataloged_circulation_id_seq">
7854 <field reporter:label="Circulating Library" name="circ_lib" reporter:datatype="org_unit"/>
7855 <field reporter:label="Circulation Date/Time" name="circ_time" reporter:datatype="timestamp"/>
7856 <field reporter:label="Non-cat Circulation ID" name="id" reporter:datatype="id" />
7857 <field reporter:label="Non-cat Item Type" name="item_type" reporter:datatype="link"/>
7858 <field reporter:label="Patron" name="patron" reporter:datatype="link"/>
7859 <field reporter:label="Circulating Staff" name="staff" reporter:datatype="link"/>
7860 <field reporter:label="Virtual Due Date/Time" name="duedate" reporter:datatype="timestamp" oils_persist:virtual="true"/>
7863 <link field="item_type" reltype="has_a" key="id" map="" class="cnct"/>
7864 <link field="staff" reltype="has_a" key="id" map="" class="au"/>
7865 <link field="patron" reltype="has_a" key="id" map="" class="au"/>
7866 <link field="circ_lib" reltype="has_a" key="id" map="" class="aou"/>
7868 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
7870 <retrieve permission="VIEW_CIRCULATIONS" context_field="circ_lib" />
7874 <class id="moucs" controller="open-ils.cstore" oils_obj:fieldmapper="money::open_user_circulation_summary" oils_persist:tablename="money.open_usr_circulation_summary" reporter:label="Open User Circulation Summary">
7875 <fields oils_persist:primary="usr" oils_persist:sequence="">
7876 <field name="balance_owed" reporter:datatype="money" />
7877 <field name="total_owed" reporter:datatype="money" />
7878 <field name="total_paid" reporter:datatype="money" />
7879 <field name="usr" reporter:datatype="link"/>
7882 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
7885 <class id="aufh" controller="open-ils.cstore" oils_obj:fieldmapper="action::unfulfilled_hold_list" oils_persist:tablename="action.unfulfilled_hold_list" reporter:label="Unfulfilled Hold Targets">
7886 <fields oils_persist:primary="id" oils_persist:sequence="action.unfulfilled_hold_list_id_seq">
7887 <field reporter:label="Non-fulfilling Library" name="circ_lib" reporter:datatype="org_unit"/>
7888 <field reporter:label="Non-fulfilling Copy" name="current_copy" reporter:datatype="link"/>
7889 <field reporter:label="Retargeting Date/Time" name="fail_time" reporter:datatype="timestamp"/>
7890 <field reporter:label="Hold" name="hold" reporter:datatype="link"/>
7891 <field reporter:label="Record ID" name="id" reporter:datatype="id" />
7894 <link field="hold" reltype="has_a" key="id" map="" class="ahr"/>
7895 <link field="current_copy" reltype="has_a" key="id" map="" class="acp"/>
7896 <link field="circ_lib" reltype="has_a" key="id" map="" class="aou"/>
7899 <class id="mife" controller="open-ils.cstore" oils_obj:fieldmapper="metabib::identifier_field_entry" oils_persist:tablename="metabib.identifier_field_entry" reporter:label="Identifier Field Entry">
7900 <fields oils_persist:primary="id" oils_persist:sequence="metabib.identifier_field_entry_id_seq">
7901 <field name="field" reporter:datatype="link"/>
7902 <field name="id" reporter:datatype="id" />
7903 <field name="source" reporter:datatype="link"/>
7904 <field name="value" reporter:datatype="text"/>
7907 <link field="source" reltype="has_a" key="id" map="" class="bre"/>
7908 <link field="field" reltype="has_a" key="id" map="" class="cmf"/>
7911 <class id="mtfe" controller="open-ils.cstore" oils_obj:fieldmapper="metabib::title_field_entry" oils_persist:tablename="metabib.title_field_entry" reporter:label="Title Field Entry">
7912 <fields oils_persist:primary="id" oils_persist:sequence="metabib.title_field_entry_id_seq">
7913 <field name="field" reporter:datatype="link"/>
7914 <field name="id" reporter:datatype="id" />
7915 <field name="source" reporter:datatype="link"/>
7916 <field name="value" reporter:datatype="text"/>
7919 <link field="source" reltype="has_a" key="id" map="" class="bre"/>
7920 <link field="field" reltype="has_a" key="id" map="" class="cmf"/>
7923 <class id="actscecm" controller="open-ils.cstore" oils_obj:fieldmapper="actor::stat_cat_entry_user_map" oils_persist:tablename="actor.stat_cat_entry_usr_map" reporter:label="User Statistical Category Entry">
7924 <fields oils_persist:primary="id" oils_persist:sequence="actor.stat_cat_entry_usr_map_id_seq">
7925 <field reporter:label="Entry ID" name="id" reporter:datatype="id" />
7926 <field reporter:label="Statistical Category" name="stat_cat" reporter:datatype="link"/>
7927 <field reporter:label="Entry Text" name="stat_cat_entry" reporter:datatype="text"/>
7928 <field reporter:label="User" name="target_usr" reporter:datatype="link"/>
7931 <link field="target_usr" reltype="has_a" key="id" map="" class="au"/>
7932 <link field="stat_cat" reltype="has_a" key="id" map="" class="actsc"/>
7935 <class id="pgpm" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="permission::grp_perm_map" oils_persist:tablename="permission.grp_perm_map" reporter:label="Group Permission Map">
7936 <fields oils_persist:primary="id" oils_persist:sequence="permission.grp_perm_map_id_seq">
7937 <field name="depth" reporter:datatype="int" />
7938 <field name="grantable" reporter:datatype="bool"/>
7939 <field name="grp" reporter:datatype="link"/>
7940 <field name="id" reporter:datatype="id" />
7941 <field name="perm" reporter:datatype="link"/>
7944 <link field="grp" reltype="has_a" key="id" map="" class="pgt"/>
7945 <link field="perm" reltype="has_a" key="id" map="" class="ppl"/>
7947 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
7949 <create permission="ASSIGN_GROUP_PERM" global_required="true"/>
7950 <retrieve permission="ASSIGN_GROUP_PERM UPDATE_GROUP_PERM REMOVE_GROUP_PERM" global_required="true"/>
7951 <update permission="UPDATE_GROUP_PERM" global_required="true"/>
7952 <delete permission="REMOVE_GROUP_PERM" global_required="true"/>
7956 <class id="ccb" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="container::copy_bucket" oils_persist:tablename="container.copy_bucket" reporter:label="Copy Bucket">
7957 <fields oils_persist:primary="id" oils_persist:sequence="container.copy_bucket_id_seq">
7958 <field name="items" oils_persist:virtual="true" />
7959 <field name="btype" reporter:datatype="text"/>
7960 <field name="id" reporter:datatype="id" />
7961 <field name="name" reporter:datatype="text"/>
7962 <field name="description" reporter:datatype="text"/>
7963 <field name="owner" reporter:datatype="link"/>
7964 <field name="pub" reporter:datatype="bool"/>
7965 <field name="create_time" reporter:datatype="timestamp" />
7966 <field name="owning_lib" reporter:datatype="org_unit" />
7969 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
7970 <link field="owner" reltype="has_a" key="id" map="" class="au"/>
7971 <link field="items" reltype="has_many" key="bucket" map="" class="ccbi"/>
7973 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
7975 <create permission="CREATE_COPY_BUCKET ADMIN_COPY_BUCKET" context="owning_lib" owning_user="owner"/>
7976 <retrieve permission="CREATE_COPY_BUCKET ADMIN_COPY_BUCKET" context="owning_lib" owning_user="owner"/>
7977 <update permission="CREATE_COPY_BUCKET ADMIN_COPY_BUCKET" context="owning_lib" owning_user="owner"/>
7978 <delete permission="CREATE_COPY_BUCKET ADMIN_COPY_BUCKET" context="owning_lib" owning_user="owner"/>
7982 <class id="ccbn" controller="open-ils.cstore" oils_obj:fieldmapper="container::copy_bucket_note" oils_persist:tablename="container.copy_bucket_note" reporter:label="Copy Bucket Note">
7983 <fields oils_persist:primary="id" oils_persist:sequence="container.copy_bucket_note_id_seq">
7984 <field name="id" reporter:datatype="id" />
7985 <field name="bucket" reporter:datatype="link"/>
7986 <field name="note" reporter:datatype="text" />
7989 <link field="bucket" reltype="has_a" key="id" map="" class="ccb"/>
7992 <class id="puwoum" controller="open-ils.cstore" oils_obj:fieldmapper="permission::usr_work_ou_map" oils_persist:tablename="permission.usr_work_ou_map" reporter:label="User Work Org Unit Map">
7993 <fields oils_persist:primary="id" oils_persist:sequence="permission.usr_work_ou_map_id_seq">
7994 <field reporter:label="User/Working Location Map ID" name="id" reporter:datatype="int" />
7995 <field reporter:label="User" name="usr" reporter:datatype="link"/>
7996 <field reporter:label="Working Location" name="work_ou" reporter:datatype="link"/>
7999 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
8000 <link field="work_ou" reltype="has_a" key="id" map="" class="aou"/>
8003 <class id="pupm" controller="open-ils.cstore" oils_obj:fieldmapper="permission::usr_perm_map" oils_persist:tablename="permission.usr_perm_map" reporter:label="User Permission Map">
8004 <fields oils_persist:primary="id" oils_persist:sequence="permission.usr_perm_map_id_seq">
8005 <field name="depth" reporter:datatype="int"/>
8006 <field name="grantable" reporter:datatype="bool"/>
8007 <field name="id" reporter:datatype="id" />
8008 <field name="perm" reporter:datatype="link"/>
8009 <field name="usr" reporter:datatype="link"/>
8012 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
8013 <link field="perm" reltype="has_a" key="id" map="" class="ppl"/>
8016 <class id="puopm" controller="open-ils.cstore" oils_obj:fieldmapper="permission::usr_object_perm_map" oils_persist:tablename="permission.usr_object_perm_map" reporter:label="User Object Permission Map">
8017 <fields oils_persist:primary="id" oils_persist:sequence="permission.usr_object_perm_map_id_seq">
8018 <field name="object_id" reporter:datatype="text"/>
8019 <field name="grantable" reporter:datatype="bool"/>
8020 <field name="id" reporter:datatype="id" />
8021 <field name="perm" reporter:datatype="link"/>
8022 <field name="usr" reporter:datatype="link"/>
8023 <field name="object_type" reporter:datatype="text"/>
8026 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
8027 <link field="perm" reltype="has_a" key="id" map="" class="ppl"/>
8030 <class id="mp" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="money::payment" oils_persist:tablename="money.payment_view" reporter:core="true" reporter:label="Payments: All">
8031 <fields oils_persist:primary="id" oils_persist:sequence="">
8032 <field reporter:label="Amount" name="amount" reporter:datatype="money" />
8033 <field reporter:label="Payment ID" name="id" reporter:datatype="id" />
8034 <field reporter:label="Note" name="note" reporter:datatype="text"/>
8035 <field reporter:label="Payment Date/Time" name="payment_ts" reporter:datatype="timestamp"/>
8036 <field reporter:label="Payment Type" name="payment_type" reporter:datatype="text"/>
8037 <field reporter:label="Billable Transaction" name="xact" reporter:datatype="link"/>
8038 <field reporter:label="Voided?" name="voided" reporter:datatype="bool"/>
8039 <field reporter:label="Cash Payment Detail" name="cash_payment" oils_persist:virtual="true" reporter:datatype="link"/>
8040 <field reporter:label="Credit Card Payment Detail" name="credit_card_payment" oils_persist:virtual="true" reporter:datatype="link"/>
8041 <field reporter:label="Credit Payment Detail" name="credit_payment" oils_persist:virtual="true" reporter:datatype="link"/>
8042 <field reporter:label="Check Payment Detail" name="check_payment" oils_persist:virtual="true" reporter:datatype="link"/>
8043 <field reporter:label="Work Payment Detail" name="work_payment" oils_persist:virtual="true" reporter:datatype="link"/>
8044 <field reporter:label="Forgive Payment Detail" name="forgive_payment" oils_persist:virtual="true" reporter:datatype="link"/>
8045 <field reporter:label="Goods Payment Detail" name="goods_payment" oils_persist:virtual="true" reporter:datatype="link"/>
8046 <field reporter:label="Account Adjustment Detail" name="account_adjustment" oils_persist:virtual="true" reporter:datatype="link"/>
8049 <link field="cash_payment" reltype="might_have" key="id" map="" class="mcp"/>
8050 <link field="credit_card_payment" reltype="might_have" key="id" map="" class="mccp"/>
8051 <link field="credit_payment" reltype="might_have" key="id" map="" class="mcrp"/>
8052 <link field="check_payment" reltype="might_have" key="id" map="" class="mckp"/>
8053 <link field="work_payment" reltype="might_have" key="id" map="" class="mwp"/>
8054 <link field="forgive_payment" reltype="might_have" key="id" map="" class="mfp"/>
8055 <link field="goods_payment" reltype="might_have" key="id" map="" class="mgp"/>
8056 <link field="account_adjustment" reltype="might_have" key="id" map="" class="maa"/>
8057 <link field="xact" reltype="has_a" key="id" map="" class="mbt"/>
8059 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8061 <retrieve permission="VIEW_USER_TRANSACTIONS">
8062 <context link="xact" jump="usr" field="home_ou"/>
8067 <class id="mbp" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="money::bnm_payment" oils_persist:tablename="money.bnm_payment_view" reporter:core="true" reporter:label="Payments: Brick-and-mortar">
8068 <fields oils_persist:primary="id" oils_persist:sequence="">
8069 <field reporter:label="Amount" name="amount" reporter:datatype="money" />
8070 <field reporter:label="Payment ID" name="id" reporter:datatype="id" />
8071 <field reporter:label="Note" name="note" reporter:datatype="text"/>
8072 <field reporter:label="Payment Date/Time" name="payment_ts" reporter:datatype="timestamp"/>
8073 <field reporter:label="Payment Type" name="payment_type" reporter:datatype="text"/>
8074 <field reporter:label="Billable Transaction" name="xact" reporter:datatype="link"/>
8075 <field reporter:label="Accepting User" name="accepting_usr" reporter:datatype="link"/>
8076 <field reporter:label="Voided?" name="voided" reporter:datatype="bool"/>
8077 <field reporter:label="Cash Payment Detail" name="cash_payment" oils_persist:virtual="true" reporter:datatype="link"/>
8078 <field reporter:label="Credit Card Payment Detail" name="credit_card_payment" oils_persist:virtual="true" reporter:datatype="link"/>
8079 <field reporter:label="Credit Payment Detail" name="credit_payment" oils_persist:virtual="true" reporter:datatype="link"/>
8080 <field reporter:label="Check Payment Detail" name="check_payment" oils_persist:virtual="true" reporter:datatype="link"/>
8081 <field reporter:label="Work Payment Detail" name="work_payment" oils_persist:virtual="true" reporter:datatype="link"/>
8082 <field reporter:label="Forgive Payment Detail" name="forgive_payment" oils_persist:virtual="true" reporter:datatype="link"/>
8083 <field reporter:label="Goods Payment Detail" name="goods_payment" oils_persist:virtual="true" reporter:datatype="link"/>
8084 <field reporter:label="Account Adjustment Detail" name="account_adjustment" oils_persist:virtual="true" reporter:datatype="link"/>
8087 <link field="cash_payment" reltype="might_have" key="id" map="" class="mcp"/>
8088 <link field="credit_card_payment" reltype="might_have" key="id" map="" class="mccp"/>
8089 <link field="credit_payment" reltype="might_have" key="id" map="" class="mcrp"/>
8090 <link field="check_payment" reltype="might_have" key="id" map="" class="mckp"/>
8091 <link field="work_payment" reltype="might_have" key="id" map="" class="mwp"/>
8092 <link field="forgive_payment" reltype="might_have" key="id" map="" class="mfp"/>
8093 <link field="goods_payment" reltype="might_have" key="id" map="" class="mgp"/>
8094 <link field="account_adjustment" reltype="might_have" key="id" map="" class="maa"/>
8095 <link field="xact" reltype="has_a" key="id" map="" class="mbt"/>
8096 <link field="accepting_usr" reltype="has_a" key="id" map="" class="au"/>
8098 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8100 <retrieve permission="VIEW_USER_TRANSACTIONS">
8101 <context link="xact" jump="usr" field="home_ou"/>
8106 <class id="mndp" controller="open-ils.reporter" oils_obj:fieldmapper="money::non_drawer_payment" oils_persist:tablename="money.non_drawer_payment_view" reporter:core="true" reporter:label="Payments: Non-drawer Staff">
8107 <fields oils_persist:primary="id" oils_persist:sequence="">
8108 <field reporter:label="Amount" name="amount" reporter:datatype="money" />
8109 <field reporter:label="Payment ID" name="id" reporter:datatype="id" />
8110 <field reporter:label="Note" name="note" reporter:datatype="text"/>
8111 <field reporter:label="Payment Date/Time" name="payment_ts" reporter:datatype="timestamp"/>
8112 <field reporter:label="Payment Type" name="payment_type" reporter:datatype="text"/>
8113 <field reporter:label="Billable Transaction" name="xact" reporter:datatype="link"/>
8114 <field reporter:label="Voided?" name="voided" reporter:datatype="bool"/>
8115 <field reporter:label="Work Payment Detail" name="work_payment" oils_persist:virtual="true" reporter:datatype="link"/>
8116 <field reporter:label="Forgive Payment Detail" name="forgive_payment" oils_persist:virtual="true" reporter:datatype="link"/>
8117 <field reporter:label="Goods Payment Detail" name="goods_payment" oils_persist:virtual="true" reporter:datatype="link"/>
8118 <field reporter:label="Credit Payment Detail" name="credit_payment" oils_persist:virtual="true" reporter:datatype="link"/>
8119 <field reporter:label="Account Adjustment Detail" name="account_adjustment" oils_persist:virtual="true" reporter:datatype="link"/>
8122 <link field="work_payment" reltype="might_have" key="id" map="" class="mwp"/>
8123 <link field="forgive_payment" reltype="might_have" key="id" map="" class="mfp"/>
8124 <link field="goods_payment" reltype="might_have" key="id" map="" class="mgp"/>
8125 <link field="credit_payment" reltype="might_have" key="id" map="" class="mcrp"/>
8126 <link field="account_adjustment" reltype="might_have" key="id" map="" class="maa"/>
8127 <link field="xact" reltype="has_a" key="id" map="" class="mbt"/>
8130 <class id="mdp" controller="open-ils.cstore" oils_obj:fieldmapper="money::desk_payment" oils_persist:tablename="money.desk_payment_view" reporter:core="true" reporter:label="Payments: Desk">
8131 <fields oils_persist:primary="id" oils_persist:sequence="">
8132 <field reporter:label="Amount" name="amount" reporter:datatype="money" />
8133 <field reporter:label="Payment ID" name="id" reporter:datatype="id" />
8134 <field reporter:label="Note" name="note" reporter:datatype="text"/>
8135 <field reporter:label="Payment Date/Time" name="payment_ts" reporter:datatype="timestamp"/>
8136 <field reporter:label="Payment Type" name="payment_type" reporter:datatype="text"/>
8137 <field reporter:label="Billable Transaction" name="xact" reporter:datatype="link"/>
8138 <field reporter:label="Accepting User" name="accepting_usr" reporter:datatype="link"/>
8139 <field reporter:label="Cash Drawer" name="cash_drawer" reporter:datatype="link"/>
8140 <field reporter:label="Voided?" name="voided" reporter:datatype="bool"/>
8141 <field reporter:label="Cash Payment" name="cash_payment" oils_persist:virtual="true" reporter:datatype="link"/>
8142 <field reporter:label="Credit Card Payment" name="credit_card_payment" oils_persist:virtual="true" reporter:datatype="link"/>
8143 <field reporter:label="Check Payment" name="check_payment" oils_persist:virtual="true" reporter:datatype="link"/>
8146 <link field="cash_payment" reltype="might_have" key="id" map="" class="mcp"/>
8147 <link field="credit_card_payment" reltype="might_have" key="id" map="" class="mccp"/>
8148 <link field="check_payment" reltype="might_have" key="id" map="" class="mckp"/>
8149 <link field="xact" reltype="has_a" key="id" map="" class="mbt"/>
8150 <link field="accepting_usr" reltype="has_a" key="id" map="" class="au"/>
8151 <link field="cash_drawer" reltype="has_a" key="id" map="" class="aws"/>
8154 <class id="cbrebi" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="container::biblio_record_entry_bucket_item" oils_persist:tablename="container.biblio_record_entry_bucket_item" reporter:label="Biblio Record Entry Bucket Item">
8155 <fields oils_persist:primary="id" oils_persist:sequence="container.biblio_record_entry_bucket_item_id_seq">
8156 <field name="bucket" reporter:datatype="link"/>
8157 <field name="id" reporter:datatype="id" />
8158 <field name="target_biblio_record_entry" reporter:datatype="link"/>
8159 <field name="create_time" reporter:datatype="timestamp" />
8160 <field name="pos" reporter:datatype="int" />
8161 <field name="notes" oils_persist:virtual="true" reporter:datatype="link" />
8164 <link field="target_biblio_record_entry" reltype="has_a" key="id" map="" class="bre"/>
8165 <link field="bucket" reltype="has_a" key="id" map="" class="cbreb"/>
8166 <link field="notes" reltype="has_many" map="" key="item" class="cbrebin"/>
8168 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8170 <retrieve permission="ADMIN_COPY_BUCKET">
8171 <context link="bucket" owning_lib="owning_lib"/>
8176 <class id="cbrebin" controller="open-ils.cstore" oils_obj:fieldmapper="container::biblio_record_entry_bucket_item_note" oils_persist:tablename="container.biblio_record_entry_bucket_item_note" reporter:label="Biblio Record Entry Bucket Item Note">
8177 <fields oils_persist:primary="id" oils_persist:sequence="container.biblio_record_entry_bucket_item_note_id_seq">
8178 <field name="id" reporter:datatype="id" />
8179 <field name="item" reporter:datatype="link"/>
8180 <field name="note" reporter:datatype="text" />
8183 <link field="item" reltype="has_a" key="id" map="" class="cbrebi"/>
8186 <class id="asce" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="asset::stat_cat_entry" oils_persist:tablename="asset.stat_cat_entry" reporter:label="Item Stat Cat Entry">
8187 <fields oils_persist:primary="id" oils_persist:sequence="asset.stat_cat_entry_id_seq">
8188 <field reporter:label="Entry ID" name="id" reporter:datatype="int" />
8189 <field reporter:label="Entry Owner" name="owner" reporter:datatype="link"/>
8190 <field reporter:label="Stat Cat" name="stat_cat" reporter:datatype="link"/>
8191 <field reporter:label="Value" name="value" reporter:datatype="text" oils_persist:i18n="true"/>
8194 <link field="stat_cat" reltype="has_a" key="id" map="" class="asc"/>
8195 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
8197 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8199 <retrieve permission="STAFF_LOGIN" global_required="true"/>
8203 <class id="ascsf" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="asset::stat_cat_sip_fields" oils_persist:tablename="asset.stat_cat_sip_fields" reporter:label="SIP Statistical Category Field Identifier">
8204 <fields oils_persist:primary="field">
8205 <field reporter:label="Field Identifier" name="field" reporter:datatype="text" reporter:selector="name"/>
8206 <field reporter:label="Field Name" name="name" reporter:datatype="text"/>
8207 <field reporter:label="Exclusive?" name="one_only" reporter:datatype="bool"/>
8210 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8212 <create permission="CREATE_COPY_STAT_CAT" global_required="true"/>
8214 <update permission="UPDATE_COPY_STAT_CAT" global_required="true"/>
8215 <delete permission="DELETE_COPY_STAT_CAT" global_required="true"/>
8219 <class id="ahrcc" controller="open-ils.cstore open-ils.reporter-store open-ils.pcrud" oils_obj:fieldmapper="action::hold_request_cancel_cause" oils_persist:tablename="action.hold_request_cancel_cause" oils_persist:restrict_primary="100" reporter:label="Hold Request Cancel Cause">
8220 <fields oils_persist:primary="id" oils_persist:sequence="action.hold_request_cancel_cause_id_seq">
8221 <field reporter:label="Cause ID" name="id" reporter:datatype="id" />
8222 <field reporter:label="Cause Label" name="label" reporter:datatype="text" oils_persist:i18n="true" />
8225 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8227 <create permission="ADMIN_HOLD_CANCEL_CAUSE" global_required="true"/>
8229 <update permission="ADMIN_HOLD_CANCEL_CAUSE" global_required="true"/>
8230 <delete permission="ADMIN_HOLD_CANCEL_CAUSE" global_required="true"/>
8236 <class id="artc" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="action::reservation_transit_copy" oils_persist:tablename="action.reservation_transit_copy" reporter:core="true" reporter:label="Reservation Transit">
8237 <fields oils_persist:primary="id" oils_persist:sequence="action.transit_copy_id_seq">
8238 <field reporter:label="Copy Status at Transit" name="copy_status" reporter:datatype="link"/>
8239 <field reporter:label="Destination Library" name="dest" reporter:datatype="org_unit"/>
8240 <field reporter:label="Receive Date/Time" name="dest_recv_time" reporter:datatype="timestamp"/>
8241 <field reporter:label="Reservation requiring Transit" name="reservation" reporter:datatype="link"/>
8242 <field reporter:label="Transit ID" name="id" reporter:datatype="id" />
8243 <field reporter:label="Is Persistent?" name="persistant_transfer" reporter:datatype="bool"/>
8244 <field reporter:label="Previous Stop" name="prev_hop" reporter:datatype="link"/>
8245 <field reporter:label="Sending Library" name="source" reporter:datatype="org_unit"/>
8246 <field reporter:label="Send Date/Time" name="source_send_time" reporter:datatype="timestamp"/>
8247 <field reporter:label="Transited Copy" name="target_copy" reporter:datatype="link"/>
8248 <field reporter:label="Base Transit" name="transit_copy" oils_persist:virtual="true" reporter:datatype="link"/>
8249 <field reporter:label="Prev Destination Library" name="prev_dest" reporter:datatype="org_unit"/>
8250 <field reporter:label="Cancel Date/Time" name="cancel_time" reporter:datatype="timestamp"/>
8253 <link field="transit_copy" reltype="might_have" key="id" map="" class="atc"/>
8254 <link field="target_copy" reltype="has_a" key="id" map="" class="brsrc"/>
8255 <link field="source" reltype="has_a" key="id" map="" class="aou"/>
8256 <link field="copy_status" reltype="has_a" key="id" map="" class="ccs"/>
8257 <link field="dest" reltype="has_a" key="id" map="" class="aou"/>
8258 <link field="prev_dest" reltype="has_a" key="id" map="" class="aou"/>
8259 <link field="reservation" reltype="has_a" key="id" map="" class="bresv"/>
8261 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8263 <create permission="TRANSIT_COPY">
8264 <context link="target_copy" field="owner"/>
8267 <update permission="UPDATE_TRANSIT" context_field="dest source"/>
8268 <delete permission="DELETE_TRANSIT" context_field="dest source"/>
8272 <class id="ahtc" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="action::hold_transit_copy" oils_persist:tablename="action.hold_transit_copy" reporter:core="true" reporter:label="Hold Transit">
8273 <fields oils_persist:primary="id" oils_persist:sequence="action.transit_copy_id_seq">
8274 <field reporter:label="Copy Status at Transit" name="copy_status" reporter:datatype="link"/>
8275 <field reporter:label="Destination Library" name="dest" reporter:datatype="org_unit"/>
8276 <field reporter:label="Receive Date/Time" name="dest_recv_time" reporter:datatype="timestamp"/>
8277 <field reporter:label="Hold requiring Transit" name="hold" reporter:datatype="link"/>
8278 <field reporter:label="Transit ID" name="id" reporter:datatype="id" />
8279 <field reporter:label="Is Persistent?" name="persistant_transfer" reporter:datatype="bool"/>
8280 <field reporter:label="Previous Stop" name="prev_hop" reporter:datatype="link"/>
8281 <field reporter:label="Sending Library" name="source" reporter:datatype="org_unit"/>
8282 <field reporter:label="Send Date/Time" name="source_send_time" reporter:datatype="timestamp"/>
8283 <field reporter:label="Transited Copy" name="target_copy" reporter:datatype="link"/>
8284 <field reporter:label="Base Transit" name="transit_copy" oils_persist:virtual="true" reporter:datatype="link"/>
8285 <field reporter:label="Prev Destination Library" name="prev_dest" reporter:datatype="org_unit"/>
8286 <field reporter:label="Cancel Date/Time" name="cancel_time" reporter:datatype="timestamp"/>
8289 <link field="transit_copy" reltype="might_have" key="id" map="" class="atc"/>
8290 <link field="target_copy" reltype="has_a" key="id" map="" class="acp"/>
8291 <link field="source" reltype="has_a" key="id" map="" class="aou"/>
8292 <link field="copy_status" reltype="has_a" key="id" map="" class="ccs"/>
8293 <link field="dest" reltype="has_a" key="id" map="" class="aou"/>
8294 <link field="prev_dest" reltype="has_a" key="id" map="" class="aou"/>
8295 <link field="hold" reltype="has_a" key="id" map="" class="ahr"/>
8297 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8299 <create permission="TRANSIT_COPY" context_field="owner">
8300 <context link="target_copy" field="circ_lib"/>
8303 <update permission="UPDATE_TRANSIT" context_field="dest source"/>
8304 <delete permission="DELETE_TRANSIT" context_field="dest source"/>
8308 <class id="mb" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="money::billing" oils_persist:tablename="money.billing" reporter:label="Billing Line Item">
8309 <fields oils_persist:primary="id" oils_persist:sequence="money.billing_id_seq">
8310 <field reporter:label="Amount" name="amount" reporter:datatype="money" />
8311 <field reporter:label="Create Date" name="create_date" reporter:datatype="timestamp"/>
8312 <field reporter:label="Billing Period Start" name="period_start" reporter:datatype="timestamp"/>
8313 <field reporter:label="Billing Period End" name="period_end" reporter:datatype="timestamp"/>
8314 <field reporter:label="Legacy Billing Timestamp" name="billing_ts" reporter:datatype="timestamp"/>
8315 <field reporter:label="Legacy Billing Type" name="billing_type" reporter:datatype="text"/>
8316 <field reporter:label="Billing ID" name="id" reporter:datatype="id" />
8317 <field reporter:label="Note" name="note" reporter:datatype="text"/>
8318 <field reporter:label="Void Timestamp" name="void_time" reporter:datatype="timestamp"/>
8319 <field reporter:label="Voided?" name="voided" reporter:datatype="bool"/>
8320 <field reporter:label="Voiding Staff Member" name="voider" reporter:datatype="link"/>
8321 <field reporter:label="Transaction" name="xact" reporter:datatype="link"/>
8322 <field reporter:label="Type" name="btype" reporter:datatype="link"/>
8323 <field reporter:label="Adjustments" name="adjustments" oils_persist:virtual="true" reporter:datatype="link"/>
8326 <link field="xact" reltype="has_a" key="id" map="" class="mbt"/>
8327 <link field="voider" reltype="has_a" key="id" map="" class="au"/>
8328 <link field="btype" reltype="has_a" key="id" map="" class="cbt"/>
8329 <link field="adjustments" reltype="has_many" key="billing" map="" class="maa"/>
8331 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8333 <retrieve permission="VIEW_USER_TRANSACTIONS">
8334 <context link="xact" jump="usr" field="home_ou"/>
8339 <class id="pugm" controller="open-ils.cstore" oils_obj:fieldmapper="permission::usr_grp_map" oils_persist:tablename="permission.usr_grp_map" reporter:label="User Group Map">
8340 <fields oils_persist:primary="id" oils_persist:sequence="permission.usr_grp_map_id_seq">
8341 <field name="grp" />
8342 <field name="id" reporter:datatype="id" />
8343 <field name="usr" />
8346 <link field="grp" reltype="has_a" key="id" map="" class="pgt"/>
8347 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
8350 <class id="i18n" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::i18n_core" oils_persist:tablename="config.i18n_core" oils_persist:field_safe="true" reporter:label="i18n Core">
8351 <fields oils_persist:primary="id" oils_persist:sequence="config.i18n_core_id_seq">
8352 <field name="id" reporter:datatype="id" />
8353 <field name="fq_field" reporter:datatype="text"/>
8354 <field name="identity_value" reporter:datatype="text"/>
8355 <field name="translation" reporter:datatype="text"/>
8356 <field name="string" reporter:datatype="text"/>
8359 <link field="translation" reltype="has_a" key="code" map="" class="i18n_l"/>
8361 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8363 <create permission="CREATE_TRANSLATION" global_required="true"/>
8364 <retrieve permission="CREATE_TRANSLATION UPDATE_TRANSLATION DELETE_TRANSLATION" global_required="true"/>
8365 <update permission="UPDATE_TRANSLATION" global_required="true"/>
8366 <delete permission="DELETE_TRANSLATION" global_required="true"/>
8370 <class id="fdoc" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::idl_field_doc" oils_persist:tablename="config.idl_field_doc" oils_persist:field_safe="true" reporter:label="IDL Field Doc">
8371 <fields oils_persist:primary="id" oils_persist:sequence="config.idl_field_doc_id_seq">
8372 <field name="id" reporter:datatype="id" />
8373 <field name="fm_class" reporter:datatype="text"/>
8374 <field name="field" reporter:datatype="text"/>
8375 <field name="owner" reporter:datatype="org_unit"/>
8376 <field name="string" reporter:datatype="text" oils_persist:i18n="true"/>
8379 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
8381 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8383 <create permission="ADMIN_FIELD_DOC" context_field="owner"/>
8385 <update permission="ADMIN_FIELD_DOC" context_field="owner"/>
8386 <delete permission="ADMIN_FIELD_DOC" context_field="owner"/>
8390 <class id="i18n_l" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::i18n_locale" oils_persist:tablename="config.i18n_locale" oils_persist:field_safe="true" reporter:label="Locale">
8391 <fields oils_persist:primary="code">
8392 <field name="code" reporter:datatype="id" />
8393 <field name="marc_code" reporter:datatype="text"/>
8394 <field name="name" reporter:datatype="text" oils_persist:i18n="true"/>
8395 <field name="description" reporter:datatype="text" oils_persist:i18n="true"/>
8396 <field name="rtl" reporter:datatype="bool"/>
8399 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8401 <create permission="CREATE_LOCALE" global_required="true"/>
8403 <update permission="UPDATE_LOCALE" global_required="true"/>
8404 <delete permission="DELETE_LOCALE" global_required="true"/>
8408 <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">
8409 <fields oils_persist:primary="id" oils_persist:sequence="config.billing_type_id_seq">
8410 <field name="id" reporter:datatype="id" reporter:label="ID" reporter:selector="name"/>
8411 <field name="name" reporter:datatype="text" reporter:label="Name" oils_persist:i18n="true"/>
8412 <field name="owner" reporter:datatype="org_unit" reporter:label="Org Unit" />
8413 <field name="default_price" reporter:datatype="money" reporter:label="Default Price"/>
8416 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
8418 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8420 <create permission="CREATE_BILLING_TYPE" context_field="owner"/>
8421 <retrieve permission="VIEW_BILLING_TYPE CREATE_BILLING_TYPE UPDATE_BILLING_TYPE DELETE_BILLING_TYPE" context_field="owner"/>
8422 <update permission="UPDATE_BILLING_TYPE" context_field="owner"/>
8423 <delete permission="DELETE_BILLING_TYPE" context_field="owner"/>
8428 <class id="aurt" controller="open-ils.cstore open-ils.reporter-store open-ils.pcrud" oils_obj:fieldmapper="acq::user_request_type" oils_persist:tablename="acq.user_request_type" reporter:label="User Purchase Request Type">
8429 <fields oils_persist:primary="id">
8430 <field reporter:label="ID" name="id" reporter:datatype="id" reporter:selector='label'/>
8431 <field reporter:label="Type Label" name="label" reporter:datatype="text" oils_persist:i18n="true" />
8434 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8436 <create permission="ADMIN_USER_REQUEST_TYPE" global_required="true"/>
8438 <update permission="ADMIN_USER_REQUEST_TYPE" global_required="true"/>
8439 <delete permission="ADMIN_USER_REQUEST_TYPE" global_required="true"/>
8444 <class id="aur" controller="open-ils.cstore open-ils.reporter-store open-ils.pcrud" oils_obj:fieldmapper="acq::user_request" oils_persist:tablename="acq.user_request" reporter:label="User Purchase Request">
8445 <fields oils_persist:primary="id" oils_persist:sequence="acq.user_request_id_seq">
8446 <field reporter:label="ID" name="id" reporter:datatype="id" reporter:selector='label'/>
8447 <field reporter:label="User" name="usr" reporter:datatype="link" />
8448 <field reporter:label="Request Type" name="request_type" oils_obj:required="true" reporter:datatype="link" />
8449 <field reporter:label="Place Hold" name="hold" reporter:datatype="bool" />
8450 <field reporter:label="Pickup Library" name="pickup_lib" reporter:datatype="link" />
8451 <field reporter:label="Holdable Formats" name="holdable_formats" reporter:datatype="text" />
8452 <field reporter:label="Phone Notify" name="phone_notify" reporter:datatype="text" />
8453 <field reporter:label="Email Notify" name="email_notify" reporter:datatype="bool" />
8454 <field reporter:label="PO Line Item" name="lineitem" reporter:datatype="link" />
8455 <field reporter:label="Bib Record" name="eg_bib" reporter:datatype="link" />
8456 <field reporter:label="Request Date/Time" name="request_date" reporter:datatype="timestamp" />
8457 <field reporter:label="Need Before Date/Time" name="need_before" reporter:datatype="timestamp" />
8458 <field reporter:label="Max Acceptable Fee" name="max_fee" reporter:datatype="text" />
8459 <field reporter:label="ISxN" name="isxn" reporter:datatype="text" />
8460 <field reporter:label="UPC" name="upc" reporter:datatype="text" />
8461 <field reporter:label="Title" name="title" reporter:datatype="text" />
8462 <field reporter:label="Volume" name="volume" reporter:datatype="text" />
8463 <field reporter:label="Author" name="author" reporter:datatype="text" />
8464 <field reporter:label="Article Title" name="article_title" reporter:datatype="text" />
8465 <field reporter:label="Article Pages" name="article_pages" reporter:datatype="text" />
8466 <field reporter:label="Publisher" name="publisher" reporter:datatype="text" />
8467 <field reporter:label="Publication Location" name="location" reporter:datatype="text" />
8468 <field reporter:label="Publication Date" name="pubdate" reporter:datatype="text" />
8469 <field reporter:label="Mentioned In" name="mentioned" reporter:datatype="text" />
8470 <field reporter:label="Other Info" name="other_info" reporter:datatype="text" />
8471 <field reporter:label="Cancel Reason" name="cancel_reason" reporter:datatype="link" />
8472 <field reporter:label="Cancel Date/Time" name="cancel_time" reporter:datatype="timestamp" />
8475 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
8476 <link field="pickup_lib" reltype="has_a" key="id" map="" class="aou"/>
8477 <link field="lineitem" reltype="has_a" key="id" map="" class="jub"/>
8478 <link field="eg_bib" reltype="has_a" key="id" map="" class="bre"/>
8479 <link field="request_type" reltype="has_a" key="id" map="" class="aurt"/>
8480 <link field="cancel_reason" reltype="has_a" key="id" map="" class="acqcr"/>
8482 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8484 <create permission="user_request.create">
8485 <context link="usr" field="home_ou"/>
8487 <retrieve permission="user_request.view">
8488 <context link="usr" field="home_ou"/>
8490 <update permission="user_request.update">
8491 <context link="usr" field="home_ou"/>
8493 <delete permission="user_request.delete">
8494 <context link="usr" field="home_ou"/>
8500 <class id="aurs" controller="open-ils.cstore open-ils.reporter-store open-ils.pcrud" oils_obj:fieldmapper="acq::user_request_status" reporter:label="User Purchase Request with Status" oils_persist="readonly">
8501 <oils_persist:source_definition><![CDATA[
8503 WHEN r.cancel_reason IS NOT NULL THEN 7 -- Canceled
8504 WHEN h.fulfillment_time IS NOT NULL THEN 6 -- Fulfilled
8505 WHEN l.state = 'received' THEN 5 -- Received
8506 WHEN p.state = 'on-order' AND h.id IS NOT NULL THEN 4 -- Ordered, Hold Placed
8507 WHEN p.state = 'on-order' AND h.id IS NULL THEN 3 -- Ordered, Hold Not Placed
8508 WHEN l.id IS NOT NULL THEN 2 -- Pending
8509 WHEN l.id IS NULL THEN 1 -- New
8511 END AS request_status
8513 FROM acq.user_request r
8514 JOIN actor.usr u ON (r.usr = u.id)
8515 LEFT JOIN acq.lineitem l ON (r.lineitem = l.id)
8516 LEFT JOIN acq.purchase_order p ON (l.purchase_order = p.id)
8517 LEFT JOIN action.hold_request h ON (h.acq_request = r.id)
8518 ]]></oils_persist:source_definition>
8519 <fields oils_persist:primary="id">
8520 <field reporter:label="ID" name="id" reporter:datatype="id" reporter:selector='label'/>
8521 <field reporter:label="User" name="usr" reporter:datatype="link" />
8522 <field reporter:label="Request Type" name="request_type" oils_obj:required="true" reporter:datatype="link" />
8523 <field reporter:label="Place Hold" name="hold" reporter:datatype="bool" />
8524 <field reporter:label="Pickup Library" name="pickup_lib" reporter:datatype="link" />
8525 <field reporter:label="Holdable Formats" name="holdable_formats" reporter:datatype="text" />
8526 <field reporter:label="Phone Notify" name="phone_notify" reporter:datatype="text" />
8527 <field reporter:label="Email Notify" name="email_notify" reporter:datatype="bool" />
8528 <field reporter:label="PO Line Item" name="lineitem" reporter:datatype="link" />
8529 <field reporter:label="Bib Record" name="eg_bib" reporter:datatype="link" />
8530 <field reporter:label="Request Date/Time" name="request_date" reporter:datatype="timestamp" />
8531 <field reporter:label="Need Before Date/Time" name="need_before" reporter:datatype="timestamp" />
8532 <field reporter:label="Max Acceptable Fee" name="max_fee" reporter:datatype="text" />
8533 <field reporter:label="ISxN" name="isxn" reporter:datatype="text" />
8534 <field reporter:label="UPC" name="upc" reporter:datatype="text" />
8535 <field reporter:label="Title" name="title" reporter:datatype="text" />
8536 <field reporter:label="Volume" name="volume" reporter:datatype="text" />
8537 <field reporter:label="Author" name="author" reporter:datatype="text" />
8538 <field reporter:label="Article Title" name="article_title" reporter:datatype="text" />
8539 <field reporter:label="Article Pages" name="article_pages" reporter:datatype="text" />
8540 <field reporter:label="Publisher" name="publisher" reporter:datatype="text" />
8541 <field reporter:label="Publication Location" name="location" reporter:datatype="text" />
8542 <field reporter:label="Publication Date" name="pubdate" reporter:datatype="text" />
8543 <field reporter:label="Mentioned In" name="mentioned" reporter:datatype="text" />
8544 <field reporter:label="Other Info" name="other_info" reporter:datatype="text" />
8545 <field reporter:label="Cancel Reason" name="cancel_reason" reporter:datatype="link" />
8546 <field reporter:label="Cancel Date/Time" name="cancel_time" reporter:datatype="timestamp" />
8547 <field reporter:label="Request Status" name="request_status" reporter:datatype="link" />
8548 <field reporter:label="Home Library" name="home_ou" reporter:datatype="link"/>
8551 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
8552 <link field="pickup_lib" reltype="has_a" key="id" map="" class="aou"/>
8553 <link field="lineitem" reltype="has_a" key="id" map="" class="jub"/>
8554 <link field="eg_bib" reltype="has_a" key="id" map="" class="bre"/>
8555 <link field="request_type" reltype="has_a" key="id" map="" class="aurt"/>
8556 <link field="cancel_reason" reltype="has_a" key="id" map="" class="acqcr"/>
8557 <link field="request_status" reltype="has_a" key="id" map="" class="aurst"/>
8558 <link field="home_ou" reltype="has_a" key="id" map="" class="aou"/>
8560 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8562 <retrieve permission="user_request.view">
8563 <context link="usr" field="home_ou"/>
8569 <class id="aurst" controller="open-ils.cstore open-ils.reporter-store open-ils.pcrud" oils_obj:fieldmapper="acq::user_request_status_type" oils_persist:tablename="acq.user_request_status_type" reporter:label="Acquisition Patron Request Status Type">
8570 <fields oils_persist:primary="id">
8571 <field reporter:label="Status ID" name="id" reporter:datatype="id" reporter:selector='label'/>
8572 <field reporter:label="Status" name="label" reporter:datatype="text" oils_persist:i18n="true" />
8575 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8582 <class id="acqct" controller="open-ils.cstore open-ils.reporter-store open-ils.pcrud" oils_obj:fieldmapper="acq::currency_type" oils_persist:tablename="acq.currency_type" reporter:label="Currency Type">
8583 <fields oils_persist:primary="code">
8584 <field reporter:label="Currency Code" name="code" reporter:datatype="text" reporter:selector='label'/>
8585 <field reporter:label="Currency Label" name="label" reporter:datatype="text" oils_persist:i18n="true" />
8588 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8590 <create permission="ADMIN_CURRENCY_TYPE" global_required="true"/>
8592 <update permission="ADMIN_CURRENCY_TYPE" global_required="true"/>
8593 <delete permission="ADMIN_CURRENCY_TYPE" global_required="true"/>
8598 <class id="acqexr" controller="open-ils.cstore open-ils.pcrud open-ils.reporter-store" oils_obj:fieldmapper="acq::exchange_rate" oils_persist:tablename="acq.exchange_rate" reporter:label="Exchange Rate">
8599 <fields oils_persist:primary="id" oils_persist:sequence="acq.exchange_rate_id_seq">
8600 <field reporter:label="Exchange Rate ID" name="id" reporter:datatype="id" />
8601 <field reporter:label="From Currency" name="from_currency" reporter:datatype="link" />
8602 <field reporter:label="To Currency" name="to_currency" reporter:datatype="link" />
8603 <field reporter:label="Ratio" name="ratio" />
8606 <link field="from_currency" reltype="has_a" key="code" map="" class="acqct"/>
8607 <link field="to_currency" reltype="has_a" key="code" map="" class="acqct"/>
8609 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8611 <create permission="ADMIN_CURRENCY_TYPE" global_required="true"/>
8613 <update permission="ADMIN_CURRENCY_TYPE" global_required="true"/>
8614 <delete permission="ADMIN_CURRENCY_TYPE" global_required="true"/>
8619 <class id="acqpro" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="acq::provider" oils_persist:tablename="acq.provider" reporter:label="Provider">
8620 <fields oils_persist:primary="id" oils_persist:sequence="acq.provider_id_seq">
8621 <field reporter:label="Provider ID" name="id" reporter:datatype="id" reporter:selector='code'/>
8622 <field reporter:label="Provider Name" name="name" reporter:datatype="text" oils_persist:i18n="true" />
8623 <field reporter:label="Owner" name="owner" reporter:datatype="org_unit" />
8624 <field reporter:label="Currency" name="currency_type" oils_persist:primitive="string" reporter:datatype="link" />
8625 <field reporter:label="Code" name="code" reporter:datatype="text" />
8626 <field reporter:label="Holdings Tag" name="holding_tag" reporter:datatype="text" />
8627 <field reporter:label="Addresses" name="addresses" oils_persist:virtual="true" reporter:datatype="link" />
8628 <field reporter:label="SAN" name="san" reporter:datatype="text" />
8629 <field reporter:label="EDI Default" name="edi_default" reporter:datatype="link" />
8630 <field reporter:label="Active" name="active" reporter:datatype="bool" />
8631 <field reporter:label="Prepayment Required" name="prepayment_required" reporter:datatype="bool" />
8632 <field reporter:label="URL" name="url" reporter:datatype="text" />
8633 <field reporter:label="Email" name="email" reporter:datatype="text" />
8634 <field reporter:label="Phone" name="phone" reporter:datatype="text" />
8635 <field reporter:label="Fax Phone" name="fax_phone" reporter:datatype="text" />
8636 <field reporter:label="Default Claim Policy" name="default_claim_policy" reporter:datatype="link" />
8637 <field reporter:label="Default # Copies" name="default_copy_count" reporter:datatype="int" />
8638 <field reporter:label="Notes" name="provider_notes" oils_persist:virtual="true" reporter:datatype="link" />
8641 <link field="currency_type" reltype="has_a" key="code" map="" class="acqct"/>
8642 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
8643 <link field="addresses" reltype="has_many" map="" key="provider" class="acqpa"/>
8644 <link field="edi_default" reltype="has_a" map="" key="id" class="acqedi"/>
8645 <link field="default_claim_policy" reltype="has_a" map="" key="id" class="acqclp"/>
8646 <link field="provider_notes" reltype="has_many" map="" key="provider" class="acqpron"/>
8648 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8650 <create permission="ADMIN_PROVIDER" context_field="owner"/>
8651 <retrieve permission="ADMIN_PROVIDER MANAGE_PROVIDER VIEW_PROVIDER" context_field="owner"/>
8652 <update permission="ADMIN_PROVIDER" context_field="owner"/>
8653 <delete permission="ADMIN_PROVIDER" context_field="owner"/>
8658 <class id="acqpron" controller="open-ils.cstore open-ils.reporter-store" oils_obj:fieldmapper="acq::provider_note" oils_persist:tablename="acq.provider_note" reporter:label="Provider Note">
8659 <fields oils_persist:primary="id" oils_persist:sequence="acq.provider_note_id_seq">
8660 <field reporter:label="PO Note ID" name="id" reporter:datatype="id" />
8661 <field reporter:label="Provider" name="provider" reporter:datatype="link" />
8662 <field reporter:label="Creator" name="creator" reporter:datatype="link" />
8663 <field reporter:label="Creation Time" name="create_time" reporter:datatype="timestamp" />
8664 <field reporter:label="Edit Time" name="edit_time" reporter:datatype="timestamp" />
8665 <field reporter:label="Editor" name="editor" reporter:datatype="link" />
8666 <field reporter:label="Note Value" name="value" reporter:datatype="text" />
8669 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
8670 <link field="editor" reltype="has_a" key="id" map="" class="au"/>
8671 <link field="provider" reltype="has_a" key="id" map="" class="acqpro"/>
8675 <class id="acqipm" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="acq::invoice_payment_method" oils_persist:tablename="acq.invoice_payment_method" reporter:label="Invoice Payment Method">
8676 <fields oils_persist:primary="code">
8677 <field reporter:label="Code" name="code" reporter:datatype="id" reporter:selector="name"/>
8678 <field reporter:label="Name" name="name" reporter:datatype="text"/>
8680 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8682 <create permission="ADMIN_INVOICE_PAYMENT_METHOD" global_required="true"/>
8684 <update permission="ADMIN_INVOICE_PAYMENT_METHOD" global_required="true"/>
8685 <delete permission="ADMIN_INVOICE_PAYMENT_METHOD" global_required="true"/>
8690 <class id="acqinv" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="acq::invoice" oils_persist:tablename="acq.invoice" reporter:label="Invoice">
8691 <fields oils_persist:primary="id" oils_persist:sequence="acq.invoice_id_seq">
8692 <field reporter:label="Internal Invoice ID" name="id" reporter:datatype="id"/>
8693 <field reporter:label="Receiver" name="receiver" reporter:datatype="org_unit" />
8694 <field reporter:label="Provider" name="provider" reporter:datatype="link"/>
8695 <field reporter:label="Shipper" name="shipper" reporter:datatype="link"/>
8696 <field reporter:label="Invoice Date" name="recv_date" reporter:datatype="timestamp" />
8697 <field reporter:label="Receive Method" name="recv_method" reporter:datatype="link" />
8698 <field reporter:label="Invoice Type" name="inv_type" reporter:datatype="text" />
8699 <field reporter:label="Vendor Invoice ID" name="inv_ident" reporter:datatype="text" />
8700 <field reporter:label="Payment Auth" name="payment_auth" reporter:datatype="text" />
8701 <field reporter:label="Payment Method" name="payment_method" reporter:datatype="link" />
8702 <field reporter:label="Note" name="note" reporter:datatype="text" />
8703 <field reporter:label="Close Date" name="close_date" reporter:datatype="timestamp" />
8704 <field reporter:label="Closed By" name="closed_by" reporter:datatype="link" />
8705 <field reporter:label="Invoice Entries" name="entries" reporter:datatype="link" oils_persist:virtual="true"/>
8706 <field reporter:label="Invoice Items" name="items" reporter:datatype="link" oils_persist:virtual="true"/>
8709 <link field="receiver" reltype="has_a" key="id" map="" class="aou"/>
8710 <link field="provider" reltype="has_a" key="id" map="" class="acqpro"/>
8711 <link field="shipper" reltype="has_a" key="id" map="" class="acqpro"/>
8712 <link field="recv_method" reltype="has_a" key="code" map="" class="acqim"/>
8713 <link field="payment_method" reltype="has_a" key="code" map="" class="acqipm"/>
8714 <link field="entries" reltype="has_many" key="invoice" map="" class="acqie"/>
8715 <link field="items" reltype="has_many" key="invoice" map="" class="acqii"/>
8716 <link field="closed_by" reltype="has_a" key="id" map="" class="au"/>
8718 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8720 <create permission="CREATE_INVOICE" context_field="receiver"/>
8721 <retrieve permission="CREATE_INVOICE VIEW_INVOICE" context_field="receiver"/>
8722 <update permission="CREATE_INVOICE" context_field="receiver"/>
8723 <delete permission="CREATE_INVOICE" context_field="receiver"/>
8728 <class id="acqie" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="acq::invoice_entry" oils_persist:tablename="acq.invoice_entry" reporter:label="Invoice Entry">
8729 <fields oils_persist:primary="id" oils_persist:sequence="acq.invoice_entry_id_seq">
8730 <field reporter:label="ID" name="id" reporter:datatype="id"/>
8731 <field reporter:label="Invoice" name="invoice" reporter:datatype="link" />
8732 <field reporter:label="Purchase Order" name="purchase_order" reporter:datatype="link"/>
8733 <field reporter:label="PO Line Item" name="lineitem" reporter:datatype="link"/>
8734 <field reporter:label="Invoice Item Count" name="inv_item_count" reporter:datatype="int" />
8735 <field reporter:label="Physical Item Count" name="phys_item_count" reporter:datatype="int" />
8736 <field reporter:label="Note" name="note" reporter:datatype="text" />
8737 <field reporter:label="Billed Cost per Item" name="billed_per_item" reporter:datatype="bool" />
8738 <field reporter:label="Cost Billed" name="cost_billed" reporter:datatype="money" />
8739 <field reporter:label="Actual Cost" name="actual_cost" reporter:datatype="money" />
8740 <field reporter:label="Amount Paid" name="amount_paid" reporter:datatype="money" />
8743 <link field="invoice" reltype="has_a" key="id" map="" class="acqinv"/>
8744 <link field="purchase_order" reltype="has_a" key="id" map="" class="acqpo"/>
8745 <link field="lineitem" reltype="has_a" key="id" map="" class="jub"/>
8747 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8749 <create permission="ADMIN_INVOICE">
8750 <context link="invoice" field="receiver"/>
8752 <retrieve permission="ADMIN_INVOICE">
8753 <context link="invoice" field="receiver"/>
8755 <update permission="ADMIN_INVOICE">
8756 <context link="invoice" field="receiver"/>
8758 <delete permission="ADMIN_INVOICE">
8759 <context link="invoice" field="receiver"/>
8765 <class id="acqii" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="acq::invoice_item" oils_persist:tablename="acq.invoice_item" reporter:label="Non-bibliographic Invoice Item">
8766 <fields oils_persist:primary="id" oils_persist:sequence="acq.invoice_item_id_seq">
8767 <field reporter:label="ID" name="id" reporter:datatype="id"/>
8768 <field reporter:label="Invoice" name="invoice" reporter:datatype="link" />
8769 <field reporter:label="Purchase Order" name="purchase_order" reporter:datatype="link"/>
8770 <field reporter:label="Fund Debit" name="fund_debit" reporter:datatype="link"/>
8771 <field reporter:label="Invoice Item Type" name="inv_item_type" reporter:datatype="link" />
8772 <field reporter:label="Title or Item Name" name="title" reporter:datatype="text" />
8773 <field reporter:label="Author" name="author" reporter:datatype="text" />
8774 <field reporter:label="Note" name="note" reporter:datatype="text" />
8775 <field reporter:label="Cost Billed" name="cost_billed" reporter:datatype="money" />
8776 <field reporter:label="Actual Cost" name="actual_cost" reporter:datatype="money" />
8777 <field reporter:label="Fund" name="fund" reporter:datatype="link" />
8778 <field reporter:label="Amount Paid" name="amount_paid" reporter:datatype="money" />
8779 <field reporter:label="Purchase Order Item" name="po_item" reporter:datatype="link" />
8780 <field reporter:label="Target" name="target" reporter:datatype="int" />
8783 <link field="invoice" reltype="has_a" key="id" map="" class="acqinv"/>
8784 <link field="purchase_order" reltype="has_a" key="id" map="" class="acqpo"/>
8785 <link field="fund_debit" reltype="has_a" key="id" map="" class="acqfdeb"/>
8786 <link field="inv_item_type" reltype="has_a" key="code" map="" class="aiit"/>
8787 <link field="fund" reltype="has_a" key="id" map="" class="acqf"/>
8788 <link field="po_item" reltype="has_a" key="id" map="" class="acqpoi"/>
8790 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8792 <create permission="ADMIN_INVOICE">
8793 <context link="invoice" field="receiver"/>
8795 <retrieve permission="ADMIN_INVOICE">
8796 <context link="invoice" field="receiver"/>
8798 <update permission="ADMIN_INVOICE">
8799 <context link="invoice" field="receiver"/>
8801 <delete permission="ADMIN_INVOICE">
8802 <context link="invoice" field="receiver"/>
8808 <class id="acqpa" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="acq::provider_address" oils_persist:tablename="acq.provider_address" reporter:label="Provider Address">
8809 <fields oils_persist:primary="id" oils_persist:sequence="acq.provider_address_id_seq">
8810 <field reporter:label="Address Type" name="address_type" reporter:datatype="text"/>
8811 <field reporter:label="City" name="city" reporter:datatype="text"/>
8812 <field reporter:label="Country" name="country" reporter:datatype="text"/>
8813 <field reporter:label="County" name="county" reporter:datatype="text"/>
8814 <field reporter:label="ID" name="id" reporter:datatype="id"/>
8815 <field reporter:label="Provider" name="provider" reporter:datatype="link"/>
8816 <field reporter:label="Post Code" name="post_code" reporter:datatype="text"/>
8817 <field reporter:label="State" name="state" reporter:datatype="text"/>
8818 <field reporter:label="Street 1" name="street1" reporter:datatype="text"/>
8819 <field reporter:label="Street 2" name="street2" reporter:datatype="text"/>
8820 <field reporter:label="Is Valid?" name="valid" reporter:datatype="bool"/>
8821 <field reporter:label="Fax Phone" name="fax_phone" reporter:datatype="text"/>
8824 <link field="provider" reltype="has_a" key="id" map="" class="acqpro"/>
8826 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8828 <create permission="ADMIN_PROVIDER">
8829 <context link="provider" field="owner"/>
8831 <retrieve permission="ADMIN_PROVIDER">
8832 <context link="provider" field="owner"/>
8834 <update permission="ADMIN_PROVIDER">
8835 <context link="provider" field="owner"/>
8837 <delete permission="ADMIN_PROVIDER">
8838 <context link="provider" field="owner"/>
8844 <class id="acqpc" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="acq::provider_contact" oils_persist:tablename="acq.provider_contact" reporter:label="Provider Contact">
8845 <fields oils_persist:primary="id" oils_persist:sequence="acq.provider_contact_id_seq">
8846 <field reporter:label="ID" name="id" reporter:datatype="id"/>
8847 <field reporter:label="Provider" name="provider" reporter:datatype="link"/>
8848 <field reporter:label="Name" name="name" reporter:datatype="text"/>
8849 <field reporter:label="Role" name="role" reporter:datatype="text"/>
8850 <field reporter:label="Email" name="email" reporter:datatype="text"/>
8851 <field reporter:label="Phone" name="phone" reporter:datatype="text"/>
8854 <link field="provider" reltype="has_a" key="id" map="" class="acqpro"/>
8856 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8858 <create permission="ADMIN_PROVIDER">
8859 <context link="provider" field="owner"/>
8861 <retrieve permission="ADMIN_PROVIDER">
8862 <context link="provider" field="owner"/>
8864 <update permission="ADMIN_PROVIDER">
8865 <context link="provider" field="owner"/>
8867 <delete permission="ADMIN_PROVIDER">
8868 <context link="provider" field="owner"/>
8873 <class id="acqpca" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="acq::provider_contact_address" oils_persist:tablename="acq.provider_contact_address" reporter:label="Provider Contact Address">
8874 <fields oils_persist:primary="id" oils_persist:sequence="acq.provider_contact_address_id_seq">
8875 <field reporter:label="Type" name="address_type" reporter:datatype="text"/>
8876 <field reporter:label="City" name="city" reporter:datatype="text"/>
8877 <field reporter:label="Country" name="country" reporter:datatype="text"/>
8878 <field reporter:label="County" name="county" reporter:datatype="text"/>
8879 <field reporter:label="Address ID" name="id" reporter:datatype="id" />
8880 <field reporter:label="Postal Code" name="post_code" reporter:datatype="text"/>
8881 <field reporter:label="State" name="state" reporter:datatype="text"/>
8882 <field reporter:label="Street (1)" name="street1" reporter:datatype="text"/>
8883 <field reporter:label="Street (2)" name="street2" reporter:datatype="text"/>
8884 <field reporter:label="Contact" name="contact" reporter:datatype="link"/>
8885 <field reporter:label="Valid Address?" name="valid" reporter:datatype="bool"/>
8886 <field reporter:label="Fax Phone" name="fax_phone" reporter:datatype="text"/>
8889 <link field="contact" reltype="has_a" key="id" map="" class="acqpc"/>
8891 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8893 <create permission="ADMIN_PROVIDER">
8894 <context link="contact" jump='provider' field="owner"/>
8896 <retrieve permission="ADMIN_PROVIDER">
8897 <context link="contact" jump='provider' field="owner"/>
8899 <update permission="ADMIN_PROVIDER">
8900 <context link="contact" jump='provider' field="owner"/>
8902 <delete permission="ADMIN_PROVIDER">
8903 <context link="contact" jump='provider' field="owner"/>
8909 <class id="acqftr" controller="open-ils.cstore" oils_obj:fieldmapper="acq::fund_transfer" oils_persist:tablename="acq.fund_transfer" reporter:label="Fund Transfer">
8910 <fields oils_persist:primary="id" oils_persist:sequence="acq.fund_transfer_id_seq">
8911 <field reporter:label="Fund Transfer ID" name="id" reporter:datatype="id"/>
8912 <field reporter:label="Source Fund" name="src_fund" reporter:datatype="link"/>
8913 <field reporter:label="Source Amount" name="src_amount" reporter:datatype="money"/>
8914 <field reporter:label="Destination Fund" name="dest_fund" reporter:datatype="link"/>
8915 <field reporter:label="Destination Amount" name="dest_amount" reporter:datatype="money"/>
8916 <field reporter:label="Transfer Time" name="transfer_time" reporter:datatype="timestamp"/>
8917 <field reporter:label="Transfer User" name="transfer_user" reporter:datatype="link"/>
8918 <field reporter:label="Note" name="note" reporter:datatype="text"/>
8919 <field reporter:label="Funding Source Credit ID" name="funding_source_credit" reporter:datatype="link"/>
8922 <link field="src_fund" reltype="has_a" key="id" map="" class="acqf"/>
8923 <link field="dest_fund" reltype="has_a" key="id" map="" class="acqf"/>
8924 <link field="transfer_user" reltype="has_a" key="id" map="" class="au"/>
8925 <link field="funding_source_credit" reltype="has_a" key="id" map="" class="acqfscred"/>
8929 <class id="acqfc" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="acq::fiscal_calendar" oils_persist:tablename="acq.fiscal_calendar" reporter:label="Fiscal Calendar">
8930 <fields oils_persist:primary="id" oils_persist:sequence="acq.fiscal_calendar_id_seq">
8931 <field reporter:label="Fiscal Calendar ID" name="id" reporter:datatype="id" reporter:selector='name'/>
8932 <field reporter:label="Fiscal Calendar Name" name="name" reporter:datatype="text"/>
8933 <field reporter:label="Years" name="years" oils_persist:virtual="true" reporter:datatype="link"/>
8936 <link field="years" reltype="has_many" map="" key="calendar" class="acqfy"/>
8938 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8940 <create permission="ADMIN_ACQ_FISCAL_YEAR" global_required="true"/>
8941 <retrieve permission="STAFF_LOGIN" global_required="true"/>
8942 <update permission="ADMIN_ACQ_FISCAL_YEAR" global_required="true"/>
8943 <delete permission="ADMIN_ACQ_FISCAL_YEAR" global_required="true"/>
8948 <class id="acqfy" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="acq::fiscal_year" oils_persist:tablename="acq.fiscal_year" reporter:label="Fiscal Year">
8949 <fields oils_persist:primary="id" oils_persist:sequence="acq.fiscal_year_id_seq">
8950 <field reporter:label="Fiscal Year ID" name="id" reporter:datatype="id" reporter:selector='year'/>
8951 <field reporter:label="Calendar" name="calendar" reporter:datatype="link"/>
8952 <field reporter:label="Fiscal Year" name="year" reporter:datatype="int"/>
8953 <field reporter:label="Year Begin" name="year_begin" reporter:datatype="timestamp"/>
8954 <field reporter:label="Year End" name="year_end" reporter:datatype="timestamp"/>
8957 <link field="calendar" reltype="has_a" key="id" map="" class="acqfc"/>
8959 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8961 <create permission="ADMIN_ACQ_FISCAL_YEAR" global_required="true"/>
8962 <retrieve permission="STAFF_LOGIN" global_required="true"/>
8963 <update permission="ADMIN_ACQ_FISCAL_YEAR" global_required="true"/>
8964 <delete permission="ADMIN_ACQ_FISCAL_YEAR" global_required="true"/>
8969 <class id="acqfs" controller="open-ils.cstore open-ils.reporter-store open-ils.pcrud" oils_obj:fieldmapper="acq::funding_source" oils_persist:tablename="acq.funding_source" reporter:label="Funding Source">
8970 <fields oils_persist:primary="id" oils_persist:sequence="acq.funding_source_id_seq">
8971 <field reporter:label="Funding Source ID" name="id" reporter:datatype="id" reporter:selector='code'/>
8972 <field reporter:label="Funding Source Name" name="name" reporter:datatype="text" oils_persist:i18n="true" />
8973 <field reporter:label="Owner" name="owner" reporter:datatype="org_unit" />
8974 <field reporter:label="Currency" name="currency_type" oils_persist:primitive="string" reporter:datatype="link" />
8975 <field reporter:label="Code" name="code" reporter:datatype="text" />
8976 <field reporter:label="Summary" name="summary" oils_persist:virtual="true"/>
8977 <field reporter:label="Allocations" name="allocations" oils_persist:virtual="true" reporter:datatype="link"/>
8978 <field reporter:label="Credits" name="credits" oils_persist:virtual="true" reporter:datatype="link"/>
8979 <field reporter:label="Fund Allocation Percentages" name="fund_alloc_pcts" oils_persist:virtual="true" reporter:datatype="link"/>
8982 <link field="currency_type" reltype="has_a" key="code" map="" class="acqct"/>
8983 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
8984 <link field="allocations" reltype="has_many" map="" key="funding_source" class="acqfa"/>
8985 <link field="credits" reltype="has_many" key="funding_source" map="" class="acqfscred"/>
8986 <link field="fund_alloc_pcts" reltype="has_many" key="funding_source" map="" class="acqfap"/>
8988 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8990 <create permission="ADMIN_FUNDING_SOURCE" context_field="owner"/>
8991 <retrieve permission="ADMIN_FUNDING_SOURCE MANAGE_FUNDING_SOURCE VIEW_FUNDING_SOURCE" context_field="owner"/>
8992 <update permission="ADMIN_FUNDING_SOURCE" context_field="owner"/>
8993 <delete permission="ADMIN_FUNDING_SOURCE" context_field="owner"/>
8998 <class id="acqfscred" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="acq::funding_source_credit" oils_persist:tablename="acq.funding_source_credit" reporter:label="Credit to Funding Source">
8999 <fields oils_persist:primary="id" oils_persist:sequence="acq.funding_source_credit_id_seq">
9000 <field reporter:label="Credit ID" name="id" reporter:datatype="id" />
9001 <field reporter:label="Funding Source ID" name="funding_source" reporter:datatype="link" />
9002 <field reporter:label="Amount" name="amount" reporter:datatype="money" />
9003 <field reporter:label="Note" name="note" reporter:datatype="text" />
9004 <field reporter:label="Deadline Date" name="deadline_date" reporter:datatype="timestamp" />
9005 <field reporter:label="Effective Date" name="effective_date" reporter:datatype="timestamp" />
9008 <link field="funding_source" reltype="has_a" key="id" map="" class="acqfs"/>
9010 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
9012 <create permission="ADMIN_FUNDING_SOURCE">
9013 <context link="funding_source" field="owner"/>
9015 <retrieve permission="ADMIN_FUNDING_SOURCE">
9016 <context link="funding_source" field="owner"/>
9018 <update permission="ADMIN_FUNDING_SOURCE">
9019 <context link="funding_source" field="owner"/>
9021 <delete permission="ADMIN_FUNDING_SOURCE">
9022 <context link="funding_source" field="owner"/>
9028 <class id="acqofscred" controller="open-ils.cstore" oils_obj:fieldmapper="acq::ordered_funding_source_credit" oils_persist:tablename="acq.ordered_funding_source_credit" reporter:label="Ordered Funding Source Credit">
9029 <fields oils_persist:primary="id">
9030 <field reporter:label="Ordered Fund Src ID" name="id" reporter:datatype="id"/>
9031 <field reporter:label="Sort Priority" name="sort_priority" reporter:datatype="int"/>
9032 <field reporter:label="Sort Date" name="sort_date" reporter:datatype="timestamp"/>
9033 <field reporter:label="Funding Source ID" name="funding_source" reporter:datatype="link"/>
9034 <field reporter:label="Amount" name="amount" reporter:datatype="money"/>
9035 <field reporter:label="Note" name="note" reporter:datatype="text"/>
9038 <link field="funding_source" reltype="has_a" key="id" map="" class="acqfs"/>
9042 <class id="acqfdeb" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="acq::fund_debit" oils_persist:tablename="acq.fund_debit" reporter:label="Debit From Fund">
9043 <fields oils_persist:primary="id" oils_persist:sequence="acq.fund_debit_id_seq">
9044 <field reporter:label="Debit ID" name="id" reporter:datatype="id" />
9045 <field reporter:label="Fund ID" name="fund" reporter:datatype="link" />
9046 <field reporter:label="Origin Amount" name="origin_amount" reporter:datatype="money" />
9047 <field reporter:label="Origin Currency" name="origin_currency_type" reporter:datatype="link" />
9048 <field reporter:label="Amount" name="amount" reporter:datatype="money" />
9049 <field reporter:label="Encumbrance" name="encumbrance" reporter:datatype="bool" />
9050 <field reporter:label="Debit Type" name="debit_type" reporter:datatype="text" />
9051 <field reporter:label="Create Time" name="create_time" reporter:datatype="timestamp" />
9052 <field reporter:label="Invoice Entry" name="invoice_entry" reporter:datatype="link" />
9055 <link field="fund" reltype="has_a" key="id" map="" class="acqf"/>
9056 <link field="origin_currency_type" reltype="has_a" key="code" map="" class="acqct"/>
9057 <link field="invoice_entry" reltype="has_a" key="id" map="" class="acqie"/>
9059 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
9061 <create permission="ADMIN_ACQ_FUND">
9062 <context link="fund" field="org"/>
9064 <retrieve permission="ADMIN_ACQ_FUND">
9065 <context link="fund" field="org"/>
9067 <update permission="ADMIN_ACQ_FUND">
9068 <context link="fund" field="org"/>
9070 <delete permission="ADMIN_ACQ_FUND">
9071 <context link="fund" field="org"/>
9077 <class id="acqf" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="acq::fund" oils_persist:tablename="acq.fund" reporter:label="Fund">
9078 <fields oils_persist:primary="id" oils_persist:sequence="acq.fund_id_seq">
9079 <field reporter:label="Fund ID" name="id" reporter:datatype="id" reporter:selector='code'/>
9080 <field reporter:label="Org Unit" name="org" reporter:datatype="org_unit" />
9081 <field reporter:label="Name" name="name" reporter:datatype="text" />
9082 <field reporter:label="Year" name="year" reporter:datatype="int" />
9083 <field reporter:label="Currency Type" name="currency_type" reporter:datatype="link" />
9084 <field reporter:label="Code" name="code" reporter:datatype="text" />
9085 <field reporter:label="Rollover" name="rollover" reporter:datatype="bool" />
9086 <field reporter:label="Propagate" name="propagate" reporter:datatype="bool" />
9087 <field reporter:label="Active" name="active" reporter:datatype="bool" />
9088 <field reporter:label="Balance Warning Percent" name="balance_warning_percent" reporter:datatype="int" />
9089 <field reporter:label="Balance Stop Percent" name="balance_stop_percent" reporter:datatype="int" />
9090 <field reporter:label="Summary" name="summary" oils_persist:virtual="true"/>
9091 <field reporter:label="Allocations" name="allocations" oils_persist:virtual="true" reporter:datatype="link"/>
9092 <field reporter:label="Debits" name="debits" oils_persist:virtual="true" reporter:datatype="link"/>
9093 <field reporter:label="Tags" name="tags" oils_persist:virtual="true" reporter:datatype="link"/>
9094 <field reporter:label="Allocation Total" name="allocation_total" oils_persist:virtual="true" reporter:datatype="link"/>
9095 <field reporter:label="Debit Total" name="debit_total" oils_persist:virtual="true" reporter:datatype="link"/>
9096 <field reporter:label="Encumbrance Total" name="encumbrance_total" oils_persist:virtual="true" reporter:datatype="link"/>
9097 <field reporter:label="Spent Total" name="spent_total" oils_persist:virtual="true" reporter:datatype="link"/>
9098 <field reporter:label="Combined Balance" name="combined_balance" oils_persist:virtual="true" reporter:datatype="link"/>
9099 <field reporter:label="Spent Balance" name="spent_balance" oils_persist:virtual="true" reporter:datatype="link"/>
9102 <link field="org" reltype="has_a" key="id" map="" class="aou"/>
9103 <link field="currency_type" reltype="has_a" key="code" map="" class="acqct"/>
9104 <link field="allocations" reltype="has_many" key="fund" map="" class="acqfa"/>
9105 <link field="debits" reltype="has_many" key="fund" map="" class="acqfdeb"/>
9106 <link field="tags" reltype="has_many" key="fund" map="" class="acqftm"/>
9107 <link field="allocation_total" reltype="might_have" key="fund" map="" class="acqfat"/>
9108 <link field="debit_total" reltype="might_have" key="fund" map="" class="acqfdt"/>
9109 <link field="encumbrance_total" reltype="might_have" key="fund" map="" class="acqfet"/>
9110 <link field="spent_total" reltype="might_have" key="fund" map="" class="acqfst"/>
9111 <link field="combined_balance" reltype="might_have" key="fund" map="" class="acqfcb"/>
9112 <link field="spent_balance" reltype="might_have" key="fund" map="" class="acqfsb"/>
9114 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1" ignore_object_perms="true">
9116 <create permission="ADMIN_ACQ_FUND" context_field="org"/>
9117 <retrieve permission="ADMIN_ACQ_FUND VIEW_FUND MANAGE_FUND" context_field="org"/>
9118 <update permission="ADMIN_ACQ_FUND" context_field="org"/>
9119 <delete permission="ADMIN_ACQ_FUND" context_field="org"/>
9124 <class id="acqfat" controller="open-ils.cstore open-ils.pcrud open-ils.reporter-store" oils_obj:fieldmapper="acq::fund_allocation_total" oils_persist:readonly="true" oils_persist:tablename="acq.fund_allocation_total" reporter:label="Fund Allocation Total">
9125 <fields oils_persist:primary="fund">
9126 <field reporter:label="Fund ID" name="fund" reporter:datatype="link" />
9127 <field reporter:label="Total Allocation Amount" name="amount" reporter:datatype="money" />
9130 <link field="fund" reltype="has_a" key="id" map="" class="acqf"/>
9132 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
9134 <retrieve permission="ADMIN_ACQ_FUND VIEW_FUND MANAGE_FUND">
9135 <context link="fund" field="org" />
9141 <class id="acqfdt" controller="open-ils.cstore open-ils.pcrud open-ils.reporter-store" oils_obj:fieldmapper="acq::fund_debit_total" oils_persist:readonly="true" oils_persist:tablename="acq.fund_debit_total" reporter:label="Total Debit from Fund">
9142 <fields oils_persist:primary="fund">
9143 <field reporter:label="Fund ID" name="fund" reporter:datatype="link" />
9144 <field reporter:label="Total Debit Amount" name="amount" reporter:datatype="money" />
9147 <link field="fund" reltype="has_a" key="id" map="" class="acqf"/>
9149 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
9151 <retrieve permission="ADMIN_ACQ_FUND VIEW_FUND MANAGE_FUND">
9152 <context link="fund" field="org" />
9158 <class id="acqfet" controller="open-ils.cstore open-ils.pcrud open-ils.reporter-store" oils_obj:fieldmapper="acq::fund_encumbrance_total" oils_persist:readonly="true" oils_persist:tablename="acq.fund_encumbrance_total" reporter:label="Total Fund Encumbrance">
9159 <fields oils_persist:primary="fund">
9160 <field reporter:label="Fund ID" name="fund" reporter:datatype="link" />
9161 <field reporter:label="Total Encumbrance Amount" name="amount" reporter:datatype="money" />
9164 <link field="fund" reltype="has_a" key="id" map="" class="acqf"/>
9166 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
9168 <retrieve permission="ADMIN_ACQ_FUND VIEW_FUND MANAGE_FUND">
9169 <context link="fund" field="org" />
9175 <class id="acqfst" controller="open-ils.cstore open-ils.pcrud open-ils.reporter-store" oils_obj:fieldmapper="acq::fund_spent_total" oils_persist:readonly="true" oils_persist:tablename="acq.fund_spent_total" reporter:label="Total Spent from Fund">
9176 <fields oils_persist:primary="fund">
9177 <field reporter:label="Fund ID" name="fund" reporter:datatype="link" />
9178 <field reporter:label="Total Spent Amount" name="amount" reporter:datatype="money" />
9181 <link field="fund" reltype="has_a" key="id" map="" class="acqf"/>
9183 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
9185 <retrieve permission="ADMIN_ACQ_FUND VIEW_FUND MANAGE_FUND">
9186 <context link="fund" field="org" />
9192 <class id="acqfcb" controller="open-ils.cstore open-ils.pcrud open-ils.reporter-store" oils_obj:fieldmapper="acq::fund_combined_balance" oils_persist:readonly="true" oils_persist:tablename="acq.fund_combined_balance" reporter:label="Fund Combined Balance">
9193 <fields oils_persist:primary="fund">
9194 <field reporter:label="Fund ID" name="fund" reporter:datatype="link" />
9195 <field reporter:label="Balance after Spent and Encumbered" name="amount" reporter:datatype="money" />
9198 <link field="fund" reltype="has_a" key="id" map="" class="acqf"/>
9200 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
9202 <retrieve permission="ADMIN_ACQ_FUND VIEW_FUND MANAGE_FUND">
9203 <context link="fund" field="org" />
9209 <class id="acqafat" controller="open-ils.cstore open-ils.reporter-store" oils_obj:fieldmapper="acq::all_fund_allocation_total" oils_persist:readonly="true" oils_persist:tablename="acq.all_fund_allocation_total" reporter:label="All Fund Allocation Total">
9210 <fields oils_persist:primary="fund">
9211 <field reporter:label="Fund ID" name="fund" reporter:datatype="link" />
9212 <field reporter:label="Total Allocation Amount" name="amount" reporter:datatype="money" />
9215 <link field="fund" reltype="has_a" key="id" map="" class="acqf"/>
9219 <class id="acqafet" controller="open-ils.cstore open-ils.reporter-store" oils_obj:fieldmapper="acq::all_fund_encumbrance_total" oils_persist:readonly="true" oils_persist:tablename="acq.all_fund_encumbrance_total" reporter:label="All Fund Encumbrance Total">
9220 <fields oils_persist:primary="fund">
9221 <field reporter:label="Fund ID" name="fund" reporter:datatype="link" />
9222 <field reporter:label="Total Encumbered Amount" name="amount" reporter:datatype="money" />
9225 <link field="fund" reltype="has_a" key="id" map="" class="acqf"/>
9229 <class id="acqafst" controller="open-ils.cstore open-ils.reporter-store" oils_obj:fieldmapper="acq::all_fund_spent_total" oils_persist:readonly="true" oils_persist:tablename="acq.all_fund_spent_total" reporter:label="All Fund Spent Total">
9230 <fields oils_persist:primary="fund">
9231 <field reporter:label="Fund ID" name="fund" reporter:datatype="link" />
9232 <field reporter:label="Total Spent Amount" name="amount" reporter:datatype="money" />
9235 <link field="fund" reltype="has_a" key="id" map="" class="acqf"/>
9239 <class id="acqafsb" controller="open-ils.cstore open-ils.reporter-store" oils_obj:fieldmapper="acq::all_fund_spent_balance" oils_persist:readonly="true" oils_persist:tablename="acq.all_fund_spent_balance" reporter:label="All Fund Spent Balance">
9240 <fields oils_persist:primary="fund">
9241 <field reporter:label="Fund ID" name="fund" reporter:datatype="link" />
9242 <field reporter:label="Total Spent Balance" name="amount" reporter:datatype="money" />
9245 <link field="fund" reltype="has_a" key="id" map="" class="acqf"/>
9249 <class id="acqafcb" controller="open-ils.cstore open-ils.reporter-store" oils_obj:fieldmapper="acq::all_fund_combined_balance" oils_persist:readonly="true" oils_persist:tablename="acq.all_fund_combined_balance" reporter:label="All Fund Combined Total">
9250 <fields oils_persist:primary="fund">
9251 <field reporter:label="Fund ID" name="fund" reporter:datatype="link" />
9252 <field reporter:label="Total Combined Balance" name="amount" reporter:datatype="money" />
9255 <link field="fund" reltype="has_a" key="id" map="" class="acqf"/>
9259 <class id="acqfsrcct" controller="open-ils.cstore open-ils.reporter-store" oils_obj:fieldmapper="acq::funding_source_credit_total" oils_persist:readonly="true" oils_persist:tablename="acq.funding_source_credit_total" reporter:label="Total Credit to Funding Source">
9260 <fields oils_persist:primary="funding_source">
9261 <field reporter:label="Funding Source" name="funding_source" reporter:datatype="link" />
9262 <field reporter:label="Total Credits to Funding Source" name="amount" reporter:datatype="money" />
9265 <link field="funding_source" reltype="has_a" key="id" map="" class="acqfs"/>
9269 <class id="acqfsrcat" controller="open-ils.cstore open-ils.reporter-store" oils_obj:fieldmapper="acq::funding_source_allocation_total" oils_persist:readonly="true" oils_persist:tablename="acq.funding_source_allocation_total" reporter:label="Total Allocation to Funding Source">
9270 <fields oils_persist:primary="funding_source">
9271 <field reporter:label="Funding Source" name="funding_source" reporter:datatype="link" />
9272 <field reporter:label="Total Allocated from Funding Source" name="amount" reporter:datatype="money" />
9275 <link field="funding_source" reltype="has_a" key="id" map="" class="acqfs"/>
9279 <class id="acqfsrcb" controller="open-ils.cstore open-ils.reporter-store" oils_obj:fieldmapper="acq::funding_source_balance" oils_persist:readonly="true" oils_persist:tablename="acq.funding_source_balance" reporter:label="Funding Source Balance">
9280 <fields oils_persist:primary="funding_source">
9281 <field reporter:label="Funding Source" name="funding_source" reporter:datatype="link" />
9282 <field reporter:label="Balance Remaining" name="amount" reporter:datatype="money" />
9285 <link field="funding_source" reltype="has_a" key="id" map="" class="acqfs"/>
9289 <class id="acqfsb" controller="open-ils.cstore open-ils.pcrud open-ils.reporter-store" oils_obj:fieldmapper="acq::fund_spent_balance" oils_persist:readonly="true" oils_persist:tablename="acq.fund_spent_balance" reporter:label="Fund Spent Balance">
9290 <fields oils_persist:primary="fund">
9291 <field reporter:label="Fund ID" name="fund" reporter:datatype="link" />
9292 <field reporter:label="Balance after Spent" name="amount" reporter:datatype="money" />
9295 <link field="fund" reltype="has_a" key="id" map="" class="acqf"/>
9297 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
9299 <retrieve permission="ADMIN_ACQ_FUND VIEW_FUND MANAGE_FUND">
9300 <context link="fund" field="org" />
9305 <class id="acqfsum" controller="open-ils.cstore open-ils.pcrud open-ils.reporter-store" oils_obj:fieldmapper="acq::fund_summary" reporter:label="Fund Summary" reporter:core="true" oils_persist:readonly="true">
9306 <oils_persist:source_definition><![CDATA[
9309 COALESCE(acqfat.amount, 0.00) AS allocated_total,
9310 COALESCE(acqfst.amount, 0.00) AS spent_total,
9311 COALESCE(acqfet.amount, 0.00) AS encumbrance_total,
9312 COALESCE(acqfcb.amount, 0.00) AS combined_balance
9315 LEFT JOIN acq.fund_allocation_total acqfat ON (acqfat.fund = acqf.id)
9316 LEFT JOIN acq.fund_spent_total acqfst ON (acqfst.fund = acqf.id)
9317 LEFT JOIN acq.fund_encumbrance_total acqfet ON (acqfet.fund = acqf.id)
9318 LEFT JOIN acq.fund_combined_balance acqfcb ON (acqfcb.fund = acqf.id)
9319 ]]></oils_persist:source_definition>
9320 <fields oils_persist:primary="id" oils_persist:sequence="acq.fund_id_seq">
9321 <field reporter:label="Fund ID" name="id" reporter:datatype="id" reporter:selector='code'/>
9322 <field reporter:label="Org Unit" name="org" reporter:datatype="org_unit" />
9323 <field reporter:label="Name" name="name" reporter:datatype="text" />
9324 <field reporter:label="Year" name="year" reporter:datatype="int" />
9325 <field reporter:label="Currency Type" name="currency_type" reporter:datatype="link" />
9326 <field reporter:label="Code" name="code" reporter:datatype="text" />
9327 <field reporter:label="Rollover" name="rollover" reporter:datatype="bool" />
9328 <field reporter:label="Propagate" name="propagate" reporter:datatype="bool" />
9329 <field reporter:label="Active" name="active" reporter:datatype="bool" />
9330 <field reporter:label="Balance Warning Percent" name="balance_warning_percent" reporter:datatype="int" />
9331 <field reporter:label="Balance Stop Percent" name="balance_stop_percent" reporter:datatype="int" />
9333 <!-- non fund-native fields -->
9334 <field reporter:label="Total Allocated" name="allocated_total" reporter:datatype="money"/>
9335 <field reporter:label="Total Spent" name="spent_total" reporter:datatype="money"/>
9336 <field reporter:label="Total Encumbered" name="encumbrance_total" reporter:datatype="money"/>
9337 <field reporter:label="Remaining Balance" name="combined_balance" reporter:datatype="money"/>
9340 <link field="id" reltype="has_a" key="id" map="" class="acqf"/>
9341 <link field="org" reltype="has_a" key="id" map="" class="aou"/>
9342 <link field="currency_type" reltype="has_a" key="code" map="" class="acqct"/>
9344 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
9346 <retrieve permission="ADMIN_ACQ_FUND VIEW_FUND MANAGE_FUND" context_field="org"/>
9350 <class id="acqfa" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="acq::fund_allocation" oils_persist:tablename="acq.fund_allocation" reporter:label="Fund Allocation">
9351 <fields oils_persist:primary="id" oils_persist:sequence="acq.fund_allocation_id_seq">
9352 <field reporter:label="Allocation ID" name="id" reporter:datatype="id" />
9353 <field reporter:label="Fund" name="fund" reporter:datatype="link" />
9354 <field reporter:label="Funding Source" name="funding_source" reporter:datatype="link" />
9355 <field reporter:label="Amount" name="amount" reporter:datatype="money" />
9356 <field reporter:label="Allocating User" name="allocator" reporter:datatype="link" />
9357 <field reporter:label="Note" name="note" reporter:datatype="text" />
9358 <field reporter:label="Create Time" name="create_time" reporter:datatype="timestamp" />
9361 <link field="allocator" reltype="has_a" key="id" map="" class="au"/>
9362 <link field="fund" reltype="has_a" key="id" map="" class="acqf"/>
9363 <link field="funding_source" reltype="has_a" key="id" map="" class="acqfs"/>
9365 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
9367 <create permission="ADMIN_ACQ_FUND">
9368 <context link="fund" field="org"/>
9370 <retrieve permission="ADMIN_ACQ_FUND">
9371 <context link="fund" field="org"/>
9373 <update permission="ADMIN_ACQ_FUND">
9374 <context link="fund" field="org"/>
9376 <delete permission="ADMIN_ACQ_FUND">
9377 <context link="fund" field="org"/>
9383 <class id="acqfap" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="acq::fund_allocation_percent" oils_persist:tablename="acq.fund_allocation_percent" reporter:label="Fund Allocation Percent">
9384 <fields oils_persist:primary="id" oils_persist:sequence="acq.fund_allocation_percent_id_seq">
9385 <field reporter:label="Allocation ID" name="id" reporter:datatype="id" />
9386 <field reporter:label="Funding Source" name="funding_source" reporter:datatype="link" />
9387 <field reporter:label="Org Unit" name="org" reporter:datatype="org_unit" />
9388 <field reporter:label="Fund Code" name="fund_code" reporter:datatype="text" />
9389 <field reporter:label="Percent" name="percent" reporter:datatype="float" />
9390 <field reporter:label="Allocating User" name="allocator" reporter:datatype="link" />
9391 <field reporter:label="Note" name="note" reporter:datatype="text" />
9392 <field reporter:label="Create Time" name="create_time" reporter:datatype="timestamp" />
9395 <link field="allocator" reltype="has_a" key="id" map="" class="au"/>
9396 <link field="org" reltype="has_a" key="id" map="" class="aou"/>
9397 <link field="funding_source" reltype="has_a" key="id" map="" class="acqfs"/>
9399 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
9401 <create permission="ADMIN_ACQ_FUND_ALLOCATION_PERCENT" global_required="true"/>
9402 <retrieve permission="VIEW_ACQ_FUND_ALLOCATION_PERCENT" global_required="true"/>
9403 <update permission="ADMIN_ACQ_FUND_ALLOCATION_PERCENT" global_required="true"/>
9404 <delete permission="ADMIN_ACQ_FUND_ALLOCATION_PERCENT" global_required="true"/>
9409 <class id="acqpl" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="acq::picklist" oils_persist:tablename="acq.picklist" reporter:label="Selection List">
9410 <fields oils_persist:primary="id" oils_persist:sequence="acq.picklist_id_seq">
9411 <field reporter:label="Selection List ID" name="id" reporter:datatype="id" reporter:selector='name' />
9412 <field reporter:label="Owner" name="owner" reporter:datatype="link" />
9413 <field reporter:label="Org Unit" name="org_unit" reporter:datatype="org_unit" />
9414 <field reporter:label="Name" name="name" reporter:datatype="text" oils_persist:i18n="true" />
9415 <field reporter:label="Creation Time" name="create_time" reporter:datatype="timestamp" />
9416 <field reporter:label="Edit Time" name="edit_time" reporter:datatype="timestamp" />
9417 <field reporter:label="Entries" name="entries" oils_persist:virtual="true" reporter:datatype="link" />
9418 <field reporter:label="Entry Count" name="entry_count" oils_persist:virtual="true"/>
9419 <field reporter:label="Creator" name="creator" reporter:datatype="link" />
9420 <field reporter:label="Editor" name="editor" reporter:datatype="link" />
9423 <link field="owner" reltype="has_a" key="id" map="" class="au"/>
9424 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
9425 <link field="editor" reltype="has_a" key="id" map="" class="au"/>
9426 <link field="org_unit" reltype="has_a" key="id" map="" class="aou"/>
9427 <link field="entries" reltype="has_many" key="picklist" map="" class="jub"/>
9429 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
9431 <retrieve permission="CREATE_PICKLIST VIEW_PICKLIST" context_field="org_unit"/>
9436 <class id="acqcr" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="acq::cancel_reason" oils_persist:tablename="acq.cancel_reason" reporter:label="Cancel Reason">
9437 <fields oils_persist:primary="id" oils_persist:sequence="acq.cancel_reason_id_seq">
9438 <field reporter:label="ID" name="id" reporter:datatype="id" reporter:selector='label'/>
9439 <field reporter:label="Using Library" name="org_unit" reporter:datatype="org_unit"/>
9440 <field reporter:label="Label" name="label" reporter:datatype="text" oils_persist:i18n="true"/>
9441 <field reporter:label="Description" name="description" reporter:datatype="text" oils_persist:i18n="true"/>
9442 <field reporter:label="Keep Debits?" name="keep_debits" reporter:datatype="bool"/>
9445 <link field="org_unit" reltype="has_a" key="id" map="" class="aou"/>
9447 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
9449 <create permission="ADMIN_ACQ_CANCEL_CAUSE" context_field="org_unit"/>
9450 <retrieve permission="STAFF_LOGIN" context_field="org_unit"/>
9451 <update permission="ADMIN_ACQ_CANCEL_CAUSE" context_field="org_unit"/>
9452 <delete permission="ADMIN_ACQ_CANCEL_CAUSE" context_field="org_unit"/>
9457 <class id="acqpo" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="acq::purchase_order" oils_persist:tablename="acq.purchase_order" reporter:label="Purchase Order">
9458 <fields oils_persist:primary="id" oils_persist:sequence="acq.purchase_order_id_seq">
9459 <field reporter:label="Purchase Order ID" name="id" reporter:datatype="id" reporter:selector='name'/>
9460 <field reporter:label="Owner" name="owner" reporter:datatype="link" />
9461 <field reporter:label="Creation Time" name="create_time" reporter:datatype="timestamp" />
9462 <field reporter:label="Edit Time" name="edit_time" reporter:datatype="timestamp" />
9463 <field reporter:label="Provider" name="provider" reporter:datatype="link" />
9464 <field reporter:label="State" name="state" reporter:datatype="text" />
9465 <field reporter:label="Ordering Agency" name="ordering_agency" reporter:datatype="org_unit" />
9466 <field reporter:label="Creator" name="creator" reporter:datatype="link" />
9467 <field reporter:label="Editor" name="editor" reporter:datatype="link" />
9468 <field reporter:label="Order Date" name="order_date" reporter:datatype="timestamp" />
9469 <field reporter:label="Name" name="name" reporter:datatype="text" />
9470 <field reporter:label="Cancel Reason" name="cancel_reason" reporter:datatype="link" />
9471 <field reporter:label="Prepayment Required" name="prepayment_required" reporter:datatype="bool" />
9472 <field reporter:label="Line Items" name="lineitems" oils_persist:virtual="true" reporter:datatype="link" />
9473 <field reporter:label="Notes" name="notes" oils_persist:virtual="true" reporter:datatype="link" />
9474 <field reporter:label="Line Item Count" name="lineitem_count" oils_persist:virtual="true" reporter:datatype="int" />
9475 <field reporter:label="Amount Encumbered" name="amount_encumbered" oils_persist:virtual="true" reporter:datatype="float" />
9476 <field reporter:label="Amount Spent" name="amount_spent" oils_persist:virtual="true" reporter:datatype="float" />
9477 <field reporter:label="Amount Estimated" name="amount_estimated" oils_persist:virtual="true" reporter:datatype="float" />
9478 <field reporter:label="PO Items" name="po_items" oils_persist:virtual="true" reporter:datatype="link" />
9481 <link field="owner" reltype="has_a" key="id" map="" class="au"/>
9482 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
9483 <link field="editor" reltype="has_a" key="id" map="" class="au"/>
9484 <link field="default_fund" reltype="has_a" key="id" map="" class="acqf"/>
9485 <link field="provider" reltype="has_a" key="id" map="" class="acqpro"/>
9486 <link field="lineitems" reltype="has_many" key="purchase_order" map="" class="jub"/>
9487 <link field="po_items" reltype="has_many" key="purchase_order" map="" class="acqpoi"/>
9488 <link field="notes" reltype="has_many" key="purchase_order" map="" class="acqpon"/>
9489 <link field="ordering_agency" reltype="has_a" key="id" map="" class="aou"/>
9490 <link field="cancel_reason" reltype="has_a" key="id" map="" class="acqcr"/>
9492 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
9494 <create permission="CREATE_PURCHASE_ORDER" context_field="ordering_agency"/>
9495 <retrieve permission="CREATE_PURCHASE_ORDER VIEW_PURCHASE_ORDER" context_field="ordering_agency"/>
9496 <update permission="CREATE_PURCHASE_ORDER" context_field="ordering_agency"/>
9497 <delete permission="CREATE_PURCHASE_ORDER" context_field="ordering_agency"/>
9502 <class id="acqpoh" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="acq::acq_purchase_order_history" oils_persist:tablename="acq.acq_purchase_order_history" reporter:label="Purchase Order History">
9503 <fields oils_persist:primary="audit_id" oils_persist:sequence="acq.acq_purchase_order_pkey_seq">
9504 <field reporter:label="Audit ID" name="audit_id" reporter:datatype="id"/>
9505 <field reporter:label="Audit Time" name="audit_time" reporter:datatype="timestamp"/>
9506 <field reporter:label="Audit Action" name="audit_action" reporter:datatype="text"/>
9507 <field reporter:label="Purchase Order ID" name="id" reporter:datatype="link"/>
9508 <field reporter:label="Owner" name="owner" reporter:datatype="link"/>
9509 <field reporter:label="Creator" name="creator" reporter:datatype="link"/>
9510 <field reporter:label="Editor" name="editor" reporter:datatype="link"/>
9511 <field reporter:label="Ordering Agency" name="ordering_agency" reporter:datatype="link"/>
9512 <field reporter:label="Create Time" name="create_time" reporter:datatype="timestamp"/>
9513 <field reporter:label="Edit Time" name="edit_time" reporter:datatype="timestamp"/>
9514 <field reporter:label="Provider" name="provider" reporter:datatype="link"/>
9515 <field reporter:label="State" name="state" reporter:datatype="text"/>
9516 <field reporter:label="Order Date" name="order_date" reporter:datatype="timestamp"/>
9517 <field reporter:label="Name" name="name" reporter:datatype="text"/>
9518 <field reporter:label="Cancel Reason" name="cancel_reason" reporter:datatype="link"/>
9519 <field reporter:label="Prepayment Required" name="prepayment_required" reporter:datatype="bool" />
9522 <link field="id" reltype="has_a" key="id" map="" class="acqpo"/>
9523 <link field="owner" reltype="has_a" key="id" map="" class="au"/>
9524 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
9525 <link field="editor" reltype="has_a" key="id" map="" class="au"/>
9526 <link field="ordering_agency" reltype="has_a" key="id" map="" class="aou"/>
9527 <link field="provider" reltype="has_a" key="id" map="" class="acqpro"/>
9528 <link field="cancel_reason" reltype="has_a" key="id" map="" class="acqcr"/>
9530 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
9532 <retrieve permission="CREATE_PURCHASE_ORDER VIEW_PURCHASE_ORDER" context_field="ordering_agency"/>
9537 <class id="acqpon" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="acq::po_note" oils_persist:tablename="acq.po_note" reporter:label="PO Note">
9538 <fields oils_persist:primary="id" oils_persist:sequence="acq.po_note_id_seq">
9539 <field reporter:label="PO Note ID" name="id" reporter:datatype="id" />
9540 <field reporter:label="Purchase Order" name="purchase_order" reporter:datatype="link" />
9541 <field reporter:label="Creator" name="creator" reporter:datatype="link" />
9542 <field reporter:label="Creation Time" name="create_time" reporter:datatype="timestamp" />
9543 <field reporter:label="Edit Time" name="edit_time" reporter:datatype="timestamp" />
9544 <field reporter:label="Editor" name="editor" reporter:datatype="link" />
9545 <field reporter:label="Vote Value" name="value" reporter:datatype="text" />
9546 <field reporter:label="Vendor Public" name="vendor_public" reporter:datatype="bool" />
9549 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
9550 <link field="editor" reltype="has_a" key="id" map="" class="au"/>
9551 <link field="purchase_order" reltype="has_a" key="id" map="" class="acqpo"/>
9553 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
9555 <create permission="CREATE_PURCHASE_ORDER">
9556 <context link="purchase_order" field="ordering_agency"/>
9558 <retrieve permission="CREATE_PURCHASE_ORDER VIEW_PURCHASE_ORDER">
9559 <context link="purchase_order" field="ordering_agency"/>
9561 <update permission="CREATE_PURCHASE_ORDER">
9562 <context link="purchase_order" field="ordering_agency"/>
9564 <delete permission="CREATE_PURCHASE_ORDER">
9565 <context link="purchase_order" field="ordering_agency"/>
9571 <class id="acqpoi" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="acq::po_item" oils_persist:tablename="acq.po_item" reporter:label="Purchase Order Item">
9572 <fields oils_persist:primary="id" oils_persist:sequence="acq.po_item_id_seq">
9573 <field reporter:label="ID" name="id" reporter:datatype="id"/>
9574 <field reporter:label="Purchase Order" name="purchase_order" reporter:datatype="link"/>
9575 <field reporter:label="Fund Debit" name="fund_debit" reporter:datatype="link"/>
9576 <field reporter:label="Invoice Item Type" name="inv_item_type" reporter:datatype="link"/>
9577 <field reporter:label="Title" name="title" reporter:datatype="text"/>
9578 <field reporter:label="Author" name="author" reporter:datatype="text"/>
9579 <field reporter:label="Note" name="note" reporter:datatype="text"/>
9580 <field reporter:label="Estimated Cost" name="estimated_cost" reporter:datatype="money"/>
9581 <field reporter:label="Fund" name="fund" reporter:datatype="link"/>
9582 <field reporter:label="Target" name="target" reporter:datatype="int" />
9585 <link field="purchase_order" reltype="has_a" key="id" map="" class="acqpo"/>
9586 <link field="fund_debit" reltype="has_a" key="id" map="" class="acqfdeb"/>
9587 <link field="inv_item_type" reltype="has_a" key="code" map="" class="aiit"/>
9588 <link field="fund" reltype="has_a" key="id" map="" class="acqf"/>
9590 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
9592 <create permission="CREATE_PURCHASE_ORDER">
9593 <context link="purchase_order" field="ordering_agency"/>
9595 <retrieve permission="CREATE_PURCHASE_ORDER VIEW_PURCHASE_ORDER">
9596 <context link="purchase_order" field="ordering_agency"/>
9598 <update permission="CREATE_PURCHASE_ORDER">
9599 <context link="purchase_order" field="ordering_agency"/>
9601 <delete permission="CREATE_PURCHASE_ORDER">
9602 <context link="purchase_order" field="ordering_agency"/>
9608 <class id="jub" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="acq::lineitem" oils_persist:tablename="acq.lineitem" reporter:label="Line Item">
9609 <fields oils_persist:primary="id" oils_persist:sequence="acq.lineitem_id_seq">
9610 <field reporter:label="Lineitem ID" name="id" reporter:datatype="id" />
9611 <field reporter:label="Selecting User" name="selector" reporter:datatype="link" />
9612 <field reporter:label="Selection List" name="picklist" reporter:datatype="link" />
9613 <field reporter:label="Purchase Order" name="purchase_order" reporter:datatype="link" />
9614 <field reporter:label="Provider" name="provider" reporter:datatype="link" />
9615 <field reporter:label="Creation Time" name="create_time" reporter:datatype="timestamp" />
9616 <field reporter:label="Edit Time" name="edit_time" reporter:datatype="timestamp" />
9617 <field reporter:label="MARC" name="marc" reporter:datatype="text" />
9618 <field reporter:label="Evergreen Bib ID" name="eg_bib_id" reporter:datatype="link" />
9619 <field reporter:label="Source Label" name="source_label" reporter:datatype="text" />
9620 <field reporter:label="Expected Receive Date" name="expected_recv_time" reporter:datatype="timestamp" />
9621 <field reporter:label="State" name="state" reporter:datatype="text" />
9622 <field reporter:label="Creator" name="creator" reporter:datatype="link" />
9623 <field reporter:label="Editor" name="editor" reporter:datatype="link" />
9624 <field reporter:label="Claim Policy" name="claim_policy" reporter:datatype="link" />
9625 <field reporter:label="Cancel Reason" name="cancel_reason" reporter:datatype="link" />
9626 <field reporter:label="Estimated Unit Price" name="estimated_unit_price" reporter:datatype="money" />
9627 <field reporter:label="Queued Vandelay Record" name="queued_record" reporter:datatype="link" />
9628 <field reporter:label="Item Count" name="item_count" oils_persist:virtual="true" reporter:datatype="int" />
9629 <field reporter:label="Descriptive Attributes" name="attributes" oils_persist:virtual="true" reporter:datatype="link" />
9630 <field reporter:label="Line Item Details" name="lineitem_details" oils_persist:virtual="true" reporter:datatype="link" />
9631 <field reporter:label="Line Item Notes" name="lineitem_notes" oils_persist:virtual="true" reporter:datatype="link" />
9632 <field reporter:label="Distribution Formulas" name="distribution_formulas" oils_persist:virtual="true" reporter:datatype="link" />
9633 <field reporter:label="Invoice Entries" name="invoice_entries" oils_persist:virtual="true" reporter:datatype="link" />
9634 <field reporter:label="Order Summary" name="order_summary" oils_persist:virtual="true" reporter:datatype="link" />
9637 <link field="selector" reltype="has_a" key="id" map="" class="au"/>
9638 <link field="editor" reltype="has_a" key="id" map="" class="au"/>
9639 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
9640 <link field="provider" reltype="has_a" key="id" map="" class="acqpro"/>
9641 <link field="purchase_order" reltype="has_a" key="id" map="" class="acqpo"/>
9642 <link field="picklist" reltype="has_a" key="id" map="" class="acqpl"/>
9643 <link field="eg_bib_id" reltype="has_a" key="id" map="" class="bre"/>
9644 <link field="attributes" reltype="has_many" key="lineitem" map="" class="acqlia"/>
9645 <link field="lineitem_details" reltype="has_many" key="lineitem" map="" class="acqlid"/>
9646 <link field="lineitem_notes" reltype="has_many" key="lineitem" map="" class="acqlin"/>
9647 <link field="cancel_reason" reltype="has_a" key="id" map="" class="acqcr"/>
9648 <link field="distribution_formulas" reltype="has_many" key="lineitem" map="" class="acqdfa"/>
9649 <link field="claim_policy" reltype="has_a" key="id" map="" class="acqclp"/>
9650 <link field="invoice_entries" reltype="has_many" key="lineitem" map="" class="acqie"/>
9651 <link field="order_summary" reltype="might_have" key="lineitem" map="" class="acqlisum"/>
9652 <link field="queued_record" reltype="has_a" key="id" map="" class="vqbr"/>
9654 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
9656 <retrieve permission="CREATE_PURCHASE_ORDER VIEW_PURCHASE_ORDER CREATE_PICKLIST VIEW_PICKLIST">
9657 <context link="purchase_order" field="ordering_agency"/>
9658 <context link="picklist" field="org_unit"/>
9664 <class id="acqlih" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="acq::acq_lineitem_history" oils_persist:tablename="acq.acq_lineitem_history" reporter:label="Line Item History">
9665 <fields oils_persist:primary="audit_id" oils_persist:sequence="acq.acq_lineitem_pkey_seq">
9666 <field reporter:label="Audit ID" name="audit_id" reporter:datatype="id"/>
9667 <field reporter:label="Audit Time" name="audit_time" reporter:datatype="timestamp"/>
9668 <field reporter:label="Audit Action" name="audit_action" reporter:datatype="text"/>
9669 <field reporter:label="Lineitem ID" name="id" reporter:datatype="link"/>
9670 <field reporter:label="Creator" name="creator" reporter:datatype="link"/>
9671 <field reporter:label="Editor" name="editor" reporter:datatype="link"/>
9672 <field reporter:label="Selector" name="selector" reporter:datatype="link"/>
9673 <field reporter:label="Provider" name="provider" reporter:datatype="link"/>
9674 <field reporter:label="Purchase Order" name="purchase_order" reporter:datatype="link"/>
9675 <field reporter:label="Selection List" name="picklist" reporter:datatype="link"/>
9676 <field reporter:label="Expected Receive Time" name="expected_recv_time" reporter:datatype="timestamp"/>
9677 <field reporter:label="Create Time" name="create_time" reporter:datatype="timestamp"/>
9678 <field reporter:label="Edit Time" name="edit_time" reporter:datatype="timestamp"/>
9679 <field reporter:label="MARC" name="marc" reporter:datatype="text"/>
9680 <field reporter:label="Evergreen Bib ID" name="eg_bib_id" reporter:datatype="link"/>
9681 <field reporter:label="Source Label" name="source_label" reporter:datatype="text"/>
9682 <field reporter:label="State" name="state" reporter:datatype="text"/>
9683 <field reporter:label="Claim Policy" name="claim_policy" reporter:datatype="link"/>
9684 <field reporter:label="Cancel Reason" name="cancel_reason" reporter:datatype="link"/>
9685 <field reporter:label="Estimated Unit Price" name="estimated_unit_price" reporter:datatype="money" />
9686 <field reporter:label="Queued Vandelay Record" name="queued_record" reporter:datatype="link" />
9689 <link field="id" reltype="has_a" key="id" map="" class="jub"/>
9690 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
9691 <link field="editor" reltype="has_a" key="id" map="" class="au"/>
9692 <link field="selector" reltype="has_a" key="id" map="" class="au"/>
9693 <link field="provider" reltype="has_a" key="id" map="" class="acqpro"/>
9694 <link field="purchase_order" reltype="has_a" key="id" map="" class="acqpo"/>
9695 <link field="picklist" reltype="has_a" key="id" map="" class="acqpl"/>
9696 <link field="eg_bib_id" reltype="has_a" key="id" map="" class="bre"/>
9697 <link field="cancel_reason" reltype="has_a" key="id" map="" class="acqcr"/>
9698 <link field="claim_policy" reltype="has_a" key="id" map="" class="acqclp"/>
9699 <link field="queued_record" reltype="has_a" key="id" map="" class="vqbr"/>
9701 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
9703 <retrieve permission="CREATE_PURCHASE_ORDER VIEW_PURCHASE_ORDER">
9704 <context link="purchase_order" field="ordering_agency"/>
9705 <context link="picklist" field="org_unit"/>
9711 <class id="acqliat" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="acq::lineitem_alert_text" oils_persist:tablename="acq.lineitem_alert_text" reporter:label="Line Item Alert Text">
9712 <fields oils_persist:primary="id" oils_persist:sequence="acq.lineitem_alert_text_id_seq">
9713 <field reporter:label="Alert Text ID" name="id" reporter:datatype="id"/>
9714 <field reporter:label="Code" name="code" reporter:datatype="text"/>
9715 <field reporter:label="Description" name="description" reporter:datatype="text"/>
9716 <field reporter:label="Owning Library" name="owning_lib" reporter:datatype="link"/>
9719 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
9721 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
9723 <create permission="ADMIN_ACQ_LINEITEM_ALERT_TEXT" context_field="owning_lib"/>
9724 <retrieve permission="STAFF_LOGIN" context_field="owning_lib"/>
9725 <update permission="ADMIN_ACQ_LINEITEM_ALERT_TEXT" context_field="owning_lib"/>
9726 <delete permission="ADMIN_ACQ_LINEITEM_ALERT_TEXT" context_field="owning_lib"/>
9731 <class id="acqlin" controller="open-ils.cstore open-ils.reporter-store" oils_obj:fieldmapper="acq::lineitem_note" oils_persist:tablename="acq.lineitem_note" reporter:label="Line Item Note">
9732 <fields oils_persist:primary="id" oils_persist:sequence="acq.lineitem_note_id_seq">
9733 <field reporter:label="PO Line Item Note ID" name="id" reporter:datatype="id" />
9734 <field reporter:label="Line Item" name="lineitem" reporter:datatype="link" />
9735 <field reporter:label="Creator" name="creator" reporter:datatype="link" />
9736 <field reporter:label="Creation Time" name="create_time" reporter:datatype="timestamp" />
9737 <field reporter:label="Edit Time" name="edit_time" reporter:datatype="timestamp" />
9738 <field reporter:label="Editor" name="editor" reporter:datatype="link" />
9739 <field reporter:label="Note Value" name="value" reporter:datatype="text" />
9740 <field reporter:label="Alert Text" name="alert_text" reporter:datatype="link" />
9741 <field reporter:label="Vendor Public" name="vendor_public" reporter:datatype="bool" />
9744 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
9745 <link field="editor" reltype="has_a" key="id" map="" class="au"/>
9746 <link field="lineitem" reltype="has_a" key="id" map="" class="jub"/>
9747 <link field="alert_text" reltype="has_a" key="id" map="" class="acqliat"/>
9751 <class id="acqlia" controller="open-ils.cstore open-ils.reporter-store" oils_obj:fieldmapper="acq::lineitem_attr" oils_persist:tablename="acq.lineitem_attr" reporter:label="Line Item Attribute">
9752 <fields oils_persist:primary="id" oils_persist:sequence="acq.lineitem_attr_id_seq">
9753 <field reporter:label="Attribute Value ID" name="id" reporter:datatype="id" />
9754 <field reporter:label="Lineitem" name="lineitem" reporter:datatype="link" />
9755 <field reporter:label="Type" name="attr_type" reporter:datatype="text" />
9756 <field reporter:label="Name" name="attr_name" reporter:datatype="text" />
9757 <field reporter:label="Value" name="attr_value" reporter:datatype="text" />
9758 <field reporter:label="Definition" name="definition" reporter:datatype="text" />
9759 <field reporter:label="Order Identifier" name="order_ident" reporter:datatype="bool" />
9762 <link field="lineitem" reltype="has_a" key="id" map="" class="jub"/>
9763 <link field="definition" reltype="has_a" key="id" map="" class="acqliad"/>
9767 <class id="acqlid" controller="open-ils.cstore open-ils.reporter-store" oils_obj:fieldmapper="acq::lineitem_detail" oils_persist:tablename="acq.lineitem_detail" reporter:label="Line Item Detail">
9768 <fields oils_persist:primary="id" oils_persist:sequence="acq.lineitem_detail_id_seq">
9769 <field reporter:label="Item Detail ID" name="id" reporter:datatype="id" />
9770 <field reporter:label="PO Line Item" name="lineitem" reporter:datatype="link" />
9771 <field reporter:label="Evergreen Copy ID" name="eg_copy_id" reporter:datatype="link" />
9772 <field reporter:label="Barcode" name="barcode" reporter:datatype="text" />
9773 <field reporter:label="Call Number Label" name="cn_label" reporter:datatype="text" />
9774 <field reporter:label="Actual Receive Date" name="recv_time" reporter:datatype="timestamp" />
9775 <field reporter:label="Receiving User" name="receiver" reporter:datatype="link" />
9776 <field reporter:label="Fund" name="fund" reporter:datatype="link" />
9777 <field reporter:label="Fund Debit" name="fund_debit" reporter:datatype="link" />
9778 <field reporter:label="Owning Library" name="owning_lib" reporter:datatype="org_unit" />
9779 <field reporter:label="Copy Location" name="location" reporter:datatype="link" />
9780 <field reporter:label="Circ Modifier" name="circ_modifier" reporter:datatype="link" />
9781 <field reporter:label="Note" name="note" reporter:datatype="text" />
9782 <field reporter:label="Collection Code" name="collection_code" reporter:datatype="text" />
9783 <field reporter:label="Cancel Reason" name="cancel_reason" reporter:datatype="link" />
9784 <field reporter:label="Claims" name="claims" reporter:datatype="link" oils_persist:virtual="true" />
9787 <link field="lineitem" reltype="has_a" key="id" map="" class="jub"/>
9788 <link field="eg_copy_id" reltype="has_a" key="id" map="" class="acp"/>
9789 <link field="fund" reltype="has_a" key="id" map="" class="acqf"/>
9790 <link field="fund_debit" reltype="has_a" key="id" map="" class="acqfdeb"/>
9791 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
9792 <link field="location" reltype="has_a" key="id" map="" class="acpl"/>
9793 <link field="circ_modifier" reltype="has_a" key="code" map="" class="ccm"/>
9794 <link field="cancel_reason" reltype="has_a" key="id" map="" class="acqcr"/>
9795 <link field="claims" reltype="has_many" key="lineitem_detail" map="" class="acqcl"/>
9796 <link field="receiver" reltype="has_a" key="id" map="" class="au"/>
9800 <class id="acqliad" controller="open-ils.cstore open-ils.reporter-store open-ils.pcrud" oils_obj:fieldmapper="acq::lineitem_attr_definition" oils_persist:tablename="acq.lineitem_attr_definition" reporter:label="Line Item Attribute Definition">
9801 <fields oils_persist:primary="id" oils_persist:sequence="acq.lineitem_attr_definition_id_seq">
9802 <field reporter:label="Definition ID" name="id" reporter:datatype="id" />
9803 <field reporter:label="Code" name="code" reporter:datatype="text" />
9804 <field reporter:label="Description" name="description" reporter:datatype="text" oils_persist:i18n="true" />
9805 <field reporter:label="Is Identifier?" name="ident" reporter:datatype="bool"/>
9808 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
9815 <class id="acqlimad" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="acq::lineitem_marc_attr_definition" oils_persist:tablename="acq.lineitem_marc_attr_definition" reporter:label="Line Item MARC Attribute Definition">
9816 <fields oils_persist:primary="id" oils_persist:sequence="acq.lineitem_attr_definition_id_seq">
9817 <field reporter:label="Definition ID" name="id" reporter:datatype="id" />
9818 <field reporter:label="Code" name="code" reporter:datatype="text" />
9819 <field reporter:label="Description" name="description" reporter:datatype="text" oils_persist:i18n="true" />
9820 <field reporter:label="XPath" name="xpath" reporter:datatype="text" />
9821 <field reporter:label="Is Identifier?" name="ident" reporter:datatype="bool"/>
9822 <field reporter:label="Remove" name="remove" reporter:datatype="text" />
9825 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
9827 <create permission="ADMIN_LINEITEM_MARC_ATTR_DEF" global_required="true"/>
9829 <update permission="ADMIN_LINEITEM_MARC_ATTR_DEF" global_required="true"/>
9830 <delete permission="ADMIN_LINEITEM_MARC_ATTR_DEF" global_required="true"/>
9835 <class id="acqligad" controller="open-ils.cstore open-ils.reporter-store" oils_obj:fieldmapper="acq::lineitem_generated_attr_definition" oils_persist:tablename="acq.lineitem_generated_attr_definition" reporter:label="Line Item Generated Attribute Definition">
9836 <fields oils_persist:primary="id" oils_persist:sequence="acq.lineitem_attr_definition_id_seq">
9837 <field reporter:label="Definition ID" name="id" reporter:datatype="id" />
9838 <field reporter:label="Code" name="code" reporter:datatype="text" />
9839 <field reporter:label="Description" name="description" reporter:datatype="text" oils_persist:i18n="true" />
9840 <field reporter:label="XPath" name="xpath" reporter:datatype="text" />
9841 <field reporter:label="Is Identifier?" name="ident" reporter:datatype="bool"/>
9845 <class id="acqliuad" controller="open-ils.cstore open-ils.reporter-store" oils_obj:fieldmapper="acq::lineitem_usr_attr_definition" oils_persist:tablename="acq.lineitem_usr_attr_definition" reporter:label="Line Item User Attribute Definition">
9846 <fields oils_persist:primary="id" oils_persist:sequence="acq.lineitem_attr_definition_id_seq">
9847 <field reporter:label="Definition ID" name="id" reporter:datatype="id" />
9848 <field reporter:label="Code" name="code" reporter:datatype="text" />
9849 <field reporter:label="Description" name="description" reporter:datatype="text" oils_persist:i18n="true" />
9850 <field reporter:label="User" name="usr" reporter:datatype="link" />
9851 <field reporter:label="Is Identifier?" name="ident" reporter:datatype="bool"/>
9854 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
9858 <class id="acqlipad" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="acq::lineitem_provider_attr_definition" oils_persist:tablename="acq.lineitem_provider_attr_definition" reporter:label="Line Item Provider Attribute Definition">
9859 <fields oils_persist:primary="id" oils_persist:sequence="acq.lineitem_attr_definition_id_seq">
9860 <field reporter:label="Definition ID" name="id" reporter:datatype="id" />
9861 <field reporter:label="Code" name="code" reporter:datatype="text" />
9862 <field reporter:label="Description" name="description" reporter:datatype="text" oils_persist:i18n="true" />
9863 <field reporter:label="XPath" name="xpath" reporter:datatype="text" />
9864 <field reporter:label="Provider" name="provider" reporter:datatype="link" />
9865 <field reporter:label="Is Identifier?" name="ident" reporter:datatype="bool"/>
9866 <field reporter:label="Remove" name="remove" reporter:datatype="text" />
9870 <link field="provider" reltype="has_a" key="id" map="" class="acqpro"/>
9872 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
9874 <create permission="ADMIN_PROVIDER">
9875 <context link="provider" field="owner"/>
9877 <retrieve permission="ADMIN_PROVIDER">
9878 <context link="provider" field="owner"/>
9880 <update permission="ADMIN_PROVIDER">
9881 <context link="provider" field="owner"/>
9883 <delete permission="ADMIN_PROVIDER">
9884 <context link="provider" field="owner"/>
9890 <class id="acqphsm" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="acq::provider_holding_subfield_map" oils_persist:tablename="acq.provider_holding_subfield_map" reporter:label="Provider Holding Subfield Map">
9891 <fields oils_persist:primary="id" oils_persist:sequence="acq.provider_holding_subfield_map_id_seq">
9892 <field reporter:label="ID" name="id" reporter:datatype="id" />
9893 <field reporter:label="Provider" name="provider" reporter:datatype="link" />
9894 <field reporter:label="Name" name="name" reporter:datatype="text" />
9895 <field reporter:label="Subfield" name="subfield" reporter:datatype="text" />
9898 <link field="provider" reltype="has_a" key="id" map="" class="acqpro"/>
9900 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
9902 <create permission="ADMIN_PROVIDER">
9903 <context link="provider" field="owner"/>
9905 <retrieve permission="ADMIN_PROVIDER">
9906 <context link="provider" field="owner"/>
9908 <update permission="ADMIN_PROVIDER">
9909 <context link="provider" field="owner"/>
9911 <delete permission="ADMIN_PROVIDER">
9912 <context link="provider" field="owner"/>
9918 <class id="acqlilad" controller="open-ils.cstore open-ils.reporter-store" oils_obj:fieldmapper="acq::lineitem_local_attr_definition" oils_persist:tablename="acq.lineitem_local_attr_definition" reporter:label="Line Item Local Attribute Definition">
9919 <fields oils_persist:primary="id" oils_persist:sequence="acq.lineitem_attr_definition_id_seq">
9920 <field reporter:label="Definition ID" name="id" reporter:datatype="id" />
9921 <field reporter:label="Code" name="code" reporter:datatype="text" />
9922 <field reporter:label="Description" name="description" reporter:datatype="text" oils_persist:i18n="true" />
9923 <field reporter:label="Is Identifier?" name="ident" reporter:datatype="bool"/>
9928 <class id="acqedi" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="acq::edi_account" oils_persist:tablename="acq.edi_account" reporter:label="EDI Account">
9929 <fields oils_persist:primary="id" oils_persist:sequence="config.remote_account_id_seq"><!-- edi_account inherits from config.remote_account, hence the seq -->
9930 <field name="id" reporter:datatype="id" reporter:label="EDI Account ID" reporter:selector="label"/>
9931 <field name="label" reporter:datatype="text" reporter:label="Label"/>
9932 <field name="host" reporter:datatype="text" reporter:label="Host"/>
9933 <field name="username" reporter:datatype="text" reporter:label="Username"/>
9934 <field name="password" reporter:datatype="text" reporter:label="Password"/>
9935 <field name="account" reporter:datatype="text" reporter:label="Account"/>
9936 <field name="path" reporter:datatype="text" reporter:label="Path"/>
9937 <field name="owner" reporter:datatype="link" reporter:label="Owner"/>
9938 <field name="last_activity" reporter:datatype="timestamp" reporter:label="Last Activity"/>
9939 <field name="provider" reporter:datatype="link" reporter:label="Provider"/>
9940 <field name="in_dir" reporter:datatype="text" reporter:label="Incoming Directory"/>
9941 <field name="vendacct" reporter:datatype="text" reporter:label="Vendor Account Number"/>
9942 <field name="vendcode" reporter:datatype="text" reporter:label="Vendor Assigned Code"/>
9943 <field name="attr_set" reporter:datatype="link" reporter:label="EDI Attribute Set"/>
9944 <field name="use_attrs" reporter:datatype="bool" reporter:label="Use EDI Attributes"/>
9947 <link field="provider" reltype="has_a" key="id" map="" class="acqpro"/>
9948 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
9949 <link field="attr_set" reltype="has_a" key="id" map="" class="aeas"/>
9951 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
9953 <create permission="ADMIN_PROVIDER">
9954 <context link="provider" field="owner"/>
9956 <retrieve permission="ADMIN_PROVIDER">
9957 <context link="provider" field="owner"/>
9959 <update permission="ADMIN_PROVIDER">
9960 <context link="provider" field="owner"/>
9962 <delete permission="ADMIN_PROVIDER">
9963 <context link="provider" field="owner"/>
9969 <class id="aea" controller="open-ils.cstore open-ils.pcrud"
9970 oils_obj:fieldmapper="acq::edi_attr"
9971 oils_persist:tablename="acq.edi_attr" reporter:label="EDI Attribute">
9972 <fields oils_persist:primary="key">
9973 <field name="key" reporter:datatype="text" reporter:label="Key" reporter:selector="label"/>
9974 <field name="label" reporter:datatype="text" reporter:label="Label"/>
9976 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
9978 <create permission="ADMIN_PROVIDER" global_required="true"/>
9980 <update permission="ADMIN_PROVIDER" global_required="true"/>
9981 <delete permission="ADMIN_PROVIDER" global_required="true"/>
9985 <class id="aeas" controller="open-ils.cstore open-ils.pcrud"
9986 oils_obj:fieldmapper="acq::edi_attr_set"
9987 oils_persist:tablename="acq.edi_attr_set" reporter:label="EDI Attribute Set">
9988 <fields oils_persist:primary="id" oils_persist:sequence="acq.edi_attr_set_id_seq">
9989 <field name="id" reporter:datatype="id" reporter:label="ID" reporter:selector="label"/>
9990 <field name="label" reporter:datatype="text" reporter:label="Label"/>
9991 <field name="attr_maps" reporter:datatype="link" oils_persist:virtual="true" reporter:label="Mapped EDI Attributes"/>
9994 <link field="attr_maps" reltype="has_many" key="attr_set" map="" class="aeasm"/>
9996 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
9998 <create permission="ADMIN_PROVIDER" global_required="true"/>
10000 <update permission="ADMIN_PROVIDER" global_required="true"/>
10001 <delete permission="ADMIN_PROVIDER" global_required="true"/>
10005 <class id="aeasm" controller="open-ils.cstore open-ils.pcrud"
10006 oils_obj:fieldmapper="acq::edi_attr_set_map"
10007 oils_persist:tablename="acq.edi_attr_set_map" reporter:label="EDI Attribute Set Map">
10008 <fields oils_persist:primary="id" oils_persist:sequence="acq.edi_attr_set_map_id_seq">
10009 <field name="id" reporter:datatype="id" reporter:label="ID" reporter:selector="label"/>
10010 <field name="attr_set" reporter:datatype="link" reporter:label="Attribute Set"/>
10011 <field name="attr" reporter:datatype="link" reporter:label="Attribute"/>
10014 <link field="attr_set" reltype="has_a" key="id" map="" class="aeas"/>
10015 <link field="attr" reltype="has_a" key="id" map="" class="aea"/>
10017 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
10019 <create permission="ADMIN_PROVIDER" global_required="true"/>
10021 <update permission="ADMIN_PROVIDER" global_required="true"/>
10022 <delete permission="ADMIN_PROVIDER" global_required="true"/>
10028 <class id="acqedim" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="acq::edi_message" oils_persist:tablename="acq.edi_message" reporter:label="EDI Message">
10029 <fields oils_persist:primary="id" oils_persist:sequence="acq.edi_message_id_seq">
10030 <field name="id" reporter:datatype="id" reporter:label="EDI Message ID"/>
10031 <field name="account" reporter:datatype="link" reporter:label="EDI Account"/>
10032 <field name="remote_file" reporter:datatype="text" reporter:label="Filename"/>
10033 <field name="create_time" reporter:datatype="timestamp" reporter:label="Time Created"/>
10034 <field name="translate_time" reporter:datatype="timestamp" reporter:label="Time Translated"/>
10035 <field name="process_time" reporter:datatype="timestamp" reporter:label="Time Processed"/>
10036 <field name="error_time" reporter:datatype="timestamp" reporter:label="Time of Error"/>
10037 <field name="status" reporter:datatype="text" reporter:label="Status"/>
10038 <field name="edi" reporter:datatype="text" reporter:label="EDI Message Body"/>
10039 <field name="jedi" reporter:datatype="text" reporter:label="JEDI Message Body"/>
10040 <field name="error" reporter:datatype="text" reporter:label="Error"/>
10041 <field name="purchase_order" reporter:datatype="link" reporter:label="Purchase Order"/>
10042 <field name="message_type" reporter:datatype="text" reporter:label="Message Type"/>
10045 <link field="account" reltype="has_a" key="id" map="" class="acqedi"/>
10046 <link field="purchase_order" reltype="has_a" key="id" map="" class="acqpo"/>
10048 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
10050 <retrieve permission="ADMIN_PROVIDER MANAGE_PROVIDER VIEW_PROVIDER">
10051 <context link="account" jump="provider" field="owner"/>
10053 <update permission="ADMIN_PROVIDER MANAGE_PROVIDER VIEW_PROVIDER">
10054 <context link="account" jump="provider" field="owner"/>
10056 <delete permission="ADMIN_PROVIDER MANAGE_PROVIDER VIEW_PROVIDER">
10057 <context link="account" jump="provider" field="owner"/>
10064 <class id="rof" controller="open-ils.reporter-store" oils_obj:fieldmapper="reporter::output_folder" oils_persist:tablename="reporter.output_folder" reporter:label="Output Folder">
10065 <fields oils_persist:primary="id" oils_persist:sequence="reporter.output_folder_id_seq">
10066 <field name="id" reporter:datatype="id" />
10067 <field name="parent" reporter:datatype="link"/>
10068 <field name="owner" reporter:datatype="link"/>
10069 <field name="create_time" reporter:datatype="timestamp"/>
10070 <field name="name" reporter:datatype="text"/>
10071 <field name="shared" reporter:datatype="bool"/>
10072 <field name="share_with" reporter:datatype="link"/>
10073 <field name="children" oils_persist:virtual="true" reporter:datatype="link"/>
10074 <field name="outputs" oils_persist:virtual="true" reporter:datatype="link"/>
10077 <link field="owner" reltype="has_a" key="id" map="" class="au"/>
10078 <link field="parent" reltype="has_a" key="id" map="" class="rof"/>
10079 <link field="children" reltype="has_many" key="parent" map="" class="rof"/>
10080 <link field="share_with" reltype="has_a" key="id" map="" class="aou"/>
10081 <link field="outputs" reltype="has_many" key="folder" map="" class="rs"/>
10084 <class id="rtf" controller="open-ils.reporter-store" oils_obj:fieldmapper="reporter::template_folder" oils_persist:tablename="reporter.template_folder" reporter:label="Template Folder">
10085 <fields oils_persist:primary="id" oils_persist:sequence="reporter.template_folder_id_seq">
10086 <field name="id" reporter:datatype="id" />
10087 <field name="parent" reporter:datatype="link"/>
10088 <field name="owner" reporter:datatype="link"/>
10089 <field name="create_time" reporter:datatype="timestamp"/>
10090 <field name="name" reporter:datatype="text"/>
10091 <field name="shared" reporter:datatype="bool"/>
10092 <field name="share_with" reporter:datatype="link"/>
10093 <field name="children" oils_persist:virtual="true" reporter:datatype="link"/>
10094 <field name="templates" oils_persist:virtual="true" reporter:datatype="link"/>
10097 <link field="owner" reltype="has_a" key="id" map="" class="au"/>
10098 <link field="parent" reltype="has_a" key="id" map="" class="rtf"/>
10099 <link field="children" reltype="has_many" key="parent" map="" class="rtf"/>
10100 <link field="share_with" reltype="has_a" key="id" map="" class="aou"/>
10101 <link field="templates" reltype="has_many" key="folder" map="" class="rt"/>
10104 <class id="rrf" controller="open-ils.reporter-store" oils_obj:fieldmapper="reporter::report_folder" oils_persist:tablename="reporter.report_folder" reporter:label="Report Folder">
10105 <fields oils_persist:primary="id" oils_persist:sequence="reporter.report_folder_id_seq">
10106 <field name="id" reporter:datatype="id" />
10107 <field name="parent" reporter:datatype="link"/>
10108 <field name="owner" reporter:datatype="link"/>
10109 <field name="create_time" reporter:datatype="timestamp"/>
10110 <field name="name" reporter:datatype="text"/>
10111 <field name="shared" reporter:datatype="bool"/>
10112 <field name="share_with" reporter:datatype="link"/>
10113 <field name="children" oils_persist:virtual="true" reporter:datatype="link"/>
10114 <field name="reports" oils_persist:virtual="true" reporter:datatype="link"/>
10117 <link field="owner" reltype="has_a" key="id" map="" class="au"/>
10118 <link field="parent" reltype="has_a" key="id" map="" class="rrf"/>
10119 <link field="children" reltype="has_many" key="parent" map="" class="rrf"/>
10120 <link field="share_with" reltype="has_a" key="id" map="" class="aou"/>
10121 <link field="reports" reltype="has_many" key="folder" map="" class="rr"/>
10124 <class id="rt" controller="open-ils.reporter-store open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="reporter::template" oils_persist:tablename="reporter.template" reporter:label="Template">
10125 <fields oils_persist:primary="id" oils_persist:sequence="reporter.template_id_seq">
10126 <field name="id" reporter:datatype="id" />
10127 <field name="owner" reporter:datatype="link"/>
10128 <field name="create_time" reporter:datatype="timestamp"/>
10129 <field name="name" reporter:datatype="text"/>
10130 <field name="data" reporter:datatype="text"/>
10131 <field name="folder" reporter:datatype="link"/>
10132 <field name="description" reporter:datatype="text"/>
10133 <field name="reports" oils_persist:virtual="true" reporter:datatype="link"/>
10136 <link field="owner" reltype="has_a" key="id" map="" class="au"/>
10137 <link field="folder" reltype="has_a" key="id" map="" class="rtf"/>
10138 <link field="reports" reltype="has_many" key="template" map="" class="rr"/>
10140 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
10142 <create permission="RUN_REPORTS" owning_user="owner" global_required="true"/>
10143 <retrieve permission="RUN_REPORTS" owning_user="owner" global_required="true"/>
10144 <update permission="RUN_REPORTS" owning_user="owner" global_required="true"/>
10145 <delete permission="RUN_REPORTS" owning_user="owner" global_required="true"/>
10149 <class id="rr" controller="open-ils.reporter-store" oils_obj:fieldmapper="reporter::report" oils_persist:tablename="reporter.report" reporter:label="Report">
10150 <fields oils_persist:primary="id" oils_persist:sequence="reporter.report_id_seq">
10151 <field name="id" reporter:datatype="id" />
10152 <field name="owner" reporter:datatype="link"/>
10153 <field name="create_time" reporter:datatype="timestamp"/>
10154 <field name="template" reporter:datatype="link"/>
10155 <field name="data" reporter:datatype="text"/>
10156 <field name="folder" reporter:datatype="link"/>
10157 <field name="recur" reporter:datatype="bool"/>
10158 <field name="recurrence" reporter:datatype="interval"/>
10159 <field name="name" reporter:datatype="text"/>
10160 <field name="description" reporter:datatype="text"/>
10161 <field name="runs" oils_persist:virtual="true" reporter:datatype="link"/>
10164 <link field="owner" reltype="has_a" key="id" map="" class="au"/>
10165 <link field="template" reltype="has_a" key="id" map="" class="rt"/>
10166 <link field="folder" reltype="has_a" key="id" map="" class="rrf"/>
10167 <link field="runs" reltype="has_many" key="report" map="" class="rs"/>
10170 <class id="rs" controller="open-ils.reporter-store" oils_obj:fieldmapper="reporter::schedule" oils_persist:tablename="reporter.schedule" reporter:label="Schedule">
10171 <fields oils_persist:primary="id" oils_persist:sequence="reporter.schedule_id_seq">
10172 <field name="id" reporter:datatype="id" />
10173 <field name="runner" reporter:datatype="link"/>
10174 <field name="start_time" reporter:datatype="timestamp"/>
10175 <field name="complete_time" reporter:datatype="timestamp"/>
10176 <field name="run_time" reporter:datatype="timestamp"/>
10177 <field name="email" reporter:datatype="text"/>
10178 <field name="excel_format" reporter:datatype="bool"/>
10179 <field name="csv_format" reporter:datatype="bool"/>
10180 <field name="html_format" reporter:datatype="bool"/>
10181 <field name="error_code" reporter:datatype="int"/>
10182 <field name="error_text" reporter:datatype="text"/>
10183 <field name="report" reporter:datatype="link"/>
10184 <field name="folder" reporter:datatype="link"/>
10185 <field name="chart_pie" reporter:datatype="bool"/>
10186 <field name="chart_bar" reporter:datatype="bool"/>
10187 <field name="chart_line" reporter:datatype="bool"/>
10190 <link field="runner" reltype="has_a" key="id" map="" class="au"/>
10191 <link field="report" reltype="has_a" key="id" map="" class="rr"/>
10192 <link field="folder" reltype="has_a" key="id" map="" class="rof"/>
10195 <class id="rmsr" controller="open-ils.reporter-store open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="reporter::materialized_simple_record" oils_persist:tablename="reporter.materialized_simple_record" reporter:label="Fast Simple Record Extracts">
10196 <fields oils_persist:primary="id">
10197 <field reporter:label="Record ID" name="id" reporter:datatype="id" />
10198 <field reporter:label="Fingerprint" name="fingerprint" reporter:datatype="text"/>
10199 <field reporter:label="Overall Record Quality" name="quality" reporter:datatype="int"/>
10200 <field reporter:label="TCN Source" name="tcn_source" reporter:datatype="text"/>
10201 <field reporter:label="TCN Value" name="tcn_value" reporter:datatype="text"/>
10202 <field reporter:label="Title Proper (normalized)" name="title" reporter:datatype="text"/>
10203 <field reporter:label="Author (normalized)" name="author" reporter:datatype="text"/>
10204 <field reporter:label="Publisher (normalized)" name="publisher" reporter:datatype="text"/>
10205 <field reporter:label="Publication Year (normalized)" name="pubdate" reporter:datatype="int"/>
10206 <field reporter:label="ISBN" name="isbn" reporter:datatype="text"/>
10207 <field reporter:label="ISSN" name="issn" reporter:datatype="text"/>
10208 <field reporter:label="Full Bibliographic record" name="biblio_record" oils_persist:virtual="true" reporter:datatype="link"/>
10211 <link field="biblio_record" reltype="might_have" key="id" map="" class="bre"/>
10213 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
10219 <class id="rssr" controller="open-ils.reporter-store" oils_obj:fieldmapper="reporter::super_simple_record" oils_persist:tablename="reporter.super_simple_record" reporter:label="Simple Record Extracts">
10220 <fields oils_persist:primary="id">
10221 <field reporter:label="Record ID" name="id" reporter:datatype="id" />
10222 <field reporter:label="Fingerprint" name="fingerprint" reporter:datatype="text"/>
10223 <field reporter:label="Overall Record Quality" name="quality" reporter:datatype="int"/>
10224 <field reporter:label="TCN Source" name="tcn_source" reporter:datatype="text"/>
10225 <field reporter:label="TCN Value" name="tcn_value" reporter:datatype="text"/>
10226 <field reporter:label="Title Proper (normalized)" name="title" reporter:datatype="text"/>
10227 <field reporter:label="Author (normalized)" name="author" reporter:datatype="text"/>
10228 <field reporter:label="Publisher (normalized)" name="publisher" reporter:datatype="text"/>
10229 <field reporter:label="Publication Year (normalized)" name="pubdate" reporter:datatype="int"/>
10230 <field reporter:label="ISBN" name="isbn" reporter:datatype="text"/>
10231 <field reporter:label="ISSN" name="issn" reporter:datatype="text"/>
10232 <field reporter:label="Full Bibliographic record" name="biblio_record" oils_persist:virtual="true" reporter:datatype="link"/>
10235 <link field="biblio_record" reltype="might_have" key="id" map="" class="bre"/>
10238 <class id="rsr" controller="open-ils.reporter-store" oils_obj:fieldmapper="reporter::simple_record" oils_persist:tablename="reporter.simple_record" reporter:label="Simple Record">
10239 <fields oils_persist:primary="id">
10240 <field reporter:label="Record ID" name="id" reporter:datatype="id" />
10241 <field reporter:label="Metarecord" name="metarecord" reporter:datatype="link"/>
10242 <field reporter:label="Fingerprint" name="fingerprint" />
10243 <field reporter:label="Overall Record Quality" name="quality" reporter:datatype="int"/>
10244 <field reporter:label="TCN Source" name="tcn_source" reporter:datatype="text"/>
10245 <field reporter:label="TCN Value" name="tcn_value" reporter:datatype="text"/>
10246 <field reporter:label="Title Proper (normalized)" name="title" reporter:datatype="text"/>
10247 <field reporter:label="Uniform Title (normalized)" name="uniform_title" reporter:datatype="text"/>
10248 <field reporter:label="Author (normalized)" name="author" reporter:datatype="text"/>
10249 <field reporter:label="Publisher (normalized)" name="publisher" reporter:datatype="text"/>
10250 <field reporter:label="Publication Year (normalized)" name="pubdate" reporter:datatype="int"/>
10251 <field reporter:label="Series Title (normalized)" name="series_title" reporter:datatype="text"/>
10252 <field reporter:label="Series Statement (normalized)" name="series_statement" reporter:datatype="text"/>
10253 <field reporter:label="Summary (normalized)" name="summary" reporter:datatype="text"/>
10254 <field reporter:label="ISBN" name="isbn" reporter:datatype="text"/>
10255 <field reporter:label="ISSN" name="issn" reporter:datatype="text"/>
10256 <field reporter:label="Topic Subjects (normalized)" name="topic_subject" reporter:datatype="text"/>
10257 <field reporter:label="Geographic Subjects (normalized)" name="geographic_subject" reporter:datatype="text"/>
10258 <field reporter:label="Genres (normalized)" name="genre" reporter:datatype="text"/>
10259 <field reporter:label="Personal Name Subjects (normalized)" name="name_subject" reporter:datatype="text"/>
10260 <field reporter:label="Corporate Name Subjects (normalized)" name="corporate_subject" reporter:datatype="text"/>
10261 <field reporter:label="External URI List (normalized)" name="external_uri" reporter:datatype="text"/>
10262 <field reporter:label="Full Bibliographic record" name="biblio_record" oils_persist:virtual="true" reporter:datatype="link"/>
10265 <link field="metarecord" reltype="has_a" key="id" map="" class="mmr"/>
10266 <link field="biblio_record" reltype="might_have" key="id" map="" class="bre"/>
10269 <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">
10270 <fields oils_persist:primary="id">
10271 <field reporter:label="User ID" name="id" reporter:datatype="id" />
10272 <field reporter:label="Date of Birth" name="dob" reporter:datatype="timestamp"/>
10273 <field reporter:label="General Demographic Division" name="general_division" reporter:datatype="text"/>
10276 <link field="id" reltype="might_have" key="id" map="" class="au"/>
10279 <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">
10280 <fields oils_persist:primary="id">
10281 <field reporter:label="Circulation ID" name="id" reporter:datatype="id" />
10282 <field reporter:label="Circulation Type" name="type" reporter:datatype="text"/>
10285 <link field="id" reltype="might_have" key="id" map="" class="circ"/>
10288 <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">
10289 <fields oils_persist:primary="id">
10290 <field reporter:label="Hold ID" name="id" reporter:datatype="id" />
10291 <field reporter:label="Hold Target" name="target" reporter:datatype="int" />
10292 <field reporter:label="Hold Request Type" name="hold_type" reporter:datatype="text"/>
10293 <field reporter:label="Target Bib Record" name="bib_record" reporter:datatype="link"/>
10296 <link field="id" reltype="might_have" key="id" map="" class="ahr"/>
10297 <link field="bib_record" reltype="has_a" key="id" map="" class="bre"/>
10300 <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">
10301 <fields oils_persist:primary="xact">
10302 <field reporter:label="Transaction ID" name="xact" reporter:datatype="int" />
10303 <field reporter:label="Unvoided Billing Amount" name="unvoided" reporter:datatype="int" />
10304 <field reporter:label="Voided Billing Amount" name="voided" reporter:datatype="money"/>
10305 <field reporter:label="Total Billing Amount" name="total" reporter:datatype="money"/>
10308 <link field="xact" reltype="might_have" key="id" map="" class="mbt"/>
10311 <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">
10312 <fields oils_persist:primary="xact">
10313 <field reporter:label="Transaction ID" name="xact" reporter:datatype="int" />
10314 <field reporter:label="Unvoided Paid Amount" name="unvoided" reporter:datatype="int" />
10315 <field reporter:label="Voided (Returned) Paid Amount" name="voided" reporter:datatype="money"/>
10316 <field reporter:label="Total Paid Amount" name="total" reporter:datatype="money"/>
10319 <link field="xact" reltype="might_have" key="id" map="" class="mbt"/>
10322 <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)">
10323 <fields oils_persist:primary="id">
10324 <field reporter:label="Bib ID" name="id" reporter:datatype="id" />
10325 <field reporter:label="Update Time" name="holding_update" reporter:datatype="timestamp" />
10326 <field reporter:label="Update Type" name="update_type" reporter:datatype="text" />
10329 <link field="id" reltype="has_a" key="id" map="" class="bre"/>
10332 <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">
10333 <fields oils_persist:primary="id">
10334 <field reporter:label="Copy ID" name="id" reporter:datatype="int" />
10335 <field reporter:label="Total Circulation Count" name="circ_count" reporter:datatype="int" />
10338 <link field="id" reltype="has_a" key="id" map="" class="acp"/>
10341 <class id="erccpo" controller="open-ils.reporter-store" oils_obj:fieldmapper="extend_reporter::copy_count_per_org" oils_persist:tablename="extend_reporter.copy_count_per_org" reporter:label="Library Holdings Count with Deleted">
10342 <fields oils_persist:primary="bibid">
10343 <field reporter:label="Bib Record" name="bibid" reporter:datatype="id" />
10344 <field reporter:label="Circulation Library" name="circ_lib" reporter:datatype="link" />
10345 <field reporter:label="Owning Library" name="owning_lib" reporter:datatype="link" />
10346 <field reporter:label="Last Edit Date" name="last_edit_time" reporter:datatype="timestamp" />
10347 <field reporter:label="Has Only Deleted Copies 0/1" name="has_only_deleted_copies" reporter:datatype="int" />
10348 <field reporter:label="Total deleted copies" name="deleted_count" reporter:datatype="int" />
10349 <field reporter:label="Total visible copies" name="visible_count" reporter:datatype="int" />
10350 <field reporter:label="Total copies attached" name="total_count" reporter:datatype="int" />
10353 <link field="bibid" reltype="has_a" key="id" map="" class="bre"/>
10354 <link field="circ_lib" reltype="has_a" key="id" map="" class="aou"/>
10355 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
10358 <class id="acqdf" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="acq::distribution_formula" oils_persist:tablename="acq.distribution_formula" reporter:label="Distribution Formula">
10359 <fields oils_persist:primary="id" oils_persist:sequence="acq.distribution_formula_id_seq">
10360 <field reporter:label="Formula ID" name="id" reporter:datatype="id" reporter:selector="name" />
10361 <field reporter:label="Formula Owner" name="owner" reporter:datatype="org_unit"/>
10362 <field reporter:label="Formula Name" name="name" reporter:datatype="text"/>
10363 <field reporter:label="Skip Count" name="skip_count" reporter:datatype="int"/>
10364 <field reporter:label="Entries" name="entries" oils_persist:virtual="true" reporter:datatype="link"/>
10365 <field reporter:label="Use Count" name="use_count" oils_persist:virtual="true" reporter:datatype="int"/>
10368 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
10369 <link field="entries" reltype="has_many" key="formula" map="" class="acqdfe"/>
10371 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
10373 <create permission="ADMIN_ACQ_DISTRIB_FORMULA" context_field="owner"/>
10374 <retrieve permission="CREATE_PURCHASE_ORDER ADMIN_ACQ_DISTRIB_FORMULA" context_field="owner"/>
10375 <update permission="ADMIN_ACQ_DISTRIB_FORMULA" context_field="owner"/>
10376 <delete permission="ADMIN_ACQ_DISTRIB_FORMULA" context_field="owner"/>
10380 <class id="acqdfe" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="acq::distribution_formula_entry" oils_persist:tablename="acq.distribution_formula_entry" reporter:label="Distribution Formula Entry">
10381 <fields oils_persist:primary="id" oils_persist:sequence="acq.distribution_formula_entry_id_seq">
10382 <field reporter:label="Entry ID" name="id" reporter:datatype="id"/>
10383 <field reporter:label="Formula ID" name="formula" reporter:datatype="link"/>
10384 <field reporter:label="Position" name="position" reporter:datatype="int"/>
10385 <field reporter:label="Item Count" name="item_count" reporter:datatype="int"/>
10386 <field reporter:label="Owning Library" name="owning_lib" reporter:datatype="org_unit"/>
10387 <field reporter:label="Location" name="location" reporter:datatype="link"/>
10388 <field reporter:label="Fund" name="fund" reporter:datatype="link"/>
10389 <field reporter:label="Circulation Modifier" name="circ_modifier" reporter:datatype="link"/>
10390 <field reporter:label="Collection Code" name="collection_code" reporter:datatype="text"/>
10393 <link field="formula" reltype="has_a" key="id" map="" class="acqdf"/>
10394 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
10395 <link field="location" reltype="has_a" key="id" map="" class="acpl"/>
10396 <link field="fund" reltype="has_a" key="id" map="" class="acqf"/>
10397 <link field="circ_modifier" reltype="has_a" key="code" map="" class="ccm"/>
10399 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
10401 <create permission="ADMIN_ACQ_DISTRIB_FORMULA">
10402 <context link="formula" field="owner"/>
10404 <retrieve permission="ADMIN_ACQ_DISTRIB_FORMULA">
10405 <context link="formula" field="owner"/>
10407 <update permission="ADMIN_ACQ_DISTRIB_FORMULA">
10408 <context link="formula" field="owner"/>
10410 <delete permission="ADMIN_ACQ_DISTRIB_FORMULA">
10411 <context link="formula" field="owner"/>
10417 <class id="acqdfa" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="acq::distribution_formula_application" oils_persist:tablename="acq.distribution_formula_application" reporter:label="Distribution Formula Application">
10418 <fields oils_persist:primary="id" oils_persist:sequence="acq.distribution_formula_application_id_seq">
10419 <field reporter:label="ID" name="id" reporter:datatype="id"/>
10420 <field reporter:label="Creator" name="creator" reporter:datatype="link"/>
10421 <field reporter:label="Create Time" name="create_time" reporter:datatype="timestamp"/>
10422 <field reporter:label="Distribution Formula" name="formula" reporter:datatype="link"/>
10423 <field reporter:label="Lineitem" name="lineitem" reporter:datatype="link"/>
10426 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
10427 <link field="formula" reltype="has_a" key="id" map="" class="acqdf"/>
10428 <link field="lineitem" reltype="has_a" key="id" map="" class="jub"/>
10430 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
10432 <create permission="CREATE_PURCHASE_ORDER">
10433 <context link="formula" field="owner"/>
10435 <retrieve permission="CREATE_PURCHASE_ORDER">
10436 <context link="formula" field="owner"/>
10438 <update permission="CREATE_PURCHASE_ORDER">
10439 <context link="formula" field="owner"/>
10441 <delete permission="CREATE_PURCHASE_ORDER">
10442 <context link="formula" field="owner"/>
10448 <class id="acqda" controller="open-ils.cstore" oils_obj:fieldmapper="acq::debit_attribution" oils_persist:tablename="acq.debit_attribution" reporter:label="Debit Attribution">
10449 <fields oils_persist:primary="id">
10450 <field reporter:label="Debit Attribution ID" name="id" reporter:datatype="id"/>
10451 <field reporter:label="Fund Debit" name="fund_debit" reporter:datatype="link"/>
10452 <field reporter:label="Debit Amount" name="debit_amount" reporter:datatype="money"/>
10453 <field reporter:label="Funding Source Credit" name="funding_source_credit" reporter:datatype="link"/>
10454 <field reporter:label="Credit Amount" name="credit_amount" reporter:datatype="money"/>
10457 <link field="fund_debit" reltype="has_a" key="id" map="" class="acqfdeb"/>
10458 <link field="funding_source_credit" reltype="has_a" key="id" map="" class="acqfscred"/>
10462 <class id="acqclt" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="acq::claim_type" oils_persist:tablename="acq.claim_type" reporter:label="Claim Type">
10463 <fields oils_persist:primary="id" oils_persist:sequence="acq.claim_type_id_seq">
10464 <field reporter:label="Claim Type ID" name="id" reporter:datatype="id" reporter:selector="code" />
10465 <field reporter:label="Org Unit" name="org_unit" reporter:datatype="org_unit"/>
10466 <field reporter:label="Code" name="code" reporter:datatype="text"/>
10467 <field reporter:label="Description" name="description" reporter:datatype="text"/>
10470 <link field="org_unit" reltype="has_a" key="id" map="" class="aou"/>
10472 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
10474 <create permission="ADMIN_ACQ_CLAIM_TYPE" context_field="org_unit"/>
10475 <retrieve permission="ADMIN_ACQ_CLAIM_TYPE ADMIN_ACQ_CLAIM VIEW_CLAIM MANAGE_CLAIM" context_field="org_unit"/>
10476 <update permission="ADMIN_ACQ_CLAIM_TYPE" context_field="org_unit"/>
10477 <delete permission="ADMIN_ACQ_CLAIM_TYPE" context_field="org_unit"/>
10482 <class id="acqclet" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="acq::claim_event_type" oils_persist:tablename="acq.claim_event_type" reporter:label="Claim Event Type">
10483 <fields oils_persist:primary="id" oils_persist:sequence="acq.claim_event_type_id_seq">
10484 <field reporter:label="Claim Event Type ID" name="id" reporter:datatype="id" reporter:selector="code" />
10485 <field reporter:label="Org Unit" name="org_unit" reporter:datatype="org_unit"/>
10486 <field reporter:label="Code" name="code" reporter:datatype="text"/>
10487 <field reporter:label="Description" name="description" reporter:datatype="text"/>
10488 <field reporter:label="Library Initiated" name="library_initiated" reporter:datatype="bool"/>
10491 <link field="org_unit" reltype="has_a" key="id" map="" class="aou"/>
10493 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
10495 <create permission="ADMIN_ACQ_CLAIM_EVENT_TYPE" context_field="org_unit"/>
10496 <retrieve permission="ADMIN_ACQ_CLAIM_EVENT_TYPE ADMIN_ACQ_CLAIM VIEW_CLAIM MANAGE_CLAIM" context_field="org_unit"/>
10497 <update permission="ADMIN_ACQ_CLAIM_EVENT_TYPE" context_field="org_unit"/>
10498 <delete permission="ADMIN_ACQ_CLAIM_EVENT_TYPE" context_field="org_unit"/>
10503 <class id="acqcl" controller="open-ils.cstore" oils_obj:fieldmapper="acq::claim" oils_persist:tablename="acq.claim" reporter:label="Claim">
10504 <fields oils_persist:primary="id" oils_persist:sequence="acq.claim_id_seq">
10505 <field reporter:label="Claim ID" name="id" reporter:datatype="id"/>
10506 <field reporter:label="Claim Type" name="type" reporter:datatype="link"/>
10507 <field reporter:label="Lineitem Detail" name="lineitem_detail" reporter:datatype="link"/>
10510 <link field="type" reltype="has_a" key="id" map="" class="acqclt"/>
10511 <link field="lineitem_detail" reltype="has_a" key="id" map="" class="acqlid"/>
10515 <class id="acqcle" controller="open-ils.cstore" oils_obj:fieldmapper="acq::claim_event" oils_persist:tablename="acq.claim_event" reporter:label="Claim Event">
10516 <fields oils_persist:primary="id" oils_persist:sequence="acq.claim_event_id_seq">
10517 <field reporter:label="Claim Event ID" name="id" reporter:datatype="id"/>
10518 <field reporter:label="Claim Event Type" name="type" reporter:datatype="link"/>
10519 <field reporter:label="Claim ID" name="claim" reporter:datatype="link"/>
10520 <field reporter:label="Event Date" name="event_date" reporter:datatype="timestamp"/>
10521 <field reporter:label="Creator" name="creator" reporter:datatype="link"/>
10522 <field reporter:label="Note" name="note" reporter:datatype="text"/>
10525 <link field="type" reltype="has_a" key="id" map="" class="acqclet"/>
10526 <link field="claim" reltype="has_a" key="id" map="" class="acqcl"/>
10527 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
10531 <class id="acqscl" controller="open-ils.cstore" oils_obj:fieldmapper="acq::serial_claim" oils_persist:tablename="acq.serial_claim" reporter:label="Serial Claim">
10532 <fields oils_persist:primary="id" oils_persist:sequence="acq.serial_claim_id_seq">
10533 <field reporter:label="Claim ID" name="id" reporter:datatype="id"/>
10534 <field reporter:label="Claim Type" name="type" reporter:datatype="link"/>
10535 <field reporter:label="Serial Item" name="item" reporter:datatype="link"/>
10538 <link field="type" reltype="has_a" key="id" map="" class="acqclt"/>
10539 <link field="item" reltype="has_a" key="id" map="" class="sitem"/>
10543 <class id="acqscle" controller="open-ils.cstore" oils_obj:fieldmapper="acq::serial_claim_event" oils_persist:tablename="acq.serial_claim_event" reporter:label="Serial Claim Event">
10544 <fields oils_persist:primary="id" oils_persist:sequence="acq.serial_claim_event_id_seq">
10545 <field reporter:label="Claim Event ID" name="id" reporter:datatype="id"/>
10546 <field reporter:label="Claim Event Type" name="type" reporter:datatype="link"/>
10547 <field reporter:label="Claim ID" name="claim" reporter:datatype="link"/>
10548 <field reporter:label="Event Date" name="event_date" reporter:datatype="timestamp"/>
10549 <field reporter:label="Creator" name="creator" reporter:datatype="link"/>
10550 <field reporter:label="Note" name="note" reporter:datatype="text"/>
10553 <link field="type" reltype="has_a" key="id" map="" class="acqclet"/>
10554 <link field="claim" reltype="has_a" key="id" map="" class="acqscl"/>
10555 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
10559 <class id="acqclp" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="acq::claim_policy" oils_persist:tablename="acq.claim_policy" reporter:label="Claim Policy">
10560 <fields oils_persist:primary="id" oils_persist:sequence="acq.claim_policy_id_seq">
10561 <field reporter:label="ID" name="id" reporter:datatype="id" reporter:selector="name"/>
10562 <field reporter:label="Org Unit" name="org_unit" reporter:datatype="org_unit"/>
10563 <field reporter:label="Claim Policy Name" name="name" reporter:datatype="text"/>
10564 <field reporter:label="Description" name="description" reporter:datatype="text"/>
10567 <link field="org_unit" reltype="has_a" key="id" map="" class="aou"/>
10569 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
10571 <create permission="ADMIN_CLAIM_POLICY" context_field="org_unit"/>
10572 <retrieve permission="ADMIN_CLAIM_POLICY VIEW_PROVIDER" context_field="org_unit"/>
10573 <update permission="ADMIN_CLAIM_POLICY" context_field="org_unit"/>
10574 <delete permission="ADMIN_CLAIM_POLICY" context_field="org_unit"/>
10579 <class id="acqclpa" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="acq::claim_policy_action" oils_persist:tablename="acq.claim_policy_action" reporter:label="Claim Policy Action">
10580 <fields oils_persist:primary="id" oils_persist:sequence="acq.claim_policy_action_id_seq">
10581 <field reporter:label="ID" name="id" reporter:datatype="id" reporter:selector="action"/>
10582 <field reporter:label="Claim Policy ID" name="claim_policy" reporter:datatype="link"/>
10583 <field reporter:label="Action Interval" name="action_interval" reporter:datatype="interval"/>
10584 <field reporter:label="Action (Event Type)" name="action" reporter:datatype="link"/>
10587 <link field="claim_policy" reltype="has_a" key="id" map="" class="acqclp"/>
10588 <link field="action" reltype="has_a" key="id" map="" class="acqclet"/>
10590 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
10592 <create permission="ADMIN_CLAIM_POLICY">
10593 <context link="claim_policy" field="org_unit"/>
10595 <retrieve permission="ADMIN_CLAIM_POLICY VIEW_PROVIDER">
10596 <context link="claim_policy" field="org_unit"/>
10598 <update permission="ADMIN_CLAIM_POLICY">
10599 <context link="claim_policy" field="org_unit"/>
10601 <delete permission="ADMIN_CLAIM_POLICY">
10602 <context link="claim_policy" field="org_unit"/>
10608 <class id="stgu" controller="open-ils.cstore" oils_obj:fieldmapper="staging::user_stage" oils_persist:tablename="staging.user_stage" reporter:label="User Stage">
10609 <fields oils_persist:primary="row_id" oils_persist:sequence="staging.user_stage_row_id_seq">
10610 <field reporter:label="Row ID" name="row_id" reporter:datatype="id"/>
10611 <field reporter:label="Create Date" name="row_date" reporter:datatype="timestamp"/>
10612 <field reporter:label="User Name" name="usrname" reporter:datatype="text"/>
10613 <field reporter:label="Main (Profile) Permission Group" name="profile" reporter:datatype="text"/>
10614 <field reporter:label="Email Address" name="email" reporter:datatype="text"/>
10615 <field reporter:label="Password" name="passwd" reporter:datatype="text"/>
10616 <field reporter:label="Primary Identification Type" name="ident_type" reporter:datatype="int"/>
10617 <field reporter:label="First Name" name="first_given_name" reporter:datatype="text"/>
10618 <field reporter:label="Middle Name" name="second_given_name" reporter:datatype="text"/>
10619 <field reporter:label="Last Name" name="family_name" reporter:datatype="text"/>
10620 <field reporter:label="Daytime Phone" name="day_phone" reporter:datatype="text"/>
10621 <field reporter:label="Evening Phone" name="evening_phone" reporter:datatype="text"/>
10622 <field reporter:label="Home Library" name="home_ou" reporter:datatype="int"/>
10623 <field reporter:label="Date of Birth" name="dob" reporter:datatype="text"/>
10624 <field reporter:label="Complete" name="complete" reporter:datatype="bool"/>
10625 <field reporter:label="Requesting User" name="requesting_usr" reporter:datatype="link"/>
10626 <field reporter:label="Preferred First Name" name="pref_first_given_name" reporter:datatype="text"/>
10627 <field reporter:label="Preferred Middle Name" name="pref_second_given_name" reporter:datatype="text"/>
10628 <field reporter:label="Preferred Last Name" name="pref_family_name" reporter:datatype="text"/>
10631 <link field="requesting_usr" reltype="has_a" key="id" map="" class="au"/>
10635 <class id="stgc" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="staging::card_stage" oils_persist:tablename="staging.card_stage" reporter:label="Card Stage">
10636 <fields oils_persist:primary="row_id" oils_persist:sequence="staging.card_stage_row_id_seq">
10637 <field reporter:label="Row ID" name="row_id" reporter:datatype="id"/>
10638 <field reporter:label="Row Date" name="row_date" reporter:datatype="timestamp"/>
10639 <field reporter:label="User Name" name="usrname" reporter:datatype="text"/>
10640 <field reporter:label="Barcode" name="barcode" reporter:datatype="text"/>
10641 <field reporter:label="Complete" name="complete" reporter:datatype="bool"/>
10645 <class id="stgma" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="staging::mailing_address_stage" oils_persist:tablename="staging.mailing_address_stage" reporter:label="Mailing Address Stage">
10646 <fields oils_persist:primary="row_id" oils_persist:sequence="staging.mailing_address_stage_row_id_seq">
10647 <field reporter:label="Row ID" name="row_id" reporter:datatype="id"/>
10648 <field reporter:label="Row Date" name="row_date" reporter:datatype="timestamp"/>
10649 <field reporter:label="User Name" name="usrname" reporter:datatype="text"/>
10650 <field reporter:label="Street (1)" name="street1" reporter:datatype="text"/>
10651 <field reporter:label="Street (2)" name="street2" reporter:datatype="text"/>
10652 <field reporter:label="City" name="city" reporter:datatype="text"/>
10653 <field reporter:label="County" name="county" reporter:datatype="text"/>
10654 <field reporter:label="State" name="state" reporter:datatype="text"/>
10655 <field reporter:label="Country" name="country" reporter:datatype="text"/>
10656 <field reporter:label="Postal Code" name="post_code" reporter:datatype="text"/>
10657 <field reporter:label="Complete" name="complete" reporter:datatype="bool"/>
10661 <class id="stgba" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="staging::billing_address_stage" oils_persist:tablename="staging.billing_address_stage" reporter:label="Billing Address Stage">
10662 <fields oils_persist:primary="row_id" oils_persist:sequence="staging.mailing_address_stage_row_id_seq">
10663 <field reporter:label="Row ID" name="row_id" reporter:datatype="id"/>
10664 <field reporter:label="Row Date" name="row_date" reporter:datatype="timestamp"/>
10665 <field reporter:label="User Name" name="usrname" reporter:datatype="text"/>
10666 <field reporter:label="Street (1)" name="street1" reporter:datatype="text"/>
10667 <field reporter:label="Street (2)" name="street2" reporter:datatype="text"/>
10668 <field reporter:label="City" name="city" reporter:datatype="text"/>
10669 <field reporter:label="County" name="county" reporter:datatype="text"/>
10670 <field reporter:label="State" name="state" reporter:datatype="text"/>
10671 <field reporter:label="Country" name="country" reporter:datatype="text"/>
10672 <field reporter:label="Postal Code" name="post_code" reporter:datatype="text"/>
10673 <field reporter:label="Complete" name="complete" reporter:datatype="bool"/>
10677 <class id="stgsc" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="staging::statcat_stage" oils_persist:tablename="staging.statcat_stage" reporter:label="Statistical Category Stage">
10678 <fields oils_persist:primary="row_id" oils_persist:sequence="staging.statcat_stage_row_id_seq">
10679 <field reporter:label="Row ID" name="row_id" reporter:datatype="id"/>
10680 <field reporter:label="Row Date" name="row_date" reporter:datatype="timestamp"/>
10681 <field reporter:label="User Name" name="usrname" reporter:datatype="text"/>
10682 <field reporter:label="Stat Cat ID" name="statcat" reporter:datatype="text"/>
10683 <field reporter:label="Stat Cat Value" name="value" reporter:datatype="text"/>
10684 <field reporter:label="Complete" name="complete" reporter:datatype="bool"/>
10688 <class id="stgs" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="staging::setting_stage" oils_persist:tablename="staging.setting_stage" reporter:label="User Setting Stage">
10689 <fields oils_persist:primary="row_id" oils_persist:sequence="staging.setting_stage_row_id_seq">
10690 <field reporter:label="Row ID" name="row_id" reporter:datatype="id"/>
10691 <field reporter:label="Row Date" name="row_date" reporter:datatype="timestamp"/>
10692 <field reporter:label="User Name" name="usrname" reporter:datatype="text"/>
10693 <field reporter:label="User Setting Code" name="setting" reporter:datatype="text"/>
10694 <field reporter:label="User Setting Value" name="value" reporter:datatype="text"/>
10695 <field reporter:label="Complete" name="complete" reporter:datatype="bool"/>
10699 <class id="afsg" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="action::fieldset_group" oils_persist:tablename="action.fieldset_group" reporter:label="Fieldset Group">
10700 <fields oils_persist:primary="id" oils_persist:sequence="action.fieldset_group_id_seq">
10701 <field reporter:label="Fieldset Group ID" name="id" reporter:datatype="id"/>
10702 <field reporter:label="Fieldset Group Name" name="name" reporter:datatype="text" oils_obj:required="true"/>
10703 <field reporter:label="Creation Time" name="create_time" reporter:datatype="timestamp"/>
10704 <field reporter:label="Complete Time" name="complete_time" reporter:datatype="timestamp"/>
10705 <field reporter:label="Container ID" name="container" reporter:datatype="int" oils_obj:required="true"/> <!-- not an fkey because could be on multiple tables -->
10706 <field reporter:label="Container Type" name="container_type" reporter:datatype="text" oils_obj:required="true"/>
10707 <field reporter:label="Rollback Group" name="rollback_group" reporter:datatype="link"/>
10708 <field reporter:label="Rollback Time" name="rollback_time" reporter:datatype="timestamp"/>
10709 <field reporter:label="Creator" name="creator" reporter:datatype="link"/>
10710 <field reporter:label="Owning Library" name="owning_lib" reporter:datatype="org_unit"/>
10713 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
10714 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
10715 <link field="rollback_group" reltype="has_a" key="id" map="" class="afsg"/>
10717 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
10719 <create permission="CREATE_FIELDSET_GROUP ADMIN_FIELDSET_GROUP" context_field="owning_lib" owning_user="creator"/>
10720 <retrieve permission="RETRIEVE_FIELDSET_GROUP ADMIN_FIELDSET_GROUP" context_field="owning_lib" owning_user="creator"/>
10721 <update permission="UPDATE_FIELDSET_GROUP ADMIN_FIELDSET_GROUP" context_field="owning_lib" owning_user="creator"/>
10722 <delete permission="DELETE_FIELDSET_GROUP ADMIN_FIELDSET_GROUP" context_field="owning_lib" owning_user="creator"/>
10727 <class id="afs" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="action::fieldset" oils_persist:tablename="action.fieldset" reporter:label="Fieldset">
10728 <fields oils_persist:primary="id" oils_persist:sequence="action.fieldset_id_seq">
10729 <field reporter:label="Fieldset ID" name="id" reporter:datatype="id"/>
10730 <field reporter:label="Owner" name="owner" reporter:datatype="link"/>
10731 <field reporter:label="Owning Library" name="owning_lib" reporter:datatype="link"/>
10732 <field reporter:label="Status" name="status" reporter:datatype="text"/>
10733 <field reporter:label="Creation Time" name="creation_time" reporter:datatype="timestamp"/>
10734 <field reporter:label="Scheduled Time" name="scheduled_time" reporter:datatype="timestamp"/>
10735 <field reporter:label="Applied Time" name="applied_time" reporter:datatype="timestamp"/>
10736 <field reporter:label="Class Name" name="classname" reporter:datatype="text"/>
10737 <field reporter:label="Fieldset Name" name="name" reporter:datatype="text"/>
10738 <field reporter:label="Stored Query" name="stored_query" reporter:datatype="link"/>
10739 <field reporter:label="Primary Key Value" name="pkey_value" reporter:datatype="text"/>
10740 <field reporter:label="Fieldset Group" name="fieldset_group" reporter:datatype="link"/>
10741 <field reporter:label="Error Message" name="error_msg" reporter:datatype="text"/>
10744 <link field="owner" reltype="has_a" key="id" map="" class="au"/>
10745 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
10746 <link field="stored_query" reltype="has_a" key="id" map="" class="qsq"/>
10747 <link field="fieldset_group" reltype="has_a" key="id" map="" class="afsg"/>
10749 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
10751 <create permission="CREATE_FIELDSET ADMIN_FIELDSET" context_field="owning_lib" owning_user="owner"/>
10752 <retrieve permission="RETRIEVE_FIELDSET ADMIN_FIELDSET" context_field="owning_lib" owning_user="owner"/>
10753 <update permission="UPDATE_FIELDSET ADMIN_FIELDSET" context_field="owning_lib" owning_user="owner"/>
10754 <delete permission="DELETE_FIELDSET ADMIN_FIELDSET" context_field="owning_lib" owning_user="owner"/>
10759 <class id="afscv" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="action::fieldset_col_val" oils_persist:tablename="action.fieldset_col_val" reporter:label="Fieldset Column Value">
10760 <fields oils_persist:primary="id" oils_persist:sequence="action.fieldset_col_val_id_seq">
10761 <field reporter:label="Column Value ID" name="id" reporter:datatype="id"/>
10762 <field reporter:label="Fieldset ID" name="fieldset" reporter:datatype="link"/>
10763 <field reporter:label="Column Name" name="col" reporter:datatype="text"/>
10764 <field reporter:label="Column Value" name="val" reporter:datatype="text"/>
10767 <link field="fieldset" reltype="has_a" key="id" map="" class="afs"/>
10769 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1"> <!-- NOTE: foreign context does not support owning_user today -->
10771 <create permission="CREATE_FIELDSET_ENTRY ADMIN_FIELDSET_ENTRY">
10772 <context link="fieldset" field="owning_lib"/>
10774 <retrieve permission="RETRIEVE_FIELDSET_ENTRY ADMIN_FIELDSET_ENTRY">
10775 <context link="fieldset" field="owning_lib"/>
10777 <update permission="UPDATE_FIELDSET_ENTRY ADMIN_FIELDSET_ENTRY">
10778 <context link="fieldset" field="owning_lib"/>
10780 <delete permission="DELETE_FIELDSET_ENTRY ADMIN_FIELDSET_ENTRY">
10781 <context link="fieldset" field="owning_lib"/>
10787 <class id="aufhl" controller="open-ils.cstore" oils_obj:fieldmapper="action::unfulfilled_hold_loops" oils_persist:tablename="action.unfulfilled_hold_loops" oils_persist:readonly="true">
10789 <field reporter:label="Hold ID" name="hold" reporter:datatype="link"/>
10790 <field reporter:label="Circulating Library" name="circ_lib" reporter:datatype="link"/>
10791 <field reporter:label="Loop Count" name="count" reporter:datatype="int"/>
10794 <link field="hold" reltype="has_a" key="id" map="" class="ahr"/>
10795 <link field="circ_lib" reltype="has_a" key="id" map="" class="aou"/>
10799 <class id="aufhml" controller="open-ils.cstore" oils_obj:fieldmapper="action::unfulfilled_hold_min_loop" oils_persist:tablename="action.unfulfilled_hold_min_loop" oils_persist:readonly="true">
10801 <field reporter:label="Hold ID" name="hold" reporter:datatype="link"/>
10802 <field reporter:label="Min Loop" name="min" reporter:datatype="int"/>
10805 <link field="hold" reltype="has_a" key="id" map="" class="ahr"/>
10809 <class id="aufhil" controller="open-ils.cstore" oils_obj:fieldmapper="action::unfulfilled_hold_innermost_loop" oils_persist:tablename="action.unfulfilled_hold_innermost_loop" oils_persist:readonly="true">
10811 <field reporter:label="Hold ID" name="hold" reporter:datatype="link"/>
10812 <field reporter:label="Circulating Library" name="circ_lib" reporter:datatype="link"/>
10813 <field reporter:label="Loop Count" name="count" reporter:datatype="int"/>
10816 <link field="hold" reltype="has_a" key="id" map="" class="ahr"/>
10817 <link field="circ_lib" reltype="has_a" key="id" map="" class="aou"/>
10821 <class id="aufhmxl" controller="open-ils.cstore" oils_obj:fieldmapper="action::unfulfilled_hold_max_loop" oils_persist:tablename="action.unfulfilled_hold_max_loop" oils_persist:readonly="true">
10823 <field reporter:label="Hold ID" name="hold" reporter:datatype="link"/>
10824 <field reporter:label="Max Loop" name="max" reporter:datatype="int"/>
10827 <link field="hold" reltype="has_a" key="id" map="" class="ahr"/>
10831 <class id="aufhol" controller="open-ils.cstore" oils_obj:fieldmapper="action::unfulfilled_hold_outermost_loop" oils_persist:readonly="true">
10832 <oils_persist:source_definition><![CDATA[
10834 SELECT DISTINCT l.*
10835 FROM action.unfulfilled_hold_loops l
10836 JOIN action.unfulfilled_hold_max_loop m USING (hold)
10837 WHERE l.count = m.max
10839 ]]></oils_persist:source_definition>
10841 <field reporter:label="Hold ID" name="hold" reporter:datatype="link"/>
10842 <field reporter:label="Circulating Library" name="circ_lib" reporter:datatype="link"/>
10843 <field reporter:label="Loop Count" name="count" reporter:datatype="int"/>
10846 <link field="hold" reltype="has_a" key="id" map="" class="ahr"/>
10847 <link field="circ_lib" reltype="has_a" key="id" map="" class="aou"/>
10851 <class id="qsq" controller="open-ils.cstore" oils_obj:fieldmapper="query::stored_query" oils_persist:tablename="query.stored_query" reporter:label="Stored Query">
10852 <fields oils_persist:primary="id" oils_persist:sequence="query.stored_query_id_seq">
10853 <field reporter:label="Query ID" name="id" reporter:datatype="id"/>
10854 <field reporter:label="Query type" name="type" reporter:datatype="text"/>
10855 <field reporter:label="Use ALL" name="use_all" reporter:datatype="bool"/>
10856 <field reporter:label="Use DISTINCT" name="use_distinct" reporter:datatype="bool"/>
10857 <field reporter:label="FROM Clause" name="from_clause" reporter:datatype="link"/>
10858 <field reporter:label="WHERE Clause" name="where_clause" reporter:datatype="link"/>
10859 <field reporter:label="HAVING Clause" name="having_clause" reporter:datatype="link"/>
10860 <field reporter:label="LIMIT count" name="limit_count" reporter:datatype="link"/>
10861 <field reporter:label="OFFSET count" name="offset_count" reporter:datatype="link"/>
10864 <link field="from_clause" reltype="has_a" key="id" map="" class="qfr"/>
10865 <link field="having_clause" reltype="has_a" key="id" map="" class="qxp"/>
10866 <link field="where_clause" reltype="has_a" key="id" map="" class="qxp"/>
10867 <link field="limit_count" reltype="has_a" key="id" map="" class="qxp"/>
10868 <link field="offset_count" reltype="has_a" key="id" map="" class="qxp"/>
10872 <class id="qseq" controller="open-ils.cstore" oils_obj:fieldmapper="query::query_sequence" oils_persist:tablename="query.query_sequence" reporter:label="Query Sequence">
10873 <fields oils_persist:primary="id" oils_persist:sequence="query.query_sequence_id_seq">
10874 <field reporter:label="Query Seq ID" name="id" reporter:datatype="id"/>
10875 <field reporter:label="Parent Query" name="parent_query" reporter:datatype="link"/>
10876 <field reporter:label="Sequence Number" name="seq_no" reporter:datatype="int"/>
10877 <field reporter:label="Child Query" name="child_query" reporter:datatype="link"/>
10880 <link field="parent_query" reltype="has_a" key="id" map="" class="qsq"/>
10881 <link field="child_query" reltype="has_a" key="id" map="" class="qsq"/>
10885 <class id="qdt" controller="open-ils.cstore" oils_obj:fieldmapper="query::datatype" oils_persist:tablename="query.datatype" reporter:label="Datatype">
10886 <fields oils_persist:primary="id" oils_persist:sequence="query.datatype_id_seq">
10887 <field reporter:label="Datatype ID" name="id" reporter:datatype="id"/>
10888 <field reporter:label="Datatype Name" name="datatype_name" reporter:datatype="text"/>
10889 <field reporter:label="Is Numeric" name="is_numeric" reporter:datatype="bool"/>
10890 <field reporter:label="Is Composite" name="is_composite" reporter:datatype="bool"/>
10896 <class id="qsf" controller="open-ils.cstore" oils_obj:fieldmapper="query::subfield" oils_persist:tablename="query.subfield" reporter:label="Subfield">
10897 <fields oils_persist:primary="id" oils_persist:sequence="query.subfield_id_seq">
10898 <field reporter:label="Subfield ID" name="id" reporter:datatype="id"/>
10899 <field reporter:label="Composite Type" name="composite_type" reporter:datatype="link"/>
10900 <field reporter:label="Sequence Number" name="seq_no" reporter:datatype="int"/>
10901 <field reporter:label="Subfield Type" name="subfield_type" reporter:datatype="link"/>
10904 <link field="composite_type" reltype="has_a" key="id" map="" class="qdt"/>
10905 <link field="subfield_type" reltype="has_a" key="id" map="" class="qdt"/>
10909 <class id="qfs" controller="open-ils.cstore" oils_obj:fieldmapper="query::function_sig" oils_persist:tablename="query.function_sig" reporter:label="Function Signature">
10910 <fields oils_persist:primary="id" oils_persist:sequence="query.function_sig_id_seq">
10911 <field reporter:label="Function Signature ID" name="id" reporter:datatype="id"/>
10912 <field reporter:label="Function Name" name="function_name" reporter:datatype="text"/>
10913 <field reporter:label="Return Type" name="return_type" reporter:datatype="link"/>
10914 <field reporter:label="Is Aggregate" name="is_aggregate" reporter:datatype="bool"/>
10917 <link field="return_type" reltype="has_a" key="id" map="" class="qdt"/>
10921 <class id="qfpd" controller="open-ils.cstore" oils_obj:fieldmapper="query::function_param_def" oils_persist:tablename="query.function_param_def" reporter:label="Function Parameter Definition">
10922 <fields oils_persist:primary="id" oils_persist:sequence="query.function_param_def_id_seq">
10923 <field reporter:label="Function Param Def ID" name="id" reporter:datatype="id"/>
10924 <field reporter:label="Function ID" name="function_id" reporter:datatype="link"/>
10925 <field reporter:label="Sequence Number" name="seq_no" reporter:datatype="int"/>
10926 <field reporter:label="Datatype" name="datatype" reporter:datatype="link"/>
10929 <link field="function_id" reltype="has_a" key="id" map="" class="qfs"/>
10930 <link field="datatype" reltype="has_a" key="id" map="" class="qdt"/>
10934 <class id="qbv" controller="open-ils.cstore" oils_obj:fieldmapper="query::bind_variable" oils_persist:tablename="query.bind_variable" reporter:label="Bind Variable">
10935 <fields oils_persist:primary="name">
10936 <field reporter:label="Name" name="name" reporter:datatype="id"/>
10937 <field reporter:label="Label" name="label" reporter:datatype="text" oils_persist:i18n="true"/>
10938 <field reporter:label="Type" name="type" reporter:datatype="text"/>
10939 <field reporter:label="Description" name="description" reporter:datatype="text"/>
10940 <field reporter:label="Default Value" name="default_value" reporter:datatype="text"/>
10941 <field reporter:label="Actual Value" name="actual_value" oils_persist:virtual="true" reporter:datatype="text"/>
10947 <class id="qxp" controller="open-ils.cstore" oils_obj:fieldmapper="query::expression" oils_persist:tablename="query.expression" reporter:label="Expression">
10948 <fields oils_persist:primary="id" oils_persist:sequence="query.expression_id_seq">
10949 <field reporter:label="Expression ID" name="id" reporter:datatype="id"/>
10950 <field reporter:label="Expression Type" name="type" reporter:datatype="text"/>
10951 <field reporter:label="Is Parenthesized" name="parenthesize" reporter:datatype="bool"/>
10952 <field reporter:label="Parent Expression" name="parent_expr" reporter:datatype="link"/>
10953 <field reporter:label="Sequence Number" name="seq_no" reporter:datatype="int"/>
10954 <field reporter:label="Literal" name="literal" reporter:datatype="text"/>
10955 <field reporter:label="Table Alias" name="table_alias" reporter:datatype="text"/>
10956 <field reporter:label="Column Name" name="column_name" reporter:datatype="text"/>
10957 <field reporter:label="Left Operand" name="left_operand" reporter:datatype="link"/>
10958 <field reporter:label="Operator" name="operator" reporter:datatype="text"/>
10959 <field reporter:label="Right Operand" name="right_operand" reporter:datatype="link"/>
10960 <field reporter:label="Function ID" name="function_id" reporter:datatype="link"/>
10961 <field reporter:label="Subquery" name="subquery" reporter:datatype="link"/>
10962 <field reporter:label="Cast Type" name="cast_type" reporter:datatype="link"/>
10963 <field reporter:label="Negate?" name="negate" reporter:datatype="bool"/>
10964 <field reporter:label="Bind Variable" name="bind_variable" reporter:datatype="link"/>
10967 <link field="parent_expr" reltype="has_a" key="id" map="" class="qxp"/>
10968 <link field="left_operand" reltype="has_a" key="id" map="" class="qxp"/>
10969 <link field="right_operand" reltype="has_a" key="id" map="" class="qxp"/>
10970 <link field="function_id" reltype="has_a" key="id" map="" class="qfs"/>
10971 <link field="subquery" reltype="has_a" key="id" map="" class="qsq"/>
10972 <link field="cast_type" reltype="has_a" key="id" map="" class="qdt"/>
10973 <link field="bind_variable" reltype="has_a" key="name" map="" class="qbv"/>
10977 <class id="qcb" controller="open-ils.cstore" oils_obj:fieldmapper="query::case_branch" oils_persist:tablename="query.case_branch" reporter:label="Case Branch">
10978 <fields oils_persist:primary="id" oils_persist:sequence="query.case_branch_id_seq">
10979 <field reporter:label="Case Branch ID" name="id" reporter:datatype="id"/>
10980 <field reporter:label="Parent Expression" name="parent_expr" reporter:datatype="link"/>
10981 <field reporter:label="Sequence Number" name="seq_no" reporter:datatype="int"/>
10982 <field reporter:label="Condition" name="condition" reporter:datatype="link"/>
10983 <field reporter:label="Result" name="result" reporter:datatype="link"/>
10986 <link field="parent_expr" reltype="has_a" key="id" map="" class="qxp"/>
10987 <link field="condition" reltype="has_a" key="id" map="" class="qxp"/>
10988 <link field="result" reltype="has_a" key="id" map="" class="qxp"/>
10992 <class id="qfr" controller="open-ils.cstore" oils_obj:fieldmapper="query::from_relation" oils_persist:tablename="query.from_relation" reporter:label="From Relation">
10993 <fields oils_persist:primary="id" oils_persist:sequence="query.from_relation_id_seq">
10994 <field reporter:label="From Relation ID" name="id" reporter:datatype="id"/>
10995 <field reporter:label="From Relation Type" name="type" reporter:datatype="text"/>
10996 <field reporter:label="Table Name" name="table_name" reporter:datatype="text"/>
10997 <field reporter:label="Class Name" name="class_name" reporter:datatype="text"/>
10998 <field reporter:label="Subquery ID" name="subquery" reporter:datatype="link"/>
10999 <field reporter:label="Function Call ID" name="function_call" reporter:datatype="link"/>
11000 <field reporter:label="Table Alias" name="table_alias" reporter:datatype="text"/>
11001 <field reporter:label="Parent Relation ID" name="parent_relation" reporter:datatype="link"/>
11002 <field reporter:label="Sequence Number" name="seq_no" reporter:datatype="int"/>
11003 <field reporter:label="Join Type" name="join_type" reporter:datatype="text"/>
11004 <field reporter:label="On Clause ID" name="on_clause" reporter:datatype="link"/>
11007 <link field="subquery" reltype="has_a" key="id" map="" class="qsq"/>
11008 <link field="function_call" reltype="has_a" key="id" map="" class="qxp"/>
11009 <link field="parent_relation" reltype="has_a" key="id" map="" class="qfr"/>
11010 <link field="on_clause" reltype="has_a" key="id" map="" class="qxp"/>
11014 <class id="qrc" controller="open-ils.cstore" oils_obj:fieldmapper="query::record_column" oils_persist:tablename="query.record_column" reporter:label="Record Column">
11015 <fields oils_persist:primary="id" oils_persist:sequence="query.record_column_id_seq">
11016 <field reporter:label="Record Column ID" name="id" reporter:datatype="id"/>
11017 <field reporter:label="From Relation ID" name="from_relation" reporter:datatype="link"/>
11018 <field reporter:label="Sequence Number" name="seq_no" reporter:datatype="int"/>
11019 <field reporter:label="Column Name" name="column_name" reporter:datatype="text"/>
11020 <field reporter:label="Column Type" name="column_type" reporter:datatype="link"/>
11023 <link field="from_relation" reltype="has_a" key="id" map="" class="qfr"/>
11024 <link field="column_type" reltype="has_a" key="id" map="" class="qdt"/>
11028 <class id="qsi" controller="open-ils.cstore" oils_obj:fieldmapper="query::select_item" oils_persist:tablename="query.select_item" reporter:label="Select Item">
11029 <fields oils_persist:primary="id" oils_persist:sequence="query.select_item_id_seq">
11030 <field reporter:label="Select Item ID" name="id" reporter:datatype="id"/>
11031 <field reporter:label="Stored Query ID" name="stored_query" reporter:datatype="link"/>
11032 <field reporter:label="Sequence Number" name="seq_no" reporter:datatype="int"/>
11033 <field reporter:label="Expression" name="expression" reporter:datatype="link"/>
11034 <field reporter:label="Column Alias" name="column_alias" reporter:datatype="text"/>
11035 <field reporter:label="Is Grouped By" name="grouped_by" reporter:datatype="bool"/>
11038 <link field="stored_query" reltype="has_a" key="id" map="" class="qsq"/>
11039 <link field="expression" reltype="has_a" key="id" map="" class="qxp"/>
11043 <class id="qobi" controller="open-ils.cstore" oils_obj:fieldmapper="query::order_by_item" oils_persist:tablename="query.order_by_item" reporter:label="Order By Item">
11044 <fields oils_persist:primary="id" oils_persist:sequence="query.order_by_item_id_seq">
11045 <field reporter:label="Order By Item ID" name="id" reporter:datatype="id"/>
11046 <field reporter:label="Stored Query ID" name="stored_query" reporter:datatype="link"/>
11047 <field reporter:label="Sequence Number" name="seq_no" reporter:datatype="int"/>
11048 <field reporter:label="Expression" name="expression" reporter:datatype="link"/>
11051 <link field="stored_query" reltype="has_a" key="id" map="" class="qsq"/>
11052 <link field="expression" reltype="has_a" key="id" map="" class="qxp"/>
11056 <class id="xbet" controller="open-ils.cstore" oils_obj:fieldmapper="query::expr_xbet" oils_persist:tablename="query.expr_xbet" reporter:label="Between Expression">
11057 <fields oils_persist:primary="id" oils_persist:sequence="query.expression_id_seq">
11058 <field reporter:label="Expression ID" name="id" reporter:datatype="id"/>
11059 <field reporter:label="Is Parenthesized" name="parenthesize" reporter:datatype="bool"/>
11060 <field reporter:label="Parent Expression" name="parent_expr" reporter:datatype="link"/>
11061 <field reporter:label="Sequence Number" name="seq_no" reporter:datatype="int"/>
11062 <field reporter:label="Left Operand" name="left_operand" reporter:datatype="link"/>
11063 <field reporter:label="Negate?" name="negate" reporter:datatype="bool"/>
11066 <link field="parent_expr" reltype="has_a" key="id" map="" class="qxp"/>
11067 <link field="left_operand" reltype="has_a" key="id" map="" class="qxp"/>
11071 <class id="xbind" controller="open-ils.cstore" oils_obj:fieldmapper="query::expr_xbind" oils_persist:tablename="query.expr_xbind" reporter:label="Bind Variable Expression">
11072 <fields oils_persist:primary="id" oils_persist:sequence="query.expression_id_seq">
11073 <field reporter:label="Expression ID" name="id" reporter:datatype="id"/>
11074 <field reporter:label="Is Parenthesized" name="parenthesize" reporter:datatype="bool"/>
11075 <field reporter:label="Parent Expression" name="parent_expr" reporter:datatype="link"/>
11076 <field reporter:label="Sequence Number" name="seq_no" reporter:datatype="int"/>
11077 <field reporter:label="Bind Variable" name="bind_variable" reporter:datatype="link"/>
11080 <link field="parent_expr" reltype="has_a" key="id" map="" class="qxp"/>
11081 <link field="bind_variable" reltype="has_a" key="name" map="" class="qbv"/>
11085 <class id="xbool" controller="open-ils.cstore" oils_obj:fieldmapper="query::expr_xbool" oils_persist:tablename="query.expr_xbool" reporter:label="Boolean Expression">
11086 <fields oils_persist:primary="id" oils_persist:sequence="query.expression_id_seq">
11087 <field reporter:label="Expression ID" name="id" reporter:datatype="id"/>
11088 <field reporter:label="Is Parenthesized" name="parenthesize" reporter:datatype="bool"/>
11089 <field reporter:label="Parent Expression" name="parent_expr" reporter:datatype="link"/>
11090 <field reporter:label="Sequence Number" name="seq_no" reporter:datatype="int"/>
11091 <field reporter:label="Literal" name="literal" reporter:datatype="text"/>
11092 <field reporter:label="Negate?" name="negate" reporter:datatype="bool"/>
11095 <link field="parent_expr" reltype="has_a" key="id" map="" class="qxp"/>
11099 <class id="xcase" controller="open-ils.cstore" oils_obj:fieldmapper="query::expr_xcase" oils_persist:tablename="query.expr_xcase" reporter:label="Case Expression">
11100 <fields oils_persist:primary="id" oils_persist:sequence="query.expression_id_seq">
11101 <field reporter:label="Expression ID" name="id" reporter:datatype="id"/>
11102 <field reporter:label="Is Parenthesized" name="parenthesize" reporter:datatype="bool"/>
11103 <field reporter:label="Parent Expression" name="parent_expr" reporter:datatype="link"/>
11104 <field reporter:label="Sequence Number" name="seq_no" reporter:datatype="int"/>
11105 <field reporter:label="Left Operand" name="left_operand" reporter:datatype="link"/>
11106 <field reporter:label="Negate?" name="negate" reporter:datatype="bool"/>
11109 <link field="parent_expr" reltype="has_a" key="id" map="" class="qxp"/>
11110 <link field="left_operand" reltype="has_a" key="id" map="" class="qxp"/>
11114 <class id="xcast" controller="open-ils.cstore" oils_obj:fieldmapper="query::expr_xcast" oils_persist:tablename="query.expr_xcast" reporter:label="Cast Expression">
11115 <fields oils_persist:primary="id" oils_persist:sequence="query.expression_id_seq">
11116 <field reporter:label="Expression ID" name="id" reporter:datatype="id"/>
11117 <field reporter:label="Is Parenthesized" name="parenthesize" reporter:datatype="bool"/>
11118 <field reporter:label="Parent Expression" name="parent_expr" reporter:datatype="link"/>
11119 <field reporter:label="Sequence Number" name="seq_no" reporter:datatype="int"/>
11120 <field reporter:label="Left Operand" name="left_operand" reporter:datatype="link"/>
11121 <field reporter:label="Cast Type" name="cast_type" reporter:datatype="link"/>
11122 <field reporter:label="Negate?" name="negate" reporter:datatype="bool"/>
11125 <link field="parent_expr" reltype="has_a" key="id" map="" class="qxp"/>
11126 <link field="left_operand" reltype="has_a" key="id" map="" class="qxp"/>
11127 <link field="cast_type" reltype="has_a" key="id" map="" class="qdt"/>
11131 <class id="xcol" controller="open-ils.cstore" oils_obj:fieldmapper="query::expr_xcol" oils_persist:tablename="query.expr_xcol" reporter:label="Column Expression">
11132 <fields oils_persist:primary="id" oils_persist:sequence="query.expression_id_seq">
11133 <field reporter:label="Expression ID" name="id" reporter:datatype="id"/>
11134 <field reporter:label="Is Parenthesized" name="parenthesize" reporter:datatype="bool"/>
11135 <field reporter:label="Parent Expression" name="parent_expr" reporter:datatype="link"/>
11136 <field reporter:label="Sequence Number" name="seq_no" reporter:datatype="int"/>
11137 <field reporter:label="Table Alias" name="table_alias" reporter:datatype="text"/>
11138 <field reporter:label="Column Name" name="column_name" reporter:datatype="text"/>
11139 <field reporter:label="Negate?" name="negate" reporter:datatype="bool"/>
11142 <link field="parent_expr" reltype="has_a" key="id" map="" class="qxp"/>
11146 <class id="xex" controller="open-ils.cstore" oils_obj:fieldmapper="query::expr_xex" oils_persist:tablename="query.expr_xex" reporter:label="Exists Expression">
11147 <fields oils_persist:primary="id" oils_persist:sequence="query.expression_id_seq">
11148 <field reporter:label="Expression ID" name="id" reporter:datatype="id"/>
11149 <field reporter:label="Is Parenthesized" name="parenthesize" reporter:datatype="bool"/>
11150 <field reporter:label="Parent Expression" name="parent_expr" reporter:datatype="link"/>
11151 <field reporter:label="Sequence Number" name="seq_no" reporter:datatype="int"/>
11152 <field reporter:label="Subquery" name="subquery" reporter:datatype="link"/>
11153 <field reporter:label="Negate?" name="negate" reporter:datatype="bool"/>
11156 <link field="parent_expr" reltype="has_a" key="id" map="" class="qxp"/>
11157 <link field="subquery" reltype="has_a" key="id" map="" class="qsq"/>
11161 <class id="xfunc" controller="open-ils.cstore" oils_obj:fieldmapper="query::expr_xfunc" oils_persist:tablename="query.expr_xfunc" reporter:label="Function Expression">
11162 <fields oils_persist:primary="id" oils_persist:sequence="query.expression_id_seq">
11163 <field reporter:label="Expression ID" name="id" reporter:datatype="id"/>
11164 <field reporter:label="Is Parenthesized" name="parenthesize" reporter:datatype="bool"/>
11165 <field reporter:label="Parent Expression" name="parent_expr" reporter:datatype="link"/>
11166 <field reporter:label="Sequence Number" name="seq_no" reporter:datatype="int"/>
11167 <field reporter:label="Column Name" name="column_name" reporter:datatype="text"/>
11168 <field reporter:label="Function ID" name="function_id" reporter:datatype="link"/>
11169 <field reporter:label="Negate?" name="negate" reporter:datatype="bool"/>
11172 <link field="parent_expr" reltype="has_a" key="id" map="" class="qxp"/>
11173 <link field="function_id" reltype="has_a" key="id" map="" class="qfs"/>
11177 <class id="xin" controller="open-ils.cstore" oils_obj:fieldmapper="query::expr_xin" oils_persist:tablename="query.expr_xin" reporter:label="In Expression">
11178 <fields oils_persist:primary="id" oils_persist:sequence="query.expression_id_seq">
11179 <field reporter:label="Expression ID" name="id" reporter:datatype="id"/>
11180 <field reporter:label="Is Parenthesized" name="parenthesize" reporter:datatype="bool"/>
11181 <field reporter:label="Parent Expression" name="parent_expr" reporter:datatype="link"/>
11182 <field reporter:label="Sequence Number" name="seq_no" reporter:datatype="int"/>
11183 <field reporter:label="Left Operand" name="left_operand" reporter:datatype="link"/>
11184 <field reporter:label="Subquery" name="subquery" reporter:datatype="link"/>
11185 <field reporter:label="Negate?" name="negate" reporter:datatype="bool"/>
11188 <link field="parent_expr" reltype="has_a" key="id" map="" class="qxp"/>
11189 <link field="left_operand" reltype="has_a" key="id" map="" class="qxp"/>
11190 <link field="subquery" reltype="has_a" key="id" map="" class="qsq"/>
11194 <class id="xisnull" controller="open-ils.cstore" oils_obj:fieldmapper="query::expr_xisnull" oils_persist:tablename="query.expr_xisnull" reporter:label="IS NULL Expression">
11195 <fields oils_persist:primary="id" oils_persist:sequence="query.expression_id_seq">
11196 <field reporter:label="Expression ID" name="id" reporter:datatype="id"/>
11197 <field reporter:label="Is Parenthesized" name="parenthesize" reporter:datatype="bool"/>
11198 <field reporter:label="Parent Expression" name="parent_expr" reporter:datatype="link"/>
11199 <field reporter:label="Sequence Number" name="seq_no" reporter:datatype="int"/>
11200 <field reporter:label="Left Operand" name="left_operand" reporter:datatype="link"/>
11201 <field reporter:label="Negate?" name="negate" reporter:datatype="bool"/>
11204 <link field="parent_expr" reltype="has_a" key="id" map="" class="qxp"/>
11205 <link field="left_operand" reltype="has_a" key="id" map="" class="qxp"/>
11209 <class id="xnull" controller="open-ils.cstore" oils_obj:fieldmapper="query::expr_xnull" oils_persist:tablename="query.expr_xnull" reporter:label="Null Expression">
11210 <fields oils_persist:primary="id" oils_persist:sequence="query.expression_id_seq">
11211 <field reporter:label="Expression ID" name="id" reporter:datatype="id"/>
11212 <field reporter:label="Is Parenthesized" name="parenthesize" reporter:datatype="bool"/>
11213 <field reporter:label="Parent Expression" name="parent_expr" reporter:datatype="link"/>
11214 <field reporter:label="Sequence Number" name="seq_no" reporter:datatype="int"/>
11215 <field reporter:label="Negate?" name="negate" reporter:datatype="bool"/>
11218 <link field="parent_expr" reltype="has_a" key="id" map="" class="qxp"/>
11222 <class id="xnum" controller="open-ils.cstore" oils_obj:fieldmapper="query::expr_xnum" oils_persist:tablename="query.expr_xnum" reporter:label="Number Expression">
11223 <fields oils_persist:primary="id" oils_persist:sequence="query.expression_id_seq">
11224 <field reporter:label="Expression ID" name="id" reporter:datatype="id"/>
11225 <field reporter:label="Is Parenthesized" name="parenthesize" reporter:datatype="bool"/>
11226 <field reporter:label="Parent Expression" name="parent_expr" reporter:datatype="link"/>
11227 <field reporter:label="Sequence Number" name="seq_no" reporter:datatype="int"/>
11228 <field reporter:label="Literal" name="literal" reporter:datatype="text"/>
11231 <link field="parent_expr" reltype="has_a" key="id" map="" class="qxp"/>
11235 <class id="xop" controller="open-ils.cstore" oils_obj:fieldmapper="query::expr_xop" oils_persist:tablename="query.expr_xop" reporter:label="Operator Expression">
11236 <fields oils_persist:primary="id" oils_persist:sequence="query.expression_id_seq">
11237 <field reporter:label="Expression ID" name="id" reporter:datatype="id"/>
11238 <field reporter:label="Is Parenthesized" name="parenthesize" reporter:datatype="bool"/>
11239 <field reporter:label="Parent Expression" name="parent_expr" reporter:datatype="link"/>
11240 <field reporter:label="Sequence Number" name="seq_no" reporter:datatype="int"/>
11241 <field reporter:label="Left Operand" name="left_operand" reporter:datatype="link"/>
11242 <field reporter:label="Operator" name="operator" reporter:datatype="text"/>
11243 <field reporter:label="Right Operand" name="right_operand" reporter:datatype="link"/>
11244 <field reporter:label="Negate?" name="negate" reporter:datatype="bool"/>
11247 <link field="parent_expr" reltype="has_a" key="id" map="" class="qxp"/>
11248 <link field="left_operand" reltype="has_a" key="id" map="" class="qxp"/>
11249 <link field="right_operand" reltype="has_a" key="id" map="" class="qxp"/>
11253 <class id="xser" controller="open-ils.cstore" oils_obj:fieldmapper="query::expr_xser" oils_persist:tablename="query.expr_xser" reporter:label="Operator Expression">
11254 <fields oils_persist:primary="id" oils_persist:sequence="query.expression_id_seq">
11255 <field reporter:label="Expression ID" name="id" reporter:datatype="id"/>
11256 <field reporter:label="Is Parenthesized" name="parenthesize" reporter:datatype="bool"/>
11257 <field reporter:label="Parent Expression" name="parent_expr" reporter:datatype="link"/>
11258 <field reporter:label="Sequence Number" name="seq_no" reporter:datatype="int"/>
11259 <field reporter:label="Operator" name="operator" reporter:datatype="text"/>
11260 <field reporter:label="Negate?" name="negate" reporter:datatype="bool"/>
11263 <link field="parent_expr" reltype="has_a" key="id" map="" class="qxp"/>
11267 <class id="xstr" controller="open-ils.cstore" oils_obj:fieldmapper="query::expr_xstr" oils_persist:tablename="query.expr_xstr" reporter:label="String Expression">
11268 <fields oils_persist:primary="id" oils_persist:sequence="query.expression_id_seq">
11269 <field reporter:label="Expression ID" name="id" reporter:datatype="id"/>
11270 <field reporter:label="Is Parenthesized" name="parenthesize" reporter:datatype="bool"/>
11271 <field reporter:label="Parent Expression" name="parent_expr" reporter:datatype="link"/>
11272 <field reporter:label="Sequence Number" name="seq_no" reporter:datatype="int"/>
11273 <field reporter:label="Literal" name="literal" reporter:datatype="text"/>
11276 <link field="parent_expr" reltype="has_a" key="id" map="" class="qxp"/>
11280 <class id="xsubq" controller="open-ils.cstore" oils_obj:fieldmapper="query::expr_xsubq" oils_persist:tablename="query.expr_xsubq" reporter:label="Subquery Expression">
11281 <fields oils_persist:primary="id" oils_persist:sequence="query.expression_id_seq">
11282 <field reporter:label="Expression ID" name="id" reporter:datatype="id"/>
11283 <field reporter:label="Is Parenthesized" name="parenthesize" reporter:datatype="bool"/>
11284 <field reporter:label="Parent Expression" name="parent_expr" reporter:datatype="link"/>
11285 <field reporter:label="Sequence Number" name="seq_no" reporter:datatype="int"/>
11286 <field reporter:label="Subquery" name="subquery" reporter:datatype="link"/>
11289 <link field="parent_expr" reltype="has_a" key="id" map="" class="qxp"/>
11290 <link field="subquery" reltype="has_a" key="id" map="" class="qsq"/>
11294 <class id="bmpc" controller="open-ils.cstore" oils_obj:fieldmapper="biblio::marc21_physical_characteristics" oils_persist:tablename="biblio.marc21_physical_characteristics" reporter:label="MARC21 Physical Characteristics" oils_persist:field_safe="true" oils_persist:readonly="true">
11295 <fields oils_persist:primary="id">
11296 <field reporter:label="Temp ID" name="id" reporter:datatype="id"/>
11297 <field reporter:label="Type" name="ptype" reporter:datatype="link"/>
11298 <field reporter:label="Subfield" name="subfield" reporter:datatype="link"/>
11299 <field reporter:label="Value" name="value" reporter:datatype="link"/>
11300 <field reporter:label="Record" name="record" reporter:datatype="link"/>
11303 <link field="ptype" reltype="has_a" key="id" map="" class="cmpctm"/>
11304 <link field="subfield" reltype="has_a" key="id" map="" class="cmpcsm"/>
11305 <link field="value" reltype="has_a" key="id" map="" class="cmpcvm"/>
11306 <link field="record" reltype="has_a" key="id" map="" class="bre"/>
11310 <class id="cmfpm" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::marc21_ff_pos_map" oils_persist:tablename="config.marc21_ff_pos_map" reporter:label="MARC21 Fixed Field Map" oils_persist:field_safe="true">
11311 <fields oils_persist:primary="id" oils_persist:sequence="config.marc21_ff_pos_map_id_seq">
11312 <field reporter:label="ID" name="id" reporter:datatype="id"/>
11313 <field reporter:label="Fixed Field" name="fixed_field" reporter:datatype="text"/>
11314 <field reporter:label="Tag" name="tag" reporter:datatype="text"/>
11315 <field reporter:label="Record Type" name="rec_type" reporter:datatype="text"/>
11316 <field reporter:label="Start Postion" name="start_pos" reporter:datatype="int"/>
11317 <field reporter:label="Length" name="length" reporter:datatype="int"/>
11318 <field reporter:label="Default Value" name="default_val" reporter:datatype="text"/>
11321 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
11328 <class id="cmpctm" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::marc21_physical_characteristic_type_map" oils_persist:tablename="config.marc21_physical_characteristic_type_map" reporter:label="MARC21 Physical Characteristic Type Map" oils_persist:field_safe="true">
11329 <fields oils_persist:primary="ptype_key">
11330 <field reporter:label="Type Key" name="ptype_key" reporter:datatype="id"/>
11331 <field reporter:label="Label" name="label" reporter:datatype="text"/>
11334 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
11341 <class id="cmpcsm" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::marc21_physical_characteristic_subfield_map" oils_persist:tablename="config.marc21_physical_characteristic_subfield_map" reporter:label="MARC21 Physical Characteristic Subfield Map" oils_persist:field_safe="true">
11342 <fields oils_persist:primary="id" oils_persist:sequence="config.marc21_physical_characteristic_subfield_map_id_seq">
11343 <field reporter:label="ID" name="id" reporter:datatype="id"/>
11344 <field reporter:label="Type Key" name="ptype_key" reporter:datatype="link"/>
11345 <field reporter:label="Subfield" name="subfield" reporter:datatype="text"/>
11346 <field reporter:label="Start Postion" name="start_pos" reporter:datatype="int"/>
11347 <field reporter:label="Length" name="length" reporter:datatype="int"/>
11348 <field reporter:label="Label" name="label" reporter:datatype="text"/>
11351 <link field="ptype_key" reltype="has_a" key="id" map="" class="cmpctm"/>
11353 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
11360 <class id="cmpcvm" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::marc21_physical_characteristic_value_map" oils_persist:tablename="config.marc21_physical_characteristic_value_map" reporter:label="MARC21 Physical Characteristic Value Map" oils_persist:field_safe="true">
11361 <fields oils_persist:primary="id" oils_persist:sequence="config.marc21_physical_characteristic_value_map_id_seq">
11362 <field reporter:label="ID" name="id" reporter:datatype="id"/>
11363 <field reporter:label="Value" name="value" reporter:datatype="text"/>
11364 <field reporter:label="Subfield" name="ptype_subfield" reporter:datatype="link"/>
11365 <field reporter:label="Label" name="label" reporter:datatype="text"/>
11368 <link field="ptype_subfield" reltype="has_a" key="id" map="" class="cmpcsm"/>
11370 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
11379 controller="open-ils.cstore open-ils.pcrud"
11380 oils_obj:fieldmapper="url_verify::session"
11381 oils_persist:tablename="url_verify.session"
11382 reporter:label="URL Verification Session"
11384 <fields oils_persist:primary="id" oils_persist:sequence="url_verify.session_id_seq">
11385 <field reporter:label="Session ID" name="id" reporter:datatype="id"/>
11386 <field reporter:label="Name" name="name" reporter:datatype="text" oils_obj:required="true"/>
11387 <field reporter:label="Owning Library" name="owning_lib" reporter:datatype="org_unit" oils_obj:required="true"/>
11388 <field reporter:label="Creator" name="creator" reporter:datatype="link" oils_obj:required="true"/>
11389 <field reporter:label="Record Container" name="container" reporter:datatype="link" oils_obj:required="true"/>
11390 <field reporter:label="Create Time" name="create_time" reporter:datatype="timestamp"/>
11391 <field reporter:label="Search Constraints" name="search" reporter:datatype="text" oils_obj:required="true"/>
11392 <field reporter:label="URL Selectors" name="selectors" reporter:datatype="link" oils_persist:virtual="true"/>
11393 <field reporter:label="Verification Attempts" name="attempts" reporter:datatype="link" oils_persist:virtual="true"/>
11397 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
11398 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
11399 <link field="container" reltype="has_a" key="id" map="" class="cbreb"/>
11400 <link field="selectors" reltype="has_many" key="session" map="" class="uvus"/>
11401 <link field="attempts" reltype="has_many" key="session" map="" class="uvva"/>
11404 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
11406 <retrieve permission="URL_VERIFY" context_field="owning_lib"/>
11412 <class id="uvsbrem" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="url_verify::session_biblio_record_entry_map" oils_persist:readonly="true" reporter:label="URL Verify Session Biblio Record Entry Map">
11413 <oils_persist:source_definition><![CDATA[
11415 cbrebi.id AS id, -- so we can have a pkey in our view
11418 cbrebi.target_biblio_record_entry
11419 FROM url_verify.session uvs
11420 JOIN container.biblio_record_entry_bucket cbreb
11421 ON (uvs.container = cbreb.id)
11422 JOIN container.biblio_record_entry_bucket_item cbrebi
11423 ON (cbrebi.bucket = cbreb.id)
11424 ]]></oils_persist:source_definition>
11425 <fields oils_persist:primary="id" oils_persist:sequence="container.biblio_record_entry_bucket_item_id_seq">
11426 <field reporter:label="Bucket Item ID" name="id" reporter:datatype="id" />
11427 <field reporter:label="Session" name="session" reporter:datatype="link" />
11428 <field reporter:label="Owning Library" name="owning_lib" reporter:datatype="org_unit" />
11429 <field reporter:label="Target Biblio Record Entry" name="target_biblio_record_entry" reporter:datatype="link" />
11432 <link field="target_biblio_record_entry" reltype="has_a" key="id" map="" class="bre" />
11433 <link field="session" reltype="has_a" key="id" map="" class="uvs" />
11434 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou" />
11436 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
11438 <retrieve permission="URL_VERIFY" context_field="owning_lib" />
11445 controller="open-ils.cstore open-ils.pcrud"
11446 oils_obj:fieldmapper="url_verify::url_selector"
11447 oils_persist:tablename="url_verify.url_selector"
11448 reporter:label="URL Verification URL Selector"
11450 <fields oils_persist:primary="id" oils_persist:sequence="url_verify.url_selector_id_seq">
11451 <field reporter:label="URL Selector ID" name="id" reporter:datatype="id"/>
11452 <field reporter:label="XPath" name="xpath" reporter:datatype="text" oils_obj:required="true"/>
11453 <field reporter:label="Session" name="session" reporter:datatype="link" oils_obj:required="true"/>
11454 <field reporter:label="URLs" name="urls" reporter:datatype="link" oils_persist:virtual="true"/>
11458 <link field="session" reltype="has_a" key="id" map="" class="uvs"/>
11459 <link field="urls" reltype="has_many" key="id" map="" class="uvu"/>
11462 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
11464 <create permission="URL_VERIFY">
11465 <context link="session" field="owning_lib"/>
11467 <retrieve permission="URL_VERIFY">
11468 <context link="session" field="owning_lib"/>
11470 <update permission="URL_VERIFY">
11471 <context link="session" field="owning_lib"/>
11473 <delete permission="URL_VERIFY">
11474 <context link="session" field="owning_lib"/>
11483 controller="open-ils.cstore open-ils.pcrud"
11484 oils_obj:fieldmapper="url_verify::url"
11485 oils_persist:tablename="url_verify.url"
11486 reporter:label="URL Verification URL"
11488 <fields oils_persist:primary="id" oils_persist:sequence="url_verify.url_id_seq">
11489 <field reporter:label="URL ID" name="id" reporter:datatype="id"/>
11490 <field reporter:label="Redirected From" name="redirect_from" reporter:datatype="link"/>
11491 <field reporter:label="Container Item" name="item" reporter:datatype="link" oils_obj:required="true"/>
11492 <field reporter:label="Session" name="session" reporter:datatype="link" oils_obj:required="true"/>
11493 <field reporter:label="URL Selector" name="url_selector" reporter:datatype="link"/>
11494 <field reporter:label="Tag" name="tag" reporter:datatype="text"/>
11495 <field reporter:label="Subfield" name="subfield" reporter:datatype="text"/>
11496 <field reporter:label="Ordinal Position" name="ord" reporter:datatype="int"/>
11497 <field reporter:label="URL" name="full_url" reporter:datatype="text"/>
11498 <field reporter:label="Scheme" name="scheme" reporter:datatype="text"/>
11499 <field reporter:label="Host" name="host" reporter:datatype="text"/>
11500 <field reporter:label="Domain" name="domain" reporter:datatype="text"/>
11501 <field reporter:label="TLD" name="tld" reporter:datatype="text"/>
11502 <field reporter:label="Path" name="path" reporter:datatype="text"/>
11503 <field reporter:label="Page" name="page" reporter:datatype="text"/>
11504 <field reporter:label="Query" name="query" reporter:datatype="text"/>
11505 <field reporter:label="Fragment" name="fragment" reporter:datatype="text"/>
11506 <field reporter:label="Verifications" name="verifications" reporter:datatype="link" oils_persist:virtual="true" />
11510 <link field="redirect_from" reltype="has_a" key="id" map="" class="uvu"/>
11511 <link field="item" reltype="has_a" key="id" map="" class="uvsbrem" />
11512 <link field="session" reltype="has_a" key="id" map="" class="uvs"/>
11513 <link field="url_selector" reltype="has_a" key="id" map="" class="uvus"/>
11514 <link field="verifications" reltype="has_many" key="url" map="" class="uvuv"/>
11517 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
11519 <create permission="URL_VERIFY">
11520 <context link="session" field="owning_lib"/>
11522 <retrieve permission="URL_VERIFY">
11523 <context link="session" field="owning_lib"/>
11525 <update permission="URL_VERIFY">
11526 <context link="session" field="owning_lib"/>
11528 <delete permission="URL_VERIFY">
11529 <context link="session" field="owning_lib"/>
11538 controller="open-ils.cstore open-ils.pcrud"
11539 oils_obj:fieldmapper="url_verify::verification_attempt"
11540 oils_persist:tablename="url_verify.verification_attempt"
11541 reporter:label="URL Verification Attempt"
11543 <fields oils_persist:primary="id" oils_persist:sequence="url_verify.verification_attempt_id_seq">
11544 <field reporter:label="Attempt ID" name="id" reporter:datatype="id"/>
11545 <field reporter:label="User" name="usr" reporter:datatype="link"/>
11546 <field reporter:label="Session" name="session" reporter:datatype="link"/>
11547 <field reporter:label="Start Time" name="start_time" reporter:datatype="timestamp"/>
11548 <field reporter:label="Finish Time" name="finish_time" reporter:datatype="timestamp"/>
11552 <link field="session" reltype="has_a" key="id" map="" class="uvs"/>
11553 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
11556 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
11558 <create permission="URL_VERIFY">
11559 <context link="session" field="owning_lib"/>
11561 <retrieve permission="URL_VERIFY">
11562 <context link="session" field="owning_lib"/>
11564 <update permission="URL_VERIFY">
11565 <context link="session" field="owning_lib"/>
11567 <delete permission="URL_VERIFY">
11568 <context link="session" field="owning_lib"/>
11577 controller="open-ils.cstore open-ils.pcrud"
11578 oils_obj:fieldmapper="url_verify::url_verification"
11579 oils_persist:tablename="url_verify.url_verification"
11580 reporter:label="URL Verification"
11582 <fields oils_persist:primary="id" oils_persist:sequence="url_verify.url_verification_id_seq">
11583 <field reporter:label="Verification ID" name="id" reporter:datatype="id"/>
11584 <field reporter:label="URL" name="url" reporter:datatype="link"/>
11585 <field reporter:label="Attempt" name="attempt" reporter:datatype="link"/>
11586 <field reporter:label="Request Time" name="req_time" reporter:datatype="timestamp"/>
11587 <field reporter:label="Result Time" name="res_time" reporter:datatype="timestamp"/>
11588 <field reporter:label="Result Code" name="res_code" reporter:datatype="int"/>
11589 <field reporter:label="Result Text" name="res_text" reporter:datatype="text"/>
11590 <field reporter:label="Redirected To" name="redirect_to" reporter:datatype="link"/>
11594 <link field="url" reltype="has_a" key="id" map="" class="uvu"/>
11595 <link field="attempt" reltype="has_a" key="id" map="" class="uvva"/>
11596 <link field="redirect_to" reltype="has_a" key="id" map="" class="uvu"/>
11599 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
11601 <create permission="URL_VERIFY">
11602 <context link="attempt" jump="session" field="owning_lib"/>
11604 <retrieve permission="URL_VERIFY">
11605 <context link="attempt" jump="session" field="owning_lib"/>
11607 <update permission="URL_VERIFY">
11608 <context link="attempt" jump="session" field="owning_lib"/>
11610 <delete permission="URL_VERIFY">
11611 <context link="attempt" jump="session" field="owning_lib"/>
11620 controller="open-ils.cstore open-ils.pcrud"
11621 oils_obj:fieldmapper="config::filter_dialog_interface"
11622 oils_persist:tablename="config.filter_dialog_interface"
11623 reporter:label="FilterDialog Interface">
11624 <fields oils_persist:primary="key" oils_persist:sequence="config.filter_dialog_interface_pkey">
11625 <field reporter:label="Interface Key" name="key" reporter:datatype="text" />
11626 <field reporter:label="Description" name="description" reporter:datatype="text" />
11629 <link field="filter_sets" reltype="has_many" key="interface" map="" class="cfdfs"/>
11631 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
11640 controller="open-ils.cstore open-ils.pcrud"
11641 oils_obj:fieldmapper="config::filter_dialog_filter_set"
11642 oils_persist:tablename="config.filter_dialog_filter_set"
11643 reporter:label="FilterDialog Filter Set">
11644 <fields oils_persist:primary="id" oils_persist:sequence="config.filter_dialog_filter_set_id_seq">
11645 <field reporter:label="ID" name="id" reporter:datatype="id"/>
11646 <field reporter:label="Name" name="name" reporter:datatype="text"/>
11647 <field reporter:label="Owning Library" name="owning_lib" reporter:datatype="org_unit"/>
11648 <field reporter:label="Creator" name="creator" reporter:datatype="link"/>
11649 <field reporter:label="Interface" name="interface" reporter:datatype="link"/>
11650 <field reporter:label="Create Time" name="create_time" reporter:datatype="timestamp"/>
11651 <field reporter:label="Filters" name="filters" reporter:datatype="text"/>
11654 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
11655 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
11656 <link field="interface" reltype="has_a" key="key" map="" class="cfdi"/>
11658 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
11660 <create permission="SAVED_FILTER_DIALOG_FILTERS" context_field="owning_lib"/>
11661 <retrieve permission="SAVED_FILTER_DIALOG_FILTERS" context_field="owning_lib"/>
11662 <update permission="SAVED_FILTER_DIALOG_FILTERS" context_field="owning_lib"/>
11663 <delete permission="SAVED_FILTER_DIALOG_FILTERS" context_field="owning_lib"/>
11669 <class id="cmrtm" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::marc21_rec_type_map" oils_persist:tablename="config.marc21_rec_type_map" reporter:label="MARC21 Record Type Map" oils_persist:field_safe="true">
11670 <fields oils_persist:primary="code">
11671 <field reporter:label="Code" name="code" reporter:datatype="id"/>
11672 <field reporter:label="Type Value" name="type_val" reporter:datatype="text"/>
11673 <field reporter:label="BLvl Value" name="blvl_val" reporter:datatype="text"/>
11676 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
11683 <class id="rlcd" controller="open-ils.cstore open-ils.pcrud open-ils.reporter-store" oils_obj:fieldmapper="reporter::last_copy_deleted" oils_persist:readonly="true" reporter:core="true" reporter:label="Last Copy Delete Time">
11684 <oils_persist:source_definition><![CDATA[
11687 MAX(dcp.edit_date) AS last_delete_date
11688 FROM biblio.record_entry b
11689 JOIN asset.call_number cn ON (cn.record = b.id)
11690 JOIN asset.copy dcp ON (cn.id = dcp.call_number)
11691 WHERE NOT b.deleted
11693 HAVING SUM( CASE WHEN NOT dcp.deleted THEN 1 ELSE 0 END) = 0
11695 ]]></oils_persist:source_definition>
11696 <fields oils_persist:primary="id" oils_persist:sequence="biblio.record_entry">
11697 <field reporter:label="Record ID" name="id" reporter:datatype="id"/>
11698 <field reporter:label="Delete Date/Time" name="last_delete_date" reporter:datatype="timestamp"/>
11701 <link field="id" reltype="has_a" key="id" map="" class="bre"/>
11703 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
11710 <class id="rhcrpb" controller="open-ils.cstore open-ils.pcrud open-ils.reporter-store" oils_obj:fieldmapper="reporter::hold_copy_ratio_per_bib" oils_persist:readonly="true" reporter:core="true" reporter:label="Hold/Copy Ratio per Bib">
11711 <oils_persist:source_definition><![CDATA[
11713 -- -- If we uncomment the RIGHT JOIN against biblio.record_entry, then we'll get a row for every non-deleted bib, whether it has active holds or not.
11714 -- -- If we expect to use pcrud to query against specific bibs, we probably want to do this. However, if we're using this to populate a report, we
11717 -- bre.id AS bib_id,
11718 -- COALESCE( z.copy_count, 0 ) AS copy_count,
11719 -- COALESCE( z.hold_count, 0 ) AS hold_count,
11720 -- COALESCE( z.copy_hold_ratio, 0 ) AS hold_copy_ratio
11724 COALESCE( x.copy_count, 0 ) AS copy_count,
11725 y.hold_count AS hold_count,
11726 (y.hold_count::REAL / (CASE WHEN x.copy_count = 0 OR x.copy_count IS NULL THEN 0.1 ELSE x.copy_count::REAL END)) AS hold_copy_ratio
11729 (SELECT bib_record FROM reporter.hold_request_record r WHERE r.id = h.id LIMIT 1) AS bre,
11730 COUNT(*) AS hold_count
11731 FROM action.hold_request h
11733 cancel_time IS NULL
11734 AND fulfillment_time IS NULL
11735 -- AND NOT frozen -- a frozen hold is still a desired hold, eh?
11740 FROM biblio.record_entry
11741 WHERE id = (SELECT record FROM asset.call_number WHERE id = call_number and deleted is false)
11743 COUNT(*) AS copy_count
11745 JOIN asset.copy_location loc ON (copy.location = loc.id AND loc.holdable)
11746 WHERE copy.holdable
11747 AND NOT copy.deleted
11748 AND copy.status IN ( SELECT id FROM config.copy_status WHERE holdable )
11750 )x ON x.bre = y.bre
11753 -- FROM biblio.record_entry
11754 -- WHERE NOT deleted
11755 -- )bre ON (z.bib_id = bre.id)
11758 ]]></oils_persist:source_definition>
11759 <fields oils_persist:primary="id" oils_persist:sequence="biblio.record_entry">
11760 <field reporter:label="Record ID" name="id" reporter:datatype="id"/>
11761 <field reporter:label="Holdable Copy Count" name="copy_count" reporter:datatype="int"/>
11762 <field reporter:label="Active Holds" name="hold_count" reporter:datatype="int"/>
11763 <field reporter:label="Hold/Copy Ratio" name="hold_copy_ratio" reporter:datatype="float"/>
11766 <link field="id" reltype="has_a" key="id" map="" class="bre"/>
11768 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
11775 <class id="rhcrpbap" controller="open-ils.cstore open-ils.pcrud open-ils.reporter-store" oils_obj:fieldmapper="reporter::hold_copy_ratio_per_bib_and_pickup" oils_persist:readonly="true" reporter:label="Hold/Copy Ratio per Bib and Pickup Library">
11776 <oils_persist:source_definition><![CDATA[
11778 CASE WHEN copy_count_at_pickup_library = 0 THEN 'Infinity'::FLOAT ELSE holds_at_pickup_library::FLOAT/copy_count_at_pickup_library END AS pickup_library_ratio,
11779 CASE WHEN copy_count_everywhere = 0 THEN 'Infinity'::FLOAT ELSE holds_everywhere::FLOAT/copy_count_everywhere END AS everywhere_ratio
11781 (SELECT bib_record as id, pickup_lib, count(DISTINCT ahr.id) AS holds_at_pickup_library, COALESCE(count(DISTINCT ac.id),0) as copy_count_at_pickup_library
11783 action.hold_request ahr
11784 JOIN reporter.hold_request_record rhrr USING (id)
11785 LEFT JOIN action.hold_copy_map ahcm ON (ahr.id = ahcm.hold)
11786 LEFT JOIN asset.copy ac ON (ahcm.target_copy = ac.id AND ahr.pickup_lib = ac.circ_lib)
11788 ahr.cancel_time IS NULL
11789 AND ahr.fulfillment_time IS NULL
11790 GROUP BY bib_record, pickup_lib
11793 (SELECT bib_record as id, count(DISTINCT ahr.id) AS holds_everywhere, COALESCE(count(DISTINCT target_copy),0) as copy_count_everywhere
11795 action.hold_request ahr
11796 JOIN reporter.hold_request_record rhrr USING (id)
11797 LEFT JOIN action.hold_copy_map ahcm ON (ahr.id = ahcm.hold)
11799 ahr.cancel_time IS NULL
11800 AND ahr.fulfillment_time IS NULL
11801 GROUP BY bib_record
11804 ]]></oils_persist:source_definition>
11805 <fields oils_persist:primary="id" oils_persist:sequence="biblio.record_entry">
11806 <field reporter:label="Record ID" name="id" reporter:datatype="link"/>
11807 <field reporter:label="Pickup Library" name="pickup_lib" reporter:datatype="org_unit"/>
11808 <field reporter:label="Active Holds at Pickup Library" name="holds_at_pickup_library" reporter:datatype="int"/>
11809 <field reporter:label="Holdable Copy Count at Pickup Library" name="copy_count_at_pickup_library" reporter:datatype="int"/>
11810 <field reporter:label="Active Holds Everywhere" name="holds_everywhere" reporter:datatype="int"/>
11811 <field reporter:label="Holdable Copy Count Everywhere" name="copy_count_everywhere" reporter:datatype="int"/>
11812 <field reporter:label="Hold/Copy Ratio at Pickup Library" name="pickup_library_ratio" reporter:datatype="float"/>
11813 <field reporter:label="Hold/Copy Ratio Everywhere" name="everywhere_ratio" reporter:datatype="float"/>
11816 <link field="id" reltype="has_a" key="id" map="" class="bre"/>
11817 <link field="pickup_lib" reltype="has_a" key="id" map="" class="aou"/>
11819 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
11826 <class id="rhcrpbapd" controller="open-ils.cstore open-ils.pcrud open-ils.reporter-store" oils_obj:fieldmapper="reporter::hold_copy_ratio_per_bib_and_pickup_desc" oils_persist:readonly="true" reporter:label="Hold/Copy Ratio per Bib and Pickup Library (and Descendants) ">
11827 <oils_persist:source_definition><![CDATA[
11828 WITH counts_at_ou AS (
11829 SELECT rhrr.bib_record AS id,
11830 aou.id AS pickup_lib_or_desc,
11831 COUNT(DISTINCT ahr.id) AS holds_at_or_below,
11832 COALESCE(COUNT(DISTINCT ac.id),0) AS copy_count_at_or_below
11833 FROM actor.org_unit aou
11834 JOIN actor.org_unit_type aout ON (aou.ou_type = aout.id),
11835 action.hold_request ahr
11836 JOIN reporter.hold_request_record rhrr USING (id)
11837 LEFT JOIN action.hold_copy_map ahcm ON (ahr.id = ahcm.hold)
11838 LEFT JOIN asset.copy ac ON (ahcm.target_copy = ac.id)
11839 WHERE ahr.cancel_time IS NULL AND ahr.fulfillment_time IS NULL
11840 AND ac.circ_lib IN (SELECT id FROM actor.org_unit_descendants(aou.id))
11841 AND (actor.org_unit_ancestor_at_depth(ahr.pickup_lib,aout.depth)).id = (actor.org_unit_ancestor_at_depth(ac.circ_lib,aout.depth)).id
11844 SELECT x.id, x.pickup_lib_or_desc, x.holds_at_or_below, x.copy_count_at_or_below,
11845 y.holds_everywhere, y.copy_count_everywhere,
11846 CASE WHEN copy_count_at_or_below = 0 THEN 'Infinity'::FLOAT ELSE x.holds_at_or_below::FLOAT/x.copy_count_at_or_below END AS hold_copy_ratio_at_or_below_ou,
11847 CASE WHEN copy_count_everywhere = 0 THEN 'Infinity'::FLOAT ELSE y.holds_everywhere::FLOAT/y.copy_count_everywhere END AS everywhere_ratio
11848 FROM counts_at_ou x
11849 JOIN (SELECT bib_record AS id, count(DISTINCT ahr.id) AS holds_everywhere, COALESCE(count(DISTINCT target_copy),0) as copy_count_everywhere
11851 action.hold_request ahr
11852 JOIN reporter.hold_request_record rhrr USING (id)
11853 LEFT JOIN action.hold_copy_map ahcm ON (ahr.id = ahcm.hold)
11855 ahr.cancel_time IS NULL
11856 AND ahr.fulfillment_time IS NULL
11857 GROUP BY bib_record
11860 ]]></oils_persist:source_definition>
11861 <fields oils_persist:primary="id" oils_persist:sequence="biblio.record_entry">
11862 <field reporter:label="Record ID" name="id" reporter:datatype="link"/>
11863 <field reporter:label="Pickup Library" name="pickup_lib_or_desc" reporter:datatype="org_unit"/>
11864 <field reporter:label="Active Holds at Pickup Library and its Descendants" name="holds_at_or_below" reporter:datatype="int"/>
11865 <field reporter:label="Holdable Copy Count at Pickup Library and its Descendants" name="copy_count_at_or_below" reporter:datatype="int"/>
11866 <field reporter:label="Active Holds Everywhere" name="holds_everywhere" reporter:datatype="int"/>
11867 <field reporter:label="Holdable Copy Count Everywhere" name="copy_count_everywhere" reporter:datatype="int"/>
11868 <field reporter:label="Hold/Copy Ratio at Pickup Library and its Descendants" name="hold_copy_ratio_at_or_below_ou" reporter:datatype="float"/>
11869 <field reporter:label="Hold/Copy Ratio Everywhere" name="everywhere_ratio" reporter:datatype="float"/>
11872 <link field="id" reltype="has_a" key="id" map="" class="bre"/>
11873 <link field="pickup_lib_or_desc" reltype="has_a" key="id" map="" class="aou"/>
11875 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
11882 <class id="rlc" controller="open-ils.cstore open-ils.pcrud open-ils.reporter-store" oils_obj:fieldmapper="reporter::last_circ_date" oils_persist:readonly="true" reporter:label="Last Circulation or Creation Date">
11883 <oils_persist:source_definition><![CDATA[
11886 COALESCE(MAX(actac.xact_start), ac.create_date) AS last_circ_or_create,
11887 MAX(actac.xact_start) AS last_circ
11889 LEFT JOIN action.all_circulation actac ON ac.id = actac.target_copy
11892 -- Alternate version, say if you have migrated last checkout information in extend_reporter.legacy_circ_timestamp:
11895 -- GREATEST(MAX(actac.xact_start), erlct.last_cko_ts, ac.create_date) AS last_circ_or_create,
11896 -- GREATEST(MAX(actac.xact_start), erlct.last_cko_ts) AS last_circ
11897 --FROM asset.copy ac
11898 -- LEFT JOIN action.all_circulation actac ON ac.id = actac.target_copy
11899 -- LEFT JOIN extend_reporter.legacy_circ_timestamp erlct ON ac.id = erlct.id
11900 --GROUP BY ac.id, ac.create_date, erlct.last_cko_ts
11901 ]]></oils_persist:source_definition>
11902 <fields oils_persist:primary="id" oils_persist:sequence="biblio.record_entry">
11903 <field reporter:label="Copy ID" name="id" reporter:datatype="link"/>
11904 <field reporter:label="Last Circulation or Creation Date" name="last_circ_or_create" reporter:datatype="timestamp"/>
11905 <field reporter:label="Last Circulation Date" name="last_circ" reporter:datatype="timestamp"/>
11908 <link field="id" reltype="has_a" key="id" map="" class="acp"/>
11910 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
11917 <class id="ctcl" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::ts_config_list" oils_persist:tablename="config.ts_config_list" reporter:label="Text Search Configs">
11918 <fields oils_persist:primary="id">
11919 <field reporter:label="Text Search Config" reporter:selector="name" reporter:datatype="text" name="id"/>
11920 <field reporter:label="Text Search Config Name" reporter:datatype="text" name="name"/>
11922 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
11929 <class id="cmcts" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::metabib_class_ts_map" oils_persist:tablename="config.metabib_class_ts_map" reporter:label="Metabib Class TS Map">
11930 <fields oils_persist:primary="id" oils_persist:sequence="config.metabib_class_ts_map_id_seq">
11931 <field reporter:label="Map ID" reporter:datatype="id" name="id"/>
11932 <field reporter:label="Metabib Class" reporter:datatype="text" name="field_class"/>
11933 <field reporter:label="Text Search Config" reporter:datatype="text" name="ts_config"/>
11934 <field reporter:label="Active?" reporter:datatype="bool" name="active"/>
11935 <field reporter:label="Index Weight" reporter:datatype="text" name="index_weight"/>
11936 <field reporter:label="Index Language" reporter:datatype="text" name="index_lang"/>
11937 <field reporter:label="Search Language" reporter:datatype="text" name="search_lang"/>
11938 <field reporter:label="Always Apply?" reporter:datatype="bool" name="always"/>
11941 <link field="field_class" reltype="has_a" key="name" map="" class="cmc"/>
11942 <link field="ts_config" reltype="has_a" key="id" map="" class="ctcl"/>
11944 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
11946 <create permission="ADMIN_INDEX_NORMALIZER" global_required="true"/>
11948 <update permission="ADMIN_INDEX_NORMALIZER" global_required="true"/>
11949 <delete permission="ADMIN_INDEX_NORMALIZER" global_required="true"/>
11954 <class id="cmfts" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::metabib_field_ts_map" oils_persist:tablename="config.metabib_field_ts_map" reporter:label="Metabib Field TS Map">
11955 <fields oils_persist:primary="id" oils_persist:sequence="config.metabib_field_ts_map_id_seq">
11956 <field reporter:label="Map ID" reporter:datatype="id" name="id"/>
11957 <field reporter:label="Metabib Field" reporter:datatype="text" name="metabib_field"/>
11958 <field reporter:label="Text Search Config" reporter:datatype="text" name="ts_config"/>
11959 <field reporter:label="Active?" reporter:datatype="bool" name="active"/>
11960 <field reporter:label="Index Weight" reporter:datatype="text" name="index_weight"/>
11961 <field reporter:label="Index Language" reporter:datatype="text" name="index_lang"/>
11962 <field reporter:label="Search Language" reporter:datatype="text" name="search_lang"/>
11965 <link field="metabib_field" reltype="has_a" key="id" map="" class="cmf"/>
11966 <link field="ts_config" reltype="has_a" key="id" map="" class="ctcl"/>
11968 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
11970 <create permission="ADMIN_INDEX_NORMALIZER" global_required="true"/>
11972 <update permission="ADMIN_INDEX_NORMALIZER" global_required="true"/>
11973 <delete permission="ADMIN_INDEX_NORMALIZER" global_required="true"/>
11979 <!-- ********************************************************************************************************************* -->
11980 <!-- What follows is a set of example extensions that are useful for PINES. Comment out or remove if you don't want them. -->
11981 <!-- ********************************************************************************************************************* -->
11982 <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">
11983 <fields oils_persist:primary="id">
11984 <field reporter:label="Circulation" name="id" reporter:datatype="id" />
11985 <field reporter:label="Library Circulation Location Short (Policy) Name" name="circ_lib" reporter:datatype="text"/>
11986 <field reporter:label="Library Circulation Location Link" name="circ_lib_id" reporter:datatype="org_unit"/>
11987 <field reporter:label="Circulation Date/Time" name="xact_start" reporter:datatype="timestamp"/>
11988 <field reporter:label="Circulation Type" name="circ_type" reporter:datatype="text"/>
11989 <field reporter:label="Copy Link" name="copy_id" reporter:datatype="link"/>
11990 <field reporter:label="Circ Modifier" name="circ_modifier" reporter:datatype="text"/>
11991 <field reporter:label="Owning Library Short (Policy) Name" name="owning_lib_name" reporter:datatype="text"/>
11992 <field reporter:label="Item Language" name="language" reporter:datatype="text"/>
11993 <field reporter:label="Literary Form" name="lit_form" reporter:datatype="text"/>
11994 <field reporter:label="MARC Form" name="item_form" reporter:datatype="text"/>
11995 <field reporter:label="MARC Type" name="item_type" reporter:datatype="text"/>
11996 <field reporter:label="Shelving Location" name="shelving_location" reporter:datatype="text"/>
11997 <field reporter:label="Patron Profile Group" name="profile_group" reporter:datatype="text"/>
11998 <field reporter:label="Patron Age Demographic" name="demographic_general_division" reporter:datatype="text"/>
11999 <field reporter:label="Call Number Link" name="call_number" reporter:datatype="link"/>
12000 <field reporter:label="Call Number Label" name="call_number_label" reporter:datatype="text"/>
12001 <field reporter:label="Call Number Dewey/Prefix" name="dewey" reporter:datatype="text"/>
12002 <field reporter:label="Patron Link" name="patron_id" reporter:datatype="link"/>
12003 <field reporter:label="Patron Home Library Link" name="patron_home_lib" reporter:datatype="link"/>
12004 <field reporter:label="Patron Home Library Short (Policy) Name" name="patron_home_lib_shortname" reporter:datatype="text"/>
12005 <field reporter:label="Patron County" name="patron_county" reporter:datatype="text"/>
12006 <field reporter:label="Patron City" name="patron_city" reporter:datatype="text"/>
12007 <field reporter:label="Patron ZIP Code" name="patron_zip" reporter:datatype="text"/>
12008 <field reporter:label="Legacy CAT1 Link" name="stat_cat_1" reporter:datatype="link"/>
12009 <field reporter:label="Legacy CAT2 Link" name="stat_cat_2" reporter:datatype="link"/>
12010 <field reporter:label="Dewey Range - Tens" name="dewey_range_tens" reporter:datatype="text"/>
12011 <field reporter:label="Dewey Range - Hundreds" name="dewey_range_hundreds" reporter:datatype="text"/>
12012 <field reporter:label="Dewey Block - Tens" name="dewey_block_tens" reporter:datatype="text"/>
12013 <field reporter:label="Dewey Block - Hundreds" name="dewey_block_hundreds" reporter:datatype="text"/>
12014 <field reporter:label="Legacy CAT1 Value" name="stat_cat_1_value" reporter:datatype="text"/>
12015 <field reporter:label="Legacy CAT2 Value" name="stat_cat_2_value" reporter:datatype="text"/>
12018 <link field="id" reltype="has_a" key="id" map="" class="circ"/>
12019 <link field="copy_id" reltype="has_a" key="id" map="" class="acp"/>
12020 <link field="patron_id" reltype="has_a" key="id" map="" class="au"/>
12021 <link field="circ_lib_id" reltype="has_a" key="id" map="" class="aou"/>
12022 <link field="call_number" reltype="has_a" key="id" map="" class="acn"/>
12023 <link field="patron_home_lib" reltype="has_a" key="id" map="" class="aou"/>
12024 <link field="stat_cat_1" reltype="has_a" key="id" map="" class="rsce1"/>
12025 <link field="stat_cat_2" reltype="has_a" key="id" map="" class="rsce2"/>
12029 <class id="rsce1" controller="open-ils.reporter-store open-ils.cstore" oils_obj:fieldmapper="reporter::legacy_cat1" oils_persist:tablename="reporter.legacy_cat1" reporter:label="CAT1 Entry">
12030 <fields oils_persist:primary="id">
12031 <field reporter:label="Entry ID" name="id" reporter:selector="value" reporter:datatype="id" />
12032 <field reporter:label="Entry Owner" name="owner" reporter:datatype="link"/>
12033 <field reporter:label="Entry Value" name="value" reporter:datatype="text"/>
12036 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
12040 <class id="rsce2" controller="open-ils.reporter-store open-ils.cstore" oils_obj:fieldmapper="reporter::legacy_cat2" oils_persist:tablename="reporter.legacy_cat2" reporter:label="CAT2 Entry">
12041 <fields oils_persist:primary="id">
12042 <field reporter:label="Entry ID" name="id" reporter:selector="value" reporter:datatype="id" />
12043 <field reporter:label="Entry Owner" name="owner" reporter:datatype="link"/>
12044 <field reporter:label="Entry Value" name="value" reporter:datatype="text"/>
12047 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
12051 <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">
12052 <fields oils_persist:primary="id">
12053 <field reporter:label="Transaction ID" name="id" reporter:datatype="id" />
12055 <field reporter:label="Billing Location Short (Policy) Name" name="billing_location_shortname" reporter:datatype="text"/>
12056 <field reporter:label="Billing Location Name" name="billing_location_name" reporter:datatype="text"/>
12057 <field reporter:label="Billing Location Link" name="billing_location" reporter:datatype="org_unit"/>
12059 <field reporter:label="User Home Library Short (Policy) Name" name="usr_home_ou_shortname" reporter:datatype="text"/>
12060 <field reporter:label="User Home Library Name" name="usr_home_ou_name" reporter:datatype="text"/>
12061 <field reporter:label="User Home Library Link" name="usr_home_ou" reporter:datatype="org_unit"/>
12063 <field reporter:label="User Barcode" name="barcode" reporter:datatype="text"/>
12064 <field reporter:label="User Link" name="usr" reporter:datatype="link"/>
12066 <field reporter:label="Transaction Start Date/Time" name="xact_start" reporter:datatype="timestamp"/>
12067 <field reporter:label="Transaction End Date/Time" name="xact_finish" reporter:datatype="timestamp"/>
12068 <field reporter:label="Transaction Type" name="xact_type" reporter:datatype="text"/>
12070 <field reporter:label="Total Paid" name="total_paid" reporter:datatype="money"/>
12071 <field reporter:label="Total Billed" name="total_owed" reporter:datatype="money"/>
12073 <field reporter:label="Last Payment Date/Time" name="last_payment_ts" reporter:datatype="timestamp"/>
12074 <field reporter:label="Last Payment Note" name="last_payment_note" reporter:datatype="text"/>
12075 <field reporter:label="Last Payment Type" name="last_payment_type" reporter:datatype="text"/>
12077 <field reporter:label="Last Billing Date/Time" name="last_billing_ts" reporter:datatype="timestamp"/>
12078 <field reporter:label="Last Billing Note" name="last_billing_note" reporter:datatype="text"/>
12079 <field reporter:label="Last Billing Type" name="last_billing_type" reporter:datatype="text"/>
12081 <field reporter:label="User Age Demographic" name="demographic_general_division" reporter:datatype="text"/>
12082 <field reporter:label="User County" name="patron_county" reporter:datatype="text"/>
12083 <field reporter:label="User City" name="patron_city" reporter:datatype="text"/>
12084 <field reporter:label="User ZIP Code" name="patron_zip" reporter:datatype="text"/>
12086 <field reporter:label="Balance Owed" name="balance_owed" reporter:datatype="money"/>
12087 <field reporter:label="User Profile Group" name="profile_group" reporter:datatype="text"/>
12091 <link field="id" reltype="has_a" key="id" map="" class="mbt"/>
12092 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
12093 <link field="billing_location" reltype="has_a" key="id" map="" class="aou"/>
12094 <link field="usr_home_ou" reltype="has_a" key="id" map="" class="aou"/>
12098 <class id="acrlid" controller="open-ils.cstore" oils_obj:fieldmapper="acq::claim_ready_lineitem_detail" oils_persist:readonly="true" reporter:label="Claim Ready Lineitem Details">
12099 <oils_persist:source_definition><![CDATA[
12102 po.ordering_agency AS ordering_agency,
12103 po.id AS purchase_order,
12105 lid.id AS lineitem_detail,
12106 cpa.id AS claim_policy_action
12108 acq.lineitem_detail lid
12109 JOIN acq.lineitem li ON (li.id = lid.lineitem)
12110 JOIN acq.purchase_order po ON (po.id = li.purchase_order)
12111 JOIN acq.claim_policy cp ON (li.claim_policy = cp.id)
12112 JOIN acq.claim_policy_action cpa ON (
12113 cpa.claim_policy = cp.id
12115 -- we only care about claim policy actions whose claim
12116 -- interval we'd reached or exceeded
12117 AND (NOW() - cpa.action_interval) > po.order_date
12119 -- filter out all claim policy actions where claim events
12120 -- have occurred on or after the action's action_interval
12124 acq.claim_event evt
12125 JOIN acq.claim claim ON (
12126 claim.id = evt.claim
12127 AND claim.lineitem_detail = lid.id
12130 evt.event_date >= (po.order_date + cpa.action_interval)
12134 lid.cancel_reason IS NULL
12135 AND li.cancel_reason IS NULL -- belt/suspenders
12136 AND po.cancel_reason IS NULL -- belt/suspenders
12137 AND lid.recv_time IS NULL
12138 AND po.state = 'on-order'
12139 ORDER BY 1, 2, 3, 4, 5
12141 ]]></oils_persist:source_definition>
12143 <field reporter:label="Ordering Agency" name="ordering_agency" reporter:datatype="link"/>
12144 <field reporter:label="Purchase Order" name="purchase_order" reporter:datatype="link"/>
12145 <field reporter:label="Lineitem" name="lineitem" reporter:datatype="link"/>
12146 <field reporter:label="Lineitem Detail" name="lineitem_detail" reporter:datatype="link"/>
12147 <field reporter:label="Claim Policy Action" name="claim_policy_action" reporter:datatype="link"/>
12150 <link field="ordering_agency" reltype="has_a" key="id" map="" class="aou"/>
12151 <link field="purchase_order" reltype="has_a" key="id" map="" class="acqpo"/>
12152 <link field="lineitem" reltype="has_a" key="id" map="" class="jub"/>
12153 <link field="lineitem_detail" reltype="has_a" key="id" map="" class="acqlid"/>
12154 <link field="claim_policy_action" reltype="has_a" key="id" map="" class="acqclpa"/>
12157 <class id="acqlisum" controller="open-ils.cstore" oils_obj:fieldmapper="acq::lineitem_summary" oils_persist:readonly="true" reporter:label="Lineitem Summary" oils_persist:tablename="acq.lineitem_summary">
12158 <fields oils_persist:primary="lineitem" oils_persist:sequence="acq.lineitem_id_seq">
12159 <field reporter:label="Lineitem" name="lineitem" reporter:datatype="link"/>
12160 <field reporter:label="Item Count" name="item_count" reporter:datatype="int"/>
12161 <field reporter:label="Receive Count" name="recv_count" reporter:datatype="int"/>
12162 <field reporter:label="Cancel Count" name="cancel_count" reporter:datatype="int"/>
12163 <field reporter:label="Delay Count" name="delay_count" reporter:datatype="int"/>
12164 <field reporter:label="Invoice Count" name="invoice_count" reporter:datatype="int"/>
12165 <field reporter:label="Claim Count" name="claim_count" reporter:datatype="int"/>
12166 <field reporter:label="Estimated Amount" name="estimated_amount" reporter:datatype="money"/>
12167 <field reporter:label="Encumbrance Amount" name="encumbrance_amount" reporter:datatype="money"/>
12168 <field reporter:label="Paid Amount" name="paid_amount" reporter:datatype="money"/>
12171 <link field="lineitem" reltype="has_a" key="id" map="" class="jub"/>
12174 <class id="acqlisumi" controller="open-ils.cstore" oils_obj:fieldmapper="acq::lineitem_summary_invoiceable" oils_persist:readonly="true" reporter:label="Invoiceable Lineitem Summary">
12175 <oils_persist:source_definition><![CDATA[
12176 SELECT * FROM acq.lineitem_summary
12177 WHERE item_count > (invoice_count + cancel_count)
12178 ]]></oils_persist:source_definition>
12179 <fields oils_persist:primary="lineitem" oils_persist:sequence="acq.lineitem_id_seq">
12180 <field reporter:label="Lineitem" name="lineitem" reporter:datatype="link"/>
12181 <field reporter:label="Item Count" name="item_count" reporter:datatype="int"/>
12182 <field reporter:label="Receive Count" name="recv_count" reporter:datatype="int"/>
12183 <field reporter:label="Cancel Count" name="cancel_count" reporter:datatype="int"/>
12184 <field reporter:label="Delay Count" name="delay_count" reporter:datatype="int"/>
12185 <field reporter:label="Invoice Count" name="invoice_count" reporter:datatype="int"/>
12186 <field reporter:label="Claim Count" name="claim_count" reporter:datatype="int"/>
12187 <field reporter:label="Estimated Amount" name="estimated_amount" reporter:datatype="money"/>
12188 <field reporter:label="Encumbrance Amount" name="encumbrance_amount" reporter:datatype="money"/>
12189 <field reporter:label="Paid Amount" name="paid_amount" reporter:datatype="money"/>
12192 <link field="lineitem" reltype="has_a" key="id" map="" class="jub"/>
12195 <class id="iatc" controller="open-ils.reporter-store" oils_obj:fieldmapper="action::intersystem_transit_copy" oils_persist:readonly="true" reporter:core="true" reporter:label="Inter-system Copy Transit">
12196 <oils_persist:source_definition><![CDATA[
12199 FROM action.transit_copy t
12200 JOIN actor.org_unit AS s ON (t.source = s.id)
12201 JOIN actor.org_unit AS d ON (t.dest = d.id)
12202 WHERE s.parent_ou <> d.parent_ou
12204 ]]></oils_persist:source_definition>
12205 <fields oils_persist:primary="id" oils_persist:sequence="action.transit_copy_id_seq">
12206 <field reporter:label="Pretransit Copy Status" name="copy_status" reporter:datatype="link"/>
12207 <field reporter:label="Destination" name="dest" reporter:datatype="link"/>
12208 <field reporter:label="Receive Date/Time" name="dest_recv_time" reporter:datatype="timestamp"/>
12209 <field reporter:label="Transit ID" name="id" reporter:datatype="id"/>
12210 <field reporter:label="Is Persistent? (unused)" name="persistant_transfer" reporter:datatype="bool"/>
12211 <field reporter:label="Previous Hop (unused)" name="prev_hop" reporter:datatype="link"/>
12212 <field reporter:label="Source" name="source" reporter:datatype="link"/>
12213 <field reporter:label="Send Date/Time" name="source_send_time" reporter:datatype="timestamp"/>
12214 <field reporter:label="Transited Copy" name="target_copy" reporter:datatype="link"/>
12215 <field reporter:label="Hold Transit" name="hold_transit_copy" oils_persist:virtual="true" reporter:datatype="link"/>
12216 <field reporter:label="Cancel Date/Time" name="cancel_time" reporter:datatype="timestamp"/>
12219 <link field="hold_transit_copy" reltype="might_have" key="id" map="" class="ahtc"/>
12220 <link field="source" reltype="has_a" key="id" map="" class="aou"/>
12221 <link field="copy_status" reltype="has_a" key="id" map="" class="ccs"/>
12222 <link field="dest" reltype="has_a" key="id" map="" class="aou"/>
12223 <link field="target_copy" reltype="has_a" key="id" map="" class="acp"/>
12224 <link field="prev_hop" reltype="has_a" key="id" map="" class="atc"/>
12228 <class id="circbyyr" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="action::circ_counts_by_year" oils_persist:readonly="true">
12229 <oils_persist:source_definition><![CDATA[
12231 SELECT copy, SUM(count) AS count, year, is_renewal FROM (
12235 EXTRACT(YEAR FROM circ.xact_start) AS year,
12236 (phone_renewal OR desk_renewal OR opac_renewal) as is_renewal
12239 JOIN action.circulation circ ON (cp.id = circ.target_copy)
12245 EXTRACT(YEAR FROM circ.xact_start) AS year,
12246 (phone_renewal OR desk_renewal OR opac_renewal) as is_renewal
12249 JOIN action.aged_circulation circ ON (cp.id = circ.target_copy)
12256 false as is_renewal
12258 extend_reporter.legacy_circ_count
12259 )x GROUP BY 1, 3, 4
12261 ]]></oils_persist:source_definition>
12263 <field reporter:label="Copy ID" name="copy" reporter:datatype="link"/>
12264 <field reporter:label="Count" name="count" reporter:datatype="int"/>
12265 <field reporter:label="Year" name="year" reporter:datatype="int"/>
12266 <field reporter:label="Renewal" name="is_renewal" reporter:datatype="bool"/>
12269 <link field="copy" reltype="has_a" key="id" map="" class="acp"/>
12271 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
12278 <class id="rodcirc" controller="open-ils.reporter-store" oils_obj:fieldmapper="reporter::overdue_circs" oils_persist:tablename="reporter.overdue_circs" reporter:core="true" reporter:label="Overdue Circulation">
12279 <fields oils_persist:primary="id" oils_persist:sequence="money.billable_xact_id_seq">
12280 <field reporter:label="Check In Library" name="checkin_lib" reporter:datatype="org_unit"/>
12281 <field reporter:label="Check In Staff" name="checkin_staff" reporter:datatype="link"/>
12282 <field reporter:label="Check In Date/Time" name="checkin_time" reporter:datatype="timestamp"/>
12283 <field reporter:label="Circulating Library" name="circ_lib" reporter:datatype="org_unit"/>
12284 <field reporter:label="Circulating Staff" name="circ_staff" reporter:datatype="link"/>
12285 <field reporter:label="Desk Renewal" name="desk_renewal" reporter:datatype="bool"/>
12286 <field reporter:label="Due Date/Time" name="due_date" reporter:datatype="timestamp"/>
12287 <field reporter:label="Circulation Duration" name="duration" reporter:datatype="interval"/>
12288 <field reporter:label="Circ Duration Rule" name="duration_rule" reporter:datatype="link"/>
12289 <field reporter:label="Fine Interval" name="fine_interval" reporter:datatype="interval"/>
12290 <field reporter:label="Circ ID" name="id" reporter:datatype="id" />
12291 <field reporter:label="Max Fine Amount" name="max_fine" reporter:datatype="money" />
12292 <field reporter:label="Max Fine Rule" name="max_fine_rule" reporter:datatype="link"/>
12293 <field reporter:label="OPAC Renewal" name="opac_renewal" reporter:datatype="bool"/>
12294 <field reporter:label="Phone Renewal" name="phone_renewal" reporter:datatype="bool"/>
12295 <field reporter:label="Recurring Fine Amount" name="recurring_fine" reporter:datatype="money" />
12296 <field reporter:label="Recurring Fine Rule" name="recurring_fine_rule" reporter:datatype="link"/>
12297 <field reporter:label="Remaining Renewals" name="renewal_remaining" reporter:datatype="int" />
12298 <field reporter:label="Fine Stop Reason" name="stop_fines" reporter:datatype="text"/>
12299 <field reporter:label="Fine Stop Date/Time" name="stop_fines_time" reporter:datatype="timestamp"/>
12300 <field reporter:label="Circulating Item" name="target_copy" reporter:datatype="link"/>
12301 <field reporter:label="Patron" name="usr" reporter:datatype="link"/>
12302 <field reporter:label="Transaction Finish Date/Time" name="xact_finish" reporter:datatype="timestamp" />
12303 <field reporter:label="Checkout Date/Time" name="xact_start" reporter:datatype="timestamp" />
12304 <field reporter:label="Transaction Billings" name="billings" oils_persist:virtual="true" reporter:datatype="link"/>
12305 <field reporter:label="Transaction Payments" name="payments" oils_persist:virtual="true" reporter:datatype="link"/>
12306 <field reporter:label="Base Transaction" name="billable_transaction" oils_persist:virtual="true" reporter:datatype="link"/>
12307 <field reporter:label="Circulation Type" name="circ_type" oils_persist:virtual="true" reporter:datatype="link"/>
12308 <field reporter:label="Billing Totals" name="billing_total" oils_persist:virtual="true" reporter:datatype="link"/>
12309 <field reporter:label="Payment Totals" name="payment_total" oils_persist:virtual="true" reporter:datatype="link"/>
12312 <link field="billable_transaction" reltype="might_have" key="id" map="" class="mbt"/>
12313 <link field="circ_staff" reltype="has_a" key="id" map="" class="au"/>
12314 <link field="checkin_lib" reltype="has_a" key="id" map="" class="aou"/>
12315 <link field="target_copy" reltype="has_a" key="id" map="" class="acp"/>
12316 <link field="checkin_staff" reltype="has_a" key="id" map="" class="au"/>
12317 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
12318 <link field="circ_lib" reltype="has_a" key="id" map="" class="aou"/>
12319 <link field="payments" reltype="has_many" key="xact" map="" class="mp"/>
12320 <link field="billings" reltype="has_many" key="xact" map="" class="mb"/>
12321 <link field="duration_rule" reltype="has_a" key="name" map="" class="crcd"/>
12322 <link field="max_fine_rule" reltype="has_a" key="name" map="" class="crmf"/>
12323 <link field="recurring_fine_rule" reltype="has_a" key="name" map="" class="crrf"/>
12324 <link field="circ_type" reltype="might_have" key="id" map="" class="rcirct"/>
12325 <link field="billing_total" reltype="might_have" key="xact" map="" class="rxbt"/>
12326 <link field="payment_total" reltype="might_have" key="xact" map="" class="rxpt"/>
12330 <class id="rocit" controller="open-ils.reporter-store" oils_obj:fieldmapper="reporter::classic_item_list" oils_persist:tablename="reporter.classic_item_list" reporter:core="true" reporter:label="Classic Item List">
12331 <fields oils_persist:primary="id">
12332 <field reporter:label="Title" name="title" reporter:datatype="text"/>
12333 <field reporter:label="Author" name="author" reporter:datatype="text"/>
12334 <field reporter:label="Pubdate" name="pubdate" reporter:datatype="text"/>
12335 <field reporter:label="Copy ID" name="id" reporter:datatype="id"/>
12336 <field reporter:label="Price" name="price" reporter:datatype="money"/>
12337 <field reporter:label="Barcode" name="barcode" reporter:datatype="text"/>
12338 <field reporter:label="Callnumber Label" name="call_number_label" reporter:datatype="text"/>
12339 <field reporter:label="Dewy Tens" name="dewey_block_tens" reporter:datatype="text"/>
12340 <field reporter:label="Dewy Hundreds" name="dewey_block_hundreds" reporter:datatype="text"/>
12341 <field reporter:label="Use Count" name="use_count" reporter:datatype="int"/>
12342 <field reporter:label="Circ Modifier" name="circ_modifier" reporter:datatype="text"/>
12343 <field reporter:label="Shelving Location Name" name="shelving_location" reporter:datatype="text"/>
12344 <field reporter:label="Legacy Stat Cat 1" name="stat_cat_1" reporter:datatype="link"/>
12345 <field reporter:label="Legacy Stat Cat 2" name="stat_cat_2" reporter:datatype="link"/>
12346 <field reporter:label="Legacy Stat Cat 1 Value" name="stat_cat_1_value" reporter:datatype="text"/>
12347 <field reporter:label="Legacy Stat Cat 2 Value" name="stat_cat_2_value" reporter:datatype="text"/>
12348 <field reporter:label="Edit Date" name="edit_date" reporter:datatype="timestamp"/>
12349 <field reporter:label="Create Date" name="create_date" reporter:datatype="timestamp"/>
12350 <field reporter:label="Owning Lib Name" name="owning_lib_name" reporter:datatype="text"/>
12351 <field reporter:label="Circ Lib Name" name="circ_lib_name" reporter:datatype="text"/>
12352 <field reporter:label="Owning Lib" name="owning_lib" reporter:datatype="link"/>
12353 <field reporter:label="Circ Lib" name="circ_lib" reporter:datatype="link"/>
12354 <field reporter:label="Creator" name="creator" reporter:datatype="link"/>
12355 <field reporter:label="Age Protection" name="age_protect" reporter:datatype="link"/>
12356 <field reporter:label="OPAC Visible" name="opac_visible" reporter:datatype="bool"/>
12357 <field reporter:label="Reference" name="ref" reporter:datatype="bool"/>
12358 <field reporter:label="Deposit Amount" name="deposit_amount" reporter:datatype="text"/>
12359 <field reporter:label="Deleted" name="deleted" reporter:datatype="bool"/>
12360 <field reporter:label="TCN" name="tcn_value" reporter:datatype="text"/>
12361 <field reporter:label="Status" name="status" reporter:datatype="link"/>
12362 <field reporter:label="Stop Fines Reason" name="stop_fines" reporter:datatype="text"/>
12363 <field reporter:label="Due Date" name="due_date" reporter:datatype="timestamp"/>
12364 <field reporter:label="Patron Barcode" name="patron_barcode" reporter:datatype="text"/>
12365 <field reporter:label="Patron Name" name="patron_name" reporter:datatype="text"/>
12368 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
12369 <link field="id" reltype="has_a" key="id" map="" class="acp"/>
12370 <link field="circ_lib" reltype="has_a" key="id" map="" class="aou"/>
12371 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
12372 <link field="age_protect" reltype="has_a" key="id" map="" class="crahp"/>
12373 <link field="status" reltype="has_a" key="id" map="" class="ccs"/>
12374 <link field="stat_cat_1" reltype="might_have" key="id" map="" class="rsce1"/>
12375 <link field="stat_cat_2" reltype="might_have" key="id" map="" class="rsce2"/>
12379 <class id="rmocbbol" controller="open-ils.reporter-store" oils_obj:fieldmapper="reporter::money::open_circ_balance_by_owning_lib" oils_persist:tablename="money.open_circ_balance_by_owning_lib" reporter:core="true" reporter:label="Open Circulation Billing by Owning Library">
12380 <fields oils_persist:primary="id">
12381 <field reporter:label="Circulation ID" name="id" reporter:datatype="link"/>
12382 <field reporter:label="Owning Library" name="owning_lib" reporter:datatype="org_unit"/>
12383 <field reporter:label="Billing Type" name="billing_type" reporter:datatype="text"/>
12384 <field reporter:label="Total Billed" name="billed" reporter:datatype="money"/>
12387 <link field="id" reltype="has_a" key="id" map="" class="circ"/>
12388 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
12392 <class id="rmobbol" controller="open-ils.reporter-store" oils_obj:fieldmapper="reporter::money::open_balance_by_owning_lib" oils_persist:tablename="money.open_balance_by_owning_lib" reporter:core="true" reporter:label="Open Circulation Balance by Owning Library">
12393 <fields oils_persist:primary="owning_lib">
12394 <field reporter:label="Owning Library" name="owning_lib" reporter:datatype="org_unit"/>
12395 <field reporter:label="Billing Types" name="billing_types" reporter:datatype="text"/>
12396 <field reporter:label="Balance" name="balance" reporter:datatype="money"/>
12399 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
12403 <class id="rmocbbcol" controller="open-ils.reporter-store" oils_obj:fieldmapper="reporter::money::open_circ_balance_by_circ_and_owning_lib" oils_persist:tablename="money.open_circ_balance_by_circ_and_owning_lib" reporter:core="true" reporter:label="Open Circulation Billing by Circulating Library and Owning Library">
12404 <fields oils_persist:primary="id">
12405 <field reporter:label="Circulation ID" name="id" reporter:datatype="link"/>
12406 <field reporter:label="Circulating Library" name="circ_lib" reporter:datatype="org_unit"/>
12407 <field reporter:label="Owning Library" name="owning_lib" reporter:datatype="org_unit"/>
12408 <field reporter:label="Billing Type" name="billing_type" reporter:datatype="text"/>
12409 <field reporter:label="Total Billed" name="billed" reporter:datatype="money"/>
12412 <link field="id" reltype="has_a" key="id" map="" class="circ"/>
12413 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
12414 <link field="circ_lib" reltype="has_a" key="id" map="" class="aou"/>
12418 <class id="rmobbcol" controller="open-ils.reporter-store" oils_obj:fieldmapper="reporter::money::open_balance_by_circ_and_owning_lib" oils_persist:tablename="money.open_balance_by_circ_and_owning_lib" reporter:core="true" reporter:label="Open Circulation Balance by Circulating Library and Owning Library">
12419 <fields oils_persist:primary="circ_lib">
12420 <field reporter:label="Circulating Library" name="circ_lib" reporter:datatype="org_unit"/>
12421 <field reporter:label="Owning Library" name="owning_lib" reporter:datatype="org_unit"/>
12422 <field reporter:label="Billing Types" name="billing_types" reporter:datatype="text"/>
12423 <field reporter:label="Balance" name="balance" reporter:datatype="money"/>
12426 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
12427 <link field="circ_lib" reltype="has_a" key="id" map="" class="aou"/>
12431 <class id="rmocbbhol" controller="open-ils.reporter-store" oils_obj:fieldmapper="reporter::money::open_circ_balance_by_usr_home_and_owning_lib" oils_persist:tablename="money.open_circ_balance_by_usr_home_and_owning_lib" reporter:core="true" reporter:label="Open Circulation Billing by User Home Library and Owning Library">
12432 <fields oils_persist:primary="id">
12433 <field reporter:label="Circulation ID" name="id" reporter:datatype="link"/>
12434 <field reporter:label="User Home Library" name="home_ou" reporter:datatype="org_unit"/>
12435 <field reporter:label="Owning Library" name="owning_lib" reporter:datatype="org_unit"/>
12436 <field reporter:label="Billing Type" name="billing_type" reporter:datatype="text"/>
12437 <field reporter:label="Total Billed" name="billed" reporter:datatype="money"/>
12440 <link field="id" reltype="has_a" key="id" map="" class="circ"/>
12441 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
12442 <link field="home_ou" reltype="has_a" key="id" map="" class="aou"/>
12446 <class id="rmobbhol" controller="open-ils.reporter-store" oils_obj:fieldmapper="reporter::money::open_balance_by_usr_home_and_owning_lib" oils_persist:tablename="money.open_balance_by_usr_home_and_owning_lib" reporter:core="true" reporter:label="Open Circulation Balance by User Home Library and Owning Library">
12447 <fields oils_persist:primary="home_ou">
12448 <field reporter:label="User Home Library" name="home_ou" reporter:datatype="org_unit"/>
12449 <field reporter:label="Owning Library" name="owning_lib" reporter:datatype="org_unit"/>
12450 <field reporter:label="Billing Types" name="billing_types" reporter:datatype="text"/>
12451 <field reporter:label="Balance" name="balance" reporter:datatype="money"/>
12454 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
12455 <link field="home_ou" reltype="has_a" key="id" map="" class="aou"/>
12458 <class id="acqft" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="acq::fund_tag" oils_persist:tablename="acq.fund_tag" reporter:label="Fund Tag">
12459 <fields oils_persist:primary="id" oils_persist:sequence="acq.fund_tag_id_seq">
12460 <field reporter:label="Fund Tag ID" name="id" reporter:datatype="id"/>
12461 <field reporter:label="Fund Tag Owner" name="owner" reporter:datatype="org_unit"/>
12462 <field reporter:label="Fund Tag Name" name="name" reporter:datatype="text"/>
12463 <field reporter:label="Map Entries" name="map_entries" oils_persist:virtual="true" reporter:datatype="link"/>
12466 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
12467 <link field="map_entries" reltype="has_many" key="fund" map="" class="acqftm"/>
12469 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
12471 <create permission="ADMIN_ACQ_FUND_TAG" context_field="owner"/>
12472 <retrieve permission="ADMIN_ACQ_FUND_TAG ADMIN_ACQ_FUND VIEW_FUND MANAGE_FUND" context_field="owner"/>
12473 <update permission="ADMIN_ACQ_FUND_TAG" context_field="owner"/>
12474 <delete permission="ADMIN_ACQ_FUND_TAG" context_field="owner"/>
12478 <class id="acqftm" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="acq::fund_tag_map" oils_persist:tablename="acq.fund_tag_map" reporter:label="Fund Tag Map">
12479 <fields oils_persist:primary="id" oils_persist:sequence="acq.fund_tag_map_id_seq">
12480 <field reporter:label="Map Entry ID" name="id" reporter:datatype="id"/>
12481 <field reporter:label="Fund ID" name="fund" reporter:datatype="link"/>
12482 <field reporter:label="Tag ID" name="tag" reporter:datatype="link"/>
12485 <link field="fund" reltype="has_a" key="id" map="" class="acqf"/>
12486 <link field="tag" reltype="has_a" key="id" map="" class="acqft"/>
12488 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
12490 <create permission="ADMIN_ACQ_FUND_TAG">
12491 <context link="tag" field="owner"/>
12493 <retrieve permission="ADMIN_ACQ_FUND_TAG ADMIN_ACQ_FUND VIEW_FUND MANAGE_FUND">
12494 <context link="tag" field="owner"/>
12496 <update permission="ADMIN_ACQ_FUND_TAG">
12497 <context link="tag" field="owner"/>
12499 <delete permission="ADMIN_ACQ_FUND_TAG">
12500 <context link="tag" field="owner"/>
12505 <class id="acqmapinv" controller="open-ils.cstore" oils_obj:fieldmapper="acq::map_to_invoice" reporter:label="Acq Map to Invoice View" oils_persist:readonly="true">
12506 <oils_persist:source_definition><![CDATA[
12508 poi.purchase_order AS purchase_order,
12509 ii.invoice AS invoice,
12515 JOIN acq.invoice_item ii ON (ii.po_item = poi.id)
12517 jub.purchase_order AS purchase_order,
12518 ie.invoice AS invoice,
12519 jub.id AS lineitem,
12521 jub.picklist AS picklist
12524 JOIN acq.invoice_entry ie ON (ie.lineitem = jub.id)
12526 ii.purchase_order AS purchase_order,
12527 ii.invoice AS invoice,
12532 acq.invoice_item ii
12533 WHERE ii.po_item IS NULL
12535 ie.purchase_order AS purchase_order,
12536 ie.invoice AS invoice,
12541 acq.invoice_entry ie
12542 WHERE ie.lineitem IS NULL
12544 NULL AS purchase_order,
12546 jub.id AS lineitem,
12548 jub.picklist AS picklist
12551 WHERE jub.purchase_order IS NULL
12552 ]]></oils_persist:source_definition>
12554 <field reporter:label="Purchase Order ID" name="purchase_order" reporter:datatype="link"/>
12555 <field reporter:label="Lineitem ID" name="lineitem" reporter:datatype="link"/>
12556 <field reporter:label="Invoice ID" name="invoice" reporter:datatype="link"/>
12557 <field reporter:label="Purchase Order Item ID" name="po_item" reporter:datatype="link"/>
12558 <field reporter:label="Picklist ID" name="picklist" reporter:datatype="link"/>
12561 <link field="purchase_order" reltype="has_a" key="id" map="" class="acqpo" />
12562 <link field="lineitem" reltype="has_a" key="id" map="" class="jub" />
12563 <link field="invoice" reltype="has_a" key="id" map="" class="acqinv" />
12564 <link field="po_item" reltype="has_a" key="id" map="" class="acqpoi" />
12565 <link field="picklist" reltype="has_a" key="id" map="" class="acqpl" />
12568 <class id="cbc" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::barcode_completion" oils_persist:tablename="config.barcode_completion" reporter:label="Barcode Completions">
12569 <fields oils_persist:primary="id" oils_persist:sequence="config.barcode_completion_id_seq">
12570 <field reporter:label="ID" name="id" reporter:datatype="id"/>
12571 <field reporter:label="Active" name="active" reporter:datatype="bool"/>
12572 <field reporter:label="Owner" name="org_unit" reporter:datatype="org_unit"/>
12573 <field reporter:label="Prefix" name="prefix" reporter:datatype="text"/>
12574 <field reporter:label="Suffix" name="suffix" reporter:datatype="text"/>
12575 <field reporter:label="Length" name="length" reporter:datatype="int"/>
12576 <field reporter:label="Padding" name="padding" reporter:datatype="text"/>
12577 <field reporter:label="Padding At End" name="padding_end" reporter:datatype="bool"/>
12578 <field reporter:label="Applies to Items" name="asset" reporter:datatype="bool"/>
12579 <field reporter:label="Applies to Users" name="actor" reporter:datatype="bool"/>
12582 <link field="org_unit" reltype="has_a" key="id" map="" class="aou"/>
12584 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
12586 <create permission="UPDATE_ORG_UNIT_SETTING_ALL" context_field="org_unit"/>
12588 <update permission="UPDATE_ORG_UNIT_SETTING_ALL" context_field="org_unit"/>
12589 <delete permission="UPDATE_ORG_UNIT_SETTING_ALL" context_field="org_unit"/>
12594 <class id="coustl" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::org_unit_setting_type_log" oils_persist:tablename="config.org_unit_setting_type_log" reporter:label="Organizational Unit Setting Type Log">
12595 <fields oils_persist:primary="id" oils_persist:sequence="config.org_unit_setting_type_log_id_seq">
12596 <field reporter:label="ID" name="id" reporter:datatype="id"/>
12597 <field name="date_applied" reporter:datatype="timestamp"/>
12598 <field name="org" reporter:datatype="org_unit"/>
12599 <field name="original_value" reporter:datatype="text"/>
12600 <field name="new_value" reporter:datatype="text"/>
12601 <field name="field_name" reporter:datatype="link"/>
12604 <link field="field_name" reltype="has_a" key="name" map="" class="coust"/>
12605 <link field="org" reltype="has_a" key="id" map="" class="aou"/>
12607 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
12609 <create permission="ADMIN_ORG_UNIT_SETTING_TYPE" context_field="org"/>
12610 <retrieve permission="STAFF_LOGIN" context_field="org"/>
12611 <update permission="ADMIN_ORG_UNIT_SETTING_TYPE_LOG" context_field="org"/>
12612 <delete permission="ADMIN_ORG_UNIT_SETTING_TYPE_LOG" context_field="org"/>
12616 <class id="aaactsc" controller="open-ils.reporter-store" oils_obj:fieldmapper="action::archive_actor_stat_cat" oils_persist:tablename="action.archive_actor_stat_cat" reporter:label="Circ-Archived Patron Statistical Category Entries">
12617 <fields oils_persist:primary="id" oils_persist:sequence="action.archive_actor_stat_cat_id_seq">
12618 <field reporter:label="ID" name="id" reporter:datatype="id"/>
12619 <field reporter:label="Circ" name="xact" reporter:datatype="link"/>
12620 <field reporter:label="Statistical Category" name="stat_cat" reporter:datatype="link"/>
12621 <field reporter:label="Entry Value" name="value" reporter:datatype="text"/>
12624 <link field="xact" reltype="has_a" key="id" map="" class="combcirc"/>
12625 <link field="stat_cat" reltype="has_a" key="id" map="" class="actsc"/>
12628 <class id="aaasc" controller="open-ils.reporter-store" oils_obj:fieldmapper="action::archive_asset_stat_cat" oils_persist:tablename="action.archive_asset_stat_cat" reporter:label="Circ-Archived Copy Statistical Category Entries">
12629 <fields oils_persist:primary="id" oils_persist:sequence="action.archive_actor_stat_cat_id_seq">
12630 <field reporter:label="ID" name="id" reporter:datatype="id"/>
12631 <field reporter:label="Circ" name="xact" reporter:datatype="link"/>
12632 <field reporter:label="Statistical Category" name="stat_cat" reporter:datatype="link"/>
12633 <field reporter:label="Entry Value" name="value" reporter:datatype="text"/>
12636 <link field="xact" reltype="has_a" key="id" map="" class="combcirc"/>
12637 <link field="stat_cat" reltype="has_a" key="id" map="" class="asc"/>
12640 <class id="cfg" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::floating_group" oils_persist:tablename="config.floating_group" reporter:label="Floating Group">
12641 <fields oils_persist:primary="id" oils_persist:sequence="config.floating_group_id_seq">
12642 <field reporter:label="ID" name="id" reporter:selector="name" reporter:datatype="id"/>
12643 <field reporter:label="Name" name="name" reporter:datatype="text"/>
12644 <field reporter:label="Manual" name="manual" reporter:datatype="bool"/>
12645 <field reporter:label="Group Members" name="members" oils_persist:virtual="true" reporter:datatype="link"/>
12648 <link field="members" reltype="has_many" key="floating_group" class="cfgm"/>
12650 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
12652 <create permission="ADMIN_FLOAT_GROUPS" global_required="true"/>
12654 <update permission="ADMIN_FLOAT_GROUPS" global_required="true"/>
12655 <delete permission="ADMIN_FLOAT_GROUPS" global_required="true"/>
12659 <class id="cfgm" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::floating_group_member" oils_persist:tablename="config.floating_group_member" reporter:label="Floating Group Members">
12660 <fields oils_persist:primary="id" oils_persist:sequence="config.floating_group_member_id_seq">
12661 <field reporter:label="ID" name="id" reporter:datatype="id"/>
12662 <field reporter:label="Floating Group" name="floating_group" reporter:datatype="link"/>
12663 <field reporter:label="Org Unit" name="org_unit" reporter:datatype="link"/>
12664 <field reporter:label="Stop Depth" name="stop_depth" reporter:datatype="int"/>
12665 <field reporter:label="Max Depth" name="max_depth" reporter:datatype="int"/>
12666 <field reporter:label="Exclude" name="exclude" reporter:datatype="bool"/>
12669 <link field="floating_group" reltype="has_a" key="id" class="cfg"/>
12670 <link field="org_unit" reltype="has_a" key="id" class="aou"/>
12672 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
12674 <create permission="ADMIN_FLOAT_GROUPS" global_required="true"/>
12676 <update permission="ADMIN_FLOAT_GROUPS" global_required="true"/>
12677 <delete permission="ADMIN_FLOAT_GROUPS" global_required="true"/>
12681 <class id="cctt" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::copy_tag_type" oils_persist:tablename="config.copy_tag_type" reporter:label="Copy Tag Types" oils_persist:field_safe="true">
12682 <fields oils_persist:primary="code">
12683 <field reporter:label="Code" name="code" reporter:selector="label" reporter:datatype="id" oils_obj:required="true"/>
12684 <field reporter:label="Label" name="label" reporter:datatype="text" oils_obj:required="true"/>
12685 <field reporter:label="Owner" name="owner" reporter:datatype="org_unit" oils_obj:required="true"/>
12688 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
12690 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
12692 <create permission="ADMIN_COPY_TAG_TYPES" context_field="owner"/>
12694 <update permission="ADMIN_COPY_TAG_TYPES" context_field="owner"/>
12695 <delete permission="ADMIN_COPY_TAG_TYPES" context_field="owner"/>
12699 <class id="acpt" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="asset::copy_tag" oils_persist:tablename="asset.copy_tag" reporter:label="Copy Tags" oils_persist:field_safe="true">
12700 <fields oils_persist:primary="id" oils_persist:sequence="asset.copy_tag_id_seq">
12701 <field reporter:label="ID" name="id" reporter:datatype="id"/>
12702 <field reporter:label="Copy Tag Type" name="tag_type" reporter:datatype="link"/>
12703 <field reporter:label="Label" name="label" reporter:datatype="text"/>
12704 <field reporter:label="Value" name="value" reporter:datatype="text"/>
12705 <field reporter:label="Staff Note" name="staff_note" reporter:datatype="text"/>
12706 <field reporter:label="Is OPAC Visible?" name="pub" reporter:datatype="bool"/>
12707 <field reporter:label="Owner" name="owner" reporter:datatype="org_unit" oils_obj:required="true"/>
12710 <link field="tag_type" reltype="has_a" key="code" map="" class="cctt"/>
12711 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
12713 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
12715 <create permission="ADMIN_COPY_TAG" context_field="owner"/>
12717 <update permission="ADMIN_COPY_TAG" context_field="owner"/>
12718 <delete permission="ADMIN_COPY_TAG" context_field="owner"/>
12722 <class id="acptcm" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="asset::copy_tag_copy_map" oils_persist:tablename="asset.copy_tag_copy_map" reporter:label="Copy Tag Copy Map" oils_persist:field_safe="true">
12723 <fields oils_persist:primary="id" oils_persist:sequence="asset.copy_tag_copy_map_id_seq">
12724 <field reporter:label="ID" name="id" reporter:datatype="id"/>
12725 <field reporter:label="Copy" name="copy" reporter:datatype="link"/>
12726 <field reporter:label="Tag" name="tag" reporter:datatype="link"/>
12729 <link field="copy" reltype="has_a" key="id" map="" class="acp"/>
12730 <link field="tag" reltype="has_a" key="id" map="" class="acpt"/>
12732 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
12734 <create permission="UPDATE_COPY">
12735 <context link="copy" field="circ_lib"/>
12738 <update permission="UPDATE_COPY">
12739 <context link="copy" field="circ_lib"/>
12741 <delete permission="UPDATE_COPY">
12742 <context link="copy" field="circ_lib"/>
12747 <class id="hasholdscount" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="action::has_holds_count" reporter:label="Copy Has Holds Count" oils_persist:readonly="true">
12748 <oils_persist:source_definition><![CDATA[
12749 SELECT ahcm.target_copy AS id,count(*) AS count
12751 action.hold_request ahr,
12752 action.hold_copy_map ahcm
12754 ahr.cancel_time IS NULL AND
12755 ahr.fulfillment_time IS NULL AND
12756 ahr.capture_time IS NULL AND
12758 GROUP BY ahcm.target_copy
12759 ]]></oils_persist:source_definition>
12760 <fields oils_persist:primary="id">
12761 <field reporter:label="Copy ID" name="id" reporter:datatype="id"/>
12762 <field reporter:label="Holds Count" name="count" reporter:datatype="text"/>
12764 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
12771 <class id="cwst" controller="open-ils.cstore open-ils.pcrud"
12772 oils_obj:fieldmapper="config::workstation_setting_type"
12773 oils_persist:tablename="config.workstation_setting_type"
12774 reporter:label="Workstation Setting Type">
12775 <fields oils_persist:primary="name">
12776 <field name="name" reporter:datatype="text"/>
12777 <field name="label" reporter:datatype="text" oils_persist:i18n="true"/>
12778 <field name="description" reporter:datatype="text" oils_persist:i18n="true"/>
12779 <field name="datatype" reporter:datatype="text"/>
12780 <field name="fm_class" reporter:datatype="text"/>
12781 <field name="grp" reporter:datatype="link"/>
12784 <link field="name" reltype="has_many" key="name" map="" class="aous"/>
12785 <link field="grp" reltype="has_a" key="name" map="" class="csg"/>
12787 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
12789 <create permission="ADMIN_WORKSTATION_SETTING_TYPE" global_required="true"/>
12791 <update permission="ADMIN_WORKSTATION_SETTING_TYPE" global_required="true"/>
12792 <delete permission="ADMIN_WORKSTATION_SETTING_TYPE" global_required="true"/>
12797 <!-- no pcrud access is granted for now, because it's assumed these
12798 setting values will be applied and retrived via the API. -->
12800 controller="open-ils.cstore"
12801 oils_obj:fieldmapper="actor::workstation_setting"
12802 oils_persist:tablename="actor.workstation_setting"
12803 reporter:label="Workstation Setting">
12804 <fields oils_persist:primary="id" oils_persist:sequence="actor.workstation_setting_id_seq">
12805 <field reporter:label="Setting ID" name="id" reporter:datatype="id" />
12806 <field reporter:label="Name" name="name" reporter:datatype="link"/>
12807 <field reporter:label="Value" name="value" reporter:datatype="text"/>
12808 <field reporter:label="Workstation" name="workstation" reporter:datatype="link"/>
12811 <link field="name" reltype="has_a" key="name" map="" class="cwst"/>
12812 <link field="workstation" reltype="has_a" key="id" map="" class="aws"/>
12816 <!-- ********************************************************************************************************************* -->
12820 vim:noet:ts=4:sw=4: