Revision cd4357c6
SL/BackgroundJob/SetNumberRange.pm | ||
---|---|---|
44 | 44 |
} |
45 | 45 |
|
46 | 46 |
1; |
47 |
|
|
48 |
__END__ |
|
49 |
|
|
50 |
=encoding utf8 |
|
51 |
|
|
52 |
=head1 NAME |
|
53 |
|
|
54 |
SL::BackgroundJob::SetNumberRange — |
|
55 |
Background job for setting all kivitendo number ranges for a new year |
|
56 |
|
|
57 |
=head1 SYNOPSIS |
|
58 |
|
|
59 |
The backgroud accepts the following optional json encoded parameters in the data field: |
|
60 |
|
|
61 |
C<multiplier>: Multiplier to set the number range (defaults to 100) |
|
62 |
|
|
63 |
C<digits_year>: Handles the encoding of the year (can be 2 or 4, ie 24 or 2024). Defaults to 4 |
|
64 |
|
|
65 |
C<current_year>: If set to 1 the current year will be used and not the next year. |
|
66 |
|
|
67 |
|
|
68 |
The latter option is useful if the jobs runs on the 1st of the new year. |
|
69 |
|
|
70 |
The job is deactivated by default. Administrators of installations |
|
71 |
where such a feature is wanted have to create a job entry manually. |
|
72 |
|
|
73 |
=head1 AUTHOR |
|
74 |
|
|
75 |
Jan Büren E<lt>jan@kivitendo.deE<gt> |
|
76 |
|
|
77 |
=cut |
Auch abrufbar als: Unified diff
SetNumberRange: POD