Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 0389fbc6

Von Moritz Bunkus vor mehr als 13 Jahren hinzugefügt

  • ID 0389fbc606e78cdacea36f4bf385e75f879443a2
  • Vorgänger 930e5ecb
  • Nachfolger f87763cd

Kosmetik

Unterschiede anzeigen:

SL/DB/Helper/TransNumberGenerator.pm
18 18
  SL::DB::Manager::DeliveryOrder->type_filter($_[0]);
19 19
};
20 20

  
21
my %specs = ( ar                      => { number_column => 'invnumber',                                                             fill_holes_in_range => 1 },
22
              sales_quotation         => { number_column => 'quonumber', number_range_column => 'sqnumber',  scoping => $oe_scoping,                          },
23
              sales_order             => { number_column => 'ordnumber', number_range_column => 'sonumber',  scoping => $oe_scoping,                          },
24
              request_quotation       => { number_column => 'quonumber', number_range_column => 'rfqnumber', scoping => $oe_scoping,                          },
25
              purchase_order          => { number_column => 'ordnumber', number_range_column => 'ponumber',  scoping => $oe_scoping,                          },
26
              sales_delivery_order    => { number_column => 'donumber',  number_range_column => 'sdonumber', scoping => $do_scoping, fill_holes_in_range => 1 },
27
              purchase_delivery_order => { number_column => 'donumber',  number_range_column => 'pdonumber', scoping => $do_scoping, fill_holes_in_range => 1 },
28
              customer                => { number_column => 'customernumber', number_range_column => 'customernumber', },
29
              vendor                  => { number_column => 'vendornumber', number_range_column => 'vendornumber', },
21
my %specs = ( ar                      => { number_column => 'invnumber',                                                                       fill_holes_in_range => 1 },
22
              sales_quotation         => { number_column => 'quonumber',      number_range_column => 'sqnumber',       scoping => $oe_scoping,                          },
23
              sales_order             => { number_column => 'ordnumber',      number_range_column => 'sonumber',       scoping => $oe_scoping,                          },
24
              request_quotation       => { number_column => 'quonumber',      number_range_column => 'rfqnumber',      scoping => $oe_scoping,                          },
25
              purchase_order          => { number_column => 'ordnumber',      number_range_column => 'ponumber',       scoping => $oe_scoping,                          },
26
              sales_delivery_order    => { number_column => 'donumber',       number_range_column => 'sdonumber',      scoping => $do_scoping, fill_holes_in_range => 1 },
27
              purchase_delivery_order => { number_column => 'donumber',       number_range_column => 'pdonumber',      scoping => $do_scoping, fill_holes_in_range => 1 },
28
              customer                => { number_column => 'customernumber', number_range_column => 'customernumber',                                                  },
29
              vendor                  => { number_column => 'vendornumber',   number_range_column => 'vendornumber',                                                    },
30 30
            );
31 31

  
32 32
sub get_next_trans_number {

Auch abrufbar als: Unified diff