Revision e237d75a
Von Sven Schöling vor mehr als 11 Jahren hinzugefügt
SL/DB/MetaSetup/Tax.pm | ||
---|---|---|
10 | 10 |
table => 'tax', |
11 | 11 |
|
12 | 12 |
columns => [ |
13 |
chart_id => { type => 'integer' }, |
|
14 |
rate => { type => 'numeric', precision => 5, scale => 15 }, |
|
15 |
taxnumber => { type => 'text' }, |
|
16 |
taxkey => { type => 'integer' }, |
|
17 |
taxdescription => { type => 'text' }, |
|
18 |
itime => { type => 'timestamp', default => 'now()' }, |
|
19 |
mtime => { type => 'timestamp' }, |
|
20 |
id => { type => 'integer', not_null => 1, sequence => 'id' }, |
|
13 |
chart_id => { type => 'integer' }, |
|
14 |
rate => { type => 'numeric', default => '0', not_null => 1, precision => 5, scale => 15 }, |
|
15 |
taxnumber => { type => 'text' }, |
|
16 |
taxkey => { type => 'integer', not_null => 1 }, |
|
17 |
taxdescription => { type => 'text', not_null => 1 }, |
|
18 |
itime => { type => 'timestamp', default => 'now()' }, |
|
19 |
mtime => { type => 'timestamp' }, |
|
20 |
id => { type => 'integer', not_null => 1, sequence => 'id' }, |
|
21 |
chart_categories => { type => 'text', not_null => 1 }, |
|
21 | 22 |
], |
22 | 23 |
|
23 | 24 |
primary_key_columns => [ 'id' ], |
24 | 25 |
|
25 | 26 |
allow_inline_column_values => 1, |
27 |
|
|
28 |
foreign_keys => [ |
|
29 |
chart => { |
|
30 |
class => 'SL::DB::Chart', |
|
31 |
key_columns => { chart_id => 'id' }, |
|
32 |
}, |
|
33 |
], |
|
26 | 34 |
); |
27 | 35 |
|
28 | 36 |
1; |
Auch abrufbar als: Unified diff
Metasetup für tax aus tax_constraints.pl, steuerfilterung.pl