Revision 537f8f59
Von Tamino Steinert vor mehr als 1 Jahr hinzugefügt
SL/BackgroundJob/ImportRecordEmails.pm | ||
---|---|---|
|| {};
|
||
# overwrite with background job data
|
||
$config->{$_} = $data->{$_} for keys %$data;
|
||
$config->{record_type} ||= 'catch_all';
|
||
|
||
$record_type = $config->{record_type};
|
||
if ($record_type) {
|
||
... | ... | |
=item record_type
|
||
|
||
The record type to set for each imported email journal. This is used to get
|
||
a specific config under [record_emails_imap/record_type/<record_type>].
|
||
a specific config under [record_emails_imap/record_type/<record_type>]. The
|
||
default value is C<catch_all>
|
||
|
||
=item folder
|
||
|
SL/DB/MetaSetup/EmailJournal.pm | ||
---|---|---|
mtime => { type => 'timestamp', default => 'now()', not_null => 1 },
|
||
obsolete => { type => 'boolean', default => 'false', not_null => 1 },
|
||
recipients => { type => 'text', not_null => 1 },
|
||
record_type => { type => 'enum', check_in => [ 'sales_order', 'purchase_order', 'sales_quotation', 'request_quotation', 'purchase_quotation_intake', 'sales_order_intake', 'sales_delivery_order', 'purchase_delivery_order', 'supplier_delivery_order', 'rma_delivery_order', 'sales_reclamation', 'purchase_reclamation', 'invoice', 'invoice_for_advance_payment', 'invoice_for_advance_payment_storno', 'final_invoice', 'invoice_storno', 'credit_note', 'credit_note_storno', 'purchase_invoice', 'purchase_credit_note', 'ap_transaction', 'ar_transaction', 'gl_transaction', 'purchase_order_confirmation' ], db_type => 'email_journal_record_type' },
|
||
record_type => { type => 'enum', check_in => [ 'sales_order', 'purchase_order', 'sales_quotation', 'request_quotation', 'purchase_quotation_intake', 'sales_order_intake', 'sales_delivery_order', 'purchase_delivery_order', 'supplier_delivery_order', 'rma_delivery_order', 'sales_reclamation', 'purchase_reclamation', 'invoice', 'invoice_for_advance_payment', 'invoice_for_advance_payment_storno', 'final_invoice', 'invoice_storno', 'credit_note', 'credit_note_storno', 'purchase_invoice', 'purchase_credit_note', 'ap_transaction', 'ar_transaction', 'gl_transaction', 'purchase_order_confirmation', 'catch_all' ], db_type => 'email_journal_record_type' },
|
||
sender_id => { type => 'integer' },
|
||
sent_on => { type => 'timestamp', default => 'now()', not_null => 1 },
|
||
status => { type => 'enum', check_in => [ 'sent', 'send_failed', 'imported' ], db_type => 'email_journal_status', not_null => 1 },
|
locale/de/all | ||
---|---|---|
'Cash' => 'Zahlungsverkehr',
|
||
'Cash accounting' => 'Ist-Versteuerung',
|
||
'Cash basis accounting' => 'Einnahmen-Überschuss-Rechnung',
|
||
'Catch-all' => 'Catch-All',
|
||
'Category' => 'Artikelkategorie',
|
||
'Cc' => 'Cc',
|
||
'Cc E-mail' => 'CC (E-Mail)',
|
locale/en/all | ||
---|---|---|
'Cash' => '',
|
||
'Cash accounting' => '',
|
||
'Cash basis accounting' => '',
|
||
'Catch-all' => '',
|
||
'Category' => '',
|
||
'Cc' => '',
|
||
'Cc E-mail' => '',
|
sql/Pg-upgrade2/email_journal_record_types_add_chatall.sql | ||
---|---|---|
-- @tag: email_journal_record_types_add_catch_all
|
||
-- @description: E-Mail-Journal Beleg Type um generischen Type erweitern
|
||
-- @depends: email_journal_record_import_types
|
||
|
||
ALTER TYPE email_journal_record_type ADD VALUE IF NOT EXISTS 'catch_all';
|
templates/design40_webpages/email_journal/_filter.html | ||
---|---|---|
<td>
|
||
[%
|
||
SET record_type_options = [];
|
||
record_type_options.push({text=LxERP.t8("Catch-all"), record_type='catch_all'});
|
||
FOREACH record_info = RECORD_TYPES_WITH_INFO;
|
||
IF (!record_info.is_template);
|
||
record_type_options.push(record_info);
|
templates/webpages/email_journal/_filter.html | ||
---|---|---|
<td>
|
||
[%
|
||
SET record_type_options = [];
|
||
record_type_options.push({text=LxERP.t8("Catch-all"), record_type='catch_all'});
|
||
FOREACH record_info = RECORD_TYPES_WITH_INFO;
|
||
IF (!record_info.is_template);
|
||
record_type_options.push(record_info);
|
Auch abrufbar als: Unified diff
EmailJournal: Belegtype Catch-All hinzugefügt