Revision 91bd08d8
Von Moritz Bunkus vor fast 12 Jahren hinzugefügt
SL/DB/MetaSetup/PurchaseInvoice.pm | ||
---|---|---|
28 | 28 |
employee_id => { type => 'integer' }, |
29 | 29 |
quonumber => { type => 'text' }, |
30 | 30 |
intnotes => { type => 'text' }, |
31 |
department_id => { type => 'integer', default => '0' },
|
|
31 |
department_id => { type => 'integer' }, |
|
32 | 32 |
itime => { type => 'timestamp', default => 'now()' }, |
33 | 33 |
mtime => { type => 'timestamp' }, |
34 | 34 |
shipvia => { type => 'text' }, |
... | ... | |
50 | 50 |
allow_inline_column_values => 1, |
51 | 51 |
|
52 | 52 |
foreign_keys => [ |
53 |
contact => { |
|
54 |
class => 'SL::DB::Contact', |
|
55 |
key_columns => { cp_id => 'cp_id' }, |
|
56 |
}, |
|
57 |
|
|
58 |
department => { |
|
59 |
class => 'SL::DB::Department', |
|
60 |
key_columns => { department_id => 'id' }, |
|
61 |
}, |
|
62 |
|
|
63 |
employee => { |
|
64 |
class => 'SL::DB::Employee', |
|
65 |
key_columns => { employee_id => 'id' }, |
|
66 |
}, |
|
67 |
|
|
53 | 68 |
globalproject => { |
54 | 69 |
class => 'SL::DB::Project', |
55 | 70 |
key_columns => { globalproject_id => 'id' }, |
56 | 71 |
}, |
57 | 72 |
|
73 |
language => { |
|
74 |
class => 'SL::DB::Language', |
|
75 |
key_columns => { language_id => 'id' }, |
|
76 |
}, |
|
77 |
|
|
78 |
payment => { |
|
79 |
class => 'SL::DB::PaymentTerm', |
|
80 |
key_columns => { payment_id => 'id' }, |
|
81 |
}, |
|
82 |
|
|
58 | 83 |
storno_obj => { |
59 | 84 |
class => 'SL::DB::PurchaseInvoice', |
60 | 85 |
key_columns => { storno_id => 'id' }, |
Auch abrufbar als: Unified diff
Diverse Fremdschlüssel für Tabellen ar und ap