Revision 7e69b81a
Von Tamino Steinert vor 7 Monaten hinzugefügt
- ID 7e69b81a3bfc03d3da0541a62de5f0448c80206e
- Vorgänger cd424304
SL/Controller/DeliveryOrder.pm | ||
---|---|---|
use SL::DB::ValidityToken;
|
||
use SL::DB::EmailJournal;
|
||
use SL::DB::Warehouse;
|
||
use SL::DB::Bin;
|
||
use SL::DB::Helper::RecordLink qw(set_record_link_conversions RECORD_ID RECORD_TYPE_REF RECORD_ITEM_ID RECORD_ITEM_TYPE_REF);
|
||
use SL::DB::Helper::TypeDataProxy;
|
||
use SL::DB::Helper::Record qw(get_object_name_from_type get_class_from_type);
|
||
... | ... | |
my $max_qty = sum0(map {$_->{qty}} @grouped_qty);
|
||
if ($max_qty < $parts_qty{$part_id}) {
|
||
$parts_errors{$part_id}{missing_qty} = $parts_qty{$part_id} - $max_qty;
|
||
$parts_errors{$part_id}{bin_id} = $bin_id;
|
||
}
|
||
|
||
next if $parts_errors{$part_id};
|
||
... | ... | |
$self->js->error(t8('No standard bin set for #1.', $part->displayable_name));
|
||
}
|
||
if ($parts_errors{$part_id}{missing_qty}) {
|
||
my $bin = SL::DB::Manager::Bin->find_by(
|
||
id => $parts_errors{$part_id}{bin_id}
|
||
);
|
||
$self->js->error(
|
||
t8('There are #1 of "#2" missing from the standard bin #3 for transfer.',
|
||
$parts_errors{$part_id}{missing_qty}, $part->displayable_name, $part->bin->full_description));
|
||
t8('There are #1 of "#2" missing from the bin #3 for transfer.',
|
||
$parts_errors{$part_id}{missing_qty}, $part->displayable_name, $bin->full_description));
|
||
}
|
||
if ($parts_errors{$part_id}{multiple_options}){
|
||
push @multiple_options, $part;
|
locale/de/all | ||
---|---|---|
'Then go to the database administration and chose "create database".' => 'Dann gehen Sie in den Datenbankverwaltung, und wählen Sie dort "Datenbank anlegen" aus.',
|
||
'There are #1 more open invoices for this customer with other currencies.' => 'Es gibt #1 weitere offene Rechnungen für diesen Kunden, die in anderen Währungen ausgestellt wurden.',
|
||
'There are #1 more open invoices from this vendor with other currencies.' => 'Es gibt #1 weitere offene Rechnungen von diesem Lieferanten, die in anderen Währungen ausgestellt wurden.',
|
||
'There are #1 of "#2" missing from the standard bin #3 for transfer.' => 'Es fehlen #1 von "#2" auf dem Standard-Lagerplatz #3 zum Auslagern',
|
||
'There are #1 of "#2" missing from the bin #3 for transfer.' => 'Es fehlen #1 von "#2" auf dem Lagerplatz #3 zum Auslagern',
|
||
'There are #1 unfinished follow-ups of which #2 are due.' => 'Es gibt #1 Wiedervorlage(n), von denen #2 fällig ist/sind.',
|
||
'There are Bins defined in your Inventory.' => 'Unter Stammdaten/Waren sind Lagerplätze definiert.',
|
||
'There are Bins defined in your master data.' => 'Unter Stammdaten/Waren sind Lagerplätze defininert',
|
locale/en/all | ||
---|---|---|
'Then go to the database administration and chose "create database".' => '',
|
||
'There are #1 more open invoices for this customer with other currencies.' => '',
|
||
'There are #1 more open invoices from this vendor with other currencies.' => '',
|
||
'There are #1 of "#2" missing from the standard bin #3 for transfer.' => '',
|
||
'There are #1 of "#2" missing from the bin #3 for transfer.' => '',
|
||
'There are #1 unfinished follow-ups of which #2 are due.' => '',
|
||
'There are Bins defined in your Inventory.' => '',
|
||
'There are Bins defined in your master data.' => '',
|
Auch abrufbar als: Unified diff
FIX: S:C:DeliveryOrder: Fehlermeldung bei 'Auslagern über Standardlager'