X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/a93b3b648ec14f94c87176bb8d174da005446d97..217d32f3531a3565d647a1cfd0f3deb9b9ec1365:/SL/DB/Helper/Mappings.pm diff --git a/SL/DB/Helper/Mappings.pm b/SL/DB/Helper/Mappings.pm index 2b79bfe36..5a4fc5e01 100644 --- a/SL/DB/Helper/Mappings.pm +++ b/SL/DB/Helper/Mappings.pm @@ -26,6 +26,11 @@ my @lxoffice_blacklist = (@lxoffice_blacklist_permanent, @lxoffice_blacklist_tem my %lxoffice_package_names = ( acc_trans => 'acc_transaction', audittrail => 'audit_trail', + auth_group => 'auth_groups', + auth_group_right => 'auth_group_rights', + auth_user => 'auth_users', + auth_user_config => 'auth_user_configs', + auth_user_group => 'auth_user_groups', ar => 'invoice', ap => 'purchase_invoice', background_jobs => 'background_job', @@ -34,6 +39,8 @@ my %lxoffice_package_names = ( bank_accounts => 'bank_account', buchungsgruppen => 'buchungsgruppe', contacts => 'contact', + csv_import_profiles => 'csv_import_profile', + csv_import_profile_settings => 'csv_import_profile_setting', custom_variable_configs => 'custom_variable_config', custom_variables => 'custom_variable', custom_variables_validity => 'custom_variable_validity', @@ -60,8 +67,6 @@ my %lxoffice_package_names = ( inventory => 'inventory', invoice => 'invoice_item', language => 'language', - license => 'license', - licenseinvoice => 'license_invoice', makemodel => 'make_model', notes => 'note', orderitems => 'order_item', @@ -72,7 +77,7 @@ my %lxoffice_package_names = ( payment_terms => 'payment_term', periodic_invoices => 'periodic_invoice', periodic_invoices_configs => 'periodic_invoices_config', - prices => 'prices', + prices => 'price', price_factors => 'price_factor', pricegroup => 'pricegroup', printers => 'Printer', @@ -215,23 +220,23 @@ will die with an error. Returns the package name for a table name: - SL::DB::Helpers::Mappings::get_package_for_table('oe') + SL::DB::Helper::Mappings::get_package_for_table('oe') # SL::DB::Order =item C Returns the manager package name for a table name: - SL::DB::Helpers::Mappings::get_manager_package_for_table('oe') + SL::DB::Helper::Mappings::get_manager_package_for_table('oe') # SL::DB::Manager::Order =item C Returns the table name for a package name: - SL::DB::Helpers::Mappings::get_table_for_package('SL::DB::Order') + SL::DB::Helper::Mappings::get_table_for_package('SL::DB::Order') # oe - SL::DB::Helpers::Mappings::get_table_for_package('Order') + SL::DB::Helper::Mappings::get_table_for_package('Order') # oe =back