Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision e26719e5

Von Bernd Bleßmann vor 12 Monaten hinzugefügt

  • ID e26719e565307526689a1cb7db694c08fc68bb4a
  • Vorgänger 1b9948c2
  • Nachfolger 7e12ffd2

S:D:H:TransNumberGenerator: Kosmetik: Ausrichtung

Unterschiede anzeigen:

SL/DB/Helper/TransNumberGenerator.pm
27 27
 # SL::DB::Manager::Part->type_filter($_[0]);
28 28
}
29 29

  
30
my %specs = ( ar                        => { number_column => 'invnumber',                                                                           },
31
              sales_quotation           => { number_column => 'quonumber',      number_range_column => 'sqnumber',       scoping => \&oe_scoping,    },
32
              sales_order_intake        => { number_column => 'ordnumber',      number_range_column => 'soinumber',      scoping => \&oe_scoping,    },
33
              sales_order               => { number_column => 'ordnumber',      number_range_column => 'sonumber',       scoping => \&oe_scoping,    },
34
              request_quotation         => { number_column => 'quonumber',      number_range_column => 'rfqnumber',      scoping => \&oe_scoping,    },
35
              purchase_quotation_intake => { number_column => 'quonumber',      number_range_column => 'pqinumber',      scoping => \&oe_scoping,    },
36
              purchase_order            => { number_column => 'ordnumber',      number_range_column => 'ponumber',       scoping => \&oe_scoping,    },
37
              purchase_order_confirmation => { number_column => 'ordnumber',    number_range_column => 'pocnumber',      scoping => \&oe_scoping,    },
38
              sales_delivery_order      => { number_column => 'donumber',       number_range_column => 'sdonumber',      scoping => \&do_scoping,    },
39
              purchase_delivery_order   => { number_column => 'donumber',       number_range_column => 'pdonumber',      scoping => \&do_scoping,    },
40
              supplier_delivery_order   => { number_column => 'donumber',       number_range_column => 'sudonumber',     scoping => \&do_scoping,    },
41
              rma_delivery_order        => { number_column => 'donumber',       number_range_column => 'rdonumber',      scoping => \&do_scoping,    },
42
              sales_reclamation         => { number_column => 'record_number',  number_range_column => 's_reclamation_record_number',scoping => \&rec_scoping,   },
43
              purchase_reclamation      => { number_column => 'record_number',  number_range_column => 'p_reclamation_record_number',scoping => \&rec_scoping,   },
44
              customer                  => { number_column => 'customernumber', number_range_column => 'customernumber',                             },
45
              vendor                    => { number_column => 'vendornumber',   number_range_column => 'vendornumber',                               },
46
              part                      => { number_column => 'partnumber',     number_range_column => 'articlenumber',                              },
47
              service                   => { number_column => 'partnumber',     number_range_column => 'servicenumber',                              },
48
              assembly                  => { number_column => 'partnumber',     number_range_column => 'assemblynumber',                             },
49
              assortment                => { number_column => 'partnumber',     number_range_column => 'assortmentnumber',                           },
30
my %specs = ( ar                          => { number_column => 'invnumber',                                                                           },
31
              sales_quotation             => { number_column => 'quonumber',      number_range_column => 'sqnumber',       scoping => \&oe_scoping,    },
32
              sales_order_intake          => { number_column => 'ordnumber',      number_range_column => 'soinumber',      scoping => \&oe_scoping,    },
33
              sales_order                 => { number_column => 'ordnumber',      number_range_column => 'sonumber',       scoping => \&oe_scoping,    },
34
              request_quotation           => { number_column => 'quonumber',      number_range_column => 'rfqnumber',      scoping => \&oe_scoping,    },
35
              purchase_quotation_intake   => { number_column => 'quonumber',      number_range_column => 'pqinumber',      scoping => \&oe_scoping,    },
36
              purchase_order              => { number_column => 'ordnumber',      number_range_column => 'ponumber',       scoping => \&oe_scoping,    },
37
              purchase_order_confirmation => { number_column => 'ordnumber',      number_range_column => 'pocnumber',      scoping => \&oe_scoping,    },
38
              sales_delivery_order        => { number_column => 'donumber',       number_range_column => 'sdonumber',      scoping => \&do_scoping,    },
39
              purchase_delivery_order     => { number_column => 'donumber',       number_range_column => 'pdonumber',      scoping => \&do_scoping,    },
40
              supplier_delivery_order     => { number_column => 'donumber',       number_range_column => 'sudonumber',     scoping => \&do_scoping,    },
41
              rma_delivery_order          => { number_column => 'donumber',       number_range_column => 'rdonumber',      scoping => \&do_scoping,    },
42
              sales_reclamation           => { number_column => 'record_number',  number_range_column => 's_reclamation_record_number',scoping => \&rec_scoping,   },
43
              purchase_reclamation        => { number_column => 'record_number',  number_range_column => 'p_reclamation_record_number',scoping => \&rec_scoping,   },
44
              customer                    => { number_column => 'customernumber', number_range_column => 'customernumber',                             },
45
              vendor                      => { number_column => 'vendornumber',   number_range_column => 'vendornumber',                               },
46
              part                        => { number_column => 'partnumber',     number_range_column => 'articlenumber',                              },
47
              service                     => { number_column => 'partnumber',     number_range_column => 'servicenumber',                              },
48
              assembly                    => { number_column => 'partnumber',     number_range_column => 'assemblynumber',                             },
49
              assortment                  => { number_column => 'partnumber',     number_range_column => 'assortmentnumber',                           },
50 50
            );
51 51

  
52 52
sub get_next_trans_number {

Auch abrufbar als: Unified diff