Bug 27947: Add authorised values list in article requests cancellation
[koha.git] / installer / data / mysql / en / optional / auth_val.yml
1 ---
2 #
3 #  Copyright 2019 Koha Development Team
4 #
5 #  This file is part of Koha.
6 #
7 # Koha is free software; you can redistribute it and/or modify it
8 # under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 3 of the License, or
10 # (at your option) any later version.
11 #
12 # Koha is distributed in the hope that it will be useful, but
13 # WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
16 #
17 # You should have received a copy of the GNU General Public License
18 # along with Koha; if not, see <http://www.gnu.org/licenses>.
19
20 description:
21   - "Some basic default authorised values for library locations, item lost status, etc."
22   - "You can change these at any time after installation."
23
24 tables:
25   - authorised_values:
26       translatable: [ lib ]
27       multiline: []
28       rows:
29         # Reasons for acceptance or rejection of suggestions in acquisitions
30         - category: "SUGGEST"
31           authorised_value: "BSELL"
32           lib: "Bestseller"
33
34         - category: "SUGGEST"
35           authorised_value: "SCD"
36           lib: "Shelf Copy Damaged"
37
38         - category: "SUGGEST"
39           authorised_value: "LCL"
40           lib: "Library Copy Lost"
41
42         - category: "SUGGEST"
43           authorised_value: "AVILL"
44           lib: "Available via ILL"
45
46   - authorised_values:
47       translatable: [ lib, lib_opac ]
48       multiline: []
49       rows:
50         # Desired formats for requesting new materials
51         - category: "SUGGEST_FORMAT"
52           authorised_value: "BOOK"
53           lib: "Book"
54           lib_opac: "Book"
55
56         - category: "SUGGEST_FORMAT"
57           authorised_value: "LP"
58           lib: "Large print"
59           lib_opac: "Large print"
60
61         - category: "SUGGEST_FORMAT"
62           authorised_value: "EBOOK"
63           lib: "EBook"
64           lib_opac: "Ebook"
65
66         - category: "SUGGEST_FORMAT"
67           authorised_value: "AUDIOBOOK"
68           lib: "Audiobook"
69           lib_opac: "Audiobook"
70
71         - category: "SUGGEST_FORMAT"
72           authorised_value: "DVD"
73           lib: "DVD"
74           lib_opac: "DVD"
75
76   - authorised_values :
77       translatable: [ lib ]
78       multiline: []
79       rows:
80         # availability statuses
81         - category: "LOST"
82           authorised_value: "2"
83           lib: "Long Overdue (Lost)"
84
85         - category: "LOST"
86           authorised_value: "1"
87           lib: "Lost"
88
89         - category: "LOST"
90           authorised_value: "3"
91           lib : "Lost and Paid For"
92
93         - category: "LOST"
94           authorised_value: "4"
95           lib : "Missing"
96
97         # damaged status of an item
98         - category: "DAMAGED"
99           authorised_value: "1"
100           lib: "Damaged"
101
102         # location qualification for an item,departments are linked by default to items.location
103         - category: "LOC"
104           authorised_value: "FIC"
105           lib: "Fiction"
106
107         - category: "LOC"
108           authorised_value: "CHILD"
109           lib: "Children's Area"
110
111         - category: "LOC"
112           authorised_value: "DISPLAY"
113           lib: "On Display"
114
115         - category: "LOC"
116           authorised_value: "NEW"
117           lib: "New Materials Shelf"
118
119         - category: "LOC"
120           authorised_value: "STAFF"
121           lib: "Staff Office"
122
123         - category: "LOC"
124           authorised_value: "GEN"
125           lib: "General Stacks"
126
127         - category: "LOC"
128           authorised_value: "AV"
129           lib: "Audio Visual"
130
131         - category: "LOC"
132           authorised_value: "REF"
133           lib: "Reference"
134
135         - category: "LOC"
136           authorised_value: "CART"
137           lib: "Book Cart"
138
139         - category: "LOC"
140           authorised_value: "PROC"
141           lib: "Processing Center"
142
143         # collection codes for an item
144         - category: "CCODE"
145           authorised_value: "FIC"
146           lib: "Fiction"
147
148         - category: "CCODE"
149           authorised_value: "REF"
150           lib: "Reference"
151
152         - category: "CCODE"
153           authorised_value: "NFIC"
154           lib: "Non-fiction"
155
156         # withdrawn status of an item,linked to items.withdrawn
157         - category: "WITHDRAWN"
158           authorised_value: "1"
159           lib: "Withdrawn"
160
161         # loanability status of an item,linked to items.notforloan
162         - category: "NOT_LOAN"
163           authorised_value: "-1"
164           lib: "Ordered"
165
166         - category: "NOT_LOAN"
167           authorised_value: "1"
168           lib: "Not For Loan"
169
170         - category: "NOT_LOAN"
171           authorised_value: "2"
172           lib: "Staff Collection"
173
174         # restricted status of an item,linked to items.restricted
175         - category: "RESTRICTED"
176           authorised_value: "1"
177           lib: "Restricted Access"
178
179         # custom borrower notes
180         - category: "BOR_NOTES"
181           authorised_value: "ADDR"
182           lib: "Address Notes"
183
184   - authorised_values:
185       translatable: [ lib, lib_opac ]
186       multiline: []
187       rows:
188         # OPAC Suggestions reasons
189         - category: "OPAC_SUG"
190           authorised_value: "damaged"
191           lib: "The copy on the shelf is damaged"
192           lib_opac: "The copy on the shelf is damaged"
193
194         - category: "OPAC_SUG"
195           authorised_value: "bestseller"
196           lib: "Upcoming title by popular author"
197           lib_opac: "Upcoming title by popular author"
198
199   - authorised_values:
200       translatable: [ lib ]
201       multiline: []
202       rows:
203         # Report groups
204         - category: "REPORT_GROUP"
205           authorised_value: "CIRC"
206           lib: "Circulation"
207
208         - category: "REPORT_GROUP"
209           authorised_value: "CAT"
210           lib: "Catalog"
211
212         - category: "REPORT_GROUP"
213           authorised_value: "PAT"
214           lib: "Patrons"
215
216         - category: "REPORT_GROUP"
217           authorised_value: "ACQ"
218           lib: "Acquisitions"
219
220         - category: "REPORT_GROUP"
221           authorised_value: "ACC"
222           lib: "Accounts"
223
224         - category: "REPORT_GROUP"
225           authorised_value: "SER"
226           lib: "Serials"
227
228         # SIP2 media types
229         - category: "SIP_MEDIA_TYPE"
230           authorised_value: "000"
231           lib: "Other"
232
233         - category: "SIP_MEDIA_TYPE"
234           authorised_value: "001"
235           lib: "Book"
236
237         - category: "SIP_MEDIA_TYPE"
238           authorised_value: "002"
239           lib: "Magazine"
240
241         - category: "SIP_MEDIA_TYPE"
242           authorised_value: "003"
243           lib: "Bound journal"
244
245         - category: "SIP_MEDIA_TYPE"
246           authorised_value: "004"
247           lib: "Audio tape"
248
249         - category: "SIP_MEDIA_TYPE"
250           authorised_value: "005"
251           lib: "Video tape"
252
253         - category: "SIP_MEDIA_TYPE"
254           authorised_value: "006"
255           lib: "CD/CDROM"
256
257         - category: "SIP_MEDIA_TYPE"
258           authorised_value: "007"
259           lib: "Diskette"
260
261         - category: "SIP_MEDIA_TYPE"
262           authorised_value: "008"
263           lib: "Book with diskette"
264
265         - category: "SIP_MEDIA_TYPE"
266           authorised_value: "009"
267           lib: "Book with CD"
268
269         - category: "SIP_MEDIA_TYPE"
270           authorised_value: "010"
271           lib: "Book with audio tape"
272
273         # order cancellation reasons
274         - category: "ORDER_CANCELLATION_REASON"
275           authorised_value: 0
276           lib: "No reason provided"
277
278         - category: "ORDER_CANCELLATION_REASON"
279           authorised_value: 1
280           lib: "Out of stock"
281
282         - category: "ORDER_CANCELLATION_REASON"
283           authorised_value: 2
284           lib: "Restocking"
285
286         # return claims
287         - category: "RETURN_CLAIM_RESOLUTION"
288           authorised_value: "RET_BY_PATRON"
289           lib: "Returned by patron"
290
291         - category: "RETURN_CLAIM_RESOLUTION"
292           authorised_value: "FOUND_IN_LIB"
293           lib: "Found in library"
294
295         # hold cancellations
296         - category: "HOLD_CANCELLATION"
297           authorised_value: "NOT_FOUND"
298           lib: "Item could not be located on shelves"
299
300         - category: "HOLD_CANCELLATION"
301           authorised_value: "DAMAGED"
302           lib: "Item was found to be too damaged to fill hold"
303
304         # article request cancellations
305         - category: "AR_CANCELLATION"
306           authorised_value: "NOT_FOUND"
307           lib: "Item could not be located on shelves"
308
309         - category: "AR_CANCELLATION"
310           authorised_value: "DAMAGED"
311           lib: "Item was found to be too damaged to fill article request"