Lines 29-60
__PACKAGE__->table("deleteditems");
Link Here
|
29 |
default_value: 0 |
29 |
default_value: 0 |
30 |
is_nullable: 0 |
30 |
is_nullable: 0 |
31 |
|
31 |
|
32 |
primary key and unique identifier added by Koha |
|
|
33 |
|
34 |
=head2 biblionumber |
32 |
=head2 biblionumber |
35 |
|
33 |
|
36 |
data_type: 'integer' |
34 |
data_type: 'integer' |
37 |
default_value: 0 |
35 |
default_value: 0 |
38 |
is_nullable: 0 |
36 |
is_nullable: 0 |
39 |
|
37 |
|
40 |
foreign key from biblio table used to link this item to the right bib record |
|
|
41 |
|
42 |
=head2 biblioitemnumber |
38 |
=head2 biblioitemnumber |
43 |
|
39 |
|
44 |
data_type: 'integer' |
40 |
data_type: 'integer' |
45 |
default_value: 0 |
41 |
default_value: 0 |
46 |
is_nullable: 0 |
42 |
is_nullable: 0 |
47 |
|
43 |
|
48 |
foreign key from the biblioitems table to link to item to additional information |
|
|
49 |
|
50 |
=head2 barcode |
44 |
=head2 barcode |
51 |
|
45 |
|
52 |
data_type: 'varchar' |
46 |
data_type: 'varchar' |
53 |
is_nullable: 1 |
47 |
is_nullable: 1 |
54 |
size: 20 |
48 |
size: 20 |
55 |
|
49 |
|
56 |
item barcode (MARC21 952$p) |
|
|
57 |
|
58 |
=head2 bookable |
50 |
=head2 bookable |
59 |
|
51 |
|
60 |
data_type: 'tinyint' |
52 |
data_type: 'tinyint' |
Lines 69-131
boolean value defining whether this this item is available for bookings or not
Link Here
|
69 |
datetime_undef_if_invalid: 1 |
61 |
datetime_undef_if_invalid: 1 |
70 |
is_nullable: 1 |
62 |
is_nullable: 1 |
71 |
|
63 |
|
72 |
date the item was acquired or added to Koha (MARC21 952$d) |
|
|
73 |
|
74 |
=head2 booksellerid |
64 |
=head2 booksellerid |
75 |
|
65 |
|
76 |
data_type: 'longtext' |
66 |
data_type: 'longtext' |
77 |
is_nullable: 1 |
67 |
is_nullable: 1 |
78 |
|
68 |
|
79 |
where the item was purchased (MARC21 952$e) |
|
|
80 |
|
81 |
=head2 homebranch |
69 |
=head2 homebranch |
82 |
|
70 |
|
83 |
data_type: 'varchar' |
71 |
data_type: 'varchar' |
84 |
is_nullable: 1 |
72 |
is_nullable: 1 |
85 |
size: 10 |
73 |
size: 10 |
86 |
|
74 |
|
87 |
foreign key from the branches table for the library that owns this item (MARC21 952$a) |
|
|
88 |
|
89 |
=head2 price |
75 |
=head2 price |
90 |
|
76 |
|
91 |
data_type: 'decimal' |
77 |
data_type: 'decimal' |
92 |
is_nullable: 1 |
78 |
is_nullable: 1 |
93 |
size: [8,2] |
79 |
size: [8,2] |
94 |
|
80 |
|
95 |
purchase price (MARC21 952$g) |
|
|
96 |
|
97 |
=head2 replacementprice |
81 |
=head2 replacementprice |
98 |
|
82 |
|
99 |
data_type: 'decimal' |
83 |
data_type: 'decimal' |
100 |
is_nullable: 1 |
84 |
is_nullable: 1 |
101 |
size: [8,2] |
85 |
size: [8,2] |
102 |
|
86 |
|
103 |
cost the library charges to replace the item if it has been marked lost (MARC21 952$v) |
|
|
104 |
|
105 |
=head2 replacementpricedate |
87 |
=head2 replacementpricedate |
106 |
|
88 |
|
107 |
data_type: 'date' |
89 |
data_type: 'date' |
108 |
datetime_undef_if_invalid: 1 |
90 |
datetime_undef_if_invalid: 1 |
109 |
is_nullable: 1 |
91 |
is_nullable: 1 |
110 |
|
92 |
|
111 |
the date the price is effective from (MARC21 952$w) |
|
|
112 |
|
113 |
=head2 datelastborrowed |
93 |
=head2 datelastborrowed |
114 |
|
94 |
|
115 |
data_type: 'date' |
95 |
data_type: 'date' |
116 |
datetime_undef_if_invalid: 1 |
96 |
datetime_undef_if_invalid: 1 |
117 |
is_nullable: 1 |
97 |
is_nullable: 1 |
118 |
|
98 |
|
119 |
the date the item was last checked out |
|
|
120 |
|
121 |
=head2 datelastseen |
99 |
=head2 datelastseen |
122 |
|
100 |
|
123 |
data_type: 'datetime' |
101 |
data_type: 'datetime' |
124 |
datetime_undef_if_invalid: 1 |
102 |
datetime_undef_if_invalid: 1 |
125 |
is_nullable: 1 |
103 |
is_nullable: 1 |
126 |
|
104 |
|
127 |
the date the item was last see (usually the last time the barcode was scanned or inventory was done) |
|
|
128 |
|
129 |
=head2 stack |
105 |
=head2 stack |
130 |
|
106 |
|
131 |
data_type: 'tinyint' |
107 |
data_type: 'tinyint' |
Lines 137-259
the date the item was last see (usually the last time the barcode was scanned or
Link Here
|
137 |
default_value: 0 |
113 |
default_value: 0 |
138 |
is_nullable: 0 |
114 |
is_nullable: 0 |
139 |
|
115 |
|
140 |
authorized value defining why this item is not for loan (MARC21 952$7) |
|
|
141 |
|
142 |
=head2 damaged |
116 |
=head2 damaged |
143 |
|
117 |
|
144 |
data_type: 'tinyint' |
118 |
data_type: 'tinyint' |
145 |
default_value: 0 |
119 |
default_value: 0 |
146 |
is_nullable: 0 |
120 |
is_nullable: 0 |
147 |
|
121 |
|
148 |
authorized value defining this item as damaged (MARC21 952$4) |
|
|
149 |
|
150 |
=head2 damaged_on |
122 |
=head2 damaged_on |
151 |
|
123 |
|
152 |
data_type: 'datetime' |
124 |
data_type: 'datetime' |
153 |
datetime_undef_if_invalid: 1 |
125 |
datetime_undef_if_invalid: 1 |
154 |
is_nullable: 1 |
126 |
is_nullable: 1 |
155 |
|
127 |
|
156 |
the date and time an item was last marked as damaged, NULL if not damaged |
|
|
157 |
|
158 |
=head2 itemlost |
128 |
=head2 itemlost |
159 |
|
129 |
|
160 |
data_type: 'tinyint' |
130 |
data_type: 'tinyint' |
161 |
default_value: 0 |
131 |
default_value: 0 |
162 |
is_nullable: 0 |
132 |
is_nullable: 0 |
163 |
|
133 |
|
164 |
authorized value defining this item as lost (MARC21 952$1) |
|
|
165 |
|
166 |
=head2 itemlost_on |
134 |
=head2 itemlost_on |
167 |
|
135 |
|
168 |
data_type: 'datetime' |
136 |
data_type: 'datetime' |
169 |
datetime_undef_if_invalid: 1 |
137 |
datetime_undef_if_invalid: 1 |
170 |
is_nullable: 1 |
138 |
is_nullable: 1 |
171 |
|
139 |
|
172 |
the date and time an item was last marked as lost, NULL if not lost |
|
|
173 |
|
174 |
=head2 withdrawn |
140 |
=head2 withdrawn |
175 |
|
141 |
|
176 |
data_type: 'tinyint' |
142 |
data_type: 'tinyint' |
177 |
default_value: 0 |
143 |
default_value: 0 |
178 |
is_nullable: 0 |
144 |
is_nullable: 0 |
179 |
|
145 |
|
180 |
authorized value defining this item as withdrawn (MARC21 952$0) |
|
|
181 |
|
182 |
=head2 withdrawn_on |
146 |
=head2 withdrawn_on |
183 |
|
147 |
|
184 |
data_type: 'datetime' |
148 |
data_type: 'datetime' |
185 |
datetime_undef_if_invalid: 1 |
149 |
datetime_undef_if_invalid: 1 |
186 |
is_nullable: 1 |
150 |
is_nullable: 1 |
187 |
|
151 |
|
188 |
the date and time an item was last marked as withdrawn, NULL if not withdrawn |
|
|
189 |
|
190 |
=head2 itemcallnumber |
152 |
=head2 itemcallnumber |
191 |
|
153 |
|
192 |
data_type: 'varchar' |
154 |
data_type: 'varchar' |
193 |
is_nullable: 1 |
155 |
is_nullable: 1 |
194 |
size: 255 |
156 |
size: 255 |
195 |
|
157 |
|
196 |
call number for this item (MARC21 952$o) |
|
|
197 |
|
198 |
=head2 coded_location_qualifier |
158 |
=head2 coded_location_qualifier |
199 |
|
159 |
|
200 |
data_type: 'varchar' |
160 |
data_type: 'varchar' |
201 |
is_nullable: 1 |
161 |
is_nullable: 1 |
202 |
size: 10 |
162 |
size: 10 |
203 |
|
163 |
|
204 |
coded location qualifier(MARC21 952$f) |
|
|
205 |
|
206 |
=head2 issues |
164 |
=head2 issues |
207 |
|
165 |
|
208 |
data_type: 'smallint' |
166 |
data_type: 'smallint' |
209 |
default_value: 0 |
167 |
default_value: 0 |
210 |
is_nullable: 1 |
168 |
is_nullable: 1 |
211 |
|
169 |
|
212 |
number of times this item has been checked out |
|
|
213 |
|
214 |
=head2 renewals |
170 |
=head2 renewals |
215 |
|
171 |
|
216 |
data_type: 'smallint' |
172 |
data_type: 'smallint' |
217 |
is_nullable: 1 |
173 |
is_nullable: 1 |
218 |
|
174 |
|
219 |
number of times this item has been renewed |
|
|
220 |
|
221 |
=head2 reserves |
175 |
=head2 reserves |
222 |
|
176 |
|
223 |
data_type: 'smallint' |
177 |
data_type: 'smallint' |
224 |
is_nullable: 1 |
178 |
is_nullable: 1 |
225 |
|
179 |
|
226 |
number of times this item has been placed on hold/reserved |
|
|
227 |
|
228 |
=head2 restricted |
180 |
=head2 restricted |
229 |
|
181 |
|
230 |
data_type: 'tinyint' |
182 |
data_type: 'tinyint' |
231 |
is_nullable: 1 |
183 |
is_nullable: 1 |
232 |
|
184 |
|
233 |
authorized value defining use restrictions for this item (MARC21 952$5) |
|
|
234 |
|
235 |
=head2 itemnotes |
185 |
=head2 itemnotes |
236 |
|
186 |
|
237 |
data_type: 'longtext' |
187 |
data_type: 'longtext' |
238 |
is_nullable: 1 |
188 |
is_nullable: 1 |
239 |
|
189 |
|
240 |
public notes on this item (MARC21 952$z) |
|
|
241 |
|
242 |
=head2 itemnotes_nonpublic |
190 |
=head2 itemnotes_nonpublic |
243 |
|
191 |
|
244 |
data_type: 'longtext' |
192 |
data_type: 'longtext' |
245 |
is_nullable: 1 |
193 |
is_nullable: 1 |
246 |
|
194 |
|
247 |
non-public notes on this item (MARC21 952$x) |
|
|
248 |
|
249 |
=head2 holdingbranch |
195 |
=head2 holdingbranch |
250 |
|
196 |
|
251 |
data_type: 'varchar' |
197 |
data_type: 'varchar' |
252 |
is_nullable: 1 |
198 |
is_nullable: 1 |
253 |
size: 10 |
199 |
size: 10 |
254 |
|
200 |
|
255 |
foreign key from the branches table for the library that is currently in possession item (MARC21 952$b) |
|
|
256 |
|
257 |
=head2 timestamp |
201 |
=head2 timestamp |
258 |
|
202 |
|
259 |
data_type: 'timestamp' |
203 |
data_type: 'timestamp' |
Lines 261-268
foreign key from the branches table for the library that is currently in possess
Link Here
|
261 |
default_value: current_timestamp |
205 |
default_value: current_timestamp |
262 |
is_nullable: 0 |
206 |
is_nullable: 0 |
263 |
|
207 |
|
264 |
date and time this item was last altered |
|
|
265 |
|
266 |
=head2 deleted_on |
208 |
=head2 deleted_on |
267 |
|
209 |
|
268 |
data_type: 'datetime' |
210 |
data_type: 'datetime' |
Lines 277-291
date/time of deletion
Link Here
|
277 |
is_nullable: 1 |
219 |
is_nullable: 1 |
278 |
size: 80 |
220 |
size: 80 |
279 |
|
221 |
|
280 |
authorized value for the shelving location for this item (MARC21 952$c) |
|
|
281 |
|
282 |
=head2 permanent_location |
222 |
=head2 permanent_location |
283 |
|
223 |
|
284 |
data_type: 'varchar' |
224 |
data_type: 'varchar' |
285 |
is_nullable: 1 |
225 |
is_nullable: 1 |
286 |
size: 80 |
226 |
size: 80 |
287 |
|
227 |
|
288 |
linked to the CART and PROC temporary locations feature, stores the permanent shelving location |
228 |
=head2 sub_location |
|
|
229 |
|
230 |
data_type: 'varchar' |
231 |
is_nullable: 1 |
232 |
size: 80 |
289 |
|
233 |
|
290 |
=head2 onloan |
234 |
=head2 onloan |
291 |
|
235 |
|
Lines 293-391
linked to the CART and PROC temporary locations feature, stores the permanent sh
Link Here
|
293 |
datetime_undef_if_invalid: 1 |
237 |
datetime_undef_if_invalid: 1 |
294 |
is_nullable: 1 |
238 |
is_nullable: 1 |
295 |
|
239 |
|
296 |
defines if item is checked out (NULL for not checked out, and due date for checked out) |
|
|
297 |
|
298 |
=head2 cn_source |
240 |
=head2 cn_source |
299 |
|
241 |
|
300 |
data_type: 'varchar' |
242 |
data_type: 'varchar' |
301 |
is_nullable: 1 |
243 |
is_nullable: 1 |
302 |
size: 10 |
244 |
size: 10 |
303 |
|
245 |
|
304 |
classification source used on this item (MARC21 952$2) |
|
|
305 |
|
306 |
=head2 cn_sort |
246 |
=head2 cn_sort |
307 |
|
247 |
|
308 |
data_type: 'varchar' |
248 |
data_type: 'varchar' |
309 |
is_nullable: 1 |
249 |
is_nullable: 1 |
310 |
size: 255 |
250 |
size: 255 |
311 |
|
251 |
|
312 |
normalized form of the call number (MARC21 952$o) used for sorting |
|
|
313 |
|
314 |
=head2 ccode |
252 |
=head2 ccode |
315 |
|
253 |
|
316 |
data_type: 'varchar' |
254 |
data_type: 'varchar' |
317 |
is_nullable: 1 |
255 |
is_nullable: 1 |
318 |
size: 80 |
256 |
size: 80 |
319 |
|
257 |
|
320 |
authorized value for the collection code associated with this item (MARC21 952$8) |
|
|
321 |
|
322 |
=head2 materials |
258 |
=head2 materials |
323 |
|
259 |
|
324 |
data_type: 'mediumtext' |
260 |
data_type: 'mediumtext' |
325 |
is_nullable: 1 |
261 |
is_nullable: 1 |
326 |
|
262 |
|
327 |
materials specified (MARC21 952$3) |
|
|
328 |
|
329 |
=head2 uri |
263 |
=head2 uri |
330 |
|
264 |
|
331 |
data_type: 'mediumtext' |
265 |
data_type: 'mediumtext' |
332 |
is_nullable: 1 |
266 |
is_nullable: 1 |
333 |
|
267 |
|
334 |
URL for the item (MARC21 952$u) |
|
|
335 |
|
336 |
=head2 itype |
268 |
=head2 itype |
337 |
|
269 |
|
338 |
data_type: 'varchar' |
270 |
data_type: 'varchar' |
339 |
is_nullable: 1 |
271 |
is_nullable: 1 |
340 |
size: 10 |
272 |
size: 10 |
341 |
|
273 |
|
342 |
foreign key from the itemtypes table defining the type for this item (MARC21 952$y) |
|
|
343 |
|
344 |
=head2 more_subfields_xml |
274 |
=head2 more_subfields_xml |
345 |
|
275 |
|
346 |
data_type: 'longtext' |
276 |
data_type: 'longtext' |
347 |
is_nullable: 1 |
277 |
is_nullable: 1 |
348 |
|
278 |
|
349 |
additional 952 subfields in XML format |
|
|
350 |
|
351 |
=head2 enumchron |
279 |
=head2 enumchron |
352 |
|
280 |
|
353 |
data_type: 'mediumtext' |
281 |
data_type: 'mediumtext' |
354 |
is_nullable: 1 |
282 |
is_nullable: 1 |
355 |
|
283 |
|
356 |
serial enumeration/chronology for the item (MARC21 952$h) |
|
|
357 |
|
358 |
=head2 copynumber |
284 |
=head2 copynumber |
359 |
|
285 |
|
360 |
data_type: 'varchar' |
286 |
data_type: 'varchar' |
361 |
is_nullable: 1 |
287 |
is_nullable: 1 |
362 |
size: 32 |
288 |
size: 32 |
363 |
|
289 |
|
364 |
copy number (MARC21 952$t) |
|
|
365 |
|
366 |
=head2 stocknumber |
290 |
=head2 stocknumber |
367 |
|
291 |
|
368 |
data_type: 'varchar' |
292 |
data_type: 'varchar' |
369 |
is_nullable: 1 |
293 |
is_nullable: 1 |
370 |
size: 32 |
294 |
size: 32 |
371 |
|
295 |
|
372 |
inventory number (MARC21 952$i) |
|
|
373 |
|
374 |
=head2 new_status |
296 |
=head2 new_status |
375 |
|
297 |
|
376 |
data_type: 'varchar' |
298 |
data_type: 'varchar' |
377 |
is_nullable: 1 |
299 |
is_nullable: 1 |
378 |
size: 32 |
300 |
size: 32 |
379 |
|
301 |
|
380 |
'new' value, you can put whatever free-text information. This field is intented to be managed by the automatic_item_modification_by_age cronjob. |
|
|
381 |
|
382 |
=head2 exclude_from_local_holds_priority |
302 |
=head2 exclude_from_local_holds_priority |
383 |
|
303 |
|
384 |
data_type: 'tinyint' |
304 |
data_type: 'tinyint' |
385 |
is_nullable: 1 |
305 |
is_nullable: 1 |
386 |
|
306 |
|
387 |
Exclude this item from local holds priority |
|
|
388 |
|
389 |
=cut |
307 |
=cut |
390 |
|
308 |
|
391 |
__PACKAGE__->add_columns( |
309 |
__PACKAGE__->add_columns( |
Lines 482-487
__PACKAGE__->add_columns(
Link Here
|
482 |
{ data_type => "varchar", is_nullable => 1, size => 80 }, |
400 |
{ data_type => "varchar", is_nullable => 1, size => 80 }, |
483 |
"permanent_location", |
401 |
"permanent_location", |
484 |
{ data_type => "varchar", is_nullable => 1, size => 80 }, |
402 |
{ data_type => "varchar", is_nullable => 1, size => 80 }, |
|
|
403 |
"sub_location", |
404 |
{ data_type => "varchar", is_nullable => 1, size => 80 }, |
485 |
"onloan", |
405 |
"onloan", |
486 |
{ data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, |
406 |
{ data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, |
487 |
"cn_source", |
407 |
"cn_source", |
Lines 523-530
__PACKAGE__->add_columns(
Link Here
|
523 |
__PACKAGE__->set_primary_key("itemnumber"); |
443 |
__PACKAGE__->set_primary_key("itemnumber"); |
524 |
|
444 |
|
525 |
|
445 |
|
526 |
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-10-02 11:06:29 |
446 |
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-11-24 14:12:38 |
527 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Afgr1jl6aeSy/rS9RJGq2g |
447 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:VQ+9kNL/sX6fAbtY9NW8ZQ |
528 |
|
448 |
|
529 |
__PACKAGE__->add_columns( |
449 |
__PACKAGE__->add_columns( |
530 |
'+bookable' => { is_boolean => 1 }, |
450 |
'+bookable' => { is_boolean => 1 }, |