Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 91bd08d8

Von Moritz Bunkus vor fast 12 Jahren hinzugefügt

  • ID 91bd08d8315e733c3390088f3187b4c5b1fb9a52
  • Vorgänger 6858b66b
  • Nachfolger 04bfdc11

Diverse Fremdschlüssel für Tabellen ar und ap

Unterschiede anzeigen:

SL/DB/MetaSetup/Invoice.pm
32 32
    quonumber                 => { type => 'text' },
33 33
    cusordnumber              => { type => 'text' },
34 34
    intnotes                  => { type => 'text' },
35
    department_id             => { type => 'integer', default => '0' },
35
    department_id             => { type => 'integer' },
36 36
    shipvia                   => { type => 'text' },
37 37
    itime                     => { type => 'timestamp', default => 'now()' },
38 38
    mtime                     => { type => 'timestamp' },
......
64 64
  allow_inline_column_values => 1,
65 65

  
66 66
  foreign_keys => [
67
    contact => {
68
      class       => 'SL::DB::Contact',
69
      key_columns => { cp_id => 'cp_id' },
70
    },
71

  
67 72
    customer => {
68 73
      class       => 'SL::DB::Customer',
69 74
      key_columns => { customer_id => 'id' },
70 75
    },
71 76

  
77
    department => {
78
      class       => 'SL::DB::Department',
79
      key_columns => { department_id => 'id' },
80
    },
81

  
72 82
    dunning_config => {
73 83
      class       => 'SL::DB::DunningConfig',
74 84
      key_columns => { dunning_config_id => 'id' },
75 85
    },
76 86

  
87
    employee => {
88
      class       => 'SL::DB::Employee',
89
      key_columns => { employee_id => 'id' },
90
    },
91

  
77 92
    globalproject => {
78 93
      class       => 'SL::DB::Project',
79 94
      key_columns => { globalproject_id => 'id' },
80 95
    },
81 96

  
97
    language => {
98
      class       => 'SL::DB::Language',
99
      key_columns => { language_id => 'id' },
100
    },
101

  
102
    payment => {
103
      class       => 'SL::DB::PaymentTerm',
104
      key_columns => { payment_id => 'id' },
105
    },
106

  
82 107
    salesman => {
83 108
      class       => 'SL::DB::Employee',
84 109
      key_columns => { salesman_id => 'id' },
85 110
    },
86 111

  
112
    shipto => {
113
      class       => 'SL::DB::Shipto',
114
      key_columns => { shipto_id => 'shipto_id' },
115
    },
116

  
87 117
    storno_obj => {
88 118
      class       => 'SL::DB::Invoice',
89 119
      key_columns => { storno_id => 'id' },

Auch abrufbar als: Unified diff