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="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">
2324 <fields oils_persist:primary="id" oils_persist:sequence="actor.usr_password_reset_id_seq">
2325 <field reporter:label="Request ID" name="id" reporter:datatype="id"/>
2326 <field reporter:label="UUID" name="uuid" reporter:datatype="text"/>
2327 <field reporter:label="User" name="usr" reporter:datatype="link"/>
2328 <field reporter:label="Request Time" name="request_time" reporter:datatype="timestamp"/>
2329 <field reporter:label="Was Reset?" name="has_been_reset" reporter:datatype="bool"/>
2332 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
2335 <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">
2336 <fields oils_persist:primary="id" oils_persist:sequence="actor.usr_setting_id_seq">
2337 <field reporter:label="Setting ID" name="id" reporter:datatype="id" />
2338 <field reporter:label="Name" name="name" reporter:datatype="link"/>
2339 <field reporter:label="User" name="usr" reporter:datatype="link"/>
2340 <field reporter:label="Value" name="value" reporter:datatype="text"/>
2343 <link field="name" reltype="has_a" key="name" map="" class="cust"/>
2344 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
2346 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2348 <retrieve permission="VIEW_USER">
2349 <context link="usr" field="home_ou" />
2354 <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">
2355 <fields oils_persist:primary="id" oils_persist:sequence="metabib.author_field_entry_id_seq">
2356 <field name="field" reporter:datatype="link"/>
2357 <field name="id" reporter:datatype="id" />
2358 <field name="source" reporter:datatype="link"/>
2359 <field name="value" reporter:datatype="text"/>
2362 <link field="source" reltype="has_a" key="id" map="" class="bre"/>
2363 <link field="field" reltype="has_a" key="id" map="" class="cmf"/>
2366 <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">
2367 <fields oils_persist:primary="id" oils_persist:sequence="action.in_house_use_id_seq">
2368 <field reporter:label="Use ID" name="id" reporter:datatype="id" />
2369 <field reporter:label="Item" name="item" reporter:datatype="int" />
2370 <field reporter:label="Using Library" name="org_unit" reporter:datatype="org_unit"/>
2371 <field reporter:label="Recording Staff" name="staff" reporter:datatype="link"/>
2372 <field reporter:label="Use Date/Time" name="use_time" reporter:datatype="timestamp"/>
2375 <link field="item" reltype="has_a" key="id" map="" class="acp"/>
2376 <link field="staff" reltype="has_a" key="id" map="" class="au"/>
2377 <link field="org_unit" reltype="has_a" key="id" map="" class="aou"/>
2379 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2385 <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">
2386 <fields oils_persist:primary="id" oils_persist:sequence="action.non_cat_in_house_use_id_seq">
2387 <field reporter:label="Use ID" name="id" reporter:datatype="id" />
2388 <field reporter:label="Item Type" name="item_type" reporter:datatype="link"/>
2389 <field reporter:label="Using Library" name="org_unit" reporter:datatype="org_unit"/>
2390 <field reporter:label="Recording Staff" name="staff" reporter:datatype="link"/>
2391 <field reporter:label="Use Date/Time" name="use_time" reporter:datatype="timestamp"/>
2394 <link field="item_type" reltype="has_a" key="id" map="" class="cnct"/>
2395 <link field="staff" reltype="has_a" key="id" map="" class="au"/>
2396 <link field="org_unit" reltype="has_a" key="id" map="" class="aou"/>
2398 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2404 <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">
2405 <fields oils_persist:primary="id" oils_persist:sequence="action.transit_copy_id_seq">
2406 <field reporter:label="Pretransit Copy Status" name="copy_status" reporter:datatype="bool"/>
2407 <field reporter:label="Destination" name="dest" reporter:datatype="link"/>
2408 <field reporter:label="Receive Date/Time" name="dest_recv_time" reporter:datatype="timestamp"/>
2409 <field reporter:label="Transit ID" name="id" reporter:datatype="id"/>
2410 <field reporter:label="Is Persistent? (unused)" name="persistant_transfer" reporter:datatype="bool"/>
2411 <field reporter:label="Previous Hop (unused)" name="prev_hop" reporter:datatype="link"/>
2412 <field reporter:label="Source" name="source" reporter:datatype="link"/>
2413 <field reporter:label="Prev Destination" name="prev_dest" reporter:datatype="org_unit"/>
2414 <field reporter:label="Send Date/Time" name="source_send_time" reporter:datatype="timestamp"/>
2415 <field reporter:label="Transited Copy" name="target_copy" reporter:datatype="link"/>
2416 <field reporter:label="Cancel Date/Time" name="cancel_time" reporter:datatype="timestamp"/>
2417 <field reporter:label="Hold Transit" name="hold_transit_copy" oils_persist:virtual="true" reporter:datatype="link"/>
2420 <link field="hold_transit_copy" reltype="might_have" key="id" map="" class="ahtc"/>
2421 <link field="source" reltype="has_a" key="id" map="" class="aou"/>
2422 <link field="prev_dest" reltype="has_a" key="id" map="" class="aou"/>
2423 <link field="copy_status" reltype="has_a" key="id" map="" class="ccs"/>
2424 <link field="dest" reltype="has_a" key="id" map="" class="aou"/>
2425 <link field="target_copy" reltype="has_a" key="id" map="" class="acp"/>
2427 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2429 <create permission="TRANSIT_COPY" context_field="owner">
2430 <context link="target_copy" field="circ_lib"/>
2433 <update permission="UPDATE_TRANSIT" context_field="dest source"/>
2434 <delete permission="DELETE_TRANSIT" context_field="dest source"/>
2438 <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">
2439 <fields oils_persist:primary="id" oils_persist:sequence="action.survey_response_id_seq">
2440 <field reporter:label="Answer" name="answer" reporter:datatype="link"/>
2441 <field reporter:label="Answer Date/Time" name="answer_date" reporter:datatype="timestamp"/>
2442 <field reporter:label="Effective Answer Date/Time" name="effective_date" reporter:datatype="timestamp"/>
2443 <field reporter:label="Answer ID" name="id" reporter:datatype="id" />
2444 <field reporter:label="Question" name="question" reporter:datatype="link"/>
2445 <field reporter:label="Response Group ID" name="response_group_id" reporter:datatype="int" />
2446 <field reporter:label="Survey" name="survey" reporter:datatype="link"/>
2447 <field reporter:label="Responding User" name="usr" reporter:datatype="link"/>
2450 <link field="question" reltype="has_a" key="id" map="" class="asvq"/>
2451 <link field="survey" reltype="has_a" key="id" map="" class="asv"/>
2452 <link field="answer" reltype="has_a" key="id" map="" class="asva"/>
2453 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
2455 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2457 <create permission="ADMIN_SURVEY">
2458 <context link="survey" field="owner"/>
2460 <retrieve permission="VIEW_USER">
2461 <context link="usr" field="home_ou"/>
2463 <update permission="ADMIN_SURVEY">
2464 <context link="survey" field="owner"/>
2466 <delete permission="ADMIN_SURVEY">
2467 <context link="survey" field="owner"/>
2472 <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">
2473 <fields oils_persist:primary="id" oils_persist:sequence="container.copy_bucket_item_id_seq">
2474 <field name="bucket" />
2475 <field name="id" reporter:datatype="id" />
2476 <field name="target_copy" reporter:datatype="link"/>
2477 <field name="create_time" reporter:datatype="timestamp" />
2478 <field name="pos" reporter:datatype="int" />
2479 <field name="notes" oils_persist:virtual="true" reporter:datatype="link" />
2482 <link field="target_copy" reltype="has_a" key="id" map="" class="acp"/>
2483 <link field="bucket" reltype="has_a" key="id" map="" class="ccb"/>
2484 <link field="notes" reltype="has_many" map="" key="item" class="ccbin"/>
2486 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2488 <retrieve permission="ADMIN_COPY_BUCKET">
2489 <context link="bucket" owning_lib="owning_lib"/>
2494 <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">
2495 <fields oils_persist:primary="id" oils_persist:sequence="container.copy_bucket_item_note_id_seq">
2496 <field name="id" reporter:datatype="id" />
2497 <field name="item" reporter:datatype="link"/>
2498 <field name="note" reporter:datatype="text" />
2501 <link field="item" reltype="has_a" key="id" map="" class="ccbi"/>
2505 <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">
2506 <fields oils_persist:primary="id" oils_persist:sequence="authority.control_set_id_seq">
2507 <field reporter:label="Control Set ID" name="id" reporter:datatype="id" reporter:selector="name"/>
2508 <field reporter:label="Name" name="name" reporter:datatype="text" oils_persist:i18n="true" oils_obj:required="true" />
2509 <field reporter:label="Description" name="description" reporter:datatype="text" oils_persist:i18n="true" />
2510 <field reporter:label="Controlling Authority Fields" name="authority_fields" reporter:datatype="link" oils_persist:virtual="true"/>
2511 <field reporter:label="Thesauri" name="thesauri" reporter:datatype="link" oils_persist:virtual="true"/>
2514 <link field="authority_fields" reltype="has_many" key="control_set" map="" class="acsaf"/>
2515 <link field="thesauri" reltype="has_many" key="control_set" map="" class="at"/>
2517 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2519 <create permission="CREATE_AUTHORITY_CONTROL_SET" global_required="true"/>
2521 <update permission="UPDATE_AUTHORITY_CONTROL_SET" global_required="true"/>
2522 <delete permission="DELETE_AUTHORITY_CONTROL_SET" global_required="true"/>
2527 <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">
2528 <fields oils_persist:primary="id" oils_persist:sequence="authority.control_set_authority_field_id_seq">
2529 <field reporter:label="Control Set Authority Field ID" name="id" reporter:datatype="id" reporter:selector="name"/>
2530 <field reporter:label="Main Entry" name="main_entry" reporter:datatype="link"/>
2531 <field reporter:label="Control Set" name="control_set" reporter:datatype="link"/>
2532 <field reporter:label="Tag" name="tag" reporter:datatype="text" oils_obj:required="true" oils_obj:validate="^.{3}$"/>
2533 <field reporter:label="Subfield List" name="sf_list" reporter:datatype="text" />
2534 <field reporter:label="Subfield List for Display" name="display_sf_list" reporter:datatype="text" />
2535 <field reporter:label="Non-filing Indicator" name="nfi" reporter:datatype="text" />
2536 <field reporter:label="Name" name="name" reporter:datatype="text" oils_persist:i18n="true" oils_obj:required="true" />
2537 <field reporter:label="Description" name="description" reporter:datatype="text" oils_persist:i18n="true" />
2538 <field reporter:label="Linking Subfield" name="linking_subfield" reporter:datatype="text" />
2539 <field reporter:label="Subordinate Entries" name="sub_entries" reporter:datatype="link" oils_persist:virtual="true"/>
2540 <field reporter:label="Controlled Bib Fields" name="bib_fields" reporter:datatype="link" oils_persist:virtual="true"/>
2541 <field reporter:label="Thesauri" name="thesauri" reporter:datatype="link" oils_persist:virtual="true"/>
2542 <field reporter:label="Browse Axis Maps" name="axis_maps" reporter:datatype="link" oils_persist:virtual="true"/>
2543 <field reporter:label="Joiner" name="joiner" reporter:datatype="text" />
2544 <field reporter:label="Heading Field" name="heading_field" reporter:datatype="link" />
2547 <link field="axis_maps" reltype="has_many" key="field" map="" class="abaafm"/>
2548 <link field="control_set" reltype="has_a" key="id" map="" class="acs"/>
2549 <link field="bib_fields" reltype="has_many" key="authority_field" map="" class="acsbf"/>
2550 <link field="thesauri" reltype="has_many" key="control_set" map="" class="at"/>
2551 <link field="main_entry" reltype="has_a" key="id" map="" class="acsaf"/>
2552 <link field="sub_entries" reltype="has_many" key="main_entry" map="" class="acsaf"/>
2553 <link field="heading" reltype="has_a" key="id" map="" class="ahf"/>
2555 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2557 <create permission="CREATE_AUTHORITY_CONTROL_SET" global_required="true"/>
2559 <update permission="UPDATE_AUTHORITY_CONTROL_SET" global_required="true"/>
2560 <delete permission="UPDATE_AUTHORITY_CONTROL_SET" global_required="true"/>
2565 <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">
2566 <fields oils_persist:primary="id" oils_persist:sequence="authority.control_set_bib_field_id_seq">
2567 <field reporter:label="Controlled Bib Field ID" name="id" reporter:datatype="id" reporter:selector="name"/>
2568 <field reporter:label="Controlling Authority Field" name="authority_field" reporter:datatype="link"/>
2569 <field reporter:label="Tag" name="tag" reporter:datatype="text" oils_obj:required="true" oils_obj:validate="^.{3}$"/>
2572 <link field="authority_field" reltype="has_a" key="id" map="" class="acsaf"/>
2574 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2576 <create permission="CREATE_AUTHORITY_CONTROL_SET" global_required="true"/>
2578 <update permission="UPDATE_AUTHORITY_CONTROL_SET" global_required="true"/>
2579 <delete permission="UPDATE_AUTHORITY_CONTROL_SET" global_required="true"/>
2584 <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">
2585 <fields oils_persist:primary="id" oils_persist:sequence="authority.control_set_bib_field_metabib_field_map_id_seq">
2586 <field reporter:label="ID" name="id" reporter:datatype="id" reporter:selector="name"/>
2587 <field reporter:label="Bib Field" name="bib_field" reporter:datatype="link"/>
2588 <field reporter:label="Metabib Field" name="metabib_field" reporter:datatype="link"/>
2591 <link field="bib_field" reltype="has_a" key="id" map="" class="acsbf"/>
2592 <link field="metabib_field" reltype="has_a" key="id" map="" class="cmf"/>
2594 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2596 <create permission="CREATE_AUTHORITY_CONTROL_SET" global_required="true"/>
2598 <update permission="UPDATE_AUTHORITY_CONTROL_SET" global_required="true"/>
2599 <delete permission="UPDATE_AUTHORITY_CONTROL_SET" global_required="true"/>
2604 <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">
2605 <fields oils_persist:primary="code">
2606 <field reporter:label="Thesaurus Code" name="code" reporter:datatype="id" reporter:selector="name"/>
2607 <field reporter:label="Control Set" name="control_set" reporter:datatype="link"/>
2608 <field reporter:label="Name" name="name" reporter:datatype="text" oils_persist:i18n="true" oils_obj:required="true" />
2609 <field reporter:label="Description" name="description" reporter:datatype="text" oils_persist:i18n="true" />
2610 <field reporter:label="Short Code" name="short_code" reporter:datatype="text" />
2611 <field reporter:label="URI" name="uri" reporter:datatype="text" />
2614 <link field="control_set" reltype="has_a" key="id" map="" class="acs"/>
2616 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2618 <create permission="CREATE_AUTHORITY_CONTROL_SET" global_required="true"/>
2620 <update permission="UPDATE_AUTHORITY_CONTROL_SET" global_required="true"/>
2621 <delete permission="UPDATE_AUTHORITY_CONTROL_SET" global_required="true"/>
2626 <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">
2627 <fields oils_persist:primary="code">
2628 <field reporter:label="Code" name="code" reporter:datatype="id" reporter:selector="name" oils_obj:validate="^\S+$"/>
2629 <field reporter:label="Name" name="name" reporter:datatype="text" oils_persist:i18n="true" oils_obj:required="true"/>
2630 <field reporter:label="Sorter Attribute" name="sorter" reporter:datatype="link"/>
2631 <field reporter:label="Description" name="description" reporter:datatype="text"/>
2632 <field reporter:label="Authority Fields" name="fields" reporter:datatype="link" oils_persist:virtual="true"/>
2633 <field reporter:label="Authority Field Maps" name="maps" reporter:datatype="link" oils_persist:virtual="true"/>
2636 <link field="sorter" reltype="has_a" key="name" map="" class="crad"/>
2637 <link field="fields" reltype="has_many" key="axis" map="field" class="abaafm"/>
2638 <link field="maps" reltype="has_many" key="axis" map="" class="abaafm"/>
2640 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2642 <create permission="CREATE_AUTHORITY_CONTROL_SET" global_required="true"/>
2644 <update permission="UPDATE_AUTHORITY_CONTROL_SET" global_required="true"/>
2645 <delete permission="UPDATE_AUTHORITY_CONTROL_SET" global_required="true"/>
2650 <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">
2651 <fields oils_persist:primary="id" oils_persist:sequence="authority.browse_axis_authority_field_map_id_seq">
2652 <field reporter:label="Axis Authority Field Map ID" name="id" reporter:datatype="id"/>
2653 <field reporter:label="Authority Field" name="field" oils_obj:required="true" reporter:datatype="link"/>
2654 <field reporter:label="Axis" name="axis" reporter:datatype="link" oils_obj:required="true"/>
2657 <link field="field" reltype="has_a" key="id" map="" class="acsaf"/>
2658 <link field="axis" reltype="has_a" key="code" map="" class="aba"/>
2660 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2662 <create permission="CREATE_AUTHORITY_CONTROL_SET" global_required="true"/>
2664 <update permission="UPDATE_AUTHORITY_CONTROL_SET" global_required="true"/>
2665 <delete permission="UPDATE_AUTHORITY_CONTROL_SET" global_required="true"/>
2670 <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">
2671 <fields oils_persist:primary="id" oils_persist:sequence="authority.record_entry_id_seq">
2672 <field name="active" reporter:datatype="bool"/>
2673 <field name="create_date" reporter:datatype="timestamp"/>
2674 <field name="creator" />
2675 <field name="deleted" reporter:datatype="bool"/>
2676 <field name="edit_date" reporter:datatype="timestamp"/>
2677 <field name="editor" />
2678 <field name="id" reporter:datatype="id" />
2679 <field name="last_xact_id" />
2680 <field name="marc" />
2681 <field name="source" />
2682 <field reporter:label="Control Set" name="control_set" reporter:datatype="link"/>
2683 <field reporter:label="Owner" name="owner" reporter:datatype="org_unit"/>
2684 <field name="heading" />
2685 <field name="simple_heading" />
2686 <field name="fixed_fields" oils_persist:virtual="true" reporter:datatype="link"/>
2687 <field name="notes" oils_persist:virtual="true" reporter:datatype="link"/>
2688 <field name="bib_links" oils_persist:virtual="true" reporter:datatype="link"/>
2691 <link field="control_set" reltype="has_a" key="id" map="" class="acs"/>
2692 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
2693 <link field="editor" reltype="has_a" key="id" map="" class="au"/>
2694 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
2695 <link field="notes" reltype="has_many" key="record" map="" class="arn"/>
2696 <link field="bib_links" reltype="has_many" key="authority" map="" class="abl"/>
2697 <link field="fixed_fields" reltype="might_have" key="record" map="" class="ard"/>
2699 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2701 <create permission="CREATE_AUTHORITY_RECORD IMPORT_MARC" global_required="true"/>
2703 <update permission="UPDATE_AUTHORITY_RECORD" global_required="true"/>
2704 <delete permission="DELETE_AUTHORITY_RECORD" global_required="true"/>
2708 <class id="ard" controller="open-ils.cstore" oils_obj:fieldmapper="authority::record_descriptor" oils_persist:tablename="authority.rec_descriptor" reporter:label="Authority Record Descriptor">
2709 <fields oils_persist:primary="id" oils_persist:sequence="authority.rec_descriptor_id_seq">
2710 <field name="char_encoding" />
2712 <field name="record" />
2713 <field name="record_status" />
2714 <field name="thesaurus" />
2717 <link field="record" reltype="has_a" key="id" map="" class="are"/>
2718 <link field="thesaurus" reltype="might_have" key="code" map="" class="at"/>
2721 <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">
2722 <fields oils_persist:primary="id" oils_persist:sequence="authority.bib_linking_id_seq">
2723 <field name="id" reporter:datatype="id" />
2724 <field name="bib" reporter:datatype="link" />
2725 <field name="authority" reporter:datatype="link" />
2728 <link field="bib" reltype="has_a" key="id" map="" class="bre"/>
2729 <link field="authority" reltype="has_a" key="id" map="" class="are"/>
2732 <class id="ash" controller="open-ils.cstore" oils_obj:fieldmapper="authority::simple_heading" oils_persist:tablename="authority.simple_heading" reporter:label="Authority Simple Heading">
2733 <fields oils_persist:primary="id" oils_persist:sequence="authority.simple_heading_id_seq">
2734 <field name="id" reporter:datatype="id" />
2735 <field name="record" reporter:datatype="link" />
2736 <field name="atag" reporter:datatype="link" />
2737 <field name="value" reporter:datatype="text" />
2740 <link field="record" reltype="has_a" key="id" map="" class="are"/>
2741 <link field="atag" reltype="has_a" key="id" map="" class="acsaf"/>
2745 <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">
2746 <fields oils_persist:primary="id" oils_persist:sequence="authority.heading_fields_id_seq">
2747 <field name="id" reporter:datatype="id" />
2748 <field name="heading_type" reporter:datatype="text" reporter:label="Heading Type" />
2749 <field name="heading_purpose" reporter:datatype="text" reporter:label="Heading Purpose" />
2750 <field name="label" reporter:datatype="text" reporter:label="Heading Field Label" />
2751 <field name="format" reporter:datatype="text" reporter:label="Heading XSLT Format" />
2752 <field name="heading_xpath" reporter:datatype="text" reporter:label="Heading XPath" />
2753 <field name="component_xpath" reporter:datatype="text" reporter:label="Heading Component XPath" />
2754 <field name="type_xpath" reporter:datatype="text" reporter:label="Related/Variant Type XPath" />
2755 <field name="thesaurus_xpath" reporter:datatype="text" reporter:label="Thesaurus XPath" />
2756 <field name="thesaurus_override_xpath" reporter:datatype="text" reporter:label="Thesaurus Override XPath" />
2757 <field name="joiner" reporter:datatype="text" reporter:label="Joiner string" />
2759 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2761 <create permission="CREATE_AUTHORITY_CONTROL_SET" global_required="true"/>
2763 <update permission="UPDATE_AUTHORITY_CONTROL_SET" global_required="true"/>
2764 <delete permission="UPDATE_AUTHORITY_CONTROL_SET" global_required="true"/>
2769 <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">
2770 <fields oils_persist:primary="code" oils_persist:sequence="">
2771 <field reporter:label="Language Code" name="code" reporter:selector="value" reporter:datatype="text"/>
2772 <field reporter:label="Language" name="value" reporter:datatype="text" oils_persist:i18n="true"/>
2775 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2777 <create permission="CREATE_MARC_CODE" global_required="true"/>
2779 <update permission="UPDATE_MARC_CODE" global_required="true"/>
2780 <delete permission="DELETE_MARC_CODE" global_required="true"/>
2784 <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">
2785 <fields oils_persist:primary="id" oils_persist:sequence="money.payment_id_seq">
2786 <field name="accepting_usr" />
2787 <field name="amount" reporter:datatype="money" />
2788 <field name="amount_collected" reporter:datatype="money" />
2789 <field name="approval_code" reporter:datatype="text"/>
2790 <field name="cash_drawer" reporter:datatype="link"/>
2791 <field name="cc_number" reporter:datatype="text"/>
2792 <field name="cc_order_number" reporter:datatype="text"/>
2793 <field name="cc_processor" reporter:datatype="text"/>
2794 <field name="id" reporter:datatype="id" />
2795 <field name="note" reporter:datatype="text"/>
2796 <field name="payment_ts" reporter:datatype="timestamp"/>
2797 <field name="xact" reporter:datatype="link"/>
2798 <field name="payment_type" oils_persist:virtual="true" reporter:datatype="text"/>
2799 <field name="payment" oils_persist:virtual="true" reporter:datatype="link"/>
2802 <link field="payment" reltype="might_have" key="id" map="" class="mp"/>
2803 <link field="accepting_usr" reltype="has_a" key="id" map="" class="au"/>
2804 <link field="cash_drawer" reltype="has_a" key="id" map="" class="aws"/>
2805 <link field="xact" reltype="has_a" key="id" map="" class="mbt"/>
2807 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2809 <retrieve permission="VIEW_USER_TRANSACTIONS">
2810 <context link="xact" jump="usr" field="home_ou"/>
2815 <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">
2816 <fields oils_persist:primary="name">
2817 <field reporter:label="Name" name="name" reporter:datatype="text" />
2818 <field reporter:label="Namespace URI" name="namespace_uri" reporter:datatype="text"/>
2819 <field reporter:label="Namespace Prefix" name="prefix" reporter:datatype="text"/>
2820 <field reporter:label="XSLT" name="xslt" reporter:datatype="text" />
2823 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2825 <create permission="CREATE_XML_TRANSFORM" global_required="true"/>
2827 <update permission="UPDATE_XML_TRANSFORM" global_required="true"/>
2828 <delete permission="DELETE_XML_TRANSFORM" global_required="true"/>
2833 <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">
2834 <fields oils_persist:primary="alias">
2835 <field reporter:label="Alias (RegExp)" name="alias" reporter:datatype="text"/>
2836 <field reporter:label="Class" name="field_class" reporter:datatype="link"/>
2837 <field reporter:label="Field" name="field" reporter:datatype="link"/>
2840 <link field="field_class" reltype="has_a" key="name" map="" class="cmc"/>
2841 <link field="field" reltype="has_a" key="id" map="" class="cmf"/>
2843 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2845 <create permission="CREATE_METABIB_SEARCH_ALIAS" global_required="true"/>
2847 <update permission="UPDATE_METABIB_SEARCH_ALIAS" global_required="true"/>
2848 <delete permission="DELETE_METABIB_SEARCH_ALIAS" global_required="true"/>
2853 <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">
2854 <fields oils_persist:primary="name">
2855 <field reporter:label="Name" name="name" reporter:datatype="text" reporter:selector="label"/>
2856 <field reporter:label="Label" name="label" reporter:datatype="text" oils_persist:i18n="true"/>
2857 <field reporter:label="Buoyant?" name="buoyant" reporter:datatype="bool" />
2858 <field reporter:label="Restrict?" name="restrict" reporter:datatype="bool" />
2859 <field reporter:label="Combined?" name="combined" reporter:datatype="bool" />
2860 <field reporter:label="A Weight" name="a_weight" reporter:datatype="float" />
2861 <field reporter:label="B Weight" name="b_weight" reporter:datatype="float" />
2862 <field reporter:label="C Weight" name="c_weight" reporter:datatype="float" />
2863 <field reporter:label="D Weight" name="d_weight" reporter:datatype="float" />
2864 <field reporter:label="Fields" name="fields" reporter:datatype="link" oils_persist:virtual="true"/>
2867 <link field="fields" reltype="has_many" key="name" map="" class="cmf"/>
2869 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2871 <create permission="CREATE_METABIB_CLASS" global_required="true"/>
2873 <update permission="UPDATE_METABIB_CLASS" global_required="true"/>
2874 <delete permission="DELETE_METABIB_CLASS" global_required="true"/>
2879 <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">
2880 <fields oils_persist:primary="id" oils_persist:sequence="config.metabib_field_id_seq">
2881 <field reporter:label="ID" name="id" reporter:datatype="id" reporter:selector="label"/>
2882 <field reporter:label="Class" name="field_class" reporter:datatype="link"/>
2883 <field reporter:label="Label" name="label" reporter:datatype="text" oils_persist:i18n="true"/>
2884 <field reporter:label="Name" name="name" reporter:datatype="text"/>
2885 <field reporter:label="Weight" name="weight" reporter:datatype="int" />
2886 <field reporter:label="XPath" name="xpath" reporter:datatype="text"/>
2887 <field reporter:label="Joiner" name="joiner" reporter:datatype="text"/>
2888 <field reporter:label="Format" name="format" reporter:datatype="link"/>
2889 <field reporter:label="Search Field" name="search_field" reporter:datatype="bool" />
2890 <field reporter:label="Facet Field" name="facet_field" reporter:datatype="bool" />
2891 <field reporter:label="Facet XPath" name="facet_xpath" reporter:datatype="text" />
2892 <field reporter:label="Display Field?" name="display_field" reporter:datatype="bool" />
2893 <field reporter:label="Display XPath" name="display_xpath" reporter:datatype="text" />
2894 <field reporter:label="Browse Field" name="browse_field" reporter:datatype="bool" />
2895 <field reporter:label="Browse XPath" name="browse_xpath" reporter:datatype="text" />
2896 <field reporter:label="Browse Sort XPath" name="browse_sort_xpath" reporter:datatype="text" />
2897 <field reporter:label="Authority XPath" name="authority_xpath" reporter:datatype="text" />
2898 <field reporter:label="Restrict?" name="restrict" reporter:datatype="bool" />
2899 <field reporter:label="Display Field Map" name="display_field_map" oils_persist:virtual="true" reporter:datatype="link"/>
2900 <field reporter:label="Virtual Field Data Suppliers" name="data_sources" oils_persist:virtual="true" reporter:datatype="link"/>
2903 <link field="format" reltype="has_a" key="name" map="" class="cxt"/>
2904 <link field="field_class" reltype="has_a" key="name" map="" class="cmc"/>
2905 <link field="display_field_map" reltype="might_have" key="field" map="" class="cdfm"/>
2906 <link field="data_sources" reltype="has_many" key="virtual" map="" class="cmfvm"/>
2908 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2910 <create permission="CREATE_METABIB_FIELD" global_required="true"/>
2912 <update permission="UPDATE_METABIB_FIELD" global_required="true"/>
2913 <delete permission="DELETE_METABIB_FIELD" global_required="true"/>
2918 <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">
2919 <fields oils_persist:primary="id" oils_persist:sequence="config.metabib_field_virtual_map_id_seq">
2920 <field reporter:label="ID" name="id" reporter:datatype="id"/>
2921 <field reporter:label="Real" name="real" reporter:datatype="link"/>
2922 <field reporter:label="Virtual" name="virtual" reporter:datatype="link"/>
2923 <field reporter:label="Weight" name="weight" reporter:datatype="int"/>
2926 <link field="real" reltype="has_a" key="id" map="" class="cmf"/>
2927 <link field="virtual" reltype="has_a" key="id" map="" class="cmf"/>
2929 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2931 <create permission="CREATE_METABIB_FIELD ADMIN_METABIB_FIELD" global_required="true"/>
2933 <update permission="UPDATE_METABIB_FIELD ADMIN_METABIB_FIELD" global_required="true"/>
2934 <delete permission="DELETE_METABIB_FIELD ADMIN_METABIB_FIELD" global_required="true"/>
2939 <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">
2940 <fields oils_persist:primary="id" oils_persist:sequence="config.best_hold_order_id_seq">
2941 <field reporter:label="ID" name="id" reporter:datatype="id" reporter:selector="name" />
2942 <field reporter:label="Name" name="name" reporter:datatype="text"/>
2943 <field reporter:label="Capture Lib to Pickup Lib Proximity" name="pprox" reporter:datatype="int" />
2944 <field reporter:label="Circ Lib to Request Lib Proximity" name="hprox" reporter:datatype="int" />
2945 <field reporter:label="Adjusted Circ Lib to Pickup Lib Proximity" name="aprox" reporter:datatype="int" />
2946 <field reporter:label="Adjusted Capture Location to Pickup Lib Proximity" name="approx" reporter:datatype="int" />
2947 <field reporter:label="Hold Priority" name="priority" reporter:datatype="int" />
2948 <field reporter:label="Hold Cut-in-line State" name="cut" reporter:datatype="int" />
2949 <field reporter:label="Hold Selection Depth" name="depth" reporter:datatype="int" />
2950 <field reporter:label="Copy Has Circulated From Home Lately" name="htime" reporter:datatype="int" />
2951 <field reporter:label="Hold Request Time" name="rtime" reporter:datatype="int" />
2952 <field reporter:label="Copy Has Been Home At All Lately" name="shtime" reporter:datatype="int" />
2956 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2958 <create permission="ADMIN_HOLD_CAPTURE_SORT" global_required="true"/>
2959 <retrieve permission="ADMIN_HOLD_CAPTURE_SORT" global_required="true"/>
2960 <update permission="ADMIN_HOLD_CAPTURE_SORT" global_required="true"/>
2961 <delete permission="ADMIN_HOLD_CAPTURE_SORT" global_required="true"/>
2965 <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">
2966 <fields oils_persist:primary="id" oils_persist:sequence="config.biblio_fingerprint_id_seq">
2967 <field name="id" reporter:datatype="id" />
2968 <field name="name" reporter:datatype="text"/>
2969 <field name="xpath" reporter:datatype="text"/>
2970 <field name="format" reporter:datatype="link"/>
2971 <field name="first_word" reporter:datatype="bool" />
2974 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2976 <create permission="CREATE_BIBLIO_FINGERPRINT" global_required="true"/>
2978 <update permission="UPDATE_BIBLIO_FINGERPRINT" global_required="true"/>
2979 <delete permission="DELETE_BIBLIO_FINGERPRINT" global_required="true"/>
2983 <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">
2984 <fields oils_persist:primary="code" oils_persist:sequence="">
2985 <field reporter:label="Audience Code" name="code" reporter:selector="value" reporter:datatype="text"/>
2986 <field reporter:label="Description" name="description" reporter:datatype="text" oils_persist:i18n="true" />
2987 <field reporter:label="Audience" name="value" reporter:datatype="text" oils_persist:i18n="true"/>
2990 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
2992 <create permission="CREATE_MARC_CODE" global_required="true"/>
2994 <update permission="UPDATE_MARC_CODE" global_required="true"/>
2995 <delete permission="DELETE_MARC_CODE" global_required="true"/>
2999 <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">
3000 <fields oils_persist:primary="code" oils_persist:sequence="">
3001 <field reporter:label="Item Form Code" name="code" reporter:selector="value" reporter:datatype="text"/>
3002 <field reporter:label="Item Form" name="value" reporter:datatype="text" oils_persist:i18n="true"/>
3005 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3007 <create permission="ADMIN_MARC_CODE" global_required="true"/>
3009 <update permission="ADMIN_MARC_CODE" global_required="true"/>
3010 <delete permission="ADMIN_MARC_CODE" global_required="true"/>
3014 <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">
3015 <fields oils_persist:primary="id" oils_persist:sequence="asset.call_number_class_id_seq">
3016 <field reporter:label="Call number class ID" name="id" reporter:datatype="id"/>
3017 <field reporter:label="Name" name="name" reporter:datatype="text"/>
3018 <field reporter:label="Normalizer function" name="normalizer" reporter:datatype="text"/>
3019 <field reporter:label="Call number fields" name="field" reporter:datatype="text"/>
3021 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3027 <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">
3028 <fields oils_persist:primary="id" oils_persist:sequence="asset.call_number_suffix_id_seq">
3029 <field reporter:label="ID" name="id" reporter:datatype="id" />
3030 <field reporter:label="Label" name="label" reporter:datatype="text"/>
3031 <field reporter:label="Label Sort Key" name="label_sortkey" reporter:datatype="text"/>
3032 <field reporter:label="Owning Library" name="owning_lib" reporter:datatype="org_unit"/>
3035 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
3037 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3039 <create permission="CREATE_VOLUME_SUFFIX" context_field="owning_lib"/>
3041 <update permission="UPDATE_VOLUME_SUFFIX" context_field="owning_lib"/>
3042 <delete permission="DELETE_VOLUME_SUFFIX" context_field="owning_lib"/>
3046 <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">
3047 <fields oils_persist:primary="id" oils_persist:sequence="asset.call_number_prefix_id_seq">
3048 <field reporter:label="ID" name="id" reporter:datatype="id" />
3049 <field reporter:label="Label" name="label" reporter:datatype="text"/>
3050 <field reporter:label="Label Sort Key" name="label_sortkey" reporter:datatype="text"/>
3051 <field reporter:label="Owning Library" name="owning_lib" reporter:datatype="org_unit"/>
3054 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
3056 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3058 <create permission="CREATE_VOLUME_PREFIX" context_field="owning_lib"/>
3060 <update permission="UPDATE_VOLUME_PREFIX" context_field="owning_lib"/>
3061 <delete permission="DELETE_VOLUME_PREFIX" context_field="owning_lib"/>
3065 <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">
3066 <fields oils_persist:primary="id" oils_persist:sequence="asset.call_number_id_seq">
3067 <field reporter:label="Copies" name="copies" oils_persist:virtual="true" reporter:datatype="link"/>
3068 <field reporter:label="Create Date/Time" name="create_date" reporter:datatype="timestamp"/>
3069 <field reporter:label="Creating User" name="creator" reporter:datatype="link"/>
3070 <field reporter:label="Is Deleted" name="deleted" reporter:datatype="bool"/>
3071 <field reporter:label="Last Edit Date/Time" name="edit_date" reporter:datatype="timestamp"/>
3072 <field reporter:label="Last Editing User" name="editor" reporter:datatype="link"/>
3073 <field reporter:label="Call Number/Volume ID" name="id" reporter:datatype="id" />
3074 <field reporter:label="Call Number Label" name="label" reporter:datatype="text"/>
3075 <field reporter:label="Owning Library" name="owning_lib" reporter:datatype="org_unit"/>
3076 <field reporter:label="Bib Record" name="record" reporter:datatype="link"/>
3077 <field reporter:label="Notes" name="notes" oils_persist:virtual="true" reporter:datatype="link"/>
3078 <field reporter:label="URI Maps" name="uri_maps" oils_persist:virtual="true" reporter:datatype="link"/>
3079 <field reporter:label="URIs" name="uris" oils_persist:virtual="true" reporter:datatype="link"/>
3080 <field reporter:label="Call Number Sort Key" name="label_sortkey" reporter:datatype="text"/>
3081 <field reporter:label="Classification Scheme" name="label_class" reporter:datatype="link"/>
3082 <field reporter:label="Prefix" name="prefix" reporter:datatype="link"/>
3083 <field reporter:label="Suffix" name="suffix" reporter:datatype="link"/>
3086 <link field="editor" reltype="has_a" key="id" map="" class="au"/>
3087 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
3088 <link field="record" reltype="has_a" key="id" map="" class="bre"/>
3089 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
3090 <link field="notes" reltype="has_many" key="call_number" map="" class="acnn"/>
3091 <link field="copies" reltype="has_many" key="call_number" map="" class="acp"/>
3092 <link field="uris" reltype="has_many" key="call_number" map="uri" class="auricnm"/>
3093 <link field="uri_maps" reltype="has_many" key="call_number" map="" class="auricnm"/>
3094 <link field="label_class" reltype="has_a" key="id" map="" class="acnc"/>
3095 <link field="prefix" reltype="has_a" key="id" map="" class="acnp"/>
3096 <link field="suffix" reltype="has_a" key="id" map="" class="acns"/>
3098 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3100 <create permission="CREATE_VOLUME" context_field="owning_lib"/>
3102 <update permission="UPDATE_VOLUME" context_field="owning_lib"/>
3103 <delete permission="DELETE_VOLUME" context_field="owning_lib"/>
3107 <class id="auri" controller="open-ils.cstore" oils_obj:fieldmapper="asset::uri" oils_persist:tablename="asset.uri" reporter:label="Electronic Access URI">
3108 <fields oils_persist:primary="id" oils_persist:sequence="asset.uri_id_seq">
3109 <field reporter:label="URI ID" name="id" reporter:datatype="id"/>
3110 <field reporter:label="URI" name="href" reporter:datatype="text"/>
3111 <field reporter:label="Label" name="label" reporter:datatype="text"/>
3112 <field reporter:label="Use Information" name="use_restriction" reporter:datatype="text"/>
3113 <field reporter:label="Active" name="active" reporter:datatype="bool"/>
3114 <field reporter:label="Call Number Maps" name="call_number_maps" oils_persist:virtual="true" reporter:datatype="link"/>
3115 <field reporter:label="Call Numbers" name="call_numbers" oils_persist:virtual="true" reporter:datatype="link"/>
3118 <link field="call_numbers" reltype="has_many" key="uri" map="call_number" class="auricnm"/>
3119 <link field="call_number_maps" reltype="has_many" key="uri" map="" class="auricnm"/>
3122 <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">
3123 <fields oils_persist:primary="id" oils_persist:sequence="asset.uri_call_number_map_id_seq">
3124 <field reporter:label="ID" name="id" reporter:datatype="id"/>
3125 <field reporter:label="URI" name="uri" reporter:datatype="int"/>
3126 <field reporter:label="Call Number" name="call_number" reporter:datatype="text"/>
3129 <link field="uri" reltype="has_a" key="id" map="" class="auri"/>
3130 <link field="call_number" reltype="has_a" key="id" map="" class="acn"/>
3133 <class id="cst" controller="open-ils.cstore" oils_obj:fieldmapper="config::standing" oils_persist:tablename="config.standing" reporter:label="Standing Penalty">
3134 <fields oils_persist:primary="id" oils_persist:sequence="config.standing_id_seq">
3135 <field name="id" reporter:datatype="id" />
3136 <field name="value" oils_persist:i18n="true" />
3140 <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">
3141 <fields oils_persist:primary="usr" oils_persist:sequence="">
3142 <field name="balance_owed" reporter:datatype="money" />
3143 <field name="total_owed" reporter:datatype="money" />
3144 <field name="total_paid" reporter:datatype="money" />
3145 <field name="usr" reporter:datatype="link"/>
3148 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
3150 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3152 <retrieve permission="VIEW_USER">
3153 <context link="usr" field="home_ou"/>
3158 <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">
3159 <fields oils_persist:primary="id" oils_persist:sequence="money.collections_tracker_id_seq">
3160 <field name="collector" />
3161 <field name="enter_time" reporter:datatype="timestamp"/>
3162 <field name="id" reporter:datatype="id" />
3163 <field name="location" reporter:datatype="link"/>
3164 <field name="usr" reporter:datatype="link"/>
3167 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
3168 <link field="collector" reltype="has_a" key="id" map="" class="au"/>
3169 <link field="location" reltype="has_a" key="id" map="" class="aou"/>
3171 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3173 <create permission="money.collections_tracker.create" context_field="location"/>
3174 <retrieve permission="money.collections_tracker.create" context_field="location"/>
3175 <delete permission="money.collections_tracker.create" context_field="location"/>
3179 <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">
3180 <fields oils_persist:primary="id" oils_persist:sequence="biblio.record_entry_id_seq">
3181 <field reporter:label="Call Numbers" name="call_numbers" oils_persist:virtual="true" reporter:datatype="link"/>
3182 <field reporter:label="Fixed Field Entry" name="fixed_fields" oils_persist:virtual="true" reporter:datatype="link"/>
3183 <field reporter:label="Is Active?" name="active" reporter:datatype="bool"/>
3184 <field reporter:label="Record Creation Date/Time" name="create_date" reporter:datatype="timestamp"/>
3185 <field reporter:label="Record Creator" name="creator" reporter:datatype="link"/>
3186 <field reporter:label="Is Deleted?" name="deleted" reporter:datatype="bool"/>
3187 <field reporter:label="Last Edit Data/Time" name="edit_date" reporter:datatype="timestamp"/>
3188 <field reporter:label="Last Editing User" name="editor" reporter:datatype="link"/>
3189 <field reporter:label="Fingerprint" name="fingerprint" reporter:datatype="text"/>
3190 <field reporter:label="Record ID" name="id" reporter:datatype="id" />
3191 <field reporter:label="Last Transaction ID" name="last_xact_id" reporter:datatype="text"/>
3192 <field reporter:label="MARC21Slim" name="marc" reporter:datatype="text"/>
3193 <field reporter:label="Overall Quality" name="quality" reporter:datatype="int" />
3194 <field reporter:label="Record Source" name="source" reporter:datatype="link"/>
3195 <field reporter:label="TCN Source" name="tcn_source" reporter:datatype="text"/>
3196 <field reporter:label="TCN Value" name="tcn_value" reporter:datatype="text"/>
3197 <field reporter:label="Owner" name="owner" reporter:datatype="org_unit"/>
3198 <field reporter:label="Share Depth" name="share_depth" reporter:datatype="int"/>
3199 <field reporter:label="Metarecord" name="metarecord" oils_persist:virtual="true" reporter:datatype="link"/>
3200 <field reporter:label="Language Code" name="language" oils_persist:virtual="true" reporter:datatype="link"/>
3201 <field reporter:label="Non-MARC Record Notes" name="notes" oils_persist:virtual="true" reporter:datatype="link"/>
3202 <field reporter:label="Indexed Keyword Field Entries" name="keyword_field_entries" oils_persist:virtual="true" reporter:datatype="link"/>
3203 <field reporter:label="Indexed Subject Field Entries" name="subject_field_entries" oils_persist:virtual="true" reporter:datatype="link"/>
3204 <field reporter:label="Indexed Title Field Entries" name="title_field_entries" oils_persist:virtual="true" reporter:datatype="link"/>
3205 <field reporter:label="Indexed Identifier Field Entries" name="identifier_field_entries" oils_persist:virtual="true" reporter:datatype="link"/>
3206 <field reporter:label="Indexed Author Field Entries" name="author_field_entries" oils_persist:virtual="true" reporter:datatype="link"/>
3207 <field reporter:label="Indexed Series Field Entries" name="series_field_entries" oils_persist:virtual="true" reporter:datatype="link"/>
3208 <field reporter:label="Flattened MARC Fields " name="full_record_entries" oils_persist:virtual="true" reporter:datatype="link"/>
3209 <field reporter:label="Simple Record Extracts " name="simple_record" oils_persist:virtual="true" reporter:datatype="link"/>
3210 <field reporter:label="Authority Links" name="authority_links" oils_persist:virtual="true" reporter:datatype="link"/>
3211 <field reporter:label="Subscriptions" name="subscriptions" oils_persist:virtual="true" reporter:datatype="link"/>
3212 <field reporter:label="SVF Attributes" name="attrs" oils_persist:virtual="true" reporter:datatype="link"/>
3213 <field reporter:label="MVF Attributes" name="mattrs" oils_persist:virtual="true" reporter:datatype="link"/>
3214 <field reporter:label="Display Fields" name="display_entries" oils_persist:virtual="true" reporter:datatype="link"/>
3215 <field reporter:label="Flat Display Entries" name="flat_display_entries" oils_persist:virtual="true" reporter:datatype="link"/>
3216 <field reporter:label="Compressed Display Entries" name="compressed_display_entries" oils_persist:virtual="true" reporter:datatype="link"/>
3217 <field reporter:label="Wide Display Entries" name="wide_display_entry" oils_persist:virtual="true" reporter:datatype="link"/>
3218 <field reporter:label="Merge Date" name="merge_date" reporter:datatype="timestamp"/>
3219 <field reporter:label="Merged To" name="merged_to" reporter:datatype="link"/>
3222 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
3223 <link field="editor" reltype="has_a" key="id" map="" class="au"/>
3224 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
3225 <link field="simple_record" reltype="might_have" key="id" map="" class="rmsr"/>
3226 <link field="metarecord" reltype="might_have" key="source" map="metarecord" class="mmrsm"/>
3227 <link field="call_numbers" reltype="has_many" key="record" map="" class="acn"/>
3228 <link field="keyword_field_entries" reltype="has_many" key="source" map="" class="mkfe"/>
3229 <link field="fixed_fields" reltype="might_have" key="record" map="" class="mrd"/>
3230 <link field="language" reltype="might_have" key="record" map="item_lang" class="mrd"/>
3231 <link field="subject_field_entries" reltype="has_many" key="source" map="" class="msfe"/>
3232 <link field="title_field_entries" reltype="has_many" key="source" map="" class="mtfe"/>
3233 <link field="identifier_field_entries" reltype="has_many" key="source" map="" class="mife"/>
3234 <link field="notes" reltype="has_many" key="record" map="" class="bren"/>
3235 <link field="author_field_entries" reltype="has_many" key="source" map="" class="mafe"/>
3236 <link field="series_field_entries" reltype="has_many" key="source" map="" class="msefe"/>
3237 <link field="full_record_entries" reltype="has_many" key="record" map="" class="mfr"/>
3238 <link field="authority_links" reltype="has_many" key="bib" map="" class="abl"/>
3239 <link field="subscriptions" reltype="has_many" key="record_entry" map="" class="ssub"/>
3240 <link field="attrs" reltype="might_have" key="id" map="" class="mra"/>
3241 <link field="mattrs" reltype="has_many" key="id" map="" class="mraf"/>
3242 <link field="source" reltype="has_a" key="id" map="" class="cbs"/>
3243 <link field="display_entries" reltype="has_many" key="source" map="" class="mde"/>
3244 <link field="flat_display_entries" reltype="has_many" key="source" map="" class="mfde"/>
3245 <link field="compressed_display_entries" reltype="has_many" key="source" map="" class="mcde"/>
3246 <link field="wide_display_entry" reltype="might_have" key="source" map="" class="mwde"/>
3247 <link field="merged_to" reltype="has_a" key="id" map="" class="bre"/>
3249 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3251 <create permission="CREATE_MARC IMPORT_MARC" global_required="true"/>
3253 <update permission="UPDATE_MARC" global_required="true"/>
3254 <!-- 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. -->
3255 <delete permission="DELETE_RECORD" global_required="true"/>
3259 <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">
3260 <fields oils_persist:primary="id">
3261 <field name="dow_0_close" />
3262 <field name="dow_0_open" />
3263 <field name="dow_1_close" />
3264 <field name="dow_1_open" />
3265 <field name="dow_2_close" />
3266 <field name="dow_2_open" />
3267 <field name="dow_3_close" />
3268 <field name="dow_3_open" />
3269 <field name="dow_4_close" />
3270 <field name="dow_4_open" />
3271 <field name="dow_5_close" />
3272 <field name="dow_5_open" />
3273 <field name="dow_6_close" />
3274 <field name="dow_6_open" />
3275 <field name="id" reporter:datatype="id" />
3276 <field name="org_unit" oils_persist:virtual="true" reporter:datatype="org_unit"/>
3279 <link field="id" reltype="might_have" key="id" map="" class="aou"/>
3281 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3283 <create permission="CREATE_HOURS_OF_OPERATION" context_field="id"/>
3285 <update permission="UPDATE_HOURS_OF_OPERATION" context_field="id"/>
3286 <delete permission="DELETE_HOURS_OF_OPERATION" context_field="id"/>
3290 <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">
3291 <fields oils_persist:primary="id" oils_persist:sequence="biblio.monograph_part_id_seq">
3292 <field name="id" reporter:datatype="id" />
3293 <field name="record" reporter:datatype="link"/>
3294 <field name="label" reporter:datatype="text"/>
3295 <field name="label_sortkey" reporter:datatype="text"/>
3296 <field name="deleted" reporter:datatype="bool"/>
3299 <link field="record" reltype="has_a" key="id" map="" class="bre"/>
3301 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3303 <create permission="CREATE_MONOGRAPH_PART" global_required="true"/>
3305 <update permission="UPDATE_MONOGRAPH_PART" global_required="true"/>
3306 <delete permission="DELETE_MONOGRAPH_PART" global_required="true"/>
3310 <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">
3311 <fields oils_persist:primary="id" oils_persist:sequence="asset.copy_part_map_id_seq">
3312 <field name="id" reporter:datatype="id" />
3313 <field name="target_copy" reporter:datatype="link" />
3314 <field name="part" reporter:datatype="link"/>
3317 <link field="target_copy" reltype="has_a" key="id" map="" class="acp"/>
3318 <link field="part" reltype="has_a" key="id" map="" class="bmp"/>
3320 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3322 <create permission="MAP_MONOGRAPH_PART" global_required="true"/>
3324 <update permission="MAP_MONOGRAPH_PART" global_required="true"/>
3325 <delete permission="MAP_MONOGRAPH_PART" global_required="true"/>
3330 controller="open-ils.cstore open-ils.pcrud"
3331 oils_obj:fieldmapper="action::emergency_closing_circulation"
3332 oils_persist:tablename="action.emergency_closing_circulation"
3333 reporter:label="Emergency Closing Circulation Entry"
3334 oils_persist:readonly="true"
3335 > <!-- This is not a view, but is managed via functions, so it's readonly. -->
3336 <fields oils_persist:primary="id">
3337 <field name="id" reporter:datatype="id" />
3338 <field name="circulation" reporter:datatype="link" />
3339 <field name="emergency_closing" reporter:datatype="link"/>
3340 <field name="original_due_date" reporter:datatype="timestamp" />
3341 <field name="process_time" reporter:datatype="timestamp" />
3344 <link field="circulation" reltype="has_a" key="id" map="" class="circ"/>
3345 <link field="emergency_closing" reltype="has_a" key="id" map="" class="aec"/>
3347 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3354 controller="open-ils.cstore open-ils.pcrud"
3355 oils_obj:fieldmapper="action::emergency_closing_reservation"
3356 oils_persist:tablename="action.emergency_closing_reservation"
3357 reporter:label="Emergency Closing Reservation Entry"
3358 oils_persist:readonly="true"
3359 > <!-- This is not a view, but is managed via functions, so it's readonly. -->
3360 <fields oils_persist:primary="id">
3361 <field name="id" reporter:datatype="id" />
3362 <field name="reservation" reporter:datatype="link" />
3363 <field name="emergency_closing" reporter:datatype="link"/>
3364 <field name="original_end_time" reporter:datatype="timestamp" />
3365 <field name="process_time" reporter:datatype="timestamp" />
3368 <link field="reservation" reltype="has_a" key="id" map="" class="bresv"/>
3369 <link field="emergency_closing" reltype="has_a" key="id" map="" class="aec"/>
3371 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3378 controller="open-ils.cstore open-ils.pcrud"
3379 oils_obj:fieldmapper="action::emergency_closing_hold"
3380 oils_persist:tablename="action.emergency_closing_hold"
3381 reporter:label="Emergency Closing Hold Entry"
3382 oils_persist:readonly="true"
3383 > <!-- This is not a view, but is managed via functions, so it's readonly. -->
3384 <fields oils_persist:primary="id">
3385 <field name="id" reporter:datatype="id" />
3386 <field name="hold" reporter:datatype="link" />
3387 <field name="emergency_closing" reporter:datatype="link"/>
3388 <field name="original_shelf_expire_time" reporter:datatype="timestamp" />
3389 <field name="process_time" reporter:datatype="timestamp" />
3392 <link field="hold" reltype="has_a" key="id" map="" class="ahr"/>
3393 <link field="emergency_closing" reltype="has_a" key="id" map="" class="aec"/>
3395 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3402 controller="open-ils.cstore open-ils.pcrud"
3403 oils_obj:fieldmapper="action::emergency_closing_status"
3404 oils_persist:tablename="action.emergency_closing_status"
3405 reporter:label="Emergency Closing Status"
3406 oils_persist:readonly="true"
3408 <fields oils_persist:primary="id">
3409 <field name="id" reporter:datatype="id" />
3410 <field name="creator" reporter:datatype="link" />
3411 <field name="create_time" reporter:datatype="timestamp" />
3412 <field name="process_start_time" reporter:datatype="timestamp" />
3413 <field name="process_end_time" reporter:datatype="timestamp" />
3414 <field name="last_update_time" reporter:datatype="timestamp" />
3415 <field name="circulations" reporter:datatype="int" />
3416 <field name="circulations_complete" reporter:datatype="int" />
3417 <field name="reservations" reporter:datatype="int" />
3418 <field name="reservations_complete" reporter:datatype="int" />
3419 <field name="holds" reporter:datatype="int" />
3420 <field name="holds_complete" reporter:datatype="int" />
3423 <link field="id" reltype="has_a" key="id" map="" class="aec"/>
3425 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3431 <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">
3432 <fields oils_persist:primary="id" oils_persist:sequence="action.emergency_closing_id_seq">
3433 <field name="id" reporter:datatype="id" />
3434 <field name="creator" reporter:datatype="link" />
3435 <field name="create_time" reporter:datatype="timestamp" />
3436 <field name="process_start_time" reporter:datatype="timestamp" />
3437 <field name="process_end_time" reporter:datatype="timestamp" />
3438 <field name="last_update_time" reporter:datatype="timestamp" />
3439 <field name="closing" oils_persist:virtual="true" reporter:datatype="link"/>
3440 <field name="status" oils_persist:virtual="true" reporter:datatype="link"/>
3441 <field name="circulations" oils_persist:virtual="true" reporter:datatype="link"/>
3442 <field name="reservations" oils_persist:virtual="true" reporter:datatype="link"/>
3443 <field name="holds" oils_persist:virtual="true" reporter:datatype="link"/>
3446 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
3447 <link field="closing" reltype="might_have" key="emergency_closing" map="" class="aoucd"/>
3448 <link field="status" reltype="might_have" key="id" map="" class="aecs"/>
3449 <link field="circulations" reltype="has_many" key="emergency_closing" map="" class="aecc"/>
3450 <link field="reservations" reltype="has_many" key="emergency_closing" map="" class="aecr"/>
3451 <link field="holds" reltype="has_many" key="emergency_closing" map="" class="aech"/>
3453 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3455 <create permission="EMERGENCY_CLOSING">
3456 <context link="closing" field="org_unit" />
3459 <update permission="EMERGENCY_CLOSING">
3460 <context link="closing" field="org_unit" />
3462 <delete permission="EMERGENCY_CLOSING">
3463 <context link="closing" field="org_unit" />
3468 <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">
3469 <fields oils_persist:primary="id" oils_persist:sequence="actor.org_unit_closed_id_seq">
3470 <field name="close_end" reporter:datatype="timestamp" />
3471 <field name="close_start" reporter:datatype="timestamp" />
3472 <field name="id" reporter:datatype="id" />
3473 <field name="org_unit" reporter:datatype="org_unit"/>
3474 <field name="reason" reporter:datatype="text"/>
3475 <field name="full_day" reporter:datatype="bool"/>
3476 <field name="multi_day" reporter:datatype="bool"/>
3477 <field name="emergency_closing" reporter:datatype="link"/>
3480 <link field="org_unit" reltype="has_a" key="id" map="" class="aou"/>
3481 <link field="emergency_closing" reltype="has_a" key="id" map="" class="aec"/>
3483 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3485 <create permission="CREATE_ORG_UNIT_CLOSING" context_field="org_unit"/>
3487 <update permission="UPDATE_ORG_UNIT_CLOSING" context_field="org_unit"/>
3488 <delete permission="DELETE_ORG_UNIT_CLOSING" context_field="org_unit"/>
3492 <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">
3493 <fields oils_persist:primary="id" oils_persist:sequence="config.rule_circ_duration_id_seq">
3494 <field name="extended" reporter:datatype="interval"/>
3495 <field name="id" reporter:datatype="id" reporter:selector="name"/>
3496 <field name="max_renewals" reporter:datatype="int" />
3497 <field name="name" reporter:datatype="text"/>
3498 <field name="normal" reporter:datatype="interval"/>
3499 <field name="shrt" reporter:datatype="interval"/>
3500 <field name="max_auto_renewals" reporter:datatype="int" />
3504 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3506 <create permission="CREATE_CIRC_DURATION" global_required="true"/>
3508 <update permission="UPDATE_CIRC_DURATION" global_required="true"/>
3509 <delete permission="DELETE_CIRC_DURATION" global_required="true"/>
3514 <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">
3515 <fields oils_persist:primary="id" oils_persist:sequence="config.hard_due_date_id_seq">
3516 <field reporter:label="ID" name="id" reporter:datatype="id" reporter:selector="name"/>
3517 <field reporter:label="Name" name="name" reporter:datatype="text"/>
3518 <field reporter:label="Always Use?" name="forceto" reporter:datatype="bool"/>
3519 <field reporter:label="Current Ceiling Date" name="ceiling_date" reporter:datatype="timestamp"/>
3520 <field reporter:label="Owner" name="owner" reporter:datatype="org_unit"/>
3523 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
3525 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3527 <create permission="CREATE_CIRC_DURATION" global_required="true"/>
3529 <update permission="UPDATE_CIRC_DURATION" global_required="true"/>
3530 <delete permission="DELETE_CIRC_DURATION" global_required="true"/>
3535 <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">
3536 <fields oils_persist:primary="id" oils_persist:sequence="config.hard_due_date_values_id_seq">
3537 <field reporter:label="ID" name="id" reporter:datatype="id"/>
3538 <field reporter:label="Hard Due Date" name="hard_due_date" reporter:datatype="link"/>
3539 <field reporter:label="Ceiling Date" name="ceiling_date" reporter:datatype="timestamp"/>
3540 <field reporter:label="Active Date" name="active_date" reporter:datatype="timestamp"/>
3543 <link field="hard_due_date" reltype="has_a" key="id" map="" class="chdd"/>
3545 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3547 <create permission="CREATE_CIRC_DURATION" global_required="true"/>
3549 <update permission="UPDATE_CIRC_DURATION" global_required="true"/>
3550 <delete permission="DELETE_CIRC_DURATION" global_required="true"/>
3555 <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">
3556 <fields oils_persist:primary="id" oils_persist:sequence="">
3557 <field name="balance_owed" reporter:datatype="money"/>
3558 <field name="id" reporter:datatype="id" />
3559 <field name="last_billing_note" reporter:datatype="text"/>
3560 <field name="last_billing_ts" reporter:datatype="timestamp"/>
3561 <field name="last_billing_type" reporter:datatype="text"/>
3562 <field name="last_payment_note" reporter:datatype="text"/>
3563 <field name="last_payment_ts" reporter:datatype="timestamp"/>
3564 <field name="last_payment_type" reporter:datatype="text"/>
3565 <field name="total_owed" reporter:datatype="money"/>
3566 <field name="total_paid" reporter:datatype="money"/>
3567 <field name="usr" reporter:datatype="link"/>
3568 <field name="xact_finish" reporter:datatype="timestamp" />
3569 <field name="xact_start" reporter:datatype="timestamp" />
3570 <field name="xact_type" reporter:datatype="text"/>
3571 <field name="xact" oils_persist:virtual="true" reporter:datatype="link"/>
3572 <field name="grocery" oils_persist:virtual="true" reporter:datatype="link"/>
3573 <field name="circulation" oils_persist:virtual="true" reporter:datatype="link"/>
3574 <field name="reservation" oils_persist:virtual="true" reporter:datatype="link"/>
3575 <field name="billing_location" reporter:datatype="link"/>
3578 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
3579 <link field="xact" reltype="might_have" key="id" map="" class="mbt"/>
3580 <link field="circulation" reltype="might_have" key="id" map="" class="circ"/>
3581 <link field="grocery" reltype="might_have" key="id" map="" class="mg"/>
3582 <link field="reservation" reltype="might_have" key="id" map="" class="bresv"/>
3583 <link field="billing_location" reltype="has_a" key="id" map="" class="aou"/>
3585 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3587 <retrieve permission="VIEW_USER_TRANSACTIONS">
3588 <context link="usr" field="home_ou" />
3593 <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">
3594 <fields oils_persist:primary="id" oils_persist:sequence="actor.usr_id_seq">
3595 <field reporter:label="All Addresses" name="addresses" oils_persist:virtual="true" reporter:datatype="link"/>
3596 <field reporter:label="All Library Cards" name="cards" oils_persist:virtual="true" reporter:datatype="link"/>
3597 <field reporter:label="All Circulations" name="checkouts" oils_persist:virtual="true" reporter:datatype="link"/>
3598 <field reporter:label="All Hold Requests" name="hold_requests" oils_persist:virtual="true" reporter:datatype="link"/>
3599 <field reporter:label="All Permissions" name="permissions" oils_persist:virtual="true" reporter:datatype="link"/>
3600 <field reporter:label="All User Settings" name="settings" oils_persist:virtual="true" reporter:datatype="link"/>
3601 <field reporter:label="Standing Penalties" name="standing_penalties" oils_persist:virtual="true" reporter:datatype="link"/>
3602 <field reporter:label="Statistical Category Entries" name="stat_cat_entries" oils_persist:virtual="true" reporter:datatype="link"/>
3603 <field reporter:label="Survey Responses" name="survey_responses" oils_persist:virtual="true" reporter:datatype="link"/>
3604 <field reporter:label="Workstation Org Unit" name="ws_ou" oils_persist:virtual="true" reporter:datatype="link"/>
3605 <field reporter:label="Workstation ID" name="wsid" oils_persist:virtual="true" reporter:datatype="link"/>
3606 <field reporter:label="Active" name="active" reporter:datatype="bool"/>
3607 <field reporter:label="Alert Message" name="alert_message" reporter:datatype="text"/>
3608 <field reporter:label="Barred" name="barred" reporter:datatype="bool"/>
3609 <field reporter:label="Physical Address" name="billing_address" reporter:datatype="link"/>
3610 <field reporter:label="Current Library Card" name="card" reporter:datatype="link"/>
3611 <field reporter:label="Claims-returned Count" name="claims_returned_count" reporter:datatype="int" />
3612 <field reporter:label="Claims Never Checked Out Count" name="claims_never_checked_out_count" reporter:datatype="int" />
3613 <field reporter:label="Record Creation Date/Time" name="create_date" reporter:datatype="timestamp"/>
3614 <field reporter:label="User Credit Balance" name="credit_forward_balance" reporter:datatype="money" />
3615 <field reporter:label="Daytime Phone" name="day_phone" reporter:datatype="text"/>
3616 <field reporter:label="Date of Birth" name="dob" reporter:datatype="timestamp"/>
3617 <field reporter:label="Email Address" name="email" reporter:datatype="text"/>
3618 <field reporter:label="Evening Phone" name="evening_phone" reporter:datatype="text"/>
3619 <field reporter:label="Privilege Expiration Date" name="expire_date" reporter:datatype="timestamp"/>
3620 <field reporter:label="Last Name" name="family_name" reporter:datatype="text"/>
3621 <field reporter:label="First Name" name="first_given_name" reporter:datatype="text"/>
3622 <field reporter:label="Home Library" name="home_ou" reporter:datatype="org_unit"/>
3623 <field reporter:label="User ID" name="id" reporter:datatype="id" />
3624 <field reporter:label="Primary Identification Type" name="ident_type" reporter:datatype="link"/>
3625 <field reporter:label="Secondary Identification Type" name="ident_type2" reporter:datatype="link"/>
3626 <field reporter:label="Primary Identification" name="ident_value" reporter:datatype="text"/>
3627 <field reporter:label="Secondary Identification" name="ident_value2" reporter:datatype="text"/>
3628 <field reporter:label="Last Transaction ID" name="last_xact_id" reporter:datatype="text"/>
3629 <field reporter:label="Mailing Address" name="mailing_address" reporter:datatype="link"/>
3630 <field reporter:label="Is Group Lead Account" name="master_account" reporter:datatype="bool"/>
3631 <field reporter:label="Internet Access Level" name="net_access_level" reporter:datatype="link"/>
3632 <field reporter:label="Other Phone" name="other_phone" reporter:datatype="text"/>
3633 <field reporter:label="Password" name="passwd" suppress_controller="open-ils.pcrud open-ils.reporter-store" reporter:datatype="text"/>
3634 <field reporter:label="Photo URL" name="photo_url" reporter:datatype="text"/>
3635 <field reporter:label="Prefix/Title" name="prefix" reporter:datatype="text"/>
3636 <field reporter:label="Main (Profile) Permission Group" name="profile" reporter:datatype="link"/>
3637 <field reporter:label="Middle Name" name="second_given_name" reporter:datatype="text"/>
3638 <field reporter:label="Standing (unused)" name="standing" reporter:datatype="link"/>
3639 <field reporter:label="Suffix" name="suffix" reporter:datatype="text"/>
3640 <field reporter:label="Is Super User" name="super_user" reporter:datatype="bool"/>
3641 <field reporter:label="Family Linkage or other Group" name="usrgroup" reporter:datatype="int"/>
3642 <field reporter:label="OPAC/Staff Client User Name" name="usrname" reporter:datatype="text"/>
3643 <field reporter:label="OPAC/Staff Client Holds Alias" name="alias" reporter:datatype="text"/>
3644 <field reporter:label="Juvenile" name="juvenile" reporter:datatype="bool"/>
3645 <field reporter:label="Record Last Update Time" name="last_update_time" reporter:datatype="timestamp"/>
3646 <field reporter:label="Preferred Prefix" name="pref_prefix" reporter:datatype="text"/>
3647 <field reporter:label="Preferred First Name" name="pref_first_given_name" reporter:datatype="text"/>
3648 <field reporter:label="Preferred Middle Name" name="pref_second_given_name" reporter:datatype="text"/>
3649 <field reporter:label="Preferred Last Name" name="pref_family_name" reporter:datatype="text"/>
3650 <field reporter:label="Preferred Suffix" name="pref_suffix" reporter:datatype="text"/>
3651 <field reporter:label="Parent/Guardian" name="guardian" reporter:datatype="text"/>
3652 <field reporter:label="Name Keywords" name="name_keywords" reporter:datatype="text"/>
3653 <field reporter:label="Additional Permission Groups" name="groups" oils_persist:virtual="true" reporter:datatype="link"/>
3654 <field reporter:label="Is Deleted" name="deleted" reporter:datatype="bool"/>
3655 <field reporter:label="User Notes" name="notes" oils_persist:virtual="true" reporter:datatype="link"/>
3656 <field reporter:label="Demographic Info" name="demographic" oils_persist:virtual="true" reporter:datatype="link"/>
3657 <field reporter:label="Billable Transactions" name="billable_transactions" oils_persist:virtual="true" reporter:datatype="link"/>
3658 <field reporter:label="Money Summary" name="money_summary" oils_persist:virtual="true" reporter:datatype="link"/>
3659 <field reporter:label="Open Billable Transactions" name="open_billable_transactions_summary" oils_persist:virtual="true" reporter:datatype="link"/>
3660 <field reporter:label="Checkins" name="checkins" oils_persist:virtual="true" reporter:datatype="link"/>
3661 <field reporter:label="Circulations Performed as Staff" name="performed_circulations" oils_persist:virtual="true" reporter:datatype="link"/>
3662 <field reporter:label="Fund Allocation Percentages" name="fund_alloc_pcts" oils_persist:virtual="true" reporter:datatype="link"/>
3663 <field reporter:label="Reservations" name="reservations" oils_persist:virtual="true" reporter:datatype="link"/>
3664 <field reporter:label="User Activity Entries" name="usr_activity" oils_persist:virtual="true" reporter:datatype="link"/>
3665 <field reporter:label="User/Working Location Map" name="usr_work_ou_map" oils_persist:virtual="true" reporter:datatype="link"/>
3668 <link field="demographic" reltype="might_have" key="id" map="" class="rud"/>
3669 <link field="net_access_level" reltype="has_a" key="id" map="" class="cnal"/>
3670 <link field="profile" reltype="has_a" key="id" map="" class="pgt"/>
3671 <link field="ident_type" reltype="has_a" key="id" map="" class="cit"/>
3672 <link field="billing_address" reltype="has_a" key="id" map="" class="aua"/>
3673 <link field="mailing_address" reltype="has_a" key="id" map="" class="aua"/>
3674 <link field="home_ou" reltype="has_a" key="id" map="" class="aou"/>
3675 <link field="standing" reltype="has_a" key="id" map="" class="cst"/>
3676 <link field="card" reltype="has_a" key="id" map="" class="ac"/>
3677 <link field="ident_type2" reltype="has_a" key="id" map="" class="cit"/>
3678 <link field="stat_cat_entries" reltype="has_many" key="target_usr" map="" class="actscecm"/>
3679 <link field="groups" reltype="has_many" key="usr" map="grp" class="pugm"/>
3680 <link field="usrgroup" reltype="has_many" key="usrgroup" map="" class="au"/>
3681 <link field="checkouts" reltype="has_many" key="usr" map="" class="circ"/>
3682 <link field="hold_requests" reltype="has_many" key="usr" map="" class="ahr"/>
3683 <link field="permissions" reltype="has_many" key="usr" map="perm" class="pupm"/>
3684 <link field="settings" reltype="has_many" key="usr" map="" class="aus"/>
3685 <link field="billable_transactions" reltype="has_many" key="usr" map="" class="mbt"/>
3686 <link field="open_billable_transactions_summary" reltype="has_many" key="usr" map="" class="mobts"/>
3687 <link field="money_summary" reltype="might_have" key="usr" map="" class="mus"/>
3688 <link field="standing_penalties" reltype="has_many" key="usr" map="" class="ausp"/>
3689 <link field="addresses" reltype="has_many" key="usr" map="" class="aua"/>
3690 <link field="survey_responses" reltype="has_many" key="usr" map="" class="asvr"/>
3691 <link field="notes" reltype="has_many" key="usr" map="" class="aun"/>
3692 <link field="checkins" reltype="has_many" key="checkin_staff" map="" class="circ"/>
3693 <link field="cards" reltype="has_many" key="usr" map="" class="ac"/>
3694 <link field="performed_circulations" reltype="has_many" key="circ_staff" map="" class="circ"/>
3695 <link field="fund_alloc_pcts" reltype="has_many" key="allocator" map="" class="acqfap"/>
3696 <link field="reservations" reltype="has_many" key="usr" map="" class="bresv"/>
3697 <link field="usr_activity" reltype="has_many" key="usr" map="" class="auact"/>
3698 <link field="usr_work_ou_map" reltype="has_many" key="usr" map="" class="puwoum"/>
3700 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3702 <retrieve permission="VIEW_USER user_request.view" context_field="home_ou" />
3706 <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">
3707 <fields oils_persist:primary="id" oils_persist:sequence="config.usr_activity_type_id_seq">
3708 <field name="id" reporter:label="ID" reporter:datatype="id" />
3709 <field name="ewho" reporter:label="Event Caller" reporter:datatype="text"/>
3710 <field name="ewhat" reporter:label="Event Type" reporter:datatype="text"/>
3711 <field name="ehow" reporter:label="Event Mechanism" reporter:datatype="text"/>
3712 <field name="label" reporter:label="Label" reporter:datatype="text"/>
3713 <field name="egroup" reporter:label="Activity Group" reporter:datatype="text"/>
3714 <field name="enabled" reporter:label="Enabled" reporter:datatype="bool"/>
3715 <field name="transient" reporter:label="Transient" reporter:datatype="bool"/>
3717 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3719 <create permission="ADMIN_USER_ACTIVITY_TYPE" global_required="true"/>
3721 <update permission="ADMIN_USER_ACTIVITY_TYPE" global_required="true"/>
3722 <delete permission="ADMIN_USER_ACTIVITY_TYPE" global_required="true"/>
3726 <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">
3727 <fields oils_persist:primary="id" oils_persist:sequence="actor.usr_activity_id_seq">
3728 <field name="id" reporter:label="ID" reporter:datatype="id" />
3729 <field name="usr" reporter:label="User" reporter:datatype="link" />
3730 <field name="etype" reporter:label="Activity Type" reporter:datatype="link" />
3731 <field name="event_time" reporter:label="Event Time" reporter:datatype="timestamp" />
3734 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
3735 <link field="etype" reltype="has_a" key="id" map="" class="cuat"/>
3737 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3739 <retrieve permission="RUN_REPORTS">
3740 <context link="usr" field="home_ou" />
3745 <class id="atb" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="actor::toolbar" oils_persist:tablename="actor.toolbar" reporter:label="Custom Toolbar">
3746 <fields oils_persist:primary="id" oils_persist:sequence="actor.toolbar_id_seq">
3747 <field name="id" reporter:label="ID" reporter:datatype="id" />
3748 <field name="usr" reporter:label="Owning User" reporter:datatype="link" />
3749 <field name="org" reporter:label="Owning Org Unit" reporter:datatype="link" />
3750 <field name="ws" reporter:label="Owning Workstation" reporter:datatype="link" />
3751 <field name="label" reporter:label="Label" reporter:datatype="text" oils_persist:i18n="true" />
3752 <field name="layout" reporter:label="Layout" reporter:datatype="text" />
3755 <link field="usr" reltype="might_have" key="id" map="" class="au"/>
3756 <link field="org" reltype="might_have" key="id" map="" class="aou"/>
3757 <link field="ws" reltype="might_have" key="id" map="" class="aws"/>
3759 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3761 <retrieve permission="ADMIN_TOOLBAR STAFF_LOGIN" context_field="org">
3762 <context link="usr" field="home_ou" />
3763 <context link="ws" field="owning_lib" />
3765 <create permission="ADMIN_TOOLBAR" context_field="org">
3766 <context link="usr" field="home_ou" />
3767 <context link="ws" field="owning_lib" />
3769 <update permission="ADMIN_TOOLBAR" context_field="org">
3770 <context link="usr" field="home_ou" />
3771 <context link="ws" field="owning_lib" />
3773 <delete permission="ADMIN_TOOLBAR" context_field="org">
3774 <context link="usr" field="home_ou" />
3775 <context link="ws" field="owning_lib" />
3780 <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">
3781 <fields oils_persist:primary="name">
3782 <field name="name" reporter:datatype="text"/>
3783 <field name="label" reporter:datatype="text" oils_persist:i18n="true"/>
3786 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3788 <create permission="ADMIN_USER_SETTING_GROUP" global_required="true"/>
3790 <update permission="ADMIN_USER_SETTING_GROUP" global_required="true"/>
3791 <delete permission="ADMIN_USER_SETTING_GROUP" global_required="true"/>
3795 <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">
3796 <fields oils_persist:primary="name">
3797 <field name="name" reporter:label="Name" reporter:datatype="text"/>
3798 <field name="label" reporter:label="Label" reporter:datatype="text" oils_persist:i18n="true"/>
3799 <field name="description" reporter:label="Description" reporter:datatype="text" oils_persist:i18n="true"/>
3800 <field name="datatype" reporter:label="Datatype" reporter:datatype="text"/>
3801 <field name="fm_class" reporter:label="Fieldmapper Class" reporter:datatype="text"/>
3802 <field name="grp" reporter:label="Settings Group" reporter:datatype="link"/>
3803 <field name="opac_visible" reporter:label="OPAC/Patron Visible" reporter:datatype="bool"/>
3804 <field name="reg_default" reporter:label="Registration Default" reporter:datatype="text"/>
3807 <link field="name" reltype="has_many" key="name" map="" class="aus"/>
3808 <link field="grp" reltype="has_a" key="name" map="" class="csg"/>
3810 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3812 <create permission="ADMIN_USER_SETTING_TYPE" global_required="true"/>
3814 <update permission="ADMIN_USER_SETTING_TYPE" global_required="true"/>
3815 <delete permission="ADMIN_USER_SETTING_TYPE" global_required="true"/>
3819 <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">
3820 <fields oils_persist:primary="name">
3821 <field name="name" reporter:datatype="text"/>
3822 <field name="label" reporter:datatype="text" oils_persist:i18n="true"/>
3823 <field name="description" reporter:datatype="text" oils_persist:i18n="true"/>
3824 <field name="datatype" reporter:datatype="text"/>
3825 <field name="view_perm" reporter:datatype="link"/>
3826 <field name="update_perm" reporter:datatype="link"/>
3827 <field name="fm_class" reporter:datatype="text"/>
3828 <field name="grp" reporter:datatype="link"/>
3831 <link field="name" reltype="has_many" key="name" map="" class="aous"/>
3832 <link field="view_perm" reltype="has_a" key="id" map="" class="ppl"/>
3833 <link field="update_perm" reltype="has_a" key="id" map="" class="ppl"/>
3834 <link field="grp" reltype="has_a" key="name" map="" class="csg"/>
3836 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3838 <create permission="ADMIN_ORG_UNIT_SETTING_TYPE" global_required="true"/>
3840 <update permission="ADMIN_ORG_UNIT_SETTING_TYPE" global_required="true"/>
3841 <delete permission="ADMIN_ORG_UNIT_SETTING_TYPE" global_required="true"/>
3845 <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">
3846 <fields oils_persist:primary="id" oils_persist:sequence="actor.org_unit_setting_id_seq">
3848 <field name="name" reporter:datatype="text"/>
3849 <field name="org_unit" reporter:datatype="org_unit"/>
3850 <field name="value" reporter:datatype="text"/>
3853 <link field="org_unit" reltype="has_a" key="id" map="" class="aou"/>
3854 <link field="name" reltype="has_a" key="name" map="" class="coust"/>
3857 <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">
3858 <fields oils_persist:primary="id" oils_persist:sequence="asset.copy_note_id_seq">
3859 <field reporter:label="Note Creation Date/Time" name="create_date" reporter:datatype="timestamp"/>
3860 <field reporter:label="Note Creator" name="creator" reporter:datatype="link"/>
3861 <field reporter:label="Note ID" name="id" reporter:datatype="id" />
3862 <field reporter:label="Copy" name="owning_copy" reporter:datatype="link"/>
3863 <field reporter:label="Is OPAC Visible?" name="pub" reporter:datatype="bool"/>
3864 <field reporter:label="Note Title" name="title" reporter:datatype="text"/>
3865 <field reporter:label="Note Content" name="value" reporter:datatype="text"/>
3868 <link field="owning_copy" reltype="has_a" key="id" map="" class="acp"/>
3869 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
3871 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3873 <create permission="CREATE_COPY_NOTE">
3874 <context link="owning_copy" field="circ_lib"/>
3876 <retrieve permission="VIEW_COPY_NOTES">
3877 <context link="owning_copy" field="circ_lib"/>
3879 <update permission="UPDATE_COPY_NOTE">
3880 <context link="owning_copy" field="circ_lib"/>
3882 <delete permission="DELETE_COPY_NOTE">
3883 <context link="owning_copy" field="circ_lib"/>
3888 <class id="mfr" controller="open-ils.cstore" oils_obj:fieldmapper="metabib::full_rec" oils_persist:tablename="metabib.full_rec" reporter:label="Flattened MARC Fields">
3889 <fields oils_persist:primary="id" oils_persist:sequence="metabib.full_rec_id_seq">
3890 <field reporter:label="Field ID" name="id" reporter:datatype="id" />
3891 <field reporter:label="Indicator 1" name="ind1" oils_persist:primitive="string" reporter:datatype="text"/>
3892 <field reporter:label="Indicator 2" name="ind2" oils_persist:primitive="string" reporter:datatype="text"/>
3893 <field reporter:label="Bib Record Entry" name="record" reporter:datatype="link"/>
3894 <field reporter:label="Subfield" name="subfield" oils_persist:primitive="string" reporter:datatype="text"/>
3895 <field reporter:label="Tag" name="tag" reporter:datatype="text"/>
3896 <field reporter:label="Normalized Value" name="value" reporter:datatype="text"/>
3899 <link field="record" reltype="has_a" key="id" map="" class="bre"/>
3902 <class id="mmr" controller="open-ils.cstore" oils_obj:fieldmapper="metabib::metarecord" oils_persist:tablename="metabib.metarecord" reporter:label="Metarecord">
3903 <fields oils_persist:primary="id" oils_persist:sequence="metabib.metarecord_id_seq">
3904 <field name="fingerprint" reporter:datatype="text"/>
3905 <field name="id" reporter:datatype="id" />
3906 <field name="master_record" reporter:datatype="link"/>
3907 <field name="mods" reporter:datatype="text"/>
3908 <field name="source_records" oils_persist:virtual="true" reporter:datatype="link"/>
3911 <link field="master_record" reltype="has_a" key="id" map="" class="bre"/>
3912 <link field="source_records" reltype="has_many" key="metarecord" map="source" class="mmrsm"/>
3915 <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">
3916 <fields oils_persist:primary="id" oils_persist:sequence="config.net_access_level_id_seq">
3917 <field name="id" reporter:selector="name" reporter:datatype="id"/>
3918 <field name="name" reporter:datatype="text" oils_persist:i18n="true"/>
3921 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3923 <create permission="CREATE_NET_ACCESS_LEVEL" global_required="true"/>
3925 <update permission="UPDATE_NET_ACCESS_LEVEL" global_required="true"/>
3926 <delete permission="DELETE_NET_ACCESS_LEVEL" global_required="true"/>
3930 <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">
3931 <fields oils_persist:primary="id" oils_persist:sequence="permission.perm_list_id_seq">
3932 <field name="code" reporter:datatype="text"/>
3933 <field name="description" reporter:datatype="text" oils_persist:i18n="true"/>
3934 <field name="id" reporter:selector="code" reporter:datatype="id"/>
3937 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3939 <create permission="CREATE_PERM" global_required="true"/>
3940 <retrieve permission="CREATE_PERM UPDATE_PERM DELETE_PERM" global_required="true"/>
3941 <update permission="UPDATE_PERM" global_required="true"/>
3942 <delete permission="DELETE_PERM" global_required="true"/>
3946 <class id="mmrsm" controller="open-ils.cstore" oils_obj:fieldmapper="metabib::metarecord_source_map" oils_persist:tablename="metabib.metarecord_source_map" oils_persist:field_safe="true" reporter:label="Metarecord Source Map">
3947 <fields oils_persist:primary="id" oils_persist:sequence="metabib.metarecord_source_map_id_seq">
3948 <field name="id" reporter:datatype="id" />
3949 <field name="metarecord" reporter:datatype="link"/>
3950 <field name="source" reporter:datatype="link"/>
3953 <link field="source" reltype="has_a" key="id" map="" class="bre"/>
3954 <link field="metarecord" reltype="has_a" key="id" map="" class="mmr"/>
3957 <class id="mde" controller="open-ils.cstore open-ils.pcrud"
3958 oils_obj:fieldmapper="metabib::display_entry"
3959 oils_persist:tablename="metabib.display_entry"
3960 oils_persist:field_safe="true"
3961 reporter:label="Display Field Entry" oils_persist:readonly="true">
3962 <fields oils_persist:primary="id" oils_persist:sequence="metabib.display_entry_id_seq">
3963 <field name="id" reporter:datatype="id" />
3964 <field name="field" reporter:datatype="link"/>
3965 <field name="source" reporter:datatype="link"/>
3966 <field name="value" reporter:datatype="text"/>
3967 <field name="highlight" oils_persist:virtual="true" reporter:datatype="text"/>
3970 <link field="source" reltype="has_a" key="id" map="" class="bre"/>
3971 <link field="field" reltype="has_a" key="id" map="" class="cmf"/>
3973 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
3979 <class id="mfde" controller="open-ils.cstore open-ils.pcrud"
3980 oils_persist:tablename="metabib.flat_display_entry"
3981 oils_obj:fieldmapper="metabib::flat_display_entry"
3982 oils_persist:field_safe="true"
3983 reporter:label="Flat Display Entry"
3984 oils_persist:readonly="true">
3986 <field name="source" reporter:datatype="id" />
3987 <field name="name" reporter:datatype="text"/>
3988 <field name="multi" reporter:datatype="bool"/>
3989 <field name="label" reporter:datatype="text"/>
3990 <field name="field" reporter:datatype="link"/>
3991 <field name="value" reporter:datatype="text"/>
3994 <link field="source" reltype="has_a" key="id" map="" class="bre"/>
3995 <link field="field" reltype="has_a" key="id" map="" class="cmf"/>
3996 <link field="name" reltype="has_a" key="name" map="" class="cdfm"/>
3998 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
4004 <class id="mcde" controller="open-ils.cstore open-ils.pcrud"
4005 oils_persist:tablename="metabib.compressed_display_entry"
4006 oils_obj:fieldmapper="metabib::compressed_display_entry"
4007 oils_persist:field_safe="true"
4008 reporter:label="Compressed Display Entry"
4009 oils_persist:readonly="true">
4011 <field name="source" reporter:datatype="id" />
4012 <field name="name" reporter:datatype="text"/>
4013 <field name="multi" reporter:datatype="bool"/>
4014 <field name="label" reporter:datatype="text"/>
4015 <field name="field" reporter:datatype="link"/>
4016 <field name="value" reporter:datatype="text"/>
4019 <link field="source" reltype="has_a" key="id" map="" class="bre"/>
4020 <link field="field" reltype="has_a" key="id" map="" class="cmf"/>
4021 <link field="name" reltype="has_a" key="name" map="" class="cdfm"/>
4023 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
4029 <class id="mwde" controller="open-ils.cstore open-ils.pcrud"
4030 oils_persist:tablename="metabib.wide_display_entry"
4031 oils_obj:fieldmapper="metabib::wide_display_entry"
4032 oils_persist:field_safe="true"
4033 reporter:label="Wide Display Entry"
4034 oils_persist:readonly="true">
4035 <fields oils_persist:primary="source">
4036 <field name="source" reporter:label="Record ID" reporter:datatype="id" />
4037 <field name="title" reporter:label="Title" reporter:datatype="text"/>
4038 <field name="author" reporter:label="Author" reporter:datatype="text"/>
4039 <field name="creators" reporter:label="Creators" reporter:datatype="text"/>
4040 <field name="isbn" reporter:label="ISBN" reporter:datatype="text"/>
4041 <field name="issn" reporter:label="ISSN" reporter:datatype="text"/>
4042 <field name="upc" reporter:label="UPC" reporter:datatype="text"/>
4043 <field name="tcn" reporter:label="TCN" reporter:datatype="text"/>
4044 <field name="edition" reporter:label="Edition" reporter:datatype="text"/>
4045 <field name="physical_description" reporter:label="Physical Description" reporter:datatype="text"/>
4046 <field name="publisher" reporter:label="Publisher" reporter:datatype="text"/>
4047 <field name="series_title" reporter:label="Series Title" reporter:datatype="text"/>
4048 <field name="subject_geographic" reporter:label="Geographic Subject" reporter:datatype="text"/>
4049 <field name="subject_name" reporter:label="Name Subject" reporter:datatype="text"/>
4050 <field name="subject_temporal" reporter:label="Temporal Subject" reporter:datatype="text"/>
4051 <field name="subject_topic" reporter:label="Topic Subject" reporter:datatype="text"/>
4052 <field name="abstract" reporter:label="Abstract" reporter:datatype="text"/>
4053 <field name="toc" reporter:label="Table of Contents" reporter:datatype="text"/>
4054 <field name="pubdate" reporter:label="Publication Date" reporter:datatype="text"/>
4055 <field name="type_of_resource" reporter:label="Type of Resource" reporter:datatype="text"/>
4058 <link field="source" reltype="has_a" key="id" map="" class="bre"/>
4060 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
4067 <class id="cdfm" controller="open-ils.cstore open-ils.pcrud"
4068 oils_persist:tablename="config.display_field_map"
4069 oils_obj:fieldmapper="config::display_field_map"
4070 oils_persist:field_safe="true"
4071 reporter:label="Display Field Map">
4072 <fields oils_persist:primary="name">
4073 <field name="name" reporter:datatype="text"/>
4074 <field name="field" reporter:datatype="link"/>
4075 <field name="multi" reporter:datatype="bool"/>
4078 <link field="field" reltype="has_a" key="id" map="" class="cmf"/>
4080 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
4083 <create permission="CREATE_METABIB_FIELD" global_required="true"/>
4084 <update permission="UPDATE_METABIB_FIELD" global_required="true"/>
4085 <delete permission="DELETE_METABIB_FIELD" global_required="true"/>
4090 <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">
4091 <fields oils_persist:primary="id" oils_persist:sequence="metabib.facet_entry_id_seq">
4092 <field name="id" reporter:datatype="id" />
4093 <field name="field" reporter:datatype="link"/>
4094 <field name="source" reporter:datatype="link"/>
4095 <field name="value" reporter:datatype="text"/>
4098 <link field="source" reltype="has_a" key="id" map="" class="bre"/>
4099 <link field="field" reltype="has_a" key="id" map="" class="cmf"/>
4102 <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">
4103 <fields oils_persist:primary="id" oils_persist:sequence="metabib.browse_entry_id_seq">
4104 <field name="id" reporter:datatype="id" />
4105 <field name="value" reporter:datatype="text"/>
4106 <field name="def_maps" oils_persist:virtual="true" reporter:datatype="link"/>
4109 <link field="def_maps" reltype="has_many" key="entry" map="" class="mbedm"/>
4112 <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">
4113 <fields oils_persist:primary="id" oils_persist:sequence="metabib.browse_entry_def_map_id_seq">
4114 <field name="id" reporter:datatype="id" />
4115 <field name="entry" reporter:datatype="link"/>
4116 <field name="def" reporter:datatype="link"/>
4117 <field name="source" reporter:datatype="link"/>
4120 <link field="entry" reltype="has_a" key="id" map="" class="mbe"/>
4121 <link field="def" reltype="has_a" key="id" map="" class="cmf"/>
4122 <link field="source" reltype="has_a" key="id" map="" class="bre"/>
4125 <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">
4126 <fields oils_persist:primary="id" oils_persist:sequence="metabib.browse_entry_simple_heading_map_id_seq">
4127 <field name="id" reporter:datatype="id" />
4128 <field name="entry" reporter:datatype="link"/>
4129 <field name="simple_heading" reporter:datatype="link"/>
4132 <link field="entry" reltype="has_a" key="id" map="" class="mbe"/>
4133 <link field="simple_heading" reltype="has_a" key="id" map="" class="ash"/>
4136 <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">
4137 <oils_persist:source_definition><![CDATA[
4138 SELECT * FROM metabib.author_field_entry
4140 SELECT * FROM metabib.keyword_field_entry
4142 SELECT * FROM metabib.identifier_field_entry
4144 SELECT * FROM metabib.title_field_entry
4146 SELECT * FROM metabib.subject_field_entry
4148 SELECT * FROM metabib.series_field_entry
4149 ]]></oils_persist:source_definition>
4151 <field name="field" reporter:datatype="link"/>
4152 <field name="id" reporter:datatype="id" />
4153 <field name="source" reporter:datatype="link"/>
4154 <field name="value" reporter:datatype="text"/>
4157 <link field="source" reltype="has_a" key="id" map="" class="bre"/>
4158 <link field="field" reltype="has_a" key="id" map="" class="cmf"/>
4161 <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">
4162 <fields oils_persist:primary="id" oils_persist:sequence="metabib.keyword_field_entry_id_seq">
4163 <field name="field" reporter:datatype="link"/>
4164 <field name="id" reporter:datatype="id" />
4165 <field name="source" reporter:datatype="link"/>
4166 <field name="value" reporter:datatype="text"/>
4169 <link field="source" reltype="has_a" key="id" map="" class="bre"/>
4170 <link field="field" reltype="has_a" key="id" map="" class="cmf"/>
4173 <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">
4174 <fields oils_persist:primary="id" oils_persist:sequence="money.payment_id_seq">
4175 <field name="accepting_usr" reporter:datatype="link"/>
4176 <field name="amount" reporter:datatype="money" />
4177 <field name="amount_collected" reporter:datatype="money" />
4178 <field name="cash_drawer" reporter:datatype="link"/>
4179 <field name="id" reporter:datatype="id" />
4180 <field name="note" reporter:datatype="text"/>
4181 <field name="payment_ts" reporter:datatype="timestamp"/>
4182 <field name="xact" reporter:datatype="link"/>
4183 <field name="payment_type" oils_persist:virtual="true" reporter:datatype="text"/>
4184 <field name="payment" oils_persist:virtual="true" reporter:datatype="link"/>
4187 <link field="payment" reltype="might_have" key="id" map="" class="mp"/>
4188 <link field="accepting_usr" reltype="has_a" key="id" map="" class="au"/>
4189 <link field="cash_drawer" reltype="has_a" key="id" map="" class="aws"/>
4190 <link field="xact" reltype="has_a" key="id" map="" class="mbt"/>
4192 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
4194 <retrieve permission="VIEW_USER_TRANSACTIONS">
4195 <context link="xact" jump="usr" field="home_ou"/>
4200 <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">
4201 <fields oils_persist:primary="id" oils_persist:sequence="money.payment_id_seq">
4202 <field name="accepting_usr" reporter:datatype="link"/>
4203 <field name="amount" reporter:datatype="money" />
4204 <field name="amount_collected" reporter:datatype="money" />
4205 <field name="id" reporter:datatype="id" />
4206 <field name="note" reporter:datatype="text"/>
4207 <field name="payment_ts" reporter:datatype="timestamp"/>
4208 <field name="xact" reporter:datatype="link"/>
4209 <field name="payment_type" oils_persist:virtual="true" reporter:datatype="text"/>
4210 <field name="payment" oils_persist:virtual="true" reporter:datatype="link"/>
4213 <link field="payment" reltype="might_have" key="id" map="" class="mp"/>
4214 <link field="accepting_usr" reltype="has_a" key="id" map="" class="au"/>
4215 <link field="xact" reltype="has_a" key="id" map="" class="mbt"/>
4217 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
4219 <retrieve permission="VIEW_USER_TRANSACTIONS">
4220 <context link="xact" jump="usr" field="home_ou"/>
4225 <class id="maa" controller="open-ils.cstore" oils_obj:fieldmapper="money::account_adjustment" oils_persist:tablename="money.account_adjustment" reporter:label="Account Adjustment">
4226 <fields oils_persist:primary="id" oils_persist:sequence="money.payment_id_seq">
4227 <field name="accepting_usr" reporter:datatype="link"/>
4228 <field name="amount" reporter:datatype="money" />
4229 <field name="amount_collected" reporter:datatype="money" />
4230 <field name="id" reporter:datatype="id" />
4231 <field name="note" reporter:datatype="text"/>
4232 <field name="payment_ts" reporter:datatype="timestamp"/>
4233 <field name="xact" reporter:datatype="link"/>
4234 <field name="billing" reporter:datatype="link"/>
4235 <field name="payment_type" oils_persist:virtual="true" reporter:datatype="text"/>
4236 <field name="payment" oils_persist:virtual="true" reporter:datatype="link"/>
4239 <link field="payment" reltype="might_have" key="id" map="" class="mp"/>
4240 <link field="accepting_usr" reltype="has_a" key="id" map="" class="au"/>
4241 <link field="xact" reltype="has_a" key="id" map="" class="mbt"/>
4242 <link field="billing" reltype="might_have" key="id" class="mb"/>
4245 <class id="mrd" controller="open-ils.cstore" oils_obj:fieldmapper="metabib::record_descriptor" oils_persist:tablename="metabib.rec_descriptor" reporter:label="Basic Record Descriptor">
4246 <fields oils_persist:primary="id" oils_persist:sequence="metabib.rec_descriptor_id_seq">
4247 <field reporter:label="Audn" name="audience" oils_persist:primitive="string" reporter:datatype="text"/>
4248 <field reporter:label="BLvl" name="bib_level" oils_persist:primitive="string" reporter:datatype="text"/>
4249 <field reporter:label="Cat Form" name="cat_form" oils_persist:primitive="string" reporter:datatype="text"/>
4250 <field reporter:label="Character Encoding" name="char_encoding" oils_persist:primitive="string" reporter:datatype="text"/>
4251 <field reporter:label="Ctrl" name="control_type" oils_persist:primitive="string" reporter:datatype="text"/>
4252 <field reporter:label="ELvl" name="enc_level" oils_persist:primitive="string" reporter:datatype="text"/>
4253 <field reporter:label="Descriptor ID" name="id" reporter:datatype="id" />
4254 <field reporter:label="Form" name="item_form" oils_persist:primitive="string" reporter:datatype="text"/>
4255 <field reporter:label="Lang" name="item_lang" oils_persist:primitive="string" reporter:datatype="text"/>
4256 <field reporter:label="Type" name="item_type" oils_persist:primitive="string" reporter:datatype="text"/>
4257 <field reporter:label="LitF" name="lit_form" oils_persist:primitive="string" reporter:datatype="text"/>
4258 <field reporter:label="Pub Status" name="pub_status" oils_persist:primitive="string" reporter:datatype="text"/>
4259 <field reporter:label="Bib Record Entry" name="record" reporter:datatype="link"/>
4260 <field reporter:label="TMat" name="type_mat" oils_persist:primitive="string" reporter:datatype="text"/>
4261 <field reporter:label="Video Recording Format" name="vr_format" oils_persist:primitive="string" reporter:datatype="text"/>
4262 <field reporter:label="Date1" name="date1" oils_persist:primitive="string" reporter:datatype="text"/>
4263 <field reporter:label="Date2" name="date2" oils_persist:primitive="string" reporter:datatype="text"/>
4266 <link field="record" reltype="has_a" key="id" map="" class="bre"/>
4267 <link field="item_lang" reltype="has_a" key="code" map="" class="clm"/>
4268 <link field="item_type" reltype="has_a" key="code" map="" class="citm"/>
4269 <link field="bib_level" reltype="has_a" key="code" map="" class="cblvl"/>
4270 <link field="item_form" reltype="has_a" key="code" map="" class="cifm"/>
4271 <link field="audience" reltype="has_a" key="code" map="" class="cam"/>
4272 <link field="lit_form" reltype="has_a" key="code" map="" class="clfm"/>
4276 <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">
4277 <fields oils_persist:primary="id" oils_persist:sequence="config.standing_penalty_id_seq">
4278 <field reporter:label="Penalty ID" name="id" reporter:selector="name" reporter:datatype="id"/>
4279 <field reporter:label="Name" name="name" reporter:datatype="text"/>
4280 <field reporter:label="Label" name="label" reporter:datatype="text" oils_persist:i18n="true"/>
4281 <field reporter:label="Block List" name="block_list" reporter:datatype="text"/>
4282 <field reporter:label="Staff Alert" name="staff_alert" reporter:datatype="bool"/>
4283 <field reporter:label="Org Depth" name="org_depth" reporter:datatype="int"/>
4284 <field reporter:label="Ignore Proximity" name="ignore_proximity" reporter:datatype="int"/>
4287 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
4289 <create permission="ADMIN_STANDING_PENALTY" global_required="true"/>
4290 <retrieve permission="ADMIN_STANDING_PENALTY VIEW_STANDING_PENALTY" global_required="true"/>
4291 <update permission="ADMIN_STANDING_PENALTY" global_required="true"/>
4292 <delete permission="ADMIN_STANDING_PENALTY" global_required="true"/>
4296 <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">
4297 <fields oils_persist:primary="id" oils_persist:sequence="permission.grp_penalty_threshold_id_seq">
4298 <field name="id" reporter:selector="name" reporter:datatype="id" reporter:label="ID"/>
4299 <field name="grp" reporter:datatype="link" reporter:label="Group"/>
4300 <field name="penalty" reporter:datatype="link" reporter:label="Penalty"/>
4301 <field name="threshold" reporter:datatype="float" reporter:label="Threshold"/>
4302 <field name="org_unit" reporter:datatype="org_unit" reporter:label="Org Unit"/>
4305 <link field="penalty" reltype="has_a" key="id" map="" class="csp"/>
4306 <link field="grp" reltype="has_a" key="id" map="" class="pgt"/>
4307 <link field="org_unit" reltype="has_a" key="id" map="" class="aou"/>
4309 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
4311 <create permission="ADMIN_GROUP_PENALTY_THRESHOLD" context_field='org_unit'/>
4312 <retrieve permission="VIEW_GROUP_PENALTY_THRESHOLD ADMIN_GROUP_PENALTY_THRESHOLD" context_field='org_unit'/>
4313 <update permission="ADMIN_GROUP_PENALTY_THRESHOLD" context_field='org_unit'/>
4314 <delete permission="ADMIN_GROUP_PENALTY_THRESHOLD" context_field='org_unit'/>
4318 <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">
4319 <fields oils_persist:primary="id" oils_persist:sequence="config.copy_status_id_seq">
4320 <field name="holdable" reporter:datatype="bool"/>
4321 <field name="id" reporter:selector="name" reporter:datatype="id"/>
4322 <field name="name" reporter:datatype="text" oils_persist:i18n="true"/>
4323 <field name="opac_visible" reporter:datatype="bool"/>
4324 <field name="copy_active" reporter:datatype="bool"/>
4325 <field name="restrict_copy_delete" reporter:datatype="bool"/>
4326 <field name="is_available" reporter:datatype="bool"/>
4329 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
4331 <create permission="CREATE_COPY_STATUS" global_required="true"/>
4333 <update permission="UPDATE_COPY_STATUS" global_required="true"/>
4334 <delete permission="DELETE_COPY_STATUS" global_required="true"/>
4338 <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">
4339 <fields oils_persist:primary="id" oils_persist:sequence="actor.usr_standing_penalty_id_seq">
4340 <field name="id" reporter:datatype="id" reporter:label="ID" />
4341 <field name="set_date" reporter:datatype="timestamp" reporter:label="Set Date"/>
4342 <field name="usr" reporter:datatype="link" reporter:label="User"/>
4343 <field name="staff" reporter:datatype="link" reporter:label="Staff"/>
4344 <field name="standing_penalty" reporter:datatype="link" reporter:label="Standing Penalty"/>
4345 <field name="org_unit" reporter:datatype="link" reporter:label="Org Unit"/>
4346 <field name="stop_date" reporter:datatype="timestamp" reporter:label="Stop Date"/>
4347 <field name="note" reporter:datatype="text" reporter:label="Note"/>
4350 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
4351 <link field="org_unit" reltype="has_a" key="id" map="" class="aou"/>
4352 <link field="staff" reltype="has_a" key="id" map="" class="au"/>
4353 <link field="standing_penalty" reltype="has_a" key="id" map="" class="csp"/>
4355 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
4357 <create permission="UPDATE_USER"><context link="usr" field="home_ou"/></create>
4358 <retrieve permission="VIEW_USER"><context link="usr" field="home_ou"/></retrieve>
4359 <update permission="UPDATE_USER"><context link="usr" field="home_ou"/></update>
4360 <delete permission="UPDATE_USER"><context link="usr" field="home_ou"/></delete>
4364 <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">
4365 <fields oils_persist:primary="id" oils_persist:sequence="actor.usr_address_id_seq">
4366 <field reporter:label="Type" name="address_type" reporter:datatype="text"/>
4367 <field reporter:label="City" name="city" reporter:datatype="text"/>
4368 <field reporter:label="Country" name="country" reporter:datatype="text"/>
4369 <field reporter:label="County" name="county" reporter:datatype="text"/>
4370 <field reporter:label="Address ID" name="id" reporter:datatype="id" />
4371 <field reporter:label="Postal Code" name="post_code" reporter:datatype="text"/>
4372 <field reporter:label="State" name="state" reporter:datatype="text"/>
4373 <field reporter:label="Street (1)" name="street1" reporter:datatype="text"/>
4374 <field reporter:label="Street (2)" name="street2" reporter:datatype="text"/>
4375 <field reporter:label="User" name="usr" reporter:datatype="link"/>
4376 <field reporter:label="Valid Address?" name="valid" reporter:datatype="bool"/>
4377 <field reporter:label="Within City Limits?" name="within_city_limits" reporter:datatype="bool"/>
4378 <field reporter:label="Replaces" name="replaces" reporter:datatype="link"/>
4379 <field reporter:label="Pending" name="pending" reporter:datatype="bool"/>
4382 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
4383 <link field="replaces" reltype="has_a" key="id" map="" class="aua"/>
4385 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
4387 <create permission="UPDATE_USER"><context link="usr" field="home_ou"/></create>
4388 <retrieve permission="VIEW_USER"><context link="usr" field="home_ou"/></retrieve>
4389 <update permission="UPDATE_USER"><context link="usr" field="home_ou"/></update>
4390 <delete permission="UPDATE_USER"><context link="usr" field="home_ou"/></delete>
4394 <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">
4395 <fields oils_persist:primary="id" oils_persist:sequence="actor.address_alert_id_seq">
4396 <field reporter:label="Address Alert ID" name="id" reporter:datatype="id" />
4397 <field reporter:label="Owner" name="owner" reporter:datatype="org_unit" oils_obj:required="true"/>
4398 <field reporter:label="Active" name="active" reporter:datatype="bool"/>
4399 <field reporter:label="Match All Fields" name="match_all" reporter:datatype="bool" />
4400 <field reporter:label="Alert Message" name="alert_message" reporter:datatype="text" oils_obj:required="true"/>
4401 <field reporter:label="Street (1)" name="street1" reporter:datatype="text"/>
4402 <field reporter:label="Street (2)" name="street2" reporter:datatype="text"/>
4403 <field reporter:label="City" name="city" reporter:datatype="text"/>
4404 <field reporter:label="County" name="county" reporter:datatype="text"/>
4405 <field reporter:label="State" name="state" reporter:datatype="text"/>
4406 <field reporter:label="Country" name="country" reporter:datatype="text"/>
4407 <field reporter:label="Postal Code" name="post_code" reporter:datatype="text"/>
4408 <field reporter:label="Mailing Address" name="mailing_address" reporter:datatype="bool"/>
4409 <field reporter:label="Billing Address" name="billing_address" reporter:datatype="bool"/>
4412 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
4414 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
4416 <create context_field='owner' permission="ADMIN_ADDRESS_ALERT"/>
4417 <retrieve context_field='owner' permission="ADMIN_ADDRESS_ALERT VIEW_ADDRESS_ALERT CREATE_USER"/>
4418 <update context_field='owner' permission="ADMIN_ADDRESS_ALERT"/>
4419 <delete context_field='owner' permission="ADMIN_ADDRESS_ALERT"/>
4425 <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">
4426 <fields oils_persist:primary="id" oils_persist:sequence="actor.usr_saved_search_id_seq">
4427 <field reporter:label="ID" name="id" reporter:datatype="id"/>
4428 <field reporter:label="Owner" name="owner" reporter:datatype="link"/>
4429 <field reporter:label="Name" name="name" reporter:datatype="text"/>
4430 <field reporter:label="Create Date" name="create_date" reporter:datatype="timestamp"/>
4431 <field reporter:label="Query Text" name="query_text" reporter:datatype="text"/>
4432 <field reporter:label="Query Type" name="query_type" reporter:datatype="text"/>
4433 <field reporter:label="Target" name="target" reporter:datatype="text"/>
4436 <link field="owner" reltype="has_a" key="id" map="" class="au"/>
4440 <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">
4441 <fields oils_persist:primary="id" oils_persist:sequence="asset.call_number_note_id_seq">
4442 <field name="call_number" />
4443 <field name="create_date" reporter:datatype="timestamp"/>
4444 <field name="creator" reporter:datatype="link"/>
4445 <field name="id" reporter:datatype="id" />
4446 <field name="pub" reporter:datatype="bool"/>
4447 <field name="title" reporter:datatype="text"/>
4448 <field name="value" reporter:datatype="text"/>
4451 <link field="call_number" reltype="has_a" key="id" map="" class="acn"/>
4453 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
4455 <create permission="CREATE_VOLUME_NOTE">
4456 <context link="call_number" field="owning_lib"/>
4458 <retrieve permission="VIEW_VOLUME_NOTES">
4459 <context link="call_number" field="owning_lib"/>
4461 <update permission="UPDATE_VOLUME_NOTE">
4462 <context link="call_number" field="owning_lib"/>
4464 <delete permission="DELETE_VOLUME_NOTE">
4465 <context link="call_number" field="owning_lib"/>
4470 <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">
4471 <fields oils_persist:primary="id" oils_persist:sequence="authority.record_note_id_seq">
4472 <field name="create_date" reporter:datatype="timestamp"/>
4473 <field name="creator" reporter:datatype="link"/>
4474 <field name="edit_date" reporter:datatype="timestamp"/>
4475 <field name="editor" reporter:datatype="link"/>
4476 <field name="id" reporter:datatype="id" />
4477 <field name="record" reporter:datatype="link"/>
4478 <field name="value" reporter:datatype="text"/>
4481 <link field="record" reltype="has_a" key="id" map="" class="are"/>
4483 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
4485 <create permission="CREATE_AUTHORITY_RECORD_NOTE" global_required='true'/>
4487 <update permission="UPDATE_AUTHORITY_RECORD_NOTE" global_required='true'/>
4488 <delete permission="DELETE_AUTHORITY_RECORD_NOTE" global_required='true'/>
4492 <class id="ocirccount" controller="open-ils.cstore" oils_obj:fieldmapper="action::open_circ_count" reporter:label="Open Circulation Count" oils_persist:readonly="true">
4493 <oils_persist:source_definition><![CDATA[
4498 ((fine_interval >= '1 day' AND due_date >= 'today') OR (fine_interval < '1 day' AND due_date > 'now'))
4499 AND (stop_fines IS NULL OR stop_fines NOT IN ('LOST','CLAIMSRETURNED','LONGOVERDUE'))
4508 ((fine_interval >= '1 day' AND due_date < 'today') OR (fine_interval < '1 day' AND due_date < 'now'))
4509 AND (stop_fines IS NULL OR stop_fines NOT IN ('LOST','CLAIMSRETURNED','LONGOVERDUE'))
4515 SUM( CASE WHEN (xact_finish IS NULL AND stop_fines = 'LOST') THEN 1 ELSE 0 END) AS lost,
4516 SUM( CASE WHEN stop_fines = 'CLAIMSRETURNED' THEN 1 ELSE 0 END) AS claims_returned,
4517 SUM( CASE WHEN (xact_finish IS NULL AND stop_fines = 'LONGOVERDUE') THEN 1 ELSE 0 END) AS long_overdue
4518 FROM action.circulation
4519 WHERE checkin_time IS NULL
4521 ]]></oils_persist:source_definition>
4522 <fields oils_persist:primary="usr">
4523 <field reporter:label="User ID" name="usr" reporter:datatype="link"/>
4524 <field reporter:label="Out" name="out" reporter:datatype="text"/>
4525 <field reporter:label="Overdue" name="overdue" reporter:datatype="text"/>
4526 <field reporter:label="Lost" name="lost" reporter:datatype="text"/>
4527 <field reporter:label="Claims Returned" name="claims_returned" reporter:datatype="text"/>
4528 <field reporter:label="Long Overdue" name="long_overdue" reporter:datatype="text"/>
4531 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
4534 <class id="ocirclist" controller="open-ils.cstore" oils_obj:fieldmapper="action::open_circ_list" reporter:label="Open Circulation List" oils_persist:readonly="true">
4535 <oils_persist:source_definition><![CDATA[
4540 ((fine_interval >= '1 day' AND due_date >= 'today') OR (fine_interval < '1 day' AND due_date > 'now'))
4541 AND (stop_fines IS NULL OR stop_fines NOT IN ('LOST','CLAIMSRETURNED','LONGOVERDUE'))
4550 ((fine_interval >= '1 day' AND due_date < 'today') OR (fine_interval < '1 day' AND due_date < 'now'))
4551 AND (stop_fines IS NULL OR stop_fines NOT IN ('LOST','CLAIMSRETURNED','LONGOVERDUE'))
4557 STRING_AGG( CASE WHEN (xact_finish IS NULL AND stop_fines = 'LOST') THEN id::TEXT ELSE '0' END,',') AS lost,
4558 STRING_AGG( CASE WHEN stop_fines = 'CLAIMSRETURNED' THEN id::TEXT ELSE '0' END,',') AS claims_returned,
4559 STRING_AGG( CASE WHEN (xact_finish IS NULL AND stop_fines = 'LONGOVERDUE') THEN id::TEXT ELSE '0' END,',') AS long_overdue
4560 FROM action.circulation
4561 WHERE checkin_time IS NULL
4563 ]]></oils_persist:source_definition>
4564 <fields oils_persist:primary="usr">
4565 <field reporter:label="User ID" name="usr" reporter:datatype="link"/>
4566 <field reporter:label="Out" name="out" reporter:datatype="text"/>
4567 <field reporter:label="Overdue" name="overdue" reporter:datatype="text"/>
4568 <field reporter:label="Lost" name="lost" reporter:datatype="text"/>
4569 <field reporter:label="Claims Returned" name="claims_returned" reporter:datatype="text"/>
4570 <field reporter:label="Long Overdue" name="long_overdue" reporter:datatype="text"/>
4573 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
4576 <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">
4577 <fields oils_persist:primary="id" oils_persist:sequence="money.billable_xact_id_seq">
4578 <field reporter:label="Check In Library" name="checkin_lib" reporter:datatype="org_unit"/>
4579 <field reporter:label="Check In Staff" name="checkin_staff" reporter:datatype="link"/>
4580 <field reporter:label="Check In Date/Time" name="checkin_time" reporter:datatype="timestamp"/>
4581 <field reporter:label="Checkout / Renewal Library" name="circ_lib" reporter:datatype="org_unit"/>
4582 <field reporter:label="Circulating Staff" name="circ_staff" reporter:datatype="link"/>
4583 <field reporter:label="Desk Renewal" name="desk_renewal" reporter:datatype="bool"/>
4584 <field reporter:label="Due Date/Time" name="due_date" reporter:datatype="timestamp"/>
4585 <field reporter:label="Circulation Duration" name="duration" reporter:datatype="interval"/>
4586 <field reporter:label="Circ Duration Rule" name="duration_rule" reporter:datatype="link"/>
4587 <field reporter:label="Fine Interval" name="fine_interval" reporter:datatype="interval"/>
4588 <field reporter:label="Circ ID" name="id" reporter:datatype="id" />
4589 <field reporter:label="Max Fine Amount" name="max_fine" reporter:datatype="money" />
4590 <field reporter:label="Max Fine Rule" name="max_fine_rule" reporter:datatype="link"/>
4591 <field reporter:label="OPAC Renewal" name="opac_renewal" reporter:datatype="bool"/>
4592 <field reporter:label="Phone Renewal" name="phone_renewal" reporter:datatype="bool"/>
4593 <field reporter:label="Recurring Fine Amount" name="recurring_fine" reporter:datatype="money" />
4594 <field reporter:label="Recurring Fine Rule" name="recurring_fine_rule" reporter:datatype="link"/>
4595 <field reporter:label="Remaining Renewals" name="renewal_remaining" reporter:datatype="int" />
4596 <field reporter:label="Grace Period" name="grace_period" reporter:datatype="interval" />
4597 <field reporter:label="Fine Stop Reason" name="stop_fines" reporter:datatype="text"/>
4598 <field reporter:label="Fine Stop Date/Time" name="stop_fines_time" reporter:datatype="timestamp"/>
4599 <field reporter:label="Circulating Item" name="target_copy" reporter:datatype="link"/>
4600 <field reporter:label="Patron" name="usr" reporter:datatype="link"/>
4601 <field reporter:label="Transaction Finish Date/Time" name="xact_finish" reporter:datatype="timestamp" />
4602 <field reporter:label="Checkout Date/Time" name="xact_start" reporter:datatype="timestamp" />
4603 <field reporter:label="Record Creation Date/Time" name="create_time" reporter:datatype="timestamp" />
4604 <field reporter:label="Workstation" name="workstation" reporter:datatype="link"/>
4605 <field reporter:label="Checkin Workstation" name="checkin_workstation" reporter:datatype="link"/>
4606 <field reporter:label="Checkin Scan Date/Time" name="checkin_scan_time" reporter:datatype="timestamp" />
4607 <field reporter:label="Parent Circulation" name="parent_circ" reporter:datatype="link"/>
4608 <field reporter:label="Transaction Billings" name="billings" oils_persist:virtual="true" reporter:datatype="link"/>
4609 <field reporter:label="Transaction Payments" name="payments" oils_persist:virtual="true" reporter:datatype="link"/>
4610 <field reporter:label="Base Transaction" name="billable_transaction" oils_persist:virtual="true" reporter:datatype="link"/>
4611 <field reporter:label="Circulation Type" name="circ_type" oils_persist:virtual="true" reporter:datatype="text"/>
4612 <field reporter:label="Billing Totals" name="billing_total" oils_persist:virtual="true" reporter:datatype="money"/>
4613 <field reporter:label="Payment Totals" name="payment_total" oils_persist:virtual="true" reporter:datatype="money"/>
4614 <field reporter:label="Unrecovered Debt" name="unrecovered" reporter:datatype="bool"/>
4615 <field reporter:label="Shelving Location" name="copy_location" reporter:datatype="link"/>
4616 <field reporter:label="Archived Patron Stat-Cat Entries" name="aaactsc_entries" oils_persist:virtual="true" reporter:datatype="link"/>
4617 <field reporter:label="Archived Copy Stat-Cat Entries" name="aaasc_entries" oils_persist:virtual="true" reporter:datatype="link"/>
4618 <field reporter:label="Auto Renewal" name="auto_renewal" reporter:datatype="bool"/>
4619 <field reporter:label="Remaining Auto Renewals" name="auto_renewal_remaining" reporter:datatype="int" />
4622 <link field="billable_transaction" reltype="might_have" key="id" map="" class="mbt"/>
4623 <link field="circ_staff" reltype="has_a" key="id" map="" class="au"/>
4624 <link field="checkin_lib" reltype="has_a" key="id" map="" class="aou"/>
4625 <link field="target_copy" reltype="has_a" key="id" map="" class="acp"/>
4626 <link field="checkin_staff" reltype="has_a" key="id" map="" class="au"/>
4627 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
4628 <link field="circ_lib" reltype="has_a" key="id" map="" class="aou"/>
4629 <link field="payments" reltype="has_many" key="xact" map="" class="mp"/>
4630 <link field="billings" reltype="has_many" key="xact" map="" class="mb"/>
4631 <link field="duration_rule" reltype="has_a" key="name" map="" class="crcd"/>
4632 <link field="max_fine_rule" reltype="has_a" key="name" map="" class="crmf"/>
4633 <link field="recurring_fine_rule" reltype="has_a" key="name" map="" class="crrf"/>
4634 <link field="circ_type" reltype="might_have" key="id" map="" class="rcirct"/>
4635 <link field="billing_total" reltype="might_have" key="xact" map="" class="rxbt"/>
4636 <link field="payment_total" reltype="might_have" key="xact" map="" class="rxpt"/>
4637 <link field="workstation" reltype="has_a" key="id" map="" class="aws"/>
4638 <link field="checkin_workstation" reltype="has_a" key="id" map="" class="aws"/>
4639 <link field="parent_circ" reltype="has_a" key="id" map="" class="circ"/>
4640 <link field="renewals" reltype="has_many" key="parent_circ" map="" class="circ"/>
4641 <link field="copy_location" reltype="has_a" key="id" map="" class="acpl"/>
4642 <link field="aaactsc_entries" reltype="has_many" key="xact" map="" class="aaactsc"/>
4643 <link field="aaasc_entries" reltype="has_many" key="xact" map="" class="aaasc"/>
4645 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
4647 <retrieve permission="VIEW_CIRCULATIONS" context_field="circ_lib" />
4651 <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">
4653 <field reporter:label="Circulating Library" name="circ_lib" reporter:datatype="org_unit"/>
4654 <field reporter:label="Circulating Staff" name="circ_staff" reporter:datatype="link"/>
4655 <field reporter:label="Circ ID" name="id" reporter:datatype="int" />
4656 <field reporter:label="Checkout Date/Time" name="xact_start" reporter:datatype="timestamp" />
4657 <field reporter:label="Create Date/Time" name="create_time" reporter:datatype="timestamp" />
4658 <field reporter:label="Circulation Type" name="circ_type" reporter:datatype="text"/>
4659 <field reporter:label="Item Type" name="item_type" reporter:datatype="text"/>
4662 <link field="circ_staff" reltype="has_a" key="id" map="" class="au"/>
4663 <link field="circ_lib" reltype="has_a" key="id" map="" class="aou"/>
4665 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
4667 <retrieve permission="VIEW_CIRCULATIONS" context_field="circ_lib" />
4671 <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">
4672 <fields oils_persist:primary="id" oils_persist:sequence="money.billable_xact_id_seq">
4673 <field reporter:label="Check In Library" name="checkin_lib" reporter:datatype="org_unit"/>
4674 <field reporter:label="Check In Staff" name="checkin_staff" reporter:datatype="link"/>
4675 <field reporter:label="Check In Date/Time" name="checkin_time" reporter:datatype="timestamp"/>
4676 <field reporter:label="Circulating Library" name="circ_lib" reporter:datatype="org_unit"/>
4677 <field reporter:label="Circulating Staff" name="circ_staff" reporter:datatype="link"/>
4678 <field reporter:label="Desk Renewal" name="desk_renewal" reporter:datatype="bool"/>
4679 <field reporter:label="Due Date/Time" name="due_date" reporter:datatype="timestamp"/>
4680 <field reporter:label="Circulation Duration" name="duration" reporter:datatype="interval"/>
4681 <field reporter:label="Circ Duration Rule" name="duration_rule" reporter:datatype="link"/>
4682 <field reporter:label="Fine Interval" name="fine_interval" reporter:datatype="interval"/>
4683 <field reporter:label="Circ ID" name="id" reporter:datatype="id" />
4684 <field reporter:label="Max Fine Amount" name="max_fine" reporter:datatype="money" />
4685 <field reporter:label="Max Fine Rule" name="max_fine_rule" reporter:datatype="link"/>
4686 <field reporter:label="OPAC Renewal" name="opac_renewal" reporter:datatype="bool"/>
4687 <field reporter:label="Phone Renewal" name="phone_renewal" reporter:datatype="bool"/>
4688 <field reporter:label="Recurring Fine Amount" name="recurring_fine" reporter:datatype="money" />
4689 <field reporter:label="Recurring Fine Rule" name="recurring_fine_rule" reporter:datatype="link"/>
4690 <field reporter:label="Remaining Renewals" name="renewal_remaining" reporter:datatype="int" />
4691 <field reporter:label="Grace Period" name="grace_period" reporter:datatype="interval" />
4692 <field reporter:label="Fine Stop Reason" name="stop_fines" reporter:datatype="text"/>
4693 <field reporter:label="Fine Stop Date/Time" name="stop_fines_time" reporter:datatype="timestamp"/>
4694 <field reporter:label="Circulating Item" name="target_copy" reporter:datatype="link"/>
4695 <field reporter:label="Transaction Finish Date/Time" name="xact_finish" reporter:datatype="timestamp" />
4696 <field reporter:label="Checkout Date/Time" name="xact_start" reporter:datatype="timestamp" />
4697 <field reporter:label="Record Creation Date/Time" name="create_time" reporter:datatype="timestamp" />
4698 <field reporter:label="Parent Circulation" name="parent_circ" reporter:datatype="link"/>
4699 <field reporter:label="Checkin Scan Time" name="checkin_scan_time" reporter:datatype="timestamp"/>
4700 <field reporter:label="Checkin Workstation" name="checkin_workstation" reporter:datatype="link"/>
4701 <field reporter:label="Patron" name="usr" reporter:datatype="link"/>
4702 <field reporter:label="Transaction Billings" name="billings" oils_persist:virtual="true" reporter:datatype="link"/>
4703 <field reporter:label="Transaction Payments" name="payments" oils_persist:virtual="true" reporter:datatype="link"/>
4704 <field reporter:label="Base Transaction" name="billable_transaction" oils_persist:virtual="true" reporter:datatype="link"/>
4705 <field reporter:label="Workstation" name="workstation" reporter:datatype="link"/>
4706 <field reporter:label="Circulation Type" name="circ_type" oils_persist:virtual="true" reporter:datatype="text"/>
4707 <field reporter:label="Billing Totals" name="billing_total" oils_persist:virtual="true" reporter:datatype="money"/>
4708 <field reporter:label="Payment Totals" name="payment_total" oils_persist:virtual="true" reporter:datatype="money"/>
4709 <field reporter:label="Archived Patron Stat-Cat Entries" name="aaactsc_entries" oils_persist:virtual="true" reporter:datatype="link"/>
4710 <field reporter:label="Archived Copy Stat-Cat Entries" name="aaasc_entries" oils_persist:virtual="true" reporter:datatype="link"/>
4711 <field reporter:label="Linked Active Circulation" name="active_circ" oils_persist:virtual="true" reporter:datatype="link"/>
4712 <field reporter:label="Linked Aged Circulation" name="aged_circ" oils_persist:virtual="true" reporter:datatype="link"/>
4715 <link field="billable_transaction" reltype="might_have" key="id" map="" class="mbt"/>
4716 <link field="circ_staff" reltype="has_a" key="id" map="" class="au"/>
4717 <link field="checkin_lib" reltype="has_a" key="id" map="" class="aou"/>
4718 <link field="target_copy" reltype="has_a" key="id" map="" class="acp"/>
4719 <link field="checkin_staff" reltype="has_a" key="id" map="" class="au"/>
4720 <link field="circ_lib" reltype="has_a" key="id" map="" class="aou"/>
4721 <link field="payments" reltype="has_many" key="xact" map="" class="mp"/>
4722 <link field="billings" reltype="has_many" key="xact" map="" class="mb"/>
4723 <link field="duration_rule" reltype="has_a" key="name" map="" class="crcd"/>
4724 <link field="max_fine_rule" reltype="has_a" key="name" map="" class="crmf"/>
4725 <link field="recurring_fine_rule" reltype="has_a" key="name" map="" class="crrf"/>
4726 <link field="circ_type" reltype="might_have" key="id" map="" class="rcirct"/>
4727 <link field="billing_total" reltype="might_have" key="xact" map="" class="rxbt"/>
4728 <link field="payment_total" reltype="might_have" key="xact" map="" class="rxpt"/>
4729 <link field="workstation" reltype="has_a" key="id" map="" class="aws"/>
4730 <link field="checkin_workstation" reltype="has_a" key="id" map="" class="aws"/>
4731 <link field="aaactsc_entries" reltype="has_many" key="xact" map="" class="aaactsc"/>
4732 <link field="aaasc_entries" reltype="has_many" key="xact" map="" class="aaasc"/>
4733 <link field="active_circ" reltype="might_have" key="id" map="" class="circ"/>
4734 <link field="aged_circ" reltype="might_have" key="id" map="" class="acirc"/>
4735 <link field="parent_circ" reltype="might_have" key="id" map="" class="acirc"/>
4736 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
4738 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
4740 <retrieve permission="VIEW_CIRCULATIONS" context_field="circ_lib" />
4745 <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">
4746 <fields oils_persist:primary="id" oils_persist:sequence="money.billable_xact_id_seq">
4747 <field reporter:label="Check In Library" name="checkin_lib" reporter:datatype="org_unit"/>
4748 <field reporter:label="Check In Staff" name="checkin_staff" reporter:datatype="link"/>
4749 <field reporter:label="Check In Date/Time" name="checkin_time" reporter:datatype="timestamp"/>
4750 <field reporter:label="Circulating Library" name="circ_lib" reporter:datatype="org_unit"/>
4751 <field reporter:label="Circulating Staff" name="circ_staff" reporter:datatype="link"/>
4752 <field reporter:label="Desk Renewal" name="desk_renewal" reporter:datatype="bool"/>
4753 <field reporter:label="Due Date/Time" name="due_date" reporter:datatype="timestamp"/>
4754 <field reporter:label="Circulation Duration" name="duration" reporter:datatype="interval"/>
4755 <field reporter:label="Circ Duration Rule" name="duration_rule" reporter:datatype="link"/>
4756 <field reporter:label="Fine Interval" name="fine_interval" reporter:datatype="interval"/>
4757 <field reporter:label="Circ ID" name="id" reporter:datatype="id" />
4758 <field reporter:label="Max Fine Amount" name="max_fine" reporter:datatype="money" />
4759 <field reporter:label="Max Fine Rule" name="max_fine_rule" reporter:datatype="link"/>
4760 <field reporter:label="OPAC Renewal" name="opac_renewal" reporter:datatype="bool"/>
4761 <field reporter:label="Phone Renewal" name="phone_renewal" reporter:datatype="bool"/>
4762 <field reporter:label="Recurring Fine Amount" name="recurring_fine" reporter:datatype="money" />
4763 <field reporter:label="Recurring Fine Rule" name="recurring_fine_rule" reporter:datatype="link"/>
4764 <field reporter:label="Remaining Renewals" name="renewal_remaining" reporter:datatype="int" />
4765 <field reporter:label="Grace Period" name="grace_period" reporter:datatype="interval" />
4766 <field reporter:label="Fine Stop Reason" name="stop_fines" reporter:datatype="text"/>
4767 <field reporter:label="Fine Stop Date/Time" name="stop_fines_time" reporter:datatype="timestamp"/>
4768 <field reporter:label="Circulating Item" name="target_copy" reporter:datatype="link"/>
4769 <field reporter:label="Patron ZIP" name="usr_post_code" reporter:datatype="text"/>
4770 <field reporter:label="Transaction Finish Date/Time" name="xact_finish" reporter:datatype="timestamp" />
4771 <field reporter:label="Checkout Date/Time" name="xact_start" reporter:datatype="timestamp" />
4772 <field reporter:label="Record Creation Date/Time" name="create_time" reporter:datatype="timestamp" />
4773 <field reporter:label="Parent Circulation" name="parent_circ" reporter:datatype="link"/>
4774 <field reporter:label="Checkin Scan Time" name="checkin_scan_time" reporter:datatype="timestamp"/>
4775 <field reporter:label="Checkin Workstation" name="checkin_workstation" reporter:datatype="link"/>
4776 <field reporter:label="Patron" name="usr" reporter:datatype="link"/>
4777 <field reporter:label="Transaction Billings" name="billings" oils_persist:virtual="true" reporter:datatype="link"/>
4778 <field reporter:label="Transaction Payments" name="payments" oils_persist:virtual="true" reporter:datatype="link"/>
4779 <field reporter:label="Base Transaction" name="billable_transaction" oils_persist:virtual="true" reporter:datatype="link"/>
4780 <field reporter:label="Workstation" name="workstation" reporter:datatype="link"/>
4781 <field reporter:label="Circulation Type" name="circ_type" oils_persist:virtual="true" reporter:datatype="text"/>
4782 <field reporter:label="Billing Totals" name="billing_total" oils_persist:virtual="true" reporter:datatype="money"/>
4783 <field reporter:label="Payment Totals" name="payment_total" oils_persist:virtual="true" reporter:datatype="money"/>
4784 <field reporter:label="Patron Home Library" name="usr_home_ou" reporter:datatype="link"/>
4785 <field reporter:label="Patron Profile Group" name="usr_profile" reporter:datatype="link"/>
4786 <field reporter:label="Patron Birth Year" name="usr_birth_year" reporter:datatype="int"/>
4787 <field reporter:label="Call Number" name="copy_call_number" reporter:datatype="link"/>
4788 <field reporter:label="Shelving Location" name="copy_location" reporter:datatype="link"/>
4789 <field reporter:label="Copy Owning Library" name="copy_owning_lib" reporter:datatype="link"/>
4790 <field reporter:label="Copy Circulating Library" name="copy_circ_lib" reporter:datatype="link"/>
4791 <field reporter:label="Bib Record" name="copy_bib_record" reporter:datatype="link"/>
4792 <field reporter:label="Archived Patron Stat-Cat Entries" name="aaactsc_entries" oils_persist:virtual="true" reporter:datatype="link"/>
4793 <field reporter:label="Archived Copy Stat-Cat Entries" name="aaasc_entries" oils_persist:virtual="true" reporter:datatype="link"/>
4794 <field reporter:label="Linked Active Circulation" name="active_circ" oils_persist:virtual="true" reporter:datatype="link"/>
4795 <field reporter:label="Linked Aged Circulation" name="aged_circ" oils_persist:virtual="true" reporter:datatype="link"/>
4798 <link field="billable_transaction" reltype="might_have" key="id" map="" class="mbt"/>
4799 <link field="circ_staff" reltype="has_a" key="id" map="" class="au"/>
4800 <link field="checkin_lib" reltype="has_a" key="id" map="" class="aou"/>
4801 <link field="target_copy" reltype="has_a" key="id" map="" class="acp"/>
4802 <link field="checkin_staff" reltype="has_a" key="id" map="" class="au"/>
4803 <link field="circ_lib" reltype="has_a" key="id" map="" class="aou"/>
4804 <link field="payments" reltype="has_many" key="xact" map="" class="mp"/>
4805 <link field="billings" reltype="has_many" key="xact" map="" class="mb"/>
4806 <link field="duration_rule" reltype="has_a" key="name" map="" class="crcd"/>
4807 <link field="max_fine_rule" reltype="has_a" key="name" map="" class="crmf"/>
4808 <link field="recurring_fine_rule" reltype="has_a" key="name" map="" class="crrf"/>
4809 <link field="circ_type" reltype="might_have" key="id" map="" class="rcirct"/>
4810 <link field="billing_total" reltype="might_have" key="xact" map="" class="rxbt"/>
4811 <link field="payment_total" reltype="might_have" key="xact" map="" class="rxpt"/>
4812 <link field="copy_call_number" reltype="has_a" key="id" map="" class="acn"/>
4813 <link field="copy_location" reltype="has_a" key="id" map="" class="acpl"/>
4814 <link field="copy_owning_lib" reltype="has_a" key="id" map="" class="aou"/>
4815 <link field="copy_circ_lib" reltype="has_a" key="id" map="" class="aou"/>
4816 <link field="workstation" reltype="has_a" key="id" map="" class="aws"/>
4817 <link field="checkin_workstation" reltype="has_a" key="id" map="" class="aws"/>
4818 <link field="copy_bib_record" reltype="has_a" key="id" map="" class="bre"/>
4819 <link field="aaactsc_entries" reltype="has_many" key="xact" map="" class="aaactsc"/>
4820 <link field="aaasc_entries" reltype="has_many" key="xact" map="" class="aaasc"/>
4821 <link field="usr_home_ou" reltype="has_a" key="id" map="" class="aou"/>
4822 <link field="usr_profile" reltype="has_a" key="id" map="" class="pgt"/>
4823 <link field="active_circ" reltype="might_have" key="id" map="" class="circ"/>
4824 <link field="aged_circ" reltype="might_have" key="id" map="" class="acirc"/>
4825 <link field="parent_circ" reltype="might_have" key="id" map="" class="acirc"/>
4826 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
4828 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
4830 <retrieve permission="VIEW_CIRCULATIONS" context_field="circ_lib" />
4834 <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">
4835 <fields oils_persist:primary="id" oils_persist:sequence="money.billable_xact_id_seq">
4836 <field reporter:label="Check In Library" name="checkin_lib" reporter:datatype="org_unit"/>
4837 <field reporter:label="Check In Staff" name="checkin_staff" reporter:datatype="link"/>
4838 <field reporter:label="Check In Date/Time" name="checkin_time" reporter:datatype="timestamp"/>
4839 <field reporter:label="Circulating Library" name="circ_lib" reporter:datatype="org_unit"/>
4840 <field reporter:label="Circulating Staff" name="circ_staff" reporter:datatype="link"/>
4841 <field reporter:label="Desk Renewal" name="desk_renewal" reporter:datatype="bool"/>
4842 <field reporter:label="Due Date/Time" name="due_date" reporter:datatype="timestamp"/>
4843 <field reporter:label="Circulation Duration" name="duration" reporter:datatype="interval"/>
4844 <field reporter:label="Circ Duration Rule" name="duration_rule" reporter:datatype="link"/>
4845 <field reporter:label="Fine Interval" name="fine_interval" reporter:datatype="interval"/>
4846 <field reporter:label="Circ ID" name="id" reporter:datatype="id" />
4847 <field reporter:label="Max Fine Amount" name="max_fine" reporter:datatype="money" />
4848 <field reporter:label="Max Fine Rule" name="max_fine_rule" reporter:datatype="link"/>
4849 <field reporter:label="OPAC Renewal" name="opac_renewal" reporter:datatype="bool"/>
4850 <field reporter:label="Phone Renewal" name="phone_renewal" reporter:datatype="bool"/>
4851 <field reporter:label="Recurring Fine Amount" name="recurring_fine" reporter:datatype="money" />
4852 <field reporter:label="Recurring Fine Rule" name="recurring_fine_rule" reporter:datatype="link"/>
4853 <field reporter:label="Remaining Renewals" name="renewal_remaining" reporter:datatype="int" />
4854 <field reporter:label="Grace Period" name="grace_period" reporter:datatype="interval" />
4855 <field reporter:label="Fine Stop Reason" name="stop_fines" reporter:datatype="text"/>
4856 <field reporter:label="Fine Stop Date/Time" name="stop_fines_time" reporter:datatype="timestamp"/>
4857 <field reporter:label="Circulating Item" name="target_copy" reporter:datatype="link"/>
4858 <field reporter:label="Patron ZIP" name="usr_post_code" reporter:datatype="text"/>
4859 <field reporter:label="Transaction Finish Date/Time" name="xact_finish" reporter:datatype="timestamp" />
4860 <field reporter:label="Checkout Date/Time" name="xact_start" reporter:datatype="timestamp" />
4861 <field reporter:label="Record Creation Date/Time" name="create_time" reporter:datatype="timestamp" />
4862 <field reporter:label="Workstation" name="workstation" reporter:datatype="link"/>
4863 <field reporter:label="Checkin Workstation" name="checkin_workstation" reporter:datatype="link"/>
4864 <field reporter:label="Checkin Scan Date/Time" name="checkin_scan_time" reporter:datatype="timestamp" />
4865 <field reporter:label="Parent Circulation" name="parent_circ" reporter:datatype="link"/>
4866 <field reporter:label="Transaction Billings" name="billings" oils_persist:virtual="true" reporter:datatype="link"/>
4867 <field reporter:label="Transaction Payments" name="payments" oils_persist:virtual="true" reporter:datatype="link"/>
4868 <field reporter:label="Base Transaction" name="billable_transaction" oils_persist:virtual="true" reporter:datatype="link"/>
4869 <field reporter:label="Circulation Type" name="circ_type" oils_persist:virtual="true" reporter:datatype="text"/>
4870 <field reporter:label="Billing Totals" name="billing_total" oils_persist:virtual="true" reporter:datatype="money"/>
4871 <field reporter:label="Payment Totals" name="payment_total" oils_persist:virtual="true" reporter:datatype="money"/>
4872 <field reporter:label="Patron Home Library" name="usr_home_ou" reporter:datatype="link"/>
4873 <field reporter:label="Patron Profile Group" name="usr_profile" reporter:datatype="link"/>
4874 <field reporter:label="Patron Birth Year" name="usr_birth_year" reporter:datatype="int"/>
4875 <field reporter:label="Call Number" name="copy_call_number" reporter:datatype="link"/>
4876 <field reporter:label="Shelving Location" name="copy_location" reporter:datatype="link"/>
4877 <field reporter:label="Copy Owning Library" name="copy_owning_lib" reporter:datatype="link"/>
4878 <field reporter:label="Copy Circulating Library" name="copy_circ_lib" reporter:datatype="link"/>
4879 <field reporter:label="Bib Record" name="copy_bib_record" reporter:datatype="link"/>
4880 <field reporter:label="Archived Patron Stat-Cat Entries" name="aaactsc_entries" oils_persist:virtual="true" reporter:datatype="link"/>
4881 <field reporter:label="Archived Copy Stat-Cat Entries" name="aaasc_entries" oils_persist:virtual="true" reporter:datatype="link"/>
4884 <link field="billable_transaction" reltype="might_have" key="id" map="" class="mbt"/>
4885 <link field="circ_staff" reltype="has_a" key="id" map="" class="au"/>
4886 <link field="checkin_lib" reltype="has_a" key="id" map="" class="aou"/>
4887 <link field="target_copy" reltype="has_a" key="id" map="" class="acp"/>
4888 <link field="checkin_staff" reltype="has_a" key="id" map="" class="au"/>
4889 <link field="circ_lib" reltype="has_a" key="id" map="" class="aou"/>
4890 <link field="payments" reltype="has_many" key="xact" map="" class="mp"/>
4891 <link field="billings" reltype="has_many" key="xact" map="" class="mb"/>
4892 <link field="duration_rule" reltype="has_a" key="name" map="" class="crcd"/>
4893 <link field="max_fine_rule" reltype="has_a" key="name" map="" class="crmf"/>
4894 <link field="recurring_fine_rule" reltype="has_a" key="name" map="" class="crrf"/>
4895 <link field="circ_type" reltype="might_have" key="id" map="" class="rcirct"/>
4896 <link field="billing_total" reltype="might_have" key="xact" map="" class="rxbt"/>
4897 <link field="payment_total" reltype="might_have" key="xact" map="" class="rxpt"/>
4898 <link field="copy_call_number" reltype="has_a" key="id" map="" class="acn"/>
4899 <link field="copy_location" reltype="has_a" key="id" map="" class="acpl"/>
4900 <link field="copy_owning_lib" reltype="has_a" key="id" map="" class="aou"/>
4901 <link field="copy_circ_lib" reltype="has_a" key="id" map="" class="aou"/>
4902 <link field="copy_bib_record" reltype="has_a" key="id" map="" class="bre"/>
4903 <link field="workstation" reltype="has_a" key="id" map="" class="aws"/>
4904 <link field="checkin_workstation" reltype="has_a" key="id" map="" class="aws"/>
4905 <link field="parent_circ" reltype="might_have" key="id" map="" class="circ"/>
4906 <link field="renewals" reltype="has_many" key="parent_circ" map="" class="circ"/>
4907 <link field="aaactsc_entries" reltype="has_many" key="xact" map="" class="aaactsc"/>
4908 <link field="aaasc_entries" reltype="has_many" key="xact" map="" class="aaasc"/>
4912 controller="open-ils.cstore"
4913 oils_obj:fieldmapper="action::user_circ_history"
4914 oils_persist:tablename="action.usr_circ_history"
4915 reporter:label="User Checkout History">
4916 <fields oils_persist:primary="id" oils_persist:sequence="action.usr_circ_history_id_seq">
4917 <field reporter:label="ID" name="id" reporter:datatype="id"/>
4918 <!-- prevent reporting on the user that owns the checkout history -->
4919 <field reporter:label="User" name="usr" reporter:datatype="link" suppress_controller="open-ils.reporter-store"/>
4920 <field reporter:label="Circulating Item" name="target_copy" reporter:datatype="link"/>
4921 <field reporter:label="Checkin Time" name="checkin_time" reporter:datatype="timestamp" />
4922 <field reporter:label="Due Date" name="due_date" reporter:datatype="timestamp" />
4923 <field reporter:label="Checkout Time" name="xact_start" reporter:datatype="timestamp" />
4924 <field reporter:label="Source Circulation" name="source_circ" reporter:datatype="link" />
4927 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
4928 <link field="target_copy" reltype="has_a" key="id" map="" class="acp"/>
4929 <link field="source_circ" reltype="has_a" key="id" map="" class="circ"/>
4932 <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">
4933 <fields oils_persist:primary="id" oils_persist:sequence="booking.resource_type_id_seq">
4934 <field reporter:label="Resource Type ID" name="id" reporter:datatype="id" reporter:selector="name"/>
4935 <field reporter:label="Resource Type Name" name="name" reporter:datatype="text" oils_obj:required="true"/>
4936 <field reporter:label="Fine Interval" name="fine_interval" reporter:datatype="interval"/>
4937 <field reporter:label="Fine Amount" name="fine_amount" reporter:datatype="money"/>
4938 <field reporter:label="Max Fine Amount" name="max_fine" reporter:datatype="money"/>
4939 <field reporter:label="Owning Library" name="owner" reporter:datatype="org_unit" oils_obj:required="true"/>
4940 <field reporter:label="Catalog Item" name="catalog_item" reporter:datatype="bool"/>
4941 <field reporter:label="Bibliographic Record" name="record" reporter:datatype="link"/>
4942 <field reporter:label="Transferable" name="transferable" reporter:datatype="bool"/>
4943 <field reporter:label="Inter-booking and Inter-circulation Interval" name="elbow_room" reporter:datatype="interval"/>
4944 <field reporter:label="Resources" name="resources" oils_persist:virtual="true" reporter:datatype="link"/>
4945 <field reporter:label="Resource Attributes" name="resource_attrs" oils_persist:virtual="true" reporter:datatype="link"/>
4946 <field reporter:label="Target Resource Types" name="tgt_rsrc_types" oils_persist:virtual="true" reporter:datatype="link"/>
4949 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
4950 <link field="record" reltype="has_a" key="id" map="" class="bre"/>
4951 <link field="resources" reltype="has_many" key="type" map="" class="brsrc"/>
4952 <link field="resource_attrs" reltype="has_many" key="type" map="" class="bra"/>
4953 <link field="tgt_rsrc_types" reltype="has_many" key="type" map="" class="bresv"/>
4955 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
4957 <create permission="ADMIN_BOOKING_RESOURCE_TYPE" context_field='owner'/>
4958 <retrieve permission="ADMIN_BOOKING_RESOURCE_TYPE" context_field='owner'/>
4959 <update permission="ADMIN_BOOKING_RESOURCE_TYPE" context_field='owner'/>
4960 <delete permission="ADMIN_BOOKING_RESOURCE_TYPE" context_field='owner'/>
4965 <class id="brsrc" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="booking::resource" oils_persist:tablename="booking.resource" reporter:label="Resource">
4966 <fields oils_persist:primary="id" oils_persist:sequence="booking.resource_id_seq">
4967 <field reporter:label="Resource ID" name="id" reporter:datatype="id" reporter:selector="barcode" />
4968 <field reporter:label="Owning Library" name="owner" reporter:datatype="org_unit" oils_obj:required="true"/>
4969 <field reporter:label="Resource Type" name="type" reporter:datatype="link" oils_obj:required="true"/>
4970 <field reporter:label="Overbook" name="overbook" reporter:datatype="bool"/>
4971 <field reporter:label="Barcode" name="barcode" reporter:datatype="text" oils_obj:required="true"/>
4972 <field reporter:label="Is Deposit Required" name="deposit" reporter:datatype="bool"/>
4973 <field reporter:label="Deposit Amount" name="deposit_amount" reporter:datatype="money"/>
4974 <field reporter:label="User Fee" name="user_fee" reporter:datatype="money"/>
4975 <field reporter:label="Resource Attribute Maps" name="attr_maps" oils_persist:virtual="true" reporter:datatype="link"/>
4976 <field reporter:label="Reservation Target Resources" name="tgt_rsrcs" oils_persist:virtual="true" reporter:datatype="link"/>
4977 <field reporter:label="Reservation Current Resources" name="curr_rsrcs" oils_persist:virtual="true" reporter:datatype="link"/>
4978 <field reporter:label="Catalog Item" name="catalog_item" oils_persist:virtual="true" reporter:datatype="link"/>
4981 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
4982 <link field="type" reltype="has_a" key="id" map="" class="brt"/>
4983 <link field="attr_maps" reltype="has_many" key="resource" map="" class="bram"/>
4984 <link field="tgt_rsrcs" reltype="has_many" key="targeted_resource" map="" class="bresv"/>
4985 <link field="curr_rsrcs" reltype="has_many" key="current_resource" map="" class="bresv"/>
4987 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
4989 <create permission="ADMIN_BOOKING_RESOURCE" context_field='owner'/>
4990 <retrieve permission="ADMIN_BOOKING_RESOURCE" context_field='owner'/>
4991 <update permission="ADMIN_BOOKING_RESOURCE" context_field='owner'/>
4992 <delete permission="ADMIN_BOOKING_RESOURCE" context_field='owner'/>
4997 <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">
4998 <fields oils_persist:primary="id" oils_persist:sequence="booking.resource_attr_id_seq">
4999 <field reporter:label="Resource Attribute ID" name="id" reporter:datatype="id" reporter:selector="name" />
5000 <field reporter:label="Owning Library" name="owner" reporter:datatype="org_unit" oils_obj:required="true"/>
5001 <field reporter:label="Resource Attribute Name" name="name" reporter:datatype="text" oils_obj:required="true"/>
5002 <field reporter:label="Resource Type" name="resource_type" reporter:datatype="link"/>
5003 <field reporter:label="Is Required" name="required" reporter:datatype="bool"/>
5004 <field reporter:label="Valid Values" name="valid_values" oils_persist:virtual="true" reporter:datatype="link"/>
5005 <field reporter:label="Resource Attribute Maps" name="attr_maps" oils_persist:virtual="true" reporter:datatype="link"/>
5008 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
5009 <link field="resource_type" reltype="has_a" key="id" map="" class="brt"/>
5010 <link field="valid_values" reltype="has_many" key="attr" map="" class="brav"/>
5011 <link field="attr_maps" reltype="has_many" key="attr" map="" class="bram"/>
5013 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
5015 <create permission="ADMIN_BOOKING_RESOURCE_ATTR" context_field='owner'/>
5016 <retrieve permission="ADMIN_BOOKING_RESOURCE_ATTR" context_field='owner'/>
5017 <update permission="ADMIN_BOOKING_RESOURCE_ATTR" context_field='owner'/>
5018 <delete permission="ADMIN_BOOKING_RESOURCE_ATTR" context_field='owner'/>
5023 <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">
5024 <fields oils_persist:primary="id" oils_persist:sequence="booking.resource_attr_value_id_seq">
5025 <field reporter:label="Resource Attribute Value ID" name="id" reporter:datatype="id" reporter:selector="valid_value" />
5026 <field reporter:label="Owning Library" name="owner" reporter:datatype="org_unit" oils_obj:required="true"/>
5027 <field reporter:label="Resource Attribute" name="attr" reporter:datatype="link" oils_obj:required="true"/>
5028 <field reporter:label="Valid Value" name="valid_value" reporter:datatype="text" oils_obj:required="true"/>
5029 <field reporter:label="Resource Attribute Maps" name="attr_maps" oils_persist:virtual="true" reporter:datatype="link"/>
5030 <field reporter:label="Resource Attribute Value Maps" name="attr_val_maps" oils_persist:virtual="true" reporter:datatype="link"/>
5033 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
5034 <link field="attr" reltype="has_a" key="id" map="" class="bra"/>
5035 <link field="attr_maps" reltype="has_many" key="id" map="" class="bram"/>
5036 <link field="attr_val_maps" reltype="has_many" key="attr_value" map="" class="bravm"/>
5038 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
5040 <create permission="ADMIN_BOOKING_RESOURCE_ATTR_VALUE" context_field='owner'/>
5041 <retrieve permission="ADMIN_BOOKING_RESOURCE_ATTR_VALUE" context_field='owner'/>
5042 <update permission="ADMIN_BOOKING_RESOURCE_ATTR_VALUE" context_field='owner'/>
5043 <delete permission="ADMIN_BOOKING_RESOURCE_ATTR_VALUE" context_field='owner'/>
5048 <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">
5049 <fields oils_persist:primary="id" oils_persist:sequence="booking.resource_attr_map_id_seq">
5050 <field reporter:label="Resource Attribute Map ID" name="id" reporter:datatype="id"/>
5051 <field reporter:label="Resource" name="resource" reporter:datatype="link" oils_obj:required="true"/>
5052 <field reporter:label="Resource Attribute" name="resource_attr" reporter:datatype="link" oils_obj:required="true"/>
5053 <field reporter:label="Attribute Value" name="value" reporter:datatype="link" oils_obj:required="true"/>
5056 <link field="resource" reltype="has_a" key="id" map="" class="brsrc"/>
5057 <link field="resource_attr" reltype="has_a" key="id" map="" class="bra"/>
5058 <link field="value" reltype="has_a" key="id" map="" class="brav"/>
5060 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
5062 <create permission="ADMIN_BOOKING_RESOURCE_ATTR_MAP">
5063 <context link="resource" field="owner" />
5065 <retrieve permission="ADMIN_BOOKING_RESOURCE_ATTR_MAP">
5066 <context link="resource" field="owner" />
5068 <update permission="ADMIN_BOOKING_RESOURCE_ATTR_MAP">
5069 <context link="resource" field="owner" />
5071 <delete permission="ADMIN_BOOKING_RESOURCE_ATTR_MAP">
5072 <context link="resource" field="owner" />
5078 <class id="bresv" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="booking::reservation" oils_persist:tablename="booking.reservation" reporter:label="Reservation">
5079 <fields oils_persist:primary="id" oils_persist:sequence="money.billable_xact_id_seq">
5080 <field reporter:label="Transaction ID" name="id" reporter:datatype="id" />
5081 <field reporter:label="User" name="usr" reporter:datatype="link"/>
5082 <field reporter:label="Transaction Finish Date/Time" name="xact_finish" reporter:datatype="timestamp"/>
5083 <field reporter:label="Transaction Start Date/Time" name="xact_start" reporter:datatype="timestamp"/>
5084 <field reporter:label="Unrecovered Debt" name="unrecovered" reporter:datatype="bool"/>
5085 <field reporter:label="Billing Line Items" name="billings" oils_persist:virtual="true" reporter:datatype="link"/>
5086 <field reporter:label="Payment Line Items" name="payments" oils_persist:virtual="true" reporter:datatype="link"/>
5087 <field reporter:label="Billing Totals" name="billing_total" oils_persist:virtual="true" reporter:datatype="money"/>
5088 <field reporter:label="Payment Totals" name="payment_total" oils_persist:virtual="true" reporter:datatype="money"/>
5089 <field reporter:label="Payment Summary" name="summary" oils_persist:virtual="true" reporter:datatype="link"/>
5090 <field reporter:label="Request Time" name="request_time" reporter:datatype="timestamp"/>
5091 <field reporter:label="Start Time" name="start_time" reporter:datatype="timestamp"/>
5092 <field reporter:label="End Time" name="end_time" reporter:datatype="timestamp"/>
5093 <field reporter:label="Capture Time" name="capture_time" reporter:datatype="timestamp"/>
5094 <field reporter:label="Cancel Time" name="cancel_time" reporter:datatype="timestamp"/>
5095 <field reporter:label="Pickup Time" name="pickup_time" reporter:datatype="timestamp"/>
5096 <field reporter:label="Return Time" name="return_time" reporter:datatype="timestamp"/>
5097 <field reporter:label="Booking Interval" name="booking_interval" reporter:datatype="interval"/>
5098 <field reporter:label="Fine Interval" name="fine_interval" reporter:datatype="interval"/>
5099 <field reporter:label="Fine Amount" name="fine_amount" reporter:datatype="money"/>
5100 <field reporter:label="Max Fine Amount" name="max_fine" reporter:datatype="money"/>
5101 <field reporter:label="Target Resource Type" name="target_resource_type" reporter:datatype="link"/>
5102 <field reporter:label="Target Resource" name="target_resource" reporter:datatype="link"/>
5103 <field reporter:label="Current Resource" name="current_resource" reporter:datatype="link"/>
5104 <field reporter:label="Request Library" name="request_lib" reporter:datatype="link"/>
5105 <field reporter:label="Pickup Library" name="pickup_lib" reporter:datatype="link"/>
5106 <field reporter:label="Capture Staff" name="capture_staff" reporter:datatype="link"/>
5107 <field reporter:label="Notify by Email?" name="email_notify" reporter:datatype="bool"/>
5108 <field reporter:label="Attribute Value Maps" name="attr_val_maps" oils_persist:virtual="true" reporter:datatype="link"/>
5111 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
5112 <link field="payments" reltype="has_many" key="xact" map="" class="mp"/>
5113 <link field="billings" reltype="has_many" key="xact" map="" class="mb"/>
5114 <link field="billing_total" reltype="might_have" key="xact" map="" class="rxbt"/>
5115 <link field="payment_total" reltype="might_have" key="xact" map="" class="rxpt"/>
5116 <link field="summary" reltype="might_have" key="id" map="" class="mbts"/>
5117 <link field="target_resource_type" reltype="has_a" key="id" map="" class="brt"/>
5118 <link field="target_resource" reltype="has_a" key="id" map="" class="brsrc"/>
5119 <link field="current_resource" reltype="has_a" key="id" map="" class="brsrc"/>
5120 <link field="request_lib" reltype="has_a" key="id" map="" class="aou"/>
5121 <link field="pickup_lib" reltype="might_have" key="id" map="" class="aou"/>
5122 <link field="capture_staff" reltype="might_have" key="id" map="" class="au"/>
5123 <link field="attr_val_maps" reltype="has_many" key="reservation" map="" class="bravm"/>
5125 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
5127 <create permission="ADMIN_BOOKING_RESERVATION" global_required='true'/>
5128 <retrieve permission="STAFF_LOGIN" global_required='true'/>
5129 <update permission="ADMIN_BOOKING_RESERVATION" global_required='true'/>
5130 <delete permission="ADMIN_BOOKING_RESERVATION" global_required='true'/>
5135 <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">
5136 <fields oils_persist:primary="id" oils_persist:sequence="booking.reservation_attr_value_map_id_seq">
5137 <field reporter:label="Reservation Attribute Value Map" name="id" reporter:datatype="id"/>
5138 <field reporter:label="Reservation" name="reservation" reporter:datatype="link"/>
5139 <field reporter:label="Attribute Map" name="attr_value" reporter:datatype="link"/>
5142 <link field="reservation" reltype="has_a" key="id" map="" class="bresv"/>
5143 <link field="attr_value" reltype="has_a" key="id" map="" class="brav"/>
5145 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
5147 <create permission="ADMIN_BOOKING_RESERVATION_ATTR_MAP" global_required='true'/>
5148 <retrieve permission="STAFF_LOGIN" global_required='true'/>
5149 <update permission="ADMIN_BOOKING_RESERVATION_ATTR_MAP" global_required='true'/>
5150 <delete permission="ADMIN_BOOKING_RESERVATION_ATTR_MAP" global_required='true'/>
5155 <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">
5156 <fields oils_persist:primary="id" oils_persist:sequence="container.call_number_bucket_item_id_seq">
5157 <field name="bucket" reporter:datatype="link"/>
5158 <field name="id" reporter:datatype="id" />
5159 <field name="target_call_number" reporter:datatype="link" />
5160 <field name="create_time" reporter:datatype="timestamp" />
5161 <field name="pos" reporter:datatype="int" />
5162 <field name="notes" oils_persist:virtual="true" reporter:datatype="link" />
5165 <link field="target_call_number" reltype="has_a" key="id" map="" class="acn"/>
5166 <link field="bucket" reltype="has_a" key="id" map="" class="ccnb"/>
5167 <link field="notes" reltype="has_many" map="" key="item" class="ccnbin"/>
5169 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
5171 <retrieve permission="ADMIN_CALLNUMBER_BUCKET">
5172 <context link="bucket" owning_lib="owning_lib"/>
5177 <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">
5178 <fields oils_persist:primary="id" oils_persist:sequence="container.call_number_bucket_item_note_id_seq">
5179 <field name="id" reporter:datatype="id" />
5180 <field name="item" reporter:datatype="link"/>
5181 <field name="note" reporter:datatype="text" />
5184 <link field="item" reltype="has_a" key="id" map="" class="ccnbi"/>
5187 <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">
5188 <fields oils_persist:primary="id" oils_persist:sequence="container.biblio_record_entry_bucket_id_seq">
5189 <field name="items" oils_persist:virtual="true" reporter:datatype="link"/>
5190 <field name="btype" reporter:datatype="text"/>
5191 <field name="id" reporter:datatype="id" />
5192 <field name="name" reporter:datatype="text"/>
5193 <field name="description" reporter:datatype="text"/>
5194 <field name="owner" reporter:datatype="link"/>
5195 <field name="pub" reporter:datatype="bool"/>
5196 <field name="create_time" reporter:datatype="timestamp" />
5197 <field name="owning_lib" reporter:datatype="org_unit" />
5200 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
5201 <link field="owner" reltype="has_a" key="id" map="" class="au"/>
5202 <link field="items" reltype="has_many" key="bucket" map="" class="cbrebi"/>
5204 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
5206 <create permission="CREATE_BIB_BUCKET ADMIN_BIB_BUCKET" context="owning_lib" owning_user="owner"/>
5207 <retrieve permission="CREATE_BIB_BUCKET ADMIN_BIB_BUCKET" context="owning_lib" owning_user="owner"/>
5208 <update permission="CREATE_BIB_BUCKET ADMIN_BIB_BUCKET" context="owning_lib" owning_user="owner"/>
5209 <delete permission="CREATE_BIB_BUCKET ADMIN_BIB_BUCKET" context="owning_lib" owning_user="owner"/>
5213 <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">
5214 <fields oils_persist:primary="id" oils_persist:sequence="container.biblio_record_entry_bucket_note_id_seq">
5215 <field name="id" reporter:datatype="id" />
5216 <field name="bucket" reporter:datatype="link"/>
5217 <field name="note" reporter:datatype="text" />
5220 <link field="bucket" reltype="has_a" key="id" map="" class="cbreb"/>
5223 <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">
5224 <fields oils_persist:primary="id" oils_persist:sequence="action.hold_copy_map_id_seq">
5225 <field name="hold" reporter:datatype="link"/>
5226 <field name="id" reporter:datatype="id" />
5227 <field name="target_copy" reporter:datatype="link"/>
5228 <field name="proximity" reporter:datatype="number"/>
5231 <link field="hold" reltype="has_a" key="id" map="" class="ahr"/>
5232 <link field="target_copy" reltype="has_a" key="id" map="" class="acp"/>
5235 <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">
5236 <fields oils_persist:primary="id" oils_persist:sequence="action.hold_notification_id_seq">
5237 <field reporter:label="Hold" name="hold" reporter:datatype="link"/>
5238 <field reporter:label="Notification ID" name="id" reporter:datatype="id" />
5239 <field reporter:label="Notification Method" name="method" reporter:datatype="text"/>
5240 <field reporter:label="Notification Note" name="note" reporter:datatype="text"/>
5241 <field reporter:label="Notifying Staff" name="notify_staff" reporter:datatype="link"/>
5242 <field reporter:label="Notification Date/Time" name="notify_time" reporter:datatype="timestamp"/>
5245 <link field="hold" reltype="has_a" key="id" map="" class="ahr"/>
5246 <link field="notify_staff" reltype="has_a" key="id" map="" class="au"/>
5248 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
5250 <create permission="CREATE_HOLD_NOTIFICATION">
5251 <context link="hold" jump="usr" field="home_ou" />
5253 <retrieve permission="VIEW_HOLD_NOTIFICATION">
5254 <context link="hold" jump="usr" field="home_ou" />
5256 <update permission="CREATE_HOLD_NOTIFICATION">
5257 <context link="hold" jump="usr" field="home_ou" />
5259 <delete permission="CREATE_HOLD_NOTIFICATION">
5260 <context link="hold" jump="usr" field="home_ou" />
5265 <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">
5266 <fields oils_persist:primary="id" oils_persist:sequence="asset.copy_location_id_seq">
5267 <field reporter:label="Can Circulate?" name="circulate" reporter:datatype="bool"/>
5268 <field reporter:label="Is Holdable?" name="holdable" reporter:datatype="bool"/>
5269 <field reporter:label="Hold Capture Requires Verification" name="hold_verify" reporter:datatype="bool"/>
5270 <field reporter:label="Location ID" name="id" reporter:selector="name" reporter:datatype="id"/>
5271 <field reporter:label="Name" name="name" reporter:datatype="text" oils_persist:i18n="true"/>
5272 <field reporter:label="Is OPAC Visible?" name="opac_visible" reporter:datatype="bool"/>
5273 <field reporter:label="Owning Org Unit" name="owning_lib" reporter:datatype="org_unit"/>
5274 <field reporter:label="Copy Location Orders" name="orders" oils_persist:virtual="true" reporter:datatype="link"/>
5275 <field reporter:label="Copies" name="copies" oils_persist:virtual="true" reporter:datatype="link"/>
5276 <field reporter:label="Label Prefix" name="label_prefix" reporter:datatype="text" oils_persist:i18n="true"/>
5277 <field reporter:label="Label Suffix" name="label_suffix" reporter:datatype="text" oils_persist:i18n="true"/>
5278 <field reporter:label="Checkin Alert" name="checkin_alert" reporter:datatype="bool" />
5279 <field reporter:label="Is Deleted?" name="deleted" reporter:datatype="bool" />
5280 <field reporter:label="URL" name="url" reporter:datatype="text" />
5283 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
5284 <link field="distribution_formula_entries" reltype="has_many" key="location" map="" class="acqdfe"/>
5285 <link field="orders" reltype="has_many" key="location" map="" class="acplo"/>
5286 <link field="copies" reltype="has_many" key="location" map="" class="acp"/>
5288 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
5290 <create permission="CREATE_COPY_LOCATION" context_field="owning_lib"/>
5292 <update permission="UPDATE_COPY_LOCATION" context_field="owning_lib"/>
5293 <delete permission="DELETE_COPY_LOCATION" context_field="owning_lib"/>
5297 <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">
5298 <fields oils_persist:primary="id" oils_persist:sequence="asset.copy_location_group_id_seq">
5299 <field reporter:label="ID" name="id" reporter:selector="name" reporter:datatype="id"/>
5300 <field reporter:label="Name" name="name" reporter:datatype="text" oils_persist:i18n="true"/>
5301 <field reporter:label="Is OPAC Visible?" name="opac_visible" reporter:datatype="bool"/>
5302 <field reporter:label="Owning Org Unit" name="owner" reporter:datatype="org_unit"/>
5303 <field reporter:label="Position" name="pos" reporter:datatype="int"/>
5304 <field reporter:label="Display Above Orgs" name="top" reporter:datatype="bool"/>
5305 <field reporter:label="Copy Location Mappings" name="location_maps" oils_persist:virtual="true" reporter:datatype="link"/>
5308 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
5309 <link field="location_maps" reltype="has_many" key="lgroup" map="" class="acplgm"/>
5311 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
5313 <create permission="ADMIN_COPY_LOCATION_GROUP" context_field="owner"/>
5315 <update permission="ADMIN_COPY_LOCATION_GROUP" context_field="owner"/>
5316 <delete permission="ADMIN_COPY_LOCATION_GROUP" context_field="owner"/>
5320 <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">
5321 <fields oils_persist:primary="id" oils_persist:sequence="asset.copy_location_group_map_id_seq">
5322 <field reporter:label="ID" name="id" reporter:selector="name" reporter:datatype="id"/>
5323 <field reporter:label="Group" name="lgroup" reporter:datatype="link"/>
5324 <field reporter:label="Copy Location" name="location" reporter:datatype="link"/>
5327 <link field="lgroup" reltype="has_a" key="id" map="" class="acplg"/>
5328 <link field="location" reltype="has_a" key="id" map="" class="acpl"/>
5330 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
5332 <create permission="ADMIN_COPY_LOCATION_GROUP">
5333 <context link="lgroup" field="owner" />
5336 <update permission="ADMIN_COPY_LOCATION_GROUP">
5337 <context link="lgroup" field="owner" />
5339 <delete permission="ADMIN_COPY_LOCATION_GROUP">
5340 <context link="lgroup" field="owner" />
5346 <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">
5347 <fields oils_persist:primary="id" oils_persist:sequence="asset.copy_location_order_id_seq">
5348 <field reporter:label="Location Order ID" name="id" reporter:datatype="id"/>
5349 <field reporter:label="Location ID" name="location" reporter:datatype="link"/>
5350 <field reporter:label="Org Unit" name="org" reporter:datatype="org_unit"/>
5351 <field reporter:label="Position" name="position" reporter:datatype="int"/>
5354 <link field="location" reltype="has_a" key="id" map="" class="acpl"/>
5355 <link field="org" reltype="has_a" key="id" map="" class="aou"/>
5357 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
5359 <create permission="ADMIN_COPY_LOCATION_ORDER" context_field="org"/>
5361 <update permission="ADMIN_COPY_LOCATION_ORDER" context_field="org"/>
5362 <delete permission="ADMIN_COPY_LOCATION_ORDER" context_field="org"/>
5367 <class id="svr" controller="open-ils.cstore" oils_obj:fieldmapper="serial::virtual_record" oils_persist:virtual="true" reporter:label="Serial Virtual Record">
5369 <field name="sre_id" oils_persist:virtual="true" />
5370 <field name="location" oils_persist:virtual="true" />
5371 <field name="owning_lib" oils_persist:virtual="true" />
5372 <field name="basic_holdings" oils_persist:virtual="true" />
5373 <field name="basic_holdings_add" oils_persist:virtual="true" />
5374 <field name="supplement_holdings" oils_persist:virtual="true" />
5375 <field name="supplement_holdings_add" oils_persist:virtual="true" />
5376 <field name="index_holdings" oils_persist:virtual="true" />
5377 <field name="index_holdings_add" oils_persist:virtual="true" />
5378 <field name="online" oils_persist:virtual="true" />
5379 <field name="missing" oils_persist:virtual="true" />
5380 <field name="incomplete" oils_persist:virtual="true" />
5384 <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">
5385 <fields oils_persist:primary="id" oils_persist:sequence="serial.record_entry_id_seq">
5386 <field reporter:label="Is Active" name="active" reporter:datatype="bool"/>
5387 <field reporter:label="Bib Record" name="record" reporter:datatype="link"/>
5388 <field reporter:label="Create Date" name="create_date" reporter:datatype="timestamp"/>
5389 <field reporter:label="Creator" name="creator" reporter:datatype="link"/>
5390 <field reporter:label="Is Deleted" name="deleted" reporter:datatype="bool"/>
5391 <field reporter:label="Edit date" name="edit_date" reporter:datatype="timestamp"/>
5392 <field reporter:label="Editor" name="editor" reporter:datatype="link"/>
5393 <field reporter:label="ID" name="id" reporter:datatype="id" />
5394 <field reporter:label="Last Transaction ID" name="last_xact_id" reporter:datatype="text"/>
5395 <field reporter:label="MARC" name="marc" reporter:datatype="text"/>
5396 <field reporter:label="Source" name="source" reporter:datatype="int"/>
5397 <field reporter:label="Owning Org Unit" name="owning_lib" reporter:datatype="org_unit"/>
5400 <link field="record" reltype="has_a" key="id" map="" class="bre"/>
5401 <link field="editor" reltype="has_a" key="id" map="" class="au"/>
5402 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
5403 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
5405 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
5407 <create permission="CREATE_MFHD_RECORD" context_field="owning_lib"/>
5409 <update permission="UPDATE_MFHD_RECORD" context_field="owning_lib"/>
5410 <delete permission="DELETE_MFHD_RECORD" context_field="owning_lib"/>
5415 <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">
5416 <fields oils_persist:primary="id" oils_persist:sequence="serial.caption_and_pattern_id_seq">
5417 <field reporter:label="ID" name="id" reporter:datatype="id"/>
5418 <field reporter:label="Subscription" name="subscription" reporter:datatype="link"/>
5419 <field reporter:label="Type" name="type" reporter:datatype="text"/>
5420 <field reporter:label="Create Date" name="create_date" reporter:datatype="timestamp"/>
5421 <field reporter:label="Start Date" name="start_date" reporter:datatype="timestamp"/>
5422 <field reporter:label="End Date" name="end_date" reporter:datatype="timestamp"/>
5423 <field reporter:label="Active?" name="active" reporter:datatype="bool"/>
5424 <field reporter:label="Pattern Code" name="pattern_code" reporter:datatype="text"/>
5425 <field reporter:label="Enum 1" name="enum_1" reporter:datatype="text"/>
5426 <field reporter:label="Enum 2" name="enum_2" reporter:datatype="text"/>
5427 <field reporter:label="Enum 3" name="enum_3" reporter:datatype="text"/>
5428 <field reporter:label="Enum 4" name="enum_4" reporter:datatype="text"/>
5429 <field reporter:label="Enum 5" name="enum_5" reporter:datatype="text"/>
5430 <field reporter:label="Enum 6" name="enum_6" reporter:datatype="text"/>
5431 <field reporter:label="Chron 1" name="chron_1" reporter:datatype="text"/>
5432 <field reporter:label="Chron 2" name="chron_2" reporter:datatype="text"/>
5433 <field reporter:label="Chron 3" name="chron_3" reporter:datatype="text"/>
5434 <field reporter:label="Chron 4" name="chron_4" reporter:datatype="text"/>
5435 <field reporter:label="Chron 5" name="chron_5" reporter:datatype="text"/>
5438 <link field="subscription" reltype="has_a" key="id" map="" class="ssub"/>
5440 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
5442 <create permission="ADMIN_SERIAL_CAPTION_PATTERN">
5443 <context link="subscription" field="owning_lib" />
5446 <update permission="ADMIN_SERIAL_CAPTION_PATTERN">
5447 <context link="subscription" field="owning_lib" />
5449 <delete permission="ADMIN_SERIAL_CAPTION_PATTERN">
5450 <context link="subscription" field="owning_lib" />
5456 <class id="ssub" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="serial::subscription" oils_persist:tablename="serial.subscription" reporter:label="Subscription">
5457 <fields oils_persist:primary="id" oils_persist:sequence="serial.subscription_id_seq">
5458 <field reporter:label="ID" name="id" reporter:datatype="id"/>
5459 <field reporter:label="Owning Library" name="owning_lib" reporter:datatype="org_unit"/>
5460 <field reporter:label="Start Date" name="start_date" reporter:datatype="timestamp"/>
5461 <field reporter:label="End Date" name="end_date" reporter:datatype="timestamp"/>
5462 <field reporter:label="Bibliographic Record Entry" name="record_entry" reporter:datatype="link"/>
5463 <field reporter:label="Expected Date Offset" name="expected_date_offset" reporter:datatype="interval"/>
5464 <field reporter:label="Distributions" name="distributions" oils_persist:virtual="true" reporter:datatype="link"/>
5465 <field reporter:label="Issuances" name="issuances" oils_persist:virtual="true" reporter:datatype="link"/>
5466 <field reporter:label="Captions and Patterns" name="scaps" oils_persist:virtual="true" reporter:datatype="link"/>
5467 <field reporter:label="Notes" name="notes" oils_persist:virtual="true" reporter:datatype="link"/>
5470 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
5471 <link field="record_entry" reltype="has_a" key="id" map="" class="bre"/>
5472 <link field="distributions" reltype="has_many" key="subscription" map="" class="sdist"/>
5473 <link field="issuances" reltype="has_many" key="subscription" map="" class="siss"/>
5474 <link field="scaps" reltype="has_many" key="subscription" map="" class="scap"/>
5475 <link field="notes" reltype="has_many" key="subscription" map="" class="ssubn"/>
5477 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
5479 <create permission="ADMIN_SERIAL_SUBSCRIPTION" context_field="owning_lib"/>
5481 <update permission="ADMIN_SERIAL_SUBSCRIPTION" context_field="owning_lib"/>
5482 <delete permission="ADMIN_SERIAL_SUBSCRIPTION" context_field="owning_lib"/>
5487 <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">
5488 <fields oils_persist:primary="id" oils_persist:sequence="serial.subscription_note_id_seq">
5489 <field reporter:label="ID" name="id" reporter:datatype="id"/>
5490 <field reporter:label="Subscription" name="subscription" reporter:datatype="link"/>
5491 <field reporter:label="Creator" name="creator" reporter:datatype="link"/>
5492 <field reporter:label="Create Date" name="create_date" reporter:datatype="timestamp"/>
5493 <field reporter:label="Public?" name="pub" reporter:datatype="bool"/>
5494 <field reporter:label="Alert?" name="alert" reporter:datatype="bool"/>
5495 <field reporter:label="Title" name="title" reporter:datatype="text"/>
5496 <field reporter:label="Value" name="value" reporter:datatype="text"/>
5499 <link field="subscription" reltype="has_a" key="id" map="" class="ssub"/>
5500 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
5502 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
5504 <create permission="ADMIN_SERIAL_SUBSCRIPTION" context_field="owning_lib">
5505 <context link="subscription" field="owning_lib"/>
5508 <update permission="ADMIN_SERIAL_SUBSCRIPTION" context_field="owning_lib">
5509 <context link="subscription" field="owning_lib"/>
5511 <delete permission="ADMIN_SERIAL_SUBSCRIPTION" context_field="owning_lib">
5512 <context link="subscription" field="owning_lib"/>
5518 <class id="sdist" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="serial::distribution" oils_persist:tablename="serial.distribution" reporter:label="Distribution">
5519 <fields oils_persist:primary="id" oils_persist:sequence="serial.distribution_id_seq">
5520 <field reporter:label="ID" name="id" reporter:datatype="id"/>
5521 <field reporter:label="Legacy Record Entry" name="record_entry" reporter:datatype="link"/>
5522 <field reporter:label="Summary Method" name="summary_method" reporter:datatype="text"/>
5523 <field reporter:label="Subscription" name="subscription" reporter:datatype="link"/>
5524 <field reporter:label="Holding Lib" name="holding_lib" reporter:datatype="org_unit"/>
5525 <field reporter:label="Label" name="label" reporter:datatype="text"/>
5526 <field reporter:label="Receive Call Number" name="receive_call_number" reporter:datatype="link"/>
5527 <field reporter:label="Receive Unit Template" name="receive_unit_template" reporter:datatype="link"/>
5528 <field reporter:label="Bind Call Number" name="bind_call_number" reporter:datatype="link"/>
5529 <field reporter:label="Bind Unit Template" name="bind_unit_template" reporter:datatype="link"/>
5530 <field reporter:label="Unit Label Prefix" name="unit_label_prefix" reporter:datatype="text"/>
5531 <field reporter:label="Unit Label Suffix" name="unit_label_suffix" reporter:datatype="text"/>
5532 <field reporter:label="Display Grouping" name="display_grouping" reporter:datatype="text"/>
5533 <field reporter:label="Streams" name="streams" oils_persist:virtual="true" reporter:datatype="link"/>
5534 <field reporter:label="Notes" name="notes" oils_persist:virtual="true" reporter:datatype="link"/>
5535 <field reporter:label="Basic Issue Summary" name="basic_summary" oils_persist:virtual="true" reporter:datatype="link"/>
5536 <field reporter:label="Supplemental Issue Summary" name="supplement_summary" oils_persist:virtual="true" reporter:datatype="link"/>
5537 <field reporter:label="Index Issue Summary" name="index_summary" oils_persist:virtual="true" reporter:datatype="link"/>
5540 <link field="record_entry" reltype="has_a" key="id" map="" class="sre"/>
5541 <link field="subscription" reltype="has_a" key="id" map="" class="ssub"/>
5542 <link field="holding_lib" reltype="has_a" key="id" map="" class="aou"/>
5543 <link field="receive_call_number" reltype="has_a" key="id" map="" class="acn"/>
5544 <link field="receive_unit_template" reltype="has_a" key="id" map="" class="act"/>
5545 <link field="bind_call_number" reltype="has_a" key="id" map="" class="acn"/>
5546 <link field="bind_unit_template" reltype="has_a" key="id" map="" class="act"/>
5547 <link field="streams" reltype="has_many" key="distribution" map="" class="sstr"/>
5548 <link field="notes" reltype="has_many" key="distribution" map="" class="sdistn"/>
5549 <link field="basic_summary" reltype="might_have" key="distribution" map="" class="sbsum"/>
5550 <link field="supplement_summary" reltype="might_have" key="distribution" map="" class="sssum"/>
5551 <link field="index_summary" reltype="might_have" key="distribution" map="" class="sisum"/>
5553 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
5555 <create permission="ADMIN_SERIAL_DISTRIBUTION" context_field="holding_lib" />
5557 <update permission="ADMIN_SERIAL_DISTRIBUTION" context_field="holding_lib" />
5558 <delete permission="ADMIN_SERIAL_DISTRIBUTION" context_field="holding_lib" />
5563 <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">
5564 <fields oils_persist:primary="id" oils_persist:sequence="serial.distribution_note_id_seq">
5565 <field reporter:label="ID" name="id" reporter:datatype="id"/>
5566 <field reporter:label="Distribution" name="distribution" reporter:datatype="link"/>
5567 <field reporter:label="Creator" name="creator" reporter:datatype="link"/>
5568 <field reporter:label="Create Date" name="create_date" reporter:datatype="timestamp"/>
5569 <field reporter:label="Public?" name="pub" reporter:datatype="bool"/>
5570 <field reporter:label="Alert?" name="alert" reporter:datatype="bool"/>
5571 <field reporter:label="Title" name="title" reporter:datatype="text"/>
5572 <field reporter:label="Value" name="value" reporter:datatype="text"/>
5575 <link field="distribution" reltype="has_a" key="id" map="" class="sdist"/>
5576 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
5578 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
5580 <create permission="ADMIN_SERIAL_DISTRIBUTION">
5581 <context link="distribution" field="holding_lib" />
5583 <retrieve permission="ADMIN_SERIAL_DISTRIBUTION">
5584 <context link="distribution" field="holding_lib" />
5586 <update permission="ADMIN_SERIAL_DISTRIBUTION">
5587 <context link="distribution" field="holding_lib" />
5589 <delete permission="ADMIN_SERIAL_DISTRIBUTION">
5590 <context link="distribution" field="holding_lib" />
5596 <class id="sstr" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="serial::stream" oils_persist:tablename="serial.stream" reporter:label="Stream">
5597 <fields oils_persist:primary="id" oils_persist:sequence="serial.stream_id_seq">
5598 <field reporter:label="ID" name="id" reporter:datatype="id"/>
5599 <field reporter:label="Distribution" name="distribution" reporter:datatype="link"/>
5600 <field reporter:label="Routing Label" name="routing_label" reporter:datatype="text"/>
5601 <field reporter:label="Items" name="items" oils_persist:virtual="true" reporter:datatype="link" />
5602 <field reporter:label="Routing List Users" name="routing_list_users" oils_persist:virtual="true" reporter:datatype="link"/>
5605 <link field="distribution" reltype="has_a" key="id" map="" class="sdist"/>
5606 <link field="items" reltype="has_many" key="stream" map="" class="sitem"/>
5607 <link field="routing_list_users" reltype="has_many" key="stream" map="" class="srlu"/>
5609 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
5611 <create permission="ADMIN_SERIAL_STREAM">
5612 <context link="distribution" field="holding_lib" />
5615 <update permission="ADMIN_SERIAL_STREAM">
5616 <context link="distribution" field="holding_lib" />
5618 <delete permission="ADMIN_SERIAL_STREAM">
5619 <context link="distribution" field="holding_lib" />
5625 <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">
5626 <fields oils_persist:primary="id" oils_persist:sequence="serial.routing_list_user_id_seq">
5627 <field reporter:label="ID" name="id" reporter:datatype="id"/>
5628 <field reporter:label="Stream" name="stream" reporter:datatype="link"/>
5629 <field reporter:label="Position" name="pos" reporter:datatype="int"/>
5630 <field reporter:label="Reader" name="reader" reporter:datatype="link"/>
5631 <field reporter:label="Department" name="department" reporter:datatype="text"/>
5632 <field reporter:label="Note" name="note" reporter:datatype="text"/>
5635 <link field="stream" reltype="has_a" key="id" map="" class="sstr"/>
5636 <link field="reader" reltype="has_a" key="id" map="" class="au"/>
5638 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
5640 <create permission="ADMIN_SERIAL_STREAM">
5641 <context link="stream" jump="distribution" field="holding_lib" />
5643 <retrieve permission="RECEIVE_SERIAL">
5644 <context link="stream" jump="distribution" field="holding_lib" />
5646 <update permission="ADMIN_SERIAL_STREAM">
5647 <context link="stream" jump="distribution" field="holding_lib" />
5649 <delete permission="ADMIN_SERIAL_STREAM">
5650 <context link="stream" jump="distribution" field="holding_lib" />
5656 <class id="siss" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="serial::issuance" oils_persist:tablename="serial.issuance" reporter:label="Issuance">
5657 <fields oils_persist:primary="id" oils_persist:sequence="serial.issuance_id_seq">
5658 <field reporter:label="ID" name="id" reporter:datatype="id" />
5659 <field reporter:label="Creator" name="creator" reporter:datatype="link"/>
5660 <field reporter:label="Editor" name="editor" reporter:datatype="link"/>
5661 <field reporter:label="Create Date" name="create_date" reporter:datatype="timestamp"/>
5662 <field reporter:label="Edit Date" name="edit_date" reporter:datatype="timestamp"/>
5663 <field reporter:label="Subscription" name="subscription" reporter:datatype="link"/>
5664 <field reporter:label="Caption/Pattern" name="caption_and_pattern" reporter:datatype="link"/>
5665 <field reporter:label="Label" name="label" reporter:datatype="text"/>
5666 <field reporter:label="Date Published" name="date_published" reporter:datatype="timestamp"/>
5667 <field reporter:label="Holding Code" name="holding_code" reporter:datatype="text"/>
5668 <field reporter:label="Holding Type" name="holding_type" reporter:datatype="text"/>
5669 <field reporter:label="Holding Link ID" name="holding_link_id" reporter:datatype="int"/>
5670 <field reporter:label="Items" name="items" oils_persist:virtual="true" reporter:datatype="link" />
5673 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
5674 <link field="editor" reltype="has_a" key="id" map="" class="au"/>
5675 <link field="subscription" reltype="has_a" key="id" map="" class="ssub"/>
5676 <link field="caption_and_pattern" reltype="has_a" key="id" map="" class="scap"/>
5677 <link field="items" reltype="has_many" key="issuance" map="" class="sitem"/>
5679 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
5681 <create permission="ADMIN_SERIAL_SUBSCRIPTION">
5682 <context link="subscription" field="owning_lib" />
5685 <update permission="ADMIN_SERIAL_SUBSCRIPTION">
5686 <context link="subscription" field="owning_lib" />
5688 <delete permission="ADMIN_SERIAL_SUBSCRIPTION">
5689 <context link="subscription" field="owning_lib" />
5695 <class id="sunit" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="serial::unit" oils_persist:tablename="serial.unit" reporter:label="Unit">
5696 <fields oils_persist:primary="id" oils_persist:sequence="asset.copy_id_seq">
5697 <field reporter:label="ID" name="id" reporter:datatype="id"/>
5698 <field reporter:label="Age Hold Protection" name="age_protect" reporter:datatype="link"/>
5699 <field reporter:label="Alert Message" name="alert_message" reporter:datatype="text"/>
5700 <field reporter:label="Barcode" name="barcode" reporter:datatype="text"/>
5701 <field reporter:label="Call Number/Volume" name="call_number" reporter:datatype="link"/>
5702 <field reporter:label="Circulation Type (MARC)" name="circ_as_type" reporter:datatype="text"/>
5703 <field reporter:label="Circulating Library" name="circ_lib" reporter:datatype="org_unit"/>
5704 <field reporter:label="Circulation Modifier" name="circ_modifier" reporter:datatype="link"/>
5705 <field reporter:label="Can Circulate" name="circulate" reporter:datatype="bool"/>
5706 <field reporter:label="Copy Number on Volume" name="copy_number" reporter:datatype="text"/>
5707 <field reporter:label="Creation Date/Time" name="create_date" reporter:datatype="timestamp"/>
5708 <field reporter:label="Active Date/Time" name="active_date" reporter:datatype="timestamp"/>
5709 <field reporter:label="Creating User" name="creator" reporter:datatype="link"/>
5710 <field reporter:label="Is Deleted" name="deleted" reporter:datatype="bool"/>
5711 <field reporter:label="Dummy ISBN" name="dummy_isbn" reporter:datatype="text"/>
5712 <field reporter:label="Is Deposit Required" name="deposit" reporter:datatype="bool"/>
5713 <field reporter:label="Deposit Amount" name="deposit_amount" reporter:datatype="money" />
5714 <field reporter:label="Precat Dummy Author" name="dummy_author" reporter:datatype="text"/>
5715 <field reporter:label="Precat Dummy Title" name="dummy_title" reporter:datatype="text"/>
5716 <field reporter:label="Last Edit Date/Time" name="edit_date" reporter:datatype="timestamp"/>
5717 <field reporter:label="Last Editing User" name="editor" reporter:datatype="link"/>
5718 <field reporter:label="Fine Level" name="fine_level" reporter:datatype="int"/>
5719 <field reporter:label="Is Holdable" name="holdable" reporter:datatype="bool" />
5720 <field reporter:label="Loan Duration" name="loan_duration" reporter:datatype="int"/>
5721 <field reporter:label="Shelving Location" name="location" reporter:datatype="link"/>
5722 <field reporter:label="OPAC Visible" name="opac_visible" reporter:datatype="bool" />
5723 <field reporter:label="Price" name="price" reporter:datatype="money" />
5724 <field reporter:label="Is Reference" name="ref" reporter:datatype="bool"/>
5725 <field reporter:label="Copy Status" name="status" reporter:datatype="link"/>
5726 <field reporter:label="Copy Status Changed Time" name="status_changed_time" reporter:datatype="timestamp"/>
5727 <field reporter:label="Is Mint Condition" name="mint_condition" reporter:datatype="bool"/>
5728 <field reporter:label="Floating Group" name="floating" reporter:datatype="link"/>
5729 <field reporter:label="Cost" name="cost" reporter:datatype="money"/>
5730 <field reporter:label="Sort Key" name="sort_key" reporter:datatype="text"/>
5731 <field reporter:label="Summary Contents" name="summary_contents" reporter:datatype="text"/>
5732 <field reporter:label="Detailed Contents" name="detailed_contents" reporter:datatype="text"/>
5733 <field reporter:label="Copy Notes" name="notes" oils_persist:virtual="true" reporter:datatype="link"/>
5734 <field reporter:label="Stat-Cat entry maps" name="stat_cat_entry_copy_maps" oils_persist:virtual="true" reporter:datatype="link"/>
5735 <field reporter:label="Circulations" name="circulations" oils_persist:virtual="true" reporter:datatype="link"/>
5736 <field reporter:label="Total Circulations" name="total_circ_count" oils_persist:virtual="true" reporter:datatype="link"/>
5737 <field reporter:label="Holds" name="holds" oils_persist:virtual="true" reporter:datatype="link"/>
5738 <field reporter:label="Statistical Category Entries" name="stat_cat_entries" oils_persist:virtual="true" reporter:datatype="link"/>
5741 <link field="age_protect" reltype="has_a" key="id" map="" class="crahp"/>
5742 <link field="call_number" reltype="has_a" key="id" map="" class="acn"/>
5743 <link field="location" reltype="has_a" key="id" map="" class="acpl"/>
5744 <link field="editor" reltype="has_a" key="id" map="" class="au"/>
5745 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
5746 <link field="status" reltype="has_a" key="id" map="" class="ccs"/>
5747 <link field="circ_lib" reltype="has_a" key="id" map="" class="aou"/>
5748 <link field="holds" reltype="has_many" key="target_copy" map="hold" class="ahcm"/>
5749 <link field="stat_cat_entry_copy_maps" reltype="has_many" key="owning_copy" map="" class="ascecm"/>
5750 <link field="notes" reltype="has_many" key="owning_copy" map="" class="acpn"/>
5751 <link field="stat_cat_entries" reltype="has_many" key="owning_copy" map="stat_cat_entry" class="ascecm"/>
5752 <link field="circulations" reltype="has_many" key="target_copy" map="" class="circ"/>
5753 <link field="total_circ_count" reltype="might_have" key="id" map="" class="erfcc"/>
5754 <link field="circ_modifier" reltype="has_a" key="code" map="" class="ccm"/>
5755 <link field="floating" reltype="has_a" key="id" map="" class="cfg"/>
5757 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
5759 <create permission="RECEIVE_SERIAL ADMIN_SERIAL_SUBSCRIPTION" context_field="circ_lib" />
5761 <update permission="RECEIVE_SERIAL ADMIN_SERIAL_SUBSCRIPTION" context_field="circ_lib" />
5762 <delete permission="RECEIVE_SERIAL ADMIN_SERIAL_SUBSCRIPTION" context_field="circ_lib" />
5767 <class id="sitem" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="serial::item" oils_persist:tablename="serial.item" reporter:label="Item">
5768 <fields oils_persist:primary="id" oils_persist:sequence="serial.item_id_seq">
5769 <field reporter:label="ID" name="id" reporter:datatype="id"/>
5770 <field reporter:label="Creator" name="creator" reporter:datatype="link"/>
5771 <field reporter:label="Editor" name="editor" reporter:datatype="link"/>
5772 <field reporter:label="Create Date" name="create_date" reporter:datatype="timestamp"/>
5773 <field reporter:label="Edit Date" name="edit_date" reporter:datatype="timestamp"/>
5774 <field reporter:label="Issuance" name="issuance" reporter:datatype="link"/>
5775 <field reporter:label="Stream" name="stream" reporter:datatype="link"/>
5776 <field reporter:label="Unit" name="unit" reporter:datatype="link"/>
5777 <field reporter:label="URI" name="uri" reporter:datatype="link"/>
5778 <field reporter:label="Date Expected" name="date_expected" reporter:datatype="timestamp"/>
5779 <field reporter:label="Date Received" name="date_received" reporter:datatype="timestamp"/>
5780 <field reporter:label="Status" name="status" reporter:datatype="text"/>
5781 <field reporter:label="Notes" name="notes" oils_persist:virtual="true" reporter:datatype="link"/>
5782 <field reporter:label="Shadowed?" name="shadowed" reporter:datatype="bool"/>
5785 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
5786 <link field="editor" reltype="has_a" key="id" map="" class="au"/>
5787 <link field="issuance" reltype="has_a" key="id" map="" class="siss"/>
5788 <link field="stream" reltype="has_a" key="id" map="" class="sstr"/>
5789 <link field="unit" reltype="has_a" key="id" map="" class="sunit"/>
5790 <link field="uri" reltype="has_a" key="id" map="" class="auri"/>
5791 <link field="notes" reltype="has_many" key="item" map="" class="sin"/>
5793 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
5795 <create permission="ADMIN_SERIAL_ITEM">
5796 <context link="stream" jump="distribution" field="holding_lib" />
5798 <retrieve permission="ADMIN_SERIAL_ITEM">
5799 <context link="stream" jump="distribution" field="holding_lib" />
5801 <update permission="ADMIN_SERIAL_ITEM">
5802 <context link="stream" jump="distribution" field="holding_lib" />
5804 <delete permission="ADMIN_SERIAL_ITEM">
5805 <context link="stream" jump="distribution" field="holding_lib" />
5811 <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">
5812 <fields oils_persist:primary="id" oils_persist:sequence="serial.item_note_id_seq">
5813 <field reporter:label="ID" name="id" reporter:datatype="id"/>
5814 <field reporter:label="Item" name="item" reporter:datatype="link"/>
5815 <field reporter:label="Creator" name="creator" reporter:datatype="link"/>
5816 <field reporter:label="Create Date" name="create_date" reporter:datatype="timestamp"/>
5817 <field reporter:label="Public?" name="pub" reporter:datatype="bool"/>
5818 <field reporter:label="Alert?" name="alert" reporter:datatype="bool"/>
5819 <field reporter:label="Title" name="title" reporter:datatype="text"/>
5820 <field reporter:label="Value" name="value" reporter:datatype="text"/>
5823 <link field="item" reltype="has_a" key="id" map="" class="sitem"/>
5824 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
5826 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
5828 <create permission="ADMIN_SERIAL_ITEM">
5829 <context link="item" jump="stream.distribution" field="holding_lib" />
5831 <retrieve permission="ADMIN_SERIAL_ITEM">
5832 <context link="item" jump="stream.distribution" field="holding_lib" />
5834 <update permission="ADMIN_SERIAL_ITEM">
5835 <context link="item" jump="stream.distribution" field="holding_lib" />
5837 <delete permission="ADMIN_SERIAL_ITEM">
5838 <context link="item" jump="stream.distribution" field="holding_lib" />
5843 <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">
5845 <field name="summary_type" reporter:label="Summary Type" reporter:datatype="text" />
5846 <field name="id" reporter:label="Native ID" reporter:datatype="int" /><!-- not datatype="id", because id is not unique in this view -->
5847 <field name="distribution" reporter:label="Distribution" reporter:datatype="link" />
5848 <field name="generated_coverage" reporter:label="Generated Coverage" reporter:datatype="text" />
5849 <field name="show_generated" reporter:label="Show Generated?" reporter:datatype="bool" />
5852 <link field="distribution" reltype="has_a" key="id" map="" class="sdist"/>
5855 <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">
5856 <fields oils_persist:primary="id" oils_persist:sequence="serial.materialized_holding_code_id_seq">
5857 <field name="id" reporter:label="ID" reporter:datatype="id" />
5858 <field name="issuance" reporter:label="Issuance" reporter:datatype="link" />
5859 <field name="holding_type" reporter:label="Holding Type" reporter:datatype="text" />
5860 <field name="ind1" reporter:label="First Indicator" reporter:datatype="text" />
5861 <field name="ind2" reporter:label="Second Indicator" reporter:datatype="text" />
5862 <field name="subfield" reporter:label="Subfield" reporter:datatype="text" />
5863 <field name="value" reporter:label="Value" reporter:datatype="text" oils_obj:validate="^\w$" />
5866 <link field="issuance" reltype="has_a" key="id" map="" class="siss"/>
5869 <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">
5870 <fields oils_persist:primary="id" oils_persist:sequence="serial.basic_summary_id_seq">
5871 <field reporter:label="ID" name="id" reporter:datatype="id" />
5872 <field reporter:label="Distribution" name="distribution" reporter:datatype="link"/>
5873 <field reporter:label="Generated Coverage" name="generated_coverage" reporter:datatype="text"/>
5874 <field reporter:label="Textual Holdings" name="textual_holdings" reporter:datatype="text"/>
5875 <field reporter:label="Show Generated?" name="show_generated" reporter:datatype="bool"/>
5878 <link field="distribution" reltype="has_a" key="id" map="" class="sdist"/>
5880 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
5882 <create permission="ADMIN_SERIAL_DISTRIBUTION">
5883 <context link="distribution" field="holding_lib" />
5886 <update permission="ADMIN_SERIAL_DISTRIBUTION">
5887 <context link="distribution" field="holding_lib" />
5889 <delete permission="ADMIN_SERIAL_DISTRIBUTION">
5890 <context link="distribution" field="holding_lib" />
5896 <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">
5897 <fields oils_persist:primary="id" oils_persist:sequence="serial.supplement_summary_id_seq">
5898 <field reporter:label="ID" name="id" reporter:datatype="id" />
5899 <field reporter:label="Distribution" name="distribution" reporter:datatype="link"/>
5900 <field reporter:label="Generated Coverage" name="generated_coverage" reporter:datatype="text"/>
5901 <field reporter:label="Textual Holdings" name="textual_holdings" reporter:datatype="text"/>
5902 <field reporter:label="Show Generated?" name="show_generated" reporter:datatype="bool"/>
5905 <link field="distribution" reltype="has_a" key="id" map="" class="sdist"/>
5907 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
5909 <create permission="ADMIN_SERIAL_DISTRIBUTION">
5910 <context link="distribution" field="holding_lib" />
5913 <update permission="ADMIN_SERIAL_DISTRIBUTION">
5914 <context link="distribution" field="holding_lib" />
5916 <delete permission="ADMIN_SERIAL_DISTRIBUTION">
5917 <context link="distribution" field="holding_lib" />
5923 <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">
5924 <fields oils_persist:primary="id" oils_persist:sequence="serial.index_summary_id_seq">
5925 <field reporter:label="ID" name="id" reporter:datatype="id" />
5926 <field reporter:label="Distribution" name="distribution" reporter:datatype="link"/>
5927 <field reporter:label="Generated Coverage" name="generated_coverage" reporter:datatype="text"/>
5928 <field reporter:label="Textual Holdings" name="textual_holdings" reporter:datatype="text"/>
5929 <field reporter:label="Show Generated?" name="show_generated" reporter:datatype="bool"/>
5932 <link field="distribution" reltype="has_a" key="id" map="" class="sdist"/>
5934 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
5936 <create permission="ADMIN_SERIAL_DISTRIBUTION">
5937 <context link="distribution" field="holding_lib" />
5940 <update permission="ADMIN_SERIAL_DISTRIBUTION">
5941 <context link="distribution" field="holding_lib" />
5943 <delete permission="ADMIN_SERIAL_DISTRIBUTION">
5944 <context link="distribution" field="holding_lib" />
5950 <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">
5951 <fields oils_persist:primary="id" oils_persist:sequence="serial.pattern_template_id_seq">
5952 <field reporter:label="ID" name="id" reporter:datatype="id" />
5953 <field reporter:label="Name" name="name" reporter:datatype="text" oils_obj:required="true"/>
5954 <field reporter:label="Pattern Code" name="pattern_code" reporter:datatype="text" oils_obj:required="true"/>
5955 <field reporter:label="Owning Library" name="owning_lib" reporter:datatype="org_unit" oils_obj:required="true"/>
5956 <field reporter:label="Share Depth" name="share_depth" reporter:datatype="int"/>
5959 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
5961 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
5963 <create permission="ADMIN_SERIAL_PATTERN_TEMPLATE" context_field="owning_lib"/>
5965 <update permission="ADMIN_SERIAL_PATTERN_TEMPLATE" context_field="owning_lib"/>
5966 <delete permission="ADMIN_SERIAL_PATTERN_TEMPLATE" context_field="owning_lib"/>
5971 <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">
5972 <fields oils_persist:primary="id" oils_persist:sequence="asset.stat_cat_entry_copy_map_id_seq">
5973 <field name="id" reporter:datatype="id" />
5974 <field name="owning_copy" reporter:datatype="link"/>
5975 <field name="stat_cat" reporter:datatype="link"/>
5976 <field name="stat_cat_entry" reporter:datatype="link"/>
5979 <link field="owning_copy" reltype="has_a" key="id" map="" class="acp"/>
5980 <link field="stat_cat_entry" reltype="has_a" key="id" map="" class="asce"/>
5981 <link field="stat_cat" reltype="has_a" key="id" map="" class="asc"/>
5983 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
5989 <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">
5990 <fields oils_persist:primary="code">
5991 <field reporter:label="Item Type Code" name="code" reporter:selector="value" reporter:datatype="text"/>
5992 <field reporter:label="Item Type" name="value" reporter:datatype="text" oils_persist:i18n="true"/>
5995 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
5997 <create permission="ADMIN_MARC_CODE" global_required="true"/>
5999 <update permission="ADMIN_MARC_CODE" global_required="true"/>
6000 <delete permission="ADMIN_MARC_CODE" global_required="true"/>
6004 <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">
6005 <fields oils_persist:primary="code">
6006 <field reporter:label="Bib Level Code" name="code" reporter:datatype="text"/>
6007 <field reporter:label="Bib Level" name="value" reporter:datatype="text" oils_persist:i18n="true"/>
6010 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
6012 <create permission="CREATE_MARC_CODE" global_required="true"/>
6014 <update permission="UPDATE_MARC_CODE" global_required="true"/>
6015 <delete permission="DELETE_MARC_CODE" global_required="true"/>
6019 <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">
6020 <fields oils_persist:primary="id" oils_persist:sequence="search.relevance_adjustment_id_seq">
6021 <field reporter:label="ID" name="id" reporter:datatype="id"/>
6022 <field reporter:label="Active" name="active" reporter:datatype="bool"/>
6023 <field reporter:label="Index Field" name="field" reporter:datatype="link"/>
6024 <field reporter:label="Bump Type" name="bump_type" reporter:datatype="text"/>
6025 <field reporter:label="Multiplier" name="multiplier" reporter:datatype="number"/>
6028 <link field="field" reltype="has_a" key="id" map="" class="cmf"/>
6030 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
6032 <create permission="CREATE_RELEVANCE_ADJUSTMENT" global_required="true"/>
6033 <retrieve permission="CREATE_RELEVANCE_ADJUSTMENT UPDATE_RELEVANCE_ADJUSTMENT DELETE_RELEVANCE_ADJUSTMENT" global_required="true"/>
6034 <update permission="UPDATE_RELEVANCE_ADJUSTMENT" global_required="true"/>
6035 <delete permission="DELETE_RELEVANCE_ADJUSTMENT" global_required="true"/>
6039 <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">
6040 <fields oils_persist:primary="id" oils_persist:sequence="actor.org_lasso_id_seq">
6041 <field name="id" reporter:datatype="id" />
6042 <field name="name" reporter:datatype="text"/>
6045 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
6047 <create permission="CREATE_LASSO" global_required="true"/>
6048 <retrieve permission="CREATE_LASSO UPDATE_LASSO DELETE_LASSO" global_required="true"/>
6049 <update permission="UPDATE_LASSO" global_required="true"/>
6050 <delete permission="DELETE_LASSO" global_required="true"/>
6054 <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">
6055 <fields oils_persist:primary="id" oils_persist:sequence="actor.org_lasso_map_id_seq">
6056 <field name="id" reporter:datatype="id" />
6057 <field name="lasso" reporter:datatype="link"/>
6058 <field name="org_unit" reporter:datatype="org_unit"/>
6061 <link field="lasso" reltype="has_a" key="id" map="" class="lasso"/>
6062 <link field="org_unit" reltype="has_a" key="id" map="" class="aou"/>
6064 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
6066 <create permission="CREATE_LASSO_MAP" global_required="true"/>
6067 <retrieve permission="CREATE_LASSO_MAP UPDATE_LASSO_MAP DELETE_LASSO_MAP" global_required="true"/>
6068 <update permission="UPDATE_LASSO_MAP" global_required="true"/>
6069 <delete permission="DELETE_LASSO_MAP" global_required="true"/>
6073 <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">
6074 <fields oils_persist:primary="id" oils_persist:sequence="actor.org_unit_proximity_adjustment_id_seq">
6075 <field name="id" reporter:label="ID" reporter:datatype="id" />
6076 <field name="item_circ_lib" reporter:label="Item Circ Lib" reporter:datatype="org_unit"/>
6077 <field name="item_owning_lib" reporter:label="Item Owning Lib" reporter:datatype="org_unit"/>
6078 <field name="hold_pickup_lib" reporter:label="Hold Pickup Lib" reporter:datatype="org_unit"/>
6079 <field name="hold_request_lib" reporter:label="Hold Request Lib" reporter:datatype="org_unit"/>
6080 <field name="copy_location" reporter:label="Copy Location" reporter:datatype="link"/>
6081 <field name="circ_mod" reporter:label="Circ Modifier" reporter:datatype="link"/>
6082 <field name="pos" reporter:label="Position" reporter:datatype="int" />
6083 <field name="absolute_adjustment" reporter:label="Absolute adjustment?" reporter:datatype="bool" />
6084 <field name="prox_adjustment" reporter:label="Proximity Adjustment" reporter:datatype="number" />
6087 <link field="item_circ_lib" reltype="has_a" key="id" map="" class="aou"/>
6088 <link field="item_owning_lib" reltype="has_a" key="id" map="" class="aou"/>
6089 <link field="hold_pickup_lib" reltype="has_a" key="id" map="" class="aou"/>
6090 <link field="hold_request_lib" reltype="has_a" key="id" map="" class="aou"/>
6091 <link field="circ_mod" reltype="has_a" key="code" map="" class="ccm"/>
6092 <link field="copy_location" reltype="has_a" key="id" map="" class="acpl"/>
6094 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
6096 <create permission="ADMIN_PROXIMITY_ADJUSTMENT" global_required="true"/>
6097 <retrieve permission="ADMIN_PROXIMITY_ADJUSTMENT" global_required="true"/>
6098 <update permission="ADMIN_PROXIMITY_ADJUSTMENT" global_required="true"/>
6099 <delete permission="ADMIN_PROXIMITY_ADJUSTMENT" global_required="true"/>
6103 <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">
6104 <fields oils_persist:primary="id" oils_persist:sequence="actor.org_unit_proximity_id_seq">
6105 <field name="id" reporter:datatype="id" />
6106 <field name="from_org" reporter:datatype="org_unit"/>
6107 <field name="to_org" reporter:datatype="org_unit"/>
6108 <field name="prox" reporter:datatype="int" />
6111 <link field="from_org" reltype="has_a" key="id" map="" class="aou"/>
6112 <link field="to_org" reltype="has_a" key="id" map="" class="aou"/>
6115 <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">
6116 <fields oils_persist:primary="id" oils_persist:sequence="actor.org_unit_proximity_id_seq">
6117 <field reporter:label="ID" name="id" reporter:datatype="id" />
6118 <field reporter:label="Relevance" name="rel" reporter:datatype="float"/>
6119 <field reporter:label="Record" name="record" reporter:datatype="link"/>
6120 <field reporter:label="Total Results" name="total" reporter:datatype="int" />
6121 <field reporter:label="Checked" name="checked" reporter:datatype="int"/>
6122 <field reporter:label="Visible" name="visible" reporter:datatype="int"/>
6123 <field reporter:label="Deleted" name="deleted" reporter:datatype="int"/>
6124 <field reporter:label="Excluded" name="excluded" reporter:datatype="int"/>
6128 <class id="asv" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="action::survey" oils_persist:tablename="action.survey" reporter:label="Survey">
6129 <fields oils_persist:primary="id" oils_persist:sequence="action.survey_id_seq">
6130 <field reporter:label="Questions" name="questions" oils_persist:virtual="true" reporter:datatype="link"/>
6131 <field reporter:label="Responses" name="responses" oils_persist:virtual="true" reporter:datatype="link"/>
6132 <field reporter:label="Description" name="description" reporter:datatype="text"/>
6133 <field reporter:label="Survey End Date/Time" name="end_date" reporter:datatype="timestamp"/>
6134 <field reporter:label="Survey ID" name="id" reporter:datatype="id"/>
6135 <field reporter:label="Name" name="name" reporter:datatype="text"/>
6136 <field reporter:label="OPAC Survey?" name="opac" reporter:datatype="bool"/>
6137 <field reporter:label="Owning Library" name="owner" reporter:datatype="org_unit"/>
6138 <field reporter:label="Poll Style?" name="poll" reporter:datatype="bool"/>
6139 <field reporter:label="Is Required?" name="required" reporter:datatype="bool"/>
6140 <field reporter:label="Survey Start Date/Time" name="start_date" reporter:datatype="timestamp"/>
6141 <field reporter:label="Display in User Summary" name="usr_summary" reporter:datatype="bool"/>
6144 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
6145 <link field="responses" reltype="has_many" key="survey" map="" class="asvr"/>
6146 <link field="questions" reltype="has_many" key="survey" map="" class="asvq"/>
6148 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
6150 <create permission="ADMIN_SURVEY" context_field="owner"/>
6152 <update permission="ADMIN_SURVEY" context_field="owner"/>
6153 <delete permission="ADMIN_SURVEY" context_field="owner"/>
6157 <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">
6158 <fields oils_persist:primary="id" oils_persist:sequence="actor.org_address_id_seq">
6159 <field name="address_type" reporter:datatype="text"/>
6160 <field name="city" reporter:datatype="text"/>
6161 <field name="country" reporter:datatype="text"/>
6162 <field name="county" reporter:datatype="text"/>
6163 <field name="id" reporter:datatype="id" />
6164 <field name="org_unit" reporter:datatype="org_unit"/>
6165 <field name="post_code" reporter:datatype="text"/>
6166 <field name="state" reporter:datatype="text"/>
6167 <field name="street1" reporter:datatype="text"/>
6168 <field name="street2" reporter:datatype="text"/>
6169 <field name="valid" reporter:datatype="bool"/>
6170 <field name="san" reporter:datatype="text" reporter:label="SAN"/>
6173 <link field="org_unit" reltype="has_a" key="id" map="" class="aou"/>
6175 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
6177 <create permission="CREATE_ORG_ADDRESS" context_field="org_unit"/>
6179 <update permission="UPDATE_ORG_ADDRESS" context_field="org_unit"/>
6180 <delete permission="DELETE_ORG_ADDRESS" context_field="org_unit"/>
6184 <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">
6185 <fields oils_persist:primary="id" oils_persist:sequence="actor.search_query_id_seq">
6186 <field name="id" reporter:datatype="id" reporter:selector="label"/>
6187 <field name="label" reporter:datatype="text" oils_persist:i18n="true"/>
6188 <field name="query_text" reporter:datatype="text"/>
6190 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
6197 <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">
6198 <fields oils_persist:primary="id" oils_persist:sequence="actor.search_filter_group_id_seq">
6199 <field name="id" reporter:datatype="id" reporter:selector="label"/>
6200 <field name="owner" reporter:datatype="org_unit"/>
6201 <field name="code" reporter:datatype="text"/>
6202 <field name="label" reporter:datatype="text" oils_persist:i18n="true"/>
6203 <field name="create_date" reporter:datatype="timestamp"/>
6204 <field name="entries" oils_persist:virtual="true" reporter:datatype="link"/>
6207 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
6208 <link field="entries" reltype="has_many" key="grp" map="" class="asfge"/>
6210 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
6212 <create permission="ADMIN_SEARCH_FILTER_GROUP" context_field="owner"/>
6214 <update permission="ADMIN_SEARCH_FILTER_GROUP" context_field="owner"/>
6215 <delete permission="ADMIN_SEARCH_FILTER_GROUP" context_field="owner"/>
6219 <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">
6220 <fields oils_persist:primary="id" oils_persist:sequence="actor.search_filter_group_entry_id_seq">
6221 <field name="id" reporter:datatype="id"/>
6222 <field name="grp" reporter:datatype="link"/>
6223 <field name="pos" reporter:datatype="int"/>
6224 <field name="query" reporter:datatype="link"/>
6227 <link field="grp" reltype="has_a" key="id" map="" class="asfg"/>
6228 <link field="query" reltype="has_a" key="id" map="" class="asq"/>
6230 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
6232 <create permission="ADMIN_SEARCH_FILTER_GROUP">
6233 <context link="grp" field="owner"/>
6236 <update permission="ADMIN_SEARCH_FILTER_GROUP">
6237 <context link="grp" field="owner"/>
6239 <delete permission="ADMIN_SEARCH_FILTER_GROUP">
6240 <context link="grp" field="owner"/>
6246 <!-- A note: Please update alhr and ahopl when updating ahr -->
6247 <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">
6248 <fields oils_persist:primary="id" oils_persist:sequence="action.hold_request_id_seq">
6249 <field reporter:label="Status" name="status" oils_persist:virtual="true" />
6250 <field reporter:label="Transit" name="transit" oils_persist:virtual="true" />
6251 <field reporter:label="Capture Date/Time" name="capture_time" reporter:datatype="timestamp"/>
6252 <field reporter:label="Currently Targeted Copy" name="current_copy" reporter:datatype="link"/>
6253 <field reporter:label="Notify by Email?" name="email_notify" reporter:datatype="bool"/>
6254 <field reporter:label="Hold Expire Date/Time" name="expire_time" reporter:datatype="timestamp"/>
6255 <field reporter:label="Fulfilling Library" name="fulfillment_lib" reporter:datatype="org_unit"/>
6256 <field reporter:label="Fulfilling Staff" name="fulfillment_staff" />
6257 <field reporter:label="Fulfillment Date/Time" name="fulfillment_time" reporter:datatype="timestamp"/>
6258 <field reporter:label="Hold Type" name="hold_type" reporter:datatype="text"/>
6259 <field reporter:label="Holdable Formats (for M-type hold)" name="holdable_formats" reporter:datatype="text"/>
6260 <field reporter:label="Hold ID" name="id" reporter:datatype="id" />
6261 <field reporter:label="Notifications Phone Number" name="phone_notify" reporter:datatype="text"/>
6262 <field reporter:label="Notifications SMS Number" name="sms_notify" reporter:datatype="text"/>
6263 <field reporter:label="Notifications SMS Carrier" name="sms_carrier" reporter:datatype="link"/>
6264 <field reporter:label="Pickup Library" name="pickup_lib" reporter:datatype="org_unit"/>
6265 <field reporter:label="Last Targeting Date/Time" name="prev_check_time" reporter:datatype="timestamp"/>
6266 <field reporter:label="Requesting Library" name="request_lib" reporter:datatype="org_unit"/>
6267 <field reporter:label="Request Date/Time" name="request_time" reporter:datatype="timestamp"/>
6268 <field reporter:label="Requesting User" name="requestor" reporter:datatype="link"/>
6269 <field reporter:label="Item Selection Depth" name="selection_depth" />
6270 <field reporter:label="Selection Locus" name="selection_ou" reporter:datatype="org_unit"/>
6271 <field reporter:label="Target Object ID" name="target" reporter:datatype="link"/>
6272 <field reporter:label="Hold User" name="usr" reporter:datatype="link"/>
6273 <field reporter:label="Hold Cancel Date/Time" name="cancel_time" reporter:datatype="timestamp"/>
6274 <field reporter:label="Notify Time" name="notify_time" oils_persist:virtual="true" reporter:datatype="timestamp"/>
6275 <field reporter:label="Notify Count" name="notify_count" oils_persist:virtual="true" reporter:datatype="int" />
6276 <field reporter:label="Notifications" name="notifications" oils_persist:virtual="true" reporter:datatype="link"/>
6277 <field reporter:label="Bib Record link" name="bib_rec" oils_persist:virtual="true" reporter:datatype="link"/>
6278 <field reporter:label="Eligible Copies" name="eligible_copies" oils_persist:virtual="true" reporter:datatype="link"/>
6279 <field reporter:label="Currently Frozen" name="frozen" reporter:datatype="bool"/>
6280 <field reporter:label="Activation Date" name="thaw_date" reporter:datatype="timestamp"/>
6281 <field reporter:label="Shelf Time" name="shelf_time" reporter:datatype="timestamp"/>
6282 <field reporter:label="Cancelation cause" name="cancel_cause" reporter:datatype="link" />
6283 <field reporter:label="Cancelation note" name="cancel_note" reporter:datatype="text" />
6284 <field reporter:label="Top of Queue" name="cut_in_line" reporter:datatype="bool" />
6285 <field reporter:label="Is Mint Condition" name="mint_condition" reporter:datatype="bool" />
6286 <field reporter:label="Shelf Expire Time" name="shelf_expire_time" reporter:datatype="timestamp"/>
6287 <field reporter:label="Notes" name="notes" reporter:datatype="link" oils_persist:virtual="true"/>
6288 <field reporter:label="Current Shelf Lib" name="current_shelf_lib" reporter:datatype="org_unit"/>
6289 <field reporter:label="Behind Desk" name="behind_desk" reporter:datatype="bool"/>
6290 <field reporter:label="Acquisition Request" name="acq_request" reporter:datatype="link" />
6293 <link field="fulfillment_lib" reltype="has_a" key="id" map="" class="aou"/>
6294 <link field="fulfillment_staff" reltype="has_a" key="id" map="" class="au"/>
6295 <link field="pickup_lib" reltype="has_a" key="id" map="" class="aou"/>
6296 <link field="selection_ou" reltype="has_a" key="id" map="" class="aou"/>
6297 <link field="requestor" reltype="has_a" key="id" map="" class="au"/>
6298 <link field="current_copy" reltype="has_a" key="id" map="" class="acp"/>
6299 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
6300 <link field="request_lib" reltype="has_a" key="id" map="" class="aou"/>
6301 <link field="transit" reltype="might_have" key="hold" map="" class="ahtc"/>
6302 <link field="notifications" reltype="has_many" key="hold" map="" class="ahn"/>
6303 <link field="eligible_copies" reltype="has_many" key="hold" map="target_copy" class="ahcm"/>
6304 <link field="bib_rec" reltype="might_have" key="id" map="" class="rhrr"/>
6305 <link field="cancel_cause" reltype="might_have" key="id" map="" class="ahrcc"/>
6306 <link field="notes" reltype="has_many" key="hold" map="" class="ahrn"/>
6307 <link field="current_shelf_lib" reltype="has_a" key="id" map="" class="aou"/>
6308 <link field="sms_carrier" reltype="has_a" key="id" map="" class="csc"/>
6309 <link field="acq_request" reltype="has_a" key="id" map="" class="aur"/>
6311 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
6313 <retrieve permission="VIEW_HOLD" context_field="pickup_lib" />
6317 <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">
6318 <oils_persist:source_definition><![CDATA[
6321 COALESCE(acplo.position, acpl_ordered.fallback_position) AS
6322 copy_location_order_position,
6323 CASE WHEN au.alias IS NOT NULL THEN
6327 END AS usr_alias_or_first_given_name,
6328 au.first_given_name AS usr_first_given_name,
6329 au.second_given_name AS usr_second_given_name,
6330 au.family_name AS usr_family_name,
6331 au.prefix AS usr_prefix,
6332 au.suffix AS usr_suffix,
6333 au.alias AS usr_alias,
6334 CASE WHEN au.alias IS NOT NULL THEN
6337 REGEXP_REPLACE(ARRAY_TO_STRING(ARRAY[
6338 COALESCE(au.family_name, ''),
6339 COALESCE(au.suffix, ''),
6341 COALESCE(au.prefix, ''),
6342 COALESCE(au.first_given_name, ''),
6343 COALESCE(au.second_given_name, '')
6344 ], ' '), E'\\s+,', ',')
6345 END AS usr_alias_or_display_name,
6346 REGEXP_REPLACE(ARRAY_TO_STRING(ARRAY[
6347 COALESCE(au.family_name, ''),
6348 COALESCE(au.suffix, ''),
6350 COALESCE(au.prefix, ''),
6351 COALESCE(au.first_given_name, ''),
6352 COALESCE(au.second_given_name, '')
6353 ], ' '), E'\\s+,', ',') AS usr_display_name,
6354 TRIM(acnp.label || ' ' || acn.label || ' ' || acns.label)
6355 AS call_number_label,
6356 siss.label AS issuance_label,
6357 (ahr.usr <> ahr.requestor) AS is_staff_hold,
6358 ahcm_1.copy_count AS potential_copies
6359 FROM action.hold_request ahr
6360 JOIN asset.copy acp ON (acp.id = ahr.current_copy)
6361 JOIN asset.call_number acn ON (acp.call_number = acn.id)
6362 JOIN asset.call_number_prefix acnp ON (acn.prefix = acnp.id)
6363 JOIN asset.call_number_suffix acns ON (acn.suffix = acns.id)
6364 JOIN actor.usr au ON (au.id = ahr.usr)
6366 SELECT *, (ROW_NUMBER() OVER (ORDER BY name) + 1000000) AS fallback_position
6367 FROM asset.copy_location
6368 ) acpl_ordered ON (acpl_ordered.id = acp.location)
6369 LEFT JOIN actor.usr_standing_penalty ausp
6370 ON (ahr.usr = ausp.usr AND (ausp.stop_date IS NULL OR ausp.stop_date > NOW()))
6371 LEFT JOIN config.standing_penalty csp
6373 csp.id = ausp.standing_penalty AND
6374 csp.block_list LIKE '%CAPTURE%' AND (
6375 (csp.org_depth IS NULL AND ahr.pickup_lib = ausp.org_unit) OR
6376 (csp.org_depth IS NOT NULL AND ahr.pickup_lib IN (
6377 SELECT id FROM actor.org_unit_descendants(ausp.org_unit, csp.org_depth))
6382 SELECT COUNT(target_copy) AS copy_count, hold
6383 FROM action.hold_copy_map
6385 ) ahcm_1 ON (ahcm_1.hold = ahr.id)
6386 LEFT JOIN serial.issuance siss
6387 ON (ahr.hold_type = 'I' AND siss.id = ahr.target)
6388 LEFT JOIN asset.copy_location_order acplo
6389 ON (acp.location = acplo.location AND
6390 acp.circ_lib = acplo.org)
6392 ahr.capture_time IS NULL AND
6393 ahr.cancel_time IS NULL AND
6395 (ahr.expire_time is NULL OR ahr.expire_time > NOW()) AND
6397 ]]></oils_persist:source_definition>
6398 <fields oils_persist:primary="id">
6399 <field reporter:label="Status" name="status" oils_persist:virtual="true" />
6400 <field reporter:label="Transit" name="transit" oils_persist:virtual="true" />
6401 <field reporter:label="Capture Date/Time" name="capture_time" reporter:datatype="timestamp"/>
6402 <field reporter:label="Currently Targeted Copy" name="current_copy" reporter:datatype="link"/>
6403 <field reporter:label="Notify by Email?" name="email_notify" reporter:datatype="bool"/>
6404 <field reporter:label="Hold Expire Date/Time" name="expire_time" reporter:datatype="timestamp"/>
6405 <field reporter:label="Fulfilling Library" name="fulfillment_lib" reporter:datatype="org_unit"/>
6406 <field reporter:label="Fulfilling Staff" name="fulfillment_staff" />
6407 <field reporter:label="Fulfillment Date/Time" name="fulfillment_time" reporter:datatype="timestamp"/>
6408 <field reporter:label="Hold Type" name="hold_type" reporter:datatype="text"/>
6409 <field reporter:label="Holdable Formats (for M-type hold)" name="holdable_formats" reporter:datatype="text"/>
6410 <field reporter:label="Hold ID" name="id" reporter:datatype="id" />
6411 <field reporter:label="Notifications Phone Number" name="phone_notify" reporter:datatype="text"/>
6412 <field reporter:label="Notifications SMS Number" name="sms_notify" reporter:datatype="text"/>
6413 <field reporter:label="Notifications SMS Carrier" name="sms_carrier" reporter:datatype="link"/>
6414 <field reporter:label="Pickup Library" name="pickup_lib" reporter:datatype="org_unit"/>
6415 <field reporter:label="Last Targeting Date/Time" name="prev_check_time" reporter:datatype="timestamp"/>
6416 <field reporter:label="Requesting Library" name="request_lib" reporter:datatype="org_unit"/>
6417 <field reporter:label="Request Date/Time" name="request_time" reporter:datatype="timestamp"/>
6418 <field reporter:label="Requesting User" name="requestor" reporter:datatype="link"/>
6419 <field reporter:label="Item Selection Depth" name="selection_depth" />
6420 <field reporter:label="Selection Locus" name="selection_ou" reporter:datatype="org_unit"/>
6421 <field reporter:label="Target Object ID" name="target" reporter:datatype="link"/>
6422 <field reporter:label="Hold User" name="usr" reporter:datatype="link"/>
6423 <field reporter:label="Hold Cancel Date/Time" name="cancel_time" reporter:datatype="timestamp"/>
6424 <field reporter:label="Notify Time" name="notify_time" oils_persist:virtual="true" reporter:datatype="timestamp"/>
6425 <field reporter:label="Notify Count" name="notify_count" oils_persist:virtual="true" reporter:datatype="int" />
6426 <field reporter:label="Notifications" name="notifications" oils_persist:virtual="true" reporter:datatype="link"/>
6427 <field reporter:label="Bib Record link" name="bib_rec" oils_persist:virtual="true" reporter:datatype="link"/>
6428 <field reporter:label="Eligible Copies" name="eligible_copies" oils_persist:virtual="true" reporter:datatype="link"/>
6429 <field reporter:label="Currently Frozen" name="frozen" reporter:datatype="bool"/>
6430 <field reporter:label="Activation Date" name="thaw_date" reporter:datatype="timestamp"/>
6431 <field reporter:label="Shelf Time" name="shelf_time" reporter:datatype="timestamp"/>
6432 <field reporter:label="Cancelation cause" name="cancel_cause" reporter:datatype="link" />
6433 <field reporter:label="Cancelation note" name="cancel_note" reporter:datatype="text" />
6434 <field reporter:label="Top of Queue" name="cut_in_line" reporter:datatype="bool" />
6435 <field reporter:label="Is Mint Condition" name="mint_condition" reporter:datatype="bool" />
6436 <field reporter:label="Shelf Expire Time" name="shelf_expire_time" reporter:datatype="timestamp"/>
6437 <field reporter:label="Notes" name="notes" reporter:datatype="link" oils_persist:virtual="true"/>
6438 <field reporter:label="Current Shelf Lib" name="current_shelf_lib" reporter:datatype="org_unit"/>
6439 <field reporter:label="Acquisition Request" name="acq_request" reporter:datatype="link" />
6440 <field reporter:label="Copy Location Sort Order" name="copy_location_order_position" reporter:datatype="int" />
6441 <field reporter:label="User First Given Name" name="usr_first_given_name" reporter:datatype="text" />
6442 <field reporter:label="User Second Given Name" name="usr_second_given_name" reporter:datatype="text" />
6443 <field reporter:label="User Family Name" name="usr_family_name" reporter:datatype="text" />
6444 <field reporter:label="User Prefix" name="usr_prefix" reporter:datatype="text" />
6445 <field reporter:label="User Suffix" name="usr_suffix" reporter:datatype="text" />
6446 <field reporter:label="User Alias or First Given Name" name="usr_alias_or_first_given_name" reporter:datatype="text" />
6447 <field reporter:label="User Display Name" name="usr_display_name" reporter:datatype="text" />
6448 <field reporter:label="User Alias or Display Name" name="usr_alias_or_display_name" reporter:datatype="text" />
6449 <field reporter:label="User Alias" name="usr_alias" reporter:datatype="text" />
6450 <field reporter:label="Call Number Label" name="call_number_label" reporter:datatype="text" />
6451 <field reporter:label="Issuance Label" name="issuance_label" reporter:datatype="text" />
6452 <field reporter:label="Is Staff Hold?" name="is_staff_hold" reporter:datatype="bool" />
6453 <field reporter:label="Potential Copies" name="potential_copies" reporter:datatype="int" />
6454 <field reporter:label="Behind Desk" name="behind_desk" reporter:datatype="bool"/>
6457 <link field="fulfillment_lib" reltype="has_a" key="id" map="" class="aou"/>
6458 <link field="fulfillment_staff" reltype="has_a" key="id" map="" class="au"/>
6459 <link field="pickup_lib" reltype="has_a" key="id" map="" class="aou"/>
6460 <link field="selection_ou" reltype="has_a" key="id" map="" class="aou"/>
6461 <link field="requestor" reltype="has_a" key="id" map="" class="au"/>
6462 <link field="current_copy" reltype="has_a" key="id" map="" class="acp"/>
6463 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
6464 <link field="request_lib" reltype="has_a" key="id" map="" class="aou"/>
6465 <link field="transit" reltype="might_have" key="hold" map="" class="ahtc"/>
6466 <link field="notifications" reltype="has_many" key="hold" map="" class="ahn"/>
6467 <link field="eligible_copies" reltype="has_many" key="hold" map="target_copy" class="ahcm"/>
6468 <link field="bib_rec" reltype="might_have" key="id" map="" class="rhrr"/>
6469 <link field="cancel_cause" reltype="might_have" key="id" map="" class="ahrcc"/>
6470 <link field="notes" reltype="has_many" key="hold" map="" class="ahrn"/>
6471 <link field="current_shelf_lib" reltype="has_a" key="id" map="" class="aou"/>
6472 <link field="sms_carrier" reltype="has_a" key="id" map="" class="csc"/>
6473 <link field="acq_request" reltype="has_a" key="id" map="" class="aur"/>
6475 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
6477 <retrieve permission="VIEW_HOLD" context_field="pickup_lib" />
6481 <class id="alhr" controller="open-ils.cstore" oils_obj:fieldmapper="action::last_hold_request" reporter:label="Last Captured Hold Request" oils_persist:readonly="true">
6482 <oils_persist:source_definition><![CDATA[
6483 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)
6484 ]]></oils_persist:source_definition>
6485 <fields oils_persist:primary="id">
6486 <field reporter:label="Status" name="status" oils_persist:virtual="true" />
6487 <field reporter:label="Transit" name="transit" oils_persist:virtual="true" />
6488 <field reporter:label="Capture Date/Time" name="capture_time" reporter:datatype="timestamp"/>
6489 <field reporter:label="Currently Targeted Copy" name="current_copy" reporter:datatype="link"/>
6490 <field reporter:label="Notify by Email?" name="email_notify" reporter:datatype="bool"/>
6491 <field reporter:label="Hold Expire Date/Time" name="expire_time" reporter:datatype="timestamp"/>
6492 <field reporter:label="Fulfilling Library" name="fulfillment_lib" reporter:datatype="org_unit"/>
6493 <field reporter:label="Fulfilling Staff" name="fulfillment_staff" />
6494 <field reporter:label="Fulfillment Date/Time" name="fulfillment_time" reporter:datatype="timestamp"/>
6495 <field reporter:label="Hold Type" name="hold_type" reporter:datatype="text"/>
6496 <field reporter:label="Holdable Formats (for M-type hold)" name="holdable_formats" reporter:datatype="text"/>
6497 <field reporter:label="Hold ID" name="id" reporter:datatype="id" />
6498 <field reporter:label="Notifications Phone Number" name="phone_notify" reporter:datatype="text"/>
6499 <field reporter:label="Pickup Library" name="pickup_lib" reporter:datatype="org_unit"/>
6500 <field reporter:label="Last Targeting Date/Time" name="prev_check_time" reporter:datatype="timestamp"/>
6501 <field reporter:label="Requesting Library" name="request_lib" reporter:datatype="org_unit"/>
6502 <field reporter:label="Request Date/Time" name="request_time" reporter:datatype="timestamp"/>
6503 <field reporter:label="Requesting User" name="requestor" reporter:datatype="link"/>
6504 <field reporter:label="Item Selection Depth" name="selection_depth" />
6505 <field reporter:label="Selection Locus" name="selection_ou" reporter:datatype="org_unit"/>
6506 <field reporter:label="Target Object ID" name="target" reporter:datatype="link"/>
6507 <field reporter:label="Hold User" name="usr" reporter:datatype="link"/>
6508 <field reporter:label="Hold Cancel Date/Time" name="cancel_time" reporter:datatype="timestamp"/>
6509 <field reporter:label="Notify Time" name="notify_time" oils_persist:virtual="true" reporter:datatype="timestamp"/>
6510 <field reporter:label="Notify Count" name="notify_count" oils_persist:virtual="true" reporter:datatype="int" />
6511 <field reporter:label="Notifications" name="notifications" oils_persist:virtual="true" reporter:datatype="link"/>
6512 <field reporter:label="Bib Record link" name="bib_rec" oils_persist:virtual="true" reporter:datatype="link"/>
6513 <field reporter:label="Eligible Copies" name="eligible_copies" oils_persist:virtual="true" reporter:datatype="link"/>
6514 <field reporter:label="Currently Frozen" name="frozen" reporter:datatype="bool"/>
6515 <field reporter:label="Activation Date" name="thaw_date" reporter:datatype="timestamp"/>
6516 <field reporter:label="Shelf Time" name="shelf_time" reporter:datatype="timestamp"/>
6517 <field reporter:label="Cancelation cause" name="cancel_cause" reporter:datatype="link" />
6518 <field reporter:label="Cancelation note" name="cancel_note" reporter:datatype="text" />
6519 <field reporter:label="Top of Queue" name="cut_in_line" reporter:datatype="bool" />
6520 <field reporter:label="Is Mint Condition" name="mint_condition" reporter:datatype="bool" />
6521 <field reporter:label="Shelf Expire Time" name="shelf_expire_time" reporter:datatype="timestamp"/>
6522 <field reporter:label="Notes" name="notes" reporter:datatype="link" oils_persist:virtual="true"/>
6523 <field reporter:label="Current Shelf Lib" name="current_shelf_lib" reporter:datatype="org_unit"/>
6524 <field reporter:label="Behind Desk" name="behind_desk" reporter:datatype="bool"/>
6525 <field reporter:label="Acquisition Request" name="acq_request" reporter:datatype="link" />
6528 <link field="fulfillment_lib" reltype="has_a" key="id" map="" class="aou"/>
6529 <link field="fulfillment_staff" reltype="has_a" key="id" map="" class="au"/>
6530 <link field="pickup_lib" reltype="has_a" key="id" map="" class="aou"/>
6531 <link field="selection_ou" reltype="has_a" key="id" map="" class="aou"/>
6532 <link field="requestor" reltype="has_a" key="id" map="" class="au"/>
6533 <link field="current_copy" reltype="has_a" key="id" map="" class="acp"/>
6534 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
6535 <link field="request_lib" reltype="has_a" key="id" map="" class="aou"/>
6536 <link field="transit" reltype="might_have" key="hold" map="" class="ahtc"/>
6537 <link field="notifications" reltype="has_many" key="hold" map="" class="ahn"/>
6538 <link field="eligible_copies" reltype="has_many" key="hold" map="target_copy" class="ahcm"/>
6539 <link field="bib_rec" reltype="might_have" key="id" map="" class="rhrr"/>
6540 <link field="cancel_cause" reltype="might_have" key="id" map="" class="ahrcc"/>
6541 <link field="notes" reltype="has_many" key="hold" map="" class="ahrn"/>
6542 <link field="current_shelf_lib" reltype="has_a" key="id" map="" class="aou"/>
6543 <link field="acq_request" reltype="has_a" key="id" map="" class="aur"/>
6547 <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">
6548 <fields oils_persist:primary="id" oils_persist:sequence="action.hold_request_note_id_seq">
6549 <field reporter:label="ID" name="id" reporter:datatype="id"/>
6550 <field reporter:label="Hold ID" name="hold" reporter:datatype="link"/>
6551 <field reporter:label="Title" name="title" reporter:datatype="text"/>
6552 <field reporter:label="Body" name="body" reporter:datatype="text"/>
6553 <field reporter:label="Slip?" name="slip" reporter:datatype="bool"/>
6554 <field reporter:label="Pub?" name="pub" reporter:datatype="bool"/>
6555 <field reporter:label="Staff?" name="staff" reporter:datatype="bool"/>
6558 <link field="hold" reltype="has_a" key="id" map="" class="ahr"/>
6560 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
6562 <create permission="UPDATE_HOLD"><context link="hold" field="request_lib"/></create>
6563 <retrieve permission="VIEW_USER"><context link="hold" field="request_lib"/></retrieve>
6564 <update permission="UPDATE_HOLD"><context link="hold" field="request_lib"/></update>
6565 <delete permission="UPDATE_HOLD"><context link="hold" field="request_lib"/></delete>
6569 <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">
6570 <fields oils_persist:primary="id" oils_persist:sequence="action.hold_request_id_seq">
6571 <field reporter:label="Status" name="status" oils_persist:virtual="true" />
6572 <field reporter:label="Capture Date/Time" name="capture_time" reporter:datatype="timestamp"/>
6573 <field reporter:label="Currently Targeted Copy" name="current_copy" reporter:datatype="link"/>
6574 <field reporter:label="Notify by Email?" name="email_notify" reporter:datatype="bool"/>
6575 <field reporter:label="Hold Expire Date/Time" name="expire_time" reporter:datatype="timestamp"/>
6576 <field reporter:label="Fulfilling Library" name="fulfillment_lib" reporter:datatype="org_unit"/>
6577 <field reporter:label="Fulfilling Staff" name="fulfillment_staff" />
6578 <field reporter:label="Fulfillment Date/Time" name="fulfillment_time" reporter:datatype="timestamp"/>
6579 <field reporter:label="Hold Type" name="hold_type" reporter:datatype="text"/>
6580 <field reporter:label="Holdable Formats (for M-type hold)" name="holdable_formats" reporter:datatype="text"/>
6581 <field reporter:label="Hold ID" name="id" reporter:datatype="id" />
6582 <field reporter:label="Notify by Phone?" name="phone_notify" reporter:datatype="bool"/>
6583 <field reporter:label="Notify by SMS?" name="sms_notify" reporter:datatype="bool"/>
6584 <field reporter:label="Pickup Library" name="pickup_lib" reporter:datatype="org_unit"/>
6585 <field reporter:label="Last Targeting Date/Time" name="prev_check_time" reporter:datatype="timestamp"/>
6586 <field reporter:label="Requesting Library" name="request_lib" reporter:datatype="org_unit"/>
6587 <field reporter:label="Request Date/Time" name="request_time" reporter:datatype="timestamp"/>
6588 <field reporter:label="Patron ZIP" name="usr_post_code" reporter:datatype="text"/>
6589 <field reporter:label="Patron Home Library" name="usr_home_ou" reporter:datatype="link"/>
6590 <field reporter:label="Patron Profile Group" name="usr_profile" reporter:datatype="link"/>
6591 <field reporter:label="Patron Birth Year" name="usr_birth_year" reporter:datatype="int"/>
6592 <field reporter:label="Staff Placed?" name="staff_placed" reporter:datatype="bool"/>
6593 <field reporter:label="Item Selection Depth" name="selection_depth" />
6594 <field reporter:label="Selection Locus" name="selection_ou" reporter:datatype="org_unit"/>
6595 <field reporter:label="Target Object ID" name="target" reporter:datatype="link"/>
6596 <field reporter:label="Hold Cancel Date/Time" name="cancel_time" reporter:datatype="timestamp"/>
6597 <field reporter:label="Bib Record link" name="bib_rec" oils_persist:virtual="true" reporter:datatype="link"/>
6598 <field reporter:label="Currently Frozen" name="frozen" reporter:datatype="bool"/>
6599 <field reporter:label="Activation Date" name="thaw_date" reporter:datatype="timestamp"/>
6600 <field reporter:label="Shelf Time" name="shelf_time" reporter:datatype="timestamp"/>
6601 <field reporter:label="Cancelation cause" name="cancel_cause" reporter:datatype="link" />
6602 <field reporter:label="Cancelation note" name="cancel_note" reporter:datatype="text" />
6603 <field reporter:label="Top of Queue" name="cut_in_line" reporter:datatype="bool" />
6604 <field reporter:label="Is Mint Condition" name="mint_condition" reporter:datatype="bool" />
6605 <field reporter:label="Shelf Expire Time" name="shelf_expire_time" reporter:datatype="timestamp"/>
6606 <field reporter:label="Current Shelf Lib" name="current_shelf_lib" reporter:datatype="org_unit"/>
6607 <field reporter:label="Behind Desk" name="behind_desk" reporter:datatype="bool"/>
6610 <link field="fulfillment_lib" reltype="has_a" key="id" map="" class="aou"/>
6611 <link field="fulfillment_staff" reltype="has_a" key="id" map="" class="au"/>
6612 <link field="pickup_lib" reltype="has_a" key="id" map="" class="aou"/>
6613 <link field="selection_ou" reltype="has_a" key="id" map="" class="aou"/>
6614 <link field="current_copy" reltype="has_a" key="id" map="" class="acp"/>
6615 <link field="request_lib" reltype="has_a" key="id" map="" class="aou"/>
6616 <link field="usr_home_ou" reltype="has_a" key="id" map="" class="aou"/>
6617 <link field="bib_rec" reltype="might_have" key="id" map="" class="rhrr"/>
6618 <link field="cancel_cause" reltype="might_have" key="id" map="" class="ahrcc"/>
6619 <link field="current_shelf_lib" reltype="has_a" key="id" map="" class="aou"/>
6620 <link field="usr_profile" reltype="has_a" key="id" map="" class="pgt"/>
6622 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
6624 <retrieve permission="VIEW_HOLD" context_field="pickup_lib" />
6628 <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">
6629 <fields oils_persist:primary="id" oils_persist:sequence="action.hold_request_id_seq">
6630 <field reporter:label="Status" name="status" oils_persist:virtual="true" />
6631 <field reporter:label="Capture Date/Time" name="capture_time" reporter:datatype="timestamp"/>
6632 <field reporter:label="Currently Targeted Copy" name="current_copy" reporter:datatype="link"/>
6633 <field reporter:label="Notify by Email?" name="email_notify" reporter:datatype="bool"/>
6634 <field reporter:label="Hold Expire Date/Time" name="expire_time" reporter:datatype="timestamp"/>
6635 <field reporter:label="Fulfilling Library" name="fulfillment_lib" reporter:datatype="org_unit"/>
6636 <field reporter:label="Fulfilling Staff" name="fulfillment_staff" />
6637 <field reporter:label="Fulfillment Date/Time" name="fulfillment_time" reporter:datatype="timestamp"/>
6638 <field reporter:label="Hold Type" name="hold_type" reporter:datatype="text"/>
6639 <field reporter:label="Holdable Formats (for M-type hold)" name="holdable_formats" reporter:datatype="text"/>
6640 <field reporter:label="Hold ID" name="id" reporter:datatype="id" />
6641 <field reporter:label="Notify by Phone?" name="phone_notify" reporter:datatype="bool"/>
6642 <field reporter:label="Notify by SMS?" name="sms_notify" reporter:datatype="bool"/>
6643 <field reporter:label="Pickup Library" name="pickup_lib" reporter:datatype="org_unit"/>
6644 <field reporter:label="Last Targeting Date/Time" name="prev_check_time" reporter:datatype="timestamp"/>
6645 <field reporter:label="Requesting Library" name="request_lib" reporter:datatype="org_unit"/>
6646 <field reporter:label="Request Date/Time" name="request_time" reporter:datatype="timestamp"/>
6647 <field reporter:label="Patron ZIP" name="usr_post_code" reporter:datatype="text"/>
6648 <field reporter:label="Patron Home Library" name="usr_home_ou" reporter:datatype="link"/>
6649 <field reporter:label="Patron Profile Group" name="usr_profile" reporter:datatype="link"/>
6650 <field reporter:label="Patron Birth Year" name="usr_birth_year" reporter:datatype="int"/>
6651 <field reporter:label="Staff Placed?" name="staff_placed" reporter:datatype="bool"/>
6652 <field reporter:label="Item Selection Depth" name="selection_depth" />
6653 <field reporter:label="Selection Locus" name="selection_ou" reporter:datatype="org_unit"/>
6654 <field reporter:label="Target Object ID" name="target" reporter:datatype="link"/>
6655 <field reporter:label="Hold Cancel Date/Time" name="cancel_time" reporter:datatype="timestamp"/>
6656 <field reporter:label="Bib Record link" name="bib_rec" oils_persist:virtual="true" reporter:datatype="link"/>
6657 <field reporter:label="Currently Frozen" name="frozen" reporter:datatype="bool"/>
6658 <field reporter:label="Activation Date" name="thaw_date" reporter:datatype="timestamp"/>
6659 <field reporter:label="Shelf Time" name="shelf_time" reporter:datatype="timestamp"/>
6660 <field reporter:label="Cancelation cause" name="cancel_cause" reporter:datatype="link" />
6661 <field reporter:label="Cancelation note" name="cancel_note" reporter:datatype="text" />
6662 <field reporter:label="Top of Queue" name="cut_in_line" reporter:datatype="bool" />
6663 <field reporter:label="Is Mint Condition" name="mint_condition" reporter:datatype="bool" />
6664 <field reporter:label="Shelf Expire Time" name="shelf_expire_time" reporter:datatype="timestamp"/>
6665 <field reporter:label="Current Shelf Lib" name="current_shelf_lib" reporter:datatype="org_unit"/>
6668 <link field="fulfillment_lib" reltype="has_a" key="id" map="" class="aou"/>
6669 <link field="fulfillment_staff" reltype="has_a" key="id" map="" class="au"/>
6670 <link field="pickup_lib" reltype="has_a" key="id" map="" class="aou"/>
6671 <link field="selection_ou" reltype="has_a" key="id" map="" class="aou"/>
6672 <link field="current_copy" reltype="has_a" key="id" map="" class="acp"/>
6673 <link field="request_lib" reltype="has_a" key="id" map="" class="aou"/>
6674 <link field="usr_home_ou" reltype="has_a" key="id" map="" class="aou"/>
6675 <link field="bib_rec" reltype="might_have" key="id" map="" class="rhrr"/>
6676 <link field="cancel_cause" reltype="might_have" key="id" map="" class="ahrcc"/>
6677 <link field="current_shelf_lib" reltype="has_a" key="id" map="" class="aou"/>
6678 <link field="usr_profile" reltype="has_a" key="id" map="" class="pgt"/>
6680 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
6682 <retrieve permission="VIEW_HOLD" context_field="pickup_lib" />
6687 <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">
6688 <fields oils_persist:primary="id" oils_persist:sequence="actor.org_unit_id_seq">
6689 <field reporter:label="Subordinate Organizational Units" name="children" oils_persist:virtual="true" reporter:datatype="org_unit"/>
6690 <field reporter:label="Billing Address" name="billing_address" reporter:datatype="link"/>
6691 <field reporter:label="Holds Receiving Address" name="holds_address" reporter:datatype="link"/>
6692 <field reporter:label="Organizational Unit ID" name="id" reporter:datatype="org_unit" reporter:selector="shortname"/>
6693 <field reporter:label="ILL Receiving Address" name="ill_address" reporter:datatype="link"/>
6694 <field reporter:label="Mailing Address" name="mailing_address" reporter:datatype="link"/>
6695 <field reporter:label="Name" name="name" reporter:datatype="text" oils_persist:i18n="true"/>
6696 <field reporter:label="Organizational Unit Type" name="ou_type" reporter:datatype="link"/>
6697 <field reporter:label="Parent Organizational Unit" name="parent_ou" reporter:datatype="link"/>
6698 <field reporter:label="Short (Policy) Name" name="shortname" reporter:datatype="text" oils_obj:required="true" oils_obj:validate="^.+$"/>
6699 <field reporter:label="Email Address" name="email" reporter:datatype="text"/>
6700 <field reporter:label="Phone Number" name="phone" reporter:datatype="text"/>
6701 <field reporter:label="OPAC Visible" name="opac_visible" reporter:datatype="bool"/>
6702 <field reporter:label="Fiscal Calendar" name="fiscal_calendar" reporter:datatype="link"/>
6703 <field reporter:label="Users" name="users" oils_persist:virtual="true" reporter:datatype="link"/>
6704 <field reporter:label="Closed Dates" name="closed_dates" oils_persist:virtual="true" reporter:datatype="link"/>
6705 <field reporter:label="Circulations" name="circulations" oils_persist:virtual="true" reporter:datatype="link"/>
6706 <field reporter:label="Settings" name="settings" oils_persist:virtual="true" reporter:datatype="link"/>
6707 <field reporter:label="Addresses" name="addresses" oils_persist:virtual="true" reporter:datatype="link"/>
6708 <field reporter:label="Checkins" name="checkins" oils_persist:virtual="true" reporter:datatype="link"/>
6709 <field reporter:label="Workstations" name="workstations" oils_persist:virtual="true" reporter:datatype="link"/>
6710 <field reporter:label="Fund Allocation Percentages" name="fund_alloc_pcts" oils_persist:virtual="true" reporter:datatype="link"/>
6711 <field reporter:label="Copy Location Orders" name="copy_location_orders" oils_persist:virtual="true" reporter:datatype="link"/>
6712 <field reporter:label="Transit Copy Prev Destinations" name="atc_prev_dests" oils_persist:virtual="true" reporter:datatype="link"/>
6713 <field reporter:label="Reservation Requests" name="resv_requests" oils_persist:virtual="true" reporter:datatype="link"/>
6714 <field reporter:label="Reservation Pickups" name="resv_pickups" oils_persist:virtual="true" reporter:datatype="link"/>
6715 <field reporter:label="Resource Types" name="rsrc_types" oils_persist:virtual="true" reporter:datatype="link"/>
6716 <field reporter:label="Resources" name="resources" oils_persist:virtual="true" reporter:datatype="link"/>
6717 <field reporter:label="Resource Attributes" name="rsrc_attrs" oils_persist:virtual="true" reporter:datatype="link"/>
6718 <field reporter:label="Attribute Values" name="attr_vals" oils_persist:virtual="true" reporter:datatype="link"/>
6719 <field reporter:label="Hours of Operation" name="hours_of_operation" oils_persist:virtual="true" reporter:datatype="link"/>
6722 <link field="billing_address" reltype="has_a" key="id" map="" class="aoa"/>
6723 <link field="holds_address" reltype="has_a" key="id" map="" class="aoa"/>
6724 <link field="ou_type" reltype="has_a" key="id" map="" class="aout"/>
6725 <link field="mailing_address" reltype="has_a" key="id" map="" class="aoa"/>
6726 <link field="parent_ou" reltype="has_a" key="id" map="" class="aou"/>
6727 <link field="ill_address" reltype="has_a" key="id" map="" class="aoa"/>
6728 <link field="fiscal_calendar" reltype="has_a" key="id" map="" class="acqfc"/>
6729 <link field="users" reltype="has_many" key="home_ou" map="" class="au"/>
6730 <link field="closed_dates" reltype="has_many" key="org_unit" map="" class="aoucd"/>
6731 <link field="children" reltype="has_many" key="parent_ou" map="" class="aou"/>
6732 <link field="circulations" reltype="has_many" key="circ_lib" map="" class="circ"/>
6733 <link field="settings" reltype="has_many" key="org_unit" map="" class="aous"/>
6734 <link field="addresses" reltype="has_many" key="org_unit" map="" class="aoa"/>
6735 <link field="checkins" reltype="has_many" key="checkin_lib" map="" class="circ"/>
6736 <link field="workstations" reltype="has_many" key="owning_lib" map="" class="aws"/>
6737 <link field="fund_alloc_pcts" reltype="has_many" key="org" map="" class="acqfap"/>
6738 <link field="copy_location_orders" reltype="has_many" key="org" map="" class="acplo"/>
6739 <link field="atc_prev_dests" reltype="has_many" key="prev_dest" map="" class="atc"/>
6740 <link field="resv_requests" reltype="has_many" key="request_lib" map="" class="bresv"/>
6741 <link field="resv_pickups" reltype="has_many" key="pickup_lib" map="" class="bresv"/>
6742 <link field="rsrc_types" reltype="has_many" key="owner" map="" class="brt"/>
6743 <link field="resources" reltype="has_many" key="owner" map="" class="brsrc"/>
6744 <link field="rsrc_attrs" reltype="has_many" key="owner" map="" class="bra"/>
6745 <link field="attr_vals" reltype="has_many" key="owner" map="" class="brav"/>
6746 <link field="hours_of_operation" reltype="might_have" key="id" map="" class="aouhoo"/>
6748 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
6750 <create permission="CREATE_ORG_UNIT" context_field="parent_ou"/>
6752 <update permission="UPDATE_ORG_UNIT" context_field="id"/>
6753 <delete permission="DELETE_ORG_UNIT" context_field="parent_ou"/>
6757 <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">
6758 <fields oils_persist:primary="id" oils_persist:sequence="actor.org_unit_custom_tree_id_seq">
6759 <field reporter:label="ID" name="id" reporter:datatype="id"/>
6760 <field reporter:label="Active" name="active" reporter:datatype="bool"/>
6761 <field reporter:label="Purpose" name="purpose" reporter:datatype="text"/>
6763 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
6765 <create permission="ADMIN_ORG_UNIT_CUSTOM_TREE" global_required="true" />
6767 <update permission="ADMIN_ORG_UNIT_CUSTOM_TREE" global_required="true" />
6768 <delete permission="ADMIN_ORG_UNIT_CUSTOM_TREE" global_required="true" />
6772 <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">
6773 <fields oils_persist:primary="id" oils_persist:sequence="actor.org_unit_custom_tree_node_id_seq">
6774 <field reporter:label="ID" name="id" reporter:datatype="id"/>
6775 <field reporter:label="Tree" name="tree" reporter:datatype="link"/>
6776 <field reporter:label="Org Unit" name="org_unit" reporter:datatype="link"/>
6777 <field reporter:label="Parent" name="parent_node" reporter:datatype="link"/>
6778 <field reporter:label="Sibling Sort Order" name="sibling_order" reporter:datatype="int"/>
6779 <field reporter:label="Children" name="children" reporter:datatype="link" oils_persist:virtual="true" />
6782 <link field="tree" reltype="has_a" key="id" map="" class="aouct"/>
6783 <link field="org_unit" reltype="has_a" key="id" map="" class="aou"/>
6784 <link field="parent_node" reltype="has_a" key="id" map="" class="aouctn"/>
6785 <link field="children" reltype="has_many" key="parent_node" map="" class="aouctn"/>
6787 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
6789 <create permission="ADMIN_ORG_UNIT_CUSTOM_TREE" global_required="true" />
6791 <update permission="ADMIN_ORG_UNIT_CUSTOM_TREE" global_required="true" />
6792 <delete permission="ADMIN_ORG_UNIT_CUSTOM_TREE" global_required="true" />
6796 <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">
6797 <fields oils_persist:primary="id" oils_persist:sequence="container.call_number_bucket_id_seq">
6798 <field name="items" oils_persist:virtual="true" reporter:datatype="link"/>
6799 <field name="btype" reporter:datatype="text"/>
6800 <field name="id" reporter:datatype="id" />
6801 <field name="name" reporter:datatype="text"/>
6802 <field name="description" reporter:datatype="text"/>
6803 <field name="owner" reporter:datatype="link"/>
6804 <field name="pub" reporter:datatype="bool"/>
6805 <field name="create_time" reporter:datatype="timestamp" />
6806 <field name="owning_lib" reporter:datatype="org_unit" />
6809 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
6810 <link field="owner" reltype="has_a" key="id" map="" class="au"/>
6811 <link field="items" reltype="has_many" key="bucket" map="" class="ccnbi"/>
6813 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
6815 <create permission="CREATE_CALLNUMBER_BUCKET ADMIN_CALLNUMBER_BUCKET" context="owning_lib" owning_user="owner"/>
6816 <retrieve permission="CREATE_CALLNUMBER_BUCKET ADMIN_CALLNUMBER_BUCKET" context="owning_lib" owning_user="owner"/>
6817 <update permission="CREATE_CALLNUMBER_BUCKET ADMIN_CALLNUMBER_BUCKET" context="owning_lib" owning_user="owner"/>
6818 <delete permission="CREATE_CALLNUMBER_BUCKET ADMIN_CALLNUMBER_BUCKET" context="owning_lib" owning_user="owner"/>
6822 <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">
6823 <fields oils_persist:primary="id" oils_persist:sequence="container.call_number_bucket_note_id_seq">
6824 <field name="id" reporter:datatype="id" />
6825 <field name="bucket" reporter:datatype="link"/>
6826 <field name="note" reporter:datatype="text" />
6829 <link field="bucket" reltype="has_a" key="id" map="" class="ccnb"/>
6832 <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">
6833 <fields oils_persist:primary="id" oils_persist:sequence="asset.stat_cat_id_seq">
6834 <field reporter:label="Entries" name="entries" oils_persist:virtual="true" reporter:datatype="link"/>
6835 <field reporter:label="Stat Cat ID" name="id" reporter:datatype="id" reporter:selector="name"/>
6836 <field reporter:label="Name" name="name" reporter:datatype="text" oils_persist:i18n="true"/>
6837 <field reporter:label="OPAC Visible" name="opac_visible" reporter:datatype="bool"/>
6838 <field reporter:label="Owning Library" name="owner" reporter:datatype="org_unit"/>
6839 <field reporter:label="SIP Field" name="sip_field" reporter:datatype="link"/>
6840 <field reporter:label="SIP Format" name="sip_format" reporter:datatype="text"/>
6841 <field reporter:label="Required" name="required" reporter:datatype="bool"/>
6842 <field reporter:label="Checkout Archive" name="checkout_archive" reporter:datatype="bool"/>
6845 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
6846 <link field="sip_field" reltype="has_a" key="field" map="" class="ascsf"/>
6847 <link field="entries" reltype="has_many" key="stat_cat" map="" class="asce"/>
6849 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
6851 <retrieve permission="STAFF_LOGIN" global_required="true"/>
6855 <class id="ac" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="actor::card" oils_persist:tablename="actor.card" reporter:label="Library Card">
6856 <fields oils_persist:primary="id" oils_persist:sequence="actor.card_id_seq">
6857 <field reporter:label="IsActive?" name="active" reporter:datatype="bool"/>
6858 <field reporter:label="Barcode" name="barcode" reporter:datatype="text"/>
6859 <field reporter:label="Card ID" name="id" reporter:datatype="id" />
6860 <field reporter:label="User" name="usr" reporter:datatype="link"/>
6863 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
6865 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
6867 <retrieve permission="VIEW_USER user_request.view">
6868 <context link="usr" field="home_ou" />
6873 <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">
6874 <fields oils_persist:primary="field">
6875 <field reporter:label="Field Identifier" name="field" reporter:datatype="text" reporter:selector="name"/>
6876 <field reporter:label="Field Name" name="name" reporter:datatype="text"/>
6877 <field reporter:label="Exclusive?" name="one_only" reporter:datatype="bool"/>
6880 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
6882 <create permission="CREATE_PATRON_STAT_CAT" global_required="true"/>
6884 <update permission="UPDATE_PATRON_STAT_CAT" global_required="true"/>
6885 <delete permission="DELETE_PATRON_STAT_CAT" global_required="true"/>
6889 <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">
6890 <fields oils_persist:primary="id" oils_persist:sequence="actor.stat_cat_id_seq">
6891 <field reporter:label="Entries" name="entries" oils_persist:virtual="true" reporter:datatype="link"/>
6892 <field reporter:label="Default Entries" name="default_entries" oils_persist:virtual="true" reporter:datatype="link"/>
6893 <field reporter:label="Stat Cat ID" name="id" reporter:datatype="id" reporter:selector="name"/>
6894 <field reporter:label="Name" name="name" reporter:datatype="text" oils_persist:i18n="true"/>
6895 <field reporter:label="OPAC Visible" name="opac_visible" reporter:datatype="bool"/>
6896 <field reporter:label="Owning Library" name="owner" reporter:datatype="org_unit"/>
6897 <field reporter:label="User Summary" name="usr_summary" reporter:datatype="bool"/>
6898 <field reporter:label="SIP Field" name="sip_field" reporter:datatype="link"/>
6899 <field reporter:label="SIP Format" name="sip_format" reporter:datatype="text"/>
6900 <field reporter:label="Checkout Archive" name="checkout_archive" reporter:datatype="bool"/>
6901 <field reporter:label="Required" name="required" reporter:datatype="bool"/>
6902 <field reporter:label="Free Text" name="allow_freetext" reporter:datatype="bool"/>
6905 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
6906 <link field="sip_field" reltype="has_a" key="field" map="" class="actscsf"/>
6907 <link field="entries" reltype="has_many" key="stat_cat" map="" class="actsce"/>
6908 <link field="default_entries" reltype="has_many" key="stat_cat" map="" class="actsced"/>
6910 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
6912 <create permission="CREATE_PATRON_STAT_CAT" context_field="owner"/>
6914 <update permission="UPDATE_PATRON_STAT_CAT" context_field="owner"/>
6915 <delete permission="DELETE_PATRON_STAT_CAT" context_field="owner"/>
6919 <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">
6920 <fields oils_persist:primary="id" oils_persist:sequence="metabib.series_field_entry_id_seq">
6921 <field name="field" reporter:datatype="link"/>
6922 <field name="id" reporter:datatype="id" />
6923 <field name="source" reporter:datatype="link"/>
6924 <field name="value" reporter:datatype="text"/>
6927 <link field="source" reltype="has_a" key="id" map="" class="bre"/>
6928 <link field="field" reltype="has_a" key="id" map="" class="cmf"/>
6931 <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">
6932 <fields oils_persist:primary="id" oils_persist:sequence="container.user_bucket_id_seq">
6933 <field name="items" oils_persist:virtual="true" reporter:datatype="link"/>
6934 <field name="btype" reporter:datatype="text"/>
6935 <field name="id" reporter:datatype="id" />
6936 <field name="name" reporter:datatype="text"/>
6937 <field name="description" reporter:datatype="text"/>
6938 <field name="owner" reporter:datatype="link"/>
6939 <field name="pub" reporter:datatype="bool"/>
6940 <field name="create_time" reporter:datatype="timestamp" />
6941 <field name="owning_lib" reporter:datatype="org_unit" />
6944 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
6945 <link field="owner" reltype="has_a" key="id" map="" class="au"/>
6946 <link field="items" reltype="has_many" key="bucket" map="" class="cubi"/>
6948 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
6950 <create permission="CREATE_USER_BUCKET ADMIN_USER_BUCKET" context="owning_lib" owning_user="owner"/>
6951 <retrieve permission="CREATE_USER_BUCKET ADMIN_USER_BUCKET" context="owning_lib" owning_user="owner"/>
6952 <update permission="CREATE_USER_BUCKET ADMIN_USER_BUCKET" context="owning_lib" owning_user="owner"/>
6953 <delete permission="CREATE_USER_BUCKET ADMIN_USER_BUCKET" context="owning_lib" owning_user="owner"/>
6957 <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">
6958 <fields oils_persist:primary="id" oils_persist:sequence="container.user_bucket_note_id_seq">
6959 <field name="id" reporter:datatype="id" />
6960 <field name="bucket" reporter:datatype="link"/>
6961 <field name="note" reporter:datatype="text" />
6964 <link field="bucket" reltype="has_a" key="id" map="" class="cub"/>
6967 <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">
6968 <fields oils_persist:primary="id" oils_persist:sequence="money.payment_id_seq">
6969 <field reporter:label="Accepting Staff Member" name="accepting_usr" reporter:datatype="link"/>
6970 <field reporter:label="Amount" name="amount" reporter:datatype="money" />
6971 <field reporter:label="Amount Collected" name="amount_collected" reporter:datatype="money" />
6972 <field reporter:label="Pyament ID" name="id" reporter:datatype="id" />
6973 <field reporter:label="Payment Note" name="note" reporter:datatype="text"/>
6974 <field reporter:label="Payment Timestamp" name="payment_ts" reporter:datatype="timestamp"/>
6975 <field reporter:label="Transaction" name="xact" reporter:datatype="link"/>
6976 <field reporter:label="Payment Type" name="payment_type" oils_persist:virtual="true" reporter:datatype="text"/>
6977 <field reporter:label="Payment link" name="payment" oils_persist:virtual="true" reporter:datatype="link"/>
6980 <link field="payment" reltype="might_have" key="id" map="" class="mp"/>
6981 <link field="accepting_usr" reltype="has_a" key="id" map="" class="au"/>
6982 <link field="xact" reltype="has_a" key="id" map="" class="mbt"/>
6984 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
6986 <retrieve permission="VIEW_USER_TRANSACTIONS">
6987 <context link="xact" jump="usr" field="home_ou"/>
6992 <class id="afr" controller="open-ils.cstore" oils_obj:fieldmapper="authority::full_rec" oils_persist:tablename="authority.full_rec" reporter:label="Full Authority Record">
6993 <fields oils_persist:primary="id" oils_persist:sequence="authority.full_rec_id_seq">
6994 <field name="id" reporter:datatype="id" />
6995 <field name="ind1" />
6996 <field name="ind2" />
6997 <field name="record" />
6998 <field name="subfield" />
6999 <field name="tag" />
7000 <field name="value" />
7003 <link field="record" reltype="has_a" key="id" map="" class="are"/>
7006 <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">
7007 <fields oils_persist:primary="id" oils_persist:sequence="authority.authority_linking_id_seq">
7008 <field name="id" reporter:label="ID" reporter:datatype="id" />
7009 <field name="source" reporter:label="Source Record" reporter:datatype="link" />
7010 <field name="target" reporter:label="Target Record" reporter:datatype="link" />
7011 <field name="field" reporter:label="Authority Field" reporter:datatype="link" />
7014 <link field="source" reltype="has_a" key="id" map="" class="are"/>
7015 <link field="target" reltype="has_a" key="id" map="" class="are"/>
7016 <link field="field" reltype="has_a" key="id" map="" class="acsaf"/>
7019 <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">
7020 <fields oils_persist:primary="id" oils_persist:sequence="config.non_cataloged_type_id_seq">
7021 <field reporter:label="Circulation Duration" name="circ_duration" reporter:datatype="interval"/>
7022 <field reporter:label="Non-cat Type ID" name="id" reporter:selector="name" reporter:datatype="id"/>
7023 <field reporter:label="In House?" name="in_house" reporter:datatype="bool"/>
7024 <field reporter:label="Name" name="name" reporter:datatype="text" oils_persist:i18n="true"/>
7025 <field reporter:label="Owning Library" name="owning_lib" reporter:datatype="org_unit"/>
7028 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
7030 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
7032 <create permission="CREATE_NON_CAT_TYPE" context_field="owning_lib"/>
7034 <update permission="CREATE_NON_CAT_TYPE" context_field="owning_lib"/>
7035 <delete permission="CREATE_NON_CAT_TYPE" context_field="owning_lib"/>
7040 <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">
7041 <fields oils_persist:primary="id" oils_persist:sequence="actor.org_unit_type_id_seq">
7042 <field reporter:label="Subordinate Types" name="children" oils_persist:virtual="true" reporter:datatype="link"/>
7043 <field reporter:label="Can Have Users?" name="can_have_users" reporter:datatype="bool"/>
7044 <field reporter:label="Can Have Volumes?" name="can_have_vols" reporter:datatype="bool"/>
7045 <field reporter:label="Type Depth" name="depth" reporter:datatype="int" />
7046 <field reporter:label="Type ID" name="id" reporter:selector="name" reporter:datatype="id"/>
7047 <field reporter:label="Type Name" name="name" reporter:datatype="text" oils_persist:i18n="true"/>
7048 <field reporter:label="OPAC Label" name="opac_label" reporter:datatype="text" oils_persist:i18n="true"/>
7049 <field reporter:label="Parent Type" name="parent" reporter:datatype="link"/>
7050 <field reporter:label="Org Units" name="org_units" oils_persist:virtual="true" reporter:datatype="org_unit"/>
7053 <link field="parent" reltype="has_a" key="id" map="" class="aout"/>
7054 <link field="children" reltype="has_many" key="parent" map="" class="aout"/>
7055 <link field="org_units" reltype="has_many" key="ou_type" map="" class="aou"/>
7057 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
7059 <create permission="CREATE_ORG_TYPE" global_required="true"/>
7061 <update permission="UPDATE_ORG_TYPE" global_required="true"/>
7062 <delete permission="DELETE_ORG_TYPE" global_required="true"/>
7066 <class id="bren" controller="open-ils.cstore" oils_obj:fieldmapper="biblio::record_note" oils_persist:tablename="biblio.record_note" reporter:label="Bib Record Note">
7067 <fields oils_persist:primary="id" oils_persist:sequence="biblio.record_note_id_seq">
7068 <field name="create_date" reporter:datatype="timestamp"/>
7069 <field name="creator" reporter:datatype="link"/>
7070 <field name="edit_date" reporter:datatype="timestamp"/>
7071 <field name="editor" reporter:datatype="link"/>
7072 <field name="id" reporter:datatype="id" />
7073 <field name="pub" reporter:datatype="bool"/>
7074 <field name="record" reporter:datatype="link"/>
7075 <field name="value" reporter:datatype="text"/>
7078 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
7079 <link field="editor" reltype="has_a" key="id" map="" class="au"/>
7080 <link field="record" reltype="has_a" key="id" map="" class="bre"/>
7083 <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">
7084 <fields oils_persist:primary="usr" oils_persist:sequence="">
7085 <field name="balance_owed" reporter:datatype="money" />
7086 <field name="total_owed" reporter:datatype="money" />
7087 <field name="total_paid" reporter:datatype="money" />
7088 <field name="usr" reporter:datatype="link"/>
7091 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
7094 <class id="mg" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="money::grocery" oils_persist:tablename="money.grocery" reporter:label="Grocery Transaction">
7095 <fields oils_persist:primary="id" oils_persist:sequence="money.billable_xact_id_seq">
7096 <field reporter:label="Billing Location" name="billing_location" reporter:datatype="link"/>
7097 <field reporter:label="Transaction ID" name="id" reporter:datatype="id" />
7098 <field reporter:label="Note" name="note" reporter:datatype="text"/>
7099 <field reporter:label="User" name="usr" reporter:datatype="link"/>
7100 <field reporter:label="Transaction Finish Timestamp" name="xact_finish" reporter:datatype="timestamp" />
7101 <field reporter:label="Transaction Start Timestamp" name="xact_start" reporter:datatype="timestamp" />
7102 <field reporter:label="Billings" name="billings" oils_persist:virtual="true" reporter:datatype="link"/>
7103 <field reporter:label="Payments" name="payments" oils_persist:virtual="true" reporter:datatype="link"/>
7104 <field reporter:label="Billable Transaction link" name="billable_transaction" oils_persist:virtual="true" reporter:datatype="link"/>
7105 <field reporter:label="Billing Totals" name="billing_total" oils_persist:virtual="true" reporter:datatype="money"/>
7106 <field reporter:label="Payment Totals" name="payment_total" oils_persist:virtual="true" reporter:datatype="money"/>
7109 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
7110 <link field="billable_transaction" reltype="might_have" key="id" map="" class="mbt"/>
7111 <link field="payments" reltype="has_many" key="xact" map="" class="mp"/>
7112 <link field="billings" reltype="has_many" key="xact" map="" class="mb"/>
7113 <link field="billing_location" reltype="has_a" key="id" map="" class="aou"/>
7114 <link field="billing_total" reltype="might_have" key="xact" map="" class="rxbt"/>
7115 <link field="payment_total" reltype="might_have" key="xact" map="" class="rxpt"/>
7117 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
7119 <retrieve permission="VIEW_USER_TRANSACTIONS" context_field="billing_location"/>
7123 <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">
7124 <fields oils_persist:primary="id" oils_persist:sequence="config.bib_source_id_seq">
7125 <field name="id" reporter:selector="source" reporter:datatype="id"/>
7126 <field name="quality" reporter:datatype="int" />
7127 <field name="source" reporter:datatype="text"/>
7128 <field name="transcendant" reporter:datatype="bool"/>
7129 <field name="can_have_copies" reporter:datatype="bool"/>
7132 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
7134 <create permission="CREATE_BIB_SOURCE" global_required="true"/>
7136 <update permission="UPDATE_BIB_SOURCE" global_required="true"/>
7137 <delete permission="DELETE_BIB_SOURCE" global_required="true"/>
7141 <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">
7142 <fields oils_persist:primary="id" oils_persist:sequence="money.billable_xact_id_seq">
7143 <field reporter:label="Transaction ID" name="id" reporter:datatype="id" />
7144 <field reporter:label="User" name="usr" reporter:datatype="link"/>
7145 <field reporter:label="Transaction Finish Date/Time" name="xact_finish" reporter:datatype="timestamp"/>
7146 <field reporter:label="Transaction Start Date/Time" name="xact_start" reporter:datatype="timestamp"/>
7147 <field reporter:label="Unrecovered Debt" name="unrecovered" reporter:datatype="bool"/>
7148 <field reporter:label="Grocery Billing link" name="grocery" oils_persist:virtual="true" reporter:datatype="link"/>
7149 <field reporter:label="Circulation Billing link" name="circulation" oils_persist:virtual="true" reporter:datatype="link"/>
7150 <field reporter:label="Billing Line Items" name="billings" oils_persist:virtual="true" reporter:datatype="link"/>
7151 <field reporter:label="Payment Line Items" name="payments" oils_persist:virtual="true" reporter:datatype="link"/>
7152 <field reporter:label="Billing Totals" name="billing_total" oils_persist:virtual="true" reporter:datatype="money"/>
7153 <field reporter:label="Payment Totals" name="payment_total" oils_persist:virtual="true" reporter:datatype="money"/>
7154 <field reporter:label="Payment Summary" name="summary" oils_persist:virtual="true" reporter:datatype="link"/>
7157 <link field="grocery" reltype="might_have" key="id" map="" class="mg"/>
7158 <link field="circulation" reltype="might_have" key="id" map="" class="circ"/>
7159 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
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_total" reltype="might_have" key="xact" map="" class="rxbt"/>
7163 <link field="payment_total" reltype="might_have" key="xact" map="" class="rxpt"/>
7164 <link field="summary" reltype="might_have" key="id" map="" class="mbts"/>
7166 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
7168 <retrieve permission="VIEW_USER_TRANSACTIONS">
7169 <context link="usr" field="home_ou" />
7174 <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">
7175 <fields oils_persist:primary="id" oils_persist:sequence="actor.stat_cat_entry_id_seq">
7176 <field reporter:label="Entry ID" name="id" reporter:datatype="id" />
7177 <field reporter:label="Entry Owner" name="owner" reporter:datatype="link"/>
7178 <field reporter:label="Stat Cat" name="stat_cat" reporter:datatype="link"/>
7179 <field reporter:label="Entry Value" name="value" reporter:datatype="text"/>
7180 <field reporter:label="Default Entries" name="default_entries" oils_persist:virtual="true" reporter:datatype="link"/>
7183 <link field="stat_cat" reltype="has_a" key="id" map="" class="actsc"/>
7184 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
7185 <link field="default_entries" reltype="has_many" key="stat_cat_entry" map="" class="actsced"/>
7188 <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">
7189 <fields oils_persist:primary="id" oils_persist:sequence="actor.stat_cat_entry_default_id_seq">
7190 <field reporter:label="Default Entry ID" name="id" reporter:datatype="id" />
7191 <field reporter:label="Default Entry Value" name="stat_cat_entry" reporter:datatype="link"/>
7192 <field reporter:label="Stat Cat" name="stat_cat" reporter:datatype="link"/>
7193 <field reporter:label="Default for Owner" name="owner" reporter:datatype="link"/>
7196 <link field="stat_cat" reltype="has_a" key="id" map="" class="actsc"/>
7197 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
7198 <link field="stat_cat_entry" reltype="has_a" key="id" map="" class="actsce"/>
7201 <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">
7202 <fields oils_persist:primary="id" oils_persist:sequence="container.user_bucket_item_id_seq">
7203 <field name="bucket" reporter:datatype="link"/>
7204 <field name="id" reporter:datatype="id" />
7205 <field name="target_user" reporter:datatype="link"/>
7206 <field name="create_time" reporter:datatype="timestamp" />
7207 <field name="pos" reporter:datatype="int" />
7208 <field name="notes" oils_persist:virtual="true" reporter:datatype="link" />
7211 <link field="target_user" reltype="has_a" key="id" map="" class="au"/>
7212 <link field="bucket" reltype="has_a" key="id" map="" class="cub"/>
7213 <link field="notes" reltype="has_many" map="" key="item" class="cubin"/>
7215 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
7217 <retrieve permission="ADMIN_USER_BUCKET">
7218 <context link="bucket" owning_lib="owning_lib"/>
7223 <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">
7224 <fields oils_persist:primary="id" oils_persist:sequence="container.user_bucket_item_note_id_seq">
7225 <field name="id" reporter:datatype="id" />
7226 <field name="item" reporter:datatype="link"/>
7227 <field name="note" reporter:datatype="text" />
7230 <link field="item" reltype="has_a" key="id" map="" class="cubi"/>
7233 <class id="mus" controller="open-ils.cstore" oils_obj:fieldmapper="money::user_summary" oils_persist:tablename="money.usr_summary" reporter:label="User Summary">
7234 <fields oils_persist:primary="usr" oils_persist:sequence="">
7235 <field name="balance_owed" reporter:datatype="money" />
7236 <field name="total_owed" reporter:datatype="money" />
7237 <field name="total_paid" reporter:datatype="money" />
7238 <field name="usr" reporter:datatype="link"/>
7241 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
7244 <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">
7245 <fields oils_persist:primary="code" oils_persist:sequence="">
7246 <field reporter:label="LitF Code" name="code" reporter:datatype="text"/>
7247 <field reporter:label="LitF Description" name="description" reporter:datatype="text" oils_persist:i18n="true"/>
7248 <field reporter:label="LitF Name" name="value" reporter:datatype="text" oils_persist:i18n="true"/>
7251 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
7253 <create permission="CREATE_MARC_CODE" global_required="true"/>
7255 <update permission="UPDATE_MARC_CODE" global_required="true"/>
7256 <delete permission="DELETE_MARC_CODE" global_required="true"/>
7260 <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">
7261 <fields oils_persist:primary="id" oils_persist:sequence="money.payment_id_seq">
7262 <field reporter:label="Accepting Staff Member" name="accepting_usr" reporter:datatype="link"/>
7263 <field reporter:label="Amount" name="amount" reporter:datatype="money" />
7264 <field reporter:label="Amount Collected" name="amount_collected" reporter:datatype="money" />
7265 <field reporter:label="Payment ID" name="id" reporter:datatype="id" />
7266 <field reporter:label="Note" name="note" reporter:datatype="text"/>
7267 <field reporter:label="Payment Timestamp" name="payment_ts" reporter:datatype="timestamp"/>
7268 <field reporter:label="Transaction ID" name="xact" reporter:datatype="link"/>
7269 <field reporter:label="Payment link" name="payment" oils_persist:virtual="true" reporter:datatype="link"/>
7270 <field reporter:label="Payment Type" name="payment_type" oils_persist:virtual="true" reporter:datatype="text"/>
7273 <link field="payment" reltype="might_have" key="id" map="" class="mp"/>
7274 <link field="accepting_usr" reltype="has_a" key="id" map="" class="au"/>
7275 <link field="xact" reltype="has_a" key="id" map="" class="mbt"/>
7277 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
7279 <retrieve permission="VIEW_USER_TRANSACTIONS">
7280 <context link="xact" jump="usr" field="home_ou"/>
7285 <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">
7286 <fields oils_persist:primary="id" oils_persist:sequence="money.payment_id_seq">
7287 <field reporter:label="Accepting Staff Member" name="accepting_usr" reporter:datatype="link"/>
7288 <field reporter:label="Amount" name="amount" reporter:datatype="money" />
7289 <field reporter:label="Amount Collected" name="amount_collected" reporter:datatype="money" />
7290 <field reporter:label="Payment ID" name="id" reporter:datatype="id" />
7291 <field reporter:label="Note" name="note" reporter:datatype="text"/>
7292 <field reporter:label="Payment Timestamp" name="payment_ts" reporter:datatype="timestamp"/>
7293 <field reporter:label="Transaction ID" name="xact" reporter:datatype="link"/>
7294 <field reporter:label="Payment link" name="payment" oils_persist:virtual="true" reporter:datatype="link"/>
7295 <field reporter:label="Payment Type" name="payment_type" oils_persist:virtual="true" reporter:datatype="text"/>
7298 <link field="payment" reltype="might_have" key="id" map="" class="mp"/>
7299 <link field="accepting_usr" reltype="has_a" key="id" map="" class="au"/>
7300 <link field="xact" reltype="has_a" key="id" map="" class="mbt"/>
7302 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
7304 <retrieve permission="VIEW_USER_TRANSACTIONS">
7305 <context link="xact" jump="usr" field="home_ou"/>
7310 <class id="aoc" controller="open-ils.cstore" oils_obj:fieldmapper="action::open_circulation" oils_persist:tablename="action.open_circulation" reporter:label="Open Circulation">
7311 <fields oils_persist:primary="id" oils_persist:sequence="">
7312 <field name="checkin_lib" reporter:datatype="link"/>
7313 <field name="checkin_staff" reporter:datatype="link"/>
7314 <field name="checkin_time" reporter:datatype="timestamp"/>
7315 <field name="circ_lib" reporter:datatype="org_unit"/>
7316 <field name="circ_staff" reporter:datatype="link"/>
7317 <field name="desk_renewal" reporter:datatype="bool"/>
7318 <field name="due_date" reporter:datatype="timestamp"/>
7319 <field name="duration" reporter:datatype="interval"/>
7320 <field name="duration_rule" reporter:datatype="link"/>
7321 <field name="fine_interval" reporter:datatype="interval"/>
7322 <field name="id" reporter:datatype="id" />
7323 <field name="max_fine" reporter:datatype="money" />
7324 <field name="max_fine_rule" reporter:datatype="link"/>
7325 <field name="opac_renewal" reporter:datatype="bool"/>
7326 <field name="phone_renewal" reporter:datatype="bool"/>
7327 <field name="recurring_fine" reporter:datatype="money" />
7328 <field name="recurring_fine_rule" reporter:datatype="link"/>
7329 <field name="renewal_remaining" reporter:datatype="int" />
7330 <field name="grace_period" reporter:datatype="interval" />
7331 <field name="stop_fines" reporter:datatype="text"/>
7332 <field name="stop_fines_time" reporter:datatype="timestamp"/>
7333 <field name="target_copy" reporter:datatype="link"/>
7334 <field name="usr" reporter:datatype="link"/>
7335 <field name="xact_finish" reporter:datatype="timestamp" />
7336 <field name="xact_start" reporter:datatype="timestamp" />
7337 <field name="circulation" oils_persist:virtual="true" reporter:datatype="link"/>
7340 <link field="circulation" reltype="might_have" key="id" map="" class="circ"/>
7341 <link field="duration_rule" reltype="has_a" key="name" map="" class="crcd"/>
7342 <link field="max_fine_rule" reltype="has_a" key="name" map="" class="crmf"/>
7343 <link field="recurring_fine_rule" reltype="has_a" key="name" map="" class="crrf"/>
7346 <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">
7347 <fields oils_persist:primary="id" oils_persist:sequence="metabib.subject_field_entry_id_seq">
7348 <field name="field" reporter:datatype="link"/>
7349 <field name="id" reporter:datatype="id" />
7350 <field name="source" reporter:datatype="link"/>
7351 <field name="value" reporter:datatype="text"/>
7354 <link field="source" reltype="has_a" key="id" map="" class="bre"/>
7355 <link field="field" reltype="has_a" key="id" map="" class="cmf"/>
7358 <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">
7359 <fields oils_persist:primary="id" oils_persist:sequence="config.rule_recurring_fine_id_seq">
7360 <field name="high" reporter:datatype="money" />
7361 <field name="id" reporter:selector="name" reporter:datatype="id"/>
7362 <field name="low" reporter:datatype="money" />
7363 <field name="name" reporter:datatype="text"/>
7364 <field name="normal" reporter:datatype="money" />
7365 <field name="recurrence_interval" reporter:datatype="interval"/>
7366 <field name="grace_period" reporter:datatype="interval" />
7369 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
7371 <create permission="ADMIN_RECURRING_FINE_RULE" global_required="true"/>
7373 <update permission="ADMIN_RECURRING_FINE_RULE" global_required="true"/>
7374 <delete permission="ADMIN_RECURRING_FINE_RULE" global_required="true"/>
7378 <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">
7379 <fields oils_persist:primary="id" oils_persist:sequence="money.payment_id_seq">
7380 <field reporter:label="Accepting Staff Member" name="accepting_usr" reporter:datatype="link"/>
7381 <field reporter:label="Amount" name="amount" reporter:datatype="money" />
7382 <field reporter:label="Amount Collected" name="amount_collected" reporter:datatype="money" />
7383 <field reporter:label="Workstation link" name="cash_drawer" reporter:datatype="link"/>
7384 <field reporter:label="Check Number" name="check_number" reporter:datatype="int" />
7385 <field reporter:label="Payment ID" name="id" reporter:datatype="id" />
7386 <field reporter:label="Note" name="note" reporter:datatype="text"/>
7387 <field reporter:label="Payment Timestamp" name="payment_ts" reporter:datatype="timestamp"/>
7388 <field reporter:label="Transaction link" name="xact" reporter:datatype="link"/>
7389 <field reporter:label="Payment link" name="payment" oils_persist:virtual="true" reporter:datatype="link"/>
7390 <field reporter:label="Payment Type" name="payment_type" oils_persist:virtual="true" reporter:datatype="text"/>
7393 <link field="payment" reltype="might_have" key="id" map="" class="mp"/>
7394 <link field="accepting_usr" reltype="has_a" key="id" map="" class="au"/>
7395 <link field="cash_drawer" reltype="has_a" key="id" map="" class="aws"/>
7396 <link field="xact" reltype="has_a" key="id" map="" class="mbt"/>
7398 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
7400 <retrieve permission="VIEW_USER_TRANSACTIONS">
7401 <context link="xact" jump="usr" field="home_ou"/>
7406 <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">
7407 <fields oils_persist:primary="id" oils_persist:sequence="asset.copy_id_seq">
7408 <field reporter:label="Age Hold Protection" name="age_protect" reporter:datatype="link"/>
7409 <field reporter:label="Alert Message" name="alert_message" reporter:datatype="text"/>
7410 <field reporter:label="Barcode" name="barcode" reporter:datatype="text"/>
7411 <field reporter:label="Call Number/Volume" name="call_number" reporter:datatype="link"/>
7412 <field reporter:label="Circulation Type (MARC)" name="circ_as_type" reporter:datatype="link"/>
7413 <field reporter:label="Circulating Library" name="circ_lib" reporter:datatype="org_unit"/>
7414 <field reporter:label="Circulation Modifier" name="circ_modifier" reporter:datatype="link"/>
7415 <field reporter:label="Can Circulate" name="circulate" reporter:datatype="bool"/>
7416 <field reporter:label="Copy Number on Volume" name="copy_number" reporter:datatype="text"/>
7417 <field reporter:label="Creation Date/Time" name="create_date" reporter:datatype="timestamp"/>
7418 <field reporter:label="Active Date/Time" name="active_date" reporter:datatype="timestamp"/>
7419 <field reporter:label="Creating User" name="creator" reporter:datatype="link"/>
7420 <field reporter:label="Is Deleted" name="deleted" reporter:datatype="bool"/>
7421 <field reporter:label="Dummy ISBN" name="dummy_isbn" reporter:datatype="text"/>
7422 <field reporter:label="Is Deposit Required" name="deposit" reporter:datatype="bool"/>
7423 <field reporter:label="Deposit Amount" name="deposit_amount" reporter:datatype="money" />
7424 <field reporter:label="Precat Dummy Author" name="dummy_author" reporter:datatype="text"/>
7425 <field reporter:label="Precat Dummy Title" name="dummy_title" reporter:datatype="text"/>
7426 <field reporter:label="Last Edit Date/Time" name="edit_date" reporter:datatype="timestamp"/>
7427 <field reporter:label="Last Editing User" name="editor" reporter:datatype="link"/>
7428 <field reporter:label="Fine Level" name="fine_level" reporter:datatype="int"/>
7429 <field reporter:label="Is Holdable" name="holdable" reporter:datatype="bool" />
7430 <field reporter:label="Copy ID" name="id" reporter:datatype="id"/>
7431 <field reporter:label="Loan Duration" name="loan_duration" reporter:datatype="int"/>
7432 <field reporter:label="Shelving Location" name="location" reporter:datatype="link"/>
7433 <field reporter:label="OPAC Visible" name="opac_visible" reporter:datatype="bool" />
7434 <field reporter:label="Price" name="price" reporter:datatype="money" />
7435 <field reporter:label="Is Reference" name="ref" reporter:datatype="bool"/>
7436 <field reporter:label="Copy Status" name="status" reporter:datatype="link"/>
7437 <field reporter:label="Copy Status Changed Time" name="status_changed_time" reporter:datatype="timestamp"/>
7438 <field reporter:label="Is Mint Condition" name="mint_condition" reporter:datatype="bool"/>
7439 <field reporter:label="Floating Group" name="floating" reporter:datatype="link"/>
7440 <field reporter:label="Cost" name="cost" reporter:datatype="money"/>
7441 <field reporter:label="Copy Notes" name="notes" oils_persist:virtual="true" reporter:datatype="link"/>
7442 <field reporter:label="Stat-Cat entry maps" name="stat_cat_entry_copy_maps" oils_persist:virtual="true" reporter:datatype="link"/>
7443 <field reporter:label="Circulations" name="circulations" oils_persist:virtual="true" reporter:datatype="link"/>
7444 <field reporter:label="Aged (patronless) Circulations" name="aged_circulations" oils_persist:virtual="true" reporter:datatype="link"/>
7445 <field reporter:label="Combined Aged and Active Circulations" name="all_circulations" oils_persist:virtual="true" reporter:datatype="link"/>
7446 <field reporter:label="Total Circulations" name="total_circ_count" oils_persist:virtual="true" reporter:datatype="link"/>
7447 <field reporter:label="Last Circulation Date" name="last_circ" oils_persist:virtual="true" reporter:datatype="link"/>
7448 <field reporter:label="Holds" name="holds" oils_persist:virtual="true" reporter:datatype="link"/>
7449 <field reporter:label="Statistical Category Entries" name="stat_cat_entries" oils_persist:virtual="true" reporter:datatype="link"/>
7450 <field reporter:label="Monograph Parts" name="parts" oils_persist:virtual="true" reporter:datatype="link"/>
7451 <field reporter:label="Peer Record Maps" name="peer_record_maps" oils_persist:virtual="true" reporter:datatype="link"/>
7452 <field reporter:label="Peer Records" name="peer_records" oils_persist:virtual="true" reporter:datatype="link"/>
7453 <field reporter:label="Last Captured Hold" name="last_captured_hold" oils_persist:virtual="true" reporter:datatype="link"/>
7454 <field reporter:label="Latest Inventory" name="latest_inventory" oils_persist:virtual="true" reporter:datatype="link"/>
7455 <field reporter:label="Has Holds" name="holds_count" oils_persist:virtual="true" reporter:datatype="link"/>
7456 <field reporter:label="Copy Tags" name="tags" oils_persist:virtual="true" reporter:datatype="link"/>
7457 <field reporter:label="Copy Alerts" name="copy_alerts" oils_persist:virtual="true" reporter:datatype="link"/>
7460 <link field="age_protect" reltype="has_a" key="id" map="" class="crahp"/>
7461 <link field="call_number" reltype="has_a" key="id" map="" class="acn"/>
7462 <link field="location" reltype="has_a" key="id" map="" class="acpl"/>
7463 <link field="editor" reltype="has_a" key="id" map="" class="au"/>
7464 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
7465 <link field="status" reltype="has_a" key="id" map="" class="ccs"/>
7466 <link field="circ_lib" reltype="has_a" key="id" map="" class="aou"/>
7467 <link field="holds" reltype="has_many" key="target_copy" map="hold" class="ahcm"/>
7468 <link field="stat_cat_entry_copy_maps" reltype="has_many" key="owning_copy" map="" class="ascecm"/>
7469 <link field="notes" reltype="has_many" key="owning_copy" map="" class="acpn"/>
7470 <link field="stat_cat_entries" reltype="has_many" key="owning_copy" map="stat_cat_entry" class="ascecm"/>
7471 <link field="circulations" reltype="has_many" key="target_copy" map="" class="circ"/>
7472 <link field="aged_circulations" reltype="has_many" key="target_copy" map="" class="acirc"/>
7473 <link field="all_circulations" reltype="has_many" key="target_copy" map="" class="combcirc"/>
7474 <link field="total_circ_count" reltype="might_have" key="id" map="" class="erfcc"/>
7475 <link field="last_circ" reltype="might_have" key="id" map="" class="rlc"/>
7476 <link field="circ_modifier" reltype="has_a" key="code" map="" class="ccm"/>
7477 <link field="parts" reltype="has_many" key="target_copy" map="part" class="acpm"/>
7478 <link field="peer_record_maps" reltype="has_many" key="target_copy" map="" class="bpbcm"/>
7479 <link field="peer_records" reltype="has_many" key="target_copy" map="peer_record" class="bpbcm"/>
7480 <link field="last_captured_hold" reltype="has_a" key="current_copy" map="" class="alhr"/>
7481 <link field="latest_inventory" reltype="might_have" key="copy" map="" class="alci"/>
7482 <link field="floating" reltype="has_a" key="id" map="" class="cfg"/>
7483 <link field="holds_count" reltype="might_have" key="id" map="" class="hasholdscount"/>
7484 <link field="tags" reltype="has_many" key="copy" map="" class="acptcm"/>
7485 <link field="copy_alerts" reltype="has_many" key="copy" map="" class="aca"/>
7486 <link field="circ_as_type" reltype="has_a" key="code" map="" class="citm"/>
7488 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
7490 <create permission="CREATE_COPY">
7491 <context link="call_number" field="owning_lib"/>
7494 <update permission="UPDATE_COPY">
7495 <context link="call_number" field="owning_lib"/>
7497 <delete permission="DELETE_COPY">
7498 <context link="call_number" field="owning_lib"/>
7504 <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">
7505 <fields oils_persist:primary="id" oils_persist:sequence="asset.latest_inventory_id_seq">
7506 <field reporter:label="Latest Inventory ID" name="id" reporter:datatype="id"/>
7507 <field reporter:label="Latest Inventory Date" name="inventory_date" reporter:datatype="timestamp"/>
7508 <field reporter:label="Latest Inventory Workstation" name="inventory_workstation" reporter:datatype="link"/>
7509 <field reporter:label="Copy" name="copy" reporter:datatype="link"/>
7512 <link field="inventory_workstation" reltype="has_a" key="id" map="" class="aws"/>
7513 <link field="copy" reltype="has_a" key="id" map="" class="acp"/>
7515 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
7525 <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">
7526 <fields oils_persist:primary="id" oils_persist:sequence="config.copy_alert_type_id_seq">
7527 <field reporter:label="Id" name="id" reporter:selector="name" reporter:datatype="id"/>
7528 <field reporter:label="Scope Org Unit" name="scope_org" reporter:datatype="org_unit"/>
7529 <field reporter:label="Active" name="active" reporter:datatype="bool" />
7530 <field reporter:label="Name" name="name" reporter:datatype="text" />
7531 <field reporter:label="State" name="state" reporter:datatype="text"/>
7532 <field reporter:label="Event" name="event" reporter:datatype="text" />
7533 <field reporter:label="During Renewal" name="in_renew" reporter:datatype="bool" />
7534 <field reporter:label="Allow At Copy Circ Lib" name="at_circ" reporter:datatype="bool"/>
7535 <field reporter:label="Allow At Copy Owning Lib" name="at_owning" reporter:datatype="bool"/>
7536 <field reporter:label="Invert allowed locations" name="invert_location" reporter:datatype="bool"/>
7537 <field reporter:label="Next Statuses" name="next_status" reporter:datatype="text"/>
7540 <link field="scope_org" reltype="has_a" key="id" map="" class="aou"/>
7542 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
7544 <create permission="ADMIN_COPY_ALERT_TYPE CREATE_COPY_ALERT_TYPE" context_field="scope_org"/>
7546 <update permission="ADMIN_COPY_ALERT_TYPE UPDATE_COPY_ALERT_TYPE" context_field="scope_org"/>
7547 <delete permission="ADMIN_COPY_ALERT_TYPE DELETE_COPY_ALERT_TYPE" context_field="scope_org"/>
7552 <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">
7553 <fields oils_persist:primary="id" oils_persist:sequence="actor.copy_alert_suppress_id_seq">
7554 <field reporter:label="Id" name="id" reporter:datatype="id"/>
7555 <field reporter:label="Org Unit" name="org" reporter:datatype="org_unit"/>
7556 <field reporter:label="Alert Type" name="alert_type" reporter:datatype="link" />
7559 <link field="org" reltype="has_a" key="id" map="" class="aou"/>
7560 <link field="alert_type" reltype="has_a" key="id" map="" class="ccat"/>
7562 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
7564 <create permission="ADMIN_COPY_ALERT_SUPPRESS CREATE_COPY_ALERT_SUPPRESS" context_field="org"/>
7566 <update permission="ADMIN_COPY_ALERT_SUPPRESS UPDATE_COPY_ALERT_SUPPRESS" context_field="org"/>
7567 <delete permission="ADMIN_COPY_ALERT_SUPPRESS DELETE_COPY_ALERT_SUPPRESS" context_field="org"/>
7572 <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">
7573 <fields oils_persist:primary="id" oils_persist:sequence="asset.copy_alert_id_seq">
7574 <field reporter:label="Id" name="id" reporter:datatype="id"/>
7575 <field reporter:label="Alert Type" name="alert_type" reporter:datatype="link" />
7576 <field reporter:label="Copy" name="copy" reporter:datatype="link"/>
7577 <field reporter:label="Temporary" name="temp" reporter:datatype="bool" />
7578 <field reporter:label="Create Date/Time" name="create_time" reporter:datatype="timestamp" />
7579 <field reporter:label="Creator" name="create_staff" reporter:datatype="link"/>
7580 <field reporter:label="Note" name="note" reporter:datatype="text"/>
7581 <field reporter:label="Acknowledge Date/Time" name="ack_time" reporter:datatype="timestamp" />
7582 <field reporter:label="Acknowledger" name="ack_staff" reporter:datatype="link"/>
7585 <link field="alert_type" reltype="has_a" key="id" map="" class="ccat"/>
7586 <link field="copy" reltype="has_a" key="id" map="" class="acp"/>
7587 <link field="create_staff" reltype="has_a" key="id" map="" class="au"/>
7588 <link field="ack_staff" reltype="has_a" key="id" map="" class="au"/>
7590 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
7592 <create permission="ADMIN_COPY_ALERT CREATE_COPY_ALERT">
7593 <context link="copy" field="circ_lib"/>
7595 <retrieve permission="ADMIN_COPY_ALERT VIEW_COPY_ALERT">
7596 <context link="copy" field="circ_lib"/>
7598 <update permission="ADMIN_COPY_ALERT UPDATE_COPY_ALERT">
7599 <context link="copy" field="circ_lib"/>
7601 <delete permission="ADMIN_COPY_ALERT DELETE_COPY_ALERT">
7602 <context link="copy" field="circ_lib"/>
7608 <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">
7609 <fields oils_persist:primary="id">
7610 <field reporter:label="Id" name="id" reporter:datatype="id"/>
7611 <field reporter:label="Alert Type" name="alert_type" reporter:datatype="link" />
7612 <field reporter:label="Copy" name="copy" reporter:datatype="link"/>
7613 <field reporter:label="Temporary" name="temp" reporter:datatype="bool" />
7614 <field reporter:label="Create Date/Time" name="create_time" reporter:datatype="timestamp" />
7615 <field reporter:label="Creator" name="create_staff" reporter:datatype="link"/>
7616 <field reporter:label="Note" name="note" reporter:datatype="text"/>
7617 <field reporter:label="Acknowledge Date/Time" name="ack_time" reporter:datatype="timestamp" />
7618 <field reporter:label="Acknowledger" name="ack_staff" reporter:datatype="link"/>
7621 <link field="alert_type" reltype="has_a" key="id" map="" class="ccat"/>
7622 <link field="copy" reltype="has_a" key="id" map="" class="acp"/>
7623 <link field="create_staff" reltype="has_a" key="id" map="" class="au"/>
7624 <link field="ack_staff" reltype="has_a" key="id" map="" class="au"/>
7626 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
7628 <create permission="ADMIN_COPY_ALERT CREATE_COPY_ALERT">
7629 <context link="copy" field="circ_lib"/>
7631 <retrieve permission="ADMIN_COPY_ALERT VIEW_COPY_ALERT">
7632 <context link="copy" field="circ_lib"/>
7634 <update permission="ADMIN_COPY_ALERT UPDATE_COPY_ALERT">
7635 <context link="copy" field="circ_lib"/>
7637 <delete permission="ADMIN_COPY_ALERT DELETE_COPY_ALERT">
7638 <context link="copy" field="circ_lib"/>
7644 <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">
7645 <fields oils_persist:primary="id" oils_persist:sequence="asset.copy_template_id_seq">
7646 <field reporter:label="ID" name="id" reporter:datatype="id" reporter:selector="name" />
7647 <field reporter:label="Owning Lib" name="owning_lib" reporter:datatype="org_unit"/>
7648 <field reporter:label="Creator" name="creator" reporter:datatype="link"/>
7649 <field reporter:label="Editor" name="editor" reporter:datatype="link"/>
7650 <field reporter:label="Create Date" name="create_date" reporter:datatype="timestamp"/>
7651 <field reporter:label="Edit Date" name="edit_date" reporter:datatype="timestamp"/>
7652 <field reporter:label="Name" name="name" reporter:datatype="text"/>
7653 <field reporter:label="Circ Lib" name="circ_lib" reporter:datatype="org_unit"/>
7654 <field reporter:label="Status" name="status" reporter:datatype="link"/>
7655 <field reporter:label="Location" name="location" reporter:datatype="link"/>
7656 <field reporter:label="Loan Duration" name="loan_duration" reporter:datatype="int"/>
7657 <field reporter:label="Fine Level" name="fine_level" reporter:datatype="int"/>
7658 <field reporter:label="Age Protect" name="age_protect" reporter:datatype="link"/>
7659 <field reporter:label="Circulate?" name="circulate" reporter:datatype="bool"/>
7660 <field reporter:label="Deposit?" name="deposit" reporter:datatype="bool"/>
7661 <field reporter:label="Reference?" name="ref" reporter:datatype="bool"/>
7662 <field reporter:label="Holdable?" name="holdable" reporter:datatype="bool"/>
7663 <field reporter:label="Deposit Amount" name="deposit_amount" reporter:datatype="money"/>
7664 <field reporter:label="Price" name="price" reporter:datatype="money"/>
7665 <field reporter:label="Circ Modifier" name="circ_modifier" reporter:datatype="link"/>
7666 <field reporter:label="Circ As Type" name="circ_as_type" reporter:datatype="link"/>
7667 <field reporter:label="Alert Message" name="alert_message" reporter:datatype="text"/>
7668 <field reporter:label="OPAC Visible?" name="opac_visible" reporter:datatype="bool"/>
7669 <field reporter:label="Floating Group" name="floating" reporter:datatype="link"/>
7670 <field reporter:label="Mint Condition?" name="mint_condition" reporter:datatype="bool"/>
7673 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
7674 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
7675 <link field="editor" reltype="has_a" key="id" map="" class="au"/>
7676 <link field="circ_lib" reltype="has_a" key="id" map="" class="aou"/>
7677 <link field="status" reltype="has_a" key="id" map="" class="ccs"/>
7678 <link field="circ_modifier" reltype="has_a" key="code" map="" class="ccm"/>
7679 <link field="location" reltype="has_a" key="id" map="" class="acpl"/>
7680 <link field="floating" reltype="has_a" key="id" map="" class="cfg"/>
7681 <link field="age_protect" reltype="has_a" key="id" map="" class="crahp"/>
7682 <link field="circ_as_type" reltype="has_a" key="code" map="" class="citm"/>
7684 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
7686 <create permission="ADMIN_ASSET_COPY_TEMPLATE" global_required="true"/>
7688 <update permission="ADMIN_ASSET_COPY_TEMPLATE" global_required="true"/>
7689 <delete permission="ADMIN_ASSET_COPY_TEMPLATE" global_required="true"/>
7694 <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">
7695 <fields oils_persist:primary="id" oils_persist:sequence="config.rule_age_hold_protect_id_seq">
7696 <field reporter:label="Item Age" name="age" reporter:datatype="interval"/>
7697 <field reporter:label="Rule ID" name="id" reporter:selector="name" reporter:datatype="id"/>
7698 <field reporter:label="Rule Name" name="name" reporter:datatype="text"/>
7699 <field reporter:label="Allowed Proximity" name="prox" reporter:datatype="int" />
7702 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
7704 <create permission="ADMIN_AGE_PROTECT_RULE" global_required="true"/>
7706 <update permission="ADMIN_AGE_PROTECT_RULE" global_required="true"/>
7707 <delete permission="ADMIN_AGE_PROTECT_RULE" global_required="true"/>
7711 <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">
7712 <fields oils_persist:primary="id" oils_persist:sequence="config.rule_max_fine_id_seq">
7713 <field reporter:label="Max Fine Amount" name="amount" reporter:datatype="money" />
7714 <field reporter:label="Rule ID" name="id" reporter:selector="name" reporter:datatype="id"/>
7715 <field reporter:label="Rule Name" name="name" reporter:datatype="text"/>
7716 <field reporter:label="Is Percent" name="is_percent" reporter:datatype="bool"/>
7719 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
7721 <create permission="ADMIN_MAX_FINE_RULE" global_required="true"/>
7723 <update permission="ADMIN_MAX_FINE_RULE" global_required="true"/>
7724 <delete permission="ADMIN_MAX_FINE_RULE" global_required="true"/>
7728 <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">
7729 <fields oils_persist:primary="id" oils_persist:sequence="permission.grp_tree_id_seq">
7730 <field reporter:label="Child Groups" name="children" oils_persist:virtual="true" reporter:datatype="link"/>
7731 <field reporter:label="Description" name="description" reporter:datatype="text" oils_persist:i18n="true"/>
7732 <field reporter:label="Group ID" name="id" reporter:selector="name" reporter:datatype="id"/>
7733 <field reporter:label="Group Name" name="name" reporter:datatype="text" oils_persist:i18n="true"/>
7734 <field reporter:label="Parent Group" name="parent" reporter:datatype="link"/>
7735 <field reporter:label="User Expiration Interval" name="perm_interval" reporter:datatype="interval"/>
7736 <field reporter:label="Required Permission" name="application_perm" reporter:datatype="text"/>
7737 <field reporter:label="Is User Group" name="usergroup" reporter:datatype="bool"/>
7738 <field reporter:label="Hold Priority" name="hold_priority" reporter:datatype="int"/>
7741 <link field="parent" reltype="has_a" key="id" map="" class="pgt"/>
7742 <link field="children" reltype="has_many" key="parent" map="" class="pgt"/>
7744 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
7746 <create permission="CREATE_PERM" global_required="true"/>
7747 <retrieve permission="STAFF_LOGIN" global_required="true"/>
7748 <update permission="UPDATE_PERM" global_required="true"/>
7749 <delete permission="DELETE_PERM" global_required="true"/>
7753 <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">
7754 <fields oils_persist:primary="id" oils_persist:sequence="permission.grp_tree_display_entry_id_seq">
7755 <field reporter:label="Entry ID" name="id" reporter:selector="name" reporter:datatype="id"/>
7756 <field reporter:label="Group ID" name="grp" reporter:datatype="link" oils_persist:i18n="true"/>
7757 <field reporter:label="Parent Group" name="parent" reporter:datatype="link"/>
7758 <field reporter:label="Org Unit" name="org" reporter:datatype="link"/>
7759 <field reporter:label="Position" name="position" reporter:datatype="int"/>
7760 <field reporter:label="Child Entries" name="children" oils_persist:virtual="true" reporter:datatype="link"/>
7763 <link field="parent" reltype="has_a" key="id" map="" class="pgtde"/>
7764 <link field="grp" reltype="has_a" key="id" map="" class="pgt"/>
7765 <link field="org" reltype="has_a" key="id" map="" class="aou"/>
7766 <link field="children" reltype="has_many" key="parent" map="" class="pgtde"/>
7768 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
7770 <create permission="MANAGE_CUSTOM_PERM_GRP_TREE" global_required="true"/>
7771 <retrieve permission="STAFF_LOGIN" global_required="true"/>
7772 <update permission="MANAGE_CUSTOM_PERM_GRP_TREE" global_required="true"/>
7773 <delete permission="MANAGE_CUSTOM_PERM_GRP_TREE" global_required="true"/>
7777 <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">
7778 <fields oils_persist:primary="id" oils_persist:sequence="action.survey_answer_id_seq">
7779 <field reporter:label="Responses using this Answer" name="responses" oils_persist:virtual="true" reporter:datatype="link"/>
7780 <field reporter:label="Answer Text" name="answer" reporter:datatype="text"/>
7781 <field reporter:label="Answer ID" name="id" reporter:datatype="id" />
7782 <field reporter:label="Question" name="question" reporter:datatype="link"/>
7785 <link field="question" reltype="has_a" key="id" map="" class="asvq"/>
7786 <link field="responses" reltype="has_many" key="answer" map="" class="asvr"/>
7788 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
7790 <create permission="ADMIN_SURVEY">
7791 <context link="question" jump="survey" field="owner"/>
7794 <update permission="ADMIN_SURVEY">
7795 <context link="question" jump="survey" field="owner"/>
7797 <delete permission="ADMIN_SURVEY">
7798 <context link="question" jump="survey" field="owner"/>
7803 <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">
7804 <fields oils_persist:primary="id" oils_persist:sequence="action.non_cataloged_circulation_id_seq">
7805 <field reporter:label="Circulating Library" name="circ_lib" reporter:datatype="org_unit"/>
7806 <field reporter:label="Circulation Date/Time" name="circ_time" reporter:datatype="timestamp"/>
7807 <field reporter:label="Non-cat Circulation ID" name="id" reporter:datatype="id" />
7808 <field reporter:label="Non-cat Item Type" name="item_type" reporter:datatype="link"/>
7809 <field reporter:label="Patron" name="patron" reporter:datatype="link"/>
7810 <field reporter:label="Circulating Staff" name="staff" reporter:datatype="link"/>
7811 <field reporter:label="Virtual Due Date/Time" name="duedate" reporter:datatype="timestamp" oils_persist:virtual="true"/>
7814 <link field="item_type" reltype="has_a" key="id" map="" class="cnct"/>
7815 <link field="staff" reltype="has_a" key="id" map="" class="au"/>
7816 <link field="patron" reltype="has_a" key="id" map="" class="au"/>
7817 <link field="circ_lib" reltype="has_a" key="id" map="" class="aou"/>
7819 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
7821 <retrieve permission="VIEW_CIRCULATIONS" context_field="circ_lib" />
7825 <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">
7826 <fields oils_persist:primary="usr" oils_persist:sequence="">
7827 <field name="balance_owed" reporter:datatype="money" />
7828 <field name="total_owed" reporter:datatype="money" />
7829 <field name="total_paid" reporter:datatype="money" />
7830 <field name="usr" reporter:datatype="link"/>
7833 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
7836 <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">
7837 <fields oils_persist:primary="id" oils_persist:sequence="action.unfulfilled_hold_list_id_seq">
7838 <field reporter:label="Non-fulfilling Library" name="circ_lib" reporter:datatype="org_unit"/>
7839 <field reporter:label="Non-fulfilling Copy" name="current_copy" reporter:datatype="link"/>
7840 <field reporter:label="Retargeting Date/Time" name="fail_time" reporter:datatype="timestamp"/>
7841 <field reporter:label="Hold" name="hold" reporter:datatype="link"/>
7842 <field reporter:label="Record ID" name="id" reporter:datatype="id" />
7845 <link field="hold" reltype="has_a" key="id" map="" class="ahr"/>
7846 <link field="current_copy" reltype="has_a" key="id" map="" class="acp"/>
7847 <link field="circ_lib" reltype="has_a" key="id" map="" class="aou"/>
7850 <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">
7851 <fields oils_persist:primary="id" oils_persist:sequence="metabib.identifier_field_entry_id_seq">
7852 <field name="field" reporter:datatype="link"/>
7853 <field name="id" reporter:datatype="id" />
7854 <field name="source" reporter:datatype="link"/>
7855 <field name="value" reporter:datatype="text"/>
7858 <link field="source" reltype="has_a" key="id" map="" class="bre"/>
7859 <link field="field" reltype="has_a" key="id" map="" class="cmf"/>
7862 <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">
7863 <fields oils_persist:primary="id" oils_persist:sequence="metabib.title_field_entry_id_seq">
7864 <field name="field" reporter:datatype="link"/>
7865 <field name="id" reporter:datatype="id" />
7866 <field name="source" reporter:datatype="link"/>
7867 <field name="value" reporter:datatype="text"/>
7870 <link field="source" reltype="has_a" key="id" map="" class="bre"/>
7871 <link field="field" reltype="has_a" key="id" map="" class="cmf"/>
7874 <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">
7875 <fields oils_persist:primary="id" oils_persist:sequence="actor.stat_cat_entry_usr_map_id_seq">
7876 <field reporter:label="Entry ID" name="id" reporter:datatype="id" />
7877 <field reporter:label="Statistical Category" name="stat_cat" reporter:datatype="link"/>
7878 <field reporter:label="Entry Text" name="stat_cat_entry" reporter:datatype="text"/>
7879 <field reporter:label="User" name="target_usr" reporter:datatype="link"/>
7882 <link field="target_usr" reltype="has_a" key="id" map="" class="au"/>
7883 <link field="stat_cat" reltype="has_a" key="id" map="" class="actsc"/>
7886 <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">
7887 <fields oils_persist:primary="id" oils_persist:sequence="permission.grp_perm_map_id_seq">
7888 <field name="depth" reporter:datatype="int" />
7889 <field name="grantable" reporter:datatype="bool"/>
7890 <field name="grp" reporter:datatype="link"/>
7891 <field name="id" reporter:datatype="id" />
7892 <field name="perm" reporter:datatype="link"/>
7895 <link field="grp" reltype="has_a" key="id" map="" class="pgt"/>
7896 <link field="perm" reltype="has_a" key="id" map="" class="ppl"/>
7898 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
7900 <create permission="ASSIGN_GROUP_PERM" global_required="true"/>
7901 <retrieve permission="ASSIGN_GROUP_PERM UPDATE_GROUP_PERM REMOVE_GROUP_PERM" global_required="true"/>
7902 <update permission="UPDATE_GROUP_PERM" global_required="true"/>
7903 <delete permission="REMOVE_GROUP_PERM" global_required="true"/>
7907 <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">
7908 <fields oils_persist:primary="id" oils_persist:sequence="container.copy_bucket_id_seq">
7909 <field name="items" oils_persist:virtual="true" />
7910 <field name="btype" reporter:datatype="text"/>
7911 <field name="id" reporter:datatype="id" />
7912 <field name="name" reporter:datatype="text"/>
7913 <field name="description" reporter:datatype="text"/>
7914 <field name="owner" reporter:datatype="link"/>
7915 <field name="pub" reporter:datatype="bool"/>
7916 <field name="create_time" reporter:datatype="timestamp" />
7917 <field name="owning_lib" reporter:datatype="org_unit" />
7920 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
7921 <link field="owner" reltype="has_a" key="id" map="" class="au"/>
7922 <link field="items" reltype="has_many" key="bucket" map="" class="ccbi"/>
7924 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
7926 <create permission="CREATE_COPY_BUCKET ADMIN_COPY_BUCKET" context="owning_lib" owning_user="owner"/>
7927 <retrieve permission="CREATE_COPY_BUCKET ADMIN_COPY_BUCKET" context="owning_lib" owning_user="owner"/>
7928 <update permission="CREATE_COPY_BUCKET ADMIN_COPY_BUCKET" context="owning_lib" owning_user="owner"/>
7929 <delete permission="CREATE_COPY_BUCKET ADMIN_COPY_BUCKET" context="owning_lib" owning_user="owner"/>
7933 <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">
7934 <fields oils_persist:primary="id" oils_persist:sequence="container.copy_bucket_note_id_seq">
7935 <field name="id" reporter:datatype="id" />
7936 <field name="bucket" reporter:datatype="link"/>
7937 <field name="note" reporter:datatype="text" />
7940 <link field="bucket" reltype="has_a" key="id" map="" class="ccb"/>
7943 <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">
7944 <fields oils_persist:primary="id" oils_persist:sequence="permission.usr_work_ou_map_id_seq">
7945 <field reporter:label="User/Working Location Map ID" name="id" reporter:datatype="int" />
7946 <field reporter:label="User" name="usr" reporter:datatype="link"/>
7947 <field reporter:label="Working Location" name="work_ou" reporter:datatype="link"/>
7950 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
7951 <link field="work_ou" reltype="has_a" key="id" map="" class="aou"/>
7954 <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">
7955 <fields oils_persist:primary="id" oils_persist:sequence="permission.usr_perm_map_id_seq">
7956 <field name="depth" reporter:datatype="int"/>
7957 <field name="grantable" reporter:datatype="bool"/>
7958 <field name="id" reporter:datatype="id" />
7959 <field name="perm" reporter:datatype="link"/>
7960 <field name="usr" reporter:datatype="link"/>
7963 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
7964 <link field="perm" reltype="has_a" key="id" map="" class="ppl"/>
7967 <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">
7968 <fields oils_persist:primary="id" oils_persist:sequence="permission.usr_object_perm_map_id_seq">
7969 <field name="object_id" reporter:datatype="text"/>
7970 <field name="grantable" reporter:datatype="bool"/>
7971 <field name="id" reporter:datatype="id" />
7972 <field name="perm" reporter:datatype="link"/>
7973 <field name="usr" reporter:datatype="link"/>
7974 <field name="object_type" reporter:datatype="text"/>
7977 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
7978 <link field="perm" reltype="has_a" key="id" map="" class="ppl"/>
7981 <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">
7982 <fields oils_persist:primary="id" oils_persist:sequence="">
7983 <field reporter:label="Amount" name="amount" reporter:datatype="money" />
7984 <field reporter:label="Payment ID" name="id" reporter:datatype="id" />
7985 <field reporter:label="Note" name="note" reporter:datatype="text"/>
7986 <field reporter:label="Payment Date/Time" name="payment_ts" reporter:datatype="timestamp"/>
7987 <field reporter:label="Payment Type" name="payment_type" reporter:datatype="text"/>
7988 <field reporter:label="Billable Transaction" name="xact" reporter:datatype="link"/>
7989 <field reporter:label="Voided?" name="voided" reporter:datatype="bool"/>
7990 <field reporter:label="Cash Payment Detail" name="cash_payment" oils_persist:virtual="true" reporter:datatype="link"/>
7991 <field reporter:label="Credit Card Payment Detail" name="credit_card_payment" oils_persist:virtual="true" reporter:datatype="link"/>
7992 <field reporter:label="Credit Payment Detail" name="credit_payment" oils_persist:virtual="true" reporter:datatype="link"/>
7993 <field reporter:label="Check Payment Detail" name="check_payment" oils_persist:virtual="true" reporter:datatype="link"/>
7994 <field reporter:label="Work Payment Detail" name="work_payment" oils_persist:virtual="true" reporter:datatype="link"/>
7995 <field reporter:label="Forgive Payment Detail" name="forgive_payment" oils_persist:virtual="true" reporter:datatype="link"/>
7996 <field reporter:label="Goods Payment Detail" name="goods_payment" oils_persist:virtual="true" reporter:datatype="link"/>
7997 <field reporter:label="Account Adjustment Detail" name="account_adjustment" oils_persist:virtual="true" reporter:datatype="link"/>
8000 <link field="cash_payment" reltype="might_have" key="id" map="" class="mcp"/>
8001 <link field="credit_card_payment" reltype="might_have" key="id" map="" class="mccp"/>
8002 <link field="credit_payment" reltype="might_have" key="id" map="" class="mcrp"/>
8003 <link field="check_payment" reltype="might_have" key="id" map="" class="mckp"/>
8004 <link field="work_payment" reltype="might_have" key="id" map="" class="mwp"/>
8005 <link field="forgive_payment" reltype="might_have" key="id" map="" class="mfp"/>
8006 <link field="goods_payment" reltype="might_have" key="id" map="" class="mgp"/>
8007 <link field="account_adjustment" reltype="might_have" key="id" map="" class="maa"/>
8008 <link field="xact" reltype="has_a" key="id" map="" class="mbt"/>
8010 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8012 <retrieve permission="VIEW_USER_TRANSACTIONS">
8013 <context link="xact" jump="usr" field="home_ou"/>
8018 <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">
8019 <fields oils_persist:primary="id" oils_persist:sequence="">
8020 <field reporter:label="Amount" name="amount" reporter:datatype="money" />
8021 <field reporter:label="Payment ID" name="id" reporter:datatype="id" />
8022 <field reporter:label="Note" name="note" reporter:datatype="text"/>
8023 <field reporter:label="Payment Date/Time" name="payment_ts" reporter:datatype="timestamp"/>
8024 <field reporter:label="Payment Type" name="payment_type" reporter:datatype="text"/>
8025 <field reporter:label="Billable Transaction" name="xact" reporter:datatype="link"/>
8026 <field reporter:label="Accepting User" name="accepting_usr" reporter:datatype="link"/>
8027 <field reporter:label="Voided?" name="voided" reporter:datatype="bool"/>
8028 <field reporter:label="Cash Payment Detail" name="cash_payment" oils_persist:virtual="true" reporter:datatype="link"/>
8029 <field reporter:label="Credit Card Payment Detail" name="credit_card_payment" oils_persist:virtual="true" reporter:datatype="link"/>
8030 <field reporter:label="Credit Payment Detail" name="credit_payment" oils_persist:virtual="true" reporter:datatype="link"/>
8031 <field reporter:label="Check Payment Detail" name="check_payment" oils_persist:virtual="true" reporter:datatype="link"/>
8032 <field reporter:label="Work Payment Detail" name="work_payment" oils_persist:virtual="true" reporter:datatype="link"/>
8033 <field reporter:label="Forgive Payment Detail" name="forgive_payment" oils_persist:virtual="true" reporter:datatype="link"/>
8034 <field reporter:label="Goods Payment Detail" name="goods_payment" oils_persist:virtual="true" reporter:datatype="link"/>
8035 <field reporter:label="Account Adjustment Detail" name="account_adjustment" oils_persist:virtual="true" reporter:datatype="link"/>
8038 <link field="cash_payment" reltype="might_have" key="id" map="" class="mcp"/>
8039 <link field="credit_card_payment" reltype="might_have" key="id" map="" class="mccp"/>
8040 <link field="credit_payment" reltype="might_have" key="id" map="" class="mcrp"/>
8041 <link field="check_payment" reltype="might_have" key="id" map="" class="mckp"/>
8042 <link field="work_payment" reltype="might_have" key="id" map="" class="mwp"/>
8043 <link field="forgive_payment" reltype="might_have" key="id" map="" class="mfp"/>
8044 <link field="goods_payment" reltype="might_have" key="id" map="" class="mgp"/>
8045 <link field="account_adjustment" reltype="might_have" key="id" map="" class="maa"/>
8046 <link field="xact" reltype="has_a" key="id" map="" class="mbt"/>
8047 <link field="accepting_usr" reltype="has_a" key="id" map="" class="au"/>
8049 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8051 <retrieve permission="VIEW_USER_TRANSACTIONS">
8052 <context link="xact" jump="usr" field="home_ou"/>
8057 <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">
8058 <fields oils_persist:primary="id" oils_persist:sequence="">
8059 <field reporter:label="Amount" name="amount" reporter:datatype="money" />
8060 <field reporter:label="Payment ID" name="id" reporter:datatype="id" />
8061 <field reporter:label="Note" name="note" reporter:datatype="text"/>
8062 <field reporter:label="Payment Date/Time" name="payment_ts" reporter:datatype="timestamp"/>
8063 <field reporter:label="Payment Type" name="payment_type" reporter:datatype="text"/>
8064 <field reporter:label="Billable Transaction" name="xact" reporter:datatype="link"/>
8065 <field reporter:label="Voided?" name="voided" reporter:datatype="bool"/>
8066 <field reporter:label="Work Payment Detail" name="work_payment" oils_persist:virtual="true" reporter:datatype="link"/>
8067 <field reporter:label="Forgive Payment Detail" name="forgive_payment" oils_persist:virtual="true" reporter:datatype="link"/>
8068 <field reporter:label="Goods Payment Detail" name="goods_payment" oils_persist:virtual="true" reporter:datatype="link"/>
8069 <field reporter:label="Credit Payment Detail" name="credit_payment" oils_persist:virtual="true" reporter:datatype="link"/>
8070 <field reporter:label="Account Adjustment Detail" name="account_adjustment" oils_persist:virtual="true" reporter:datatype="link"/>
8073 <link field="work_payment" reltype="might_have" key="id" map="" class="mwp"/>
8074 <link field="forgive_payment" reltype="might_have" key="id" map="" class="mfp"/>
8075 <link field="goods_payment" reltype="might_have" key="id" map="" class="mgp"/>
8076 <link field="credit_payment" reltype="might_have" key="id" map="" class="mcrp"/>
8077 <link field="account_adjustment" reltype="might_have" key="id" map="" class="maa"/>
8078 <link field="xact" reltype="has_a" key="id" map="" class="mbt"/>
8081 <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">
8082 <fields oils_persist:primary="id" oils_persist:sequence="">
8083 <field reporter:label="Amount" name="amount" reporter:datatype="money" />
8084 <field reporter:label="Payment ID" name="id" reporter:datatype="id" />
8085 <field reporter:label="Note" name="note" reporter:datatype="text"/>
8086 <field reporter:label="Payment Date/Time" name="payment_ts" reporter:datatype="timestamp"/>
8087 <field reporter:label="Payment Type" name="payment_type" reporter:datatype="text"/>
8088 <field reporter:label="Billable Transaction" name="xact" reporter:datatype="link"/>
8089 <field reporter:label="Accepting User" name="accepting_usr" reporter:datatype="link"/>
8090 <field reporter:label="Cash Drawer" name="cash_drawer" reporter:datatype="link"/>
8091 <field reporter:label="Voided?" name="voided" reporter:datatype="bool"/>
8092 <field reporter:label="Cash Payment" name="cash_payment" oils_persist:virtual="true" reporter:datatype="link"/>
8093 <field reporter:label="Credit Card Payment" name="credit_card_payment" oils_persist:virtual="true" reporter:datatype="link"/>
8094 <field reporter:label="Check Payment" name="check_payment" oils_persist:virtual="true" reporter:datatype="link"/>
8097 <link field="cash_payment" reltype="might_have" key="id" map="" class="mcp"/>
8098 <link field="credit_card_payment" reltype="might_have" key="id" map="" class="mccp"/>
8099 <link field="check_payment" reltype="might_have" key="id" map="" class="mckp"/>
8100 <link field="xact" reltype="has_a" key="id" map="" class="mbt"/>
8101 <link field="accepting_usr" reltype="has_a" key="id" map="" class="au"/>
8102 <link field="cash_drawer" reltype="has_a" key="id" map="" class="aws"/>
8105 <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">
8106 <fields oils_persist:primary="id" oils_persist:sequence="container.biblio_record_entry_bucket_item_id_seq">
8107 <field name="bucket" reporter:datatype="link"/>
8108 <field name="id" reporter:datatype="id" />
8109 <field name="target_biblio_record_entry" reporter:datatype="link"/>
8110 <field name="create_time" reporter:datatype="timestamp" />
8111 <field name="pos" reporter:datatype="int" />
8112 <field name="notes" oils_persist:virtual="true" reporter:datatype="link" />
8115 <link field="target_biblio_record_entry" reltype="has_a" key="id" map="" class="bre"/>
8116 <link field="bucket" reltype="has_a" key="id" map="" class="cbreb"/>
8117 <link field="notes" reltype="has_many" map="" key="item" class="cbrebin"/>
8119 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8121 <retrieve permission="ADMIN_COPY_BUCKET">
8122 <context link="bucket" owning_lib="owning_lib"/>
8127 <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">
8128 <fields oils_persist:primary="id" oils_persist:sequence="container.biblio_record_entry_bucket_item_note_id_seq">
8129 <field name="id" reporter:datatype="id" />
8130 <field name="item" reporter:datatype="link"/>
8131 <field name="note" reporter:datatype="text" />
8134 <link field="item" reltype="has_a" key="id" map="" class="cbrebi"/>
8137 <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">
8138 <fields oils_persist:primary="id" oils_persist:sequence="asset.stat_cat_entry_id_seq">
8139 <field reporter:label="Entry ID" name="id" reporter:datatype="int" />
8140 <field reporter:label="Entry Owner" name="owner" reporter:datatype="link"/>
8141 <field reporter:label="Stat Cat" name="stat_cat" reporter:datatype="link"/>
8142 <field reporter:label="Value" name="value" reporter:datatype="text" oils_persist:i18n="true"/>
8145 <link field="stat_cat" reltype="has_a" key="id" map="" class="asc"/>
8146 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
8148 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8150 <retrieve permission="STAFF_LOGIN" global_required="true"/>
8154 <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">
8155 <fields oils_persist:primary="field">
8156 <field reporter:label="Field Identifier" name="field" reporter:datatype="text" reporter:selector="name"/>
8157 <field reporter:label="Field Name" name="name" reporter:datatype="text"/>
8158 <field reporter:label="Exclusive?" name="one_only" reporter:datatype="bool"/>
8161 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8163 <create permission="CREATE_COPY_STAT_CAT" global_required="true"/>
8165 <update permission="UPDATE_COPY_STAT_CAT" global_required="true"/>
8166 <delete permission="DELETE_COPY_STAT_CAT" global_required="true"/>
8170 <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">
8171 <fields oils_persist:primary="id" oils_persist:sequence="action.hold_request_cancel_cause_id_seq">
8172 <field reporter:label="Cause ID" name="id" reporter:datatype="id" />
8173 <field reporter:label="Cause Label" name="label" reporter:datatype="text" oils_persist:i18n="true" />
8176 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8178 <create permission="ADMIN_HOLD_CANCEL_CAUSE" global_required="true"/>
8180 <update permission="ADMIN_HOLD_CANCEL_CAUSE" global_required="true"/>
8181 <delete permission="ADMIN_HOLD_CANCEL_CAUSE" global_required="true"/>
8187 <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">
8188 <fields oils_persist:primary="id" oils_persist:sequence="action.transit_copy_id_seq">
8189 <field reporter:label="Copy Status at Transit" name="copy_status" reporter:datatype="link"/>
8190 <field reporter:label="Destination Library" name="dest" reporter:datatype="org_unit"/>
8191 <field reporter:label="Receive Date/Time" name="dest_recv_time" reporter:datatype="timestamp"/>
8192 <field reporter:label="Reservation requiring Transit" name="reservation" reporter:datatype="link"/>
8193 <field reporter:label="Transit ID" name="id" reporter:datatype="id" />
8194 <field reporter:label="Is Persistent?" name="persistant_transfer" reporter:datatype="bool"/>
8195 <field reporter:label="Previous Stop" name="prev_hop" reporter:datatype="link"/>
8196 <field reporter:label="Sending Library" name="source" reporter:datatype="org_unit"/>
8197 <field reporter:label="Send Date/Time" name="source_send_time" reporter:datatype="timestamp"/>
8198 <field reporter:label="Transited Copy" name="target_copy" reporter:datatype="link"/>
8199 <field reporter:label="Base Transit" name="transit_copy" oils_persist:virtual="true" reporter:datatype="link"/>
8200 <field reporter:label="Prev Destination Library" name="prev_dest" reporter:datatype="org_unit"/>
8201 <field reporter:label="Cancel Date/Time" name="cancel_time" reporter:datatype="timestamp"/>
8204 <link field="transit_copy" reltype="might_have" key="id" map="" class="atc"/>
8205 <link field="target_copy" reltype="has_a" key="id" map="" class="brsrc"/>
8206 <link field="source" reltype="has_a" key="id" map="" class="aou"/>
8207 <link field="copy_status" reltype="has_a" key="id" map="" class="ccs"/>
8208 <link field="dest" reltype="has_a" key="id" map="" class="aou"/>
8209 <link field="prev_dest" reltype="has_a" key="id" map="" class="aou"/>
8210 <link field="reservation" reltype="has_a" key="id" map="" class="bresv"/>
8212 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8214 <create permission="TRANSIT_COPY">
8215 <context link="target_copy" field="owner"/>
8218 <update permission="UPDATE_TRANSIT" context_field="dest source"/>
8219 <delete permission="DELETE_TRANSIT" context_field="dest source"/>
8223 <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">
8224 <fields oils_persist:primary="id" oils_persist:sequence="action.transit_copy_id_seq">
8225 <field reporter:label="Copy Status at Transit" name="copy_status" reporter:datatype="link"/>
8226 <field reporter:label="Destination Library" name="dest" reporter:datatype="org_unit"/>
8227 <field reporter:label="Receive Date/Time" name="dest_recv_time" reporter:datatype="timestamp"/>
8228 <field reporter:label="Hold requiring Transit" name="hold" reporter:datatype="link"/>
8229 <field reporter:label="Transit ID" name="id" reporter:datatype="id" />
8230 <field reporter:label="Is Persistent?" name="persistant_transfer" reporter:datatype="bool"/>
8231 <field reporter:label="Previous Stop" name="prev_hop" reporter:datatype="link"/>
8232 <field reporter:label="Sending Library" name="source" reporter:datatype="org_unit"/>
8233 <field reporter:label="Send Date/Time" name="source_send_time" reporter:datatype="timestamp"/>
8234 <field reporter:label="Transited Copy" name="target_copy" reporter:datatype="link"/>
8235 <field reporter:label="Base Transit" name="transit_copy" oils_persist:virtual="true" reporter:datatype="link"/>
8236 <field reporter:label="Prev Destination Library" name="prev_dest" reporter:datatype="org_unit"/>
8237 <field reporter:label="Cancel Date/Time" name="cancel_time" reporter:datatype="timestamp"/>
8240 <link field="transit_copy" reltype="might_have" key="id" map="" class="atc"/>
8241 <link field="target_copy" reltype="has_a" key="id" map="" class="acp"/>
8242 <link field="source" reltype="has_a" key="id" map="" class="aou"/>
8243 <link field="copy_status" reltype="has_a" key="id" map="" class="ccs"/>
8244 <link field="dest" reltype="has_a" key="id" map="" class="aou"/>
8245 <link field="prev_dest" reltype="has_a" key="id" map="" class="aou"/>
8246 <link field="hold" reltype="has_a" key="id" map="" class="ahr"/>
8248 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8250 <create permission="TRANSIT_COPY" context_field="owner">
8251 <context link="target_copy" field="circ_lib"/>
8254 <update permission="UPDATE_TRANSIT" context_field="dest source"/>
8255 <delete permission="DELETE_TRANSIT" context_field="dest source"/>
8259 <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">
8260 <fields oils_persist:primary="id" oils_persist:sequence="money.billing_id_seq">
8261 <field reporter:label="Amount" name="amount" reporter:datatype="money" />
8262 <field reporter:label="Create Date" name="create_date" reporter:datatype="timestamp"/>
8263 <field reporter:label="Billing Period Start" name="period_start" reporter:datatype="timestamp"/>
8264 <field reporter:label="Billing Period End" name="period_end" reporter:datatype="timestamp"/>
8265 <field reporter:label="Legacy Billing Timestamp" name="billing_ts" reporter:datatype="timestamp"/>
8266 <field reporter:label="Legacy Billing Type" name="billing_type" reporter:datatype="text"/>
8267 <field reporter:label="Billing ID" name="id" reporter:datatype="id" />
8268 <field reporter:label="Note" name="note" reporter:datatype="text"/>
8269 <field reporter:label="Void Timestamp" name="void_time" reporter:datatype="timestamp"/>
8270 <field reporter:label="Voided?" name="voided" reporter:datatype="bool"/>
8271 <field reporter:label="Voiding Staff Member" name="voider" reporter:datatype="link"/>
8272 <field reporter:label="Transaction" name="xact" reporter:datatype="link"/>
8273 <field reporter:label="Type" name="btype" reporter:datatype="link"/>
8274 <field reporter:label="Adjustments" name="adjustments" oils_persist:virtual="true" reporter:datatype="link"/>
8277 <link field="xact" reltype="has_a" key="id" map="" class="mbt"/>
8278 <link field="voider" reltype="has_a" key="id" map="" class="au"/>
8279 <link field="btype" reltype="has_a" key="id" map="" class="cbt"/>
8280 <link field="adjustments" reltype="has_many" key="billing" map="" class="maa"/>
8282 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8284 <retrieve permission="VIEW_USER_TRANSACTIONS">
8285 <context link="xact" jump="usr" field="home_ou"/>
8290 <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">
8291 <fields oils_persist:primary="id" oils_persist:sequence="permission.usr_grp_map_id_seq">
8292 <field name="grp" />
8293 <field name="id" reporter:datatype="id" />
8294 <field name="usr" />
8297 <link field="grp" reltype="has_a" key="id" map="" class="pgt"/>
8298 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
8301 <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">
8302 <fields oils_persist:primary="id" oils_persist:sequence="config.i18n_core_id_seq">
8303 <field name="id" reporter:datatype="id" />
8304 <field name="fq_field" reporter:datatype="text"/>
8305 <field name="identity_value" reporter:datatype="text"/>
8306 <field name="translation" reporter:datatype="text"/>
8307 <field name="string" reporter:datatype="text"/>
8310 <link field="translation" reltype="has_a" key="code" map="" class="i18n_l"/>
8312 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8314 <create permission="CREATE_TRANSLATION" global_required="true"/>
8315 <retrieve permission="CREATE_TRANSLATION UPDATE_TRANSLATION DELETE_TRANSLATION" global_required="true"/>
8316 <update permission="UPDATE_TRANSLATION" global_required="true"/>
8317 <delete permission="DELETE_TRANSLATION" global_required="true"/>
8321 <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">
8322 <fields oils_persist:primary="id" oils_persist:sequence="config.idl_field_doc_id_seq">
8323 <field name="id" reporter:datatype="id" />
8324 <field name="fm_class" reporter:datatype="text"/>
8325 <field name="field" reporter:datatype="text"/>
8326 <field name="owner" reporter:datatype="org_unit"/>
8327 <field name="string" reporter:datatype="text" oils_persist:i18n="true"/>
8330 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
8332 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8334 <create permission="ADMIN_FIELD_DOC" context_field="owner"/>
8336 <update permission="ADMIN_FIELD_DOC" context_field="owner"/>
8337 <delete permission="ADMIN_FIELD_DOC" context_field="owner"/>
8341 <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">
8342 <fields oils_persist:primary="code">
8343 <field name="code" reporter:datatype="id" />
8344 <field name="marc_code" reporter:datatype="text"/>
8345 <field name="name" reporter:datatype="text" oils_persist:i18n="true"/>
8346 <field name="description" reporter:datatype="text" oils_persist:i18n="true"/>
8347 <field name="rtl" reporter:datatype="bool"/>
8350 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8352 <create permission="CREATE_LOCALE" global_required="true"/>
8354 <update permission="UPDATE_LOCALE" global_required="true"/>
8355 <delete permission="DELETE_LOCALE" global_required="true"/>
8359 <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">
8360 <fields oils_persist:primary="id" oils_persist:sequence="config.billing_type_id_seq">
8361 <field name="id" reporter:datatype="id" reporter:label="ID" reporter:selector="name"/>
8362 <field name="name" reporter:datatype="text" reporter:label="Name" oils_persist:i18n="true"/>
8363 <field name="owner" reporter:datatype="org_unit" reporter:label="Org Unit" />
8364 <field name="default_price" reporter:datatype="money" reporter:label="Default Price"/>
8367 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
8369 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8371 <create permission="CREATE_BILLING_TYPE" context_field="owner"/>
8372 <retrieve permission="VIEW_BILLING_TYPE CREATE_BILLING_TYPE UPDATE_BILLING_TYPE DELETE_BILLING_TYPE" context_field="owner"/>
8373 <update permission="UPDATE_BILLING_TYPE" context_field="owner"/>
8374 <delete permission="DELETE_BILLING_TYPE" context_field="owner"/>
8379 <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">
8380 <fields oils_persist:primary="id">
8381 <field reporter:label="ID" name="id" reporter:datatype="id" reporter:selector='label'/>
8382 <field reporter:label="Type Label" name="label" reporter:datatype="text" oils_persist:i18n="true" />
8385 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8387 <create permission="ADMIN_USER_REQUEST_TYPE" global_required="true"/>
8389 <update permission="ADMIN_USER_REQUEST_TYPE" global_required="true"/>
8390 <delete permission="ADMIN_USER_REQUEST_TYPE" global_required="true"/>
8395 <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">
8396 <fields oils_persist:primary="id" oils_persist:sequence="acq.user_request_id_seq">
8397 <field reporter:label="ID" name="id" reporter:datatype="id" reporter:selector='label'/>
8398 <field reporter:label="User" name="usr" reporter:datatype="link" />
8399 <field reporter:label="Request Type" name="request_type" oils_obj:required="true" reporter:datatype="link" />
8400 <field reporter:label="Place Hold" name="hold" reporter:datatype="bool" />
8401 <field reporter:label="Pickup Library" name="pickup_lib" reporter:datatype="link" />
8402 <field reporter:label="Holdable Formats" name="holdable_formats" reporter:datatype="text" />
8403 <field reporter:label="Phone Notify" name="phone_notify" reporter:datatype="text" />
8404 <field reporter:label="Email Notify" name="email_notify" reporter:datatype="bool" />
8405 <field reporter:label="PO Line Item" name="lineitem" reporter:datatype="link" />
8406 <field reporter:label="Bib Record" name="eg_bib" reporter:datatype="link" />
8407 <field reporter:label="Request Date/Time" name="request_date" reporter:datatype="timestamp" />
8408 <field reporter:label="Need Before Date/Time" name="need_before" reporter:datatype="timestamp" />
8409 <field reporter:label="Max Acceptable Fee" name="max_fee" reporter:datatype="text" />
8410 <field reporter:label="ISxN" name="isxn" reporter:datatype="text" />
8411 <field reporter:label="UPC" name="upc" reporter:datatype="text" />
8412 <field reporter:label="Title" name="title" reporter:datatype="text" />
8413 <field reporter:label="Volume" name="volume" reporter:datatype="text" />
8414 <field reporter:label="Author" name="author" reporter:datatype="text" />
8415 <field reporter:label="Article Title" name="article_title" reporter:datatype="text" />
8416 <field reporter:label="Article Pages" name="article_pages" reporter:datatype="text" />
8417 <field reporter:label="Publisher" name="publisher" reporter:datatype="text" />
8418 <field reporter:label="Publication Location" name="location" reporter:datatype="text" />
8419 <field reporter:label="Publication Date" name="pubdate" reporter:datatype="text" />
8420 <field reporter:label="Mentioned In" name="mentioned" reporter:datatype="text" />
8421 <field reporter:label="Other Info" name="other_info" reporter:datatype="text" />
8422 <field reporter:label="Cancel Reason" name="cancel_reason" reporter:datatype="link" />
8423 <field reporter:label="Cancel Date/Time" name="cancel_time" reporter:datatype="timestamp" />
8426 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
8427 <link field="pickup_lib" reltype="has_a" key="id" map="" class="aou"/>
8428 <link field="lineitem" reltype="has_a" key="id" map="" class="jub"/>
8429 <link field="eg_bib" reltype="has_a" key="id" map="" class="bre"/>
8430 <link field="request_type" reltype="has_a" key="id" map="" class="aurt"/>
8431 <link field="cancel_reason" reltype="has_a" key="id" map="" class="acqcr"/>
8433 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8435 <create permission="user_request.create">
8436 <context link="usr" field="home_ou"/>
8438 <retrieve permission="user_request.view">
8439 <context link="usr" field="home_ou"/>
8441 <update permission="user_request.update">
8442 <context link="usr" field="home_ou"/>
8444 <delete permission="user_request.delete">
8445 <context link="usr" field="home_ou"/>
8451 <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">
8452 <oils_persist:source_definition><![CDATA[
8454 WHEN r.cancel_reason IS NOT NULL THEN 7 -- Canceled
8455 WHEN h.fulfillment_time IS NOT NULL THEN 6 -- Fulfilled
8456 WHEN l.state = 'received' THEN 5 -- Received
8457 WHEN p.state = 'on-order' AND h.id IS NOT NULL THEN 4 -- Ordered, Hold Placed
8458 WHEN p.state = 'on-order' AND h.id IS NULL THEN 3 -- Ordered, Hold Not Placed
8459 WHEN l.id IS NOT NULL THEN 2 -- Pending
8460 WHEN l.id IS NULL THEN 1 -- New
8462 END AS request_status
8464 FROM acq.user_request r
8465 JOIN actor.usr u ON (r.usr = u.id)
8466 LEFT JOIN acq.lineitem l ON (r.lineitem = l.id)
8467 LEFT JOIN acq.purchase_order p ON (l.purchase_order = p.id)
8468 LEFT JOIN action.hold_request h ON (h.acq_request = r.id)
8469 ]]></oils_persist:source_definition>
8470 <fields oils_persist:primary="id">
8471 <field reporter:label="ID" name="id" reporter:datatype="id" reporter:selector='label'/>
8472 <field reporter:label="User" name="usr" reporter:datatype="link" />
8473 <field reporter:label="Request Type" name="request_type" oils_obj:required="true" reporter:datatype="link" />
8474 <field reporter:label="Place Hold" name="hold" reporter:datatype="bool" />
8475 <field reporter:label="Pickup Library" name="pickup_lib" reporter:datatype="link" />
8476 <field reporter:label="Holdable Formats" name="holdable_formats" reporter:datatype="text" />
8477 <field reporter:label="Phone Notify" name="phone_notify" reporter:datatype="text" />
8478 <field reporter:label="Email Notify" name="email_notify" reporter:datatype="bool" />
8479 <field reporter:label="PO Line Item" name="lineitem" reporter:datatype="link" />
8480 <field reporter:label="Bib Record" name="eg_bib" reporter:datatype="link" />
8481 <field reporter:label="Request Date/Time" name="request_date" reporter:datatype="timestamp" />
8482 <field reporter:label="Need Before Date/Time" name="need_before" reporter:datatype="timestamp" />
8483 <field reporter:label="Max Acceptable Fee" name="max_fee" reporter:datatype="text" />
8484 <field reporter:label="ISxN" name="isxn" reporter:datatype="text" />
8485 <field reporter:label="UPC" name="upc" reporter:datatype="text" />
8486 <field reporter:label="Title" name="title" reporter:datatype="text" />
8487 <field reporter:label="Volume" name="volume" reporter:datatype="text" />
8488 <field reporter:label="Author" name="author" reporter:datatype="text" />
8489 <field reporter:label="Article Title" name="article_title" reporter:datatype="text" />
8490 <field reporter:label="Article Pages" name="article_pages" reporter:datatype="text" />
8491 <field reporter:label="Publisher" name="publisher" reporter:datatype="text" />
8492 <field reporter:label="Publication Location" name="location" reporter:datatype="text" />
8493 <field reporter:label="Publication Date" name="pubdate" reporter:datatype="text" />
8494 <field reporter:label="Mentioned In" name="mentioned" reporter:datatype="text" />
8495 <field reporter:label="Other Info" name="other_info" reporter:datatype="text" />
8496 <field reporter:label="Cancel Reason" name="cancel_reason" reporter:datatype="link" />
8497 <field reporter:label="Cancel Date/Time" name="cancel_time" reporter:datatype="timestamp" />
8498 <field reporter:label="Request Status" name="request_status" reporter:datatype="link" />
8499 <field reporter:label="Home Library" name="home_ou" reporter:datatype="link"/>
8502 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
8503 <link field="pickup_lib" reltype="has_a" key="id" map="" class="aou"/>
8504 <link field="lineitem" reltype="has_a" key="id" map="" class="jub"/>
8505 <link field="eg_bib" reltype="has_a" key="id" map="" class="bre"/>
8506 <link field="request_type" reltype="has_a" key="id" map="" class="aurt"/>
8507 <link field="cancel_reason" reltype="has_a" key="id" map="" class="acqcr"/>
8508 <link field="request_status" reltype="has_a" key="id" map="" class="aurst"/>
8509 <link field="home_ou" reltype="has_a" key="id" map="" class="aou"/>
8511 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8513 <retrieve permission="user_request.view">
8514 <context link="usr" field="home_ou"/>
8520 <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">
8521 <fields oils_persist:primary="id">
8522 <field reporter:label="Status ID" name="id" reporter:datatype="id" reporter:selector='label'/>
8523 <field reporter:label="Status" name="label" reporter:datatype="text" oils_persist:i18n="true" />
8526 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8533 <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">
8534 <fields oils_persist:primary="code">
8535 <field reporter:label="Currency Code" name="code" reporter:datatype="text" reporter:selector='label'/>
8536 <field reporter:label="Currency Label" name="label" reporter:datatype="text" oils_persist:i18n="true" />
8539 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8541 <create permission="ADMIN_CURRENCY_TYPE" global_required="true"/>
8543 <update permission="ADMIN_CURRENCY_TYPE" global_required="true"/>
8544 <delete permission="ADMIN_CURRENCY_TYPE" global_required="true"/>
8549 <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">
8550 <fields oils_persist:primary="id" oils_persist:sequence="acq.exchange_rate_id_seq">
8551 <field reporter:label="Exchange Rate ID" name="id" reporter:datatype="id" />
8552 <field reporter:label="From Currency" name="from_currency" reporter:datatype="link" />
8553 <field reporter:label="To Currency" name="to_currency" reporter:datatype="link" />
8554 <field reporter:label="Ratio" name="ratio" />
8557 <link field="from_currency" reltype="has_a" key="code" map="" class="acqct"/>
8558 <link field="to_currency" reltype="has_a" key="code" map="" class="acqct"/>
8560 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8562 <create permission="ADMIN_CURRENCY_TYPE" global_required="true"/>
8564 <update permission="ADMIN_CURRENCY_TYPE" global_required="true"/>
8565 <delete permission="ADMIN_CURRENCY_TYPE" global_required="true"/>
8570 <class id="acqpro" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="acq::provider" oils_persist:tablename="acq.provider" reporter:label="Provider">
8571 <fields oils_persist:primary="id" oils_persist:sequence="acq.provider_id_seq">
8572 <field reporter:label="Provider ID" name="id" reporter:datatype="id" reporter:selector='code'/>
8573 <field reporter:label="Provider Name" name="name" reporter:datatype="text" oils_persist:i18n="true" />
8574 <field reporter:label="Owner" name="owner" reporter:datatype="org_unit" />
8575 <field reporter:label="Currency" name="currency_type" oils_persist:primitive="string" reporter:datatype="link" />
8576 <field reporter:label="Code" name="code" reporter:datatype="text" />
8577 <field reporter:label="Holdings Tag" name="holding_tag" reporter:datatype="text" />
8578 <field reporter:label="Addresses" name="addresses" oils_persist:virtual="true" reporter:datatype="link" />
8579 <field reporter:label="SAN" name="san" reporter:datatype="text" />
8580 <field reporter:label="EDI Default" name="edi_default" reporter:datatype="link" />
8581 <field reporter:label="Active" name="active" reporter:datatype="bool" />
8582 <field reporter:label="Prepayment Required" name="prepayment_required" reporter:datatype="bool" />
8583 <field reporter:label="URL" name="url" reporter:datatype="text" />
8584 <field reporter:label="Email" name="email" reporter:datatype="text" />
8585 <field reporter:label="Phone" name="phone" reporter:datatype="text" />
8586 <field reporter:label="Fax Phone" name="fax_phone" reporter:datatype="text" />
8587 <field reporter:label="Default Claim Policy" name="default_claim_policy" reporter:datatype="link" />
8588 <field reporter:label="Default # Copies" name="default_copy_count" reporter:datatype="int" />
8589 <field reporter:label="Notes" name="provider_notes" oils_persist:virtual="true" reporter:datatype="link" />
8592 <link field="currency_type" reltype="has_a" key="code" map="" class="acqct"/>
8593 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
8594 <link field="addresses" reltype="has_many" map="" key="provider" class="acqpa"/>
8595 <link field="edi_default" reltype="has_a" map="" key="id" class="acqedi"/>
8596 <link field="default_claim_policy" reltype="has_a" map="" key="id" class="acqclp"/>
8597 <link field="provider_notes" reltype="has_many" map="" key="provider" class="acqpron"/>
8599 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8601 <create permission="ADMIN_PROVIDER" context_field="owner"/>
8602 <retrieve permission="ADMIN_PROVIDER MANAGE_PROVIDER VIEW_PROVIDER" context_field="owner"/>
8603 <update permission="ADMIN_PROVIDER" context_field="owner"/>
8604 <delete permission="ADMIN_PROVIDER" context_field="owner"/>
8609 <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">
8610 <fields oils_persist:primary="id" oils_persist:sequence="acq.provider_note_id_seq">
8611 <field reporter:label="PO Note ID" name="id" reporter:datatype="id" />
8612 <field reporter:label="Provider" name="provider" reporter:datatype="link" />
8613 <field reporter:label="Creator" name="creator" reporter:datatype="link" />
8614 <field reporter:label="Creation Time" name="create_time" reporter:datatype="timestamp" />
8615 <field reporter:label="Edit Time" name="edit_time" reporter:datatype="timestamp" />
8616 <field reporter:label="Editor" name="editor" reporter:datatype="link" />
8617 <field reporter:label="Note Value" name="value" reporter:datatype="text" />
8620 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
8621 <link field="editor" reltype="has_a" key="id" map="" class="au"/>
8622 <link field="provider" reltype="has_a" key="id" map="" class="acqpro"/>
8626 <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">
8627 <fields oils_persist:primary="code">
8628 <field reporter:label="Code" name="code" reporter:datatype="id" reporter:selector="name"/>
8629 <field reporter:label="Name" name="name" reporter:datatype="text"/>
8631 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8633 <create permission="ADMIN_INVOICE_PAYMENT_METHOD" global_required="true"/>
8635 <update permission="ADMIN_INVOICE_PAYMENT_METHOD" global_required="true"/>
8636 <delete permission="ADMIN_INVOICE_PAYMENT_METHOD" global_required="true"/>
8641 <class id="acqinv" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="acq::invoice" oils_persist:tablename="acq.invoice" reporter:label="Invoice">
8642 <fields oils_persist:primary="id" oils_persist:sequence="acq.invoice_id_seq">
8643 <field reporter:label="Internal Invoice ID" name="id" reporter:datatype="id"/>
8644 <field reporter:label="Receiver" name="receiver" reporter:datatype="org_unit" />
8645 <field reporter:label="Provider" name="provider" reporter:datatype="link"/>
8646 <field reporter:label="Shipper" name="shipper" reporter:datatype="link"/>
8647 <field reporter:label="Invoice Date" name="recv_date" reporter:datatype="timestamp" />
8648 <field reporter:label="Receive Method" name="recv_method" reporter:datatype="link" />
8649 <field reporter:label="Invoice Type" name="inv_type" reporter:datatype="text" />
8650 <field reporter:label="Vendor Invoice ID" name="inv_ident" reporter:datatype="text" />
8651 <field reporter:label="Payment Auth" name="payment_auth" reporter:datatype="text" />
8652 <field reporter:label="Payment Method" name="payment_method" reporter:datatype="link" />
8653 <field reporter:label="Note" name="note" reporter:datatype="text" />
8654 <field reporter:label="Close Date" name="close_date" reporter:datatype="timestamp" />
8655 <field reporter:label="Closed By" name="closed_by" reporter:datatype="link" />
8656 <field reporter:label="Invoice Entries" name="entries" reporter:datatype="link" oils_persist:virtual="true"/>
8657 <field reporter:label="Invoice Items" name="items" reporter:datatype="link" oils_persist:virtual="true"/>
8660 <link field="receiver" reltype="has_a" key="id" map="" class="aou"/>
8661 <link field="provider" reltype="has_a" key="id" map="" class="acqpro"/>
8662 <link field="shipper" reltype="has_a" key="id" map="" class="acqpro"/>
8663 <link field="recv_method" reltype="has_a" key="code" map="" class="acqim"/>
8664 <link field="payment_method" reltype="has_a" key="code" map="" class="acqipm"/>
8665 <link field="entries" reltype="has_many" key="invoice" map="" class="acqie"/>
8666 <link field="items" reltype="has_many" key="invoice" map="" class="acqii"/>
8667 <link field="closed_by" reltype="has_a" key="id" map="" class="au"/>
8669 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8671 <create permission="CREATE_INVOICE" context_field="receiver"/>
8672 <retrieve permission="CREATE_INVOICE VIEW_INVOICE" context_field="receiver"/>
8673 <update permission="CREATE_INVOICE" context_field="receiver"/>
8674 <delete permission="CREATE_INVOICE" context_field="receiver"/>
8679 <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">
8680 <fields oils_persist:primary="id" oils_persist:sequence="acq.invoice_entry_id_seq">
8681 <field reporter:label="ID" name="id" reporter:datatype="id"/>
8682 <field reporter:label="Invoice" name="invoice" reporter:datatype="link" />
8683 <field reporter:label="Purchase Order" name="purchase_order" reporter:datatype="link"/>
8684 <field reporter:label="PO Line Item" name="lineitem" reporter:datatype="link"/>
8685 <field reporter:label="Invoice Item Count" name="inv_item_count" reporter:datatype="int" />
8686 <field reporter:label="Physical Item Count" name="phys_item_count" reporter:datatype="int" />
8687 <field reporter:label="Note" name="note" reporter:datatype="text" />
8688 <field reporter:label="Billed Cost per Item" name="billed_per_item" reporter:datatype="bool" />
8689 <field reporter:label="Cost Billed" name="cost_billed" reporter:datatype="money" />
8690 <field reporter:label="Actual Cost" name="actual_cost" reporter:datatype="money" />
8691 <field reporter:label="Amount Paid" name="amount_paid" reporter:datatype="money" />
8694 <link field="invoice" reltype="has_a" key="id" map="" class="acqinv"/>
8695 <link field="purchase_order" reltype="has_a" key="id" map="" class="acqpo"/>
8696 <link field="lineitem" reltype="has_a" key="id" map="" class="jub"/>
8698 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8700 <create permission="ADMIN_INVOICE">
8701 <context link="invoice" field="receiver"/>
8703 <retrieve permission="ADMIN_INVOICE">
8704 <context link="invoice" field="receiver"/>
8706 <update permission="ADMIN_INVOICE">
8707 <context link="invoice" field="receiver"/>
8709 <delete permission="ADMIN_INVOICE">
8710 <context link="invoice" field="receiver"/>
8716 <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">
8717 <fields oils_persist:primary="id" oils_persist:sequence="acq.invoice_item_id_seq">
8718 <field reporter:label="ID" name="id" reporter:datatype="id"/>
8719 <field reporter:label="Invoice" name="invoice" reporter:datatype="link" />
8720 <field reporter:label="Purchase Order" name="purchase_order" reporter:datatype="link"/>
8721 <field reporter:label="Fund Debit" name="fund_debit" reporter:datatype="link"/>
8722 <field reporter:label="Invoice Item Type" name="inv_item_type" reporter:datatype="link" />
8723 <field reporter:label="Title or Item Name" name="title" reporter:datatype="text" />
8724 <field reporter:label="Author" name="author" reporter:datatype="text" />
8725 <field reporter:label="Note" name="note" reporter:datatype="text" />
8726 <field reporter:label="Cost Billed" name="cost_billed" reporter:datatype="money" />
8727 <field reporter:label="Actual Cost" name="actual_cost" reporter:datatype="money" />
8728 <field reporter:label="Fund" name="fund" reporter:datatype="link" />
8729 <field reporter:label="Amount Paid" name="amount_paid" reporter:datatype="money" />
8730 <field reporter:label="Purchase Order Item" name="po_item" reporter:datatype="link" />
8731 <field reporter:label="Target" name="target" reporter:datatype="int" />
8734 <link field="invoice" reltype="has_a" key="id" map="" class="acqinv"/>
8735 <link field="purchase_order" reltype="has_a" key="id" map="" class="acqpo"/>
8736 <link field="fund_debit" reltype="has_a" key="id" map="" class="acqfdeb"/>
8737 <link field="inv_item_type" reltype="has_a" key="code" map="" class="aiit"/>
8738 <link field="fund" reltype="has_a" key="id" map="" class="acqf"/>
8739 <link field="po_item" reltype="has_a" key="id" map="" class="acqpoi"/>
8741 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8743 <create permission="ADMIN_INVOICE">
8744 <context link="invoice" field="receiver"/>
8746 <retrieve permission="ADMIN_INVOICE">
8747 <context link="invoice" field="receiver"/>
8749 <update permission="ADMIN_INVOICE">
8750 <context link="invoice" field="receiver"/>
8752 <delete permission="ADMIN_INVOICE">
8753 <context link="invoice" field="receiver"/>
8759 <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">
8760 <fields oils_persist:primary="id" oils_persist:sequence="acq.provider_address_id_seq">
8761 <field reporter:label="Address Type" name="address_type" reporter:datatype="text"/>
8762 <field reporter:label="City" name="city" reporter:datatype="text"/>
8763 <field reporter:label="Country" name="country" reporter:datatype="text"/>
8764 <field reporter:label="County" name="county" reporter:datatype="text"/>
8765 <field reporter:label="ID" name="id" reporter:datatype="id"/>
8766 <field reporter:label="Provider" name="provider" reporter:datatype="link"/>
8767 <field reporter:label="Post Code" name="post_code" reporter:datatype="text"/>
8768 <field reporter:label="State" name="state" reporter:datatype="text"/>
8769 <field reporter:label="Street 1" name="street1" reporter:datatype="text"/>
8770 <field reporter:label="Street 2" name="street2" reporter:datatype="text"/>
8771 <field reporter:label="Is Valid?" name="valid" reporter:datatype="bool"/>
8772 <field reporter:label="Fax Phone" name="fax_phone" reporter:datatype="text"/>
8775 <link field="provider" reltype="has_a" key="id" map="" class="acqpro"/>
8777 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8779 <create permission="ADMIN_PROVIDER">
8780 <context link="provider" field="owner"/>
8782 <retrieve permission="ADMIN_PROVIDER">
8783 <context link="provider" field="owner"/>
8785 <update permission="ADMIN_PROVIDER">
8786 <context link="provider" field="owner"/>
8788 <delete permission="ADMIN_PROVIDER">
8789 <context link="provider" field="owner"/>
8795 <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">
8796 <fields oils_persist:primary="id" oils_persist:sequence="acq.provider_contact_id_seq">
8797 <field reporter:label="ID" name="id" reporter:datatype="id"/>
8798 <field reporter:label="Provider" name="provider" reporter:datatype="link"/>
8799 <field reporter:label="Name" name="name" reporter:datatype="text"/>
8800 <field reporter:label="Role" name="role" reporter:datatype="text"/>
8801 <field reporter:label="Email" name="email" reporter:datatype="text"/>
8802 <field reporter:label="Phone" name="phone" reporter:datatype="text"/>
8805 <link field="provider" reltype="has_a" key="id" map="" class="acqpro"/>
8807 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8809 <create permission="ADMIN_PROVIDER">
8810 <context link="provider" field="owner"/>
8812 <retrieve permission="ADMIN_PROVIDER">
8813 <context link="provider" field="owner"/>
8815 <update permission="ADMIN_PROVIDER">
8816 <context link="provider" field="owner"/>
8818 <delete permission="ADMIN_PROVIDER">
8819 <context link="provider" field="owner"/>
8824 <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">
8825 <fields oils_persist:primary="id" oils_persist:sequence="acq.provider_contact_address_id_seq">
8826 <field reporter:label="Type" name="address_type" reporter:datatype="text"/>
8827 <field reporter:label="City" name="city" reporter:datatype="text"/>
8828 <field reporter:label="Country" name="country" reporter:datatype="text"/>
8829 <field reporter:label="County" name="county" reporter:datatype="text"/>
8830 <field reporter:label="Address ID" name="id" reporter:datatype="id" />
8831 <field reporter:label="Postal Code" name="post_code" reporter:datatype="text"/>
8832 <field reporter:label="State" name="state" reporter:datatype="text"/>
8833 <field reporter:label="Street (1)" name="street1" reporter:datatype="text"/>
8834 <field reporter:label="Street (2)" name="street2" reporter:datatype="text"/>
8835 <field reporter:label="Contact" name="contact" reporter:datatype="link"/>
8836 <field reporter:label="Valid Address?" name="valid" reporter:datatype="bool"/>
8837 <field reporter:label="Fax Phone" name="fax_phone" reporter:datatype="text"/>
8840 <link field="contact" reltype="has_a" key="id" map="" class="acqpc"/>
8842 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8844 <create permission="ADMIN_PROVIDER">
8845 <context link="contact" jump='provider' field="owner"/>
8847 <retrieve permission="ADMIN_PROVIDER">
8848 <context link="contact" jump='provider' field="owner"/>
8850 <update permission="ADMIN_PROVIDER">
8851 <context link="contact" jump='provider' field="owner"/>
8853 <delete permission="ADMIN_PROVIDER">
8854 <context link="contact" jump='provider' field="owner"/>
8860 <class id="acqftr" controller="open-ils.cstore" oils_obj:fieldmapper="acq::fund_transfer" oils_persist:tablename="acq.fund_transfer" reporter:label="Fund Transfer">
8861 <fields oils_persist:primary="id" oils_persist:sequence="acq.fund_transfer_id_seq">
8862 <field reporter:label="Fund Transfer ID" name="id" reporter:datatype="id"/>
8863 <field reporter:label="Source Fund" name="src_fund" reporter:datatype="link"/>
8864 <field reporter:label="Source Amount" name="src_amount" reporter:datatype="money"/>
8865 <field reporter:label="Destination Fund" name="dest_fund" reporter:datatype="link"/>
8866 <field reporter:label="Destination Amount" name="dest_amount" reporter:datatype="money"/>
8867 <field reporter:label="Transfer Time" name="transfer_time" reporter:datatype="timestamp"/>
8868 <field reporter:label="Transfer User" name="transfer_user" reporter:datatype="link"/>
8869 <field reporter:label="Note" name="note" reporter:datatype="text"/>
8870 <field reporter:label="Funding Source Credit ID" name="funding_source_credit" reporter:datatype="link"/>
8873 <link field="src_fund" reltype="has_a" key="id" map="" class="acqf"/>
8874 <link field="dest_fund" reltype="has_a" key="id" map="" class="acqf"/>
8875 <link field="transfer_user" reltype="has_a" key="id" map="" class="au"/>
8876 <link field="funding_source_credit" reltype="has_a" key="id" map="" class="acqfscred"/>
8880 <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">
8881 <fields oils_persist:primary="id" oils_persist:sequence="acq.fiscal_calendar_id_seq">
8882 <field reporter:label="Fiscal Calendar ID" name="id" reporter:datatype="id" reporter:selector='name'/>
8883 <field reporter:label="Fiscal Calendar Name" name="name" reporter:datatype="text"/>
8884 <field reporter:label="Years" name="years" oils_persist:virtual="true" reporter:datatype="link"/>
8887 <link field="years" reltype="has_many" map="" key="calendar" class="acqfy"/>
8889 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8891 <create permission="ADMIN_ACQ_FISCAL_YEAR" global_required="true"/>
8892 <retrieve permission="STAFF_LOGIN" global_required="true"/>
8893 <update permission="ADMIN_ACQ_FISCAL_YEAR" global_required="true"/>
8894 <delete permission="ADMIN_ACQ_FISCAL_YEAR" global_required="true"/>
8899 <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">
8900 <fields oils_persist:primary="id" oils_persist:sequence="acq.fiscal_year_id_seq">
8901 <field reporter:label="Fiscal Year ID" name="id" reporter:datatype="id" reporter:selector='year'/>
8902 <field reporter:label="Calendar" name="calendar" reporter:datatype="link"/>
8903 <field reporter:label="Fiscal Year" name="year" reporter:datatype="int"/>
8904 <field reporter:label="Year Begin" name="year_begin" reporter:datatype="timestamp"/>
8905 <field reporter:label="Year End" name="year_end" reporter:datatype="timestamp"/>
8908 <link field="calendar" reltype="has_a" key="id" map="" class="acqfc"/>
8910 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8912 <create permission="ADMIN_ACQ_FISCAL_YEAR" global_required="true"/>
8913 <retrieve permission="STAFF_LOGIN" global_required="true"/>
8914 <update permission="ADMIN_ACQ_FISCAL_YEAR" global_required="true"/>
8915 <delete permission="ADMIN_ACQ_FISCAL_YEAR" global_required="true"/>
8920 <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">
8921 <fields oils_persist:primary="id" oils_persist:sequence="acq.funding_source_id_seq">
8922 <field reporter:label="Funding Source ID" name="id" reporter:datatype="id" reporter:selector='code'/>
8923 <field reporter:label="Funding Source Name" name="name" reporter:datatype="text" oils_persist:i18n="true" />
8924 <field reporter:label="Owner" name="owner" reporter:datatype="org_unit" />
8925 <field reporter:label="Currency" name="currency_type" oils_persist:primitive="string" reporter:datatype="link" />
8926 <field reporter:label="Code" name="code" reporter:datatype="text" />
8927 <field reporter:label="Summary" name="summary" oils_persist:virtual="true"/>
8928 <field reporter:label="Allocations" name="allocations" oils_persist:virtual="true" reporter:datatype="link"/>
8929 <field reporter:label="Credits" name="credits" oils_persist:virtual="true" reporter:datatype="link"/>
8930 <field reporter:label="Fund Allocation Percentages" name="fund_alloc_pcts" oils_persist:virtual="true" reporter:datatype="link"/>
8933 <link field="currency_type" reltype="has_a" key="code" map="" class="acqct"/>
8934 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
8935 <link field="allocations" reltype="has_many" map="" key="funding_source" class="acqfa"/>
8936 <link field="credits" reltype="has_many" key="funding_source" map="" class="acqfscred"/>
8937 <link field="fund_alloc_pcts" reltype="has_many" key="funding_source" map="" class="acqfap"/>
8939 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8941 <create permission="ADMIN_FUNDING_SOURCE" context_field="owner"/>
8942 <retrieve permission="ADMIN_FUNDING_SOURCE MANAGE_FUNDING_SOURCE VIEW_FUNDING_SOURCE" context_field="owner"/>
8943 <update permission="ADMIN_FUNDING_SOURCE" context_field="owner"/>
8944 <delete permission="ADMIN_FUNDING_SOURCE" context_field="owner"/>
8949 <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">
8950 <fields oils_persist:primary="id" oils_persist:sequence="acq.funding_source_credit_id_seq">
8951 <field reporter:label="Credit ID" name="id" reporter:datatype="id" />
8952 <field reporter:label="Funding Source ID" name="funding_source" reporter:datatype="link" />
8953 <field reporter:label="Amount" name="amount" reporter:datatype="money" />
8954 <field reporter:label="Note" name="note" reporter:datatype="text" />
8955 <field reporter:label="Deadline Date" name="deadline_date" reporter:datatype="timestamp" />
8956 <field reporter:label="Effective Date" name="effective_date" reporter:datatype="timestamp" />
8959 <link field="funding_source" reltype="has_a" key="id" map="" class="acqfs"/>
8961 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
8963 <create permission="ADMIN_FUNDING_SOURCE">
8964 <context link="funding_source" field="owner"/>
8966 <retrieve permission="ADMIN_FUNDING_SOURCE">
8967 <context link="funding_source" field="owner"/>
8969 <update permission="ADMIN_FUNDING_SOURCE">
8970 <context link="funding_source" field="owner"/>
8972 <delete permission="ADMIN_FUNDING_SOURCE">
8973 <context link="funding_source" field="owner"/>
8979 <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">
8980 <fields oils_persist:primary="id">
8981 <field reporter:label="Ordered Fund Src ID" name="id" reporter:datatype="id"/>
8982 <field reporter:label="Sort Priority" name="sort_priority" reporter:datatype="int"/>
8983 <field reporter:label="Sort Date" name="sort_date" reporter:datatype="timestamp"/>
8984 <field reporter:label="Funding Source ID" name="funding_source" reporter:datatype="link"/>
8985 <field reporter:label="Amount" name="amount" reporter:datatype="money"/>
8986 <field reporter:label="Note" name="note" reporter:datatype="text"/>
8989 <link field="funding_source" reltype="has_a" key="id" map="" class="acqfs"/>
8993 <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">
8994 <fields oils_persist:primary="id" oils_persist:sequence="acq.fund_debit_id_seq">
8995 <field reporter:label="Debit ID" name="id" reporter:datatype="id" />
8996 <field reporter:label="Fund ID" name="fund" reporter:datatype="link" />
8997 <field reporter:label="Origin Amount" name="origin_amount" reporter:datatype="money" />
8998 <field reporter:label="Origin Currency" name="origin_currency_type" reporter:datatype="link" />
8999 <field reporter:label="Amount" name="amount" reporter:datatype="money" />
9000 <field reporter:label="Encumbrance" name="encumbrance" reporter:datatype="bool" />
9001 <field reporter:label="Debit Type" name="debit_type" reporter:datatype="text" />
9002 <field reporter:label="Create Time" name="create_time" reporter:datatype="timestamp" />
9003 <field reporter:label="Invoice Entry" name="invoice_entry" reporter:datatype="link" />
9006 <link field="fund" reltype="has_a" key="id" map="" class="acqf"/>
9007 <link field="origin_currency_type" reltype="has_a" key="code" map="" class="acqct"/>
9008 <link field="invoice_entry" reltype="has_a" key="id" map="" class="acqie"/>
9010 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
9012 <create permission="ADMIN_ACQ_FUND">
9013 <context link="fund" field="org"/>
9015 <retrieve permission="ADMIN_ACQ_FUND">
9016 <context link="fund" field="org"/>
9018 <update permission="ADMIN_ACQ_FUND">
9019 <context link="fund" field="org"/>
9021 <delete permission="ADMIN_ACQ_FUND">
9022 <context link="fund" field="org"/>
9028 <class id="acqf" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="acq::fund" oils_persist:tablename="acq.fund" reporter:label="Fund">
9029 <fields oils_persist:primary="id" oils_persist:sequence="acq.fund_id_seq">
9030 <field reporter:label="Fund ID" name="id" reporter:datatype="id" reporter:selector='code'/>
9031 <field reporter:label="Org Unit" name="org" reporter:datatype="org_unit" />
9032 <field reporter:label="Name" name="name" reporter:datatype="text" />
9033 <field reporter:label="Year" name="year" reporter:datatype="int" />
9034 <field reporter:label="Currency Type" name="currency_type" reporter:datatype="link" />
9035 <field reporter:label="Code" name="code" reporter:datatype="text" />
9036 <field reporter:label="Rollover" name="rollover" reporter:datatype="bool" />
9037 <field reporter:label="Propagate" name="propagate" reporter:datatype="bool" />
9038 <field reporter:label="Active" name="active" reporter:datatype="bool" />
9039 <field reporter:label="Balance Warning Percent" name="balance_warning_percent" reporter:datatype="int" />
9040 <field reporter:label="Balance Stop Percent" name="balance_stop_percent" reporter:datatype="int" />
9041 <field reporter:label="Summary" name="summary" oils_persist:virtual="true"/>
9042 <field reporter:label="Allocations" name="allocations" oils_persist:virtual="true" reporter:datatype="link"/>
9043 <field reporter:label="Debits" name="debits" oils_persist:virtual="true" reporter:datatype="link"/>
9044 <field reporter:label="Tags" name="tags" oils_persist:virtual="true" reporter:datatype="link"/>
9045 <field reporter:label="Allocation Total" name="allocation_total" oils_persist:virtual="true" reporter:datatype="link"/>
9046 <field reporter:label="Debit Total" name="debit_total" oils_persist:virtual="true" reporter:datatype="link"/>
9047 <field reporter:label="Encumbrance Total" name="encumbrance_total" oils_persist:virtual="true" reporter:datatype="link"/>
9048 <field reporter:label="Spent Total" name="spent_total" oils_persist:virtual="true" reporter:datatype="link"/>
9049 <field reporter:label="Combined Balance" name="combined_balance" oils_persist:virtual="true" reporter:datatype="link"/>
9050 <field reporter:label="Spent Balance" name="spent_balance" oils_persist:virtual="true" reporter:datatype="link"/>
9053 <link field="org" reltype="has_a" key="id" map="" class="aou"/>
9054 <link field="currency_type" reltype="has_a" key="code" map="" class="acqct"/>
9055 <link field="allocations" reltype="has_many" key="fund" map="" class="acqfa"/>
9056 <link field="debits" reltype="has_many" key="fund" map="" class="acqfdeb"/>
9057 <link field="tags" reltype="has_many" key="fund" map="" class="acqftm"/>
9058 <link field="allocation_total" reltype="might_have" key="fund" map="" class="acqfat"/>
9059 <link field="debit_total" reltype="might_have" key="fund" map="" class="acqfdt"/>
9060 <link field="encumbrance_total" reltype="might_have" key="fund" map="" class="acqfet"/>
9061 <link field="spent_total" reltype="might_have" key="fund" map="" class="acqfst"/>
9062 <link field="combined_balance" reltype="might_have" key="fund" map="" class="acqfcb"/>
9063 <link field="spent_balance" reltype="might_have" key="fund" map="" class="acqfsb"/>
9065 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1" ignore_object_perms="true">
9067 <create permission="ADMIN_ACQ_FUND" context_field="org"/>
9068 <retrieve permission="ADMIN_ACQ_FUND VIEW_FUND MANAGE_FUND" context_field="org"/>
9069 <update permission="ADMIN_ACQ_FUND" context_field="org"/>
9070 <delete permission="ADMIN_ACQ_FUND" context_field="org"/>
9075 <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">
9076 <fields oils_persist:primary="fund">
9077 <field reporter:label="Fund ID" name="fund" reporter:datatype="link" />
9078 <field reporter:label="Total Allocation Amount" name="amount" reporter:datatype="money" />
9081 <link field="fund" reltype="has_a" key="id" map="" class="acqf"/>
9083 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
9085 <retrieve permission="ADMIN_ACQ_FUND VIEW_FUND MANAGE_FUND">
9086 <context link="fund" field="org" />
9092 <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">
9093 <fields oils_persist:primary="fund">
9094 <field reporter:label="Fund ID" name="fund" reporter:datatype="link" />
9095 <field reporter:label="Total Debit Amount" name="amount" reporter:datatype="money" />
9098 <link field="fund" reltype="has_a" key="id" map="" class="acqf"/>
9100 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
9102 <retrieve permission="ADMIN_ACQ_FUND VIEW_FUND MANAGE_FUND">
9103 <context link="fund" field="org" />
9109 <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">
9110 <fields oils_persist:primary="fund">
9111 <field reporter:label="Fund ID" name="fund" reporter:datatype="link" />
9112 <field reporter:label="Total Encumbrance Amount" name="amount" reporter:datatype="money" />
9115 <link field="fund" reltype="has_a" key="id" map="" class="acqf"/>
9117 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
9119 <retrieve permission="ADMIN_ACQ_FUND VIEW_FUND MANAGE_FUND">
9120 <context link="fund" field="org" />
9126 <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">
9127 <fields oils_persist:primary="fund">
9128 <field reporter:label="Fund ID" name="fund" reporter:datatype="link" />
9129 <field reporter:label="Total Spent Amount" name="amount" reporter:datatype="money" />
9132 <link field="fund" reltype="has_a" key="id" map="" class="acqf"/>
9134 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
9136 <retrieve permission="ADMIN_ACQ_FUND VIEW_FUND MANAGE_FUND">
9137 <context link="fund" field="org" />
9143 <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">
9144 <fields oils_persist:primary="fund">
9145 <field reporter:label="Fund ID" name="fund" reporter:datatype="link" />
9146 <field reporter:label="Balance after Spent and Encumbered" name="amount" reporter:datatype="money" />
9149 <link field="fund" reltype="has_a" key="id" map="" class="acqf"/>
9151 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
9153 <retrieve permission="ADMIN_ACQ_FUND VIEW_FUND MANAGE_FUND">
9154 <context link="fund" field="org" />
9160 <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">
9161 <fields oils_persist:primary="fund">
9162 <field reporter:label="Fund ID" name="fund" reporter:datatype="link" />
9163 <field reporter:label="Total Allocation Amount" name="amount" reporter:datatype="money" />
9166 <link field="fund" reltype="has_a" key="id" map="" class="acqf"/>
9170 <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">
9171 <fields oils_persist:primary="fund">
9172 <field reporter:label="Fund ID" name="fund" reporter:datatype="link" />
9173 <field reporter:label="Total Encumbered Amount" name="amount" reporter:datatype="money" />
9176 <link field="fund" reltype="has_a" key="id" map="" class="acqf"/>
9180 <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">
9181 <fields oils_persist:primary="fund">
9182 <field reporter:label="Fund ID" name="fund" reporter:datatype="link" />
9183 <field reporter:label="Total Spent Amount" name="amount" reporter:datatype="money" />
9186 <link field="fund" reltype="has_a" key="id" map="" class="acqf"/>
9190 <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">
9191 <fields oils_persist:primary="fund">
9192 <field reporter:label="Fund ID" name="fund" reporter:datatype="link" />
9193 <field reporter:label="Total Spent Balance" name="amount" reporter:datatype="money" />
9196 <link field="fund" reltype="has_a" key="id" map="" class="acqf"/>
9200 <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">
9201 <fields oils_persist:primary="fund">
9202 <field reporter:label="Fund ID" name="fund" reporter:datatype="link" />
9203 <field reporter:label="Total Combined Balance" name="amount" reporter:datatype="money" />
9206 <link field="fund" reltype="has_a" key="id" map="" class="acqf"/>
9210 <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">
9211 <fields oils_persist:primary="funding_source">
9212 <field reporter:label="Funding Source" name="funding_source" reporter:datatype="link" />
9213 <field reporter:label="Total Credits to Funding Source" name="amount" reporter:datatype="money" />
9216 <link field="funding_source" reltype="has_a" key="id" map="" class="acqfs"/>
9220 <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">
9221 <fields oils_persist:primary="funding_source">
9222 <field reporter:label="Funding Source" name="funding_source" reporter:datatype="link" />
9223 <field reporter:label="Total Allocated from Funding Source" name="amount" reporter:datatype="money" />
9226 <link field="funding_source" reltype="has_a" key="id" map="" class="acqfs"/>
9230 <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">
9231 <fields oils_persist:primary="funding_source">
9232 <field reporter:label="Funding Source" name="funding_source" reporter:datatype="link" />
9233 <field reporter:label="Balance Remaining" name="amount" reporter:datatype="money" />
9236 <link field="funding_source" reltype="has_a" key="id" map="" class="acqfs"/>
9240 <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">
9241 <fields oils_persist:primary="fund">
9242 <field reporter:label="Fund ID" name="fund" reporter:datatype="link" />
9243 <field reporter:label="Balance after Spent" name="amount" reporter:datatype="money" />
9246 <link field="fund" reltype="has_a" key="id" map="" class="acqf"/>
9248 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
9250 <retrieve permission="ADMIN_ACQ_FUND VIEW_FUND MANAGE_FUND">
9251 <context link="fund" field="org" />
9256 <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">
9257 <oils_persist:source_definition><![CDATA[
9260 COALESCE(acqfat.amount, 0.00) AS allocated_total,
9261 COALESCE(acqfst.amount, 0.00) AS spent_total,
9262 COALESCE(acqfet.amount, 0.00) AS encumbrance_total,
9263 COALESCE(acqfcb.amount, 0.00) AS combined_balance
9266 LEFT JOIN acq.fund_allocation_total acqfat ON (acqfat.fund = acqf.id)
9267 LEFT JOIN acq.fund_spent_total acqfst ON (acqfst.fund = acqf.id)
9268 LEFT JOIN acq.fund_encumbrance_total acqfet ON (acqfet.fund = acqf.id)
9269 LEFT JOIN acq.fund_combined_balance acqfcb ON (acqfcb.fund = acqf.id)
9270 ]]></oils_persist:source_definition>
9271 <fields oils_persist:primary="id" oils_persist:sequence="acq.fund_id_seq">
9272 <field reporter:label="Fund ID" name="id" reporter:datatype="id" reporter:selector='code'/>
9273 <field reporter:label="Org Unit" name="org" reporter:datatype="org_unit" />
9274 <field reporter:label="Name" name="name" reporter:datatype="text" />
9275 <field reporter:label="Year" name="year" reporter:datatype="int" />
9276 <field reporter:label="Currency Type" name="currency_type" reporter:datatype="link" />
9277 <field reporter:label="Code" name="code" reporter:datatype="text" />
9278 <field reporter:label="Rollover" name="rollover" reporter:datatype="bool" />
9279 <field reporter:label="Propagate" name="propagate" reporter:datatype="bool" />
9280 <field reporter:label="Active" name="active" reporter:datatype="bool" />
9281 <field reporter:label="Balance Warning Percent" name="balance_warning_percent" reporter:datatype="int" />
9282 <field reporter:label="Balance Stop Percent" name="balance_stop_percent" reporter:datatype="int" />
9284 <!-- non fund-native fields -->
9285 <field reporter:label="Total Allocated" name="allocated_total" reporter:datatype="money"/>
9286 <field reporter:label="Total Spent" name="spent_total" reporter:datatype="money"/>
9287 <field reporter:label="Total Encumbered" name="encumbrance_total" reporter:datatype="money"/>
9288 <field reporter:label="Remaining Balance" name="combined_balance" reporter:datatype="money"/>
9291 <link field="id" reltype="has_a" key="id" map="" class="acqf"/>
9292 <link field="org" reltype="has_a" key="id" map="" class="aou"/>
9293 <link field="currency_type" reltype="has_a" key="code" map="" class="acqct"/>
9295 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
9297 <retrieve permission="ADMIN_ACQ_FUND VIEW_FUND MANAGE_FUND" context_field="org"/>
9301 <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">
9302 <fields oils_persist:primary="id" oils_persist:sequence="acq.fund_allocation_id_seq">
9303 <field reporter:label="Allocation ID" name="id" reporter:datatype="id" />
9304 <field reporter:label="Fund" name="fund" reporter:datatype="link" />
9305 <field reporter:label="Funding Source" name="funding_source" reporter:datatype="link" />
9306 <field reporter:label="Amount" name="amount" reporter:datatype="money" />
9307 <field reporter:label="Allocating User" name="allocator" reporter:datatype="link" />
9308 <field reporter:label="Note" name="note" reporter:datatype="text" />
9309 <field reporter:label="Create Time" name="create_time" reporter:datatype="timestamp" />
9312 <link field="allocator" reltype="has_a" key="id" map="" class="au"/>
9313 <link field="fund" reltype="has_a" key="id" map="" class="acqf"/>
9314 <link field="funding_source" reltype="has_a" key="id" map="" class="acqfs"/>
9316 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
9318 <create permission="ADMIN_ACQ_FUND">
9319 <context link="fund" field="org"/>
9321 <retrieve permission="ADMIN_ACQ_FUND">
9322 <context link="fund" field="org"/>
9324 <update permission="ADMIN_ACQ_FUND">
9325 <context link="fund" field="org"/>
9327 <delete permission="ADMIN_ACQ_FUND">
9328 <context link="fund" field="org"/>
9334 <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">
9335 <fields oils_persist:primary="id" oils_persist:sequence="acq.fund_allocation_percent_id_seq">
9336 <field reporter:label="Allocation ID" name="id" reporter:datatype="id" />
9337 <field reporter:label="Funding Source" name="funding_source" reporter:datatype="link" />
9338 <field reporter:label="Org Unit" name="org" reporter:datatype="org_unit" />
9339 <field reporter:label="Fund Code" name="fund_code" reporter:datatype="text" />
9340 <field reporter:label="Percent" name="percent" reporter:datatype="float" />
9341 <field reporter:label="Allocating User" name="allocator" reporter:datatype="link" />
9342 <field reporter:label="Note" name="note" reporter:datatype="text" />
9343 <field reporter:label="Create Time" name="create_time" reporter:datatype="timestamp" />
9346 <link field="allocator" reltype="has_a" key="id" map="" class="au"/>
9347 <link field="org" reltype="has_a" key="id" map="" class="aou"/>
9348 <link field="funding_source" reltype="has_a" key="id" map="" class="acqfs"/>
9350 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
9352 <create permission="ADMIN_ACQ_FUND_ALLOCATION_PERCENT" global_required="true"/>
9353 <retrieve permission="VIEW_ACQ_FUND_ALLOCATION_PERCENT" global_required="true"/>
9354 <update permission="ADMIN_ACQ_FUND_ALLOCATION_PERCENT" global_required="true"/>
9355 <delete permission="ADMIN_ACQ_FUND_ALLOCATION_PERCENT" global_required="true"/>
9360 <class id="acqpl" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="acq::picklist" oils_persist:tablename="acq.picklist" reporter:label="Selection List">
9361 <fields oils_persist:primary="id" oils_persist:sequence="acq.picklist_id_seq">
9362 <field reporter:label="Selection List ID" name="id" reporter:datatype="id" reporter:selector='name' />
9363 <field reporter:label="Owner" name="owner" reporter:datatype="link" />
9364 <field reporter:label="Org Unit" name="org_unit" reporter:datatype="org_unit" />
9365 <field reporter:label="Name" name="name" reporter:datatype="text" oils_persist:i18n="true" />
9366 <field reporter:label="Creation Time" name="create_time" reporter:datatype="timestamp" />
9367 <field reporter:label="Edit Time" name="edit_time" reporter:datatype="timestamp" />
9368 <field reporter:label="Entries" name="entries" oils_persist:virtual="true" reporter:datatype="link" />
9369 <field reporter:label="Entry Count" name="entry_count" oils_persist:virtual="true"/>
9370 <field reporter:label="Creator" name="creator" reporter:datatype="link" />
9371 <field reporter:label="Editor" name="editor" reporter:datatype="link" />
9374 <link field="owner" reltype="has_a" key="id" map="" class="au"/>
9375 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
9376 <link field="editor" reltype="has_a" key="id" map="" class="au"/>
9377 <link field="org_unit" reltype="has_a" key="id" map="" class="aou"/>
9378 <link field="entries" reltype="has_many" key="picklist" map="" class="jub"/>
9380 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
9382 <retrieve permission="CREATE_PICKLIST VIEW_PICKLIST" context_field="org_unit"/>
9387 <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">
9388 <fields oils_persist:primary="id" oils_persist:sequence="acq.cancel_reason_id_seq">
9389 <field reporter:label="ID" name="id" reporter:datatype="id" reporter:selector='label'/>
9390 <field reporter:label="Using Library" name="org_unit" reporter:datatype="org_unit"/>
9391 <field reporter:label="Label" name="label" reporter:datatype="text" oils_persist:i18n="true"/>
9392 <field reporter:label="Description" name="description" reporter:datatype="text" oils_persist:i18n="true"/>
9393 <field reporter:label="Keep Debits?" name="keep_debits" reporter:datatype="bool"/>
9396 <link field="org_unit" reltype="has_a" key="id" map="" class="aou"/>
9398 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
9400 <create permission="ADMIN_ACQ_CANCEL_CAUSE" context_field="org_unit"/>
9401 <retrieve permission="STAFF_LOGIN" context_field="org_unit"/>
9402 <update permission="ADMIN_ACQ_CANCEL_CAUSE" context_field="org_unit"/>
9403 <delete permission="ADMIN_ACQ_CANCEL_CAUSE" context_field="org_unit"/>
9408 <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">
9409 <fields oils_persist:primary="id" oils_persist:sequence="acq.purchase_order_id_seq">
9410 <field reporter:label="Purchase Order ID" name="id" reporter:datatype="id" reporter:selector='name'/>
9411 <field reporter:label="Owner" name="owner" reporter:datatype="link" />
9412 <field reporter:label="Creation Time" name="create_time" reporter:datatype="timestamp" />
9413 <field reporter:label="Edit Time" name="edit_time" reporter:datatype="timestamp" />
9414 <field reporter:label="Provider" name="provider" reporter:datatype="link" />
9415 <field reporter:label="State" name="state" reporter:datatype="text" />
9416 <field reporter:label="Ordering Agency" name="ordering_agency" reporter:datatype="org_unit" />
9417 <field reporter:label="Creator" name="creator" reporter:datatype="link" />
9418 <field reporter:label="Editor" name="editor" reporter:datatype="link" />
9419 <field reporter:label="Order Date" name="order_date" reporter:datatype="timestamp" />
9420 <field reporter:label="Name" name="name" reporter:datatype="text" />
9421 <field reporter:label="Cancel Reason" name="cancel_reason" reporter:datatype="link" />
9422 <field reporter:label="Prepayment Required" name="prepayment_required" reporter:datatype="bool" />
9423 <field reporter:label="Line Items" name="lineitems" oils_persist:virtual="true" reporter:datatype="link" />
9424 <field reporter:label="Notes" name="notes" oils_persist:virtual="true" reporter:datatype="link" />
9425 <field reporter:label="Line Item Count" name="lineitem_count" oils_persist:virtual="true" reporter:datatype="int" />
9426 <field reporter:label="Amount Encumbered" name="amount_encumbered" oils_persist:virtual="true" reporter:datatype="float" />
9427 <field reporter:label="Amount Spent" name="amount_spent" oils_persist:virtual="true" reporter:datatype="float" />
9428 <field reporter:label="Amount Estimated" name="amount_estimated" oils_persist:virtual="true" reporter:datatype="float" />
9429 <field reporter:label="PO Items" name="po_items" oils_persist:virtual="true" reporter:datatype="link" />
9432 <link field="owner" reltype="has_a" key="id" map="" class="au"/>
9433 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
9434 <link field="editor" reltype="has_a" key="id" map="" class="au"/>
9435 <link field="default_fund" reltype="has_a" key="id" map="" class="acqf"/>
9436 <link field="provider" reltype="has_a" key="id" map="" class="acqpro"/>
9437 <link field="lineitems" reltype="has_many" key="purchase_order" map="" class="jub"/>
9438 <link field="po_items" reltype="has_many" key="purchase_order" map="" class="acqpoi"/>
9439 <link field="notes" reltype="has_many" key="purchase_order" map="" class="acqpon"/>
9440 <link field="ordering_agency" reltype="has_a" key="id" map="" class="aou"/>
9441 <link field="cancel_reason" reltype="has_a" key="id" map="" class="acqcr"/>
9443 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
9445 <create permission="CREATE_PURCHASE_ORDER" context_field="ordering_agency"/>
9446 <retrieve permission="CREATE_PURCHASE_ORDER VIEW_PURCHASE_ORDER" context_field="ordering_agency"/>
9447 <update permission="CREATE_PURCHASE_ORDER" context_field="ordering_agency"/>
9448 <delete permission="CREATE_PURCHASE_ORDER" context_field="ordering_agency"/>
9453 <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">
9454 <fields oils_persist:primary="audit_id" oils_persist:sequence="acq.acq_purchase_order_pkey_seq">
9455 <field reporter:label="Audit ID" name="audit_id" reporter:datatype="id"/>
9456 <field reporter:label="Audit Time" name="audit_time" reporter:datatype="timestamp"/>
9457 <field reporter:label="Audit Action" name="audit_action" reporter:datatype="text"/>
9458 <field reporter:label="Purchase Order ID" name="id" reporter:datatype="link"/>
9459 <field reporter:label="Owner" name="owner" reporter:datatype="link"/>
9460 <field reporter:label="Creator" name="creator" reporter:datatype="link"/>
9461 <field reporter:label="Editor" name="editor" reporter:datatype="link"/>
9462 <field reporter:label="Ordering Agency" name="ordering_agency" reporter:datatype="link"/>
9463 <field reporter:label="Create Time" name="create_time" reporter:datatype="timestamp"/>
9464 <field reporter:label="Edit Time" name="edit_time" reporter:datatype="timestamp"/>
9465 <field reporter:label="Provider" name="provider" reporter:datatype="link"/>
9466 <field reporter:label="State" name="state" reporter:datatype="text"/>
9467 <field reporter:label="Order Date" name="order_date" reporter:datatype="timestamp"/>
9468 <field reporter:label="Name" name="name" reporter:datatype="text"/>
9469 <field reporter:label="Cancel Reason" name="cancel_reason" reporter:datatype="link"/>
9470 <field reporter:label="Prepayment Required" name="prepayment_required" reporter:datatype="bool" />
9473 <link field="id" reltype="has_a" key="id" map="" class="acqpo"/>
9474 <link field="owner" reltype="has_a" key="id" map="" class="au"/>
9475 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
9476 <link field="editor" reltype="has_a" key="id" map="" class="au"/>
9477 <link field="ordering_agency" reltype="has_a" key="id" map="" class="aou"/>
9478 <link field="provider" reltype="has_a" key="id" map="" class="acqpro"/>
9479 <link field="cancel_reason" reltype="has_a" key="id" map="" class="acqcr"/>
9481 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
9483 <retrieve permission="CREATE_PURCHASE_ORDER VIEW_PURCHASE_ORDER" context_field="ordering_agency"/>
9488 <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">
9489 <fields oils_persist:primary="id" oils_persist:sequence="acq.po_note_id_seq">
9490 <field reporter:label="PO Note ID" name="id" reporter:datatype="id" />
9491 <field reporter:label="Purchase Order" name="purchase_order" reporter:datatype="link" />
9492 <field reporter:label="Creator" name="creator" reporter:datatype="link" />
9493 <field reporter:label="Creation Time" name="create_time" reporter:datatype="timestamp" />
9494 <field reporter:label="Edit Time" name="edit_time" reporter:datatype="timestamp" />
9495 <field reporter:label="Editor" name="editor" reporter:datatype="link" />
9496 <field reporter:label="Vote Value" name="value" reporter:datatype="text" />
9497 <field reporter:label="Vendor Public" name="vendor_public" reporter:datatype="bool" />
9500 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
9501 <link field="editor" reltype="has_a" key="id" map="" class="au"/>
9502 <link field="purchase_order" reltype="has_a" key="id" map="" class="acqpo"/>
9504 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
9506 <create permission="CREATE_PURCHASE_ORDER">
9507 <context link="purchase_order" field="ordering_agency"/>
9509 <retrieve permission="CREATE_PURCHASE_ORDER VIEW_PURCHASE_ORDER">
9510 <context link="purchase_order" field="ordering_agency"/>
9512 <update permission="CREATE_PURCHASE_ORDER">
9513 <context link="purchase_order" field="ordering_agency"/>
9515 <delete permission="CREATE_PURCHASE_ORDER">
9516 <context link="purchase_order" field="ordering_agency"/>
9522 <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">
9523 <fields oils_persist:primary="id" oils_persist:sequence="acq.po_item_id_seq">
9524 <field reporter:label="ID" name="id" reporter:datatype="id"/>
9525 <field reporter:label="Purchase Order" name="purchase_order" reporter:datatype="link"/>
9526 <field reporter:label="Fund Debit" name="fund_debit" reporter:datatype="link"/>
9527 <field reporter:label="Invoice Item Type" name="inv_item_type" reporter:datatype="link"/>
9528 <field reporter:label="Title" name="title" reporter:datatype="text"/>
9529 <field reporter:label="Author" name="author" reporter:datatype="text"/>
9530 <field reporter:label="Note" name="note" reporter:datatype="text"/>
9531 <field reporter:label="Estimated Cost" name="estimated_cost" reporter:datatype="money"/>
9532 <field reporter:label="Fund" name="fund" reporter:datatype="link"/>
9533 <field reporter:label="Target" name="target" reporter:datatype="int" />
9536 <link field="purchase_order" reltype="has_a" key="id" map="" class="acqpo"/>
9537 <link field="fund_debit" reltype="has_a" key="id" map="" class="acqfdeb"/>
9538 <link field="inv_item_type" reltype="has_a" key="code" map="" class="aiit"/>
9539 <link field="fund" reltype="has_a" key="id" map="" class="acqf"/>
9541 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
9543 <create permission="CREATE_PURCHASE_ORDER">
9544 <context link="purchase_order" field="ordering_agency"/>
9546 <retrieve permission="CREATE_PURCHASE_ORDER VIEW_PURCHASE_ORDER">
9547 <context link="purchase_order" field="ordering_agency"/>
9549 <update permission="CREATE_PURCHASE_ORDER">
9550 <context link="purchase_order" field="ordering_agency"/>
9552 <delete permission="CREATE_PURCHASE_ORDER">
9553 <context link="purchase_order" field="ordering_agency"/>
9559 <class id="jub" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="acq::lineitem" oils_persist:tablename="acq.lineitem" reporter:label="Line Item">
9560 <fields oils_persist:primary="id" oils_persist:sequence="acq.lineitem_id_seq">
9561 <field reporter:label="Lineitem ID" name="id" reporter:datatype="id" />
9562 <field reporter:label="Selecting User" name="selector" reporter:datatype="link" />
9563 <field reporter:label="Selection List" name="picklist" reporter:datatype="link" />
9564 <field reporter:label="Purchase Order" name="purchase_order" reporter:datatype="link" />
9565 <field reporter:label="Provider" name="provider" reporter:datatype="link" />
9566 <field reporter:label="Creation Time" name="create_time" reporter:datatype="timestamp" />
9567 <field reporter:label="Edit Time" name="edit_time" reporter:datatype="timestamp" />
9568 <field reporter:label="MARC" name="marc" reporter:datatype="text" />
9569 <field reporter:label="Evergreen Bib ID" name="eg_bib_id" reporter:datatype="link" />
9570 <field reporter:label="Source Label" name="source_label" reporter:datatype="text" />
9571 <field reporter:label="Expected Receive Date" name="expected_recv_time" reporter:datatype="timestamp" />
9572 <field reporter:label="State" name="state" reporter:datatype="text" />
9573 <field reporter:label="Creator" name="creator" reporter:datatype="link" />
9574 <field reporter:label="Editor" name="editor" reporter:datatype="link" />
9575 <field reporter:label="Claim Policy" name="claim_policy" reporter:datatype="link" />
9576 <field reporter:label="Cancel Reason" name="cancel_reason" reporter:datatype="link" />
9577 <field reporter:label="Estimated Unit Price" name="estimated_unit_price" reporter:datatype="money" />
9578 <field reporter:label="Queued Vandelay Record" name="queued_record" reporter:datatype="link" />
9579 <field reporter:label="Item Count" name="item_count" oils_persist:virtual="true" reporter:datatype="int" />
9580 <field reporter:label="Descriptive Attributes" name="attributes" oils_persist:virtual="true" reporter:datatype="link" />
9581 <field reporter:label="Line Item Details" name="lineitem_details" oils_persist:virtual="true" reporter:datatype="link" />
9582 <field reporter:label="Line Item Notes" name="lineitem_notes" oils_persist:virtual="true" reporter:datatype="link" />
9583 <field reporter:label="Distribution Formulas" name="distribution_formulas" oils_persist:virtual="true" reporter:datatype="link" />
9584 <field reporter:label="Invoice Entries" name="invoice_entries" oils_persist:virtual="true" reporter:datatype="link" />
9585 <field reporter:label="Order Summary" name="order_summary" oils_persist:virtual="true" reporter:datatype="link" />
9588 <link field="selector" reltype="has_a" key="id" map="" class="au"/>
9589 <link field="editor" reltype="has_a" key="id" map="" class="au"/>
9590 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
9591 <link field="provider" reltype="has_a" key="id" map="" class="acqpro"/>
9592 <link field="purchase_order" reltype="has_a" key="id" map="" class="acqpo"/>
9593 <link field="picklist" reltype="has_a" key="id" map="" class="acqpl"/>
9594 <link field="eg_bib_id" reltype="has_a" key="id" map="" class="bre"/>
9595 <link field="attributes" reltype="has_many" key="lineitem" map="" class="acqlia"/>
9596 <link field="lineitem_details" reltype="has_many" key="lineitem" map="" class="acqlid"/>
9597 <link field="lineitem_notes" reltype="has_many" key="lineitem" map="" class="acqlin"/>
9598 <link field="cancel_reason" reltype="has_a" key="id" map="" class="acqcr"/>
9599 <link field="distribution_formulas" reltype="has_many" key="lineitem" map="" class="acqdfa"/>
9600 <link field="claim_policy" reltype="has_a" key="id" map="" class="acqclp"/>
9601 <link field="invoice_entries" reltype="has_many" key="lineitem" map="" class="acqie"/>
9602 <link field="order_summary" reltype="might_have" key="lineitem" map="" class="acqlisum"/>
9603 <link field="queued_record" reltype="has_a" key="id" map="" class="vqbr"/>
9605 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
9607 <retrieve permission="CREATE_PURCHASE_ORDER VIEW_PURCHASE_ORDER CREATE_PICKLIST VIEW_PICKLIST">
9608 <context link="purchase_order" field="ordering_agency"/>
9609 <context link="picklist" field="org_unit"/>
9615 <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">
9616 <fields oils_persist:primary="audit_id" oils_persist:sequence="acq.acq_lineitem_pkey_seq">
9617 <field reporter:label="Audit ID" name="audit_id" reporter:datatype="id"/>
9618 <field reporter:label="Audit Time" name="audit_time" reporter:datatype="timestamp"/>
9619 <field reporter:label="Audit Action" name="audit_action" reporter:datatype="text"/>
9620 <field reporter:label="Lineitem ID" name="id" reporter:datatype="link"/>
9621 <field reporter:label="Creator" name="creator" reporter:datatype="link"/>
9622 <field reporter:label="Editor" name="editor" reporter:datatype="link"/>
9623 <field reporter:label="Selector" name="selector" reporter:datatype="link"/>
9624 <field reporter:label="Provider" name="provider" reporter:datatype="link"/>
9625 <field reporter:label="Purchase Order" name="purchase_order" reporter:datatype="link"/>
9626 <field reporter:label="Selection List" name="picklist" reporter:datatype="link"/>
9627 <field reporter:label="Expected Receive Time" name="expected_recv_time" reporter:datatype="timestamp"/>
9628 <field reporter:label="Create Time" name="create_time" reporter:datatype="timestamp"/>
9629 <field reporter:label="Edit Time" name="edit_time" reporter:datatype="timestamp"/>
9630 <field reporter:label="MARC" name="marc" reporter:datatype="text"/>
9631 <field reporter:label="Evergreen Bib ID" name="eg_bib_id" reporter:datatype="link"/>
9632 <field reporter:label="Source Label" name="source_label" reporter:datatype="text"/>
9633 <field reporter:label="State" name="state" reporter:datatype="text"/>
9634 <field reporter:label="Claim Policy" name="claim_policy" reporter:datatype="link"/>
9635 <field reporter:label="Cancel Reason" name="cancel_reason" reporter:datatype="link"/>
9636 <field reporter:label="Estimated Unit Price" name="estimated_unit_price" reporter:datatype="money" />
9637 <field reporter:label="Queued Vandelay Record" name="queued_record" reporter:datatype="link" />
9640 <link field="id" reltype="has_a" key="id" map="" class="jub"/>
9641 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
9642 <link field="editor" reltype="has_a" key="id" map="" class="au"/>
9643 <link field="selector" reltype="has_a" key="id" map="" class="au"/>
9644 <link field="provider" reltype="has_a" key="id" map="" class="acqpro"/>
9645 <link field="purchase_order" reltype="has_a" key="id" map="" class="acqpo"/>
9646 <link field="picklist" reltype="has_a" key="id" map="" class="acqpl"/>
9647 <link field="eg_bib_id" reltype="has_a" key="id" map="" class="bre"/>
9648 <link field="cancel_reason" reltype="has_a" key="id" map="" class="acqcr"/>
9649 <link field="claim_policy" reltype="has_a" key="id" map="" class="acqclp"/>
9650 <link field="queued_record" reltype="has_a" key="id" map="" class="vqbr"/>
9652 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
9654 <retrieve permission="CREATE_PURCHASE_ORDER VIEW_PURCHASE_ORDER">
9655 <context link="purchase_order" field="ordering_agency"/>
9656 <context link="picklist" field="org_unit"/>
9662 <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">
9663 <fields oils_persist:primary="id" oils_persist:sequence="acq.lineitem_alert_text_id_seq">
9664 <field reporter:label="Alert Text ID" name="id" reporter:datatype="id"/>
9665 <field reporter:label="Code" name="code" reporter:datatype="text"/>
9666 <field reporter:label="Description" name="description" reporter:datatype="text"/>
9667 <field reporter:label="Owning Library" name="owning_lib" reporter:datatype="link"/>
9670 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
9672 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
9674 <create permission="ADMIN_ACQ_LINEITEM_ALERT_TEXT" context_field="owning_lib"/>
9675 <retrieve permission="STAFF_LOGIN" context_field="owning_lib"/>
9676 <update permission="ADMIN_ACQ_LINEITEM_ALERT_TEXT" context_field="owning_lib"/>
9677 <delete permission="ADMIN_ACQ_LINEITEM_ALERT_TEXT" context_field="owning_lib"/>
9682 <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">
9683 <fields oils_persist:primary="id" oils_persist:sequence="acq.lineitem_note_id_seq">
9684 <field reporter:label="PO Line Item Note ID" name="id" reporter:datatype="id" />
9685 <field reporter:label="Line Item" name="lineitem" reporter:datatype="link" />
9686 <field reporter:label="Creator" name="creator" reporter:datatype="link" />
9687 <field reporter:label="Creation Time" name="create_time" reporter:datatype="timestamp" />
9688 <field reporter:label="Edit Time" name="edit_time" reporter:datatype="timestamp" />
9689 <field reporter:label="Editor" name="editor" reporter:datatype="link" />
9690 <field reporter:label="Note Value" name="value" reporter:datatype="text" />
9691 <field reporter:label="Alert Text" name="alert_text" reporter:datatype="link" />
9692 <field reporter:label="Vendor Public" name="vendor_public" reporter:datatype="bool" />
9695 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
9696 <link field="editor" reltype="has_a" key="id" map="" class="au"/>
9697 <link field="lineitem" reltype="has_a" key="id" map="" class="jub"/>
9698 <link field="alert_text" reltype="has_a" key="id" map="" class="acqliat"/>
9702 <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">
9703 <fields oils_persist:primary="id" oils_persist:sequence="acq.lineitem_attr_id_seq">
9704 <field reporter:label="Attribute Value ID" name="id" reporter:datatype="id" />
9705 <field reporter:label="Lineitem" name="lineitem" reporter:datatype="link" />
9706 <field reporter:label="Type" name="attr_type" reporter:datatype="text" />
9707 <field reporter:label="Name" name="attr_name" reporter:datatype="text" />
9708 <field reporter:label="Value" name="attr_value" reporter:datatype="text" />
9709 <field reporter:label="Definition" name="definition" reporter:datatype="text" />
9710 <field reporter:label="Order Identifier" name="order_ident" reporter:datatype="bool" />
9713 <link field="lineitem" reltype="has_a" key="id" map="" class="jub"/>
9714 <link field="definition" reltype="has_a" key="id" map="" class="acqliad"/>
9718 <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">
9719 <fields oils_persist:primary="id" oils_persist:sequence="acq.lineitem_detail_id_seq">
9720 <field reporter:label="Item Detail ID" name="id" reporter:datatype="id" />
9721 <field reporter:label="PO Line Item" name="lineitem" reporter:datatype="link" />
9722 <field reporter:label="Evergreen Copy ID" name="eg_copy_id" reporter:datatype="link" />
9723 <field reporter:label="Barcode" name="barcode" reporter:datatype="text" />
9724 <field reporter:label="Call Number Label" name="cn_label" reporter:datatype="text" />
9725 <field reporter:label="Actual Receive Date" name="recv_time" reporter:datatype="timestamp" />
9726 <field reporter:label="Receiving User" name="receiver" reporter:datatype="link" />
9727 <field reporter:label="Fund" name="fund" reporter:datatype="link" />
9728 <field reporter:label="Fund Debit" name="fund_debit" reporter:datatype="link" />
9729 <field reporter:label="Owning Library" name="owning_lib" reporter:datatype="org_unit" />
9730 <field reporter:label="Copy Location" name="location" reporter:datatype="link" />
9731 <field reporter:label="Circ Modifier" name="circ_modifier" reporter:datatype="link" />
9732 <field reporter:label="Note" name="note" reporter:datatype="text" />
9733 <field reporter:label="Collection Code" name="collection_code" reporter:datatype="text" />
9734 <field reporter:label="Cancel Reason" name="cancel_reason" reporter:datatype="link" />
9735 <field reporter:label="Claims" name="claims" reporter:datatype="link" oils_persist:virtual="true" />
9738 <link field="lineitem" reltype="has_a" key="id" map="" class="jub"/>
9739 <link field="eg_copy_id" reltype="has_a" key="id" map="" class="acp"/>
9740 <link field="fund" reltype="has_a" key="id" map="" class="acqf"/>
9741 <link field="fund_debit" reltype="has_a" key="id" map="" class="acqfdeb"/>
9742 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
9743 <link field="location" reltype="has_a" key="id" map="" class="acpl"/>
9744 <link field="circ_modifier" reltype="has_a" key="code" map="" class="ccm"/>
9745 <link field="cancel_reason" reltype="has_a" key="id" map="" class="acqcr"/>
9746 <link field="claims" reltype="has_many" key="lineitem_detail" map="" class="acqcl"/>
9747 <link field="receiver" reltype="has_a" key="id" map="" class="au"/>
9751 <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">
9752 <fields oils_persist:primary="id" oils_persist:sequence="acq.lineitem_attr_definition_id_seq">
9753 <field reporter:label="Definition ID" name="id" reporter:datatype="id" />
9754 <field reporter:label="Code" name="code" reporter:datatype="text" />
9755 <field reporter:label="Description" name="description" reporter:datatype="text" oils_persist:i18n="true" />
9756 <field reporter:label="Is Identifier?" name="ident" reporter:datatype="bool"/>
9759 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
9766 <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">
9767 <fields oils_persist:primary="id" oils_persist:sequence="acq.lineitem_attr_definition_id_seq">
9768 <field reporter:label="Definition ID" name="id" reporter:datatype="id" />
9769 <field reporter:label="Code" name="code" reporter:datatype="text" />
9770 <field reporter:label="Description" name="description" reporter:datatype="text" oils_persist:i18n="true" />
9771 <field reporter:label="XPath" name="xpath" reporter:datatype="text" />
9772 <field reporter:label="Is Identifier?" name="ident" reporter:datatype="bool"/>
9773 <field reporter:label="Remove" name="remove" reporter:datatype="text" />
9776 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
9778 <create permission="ADMIN_LINEITEM_MARC_ATTR_DEF" global_required="true"/>
9780 <update permission="ADMIN_LINEITEM_MARC_ATTR_DEF" global_required="true"/>
9781 <delete permission="ADMIN_LINEITEM_MARC_ATTR_DEF" global_required="true"/>
9786 <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">
9787 <fields oils_persist:primary="id" oils_persist:sequence="acq.lineitem_attr_definition_id_seq">
9788 <field reporter:label="Definition ID" name="id" reporter:datatype="id" />
9789 <field reporter:label="Code" name="code" reporter:datatype="text" />
9790 <field reporter:label="Description" name="description" reporter:datatype="text" oils_persist:i18n="true" />
9791 <field reporter:label="XPath" name="xpath" reporter:datatype="text" />
9792 <field reporter:label="Is Identifier?" name="ident" reporter:datatype="bool"/>
9796 <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">
9797 <fields oils_persist:primary="id" oils_persist:sequence="acq.lineitem_attr_definition_id_seq">
9798 <field reporter:label="Definition ID" name="id" reporter:datatype="id" />
9799 <field reporter:label="Code" name="code" reporter:datatype="text" />
9800 <field reporter:label="Description" name="description" reporter:datatype="text" oils_persist:i18n="true" />
9801 <field reporter:label="User" name="usr" reporter:datatype="link" />
9802 <field reporter:label="Is Identifier?" name="ident" reporter:datatype="bool"/>
9805 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
9809 <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">
9810 <fields oils_persist:primary="id" oils_persist:sequence="acq.lineitem_attr_definition_id_seq">
9811 <field reporter:label="Definition ID" name="id" reporter:datatype="id" />
9812 <field reporter:label="Code" name="code" reporter:datatype="text" />
9813 <field reporter:label="Description" name="description" reporter:datatype="text" oils_persist:i18n="true" />
9814 <field reporter:label="XPath" name="xpath" reporter:datatype="text" />
9815 <field reporter:label="Provider" name="provider" reporter:datatype="link" />
9816 <field reporter:label="Is Identifier?" name="ident" reporter:datatype="bool"/>
9817 <field reporter:label="Remove" name="remove" reporter:datatype="text" />
9821 <link field="provider" reltype="has_a" key="id" map="" class="acqpro"/>
9823 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
9825 <create permission="ADMIN_PROVIDER">
9826 <context link="provider" field="owner"/>
9828 <retrieve permission="ADMIN_PROVIDER">
9829 <context link="provider" field="owner"/>
9831 <update permission="ADMIN_PROVIDER">
9832 <context link="provider" field="owner"/>
9834 <delete permission="ADMIN_PROVIDER">
9835 <context link="provider" field="owner"/>
9841 <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">
9842 <fields oils_persist:primary="id" oils_persist:sequence="acq.provider_holding_subfield_map_id_seq">
9843 <field reporter:label="ID" name="id" reporter:datatype="id" />
9844 <field reporter:label="Provider" name="provider" reporter:datatype="link" />
9845 <field reporter:label="Name" name="name" reporter:datatype="text" />
9846 <field reporter:label="Subfield" name="subfield" reporter:datatype="text" />
9849 <link field="provider" reltype="has_a" key="id" map="" class="acqpro"/>
9851 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
9853 <create permission="ADMIN_PROVIDER">
9854 <context link="provider" field="owner"/>
9856 <retrieve permission="ADMIN_PROVIDER">
9857 <context link="provider" field="owner"/>
9859 <update permission="ADMIN_PROVIDER">
9860 <context link="provider" field="owner"/>
9862 <delete permission="ADMIN_PROVIDER">
9863 <context link="provider" field="owner"/>
9869 <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">
9870 <fields oils_persist:primary="id" oils_persist:sequence="acq.lineitem_attr_definition_id_seq">
9871 <field reporter:label="Definition ID" name="id" reporter:datatype="id" />
9872 <field reporter:label="Code" name="code" reporter:datatype="text" />
9873 <field reporter:label="Description" name="description" reporter:datatype="text" oils_persist:i18n="true" />
9874 <field reporter:label="Is Identifier?" name="ident" reporter:datatype="bool"/>
9879 <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">
9880 <fields oils_persist:primary="id" oils_persist:sequence="config.remote_account_id_seq"><!-- edi_account inherits from config.remote_account, hence the seq -->
9881 <field name="id" reporter:datatype="id" reporter:label="EDI Account ID" reporter:selector="label"/>
9882 <field name="label" reporter:datatype="text" reporter:label="Label"/>
9883 <field name="host" reporter:datatype="text" reporter:label="Host"/>
9884 <field name="username" reporter:datatype="text" reporter:label="Username"/>
9885 <field name="password" reporter:datatype="text" reporter:label="Password"/>
9886 <field name="account" reporter:datatype="text" reporter:label="Account"/>
9887 <field name="path" reporter:datatype="text" reporter:label="Path"/>
9888 <field name="owner" reporter:datatype="link" reporter:label="Owner"/>
9889 <field name="last_activity" reporter:datatype="timestamp" reporter:label="Last Activity"/>
9890 <field name="provider" reporter:datatype="link" reporter:label="Provider"/>
9891 <field name="in_dir" reporter:datatype="text" reporter:label="Incoming Directory"/>
9892 <field name="vendacct" reporter:datatype="text" reporter:label="Vendor Account Number"/>
9893 <field name="vendcode" reporter:datatype="text" reporter:label="Vendor Assigned Code"/>
9894 <field name="attr_set" reporter:datatype="link" reporter:label="EDI Attribute Set"/>
9895 <field name="use_attrs" reporter:datatype="bool" reporter:label="Use EDI Attributes"/>
9898 <link field="provider" reltype="has_a" key="id" map="" class="acqpro"/>
9899 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
9900 <link field="attr_set" reltype="has_a" key="id" map="" class="aeas"/>
9902 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
9904 <create permission="ADMIN_PROVIDER">
9905 <context link="provider" field="owner"/>
9907 <retrieve permission="ADMIN_PROVIDER">
9908 <context link="provider" field="owner"/>
9910 <update permission="ADMIN_PROVIDER">
9911 <context link="provider" field="owner"/>
9913 <delete permission="ADMIN_PROVIDER">
9914 <context link="provider" field="owner"/>
9920 <class id="aea" controller="open-ils.cstore open-ils.pcrud"
9921 oils_obj:fieldmapper="acq::edi_attr"
9922 oils_persist:tablename="acq.edi_attr" reporter:label="EDI Attribute">
9923 <fields oils_persist:primary="key">
9924 <field name="key" reporter:datatype="text" reporter:label="Key" reporter:selector="label"/>
9925 <field name="label" reporter:datatype="text" reporter:label="Label"/>
9927 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
9929 <create permission="ADMIN_PROVIDER" global_required="true"/>
9931 <update permission="ADMIN_PROVIDER" global_required="true"/>
9932 <delete permission="ADMIN_PROVIDER" global_required="true"/>
9936 <class id="aeas" controller="open-ils.cstore open-ils.pcrud"
9937 oils_obj:fieldmapper="acq::edi_attr_set"
9938 oils_persist:tablename="acq.edi_attr_set" reporter:label="EDI Attribute Set">
9939 <fields oils_persist:primary="id" oils_persist:sequence="acq.edi_attr_set_id_seq">
9940 <field name="id" reporter:datatype="id" reporter:label="ID" reporter:selector="label"/>
9941 <field name="label" reporter:datatype="text" reporter:label="Label"/>
9942 <field name="attr_maps" reporter:datatype="link" oils_persist:virtual="true" reporter:label="Mapped EDI Attributes"/>
9945 <link field="attr_maps" reltype="has_many" key="attr_set" map="" class="aeasm"/>
9947 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
9949 <create permission="ADMIN_PROVIDER" global_required="true"/>
9951 <update permission="ADMIN_PROVIDER" global_required="true"/>
9952 <delete permission="ADMIN_PROVIDER" global_required="true"/>
9956 <class id="aeasm" controller="open-ils.cstore open-ils.pcrud"
9957 oils_obj:fieldmapper="acq::edi_attr_set_map"
9958 oils_persist:tablename="acq.edi_attr_set_map" reporter:label="EDI Attribute Set Map">
9959 <fields oils_persist:primary="id" oils_persist:sequence="acq.edi_attr_set_map_id_seq">
9960 <field name="id" reporter:datatype="id" reporter:label="ID" reporter:selector="label"/>
9961 <field name="attr_set" reporter:datatype="link" reporter:label="Attribute Set"/>
9962 <field name="attr" reporter:datatype="link" reporter:label="Attribute"/>
9965 <link field="attr_set" reltype="has_a" key="id" map="" class="aeas"/>
9966 <link field="attr" reltype="has_a" key="id" map="" class="aea"/>
9968 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
9970 <create permission="ADMIN_PROVIDER" global_required="true"/>
9972 <update permission="ADMIN_PROVIDER" global_required="true"/>
9973 <delete permission="ADMIN_PROVIDER" global_required="true"/>
9979 <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">
9980 <fields oils_persist:primary="id" oils_persist:sequence="acq.edi_message_id_seq">
9981 <field name="id" reporter:datatype="id" reporter:label="EDI Message ID"/>
9982 <field name="account" reporter:datatype="link" reporter:label="EDI Account"/>
9983 <field name="remote_file" reporter:datatype="text" reporter:label="Filename"/>
9984 <field name="create_time" reporter:datatype="timestamp" reporter:label="Time Created"/>
9985 <field name="translate_time" reporter:datatype="timestamp" reporter:label="Time Translated"/>
9986 <field name="process_time" reporter:datatype="timestamp" reporter:label="Time Processed"/>
9987 <field name="error_time" reporter:datatype="timestamp" reporter:label="Time of Error"/>
9988 <field name="status" reporter:datatype="text" reporter:label="Status"/>
9989 <field name="edi" reporter:datatype="text" reporter:label="EDI Message Body"/>
9990 <field name="jedi" reporter:datatype="text" reporter:label="JEDI Message Body"/>
9991 <field name="error" reporter:datatype="text" reporter:label="Error"/>
9992 <field name="purchase_order" reporter:datatype="link" reporter:label="Purchase Order"/>
9993 <field name="message_type" reporter:datatype="text" reporter:label="Message Type"/>
9996 <link field="account" reltype="has_a" key="id" map="" class="acqedi"/>
9997 <link field="purchase_order" reltype="has_a" key="id" map="" class="acqpo"/>
9999 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
10001 <retrieve permission="ADMIN_PROVIDER MANAGE_PROVIDER VIEW_PROVIDER">
10002 <context link="account" jump="provider" field="owner"/>
10004 <update permission="ADMIN_PROVIDER MANAGE_PROVIDER VIEW_PROVIDER">
10005 <context link="account" jump="provider" field="owner"/>
10007 <delete permission="ADMIN_PROVIDER MANAGE_PROVIDER VIEW_PROVIDER">
10008 <context link="account" jump="provider" field="owner"/>
10015 <class id="rof" controller="open-ils.reporter-store" oils_obj:fieldmapper="reporter::output_folder" oils_persist:tablename="reporter.output_folder" reporter:label="Output Folder">
10016 <fields oils_persist:primary="id" oils_persist:sequence="reporter.output_folder_id_seq">
10017 <field name="id" reporter:datatype="id" />
10018 <field name="parent" reporter:datatype="link"/>
10019 <field name="owner" reporter:datatype="link"/>
10020 <field name="create_time" reporter:datatype="timestamp"/>
10021 <field name="name" reporter:datatype="text"/>
10022 <field name="shared" reporter:datatype="bool"/>
10023 <field name="share_with" reporter:datatype="link"/>
10024 <field name="children" oils_persist:virtual="true" reporter:datatype="link"/>
10025 <field name="outputs" oils_persist:virtual="true" reporter:datatype="link"/>
10028 <link field="owner" reltype="has_a" key="id" map="" class="au"/>
10029 <link field="parent" reltype="has_a" key="id" map="" class="rof"/>
10030 <link field="children" reltype="has_many" key="parent" map="" class="rof"/>
10031 <link field="share_with" reltype="has_a" key="id" map="" class="aou"/>
10032 <link field="outputs" reltype="has_many" key="folder" map="" class="rs"/>
10035 <class id="rtf" controller="open-ils.reporter-store" oils_obj:fieldmapper="reporter::template_folder" oils_persist:tablename="reporter.template_folder" reporter:label="Template Folder">
10036 <fields oils_persist:primary="id" oils_persist:sequence="reporter.template_folder_id_seq">
10037 <field name="id" reporter:datatype="id" />
10038 <field name="parent" reporter:datatype="link"/>
10039 <field name="owner" reporter:datatype="link"/>
10040 <field name="create_time" reporter:datatype="timestamp"/>
10041 <field name="name" reporter:datatype="text"/>
10042 <field name="shared" reporter:datatype="bool"/>
10043 <field name="share_with" reporter:datatype="link"/>
10044 <field name="children" oils_persist:virtual="true" reporter:datatype="link"/>
10045 <field name="templates" oils_persist:virtual="true" reporter:datatype="link"/>
10048 <link field="owner" reltype="has_a" key="id" map="" class="au"/>
10049 <link field="parent" reltype="has_a" key="id" map="" class="rtf"/>
10050 <link field="children" reltype="has_many" key="parent" map="" class="rtf"/>
10051 <link field="share_with" reltype="has_a" key="id" map="" class="aou"/>
10052 <link field="templates" reltype="has_many" key="folder" map="" class="rt"/>
10055 <class id="rrf" controller="open-ils.reporter-store" oils_obj:fieldmapper="reporter::report_folder" oils_persist:tablename="reporter.report_folder" reporter:label="Report Folder">
10056 <fields oils_persist:primary="id" oils_persist:sequence="reporter.report_folder_id_seq">
10057 <field name="id" reporter:datatype="id" />
10058 <field name="parent" reporter:datatype="link"/>
10059 <field name="owner" reporter:datatype="link"/>
10060 <field name="create_time" reporter:datatype="timestamp"/>
10061 <field name="name" reporter:datatype="text"/>
10062 <field name="shared" reporter:datatype="bool"/>
10063 <field name="share_with" reporter:datatype="link"/>
10064 <field name="children" oils_persist:virtual="true" reporter:datatype="link"/>
10065 <field name="reports" oils_persist:virtual="true" reporter:datatype="link"/>
10068 <link field="owner" reltype="has_a" key="id" map="" class="au"/>
10069 <link field="parent" reltype="has_a" key="id" map="" class="rrf"/>
10070 <link field="children" reltype="has_many" key="parent" map="" class="rrf"/>
10071 <link field="share_with" reltype="has_a" key="id" map="" class="aou"/>
10072 <link field="reports" reltype="has_many" key="folder" map="" class="rr"/>
10075 <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">
10076 <fields oils_persist:primary="id" oils_persist:sequence="reporter.template_id_seq">
10077 <field name="id" reporter:datatype="id" />
10078 <field name="owner" reporter:datatype="link"/>
10079 <field name="create_time" reporter:datatype="timestamp"/>
10080 <field name="name" reporter:datatype="text"/>
10081 <field name="data" reporter:datatype="text"/>
10082 <field name="folder" reporter:datatype="link"/>
10083 <field name="description" reporter:datatype="text"/>
10084 <field name="reports" oils_persist:virtual="true" reporter:datatype="link"/>
10087 <link field="owner" reltype="has_a" key="id" map="" class="au"/>
10088 <link field="folder" reltype="has_a" key="id" map="" class="rtf"/>
10089 <link field="reports" reltype="has_many" key="template" map="" class="rr"/>
10091 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
10093 <create permission="RUN_REPORTS" owning_user="owner" global_required="true"/>
10094 <retrieve permission="RUN_REPORTS" owning_user="owner" global_required="true"/>
10095 <update permission="RUN_REPORTS" owning_user="owner" global_required="true"/>
10096 <delete permission="RUN_REPORTS" owning_user="owner" global_required="true"/>
10100 <class id="rr" controller="open-ils.reporter-store" oils_obj:fieldmapper="reporter::report" oils_persist:tablename="reporter.report" reporter:label="Report">
10101 <fields oils_persist:primary="id" oils_persist:sequence="reporter.report_id_seq">
10102 <field name="id" reporter:datatype="id" />
10103 <field name="owner" reporter:datatype="link"/>
10104 <field name="create_time" reporter:datatype="timestamp"/>
10105 <field name="template" reporter:datatype="link"/>
10106 <field name="data" reporter:datatype="text"/>
10107 <field name="folder" reporter:datatype="link"/>
10108 <field name="recur" reporter:datatype="bool"/>
10109 <field name="recurrence" reporter:datatype="interval"/>
10110 <field name="name" reporter:datatype="text"/>
10111 <field name="description" reporter:datatype="text"/>
10112 <field name="runs" oils_persist:virtual="true" reporter:datatype="link"/>
10115 <link field="owner" reltype="has_a" key="id" map="" class="au"/>
10116 <link field="template" reltype="has_a" key="id" map="" class="rt"/>
10117 <link field="folder" reltype="has_a" key="id" map="" class="rrf"/>
10118 <link field="runs" reltype="has_many" key="report" map="" class="rs"/>
10121 <class id="rs" controller="open-ils.reporter-store" oils_obj:fieldmapper="reporter::schedule" oils_persist:tablename="reporter.schedule" reporter:label="Schedule">
10122 <fields oils_persist:primary="id" oils_persist:sequence="reporter.schedule_id_seq">
10123 <field name="id" reporter:datatype="id" />
10124 <field name="runner" reporter:datatype="link"/>
10125 <field name="start_time" reporter:datatype="timestamp"/>
10126 <field name="complete_time" reporter:datatype="timestamp"/>
10127 <field name="run_time" reporter:datatype="timestamp"/>
10128 <field name="email" reporter:datatype="text"/>
10129 <field name="excel_format" reporter:datatype="bool"/>
10130 <field name="csv_format" reporter:datatype="bool"/>
10131 <field name="html_format" reporter:datatype="bool"/>
10132 <field name="error_code" reporter:datatype="int"/>
10133 <field name="error_text" reporter:datatype="text"/>
10134 <field name="report" reporter:datatype="link"/>
10135 <field name="folder" reporter:datatype="link"/>
10136 <field name="chart_pie" reporter:datatype="bool"/>
10137 <field name="chart_bar" reporter:datatype="bool"/>
10138 <field name="chart_line" reporter:datatype="bool"/>
10141 <link field="runner" reltype="has_a" key="id" map="" class="au"/>
10142 <link field="report" reltype="has_a" key="id" map="" class="rr"/>
10143 <link field="folder" reltype="has_a" key="id" map="" class="rof"/>
10146 <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">
10147 <fields oils_persist:primary="id">
10148 <field reporter:label="Record ID" name="id" reporter:datatype="id" />
10149 <field reporter:label="Fingerprint" name="fingerprint" reporter:datatype="text"/>
10150 <field reporter:label="Overall Record Quality" name="quality" reporter:datatype="int"/>
10151 <field reporter:label="TCN Source" name="tcn_source" reporter:datatype="text"/>
10152 <field reporter:label="TCN Value" name="tcn_value" reporter:datatype="text"/>
10153 <field reporter:label="Title Proper (normalized)" name="title" reporter:datatype="text"/>
10154 <field reporter:label="Author (normalized)" name="author" reporter:datatype="text"/>
10155 <field reporter:label="Publisher (normalized)" name="publisher" reporter:datatype="text"/>
10156 <field reporter:label="Publication Year (normalized)" name="pubdate" reporter:datatype="int"/>
10157 <field reporter:label="ISBN" name="isbn" reporter:datatype="text"/>
10158 <field reporter:label="ISSN" name="issn" reporter:datatype="text"/>
10159 <field reporter:label="Full Bibliographic record" name="biblio_record" oils_persist:virtual="true" reporter:datatype="link"/>
10162 <link field="biblio_record" reltype="might_have" key="id" map="" class="bre"/>
10164 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
10170 <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">
10171 <fields oils_persist:primary="id">
10172 <field reporter:label="Record ID" name="id" reporter:datatype="id" />
10173 <field reporter:label="Fingerprint" name="fingerprint" reporter:datatype="text"/>
10174 <field reporter:label="Overall Record Quality" name="quality" reporter:datatype="int"/>
10175 <field reporter:label="TCN Source" name="tcn_source" reporter:datatype="text"/>
10176 <field reporter:label="TCN Value" name="tcn_value" reporter:datatype="text"/>
10177 <field reporter:label="Title Proper (normalized)" name="title" reporter:datatype="text"/>
10178 <field reporter:label="Author (normalized)" name="author" reporter:datatype="text"/>
10179 <field reporter:label="Publisher (normalized)" name="publisher" reporter:datatype="text"/>
10180 <field reporter:label="Publication Year (normalized)" name="pubdate" reporter:datatype="int"/>
10181 <field reporter:label="ISBN" name="isbn" reporter:datatype="text"/>
10182 <field reporter:label="ISSN" name="issn" reporter:datatype="text"/>
10183 <field reporter:label="Full Bibliographic record" name="biblio_record" oils_persist:virtual="true" reporter:datatype="link"/>
10186 <link field="biblio_record" reltype="might_have" key="id" map="" class="bre"/>
10189 <class id="rsr" controller="open-ils.reporter-store" oils_obj:fieldmapper="reporter::simple_record" oils_persist:tablename="reporter.simple_record" reporter:label="Simple Record">
10190 <fields oils_persist:primary="id">
10191 <field reporter:label="Record ID" name="id" reporter:datatype="id" />
10192 <field reporter:label="Metarecord" name="metarecord" reporter:datatype="link"/>
10193 <field reporter:label="Fingerprint" name="fingerprint" />
10194 <field reporter:label="Overall Record Quality" name="quality" reporter:datatype="int"/>
10195 <field reporter:label="TCN Source" name="tcn_source" reporter:datatype="text"/>
10196 <field reporter:label="TCN Value" name="tcn_value" reporter:datatype="text"/>
10197 <field reporter:label="Title Proper (normalized)" name="title" reporter:datatype="text"/>
10198 <field reporter:label="Uniform Title (normalized)" name="uniform_title" reporter:datatype="text"/>
10199 <field reporter:label="Author (normalized)" name="author" reporter:datatype="text"/>
10200 <field reporter:label="Publisher (normalized)" name="publisher" reporter:datatype="text"/>
10201 <field reporter:label="Publication Year (normalized)" name="pubdate" reporter:datatype="int"/>
10202 <field reporter:label="Series Title (normalized)" name="series_title" reporter:datatype="text"/>
10203 <field reporter:label="Series Statement (normalized)" name="series_statement" reporter:datatype="text"/>
10204 <field reporter:label="Summary (normalized)" name="summary" reporter:datatype="text"/>
10205 <field reporter:label="ISBN" name="isbn" reporter:datatype="text"/>
10206 <field reporter:label="ISSN" name="issn" reporter:datatype="text"/>
10207 <field reporter:label="Topic Subjects (normalized)" name="topic_subject" reporter:datatype="text"/>
10208 <field reporter:label="Geographic Subjects (normalized)" name="geographic_subject" reporter:datatype="text"/>
10209 <field reporter:label="Genres (normalized)" name="genre" reporter:datatype="text"/>
10210 <field reporter:label="Personal Name Subjects (normalized)" name="name_subject" reporter:datatype="text"/>
10211 <field reporter:label="Corporate Name Subjects (normalized)" name="corporate_subject" reporter:datatype="text"/>
10212 <field reporter:label="External URI List (normalized)" name="external_uri" reporter:datatype="text"/>
10213 <field reporter:label="Full Bibliographic record" name="biblio_record" oils_persist:virtual="true" reporter:datatype="link"/>
10216 <link field="metarecord" reltype="has_a" key="id" map="" class="mmr"/>
10217 <link field="biblio_record" reltype="might_have" key="id" map="" class="bre"/>
10220 <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">
10221 <fields oils_persist:primary="id">
10222 <field reporter:label="User ID" name="id" reporter:datatype="id" />
10223 <field reporter:label="Date of Birth" name="dob" reporter:datatype="timestamp"/>
10224 <field reporter:label="General Demographic Division" name="general_division" reporter:datatype="text"/>
10227 <link field="id" reltype="might_have" key="id" map="" class="au"/>
10230 <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">
10231 <fields oils_persist:primary="id">
10232 <field reporter:label="Circulation ID" name="id" reporter:datatype="id" />
10233 <field reporter:label="Circulation Type" name="type" reporter:datatype="text"/>
10236 <link field="id" reltype="might_have" key="id" map="" class="circ"/>
10239 <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">
10240 <fields oils_persist:primary="id">
10241 <field reporter:label="Hold ID" name="id" reporter:datatype="id" />
10242 <field reporter:label="Hold Target" name="target" reporter:datatype="int" />
10243 <field reporter:label="Hold Request Type" name="hold_type" reporter:datatype="text"/>
10244 <field reporter:label="Target Bib Record" name="bib_record" reporter:datatype="link"/>
10247 <link field="id" reltype="might_have" key="id" map="" class="ahr"/>
10248 <link field="bib_record" reltype="has_a" key="id" map="" class="bre"/>
10251 <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">
10252 <fields oils_persist:primary="xact">
10253 <field reporter:label="Transaction ID" name="xact" reporter:datatype="int" />
10254 <field reporter:label="Unvoided Billing Amount" name="unvoided" reporter:datatype="int" />
10255 <field reporter:label="Voided Billing Amount" name="voided" reporter:datatype="money"/>
10256 <field reporter:label="Total Billing Amount" name="total" reporter:datatype="money"/>
10259 <link field="xact" reltype="might_have" key="id" map="" class="mbt"/>
10262 <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">
10263 <fields oils_persist:primary="xact">
10264 <field reporter:label="Transaction ID" name="xact" reporter:datatype="int" />
10265 <field reporter:label="Unvoided Paid Amount" name="unvoided" reporter:datatype="int" />
10266 <field reporter:label="Voided (Returned) Paid Amount" name="voided" reporter:datatype="money"/>
10267 <field reporter:label="Total Paid Amount" name="total" reporter:datatype="money"/>
10270 <link field="xact" reltype="might_have" key="id" map="" class="mbt"/>
10273 <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)">
10274 <fields oils_persist:primary="id">
10275 <field reporter:label="Bib ID" name="id" reporter:datatype="id" />
10276 <field reporter:label="Update Time" name="holding_update" reporter:datatype="timestamp" />
10277 <field reporter:label="Update Type" name="update_type" reporter:datatype="text" />
10280 <link field="id" reltype="has_a" key="id" map="" class="bre"/>
10283 <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">
10284 <fields oils_persist:primary="id">
10285 <field reporter:label="Copy ID" name="id" reporter:datatype="int" />
10286 <field reporter:label="Total Circulation Count" name="circ_count" reporter:datatype="int" />
10289 <link field="id" reltype="has_a" key="id" map="" class="acp"/>
10292 <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">
10293 <fields oils_persist:primary="bibid">
10294 <field reporter:label="Bib Record" name="bibid" reporter:datatype="id" />
10295 <field reporter:label="Circulation Library" name="circ_lib" reporter:datatype="link" />
10296 <field reporter:label="Owning Library" name="owning_lib" reporter:datatype="link" />
10297 <field reporter:label="Last Edit Date" name="last_edit_time" reporter:datatype="timestamp" />
10298 <field reporter:label="Has Only Deleted Copies 0/1" name="has_only_deleted_copies" reporter:datatype="int" />
10299 <field reporter:label="Total deleted copies" name="deleted_count" reporter:datatype="int" />
10300 <field reporter:label="Total visible copies" name="visible_count" reporter:datatype="int" />
10301 <field reporter:label="Total copies attached" name="total_count" reporter:datatype="int" />
10304 <link field="bibid" reltype="has_a" key="id" map="" class="bre"/>
10305 <link field="circ_lib" reltype="has_a" key="id" map="" class="aou"/>
10306 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
10309 <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">
10310 <fields oils_persist:primary="id" oils_persist:sequence="acq.distribution_formula_id_seq">
10311 <field reporter:label="Formula ID" name="id" reporter:datatype="id" reporter:selector="name" />
10312 <field reporter:label="Formula Owner" name="owner" reporter:datatype="org_unit"/>
10313 <field reporter:label="Formula Name" name="name" reporter:datatype="text"/>
10314 <field reporter:label="Skip Count" name="skip_count" reporter:datatype="int"/>
10315 <field reporter:label="Entries" name="entries" oils_persist:virtual="true" reporter:datatype="link"/>
10316 <field reporter:label="Use Count" name="use_count" oils_persist:virtual="true" reporter:datatype="int"/>
10319 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
10320 <link field="entries" reltype="has_many" key="formula" map="" class="acqdfe"/>
10322 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
10324 <create permission="ADMIN_ACQ_DISTRIB_FORMULA" context_field="owner"/>
10325 <retrieve permission="CREATE_PURCHASE_ORDER ADMIN_ACQ_DISTRIB_FORMULA" context_field="owner"/>
10326 <update permission="ADMIN_ACQ_DISTRIB_FORMULA" context_field="owner"/>
10327 <delete permission="ADMIN_ACQ_DISTRIB_FORMULA" context_field="owner"/>
10331 <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">
10332 <fields oils_persist:primary="id" oils_persist:sequence="acq.distribution_formula_entry_id_seq">
10333 <field reporter:label="Entry ID" name="id" reporter:datatype="id"/>
10334 <field reporter:label="Formula ID" name="formula" reporter:datatype="link"/>
10335 <field reporter:label="Position" name="position" reporter:datatype="int"/>
10336 <field reporter:label="Item Count" name="item_count" reporter:datatype="int"/>
10337 <field reporter:label="Owning Library" name="owning_lib" reporter:datatype="org_unit"/>
10338 <field reporter:label="Location" name="location" reporter:datatype="link"/>
10339 <field reporter:label="Fund" name="fund" reporter:datatype="link"/>
10340 <field reporter:label="Circulation Modifier" name="circ_modifier" reporter:datatype="link"/>
10341 <field reporter:label="Collection Code" name="collection_code" reporter:datatype="text"/>
10344 <link field="formula" reltype="has_a" key="id" map="" class="acqdf"/>
10345 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
10346 <link field="location" reltype="has_a" key="id" map="" class="acpl"/>
10347 <link field="fund" reltype="has_a" key="id" map="" class="acqf"/>
10348 <link field="circ_modifier" reltype="has_a" key="code" map="" class="ccm"/>
10350 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
10352 <create permission="ADMIN_ACQ_DISTRIB_FORMULA">
10353 <context link="formula" field="owner"/>
10355 <retrieve permission="ADMIN_ACQ_DISTRIB_FORMULA">
10356 <context link="formula" field="owner"/>
10358 <update permission="ADMIN_ACQ_DISTRIB_FORMULA">
10359 <context link="formula" field="owner"/>
10361 <delete permission="ADMIN_ACQ_DISTRIB_FORMULA">
10362 <context link="formula" field="owner"/>
10368 <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">
10369 <fields oils_persist:primary="id" oils_persist:sequence="acq.distribution_formula_application_id_seq">
10370 <field reporter:label="ID" name="id" reporter:datatype="id"/>
10371 <field reporter:label="Creator" name="creator" reporter:datatype="link"/>
10372 <field reporter:label="Create Time" name="create_time" reporter:datatype="timestamp"/>
10373 <field reporter:label="Distribution Formula" name="formula" reporter:datatype="link"/>
10374 <field reporter:label="Lineitem" name="lineitem" reporter:datatype="link"/>
10377 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
10378 <link field="formula" reltype="has_a" key="id" map="" class="acqdf"/>
10379 <link field="lineitem" reltype="has_a" key="id" map="" class="jub"/>
10381 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
10383 <create permission="CREATE_PURCHASE_ORDER">
10384 <context link="formula" field="owner"/>
10386 <retrieve permission="CREATE_PURCHASE_ORDER">
10387 <context link="formula" field="owner"/>
10389 <update permission="CREATE_PURCHASE_ORDER">
10390 <context link="formula" field="owner"/>
10392 <delete permission="CREATE_PURCHASE_ORDER">
10393 <context link="formula" field="owner"/>
10399 <class id="acqda" controller="open-ils.cstore" oils_obj:fieldmapper="acq::debit_attribution" oils_persist:tablename="acq.debit_attribution" reporter:label="Debit Attribution">
10400 <fields oils_persist:primary="id">
10401 <field reporter:label="Debit Attribution ID" name="id" reporter:datatype="id"/>
10402 <field reporter:label="Fund Debit" name="fund_debit" reporter:datatype="link"/>
10403 <field reporter:label="Debit Amount" name="debit_amount" reporter:datatype="money"/>
10404 <field reporter:label="Funding Source Credit" name="funding_source_credit" reporter:datatype="link"/>
10405 <field reporter:label="Credit Amount" name="credit_amount" reporter:datatype="money"/>
10408 <link field="fund_debit" reltype="has_a" key="id" map="" class="acqfdeb"/>
10409 <link field="funding_source_credit" reltype="has_a" key="id" map="" class="acqfscred"/>
10413 <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">
10414 <fields oils_persist:primary="id" oils_persist:sequence="acq.claim_type_id_seq">
10415 <field reporter:label="Claim Type ID" name="id" reporter:datatype="id" reporter:selector="code" />
10416 <field reporter:label="Org Unit" name="org_unit" reporter:datatype="org_unit"/>
10417 <field reporter:label="Code" name="code" reporter:datatype="text"/>
10418 <field reporter:label="Description" name="description" reporter:datatype="text"/>
10421 <link field="org_unit" reltype="has_a" key="id" map="" class="aou"/>
10423 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
10425 <create permission="ADMIN_ACQ_CLAIM_TYPE" context_field="org_unit"/>
10426 <retrieve permission="ADMIN_ACQ_CLAIM_TYPE ADMIN_ACQ_CLAIM VIEW_CLAIM MANAGE_CLAIM" context_field="org_unit"/>
10427 <update permission="ADMIN_ACQ_CLAIM_TYPE" context_field="org_unit"/>
10428 <delete permission="ADMIN_ACQ_CLAIM_TYPE" context_field="org_unit"/>
10433 <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">
10434 <fields oils_persist:primary="id" oils_persist:sequence="acq.claim_event_type_id_seq">
10435 <field reporter:label="Claim Event Type ID" name="id" reporter:datatype="id" reporter:selector="code" />
10436 <field reporter:label="Org Unit" name="org_unit" reporter:datatype="org_unit"/>
10437 <field reporter:label="Code" name="code" reporter:datatype="text"/>
10438 <field reporter:label="Description" name="description" reporter:datatype="text"/>
10439 <field reporter:label="Library Initiated" name="library_initiated" reporter:datatype="bool"/>
10442 <link field="org_unit" reltype="has_a" key="id" map="" class="aou"/>
10444 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
10446 <create permission="ADMIN_ACQ_CLAIM_EVENT_TYPE" context_field="org_unit"/>
10447 <retrieve permission="ADMIN_ACQ_CLAIM_EVENT_TYPE ADMIN_ACQ_CLAIM VIEW_CLAIM MANAGE_CLAIM" context_field="org_unit"/>
10448 <update permission="ADMIN_ACQ_CLAIM_EVENT_TYPE" context_field="org_unit"/>
10449 <delete permission="ADMIN_ACQ_CLAIM_EVENT_TYPE" context_field="org_unit"/>
10454 <class id="acqcl" controller="open-ils.cstore" oils_obj:fieldmapper="acq::claim" oils_persist:tablename="acq.claim" reporter:label="Claim">
10455 <fields oils_persist:primary="id" oils_persist:sequence="acq.claim_id_seq">
10456 <field reporter:label="Claim ID" name="id" reporter:datatype="id"/>
10457 <field reporter:label="Claim Type" name="type" reporter:datatype="link"/>
10458 <field reporter:label="Lineitem Detail" name="lineitem_detail" reporter:datatype="link"/>
10461 <link field="type" reltype="has_a" key="id" map="" class="acqclt"/>
10462 <link field="lineitem_detail" reltype="has_a" key="id" map="" class="acqlid"/>
10466 <class id="acqcle" controller="open-ils.cstore" oils_obj:fieldmapper="acq::claim_event" oils_persist:tablename="acq.claim_event" reporter:label="Claim Event">
10467 <fields oils_persist:primary="id" oils_persist:sequence="acq.claim_event_id_seq">
10468 <field reporter:label="Claim Event ID" name="id" reporter:datatype="id"/>
10469 <field reporter:label="Claim Event Type" name="type" reporter:datatype="link"/>
10470 <field reporter:label="Claim ID" name="claim" reporter:datatype="link"/>
10471 <field reporter:label="Event Date" name="event_date" reporter:datatype="timestamp"/>
10472 <field reporter:label="Creator" name="creator" reporter:datatype="link"/>
10473 <field reporter:label="Note" name="note" reporter:datatype="text"/>
10476 <link field="type" reltype="has_a" key="id" map="" class="acqclet"/>
10477 <link field="claim" reltype="has_a" key="id" map="" class="acqcl"/>
10478 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
10482 <class id="acqscl" controller="open-ils.cstore" oils_obj:fieldmapper="acq::serial_claim" oils_persist:tablename="acq.serial_claim" reporter:label="Serial Claim">
10483 <fields oils_persist:primary="id" oils_persist:sequence="acq.serial_claim_id_seq">
10484 <field reporter:label="Claim ID" name="id" reporter:datatype="id"/>
10485 <field reporter:label="Claim Type" name="type" reporter:datatype="link"/>
10486 <field reporter:label="Serial Item" name="item" reporter:datatype="link"/>
10489 <link field="type" reltype="has_a" key="id" map="" class="acqclt"/>
10490 <link field="item" reltype="has_a" key="id" map="" class="sitem"/>
10494 <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">
10495 <fields oils_persist:primary="id" oils_persist:sequence="acq.serial_claim_event_id_seq">
10496 <field reporter:label="Claim Event ID" name="id" reporter:datatype="id"/>
10497 <field reporter:label="Claim Event Type" name="type" reporter:datatype="link"/>
10498 <field reporter:label="Claim ID" name="claim" reporter:datatype="link"/>
10499 <field reporter:label="Event Date" name="event_date" reporter:datatype="timestamp"/>
10500 <field reporter:label="Creator" name="creator" reporter:datatype="link"/>
10501 <field reporter:label="Note" name="note" reporter:datatype="text"/>
10504 <link field="type" reltype="has_a" key="id" map="" class="acqclet"/>
10505 <link field="claim" reltype="has_a" key="id" map="" class="acqscl"/>
10506 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
10510 <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">
10511 <fields oils_persist:primary="id" oils_persist:sequence="acq.claim_policy_id_seq">
10512 <field reporter:label="ID" name="id" reporter:datatype="id" reporter:selector="name"/>
10513 <field reporter:label="Org Unit" name="org_unit" reporter:datatype="org_unit"/>
10514 <field reporter:label="Claim Policy Name" name="name" reporter:datatype="text"/>
10515 <field reporter:label="Description" name="description" reporter:datatype="text"/>
10518 <link field="org_unit" reltype="has_a" key="id" map="" class="aou"/>
10520 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
10522 <create permission="ADMIN_CLAIM_POLICY" context_field="org_unit"/>
10523 <retrieve permission="ADMIN_CLAIM_POLICY VIEW_PROVIDER" context_field="org_unit"/>
10524 <update permission="ADMIN_CLAIM_POLICY" context_field="org_unit"/>
10525 <delete permission="ADMIN_CLAIM_POLICY" context_field="org_unit"/>
10530 <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">
10531 <fields oils_persist:primary="id" oils_persist:sequence="acq.claim_policy_action_id_seq">
10532 <field reporter:label="ID" name="id" reporter:datatype="id" reporter:selector="action"/>
10533 <field reporter:label="Claim Policy ID" name="claim_policy" reporter:datatype="link"/>
10534 <field reporter:label="Action Interval" name="action_interval" reporter:datatype="interval"/>
10535 <field reporter:label="Action (Event Type)" name="action" reporter:datatype="link"/>
10538 <link field="claim_policy" reltype="has_a" key="id" map="" class="acqclp"/>
10539 <link field="action" reltype="has_a" key="id" map="" class="acqclet"/>
10541 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
10543 <create permission="ADMIN_CLAIM_POLICY">
10544 <context link="claim_policy" field="org_unit"/>
10546 <retrieve permission="ADMIN_CLAIM_POLICY VIEW_PROVIDER">
10547 <context link="claim_policy" field="org_unit"/>
10549 <update permission="ADMIN_CLAIM_POLICY">
10550 <context link="claim_policy" field="org_unit"/>
10552 <delete permission="ADMIN_CLAIM_POLICY">
10553 <context link="claim_policy" field="org_unit"/>
10559 <class id="stgu" controller="open-ils.cstore" oils_obj:fieldmapper="staging::user_stage" oils_persist:tablename="staging.user_stage" reporter:label="User Stage">
10560 <fields oils_persist:primary="row_id" oils_persist:sequence="staging.user_stage_row_id_seq">
10561 <field reporter:label="Row ID" name="row_id" reporter:datatype="id"/>
10562 <field reporter:label="Create Date" name="row_date" reporter:datatype="timestamp"/>
10563 <field reporter:label="User Name" name="usrname" reporter:datatype="text"/>
10564 <field reporter:label="Main (Profile) Permission Group" name="profile" reporter:datatype="text"/>
10565 <field reporter:label="Email Address" name="email" reporter:datatype="text"/>
10566 <field reporter:label="Password" name="passwd" reporter:datatype="text"/>
10567 <field reporter:label="Primary Identification Type" name="ident_type" reporter:datatype="int"/>
10568 <field reporter:label="First Name" name="first_given_name" reporter:datatype="text"/>
10569 <field reporter:label="Middle Name" name="second_given_name" reporter:datatype="text"/>
10570 <field reporter:label="Last Name" name="family_name" reporter:datatype="text"/>
10571 <field reporter:label="Daytime Phone" name="day_phone" reporter:datatype="text"/>
10572 <field reporter:label="Evening Phone" name="evening_phone" reporter:datatype="text"/>
10573 <field reporter:label="Home Library" name="home_ou" reporter:datatype="int"/>
10574 <field reporter:label="Date of Birth" name="dob" reporter:datatype="text"/>
10575 <field reporter:label="Complete" name="complete" reporter:datatype="bool"/>
10576 <field reporter:label="Requesting User" name="requesting_usr" reporter:datatype="link"/>
10577 <field reporter:label="Preferred First Name" name="pref_first_given_name" reporter:datatype="text"/>
10578 <field reporter:label="Preferred Middle Name" name="pref_second_given_name" reporter:datatype="text"/>
10579 <field reporter:label="Preferred Last Name" name="pref_family_name" reporter:datatype="text"/>
10582 <link field="requesting_usr" reltype="has_a" key="id" map="" class="au"/>
10586 <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">
10587 <fields oils_persist:primary="row_id" oils_persist:sequence="staging.card_stage_row_id_seq">
10588 <field reporter:label="Row ID" name="row_id" reporter:datatype="id"/>
10589 <field reporter:label="Row Date" name="row_date" reporter:datatype="timestamp"/>
10590 <field reporter:label="User Name" name="usrname" reporter:datatype="text"/>
10591 <field reporter:label="Barcode" name="barcode" reporter:datatype="text"/>
10592 <field reporter:label="Complete" name="complete" reporter:datatype="bool"/>
10596 <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">
10597 <fields oils_persist:primary="row_id" oils_persist:sequence="staging.mailing_address_stage_row_id_seq">
10598 <field reporter:label="Row ID" name="row_id" reporter:datatype="id"/>
10599 <field reporter:label="Row Date" name="row_date" reporter:datatype="timestamp"/>
10600 <field reporter:label="User Name" name="usrname" reporter:datatype="text"/>
10601 <field reporter:label="Street (1)" name="street1" reporter:datatype="text"/>
10602 <field reporter:label="Street (2)" name="street2" reporter:datatype="text"/>
10603 <field reporter:label="City" name="city" reporter:datatype="text"/>
10604 <field reporter:label="County" name="county" reporter:datatype="text"/>
10605 <field reporter:label="State" name="state" reporter:datatype="text"/>
10606 <field reporter:label="Country" name="country" reporter:datatype="text"/>
10607 <field reporter:label="Postal Code" name="post_code" reporter:datatype="text"/>
10608 <field reporter:label="Complete" name="complete" reporter:datatype="bool"/>
10612 <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">
10613 <fields oils_persist:primary="row_id" oils_persist:sequence="staging.mailing_address_stage_row_id_seq">
10614 <field reporter:label="Row ID" name="row_id" reporter:datatype="id"/>
10615 <field reporter:label="Row Date" name="row_date" reporter:datatype="timestamp"/>
10616 <field reporter:label="User Name" name="usrname" reporter:datatype="text"/>
10617 <field reporter:label="Street (1)" name="street1" reporter:datatype="text"/>
10618 <field reporter:label="Street (2)" name="street2" reporter:datatype="text"/>
10619 <field reporter:label="City" name="city" reporter:datatype="text"/>
10620 <field reporter:label="County" name="county" reporter:datatype="text"/>
10621 <field reporter:label="State" name="state" reporter:datatype="text"/>
10622 <field reporter:label="Country" name="country" reporter:datatype="text"/>
10623 <field reporter:label="Postal Code" name="post_code" reporter:datatype="text"/>
10624 <field reporter:label="Complete" name="complete" reporter:datatype="bool"/>
10628 <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">
10629 <fields oils_persist:primary="row_id" oils_persist:sequence="staging.statcat_stage_row_id_seq">
10630 <field reporter:label="Row ID" name="row_id" reporter:datatype="id"/>
10631 <field reporter:label="Row Date" name="row_date" reporter:datatype="timestamp"/>
10632 <field reporter:label="User Name" name="usrname" reporter:datatype="text"/>
10633 <field reporter:label="Stat Cat ID" name="statcat" reporter:datatype="text"/>
10634 <field reporter:label="Stat Cat Value" name="value" reporter:datatype="text"/>
10635 <field reporter:label="Complete" name="complete" reporter:datatype="bool"/>
10639 <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">
10640 <fields oils_persist:primary="row_id" oils_persist:sequence="staging.setting_stage_row_id_seq">
10641 <field reporter:label="Row ID" name="row_id" reporter:datatype="id"/>
10642 <field reporter:label="Row Date" name="row_date" reporter:datatype="timestamp"/>
10643 <field reporter:label="User Name" name="usrname" reporter:datatype="text"/>
10644 <field reporter:label="User Setting Code" name="setting" reporter:datatype="text"/>
10645 <field reporter:label="User Setting Value" name="value" reporter:datatype="text"/>
10646 <field reporter:label="Complete" name="complete" reporter:datatype="bool"/>
10650 <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">
10651 <fields oils_persist:primary="id" oils_persist:sequence="action.fieldset_group_id_seq">
10652 <field reporter:label="Fieldset Group ID" name="id" reporter:datatype="id"/>
10653 <field reporter:label="Fieldset Group Name" name="name" reporter:datatype="text" oils_obj:required="true"/>
10654 <field reporter:label="Creation Time" name="create_time" reporter:datatype="timestamp"/>
10655 <field reporter:label="Complete Time" name="complete_time" reporter:datatype="timestamp"/>
10656 <field reporter:label="Container ID" name="container" reporter:datatype="int" oils_obj:required="true"/> <!-- not an fkey because could be on multiple tables -->
10657 <field reporter:label="Container Type" name="container_type" reporter:datatype="text" oils_obj:required="true"/>
10658 <field reporter:label="Rollback Group" name="rollback_group" reporter:datatype="link"/>
10659 <field reporter:label="Rollback Time" name="rollback_time" reporter:datatype="timestamp"/>
10660 <field reporter:label="Creator" name="creator" reporter:datatype="link"/>
10661 <field reporter:label="Owning Library" name="owning_lib" reporter:datatype="org_unit"/>
10664 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
10665 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
10666 <link field="rollback_group" reltype="has_a" key="id" map="" class="afsg"/>
10668 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
10670 <create permission="CREATE_FIELDSET_GROUP ADMIN_FIELDSET_GROUP" context_field="owning_lib" owning_user="creator"/>
10671 <retrieve permission="RETRIEVE_FIELDSET_GROUP ADMIN_FIELDSET_GROUP" context_field="owning_lib" owning_user="creator"/>
10672 <update permission="UPDATE_FIELDSET_GROUP ADMIN_FIELDSET_GROUP" context_field="owning_lib" owning_user="creator"/>
10673 <delete permission="DELETE_FIELDSET_GROUP ADMIN_FIELDSET_GROUP" context_field="owning_lib" owning_user="creator"/>
10678 <class id="afs" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="action::fieldset" oils_persist:tablename="action.fieldset" reporter:label="Fieldset">
10679 <fields oils_persist:primary="id" oils_persist:sequence="action.fieldset_id_seq">
10680 <field reporter:label="Fieldset ID" name="id" reporter:datatype="id"/>
10681 <field reporter:label="Owner" name="owner" reporter:datatype="link"/>
10682 <field reporter:label="Owning Library" name="owning_lib" reporter:datatype="link"/>
10683 <field reporter:label="Status" name="status" reporter:datatype="text"/>
10684 <field reporter:label="Creation Time" name="creation_time" reporter:datatype="timestamp"/>
10685 <field reporter:label="Scheduled Time" name="scheduled_time" reporter:datatype="timestamp"/>
10686 <field reporter:label="Applied Time" name="applied_time" reporter:datatype="timestamp"/>
10687 <field reporter:label="Class Name" name="classname" reporter:datatype="text"/>
10688 <field reporter:label="Fieldset Name" name="name" reporter:datatype="text"/>
10689 <field reporter:label="Stored Query" name="stored_query" reporter:datatype="link"/>
10690 <field reporter:label="Primary Key Value" name="pkey_value" reporter:datatype="text"/>
10691 <field reporter:label="Fieldset Group" name="fieldset_group" reporter:datatype="link"/>
10692 <field reporter:label="Error Message" name="error_msg" reporter:datatype="text"/>
10695 <link field="owner" reltype="has_a" key="id" map="" class="au"/>
10696 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
10697 <link field="stored_query" reltype="has_a" key="id" map="" class="qsq"/>
10698 <link field="fieldset_group" reltype="has_a" key="id" map="" class="afsg"/>
10700 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
10702 <create permission="CREATE_FIELDSET ADMIN_FIELDSET" context_field="owning_lib" owning_user="owner"/>
10703 <retrieve permission="RETRIEVE_FIELDSET ADMIN_FIELDSET" context_field="owning_lib" owning_user="owner"/>
10704 <update permission="UPDATE_FIELDSET ADMIN_FIELDSET" context_field="owning_lib" owning_user="owner"/>
10705 <delete permission="DELETE_FIELDSET ADMIN_FIELDSET" context_field="owning_lib" owning_user="owner"/>
10710 <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">
10711 <fields oils_persist:primary="id" oils_persist:sequence="action.fieldset_col_val_id_seq">
10712 <field reporter:label="Column Value ID" name="id" reporter:datatype="id"/>
10713 <field reporter:label="Fieldset ID" name="fieldset" reporter:datatype="link"/>
10714 <field reporter:label="Column Name" name="col" reporter:datatype="text"/>
10715 <field reporter:label="Column Value" name="val" reporter:datatype="text"/>
10718 <link field="fieldset" reltype="has_a" key="id" map="" class="afs"/>
10720 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1"> <!-- NOTE: foreign context does not support owning_user today -->
10722 <create permission="CREATE_FIELDSET_ENTRY ADMIN_FIELDSET_ENTRY">
10723 <context link="fieldset" field="owning_lib"/>
10725 <retrieve permission="RETRIEVE_FIELDSET_ENTRY ADMIN_FIELDSET_ENTRY">
10726 <context link="fieldset" field="owning_lib"/>
10728 <update permission="UPDATE_FIELDSET_ENTRY ADMIN_FIELDSET_ENTRY">
10729 <context link="fieldset" field="owning_lib"/>
10731 <delete permission="DELETE_FIELDSET_ENTRY ADMIN_FIELDSET_ENTRY">
10732 <context link="fieldset" field="owning_lib"/>
10738 <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">
10740 <field reporter:label="Hold ID" name="hold" reporter:datatype="link"/>
10741 <field reporter:label="Circulating Library" name="circ_lib" reporter:datatype="link"/>
10742 <field reporter:label="Loop Count" name="count" reporter:datatype="int"/>
10745 <link field="hold" reltype="has_a" key="id" map="" class="ahr"/>
10746 <link field="circ_lib" reltype="has_a" key="id" map="" class="aou"/>
10750 <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">
10752 <field reporter:label="Hold ID" name="hold" reporter:datatype="link"/>
10753 <field reporter:label="Min Loop" name="min" reporter:datatype="int"/>
10756 <link field="hold" reltype="has_a" key="id" map="" class="ahr"/>
10760 <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">
10762 <field reporter:label="Hold ID" name="hold" reporter:datatype="link"/>
10763 <field reporter:label="Circulating Library" name="circ_lib" reporter:datatype="link"/>
10764 <field reporter:label="Loop Count" name="count" reporter:datatype="int"/>
10767 <link field="hold" reltype="has_a" key="id" map="" class="ahr"/>
10768 <link field="circ_lib" reltype="has_a" key="id" map="" class="aou"/>
10772 <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">
10774 <field reporter:label="Hold ID" name="hold" reporter:datatype="link"/>
10775 <field reporter:label="Max Loop" name="max" reporter:datatype="int"/>
10778 <link field="hold" reltype="has_a" key="id" map="" class="ahr"/>
10782 <class id="aufhol" controller="open-ils.cstore" oils_obj:fieldmapper="action::unfulfilled_hold_outermost_loop" oils_persist:readonly="true">
10783 <oils_persist:source_definition><![CDATA[
10785 SELECT DISTINCT l.*
10786 FROM action.unfulfilled_hold_loops l
10787 JOIN action.unfulfilled_hold_max_loop m USING (hold)
10788 WHERE l.count = m.max
10790 ]]></oils_persist:source_definition>
10792 <field reporter:label="Hold ID" name="hold" reporter:datatype="link"/>
10793 <field reporter:label="Circulating Library" name="circ_lib" reporter:datatype="link"/>
10794 <field reporter:label="Loop Count" name="count" reporter:datatype="int"/>
10797 <link field="hold" reltype="has_a" key="id" map="" class="ahr"/>
10798 <link field="circ_lib" reltype="has_a" key="id" map="" class="aou"/>
10802 <class id="qsq" controller="open-ils.cstore" oils_obj:fieldmapper="query::stored_query" oils_persist:tablename="query.stored_query" reporter:label="Stored Query">
10803 <fields oils_persist:primary="id" oils_persist:sequence="query.stored_query_id_seq">
10804 <field reporter:label="Query ID" name="id" reporter:datatype="id"/>
10805 <field reporter:label="Query type" name="type" reporter:datatype="text"/>
10806 <field reporter:label="Use ALL" name="use_all" reporter:datatype="bool"/>
10807 <field reporter:label="Use DISTINCT" name="use_distinct" reporter:datatype="bool"/>
10808 <field reporter:label="FROM Clause" name="from_clause" reporter:datatype="link"/>
10809 <field reporter:label="WHERE Clause" name="where_clause" reporter:datatype="link"/>
10810 <field reporter:label="HAVING Clause" name="having_clause" reporter:datatype="link"/>
10811 <field reporter:label="LIMIT count" name="limit_count" reporter:datatype="link"/>
10812 <field reporter:label="OFFSET count" name="offset_count" reporter:datatype="link"/>
10815 <link field="from_clause" reltype="has_a" key="id" map="" class="qfr"/>
10816 <link field="having_clause" reltype="has_a" key="id" map="" class="qxp"/>
10817 <link field="where_clause" reltype="has_a" key="id" map="" class="qxp"/>
10818 <link field="limit_count" reltype="has_a" key="id" map="" class="qxp"/>
10819 <link field="offset_count" reltype="has_a" key="id" map="" class="qxp"/>
10823 <class id="qseq" controller="open-ils.cstore" oils_obj:fieldmapper="query::query_sequence" oils_persist:tablename="query.query_sequence" reporter:label="Query Sequence">
10824 <fields oils_persist:primary="id" oils_persist:sequence="query.query_sequence_id_seq">
10825 <field reporter:label="Query Seq ID" name="id" reporter:datatype="id"/>
10826 <field reporter:label="Parent Query" name="parent_query" reporter:datatype="link"/>
10827 <field reporter:label="Sequence Number" name="seq_no" reporter:datatype="int"/>
10828 <field reporter:label="Child Query" name="child_query" reporter:datatype="link"/>
10831 <link field="parent_query" reltype="has_a" key="id" map="" class="qsq"/>
10832 <link field="child_query" reltype="has_a" key="id" map="" class="qsq"/>
10836 <class id="qdt" controller="open-ils.cstore" oils_obj:fieldmapper="query::datatype" oils_persist:tablename="query.datatype" reporter:label="Datatype">
10837 <fields oils_persist:primary="id" oils_persist:sequence="query.datatype_id_seq">
10838 <field reporter:label="Datatype ID" name="id" reporter:datatype="id"/>
10839 <field reporter:label="Datatype Name" name="datatype_name" reporter:datatype="text"/>
10840 <field reporter:label="Is Numeric" name="is_numeric" reporter:datatype="bool"/>
10841 <field reporter:label="Is Composite" name="is_composite" reporter:datatype="bool"/>
10847 <class id="qsf" controller="open-ils.cstore" oils_obj:fieldmapper="query::subfield" oils_persist:tablename="query.subfield" reporter:label="Subfield">
10848 <fields oils_persist:primary="id" oils_persist:sequence="query.subfield_id_seq">
10849 <field reporter:label="Subfield ID" name="id" reporter:datatype="id"/>
10850 <field reporter:label="Composite Type" name="composite_type" reporter:datatype="link"/>
10851 <field reporter:label="Sequence Number" name="seq_no" reporter:datatype="int"/>
10852 <field reporter:label="Subfield Type" name="subfield_type" reporter:datatype="link"/>
10855 <link field="composite_type" reltype="has_a" key="id" map="" class="qdt"/>
10856 <link field="subfield_type" reltype="has_a" key="id" map="" class="qdt"/>
10860 <class id="qfs" controller="open-ils.cstore" oils_obj:fieldmapper="query::function_sig" oils_persist:tablename="query.function_sig" reporter:label="Function Signature">
10861 <fields oils_persist:primary="id" oils_persist:sequence="query.function_sig_id_seq">
10862 <field reporter:label="Function Signature ID" name="id" reporter:datatype="id"/>
10863 <field reporter:label="Function Name" name="function_name" reporter:datatype="text"/>
10864 <field reporter:label="Return Type" name="return_type" reporter:datatype="link"/>
10865 <field reporter:label="Is Aggregate" name="is_aggregate" reporter:datatype="bool"/>
10868 <link field="return_type" reltype="has_a" key="id" map="" class="qdt"/>
10872 <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">
10873 <fields oils_persist:primary="id" oils_persist:sequence="query.function_param_def_id_seq">
10874 <field reporter:label="Function Param Def ID" name="id" reporter:datatype="id"/>
10875 <field reporter:label="Function ID" name="function_id" reporter:datatype="link"/>
10876 <field reporter:label="Sequence Number" name="seq_no" reporter:datatype="int"/>
10877 <field reporter:label="Datatype" name="datatype" reporter:datatype="link"/>
10880 <link field="function_id" reltype="has_a" key="id" map="" class="qfs"/>
10881 <link field="datatype" reltype="has_a" key="id" map="" class="qdt"/>
10885 <class id="qbv" controller="open-ils.cstore" oils_obj:fieldmapper="query::bind_variable" oils_persist:tablename="query.bind_variable" reporter:label="Bind Variable">
10886 <fields oils_persist:primary="name">
10887 <field reporter:label="Name" name="name" reporter:datatype="id"/>
10888 <field reporter:label="Label" name="label" reporter:datatype="text" oils_persist:i18n="true"/>
10889 <field reporter:label="Type" name="type" reporter:datatype="text"/>
10890 <field reporter:label="Description" name="description" reporter:datatype="text"/>
10891 <field reporter:label="Default Value" name="default_value" reporter:datatype="text"/>
10892 <field reporter:label="Actual Value" name="actual_value" oils_persist:virtual="true" reporter:datatype="text"/>
10898 <class id="qxp" controller="open-ils.cstore" oils_obj:fieldmapper="query::expression" oils_persist:tablename="query.expression" reporter:label="Expression">
10899 <fields oils_persist:primary="id" oils_persist:sequence="query.expression_id_seq">
10900 <field reporter:label="Expression ID" name="id" reporter:datatype="id"/>
10901 <field reporter:label="Expression Type" name="type" reporter:datatype="text"/>
10902 <field reporter:label="Is Parenthesized" name="parenthesize" reporter:datatype="bool"/>
10903 <field reporter:label="Parent Expression" name="parent_expr" reporter:datatype="link"/>
10904 <field reporter:label="Sequence Number" name="seq_no" reporter:datatype="int"/>
10905 <field reporter:label="Literal" name="literal" reporter:datatype="text"/>
10906 <field reporter:label="Table Alias" name="table_alias" reporter:datatype="text"/>
10907 <field reporter:label="Column Name" name="column_name" reporter:datatype="text"/>
10908 <field reporter:label="Left Operand" name="left_operand" reporter:datatype="link"/>
10909 <field reporter:label="Operator" name="operator" reporter:datatype="text"/>
10910 <field reporter:label="Right Operand" name="right_operand" reporter:datatype="link"/>
10911 <field reporter:label="Function ID" name="function_id" reporter:datatype="link"/>
10912 <field reporter:label="Subquery" name="subquery" reporter:datatype="link"/>
10913 <field reporter:label="Cast Type" name="cast_type" reporter:datatype="link"/>
10914 <field reporter:label="Negate?" name="negate" reporter:datatype="bool"/>
10915 <field reporter:label="Bind Variable" name="bind_variable" reporter:datatype="link"/>
10918 <link field="parent_expr" reltype="has_a" key="id" map="" class="qxp"/>
10919 <link field="left_operand" reltype="has_a" key="id" map="" class="qxp"/>
10920 <link field="right_operand" reltype="has_a" key="id" map="" class="qxp"/>
10921 <link field="function_id" reltype="has_a" key="id" map="" class="qfs"/>
10922 <link field="subquery" reltype="has_a" key="id" map="" class="qsq"/>
10923 <link field="cast_type" reltype="has_a" key="id" map="" class="qdt"/>
10924 <link field="bind_variable" reltype="has_a" key="name" map="" class="qbv"/>
10928 <class id="qcb" controller="open-ils.cstore" oils_obj:fieldmapper="query::case_branch" oils_persist:tablename="query.case_branch" reporter:label="Case Branch">
10929 <fields oils_persist:primary="id" oils_persist:sequence="query.case_branch_id_seq">
10930 <field reporter:label="Case Branch ID" name="id" reporter:datatype="id"/>
10931 <field reporter:label="Parent Expression" name="parent_expr" reporter:datatype="link"/>
10932 <field reporter:label="Sequence Number" name="seq_no" reporter:datatype="int"/>
10933 <field reporter:label="Condition" name="condition" reporter:datatype="link"/>
10934 <field reporter:label="Result" name="result" reporter:datatype="link"/>
10937 <link field="parent_expr" reltype="has_a" key="id" map="" class="qxp"/>
10938 <link field="condition" reltype="has_a" key="id" map="" class="qxp"/>
10939 <link field="result" reltype="has_a" key="id" map="" class="qxp"/>
10943 <class id="qfr" controller="open-ils.cstore" oils_obj:fieldmapper="query::from_relation" oils_persist:tablename="query.from_relation" reporter:label="From Relation">
10944 <fields oils_persist:primary="id" oils_persist:sequence="query.from_relation_id_seq">
10945 <field reporter:label="From Relation ID" name="id" reporter:datatype="id"/>
10946 <field reporter:label="From Relation Type" name="type" reporter:datatype="text"/>
10947 <field reporter:label="Table Name" name="table_name" reporter:datatype="text"/>
10948 <field reporter:label="Class Name" name="class_name" reporter:datatype="text"/>
10949 <field reporter:label="Subquery ID" name="subquery" reporter:datatype="link"/>
10950 <field reporter:label="Function Call ID" name="function_call" reporter:datatype="link"/>
10951 <field reporter:label="Table Alias" name="table_alias" reporter:datatype="text"/>
10952 <field reporter:label="Parent Relation ID" name="parent_relation" reporter:datatype="link"/>
10953 <field reporter:label="Sequence Number" name="seq_no" reporter:datatype="int"/>
10954 <field reporter:label="Join Type" name="join_type" reporter:datatype="text"/>
10955 <field reporter:label="On Clause ID" name="on_clause" reporter:datatype="link"/>
10958 <link field="subquery" reltype="has_a" key="id" map="" class="qsq"/>
10959 <link field="function_call" reltype="has_a" key="id" map="" class="qxp"/>
10960 <link field="parent_relation" reltype="has_a" key="id" map="" class="qfr"/>
10961 <link field="on_clause" reltype="has_a" key="id" map="" class="qxp"/>
10965 <class id="qrc" controller="open-ils.cstore" oils_obj:fieldmapper="query::record_column" oils_persist:tablename="query.record_column" reporter:label="Record Column">
10966 <fields oils_persist:primary="id" oils_persist:sequence="query.record_column_id_seq">
10967 <field reporter:label="Record Column ID" name="id" reporter:datatype="id"/>
10968 <field reporter:label="From Relation ID" name="from_relation" reporter:datatype="link"/>
10969 <field reporter:label="Sequence Number" name="seq_no" reporter:datatype="int"/>
10970 <field reporter:label="Column Name" name="column_name" reporter:datatype="text"/>
10971 <field reporter:label="Column Type" name="column_type" reporter:datatype="link"/>
10974 <link field="from_relation" reltype="has_a" key="id" map="" class="qfr"/>
10975 <link field="column_type" reltype="has_a" key="id" map="" class="qdt"/>
10979 <class id="qsi" controller="open-ils.cstore" oils_obj:fieldmapper="query::select_item" oils_persist:tablename="query.select_item" reporter:label="Select Item">
10980 <fields oils_persist:primary="id" oils_persist:sequence="query.select_item_id_seq">
10981 <field reporter:label="Select Item ID" name="id" reporter:datatype="id"/>
10982 <field reporter:label="Stored Query ID" name="stored_query" reporter:datatype="link"/>
10983 <field reporter:label="Sequence Number" name="seq_no" reporter:datatype="int"/>
10984 <field reporter:label="Expression" name="expression" reporter:datatype="link"/>
10985 <field reporter:label="Column Alias" name="column_alias" reporter:datatype="text"/>
10986 <field reporter:label="Is Grouped By" name="grouped_by" reporter:datatype="bool"/>
10989 <link field="stored_query" reltype="has_a" key="id" map="" class="qsq"/>
10990 <link field="expression" reltype="has_a" key="id" map="" class="qxp"/>
10994 <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">
10995 <fields oils_persist:primary="id" oils_persist:sequence="query.order_by_item_id_seq">
10996 <field reporter:label="Order By Item ID" name="id" reporter:datatype="id"/>
10997 <field reporter:label="Stored Query ID" name="stored_query" reporter:datatype="link"/>
10998 <field reporter:label="Sequence Number" name="seq_no" reporter:datatype="int"/>
10999 <field reporter:label="Expression" name="expression" reporter:datatype="link"/>
11002 <link field="stored_query" reltype="has_a" key="id" map="" class="qsq"/>
11003 <link field="expression" reltype="has_a" key="id" map="" class="qxp"/>
11007 <class id="xbet" controller="open-ils.cstore" oils_obj:fieldmapper="query::expr_xbet" oils_persist:tablename="query.expr_xbet" reporter:label="Between Expression">
11008 <fields oils_persist:primary="id" oils_persist:sequence="query.expression_id_seq">
11009 <field reporter:label="Expression ID" name="id" reporter:datatype="id"/>
11010 <field reporter:label="Is Parenthesized" name="parenthesize" reporter:datatype="bool"/>
11011 <field reporter:label="Parent Expression" name="parent_expr" reporter:datatype="link"/>
11012 <field reporter:label="Sequence Number" name="seq_no" reporter:datatype="int"/>
11013 <field reporter:label="Left Operand" name="left_operand" reporter:datatype="link"/>
11014 <field reporter:label="Negate?" name="negate" reporter:datatype="bool"/>
11017 <link field="parent_expr" reltype="has_a" key="id" map="" class="qxp"/>
11018 <link field="left_operand" reltype="has_a" key="id" map="" class="qxp"/>
11022 <class id="xbind" controller="open-ils.cstore" oils_obj:fieldmapper="query::expr_xbind" oils_persist:tablename="query.expr_xbind" reporter:label="Bind Variable Expression">
11023 <fields oils_persist:primary="id" oils_persist:sequence="query.expression_id_seq">
11024 <field reporter:label="Expression ID" name="id" reporter:datatype="id"/>
11025 <field reporter:label="Is Parenthesized" name="parenthesize" reporter:datatype="bool"/>
11026 <field reporter:label="Parent Expression" name="parent_expr" reporter:datatype="link"/>
11027 <field reporter:label="Sequence Number" name="seq_no" reporter:datatype="int"/>
11028 <field reporter:label="Bind Variable" name="bind_variable" reporter:datatype="link"/>
11031 <link field="parent_expr" reltype="has_a" key="id" map="" class="qxp"/>
11032 <link field="bind_variable" reltype="has_a" key="name" map="" class="qbv"/>
11036 <class id="xbool" controller="open-ils.cstore" oils_obj:fieldmapper="query::expr_xbool" oils_persist:tablename="query.expr_xbool" reporter:label="Boolean Expression">
11037 <fields oils_persist:primary="id" oils_persist:sequence="query.expression_id_seq">
11038 <field reporter:label="Expression ID" name="id" reporter:datatype="id"/>
11039 <field reporter:label="Is Parenthesized" name="parenthesize" reporter:datatype="bool"/>
11040 <field reporter:label="Parent Expression" name="parent_expr" reporter:datatype="link"/>
11041 <field reporter:label="Sequence Number" name="seq_no" reporter:datatype="int"/>
11042 <field reporter:label="Literal" name="literal" reporter:datatype="text"/>
11043 <field reporter:label="Negate?" name="negate" reporter:datatype="bool"/>
11046 <link field="parent_expr" reltype="has_a" key="id" map="" class="qxp"/>
11050 <class id="xcase" controller="open-ils.cstore" oils_obj:fieldmapper="query::expr_xcase" oils_persist:tablename="query.expr_xcase" reporter:label="Case Expression">
11051 <fields oils_persist:primary="id" oils_persist:sequence="query.expression_id_seq">
11052 <field reporter:label="Expression ID" name="id" reporter:datatype="id"/>
11053 <field reporter:label="Is Parenthesized" name="parenthesize" reporter:datatype="bool"/>
11054 <field reporter:label="Parent Expression" name="parent_expr" reporter:datatype="link"/>
11055 <field reporter:label="Sequence Number" name="seq_no" reporter:datatype="int"/>
11056 <field reporter:label="Left Operand" name="left_operand" reporter:datatype="link"/>
11057 <field reporter:label="Negate?" name="negate" reporter:datatype="bool"/>
11060 <link field="parent_expr" reltype="has_a" key="id" map="" class="qxp"/>
11061 <link field="left_operand" reltype="has_a" key="id" map="" class="qxp"/>
11065 <class id="xcast" controller="open-ils.cstore" oils_obj:fieldmapper="query::expr_xcast" oils_persist:tablename="query.expr_xcast" reporter:label="Cast Expression">
11066 <fields oils_persist:primary="id" oils_persist:sequence="query.expression_id_seq">
11067 <field reporter:label="Expression ID" name="id" reporter:datatype="id"/>
11068 <field reporter:label="Is Parenthesized" name="parenthesize" reporter:datatype="bool"/>
11069 <field reporter:label="Parent Expression" name="parent_expr" reporter:datatype="link"/>
11070 <field reporter:label="Sequence Number" name="seq_no" reporter:datatype="int"/>
11071 <field reporter:label="Left Operand" name="left_operand" reporter:datatype="link"/>
11072 <field reporter:label="Cast Type" name="cast_type" reporter:datatype="link"/>
11073 <field reporter:label="Negate?" name="negate" reporter:datatype="bool"/>
11076 <link field="parent_expr" reltype="has_a" key="id" map="" class="qxp"/>
11077 <link field="left_operand" reltype="has_a" key="id" map="" class="qxp"/>
11078 <link field="cast_type" reltype="has_a" key="id" map="" class="qdt"/>
11082 <class id="xcol" controller="open-ils.cstore" oils_obj:fieldmapper="query::expr_xcol" oils_persist:tablename="query.expr_xcol" reporter:label="Column Expression">
11083 <fields oils_persist:primary="id" oils_persist:sequence="query.expression_id_seq">
11084 <field reporter:label="Expression ID" name="id" reporter:datatype="id"/>
11085 <field reporter:label="Is Parenthesized" name="parenthesize" reporter:datatype="bool"/>
11086 <field reporter:label="Parent Expression" name="parent_expr" reporter:datatype="link"/>
11087 <field reporter:label="Sequence Number" name="seq_no" reporter:datatype="int"/>
11088 <field reporter:label="Table Alias" name="table_alias" reporter:datatype="text"/>
11089 <field reporter:label="Column Name" name="column_name" reporter:datatype="text"/>
11090 <field reporter:label="Negate?" name="negate" reporter:datatype="bool"/>
11093 <link field="parent_expr" reltype="has_a" key="id" map="" class="qxp"/>
11097 <class id="xex" controller="open-ils.cstore" oils_obj:fieldmapper="query::expr_xex" oils_persist:tablename="query.expr_xex" reporter:label="Exists Expression">
11098 <fields oils_persist:primary="id" oils_persist:sequence="query.expression_id_seq">
11099 <field reporter:label="Expression ID" name="id" reporter:datatype="id"/>
11100 <field reporter:label="Is Parenthesized" name="parenthesize" reporter:datatype="bool"/>
11101 <field reporter:label="Parent Expression" name="parent_expr" reporter:datatype="link"/>
11102 <field reporter:label="Sequence Number" name="seq_no" reporter:datatype="int"/>
11103 <field reporter:label="Subquery" name="subquery" reporter:datatype="link"/>
11104 <field reporter:label="Negate?" name="negate" reporter:datatype="bool"/>
11107 <link field="parent_expr" reltype="has_a" key="id" map="" class="qxp"/>
11108 <link field="subquery" reltype="has_a" key="id" map="" class="qsq"/>
11112 <class id="xfunc" controller="open-ils.cstore" oils_obj:fieldmapper="query::expr_xfunc" oils_persist:tablename="query.expr_xfunc" reporter:label="Function Expression">
11113 <fields oils_persist:primary="id" oils_persist:sequence="query.expression_id_seq">
11114 <field reporter:label="Expression ID" name="id" reporter:datatype="id"/>
11115 <field reporter:label="Is Parenthesized" name="parenthesize" reporter:datatype="bool"/>
11116 <field reporter:label="Parent Expression" name="parent_expr" reporter:datatype="link"/>
11117 <field reporter:label="Sequence Number" name="seq_no" reporter:datatype="int"/>
11118 <field reporter:label="Column Name" name="column_name" reporter:datatype="text"/>
11119 <field reporter:label="Function ID" name="function_id" reporter:datatype="link"/>
11120 <field reporter:label="Negate?" name="negate" reporter:datatype="bool"/>
11123 <link field="parent_expr" reltype="has_a" key="id" map="" class="qxp"/>
11124 <link field="function_id" reltype="has_a" key="id" map="" class="qfs"/>
11128 <class id="xin" controller="open-ils.cstore" oils_obj:fieldmapper="query::expr_xin" oils_persist:tablename="query.expr_xin" reporter:label="In Expression">
11129 <fields oils_persist:primary="id" oils_persist:sequence="query.expression_id_seq">
11130 <field reporter:label="Expression ID" name="id" reporter:datatype="id"/>
11131 <field reporter:label="Is Parenthesized" name="parenthesize" reporter:datatype="bool"/>
11132 <field reporter:label="Parent Expression" name="parent_expr" reporter:datatype="link"/>
11133 <field reporter:label="Sequence Number" name="seq_no" reporter:datatype="int"/>
11134 <field reporter:label="Left Operand" name="left_operand" reporter:datatype="link"/>
11135 <field reporter:label="Subquery" name="subquery" reporter:datatype="link"/>
11136 <field reporter:label="Negate?" name="negate" reporter:datatype="bool"/>
11139 <link field="parent_expr" reltype="has_a" key="id" map="" class="qxp"/>
11140 <link field="left_operand" reltype="has_a" key="id" map="" class="qxp"/>
11141 <link field="subquery" reltype="has_a" key="id" map="" class="qsq"/>
11145 <class id="xisnull" controller="open-ils.cstore" oils_obj:fieldmapper="query::expr_xisnull" oils_persist:tablename="query.expr_xisnull" reporter:label="IS NULL Expression">
11146 <fields oils_persist:primary="id" oils_persist:sequence="query.expression_id_seq">
11147 <field reporter:label="Expression ID" name="id" reporter:datatype="id"/>
11148 <field reporter:label="Is Parenthesized" name="parenthesize" reporter:datatype="bool"/>
11149 <field reporter:label="Parent Expression" name="parent_expr" reporter:datatype="link"/>
11150 <field reporter:label="Sequence Number" name="seq_no" reporter:datatype="int"/>
11151 <field reporter:label="Left Operand" name="left_operand" reporter:datatype="link"/>
11152 <field reporter:label="Negate?" name="negate" reporter:datatype="bool"/>
11155 <link field="parent_expr" reltype="has_a" key="id" map="" class="qxp"/>
11156 <link field="left_operand" reltype="has_a" key="id" map="" class="qxp"/>
11160 <class id="xnull" controller="open-ils.cstore" oils_obj:fieldmapper="query::expr_xnull" oils_persist:tablename="query.expr_xnull" reporter:label="Null Expression">
11161 <fields oils_persist:primary="id" oils_persist:sequence="query.expression_id_seq">
11162 <field reporter:label="Expression ID" name="id" reporter:datatype="id"/>
11163 <field reporter:label="Is Parenthesized" name="parenthesize" reporter:datatype="bool"/>
11164 <field reporter:label="Parent Expression" name="parent_expr" reporter:datatype="link"/>
11165 <field reporter:label="Sequence Number" name="seq_no" reporter:datatype="int"/>
11166 <field reporter:label="Negate?" name="negate" reporter:datatype="bool"/>
11169 <link field="parent_expr" reltype="has_a" key="id" map="" class="qxp"/>
11173 <class id="xnum" controller="open-ils.cstore" oils_obj:fieldmapper="query::expr_xnum" oils_persist:tablename="query.expr_xnum" reporter:label="Number Expression">
11174 <fields oils_persist:primary="id" oils_persist:sequence="query.expression_id_seq">
11175 <field reporter:label="Expression ID" name="id" reporter:datatype="id"/>
11176 <field reporter:label="Is Parenthesized" name="parenthesize" reporter:datatype="bool"/>
11177 <field reporter:label="Parent Expression" name="parent_expr" reporter:datatype="link"/>
11178 <field reporter:label="Sequence Number" name="seq_no" reporter:datatype="int"/>
11179 <field reporter:label="Literal" name="literal" reporter:datatype="text"/>
11182 <link field="parent_expr" reltype="has_a" key="id" map="" class="qxp"/>
11186 <class id="xop" controller="open-ils.cstore" oils_obj:fieldmapper="query::expr_xop" oils_persist:tablename="query.expr_xop" reporter:label="Operator Expression">
11187 <fields oils_persist:primary="id" oils_persist:sequence="query.expression_id_seq">
11188 <field reporter:label="Expression ID" name="id" reporter:datatype="id"/>
11189 <field reporter:label="Is Parenthesized" name="parenthesize" reporter:datatype="bool"/>
11190 <field reporter:label="Parent Expression" name="parent_expr" reporter:datatype="link"/>
11191 <field reporter:label="Sequence Number" name="seq_no" reporter:datatype="int"/>
11192 <field reporter:label="Left Operand" name="left_operand" reporter:datatype="link"/>
11193 <field reporter:label="Operator" name="operator" reporter:datatype="text"/>
11194 <field reporter:label="Right Operand" name="right_operand" reporter:datatype="link"/>
11195 <field reporter:label="Negate?" name="negate" reporter:datatype="bool"/>
11198 <link field="parent_expr" reltype="has_a" key="id" map="" class="qxp"/>
11199 <link field="left_operand" reltype="has_a" key="id" map="" class="qxp"/>
11200 <link field="right_operand" reltype="has_a" key="id" map="" class="qxp"/>
11204 <class id="xser" controller="open-ils.cstore" oils_obj:fieldmapper="query::expr_xser" oils_persist:tablename="query.expr_xser" reporter:label="Operator Expression">
11205 <fields oils_persist:primary="id" oils_persist:sequence="query.expression_id_seq">
11206 <field reporter:label="Expression ID" name="id" reporter:datatype="id"/>
11207 <field reporter:label="Is Parenthesized" name="parenthesize" reporter:datatype="bool"/>
11208 <field reporter:label="Parent Expression" name="parent_expr" reporter:datatype="link"/>
11209 <field reporter:label="Sequence Number" name="seq_no" reporter:datatype="int"/>
11210 <field reporter:label="Operator" name="operator" reporter:datatype="text"/>
11211 <field reporter:label="Negate?" name="negate" reporter:datatype="bool"/>
11214 <link field="parent_expr" reltype="has_a" key="id" map="" class="qxp"/>
11218 <class id="xstr" controller="open-ils.cstore" oils_obj:fieldmapper="query::expr_xstr" oils_persist:tablename="query.expr_xstr" reporter:label="String Expression">
11219 <fields oils_persist:primary="id" oils_persist:sequence="query.expression_id_seq">
11220 <field reporter:label="Expression ID" name="id" reporter:datatype="id"/>
11221 <field reporter:label="Is Parenthesized" name="parenthesize" reporter:datatype="bool"/>
11222 <field reporter:label="Parent Expression" name="parent_expr" reporter:datatype="link"/>
11223 <field reporter:label="Sequence Number" name="seq_no" reporter:datatype="int"/>
11224 <field reporter:label="Literal" name="literal" reporter:datatype="text"/>
11227 <link field="parent_expr" reltype="has_a" key="id" map="" class="qxp"/>
11231 <class id="xsubq" controller="open-ils.cstore" oils_obj:fieldmapper="query::expr_xsubq" oils_persist:tablename="query.expr_xsubq" reporter:label="Subquery Expression">
11232 <fields oils_persist:primary="id" oils_persist:sequence="query.expression_id_seq">
11233 <field reporter:label="Expression ID" name="id" reporter:datatype="id"/>
11234 <field reporter:label="Is Parenthesized" name="parenthesize" reporter:datatype="bool"/>
11235 <field reporter:label="Parent Expression" name="parent_expr" reporter:datatype="link"/>
11236 <field reporter:label="Sequence Number" name="seq_no" reporter:datatype="int"/>
11237 <field reporter:label="Subquery" name="subquery" reporter:datatype="link"/>
11240 <link field="parent_expr" reltype="has_a" key="id" map="" class="qxp"/>
11241 <link field="subquery" reltype="has_a" key="id" map="" class="qsq"/>
11245 <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">
11246 <fields oils_persist:primary="id">
11247 <field reporter:label="Temp ID" name="id" reporter:datatype="id"/>
11248 <field reporter:label="Type" name="ptype" reporter:datatype="link"/>
11249 <field reporter:label="Subfield" name="subfield" reporter:datatype="link"/>
11250 <field reporter:label="Value" name="value" reporter:datatype="link"/>
11251 <field reporter:label="Record" name="record" reporter:datatype="link"/>
11254 <link field="ptype" reltype="has_a" key="id" map="" class="cmpctm"/>
11255 <link field="subfield" reltype="has_a" key="id" map="" class="cmpcsm"/>
11256 <link field="value" reltype="has_a" key="id" map="" class="cmpcvm"/>
11257 <link field="record" reltype="has_a" key="id" map="" class="bre"/>
11261 <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">
11262 <fields oils_persist:primary="id" oils_persist:sequence="config.marc21_ff_pos_map_id_seq">
11263 <field reporter:label="ID" name="id" reporter:datatype="id"/>
11264 <field reporter:label="Fixed Field" name="fixed_field" reporter:datatype="text"/>
11265 <field reporter:label="Tag" name="tag" reporter:datatype="text"/>
11266 <field reporter:label="Record Type" name="rec_type" reporter:datatype="text"/>
11267 <field reporter:label="Start Postion" name="start_pos" reporter:datatype="int"/>
11268 <field reporter:label="Length" name="length" reporter:datatype="int"/>
11269 <field reporter:label="Default Value" name="default_val" reporter:datatype="text"/>
11272 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
11279 <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">
11280 <fields oils_persist:primary="ptype_key">
11281 <field reporter:label="Type Key" name="ptype_key" reporter:datatype="id"/>
11282 <field reporter:label="Label" name="label" reporter:datatype="text"/>
11285 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
11292 <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">
11293 <fields oils_persist:primary="id" oils_persist:sequence="config.marc21_physical_characteristic_subfield_map_id_seq">
11294 <field reporter:label="ID" name="id" reporter:datatype="id"/>
11295 <field reporter:label="Type Key" name="ptype_key" reporter:datatype="link"/>
11296 <field reporter:label="Subfield" name="subfield" reporter:datatype="text"/>
11297 <field reporter:label="Start Postion" name="start_pos" reporter:datatype="int"/>
11298 <field reporter:label="Length" name="length" reporter:datatype="int"/>
11299 <field reporter:label="Label" name="label" reporter:datatype="text"/>
11302 <link field="ptype_key" reltype="has_a" key="id" map="" class="cmpctm"/>
11304 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
11311 <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">
11312 <fields oils_persist:primary="id" oils_persist:sequence="config.marc21_physical_characteristic_value_map_id_seq">
11313 <field reporter:label="ID" name="id" reporter:datatype="id"/>
11314 <field reporter:label="Value" name="value" reporter:datatype="text"/>
11315 <field reporter:label="Subfield" name="ptype_subfield" reporter:datatype="link"/>
11316 <field reporter:label="Label" name="label" reporter:datatype="text"/>
11319 <link field="ptype_subfield" reltype="has_a" key="id" map="" class="cmpcsm"/>
11321 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
11330 controller="open-ils.cstore open-ils.pcrud"
11331 oils_obj:fieldmapper="url_verify::session"
11332 oils_persist:tablename="url_verify.session"
11333 reporter:label="URL Verification Session"
11335 <fields oils_persist:primary="id" oils_persist:sequence="url_verify.session_id_seq">
11336 <field reporter:label="Session ID" name="id" reporter:datatype="id"/>
11337 <field reporter:label="Name" name="name" reporter:datatype="text" oils_obj:required="true"/>
11338 <field reporter:label="Owning Library" name="owning_lib" reporter:datatype="org_unit" oils_obj:required="true"/>
11339 <field reporter:label="Creator" name="creator" reporter:datatype="link" oils_obj:required="true"/>
11340 <field reporter:label="Record Container" name="container" reporter:datatype="link" oils_obj:required="true"/>
11341 <field reporter:label="Create Time" name="create_time" reporter:datatype="timestamp"/>
11342 <field reporter:label="Search Constraints" name="search" reporter:datatype="text" oils_obj:required="true"/>
11343 <field reporter:label="URL Selectors" name="selectors" reporter:datatype="link" oils_persist:virtual="true"/>
11344 <field reporter:label="Verification Attempts" name="attempts" reporter:datatype="link" oils_persist:virtual="true"/>
11348 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
11349 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
11350 <link field="container" reltype="has_a" key="id" map="" class="cbreb"/>
11351 <link field="selectors" reltype="has_many" key="session" map="" class="uvus"/>
11352 <link field="attempts" reltype="has_many" key="session" map="" class="uvva"/>
11355 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
11357 <retrieve permission="URL_VERIFY" context_field="owning_lib"/>
11363 <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">
11364 <oils_persist:source_definition><![CDATA[
11366 cbrebi.id AS id, -- so we can have a pkey in our view
11369 cbrebi.target_biblio_record_entry
11370 FROM url_verify.session uvs
11371 JOIN container.biblio_record_entry_bucket cbreb
11372 ON (uvs.container = cbreb.id)
11373 JOIN container.biblio_record_entry_bucket_item cbrebi
11374 ON (cbrebi.bucket = cbreb.id)
11375 ]]></oils_persist:source_definition>
11376 <fields oils_persist:primary="id" oils_persist:sequence="container.biblio_record_entry_bucket_item_id_seq">
11377 <field reporter:label="Bucket Item ID" name="id" reporter:datatype="id" />
11378 <field reporter:label="Session" name="session" reporter:datatype="link" />
11379 <field reporter:label="Owning Library" name="owning_lib" reporter:datatype="org_unit" />
11380 <field reporter:label="Target Biblio Record Entry" name="target_biblio_record_entry" reporter:datatype="link" />
11383 <link field="target_biblio_record_entry" reltype="has_a" key="id" map="" class="bre" />
11384 <link field="session" reltype="has_a" key="id" map="" class="uvs" />
11385 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou" />
11387 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
11389 <retrieve permission="URL_VERIFY" context_field="owning_lib" />
11396 controller="open-ils.cstore open-ils.pcrud"
11397 oils_obj:fieldmapper="url_verify::url_selector"
11398 oils_persist:tablename="url_verify.url_selector"
11399 reporter:label="URL Verification URL Selector"
11401 <fields oils_persist:primary="id" oils_persist:sequence="url_verify.url_selector_id_seq">
11402 <field reporter:label="URL Selector ID" name="id" reporter:datatype="id"/>
11403 <field reporter:label="XPath" name="xpath" reporter:datatype="text" oils_obj:required="true"/>
11404 <field reporter:label="Session" name="session" reporter:datatype="link" oils_obj:required="true"/>
11405 <field reporter:label="URLs" name="urls" reporter:datatype="link" oils_persist:virtual="true"/>
11409 <link field="session" reltype="has_a" key="id" map="" class="uvs"/>
11410 <link field="urls" reltype="has_many" key="id" map="" class="uvu"/>
11413 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
11415 <create permission="URL_VERIFY">
11416 <context link="session" field="owning_lib"/>
11418 <retrieve permission="URL_VERIFY">
11419 <context link="session" field="owning_lib"/>
11421 <update permission="URL_VERIFY">
11422 <context link="session" field="owning_lib"/>
11424 <delete permission="URL_VERIFY">
11425 <context link="session" field="owning_lib"/>
11434 controller="open-ils.cstore open-ils.pcrud"
11435 oils_obj:fieldmapper="url_verify::url"
11436 oils_persist:tablename="url_verify.url"
11437 reporter:label="URL Verification URL"
11439 <fields oils_persist:primary="id" oils_persist:sequence="url_verify.url_id_seq">
11440 <field reporter:label="URL ID" name="id" reporter:datatype="id"/>
11441 <field reporter:label="Redirected From" name="redirect_from" reporter:datatype="link"/>
11442 <field reporter:label="Container Item" name="item" reporter:datatype="link" oils_obj:required="true"/>
11443 <field reporter:label="Session" name="session" reporter:datatype="link" oils_obj:required="true"/>
11444 <field reporter:label="URL Selector" name="url_selector" reporter:datatype="link"/>
11445 <field reporter:label="Tag" name="tag" reporter:datatype="text"/>
11446 <field reporter:label="Subfield" name="subfield" reporter:datatype="text"/>
11447 <field reporter:label="Ordinal Position" name="ord" reporter:datatype="int"/>
11448 <field reporter:label="URL" name="full_url" reporter:datatype="text"/>
11449 <field reporter:label="Scheme" name="scheme" reporter:datatype="text"/>
11450 <field reporter:label="Host" name="host" reporter:datatype="text"/>
11451 <field reporter:label="Domain" name="domain" reporter:datatype="text"/>
11452 <field reporter:label="TLD" name="tld" reporter:datatype="text"/>
11453 <field reporter:label="Path" name="path" reporter:datatype="text"/>
11454 <field reporter:label="Page" name="page" reporter:datatype="text"/>
11455 <field reporter:label="Query" name="query" reporter:datatype="text"/>
11456 <field reporter:label="Fragment" name="fragment" reporter:datatype="text"/>
11457 <field reporter:label="Verifications" name="verifications" reporter:datatype="link" oils_persist:virtual="true" />
11461 <link field="redirect_from" reltype="has_a" key="id" map="" class="uvu"/>
11462 <link field="item" reltype="has_a" key="id" map="" class="uvsbrem" />
11463 <link field="session" reltype="has_a" key="id" map="" class="uvs"/>
11464 <link field="url_selector" reltype="has_a" key="id" map="" class="uvus"/>
11465 <link field="verifications" reltype="has_many" key="url" map="" class="uvuv"/>
11468 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
11470 <create permission="URL_VERIFY">
11471 <context link="session" field="owning_lib"/>
11473 <retrieve permission="URL_VERIFY">
11474 <context link="session" field="owning_lib"/>
11476 <update permission="URL_VERIFY">
11477 <context link="session" field="owning_lib"/>
11479 <delete permission="URL_VERIFY">
11480 <context link="session" field="owning_lib"/>
11489 controller="open-ils.cstore open-ils.pcrud"
11490 oils_obj:fieldmapper="url_verify::verification_attempt"
11491 oils_persist:tablename="url_verify.verification_attempt"
11492 reporter:label="URL Verification Attempt"
11494 <fields oils_persist:primary="id" oils_persist:sequence="url_verify.verification_attempt_id_seq">
11495 <field reporter:label="Attempt ID" name="id" reporter:datatype="id"/>
11496 <field reporter:label="User" name="usr" reporter:datatype="link"/>
11497 <field reporter:label="Session" name="session" reporter:datatype="link"/>
11498 <field reporter:label="Start Time" name="start_time" reporter:datatype="timestamp"/>
11499 <field reporter:label="Finish Time" name="finish_time" reporter:datatype="timestamp"/>
11503 <link field="session" reltype="has_a" key="id" map="" class="uvs"/>
11504 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
11507 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
11509 <create permission="URL_VERIFY">
11510 <context link="session" field="owning_lib"/>
11512 <retrieve permission="URL_VERIFY">
11513 <context link="session" field="owning_lib"/>
11515 <update permission="URL_VERIFY">
11516 <context link="session" field="owning_lib"/>
11518 <delete permission="URL_VERIFY">
11519 <context link="session" field="owning_lib"/>
11528 controller="open-ils.cstore open-ils.pcrud"
11529 oils_obj:fieldmapper="url_verify::url_verification"
11530 oils_persist:tablename="url_verify.url_verification"
11531 reporter:label="URL Verification"
11533 <fields oils_persist:primary="id" oils_persist:sequence="url_verify.url_verification_id_seq">
11534 <field reporter:label="Verification ID" name="id" reporter:datatype="id"/>
11535 <field reporter:label="URL" name="url" reporter:datatype="link"/>
11536 <field reporter:label="Attempt" name="attempt" reporter:datatype="link"/>
11537 <field reporter:label="Request Time" name="req_time" reporter:datatype="timestamp"/>
11538 <field reporter:label="Result Time" name="res_time" reporter:datatype="timestamp"/>
11539 <field reporter:label="Result Code" name="res_code" reporter:datatype="int"/>
11540 <field reporter:label="Result Text" name="res_text" reporter:datatype="text"/>
11541 <field reporter:label="Redirected To" name="redirect_to" reporter:datatype="link"/>
11545 <link field="url" reltype="has_a" key="id" map="" class="uvu"/>
11546 <link field="attempt" reltype="has_a" key="id" map="" class="uvva"/>
11547 <link field="redirect_to" reltype="has_a" key="id" map="" class="uvu"/>
11550 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
11552 <create permission="URL_VERIFY">
11553 <context link="attempt" jump="session" field="owning_lib"/>
11555 <retrieve permission="URL_VERIFY">
11556 <context link="attempt" jump="session" field="owning_lib"/>
11558 <update permission="URL_VERIFY">
11559 <context link="attempt" jump="session" field="owning_lib"/>
11561 <delete permission="URL_VERIFY">
11562 <context link="attempt" jump="session" field="owning_lib"/>
11571 controller="open-ils.cstore open-ils.pcrud"
11572 oils_obj:fieldmapper="config::filter_dialog_interface"
11573 oils_persist:tablename="config.filter_dialog_interface"
11574 reporter:label="FilterDialog Interface">
11575 <fields oils_persist:primary="key" oils_persist:sequence="config.filter_dialog_interface_pkey">
11576 <field reporter:label="Interface Key" name="key" reporter:datatype="text" />
11577 <field reporter:label="Description" name="description" reporter:datatype="text" />
11580 <link field="filter_sets" reltype="has_many" key="interface" map="" class="cfdfs"/>
11582 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
11591 controller="open-ils.cstore open-ils.pcrud"
11592 oils_obj:fieldmapper="config::filter_dialog_filter_set"
11593 oils_persist:tablename="config.filter_dialog_filter_set"
11594 reporter:label="FilterDialog Filter Set">
11595 <fields oils_persist:primary="id" oils_persist:sequence="config.filter_dialog_filter_set_id_seq">
11596 <field reporter:label="ID" name="id" reporter:datatype="id"/>
11597 <field reporter:label="Name" name="name" reporter:datatype="text"/>
11598 <field reporter:label="Owning Library" name="owning_lib" reporter:datatype="org_unit"/>
11599 <field reporter:label="Creator" name="creator" reporter:datatype="link"/>
11600 <field reporter:label="Interface" name="interface" reporter:datatype="link"/>
11601 <field reporter:label="Create Time" name="create_time" reporter:datatype="timestamp"/>
11602 <field reporter:label="Filters" name="filters" reporter:datatype="text"/>
11605 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
11606 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
11607 <link field="interface" reltype="has_a" key="key" map="" class="cfdi"/>
11609 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
11611 <create permission="SAVED_FILTER_DIALOG_FILTERS" context_field="owning_lib"/>
11612 <retrieve permission="SAVED_FILTER_DIALOG_FILTERS" context_field="owning_lib"/>
11613 <update permission="SAVED_FILTER_DIALOG_FILTERS" context_field="owning_lib"/>
11614 <delete permission="SAVED_FILTER_DIALOG_FILTERS" context_field="owning_lib"/>
11620 <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">
11621 <fields oils_persist:primary="code">
11622 <field reporter:label="Code" name="code" reporter:datatype="id"/>
11623 <field reporter:label="Type Value" name="type_val" reporter:datatype="text"/>
11624 <field reporter:label="BLvl Value" name="blvl_val" reporter:datatype="text"/>
11627 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
11634 <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">
11635 <oils_persist:source_definition><![CDATA[
11638 MAX(dcp.edit_date) AS last_delete_date
11639 FROM biblio.record_entry b
11640 JOIN asset.call_number cn ON (cn.record = b.id)
11641 JOIN asset.copy dcp ON (cn.id = dcp.call_number)
11642 WHERE NOT b.deleted
11644 HAVING SUM( CASE WHEN NOT dcp.deleted THEN 1 ELSE 0 END) = 0
11646 ]]></oils_persist:source_definition>
11647 <fields oils_persist:primary="id" oils_persist:sequence="biblio.record_entry">
11648 <field reporter:label="Record ID" name="id" reporter:datatype="id"/>
11649 <field reporter:label="Delete Date/Time" name="last_delete_date" reporter:datatype="timestamp"/>
11652 <link field="id" reltype="has_a" key="id" map="" class="bre"/>
11654 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
11661 <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">
11662 <oils_persist:source_definition><![CDATA[
11664 -- -- 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.
11665 -- -- 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
11668 -- bre.id AS bib_id,
11669 -- COALESCE( z.copy_count, 0 ) AS copy_count,
11670 -- COALESCE( z.hold_count, 0 ) AS hold_count,
11671 -- COALESCE( z.copy_hold_ratio, 0 ) AS hold_copy_ratio
11675 COALESCE( x.copy_count, 0 ) AS copy_count,
11676 y.hold_count AS hold_count,
11677 (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
11680 (SELECT bib_record FROM reporter.hold_request_record r WHERE r.id = h.id LIMIT 1) AS bre,
11681 COUNT(*) AS hold_count
11682 FROM action.hold_request h
11684 cancel_time IS NULL
11685 AND fulfillment_time IS NULL
11686 -- AND NOT frozen -- a frozen hold is still a desired hold, eh?
11691 FROM biblio.record_entry
11692 WHERE id = (SELECT record FROM asset.call_number WHERE id = call_number and deleted is false)
11694 COUNT(*) AS copy_count
11696 JOIN asset.copy_location loc ON (copy.location = loc.id AND loc.holdable)
11697 WHERE copy.holdable
11698 AND NOT copy.deleted
11699 AND copy.status IN ( SELECT id FROM config.copy_status WHERE holdable )
11701 )x ON x.bre = y.bre
11704 -- FROM biblio.record_entry
11705 -- WHERE NOT deleted
11706 -- )bre ON (z.bib_id = bre.id)
11709 ]]></oils_persist:source_definition>
11710 <fields oils_persist:primary="id" oils_persist:sequence="biblio.record_entry">
11711 <field reporter:label="Record ID" name="id" reporter:datatype="id"/>
11712 <field reporter:label="Holdable Copy Count" name="copy_count" reporter:datatype="int"/>
11713 <field reporter:label="Active Holds" name="hold_count" reporter:datatype="int"/>
11714 <field reporter:label="Hold/Copy Ratio" name="hold_copy_ratio" reporter:datatype="float"/>
11717 <link field="id" reltype="has_a" key="id" map="" class="bre"/>
11719 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
11726 <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">
11727 <oils_persist:source_definition><![CDATA[
11729 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,
11730 CASE WHEN copy_count_everywhere = 0 THEN 'Infinity'::FLOAT ELSE holds_everywhere::FLOAT/copy_count_everywhere END AS everywhere_ratio
11732 (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
11734 action.hold_request ahr
11735 JOIN reporter.hold_request_record rhrr USING (id)
11736 LEFT JOIN action.hold_copy_map ahcm ON (ahr.id = ahcm.hold)
11737 LEFT JOIN asset.copy ac ON (ahcm.target_copy = ac.id AND ahr.pickup_lib = ac.circ_lib)
11739 ahr.cancel_time IS NULL
11740 AND ahr.fulfillment_time IS NULL
11741 GROUP BY bib_record, pickup_lib
11744 (SELECT bib_record as id, count(DISTINCT ahr.id) AS holds_everywhere, COALESCE(count(DISTINCT target_copy),0) as copy_count_everywhere
11746 action.hold_request ahr
11747 JOIN reporter.hold_request_record rhrr USING (id)
11748 LEFT JOIN action.hold_copy_map ahcm ON (ahr.id = ahcm.hold)
11750 ahr.cancel_time IS NULL
11751 AND ahr.fulfillment_time IS NULL
11752 GROUP BY bib_record
11755 ]]></oils_persist:source_definition>
11756 <fields oils_persist:primary="id" oils_persist:sequence="biblio.record_entry">
11757 <field reporter:label="Record ID" name="id" reporter:datatype="link"/>
11758 <field reporter:label="Pickup Library" name="pickup_lib" reporter:datatype="org_unit"/>
11759 <field reporter:label="Active Holds at Pickup Library" name="holds_at_pickup_library" reporter:datatype="int"/>
11760 <field reporter:label="Holdable Copy Count at Pickup Library" name="copy_count_at_pickup_library" reporter:datatype="int"/>
11761 <field reporter:label="Active Holds Everywhere" name="holds_everywhere" reporter:datatype="int"/>
11762 <field reporter:label="Holdable Copy Count Everywhere" name="copy_count_everywhere" reporter:datatype="int"/>
11763 <field reporter:label="Hold/Copy Ratio at Pickup Library" name="pickup_library_ratio" reporter:datatype="float"/>
11764 <field reporter:label="Hold/Copy Ratio Everywhere" name="everywhere_ratio" reporter:datatype="float"/>
11767 <link field="id" reltype="has_a" key="id" map="" class="bre"/>
11768 <link field="pickup_lib" reltype="has_a" key="id" map="" class="aou"/>
11770 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
11777 <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) ">
11778 <oils_persist:source_definition><![CDATA[
11779 WITH counts_at_ou AS (
11780 SELECT rhrr.bib_record AS id,
11781 aou.id AS pickup_lib_or_desc,
11782 COUNT(DISTINCT ahr.id) AS holds_at_or_below,
11783 COALESCE(COUNT(DISTINCT ac.id),0) AS copy_count_at_or_below
11784 FROM actor.org_unit aou
11785 JOIN actor.org_unit_type aout ON (aou.ou_type = aout.id),
11786 action.hold_request ahr
11787 JOIN reporter.hold_request_record rhrr USING (id)
11788 LEFT JOIN action.hold_copy_map ahcm ON (ahr.id = ahcm.hold)
11789 LEFT JOIN asset.copy ac ON (ahcm.target_copy = ac.id)
11790 WHERE ahr.cancel_time IS NULL AND ahr.fulfillment_time IS NULL
11791 AND ac.circ_lib IN (SELECT id FROM actor.org_unit_descendants(aou.id))
11792 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
11795 SELECT x.id, x.pickup_lib_or_desc, x.holds_at_or_below, x.copy_count_at_or_below,
11796 y.holds_everywhere, y.copy_count_everywhere,
11797 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,
11798 CASE WHEN copy_count_everywhere = 0 THEN 'Infinity'::FLOAT ELSE y.holds_everywhere::FLOAT/y.copy_count_everywhere END AS everywhere_ratio
11799 FROM counts_at_ou x
11800 JOIN (SELECT bib_record AS id, count(DISTINCT ahr.id) AS holds_everywhere, COALESCE(count(DISTINCT target_copy),0) as copy_count_everywhere
11802 action.hold_request ahr
11803 JOIN reporter.hold_request_record rhrr USING (id)
11804 LEFT JOIN action.hold_copy_map ahcm ON (ahr.id = ahcm.hold)
11806 ahr.cancel_time IS NULL
11807 AND ahr.fulfillment_time IS NULL
11808 GROUP BY bib_record
11811 ]]></oils_persist:source_definition>
11812 <fields oils_persist:primary="id" oils_persist:sequence="biblio.record_entry">
11813 <field reporter:label="Record ID" name="id" reporter:datatype="link"/>
11814 <field reporter:label="Pickup Library" name="pickup_lib_or_desc" reporter:datatype="org_unit"/>
11815 <field reporter:label="Active Holds at Pickup Library and its Descendants" name="holds_at_or_below" reporter:datatype="int"/>
11816 <field reporter:label="Holdable Copy Count at Pickup Library and its Descendants" name="copy_count_at_or_below" reporter:datatype="int"/>
11817 <field reporter:label="Active Holds Everywhere" name="holds_everywhere" reporter:datatype="int"/>
11818 <field reporter:label="Holdable Copy Count Everywhere" name="copy_count_everywhere" reporter:datatype="int"/>
11819 <field reporter:label="Hold/Copy Ratio at Pickup Library and its Descendants" name="hold_copy_ratio_at_or_below_ou" reporter:datatype="float"/>
11820 <field reporter:label="Hold/Copy Ratio Everywhere" name="everywhere_ratio" reporter:datatype="float"/>
11823 <link field="id" reltype="has_a" key="id" map="" class="bre"/>
11824 <link field="pickup_lib_or_desc" reltype="has_a" key="id" map="" class="aou"/>
11826 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
11833 <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">
11834 <oils_persist:source_definition><![CDATA[
11837 COALESCE(MAX(actac.xact_start), ac.create_date) AS last_circ_or_create,
11838 MAX(actac.xact_start) AS last_circ
11840 LEFT JOIN action.all_circulation actac ON ac.id = actac.target_copy
11843 -- Alternate version, say if you have migrated last checkout information in extend_reporter.legacy_circ_timestamp:
11846 -- GREATEST(MAX(actac.xact_start), erlct.last_cko_ts, ac.create_date) AS last_circ_or_create,
11847 -- GREATEST(MAX(actac.xact_start), erlct.last_cko_ts) AS last_circ
11848 --FROM asset.copy ac
11849 -- LEFT JOIN action.all_circulation actac ON ac.id = actac.target_copy
11850 -- LEFT JOIN extend_reporter.legacy_circ_timestamp erlct ON ac.id = erlct.id
11851 --GROUP BY ac.id, ac.create_date, erlct.last_cko_ts
11852 ]]></oils_persist:source_definition>
11853 <fields oils_persist:primary="id" oils_persist:sequence="biblio.record_entry">
11854 <field reporter:label="Copy ID" name="id" reporter:datatype="link"/>
11855 <field reporter:label="Last Circulation or Creation Date" name="last_circ_or_create" reporter:datatype="timestamp"/>
11856 <field reporter:label="Last Circulation Date" name="last_circ" reporter:datatype="timestamp"/>
11859 <link field="id" reltype="has_a" key="id" map="" class="acp"/>
11861 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
11868 <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">
11869 <fields oils_persist:primary="id">
11870 <field reporter:label="Text Search Config" reporter:selector="name" reporter:datatype="text" name="id"/>
11871 <field reporter:label="Text Search Config Name" reporter:datatype="text" name="name"/>
11873 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
11880 <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">
11881 <fields oils_persist:primary="id" oils_persist:sequence="config.metabib_class_ts_map_id_seq">
11882 <field reporter:label="Map ID" reporter:datatype="id" name="id"/>
11883 <field reporter:label="Metabib Class" reporter:datatype="text" name="field_class"/>
11884 <field reporter:label="Text Search Config" reporter:datatype="text" name="ts_config"/>
11885 <field reporter:label="Active?" reporter:datatype="bool" name="active"/>
11886 <field reporter:label="Index Weight" reporter:datatype="text" name="index_weight"/>
11887 <field reporter:label="Index Language" reporter:datatype="text" name="index_lang"/>
11888 <field reporter:label="Search Language" reporter:datatype="text" name="search_lang"/>
11889 <field reporter:label="Always Apply?" reporter:datatype="bool" name="always"/>
11892 <link field="field_class" reltype="has_a" key="name" map="" class="cmc"/>
11893 <link field="ts_config" reltype="has_a" key="id" map="" class="ctcl"/>
11895 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
11897 <create permission="ADMIN_INDEX_NORMALIZER" global_required="true"/>
11899 <update permission="ADMIN_INDEX_NORMALIZER" global_required="true"/>
11900 <delete permission="ADMIN_INDEX_NORMALIZER" global_required="true"/>
11905 <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">
11906 <fields oils_persist:primary="id" oils_persist:sequence="config.metabib_field_ts_map_id_seq">
11907 <field reporter:label="Map ID" reporter:datatype="id" name="id"/>
11908 <field reporter:label="Metabib Field" reporter:datatype="text" name="metabib_field"/>
11909 <field reporter:label="Text Search Config" reporter:datatype="text" name="ts_config"/>
11910 <field reporter:label="Active?" reporter:datatype="bool" name="active"/>
11911 <field reporter:label="Index Weight" reporter:datatype="text" name="index_weight"/>
11912 <field reporter:label="Index Language" reporter:datatype="text" name="index_lang"/>
11913 <field reporter:label="Search Language" reporter:datatype="text" name="search_lang"/>
11916 <link field="metabib_field" reltype="has_a" key="id" map="" class="cmf"/>
11917 <link field="ts_config" reltype="has_a" key="id" map="" class="ctcl"/>
11919 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
11921 <create permission="ADMIN_INDEX_NORMALIZER" global_required="true"/>
11923 <update permission="ADMIN_INDEX_NORMALIZER" global_required="true"/>
11924 <delete permission="ADMIN_INDEX_NORMALIZER" global_required="true"/>
11930 <!-- ********************************************************************************************************************* -->
11931 <!-- What follows is a set of example extensions that are useful for PINES. Comment out or remove if you don't want them. -->
11932 <!-- ********************************************************************************************************************* -->
11933 <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">
11934 <fields oils_persist:primary="id">
11935 <field reporter:label="Circulation" name="id" reporter:datatype="id" />
11936 <field reporter:label="Library Circulation Location Short (Policy) Name" name="circ_lib" reporter:datatype="text"/>
11937 <field reporter:label="Library Circulation Location Link" name="circ_lib_id" reporter:datatype="org_unit"/>
11938 <field reporter:label="Circulation Date/Time" name="xact_start" reporter:datatype="timestamp"/>
11939 <field reporter:label="Circulation Type" name="circ_type" reporter:datatype="text"/>
11940 <field reporter:label="Copy Link" name="copy_id" reporter:datatype="link"/>
11941 <field reporter:label="Circ Modifier" name="circ_modifier" reporter:datatype="text"/>
11942 <field reporter:label="Owning Library Short (Policy) Name" name="owning_lib_name" reporter:datatype="text"/>
11943 <field reporter:label="Item Language" name="language" reporter:datatype="text"/>
11944 <field reporter:label="Literary Form" name="lit_form" reporter:datatype="text"/>
11945 <field reporter:label="MARC Form" name="item_form" reporter:datatype="text"/>
11946 <field reporter:label="MARC Type" name="item_type" reporter:datatype="text"/>
11947 <field reporter:label="Shelving Location" name="shelving_location" reporter:datatype="text"/>
11948 <field reporter:label="Patron Profile Group" name="profile_group" reporter:datatype="text"/>
11949 <field reporter:label="Patron Age Demographic" name="demographic_general_division" reporter:datatype="text"/>
11950 <field reporter:label="Call Number Link" name="call_number" reporter:datatype="link"/>
11951 <field reporter:label="Call Number Label" name="call_number_label" reporter:datatype="text"/>
11952 <field reporter:label="Call Number Dewey/Prefix" name="dewey" reporter:datatype="text"/>
11953 <field reporter:label="Patron Link" name="patron_id" reporter:datatype="link"/>
11954 <field reporter:label="Patron Home Library Link" name="patron_home_lib" reporter:datatype="link"/>
11955 <field reporter:label="Patron Home Library Short (Policy) Name" name="patron_home_lib_shortname" reporter:datatype="text"/>
11956 <field reporter:label="Patron County" name="patron_county" reporter:datatype="text"/>
11957 <field reporter:label="Patron City" name="patron_city" reporter:datatype="text"/>
11958 <field reporter:label="Patron ZIP Code" name="patron_zip" reporter:datatype="text"/>
11959 <field reporter:label="Legacy CAT1 Link" name="stat_cat_1" reporter:datatype="link"/>
11960 <field reporter:label="Legacy CAT2 Link" name="stat_cat_2" reporter:datatype="link"/>
11961 <field reporter:label="Dewey Range - Tens" name="dewey_range_tens" reporter:datatype="text"/>
11962 <field reporter:label="Dewey Range - Hundreds" name="dewey_range_hundreds" reporter:datatype="text"/>
11963 <field reporter:label="Dewey Block - Tens" name="dewey_block_tens" reporter:datatype="text"/>
11964 <field reporter:label="Dewey Block - Hundreds" name="dewey_block_hundreds" reporter:datatype="text"/>
11965 <field reporter:label="Legacy CAT1 Value" name="stat_cat_1_value" reporter:datatype="text"/>
11966 <field reporter:label="Legacy CAT2 Value" name="stat_cat_2_value" reporter:datatype="text"/>
11969 <link field="id" reltype="has_a" key="id" map="" class="circ"/>
11970 <link field="copy_id" reltype="has_a" key="id" map="" class="acp"/>
11971 <link field="patron_id" reltype="has_a" key="id" map="" class="au"/>
11972 <link field="circ_lib_id" reltype="has_a" key="id" map="" class="aou"/>
11973 <link field="call_number" reltype="has_a" key="id" map="" class="acn"/>
11974 <link field="patron_home_lib" reltype="has_a" key="id" map="" class="aou"/>
11975 <link field="stat_cat_1" reltype="has_a" key="id" map="" class="rsce1"/>
11976 <link field="stat_cat_2" reltype="has_a" key="id" map="" class="rsce2"/>
11980 <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">
11981 <fields oils_persist:primary="id">
11982 <field reporter:label="Entry ID" name="id" reporter:selector="value" reporter:datatype="id" />
11983 <field reporter:label="Entry Owner" name="owner" reporter:datatype="link"/>
11984 <field reporter:label="Entry Value" name="value" reporter:datatype="text"/>
11987 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
11991 <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">
11992 <fields oils_persist:primary="id">
11993 <field reporter:label="Entry ID" name="id" reporter:selector="value" reporter:datatype="id" />
11994 <field reporter:label="Entry Owner" name="owner" reporter:datatype="link"/>
11995 <field reporter:label="Entry Value" name="value" reporter:datatype="text"/>
11998 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
12002 <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">
12003 <fields oils_persist:primary="id">
12004 <field reporter:label="Transaction ID" name="id" reporter:datatype="id" />
12006 <field reporter:label="Billing Location Short (Policy) Name" name="billing_location_shortname" reporter:datatype="text"/>
12007 <field reporter:label="Billing Location Name" name="billing_location_name" reporter:datatype="text"/>
12008 <field reporter:label="Billing Location Link" name="billing_location" reporter:datatype="org_unit"/>
12010 <field reporter:label="User Home Library Short (Policy) Name" name="usr_home_ou_shortname" reporter:datatype="text"/>
12011 <field reporter:label="User Home Library Name" name="usr_home_ou_name" reporter:datatype="text"/>
12012 <field reporter:label="User Home Library Link" name="usr_home_ou" reporter:datatype="org_unit"/>
12014 <field reporter:label="User Barcode" name="barcode" reporter:datatype="text"/>
12015 <field reporter:label="User Link" name="usr" reporter:datatype="link"/>
12017 <field reporter:label="Transaction Start Date/Time" name="xact_start" reporter:datatype="timestamp"/>
12018 <field reporter:label="Transaction End Date/Time" name="xact_finish" reporter:datatype="timestamp"/>
12019 <field reporter:label="Transaction Type" name="xact_type" reporter:datatype="text"/>
12021 <field reporter:label="Total Paid" name="total_paid" reporter:datatype="money"/>
12022 <field reporter:label="Total Billed" name="total_owed" reporter:datatype="money"/>
12024 <field reporter:label="Last Payment Date/Time" name="last_payment_ts" reporter:datatype="timestamp"/>
12025 <field reporter:label="Last Payment Note" name="last_payment_note" reporter:datatype="text"/>
12026 <field reporter:label="Last Payment Type" name="last_payment_type" reporter:datatype="text"/>
12028 <field reporter:label="Last Billing Date/Time" name="last_billing_ts" reporter:datatype="timestamp"/>
12029 <field reporter:label="Last Billing Note" name="last_billing_note" reporter:datatype="text"/>
12030 <field reporter:label="Last Billing Type" name="last_billing_type" reporter:datatype="text"/>
12032 <field reporter:label="User Age Demographic" name="demographic_general_division" reporter:datatype="text"/>
12033 <field reporter:label="User County" name="patron_county" reporter:datatype="text"/>
12034 <field reporter:label="User City" name="patron_city" reporter:datatype="text"/>
12035 <field reporter:label="User ZIP Code" name="patron_zip" reporter:datatype="text"/>
12037 <field reporter:label="Balance Owed" name="balance_owed" reporter:datatype="money"/>
12038 <field reporter:label="User Profile Group" name="profile_group" reporter:datatype="text"/>
12042 <link field="id" reltype="has_a" key="id" map="" class="mbt"/>
12043 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
12044 <link field="billing_location" reltype="has_a" key="id" map="" class="aou"/>
12045 <link field="usr_home_ou" reltype="has_a" key="id" map="" class="aou"/>
12049 <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">
12050 <oils_persist:source_definition><![CDATA[
12053 po.ordering_agency AS ordering_agency,
12054 po.id AS purchase_order,
12056 lid.id AS lineitem_detail,
12057 cpa.id AS claim_policy_action
12059 acq.lineitem_detail lid
12060 JOIN acq.lineitem li ON (li.id = lid.lineitem)
12061 JOIN acq.purchase_order po ON (po.id = li.purchase_order)
12062 JOIN acq.claim_policy cp ON (li.claim_policy = cp.id)
12063 JOIN acq.claim_policy_action cpa ON (
12064 cpa.claim_policy = cp.id
12066 -- we only care about claim policy actions whose claim
12067 -- interval we'd reached or exceeded
12068 AND (NOW() - cpa.action_interval) > po.order_date
12070 -- filter out all claim policy actions where claim events
12071 -- have occurred on or after the action's action_interval
12075 acq.claim_event evt
12076 JOIN acq.claim claim ON (
12077 claim.id = evt.claim
12078 AND claim.lineitem_detail = lid.id
12081 evt.event_date >= (po.order_date + cpa.action_interval)
12085 lid.cancel_reason IS NULL
12086 AND li.cancel_reason IS NULL -- belt/suspenders
12087 AND po.cancel_reason IS NULL -- belt/suspenders
12088 AND lid.recv_time IS NULL
12089 AND po.state = 'on-order'
12090 ORDER BY 1, 2, 3, 4, 5
12092 ]]></oils_persist:source_definition>
12094 <field reporter:label="Ordering Agency" name="ordering_agency" reporter:datatype="link"/>
12095 <field reporter:label="Purchase Order" name="purchase_order" reporter:datatype="link"/>
12096 <field reporter:label="Lineitem" name="lineitem" reporter:datatype="link"/>
12097 <field reporter:label="Lineitem Detail" name="lineitem_detail" reporter:datatype="link"/>
12098 <field reporter:label="Claim Policy Action" name="claim_policy_action" reporter:datatype="link"/>
12101 <link field="ordering_agency" reltype="has_a" key="id" map="" class="aou"/>
12102 <link field="purchase_order" reltype="has_a" key="id" map="" class="acqpo"/>
12103 <link field="lineitem" reltype="has_a" key="id" map="" class="jub"/>
12104 <link field="lineitem_detail" reltype="has_a" key="id" map="" class="acqlid"/>
12105 <link field="claim_policy_action" reltype="has_a" key="id" map="" class="acqclpa"/>
12108 <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">
12109 <fields oils_persist:primary="lineitem" oils_persist:sequence="acq.lineitem_id_seq">
12110 <field reporter:label="Lineitem" name="lineitem" reporter:datatype="link"/>
12111 <field reporter:label="Item Count" name="item_count" reporter:datatype="int"/>
12112 <field reporter:label="Receive Count" name="recv_count" reporter:datatype="int"/>
12113 <field reporter:label="Cancel Count" name="cancel_count" reporter:datatype="int"/>
12114 <field reporter:label="Delay Count" name="delay_count" reporter:datatype="int"/>
12115 <field reporter:label="Invoice Count" name="invoice_count" reporter:datatype="int"/>
12116 <field reporter:label="Claim Count" name="claim_count" reporter:datatype="int"/>
12117 <field reporter:label="Estimated Amount" name="estimated_amount" reporter:datatype="money"/>
12118 <field reporter:label="Encumbrance Amount" name="encumbrance_amount" reporter:datatype="money"/>
12119 <field reporter:label="Paid Amount" name="paid_amount" reporter:datatype="money"/>
12122 <link field="lineitem" reltype="has_a" key="id" map="" class="jub"/>
12125 <class id="acqlisumi" controller="open-ils.cstore" oils_obj:fieldmapper="acq::lineitem_summary_invoiceable" oils_persist:readonly="true" reporter:label="Invoiceable Lineitem Summary">
12126 <oils_persist:source_definition><![CDATA[
12127 SELECT * FROM acq.lineitem_summary
12128 WHERE item_count > (invoice_count + cancel_count)
12129 ]]></oils_persist:source_definition>
12130 <fields oils_persist:primary="lineitem" oils_persist:sequence="acq.lineitem_id_seq">
12131 <field reporter:label="Lineitem" name="lineitem" reporter:datatype="link"/>
12132 <field reporter:label="Item Count" name="item_count" reporter:datatype="int"/>
12133 <field reporter:label="Receive Count" name="recv_count" reporter:datatype="int"/>
12134 <field reporter:label="Cancel Count" name="cancel_count" reporter:datatype="int"/>
12135 <field reporter:label="Delay Count" name="delay_count" reporter:datatype="int"/>
12136 <field reporter:label="Invoice Count" name="invoice_count" reporter:datatype="int"/>
12137 <field reporter:label="Claim Count" name="claim_count" reporter:datatype="int"/>
12138 <field reporter:label="Estimated Amount" name="estimated_amount" reporter:datatype="money"/>
12139 <field reporter:label="Encumbrance Amount" name="encumbrance_amount" reporter:datatype="money"/>
12140 <field reporter:label="Paid Amount" name="paid_amount" reporter:datatype="money"/>
12143 <link field="lineitem" reltype="has_a" key="id" map="" class="jub"/>
12146 <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">
12147 <oils_persist:source_definition><![CDATA[
12150 FROM action.transit_copy t
12151 JOIN actor.org_unit AS s ON (t.source = s.id)
12152 JOIN actor.org_unit AS d ON (t.dest = d.id)
12153 WHERE s.parent_ou <> d.parent_ou
12155 ]]></oils_persist:source_definition>
12156 <fields oils_persist:primary="id" oils_persist:sequence="action.transit_copy_id_seq">
12157 <field reporter:label="Pretransit Copy Status" name="copy_status" reporter:datatype="link"/>
12158 <field reporter:label="Destination" name="dest" reporter:datatype="link"/>
12159 <field reporter:label="Receive Date/Time" name="dest_recv_time" reporter:datatype="timestamp"/>
12160 <field reporter:label="Transit ID" name="id" reporter:datatype="id"/>
12161 <field reporter:label="Is Persistent? (unused)" name="persistant_transfer" reporter:datatype="bool"/>
12162 <field reporter:label="Previous Hop (unused)" name="prev_hop" reporter:datatype="link"/>
12163 <field reporter:label="Source" name="source" reporter:datatype="link"/>
12164 <field reporter:label="Send Date/Time" name="source_send_time" reporter:datatype="timestamp"/>
12165 <field reporter:label="Transited Copy" name="target_copy" reporter:datatype="link"/>
12166 <field reporter:label="Hold Transit" name="hold_transit_copy" oils_persist:virtual="true" reporter:datatype="link"/>
12167 <field reporter:label="Cancel Date/Time" name="cancel_time" reporter:datatype="timestamp"/>
12170 <link field="hold_transit_copy" reltype="might_have" key="id" map="" class="ahtc"/>
12171 <link field="source" reltype="has_a" key="id" map="" class="aou"/>
12172 <link field="copy_status" reltype="has_a" key="id" map="" class="ccs"/>
12173 <link field="dest" reltype="has_a" key="id" map="" class="aou"/>
12174 <link field="target_copy" reltype="has_a" key="id" map="" class="acp"/>
12175 <link field="prev_hop" reltype="has_a" key="id" map="" class="atc"/>
12179 <class id="circbyyr" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="action::circ_counts_by_year" oils_persist:readonly="true">
12180 <oils_persist:source_definition><![CDATA[
12182 SELECT copy, SUM(count) AS count, year, is_renewal FROM (
12186 EXTRACT(YEAR FROM circ.xact_start) AS year,
12187 (phone_renewal OR desk_renewal OR opac_renewal) as is_renewal
12190 JOIN action.circulation circ ON (cp.id = circ.target_copy)
12196 EXTRACT(YEAR FROM circ.xact_start) AS year,
12197 (phone_renewal OR desk_renewal OR opac_renewal) as is_renewal
12200 JOIN action.aged_circulation circ ON (cp.id = circ.target_copy)
12207 false as is_renewal
12209 extend_reporter.legacy_circ_count
12210 )x GROUP BY 1, 3, 4
12212 ]]></oils_persist:source_definition>
12214 <field reporter:label="Copy ID" name="copy" reporter:datatype="link"/>
12215 <field reporter:label="Count" name="count" reporter:datatype="int"/>
12216 <field reporter:label="Year" name="year" reporter:datatype="int"/>
12217 <field reporter:label="Renewal" name="is_renewal" reporter:datatype="bool"/>
12220 <link field="copy" reltype="has_a" key="id" map="" class="acp"/>
12222 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
12229 <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">
12230 <fields oils_persist:primary="id" oils_persist:sequence="money.billable_xact_id_seq">
12231 <field reporter:label="Check In Library" name="checkin_lib" reporter:datatype="org_unit"/>
12232 <field reporter:label="Check In Staff" name="checkin_staff" reporter:datatype="link"/>
12233 <field reporter:label="Check In Date/Time" name="checkin_time" reporter:datatype="timestamp"/>
12234 <field reporter:label="Circulating Library" name="circ_lib" reporter:datatype="org_unit"/>
12235 <field reporter:label="Circulating Staff" name="circ_staff" reporter:datatype="link"/>
12236 <field reporter:label="Desk Renewal" name="desk_renewal" reporter:datatype="bool"/>
12237 <field reporter:label="Due Date/Time" name="due_date" reporter:datatype="timestamp"/>
12238 <field reporter:label="Circulation Duration" name="duration" reporter:datatype="interval"/>
12239 <field reporter:label="Circ Duration Rule" name="duration_rule" reporter:datatype="link"/>
12240 <field reporter:label="Fine Interval" name="fine_interval" reporter:datatype="interval"/>
12241 <field reporter:label="Circ ID" name="id" reporter:datatype="id" />
12242 <field reporter:label="Max Fine Amount" name="max_fine" reporter:datatype="money" />
12243 <field reporter:label="Max Fine Rule" name="max_fine_rule" reporter:datatype="link"/>
12244 <field reporter:label="OPAC Renewal" name="opac_renewal" reporter:datatype="bool"/>
12245 <field reporter:label="Phone Renewal" name="phone_renewal" reporter:datatype="bool"/>
12246 <field reporter:label="Recurring Fine Amount" name="recurring_fine" reporter:datatype="money" />
12247 <field reporter:label="Recurring Fine Rule" name="recurring_fine_rule" reporter:datatype="link"/>
12248 <field reporter:label="Remaining Renewals" name="renewal_remaining" reporter:datatype="int" />
12249 <field reporter:label="Fine Stop Reason" name="stop_fines" reporter:datatype="text"/>
12250 <field reporter:label="Fine Stop Date/Time" name="stop_fines_time" reporter:datatype="timestamp"/>
12251 <field reporter:label="Circulating Item" name="target_copy" reporter:datatype="link"/>
12252 <field reporter:label="Patron" name="usr" reporter:datatype="link"/>
12253 <field reporter:label="Transaction Finish Date/Time" name="xact_finish" reporter:datatype="timestamp" />
12254 <field reporter:label="Checkout Date/Time" name="xact_start" reporter:datatype="timestamp" />
12255 <field reporter:label="Transaction Billings" name="billings" oils_persist:virtual="true" reporter:datatype="link"/>
12256 <field reporter:label="Transaction Payments" name="payments" oils_persist:virtual="true" reporter:datatype="link"/>
12257 <field reporter:label="Base Transaction" name="billable_transaction" oils_persist:virtual="true" reporter:datatype="link"/>
12258 <field reporter:label="Circulation Type" name="circ_type" oils_persist:virtual="true" reporter:datatype="link"/>
12259 <field reporter:label="Billing Totals" name="billing_total" oils_persist:virtual="true" reporter:datatype="link"/>
12260 <field reporter:label="Payment Totals" name="payment_total" oils_persist:virtual="true" reporter:datatype="link"/>
12263 <link field="billable_transaction" reltype="might_have" key="id" map="" class="mbt"/>
12264 <link field="circ_staff" reltype="has_a" key="id" map="" class="au"/>
12265 <link field="checkin_lib" reltype="has_a" key="id" map="" class="aou"/>
12266 <link field="target_copy" reltype="has_a" key="id" map="" class="acp"/>
12267 <link field="checkin_staff" reltype="has_a" key="id" map="" class="au"/>
12268 <link field="usr" reltype="has_a" key="id" map="" class="au"/>
12269 <link field="circ_lib" reltype="has_a" key="id" map="" class="aou"/>
12270 <link field="payments" reltype="has_many" key="xact" map="" class="mp"/>
12271 <link field="billings" reltype="has_many" key="xact" map="" class="mb"/>
12272 <link field="duration_rule" reltype="has_a" key="name" map="" class="crcd"/>
12273 <link field="max_fine_rule" reltype="has_a" key="name" map="" class="crmf"/>
12274 <link field="recurring_fine_rule" reltype="has_a" key="name" map="" class="crrf"/>
12275 <link field="circ_type" reltype="might_have" key="id" map="" class="rcirct"/>
12276 <link field="billing_total" reltype="might_have" key="xact" map="" class="rxbt"/>
12277 <link field="payment_total" reltype="might_have" key="xact" map="" class="rxpt"/>
12281 <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">
12282 <fields oils_persist:primary="id">
12283 <field reporter:label="Title" name="title" reporter:datatype="text"/>
12284 <field reporter:label="Author" name="author" reporter:datatype="text"/>
12285 <field reporter:label="Pubdate" name="pubdate" reporter:datatype="text"/>
12286 <field reporter:label="Copy ID" name="id" reporter:datatype="id"/>
12287 <field reporter:label="Price" name="price" reporter:datatype="money"/>
12288 <field reporter:label="Barcode" name="barcode" reporter:datatype="text"/>
12289 <field reporter:label="Callnumber Label" name="call_number_label" reporter:datatype="text"/>
12290 <field reporter:label="Dewy Tens" name="dewey_block_tens" reporter:datatype="text"/>
12291 <field reporter:label="Dewy Hundreds" name="dewey_block_hundreds" reporter:datatype="text"/>
12292 <field reporter:label="Use Count" name="use_count" reporter:datatype="int"/>
12293 <field reporter:label="Circ Modifier" name="circ_modifier" reporter:datatype="text"/>
12294 <field reporter:label="Shelving Location Name" name="shelving_location" reporter:datatype="text"/>
12295 <field reporter:label="Legacy Stat Cat 1" name="stat_cat_1" reporter:datatype="link"/>
12296 <field reporter:label="Legacy Stat Cat 2" name="stat_cat_2" reporter:datatype="link"/>
12297 <field reporter:label="Legacy Stat Cat 1 Value" name="stat_cat_1_value" reporter:datatype="text"/>
12298 <field reporter:label="Legacy Stat Cat 2 Value" name="stat_cat_2_value" reporter:datatype="text"/>
12299 <field reporter:label="Edit Date" name="edit_date" reporter:datatype="timestamp"/>
12300 <field reporter:label="Create Date" name="create_date" reporter:datatype="timestamp"/>
12301 <field reporter:label="Owning Lib Name" name="owning_lib_name" reporter:datatype="text"/>
12302 <field reporter:label="Circ Lib Name" name="circ_lib_name" reporter:datatype="text"/>
12303 <field reporter:label="Owning Lib" name="owning_lib" reporter:datatype="link"/>
12304 <field reporter:label="Circ Lib" name="circ_lib" reporter:datatype="link"/>
12305 <field reporter:label="Creator" name="creator" reporter:datatype="link"/>
12306 <field reporter:label="Age Protection" name="age_protect" reporter:datatype="link"/>
12307 <field reporter:label="OPAC Visible" name="opac_visible" reporter:datatype="bool"/>
12308 <field reporter:label="Reference" name="ref" reporter:datatype="bool"/>
12309 <field reporter:label="Deposit Amount" name="deposit_amount" reporter:datatype="text"/>
12310 <field reporter:label="Deleted" name="deleted" reporter:datatype="bool"/>
12311 <field reporter:label="TCN" name="tcn_value" reporter:datatype="text"/>
12312 <field reporter:label="Status" name="status" reporter:datatype="link"/>
12313 <field reporter:label="Stop Fines Reason" name="stop_fines" reporter:datatype="text"/>
12314 <field reporter:label="Due Date" name="due_date" reporter:datatype="timestamp"/>
12315 <field reporter:label="Patron Barcode" name="patron_barcode" reporter:datatype="text"/>
12316 <field reporter:label="Patron Name" name="patron_name" reporter:datatype="text"/>
12319 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
12320 <link field="id" reltype="has_a" key="id" map="" class="acp"/>
12321 <link field="circ_lib" reltype="has_a" key="id" map="" class="aou"/>
12322 <link field="creator" reltype="has_a" key="id" map="" class="au"/>
12323 <link field="age_protect" reltype="has_a" key="id" map="" class="crahp"/>
12324 <link field="status" reltype="has_a" key="id" map="" class="ccs"/>
12325 <link field="stat_cat_1" reltype="might_have" key="id" map="" class="rsce1"/>
12326 <link field="stat_cat_2" reltype="might_have" key="id" map="" class="rsce2"/>
12330 <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">
12331 <fields oils_persist:primary="id">
12332 <field reporter:label="Circulation ID" name="id" reporter:datatype="link"/>
12333 <field reporter:label="Owning Library" name="owning_lib" reporter:datatype="org_unit"/>
12334 <field reporter:label="Billing Type" name="billing_type" reporter:datatype="text"/>
12335 <field reporter:label="Total Billed" name="billed" reporter:datatype="money"/>
12338 <link field="id" reltype="has_a" key="id" map="" class="circ"/>
12339 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
12343 <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">
12344 <fields oils_persist:primary="owning_lib">
12345 <field reporter:label="Owning Library" name="owning_lib" reporter:datatype="org_unit"/>
12346 <field reporter:label="Billing Types" name="billing_types" reporter:datatype="text"/>
12347 <field reporter:label="Balance" name="balance" reporter:datatype="money"/>
12350 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
12354 <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">
12355 <fields oils_persist:primary="id">
12356 <field reporter:label="Circulation ID" name="id" reporter:datatype="link"/>
12357 <field reporter:label="Circulating Library" name="circ_lib" reporter:datatype="org_unit"/>
12358 <field reporter:label="Owning Library" name="owning_lib" reporter:datatype="org_unit"/>
12359 <field reporter:label="Billing Type" name="billing_type" reporter:datatype="text"/>
12360 <field reporter:label="Total Billed" name="billed" reporter:datatype="money"/>
12363 <link field="id" reltype="has_a" key="id" map="" class="circ"/>
12364 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
12365 <link field="circ_lib" reltype="has_a" key="id" map="" class="aou"/>
12369 <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">
12370 <fields oils_persist:primary="circ_lib">
12371 <field reporter:label="Circulating Library" name="circ_lib" reporter:datatype="org_unit"/>
12372 <field reporter:label="Owning Library" name="owning_lib" reporter:datatype="org_unit"/>
12373 <field reporter:label="Billing Types" name="billing_types" reporter:datatype="text"/>
12374 <field reporter:label="Balance" name="balance" reporter:datatype="money"/>
12377 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
12378 <link field="circ_lib" reltype="has_a" key="id" map="" class="aou"/>
12382 <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">
12383 <fields oils_persist:primary="id">
12384 <field reporter:label="Circulation ID" name="id" reporter:datatype="link"/>
12385 <field reporter:label="User Home Library" name="home_ou" reporter:datatype="org_unit"/>
12386 <field reporter:label="Owning Library" name="owning_lib" reporter:datatype="org_unit"/>
12387 <field reporter:label="Billing Type" name="billing_type" reporter:datatype="text"/>
12388 <field reporter:label="Total Billed" name="billed" reporter:datatype="money"/>
12391 <link field="id" reltype="has_a" key="id" map="" class="circ"/>
12392 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
12393 <link field="home_ou" reltype="has_a" key="id" map="" class="aou"/>
12397 <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">
12398 <fields oils_persist:primary="home_ou">
12399 <field reporter:label="User Home Library" name="home_ou" reporter:datatype="org_unit"/>
12400 <field reporter:label="Owning Library" name="owning_lib" reporter:datatype="org_unit"/>
12401 <field reporter:label="Billing Types" name="billing_types" reporter:datatype="text"/>
12402 <field reporter:label="Balance" name="balance" reporter:datatype="money"/>
12405 <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
12406 <link field="home_ou" reltype="has_a" key="id" map="" class="aou"/>
12409 <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">
12410 <fields oils_persist:primary="id" oils_persist:sequence="acq.fund_tag_id_seq">
12411 <field reporter:label="Fund Tag ID" name="id" reporter:datatype="id"/>
12412 <field reporter:label="Fund Tag Owner" name="owner" reporter:datatype="org_unit"/>
12413 <field reporter:label="Fund Tag Name" name="name" reporter:datatype="text"/>
12414 <field reporter:label="Map Entries" name="map_entries" oils_persist:virtual="true" reporter:datatype="link"/>
12417 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
12418 <link field="map_entries" reltype="has_many" key="fund" map="" class="acqftm"/>
12420 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
12422 <create permission="ADMIN_ACQ_FUND_TAG" context_field="owner"/>
12423 <retrieve permission="ADMIN_ACQ_FUND_TAG ADMIN_ACQ_FUND VIEW_FUND MANAGE_FUND" context_field="owner"/>
12424 <update permission="ADMIN_ACQ_FUND_TAG" context_field="owner"/>
12425 <delete permission="ADMIN_ACQ_FUND_TAG" context_field="owner"/>
12429 <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">
12430 <fields oils_persist:primary="id" oils_persist:sequence="acq.fund_tag_map_id_seq">
12431 <field reporter:label="Map Entry ID" name="id" reporter:datatype="id"/>
12432 <field reporter:label="Fund ID" name="fund" reporter:datatype="link"/>
12433 <field reporter:label="Tag ID" name="tag" reporter:datatype="link"/>
12436 <link field="fund" reltype="has_a" key="id" map="" class="acqf"/>
12437 <link field="tag" reltype="has_a" key="id" map="" class="acqft"/>
12439 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
12441 <create permission="ADMIN_ACQ_FUND_TAG">
12442 <context link="tag" field="owner"/>
12444 <retrieve permission="ADMIN_ACQ_FUND_TAG ADMIN_ACQ_FUND VIEW_FUND MANAGE_FUND">
12445 <context link="tag" field="owner"/>
12447 <update permission="ADMIN_ACQ_FUND_TAG">
12448 <context link="tag" field="owner"/>
12450 <delete permission="ADMIN_ACQ_FUND_TAG">
12451 <context link="tag" field="owner"/>
12456 <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">
12457 <oils_persist:source_definition><![CDATA[
12459 poi.purchase_order AS purchase_order,
12460 ii.invoice AS invoice,
12466 JOIN acq.invoice_item ii ON (ii.po_item = poi.id)
12468 jub.purchase_order AS purchase_order,
12469 ie.invoice AS invoice,
12470 jub.id AS lineitem,
12472 jub.picklist AS picklist
12475 JOIN acq.invoice_entry ie ON (ie.lineitem = jub.id)
12477 ii.purchase_order AS purchase_order,
12478 ii.invoice AS invoice,
12483 acq.invoice_item ii
12484 WHERE ii.po_item IS NULL
12486 ie.purchase_order AS purchase_order,
12487 ie.invoice AS invoice,
12492 acq.invoice_entry ie
12493 WHERE ie.lineitem IS NULL
12495 NULL AS purchase_order,
12497 jub.id AS lineitem,
12499 jub.picklist AS picklist
12502 WHERE jub.purchase_order IS NULL
12503 ]]></oils_persist:source_definition>
12505 <field reporter:label="Purchase Order ID" name="purchase_order" reporter:datatype="link"/>
12506 <field reporter:label="Lineitem ID" name="lineitem" reporter:datatype="link"/>
12507 <field reporter:label="Invoice ID" name="invoice" reporter:datatype="link"/>
12508 <field reporter:label="Purchase Order Item ID" name="po_item" reporter:datatype="link"/>
12509 <field reporter:label="Picklist ID" name="picklist" reporter:datatype="link"/>
12512 <link field="purchase_order" reltype="has_a" key="id" map="" class="acqpo" />
12513 <link field="lineitem" reltype="has_a" key="id" map="" class="jub" />
12514 <link field="invoice" reltype="has_a" key="id" map="" class="acqinv" />
12515 <link field="po_item" reltype="has_a" key="id" map="" class="acqpoi" />
12516 <link field="picklist" reltype="has_a" key="id" map="" class="acqpl" />
12519 <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">
12520 <fields oils_persist:primary="id" oils_persist:sequence="config.barcode_completion_id_seq">
12521 <field reporter:label="ID" name="id" reporter:datatype="id"/>
12522 <field reporter:label="Active" name="active" reporter:datatype="bool"/>
12523 <field reporter:label="Owner" name="org_unit" reporter:datatype="org_unit"/>
12524 <field reporter:label="Prefix" name="prefix" reporter:datatype="text"/>
12525 <field reporter:label="Suffix" name="suffix" reporter:datatype="text"/>
12526 <field reporter:label="Length" name="length" reporter:datatype="int"/>
12527 <field reporter:label="Padding" name="padding" reporter:datatype="text"/>
12528 <field reporter:label="Padding At End" name="padding_end" reporter:datatype="bool"/>
12529 <field reporter:label="Applies to Items" name="asset" reporter:datatype="bool"/>
12530 <field reporter:label="Applies to Users" name="actor" reporter:datatype="bool"/>
12533 <link field="org_unit" reltype="has_a" key="id" map="" class="aou"/>
12535 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
12537 <create permission="UPDATE_ORG_UNIT_SETTING_ALL" context_field="org_unit"/>
12539 <update permission="UPDATE_ORG_UNIT_SETTING_ALL" context_field="org_unit"/>
12540 <delete permission="UPDATE_ORG_UNIT_SETTING_ALL" context_field="org_unit"/>
12545 <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">
12546 <fields oils_persist:primary="id" oils_persist:sequence="config.org_unit_setting_type_log_id_seq">
12547 <field reporter:label="ID" name="id" reporter:datatype="id"/>
12548 <field name="date_applied" reporter:datatype="timestamp"/>
12549 <field name="org" reporter:datatype="org_unit"/>
12550 <field name="original_value" reporter:datatype="text"/>
12551 <field name="new_value" reporter:datatype="text"/>
12552 <field name="field_name" reporter:datatype="link"/>
12555 <link field="field_name" reltype="has_a" key="name" map="" class="coust"/>
12556 <link field="org" reltype="has_a" key="id" map="" class="aou"/>
12558 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
12560 <create permission="ADMIN_ORG_UNIT_SETTING_TYPE" context_field="org"/>
12561 <retrieve permission="STAFF_LOGIN" context_field="org"/>
12562 <update permission="ADMIN_ORG_UNIT_SETTING_TYPE_LOG" context_field="org"/>
12563 <delete permission="ADMIN_ORG_UNIT_SETTING_TYPE_LOG" context_field="org"/>
12567 <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">
12568 <fields oils_persist:primary="id" oils_persist:sequence="action.archive_actor_stat_cat_id_seq">
12569 <field reporter:label="ID" name="id" reporter:datatype="id"/>
12570 <field reporter:label="Circ" name="xact" reporter:datatype="link"/>
12571 <field reporter:label="Statistical Category" name="stat_cat" reporter:datatype="link"/>
12572 <field reporter:label="Entry Value" name="value" reporter:datatype="text"/>
12575 <link field="xact" reltype="has_a" key="id" map="" class="combcirc"/>
12576 <link field="stat_cat" reltype="has_a" key="id" map="" class="actsc"/>
12579 <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">
12580 <fields oils_persist:primary="id" oils_persist:sequence="action.archive_actor_stat_cat_id_seq">
12581 <field reporter:label="ID" name="id" reporter:datatype="id"/>
12582 <field reporter:label="Circ" name="xact" reporter:datatype="link"/>
12583 <field reporter:label="Statistical Category" name="stat_cat" reporter:datatype="link"/>
12584 <field reporter:label="Entry Value" name="value" reporter:datatype="text"/>
12587 <link field="xact" reltype="has_a" key="id" map="" class="combcirc"/>
12588 <link field="stat_cat" reltype="has_a" key="id" map="" class="asc"/>
12591 <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">
12592 <fields oils_persist:primary="id" oils_persist:sequence="config.floating_group_id_seq">
12593 <field reporter:label="ID" name="id" reporter:selector="name" reporter:datatype="id"/>
12594 <field reporter:label="Name" name="name" reporter:datatype="text"/>
12595 <field reporter:label="Manual" name="manual" reporter:datatype="bool"/>
12596 <field reporter:label="Group Members" name="members" oils_persist:virtual="true" reporter:datatype="link"/>
12599 <link field="members" reltype="has_many" key="floating_group" class="cfgm"/>
12601 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
12603 <create permission="ADMIN_FLOAT_GROUPS" global_required="true"/>
12605 <update permission="ADMIN_FLOAT_GROUPS" global_required="true"/>
12606 <delete permission="ADMIN_FLOAT_GROUPS" global_required="true"/>
12610 <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">
12611 <fields oils_persist:primary="id" oils_persist:sequence="config.floating_group_member_id_seq">
12612 <field reporter:label="ID" name="id" reporter:datatype="id"/>
12613 <field reporter:label="Floating Group" name="floating_group" reporter:datatype="link"/>
12614 <field reporter:label="Org Unit" name="org_unit" reporter:datatype="link"/>
12615 <field reporter:label="Stop Depth" name="stop_depth" reporter:datatype="int"/>
12616 <field reporter:label="Max Depth" name="max_depth" reporter:datatype="int"/>
12617 <field reporter:label="Exclude" name="exclude" reporter:datatype="bool"/>
12620 <link field="floating_group" reltype="has_a" key="id" class="cfg"/>
12621 <link field="org_unit" reltype="has_a" key="id" class="aou"/>
12623 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
12625 <create permission="ADMIN_FLOAT_GROUPS" global_required="true"/>
12627 <update permission="ADMIN_FLOAT_GROUPS" global_required="true"/>
12628 <delete permission="ADMIN_FLOAT_GROUPS" global_required="true"/>
12632 <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">
12633 <fields oils_persist:primary="code">
12634 <field reporter:label="Code" name="code" reporter:selector="label" reporter:datatype="id" oils_obj:required="true"/>
12635 <field reporter:label="Label" name="label" reporter:datatype="text" oils_obj:required="true"/>
12636 <field reporter:label="Owner" name="owner" reporter:datatype="org_unit" oils_obj:required="true"/>
12639 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
12641 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
12643 <create permission="ADMIN_COPY_TAG_TYPES" context_field="owner"/>
12645 <update permission="ADMIN_COPY_TAG_TYPES" context_field="owner"/>
12646 <delete permission="ADMIN_COPY_TAG_TYPES" context_field="owner"/>
12650 <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">
12651 <fields oils_persist:primary="id" oils_persist:sequence="asset.copy_tag_id_seq">
12652 <field reporter:label="ID" name="id" reporter:datatype="id"/>
12653 <field reporter:label="Copy Tag Type" name="tag_type" reporter:datatype="link"/>
12654 <field reporter:label="Label" name="label" reporter:datatype="text"/>
12655 <field reporter:label="Value" name="value" reporter:datatype="text"/>
12656 <field reporter:label="Staff Note" name="staff_note" reporter:datatype="text"/>
12657 <field reporter:label="Is OPAC Visible?" name="pub" reporter:datatype="bool"/>
12658 <field reporter:label="Owner" name="owner" reporter:datatype="org_unit" oils_obj:required="true"/>
12661 <link field="tag_type" reltype="has_a" key="code" map="" class="cctt"/>
12662 <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
12664 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
12666 <create permission="ADMIN_COPY_TAG" context_field="owner"/>
12668 <update permission="ADMIN_COPY_TAG" context_field="owner"/>
12669 <delete permission="ADMIN_COPY_TAG" context_field="owner"/>
12673 <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">
12674 <fields oils_persist:primary="id" oils_persist:sequence="asset.copy_tag_copy_map_id_seq">
12675 <field reporter:label="ID" name="id" reporter:datatype="id"/>
12676 <field reporter:label="Copy" name="copy" reporter:datatype="link"/>
12677 <field reporter:label="Tag" name="tag" reporter:datatype="link"/>
12680 <link field="copy" reltype="has_a" key="id" map="" class="acp"/>
12681 <link field="tag" reltype="has_a" key="id" map="" class="acpt"/>
12683 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
12685 <create permission="UPDATE_COPY">
12686 <context link="copy" field="circ_lib"/>
12689 <update permission="UPDATE_COPY">
12690 <context link="copy" field="circ_lib"/>
12692 <delete permission="UPDATE_COPY">
12693 <context link="copy" field="circ_lib"/>
12698 <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">
12699 <oils_persist:source_definition><![CDATA[
12700 SELECT ahcm.target_copy AS id,count(*) AS count
12702 action.hold_request ahr,
12703 action.hold_copy_map ahcm
12705 ahr.cancel_time IS NULL AND
12706 ahr.fulfillment_time IS NULL AND
12707 ahr.capture_time IS NULL AND
12709 GROUP BY ahcm.target_copy
12710 ]]></oils_persist:source_definition>
12711 <fields oils_persist:primary="id">
12712 <field reporter:label="Copy ID" name="id" reporter:datatype="id"/>
12713 <field reporter:label="Holds Count" name="count" reporter:datatype="text"/>
12715 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
12722 <class id="cwst" controller="open-ils.cstore open-ils.pcrud"
12723 oils_obj:fieldmapper="config::workstation_setting_type"
12724 oils_persist:tablename="config.workstation_setting_type"
12725 reporter:label="Workstation Setting Type">
12726 <fields oils_persist:primary="name">
12727 <field name="name" reporter:datatype="text"/>
12728 <field name="label" reporter:datatype="text" oils_persist:i18n="true"/>
12729 <field name="description" reporter:datatype="text" oils_persist:i18n="true"/>
12730 <field name="datatype" reporter:datatype="text"/>
12731 <field name="fm_class" reporter:datatype="text"/>
12732 <field name="grp" reporter:datatype="link"/>
12735 <link field="name" reltype="has_many" key="name" map="" class="aous"/>
12736 <link field="grp" reltype="has_a" key="name" map="" class="csg"/>
12738 <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
12740 <create permission="ADMIN_WORKSTATION_SETTING_TYPE" global_required="true"/>
12742 <update permission="ADMIN_WORKSTATION_SETTING_TYPE" global_required="true"/>
12743 <delete permission="ADMIN_WORKSTATION_SETTING_TYPE" global_required="true"/>
12748 <!-- no pcrud access is granted for now, because it's assumed these
12749 setting values will be applied and retrived via the API. -->
12751 controller="open-ils.cstore"
12752 oils_obj:fieldmapper="actor::workstation_setting"
12753 oils_persist:tablename="actor.workstation_setting"
12754 reporter:label="Workstation Setting">
12755 <fields oils_persist:primary="id" oils_persist:sequence="actor.workstation_setting_id_seq">
12756 <field reporter:label="Setting ID" name="id" reporter:datatype="id" />
12757 <field reporter:label="Name" name="name" reporter:datatype="link"/>
12758 <field reporter:label="Value" name="value" reporter:datatype="text"/>
12759 <field reporter:label="Workstation" name="workstation" reporter:datatype="link"/>
12762 <link field="name" reltype="has_a" key="name" map="" class="cwst"/>
12763 <link field="workstation" reltype="has_a" key="id" map="" class="aws"/>
12767 <!-- ********************************************************************************************************************* -->
12771 vim:noet:ts=4:sw=4: