Revision 0e36c22a
Von Moritz Bunkus vor fast 11 Jahren hinzugefügt
SL/DB/MetaSetup/Customer.pm | ||
---|---|---|
9 | 9 |
__PACKAGE__->meta->table('customer'); |
10 | 10 |
|
11 | 11 |
__PACKAGE__->meta->columns( |
12 |
account_number => { type => 'text' }, |
|
13 |
bank => { type => 'text' }, |
|
14 |
bank_code => { type => 'text' }, |
|
15 |
bcc => { type => 'text' }, |
|
16 |
bic => { type => 'varchar', length => 100 }, |
|
17 |
business_id => { type => 'integer' }, |
|
18 |
c_vendor_id => { type => 'text' }, |
|
19 |
cc => { type => 'text' }, |
|
20 |
city => { type => 'varchar', length => 75 }, |
|
21 |
contact => { type => 'text' }, |
|
22 |
country => { type => 'varchar', length => 75 }, |
|
23 |
creditlimit => { type => 'numeric', default => '0', precision => 5, scale => 15 }, |
|
24 |
currency_id => { type => 'integer', not_null => 1 }, |
|
25 |
customernumber => { type => 'text' }, |
|
26 |
delivery_term_id => { type => 'integer' }, |
|
27 |
department_1 => { type => 'varchar', length => 75 }, |
|
28 |
department_2 => { type => 'varchar', length => 75 }, |
|
29 |
depositor => { type => 'text' }, |
|
30 |
direct_debit => { type => 'boolean', default => 'false' }, |
|
31 |
discount => { type => 'float', precision => 4 }, |
|
32 |
email => { type => 'text' }, |
|
33 |
fax => { type => 'varchar', length => 30 }, |
|
34 |
greeting => { type => 'text' }, |
|
35 |
homepage => { type => 'text' }, |
|
36 |
iban => { type => 'varchar', length => 100 }, |
|
37 |
id => { type => 'integer', not_null => 1, sequence => 'id' }, |
|
38 |
itime => { type => 'timestamp', default => 'now()' }, |
|
39 |
klass => { type => 'integer', default => '0' }, |
|
40 |
language => { type => 'varchar', length => 5 }, |
|
41 |
language_id => { type => 'integer' }, |
|
42 |
mandator_id => { type => 'text' }, |
|
43 |
mtime => { type => 'timestamp' }, |
|
44 |
name => { type => 'text', not_null => 1 }, |
|
45 |
notes => { type => 'text' }, |
|
46 |
obsolete => { type => 'boolean', default => 'false' }, |
|
47 |
payment_id => { type => 'integer' }, |
|
48 |
phone => { type => 'text' }, |
|
49 |
salesman_id => { type => 'integer' }, |
|
50 |
street => { type => 'varchar', length => 75 }, |
|
51 |
taxincluded => { type => 'boolean' }, |
|
52 |
taxincluded_checked => { type => 'boolean' }, |
|
53 |
taxnumber => { type => 'text' }, |
|
54 |
taxzone_id => { type => 'integer', default => '0', not_null => 1 }, |
|
55 |
terms => { type => 'integer', default => '0' }, |
|
56 |
user_password => { type => 'text' }, |
|
57 |
username => { type => 'varchar', length => 50 }, |
|
58 |
ustid => { type => 'text' }, |
|
59 |
zipcode => { type => 'varchar', length => 10 }, |
|
12 |
account_number => { type => 'text' }, |
|
13 |
bank => { type => 'text' }, |
|
14 |
bank_code => { type => 'text' }, |
|
15 |
bcc => { type => 'text' }, |
|
16 |
bic => { type => 'varchar', length => 100 }, |
|
17 |
business_id => { type => 'integer' }, |
|
18 |
c_vendor_id => { type => 'text' }, |
|
19 |
cc => { type => 'text' }, |
|
20 |
city => { type => 'varchar', length => 75 }, |
|
21 |
contact => { type => 'text' }, |
|
22 |
country => { type => 'varchar', length => 75 }, |
|
23 |
creditlimit => { type => 'numeric', default => '0', precision => 5, scale => 15 }, |
|
24 |
currency_id => { type => 'integer', not_null => 1 }, |
|
25 |
customernumber => { type => 'text' }, |
|
26 |
delivery_term_id => { type => 'integer' }, |
|
27 |
department_1 => { type => 'varchar', length => 75 }, |
|
28 |
department_2 => { type => 'varchar', length => 75 }, |
|
29 |
depositor => { type => 'text' }, |
|
30 |
direct_debit => { type => 'boolean', default => 'false' }, |
|
31 |
discount => { type => 'float', precision => 4 }, |
|
32 |
email => { type => 'text' }, |
|
33 |
fax => { type => 'varchar', length => 30 }, |
|
34 |
greeting => { type => 'text' }, |
|
35 |
homepage => { type => 'text' }, |
|
36 |
iban => { type => 'varchar', length => 100 }, |
|
37 |
id => { type => 'integer', not_null => 1, sequence => 'id' }, |
|
38 |
itime => { type => 'timestamp', default => 'now()' }, |
|
39 |
klass => { type => 'integer', default => '0' }, |
|
40 |
language => { type => 'varchar', length => 5 }, |
|
41 |
language_id => { type => 'integer' }, |
|
42 |
mandate_date_of_signature => { type => 'date' }, |
|
43 |
mandator_id => { type => 'text' }, |
|
44 |
mtime => { type => 'timestamp' }, |
|
45 |
name => { type => 'text', not_null => 1 }, |
|
46 |
notes => { type => 'text' }, |
|
47 |
obsolete => { type => 'boolean', default => 'false' }, |
|
48 |
payment_id => { type => 'integer' }, |
|
49 |
phone => { type => 'text' }, |
|
50 |
salesman_id => { type => 'integer' }, |
|
51 |
street => { type => 'varchar', length => 75 }, |
|
52 |
taxincluded => { type => 'boolean' }, |
|
53 |
taxincluded_checked => { type => 'boolean' }, |
|
54 |
taxnumber => { type => 'text' }, |
|
55 |
taxzone_id => { type => 'integer', default => '0', not_null => 1 }, |
|
56 |
terms => { type => 'integer', default => '0' }, |
|
57 |
user_password => { type => 'text' }, |
|
58 |
username => { type => 'varchar', length => 50 }, |
|
59 |
ustid => { type => 'text' }, |
|
60 |
zipcode => { type => 'varchar', length => 10 }, |
|
60 | 61 |
); |
61 | 62 |
|
62 | 63 |
__PACKAGE__->meta->primary_key_columns([ 'id' ]); |
Auch abrufbar als: Unified diff
SEPA: Feld »Signaturdatum«; Bearbeiten der Felder in Stammdatenmasken; Speichern in sepa_export_items