Lines 1-15
Link Here
|
1 |
$DBversion = 'XXX'; # will be replaced by the RM |
|
|
2 |
if( CheckVersion( $DBversion ) ) { |
3 |
# you can use $dbh here like: |
4 |
$dbh->do( qq{ |
5 |
INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES |
6 |
('AcqReceiveMultipleOrderLines', '0', NULL, 'Process multiple order lines at once', 'YesNo') |
7 |
}); |
8 |
# or perform some test and warn |
9 |
# if( !column_exists( 'biblio', 'biblionumber' ) ) { |
10 |
# warn "There is something wrong"; |
11 |
# } |
12 |
|
13 |
# Always end with this (adjust the bug info) |
14 |
NewVersion( $DBversion, 8179, "Add AcqReceiveMultipleOrderLines system preference"); |
15 |
} |