Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 201c9038

Von Kivitendo Admin vor etwa 8 Jahren hinzugefügt

  • ID 201c9038c6c64d91b9be59991b6b6449c33a0d4f
  • Vorgänger 8a3f13c3
  • Nachfolger 19c3be79

Relationship delivery_order_stock_entries für DeliveryOrderItem

Unterschiede anzeigen:

SL/DB/DeliveryOrderItem.pm
19 19

  
20 20
__PACKAGE__->meta->make_manager_class;
21 21

  
22
__PACKAGE__->meta->add_relationship(
23
  delivery_order_stock_entries => {
24
    type         => 'one to many',
25
    class        => 'SL::DB::DeliveryOrderItemsStock',
26
    column_map   => { id => 'delivery_order_item_id' },
27
    manager_args => {
28
      with_objects => [ 'inventory' ]
29
    },
30
  },
31
);
32

  
22 33
__PACKAGE__->meta->initialize;
23 34

  
24 35
__PACKAGE__->configure_acts_as_list(group_by => [qw(delivery_order_id)]);

Auch abrufbar als: Unified diff