Martin Renvoize
72e10519e3
* Add account_debit_types table * Add ac_debit_types_branches table * Add account_debit_types defaults * Add Koha::Account::DebitType and Koha::Account::DebitTypes * Prevent deletion of defaults * Migrate MANUAL_INV values * Remove MANUAL_INV references * Migrate accounttype values Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
63 lines
1.3 KiB
SQL
63 lines
1.3 KiB
SQL
INSERT IGNORE INTO authorised_value_categories( category_name )
|
|
VALUES
|
|
(''),
|
|
('Asort1'),
|
|
('Asort2'),
|
|
('Bsort1'),
|
|
('Bsort2'),
|
|
('SUGGEST'),
|
|
('SUGGEST_STATUS'),
|
|
('SUGGEST_FORMAT'),
|
|
('DAMAGED'),
|
|
('LOST'),
|
|
('REPORT_GROUP'),
|
|
('REPORT_SUBGROUP'),
|
|
('DEPARTMENT'),
|
|
('TERM'),
|
|
('ITEMTYPECAT'),
|
|
('PAYMENT_TYPE'),
|
|
('PA_CLASS'),
|
|
('ROADTYPE');
|
|
|
|
INSERT IGNORE INTO authorised_value_categories( category_name )
|
|
VALUES
|
|
('branches'),
|
|
('itemtypes'),
|
|
('cn_source');
|
|
|
|
INSERT IGNORE INTO authorised_value_categories( category_name )
|
|
VALUES
|
|
('WITHDRAWN'),
|
|
('RESTRICTED'),
|
|
('NOT_LOAN'),
|
|
('CCODE'),
|
|
('LOC'),
|
|
('BOR_NOTES'),
|
|
('OPAC_SUG'),
|
|
('SIP_MEDIA_TYPE'),
|
|
('ORDER_CANCELLATION_REASON'),
|
|
('RELTERMS'),
|
|
('YES_NO'),
|
|
('LANG'),
|
|
('HINGS_UT'),
|
|
('HINGS_PF'),
|
|
('HINGS_C'),
|
|
('HINGS_AS'),
|
|
('HINGS_RD'),
|
|
('STACK'),
|
|
('CONTROL_NUM_SEQUENCE');
|
|
|
|
-- UNIMARC specific?
|
|
INSERT IGNORE INTO authorised_value_categories( category_name ) VALUES
|
|
('ETAT'),
|
|
('CAND'),
|
|
('COUNTRY'),
|
|
('qualif');
|
|
|
|
-- For Housebound
|
|
INSERT IGNORE INTO authorised_value_categories( category_name ) VALUES
|
|
('HSBND_FREQ');
|
|
|
|
-- For Interlibrary loans
|
|
INSERT IGNORE INTO authorised_value_categories( category_name ) VALUES
|
|
('ILLSTATUS');
|