1 [%- USE HTML -%][%- USE LxERP -%][%- USE L -%]
5 <td align="right">[% LxERP.t8('Default Transfer') %]</td>
7 [% L.yes_no_tag('defaults.transfer_default', SELF.defaults.transfer_default) %]
10 [% LxERP.t8('Show Transfer via default') %]<br>
14 <td align="right">[% LxERP.t8('Default Transfer with services') %]</td>
16 [% L.yes_no_tag('defaults.transfer_default_services', SELF.defaults.transfer_default_services) %]
19 [% LxERP.t8('Transfer services via default') %]<br>
23 <td align="right" nowrap="true">[% LxERP.t8('Default Warehouse') %]</td>
25 [% L.select_tag('defaults.warehouse_id', SELF.all_warehouses, id='warehouse_id', with_empty=1, default=SELF.defaults.warehouse_id, title_key='description',
26 onchange="warehouse_selected(this.selectedIndex == 0 ? -1 : warehouses[this.selectedIndex - 1].id, -1)") %]
29 [% LxERP.t8('This is the default bin for parts') %]<br>
30 [% LxERP.t8('If configured this bin will be preselected for all new parts. Also this bin will be used as the master default bin, if default transfer out with master bin is activated.') %]<br>
34 <td align="right" nowrap="true">[% LxERP.t8('Default Bin') %]</td>
35 <td>[% L.select_tag('defaults.bin_id', [], id='bin_id', with_empty=1) %]</td>
39 <td align="right">[% LxERP.t8('Default Transfer with Master Bin') %]</td>
41 [% L.yes_no_tag('defaults.transfer_default_use_master_default_bin', SELF.defaults.transfer_default_use_master_default_bin) %]
44 [% LxERP.t8('Use master default bin for Default Transfer, if no default bin for the part is configured') %]<br>
47 <tr><td colspan="3"><hr /></td></tr>
49 <td align="right">[% LxERP.t8('Default Transfer Out with negative inventory') %]</td>
51 [% L.yes_no_tag('defaults.transfer_default_ignore_onhand', SELF.defaults.transfer_default_ignore_onhand) %]
54 [% LxERP.t8('Default Transfer Out always succeed. The current part onhand is ignored and the inventory can have negative stocks (not recommended).') %]<br>
59 <td align="right" nowrap="true">[% LxERP.t8('Default Warehouse with ignoring onhand') %]</td>
61 [% L.select_tag('defaults.warehouse_id_ignore_onhand', SELF.all_warehouses, id='warehouse_id_ignore_onhand', with_empty=1, default=SELF.defaults.warehouse_id_ignore_onhand, title_key='description',
62 onchange="warehouse_selected(this.selectedIndex == 0 ? -1 : warehouses[this.selectedIndex - 1].id, -1, 'bin_id_ignore_onhand')") %]
65 [% LxERP.t8('This is the default warehouse for ignoring onhand') %]<br>
69 <td align="right" nowrap="true">[% LxERP.t8('Default Bin with ignoring onhand') %]</td>
70 <td>[% L.select_tag('defaults.bin_id_ignore_onhand', [], id='bin_id_ignore_onhand', with_empty=1) %]</td>
71 <td>[% LxERP.t8('If the default transfer out always succeed use this bin for negative stock quantity.') %]</td>
73 <tr><td colspan="3"><hr /></td></tr>
75 <td align="right">[% LxERP.t8('Transfer out on posting sales invoices?') %]</td>
77 [% L.yes_no_tag('defaults.is_transfer_out', SELF.defaults.is_transfer_out) %]
80 [% LxERP.t8('Transfer out all items of a sales invoice when posting it. Items are transfered out acording to the settings above.') %]
84 <td align="right">[% LxERP.t8('Match Sales Invoice Serial numbers with inventory charge numbers?') %]</td>
86 [% L.yes_no_tag('defaults.sales_serial_eq_charge', SELF.defaults.sales_serial_eq_charge) %]
89 [% 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.') %]
92 <tr><td colspan="3"><hr /></td></tr>
95 <td align="right">[% LxERP.t8('Show Bestbefore') %]</td>
97 [% L.yes_no_tag('defaults.show_bestbefore', SELF.defaults.show_bestbefore) %]
100 [% LxERP.t8('Show fields used for the best before date?') %]<br>
101 [% LxERP.t8('ATTENTION! If you enabled this feature you can not simply turn it off again without taking care that best_before fields are emptied in the database.') %]<br>
102 [% LxERP.t8('This can be done with the following query:') %]<br>
104 UPDATE inventory SET bestbefore = NULL; <br>
106 [% LxERP.t8('Any stock contents containing a best before date will be impossible to stock out otherwise.') %]
110 <td align="right">[% LxERP.t8('Undo Transfer Interval') %]</td>
111 <td>[% L.input_tag('defaults.undo_transfer_interval', LxERP.format_amount(SELF.defaults.undo_transfer_interval, 0), style=style) %]</td>
112 <td>[% LxERP.t8('Defines the interval where undoing transfers from a delivery order are allowed.') %]</td>
114 <tr><td class="listheading" colspan="4">[% LxERP.t8("Produce Assembly Configuration") %]</td></tr>
116 <td align="right">[% LxERP.t8('Assembly creation warehouse dependent') %]</td>
118 [% L.yes_no_tag('defaults.produce_assembly_same_warehouse', SELF.defaults.produce_assembly_same_warehouse) %]
121 [% LxERP.t8('Produce assembly only if all parts are in the same warehouse') %]
125 <td align="right">[% LxERP.t8('Assembly creation transfers services') %]</td>
127 [% L.yes_no_tag('defaults.produce_assembly_transfer_service', SELF.defaults.produce_assembly_transfer_service) %]
130 [% LxERP.t8('Produce assembly consumes services if assigned as a assembly item') %]
133 <tr><td class="listheading" colspan="4">[% LxERP.t8("Services in Delivery Orders") %]</td></tr>
135 <td align="right">[% LxERP.t8('Sales Orders Services are deliverable') %]</td>
137 [% L.yes_no_tag('defaults.sales_delivery_order_check_service', SELF.defaults.sales_delivery_order_check_service) %]
140 [% LxERP.t8('Ignore services for the sales orders state of delivery') %]
144 <td align="right">[% LxERP.t8('Purchase Orders Services are deliverable') %]</td>
146 [% L.yes_no_tag('defaults.purchase_delivery_order_check_service', SELF.defaults.purchase_delivery_order_check_service) %]
149 [% LxERP.t8('Ignore services for the purchase orders state of delivery') %]
152 <tr><td class="listheading" colspan="4">[% LxERP.t8("Shipped Quantity Algorithm") %]</td></tr>
154 <td align="right">[% LxERP.t8('Require stock out to consider a delivery order position delivered?') %]</td>
155 <td>[% L.yes_no_tag('defaults.shipped_qty_require_stock_out', SELF.defaults.shipped_qty_require_stock_out) %]</td>
156 <td>[% LxERP.t8('If yes, delivery order positions are considered "delivered" only if they have been stocked out of the inventory. Otherwise saving the delivery order is considered delivered.') %]</td>