Revision 1abd7845
Von Moritz Bunkus vor mehr als 13 Jahren hinzugefügt
SL/DB/CsvImportProfile.pm | ||
---|---|---|
38 | 38 |
escape_char => '"', |
39 | 39 |
charset => 'CP850', |
40 | 40 |
numberformat => $::myconfig{numberformat}, |
41 |
duplicates => 'no_check', |
|
41 | 42 |
); |
42 | 43 |
|
43 | 44 |
if ($self->type eq 'parts') { |
44 |
my $bugru = SL::DB::Manager::Buchungsgruppe->find_by(name => { like => 'Standard%19%' });
|
|
45 |
my $bugru = SL::DB::Manager::Buchungsgruppe->find_by(description => { like => 'Standard%19%' });
|
|
45 | 46 |
|
46 | 47 |
$self->_set_defaults(sellprice_places => 2, |
47 | 48 |
sellprice_adjustment => 0, |
48 | 49 |
sellprice_adjustment_type => 'percent', |
49 |
article_number_policy => 'update_price', |
|
50 |
price_group_sep_char => '!',
|
|
51 |
shoparticle_if_missing => 0,
|
|
50 |
article_number_policy => 'update_prices',
|
|
51 |
part_group_sep_char => '!',
|
|
52 |
shoparticle_if_missing => '0',
|
|
52 | 53 |
parts_type => 'part', |
53 |
default_buchungsgruppe => ($bugru ? $bugru->name : undef), |
|
54 |
default_buchungsgruppe => ($bugru ? $bugru->description : undef), |
|
55 |
apply_buchungsgruppe => 'all', |
|
54 | 56 |
); |
55 | 57 |
} else { |
56 | 58 |
$self->_set_defaults(table => 'customer'); |
Auch abrufbar als: Unified diff
CSV-Importmasken um typspezifische Eingabefelder erweitert