From: Jan Büren Date: Thu, 27 Aug 2020 15:14:16 +0000 (+0200) Subject: Auslagern über VK-Rechnung, Erweiterung um Abgleich Seriennummer == Charge X-Git-Tag: release-3.5.6.1~53 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=bde97469a3c19ef4ecb34c95dbf40d9d622093d2;p=kivitendo-erp.git Auslagern über VK-Rechnung, Erweiterung um Abgleich Seriennummer == Charge Option in Mandantenkonfiguration->Lager --- diff --git a/SL/DB/MetaSetup/Default.pm b/SL/DB/MetaSetup/Default.pm index fe3e5f7b5..7a4b5de5d 100644 --- a/SL/DB/MetaSetup/Default.pm +++ b/SL/DB/MetaSetup/Default.pm @@ -141,6 +141,7 @@ __PACKAGE__->meta->columns( sales_delivery_order_show_delete => { type => 'boolean', default => 'true' }, sales_order_show_delete => { type => 'boolean', default => 'true' }, sales_purchase_order_ship_missing_column => { type => 'boolean', default => 'false' }, + sales_serial_eq_charge => { type => 'boolean', default => 'false', not_null => 1 }, sdonumber => { type => 'text' }, sepa_creditor_id => { type => 'text' }, sepa_reference_add_vc_vc_id => { type => 'boolean', default => 'false' }, diff --git a/sql/Pg-upgrade2/transfer_out_serial_charge_number.sql b/sql/Pg-upgrade2/transfer_out_serial_charge_number.sql new file mode 100644 index 000000000..07a766705 --- /dev/null +++ b/sql/Pg-upgrade2/transfer_out_serial_charge_number.sql @@ -0,0 +1,4 @@ +-- @tag: transfer_out_serial_charge_number +-- @description: Feld für das Feature "VK-Seriennummer ist Lager-Chargennummer". +-- @depends: release_3_5_6 +ALTER TABLE defaults ADD COLUMN sales_serial_eq_charge BOOLEAN NOT NULL DEFAULT FALSE; diff --git a/templates/webpages/client_config/_warehouse.html b/templates/webpages/client_config/_warehouse.html index 5758acc53..3cc28efa0 100644 --- a/templates/webpages/client_config/_warehouse.html +++ b/templates/webpages/client_config/_warehouse.html @@ -80,6 +80,16 @@ [% LxERP.t8('Transfer out all items of a sales invoice when posting it. Items are transfered out acording to the settings above.') %] + + [% LxERP.t8('Match Sales Invoice Serial numbers with inventory charge numbers?') %] + + [% L.yes_no_tag('defaults.sales_serial_eq_charge', SELF.defaults.sales_serial_eq_charge) %] + + + [% LxERP.t8('If one or more space separated serial numbers are assigned in a sales invoice, match the charge number of the inventory item. Assumes that Serial Number and Charge Number have 1:1 relation. Otherwise throw a error message for the default sales invoice transfer.') %] + + + [% LxERP.t8('Use default warehouse for assembly transfer') %]