From: Bernd Bleßmann Date: Mon, 27 Nov 2017 12:14:43 +0000 (+0100) Subject: Inventur: neuer Transfer-Typ für Inventur ('stocktaking') (DB-Upgrade) X-Git-Tag: release-3.5.4~537 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=78d75869639767b12a54b4775e7dfd7a750bbadb;p=kivitendo-erp.git Inventur: neuer Transfer-Typ für Inventur ('stocktaking') (DB-Upgrade) --- diff --git a/bin/mozilla/wh.pl b/bin/mozilla/wh.pl index 6d74a6734..78b05760c 100644 --- a/bin/mozilla/wh.pl +++ b/bin/mozilla/wh.pl @@ -71,6 +71,7 @@ use strict; # $locale->text('return_material') # $locale->text('release_material') # $locale->text('assembled') +# $locale->text('stocktaking') # -------------------------------------------------------------------- # Transfer diff --git a/locale/de/all b/locale/de/all index 38a608048..ac2241df8 100755 --- a/locale/de/all +++ b/locale/de/all @@ -4082,6 +4082,7 @@ $self->{texts} = { 'start upload' => 'Hochladen beginnt', 'stock' => 'Einlagerung', 'stock_br' => 'Eingel.', + 'stocktaking' => 'Inventur', 'succeeded' => 'erfolgreich', 'sum' => 'Summe', 'tax_chartaccno' => 'Automatikkonto', diff --git a/locale/en/all b/locale/en/all index 88bbbc23c..935f8e140 100644 --- a/locale/en/all +++ b/locale/en/all @@ -4028,6 +4028,7 @@ $self->{texts} = { 'start upload' => '', 'stock' => '', 'stock_br' => 'stock', + 'stocktaking' => '', 'succeeded' => '', 'sum' => '', 'tax_chartaccno' => '', diff --git a/sql/Pg-upgrade2/transfer_type_stocktaking.sql b/sql/Pg-upgrade2/transfer_type_stocktaking.sql new file mode 100644 index 000000000..f47c543f2 --- /dev/null +++ b/sql/Pg-upgrade2/transfer_type_stocktaking.sql @@ -0,0 +1,6 @@ +-- @tag: transfer_type_stocktaking +-- @description: neuer Transfertyp stocktaking für Inventur +-- @depends: warehouse + +INSERT INTO transfer_type (direction, description, sortkey) VALUES ('in', 'stocktaking', (SELECT COALESCE(MAX(sortkey), 0) + 1 FROM transfer_type)); +INSERT INTO transfer_type (direction, description, sortkey) VALUES ('out', 'stocktaking', (SELECT COALESCE(MAX(sortkey), 0) + 1 FROM transfer_type));