Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 39e13b0f

Von Moritz Bunkus vor mehr als 13 Jahren hinzugefügt

  • ID 39e13b0fb4b323c1d8c691b0e55c37d0ca1becc5
  • Vorgänger 35948584
  • Nachfolger e055b3ff

Verknüpfungen Parts/Customers/Vendors -> Custom Variables

Unterschiede anzeigen:

SL/DB/Part.pm
37 37
    class        => 'SL::DB::Price',
38 38
    column_map   => { id => 'parts_id' },
39 39
  },
40
  makemodels     => {
41
    type         => 'one to many',
42
    class        => 'SL::DB::MakeModel',
43
    column_map   => { id => 'parts_id' },
44
  },
45
  translations   => {
46
    type         => 'one to many',
47
    class        => 'SL::DB::Translation',
48
    column_map   => { id => 'parts_id' },
49
  },
50
  custom_variables => {
51
    type           => 'one to many',
52
    class          => 'SL::DB::CustomVariable',
53
    column_map     => { id => 'trans_id' },
54
    query_args     => [ config_id => [ \"(SELECT custom_variable_configs.id FROM custom_variable_configs WHERE custom_variable_configs.module = 'IC')" ] ],
55
  },
40 56
);
41 57

  
42 58
__PACKAGE__->meta->initialize;

Auch abrufbar als: Unified diff