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/Order.pm
31 31
    class                  => 'SL::DB::PeriodicInvoicesConfig',
32 32
    column_map             => { id => 'oe_id' },
33 33
  },
34
  payment_term => {
35
    type       => 'one to one',
36
    class      => 'SL::DB::PaymentTerm',
37
    column_map => { payment_id => 'id' },
38
  },
39
  contact      => {
40
    type       => 'one to one',
41
    class      => 'SL::DB::Contact',
42
    column_map => { cp_id => 'cp_id' },
43
  },
44
  shipto       => {
45
    type       => 'one to one',
46
    class      => 'SL::DB::Shipto',
47
    column_map => { shipto_id => 'shipto_id' },
48
  },
49
  department   => {
50
    type       => 'one to one',
51
    class      => 'SL::DB::Department',
52
    column_map => { department_id => 'id' },
53
  },
54
  language     => {
55
    type       => 'one to one',
56
    class      => 'SL::DB::Language',
57
    column_map => { language_id => 'id' },
58
  },
59 34
);
60 35

  
61 36
__PACKAGE__->meta->initialize;
62 37

  
63 38
# methods
64 39

  
65
sub items { goto &orderitems; }
40
sub items         { goto &orderitems; }
41
sub payment_terms { goto &payment;    }
66 42

  
67 43
sub type {
68 44
  my $self = shift;

Auch abrufbar als: Unified diff