Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 4f15333b

Von Moritz Bunkus vor fast 12 Jahren hinzugefügt

  • ID 4f15333b8cc0ae1b0b4089adc2e516ba002b298b
  • Vorgänger b810b2e9
  • Nachfolger dd6282f6

Fremdschlüssel für Tabellen oe, delivery_orders, parts, translation

Unterschiede anzeigen:

SL/DB/MetaSetup/Order.pm
28 28
    quonumber               => { type => 'text' },
29 29
    cusordnumber            => { 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' },
......
53 53
  allow_inline_column_values => 1,
54 54

  
55 55
  foreign_keys => [
56
    contact => {
57
      class       => 'SL::DB::Contact',
58
      key_columns => { cp_id => 'cp_id' },
59
    },
60

  
56 61
    customer => {
57 62
      class       => 'SL::DB::Customer',
58 63
      key_columns => { customer_id => 'id' },
59 64
    },
60 65

  
66
    delivery_customer => {
67
      class       => 'SL::DB::Customer',
68
      key_columns => { delivery_customer_id => 'id' },
69
    },
70

  
71
    delivery_vendor => {
72
      class       => 'SL::DB::Vendor',
73
      key_columns => { delivery_vendor_id => 'id' },
74
    },
75

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

  
61 81
    employee => {
62 82
      class       => 'SL::DB::Employee',
63 83
      key_columns => { employee_id => 'id' },
64 84
    },
65 85

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

  
66 91
    globalproject => {
67 92
      class       => 'SL::DB::Project',
68 93
      key_columns => { globalproject_id => 'id' },
69 94
    },
70 95

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

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

  
71 106
    salesman => {
72 107
      class       => 'SL::DB::Employee',
73 108
      key_columns => { salesman_id => 'id' },
74 109
    },
75 110

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

  
76 116
    vendor => {
77 117
      class       => 'SL::DB::Vendor',
78 118
      key_columns => { vendor_id => 'id' },

Auch abrufbar als: Unified diff