Revision 45a48bed
Von Sven Schöling vor fast 13 Jahren hinzugefügt
SL/DB/MetaSetup/Customer.pm | ||
---|---|---|
51 | 51 |
taxzone_id => { type => 'integer', default => '0', not_null => 1 }, |
52 | 52 |
greeting => { type => 'text' }, |
53 | 53 |
ustid => { type => 'text' }, |
54 |
direct_debit => { type => 'boolean', default => 'false' }, |
|
54 | 55 |
iban => { type => 'varchar', length => 100 }, |
55 | 56 |
bic => { type => 'varchar', length => 100 }, |
56 |
direct_debit => { type => 'boolean', default => 'false' },
|
|
57 |
curr => { type => 'character', length => 3 },
|
|
57 | 58 |
], |
58 | 59 |
|
59 | 60 |
primary_key_columns => [ 'id' ], |
60 | 61 |
|
61 |
allow_inline_column_values => 1, |
|
62 |
foreign_keys => [ |
|
63 |
business => { |
|
64 |
class => 'SL::DB::Business', |
|
65 |
key_columns => { business_id => 'id' }, |
|
66 |
}, |
|
67 |
|
|
68 |
language_obj => { |
|
69 |
class => 'SL::DB::Language', |
|
70 |
key_columns => { language_id => 'id' }, |
|
71 |
}, |
|
72 |
|
|
73 |
payment => { |
|
74 |
class => 'SL::DB::PaymentTerm', |
|
75 |
key_columns => { payment_id => 'id' }, |
|
76 |
}, |
|
77 |
], |
|
62 | 78 |
); |
63 | 79 |
|
64 | 80 |
1; |
Auch abrufbar als: Unified diff
rdbo models: customer und vendor nach de8868c und 4c4939d0.