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