Revision 6c8fcdb1
Von Bernd Bleßmann vor mehr als 1 Jahr hinzugefügt
SL/BackgroundJob/SetNumberRange.pm | ||
---|---|---|
29 | 29 |
|
30 | 30 |
my $defaults = SL::DB::Default->get; |
31 | 31 |
|
32 |
foreach (qw(invnumber cnnumber sonumber ponumber sqnumber rfqnumber sdonumber pdonumber)) { |
|
32 |
foreach (qw(invnumber cnnumber soinumber sonumber ponumber sqnumber rfqnumber sdonumber pdonumber)) {
|
|
33 | 33 |
my $current_number = SL::PrefixedNumber->new(number => $defaults->{$_}); |
34 | 34 |
$current_number->set_to($next_year * $multiplier); |
35 | 35 |
$defaults->{$_} = $current_number->get_current; |
Auch abrufbar als: Unified diff
Auftrags-Eingang: DB und Nummernkreis