Revision 52d18c01
Von Jan Büren vor mehr als 11 Jahren hinzugefügt
SL/DB/MetaSetup/Default.pm | ||
---|---|---|
71 | 71 |
bin_id => { type => 'integer' }, |
72 | 72 |
currency_id => { type => 'integer', not_null => 1 }, |
73 | 73 |
show_weight => { type => 'boolean', default => 'false', not_null => 1 }, |
74 |
], |
|
74 |
transfer_default => { type => 'boolean', default => 'true' }, |
|
75 |
transfer_default_use_master_default_bin => { type => 'boolean', default => 'false' }, |
|
76 |
transfer_default_ignore_onhand => { type => 'boolean', default => 'false' }, |
|
77 |
warehouse_id_ignore_onhand => { type => 'integer' }, |
|
78 |
bin_id_ignore_onhand => { type => 'integer' }, |
|
79 |
], |
|
75 | 80 |
|
76 | 81 |
primary_key_columns => [ 'id' ], |
77 | 82 |
|
78 | 83 |
allow_inline_column_values => 1, |
79 |
|
|
80 | 84 |
foreign_keys => [ |
81 | 85 |
bin => { |
82 | 86 |
class => 'SL::DB::Bin', |
83 | 87 |
key_columns => { bin_id => 'id' }, |
84 | 88 |
}, |
85 | 89 |
|
86 |
warehouse => {
|
|
87 |
class => 'SL::DB::Warehouse',
|
|
88 |
key_columns => { warehouse_id => 'id' },
|
|
90 |
bin_obj => {
|
|
91 |
class => 'SL::DB::Bin',
|
|
92 |
key_columns => { bin_id_ignore_onhand => 'id' },
|
|
89 | 93 |
}, |
94 |
|
|
90 | 95 |
currency => { |
91 | 96 |
class => 'SL::DB::Currency', |
92 | 97 |
key_columns => { currency_id => 'id' }, |
93 | 98 |
}, |
99 |
|
|
100 |
warehouse => { |
|
101 |
class => 'SL::DB::Warehouse', |
|
102 |
key_columns => { warehouse_id => 'id' }, |
|
103 |
}, |
|
104 |
|
|
105 |
warehouse_obj => { |
|
106 |
class => 'SL::DB::Warehouse', |
|
107 |
key_columns => { warehouse_id_ignore_onhand => 'id' }, |
|
108 |
}, |
|
94 | 109 |
], |
95 | 110 |
); |
96 | 111 |
|
Auch abrufbar als: Unified diff
Verkaufs- und Einkaufslieferschein um Standardlagerverfahren erweitert (#2284)
s.a. Changelog, bzw. Trac-Eintrag 2284 hierzu.