diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 280dc3a83cc0c..b87be10d64e9c 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -7,18 +7,18 @@ Bug reports and feature requests *Note*: **GitHub Issues is not a support forum.** If you have questions about Dolibarr / need help using the software, please use [the forums](https://www.dolibarr.org/forum.php). Forums exist in different languages. Issues are managed on [GitHub](https://github.com/Dolibarr/dolibarr/issues). -Default **language here is english**. So please prepare your contributions in english. +Default **language here is English**. So please prepare your contributions in English. 1. Please [use the search engine](https://help.github.com/articles/searching-issues) to check if nobody's already reported your problem. 2. [Create an issue](https://help.github.com/articles/creating-an-issue). Choose an appropriate title. Prepend appropriately with Bug or Feature Request. 3. Tell us the version you are using! (look at /htdocs/admin/system/dolibarr.php? and check if you are using the latest version) -4. Write a report with as much detail as possible (Use [screenshots](https://help.github.com/articles/issue-attachments) or even screencasts and provide logging and debugging informations whenever possible). +4. Write a report with as much detail as possible (Use [screenshots](https://help.github.com/articles/issue-attachments) or even screencasts and provide logging and debugging information whenever possible). 5. Delete unnecessary submissions. 6. **Check your Message at Preview before sending.** -Code +Submit code --------------------- ### Basic workflow @@ -35,20 +35,22 @@ Default **language here is english**. So please prepare your contributions in en Unless you're fixing a bug, all pull requests should be made against the *develop* branch. -If you're fixing a bug, it is preferred that you cook your fix and pull request it -against the oldest version affected that's still supported. +If you're fixing a bug, it is preferred that you cook your fix and pull request it against an oldest version affected. -We officially support versions N, N − 1 and N − 2 for N the latest version available. +We recommend to push it into N - 2 for N the latest version available, if not possible into version N - 1, and finally into develop. +This is just a recommendation, currently, if you push a bug fix on a very old version, it is still merged and propagated into +higher versions. -Choose your base branch accordingly. +The rule N - 2 is just a tip if you don't know which version to choose to get the best the best compromise between ease of correction +and number of potential beneficiaries of the correction. ### General rules -Please don't edit the ChangeLog file. File will be generated from all commit messages during release process by the project manager. +Please don't edit the ChangeLog file. This file is generated from all commit messages during release process by the project manager. ### Commits Use clear commit messages with the following structure: -``` +```plaintext [KEYWORD] [ISSUENUM] DESC LONGDESC @@ -66,13 +68,13 @@ where #### Keyword In uppercase if you want to have the log comment appears into the generated ChangeLog file. -The keyword can be ommitted if your commit does not fit in any of the following categories: +The keyword can be omitted if your commit does not fit in any of the following categories: - Fix/FIX: for a bug fix -- New/NEW: for an unreferenced new feature (Opening a feature request and using close is prefered) - Close/CLOSE: for closing a referenced feature request -- Perf/PERF: for performance enhancement -- Qual/QUAL: for quality code enhancement or re-engeneering +- New/NEW: for an unreferenced new feature (Opening a feature request and using close is preferred) +- Perf/PERF: for a performance enhancement +- Qual/QUAL: for quality code enhancement or re-engineering #### Issuenum If your commit fixes a referenced bug or feature request. @@ -93,7 +95,7 @@ Feel free to express technical details, use cases or anything relevant to the cu This section can span multiple lines. -Try to keep lines under 120 characters. +If your PR is a change on interface, you must also paste a screenshot showing the new screen. #### Examples
@@ -105,7 +107,7 @@ NEW|New|QUAL|Qual|PERF|Perf Short description (In upper case to appear into Chan
 or
 Short description (when the commit is not introducing feature nor closing a bug)
 
-Long description (Can span accross multiple lines).
+Long description (Can span across multiple lines).
 
### Pull Requests @@ -133,7 +135,8 @@ If your PR has errors reported by the Continuous Integration Platform, it means If the PR is valid, and is kept open for a long time, a tag will also be added on the PR to describe the status of your PR and why the PR is kept open. By putting your mouse on the tag, you will get a full explanation of the tag/status that explain why your PR has not been integrated yet. In most cases, it gives you information of things you have to do to have the PR taken into consideration (for example a change is requested, a conflict is expected to be solved, some questions were asked). If you have a yellow, red flag of purple flag, don't expect to have your PR validated. You must first provide the answer the tag ask you. The majority of open PR are waiting an action of the author of the PR. -Statistics on Dolibarr project shows that 95% of submitted PR are reviewed and tagged. Average answer delay is also one of the best among Open source projects (just few days before having the Answer Tag set). This is one of the most important ratio of answered PR in Open Source world for a major project. Don't expect the core team to reach the 100%. A so high ratio is very rare on a so popular project and with the increasing popularity of Dolibarr, this ratio will probably decrease in future to a more common level. +Statistics on Dolibarr project shows that 95% of submitted PR are reviewed and tagged. Average answer delay is also one of the best among Open source projects (just few days before having the Answer Tag set). This is one of the most important ratio of answered PR in Open Source world for a major project. Don't expect the core team to reach the 100%. +A so high ratio is very rare on a so popular project and with the increasing popularity of Dolibarr, this ratio will probably decrease in future to a more common level. ### Resources @@ -147,7 +150,7 @@ All other translations are managed online at [Transifex](https://www.transifex.c Translations done on transifex are available in the next major release. -Note: Sometimes, the source text (english) is modified. In such a case, the translation is reset. Transifex assume that if the original source +Note: Sometimes, the source text (English) is modified. In such a case, the translation is reset. Transifex assume that if the original source has changed, the translation is surely no more correct so must be done again. But old translation is not lost and you can use the tab "History" to retrieve all old translation of a source text, and restore the translation in one click with no need to retranslate it if there is no need to. diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index d7dc3d584e383..3795b1b7222bd 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -68,4 +68,4 @@ body: id: files attributes: label: Attached files - description: Screenshots, screencasts, dolibarr.log, debugging informations + description: Screenshots, screencasts, dolibarr.log, debugging information diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 13a3e6fa77b87..494ae84c97202 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,7 +1,7 @@ # Instructions *This is a template to help you make good pull requests. You may use [Github Markdown](https://help.github.com/articles/getting-started-with-writing-and-formatting-on-github/) syntax to format your issue report.* *Please:* -- *only keep the "FIX", "CLOSE" or "NEW" section* (use uppercase to have the PR appears into the ChangeLog, lowercase will not appears) +- *only keep the "FIX", "CLOSE", "NEW", "PERF" or "QUAL" section* (use uppercase to have the PR appears into the ChangeLog, lowercase will not appears) - *follow the project [contributing guidelines](/.github/CONTRIBUTING.md)* - *replace the bracket enclosed texts with meaningful information* @@ -16,3 +16,12 @@ # NEW|New [*Short description*] [*Long description*] + + +# PERF|Perf #[*issue_number Short description*] +[*Long description*] + + +# QUAL|Qual #[*issue_number Short description*] +[*Long description*] + diff --git a/.github/workflows/github_ci_php71_pgsql.yml.disabled b/.github/workflows/github_ci_php71_pgsql.yml.disabled index 856e2eb18a503..d324d1c148158 100644 --- a/.github/workflows/github_ci_php71_pgsql.yml.disabled +++ b/.github/workflows/github_ci_php71_pgsql.yml.disabled @@ -235,7 +235,7 @@ jobs: sudo cat /etc/apache2/sites-enabled/000-default.conf sudo service apache2 restart curl -I localhost - - name: Chech Apache availability + - name: Check Apache availability run: | echo "Checking webserver availability by a wget -O - --debug http://127.0.0.1" # Ensure we stop on error with set -e diff --git a/.github/workflows/github_ci_php81_mysql.yml.disabled b/.github/workflows/github_ci_php81_mysql.yml.disabled index c1f78f2033ada..047fcd63fb5e1 100644 --- a/.github/workflows/github_ci_php81_mysql.yml.disabled +++ b/.github/workflows/github_ci_php81_mysql.yml.disabled @@ -190,7 +190,7 @@ jobs: sudo cat /etc/apache2/sites-enabled/000-default.conf sudo service apache2 restart curl -I localhost - - name: Chech Apache availability + - name: Check Apache availability run: | echo "Checking webserver availability by a wget -O - --debug http://127.0.0.1" # Ensure we stop on error with set -e diff --git a/.gitignore b/.gitignore index cc8b27dae677b..4f432c0b6747f 100644 --- a/.gitignore +++ b/.gitignore @@ -62,3 +62,7 @@ doc/install.lock .idea /composer.json /composer.lock + +/build/phpstan/phpstan +/build/phpstan/bootstrap_custom.php +phpstan_custom.neon diff --git a/.travis.yml b/.travis.yml index 19fb70cbc9352..61cbb2fc88b2d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -122,6 +122,8 @@ install: php -r "if (hash_file('SHA384', '/tmp/composer-setup.php') === '$HASH') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" sudo php /tmp/composer-setup.php --install-dir=/usr/local/bin --filename=composer sudo chmod -R a+rwx /usr/local/bin/composer + + #sudo apt install composer composer -V composer -n config -g vendor-dir htdocs/includes echo diff --git a/.tx/config b/.tx/config index 59bad9a52bedf..4cf1d95955d46 100644 --- a/.tx/config +++ b/.tx/config @@ -200,12 +200,6 @@ source_file = htdocs/langs/en_US/ldap.lang source_lang = en_US type = MOZILLAPROPERTIES -[o:dolibarr-association:p:dolibarr:r:link] -file_filter = htdocs/langs//link.lang -source_file = htdocs/langs/en_US/link.lang -source_lang = en_US -type = MOZILLAPROPERTIES - [o:dolibarr-association:p:dolibarr:r:loan] file_filter = htdocs/langs//loan.lang source_file = htdocs/langs/en_US/loan.lang diff --git a/COPYRIGHT b/COPYRIGHT index 96c39a39650f7..31b7f47434e11 100644 --- a/COPYRIGHT +++ b/COPYRIGHT @@ -23,18 +23,19 @@ Licence of dependencies of third-party components used by Dolibarr (all compatib Component Version License GPL Compatible Usage ------------------------------------------------------------------------------------- PHP libraries: -EvalMath 1.0 BSD Yes Safe math expressions evaluation +EvalMath 1.0 BSD Yes Safe math expressions evaluation. Used by dynamic price only. TODO Replace with dol_eval ? Escpos-php 3.0 MIT License Yes Thermal receipt printer library, for use with ESC/POS compatible printers GeoIP2 0.2.0 Apache License 2.0 Yes Lib to make geoip convert +MathPHP 2.8.1 MIT License Yes Modern math library for PHP Mobiledetect 2.8.41 MIT License Yes Detect mobile devices browsers NuSoap 0.9.5 LGPL 2.1+ Yes Library to develop SOAP Web services (not into rpm and deb package) PEAR Mail_MIME 1.8.9 BSD Yes NuSoap dependency ParseDown 1.7.4 MIT License Yes Markdown parser PCLZip 2.8.4 LGPL-3+ Yes Library to zip/unzip files PHPDebugBar 1.18.2 MIT License Yes Used only by the module "debugbar" for developers -PHP-Imap 2.7.2 MIT License Yes Library to use IMAP with OAuth PHPSpreadSheet 1.12.0 LGPL-2.1+ Yes Read/Write XLS files, read ODS files -php-iban 4.1.1 LGPL-3+ Yes Parse and validate IBAN (and IIBAN) bank account information in PHP +PHP-Iban 4.1.1 LGPL-3+ Yes Parse and validate IBAN (and IIBAN) bank account information in PHP +PHP-Imap 2.7.2 MIT License Yes Library to use IMAP with OAuth PHPoAuthLib 0.8.2 MIT License Yes Library to provide oauth1 and oauth2 to different service PHPPrintIPP 1.3 GPL-2+ Yes Library to send print IPP requests PSR/Logs 1.0 MIT License Yes Library for logs (used by DebugBar) diff --git a/ChangeLog b/ChangeLog index 2e20e5a63a867..eca42af81a740 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,21 +7,360 @@ English Dolibarr ChangeLog For users: ---------- -... +NEW: Compatibility with PHP 8.2 +NEW: Module for Advanced stock transfert is now stable (#26594) +NEW: Add a confirmation popup when deleting extrafields +NEW: Add type 'icon' type for extrafields +NEW: Close #20930 Use ajax for state loading after country change +NEW: #23331 Add support for parent projects (#24856) +NEW: #22531 Expense report - Add two fields into export : Qty & Unit price (excl.) (#26309) +NEW: #22626 date filter thirdparties contracts projects (#22707) +NEW: #24085 Add the Project filter +NEW: #25312 Support extrafields in selectForForms +NEW: #26312 Manage intermediate BIC - SQL Part (#26325) +NEW: Accountancy - Add quick navigation with keyboard shortcut on ledger (#26221) +NEW: Accountancy - FEC/FEC2 format export with attachments (#26192) +NEW: Accountancy - Option to choose length of lettering code +NEW: Add a button to create a product or a service from an order or an invoice (#26173) +NEW: Add a button to re-encrypt data of a dolcrypt extrafield password +NEW: Add a CLI tool to regenerate all documents +NEW: Add a goto url from smartphone search page +NEW: Add all id prof checker on thirdparty for code compta customer and supplier +NEW: add and list external contributors on ticket public interface +NEW: Add a protection on purgeFiles +NEW: Add a public page to list all open surveys +NEW: Add chart of accounts PCG08-PYME-CAT for ES in catalan language +NEW: add constant to check if qty shipped not greater than qty ordered +NEW: Add context for the movement stock (role toconsume/toproduce) on mrp +NEW: Add contract link on ticket +NEW: Add culum Technical ID in list of details lines of an order (#26164) +NEW: ADD: custom compute for exports +NEW: Add custom Text on footer total (#26334) +NEW: Add different picto for each type of extrafields (date, string, ...) +NEW: Add edit line on MO (#26122) +NEW: Added notification on closed intervention +NEW: Added of a popup on validation instead of a database fielld to know if the user wants to include subwarehouse +NEW: Added of the field "include_sub_warehouse" in the table "llx_inventory" +NEW: Added total line to third-parties list (#26148) +NEW: Added VAT free & VAT amounts on payment input +NEW: Add ext payment system ID in the payment page with link to Stripe +NEW: Add field TechnicalID in list of users +NEW: Add filter on status of line of a dictionary +NEW: Add get_substitutionarray_other() on shipping odt (#25080) +NEW: add IdProfCheck on thirdparty for BE (xxxx.xxx.xxx) +NEW: Add index on prelevement_demande +NEW: Add invoice subtype in customer invoice (#26543) and template invoice (SQL part) (#26535) +NEW: Add label to price level when changing price (#26240) +NEW: Add modifications of template invoices into agenda +NEW: Add more company informations (ProfId7 to 10) (#25266) +NEW: Add more information to holiday mailings (#25461) +NEW: Add more param on fetch() to prepare perf optimization +NEW: Add more tables activated by module activation only +NEW: Add new field into $fields array + Creation of the function getChildWarehouse() +NEW: Add option for cancel consumed and produced lines (delete lines and rollback stocks) when delete or cancel an manufacturing order (#26254) +NEW: Add option in PDF for purchase order and quotation to hide prices +NEW: Add option TAKEPOS_HIDE_PRODUCT_PRICES to hide prices in TakePOS +NEW: add order supplier submit notif +NEW: add parent product column on list +NEW: Add picto in product/service list in object lines (#25511) +NEW: Add possibility to choose separator #21426 +NEW: Add preselected update keys attribute to import class and select it by default if filled +NEW: add product barcode on stock exports +NEW: Add recurring behaviour +NEW: add recursive deletion option for child m os (#26102) +NEW: Add refactoring user permission (#26162) +NEW: add sorting of product price list by customer (#26483) +NEW: Add tab Events/Agenda on recurring invoices +NEW: Add the formEditObjectLine hook on commande card and invoice card +NEW: Add the picto phone of thirdparty on the kanban view of projects +NEW: Add the status of partnership to select partnership for emailing +NEW: add Ticket tab on contract +NEW: agenda per user use quarter hour split instead of half hour split +NEW: Allow generation of delivery note through REST-API (#26226) +NEW: Allow sync of currency rates with currency layer by default. +NEW: Allow to have products not managed in stocks - SQL Part (#26190) +NEW: Assign contact to a ticket message (#24735) +NEW: Better protection against reserved words +NEW: billing on shipment+reception. Can be done before or after delivery. +NEW: can edit bomline workstation +NEW: Can edit both the Test and Live stripe customer account on payment +NEW: Can include product variants in list of products +NEW: Can manage ODT documents for groups of users. +NEW: Can modify the picto into modulebuilder +NEW: Can restore product in stock when deleting the supplier invoice +NEW: Can see the favicon file into setup of properties of a website +NEW: Can switch product batch management to no management. (#21691) +NEW: Can upload/delete ODT template for project and tasks +NEW: chart of accounts ES PCG08-PYME-CAT in catalan language +NEW: clone skill object (#26526) +NEW: close notification for interventions +NEW: column in table prelevement_lignes for fk_user (#26196) +NEW: CONF allow modify ticket classification even if closed +NEW: conf to display date entry stock exped and sort in date order (#22625) +NEW: create a product from a free line in a document (#22324) +NEW: customize position in complete_head_from_modules (#26406) +NEW: Date d'entree en stock sur les exped au moment de la création +NEW: Date field for shipment export (#25574) +NEW: Date format dayhoursec is using year on 2 char on smartphones +NEW: Default customer, category and product when enable TakePOS (#25031) +NEW: do not add default value in list +NEW: drop down for action button show a simple button if only 1 action +NEW: Enhance github_commits_perversion to get more stats on git commits +NEW: Enhance IPN to support payment_intent.succeeded for both card/ban +NEW: extrafields password accepts 'dolcrypt' algorithm (reversible algo) +NEW: Factorize a lot of code for numbering modules +NEW: filter on from/to period rather than month/year (#26378) +NEW: FontAwesome - Add possibility to select another version +NEW: Form for add object's property on moduleBuilder +NEW: Can generate SEPA files for salaries (#26541) +NEW: massactions to delete projects +NEW: Generic doc template for donations (#26338) +NEW: Get list evaluation with skills details in user fiche (#26510) +NEW: hidden conf to disable use of dns_get_record (which can become unresponsive) (#26339) +NEW: improved resource data structure +NEW: Include sub warehouse in inventory +NEW: inventory without virtual products (kits) +NEW: Invoice subtypes for customers and vendors (#26233) +NEW: Invoice time from task, make task note better display in invoice line +NEW: lazy load to substitute project variables (#26451) +NEW: LDAP Active Directory UserAccountControl (#25507) +NEW: Library including math and financial functions (#25035) +NEW: Loan - Can upload a file with drag and drop +NEW: Manage rate indirect. (#26449) +NEW: memorize model name for pdf hooks +NEW: Menu editor is reponsive +NEW: Merge the "Create ..." buttons on contract into one. +NEW: More accurate tooltip on what admin permissions are +NEW: (#24834) new option for hide the footer (#25464) +NEW: (#25044) new option for choose project visibility +NEW: new option for hide the footer of tickets on the public interface +NEW: no need to create invoice supplier object on supplier card for standalone credit note +NEW: Option to show label, ref+label or only ref of product in TakePOS +NEW: payment full amount detail tooltip +NEW: possibility to deselect line when create a recurring invoice + missing to use fk_parent_line +NEW: Project - List - use select2 multiselect for status +NEW: Propagate invoice extrafields into template invoice (#26529) +NEW: remove include_subwarehouse form llx_inventory database table +NEW: resource improvements - data structure (#26285) +NEW: Retrieve vat details from the Greek Ministry of Finance GSIS SOAP web service and autocomplete third party fields +NEW: Right for stats orders (#24607) +NEW: rights and check access to create portal accounts +NEW: Row in list higher height (#26177) +NEW: Save date of RUM creation when creating a Stripe SEPA mandate +NEW: shipment can include service (for information and invoicing) (#26407) +NEW: Show id of module on the tooltip module help page +NEW: show VAT free amount on payment input close #26208 (#26209) +NEW: start and end date for due date filter on invoice list +NEW: Sub total in list (#26165) +NEW: Suport html content for combo list of email recipient +NEW: Website: Support of js into the Dolibarr server preview +NEW: TakePOS - add constant to check qty asked is available (#24820) +NEW: TakePOS - add constant to choose contact instead of customer (#24807) +NEW: TakePOS - amount label with or without tax in free product (#24829) +NEW: TakePOS compatibility with lots and serials +NEW: TakePOS compatibility with lots and serials (#26426) +NEW: Tooltips are using ajax by default +NEW: Top menu support picto of modules that are font awesome picto. +NEW: updating by adding massactions for delete projects in societe tab +NEW: updating by adding tooltip for api section in Modulebuilder +NEW: updating by adjust request Sql for Salary invoice (#26279) +NEW: updating for display Help title when try to delete Don (issue #25314) +NEW: Upgrade in module builder in menu section +NEW: use account address in sepa mandate (#23642) +NEW: VAT rate - Add entity +NEW: webportal site account +NEW: When an user unset the batch management of products, transformation of each batch stock mouvement in global stock mouvement + +SEC: #25512 applicative anti bruteforce - security on too many login attempts (#25520) +SEC: Add action confirm_... as sensitive to need a CSRF token +SEC: Disable not used PHP streams + For developers or integrators: ------------------------------ -... +QUAL Reduce very seriously the technical debt (using PHPStan, Psalm and Rector) +NEW Tool in dev/tools/rector to autofix code using style coding practice rules + +PERF: Removed a useless fetch_thirdparty +PERF: Perf avoid 2 useless fetch into the triggers of agenda. +PERF: performance & code quality enhancements template sections + +QUAL: Remove hardcoded code for OVH sms. Generic method is ok now. +QUAL: Code fix using rector +QUAL: Force subclass MINVERSION (#26314) +QUAL: group all flag images into 1 sprite file. (#26459) +QUAL: Move conf->global into getDolGlobal... +QUAL: Refactor merging companies and fix #26272 with Reception objects (#26320) +QUAL: Removed deprecated field remise, remise_percent, remise_absolute +QUAL: Standardize code and look and feel for dictionaries +QUAL: Standardize code. Renamed ID of user properties into ->user_xxx_id +QUAL: Use dol_clone with parameter 2 for ->oldcopy +QUAL: use switch case instead of if elseif statements for actions + +NEW: [Add hook in user bank page] +NEW: #19501 Add two hooks in dolreceiptprinter.php (#26439) +NEW: Accountancy - Add hooks on PrintFieldList for expensereportsjournal, purchasesjournal, sellsjournal +NEW: add a $notrigger param to Product::updatePrice() method (#26404) +NEW: Add a rule to fix empty($conf->global->...) into !getDolGlobal... +NEW: Add column extraparams on societe_rib +NEW: Add hook on selectLotDataList() function (#25368) +NEW: add Hooks and prepare extrafields management for product invoices consumptions (#26280) +NEW: Add hooks on import, step 5 - 6 (#24915) +NEW: add hook tabContentCreateSupplierOrder (#26418) +NEW: add hook tabContentViewSupplierInvoice (#26431) +NEW: add new hook AfterImportInsert +NEW: add new hook OrderCard (#26380) +NEW: add new hook tabContentCreateOrder (#26408) +NEW: Add phpunit for REST API of contacts +NEW: Add triggers COMPANY_RIB_XXX already present in companybankaccount.class.php +NEW: Add triggers on import success +NEW: Add trigger when deleting a bank account line +NEW: subproduct triggers in product class (#25142) +NEW: ModuleBuilder: add section changeLog to Doc in MB +NEW: ModuleBuilder: Add api url to documentation in ModuleBuilder +NEW: ModuleBuilder: Checkin comments begin and end before each actions +NEW: ModuleBuilder: edit properties in description tab for ModuleBuilder +NEW: ModuleBuilder: remove dictionary in ModuleBuilder +NEW: ModuleBuilder: add page for create dictionary +NEW: ModuleBuilder: add badge for each tabs +NEW: ModuleBuilder: for edit name of dictionnary and delete it in MB +NEW: add barcode function to check if EAN13 is valid ( WARNING: +-------- -Following changes may create regressions for some external modules, but were necessary to make Dolibarr better: +The following changes may create regressions for some external modules, but were necessary to make Dolibarr better: * The property ->brouillon has been removed from all classes. It was not reliable and was a duplicate of ->status == self::STATUS_DRAFT. +* The duplicated and deprecated property ->date_livraison that was renamed into ->delivery_date has been completely removed. +* The property ->user_close to store ID of closing user has been renamed into ->user_closing_id. +* The property ->user_validation to store ID of user validating has been renamed into ->user_validation_id. +* The property ->user_creation to store ID of user of creation has been renamed into ->user_creation_id. +* The property ->user_modification to store ID of user of modification has been renamed into ->user_modification_id. +* The duplicate property ->user_creat, ->date_creat, ->date_valid has been removed (use instead user_creation, date_creation, date_validation). * The method get_substitutionarray_shipment_lines() has been removed. Use the generic get_substitutionarray_lines() instead. -* Recheck setup of your module workflow to see if you need to enable the new setting to have shipment set to billed automatically - when an invoice from a shipment is validated (and if your process is to make invoice on shipment and not on order). -* It was possible to use a variable $soc or $right inside a php code condition of some extrafields properties, this is no more true (this vars are no more defined globaly). +* The method ProductcustomerPrice->fetch_all_log() has been renamed into camel case ->fetchAllLog() +* Recheck the setup of your module Workflow to see if you need to enable the new setting to have shipment set to billed automatically when + an invoice from a shipment is validated (and if your process is to make invoice on shipment and not on order), because this setup has changed. +* It was possible to use a variable $soc or $right inside a PHP code condition of some extrafields properties, this is no more true (this 2 variables are no more global variables). +* New hook files of modules actions_mymodule.class.php should now "extends CommonHookActions" +* Endpoint for API /partnershipapi and /recruitment has been renamed into /partnerships and /recruitments to follow name conventions. +* Hidden option ACCOUNTANCY_AUTOFIX_MISSING_LINK_TO_USEr_ON_SALARY_BANK_PAYMENT has been renamed into ACCOUNTANCY_AUTOFIX_MISSING_LINK_TO_USER_ON_SALARY_BANK_PAYMENT + +***** ChangeLog for 18.0.3 compared to 18.0.2 ***** +FIX: #25793 Cannot add time spent (#26405) +FIX: #26100 Ticket - On edit, list of closed project must be excluded (#26223) +FIX: #26170 +FIX: #26195 Various payment - List of project excluded those assigned to third parties (#26222) +FIX: #26349 add_customer_ref_on_linked_shipment +FIX: avoid warning + CSRF +FIX: avoid warning if module not activated +FIX: Bad name for trigger in HRM module +FIX: check tva_tx before comparing price_min_ttc (#25220) +FIX: Compare the result of the send mail file function +FIX: dol_eval with function starting with ! +FIX: Error handling for computed values on import (#24897) +FIX: Error not returned on sales with takepos and batch module enabled +FIX: error of webhook not returned +FIX: firstname and lastname were not saved in attendee subscription +FIX: HTML in ODT templates (#26181) +FIX: Link to list of movement from the inventory code +FIX: Mass import of stock from a file must accept empty source +FIX: Max version of PHP (#26327) +FIX: missing load group members for ldap synchro (#26167) +FIX: missing project entity filter (Issue #26243) (#26247) +FIX: modification of complementary attributes in invoices (#26180) +FIX: On object validation, ecm index are not updated for uploaded files +FIX: Propal's negative quantities +FIX: public subscription page should not display acceptation for public register when it is not enabled (#26354) +FIX: regression on rounding stocks fields on product list +FIX: removed a non expected hidden input field in stockatdate page +FIX: src_object_id and ttype not filed when uploading a file with API. +FIX: suggested end for membership can be before subscription start (#26351) +FIX: Supplier card - VAT Reserve Charge - Undefined function isInEEC() (#26379) +FIX: syntax error +FIX: template invoice list extrafield filters (backport v17) (#26227) +FIX: Tooltip for search syntax must not appear on date fields +FIX: upload of files src_object_type +FIX: use event.key instead event.wich to avoid keyboard difference +FIX: Use of line->insert instead of line->create +FIX: user creation when LDAP is configured (#26332) +FIX: Wrong backtopage given for the stocktransfer button from the stocktransfer list (#26271) + +***** ChangeLog for 18.0.2 compared to 18.0.1 ***** +FIX: 17.0 PHP8: supplier invoice class +FIX: #24908 #25824 +FIX: #25780 Various payment - List - Fatal error on PHP8.x +FIX: #25884 +FIX: #25919 +FIX: #25934 #25929 +FIX: Accountancy - Update Quadra export format +FIX: add field "entity" only in $tabfieldinsert +FIX: add warning in the changelog +FIX: Avoid duplicate popup when popup setup to work as ajax +FIX: avoid excess line breaks +FIX: removed some php8 warning +FIX: avoid wrong backtopage url +FIX: bad check return for sendfile +FIX: Bad choice of filter on product/service +FIX: bad from and to +FIX: Bad length for value +FIX: Bad value of accounting account shown in list. Edit fails. +FIX: batch to update non valid backlink check +FIX: better sql request for all cases +FIX: Can't access to rec supplier invoice card +FIX: Can't delete a fourn commande row if a commande ligne is linked +FIX: could not delete a fourn commande row if a commande ligne is linked +FIX: create intervention from time spend +FIX: customer code search filter on invoice list +FIX: #CVE-2023-4197 +FIX: date comparison for user expiration on user list +FIX: Debug the dispatch page to work on corrupted data +FIX: delete useless condition in massaction_pre +FIX: Edition of line on the list of timespent for all projects +FIX: Edition of shipment detail with lot not updating correctly tables +FIX: emailcollector to search existing thirdparty when extract not found +FIX: Error message +FIX: Expense report is created on the wrong entity +FIX: export FEC +FIX: Filter on partnership status +FIX: fix the wrong position of the hook 'printFieldListTitle' and 'printFieldListValue' in the stock at date page +FIX: If PHPIMAP is active, emailcollector "recordjoinpiece" operation will not work +FIX: include +FIX: Kanban view +FIX: link to create purchase order from sale order +FIX: Look and feel search v18 +FIX: message order in ticket public view is not coherent with tickets events tab +FIX: missing contact_id for the trigger +FIX: missing entity filter to customize ticket dictionaries by entity +FIX: Missing error message on CommandeFourn creation +FIX: missing fk_account situation invoice +FIX: missing group "members" + multiple broken features for Multicompany +FIX: missing 'overwrite_trans' for $addzero (Multicompany) +FIX: modification of complementary attributes in commercial proposals +FIX: multicompany compatibility +FIX: multiple broken features for Multicompany !!!! +FIX: Navigation to/from a project from page of projects of a thirdparty +FIX: payment : language is not propagated to following pages +FIX: Prices visible on TakePOS KO with multiprices support +FIX: product list accounting length +FIX: Quick search Intervention redirect to wrong page +FIX: Return right content type +FIX: right access on salary card and tabs +FIX: rights paymentsc paiementcharge +FIX: same broken feature as v18 (Multicompany) +FIX: Save user modif id when changing a contact status +FIX: Social Contrib - List - Fatal error on kanban view PHP8.x & Missing colspan +FIX: thirdparty object in proposal card is not loaded +FIX: Total of holidays is doubled +FIX: translation button +FIX: trigger for email sent from partnership +FIX: uniformize getEntity sql request +FIX: use urlencode for origin and originid +FIX: Various payment - List - Fatal error on php8.1 +FIX: warning when Workboard Responses display non numeric strings +FIX: wrong place of trigger delete +FIX: wrong test + is_int is better for negative integer ***** ChangeLog for 18.0.1 compared to 18.0.0 ***** @@ -2021,6 +2360,8 @@ Following changes may create regressions for some external modules, but were nec * v14 seems to work correctly on PHP v8 but it generates a lot of verbose warnings. Currently, v14 i snot yet officialy supported with PHP 8. * To execute shell or command line command, your code must never use method like exec, shell_exec, popen, .. but must use the built-in method executeCLI() available into core/class/utils.class.php +* the trigger "*_DELETE_CONTACT" inside "delete_contact()" function from commonobject.class.php is call before delete the object element + and a $object->context['contact_id'] is now available for this trigger ***** ChangeLog for 13.0.5 compared to 13.0.4 ***** diff --git a/README-FR.md b/README-FR.md index 74be3f1754c15..105c2ac6ef980 100644 --- a/README-FR.md +++ b/README-FR.md @@ -70,7 +70,7 @@ Note: *Le processus de migration peut être lancé manuellement et plusieurs foi ## CE QUI EST NOUVEAU -See the [ChangeLog](https://github.com/Dolibarr/dolibarr/blob/develop/ChangeLog) file. +Voir le fichier [ChangeLog](https://github.com/Dolibarr/dolibarr/blob/develop/ChangeLog). ## CE QUE DOLIBARR PEUT FAIRE @@ -88,11 +88,11 @@ See the [ChangeLog](https://github.com/Dolibarr/dolibarr/blob/develop/ChangeLog) - Gestion de contrats de services - Gestion de stock et inventaires - Gestion des expéditions -- Gestion des demandes de congès +- Gestion des demandes de congés - Gestion des notes de frais - Gestion de recrutement - GED (Gestion Electronique de Documents) -- EMailings de masse +- E-Mailings de masse - Réalisation de sondages - Gestion d'adhérents - Point de vente/Caisse enregistreuse @@ -107,17 +107,17 @@ See the [ChangeLog](https://github.com/Dolibarr/dolibarr/blob/develop/ChangeLog) - Support des codes barres - Calcul des marges - Connectivité LDAP -- Intégratn de ClickToDial +- Intégration de ClickToDial - Intégration RSS -- Intégation Skype -- Intégration de système de paiements (Paypal, Stripe, Paybox...) +- Intégration Skype +- Intégration de système de paiements (PayPal, Stripe, Paybox...) - … ### Divers - Multi-langue. - Multi-utilisateurs avec différents niveaux de permissions par module. -- Multi-devise. +- Multidevise. - Peux être multi-société par ajout du module externe multi-société. - Plusieurs thèmes visuels. - Application simple à utiliser. @@ -127,7 +127,7 @@ See the [ChangeLog](https://github.com/Dolibarr/dolibarr/blob/develop/ChangeLog) - Génération PDF et ODT des éléments (factures, propositions commerciales, commandes, bons expéditions, etc...) - Code simple et facilement personnalisable (pas de framework lourd; mécanisme de hook et triggers). - Support natif de nombreuses fonctions spécifiques aux pays comme: - - La tax espagnole TE et ISPF + - La taxe espagnole TE et ISPF - Gestion de la TVA NPR (non perçue récupérable - pour les utilisateurs français des DOM-TOM) - La loi française Finance 2016 et logiciels de caisse - La double taxe canadienne @@ -139,7 +139,7 @@ See the [ChangeLog](https://github.com/Dolibarr/dolibarr/blob/develop/ChangeLog) ### Extension -Dolibarr peut aussi être étendu à volonté avec l'ajout de module/applications externes développées par des développeus tiers, disponible sur [DoliStore](https://www.dolistore.com). +Dolibarr peut aussi être étendu à volonté avec l'ajout de modules/applications externes développées par des développeurs tiers, disponible sur [DoliStore](https://www.dolistore.com). ## CE QUE DOLIBARR NE PEUT PAS (ENCORE) FAIRE @@ -168,15 +168,15 @@ Voir le fichier [COPYRIGHT](https://github.com/Dolibarr/dolibarr/blob/develop/CO ## ACTUALITES ET RESEAUX SOCIAUX -Suivez le projet Dolibarr project sur les réseaux francophones +Suivez le projet Dolibarr sur les réseaux francophones - [Facebook](https://www.facebook.com/dolibarr.fr) -- [Twitter](https://www.twitter.com/dolibarr_france) +- [X](https://www.twitter.com/dolibarr_france) ou sur les réseaux anglophones - [Facebook](https://www.facebook.com/dolibarr) -- [Twitter](https://www.twitter.com/dolibarr) +- [X](https://www.twitter.com/dolibarr) - [LinkedIn](https://www.linkedin.com/company/association-dolibarr) - [YouTube](https://www.youtube.com/user/DolibarrERPCRM) - [GitHub](https://github.com/Dolibarr/dolibarr) diff --git a/README.md b/README.md index 522483d164653..4645176a3f58f 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Dolibarr ERP & CRM is a modern software package that helps manage your organizat It's an Open Source Software suite (written in PHP with optional JavaScript enhancements) designed for small, medium or large companies, foundations and freelancers. -You can freely use, study, modify or distribute it according to its licence. +You can freely use, study, modify or distribute it according to its license. You can use it as a standalone application or as a web application to access it from the Internet or a LAN. @@ -47,9 +47,9 @@ On GNU/Linux, first check if your distribution has already packaged Dolibarr. - Check that your installed PHP version is supported [see PHP support](https://wiki.dolibarr.org/index.php/Releases). -- Uncompress the downloaded .zip archive to copy the "dolibarr/htdocs" directory and all its files inside your web server root or get the files directly from GitHub (recommanded if you know git as it makes it easier if you want to upgrade later): +- Uncompress the downloaded .zip archive to copy the "dolibarr/htdocs" directory and all its files inside your web server root or get the files directly from GitHub (recommended if you know git as it makes it easier if you want to upgrade later): - `git clone https://github.com/dolibarr/dolibarr -b x.y` (where x.y is main version like 3.6, 9.0, ...) + `git clone https://github.com/dolibarr/dolibarr -b x.y` (where x.y is the main version like 3.6, 9.0, ...) - Set up your web server to use "*dolibarr/htdocs*" as root if your web server does not have an already defined directory to point to. @@ -57,7 +57,7 @@ On GNU/Linux, first check if your distribution has already packaged Dolibarr. - From your browser, go to the dolibarr "install/" page - The URL will depends on how you web setup was setup to point to your dolibarr installation. It may looks like: + The URL will depends on how your web setup was set up to point to your dolibarr installation. It may look like: `http://localhost/dolibarr/htdocs/install/` @@ -71,7 +71,7 @@ On GNU/Linux, first check if your distribution has already packaged Dolibarr. - Follow the installer instructions -### Saas/Cloud setup +### SaaS/Cloud setup If you don't have time to install it yourself, you can try some commercial 'ready to use' Cloud offers (See [https://saas.dolibarr.org](https://saas.dolibarr.org)). However, this third solution is not free. @@ -81,7 +81,7 @@ Dolibarr supports upgrading, usually without the need for any (commercial) suppo - At first make a backup of your Dolibarr files & then [see](https://wiki.dolibarr.org/index.php/Installation_-_Upgrade#Upgrade_Dolibarr) - Check that your installed PHP version is supported by the new version [see PHP support](https://wiki.dolibarr.org/index.php/Releases). -- Overwrite all old files from 'dolibarr' directory with files provided into the new version's package. +- Overwrite all old files from the 'dolibarr' directory with files provided into the new version's package. - At first next access, Dolibarr will redirect you to the "install/" page to follow the upgrade process.  If an `install.lock` file exists to lock any other upgrade process, the application will ask you to remove the file manually (you should find the `install.lock` file in the directory used to store generated and uploaded documents, in most cases, it is the directory called "*documents*"). @@ -98,7 +98,7 @@ See the [ChangeLog](https://github.com/Dolibarr/dolibarr/blob/develop/ChangeLog) Product Management -- Products and/or Services catalog +- Products and/or Services catalogue - Stock / Warehouse management + Inventory - Barcodes - Batches / Lots / Serials @@ -124,7 +124,7 @@ See the [ChangeLog](https://github.com/Dolibarr/dolibarr/blob/develop/ChangeLog) - Suppliers/Vendors + Contacts - Supplier (price) requests - Purchase Orders management -- Delivery/Receiption +- Delivery/Reception - Supplier Invoices/credit notes and payment management - INCOTERMS @@ -141,7 +141,7 @@ See the [ChangeLog](https://github.com/Dolibarr/dolibarr/blob/develop/ChangeLog) Collaboration -- Shared calendar/agenda (with ical and vcal import/export for third party tools integration) +- Shared calendar/agenda (with ical and vcal import/export for third-party tools integration) - Projects & Tasks management - Ticket System - Surveys @@ -168,20 +168,20 @@ See the [ChangeLog](https://github.com/Dolibarr/dolibarr/blob/develop/ChangeLog) - Payment platforms integration (PayPal, Stripe, Paybox...) - Email-Collector -(around 100 modules available by default, 1000+ on the addon market place) +(around 100 modules available by default, 1000+ on the addon marketplace) ### Other general features - Multi-Language Support (Localization in most major languages) -- Multi-Users and groups with finely grained rights +- Multi-users and groups with finely-grained rights - Multi-Currency - Multi-Company (by adding of an external module) -- Very user friendly and easy to use +- Very user-friendly and easy to use - Customizable dashboards - Highly customizable: enable only the modules you need, add user personalized fields, choose your skin, several menu managers (can be used by internal users as a back-office with a particular menu, or by external users as a front-office with another one) - APIs (REST, SOAP) - Code that is easy to understand, maintain and develop (PHP with no heavy framework; trigger and hook architecture) -- Support a lot of country specific features: +- Support a lot of country-specific features: - Spanish Tax RE and ISPF - French NPR VAT rate (VAT called "Non Perçue Récupérable" for DOM-TOM) - Canadian double taxes (federal/province) and other countries using cumulative VAT @@ -189,7 +189,7 @@ See the [ChangeLog](https://github.com/Dolibarr/dolibarr/blob/develop/ChangeLog) - Argentina invoice numbering using A,B,C... - ZATCA e-invoicing QR-Code - Compatible with [European directives](https://europa.eu/legislation_summaries/taxation/l31057_en.htm) (2006/112/CE ... 2010/45/UE) - - Compatible with data privacy rules (europe GDPR, ...) + - Compatible with data privacy rules (Europe GDPR, ...) - ... - Flexible PDF & ODT generation for invoices, proposals, orders... - ... @@ -204,7 +204,7 @@ See exact requirements on the [Wiki](https://wiki.dolibarr.org/index.php/Prerequ ### Extending -Dolibarr can be extended with a lot of other external application or modules from third party developers available at the [DoliStore](https://www.dolistore.com). +Dolibarr can be extended with a lot of other external applications or modules from third-party developers available at the [DoliStore](https://www.dolistore.com). ## WHAT DOLIBARR CAN'T DO YET @@ -212,19 +212,19 @@ These are features that Dolibarr does **not** yet fully support: - Tasks dependencies in projects - Payroll module -- No native embedded Webmail, but you can send email to contacts in Dolibarr with e.g. offers, invoices, etc. +- No native embedded Webmail, but you can send emails to contacts in Dolibarr with e.g. offers, invoices, etc. - Dolibarr can't do coffee (yet) ## DOCUMENTATION -Administrator, user, developer and translator's documentations are available along with other community resources in the [Wiki](https://wiki.dolibarr.org). +Administrator, user, developer and translator's documentation are available along with other community resources in the [Wiki](https://wiki.dolibarr.org). ## CONTRIBUTING This project exists thanks to all the people who contribute. -Please read the instructions how to contribute (report a bug/error, a feature request, send code ...) [[Contribute](https://github.com/Dolibarr/dolibarr/blob/develop/.github/CONTRIBUTING.md)] +Please read the instructions on how to contribute (report a bug/error, a feature request, send code ...) [[Contribute](https://github.com/Dolibarr/dolibarr/blob/develop/.github/CONTRIBUTING.md)] -A view on Contributors: +A View on Contributors: [![Dolibarr](https://opencollective.com/dolibarr/contributors.svg?width=890&button=false)](https://github.com/Dolibarr/dolibarr/graphs/contributors) @@ -239,7 +239,7 @@ See [COPYRIGHT](https://github.com/Dolibarr/dolibarr/blob/develop/COPYRIGHT) fil Follow Dolibarr project on: - [Facebook](https://www.facebook.com/dolibarr) -- [Twitter](https://www.twitter.com/dolibarr) +- [X](https://x.com/dolibarr) - [LinkedIn](https://www.linkedin.com/company/association-dolibarr) - [Reddit](https://www.reddit.com/r/Dolibarr_ERP_CRM/) - [YouTube](https://www.youtube.com/user/DolibarrERPCRM) diff --git a/SECURITY.md b/SECURITY.md index a64518800a40f..953059e625ff4 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -20,9 +20,9 @@ We believe that the future of software is online SaaS. This means software are m If you believe you've found a security bug in our service, we are happy to work with you to resolve the issue promptly and ensure you are fairly rewarded for your discovery. -Any type of denial of service attacks is strictly forbidden, as well as any interference with network equipment and Dolibarr infrastructure. +Any type of denial-of-service attack is strictly forbidden, as well as any interference with network equipment and Dolibarr infrastructure. -We recommand to install Dolibarr ERP CRM on your own server (as most Open Source software, download and use is free: [https://www.dolibarr.org/download](https://www.dolibarr.org/download)) to get access on every side of application. +We recommend to install Dolibarr ERP CRM on your own server (as most Open Source software, download and use is free: [https://www.dolibarr.org/download](https://www.dolibarr.org/download)) to get access on every side of application. ### User Agent @@ -30,7 +30,7 @@ If you try to find bug on Dolibarr, we recommend to append to your user-agent he ### Account access -You can install the web application yourself on your own platform/server so you get full access to application and sources. Download the zip of the files to put into your own web server virtual host from [https://www.dolibarr.org/download](https://www.dolibarr.org/download) +You can install the web application yourself on your own platform/server so you get full access to application and sources. Download the zip of the files to put in your own web server virtual host from [https://www.dolibarr.org/download](https://www.dolibarr.org/download) ## Eligibility and Responsible Disclosure @@ -38,7 +38,7 @@ We are happy to thank everyone who submits valid reports which help us improve t You must be the first reporter of the vulnerability (duplicate reports are closed). -You must avoid tests that could cause degradation or interruption of our service (refrain from using automated tools, and limit yourself about requests per second), that's why we recommand to install software on your own platform. +You must avoid tests that could cause degradation or interruption of our service (refrain from using automated tools, and limit yourself about requests per second), that's why we recommend to install software on your own platform. You must not leak, manipulate, or destroy any user data of third parties to find your vulnerability. @@ -48,27 +48,27 @@ Reports are processed around once a month. ONLY vulnerabilities discovered, when the following setup on test platform is used, are "valid": -* The version to analyze must be the last version available into "develop" branch or into last stable "vX.Y" released version. Reports on vulnerabilities already fixed (so already reported) into the develop branch will not be validated. -* $dolibarr_main_prod must be set to 1 into conf.php -* $dolibarr_nocsrfcheck must be kept to the value 0 into conf.php (this is the default value) +* The version to analyze must be the last version available in the "develop" branch or in the last stable "vX.Y" released version. Reports on vulnerabilities already fixed (so already reported) in the develop branch will not be validated. +* $dolibarr_main_prod must be set to 1 in conf.php +* $dolibarr_nocsrfcheck must be kept to the value 0 in conf.php (this is the default value) * $dolibarr_main_force_https must be set to something else than 0. -* The constant MAIN_SECURITY_CSRF_WITH_TOKEN must be set to 3 into backoffice menu Home - Setup - Other (this protection should be set to 3 soon by default). CSRF attacks are accepted but +* The constant MAIN_SECURITY_CSRF_WITH_TOKEN must be set to 3 in the backoffice menu Home - Setup - Other (this protection should be set to 3 soon by default). CSRF attacks are accepted but double check that you have set MAIN_SECURITY_CSRF_WITH_TOKEN to value 3. -* ONLY security reports on modules provided by default and with the "stable" status are valid (troubles into "experimental", "developement" or external modules are not valid vulnerabilities). +* ONLY security reports on modules provided by default and with the "stable" status are valid (troubles in "experimental", "development" or external modules are not valid vulnerabilities). * The root of web server must link to htdocs and the documents directory must be outside of the web server root (this is the default when using the default installer but may differs with external installer). * The web server setup must be done so that only the documents directory is in write mode. The root directory called htdocs must be read-only. * The modules DebugBar and ModuleBuilder must NOT be enabled. (by default, these modules are not enabled. They are developer tools) -* Ability for a high level user to edit web site pages into the CMS by including HTML or Javascript is an expected feature. Vulnerabilities into the website module are validated only if HTML or Javascript injection can be done by a non allowed user. -* Fail2ban rules for rate limit on the login page,password forgotten page, api calls and all public pages (/public/*) must be installed as recommendend into the section "About - Admin tools - Section Access limits and mitigation". +* Ability for a high-level user to edit web site pages in the CMS by including HTML or JavaScript is an expected feature. Vulnerabilities in the website module are validated only if HTML or JavaScript injection can be done by a non-allowed user. +* Fail2ban rules for rate limit on the login page, forgotten password page, API calls and all public pages (/public/*) must be installed as recommended in the section "About - Admin tools - Section Access limits and mitigation". -Scope is the web application (back office) and the APIs. +Scope is the web application (backoffice) and the APIs. ## Examples of vulnerabilities that are Qualified for reporting. * Remote code execution (RCE) * Local files access and manipulation (LFI, RFI, XXE, SSRF, XSPA) * Code injections (JS, SQL, PHP). HTML are covered only for fields that are not description, notes or comments fields (where rich content is allowed on purpose). -* Cross-Site Scripting (XSS), except from setup page of module "External web site" (allowing any content here, editable by admin user only, is accepted on purpose) and except into module "Web site" when permission to edit website content is allowed (injecting any data in this case is allowed too). +* Cross-Site Scripting (XSS), except from setup page of module "External web site" (allowing any content here, editable by admin user only, is accepted on purpose) and except in the module "Web site" when permission to edit website content is allowed (injecting any data in this case is allowed too). * Cross-Site Requests Forgery (CSRF) with real security impact (when using GET URLs, CSRF are qualified only for creating, updating or deleting data from pages restricted to admin users) * Open redirect * Broken authentication & session management @@ -76,8 +76,8 @@ Scope is the web application (back office) and the APIs. * Cross-Origin Resource Sharing (CORS) with real security impact * Horizontal and vertical privilege escalation * "HTTP Host Header" XSS -* Software version disclosure (for non admin users only) -* Stack traces or path disclosure (for non admin users only) +* Software version disclosure (for non-admin users only) +* Stack traces or path disclosure (for non-admin users only) ## Examples of vulnerabilities that are Non-qualified for reporting. @@ -95,5 +95,5 @@ Scope is the web application (back office) and the APIs. * Reports on features flagged as "experimental" or "development" * Software version or private IP disclosure when logged-in user is admin * Stack traces or path disclosure when logged-in user is admin -* Any vulnerabilities due to a configuration different than the one defined into chapter "Scope for qualified vulnerabilities". +* Any vulnerabilities due to a configuration different than the one defined in chapter "Scope for qualified vulnerabilities". * Brute force attacks on login page, password forgotten page or any public pages (/public/*) are not qualified if the fail2ban recommended fail2ban rules were not installed. diff --git a/build/docker/README.md b/build/docker/README.md index fbf9b05851ca4..6daf6d6bd5c13 100644 --- a/build/docker/README.md +++ b/build/docker/README.md @@ -1,7 +1,7 @@ # How to use it ? The docker-compose.yml file is a sample of a config file to use to build and run Dolibarr in the current workspace with Docker. -This docker image is intended for developpement usage. +This docker image is intended for development usage. For production usage you should consider other contributor reference like https://hub.docker.com/r/tuxgasy/dolibarr Before build/run, define the variable HOST_USER_ID as following: diff --git a/build/exe/doliwamp/php.ini.install b/build/exe/doliwamp/php.ini.install index 78903a8a53a20..cae5269f52e1a 100644 --- a/build/exe/doliwamp/php.ini.install +++ b/build/exe/doliwamp/php.ini.install @@ -251,7 +251,7 @@ safe_mode_protected_env_vars = LD_LIBRARY_PATH ; and below. This directive makes most sense if used in a per-directory ; or per-virtualhost web server configuration file. This directive is ; *NOT* affected by whether Safe Mode is turned On or Off. -open_basedir = "WAMPROOT" +open_basedir = "WAMPROOT;C:\WINDOWS\TEMP" ; This directive allows you to disable certain functions for security reasons. ; It receives a comma-delimited list of function names. This directive is diff --git a/build/phpstan/README b/build/phpstan/README index 097aac0d3c4d0..9df049e552632 100644 --- a/build/phpstan/README +++ b/build/phpstan/README @@ -5,15 +5,16 @@ PHPStan requires PHP >= 7.1 Config File is: ./phpstan.neon -Install phpstan: -cd git; mkdir phpstan +In dolibarr/build/phpstan +mkdir phpstan cd phpstan composer require --dev phpstan/phpstan Build report from CLI: -cd git/dolibarr; mv htdocs/custom /tmp/ -php ../phpstan/htdocs/includes/bin/phpstan -v analyze -a build/phpstan/bootstrap.php --memory-limit 4G --error-format=table htdocs/commande/class -php ../phpstan/htdocs/includes/bin/phpstan -v analyze -a build/phpstan/bootstrap.php --memory-limit 4G --error-format=table +In dolibarr/ +mv htdocs/custom /tmp/ +php build/phpstan/phpstan/vendor/bin/phpstan -v analyze -c ./phpstan.neon -a build/phpstan/bootstrap.php --memory-limit 4G --error-format=table htdocs/commande/class +php build/phpstan/phpstan/vendor/bin/phpstan -v analyze -c ./phpstan.neon -a build/phpstan/bootstrap.php --memory-limit 4G --error-format=table htdocs/ mv /tmp/custom htdocs Build HTML report from Cron: diff --git a/build/rector/README b/build/rector/README deleted file mode 100644 index 7e8bd115682dd..0000000000000 --- a/build/rector/README +++ /dev/null @@ -1,8 +0,0 @@ -How to use Rector to fix code ------------------------------ - -First, move rector.php file into htdocs - -Then install rector. - -Then ... \ No newline at end of file diff --git a/build/rector/rector.php b/build/rector/rector.php deleted file mode 100644 index 987cba2ce17fa..0000000000000 --- a/build/rector/rector.php +++ /dev/null @@ -1,99 +0,0 @@ -paths([ - __DIR__ . '/accountancy', - /* __DIR__ . '/adherents', - __DIR__ . '/admin', - __DIR__ . '/api', - __DIR__ . '/asset', - __DIR__ . '/asterisk', - __DIR__ . '/barcode', - __DIR__ . '/blockedlog', - __DIR__ . '/bom', - __DIR__ . '/bookcal', - __DIR__ . '/bookmarks', - __DIR__ . '/categories', - __DIR__ . '/collab', - __DIR__ . '/comm', - __DIR__ . '/commande', - __DIR__ . '/compta', - __DIR__ . '/conf', - __DIR__ . '/contact', - __DIR__ . '/contrat', - __DIR__ . '/core', - __DIR__ . '/cron', - __DIR__ . '/custom', - __DIR__ . '/datapolicy', - __DIR__ . '/dav', - __DIR__ . '/debugbar', - __DIR__ . '/delivery', - __DIR__ . '/don', - __DIR__ . '/ecm', - __DIR__ . '/emailcollector', - __DIR__ . '/eventorganization', - __DIR__ . '/expedition', - __DIR__ . '/expensereport', - __DIR__ . '/exports', - __DIR__ . '/externalsite', - __DIR__ . '/fichinter', - __DIR__ . '/fourn', - __DIR__ . '/ftp', - __DIR__ . '/holiday', - __DIR__ . '/hrm', - __DIR__ . '/imports', - __DIR__ . '/install', - __DIR__ . '/intracommreport', - __DIR__ . '/knowledgemanagement', - __DIR__ . '/loan', - __DIR__ . '/mailmanspip', - __DIR__ . '/margin', - __DIR__ . '/mrp', - __DIR__ . '/multicurrency', - __DIR__ . '/opensurvey', - __DIR__ . '/partnership', - __DIR__ . '/paybox', - __DIR__ . '/paypal', - __DIR__ . '/printing', - __DIR__ . '/product', - __DIR__ . '/projet', - __DIR__ . '/public', - __DIR__ . '/reception', - __DIR__ . '/recruitment', - __DIR__ . '/resource', - __DIR__ . '/salaries', - __DIR__ . '/societe', - __DIR__ . '/stripe', - __DIR__ . '/supplier_proposal', - __DIR__ . '/support', - __DIR__ . '/takepos', - __DIR__ . '/theme', - __DIR__ . '/ticket', - __DIR__ . '/user', - __DIR__ . '/webhook', - __DIR__ . '/webservices', - __DIR__ . '/website', - __DIR__ . '/workstation', - __DIR__ . '/zapier',*/ - ]); - - // register a single rule - $rectorConfig->rule(InlineConstructorDefaultToPropertyRector::class); - - // define sets of rules - $rectorConfig->sets([ - //LevelSetList::UP_TO_PHP_81, - SetList::CODE_QUALITY, - SetList::CODING_STYLE, - SetList::DEAD_CODE, - SetList::EARLY_RETURN, - SetList::NAMING - ]); -}; diff --git a/dev/.gitignore b/dev/.gitignore index eaecc7e3425e8..65c707c2dce40 100644 --- a/dev/.gitignore +++ b/dev/.gitignore @@ -1 +1,2 @@ /spec +/tools/rector/vendor/ diff --git a/dev/dolibarr_changes.txt b/dev/dolibarr_changes.txt index 89d87a4ab14a2..8305dbefbd961 100644 --- a/dev/dolibarr_changes.txt +++ b/dev/dolibarr_changes.txt @@ -18,7 +18,7 @@ With -CKEDITOR (4.6.2): +CKEDITOR (4.22.1): ----------------- * In ckeditor/ckeditor/contents.css Replace: @@ -26,7 +26,12 @@ Replace: With body { ... margin: 5px; - +* In ckeditor/ckeditor/ckeditor.js +Replace: + d.items&& +With + d&&d.items&& + ESCPOS: ------- diff --git a/dev/examples/code/create_invoice.php b/dev/examples/code/create_invoice.php index 1d231a7fd7a11..0278f0c3bef3c 100755 --- a/dev/examples/code/create_invoice.php +++ b/dev/examples/code/create_invoice.php @@ -40,7 +40,7 @@ // -------------------- START OF YOUR CODE HERE -------------------- // Include Dolibarr environment -require_once $path."../../htdocs/master.inc.php"; +require_once $path."../../../htdocs/master.inc.php"; // After this $db, $mysoc, $langs and $conf->entity are defined. Opened handler to database will be closed at end of file. //$langs->setDefaultLang('en_US'); // To change default language of $langs diff --git a/dev/examples/code/create_order.php b/dev/examples/code/create_order.php index a851ac3cbc569..6d43e3231915b 100755 --- a/dev/examples/code/create_order.php +++ b/dev/examples/code/create_order.php @@ -40,7 +40,7 @@ // -------------------- START OF YOUR CODE HERE -------------------- // Include Dolibarr environment -require_once $path."../../htdocs/master.inc.php"; +require_once $path."../../../htdocs/master.inc.php"; // After this $db, $mysoc, $langs and $conf->entity are defined. Opened handler to database will be closed at end of file. //$langs->setDefaultLang('en_US'); // To change default language of $langs diff --git a/dev/examples/code/create_product.php b/dev/examples/code/create_product.php index 8f742065f2f7b..e3c8c3c9d7612 100755 --- a/dev/examples/code/create_product.php +++ b/dev/examples/code/create_product.php @@ -40,7 +40,7 @@ // -------------------- START OF YOUR CODE HERE -------------------- // Include Dolibarr environment -require_once $path."../../htdocs/master.inc.php"; +require_once $path."../../../htdocs/master.inc.php"; // After this $db, $mysoc, $langs and $conf->entity are defined. Opened handler to database will be closed at end of file. //$langs->setDefaultLang('en_US'); // To change default language of $langs diff --git a/dev/examples/code/create_user.php b/dev/examples/code/create_user.php index e374fec531d0e..fb24c6aa39aed 100755 --- a/dev/examples/code/create_user.php +++ b/dev/examples/code/create_user.php @@ -40,7 +40,7 @@ // -------------------- START OF YOUR CODE HERE -------------------- // Include Dolibarr environment -require_once $path."../../htdocs/master.inc.php"; +require_once $path."../../../htdocs/master.inc.php"; // After this $db, $mysoc, $langs and $conf->entity are defined. Opened handler to database will be closed at end of file. //$langs->setDefaultLang('en_US'); // To change default language of $langs diff --git a/dev/examples/code/get_contracts.php b/dev/examples/code/get_contracts.php index 40bee133d1180..1b30e6b2e17c0 100755 --- a/dev/examples/code/get_contracts.php +++ b/dev/examples/code/get_contracts.php @@ -40,7 +40,7 @@ // -------------------- START OF YOUR CODE HERE -------------------- // Include Dolibarr environment -require_once $path."../../htdocs/master.inc.php"; +require_once $path."../../../htdocs/master.inc.php"; // After this $db, $mysoc, $langs and $conf->entity are defined. Opened handler to database will be closed at end of file. //$langs->setDefaultLang('en_US'); // To change default language of $langs diff --git a/dev/initdata/generate-invoice.php b/dev/initdata/generate-invoice.php index 4837e5352c7f9..074d85c65618f 100755 --- a/dev/initdata/generate-invoice.php +++ b/dev/initdata/generate-invoice.php @@ -45,7 +45,7 @@ * Parameters */ -define(GEN_NUMBER_FACTURE, 1); +define('GEN_NUMBER_FACTURE', $argv[1] ?? 1); $year = 2016; $dates = array (mktime(12, 0, 0, 1, 3, $year), mktime(12, 0, 0, 1, 9, $year), diff --git a/dev/initdata/generate-order.php b/dev/initdata/generate-order.php index 2c939f8e1d285..c5eb294252cfb 100755 --- a/dev/initdata/generate-order.php +++ b/dev/initdata/generate-order.php @@ -51,7 +51,7 @@ * Parametre */ -define(GEN_NUMBER_COMMANDE, 10); +define('GEN_NUMBER_COMMANDE', $argv[1] ?? 10); $year = 2016; $dates = array (mktime(12, 0, 0, 1, 3, $year), mktime(12, 0, 0, 1, 9, $year), diff --git a/dev/initdata/generate-product.php b/dev/initdata/generate-product.php index ea40710824c37..48accbaa43860 100755 --- a/dev/initdata/generate-product.php +++ b/dev/initdata/generate-product.php @@ -50,7 +50,7 @@ * Parameters */ -define(GEN_NUMBER_PRODUIT, 100000); +define('GEN_NUMBER_PRODUIT', $argv[1] ?? 100); $ret=$user->fetch('', 'admin'); diff --git a/dev/initdata/generate-proposal.php b/dev/initdata/generate-proposal.php index 8af71d441a16b..c3553671552b7 100755 --- a/dev/initdata/generate-proposal.php +++ b/dev/initdata/generate-proposal.php @@ -47,7 +47,7 @@ * Parameters */ -define(GEN_NUMBER_PROPAL, 10); +define('GEN_NUMBER_PROPAL', $argv[1] ?? 10); $year = 2016; $dates = array (mktime(12, 0, 0, 1, 3, $year), mktime(12, 0, 0, 1, 9, $year), @@ -152,8 +152,8 @@ $user->rights->propal->propal_advance->validate=1; -if (!empty($conf->global->PROPALE_ADDON) && is_readable(DOL_DOCUMENT_ROOT ."/core/modules/propale/".$conf->global->PROPALE_ADDON.".php")) { - require_once DOL_DOCUMENT_ROOT ."/core/modules/propale/".$conf->global->PROPALE_ADDON.".php"; +if (!empty($conf->global->PROPALE_ADDON) && is_readable(DOL_DOCUMENT_ROOT ."/core/modules/propale/" . getDolGlobalString('PROPALE_ADDON').".php")) { + require_once DOL_DOCUMENT_ROOT ."/core/modules/propale/" . getDolGlobalString('PROPALE_ADDON').".php"; } $i=0; diff --git a/dev/initdata/generate-thirdparty.php b/dev/initdata/generate-thirdparty.php index f60f34ac1683d..187b02ef8e139 100755 --- a/dev/initdata/generate-thirdparty.php +++ b/dev/initdata/generate-thirdparty.php @@ -53,7 +53,7 @@ * Parametre */ -define(GEN_NUMBER_SOCIETE, 10); +define('GEN_NUMBER_SOCIETE', $argv[1] ?? 10); $ret=$user->fetch('', 'admin'); @@ -122,7 +122,7 @@ } print "> client=".$soc->client.", fournisseur=".$soc->fournisseur.", remise=".$soc->remise_percent."\n"; $soc->note_private = 'Company created by the script generate-societe.php'; - $socid = $soc->create(); + $socid = $soc->create($user); if ($socid >= 0) { $rand = mt_rand(1, 4); diff --git a/dev/initdemo/initdemopassword.sh b/dev/initdemo/initdemopassword.sh index a67dec61785f5..bcf2b14887eb6 100755 --- a/dev/initdemo/initdemopassword.sh +++ b/dev/initdemo/initdemopassword.sh @@ -171,6 +171,7 @@ fi if [ -s "$mydir/initdemopostsql.sql" ]; then echo A file initdemopostsql.sql was found, we execute it. + echo "mysql -P$port $base < \"$mydir/initdemopostsql.sql\"" mysql -P$port $base < "$mydir/initdemopostsql.sql" else echo No file initdemopostsql.sql found, so no extra sql action done. diff --git a/dev/initdemo/mysqldump_dolibarr_18.0.0.sql b/dev/initdemo/mysqldump_dolibarr_18.0.0.sql index 4e8451e9a5471..4d79839cba768 100644 --- a/dev/initdemo/mysqldump_dolibarr_18.0.0.sql +++ b/dev/initdemo/mysqldump_dolibarr_18.0.0.sql @@ -1793,7 +1793,7 @@ CREATE TABLE `llx_c_email_templates` ( LOCK TABLES `llx_c_email_templates` WRITE; /*!40000 ALTER TABLE `llx_c_email_templates` DISABLE KEYS */; -INSERT INTO `llx_c_email_templates` VALUES (1,1,NULL,'propal_send','',1,NULL,NULL,'2018-01-19 11:17:48','My Private email template for proposals',1,1,'Hello __FIRSTNAME__','We wish you a happy new year
__USER_SIGNATURE__',NULL,'1','1',NULL,NULL,NULL,NULL,0),(2,0,'adherent','member','',0,NULL,NULL,'2018-01-19 11:17:48','(SendAnEMailToMember)',1,1,'__(CardContent)__','__(Hello)__,

\n\n__(ThisIsContentOfYourCard)__
\n__(ID)__ : __ID__
\n__(Civiliyty)__ : __MEMBER_CIVILITY__
\n__(Firstname)__ : __MEMBER_FIRSTNAME__
\n__(Lastname)__ : __MEMBER_LASTNAME__
\n__(Fullname)__ : __MEMBER_FULLNAME__
\n__(Company)__ : __MEMBER_COMPANY__
\n__(Address)__ : __MEMBER_ADDRESS__
\n__(Zip)__ : __MEMBER_ZIP__
\n__(Town)__ : __MEMBER_TOWN__
\n__(Country)__ : __MEMBER_COUNTRY__
\n__(Email)__ : __MEMBER_EMAIL__
\n__(Birthday)__ : __MEMBER_BIRTH__
\n__(Photo)__ : __MEMBER_PHOTO__
\n__(Login)__ : __MEMBER_LOGIN__
\n__(Password)__ : __MEMBER_PASSWORD__
\n__(Phone)__ : __MEMBER_PHONE__
\n__(PhonePerso)__ : __MEMBER_PHONEPRO__
\n__(PhoneMobile)__ : __MEMBER_PHONEMOBILE__

\n__(Sincerely)__
__USER_SIGNATURE__',NULL,'1','1',NULL,NULL,NULL,NULL,0),(3,0,'banque','thirdparty','',0,NULL,NULL,'2018-01-19 11:17:48','(YourSEPAMandate)',1,0,'__(YourSEPAMandate)__','__(Hello)__,

\n\n__(FindYourSEPAMandate)__ :
\n__MYCOMPANY_NAME__
\n__MYCOMPANY_FULLADDRESS__

\n__(Sincerely)__
\n__USER_SIGNATURE__',NULL,'1','1',NULL,NULL,NULL,NULL,0),(6,0,'adherent','member','',0,NULL,NULL,'2018-11-23 11:56:08','(SendingEmailOnAutoSubscription)',10,1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(YourMembershipRequestWasReceived)__','__(Hello)__ __MEMBER_FULLNAME__,

\n\n__(ThisIsContentOfYourMembershipRequestWasReceived)__
\n
__ONLINE_PAYMENT_TEXT_AND_URL__
\n

\n__(Sincerely)__
__USER_SIGNATURE__',NULL,'1','0',NULL,NULL,NULL,NULL,0),(7,0,'adherent','member','',0,NULL,NULL,'2018-11-23 11:56:08','(SendingEmailOnMemberValidation)',20,1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(YourMembershipWasValidated)__','__(Hello)__ __MEMBER_FULLNAME__,

\n\n__(ThisIsContentOfYourMembershipWasValidated)__
\n
__ONLINE_PAYMENT_TEXT_AND_URL__
\n

\n__(Sincerely)__
__USER_SIGNATURE__',NULL,'1','0',NULL,NULL,NULL,NULL,0),(8,0,'adherent','member','',0,NULL,NULL,'2018-11-23 11:56:08','(SendingEmailOnNewSubscription)',30,1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(YourSubscriptionWasRecorded)__','__(Hello)__ __MEMBER_FULLNAME__,

\n\n__(ThisIsContentOfYourSubscriptionWasRecorded)__
\n\n

\n__(Sincerely)__
__USER_SIGNATURE__',NULL,'1','1',NULL,NULL,NULL,NULL,0),(9,0,'adherent','member','',0,NULL,NULL,'2018-11-23 11:56:08','(SendingReminderForExpiredSubscription)',40,1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(SubscriptionReminderEmail)__','__(Hello)__ __MEMBER_FULLNAME__,

\n\n__(ThisIsContentOfSubscriptionReminderEmail)__
\n
__ONLINE_PAYMENT_TEXT_AND_URL__
\n

\n__(Sincerely)__
__USER_SIGNATURE__',NULL,'1','0',NULL,NULL,NULL,NULL,0),(10,0,'adherent','member','',0,NULL,NULL,'2018-11-23 11:56:08','(SendingEmailOnCancelation)',50,1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(YourMembershipWasCanceled)__','__(Hello)__ __MEMBER_FULLNAME__,

\n\n__(YourMembershipWasCanceled)__
\n

\n__(Sincerely)__
__USER_SIGNATURE__',NULL,'1','0',NULL,NULL,NULL,NULL,0),(11,0,'adherent','member','',0,NULL,NULL,'2018-11-23 11:56:08','(SendingAnEMailToMember)',60,1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(CardContent)__','__(Hello)__,

\n\n__(ThisIsContentOfYourCard)__
\n__(ID)__ : __ID__
\n__(Civiliyty)__ : __MEMBER_CIVILITY__
\n__(Firstname)__ : __MEMBER_FIRSTNAME__
\n__(Lastname)__ : __MEMBER_LASTNAME__
\n__(Fullname)__ : __MEMBER_FULLNAME__
\n__(Company)__ : __MEMBER_COMPANY__
\n__(Address)__ : __MEMBER_ADDRESS__
\n__(Zip)__ : __MEMBER_ZIP__
\n__(Town)__ : __MEMBER_TOWN__
\n__(Country)__ : __MEMBER_COUNTRY__
\n__(Email)__ : __MEMBER_EMAIL__
\n__(Birthday)__ : __MEMBER_BIRTH__
\n__(Photo)__ : __MEMBER_PHOTO__
\n__(Login)__ : __MEMBER_LOGIN__
\n__(Password)__ : __MEMBER_PASSWORD__
\n__(Phone)__ : __MEMBER_PHONE__
\n__(PhonePerso)__ : __MEMBER_PHONEPRO__
\n__(PhoneMobile)__ : __MEMBER_PHONEMOBILE__

\n__(Sincerely)__
__USER_SIGNATURE__',NULL,'1','0',NULL,NULL,NULL,NULL,0),(12,0,'recruitment','recruitmentcandidature_send','',0,NULL,NULL,'2020-12-10 12:24:39','(AnswerCandidature)',100,1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(YourCandidature)__','__(Hello)__ __CANDIDATE_FULLNAME__,

\n\n__(YourCandidatureAnswer)__
\n

\n__(Sincerely)__
__USER_SIGNATURE__',NULL,'$conf->recruitment->enabled','0',NULL,NULL,NULL,NULL,0),(14,0,'','eventorganization_send','',0,NULL,NULL,'2021-02-14 13:42:41','EventOrganizationEmailAskConf',10,1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(EventOrganizationEmailAskConf)__','__(Hello)__ __THIRDPARTY_NAME__,

__(ThisIsContentOfYourOrganizationEventConfRequestWasReceived)__

__ONLINE_PAYMENT_TEXT_AND_URL__


__(Sincerely)__
__USER_SIGNATURE__',NULL,'1',NULL,NULL,NULL,NULL,NULL,0),(15,0,'','eventorganization_send','',0,NULL,NULL,'2021-02-14 13:42:41','EventOrganizationEmailAskBooth',20,1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(EventOrganizationEmailAskBooth)__','__(Hello)__ __THIRDPARTY_NAME__,

__(ThisIsContentOfYourOrganizationEventBoothRequestWasReceived)__

__ONLINE_PAYMENT_TEXT_AND_URL__


__(Sincerely)__
__USER_SIGNATURE__',NULL,'1',NULL,NULL,NULL,NULL,NULL,0),(16,0,'','eventorganization_send','',0,NULL,NULL,'2021-02-14 13:42:41','EventOrganizationEmailSubsBooth',30,1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(EventOrganizationEmailSubsBooth)__','__(Hello)__ __THIRDPARTY_NAME__,

__(ThisIsContentOfYourOrganizationEventBoothSubscriptionWasReceived)__

__ONLINE_PAYMENT_TEXT_AND_URL__


__(Sincerely)__
__USER_SIGNATURE__',NULL,'1',NULL,NULL,NULL,NULL,NULL,0),(17,0,'','eventorganization_send','',0,NULL,NULL,'2021-02-14 13:42:41','EventOrganizationEmailSubsEvent',40,1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(EventOrganizationEmailSubsEvent)__','__(Hello)__ __THIRDPARTY_NAME__,

__(ThisIsContentOfYourOrganizationEventEventSubscriptionWasReceived)__

__ONLINE_PAYMENT_TEXT_AND_URL__


__(Sincerely)__
__USER_SIGNATURE__',NULL,'1',NULL,NULL,NULL,NULL,NULL,0),(18,0,'','eventorganization_send','',0,NULL,NULL,'2021-02-14 13:42:41','EventOrganizationMassEmailAttendees',50,1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(EventOrganizationMassEmailAttendees)__','__(Hello)__ __THIRDPARTY_NAME__,

__(ThisIsContentOfYourOrganizationEventBulkMailToAttendees)__

__(Sincerely)__
__USER_SIGNATURE__',NULL,'1',NULL,NULL,NULL,NULL,NULL,0),(19,0,'','eventorganization_send','',0,NULL,NULL,'2021-02-14 13:42:41','EventOrganizationMassEmailSpeakers',60,1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(EventOrganizationMassEmailSpeakers)__','__(Hello)__ __THIRDPARTY_NAME__,

__(ThisIsContentOfYourOrganizationEventBulkMailToSpeakers)__

__(Sincerely)__
__USER_SIGNATURE__',NULL,'1',NULL,NULL,NULL,NULL,NULL,0),(20,0,'partnership','member',NULL,0,NULL,NULL,'2021-04-15 10:22:55','(AlertStatusPartnershipExpiration)',100,1,'[__[MAIN_INFO_SOCIETE_NOM]__] - __(YourMembershipWillSoonExpireTopic)__','\n

Dear __MEMBER_FULLNAME__,

\n__(YourMembershipWillSoonExpireContent)__

\n
\n\n __(Sincerely)__
\n __[PARTNERSHIP_SOCIETE_NOM]__
\n \n',NULL,'1','0',NULL,NULL,NULL,NULL,0),(27,0,'partnership','partnership_send','',0,NULL,NULL,'2021-07-11 17:49:44','(SendingEmailOnPartnershipWillSoonBeCanceled)',100,1,'[__[MAIN_INFO_SOCIETE_NOM]__] - __(YourPartnershipWillSoonBeCanceledTopic)__','\n

Hello,

\n__(YourPartnershipWillSoonBeCanceledContent)__

\n
\n\n
\n\n __(Sincerely)__
\n __[MAIN_INFO_SOCIETE_NOM]__
\n \n',NULL,'1','0',NULL,NULL,NULL,NULL,0),(28,0,'partnership','partnership_send','',0,NULL,NULL,'2021-07-11 17:49:44','(SendingEmailOnPartnershipCanceled)',100,1,'[__[MAIN_INFO_SOCIETE_NOM]__] - __(YourPartnershipCanceledTopic)__','\n

Hello,

\n__(YourPartnershipCanceledContent)__

\n
\n\n
\n\n __(Sincerely)__
\n __[MAIN_INFO_SOCIETE_NOM]__
\n \n',NULL,'1','0',NULL,NULL,NULL,NULL,0),(29,0,'partnership','partnership_send','',0,NULL,NULL,'2021-07-11 17:49:44','(SendingEmailOnPartnershipRefused)',100,1,'[__[MAIN_INFO_SOCIETE_NOM]__] - __(YourPartnershipRefusedTopic)__','\n

Hello,

\n__(YourPartnershipRefusedContent)__

\n
\n\n
\n\n __(Sincerely)__
\n __[MAIN_INFO_SOCIETE_NOM]__
\n \n',NULL,'1','0',NULL,NULL,NULL,NULL,0),(30,0,'partnership','partnership_send','',0,NULL,NULL,'2021-07-11 17:49:44','(SendingEmailOnPartnershipAccepted)',100,1,'[__[MAIN_INFO_SOCIETE_NOM]__] - __(YourPartnershipAcceptedTopic)__','\n

Hello,

\n__(YourPartnershipAcceptedContent)__

\n
\n\n
\n\n __(Sincerely)__
\n __[MAIN_INFO_SOCIETE_NOM]__
\n \n',NULL,'1','0',NULL,NULL,NULL,NULL,0),(31,0,'','conferenceorbooth','',0,NULL,NULL,'2022-02-07 13:38:10','(EventOrganizationEmailAskConf)',10,1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(EventOrganizationEmailAskConf)__','__(Hello)__,

__(OrganizationEventConfRequestWasReceived)__


__(Sincerely)__
__USER_SIGNATURE__',NULL,'1',NULL,NULL,NULL,NULL,NULL,0),(32,0,'','conferenceorbooth','',0,NULL,NULL,'2022-02-07 13:38:10','(EventOrganizationEmailAskBooth)',20,1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(EventOrganizationEmailAskBooth)__','__(Hello)__,

__(OrganizationEventBoothRequestWasReceived)__


__(Sincerely)__
__USER_SIGNATURE__',NULL,'1',NULL,NULL,NULL,NULL,NULL,0),(33,0,'','conferenceorbooth','',0,NULL,NULL,'2022-02-07 13:38:10','(EventOrganizationEmailBoothPayment)',30,1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(EventOrganizationEmailBoothPayment)__','__(Hello)__,

__(OrganizationEventPaymentOfBoothWasReceived)__


__(Sincerely)__
__USER_SIGNATURE__',NULL,'1',NULL,NULL,NULL,NULL,NULL,0),(34,0,'','conferenceorbooth','',0,NULL,NULL,'2022-02-07 13:38:10','(EventOrganizationEmailRegistrationPayment)',40,1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(EventOrganizationEmailRegistrationPayment)__','__(Hello)__,

__(OrganizationEventPaymentOfRegistrationWasReceived)__

__(Sincerely)__
__USER_SIGNATURE__',NULL,'1',NULL,NULL,NULL,NULL,NULL,0),(35,0,'','conferenceorbooth','',0,NULL,NULL,'2022-02-07 13:38:10','(EventOrganizationMassEmailAttendees)',50,1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(EventOrganizationMassEmailAttendees)__','__(Hello)__,

__(OrganizationEventBulkMailToAttendees)__

__(Sincerely)__
__USER_SIGNATURE__',NULL,'1',NULL,NULL,NULL,NULL,NULL,0),(36,0,'','conferenceorbooth','',0,NULL,NULL,'2022-02-07 13:38:10','(EventOrganizationMassEmailSpeakers)',60,1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(EventOrganizationMassEmailSpeakers)__','__(Hello)__,

__(OrganizationEventBulkMailToSpeakers)__

__(Sincerely)__
__USER_SIGNATURE__',NULL,'1',NULL,NULL,NULL,NULL,NULL,0),(37,1,'sellyoursaas','thirdparty',NULL,0,NULL,NULL,'2023-01-19 12:20:13','(PasswordAssistance)',100,1,'[__[SELLYOURSAAS_NAME]__] - __(SubjectNewPasswordForYouCustomerDashboard)__','\n

\n__(Hello)__,

\n__(RequestToResetPasswordReceived)__

__(YouMustClickToChange)__

__URL_TO_RESET__

__(ApplicantIpAddress)__: __USER_REMOTE_IP__
__(ForgetIfNothing)__

\n__(Sincerely)__,

\n-----------------------------------------
The __[SELLYOURSAAS_NAME]__ Team
\nEMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n',NULL,'1','0',NULL,NULL,NULL,NULL,0),(38,1,'sellyoursaas','thirdparty',NULL,0,NULL,NULL,'2023-01-19 12:20:13','(ChannelPartnerCreated)',100,1,'[__[SELLYOURSAAS_NAME]__] - Channel Partner Created','\n

Dear __[SELLYOURSAAS_NAME]__ partner,

\nWe are delighted to welcome you as a Channel Partner of __[SELLYOURSAAS_NAME]__.\n

\n

\n Your account has been setup for you. Features for reselling __[SELLYOURSAAS_NAME]__ are now available in the same dashboard as your customer dashboard, so:\n

\n \n

\n Sincerely,
\n The __[SELLYOURSAAS_NAME]__ Team
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(39,1,'sellyoursaas','contract',NULL,0,NULL,NULL,'2023-01-19 12:20:13','InstanceDeployed',100,1,'Welcome to __[SELLYOURSAAS_NAME]__ - Your instance __REFCLIENT__ is ready','\n

Welcome,

\nWe are delighted to welcome you as a user of __[SELLYOURSAAS_NAME]__, the Ondemand service of your __PACKAGELABEL__.\n
\n Your application is installed, setup and ready for you.\n Here are the details you need to get started:\n \n

Your __PACKAGELABEL__ :\n

\n
Your customer dashboard :\n \n \n
__EMAIL_FOOTER__

\n Sincerely,
\n The __[SELLYOURSAAS_NAME]__ Team
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(40,1,'sellyoursaas','contract',NULL,0,NULL,NULL,'2023-01-19 12:20:13','InstanceUndeployed',100,1,'[__[SELLYOURSAAS_NAME]__] - Destruction of your instance __REFCLIENT__','\n

Dear __[SELLYOURSAAS_NAME]__ user,

\nYou made a request from your __[SELLYOURSAAS_NAME]__ customer dashboard to delete your instance __REFCLIENT__.\n
\n Your instance was suspended and your data will be destroyed in a few days. For an immediate deletion, please click on this link:
I confirm deletion of __REFCLIENT__ \n \n

\n Sincerely,
\n The __[SELLYOURSAAS_NAME]__ Team
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(41,1,'sellyoursaas','contract',NULL,0,NULL,NULL,'2023-01-19 12:20:13','GentleTrialExpiringReminder',100,1,'[__[SELLYOURSAAS_NAME]__] - Your trial of __REFCLIENT__ will soon expire','\n

Dear __[SELLYOURSAAS_NAME]__ user,

\nThis is a reminder that the trial of your instance __REFCLIENT__ will expire soon (__SELLYOURSAAS_EXPIRY_DATE__). If you wish to continue using this service, please login to your customer console to add a payment method (Credit or Debit card accepted):\n

\n

\nClick here to go on your customer console: __[SELLYOURSAAS_ACCOUNT_URL]__
\nRemind: Your customer dashboard login is __THIRDPARTY_EMAIL__

\nIf you have entered a payment mode recently, thank you to ignore this email.
\n

\n
\n Sincerely,
\n The __[SELLYOURSAAS_NAME]__ Team
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(42,1,'sellyoursaas','contract',NULL,0,NULL,NULL,'2023-01-19 12:20:13','GentleTrialExpiringReminderFreeInstance',100,1,'[__[SELLYOURSAAS_NAME]__] - Your trial of __REFCLIENT__ will soon expire','\n

Dear __[SELLYOURSAAS_NAME]__ user,

\nThis is a reminder that the trial of your instance __REFCLIENT__ will expire soon (__SELLYOURSAAS_EXPIRY_DATE__). If you wish to continue using this service, please login to your customer console to confirm the final validation of your instance (if you do not confirm, the instance will be destroyed soon):\n

\n

\nClick here to go on your customer console: __[SELLYOURSAAS_ACCOUNT_URL]__
\nRemind: Your customer dashboard login is __THIRDPARTY_EMAIL__

\nIf you have already confirmed your instance, thank you to ignore this email.
\n

\n
\n Sincerely,
\n The __[SELLYOURSAAS_NAME]__ Team
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(43,1,'sellyoursaas','contract',NULL,0,NULL,NULL,'2023-01-19 12:20:13','EndOfTrial',100,1,'[__[SELLYOURSAAS_NAME]__] - Your trial of __REFCLIENT__ has come to an end','\n

Dear __[SELLYOURSAAS_NAME]__ user,

\nThank you for taking the time to check out __[SELLYOURSAAS_NAME]__. Your trial account for our service at __REF_CLIENT__ has now expired. If you wish to continue using this service, please login to your dashboard and add a payment method: __[SELLYOURSAAS_NAME]__ dashboard.

\nRemind: Your __[SELLYOURSAAS_NAME]__ dashboard login is __THIRDPARTY_EMAIL__

If you don\'t want to continue using this service, no action is needed: Your data will be automatically destroyed in a few days.


\n Sincerely,
\n The __[SELLYOURSAAS_NAME]__ Team
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(44,1,'sellyoursaas','facture_send',NULL,0,NULL,NULL,'2023-01-19 12:20:13','InvoicePaymentSuccess',100,1,'[__[SELLYOURSAAS_NAME]__] - Invoice Payment Success __REF__','\n

Dear __[SELLYOURSAAS_NAME]__ user,

\nThis email confirms a successful payment (__AMOUNT_FORMATED__) from your __[SELLYOURSAAS_NAME]__ instance __REFCLIENT__ account. You can login to your __[SELLYOURSAAS_NAME]__ dashboard to download your PDF invoices at any time.
\nRemind: Your __[SELLYOURSAAS_NAME]__ dashboard login is __THIRDPARTY_EMAIL__
\n

\n

Direct link to download the PDF of this invoice

If you have any questions relating to the above please do not hesitate get in touch.

\n
\n\n Sincerely,
\n The __[SELLYOURSAAS_NAME]__ Team
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(45,1,'sellyoursaas','facture_send',NULL,0,NULL,NULL,'2023-01-19 12:20:13','InvoicePaymentFailure',100,1,'[__[SELLYOURSAAS_NAME]__] - Invoice Payment Failure __REF__','\n

Dear __[SELLYOURSAAS_NAME]__ user,

\nAn attempt to take payment for your __[SELLYOURSAAS_NAME]__ subscription (invoice __REF__ for the instance __REFCLIENT__) has failed. Please update your payment method, or contact your bank or payment method provider.
\n Should failure to take this payment continue, access to our service will be discontinued, and any data you have with us maybe lost.
\n
\nPlease login to your __[SELLYOURSAAS_NAME]__ dashboard to update and fix your payment information as soon as possible to prevent any interuptions in service.
\nRemind: Your __[SELLYOURSAAS_NAME]__ dashboard login is __THIRDPARTY_EMAIL__
\n

\n

\n The error we received from your bank was:
\n __SELLYOURSAAS_PAYMENT_ERROR_DESC__\n


\n\n Sincerely,
\n The __[SELLYOURSAAS_NAME]__ Team
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(46,1,'sellyoursaas','contract',NULL,0,NULL,NULL,'2023-01-19 12:20:13','CustomerAccountSuspendedTrial',100,1,'[__[SELLYOURSAAS_NAME]__] - Account Suspension of __REFCLIENT__ after end of trial','\n

Dear __[SELLYOURSAAS_NAME]__ user,

\nWe wish to inform you that your instance __REFCLIENT__ has been suspended.
This is likely due to the end of your trial period. If you wish to continue using your application, please login to your __[SELLYOURSAAS_NAME]__ dashboard to enter a payment mode. Your instance access will be restored. If you don\'t want to engage with us, no action is needed: Your instance and data will we deleted in a few days.


\n Sincerely,
\n The __[SELLYOURSAAS_NAME]__ Team
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(47,1,'sellyoursaas','contract',NULL,0,NULL,NULL,'2023-01-19 12:20:13','CustomerAccountSuspended',100,1,'[__[SELLYOURSAAS_NAME]__] - Account Suspension of __REFCLIENT__','\n

Dear __[SELLYOURSAAS_NAME]__ user,

\nWe wish to inform you that your instance __REFCLIENT__ has been suspended.
This is likely due to a payment problem. If you wish to continue using your application, please login to your __[SELLYOURSAAS_NAME]__ dashboard to fix your payment mode. Your instance access will be restored. If you don\'t want to continue with us, just ignore this email and following reminders: Your instance and data will we deleted in a few weeks.


\n
\n Sincerely,
\n The __[SELLYOURSAAS_NAME]__ Team
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(48,1,'sellyoursaas','contract',NULL,0,NULL,NULL,'2023-01-19 12:20:13','CustomerInstanceUpgraded',100,1,'[__[SELLYOURSAAS_NAME]__] - Upgrade of instance __REFCLIENT__','\n

Dear __[SELLYOURSAAS_NAME]__ user,

\nWe wish to inform you your instance has been upgraded to a higher stable version.
If you experience problem after this upgrade, you can contact us at __[SELLYOURSAAS_MAIN_EMAIL]__


\n Sincerely,
\n The __[SELLYOURSAAS_NAME]__ Team
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(49,1,'sellyoursaas','thirdparty',NULL,0,NULL,NULL,'2023-01-19 12:20:13','YourYearlyPaymentRequest',100,1,'[__[SELLYOURSAAS_NAME]__] - Your yearly payment request for your __[SELLYOURSAAS_NAME]__ subscription','\n

Dear __[SELLYOURSAAS_NAME]__ user,

\nYour request to make a yearly payment for the subscription to __[SELLYOURSAAS_NAME]__ was recorded. Just after next deadline, the payment will be done for the full year.
For payment per credit/debit card, you will receive an email to make the payment online.

\nThe __[SELLYOURSAAS_NAME]__ Team
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(50,1,'sellyoursaas','facture_send',NULL,0,NULL,NULL,'2023-01-19 12:20:13','YourPaymentRemind',100,1,'[__[SELLYOURSAAS_NAME]__] - Reminder for paying your __[SELLYOURSAAS_NAME]__ subscription','\n

Dear __[SELLYOURSAAS_NAME]__ user,

\nExcept error on our part, the invoice __REF__ for your subscription to __[SELLYOURSAAS_NAME]__ service seems to be unpaid. This is a remind of the link to download your invoice and to use the pay online your subscription (the covered period appears on the invoice). We recommend you to pay within a delay of 7 days to avoid any suspension of service.
__ONLINE_PAYMENT_URL__&suffix=__[SELLYOURSAAS_NAME]__

\nThe __[SELLYOURSAAS_NAME]__ Team
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(51,1,'sellyoursaas','facture_send',NULL,0,NULL,NULL,'2023-01-19 12:20:13','YourLinkForYourPayment',100,1,'[__[SELLYOURSAAS_NAME]__] - Request for the payment of your __[SELLYOURSAAS_NAME]__ subscription','\n

Dear __[SELLYOURSAAS_NAME]__ user,

\nA new period will start for your subscription to __[SELLYOURSAAS_NAME]__ service. This is the link to download your invoice and to use the pay online your subscription (the covered period appears on the invoice). We recommend you to pay within a delay of 15 days to avoid any suspension of service.
__ONLINE_PAYMENT_URL__&suffix=__[SELLYOURSAAS_NAME]__

\nThe __[SELLYOURSAAS_NAME]__ Team
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(52,1,'sellyoursaas','thirdparty',NULL,0,NULL,NULL,'2023-01-19 12:20:13','(AlertCreditCardExpiration)',100,1,'[__[SELLYOURSAAS_NAME]__] - Your credit card is expiring','\n

Dear __[SELLYOURSAAS_NAME]__ user,

\nWe wish to inform you that your payment method (Credit card ....__CARD_LAST4__) will soon expire.
\n \n Please login to your __[SELLYOURSAAS_NAME]__ dashboard to update your credit card information as soon as possible to prevent any interuptions in service.
\nRemind: Your DoliCloud dashboard login is __THIRDPARTY_EMAIL__
\n

\n

If you have any questions relating to the above please do not hesitate get in touch.

\n
\n\n Sincerely,
\n The __[SELLYOURSAAS_NAME]__ Team
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(53,1,'sellyoursaas','contract','fr_FR',0,NULL,NULL,'2023-01-19 12:20:13','InstanceDeployed',100,1,'Bienvenue sur __[SELLYOURSAAS_NAME]__ - Votre instance __REFCLIENT__ est prête','\n

Bienvenue,

\nNous sommes heureux de vous accueillir comme utilisateur/utilisatrice de __[SELLYOURSAAS_NAME]__, le service à la demande de votre __PACKAGELABEL__.\n
\n Votre application est installée, configurée et prête pour vous.\n Voici les détails à connaitre pour démarrer:\n \n

Votre __PACKAGELABEL__ :\n

\n
Votre espace client :\n \n \n
__EMAIL_FOOTER__

\n Cordialement,
\n L\'équipe __[SELLYOURSAAS_NAME]__
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(54,1,'sellyoursaas','contract','fr_FR',0,NULL,NULL,'2023-01-19 12:20:13','InstanceUndeployed',100,1,'[__[SELLYOURSAAS_NAME]__] - Destruction de votre instance __REFCLIENT__','\n

Cher utilisateur/utilisatrice __[SELLYOURSAAS_NAME]__,

\nVous avez réalisé une demande depuis votre espace client __[SELLYOURSAAS_NAME]__ afin de détruire votre instance __REFCLIENT__.\n
\n Votre instance a déjà été suspendue et vos données seront détruites dans quelques jours. Pour une destruction immédiate, cliquez le lien suivant:
Je confirme la destruction de __REFCLIENT__ \n \n

\n Cordialement,
\n L\'équipe __[SELLYOURSAAS_NAME]__
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(55,1,'sellyoursaas','contract','fr_FR',0,NULL,NULL,'2023-01-19 12:20:13','GentleTrialExpiringReminder',100,1,'[__[SELLYOURSAAS_NAME]__] - Votre période d\'essai pour __REFCLIENT__ expire bientôt','\n

Cher utilisateur/utilisatrice __[SELLYOURSAAS_NAME]__,

\nCeci est un rappel pour vous informer que votre période de test pour l\'instance __REF_CLIENT__ va bientot expirer (le __SELLYOURSAAS_EXPIRY_DATE__). Si vous désirez continuer à utiliser le service, merci de vous logguer à votre espace client pour ajouter un mode de paiement (Carte de crédit ou débit).\n

\n

\nPour cela, cliquer ici pour basculer sur votre espace client: __[SELLYOURSAAS_ACCOUNT_URL]__
\nRappel: Votre login de l\'espace client est __THIRDPARTY_EMAIL__

\nSi vous avez renseigné un mode de paiement récemment, merci d\'ignorer cet email.
\n

\n
\n Cordialement,
\n L\'équipe __[SELLYOURSAAS_NAME]__
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(56,1,'sellyoursaas','contract','fr_FR',0,NULL,NULL,'2023-01-19 12:20:13','EndOfTrial',100,1,'[__[SELLYOURSAAS_NAME]__] - Votre période d\'essai pour __REFCLIENT__ est terminée','\n

Cher utilisateur/utilisatrice __[SELLYOURSAAS_NAME]__,

\nMerci d\'avoir pris le temps de tester __[SELLYOURSAAS_NAME]__. Votre période d\'essai pour le service __REFCLIENT__ est maintenant expirée. Si vous désirez continuer à utiliser ce service, merci de vous connecter à votres espace client et ajouter un mode de paiement: Espace client __[SELLYOURSAAS_NAME]__.

\nRappel: Votre login de l\'espace client est __THIRDPARTY_EMAIL__

Si vous ne désirez plus utiliser le service, ignorez simplement ce dernier rappel. Vos données seront automatiquement détruites dans quelques jours.


\n Cordialement,
\n L\'équipe __[SELLYOURSAAS_NAME]__
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(57,1,'sellyoursaas','facture_send','fr_FR',0,NULL,NULL,'2023-01-19 12:20:13','InvoicePaymentSuccess',100,1,'[__[SELLYOURSAAS_NAME]__] - Paiement réussi de la facture __REF__','\n

Cher utilisateur/utilisatrice __[SELLYOURSAAS_NAME]__,

\nCet email confirme un paiement avec succès (__AMOUNT_FORMATED__) pour votre instance __[SELLYOURSAAS_NAME]__ __REFCLIENT__. Vous pouvez vous logguer sur votre Espace client __[SELLYOURSAAS_NAME]__ pour télécharger vos factures PDF à tout moment.
\nRappel: Votre login de votre Espace Client __[SELLYOURSAAS_NAME]__ est __THIRDPARTY_EMAIL__
\n

\n

Lien direct pour télécharger le PDF de cette facture

Si vous avez des questions en rapport avec ce message, n\'hésitez pas à nous contacter.

\n
\n\n Cordialement,
\n L\'équipe __[SELLYOURSAAS_NAME]__
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(58,1,'sellyoursaas','facture_send','fr_FR',0,NULL,NULL,'2023-01-19 12:20:13','InvoicePaymentFailure',100,1,'[__[SELLYOURSAAS_NAME]__] - Paiement en échec de la facture __REF__','\n

Cher utilisateur/utilisatrice __[SELLYOURSAAS_NAME]__,

\nUne tentative pour réaliser le paiement de votre abonnement __[SELLYOURSAAS_NAME]__ (facture __REF__ pour l\'instance __REFCLIENT__) a échoué.\n\nMerci de vérifier/mettre à jour votre mode de paiement, ou contacter votre banque ou fournisseur de votre mode de paiement pour autoriser les prochaines tentatives si ce dernier est bien correct.
\n Plusieurs tentatives seront réalisées mais au cas où les échecs de paiements se prolongeraient, l\'accès au service pourrait être interrompu (et vos données pourraient être détruites 2 mois après).
\n
\nMerci de vous logguer à votre Espace Client __[SELLYOURSAAS_NAME]__ pour corriger votre mode de paiement si ce dernier le nécessite, pour éviter toute interruption de service.
\nRappel: Votre login d\'accès à l\'Espace Client __[SELLYOURSAAS_NAME]__ est __THIRDPARTY_EMAIL__
\n

\n

\n L\'erreur renvoyée par votre banque est la suivante:
\n __SELLYOURSAAS_PAYMENT_ERROR_DESC__\n


\n\n Cordialement,
\n L\'équipe __[SELLYOURSAAS_NAME]__
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(59,1,'sellyoursaas','contract','fr_FR',0,NULL,NULL,'2023-01-19 12:20:13','CustomerAccountSuspendedTrial',100,1,'[__[SELLYOURSAAS_NAME]__] - Suspension de l\'instance __REFCLIENT__ après fin de période d\'essai','\n

Cher utilisateur/utilisatrice __[SELLYOURSAAS_NAME]__,

\nNous attirons votre attention sur le fait que votre instance __REFCLIENT__ a été suspendue.
Ceci est probablement due à la fin de votre période d\'essai. Si vous désirez continuer à utiliser l\'application, merci de vous connecter à votre Espace Client __[SELLYOURSAAS_NAME]__ pour entrer un mode de paiement. L\'accès à votre instance sera alors rétabli immédiatement. Si vous ne désirez pas continuer, ignorez simplement cet email et votre instance et ses données seront détruites dans quelques jours.


\n Cordialement,
\n L\'équipe __[SELLYOURSAAS_NAME]__
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(60,1,'sellyoursaas','contract','fr_FR',0,NULL,NULL,'2023-01-19 12:20:13','CustomerAccountSuspended',100,1,'[__[SELLYOURSAAS_NAME]__] - Suspension de l\'instance __REFCLIENT__','\n

Cher utilisateur/utilisatrice __[SELLYOURSAAS_NAME]__,

\nNous attirons votre attention sur le fait que votre instance __REFCLIENT__ a été suspendue.
Ceci est probablement due à des problèmes de paiements. Si vous désirez continuer à utiliser l\'application, merci de vous connecter à votre Espace Client __[SELLYOURSAAS_NAME]__ pour entrer un mode de paiement. L\'accès à votre instance sera alors rétabli immédiatement. Si vous ne désirez pas continuer, ignorez simplement cet email et les autres rappels à venir, et votre instance et ses données seront détruites dans quelques semaines.


\n Cordialement,
\n L\'équipe __[SELLYOURSAAS_NAME]__
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(61,1,'sellyoursaas','contract','fr_FR',0,NULL,NULL,'2023-01-19 12:20:13','CustomerInstanceUpgraded',100,1,'[__[SELLYOURSAAS_NAME]__] - Mise à jour de l\'instance __REFCLIENT__','\n

Cher utilisateur/utilisatrice __[SELLYOURSAAS_NAME]__,

\nNous vous informons que votre instance a été mise à jour sur une version stable supérieure.
Si vous rencontrez des difficultés après cette mise à jour, contacter nous à __[SELLYOURSAAS_MAIN_EMAIL]__


\n Cordialement,
\n L\'équipe __[SELLYOURSAAS_NAME]__
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(62,1,'sellyoursaas','thirdparty','fr_FR',0,NULL,NULL,'2023-01-19 12:20:13','YourYearlyPaymentRequest',100,1,'[__[SELLYOURSAAS_NAME]__] - Votre demande de paiement annuel pour votre abonnement __[SELLYOURSAAS_NAME]__','\n

Cher utilisateur/utilisatrice __[SELLYOURSAAS_NAME]__,

\nVotre demande de paiement annuel pour l\'abonnement au service __[SELLYOURSAAS_NAME]__ a été enregistrée. A la prochaine échance, le paiement se fera pour une année entière.
Dans le cas de paiement par carte, vous recevrez un mail, peu après le début de la nouvelle période annuelle pour réaliser le paiement en ligne.

\nL\'équipe __[SELLYOURSAAS_NAME]__
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(63,1,'sellyoursaas','facture_send','fr_FR',0,NULL,NULL,'2023-01-19 12:20:13','YourPaymentRemind',100,1,'[__[SELLYOURSAAS_NAME]__] - Relance paiement abonnement __[SELLYOURSAAS_NAME]__','\n

Cher utilisateur/utilisatrice __[SELLYOURSAAS_NAME]__,

\nSauf erreur de notre part, la facture __REF__ pour votre abonnement au service __[SELLYOURSAAS_NAME]__ n\'a pas encore été payée. Voici un rappel du lien permettant de télécharger la facure et réaliser le paiement en ligne (la période couverte apparait sur la facture). Nous vous recommandons de réaliser le paiement dans un délai de 7 jours afin d\'éviter la suspension du service.
__ONLINE_PAYMENT_URL__&suffix=__[SELLYOURSAAS_NAME]__

\nL\'équipe __[SELLYOURSAAS_NAME]__
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(64,1,'sellyoursaas','facture_send','fr_FR',0,NULL,NULL,'2023-01-19 12:20:13','YourLinkForYourPayment',100,1,'[__[SELLYOURSAAS_NAME]__] - Requête pour le paiement de votre abonnement __[SELLYOURSAAS_NAME]__','\n

Cher utilisateur/utilisatrice __[SELLYOURSAAS_NAME]__,

\nUne nouvelle période démarre pour votre abonnement au service __[SELLYOURSAAS_NAME]__. Voici le lien à utiliser pour télécharger votre facture et réaliser le paiement en ligne (la période couverte apparait sur la facture). Nous vous recommandons de payer dans un délai de 15 jours pour éviter toute suspension de service ultérieure.
__ONLINE_PAYMENT_URL__&suffix=__[SELLYOURSAAS_NAME]__

L\'équipe __[SELLYOURSAAS_NAME]__
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(65,1,'sellyoursaas','thirdparty','fr_FR',0,NULL,NULL,'2023-01-19 12:20:13','(AlertCreditCardExpiration)',100,1,'[__[SELLYOURSAAS_NAME]__] - Expiration de votre carte bancaire','\n

Cher utilisateur/utilisatrice __[SELLYOURSAAS_NAME]__,

\nNous voulions vous informer que votre mode de paiement (Carte bancaire ....__CARD_LAST4__) va bientôt expirer.
\n \n Merci de vous logguez sur votre espace client __[SELLYOURSAAS_NAME]__ pour mettre à jour vos informations de paiement, dès que possible, afin de prévenir toute interruption de service.
\nRappel: Le login de votre espace client est __THIRDPARTY_EMAIL__
\n

\n

Si vous avez des questions sur ce point, ne pas hésitez à nous contacter.

\n
\n
\n Cordialement,
\n L\'équipe __[SELLYOURSAAS_NAME]__
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(66,1,'sellyoursaas','contract','es_ES',0,NULL,NULL,'2023-01-19 12:20:13','InstanceDeployed',100,1,'Bienvenido a __[SELLYOURSAAS_NAME]__ - Su instancia __REFCLIENT__ está lista','\n

Bienvenida,

\nEstamos muy contentos de ternerle como usuario de __[SELLYOURSAAS_NAME]__, el servicio en línea de sus aplicaciones __PACKAGELABEL__.\n
\n Su aplicación ya se encuentra instalada y disponible para su uso.\n Aquí están los detalles que necesita para acceder.:\n \n

Su aplicación __PACKAGELABEL__ :\n

\n
Su área de cliente :\n \n \n
__EMAIL_FOOTER__

\n El equipo __[SELLYOURSAAS_NAME]__
\n -----------------------------------------
\n E-Mail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(67,1,'sellyoursaas','contract','es_ES',0,NULL,NULL,'2023-01-19 12:20:13','InstanceUndeployed',100,1,'[__[SELLYOURSAAS_NAME]__] - Destrucción de su instancia __REFCLIENT__','\n

Estimado usuario de __[SELLYOURSAAS_NAME]__,

\nHiciste una solicitud desde tu panel de control del cliente __[SELLYOURSAAS_NAME]__ para eliminar tu instancia __REFCLIENT__.\n
\n Su instancia fue suspendida y sus datos serán destruidos en pocos días. Para una eliminación inmediata, haga clic en este enlace:
Confirmo la eliminación de __REFCLIENT__ \n \n

\n El equipo __[SELLYOURSAAS_NAME]__
\n -----------------------------------------
\n E-Mail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(68,1,'sellyoursaas','contract','es_ES',0,NULL,NULL,'2023-01-19 12:20:13','GentleTrialExpiringReminder',100,1,'[__[SELLYOURSAAS_NAME]__] - Su periodo de prueba para __REFCLIENT__ expira pronto','\n

Estimado usuario de __[SELLYOURSAAS_NAME]__,

\nSu periodo de prueba de su instancia __REFCLIENT__ termina pronto (el __SELLYOURSAAS_EXPIRY_DATE__). Si desea continuar usando el servicio, le agradeceríamos se conectara a su área de cliente para añadir un modo de pago:\n

\n

\nHaga clic aquí para ir a la consola de su cliente: __[SELLYOURSAAS_ACCOUNT_URL]__
\nRecuerde: Su login de acceso a su área de cliente __[SELLYOURSAAS_NAME]__ es __THIRDPARTY_EMAIL__

\nSi ha ingresado recientemente en un modo de pago, gracias por ignorar este e-mail.
\n

\n
\n El equipo __[SELLYOURSAAS_NAME]__
\n -----------------------------------------
\n E-Mail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(69,1,'sellyoursaas','contract','es_ES',0,NULL,NULL,'2023-01-19 12:20:13','EndOfTrial',100,1,'[__[SELLYOURSAAS_NAME]__] - Su periodo de prueba para __REFCLIENT__ ha expirado','\n

Estimado usuario de __[SELLYOURSAAS_NAME]__,

\nLe damos las gracias por tomarse el tiempo de probar __[SELLYOURSAAS_NAME]__. Su periodo de prueba de __REF_CLIENT__ ha expirado. Si desea continuar usando nuestro servicio, le agradeceríamos se conectara a su área de cliente y añada un modo de pago: __[SELLYOURSAAS_NAME]__ dashboard.

\nRecuerde: Su login de acceso a su área de cliente __[SELLYOURSAAS_NAME]__ es __THIRDPARTY_EMAIL__

Su instancia se conservará tanto tiempo como desee. Por el contrario, si no desea continuar usando el servicio, simplemente ignore esta alerta. Sus datos y su cuenta serán eliminados en pocos dias.


\n El equipo __[SELLYOURSAAS_NAME]__
\n -----------------------------------------
\n E-Mail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(70,1,'sellyoursaas','facture_send','es_ES',0,NULL,NULL,'2023-01-19 12:20:13','InvoicePaymentSuccess',100,1,'[__[SELLYOURSAAS_NAME]__] - Pago de la factura __REF__ realizado','\n

Estimado usuario de __[SELLYOURSAAS_NAME]__,

\nEste correo electrónico confirma el pago exitoso (__AMOUNT_FORMATED__) de su cuenta __[SELLYOURSAAS_NAME]__ __REFCLIENT__. Puede iniciar sesión en su area de cliente __[SELLYOURSAAS_NAME]__ para descargar sus facturas en PDF en cualquier momento.
\nRecuerde: Su login de acceso a su área de cliente __[SELLYOURSAAS_NAME]__ es __THIRDPARTY_EMAIL__
\n

\n

Enlace directo a su factura en PDF

Si tiene alguna pregunta relacionada con lo anterior, no dude en ponerse en contacto.

\n
\n\n El equipo __[SELLYOURSAAS_NAME]__
\n -----------------------------------------
\n E-Mail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(71,1,'sellyoursaas','facture_send','es_ES',0,NULL,NULL,'2023-01-19 12:20:13','InvoicePaymentFailure',100,1,'[__[SELLYOURSAAS_NAME]__] - Error en el pago de la factura __REF__','\n

Estimado usuario de __[SELLYOURSAAS_NAME]__,

\nSe produjo un error al intentar realizar el pago de su suscripción a __[SELLYOURSAAS_NAME]__ (factura __REF__ para la aplicación __REFCLIENT__). Actualice su método de pago o comuníquese con su banco o proveedor de métodos de pago.
\n Si no continúa este pago, se suspenderá el acceso a nuestro servicio y es posible que pierda los datos que tenga con nosotros.
\n
\nInicie sesión en su area de client __[SELLYOURSAAS_NAME]__ para actualizar y corregir su tarjeta de crédito lo antes posible para evitar cualquier interupción en el servicio.
\nRecuerde: Su login de acceso a su área de cliente __[SELLYOURSAAS_NAME]__ es __THIRDPARTY_EMAIL__
\n

\n

\n El error que recibimos de su banco fue:
\n __SELLYOURSAAS_PAYMENT_ERROR_DESC__\n


\n\n El equipo __[SELLYOURSAAS_NAME]__
\n -----------------------------------------
\n E-Mail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(72,1,'sellyoursaas','contract','es_ES',0,NULL,NULL,'2023-01-19 12:20:13','CustomerAccountSuspendedTrial',100,1,'[__[SELLYOURSAAS_NAME]__] - Suspensión de la instancia __REFCLIENT__ una vez finalizado el período de prueba','\n

Estimado usuario de __[SELLYOURSAAS_NAME]__,

\nQueremos informarle que su instancia __REFCLIENT__ ha sido suspendida.
Es probable que esto se deba al final de su período de prueba. Si desea continuar usando su aplicación, inicie sesión en su area de cliente __[SELLYOURSAAS_NAME]__ para ingresar a un modo de pago. El acceso a su instancia será restaurado. Si no desea participar con nosotros, simplemente ignore este correo electrónico y su instancia se eliminará en pocos días.


\n El equipo __[SELLYOURSAAS_NAME]__
\n -----------------------------------------
\n E-Mail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(73,1,'sellyoursaas','contract','es_ES',0,NULL,NULL,'2023-01-19 12:20:13','CustomerAccountSuspended',100,1,'[__[SELLYOURSAAS_NAME]__] - Suspensión de la instancia __REFCLIENT__','\n

Estimado usuario de __[SELLYOURSAAS_NAME]__,

\nQueremos informarle que su instancia __REFCLIENT__ ha sido suspendida.
Esto es probablemente debido a un problema de pago. Si desea continuar usando su aplicación, inicie sesión en su area de cliente __[SELLYOURSAAS_NAME]__ para corregir su modo de pago. El acceso a su instancia será restaurado. Si no desea continuar con nosotros, simplemente ignore este correo electrónico y siga los recordatorios, y su instancia y sus datos serán eliminados en unas pocas semanas.


\n
\n El equipo __[SELLYOURSAAS_NAME]__
\n -----------------------------------------
\n E-Mail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(74,1,'sellyoursaas','contract','es_ES',0,NULL,NULL,'2023-01-19 12:20:13','CustomerInstanceUpgraded',100,1,'[__[SELLYOURSAAS_NAME]__] - Actualización de la instancia __REFCLIENT__','\n

Estimado usuario de __[SELLYOURSAAS_NAME]__,

\nDeseamos informarle que su instancia se ha actualizado a una versión estable superior.
Si tiene algún problema después de esta actualización, puede contactarnos a __[SELLYOURSAAS_MAIN_EMAIL]__


\n El equipo __[SELLYOURSAAS_NAME]__
\n -----------------------------------------
\n E-Mail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(75,1,'sellyoursaas','thirdparty','es_ES',0,NULL,NULL,'2023-01-19 12:20:13','YourYearlyPaymentRequest',100,1,'[__[SELLYOURSAAS_NAME]__] - Su solicitud de pago anual para su suscripción __[SELLYOURSAAS_NAME]__','\n

Estimado usuario de __[SELLYOURSAAS_NAME]__,

\nSu solicitud de pago anual para su suscripción al servicio __[SELLYOURSAAS_NAME]__ ha sido registrado. En el próximo vencimiento, el pago será por un año completo..
En el caso del pago con tarjeta, recibirá un e-mail, poco después del comienzo del nuevo período anual para realizar el pago en línea.

\nEl equipo __[SELLYOURSAAS_NAME]__
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(76,1,'sellyoursaas','facture_send','es_ES',0,NULL,NULL,'2023-01-19 12:20:13','YourPaymentRemind',100,1,'[__[SELLYOURSAAS_NAME]__] - Pago de renovación de su suscripción a __[SELLYOURSAAS_NAME]__','\n

Estimado usuario de __[SELLYOURSAAS_NAME]__,

\nSalvo error por nuestra parte, la factura __REF__ de su suscripción al servicio __[SELLYOURSAAS_NAME]__ aún no ha sido pagada. Aquí hay un recordatorio del enlace para descargar la facutura y hacer el pago en línea (el período cubierto aparece en la factura). Le recomendamos que realice el pago dentro de los 7 días para evitar la suspensión del servicio.
__ONLINE_PAYMENT_URL__&suffix=__[SELLYOURSAAS_NAME]__

\nEl equipo __[SELLYOURSAAS_NAME]__
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(77,1,'sellyoursaas','facture_send','es_ES',0,NULL,NULL,'2023-01-19 12:20:13','YourLinkForYourPayment',100,1,'[__[SELLYOURSAAS_NAME]__] - Solicitud de pago de su suscripción __[SELLYOURSAAS_NAME]__','\n

Estimado usuario de __[SELLYOURSAAS_NAME]__,

\nComienza un nuevo período para su suscripción al servicio __[SELLYOURSAAS_NAME]__. Aquí está el enlace para descargar su factura y realizar el pago en línea (el período cubierto aparece en la factura). Le recomendamos que pague dentro de los 15 días para evitar la suspensión del servicio.
__ONLINE_PAYMENT_URL__&suffix=__[SELLYOURSAAS_NAME]__

\nEl equipo __[SELLYOURSAAS_NAME]__
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(78,1,'sellyoursaas','thirdparty','es_ES',0,NULL,NULL,'2023-01-19 12:20:13','(AlertCreditCardExpiration)',100,1,'[__[SELLYOURSAAS_NAME]__] - Caducidad de su tarjeta bancaria','\n

Estimado usuario de __[SELLYOURSAAS_NAME]__,

\nQueríamos informarle que su método de pago (tarjeta bancaria ....__CARD_LAST4__) caducará pronto.
\n \nInicie sesión en su área de cliente __[SELLYOURSAAS_NAME]__ para actualizar su información de pago lo antes posible a fin de evitar cualquier interrupción del servicio.
\nRappel: Le login de votre espace client est __THIRDPARTY_EMAIL__Recordatorio: el inicio de sesión de su área de cliente es __THIRDPARTY_EMAIL__
\n

\n

Si tiene alguna pregunta sobre este punto, no dude en ponerse en contacto con nosotros.

\n
\n El equipo __[SELLYOURSAAS_NAME]__
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(79,1,'sellyoursaas','contract','de_DE',0,NULL,NULL,'2023-01-19 12:20:13','InstanceDeployed',100,1,'Willkommen beim __[SELLYOURSAAS_NAME]__ - Ihre Instanz __REFCLIENT__ steht bereit','\n

Herzlich willkommen,

\nwir freuen uns, Sie als neuen Nutzer des __[SELLYOURSAAS_NAME]__ als Plattform für das Cloud-Angebot __PACKAGELABEL__ zu begrüßen.\n
\nIhre Anwendung wurde installiert und für Sie eingerichtet und steht jetzt zur Nutzung bereit.\nFür den Start hier einige Informationen:\n \n

Ihre Instanz __PACKAGELABEL__ :\n

\n
Ihr __[SELLYOURSAAS_MAIN_EMAIL]__-Kundenkonto:\n \n \n
__EMAIL_FOOTER__

\n Freundliche Grüße,
\n Ihr __[SELLYOURSAAS_NAME]__-Team
\n -----------------------------------------
\n E-Mail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(80,1,'sellyoursaas','contract','de_DE',0,NULL,NULL,'2023-01-19 12:20:13','InstanceUndeployed',100,1,'[__[SELLYOURSAAS_NAME]__] - Löschung Ihrer Instanz __REFCLIENT__','\n

Lieber __[SELLYOURSAAS_NAME]__-Nutzer,

\nSie haben in Ihrem __[SELLYOURSAAS_NAME]__-Kundenkonto darum gebeten, Ihre Instanz __REFCLIENT__ zu löschen.\n
\nIhre Instanz wurde jetzt gesperrt und die Daten werden in den nächsten Tagen automatisch gelöscht. Sollen die Daten sofort gelöscht werden, klicken Sie bitte auf diesen Link:
Ich wünsche die sofortige Löschun von __REFCLIENT__ \n \n

\n Freundliche Grüße,
\n Ihr __[SELLYOURSAAS_NAME]__-Team
\n -----------------------------------------
\n E-Mail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(81,1,'sellyoursaas','contract','de_DE',0,NULL,NULL,'2023-01-19 12:20:13','GentleTrialExpiringReminder',100,1,'[__[SELLYOURSAAS_NAME]__] - Ihr Probezeitraum für __REFCLIENT__ läuft bald ab','\n

Lieber __[SELLYOURSAAS_NAME]__-Nutzer,

\nDies ist eine Erinnerung, dass Ihr Probezeitraum für die Instanz __REFCLIENT__ in kürze abläuft (__SELLYOURSAAS_EXPIRY_DATE__). Falls Sie diese Instanz weiter nutzen möchten, loggen Sie sich bitte im __[SELLYOURSAAS_NAME]__-Kundenkonto ein und fügen ein Zahlungsmittel hinzu (Kreditkarte):\n

\n

\nHier klicken, um zum Kundenkonto zu gelangen: __[SELLYOURSAAS_ACCOUNT_URL]__
\nErinnerung: Ihr Login für das Kundenkonto lautet __THIRDPARTY_EMAIL__

\nFalls Sie bereits vor kurzem ein Zahlungsmittel hinterlegt haben, ignorieren Sie diese E-Mail bitte.
\n

\n
\n Freundliche Grüßé,
\n Ihr __[SELLYOURSAAS_NAME]__-Team
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(82,1,'sellyoursaas','contract','de_DE',0,NULL,NULL,'2023-01-19 12:20:13','EndOfTrial',100,1,'[__[SELLYOURSAAS_NAME]__] - Ihr Probezeitraum für __REFCLIENT__ ist abgelaufen','\n

Lieber __[SELLYOURSAAS_NAME]__-Nutzer,

\nVielen Dank, dass Sie sich die Zeit genommen haben, Leistungen des __[SELLYOURSAAS_NAME]__ auszuprobieren. Ihr Probezeitraum für die Instanz __REF_CLIENT__ ist jetzt abgelaufen. Falls Sie die Instanz weiterhin nutzen möchten, loggen Sie sich bitte im Kundenkonto ein und hinterlegen ein Zahlungsmittel: __[SELLYOURSAAS_NAME]__-Kundenkonto.

\nErinnerung: Ihr Login zum __[SELLYOURSAAS_NAME]__-Kundenkonto login lautet __THIRDPARTY_EMAIL__

Falls Sie die Instanz nicht weiter nutzen wollen, ist keine weitere Aktion erforderlich: Ihre Daten werden innerhalb der nächsten tage automatisch gelöscht.


\n Freundliche Grüße,
\n Ihr __[SELLYOURSAAS_NAME]__-Team
\n -----------------------------------------
\n E-Mail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(83,1,'sellyoursaas','facture_send','de_DE',0,NULL,NULL,'2023-01-19 12:20:13','InvoicePaymentSuccess',100,1,'[__[SELLYOURSAAS_NAME]__] - Erfolgreiche Bezahlung der Rechnung __REF__','\n

Lieber __[SELLYOURSAAS_NAME]__-Nutzer,

\nHiermit bestätigen wir die erfolgreiche Zahlung von (__AMOUNT_FORMATED__) für Ihre __[SELLYOURSAAS_NAME]__ Instanz __REFCLIENT__. Um Ihre Rechnungen herunterzuladen, können Sie sich jederzeit im __[SELLYOURSAAS_NAME]__-Kundenkonto einloggen.
\nErinnerung: Ihr Login zum __[SELLYOURSAAS_NAME]__-Kundenkonto lautet __THIRDPARTY_EMAIL__
\n

\n

Direkter Link um diese Rechnung als PDF herunterzuladen

Bei Fragen zögern Sie bitte nicht uns zu kontaktieren.

\n
\n\n Freundliche Grüße,
\n Ihr __[SELLYOURSAAS_NAME]__-Team
\n -----------------------------------------
\n E-Mail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(84,1,'sellyoursaas','facture_send','de_DE',0,NULL,NULL,'2023-01-19 12:20:13','InvoicePaymentFailure',100,1,'[__[SELLYOURSAAS_NAME]__] - Fehler bei der Bezahlung der Rechnung __REF__','\n

Lieber __[SELLYOURSAAS_NAME]__-Nutzer,

\nEin Versuch, die Bezahlung für Ihre Leistungen des __[SELLYOURSAAS_NAME]__ vorzunehmen (Rechnung __REF__ für die Instanz __REFCLIENT__) ist fehlgeschlagen. Bitte aktualisieren Sie das hinterlegte Zahlungsmittel oder kontaktieren Sie Ihre Bank bzw. Kreditkartenherausgeber.
\n Sollte die Bezahlung auch weiterhin nicht möglich sein, wird der Zugang zu Ihrer Instanz automatisch gesperrt und die Daten nach einer weiteren Übergangsfrist gelöscht.
\n
\nBitte loggen Sie sich im __[SELLYOURSAAS_NAME]__-Kundenkonto ein, um das hinterlegt Zahlungsmittel so schnell wie möglich zu aktualisieren um eine Unterbrechung der Leistung zu vermeiden.
\nErinnerung: Ihr Login zum __[SELLYOURSAAS_NAME]__-Kundenkonto lautet __THIRDPARTY_EMAIL__
\n

\n

\n Die Fehlermeldung bei der Zahlungsdurchführung lautet:
\n __SELLYOURSAAS_PAYMENT_ERROR_DESC__\n


\n\n Freundliche Grüße,
\n Ihr __[SELLYOURSAAS_NAME]__-Team
\n -----------------------------------------
\n E-Mail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(85,1,'sellyoursaas','contract','de_DE',0,NULL,NULL,'2023-01-19 12:20:13','CustomerAccountSuspendedTrial',100,1,'[__[SELLYOURSAAS_NAME]__] - Sperrung der Instanz __REFCLIENT__ nach Ablauf des Probezeitraums','\n

Lieber __[SELLYOURSAAS_NAME]__-Nutzer,

\nWir möchten Sie darüber informieren, dass Ihre Instanz __REFCLIENT__ gesperrt wurde.
Der Grund hierfür ist in der Regel der Ablauf Ihres Probezeitraums. Falls Sie Ihre Instanz weiterhin nutzen möchten, loggen Sie sich in Ihr __[SELLYOURSAAS_NAME]__-Kundenkonto ein, um ein Zahlungsmittel zu hinterlegen. Danach wird die Sperrung wieder aufgehoben und der Zugang ist wieder möglich. Falls Sie die Instanz nicht weiter nutzen möchten, müssen Sie nichts weiter tun: Ihre Instanz und Ihre Daten werden in den kommenden Tagen automatisch gelöscht.


\n Freundliche Grüße,
\n Ihr __[SELLYOURSAAS_NAME]__-Team
\n -----------------------------------------
\n E-Mail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(86,1,'sellyoursaas','contract','de_DE',0,NULL,NULL,'2023-01-19 12:20:13','CustomerAccountSuspended',100,1,'[__[SELLYOURSAAS_NAME]__] - Sperrung der Instanz __REFCLIENT__','\n

Lieber __[SELLYOURSAAS_NAME]__-Nutzer,

\nWir möchten Sie darüber informieren, dass Ihre Instanz __REFCLIENT__ gesperrt wurde.
Der Grund hierfür ist in der Regel ein Problem bei der Zahlungsabwicklung. Falls Sie Ihre Instanz weiter nutzen möchten, loggen Sie sich bitte in Ihr __[SELLYOURSAAS_NAME]__-Kundenkonto ein, um das hinterlegte Zahlungsmittel zu aktualisieren. Die Sperre wird dann aufgehoben und der Zugang wieder ermöglicht. Falls Sie unsere leistungen nicht mehr nutzen möchten, können Sie diese und folgewnde Erinnerungen ignorieren: Ihre Instanz und die hinterlegten Daten werden in wenigen Wochen automatisch gelöscht.


\n
\n Freundliche Grüße,
\n Ihr __[SELLYOURSAAS_NAME]__-Team
\n -----------------------------------------
\n E-Mail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(87,1,'sellyoursaas','contract','de_DE',0,NULL,NULL,'2023-01-19 12:20:13','CustomerInstanceUpgraded',100,1,'[__[SELLYOURSAAS_NAME]__] - Upgrade der Instanz __REFCLIENT__','\n

Lieber __[SELLYOURSAAS_NAME]__-Nutzer,

\nWir möchten Sie darüber informieren, dass Ihre Instanz auf eine neuere, stabile Version aktualisiert wurde.
Sollten Sie nach dem Upgrade Probleme feststellen, können Sie uns unter __[SELLYOURSAAS_MAIN_EMAIL]__ oder über Ihr Kundenkonto kontaktieren.


\n Freundliche Grüße,
\n Ihr __[SELLYOURSAAS_NAME]__-Team
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(88,1,'sellyoursaas','thirdparty','de_DE',0,NULL,NULL,'2023-01-19 12:20:13','YourYearlyPaymentRequest',100,1,'[__[SELLYOURSAAS_NAME]__] - Ihr gewünschter Wechsel zur jährlichen Zahlweise für Leistungen im __[SELLYOURSAAS_NAME]__','\n

Lieber __[SELLYOURSAAS_NAME]__-Nutzer,

\nWir haben Ihre Anfrage, die Zahlweise für Leistungen des __[SELLYOURSAAS_NAME]__ auf jährliche Zahlung umzustellen, erhalten. Ab dem nächsten Zahlungslauf werden die Zahlungen jeweils für ein Jahr im Voraus erfolgen.
Für eine Zahlung per Kreditkarte erhalten Sie eine E-Mail mit Angaben, wie Sie die Bezahlung online vornehmen können.

\nIhr __[SELLYOURSAAS_NAME]__-Team
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(89,1,'sellyoursaas','facture_send','de_DE',0,NULL,NULL,'2023-01-19 12:20:13','YourPaymentRemind',100,1,'[__[SELLYOURSAAS_NAME]__] - Erinnerung: Bitte denken Sie an die Zahlung Ihrer __[SELLYOURSAAS_NAME]__-Leistungen','\n

Lieber __[SELLYOURSAAS_NAME]__-Nutzer,

\nNach den uns derzeit vorliegenden Informationen wurde die Rechnung __REF__ für Leistungen des __[SELLYOURSAAS_NAME]__ bisher nicht beglichen. Dies ist eine Erinnerung, die Rechnung herunterzuladen. Sie können die Zahlung über den angegebenen Link online vornehmen (der betreffende Leistungszeitraum ist auf der Rechnung aufgeführt). Wir empfehlen, die Zahlung innerhalb der nächsten sieben Tage vorzunehmen, um eine Sperrung der Instanz zu vermeiden.
__ONLINE_PAYMENT_URL__&suffix=__[SELLYOURSAAS_NAME]__

\nIhr __[SELLYOURSAAS_NAME]__-Team
\n -----------------------------------------
\n E-Mail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(90,1,'sellyoursaas','facture_send','de_DE',0,NULL,NULL,'2023-01-19 12:20:13','YourLinkForYourPayment',100,1,'[__[SELLYOURSAAS_NAME]__] - Neue Rechnung für Leistungen im __[SELLYOURSAAS_NAME]__ mit der Bitte um Bezahlung','\n

Lieber __[SELLYOURSAAS_NAME]__-Nutzer,

\nA new period will start for your subscription to __[SELLYOURSAAS_NAME]__ service. This is the link to download your invoice and to use the pay online your subscription (the covered period appears on the invoice). We recommend you to pay within a delay of 15 days to avoid any suspension of service.
__ONLINE_PAYMENT_URL__&suffix=__[SELLYOURSAAS_NAME]__

\nThe __[SELLYOURSAAS_NAME]__ Team
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(91,1,'sellyoursaas','thirdparty','de_DE',0,NULL,NULL,'2023-01-19 12:20:13','(AlertCreditCardExpiration)',100,1,'[__[SELLYOURSAAS_NAME]__] - Ihre Kreditkarte läuft in Kürze ab','\n

Lieber __[SELLYOURSAAS_NAME]__-Nutzer,

\nWir möchten Sie darüber informieren, dass Ihr hinterlegtes Zahlungsmittel (Kreditkarte ....__CARD_LAST4__) in Kürze abläuft.
\n \n Bitte loggen Sie sich in Ihr __[SELLYOURSAAS_NAME]__-Kundenkonto ein, um Ihre Kreditkarteninformationen so schnell wie möglich zu aktualisieren, um einen unterbrechungsfreien Service sicherzustellen.
\nErinnerung: Ihr Login für das Kundenkonto lautet __THIRDPARTY_EMAIL__
\n

\n

Bei Fragen zögern Sie nicht uns zu kontaktieren.

\n
\n\n Freundliche Grüße,
\n Ihr __[SELLYOURSAAS_NAME]__-Team
\n -----------------------------------------
\n E-Mail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(92,1,NULL,'project','en_US',0,NULL,NULL,'2023-02-10 12:25:02','aaa',1,1,'aaa','Bonjour
\r\n
\r\nNous avons reçue une demande sur GLPI. Elle est référencé sous le numéro __REF__
\r\n
\r\nJe suis votre interlocuteur, je m'appelle __USER_FIRSTNAME__
\r\n
\r\n__USER_SIGNATURE__  ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(93,1,NULL,'member','fr_FR',0,NULL,NULL,'2023-03-03 10:48:42','hfghgf',1,1,'hhh','ggg',NULL,'1','0',NULL,NULL,NULL,NULL,0); +INSERT INTO `llx_c_email_templates` VALUES (1,1,NULL,'propal_send','',1,NULL,NULL,'2018-01-19 11:17:48','My Private email template for proposals',1,1,'Hello __FIRSTNAME__','We wish you a happy new year
__USER_SIGNATURE__',NULL,'1','1',NULL,NULL,NULL,NULL,0),(2,0,'adherent','member','',0,NULL,NULL,'2018-01-19 11:17:48','(SendAnEMailToMember)',1,1,'__(CardContent)__','__(Hello)__,

\n\n__(ThisIsContentOfYourCard)__
\n__(ID)__ : __ID__
\n__(Civiliyty)__ : __MEMBER_CIVILITY__
\n__(Firstname)__ : __MEMBER_FIRSTNAME__
\n__(Lastname)__ : __MEMBER_LASTNAME__
\n__(Fullname)__ : __MEMBER_FULLNAME__
\n__(Company)__ : __MEMBER_COMPANY__
\n__(Address)__ : __MEMBER_ADDRESS__
\n__(Zip)__ : __MEMBER_ZIP__
\n__(Town)__ : __MEMBER_TOWN__
\n__(Country)__ : __MEMBER_COUNTRY__
\n__(Email)__ : __MEMBER_EMAIL__
\n__(Birthday)__ : __MEMBER_BIRTH__
\n__(Photo)__ : __MEMBER_PHOTO__
\n__(Login)__ : __MEMBER_LOGIN__
\n__(Password)__ : __MEMBER_PASSWORD__
\n__(Phone)__ : __MEMBER_PHONE__
\n__(PhonePerso)__ : __MEMBER_PHONEPRO__
\n__(PhoneMobile)__ : __MEMBER_PHONEMOBILE__

\n__(Sincerely)__
__USER_SIGNATURE__',NULL,'1','1',NULL,NULL,NULL,NULL,0),(3,0,'banque','thirdparty','',0,NULL,NULL,'2018-01-19 11:17:48','(YourSEPAMandate)',1,0,'__(YourSEPAMandate)__','__(Hello)__,

\n\n__(FindYourSEPAMandate)__ :
\n__MYCOMPANY_NAME__
\n__MYCOMPANY_FULLADDRESS__

\n__(Sincerely)__
\n__USER_SIGNATURE__',NULL,'1','1',NULL,NULL,NULL,NULL,0),(6,0,'adherent','member','',0,NULL,NULL,'2018-11-23 11:56:08','(SendingEmailOnAutoSubscription)',10,1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(YourMembershipRequestWasReceived)__','__(Hello)__ __MEMBER_FULLNAME__,

\n\n__(ThisIsContentOfYourMembershipRequestWasReceived)__
\n
__ONLINE_PAYMENT_TEXT_AND_URL__
\n

\n__(Sincerely)__
__USER_SIGNATURE__',NULL,'1','0',NULL,NULL,NULL,NULL,0),(7,0,'adherent','member','',0,NULL,NULL,'2018-11-23 11:56:08','(SendingEmailOnMemberValidation)',20,1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(YourMembershipWasValidated)__','__(Hello)__ __MEMBER_FULLNAME__,

\n\n__(ThisIsContentOfYourMembershipWasValidated)__
\n
__ONLINE_PAYMENT_TEXT_AND_URL__
\n

\n__(Sincerely)__
__USER_SIGNATURE__',NULL,'1','0',NULL,NULL,NULL,NULL,0),(8,0,'adherent','member','',0,NULL,NULL,'2018-11-23 11:56:08','(SendingEmailOnNewSubscription)',30,1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(YourSubscriptionWasRecorded)__','__(Hello)__ __MEMBER_FULLNAME__,

\n\n__(ThisIsContentOfYourSubscriptionWasRecorded)__
\n\n

\n__(Sincerely)__
__USER_SIGNATURE__',NULL,'1','1',NULL,NULL,NULL,NULL,0),(9,0,'adherent','member','',0,NULL,NULL,'2018-11-23 11:56:08','(SendingReminderForExpiredSubscription)',40,1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(SubscriptionReminderEmail)__','__(Hello)__ __MEMBER_FULLNAME__,

\n\n__(ThisIsContentOfSubscriptionReminderEmail)__
\n
__ONLINE_PAYMENT_TEXT_AND_URL__
\n

\n__(Sincerely)__
__USER_SIGNATURE__',NULL,'1','0',NULL,NULL,NULL,NULL,0),(10,0,'adherent','member','',0,NULL,NULL,'2018-11-23 11:56:08','(SendingEmailOnCancelation)',50,1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(YourMembershipWasCanceled)__','__(Hello)__ __MEMBER_FULLNAME__,

\n\n__(YourMembershipWasCanceled)__
\n

\n__(Sincerely)__
__USER_SIGNATURE__',NULL,'1','0',NULL,NULL,NULL,NULL,0),(11,0,'adherent','member','',0,NULL,NULL,'2018-11-23 11:56:08','(SendingAnEMailToMember)',60,1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(CardContent)__','__(Hello)__,

\n\n__(ThisIsContentOfYourCard)__
\n__(ID)__ : __ID__
\n__(Civiliyty)__ : __MEMBER_CIVILITY__
\n__(Firstname)__ : __MEMBER_FIRSTNAME__
\n__(Lastname)__ : __MEMBER_LASTNAME__
\n__(Fullname)__ : __MEMBER_FULLNAME__
\n__(Company)__ : __MEMBER_COMPANY__
\n__(Address)__ : __MEMBER_ADDRESS__
\n__(Zip)__ : __MEMBER_ZIP__
\n__(Town)__ : __MEMBER_TOWN__
\n__(Country)__ : __MEMBER_COUNTRY__
\n__(Email)__ : __MEMBER_EMAIL__
\n__(Birthday)__ : __MEMBER_BIRTH__
\n__(Photo)__ : __MEMBER_PHOTO__
\n__(Login)__ : __MEMBER_LOGIN__
\n__(Password)__ : __MEMBER_PASSWORD__
\n__(Phone)__ : __MEMBER_PHONE__
\n__(PhonePerso)__ : __MEMBER_PHONEPRO__
\n__(PhoneMobile)__ : __MEMBER_PHONEMOBILE__

\n__(Sincerely)__
__USER_SIGNATURE__',NULL,'1','0',NULL,NULL,NULL,NULL,0),(12,0,'recruitment','recruitmentcandidature_send','',0,NULL,NULL,'2020-12-10 12:24:39','(AnswerCandidature)',100,1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(YourCandidature)__','__(Hello)__ __CANDIDATE_FULLNAME__,

\n\n__(YourCandidatureAnswer)__
\n

\n__(Sincerely)__
__USER_SIGNATURE__',NULL,'$conf->recruitment->enabled','0',NULL,NULL,NULL,NULL,0),(14,0,'','eventorganization_send','',0,NULL,NULL,'2021-02-14 13:42:41','EventOrganizationEmailAskConf',10,1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(EventOrganizationEmailAskConf)__','__(Hello)__ __THIRDPARTY_NAME__,

__(ThisIsContentOfYourOrganizationEventConfRequestWasReceived)__

__ONLINE_PAYMENT_TEXT_AND_URL__


__(Sincerely)__
__USER_SIGNATURE__',NULL,'1',NULL,NULL,NULL,NULL,NULL,0),(15,0,'','eventorganization_send','',0,NULL,NULL,'2021-02-14 13:42:41','EventOrganizationEmailAskBooth',20,1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(EventOrganizationEmailAskBooth)__','__(Hello)__ __THIRDPARTY_NAME__,

__(ThisIsContentOfYourOrganizationEventBoothRequestWasReceived)__

__ONLINE_PAYMENT_TEXT_AND_URL__


__(Sincerely)__
__USER_SIGNATURE__',NULL,'1',NULL,NULL,NULL,NULL,NULL,0),(16,0,'','eventorganization_send','',0,NULL,NULL,'2021-02-14 13:42:41','EventOrganizationEmailSubsBooth',30,1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(EventOrganizationEmailSubsBooth)__','__(Hello)__ __THIRDPARTY_NAME__,

__(ThisIsContentOfYourOrganizationEventBoothSubscriptionWasReceived)__

__ONLINE_PAYMENT_TEXT_AND_URL__


__(Sincerely)__
__USER_SIGNATURE__',NULL,'1',NULL,NULL,NULL,NULL,NULL,0),(17,0,'','eventorganization_send','',0,NULL,NULL,'2021-02-14 13:42:41','EventOrganizationEmailSubsEvent',40,1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(EventOrganizationEmailSubsEvent)__','__(Hello)__ __THIRDPARTY_NAME__,

__(ThisIsContentOfYourOrganizationEventEventSubscriptionWasReceived)__

__ONLINE_PAYMENT_TEXT_AND_URL__


__(Sincerely)__
__USER_SIGNATURE__',NULL,'1',NULL,NULL,NULL,NULL,NULL,0),(18,0,'','eventorganization_send','',0,NULL,NULL,'2021-02-14 13:42:41','EventOrganizationMassEmailAttendees',50,1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(EventOrganizationMassEmailAttendees)__','__(Hello)__ __THIRDPARTY_NAME__,

__(ThisIsContentOfYourOrganizationEventBulkMailToAttendees)__

__(Sincerely)__
__USER_SIGNATURE__',NULL,'1',NULL,NULL,NULL,NULL,NULL,0),(19,0,'','eventorganization_send','',0,NULL,NULL,'2021-02-14 13:42:41','EventOrganizationMassEmailSpeakers',60,1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(EventOrganizationMassEmailSpeakers)__','__(Hello)__ __THIRDPARTY_NAME__,

__(ThisIsContentOfYourOrganizationEventBulkMailToSpeakers)__

__(Sincerely)__
__USER_SIGNATURE__',NULL,'1',NULL,NULL,NULL,NULL,NULL,0),(20,0,'partnership','member',NULL,0,NULL,NULL,'2021-04-15 10:22:55','(AlertStatusPartnershipExpiration)',100,1,'[__[MAIN_INFO_SOCIETE_NOM]__] - __(YourMembershipWillSoonExpireTopic)__','\n

Dear __MEMBER_FULLNAME__,

\n__(YourMembershipWillSoonExpireContent)__

\n
\n\n __(Sincerely)__
\n __[PARTNERSHIP_SOCIETE_NOM]__
\n \n',NULL,'1','0',NULL,NULL,NULL,NULL,0),(27,0,'partnership','partnership_send','',0,NULL,NULL,'2021-07-11 17:49:44','(SendingEmailOnPartnershipWillSoonBeCanceled)',100,1,'[__[MAIN_INFO_SOCIETE_NOM]__] - __(YourPartnershipWillSoonBeCanceledTopic)__','\n

Hello,

\n__(YourPartnershipWillSoonBeCanceledContent)__

\n
\n\n
\n\n __(Sincerely)__
\n __[MAIN_INFO_SOCIETE_NOM]__
\n \n',NULL,'1','0',NULL,NULL,NULL,NULL,0),(28,0,'partnership','partnership_send','',0,NULL,NULL,'2021-07-11 17:49:44','(SendingEmailOnPartnershipCanceled)',100,1,'[__[MAIN_INFO_SOCIETE_NOM]__] - __(YourPartnershipCanceledTopic)__','\n

Hello,

\n__(YourPartnershipCanceledContent)__

\n
\n\n
\n\n __(Sincerely)__
\n __[MAIN_INFO_SOCIETE_NOM]__
\n \n',NULL,'1','0',NULL,NULL,NULL,NULL,0),(29,0,'partnership','partnership_send','',0,NULL,NULL,'2021-07-11 17:49:44','(SendingEmailOnPartnershipRefused)',100,1,'[__[MAIN_INFO_SOCIETE_NOM]__] - __(YourPartnershipRefusedTopic)__','\n

Hello,

\n__(YourPartnershipRefusedContent)__

\n
\n\n
\n\n __(Sincerely)__
\n __[MAIN_INFO_SOCIETE_NOM]__
\n \n',NULL,'1','0',NULL,NULL,NULL,NULL,0),(30,0,'partnership','partnership_send','',0,NULL,NULL,'2021-07-11 17:49:44','(SendingEmailOnPartnershipAccepted)',100,1,'[__[MAIN_INFO_SOCIETE_NOM]__] - __(YourPartnershipAcceptedTopic)__','\n

Hello,

\n__(YourPartnershipAcceptedContent)__

\n
\n\n
\n\n __(Sincerely)__
\n __[MAIN_INFO_SOCIETE_NOM]__
\n \n',NULL,'1','0',NULL,NULL,NULL,NULL,0),(31,0,'','conferenceorbooth','',0,NULL,NULL,'2022-02-07 13:38:10','(EventOrganizationEmailAskConf)',10,1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(EventOrganizationEmailAskConf)__','__(Hello)__,

__(OrganizationEventConfRequestWasReceived)__


__(Sincerely)__
__USER_SIGNATURE__',NULL,'1',NULL,NULL,NULL,NULL,NULL,0),(32,0,'','conferenceorbooth','',0,NULL,NULL,'2022-02-07 13:38:10','(EventOrganizationEmailAskBooth)',20,1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(EventOrganizationEmailAskBooth)__','__(Hello)__,

__(OrganizationEventBoothRequestWasReceived)__


__(Sincerely)__
__USER_SIGNATURE__',NULL,'1',NULL,NULL,NULL,NULL,NULL,0),(33,0,'','conferenceorbooth','',0,NULL,NULL,'2022-02-07 13:38:10','(EventOrganizationEmailBoothPayment)',30,1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(EventOrganizationEmailBoothPayment)__','__(Hello)__,

__(OrganizationEventPaymentOfBoothWasReceived)__


__(Sincerely)__
__USER_SIGNATURE__',NULL,'1',NULL,NULL,NULL,NULL,NULL,0),(34,0,'','conferenceorbooth','',0,NULL,NULL,'2022-02-07 13:38:10','(EventOrganizationEmailRegistrationPayment)',40,1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(EventOrganizationEmailRegistrationPayment)__','__(Hello)__,

__(OrganizationEventPaymentOfRegistrationWasReceived)__

__(Sincerely)__
__USER_SIGNATURE__',NULL,'1',NULL,NULL,NULL,NULL,NULL,0),(35,0,'','conferenceorbooth','',0,NULL,NULL,'2022-02-07 13:38:10','(EventOrganizationMassEmailAttendees)',50,1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(EventOrganizationMassEmailAttendees)__','__(Hello)__,

__(OrganizationEventBulkMailToAttendees)__

__(Sincerely)__
__USER_SIGNATURE__',NULL,'1',NULL,NULL,NULL,NULL,NULL,0),(36,0,'','conferenceorbooth','',0,NULL,NULL,'2022-02-07 13:38:10','(EventOrganizationMassEmailSpeakers)',60,1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(EventOrganizationMassEmailSpeakers)__','__(Hello)__,

__(OrganizationEventBulkMailToSpeakers)__

__(Sincerely)__
__USER_SIGNATURE__',NULL,'1',NULL,NULL,NULL,NULL,NULL,0),(37,1,'sellyoursaas','thirdparty',NULL,0,NULL,NULL,'2023-01-19 12:20:13','(PasswordAssistance)',100,1,'[__[SELLYOURSAAS_NAME]__] - __(SubjectNewPasswordForYouCustomerDashboard)__','\n

\n__(Hello)__,

\n__(RequestToResetPasswordReceived)__

__(YouMustClickToChange)__

__URL_TO_RESET__

__(ApplicantIpAddress)__: __USER_REMOTE_IP__
__(ForgetIfNothing)__

\n__(Sincerely)__,

\n-----------------------------------------
The __[SELLYOURSAAS_NAME]__ Team
\nEMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n',NULL,'1','0',NULL,NULL,NULL,NULL,0),(38,1,'sellyoursaas','thirdparty',NULL,0,NULL,NULL,'2023-01-19 12:20:13','(ChannelPartnerCreated)',100,1,'[__[SELLYOURSAAS_NAME]__] - Channel Partner Created','\n

Dear __[SELLYOURSAAS_NAME]__ partner,

\nWe are delighted to welcome you as a Channel Partner of __[SELLYOURSAAS_NAME]__.\n

\n

\n Your account has been setup for you. Features for reselling __[SELLYOURSAAS_NAME]__ are now available in the same dashboard as your customer dashboard, so:\n

\n \n

\n Sincerely,
\n The __[SELLYOURSAAS_NAME]__ Team
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(39,1,'sellyoursaas','contract',NULL,0,NULL,NULL,'2023-01-19 12:20:13','InstanceDeployed',100,1,'Welcome to __[SELLYOURSAAS_NAME]__ - Your instance __REF_CLIENT__ is ready','\n

Welcome,

\nWe are delighted to welcome you as a user of __[SELLYOURSAAS_NAME]__, the Ondemand service of your __PACKAGELABEL__.\n
\n Your application is installed, setup and ready for you.\n Here are the details you need to get started:\n \n

Your __PACKAGELABEL__ :\n

\n
Your customer dashboard :\n \n \n
__EMAIL_FOOTER__

\n Sincerely,
\n The __[SELLYOURSAAS_NAME]__ Team
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(40,1,'sellyoursaas','contract',NULL,0,NULL,NULL,'2023-01-19 12:20:13','InstanceUndeployed',100,1,'[__[SELLYOURSAAS_NAME]__] - Destruction of your instance __REF_CLIENT__','\n

Dear __[SELLYOURSAAS_NAME]__ user,

\nYou made a request from your __[SELLYOURSAAS_NAME]__ customer dashboard to delete your instance __REF_CLIENT__.\n
\n Your instance was suspended and your data will be destroyed in a few days. For an immediate deletion, please click on this link:
I confirm deletion of __REF_CLIENT__ \n \n

\n Sincerely,
\n The __[SELLYOURSAAS_NAME]__ Team
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(41,1,'sellyoursaas','contract',NULL,0,NULL,NULL,'2023-01-19 12:20:13','GentleTrialExpiringReminder',100,1,'[__[SELLYOURSAAS_NAME]__] - Your trial of __REF_CLIENT__ will soon expire','\n

Dear __[SELLYOURSAAS_NAME]__ user,

\nThis is a reminder that the trial of your instance __REF_CLIENT__ will expire soon (__SELLYOURSAAS_EXPIRY_DATE__). If you wish to continue using this service, please login to your customer console to add a payment method (Credit or Debit card accepted):\n

\n

\nClick here to go on your customer console: __[SELLYOURSAAS_ACCOUNT_URL]__
\nRemind: Your customer dashboard login is __THIRDPARTY_EMAIL__

\nIf you have entered a payment mode recently, thank you to ignore this email.
\n

\n
\n Sincerely,
\n The __[SELLYOURSAAS_NAME]__ Team
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(42,1,'sellyoursaas','contract',NULL,0,NULL,NULL,'2023-01-19 12:20:13','GentleTrialExpiringReminderFreeInstance',100,1,'[__[SELLYOURSAAS_NAME]__] - Your trial of __REF_CLIENT__ will soon expire','\n

Dear __[SELLYOURSAAS_NAME]__ user,

\nThis is a reminder that the trial of your instance __REF_CLIENT__ will expire soon (__SELLYOURSAAS_EXPIRY_DATE__). If you wish to continue using this service, please login to your customer console to confirm the final validation of your instance (if you do not confirm, the instance will be destroyed soon):\n

\n

\nClick here to go on your customer console: __[SELLYOURSAAS_ACCOUNT_URL]__
\nRemind: Your customer dashboard login is __THIRDPARTY_EMAIL__

\nIf you have already confirmed your instance, thank you to ignore this email.
\n

\n
\n Sincerely,
\n The __[SELLYOURSAAS_NAME]__ Team
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(43,1,'sellyoursaas','contract',NULL,0,NULL,NULL,'2023-01-19 12:20:13','EndOfTrial',100,1,'[__[SELLYOURSAAS_NAME]__] - Your trial of __REF_CLIENT__ has come to an end','\n

Dear __[SELLYOURSAAS_NAME]__ user,

\nThank you for taking the time to check out __[SELLYOURSAAS_NAME]__. Your trial account for our service at __REF_CLIENT__ has now expired. If you wish to continue using this service, please login to your dashboard and add a payment method: __[SELLYOURSAAS_NAME]__ dashboard.

\nRemind: Your __[SELLYOURSAAS_NAME]__ dashboard login is __THIRDPARTY_EMAIL__

If you don\'t want to continue using this service, no action is needed: Your data will be automatically destroyed in a few days.


\n Sincerely,
\n The __[SELLYOURSAAS_NAME]__ Team
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(44,1,'sellyoursaas','facture_send',NULL,0,NULL,NULL,'2023-01-19 12:20:13','InvoicePaymentSuccess',100,1,'[__[SELLYOURSAAS_NAME]__] - Invoice Payment Success __REF__','\n

Dear __[SELLYOURSAAS_NAME]__ user,

\nThis email confirms a successful payment (__AMOUNT_FORMATED__) from your __[SELLYOURSAAS_NAME]__ instance __REF_CLIENT__ account. You can login to your __[SELLYOURSAAS_NAME]__ dashboard to download your PDF invoices at any time.
\nRemind: Your __[SELLYOURSAAS_NAME]__ dashboard login is __THIRDPARTY_EMAIL__
\n

\n

Direct link to download the PDF of this invoice

If you have any questions relating to the above please do not hesitate get in touch.

\n
\n\n Sincerely,
\n The __[SELLYOURSAAS_NAME]__ Team
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(45,1,'sellyoursaas','facture_send',NULL,0,NULL,NULL,'2023-01-19 12:20:13','InvoicePaymentFailure',100,1,'[__[SELLYOURSAAS_NAME]__] - Invoice Payment Failure __REF__','\n

Dear __[SELLYOURSAAS_NAME]__ user,

\nAn attempt to take payment for your __[SELLYOURSAAS_NAME]__ subscription (invoice __REF__ for the instance __REF_CLIENT__) has failed. Please update your payment method, or contact your bank or payment method provider.
\n Should failure to take this payment continue, access to our service will be discontinued, and any data you have with us maybe lost.
\n
\nPlease login to your __[SELLYOURSAAS_NAME]__ dashboard to update and fix your payment information as soon as possible to prevent any interuptions in service.
\nRemind: Your __[SELLYOURSAAS_NAME]__ dashboard login is __THIRDPARTY_EMAIL__
\n

\n

\n The error we received from your bank was:
\n __SELLYOURSAAS_PAYMENT_ERROR_DESC__\n


\n\n Sincerely,
\n The __[SELLYOURSAAS_NAME]__ Team
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(46,1,'sellyoursaas','contract',NULL,0,NULL,NULL,'2023-01-19 12:20:13','CustomerAccountSuspendedTrial',100,1,'[__[SELLYOURSAAS_NAME]__] - Account Suspension of __REF_CLIENT__ after end of trial','\n

Dear __[SELLYOURSAAS_NAME]__ user,

\nWe wish to inform you that your instance __REF_CLIENT__ has been suspended.
This is likely due to the end of your trial period. If you wish to continue using your application, please login to your __[SELLYOURSAAS_NAME]__ dashboard to enter a payment mode. Your instance access will be restored. If you don\'t want to engage with us, no action is needed: Your instance and data will we deleted in a few days.


\n Sincerely,
\n The __[SELLYOURSAAS_NAME]__ Team
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(47,1,'sellyoursaas','contract',NULL,0,NULL,NULL,'2023-01-19 12:20:13','CustomerAccountSuspended',100,1,'[__[SELLYOURSAAS_NAME]__] - Account Suspension of __REF_CLIENT__','\n

Dear __[SELLYOURSAAS_NAME]__ user,

\nWe wish to inform you that your instance __REF_CLIENT__ has been suspended.
This is likely due to a payment problem. If you wish to continue using your application, please login to your __[SELLYOURSAAS_NAME]__ dashboard to fix your payment mode. Your instance access will be restored. If you don\'t want to continue with us, just ignore this email and following reminders: Your instance and data will we deleted in a few weeks.


\n
\n Sincerely,
\n The __[SELLYOURSAAS_NAME]__ Team
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(48,1,'sellyoursaas','contract',NULL,0,NULL,NULL,'2023-01-19 12:20:13','CustomerInstanceUpgraded',100,1,'[__[SELLYOURSAAS_NAME]__] - Upgrade of instance __REF_CLIENT__','\n

Dear __[SELLYOURSAAS_NAME]__ user,

\nWe wish to inform you your instance has been upgraded to a higher stable version.
If you experience problem after this upgrade, you can contact us at __[SELLYOURSAAS_MAIN_EMAIL]__


\n Sincerely,
\n The __[SELLYOURSAAS_NAME]__ Team
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(49,1,'sellyoursaas','thirdparty',NULL,0,NULL,NULL,'2023-01-19 12:20:13','YourYearlyPaymentRequest',100,1,'[__[SELLYOURSAAS_NAME]__] - Your yearly payment request for your __[SELLYOURSAAS_NAME]__ subscription','\n

Dear __[SELLYOURSAAS_NAME]__ user,

\nYour request to make a yearly payment for the subscription to __[SELLYOURSAAS_NAME]__ was recorded. Just after next deadline, the payment will be done for the full year.
For payment per credit/debit card, you will receive an email to make the payment online.

\nThe __[SELLYOURSAAS_NAME]__ Team
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(50,1,'sellyoursaas','facture_send',NULL,0,NULL,NULL,'2023-01-19 12:20:13','YourPaymentRemind',100,1,'[__[SELLYOURSAAS_NAME]__] - Reminder for paying your __[SELLYOURSAAS_NAME]__ subscription','\n

Dear __[SELLYOURSAAS_NAME]__ user,

\nExcept error on our part, the invoice __REF__ for your subscription to __[SELLYOURSAAS_NAME]__ service seems to be unpaid. This is a remind of the link to download your invoice and to use the pay online your subscription (the covered period appears on the invoice). We recommend you to pay within a delay of 7 days to avoid any suspension of service.
__ONLINE_PAYMENT_URL__&suffix=__[SELLYOURSAAS_NAME]__

\nThe __[SELLYOURSAAS_NAME]__ Team
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(51,1,'sellyoursaas','facture_send',NULL,0,NULL,NULL,'2023-01-19 12:20:13','YourLinkForYourPayment',100,1,'[__[SELLYOURSAAS_NAME]__] - Request for the payment of your __[SELLYOURSAAS_NAME]__ subscription','\n

Dear __[SELLYOURSAAS_NAME]__ user,

\nA new period will start for your subscription to __[SELLYOURSAAS_NAME]__ service. This is the link to download your invoice and to use the pay online your subscription (the covered period appears on the invoice). We recommend you to pay within a delay of 15 days to avoid any suspension of service.
__ONLINE_PAYMENT_URL__&suffix=__[SELLYOURSAAS_NAME]__

\nThe __[SELLYOURSAAS_NAME]__ Team
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(52,1,'sellyoursaas','thirdparty',NULL,0,NULL,NULL,'2023-01-19 12:20:13','(AlertCreditCardExpiration)',100,1,'[__[SELLYOURSAAS_NAME]__] - Your credit card is expiring','\n

Dear __[SELLYOURSAAS_NAME]__ user,

\nWe wish to inform you that your payment method (Credit card ....__CARD_LAST4__) will soon expire.
\n \n Please login to your __[SELLYOURSAAS_NAME]__ dashboard to update your credit card information as soon as possible to prevent any interuptions in service.
\nRemind: Your DoliCloud dashboard login is __THIRDPARTY_EMAIL__
\n

\n

If you have any questions relating to the above please do not hesitate get in touch.

\n
\n\n Sincerely,
\n The __[SELLYOURSAAS_NAME]__ Team
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(53,1,'sellyoursaas','contract','fr_FR',0,NULL,NULL,'2023-01-19 12:20:13','InstanceDeployed',100,1,'Bienvenue sur __[SELLYOURSAAS_NAME]__ - Votre instance __REF_CLIENT__ est prête','\n

Bienvenue,

\nNous sommes heureux de vous accueillir comme utilisateur/utilisatrice de __[SELLYOURSAAS_NAME]__, le service à la demande de votre __PACKAGELABEL__.\n
\n Votre application est installée, configurée et prête pour vous.\n Voici les détails à connaitre pour démarrer:\n \n

Votre __PACKAGELABEL__ :\n

\n
Votre espace client :\n \n \n
__EMAIL_FOOTER__

\n Cordialement,
\n L\'équipe __[SELLYOURSAAS_NAME]__
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(54,1,'sellyoursaas','contract','fr_FR',0,NULL,NULL,'2023-01-19 12:20:13','InstanceUndeployed',100,1,'[__[SELLYOURSAAS_NAME]__] - Destruction de votre instance __REF_CLIENT__','\n

Cher utilisateur/utilisatrice __[SELLYOURSAAS_NAME]__,

\nVous avez réalisé une demande depuis votre espace client __[SELLYOURSAAS_NAME]__ afin de détruire votre instance __REF_CLIENT__.\n
\n Votre instance a déjà été suspendue et vos données seront détruites dans quelques jours. Pour une destruction immédiate, cliquez le lien suivant:
Je confirme la destruction de __REF_CLIENT__ \n \n

\n Cordialement,
\n L\'équipe __[SELLYOURSAAS_NAME]__
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(55,1,'sellyoursaas','contract','fr_FR',0,NULL,NULL,'2023-01-19 12:20:13','GentleTrialExpiringReminder',100,1,'[__[SELLYOURSAAS_NAME]__] - Votre période d\'essai pour __REF_CLIENT__ expire bientôt','\n

Cher utilisateur/utilisatrice __[SELLYOURSAAS_NAME]__,

\nCeci est un rappel pour vous informer que votre période de test pour l\'instance __REF_CLIENT__ va bientot expirer (le __SELLYOURSAAS_EXPIRY_DATE__). Si vous désirez continuer à utiliser le service, merci de vous logguer à votre espace client pour ajouter un mode de paiement (Carte de crédit ou débit).\n

\n

\nPour cela, cliquer ici pour basculer sur votre espace client: __[SELLYOURSAAS_ACCOUNT_URL]__
\nRappel: Votre login de l\'espace client est __THIRDPARTY_EMAIL__

\nSi vous avez renseigné un mode de paiement récemment, merci d\'ignorer cet email.
\n

\n
\n Cordialement,
\n L\'équipe __[SELLYOURSAAS_NAME]__
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(56,1,'sellyoursaas','contract','fr_FR',0,NULL,NULL,'2023-01-19 12:20:13','EndOfTrial',100,1,'[__[SELLYOURSAAS_NAME]__] - Votre période d\'essai pour __REF_CLIENT__ est terminée','\n

Cher utilisateur/utilisatrice __[SELLYOURSAAS_NAME]__,

\nMerci d\'avoir pris le temps de tester __[SELLYOURSAAS_NAME]__. Votre période d\'essai pour le service __REF_CLIENT__ est maintenant expirée. Si vous désirez continuer à utiliser ce service, merci de vous connecter à votres espace client et ajouter un mode de paiement: Espace client __[SELLYOURSAAS_NAME]__.

\nRappel: Votre login de l\'espace client est __THIRDPARTY_EMAIL__

Si vous ne désirez plus utiliser le service, ignorez simplement ce dernier rappel. Vos données seront automatiquement détruites dans quelques jours.


\n Cordialement,
\n L\'équipe __[SELLYOURSAAS_NAME]__
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(57,1,'sellyoursaas','facture_send','fr_FR',0,NULL,NULL,'2023-01-19 12:20:13','InvoicePaymentSuccess',100,1,'[__[SELLYOURSAAS_NAME]__] - Paiement réussi de la facture __REF__','\n

Cher utilisateur/utilisatrice __[SELLYOURSAAS_NAME]__,

\nCet email confirme un paiement avec succès (__AMOUNT_FORMATED__) pour votre instance __[SELLYOURSAAS_NAME]__ __REF_CLIENT__. Vous pouvez vous logguer sur votre Espace client __[SELLYOURSAAS_NAME]__ pour télécharger vos factures PDF à tout moment.
\nRappel: Votre login de votre Espace Client __[SELLYOURSAAS_NAME]__ est __THIRDPARTY_EMAIL__
\n

\n

Lien direct pour télécharger le PDF de cette facture

Si vous avez des questions en rapport avec ce message, n\'hésitez pas à nous contacter.

\n
\n\n Cordialement,
\n L\'équipe __[SELLYOURSAAS_NAME]__
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(58,1,'sellyoursaas','facture_send','fr_FR',0,NULL,NULL,'2023-01-19 12:20:13','InvoicePaymentFailure',100,1,'[__[SELLYOURSAAS_NAME]__] - Paiement en échec de la facture __REF__','\n

Cher utilisateur/utilisatrice __[SELLYOURSAAS_NAME]__,

\nUne tentative pour réaliser le paiement de votre abonnement __[SELLYOURSAAS_NAME]__ (facture __REF__ pour l\'instance __REF_CLIENT__) a échoué.\n\nMerci de vérifier/mettre à jour votre mode de paiement, ou contacter votre banque ou fournisseur de votre mode de paiement pour autoriser les prochaines tentatives si ce dernier est bien correct.
\n Plusieurs tentatives seront réalisées mais au cas où les échecs de paiements se prolongeraient, l\'accès au service pourrait être interrompu (et vos données pourraient être détruites 2 mois après).
\n
\nMerci de vous logguer à votre Espace Client __[SELLYOURSAAS_NAME]__ pour corriger votre mode de paiement si ce dernier le nécessite, pour éviter toute interruption de service.
\nRappel: Votre login d\'accès à l\'Espace Client __[SELLYOURSAAS_NAME]__ est __THIRDPARTY_EMAIL__
\n

\n

\n L\'erreur renvoyée par votre banque est la suivante:
\n __SELLYOURSAAS_PAYMENT_ERROR_DESC__\n


\n\n Cordialement,
\n L\'équipe __[SELLYOURSAAS_NAME]__
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(59,1,'sellyoursaas','contract','fr_FR',0,NULL,NULL,'2023-01-19 12:20:13','CustomerAccountSuspendedTrial',100,1,'[__[SELLYOURSAAS_NAME]__] - Suspension de l\'instance __REF_CLIENT__ après fin de période d\'essai','\n

Cher utilisateur/utilisatrice __[SELLYOURSAAS_NAME]__,

\nNous attirons votre attention sur le fait que votre instance __REF_CLIENT__ a été suspendue.
Ceci est probablement due à la fin de votre période d\'essai. Si vous désirez continuer à utiliser l\'application, merci de vous connecter à votre Espace Client __[SELLYOURSAAS_NAME]__ pour entrer un mode de paiement. L\'accès à votre instance sera alors rétabli immédiatement. Si vous ne désirez pas continuer, ignorez simplement cet email et votre instance et ses données seront détruites dans quelques jours.


\n Cordialement,
\n L\'équipe __[SELLYOURSAAS_NAME]__
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(60,1,'sellyoursaas','contract','fr_FR',0,NULL,NULL,'2023-01-19 12:20:13','CustomerAccountSuspended',100,1,'[__[SELLYOURSAAS_NAME]__] - Suspension de l\'instance __REF_CLIENT__','\n

Cher utilisateur/utilisatrice __[SELLYOURSAAS_NAME]__,

\nNous attirons votre attention sur le fait que votre instance __REF_CLIENT__ a été suspendue.
Ceci est probablement due à des problèmes de paiements. Si vous désirez continuer à utiliser l\'application, merci de vous connecter à votre Espace Client __[SELLYOURSAAS_NAME]__ pour entrer un mode de paiement. L\'accès à votre instance sera alors rétabli immédiatement. Si vous ne désirez pas continuer, ignorez simplement cet email et les autres rappels à venir, et votre instance et ses données seront détruites dans quelques semaines.


\n Cordialement,
\n L\'équipe __[SELLYOURSAAS_NAME]__
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(61,1,'sellyoursaas','contract','fr_FR',0,NULL,NULL,'2023-01-19 12:20:13','CustomerInstanceUpgraded',100,1,'[__[SELLYOURSAAS_NAME]__] - Mise à jour de l\'instance __REF_CLIENT__','\n

Cher utilisateur/utilisatrice __[SELLYOURSAAS_NAME]__,

\nNous vous informons que votre instance a été mise à jour sur une version stable supérieure.
Si vous rencontrez des difficultés après cette mise à jour, contacter nous à __[SELLYOURSAAS_MAIN_EMAIL]__


\n Cordialement,
\n L\'équipe __[SELLYOURSAAS_NAME]__
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(62,1,'sellyoursaas','thirdparty','fr_FR',0,NULL,NULL,'2023-01-19 12:20:13','YourYearlyPaymentRequest',100,1,'[__[SELLYOURSAAS_NAME]__] - Votre demande de paiement annuel pour votre abonnement __[SELLYOURSAAS_NAME]__','\n

Cher utilisateur/utilisatrice __[SELLYOURSAAS_NAME]__,

\nVotre demande de paiement annuel pour l\'abonnement au service __[SELLYOURSAAS_NAME]__ a été enregistrée. A la prochaine échance, le paiement se fera pour une année entière.
Dans le cas de paiement par carte, vous recevrez un mail, peu après le début de la nouvelle période annuelle pour réaliser le paiement en ligne.

\nL\'équipe __[SELLYOURSAAS_NAME]__
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(63,1,'sellyoursaas','facture_send','fr_FR',0,NULL,NULL,'2023-01-19 12:20:13','YourPaymentRemind',100,1,'[__[SELLYOURSAAS_NAME]__] - Relance paiement abonnement __[SELLYOURSAAS_NAME]__','\n

Cher utilisateur/utilisatrice __[SELLYOURSAAS_NAME]__,

\nSauf erreur de notre part, la facture __REF__ pour votre abonnement au service __[SELLYOURSAAS_NAME]__ n\'a pas encore été payée. Voici un rappel du lien permettant de télécharger la facure et réaliser le paiement en ligne (la période couverte apparait sur la facture). Nous vous recommandons de réaliser le paiement dans un délai de 7 jours afin d\'éviter la suspension du service.
__ONLINE_PAYMENT_URL__&suffix=__[SELLYOURSAAS_NAME]__

\nL\'équipe __[SELLYOURSAAS_NAME]__
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(64,1,'sellyoursaas','facture_send','fr_FR',0,NULL,NULL,'2023-01-19 12:20:13','YourLinkForYourPayment',100,1,'[__[SELLYOURSAAS_NAME]__] - Requête pour le paiement de votre abonnement __[SELLYOURSAAS_NAME]__','\n

Cher utilisateur/utilisatrice __[SELLYOURSAAS_NAME]__,

\nUne nouvelle période démarre pour votre abonnement au service __[SELLYOURSAAS_NAME]__. Voici le lien à utiliser pour télécharger votre facture et réaliser le paiement en ligne (la période couverte apparait sur la facture). Nous vous recommandons de payer dans un délai de 15 jours pour éviter toute suspension de service ultérieure.
__ONLINE_PAYMENT_URL__&suffix=__[SELLYOURSAAS_NAME]__

L\'équipe __[SELLYOURSAAS_NAME]__
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(65,1,'sellyoursaas','thirdparty','fr_FR',0,NULL,NULL,'2023-01-19 12:20:13','(AlertCreditCardExpiration)',100,1,'[__[SELLYOURSAAS_NAME]__] - Expiration de votre carte bancaire','\n

Cher utilisateur/utilisatrice __[SELLYOURSAAS_NAME]__,

\nNous voulions vous informer que votre mode de paiement (Carte bancaire ....__CARD_LAST4__) va bientôt expirer.
\n \n Merci de vous logguez sur votre espace client __[SELLYOURSAAS_NAME]__ pour mettre à jour vos informations de paiement, dès que possible, afin de prévenir toute interruption de service.
\nRappel: Le login de votre espace client est __THIRDPARTY_EMAIL__
\n

\n

Si vous avez des questions sur ce point, ne pas hésitez à nous contacter.

\n
\n
\n Cordialement,
\n L\'équipe __[SELLYOURSAAS_NAME]__
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(66,1,'sellyoursaas','contract','es_ES',0,NULL,NULL,'2023-01-19 12:20:13','InstanceDeployed',100,1,'Bienvenido a __[SELLYOURSAAS_NAME]__ - Su instancia __REF_CLIENT__ está lista','\n

Bienvenida,

\nEstamos muy contentos de ternerle como usuario de __[SELLYOURSAAS_NAME]__, el servicio en línea de sus aplicaciones __PACKAGELABEL__.\n
\n Su aplicación ya se encuentra instalada y disponible para su uso.\n Aquí están los detalles que necesita para acceder.:\n \n

Su aplicación __PACKAGELABEL__ :\n

\n
Su área de cliente :\n \n \n
__EMAIL_FOOTER__

\n El equipo __[SELLYOURSAAS_NAME]__
\n -----------------------------------------
\n E-Mail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(67,1,'sellyoursaas','contract','es_ES',0,NULL,NULL,'2023-01-19 12:20:13','InstanceUndeployed',100,1,'[__[SELLYOURSAAS_NAME]__] - Destrucción de su instancia __REF_CLIENT__','\n

Estimado usuario de __[SELLYOURSAAS_NAME]__,

\nHiciste una solicitud desde tu panel de control del cliente __[SELLYOURSAAS_NAME]__ para eliminar tu instancia __REF_CLIENT__.\n
\n Su instancia fue suspendida y sus datos serán destruidos en pocos días. Para una eliminación inmediata, haga clic en este enlace:
Confirmo la eliminación de __REF_CLIENT__ \n \n

\n El equipo __[SELLYOURSAAS_NAME]__
\n -----------------------------------------
\n E-Mail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(68,1,'sellyoursaas','contract','es_ES',0,NULL,NULL,'2023-01-19 12:20:13','GentleTrialExpiringReminder',100,1,'[__[SELLYOURSAAS_NAME]__] - Su periodo de prueba para __REF_CLIENT__ expira pronto','\n

Estimado usuario de __[SELLYOURSAAS_NAME]__,

\nSu periodo de prueba de su instancia __REF_CLIENT__ termina pronto (el __SELLYOURSAAS_EXPIRY_DATE__). Si desea continuar usando el servicio, le agradeceríamos se conectara a su área de cliente para añadir un modo de pago:\n

\n

\nHaga clic aquí para ir a la consola de su cliente: __[SELLYOURSAAS_ACCOUNT_URL]__
\nRecuerde: Su login de acceso a su área de cliente __[SELLYOURSAAS_NAME]__ es __THIRDPARTY_EMAIL__

\nSi ha ingresado recientemente en un modo de pago, gracias por ignorar este e-mail.
\n

\n
\n El equipo __[SELLYOURSAAS_NAME]__
\n -----------------------------------------
\n E-Mail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(69,1,'sellyoursaas','contract','es_ES',0,NULL,NULL,'2023-01-19 12:20:13','EndOfTrial',100,1,'[__[SELLYOURSAAS_NAME]__] - Su periodo de prueba para __REF_CLIENT__ ha expirado','\n

Estimado usuario de __[SELLYOURSAAS_NAME]__,

\nLe damos las gracias por tomarse el tiempo de probar __[SELLYOURSAAS_NAME]__. Su periodo de prueba de __REF_CLIENT__ ha expirado. Si desea continuar usando nuestro servicio, le agradeceríamos se conectara a su área de cliente y añada un modo de pago: __[SELLYOURSAAS_NAME]__ dashboard.

\nRecuerde: Su login de acceso a su área de cliente __[SELLYOURSAAS_NAME]__ es __THIRDPARTY_EMAIL__

Su instancia se conservará tanto tiempo como desee. Por el contrario, si no desea continuar usando el servicio, simplemente ignore esta alerta. Sus datos y su cuenta serán eliminados en pocos dias.


\n El equipo __[SELLYOURSAAS_NAME]__
\n -----------------------------------------
\n E-Mail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(70,1,'sellyoursaas','facture_send','es_ES',0,NULL,NULL,'2023-01-19 12:20:13','InvoicePaymentSuccess',100,1,'[__[SELLYOURSAAS_NAME]__] - Pago de la factura __REF__ realizado','\n

Estimado usuario de __[SELLYOURSAAS_NAME]__,

\nEste correo electrónico confirma el pago exitoso (__AMOUNT_FORMATED__) de su cuenta __[SELLYOURSAAS_NAME]__ __REF_CLIENT__. Puede iniciar sesión en su area de cliente __[SELLYOURSAAS_NAME]__ para descargar sus facturas en PDF en cualquier momento.
\nRecuerde: Su login de acceso a su área de cliente __[SELLYOURSAAS_NAME]__ es __THIRDPARTY_EMAIL__
\n

\n

Enlace directo a su factura en PDF

Si tiene alguna pregunta relacionada con lo anterior, no dude en ponerse en contacto.

\n
\n\n El equipo __[SELLYOURSAAS_NAME]__
\n -----------------------------------------
\n E-Mail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(71,1,'sellyoursaas','facture_send','es_ES',0,NULL,NULL,'2023-01-19 12:20:13','InvoicePaymentFailure',100,1,'[__[SELLYOURSAAS_NAME]__] - Error en el pago de la factura __REF__','\n

Estimado usuario de __[SELLYOURSAAS_NAME]__,

\nSe produjo un error al intentar realizar el pago de su suscripción a __[SELLYOURSAAS_NAME]__ (factura __REF__ para la aplicación __REF_CLIENT__). Actualice su método de pago o comuníquese con su banco o proveedor de métodos de pago.
\n Si no continúa este pago, se suspenderá el acceso a nuestro servicio y es posible que pierda los datos que tenga con nosotros.
\n
\nInicie sesión en su area de client __[SELLYOURSAAS_NAME]__ para actualizar y corregir su tarjeta de crédito lo antes posible para evitar cualquier interupción en el servicio.
\nRecuerde: Su login de acceso a su área de cliente __[SELLYOURSAAS_NAME]__ es __THIRDPARTY_EMAIL__
\n

\n

\n El error que recibimos de su banco fue:
\n __SELLYOURSAAS_PAYMENT_ERROR_DESC__\n


\n\n El equipo __[SELLYOURSAAS_NAME]__
\n -----------------------------------------
\n E-Mail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(72,1,'sellyoursaas','contract','es_ES',0,NULL,NULL,'2023-01-19 12:20:13','CustomerAccountSuspendedTrial',100,1,'[__[SELLYOURSAAS_NAME]__] - Suspensión de la instancia __REF_CLIENT__ una vez finalizado el período de prueba','\n

Estimado usuario de __[SELLYOURSAAS_NAME]__,

\nQueremos informarle que su instancia __REF_CLIENT__ ha sido suspendida.
Es probable que esto se deba al final de su período de prueba. Si desea continuar usando su aplicación, inicie sesión en su area de cliente __[SELLYOURSAAS_NAME]__ para ingresar a un modo de pago. El acceso a su instancia será restaurado. Si no desea participar con nosotros, simplemente ignore este correo electrónico y su instancia se eliminará en pocos días.


\n El equipo __[SELLYOURSAAS_NAME]__
\n -----------------------------------------
\n E-Mail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(73,1,'sellyoursaas','contract','es_ES',0,NULL,NULL,'2023-01-19 12:20:13','CustomerAccountSuspended',100,1,'[__[SELLYOURSAAS_NAME]__] - Suspensión de la instancia __REF_CLIENT__','\n

Estimado usuario de __[SELLYOURSAAS_NAME]__,

\nQueremos informarle que su instancia __REF_CLIENT__ ha sido suspendida.
Esto es probablemente debido a un problema de pago. Si desea continuar usando su aplicación, inicie sesión en su area de cliente __[SELLYOURSAAS_NAME]__ para corregir su modo de pago. El acceso a su instancia será restaurado. Si no desea continuar con nosotros, simplemente ignore este correo electrónico y siga los recordatorios, y su instancia y sus datos serán eliminados en unas pocas semanas.


\n
\n El equipo __[SELLYOURSAAS_NAME]__
\n -----------------------------------------
\n E-Mail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(74,1,'sellyoursaas','contract','es_ES',0,NULL,NULL,'2023-01-19 12:20:13','CustomerInstanceUpgraded',100,1,'[__[SELLYOURSAAS_NAME]__] - Actualización de la instancia __REF_CLIENT__','\n

Estimado usuario de __[SELLYOURSAAS_NAME]__,

\nDeseamos informarle que su instancia se ha actualizado a una versión estable superior.
Si tiene algún problema después de esta actualización, puede contactarnos a __[SELLYOURSAAS_MAIN_EMAIL]__


\n El equipo __[SELLYOURSAAS_NAME]__
\n -----------------------------------------
\n E-Mail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(75,1,'sellyoursaas','thirdparty','es_ES',0,NULL,NULL,'2023-01-19 12:20:13','YourYearlyPaymentRequest',100,1,'[__[SELLYOURSAAS_NAME]__] - Su solicitud de pago anual para su suscripción __[SELLYOURSAAS_NAME]__','\n

Estimado usuario de __[SELLYOURSAAS_NAME]__,

\nSu solicitud de pago anual para su suscripción al servicio __[SELLYOURSAAS_NAME]__ ha sido registrado. En el próximo vencimiento, el pago será por un año completo..
En el caso del pago con tarjeta, recibirá un e-mail, poco después del comienzo del nuevo período anual para realizar el pago en línea.

\nEl equipo __[SELLYOURSAAS_NAME]__
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(76,1,'sellyoursaas','facture_send','es_ES',0,NULL,NULL,'2023-01-19 12:20:13','YourPaymentRemind',100,1,'[__[SELLYOURSAAS_NAME]__] - Pago de renovación de su suscripción a __[SELLYOURSAAS_NAME]__','\n

Estimado usuario de __[SELLYOURSAAS_NAME]__,

\nSalvo error por nuestra parte, la factura __REF__ de su suscripción al servicio __[SELLYOURSAAS_NAME]__ aún no ha sido pagada. Aquí hay un recordatorio del enlace para descargar la facutura y hacer el pago en línea (el período cubierto aparece en la factura). Le recomendamos que realice el pago dentro de los 7 días para evitar la suspensión del servicio.
__ONLINE_PAYMENT_URL__&suffix=__[SELLYOURSAAS_NAME]__

\nEl equipo __[SELLYOURSAAS_NAME]__
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(77,1,'sellyoursaas','facture_send','es_ES',0,NULL,NULL,'2023-01-19 12:20:13','YourLinkForYourPayment',100,1,'[__[SELLYOURSAAS_NAME]__] - Solicitud de pago de su suscripción __[SELLYOURSAAS_NAME]__','\n

Estimado usuario de __[SELLYOURSAAS_NAME]__,

\nComienza un nuevo período para su suscripción al servicio __[SELLYOURSAAS_NAME]__. Aquí está el enlace para descargar su factura y realizar el pago en línea (el período cubierto aparece en la factura). Le recomendamos que pague dentro de los 15 días para evitar la suspensión del servicio.
__ONLINE_PAYMENT_URL__&suffix=__[SELLYOURSAAS_NAME]__

\nEl equipo __[SELLYOURSAAS_NAME]__
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(78,1,'sellyoursaas','thirdparty','es_ES',0,NULL,NULL,'2023-01-19 12:20:13','(AlertCreditCardExpiration)',100,1,'[__[SELLYOURSAAS_NAME]__] - Caducidad de su tarjeta bancaria','\n

Estimado usuario de __[SELLYOURSAAS_NAME]__,

\nQueríamos informarle que su método de pago (tarjeta bancaria ....__CARD_LAST4__) caducará pronto.
\n \nInicie sesión en su área de cliente __[SELLYOURSAAS_NAME]__ para actualizar su información de pago lo antes posible a fin de evitar cualquier interrupción del servicio.
\nRappel: Le login de votre espace client est __THIRDPARTY_EMAIL__Recordatorio: el inicio de sesión de su área de cliente es __THIRDPARTY_EMAIL__
\n

\n

Si tiene alguna pregunta sobre este punto, no dude en ponerse en contacto con nosotros.

\n
\n El equipo __[SELLYOURSAAS_NAME]__
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(79,1,'sellyoursaas','contract','de_DE',0,NULL,NULL,'2023-01-19 12:20:13','InstanceDeployed',100,1,'Willkommen beim __[SELLYOURSAAS_NAME]__ - Ihre Instanz __REF_CLIENT__ steht bereit','\n

Herzlich willkommen,

\nwir freuen uns, Sie als neuen Nutzer des __[SELLYOURSAAS_NAME]__ als Plattform für das Cloud-Angebot __PACKAGELABEL__ zu begrüßen.\n
\nIhre Anwendung wurde installiert und für Sie eingerichtet und steht jetzt zur Nutzung bereit.\nFür den Start hier einige Informationen:\n \n

Ihre Instanz __PACKAGELABEL__ :\n

\n
Ihr __[SELLYOURSAAS_MAIN_EMAIL]__-Kundenkonto:\n \n \n
__EMAIL_FOOTER__

\n Freundliche Grüße,
\n Ihr __[SELLYOURSAAS_NAME]__-Team
\n -----------------------------------------
\n E-Mail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(80,1,'sellyoursaas','contract','de_DE',0,NULL,NULL,'2023-01-19 12:20:13','InstanceUndeployed',100,1,'[__[SELLYOURSAAS_NAME]__] - Löschung Ihrer Instanz __REF_CLIENT__','\n

Lieber __[SELLYOURSAAS_NAME]__-Nutzer,

\nSie haben in Ihrem __[SELLYOURSAAS_NAME]__-Kundenkonto darum gebeten, Ihre Instanz __REF_CLIENT__ zu löschen.\n
\nIhre Instanz wurde jetzt gesperrt und die Daten werden in den nächsten Tagen automatisch gelöscht. Sollen die Daten sofort gelöscht werden, klicken Sie bitte auf diesen Link:
Ich wünsche die sofortige Löschun von __REF_CLIENT__ \n \n

\n Freundliche Grüße,
\n Ihr __[SELLYOURSAAS_NAME]__-Team
\n -----------------------------------------
\n E-Mail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(81,1,'sellyoursaas','contract','de_DE',0,NULL,NULL,'2023-01-19 12:20:13','GentleTrialExpiringReminder',100,1,'[__[SELLYOURSAAS_NAME]__] - Ihr Probezeitraum für __REF_CLIENT__ läuft bald ab','\n

Lieber __[SELLYOURSAAS_NAME]__-Nutzer,

\nDies ist eine Erinnerung, dass Ihr Probezeitraum für die Instanz __REF_CLIENT__ in kürze abläuft (__SELLYOURSAAS_EXPIRY_DATE__). Falls Sie diese Instanz weiter nutzen möchten, loggen Sie sich bitte im __[SELLYOURSAAS_NAME]__-Kundenkonto ein und fügen ein Zahlungsmittel hinzu (Kreditkarte):\n

\n

\nHier klicken, um zum Kundenkonto zu gelangen: __[SELLYOURSAAS_ACCOUNT_URL]__
\nErinnerung: Ihr Login für das Kundenkonto lautet __THIRDPARTY_EMAIL__

\nFalls Sie bereits vor kurzem ein Zahlungsmittel hinterlegt haben, ignorieren Sie diese E-Mail bitte.
\n

\n
\n Freundliche Grüßé,
\n Ihr __[SELLYOURSAAS_NAME]__-Team
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(82,1,'sellyoursaas','contract','de_DE',0,NULL,NULL,'2023-01-19 12:20:13','EndOfTrial',100,1,'[__[SELLYOURSAAS_NAME]__] - Ihr Probezeitraum für __REF_CLIENT__ ist abgelaufen','\n

Lieber __[SELLYOURSAAS_NAME]__-Nutzer,

\nVielen Dank, dass Sie sich die Zeit genommen haben, Leistungen des __[SELLYOURSAAS_NAME]__ auszuprobieren. Ihr Probezeitraum für die Instanz __REF_CLIENT__ ist jetzt abgelaufen. Falls Sie die Instanz weiterhin nutzen möchten, loggen Sie sich bitte im Kundenkonto ein und hinterlegen ein Zahlungsmittel: __[SELLYOURSAAS_NAME]__-Kundenkonto.

\nErinnerung: Ihr Login zum __[SELLYOURSAAS_NAME]__-Kundenkonto login lautet __THIRDPARTY_EMAIL__

Falls Sie die Instanz nicht weiter nutzen wollen, ist keine weitere Aktion erforderlich: Ihre Daten werden innerhalb der nächsten tage automatisch gelöscht.


\n Freundliche Grüße,
\n Ihr __[SELLYOURSAAS_NAME]__-Team
\n -----------------------------------------
\n E-Mail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(83,1,'sellyoursaas','facture_send','de_DE',0,NULL,NULL,'2023-01-19 12:20:13','InvoicePaymentSuccess',100,1,'[__[SELLYOURSAAS_NAME]__] - Erfolgreiche Bezahlung der Rechnung __REF__','\n

Lieber __[SELLYOURSAAS_NAME]__-Nutzer,

\nHiermit bestätigen wir die erfolgreiche Zahlung von (__AMOUNT_FORMATED__) für Ihre __[SELLYOURSAAS_NAME]__ Instanz __REF_CLIENT__. Um Ihre Rechnungen herunterzuladen, können Sie sich jederzeit im __[SELLYOURSAAS_NAME]__-Kundenkonto einloggen.
\nErinnerung: Ihr Login zum __[SELLYOURSAAS_NAME]__-Kundenkonto lautet __THIRDPARTY_EMAIL__
\n

\n

Direkter Link um diese Rechnung als PDF herunterzuladen

Bei Fragen zögern Sie bitte nicht uns zu kontaktieren.

\n
\n\n Freundliche Grüße,
\n Ihr __[SELLYOURSAAS_NAME]__-Team
\n -----------------------------------------
\n E-Mail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(84,1,'sellyoursaas','facture_send','de_DE',0,NULL,NULL,'2023-01-19 12:20:13','InvoicePaymentFailure',100,1,'[__[SELLYOURSAAS_NAME]__] - Fehler bei der Bezahlung der Rechnung __REF__','\n

Lieber __[SELLYOURSAAS_NAME]__-Nutzer,

\nEin Versuch, die Bezahlung für Ihre Leistungen des __[SELLYOURSAAS_NAME]__ vorzunehmen (Rechnung __REF__ für die Instanz __REF_CLIENT__) ist fehlgeschlagen. Bitte aktualisieren Sie das hinterlegte Zahlungsmittel oder kontaktieren Sie Ihre Bank bzw. Kreditkartenherausgeber.
\n Sollte die Bezahlung auch weiterhin nicht möglich sein, wird der Zugang zu Ihrer Instanz automatisch gesperrt und die Daten nach einer weiteren Übergangsfrist gelöscht.
\n
\nBitte loggen Sie sich im __[SELLYOURSAAS_NAME]__-Kundenkonto ein, um das hinterlegt Zahlungsmittel so schnell wie möglich zu aktualisieren um eine Unterbrechung der Leistung zu vermeiden.
\nErinnerung: Ihr Login zum __[SELLYOURSAAS_NAME]__-Kundenkonto lautet __THIRDPARTY_EMAIL__
\n

\n

\n Die Fehlermeldung bei der Zahlungsdurchführung lautet:
\n __SELLYOURSAAS_PAYMENT_ERROR_DESC__\n


\n\n Freundliche Grüße,
\n Ihr __[SELLYOURSAAS_NAME]__-Team
\n -----------------------------------------
\n E-Mail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(85,1,'sellyoursaas','contract','de_DE',0,NULL,NULL,'2023-01-19 12:20:13','CustomerAccountSuspendedTrial',100,1,'[__[SELLYOURSAAS_NAME]__] - Sperrung der Instanz __REF_CLIENT__ nach Ablauf des Probezeitraums','\n

Lieber __[SELLYOURSAAS_NAME]__-Nutzer,

\nWir möchten Sie darüber informieren, dass Ihre Instanz __REF_CLIENT__ gesperrt wurde.
Der Grund hierfür ist in der Regel der Ablauf Ihres Probezeitraums. Falls Sie Ihre Instanz weiterhin nutzen möchten, loggen Sie sich in Ihr __[SELLYOURSAAS_NAME]__-Kundenkonto ein, um ein Zahlungsmittel zu hinterlegen. Danach wird die Sperrung wieder aufgehoben und der Zugang ist wieder möglich. Falls Sie die Instanz nicht weiter nutzen möchten, müssen Sie nichts weiter tun: Ihre Instanz und Ihre Daten werden in den kommenden Tagen automatisch gelöscht.


\n Freundliche Grüße,
\n Ihr __[SELLYOURSAAS_NAME]__-Team
\n -----------------------------------------
\n E-Mail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(86,1,'sellyoursaas','contract','de_DE',0,NULL,NULL,'2023-01-19 12:20:13','CustomerAccountSuspended',100,1,'[__[SELLYOURSAAS_NAME]__] - Sperrung der Instanz __REF_CLIENT__','\n

Lieber __[SELLYOURSAAS_NAME]__-Nutzer,

\nWir möchten Sie darüber informieren, dass Ihre Instanz __REF_CLIENT__ gesperrt wurde.
Der Grund hierfür ist in der Regel ein Problem bei der Zahlungsabwicklung. Falls Sie Ihre Instanz weiter nutzen möchten, loggen Sie sich bitte in Ihr __[SELLYOURSAAS_NAME]__-Kundenkonto ein, um das hinterlegte Zahlungsmittel zu aktualisieren. Die Sperre wird dann aufgehoben und der Zugang wieder ermöglicht. Falls Sie unsere leistungen nicht mehr nutzen möchten, können Sie diese und folgewnde Erinnerungen ignorieren: Ihre Instanz und die hinterlegten Daten werden in wenigen Wochen automatisch gelöscht.


\n
\n Freundliche Grüße,
\n Ihr __[SELLYOURSAAS_NAME]__-Team
\n -----------------------------------------
\n E-Mail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(87,1,'sellyoursaas','contract','de_DE',0,NULL,NULL,'2023-01-19 12:20:13','CustomerInstanceUpgraded',100,1,'[__[SELLYOURSAAS_NAME]__] - Upgrade der Instanz __REF_CLIENT__','\n

Lieber __[SELLYOURSAAS_NAME]__-Nutzer,

\nWir möchten Sie darüber informieren, dass Ihre Instanz auf eine neuere, stabile Version aktualisiert wurde.
Sollten Sie nach dem Upgrade Probleme feststellen, können Sie uns unter __[SELLYOURSAAS_MAIN_EMAIL]__ oder über Ihr Kundenkonto kontaktieren.


\n Freundliche Grüße,
\n Ihr __[SELLYOURSAAS_NAME]__-Team
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(88,1,'sellyoursaas','thirdparty','de_DE',0,NULL,NULL,'2023-01-19 12:20:13','YourYearlyPaymentRequest',100,1,'[__[SELLYOURSAAS_NAME]__] - Ihr gewünschter Wechsel zur jährlichen Zahlweise für Leistungen im __[SELLYOURSAAS_NAME]__','\n

Lieber __[SELLYOURSAAS_NAME]__-Nutzer,

\nWir haben Ihre Anfrage, die Zahlweise für Leistungen des __[SELLYOURSAAS_NAME]__ auf jährliche Zahlung umzustellen, erhalten. Ab dem nächsten Zahlungslauf werden die Zahlungen jeweils für ein Jahr im Voraus erfolgen.
Für eine Zahlung per Kreditkarte erhalten Sie eine E-Mail mit Angaben, wie Sie die Bezahlung online vornehmen können.

\nIhr __[SELLYOURSAAS_NAME]__-Team
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(89,1,'sellyoursaas','facture_send','de_DE',0,NULL,NULL,'2023-01-19 12:20:13','YourPaymentRemind',100,1,'[__[SELLYOURSAAS_NAME]__] - Erinnerung: Bitte denken Sie an die Zahlung Ihrer __[SELLYOURSAAS_NAME]__-Leistungen','\n

Lieber __[SELLYOURSAAS_NAME]__-Nutzer,

\nNach den uns derzeit vorliegenden Informationen wurde die Rechnung __REF__ für Leistungen des __[SELLYOURSAAS_NAME]__ bisher nicht beglichen. Dies ist eine Erinnerung, die Rechnung herunterzuladen. Sie können die Zahlung über den angegebenen Link online vornehmen (der betreffende Leistungszeitraum ist auf der Rechnung aufgeführt). Wir empfehlen, die Zahlung innerhalb der nächsten sieben Tage vorzunehmen, um eine Sperrung der Instanz zu vermeiden.
__ONLINE_PAYMENT_URL__&suffix=__[SELLYOURSAAS_NAME]__

\nIhr __[SELLYOURSAAS_NAME]__-Team
\n -----------------------------------------
\n E-Mail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(90,1,'sellyoursaas','facture_send','de_DE',0,NULL,NULL,'2023-01-19 12:20:13','YourLinkForYourPayment',100,1,'[__[SELLYOURSAAS_NAME]__] - Neue Rechnung für Leistungen im __[SELLYOURSAAS_NAME]__ mit der Bitte um Bezahlung','\n

Lieber __[SELLYOURSAAS_NAME]__-Nutzer,

\nA new period will start for your subscription to __[SELLYOURSAAS_NAME]__ service. This is the link to download your invoice and to use the pay online your subscription (the covered period appears on the invoice). We recommend you to pay within a delay of 15 days to avoid any suspension of service.
__ONLINE_PAYMENT_URL__&suffix=__[SELLYOURSAAS_NAME]__

\nThe __[SELLYOURSAAS_NAME]__ Team
\n -----------------------------------------
\n EMail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(91,1,'sellyoursaas','thirdparty','de_DE',0,NULL,NULL,'2023-01-19 12:20:13','(AlertCreditCardExpiration)',100,1,'[__[SELLYOURSAAS_NAME]__] - Ihre Kreditkarte läuft in Kürze ab','\n

Lieber __[SELLYOURSAAS_NAME]__-Nutzer,

\nWir möchten Sie darüber informieren, dass Ihr hinterlegtes Zahlungsmittel (Kreditkarte ....__CARD_LAST4__) in Kürze abläuft.
\n \n Bitte loggen Sie sich in Ihr __[SELLYOURSAAS_NAME]__-Kundenkonto ein, um Ihre Kreditkarteninformationen so schnell wie möglich zu aktualisieren, um einen unterbrechungsfreien Service sicherzustellen.
\nErinnerung: Ihr Login für das Kundenkonto lautet __THIRDPARTY_EMAIL__
\n

\n

Bei Fragen zögern Sie nicht uns zu kontaktieren.

\n
\n\n Freundliche Grüße,
\n Ihr __[SELLYOURSAAS_NAME]__-Team
\n -----------------------------------------
\n E-Mail: __[SELLYOURSAAS_MAIN_EMAIL]__
\n\n ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(92,1,NULL,'project','en_US',0,NULL,NULL,'2023-02-10 12:25:02','aaa',1,1,'aaa','Bonjour
\r\n
\r\nNous avons reçue une demande sur GLPI. Elle est référencé sous le numéro __REF__
\r\n
\r\nJe suis votre interlocuteur, je m'appelle __USER_FIRSTNAME__
\r\n
\r\n__USER_SIGNATURE__  ',NULL,'1','0',NULL,NULL,NULL,NULL,0),(93,1,NULL,'member','fr_FR',0,NULL,NULL,'2023-03-03 10:48:42','hfghgf',1,1,'hhh','ggg',NULL,'1','0',NULL,NULL,NULL,NULL,0); /*!40000 ALTER TABLE `llx_c_email_templates` ENABLE KEYS */; UNLOCK TABLES; diff --git a/dev/initdemo/updatedemo.php b/dev/initdemo/updatedemo.php index 4ee2032c7cf95..37e6189c55975 100755 --- a/dev/initdemo/updatedemo.php +++ b/dev/initdemo/updatedemo.php @@ -82,7 +82,7 @@ $tables=array( 'propal'=>array(0=>'datep', 1=>'fin_validite', 2=>'date_valid', 3=>'date_cloture'), 'commande'=>array(0=>'date_commande', 1=>'date_valid', 2=>'date_cloture'), - 'facture'=>array(0=>'datec', 0=>'datef', 1=>'date_valid', 2=>'date_lim_reglement'), + 'facture'=>array(0=>'datec', 1=>'datef', 2=>'date_valid', 3=>'date_lim_reglement'), 'paiement'=>array(0=>'datep'), 'bank'=>array(0=>'datev', 1=>'dateo'), 'commande_fournisseur'=>array(0=>'date_commande', 1=>'date_valid', 3=>'date_creation', 4=>'date_approve', 5=>'date_approve2', 6=>'date_livraison'), diff --git a/dev/tools/dolibarr-postgres2mysql.php b/dev/tools/dolibarr-postgres2mysql.php index 72c4b78082fc5..659f6bd73ddfe 100644 --- a/dev/tools/dolibarr-postgres2mysql.php +++ b/dev/tools/dolibarr-postgres2mysql.php @@ -246,7 +246,7 @@ function pg2mysql(&$input, &$arrayofprimaryalreadyintabledef, $header = true) if (is_array($input)) { $lines = $input; } else { - $lines = split("\n", $input); + $lines = explode("\n", $input); } if ($header) { diff --git a/dev/tools/github_commits_perversion.sh b/dev/tools/github_commits_perversion.sh index e8232397e601f..f0fb2a90e5c78 100755 --- a/dev/tools/github_commits_perversion.sh +++ b/dev/tools/github_commits_perversion.sh @@ -3,16 +3,47 @@ # Count number of commits per user and per versions (using date for version detection) # -Releases=("17.0" "18.0" "develop") -Dates=("2023-02-01" "2023-08-31" "2050-01-01") -let "counter = 1" +Releases=("3.9" "4.0" "5.0" "6.0" "7.0" "8.0" "9.0" "10.0" "11.0" "12.0" "13.0" "14.0" "15.0" "16.0" "17.0" "18.0" "develop") +let "counter = 0" +echo "Copy script into /tmp/github_commits_perversion.sh" +cp $0 /tmp/github_commits_perversion.sh + +echo "Delete /tmp/git" +rm -fr /tmp/git +echo "Create and go into /tmp/git" +mkdir /tmp/git +cd /tmp/git +git clone https://github.com/Dolibarr/dolibarr.git + +cd /tmp/git/dolibarr + +firstline=1 for i in "${Releases[@]}" do - echo "=== $counter git shortlog -s -n --after=${Dates[counter-1]} --before=${Dates[counter]}" - git shortlog -s -n --after=${Dates[counter-1]} --before=${Dates[counter]} - echo -n "Total $i: " - git log --pretty=oneline --after=${Dates[counter-1]} --before=${Dates[counter]} | wc -l + if [ $firstline -eq 1 ]; then + firstline=0 + continue + fi + + #echo "=== Version $i (counter $counter):" + echo "=== Version $i (counter $counter):" + echo "Get common commit ID between origin/${Releases[counter]} and origin/${Releases[counter+1]}" + echo "git merge-base origin/${Releases[counter]} origin/${Releases[counter+1]}" + commitidcommon=`git merge-base origin/${Releases[counter]} origin/${Releases[counter+1]}` + echo "Found commitid=$commitidcommon" + + echo "Checkout into version $i" + git checkout $i + #git shortlog -s -n --after=YYYY-MM-DD --before=YYYY-MM-DD | tr '[:lower:]' '[:upper:]' > /tmp/github_commits_perversion.txt + git shortlog -s -n $commitidcommon.. | tr '[:lower:]' '[:upper:]' > /tmp/github_commits_perversion.txt + #cat /tmp/github_commits_perversion.txt + echo "Total for version $i:" + echo -n "- Nb of commits: " + git log $commitidcommon.. --pretty=oneline | tr '[:lower:]' '[:upper:]' > /tmp/github_commits_perversion2.txt + cat /tmp/github_commits_perversion2.txt | wc -l + echo -n "- Nb of different authors: " + awk ' { print $2 } ' < /tmp/github_commits_perversion.txt | sort -u | wc -l echo "=======================" echo let "counter +=1" diff --git a/dev/tools/make_sprite.sh b/dev/tools/make_sprite.sh new file mode 100644 index 0000000000000..41a280fb8607e --- /dev/null +++ b/dev/tools/make_sprite.sh @@ -0,0 +1,57 @@ +#!/bin/bash + +# Based of: https://gist.github.com/jaymzcd/342399 and https://github.com/buren/flag-sprite-maker + +# uses imagemagick to stich together all images in a folder and +# then writes a css file with the correct offsets along with a +# test html page for verification that its all good + +# Usage: +# $ ./make_sprite.sh path class_name image_extension + +set -euo pipefail +IFS=$'\n\t' + +name='output'; # output will be placed in a folder named this +path="${1:-}" # Path to flag images +classname=${2:-flag}"-sprite" +ext="."${3:-png}; # the extension to iterate over for input files + +css="$name/$classname.css"; +html="$name/test.html"; + +rm -fr $name; +mkdir $name; +touch $css $html; + +echo "Generating sprite file..."; +convert $path*$ext -append $name/$classname$ext; +echo "Sprite complete! - Creating css & test output..."; + +echo -e "\n\n\t\n\n\n\t

Sprite test page

\n" >> $html + +echo -e ".$classname {\n\tbackground:url('$classname$ext') no-repeat top left; display:inline-block;\n}" >> $css; +counter=0; +offset=0; +for file in $path*$ext +do + width=`identify -format "%[fx:w]" "$file"`; + height=`identify -format "%[fx:h]" "$file"`; + idname=`basename "$file" $ext`; + clean=${idname// /-} + echo -e ".$classname.$clean {" >> $css; + echo -e "\tbackground-position:0 -${offset}px;" >> $css; + echo -e "\twidth: ${width}px;" >> $css; + echo -e "\theight: ${height}px;\n}" >> $css; + + echo -e "
$clean
\n" >> $html; + + let offset+=$height; + let counter+=1; + echo -e "\t#$counter done"; +done + +echo -e "

Full sprite:

\n" >> $html; +echo -e "\n" >> $html; + +echo -e "\nComplete! - $counter sprites created, css written & test page output."; diff --git a/dev/tools/rector/.gitignore b/dev/tools/rector/.gitignore new file mode 100644 index 0000000000000..de58999921687 --- /dev/null +++ b/dev/tools/rector/.gitignore @@ -0,0 +1 @@ +/test.php diff --git a/dev/tools/rector/README.md b/dev/tools/rector/README.md new file mode 100644 index 0000000000000..2ffa502f3830e --- /dev/null +++ b/dev/tools/rector/README.md @@ -0,0 +1,22 @@ +### Refactoring code with [rector](https://getrector.com) + + +#### Installation + +run in this folder + +```shell +composer install +``` + #### Usage + +##### To make changes (Add --dry-run for test mode only) +```shell +./vendor/bin/rector process --dry-run +``` + +##### To make changes on a given directory + +```shell +./vendor/bin/rector process [--dry-run] [--clear-cache] ../../../htdocs/core/ +``` diff --git a/dev/tools/rector/composer.json b/dev/tools/rector/composer.json new file mode 100644 index 0000000000000..455dd2ee02598 --- /dev/null +++ b/dev/tools/rector/composer.json @@ -0,0 +1,19 @@ +{ + "name": "dolibarr/rector", + "type": "project", + "license": "GplV3", + "authors": [ + { + "name": "Dev2a", + "email": "contact@dev2a.pro" + } + ], + "require-dev": { + "rector/rector": "^0.18.5" + }, + "autoload-dev": { + "psr-4": { + "Dolibarr\\Rector\\": "./src" + } + } +} diff --git a/dev/tools/rector/composer.lock b/dev/tools/rector/composer.lock new file mode 100644 index 0000000000000..7350920136d40 --- /dev/null +++ b/dev/tools/rector/composer.lock @@ -0,0 +1,137 @@ +{ + "_readme": [ + "This file locks the dependencies of your project to a known state", + "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", + "This file is @generated automatically" + ], + "content-hash": "f2998987cad52db5ab60d5ff0672ce05", + "packages": [], + "packages-dev": [ + { + "name": "phpstan/phpstan", + "version": "1.10.38", + "source": { + "type": "git", + "url": "https://github.com/phpstan/phpstan.git", + "reference": "5302bb402c57f00fb3c2c015bac86e0827e4b691" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/5302bb402c57f00fb3c2c015bac86e0827e4b691", + "reference": "5302bb402c57f00fb3c2c015bac86e0827e4b691", + "shasum": "" + }, + "require": { + "php": "^7.2|^8.0" + }, + "conflict": { + "phpstan/phpstan-shim": "*" + }, + "bin": [ + "phpstan", + "phpstan.phar" + ], + "type": "library", + "autoload": { + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "PHPStan - PHP Static Analysis Tool", + "keywords": [ + "dev", + "static analysis" + ], + "support": { + "docs": "https://phpstan.org/user-guide/getting-started", + "forum": "https://github.com/phpstan/phpstan/discussions", + "issues": "https://github.com/phpstan/phpstan/issues", + "security": "https://github.com/phpstan/phpstan/security/policy", + "source": "https://github.com/phpstan/phpstan-src" + }, + "funding": [ + { + "url": "https://github.com/ondrejmirtes", + "type": "github" + }, + { + "url": "https://github.com/phpstan", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/phpstan/phpstan", + "type": "tidelift" + } + ], + "time": "2023-10-06T14:19:14+00:00" + }, + { + "name": "rector/rector", + "version": "0.18.5", + "source": { + "type": "git", + "url": "https://github.com/rectorphp/rector.git", + "reference": "2a3b82f317e431fc142d21f3303891a4e64c96eb" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/rectorphp/rector/zipball/2a3b82f317e431fc142d21f3303891a4e64c96eb", + "reference": "2a3b82f317e431fc142d21f3303891a4e64c96eb", + "shasum": "" + }, + "require": { + "php": "^7.2|^8.0", + "phpstan/phpstan": "^1.10.35" + }, + "conflict": { + "rector/rector-doctrine": "*", + "rector/rector-downgrade-php": "*", + "rector/rector-phpunit": "*", + "rector/rector-symfony": "*" + }, + "bin": [ + "bin/rector" + ], + "type": "library", + "autoload": { + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Instant Upgrade and Automated Refactoring of any PHP code", + "keywords": [ + "automation", + "dev", + "migration", + "refactoring" + ], + "support": { + "issues": "https://github.com/rectorphp/rector/issues", + "source": "https://github.com/rectorphp/rector/tree/0.18.5" + }, + "funding": [ + { + "url": "https://github.com/tomasvotruba", + "type": "github" + } + ], + "time": "2023-10-05T11:25:40+00:00" + } + ], + "aliases": [], + "minimum-stability": "stable", + "stability-flags": [], + "prefer-stable": false, + "prefer-lowest": false, + "platform": [], + "platform-dev": [], + "plugin-api-version": "2.2.0" +} diff --git a/dev/tools/rector/rector.php b/dev/tools/rector/rector.php new file mode 100644 index 0000000000000..1597b9bb27f87 --- /dev/null +++ b/dev/tools/rector/rector.php @@ -0,0 +1,44 @@ +phpVersion(PhpVersion::PHP_71); + //$rectorConfig->indent(' ', 4); + $rectorConfig->paths([ + __DIR__ . '/../../../htdocs/', + __DIR__ . '/../../../scripts/', + __DIR__ . '/../../../test/phpunit/', + ]); + $rectorConfig->skip([ + '**/includes/**', + '**/custom/**', + __DIR__ . '/../../../htdocs/custom/', + __DIR__ . '/../../../htdocs/install/doctemplates/*' + ]); + $rectorConfig->parallel(240); + + + // Register rules + + //$rectorConfig->rule(Rector\Php71\Rector\List_\ListToArrayDestructRector::class); + //$rectorConfig->rule(Rector\Php72\Rector\FuncCall\CreateFunctionToAnonymousFunctionRector::class); + //$rectorConfig->rule(Rector\Php72\Rector\FuncCall\GetClassOnNullRector::class); + //$rectorConfig->rule(Rector\Php72\Rector\Assign\ListEachRector::class); + //$rectorConfig->rule(Rector\Php72\Rector\FuncCall\ParseStrWithResultArgumentRector::class); + //$rectorConfig->rule(ReplaceEachAssignmentWithKeyCurrentRector::class); + //$rectorConfig->rule(Rector\Php72\Rector\FuncCall\StringifyDefineRector::class); + + //$rectorConfig->rule(Dolibarr\Rector\Renaming\GlobalToFunction::class); + //$rectorConfig->rule(Dolibarr\Rector\Renaming\UserRightsToFunction::class); + $rectorConfig->rule(Dolibarr\Rector\Renaming\EmptyGlobalToFunction::class); + + // Add all predefined rules to migrate to up to php 71 + // $rectorConfig->sets([ + // LevelSetList::UP_TO_PHP_71 + // ]); +}; diff --git a/dev/tools/rector/src/Renaming/EmptyGlobalToFunction.php b/dev/tools/rector/src/Renaming/EmptyGlobalToFunction.php new file mode 100644 index 0000000000000..9af29f4fc1b31 --- /dev/null +++ b/dev/tools/rector/src/Renaming/EmptyGlobalToFunction.php @@ -0,0 +1,214 @@ +binaryOpManipulator = $binaryOpManipulator; + } + + /** + * getRuleDefinition + * + * @return RuleDefinition + * @throws PoorDocumentationException + */ + public function getRuleDefinition(): RuleDefinition + { + return new RuleDefinition( + 'Change $conf->global to getDolGlobal', + [new CodeSample('$conf->global->CONSTANT', + 'getDolGlobalInt(\'CONSTANT\')' + )]); + } + + /** + * Return a node type from https://github.com/rectorphp/php-parser-nodes-docs/ + * + * @return string[] + */ + public function getNodeTypes(): array + { + return [Node\Expr\BooleanNot::class, Node\Expr\Empty_::class]; + } + + /** + * refactor + * + * @param Node $node A node + * @return FuncCall|BooleanNot + */ + public function refactor(Node $node) + { + if ($node instanceof Node\Expr\BooleanNot) { + if (!$node->expr instanceof Node\Expr\Empty_) { + return null; + } + // node is !empty(...) so we set node to ... + $newnode = $node->expr->expr; + + $tmpglobal = $newnode->var; + if (is_null($tmpglobal)) { + return null; + } + if (!$this->isName($tmpglobal, 'global')) { + return null; + } + + $tmpconf = $tmpglobal->var; + if (!$this->isName($tmpconf, 'conf')) { + return null; + } + + $nameforconst = $this->getName($newnode); + if (is_null($nameforconst)) { + return null; + } + $constName = new String_($nameforconst); + + // We found a node !empty(conf->global->XXX) + return new FuncCall( + new Name('getDolGlobalString'), + [new Arg($constName)] + ); + } + + + if ($node instanceof Node\Expr\Empty_) { + // node is empty(...) so we set node to ... + $newnode = $node->expr; + + $tmpglobal = $newnode->var; + if (is_null($tmpglobal)) { + return null; + } + if (!$this->isName($tmpglobal, 'global')) { + return null; + } + + $tmpconf = $tmpglobal->var; + if (!$this->isName($tmpconf, 'conf')) { + return null; + } + + $nameforconst = $this->getName($newnode); + if (is_null($nameforconst)) { + return null; + } + $constName = new String_($nameforconst); + + return new BooleanNot(new FuncCall( + new Name('getDolGlobalString'), + [new Arg($constName)] + )); + } + + return null; + } + + /** + * Get nodes with check empty + * + * @param BooleanAnd $booleanAnd A BooleandAnd + * @return TwoNodeMatch|null + */ + private function resolveTwoNodeMatch(BooleanAnd $booleanAnd): ?TwoNodeMatch + { + return $this->binaryOpManipulator->matchFirstAndSecondConditionNode( + $booleanAnd, + // $conf->global == $value + function (Node $node): bool { + if (!$node instanceof Equal) { + return \false; + } + return $this->isGlobalVar($node->left); + }, + // !empty(...) || isset(...) + function (Node $node): bool { + if ($node instanceof BooleanNot && $node->expr instanceof Empty_) { + return $this->isGlobalVar($node->expr->expr); + } + if (!$node instanceof Isset_) { + return $this->isGlobalVar($node); + } + return \true; + } + ); + } + + /** + * Check if node is a global access with format conf->global->XXX + * + * @param Node $node A node + * @return bool Return true if noe is conf->global->XXX + */ + private function isGlobalVar($node) + { + if (!$node instanceof PropertyFetch) { + return false; + } + if (!$this->isName($node->var, 'global')) { + return false; + } + $global = $node->var; + if (!$global instanceof PropertyFetch) { + return false; + } + if (!$this->isName($global->var, 'conf')) { + return false; + } + return true; + } + + /** + * @param Node $node Node to be parsed + * @return Node|void Return the name of the constant + */ + private function getConstName($node) + { + if ($node instanceof PropertyFetch && $node->name instanceof Node\Expr) { + return $node->name; + } + $name = $this->getName($node); + if (empty($name)) { + return; + } + return new String_($name); + } +} diff --git a/dev/tools/rector/src/Renaming/GlobalToFunction.php b/dev/tools/rector/src/Renaming/GlobalToFunction.php new file mode 100644 index 0000000000000..7cf89d24f4ccf --- /dev/null +++ b/dev/tools/rector/src/Renaming/GlobalToFunction.php @@ -0,0 +1,293 @@ +binaryOpManipulator = $binaryOpManipulator; + } + + /** + * getRuleDefinition + * + * @return RuleDefinition + * @throws PoorDocumentationException + */ + public function getRuleDefinition(): RuleDefinition + { + return new RuleDefinition( + 'Change $conf->global to getDolGlobal', + [new CodeSample('$conf->global->CONSTANT', + 'getDolGlobalInt(\'CONSTANT\')' + )]); + } + + /** + * Return a node type from https://github.com/rectorphp/php-parser-nodes-docs/ + * + * @return string[] + */ + public function getNodeTypes(): array + { + return [Equal::class, Greater::class, GreaterOrEqual::class, Smaller::class, SmallerOrEqual::class, BooleanAnd::class, Concat::class, ArrayDimFetch::class]; + } + + /** + * refactor + * + * @param Node $node A node + * @return Equal|Concat|ArrayDimFetch|void + */ + public function refactor(Node $node) + { + if ($node instanceof Node\Expr\ArrayDimFetch) { + if (!isset($node->dim)) { + return; + } + if ($this->isGlobalVar($node->dim)) { + $constName = $this->getConstName($node->dim); + if (empty($constName)) { + return; + } + $node->dim = new FuncCall( + new Name('getDolGlobalString'), + [new Arg($constName)] + ); + } + return $node; + } + if ($node instanceof Concat) { + if ($this->isGlobalVar($node->left)) { + $constName = $this->getConstName($node->left); + if (empty($constName)) { + return; + } + $leftConcat = new FuncCall( + new Name('getDolGlobalString'), + [new Arg($constName)] + ); + $rightConcat = $node->right; + } + if ($this->isGlobalVar($node->right)) { + $constName = $this->getConstName($node->right); + if (empty($constName)) { + return; + } + $rightConcat = new FuncCall( + new Name('getDolGlobalString'), + [new Arg($constName)] + ); + $leftConcat = $node->left; + } + if (!isset($leftConcat, $rightConcat)) { + return; + } + return new Concat($leftConcat, $rightConcat); + } + if ($node instanceof BooleanAnd) { + $nodes = $this->resolveTwoNodeMatch($node); + if (!isset($nodes)) { + return; + } + + /** @var Equal $node */ + $node = $nodes->getFirstExpr(); + } + + $typeofcomparison = ''; + if ($node instanceof Equal) { + $typeofcomparison = 'Equal'; + } + if ($node instanceof Greater) { + $typeofcomparison = 'Greater'; + } + if ($node instanceof GreaterOrEqual) { + $typeofcomparison = 'GreaterOrEqual'; + } + if ($node instanceof Smaller) { + $typeofcomparison = 'Smaller'; + } + if ($node instanceof SmallerOrEqual) { + $typeofcomparison = 'SmallerOrEqual'; + } + if (empty($typeofcomparison)) { + return; + } + + if (!$this->isGlobalVar($node->left)) { + return; + } + + // Test the type after the comparison conf->global->xxx to know the name of function + switch ($node->right->getType()) { + case 'Scalar_LNumber': + $funcName = 'getDolGlobalInt'; + break; + case 'Scalar_String': + $funcName = 'getDolGlobalString'; + break; + default: + return; + } + + $constName = $this->getConstName($node->left); + if (empty($constName)) { + return; + } + + if ($typeofcomparison == 'Equal') { + return new Equal( + new FuncCall( + new Name($funcName), + [new Arg($constName)] + ), + $node->right + ); + } + if ($typeofcomparison == 'Greater') { + return new Greater( + new FuncCall( + new Name($funcName), + [new Arg($constName)] + ), + $node->right + ); + } + if ($typeofcomparison == 'GreaterOrEqual') { + return new GreaterOrEqual( + new FuncCall( + new Name($funcName), + [new Arg($constName)] + ), + $node->right + ); + } + if ($typeofcomparison == 'Smaller') { + return new Smaller( + new FuncCall( + new Name($funcName), + [new Arg($constName)] + ), + $node->right + ); + } + if ($typeofcomparison == 'SmallerOrEqual') { + return new SmallerOrEqual( + new FuncCall( + new Name($funcName), + [new Arg($constName)] + ), + $node->right + ); + } + } + + /** + * Get nodes with check empty + * + * @param BooleanAnd $booleanAnd A BooleandAnd + * @return TwoNodeMatch|null + */ + private function resolveTwoNodeMatch(BooleanAnd $booleanAnd): ?TwoNodeMatch + { + return $this->binaryOpManipulator->matchFirstAndSecondConditionNode( + $booleanAnd, + // $conf->global == $value + function (Node $node): bool { + if (!$node instanceof Equal) { + return \false; + } + return $this->isGlobalVar($node->left); + }, + // !empty(...) || isset(...) + function (Node $node): bool { + if ($node instanceof BooleanNot && $node->expr instanceof Empty_) { + return $this->isGlobalVar($node->expr->expr); + } + if (!$node instanceof Isset_) { + return $this->isGlobalVar($node); + } + return \true; + } + ); + } + + /** + * Check if node is a global access with format conf->global->XXX + * + * @param Node $node A node + * @return bool Return true if noe is conf->global->XXX + */ + private function isGlobalVar($node) + { + if (!$node instanceof PropertyFetch) { + return false; + } + if (!$this->isName($node->var, 'global')) { + return false; + } + $global = $node->var; + if (!$global instanceof PropertyFetch) { + return false; + } + if (!$this->isName($global->var, 'conf')) { + return false; + } + return true; + } + + /** + * @param Node $node Node to be parsed + * @return Node|void Return the name of the constant + */ + private function getConstName($node) + { + if ($node instanceof PropertyFetch && $node->name instanceof Node\Expr) { + return $node->name; + } + $name = $this->getName($node); + if (empty($name)) { + return; + } + return new String_($name); + } +} diff --git a/dev/tools/rector/src/Renaming/UserRightsToFunction.php b/dev/tools/rector/src/Renaming/UserRightsToFunction.php new file mode 100644 index 0000000000000..fbb8edfb594f3 --- /dev/null +++ b/dev/tools/rector/src/Renaming/UserRightsToFunction.php @@ -0,0 +1,154 @@ +nodeFactory = $nodeFactory; + } + + /** + * @throws \Symplify\RuleDocGenerator\Exception\PoorDocumentationException + * @return RuleDefinition + */ + public function getRuleDefinition(): RuleDefinition + { + return new RuleDefinition( + 'Change \$user->rights->module->permission to \$user->hasRight(\'module\', \'permission\')', + [new CodeSample( + '$user->rights->module->permission', + '$user->hasRight(\'module\', \'permission\')' + )]); + } + + /** + * Return a node type from https://github.com/rectorphp/php-parser-nodes-docs/ + * + * @return string[] + */ + public function getNodeTypes(): array + { + return [ + Node\Expr\Assign::class, + Node\Expr\PropertyFetch::class, + Node\Expr\BooleanNot::class, + Node\Expr\Empty_::class, + Node\Expr\Isset_::class, + Node\Stmt\ClassMethod::class + ]; + } + + /** + * @param \PhpParser\Node $node node to be changed + * @return \PhpParser\Node|\PhpParser\Node[]|\PhpParser\Node\Expr\MethodCall|void|null| int + */ + public function refactor(Node $node) + { + + if ($node instanceof Node\Stmt\ClassMethod) { + $excludeMethods = ['getrights', 'hasRight']; + /** @var \PHPStan\Analyser\MutatingScope $scope */ + $scope = $node->getAttribute('scope'); + $class = $scope->getClassReflection(); + $classes = ['UserGroup', 'User']; + if (isset($class) && in_array($class->getName(), $classes)) { + if (in_array($this->getName($node), $excludeMethods)) { + return NodeTraverser::DONT_TRAVERSE_CURRENT_AND_CHILDREN; + } + } + } + if ($node instanceof Node\Expr\Assign) { + return NodeTraverser::DONT_TRAVERSE_CURRENT_AND_CHILDREN; + } + $isInverse = false; + if ($node instanceof Node\Expr\BooleanNot) { + if (!$node->expr instanceof Node\Expr\Empty_) { + return null; + } + $node = $node->expr->expr; + } + if ($node instanceof Node\Expr\Empty_) { + $node = $node->expr; + $isInverse = true; + } + if ($node instanceof Node\Expr\Isset_) { + // Take first arg for isset (No code found with multiple isset). + $node = $node->vars[0]; + } + if (!$node instanceof Node\Expr\PropertyFetch) { + return; + } + $data = $this->getRights($node); + if (!isset($data)) { + return; + } + $args = [new Arg($data['module']), new Arg($data['perm1'])]; + if (!empty($data['perm2'])) { + $args[] = new Arg($data['perm2']); + } + $method = $this->nodeFactory->createMethodCall($data['user'], 'hasRight', $args); + if ($isInverse) { + return new Node\Expr\BooleanNot($method); + } + return $method; + } + + /** + * @param \PhpParser\Node\Expr\PropertyFetch $node node + * @return array|null + */ + private function getRights(Node\Expr\PropertyFetch $node) + { + $perm2 = ''; + if (!$node->var instanceof Node\Expr\PropertyFetch) { + return null; + } + // Add a test to avoid rector error on html.formsetup.class.php + if (! $node->name instanceof Node\Expr\Variable && is_null($this->getName($node))) { + //var_dump($node); + return null; + //exit; + } + $perm1 = $node->name instanceof Node\Expr\Variable ? $node->name : new String_($this->getName($node)); + $moduleNode = $node->var; + if (!$moduleNode instanceof Node\Expr\PropertyFetch) { + return null; + } + if (!$moduleNode->var instanceof Node\Expr\PropertyFetch) { + return null; + } + if (!$this->isName($moduleNode->var, 'rights')) { + $perm2 = $perm1; + $perm1 = $moduleNode->name instanceof Node\Expr\Variable ? $moduleNode->name : new String_($this->getName($moduleNode)); + $moduleNode = $moduleNode->var; + } + $module = $moduleNode->name instanceof Node\Expr\Variable ? $moduleNode->name : new String_($this->getName($moduleNode)); + $rights = $moduleNode->var; + if (!$this->isName($rights, 'rights') || !isset($perm1) || !isset($module)) { + return null; + } + if (!$rights->var instanceof Node\Expr\Variable) { + return null; + } + $user = $rights->var; + return compact('user', 'module', 'perm1', 'perm2'); + } +} diff --git a/htdocs/.gitignore b/htdocs/.gitignore index ef87c0455d6f7..0749df8a2bb0b 100644 --- a/htdocs/.gitignore +++ b/htdocs/.gitignore @@ -24,5 +24,4 @@ /abricot* /nomenclature* /of/ -/workstation/ /oblyon* diff --git a/htdocs/accountancy/admin/account.php b/htdocs/accountancy/admin/account.php index 9bb31534dca57..2a6557be0b958 100644 --- a/htdocs/accountancy/admin/account.php +++ b/htdocs/accountancy/admin/account.php @@ -40,6 +40,7 @@ $massaction = GETPOST('massaction', 'aZ09'); $optioncss = GETPOST('optioncss', 'alpha'); $contextpage = GETPOST('contextpage', 'aZ') ?GETPOST('contextpage', 'aZ') : 'accountingaccountlist'; // To manage different context of search +$mode = GETPOST('mode', 'aZ'); // The output mode ('list', 'kanban', 'hierarchy', 'calendar', ...) $search_account = GETPOST('search_account', 'alpha'); $search_label = GETPOST('search_label', 'alpha'); @@ -90,7 +91,7 @@ 'aa.pcg_type'=>array('label'=>"Pcgtype", 'checked'=>1, 'help'=>'PcgtypeDesc'), 'categories'=>array('label'=>"AccountingCategories", 'checked'=>-1, 'help'=>'AccountingCategoriesDesc'), 'aa.reconcilable'=>array('label'=>"Reconcilable", 'checked'=>1), - 'aa.import_key'=>array('label'=>"ImportId", 'checked'=>-1), + 'aa.import_key'=>array('label'=>"ImportId", 'checked'=>-1, 'help'=>''), 'aa.active'=>array('label'=>"Activated", 'checked'=>1) ); diff --git a/htdocs/accountancy/admin/card.php b/htdocs/accountancy/admin/card.php index 7f2bf439c0937..48d7d86e89fcb 100644 --- a/htdocs/accountancy/admin/card.php +++ b/htdocs/accountancy/admin/card.php @@ -85,7 +85,7 @@ // Clean code // To manage zero or not at the end of the accounting account - if (!empty($conf->global->ACCOUNTING_MANAGE_ZERO)) { + if (getDolGlobalString('ACCOUNTING_MANAGE_ZERO')) { $account_number = $account_number; } else { $account_number = clean_account($account_number); @@ -148,7 +148,7 @@ // Clean code // To manage zero or not at the end of the accounting account - if (!empty($conf->global->ACCOUNTING_MANAGE_ZERO)) { + if (getDolGlobalString('ACCOUNTING_MANAGE_ZERO')) { $account_number = $account_number; } else { $account_number = clean_account($account_number); diff --git a/htdocs/accountancy/admin/closure.php b/htdocs/accountancy/admin/closure.php index 5ad23febb36fa..d1b0d10e26242 100644 --- a/htdocs/accountancy/admin/closure.php +++ b/htdocs/accountancy/admin/closure.php @@ -61,6 +61,24 @@ $error++; } + $accountinggroupsusedforbalancesheetaccount = GETPOST('ACCOUNTING_CLOSURE_ACCOUNTING_GROUPS_USED_FOR_BALANCE_SHEET_ACCOUNT', 'alphanohtml'); + if (!empty($accountinggroupsusedforbalancesheetaccount)) { + if (!dolibarr_set_const($db, 'ACCOUNTING_CLOSURE_ACCOUNTING_GROUPS_USED_FOR_BALANCE_SHEET_ACCOUNT', $accountinggroupsusedforbalancesheetaccount, 'chaine', 0, '', $conf->entity)) { + $error++; + } + } else { + $error++; + } + + $accountinggroupsusedforincomestatement = GETPOST('ACCOUNTING_CLOSURE_ACCOUNTING_GROUPS_USED_FOR_INCOME_STATEMENT', 'alpha'); + if (!empty($accountinggroupsusedforincomestatement)) { + if (!dolibarr_set_const($db, 'ACCOUNTING_CLOSURE_ACCOUNTING_GROUPS_USED_FOR_INCOME_STATEMENT', $accountinggroupsusedforincomestatement, 'chaine', 0, '', $conf->entity)) { + $error++; + } + } else { + $error++; + } + foreach ($list_account_main as $constname) { $constvalue = GETPOST($constname, 'alpha'); if (!dolibarr_set_const($db, $constname, $constvalue, 'chaine', 0, '', $conf->entity)) { @@ -117,12 +135,26 @@ // Journal print ''; -print ''.$langs->trans("ACCOUNTING_CLOSURE_DEFAULT_JOURNAL").''; +print ''.$langs->trans("ACCOUNTING_CLOSURE_DEFAULT_JOURNAL").''; print ''; -$defaultjournal = $conf->global->ACCOUNTING_CLOSURE_DEFAULT_JOURNAL; +$defaultjournal = getDolGlobalString('ACCOUNTING_CLOSURE_DEFAULT_JOURNAL'); print $formaccounting->select_journal($defaultjournal, "ACCOUNTING_CLOSURE_DEFAULT_JOURNAL", 9, 1, 0, 0); print ''; +// Accounting groups used for the balance sheet account +print ''; +print ''.$langs->trans("ACCOUNTING_CLOSURE_ACCOUNTING_GROUPS_USED_FOR_BALANCE_SHEET_ACCOUNT").''; +print ''; +print ''; +print ''; + +// Accounting groups used for the income statement +print ''; +print ''.$langs->trans("ACCOUNTING_CLOSURE_ACCOUNTING_GROUPS_USED_FOR_INCOME_STATEMENT").''; +print ''; +print ''; +print ''; + print "\n"; print '
'; diff --git a/htdocs/accountancy/admin/fiscalyear.php b/htdocs/accountancy/admin/fiscalyear.php index dd4ddf788ab4a..d9b26c9b3ac3e 100644 --- a/htdocs/accountancy/admin/fiscalyear.php +++ b/htdocs/accountancy/admin/fiscalyear.php @@ -1,5 +1,5 @@ +/* Copyright (C) 2013-2023 Alexandre Spangaro * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -58,8 +58,9 @@ '1' => 'CloseFiscalYear' ); +// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context $object = new Fiscalyear($db); - +$hookmanager->initHooks(array('fiscalyearlist')); // Security check if ($user->socid > 0) { @@ -69,7 +70,6 @@ accessforbidden(); } - /* * Actions */ @@ -112,15 +112,22 @@ $result = $db->query($sql); if ($result) { $num = $db->num_rows($result); + $param = ''; - $i = 0; - + $parameters = array('param' => $param); + $reshook = $hookmanager->executeHooks('addMoreActionsButtonsList', $parameters, $object, $action); // Note that $action and $object may have been modified by hook + if ($reshook < 0) { + setEventMessages($hookmanager->error, $hookmanager->errors, 'errors'); + } - $addbutton .= dolGetButtonTitle($langs->trans('NewFiscalYear'), '', 'fa fa-plus-circle', 'fiscalyear_card.php?action=create', '', $user->hasRight('accounting', 'fiscalyear', 'write')); + $newcardbutton = empty($hookmanager->resPrint) ? '' : $hookmanager->resPrint; + if (empty($reshook)) { + $newcardbutton .= dolGetButtonTitle($langs->trans('NewFiscalYear'), '', 'fa fa-plus-circle', 'fiscalyear_card.php?action=create', '', $user->hasRight('accounting', 'fiscalyear', 'write')); + } $title = $langs->trans('AccountingPeriods'); - print_barre_liste($title, $page, $_SERVER["PHP_SELF"], $params, $sortfield, $sortorder, '', $num, $nbtotalofrecords, 'title_accountancy', 0, $addbutton, '', $limit, 1); + print_barre_liste($title, $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, '', $num, $nbtotalofrecords, 'calendar', 0, $newcardbutton, '', $limit, 1); print '
'; print ''; @@ -134,6 +141,9 @@ print ''; print ''; + // Loop on record + // -------------------------------------------------------------------- + $i = 0; if ($num) { while ($i < $num && $i < $max) { $obj = $db->fetch_object($result); @@ -159,7 +169,7 @@ $i++; } } else { - print ''; + print ''; } print '
'.$langs->trans("Status").'
'.$langs->trans("None").'
'.$langs->trans("NoRecordFound").'
'; print '
'; diff --git a/htdocs/accountancy/admin/fiscalyear_card.php b/htdocs/accountancy/admin/fiscalyear_card.php index 38330a37e137d..914bc34ccb6f5 100644 --- a/htdocs/accountancy/admin/fiscalyear_card.php +++ b/htdocs/accountancy/admin/fiscalyear_card.php @@ -31,42 +31,69 @@ // Load translation files required by the page $langs->loadLangs(array("admin", "compta")); -// Security check -if ($user->socid > 0) { - accessforbidden(); -} -if (!$user->hasRight('accounting', 'fiscalyear', 'write')) { - accessforbidden(); +// Get parameters +$id = GETPOST('id', 'int'); +$ref = GETPOST('ref', 'alpha'); + +$action = GETPOST('action', 'aZ09'); +$confirm = GETPOST('confirm', 'alpha'); +$cancel = GETPOST('cancel', 'aZ09'); +$contextpage = GETPOST('contextpage', 'aZ') ? GETPOST('contextpage', 'aZ') : str_replace('_', '', basename(dirname(__FILE__)).basename(__FILE__, '.php')); // To manage different context of search +$backtopage = GETPOST('backtopage', 'alpha'); // if not set, a default page will be used +$backtopageforcancel = GETPOST('backtopageforcancel', 'alpha'); // if not set, $backtopage will be used +$backtopagejsfields = GETPOST('backtopagejsfields', 'alpha'); +$dol_openinpopup = GETPOST('dol_openinpopup', 'aZ09'); + +if (!empty($backtopagejsfields)) { + $tmpbacktopagejsfields = explode(':', $backtopagejsfields); + $dol_openinpopup = $tmpbacktopagejsfields[0]; } $error = 0; -$action = GETPOST('action', 'aZ09'); -$confirm = GETPOST('confirm', 'alpha'); -$id = GETPOST('id', 'int'); +// Initialize technical objects +$object = new Fiscalyear($db); +$extrafields = new ExtraFields($db); -// List of statut -static $tmpstatut2label = array( +// Load object +include DOL_DOCUMENT_ROOT.'/core/actions_fetchobject.inc.php'; // Must be include, not include_once. + +// List of status +static $tmpstatus2label = array( '0' => 'OpenFiscalYear', '1' => 'CloseFiscalYear' ); -$statut2label = array( +$status2label = array( '' ); -foreach ($tmpstatut2label as $key => $val) { - $statut2label[$key] = $langs->trans($val); +foreach ($tmpstatus2label as $key => $val) { + $status2label[$key] = $langs->trans($val); } -$object = new Fiscalyear($db); - $date_start = dol_mktime(0, 0, 0, GETPOST('fiscalyearmonth', 'int'), GETPOST('fiscalyearday', 'int'), GETPOST('fiscalyearyear', 'int')); $date_end = dol_mktime(0, 0, 0, GETPOST('fiscalyearendmonth', 'int'), GETPOST('fiscalyearendday', 'int'), GETPOST('fiscalyearendyear', 'int')); +$permissiontoadd = $user->hasRight('accounting', 'fiscalyear', 'write'); + +// Security check +if ($user->socid > 0) { + accessforbidden(); +} +if (!$permissiontoadd) { + accessforbidden(); +} + /* * Actions */ +$parameters = array(); +$reshook = $hookmanager->executeHooks('doActions', $parameters, $object, $action); // Note that $action and $object may have been modified by some hooks +if ($reshook < 0) { + setEventMessages($hookmanager->error, $hookmanager->errors, 'errors'); +} + if ($action == 'confirm_delete' && $confirm == "yes") { $result = $object->delete($id); if ($result >= 0) { @@ -82,7 +109,7 @@ $object->date_start = $date_start; $object->date_end = $date_end; $object->label = GETPOST('label', 'alpha'); - $object->statut = GETPOST('statut', 'int'); + $object->status = GETPOST('status', 'int'); $object->datec = dol_now(); if (empty($object->date_start) && empty($object->date_end)) { @@ -125,7 +152,7 @@ $object->date_start = GETPOST("fiscalyear") ? $date_start : ''; $object->date_end = GETPOST("fiscalyearend") ? $date_end : ''; $object->label = GETPOST('label', 'alpha'); - $object->statut = GETPOST('statut', 'int'); + $object->status = GETPOST('status', 'int'); $result = $object->update($user); @@ -150,15 +177,18 @@ $form = new Form($db); $title = $langs->trans("Fiscalyear")." - ".$langs->trans("Card"); +if ($action == 'create') { + $title = $langs->trans("NewFiscalYear"); +} $help_url = "EN:Module_Double_Entry_Accounting"; llxHeader('', $title, $help_url); if ($action == 'create') { - print load_fiche_titre($langs->trans("NewFiscalYear")); + print load_fiche_titre($title, '', 'object_'.$object->picto); - print '
'; + print ''; print ''; print ''; @@ -180,11 +210,11 @@ print ''; /* - // Statut + // Status print ''; print '' . $langs->trans("Status") . ''; print ''; - print $form->selectarray('statut', $statut2label, GETPOST('statut', 'int')); + print $form->selectarray('status', $status2label, GETPOST('status', 'int')); print ''; */ @@ -192,126 +222,134 @@ print dol_get_fiche_end(); - print '
'; - print ''; - print '     '; - print ''; - print '
'; + print $form->buttonsSaveCancel("Create"); print '
'; -} elseif ($id) { - $result = $object->fetch($id); - if ($result > 0) { - $head = fiscalyear_prepare_head($object); +} + + +// Part to edit record +if (($id || $ref) && $action == 'edit') { + print load_fiche_titre($langs->trans("Fiscalyear"), '', 'object_'.$object->picto); + + print '
'."\n"; + print ''; + print ''; + print ''; + if ($backtopage) { + print ''; + } + if ($backtopageforcancel) { + print ''; + } - if ($action == 'edit') { - print dol_get_fiche_head($head, 'card', $langs->trans("Fiscalyear"), 0, 'cron'); + print dol_get_fiche_head(); - print ''."\n"; - print ''; - print ''; - print ''; + print ''."\n"; - print '
'; + // Ref + print ""; + print ''; - // Ref - print ""; - print ''; + // Label + print ''; - // Label - print ''; + // Date start + print ''; - // Date start - print ''; + // Date end + print ''; - // Date end - print ''; + // Status + print ''; - // Statut - print ''; + print '
'.$langs->trans("Ref").''; + print $object->ref; + print '
'.$langs->trans("Ref").''; - print $object->ref; - print '
'.$langs->trans("Label").''; + print ''; + print '
'.$langs->trans("Label").''; - print ''; - print '
'.$langs->trans("DateStart").''; + print $form->selectDate($object->date_start ? $object->date_start : - 1, 'fiscalyear'); + print '
'.$langs->trans("DateStart").''; - print $form->selectDate($object->date_start ? $object->date_start : - 1, 'fiscalyear'); - print '
'.$langs->trans("DateEnd").''; + print $form->selectDate($object->date_end ? $object->date_end : - 1, 'fiscalyearend'); + print '
'.$langs->trans("DateEnd").''; - print $form->selectDate($object->date_end ? $object->date_end : - 1, 'fiscalyearend'); - print '
'.$langs->trans("Status").''; + print $object->getLibStatut(4); + print '
'.$langs->trans("Statut").''; - // print $form->selectarray('statut', $statut2label, $object->statut); - print $object->getLibStatut(4); - print '
'; - print ''; + print dol_get_fiche_end(); - print $form->buttonsSaveCancel(); + print $form->buttonsSaveCancel(); - print '
'; + print ''; +} - print dol_get_fiche_end(); - } else { - /* - * Confirm delete - */ - if ($action == 'delete') { - print $form->formconfirm($_SERVER["PHP_SELF"]."?id=".$id, $langs->trans("DeleteFiscalYear"), $langs->trans("ConfirmDeleteFiscalYear"), "confirm_delete"); - } +// Part to show record +if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'create'))) { + $head = fiscalyear_prepare_head($object); - print dol_get_fiche_head($head, 'card', $langs->trans("Fiscalyear"), 0, 'cron'); + print dol_get_fiche_head($head, 'card', $langs->trans("Fiscalyear"), 0, 'calendar'); - print ''; + $formconfirm = ''; - $linkback = ''.$langs->trans("BackToList").''; + // Confirmation to delete + if ($action == 'delete') { + $formconfirm = $form->formconfirm($_SERVER["PHP_SELF"]."?id=".$object->id, $langs->trans("DeleteFiscalYear"), $langs->trans("ConfirmDeleteFiscalYear"), "confirm_delete", '', 0, 1); + } - // Ref - print ''; + // Print form confirm + print $formconfirm; - // Label - print '"; + // Object card + // ------------------------------------------------------------ + $linkback = ''.$langs->trans("BackToList").''; - // Date start - print ''; + print '
'.$langs->trans("Ref").''; - print $object->ref; - print ''; - print $linkback; - print '
'; - print $form->editfieldkey("Label", 'label', $object->label, $object, 1, 'alpha:32'); - print ''; - print $form->editfieldval("Label", 'label', $object->label, $object, 1, 'alpha:32'); - print "
'; - print $form->editfieldkey("DateStart", 'date_start', $object->date_start, $object, 1, 'datepicker'); - print ''; - print $form->editfieldval("DateStart", 'date_start', $object->date_start, $object, 1, 'datepicker'); - print '
'; - // Date end - print ''; + // Ref + print ''; - // Statut - print ''; + // Label + print '"; - print "
'; - print $form->editfieldkey("DateEnd", 'date_end', $object->date_end, $object, 1, 'datepicker'); - print ''; - print $form->editfieldval("DateEnd", 'date_end', $object->date_end, $object, 1, 'datepicker'); - print '
'.$langs->trans("Ref").''; + print $object->ref; + print ''; + print $linkback; + print '
'.$langs->trans("Status").''.$object->getLibStatut(4).'
'; + print $form->editfieldkey("Label", 'label', $object->label, $object, 1, 'alpha:32'); + print ''; + print $form->editfieldval("Label", 'label', $object->label, $object, 1, 'alpha:32'); + print "
"; + // Date start + print ''; + print $form->editfieldkey("DateStart", 'date_start', $object->date_start, $object, 1, 'datepicker'); + print ''; + print $form->editfieldval("DateStart", 'date_start', $object->date_start, $object, 1, 'datepicker'); + print ''; - print dol_get_fiche_end(); + // Date end + print ''; + print $form->editfieldkey("DateEnd", 'date_end', $object->date_end, $object, 1, 'datepicker'); + print ''; + print $form->editfieldval("DateEnd", 'date_end', $object->date_end, $object, 1, 'datepicker'); + print ''; - /* - * Action bar - */ - if ($user->hasRight('accounting', 'fiscalyear', 'write')) { - print '
'; + // Status + print ''.$langs->trans("Status").''.$object->getLibStatut(4).''; - print ''.$langs->trans('Modify').''; + print ""; - //print dolGetButtonAction($langs->trans("Delete"), '', 'delete', $_SERVER["PHP_SELF"].'?id='.$object->id.'&action=delete&token='.newToken(), 'delete', $permissiontodelete); + print dol_get_fiche_end(); - print '
'; - } - } - } else { - dol_print_error($db); + /* + * Action bar + */ + if ($user->hasRight('accounting', 'fiscalyear', 'write')) { + print '
'; + + print ''.$langs->trans('Modify').''; + + //print dolGetButtonAction($langs->trans("Delete"), '', 'delete', $_SERVER["PHP_SELF"].'?id='.$object->id.'&action=delete&token='.newToken(), 'delete', $permissiontodelete); + + print '
'; } } diff --git a/htdocs/accountancy/admin/fiscalyear_info.php b/htdocs/accountancy/admin/fiscalyear_info.php index bb265c89ecf28..918a5b22db19f 100644 --- a/htdocs/accountancy/admin/fiscalyear_info.php +++ b/htdocs/accountancy/admin/fiscalyear_info.php @@ -56,7 +56,7 @@ $head = fiscalyear_prepare_head($object); - print dol_get_fiche_head($head, 'info', $langs->trans("Fiscalyear"), 0, 'cron'); + print dol_get_fiche_head($head, 'info', $langs->trans("Fiscalyear"), 0, 'calendar'); print ''; // Auto Lettering when transfer in accountancy is realized diff --git a/htdocs/accountancy/admin/productaccount.php b/htdocs/accountancy/admin/productaccount.php index 18a85ca923c93..b6923b3602264 100644 --- a/htdocs/accountancy/admin/productaccount.php +++ b/htdocs/accountancy/admin/productaccount.php @@ -330,7 +330,7 @@ } $sql .= ' WHERE p.entity IN ('.getEntity('product').')'; if (strlen(trim($search_current_account))) { - $sql .= natural_search((empty($conf->global->MAIN_PRODUCT_PERENTITY_SHARED) ? "p." : "ppe.") . $accountancy_field_name, $search_current_account); + $sql .= natural_search((!getDolGlobalString('MAIN_PRODUCT_PERENTITY_SHARED') ? "p." : "ppe.") . $accountancy_field_name, $search_current_account); } if ($search_current_account_valid == 'withoutvalidaccount') { $sql .= " AND aa.account_number IS NULL"; @@ -614,7 +614,7 @@ } else { print_liste_field_titre("OnBuy", $_SERVER["PHP_SELF"], "p.tobuy", "", $param, '', $sortfield, $sortorder, 'center '); } - print_liste_field_titre("CurrentDedicatedAccountingAccount", $_SERVER["PHP_SELF"], (empty($conf->global->MAIN_PRODUCT_PERENTITY_SHARED) ? "p." : "ppe.") . $accountancy_field_name, "", $param, '', $sortfield, $sortorder); + print_liste_field_titre("CurrentDedicatedAccountingAccount", $_SERVER["PHP_SELF"], (!getDolGlobalString('MAIN_PRODUCT_PERENTITY_SHARED') ? "p." : "ppe.") . $accountancy_field_name, "", $param, '', $sortfield, $sortorder); print_liste_field_titre("AssignDedicatedAccountingAccount"); // Action column if (!getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { diff --git a/htdocs/accountancy/bookkeeping/balance.php b/htdocs/accountancy/bookkeeping/balance.php index 319ac308802d5..6b5f09693ce66 100644 --- a/htdocs/accountancy/bookkeeping/balance.php +++ b/htdocs/accountancy/bookkeeping/balance.php @@ -132,7 +132,7 @@ $param = ''; -$parameters = array('socid'=>$socid); +$parameters = array(); $reshook = $hookmanager->executeHooks('doActions', $parameters, $object, $action); // Note that $action and $object may have been modified by some hooks if ($reshook < 0) { setEventMessages($hookmanager->error, $hookmanager->errors, 'errors'); @@ -300,7 +300,7 @@ $newcardbutton = empty($hookmanager->resPrint) ? '' : $hookmanager->resPrint; if (empty($reshook)) { - $newcardbutton = 'global->ACCOUNTING_EXPORT_FORMAT.')" />'; + $newcardbutton = ''; print ' +SCRIPT; $moreforfilter .= ''; $moreforfilter .= ''; @@ -809,6 +848,13 @@ if (!empty($arrayfields['t.label_operation']['checked'])) { print ''; } +// Lettering code +if (!empty($arrayfields['t.lettering_code']['checked'])) { + print ''; +} // Debit if (!empty($arrayfields['t.debit']['checked'])) { print ''; @@ -817,12 +863,9 @@ if (!empty($arrayfields['t.credit']['checked'])) { print ''; } -// Lettering code -if (!empty($arrayfields['t.lettering_code']['checked'])) { - print ''; +// Balance +if (!empty($arrayfields['t.balance']['checked'])) { + print ''; } // Date export if (!empty($arrayfields['t.date_export']['checked'])) { @@ -885,14 +928,17 @@ if (!empty($arrayfields['t.label_operation']['checked'])) { print_liste_field_titre($arrayfields['t.label_operation']['label'], $_SERVER['PHP_SELF'], "t.label_operation", "", $param, "", $sortfield, $sortorder); } +if (!empty($arrayfields['t.lettering_code']['checked'])) { + print_liste_field_titre($arrayfields['t.lettering_code']['label'], $_SERVER['PHP_SELF'], "t.lettering_code", "", $param, '', $sortfield, $sortorder, 'center '); +} if (!empty($arrayfields['t.debit']['checked'])) { print_liste_field_titre($arrayfields['t.debit']['label'], $_SERVER['PHP_SELF'], "t.debit", "", $param, '', $sortfield, $sortorder, 'right '); } if (!empty($arrayfields['t.credit']['checked'])) { print_liste_field_titre($arrayfields['t.credit']['label'], $_SERVER['PHP_SELF'], "t.credit", "", $param, '', $sortfield, $sortorder, 'right '); } -if (!empty($arrayfields['t.lettering_code']['checked'])) { - print_liste_field_titre($arrayfields['t.lettering_code']['label'], $_SERVER['PHP_SELF'], "t.lettering_code", "", $param, '', $sortfield, $sortorder, 'center '); +if (!empty($arrayfields['t.balance']['checked'])) { + print_liste_field_titre($arrayfields['t.balance']['label'], "", "", "", $param, '', $sortfield, $sortorder, 'right '); } if (!empty($arrayfields['t.date_export']['checked'])) { print_liste_field_titre($arrayfields['t.date_export']['label'], $_SERVER['PHP_SELF'], "t.date_export", "", $param, '', $sortfield, $sortorder, 'center '); @@ -942,18 +988,23 @@ //if (empty($accountg)) $accountg = '-'; $colspan = 0; // colspan before field 'label of operation' - $colspanend = 3; // colspan after debit/credit + $colspanend = 0; // colspan after debit/credit + if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { + $colspan++; + } if (!empty($arrayfields['t.piece_num']['checked'])) { $colspan++; } if (!empty($arrayfields['t.code_journal']['checked'])) { $colspan++; } if (!empty($arrayfields['t.doc_date']['checked'])) { $colspan++; } if (!empty($arrayfields['t.doc_ref']['checked'])) { $colspan++; } if (!empty($arrayfields['t.label_operation']['checked'])) { $colspan++; } + if (!empty($arrayfields['t.lettering_code']['checked'])) { $colspan++; } + + if (!empty($arrayfields['t.balance']['checked'])) { $colspanend++; } if (!empty($arrayfields['t.date_export']['checked'])) { $colspanend++; } if (!empty($arrayfields['t.date_validating']['checked'])) { $colspanend++; } - if (!empty($arrayfields['t.lettering_code']['checked'])) { $colspanend++; } - if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { - $colspan++; - $colspanend--; + if (!empty($arrayfields['t.import_key']['checked'])) { $colspanend++; } + if (!getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { + $colspanend++; } // Is it a break ? @@ -968,7 +1019,7 @@ } print ''; print ''; - print ''; + if ($colspanend > 0) print ''; print ''; // Show balance of last shown account $balance = $sous_total_debit - $sous_total_credit; @@ -985,7 +1036,7 @@ print price(price2num($sous_total_credit - $sous_total_debit, 'MT')); print ''; } - print ''; + if ($colspanend > 0) print ''; print ''; } @@ -1154,6 +1205,14 @@ } } + // Lettering code + if (!empty($arrayfields['t.lettering_code']['checked'])) { + print ''; + if (!$i) { + $totalarray['nbfield']++; + } + } + // Amount debit if (!empty($arrayfields['t.debit']['checked'])) { print ''; @@ -1178,12 +1237,16 @@ $totalarray['val']['totalcredit'] += $line->credit; } - // Lettering code - if (!empty($arrayfields['t.lettering_code']['checked'])) { - print ''; + // Amount balance + if (!empty($arrayfields['t.balance']['checked'])) { + print ''; if (!$i) { $totalarray['nbfield']++; } + if (!$i) { + $totalarray['pos'][$totalarray['nbfield']] = 'totalbalance'; + }; + $totalarray['val']['totalbalance'] += $line->debit - $line->credit; } // Exported operation date @@ -1244,7 +1307,7 @@ print ''; print ''; print ''; - print ''; + if ($colspanend > 0) print ''; print ''; // Show balance of last shown account $balance = $sous_total_debit - $sous_total_credit; @@ -1261,7 +1324,7 @@ print price(price2num($sous_total_credit - $sous_total_debit, 'MT')); print ''; } - print ''; + if ($colspanend > 0) print ''; print ''; } @@ -1273,7 +1336,9 @@ if (!empty($totalarray['val']['totalcredit'])) { $totalarray['val']['totalcredit'] = price2num($totalarray['val']['totalcredit'], 'MT'); } - +if (!empty($totalarray['val']['totalbalance'])) { + $totalarray['val']['totalbalance'] = price2num($totalarray['val']['totaldebit'] - $totalarray['val']['totalcredit'], 'MT'); +} // Show total line include DOL_DOCUMENT_ROOT.'/core/tpl/list_print_total.tpl.php'; @@ -1289,7 +1354,7 @@ print ''; } -$parameters = array('arrayfields'=>$arrayfields, 'sql'=>$sql); +$parameters = array('arrayfields'=>$arrayfields); $reshook = $hookmanager->executeHooks('printFieldListFooter', $parameters, $object, $action); // Note that $action and $object may have been modified by hook print $hookmanager->resPrint; diff --git a/htdocs/accountancy/class/accountancyexport.class.php b/htdocs/accountancy/class/accountancyexport.class.php index 318fc26c662bb..5252f548b27e5 100644 --- a/htdocs/accountancy/class/accountancyexport.class.php +++ b/htdocs/accountancy/class/accountancyexport.class.php @@ -103,7 +103,7 @@ public function __construct(DoliDB $db) $this->db = $db; $this->separator = $conf->global->ACCOUNTING_EXPORT_SEPARATORCSV; - $this->end_line = empty($conf->global->ACCOUNTING_EXPORT_ENDLINE) ? "\n" : ($conf->global->ACCOUNTING_EXPORT_ENDLINE == 1 ? "\n" : "\r\n"); + $this->end_line = !getDolGlobalString('ACCOUNTING_EXPORT_ENDLINE') ? "\n" : (getDolGlobalInt('ACCOUNTING_EXPORT_ENDLINE') == 1 ? "\n" : "\r\n"); $hookmanager->initHooks(array('accountancyexport')); } @@ -201,9 +201,9 @@ public function getTypeConfig() 'param' => array( self::$EXPORT_TYPE_CONFIGURABLE => array( 'label' => $langs->trans('Modelcsv_configurable'), - 'ACCOUNTING_EXPORT_FORMAT' => empty($conf->global->ACCOUNTING_EXPORT_FORMAT) ? 'txt' : $conf->global->ACCOUNTING_EXPORT_FORMAT, - 'ACCOUNTING_EXPORT_SEPARATORCSV' => empty($conf->global->ACCOUNTING_EXPORT_SEPARATORCSV) ? ',' : $conf->global->ACCOUNTING_EXPORT_SEPARATORCSV, - 'ACCOUNTING_EXPORT_ENDLINE' => empty($conf->global->ACCOUNTING_EXPORT_ENDLINE) ? 1 : $conf->global->ACCOUNTING_EXPORT_ENDLINE, + 'ACCOUNTING_EXPORT_FORMAT' => !getDolGlobalString('ACCOUNTING_EXPORT_FORMAT') ? 'txt' : $conf->global->ACCOUNTING_EXPORT_FORMAT, + 'ACCOUNTING_EXPORT_SEPARATORCSV' => !getDolGlobalString('ACCOUNTING_EXPORT_SEPARATORCSV') ? ',' : $conf->global->ACCOUNTING_EXPORT_SEPARATORCSV, + 'ACCOUNTING_EXPORT_ENDLINE' => !getDolGlobalString('ACCOUNTING_EXPORT_ENDLINE') ? 1 : $conf->global->ACCOUNTING_EXPORT_ENDLINE, 'ACCOUNTING_EXPORT_DATE' => getDolGlobalString('ACCOUNTING_EXPORT_DATE', '%Y-%m-%d'), ), self::$EXPORT_TYPE_CEGID => array( @@ -341,6 +341,10 @@ public function export(&$TData, $formatexportset, $withAttachment = 0, $download $exportFile = null; $exportFileName = ''; $exportFilePath = ''; + $exportFileFullName =''; + $downloadFileMimeType = ''; + $downloadFileFullName = ''; + $downloadFilePath = ''; $archiveFullName = ''; $archivePath = ''; $archiveFileList = array(); @@ -480,10 +484,10 @@ public function export(&$TData, $formatexportset, $withAttachment = 0, $download $this->exportGestimumV5($TData, $exportFile); break; case self::$EXPORT_TYPE_FEC: - $this->exportFEC($TData, $exportFile); + $archiveFileList = $this->exportFEC($TData, $exportFile, $archiveFileList, $withAttachment); break; case self::$EXPORT_TYPE_FEC2: - $this->exportFEC2($TData, $exportFile); + $archiveFileList = $this->exportFEC2($TData, $exportFile, $archiveFileList, $withAttachment); break; case self::$EXPORT_TYPE_ISUITEEXPERT : $this->exportiSuiteExpert($TData, $exportFile); @@ -816,9 +820,10 @@ public function exportCiel($objectLines, $exportFile = null) /** * Export format : Quadratus (Format ASCII) * Format since 2015 compatible QuadraCOMPTA - * Last review for this format : 2023/09/16 Alexandre Spangaro (aspangaro@open-dsi.fr) + * Last review for this format : 2023/10/12 Alexandre Spangaro (aspangaro@open-dsi.fr) * - * Help : https://docplayer.fr/20769649-Fichier-d-entree-ascii-dans-quadracompta.html + * Information on format: https://docplayer.fr/20769649-Fichier-d-entree-ascii-dans-quadracompta.html + * Help to import in Quadra: https://wiki.dolibarr.org/index.php?title=Module_Comptabilit%C3%A9_en_Partie_Double#Import_vers_CEGID_Quadra * In QuadraCompta | Use menu : "Outils" > "Suivi des dossiers" > "Import ASCII(Compta)" * * @param array $objectLines data @@ -977,19 +982,31 @@ public function exportQuadratus($objectLines, $exportFile = null, $archiveFileLi $objectDirPath = ''; $objectFileName = dol_sanitizeFileName($line->doc_ref); if ($line->doc_type == 'customer_invoice') { - $objectDirPath = !empty($conf->facture->multidir_output[$conf->entity]) ? $conf->facture->multidir_output[$conf->entity] : $conf->facture->dir_output; + $objectDirPath = !empty($conf->invoice->multidir_output[$conf->entity]) ? $conf->invoice->multidir_output[$conf->entity] : $conf->invoice->dir_output; } elseif ($line->doc_type == 'expense_report') { - $objectDirPath = !empty($conf->expensereport->multidir_output[$conf->entity]) ? $conf->expensereport->multidir_output[$conf->entity] : $conf->factureexpensereport->dir_output; + $objectDirPath = !empty($conf->expensereport->multidir_output[$conf->entity]) ? $conf->expensereport->multidir_output[$conf->entity] : $conf->expensereport->dir_output; } elseif ($line->doc_type == 'supplier_invoice') { + require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.facture.class.php'; + $invoice = new FactureFournisseur($this->db); + $invoice->fetch($line->fk_doc); $objectDirPath = !empty($conf->fournisseur->facture->multidir_output[$conf->entity]) ? $conf->fournisseur->facture->multidir_output[$conf->entity] : $conf->fournisseur->facture->dir_output; + $objectDirPath.= '/'.rtrim(get_exdir($invoice->id, 2, 0, 0, $invoice, 'invoice_supplier'), '/'); } $arrayofinclusion = array(); - $arrayofinclusion[] = '^'.preg_quote($objectFileName, '/').'\.pdf$'; + // If it is a supplier invoice, we want to use last uploaded file + $arrayofinclusion[] = '^'.preg_quote($objectFileName, '/').(($line->doc_type == 'supplier_invoice') ? '.+' : '').'\.pdf$'; $fileFoundList = dol_dir_list($objectDirPath.'/'.$objectFileName, 'files', 0, implode('|', $arrayofinclusion), '(\.meta|_preview.*\.png)$', 'date', SORT_DESC, 0, true); if (!empty($fileFoundList)) { $attachmentFileNameTrunc = str_pad(self::trunc($line->piece_num, 8), 8, '0', STR_PAD_LEFT); foreach ($fileFoundList as $fileFound) { if (strstr($fileFound['name'], $objectFileName)) { + // skip native invoice pdfs (canelle) + // We want to retrieve an attachment representative of the supplier invoice, not a fake document generated by Dolibarr. + if ($line->doc_type == 'supplier_invoice') { + if ($fileFound['name'] === $objectFileName.'.pdf') continue; + } elseif ($fileFound['name'] !== $objectFileName.'.pdf') { + continue; + } $fileFoundPath = $objectDirPath.'/'.$objectFileName.'/'.$fileFound['name']; if (file_exists($fileFoundPath)) { $archiveFileList[$attachmentFileKey] = array( @@ -1284,14 +1301,19 @@ public function exportConfigurable($objectLines, $exportFile = null) /** * Export format : FEC + * Last review for this format : 2023/10/12 Alexandre Spangaro (aspangaro@open-dsi.fr) + * + * Help to import in your software: https://wiki.dolibarr.org/index.php?title=Module_Comptabilit%C3%A9_en_Partie_Double#Exports_avec_fichiers_sources * * @param array $objectLines data * @param resource $exportFile [=null] File resource to export or print if null - * @return void + * @param array $archiveFileList [=array()] Archive file list : array of ['path', 'name'] + * @param bool $withAttachment [=0] Not add files or 1 to have attached in an archive + * @return array Archive file list : array of ['path', 'name'] */ - public function exportFEC($objectLines, $exportFile = null) + public function exportFEC($objectLines, $exportFile = null, $archiveFileList = array(), $withAttachment = 0) { - global $langs; + global $conf, $langs; $separator = "\t"; $end_line = "\r\n"; @@ -1317,6 +1339,7 @@ public function exportFEC($objectLines, $exportFile = null) $tab[] = "Idevise"; $tab[] = "DateLimitReglmt"; $tab[] = "NumFacture"; + $tab[] = "FichierFacture"; $output = implode($separator, $tab).$end_line; if ($exportFile) { @@ -1389,6 +1412,7 @@ public function exportFEC($objectLines, $exportFile = null) // FEC:EcritureLib // Clean label operation to prevent problem on export with tab separator & other character $line->label_operation = str_replace(array("\t", "\n", "\r"), " ", $line->label_operation); + $line->label_operation = str_replace(array("..."), "", $line->label_operation); $tab[] = dol_string_unaccent($line->label_operation); // FEC:Debit @@ -1420,6 +1444,58 @@ public function exportFEC($objectLines, $exportFile = null) $refInvoice = str_replace(array("\t", "\n", "\r"), " ", $refInvoice); $tab[] = dol_trunc(self::toAnsi($refInvoice), 17, 'right', 'UTF-8', 1); + // FEC_suppl:FichierFacture + // get document file + $attachmentFileName = ''; + if ($withAttachment == 1) { + $attachmentFileKey = trim($line->piece_num); + + if (!isset($archiveFileList[$attachmentFileKey])) { + $objectDirPath = ''; + $objectFileName = dol_sanitizeFileName($line->doc_ref); + if ($line->doc_type == 'customer_invoice') { + $objectDirPath = !empty($conf->invoice->multidir_output[$conf->entity]) ? $conf->invoice->multidir_output[$conf->entity] : $conf->invoice->dir_output; + } elseif ($line->doc_type == 'expense_report') { + $objectDirPath = !empty($conf->expensereport->multidir_output[$conf->entity]) ? $conf->expensereport->multidir_output[$conf->entity] : $conf->expensereport->dir_output; + } elseif ($line->doc_type == 'supplier_invoice') { + $objectDirPath = !empty($conf->fournisseur->facture->multidir_output[$conf->entity]) ? $conf->fournisseur->facture->multidir_output[$conf->entity] : $conf->fournisseur->facture->dir_output; + $objectDirPath.= '/'.rtrim(get_exdir($invoice->id, 2, 0, 0, $invoice, 'invoice_supplier'), '/'); + } + $arrayofinclusion = array(); + // If it is a supplier invoice, we want to use last uploaded file + $arrayofinclusion[] = '^'.preg_quote($objectFileName, '/').(($line->doc_type == 'supplier_invoice') ? '.+' : '').'\.pdf$'; + $fileFoundList = dol_dir_list($objectDirPath.'/'.$objectFileName, 'files', 0, implode('|', $arrayofinclusion), '(\.meta|_preview.*\.png)$', 'date', SORT_DESC, 0, true); + if (!empty($fileFoundList)) { + $attachmentFileNameTrunc = $line->doc_ref; + foreach ($fileFoundList as $fileFound) { + if (strstr($fileFound['name'], $objectFileName)) { + // skip native invoice pdfs (canelle) + // We want to retrieve an attachment representative of the supplier invoice, not a fake document generated by Dolibarr. + if ($line->doc_type == 'supplier_invoice') { + if ($fileFound['name'] === $objectFileName.'.pdf') continue; + } elseif ($fileFound['name'] !== $objectFileName.'.pdf') { + continue; + } + $fileFoundPath = $objectDirPath.'/'.$objectFileName.'/'.$fileFound['name']; + if (file_exists($fileFoundPath)) { + $archiveFileList[$attachmentFileKey] = array( + 'path' => $fileFoundPath, + 'name' => $attachmentFileNameTrunc.'.pdf', + ); + break; + } + } + } + } + } + + if (isset($archiveFileList[$attachmentFileKey])) { + $attachmentFileName = $archiveFileList[$attachmentFileKey]['name']; + } + } + + $tab[] = $attachmentFileName; + $output = implode($separator, $tab).$end_line; if ($exportFile) { fwrite($exportFile, $output); @@ -1428,18 +1504,25 @@ public function exportFEC($objectLines, $exportFile = null) } } } + + return $archiveFileList; } /** * Export format : FEC2 + * Last review for this format : 2023/10/12 Alexandre Spangaro (aspangaro@open-dsi.fr) + * + * Help to import in your software: https://wiki.dolibarr.org/index.php?title=Module_Comptabilit%C3%A9_en_Partie_Double#Exports_avec_fichiers_sources * * @param array $objectLines data * @param resource $exportFile [=null] File resource to export or print if null - * @return void + * @param array $archiveFileList [=array()] Archive file list : array of ['path', 'name'] + * @param bool $withAttachment [=0] Not add files or 1 to have attached in an archive + * @return array Archive file list : array of ['path', 'name'] */ - public function exportFEC2($objectLines, $exportFile = null) + public function exportFEC2($objectLines, $exportFile = null, $archiveFileList = array(), $withAttachment = 0) { - global $langs; + global $conf, $langs; $separator = "\t"; $end_line = "\r\n"; @@ -1465,6 +1548,7 @@ public function exportFEC2($objectLines, $exportFile = null) $tab[] = "Idevise"; $tab[] = "DateLimitReglmt"; $tab[] = "NumFacture"; + $tab[] = "FichierFacture"; $output = implode($separator, $tab).$end_line; if ($exportFile) { @@ -1537,6 +1621,7 @@ public function exportFEC2($objectLines, $exportFile = null) // FEC:EcritureLib // Clean label operation to prevent problem on export with tab separator & other character $line->label_operation = str_replace(array("\t", "\n", "\r"), " ", $line->label_operation); + $line->label_operation = str_replace(array("..."), "", $line->label_operation); $tab[] = dol_string_unaccent($line->label_operation); // FEC:Debit @@ -1568,6 +1653,58 @@ public function exportFEC2($objectLines, $exportFile = null) $refInvoice = str_replace(array("\t", "\n", "\r"), " ", $refInvoice); $tab[] = dol_trunc(self::toAnsi($refInvoice), 17, 'right', 'UTF-8', 1); + // FEC_suppl:FichierFacture + // get document file + $attachmentFileName = ''; + if ($withAttachment == 1) { + $attachmentFileKey = trim($line->piece_num); + + if (!isset($archiveFileList[$attachmentFileKey])) { + $objectDirPath = ''; + $objectFileName = dol_sanitizeFileName($line->doc_ref); + if ($line->doc_type == 'customer_invoice') { + $objectDirPath = !empty($conf->invoice->multidir_output[$conf->entity]) ? $conf->invoice->multidir_output[$conf->entity] : $conf->invoice->dir_output; + } elseif ($line->doc_type == 'expense_report') { + $objectDirPath = !empty($conf->expensereport->multidir_output[$conf->entity]) ? $conf->expensereport->multidir_output[$conf->entity] : $conf->expensereport->dir_output; + } elseif ($line->doc_type == 'supplier_invoice') { + $objectDirPath = !empty($conf->fournisseur->facture->multidir_output[$conf->entity]) ? $conf->fournisseur->facture->multidir_output[$conf->entity] : $conf->fournisseur->facture->dir_output; + $objectDirPath.= '/'.rtrim(get_exdir($invoice->id, 2, 0, 0, $invoice, 'invoice_supplier'), '/'); + } + $arrayofinclusion = array(); + // If it is a supplier invoice, we want to use last uploaded file + $arrayofinclusion[] = '^'.preg_quote($objectFileName, '/').(($line->doc_type == 'supplier_invoice') ? '.+' : '').'\.pdf$'; + $fileFoundList = dol_dir_list($objectDirPath.'/'.$objectFileName, 'files', 0, implode('|', $arrayofinclusion), '(\.meta|_preview.*\.png)$', 'date', SORT_DESC, 0, true); + if (!empty($fileFoundList)) { + $attachmentFileNameTrunc = $line->doc_ref; + foreach ($fileFoundList as $fileFound) { + if (strstr($fileFound['name'], $objectFileName)) { + // skip native invoice pdfs (canelle) + // We want to retrieve an attachment representative of the supplier invoice, not a fake document generated by Dolibarr. + if ($line->doc_type == 'supplier_invoice') { + if ($fileFound['name'] === $objectFileName.'.pdf') continue; + } elseif ($fileFound['name'] !== $objectFileName.'.pdf') { + continue; + } + $fileFoundPath = $objectDirPath.'/'.$objectFileName.'/'.$fileFound['name']; + if (file_exists($fileFoundPath)) { + $archiveFileList[$attachmentFileKey] = array( + 'path' => $fileFoundPath, + 'name' => $attachmentFileNameTrunc.'.pdf', + ); + break; + } + } + } + } + } + + if (isset($archiveFileList[$attachmentFileKey])) { + $attachmentFileName = $archiveFileList[$attachmentFileKey]['name']; + } + } + + $tab[] = $attachmentFileName; + $output = implode($separator, $tab).$end_line; if ($exportFile) { fwrite($exportFile, $output); @@ -1576,6 +1713,8 @@ public function exportFEC2($objectLines, $exportFile = null) } } } + + return $archiveFileList; } /** diff --git a/htdocs/accountancy/class/accountingaccount.class.php b/htdocs/accountancy/class/accountingaccount.class.php index a0cd11c3ec132..005056112f88e 100644 --- a/htdocs/accountancy/class/accountingaccount.class.php +++ b/htdocs/accountancy/class/accountingaccount.class.php @@ -401,6 +401,7 @@ public function checkUsage() { global $langs; + // TODO Looks a stupid check $sql = "(SELECT fk_code_ventilation FROM ".MAIN_DB_PREFIX."facturedet"; $sql .= " WHERE fk_code_ventilation=".((int) $this->id).")"; $sql .= "UNION"; @@ -496,7 +497,7 @@ public function getNomUrl($withpicto = 0, $withlabel = 0, $nourl = 0, $moretitle $url = ''; $labelurl = ''; if (empty($option) || $option == 'ledger') { - $url = DOL_URL_ROOT . '/accountancy/bookkeeping/listbyaccount.php?search_accountancy_code_start=' . urlencode($this->account_number) . '&search_accountancy_code_end=' . urlencode($this->account_number); + $url = DOL_URL_ROOT . '/accountancy/bookkeeping/listbyaccount.php?search_accountancy_code_start=' . urlencode((isset($this->account_number) ? $this->account_number : '')) . '&search_accountancy_code_end=' . urlencode((isset($this->account_number) ? $this->account_number : '')); $labelurl = $langs->trans("ShowAccountingAccountInLedger"); } elseif ($option == 'journals') { $url = DOL_URL_ROOT . '/accountancy/bookkeeping/list.php?search_accountancy_code_start=' . urlencode($this->account_number) . '&search_accountancy_code_end=' . urlencode($this->account_number); @@ -537,7 +538,7 @@ public function getNomUrl($withpicto = 0, $withlabel = 0, $nourl = 0, $moretitle $linkclose = ''; if (empty($notooltip)) { - if (!empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) { + if (getDolGlobalString('MAIN_OPTIMIZEFORTEXTBROWSER')) { $label = $labelurl; $linkclose .= ' alt="' . dol_escape_htmltag($label, 1) . '"'; } @@ -599,6 +600,7 @@ public function info($id) if ($resql) { if ($this->db->num_rows($resql)) { $obj = $this->db->fetch_object($resql); + $this->id = $obj->rowid; $this->user_creation_id = $obj->fk_user_author; @@ -841,7 +843,7 @@ public function getAccountingCodeToBind(Societe $buyer, Societe $seller, Product } $suggestedid = $accountingAccount['dom']; // There is a doubt for this case. Is it an error on vat or we just forgot to fill vat number ? $suggestedaccountingaccountfor = 'eecwithoutvatnumber'; - } elseif ($isSellerInEEC && $isBuyerInEEC && !empty($product->accountancy_code_sell_intra)) { + } elseif ($isSellerInEEC && $isBuyerInEEC && (($type == 'customer' && !empty($product->accountancy_code_sell_intra)) || ($type == 'supplier' && !empty($product->accountancy_code_buy_intra)))) { // European intravat sale if ($type == 'customer' && !empty($product->accountancy_code_sell_intra)) { $code_p = $product->accountancy_code_sell_intra; @@ -863,7 +865,7 @@ public function getAccountingCodeToBind(Societe $buyer, Societe $seller, Product } // Level 3 (define $code_t): Search suggested account for this thirdparty (similar code exists in page index.php to make automatic binding) - if (!empty($conf->global->ACCOUNTANCY_USE_PRODUCT_ACCOUNT_ON_THIRDPARTY)) { + if (getDolGlobalString('ACCOUNTANCY_USE_PRODUCT_ACCOUNT_ON_THIRDPARTY')) { if (!empty($buyer->code_compta_product)) { $code_t = $buyer->code_compta_product; $suggestedid = $accountingAccount['thirdparty']; @@ -913,7 +915,7 @@ public function getAccountingCodeToBind(Societe $buyer, Societe $seller, Product } // If $suggestedid could not be guessed yet, we set it from the generic default accounting code $code_l - if (empty($suggestedid) && empty($code_p) && !empty($code_l) && empty($conf->global->ACCOUNTANCY_DO_NOT_AUTOFILL_ACCOUNT_WITH_GENERIC)) { + if (empty($suggestedid) && empty($code_p) && !empty($code_l) && !getDolGlobalString('ACCOUNTANCY_DO_NOT_AUTOFILL_ACCOUNT_WITH_GENERIC')) { if (empty($this->accountingaccount_codetotid_cache[$code_l])) { $tmpaccount = new self($this->db); $result = $tmpaccount->fetch(0, $code_l, 1); diff --git a/htdocs/accountancy/class/accountingjournal.class.php b/htdocs/accountancy/class/accountingjournal.class.php index ccf5d67dcfda0..9c50f4fec45ff 100644 --- a/htdocs/accountancy/class/accountingjournal.class.php +++ b/htdocs/accountancy/class/accountingjournal.class.php @@ -228,7 +228,7 @@ public function fetchAll($sortorder = '', $sortfield = '', $limit = 0, $offset = } /** - * Return clicable name (with picto eventually) + * Return clickable name (with picto eventually) * * @param int $withpicto 0=No picto, 1=Include picto into link, 2=Only picto * @param int $withlabel 0=No label, 1=Include label of journal, 2=Include nature of journal @@ -262,7 +262,7 @@ public function getNomUrl($withpicto = 0, $withlabel = 0, $nourl = 0, $moretitle $linkclose = ''; if (empty($notooltip)) { - if (!empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) { + if (getDolGlobalString('MAIN_OPTIMIZEFORTEXTBROWSER')) { $label = $langs->trans("ShowAccountingJournal"); $linkclose .= ' alt="'.dol_escape_htmltag($label, 1).'"'; } @@ -281,7 +281,7 @@ public function getNomUrl($withpicto = 0, $withlabel = 0, $nourl = 0, $moretitle } $label_link = $this->code; - if ($withlabel != 2 && !empty($this->label)) { + if ($withlabel == 1 && !empty($this->label)) { $label_link .= ' - '.($nourl ? '' : '').$langs->transnoentities($this->label).($nourl ? '' : ''); } if ($withlabel == 2 && !empty($this->nature)) { @@ -465,7 +465,7 @@ public function getAssetData(User $user, $type = 'view', $date_start = null, $da $sql .= " AND ad.depreciation_date >= '" . $this->db->idate($date_start) . "' AND ad.depreciation_date <= '" . $this->db->idate($date_end) . "'"; } // Define begin binding date - if (!empty($conf->global->ACCOUNTING_DATE_START_BINDING)) { + if (getDolGlobalString('ACCOUNTING_DATE_START_BINDING')) { $sql .= " AND ad.depreciation_date >= '" . $this->db->idate($conf->global->ACCOUNTING_DATE_START_BINDING) . "'"; } $sql .= " ORDER BY ad.depreciation_date"; @@ -614,7 +614,7 @@ public function getAssetData(User $user, $type = 'view', $date_start = null, $da $disposal_date = $pre_data_info['disposal']['date']; if ((!($date_start && $date_end) || ($date_start <= $disposal_date && $disposal_date <= $date_end)) && - (empty($conf->global->ACCOUNTING_DATE_START_BINDING) || $conf->global->ACCOUNTING_DATE_START_BINDING <= $disposal_date) + (!getDolGlobalString('ACCOUNTING_DATE_START_BINDING') || $conf->global->ACCOUNTING_DATE_START_BINDING <= $disposal_date) ) { $disposal_amount = $pre_data_info['disposal']['amount']; $disposal_subject_to_vat = $pre_data_info['disposal']['subject_to_vat']; diff --git a/htdocs/accountancy/class/bookkeeping.class.php b/htdocs/accountancy/class/bookkeeping.class.php index b687310193ab6..49df97ac75eda 100644 --- a/htdocs/accountancy/class/bookkeeping.class.php +++ b/htdocs/accountancy/class/bookkeeping.class.php @@ -26,6 +26,9 @@ // Class require_once DOL_DOCUMENT_ROOT.'/core/class/commonobject.class.php'; +require_once DOL_DOCUMENT_ROOT.'/core/class/fiscalyear.class.php'; +require_once DOL_DOCUMENT_ROOT.'/accountancy/class/accountingjournal.class.php'; +require_once DOL_DOCUMENT_ROOT.'/accountancy/class/accountingaccount.class.php'; /** * Class to manage Ledger (General Ledger and Subledger) @@ -169,6 +172,16 @@ class BookKeeping extends CommonObject */ public $piece_num; + /** + * @var BookKeepingLine[] Movement line array + */ + public $linesmvt = array(); + + /** + * @var BookKeepingLine[] export line array + */ + public $linesexport = array(); + /** * @var integer|string date of movement validated & lock */ @@ -184,6 +197,15 @@ class BookKeeping extends CommonObject */ public $picto = 'generic'; + /** + * @var array List of active fiscal periods cached [[date_start, date_end], ...] + */ + public static $active_fiscal_period_cached; + /** + * @var string[] SQL filter used for check if the bookkeeping record can be created/inserted/modified/deleted (cached) + */ + public static $can_modify_bookkeeping_sql_cached; + /** * Constructor @@ -275,6 +297,14 @@ public function create(User $user, $notrigger = false) $this->credit = 0.0; } + $result = $this->validBookkeepingDate($this->doc_date); + if ($result < 0) { + return -1; + } elseif ($result == 0) { + $this->errors[] = $langs->trans('ErrorBookkeepingDocDateNotOnActiveFiscalPeriod'); + return -1; + } + // Check parameters if (($this->numero_compte == "") || $this->numero_compte == '-1' || $this->numero_compte == 'NotDefined') { $langs->loadLangs(array("errors")); @@ -305,7 +335,7 @@ public function create(User $user, $notrigger = false) $sql .= " FROM ".MAIN_DB_PREFIX.$this->table_element; $sql .= " WHERE doc_type = '".$this->db->escape($this->doc_type)."'"; $sql .= " AND fk_doc = ".((int) $this->fk_doc); - if (!empty($conf->global->ACCOUNTANCY_ENABLE_FKDOCDET)) { + if (getDolGlobalString('ACCOUNTANCY_ENABLE_FKDOCDET')) { // DO NOT USE THIS IN PRODUCTION. This will generate a lot of trouble into reports and will corrupt database (by generating duplicate entries. $sql .= " AND fk_docdet = ".((int) $this->fk_docdet); // This field can be 0 if record is for several lines } @@ -323,7 +353,7 @@ public function create(User $user, $notrigger = false) $sqlnum .= " FROM ".MAIN_DB_PREFIX.$this->table_element; $sqlnum .= " WHERE doc_type = '".$this->db->escape($this->doc_type)."'"; // For example doc_type = 'bank' $sqlnum .= " AND fk_doc = ".((int) $this->fk_doc); - if (!empty($conf->global->ACCOUNTANCY_ENABLE_FKDOCDET)) { + if (getDolGlobalString('ACCOUNTANCY_ENABLE_FKDOCDET')) { // fk_docdet is rowid into llx_bank or llx_facturedet or llx_facturefourndet, or ... $sqlnum .= " AND fk_docdet = ".((int) $this->fk_docdet); } @@ -498,7 +528,7 @@ public function getNomUrl($withpicto = 0, $option = '', $notooltip = 0, $morecss $linkclose = ''; if (empty($notooltip)) { - if (!empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) { + if (getDolGlobalString('MAIN_OPTIMIZEFORTEXTBROWSER')) { $label = $langs->trans("ShowTransaction"); $linkclose .= ' alt="'.dol_escape_htmltag($label, 1).'"'; } @@ -620,6 +650,14 @@ public function createStd(User $user, $notrigger = false, $mode = '') $this->montant = 0; } + $result = $this->validBookkeepingDate($this->doc_date); + if ($result < 0) { + return -1; + } elseif ($result == 0) { + $this->errors[] = $langs->trans('ErrorBookkeepingDocDateNotOnActiveFiscalPeriod'); + return -1; + } + $this->debit = price2num($this->debit, 'MT'); $this->credit = price2num($this->credit, 'MT'); $this->montant = price2num($this->montant, 'MT'); @@ -716,10 +754,11 @@ public function createStd(User $user, $notrigger = false, $mode = '') /** * Load object in memory from the database * - * @param int $id Id object - * @param string $ref Ref (Not used. Does not exists on this table, same as rowid) - * @param string $mode Mode - * @return int Int <0 if KO, 0 if not found, >0 if OK + * @param int $id Id object + * @param string $ref Ref + * @param string $mode Mode + * + * @return int <0 if KO, 0 if not found, >0 if OK */ public function fetch($id, $ref = null, $mode = '') { @@ -762,7 +801,7 @@ public function fetch($id, $ref = null, $mode = '') if (null !== $ref) { $sql .= " AND t.rowid = ".((int) $ref); } else { - $sql .= ' AND t.rowid = '.((int) $id); + $sql .= " AND t.rowid = ".((int) $id); } $resql = $this->db->query($sql); @@ -797,7 +836,7 @@ public function fetch($id, $ref = null, $mode = '') $this->piece_num = $obj->piece_num; $this->date_creation = $this->db->jdate($obj->date_creation); $this->date_export = $this->db->jdate($obj->date_export); - $this->date_validation = isset($obj->date_validated) ? $this->db->jdate($obj->date_validated) : ''; + $this->date_validation = isset($obj->date_validation) ? $this->db->jdate($obj->date_validation) : ''; } $this->db->free($resql); @@ -1153,7 +1192,7 @@ public function fetchAll($sortorder = '', $sortfield = '', $limit = 0, $offset = * @param int $offset offset limit * @param array $filter filter array * @param string $filtermode filter mode (AND or OR) - * @param int $option option (0: general account or 1: subaccount) + * @param int $option option (0: aggregate by general account or 1: aggreegate by subaccount) * @return int <0 if KO, >0 if OK */ public function fetchAllBalance($sortorder = '', $sortfield = '', $limit = 0, $offset = 0, array $filter = array(), $filtermode = 'AND', $option = 0) @@ -1166,7 +1205,6 @@ public function fetchAllBalance($sortorder = '', $sortfield = '', $limit = 0, $o $sql = 'SELECT'; $sql .= " t.numero_compte,"; - $sql .= " t.label_compte,"; if (!empty($option)) { $sql .= " t.subledger_account,"; $sql .= " t.subledger_label,"; @@ -1209,13 +1247,13 @@ public function fetchAllBalance($sortorder = '', $sortfield = '', $limit = 0, $o } if (!empty($option)) { - $sql .= ' AND t.subledger_account IS NOT NULL'; - $sql .= ' AND t.subledger_account != ""'; - $sql .= ' GROUP BY t.numero_compte, t.label_compte, t.subledger_account, t.subledger_label'; + $sql .= " AND t.subledger_account IS NOT NULL"; + $sql .= " AND t.subledger_account <> ''"; + $sql .= " GROUP BY t.numero_compte, t.subledger_account, t.subledger_label"; $sortfield = 't.subledger_account'.($sortfield ? ','.$sortfield : ''); $sortorder = 'ASC'.($sortfield ? ','.$sortfield : ''); } else { - $sql .= ' GROUP BY t.numero_compte, t.label_compte'; + $sql .= ' GROUP BY t.numero_compte'; $sortfield = 't.numero_compte'.($sortfield ? ','.$sortfield : ''); $sortorder = 'ASC'.($sortorder ? ','.$sortorder : ''); } @@ -1236,9 +1274,11 @@ public function fetchAllBalance($sortorder = '', $sortfield = '', $limit = 0, $o $line = new BookKeepingLine(); $line->numero_compte = $obj->numero_compte; - $line->label_compte = $obj->label_compte; - $line->subledger_account = $obj->subledger_account; - $line->subledger_label = $obj->subledger_label; + //$line->label_compte = $obj->label_compte; + if (!empty($option)) { + $line->subledger_account = $obj->subledger_account; + $line->subledger_label = $obj->subledger_label; + } $line->debit = $obj->debit; $line->credit = $obj->credit; @@ -1267,6 +1307,7 @@ public function fetchAllBalance($sortorder = '', $sortfield = '', $limit = 0, $o */ public function update(User $user, $notrigger = false, $mode = '') { + global $langs; $error = 0; dol_syslog(__METHOD__, LOG_DEBUG); @@ -1327,6 +1368,14 @@ public function update(User $user, $notrigger = false, $mode = '') $this->piece_num = trim($this->piece_num); } + $result = $this->canModifyBookkeeping($this->id); + if ($result < 0) { + return -1; + } elseif ($result == 0) { + $this->errors[] = $langs->trans('ErrorBookkeepingDocDateNotOnActiveFiscalPeriod'); + return -1; + } + $this->debit = price2num($this->debit, 'MT'); $this->credit = price2num($this->credit, 'MT'); @@ -1401,11 +1450,17 @@ public function updateByMvt($piece_num = '', $field = '', $value = '', $mode = ' { $error = 0; + $sql_filter = $this->getCanModifyBookkeepingSQL(); + if (!isset($sql_filter)) { + return -1; + } + $this->db->begin(); $sql = "UPDATE ".MAIN_DB_PREFIX.$this->table_element.$mode; $sql .= " SET ".$field." = ".(is_numeric($value) ? ((float) $value) : "'".$this->db->escape($value)."'"); $sql .= " WHERE piece_num = ".((int) $piece_num); + $sql .= $sql_filter; $resql = $this->db->query($sql); @@ -1435,8 +1490,17 @@ public function updateByMvt($piece_num = '', $field = '', $value = '', $mode = ' */ public function delete(User $user, $notrigger = false, $mode = '') { + global $langs; dol_syslog(__METHOD__, LOG_DEBUG); + $result = $this->canModifyBookkeeping($this->id); + if ($result < 0) { + return -1; + } elseif ($result == 0) { + $this->errors[] = $langs->trans('ErrorBookkeepingDocDateNotOnActiveFiscalPeriod'); + return -1; + } + $error = 0; $this->db->begin(); @@ -1486,10 +1550,16 @@ public function deleteByImportkey($importkey, $mode = '') { $this->db->begin(); + $sql_filter = $this->getCanModifyBookkeepingSQL(); + if (!isset($sql_filter)) { + return -1; + } + // first check if line not yet in bookkeeping $sql = "DELETE"; $sql .= " FROM ".MAIN_DB_PREFIX.$this->table_element.$mode; $sql .= " WHERE import_key = '".$this->db->escape($importkey)."'"; + $sql .= $sql_filter; $resql = $this->db->query($sql); @@ -1526,6 +1596,11 @@ public function deleteByYearAndJournal($delyear = 0, $journal = '', $mode = '', return -2; } + $sql_filter = $this->getCanModifyBookkeepingSQL(); + if (!isset($sql_filter)) { + return -1; + } + $this->db->begin(); // Delete record in bookkeeping @@ -1539,6 +1614,7 @@ public function deleteByYearAndJournal($delyear = 0, $journal = '', $mode = '', $sql .= " AND entity = " . ((int) $conf->entity); // Do not use getEntity for accounting features // Exclusion of validated entries at the time of deletion $sql .= " AND date_validated IS NULL"; + $sql .= $sql_filter; // TODO: In a future we must forbid deletion if record is inside a closed fiscal period. @@ -1569,6 +1645,11 @@ public function deleteMvtNum($piecenum, $mode = '') { global $conf; + $sql_filter = $this->getCanModifyBookkeepingSQL(); + if (!isset($sql_filter)) { + return -1; + } + $this->db->begin(); // first check if line not yet in bookkeeping @@ -1577,6 +1658,7 @@ public function deleteMvtNum($piecenum, $mode = '') $sql .= " WHERE piece_num = ".(int) $piecenum; $sql .= " AND date_validated IS NULL"; // For security, exclusion of validated entries at the time of deletion $sql .= " AND entity = " . ((int) $conf->entity); // Do not use getEntity for accounting features + $sql .= $sql_filter; $resql = $this->db->query($sql); @@ -1906,6 +1988,11 @@ public function transformTransaction($direction = 0, $piece_num = '') $error = 0; + $sql_filter = $this->getCanModifyBookkeepingSQL(); + if (!isset($sql_filter)) { + return -1; + } + $this->db->begin(); if ($direction == 0) { @@ -1937,6 +2024,7 @@ public function transformTransaction($direction = 0, $piece_num = '') $sql .= ' numero_compte, label_compte, label_operation, debit, credit,'; $sql .= ' montant, sens, fk_user_author, import_key, code_journal, journal_label, '.((int) $next_piecenum).", '".$this->db->idate($now)."'"; $sql .= ' FROM '.MAIN_DB_PREFIX.$this->table_element.'_tmp WHERE piece_num = '.((int) $piece_num).' AND numero_compte IS NOT NULL AND entity = ' .((int) $conf->entity); + $sql .= $sql_filter; $resql = $this->db->query($sql); if (!$resql) { $error++; @@ -1975,6 +2063,7 @@ public function transformTransaction($direction = 0, $piece_num = '') $sql .= ' numero_compte, label_compte, label_operation, debit, credit,'; $sql .= ' montant, sens, fk_user_author, import_key, code_journal, journal_label, piece_num'; $sql .= ' FROM '.MAIN_DB_PREFIX.$this->table_element.' WHERE piece_num = '.((int) $piece_num).' AND entity = ' .((int) $conf->entity); + $sql .= $sql_filter; $resql = $this->db->query($sql); if (!$resql) { $error++; @@ -1985,6 +2074,7 @@ public function transformTransaction($direction = 0, $piece_num = '') if (!$error) { $sql = 'DELETE FROM '.MAIN_DB_PREFIX.$this->table_element.'_tmp WHERE piece_num = '.((int) $piece_num).' AND entity = ' .((int) $conf->entity); + $sql .= $sql_filter; $resql = $this->db->query($sql); if (!$resql) { $error++; @@ -2164,6 +2254,635 @@ public function get_compte_desc($account = null) return -1; } } + + /** + * Get SQL string for check if the bookkeeping can be modified or deleted ? (cached) + * + * @param string $alias Bookkeeping alias table + * @param bool $force Force reload + * @return string SQL filter + */ + public function getCanModifyBookkeepingSQL($alias = '', $force = false) + { + $alias = trim($alias); + $alias = !empty($alias) && strpos($alias, '.') < 0 ? $alias . "." : $alias; + + if (!isset(self::$can_modify_bookkeeping_sql_cached[$alias]) || $force) { + $result = $this->loadActiveFiscalPeriods($force); + if ($result < 0) { + return null; + } + + $sql_list = array(); + if (is_array(self::$active_fiscal_period_cached)) { + foreach (self::$active_fiscal_period_cached as $fiscal_period) { + $sql_list[] = "('" . $this->db->idate($fiscal_period['date_start']) . "' <= {$alias}doc_date AND {$alias}doc_date <= '" . $this->db->idate($fiscal_period['date_end']) . "')"; + } + } + self::$can_modify_bookkeeping_sql_cached[$alias] = !empty($sql_list) ? ' AND (' . implode(' OR ', $sql_list) . ')' : ''; + } + + return self::$can_modify_bookkeeping_sql_cached[$alias]; + } + + /** + * Is the bookkeeping can be modified or deleted ? + * + * @param int $id Bookkeeping ID + * @return int <0 if KO, == 0 if No, == 1 if Yes + */ + public function canModifyBookkeeping($id) + { + $result = $this->loadActiveFiscalPeriods(); + if ($result < 0) { + return -1; + } + + $bookkeeping = new BookKeeping($this->db); + $result = $bookkeeping->fetch($id); + if ($result <= 0) { + return $result; + } + + if (is_array(self::$active_fiscal_period_cached)) { + foreach (self::$active_fiscal_period_cached as $fiscal_period) { + if ($fiscal_period['date_start'] <= $bookkeeping->doc_date && $bookkeeping->doc_date <= $fiscal_period['date_end']) { + return 1; + } + } + } + + return 0; + } + + /** + * Is the bookkeeping date is valid ? + * + * @param int $date Bookkeeping date + * @return int <0 if KO, == 0 if No, == 1 if Yes + */ + public function validBookkeepingDate($date) + { + $result = $this->loadActiveFiscalPeriods(); + if ($result < 0) { + return -1; + } + + if (is_array(self::$active_fiscal_period_cached)) { + foreach (self::$active_fiscal_period_cached as $fiscal_period) { + if ($fiscal_period['date_start'] <= $date && $date <= $fiscal_period['date_end']) { + return 1; + } + } + } + + return 0; + } + + /** + * Load list of active fiscal period + * + * @param bool $force Force reload + * @return int <0 if KO, >0 if OK + */ + public function loadActiveFiscalPeriods($force = false) + { + global $conf; + + if (!isset(self::$active_fiscal_period_cached) || $force) { + $sql = "SELECT date_start, date_end"; + $sql .= " FROM " . $this->db->prefix() . "accounting_fiscalyear"; + $sql .= " WHERE entity = " . ((int) $conf->entity); + $sql .= " AND statut = 0"; + + $resql = $this->db->query($sql); + if (!$resql) { + $this->errors[] = $this->db->lasterror(); + return -1; + } + + $list = array(); + while ($obj = $this->db->fetch_object($resql)) { + $list[] = array( + 'date_start' => $this->db->jdate($obj->date_start), + 'date_end' => $this->db->jdate($obj->date_end), + ); + } + self::$active_fiscal_period_cached = $list; + } + + return 1; + } + + /** + * Get list of fiscal period + * + * @param string $filter Filter + * @return array|int <0 if KO, Fiscal periods : [[id, date_start, date_end, label], ...] + */ + public function getFiscalPeriods($filter = '') + { + global $conf; + $list = array(); + + $sql = "SELECT rowid, label, date_start, date_end, statut"; + $sql .= " FROM " . $this->db->prefix() . "accounting_fiscalyear"; + $sql .= " WHERE entity = " . ((int) $conf->entity); + if (!empty($filter)) $sql .= " AND (" . $filter . ')'; + $sql .= $this->db->order('date_start', 'ASC'); + + $resql = $this->db->query($sql); + if (!$resql) { + $this->errors[] = $this->db->lasterror(); + return -1; + } + + while ($obj = $this->db->fetch_object($resql)) { + $list[$obj->rowid] = array( + 'id' => $obj->rowid, + 'label' => $obj->label, + 'date_start' => $this->db->jdate($obj->date_start), + 'date_end' => $this->db->jdate($obj->date_end), + 'status' => $obj->statut, + ); + } + + return $list; + } + + /** + * Get list of count by month into the fiscal period + * + * @param int $date_start Date start + * @param int $date_end Date end + * @return array|int <0 if KO, Fiscal periods : [[id, date_start, date_end, label], ...] + */ + public function getCountByMonthForFiscalPeriod($date_start, $date_end) + { + $total = 0; + $list = array(); + + $sql = "SELECT YEAR(b.doc_date) as year"; + for ($i = 1; $i <= 12; $i++) { + $sql .= ", SUM(" . $this->db->ifsql("MONTH(b.doc_date)=" . $i, "1", "0") . ") AS month" . $i; + } + $sql .= ", COUNT(b.rowid) as total"; + $sql .= " FROM " . MAIN_DB_PREFIX . "accounting_bookkeeping as b"; + $sql .= " WHERE b.doc_date >= '" . $this->db->idate($date_start) . "'"; + $sql .= " AND b.doc_date <= '" . $this->db->idate($date_end) . "'"; + $sql .= " AND b.entity IN (" . getEntity('bookkeeping', 0) . ")"; // We don't share object for accountancy + + // Get count for each month into the fiscal period + if (getDolGlobalString("ACCOUNTANCY_DISABLE_CLOSURE_LINE_BY_LINE")) { + // TODO Analyse is done by finding record not into a closed period + // Loop on each closed period + $sql .= " AND b.doc_date BETWEEN 0 AND 0"; + } else { + // Analyse closed record using the unitary flag/date on each record + $sql .= " AND date_validated IS NULL"; + } + + $sql .= " GROUP BY YEAR(b.doc_date)"; + $sql .= $this->db->order("year", 'ASC'); + + dol_syslog(__METHOD__, LOG_DEBUG); + $resql = $this->db->query($sql); + if (!$resql) { + $this->errors[] = $this->db->lasterror(); + return -1; + } + + while ($obj = $this->db->fetch_object($resql)) { + $total += (int) $obj->total; + $year_list = array( + 'year' => (int) $obj->year, + 'count' => array(), + 'total' => (int) $obj->total, + ); + for ($i = 1; $i <= 12; $i++) { + $year_list['count'][$i] = (int) $obj->{'month' . $i}; + } + + $list[] = $year_list; + } + + $this->db->free($resql); + + return array( + 'total' => $total, + 'list' => $list, + ); + } + + /** + * Validate all movement between the specified dates + * + * @param int $date_start Date start + * @param int $date_end Date end + * @return int int <0 if KO, >0 if OK + */ + public function validateMovementForFiscalPeriod($date_start, $date_end) + { + global $conf; + + $now = dol_now(); + + // Specify as export : update field date_validated on selected month/year + $sql = " UPDATE " . MAIN_DB_PREFIX . "accounting_bookkeeping"; + $sql .= " SET date_validated = '" . $this->db->idate($now) . "'"; + $sql .= " WHERE entity = " . ((int) $conf->entity); + $sql .= " AND DATE(doc_date) >= '" . $this->db->idate($date_start) . "'"; + $sql .= " AND DATE(doc_date) <= '" . $this->db->idate($date_end) . "'"; + $sql .= " AND date_validated IS NULL"; + + dol_syslog(__METHOD__, LOG_DEBUG); + $resql = $this->db->query($sql); + if (!$resql) { + $this->errors[] = $this->db->lasterror(); + return -1; + } + + return 1; + } + + /** + * Close fiscal period + * + * @param int $fiscal_period_id Fiscal year ID + * @param int $new_fiscal_period_id New fiscal year ID + * @param bool $separate_auxiliary_account Separate auxiliary account + * @param bool $generate_bookkeeping_records Generate closure bookkeeping records + * @return int int <0 if KO, >0 if OK + */ + public function closeFiscalPeriod($fiscal_period_id, $new_fiscal_period_id, $separate_auxiliary_account = false, $generate_bookkeeping_records = true) + { + global $conf, $langs, $user; + + // Current fiscal period + $fiscal_period_id = max(0, $fiscal_period_id); + if (empty($fiscal_period_id)) { + $langs->load('errors'); + $this->errors[] = $langs->trans('ErrorBadParameters'); + return -1; + } + $fiscal_period = new Fiscalyear($this->db); + $result = $fiscal_period->fetch($fiscal_period_id); + if ($result < 0) { + $this->error = $fiscal_period->error; + $this->errors = $fiscal_period->errors; + return -1; + } elseif (empty($fiscal_period->id)) { + $langs->loadLangs(array('errors', 'compta')); + $this->errors[] = $langs->trans('ErrorRecordNotFound') . ' - ' . $langs->trans('FiscalPeriod') . ' (' . $fiscal_period_id . ')'; + return -1; + } + + // New fiscal period + $new_fiscal_period_id = max(0, $new_fiscal_period_id); + if (empty($new_fiscal_period_id)) { + $langs->load('errors'); + $this->errors[] = $langs->trans('ErrorBadParameters'); + return -1; + } + $new_fiscal_period = new Fiscalyear($this->db); + $result = $new_fiscal_period->fetch($new_fiscal_period_id); + if ($result < 0) { + $this->error = $new_fiscal_period->error; + $this->errors = $new_fiscal_period->errors; + return -1; + } elseif (empty($new_fiscal_period->id)) { + $langs->loadLangs(array('errors', 'compta')); + $this->errors[] = $langs->trans('ErrorRecordNotFound') . ' - ' . $langs->trans('FiscalPeriod') . ' (' . $new_fiscal_period_id . ')'; + return -1; + } + + $error = 0; + $this->db->begin(); + + $fiscal_period->statut = Fiscalyear::STATUS_CLOSED; + $fiscal_period->status = Fiscalyear::STATUS_CLOSED; // Actually not used + $result = $fiscal_period->update($user); + if ($result < 0) { + $this->error = $fiscal_period->error; + $this->errors = $fiscal_period->errors; + $error++; + } + + if (!$error && !empty($generate_bookkeeping_records)) { + $journal_id = max(0, getDolGlobalString('ACCOUNTING_CLOSURE_DEFAULT_JOURNAL')); + if (empty($journal_id)) { + $langs->loadLangs(array('errors', 'accountancy')); + $this->errors[] = $langs->trans('ErrorBadParameters') . ' - ' . $langs->trans('Codejournal') . ' (' . $langs->trans('AccountingJournalType9') . ')'; + $error++; + } + + // Fetch journal + if (!$error) { + $journal = new AccountingJournal($this->db); + $result = $journal->fetch($journal_id); + if ($result < 0) { + $this->error = $journal->error; + $this->errors = $journal->errors; + $error++; + } elseif ($result == 0) { + $langs->loadLangs(array('errors', 'accountancy')); + $this->errors[] = $langs->trans('ErrorRecordNotFound') . ' - ' . $langs->trans('Codejournal') . ' (' . $langs->trans('AccountingJournalType9') . ')'; + $error++; + } + } + + if (!$error) { + $accounting_groups_used_for_balance_sheet_account = array_filter(array_map('trim', explode(',', getDolGlobalString('ACCOUNTING_CLOSURE_ACCOUNTING_GROUPS_USED_FOR_BALANCE_SHEET_ACCOUNT'))), 'strlen'); + $accounting_groups_used_for_income_statement = array_filter(array_map('trim', explode(',', getDolGlobalString('ACCOUNTING_CLOSURE_ACCOUNTING_GROUPS_USED_FOR_INCOME_STATEMENT'))), 'strlen'); + + $pcg_type_filter = array(); + $tmp = array_merge($accounting_groups_used_for_balance_sheet_account, $accounting_groups_used_for_income_statement); + foreach ($tmp as $item) { + $pcg_type_filter[] = "'" . $this->db->escape($item) . "'"; + } + + $sql = 'SELECT'; + $sql .= " t.numero_compte,"; + $sql .= " t.label_compte,"; + if ($separate_auxiliary_account) { + $sql .= " t.subledger_account,"; + $sql .= " t.subledger_label,"; + } + $sql .= " aa.pcg_type,"; + $sql .= " (SUM(t.credit) - SUM(t.debit)) as opening_balance"; + $sql .= ' FROM ' . MAIN_DB_PREFIX . $this->table_element . ' as t'; + $sql .= ' LEFT JOIN ' . MAIN_DB_PREFIX . 'accounting_account as aa ON aa.account_number = t.numero_compte'; + $sql .= ' WHERE t.entity = ' . ((int) $conf->entity); // Do not use getEntity for accounting features + $sql .= " AND aa.entity = ". ((int) $conf->entity); + $sql .= ' AND aa.fk_pcg_version IN (SELECT pcg_version FROM '.MAIN_DB_PREFIX.'accounting_system WHERE rowid = '.((int) getDolGlobalInt('CHARTOFACCOUNTS')).')'; + $sql .= ' AND aa.pcg_type IN (' . $this->db->sanitize(implode(',', $pcg_type_filter), 1) . ')'; + $sql .= " AND DATE(t.doc_date) >= '" . $this->db->idate($fiscal_period->date_start) . "'"; + $sql .= " AND DATE(t.doc_date) <= '" . $this->db->idate($fiscal_period->date_end) . "'"; + $sql .= ' GROUP BY t.numero_compte, t.label_compte, aa.pcg_type'; + if ($separate_auxiliary_account) { + $sql .= ' ,t.subledger_account, t.subledger_label'; + } + $sql .= $this->db->order("t.numero_compte", "ASC"); + + $resql = $this->db->query($sql); + if (!$resql) { + $this->errors[] = 'Error ' . $this->db->lasterror(); + dol_syslog(__METHOD__ . ' ' . join(',', $this->errors), LOG_ERR); + + $error++; + } else { + $now = dol_now(); + $income_statement_amount = 0; + while ($obj = $this->db->fetch_object($resql)) { + if (in_array($obj->pcg_type, $accounting_groups_used_for_income_statement)) { + $income_statement_amount += $obj->opening_balance; + } else { + // Insert bookkeeping record for balance sheet account + $mt = $obj->opening_balance; + + $bookkeeping = new BookKeeping($this->db); + $bookkeeping->doc_date = $new_fiscal_period->date_start; + $bookkeeping->date_lim_reglement = ''; + $bookkeeping->doc_ref = $new_fiscal_period->label; + $bookkeeping->date_creation = $now; + $bookkeeping->doc_type = 'closure'; + $bookkeeping->fk_doc = $new_fiscal_period->id; + $bookkeeping->fk_docdet = 0; // Useless, can be several lines that are source of this record to add + $bookkeeping->thirdparty_code = ''; + + if ($separate_auxiliary_account) { + $bookkeeping->subledger_account = $obj->subledger_account; + $bookkeeping->subledger_label = $obj->subledger_label; + } else { + $bookkeeping->subledger_account = ''; + $bookkeeping->subledger_label = ''; + } + + $bookkeeping->numero_compte = $obj->numero_compte; + $bookkeeping->label_compte = $obj->label_compte; + + $bookkeeping->label_operation = $new_fiscal_period->label; + $bookkeeping->montant = $mt; + $bookkeeping->sens = ($mt >= 0) ? 'C' : 'D'; + $bookkeeping->debit = ($mt < 0) ? -$mt : 0; + $bookkeeping->credit = ($mt >= 0) ? $mt : 0; + $bookkeeping->code_journal = $journal->code; + $bookkeeping->journal_label = $langs->transnoentities($journal->label); + $bookkeeping->fk_user_author = $user->id; + $bookkeeping->entity = $conf->entity; + + $result = $bookkeeping->create($user); + if ($result < 0) { + $this->error = $bookkeeping->error; + $this->errors = $bookkeeping->errors; + $error++; + break; + } + } + } + + // Insert bookkeeping record for income statement + if (!$error && $income_statement_amount != 0) { + $mt = $income_statement_amount; + $accountingaccount = new AccountingAccount($this->db); + $accountingaccount->fetch(null, getDolGlobalString($income_statement_amount < 0 ? 'ACCOUNTING_RESULT_LOSS' : 'ACCOUNTING_RESULT_PROFIT'), true); + + $bookkeeping = new BookKeeping($this->db); + $bookkeeping->doc_date = $new_fiscal_period->date_start; + $bookkeeping->date_lim_reglement = ''; + $bookkeeping->doc_ref = $new_fiscal_period->label; + $bookkeeping->date_creation = $now; + $bookkeeping->doc_type = 'closure'; + $bookkeeping->fk_doc = $new_fiscal_period->id; + $bookkeeping->fk_docdet = 0; // Useless, can be several lines that are source of this record to add + $bookkeeping->thirdparty_code = ''; + + if ($separate_auxiliary_account) { + $bookkeeping->subledger_label = ''; + $bookkeeping->subledger_account = $obj->subledger_account; + $bookkeeping->subledger_label = $obj->subledger_label; + } else { + $bookkeeping->subledger_account = ''; + $bookkeeping->subledger_label = ''; + } + + $bookkeeping->numero_compte = $accountingaccount->account_number; + $bookkeeping->label_compte = $accountingaccount->label; + + $bookkeeping->label_operation = $new_fiscal_period->label; + $bookkeeping->montant = $mt; + $bookkeeping->sens = ($mt >= 0) ? 'C' : 'D'; + $bookkeeping->debit = ($mt < 0) ? -$mt : 0; + $bookkeeping->credit = ($mt >= 0) ? $mt : 0; + $bookkeeping->code_journal = $journal->code; + $bookkeeping->journal_label = $langs->transnoentities($journal->label); + $bookkeeping->fk_user_author = $user->id; + $bookkeeping->entity = $conf->entity; + + $result = $bookkeeping->create($user); + if ($result < 0) { + $this->error = $bookkeeping->error; + $this->errors = $bookkeeping->errors; + $error++; + } + } + $this->db->free($resql); + } + } + } + + if ($error) { + $this->db->rollback(); + return -1; + } else { + $this->db->commit(); + return 1; + } + } + + /** + * Insert accounting reversal into the inventory journal of the new fiscal period + * + * @param int $fiscal_period_id Fiscal year ID + * @param int $inventory_journal_id Inventory journal ID + * @param int $new_fiscal_period_id New fiscal year ID + * @param int $date_start Date start + * @param int $date_end Date end + * @return int int <0 if KO, >0 if OK + */ + public function insertAccountingReversal($fiscal_period_id, $inventory_journal_id, $new_fiscal_period_id, $date_start, $date_end) + { + global $conf, $langs, $user; + + // Current fiscal period + $fiscal_period_id = max(0, $fiscal_period_id); + if (empty($fiscal_period_id)) { + $langs->load('errors'); + $this->errors[] = $langs->trans('ErrorBadParameters'); + return -1; + } + $fiscal_period = new Fiscalyear($this->db); + $result = $fiscal_period->fetch($fiscal_period_id); + if ($result < 0) { + $this->error = $fiscal_period->error; + $this->errors = $fiscal_period->errors; + return -1; + } elseif (empty($fiscal_period->id)) { + $langs->loadLangs(array('errors', 'compta')); + $this->errors[] = $langs->trans('ErrorRecordNotFound') . ' - ' . $langs->trans('FiscalPeriod') . ' (' . $fiscal_period_id . ')'; + return -1; + } + + // New fiscal period + $new_fiscal_period_id = max(0, $new_fiscal_period_id); + if (empty($new_fiscal_period_id)) { + $langs->load('errors'); + $this->errors[] = $langs->trans('ErrorBadParameters'); + return -1; + } + $new_fiscal_period = new Fiscalyear($this->db); + $result = $new_fiscal_period->fetch($new_fiscal_period_id); + if ($result < 0) { + $this->error = $new_fiscal_period->error; + $this->errors = $new_fiscal_period->errors; + return -1; + } elseif (empty($new_fiscal_period->id)) { + $langs->loadLangs(array('errors', 'compta')); + $this->errors[] = $langs->trans('ErrorRecordNotFound') . ' - ' . $langs->trans('FiscalPeriod') . ' (' . $new_fiscal_period_id . ')'; + return -1; + } + + // Inventory journal + $inventory_journal_id = max(0, $inventory_journal_id); + if (empty($inventory_journal_id)) { + $langs->load('errors'); + $this->errors[] = $langs->trans('ErrorBadParameters'); + return -1; + } + // Fetch journal + $inventory_journal = new AccountingJournal($this->db); + $result = $inventory_journal->fetch($inventory_journal_id); + if ($result < 0) { + $this->error = $inventory_journal->error; + $this->errors = $inventory_journal->errors; + return -1; + } elseif ($result == 0) { + $langs->loadLangs(array('errors', 'accountancy')); + $this->errors[] = $langs->trans('ErrorRecordNotFound') . ' - ' . $langs->trans('InventoryJournal'); + return -1; + } + + $error = 0; + $this->db->begin(); + + $sql = 'SELECT t.rowid'; + $sql .= ' FROM ' . MAIN_DB_PREFIX . $this->table_element . ' as t'; + $sql .= ' WHERE t.entity = ' . ((int) $conf->entity); // Do not use getEntity for accounting features + $sql .= " AND code_journal = '" . $this->db->escape($inventory_journal->code) . "'"; + $sql .= " AND DATE(t.doc_date) >= '" . $this->db->idate($date_start) . "'"; + $sql .= " AND DATE(t.doc_date) <= '" . $this->db->idate($date_end) . "'"; + $sql .= " AND DATE(t.doc_date) >= '" . $this->db->idate($fiscal_period->date_start) . "'"; + $sql .= " AND DATE(t.doc_date) <= '" . $this->db->idate($fiscal_period->date_end) . "'"; + + $resql = $this->db->query($sql); + if (!$resql) { + $this->errors[] = 'Error ' . $this->db->lasterror(); + dol_syslog(__METHOD__ . ' ' . join(',', $this->errors), LOG_ERR); + + $error++; + } else { + $now = dol_now(); + while ($obj = $this->db->fetch_object($resql)) { + $bookkeeping = new BookKeeping($this->db); + $result = $bookkeeping->fetch($obj->rowid); + if ($result < 0) { + $this->error = $inventory_journal->error; + $this->errors = $inventory_journal->errors; + $error++; + break; + } elseif ($result == 0) { + $langs->loadLangs(array('errors', 'accountancy')); + $this->errors[] = $langs->trans('ErrorRecordNotFound') . ' - ' . $langs->trans('LineId') . ': ' . $obj->rowid; + $error++; + break; + } + + $bookkeeping->id = 0; + $bookkeeping->doc_date = $new_fiscal_period->date_start; + $bookkeeping->doc_ref = $new_fiscal_period->label; + $bookkeeping->date_creation = $now; + $bookkeeping->doc_type = 'accounting_reversal'; + $bookkeeping->fk_doc = $new_fiscal_period->id; + $bookkeeping->fk_docdet = 0; // Useless, can be several lines that are source of this record to add + + $bookkeeping->montant = -$bookkeeping->montant; + $bookkeeping->sens = ($bookkeeping->montant >= 0) ? 'C' : 'D'; + $old_debit = $bookkeeping->debit; + $bookkeeping->debit = $bookkeeping->credit; + $bookkeeping->credit = $old_debit; + + $bookkeeping->fk_user_author = $user->id; + $bookkeeping->entity = $conf->entity; + + $result = $bookkeeping->create($user); + if ($result < 0) { + $this->error = $bookkeeping->error; + $this->errors = $bookkeeping->errors; + $error++; + break; + } + } + $this->db->free($resql); + } + + if ($error) { + $this->db->rollback(); + return -1; + } else { + $this->db->commit(); + return 1; + } + } } /** diff --git a/htdocs/accountancy/closure/index.php b/htdocs/accountancy/closure/index.php index 43a70c64c458c..b9463f93d7de5 100644 --- a/htdocs/accountancy/closure/index.php +++ b/htdocs/accountancy/closure/index.php @@ -1,5 +1,5 @@ +/* Copyright (C) 2019-2023 Open-DSI * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -25,38 +25,19 @@ require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/accounting.lib.php'; +require_once DOL_DOCUMENT_ROOT.'/core/class/fiscalyear.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/class/html.formaccounting.class.php'; require_once DOL_DOCUMENT_ROOT.'/accountancy/class/bookkeeping.class.php'; // Load translation files required by the page $langs->loadLangs(array("compta", "bills", "other", "accountancy")); +$action = GETPOST('action', 'aZ09'); +$confirm = GETPOST('confirm', 'aZ09'); +$fiscal_period_id = GETPOST('fiscal_period_id', 'int'); $validatemonth = GETPOST('validatemonth', 'int'); $validateyear = GETPOST('validateyear', 'int'); -$action = GETPOST('action', 'aZ09'); - -$object = new BookKeeping($db); - -$month_start = ($conf->global->SOCIETE_FISCAL_MONTH_START ? ($conf->global->SOCIETE_FISCAL_MONTH_START) : 1); -if (GETPOST("year", 'int')) { - $year_start = GETPOST("year", 'int'); -} else { - $year_start = dol_print_date(dol_now(), '%Y'); - if (dol_print_date(dol_now(), '%m') < $month_start) { - $year_start--; // If current month is lower that starting fiscal month, we start last year - } -} -$year_end = $year_start + 1; -$month_end = $month_start - 1; -if ($month_end < 1) { - $month_end = 12; - $year_end--; -} -$search_date_start = dol_mktime(0, 0, 0, $month_start, 1, $year_start); -$search_date_end = dol_get_last_day($year_end, $month_end); -$year_current = $year_start; - // Security check if (!isModEnabled('accounting')) { accessforbidden(); @@ -68,48 +49,105 @@ accessforbidden(); } +// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context +$hookmanager->initHooks(array('accountancyclosure')); - -/* - * Actions - */ +$object = new BookKeeping($db); $now = dol_now(); +$fiscal_periods = $object->getFiscalPeriods(); +if (!is_array($fiscal_periods)) { + setEventMessages($object->error, $object->errors, 'errors'); +} -if ($action == 'validate_movements_confirm' && $user->hasRight('accounting', 'fiscalyear', 'write')) { - $date_start = dol_mktime(0, 0, 0, GETPOST('date_startmonth', 'int'), GETPOST('date_startday', 'int'), GETPOST('date_startyear', 'int')); - $date_end = dol_mktime(23, 59, 59, GETPOST('date_endmonth', 'int'), GETPOST('date_endday', 'int'), GETPOST('date_endyear', 'int')); - - $error = 0; - - $db->begin(); - - // Specify as export : update field date_validated on selected month/year - $sql = " UPDATE ".MAIN_DB_PREFIX."accounting_bookkeeping"; - $sql .= " SET date_validated = '".$db->idate($now)."'"; - $sql .= " WHERE entity = " . ((int) $conf->entity); - $sql .= " AND doc_date >= '" . $db->idate($date_start) . "'"; - $sql .= " AND doc_date <= '" . $db->idate($date_end) . "'"; - $sql .= " AND date_validated IS NULL"; - - dol_syslog("/accountancy/closure/index.php action=validate_movement_confirm -> Set movements as validated", LOG_DEBUG); - $result = $db->query($sql); - if (!$result) { - $error++; +$active_fiscal_periods = array(); +$last_fiscal_period = null; +$current_fiscal_period = null; +$next_fiscal_period = null; +$next_active_fiscal_period = null; +if (is_array($fiscal_periods)) { + foreach ($fiscal_periods as $fiscal_period) { + if (empty($fiscal_period['status'])) { + $active_fiscal_periods[] = $fiscal_period; + } + if (isset($current_fiscal_period)) { + if (!isset($next_fiscal_period)) { + $next_fiscal_period = $fiscal_period; + } + if (!isset($next_active_fiscal_period) && empty($fiscal_period['status'])) { + $next_active_fiscal_period = $fiscal_period; + } + } else { + if ($fiscal_period_id == $fiscal_period['id'] || (empty($fiscal_period_id) && $fiscal_period['date_start'] <= $now && $now <= $fiscal_period['date_end'])) { + $current_fiscal_period = $fiscal_period; + } else { + $last_fiscal_period = $fiscal_period; + } + } } +} - if (!$error) { - $db->commit(); +$accounting_groups_used_for_balance_sheet_account = array_filter(array_map('trim', explode(',', $conf->global->ACCOUNTING_CLOSURE_ACCOUNTING_GROUPS_USED_FOR_BALANCE_SHEET_ACCOUNT)), 'strlen'); +$accounting_groups_used_for_income_statement = array_filter(array_map('trim', explode(',', $conf->global->ACCOUNTING_CLOSURE_ACCOUNTING_GROUPS_USED_FOR_INCOME_STATEMENT)), 'strlen'); - setEventMessages($langs->trans("AllMovementsWereRecordedAsValidated"), null, 'mesgs'); - header("Location: ".$_SERVER['PHP_SELF']."?year=".$year_start); - exit; - } else { - $db->rollback(); +/* + * Actions + */ + +$parameters = array('fiscal_periods' => $fiscal_periods, 'last_fiscal_period' => $last_fiscal_period, 'current_fiscal_period' => $current_fiscal_period, 'next_fiscal_period' => $next_fiscal_period); +$reshook = $hookmanager->executeHooks('doActions', $parameters, $object, $action); // Note that $action and $object may have been modified by some hooks +if ($reshook < 0) { + setEventMessages($hookmanager->error, $hookmanager->errors, 'errors'); +} - setEventMessages($langs->trans("NotAllMovementsCouldBeRecordedAsValidated"), null, 'errors'); - $action = ''; +if (empty($reshook)) { + if (isset($current_fiscal_period) && $user->hasRight('accounting', 'fiscalyear', 'write')) { + if ($action == 'confirm_step_1' && $confirm == "yes") { + $date_start = dol_mktime(0, 0, 0, GETPOST('date_startmonth', 'int'), GETPOST('date_startday', 'int'), GETPOST('date_startyear', 'int')); + $date_end = dol_mktime(23, 59, 59, GETPOST('date_endmonth', 'int'), GETPOST('date_endday', 'int'), GETPOST('date_endyear', 'int')); + + $result = $object->validateMovementForFiscalPeriod($date_start, $date_end); + if ($result > 0) { + setEventMessages($langs->trans("AllMovementsWereRecordedAsValidated"), null, 'mesgs'); + + header("Location: " . $_SERVER['PHP_SELF'] . (isset($current_fiscal_period) ? '?fiscal_period_id=' . $current_fiscal_period['id'] : '')); + exit; + } else { + setEventMessages($langs->trans("NotAllMovementsCouldBeRecordedAsValidated"), null, 'errors'); + setEventMessages($object->error, $object->errors, 'errors'); + $action = ''; + } + } elseif ($action == 'confirm_step_2' && $confirm == "yes") { + $new_fiscal_period_id = GETPOST('new_fiscal_period_id', 'int'); + $separate_auxiliary_account = GETPOST('separate_auxiliary_account', 'aZ09'); + $generate_bookkeeping_records = GETPOST('generate_bookkeeping_records', 'aZ09'); + + $result = $object->closeFiscalPeriod($current_fiscal_period['id'], $new_fiscal_period_id, $separate_auxiliary_account, $generate_bookkeeping_records); + if ($result < 0) { + setEventMessages($object->error, $object->errors, 'errors'); + } else { + setEventMessages($langs->trans("AccountancyClosureCloseSuccessfully"), null, 'mesgs'); + + header("Location: " . $_SERVER['PHP_SELF'] . (isset($current_fiscal_period) ? '?fiscal_period_id=' . $current_fiscal_period['id'] : '')); + exit; + } + } elseif ($action == 'confirm_step_3' && $confirm == "yes") { + $inventory_journal_id = GETPOST('inventory_journal_id', 'int'); + $new_fiscal_period_id = GETPOST('new_fiscal_period_id', 'int'); + $date_start = dol_mktime(0, 0, 0, GETPOST('date_startmonth', 'int'), GETPOST('date_startday', 'int'), GETPOST('date_startyear', 'int')); + $date_end = dol_mktime(23, 59, 59, GETPOST('date_endmonth', 'int'), GETPOST('date_endday', 'int'), GETPOST('date_endyear', 'int')); + + $result = $object->insertAccountingReversal($current_fiscal_period['id'], $inventory_journal_id, $new_fiscal_period_id, $date_start, $date_end); + if ($result < 0) { + setEventMessages($object->error, $object->errors, 'errors'); + } else { + setEventMessages($langs->trans("AccountancyClosureInsertAccountingReversalSuccessfully"), null, 'mesgs'); + + header("Location: " . $_SERVER['PHP_SELF'] . (isset($current_fiscal_period) ? '?fiscal_period_id=' . $current_fiscal_period['id'] : '')); + exit; + } + } } } @@ -127,114 +165,197 @@ llxHeader('', $title, $help_url); -if ($action == 'validate_movements') { - $form_question = array(); - - $month = isset($conf->global->SOCIETE_FISCAL_MONTH_START) ? intval($conf->global->SOCIETE_FISCAL_MONTH_START) : 1; - $date_start = new DateTime(sprintf('%04d-%02d-%02d', $year_start, $month, 1)); - $date_end = new DateTime(sprintf('%04d-%02d-%02d', $year_start, $month, 1)); - $date_end->add(new DateInterval('P1Y')); - $date_end->sub(new DateInterval('P1D')); - - $form_question['date_start'] = array( - 'name' => 'date_start', - 'type' => 'date', - 'label' => $langs->trans('DateStart'), - 'value' => $date_start->format('Y-m-d') - ); - $form_question['date_end'] = array( - 'name' => 'date_end', - 'type' => 'date', - 'label' => $langs->trans('DateEnd'), - 'value' => $date_end->format('Y-m-d') - ); - - $formconfirm = $form->formconfirm($_SERVER["PHP_SELF"].'?year='.$year_start, $langs->trans('ValidateMovements'), $langs->trans('DescValidateMovements', $langs->transnoentitiesnoconv("RegistrationInAccounting")), 'validate_movements_confirm', $form_question, '', 1, 300); - print $formconfirm; +$formconfirm = ''; + +if (isset($current_fiscal_period)) { + if ($action == 'step_1') { + $form_question = array(); + + $form_question['date_start'] = array( + 'name' => 'date_start', + 'type' => 'date', + 'label' => $langs->trans('DateStart'), + 'value' => $current_fiscal_period['date_start'] + ); + $form_question['date_end'] = array( + 'name' => 'date_end', + 'type' => 'date', + 'label' => $langs->trans('DateEnd'), + 'value' => $current_fiscal_period['date_end'] + ); + + $formconfirm = $form->formconfirm($_SERVER["PHP_SELF"] . '?fiscal_period_id=' . $current_fiscal_period['id'], + $langs->trans('ValidateMovements'), $langs->trans('DescValidateMovements', $langs->transnoentitiesnoconv("RegistrationInAccounting")), + 'confirm_step_1', $form_question, '', 1, 300); + } elseif ($action == 'step_2') { + $form_question = array(); + + $fiscal_period_arr = array(); + foreach ($active_fiscal_periods as $info) { + $fiscal_period_arr[$info['id']] = $info['label']; + } + $form_question['new_fiscal_period_id'] = array( + 'name' => 'new_fiscal_period_id', + 'type' => 'select', + 'label' => $langs->trans('AccountancyClosureStep3NewFiscalPeriod'), + 'values' => $fiscal_period_arr, + 'default' => isset($next_active_fiscal_period) ? $next_active_fiscal_period['id'] : '', + ); + $form_question['generate_bookkeeping_records'] = array( + 'name' => 'generate_bookkeeping_records', + 'type' => 'checkbox', + 'label' => $langs->trans('AccountancyClosureGenerateClosureBookkeepingRecords'), + 'value' => 1 + ); + $form_question['separate_auxiliary_account'] = array( + 'name' => 'separate_auxiliary_account', + 'type' => 'checkbox', + 'label' => $langs->trans('AccountancyClosureSeparateAuxiliaryAccounts'), + 'value' => 0 + ); + + $formconfirm = $form->formconfirm($_SERVER["PHP_SELF"] . '?fiscal_period_id=' . $current_fiscal_period['id'], + $langs->trans('AccountancyClosureClose'), $langs->trans('AccountancyClosureConfirmClose'), + 'confirm_step_2', $form_question, '', 1, 300); + } elseif ($action == 'step_3') { + $form_question = array(); + + $form_question['inventory_journal_id'] = array( + 'name' => 'inventory_journal_id', + 'type' => 'other', + 'label' => $langs->trans('InventoryJournal'), + 'value' => $formaccounting->select_journal(0, "inventory_journal_id", 8, 1, 0, 0) + ); + $fiscal_period_arr = array(); + foreach ($active_fiscal_periods as $info) { + $fiscal_period_arr[$info['id']] = $info['label']; + } + $form_question['new_fiscal_period_id'] = array( + 'name' => 'new_fiscal_period_id', + 'type' => 'select', + 'label' => $langs->trans('AccountancyClosureStep3NewFiscalPeriod'), + 'values' => $fiscal_period_arr, + 'default' => isset($next_active_fiscal_period) ? $next_active_fiscal_period['id'] : '', + ); + $form_question['date_start'] = array( + 'name' => 'date_start', + 'type' => 'date', + 'label' => $langs->trans('DateStart'), + 'value' => dol_time_plus_duree($current_fiscal_period['date_end'], -1, 'm') + ); + $form_question['date_end'] = array( + 'name' => 'date_end', + 'type' => 'date', + 'label' => $langs->trans('DateEnd'), + 'value' => $current_fiscal_period['date_end'] + ); + $formconfirm = $form->formconfirm($_SERVER["PHP_SELF"] . '?fiscal_period_id=' . $current_fiscal_period['id'], + $langs->trans('AccountancyClosureAccountingReversal'), $langs->trans('AccountancyClosureConfirmAccountingReversal'), + 'confirm_step_3', $form_question, '', 1, 300 + ); + } } -$textprevyear = ''.img_previous().''; -$textnextyear = ' '.img_next().''; - +// Call Hook formConfirm +$parameters = array('formConfirm' => $formconfirm, 'fiscal_periods' => $fiscal_periods, 'last_fiscal_period' => $last_fiscal_period, 'current_fiscal_period' => $current_fiscal_period, 'next_fiscal_period' => $next_fiscal_period); +$reshook = $hookmanager->executeHooks('formConfirm', $parameters, $object, $action); // Note that $action and $object may have been modified by hook +if (empty($reshook)) { + $formconfirm .= $hookmanager->resPrint; +} elseif ($reshook > 0) { + $formconfirm = $hookmanager->resPrint; +} -print load_fiche_titre($langs->trans("Closure")." ".$textprevyear." ".$langs->trans("Year")." ".$year_start." ".$textnextyear, '', 'title_accountancy'); +// Print form confirm +print $formconfirm; -print ''.$langs->trans("DescClosure").'
'; -print '
'; +$fiscal_period_nav_text = $langs->trans("FiscalPeriod"); +$fiscal_period_nav_text .= ' ' . img_previous() . ''; +$fiscal_period_nav_text .= ' ' . img_next() . ''; +$fiscal_period_nav_text .= ' : ' . (isset($current_fiscal_period) ? $current_fiscal_period['label'] : $langs->trans('ErrorNoFiscalPeriodActiveFound')); +$fiscal_period_nav_text .= ' (' . (isset($current_fiscal_period) ? dol_print_date($current_fiscal_period['date_start'], 'day') . ' - ' . dol_print_date($current_fiscal_period['date_end'], 'day') . ')' : ''); +print load_fiche_titre($langs->trans("Closure") . " - " . $fiscal_period_nav_text, '', 'title_accountancy'); -$y = $year_current; +if (isset($current_fiscal_period)) { + // Step 1 + $head = array(); + $head[0][0] = DOL_URL_ROOT . '/accountancy/closure/index.php?fiscal_period_id=' . $current_fiscal_period['id']; + $head[0][1] = $langs->trans("AccountancyClosureStep1"); + $head[0][2] = 'step1'; + print dol_get_fiche_head($head, 'step1', '', -1, 'title_accountancy'); -$buttonvalidate = ''.$langs->trans("ValidateMovements").''; + print '' . $langs->trans("AccountancyClosureStep1Desc") . '
'; -print_barre_liste($langs->trans("OverviewOfMovementsNotValidated"), '', '', '', '', '', '', -1, '', '', 0, $buttonvalidate, '', 0, 1, 0); + $count_by_month = $object->getCountByMonthForFiscalPeriod($current_fiscal_period['date_start'], $current_fiscal_period['date_end']); + if (!is_array($count_by_month)) { + setEventMessages($object->error, $object->errors, 'errors'); + } -print '
'; -print '
'; dol_print_object_info($object); diff --git a/htdocs/accountancy/admin/index.php b/htdocs/accountancy/admin/index.php index 508a4167195fb..363fd2ecbb50f 100644 --- a/htdocs/accountancy/admin/index.php +++ b/htdocs/accountancy/admin/index.php @@ -57,9 +57,8 @@ ); $list_binding = array( - 'ACCOUNTING_DATE_START_BINDING', 'ACCOUNTING_DEFAULT_PERIOD_ON_TRANSFER', - 'ACCOUNTING_LETTERING_NBLETTERS' + 'ACCOUNTING_DATE_START_BINDING', ); $error = 0; @@ -98,6 +97,7 @@ setEventMessages($langs->trans("Error"), null, 'errors'); } + // option in section binding foreach ($list_binding as $constname) { $constvalue = GETPOST($constname, 'alpha'); @@ -109,6 +109,14 @@ $error++; } } + + // options in section other + if (GETPOSTISSET('ACCOUNTING_LETTERING_NBLETTERS')) { + if (!dolibarr_set_const($db, 'ACCOUNTING_LETTERING_NBLETTERS', GETPOST('ACCOUNTING_LETTERING_NBLETTERS'), 'chaine', 0, '', $conf->entity)) { + $error++; + } + } + if ($error) { setEventMessages($langs->trans("Error"), null, 'errors'); } @@ -491,7 +499,7 @@ } } - print '' . "\n"; + print '' . "\n"; print '
'; + print ''; + print '
'.$langs->trans("NotReconciled").''; + print '
'; - print ''; - print '
'.$langs->trans("NotReconciled").''; - print '
'.price(price2num($sous_total_debit, 'MT')).''.price(price2num($sous_total_credit, 'MT')).'
'.$line->lettering_code.''.($line->debit != 0 ? price($line->debit) : '').''.$line->lettering_code.''.price(price2num($sous_total_debit + $line->debit - $sous_total_credit - $line->credit, 'MT')).''.$langs->trans("TotalForAccount").' '.$accountg.':'.price(price2num($sous_total_debit, 'MT')).''.price(price2num($sous_total_credit, 'MT')).'
'.$langs->trans("NoRecordFound").'
'; -for ($i = 1; $i <= 12; $i++) { - $j = $i + ($conf->global->SOCIETE_FISCAL_MONTH_START ? $conf->global->SOCIETE_FISCAL_MONTH_START : 1) - 1; - if ($j > 12) { - $j -= 12; + if (empty($count_by_month['total'])) { + $buttonvalidate = '' . $langs->trans("ValidateMovements") . ''; + } else { + $buttonvalidate = '' . $langs->trans("ValidateMovements") . ''; } - print ''; -} -print ''; + print_barre_liste($langs->trans("OverviewOfMovementsNotValidated"), '', '', '', '', '', '', -1, '', '', 0, $buttonvalidate, '', 0, 1, 0); -if (getDolGlobalString("ACCOUNTANCY_DISABLE_CLOSURE_LINE_BY_LINE")) { - // TODO Analyse is done by finding record not into a closed period - $sql = "SELECT COUNT(b.rowid) as detail,"; + print '
'; + print '
'.$langs->trans('MonthShort'.str_pad($j, 2, '0', STR_PAD_LEFT)).''.$langs->trans("Total").'
'; + + print ''; + $nb_years = is_array($count_by_month['list']) ? count($count_by_month['list']) : 0; + if ($nb_years > 1) print ''; for ($i = 1; $i <= 12; $i++) { - $j = $i + ($conf->global->SOCIETE_FISCAL_MONTH_START ? $conf->global->SOCIETE_FISCAL_MONTH_START : 1) - 1; - if ($j > 12) { - $j -= 12; - } - $sql .= " SUM(".$db->ifsql("MONTH(b.doc_date)=".$j, "1", "0").") AS month".str_pad($j, 2, "0", STR_PAD_LEFT).","; + print ''; } - $sql .= " COUNT(b.rowid) as total"; - $sql .= " FROM ".MAIN_DB_PREFIX."accounting_bookkeeping as b"; - $sql .= " WHERE b.doc_date >= '".$db->idate($search_date_start)."'"; - $sql .= " AND b.doc_date <= '".$db->idate($search_date_end)."'"; - $sql .= " AND b.entity IN (".getEntity('bookkeeping', 0).")"; // We don't share object for accountancy - // Loop on each closed period - $sql .= " AND b.doc_date BETWEEN 0 AND 0"; -} else { - // Analyse closed record using the unitary flag/date on each record - $sql = "SELECT COUNT(b.rowid) as detail,"; - for ($i = 1; $i <= 12; $i++) { - $j = $i + ($conf->global->SOCIETE_FISCAL_MONTH_START ? $conf->global->SOCIETE_FISCAL_MONTH_START : 1) - 1; - if ($j > 12) { - $j -= 12; + print ''; + print ''; + + if (is_array($count_by_month['list'])) { + foreach ($count_by_month['list'] as $info) { + print ''; + if ($nb_years > 1) print ''; + for ($i = 1; $i <= 12; $i++) { + print ''; + } + print ''; } - $sql .= " SUM(".$db->ifsql("MONTH(b.doc_date)=".$j, "1", "0").") AS month".str_pad($j, 2, "0", STR_PAD_LEFT).","; } - $sql .= " COUNT(b.rowid) as total"; - $sql .= " FROM ".MAIN_DB_PREFIX."accounting_bookkeeping as b"; - $sql .= " WHERE b.doc_date >= '".$db->idate($search_date_start)."'"; - $sql .= " AND b.doc_date <= '".$db->idate($search_date_end)."'"; - $sql .= " AND b.entity IN (".getEntity('bookkeeping', 0).")"; // We don't share object for accountancy - $sql .= " AND date_validated IS NULL"; -} -dol_syslog('htdocs/accountancy/closure/index.php', LOG_DEBUG); -$resql = $db->query($sql); -if ($resql) { - $num = $db->num_rows($resql); + print "
' . $langs->trans("Year") . '' . $langs->trans('MonthShort' . str_pad($i, 2, '0', STR_PAD_LEFT)) . '' . $langs->trans("Total") . '
' . $info['year'] . '' . ((int) $info['count'][$i]) . '' . $info['total'] . '
\n"; + print ''; - while ($row = $db->fetch_row($resql)) { - print ''; - for ($i = 1; $i <= 12; $i++) { - print ''.$row[$i].''; - } - print ''.$row[13].''; - print ''; + // Step 2 + $head = array(); + $head[0][0] = DOL_URL_ROOT . '/accountancy/closure/index.php?fiscal_period_id=' . $current_fiscal_period['id']; + $head[0][1] = $langs->trans("AccountancyClosureStep2"); + $head[0][2] = 'step2'; + print dol_get_fiche_head($head, 'step2', '', -1, 'title_accountancy'); + + // print '' . $langs->trans("AccountancyClosureStep2Desc") . '
'; + + if (empty($count_by_month['total']) && empty($current_fiscal_period['status'])) { + $button = '' . $langs->trans("AccountancyClosureClose") . ''; + } else { + $button = '' . $langs->trans("AccountancyClosureClose") . ''; } + print_barre_liste('', '', '', '', '', '', '', -1, '', '', 0, $button, '', 0, 1, 0); + + // Step 3 + $head = array(); + $head[0][0] = DOL_URL_ROOT . '/accountancy/closure/index.php?fiscal_period_id=' . $current_fiscal_period['id']; + $head[0][1] = $langs->trans("AccountancyClosureStep3"); + $head[0][2] = 'step3'; + print dol_get_fiche_head($head, 'step3', '', -1, 'title_accountancy'); - $db->free($resql); -} else { - print $db->lasterror(); // Show last sql error + // print '' . $langs->trans("AccountancyClosureStep3Desc") . '
'; + + if (empty($current_fiscal_period['status'])) { + $button = '' . $langs->trans("AccountancyClosureAccountingReversal") . ''; + } else { + $button = '' . $langs->trans("AccountancyClosureAccountingReversal") . ''; + } + print_barre_liste('', '', '', '', '', '', '', -1, '', '', 0, $button, '', 0, 1, 0); } -print "\n"; -print ''; // End of page llxFooter(); diff --git a/htdocs/accountancy/customer/card.php b/htdocs/accountancy/customer/card.php index e867070ed2dd6..4d29a60f1d9db 100644 --- a/htdocs/accountancy/customer/card.php +++ b/htdocs/accountancy/customer/card.php @@ -101,7 +101,7 @@ if (!empty($id)) { $sql = "SELECT f.ref, f.rowid as facid, l.fk_product, l.description, l.price,"; $sql .= " l.qty, l.rowid, l.tva_tx, l.remise_percent, l.subprice,"; - if (!empty($conf->global->MAIN_PRODUCT_PERENTITY_SHARED)) { + if (getDolGlobalString('MAIN_PRODUCT_PERENTITY_SHARED')) { $sql .= " ppe.accountancy_code_sell as code_sell,"; } else { $sql .= " p.accountancy_code_sell as code_sell,"; @@ -109,7 +109,7 @@ $sql .= " l.fk_code_ventilation, aa.account_number, aa.label"; $sql .= " FROM ".MAIN_DB_PREFIX."facturedet as l"; $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."product as p ON p.rowid = l.fk_product"; - if (!empty($conf->global->MAIN_PRODUCT_PERENTITY_SHARED)) { + if (getDolGlobalString('MAIN_PRODUCT_PERENTITY_SHARED')) { $sql .= " LEFT JOIN " . MAIN_DB_PREFIX . "product_perentity as ppe ON ppe.fk_product = p.rowid AND ppe.entity = " . ((int) $conf->entity); } $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."accounting_account as aa ON l.fk_code_ventilation = aa.rowid"; diff --git a/htdocs/accountancy/customer/index.php b/htdocs/accountancy/customer/index.php index 01c0425136c67..61c945450e9fd 100644 --- a/htdocs/accountancy/customer/index.php +++ b/htdocs/accountancy/customer/index.php @@ -131,7 +131,7 @@ $sql = "SELECT f.rowid as facid, f.ref as ref, f.datef, f.type as ftype, f.situation_cycle_ref, f.fk_facture_source,"; $sql .= " l.rowid, l.fk_product, l.description, l.total_ht, l.fk_code_ventilation, l.product_type as type_l, l.situation_percent, l.tva_tx as tva_tx_line, l.vat_src_code,"; $sql .= " p.rowid as product_id, p.ref as product_ref, p.label as product_label, p.fk_product_type as type, p.tva_tx as tva_tx_prod,"; - if (!empty($conf->global->MAIN_PRODUCT_PERENTITY_SHARED)) { + if (getDolGlobalString('MAIN_PRODUCT_PERENTITY_SHARED')) { $sql .= " ppe.accountancy_code_sell as code_sell, ppe.accountancy_code_sell_intra as code_sell_intra, ppe.accountancy_code_sell_export as code_sell_export,"; } else { $sql .= " p.accountancy_code_sell as code_sell, p.accountancy_code_sell_intra as code_sell_intra, p.accountancy_code_sell_export as code_sell_export,"; @@ -139,24 +139,24 @@ $sql .= " aa.rowid as aarowid, aa2.rowid as aarowid_intra, aa3.rowid as aarowid_export, aa4.rowid as aarowid_thirdparty,"; $sql .= " co.code as country_code, co.label as country_label,"; $sql .= " s.tva_intra,"; - if (!empty($conf->global->MAIN_COMPANY_PERENTITY_SHARED)) { + if (getDolGlobalString('MAIN_COMPANY_PERENTITY_SHARED')) { $sql .= " spe.accountancy_code_sell as company_code_sell"; // accounting code for product but stored on thirdparty } else { $sql .= " s.accountancy_code_sell as company_code_sell"; // accounting code for product but stored on thirdparty } $sql .= " FROM ".$db->prefix()."facture as f"; $sql .= " INNER JOIN ".$db->prefix()."societe as s ON s.rowid = f.fk_soc"; - if (!empty($conf->global->MAIN_COMPANY_PERENTITY_SHARED)) { + if (getDolGlobalString('MAIN_COMPANY_PERENTITY_SHARED')) { $sql .= " LEFT JOIN " . $db->prefix() . "societe_perentity as spe ON spe.fk_soc = s.rowid AND spe.entity = " . ((int) $conf->entity); } $sql .= " LEFT JOIN ".$db->prefix()."c_country as co ON co.rowid = s.fk_pays "; $sql .= " INNER JOIN ".$db->prefix()."facturedet as l ON f.rowid = l.fk_facture"; // the main table $sql .= " LEFT JOIN ".$db->prefix()."product as p ON p.rowid = l.fk_product"; - if (!empty($conf->global->MAIN_PRODUCT_PERENTITY_SHARED)) { + if (getDolGlobalString('MAIN_PRODUCT_PERENTITY_SHARED')) { $sql .= " LEFT JOIN " . $db->prefix() . "product_perentity as ppe ON ppe.fk_product = p.rowid AND ppe.entity = " . ((int) $conf->entity); } - $alias_societe_perentity = empty($conf->global->MAIN_COMPANY_PERENTITY_SHARED) ? "s" : "spe"; - $alias_product_perentity = empty($conf->global->MAIN_PRODUCT_PERENTITY_SHARED) ? "p" : "ppe"; + $alias_societe_perentity = !getDolGlobalString('MAIN_COMPANY_PERENTITY_SHARED') ? "s" : "spe"; + $alias_product_perentity = !getDolGlobalString('MAIN_PRODUCT_PERENTITY_SHARED') ? "p" : "ppe"; $sql .= " LEFT JOIN ".$db->prefix()."accounting_account as aa ON " . $alias_product_perentity . ".accountancy_code_sell = aa.account_number AND aa.active = 1 AND aa.fk_pcg_version = '".$db->escape($chartaccountcode)."' AND aa.entity = ".$conf->entity; $sql .= " LEFT JOIN ".$db->prefix()."accounting_account as aa2 ON " . $alias_product_perentity . ".accountancy_code_sell_intra = aa2.account_number AND aa2.active = 1 AND aa2.fk_pcg_version = '".$db->escape($chartaccountcode)."' AND aa2.entity = ".$conf->entity; $sql .= " LEFT JOIN ".$db->prefix()."accounting_account as aa3 ON " . $alias_product_perentity . ".accountancy_code_sell_export = aa3.account_number AND aa3.active = 1 AND aa3.fk_pcg_version = '".$db->escape($chartaccountcode)."' AND aa3.entity = ".$conf->entity; @@ -164,7 +164,7 @@ $sql .= " WHERE f.fk_statut > 0 AND l.fk_code_ventilation <= 0"; $sql .= " AND l.product_type <= 2"; $sql .= " AND f.entity IN (".getEntity('invoice', 0).")"; // We don't share object for accountancy - if (!empty($conf->global->ACCOUNTING_DATE_START_BINDING)) { + if (getDolGlobalString('ACCOUNTING_DATE_START_BINDING')) { $sql .= " AND f.datef >= '".$db->idate($conf->global->ACCOUNTING_DATE_START_BINDING)."'"; } if ($validatemonth && $validateyear) { @@ -319,9 +319,9 @@ $y = $year_current; -$buttonbind = ''.img_picto($langs->trans("ValidateHistory"), 'link', 'class="pictofixedwidth fa-color-unset"').$langs->trans("ValidateHistory").''; +$buttonbind = ''.img_picto($langs->trans("ValidateHistory"), 'link', 'class="pictofixedwidth fa-color-unset"').$langs->trans("ValidateHistory").''; -print_barre_liste(img_picto('', 'unlink', 'class="paddingright fa-color-unset"').$langs->trans("OverviewOfAmountOfLinesNotBound"), '', '', '', '', '', '', -1, '', '', 0, $buttonbind, '', 0, 1, 1); +print_barre_liste(img_picto('', 'unlink', 'class="paddingright fa-color-unset"').$langs->trans("OverviewOfAmountOfLinesNotBound"), '', '', '', '', '', '', -1, '', '', 0, '', '', 0, 1, 1, 0, $buttonbind); //print load_fiche_titre($langs->trans("OverviewOfAmountOfLinesNotBound"), $buttonbind, ''); print '
'; @@ -370,14 +370,14 @@ $sql .= " WHERE f.datef >= '".$db->idate($search_date_start)."'"; $sql .= " AND f.datef <= '".$db->idate($search_date_end)."'"; // Define begin binding date -if (!empty($conf->global->ACCOUNTING_DATE_START_BINDING)) { +if (getDolGlobalString('ACCOUNTING_DATE_START_BINDING')) { $sql .= " AND f.datef >= '".$db->idate($conf->global->ACCOUNTING_DATE_START_BINDING)."'"; } $sql .= " AND f.fk_statut > 0"; $sql .= " AND fd.product_type <= 2"; $sql .= " AND f.entity IN (".getEntity('invoice', 0).")"; // We don't share object for accountancy $sql .= " AND aa.account_number IS NULL"; -if (!empty($conf->global->FACTURE_DEPOSITS_ARE_JUST_PAYMENTS)) { +if (getDolGlobalString('FACTURE_DEPOSITS_ARE_JUST_PAYMENTS')) { $sql .= " AND f.type IN (".Facture::TYPE_STANDARD.",".Facture::TYPE_REPLACEMENT.",".Facture::TYPE_CREDIT_NOTE.",".Facture::TYPE_SITUATION.")"; } else { $sql .= " AND f.type IN (".Facture::TYPE_STANDARD.",".Facture::TYPE_REPLACEMENT.",".Facture::TYPE_CREDIT_NOTE.",".Facture::TYPE_DEPOSIT.",".Facture::TYPE_SITUATION.")"; @@ -507,13 +507,13 @@ $sql .= " WHERE f.datef >= '".$db->idate($search_date_start)."'"; $sql .= " AND f.datef <= '".$db->idate($search_date_end)."'"; // Define begin binding date -if (!empty($conf->global->ACCOUNTING_DATE_START_BINDING)) { +if (getDolGlobalString('ACCOUNTING_DATE_START_BINDING')) { $sql .= " AND f.datef >= '".$db->idate($conf->global->ACCOUNTING_DATE_START_BINDING)."'"; } $sql .= " AND f.entity IN (".getEntity('invoice', 0).")"; // We don't share object for accountancy $sql .= " AND f.fk_statut > 0"; $sql .= " AND fd.product_type <= 2"; -if (!empty($conf->global->FACTURE_DEPOSITS_ARE_JUST_PAYMENTS)) { +if (getDolGlobalString('FACTURE_DEPOSITS_ARE_JUST_PAYMENTS')) { $sql .= " AND f.type IN (".Facture::TYPE_STANDARD.", ".Facture::TYPE_REPLACEMENT.", ".Facture::TYPE_CREDIT_NOTE.", ".Facture::TYPE_SITUATION.")"; } else { $sql .= " AND f.type IN (".Facture::TYPE_STANDARD.", ".Facture::TYPE_REPLACEMENT.", ".Facture::TYPE_CREDIT_NOTE.", ".Facture::TYPE_DEPOSIT.", ".Facture::TYPE_SITUATION.")"; @@ -612,13 +612,13 @@ $sql .= " WHERE f.datef >= '".$db->idate($search_date_start)."'"; $sql .= " AND f.datef <= '".$db->idate($search_date_end)."'"; // Define begin binding date - if (!empty($conf->global->ACCOUNTING_DATE_START_BINDING)) { + if (getDolGlobalString('ACCOUNTING_DATE_START_BINDING')) { $sql .= " AND f.datef >= '".$db->idate($conf->global->ACCOUNTING_DATE_START_BINDING)."'"; } $sql .= " AND f.entity IN (".getEntity('invoice', 0).")"; // We don't share object for accountancy $sql .= " AND f.fk_statut > 0"; $sql .= " AND fd.product_type <= 2"; - if (!empty($conf->global->FACTURE_DEPOSITS_ARE_JUST_PAYMENTS)) { + if (getDolGlobalString('FACTURE_DEPOSITS_ARE_JUST_PAYMENTS')) { $sql .= " AND f.type IN (".Facture::TYPE_STANDARD.", ".Facture::TYPE_REPLACEMENT.", ".Facture::TYPE_CREDIT_NOTE.", ".Facture::TYPE_SITUATION.")"; } else { $sql .= " AND f.type IN (".Facture::TYPE_STANDARD.", ".Facture::TYPE_REPLACEMENT.", ".Facture::TYPE_CREDIT_NOTE.", ".Facture::TYPE_DEPOSIT.", ".Facture::TYPE_SITUATION.")"; @@ -697,13 +697,13 @@ $sql .= " WHERE f.datef >= '".$db->idate($search_date_start)."'"; $sql .= " AND f.datef <= '".$db->idate($search_date_end)."'"; // Define begin binding date - if (!empty($conf->global->ACCOUNTING_DATE_START_BINDING)) { + if (getDolGlobalString('ACCOUNTING_DATE_START_BINDING')) { $sql .= " AND f.datef >= '".$db->idate($conf->global->ACCOUNTING_DATE_START_BINDING)."'"; } $sql .= " AND f.entity IN (".getEntity('invoice', 0).")"; // We don't share object for accountancy $sql .= " AND f.fk_statut > 0"; $sql .= " AND fd.product_type <= 2"; - if (!empty($conf->global->FACTURE_DEPOSITS_ARE_JUST_PAYMENTS)) { + if (getDolGlobalString('FACTURE_DEPOSITS_ARE_JUST_PAYMENTS')) { $sql .= " AND f.type IN (".Facture::TYPE_STANDARD.", ".Facture::TYPE_REPLACEMENT.", ".Facture::TYPE_CREDIT_NOTE.", ".Facture::TYPE_SITUATION.")"; } else { $sql .= " AND f.type IN (".Facture::TYPE_STANDARD.", ".Facture::TYPE_REPLACEMENT.", ".Facture::TYPE_CREDIT_NOTE.", ".Facture::TYPE_DEPOSIT.", ".Facture::TYPE_SITUATION.")"; diff --git a/htdocs/accountancy/customer/lines.php b/htdocs/accountancy/customer/lines.php index 2079e28c15f35..cf1d558e3a5e6 100644 --- a/htdocs/accountancy/customer/lines.php +++ b/htdocs/accountancy/customer/lines.php @@ -65,7 +65,7 @@ $search_tvaintra = GETPOST('search_tvaintra', 'alpha'); // Load variable for pagination -$limit = GETPOST('limit', 'int') ? GETPOST('limit', 'int') : (empty($conf->global->ACCOUNTING_LIMIT_LIST_VENTILATION) ? $conf->liste_limit : $conf->global->ACCOUNTING_LIMIT_LIST_VENTILATION); +$limit = GETPOST('limit', 'int') ? GETPOST('limit', 'int') : (!getDolGlobalString('ACCOUNTING_LIMIT_LIST_VENTILATION') ? $conf->liste_limit : $conf->global->ACCOUNTING_LIMIT_LIST_VENTILATION); $sortfield = GETPOST('sortfield', 'aZ09comma'); $sortorder = GETPOST('sortorder', 'aZ09comma'); $page = GETPOSTISSET('pageplusone') ? (GETPOST('pageplusone') - 1) : GETPOST("page", 'int'); @@ -200,7 +200,7 @@ $sql = "SELECT f.rowid as facid, f.ref as ref, f.type as ftype, f.situation_cycle_ref, f.datef, f.ref_client,"; $sql .= " fd.rowid, fd.description, fd.product_type as line_type, fd.total_ht, fd.total_tva, fd.tva_tx, fd.vat_src_code, fd.total_ttc, fd.situation_percent,"; $sql .= " s.rowid as socid, s.nom as name, s.code_client,"; -if (!empty($conf->global->MAIN_COMPANY_PERENTITY_SHARED)) { +if (getDolGlobalString('MAIN_COMPANY_PERENTITY_SHARED')) { $sql .= " spe.accountancy_code_customer as code_compta_client,"; $sql .= " spe.accountancy_code_supplier as code_compta_fournisseur,"; } else { @@ -208,7 +208,7 @@ $sql .= " s.code_compta_fournisseur,"; } $sql .= " p.rowid as product_id, p.fk_product_type as product_type, p.ref as product_ref, p.label as product_label, p.tobuy, p.tosell,"; -if (!empty($conf->global->MAIN_PRODUCT_PERENTITY_SHARED)) { +if (getDolGlobalString('MAIN_PRODUCT_PERENTITY_SHARED')) { $sql .= " ppe.accountancy_code_sell, ppe.accountancy_code_sell_intra, ppe.accountancy_code_sell_export,"; } else { $sql .= " p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export,"; @@ -222,20 +222,20 @@ $sql .= $hookmanager->resPrint; $sql .= " FROM ".MAIN_DB_PREFIX."facturedet as fd"; $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."product as p ON p.rowid = fd.fk_product"; -if (!empty($conf->global->MAIN_PRODUCT_PERENTITY_SHARED)) { +if (getDolGlobalString('MAIN_PRODUCT_PERENTITY_SHARED')) { $sql .= " LEFT JOIN " . MAIN_DB_PREFIX . "product_perentity as ppe ON ppe.fk_product = p.rowid AND ppe.entity = " . ((int) $conf->entity); } $sql .= " INNER JOIN ".MAIN_DB_PREFIX."accounting_account as aa ON aa.rowid = fd.fk_code_ventilation"; $sql .= " INNER JOIN ".MAIN_DB_PREFIX."facture as f ON f.rowid = fd.fk_facture"; $sql .= " INNER JOIN ".MAIN_DB_PREFIX."societe as s ON s.rowid = f.fk_soc"; -if (!empty($conf->global->MAIN_COMPANY_PERENTITY_SHARED)) { +if (getDolGlobalString('MAIN_COMPANY_PERENTITY_SHARED')) { $sql .= " LEFT JOIN " . MAIN_DB_PREFIX . "societe_perentity as spe ON spe.fk_soc = s.rowid AND spe.entity = " . ((int) $conf->entity); } $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."c_country as co ON co.rowid = s.fk_pays "; $sql .= " WHERE fd.fk_code_ventilation > 0"; $sql .= " AND f.entity IN (".getEntity('invoice', 0).")"; // We don't share object for accountancy $sql .= " AND f.fk_statut > 0"; -if (!empty($conf->global->FACTURE_DEPOSITS_ARE_JUST_PAYMENTS)) { +if (getDolGlobalString('FACTURE_DEPOSITS_ARE_JUST_PAYMENTS')) { $sql .= " AND f.type IN (".Facture::TYPE_STANDARD.",".Facture::TYPE_REPLACEMENT.",".Facture::TYPE_CREDIT_NOTE.",".Facture::TYPE_SITUATION.")"; } else { $sql .= " AND f.type IN (".Facture::TYPE_STANDARD.",".Facture::TYPE_REPLACEMENT.",".Facture::TYPE_CREDIT_NOTE.",".Facture::TYPE_DEPOSIT.",".Facture::TYPE_SITUATION.")"; @@ -506,7 +506,7 @@ print ''; $text = dolGetFirstLineOfText(dol_string_nohtmltag($objp->description, 1)); - $trunclength = empty($conf->global->ACCOUNTING_LENGTH_DESCRIPTION) ? 32 : $conf->global->ACCOUNTING_LENGTH_DESCRIPTION; + $trunclength = !getDolGlobalString('ACCOUNTING_LENGTH_DESCRIPTION') ? 32 : $conf->global->ACCOUNTING_LENGTH_DESCRIPTION; print $form->textwithtooltip(dol_trunc($text, $trunclength), $objp->description); print ''; diff --git a/htdocs/accountancy/customer/list.php b/htdocs/accountancy/customer/list.php index 8c46be3982649..7f76f640101fc 100644 --- a/htdocs/accountancy/customer/list.php +++ b/htdocs/accountancy/customer/list.php @@ -74,8 +74,13 @@ $search_country = GETPOST('search_country', 'alpha'); $search_tvaintra = GETPOST('search_tvaintra', 'alpha'); +// Define begin binding date +if (empty($search_date_start) && getDolGlobalString('ACCOUNTING_DATE_START_BINDING')) { + $search_date_start = $db->idate($conf->global->ACCOUNTING_DATE_START_BINDING); +} + // Load variable for pagination -$limit = GETPOST('limit', 'int') ?GETPOST('limit', 'int') : (empty($conf->global->ACCOUNTING_LIMIT_LIST_VENTILATION) ? $conf->liste_limit : $conf->global->ACCOUNTING_LIMIT_LIST_VENTILATION); +$limit = GETPOST('limit', 'int') ?GETPOST('limit', 'int') : (!getDolGlobalString('ACCOUNTING_LIMIT_LIST_VENTILATION') ? $conf->liste_limit : $conf->global->ACCOUNTING_LIMIT_LIST_VENTILATION); $sortfield = GETPOST('sortfield', 'aZ09comma'); $sortorder = GETPOST('sortorder', 'aZ09comma'); $page = GETPOSTISSET('pageplusone') ? (GETPOST('pageplusone') - 1) : GETPOST("page", 'int'); @@ -238,7 +243,7 @@ $sql = "SELECT f.rowid as facid, f.ref, f.datef, f.type as ftype, f.situation_cycle_ref, f.fk_facture_source,"; $sql .= " l.rowid, l.fk_product, l.description, l.total_ht, l.situation_percent, l.fk_code_ventilation, l.product_type as type_l, l.tva_tx as tva_tx_line, l.vat_src_code,"; $sql .= " p.rowid as product_id, p.ref as product_ref, p.label as product_label, p.fk_product_type as type, p.tva_tx as tva_tx_prod,"; -if (!empty($conf->global->MAIN_PRODUCT_PERENTITY_SHARED)) { +if (getDolGlobalString('MAIN_PRODUCT_PERENTITY_SHARED')) { $sql .= " ppe.accountancy_code_sell as code_sell, ppe.accountancy_code_sell_intra as code_sell_intra, ppe.accountancy_code_sell_export as code_sell_export,"; $sql .= " ppe.accountancy_code_buy as code_buy, ppe.accountancy_code_buy_intra as code_buy_intra, ppe.accountancy_code_buy_export as code_buy_export,"; } else { @@ -249,7 +254,7 @@ $sql .= " aa.rowid as aarowid, aa2.rowid as aarowid_intra, aa3.rowid as aarowid_export, aa4.rowid as aarowid_thirdparty,"; $sql .= " co.code as country_code, co.label as country_label,"; $sql .= " s.rowid as socid, s.nom as name, s.tva_intra, s.email, s.town, s.zip, s.fk_pays, s.client, s.fournisseur, s.code_client, s.code_fournisseur,"; -if (!empty($conf->global->MAIN_COMPANY_PERENTITY_SHARED)) { +if (getDolGlobalString('MAIN_COMPANY_PERENTITY_SHARED')) { $sql .= " spe.accountancy_code_customer as code_compta_client,"; $sql .= " spe.accountancy_code_supplier as code_compta_fournisseur,"; $sql .= " spe.accountancy_code_sell as company_code_sell"; @@ -263,17 +268,17 @@ $sql .= $hookmanager->resPrint; $sql .= " FROM ".MAIN_DB_PREFIX."facture as f"; $sql .= " INNER JOIN ".MAIN_DB_PREFIX."societe as s ON s.rowid = f.fk_soc"; -if (!empty($conf->global->MAIN_COMPANY_PERENTITY_SHARED)) { +if (getDolGlobalString('MAIN_COMPANY_PERENTITY_SHARED')) { $sql .= " LEFT JOIN " . MAIN_DB_PREFIX . "societe_perentity as spe ON spe.fk_soc = s.rowid AND spe.entity = " . ((int) $conf->entity); } $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."c_country as co ON co.rowid = s.fk_pays "; $sql .= " INNER JOIN ".MAIN_DB_PREFIX."facturedet as l ON f.rowid = l.fk_facture"; $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."product as p ON p.rowid = l.fk_product"; -if (!empty($conf->global->MAIN_PRODUCT_PERENTITY_SHARED)) { +if (getDolGlobalString('MAIN_PRODUCT_PERENTITY_SHARED')) { $sql .= " LEFT JOIN " . MAIN_DB_PREFIX . "product_perentity as ppe ON ppe.fk_product = p.rowid AND ppe.entity = " . ((int) $conf->entity); } -$alias_societe_perentity = empty($conf->global->MAIN_COMPANY_PERENTITY_SHARED) ? "s" : "spe"; -$alias_product_perentity = empty($conf->global->MAIN_PRODUCT_PERENTITY_SHARED) ? "p" : "ppe"; +$alias_societe_perentity = !getDolGlobalString('MAIN_COMPANY_PERENTITY_SHARED') ? "s" : "spe"; +$alias_product_perentity = !getDolGlobalString('MAIN_PRODUCT_PERENTITY_SHARED') ? "p" : "ppe"; $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."accounting_account as aa ON " . $alias_product_perentity . ".accountancy_code_sell = aa.account_number AND aa.active = 1 AND aa.fk_pcg_version = '".$db->escape($chartaccountcode)."' AND aa.entity = ".$conf->entity; $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."accounting_account as aa2 ON " . $alias_product_perentity . ".accountancy_code_sell_intra = aa2.account_number AND aa2.active = 1 AND aa2.fk_pcg_version = '".$db->escape($chartaccountcode)."' AND aa2.entity = ".$conf->entity; $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."accounting_account as aa3 ON " . $alias_product_perentity . ".accountancy_code_sell_export = aa3.account_number AND aa3.active = 1 AND aa3.fk_pcg_version = '".$db->escape($chartaccountcode)."' AND aa3.entity = ".$conf->entity; @@ -281,10 +286,6 @@ $sql .= " WHERE f.fk_statut > 0 AND l.fk_code_ventilation <= 0"; $sql .= " AND l.product_type <= 2"; -// Define begin binding date -if (!empty($conf->global->ACCOUNTING_DATE_START_BINDING)) { - $sql .= " AND f.datef >= '".$db->idate($conf->global->ACCOUNTING_DATE_START_BINDING)."'"; -} // Add search filter like if ($search_societe) { $sql .= natural_search('s.nom', $search_societe); @@ -343,7 +344,7 @@ if (strlen(trim($search_tvaintra))) { $sql .= natural_search("s.tva_intra", $search_tvaintra); } -if (!empty($conf->global->FACTURE_DEPOSITS_ARE_JUST_PAYMENTS)) { +if (getDolGlobalString('FACTURE_DEPOSITS_ARE_JUST_PAYMENTS')) { $sql .= " AND f.type IN (".Facture::TYPE_STANDARD.",".Facture::TYPE_REPLACEMENT.",".Facture::TYPE_CREDIT_NOTE.",".Facture::TYPE_SITUATION.")"; } else { $sql .= " AND f.type IN (".Facture::TYPE_STANDARD.",".Facture::TYPE_REPLACEMENT.",".Facture::TYPE_CREDIT_NOTE.",".Facture::TYPE_DEPOSIT.",".Facture::TYPE_SITUATION.")"; @@ -658,7 +659,7 @@ // Description of line print ''; $text = dolGetFirstLineOfText(dol_string_nohtmltag($facture_static_det->desc, 1)); - $trunclength = empty($conf->global->ACCOUNTING_LENGTH_DESCRIPTION) ? 32 : $conf->global->ACCOUNTING_LENGTH_DESCRIPTION; + $trunclength = !getDolGlobalString('ACCOUNTING_LENGTH_DESCRIPTION') ? 32 : $conf->global->ACCOUNTING_LENGTH_DESCRIPTION; print $form->textwithtooltip(dol_trunc($text, $trunclength), $facture_static_det->desc); print ''; @@ -750,7 +751,7 @@ $s .= $langs->trans("NotDefined"); print $form->textwithpicto($s, $shelp, 1, 'help', '', 0, 2, '', 1); } - if (!empty($conf->global->ACCOUNTANCY_USE_PRODUCT_ACCOUNT_ON_THIRDPARTY)) { + if (getDolGlobalString('ACCOUNTANCY_USE_PRODUCT_ACCOUNT_ON_THIRDPARTY')) { print '
'; $s = '3. '.(($facture_static_det->product_type == 1) ? $langs->trans("ServiceForThisThirdparty") : $langs->trans("ProductForThisThirdparty")).': '; $shelp = ''; diff --git a/htdocs/accountancy/expensereport/index.php b/htdocs/accountancy/expensereport/index.php index c9ce105103c14..db31387b78e1e 100644 --- a/htdocs/accountancy/expensereport/index.php +++ b/htdocs/accountancy/expensereport/index.php @@ -193,10 +193,10 @@ $y = $year_current; -$buttonbind = ''.img_picto('', 'link', 'class="paddingright fa-color-unset"').$langs->trans("ValidateHistory").''; +$buttonbind = ''.img_picto('', 'link', 'class="paddingright fa-color-unset"').$langs->trans("ValidateHistory").''; -print_barre_liste(img_picto('', 'unlink', 'class="paddingright fa-color-unset"').$langs->trans("OverviewOfAmountOfLinesNotBound"), '', '', '', '', '', '', -1, '', '', 0, $buttonbind, '', 0, 1, 1); +print_barre_liste(img_picto('', 'unlink', 'class="paddingright fa-color-unset"').$langs->trans("OverviewOfAmountOfLinesNotBound"), '', '', '', '', '', '', -1, '', '', 0, '', '', 0, 1, 1, 0, $buttonbind); //print load_fiche_titre($langs->trans("OverviewOfAmountOfLinesNotBound"), $buttonbind, ''); print '
'; @@ -246,7 +246,7 @@ $sql .= " WHERE er.date_debut >= '".$db->idate($search_date_start)."'"; $sql .= " AND er.date_debut <= '".$db->idate($search_date_end)."'"; // Define begin binding date -if (!empty($conf->global->ACCOUNTING_DATE_START_BINDING)) { +if (getDolGlobalString('ACCOUNTING_DATE_START_BINDING')) { $sql .= " AND er.date_debut >= '".$db->idate($conf->global->ACCOUNTING_DATE_START_BINDING)."'"; } $sql .= " AND er.fk_statut IN (".ExpenseReport::STATUS_APPROVED.", ".ExpenseReport::STATUS_CLOSED.")"; @@ -357,7 +357,7 @@ $sql .= " WHERE er.date_debut >= '".$db->idate($search_date_start)."'"; $sql .= " AND er.date_debut <= '".$db->idate($search_date_end)."'"; // Define begin binding date -if (!empty($conf->global->ACCOUNTING_DATE_START_BINDING)) { +if (getDolGlobalString('ACCOUNTING_DATE_START_BINDING')) { $sql .= " AND er.date_debut >= '".$db->idate($conf->global->ACCOUNTING_DATE_START_BINDING)."'"; } $sql .= " AND er.fk_statut IN (".ExpenseReport::STATUS_APPROVED.", ".ExpenseReport::STATUS_CLOSED.")"; @@ -443,7 +443,7 @@ $sql .= " WHERE er.date_debut >= '".$db->idate($search_date_start)."'"; $sql .= " AND er.date_debut <= '".$db->idate($search_date_end)."'"; // Define begin binding date - if (!empty($conf->global->ACCOUNTING_DATE_START_BINDING)) { + if (getDolGlobalString('ACCOUNTING_DATE_START_BINDING')) { $sql .= " AND er.date_debut >= '".$db->idate($conf->global->ACCOUNTING_DATE_START_BINDING)."'"; } $sql .= " AND er.fk_statut IN (".ExpenseReport::STATUS_APPROVED.", ".ExpenseReport::STATUS_CLOSED.")"; diff --git a/htdocs/accountancy/expensereport/lines.php b/htdocs/accountancy/expensereport/lines.php index 9f1fe74d0ea39..cf4db1e9d9674 100644 --- a/htdocs/accountancy/expensereport/lines.php +++ b/htdocs/accountancy/expensereport/lines.php @@ -59,7 +59,7 @@ $search_date_end = dol_mktime(23, 59, 59, $search_date_endmonth, $search_date_endday, $search_date_endyear); // Load variable for pagination -$limit = GETPOST('limit', 'int') ?GETPOST('limit', 'int') : (empty($conf->global->ACCOUNTING_LIMIT_LIST_VENTILATION) ? $conf->liste_limit : $conf->global->ACCOUNTING_LIMIT_LIST_VENTILATION); +$limit = GETPOST('limit', 'int') ?GETPOST('limit', 'int') : (!getDolGlobalString('ACCOUNTING_LIMIT_LIST_VENTILATION') ? $conf->liste_limit : $conf->global->ACCOUNTING_LIMIT_LIST_VENTILATION); $sortfield = GETPOST('sortfield', 'aZ09comma'); $sortorder = GETPOST('sortorder', 'aZ09comma'); $page = GETPOSTISSET('pageplusone') ? (GETPOST('pageplusone') - 1) : GETPOST("page", 'int'); @@ -322,7 +322,7 @@ print ''; print ''; print ''; - if (!empty($conf->global->ACCOUNTANCY_USE_EXPENSE_REPORT_VALIDATION_DATE)) { + if (getDolGlobalString('ACCOUNTANCY_USE_EXPENSE_REPORT_VALIDATION_DATE')) { print ''; } print ''; @@ -348,7 +348,7 @@ print_liste_field_titre("Employees", $_SERVER['PHP_SELF'], "u.login", $param, "", "", $sortfield, $sortorder); print_liste_field_titre("LineId", $_SERVER["PHP_SELF"], "erd.rowid", "", $param, '', $sortfield, $sortorder); print_liste_field_titre("ExpenseReport", $_SERVER["PHP_SELF"], "er.ref", "", $param, '', $sortfield, $sortorder); - if (!empty($conf->global->ACCOUNTANCY_USE_EXPENSE_REPORT_VALIDATION_DATE)) { + if (getDolGlobalString('ACCOUNTANCY_USE_EXPENSE_REPORT_VALIDATION_DATE')) { print_liste_field_titre("DateValidation", $_SERVER["PHP_SELF"], "er.date_valid", "", $param, '', $sortfield, $sortorder, 'center '); } print_liste_field_titre("DateOfLine", $_SERVER["PHP_SELF"], "erd.date, erd.rowid", "", $param, '', $sortfield, $sortorder, 'center '); @@ -402,7 +402,7 @@ print ''.$expensereportstatic->getNomUrl(1).''; // Date validation - if (!empty($conf->global->ACCOUNTANCY_USE_EXPENSE_REPORT_VALIDATION_DATE)) { + if (getDolGlobalString('ACCOUNTANCY_USE_EXPENSE_REPORT_VALIDATION_DATE')) { print ''.dol_print_date($db->jdate($objp->date_valid), 'day').''; } @@ -414,7 +414,7 @@ // Fees description -- Can be null print ''; $text = dolGetFirstLineOfText(dol_string_nohtmltag($objp->comments, 1)); - $trunclength = empty($conf->global->ACCOUNTING_LENGTH_DESCRIPTION) ? 32 : $conf->global->ACCOUNTING_LENGTH_DESCRIPTION; + $trunclength = !getDolGlobalString('ACCOUNTING_LENGTH_DESCRIPTION') ? 32 : $conf->global->ACCOUNTING_LENGTH_DESCRIPTION; print $form->textwithtooltip(dol_trunc($text, $trunclength), $objp->comments); print ''; @@ -437,7 +437,7 @@ } if ($num_lines == 0) { $colspan=10; - if (!empty($conf->global->ACCOUNTANCY_USE_EXPENSE_REPORT_VALIDATION_DATE)) { + if (getDolGlobalString('ACCOUNTANCY_USE_EXPENSE_REPORT_VALIDATION_DATE')) { $colspan++; } print ''.$langs->trans("NoRecordFound").''; diff --git a/htdocs/accountancy/expensereport/list.php b/htdocs/accountancy/expensereport/list.php index 5a417cef7a9aa..6ba6244e037c4 100644 --- a/htdocs/accountancy/expensereport/list.php +++ b/htdocs/accountancy/expensereport/list.php @@ -67,8 +67,13 @@ $search_date_start = dol_mktime(0, 0, 0, $search_date_startmonth, $search_date_startday, $search_date_startyear); // Use tzserver $search_date_end = dol_mktime(23, 59, 59, $search_date_endmonth, $search_date_endday, $search_date_endyear); +// Define begin binding date +if (empty($search_date_start) && getDolGlobalString('ACCOUNTING_DATE_START_BINDING')) { + $search_date_start = $db->idate($conf->global->ACCOUNTING_DATE_START_BINDING); +} + // Load variable for pagination -$limit = GETPOST('limit', 'int') ?GETPOST('limit', 'int') : (empty($conf->global->ACCOUNTING_LIMIT_LIST_VENTILATION) ? $conf->liste_limit : $conf->global->ACCOUNTING_LIMIT_LIST_VENTILATION); +$limit = GETPOST('limit', 'int') ?GETPOST('limit', 'int') : (!getDolGlobalString('ACCOUNTING_LIMIT_LIST_VENTILATION') ? $conf->liste_limit : $conf->global->ACCOUNTING_LIMIT_LIST_VENTILATION); $sortfield = GETPOST('sortfield', 'aZ09comma'); $sortorder = GETPOST('sortorder', 'aZ09comma'); $page = GETPOSTISSET('pageplusone') ? (GETPOST('pageplusone') - 1) : GETPOST("page", 'int'); @@ -240,10 +245,6 @@ $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."user as u ON u.rowid = er.fk_user_author"; $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."accounting_account as aa ON f.accountancy_code = aa.account_number AND aa.fk_pcg_version = '".$db->escape($chartaccountcode)."' AND aa.entity = ".$conf->entity; $sql .= " WHERE er.fk_statut IN (".ExpenseReport::STATUS_APPROVED.", ".ExpenseReport::STATUS_CLOSED.") AND erd.fk_code_ventilation <= 0"; -// Define begin binding date -if (!empty($conf->global->ACCOUNTING_DATE_START_BINDING)) { - $sql .= " AND er.date_debut >= '".$db->idate($conf->global->ACCOUNTING_DATE_START_BINDING)."'"; -} // Add search filter like if (strlen(trim($search_login))) { $sql .= natural_search("u.login", $search_login); @@ -291,6 +292,7 @@ $offset = 0; } } +//print $sql; $sql .= $db->plimit($limit + 1, $offset); @@ -389,7 +391,7 @@ print ''; print ''; print ''; - if (!empty($conf->global->ACCOUNTANCY_USE_EXPENSE_REPORT_VALIDATION_DATE)) { + if (getDolGlobalString('ACCOUNTANCY_USE_EXPENSE_REPORT_VALIDATION_DATE')) { print ''; } print ''; @@ -416,7 +418,7 @@ print_liste_field_titre("Employee", $_SERVER['PHP_SELF'], "u.login", $param, "", "", $sortfield, $sortorder); print_liste_field_titre("LineId", $_SERVER["PHP_SELF"], "erd.rowid", "", $param, '', $sortfield, $sortorder); print_liste_field_titre("ExpenseReport", $_SERVER["PHP_SELF"], "er.ref", "", $param, '', $sortfield, $sortorder); - if (!empty($conf->global->ACCOUNTANCY_USE_EXPENSE_REPORT_VALIDATION_DATE)) { + if (getDolGlobalString('ACCOUNTANCY_USE_EXPENSE_REPORT_VALIDATION_DATE')) { print_liste_field_titre("DateValidation", $_SERVER["PHP_SELF"], "er.date_valid", "", $param, '', $sortfield, $sortorder, 'center '); } print_liste_field_titre("DateOfLine", $_SERVER["PHP_SELF"], "erd.date, erd.rowid", "", $param, '', $sortfield, $sortorder, 'center '); @@ -471,7 +473,7 @@ print ''.$expensereport_static->getNomUrl(1).''; // Date validation - if (!empty($conf->global->ACCOUNTANCY_USE_EXPENSE_REPORT_VALIDATION_DATE)) { + if (getDolGlobalString('ACCOUNTANCY_USE_EXPENSE_REPORT_VALIDATION_DATE')) { print ''.dol_print_date($db->jdate($objp->date_valid), 'day').''; } @@ -486,7 +488,7 @@ // Fees description -- Can be null print ''; $text = dolGetFirstLineOfText(dol_string_nohtmltag($objp->comments, 1)); - $trunclength = empty($conf->global->ACCOUNTING_LENGTH_DESCRIPTION) ? 32 : $conf->global->ACCOUNTING_LENGTH_DESCRIPTION; + $trunclength = !getDolGlobalString('ACCOUNTING_LENGTH_DESCRIPTION') ? 32 : $conf->global->ACCOUNTING_LENGTH_DESCRIPTION; print $form->textwithtooltip(dol_trunc($text, $trunclength), $objp->comments); print ''; diff --git a/htdocs/accountancy/index.php b/htdocs/accountancy/index.php index 28982da4e8621..6b3a833f2d1c4 100644 --- a/htdocs/accountancy/index.php +++ b/htdocs/accountancy/index.php @@ -110,7 +110,7 @@ print load_fiche_titre($langs->trans("AccountancyArea"), $resultboxes['selectboxlist'], 'accountancy', 0, '', '', $showtutorial); - if (!empty($conf->global->INVOICE_USE_SITUATION) && $conf->global->INVOICE_USE_SITUATION == 1) { + if (getDolGlobalInt('INVOICE_USE_SITUATION') == 1) { print info_admin($langs->trans("SorryThisModuleIsNotCompatibleWithTheExperimentalFeatureOfSituationInvoices")); print "
"; } diff --git a/htdocs/accountancy/journal/bankjournal.php b/htdocs/accountancy/journal/bankjournal.php index 69c540aa74753..f0e06ef928127 100644 --- a/htdocs/accountancy/journal/bankjournal.php +++ b/htdocs/accountancy/journal/bankjournal.php @@ -121,7 +121,7 @@ $sql = "SELECT b.rowid, b.dateo as do, b.datev as dv, b.amount, b.amount_main_currency, b.label, b.rappro, b.num_releve, b.num_chq, b.fk_type, b.fk_account,"; $sql .= " ba.courant, ba.ref as baref, ba.account_number, ba.fk_accountancy_journal,"; $sql .= " soc.rowid as socid, soc.nom as name, soc.email as email, bu1.type as typeop_company,"; -if (!empty($conf->global->MAIN_COMPANY_PERENTITY_SHARED)) { +if (getDolGlobalString('MAIN_COMPANY_PERENTITY_SHARED')) { $sql .= " spe.accountancy_code_customer as code_compta,"; $sql .= " spe.accountancy_code_supplier as code_compta_fournisseur,"; } else { @@ -138,7 +138,7 @@ $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."bank_url as bu3 ON bu3.fk_bank = b.rowid AND bu3.type='payment'"; $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."bank_url as bu4 ON bu4.fk_bank = b.rowid AND bu4.type='payment_supplier'"; $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."societe as soc on bu1.url_id=soc.rowid"; -if (!empty($conf->global->MAIN_COMPANY_PERENTITY_SHARED)) { +if (getDolGlobalString('MAIN_COMPANY_PERENTITY_SHARED')) { $sql .= " LEFT JOIN " . MAIN_DB_PREFIX . "societe_perentity as spe ON spe.fk_soc = soc.rowid AND spe.entity = " . ((int) $conf->entity); } $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."user as u on bu2.url_id=u.rowid"; @@ -277,7 +277,7 @@ ); // Variable bookkeeping ($obj->rowid is Bank Id) - $tabpay[$obj->rowid]["date"] = $obj->do; + $tabpay[$obj->rowid]["date"] = $db->jdate($obj->do); $tabpay[$obj->rowid]["type_payment"] = $obj->fk_type; // CHQ, VIR, LIQ, CB, ... $tabpay[$obj->rowid]["ref"] = $obj->label; // By default. Not unique. May be changed later $tabpay[$obj->rowid]["fk_bank"] = $obj->rowid; @@ -436,7 +436,7 @@ // This part of code is no more required. it is here to solve case where a link were missing (ith v14.0.0) and keep writing in accountancy complete. // Note: A better way to fix this is to delete payment of salary and recreate it, or to fix the bookkeeping table manually after. - if (!empty($conf->global->ACCOUNTANCY_AUTOFIX_MISSING_LINK_TO_USEr_ON_SALARY_BANK_PAYMENT)) { + if (getDolGlobalString('ACCOUNTANCY_AUTOFIX_MISSING_LINK_TO_USER_ON_SALARY_BANK_PAYMENT')) { $tmpsalary = new Salary($db); $tmpsalary->fetch($paymentsalstatic->id); $tmpsalary->fetch_user($tmpsalary->fk_user); @@ -602,7 +602,7 @@ $error = 0; foreach ($tabpay as $key => $val) { // $key is rowid into llx_bank - $date = dol_print_date($db->jdate($val["date"]), 'day'); + $date = dol_print_date($val["date"], 'day'); $ref = getSourceDocRef($val, $tabtype[$key]); @@ -931,7 +931,7 @@ print "\n"; foreach ($tabpay as $key => $val) { - $date = dol_print_date($db->jdate($val["date"]), 'day'); + $date = dol_print_date($val["date"], 'day'); $ref = getSourceDocRef($val, $tabtype[$key]); @@ -1099,7 +1099,7 @@ print '
'; - if (!empty($conf->global->ACCOUNTING_ENABLE_EXPORT_DRAFT_JOURNAL) && $in_bookkeeping == 'notyet') { + if (getDolGlobalString('ACCOUNTING_ENABLE_EXPORT_DRAFT_JOURNAL') && $in_bookkeeping == 'notyet') { print ''; } @@ -1155,7 +1155,7 @@ function writebookkeeping() { $r = ''; foreach ($tabpay as $key => $val) { // $key is rowid in llx_bank - $date = dol_print_date($db->jdate($val["date"]), 'day'); + $date = dol_print_date($val["date"], 'day'); $ref = getSourceDocRef($val, $tabtype[$key]); @@ -1265,7 +1265,7 @@ function writebookkeeping() { if (empty($accounttoshow) || $accounttoshow == 'NotDefined') { if ($tabtype[$key] == 'unknown') { // We will accept writing, but into a waiting account - if (empty($conf->global->ACCOUNTING_ACCOUNT_SUSPENSE) || $conf->global->ACCOUNTING_ACCOUNT_SUSPENSE == '-1') { + if (!getDolGlobalString('ACCOUNTING_ACCOUNT_SUSPENSE') || getDolGlobalString('ACCOUNTING_ACCOUNT_SUSPENSE') == '-1') { $accounttoshow = ''.$langs->trans('UnknownAccountForThirdpartyAndWaitingAccountNotDefinedBlocking').''; } else { $accounttoshow = ''.$langs->trans('UnknownAccountForThirdparty', length_accountg($conf->global->ACCOUNTING_ACCOUNT_SUSPENSE)).''; // We will use a waiting account diff --git a/htdocs/accountancy/journal/expensereportsjournal.php b/htdocs/accountancy/journal/expensereportsjournal.php index 2e8e68526dba2..ae217414b5f42 100644 --- a/htdocs/accountancy/journal/expensereportsjournal.php +++ b/htdocs/accountancy/journal/expensereportsjournal.php @@ -3,11 +3,11 @@ * Copyright (C) 2007-2010 Jean Heimburger * Copyright (C) 2011 Juanjo Menent * Copyright (C) 2012 Regis Houssin - * Copyright (C) 2013-2021 Alexandre Spangaro + * Copyright (C) 2013-2023 Alexandre Spangaro * Copyright (C) 2013-2016 Olivier Geffroy * Copyright (C) 2013-2016 Florian Henry * Copyright (C) 2018 Frédéric France - * Copyright (C) 2018 Eric Seigne + * Copyright (C) 2018 Eric Seigne * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -71,6 +71,9 @@ accessforbidden(); } +$error = 0; +$errorforinvoice = array(); + /* * Actions @@ -123,7 +126,7 @@ $sql .= " AND er.date_debut >= '".$db->idate($date_start)."' AND er.date_debut <= '".$db->idate($date_end)."'"; } // Define begin binding date -if (!empty($conf->global->ACCOUNTING_DATE_START_BINDING)) { +if (getDolGlobalString('ACCOUNTING_DATE_START_BINDING')) { $sql .= " AND er.date_debut >= '".$db->idate($conf->global->ACCOUNTING_DATE_START_BINDING)."'"; } // Already in bookkeeping or not @@ -153,8 +156,8 @@ $num = $db->num_rows($result); // Variables - $account_salary = (!empty($conf->global->SALARIES_ACCOUNTING_ACCOUNT_PAYMENT)) ? $conf->global->SALARIES_ACCOUNTING_ACCOUNT_PAYMENT : 'NotDefined'; - $account_vat = (!empty($conf->global->ACCOUNTING_VAT_BUY_ACCOUNT)) ? $conf->global->ACCOUNTING_VAT_BUY_ACCOUNT : 'NotDefined'; + $account_salary = (getDolGlobalString('SALARIES_ACCOUNTING_ACCOUNT_PAYMENT')) ? $conf->global->SALARIES_ACCOUNTING_ACCOUNT_PAYMENT : 'NotDefined'; + $account_vat = (getDolGlobalString('ACCOUNTING_VAT_BUY_ACCOUNT')) ? $conf->global->ACCOUNTING_VAT_BUY_ACCOUNT : 'NotDefined'; $i = 0; while ($i < $num) { @@ -213,8 +216,27 @@ dol_print_error($db); } +// Load all unbound lines +$sql = "SELECT fk_expensereport, COUNT(erd.rowid) as nb"; +$sql .= " FROM ".MAIN_DB_PREFIX."expensereport_det as erd"; +$sql .= " WHERE erd.fk_code_ventilation <= 0"; +$sql .= " AND erd.total_ttc <> 0"; +$sql .= " AND fk_expensereport IN (".$db->sanitize(join(",", array_keys($taber))).")"; +$sql .= " GROUP BY fk_expensereport"; +$resql = $db->query($sql); + +$num = $db->num_rows($resql); +$i = 0; +while ($i < $num) { + $obj = $db->fetch_object($resql); + if ($obj->nb > 0) { + $errorforinvoice[$obj->fk_expensereport] = 'somelinesarenotbound'; + } + $i++; +} + // Bookkeeping Write -if ($action == 'writebookkeeping') { +if ($action == 'writebookkeeping' && !$error) { $now = dol_now(); $error = 0; @@ -229,6 +251,13 @@ $db->begin(); + // Error if some lines are not binded/ready to be journalized + if (!empty($errorforinvoice[$key]) && $errorforinvoice[$key] == 'somelinesarenotbound') { + $error++; + $errorforline++; + setEventMessages($langs->trans('ErrorInvoiceContainsLinesNotYetBounded', $val['ref']), null, 'errors'); + } + // Thirdparty if (!$errorforline) { foreach ($tabttc[$key] as $k => $mt) { @@ -265,10 +294,12 @@ if ($bookkeeping->error == 'BookkeepingRecordAlreadyExists') { // Already exists $error++; $errorforline++; + $errorforinvoice[$key] = 'alreadyjournalized'; //setEventMessages('Transaction for ('.$bookkeeping->doc_type.', '.$bookkeeping->fk_doc.', '.$bookkeeping->fk_docdet.') were already recorded', null, 'warnings'); } else { $error++; $errorforline++; + $errorforinvoice[$key] = 'other'; setEventMessages($bookkeeping->error, $bookkeeping->errors, 'errors'); } } @@ -314,10 +345,12 @@ if ($bookkeeping->error == 'BookkeepingRecordAlreadyExists') { // Already exists $error++; $errorforline++; + $errorforinvoice[$key] = 'alreadyjournalized'; //setEventMessages('Transaction for ('.$bookkeeping->doc_type.', '.$bookkeeping->fk_doc.', '.$bookkeeping->fk_docdet.') were already recorded', null, 'warnings'); } else { $error++; $errorforline++; + $errorforinvoice[$key] = 'other'; setEventMessages($bookkeeping->error, $bookkeeping->errors, 'errors'); } } @@ -376,10 +409,12 @@ if ($bookkeeping->error == 'BookkeepingRecordAlreadyExists') { // Already exists $error++; $errorforline++; + $errorforinvoice[$key] = 'alreadyjournalized'; //setEventMessages('Transaction for ('.$bookkeeping->doc_type.', '.$bookkeeping->fk_doc.', '.$bookkeeping->fk_docdet.') were already recorded', null, 'warnings'); } else { $error++; $errorforline++; + $errorforinvoice[$key] = 'other'; setEventMessages($bookkeeping->error, $bookkeeping->errors, 'errors'); } } @@ -388,10 +423,11 @@ } } - // Protection against a bug on line before - if (price2num($totaldebit, 'MT') != price2num($totalcredit, 'MT')) { + // Protection against a bug on lines before + if (!$errorforline && (price2num($totaldebit, 'MT') != price2num($totalcredit, 'MT'))) { $error++; $errorforline++; + $errorforinvoice[$key] = 'amountsnotbalanced'; setEventMessages('We tried to insert a non balanced transaction in book for '.$val["ref"].'. Canceled. Surely a bug.', null, 'errors'); } @@ -445,7 +481,7 @@ $userstatic = new User($db); // Export -if ($action == 'exportcsv') { // ISO and not UTF8 ! +if ($action == 'exportcsv' && !$error) { // ISO and not UTF8 ! $sep = $conf->global->ACCOUNTING_EXPORT_SEPARATORCSV; $filename = 'journal'; @@ -529,7 +565,7 @@ journalHead($nom, $nomlink, $period, $periodlink, $description, $builddate, $exportlink, array('action' => ''), '', $varlink); // Button to write into Ledger - if (empty($conf->global->SALARIES_ACCOUNTING_ACCOUNT_PAYMENT) || $conf->global->SALARIES_ACCOUNTING_ACCOUNT_PAYMENT == '-1') { + if (!getDolGlobalString('SALARIES_ACCOUNTING_ACCOUNT_PAYMENT') || getDolGlobalString('SALARIES_ACCOUNTING_ACCOUNT_PAYMENT') == '-1') { print '
'.img_warning().' '.$langs->trans("SomeMandatoryStepsOfSetupWereNotDone"); $desc = ' : '.$langs->trans("AccountancyAreaDescMisc", 4, '{link}'); $desc = str_replace('{link}', ''.$langs->transnoentitiesnoconv("MenuAccountancy").'-'.$langs->transnoentitiesnoconv("Setup")."-".$langs->transnoentitiesnoconv("MenuDefaultAccounts").'', $desc); @@ -538,10 +574,10 @@ } print '
'; - if (!empty($conf->global->ACCOUNTING_ENABLE_EXPORT_DRAFT_JOURNAL) && $in_bookkeeping == 'notyet') { + if (getDolGlobalString('ACCOUNTING_ENABLE_EXPORT_DRAFT_JOURNAL') && $in_bookkeeping == 'notyet') { print ''; } - if (empty($conf->global->SALARIES_ACCOUNTING_ACCOUNT_PAYMENT) || $conf->global->SALARIES_ACCOUNTING_ACCOUNT_PAYMENT == '-1') { + if (!getDolGlobalString('SALARIES_ACCOUNTING_ACCOUNT_PAYMENT') || getDolGlobalString('SALARIES_ACCOUNTING_ACCOUNT_PAYMENT') == '-1') { print ''; } else { if ($in_bookkeeping == 'notyet') { @@ -586,7 +622,7 @@ function writebookkeeping() { print ''.$langs->trans("AccountingCredit").""; print "\n"; - $r = ''; + $i = 0; $expensereportstatic = new ExpenseReport($db); $expensereportlinestatic = new ExpenseReportLine($db); @@ -598,6 +634,27 @@ function writebookkeeping() { $date = dol_print_date($val["date"], 'day'); + if ($errorforinvoice[$key] == 'somelinesarenotbound') { + print ''; + print ""; + print "".$date.""; + print "".$expensereportstatic->getNomUrl(1).""; + // Account + print ""; + print ''.$langs->trans('ErrorInvoiceContainsLinesNotYetBoundedShort', $val['ref']).''; + print ''; + // Subledger account + print ""; + print ''; + print ""; + print ""; + print ''; + print ''; + print ""; + + $i++; + } + // Fees foreach ($tabht[$key] as $k => $mt) { $accountingaccount = new AccountingAccount($db); diff --git a/htdocs/accountancy/journal/sellsjournal.php b/htdocs/accountancy/journal/sellsjournal.php index f87c020ce3b05..c40eef25ca11a 100644 --- a/htdocs/accountancy/journal/sellsjournal.php +++ b/htdocs/accountancy/journal/sellsjournal.php @@ -665,7 +665,12 @@ $bookkeeping->numero_compte = $k; $bookkeeping->label_compte = $label_account; - $bookkeeping->label_operation = dol_trunc($companystatic->name, 16).' - '.$invoicestatic->ref.' - '.$langs->trans("VAT").' '.join(', ', $def_tva[$key][$k]).' %'.($numtax ? ' - Localtax '.$numtax : ''); + + $bookkeeping->label_operation = dol_trunc($companystatic->name, 16).' - '.$invoicestatic->ref; + $tmpvatrate = (empty($def_tva[$key][$k]) ? (empty($arrayofvat[$key][$k]) ? '' : $arrayofvat[$key][$k]) : join(', ', $def_tva[$key][$k])); + $bookkeeping->label_operation .= ' - '.$langs->trans("Taxes").' '.$tmpvatrate.' %'; + $bookkeeping->label_operation .= ($numtax ? ' - Localtax '.$numtax : ''); + $bookkeeping->montant = $mt; $bookkeeping->sens = ($mt < 0) ? 'D' : 'C'; $bookkeeping->debit = ($mt < 0) ? -$mt : 0; @@ -1226,6 +1231,7 @@ function writebookkeeping() { $arrayofvat = $tablocaltax2; } + // $key is id of invoice foreach ($arrayofvat[$key] as $k => $mt) { if ($mt) { print ''; @@ -1244,7 +1250,12 @@ function writebookkeeping() { // Subledger account print ""; print ''; - print "".$companystatic->getNomUrl(0, 'customer', 16).' - '.$invoicestatic->ref.' - '.$langs->trans("VAT").' '.join(', ', $def_tva[$key][$k]).' %'.($numtax ? ' - Localtax '.$numtax : ''); + print "".$companystatic->getNomUrl(0, 'customer', 16).' - '.$invoicestatic->ref; + // $def_tva is array[invoiceid][accountancy_code_sell_of_vat_rate_found][vatrate]=vatrate + //var_dump($arrayofvat[$key]); var_dump($key); var_dump($k); + $tmpvatrate = (empty($def_tva[$key][$k]) ? (empty($arrayofvat[$key][$k]) ? '' : $arrayofvat[$key][$k]) : join(', ', $def_tva[$key][$k])); + print ' - '.$langs->trans("Taxes").' '.$tmpvatrate.' %'; + print ($numtax ? ' - Localtax '.$numtax : ''); print ""; print ''.($mt < 0 ? price(-$mt) : '').""; print ''.($mt >= 0 ? price($mt) : '').""; diff --git a/htdocs/accountancy/journal/variousjournal.php b/htdocs/accountancy/journal/variousjournal.php index a2e9d362aad94..0f74b91356c6b 100644 --- a/htdocs/accountancy/journal/variousjournal.php +++ b/htdocs/accountancy/journal/variousjournal.php @@ -165,20 +165,20 @@ $form = new Form($db); if ($object->nature == 2) { - $some_mandatory_steps_of_setup_were_not_done = $conf->global->ACCOUNTING_ACCOUNT_CUSTOMER == "" || $conf->global->ACCOUNTING_ACCOUNT_CUSTOMER == '-1'; - $account_accounting_not_defined = $conf->global->ACCOUNTING_ACCOUNT_CUSTOMER == "" || $conf->global->ACCOUNTING_ACCOUNT_CUSTOMER == '-1'; + $some_mandatory_steps_of_setup_were_not_done = getDolGlobalString('ACCOUNTING_ACCOUNT_CUSTOMER') == "" || getDolGlobalString('ACCOUNTING_ACCOUNT_CUSTOMER') == '-1'; + $account_accounting_not_defined = getDolGlobalString('ACCOUNTING_ACCOUNT_CUSTOMER') == "" || getDolGlobalString('ACCOUNTING_ACCOUNT_CUSTOMER') == '-1'; } elseif ($object->nature == 3) { - $some_mandatory_steps_of_setup_were_not_done = $conf->global->ACCOUNTING_ACCOUNT_SUPPLIER == "" || $conf->global->ACCOUNTING_ACCOUNT_SUPPLIER == '-1'; - $account_accounting_not_defined = $conf->global->ACCOUNTING_ACCOUNT_SUPPLIER == "" || $conf->global->ACCOUNTING_ACCOUNT_SUPPLIER == '-1'; + $some_mandatory_steps_of_setup_were_not_done = getDolGlobalString('ACCOUNTING_ACCOUNT_SUPPLIER') == "" || getDolGlobalString('ACCOUNTING_ACCOUNT_SUPPLIER') == '-1'; + $account_accounting_not_defined = getDolGlobalString('ACCOUNTING_ACCOUNT_SUPPLIER') == "" || getDolGlobalString('ACCOUNTING_ACCOUNT_SUPPLIER') == '-1'; } elseif ($object->nature == 4) { - $some_mandatory_steps_of_setup_were_not_done = $conf->global->ACCOUNTING_ACCOUNT_CUSTOMER == "" || $conf->global->ACCOUNTING_ACCOUNT_CUSTOMER == '-1' - || $conf->global->ACCOUNTING_ACCOUNT_SUPPLIER == "" || $conf->global->ACCOUNTING_ACCOUNT_SUPPLIER == '-1' - || empty($conf->global->SALARIES_ACCOUNTING_ACCOUNT_PAYMENT) || $conf->global->SALARIES_ACCOUNTING_ACCOUNT_PAYMENT == '-1'; - $account_accounting_not_defined = $conf->global->ACCOUNTING_ACCOUNT_CUSTOMER == "" || $conf->global->ACCOUNTING_ACCOUNT_CUSTOMER == '-1' - || $conf->global->ACCOUNTING_ACCOUNT_SUPPLIER == "" || $conf->global->ACCOUNTING_ACCOUNT_SUPPLIER == '-1'; + $some_mandatory_steps_of_setup_were_not_done = getDolGlobalString('ACCOUNTING_ACCOUNT_CUSTOMER') == "" || getDolGlobalString('ACCOUNTING_ACCOUNT_CUSTOMER') == '-1' + || getDolGlobalString('ACCOUNTING_ACCOUNT_SUPPLIER') == "" || getDolGlobalString('ACCOUNTING_ACCOUNT_SUPPLIER') == '-1' + || !getDolGlobalString('SALARIES_ACCOUNTING_ACCOUNT_PAYMENT') || getDolGlobalString('SALARIES_ACCOUNTING_ACCOUNT_PAYMENT') == '-1'; + $account_accounting_not_defined = getDolGlobalString('ACCOUNTING_ACCOUNT_CUSTOMER') == "" || getDolGlobalString('ACCOUNTING_ACCOUNT_CUSTOMER') == '-1' + || getDolGlobalString('ACCOUNTING_ACCOUNT_SUPPLIER') == "" || getDolGlobalString('ACCOUNTING_ACCOUNT_SUPPLIER') == '-1'; } elseif ($object->nature == 5) { - $some_mandatory_steps_of_setup_were_not_done = empty($conf->global->SALARIES_ACCOUNTING_ACCOUNT_PAYMENT) || $conf->global->SALARIES_ACCOUNTING_ACCOUNT_PAYMENT == '-1'; - $account_accounting_not_defined = empty($conf->global->SALARIES_ACCOUNTING_ACCOUNT_PAYMENT) || $conf->global->SALARIES_ACCOUNTING_ACCOUNT_PAYMENT == '-1'; + $some_mandatory_steps_of_setup_were_not_done = !getDolGlobalString('SALARIES_ACCOUNTING_ACCOUNT_PAYMENT') || getDolGlobalString('SALARIES_ACCOUNTING_ACCOUNT_PAYMENT') == '-1'; + $account_accounting_not_defined = !getDolGlobalString('SALARIES_ACCOUNTING_ACCOUNT_PAYMENT') || getDolGlobalString('SALARIES_ACCOUNTING_ACCOUNT_PAYMENT') == '-1'; } else { $title = $object->getLibType(); $some_mandatory_steps_of_setup_were_not_done = false; @@ -196,12 +196,12 @@ $builddate = dol_now(); $description = $langs->trans("DescJournalOnlyBindedVisible") . '
'; if ($object->nature == 2 || $object->nature == 3) { - if (!empty($conf->global->FACTURE_DEPOSITS_ARE_JUST_PAYMENTS)) { + if (getDolGlobalString('FACTURE_DEPOSITS_ARE_JUST_PAYMENTS')) { $description .= $langs->trans("DepositsAreNotIncluded"); } else { $description .= $langs->trans("DepositsAreIncluded"); } - if (!empty($conf->global->FACTURE_SUPPLIER_DEPOSITS_ARE_JUST_PAYMENTS)) { + if (getDolGlobalString('FACTURE_SUPPLIER_DEPOSITS_ARE_JUST_PAYMENTS')) { $description .= $langs->trans("SupplierDepositsAreNotIncluded"); } } @@ -238,7 +238,7 @@ print '
'; } print '
'; -if (!empty($conf->global->ACCOUNTING_ENABLE_EXPORT_DRAFT_JOURNAL) && $in_bookkeeping == 'notyet') { +if (getDolGlobalString('ACCOUNTING_ENABLE_EXPORT_DRAFT_JOURNAL') && $in_bookkeeping == 'notyet') { print ''; } if ($account_accounting_not_defined) { diff --git a/htdocs/accountancy/supplier/card.php b/htdocs/accountancy/supplier/card.php index bc7393c4bbd81..160a42f50c8c1 100644 --- a/htdocs/accountancy/supplier/card.php +++ b/htdocs/accountancy/supplier/card.php @@ -102,7 +102,7 @@ if (!empty($id)) { $sql = "SELECT f.ref as ref, f.rowid as facid, l.fk_product, l.description, l.rowid, l.fk_code_ventilation, "; $sql .= " p.rowid as product_id, p.ref as product_ref, p.label as product_label,"; - if (!empty($conf->global->MAIN_PRODUCT_PERENTITY_SHARED)) { + if (getDolGlobalString('MAIN_PRODUCT_PERENTITY_SHARED')) { $sql .= " ppe.accountancy_code_buy as code_buy,"; } else { $sql .= " p.accountancy_code_buy as code_buy,"; @@ -110,7 +110,7 @@ $sql .= " aa.account_number, aa.label"; $sql .= " FROM ".MAIN_DB_PREFIX."facture_fourn_det as l"; $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."product as p ON p.rowid = l.fk_product"; - if (!empty($conf->global->MAIN_PRODUCT_PERENTITY_SHARED)) { + if (getDolGlobalString('MAIN_PRODUCT_PERENTITY_SHARED')) { $sql .= " LEFT JOIN " . MAIN_DB_PREFIX . "product_perentity as ppe ON ppe.fk_product = p.rowid AND ppe.entity = " . ((int) $conf->entity); } $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."accounting_account as aa ON l.fk_code_ventilation = aa.rowid"; diff --git a/htdocs/accountancy/supplier/index.php b/htdocs/accountancy/supplier/index.php index 8fdff8628d2b4..5dbfa51a47089 100644 --- a/htdocs/accountancy/supplier/index.php +++ b/htdocs/accountancy/supplier/index.php @@ -129,7 +129,7 @@ $sql = "SELECT f.rowid as facid, f.ref, f.ref_supplier, f.libelle as invoice_label, f.datef, f.type as ftype, f.fk_facture_source,"; $sql .= " l.rowid, l.fk_product, l.description, l.total_ht, l.fk_code_ventilation, l.product_type as type_l, l.tva_tx as tva_tx_line, l.vat_src_code,"; $sql .= " p.rowid as product_id, p.ref as product_ref, p.label as product_label, p.fk_product_type as type, p.tva_tx as tva_tx_prod,"; - if (!empty($conf->global->MAIN_PRODUCT_PERENTITY_SHARED)) { + if (getDolGlobalString('MAIN_PRODUCT_PERENTITY_SHARED')) { $sql .= " ppe.accountancy_code_buy as code_buy, ppe.accountancy_code_buy_intra as code_buy_intra, ppe.accountancy_code_buy_export as code_buy_export,"; } else { $sql .= " p.accountancy_code_buy as code_buy, p.accountancy_code_buy_intra as code_buy_intra, p.accountancy_code_buy_export as code_buy_export,"; @@ -137,24 +137,24 @@ $sql .= " aa.rowid as aarowid, aa2.rowid as aarowid_intra, aa3.rowid as aarowid_export, aa4.rowid as aarowid_thirdparty,"; $sql .= " co.code as country_code, co.label as country_label,"; $sql .= " s.tva_intra,"; - if (!empty($conf->global->MAIN_COMPANY_PERENTITY_SHARED)) { + if (getDolGlobalString('MAIN_COMPANY_PERENTITY_SHARED')) { $sql .= " spe.accountancy_code_buy as company_code_buy"; } else { $sql .= " s.accountancy_code_buy as company_code_buy"; } $sql .= " FROM ".$db->prefix()."facture_fourn as f"; $sql .= " INNER JOIN ".$db->prefix()."societe as s ON s.rowid = f.fk_soc"; - if (!empty($conf->global->MAIN_COMPANY_PERENTITY_SHARED)) { + if (getDolGlobalString('MAIN_COMPANY_PERENTITY_SHARED')) { $sql .= " LEFT JOIN " . $db->prefix() . "societe_perentity as spe ON spe.fk_soc = s.rowid AND spe.entity = " . ((int) $conf->entity); } $sql .= " LEFT JOIN ".$db->prefix()."c_country as co ON co.rowid = s.fk_pays "; $sql .= " INNER JOIN ".$db->prefix()."facture_fourn_det as l ON f.rowid = l.fk_facture_fourn"; $sql .= " LEFT JOIN ".$db->prefix()."product as p ON p.rowid = l.fk_product"; - if (!empty($conf->global->MAIN_PRODUCT_PERENTITY_SHARED)) { + if (getDolGlobalString('MAIN_PRODUCT_PERENTITY_SHARED')) { $sql .= " LEFT JOIN " . $db->prefix() . "product_perentity as ppe ON ppe.fk_product = p.rowid AND ppe.entity = " . ((int) $conf->entity); } - $alias_societe_perentity = empty($conf->global->MAIN_COMPANY_PERENTITY_SHARED) ? "s" : "spe"; - $alias_product_perentity = empty($conf->global->MAIN_PRODUCT_PERENTITY_SHARED) ? "p" : "ppe"; + $alias_societe_perentity = !getDolGlobalString('MAIN_COMPANY_PERENTITY_SHARED') ? "s" : "spe"; + $alias_product_perentity = !getDolGlobalString('MAIN_PRODUCT_PERENTITY_SHARED') ? "p" : "ppe"; $sql .= " LEFT JOIN ".$db->prefix()."accounting_account as aa ON " . $alias_product_perentity . ".accountancy_code_buy = aa.account_number AND aa.active = 1 AND aa.fk_pcg_version = '".$db->escape($chartaccountcode)."' AND aa.entity = ".$conf->entity; $sql .= " LEFT JOIN ".$db->prefix()."accounting_account as aa2 ON " . $alias_product_perentity . ".accountancy_code_buy_intra = aa2.account_number AND aa2.active = 1 AND aa2.fk_pcg_version = '".$db->escape($chartaccountcode)."' AND aa2.entity = ".$conf->entity; $sql .= " LEFT JOIN ".$db->prefix()."accounting_account as aa3 ON " . $alias_product_perentity . ".accountancy_code_buy_export = aa3.account_number AND aa3.active = 1 AND aa3.fk_pcg_version = '".$db->escape($chartaccountcode)."' AND aa3.entity = ".$conf->entity; @@ -162,7 +162,7 @@ $sql .= " WHERE f.fk_statut > 0 AND l.fk_code_ventilation <= 0"; $sql .= " AND l.product_type <= 2"; $sql .= " AND f.entity IN (".getEntity('facture_fourn', 0).")"; // We don't share object for accountancy - if (!empty($conf->global->ACCOUNTING_DATE_START_BINDING)) { + if (getDolGlobalString('ACCOUNTING_DATE_START_BINDING')) { $sql .= " AND f.datef >= '".$db->idate($conf->global->ACCOUNTING_DATE_START_BINDING)."'"; } if ($validatemonth && $validateyear) { @@ -311,10 +311,10 @@ $y = $year_current; -$buttonbind = ''.img_picto('', 'link', 'class="paddingright fa-color-unset"').$langs->trans("ValidateHistory").''; +$buttonbind = ''.img_picto('', 'link', 'class="paddingright fa-color-unset smallpaddingimp"').$langs->trans("ValidateHistory").''; -print_barre_liste(img_picto('', 'unlink', 'class="paddingright fa-color-unset"').$langs->trans("OverviewOfAmountOfLinesNotBound"), '', '', '', '', '', '', -1, '', '', 0, $buttonbind, '', 0, 1, 1); +print_barre_liste(img_picto('', 'unlink', 'class="paddingright fa-color-unset"').$langs->trans("OverviewOfAmountOfLinesNotBound"), '', '', '', '', '', '', -1, '', '', 0, '', '', 0, 1, 1, 0, $buttonbind); //print load_fiche_titre($langs->trans("OverviewOfAmountOfLinesNotBound"), $buttonbind, ''); print '
'; @@ -363,14 +363,14 @@ $sql .= " WHERE ff.datef >= '".$db->idate($search_date_start)."'"; $sql .= " AND ff.datef <= '".$db->idate($search_date_end)."'"; // Define begin binding date -if (!empty($conf->global->ACCOUNTING_DATE_START_BINDING)) { +if (getDolGlobalString('ACCOUNTING_DATE_START_BINDING')) { $sql .= " AND ff.datef >= '".$db->idate($conf->global->ACCOUNTING_DATE_START_BINDING)."'"; } $sql .= " AND ff.fk_statut > 0"; $sql .= " AND ffd.product_type <= 2"; $sql .= " AND ff.entity IN (".getEntity('facture_fourn', 0).")"; // We don't share object for accountancy $sql .= " AND aa.account_number IS NULL"; -if (!empty($conf->global->FACTURE_SUPPLIER_DEPOSITS_ARE_JUST_PAYMENTS)) { +if (getDolGlobalString('FACTURE_SUPPLIER_DEPOSITS_ARE_JUST_PAYMENTS')) { $sql .= " AND ff.type IN (".FactureFournisseur::TYPE_STANDARD.",".FactureFournisseur::TYPE_REPLACEMENT.",".FactureFournisseur::TYPE_CREDIT_NOTE.")"; } else { $sql .= " AND ff.type IN (".FactureFournisseur::TYPE_STANDARD.",".FactureFournisseur::TYPE_REPLACEMENT.",".FactureFournisseur::TYPE_CREDIT_NOTE.",".FactureFournisseur::TYPE_DEPOSIT.")"; @@ -495,13 +495,13 @@ $sql .= " WHERE ff.datef >= '".$db->idate($search_date_start)."'"; $sql .= " AND ff.datef <= '".$db->idate($search_date_end)."'"; // Define begin binding date -if (!empty($conf->global->ACCOUNTING_DATE_START_BINDING)) { +if (getDolGlobalString('ACCOUNTING_DATE_START_BINDING')) { $sql .= " AND ff.datef >= '".$db->idate($conf->global->ACCOUNTING_DATE_START_BINDING)."'"; } $sql .= " AND ff.entity IN (".getEntity('facture_fourn', 0).")"; // We don't share object for accountancy $sql .= " AND ff.fk_statut > 0"; $sql .= " AND ffd.product_type <= 2"; -if (!empty($conf->global->FACTURE_SUPPLIER_DEPOSITS_ARE_JUST_PAYMENTS)) { +if (getDolGlobalString('FACTURE_SUPPLIER_DEPOSITS_ARE_JUST_PAYMENTS')) { $sql .= " AND ff.type IN (".FactureFournisseur::TYPE_STANDARD.", ".FactureFournisseur::TYPE_REPLACEMENT.", ".FactureFournisseur::TYPE_CREDIT_NOTE.")"; } else { $sql .= " AND ff.type IN (".FactureFournisseur::TYPE_STANDARD.", ".FactureFournisseur::TYPE_REPLACEMENT.", ".FactureFournisseur::TYPE_CREDIT_NOTE.", ".FactureFournisseur::TYPE_DEPOSIT.")"; @@ -588,13 +588,13 @@ $sql .= " WHERE ff.datef >= '".$db->idate($search_date_start)."'"; $sql .= " AND ff.datef <= '".$db->idate($search_date_end)."'"; // Define begin binding date - if (!empty($conf->global->ACCOUNTING_DATE_START_BINDING)) { + if (getDolGlobalString('ACCOUNTING_DATE_START_BINDING')) { $sql .= " AND ff.datef >= '".$db->idate($conf->global->ACCOUNTING_DATE_START_BINDING)."'"; } $sql .= " AND ff.entity IN (".getEntity('facture_fourn', 0).")"; // We don't share object for accountancy $sql .= " AND ff.fk_statut > 0"; $sql .= " AND ffd.product_type <= 2"; - if (!empty($conf->global->FACTURE_SUPPLIER_DEPOSITS_ARE_JUST_PAYMENTS)) { + if (getDolGlobalString('FACTURE_SUPPLIER_DEPOSITS_ARE_JUST_PAYMENTS')) { $sql .= " AND ff.type IN (".FactureFournisseur::TYPE_STANDARD.", ".FactureFournisseur::TYPE_REPLACEMENT.", ".FactureFournisseur::TYPE_CREDIT_NOTE.")"; } else { $sql .= " AND ff.type IN (".FactureFournisseur::TYPE_STANDARD.", ".FactureFournisseur::TYPE_REPLACEMENT.", ".FactureFournisseur::TYPE_CREDIT_NOTE.", ".FactureFournisseur::TYPE_DEPOSIT.")"; diff --git a/htdocs/accountancy/supplier/lines.php b/htdocs/accountancy/supplier/lines.php index cd3269431ad55..ab010f11bf895 100644 --- a/htdocs/accountancy/supplier/lines.php +++ b/htdocs/accountancy/supplier/lines.php @@ -67,7 +67,7 @@ $search_tvaintra = GETPOST('search_tvaintra', 'alpha'); // Load variable for pagination -$limit = GETPOST('limit', 'int') ?GETPOST('limit', 'int') : (empty($conf->global->ACCOUNTING_LIMIT_LIST_VENTILATION) ? $conf->liste_limit : $conf->global->ACCOUNTING_LIMIT_LIST_VENTILATION); +$limit = GETPOST('limit', 'int') ?GETPOST('limit', 'int') : (!getDolGlobalString('ACCOUNTING_LIMIT_LIST_VENTILATION') ? $conf->liste_limit : $conf->global->ACCOUNTING_LIMIT_LIST_VENTILATION); $sortfield = GETPOST('sortfield', 'aZ09comma'); $sortorder = GETPOST('sortorder', 'aZ09comma'); $page = GETPOSTISSET('pageplusone') ? (GETPOST('pageplusone') - 1) : GETPOST("page", 'int'); @@ -206,14 +206,14 @@ $sql .= " l.rowid, l.fk_product, l.product_type as line_type, l.description, l.total_ht , l.qty, l.tva_tx, l.vat_src_code,"; $sql .= " aa.rowid as fk_compte, aa.label as label_account, aa.labelshort as labelshort_account, aa.account_number,"; $sql .= " p.rowid as product_id, p.fk_product_type as product_type, p.ref as product_ref, p.label as product_label, p.fk_product_type as type, p.tobuy, p.tosell,"; -if (!empty($conf->global->MAIN_PRODUCT_PERENTITY_SHARED)) { +if (getDolGlobalString('MAIN_PRODUCT_PERENTITY_SHARED')) { $sql .= " ppe.accountancy_code_buy, ppe.accountancy_code_buy_intra, ppe.accountancy_code_buy_export,"; } else { $sql .= " p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export,"; } $sql .= " co.code as country_code, co.label as country,"; $sql .= " s.rowid as socid, s.nom as name, s.tva_intra, s.email, s.town, s.zip, s.fk_pays, s.client, s.fournisseur, s.code_client, s.code_fournisseur"; -if (!empty($conf->global->MAIN_COMPANY_PERENTITY_SHARED)) { +if (getDolGlobalString('MAIN_COMPANY_PERENTITY_SHARED')) { $sql .= ", spe.accountancy_code_customer as code_compta_client"; $sql .= ", spe.accountancy_code_supplier as code_compta_fournisseur"; } else { @@ -225,13 +225,13 @@ $sql .= $hookmanager->resPrint; $sql .= " FROM ".MAIN_DB_PREFIX."facture_fourn_det as l"; $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."product as p ON p.rowid = l.fk_product"; -if (!empty($conf->global->MAIN_PRODUCT_PERENTITY_SHARED)) { +if (getDolGlobalString('MAIN_PRODUCT_PERENTITY_SHARED')) { $sql .= " LEFT JOIN " . MAIN_DB_PREFIX . "product_perentity as ppe ON ppe.fk_product = p.rowid AND ppe.entity = " . ((int) $conf->entity); } $sql .= " INNER JOIN ".MAIN_DB_PREFIX."accounting_account as aa ON aa.rowid = l.fk_code_ventilation"; $sql .= " INNER JOIN ".MAIN_DB_PREFIX."facture_fourn as f ON f.rowid = l.fk_facture_fourn"; $sql .= " INNER JOIN ".MAIN_DB_PREFIX."societe as s ON s.rowid = f.fk_soc"; -if (!empty($conf->global->MAIN_COMPANY_PERENTITY_SHARED)) { +if (getDolGlobalString('MAIN_COMPANY_PERENTITY_SHARED')) { $sql .= " LEFT JOIN " . MAIN_DB_PREFIX . "societe_perentity as spe ON spe.fk_soc = s.rowid AND spe.entity = " . ((int) $conf->entity); } $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."c_country as co ON co.rowid = s.fk_pays "; @@ -536,7 +536,7 @@ print ''; $text = dolGetFirstLineOfText(dol_string_nohtmltag($objp->description, 1)); - $trunclength = empty($conf->global->ACCOUNTING_LENGTH_DESCRIPTION) ? 32 : $conf->global->ACCOUNTING_LENGTH_DESCRIPTION; + $trunclength = !getDolGlobalString('ACCOUNTING_LENGTH_DESCRIPTION') ? 32 : $conf->global->ACCOUNTING_LENGTH_DESCRIPTION; print $form->textwithtooltip(dol_trunc($text, $trunclength), $objp->description); print ''; diff --git a/htdocs/accountancy/supplier/list.php b/htdocs/accountancy/supplier/list.php index 8d227b7ce1b0b..616b39e760810 100644 --- a/htdocs/accountancy/supplier/list.php +++ b/htdocs/accountancy/supplier/list.php @@ -77,7 +77,7 @@ $search_tvaintra = GETPOST('search_tvaintra', 'alpha'); // Load variable for pagination -$limit = GETPOST('limit', 'int') ?GETPOST('limit', 'int') : (empty($conf->global->ACCOUNTING_LIMIT_LIST_VENTILATION) ? $conf->liste_limit : $conf->global->ACCOUNTING_LIMIT_LIST_VENTILATION); +$limit = GETPOST('limit', 'int') ?GETPOST('limit', 'int') : (!getDolGlobalString('ACCOUNTING_LIMIT_LIST_VENTILATION') ? $conf->liste_limit : $conf->global->ACCOUNTING_LIMIT_LIST_VENTILATION); $sortfield = GETPOST('sortfield', 'aZ09comma'); $sortorder = GETPOST('sortorder', 'aZ09comma'); $page = GETPOSTISSET('pageplusone') ? (GETPOST('pageplusone') - 1) : GETPOST("page", 'int'); @@ -117,6 +117,11 @@ accessforbidden(); } +// Define begin binding date +if (empty($search_date_start) && getDolGlobalString('ACCOUNTING_DATE_START_BINDING')) { + $search_date_start = $db->idate($conf->global->ACCOUNTING_DATE_START_BINDING); +} + /* * Actions @@ -240,7 +245,7 @@ $sql = "SELECT f.rowid as facid, f.ref, f.ref_supplier, f.libelle as invoice_label, f.datef, f.type as ftype, f.fk_facture_source,"; $sql .= " l.rowid, l.fk_product, l.description, l.total_ht, l.fk_code_ventilation, l.product_type as type_l, l.tva_tx as tva_tx_line, l.vat_src_code,"; $sql .= " p.rowid as product_id, p.ref as product_ref, p.label as product_label, p.fk_product_type as type, p.tva_tx as tva_tx_prod,"; -if (!empty($conf->global->MAIN_PRODUCT_PERENTITY_SHARED)) { +if (getDolGlobalString('MAIN_PRODUCT_PERENTITY_SHARED')) { $sql .= " ppe.accountancy_code_sell as code_sell, ppe.accountancy_code_sell_intra as code_sell_intra, ppe.accountancy_code_sell_export as code_sell_export,"; $sql .= " ppe.accountancy_code_buy as code_buy, ppe.accountancy_code_buy_intra as code_buy_intra, ppe.accountancy_code_buy_export as code_buy_export,"; } else { @@ -251,7 +256,7 @@ $sql .= " aa.rowid as aarowid, aa2.rowid as aarowid_intra, aa3.rowid as aarowid_export, aa4.rowid as aarowid_thirdparty,"; $sql .= " co.code as country_code, co.label as country_label,"; $sql .= " s.rowid as socid, s.nom as name, s.tva_intra, s.email, s.town, s.zip, s.fk_pays, s.client, s.fournisseur, s.code_client, s.code_fournisseur,"; -if (!empty($conf->global->MAIN_COMPANY_PERENTITY_SHARED)) { +if (getDolGlobalString('MAIN_COMPANY_PERENTITY_SHARED')) { $sql .= " spe.accountancy_code_customer as code_compta_client,"; $sql .= " spe.accountancy_code_supplier as code_compta_fournisseur,"; $sql .= " spe.accountancy_code_buy as company_code_buy"; @@ -265,27 +270,23 @@ $sql .= $hookmanager->resPrint; $sql .= " FROM ".MAIN_DB_PREFIX."facture_fourn as f"; $sql .= " INNER JOIN ".MAIN_DB_PREFIX."societe as s ON s.rowid = f.fk_soc"; -if (!empty($conf->global->MAIN_COMPANY_PERENTITY_SHARED)) { +if (getDolGlobalString('MAIN_COMPANY_PERENTITY_SHARED')) { $sql .= " LEFT JOIN " . MAIN_DB_PREFIX . "societe_perentity as spe ON spe.fk_soc = s.rowid AND spe.entity = " . ((int) $conf->entity); } $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."c_country as co ON co.rowid = s.fk_pays "; $sql .= " INNER JOIN ".MAIN_DB_PREFIX."facture_fourn_det as l ON f.rowid = l.fk_facture_fourn"; $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."product as p ON p.rowid = l.fk_product"; -if (!empty($conf->global->MAIN_PRODUCT_PERENTITY_SHARED)) { +if (getDolGlobalString('MAIN_PRODUCT_PERENTITY_SHARED')) { $sql .= " LEFT JOIN " . MAIN_DB_PREFIX . "product_perentity as ppe ON ppe.fk_product = p.rowid AND ppe.entity = " . ((int) $conf->entity); } -$alias_societe_perentity = empty($conf->global->MAIN_COMPANY_PERENTITY_SHARED) ? "s" : "spe"; -$alias_product_perentity = empty($conf->global->MAIN_PRODUCT_PERENTITY_SHARED) ? "p" : "ppe"; +$alias_societe_perentity = !getDolGlobalString('MAIN_COMPANY_PERENTITY_SHARED') ? "s" : "spe"; +$alias_product_perentity = !getDolGlobalString('MAIN_PRODUCT_PERENTITY_SHARED') ? "p" : "ppe"; $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."accounting_account as aa ON " . $alias_product_perentity . ".accountancy_code_buy = aa.account_number AND aa.active = 1 AND aa.fk_pcg_version = '".$db->escape($chartaccountcode)."' AND aa.entity = ".$conf->entity; $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."accounting_account as aa2 ON " . $alias_product_perentity . ".accountancy_code_buy_intra = aa2.account_number AND aa2.active = 1 AND aa2.fk_pcg_version = '".$db->escape($chartaccountcode)."' AND aa2.entity = ".$conf->entity; $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."accounting_account as aa3 ON " . $alias_product_perentity . ".accountancy_code_buy_export = aa3.account_number AND aa3.active = 1 AND aa3.fk_pcg_version = '".$db->escape($chartaccountcode)."' AND aa3.entity = ".$conf->entity; $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."accounting_account as aa4 ON " . $alias_societe_perentity . ".accountancy_code_buy = aa4.account_number AND aa4.active = 1 AND aa4.fk_pcg_version = '".$db->escape($chartaccountcode)."' AND aa4.entity = ".$conf->entity; $sql .= " WHERE f.fk_statut > 0 AND l.fk_code_ventilation <= 0"; $sql .= " AND l.product_type <= 2"; -// Define begin binding date -if (!empty($conf->global->ACCOUNTING_DATE_START_BINDING)) { - $sql .= " AND f.datef >= '".$db->idate($conf->global->ACCOUNTING_DATE_START_BINDING)."'"; -} // Add search filter like if ($search_societe) { $sql .= natural_search('s.nom', $search_societe); @@ -347,7 +348,7 @@ if (strlen(trim($search_tvaintra))) { $sql .= natural_search("s.tva_intra", $search_tvaintra); } -if (!empty($conf->global->FACTURE_SUPPLIER_DEPOSITS_ARE_JUST_PAYMENTS)) { +if (getDolGlobalString('FACTURE_SUPPLIER_DEPOSITS_ARE_JUST_PAYMENTS')) { $sql .= " AND f.type IN (".FactureFournisseur::TYPE_STANDARD.",".FactureFournisseur::TYPE_REPLACEMENT.",".FactureFournisseur::TYPE_CREDIT_NOTE.",".FactureFournisseur::TYPE_SITUATION.")"; } else { $sql .= " AND f.type IN (".FactureFournisseur::TYPE_STANDARD.",".FactureFournisseur::TYPE_REPLACEMENT.",".FactureFournisseur::TYPE_CREDIT_NOTE.",".FactureFournisseur::TYPE_DEPOSIT.",".FactureFournisseur::TYPE_SITUATION.")"; @@ -685,7 +686,7 @@ // Description of line print ''; $text = dolGetFirstLineOfText(dol_string_nohtmltag($facturefourn_static_det->desc, 1)); - $trunclength = empty($conf->global->ACCOUNTING_LENGTH_DESCRIPTION) ? 32 : $conf->global->ACCOUNTING_LENGTH_DESCRIPTION; + $trunclength = !getDolGlobalString('ACCOUNTING_LENGTH_DESCRIPTION') ? 32 : $conf->global->ACCOUNTING_LENGTH_DESCRIPTION; print $form->textwithtooltip(dol_trunc($text, $trunclength), $facturefourn_static_det->desc); print ''; @@ -753,7 +754,7 @@ $s .= $langs->trans("NotDefined"); print $form->textwithpicto($s, $shelp, 1, 'help', '', 0, 2, '', 1); } - if (!empty($conf->global->ACCOUNTANCY_USE_PRODUCT_ACCOUNT_ON_THIRDPARTY)) { + if (getDolGlobalString('ACCOUNTANCY_USE_PRODUCT_ACCOUNT_ON_THIRDPARTY')) { print '
'; $s = '3. '.(($facturefourn_static_det->product_type == 1) ? $langs->trans("ServiceForThisThirdparty") : $langs->trans("ProductForThisThirdparty")).': '; $shelp = ''; diff --git a/htdocs/accountancy/tpl/export_journal.tpl.php b/htdocs/accountancy/tpl/export_journal.tpl.php index ca375d1c4cc34..0a87cf13b4a98 100644 --- a/htdocs/accountancy/tpl/export_journal.tpl.php +++ b/htdocs/accountancy/tpl/export_journal.tpl.php @@ -53,7 +53,7 @@ } $datetouseforfilename = $search_date_end; $tmparray = dol_getdate($datetouseforfilename); - $fiscalmonth = empty($conf->global->SOCIETE_FISCAL_MONTH_START) ? 1 : $conf->global->SOCIETE_FISCAL_MONTH_START; + $fiscalmonth = !getDolGlobalString('SOCIETE_FISCAL_MONTH_START') ? 1 : $conf->global->SOCIETE_FISCAL_MONTH_START; // Define end of month to use if ($tmparray['mon'] < $fiscalmonth || $fiscalmonth == 1) { $tmparray['mon'] = $fiscalmonth == 1 ? 12 : $fiscalmonth - 1; @@ -65,7 +65,7 @@ $endaccountingperiod = dol_print_date(dol_get_last_day($tmparray['year'], $tmparray['mon']), 'dayxcard'); $completefilename = $siren."FEC".$endaccountingperiod.".txt"; -} elseif ($accountancyexport->getFormatCode($formatexportset) == 'ciel' && $type_export == "general_ledger" && !empty($conf->global->ACCOUNTING_EXPORT_XIMPORT_FORCE_FILENAME)) { +} elseif ($accountancyexport->getFormatCode($formatexportset) == 'ciel' && $type_export == "general_ledger" && getDolGlobalString('ACCOUNTING_EXPORT_XIMPORT_FORCE_FILENAME')) { $completefilename = "XIMPORT.TXT"; } else { $completefilename = ($code ? $code."_" : "").($prefix ? $prefix."_" : "").$filename.($nodateexport ? "" : $date_export).".".$format; diff --git a/htdocs/adherents/admin/member.php b/htdocs/adherents/admin/member.php index f463a5af4f666..2993006bd91fe 100644 --- a/htdocs/adherents/admin/member.php +++ b/htdocs/adherents/admin/member.php @@ -9,6 +9,7 @@ * Copyright (C) 2012 J. Fernando Lagrange * Copyright (C) 2015 Jean-François Ferry * Copyright (C) 2020-2021 Frédéric France + * Copyright (C) 2023 Waël Almoman * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -51,6 +52,7 @@ $type = 'member'; $action = GETPOST('action', 'aZ09'); +$modulepart = GETPOST('modulepart', 'aZ09'); /* @@ -102,13 +104,15 @@ } } elseif ($action == 'updatemainoptions') { $db->begin(); - $res1 = $res2 = $res3 = $res4 = $res5 = $res6 = $res7 = 0; + $res1 = $res2 = $res3 = $res4 = $res5 = $res6 = $res7 = $res8 = $res9 = 0; $res1 = dolibarr_set_const($db, 'ADHERENT_LOGIN_NOT_REQUIRED', GETPOST('ADHERENT_LOGIN_NOT_REQUIRED', 'alpha') ? 0 : 1, 'chaine', 0, '', $conf->entity); $res2 = dolibarr_set_const($db, 'ADHERENT_MAIL_REQUIRED', GETPOST('ADHERENT_MAIL_REQUIRED', 'alpha'), 'chaine', 0, '', $conf->entity); $res3 = dolibarr_set_const($db, 'ADHERENT_DEFAULT_SENDINFOBYMAIL', GETPOST('ADHERENT_DEFAULT_SENDINFOBYMAIL', 'alpha'), 'chaine', 0, '', $conf->entity); $res3 = dolibarr_set_const($db, 'ADHERENT_CREATE_EXTERNAL_USER_LOGIN', GETPOST('ADHERENT_CREATE_EXTERNAL_USER_LOGIN', 'alpha'), 'chaine', 0, '', $conf->entity); $res4 = dolibarr_set_const($db, 'ADHERENT_BANK_USE', GETPOST('ADHERENT_BANK_USE', 'alpha'), 'chaine', 0, '', $conf->entity); $res7 = dolibarr_set_const($db, 'MEMBER_PUBLIC_ENABLED', GETPOST('MEMBER_PUBLIC_ENABLED', 'alpha'), 'chaine', 0, '', $conf->entity); + $res8 = dolibarr_set_const($db, 'MEMBER_SUBSCRIPTION_START_FIRST_DAY_OF', GETPOST('MEMBER_SUBSCRIPTION_START_FIRST_DAY_OF', 'alpha'), 'chaine', 0, '', $conf->entity); + $res9 = dolibarr_set_const($db, 'MEMBER_SUBSCRIPTION_START_AFTER', GETPOST('MEMBER_SUBSCRIPTION_START_AFTER', 'alpha'), 'chaine', 0, '', $conf->entity); // Use vat for invoice creation if (isModEnabled('facture')) { $res4 = dolibarr_set_const($db, 'ADHERENT_VAT_FOR_SUBSCRIPTIONS', GETPOST('ADHERENT_VAT_FOR_SUBSCRIPTIONS', 'alpha'), 'chaine', 0, '', $conf->entity); @@ -334,32 +338,50 @@ print ''.$langs->trans("Value").''; print "\n"; +// Start date of new membership +$startpoint[0] = $langs->trans("SubscriptionPayment"); +$startpoint["m"] = $langs->trans("Month"); +$startpoint["Y"] = $langs->trans("Year"); +print ''; +print $langs->trans("MemberSubscriptionStartFirstDayOf"); +print ''; +$startfirstdayof = !getDolGlobalString('MEMBER_SUBSCRIPTION_START_FIRST_DAY_OF') ? 0 : getDolGlobalString('MEMBER_SUBSCRIPTION_START_FIRST_DAY_OF'); +print $form->selectarray("MEMBER_SUBSCRIPTION_START_FIRST_DAY_OF", $startpoint, $startfirstdayof, 0); +print "\n"; + +// Delay to start the new membership ([+/-][0-99][Y/m/d], for instance, with "+4m", the subscription will start in 4 month.) +print ''; +print $langs->trans("MemberSubscriptionStartAfter"); +print ''; +print ''; +print "\n"; + // Mail required for members print ''.$langs->trans("AdherentMailRequired").''; -print $form->selectyesno('ADHERENT_MAIL_REQUIRED', (!empty($conf->global->ADHERENT_MAIL_REQUIRED) ? $conf->global->ADHERENT_MAIL_REQUIRED : 0), 1); +print $form->selectyesno('ADHERENT_MAIL_REQUIRED', (getDolGlobalString('ADHERENT_MAIL_REQUIRED') ? $conf->global->ADHERENT_MAIL_REQUIRED : 0), 1); print "\n"; // Login/Pass required for members print ''; print $form->textwithpicto($langs->trans("AdherentLoginRequired"), $langs->trans("AdherentLoginRequiredDesc")); print ''; -print $form->selectyesno('ADHERENT_LOGIN_NOT_REQUIRED', (!empty($conf->global->ADHERENT_LOGIN_NOT_REQUIRED) ? 0 : 1), 1); +print $form->selectyesno('ADHERENT_LOGIN_NOT_REQUIRED', (getDolGlobalString('ADHERENT_LOGIN_NOT_REQUIRED') ? 0 : 1), 1); print "\n"; // Send mail information is on by default print ''.$langs->trans("MemberSendInformationByMailByDefault").''; -print $form->selectyesno('ADHERENT_DEFAULT_SENDINFOBYMAIL', (!empty($conf->global->ADHERENT_DEFAULT_SENDINFOBYMAIL) ? $conf->global->ADHERENT_DEFAULT_SENDINFOBYMAIL : 0), 1); +print $form->selectyesno('ADHERENT_DEFAULT_SENDINFOBYMAIL', (getDolGlobalString('ADHERENT_DEFAULT_SENDINFOBYMAIL') ? $conf->global->ADHERENT_DEFAULT_SENDINFOBYMAIL : 0), 1); print "\n"; // Create an external user login for each new member subscription validated print ''.$langs->trans("MemberCreateAnExternalUserForSubscriptionValidated").''; -print $form->selectyesno('ADHERENT_CREATE_EXTERNAL_USER_LOGIN', (!empty($conf->global->ADHERENT_CREATE_EXTERNAL_USER_LOGIN) ? $conf->global->ADHERENT_CREATE_EXTERNAL_USER_LOGIN : 0), 1); +print $form->selectyesno('ADHERENT_CREATE_EXTERNAL_USER_LOGIN', (getDolGlobalString('ADHERENT_CREATE_EXTERNAL_USER_LOGIN') ? $conf->global->ADHERENT_CREATE_EXTERNAL_USER_LOGIN : 0), 1); print "\n"; // Create an external user login for each new member subscription validated $linkofpubliclist = DOL_MAIN_URL_ROOT.'/public/members/public_list.php'.((isModEnabled('multicompany')) ? '?entity='.$conf->entity : ''); print ''.$langs->trans("Public", getDolGlobalString('MAIN_INFO_SOCIETE_NOM'), $linkofpubliclist).''; -print $form->selectyesno('MEMBER_PUBLIC_ENABLED', (!empty($conf->global->MEMBER_PUBLIC_ENABLED) ? $conf->global->MEMBER_PUBLIC_ENABLED : 0), 1); +print $form->selectyesno('MEMBER_PUBLIC_ENABLED', (getDolGlobalString('MEMBER_PUBLIC_ENABLED') ? $conf->global->MEMBER_PUBLIC_ENABLED : 0), 1); print "\n"; // Allow members to change type on renewal forms @@ -394,7 +416,7 @@ print ''.$langs->trans("VATToUseForSubscriptions").''; if (isModEnabled("banque")) { print ''; - print $form->selectarray('ADHERENT_VAT_FOR_SUBSCRIPTIONS', array('0'=>$langs->trans("NoVatOnSubscription"), 'defaultforfoundationcountry'=>$langs->trans("Default")), (empty($conf->global->ADHERENT_VAT_FOR_SUBSCRIPTIONS) ? '0' : $conf->global->ADHERENT_VAT_FOR_SUBSCRIPTIONS), 0); + print $form->selectarray('ADHERENT_VAT_FOR_SUBSCRIPTIONS', array('0'=>$langs->trans("NoVatOnSubscription"), 'defaultforfoundationcountry'=>$langs->trans("Default")), (!getDolGlobalString('ADHERENT_VAT_FOR_SUBSCRIPTIONS') ? '0' : $conf->global->ADHERENT_VAT_FOR_SUBSCRIPTIONS), 0); print ''; } else { print ''; @@ -406,7 +428,7 @@ if (isModEnabled("product") || isModEnabled("service")) { print ''.$langs->trans("ADHERENT_PRODUCT_ID_FOR_SUBSCRIPTIONS").''; print ''; - $selected = (empty($conf->global->ADHERENT_PRODUCT_ID_FOR_SUBSCRIPTIONS) ? '' : $conf->global->ADHERENT_PRODUCT_ID_FOR_SUBSCRIPTIONS); + $selected = (!getDolGlobalString('ADHERENT_PRODUCT_ID_FOR_SUBSCRIPTIONS') ? '' : $conf->global->ADHERENT_PRODUCT_ID_FOR_SUBSCRIPTIONS); print img_picto('', 'product', 'class="pictofixedwidth"'); $form->select_produits($selected, 'ADHERENT_PRODUCT_ID_FOR_SUBSCRIPTIONS', '', 0); print ''; diff --git a/htdocs/adherents/admin/website.php b/htdocs/adherents/admin/website.php index 6b7d12c122a54..4a9ba7ee1c71d 100644 --- a/htdocs/adherents/admin/website.php +++ b/htdocs/adherents/admin/website.php @@ -160,7 +160,7 @@ function initfields() $param = ''; $enabledisablehtml = $langs->trans("EnablePublicSubscriptionForm").' '; -if (empty($conf->global->MEMBER_ENABLE_PUBLIC)) { +if (!getDolGlobalString('MEMBER_ENABLE_PUBLIC')) { // Button off, click to enable $enabledisablehtml .= ''; $enabledisablehtml .= img_picto($langs->trans("Disabled"), 'switch_off'); @@ -172,12 +172,12 @@ function initfields() $enabledisablehtml .= ''; } print $enabledisablehtml; -print ''; +print ''; print '

'; -if (!empty($conf->global->MEMBER_ENABLE_PUBLIC)) { +if (getDolGlobalString('MEMBER_ENABLE_PUBLIC')) { print '
'; //print $langs->trans('FollowingLinksArePublic').'
'; print img_picto('', 'globe').' '.$langs->trans('BlankSubscriptionForm').'
'; @@ -215,7 +215,7 @@ function initfields() print ''; $listofval = array(); $listofval += $adht->liste_array(1); - $forcetype = empty($conf->global->MEMBER_NEWFORM_FORCETYPE) ? -1 : $conf->global->MEMBER_NEWFORM_FORCETYPE; + $forcetype = !getDolGlobalString('MEMBER_NEWFORM_FORCETYPE') ? -1 : $conf->global->MEMBER_NEWFORM_FORCETYPE; print $form->selectarray("MEMBER_NEWFORM_FORCETYPE", $listofval, $forcetype, count($listofval) > 1 ? 1 : 0); print "\n"; @@ -225,7 +225,7 @@ function initfields() print ''; print $langs->trans("ForceMemberNature"); print ''; - $forcenature = empty($conf->global->MEMBER_NEWFORM_FORCEMORPHY) ? 0 : $conf->global->MEMBER_NEWFORM_FORCEMORPHY; + $forcenature = !getDolGlobalString('MEMBER_NEWFORM_FORCEMORPHY') ? 0 : $conf->global->MEMBER_NEWFORM_FORCEMORPHY; print $form->selectarray("MEMBER_NEWFORM_FORCEMORPHY", $morphys, $forcenature, 1); print "\n"; @@ -233,25 +233,25 @@ function initfields() print ''; print $langs->trans("DefaultAmount"); print ''; - print ''; + print ''; print "\n"; // Min amount print ''; print $langs->trans("MinimumAmount"); print ''; - print ''; + print ''; print "\n"; // SHow counter of validated members publicly print ''; print $langs->trans("MemberCountersArePublic"); print ''; - print $form->selectyesno("MEMBER_COUNTERS_ARE_PUBLIC", (!empty($conf->global->MEMBER_COUNTERS_ARE_PUBLIC) ? $conf->global->MEMBER_COUNTERS_ARE_PUBLIC : 0), 1); + print $form->selectyesno("MEMBER_COUNTERS_ARE_PUBLIC", (getDolGlobalString('MEMBER_COUNTERS_ARE_PUBLIC') ? $conf->global->MEMBER_COUNTERS_ARE_PUBLIC : 0), 1); print "\n"; // Show the table of all available membership types. If not, show a form (as the default was for Dolibarr <=16.0) - $skiptable = (!empty($conf->global->MEMBER_SKIP_TABLE) ? $conf->global->MEMBER_SKIP_TABLE : 0); + $skiptable = (getDolGlobalString('MEMBER_SKIP_TABLE') ? $conf->global->MEMBER_SKIP_TABLE : 0); print ''; print $langs->trans("MembersShowMembershipTypesTable"); print ''; @@ -259,7 +259,7 @@ function initfields() print "\n"; // Show "vote allowed" setting for membership types - $hidevoteallowed = (!empty($conf->global->MEMBER_HIDE_VOTE_ALLOWED) ? $conf->global->MEMBER_HIDE_VOTE_ALLOWED : 0); + $hidevoteallowed = (getDolGlobalString('MEMBER_HIDE_VOTE_ALLOWED') ? $conf->global->MEMBER_HIDE_VOTE_ALLOWED : 0); print ''; print $langs->trans("MembersShowVotesAllowed"); print ''; @@ -282,7 +282,7 @@ function initfields() if (isModEnabled('stripe')) { $listofval['stripe'] = 'Stripe'; } - print $form->selectarray("MEMBER_NEWFORM_PAYONLINE", $listofval, (!empty($conf->global->MEMBER_NEWFORM_PAYONLINE) ? $conf->global->MEMBER_NEWFORM_PAYONLINE : ''), 0); + print $form->selectarray("MEMBER_NEWFORM_PAYONLINE", $listofval, (getDolGlobalString('MEMBER_NEWFORM_PAYONLINE') ? $conf->global->MEMBER_NEWFORM_PAYONLINE : ''), 0); print "\n"; print ''; diff --git a/htdocs/adherents/canvas/default/actions_adherentcard_default.class.php b/htdocs/adherents/canvas/default/actions_adherentcard_default.class.php index 58b414b251105..e336cc16ea74e 100644 --- a/htdocs/adherents/canvas/default/actions_adherentcard_default.class.php +++ b/htdocs/adherents/canvas/default/actions_adherentcard_default.class.php @@ -61,13 +61,13 @@ private function getTitle($action) $out = ''; if ($action == 'view') { - $out .= (!empty($conf->global->ADHERENT_ADDRESSES_MANAGEMENT) ? $langs->trans("Adherent") : $langs->trans("ContactAddress")); + $out .= (getDolGlobalString('ADHERENT_ADDRESSES_MANAGEMENT') ? $langs->trans("Adherent") : $langs->trans("ContactAddress")); } if ($action == 'edit') { - $out .= (!empty($conf->global->ADHERENT_ADDRESSES_MANAGEMENT) ? $langs->trans("EditAdherent") : $langs->trans("EditAdherentAddress")); + $out .= (getDolGlobalString('ADHERENT_ADDRESSES_MANAGEMENT') ? $langs->trans("EditAdherent") : $langs->trans("EditAdherentAddress")); } if ($action == 'create') { - $out .= (!empty($conf->global->ADHERENT_ADDRESSES_MANAGEMENT) ? $langs->trans("NewAdherent") : $langs->trans("NewAdherentAddress")); + $out .= (getDolGlobalString('ADHERENT_ADDRESSES_MANAGEMENT') ? $langs->trans("NewAdherent") : $langs->trans("NewAdherentAddress")); } return $out; diff --git a/htdocs/adherents/card.php b/htdocs/adherents/card.php index a750fd2bba6c9..0aa5d7b88fa6f 100644 --- a/htdocs/adherents/card.php +++ b/htdocs/adherents/card.php @@ -281,7 +281,7 @@ setEventMessages($langs->trans("ErrorFieldRequired", $langs->transnoentities("Company")), null, 'errors'); } // Check if the login already exists - if (empty($conf->global->ADHERENT_LOGIN_NOT_REQUIRED)) { + if (!getDolGlobalString('ADHERENT_LOGIN_NOT_REQUIRED')) { if (empty($login)) { $error++; setEventMessages($langs->trans("ErrorFieldRequired", $langs->transnoentitiesnoconv("Login")), null, 'errors'); @@ -289,7 +289,7 @@ } // Create new object if ($result > 0 && !$error) { - $object->oldcopy = dol_clone($object); + $object->oldcopy = dol_clone($object, 2); // Change values $object->civility_id = trim(GETPOST("civility_id", 'alphanohtml')); @@ -523,7 +523,7 @@ setEventMessages($langs->trans("ErrorFieldRequired", $langs->transnoentitiesnoconv("MemberNature")), null, 'errors'); } // Tests if the login already exists - if (empty($conf->global->ADHERENT_LOGIN_NOT_REQUIRED)) { + if (!getDolGlobalString('ADHERENT_LOGIN_NOT_REQUIRED')) { if (empty($login)) { $error++; setEventMessages($langs->trans("ErrorFieldRequired", $langs->transnoentitiesnoconv("Login")), null, 'errors'); @@ -563,7 +563,7 @@ $error++; setEventMessages($langs->trans("ErrorFieldRequired", $langs->transnoentitiesnoconv("Type")), null, 'errors'); } - if (!empty($conf->global->ADHERENT_MAIL_REQUIRED) && !isValidEMail($email)) { + if (getDolGlobalString('ADHERENT_MAIL_REQUIRED') && !isValidEMail($email)) { $error++; $langs->load("errors"); setEventMessages($langs->trans("ErrorBadEMail", $email), null, 'errors'); @@ -601,7 +601,7 @@ } // Auto-create thirdparty on member creation - if (!empty($conf->global->ADHERENT_DEFAULT_CREATE_THIRDPARTY)) { + if (getDolGlobalString('ADHERENT_DEFAULT_CREATE_THIRDPARTY')) { if ($result > 0) { // Create third party out of a member $company = new Societe($db); @@ -994,12 +994,12 @@ function initfieldrequired() { print ''; // Login - if (empty($conf->global->ADHERENT_LOGIN_NOT_REQUIRED)) { + if (!getDolGlobalString('ADHERENT_LOGIN_NOT_REQUIRED')) { print ''.$langs->trans("Login").' / '.$langs->trans("Id").'login).'" autofocus="autofocus">'; } // Password - if (empty($conf->global->ADHERENT_LOGIN_NOT_REQUIRED)) { + if (!getDolGlobalString('ADHERENT_LOGIN_NOT_REQUIRED')) { require_once DOL_DOCUMENT_ROOT.'/core/lib/security2.lib.php'; $generated_password = getRandomPassword(false); print ''.$langs->trans("Password").''; @@ -1049,7 +1049,7 @@ function initfieldrequired() { print ''; // EMail - print ''.(!empty($conf->global->ADHERENT_MAIL_REQUIRED) ? '' : '').$langs->trans("EMail").(!empty($conf->global->ADHERENT_MAIL_REQUIRED) ? '' : '').''; + print ''.(getDolGlobalString('ADHERENT_MAIL_REQUIRED') ? '' : '').$langs->trans("EMail").(getDolGlobalString('ADHERENT_MAIL_REQUIRED') ? '' : '').''; print ''.img_picto('', 'object_email').' '; // Website @@ -1083,7 +1083,7 @@ function initfieldrequired() { print ''; // State - if (empty($conf->global->MEMBER_DISABLE_STATE)) { + if (!getDolGlobalString('MEMBER_DISABLE_STATE')) { print ''.$langs->trans('State').''; if ($soc->country_id) { print img_picto('', 'state', 'class="pictofixedwidth"'); @@ -1122,7 +1122,10 @@ function initfieldrequired() { print "\n"; // Public profil - print "".$langs->trans("Public", getDolGlobalString('MAIN_INFO_SOCIETE_NOM'), $linkofpubliclist)."\n"; + print ""; + $htmltext = $langs->trans("Public", getDolGlobalString('MAIN_INFO_SOCIETE_NOM'), $linkofpubliclist); + print $form->textwithpicto($langs->trans("MembershipPublic"), $htmltext, 1, 'help', '', 0, 3, 'membershippublic'); + print "\n"; print $form->selectyesno("public", $object->public, 1); print "\n"; @@ -1223,12 +1226,12 @@ function initfieldrequired() { print ''.$langs->trans("Ref").''.$object->ref.''; // Login - if (empty($conf->global->ADHERENT_LOGIN_NOT_REQUIRED)) { + if (!getDolGlobalString('ADHERENT_LOGIN_NOT_REQUIRED')) { print ''.$langs->trans("Login").' / '.$langs->trans("Id").'login).'">'; } // Password - if (empty($conf->global->ADHERENT_LOGIN_NOT_REQUIRED)) { + if (!getDolGlobalString('ADHERENT_LOGIN_NOT_REQUIRED')) { print ''.$langs->trans("Password").''; } @@ -1329,7 +1332,7 @@ function initfieldrequired() { print ''; // State - if (empty($conf->global->MEMBER_DISABLE_STATE)) { + if (!getDolGlobalString('MEMBER_DISABLE_STATE')) { print ''.$langs->trans('State').''; print img_picto('', 'state', 'class="pictofixedwidth"'); print $formcompany->select_state($object->state_id, GETPOSTISSET("country_id") ? GETPOST("country_id", "alpha") : $object->country_id); @@ -1371,7 +1374,10 @@ function initfieldrequired() { } // Public profil - print "".$langs->trans("Public", getDolGlobalString('MAIN_INFO_SOCIETE_NOM'), $linkofpubliclist)."\n"; + print ""; + $htmltext = $langs->trans("Public", getDolGlobalString('MAIN_INFO_SOCIETE_NOM'), $linkofpubliclist); + print $form->textwithpicto($langs->trans("MembershipPublic"), $htmltext, 1, 'help', '', 0, 3, 'membershippublic'); + print "\n"; print $form->selectyesno("public", (GETPOSTISSET("public") ? GETPOST("public", 'alphanohtml', 2) : $object->public), 1); print "\n"; @@ -1558,10 +1564,10 @@ function initfieldrequired() { if ($object->email) { $formquestion[] = array('type' => 'checkbox', 'name' => 'send_mail', 'label' => $label, 'value' => (getDolGlobalString('ADHERENT_DEFAULT_SENDINFOBYMAIL') ? true : false)); } - if (isModEnabled('mailman') && !empty($conf->global->ADHERENT_USE_MAILMAN)) { + if (isModEnabled('mailman') && getDolGlobalString('ADHERENT_USE_MAILMAN')) { $formquestion[] = array('type'=>'other', 'label'=>$langs->transnoentitiesnoconv("SynchroMailManEnabled"), 'value'=>''); } - if (isModEnabled('mailman') && !empty($conf->global->ADHERENT_USE_SPIP)) { + if (isModEnabled('mailman') && getDolGlobalString('ADHERENT_USE_SPIP')) { $formquestion[] = array('type'=>'other', 'label'=>$langs->transnoentitiesnoconv("SynchroSpipEnabled"), 'value'=>''); } print $form->formconfirm("card.php?rowid=".$id, $langs->trans("ValidateMember"), $langs->trans("ConfirmValidateMember"), "confirm_valid", $formquestion, 'yes', 1, 220); @@ -1619,7 +1625,7 @@ function initfieldrequired() { // Create an array $formquestion = array(); if ($object->email) { - $formquestion[] = array('type' => 'checkbox', 'name' => 'send_mail', 'label' => $label, 'value' => (!empty($conf->global->ADHERENT_DEFAULT_SENDINFOBYMAIL) ? 'true' : 'false')); + $formquestion[] = array('type' => 'checkbox', 'name' => 'send_mail', 'label' => $label, 'value' => (getDolGlobalString('ADHERENT_DEFAULT_SENDINFOBYMAIL') ? 'true' : 'false')); } if ($backtopage) { $formquestion[] = array('type' => 'hidden', 'name' => 'backtopage', 'value' => ($backtopage != '1' ? $backtopage : $_SERVER["HTTP_REFERER"])); @@ -1679,7 +1685,7 @@ function initfieldrequired() { // Create an array $formquestion = array(); if ($object->email) { - $formquestion[] = array('type' => 'checkbox', 'name' => 'send_mail', 'label' => $label, 'value' => (!empty($conf->global->ADHERENT_DEFAULT_SENDINFOBYMAIL) ? 'true' : 'false')); + $formquestion[] = array('type' => 'checkbox', 'name' => 'send_mail', 'label' => $label, 'value' => (getDolGlobalString('ADHERENT_DEFAULT_SENDINFOBYMAIL') ? 'true' : 'false')); } if ($backtopage) { $formquestion[] = array('type' => 'hidden', 'name' => 'backtopage', 'value' => ($backtopage != '1' ? $backtopage : $_SERVER["HTTP_REFERER"])); @@ -1706,7 +1712,7 @@ function initfieldrequired() { } $rowspan = 17; - if (empty($conf->global->ADHERENT_LOGIN_NOT_REQUIRED)) { + if (!getDolGlobalString('ADHERENT_LOGIN_NOT_REQUIRED')) { $rowspan++; } if (isModEnabled('societe')) { @@ -1729,7 +1735,7 @@ function initfieldrequired() { print ''; // Login - if (empty($conf->global->ADHERENT_LOGIN_NOT_REQUIRED)) { + if (!getDolGlobalString('ADHERENT_LOGIN_NOT_REQUIRED')) { print ''; } @@ -1750,7 +1756,7 @@ function initfieldrequired() { print ''; // Password - if (empty($conf->global->ADHERENT_LOGIN_NOT_REQUIRED)) { + if (!getDolGlobalString('ADHERENT_LOGIN_NOT_REQUIRED')) { print ''; + print ''; // Other attributes include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_view.tpl.php'; @@ -1996,7 +2005,7 @@ function initfieldrequired() { } // Action SPIP - if (isModEnabled('mailmanspip') && !empty($conf->global->ADHERENT_USE_SPIP)) { + if (isModEnabled('mailmanspip') && getDolGlobalString('ADHERENT_USE_SPIP')) { $isinspip = $mailmanspip->is_in_spip($object); if ($isinspip == 1) { diff --git a/htdocs/adherents/cartes/carte.php b/htdocs/adherents/cartes/carte.php index 3cd85d8352084..7809e791c3f20 100644 --- a/htdocs/adherents/cartes/carte.php +++ b/htdocs/adherents/cartes/carte.php @@ -187,7 +187,7 @@ // For labels if ($mode == 'label') { - if (empty($conf->global->ADHERENT_ETIQUETTE_TEXT)) { + if (!getDolGlobalString('ADHERENT_ETIQUETTE_TEXT')) { $conf->global->ADHERENT_ETIQUETTE_TEXT = "__FULLNAME__\n__ADDRESS__\n__ZIP__ __TOWN__\n__COUNTRY__"; } $textleft = make_substitutions($conf->global->ADHERENT_ETIQUETTE_TEXT, $substitutionarray); @@ -275,7 +275,7 @@ print '
'; -print img_picto('', 'card').' '.$langs->trans("DocForAllMembersCards", (!empty($conf->global->ADHERENT_CARD_TYPE) ? $conf->global->ADHERENT_CARD_TYPE : $langs->transnoentitiesnoconv("None"))).' '; +print img_picto('', 'card').' '.$langs->trans("DocForAllMembersCards", (getDolGlobalString('ADHERENT_CARD_TYPE') ? $conf->global->ADHERENT_CARD_TYPE : $langs->transnoentitiesnoconv("None"))).' '; print ''; print ''; print ''; @@ -288,13 +288,13 @@ $arrayoflabels[$codecards] = $_Avery_Labels[$codecards]['name']; } asort($arrayoflabels); -print $form->selectarray('modelcard', $arrayoflabels, (GETPOST('modelcard') ? GETPOST('modelcard') : (empty($conf->global->ADHERENT_CARD_TYPE) ? '' : $conf->global->ADHERENT_CARD_TYPE)), 1, 0, 0, '', 0, 0, 0, '', '', 1); +print $form->selectarray('modelcard', $arrayoflabels, (GETPOST('modelcard') ? GETPOST('modelcard') : (!getDolGlobalString('ADHERENT_CARD_TYPE') ? '' : $conf->global->ADHERENT_CARD_TYPE)), 1, 0, 0, '', 0, 0, 0, '', '', 1); print '
'; print ''; print '

'; -print img_picto('', 'card').' '.$langs->trans("DocForOneMemberCards", (!empty($conf->global->ADHERENT_CARD_TYPE) ? $conf->global->ADHERENT_CARD_TYPE : $langs->transnoentitiesnoconv("None"))).' '; +print img_picto('', 'card').' '.$langs->trans("DocForOneMemberCards", (getDolGlobalString('ADHERENT_CARD_TYPE') ? $conf->global->ADHERENT_CARD_TYPE : $langs->transnoentitiesnoconv("None"))).' '; print ''; print ''; print ''; @@ -306,14 +306,14 @@ $arrayoflabels[$codecards] = $_Avery_Labels[$codecards]['name']; } asort($arrayoflabels); -print $form->selectarray('model', $arrayoflabels, (GETPOST('model') ?GETPOST('model') : (empty($conf->global->ADHERENT_CARD_TYPE) ? '' : $conf->global->ADHERENT_CARD_TYPE)), 1, 0, 0, '', 0, 0, 0, '', '', 1); +print $form->selectarray('model', $arrayoflabels, (GETPOST('model') ?GETPOST('model') : (!getDolGlobalString('ADHERENT_CARD_TYPE') ? '' : $conf->global->ADHERENT_CARD_TYPE)), 1, 0, 0, '', 0, 0, 0, '', '', 1); print '
'.$langs->trans("Login").': '; print '
'; print ''; print '

'; -print img_picto('', 'card').' '.$langs->trans("DocForLabels", (empty($conf->global->ADHERENT_ETIQUETTE_TYPE) ? '' : $conf->global->ADHERENT_ETIQUETTE_TYPE)).' '; +print img_picto('', 'card').' '.$langs->trans("DocForLabels", (!getDolGlobalString('ADHERENT_ETIQUETTE_TYPE') ? '' : $conf->global->ADHERENT_ETIQUETTE_TYPE)).' '; print ''; print ''; print ''; @@ -325,7 +325,7 @@ $arrayoflabels[$codecards] = $_Avery_Labels[$codecards]['name']; } asort($arrayoflabels); -print $form->selectarray('modellabel', $arrayoflabels, (GETPOST('modellabel') ? GETPOST('modellabel') : (empty($conf->global->ADHERENT_ETIQUETTE_TYPE) ? '' : $conf->global->ADHERENT_ETIQUETTE_TYPE)), 1, 0, 0, '', 0, 0, 0, '', '', 1); +print $form->selectarray('modellabel', $arrayoflabels, (GETPOST('modellabel') ? GETPOST('modellabel') : (!getDolGlobalString('ADHERENT_ETIQUETTE_TYPE') ? '' : $conf->global->ADHERENT_ETIQUETTE_TYPE)), 1, 0, 0, '', 0, 0, 0, '', '', 1); print '
'; print ''; diff --git a/htdocs/adherents/class/adherent.class.php b/htdocs/adherents/class/adherent.class.php index 9b6dd8b9468a0..8b4f6aeb46ef2 100644 --- a/htdocs/adherents/class/adherent.class.php +++ b/htdocs/adherents/class/adherent.class.php @@ -478,7 +478,7 @@ public function makeSubstitution($text) $infos .= $langs->transnoentities("PhonePro").": ".$this->phone."\n"; $infos .= $langs->transnoentities("PhonePerso").": ".$this->phone_perso."\n"; $infos .= $langs->transnoentities("PhoneMobile").": ".$this->phone_mobile."\n"; - if (empty($conf->global->ADHERENT_LOGIN_NOT_REQUIRED)) { + if (!getDolGlobalString('ADHERENT_LOGIN_NOT_REQUIRED')) { $infos .= $langs->transnoentities("Login").": ".$this->login."\n"; $infos .= $langs->transnoentities("Password").": ".$this->pass."\n"; } @@ -587,7 +587,7 @@ public function create($user, $notrigger = 0) $this->import_key = trim($this->import_key); // Check parameters - if (!empty($conf->global->ADHERENT_MAIL_REQUIRED) && !isValidEMail($this->email)) { + if (getDolGlobalString('ADHERENT_MAIL_REQUIRED') && !isValidEMail($this->email)) { $langs->load("errors"); $this->error = $langs->trans("ErrorBadEMail", $this->email); return -1; @@ -595,7 +595,7 @@ public function create($user, $notrigger = 0) if (!$this->datec) { $this->datec = $now; } - if (empty($conf->global->ADHERENT_LOGIN_NOT_REQUIRED)) { + if (!getDolGlobalString('ADHERENT_LOGIN_NOT_REQUIRED')) { if (empty($this->login)) { $this->error = $langs->trans("ErrorWrongValueForParameterX", "Login"); return -1; @@ -731,7 +731,7 @@ public function update($user, $notrigger = 0, $nosyncuser = 0, $nosyncuserpass = $this->url = $this->url ?clean_url($this->url, 0) : ''; $this->setUpperOrLowerCase(); // Check parameters - if (!empty($conf->global->ADHERENT_MAIL_REQUIRED) && !isValidEMail($this->email)) { + if (getDolGlobalString('ADHERENT_MAIL_REQUIRED') && !isValidEMail($this->email)) { $langs->load("errors"); $this->error = $langs->trans("ErrorBadEMail", $this->email); return -1; @@ -817,7 +817,7 @@ public function update($user, $notrigger = 0, $nosyncuser = 0, $nosyncuserpass = if (!$error && $this->pass) { dol_syslog(get_class($this)."::update update password"); if ($this->pass != $this->pass_indatabase && $this->pass != $this->pass_indatabase_crypted) { - $isencrypted = empty($conf->global->DATABASE_PWD_ENCRYPTED) ? 0 : 1; + $isencrypted = !getDolGlobalString('DATABASE_PWD_ENCRYPTED') ? 0 : 1; // If password to set differs from the one found into database $result = $this->setPassword($user, $this->pass, $isencrypted, $notrigger, $nosyncuserpass); @@ -866,7 +866,7 @@ public function update($user, $notrigger = 0, $nosyncuser = 0, $nosyncuserpass = //var_dump($this->login);exit; // If option ADHERENT_LOGIN_NOT_REQUIRED is on, there is no login of member, so we do not overwrite user login to keep existing one. - if (empty($conf->global->ADHERENT_LOGIN_NOT_REQUIRED)) { + if (!getDolGlobalString('ADHERENT_LOGIN_NOT_REQUIRED')) { $luser->login = $this->login; } @@ -1820,12 +1820,12 @@ public function subscriptionComplementaryActions($subscriptionid, $option, $acco if (!$error) { // Add line to draft invoice $idprodsubscription = 0; - if (!empty($conf->global->ADHERENT_PRODUCT_ID_FOR_SUBSCRIPTIONS) && (isModEnabled("product") || isModEnabled("service"))) { + if (getDolGlobalString('ADHERENT_PRODUCT_ID_FOR_SUBSCRIPTIONS') && (isModEnabled("product") || isModEnabled("service"))) { $idprodsubscription = $conf->global->ADHERENT_PRODUCT_ID_FOR_SUBSCRIPTIONS; } $vattouse = 0; - if (isset($conf->global->ADHERENT_VAT_FOR_SUBSCRIPTIONS) && $conf->global->ADHERENT_VAT_FOR_SUBSCRIPTIONS == 'defaultforfoundationcountry') { + if (getDolGlobalString('ADHERENT_VAT_FOR_SUBSCRIPTIONS') == 'defaultforfoundationcountry') { $vattouse = get_default_tva($mysoc, $mysoc, $idprodsubscription); } //print xx".$vattouse." - ".$mysoc." - ".$customer;exit; @@ -2104,7 +2104,7 @@ public function add_to_abo() $err = 0; // mailman - if (!empty($conf->global->ADHERENT_USE_MAILMAN) && isModEnabled('mailmanspip')) { + if (getDolGlobalString('ADHERENT_USE_MAILMAN') && isModEnabled('mailmanspip')) { $result = $mailmanspip->add_to_mailman($this); if ($result < 0) { @@ -2124,7 +2124,7 @@ public function add_to_abo() } // spip - if (!empty($conf->global->ADHERENT_USE_SPIP) && isModEnabled('mailmanspip')) { + if (getDolGlobalString('ADHERENT_USE_SPIP') && isModEnabled('mailmanspip')) { $result = $mailmanspip->add_to_spip($this); if ($result < 0) { $this->errors[] = $mailmanspip->error; @@ -2156,7 +2156,7 @@ public function del_to_abo() $err = 0; // mailman - if (!empty($conf->global->ADHERENT_USE_MAILMAN)) { + if (getDolGlobalString('ADHERENT_USE_MAILMAN')) { $result = $mailmanspip->del_to_mailman($this); if ($result < 0) { if (!empty($mailmanspip->error)) { @@ -2223,7 +2223,7 @@ public function getTooltipContentArray($params) $datas = array(); - if (!empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) { + if (getDolGlobalString('MAIN_OPTIMIZEFORTEXTBROWSER')) { $langs->load("users"); return ['optimize' => $langs->trans("ShowUser")]; } @@ -2283,7 +2283,7 @@ public function getNomUrl($withpictoimg = 0, $maxlen = 0, $option = 'card', $mod { global $conf, $langs, $hookmanager; - if (!empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER) && $withpictoimg) { + if (getDolGlobalString('MAIN_OPTIMIZEFORTEXTBROWSER') && $withpictoimg) { $withpictoimg = 0; } @@ -2325,7 +2325,7 @@ public function getNomUrl($withpictoimg = 0, $maxlen = 0, $option = 'card', $mod $linkstart .= 'global->MAIN_OPTIMIZEFORTEXTBROWSER)) { + if (getDolGlobalString('MAIN_OPTIMIZEFORTEXTBROWSER')) { $langs->load("users"); $label = $langs->trans("ShowUser"); $linkclose .= ' alt="'.dol_escape_htmltag($label, 1).'"'; @@ -2358,7 +2358,7 @@ public function getNomUrl($withpictoimg = 0, $maxlen = 0, $option = 'card', $mod $result .= $picto; } if (($withpictoimg > -2 && $withpictoimg != 2) || $withpictoimg == -4) { - if (empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) { + if (!getDolGlobalString('MAIN_OPTIMIZEFORTEXTBROWSER')) { $result .= ''; } @@ -2369,7 +2369,7 @@ public function getNomUrl($withpictoimg = 0, $maxlen = 0, $option = 'card', $mod } else { $result .= $this->getFullName($langs, '', ($mode == 'firstname' ? 2 : ($mode == 'lastname' ? 4 : -1)), $maxlen); } - if (empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) { + if (!getDolGlobalString('MAIN_OPTIMIZEFORTEXTBROWSER')) { $result .= ''; } } @@ -2603,7 +2603,7 @@ public function generateDocument($modele, $outputlangs, $hidedetails = 0, $hided if ($this->model_pdf) { $modele = $this->model_pdf; - } elseif (!empty($conf->global->ADHERENT_ADDON_PDF)) { + } elseif (getDolGlobalString('ADHERENT_ADDON_PDF')) { $modele = $conf->global->ADHERENT_ADDON_PDF; } } @@ -2700,13 +2700,13 @@ public function _load_ldap_dn($info, $mode = 0) global $conf; $dn = ''; if ($mode == 0) { - $dn = $conf->global->LDAP_KEY_MEMBERS."=".$info[$conf->global->LDAP_KEY_MEMBERS].",".$conf->global->LDAP_MEMBER_DN; + $dn = getDolGlobalString('LDAP_KEY_MEMBERS') . "=".$info[getDolGlobalString('LDAP_KEY_MEMBERS')]."," . getDolGlobalString('LDAP_MEMBER_DN'); } if ($mode == 1) { $dn = $conf->global->LDAP_MEMBER_DN; } if ($mode == 2) { - $dn = $conf->global->LDAP_KEY_MEMBERS."=".$info[$conf->global->LDAP_KEY_MEMBERS]; + $dn = getDolGlobalString('LDAP_KEY_MEMBERS') . "=".$info[getDolGlobalString('LDAP_KEY_MEMBERS')]; } return $dn; } @@ -2754,110 +2754,110 @@ public function _load_ldap_info() $info[getDolGlobalString($constname)] = $this->$varname; // Check if it is the LDAP key and if its value has been changed - if (!empty($conf->global->LDAP_KEY_MEMBERS) && $conf->global->LDAP_KEY_MEMBERS == getDolGlobalString($constname)) { + if (getDolGlobalString('LDAP_KEY_MEMBERS') && $conf->global->LDAP_KEY_MEMBERS == getDolGlobalString($constname)) { if (!empty($this->oldcopy) && $this->$varname != $this->oldcopy->$varname) { $keymodified = true; // For check if LDAP key has been modified } } } } - if ($this->firstname && !empty($conf->global->LDAP_MEMBER_FIELD_FIRSTNAME)) { - $info[$conf->global->LDAP_MEMBER_FIELD_FIRSTNAME] = $this->firstname; + if ($this->firstname && getDolGlobalString('LDAP_MEMBER_FIELD_FIRSTNAME')) { + $info[getDolGlobalString('LDAP_MEMBER_FIELD_FIRSTNAME')] = $this->firstname; } - if ($this->poste && !empty($conf->global->LDAP_MEMBER_FIELD_TITLE)) { - $info[$conf->global->LDAP_MEMBER_FIELD_TITLE] = $this->poste; + if ($this->poste && getDolGlobalString('LDAP_MEMBER_FIELD_TITLE')) { + $info[getDolGlobalString('LDAP_MEMBER_FIELD_TITLE')] = $this->poste; } - if ($this->company && !empty($conf->global->LDAP_MEMBER_FIELD_COMPANY)) { - $info[$conf->global->LDAP_MEMBER_FIELD_COMPANY] = $this->company; + if ($this->company && getDolGlobalString('LDAP_MEMBER_FIELD_COMPANY')) { + $info[getDolGlobalString('LDAP_MEMBER_FIELD_COMPANY')] = $this->company; } - if ($this->address && !empty($conf->global->LDAP_MEMBER_FIELD_ADDRESS)) { - $info[$conf->global->LDAP_MEMBER_FIELD_ADDRESS] = $this->address; + if ($this->address && getDolGlobalString('LDAP_MEMBER_FIELD_ADDRESS')) { + $info[getDolGlobalString('LDAP_MEMBER_FIELD_ADDRESS')] = $this->address; } - if ($this->zip && !empty($conf->global->LDAP_MEMBER_FIELD_ZIP)) { - $info[$conf->global->LDAP_MEMBER_FIELD_ZIP] = $this->zip; + if ($this->zip && getDolGlobalString('LDAP_MEMBER_FIELD_ZIP')) { + $info[getDolGlobalString('LDAP_MEMBER_FIELD_ZIP')] = $this->zip; } - if ($this->town && !empty($conf->global->LDAP_MEMBER_FIELD_TOWN)) { - $info[$conf->global->LDAP_MEMBER_FIELD_TOWN] = $this->town; + if ($this->town && getDolGlobalString('LDAP_MEMBER_FIELD_TOWN')) { + $info[getDolGlobalString('LDAP_MEMBER_FIELD_TOWN')] = $this->town; } - if ($this->country_code && !empty($conf->global->LDAP_MEMBER_FIELD_COUNTRY)) { - $info[$conf->global->LDAP_MEMBER_FIELD_COUNTRY] = $this->country_code; + if ($this->country_code && getDolGlobalString('LDAP_MEMBER_FIELD_COUNTRY')) { + $info[getDolGlobalString('LDAP_MEMBER_FIELD_COUNTRY')] = $this->country_code; } foreach ($socialnetworks as $key => $value) { if ($this->socialnetworks[$value['label']] && getDolGlobalString('LDAP_MEMBER_FIELD_'.strtoupper($value['label']))) { $info[getDolGlobalString('LDAP_MEMBER_FIELD_'.strtoupper($value['label']))] = $this->socialnetworks[$value['label']]; } } - if ($this->phone && !empty($conf->global->LDAP_MEMBER_FIELD_PHONE)) { - $info[$conf->global->LDAP_MEMBER_FIELD_PHONE] = $this->phone; + if ($this->phone && getDolGlobalString('LDAP_MEMBER_FIELD_PHONE')) { + $info[getDolGlobalString('LDAP_MEMBER_FIELD_PHONE')] = $this->phone; } - if ($this->phone_perso && !empty($conf->global->LDAP_MEMBER_FIELD_PHONE_PERSO)) { - $info[$conf->global->LDAP_MEMBER_FIELD_PHONE_PERSO] = $this->phone_perso; + if ($this->phone_perso && getDolGlobalString('LDAP_MEMBER_FIELD_PHONE_PERSO')) { + $info[getDolGlobalString('LDAP_MEMBER_FIELD_PHONE_PERSO')] = $this->phone_perso; } - if ($this->phone_mobile && !empty($conf->global->LDAP_MEMBER_FIELD_MOBILE)) { - $info[$conf->global->LDAP_MEMBER_FIELD_MOBILE] = $this->phone_mobile; + if ($this->phone_mobile && getDolGlobalString('LDAP_MEMBER_FIELD_MOBILE')) { + $info[getDolGlobalString('LDAP_MEMBER_FIELD_MOBILE')] = $this->phone_mobile; } - if ($this->fax && !empty($conf->global->LDAP_MEMBER_FIELD_FAX)) { - $info[$conf->global->LDAP_MEMBER_FIELD_FAX] = $this->fax; + if ($this->fax && getDolGlobalString('LDAP_MEMBER_FIELD_FAX')) { + $info[getDolGlobalString('LDAP_MEMBER_FIELD_FAX')] = $this->fax; } - if ($this->note_private && !empty($conf->global->LDAP_MEMBER_FIELD_DESCRIPTION)) { - $info[$conf->global->LDAP_MEMBER_FIELD_DESCRIPTION] = dol_string_nohtmltag($this->note_private, 2); + if ($this->note_private && getDolGlobalString('LDAP_MEMBER_FIELD_DESCRIPTION')) { + $info[getDolGlobalString('LDAP_MEMBER_FIELD_DESCRIPTION')] = dol_string_nohtmltag($this->note_private, 2); } - if ($this->note_public && !empty($conf->global->LDAP_MEMBER_FIELD_NOTE_PUBLIC)) { - $info[$conf->global->LDAP_MEMBER_FIELD_NOTE_PUBLIC] = dol_string_nohtmltag($this->note_public, 2); + if ($this->note_public && getDolGlobalString('LDAP_MEMBER_FIELD_NOTE_PUBLIC')) { + $info[getDolGlobalString('LDAP_MEMBER_FIELD_NOTE_PUBLIC')] = dol_string_nohtmltag($this->note_public, 2); } - if ($this->birth && !empty($conf->global->LDAP_MEMBER_FIELD_BIRTHDATE)) { - $info[$conf->global->LDAP_MEMBER_FIELD_BIRTHDATE] = dol_print_date($this->birth, 'dayhourldap'); + if ($this->birth && getDolGlobalString('LDAP_MEMBER_FIELD_BIRTHDATE')) { + $info[getDolGlobalString('LDAP_MEMBER_FIELD_BIRTHDATE')] = dol_print_date($this->birth, 'dayhourldap'); } - if (isset($this->statut) && !empty($conf->global->LDAP_FIELD_MEMBER_STATUS)) { - $info[$conf->global->LDAP_FIELD_MEMBER_STATUS] = $this->statut; + if (isset($this->statut) && getDolGlobalString('LDAP_FIELD_MEMBER_STATUS')) { + $info[getDolGlobalString('LDAP_FIELD_MEMBER_STATUS')] = $this->statut; } - if ($this->datefin && !empty($conf->global->LDAP_FIELD_MEMBER_END_LASTSUBSCRIPTION)) { - $info[$conf->global->LDAP_FIELD_MEMBER_END_LASTSUBSCRIPTION] = dol_print_date($this->datefin, 'dayhourldap'); + if ($this->datefin && getDolGlobalString('LDAP_FIELD_MEMBER_END_LASTSUBSCRIPTION')) { + $info[getDolGlobalString('LDAP_FIELD_MEMBER_END_LASTSUBSCRIPTION')] = dol_print_date($this->datefin, 'dayhourldap'); } // When password is modified if (!empty($this->pass)) { - if (!empty($conf->global->LDAP_MEMBER_FIELD_PASSWORD)) { - $info[$conf->global->LDAP_MEMBER_FIELD_PASSWORD] = $this->pass; // this->pass = mot de passe non crypte + if (getDolGlobalString('LDAP_MEMBER_FIELD_PASSWORD')) { + $info[getDolGlobalString('LDAP_MEMBER_FIELD_PASSWORD')] = $this->pass; // this->pass = mot de passe non crypte } - if (!empty($conf->global->LDAP_MEMBER_FIELD_PASSWORD_CRYPTED)) { - $info[$conf->global->LDAP_MEMBER_FIELD_PASSWORD_CRYPTED] = dol_hash($this->pass, 'openldap'); // Create OpenLDAP password (see LDAP_PASSWORD_HASH_TYPE) + if (getDolGlobalString('LDAP_MEMBER_FIELD_PASSWORD_CRYPTED')) { + $info[getDolGlobalString('LDAP_MEMBER_FIELD_PASSWORD_CRYPTED')] = dol_hash($this->pass, 'openldap'); // Create OpenLDAP password (see LDAP_PASSWORD_HASH_TYPE) } } elseif ($conf->global->LDAP_SERVER_PROTOCOLVERSION !== '3') { // Set LDAP password if possible // If ldap key is modified and LDAPv3 we use ldap_rename function for avoid lose encrypt password - if (!empty($conf->global->DATABASE_PWD_ENCRYPTED)) { + if (getDolGlobalString('DATABASE_PWD_ENCRYPTED')) { // Just for the default MD5 ! - if (empty($conf->global->MAIN_SECURITY_HASH_ALGO)) { - if ($this->pass_indatabase_crypted && !empty($conf->global->LDAP_MEMBER_FIELD_PASSWORD_CRYPTED)) { + if (!getDolGlobalString('MAIN_SECURITY_HASH_ALGO')) { + if ($this->pass_indatabase_crypted && getDolGlobalString('LDAP_MEMBER_FIELD_PASSWORD_CRYPTED')) { // Create OpenLDAP MD5 password from Dolibarr MD5 password // Note: This suppose that "pass_indatabase_crypted" is a md5 (guaranted by the previous test if "(empty($conf->global->MAIN_SECURITY_HASH_ALGO))" - $info[$conf->global->LDAP_MEMBER_FIELD_PASSWORD_CRYPTED] = dolGetLdapPasswordHash($this->pass_indatabase_crypted, 'md5frommd5'); + $info[getDolGlobalString('LDAP_MEMBER_FIELD_PASSWORD_CRYPTED')] = dolGetLdapPasswordHash($this->pass_indatabase_crypted, 'md5frommd5'); } } } elseif (!empty($this->pass_indatabase)) { // Use $this->pass_indatabase value if exists - if (!empty($conf->global->LDAP_MEMBER_FIELD_PASSWORD)) { - $info[$conf->global->LDAP_MEMBER_FIELD_PASSWORD] = $this->pass_indatabase; // $this->pass_indatabase = mot de passe non crypte + if (getDolGlobalString('LDAP_MEMBER_FIELD_PASSWORD')) { + $info[getDolGlobalString('LDAP_MEMBER_FIELD_PASSWORD')] = $this->pass_indatabase; // $this->pass_indatabase = mot de passe non crypte } - if (!empty($conf->global->LDAP_MEMBER_FIELD_PASSWORD_CRYPTED)) { - $info[$conf->global->LDAP_MEMBER_FIELD_PASSWORD_CRYPTED] = dol_hash($this->pass_indatabase, 'openldap'); // Create OpenLDAP password (see LDAP_PASSWORD_HASH_TYPE) + if (getDolGlobalString('LDAP_MEMBER_FIELD_PASSWORD_CRYPTED')) { + $info[getDolGlobalString('LDAP_MEMBER_FIELD_PASSWORD_CRYPTED')] = dol_hash($this->pass_indatabase, 'openldap'); // Create OpenLDAP password (see LDAP_PASSWORD_HASH_TYPE) } } } // Subscriptions - if ($this->first_subscription_date && !empty($conf->global->LDAP_FIELD_MEMBER_FIRSTSUBSCRIPTION_DATE)) { - $info[$conf->global->LDAP_FIELD_MEMBER_FIRSTSUBSCRIPTION_DATE] = dol_print_date($this->first_subscription_date, 'dayhourldap'); + if ($this->first_subscription_date && getDolGlobalString('LDAP_FIELD_MEMBER_FIRSTSUBSCRIPTION_DATE')) { + $info[getDolGlobalString('LDAP_FIELD_MEMBER_FIRSTSUBSCRIPTION_DATE')] = dol_print_date($this->first_subscription_date, 'dayhourldap'); } - if (isset($this->first_subscription_amount) && !empty($conf->global->LDAP_FIELD_MEMBER_FIRSTSUBSCRIPTION_AMOUNT)) { - $info[$conf->global->LDAP_FIELD_MEMBER_FIRSTSUBSCRIPTION_AMOUNT] = $this->first_subscription_amount; + if (isset($this->first_subscription_amount) && getDolGlobalString('LDAP_FIELD_MEMBER_FIRSTSUBSCRIPTION_AMOUNT')) { + $info[getDolGlobalString('LDAP_FIELD_MEMBER_FIRSTSUBSCRIPTION_AMOUNT')] = $this->first_subscription_amount; } - if ($this->last_subscription_date && !empty($conf->global->LDAP_FIELD_MEMBER_LASTSUBSCRIPTION_DATE)) { - $info[$conf->global->LDAP_FIELD_MEMBER_LASTSUBSCRIPTION_DATE] = dol_print_date($this->last_subscription_date, 'dayhourldap'); + if ($this->last_subscription_date && getDolGlobalString('LDAP_FIELD_MEMBER_LASTSUBSCRIPTION_DATE')) { + $info[getDolGlobalString('LDAP_FIELD_MEMBER_LASTSUBSCRIPTION_DATE')] = dol_print_date($this->last_subscription_date, 'dayhourldap'); } - if (isset($this->last_subscription_amount) && !empty($conf->global->LDAP_FIELD_MEMBER_LASTSUBSCRIPTION_AMOUNT)) { - $info[$conf->global->LDAP_FIELD_MEMBER_LASTSUBSCRIPTION_AMOUNT] = $this->last_subscription_amount; + if (isset($this->last_subscription_amount) && getDolGlobalString('LDAP_FIELD_MEMBER_LASTSUBSCRIPTION_AMOUNT')) { + $info[getDolGlobalString('LDAP_FIELD_MEMBER_LASTSUBSCRIPTION_AMOUNT')] = $this->last_subscription_amount; } return $info; @@ -2884,6 +2884,7 @@ public function info($id) if ($result) { if ($this->db->num_rows($result)) { $obj = $this->db->fetch_object($result); + $this->id = $obj->rowid; $this->user_creation_id = $obj->fk_user_author; @@ -3001,7 +3002,7 @@ public function sendReminderForExpiredSubscription($daysbeforeendlist = '10') $this->output = $langs->trans('ModuleNotEnabled', $langs->transnoentitiesnoconv("Adherent")); return 0; } - if (empty($conf->global->MEMBER_REMINDER_EMAIL)) { + if (!getDolGlobalString('MEMBER_REMINDER_EMAIL')) { $langs->load("agenda"); $this->output = $langs->trans('EventRemindersByEmailNotEnabled', $langs->transnoentitiesnoconv("Adherent")); return 0; @@ -3252,7 +3253,9 @@ public function getKanbanView($option = '', $arraydata = null) $return .= ''; $return .= '
'; $return .= ''.(method_exists($this, 'getNomUrl') ? $this->getNomUrl() : $this->ref).''; - $return .= ''; + if ($selected >= 0) { + $return .= ''; + } if (property_exists($this, 'type')) { $return .= '
'.$this->type.''; } diff --git a/htdocs/adherents/class/adherent_type.class.php b/htdocs/adherents/class/adherent_type.class.php index 7d7adaa2d9331..c8c8d806ee1e0 100644 --- a/htdocs/adherents/class/adherent_type.class.php +++ b/htdocs/adherents/class/adherent_type.class.php @@ -74,9 +74,9 @@ class AdherentType extends CommonObject public $duration; - /* - * type expiration - */ + /** + * type expiration + */ public $duration_value; /** @@ -841,13 +841,13 @@ public function _load_ldap_dn($info, $mode = 0) global $conf; $dn = ''; if ($mode == 0) { - $dn = $conf->global->LDAP_KEY_MEMBERS_TYPES."=".$info[$conf->global->LDAP_KEY_MEMBERS_TYPES].",".$conf->global->LDAP_MEMBER_TYPE_DN; + $dn = getDolGlobalString('LDAP_KEY_MEMBERS_TYPES') . "=".$info[getDolGlobalString('LDAP_KEY_MEMBERS_TYPES')]."," . getDolGlobalString('LDAP_MEMBER_TYPE_DN'); } if ($mode == 1) { $dn = $conf->global->LDAP_MEMBER_TYPE_DN; } if ($mode == 2) { - $dn = $conf->global->LDAP_KEY_MEMBERS_TYPES."=".$info[$conf->global->LDAP_KEY_MEMBERS_TYPES]; + $dn = getDolGlobalString('LDAP_KEY_MEMBERS_TYPES') . "=".$info[getDolGlobalString('LDAP_KEY_MEMBERS_TYPES')]; } return $dn; } @@ -875,13 +875,13 @@ public function _load_ldap_info() } // Champs - if ($this->label && !empty($conf->global->LDAP_MEMBER_TYPE_FIELD_FULLNAME)) { - $info[$conf->global->LDAP_MEMBER_TYPE_FIELD_FULLNAME] = $this->label; + if ($this->label && getDolGlobalString('LDAP_MEMBER_TYPE_FIELD_FULLNAME')) { + $info[getDolGlobalString('LDAP_MEMBER_TYPE_FIELD_FULLNAME')] = $this->label; } - if ($this->note_public && !empty($conf->global->LDAP_MEMBER_TYPE_FIELD_DESCRIPTION)) { - $info[$conf->global->LDAP_MEMBER_TYPE_FIELD_DESCRIPTION] = dol_string_nohtmltag($this->note_public, 0, 'UTF-8', 1); + if ($this->note_public && getDolGlobalString('LDAP_MEMBER_TYPE_FIELD_DESCRIPTION')) { + $info[getDolGlobalString('LDAP_MEMBER_TYPE_FIELD_DESCRIPTION')] = dol_string_nohtmltag($this->note_public, 0, 'UTF-8', 1); } - if (!empty($conf->global->LDAP_MEMBER_TYPE_FIELD_GROUPMEMBERS)) { + if (getDolGlobalString('LDAP_MEMBER_TYPE_FIELD_GROUPMEMBERS')) { $valueofldapfield = array(); foreach ($this->members as $key => $val) { // This is array of users for group into dolibarr database. $member = new Adherent($this->db); @@ -889,7 +889,7 @@ public function _load_ldap_info() $info2 = $member->_load_ldap_info(); $valueofldapfield[] = $member->_load_ldap_dn($info2); } - $info[$conf->global->LDAP_MEMBER_TYPE_FIELD_GROUPMEMBERS] = (!empty($valueofldapfield) ? $valueofldapfield : ''); + $info[getDolGlobalString('LDAP_MEMBER_TYPE_FIELD_GROUPMEMBERS')] = (!empty($valueofldapfield) ? $valueofldapfield : ''); } return $info; } diff --git a/htdocs/adherents/class/adherentstats.class.php b/htdocs/adherents/class/adherentstats.class.php index 5075154c4c8ab..8ae8c77146c2b 100644 --- a/htdocs/adherents/class/adherentstats.class.php +++ b/htdocs/adherents/class/adherentstats.class.php @@ -282,7 +282,7 @@ public function countMembersByTagAndStatus($numberYears = 0) $sql .= " GROUP BY c.rowid, c.label"; $sql .= " ORDER BY label ASC"; - dol_syslog("box_members_by_type::select nb of members per type", LOG_DEBUG); + dol_syslog("box_members_by_tag::select nb of members per tag", LOG_DEBUG); $result = $this->db->query($sql); if ($result) { diff --git a/htdocs/adherents/class/subscription.class.php b/htdocs/adherents/class/subscription.class.php index fb394afbf3e4a..b2b1f3695758d 100644 --- a/htdocs/adherents/class/subscription.class.php +++ b/htdocs/adherents/class/subscription.class.php @@ -531,15 +531,16 @@ public function getKanbanView($option = '', $arraydata = null) $return .= '
'; } diff --git a/htdocs/adherents/ldap.php b/htdocs/adherents/ldap.php index e4fbb178e0a30..124a4b20f517d 100644 --- a/htdocs/adherents/ldap.php +++ b/htdocs/adherents/ldap.php @@ -123,7 +123,7 @@ print ''; // If there is a link to password not crypted, we show value in database here so we can compare because it is shown nowhere else -if (!empty($conf->global->LDAP_MEMBER_FIELD_PASSWORD)) { +if (getDolGlobalString('LDAP_MEMBER_FIELD_PASSWORD')) { print ''; print ''; print "\n"; @@ -159,13 +159,13 @@ */ print '
'; -if (!empty($conf->global->LDAP_MEMBER_ACTIVE) && getDolGlobalString('LDAP_MEMBER_ACTIVE') != Ldap::SYNCHRO_LDAP_TO_DOLIBARR) { +if (getDolGlobalString('LDAP_MEMBER_ACTIVE') && getDolGlobalString('LDAP_MEMBER_ACTIVE') != Ldap::SYNCHRO_LDAP_TO_DOLIBARR) { print ''; } print "
\n"; -if (!empty($conf->global->LDAP_MEMBER_ACTIVE) && getDolGlobalString('LDAP_MEMBER_ACTIVE') != Ldap::SYNCHRO_LDAP_TO_DOLIBARR) { +if (getDolGlobalString('LDAP_MEMBER_ACTIVE') && getDolGlobalString('LDAP_MEMBER_ACTIVE') != Ldap::SYNCHRO_LDAP_TO_DOLIBARR) { print "
\n"; } diff --git a/htdocs/adherents/list.php b/htdocs/adherents/list.php index 014448a5a95b6..a3f5498aa08a3 100644 --- a/htdocs/adherents/list.php +++ b/htdocs/adherents/list.php @@ -533,7 +533,7 @@ // Direct jump if only one record found -if ($num == 1 && !empty($conf->global->MAIN_SEARCH_DIRECT_OPEN_IF_ONLY_ONE) && $search_all && !$page) { +if ($num == 1 && getDolGlobalString('MAIN_SEARCH_DIRECT_OPEN_IF_ONLY_ONE') && $search_all && !$page) { $obj = $db->fetch_object($resql); $id = $obj->rowid; header("Location: ".DOL_URL_ROOT.'/adherents/card.php?id='.$id); @@ -745,7 +745,7 @@ } // Line numbering -if (!empty($conf->global->MAIN_SHOW_TECHNICAL_ID)) { +if (getDolGlobalString('MAIN_SHOW_TECHNICAL_ID')) { print ''; } @@ -944,7 +944,7 @@ print_liste_field_titre($selectedfields, $_SERVER["PHP_SELF"], "", '', '', '', $sortfield, $sortorder, 'center maxwidthsearch actioncolumn '); $totalarray['nbfield']++; } -if (!empty($conf->global->MAIN_SHOW_TECHNICAL_ID)) { +if (getDolGlobalString('MAIN_SHOW_TECHNICAL_ID')) { print_liste_field_titre("ID", $_SERVER["PHP_SELF"], '', '', $param, 'align="center"', $sortfield, $sortorder); $totalarray['nbfield']++; } @@ -1138,7 +1138,7 @@ } } // Technical ID - if (!empty($conf->global->MAIN_SHOW_TECHNICAL_ID)) { + if (getDolGlobalString('MAIN_SHOW_TECHNICAL_ID')) { print ''; if (!$i) { $totalarray['nbfield']++; diff --git a/htdocs/adherents/note.php b/htdocs/adherents/note.php index f4f72fc93fa2e..1adbdb2db03b9 100644 --- a/htdocs/adherents/note.php +++ b/htdocs/adherents/note.php @@ -129,7 +129,7 @@ print '
'.$langs->trans("Login").' / '.$langs->trans("Id").''.dol_escape_htmltag($object->login).'
'.$langs->trans("Password").''; if ($object->pass) { print preg_replace('/./i', '*', $object->pass); @@ -1826,7 +1832,10 @@ function initfieldrequired() { } // Public - print '
'.$langs->trans("Public", getDolGlobalString('MAIN_INFO_SOCIETE_NOM'), $linkofpubliclist).''.yn($object->public).'
'; + $htmltext = $langs->trans("Public", getDolGlobalString('MAIN_INFO_SOCIETE_NOM'), $linkofpubliclist); + print $form->textwithpicto($langs->trans("MembershipPublic"), $htmltext, 1, 'help', '', 0, 3, 'membershippublic'); + print ''.yn($object->public).'
'.$langs->trans("Login").' / '.$langs->trans("Id").''.dol_escape_htmltag($object->login).'
'.$langs->trans("Login").' / '.$langs->trans("Id").''.$object->login.' 
'.$langs->trans("LDAPFieldPasswordNotCrypted").''.$object->pass.'
 '.$obj->rowid.'
'; // Login - if (empty($conf->global->ADHERENT_LOGIN_NOT_REQUIRED)) { + if (!getDolGlobalString('ADHERENT_LOGIN_NOT_REQUIRED')) { print ''; } diff --git a/htdocs/adherents/partnership.php b/htdocs/adherents/partnership.php index 3664187b34ed5..38f0886d2f970 100644 --- a/htdocs/adherents/partnership.php +++ b/htdocs/adherents/partnership.php @@ -171,7 +171,7 @@ print '
'.$langs->trans("Login").' / '.$langs->trans("Id").''.dol_escape_htmltag($object->login).'
'; // Login - if (empty($conf->global->ADHERENT_LOGIN_NOT_REQUIRED)) { + if (!getDolGlobalString('ADHERENT_LOGIN_NOT_REQUIRED')) { print ''; } diff --git a/htdocs/adherents/stats/byproperties.php b/htdocs/adherents/stats/byproperties.php index 1d0f0d92c166a..351b7092dd839 100644 --- a/htdocs/adherents/stats/byproperties.php +++ b/htdocs/adherents/stats/byproperties.php @@ -41,7 +41,7 @@ $result = restrictedArea($user, 'adherent', '', '', 'cotisation'); $year = dol_print_date(dol_now('gmt'), "%Y", 'gmt'); -$startyear = $year - (empty($conf->global->MAIN_STATS_GRAPHS_SHOW_N_YEARS) ? 2 : max(1, min(10, $conf->global->MAIN_STATS_GRAPHS_SHOW_N_YEARS))); +$startyear = $year - (!getDolGlobalString('MAIN_STATS_GRAPHS_SHOW_N_YEARS') ? 2 : max(1, min(10, $conf->global->MAIN_STATS_GRAPHS_SHOW_N_YEARS))); $endyear = $year; // Load translation files required by the page diff --git a/htdocs/adherents/stats/geo.php b/htdocs/adherents/stats/geo.php index b79d4a2fc0f34..56789510e880e 100644 --- a/htdocs/adherents/stats/geo.php +++ b/htdocs/adherents/stats/geo.php @@ -43,7 +43,7 @@ $result = restrictedArea($user, 'adherent', '', '', 'cotisation'); $year = dol_print_date(dol_now('gmt'), "%Y", 'gmt'); -$startyear = $year - (empty($conf->global->MAIN_STATS_GRAPHS_SHOW_N_YEARS) ? 2 : max(1, min(10, $conf->global->MAIN_STATS_GRAPHS_SHOW_N_YEARS))); +$startyear = $year - (!getDolGlobalString('MAIN_STATS_GRAPHS_SHOW_N_YEARS') ? 2 : max(1, min(10, $conf->global->MAIN_STATS_GRAPHS_SHOW_N_YEARS))); $endyear = $year; // Load translation files required by the page diff --git a/htdocs/adherents/stats/index.php b/htdocs/adherents/stats/index.php index 0efdda9fbd29a..13dce1b030e6a 100644 --- a/htdocs/adherents/stats/index.php +++ b/htdocs/adherents/stats/index.php @@ -48,8 +48,11 @@ $result = restrictedArea($user, 'adherent', '', '', 'cotisation'); $year = dol_print_date(dol_now('gmt'), "%Y", 'gmt'); -$startyear = $year - (empty($conf->global->MAIN_STATS_GRAPHS_SHOW_N_YEARS) ? 2 : max(1, min(10, $conf->global->MAIN_STATS_GRAPHS_SHOW_N_YEARS))); +$startyear = $year - (!getDolGlobalInt('MAIN_STATS_GRAPHS_SHOW_N_YEARS') ? 2 : max(1, min(10, getDolGlobalInt('MAIN_STATS_GRAPHS_SHOW_N_YEARS')))); $endyear = $year; +if (getDolGlobalString('MEMBER_SUBSCRIPTION_START_AFTER')) { + $endyear = dol_print_date(dol_time_plus_duree(dol_now('gmt'), (int) substr(getDolGlobalString('MEMBER_SUBSCRIPTION_START_AFTER'), 0, -1), substr(getDolGlobalString('MEMBER_SUBSCRIPTION_START_AFTER'), -1)), "%Y", 'gmt'); +} // Load translation files required by the page $langs->loadLangs(array("companies", "members")); diff --git a/htdocs/adherents/subscription.php b/htdocs/adherents/subscription.php index eb07c7ab048b5..182957bc97d68 100644 --- a/htdocs/adherents/subscription.php +++ b/htdocs/adherents/subscription.php @@ -6,6 +6,7 @@ * Copyright (C) 2015-2016 Alexandre Spangaro * Copyright (C) 2018-2023 Frédéric France * Copyright (C) 2019 Thibault FOUCART + * Copyright (C) 2023 Waël Almoman * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -53,7 +54,7 @@ $cancel = GETPOST('cancel'); // Load variable for pagination -$limit = GETPOST('limit', 'int') ?GETPOST('limit', 'int') : $conf->liste_limit; +$limit = GETPOST('limit', 'int') ? GETPOST('limit', 'int') : $conf->liste_limit; $sortfield = GETPOST('sortfield', 'aZ09comma'); $sortorder = GETPOST('sortorder', 'aZ09comma'); $page = GETPOSTISSET('pageplusone') ? (GETPOST('pageplusone') - 1) : GETPOST("page", 'int'); @@ -81,16 +82,13 @@ $errmsg = ''; -$defaultdelay = 1; -$defaultdelayunit = 'y'; - // Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context $hookmanager->initHooks(array('subscription')); // PDF -$hidedetails = (GETPOST('hidedetails', 'int') ? GETPOST('hidedetails', 'int') : (!empty($conf->global->MAIN_GENERATE_DOCUMENTS_HIDE_DETAILS) ? 1 : 0)); -$hidedesc = (GETPOST('hidedesc', 'int') ? GETPOST('hidedesc', 'int') : (!empty($conf->global->MAIN_GENERATE_DOCUMENTS_HIDE_DESC) ? 1 : 0)); -$hideref = (GETPOST('hideref', 'int') ? GETPOST('hideref', 'int') : (!empty($conf->global->MAIN_GENERATE_DOCUMENTS_HIDE_REF) ? 1 : 0)); +$hidedetails = (GETPOST('hidedetails', 'int') ? GETPOST('hidedetails', 'int') : (getDolGlobalString('MAIN_GENERATE_DOCUMENTS_HIDE_DETAILS') ? 1 : 0)); +$hidedesc = (GETPOST('hidedesc', 'int') ? GETPOST('hidedesc', 'int') : (getDolGlobalString('MAIN_GENERATE_DOCUMENTS_HIDE_DESC') ? 1 : 0)); +$hideref = (GETPOST('hideref', 'int') ? GETPOST('hideref', 'int') : (getDolGlobalString('MAIN_GENERATE_DOCUMENTS_HIDE_REF') ? 1 : 0)); $datefrom = 0; $dateto = 0; @@ -213,6 +211,8 @@ // Subscription informations $datesubscription = 0; $datesubend = 0; + $defaultdelay = !empty($adht->duration_value) ? $adht->duration_value : 1; + $defaultdelayunit = !empty($adht->duration_unit) ? $adht->duration_unit : 'y'; $paymentdate = ''; // Do not use 0 here, default value is '' that means not filled where 0 means 1970-01-01 if (GETPOST("reyear", "int") && GETPOST("remonth", "int") && GETPOST("reday", "int")) { $datesubscription = dol_mktime(0, 0, 0, GETPOST("remonth", "int"), GETPOST("reday", "int"), GETPOST("reyear", "int")); @@ -476,10 +476,13 @@ $adht->fetch($object->typeid); +$defaultdelay = !empty($adht->duration_value) ? $adht->duration_value : 1; +$defaultdelayunit = !empty($adht->duration_unit) ? $adht->duration_unit : 'y'; + $head = member_prepare_head($object); $rowspan = 10; -if (empty($conf->global->ADHERENT_LOGIN_NOT_REQUIRED)) { +if (!getDolGlobalString('ADHERENT_LOGIN_NOT_REQUIRED')) { $rowspan++; } if (isModEnabled('societe')) { @@ -507,7 +510,7 @@ print '
'.$langs->trans("Login").' / '.$langs->trans("Id").''.$object->login.' 
'; // Login -if (empty($conf->global->ADHERENT_LOGIN_NOT_REQUIRED)) { +if (!getDolGlobalString('ADHERENT_LOGIN_NOT_REQUIRED')) { print ''; } @@ -528,7 +531,7 @@ print ''; // Password -if (empty($conf->global->ADHERENT_LOGIN_NOT_REQUIRED)) { +if (!getDolGlobalString('ADHERENT_LOGIN_NOT_REQUIRED')) { print ''."\n"; +print ''."\n"; // Address print ''."\n"; +print ''."\n"; // ZIP print ''."\n"; +print ''."\n"; // Town/City print ''."\n"; +print ''."\n"; // Country print ''."\n"; // Telephone print ''; +print ''; print ''."\n"; // Fax print ''; +print ''; print ''."\n"; // eMail print ''; +print ''; print ''."\n"; // Web print ''; +print ''; print ''."\n"; // Code print ''."\n"; +print ''."\n"; // Note print ''; +print ''; print ''; print '
'.$langs->trans("Login").' / '.$langs->trans("Id").''.dol_escape_htmltag($object->login).'
'.$langs->trans("Password").''; if ($object->pass) { print preg_replace('/./i', '*', $object->pass); @@ -854,11 +857,11 @@ $bankviainvoice = 1; } } else { - if (!empty($conf->global->ADHERENT_BANK_USE) && $conf->global->ADHERENT_BANK_USE == 'bankviainvoice' && isModEnabled('banque') && isModEnabled('societe') && isModEnabled('facture')) { + if (getDolGlobalString('ADHERENT_BANK_USE') == 'bankviainvoice' && isModEnabled('banque') && isModEnabled('societe') && isModEnabled('facture')) { $bankviainvoice = 1; - } elseif (!empty($conf->global->ADHERENT_BANK_USE) && $conf->global->ADHERENT_BANK_USE == 'bankdirect' && isModEnabled('banque')) { + } elseif (getDolGlobalString('ADHERENT_BANK_USE') == 'bankdirect' && isModEnabled('banque')) { $bankdirect = 1; - } elseif (!empty($conf->global->ADHERENT_BANK_USE) && $conf->global->ADHERENT_BANK_USE == 'invoiceonly' && isModEnabled('banque') && isModEnabled('societe') && isModEnabled('facture')) { + } elseif (getDolGlobalString('ADHERENT_BANK_USE') == 'invoiceonly' && isModEnabled('banque') && isModEnabled('societe') && isModEnabled('facture')) { $invoiceonly = 1; } } @@ -925,7 +928,7 @@ array('label' => $langs->trans("AliasNames"), 'type' => 'text', 'name' => 'companyalias', 'value' => $companyalias, 'morecss' => 'minwidth300', 'moreattr' => 'maxlength="128"') ); // If customer code was forced to "required", we ask it at creation to avoid error later - if (!empty($conf->global->MAIN_COMPANY_CODE_ALWAYS_REQUIRED)) { + if (getDolGlobalString('MAIN_COMPANY_CODE_ALWAYS_REQUIRED')) { $tmpcompany = new Societe($db); $tmpcompany->name = $companyname; $tmpcompany->get_codeclient($tmpcompany, 0); @@ -958,8 +961,6 @@ print ''."\n"; print ''; - $now = dol_now(); - // Date payment if (GETPOST('paymentyear') && GETPOST('paymentmonth') && GETPOST('paymentday')) { $paymentdate = dol_mktime(0, 0, 0, GETPOST('paymentmonth'), GETPOST('paymentday'), GETPOST('paymentyear')); @@ -975,10 +976,16 @@ } if (!$datefrom) { $datefrom = $object->datevalid; - if ($object->datefin > 0 && dol_time_plus_duree($object->datefin, $defaultdelay, $defaultdelayunit) > dol_now()) { + if (getDolGlobalString('MEMBER_SUBSCRIPTION_START_AFTER')) { + $datefrom = dol_time_plus_duree($now, (int) substr(getDolGlobalString('MEMBER_SUBSCRIPTION_START_AFTER'), 0, -1), substr(getDolGlobalString('MEMBER_SUBSCRIPTION_START_AFTER'), -1)); + } elseif ($object->datefin > 0 && dol_time_plus_duree($object->datefin, $defaultdelay, $defaultdelayunit) > $now) { $datefrom = dol_time_plus_duree($object->datefin, 1, 'd'); - } else { - $datefrom = dol_get_first_day($currentyear); + } + + if (getDolGlobalString('MEMBER_SUBSCRIPTION_START_FIRST_DAY_OF') === "m") { + $datefrom = dol_get_first_day(dol_print_date($datefrom, "%Y"), dol_print_date($datefrom, "%m")); + } elseif (getDolGlobalString('MEMBER_SUBSCRIPTION_START_FIRST_DAY_OF') === "Y") { + $datefrom = dol_get_first_day(dol_print_date($datefrom, "%Y")); } } print $form->selectDate($datefrom, '', '', '', '', "subscription", 1, 1); @@ -990,9 +997,9 @@ } if (!$dateto) { if (getDolGlobalInt('MEMBER_SUBSCRIPTION_SUGGEST_END_OF_MONTH')) { - $dateto = dol_get_last_day($currentyear, $currentmonth); + $dateto = dol_get_last_day(dol_print_date($datefrom, "%Y"), dol_print_date($datefrom, "%m")); } elseif (getDolGlobalInt('MEMBER_SUBSCRIPTION_SUGGEST_END_OF_YEAR')) { - $dateto = dol_get_last_day($currentyear); + $dateto = dol_get_last_day(dol_print_date($datefrom, "%Y")); } else { $dateto = -1; // By default, no date is suggested } @@ -1049,10 +1056,10 @@ print $langs->trans("CreateDolibarrThirdParty"); print ')'; } - if (empty($conf->global->ADHERENT_VAT_FOR_SUBSCRIPTIONS) || $conf->global->ADHERENT_VAT_FOR_SUBSCRIPTIONS != 'defaultforfoundationcountry') { + if (!getDolGlobalString('ADHERENT_VAT_FOR_SUBSCRIPTIONS') || $conf->global->ADHERENT_VAT_FOR_SUBSCRIPTIONS != 'defaultforfoundationcountry') { print '. '.$langs->trans("NoVatOnSubscription", 0).''; } - if (!empty($conf->global->ADHERENT_PRODUCT_ID_FOR_SUBSCRIPTIONS) && (isModEnabled('product') || isModEnabled('service'))) { + if (getDolGlobalString('ADHERENT_PRODUCT_ID_FOR_SUBSCRIPTIONS') && (isModEnabled('product') || isModEnabled('service'))) { $prodtmp = new Product($db); $result = $prodtmp->fetch($conf->global->ADHERENT_PRODUCT_ID_FOR_SUBSCRIPTIONS); if ($result < 0) { @@ -1079,10 +1086,10 @@ print $langs->trans("CreateDolibarrThirdParty"); print ')'; } - if (empty($conf->global->ADHERENT_VAT_FOR_SUBSCRIPTIONS) || $conf->global->ADHERENT_VAT_FOR_SUBSCRIPTIONS != 'defaultforfoundationcountry') { + if (!getDolGlobalString('ADHERENT_VAT_FOR_SUBSCRIPTIONS') || $conf->global->ADHERENT_VAT_FOR_SUBSCRIPTIONS != 'defaultforfoundationcountry') { print '. '.$langs->trans("NoVatOnSubscription", 0).''; } - if (!empty($conf->global->ADHERENT_PRODUCT_ID_FOR_SUBSCRIPTIONS) && (isModEnabled('product')|| isModEnabled('service'))) { + if (getDolGlobalString('ADHERENT_PRODUCT_ID_FOR_SUBSCRIPTIONS') && (isModEnabled('product')|| isModEnabled('service'))) { $prodtmp = new Product($db); $result = $prodtmp->fetch($conf->global->ADHERENT_PRODUCT_ID_FOR_SUBSCRIPTIONS); if ($result < 0) { @@ -1167,7 +1174,7 @@ $subjecttosend = make_substitutions($subject, $substitutionarray, $outputlangs); $texttosend = make_substitutions(dol_concatdesc($msg, $adht->getMailOnSubscription()), $substitutionarray, $outputlangs); - $tmp = 'global->ADHERENT_DEFAULT_SENDINFOBYMAIL) ? ' checked' : '')).'>'; + $tmp = ''; $helpcontent = ''; $helpcontent .= ''.$langs->trans("MailFrom").': '.getDolGlobalString('ADHERENT_MAIL_FROM').'
'."\n"; $helpcontent .= ''.$langs->trans("MailRecipient").': '.$object->email.'
'."\n"; diff --git a/htdocs/adherents/subscription/card.php b/htdocs/adherents/subscription/card.php index a9446083faf86..d1b5e9c9514b8 100644 --- a/htdocs/adherents/subscription/card.php +++ b/htdocs/adherents/subscription/card.php @@ -237,7 +237,7 @@ print ''; // Bank line - if (isModEnabled("banque") && (!empty($conf->global->ADHERENT_BANK_USE) || $object->fk_bank)) { + if (isModEnabled("banque") && (getDolGlobalString('ADHERENT_BANK_USE') || $object->fk_bank)) { print ''; // Bank line - if (isModEnabled("banque") && (!empty($conf->global->ADHERENT_BANK_USE) || $object->fk_bank)) { + if (isModEnabled("banque") && (getDolGlobalString('ADHERENT_BANK_USE') || $object->fk_bank)) { print ''; } // Line numbering -if (!empty($conf->global->MAIN_SHOW_TECHNICAL_ID)) { +if (getDolGlobalString('MAIN_SHOW_TECHNICAL_ID')) { print ''; } diff --git a/htdocs/adherents/type.php b/htdocs/adherents/type.php index 7d201cd2625fe..36508566f2874 100644 --- a/htdocs/adherents/type.php +++ b/htdocs/adherents/type.php @@ -187,7 +187,7 @@ if ($action == 'update' && $user->hasRight('adherent', 'configurer')) { $object->fetch($rowid); - $object->oldcopy = dol_clone($object); + $object->oldcopy = dol_clone($object, 2); $object->label= trim($label); $object->morphy = trim($morphy); @@ -280,6 +280,7 @@ $newcardbutton .= dolGetButtonTitle($langs->trans('ViewKanban'), '', 'fa fa-th-list imgforviewmode', $_SERVER["PHP_SELF"].'?mode=kanban'.preg_replace('/(&|\?)*mode=[^&]+/', '', $param), '', ($mode == 'kanban' ? 2 : 1), array('morecss'=>'reposition')); if ($user->hasRight('adherent', 'configurer')) { + $newcardbutton .= dolGetButtonTitleSeparator(); $newcardbutton .= dolGetButtonTitle($langs->trans('NewMemberType'), '', 'fa fa-plus-circle', DOL_URL_ROOT.'/adherents/type.php?action=create'); } diff --git a/htdocs/adherents/type_ldap.php b/htdocs/adherents/type_ldap.php index 058e36fe1bd56..5e4e4822c72b4 100644 --- a/htdocs/adherents/type_ldap.php +++ b/htdocs/adherents/type_ldap.php @@ -101,17 +101,17 @@ print '
'.$langs->trans("BankTransactionLine").''; if ($object->fk_bank) { $bankline = new AccountLine($db); @@ -278,7 +278,7 @@ $formquestion=array(); //$formquestion['text']=''.$langs->trans("ThisWillAlsoDeleteBankRecord").''; $text = $langs->trans("ConfirmDeleteSubscription"); - if (isModEnabled("banque") && !empty($conf->global->ADHERENT_BANK_USE)) { + if (isModEnabled("banque") && getDolGlobalString('ADHERENT_BANK_USE')) { $text .= '
'.img_warning().' '.$langs->trans("ThisWillAlsoDeleteBankRecord"); } print $form->formconfirm($_SERVER["PHP_SELF"]."?rowid=".$object->id, $langs->trans("DeleteSubscription"), $text, "confirm_delete", $formquestion, 0, 1); @@ -333,7 +333,7 @@ print '
'.$langs->trans("Label").''.dol_string_onlythesehtmltags(dol_htmlentitiesbr($object->note_private)).'
'.$langs->trans("BankTransactionLine").''; if ($object->fk_bank) { $bankline = new AccountLine($db); diff --git a/htdocs/adherents/subscription/list.php b/htdocs/adherents/subscription/list.php index a5db0947a873a..cc662e441da71 100644 --- a/htdocs/adherents/subscription/list.php +++ b/htdocs/adherents/subscription/list.php @@ -276,7 +276,7 @@ // Direct jump if only one record found -if ($num == 1 && !empty($conf->global->MAIN_SEARCH_DIRECT_OPEN_IF_ONLY_ONE) && $search_all && !$page) { +if ($num == 1 && getDolGlobalString('MAIN_SEARCH_DIRECT_OPEN_IF_ONLY_ONE') && $search_all && !$page) { $obj = $db->fetch_object($resql); $id = $obj->rowid; header("Location: ".DOL_URL_ROOT.'/adherents/subscription/card.php?id='.$id); @@ -431,7 +431,7 @@ print ' 
'; // LDAP DN -print '\n"; +print '\n"; // LDAP Cle -print '\n"; +print '\n"; // LDAP Server -print '\n"; -print '\n"; -print '\n"; -print '\n"; -print '\n"; +print '\n"; +print '\n"; +print '\n"; +print '\n"; +print '\n"; print '
LDAP '.$langs->trans("LDAPMemberTypeDn").''.$conf->global->LDAP_MEMBER_TYPE_DN."
LDAP '.$langs->trans("LDAPMemberTypeDn").'' . getDolGlobalString('LDAP_MEMBER_TYPE_DN')."
LDAP '.$langs->trans("LDAPNamingAttribute").''.$conf->global->LDAP_KEY_MEMBERS_TYPES."
LDAP '.$langs->trans("LDAPNamingAttribute").'' . getDolGlobalString('LDAP_KEY_MEMBERS_TYPES')."
LDAP '.$langs->trans("Type").''.$conf->global->LDAP_SERVER_TYPE."
LDAP '.$langs->trans("Version").''.$conf->global->LDAP_SERVER_PROTOCOLVERSION."
LDAP '.$langs->trans("LDAPPrimaryServer").''.$conf->global->LDAP_SERVER_HOST."
LDAP '.$langs->trans("LDAPSecondaryServer").''.$conf->global->LDAP_SERVER_HOST_SLAVE."
LDAP '.$langs->trans("LDAPServerPort").''.$conf->global->LDAP_SERVER_PORT."
LDAP '.$langs->trans("Type").'' . getDolGlobalString('LDAP_SERVER_TYPE')."
LDAP '.$langs->trans("Version").'' . getDolGlobalString('LDAP_SERVER_PROTOCOLVERSION')."
LDAP '.$langs->trans("LDAPPrimaryServer").'' . getDolGlobalString('LDAP_SERVER_HOST')."
LDAP '.$langs->trans("LDAPSecondaryServer").'' . getDolGlobalString('LDAP_SERVER_HOST_SLAVE')."
LDAP '.$langs->trans("LDAPServerPort").'' . getDolGlobalString('LDAP_SERVER_PORT')."
'; diff --git a/htdocs/admin/accountant.php b/htdocs/admin/accountant.php index a98b998400978..8dac970e6fef1 100644 --- a/htdocs/admin/accountant.php +++ b/htdocs/admin/accountant.php @@ -121,24 +121,24 @@ // Name of Accountant Company print '
'; -print 'global->MAIN_INFO_ACCOUNTANT_NAME) ? ' autofocus="autofocus"' : '').'>
'; -print '
'; -print '
'; -print '
'; print img_picto('', 'globe-americas', 'class="pictofixedwidth"'); -print $form->select_country((GETPOSTISSET('country_id') ? GETPOST('country_id', 'int') : (!empty($conf->global->MAIN_INFO_ACCOUNTANT_COUNTRY) ? $conf->global->MAIN_INFO_ACCOUNTANT_COUNTRY : '')), 'country_id'); +print $form->select_country((GETPOSTISSET('country_id') ? GETPOST('country_id', 'int') : (getDolGlobalString('MAIN_INFO_ACCOUNTANT_COUNTRY') ? $conf->global->MAIN_INFO_ACCOUNTANT_COUNTRY : '')), 'country_id'); if ($user->admin) { print info_admin($langs->trans("YouCanChangeValuesForThisListFromDictionarySetup"), 1); } @@ -147,40 +147,40 @@ // State print '
'; print img_picto('', 'state', 'class="pictofixedwidth"'); -print $formcompany->select_state((GETPOSTISSET('state_id') ? GETPOST('state_id', 'int') : (!empty($conf->global->MAIN_INFO_ACCOUNTANT_STATE) ? $conf->global->MAIN_INFO_ACCOUNTANT_STATE : '')), (GETPOSTISSET('country_id') ? GETPOST('country_id', 'int') : (!empty($conf->global->MAIN_INFO_ACCOUNTANT_COUNTRY) ? $conf->global->MAIN_INFO_ACCOUNTANT_COUNTRY : '')), 'state_id'); +print $formcompany->select_state((GETPOSTISSET('state_id') ? GETPOST('state_id', 'int') : (getDolGlobalString('MAIN_INFO_ACCOUNTANT_STATE') ? $conf->global->MAIN_INFO_ACCOUNTANT_STATE : '')), (GETPOSTISSET('country_id') ? GETPOST('country_id', 'int') : (getDolGlobalString('MAIN_INFO_ACCOUNTANT_COUNTRY') ? $conf->global->MAIN_INFO_ACCOUNTANT_COUNTRY : '')), 'state_id'); print '
'; print img_picto('', 'object_phoning', '', false, 0, 0, '', 'pictofixedwidth'); -print '
'; print img_picto('', 'object_phoning_fax', '', false, 0, 0, '', 'pictofixedwidth'); -print '
'; print img_picto('', 'object_email', '', false, 0, 0, '', 'pictofixedwidth'); -print '
'; print img_picto('', 'globe', '', false, 0, 0, '', 'pictofixedwidth'); -print '
'; -print '
'; -print '
'; diff --git a/htdocs/admin/agenda.php b/htdocs/admin/agenda.php index b6e30f65454f9..b7d8176936494 100644 --- a/htdocs/admin/agenda.php +++ b/htdocs/admin/agenda.php @@ -188,10 +188,10 @@ //print 'module='.$module.' code='.$trigger['code'].'
'; if (isModEnabled($module)) { // Discard special case: If option FICHINTER_CLASSIFY_BILLED is not set, we discard both trigger FICHINTER_CLASSIFY_BILLED and FICHINTER_CLASSIFY_UNBILLED - if ($trigger['code'] == 'FICHINTER_CLASSIFY_BILLED' && empty($conf->global->FICHINTER_CLASSIFY_BILLED)) { + if ($trigger['code'] == 'FICHINTER_CLASSIFY_BILLED' && !getDolGlobalString('FICHINTER_CLASSIFY_BILLED')) { continue; } - if ($trigger['code'] == 'FICHINTER_CLASSIFY_UNBILLED' && empty($conf->global->FICHINTER_CLASSIFY_BILLED)) { + if ($trigger['code'] == 'FICHINTER_CLASSIFY_UNBILLED' && !getDolGlobalString('FICHINTER_CLASSIFY_BILLED')) { continue; } if ($trigger['code'] == 'ACTION_CREATE') { diff --git a/htdocs/admin/agenda_extsites.php b/htdocs/admin/agenda_extsites.php index 8237911acaaf3..a158a97b27993 100644 --- a/htdocs/admin/agenda_extsites.php +++ b/htdocs/admin/agenda_extsites.php @@ -44,7 +44,7 @@ $def = array(); $action = GETPOST('action', 'alpha'); -if (empty($conf->global->AGENDA_EXT_NB)) { +if (!getDolGlobalString('AGENDA_EXT_NB')) { $conf->global->AGENDA_EXT_NB = 5; } $MAXAGENDA = $conf->global->AGENDA_EXT_NB; @@ -157,10 +157,10 @@ if (!($res > 0)) { $error++; } - if (empty($conf->global->AGENDA_EXT_NB)) { + if (!getDolGlobalString('AGENDA_EXT_NB')) { $conf->global->AGENDA_EXT_NB = 5; } - $MAXAGENDA = empty($conf->global->AGENDA_EXT_NB) ? 5 : $conf->global->AGENDA_EXT_NB; + $MAXAGENDA = !getDolGlobalString('AGENDA_EXT_NB') ? 5 : $conf->global->AGENDA_EXT_NB; } if (!$error) { @@ -221,7 +221,7 @@ if ($conf->use_javascript_ajax) { print ajax_constantonoff('AGENDA_DISABLE_EXT', array('enabled'=>array(0=>'.hideifnotset')), null, 1); } else { - if (empty($conf->global->AGENDA_DISABLE_EXT)) { + if (!getDolGlobalString('AGENDA_DISABLE_EXT')) { print ''.img_picto($langs->trans("Enabled"), 'on').''; } else { print ''.img_picto($langs->trans("Disabled"), 'off').''; @@ -235,7 +235,7 @@ print ''; print "".$langs->trans("ExtSitesNbOfAgenda").""; print ''; -print ''; +print ''; print ""; print ""; @@ -274,7 +274,6 @@ print ''; // Color (Possible colors are limited by Google) print ''; - //print $formadmin->selectColor($conf->global->$color, "google_agenda_color".$key, $colorlist); print $formother->selectColor((GETPOST("AGENDA_EXT_COLOR" . $key) ? GETPOST("AGENDA_EXT_COLOR" . $key) : getDolGlobalString($color)), "AGENDA_EXT_COLOR" . $key, 'extsitesconfig', 1, '', 'hideifnotset'); print ''; // Calendar active by default diff --git a/htdocs/admin/agenda_other.php b/htdocs/admin/agenda_other.php index 0b172c4e36eea..9c3adf8f75acf 100644 --- a/htdocs/admin/agenda_other.php +++ b/htdocs/admin/agenda_other.php @@ -343,14 +343,14 @@ print ' '."\n"; print ''."\n"; //print ajax_constantonoff('AGENDA_USE_EVENT_TYPE'); Do not use ajax here, we need to reload page to change other combo list -if (empty($conf->global->AGENDA_USE_EVENT_TYPE)) { +if (!getDolGlobalString('AGENDA_USE_EVENT_TYPE')) { print ''.img_picto($langs->trans("Disabled"), 'switch_off').''; } else { print ''.img_picto($langs->trans("Enabled"), 'switch_on').''; } print ''."\n"; -if (!empty($conf->global->AGENDA_USE_EVENT_TYPE)) { +if (getDolGlobalString('AGENDA_USE_EVENT_TYPE')) { print ''; print ''."\n"; print ''.$langs->trans("AGENDA_USE_EVENT_TYPE_DEFAULT").''."\n"; @@ -382,9 +382,9 @@ print ' '."\n"; print ''."\n"; $multiselect = 0; -if (!empty($conf->global->MAIN_ENABLE_MULTISELECT_TYPE)) { +if (getDolGlobalString('MAIN_ENABLE_MULTISELECT_TYPE')) { // We use an option here because it adds bugs when used on agenda page "peruser" and "list" - $multiselect = (!empty($conf->global->AGENDA_USE_EVENT_TYPE)); + $multiselect = (getDolGlobalString('AGENDA_USE_EVENT_TYPE')); } $formactions->select_type_actions(getDolGlobalString('AGENDA_DEFAULT_FILTER_TYPE'), "AGENDA_DEFAULT_FILTER_TYPE", '', (getDolGlobalString('AGENDA_USE_EVENT_TYPE') ? -1 : 1), 1, $multiselect); print ''."\n"; diff --git a/htdocs/admin/agenda_reminder.php b/htdocs/admin/agenda_reminder.php index 42967b4f2759c..4cfb06232ef72 100644 --- a/htdocs/admin/agenda_reminder.php +++ b/htdocs/admin/agenda_reminder.php @@ -171,7 +171,7 @@ print ' '."\n"; print ''."\n"; -if (empty($conf->global->AGENDA_REMINDER_BROWSER)) { +if (!getDolGlobalString('AGENDA_REMINDER_BROWSER')) { if (!isHTTPS()) { $langs->load("errors"); print img_warning($langs->trans("WarningAvailableOnlyForHTTPSServers"), '', 'valignmiddle size15x').' '; @@ -191,7 +191,7 @@ print ' '."\n"; print ''."\n"; - if (empty($conf->global->AGENDA_REMINDER_BROWSER_SOUND)) { + if (!getDolGlobalString('AGENDA_REMINDER_BROWSER_SOUND')) { print ''.img_picto($langs->trans('Disabled'), 'switch_off').''; } else { print ''.img_picto($langs->trans('Enabled'), 'switch_on').''; @@ -207,7 +207,7 @@ print ''."\n"; print ''.$langs->trans('AGENDA_REMINDER_EMAIL', $langs->transnoentities("Module2300Name")); if (isModEnabled('cron')) { - if (!empty($conf->global->AGENDA_REMINDER_EMAIL)) { + if (getDolGlobalString('AGENDA_REMINDER_EMAIL')) { if ($job->id > 0) { if ($job->status == $job::STATUS_ENABLED) { print '
'.$langs->trans("AGENDA_REMINDER_EMAIL_NOTE", $langs->transnoentitiesnoconv("sendEmailsReminder")).''; @@ -222,7 +222,7 @@ if (!isModEnabled('cron')) { print ''.$langs->trans("WarningModuleNotActive", $langs->transnoentitiesnoconv("Module2300Name")).''; } else { - if (empty($conf->global->AGENDA_REMINDER_EMAIL)) { + if (!getDolGlobalString('AGENDA_REMINDER_EMAIL')) { print ''.img_picto($langs->trans('Disabled'), 'switch_off').''; } else { // Get the max frequency of reminder diff --git a/htdocs/admin/agenda_xcal.php b/htdocs/admin/agenda_xcal.php index a3e9881516e55..e8f951a4734d6 100644 --- a/htdocs/admin/agenda_xcal.php +++ b/htdocs/admin/agenda_xcal.php @@ -182,7 +182,7 @@ $message .= img_picto('', 'globe').' '.str_replace('{url}', $urlvcal, ''.$langs->trans("WebCalUrlForVCalExport", 'vcal', '').''); $message .= ''; @@ -194,7 +194,7 @@ $message .= img_picto('', 'globe').' '.str_replace('{url}', $urlical, ''.$langs->trans("WebCalUrlForVCalExport", 'ical/ics', '').''); $message .= ''; @@ -206,7 +206,7 @@ $message .= img_picto('', 'globe').' '.str_replace('{url}', $urlrss, ''.$langs->trans("WebCalUrlForVCalExport", 'rss', '').''); $message .= ''; diff --git a/htdocs/admin/bank.php b/htdocs/admin/bank.php index afd0540cca3af..bf05c79c3352c 100644 --- a/htdocs/admin/bank.php +++ b/htdocs/admin/bank.php @@ -24,6 +24,7 @@ * \ingroup bank * \brief Page to setup the bank module */ + require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/bank.lib.php'; @@ -209,13 +210,13 @@ //Show bank account order print load_fiche_titre($langs->trans("BankOrderShow"), '', ''); +print '
'; print ''; print ''; -print ''; -print ''; +print ''; +print ''; print ''; print ''; -print ''; print "\n"; $bankorder[0][0] = $langs->trans("BankOrderGlobal"); @@ -248,16 +249,16 @@ print img_picto($langs->trans("Activated"), 'on'); print ''; } else { - print ''; } - print ''; print ''."\n"; $i++; } print '
'.$langs->trans("Name").''.$langs->trans("Description").''.$langs->trans("Name").''.$langs->trans("Description").''.$langs->trans("Example").''.$langs->trans("Status").' 
'; + print ''; print img_picto($langs->trans("Disabled"), 'off'); print ' 
'."\n"; +print "
"; print '

'; @@ -287,15 +288,16 @@ dol_print_error($db); } -print "\n"; -print "\n"; +print '
'; +print '
'."\n"; +print ''."\n"; print ''; -print ''; +print ''; print '\n"; print '\n"; print ''; print ''; -print "\n"; +print ''."\n"; clearstatcache(); @@ -400,18 +402,20 @@ } } print '
'.$langs->trans("Name").''.$langs->trans("Description").''.$langs->trans("Description").''.$langs->trans("Status")."'.$langs->trans("Default")."'.$langs->trans("ShortInfo").''.$langs->trans("Preview").'
'; -//} +print '
'; print '

'; print load_fiche_titre($langs->trans("BankColorizeMovement"), '', ''); -print ''; -print "\n"; + +print '
'; +print '
'."\n"; +print ''."\n"; print ''; -print ''."\n"; +print ''."\n"; print "\n"; -print '"; // Active @@ -448,6 +452,7 @@ } } print '
'.$langs->trans("Name").''.$langs->trans("Value").''.$langs->trans("Value").'
'; +print '
'; print $langs->trans('BankColorizeMovementDesc'); print "
'; +print '
'; print '

'; @@ -458,14 +463,15 @@ print load_fiche_titre($langs->trans("Other"), '', ''); -print "\n"; -print "\n"; +print '
'; +print '
'."\n"; +print ''."\n"; print ''; print ''; -print '\n"; +print '\n"; print "\n"; -print ''; - print ''; - print ''; + print ''; + print ''; } - print '
'.$langs->trans("Name").''.$langs->trans("Description").''.$langs->trans("Status")."'.$langs->trans("Status")."
'; +print '
'; print $langs->trans('AccountStatement'); print "\n"; print $langs->trans('AutoReportLastAccountStatement'); @@ -487,14 +493,16 @@ // Allow SEPA Mandate OnLine Sign if (!getDolGlobalInt('SOCIETE_DISABLE_BANKACCOUNT')) { print '
'.$langs->trans("AllowOnLineSign").''.$langs->trans("BankAccountModelModule").''; + print ''.$langs->trans("AllowOnLineSign").''.$langs->trans("BankAccountModelModule").''; print ajax_constantonoff('SOCIETE_RIB_ALLOW_ONLINESIGN', array(), null, 0, 0, 0, 2, 0, 1); print '
'; +print '
'; + print dol_get_fiche_end(); print $form->buttonsSaveCancel("Save", ''); diff --git a/htdocs/admin/barcode.php b/htdocs/admin/barcode.php index 176816c0f8860..ee65a3d2e8976 100644 --- a/htdocs/admin/barcode.php +++ b/htdocs/admin/barcode.php @@ -51,7 +51,7 @@ if ($action == 'setbarcodeproducton') { $barcodenumberingmodule = GETPOST('value', 'alpha'); $res = dolibarr_set_const($db, "BARCODE_PRODUCT_ADDON_NUM", $barcodenumberingmodule, 'chaine', 0, '', $conf->entity); - if ($barcodenumberingmodule == 'mod_barcode_product_standard' && empty($conf->global->BARCODE_STANDARD_PRODUCT_MASK)) { + if ($barcodenumberingmodule == 'mod_barcode_product_standard' && !getDolGlobalString('BARCODE_STANDARD_PRODUCT_MASK')) { $res = dolibarr_set_const($db, "BARCODE_STANDARD_PRODUCT_MASK", '04{0000000000}', 'chaine', 0, '', $conf->entity); } } elseif ($action == 'setbarcodeproductoff') { @@ -61,7 +61,7 @@ if ($action == 'setbarcodethirdpartyon') { $barcodenumberingmodule = GETPOST('value', 'alpha'); $res = dolibarr_set_const($db, "BARCODE_THIRDPARTY_ADDON_NUM", $barcodenumberingmodule, 'chaine', 0, '', $conf->entity); - if ($barcodenumberingmodule == 'mod_barcode_thirdparty_standard' && empty($conf->global->BARCODE_STANDARD_THIRDPARTY_MASK)) { + if ($barcodenumberingmodule == 'mod_barcode_thirdparty_standard' && !getDolGlobalString('BARCODE_STANDARD_THIRDPARTY_MASK')) { $res = dolibarr_set_const($db, "BARCODE_STANDARD_THIRDPARTY_MASK", '04{0000000000}', 'chaine', 0, '', $conf->entity); } } elseif ($action == 'setbarcodethirdpartyoff') { @@ -231,7 +231,7 @@ print ''; print ''.$modBarCode->getExample($langs)."\n"; - if (!empty($conf->global->BARCODE_PRODUCT_ADDON_NUM) && $conf->global->BARCODE_PRODUCT_ADDON_NUM == "$file") { + if (getDolGlobalString('BARCODE_PRODUCT_ADDON_NUM') && $conf->global->BARCODE_PRODUCT_ADDON_NUM == "$file") { print ''; print img_picto($langs->trans("Activated"), 'switch_on'); print ''; @@ -292,7 +292,7 @@ print ''; print ''.$modBarCode->getExample($langs)."\n"; - if (!empty($conf->global->BARCODE_THIRDPARTY_ADDON_NUM) && $conf->global->BARCODE_THIRDPARTY_ADDON_NUM == "$file") { + if (getDolGlobalString('BARCODE_THIRDPARTY_ADDON_NUM') && $conf->global->BARCODE_THIRDPARTY_ADDON_NUM == "$file") { print ''; print img_picto($langs->trans("Activated"), 'switch_on'); print ''; @@ -443,7 +443,7 @@ print ''.$langs->trans("GenbarcodeLocation").''; print ''; print ''; - if (!empty($conf->global->GENBARCODE_LOCATION) && !@file_exists($conf->global->GENBARCODE_LOCATION)) { + if (getDolGlobalString('GENBARCODE_LOCATION') && !@file_exists($conf->global->GENBARCODE_LOCATION)) { $langs->load("errors"); print '
'.$langs->trans("ErrorFileNotFound", $conf->global->GENBARCODE_LOCATION).''; } diff --git a/htdocs/admin/bom.php b/htdocs/admin/bom.php index 994db34068702..e76e2ad2b8580 100644 --- a/htdocs/admin/bom.php +++ b/htdocs/admin/bom.php @@ -453,7 +453,7 @@ print ''; print $form->textwithpicto($langs->trans("FreeLegalTextOnBOMs"), $langs->trans("AddCRIfTooLong").'

'.$htmltext, 1, 'help', '', 0, 2, 'freetexttooltip').'
'; $variablename = 'BOM_FREE_TEXT'; -if (empty($conf->global->PDF_ALLOW_HTML_FOR_FREE_TEXT)) { +if (!getDolGlobalString('PDF_ALLOW_HTML_FOR_FREE_TEXT')) { print ''; } else { include_once DOL_DOCUMENT_ROOT.'/core/class/doleditor.class.php'; diff --git a/htdocs/admin/chequereceipts.php b/htdocs/admin/chequereceipts.php index 98d2c80579c96..b41ed441a1739 100644 --- a/htdocs/admin/chequereceipts.php +++ b/htdocs/admin/chequereceipts.php @@ -43,7 +43,7 @@ $value = GETPOST('value', 'alpha'); -if (empty($conf->global->CHEQUERECEIPTS_ADDON)) { +if (!getDolGlobalString('CHEQUERECEIPTS_ADDON')) { $conf->global->CHEQUERECEIPTS_ADDON = 'mod_chequereceipts_mint.php'; } @@ -112,6 +112,7 @@ print load_fiche_titre($langs->trans("ChequeReceiptsNumberingModule"), '', ''); +print '
'; print ''; print ''; print ''; @@ -182,10 +183,10 @@ print ''."\n"; print ''; @@ -230,6 +231,7 @@ } print '
'.$langs->trans("Name").''; - if ($conf->global->CHEQUERECEIPTS_ADDON == $file || $conf->global->CHEQUERECEIPTS_ADDON.'.php' == $file) { + if ($conf->global->CHEQUERECEIPTS_ADDON == $file || getDolGlobalString('CHEQUERECEIPTS_ADDON') . '.php' == $file) { print img_picto($langs->trans("Activated"), 'switch_on'); } else { - print ''.img_picto($langs->trans("Disabled"), 'switch_off').''; + print ''.img_picto($langs->trans("Disabled"), 'switch_off').''; } print '
'; +print '
'; print '
'; @@ -261,7 +263,7 @@ print ''; print $form->textwithpicto($langs->trans("FreeLegalTextOnChequeReceipts"), $langs->trans("AddCRIfTooLong").'

'.$htmltext, 1, 'help', '', 0, 2, 'freetexttooltip').'
'; $variablename = 'BANK_CHEQUERECEIPT_FREE_TEXT'; -if (empty($conf->global->PDF_ALLOW_HTML_FOR_FREE_TEXT)) { +if (!getDolGlobalString('PDF_ALLOW_HTML_FOR_FREE_TEXT')) { print ''; } else { include_once DOL_DOCUMENT_ROOT.'/core/class/doleditor.class.php'; diff --git a/htdocs/admin/clicktodial.php b/htdocs/admin/clicktodial.php index 3174b5bc0910a..b11a88ee66133 100644 --- a/htdocs/admin/clicktodial.php +++ b/htdocs/admin/clicktodial.php @@ -140,7 +140,7 @@ print '
'.$url; print '
'; print '
'; -print ''; +print ''; if (!empty($conf->use_javascript_ajax)) { print ' '.img_picto($langs->trans('Generate'), 'refresh', 'id="generate_token" class="linkobject"'); } @@ -155,7 +155,7 @@ print '

'; -if (!empty($conf->global->CLICKTODIAL_URL)) { +if (getDolGlobalString('CLICKTODIAL_URL')) { $user->fetch_clicktodial(); $phonefortest = $mysoc->phone; diff --git a/htdocs/admin/commande.php b/htdocs/admin/commande.php index fba421f6ccb1f..4bc7c5a2fbcae 100644 --- a/htdocs/admin/commande.php +++ b/htdocs/admin/commande.php @@ -645,7 +645,7 @@ print ''; print $form->textwithpicto($langs->trans("FreeLegalTextOnOrders"), $langs->trans("AddCRIfTooLong").'

'.$htmltext, 1, 'help', '', 0, 2, 'freetexttooltip').'
'; $variablename = 'ORDER_FREE_TEXT'; -if (empty($conf->global->PDF_ALLOW_HTML_FOR_FREE_TEXT)) { +if (!getDolGlobalString('PDF_ALLOW_HTML_FOR_FREE_TEXT')) { print ''; } else { include_once DOL_DOCUMENT_ROOT.'/core/class/doleditor.class.php'; diff --git a/htdocs/admin/company.php b/htdocs/admin/company.php index a0c935413f367..5b4de0c787d61 100644 --- a/htdocs/admin/company.php +++ b/htdocs/admin/company.php @@ -6,6 +6,7 @@ * Copyright (C) 2011-2017 Philippe Grand * Copyright (C) 2015 Alexandre Spangaro * Copyright (C) 2017 Rui Strecht + * Copyright (C) 2023 Nick Fragoulis * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -193,6 +194,10 @@ dolibarr_set_const($db, "MAIN_INFO_RCS", GETPOST("rcs", 'alphanohtml'), 'chaine', 0, '', $conf->entity); dolibarr_set_const($db, "MAIN_INFO_PROFID5", GETPOST("MAIN_INFO_PROFID5", 'alphanohtml'), 'chaine', 0, '', $conf->entity); dolibarr_set_const($db, "MAIN_INFO_PROFID6", GETPOST("MAIN_INFO_PROFID6", 'alphanohtml'), 'chaine', 0, '', $conf->entity); + dolibarr_set_const($db, "MAIN_INFO_PROFID7", GETPOST("MAIN_INFO_PROFID7", 'alphanohtml'), 'chaine', 0, '', $conf->entity); + dolibarr_set_const($db, "MAIN_INFO_PROFID8", GETPOST("MAIN_INFO_PROFID8", 'alphanohtml'), 'chaine', 0, '', $conf->entity); + dolibarr_set_const($db, "MAIN_INFO_PROFID9", GETPOST("MAIN_INFO_PROFID9", 'alphanohtml'), 'chaine', 0, '', $conf->entity); + dolibarr_set_const($db, "MAIN_INFO_PROFID10", GETPOST("MAIN_INFO_PROFID10", 'alphanohtml'), 'chaine', 0, '', $conf->entity); dolibarr_set_const($db, "MAIN_INFO_TVAINTRA", GETPOST("tva", 'alphanohtml'), 'chaine', 0, '', $conf->entity); dolibarr_set_const($db, "MAIN_INFO_SOCIETE_OBJECT", GETPOST("socialobject", 'alphanohtml'), 'chaine', 0, '', $conf->entity); @@ -233,6 +238,14 @@ dolibarr_set_const($db, "MAIN_INFO_LOCALTAX_CALC2", GETPOST("clt2", 'aZ09'), 'chaine', 0, '', $conf->entity); } + // Credentials for AADE webservices, applicable only for Greece + if ($mysoc->country_code == 'GR') { + dolibarr_set_const($db, "MYDATA_AADE_USER", GETPOST("MYDATA_AADE_USER", 'alpha'), 'chaine', 0, '', $conf->entity); + dolibarr_set_const($db, "MYDATA_AADE_KEY", GETPOST("MYDATA_AADE_KEY", 'alpha'), 'chaine', 0, '', $conf->entity); + dolibarr_set_const($db, "AADE_WEBSERVICE_USER", GETPOST("AADE_WEBSERVICE_USER", 'alpha'), 'chaine', 0, '', $conf->entity); + dolibarr_set_const($db, "AADE_WEBSERVICE_KEY", GETPOST("AADE_WEBSERVICE_KEY", 'alpha'), 'chaine', 0, '', $conf->entity); + } + // Remove constant MAIN_INFO_SOCIETE_SETUP_TODO_WARNING dolibarr_del_const($db, "MAIN_INFO_SOCIETE_SETUP_TODO_WARNING", $conf->entity); @@ -411,18 +424,18 @@ // Name print ''; -print 'global->MAIN_INFO_SOCIETE_NOM) ? ' autofocus="autofocus"' : '').'>'."\n"; +print ''."\n"; // Address print ''; -print ''."\n"; +print ''."\n"; // Zip print ''; -print ''."\n"; +print ''."\n"; print ''; -print ''."\n"; +print ''."\n"; // Country print ''; @@ -435,7 +448,7 @@ print ''; $state_id = 0; -if (!empty($conf->global->MAIN_INFO_SOCIETE_STATE)) { +if (getDolGlobalString('MAIN_INFO_SOCIETE_STATE')) { $tmp = explode(':', $conf->global->MAIN_INFO_SOCIETE_STATE); $state_id = $tmp[0]; } @@ -452,25 +465,25 @@ // Phone print ''; print img_picto('', 'object_phoning', '', false, 0, 0, '', 'pictofixedwidth'); -print ''; +print ''; print ''."\n"; // Fax print ''; print img_picto('', 'object_phoning_fax', '', false, 0, 0, '', 'pictofixedwidth'); -print ''; +print ''; print ''."\n"; // Email print ''; print img_picto('', 'object_email', '', false, 0, 0, '', 'pictofixedwidth'); -print ''; +print ''; print ''."\n"; // Web print ''; print img_picto('', 'globe', '', false, 0, 0, '', 'pictofixedwidth'); -print ''; +print ''; print ''."\n"; // Barcode @@ -478,7 +491,7 @@ print ''; print ''; print ''; - print ''; + print ''; print ''; } @@ -570,7 +583,7 @@ // Note print ''; -print ''; +print ''; print ''; print ''; @@ -588,17 +601,17 @@ // Managing Director(s) print ''; -print ''; +print ''; // GDPR contact print ''; print $form->textwithpicto($langs->trans("GDPRContact"), $langs->trans("GDPRContactDesc")); print ''; -print 'global->MAIN_INFO_GDPR) ? $conf->global->MAIN_INFO_GDPR : ''))).'">'; +print 'global->MAIN_INFO_GDPR : ''))).'">'; // Capital print ''; -print ''; +print ''; // Juridical Status print ''; @@ -613,7 +626,7 @@ if ($langs->transcountry("ProfId1", $mysoc->country_code) != '-') { print ''; if (!empty($mysoc->country_code)) { - print ''; + print ''; } else { print $countrynotdefined; } @@ -624,7 +637,7 @@ if ($langs->transcountry("ProfId2", $mysoc->country_code) != '-') { print ''; if (!empty($mysoc->country_code)) { - print ''; + print ''; } else { print $countrynotdefined; } @@ -635,7 +648,7 @@ if ($langs->transcountry("ProfId3", $mysoc->country_code) != '-') { print ''; if (!empty($mysoc->country_code)) { - print ''; + print ''; } else { print $countrynotdefined; } @@ -646,7 +659,7 @@ if ($langs->transcountry("ProfId4", $mysoc->country_code) != '-') { print ''; if (!empty($mysoc->country_code)) { - print ''; + print ''; } else { print $countrynotdefined; } @@ -657,7 +670,7 @@ if ($langs->transcountry("ProfId5", $mysoc->country_code) != '-') { print ''; if (!empty($mysoc->country_code)) { - print ''; + print ''; } else { print $countrynotdefined; } @@ -668,7 +681,51 @@ if ($langs->transcountry("ProfId6", $mysoc->country_code) != '-') { print ''; if (!empty($mysoc->country_code)) { - print ''; + print ''; + } else { + print $countrynotdefined; + } + print ''; +} + +// ProfId7 +if ($langs->transcountry("ProfId7", $mysoc->country_code) != '-') { + print ''; + if (!empty($mysoc->country_code)) { + print ''; + } else { + print $countrynotdefined; + } + print ''; +} + +// ProfId8 +if ($langs->transcountry("ProfId8", $mysoc->country_code) != '-') { + print ''; + if (!empty($mysoc->country_code)) { + print ''; + } else { + print $countrynotdefined; + } + print ''; +} + +// ProfId9 +if ($langs->transcountry("ProfId9", $mysoc->country_code) != '-') { + print ''; + if (!empty($mysoc->country_code)) { + print ''; + } else { + print $countrynotdefined; + } + print ''; +} + +// ProfId10 +if ($langs->transcountry("ProfId10", $mysoc->country_code) != '-') { + print ''; + if (!empty($mysoc->country_code)) { + print ''; } else { print $countrynotdefined; } @@ -677,12 +734,12 @@ // Intra-community VAT number print ''; -print ''; +print ''; print ''; // Object of the company print ''; -print ''; +print ''; print ''; print ''; @@ -697,7 +754,7 @@ print "\n"; print ''; -print $formother->select_month(!empty($conf->global->SOCIETE_FISCAL_MONTH_START) ? $conf->global->SOCIETE_FISCAL_MONTH_START : '', 'SOCIETE_FISCAL_MONTH_START', 0, 1, 'maxwidth100').''; +print $formother->select_month(getDolGlobalString('SOCIETE_FISCAL_MONTH_START') ? $conf->global->SOCIETE_FISCAL_MONTH_START : '', 'SOCIETE_FISCAL_MONTH_START', 0, 1, 'maxwidth100').''; print ""; print '
'; @@ -713,7 +770,7 @@ print "\n"; // Main tax -print '"; +print '"; print ''; $tooltiphelp = ''; if ($mysoc->country_code == 'FR') { @@ -723,7 +780,7 @@ print "\n"; -print '"; +print '"; print ''; $tooltiphelp = ''; if ($mysoc->country_code == 'FR') { @@ -744,7 +801,7 @@ if ($mysoc->useLocalTax(1)) { // Note: When option is not set, it must not appears as set on on, because there is no default value for this option - print 'global->FACTURE_LOCAL_TAX1_OPTION == '1' || $conf->global->FACTURE_LOCAL_TAX1_OPTION == "localtax1on") ? " checked" : "").'> "; + print ' "; print ''; print '
'; $tooltiphelp = $langs->transcountry("LocalTax1IsUsedExample", $mysoc->country_code); @@ -762,7 +819,7 @@ print "
"; print "\n"; - print 'global->FACTURE_LOCAL_TAX1_OPTION) || $conf->global->FACTURE_LOCAL_TAX1_OPTION == "localtax1off") ? " checked" : "").'> "; + print ' "; print ''; $tooltiphelp = $langs->transcountry("LocalTax1IsNotUsedExample", $mysoc->country_code); $tooltiphelp = ($tooltiphelp != "LocalTax1IsNotUsedExample" ? "".$langs->trans("Example").': '.$langs->transcountry("LocalTax1IsNotUsedExample", $mysoc->country_code)."\n" : ""); @@ -788,7 +845,7 @@ if ($mysoc->useLocalTax(2)) { // Note: When option is not set, it must not appears as set on on, because there is no default value for this option - print 'global->FACTURE_LOCAL_TAX2_OPTION == '1' || $conf->global->FACTURE_LOCAL_TAX2_OPTION == "localtax2on") ? " checked" : "").'> "; + print ' "; print ''; print '
'; print '"; @@ -803,7 +860,7 @@ print "
"; print "\n"; - print 'global->FACTURE_LOCAL_TAX2_OPTION) || $conf->global->FACTURE_LOCAL_TAX2_OPTION == "localtax2off") ? " checked" : "").'> "; + print ' "; print ''; print "
"; $tooltiphelp = $langs->transcountry("LocalTax2IsNotUsedExample", $mysoc->country_code); @@ -847,6 +904,41 @@ print ""; +// AADE webservices credentials, applicable only for Greece +if ($mysoc->country_code == 'GR') { + print load_fiche_titre($langs->trans("AADEWebserviceCredentials"), '', ''); + print ''; + print ''; + print ''; + print ''; + print ''; + print "\n"; + + print ''; + + print ''; + + print ''; + + print ''; + + print '
'; + + print "
'.$langs->trans("AccountParameter").''.$langs->trans("Value").'
'; + print ''.$langs->trans("MYDATA_AADE_USER").''; + print '
'; + print ''.$langs->trans("MYDATA_AADE_KEY").''; + print '
'; + print ''.$langs->trans("AADE_WEBSERVICE_USER").''; + print '
'; + print ''.$langs->trans("AADE_WEBSERVICE_KEY").''; + print '
"; +} + print $form->buttonsSaveCancel("Save", ''); print ''; diff --git a/htdocs/admin/company_socialnetworks.php b/htdocs/admin/company_socialnetworks.php index fb496c1dce18c..41759274ce66b 100644 --- a/htdocs/admin/company_socialnetworks.php +++ b/htdocs/admin/company_socialnetworks.php @@ -127,7 +127,7 @@ print ''; $networkconstname = 'MAIN_INFO_SOCIETE_'.strtoupper($key).'_URL'; $networkconstid = 'MAIN_INFO_SOCIETE_'.strtoupper($key); - print ''; + print ''; print ''; print ''; print ''; diff --git a/htdocs/admin/compta.php b/htdocs/admin/compta.php index afc23f3ff6315..a8b6f7bb04bac 100644 --- a/htdocs/admin/compta.php +++ b/htdocs/admin/compta.php @@ -56,7 +56,7 @@ * Actions */ -$accounting_mode = empty($conf->global->ACCOUNTING_MODE) ? 'RECETTES-DEPENSES' : $conf->global->ACCOUNTING_MODE; +$accounting_mode = !getDolGlobalString('ACCOUNTING_MODE') ? 'RECETTES-DEPENSES' : $conf->global->ACCOUNTING_MODE; if ($action == 'update') { $error = 0; @@ -146,17 +146,6 @@ print "\n"; print ' '.$langs->trans('OptionModeTrue').''; print ''.nl2br($langs->trans('OptionModeTrueDesc')); -// Write info on way to count VAT -//if (!empty($conf->global->MAIN_MODULE_COMPTABILITE)) -//{ -// // print "
\n"; -// // print nl2br($langs->trans('OptionModeTrueInfoModuleComptabilite')); -//} -//else -//{ -// // print "
\n"; -// // print nl2br($langs->trans('OptionModeTrueInfoExpert')); -//} print "\n"; print ' '.$langs->trans('OptionModeVirtual').''; print ''.nl2br($langs->trans('OptionModeVirtualDesc'))."\n"; @@ -188,14 +177,14 @@ print ''."\n"; print ''."\n"; print ''."\n"; -print $form->selectyesno('ACCOUNTING_REPORTS_INCLUDE_VARPAY', (!empty($conf->global->ACCOUNTING_REPORTS_INCLUDE_VARPAY))); +print $form->selectyesno('ACCOUNTING_REPORTS_INCLUDE_VARPAY', (getDolGlobalString('ACCOUNTING_REPORTS_INCLUDE_VARPAY'))); print ''; // Option to include loan in results print ''."\n"; print ''."\n"; print ''."\n"; -print $form->selectyesno('ACCOUNTING_REPORTS_INCLUDE_LOAN', (!empty($conf->global->ACCOUNTING_REPORTS_INCLUDE_LOAN))); +print $form->selectyesno('ACCOUNTING_REPORTS_INCLUDE_LOAN', (getDolGlobalString('ACCOUNTING_REPORTS_INCLUDE_LOAN'))); print ''; print "\n"; diff --git a/htdocs/admin/const.php b/htdocs/admin/const.php index 68920561cf8b4..de5c6fb01739b 100644 --- a/htdocs/admin/const.php +++ b/htdocs/admin/const.php @@ -280,7 +280,7 @@ print ''; print ''; print ''; - print ''; + print ''; print ''; // Note diff --git a/htdocs/admin/contract.php b/htdocs/admin/contract.php index 7223a7d5c57a5..ad7b3f5516a52 100644 --- a/htdocs/admin/contract.php +++ b/htdocs/admin/contract.php @@ -44,7 +44,7 @@ $scandir = GETPOST('scan_dir', 'alpha'); $type = 'contract'; -if (empty($conf->global->CONTRACT_ADDON)) { +if (!getDolGlobalString('CONTRACT_ADDON')) { $conf->global->CONTRACT_ADDON = 'mod_contract_serpis'; } @@ -490,7 +490,7 @@ print $form->textwithpicto($langs->trans("FreeLegalTextOnContracts"), $langs->trans("AddCRIfTooLong").'

'.$htmltext, 1, 'help', '', 0, 2, 'tooltiphelp'); print '
'; $variablename = 'CONTRACT_FREE_TEXT'; -if (empty($conf->global->PDF_ALLOW_HTML_FOR_FREE_TEXT)) { +if (!getDolGlobalString('PDF_ALLOW_HTML_FOR_FREE_TEXT')) { print ''; } else { include_once DOL_DOCUMENT_ROOT.'/core/class/doleditor.class.php'; @@ -510,7 +510,7 @@ print ''; print ''.$langs->trans("HideClosedServiceByDefault").''; print ''; -print $form->selectyesno("activate_hideClosedServiceByDefault", (!empty($conf->global->CONTRACT_HIDE_CLOSED_SERVICES_BY_DEFAULT) ? $conf->global->CONTRACT_HIDE_CLOSED_SERVICES_BY_DEFAULT : 0), 1); +print $form->selectyesno("activate_hideClosedServiceByDefault", (getDolGlobalString('CONTRACT_HIDE_CLOSED_SERVICES_BY_DEFAULT') ? $conf->global->CONTRACT_HIDE_CLOSED_SERVICES_BY_DEFAULT : 0), 1); print ''; print ''; diff --git a/htdocs/admin/debugbar.php b/htdocs/admin/debugbar.php index dccf777df60a0..0994918d4624c 100644 --- a/htdocs/admin/debugbar.php +++ b/htdocs/admin/debugbar.php @@ -96,13 +96,13 @@ print ''.$langs->trans("DEBUGBAR_USE_LOG_FILE").''; print ''; -print $form->selectyesno('DEBUGBAR_USE_LOG_FILE', !empty($conf->global->DEBUGBAR_USE_LOG_FILE), 1); +print $form->selectyesno('DEBUGBAR_USE_LOG_FILE', getDolGlobalString('DEBUGBAR_USE_LOG_FILE'), 1); print ''; print ' '.$langs->trans("UsingLogFileShowAllRecordOfSubrequestButIsSlower").''; print ''; print ''.$langs->trans("DEBUGBAR_LOGS_LINES_NUMBER").''; -print ''; // This slow seriously output +print ''; // This slow seriously output print ''; print ''.$langs->trans("WarningValueHigherSlowsDramaticalyOutput").''; print ''; diff --git a/htdocs/admin/defaultvalues.php b/htdocs/admin/defaultvalues.php index 81f1da40615bb..f3c6826309b45 100644 --- a/htdocs/admin/defaultvalues.php +++ b/htdocs/admin/defaultvalues.php @@ -205,7 +205,7 @@ $param = '&mode='.$mode; $enabledisablehtml = $langs->trans("EnableDefaultValues").' '; -if (empty($conf->global->MAIN_ENABLE_DEFAULT_VALUES)) { +if (!getDolGlobalString('MAIN_ENABLE_DEFAULT_VALUES')) { // Button off, click to enable $enabledisablehtml .= ''; $enabledisablehtml .= img_picto($langs->trans("Disabled"), 'switch_off'); @@ -348,7 +348,7 @@ } print ''; $disabled = ''; -if (empty($conf->global->MAIN_ENABLE_DEFAULT_VALUES)) { +if (!getDolGlobalString('MAIN_ENABLE_DEFAULT_VALUES')) { $disabled = ' disabled="disabled"'; } print ''; diff --git a/htdocs/admin/delais.php b/htdocs/admin/delais.php index 5a1e07d32ac2d..d5006c939cc7c 100644 --- a/htdocs/admin/delais.php +++ b/htdocs/admin/delais.php @@ -182,7 +182,7 @@ // For update value with percentage $plus = ''; - if (!empty($conf->global->MAIN_USE_METEO_WITH_PERCENTAGE)) { + if (getDolGlobalString('MAIN_USE_METEO_WITH_PERCENTAGE')) { $plus = '_PERCENTAGE'; } // Update values @@ -243,7 +243,7 @@ print ''; print ''.$langs->trans("MAIN_DISABLE_METEO").''; - print $form->selectarray('MAIN_DISABLE_METEO', $labelmeteo, (empty($conf->global->MAIN_DISABLE_METEO) ? 0 : $conf->global->MAIN_DISABLE_METEO)); + print $form->selectarray('MAIN_DISABLE_METEO', $labelmeteo, (!getDolGlobalString('MAIN_DISABLE_METEO') ? 0 : $conf->global->MAIN_DISABLE_METEO)); print ''; print ''; @@ -277,7 +277,7 @@ print ''; print ''.$langs->trans("MAIN_DISABLE_METEO").''; - print $labelmeteo[$conf->global->MAIN_DISABLE_METEO]; + print $labelmeteo[getDolGlobalString('MAIN_DISABLE_METEO')]; print ''; print ''; @@ -286,24 +286,24 @@ print '
'; -if (empty($conf->global->MAIN_DISABLE_METEO) || $conf->global->MAIN_DISABLE_METEO != 1) { +if (!getDolGlobalString('MAIN_DISABLE_METEO') || $conf->global->MAIN_DISABLE_METEO != 1) { // Show logo for weather print ''.$langs->trans("DescWeather").' '; if ($action == 'edit') { $str_mode_std = $langs->trans('MeteoStdModEnabled').' : '.$langs->trans('MeteoUseMod', $langs->transnoentitiesnoconv('MeteoPercentageMod')); $str_mode_percentage = $langs->trans('MeteoPercentageModEnabled').' : '.$langs->trans('MeteoUseMod', $langs->transnoentitiesnoconv('MeteoStdMod')); - if (empty($conf->global->MAIN_USE_METEO_WITH_PERCENTAGE)) { + if (!getDolGlobalString('MAIN_USE_METEO_WITH_PERCENTAGE')) { $str_mode_enabled = $str_mode_std; } else { $str_mode_enabled = $str_mode_percentage; } print '
'.$str_mode_enabled.''; - print ''; + print ''; print '

'; } else { - if (empty($conf->global->MAIN_USE_METEO_WITH_PERCENTAGE)) { + if (!getDolGlobalString('MAIN_USE_METEO_WITH_PERCENTAGE')) { print $langs->trans('MeteoStdModEnabled'); } else { print $langs->trans('MeteoPercentageModEnabled'); @@ -316,26 +316,26 @@ //if (!empty($conf->global->MAIN_METEO_OFFSET)) $offset=$conf->global->MAIN_METEO_OFFSET; //if (!empty($conf->global->MAIN_METEO_GAP)) $cursor=$conf->global->MAIN_METEO_GAP; $level0 = $offset; - if (!empty($conf->global->MAIN_METEO_LEVEL0)) { + if (getDolGlobalString('MAIN_METEO_LEVEL0')) { $level0 = $conf->global->MAIN_METEO_LEVEL0; } $level1 = $offset + $cursor; - if (!empty($conf->global->MAIN_METEO_LEVEL1)) { + if (getDolGlobalString('MAIN_METEO_LEVEL1')) { $level1 = $conf->global->MAIN_METEO_LEVEL1; } $level2 = $offset + 2 * $cursor; - if (!empty($conf->global->MAIN_METEO_LEVEL2)) { + if (getDolGlobalString('MAIN_METEO_LEVEL2')) { $level2 = $conf->global->MAIN_METEO_LEVEL2; } $level3 = $offset + 3 * $cursor; - if (!empty($conf->global->MAIN_METEO_LEVEL3)) { + if (getDolGlobalString('MAIN_METEO_LEVEL3')) { $level3 = $conf->global->MAIN_METEO_LEVEL3; } $text = ''; $options = 'class="valignmiddle" height="60px"'; if ($action == 'edit') { - print '
global->MAIN_USE_METEO_WITH_PERCENTAGE) ? '' : 'style="display:none;"').'>'; + print '
'; print '
'; print '
'; @@ -355,7 +355,7 @@ print '
'; - print '
global->MAIN_USE_METEO_WITH_PERCENTAGE) ? 'style="display:none;"' : '').'>'; + print '
'; print '
'; print '
'; @@ -405,23 +405,23 @@ global->MAIN_USE_METEO_WITH_PERCENTAGE)) { + if (getDolGlobalString('MAIN_USE_METEO_WITH_PERCENTAGE')) { print '
'; print '
'; print img_weather($text, 0, $options); - print ' <= '.$conf->global->MAIN_METEO_PERCENTAGE_LEVEL0.' %'; + print ' <= ' . getDolGlobalString('MAIN_METEO_PERCENTAGE_LEVEL0').' %'; print '
'; print img_weather($text, 1, $options); - print ' <= '.$conf->global->MAIN_METEO_PERCENTAGE_LEVEL1.' %'; + print ' <= ' . getDolGlobalString('MAIN_METEO_PERCENTAGE_LEVEL1').' %'; print '
'; print img_weather($text, 2, $options); - print ' <= '.$conf->global->MAIN_METEO_PERCENTAGE_LEVEL2.' %'; + print ' <= ' . getDolGlobalString('MAIN_METEO_PERCENTAGE_LEVEL2').' %'; print '
'; print img_weather($text, 3, $options); - print ' <= '.$conf->global->MAIN_METEO_PERCENTAGE_LEVEL3.' %'; + print ' <= ' . getDolGlobalString('MAIN_METEO_PERCENTAGE_LEVEL3').' %'; print '
'; print img_weather($text, 4, $options); - print ' > '.$conf->global->MAIN_METEO_PERCENTAGE_LEVEL3.' %'; + print ' > ' . getDolGlobalString('MAIN_METEO_PERCENTAGE_LEVEL3').' %'; print '
'; print '
'; } else { diff --git a/htdocs/admin/delivery.php b/htdocs/admin/delivery.php index ff3f54ff4b0f0..b53b2f32ac41c 100644 --- a/htdocs/admin/delivery.php +++ b/htdocs/admin/delivery.php @@ -58,7 +58,7 @@ // Shipment note -if (isModEnabled('expedition') && empty($conf->global->MAIN_SUBMODULE_EXPEDITION)) { +if (isModEnabled('expedition') && !getDolGlobalString('MAIN_SUBMODULE_EXPEDITION')) { // This option should always be set to on when module is on. dolibarr_set_const($db, "MAIN_SUBMODULE_EXPEDITION", "1", 'chaine', 0, '', $conf->entity); } @@ -214,7 +214,7 @@ print '
'; print '
'.$langs->trans("DeliveriesOrderAbility").'
'; -if (empty($conf->global->MAIN_SUBMODULE_DELIVERY)) { +if (!getDolGlobalString('MAIN_SUBMODULE_DELIVERY')) { print ' '.img_picto($langs->trans("Disabled"), 'switch_off').''; } else { print ' '.img_picto($langs->trans("Enabled"), 'switch_on').''; @@ -226,7 +226,7 @@ -if (!empty($conf->global->MAIN_SUBMODULE_DELIVERY)) { +if (getDolGlobalString('MAIN_SUBMODULE_DELIVERY')) { // Delivery numbering model print load_fiche_titre($langs->trans("DeliveryOrderNumberingModules"), '', ''); @@ -482,7 +482,7 @@ print ''; print $form->textwithpicto($langs->trans("FreeLegalTextOnDeliveryReceipts"), $langs->trans("AddCRIfTooLong").'

'.$htmltext, 1, 'help', '', 0, 2, 'freetexttooltip').'
'; $variablename = 'DELIVERY_FREE_TEXT'; - if (empty($conf->global->PDF_ALLOW_HTML_FOR_FREE_TEXT)) { + if (!getDolGlobalString('PDF_ALLOW_HTML_FOR_FREE_TEXT')) { print ''; } else { include_once DOL_DOCUMENT_ROOT.'/core/class/doleditor.class.php'; diff --git a/htdocs/admin/dict.php b/htdocs/admin/dict.php index 91b7c3a00d0a3..93aa4e8962020 100644 --- a/htdocs/admin/dict.php +++ b/htdocs/admin/dict.php @@ -219,36 +219,36 @@ $tabsql[12] = "SELECT c.rowid as rowid, c.code, c.libelle, c.libelle_facture, c.deposit_percent, c.nbjour, c.type_cdr, c.decalage, c.active, c.sortorder, c.entity FROM ".MAIN_DB_PREFIX."c_payment_term AS c WHERE c.entity IN (".getEntity($tabname[12]).")"; $tabsql[13] = "SELECT c.id as rowid, c.code, c.libelle, c.type, c.active, c.entity FROM ".MAIN_DB_PREFIX."c_paiement AS c WHERE c.entity IN (".getEntity($tabname[13]).")"; $tabsql[14] = "SELECT e.rowid as rowid, e.code as code, e.label, e.price, e.organization, e.fk_pays as country_id, c.code as country_code, c.label as country, e.active FROM ".MAIN_DB_PREFIX."c_ecotaxe AS e, ".MAIN_DB_PREFIX."c_country as c WHERE e.fk_pays=c.rowid and c.active=1"; -$tabsql[15] = "SELECT rowid as rowid, code, label as libelle, width, height, unit, active FROM ".MAIN_DB_PREFIX."c_paper_format"; -$tabsql[16] = "SELECT code, label as libelle, sortorder, active FROM ".MAIN_DB_PREFIX."c_prospectlevel"; -$tabsql[17] = "SELECT id as rowid, code, label, accountancy_code, active FROM ".MAIN_DB_PREFIX."c_type_fees"; -$tabsql[18] = "SELECT rowid as rowid, code, libelle, tracking, active FROM ".MAIN_DB_PREFIX."c_shipment_mode"; -$tabsql[19] = "SELECT id as rowid, code, libelle, active FROM ".MAIN_DB_PREFIX."c_effectif"; -$tabsql[20] = "SELECT rowid as rowid, code, libelle, active FROM ".MAIN_DB_PREFIX."c_input_method"; +$tabsql[15] = "SELECT t.rowid as rowid, t.code, t.label as libelle, t.width, t.height, t.unit, t.active FROM ".MAIN_DB_PREFIX."c_paper_format as t"; +$tabsql[16] = "SELECT t.code, t.label as libelle, t.sortorder, t.active FROM ".MAIN_DB_PREFIX."c_prospectlevel as t"; +$tabsql[17] = "SELECT t.id as rowid, t.code, t.label, t.accountancy_code, t.active FROM ".MAIN_DB_PREFIX."c_type_fees as t"; +$tabsql[18] = "SELECT t.rowid as rowid, t.code, t.libelle, t.tracking, t.active FROM ".MAIN_DB_PREFIX."c_shipment_mode as t"; +$tabsql[19] = "SELECT t.id as rowid, t.code, t.libelle, t.active FROM ".MAIN_DB_PREFIX."c_effectif as t"; +$tabsql[20] = "SELECT t.rowid as rowid, t.code, t.libelle, t.active FROM ".MAIN_DB_PREFIX."c_input_method as t"; $tabsql[21] = "SELECT c.rowid as rowid, c.code, c.label, c.type_duration, c.qty, c.active, c.position FROM ".MAIN_DB_PREFIX."c_availability AS c"; -$tabsql[22] = "SELECT rowid as rowid, code, label, active FROM ".MAIN_DB_PREFIX."c_input_reason"; +$tabsql[22] = "SELECT t.rowid as rowid, t.code, t.label, t.active FROM ".MAIN_DB_PREFIX."c_input_reason as t"; $tabsql[23] = "SELECT t.rowid as rowid, t.taux, t.revenuestamp_type, c.label as country, c.code as country_code, t.fk_pays as country_id, t.note, t.active, t.accountancy_code_sell, t.accountancy_code_buy FROM ".MAIN_DB_PREFIX."c_revenuestamp as t, ".MAIN_DB_PREFIX."c_country as c WHERE t.fk_pays=c.rowid"; -$tabsql[24] = "SELECT rowid as rowid, code, label, active FROM ".MAIN_DB_PREFIX."c_type_resource"; -$tabsql[25] = "SELECT rowid as rowid, code, label, active, module FROM ".MAIN_DB_PREFIX."c_type_container as t WHERE t.entity IN (".getEntity($tabname[25]).")"; -//$tabsql[26]= "SELECT rowid as rowid, code, label, short_label, active FROM ".MAIN_DB_PREFIX."c_units"; -$tabsql[27] = "SELECT id as rowid, code, libelle, picto, active FROM ".MAIN_DB_PREFIX."c_stcomm"; +$tabsql[24] = "SELECT t.rowid as rowid, t.code, t.label, t.active FROM ".MAIN_DB_PREFIX."c_type_resource as t"; +$tabsql[25] = "SELECT t.rowid as rowid, t.code, t.label, t.active, t.module FROM ".MAIN_DB_PREFIX."c_type_container as t WHERE t.entity IN (".getEntity($tabname[25]).")"; +//$tabsql[26]= "SELECT t.rowid as rowid, t.code, t.label, t.short_label, t.active FROM ".MAIN_DB_PREFIX."c_units as t"; +$tabsql[27] = "SELECT t.id as rowid, t.code, t.libelle, t.picto, t.active FROM ".MAIN_DB_PREFIX."c_stcomm as t"; $tabsql[28] = "SELECT h.rowid as rowid, h.code, h.label, h.affect, h.delay, h.newbymonth, h.fk_country as country_id, c.code as country_code, c.label as country, h.block_if_negative, h.sortorder, h.active FROM ".MAIN_DB_PREFIX."c_holiday_types as h LEFT JOIN ".MAIN_DB_PREFIX."c_country as c ON h.fk_country=c.rowid"; -$tabsql[29] = "SELECT rowid as rowid, code, label, percent, position, active FROM ".MAIN_DB_PREFIX."c_lead_status"; -$tabsql[30] = "SELECT rowid, code, name, paper_size, orientation, metric, leftmargin, topmargin, nx, ny, spacex, spacey, width, height, font_size, custom_x, custom_y, active FROM ".MAIN_DB_PREFIX."c_format_cards"; +$tabsql[29] = "SELECT t.rowid as rowid, t.code, t.label, percent, t.position, t.active FROM ".MAIN_DB_PREFIX."c_lead_status as t"; +$tabsql[30] = "SELECT t.rowid, t.code, t.name, t.paper_size, t.orientation, t.metric, t.leftmargin, t.topmargin, t.nx, t.ny, t.spacex, t.spacey, t.width, t.height, t.font_size, t.custom_x, t.custom_y, t.active FROM ".MAIN_DB_PREFIX."c_format_cards as t"; $tabsql[31] = "SELECT t.rowid, t.code, t.label, c.label as country, c.code as country_code, t.fk_country as country_id, t.active FROM ".MAIN_DB_PREFIX."c_invoice_subtype as t, ".MAIN_DB_PREFIX."c_country as c WHERE t.fk_country = c.rowid"; $tabsql[32] = "SELECT a.id as rowid, a.entity, a.code, a.fk_country as country_id, c.code as country_code, c.label as country, a.dayrule, a.day, a.month, a.year, a.active FROM ".MAIN_DB_PREFIX."c_hrm_public_holiday as a LEFT JOIN ".MAIN_DB_PREFIX."c_country as c ON a.fk_country=c.rowid AND c.active=1"; -$tabsql[33] = "SELECT rowid, pos, code, label, active FROM ".MAIN_DB_PREFIX."c_hrm_department"; -$tabsql[34] = "SELECT rowid, pos, code, label, c_level, active FROM ".MAIN_DB_PREFIX."c_hrm_function"; -$tabsql[35] = "SELECT c.rowid, c.label, c.active, c.entity FROM ".MAIN_DB_PREFIX."c_exp_tax_cat c"; +$tabsql[33] = "SELECT t.rowid, t.pos, t.code, t.label, t.active FROM ".MAIN_DB_PREFIX."c_hrm_department as t"; +$tabsql[34] = "SELECT t.rowid, t.pos, t.code, t.label, t.c_level, t.active FROM ".MAIN_DB_PREFIX."c_hrm_function as t"; +$tabsql[35] = "SELECT c.rowid, c.label, c.active, c.entity FROM ".MAIN_DB_PREFIX."c_exp_tax_cat c as c"; $tabsql[36] = "SELECT r.rowid, r.fk_c_exp_tax_cat, r.range_ik, r.active, r.entity FROM ".MAIN_DB_PREFIX."c_exp_tax_range r"; $tabsql[37] = "SELECT r.rowid, r.code, r.sortorder, r.label, r.short_label, r.unit_type, r.scale, r.active FROM ".MAIN_DB_PREFIX."c_units r"; $tabsql[38] = "SELECT s.rowid, s.entity, s.code, s.label, s.url, s.icon, s.active FROM ".MAIN_DB_PREFIX."c_socialnetworks as s WHERE s.entity IN (".getEntity($tabname[38]).")"; -$tabsql[39] = "SELECT code, label as libelle, sortorder, active FROM ".MAIN_DB_PREFIX."c_prospectcontactlevel"; -$tabsql[40] = "SELECT id as rowid, code, libelle, picto, active FROM ".MAIN_DB_PREFIX."c_stcommcontact"; -$tabsql[41] = "SELECT rowid as rowid, code, label, active FROM ".MAIN_DB_PREFIX."c_transport_mode"; -$tabsql[42] = "SELECT rowid as rowid, code, label, active FROM ".MAIN_DB_PREFIX."c_product_nature"; -$tabsql[43] = "SELECT rowid, code, label, active FROM ".MAIN_DB_PREFIX."c_productbatch_qcstatus"; -$tabsql[44] = "SELECT rowid, code, label, active FROM ".MAIN_DB_PREFIX."c_asset_disposal_type"; +$tabsql[39] = "SELECT t.code, t.label as libelle, t.sortorder, t.active FROM ".MAIN_DB_PREFIX."c_prospectcontactlevel as t"; +$tabsql[40] = "SELECT t.id as rowid, t.code, t.libelle, t.picto, t.active FROM ".MAIN_DB_PREFIX."c_stcommcontact as t"; +$tabsql[41] = "SELECT t.rowid as rowid, t.code, t.label, t.active FROM ".MAIN_DB_PREFIX."c_transport_mode as t"; +$tabsql[42] = "SELECT t.rowid as rowid, t.code, t.label, t.active FROM ".MAIN_DB_PREFIX."c_product_nature as t"; +$tabsql[43] = "SELECT t.rowid, t.code, t.label, t.active FROM ".MAIN_DB_PREFIX."c_productbatch_qcstatus as t"; +$tabsql[44] = "SELECT t.rowid, t.code, t.label, t.active FROM ".MAIN_DB_PREFIX."c_asset_disposal_type as t"; // Criteria to sort dictionaries $tabsqlsort = array(); @@ -259,7 +259,7 @@ $tabsqlsort[5] = "label ASC"; $tabsqlsort[6] = "a.type ASC, a.module ASC, a.position ASC, a.code ASC"; $tabsqlsort[7] = "c.label ASC, a.code ASC, a.libelle ASC"; -$tabsqlsort[8] = "country DESC,".(!empty($conf->global->SOCIETE_SORT_ON_TYPEENT) ? ' t.position ASC,' : '')." libelle ASC"; +$tabsqlsort[8] = "country DESC,".(getDolGlobalString('SOCIETE_SORT_ON_TYPEENT') ? ' t.position ASC,' : '')." libelle ASC"; $tabsqlsort[9] = "label ASC"; $tabsqlsort[10] = "country ASC, code ASC, taux ASC, recuperableonly ASC, localtax1 ASC, localtax2 ASC"; $tabsqlsort[11] = "t.element ASC, t.source ASC, t.position ASC, t.code ASC"; @@ -306,7 +306,7 @@ $tabfield[5] = "code,label"; $tabfield[6] = "code,libelle,type,color,position"; $tabfield[7] = "code,libelle,country,accountancy_code"; -$tabfield[8] = "code,libelle,country_id,country".(!empty($conf->global->SOCIETE_SORT_ON_TYPEENT) ? ',position' : ''); +$tabfield[8] = "code,libelle,country_id,country".(getDolGlobalString('SOCIETE_SORT_ON_TYPEENT') ? ',position' : ''); $tabfield[9] = "code,label,unicode"; $tabfield[10] = "country_id,country,code,taux,localtax1_type,localtax1,localtax2_type,localtax2,recuperableonly,accountancy_code_sell,accountancy_code_buy,note"; $tabfield[11] = "element,source,code,libelle,position"; @@ -353,7 +353,7 @@ $tabfieldvalue[5] = "code,label"; $tabfieldvalue[6] = "code,libelle,type,color,position"; $tabfieldvalue[7] = "code,libelle,country,accountancy_code"; -$tabfieldvalue[8] = "code,libelle,country".(!empty($conf->global->SOCIETE_SORT_ON_TYPEENT) ? ',position' : ''); +$tabfieldvalue[8] = "code,libelle,country".(getDolGlobalString('SOCIETE_SORT_ON_TYPEENT') ? ',position' : ''); $tabfieldvalue[9] = "code,label,unicode"; $tabfieldvalue[10] = "country,code,taux,localtax1_type,localtax1,localtax2_type,localtax2,recuperableonly,accountancy_code_sell,accountancy_code_buy,note"; $tabfieldvalue[11] = "element,source,code,libelle,position"; @@ -400,7 +400,7 @@ $tabfieldinsert[5] = "code,label"; $tabfieldinsert[6] = "code,libelle,type,color,position"; $tabfieldinsert[7] = "code,libelle,fk_pays,accountancy_code"; -$tabfieldinsert[8] = "code,libelle,fk_country".(!empty($conf->global->SOCIETE_SORT_ON_TYPEENT) ? ',position' : ''); +$tabfieldinsert[8] = "code,libelle,fk_country".(getDolGlobalString('SOCIETE_SORT_ON_TYPEENT') ? ',position' : ''); $tabfieldinsert[9] = "code_iso,label,unicode"; $tabfieldinsert[10] = "fk_pays,code,taux,localtax1_type,localtax1,localtax2_type,localtax2,recuperableonly,accountancy_code_sell,accountancy_code_buy,note,entity"; $tabfieldinsert[11] = "element,source,code,libelle,position"; @@ -502,9 +502,9 @@ $tabcond[11] = (isModEnabled("societe")); $tabcond[12] = (isModEnabled('commande') || isModEnabled("propal") || isModEnabled('facture') || isModEnabled("supplier_invoice") || isModEnabled("supplier_order")); $tabcond[13] = (isModEnabled('commande') || isModEnabled("propal") || isModEnabled('facture') || isModEnabled("supplier_invoice") || isModEnabled("supplier_order")); -$tabcond[14] = (isModEnabled("product") && (isModEnabled('ecotax') || !empty($conf->global->MAIN_SHOW_ECOTAX_DICTIONNARY))); +$tabcond[14] = (isModEnabled("product") && (isModEnabled('ecotax') || getDolGlobalString('MAIN_SHOW_ECOTAX_DICTIONNARY'))); $tabcond[15] = true; -$tabcond[16] = (isModEnabled("societe") && empty($conf->global->SOCIETE_DISABLE_PROSPECTS)); +$tabcond[16] = (isModEnabled("societe") && !getDolGlobalString('SOCIETE_DISABLE_PROSPECTS')); $tabcond[17] = (isModEnabled('deplacement') || isModEnabled('expensereport')); $tabcond[18] = isModEnabled("expedition") || isModEnabled("reception"); $tabcond[19] = isModEnabled("societe"); @@ -523,12 +523,12 @@ $tabcond[32] = (isModEnabled('holiday') || isModEnabled('hrm')); $tabcond[33] = isModEnabled('hrm'); $tabcond[34] = isModEnabled('hrm'); -$tabcond[35] = isModEnabled('expensereport') && !empty($conf->global->MAIN_USE_EXPENSE_IK); -$tabcond[36] = isModEnabled('expensereport') && !empty($conf->global->MAIN_USE_EXPENSE_IK); +$tabcond[35] = isModEnabled('expensereport') && getDolGlobalString('MAIN_USE_EXPENSE_IK'); +$tabcond[36] = isModEnabled('expensereport') && getDolGlobalString('MAIN_USE_EXPENSE_IK'); $tabcond[37] = isModEnabled("product"); $tabcond[38] = isModEnabled('socialnetworks'); -$tabcond[39] = (isModEnabled("societe") && empty($conf->global->SOCIETE_DISABLE_PROSPECTS) && !empty($conf->global->THIRDPARTY_ENABLE_PROSPECTION_ON_ALTERNATIVE_ADRESSES)); -$tabcond[40] = (isModEnabled("societe") && !empty($conf->global->THIRDPARTY_ENABLE_PROSPECTION_ON_ALTERNATIVE_ADRESSES)); +$tabcond[39] = (isModEnabled("societe") && !getDolGlobalString('SOCIETE_DISABLE_PROSPECTS') && getDolGlobalString('THIRDPARTY_ENABLE_PROSPECTION_ON_ALTERNATIVE_ADRESSES')); +$tabcond[40] = (isModEnabled("societe") && getDolGlobalString('THIRDPARTY_ENABLE_PROSPECTION_ON_ALTERNATIVE_ADRESSES')); $tabcond[41] = isModEnabled('intracommreport'); $tabcond[42] = isModEnabled("product"); $tabcond[43] = isModEnabled("product") && isModEnabled('productbatch') && $conf->global->MAIN_FEATURES_LEVEL >= 2; @@ -539,9 +539,18 @@ // Table to store complete informations (will replace all other table). Key is table name. $tabcomplete = array( - 'c_forme_juridique'=>array('picto'=>'company', 'help'=>array('code'=>$langs->trans("EnterAnyCode"))), - 'c_departements'=>array('picto'=>'state', 'help'=>array('code'=>$langs->trans("EnterAnyCode"))), - 'c_regions'=>array('picto'=>'region', 'help'=>array('code'=>$langs->trans("EnterAnyCode"))), + 'c_forme_juridique'=>array( + 'picto'=>'company', + 'help'=>array('code'=>$langs->trans("EnterAnyCode")) + ), + 'c_departements'=>array( + 'picto'=>'state', + 'help'=>array('code'=>$langs->trans("EnterAnyCode")) + ), + 'c_regions'=>array( + 'picto'=>'region', + 'help'=>array('code'=>$langs->trans("EnterAnyCode")) + ), 'c_country'=>array('picto'=>'country', 'help'=>array('code'=>$langs->trans("EnterAnyCode"))), 'c_civility'=>array('picto'=>'contact', 'help'=>array('code'=>$langs->trans("EnterAnyCode"))), 'c_actioncomm'=>array('picto'=>'action', 'help'=>array('code'=>$langs->trans("EnterAnyCode"), 'color'=>$langs->trans("ColorFormat"), 'position'=>$langs->trans("PositionIntoComboList"))), @@ -597,6 +606,7 @@ continue; } $tabcomplete[$key]['id'] = $i; + // TODO Comment the line when data is stored into the tabcomplete array $tabcomplete[$key]['cond'] = $tabcond[$i]; $tabcomplete[$key]['rowid'] = $tabrowid[$i]; $tabcomplete[$key]['fieldinsert'] = $tabfieldinsert[$i]; @@ -605,6 +615,7 @@ $tabcomplete[$key]['sql'] = $tabsql[$i]; $tabcomplete[$key]['sqlsort'] = $tabsqlsort[$i]; $tabcomplete[$key]['field'] = $tabfield[$i]; + //$tabcomplete[$key]['picto'] = $tabpicto[$i]; // array picto already loaded into tabcomplete //$tabcomplete[$key]['help'] = $tabhelp[$i]; // array help already loaded into tabcomplete } @@ -651,7 +662,7 @@ 'order_supplier' => img_picto('', 'supplier_order', 'class="pictofixedwidth"').$langs->trans('SupplierOrder'), 'invoice_supplier' => img_picto('', 'supplier_invoice', 'class="pictofixedwidth"').$langs->trans('SupplierBill'), ); - if (!empty($conf->global->MAIN_FEATURES_LEVEL) && $conf->global->MAIN_FEATURES_LEVEL >= 2) { + if (getDolGlobalString('MAIN_FEATURES_LEVEL') && $conf->global->MAIN_FEATURES_LEVEL >= 2) { $elementList['conferenceorbooth'] = img_picto('', 'eventorganization', 'class="pictofixedwidth"').$langs->trans('ConferenceOrBooth'); } @@ -812,7 +823,7 @@ setEventMessages($langs->transnoentities("ErrorFieldRequired", $langs->transnoentities($fieldnamekey)), null, 'errors'); } } - // Other checks + // Other special checks if (GETPOST('actionadd') && $tabname[$id] == "c_actioncomm" && GETPOSTISSET("type") && in_array(GETPOST("type"), array('system', 'systemauto'))) { $ok = 0; setEventMessages($langs->transnoentities('ErrorReservedTypeSystemSystemAuto'), null, 'errors'); @@ -835,6 +846,10 @@ $ok = 0; setEventMessages($langs->transnoentities("ErrorFieldMustBeANumeric", $langs->transnoentities("Code")), null, 'errors'); } + if ($id == 4 && strlen(GETPOST("code")) != 2) { // 2 char on code for country code + $ok = 0; + setEventMessages($langs->transnoentities("ErrorCountryCodeMustBe2Char", $langs->transnoentities("Code")), null, 'errors'); + } // Clean some parameters if ((GETPOST("localtax1_type") || (GETPOST('localtax1_type') == '0')) && !GETPOST("localtax1")) { @@ -861,14 +876,14 @@ // If check ok and action add, add the line if ($ok && GETPOST('actionadd')) { - if ($tabrowid[$id]) { + $newid = 0; + if ($tabrowid[$id] && !in_array($tabrowid[$id], $listfieldinsert)) { // Get free id for insert - $newid = 0; $sql = "SELECT MAX(".$tabrowid[$id].") as newid FROM ".MAIN_DB_PREFIX.$tablename; $result = $db->query($sql); if ($result) { $obj = $db->fetch_object($result); - $newid = ($obj->newid + 1); + $newid = ((int) $obj->newid) + 1; } else { dol_print_error($db); } @@ -1238,13 +1253,17 @@ // Complete search values request with sort criteria $sqlfields = $tabsql[$id]; - $tablecode = ''; + $tablecode = 't.code'; $tableprefix = ''; - $tableprefixarray = array(9 => 'code_iso', 28 => 'h.code', 7 => 'a.code', 32 => 'a.code', 3 => 'r.code_region', 8 => 't.code', 10 => 't.code', 1 => 'f.code', 2 => 'd.code_departement', 14 => 'e.code'); + $tableprefixarray = array(1 => 'f.code', 2 => 'd.code_departement', 3 => 'r.code_region', 4 => 'c.code', 5 => 'c.code', 6 => 'a.code', 9 => 'code_iso', 14 => 'e.code', 28 => 'h.code', 7 => 'a.code', 32 => 'a.code', 37 => 'r.code', 38 => 's.code', 45 => 'f.code', 46 => 'f.code', 47 => 'f.code', 48 => 'f.code'); if (!empty($tableprefixarray[$id])) { $tablecode = $tableprefixarray[$id]; $tableprefix = preg_replace('/\..*$/', '.', $tablecode); } + $reg = array(); + if (empty($tableprefix) && preg_match('/SELECT ([a-z]\.)rowid/i', $sqlfields, $reg)) { + $tableprefix = $reg[1]; + } $sql = $sqlfields; if (!preg_match('/ WHERE /', $sql)) { @@ -1261,7 +1280,7 @@ } elseif ($search_active == 'no') { $sql .= " AND ".$tableprefix."active = 0"; } - //print $sql; + //var_dump($sql); // Count total nb of records $nbtotalofrecords = ''; @@ -1277,7 +1296,7 @@ dol_print_error($db); } - if (($page * $limit) > $nbtotalofrecords) { // if total resultset is smaller than the paging size (filtering), goto and load page 0 + if (($page * $listlimit) > $nbtotalofrecords) { // if total resultset is smaller than the paging size (filtering), goto and load page 0 $page = 0; $offset = 0; } @@ -1321,7 +1340,7 @@ print ''; // Special warning for VAT dictionary - if ($id == 10 && empty($conf->global->FACTURE_TVAOPTION)) { + if ($id == 10 && !getDolGlobalString('FACTURE_TVAOPTION')) { print info_admin($langs->trans("VATIsUsedIsOff", $langs->transnoentities("Setup"), $langs->transnoentities("CompanyFoundation"))); print "
\n"; } @@ -2015,8 +2034,17 @@ while ($i < $num) { $obj = $db->fetch_object($resql); - // Can an entry be erased or disabled ? - // all true by default + $withentity = null; + + // We discard empty lines + if ($id == 4) { + if ($obj->code == '') { + $i++; + continue; + } + } + + // Can an entry be erased, disabled or modified ? (true by default) $iserasable = 1; $canbedisabled = 1; $canbemodified = 1; @@ -2029,7 +2057,7 @@ $iserasable = 0; $canbedisabled = 0; } } - if ($id == 25 && in_array($obj->code, array('banner', 'blogpost', 'other', 'page'))) { + if ($id == 25 && in_array($obj->code, array('banner', 'blogpost', 'menu', 'page', 'other'))) { $iserasable = 0; $canbedisabled = 0; if (in_array($obj->code, array('banner'))) { $canbedisabled = 1; @@ -2051,7 +2079,7 @@ } // Build Url. The table is id=, the id of line is rowid= - $rowidcol = $tabrowid[$id]; + $rowidcol = empty($tabrowid[$id]) ? 'rowid' : $tabrowid[$id]; // If rowidcol not defined if (empty($rowidcol) || in_array($id, array(6, 7, 8, 13, 17, 19, 27, 32))) { $rowidcol = 'rowid'; @@ -2319,27 +2347,27 @@ print ''.$valuetoshow.''; } } - } - // Favorite & EEC - // Only activated on country dictionary - if ($id == 4) { - print ''; - // Is in EEC - if ($iserasable) { - print ''.$actl[$obj->eec].''; - } else { - print ''.$langs->trans("AlwaysActive").''; - } - print ''; - print ''; - // Favorite - if ($iserasable) { - print ''.$actl[$obj->favorite].''; - } else { - print ''.$langs->trans("AlwaysActive").''; + // Favorite & EEC + // Only for country dictionary + if ($id == 4) { + print ''; + // Is in EEC + if ($iserasable) { + print ''.$actl[$obj->eec].''; + } else { + print ''.$langs->trans("AlwaysActive").''; + } + print ''; + print ''; + // Favorite + if ($iserasable) { + print ''.$actl[$obj->favorite].''; + } else { + print ''.$langs->trans("AlwaysActive").''; + } + print ''; } - print ''; } // Active diff --git a/htdocs/admin/dolistore/ajax/image.php b/htdocs/admin/dolistore/ajax/image.php index 6beb96a9e66c8..ea0ef3a7f6f5e 100644 --- a/htdocs/admin/dolistore/ajax/image.php +++ b/htdocs/admin/dolistore/ajax/image.php @@ -46,7 +46,7 @@ $quality = GETPOST('quality', 'alpha'); try { - $url = $conf->global->MAIN_MODULE_DOLISTORE_API_SRV.'/api/images/products/'.$id_product.'/'.$id_image.'/'.$quality; + $url = getDolGlobalString('MAIN_MODULE_DOLISTORE_API_SRV') . '/api/images/products/'.$id_product.'/'.$id_image.'/'.$quality; $api = new PrestaShopWebservice( $conf->global->MAIN_MODULE_DOLISTORE_API_SRV, $conf->global->MAIN_MODULE_DOLISTORE_API_KEY, @@ -64,6 +64,6 @@ } elseif ($trace[0]['args'][0] == 401) { die('Bad auth key'); } else { - die('Can not access to '.$conf->global->MAIN_MODULE_DOLISTORE_API_SRV); + die('Can not access to ' . getDolGlobalString('MAIN_MODULE_DOLISTORE_API_SRV')); } } diff --git a/htdocs/admin/dolistore/class/PSWebServiceLibrary.class.php b/htdocs/admin/dolistore/class/PSWebServiceLibrary.class.php index de6210ba53100..89df1ec2aa44b 100644 --- a/htdocs/admin/dolistore/class/PSWebServiceLibrary.class.php +++ b/htdocs/admin/dolistore/class/PSWebServiceLibrary.class.php @@ -225,7 +225,7 @@ public function getVersion() * @param string $response String from a CURL response * @return SimpleXMLElement|boolean status_code, response * - * @throw PrestaShopWebserviceException + * @throws PrestaShopWebserviceException */ protected function parseXML($response) { @@ -257,7 +257,7 @@ protected function parseXML($response) * @param array $options Options * @return SimpleXMLElement|boolean status_code, response * - * @throw PrestaShopWebserviceException + * @throws PrestaShopWebserviceException */ public function add($options) { @@ -310,7 +310,7 @@ public function add($options) * @param array $options Array representing resource to get. * @return SimpleXMLElement|boolean status_code, response * - * @throw PrestaShopWebserviceException + * @throws PrestaShopWebserviceException */ public function get($options) { @@ -351,7 +351,7 @@ public function get($options) * @param array $options Array representing resource for head request. * @return SimpleXMLElement status_code, response * - * @throw PrestaShopWebserviceException + * @throws PrestaShopWebserviceException */ public function head($options) { @@ -393,7 +393,7 @@ public function head($options) * @param array $options Array representing resource to edit. * @return SimpleXMLElement|boolean status_code, response * - * @throw PrestaShopWebserviceException + * @throws PrestaShopWebserviceException */ public function edit($options) { diff --git a/htdocs/admin/dolistore/class/dolistore.class.php b/htdocs/admin/dolistore/class/dolistore.class.php index 1563f7364f076..215946f8c3082 100644 --- a/htdocs/admin/dolistore/class/dolistore.class.php +++ b/htdocs/admin/dolistore/class/dolistore.class.php @@ -108,7 +108,7 @@ public function getRemoteCategories() } elseif ($trace[0]['args'][0] == 401) { die('Bad auth key'); } else { - print 'Can not access to '.$conf->global->MAIN_MODULE_DOLISTORE_API_SRV.'
'; + print 'Can not access to ' . getDolGlobalString('MAIN_MODULE_DOLISTORE_API_SRV').'
'; print $e->getMessage(); } } @@ -147,7 +147,7 @@ public function getRemoteProducts($options = array('start' => 0, 'end' => 10, 'p // make a search to limit the id returned. if ($this->search != '') { - $opt2['url'] = $conf->global->MAIN_MODULE_DOLISTORE_API_SRV.'/api/search?query='.$this->search.'&language='.$this->lang; // It seems for search, key start with + $opt2['url'] = getDolGlobalString('MAIN_MODULE_DOLISTORE_API_SRV') . '/api/search?query='.$this->search.'&language='.$this->lang; // It seems for search, key start with // Call dol_syslog("Call API with opt2 = ".var_export($opt2, true)); @@ -191,7 +191,7 @@ public function getRemoteProducts($options = array('start' => 0, 'end' => 10, 'p } elseif ($trace[0]['args'][0] == 401) { die('Bad auth key'); } else { - print 'Can not access to '.$conf->global->MAIN_MODULE_DOLISTORE_API_SRV.'
'; + print 'Can not access to ' . getDolGlobalString('MAIN_MODULE_DOLISTORE_API_SRV').'
'; print $e->getMessage(); } } diff --git a/htdocs/admin/ecm.php b/htdocs/admin/ecm.php index 4b5ccbb133e8a..495cd359bc7c5 100644 --- a/htdocs/admin/ecm.php +++ b/htdocs/admin/ecm.php @@ -97,7 +97,7 @@ if ($conf->use_javascript_ajax) { print ajax_constantonoff('ECM_AUTO_TREE_HIDEN', null, null, 1); } else { - if (empty($conf->global->ECM_AUTO_TREE_HIDEN)) { + if (!getDolGlobalString('ECM_AUTO_TREE_HIDEN')) { print ''.img_picto($langs->trans("Enabled"), 'on').''; } else { print ''.img_picto($langs->trans("Disabled"), 'off').''; diff --git a/htdocs/admin/emailcollector_card.php b/htdocs/admin/emailcollector_card.php index 1762a50b36c52..f0d9ee852bbc5 100644 --- a/htdocs/admin/emailcollector_card.php +++ b/htdocs/admin/emailcollector_card.php @@ -398,7 +398,7 @@ $connectstringserver = $object->getConnectStringIMAP(); if ($action == 'scan') { - if (!empty($conf->global->MAIN_IMAP_USE_PHPIMAP)) { + if (getDolGlobalString('MAIN_IMAP_USE_PHPIMAP')) { require_once DOL_DOCUMENT_ROOT.'/includes/webklex/php-imap/vendor/autoload.php'; if ($object->acces_type == 1) { @@ -532,8 +532,8 @@ $connectstringtarget = $connectstringserver.$object->getEncodedUtf7($targetdir); } - $timeoutconnect = empty($conf->global->MAIN_USE_CONNECT_TIMEOUT) ? 5 : $conf->global->MAIN_USE_CONNECT_TIMEOUT; - $timeoutread = empty($conf->global->MAIN_USE_RESPONSE_TIMEOUT) ? 20 : $conf->global->MAIN_USE_RESPONSE_TIMEOUT; + $timeoutconnect = !getDolGlobalString('MAIN_USE_CONNECT_TIMEOUT') ? 5 : $conf->global->MAIN_USE_CONNECT_TIMEOUT; + $timeoutread = !getDolGlobalString('MAIN_USE_RESPONSE_TIMEOUT') ? 20 : $conf->global->MAIN_USE_RESPONSE_TIMEOUT; dol_syslog("imap_open connectstring=".$connectstringsource." login=".$object->login." password=".$object->password." timeoutconnect=".$timeoutconnect." timeoutread=".$timeoutread); diff --git a/htdocs/admin/emailcollector_list.php b/htdocs/admin/emailcollector_list.php index 39e7d4f67c89b..55c261904f3d3 100644 --- a/htdocs/admin/emailcollector_list.php +++ b/htdocs/admin/emailcollector_list.php @@ -301,7 +301,7 @@ $num = $db->num_rows($resql); // Direct jump if only one record found -if ($num == 1 && !empty($conf->global->MAIN_SEARCH_DIRECT_OPEN_IF_ONLY_ONE) && $search_all && !$page) { +if ($num == 1 && getDolGlobalString('MAIN_SEARCH_DIRECT_OPEN_IF_ONLY_ONE') && $search_all && !$page) { $obj = $db->fetch_object($resql); $id = $obj->rowid; header("Location: ".DOL_URL_ROOT.'/emailcollector/emailcollector_card.php?id='.$id); @@ -385,7 +385,8 @@ print ''; print ''; -$newcardbutton = dolGetButtonTitle($langs->trans('New'), '', 'fa fa-plus-circle', 'emailcollector_card.php?action=create&backtopage='.urlencode($_SERVER['PHP_SELF']), '', $permissiontoadd); +$newcardbutton = ''; +$newcardbutton .= dolGetButtonTitle($langs->trans('New'), '', 'fa fa-plus-circle', 'emailcollector_card.php?action=create&backtopage='.urlencode($_SERVER['PHP_SELF']), '', $permissiontoadd); print_barre_liste($title, $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, $massactionbutton, $num, $nbtotalofrecords, 'email', 0, $newcardbutton, '', $limit, 0, 0, 1); @@ -427,7 +428,7 @@ // -------------------------------------------------------------------- print ''; // Action column -if (!empty($conf->global->MAIN_CHECKBOX_LEFT_COLUMN)) { +if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { print ''; $searchpicto = $form->showFilterButtons('left'); print $searchpicto; @@ -475,7 +476,7 @@ $reshook = $hookmanager->executeHooks('printFieldListOption', $parameters, $object); // Note that $action and $object may have been modified by hook print $hookmanager->resPrint; // Action column -if (empty($conf->global->MAIN_CHECKBOX_LEFT_COLUMN)) { +if (!getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { print ''; $searchpicto = $form->showFilterButtons(); print $searchpicto; @@ -489,7 +490,7 @@ // Fields title label // -------------------------------------------------------------------- print ''; -if (!empty($conf->global->MAIN_CHECKBOX_LEFT_COLUMN)) { +if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { print getTitleFieldOfList(($mode != 'kanban' ? $selectedfields : ''), 0, $_SERVER["PHP_SELF"], '', '', '', '', $sortfield, $sortorder, 'center maxwidthsearch ')."\n"; } foreach ($object->fields as $key => $val) { @@ -516,7 +517,7 @@ $reshook = $hookmanager->executeHooks('printFieldListTitle', $parameters, $object); // Note that $action and $object may have been modified by hook print $hookmanager->resPrint; // Action column -if (empty($conf->global->MAIN_CHECKBOX_LEFT_COLUMN)) { +if (!getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { print getTitleFieldOfList(($mode != 'kanban' ? $selectedfields : ''), 0, $_SERVER["PHP_SELF"], '', '', '', '', $sortfield, $sortorder, 'center maxwidthsearch ')."\n"; } $totalarray['nbfield']++; @@ -555,7 +556,14 @@ print '
'; } // Output Kanban - print $object->getKanbanView('', array('selected' => in_array($object->id, $arrayofselected))); + $selected = -1; + if ($massactionbutton || $massaction) { // If we are in select mode (massactionbutton defined) or if we have already selected and sent an action ($massaction) defined + $selected = 0; + if (in_array($object->id, $arrayofselected)) { + $selected = 1; + } + } + print $object->getKanbanView('', array('selected' => $selected)); if ($i == ($imaxinloop - 1)) { print '
'; print ''; @@ -565,7 +573,7 @@ $j = 0; print ''; // Action column - if (!empty($conf->global->MAIN_CHECKBOX_LEFT_COLUMN)) { + if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { print ''; if ($massactionbutton || $massaction) { // If we are in select mode (massactionbutton defined) or if we have already selected and sent an action ($massaction) defined $selected = 0; @@ -637,7 +645,7 @@ $reshook = $hookmanager->executeHooks('printFieldListValue', $parameters, $object); // Note that $action and $object may have been modified by hook print $hookmanager->resPrint; // Action column - if (empty($conf->global->MAIN_CHECKBOX_LEFT_COLUMN)) { + if (!getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { print ''; if ($massactionbutton || $massaction) { // If we are in select mode (massactionbutton defined) or if we have already selected and sent an action ($massaction) defined $selected = 0; diff --git a/htdocs/admin/expedition.php b/htdocs/admin/expedition.php index 31ed39baab37d..4c407e872873b 100644 --- a/htdocs/admin/expedition.php +++ b/htdocs/admin/expedition.php @@ -50,7 +50,7 @@ $scandir = GETPOST('scan_dir', 'alpha'); $type = 'shipping'; -if (empty($conf->global->EXPEDITION_ADDON_NUMBER)) { +if (!getDolGlobalString('EXPEDITION_ADDON_NUMBER')) { $conf->global->EXPEDITION_ADDON_NUMBER = 'mod_expedition_safor'; } @@ -412,6 +412,25 @@ } print ''; +print load_fiche_titre($langs->trans('CreationOptions'), '', ''); + +print ''; +print ''; +print ''; +print ''; +print ''; + +print "\n"; + +print ''; +print ''; +print ''; +print ''; + +print '
'.$langs->trans('Name').''.$langs->trans('Status').'
'.$langs->trans('SHIPPING_DISPLAY_STOCK_ENTRY_DATE'); +print ' '; +print ajax_constantonoff('SHIPPING_DISPLAY_STOCK_ENTRY_DATE'); +print '

'; print '
'; @@ -441,7 +460,7 @@ print ''; print $form->textwithpicto($langs->trans("FreeLegalTextOnShippings"), $langs->trans("AddCRIfTooLong").'

'.$htmltext, 1, 'help', '', 0, 2, 'freetexttooltip').'
'; $variablename = 'SHIPPING_FREE_TEXT'; -if (empty($conf->global->PDF_ALLOW_HTML_FOR_FREE_TEXT)) { +if (!getDolGlobalString('PDF_ALLOW_HTML_FOR_FREE_TEXT')) { print ''; } else { include_once DOL_DOCUMENT_ROOT.'/core/class/doleditor.class.php'; diff --git a/htdocs/admin/expensereport.php b/htdocs/admin/expensereport.php index 288c717c28e32..49c40e0a20f7f 100644 --- a/htdocs/admin/expensereport.php +++ b/htdocs/admin/expensereport.php @@ -111,7 +111,7 @@ } elseif ($action == 'set') { // Activate a model $ret = addDocumentModel($value, $type, $label, $scandir); - if ($ret > 0 && empty($conf->global->EXPENSEREPORT_ADDON_PDF)) { + if ($ret > 0 && !getDolGlobalString('EXPENSEREPORT_ADDON_PDF')) { dolibarr_set_const($db, 'EXPENSEREPORT_ADDON_PDF', $value, 'chaine', 0, '', $conf->entity); } } elseif ($action == 'del') { @@ -456,7 +456,7 @@ print ''; print $form->textwithpicto($langs->trans("FreeLegalTextOnExpenseReports"), $langs->trans("AddCRIfTooLong").'

'.$htmltext, 1, 'help', '', 0, 2, 'freetexttooltip').'
'; $variablename = 'EXPENSEREPORT_FREE_TEXT'; -if (empty($conf->global->PDF_ALLOW_HTML_FOR_FREE_TEXT)) { +if (!getDolGlobalString('PDF_ALLOW_HTML_FOR_FREE_TEXT')) { print ''; } else { include_once DOL_DOCUMENT_ROOT.'/core/class/doleditor.class.php'; @@ -476,20 +476,20 @@ print ''; print $langs->trans('ProjectIsRequiredOnExpenseReports'); print ''; - print $form->selectyesno('EXPENSEREPORT_PROJECT_IS_REQUIRED', empty($conf->global->EXPENSEREPORT_PROJECT_IS_REQUIRED) ? 0 : 1, 1); + print $form->selectyesno('EXPENSEREPORT_PROJECT_IS_REQUIRED', !getDolGlobalString('EXPENSEREPORT_PROJECT_IS_REQUIRED') ? 0 : 1, 1); print ''; } print ''; print $langs->trans('PrefillExpenseReportDatesWithCurrentMonth'); print ''; -print $form->selectyesno('EXPENSEREPORT_PREFILL_DATES_WITH_CURRENT_MONTH', empty($conf->global->EXPENSEREPORT_PREFILL_DATES_WITH_CURRENT_MONTH) ? 0 : 1, 1); +print $form->selectyesno('EXPENSEREPORT_PREFILL_DATES_WITH_CURRENT_MONTH', !getDolGlobalString('EXPENSEREPORT_PREFILL_DATES_WITH_CURRENT_MONTH') ? 0 : 1, 1); print ''; print ''; print $langs->trans('ForceExpenseReportsLineAmountsIncludingTaxesOnly'); print ''; -print $form->selectyesno('EXPENSEREPORT_FORCE_LINE_AMOUNTS_INCLUDING_TAXES_ONLY', empty($conf->global->EXPENSEREPORT_FORCE_LINE_AMOUNTS_INCLUDING_TAXES_ONLY) ? 0 : 1, 1); +print $form->selectyesno('EXPENSEREPORT_FORCE_LINE_AMOUNTS_INCLUDING_TAXES_ONLY', !getDolGlobalString('EXPENSEREPORT_FORCE_LINE_AMOUNTS_INCLUDING_TAXES_ONLY') ? 0 : 1, 1); print ''; print ''; diff --git a/htdocs/admin/export.php b/htdocs/admin/export.php index 3aba8fa81924c..1d17998fee01b 100644 --- a/htdocs/admin/export.php +++ b/htdocs/admin/export.php @@ -47,7 +47,7 @@ */ if ($action == 'save') { - dolibarr_set_const($db, 'EXPORT_CSV_SEPARATOR_TO_USE', GETPOST('EXPORT_CSV_SEPARATOR_TO_USE', 'alphanohtml')); + dolibarr_set_const($db, 'EXPORT_CSV_SEPARATOR_TO_USE', GETPOST('EXPORT_CSV_SEPARATOR_TO_USE', 'alphanohtml'), 'chaine', 0, '', $conf->entity); } @@ -98,7 +98,7 @@ print ''; print ''.$langs->trans("ExportCsvSeparator").''; -print ''; +print ''; print ''; print ''; diff --git a/htdocs/admin/facture.php b/htdocs/admin/facture.php index 1dbd4cee9b194..2179da4b6f177 100644 --- a/htdocs/admin/facture.php +++ b/htdocs/admin/facture.php @@ -361,7 +361,7 @@ print ''; //print "> ".$conf->global->FACTURE_ADDON." - ".$file; - if ($conf->global->FACTURE_ADDON == $file || $conf->global->FACTURE_ADDON.'.php' == $file) { + if ($conf->global->FACTURE_ADDON == $file || getDolGlobalString('FACTURE_ADDON') . '.php' == $file) { print img_picto($langs->trans("Activated"), 'switch_on'); } else { print ''.img_picto($langs->trans("Disabled"), 'switch_off').''; @@ -434,7 +434,7 @@ print ''; print $form->textwithpicto('', $htmltooltip, 1, 0); - if ($conf->global->FACTURE_ADDON.'.php' == $file) { // If module is the one used, we show existing errors + if (getDolGlobalString('FACTURE_ADDON') . '.php' == $file) { // If module is the one used, we show existing errors if (!empty($module->error)) { dol_htmloutput_mesg($module->error, '', 'error', 1); } @@ -604,7 +604,7 @@ print ''; print '
'; -if (!empty($conf->global->INVOICE_USE_DEFAULT_DOCUMENT)) { // Hidden conf +if (getDolGlobalString('INVOICE_USE_DEFAULT_DOCUMENT')) { // Hidden conf /* * Document templates generators */ @@ -777,7 +777,7 @@ print ''; print $form->textwithpicto($langs->trans("FreeLegalTextOnInvoices"), $langs->trans("AddCRIfTooLong").'

'.$htmltext, 1, 'help', '', 0, 2, 'freetexttooltip').'
'; $variablename = 'INVOICE_FREE_TEXT'; -if (empty($conf->global->PDF_ALLOW_HTML_FOR_FREE_TEXT)) { +if (!getDolGlobalString('PDF_ALLOW_HTML_FOR_FREE_TEXT')) { print ''; } else { include_once DOL_DOCUMENT_ROOT.'/core/class/doleditor.class.php'; diff --git a/htdocs/admin/facture_situation.php b/htdocs/admin/facture_situation.php index dfc145e72b0e6..7ef75b33bfada 100644 --- a/htdocs/admin/facture_situation.php +++ b/htdocs/admin/facture_situation.php @@ -86,7 +86,7 @@ if ($action == 'edit') { $item->fieldInputOverride = $form->selectarray('INVOICE_USE_RETAINED_WARRANTY', $arrayAvailableType, $conf->global->INVOICE_USE_RETAINED_WARRANTY, 1); } else { - $item->fieldOutputOverride= isset($arrayAvailableType[$conf->global->INVOICE_USE_RETAINED_WARRANTY])?$arrayAvailableType[$conf->global->INVOICE_USE_RETAINED_WARRANTY]:''; + $item->fieldOutputOverride= isset($arrayAvailableType[getDolGlobalString('INVOICE_USE_RETAINED_WARRANTY')])?$arrayAvailableType[getDolGlobalString('INVOICE_USE_RETAINED_WARRANTY')]:''; } //$item = $formSetup->newItem('INVOICE_RETAINED_WARRANTY_LIMITED_TO_SITUATION')->setAsYesNo(); @@ -111,8 +111,8 @@ $item = $formSetup->newItem('INVOICE_SITUATION_DEFAULT_RETAINED_WARRANTY_COND_ID'); $item->nameText = $langs->trans('PaymentConditionsShortRetainedWarranty'); $form->load_cache_conditions_paiements(); -if (!empty($conf->global->INVOICE_SITUATION_DEFAULT_RETAINED_WARRANTY_COND_ID) && isset($form->cache_conditions_paiements[$conf->global->INVOICE_SITUATION_DEFAULT_RETAINED_WARRANTY_COND_ID]['label'])) { - $item->fieldOutputOverride = $form->cache_conditions_paiements[$conf->global->INVOICE_SITUATION_DEFAULT_RETAINED_WARRANTY_COND_ID]['label']; +if (getDolGlobalString('INVOICE_SITUATION_DEFAULT_RETAINED_WARRANTY_COND_ID') && isset($form->cache_conditions_paiements[getDolGlobalString('INVOICE_SITUATION_DEFAULT_RETAINED_WARRANTY_COND_ID')]['label'])) { + $item->fieldOutputOverride = $form->cache_conditions_paiements[getDolGlobalString('INVOICE_SITUATION_DEFAULT_RETAINED_WARRANTY_COND_ID')]['label']; } $item->fieldInputOverride = $form->getSelectConditionsPaiements($conf->global->INVOICE_SITUATION_DEFAULT_RETAINED_WARRANTY_COND_ID, 'INVOICE_SITUATION_DEFAULT_RETAINED_WARRANTY_COND_ID', -1, 1); diff --git a/htdocs/admin/fckeditor.php b/htdocs/admin/fckeditor.php index 2b5644a0642c7..91b8214b2010d 100644 --- a/htdocs/admin/fckeditor.php +++ b/htdocs/admin/fckeditor.php @@ -57,7 +57,7 @@ 'MAILING' => 'FCKeditorForMailing', 'MAIL' => 'FCKeditorForMail', 'TICKET' => 'FCKeditorForTicket', - 'SPECIALCHAR' => 'SpecialChar activation', + 'SPECIALCHAR' => 'SpecialCharActivation', ); // Conditions for the option to be offered $conditions = array( @@ -100,13 +100,9 @@ if ($const == 'PRODUCTDESC' && getDolGlobalInt('PRODUIT_DESC_IN_FORM_ACCORDING_TO_DEVICE')) { dolibarr_set_const($db, "FCKEDITOR_ENABLE_DETAILS", "1", 'chaine', 0, '', $conf->entity); } - header("Location: ".$_SERVER["PHP_SELF"]); - exit; } if ($action == 'disable_'.strtolower($const)) { dolibarr_set_const($db, "FCKEDITOR_ENABLE_".$const, "0", 'chaine', 0, '', $conf->entity); - header("Location: ".$_SERVER["PHP_SELF"]); - exit; } } @@ -179,9 +175,9 @@ print ''; $value = (isset($conf->global->$constante) ? $conf->global->$constante : 0); if ($value == 0) { - print ''.img_picto($langs->trans("Disabled"), 'switch_off').''; + print ''.img_picto($langs->trans("Disabled"), 'switch_off').''; } elseif ($value == 1) { - print ''.img_picto($langs->trans("Enabled"), 'switch_on').''; + print ''.img_picto($langs->trans("Enabled"), 'switch_on').''; } print ""; diff --git a/htdocs/admin/fichinter.php b/htdocs/admin/fichinter.php index 3df2f7b8c52f2..77d1f8a2b6079 100644 --- a/htdocs/admin/fichinter.php +++ b/htdocs/admin/fichinter.php @@ -533,7 +533,7 @@ print ''; print $form->textwithpicto($langs->trans("FreeLegalTextOnInterventions"), $langs->trans("AddCRIfTooLong").'

'.$htmltext, 1, 'help', '', 0, 2, 'freetexttooltip').'
'; $variablename = 'FICHINTER_FREE_TEXT'; -if (empty($conf->global->PDF_ALLOW_HTML_FOR_FREE_TEXT)) { +if (!getDolGlobalString('PDF_ALLOW_HTML_FOR_FREE_TEXT')) { print ''; } else { include_once DOL_DOCUMENT_ROOT.'/core/class/doleditor.class.php'; diff --git a/htdocs/admin/geoipmaxmind.php b/htdocs/admin/geoipmaxmind.php index 78fde3d095e30..3db7eef8152e1 100644 --- a/htdocs/admin/geoipmaxmind.php +++ b/htdocs/admin/geoipmaxmind.php @@ -89,7 +89,7 @@ $version = ''; $geoip = ''; -if (!empty($conf->global->GEOIPMAXMIND_COUNTRY_DATAFILE)) { +if (getDolGlobalString('GEOIPMAXMIND_COUNTRY_DATAFILE')) { $geoip = new DolGeoIP('country', $conf->global->GEOIPMAXMIND_COUNTRY_DATAFILE); } @@ -109,7 +109,7 @@ print ''; $arrayofvalues = array('php' => 'Native PHP functions', '1' => 'Embedded GeoIP v1', '2' => 'Embedded GeoIP v2'); print $form->selectarray('geoipversion', $arrayofvalues, (isset($conf->global->GEOIP_VERSION) ? $conf->global->GEOIP_VERSION : '2')); -if ($conf->global->GEOIP_VERSION == 'php') { +if (getDolGlobalString('GEOIP_VERSION') == 'php') { if ($geoip) { $version = $geoip->getVersion(); } @@ -126,7 +126,7 @@ // Path to database file print ''.$langs->trans("PathToGeoIPMaxmindCountryDataFile").''; print ''; -if ($conf->global->GEOIP_VERSION == 'php') { +if (getDolGlobalString('GEOIP_VERSION') == 'php') { print 'Using geoip PHP internal functions. Value must be '.geoip_db_filename(GEOIP_COUNTRY_EDITION).' or '.geoip_db_filename(GEOIP_CITY_EDITION_REV1).' or /pathtodatafile/GeoLite2-Country.mmdb
'; } print ''; diff --git a/htdocs/admin/holiday.php b/htdocs/admin/holiday.php index 3b6149f3745e8..6c95864e027dc 100644 --- a/htdocs/admin/holiday.php +++ b/htdocs/admin/holiday.php @@ -46,7 +46,7 @@ $scandir = GETPOST('scan_dir', 'alpha'); $type = 'contract'; -if (empty($conf->global->HOLIDAY_ADDON)) { +if (!getDolGlobalString('HOLIDAY_ADDON')) { $conf->global->HOLIDAY_ADDON = 'mod_holiday_madonna'; } @@ -468,7 +468,7 @@ if ($conf->use_javascript_ajax) { print ajax_constantonoff('MAIN_NON_WORKING_DAYS_INCLUDE_MONDAY', array(), null, 0); } else { - if (!empty($conf->global->MAIN_NON_WORKING_DAYS_INCLUDE_MONDAY)) { + if (getDolGlobalString('MAIN_NON_WORKING_DAYS_INCLUDE_MONDAY')) { print ''.img_picto($langs->trans("Enabled"), 'on').''; } else { print ''.img_picto($langs->trans("Disabled"), 'off').''; @@ -484,7 +484,7 @@ if ($conf->use_javascript_ajax) { print ajax_constantonoff('MAIN_NON_WORKING_DAYS_INCLUDE_FRIDAY', array(), null, 0); } else { - if (!empty($conf->global->MAIN_NON_WORKING_DAYS_INCLUDE_FRIDAY)) { + if (getDolGlobalString('MAIN_NON_WORKING_DAYS_INCLUDE_FRIDAY')) { print ''.img_picto($langs->trans("Enabled"), 'on').''; } else { print ''.img_picto($langs->trans("Disabled"), 'off').''; @@ -500,7 +500,7 @@ if ($conf->use_javascript_ajax) { print ajax_constantonoff('MAIN_NON_WORKING_DAYS_INCLUDE_SATURDAY', array(), null, 0, 0, 0, 2, 0, 1); } else { - if (!empty($conf->global->MAIN_NON_WORKING_DAYS_INCLUDE_SATURDAY)) { + if (getDolGlobalString('MAIN_NON_WORKING_DAYS_INCLUDE_SATURDAY')) { print ''.img_picto($langs->trans("Enabled"), 'on').''; } else { print ''.img_picto($langs->trans("Disabled"), 'off').''; @@ -516,7 +516,7 @@ if ($conf->use_javascript_ajax) { print ajax_constantonoff('MAIN_NON_WORKING_DAYS_INCLUDE_SUNDAY', array(), null, 0, 0, 0, 2, 0, 1); } else { - if (!empty($conf->global->MAIN_NON_WORKING_DAYS_INCLUDE_SUNDAY)) { + if (getDolGlobalString('MAIN_NON_WORKING_DAYS_INCLUDE_SUNDAY')) { print ''.img_picto($langs->trans("Enabled"), 'on').''; } else { print ''.img_picto($langs->trans("Disabled"), 'off').''; @@ -538,7 +538,7 @@ print $form->textwithpicto($langs->trans("FreeLegalTextOnHolidays"), $langs->trans("AddCRIfTooLong").'

'.$htmltext, 1, 'help', '', 0, 2, 'tooltiphelp'); print '
'; $variablename = 'HOLIDAY_FREE_TEXT'; - if (empty($conf->global->PDF_ALLOW_HTML_FOR_FREE_TEXT)) { + if (!getDolGlobalString('PDF_ALLOW_HTML_FOR_FREE_TEXT')) { print ''; } else { include_once DOL_DOCUMENT_ROOT.'/core/class/doleditor.class.php'; diff --git a/htdocs/admin/hrm.php b/htdocs/admin/hrm.php index 06cab9b02490c..057fb8e463308 100644 --- a/htdocs/admin/hrm.php +++ b/htdocs/admin/hrm.php @@ -470,7 +470,7 @@ print load_fiche_titre($langs->trans('OtherOptions'), '', ''); -if (empty($conf->global->HRM_MAXRANK)) { +if (!getDolGlobalString('HRM_MAXRANK')) { $conf->global->HRM_MAXRANK = Skill::DEFAULT_MAX_RANK_PER_SKILL; } diff --git a/htdocs/admin/ihm.php b/htdocs/admin/ihm.php index 6237e5912f0da..a7f457fe9f443 100644 --- a/htdocs/admin/ihm.php +++ b/htdocs/admin/ihm.php @@ -5,7 +5,7 @@ * Copyright (C) 2016 Juanjo Menent * Copyright (C) 2018 Ferran Marcet * Copyright (C) 2021 Alexandre Spangaro - * Copyright (C) 2021 Anthony Berton + * Copyright (C) 2021-2023 Anthony Berton * Copyright (C) 2023 Eric Seigne * * This program is free software; you can redistribute it and/or modify @@ -77,11 +77,11 @@ } } -if ($action == 'removebackgroundlogin' && !empty($conf->global->MAIN_LOGIN_BACKGROUND)) { +if ($action == 'removebackgroundlogin' && getDolGlobalString('MAIN_LOGIN_BACKGROUND')) { dolibarr_set_const($db, "MAIN_IHM_PARAMS_REV", getDolGlobalInt('MAIN_IHM_PARAMS_REV') + 1, 'chaine', 0, '', $conf->entity); require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php'; - $logofile = $conf->mycompany->dir_output.'/logos/'.$conf->global->MAIN_LOGIN_BACKGROUND; + $logofile = $conf->mycompany->dir_output.'/logos/' . getDolGlobalString('MAIN_LOGIN_BACKGROUND'); dol_delete_file($logofile); dolibarr_del_const($db, "MAIN_LOGIN_BACKGROUND", $conf->entity); $mysoc->logo = ''; @@ -106,6 +106,10 @@ dolibarr_set_const($db, "MAIN_THEME", GETPOST("main_theme", 'aZ09'), 'chaine', 0, '', $conf->entity); dolibarr_set_const($db, "MAIN_IHM_PARAMS_REV", getDolGlobalInt('MAIN_IHM_PARAMS_REV') + 1, 'chaine', 0, '', $conf->entity); + if (GETPOSTISSET('THEME_ELDY_USECOMOACTROW')) { + dolibarr_set_const($db, "THEME_ELDY_USECOMOACTROW", GETPOST('THEME_ELDY_USECOMOACTROW'), 'chaine', 0, '', $conf->entity); + } + if (GETPOSTISSET('THEME_DARKMODEENABLED')) { $val = GETPOST('THEME_DARKMODEENABLED'); if (!$val) { @@ -244,9 +248,12 @@ dolibarr_set_const($db, "MAIN_LANG_DEFAULT", GETPOST("MAIN_LANG_DEFAULT", 'aZ09'), 'chaine', 0, '', $conf->entity); dolibarr_set_const($db, "MAIN_IHM_PARAMS_REV", getDolGlobalInt('MAIN_IHM_PARAMS_REV') + 1, 'chaine', 0, '', $conf->entity); - dolibarr_set_const($db, "MAIN_SIZE_LISTE_LIMIT", GETPOST("main_size_liste_limit", 'int'), 'chaine', 0, '', $conf->entity); + dolibarr_set_const($db, "MAIN_SIZE_LISTE_LIMIT", GETPOST("MAIN_SIZE_LISTE_LIMIT", 'int'), 'chaine', 0, '', $conf->entity); dolibarr_set_const($db, "MAIN_SIZE_SHORTLIST_LIMIT", GETPOST("main_size_shortliste_limit", 'int'), 'chaine', 0, '', $conf->entity); - dolibarr_set_const($db, "MAIN_CHECKBOX_LEFT_COLUMN", GETPOST("MAIN_CHECKBOX_LEFT_COLUMN", 'int'), 'chaine', 0, '', $conf->entity); + + if (GETPOSTISSET("MAIN_CHECKBOX_LEFT_COLUMN")) { + dolibarr_set_const($db, "MAIN_CHECKBOX_LEFT_COLUMN", GETPOST("MAIN_CHECKBOX_LEFT_COLUMN", 'int'), 'chaine', 0, '', $conf->entity); + } //dolibarr_set_const($db, "MAIN_DISABLE_JAVASCRIPT", GETPOST("MAIN_DISABLE_JAVASCRIPT", 'aZ09'), 'chaine', 0, '', $conf->entity); //dolibarr_set_const($db, "MAIN_BUTTON_HIDE_UNAUTHORIZED", GETPOST("MAIN_BUTTON_HIDE_UNAUTHORIZED", 'aZ09'), 'chaine', 0, '', $conf->entity); @@ -415,11 +422,11 @@ print ''; // Max size of lists - print '' . $langs->trans("DefaultMaxSizeList") . ''; + print '' . $langs->trans("DefaultMaxSizeList") . ''; print ''; // Max size of short lists on customer card - print '' . $langs->trans("DefaultMaxSizeShortList") . ''; + print '' . $langs->trans("DefaultMaxSizeShortList") . ''; print ''; // Max size of lists @@ -484,11 +491,18 @@ print ''; */ + + // Show search area in top menu + print '' . $langs->trans("ShowSearchAreaInTopMenu") . ''; + print ajax_constantonoff("MAIN_USE_TOP_MENU_SEARCH_DROPDOWN", array(), $conf->entity, 0, 0, 1, 0, 0, 0, '', 'other'); + print ''; + print ''; + // Show bugtrack link print ''; print $form->textwithpicto($langs->trans("ShowBugTrackLink", $langs->transnoentitiesnoconv("FindBug")), $langs->trans("ShowBugTrackLinkDesc")); print ''; - print ''; + print ''; print ''; print ''; @@ -556,7 +570,7 @@ print ''; print ''; - if (empty($conf->global->MAIN_DISABLE_GLOBAL_WORKBOARD)) { + if (!getDolGlobalString('MAIN_DISABLE_GLOBAL_WORKBOARD')) { // Block meteo print '' . $langs->trans('MAIN_DISABLE_METEO') . ''; print ajax_constantonoff("MAIN_DISABLE_METEO", array(), $conf->entity, 0, 0, 1, 0, 0, 0, '_red', 'dashboard'); @@ -664,7 +678,7 @@ print ''; print '
'; $disabled = ''; - if (!empty($conf->global->ADD_UNSPLASH_LOGIN_BACKGROUND)) { + if (getDolGlobalString('ADD_UNSPLASH_LOGIN_BACKGROUND')) { $disabled = ' disabled="disabled"'; } $maxfilesizearray = getMaxFileSizeArray(); @@ -676,11 +690,11 @@ if ($disabled) { print '(' . $langs->trans("DisabledByOptionADD_UNSPLASH_LOGIN_BACKGROUND") . ') '; } - if (!empty($conf->global->MAIN_LOGIN_BACKGROUND)) { + if (getDolGlobalString('MAIN_LOGIN_BACKGROUND')) { print '' . img_delete($langs->trans("Delete")) . ''; - if (file_exists($conf->mycompany->dir_output . '/logos/' . $conf->global->MAIN_LOGIN_BACKGROUND)) { + if (file_exists($conf->mycompany->dir_output . '/logos/' . getDolGlobalString('MAIN_LOGIN_BACKGROUND'))) { print '   '; - print ''; + print ''; } } else { print ''; diff --git a/htdocs/admin/import.php b/htdocs/admin/import.php index 432b912e76cfe..cfefc5e485624 100644 --- a/htdocs/admin/import.php +++ b/htdocs/admin/import.php @@ -90,7 +90,7 @@ print ''; print ''.$langs->trans("ImportCsvSeparator").' ('.$langs->trans("ByDefault").')'; -print ''."global->IMPORT_CSV_SEPARATOR_TO_USE) ? ',' : $conf->global->IMPORT_CSV_SEPARATOR_TO_USE)."\">"; +print ''."global->IMPORT_CSV_SEPARATOR_TO_USE)."\">"; print ''; print ''; diff --git a/htdocs/admin/index.php b/htdocs/admin/index.php index b72960f18c177..7afd5ed0f7d39 100644 --- a/htdocs/admin/index.php +++ b/htdocs/admin/index.php @@ -51,9 +51,9 @@ print load_fiche_titre($langs->trans("SetupArea"), '', 'tools'); -if (!empty($conf->global->MAIN_MOTD_SETUPPAGE)) { +if (getDolGlobalString('MAIN_MOTD_SETUPPAGE')) { $conf->global->MAIN_MOTD_SETUPPAGE = preg_replace('//i', '
', $conf->global->MAIN_MOTD_SETUPPAGE); - if (!empty($conf->global->MAIN_MOTD_SETUPPAGE)) { + if (getDolGlobalString('MAIN_MOTD_SETUPPAGE')) { $i = 0; $reg = array(); while (preg_match('/__\(([a-zA-Z|@]+)\)__/i', $conf->global->MAIN_MOTD_SETUPPAGE, $reg) && $i < 100) { @@ -83,7 +83,7 @@ print '
'; // Show info setup company -if (empty($conf->global->MAIN_INFO_SOCIETE_NOM) || empty($conf->global->MAIN_INFO_SOCIETE_COUNTRY) || !empty($conf->global->MAIN_INFO_SOCIETE_SETUP_TODO_WARNING)) { +if (!getDolGlobalString('MAIN_INFO_SOCIETE_NOM') || !getDolGlobalString('MAIN_INFO_SOCIETE_COUNTRY') || getDolGlobalString('MAIN_INFO_SOCIETE_SETUP_TODO_WARNING')) { $setupcompanynotcomplete = 1; } diff --git a/htdocs/admin/ldap.php b/htdocs/admin/ldap.php index 647f1688ddf4f..395044072e314 100644 --- a/htdocs/admin/ldap.php +++ b/htdocs/admin/ldap.php @@ -156,7 +156,7 @@ print ''.$langs->trans("LDAPDnSynchroActive").''; print $formldap->selectLdapDnSynchroActive(getDolGlobalInt('LDAP_SYNCHRO_ACTIVE'), 'activesynchro'); print ''.$langs->trans("LDAPDnSynchroActiveExample").''; -if (!empty($conf->global->LDAP_SYNCHRO_ACTIVE) && empty($conf->global->LDAP_USER_DN)) { +if (getDolGlobalString('LDAP_SYNCHRO_ACTIVE') && !getDolGlobalString('LDAP_USER_DN')) { print '
'.$langs->trans("LDAPSetupNotComplete").''; } print ''; @@ -272,7 +272,7 @@ * Test de la connexion */ if (function_exists("ldap_connect")) { - if (!empty($conf->global->LDAP_SERVER_HOST)) { + if (getDolGlobalString('LDAP_SERVER_HOST')) { print ''.$langs->trans("LDAPTestConnect").'

'; } @@ -286,7 +286,7 @@ print ''.$langs->trans("LDAPTCPConnectOK", $ldap->connectedServer, getDolGlobalString('LDAP_SERVER_PORT')).''; print '
'; - if (!empty($conf->global->LDAP_ADMIN_DN) && !empty($conf->global->LDAP_ADMIN_PASS)) { + if (getDolGlobalString('LDAP_ADMIN_DN') && getDolGlobalString('LDAP_ADMIN_PASS')) { if ($result == 2) { print img_picto('', 'info').' '; print ''.$langs->trans("LDAPBindOK", $ldap->connectedServer, getDolGlobalString('LDAP_SERVER_PORT'), $conf->global->LDAP_ADMIN_DN, preg_replace('/./i', '*', $conf->global->LDAP_ADMIN_PASS)).''; diff --git a/htdocs/admin/ldap_contacts.php b/htdocs/admin/ldap_contacts.php index 3f0742bd18634..5e5fd8fb9c082 100644 --- a/htdocs/admin/ldap_contacts.php +++ b/htdocs/admin/ldap_contacts.php @@ -155,7 +155,7 @@ // DN Pour les contacts print ''; print ''.$langs->trans("LDAPContactDn").''; -print ''; +print ''; print ''.$langs->trans("LDAPContactDnExample").''; print ' '; print ''; @@ -163,7 +163,7 @@ // List of object class used to define attributes in structure print ''; print ''.$langs->trans("LDAPContactObjectClassList").''; -print ''; +print ''; print ''.$langs->trans("LDAPContactObjectClassListExample").''; print ' '; print ''; @@ -180,91 +180,91 @@ // Common name print ''.$langs->trans("LDAPFieldFullname").''; -print ''; +print ''; print ''.$langs->trans("LDAPFieldFullnameExample").''; print 'global->LDAP_KEY_CONTACTS && $conf->global->LDAP_KEY_CONTACTS == $conf->global->LDAP_CONTACT_FIELD_FULLNAME ? ' checked' : '').">"; print ''; // Name print ''.$langs->trans("LDAPFieldName").''; -print ''; +print ''; print ''.$langs->trans("LDAPFieldNameExample").''; print 'global->LDAP_KEY_CONTACTS && $conf->global->LDAP_KEY_CONTACTS == $conf->global->LDAP_CONTACT_FIELD_NAME ? ' checked' : '').">"; print ''; // Firstname print ''.$langs->trans("LDAPFieldFirstName").''; -print ''; +print ''; print ''.$langs->trans("LDAPFieldFirstNameExample").''; print 'global->LDAP_KEY_CONTACTS && $conf->global->LDAP_KEY_CONTACTS == $conf->global->LDAP_CONTACT_FIELD_FIRSTNAME ? ' checked' : '').">"; print ''; // Company print ''.$langs->trans("LDAPFieldCompany").''; -print ''; +print ''; print ''.$langs->trans("LDAPFieldCompanyExample").''; print 'global->LDAP_KEY_CONTACTS && $conf->global->LDAP_KEY_CONTACTS == $conf->global->LDAP_CONTACT_FIELD_COMPANY ? ' checked' : '').">"; print ''; // Mail print ''.$langs->trans("LDAPFieldMail").''; -print ''; +print ''; print ''.$langs->trans("LDAPFieldMailExample").''; print 'global->LDAP_KEY_CONTACTS && $conf->global->LDAP_KEY_CONTACTS == $conf->global->LDAP_CONTACT_FIELD_MAIL ? ' checked' : '').">"; print ''; // Phone pro print ''.$langs->trans("LDAPFieldPhone").''; -print ''; +print ''; print ''.$langs->trans("LDAPFieldPhoneExample").''; print 'global->LDAP_KEY_CONTACTS && $conf->global->LDAP_KEY_CONTACTS == $conf->global->LDAP_CONTACT_FIELD_PHONE ? ' checked' : '').">"; print ''; // Phone home print ''.$langs->trans("LDAPFieldHomePhone").''; -print ''; +print ''; print ''.$langs->trans("LDAPFieldHomePhoneExample").''; print 'global->LDAP_KEY_CONTACTS && $conf->global->LDAP_KEY_CONTACTS == $conf->global->LDAP_CONTACT_FIELD_HOMEPHONE ? ' checked' : '').">"; print ''; // Mobile print ''.$langs->trans("LDAPFieldMobile").''; -print ''; +print ''; print ''.$langs->trans("LDAPFieldMobileExample").''; print 'global->LDAP_KEY_CONTACTS && $conf->global->LDAP_KEY_CONTACTS == $conf->global->LDAP_CONTACT_FIELD_MOBILE ? ' checked' : '').">"; print ''; // Fax print ''.$langs->trans("LDAPFieldFax").''; -print ''; +print ''; print ''.$langs->trans("LDAPFieldFaxExample").''; print 'global->LDAP_KEY_CONTACTS && $conf->global->LDAP_KEY_CONTACTS == $conf->global->LDAP_CONTACT_FIELD_FAX ? ' checked' : '').">"; print ''; // Address print ''.$langs->trans("LDAPFieldAddress").''; -print ''; +print ''; print ''.$langs->trans("LDAPFieldAddressExample").''; print 'global->LDAP_KEY_CONTACTS && $conf->global->LDAP_KEY_CONTACTS == $conf->global->LDAP_CONTACT_FIELD_ADDRESS ? ' checked' : '').">"; print ''; // ZIP print ''.$langs->trans("LDAPFieldZip").''; -print ''; +print ''; print ''.$langs->trans("LDAPFieldZipExample").''; print 'global->LDAP_KEY_CONTACTS && $conf->global->LDAP_KEY_CONTACTS == $conf->global->LDAP_CONTACT_FIELD_ZIP ? ' checked' : '').">"; print ''; // TOWN print ''.$langs->trans("LDAPFieldTown").''; -print ''; +print ''; print ''.$langs->trans("LDAPFieldTownExample").''; print 'global->LDAP_KEY_CONTACTS && $conf->global->LDAP_KEY_CONTACTS == $conf->global->LDAP_CONTACT_FIELD_TOWN ? ' checked' : '').">"; print ''; // COUNTRY print ''.$langs->trans("LDAPFieldCountry").''; -print ''; +print ''; print ' '; print 'global->LDAP_KEY_CONTACTS && $conf->global->LDAP_KEY_CONTACTS == $conf->global->LDAP_CONTACT_FIELD_COUNTRY ? ' checked' : '').">"; print ''; diff --git a/htdocs/admin/ldap_groups.php b/htdocs/admin/ldap_groups.php index 5079d6d2d292c..878a6c6029a5b 100644 --- a/htdocs/admin/ldap_groups.php +++ b/htdocs/admin/ldap_groups.php @@ -133,7 +133,7 @@ // DN pour les groupes print ''; print ''.$langs->trans("LDAPGroupDn").''; -print ''; +print ''; print ''.$langs->trans("LDAPGroupDnExample").''; print ' '; print ''; @@ -141,7 +141,7 @@ // List of object class used to define attributes in structure print ''; print ''.$langs->trans("LDAPGroupObjectClassList").''; -print ''; +print ''; print ''.$langs->trans("LDAPGroupObjectClassListExample").''; print ' '; print ''; @@ -149,7 +149,7 @@ // Filter, used to filter search print ''; print ''.$langs->trans("LDAPFilterConnection").''; -print ''; +print ''; print ''.$langs->trans("LDAPGroupFilterExample").''; print ''; print ''; @@ -170,9 +170,9 @@ // Common name print ''.$langs->trans("LDAPFieldName").''; -print ''; +print ''; print ''.$langs->trans("LDAPFieldCommonNameExample").''; -print 'global->LDAP_KEY_GROUPS && $conf->global->LDAP_KEY_GROUPS == $conf->global->LDAP_GROUP_FIELD_FULLNAME) ? ' checked' : '').">"; +print '"; print ''; // Name @@ -186,21 +186,21 @@ // Description print ''.$langs->trans("LDAPFieldDescription").''; -print ''; +print ''; print ''.$langs->trans("LDAPFieldDescriptionExample").''; -print 'global->LDAP_KEY_GROUPS && $conf->global->LDAP_KEY_GROUPS == $conf->global->LDAP_GROUP_FIELD_DESCRIPTION) ? ' checked' : '').">"; +print '"; print ''; // User group print ''.$langs->trans("LDAPFieldGroupMembers").''; -print ''; +print ''; print ''.$langs->trans("LDAPFieldGroupMembersExample").''; -print 'global->LDAP_KEY_GROUPS && $conf->global->LDAP_KEY_GROUPS == $conf->global->LDAP_GROUP_FIELD_GROUPMEMBERS) ? ' checked' : '').">"; +print '"; print ''; // Group id print ''.$langs->trans("LDAPFieldGroupid").''; -print ''; +print ''; print ''.$langs->trans("LDAPFieldGroupidExample").''; print ' '; print ''; @@ -222,17 +222,17 @@ if (getDolGlobalInt('LDAP_SYNCHRO_ACTIVE') === Ldap::SYNCHRO_DOLIBARR_TO_LDAP) { $butlabel = $langs->trans("LDAPTestSynchroGroup"); $testlabel = 'testgroup'; - $key = $conf->global->LDAP_KEY_GROUPS; - $dn = $conf->global->LDAP_GROUP_DN; - $objectclass = $conf->global->LDAP_GROUP_OBJECT_CLASS; + $key = getDolGlobalString('LDAP_KEY_GROUPS'); + $dn = getDolGlobalString('LDAP_GROUP_DN'); + $objectclass = getDolGlobalString('LDAP_GROUP_OBJECT_CLASS'); show_ldap_test_button($butlabel, $testlabel, $key, $dn, $objectclass); } elseif (getDolGlobalInt('LDAP_SYNCHRO_ACTIVE') === Ldap::SYNCHRO_LDAP_TO_DOLIBARR) { $butlabel = $langs->trans("LDAPTestSearch"); $testlabel = 'testsearchgroup'; - $key = $conf->global->LDAP_KEY_GROUPS; - $dn = $conf->global->LDAP_GROUP_DN; - $objectclass = $conf->global->LDAP_GROUP_OBJECT_CLASS; + $key = getDolGlobalString('LDAP_KEY_GROUPS'); + $dn = getDolGlobalString('LDAP_GROUP_DN'); + $objectclass = getDolGlobalString('LDAP_GROUP_OBJECT_CLASS'); show_ldap_test_button($butlabel, $testlabel, $key, $dn, $objectclass); } @@ -292,18 +292,18 @@ if ($result > 0) { $required_fields = array( - $conf->global->LDAP_KEY_GROUPS, - // $conf->global->LDAP_GROUP_FIELD_NAME, - $conf->global->LDAP_GROUP_FIELD_DESCRIPTION, - $conf->global->LDAP_GROUP_FIELD_GROUPMEMBERS, - $conf->global->LDAP_GROUP_FIELD_GROUPID + getDolGlobalString('LDAP_KEY_GROUPS'), + // getDolGlobalString('LDAP_GROUP_FIELD_NAME'), + getDolGlobalString('LDAP_GROUP_FIELD_DESCRIPTION'), + getDolGlobalString('LDAP_GROUP_FIELD_GROUPMEMBERS'), + getDolGlobalString('LDAP_GROUP_FIELD_GROUPID') ); // Remove from required_fields all entries not configured in LDAP (empty) and duplicated $required_fields = array_unique(array_values(array_filter($required_fields, "dol_validElement"))); // Get from LDAP database an array of results - $ldapgroups = $ldap->getRecords('*', $conf->global->LDAP_GROUP_DN, $conf->global->LDAP_KEY_GROUPS, $required_fields, 'group'); + $ldapgroups = $ldap->getRecords('*', getDolGlobalString('LDAP_GROUP_DN'), getDolGlobalString('LDAP_KEY_GROUPS'), $required_fields, 'group'); //$ldapgroups = $ldap->getRecords('*', $conf->global->LDAP_GROUP_DN, $conf->global->LDAP_KEY_GROUPS, '', 'group'); if (is_array($ldapgroups)) { @@ -325,8 +325,8 @@ print "
\n"; print "LDAP search for group:
\n"; print "search: *
\n"; - print "userDN: ".$conf->global->LDAP_GROUP_DN."
\n"; - print "useridentifier: ".$conf->global->LDAP_KEY_GROUPS."
\n"; + print "userDN: ".getDolGlobalString('LDAP_GROUP_DN')."
\n"; + print "useridentifier: ".getDolGlobalString('LDAP_KEY_GROUPS')."
\n"; print "required_fields: ".implode(',', $required_fields)."
\n"; print "=> ".count($liste)." records
\n"; print "\n
"; diff --git a/htdocs/admin/ldap_members.php b/htdocs/admin/ldap_members.php index dc30f971c0965..f7a4af5d2fdd8 100644 --- a/htdocs/admin/ldap_members.php +++ b/htdocs/admin/ldap_members.php @@ -200,7 +200,7 @@ // DN Pour les adherents print ''; print ''.$langs->trans("LDAPMemberDn").''; -print ''; +print ''; print ''.$langs->trans("LDAPMemberDnExample").''; print ' '; print ''; @@ -208,7 +208,7 @@ // List of object class used to define attributes in structure print ''; print ''.$langs->trans("LDAPMemberObjectClassList").''; -print ''; +print ''; print ''.$langs->trans("LDAPMemberObjectClassListExample").''; print ' '; print ''; @@ -216,7 +216,7 @@ // Filter, used to filter search print ''; print ''.$langs->trans("LDAPFilterConnection").''; -print ''; +print ''; print ''.$langs->trans("LDAPFilterConnectionExample").''; print ''; print ''; @@ -235,63 +235,63 @@ // Common name print ''.$langs->trans("LDAPFieldFullname").''; -print ''; +print ''; print ''.$langs->trans("LDAPFieldFullnameExample").''; print 'global->LDAP_KEY_MEMBERS && $conf->global->LDAP_KEY_MEMBERS == $conf->global->LDAP_MEMBER_FIELD_FULLNAME) ? ' checked' : '').">"; print ''; // Name print ''.$langs->trans("LDAPFieldName").''; -print ''; +print ''; print ''.$langs->trans("LDAPFieldNameExample").''; print 'global->LDAP_KEY_MEMBERS && $conf->global->LDAP_KEY_MEMBERS == $conf->global->LDAP_MEMBER_FIELD_NAME) ? ' checked' : '').">"; print ''; // Firstname print ''.$langs->trans("LDAPFieldFirstName").''; -print ''; +print ''; print ''.$langs->trans("LDAPFieldFirstNameExample").''; print ' '; print ''; // Login unix print ''.$langs->trans("LDAPFieldLoginUnix").''; -print ''; +print ''; print ''.$langs->trans("LDAPFieldLoginExample").''; print 'global->LDAP_KEY_MEMBERS && $conf->global->LDAP_KEY_MEMBERS == $conf->global->LDAP_MEMBER_FIELD_LOGIN) ? ' checked' : '').">"; print ''; // Login samba print ''.$langs->trans("LDAPFieldLoginSamba").''; -print ''; +print ''; print ''.$langs->trans("LDAPFieldLoginSambaExample").''; print 'global->LDAP_KEY_MEMBERS && $conf->global->LDAP_KEY_MEMBERS == $conf->global->LDAP_MEMBER_FIELD_LOGIN_SAMBA) ? ' checked' : '').">"; print ''; // Password not crypted print ''.$langs->trans("LDAPFieldPasswordNotCrypted").''; -print ''; +print ''; print ''.$langs->trans("LDAPFieldPasswordExample").''; print ' '; print ''; // Password crypted print ''.$langs->trans("LDAPFieldPasswordCrypted").''; -print ''; +print ''; print ''.$langs->trans("LDAPFieldPasswordExample").''; print ' '; print ''; // Mail print ''.$langs->trans("LDAPFieldMail").''; -print ''; +print ''; print ''.$langs->trans("LDAPFieldMailExample").''; print 'global->LDAP_KEY_MEMBERS && $conf->global->LDAP_KEY_MEMBERS == $conf->global->LDAP_MEMBER_FIELD_MAIL) ? ' checked' : '').">"; print ''; // Phone pro print ''.$langs->trans("LDAPFieldPhone").''; -print ''; +print ''; print ''.$langs->trans("LDAPFieldPhoneExample").''; print ' '; print ''; @@ -299,70 +299,70 @@ // Phone perso print ''.$langs->trans("LDAPFieldHomePhone").''; -print ''; +print ''; print ''.$langs->trans("LDAPFieldHomePhoneExample").''; print ' '; print ''; // Mobile print ''.$langs->trans("LDAPFieldMobile").''; -print ''; +print ''; print ''.$langs->trans("LDAPFieldMobileExample").''; print ' '; print ''; // Fax print ''.$langs->trans("LDAPFieldFax").''; -print ''; +print ''; print ''.$langs->trans("LDAPFieldFaxExample").''; print ' '; print ''; // Company print ''.$langs->trans("LDAPFieldCompany").''; -print ''; +print ''; print ''.$langs->trans("LDAPFieldCompanyExample").''; print ' '; print ''; // Address print ''.$langs->trans("LDAPFieldAddress").''; -print ''; +print ''; print ''.$langs->trans("LDAPFieldAddressExample").''; print ' '; print ''; // ZIP print ''.$langs->trans("LDAPFieldZip").''; -print ''; +print ''; print ''.$langs->trans("LDAPFieldZipExample").''; print ' '; print ''; // TOWN print ''.$langs->trans("LDAPFieldTown").''; -print ''; +print ''; print ''.$langs->trans("LDAPFieldTownExample").''; print ' '; print ''; // COUNTRY print ''.$langs->trans("LDAPFieldCountry").''; -print ''; +print ''; print ' '; print ' '; print ''; // Description print ''.$langs->trans("LDAPFieldDescription").''; -print ''; +print ''; print ''.$langs->trans("LDAPFieldDescriptionExample").''; print ' '; print ''; // Public Note print ''.$langs->trans("LDAPFieldNotePublic").''; -print ''; +print ''; print ''.$langs->trans("LDAPFieldNotePublicExample").''; print ' '; print ''; @@ -370,14 +370,14 @@ // Birthday print ''.$langs->trans("LDAPFieldBirthdate").''; -print ''; +print ''; print ' '; print ' '; print ''; // Status print ''.$langs->trans("LDAPFieldStatus").''; -print ''; +print ''; print ' '; print ' '; print ''; @@ -385,35 +385,35 @@ // First subscription date print ''.$langs->trans("LDAPFieldFirstSubscriptionDate").''; -print ''; +print ''; print ' '; print ' '; print ''; // First subscription amount print ''.$langs->trans("LDAPFieldFirstSubscriptionAmount").''; -print ''; +print ''; print ' '; print ' '; print ''; // Last subscription date print ''.$langs->trans("LDAPFieldLastSubscriptionDate").''; -print ''; +print ''; print ' '; print ' '; print ''; // Last subscription amount print ''.$langs->trans("LDAPFieldLastSubscriptionAmount").''; -print ''; +print ''; print ' '; print ' '; print ''; // End last subscriptions print ''.$langs->trans("LDAPFieldEndLastSubscription").''; -print ''; +print ''; print ' '; print ' '; print ''; @@ -433,7 +433,7 @@ /* * Test de la connexion */ -if (!empty($conf->global->LDAP_MEMBER_ACTIVE)) { +if (getDolGlobalString('LDAP_MEMBER_ACTIVE')) { $butlabel = $langs->trans("LDAPTestSynchroMember"); $testlabel = 'testmember'; $key = $conf->global->LDAP_KEY_MEMBERS; diff --git a/htdocs/admin/ldap_members_types.php b/htdocs/admin/ldap_members_types.php index 7b3ac57192f7b..9c7a517bb1fb9 100644 --- a/htdocs/admin/ldap_members_types.php +++ b/htdocs/admin/ldap_members_types.php @@ -127,7 +127,7 @@ // DN pour les types de membres print ''; print ''.$langs->trans("LDAPMemberTypeDn").''; -print ''; +print ''; print ''.$langs->trans("LDAPMemberTypepDnExample").''; print ' '; print ''; @@ -135,7 +135,7 @@ // List of object class used to define attributes in structure print ''; print ''.$langs->trans("LDAPMemberTypeObjectClassList").''; -print ''; +print ''; print ''.$langs->trans("LDAPMemberTypeObjectClassListExample").''; print ' '; print ''; @@ -156,21 +156,21 @@ // Common name print ''.$langs->trans("LDAPFieldName").''; -print ''; +print ''; print ''.$langs->trans("LDAPFieldCommonNameExample").''; print 'global->LDAP_KEY_MEMBERS_TYPES && $conf->global->LDAP_KEY_MEMBERS_TYPES == $conf->global->LDAP_MEMBER_TYPE_FIELD_FULLNAME) ? ' checked' : '').">"; print ''; // Description print ''.$langs->trans("LDAPFieldDescription").''; -print ''; +print ''; print ''.$langs->trans("LDAPFieldDescriptionExample").''; print 'global->LDAP_KEY_MEMBERS_TYPES && $conf->global->LDAP_KEY_MEMBER_TYPES == $conf->global->LDAP_MEMBER_TYPE_FIELD_DESCRIPTION) ? ' checked' : '').">"; print ''; // User group print ''.$langs->trans("LDAPFieldGroupMembers").''; -print ''; +print ''; print ''.$langs->trans("LDAPFieldGroupMembersExample").''; print 'global->LDAP_KEY_MEMBERS_TYPES && $conf->global->LDAP_KEY_MEMBERS_TYPES == $conf->global->LDAP_MEMBER_TYPE_FIELD_GROUPMEMBERS) ? ' checked' : '').">"; print ''; diff --git a/htdocs/admin/limits.php b/htdocs/admin/limits.php index 06dfa06ce1ab4..bff6dfc6cc5b5 100644 --- a/htdocs/admin/limits.php +++ b/htdocs/admin/limits.php @@ -35,7 +35,7 @@ $cancel = GETPOST('cancel', 'aZ09'); $currencycode = GETPOST('currencycode', 'alpha'); -if (isModEnabled('multicompany') && !empty($conf->global->MULTICURRENCY_USE_LIMIT_BY_CURRENCY)) { +if (isModEnabled('multicompany') && getDolGlobalString('MULTICURRENCY_USE_LIMIT_BY_CURRENCY')) { // When MULTICURRENCY_USE_LIMIT_BY_CURRENCY is on, we use always a defined currency code instead of '' even for default. $currencycode = (!empty($currencycode) ? $currencycode : $conf->currency); } @@ -129,7 +129,7 @@ $aCurrencies = array($conf->currency); // Default currency always first position -if (isModEnabled('multicompany') && !empty($conf->global->MULTICURRENCY_USE_LIMIT_BY_CURRENCY)) { +if (isModEnabled('multicompany') && getDolGlobalString('MULTICURRENCY_USE_LIMIT_BY_CURRENCY')) { require_once DOL_DOCUMENT_ROOT . '/core/lib/multicurrency.lib.php'; $sql = "SELECT rowid, code FROM " . MAIN_DB_PREFIX . "multicurrency"; @@ -156,7 +156,7 @@ print '
'; print ''; print ''; - if (isModEnabled('multicompany') && !empty($conf->global->MULTICURRENCY_USE_LIMIT_BY_CURRENCY)) { + if (isModEnabled('multicompany') && getDolGlobalString('MULTICURRENCY_USE_LIMIT_BY_CURRENCY')) { print ''; } @@ -209,7 +209,7 @@ print ''; print $form->textwithpicto($langs->trans("MAIN_ROUNDING_RULE_TOT"), $langs->trans("ParameterActiveForNextInputOnly")); - print ''.(isset($conf->global->$mainroundingruletot) ? $conf->global->$mainroundingruletot : (!empty($conf->global->MAIN_ROUNDING_RULE_TOT) ? $conf->global->MAIN_ROUNDING_RULE_TOT : '')).''; + print ''.(isset($conf->global->$mainroundingruletot) ? $conf->global->$mainroundingruletot : (getDolGlobalString('MAIN_ROUNDING_RULE_TOT') ? $conf->global->MAIN_ROUNDING_RULE_TOT : '')).''; print ''; print '
'; @@ -219,7 +219,7 @@ print '
'; } -if (isModEnabled('multicompany') && !empty($conf->global->MULTICURRENCY_USE_LIMIT_BY_CURRENCY)) { +if (isModEnabled('multicompany') && getDolGlobalString('MULTICURRENCY_USE_LIMIT_BY_CURRENCY')) { if (!empty($aCurrencies) && count($aCurrencies) > 1) { print dol_get_fiche_end(); } diff --git a/htdocs/admin/mailing.php b/htdocs/admin/mailing.php index e02f28c91b6d7..30c2d66311915 100644 --- a/htdocs/admin/mailing.php +++ b/htdocs/admin/mailing.php @@ -140,8 +140,8 @@ print ''; $help = img_help(1, $langs->trans("EMailHelpMsgSPFDKIM")); print $langs->trans("MailingEMailFrom").' '.$help.''; -print ''; -if (!empty($conf->global->MAILING_EMAIL_FROM) && !isValidEmail($conf->global->MAILING_EMAIL_FROM)) { +print ''; +if (getDolGlobalString('MAILING_EMAIL_FROM') && !isValidEmail($conf->global->MAILING_EMAIL_FROM)) { print ' '.img_warning($langs->trans("BadEMail")); } print ''; diff --git a/htdocs/admin/mailman.php b/htdocs/admin/mailman.php index 88389f0a4c4bd..fdfc006853375 100644 --- a/htdocs/admin/mailman.php +++ b/htdocs/admin/mailman.php @@ -94,7 +94,7 @@ } } -if (($action == 'testsubscribe' || $action == 'testunsubscribe') && !empty($conf->global->ADHERENT_USE_MAILMAN)) { +if (($action == 'testsubscribe' || $action == 'testunsubscribe') && getDolGlobalString('ADHERENT_USE_MAILMAN')) { $email = GETPOST($action.'email'); if (!isValidEmail($email)) { $langs->load("errors"); @@ -145,7 +145,7 @@ $head = mailmanspip_admin_prepare_head(); -if (!empty($conf->global->ADHERENT_USE_MAILMAN)) { +if (getDolGlobalString('ADHERENT_USE_MAILMAN')) { print ''; print ''; print ''; @@ -213,7 +213,7 @@ } -if (!empty($conf->global->ADHERENT_USE_MAILMAN)) { +if (getDolGlobalString('ADHERENT_USE_MAILMAN')) { print ''; print ''; print ''; diff --git a/htdocs/admin/mails.php b/htdocs/admin/mails.php index c4b3bc053337d..198c5a6ccbbe8 100644 --- a/htdocs/admin/mails.php +++ b/htdocs/admin/mails.php @@ -52,8 +52,8 @@ '__CHECK_READ__' => '', '__USER_LOGIN__' => $user->login, '__USER_EMAIL__' => $user->email, - '__USER_SIGNATURE__' => (($user->signature && empty($conf->global->MAIN_MAIL_DO_NOT_USE_SIGN)) ? $usersignature : ''), // Done into actions_sendmails - '__SENDEREMAIL_SIGNATURE__' => (($user->signature && empty($conf->global->MAIN_MAIL_DO_NOT_USE_SIGN)) ? $usersignature : ''), // Done into actions_sendmails + '__USER_SIGNATURE__' => (($user->signature && !getDolGlobalString('MAIN_MAIL_DO_NOT_USE_SIGN')) ? $usersignature : ''), // Done into actions_sendmails + '__SENDEREMAIL_SIGNATURE__' => (($user->signature && !getDolGlobalString('MAIN_MAIL_DO_NOT_USE_SIGN')) ? $usersignature : ''), // Done into actions_sendmails '__ID__' => 'RecipientIdRecord', //'__EMAIL__' => 'RecipientEMail', // Done into actions_sendmails '__LOGIN__' => $user->login, @@ -162,14 +162,14 @@ $linuxlike = 0; } -if (empty($conf->global->MAIN_MAIL_SENDMODE)) { +if (!getDolGlobalString('MAIN_MAIL_SENDMODE')) { $conf->global->MAIN_MAIL_SENDMODE = 'mail'; } -$port = !empty($conf->global->MAIN_MAIL_SMTP_PORT) ? $conf->global->MAIN_MAIL_SMTP_PORT : ini_get('smtp_port'); +$port = getDolGlobalString('MAIN_MAIL_SMTP_PORT') ? $conf->global->MAIN_MAIL_SMTP_PORT : ini_get('smtp_port'); if (!$port) { $port = 25; } -$server = !empty($conf->global->MAIN_MAIL_SMTP_SERVER) ? $conf->global->MAIN_MAIL_SMTP_SERVER : ini_get('SMTP'); +$server = getDolGlobalString('MAIN_MAIL_SMTP_SERVER') ? $conf->global->MAIN_MAIL_SMTP_SERVER : ini_get('SMTP'); if (!$server) { $server = '127.0.0.1'; } @@ -253,11 +253,11 @@ function initfields() { console.log("I choose smtps mode"); jQuery(".drag").show(); - jQuery("#MAIN_MAIL_EMAIL_TLS").val('.$conf->global->MAIN_MAIL_EMAIL_TLS.'); + jQuery("#MAIN_MAIL_EMAIL_TLS").val(' . getDolGlobalString('MAIN_MAIL_EMAIL_TLS').'); jQuery("#MAIN_MAIL_EMAIL_TLS").removeAttr("disabled"); - jQuery("#MAIN_MAIL_EMAIL_STARTTLS").val('.$conf->global->MAIN_MAIL_EMAIL_STARTTLS.'); + jQuery("#MAIN_MAIL_EMAIL_STARTTLS").val(' . getDolGlobalString('MAIN_MAIL_EMAIL_STARTTLS').'); jQuery("#MAIN_MAIL_EMAIL_STARTTLS").removeAttr("disabled"); - jQuery("#MAIN_MAIL_EMAIL_SMTP_ALLOW_SELF_SIGNED").val('.$conf->global->MAIN_MAIL_EMAIL_SMTP_ALLOW_SELF_SIGNED.'); + jQuery("#MAIN_MAIL_EMAIL_SMTP_ALLOW_SELF_SIGNED").val(' . getDolGlobalString('MAIN_MAIL_EMAIL_SMTP_ALLOW_SELF_SIGNED').'); jQuery("#MAIN_MAIL_EMAIL_SMTP_ALLOW_SELF_SIGNED").removeAttr("disabled"); jQuery("#MAIN_MAIL_EMAIL_DKIM_ENABLED").val(0); jQuery("#MAIN_MAIL_EMAIL_DKIM_ENABLED").prop("disabled", true); @@ -281,13 +281,13 @@ function initfields() { console.log("I choose swiftmailer mode"); jQuery(".drag").show(); - jQuery("#MAIN_MAIL_EMAIL_TLS").val('.$conf->global->MAIN_MAIL_EMAIL_TLS.'); + jQuery("#MAIN_MAIL_EMAIL_TLS").val(' . getDolGlobalString('MAIN_MAIL_EMAIL_TLS').'); jQuery("#MAIN_MAIL_EMAIL_TLS").removeAttr("disabled"); - jQuery("#MAIN_MAIL_EMAIL_STARTTLS").val('.$conf->global->MAIN_MAIL_EMAIL_STARTTLS.'); + jQuery("#MAIN_MAIL_EMAIL_STARTTLS").val(' . getDolGlobalString('MAIN_MAIL_EMAIL_STARTTLS').'); jQuery("#MAIN_MAIL_EMAIL_STARTTLS").removeAttr("disabled"); - jQuery("#MAIN_MAIL_EMAIL_SMTP_ALLOW_SELF_SIGNED").val('.$conf->global->MAIN_MAIL_EMAIL_SMTP_ALLOW_SELF_SIGNED.'); + jQuery("#MAIN_MAIL_EMAIL_SMTP_ALLOW_SELF_SIGNED").val(' . getDolGlobalString('MAIN_MAIL_EMAIL_SMTP_ALLOW_SELF_SIGNED').'); jQuery("#MAIN_MAIL_EMAIL_SMTP_ALLOW_SELF_SIGNED").removeAttr("disabled"); - jQuery("#MAIN_MAIL_EMAIL_DKIM_ENABLED").val('.$conf->global->MAIN_MAIL_EMAIL_DKIM_ENABLED.'); + jQuery("#MAIN_MAIL_EMAIL_DKIM_ENABLED").val(' . getDolGlobalString('MAIN_MAIL_EMAIL_DKIM_ENABLED').'); jQuery("#MAIN_MAIL_EMAIL_DKIM_ENABLED").removeAttr("disabled"); jQuery("#MAIN_MAIL_EMAIL_DKIM_DOMAIN").removeAttr("disabled"); jQuery("#MAIN_MAIL_EMAIL_DKIM_SELECTOR").removeAttr("disabled"); @@ -369,7 +369,7 @@ function change_smtp_auth_method() { // Force e-mail recipient print ''.$langs->trans("MAIN_MAIL_FORCE_SENDTO").''; - print ''; + print ''; print ''; print ''; @@ -383,10 +383,10 @@ function change_smtp_auth_method() { print ''.$langs->trans("MAIN_MAIL_SENDMODE").''; // SuperAdministrator access only - if ((empty($conf->global->MAIN_MODULE_MULTICOMPANY)) || ($user->admin && !$user->entity)) { + if (!isModEnabled('multicompany') || ($user->admin && !$user->entity)) { print $form->selectarray('MAIN_MAIL_SENDMODE', $listofmethods, getDolGlobalString('MAIN_MAIL_SENDMODE', 'mail')); } else { - $text = $listofmethods[$conf->global->MAIN_MAIL_SENDMODE]; + $text = $listofmethods[getDolGlobalString('MAIN_MAIL_SENDMODE')]; if (empty($text)) { $text = $langs->trans("Undefined"); } @@ -406,7 +406,7 @@ function change_smtp_auth_method() { print ''; } else { print ''; - $mainserver = (!empty($conf->global->MAIN_MAIL_SMTP_SERVER) ? $conf->global->MAIN_MAIL_SMTP_SERVER : ''); + $mainserver = (getDolGlobalString('MAIN_MAIL_SMTP_SERVER') ? $conf->global->MAIN_MAIL_SMTP_SERVER : ''); $smtpserver = ini_get('SMTP') ?ini_get('SMTP') : $langs->transnoentities("Undefined"); if ($linuxlike) { print $langs->trans("MAIN_MAIL_SMTP_SERVER_NotAvailableOnLinuxLike"); @@ -437,7 +437,7 @@ function change_smtp_auth_method() { print ''; print ''.$langs->trans("SeeLocalSendMailSetup").''; } else { - $mainport = (!empty($conf->global->MAIN_MAIL_SMTP_PORT) ? $conf->global->MAIN_MAIL_SMTP_PORT : ''); + $mainport = (getDolGlobalString('MAIN_MAIL_SMTP_PORT') ? $conf->global->MAIN_MAIL_SMTP_PORT : ''); $smtpport = ini_get('smtp_port') ?ini_get('smtp_port') : $langs->transnoentities("Undefined"); if ($linuxlike) { print $langs->trans("MAIN_MAIL_SMTP_PORT_NotAvailableOnLinuxLike"); @@ -480,7 +480,7 @@ function change_smtp_auth_method() { // ID if (!empty($conf->use_javascript_ajax) || (in_array(getDolGlobalString('MAIN_MAIL_SENDMODE', 'mail'), array('smtps', 'swiftmailer')))) { - $mainstmpid = (!empty($conf->global->MAIN_MAIL_SMTPS_ID) ? $conf->global->MAIN_MAIL_SMTPS_ID : ''); + $mainstmpid = (getDolGlobalString('MAIN_MAIL_SMTPS_ID') ? $conf->global->MAIN_MAIL_SMTPS_ID : ''); print ''.$langs->trans("MAIN_MAIL_SMTPS_ID").''; // SuperAdministrator access only if (!isModEnabled('multicompany') || ($user->admin && !$user->entity)) { @@ -496,7 +496,7 @@ function change_smtp_auth_method() { // PW if (!empty($conf->use_javascript_ajax) || (in_array(getDolGlobalString('MAIN_MAIL_SENDMODE', 'mail'), array('smtps', 'swiftmailer')))) { - $mainsmtppw = (!empty($conf->global->MAIN_MAIL_SMTPS_PW) ? $conf->global->MAIN_MAIL_SMTPS_PW : ''); + $mainsmtppw = (getDolGlobalString('MAIN_MAIL_SMTPS_PW') ? $conf->global->MAIN_MAIL_SMTPS_PW : ''); print ''; print $form->textwithpicto($langs->trans("MAIN_MAIL_SMTPS_PW"), $langs->trans("WithGMailYouCanCreateADedicatedPassword")); print ''; @@ -516,16 +516,16 @@ function change_smtp_auth_method() { print ''.$langs->trans("MAIN_MAIL_SMTPS_OAUTH_SERVICE").''; // SuperAdministrator access only - if ((empty($conf->global->MAIN_MODULE_MULTICOMPANY)) || ($user->admin && !$user->entity)) { + if (!isModEnabled('multicompany') || ($user->admin && !$user->entity)) { print $form->selectarray('MAIN_MAIL_SMTPS_OAUTH_SERVICE', $oauthservices, $conf->global->MAIN_MAIL_SMTPS_OAUTH_SERVICE); } else { - $text = $oauthservices[$conf->global->MAIN_MAIL_SMTPS_OAUTH_SERVICE]; + $text = $oauthservices[getDolGlobalString('MAIN_MAIL_SMTPS_OAUTH_SERVICE')]; if (empty($text)) { $text = $langs->trans("Undefined"); } $htmltext = $langs->trans("ContactSuperAdminForChange"); print $form->textwithpicto($text, $htmltext, 1, 'superadmin'); - print ''; + print ''; } print ''; } @@ -533,7 +533,7 @@ function change_smtp_auth_method() { print ''.$langs->trans("MAIN_MAIL_EMAIL_TLS").''; if (!empty($conf->use_javascript_ajax) || (in_array(getDolGlobalString('MAIN_MAIL_SENDMODE', 'mail'), array('smtps', 'swiftmailer')))) { if (function_exists('openssl_open')) { - print $form->selectyesno('MAIN_MAIL_EMAIL_TLS', (!empty($conf->global->MAIN_MAIL_EMAIL_TLS) ? $conf->global->MAIN_MAIL_EMAIL_TLS : 0), 1); + print $form->selectyesno('MAIN_MAIL_EMAIL_TLS', (getDolGlobalString('MAIN_MAIL_EMAIL_TLS') ? $conf->global->MAIN_MAIL_EMAIL_TLS : 0), 1); } else { print yn(0).' ('.$langs->trans("YourPHPDoesNotHaveSSLSupport").')'; } @@ -546,7 +546,7 @@ function change_smtp_auth_method() { print ''.$langs->trans("MAIN_MAIL_EMAIL_STARTTLS").''; if (!empty($conf->use_javascript_ajax) || (in_array(getDolGlobalString('MAIN_MAIL_SENDMODE', 'mail'), array('smtps', 'swiftmailer')))) { if (function_exists('openssl_open')) { - print $form->selectyesno('MAIN_MAIL_EMAIL_STARTTLS', (!empty($conf->global->MAIN_MAIL_EMAIL_STARTTLS) ? $conf->global->MAIN_MAIL_EMAIL_STARTTLS : 0), 1); + print $form->selectyesno('MAIN_MAIL_EMAIL_STARTTLS', (getDolGlobalString('MAIN_MAIL_EMAIL_STARTTLS') ? $conf->global->MAIN_MAIL_EMAIL_STARTTLS : 0), 1); } else { print yn(0).' ('.$langs->trans("YourPHPDoesNotHaveSSLSupport").')'; } @@ -559,7 +559,7 @@ function change_smtp_auth_method() { print ''.$langs->trans("MAIN_MAIL_EMAIL_SMTP_ALLOW_SELF_SIGNED").''; if (!empty($conf->use_javascript_ajax) || (in_array(getDolGlobalString('MAIN_MAIL_SENDMODE', 'mail'), array('smtps', 'swiftmailer')))) { if (function_exists('openssl_open')) { - print $form->selectyesno('MAIN_MAIL_EMAIL_SMTP_ALLOW_SELF_SIGNED', (!empty($conf->global->MAIN_MAIL_EMAIL_SMTP_ALLOW_SELF_SIGNED) ? $conf->global->MAIN_MAIL_EMAIL_SMTP_ALLOW_SELF_SIGNED : 0), 1); + print $form->selectyesno('MAIN_MAIL_EMAIL_SMTP_ALLOW_SELF_SIGNED', (getDolGlobalString('MAIN_MAIL_EMAIL_SMTP_ALLOW_SELF_SIGNED') ? $conf->global->MAIN_MAIL_EMAIL_SMTP_ALLOW_SELF_SIGNED : 0), 1); } else { print yn(0).' ('.$langs->trans("YourPHPDoesNotHaveSSLSupport").')'; } @@ -572,7 +572,7 @@ function change_smtp_auth_method() { print ''.$langs->trans("MAIN_MAIL_EMAIL_DKIM_ENABLED").''; if (!empty($conf->use_javascript_ajax) || (in_array(getDolGlobalString('MAIN_MAIL_SENDMODE', 'mail'), array('swiftmailer')))) { if (function_exists('openssl_open')) { - print $form->selectyesno('MAIN_MAIL_EMAIL_DKIM_ENABLED', (!empty($conf->global->MAIN_MAIL_EMAIL_DKIM_ENABLED) ? $conf->global->MAIN_MAIL_EMAIL_DKIM_ENABLED : 0), 1); + print $form->selectyesno('MAIN_MAIL_EMAIL_DKIM_ENABLED', (getDolGlobalString('MAIN_MAIL_EMAIL_DKIM_ENABLED') ? $conf->global->MAIN_MAIL_EMAIL_DKIM_ENABLED : 0), 1); } else { print yn(0).' ('.$langs->trans("YourPHPDoesNotHaveSSLSupport").')'; } @@ -583,17 +583,17 @@ function change_smtp_auth_method() { // DKIM Domain print ''.$langs->trans("MAIN_MAIL_EMAIL_DKIM_DOMAIN").''; - print ''; // DKIM Selector print ''.$langs->trans("MAIN_MAIL_EMAIL_DKIM_SELECTOR").''; - print ''; // DKIM PRIVATE KEY print ''.$langs->trans("MAIN_MAIL_EMAIL_DKIM_PRIVATE_KEY").''; - print ''; + print ''; print ''; print ''; @@ -606,13 +606,13 @@ function change_smtp_auth_method() { // From $help = img_help(1, $langs->trans("EMailHelpMsgSPFDKIM")); print ''.$langs->trans("MAIN_MAIL_EMAIL_FROM", ini_get('sendmail_from') ?ini_get('sendmail_from') : $langs->transnoentities("Undefined")).' '.$help.''; - print ''; // Default from type $liste = array(); $liste['user'] = $langs->trans('UserEmail'); - $liste['company'] = $langs->trans('CompanyEmail').' ('.(empty($conf->global->MAIN_INFO_SOCIETE_MAIL) ? $langs->trans("NotDefined") : $conf->global->MAIN_INFO_SOCIETE_MAIL).')'; + $liste['company'] = $langs->trans('CompanyEmail').' ('.(!getDolGlobalString('MAIN_INFO_SOCIETE_MAIL') ? $langs->trans("NotDefined") : $conf->global->MAIN_INFO_SOCIETE_MAIL).')'; print ''.$langs->trans('MAIN_MAIL_DEFAULT_FROMTYPE').''; print $form->selectarray('MAIN_MAIL_DEFAULT_FROMTYPE', $liste, getDolGlobalString('MAIN_MAIL_DEFAULT_FROMTYPE'), 0); @@ -620,12 +620,12 @@ function change_smtp_auth_method() { // From print ''.$langs->trans("MAIN_MAIL_ERRORS_TO").''; - print ''; // Autocopy to print ''.$langs->trans("MAIN_MAIL_AUTOCOPY_TO").''; - print ''; // Add user to select destinaries list @@ -655,13 +655,13 @@ function change_smtp_auth_method() { print ''.$langs->trans("Parameter").''.$langs->trans("Value").''; // Disable - print ''.$langs->trans("MAIN_DISABLE_ALL_MAILS").''.yn(!empty($conf->global->MAIN_DISABLE_ALL_MAILS)); - if (!empty($conf->global->MAIN_DISABLE_ALL_MAILS)) { + print ''.$langs->trans("MAIN_DISABLE_ALL_MAILS").''.yn(getDolGlobalString('MAIN_DISABLE_ALL_MAILS')); + if (getDolGlobalString('MAIN_DISABLE_ALL_MAILS')) { print img_warning($langs->trans("Disabled")); } print ''; - if (empty($conf->global->MAIN_DISABLE_ALL_MAILS)) { + if (!getDolGlobalString('MAIN_DISABLE_ALL_MAILS')) { // Force e-mail recipient print ''.$langs->trans("MAIN_MAIL_FORCE_SENDTO").''.getDolGlobalString('MAIN_MAIL_FORCE_SENDTO'); if (getDolGlobalString('MAIN_MAIL_FORCE_SENDTO')) { @@ -677,7 +677,7 @@ function change_smtp_auth_method() { print ''; print '
'; - if (empty($conf->global->MAIN_DISABLE_ALL_MAILS)) { + if (!getDolGlobalString('MAIN_DISABLE_ALL_MAILS')) { print '
'; print '
'; // You can use div-table-responsive-no-min if you dont need reserved height for your table @@ -692,9 +692,9 @@ function change_smtp_auth_method() { } print $text; - if (getDolGlobalString('MAIN_MAIL_SENDMODE', 'mail') == 'mail' && empty($conf->global->MAIN_HIDE_WARNING_TO_ENCOURAGE_SMTP_SETUP)) { + if (getDolGlobalString('MAIN_MAIL_SENDMODE', 'mail') == 'mail' && !getDolGlobalString('MAIN_HIDE_WARNING_TO_ENCOURAGE_SMTP_SETUP')) { $textwarning = $langs->trans("WarningPHPMail").'
'.$langs->trans("WarningPHPMailA").'
'.$langs->trans("WarningPHPMailB").'
'.$langs->trans("WarningPHPMailC").'

'.$langs->trans("WarningPHPMailD"); - print $form->textwithpicto('', $textwarning, 1, 'warning'); + print $form->textwithpicto('', ''.$textwarning.'', 1, 'warning'); } print ''; @@ -703,7 +703,7 @@ function change_smtp_auth_method() { if ($linuxlike && (getDolGlobalString('MAIN_MAIL_SENDMODE', 'mail') == 'mail')) { print ''.$langs->trans("MAIN_MAIL_SMTP_SERVER_NotAvailableOnLinuxLike").''.$langs->trans("SeeLocalSendMailSetup").''; } else { - print ''.$langs->trans("MAIN_MAIL_SMTP_SERVER", ini_get('SMTP') ?ini_get('SMTP') : $langs->transnoentities("Undefined")).''.(!empty($conf->global->MAIN_MAIL_SMTP_SERVER) ? $conf->global->MAIN_MAIL_SMTP_SERVER : '').''; + print ''.$langs->trans("MAIN_MAIL_SMTP_SERVER", ini_get('SMTP') ?ini_get('SMTP') : $langs->transnoentities("Undefined")).''.(getDolGlobalString('MAIN_MAIL_SMTP_SERVER') ? $conf->global->MAIN_MAIL_SMTP_SERVER : '').''; } @@ -711,7 +711,7 @@ function change_smtp_auth_method() { if ($linuxlike && (getDolGlobalString('MAIN_MAIL_SENDMODE', 'mail') == 'mail')) { print ''.$langs->trans("MAIN_MAIL_SMTP_PORT_NotAvailableOnLinuxLike").''.$langs->trans("SeeLocalSendMailSetup").''; } else { - print ''.$langs->trans("MAIN_MAIL_SMTP_PORT", ini_get('smtp_port') ?ini_get('smtp_port') : $langs->transnoentities("Undefined")).''.(!empty($conf->global->MAIN_MAIL_SMTP_PORT) ? $conf->global->MAIN_MAIL_SMTP_PORT : '').''; + print ''.$langs->trans("MAIN_MAIL_SMTP_PORT", ini_get('smtp_port') ?ini_get('smtp_port') : $langs->transnoentities("Undefined")).''.(getDolGlobalString('MAIN_MAIL_SMTP_PORT') ? $conf->global->MAIN_MAIL_SMTP_PORT : '').''; } // AUTH method @@ -723,7 +723,7 @@ function change_smtp_auth_method() { // SMTPS ID if (in_array(getDolGlobalString('MAIN_MAIL_SENDMODE', 'mail'), array('smtps', 'swiftmailer'))) { - print ''.$langs->trans("MAIN_MAIL_SMTPS_ID").''.$conf->global->MAIN_MAIL_SMTPS_ID.''; + print ''.$langs->trans("MAIN_MAIL_SMTPS_ID").'' . getDolGlobalString('MAIN_MAIL_SMTPS_ID').''; } // SMTPS PW @@ -733,7 +733,7 @@ function change_smtp_auth_method() { // SMTPS oauth service if (in_array(getDolGlobalString('MAIN_MAIL_SENDMODE', 'mail'), array('smtps', 'swiftmailer')) && getDolGlobalString('MAIN_MAIL_SMTPS_AUTH_TYPE') === "XOAUTH2") { - $text = $oauthservices[$conf->global->MAIN_MAIL_SMTPS_OAUTH_SERVICE]; + $text = $oauthservices[getDolGlobalString('MAIN_MAIL_SMTPS_OAUTH_SERVICE')]; if (empty($text)) { $text = $langs->trans("Undefined").img_warning(); } @@ -780,7 +780,7 @@ function change_smtp_auth_method() { print ''; - if ($conf->global->MAIN_MAIL_SENDMODE == 'swiftmailer') { + if (getDolGlobalString('MAIN_MAIL_SENDMODE') == 'swiftmailer') { // DKIM print ''.$langs->trans("MAIN_MAIL_EMAIL_DKIM_ENABLED").''; if (in_array(getDolGlobalString('MAIN_MAIL_SENDMODE', 'mail'), array('swiftmailer'))) { @@ -813,7 +813,7 @@ function change_smtp_auth_method() { print ''; print '
'; - if (getDolGlobalString('MAIN_MAIL_SENDMODE', 'mail') == 'mail' && empty($conf->global->MAIN_HIDE_WARNING_TO_ENCOURAGE_SMTP_SETUP)) { + if (getDolGlobalString('MAIN_MAIL_SENDMODE', 'mail') == 'mail' && !getDolGlobalString('MAIN_HIDE_WARNING_TO_ENCOURAGE_SMTP_SETUP')) { $messagetoshow = $langs->trans("WarningPHPMail").'
'.$langs->trans("WarningPHPMailA").'
'.$langs->trans("WarningPHPMailB").'
'.$langs->trans("WarningPHPMailC").'

'.$langs->trans("WarningPHPMailD"); $messagetoshow .= ' '.$langs->trans("WarningPHPMailDbis", '{s1}', '{s2}'); $linktosetvar1 = ''; @@ -832,8 +832,8 @@ function change_smtp_auth_method() { // From $help = img_help(1, $langs->trans("EMailHelpMsgSPFDKIM")); print ''.$langs->trans("MAIN_MAIL_EMAIL_FROM", ini_get('sendmail_from') ?ini_get('sendmail_from') : $langs->transnoentities("Undefined")).' '.$help.''; - print ''.$conf->global->MAIN_MAIL_EMAIL_FROM; - if (empty($conf->global->MAIN_MAIL_EMAIL_FROM)) { + print '' . getDolGlobalString('MAIN_MAIL_EMAIL_FROM'); + if (!getDolGlobalString('MAIN_MAIL_EMAIL_FROM')) { print img_warning($langs->trans("Mandatory")); } elseif (!isValidEmail($conf->global->MAIN_MAIL_EMAIL_FROM)) { print img_warning($langs->trans("ErrorBadEMail")); @@ -843,7 +843,7 @@ function change_smtp_auth_method() { // Default from type $liste = array(); $liste['user'] = $langs->trans('UserEmail'); - $liste['company'] = $langs->trans('CompanyEmail').' ('.(empty($conf->global->MAIN_INFO_SOCIETE_MAIL) ? $langs->trans("NotDefined") : $conf->global->MAIN_INFO_SOCIETE_MAIL).')'; + $liste['company'] = $langs->trans('CompanyEmail').' ('.(!getDolGlobalString('MAIN_INFO_SOCIETE_MAIL') ? $langs->trans("NotDefined") : $conf->global->MAIN_INFO_SOCIETE_MAIL).')'; $sql = 'SELECT rowid, label, email FROM '.MAIN_DB_PREFIX.'c_email_senderprofile'; $sql .= ' WHERE active = 1 AND (private = 0 OR private = '.((int) $user->id).')'; $resql = $db->query($sql); @@ -883,7 +883,7 @@ function change_smtp_auth_method() { // Errors To print ''.$langs->trans("MAIN_MAIL_ERRORS_TO").''; print ''.(getDolGlobalString('MAIN_MAIL_ERRORS_TO')); - if (!empty($conf->global->MAIN_MAIL_ERRORS_TO) && !isValidEmail($conf->global->MAIN_MAIL_ERRORS_TO)) { + if (getDolGlobalString('MAIN_MAIL_ERRORS_TO') && !isValidEmail($conf->global->MAIN_MAIL_ERRORS_TO)) { print img_warning($langs->trans("ErrorBadEMail")); } print ''; @@ -891,7 +891,7 @@ function change_smtp_auth_method() { // Autocopy to print ''.$langs->trans("MAIN_MAIL_AUTOCOPY_TO").''; print ''; - if (!empty($conf->global->MAIN_MAIL_AUTOCOPY_TO)) { + if (getDolGlobalString('MAIN_MAIL_AUTOCOPY_TO')) { $listofemail = explode(',', $conf->global->MAIN_MAIL_AUTOCOPY_TO); $i = 0; foreach ($listofemail as $key => $val) { @@ -911,9 +911,9 @@ function change_smtp_auth_method() { print ''; //Add user to select destinaries list - print ''.$langs->trans("MAIN_MAIL_ENABLED_USER_DEST_SELECT").''.yn(!empty($conf->global->MAIN_MAIL_ENABLED_USER_DEST_SELECT)).''; + print ''.$langs->trans("MAIN_MAIL_ENABLED_USER_DEST_SELECT").''.yn(getDolGlobalString('MAIN_MAIL_ENABLED_USER_DEST_SELECT')).''; //Disable autoselect to - print ''.$langs->trans("MAIN_MAIL_NO_WITH_TO_SELECTED").''.yn(!empty($conf->global->MAIN_MAIL_NO_WITH_TO_SELECTED)).''; + print ''.$langs->trans("MAIN_MAIL_NO_WITH_TO_SELECTED").''.yn(getDolGlobalString('MAIN_MAIL_NO_WITH_TO_SELECTED')).''; print ''; print '
'; @@ -927,7 +927,7 @@ function change_smtp_auth_method() { print ''.$langs->trans("Modify").''; - if (empty($conf->global->MAIN_DISABLE_ALL_MAILS)) { + if (!getDolGlobalString('MAIN_DISABLE_ALL_MAILS')) { if (getDolGlobalString('MAIN_MAIL_SENDMODE', 'mail') != 'mail' || !$linuxlike) { if (function_exists('fsockopen') && $port && $server) { print ''.$langs->trans("DoTestServerAvailability").''; @@ -946,7 +946,7 @@ function change_smtp_auth_method() { print '
'; - if (getDolGlobalString('MAIN_MAIL_SENDMODE', 'mail') == 'mail' && empty($conf->global->MAIN_FIX_FOR_BUGGED_MTA)) { + if (getDolGlobalString('MAIN_MAIL_SENDMODE', 'mail') == 'mail' && !getDolGlobalString('MAIN_FIX_FOR_BUGGED_MTA')) { /* // Warning 1 if ($linuxlike) @@ -968,30 +968,30 @@ function change_smtp_auth_method() { } if (getDolGlobalString('MAIN_MAIL_SENDMODE', 'mail') == 'mail') { - if (!empty($conf->global->MAIN_EXTERNAL_MAIL_SPF_STRING_TO_ADD)) { + if (getDolGlobalString('MAIN_EXTERNAL_MAIL_SPF_STRING_TO_ADD')) { // List of string to add in SPF if the setup use the mail method. Example 'include:sendgrid.net include:spf.mydomain.com' $text .= ($text ? '

' : '').''.$langs->trans("WarningPHPMailSPF", $conf->global->MAIN_EXTERNAL_MAIL_SPF_STRING_TO_ADD); } else { // MAIN_EXTERNAL_SMTP_CLIENT_IP_ADDRESS is list of IPs where email is sent from. Example: '1.2.3.4, [aaaa:bbbb:cccc:dddd]'. - if (!empty($conf->global->MAIN_EXTERNAL_SMTP_CLIENT_IP_ADDRESS)) { + if (getDolGlobalString('MAIN_EXTERNAL_SMTP_CLIENT_IP_ADDRESS')) { // List of IP show as record to add in SPF if we use the mail method $text .= ($text ? '

' : '').''.$langs->trans("WarningPHPMailSPF", $conf->global->MAIN_EXTERNAL_SMTP_CLIENT_IP_ADDRESS); } } } else { - if (!empty($conf->global->MAIN_EXTERNAL_SMTP_CLIENT_IP_ADDRESS)) { + if (getDolGlobalString('MAIN_EXTERNAL_SMTP_CLIENT_IP_ADDRESS')) { // List of IP show as record to add as allowed IP if we use the smtp method. Value is '1.2.3.4, [aaaa:bbbb:cccc:dddd]' // TODO Add a key to allow to show the IP/name of server detected dynamically $text .= ($text ? '

' : '').''.$langs->trans("WarningPHPMail2", $conf->global->MAIN_EXTERNAL_SMTP_CLIENT_IP_ADDRESS); } - if (!empty($conf->global->MAIN_EXTERNAL_SMTP_SPF_STRING_TO_ADD)) { // Should be required only if you have preset the Dolibarr to use your own SMTP and you want to warn users to update their domain name to match your SMTP server. + if (getDolGlobalString('MAIN_EXTERNAL_SMTP_SPF_STRING_TO_ADD')) { // Should be required only if you have preset the Dolibarr to use your own SMTP and you want to warn users to update their domain name to match your SMTP server. // List of string to add in SPF if we use the smtp method. Example 'include:spf.mydomain.com' $text .= ($text ? '

' : '').''.$langs->trans("WarningPHPMailSPF", $conf->global->MAIN_EXTERNAL_SMTP_SPF_STRING_TO_ADD); } } $companyemail = getDolGlobalString('MAIN_INFO_SOCIETE_MAIL'); $dnsinfo = false; - if (!empty($companyemail) && function_exists('dns_get_record')) { + if (!empty($companyemail) && function_exists('dns_get_record') && empty($conf->global->MAIN_DISABLE_DNS_GET_RECORD)) { $arrayofemailparts = explode('@', $companyemail); if (count($arrayofemailparts) == 2) { $domain = $arrayofemailparts[1]; @@ -1047,7 +1047,7 @@ function change_smtp_auth_method() { $formmail->frommail = (GETPOSTISSET('frommail') ? GETPOST('frommail') : $conf->global->MAIN_MAIL_EMAIL_FROM); $formmail->fromid = $user->id; $formmail->fromalsorobot = 1; - $formmail->fromtype = (GETPOSTISSET('fromtype') ?GETPOST('fromtype', 'aZ09') : (!empty($conf->global->MAIN_MAIL_DEFAULT_FROMTYPE) ? $conf->global->MAIN_MAIL_DEFAULT_FROMTYPE : 'user')); + $formmail->fromtype = (GETPOSTISSET('fromtype') ?GETPOST('fromtype', 'aZ09') : (getDolGlobalString('MAIN_MAIL_DEFAULT_FROMTYPE') ? $conf->global->MAIN_MAIL_DEFAULT_FROMTYPE : 'user')); $formmail->withfromreadonly = 1; $formmail->withsubstit = 1; $formmail->withfrom = 1; diff --git a/htdocs/admin/mails_emailing.php b/htdocs/admin/mails_emailing.php index 8a276d68e27f4..1616019be11de 100644 --- a/htdocs/admin/mails_emailing.php +++ b/htdocs/admin/mails_emailing.php @@ -45,8 +45,8 @@ '__CHECK_READ__' => '', '__USER_LOGIN__' => $user->login, '__USER_EMAIL__' => $user->email, - '__USER_SIGNATURE__' => (($user->signature && empty($conf->global->MAIN_MAIL_DO_NOT_USE_SIGN)) ? $usersignature : ''), // Done into actions_sendmails - '__SENDEREMAIL_SIGNATURE__' => (($user->signature && empty($conf->global->MAIN_MAIL_DO_NOT_USE_SIGN)) ? $usersignature : ''), // Done into actions_sendmails + '__USER_SIGNATURE__' => (($user->signature && !getDolGlobalString('MAIN_MAIL_DO_NOT_USE_SIGN')) ? $usersignature : ''), // Done into actions_sendmails + '__SENDEREMAIL_SIGNATURE__' => (($user->signature && !getDolGlobalString('MAIN_MAIL_DO_NOT_USE_SIGN')) ? $usersignature : ''), // Done into actions_sendmails '__ID__' => 'RecipientIdRecord', //'__EMAIL__' => 'RecipientEMail', // Done into actions_sendmails '__LOGIN__' => $user->login, @@ -137,14 +137,14 @@ $linuxlike = 0; } -if (empty($conf->global->MAIN_MAIL_SENDMODE_EMAILING)) { +if (!getDolGlobalString('MAIN_MAIL_SENDMODE_EMAILING')) { $conf->global->MAIN_MAIL_SENDMODE_EMAILING = 'default'; } -$port = !empty($conf->global->MAIN_MAIL_SMTP_PORT_EMAILING) ? $conf->global->MAIN_MAIL_SMTP_PORT_EMAILING : ini_get('smtp_port'); +$port = getDolGlobalString('MAIN_MAIL_SMTP_PORT_EMAILING') ? $conf->global->MAIN_MAIL_SMTP_PORT_EMAILING : ini_get('smtp_port'); if (!$port) { $port = 25; } -$server = !empty($conf->global->MAIN_MAIL_SMTP_SERVER_EMAILING) ? $conf->global->MAIN_MAIL_SMTP_SERVER_EMAILING : ini_get('SMTP'); +$server = getDolGlobalString('MAIN_MAIL_SMTP_SERVER_EMAILING') ? $conf->global->MAIN_MAIL_SMTP_SERVER_EMAILING : ini_get('SMTP'); if (!$server) { $server = '127.0.0.1'; } @@ -223,11 +223,11 @@ function initfields() if (jQuery("#MAIN_MAIL_SENDMODE_EMAILING").val()==\'smtps\') { jQuery(".drag").show(); - jQuery("#MAIN_MAIL_EMAIL_TLS_EMAILING").val('.$conf->global->MAIN_MAIL_EMAIL_TLS_EMAILING.'); + jQuery("#MAIN_MAIL_EMAIL_TLS_EMAILING").val(' . getDolGlobalString('MAIN_MAIL_EMAIL_TLS_EMAILING').'); jQuery("#MAIN_MAIL_EMAIL_TLS_EMAILING").removeAttr("disabled"); - jQuery("#MAIN_MAIL_EMAIL_STARTTLS_EMAILING").val('.$conf->global->MAIN_MAIL_EMAIL_STARTTLS_EMAILING.'); + jQuery("#MAIN_MAIL_EMAIL_STARTTLS_EMAILING").val(' . getDolGlobalString('MAIN_MAIL_EMAIL_STARTTLS_EMAILING').'); jQuery("#MAIN_MAIL_EMAIL_STARTTLS_EMAILING").removeAttr("disabled"); - jQuery("#MAIN_MAIL_EMAIL_SMTP_ALLOW_SELF_SIGNED_EMAILING").val('.$conf->global->MAIN_MAIL_EMAIL_SMTP_ALLOW_SELF_SIGNED_EMAILING.'); + jQuery("#MAIN_MAIL_EMAIL_SMTP_ALLOW_SELF_SIGNED_EMAILING").val(' . getDolGlobalString('MAIN_MAIL_EMAIL_SMTP_ALLOW_SELF_SIGNED_EMAILING').'); jQuery("#MAIN_MAIL_EMAIL_SMTP_ALLOW_SELF_SIGNED_EMAILING").removeAttr("disabled"); jQuery("#MAIN_MAIL_SMTP_SERVER_EMAILING").removeAttr("disabled"); jQuery("#MAIN_MAIL_SMTP_PORT_EMAILING").removeAttr("disabled"); @@ -241,11 +241,11 @@ function initfields() if (jQuery("#MAIN_MAIL_SENDMODE_EMAILING").val()==\'swiftmailer\') { jQuery(".drag").show(); - jQuery("#MAIN_MAIL_EMAIL_TLS_EMAILING").val('.$conf->global->MAIN_MAIL_EMAIL_TLS_EMAILING.'); + jQuery("#MAIN_MAIL_EMAIL_TLS_EMAILING").val(' . getDolGlobalString('MAIN_MAIL_EMAIL_TLS_EMAILING').'); jQuery("#MAIN_MAIL_EMAIL_TLS_EMAILING").removeAttr("disabled"); - jQuery("#MAIN_MAIL_EMAIL_STARTTLS_EMAILING").val('.$conf->global->MAIN_MAIL_EMAIL_STARTTLS_EMAILING.'); + jQuery("#MAIN_MAIL_EMAIL_STARTTLS_EMAILING").val(' . getDolGlobalString('MAIN_MAIL_EMAIL_STARTTLS_EMAILING').'); jQuery("#MAIN_MAIL_EMAIL_STARTTLS_EMAILING").removeAttr("disabled"); - jQuery("#MAIN_MAIL_EMAIL_SMTP_ALLOW_SELF_SIGNED_EMAILING").val('.$conf->global->MAIN_MAIL_EMAIL_SMTP_ALLOW_SELF_SIGNED_EMAILING.'); + jQuery("#MAIN_MAIL_EMAIL_SMTP_ALLOW_SELF_SIGNED_EMAILING").val(' . getDolGlobalString('MAIN_MAIL_EMAIL_SMTP_ALLOW_SELF_SIGNED_EMAILING').'); jQuery("#MAIN_MAIL_EMAIL_SMTP_ALLOW_SELF_SIGNED_EMAILING").removeAttr("disabled"); jQuery("#MAIN_MAIL_SMTP_SERVER_EMAILING").removeAttr("disabled"); jQuery("#MAIN_MAIL_SMTP_PORT_EMAILING").removeAttr("disabled"); @@ -318,23 +318,23 @@ function change_smtp_auth_method() { print ''.$langs->trans("MAIN_MAIL_SENDMODE").''; // SuperAdministrator access only - if ((empty($conf->global->MAIN_MODULE_MULTICOMPANY)) || ($user->admin && !$user->entity)) { + if (!isModEnabled('multicompany') || ($user->admin && !$user->entity)) { print $form->selectarray('MAIN_MAIL_SENDMODE_EMAILING', $listofmethods, $conf->global->MAIN_MAIL_SENDMODE_EMAILING); } else { - $text = $listofmethods[$conf->global->MAIN_MAIL_SENDMODE_EMAILING]; + $text = $listofmethods[getDolGlobalString('MAIN_MAIL_SENDMODE_EMAILING')]; if (empty($text)) { $text = $langs->trans("Undefined"); } $htmltext = $langs->trans("ContactSuperAdminForChange"); print $form->textwithpicto($text, $htmltext, 1, 'superadmin'); - print ''; + print ''; } print ''; // Host server print ''; - if (!$conf->use_javascript_ajax && $linuxlike && $conf->global->MAIN_MAIL_SENDMODE_EMAILING == 'mail') { + if (!$conf->use_javascript_ajax && $linuxlike && getDolGlobalString('MAIN_MAIL_SENDMODE_EMAILING') == 'mail') { print ''; print $langs->trans("MAIN_MAIL_SMTP_SERVER_NotAvailableOnLinuxLike"); print ''; @@ -342,7 +342,7 @@ function change_smtp_auth_method() { print ''; } else { print ''; - $mainserver = (!empty($conf->global->MAIN_MAIL_SMTP_SERVER_EMAILING) ? $conf->global->MAIN_MAIL_SMTP_SERVER_EMAILING : ''); + $mainserver = (getDolGlobalString('MAIN_MAIL_SMTP_SERVER_EMAILING') ? $conf->global->MAIN_MAIL_SMTP_SERVER_EMAILING : ''); $smtpserver = ini_get('SMTP') ?ini_get('SMTP') : $langs->transnoentities("Undefined"); if ($linuxlike) { print $langs->trans("MAIN_MAIL_SMTP_SERVER_NotAvailableOnLinuxLike"); @@ -369,12 +369,12 @@ function change_smtp_auth_method() { // Port print ''; - if (!$conf->use_javascript_ajax && $linuxlike && $conf->global->MAIN_MAIL_SENDMODE_EMAILING == 'mail') { + if (!$conf->use_javascript_ajax && $linuxlike && getDolGlobalString('MAIN_MAIL_SENDMODE_EMAILING') == 'mail') { print $langs->trans("MAIN_MAIL_SMTP_PORT_NotAvailableOnLinuxLike"); print ''; print ''.$langs->trans("SeeLocalSendMailSetup").''; } else { - $mainport = (!empty($conf->global->MAIN_MAIL_SMTP_PORT_EMAILING) ? $conf->global->MAIN_MAIL_SMTP_PORT_EMAILING : ''); + $mainport = (getDolGlobalString('MAIN_MAIL_SMTP_PORT_EMAILING') ? $conf->global->MAIN_MAIL_SMTP_PORT_EMAILING : ''); $smtpport = ini_get('smtp_port') ?ini_get('smtp_port') : $langs->transnoentities("Undefined"); if ($linuxlike) { print $langs->trans("MAIN_MAIL_SMTP_PORT_NotAvailableOnLinuxLike"); @@ -417,7 +417,7 @@ function change_smtp_auth_method() { // ID if (!empty($conf->use_javascript_ajax) || (isset($conf->global->MAIN_MAIL_SENDMODE_EMAILING) && in_array($conf->global->MAIN_MAIL_SENDMODE_EMAILING, array('smtps', 'swiftmailer')))) { - $mainstmpid = (!empty($conf->global->MAIN_MAIL_SMTPS_ID_EMAILING) ? $conf->global->MAIN_MAIL_SMTPS_ID_EMAILING : ''); + $mainstmpid = (getDolGlobalString('MAIN_MAIL_SMTPS_ID_EMAILING') ? $conf->global->MAIN_MAIL_SMTPS_ID_EMAILING : ''); print '' . $langs->trans("MAIN_MAIL_SMTPS_ID") . ''; // SuperAdministrator access only if (!isModEnabled('multicompany') || ($user->admin && !$user->entity)) { @@ -432,7 +432,7 @@ function change_smtp_auth_method() { // PW if (!empty($conf->use_javascript_ajax) || (isset($conf->global->MAIN_MAIL_SENDMODE_EMAILING) && in_array($conf->global->MAIN_MAIL_SENDMODE_EMAILING, array('smtps', 'swiftmailer')))) { - $mainsmtppw = (!empty($conf->global->MAIN_MAIL_SMTPS_PW_EMAILING) ? $conf->global->MAIN_MAIL_SMTPS_PW_EMAILING : ''); + $mainsmtppw = (getDolGlobalString('MAIN_MAIL_SMTPS_PW_EMAILING') ? $conf->global->MAIN_MAIL_SMTPS_PW_EMAILING : ''); print '' . $langs->trans("MAIN_MAIL_SMTPS_PW") . ''; // SuperAdministrator access only if (!isModEnabled('multicompany') || ($user->admin && !$user->entity)) { @@ -450,16 +450,16 @@ function change_smtp_auth_method() { print ''.$langs->trans("MAIN_MAIL_SMTPS_OAUTH_SERVICE").''; // SuperAdministrator access only - if ((empty($conf->global->MAIN_MODULE_MULTICOMPANY)) || ($user->admin && !$user->entity)) { + if (!isModEnabled('multicompany') || ($user->admin && !$user->entity)) { print $form->selectarray('MAIN_MAIL_SMTPS_OAUTH_SERVICE_EMAILING', $oauthservices, $conf->global->MAIN_MAIL_SMTPS_OAUTH_SERVICE_EMAILING); } else { - $text = $oauthservices[$conf->global->MAIN_MAIL_SMTPS_OAUTH_SERVICE_EMAILING]; + $text = $oauthservices[getDolGlobalString('MAIN_MAIL_SMTPS_OAUTH_SERVICE_EMAILING')]; if (empty($text)) { $text = $langs->trans("Undefined"); } $htmltext = $langs->trans("ContactSuperAdminForChange"); print $form->textwithpicto($text, $htmltext, 1, 'superadmin'); - print ''; + print ''; } print ''; } @@ -469,7 +469,7 @@ function change_smtp_auth_method() { print ''.$langs->trans("MAIN_MAIL_EMAIL_TLS").''; if (!empty($conf->use_javascript_ajax) || (isset($conf->global->MAIN_MAIL_SENDMODE_EMAILING) && in_array($conf->global->MAIN_MAIL_SENDMODE_EMAILING, array('smtps', 'swiftmailer')))) { if (function_exists('openssl_open')) { - print $form->selectyesno('MAIN_MAIL_EMAIL_TLS_EMAILING', (!empty($conf->global->MAIN_MAIL_EMAIL_TLS_EMAILING) ? $conf->global->MAIN_MAIL_EMAIL_TLS_EMAILING : 0), 1); + print $form->selectyesno('MAIN_MAIL_EMAIL_TLS_EMAILING', (getDolGlobalString('MAIN_MAIL_EMAIL_TLS_EMAILING') ? $conf->global->MAIN_MAIL_EMAIL_TLS_EMAILING : 0), 1); } else { print yn(0).' ('.$langs->trans("YourPHPDoesNotHaveSSLSupport").')'; } @@ -482,7 +482,7 @@ function change_smtp_auth_method() { print ''.$langs->trans("MAIN_MAIL_EMAIL_STARTTLS").''; if (!empty($conf->use_javascript_ajax) || (isset($conf->global->MAIN_MAIL_SENDMODE_EMAILING) && in_array($conf->global->MAIN_MAIL_SENDMODE_EMAILING, array('smtps', 'swiftmailer')))) { if (function_exists('openssl_open')) { - print $form->selectyesno('MAIN_MAIL_EMAIL_STARTTLS_EMAILING', (!empty($conf->global->MAIN_MAIL_EMAIL_STARTTLS_EMAILING) ? $conf->global->MAIN_MAIL_EMAIL_STARTTLS_EMAILING : 0), 1); + print $form->selectyesno('MAIN_MAIL_EMAIL_STARTTLS_EMAILING', (getDolGlobalString('MAIN_MAIL_EMAIL_STARTTLS_EMAILING') ? $conf->global->MAIN_MAIL_EMAIL_STARTTLS_EMAILING : 0), 1); } else { print yn(0).' ('.$langs->trans("YourPHPDoesNotHaveSSLSupport").')'; } @@ -495,7 +495,7 @@ function change_smtp_auth_method() { print ''.$langs->trans("MAIN_MAIL_EMAIL_SMTP_ALLOW_SELF_SIGNED").''; if (!empty($conf->use_javascript_ajax) || (isset($conf->global->MAIN_MAIL_SENDMODE_EMAILING) && in_array($conf->global->MAIN_MAIL_SENDMODE_EMAILING, array('smtps', 'swiftmailer')))) { if (function_exists('openssl_open')) { - print $form->selectyesno('MAIN_MAIL_EMAIL_SMTP_ALLOW_SELF_SIGNED_EMAILING', (!empty($conf->global->MAIN_MAIL_EMAIL_SMTP_ALLOW_SELF_SIGNED_EMAILING) ? $conf->global->MAIN_MAIL_EMAIL_SMTP_ALLOW_SELF_SIGNED_EMAILING : 0), 1); + print $form->selectyesno('MAIN_MAIL_EMAIL_SMTP_ALLOW_SELF_SIGNED_EMAILING', (getDolGlobalString('MAIN_MAIL_EMAIL_SMTP_ALLOW_SELF_SIGNED_EMAILING') ? $conf->global->MAIN_MAIL_EMAIL_SMTP_ALLOW_SELF_SIGNED_EMAILING : 0), 1); } else { print yn(0).' ('.$langs->trans("YourPHPDoesNotHaveSSLSupport").')'; } @@ -534,19 +534,19 @@ function change_smtp_auth_method() { } print ''; - if (!empty($conf->global->MAIN_MAIL_SENDMODE_EMAILING) && $conf->global->MAIN_MAIL_SENDMODE_EMAILING != 'default') { + if (getDolGlobalString('MAIN_MAIL_SENDMODE_EMAILING') && $conf->global->MAIN_MAIL_SENDMODE_EMAILING != 'default') { // Host server - if ($linuxlike && (isset($conf->global->MAIN_MAIL_SENDMODE_EMAILING) && $conf->global->MAIN_MAIL_SENDMODE_EMAILING == 'mail')) { + if ($linuxlike && (getDolGlobalString('MAIN_MAIL_SENDMODE_EMAILING') == 'mail')) { print ''.$langs->trans("MAIN_MAIL_SMTP_SERVER_NotAvailableOnLinuxLike").''.$langs->trans("SeeLocalSendMailSetup").''; } else { - print ''.$langs->trans("MAIN_MAIL_SMTP_SERVER", ini_get('SMTP') ?ini_get('SMTP') : $langs->transnoentities("Undefined")).''.(!empty($conf->global->MAIN_MAIL_SMTP_SERVER_EMAILING) ? $conf->global->MAIN_MAIL_SMTP_SERVER_EMAILING : '').''; + print ''.$langs->trans("MAIN_MAIL_SMTP_SERVER", ini_get('SMTP') ?ini_get('SMTP') : $langs->transnoentities("Undefined")).''.(getDolGlobalString('MAIN_MAIL_SMTP_SERVER_EMAILING') ? $conf->global->MAIN_MAIL_SMTP_SERVER_EMAILING : '').''; } // Port - if ($linuxlike && (isset($conf->global->MAIN_MAIL_SENDMODE_EMAILING) && $conf->global->MAIN_MAIL_SENDMODE_EMAILING == 'mail')) { + if ($linuxlike && (getDolGlobalString('MAIN_MAIL_SENDMODE_EMAILING') == 'mail')) { print ''.$langs->trans("MAIN_MAIL_SMTP_PORT_NotAvailableOnLinuxLike").''.$langs->trans("SeeLocalSendMailSetup").''; } else { - print ''.$langs->trans("MAIN_MAIL_SMTP_PORT", ini_get('smtp_port') ?ini_get('smtp_port') : $langs->transnoentities("Undefined")).''.(!empty($conf->global->MAIN_MAIL_SMTP_PORT_EMAILING) ? $conf->global->MAIN_MAIL_SMTP_PORT_EMAILING : '').''; + print ''.$langs->trans("MAIN_MAIL_SMTP_PORT", ini_get('smtp_port') ?ini_get('smtp_port') : $langs->transnoentities("Undefined")).''.(getDolGlobalString('MAIN_MAIL_SMTP_PORT_EMAILING') ? $conf->global->MAIN_MAIL_SMTP_PORT_EMAILING : '').''; } // AUTH method @@ -568,7 +568,7 @@ function change_smtp_auth_method() { // SMTPS oauth service if (in_array(getDolGlobalString('MAIN_MAIL_SENDMODE_EMAILING'), array('smtps', 'swiftmailer')) && getDolGlobalString('MAIN_MAIL_SMTPS_AUTH_TYPE_EMAILING') === "XOAUTH2") { - $text = $oauthservices[$conf->global->MAIN_MAIL_SMTPS_OAUTH_SERVICE_EMAILING]; + $text = $oauthservices[getDolGlobalString('MAIN_MAIL_SMTPS_OAUTH_SERVICE_EMAILING')]; if (empty($text)) { $text = $langs->trans("Undefined").img_warning(); } @@ -622,7 +622,7 @@ function change_smtp_auth_method() { print dol_get_fiche_end(); - if ($conf->global->MAIN_MAIL_SENDMODE_EMAILING == 'mail' && empty($conf->global->MAIN_FIX_FOR_BUGGED_MTA)) { + if (getDolGlobalString('MAIN_MAIL_SENDMODE_EMAILING') == 'mail' && !getDolGlobalString('MAIN_FIX_FOR_BUGGED_MTA')) { print '
'; /* // Warning 1 @@ -643,7 +643,7 @@ function change_smtp_auth_method() { print ''.$langs->trans("Modify").''; - if (!empty($conf->global->MAIN_MAIL_SENDMODE_EMAILING) && $conf->global->MAIN_MAIL_SENDMODE_EMAILING != 'default') { + if (getDolGlobalString('MAIN_MAIL_SENDMODE_EMAILING') && $conf->global->MAIN_MAIL_SENDMODE_EMAILING != 'default') { if ($conf->global->MAIN_MAIL_SENDMODE_EMAILING != 'mail' || !$linuxlike) { if (function_exists('fsockopen') && $port && $server) { print '' . $langs->trans("DoTestServerAvailability") . ''; @@ -662,7 +662,7 @@ function change_smtp_auth_method() { print '
'; - if ($conf->global->MAIN_MAIL_SENDMODE_EMAILING == 'mail' && !in_array($action, array('testconnect', 'test', 'testhtml'))) { + if (getDolGlobalString('MAIN_MAIL_SENDMODE_EMAILING') == 'mail' && !in_array($action, array('testconnect', 'test', 'testhtml'))) { $text = $langs->trans("WarningPHPMail"); print info_admin($text); } diff --git a/htdocs/admin/mails_senderprofile_list.php b/htdocs/admin/mails_senderprofile_list.php index 734b64d3331a9..8dd525a171f49 100644 --- a/htdocs/admin/mails_senderprofile_list.php +++ b/htdocs/admin/mails_senderprofile_list.php @@ -375,7 +375,7 @@ $newcardbutton = ''; if ($action != 'create') { - $newcardbutton = dolGetButtonTitle($langs->trans('New'), '', 'fa fa-plus-circle', $_SERVER['PHP_SELF'].'?action=create', '', $permissiontoadd); + $newcardbutton .= dolGetButtonTitle($langs->trans('New'), '', 'fa fa-plus-circle', $_SERVER['PHP_SELF'].'?action=create', '', $permissiontoadd); if ($action == 'edit') { print ''; @@ -385,7 +385,7 @@ print ''; print ''; print ''; print ''; print ''; } elseif ($value == 'label') { - print ''; + print ''; } elseif ($value == 'lang') { print ''; // Host server print ''; - if (!$conf->use_javascript_ajax && $linuxlike && $conf->global->MAIN_MAIL_SENDMODE_TICKET == 'mail') { + if (!$conf->use_javascript_ajax && $linuxlike && getDolGlobalString('MAIN_MAIL_SENDMODE_TICKET') == 'mail') { print ''; } else { print ''; } @@ -456,7 +456,7 @@ function change_smtp_auth_method() { print ''; - if (!empty($conf->global->MAIN_MAIL_SENDMODE_TICKET) && $conf->global->MAIN_MAIL_SENDMODE_TICKET != 'default') { + if (getDolGlobalString('MAIN_MAIL_SENDMODE_TICKET') && $conf->global->MAIN_MAIL_SENDMODE_TICKET != 'default') { // Host server - if ($linuxlike && (isset($conf->global->MAIN_MAIL_SENDMODE_TICKET) && $conf->global->MAIN_MAIL_SENDMODE_TICKET == 'mail')) { + if ($linuxlike && (getDolGlobalString('MAIN_MAIL_SENDMODE_TICKET') == 'mail')) { print ''; } else { - print ''; + print ''; } // Port - if ($linuxlike && (isset($conf->global->MAIN_MAIL_SENDMODE_TICKET) && $conf->global->MAIN_MAIL_SENDMODE_TICKET == 'mail')) { + if ($linuxlike && (getDolGlobalString('MAIN_MAIL_SENDMODE_TICKET') == 'mail')) { print ''; } else { - print ''; + print ''; } // AUTH method @@ -532,7 +532,7 @@ function change_smtp_auth_method() { // SMTPS ID if (isset($conf->global->MAIN_MAIL_SENDMODE_TICKET) && in_array($conf->global->MAIN_MAIL_SENDMODE_TICKET, array('smtps', 'swiftmailer'))) { - print ''; + print ''; } // SMTPS PW @@ -542,7 +542,7 @@ function change_smtp_auth_method() { // SMTPS oauth service if (in_array(getDolGlobalString('MAIN_MAIL_SENDMODE_TICKET'), array('smtps', 'swiftmailer')) && getDolGlobalString('MAIN_MAIL_SMTPS_AUTH_TYPE_TICKET') === "XOAUTH2") { - $text = $oauthservices[$conf->global->MAIN_MAIL_SMTPS_OAUTH_SERVICE_TICKET]; + $text = $oauthservices[getDolGlobalString('MAIN_MAIL_SMTPS_OAUTH_SERVICE_TICKET')]; if (empty($text)) { $text = $langs->trans("Undefined").img_warning(); } @@ -581,7 +581,7 @@ function change_smtp_auth_method() { print dol_get_fiche_end(); - if ($conf->global->MAIN_MAIL_SENDMODE_TICKET == 'mail' && empty($conf->global->MAIN_FIX_FOR_BUGGED_MTA)) { + if (getDolGlobalString('MAIN_MAIL_SENDMODE_TICKET') == 'mail' && !getDolGlobalString('MAIN_FIX_FOR_BUGGED_MTA')) { print '
'; /* // Warning 1 @@ -604,7 +604,7 @@ function change_smtp_auth_method() { print ''.$langs->trans("Modify").''; - if (!empty($conf->global->MAIN_MAIL_SENDMODE_TICKET) && $conf->global->MAIN_MAIL_SENDMODE_TICKET != 'default') { + if (getDolGlobalString('MAIN_MAIL_SENDMODE_TICKET') && $conf->global->MAIN_MAIL_SENDMODE_TICKET != 'default') { if ($conf->global->MAIN_MAIL_SENDMODE_TICKET != 'mail' || !$linuxlike) { if (function_exists('fsockopen') && $port && $server) { print ''.$langs->trans("DoTestServerAvailability").''; @@ -623,7 +623,7 @@ function change_smtp_auth_method() { print ''; - if ($conf->global->MAIN_MAIL_SENDMODE_TICKET == 'mail' && !in_array($action, array('testconnect', 'test', 'testhtml'))) { + if (getDolGlobalString('MAIN_MAIL_SENDMODE_TICKET') == 'mail' && !in_array($action, array('testconnect', 'test', 'testhtml'))) { $text = $langs->trans("WarningPHPMail"); print info_admin($text); } diff --git a/htdocs/admin/menus.php b/htdocs/admin/menus.php index abcb2133e8c95..2e85101d6d9b7 100644 --- a/htdocs/admin/menus.php +++ b/htdocs/admin/menus.php @@ -167,29 +167,29 @@ // Menu top print ''; print ''; print ''; print ''; // Menu smartphone print ''; print ''; print ''."\n"; - if (!empty($conf->global->MAIN_MODULES_SHOW_LINENUMBERS)) { + if (getDolGlobalString('MAIN_MODULES_SHOW_LINENUMBERS')) { print ''; } @@ -1015,7 +1015,7 @@ // Help print ''; // Version @@ -1106,7 +1106,7 @@ print '
'; - if (empty($conf->global->MAIN_DISABLE_DOLISTORE_SEARCH) && $conf->global->MAIN_FEATURES_LEVEL >= 1) { + if (!getDolGlobalString('MAIN_DISABLE_DOLISTORE_SEARCH') && $conf->global->MAIN_FEATURES_LEVEL >= 1) { // $options is array with filter criterias //var_dump($options); $dolistore->getRemoteCategories(); @@ -1157,7 +1157,6 @@
'.$langs->trans("Signature").''; require_once DOL_DOCUMENT_ROOT.'/core/class/doleditor.class.php'; - $doleditor = new DolEditor('signature', (GETPOSTISSET('signature') ? GETPOST('signature', 'restricthtml') : $object->signature), '', 138, 'dolibarr_notes', 'In', true, true, empty($conf->global->FCKEDITOR_ENABLE_USERSIGN) ? 0 : 1, ROWS_4, '90%'); + $doleditor = new DolEditor('signature', (GETPOSTISSET('signature') ? GETPOST('signature', 'restricthtml') : $object->signature), '', 138, 'dolibarr_notes', 'In', true, true, !getDolGlobalString('FCKEDITOR_ENABLE_USERSIGN') ? 0 : 1, ROWS_4, '90%'); print $doleditor->Create(1); print '
'.$langs->trans("User").''; @@ -417,7 +417,7 @@ print '
'.$langs->trans("Signature").''; require_once DOL_DOCUMENT_ROOT.'/core/class/doleditor.class.php'; - $doleditor = new DolEditor('signature', GETPOST('signature'), '', 138, 'dolibarr_notes', 'In', true, true, empty($conf->global->FCKEDITOR_ENABLE_USERSIGN) ? 0 : 1, ROWS_4, '90%'); + $doleditor = new DolEditor('signature', GETPOST('signature'), '', 138, 'dolibarr_notes', 'In', true, true, !getDolGlobalString('FCKEDITOR_ENABLE_USERSIGN') ? 0 : 1, ROWS_4, '90%'); print $doleditor->Create(1); print '
'.$langs->trans("User").''; diff --git a/htdocs/admin/mails_templates.php b/htdocs/admin/mails_templates.php index 4a7c644df1990..114f2f3b7cd8a 100644 --- a/htdocs/admin/mails_templates.php +++ b/htdocs/admin/mails_templates.php @@ -110,21 +110,21 @@ // Nom des champs en resultat de select pour affichage du dictionnaire $tabfield = array(); $tabfield[25] = "label,lang,type_template,fk_user,private,position,module,topic,joinfiles,defaultfortype,content"; -if (!empty($conf->global->MAIN_EMAIL_TEMPLATES_FOR_OBJECT_LINES)) { +if (getDolGlobalString('MAIN_EMAIL_TEMPLATES_FOR_OBJECT_LINES')) { $tabfield[25] .= ',content_lines'; } // Nom des champs d'edition pour modification d'un enregistrement $tabfieldvalue = array(); $tabfieldvalue[25] = "label,lang,type_template,fk_user,private,position,topic,email_from,joinfiles,defaultfortype,content"; -if (!empty($conf->global->MAIN_EMAIL_TEMPLATES_FOR_OBJECT_LINES)) { +if (getDolGlobalString('MAIN_EMAIL_TEMPLATES_FOR_OBJECT_LINES')) { $tabfieldvalue[25] .= ',content_lines'; } // Nom des champs dans la table pour insertion d'un enregistrement $tabfieldinsert = array(); $tabfieldinsert[25] = "label,lang,type_template,fk_user,private,position,topic,email_from,joinfiles,defaultfortype,content"; -if (!empty($conf->global->MAIN_EMAIL_TEMPLATES_FOR_OBJECT_LINES)) { +if (getDolGlobalString('MAIN_EMAIL_TEMPLATES_FOR_OBJECT_LINES')) { $tabfieldinsert[25] .= ',content_lines'; } $tabfieldinsert[25] .= ',entity'; // Must be at end because not into other arrays @@ -137,7 +137,7 @@ // Set MAIN_EMAIL_TEMPLATES_FOR_OBJECT_LINES to allow edit of template for lines require_once DOL_DOCUMENT_ROOT.'/core/class/html.formmail.class.php'; $formmail = new FormMail($db); -if (empty($conf->global->MAIN_EMAIL_TEMPLATES_FOR_OBJECT_LINES)) { +if (!getDolGlobalString('MAIN_EMAIL_TEMPLATES_FOR_OBJECT_LINES')) { $tmp = FormMail::getAvailableSubstitKey('formemail'); $tmp['__(AnyTranslationKey)__'] = 'Translation'; $helpsubstit = $langs->trans("AvailableVariables").':
'; @@ -225,19 +225,19 @@ if (isModEnabled('contrat') && $user->hasRight('contrat', 'lire')) { $elementList['contract'] = img_picto('', 'contract', 'class="pictofixedwidth"').dol_escape_htmltag($langs->trans('MailToSendContract')); } -if (isModEnabled('ticket') && !empty($user->rights->ticket->read)) { +if (isModEnabled('ticket') && $user->hasRight('ticket', 'read')) { $elementList['ticket_send'] = img_picto('', 'ticket', 'class="pictofixedwidth"').dol_escape_htmltag($langs->trans('MailToTicket')); } -if (isModEnabled('expensereport') && !empty($user->rights->expensereport->lire)) { +if (isModEnabled('expensereport') && $user->hasRight('expensereport', 'lire')) { $elementList['expensereport_send'] = img_picto('', 'trip', 'class="pictofixedwidth"').dol_escape_htmltag($langs->trans('MailToExpenseReport')); } if (isModEnabled('agenda')) { $elementList['actioncomm_send'] = img_picto('', 'action', 'class="pictofixedwidth"').dol_escape_htmltag($langs->trans('MailToSendEventPush')); } -if (isModEnabled('eventorganization') && !empty($user->rights->eventorganization->read)) { +if (isModEnabled('eventorganization') && $user->hasRight('eventorganization', 'read')) { $elementList['conferenceorbooth'] = img_picto('', 'action', 'class="pictofixedwidth"').dol_escape_htmltag($langs->trans('MailToSendEventOrganization')); } -if (isModEnabled('partnership') && !empty($user->rights->partnership->read)) { +if (isModEnabled('partnership') && $user->hasRight('partnership', 'read')) { $elementList['partnership_send'] = img_picto('', 'partnership', 'class="pictofixedwidth"').dol_escape_htmltag($langs->trans('MailToPartnership')); } @@ -658,7 +658,8 @@ $url = DOL_URL_ROOT.'/admin/mails_templates.php?action=create'; -$newcardbutton = dolGetButtonTitle($langs->trans('NewEMailTemplate'), '', 'fa fa-plus-circle', $url, '', $permissiontoadd); +$newcardbutton = ''; +$newcardbutton .= dolGetButtonTitle($langs->trans('NewEMailTemplate'), '', 'fa fa-plus-circle', $url, '', $permissiontoadd); if (!empty($user->admin) && (empty($_SESSION['leftmenu']) || $_SESSION['leftmenu'] != 'email_templates')) { @@ -807,7 +808,7 @@ // Show fields for topic, join files and body $fieldsforcontent = array('topic', 'email_from', 'joinfiles', 'content'); - if (!empty($conf->global->MAIN_EMAIL_TEMPLATES_FOR_OBJECT_LINES)) { + if (getDolGlobalString('MAIN_EMAIL_TEMPLATES_FOR_OBJECT_LINES')) { $fieldsforcontent = array('topic', 'email_from', 'joinfiles', 'content', 'content_lines'); } foreach ($fieldsforcontent as $tmpfieldlist) { @@ -837,7 +838,7 @@ print $form->selectyesno($tmpfieldlist, (isset($obj->$tmpfieldlist) ? $obj->$tmpfieldlist : '0'), 1, false, 0, 1); } else { $okforextended = true; - if (empty($conf->global->FCKEDITOR_ENABLE_MAIL)) { + if (!getDolGlobalString('FCKEDITOR_ENABLE_MAIL')) { $okforextended = false; } $doleditor = new DolEditor($tmpfieldlist, (!empty($obj->$tmpfieldlist) ? $obj->$tmpfieldlist : ''), '', 400, 'dolibarr_mailings', 'In', false, $acceptlocallinktomedia, $okforextended, ROWS_6, '90%'); @@ -933,7 +934,7 @@ if ($value == 'module') { print '
'; print $formadmin->select_language($search_lang, 'search_lang', 0, null, 1, 0, 0, 'maxwidth100'); @@ -1095,7 +1096,7 @@ print ''; $fieldsforcontent = array('topic', 'email_from','joinfiles', 'content'); - if (!empty($conf->global->MAIN_EMAIL_TEMPLATES_FOR_OBJECT_LINES)) { + if (getDolGlobalString('MAIN_EMAIL_TEMPLATES_FOR_OBJECT_LINES')) { $fieldsforcontent[] = 'content_lines'; } foreach ($fieldsforcontent as $tmpfieldlist) { @@ -1126,7 +1127,7 @@ if ($tmpfieldlist == 'content') { print $form->textwithpicto($langs->trans("Content"), $tabhelp[$id][$tmpfieldlist], 1, 'help', '', 0, 2, $tmpfieldlist).'
'; $okforextended = true; - if (empty($conf->global->FCKEDITOR_ENABLE_MAIL)) { + if (!getDolGlobalString('FCKEDITOR_ENABLE_MAIL')) { $okforextended = false; } $doleditor = new DolEditor($tmpfieldlist.'-'.$rowid, (!empty($obj->{$tmpfieldlist}) ? $obj->{$tmpfieldlist} : ''), '', 500, 'dolibarr_mailings', 'In', 0, $acceptlocallinktomedia, $okforextended, ROWS_6, '90%'); @@ -1136,7 +1137,7 @@ print '
'."\n"; print $form->textwithpicto($langs->trans("ContentForLines"), $tabhelp[$id][$tmpfieldlist], 1, 'help', '', 0, 2, $tmpfieldlist).'
'; $okforextended = true; - if (empty($conf->global->FCKEDITOR_ENABLE_MAIL)) { + if (!getDolGlobalString('FCKEDITOR_ENABLE_MAIL')) { $okforextended = false; } $doleditor = new DolEditor($tmpfieldlist.'-'.$rowid, (!empty($obj->{$tmpfieldlist}) ? $obj->{$tmpfieldlist} : ''), '', 140, 'dolibarr_mailings', 'In', 0, $acceptlocallinktomedia, $okforextended, ROWS_6, '90%'); @@ -1226,7 +1227,7 @@ $valuetoshow = dol_escape_htmltag($valuetoshow); } if ($value == 'label') { - $class .= ' tdoverflowmax100'; + $class .= ' tdoverflowmax200'; } if ($value == 'topic') { $class .= ' tdoverflowmax200 small'; diff --git a/htdocs/admin/mails_ticket.php b/htdocs/admin/mails_ticket.php index 05d66516cde49..ec995efa804e9 100644 --- a/htdocs/admin/mails_ticket.php +++ b/htdocs/admin/mails_ticket.php @@ -51,8 +51,8 @@ '__ZIP__'=> 'RecipientZip', '__TOWN_'=> 'RecipientTown', '__COUNTRY__'=> 'RecipientCountry', - '__USER_SIGNATURE__' => (($user->signature && empty($conf->global->MAIN_MAIL_DO_NOT_USE_SIGN)) ? $usersignature : ''), - '__SENDEREMAIL_SIGNATURE__' => (($user->signature && empty($conf->global->MAIN_MAIL_DO_NOT_USE_SIGN)) ? $usersignature : ''), // Done into actions_sendmails + '__USER_SIGNATURE__' => (($user->signature && !getDolGlobalString('MAIN_MAIL_DO_NOT_USE_SIGN')) ? $usersignature : ''), + '__SENDEREMAIL_SIGNATURE__' => (($user->signature && !getDolGlobalString('MAIN_MAIL_DO_NOT_USE_SIGN')) ? $usersignature : ''), // Done into actions_sendmails //'__PERSONALIZED__' => 'TESTPersonalized' // Hiden because not used yet ); complete_substitutions_array($substitutionarrayfortest, $langs); @@ -123,14 +123,14 @@ $linuxlike = 0; } -if (empty($conf->global->MAIN_MAIL_SENDMODE_TICKET)) { +if (!getDolGlobalString('MAIN_MAIL_SENDMODE_TICKET')) { $conf->global->MAIN_MAIL_SENDMODE_TICKET = 'default'; } -$port = !empty($conf->global->MAIN_MAIL_SMTP_PORT_TICKET) ? $conf->global->MAIN_MAIL_SMTP_PORT_TICKET : ini_get('smtp_port'); +$port = getDolGlobalString('MAIN_MAIL_SMTP_PORT_TICKET') ? $conf->global->MAIN_MAIL_SMTP_PORT_TICKET : ini_get('smtp_port'); if (!$port) { $port = 25; } -$server = !empty($conf->global->MAIN_MAIL_SMTP_SERVER_TICKET) ? $conf->global->MAIN_MAIL_SMTP_SERVER_TICKET : ini_get('SMTP'); +$server = getDolGlobalString('MAIN_MAIL_SMTP_SERVER_TICKET') ? $conf->global->MAIN_MAIL_SMTP_SERVER_TICKET : ini_get('SMTP'); if (!$server) { $server = '127.0.0.1'; } @@ -218,9 +218,9 @@ function initfields() if (jQuery("#MAIN_MAIL_SENDMODE_TICKET").val()==\'smtps\') { jQuery(".drag").show(); - jQuery("#MAIN_MAIL_EMAIL_TLS_TICKET").val('.$conf->global->MAIN_MAIL_EMAIL_TLS_TICKET.'); + jQuery("#MAIN_MAIL_EMAIL_TLS_TICKET").val(' . getDolGlobalString('MAIN_MAIL_EMAIL_TLS_TICKET').'); jQuery("#MAIN_MAIL_EMAIL_TLS_TICKET").removeAttr("disabled"); - jQuery("#MAIN_MAIL_EMAIL_STARTTLS_TICKET").val('.$conf->global->MAIN_MAIL_EMAIL_STARTTLS_TICKET.'); + jQuery("#MAIN_MAIL_EMAIL_STARTTLS_TICKET").val(' . getDolGlobalString('MAIN_MAIL_EMAIL_STARTTLS_TICKET').'); jQuery("#MAIN_MAIL_EMAIL_STARTTLS_TICKET").removeAttr("disabled"); jQuery("#MAIN_MAIL_SMTP_SERVER_TICKET").removeAttr("disabled"); jQuery("#MAIN_MAIL_SMTP_PORT_TICKET").removeAttr("disabled"); @@ -234,9 +234,9 @@ function initfields() if (jQuery("#MAIN_MAIL_SENDMODE_TICKET").val()==\'swiftmailer\') { jQuery(".drag").show(); - jQuery("#MAIN_MAIL_EMAIL_TLS_TICKET").val('.$conf->global->MAIN_MAIL_EMAIL_TLS_TICKET.'); + jQuery("#MAIN_MAIL_EMAIL_TLS_TICKET").val(' . getDolGlobalString('MAIN_MAIL_EMAIL_TLS_TICKET').'); jQuery("#MAIN_MAIL_EMAIL_TLS_TICKET").removeAttr("disabled"); - jQuery("#MAIN_MAIL_EMAIL_STARTTLS_TICKET").val('.$conf->global->MAIN_MAIL_EMAIL_STARTTLS_TICKET.'); + jQuery("#MAIN_MAIL_EMAIL_STARTTLS_TICKET").val(' . getDolGlobalString('MAIN_MAIL_EMAIL_STARTTLS_TICKET').'); jQuery("#MAIN_MAIL_EMAIL_STARTTLS_TICKET").removeAttr("disabled"); jQuery("#MAIN_MAIL_SMTP_SERVER_TICKET").removeAttr("disabled"); jQuery("#MAIN_MAIL_SMTP_PORT_TICKET").removeAttr("disabled"); @@ -307,23 +307,23 @@ function change_smtp_auth_method() { print '
'.$langs->trans("MAIN_MAIL_SENDMODE").''; // SuperAdministrator access only - if ((empty($conf->global->MAIN_MODULE_MULTICOMPANY)) || ($user->admin && !$user->entity)) { + if (!isModEnabled('multicompany') || ($user->admin && !$user->entity)) { print $form->selectarray('MAIN_MAIL_SENDMODE_TICKET', $listofmethods, $conf->global->MAIN_MAIL_SENDMODE_TICKET); } else { - $text = $listofmethods[$conf->global->MAIN_MAIL_SENDMODE_TICKET]; + $text = $listofmethods[getDolGlobalString('MAIN_MAIL_SENDMODE_TICKET')]; if (empty($text)) { $text = $langs->trans("Undefined"); } $htmltext = $langs->trans("ContactSuperAdminForChange"); print $form->textwithpicto($text, $htmltext, 1, 'superadmin'); - print ''; + print ''; } print '
'; print $langs->trans("MAIN_MAIL_SMTP_SERVER_NotAvailableOnLinuxLike"); print ''; @@ -331,7 +331,7 @@ function change_smtp_auth_method() { print ''; - $mainserver = (!empty($conf->global->MAIN_MAIL_SMTP_SERVER_TICKET) ? $conf->global->MAIN_MAIL_SMTP_SERVER_TICKET : ''); + $mainserver = (getDolGlobalString('MAIN_MAIL_SMTP_SERVER_TICKET') ? $conf->global->MAIN_MAIL_SMTP_SERVER_TICKET : ''); $smtpserver = ini_get('SMTP') ?ini_get('SMTP') : $langs->transnoentities("Undefined"); if ($linuxlike) { print $langs->trans("MAIN_MAIL_SMTP_SERVER_NotAvailableOnLinuxLike"); @@ -357,12 +357,12 @@ function change_smtp_auth_method() { // Port print '
'; - if (!$conf->use_javascript_ajax && $linuxlike && $conf->global->MAIN_MAIL_SENDMODE_TICKET == 'mail') { + if (!$conf->use_javascript_ajax && $linuxlike && getDolGlobalString('MAIN_MAIL_SENDMODE_TICKET') == 'mail') { print $langs->trans("MAIN_MAIL_SMTP_PORT_NotAvailableOnLinuxLike"); print ''; print ''.$langs->trans("SeeLocalSendMailSetup").''; } else { - $mainport = (!empty($conf->global->MAIN_MAIL_SMTP_PORT_TICKET) ? $conf->global->MAIN_MAIL_SMTP_PORT_TICKET : ''); + $mainport = (getDolGlobalString('MAIN_MAIL_SMTP_PORT_TICKET') ? $conf->global->MAIN_MAIL_SMTP_PORT_TICKET : ''); $smtpport = ini_get('smtp_port') ?ini_get('smtp_port') : $langs->transnoentities("Undefined"); if ($linuxlike) { print $langs->trans("MAIN_MAIL_SMTP_PORT_NotAvailableOnLinuxLike"); @@ -405,7 +405,7 @@ function change_smtp_auth_method() { // ID if (!empty($conf->use_javascript_ajax) || (isset($conf->global->MAIN_MAIL_SENDMODE_TICKET) && in_array($conf->global->MAIN_MAIL_SENDMODE_TICKET, array('smtps', 'swiftmailer')))) { - $mainstmpid = (!empty($conf->global->MAIN_MAIL_SMTPS_ID_TICKET) ? $conf->global->MAIN_MAIL_SMTPS_ID_TICKET : ''); + $mainstmpid = (getDolGlobalString('MAIN_MAIL_SMTPS_ID_TICKET') ? $conf->global->MAIN_MAIL_SMTPS_ID_TICKET : ''); print '
'.$langs->trans("MAIN_MAIL_SMTPS_ID").''; // SuperAdministrator access only if (!isModEnabled('multicompany') || ($user->admin && !$user->entity)) { @@ -420,7 +420,7 @@ function change_smtp_auth_method() { // PW if (!empty($conf->use_javascript_ajax) || (isset($conf->global->MAIN_MAIL_SENDMODE_TICKET) && in_array($conf->global->MAIN_MAIL_SENDMODE_TICKET, array('smtps', 'swiftmailer')))) { - $mainsmtppw = (!empty($conf->global->MAIN_MAIL_SMTPS_PW_TICKET) ? $conf->global->MAIN_MAIL_SMTPS_PW_TICKET : ''); + $mainsmtppw = (getDolGlobalString('MAIN_MAIL_SMTPS_PW_TICKET') ? $conf->global->MAIN_MAIL_SMTPS_PW_TICKET : ''); print '
'.$langs->trans("MAIN_MAIL_SMTPS_PW").''; // SuperAdministrator access only if (!isModEnabled('multicompany') || ($user->admin && !$user->entity)) { @@ -437,16 +437,16 @@ function change_smtp_auth_method() { if (!empty($conf->use_javascript_ajax) || (isset($conf->global->MAIN_MAIL_SENDMODE_TICKET) && in_array($conf->global->MAIN_MAIL_SENDMODE_TICKET, array('smtps', 'swiftmailer')))) { print '
'.$langs->trans("MAIN_MAIL_SMTPS_OAUTH_SERVICE").''; // SuperAdministrator access only - if ((empty($conf->global->MAIN_MODULE_MULTICOMPANY)) || ($user->admin && !$user->entity)) { + if (!isModEnabled('multicompany') || ($user->admin && !$user->entity)) { print $form->selectarray('MAIN_MAIL_SMTPS_OAUTH_SERVICE_TICKET', $oauthservices, $conf->global->MAIN_MAIL_SMTPS_OAUTH_SERVICE_TICKET); } else { - $text = $oauthservices[$conf->global->MAIN_MAIL_SMTPS_OAUTH_SERVICE_TICKET]; + $text = $oauthservices[getDolGlobalString('MAIN_MAIL_SMTPS_OAUTH_SERVICE_TICKET')]; if (empty($text)) { $text = $langs->trans("Undefined"); } $htmltext = $langs->trans("ContactSuperAdminForChange"); print $form->textwithpicto($text, $htmltext, 1, 'superadmin'); - print ''; + print ''; } print '
'.$langs->trans("MAIN_MAIL_EMAIL_TLS").''; if (!empty($conf->use_javascript_ajax) || (isset($conf->global->MAIN_MAIL_SENDMODE_TICKET) && in_array($conf->global->MAIN_MAIL_SENDMODE_TICKET, array('smtps', 'swiftmailer')))) { if (function_exists('openssl_open')) { - print $form->selectyesno('MAIN_MAIL_EMAIL_TLS_TICKET', (!empty($conf->global->MAIN_MAIL_EMAIL_TLS_TICKET) ? $conf->global->MAIN_MAIL_EMAIL_TLS_TICKET : 0), 1); + print $form->selectyesno('MAIN_MAIL_EMAIL_TLS_TICKET', (getDolGlobalString('MAIN_MAIL_EMAIL_TLS_TICKET') ? $conf->global->MAIN_MAIL_EMAIL_TLS_TICKET : 0), 1); } else { print yn(0).' ('.$langs->trans("YourPHPDoesNotHaveSSLSupport").')'; } @@ -470,7 +470,7 @@ function change_smtp_auth_method() { print '
'.$langs->trans("MAIN_MAIL_EMAIL_STARTTLS").''; if (!empty($conf->use_javascript_ajax) || (isset($conf->global->MAIN_MAIL_SENDMODE_TICKET) && in_array($conf->global->MAIN_MAIL_SENDMODE_TICKET, array('smtps', 'swiftmailer')))) { if (function_exists('openssl_open')) { - print $form->selectyesno('MAIN_MAIL_EMAIL_STARTTLS_TICKET', (!empty($conf->global->MAIN_MAIL_EMAIL_STARTTLS_TICKET) ? $conf->global->MAIN_MAIL_EMAIL_STARTTLS_TICKET : 0), 1); + print $form->selectyesno('MAIN_MAIL_EMAIL_STARTTLS_TICKET', (getDolGlobalString('MAIN_MAIL_EMAIL_STARTTLS_TICKET') ? $conf->global->MAIN_MAIL_EMAIL_STARTTLS_TICKET : 0), 1); } else { print yn(0).' ('.$langs->trans("YourPHPDoesNotHaveSSLSupport").')'; } @@ -508,19 +508,19 @@ function change_smtp_auth_method() { } print '
'.$langs->trans("MAIN_MAIL_SMTP_SERVER_NotAvailableOnLinuxLike").''.$langs->trans("SeeLocalSendMailSetup").'
'.$langs->trans("MAIN_MAIL_SMTP_SERVER", ini_get('SMTP') ?ini_get('SMTP') : $langs->transnoentities("Undefined")).''.(!empty($conf->global->MAIN_MAIL_SMTP_SERVER_TICKET) ? $conf->global->MAIN_MAIL_SMTP_SERVER_TICKET : '').'
'.$langs->trans("MAIN_MAIL_SMTP_SERVER", ini_get('SMTP') ?ini_get('SMTP') : $langs->transnoentities("Undefined")).''.(getDolGlobalString('MAIN_MAIL_SMTP_SERVER_TICKET') ? $conf->global->MAIN_MAIL_SMTP_SERVER_TICKET : '').'
'.$langs->trans("MAIN_MAIL_SMTP_PORT_NotAvailableOnLinuxLike").''.$langs->trans("SeeLocalSendMailSetup").'
'.$langs->trans("MAIN_MAIL_SMTP_PORT", ini_get('smtp_port') ?ini_get('smtp_port') : $langs->transnoentities("Undefined")).''.(!empty($conf->global->MAIN_MAIL_SMTP_PORT_TICKET) ? $conf->global->MAIN_MAIL_SMTP_PORT_TICKET : '').'
'.$langs->trans("MAIN_MAIL_SMTP_PORT", ini_get('smtp_port') ?ini_get('smtp_port') : $langs->transnoentities("Undefined")).''.(getDolGlobalString('MAIN_MAIL_SMTP_PORT_TICKET') ? $conf->global->MAIN_MAIL_SMTP_PORT_TICKET : '').'
'.$langs->trans("MAIN_MAIL_SMTPS_ID").''.$conf->global->MAIN_MAIL_SMTPS_ID_TICKET.'
'.$langs->trans("MAIN_MAIL_SMTPS_ID").'' . getDolGlobalString('MAIN_MAIL_SMTPS_ID_TICKET').'
'.$langs->trans("DefaultMenuManager").''; -$formadmin->select_menu(empty($conf->global->MAIN_MENU_STANDARD_FORCED) ? $conf->global->MAIN_MENU_STANDARD : $conf->global->MAIN_MENU_STANDARD_FORCED, 'MAIN_MENU_STANDARD', $dirstandard, empty($conf->global->MAIN_MENU_STANDARD_FORCED) ? '' : ' disabled'); +$formadmin->select_menu(!getDolGlobalString('MAIN_MENU_STANDARD_FORCED') ? $conf->global->MAIN_MENU_STANDARD : $conf->global->MAIN_MENU_STANDARD_FORCED, 'MAIN_MENU_STANDARD', $dirstandard, !getDolGlobalString('MAIN_MENU_STANDARD_FORCED') ? '' : ' disabled'); print ''; -$formadmin->select_menu(empty($conf->global->MAIN_MENUFRONT_STANDARD_FORCED) ? $conf->global->MAIN_MENUFRONT_STANDARD : $conf->global->MAIN_MENUFRONT_STANDARD_FORCED, 'MAIN_MENUFRONT_STANDARD', $dirstandard, empty($conf->global->MAIN_MENUFRONT_STANDARD_FORCED) ? '' : ' disabled'); +$formadmin->select_menu(!getDolGlobalString('MAIN_MENUFRONT_STANDARD_FORCED') ? $conf->global->MAIN_MENUFRONT_STANDARD : $conf->global->MAIN_MENUFRONT_STANDARD_FORCED, 'MAIN_MENUFRONT_STANDARD', $dirstandard, !getDolGlobalString('MAIN_MENUFRONT_STANDARD_FORCED') ? '' : ' disabled'); print '
'.$langs->trans("DefaultMenuSmartphoneManager").''; -$formadmin->select_menu(empty($conf->global->MAIN_MENU_SMARTPHONE_FORCED) ? $conf->global->MAIN_MENU_SMARTPHONE : $conf->global->MAIN_MENU_SMARTPHONE_FORCED, 'MAIN_MENU_SMARTPHONE', array_merge($dirstandard, $dirsmartphone), empty($conf->global->MAIN_MENU_SMARTPHONE_FORCED) ? '' : ' disabled'); +$formadmin->select_menu(!getDolGlobalString('MAIN_MENU_SMARTPHONE_FORCED') ? $conf->global->MAIN_MENU_SMARTPHONE : $conf->global->MAIN_MENU_SMARTPHONE_FORCED, 'MAIN_MENU_SMARTPHONE', array_merge($dirstandard, $dirsmartphone), !getDolGlobalString('MAIN_MENU_SMARTPHONE_FORCED') ? '' : ' disabled'); -if (!empty($conf->global->MAIN_MENU_SMARTPHONE_FORCED) && preg_match('/smartphone/', $conf->global->MAIN_MENU_SMARTPHONE_FORCED) - || (empty($conf->global->MAIN_MENU_SMARTPHONE_FORCED) && !empty($conf->global->MAIN_MENU_SMARTPHONE) && preg_match('/smartphone/', $conf->global->MAIN_MENU_SMARTPHONE))) { +if (getDolGlobalString('MAIN_MENU_SMARTPHONE_FORCED') && preg_match('/smartphone/', $conf->global->MAIN_MENU_SMARTPHONE_FORCED) + || (!getDolGlobalString('MAIN_MENU_SMARTPHONE_FORCED') && getDolGlobalString('MAIN_MENU_SMARTPHONE') && preg_match('/smartphone/', $conf->global->MAIN_MENU_SMARTPHONE))) { print ' '.img_warning($langs->transnoentitiesnoconv("ThisForceAlsoTheme")); } print ''; -$formadmin->select_menu(empty($conf->global->MAIN_MENUFRONT_SMARTPHONE_FORCED) ? $conf->global->MAIN_MENUFRONT_SMARTPHONE : $conf->global->MAIN_MENUFRONT_SMARTPHONE_FORCED, 'MAIN_MENUFRONT_SMARTPHONE', array_merge($dirstandard, $dirsmartphone), empty($conf->global->MAIN_MENUFRONT_SMARTPHONE_FORCED) ? '' : ' disabled'); +$formadmin->select_menu(!getDolGlobalString('MAIN_MENUFRONT_SMARTPHONE_FORCED') ? $conf->global->MAIN_MENUFRONT_SMARTPHONE : $conf->global->MAIN_MENUFRONT_SMARTPHONE_FORCED, 'MAIN_MENUFRONT_SMARTPHONE', array_merge($dirstandard, $dirsmartphone), !getDolGlobalString('MAIN_MENUFRONT_SMARTPHONE_FORCED') ? '' : ' disabled'); -if (!empty($conf->global->MAIN_MENU_SMARTPHONE_FORCED) && preg_match('/smartphone/', $conf->global->MAIN_MENUFRONT_SMARTPHONE_FORCED) - || (empty($conf->global->MAIN_MENUFRONT_SMARTPHONE_FORCED) && !empty($conf->global->MAIN_MENU_SMARTPHONE) && preg_match('/smartphone/', $conf->global->MAIN_MENUFRONT_SMARTPHONE))) { +if (getDolGlobalString('MAIN_MENU_SMARTPHONE_FORCED') && preg_match('/smartphone/', $conf->global->MAIN_MENUFRONT_SMARTPHONE_FORCED) + || (!getDolGlobalString('MAIN_MENUFRONT_SMARTPHONE_FORCED') && getDolGlobalString('MAIN_MENU_SMARTPHONE') && preg_match('/smartphone/', $conf->global->MAIN_MENUFRONT_SMARTPHONE))) { print ' '.img_warning($langs->transnoentitiesnoconv("ThisForceAlsoTheme")); } diff --git a/htdocs/admin/modulehelp.php b/htdocs/admin/modulehelp.php index 94d33d6059c8e..d8b67d8ef63cd 100644 --- a/htdocs/admin/modulehelp.php +++ b/htdocs/admin/modulehelp.php @@ -46,7 +46,7 @@ $mode = 'desc'; } -if (!$user->admin) { +if (empty($user->admin)) { accessforbidden(); } @@ -127,13 +127,13 @@ // We discard modules according to features level (PS: if module is activated we always show it) $const_name = 'MAIN_MODULE_'.strtoupper(preg_replace('/^mod/i', '', get_class($objMod))); - if ($objMod->version == 'development' && (empty($conf->global->$const_name) && (getDolGlobalInt('MAIN_FEATURES_LEVEL') < 2))) { + if ($objMod->version == 'development' && (!getDolGlobalString($const_name) && (getDolGlobalInt('MAIN_FEATURES_LEVEL') < 2))) { $modulequalified = 0; } - if ($objMod->version == 'experimental' && (empty($conf->global->$const_name) && (getDolGlobalInt('MAIN_FEATURES_LEVEL') < 1))) { + if ($objMod->version == 'experimental' && (!getDolGlobalString($const_name) && (getDolGlobalInt('MAIN_FEATURES_LEVEL') < 1))) { $modulequalified = 0; } - if (preg_match('/deprecated/', $objMod->version) && (empty($conf->global->$const_name) && ($conf->global->MAIN_FEATURES_LEVEL >= 0))) { + if (preg_match('/deprecated/', $objMod->version) && (!getDolGlobalString($const_name) && (getDolGlobalInt('MAIN_FEATURES_LEVEL') >= 0))) { $modulequalified = 0; } @@ -250,7 +250,7 @@ $const_name = 'MAIN_MODULE_'.strtoupper(preg_replace('/^mod/i', '', get_class($objMod))); $text = ''.$langs->trans("LastActivationDate").': '; -if (!empty($conf->global->$const_name)) { +if (getDolGlobalString($const_name)) { $text .= dol_print_date($objMod->getLastActivationDate(), 'dayhour'); } else { $text .= $langs->trans("Disabled"); @@ -261,7 +261,7 @@ $tmpuser = new User($db); $tmpuser->fetch($authorid); $text .= '
'.$langs->trans("LastActivationAuthor").': '; - $text .= $tmpuser->getNomUrl(1); + $text .= $tmpuser->getNomUrl(-1); } $ip = (empty($tmp['ip']) ? '' : $tmp['ip']); if ($ip) { @@ -329,10 +329,12 @@ $text .= '
'.$moduledesc.'


'; } - $text .= ''.$langs->trans("Version").': '.$version; - $moduledescriptorfile = get_class($objMod).'.class.php'; - $text .= '
'.$langs->trans("DescriptorFile").': '.$moduledescriptorfile; + $text .= ''.$langs->trans("DescriptorFile").': '.$moduledescriptorfile; + + $text .= '
'.$langs->trans("IdModule").': '.$objMod->numero; + + $text .= '
'.$langs->trans("Version").': '.$version; $textexternal = ''; if ($objMod->isCoreOrExternalModule() == 'external') { diff --git a/htdocs/admin/modules.php b/htdocs/admin/modules.php index af7327dcf68e4..168e6367fcc9c 100644 --- a/htdocs/admin/modules.php +++ b/htdocs/admin/modules.php @@ -50,7 +50,7 @@ if ($mode =='common' || $mode =='commonkanban') dolibarr_set_const($db, "MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT", $mode, 'chaine', 0, '', $conf->entity); } else { - $mode = (empty($conf->global->MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT) ? 'commonkanban' : $conf->global->MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT); + $mode = (!getDolGlobalString('MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT') ? 'commonkanban' : $conf->global->MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT); } $action = GETPOST('action', 'aZ09'); @@ -114,7 +114,7 @@ $hookmanager->initHooks(array('adminmodules', 'globaladmin')); // Execution Time -$max_execution_time_for_deploy = (empty($conf->global->MODULE_UPLOAD_MAX_EXECUTION_TIME) ? 300 : $conf->global->MODULE_UPLOAD_MAX_EXECUTION_TIME); // 5mn if not defined +$max_execution_time_for_deploy = (!getDolGlobalString('MODULE_UPLOAD_MAX_EXECUTION_TIME') ? 300 : $conf->global->MODULE_UPLOAD_MAX_EXECUTION_TIME); // 5mn if not defined $max_time = @ini_get("max_execution_time"); if ($max_time && $max_time < $max_execution_time_for_deploy) { dol_syslog("max_execution_time=".$max_time." is lower than max_execution_time_for_deploy=".$max_execution_time_for_deploy.". We try to increase it dynamically."); @@ -404,13 +404,13 @@ // We discard modules according to features level (PS: if module is activated we always show it) $const_name = 'MAIN_MODULE_'.strtoupper(preg_replace('/^mod/i', '', get_class($objMod))); - if ($objMod->version == 'development' && (empty($conf->global->$const_name) && (getDolGlobalInt('MAIN_FEATURES_LEVEL') < 2))) { + if ($objMod->version == 'development' && (!getDolGlobalString($const_name) && (getDolGlobalInt('MAIN_FEATURES_LEVEL') < 2))) { $modulequalified = 0; } - if ($objMod->version == 'experimental' && (empty($conf->global->$const_name) && (getDolGlobalInt('MAIN_FEATURES_LEVEL') < 1))) { + if ($objMod->version == 'experimental' && (!getDolGlobalString($const_name) && (getDolGlobalInt('MAIN_FEATURES_LEVEL') < 1))) { $modulequalified = 0; } - if (preg_match('/deprecated/', $objMod->version) && (empty($conf->global->$const_name) && ($conf->global->MAIN_FEATURES_LEVEL >= 0))) { + if (preg_match('/deprecated/', $objMod->version) && (!getDolGlobalString($const_name) && (getDolGlobalInt('MAIN_FEATURES_LEVEL') >= 0))) { $modulequalified = 0; } @@ -550,7 +550,7 @@ if ($nbmodulesnotautoenabled <= getDolGlobalInt('MAIN_MIN_NB_ENABLED_MODULE_FOR_WARNING', 1)) { // If only minimal initial modules enabled $deschelp .= '
'.$desc."
\n"; } - if (!empty($conf->global->MAIN_SETUP_MODULES_INFO)) { // Show a custom message + if (getDolGlobalString('MAIN_SETUP_MODULES_INFO')) { // Show a custom message $deschelp .= '
'.$langs->trans($conf->global->MAIN_SETUP_MODULES_INFO)."
\n"; } if ($deschelp) { @@ -718,10 +718,10 @@ } } if ($search_status) { - if ($search_status == 'active' && empty($conf->global->$const_name)) { + if ($search_status == 'active' && !getDolGlobalString($const_name)) { continue; } - if ($search_status == 'disabled' && !empty($conf->global->$const_name)) { + if ($search_status == 'disabled' && getDolGlobalString($const_name)) { continue; } } @@ -818,7 +818,7 @@ $action == 'checklastversion' // This is a bad practice to activate a check on an external access during the building of the admin page. 1 external module can hang the application. // Adding a cron job could be a good idea: see DolibarrModules::checkForUpdate() - || !empty($conf->global->CHECKLASTVERSION_EXTERNALMODULE) + || getDolGlobalString('CHECKLASTVERSION_EXTERNALMODULE') ) ) { $checkRes = $objMod->checkForUpdate(); @@ -986,7 +986,7 @@ print $objMod->getKanbanView($codeenabledisable, $codetoconfig); } else { print '
'.$linenum.''; //print $form->textwithpicto('', $text, 1, $imginfo, 'minheight20', 0, 2, 1); - print ''.img_picto(($objMod->isCoreOrExternalModule() == 'external' ? $langs->trans("ExternalModule").' - ' : '').$langs->trans("ClickToShowDescription"), $imginfo).''; + print ''.img_picto(($objMod->isCoreOrExternalModule() == 'external' ? $langs->trans("ExternalModule").' - ' : '').$langs->trans("ClickToShowDescription"), $imginfo).''; print '
- trans("Upload")).'" class="button">'; - if (!empty($conf->global->MAIN_UPLOAD_DOC)) { + if (getDolGlobalString('MAIN_UPLOAD_DOC')) { if ($user->admin) { $langs->load('other'); print ' '; diff --git a/htdocs/admin/mrp.php b/htdocs/admin/mrp.php index 67f48a6d07589..29cb721530184 100644 --- a/htdocs/admin/mrp.php +++ b/htdocs/admin/mrp.php @@ -446,7 +446,7 @@ print ''; print $form->textwithpicto($langs->trans("FreeLegalTextOnMOs"), $langs->trans("AddCRIfTooLong").'

'.$htmltext, 1, 'help', '', 0, 2, 'freetexttooltip').'
'; $variablename = 'MRP_MO_FREE_TEXT'; -if (empty($conf->global->PDF_ALLOW_HTML_FOR_FREE_TEXT)) { +if (!getDolGlobalString('PDF_ALLOW_HTML_FOR_FREE_TEXT')) { print ''; } else { include_once DOL_DOCUMENT_ROOT.'/core/class/doleditor.class.php'; diff --git a/htdocs/admin/mrp_production_extrafields.php b/htdocs/admin/mrp_production_extrafields.php new file mode 100644 index 0000000000000..a3ccf2b4d2cba --- /dev/null +++ b/htdocs/admin/mrp_production_extrafields.php @@ -0,0 +1,113 @@ + + * Copyright (C) 2003 Jean-Louis Bergamo + * Copyright (C) 2004-2011 Laurent Destailleur + * Copyright (C) 2012 Regis Houssin + * Copyright (C) 2014 Florian Henry + * Copyright (C) 2015 Jean-François Ferry + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +/** + * \file htdocs/admin/mrp_production_extrafields.php + * \ingroup mrp + * \brief Page to setup extra fields of MOs lines + */ + +// Load Dolibarr environment +require '../main.inc.php'; +require_once DOL_DOCUMENT_ROOT.'/mrp/lib/mrp.lib.php'; +require_once DOL_DOCUMENT_ROOT.'/core/class/extrafields.class.php'; + +// Load translation files required by the page +$langs->loadLangs(array('mrp', 'admin')); + +$extrafields = new ExtraFields($db); +$form = new Form($db); + +// List of supported format +$tmptype2label = ExtraFields::$type2label; +$type2label = array(''); +foreach ($tmptype2label as $key => $val) { + $type2label[$key] = $langs->transnoentitiesnoconv($val); +} + +$action = GETPOST('action', 'aZ09'); +$attrname = GETPOST('attrname', 'alpha'); +$elementtype = 'mrp_production'; + +if (!$user->admin) { + accessforbidden(); +} + + +/* + * Actions + */ + +require DOL_DOCUMENT_ROOT.'/core/actions_extrafields.inc.php'; + + + +/* + * View + */ + +$help_url = ''; +llxHeader('', $langs->trans("MrpSetupPage"), $help_url); + + +$linkback = ''.$langs->trans("BackToModuleList").''; +print load_fiche_titre($langs->trans("MrpSetupPage"), $linkback, 'title_setup'); + + +$head = mrpAdminPrepareHead(); + +print dol_get_fiche_head($head, 'mrp_production_extrafields', $langs->trans("ExtraFields"), -1, 'account'); + +require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_view.tpl.php'; + +print dol_get_fiche_end(); + +// Buttons +if ($action != 'create' && $action != 'edit') { + print '"; +} + +/* + * Creation of an optional field + */ +if ($action == 'create') { + print '
'; + print load_fiche_titre($langs->trans('NewAttribute')); + + require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_add.tpl.php'; +} + +/* + * Edition of an optional field + */ +if ($action == 'edit' && !empty($attrname)) { + print "
"; + print load_fiche_titre($langs->trans("FieldEdition", $attrname)); + + require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_edit.tpl.php'; +} + +// End of page +llxFooter(); +$db->close(); diff --git a/htdocs/admin/multicurrency.php b/htdocs/admin/multicurrency.php index c72ea2cea248e..5afd1ce8c85a0 100644 --- a/htdocs/admin/multicurrency.php +++ b/htdocs/admin/multicurrency.php @@ -215,7 +215,7 @@ print ''; // Online payment with currency on document. This option should be on by default. -if ($conf->global->MAIN_FEATURES_LEVEL >= 2) { +if (getDolGlobalInt('MAIN_FEATURES_LEVEL') >= 2) { print ''; print ''.$langs->transnoentitiesnoconv("MULTICURRENCY_USE_CURRENCY_ON_DOCUMENT").''; print ''; @@ -260,51 +260,6 @@ print ''; print '
'; -print '
'; - -if (!empty($conf->global->MAIN_MULTICURRENCY_ALLOW_SYNCHRONIZATION)) { - print ''; - print ''; - print ''; - - print '
'; - print ''; - - $urlforapilayer = 'https://currencylayer.com'; //https://apilayer.net - - print ''; - print ''."\n"; - print ''; - - print ''; - print ''; - print ''; - - print ''; - print ''; - print ''; - - /*print ''; - print ''; - print '';*/ - - print '
'.$form->textwithpicto($langs->trans("CurrencyLayerAccount"), $langs->trans("CurrencyLayerAccount_help_to_synchronize", $urlforapilayer)).''; - print ''; - print ''; - print ''; - print '
'.$langs->transnoentitiesnoconv("multicurrency_appId").''; - print ' '; - print '
'.$langs->transnoentitiesnoconv("multicurrency_appCurrencySource").''; - print ' '; // Default: USD - print ''; - print '
'.$langs->transnoentitiesnoconv("multicurrency_alternateCurrencySource").''; - print ' '; // Example: EUR - print '
'; - print '
'; - print '
'; - - print ''; -} print '
'; print ''; @@ -377,6 +332,53 @@ function getRates() '; + +print '
'; + +if (!getDolGlobalString('MULTICURRENCY_DISABLE_SYNC_CURRENCYLAYER')) { + print ''; + print ''; + print ''; + + print '
'; + print '
'; + + $urlforapilayer = 'https://currencylayer.com'; //https://apilayer.net + + print ''; + print ''."\n"; + print ''; + + print ''; + print ''; + print ''; + + print ''; + print ''; + print ''; + + /*print ''; + print ''; + print '';*/ + + print '
'.$form->textwithpicto($langs->trans("CurrencyLayerAccount"), $langs->trans("CurrencyLayerAccount_help_to_synchronize", $urlforapilayer)).''; + print ''; + print ''; + print ''; + print '
'.$langs->transnoentitiesnoconv("multicurrency_appId").''; + print ' '; + print '
'.$langs->transnoentitiesnoconv("multicurrency_appCurrencySource").''; + print ' '; // Default: USD + print '
'.$langs->transnoentitiesnoconv("multicurrency_alternateCurrencySource").''; + print ' '; // Example: EUR + print '
'; + print '
'; + print '
'; + + print ''; +} + + // End of page llxFooter(); $db->close(); diff --git a/htdocs/admin/notification.php b/htdocs/admin/notification.php index 965a1c8a11740..dbac2e64117db 100644 --- a/htdocs/admin/notification.php +++ b/htdocs/admin/notification.php @@ -201,7 +201,7 @@ print ''; print img_picto('', 'email', 'class="pictofixedwidth"'); print ''; -if (!empty($conf->global->NOTIFICATION_EMAIL_FROM) && !isValidEmail($conf->global->NOTIFICATION_EMAIL_FROM)) { +if (getDolGlobalString('NOTIFICATION_EMAIL_FROM') && !isValidEmail($conf->global->NOTIFICATION_EMAIL_FROM)) { print ' '.img_warning($langs->trans("ErrorBadEMail")); } print ''; diff --git a/htdocs/admin/openinghours.php b/htdocs/admin/openinghours.php index c31e2162156e9..4f791b8bbde04 100644 --- a/htdocs/admin/openinghours.php +++ b/htdocs/admin/openinghours.php @@ -98,37 +98,37 @@ print ''; print $form->textwithpicto($langs->trans("Monday"), $langs->trans("OpeningHoursFormatDesc")); print ''; - print 'global->MAIN_INFO_OPENINGHOURS_MONDAY) ? ' autofocus="autofocus"' : '').'>'."\n"; + print ''."\n"; print ''; print $form->textwithpicto($langs->trans("Tuesday"), $langs->trans("OpeningHoursFormatDesc")); print ''; - print ''."\n"; + print ''."\n"; print ''; print $form->textwithpicto($langs->trans("Wednesday"), $langs->trans("OpeningHoursFormatDesc")); print ''; - print ''."\n"; + print ''."\n"; print ''; print $form->textwithpicto($langs->trans("Thursday"), $langs->trans("OpeningHoursFormatDesc")); print ''; - print ''."\n"; + print ''."\n"; print ''; print $form->textwithpicto($langs->trans("Friday"), $langs->trans("OpeningHoursFormatDesc")); print ''; - print ''."\n"; + print ''."\n"; print ''; print $form->textwithpicto($langs->trans("Saturday"), $langs->trans("OpeningHoursFormatDesc")); print ''; - print ''."\n"; + print ''."\n"; print ''; print $form->textwithpicto($langs->trans("Sunday"), $langs->trans("OpeningHoursFormatDesc")); print ''; - print ''."\n"; + print ''."\n"; print ''; diff --git a/htdocs/admin/payment.php b/htdocs/admin/payment.php index 42b33307dd135..368fa77ea5410 100644 --- a/htdocs/admin/payment.php +++ b/htdocs/admin/payment.php @@ -41,7 +41,7 @@ $scandir = GETPOST('scan_dir', 'alpha'); $type = 'invoice'; -if (empty($conf->global->PAYMENT_ADDON)) { +if (!getDolGlobalString('PAYMENT_ADDON')) { $conf->global->PAYMENT_ADDON = 'mod_payment_cicada.php'; } @@ -187,7 +187,7 @@ print ''; //print "> ".$conf->global->PAYMENT_ADDON." - ".$file; - if ($conf->global->PAYMENT_ADDON == $file || $conf->global->PAYMENT_ADDON.'.php' == $file) { + if ($conf->global->PAYMENT_ADDON == $file || getDolGlobalString('PAYMENT_ADDON') . '.php' == $file) { print img_picto($langs->trans("Activated"), 'switch_on'); } else { print ''.img_picto($langs->trans("Disabled"), 'switch_off').''; @@ -216,7 +216,7 @@ print ''; print $form->textwithpicto('', $htmltooltip, 1, 0); - if ($conf->global->PAYMENT_ADDON.'.php' == $file) { // If module is the one used, we show existing errors + if (getDolGlobalString('PAYMENT_ADDON') . '.php' == $file) { // If module is the one used, we show existing errors if (!empty($module->error)) { dol_htmloutput_mesg($module->error, '', 'error', 1); } diff --git a/htdocs/admin/paymentbybanktransfer.php b/htdocs/admin/paymentbybanktransfer.php index 7893b271d060f..e5fe6cc018c83 100644 --- a/htdocs/admin/paymentbybanktransfer.php +++ b/htdocs/admin/paymentbybanktransfer.php @@ -198,7 +198,7 @@ if (!$conf->global->PAYMENTBYBANKTRANSFER_ADDDAYS) { $conf->global->PAYMENTBYBANKTRANSFER_ADDDAYS = 0; } -print ''; +print ''; print ''; print ''; @@ -379,7 +379,7 @@ */ /* Disable this, there is no trigger with elementtype 'withdraw' -if (!empty($conf->global->MAIN_MODULE_NOTIFICATION)) +if (isModEnabled('notification')) { $langs->load("mails"); print load_fiche_titre($langs->trans("Notifications")); diff --git a/htdocs/admin/pdf.php b/htdocs/admin/pdf.php index f1eb8ed1e15fe..d999b91d32f2b 100644 --- a/htdocs/admin/pdf.php +++ b/htdocs/admin/pdf.php @@ -132,6 +132,10 @@ dolibarr_set_const($db, "MAIN_GENERATE_DOCUMENTS_HIDE_REF", GETPOST("MAIN_GENERATE_DOCUMENTS_HIDE_REF"), 'chaine', 0, '', $conf->entity); } + if (GETPOSTISSET('MAIN_GENERATE_DOCUMENTS_SHOW_PRODUCT_BARCODE')) { + dolibarr_set_const($db, "MAIN_GENERATE_DOCUMENTS_SHOW_PRODUCT_BARCODE", GETPOST("MAIN_GENERATE_DOCUMENTS_SHOW_PRODUCT_BARCODE"), 'chaine', 0, '', $conf->entity); + } + if (GETPOSTISSET('MAIN_DOCUMENTS_LOGO_HEIGHT')) { dolibarr_set_const($db, "MAIN_DOCUMENTS_LOGO_HEIGHT", GETPOST("MAIN_DOCUMENTS_LOGO_HEIGHT", 'int'), 'chaine', 0, '', $conf->entity); } @@ -343,7 +347,7 @@ if ($conf->use_javascript_ajax) { print ajax_constantonoff('MAIN_TVAINTRA_NOT_IN_ADDRESS'); } else { - print $form->selectyesno('MAIN_TVAINTRA_NOT_IN_ADDRESS', (!empty($conf->global->MAIN_TVAINTRA_NOT_IN_ADDRESS)) ? $conf->global->MAIN_TVAINTRA_NOT_IN_ADDRESS : 0, 1); + print $form->selectyesno('MAIN_TVAINTRA_NOT_IN_ADDRESS', (getDolGlobalString('MAIN_TVAINTRA_NOT_IN_ADDRESS')) ? $conf->global->MAIN_TVAINTRA_NOT_IN_ADDRESS : 0, 1); } print ''; @@ -395,7 +399,7 @@ if ($conf->use_javascript_ajax) { print ajax_constantonoff('MAIN_INVERT_SENDER_RECIPIENT'); } else { - print $form->selectyesno('MAIN_INVERT_SENDER_RECIPIENT', (!empty($conf->global->MAIN_INVERT_SENDER_RECIPIENT)) ? $conf->global->MAIN_INVERT_SENDER_RECIPIENT : 0, 1); + print $form->selectyesno('MAIN_INVERT_SENDER_RECIPIENT', (getDolGlobalString('MAIN_INVERT_SENDER_RECIPIENT')) ? $conf->global->MAIN_INVERT_SENDER_RECIPIENT : 0, 1); } print ''; @@ -405,7 +409,7 @@ if ($conf->use_javascript_ajax) { print ajax_constantonoff('MAIN_PDF_USE_ISO_LOCATION'); } else { - print $form->selectyesno('MAIN_PDF_USE_ISO_LOCATION', (!empty($conf->global->MAIN_PDF_USE_ISO_LOCATION)) ? $conf->global->MAIN_PDF_USE_ISO_LOCATION : 0, 1); + print $form->selectyesno('MAIN_PDF_USE_ISO_LOCATION', (getDolGlobalString('MAIN_PDF_USE_ISO_LOCATION')) ? $conf->global->MAIN_PDF_USE_ISO_LOCATION : 0, 1); } print ''; @@ -433,7 +437,7 @@ if ($conf->use_javascript_ajax) { $text .= ajax_constantonoff('MAIN_PDF_MAIN_HIDE_SECOND_TAX'); } else { - $text .= $form->selectyesno('MAIN_PDF_MAIN_HIDE_SECOND_TAX', (!empty($conf->global->MAIN_PDF_MAIN_HIDE_SECOND_TAX)) ? $conf->global->MAIN_PDF_MAIN_HIDE_SECOND_TAX : 0, 1); + $text .= $form->selectyesno('MAIN_PDF_MAIN_HIDE_SECOND_TAX', (getDolGlobalString('MAIN_PDF_MAIN_HIDE_SECOND_TAX')) ? $conf->global->MAIN_PDF_MAIN_HIDE_SECOND_TAX : 0, 1); } $text .= ''; } @@ -445,7 +449,7 @@ if ($conf->use_javascript_ajax) { $text .= ajax_constantonoff('MAIN_PDF_MAIN_HIDE_THIRD_TAX'); } else { - $text .= $form->selectyesno('MAIN_PDF_MAIN_HIDE_THIRD_TAX', (!empty($conf->global->MAIN_PDF_MAIN_HIDE_THIRD_TAX)) ? $conf->global->MAIN_PDF_MAIN_HIDE_THIRD_TAX : 0, 1); + $text .= $form->selectyesno('MAIN_PDF_MAIN_HIDE_THIRD_TAX', (getDolGlobalString('MAIN_PDF_MAIN_HIDE_THIRD_TAX')) ? $conf->global->MAIN_PDF_MAIN_HIDE_THIRD_TAX : 0, 1); } $text .= ''; } @@ -468,7 +472,7 @@ if ($conf->use_javascript_ajax) { print ajax_constantonoff('MAIN_GENERATE_DOCUMENTS_WITHOUT_VAT'); } else { - print $form->selectyesno('MAIN_GENERATE_DOCUMENTS_WITHOUT_VAT', (!empty($conf->global->MAIN_GENERATE_DOCUMENTS_WITHOUT_VAT)) ? $conf->global->MAIN_GENERATE_DOCUMENTS_WITHOUT_VAT : 0, 1); + print $form->selectyesno('MAIN_GENERATE_DOCUMENTS_WITHOUT_VAT', (getDolGlobalString('MAIN_GENERATE_DOCUMENTS_WITHOUT_VAT')) ? $conf->global->MAIN_GENERATE_DOCUMENTS_WITHOUT_VAT : 0, 1); } print ''; @@ -492,20 +496,20 @@ print ''; print $form->textwithpicto($langs->trans("PDFIn2Languages"), $langs->trans("PDF_USE_ALSO_LANGUAGE_CODE")); print ''; -$selected = GETPOSTISSET('PDF_USE_ALSO_LANGUAGE_CODE') ? GETPOST('PDF_USE_ALSO_LANGUAGE_CODE') : (!empty($conf->global->PDF_USE_ALSO_LANGUAGE_CODE) ? $conf->global->PDF_USE_ALSO_LANGUAGE_CODE : 0); +$selected = GETPOSTISSET('PDF_USE_ALSO_LANGUAGE_CODE') ? GETPOST('PDF_USE_ALSO_LANGUAGE_CODE') : (getDolGlobalString('PDF_USE_ALSO_LANGUAGE_CODE') ? $conf->global->PDF_USE_ALSO_LANGUAGE_CODE : 0); print $formadmin->select_language($selected, 'PDF_USE_ALSO_LANGUAGE_CODE', 0, null, 1); print ''; // Height of logo print ''.$langs->trans("MAIN_DOCUMENTS_LOGO_HEIGHT").''; -print ''; +print ''; print ''; // Show project if (isModEnabled('project')) { print ''.$langs->trans("PDF_SHOW_PROJECT").''; $tmparray = array('no' => 'No', 'showprojectref' => 'RefProject', 'showprojectlabel' => 'ShowProjectLabel'); - $showprojectref = empty($conf->global->PDF_SHOW_PROJECT) ? (empty($conf->global->PDF_SHOW_PROJECT_TITLE) ? 'no' : 'showprojectlabel') : 'showprojectref'; + $showprojectref = !getDolGlobalString('PDF_SHOW_PROJECT') ? (!getDolGlobalString('PDF_SHOW_PROJECT_TITLE') ? 'no' : 'showprojectlabel') : 'showprojectref'; print $form->selectarray('PDF_SHOW_PROJECT_REF_OR_LABEL', $tmparray, $showprojectref, 0, 0, 0, '', 1); print ''; } @@ -528,17 +532,29 @@ if ($conf->use_javascript_ajax) { print ajax_constantonoff('MAIN_GENERATE_DOCUMENTS_HIDE_REF'); } else { - print $form->selectyesno('MAIN_GENERATE_DOCUMENTS_HIDE_REF', (!empty($conf->global->MAIN_GENERATE_DOCUMENTS_HIDE_REF)) ? $conf->global->MAIN_GENERATE_DOCUMENTS_HIDE_REF : 0, 1); + print $form->selectyesno('MAIN_GENERATE_DOCUMENTS_HIDE_REF', (getDolGlobalString('MAIN_GENERATE_DOCUMENTS_HIDE_REF')) ? $conf->global->MAIN_GENERATE_DOCUMENTS_HIDE_REF : 0, 1); } print ''; +// Barcode + +if (isModEnabled('barcode')) { + print ''.$langs->trans("ShowProductBarcodeOnPDF").''; + if ($conf->use_javascript_ajax) { + print ajax_constantonoff('MAIN_GENERATE_DOCUMENTS_SHOW_PRODUCT_BARCODE'); + } else { + print $form->selectyesno('MAIN_GENERATE_DOCUMENTS_SHOW_PRODUCT_BARCODE', (!empty($conf->global->MAIN_GENERATE_DOCUMENTS_SHOW_PRODUCT_BARCODE)) ? $conf->global->MAIN_GENERATE_DOCUMENTS_SHOW_PRODUCT_BARCODE : 0, 1); + } + print ''; +} + // Desc print ''.$langs->trans("HideDescOnPDF").''; if ($conf->use_javascript_ajax) { print ajax_constantonoff('MAIN_GENERATE_DOCUMENTS_HIDE_DESC'); } else { - print $form->selectyesno('MAIN_GENERATE_DOCUMENTS_HIDE_DESC', (!empty($conf->global->MAIN_GENERATE_DOCUMENTS_HIDE_DESC)) ? $conf->global->MAIN_GENERATE_DOCUMENTS_HIDE_DESC : 0, 1); + print $form->selectyesno('MAIN_GENERATE_DOCUMENTS_HIDE_DESC', (getDolGlobalString('MAIN_GENERATE_DOCUMENTS_HIDE_DESC')) ? $conf->global->MAIN_GENERATE_DOCUMENTS_HIDE_DESC : 0, 1); } print ''; @@ -548,7 +564,7 @@ if ($conf->use_javascript_ajax) { print ajax_constantonoff('MAIN_GENERATE_DOCUMENTS_HIDE_DETAILS'); } else { - print $form->selectyesno('MAIN_GENERATE_DOCUMENTS_HIDE_DETAILS', (!empty($conf->global->MAIN_GENERATE_DOCUMENTS_HIDE_DETAILS)) ? $conf->global->MAIN_GENERATE_DOCUMENTS_HIDE_DETAILS : 0, 1); + print $form->selectyesno('MAIN_GENERATE_DOCUMENTS_HIDE_DETAILS', (getDolGlobalString('MAIN_GENERATE_DOCUMENTS_HIDE_DETAILS')) ? $conf->global->MAIN_GENERATE_DOCUMENTS_HIDE_DETAILS : 0, 1); } print ''; @@ -558,7 +574,7 @@ if ($conf->use_javascript_ajax) { print ajax_constantonoff('PDF_BOLD_PRODUCT_LABEL'); } else { - print $form->selectyesno('PDF_BOLD_PRODUCT_LABEL', (!empty($conf->global->PDF_BOLD_PRODUCT_LABEL)) ? $conf->global->PDF_BOLD_PRODUCT_LABEL : 0, 1); + print $form->selectyesno('PDF_BOLD_PRODUCT_LABEL', (getDolGlobalString('PDF_BOLD_PRODUCT_LABEL')) ? $conf->global->PDF_BOLD_PRODUCT_LABEL : 0, 1); } print ''; @@ -568,7 +584,7 @@ if ($conf->use_javascript_ajax) { print ajax_constantonoff('PDF_BOLD_PRODUCT_REF_AND_PERIOD'); } else { - print $form->selectyesno('PDF_BOLD_PRODUCT_REF_AND_PERIOD', (!empty($conf->global->PDF_BOLD_PRODUCT_REF_AND_PERIOD)) ? $conf->global->PDF_BOLD_PRODUCT_REF_AND_PERIOD : 0, 1); + print $form->selectyesno('PDF_BOLD_PRODUCT_REF_AND_PERIOD', (getDolGlobalString('PDF_BOLD_PRODUCT_REF_AND_PERIOD')) ? $conf->global->PDF_BOLD_PRODUCT_REF_AND_PERIOD : 0, 1); } print ''; @@ -578,14 +594,14 @@ if ($conf->use_javascript_ajax) { print ajax_constantonoff('SHOW_SUBPRODUCT_REF_IN_PDF'); } else { - print $form->selectyesno('SHOW_SUBPRODUCT_REF_IN_PDF', (!empty($conf->global->SHOW_SUBPRODUCT_REF_IN_PDF)) ? $conf->global->SHOW_SUBPRODUCT_REF_IN_PDF : 0, 1); + print $form->selectyesno('SHOW_SUBPRODUCT_REF_IN_PDF', (getDolGlobalString('SHOW_SUBPRODUCT_REF_IN_PDF')) ? $conf->global->SHOW_SUBPRODUCT_REF_IN_PDF : 0, 1); } print ''; // Show more details in footer print ''.$langs->trans("ShowDetailsInPDFPageFoot").''; -print $form->selectarray('MAIN_GENERATE_DOCUMENTS_SHOW_FOOT_DETAILS', $arraydetailsforpdffoot, (!empty($conf->global->MAIN_GENERATE_DOCUMENTS_SHOW_FOOT_DETAILS) ? $conf->global->MAIN_GENERATE_DOCUMENTS_SHOW_FOOT_DETAILS : 0)); +print $form->selectarray('MAIN_GENERATE_DOCUMENTS_SHOW_FOOT_DETAILS', $arraydetailsforpdffoot, (getDolGlobalString('MAIN_GENERATE_DOCUMENTS_SHOW_FOOT_DETAILS') ? $conf->global->MAIN_GENERATE_DOCUMENTS_SHOW_FOOT_DETAILS : 0)); print ''; // Show the first sales representative @@ -606,12 +622,12 @@ if ($conf->use_javascript_ajax) { print ajax_constantonoff('PDF_SHOW_LINK_TO_ONLINE_PAYMENT'); } else { - print $form->selectyesno('PDF_SHOW_LINK_TO_ONLINE_PAYMENT', (!empty($conf->global->PDF_SHOW_LINK_TO_ONLINE_PAYMENT)) ? $conf->global->PDF_SHOW_LINK_TO_ONLINE_PAYMENT : 0, 1); + print $form->selectyesno('PDF_SHOW_LINK_TO_ONLINE_PAYMENT', (getDolGlobalString('PDF_SHOW_LINK_TO_ONLINE_PAYMENT')) ? $conf->global->PDF_SHOW_LINK_TO_ONLINE_PAYMENT : 0, 1); } print ''; print ''.$langs->trans("PDF_USE_A").''; -print $form->selectarray('PDF_USE_A', $arraylistofpdfformat, (empty($conf->global->PDF_USE_A) ? 0 : $conf->global->PDF_USE_A)); +print $form->selectarray('PDF_USE_A', $arraylistofpdfformat, (!getDolGlobalString('PDF_USE_A') ? 0 : $conf->global->PDF_USE_A)); print ''; print ''; diff --git a/htdocs/admin/perms.php b/htdocs/admin/perms.php index 42c766d1a22dc..4a284a9bf6d94 100644 --- a/htdocs/admin/perms.php +++ b/htdocs/admin/perms.php @@ -135,7 +135,7 @@ $sql .= " FROM ".MAIN_DB_PREFIX."rights_def as r"; $sql .= " WHERE r.libelle NOT LIKE 'tou%'"; // On ignore droits "tous" $sql .= " AND r.entity = ".((int) $entity); -if (empty($conf->global->MAIN_USE_ADVANCED_PERMS)) { +if (!getDolGlobalString('MAIN_USE_ADVANCED_PERMS')) { $sql .= " AND r.perms NOT LIKE '%_advance'"; // Hide advanced perms if option is not enabled } $sql .= " ORDER BY r.family_position, r.module_position, r.module, r.id"; @@ -248,10 +248,10 @@ } // Permission and tick - $permlabel = (!empty($conf->global->MAIN_USE_ADVANCED_PERMS) && ($langs->trans("PermissionAdvanced".$obj->id) != ("PermissionAdvanced".$obj->id)) ? $langs->trans("PermissionAdvanced".$obj->id) : (($langs->trans("Permission".$obj->id) != ("Permission".$obj->id)) ? $langs->trans("Permission".$obj->id) : $langs->trans($obj->label))); + $permlabel = (getDolGlobalString('MAIN_USE_ADVANCED_PERMS') && ($langs->trans("PermissionAdvanced".$obj->id) != ("PermissionAdvanced".$obj->id)) ? $langs->trans("PermissionAdvanced".$obj->id) : (($langs->trans("Permission".$obj->id) != ("Permission".$obj->id)) ? $langs->trans("Permission".$obj->id) : $langs->trans($obj->label))); print ''; print $permlabel; - if (!empty($conf->global->MAIN_USE_ADVANCED_PERMS)) { + if (getDolGlobalString('MAIN_USE_ADVANCED_PERMS')) { if (preg_match('/_advance$/', $obj->perms)) { print ' ('.$langs->trans("AdvancedModeOnly").')'; } diff --git a/htdocs/admin/prelevement.php b/htdocs/admin/prelevement.php index 554cb84ce4891..8e25b9295b907 100644 --- a/htdocs/admin/prelevement.php +++ b/htdocs/admin/prelevement.php @@ -163,7 +163,7 @@ print ''.$langs->trans("BankToReceiveWithdraw").''; print ''; print img_picto('', 'bank_account', 'class="pictofixedwidth"'); -print $form->select_comptes($conf->global->PRELEVEMENT_ID_BANKACCOUNT, 'PRELEVEMENT_ID_BANKACCOUNT', 0, "courant=1", 1, '', 0, 'minwidth200', 1); +print $form->select_comptes(getDolGlobalInt('PRELEVEMENT_ID_BANKACCOUNT'), 'PRELEVEMENT_ID_BANKACCOUNT', 0, "courant=1", 1, '', 0, 'minwidth200 widthcentpercentminusxx maxwidth300', 1); // TODO Add plus to add a bank account print ' '; print ''; @@ -185,7 +185,7 @@ print ''.$langs->trans("ResponsibleUser").''; print ''; print img_picto('', 'user', 'class="pictofixedwidth"'); -print $form->select_dolusers($conf->global->PRELEVEMENT_USER, 'PRELEVEMENT_USER', 1, '', 0, '', '', 0, 0, 0, '', 0, '', 'minwidth200 maxwidth500'); +print $form->select_dolusers(getDolGlobalInt('PRELEVEMENT_USER'), 'PRELEVEMENT_USER', 1, '', 0, '', '', 0, 0, 0, '', 0, '', 'minwidth200 maxwidth500'); print ''; print ''; @@ -195,7 +195,7 @@ print $form->textwithpicto($langs->trans("END_TO_END"), $htmltext); print ''; print ''; -print ''; +print ''; print ''; //USTRD @@ -204,16 +204,16 @@ print $form->textwithpicto($langs->trans("USTRD"), $htmltext); print ''; print ''; -print ''; +print ''; print ''; //ADDDAYS print ''.$langs->trans("ADDDAYS").''; print ''; -if (empty($conf->global->PRELEVEMENT_ADDDAYS)) { +if (!getDolGlobalString('PRELEVEMENT_ADDDAYS')) { $conf->global->PRELEVEMENT_ADDDAYS = 0; } -print ''; +print ''; print ''; print ''; @@ -395,7 +395,7 @@ */ /* Disable this, there is no trigger with elementtype 'withdraw' -if (!empty($conf->global->MAIN_MODULE_NOTIFICATION)) +if (isModEnabled('notification') ) { $langs->load("mails"); print load_fiche_titre($langs->trans("Notifications")); diff --git a/htdocs/admin/propal.php b/htdocs/admin/propal.php index 66c0bbec2a6fb..8b2bb5ec69a0f 100644 --- a/htdocs/admin/propal.php +++ b/htdocs/admin/propal.php @@ -620,7 +620,7 @@ print ""; print ''; print ''.$langs->trans("DefaultProposalDurationValidity").''; -print ''."global->PROPALE_VALIDITY_DURATION."\">"; +print ''.""; print ''; print ''; print ''; @@ -689,7 +689,7 @@ print ''; print $form->textwithpicto($langs->trans("FreeLegalTextOnProposal"), $langs->trans("AddCRIfTooLong").'

'.$htmltext, 1, 'help', '', 0, 2, 'freetexttooltip').'
'; $variablename = 'PROPOSAL_FREE_TEXT'; -if (empty($conf->global->PDF_ALLOW_HTML_FOR_FREE_TEXT)) { +if (!getDolGlobalString('PDF_ALLOW_HTML_FOR_FREE_TEXT')) { print ''; } else { include_once DOL_DOCUMENT_ROOT.'/core/class/doleditor.class.php'; diff --git a/htdocs/admin/proxy.php b/htdocs/admin/proxy.php index f2103d0c97deb..8b728a3774022 100644 --- a/htdocs/admin/proxy.php +++ b/htdocs/admin/proxy.php @@ -145,7 +145,7 @@ function initfields() print ''.$langs->trans("ResponseTimeout").''; print ''; print ''; -print ''; +print ''; print ' '.strtolower($langs->trans("Seconds")); print ''; print ''; @@ -155,7 +155,7 @@ function initfields() print ''.$langs->trans("MAIN_PROXY_USE").''; print ''; print ''; -print $form->selectyesno('MAIN_PROXY_USE', (!empty($conf->global->MAIN_PROXY_USE) ? $conf->global->MAIN_PROXY_USE : 0), 1); +print $form->selectyesno('MAIN_PROXY_USE', (getDolGlobalString('MAIN_PROXY_USE') ? $conf->global->MAIN_PROXY_USE : 0), 1); print ''; print ''; @@ -164,7 +164,7 @@ function initfields() print ''.$langs->trans("MAIN_PROXY_HOST").''; print ''; print ''; -print ''; +print ''; print ''; print ''; @@ -173,7 +173,7 @@ function initfields() print ''.$langs->trans("MAIN_PROXY_PORT").''; print ''; print ''; -print ''; +print ''; print ''; print ''; @@ -182,7 +182,7 @@ function initfields() print ''.$langs->trans("MAIN_PROXY_USER").''; print ''; print ''; -print ''; +print ''; print ''; print ''; @@ -191,7 +191,7 @@ function initfields() print ''.$langs->trans("MAIN_PROXY_PASS").''; print ''; print ''; -print ''; +print ''; print ''; print ''; diff --git a/htdocs/admin/reception_setup.php b/htdocs/admin/reception_setup.php index a44ea8fa6daeb..6dbe620f6e503 100644 --- a/htdocs/admin/reception_setup.php +++ b/htdocs/admin/reception_setup.php @@ -48,12 +48,12 @@ * Actions */ -if (isModEnabled('reception') && empty($conf->global->MAIN_SUBMODULE_RECEPTION)) { +if (isModEnabled('reception') && !getDolGlobalString('MAIN_SUBMODULE_RECEPTION')) { // This option should always be set to on when module is on. dolibarr_set_const($db, "MAIN_SUBMODULE_RECEPTION", "1", 'chaine', 0, '', $conf->entity); } -if (empty($conf->global->RECEPTION_ADDON_NUMBER)) { +if (!getDolGlobalString('RECEPTION_ADDON_NUMBER')) { $conf->global->RECEPTION_ADDON_NUMBER = 'mod_reception_beryl'; } diff --git a/htdocs/admin/security.php b/htdocs/admin/security.php index 166d8d420dc73..584df5c3f1e36 100644 --- a/htdocs/admin/security.php +++ b/htdocs/admin/security.php @@ -274,7 +274,7 @@ // Pattern for Password Perso -if ($conf->global->USER_PASSWORD_GENERATED == "Perso") { +if (getDolGlobalString('USER_PASSWORD_GENERATED') == "Perso") { print '
'; print '
'; diff --git a/htdocs/admin/security_file.php b/htdocs/admin/security_file.php index 8bddb3579e749..7f962d2eb3567 100644 --- a/htdocs/admin/security_file.php +++ b/htdocs/admin/security_file.php @@ -55,7 +55,7 @@ * Actions */ -if (GETPOST('sendit') && !empty($conf->global->MAIN_UPLOAD_DOC)) { +if (GETPOST('sendit') && getDolGlobalString('MAIN_UPLOAD_DOC')) { require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php'; dol_add_file_process($upload_dir, 1, 0, 'userfile'); @@ -177,7 +177,7 @@ // Check command in inside safe_mode print ''; print ''; -if (ini_get('safe_mode') && !empty($conf->global->MAIN_ANTIVIRUS_COMMAND)) { +if (ini_get('safe_mode') && getDolGlobalString('MAIN_ANTIVIRUS_COMMAND')) { $langs->load("errors"); $basedir = preg_replace('/"/', '', dirname($conf->global->MAIN_ANTIVIRUS_COMMAND)); $listdir = explode(';', ini_get('safe_mode_exec_dir')); @@ -200,7 +200,7 @@ print ''.$langs->trans("AntiVirusParamExample").''; print ''; print ''; -print ''; +print ''; if (defined('MAIN_ANTIVIRUS_PARAM')) { print '
'.$langs->trans("ValueIsForcedBySystem").''; } diff --git a/htdocs/admin/security_other.php b/htdocs/admin/security_other.php index e149544b634e6..8a75575c44feb 100644 --- a/htdocs/admin/security_other.php +++ b/htdocs/admin/security_other.php @@ -126,7 +126,7 @@ if (!empty($conf->use_javascript_ajax)) { print ajax_constantonoff('MAIN_SECURITY_ENABLECAPTCHA'); } else { - if (empty($conf->global->MAIN_SECURITY_ENABLECAPTCHA)) { + if (!getDolGlobalString('MAIN_SECURITY_ENABLECAPTCHA')) { print ''.img_picto($langs->trans("Disabled"), 'off').''; } else { print ''.img_picto($langs->trans("Enabled"), 'on').''; @@ -145,7 +145,7 @@ if (!empty($conf->use_javascript_ajax)) { print ajax_constantonoff('MAIN_USE_ADVANCED_PERMS'); } else { - if (empty($conf->global->MAIN_USE_ADVANCED_PERMS)) { + if (!getDolGlobalString('MAIN_USE_ADVANCED_PERMS')) { print ''.img_picto($langs->trans("Disabled"), 'off').''; } else { print ''.img_picto($langs->trans("Enabled"), 'on').''; @@ -168,7 +168,7 @@ $sessiontimeout = ini_get("session.gc_maxlifetime"); -if (empty($conf->global->MAIN_SESSION_TIMEOUT)) { +if (!getDolGlobalString('MAIN_SESSION_TIMEOUT')) { $conf->global->MAIN_SESSION_TIMEOUT = $sessiontimeout; } print ''; diff --git a/htdocs/admin/sms.php b/htdocs/admin/sms.php index 6158ad3828673..d09149bab5676 100644 --- a/htdocs/admin/sms.php +++ b/htdocs/admin/sms.php @@ -234,7 +234,7 @@ // From print ''.$langs->trans("MAIN_MAIL_SMS_FROM", $langs->transnoentities("Undefined")).''; print ''.getDolGlobalString('MAIN_MAIL_SMS_FROM'); - if (!empty($conf->global->MAIN_MAIL_SMS_FROM) && !isValidPhone($conf->global->MAIN_MAIL_SMS_FROM)) { + if (getDolGlobalString('MAIN_MAIL_SMS_FROM') && !isValidPhone($conf->global->MAIN_MAIL_SMS_FROM)) { print ' '.img_warning($langs->trans("ErrorBadPhone")); } print ''; diff --git a/htdocs/admin/spip.php b/htdocs/admin/spip.php index 391f459aca34b..be64e2b870769 100644 --- a/htdocs/admin/spip.php +++ b/htdocs/admin/spip.php @@ -117,7 +117,7 @@ /* * Spip */ -if (!empty($conf->global->ADHERENT_USE_SPIP)) { +if (getDolGlobalString('ADHERENT_USE_SPIP')) { print '
'; print ''; print ''; diff --git a/htdocs/admin/stock.php b/htdocs/admin/stock.php index 15a88dea73042..ed467db1b9779 100644 --- a/htdocs/admin/stock.php +++ b/htdocs/admin/stock.php @@ -90,7 +90,7 @@ if ($action == 'warehouse') { $value = GETPOST('default_warehouse', 'alpha'); $res = dolibarr_set_const($db, "MAIN_DEFAULT_WAREHOUSE", $value, 'chaine', 0, '', $conf->entity); - if ($value == -1 || empty($value) && !empty($conf->global->MAIN_DEFAULT_WAREHOUSE)) { + if ($value == -1 || empty($value) && getDolGlobalString('MAIN_DEFAULT_WAREHOUSE')) { $res = dolibarr_del_const($db, "MAIN_DEFAULT_WAREHOUSE", $conf->entity); } if (!($res > 0)) { @@ -476,11 +476,11 @@ print '
'; $virtualdiffersfromphysical = 0; -if (!empty($conf->global->STOCK_CALCULATE_ON_SHIPMENT) - || !empty($conf->global->STOCK_CALCULATE_ON_SUPPLIER_DISPATCH_ORDER) - || !empty($conf->global->STOCK_CALCULATE_ON_SHIPMENT_CLOSE) - || !empty($conf->global->STOCK_CALCULATE_ON_RECEPTION) - || !empty($conf->global->STOCK_CALCULATE_ON_RECEPTION_CLOSE) +if (getDolGlobalString('STOCK_CALCULATE_ON_SHIPMENT') + || getDolGlobalString('STOCK_CALCULATE_ON_SUPPLIER_DISPATCH_ORDER') + || getDolGlobalString('STOCK_CALCULATE_ON_SHIPMENT_CLOSE') + || getDolGlobalString('STOCK_CALCULATE_ON_RECEPTION') + || getDolGlobalString('STOCK_CALCULATE_ON_RECEPTION_CLOSE') || isModEnabled('mrp')) { $virtualdiffersfromphysical = 1; // According to increase/decrease stock options, virtual and physical stock may differs. } @@ -684,7 +684,7 @@ print ''; print ''.$langs->trans("MainDefaultWarehouse").''; print ''; -print $formproduct->selectWarehouses(!empty($conf->global->MAIN_DEFAULT_WAREHOUSE) ? $conf->global->MAIN_DEFAULT_WAREHOUSE : -1, 'default_warehouse', '', 1, 0, 0, '', 0, 0, array(), 'left reposition'); +print $formproduct->selectWarehouses(getDolGlobalString('MAIN_DEFAULT_WAREHOUSE') ? $conf->global->MAIN_DEFAULT_WAREHOUSE : -1, 'default_warehouse', '', 1, 0, 0, '', 0, 0, array(), 'left reposition'); print ''; print ""; print "\n"; @@ -701,7 +701,7 @@ print "\n"; print "\n"; -if (!empty($conf->global->MAIN_DEFAULT_WAREHOUSE_USER)) { +if (getDolGlobalString('MAIN_DEFAULT_WAREHOUSE_USER')) { print ''; print ''.$langs->trans("UserWarehouseAutoCreate").''; print ''; @@ -779,6 +779,7 @@ print "\n"; print "\n"; +// Add option to allow a "Limit for warning" and a "Desired stock" per warehouse. print ''; print ''.$langs->trans("AllowAddLimitStockByWarehouse").''; print ''; diff --git a/htdocs/admin/supplier_invoice.php b/htdocs/admin/supplier_invoice.php index c80640b2fcc39..4f53b8f9e4fc0 100644 --- a/htdocs/admin/supplier_invoice.php +++ b/htdocs/admin/supplier_invoice.php @@ -469,7 +469,7 @@ print ''; print $form->textwithpicto($langs->trans("FreeLegalTextOnInvoices"), $langs->trans("AddCRIfTooLong").'

'.$htmltext, 1, 'help', '', 0, 2, 'freetexttooltip').'
'; $variablename = 'SUPPLIER_INVOICE_FREE_TEXT'; -if (empty($conf->global->PDF_ALLOW_HTML_FOR_FREE_TEXT)) { +if (!getDolGlobalString('PDF_ALLOW_HTML_FOR_FREE_TEXT')) { print ''; } else { include_once DOL_DOCUMENT_ROOT.'/core/class/doleditor.class.php'; diff --git a/htdocs/admin/supplier_order.php b/htdocs/admin/supplier_order.php index 17df663cda889..e8b8fed3abafb 100644 --- a/htdocs/admin/supplier_order.php +++ b/htdocs/admin/supplier_order.php @@ -515,7 +515,7 @@ print ''; print $form->textwithpicto($langs->trans("FreeLegalTextOnOrders"), $langs->trans("AddCRIfTooLong").'

'.$htmltext, 1, 'help', '', 0, 2, 'freetexttooltip').'
'; $variablename = 'SUPPLIER_ORDER_FREE_TEXT'; -if (empty($conf->global->PDF_ALLOW_HTML_FOR_FREE_TEXT)) { +if (!getDolGlobalString('PDF_ALLOW_HTML_FOR_FREE_TEXT')) { print ''; } else { include_once DOL_DOCUMENT_ROOT.'/core/class/doleditor.class.php'; diff --git a/htdocs/admin/supplier_payment.php b/htdocs/admin/supplier_payment.php index 4a8303733939f..436513ab31d5a 100644 --- a/htdocs/admin/supplier_payment.php +++ b/htdocs/admin/supplier_payment.php @@ -165,7 +165,7 @@ * Numbering module */ -if (empty($conf->global->SUPPLIER_PAYMENT_ADDON)) { +if (!getDolGlobalString('SUPPLIER_PAYMENT_ADDON')) { $conf->global->SUPPLIER_PAYMENT_ADDON = 'mod_supplier_payment_bronan'; } @@ -260,7 +260,7 @@ print ''; //print "> ".$conf->global->SUPPLIER_PAYMENT_ADDON." - ".$file; - if ($conf->global->SUPPLIER_PAYMENT_ADDON == $file || $conf->global->SUPPLIER_PAYMENT_ADDON.'.php' == $file) { + if ($conf->global->SUPPLIER_PAYMENT_ADDON == $file || getDolGlobalString('SUPPLIER_PAYMENT_ADDON') . '.php' == $file) { print img_picto($langs->trans("Activated"), 'switch_on'); } else { print 'scandir) ? '&scandir='.$module->scandir : '').'&label='.urlencode($module->name).'" alt="'.$langs->trans("Default").'">'.img_picto($langs->trans("Disabled"), 'switch_off').''; diff --git a/htdocs/admin/supplier_proposal.php b/htdocs/admin/supplier_proposal.php index 92ceb3566683b..732a7672a92bf 100644 --- a/htdocs/admin/supplier_proposal.php +++ b/htdocs/admin/supplier_proposal.php @@ -505,7 +505,7 @@ print ''; print $form->textwithpicto($langs->trans("FreeLegalTextOnSupplierProposal"), $langs->trans("AddCRIfTooLong").'

'.$htmltext, 1, 'help', '', 0, 2, 'freetexttooltip').'
'; $variablename = 'SUPPLIER_PROPOSAL_FREE_TEXT'; -if (empty($conf->global->PDF_ALLOW_HTML_FOR_FREE_TEXT)) { +if (!getDolGlobalString('PDF_ALLOW_HTML_FOR_FREE_TEXT')) { print ''; } else { include_once DOL_DOCUMENT_ROOT.'/core/class/doleditor.class.php'; diff --git a/htdocs/admin/supplierinvoice_rec_extrafields.php b/htdocs/admin/supplierinvoice_rec_extrafields.php new file mode 100644 index 0000000000000..2fda69ff695ea --- /dev/null +++ b/htdocs/admin/supplierinvoice_rec_extrafields.php @@ -0,0 +1,109 @@ + + * Copyright (C) 2003 Jean-Louis Bergamo + * Copyright (C) 2004-2013 Laurent Destailleur + * Copyright (C) 2012 Regis Houssin + * Copyright (C) 2012 Florian Henry + * Copyright (C) 2013-2018 Philippe Grand + * Copyright (C) 2013 Juanjo Menent + * Copyright (C) 2023 Nick Fragoulis + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +/** + * \file htdocs/admin/supplierinvoice_rec_extrafields.php + * \ingroup fourn + * \brief Page to setup extra fields of recurring supplierinvoice + */ + +// Load Dolibarr environment +require '../main.inc.php'; +require_once DOL_DOCUMENT_ROOT.'/core/lib/fourn.lib.php'; +require_once DOL_DOCUMENT_ROOT.'/core/class/extrafields.class.php'; + +// Load translation files required by the page +$langs->loadLangs(array("admin", "other", "bills", "orders", "suppliers")); + +if (!$user->admin) { + accessforbidden(); +} + +$extrafields = new ExtraFields($db); +$form = new Form($db); + +// List of supported format +$tmptype2label = ExtraFields::$type2label; +$type2label = array(''); +foreach ($tmptype2label as $key => $val) { + $type2label[$key] = $langs->transnoentitiesnoconv($val); +} + +$action = GETPOST('action', 'aZ09'); +$attrname = GETPOST('attrname', 'alpha'); +$elementtype = 'facture_fourn_rec'; //Must be the $table_element of the class that manage extrafield + +if (!$user->admin) { + accessforbidden(); +} + + +/* + * Actions + */ + +require DOL_DOCUMENT_ROOT.'/core/actions_extrafields.inc.php'; + + + +/* + * View + */ + +$textobject = $langs->transnoentitiesnoconv("BillsSuppliers"); + +llxHeader('', $langs->trans("SuppliersSetup")); + +$linkback = ''.$langs->trans("BackToModuleList").''; +print load_fiche_titre($langs->trans("SuppliersSetup"), $linkback, 'title_setup'); +print "
\n"; + +$head = supplierorder_admin_prepare_head(); + +print dol_get_fiche_head($head, 'attributesrec', $langs->trans("Suppliers"), -1, 'company'); + +require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_view.tpl.php'; + +print dol_get_fiche_end(); + + +// Creation of an optional field +if ($action == 'create') { + print '
'; + print load_fiche_titre($langs->trans('NewAttribute')); + + require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_add.tpl.php'; +} + +// Edition of an optional field +if ($action == 'edit' && !empty($attrname)) { + print "
"; + print load_fiche_titre($langs->trans("FieldEdition", $attrname)); + + require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_edit.tpl.php'; +} + +// End of page +llxFooter(); +$db->close(); diff --git a/htdocs/admin/supplierinvoicedet_rec_extrafields.php b/htdocs/admin/supplierinvoicedet_rec_extrafields.php new file mode 100644 index 0000000000000..666430611d83a --- /dev/null +++ b/htdocs/admin/supplierinvoicedet_rec_extrafields.php @@ -0,0 +1,111 @@ + + * Copyright (C) 2003 Jean-Louis Bergamo + * Copyright (C) 2004-2013 Laurent Destailleur + * Copyright (C) 2012 Regis Houssin + * Copyright (C) 2012 Florian Henry + * Copyright (C) 2013 Philippe Grand + * Copyright (C) 2013 Juanjo Menent + * Copyright (C) 2015 Claudio Aschieri + * Copyright (C) 2023 Nick Fragoulis + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +/** + * \file htdocs/admin/supplierinvoicedet_rec_extrafields.php + * \ingroup fourn + * \brief Page to setup extra fields of recurring supplierinvoice line + */ + +// Load Dolibarr environment +require '../main.inc.php'; +require_once DOL_DOCUMENT_ROOT.'/core/lib/fourn.lib.php'; +require_once DOL_DOCUMENT_ROOT.'/core/class/extrafields.class.php'; + + +if (!$user->admin) { + accessforbidden(); +} + +// Load translation files required by the page +$langs->loadLangs(array('admin', 'other', 'bills', 'orders', 'suppliers')); + +$extrafields = new ExtraFields($db); +$form = new Form($db); + +// List of supported format +$tmptype2label = ExtraFields::$type2label; +$type2label = array(''); +foreach ($tmptype2label as $key => $val) { + $type2label[$key] = $langs->transnoentitiesnoconv($val); +} + +$action = GETPOST('action', 'aZ09'); +$attrname = GETPOST('attrname', 'alpha'); +$elementtype = 'facture_fourn_det_rec'; //Must be the $table_element of the class that manage extrafield + +if (!$user->admin) { + accessforbidden(); +} + + +/* + * Actions + */ + +require DOL_DOCUMENT_ROOT.'/core/actions_extrafields.inc.php'; + + + +/* + * View + */ + +$textobject = $langs->transnoentitiesnoconv("BillsSuppliers"); + +llxHeader('', $langs->trans("SuppliersSetup")); + +$linkback = ''.$langs->trans("BackToModuleList").''; +print load_fiche_titre($langs->trans("SuppliersSetup"), $linkback, 'title_setup'); +print "
\n"; + +$head = supplierorder_admin_prepare_head(); + +print dol_get_fiche_head($head, 'attributeslinesrec', $langs->trans("Suppliers"), -1, 'company'); + +require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_view.tpl.php'; + +print dol_get_fiche_end(); + + +// Creation of an optional field +if ($action == 'create') { + print '
'; + print load_fiche_titre($langs->trans('NewAttribute')); + + require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_add.tpl.php'; +} + +// Edition of an optional field +if ($action == 'edit' && !empty($attrname)) { + print "
"; + print load_fiche_titre($langs->trans("FieldEdition", $attrname)); + + require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_edit.tpl.php'; +} + +// End of page +llxFooter(); +$db->close(); diff --git a/htdocs/admin/syslog.php b/htdocs/admin/syslog.php index cf07dd495390a..8fd733e3046b1 100644 --- a/htdocs/admin/syslog.php +++ b/htdocs/admin/syslog.php @@ -43,7 +43,7 @@ $syslogModules = array(); $activeModules = array(); -if (!empty($conf->global->SYSLOG_HANDLERS)) { +if (getDolGlobalString('SYSLOG_HANDLERS')) { $activeModules = json_decode($conf->global->SYSLOG_HANDLERS); } @@ -179,7 +179,7 @@ $defaultsyslogfile = 'dolibarr.log'; } $optionmc = ''; -if (!empty($conf->global->MAIN_MODULE_MULTICOMPANY) && $user->entity) { +if (isModEnabled('multicompany') && $user->entity) { print '
'.$langs->trans("ContactSuperAdminForChange").'
'; $optionmc = 'disabled'; } diff --git a/htdocs/admin/system/dolibarr.php b/htdocs/admin/system/dolibarr.php index 925076b1ee765..22cfe3a04d496 100644 --- a/htdocs/admin/system/dolibarr.php +++ b/htdocs/admin/system/dolibarr.php @@ -78,7 +78,7 @@ print ''.$langs->trans("Version").''.$langs->trans("Value").''."\n"; print ''.$langs->trans("CurrentVersion").' ('.$langs->trans("Programs").')'.DOL_VERSION; // If current version differs from last upgrade -if (empty($conf->global->MAIN_VERSION_LAST_UPGRADE)) { +if (!getDolGlobalString('MAIN_VERSION_LAST_UPGRADE')) { // Compare version with last install database version (upgrades never occured) if (DOL_VERSION != $conf->global->MAIN_VERSION_LAST_INSTALL) { print ' '.img_warning($langs->trans("RunningUpdateProcessMayBeRequired", DOL_VERSION, $conf->global->MAIN_VERSION_LAST_INSTALL)); @@ -254,7 +254,7 @@ } $txt = $langs->trans("OSTZ").' (variable system TZ): '.(!empty($_ENV["TZ"]) ? $_ENV["TZ"] : $langs->trans("NotDefined")).'
'."\n"; $txt .= $langs->trans("PHPTZ").' (date_default_timezone_get() / php.ini date.timezone): '.(getServerTimeZoneString()." / ".(ini_get("date.timezone") ? ini_get("date.timezone") : $langs->trans("NotDefined")))."
\n"; // date.timezone must be in valued defined in http://fr3.php.net/manual/en/timezones.europe.php -$txt .= $langs->trans("Dolibarr constant MAIN_SERVER_TZ").': '.(empty($conf->global->MAIN_SERVER_TZ) ? $langs->trans("NotDefined") : $conf->global->MAIN_SERVER_TZ); +$txt .= $langs->trans("Dolibarr constant MAIN_SERVER_TZ").': '.(!getDolGlobalString('MAIN_SERVER_TZ') ? $langs->trans("NotDefined") : $conf->global->MAIN_SERVER_TZ); print ''.$langs->trans("CurrentTimeZone").''; // Timezone server PHP $a = getServerTimeZoneInt('now'); $b = getServerTimeZoneInt('winter'); @@ -298,7 +298,7 @@ if (empty($tmp)) { $tmp = 'utf-8'; // By default for other } -if (!empty($conf->global->MAIN_FILESYSTEM_ENCODING)) { +if (getDolGlobalString('MAIN_FILESYSTEM_ENCODING')) { $tmp = $conf->global->MAIN_FILESYSTEM_ENCODING; } print '  => '.$langs->trans("File encoding").''.$tmp.''."\n"; // date.timezone must be in valued defined in http://fr3.php.net/manual/en/timezones.europe.php diff --git a/htdocs/admin/system/filecheck.php b/htdocs/admin/system/filecheck.php index f42dd45b0168d..b0abc81cf7a18 100644 --- a/htdocs/admin/system/filecheck.php +++ b/htdocs/admin/system/filecheck.php @@ -58,7 +58,7 @@ print ''.$langs->trans("VersionLastUpgrade").''.getDolGlobalString('MAIN_VERSION_LAST_UPGRADE').''."\n"; print ''.$langs->trans("VersionProgram").''.DOL_VERSION; // If current version differs from last upgrade -if (empty($conf->global->MAIN_VERSION_LAST_UPGRADE)) { +if (!getDolGlobalString('MAIN_VERSION_LAST_UPGRADE')) { // Compare version with last install database version (upgrades never occured) if (DOL_VERSION != $conf->global->MAIN_VERSION_LAST_INSTALL) { print ' '.img_warning($langs->trans("RunningUpdateProcessMayBeRequired", DOL_VERSION, $conf->global->MAIN_VERSION_LAST_INSTALL)); @@ -79,7 +79,7 @@ $file_list = array('missing' => array(), 'updated' => array()); // Local file to compare to -$xmlshortfile = dol_sanitizeFileName(GETPOST('xmlshortfile', 'alpha') ? GETPOST('xmlshortfile', 'alpha') : 'filelist-'.DOL_VERSION.(empty($conf->global->MAIN_FILECHECK_LOCAL_SUFFIX) ? '' : $conf->global->MAIN_FILECHECK_LOCAL_SUFFIX).'.xml'.(empty($conf->global->MAIN_FILECHECK_LOCAL_EXT) ? '' : $conf->global->MAIN_FILECHECK_LOCAL_EXT)); +$xmlshortfile = dol_sanitizeFileName(GETPOST('xmlshortfile', 'alpha') ? GETPOST('xmlshortfile', 'alpha') : 'filelist-'.DOL_VERSION.(!getDolGlobalString('MAIN_FILECHECK_LOCAL_SUFFIX') ? '' : $conf->global->MAIN_FILECHECK_LOCAL_SUFFIX).'.xml'.(!getDolGlobalString('MAIN_FILECHECK_LOCAL_EXT') ? '' : $conf->global->MAIN_FILECHECK_LOCAL_EXT)); $xmlfile = DOL_DOCUMENT_ROOT.'/install/'.$xmlshortfile; if (!preg_match('/\.zip$/i', $xmlfile) && dol_is_file($xmlfile.'.zip')) { @@ -88,7 +88,7 @@ // Remote file to compare to $xmlremote = GETPOST('xmlremote', 'alphanohtml'); -if (empty($xmlremote) && !empty($conf->global->MAIN_FILECHECK_URL)) { +if (empty($xmlremote) && getDolGlobalString('MAIN_FILECHECK_URL')) { $xmlremote = $conf->global->MAIN_FILECHECK_URL; } $param = 'MAIN_FILECHECK_URL_'.DOL_VERSION; @@ -110,7 +110,7 @@ // Test if remote test is ok $enableremotecheck = true; -if (preg_match('/beta|alpha|rc/i', DOL_VERSION) || !empty($conf->global->MAIN_ALLOW_INTEGRITY_CHECK_ON_UNSTABLE)) { +if (preg_match('/beta|alpha|rc/i', DOL_VERSION) || getDolGlobalString('MAIN_ALLOW_INTEGRITY_CHECK_ON_UNSTABLE')) { $enableremotecheck = false; } $enableremotecheck = true; diff --git a/htdocs/admin/system/modules.php b/htdocs/admin/system/modules.php index 9bc2f5d8dc5ef..d09820c4b9c28 100644 --- a/htdocs/admin/system/modules.php +++ b/htdocs/admin/system/modules.php @@ -365,7 +365,7 @@ $labelpermission .= ' : '.$arrayofpermissions[$permission]['label']; $idperms .= ($idperms ? ", " : "").''.$permission.''; - if (!empty($conf->global->MAIN_SHOW_PERMISSION)) { + if (getDolGlobalString('MAIN_SHOW_PERMISSION')) { if (empty($langs->tab_translate[$translationKey])) { $tooltip = 'Missing translation (key '.$translationkey.' not found in admin.lang)'; $idperms .= ' Warning'; diff --git a/htdocs/admin/system/perf.php b/htdocs/admin/system/perf.php index e90d0567fbcda..05ba731b3d565 100644 --- a/htdocs/admin/system/perf.php +++ b/htdocs/admin/system/perf.php @@ -112,7 +112,7 @@ print ''.$langs->trans("ApplicativeCache").': '; $test = isModEnabled('memcached'); if ($test) { - if (!empty($conf->global->MEMCACHED_SERVER)) { + if (getDolGlobalString('MEMCACHED_SERVER')) { print $langs->trans("MemcachedAvailableAndSetup"); print ' '.$langs->trans("MoreInformation").' Memcached module admin page'; } else { @@ -492,7 +492,7 @@ $obj = $db->fetch_object($resql); $nb = $obj->nb; if ($nb > $limitforoptim) { - if (empty($conf->global->PRODUIT_USE_SEARCH_TO_SELECT)) { + if (!getDolGlobalString('PRODUIT_USE_SEARCH_TO_SELECT')) { print img_picto('', 'warning.png').' '.$langs->trans("YouHaveXObjectUseComboOptim", $nb, $langs->transnoentitiesnoconv("ProductsOrServices"), 'PRODUIT_USE_SEARCH_TO_SELECT'); } else { print img_picto('', 'tick.png').' '.$langs->trans("YouHaveXObjectAndSearchOptimOn", $nb, $langs->transnoentitiesnoconv("ProductsOrServices"), 'PRODUIT_USE_SEARCH_TO_SELECT', $conf->global->PRODUIT_USE_SEARCH_TO_SELECT); @@ -513,7 +513,7 @@ $obj = $db->fetch_object($resql); $nb = $obj->nb; if ($nb > $limitforoptim) { - if (empty($conf->global->COMPANY_USE_SEARCH_TO_SELECT)) { + if (!getDolGlobalString('COMPANY_USE_SEARCH_TO_SELECT')) { print img_picto('', 'warning.png').' '.$langs->trans("YouHaveXObjectUseComboOptim", $nb, $langs->transnoentitiesnoconv("ThirdParties"), 'COMPANY_USE_SEARCH_TO_SELECT'); } else { print img_picto('', 'tick.png').' '.$langs->trans("YouHaveXObjectAndSearchOptimOn", $nb, $langs->transnoentitiesnoconv("ThirdParties"), 'COMPANY_USE_SEARCH_TO_SELECT', $conf->global->COMPANY_USE_SEARCH_TO_SELECT); @@ -534,7 +534,7 @@ $obj = $db->fetch_object($resql); $nb = $obj->nb; if ($nb > $limitforoptim) { - if (empty($conf->global->CONTACT_USE_SEARCH_TO_SELECT)) { + if (!getDolGlobalString('CONTACT_USE_SEARCH_TO_SELECT')) { print img_picto('', 'warning.png').' '.$langs->trans("YouHaveXObjectUseComboOptim", $nb, $langs->transnoentitiesnoconv("Contacts"), 'CONTACT_USE_SEARCH_TO_SELECT'); } else { print img_picto('', 'tick.png').' '.$langs->trans("YouHaveXObjectAndSearchOptimOn", $nb, $langs->transnoentitiesnoconv("Contacts"), 'CONTACT_USE_SEARCH_TO_SELECT', $conf->global->CONTACT_USE_SEARCH_TO_SELECT); @@ -555,7 +555,7 @@ $obj = $db->fetch_object($resql); $nb = $obj->nb; if ($nb > $limitforoptim) { - if (empty($conf->global->PROJECT_USE_SEARCH_TO_SELECT)) { + if (!getDolGlobalString('PROJECT_USE_SEARCH_TO_SELECT')) { print img_picto('', 'warning.png').' '.$langs->trans("YouHaveXObjectUseComboOptim", $nb, $langs->transnoentitiesnoconv("Projects"), 'PROJECT_USE_SEARCH_TO_SELECT'); } else { print img_picto('', 'tick.png').' '.$langs->trans("YouHaveXObjectAndSearchOptimOn", $nb, $langs->transnoentitiesnoconv("Projects"), 'PROJECT_USE_SEARCH_TO_SELECT', $conf->global->PROJECT_USE_SEARCH_TO_SELECT); @@ -581,7 +581,7 @@ $obj = $db->fetch_object($resql); $nb = $obj->nb; if ($nb > $limitforoptim) { - if (empty($conf->global->PRODUCT_DONOTSEARCH_ANYWHERE)) { + if (!getDolGlobalString('PRODUCT_DONOTSEARCH_ANYWHERE')) { print img_picto('', 'warning.png').' '.$langs->trans("YouHaveXObjectUseSearchOptim", $nb, $langs->transnoentitiesnoconv("ProductsOrServices"), 'PRODUCT_DONOTSEARCH_ANYWHERE'); print $langs->trans("YouHaveXObjectUseSearchOptimDesc"); } else { @@ -604,7 +604,7 @@ $obj = $db->fetch_object($resql); $nb = $obj->nb; if ($nb > $limitforoptim) { - if (empty($conf->global->COMPANY_DONOTSEARCH_ANYWHERE)) { + if (!getDolGlobalString('COMPANY_DONOTSEARCH_ANYWHERE')) { print img_picto('', 'warning.png').' '.$langs->trans("YouHaveXObjectUseSearchOptim", $nb, $langs->transnoentitiesnoconv("ThirdParties"), 'COMPANY_DONOTSEARCH_ANYWHERE'); print $langs->trans("YouHaveXObjectUseSearchOptimDesc"); } else { @@ -646,6 +646,15 @@ } print '
'; + +if (getDolGlobalInt('MAIN_CACHE_COUNT')) { + print 'MAIN_CACHE_COUNT = '.getDolGlobalInt('MAIN_CACHE_COUNT').' '.img_picto('', 'tick.png'); +} else { + print 'MAIN_CACHE_COUNT = '.getDolGlobalInt('MAIN_CACHE_COUNT', 0); + //.' '.img_picto('', 'warning.png'); +} +print '
'; + // End of page llxFooter(); $db->close(); diff --git a/htdocs/admin/system/security.php b/htdocs/admin/system/security.php index cf07784e4367a..368f6cf5ae2ce 100644 --- a/htdocs/admin/system/security.php +++ b/htdocs/admin/system/security.php @@ -326,7 +326,7 @@ print ' ('.$langs->trans("RecommendedValueIs", 'mysqldump, mysql, pg_dump, pgrestore, mariadb, mariadb-dump, clamdscan').')'; print '
'; -if (empty($conf->global->SECURITY_DISABLE_TEST_ON_OBFUSCATED_CONF)) { +if (!getDolGlobalString('SECURITY_DISABLE_TEST_ON_OBFUSCATED_CONF')) { print '$dolibarr_main_db_pass: '; if (!empty($dolibarr_main_db_pass) && empty($dolibarr_main_db_encrypted_pass)) { print img_picto('', 'warning').' '.$langs->trans("DatabasePasswordNotObfuscated").'   ('.$langs->trans("Recommended").': '.$langs->trans("SetOptionTo", $langs->transnoentitiesnoconv("MainDbPasswordFileConfEncrypted"), yn(1)).')'; @@ -350,14 +350,14 @@ print ''.$langs->trans("UseCaptchaCode").': '; -print empty($conf->global->MAIN_SECURITY_ENABLECAPTCHA) ? '' : img_picto('', 'tick').' '; -print yn(empty($conf->global->MAIN_SECURITY_ENABLECAPTCHA) ? 0 : 1); +print !getDolGlobalString('MAIN_SECURITY_ENABLECAPTCHA') ? '' : img_picto('', 'tick').' '; +print yn(!getDolGlobalString('MAIN_SECURITY_ENABLECAPTCHA') ? 0 : 1); print '
'; print '
'; $sessiontimeout = ini_get("session.gc_maxlifetime"); -if (empty($conf->global->MAIN_SESSION_TIMEOUT)) { +if (!getDolGlobalString('MAIN_SESSION_TIMEOUT')) { $conf->global->MAIN_SESSION_TIMEOUT = $sessiontimeout; } print ''.$langs->trans("SessionTimeOut").''; @@ -382,9 +382,9 @@ print '

'; print ''.$langs->trans("DoNotStoreClearPassword").': '; -print empty($conf->global->DATABASE_PWD_ENCRYPTED) ? '' : img_picto('', 'tick').' '; -print yn(empty($conf->global->DATABASE_PWD_ENCRYPTED) ? 0 : 1); -if (empty($conf->global->DATABASE_PWD_ENCRYPTED)) { +print !getDolGlobalString('DATABASE_PWD_ENCRYPTED') ? '' : img_picto('', 'tick').' '; +print yn(!getDolGlobalString('DATABASE_PWD_ENCRYPTED') ? 0 : 1); +if (!getDolGlobalString('DATABASE_PWD_ENCRYPTED')) { print ' ('.$langs->trans("Recommended").' '.yn(1).')'; } print '
'; @@ -423,12 +423,12 @@ */ print ''.$langs->trans("AntivirusEnabledOnUpload").': '; -print empty($conf->global->MAIN_ANTIVIRUS_COMMAND) ? img_warning().' ' : img_picto('', 'tick').' '; -print yn(empty($conf->global->MAIN_ANTIVIRUS_COMMAND) ? 0 : 1); -if (empty($conf->global->MAIN_ANTIVIRUS_COMMAND)) { +print !getDolGlobalString('MAIN_ANTIVIRUS_COMMAND') ? img_warning().' ' : img_picto('', 'tick').' '; +print yn(!getDolGlobalString('MAIN_ANTIVIRUS_COMMAND') ? 0 : 1); +if (!getDolGlobalString('MAIN_ANTIVIRUS_COMMAND')) { print ' - '.$langs->trans("Recommended").': '.$langs->trans("DefinedAPathForAntivirusCommandIntoSetup", $langs->transnoentitiesnoconv("Home")." - ".$langs->transnoentitiesnoconv("Setup")." - ".$langs->transnoentitiesnoconv("Security")).''; } else { - print '   - '.$conf->global->MAIN_ANTIVIRUS_COMMAND; + print '   - ' . getDolGlobalString('MAIN_ANTIVIRUS_COMMAND'); if (defined('MAIN_ANTIVIRUS_COMMAND') && !defined('MAIN_ANTIVIRUS_BYPASS_COMMAND_AND_PARAM')) { print ' - '.$langs->trans("ValueIsForcedBySystem").''; } @@ -579,7 +579,7 @@ //print ''.$langs->trans("PasswordEncryption").': '; print 'MAIN_SECURITY_HASH_ALGO = '.getDolGlobalString('MAIN_SECURITY_HASH_ALGO', ''.$langs->trans("Undefined").'')."   "; -if (empty($conf->global->MAIN_SECURITY_HASH_ALGO)) { +if (!getDolGlobalString('MAIN_SECURITY_HASH_ALGO')) { print '     If unset: \'md5\''; } if ($conf->global->MAIN_SECURITY_HASH_ALGO != 'password_hash') { @@ -611,7 +611,7 @@ print load_fiche_titre($langs->trans("OtherSetup").' ('.$langs->trans("Experimental").')', '', 'folder'); print 'MAIN_EXEC_USE_POPEN = '; -if (empty($conf->global->MAIN_EXEC_USE_POPEN)) { +if (!getDolGlobalString('MAIN_EXEC_USE_POPEN')) { print ''.$langs->trans("Undefined").''; } else { print $conf->global->MAIN_EXEC_USE_POPEN; @@ -638,7 +638,7 @@ print 'MAIN_RESTRICTHTML_REMOVE_ALSO_BAD_ATTRIBUTES = '.getDolGlobalString('MAIN_RESTRICTHTML_REMOVE_ALSO_BAD_ATTRIBUTES', ''.$langs->trans("Undefined").'   ('.$langs->trans("Recommended").': 1)')."
"; print '
'; -print 'MAIN_DISALLOW_EXT_URL_INTO_DESCRIPTIONS = '.getDolGlobalString('MAIN_DISALLOW_EXT_URL_INTO_DESCRIPTIONS', ''.$langs->trans("Undefined").'   ('.$langs->trans("Recommended").': '.$langs->trans("Undefined").' '.$langs->trans("or").' 0)')."
"; +print 'MAIN_DISALLOW_URL_INTO_DESCRIPTIONS = '.getDolGlobalString('MAIN_DISALLOW_URL_INTO_DESCRIPTIONS', ''.$langs->trans("Undefined").'   ('.$langs->trans("Recommended").': 1)')."
"; print '
'; print 'MAIN_ALLOW_SVG_FILES_AS_EXTERNAL_LINKS = '.getDolGlobalString('MAIN_ALLOW_SVG_FILES_AS_EXTERNAL_LINKS', ''.$langs->trans("Undefined").'   ('.$langs->trans("Recommended").': '.$langs->trans("Undefined").' '.$langs->trans("or").' 0)')."
"; diff --git a/htdocs/admin/taxes.php b/htdocs/admin/taxes.php index a4cf7e3034bce..d4ba12b3f435f 100644 --- a/htdocs/admin/taxes.php +++ b/htdocs/admin/taxes.php @@ -166,7 +166,7 @@ print ''.$langs->trans("CompanyIds").''.$langs->trans("Value").''; print ''; - print ''; + print ''; print ''; print ''; @@ -188,7 +188,7 @@ print ''; print ''; - print ''; + print ''; print ''; print ''; diff --git a/htdocs/admin/ticket.php b/htdocs/admin/ticket.php index 0576cd3ccc723..7dd93c2f49f9d 100644 --- a/htdocs/admin/ticket.php +++ b/htdocs/admin/ticket.php @@ -646,7 +646,7 @@ print ''.$langs->trans("ShortInfo").''; print "\n"; -if (empty($conf->global->FCKEDITOR_ENABLE_MAIL)) { +if (!getDolGlobalString('FCKEDITOR_ENABLE_MAIL')) { print ''; print '
'.$langs->trans("TicketCkEditorEmailNotActivated").'
'; print ''.$langs->trans("ShortInfo").''; @@ -658,7 +658,7 @@ // Email to send notifications print ''.$langs->trans("TicketEmailNotificationFrom").''; print ''; -print ''; +print ''; print ''; print $formcategory->textwithpicto('', $langs->trans("TicketEmailNotificationFromHelp"), 1, 'help'); print ''; @@ -667,7 +667,7 @@ // Email for notification of TICKET_CREATE print ''.$langs->trans("TicketEmailNotificationTo").''; print ''; -print ''; +print ''; print ''; print $formcategory->textwithpicto('', $langs->trans("TicketEmailNotificationToHelp"), 1, 'help'); print ''; diff --git a/htdocs/admin/ticket_public.php b/htdocs/admin/ticket_public.php index c141bf478600d..e083c87d205e3 100644 --- a/htdocs/admin/ticket_public.php +++ b/htdocs/admin/ticket_public.php @@ -153,7 +153,7 @@ } // For compatibility when javascript is not enabled - if ($conf->global->MAIN_FEATURES_LEVEL >= 2 && empty($conf->use_javascript_ajax)) { + if (getDolGlobalInt('MAIN_FEATURES_LEVEL') >= 2 && empty($conf->use_javascript_ajax)) { $param_notification_also_main_addressemail = GETPOST('TICKET_NOTIFICATION_ALSO_MAIN_ADDRESS', 'alpha'); $res = dolibarr_set_const($db, 'TICKET_NOTIFICATION_ALSO_MAIN_ADDRESS', $param_notification_also_main_addressemail, 'chaine', 0, '', $conf->entity); if (!($res > 0)) { @@ -164,7 +164,7 @@ } elseif (preg_match('/set_(.*)/', $action, $reg)) { $code = $reg[1]; $value = GETPOSTISSET($code) ? GETPOST($code, 'int') : 1; - if ($code == 'TICKET_NOTIFICATION_ALSO_MAIN_ADDRESS' && $conf->global->MAIN_FEATURES_LEVEL >= 2) { + if ($code == 'TICKET_NOTIFICATION_ALSO_MAIN_ADDRESS' && getDolGlobalInt('MAIN_FEATURES_LEVEL') >= 2) { $param_notification_also_main_addressemail = GETPOST('TICKET_NOTIFICATION_ALSO_MAIN_ADDRESS', 'alpha'); $res = dolibarr_set_const($db, 'TICKET_NOTIFICATION_ALSO_MAIN_ADDRESS', $param_notification_also_main_addressemail, 'chaine', 0, '', $conf->entity); if (!($res > 0)) { @@ -240,7 +240,7 @@ print '
'; $enabledisablehtml = $langs->trans("TicketsActivatePublicInterface").' '; -if (empty($conf->global->TICKET_ENABLE_PUBLIC_INTERFACE)) { +if (!getDolGlobalInt('TICKET_ENABLE_PUBLIC_INTERFACE')) { // Button off, click to enable $enabledisablehtml .= ''; $enabledisablehtml .= img_picto($langs->trans("Disabled"), 'switch_off'); @@ -252,13 +252,13 @@ $enabledisablehtml .= ''; } print $enabledisablehtml; -print ''; +print ''; print dol_get_fiche_end(); -if (!empty($conf->global->TICKET_ENABLE_PUBLIC_INTERFACE)) { +if (getDolGlobalInt('TICKET_ENABLE_PUBLIC_INTERFACE')) { print '
'; @@ -299,7 +299,7 @@ if (!empty($conf->use_javascript_ajax)) { print ajax_constantonoff('MAIN_SECURITY_ENABLECAPTCHA_TICKET'); } else { - if (empty($conf->global->MAIN_SECURITY_ENABLECAPTCHA_TICKET)) { + if (!getDolGlobalInt('MAIN_SECURITY_ENABLECAPTCHA_TICKET')) { print ''.img_picto($langs->trans("Disabled"), 'off').''; } else { print ''.img_picto($langs->trans("Enabled"), 'on').''; @@ -346,7 +346,7 @@ print ''; */ - /*if ($conf->global->MAIN_FEATURES_LEVEL >= 2) + /*if (getDolGlobalInt('MAIN_FEATURES_LEVEL') >= 2) { // Show logo for module print '' . $langs->trans("TicketsShowModuleLogo") . ''; @@ -355,7 +355,7 @@ print ajax_constantonoff('TICKET_SHOW_MODULE_LOGO'); } else { $arrval = array('0' => $langs->trans("No"), '1' => $langs->trans("Yes")); - print $form->selectarray("TICKET_SHOW_MODULE_LOGO", $arrval, $conf->global->TICKET_SHOW_MODULE_LOGO); + print $form->selectarray("TICKET_SHOW_MODULE_LOGO", $arrval, getDolGlobalInt('TICKET_SHOW_MODULE_LOGO')); } print ''; print ''; @@ -367,11 +367,11 @@ // Show logo for company print ''.$langs->trans("TicketsShowCompanyLogo").''; print ''; - if ($conf->use_javascript_ajax) { + if (!empty($conf->use_javascript_ajax)) { print ajax_constantonoff('TICKET_SHOW_COMPANY_LOGO'); } else { $arrval = array('0' => $langs->trans("No"), '1' => $langs->trans("Yes")); - print $form->selectarray("TICKET_SHOW_COMPANY_LOGO", $arrval, $conf->global->TICKET_SHOW_COMPANY_LOGO); + print $form->selectarray("TICKET_SHOW_COMPANY_LOGO", $arrval, getDolGlobalInt('TICKET_SHOW_COMPANY_LOGO')); } print ''; print ''; @@ -397,10 +397,14 @@ // Show progression print ''.$langs->trans("TicketsShowProgression").''; print ''; - if (!getDolGlobalInt('TICKET_SHOW_PROGRESSION')) { - print '' . img_picto($langs->trans('Disabled'), 'switch_off') . ''; + if (!empty($conf->use_javascript_ajax)) { + print ajax_constantonoff('TICKET_SHOW_PROGRESSION'); } else { - print '' . img_picto($langs->trans('Enabled'), 'switch_on') . ''; + if (!getDolGlobalInt('TICKET_SHOW_PROGRESSION')) { + print '' . img_picto($langs->trans('Disabled'), 'switch_off') . ''; + } else { + print '' . img_picto($langs->trans('Enabled'), 'switch_on') . ''; + } } print ''; print ''; @@ -409,14 +413,14 @@ print ''; // Also send to main email address - if ($conf->global->MAIN_FEATURES_LEVEL >= 2) { + if (getDolGlobalInt('MAIN_FEATURES_LEVEL') >= 2) { print ''.$langs->trans("TicketsEmailAlsoSendToMainAddress").''; print ''; - if ($conf->use_javascript_ajax) { + if (!empty($conf->use_javascript_ajax)) { print ajax_constantonoff('TICKET_NOTIFICATION_ALSO_MAIN_ADDRESS'); } else { $arrval = array('0' => $langs->trans("No"), '1' => $langs->trans("Yes")); - print $form->selectarray("TICKET_NOTIFICATION_ALSO_MAIN_ADDRESS", $arrval, $conf->global->TICKET_NOTIFICATION_ALSO_MAIN_ADDRESS); + print $form->selectarray("TICKET_NOTIFICATION_ALSO_MAIN_ADDRESS", $arrval, getDolGlobalInt('TICKET_NOTIFICATION_ALSO_MAIN_ADDRESS')); } print ''; print ''; @@ -425,12 +429,12 @@ print ''; } - if (!$conf->use_javascript_ajax) { + if (empty($conf->use_javascript_ajax)) { print ''; print ''; } - if (empty($conf->global->FCKEDITOR_ENABLE_MAIL)) { + if (!getDolGlobalInt('FCKEDITOR_ENABLE_MAIL')) { print ''; print '
'.$langs->trans("TicketCkEditorEmailNotActivated").'
'; print "\n"; @@ -498,7 +502,7 @@ print ajax_constantonoff('TICKET_DISABLE_CUSTOMER_MAILS'); } else { $arrval = array('0' => $langs->trans("No"), '1' => $langs->trans("Yes")); - print $form->selectarray("TICKET_DISABLE_CUSTOMER_MAILS", $arrval, $conf->global->TICKET_DISABLE_CUSTOMER_MAILS); + print $form->selectarray("TICKET_DISABLE_CUSTOMER_MAILS", $arrval, getDolGlobalInt('TICKET_DISABLE_CUSTOMER_MAILS')); } print ''; print ''; diff --git a/htdocs/admin/tools/dolibarr_export.php b/htdocs/admin/tools/dolibarr_export.php index bac6558369f88..67eb2bf054f5d 100644 --- a/htdocs/admin/tools/dolibarr_export.php +++ b/htdocs/admin/tools/dolibarr_export.php @@ -235,7 +235,7 @@ function hideoptions(domelem) { print '
'; print '
'.$langs->trans("FullPathToMysqldumpCommand").''; - if (empty($conf->global->SYSTEMTOOLS_MYSQLDUMP)) { + if (!getDolGlobalString('SYSTEMTOOLS_MYSQLDUMP')) { $fullpathofmysqldump = $db->getPathOfDump(); } else { $fullpathofmysqldump = $conf->global->SYSTEMTOOLS_MYSQLDUMP; @@ -246,7 +246,7 @@ function hideoptions(domelem) { print '
'; print '
'.$langs->trans("ExportOptions").''; - if (!empty($conf->global->MYSQL_OLD_OPTION_DISABLE_FK)) { + if (getDolGlobalString('MYSQL_OLD_OPTION_DISABLE_FK')) { print '
'; print ''; print ''; @@ -280,7 +280,7 @@ function hideoptions(domelem) { print '
'; $execmethod = 0; - if (!empty($conf->global->MAIN_EXEC_USE_POPEN)) { + if (getDolGlobalString('MAIN_EXEC_USE_POPEN')) { $execmethod = $conf->global->MAIN_EXEC_USE_POPEN; } if (empty($execmethod)) { @@ -361,7 +361,7 @@ function hideoptions(domelem) { print ''; print '
'; - if (!empty($conf->global->MYSQL_OLD_OPTION_DISABLE_FK)) { + if (getDolGlobalString('MYSQL_OLD_OPTION_DISABLE_FK')) { print '
'; print ''; print ''; @@ -406,7 +406,7 @@ function hideoptions(domelem) { print '
'.$langs->trans("FullPathToPostgreSQLdumpCommand").''; - if (empty($conf->global->SYSTEMTOOLS_POSTGRESQLDUMP)) { + if (!getDolGlobalString('SYSTEMTOOLS_POSTGRESQLDUMP')) { $fullpathofpgdump = $db->getPathOfDump(); } else { $fullpathofpgdump = $conf->global->SYSTEMTOOLS_POSTGRESQLDUMP; diff --git a/htdocs/admin/tools/listevents.php b/htdocs/admin/tools/listevents.php index 0d9bee509639c..61a94bed481e3 100644 --- a/htdocs/admin/tools/listevents.php +++ b/htdocs/admin/tools/listevents.php @@ -28,6 +28,7 @@ require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/class/events.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php'; +require_once DOL_DOCUMENT_ROOT.'/core/triggers/interface_20_all_Logevents.class.php'; if (!$user->admin) { accessforbidden(); @@ -123,8 +124,8 @@ $arrayfields = array( 'e.prefix_session' => array( 'label'=>'UserAgent', - 'checked'=>(empty($conf->global->AUDIT_ENABLE_PREFIX_SESSION) ? 0 : 1), - 'enabled'=>(empty($conf->global->AUDIT_ENABLE_PREFIX_SESSION) ? 0 : 1), + 'checked'=>(!getDolGlobalString('AUDIT_ENABLE_PREFIX_SESSION') ? 0 : 1), + 'enabled'=>(!getDolGlobalString('AUDIT_ENABLE_PREFIX_SESSION') ? 0 : 1), 'position'=>110 ) ); @@ -380,11 +381,9 @@ //print ''; print ''; - if (!empty($arrayfields['e.user_agent']['checked'])) { - print ''; - print ''; - print ''; - } + print ''; + print ''; + print ''; if (!empty($arrayfields['e.prefix_session']['checked'])) { print ''; @@ -414,9 +413,7 @@ print_liste_field_titre("IP", $_SERVER["PHP_SELF"], "e.ip", "", $param, '', $sortfield, $sortorder); print_liste_field_titre("User", $_SERVER["PHP_SELF"], "u.login", "", $param, '', $sortfield, $sortorder); print_liste_field_titre("Description", $_SERVER["PHP_SELF"], "e.description", "", $param, '', $sortfield, $sortorder); - if (!empty($arrayfields['e.user_agent']['checked'])) { - print_liste_field_titre("UserAgent", $_SERVER["PHP_SELF"], "e.user_agent", "", $param, '', $sortfield, $sortorder); - } + print_liste_field_titre("UserAgent", $_SERVER["PHP_SELF"], "e.user_agent", "", $param, '', $sortfield, $sortorder); if (!empty($arrayfields['e.prefix_session']['checked'])) { print_liste_field_titre("SuffixSessionName", $_SERVER["PHP_SELF"], "e.prefix_session", "", $param, '', $sortfield, $sortorder); } @@ -477,6 +474,10 @@ // Description $text = $langs->trans($obj->description); $reg = array(); + if (InterfaceLogevents::isEventActionTextKey($obj->description)) { + $val = explode(' : ', $obj->description); + $text = $langs->trans($val[0], isset($val[1]) ? $val[1] : '', isset($val[2]) ? $val[2] : '', isset($val[3]) ? $val[3] : '', isset($val[4]) ? $val[4] : ''); + } if (preg_match('/\((.*)\)(.*)/i', $obj->description, $reg)) { $val = explode(',', $reg[1]); $text = $langs->trans($val[0], isset($val[1]) ? $val[1] : '', isset($val[2]) ? $val[2] : '', isset($val[3]) ? $val[3] : '', isset($val[4]) ? $val[4] : ''); @@ -488,19 +489,15 @@ print dol_escape_htmltag($text); print ''; - if (!empty($arrayfields['e.user_agent']['checked'])) { // User agent print ''; print dol_escape_htmltag($obj->user_agent); print ''; - } - if (!empty($arrayfields['e.prefix_session']['checked'])) { // User agent print ''; print dol_escape_htmltag($obj->prefix_session); print ''; - } // Action column if (!getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { diff --git a/htdocs/admin/tools/listsessions.php b/htdocs/admin/tools/listsessions.php index 592362b936f59..ec09a3700ef2d 100644 --- a/htdocs/admin/tools/listsessions.php +++ b/htdocs/admin/tools/listsessions.php @@ -190,7 +190,7 @@ print '
'; -if (empty($conf->global->MAIN_ONLY_LOGIN_ALLOWED)) { +if (!getDolGlobalString('MAIN_ONLY_LOGIN_ALLOWED')) { print ''.$langs->trans("LockNewSessions").''; } else { print ''.$langs->trans("UnlockNewSessions").''; diff --git a/htdocs/admin/translation.php b/htdocs/admin/translation.php index 5895ea5905d4f..37df0585a3315 100644 --- a/htdocs/admin/translation.php +++ b/htdocs/admin/translation.php @@ -155,7 +155,7 @@ $sql = "INSERT INTO ".MAIN_DB_PREFIX."overwrite_trans(lang, transkey, transvalue, entity) VALUES ('".$db->escape($langcode)."','".$db->escape($transkey)."','".$db->escape($transvalue)."', ".((int) $conf->entity).")"; $result = $db->query($sql); - if ($result > 0) { + if ($result) { $db->commit(); setEventMessages($langs->trans("RecordSaved"), null, 'mesgs'); $action = ""; @@ -177,7 +177,7 @@ if ($action == 'delete') { $sql = "DELETE FROM ".MAIN_DB_PREFIX."overwrite_trans WHERE rowid = ".((int) $id); $result = $db->query($sql); - if ($result >= 0) { + if ($result) { setEventMessages($langs->trans("RecordDeleted"), null, 'mesgs'); } else { dol_print_error($db); @@ -202,7 +202,7 @@ $enabledisablehtml = ''; $enabledisablehtml .= $langs->trans("EnableOverwriteTranslation").' '; -if (empty($conf->global->MAIN_ENABLE_OVERWRITE_TRANSLATION)) { +if (!getDolGlobalString('MAIN_ENABLE_OVERWRITE_TRANSLATION')) { // Button off, click to enable $enabledisablehtml .= ''; $enabledisablehtml .= img_picto($langs->trans("Disabled"), 'switch_off'); @@ -319,11 +319,11 @@ print ''; $disabled = ''; - if ($action == 'edit' || empty($conf->global->MAIN_ENABLE_OVERWRITE_TRANSLATION)) { + if ($action == 'edit' || !getDolGlobalString('MAIN_ENABLE_OVERWRITE_TRANSLATION')) { $disabled = ' disabled="disabled"'; } $disablededit = ''; - if ($action == 'edit' || empty($conf->global->MAIN_ENABLE_OVERWRITE_TRANSLATION)) { + if ($action == 'edit' || !getDolGlobalString('MAIN_ENABLE_OVERWRITE_TRANSLATION')) { $disablededit = ' disabled'; } @@ -583,7 +583,7 @@ print '  '; $htmltext = $langs->trans("OriginalValueWas", ''.$newlangfileonly->tab_translate[$key].''); print $form->textwithpicto('', $htmltext, 1, 'info'); - } elseif (!empty($conf->global->MAIN_ENABLE_OVERWRITE_TRANSLATION)) { + } elseif (getDolGlobalString('MAIN_ENABLE_OVERWRITE_TRANSLATION')) { //print $key.'-'.$val; print ''.img_edit_add($langs->trans("TranslationOverwriteKey")).''; } diff --git a/htdocs/admin/user.php b/htdocs/admin/user.php index 20eb7a0c0b268..8bd502a84d1a1 100644 --- a/htdocs/admin/user.php +++ b/htdocs/admin/user.php @@ -158,7 +158,7 @@ if ($conf->use_javascript_ajax) { print ajax_constantonoff('USER_MAIL_REQUIRED'); } else { - if (empty($conf->global->USER_MAIL_REQUIRED)) { + if (!getDolGlobalString('USER_MAIL_REQUIRED')) { print ''.img_picto($langs->trans("Disabled"), 'off').''; } else { print ''.img_picto($langs->trans("Enabled"), 'on').''; @@ -176,7 +176,7 @@ if ($conf->use_javascript_ajax) { print ajax_constantonoff('USER_HIDE_INACTIVE_IN_COMBOBOX'); } else { - if (empty($conf->global->USER_HIDE_INACTIVE_IN_COMBOBOX)) { + if (!getDolGlobalString('USER_HIDE_INACTIVE_IN_COMBOBOX')) { print ''.img_picto($langs->trans("Disabled"), 'off').''; } else { print ''.img_picto($langs->trans("Enabled"), 'on').''; diff --git a/htdocs/admin/webhook.php b/htdocs/admin/webhook.php index 5495a7633a2fa..8e978a30621a7 100644 --- a/htdocs/admin/webhook.php +++ b/htdocs/admin/webhook.php @@ -55,12 +55,7 @@ $useFormSetup = 1; if (!class_exists('FormSetup')) { - // For retrocompatibility Dolibarr < 16.0 - if (floatval(DOL_VERSION) < 16.0 && !class_exists('FormSetup')) { - require_once __DIR__.'/../backport/v16/core/class/html.formsetup.class.php'; - } else { - require_once DOL_DOCUMENT_ROOT.'/core/class/html.formsetup.class.php'; - } + require_once DOL_DOCUMENT_ROOT.'/core/class/html.formsetup.class.php'; } $formSetup = new FormSetup($db); diff --git a/htdocs/admin/website_options.php b/htdocs/admin/website_options.php index 0a7497411520a..73a1cddbc684f 100644 --- a/htdocs/admin/website_options.php +++ b/htdocs/admin/website_options.php @@ -1,9 +1,9 @@ * - * This program is free software; you can redistribute it and/or modify + * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 3 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -39,14 +39,6 @@ $confirm = GETPOST('confirm', 'alpha'); $backtopage = GETPOST('backtopage', 'alpha'); -$rowid = GETPOST('rowid', 'alpha'); - -if (!$user->admin) { - accessforbidden(); -} - -$status = 1; - // Load variable for pagination $limit = GETPOST('limit', 'int') ?GETPOST('limit', 'int') : $conf->liste_limit; $sortfield = GETPOST('sortfield', 'aZ09comma'); @@ -64,6 +56,25 @@ $arrayofparameters = array('WEBSITE_USE_WEBSITE_ACCOUNTS'=>array('css'=>'minwidth200')); +$status = 1; +$rowid = GETPOST('rowid', 'alpha'); + +if (!$user->admin || !isModEnabled('website')) { + accessforbidden(); +} + +// Set this to 1 to use the factory to manage constants. Warning, the generated module will be compatible with version v15+ only +/* +$useFormSetup = 1; + +if (!class_exists('FormSetup')) { + require_once DOL_DOCUMENT_ROOT.'/core/class/html.formsetup.class.php'; +} +$formSetup = new FormSetup($db); + +$item = $formSetup->newItem('NO_PARAM_JUST_TEXT'); +*/ + /* * Actions @@ -102,46 +113,45 @@ print dol_get_fiche_head($head, 'options', '', -1); -if ($action == 'edit') { - print ''; - print ''; - print ''; - print ''; - print ''; +print '
'; +print '
'.$langs->trans("Parameter").''.$langs->trans("Value").'
'; +print ''; +print ''; +print ''; +print ''."\n"; +print ''; - foreach ($arrayofparameters as $key => $val) { - print ''; - } - print '
'.$langs->trans("Parameter").' '.$langs->trans("Value").'
'; - print $form->textwithpicto($langs->trans($key), $langs->trans($key.'Tooltip')); - print '
'; +// Mail required for users - print '
'; - print ''; - print '
'; +print ''; +print ''; +print $form->textwithpicto($langs->trans('WEBSITE_USE_WEBSITE_ACCOUNTS'), $langs->trans('WEBSITE_USE_WEBSITE_ACCOUNTSTooltip')); +print ''; +print ' '; - print ''; - print '
'; +print ''; +if (!empty($conf->use_javascript_ajax)) { + print ajax_constantonoff('WEBSITE_USE_WEBSITE_ACCOUNTS'); } else { - print ''; - print ''; - - foreach ($arrayofparameters as $key => $val) { - print ''; + if (!getDolGlobalString('WEBSITE_USE_WEBSITE_ACCOUNTS')) { + print ''.img_picto($langs->trans("Disabled"), 'off').''; + } else { + print ''.img_picto($langs->trans("Enabled"), 'on').''; } +} +print ''; + - print '
'.$langs->trans("Parameter").''.$langs->trans("Value").'
'; - print $form->textwithpicto($langs->trans($key), $langs->trans($key.'Tooltip')); - print ''.getDolGlobalString($key).'
'; +print ''; +if (empty($conf->use_javascript_ajax)) { print '
'; print ''.$langs->trans("Modify").''; print '
'; } - print dol_get_fiche_end(); // End of page diff --git a/htdocs/admin/workflow.php b/htdocs/admin/workflow.php index a6cb4ee62ca94..bf275cd7db4e9 100644 --- a/htdocs/admin/workflow.php +++ b/htdocs/admin/workflow.php @@ -131,7 +131,7 @@ 'WORKFLOW_ORDER_CLASSIFY_RECEIVED_RECEPTION'=>array( 'family'=>'classify_supplier_order', 'position'=>63, - 'enabled'=>(!empty($conf->global->MAIN_FEATURES_LEVEL) && isModEnabled("reception") && isModEnabled('supplier_order')), + 'enabled'=>(getDolGlobalString('MAIN_FEATURES_LEVEL') && isModEnabled("reception") && isModEnabled('supplier_order')), 'picto'=>'supplier_order', 'warning'=>'' ), @@ -139,7 +139,7 @@ 'WORKFLOW_ORDER_CLASSIFY_RECEIVED_RECEPTION_CLOSED'=>array( 'family'=>'classify_supplier_order', 'position'=>64, - 'enabled'=>(!empty($conf->global->MAIN_FEATURES_LEVEL) && isModEnabled("reception") && isModEnabled('supplier_order')), + 'enabled'=>(getDolGlobalString('MAIN_FEATURES_LEVEL') && isModEnabled("reception") && isModEnabled('supplier_order')), 'picto'=>'supplier_order', 'warning'=>'' ), diff --git a/htdocs/api/admin/explorer_withredoc.php b/htdocs/api/admin/explorer_withredoc.php index 45dd31d57c981..3a3383b1efdeb 100644 --- a/htdocs/api/admin/explorer_withredoc.php +++ b/htdocs/api/admin/explorer_withredoc.php @@ -27,7 +27,7 @@ require_once '../../main.inc.php'; // Enable and test if module Api is enabled -if (empty($conf->global->MAIN_MODULE_API)) { +if (!isModEnabled('api') ) { $langs->load("admin"); dol_syslog("Call of Dolibarr API interfaces with module API REST are disabled"); print $langs->trans("WarningModuleNotActive", 'Api').'.

'; @@ -37,7 +37,7 @@ } // Test if explorer is not disabled -if (!empty($conf->global->API_EXPLORER_DISABLED)) { +if (getDolGlobalString('API_EXPLORER_DISABLED')) { $langs->load("admin"); dol_syslog("Call Dolibarr API interfaces with module REST disabled"); print $langs->trans("WarningAPIExplorerDisabled").'.

'; @@ -46,11 +46,11 @@ } // Restrict API to some IPs -if (!empty($conf->global->API_RESTRICT_ON_IP)) { +if (getDolGlobalString('API_RESTRICT_ON_IP')) { $allowedip = explode(' ', $conf->global->API_RESTRICT_ON_IP); $ipremote = getUserRemoteIP(); if (!in_array($ipremote, $allowedip)) { - dol_syslog('Remote ip is '.$ipremote.', not into list '.$conf->global->API_RESTRICT_ON_IP); + dol_syslog('Remote ip is '.$ipremote.', not into list ' . getDolGlobalString('API_RESTRICT_ON_IP')); print 'APIs are not allowed from the IP '.$ipremote; header('HTTP/1.1 503 API not allowed from your IP '.$ipremote); //session_destroy(); diff --git a/htdocs/api/admin/index.php b/htdocs/api/admin/index.php index d618c65836b8f..86c3db5fea9c6 100644 --- a/htdocs/api/admin/index.php +++ b/htdocs/api/admin/index.php @@ -116,7 +116,7 @@ print ''; print ''.$langs->trans("ApiProductionMode").''; -$production_mode = (empty($conf->global->API_PRODUCTION_MODE) ?false:true); +$production_mode = (!getDolGlobalString('API_PRODUCTION_MODE') ?false:true); if ($production_mode) { print ''; print img_picto($langs->trans("Activated"), 'switch_on'); @@ -131,7 +131,7 @@ print ''; print ''.$langs->trans("API_DISABLE_COMPRESSION").''; -$disable_compression = (empty($conf->global->API_DISABLE_COMPRESSION) ?false:true); +$disable_compression = (!getDolGlobalString('API_DISABLE_COMPRESSION') ?false:true); if ($disable_compression) { print ''; print img_picto($langs->trans("Activated"), 'switch_on'); diff --git a/htdocs/api/class/api.class.php b/htdocs/api/class/api.class.php index 40d2b3db7988f..fbd57d7afc3df 100644 --- a/htdocs/api/class/api.class.php +++ b/htdocs/api/class/api.class.php @@ -56,7 +56,7 @@ public function __construct($db, $cachedir = '', $refreshCache = false) Defaults::$cacheDirectory = $cachedir; $this->db = $db; - $production_mode = (empty($conf->global->API_PRODUCTION_MODE) ? false : true); + $production_mode = (!getDolGlobalString('API_PRODUCTION_MODE') ? false : true); $this->r = new Restler($production_mode, $refreshCache); $urlwithouturlroot = preg_replace('/'.preg_quote(DOL_URL_ROOT, '/').'$/i', '', trim($dolibarr_main_url_root)); diff --git a/htdocs/api/class/api_access.class.php b/htdocs/api/class/api_access.class.php index 48d57c67506c3..04c26a0e74946 100644 --- a/htdocs/api/class/api_access.class.php +++ b/htdocs/api/class/api_access.class.php @@ -30,6 +30,7 @@ require_once DOL_DOCUMENT_ROOT.'/includes/restler/framework/Luracast/Restler/Resources.php'; require_once DOL_DOCUMENT_ROOT.'/includes/restler/framework/Luracast/Restler/Defaults.php'; require_once DOL_DOCUMENT_ROOT.'/includes/restler/framework/Luracast/Restler/RestException.php'; + use Luracast\Restler\iAuthenticate; use Luracast\Restler\iUseAuthentication; use Luracast\Restler\Resources; diff --git a/htdocs/api/class/api_documents.class.php b/htdocs/api/class/api_documents.class.php index bee4530e0946a..11afb4ca9e184 100644 --- a/htdocs/api/class/api_documents.class.php +++ b/htdocs/api/class/api_documents.class.php @@ -22,6 +22,7 @@ use Luracast\Restler\Format\UploadFormat; require_once DOL_DOCUMENT_ROOT.'/main.inc.php'; +require_once DOL_DOCUMENT_ROOT.'/api/class/api.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php'; /** @@ -120,7 +121,7 @@ public function index($modulepart, $original_file = '') * * Test sample 1: { "modulepart": "invoice", "original_file": "FA1701-001/FA1701-001.pdf", "doctemplate": "crabe", "langcode": "fr_FR" }. * - * Supported modules: invoice, order, proposal, contract + * Supported modules: invoice, order, proposal, contract, shipment * * @param string $modulepart Name of module or area concerned by file download ('thirdparty', 'member', 'proposal', 'supplier_proposal', 'order', 'supplier_order', 'invoice', 'supplier_invoice', 'shipment', 'project', ...) * @param string $original_file Relative path with filename, relative to modulepart (for example: IN201701-999/IN201701-999.pdf). @@ -180,9 +181,9 @@ public function builddoc($modulepart, $original_file = '', $doctemplate = '', $l } // --- Generates the document - $hidedetails = empty($conf->global->MAIN_GENERATE_DOCUMENTS_HIDE_DETAILS) ? 0 : 1; - $hidedesc = empty($conf->global->MAIN_GENERATE_DOCUMENTS_HIDE_DESC) ? 0 : 1; - $hideref = empty($conf->global->MAIN_GENERATE_DOCUMENTS_HIDE_REF) ? 0 : 1; + $hidedetails = !getDolGlobalString('MAIN_GENERATE_DOCUMENTS_HIDE_DETAILS') ? 0 : 1; + $hidedesc = !getDolGlobalString('MAIN_GENERATE_DOCUMENTS_HIDE_DESC') ? 0 : 1; + $hideref = !getDolGlobalString('MAIN_GENERATE_DOCUMENTS_HIDE_REF') ? 0 : 1; $templateused = ''; @@ -249,6 +250,22 @@ public function builddoc($modulepart, $original_file = '', $doctemplate = '', $l $templateused = $doctemplate ? $doctemplate : $tmpobject->model_pdf; $result = $tmpobject->generateDocument($templateused, $outputlangs, $hidedetails, $hidedesc, $hideref); + if ($result <= 0) { + throw new RestException(500, 'Error generating document missing doctemplate parameter'); + } + } elseif ($modulepart == 'expedition' || $modulepart == 'shipment') { + require_once DOL_DOCUMENT_ROOT . '/expedition/class/expedition.class.php'; + + $tmpobject = new Expedition($this->db); + $result = $tmpobject->fetch(0, preg_replace('/\.[^\.]+$/', '', basename($original_file))); + + if (!$result) { + throw new RestException(404, 'Shipment not found'); + } + + $templateused = $doctemplate ? $doctemplate : $tmpobject->model_pdf; + $result = $tmpobject->generateDocument($templateused, $outputlangs, $hidedetails, $hidedesc, $hideref); + if ($result <= 0) { throw new RestException(500, 'Error generating document missing doctemplate parameter'); } @@ -579,7 +596,9 @@ public function getDocumentsListByElement($modulepart, $id = 0, $ref = '', $sort } elseif (is_array($ecmfile->lines) && count($ecmfile->lines) > 0) { $count = count($filearray); for ($i = 0 ; $i < $count ; $i++) { - if ($filearray[$i]['name'] == $ecmfile->lines[$i]->filename) $filearray[$i] = array_merge($filearray[$i], (array) $ecmfile->lines[0]); + if ($filearray[$i]['name'] == $ecmfile->lines[$i]->filename) { + $filearray[$i] = array_merge($filearray[$i], (array) $ecmfile->lines[0]); + } } } } @@ -604,7 +623,7 @@ public function get($id) { /** - * Upload a file. + * Upload a document. * * Test sample for invoice: { "filename": "mynewfile.txt", "modulepart": "invoice", "ref": "FA1701-001", "subdir": "", "filecontent": "content text", "fileencoding": "", "overwriteifexists": "0" }. * Test sample for supplier invoice: { "filename": "mynewfile.txt", "modulepart": "supplier_invoice", "ref": "FA1701-001", "subdir": "", "filecontent": "content text", "fileencoding": "", "overwriteifexists": "0" }. @@ -637,14 +656,12 @@ public function post($filename, $modulepart, $ref = '', $subdir = '', $fileconte //var_dump($filename); //var_dump($filecontent);exit; + $modulepartorig = $modulepart; + if (empty($modulepart)) { throw new RestException(400, 'Modulepart not provided.'); } - if (!DolibarrApiAccess::$user->rights->ecm->upload) { - throw new RestException(401); - } - $newfilecontent = ''; if (empty($fileencoding)) { $newfilecontent = $filecontent; @@ -766,10 +783,17 @@ public function post($filename, $modulepart, $ref = '', $subdir = '', $fileconte $tmpreldir = get_exdir($object->id, 2, 0, 0, $object, 'invoice_supplier'); } - $relativefile = $tmpreldir.dol_sanitizeFileName($object->ref); - - $tmp = dol_check_secure_access_document($modulepart, $relativefile, $entity, DolibarrApiAccess::$user, $ref, 'write'); - $upload_dir = $tmp['original_file']; // No dirname here, tmp['original_file'] is already the dir because dol_check_secure_access_document was called with param original_file that is only the dir + // Test on permissions + if ($modulepart != 'ecm') { + $relativefile = $tmpreldir.dol_sanitizeFileName($object->ref); + $tmp = dol_check_secure_access_document($modulepart, $relativefile, $entity, DolibarrApiAccess::$user, $ref, 'write'); + $upload_dir = $tmp['original_file']; // No dirname here, tmp['original_file'] is already the dir because dol_check_secure_access_document was called with param original_file that is only the dir + } else { + if (!DolibarrApiAccess::$user->hasRight('ecm', 'upload')) { + throw new RestException(401, 'Missing permission to upload files in ECM module'); + } + $upload_dir = $conf->medias->multidir_output[$conf->entity]; + } if (empty($upload_dir) || $upload_dir == '/') { throw new RestException(500, 'This value of modulepart ('.$modulepart.') does not support yet usage of ref. Check modulepart parameter or try to use subdir parameter instead of ref.'); @@ -782,9 +806,17 @@ public function post($filename, $modulepart, $ref = '', $subdir = '', $fileconte $modulepart = 'adherent'; } - $relativefile = $subdir; - $tmp = dol_check_secure_access_document($modulepart, $relativefile, $entity, DolibarrApiAccess::$user, '', 'write'); - $upload_dir = $tmp['original_file']; // No dirname here, tmp['original_file'] is already the dir because dol_check_secure_access_document was called with param original_file that is only the dir + // Test on permissions + if ($modulepart != 'ecm') { + $relativefile = $subdir; + $tmp = dol_check_secure_access_document($modulepart, $relativefile, $entity, DolibarrApiAccess::$user, '', 'write'); + $upload_dir = $tmp['original_file']; // No dirname here, tmp['original_file'] is already the dir because dol_check_secure_access_document was called with param original_file that is only the dir + } else { + if (!DolibarrApiAccess::$user->hasRight('ecm', 'upload')) { + throw new RestException(401, 'Missing permission to upload files in ECM module'); + } + $upload_dir = $conf->medias->multidir_output[$conf->entity]; + } if (empty($upload_dir) || $upload_dir == '/') { if (!empty($tmp['error'])) { @@ -848,7 +880,7 @@ public function post($filename, $modulepart, $ref = '', $subdir = '', $fileconte // Security: // Disallow file with some extensions. We rename them. // Because if we put the documents directory into a directory inside web root (very bad), this allows to execute on demand arbitrary code. - if (isAFileWithExecutableContent($dest_file) && empty($conf->global->MAIN_DOCUMENT_IS_OUTSIDE_WEBROOT_SO_NOEXE_NOT_REQUIRED)) { + if (isAFileWithExecutableContent($dest_file) && !getDolGlobalString('MAIN_DOCUMENT_IS_OUTSIDE_WEBROOT_SO_NOEXE_NOT_REQUIRED')) { // $upload_dir ends with a slash, so be must be sure the medias dir to compare to ends with slash too. $publicmediasdirwithslash = $conf->medias->multidir_output[$conf->entity]; if (!preg_match('/\/$/', $publicmediasdirwithslash)) { @@ -874,7 +906,14 @@ public function post($filename, $modulepart, $ref = '', $subdir = '', $fileconte throw new RestException(500, "Refused to deliver file ".$dest_file); } - $result = dol_move($destfiletmp, $dest_file, 0, $overwriteifexists, 1, 1); + $moreinfo = array('note_private' => 'File uploaded using API /documents from IP '.getUserRemoteIP()); + if (!empty($object) && is_object($object) && $object->id > 0) { + $moreinfo['src_object_type'] = $object->table_element; + $moreinfo['src_object_id'] = $object->id; + } + + // Move the temporary file at its final emplacement + $result = dol_move($destfiletmp, $dest_file, 0, $overwriteifexists, 1, 1, $moreinfo); if (!$result) { throw new RestException(500, "Failed to move file into '".$destfile."'"); } diff --git a/htdocs/api/class/api_login.class.php b/htdocs/api/class/api_login.class.php index e69de5f62fc6c..9e99a20e6c99d 100644 --- a/htdocs/api/class/api_login.class.php +++ b/htdocs/api/class/api_login.class.php @@ -40,7 +40,7 @@ public function __construct() $this->db = $db; //$conf->global->MAIN_MODULE_API_LOGIN_DISABLED = 1; - if (!empty($conf->global->MAIN_MODULE_API_LOGIN_DISABLED)) { + if (getDolGlobalString('MAIN_MODULE_API_LOGIN_DISABLED')) { throw new RestException(403, "Error login APIs are disabled. You must get the token from backoffice to be able to use APIs"); } } @@ -93,7 +93,7 @@ public function index($login, $password, $entity = '', $reset = 0) global $conf, $dolibarr_main_authentication, $dolibarr_auto_user; // Is the login API disabled ? The token must be generated from backoffice only. - if (!empty($conf->global->API_DISABLE_LOGIN_API)) { + if (getDolGlobalString('API_DISABLE_LOGIN_API')) { dol_syslog("Warning: A try to use the login API has been done while the login API is disabled. You must generate or get the token from the backoffice.", LOG_WARNING); throw new RestException(403, "Error, the login API has been disabled for security purpose. You must generate or get the token from the backoffice."); } @@ -144,7 +144,7 @@ public function index($login, $password, $entity = '', $reset = 0) // Renew the hash if (empty($tmpuser->api_key) || $reset) { $tmpuser->getrights(); - if (empty($tmpuser->rights->user->self->creer)) { + if (!$tmpuser->hasRight('user', 'self', 'creer')) { if (empty($tmpuser->api_key)) { throw new RestException(403, 'No API token set for this user and user need write permission on itself to reset its API token'); } else { @@ -153,7 +153,7 @@ public function index($login, $password, $entity = '', $reset = 0) } // Generate token for user - $token = dol_hash($login.uniqid().(empty($conf->global->MAIN_API_KEY)?'':$conf->global->MAIN_API_KEY), 1); + $token = dol_hash($login.uniqid().(!getDolGlobalString('MAIN_API_KEY')?'':$conf->global->MAIN_API_KEY), 1); // We store API token into database $sql = "UPDATE ".MAIN_DB_PREFIX."user"; diff --git a/htdocs/api/class/api_setup.class.php b/htdocs/api/class/api_setup.class.php index abb09397361a3..5622d3e0e97b9 100644 --- a/htdocs/api/class/api_setup.class.php +++ b/htdocs/api/class/api_setup.class.php @@ -24,6 +24,7 @@ use Luracast\Restler\RestException; require_once DOL_DOCUMENT_ROOT.'/main.inc.php'; +require_once DOL_DOCUMENT_ROOT.'/api/class/api.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/class/cstate.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/class/cregion.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/class/ccountry.class.php'; @@ -1860,7 +1861,7 @@ public function getCompany() global $conf, $mysoc; if (!DolibarrApiAccess::$user->admin - && (empty($conf->global->API_LOGINS_ALLOWED_FOR_GET_COMPANY) || DolibarrApiAccess::$user->login != $conf->global->API_LOGINS_ALLOWED_FOR_GET_COMPANY)) { + && (!getDolGlobalString('API_LOGINS_ALLOWED_FOR_GET_COMPANY') || DolibarrApiAccess::$user->login != $conf->global->API_LOGINS_ALLOWED_FOR_GET_COMPANY)) { throw new RestException(403, 'Error API open to admin users only or to the users with logins defined into constant API_LOGINS_ALLOWED_FOR_GET_COMPANY'); } @@ -2012,7 +2013,7 @@ public function getCheckIntegrity($target) global $langs, $conf; if (!DolibarrApiAccess::$user->admin - && (empty($conf->global->API_LOGINS_ALLOWED_FOR_INTEGRITY_CHECK) || DolibarrApiAccess::$user->login != $conf->global->API_LOGINS_ALLOWED_FOR_INTEGRITY_CHECK)) { + && (!getDolGlobalString('API_LOGINS_ALLOWED_FOR_INTEGRITY_CHECK') || DolibarrApiAccess::$user->login != $conf->global->API_LOGINS_ALLOWED_FOR_INTEGRITY_CHECK)) { throw new RestException(403, 'Error API open to admin users only or to the users with logins defined into constant API_LOGINS_ALLOWED_FOR_INTEGRITY_CHECK'); } @@ -2028,11 +2029,11 @@ public function getCheckIntegrity($target) $file_list = array('missing' => array(), 'updated' => array()); // Local file to compare to - $xmlshortfile = dol_sanitizeFileName(GETPOST('xmlshortfile', 'alpha') ? GETPOST('xmlshortfile', 'alpha') : 'filelist-'.DOL_VERSION.(empty($conf->global->MAIN_FILECHECK_LOCAL_SUFFIX) ? '' : $conf->global->MAIN_FILECHECK_LOCAL_SUFFIX).'.xml'.(empty($conf->global->MAIN_FILECHECK_LOCAL_EXT) ? '' : $conf->global->MAIN_FILECHECK_LOCAL_EXT)); + $xmlshortfile = dol_sanitizeFileName(GETPOST('xmlshortfile', 'alpha') ? GETPOST('xmlshortfile', 'alpha') : 'filelist-'.DOL_VERSION.(!getDolGlobalString('MAIN_FILECHECK_LOCAL_SUFFIX') ? '' : $conf->global->MAIN_FILECHECK_LOCAL_SUFFIX).'.xml'.(!getDolGlobalString('MAIN_FILECHECK_LOCAL_EXT') ? '' : $conf->global->MAIN_FILECHECK_LOCAL_EXT)); $xmlfile = DOL_DOCUMENT_ROOT.'/install/'.$xmlshortfile; // Remote file to compare to $xmlremote = ($target == 'default' ? '' : $target); - if (empty($xmlremote) && !empty($conf->global->MAIN_FILECHECK_URL)) { + if (empty($xmlremote) && getDolGlobalString('MAIN_FILECHECK_URL')) { $xmlremote = $conf->global->MAIN_FILECHECK_URL; } $param = 'MAIN_FILECHECK_URL_'.DOL_VERSION; @@ -2318,7 +2319,7 @@ public function getModules() global $conf; if (!DolibarrApiAccess::$user->admin - && (empty($conf->global->API_LOGINS_ALLOWED_FOR_GET_MODULES) || DolibarrApiAccess::$user->login != $conf->global->API_LOGINS_ALLOWED_FOR_GET_MODULES)) { + && (!getDolGlobalString('API_LOGINS_ALLOWED_FOR_GET_MODULES') || DolibarrApiAccess::$user->login != $conf->global->API_LOGINS_ALLOWED_FOR_GET_MODULES)) { throw new RestException(403, 'Error API open to admin users only or to the users with logins defined into constant API_LOGINS_ALLOWED_FOR_GET_MODULES'); } diff --git a/htdocs/api/class/api_status.class.php b/htdocs/api/class/api_status.class.php index fdde1c6978813..899bd1b40aa90 100644 --- a/htdocs/api/class/api_status.class.php +++ b/htdocs/api/class/api_status.class.php @@ -15,6 +15,7 @@ * along with this program. If not, see . */ +require_once DOL_DOCUMENT_ROOT.'/api/class/api.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/functions.lib.php'; @@ -48,7 +49,7 @@ public function index() 'success' => array( 'code' => 200, 'dolibarr_version' => DOL_VERSION, - 'access_locked' => (empty($conf->global->MAIN_ONLY_LOGIN_ALLOWED) ? '0' : $conf->global->MAIN_ONLY_LOGIN_ALLOWED), + 'access_locked' => (!getDolGlobalString('MAIN_ONLY_LOGIN_ALLOWED') ? '0' : $conf->global->MAIN_ONLY_LOGIN_ALLOWED), ), ); } diff --git a/htdocs/api/index.php b/htdocs/api/index.php index 0e2f615b3d7bb..d449e16339a48 100644 --- a/htdocs/api/index.php +++ b/htdocs/api/index.php @@ -107,12 +107,12 @@ $url = $_SERVER['PHP_SELF'].(empty($_SERVER['PATH_INFO']) ? $_SERVER['ORIG_PATH_INFO'] : $_SERVER['PATH_INFO']); } // Fix for some NGINX setups (this should not be required even with NGINX, however setup of NGINX are often mysterious and this may help is such cases) -if (!empty($conf->global->MAIN_NGINX_FIX)) { +if (getDolGlobalString('MAIN_NGINX_FIX')) { $url = (isset($_SERVER['SCRIPT_URI']) && $_SERVER["SCRIPT_URI"] !== null) ? $_SERVER["SCRIPT_URI"] : $_SERVER['PHP_SELF']; } // Enable and test if module Api is enabled -if (empty($conf->global->MAIN_MODULE_API)) { +if (!isModEnabled('api') ) { $langs->load("admin"); dol_syslog("Call of Dolibarr API interfaces with module API REST are disabled"); print $langs->trans("WarningModuleNotActive", 'Api').'.

'; @@ -122,7 +122,7 @@ } // Test if explorer is not disabled -if (preg_match('/api\/index\.php\/explorer/', $url) && !empty($conf->global->API_EXPLORER_DISABLED)) { +if (preg_match('/api\/index\.php\/explorer/', $url) && getDolGlobalString('API_EXPLORER_DISABLED')) { $langs->load("admin"); dol_syslog("Call Dolibarr API interfaces with module API REST disabled"); print $langs->trans("WarningAPIExplorerDisabled").'.

'; @@ -154,7 +154,7 @@ // But, if we set $refreshcache to false, so it may have only one API in the routes.php file if we make a call for one API without // using the explorer. And when we make another call for another API, the API is not into the api/temp/routes.php and a 404 is returned. // So we force refresh to each call. -$refreshcache = (empty($conf->global->API_PRODUCTION_DO_NOT_ALWAYS_REFRESH_CACHE) ? true : false); +$refreshcache = (!getDolGlobalString('API_PRODUCTION_DO_NOT_ALWAYS_REFRESH_CACHE') ? true : false); if (!empty($reg[1]) && $reg[1] == 'explorer' && ($reg[2] == '/swagger.json' || $reg[2] == '/swagger.json/root' || $reg[2] == '/resources.json' || $reg[2] == '/resources.json/root')) { $refreshcache = true; if (!is_writable($conf->api->dir_temp)) { @@ -167,7 +167,7 @@ //var_dump($api->r->apiVersionMap); // If MAIN_API_DEBUG is set to 1, we save logs into file "dolibarr_api.log" -if (!empty($conf->global->MAIN_API_DEBUG)) { +if (getDolGlobalString('MAIN_API_DEBUG')) { $r = $api->r; $r->onCall(function () use ($r) { // Don't log Luracast Restler Explorer recources calls @@ -197,11 +197,11 @@ // Restrict API to some IPs -if (!empty($conf->global->API_RESTRICT_ON_IP)) { +if (getDolGlobalString('API_RESTRICT_ON_IP')) { $allowedip = explode(' ', $conf->global->API_RESTRICT_ON_IP); $ipremote = getUserRemoteIP(); if (!in_array($ipremote, $allowedip)) { - dol_syslog('Remote ip is '.$ipremote.', not into list '.$conf->global->API_RESTRICT_ON_IP); + dol_syslog('Remote ip is '.$ipremote.', not into list ' . getDolGlobalString('API_RESTRICT_ON_IP')); print 'APIs are not allowed from the IP '.$ipremote; header('HTTP/1.1 503 API not allowed from your IP '.$ipremote); //session_destroy(); @@ -261,7 +261,7 @@ } //$conf->global->MAIN_MODULE_API_LOGIN_DISABLED = 1; - if ($file_searched == 'api_login.class.php' && !empty($conf->global->MAIN_MODULE_API_LOGIN_DISABLED)) { + if ($file_searched == 'api_login.class.php' && getDolGlobalString('MAIN_MODULE_API_LOGIN_DISABLED')) { continue; } @@ -342,7 +342,7 @@ // Test rules on endpoints. For example: // $conf->global->API_ENDPOINT_RULES = 'endpoint1:1,endpoint2:1,...' - if (!empty($conf->global->API_ENDPOINT_RULES)) { + if (getDolGlobalString('API_ENDPOINT_RULES')) { $listofendpoints = explode(',', $conf->global->API_ENDPOINT_RULES); $endpointisallowed = false; @@ -363,7 +363,7 @@ } } - dol_syslog('Search api file /'.$moduledirforclass.'/class/api_'.$classfile.'.class.php => dir_part_file='.$dir_part_file.' classname='.$classname); + dol_syslog('Search api file /'.$moduledirforclass.'/class/api_'.$classfile.'.class.php => dir_part_file='.$dir_part_file.', classname='.$classname); $res = false; if ($dir_part_file) { @@ -388,7 +388,7 @@ // We do not want that restler outputs data if we use native compression (default behaviour) but we want to have it returned into a string. // If API_DISABLE_COMPRESSION is set, returnResponse is false => It use default handling so output result directly. -$usecompression = (empty($conf->global->API_DISABLE_COMPRESSION) && !empty($_SERVER['HTTP_ACCEPT_ENCODING'])); +$usecompression = (!getDolGlobalString('API_DISABLE_COMPRESSION') && !empty($_SERVER['HTTP_ACCEPT_ENCODING'])); $foundonealgorithm = 0; if ($usecompression) { if (strpos($_SERVER['HTTP_ACCEPT_ENCODING'], 'br') !== false && function_exists('brotli_compress')) { diff --git a/htdocs/asset/admin/setup.php b/htdocs/asset/admin/setup.php index 3c3c05caf90a9..d3ba061b3feba 100644 --- a/htdocs/asset/admin/setup.php +++ b/htdocs/asset/admin/setup.php @@ -236,10 +236,10 @@ $module = new $file($db); // Show modules according to features level - if ($module->version == 'development' && $conf->global->MAIN_FEATURES_LEVEL < 2) { + if ($module->version == 'development' && getDolGlobalInt('MAIN_FEATURES_LEVEL') < 2) { continue; } - if ($module->version == 'experimental' && $conf->global->MAIN_FEATURES_LEVEL < 1) { + if ($module->version == 'experimental' && getDolGlobalInt('MAIN_FEATURES_LEVEL') < 1) { continue; } @@ -373,10 +373,10 @@ $module = new $classname($db); $modulequalified = 1; - if ($module->version == 'development' && $conf->global->MAIN_FEATURES_LEVEL < 2) { + if ($module->version == 'development' && getDolGlobalInt('MAIN_FEATURES_LEVEL') < 2) { $modulequalified = 0; } - if ($module->version == 'experimental' && $conf->global->MAIN_FEATURES_LEVEL < 1) { + if ($module->version == 'experimental' && getDolGlobalInt('MAIN_FEATURES_LEVEL') < 1) { $modulequalified = 0; } diff --git a/htdocs/asset/card.php b/htdocs/asset/card.php index bd3255491fc34..6ddbf261246d7 100644 --- a/htdocs/asset/card.php +++ b/htdocs/asset/card.php @@ -110,7 +110,7 @@ } } - $object->oldcopy = dol_clone($object); + $object->oldcopy = dol_clone($object, 2); $triggermodname = 'ASSET_MODIFY'; // Name of trigger action code to execute when we modify record // Action dispose object diff --git a/htdocs/asset/class/asset.class.php b/htdocs/asset/class/asset.class.php index 7f6c95e8d36cb..606aaa9b60cf2 100644 --- a/htdocs/asset/class/asset.class.php +++ b/htdocs/asset/class/asset.class.php @@ -155,7 +155,6 @@ class Asset extends CommonObject public $import_key; public $model_pdf; public $status; - public $user_cloture_id; /** * @var Asset object oldcopy @@ -183,7 +182,7 @@ public function __construct(DoliDB $db) $this->db = $db; - if (empty($conf->global->MAIN_SHOW_TECHNICAL_ID) && isset($this->fields['rowid'])) { + if (!getDolGlobalString('MAIN_SHOW_TECHNICAL_ID') && isset($this->fields['rowid'])) { $this->fields['rowid']['visible'] = 0; } if (!isModEnabled('multicompany') && isset($this->fields['entity'])) { @@ -997,8 +996,8 @@ public function calculationDepreciation() // futures depreciation lines //----------------------------------------------------- - $nb_days_in_year = !empty($conf->global->ASSET_DEPRECIATION_DURATION_PER_YEAR) ? $conf->global->ASSET_DEPRECIATION_DURATION_PER_YEAR : 365; - $nb_days_in_month = !empty($conf->global->ASSET_DEPRECIATION_DURATION_PER_MONTH) ? $conf->global->ASSET_DEPRECIATION_DURATION_PER_MONTH : 30; + $nb_days_in_year = getDolGlobalString('ASSET_DEPRECIATION_DURATION_PER_YEAR') ? $conf->global->ASSET_DEPRECIATION_DURATION_PER_YEAR : 365; + $nb_days_in_month = getDolGlobalString('ASSET_DEPRECIATION_DURATION_PER_MONTH') ? $conf->global->ASSET_DEPRECIATION_DURATION_PER_MONTH : 30; $period_amount = (double) price2num($depreciation_period_amount / $fields['duration'], 'MT'); $first_period_found = false; $first_period_date = isset($begin_period) && $begin_period > $fiscal_period_start ? $begin_period : $fiscal_period_start; @@ -1190,7 +1189,7 @@ public function dispose($user, $disposal_invoice_id, $notrigger = 0) } // Define output language - if ($result > 0 && empty($conf->global->MAIN_DISABLE_PDF_AUTOUPDATE)) { + if ($result > 0 && !getDolGlobalString('MAIN_DISABLE_PDF_AUTOUPDATE')) { if (method_exists($this, 'generateDocument')) { global $hidedetails, $hidedesc, $hideref; $outputlangs = $langs; @@ -1253,7 +1252,7 @@ public function reopen($user, $notrigger = 0) } // Define output language - if ($result > 0 && empty($conf->global->MAIN_DISABLE_PDF_AUTOUPDATE)) { + if ($result > 0 && !getDolGlobalString('MAIN_DISABLE_PDF_AUTOUPDATE')) { if (method_exists($this, 'generateDocument')) { global $hidedetails, $hidedesc, $hideref; $outputlangs = $langs; @@ -1323,7 +1322,7 @@ public function getNomUrl($withpicto = 0, $option = '', $maxlen = 0, $notooltip $linkclose = ''; if (empty($notooltip)) { - if (!empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) { + if (getDolGlobalString('MAIN_OPTIMIZEFORTEXTBROWSER')) { $label = $langs->trans("ShowAsset"); $linkclose .= ' alt="'.dol_escape_htmltag($label, 1).'"'; } @@ -1467,12 +1466,10 @@ public function info($id) $obj = $this->db->fetch_object($result); $this->id = $obj->rowid; - $this->user_creation_id = $obj->fk_user_author; - $this->user_validation_id = $obj->fk_user_valid; - $this->user_cloture_id = $obj->fk_user_cloture; + $this->user_creation_id = $obj->fk_user_creat; + $this->user_modification_id = $obj->fk_user_modif; $this->date_creation = $this->db->jdate($obj->datec); $this->date_modification = $this->db->jdate($obj->datem); - $this->date_validation = $this->db->jdate($obj->datev); } $this->db->free($result); @@ -1518,14 +1515,14 @@ public function getNextNumRef() global $langs, $conf; $langs->load("assets"); - if (empty($conf->global->ASSET_ASSET_ADDON)) { + if (!getDolGlobalString('ASSET_ASSET_ADDON')) { $conf->global->ASSET_ASSET_ADDON = 'mod_asset_standard'; } - if (!empty($conf->global->ASSET_ASSET_ADDON)) { + if (getDolGlobalString('ASSET_ASSET_ADDON')) { $mybool = false; - $file = $conf->global->ASSET_ASSET_ADDON.".php"; + $file = getDolGlobalString('ASSET_ASSET_ADDON') . ".php"; $classname = $conf->global->ASSET_ASSET_ADDON; // Include file with class diff --git a/htdocs/asset/class/assetdepreciationoptions.class.php b/htdocs/asset/class/assetdepreciationoptions.class.php index 8d52fa1a6a4b9..ae667fa85d0aa 100644 --- a/htdocs/asset/class/assetdepreciationoptions.class.php +++ b/htdocs/asset/class/assetdepreciationoptions.class.php @@ -272,7 +272,7 @@ public function setDeprecationOptionsFromPost($class_type = 0) $deprecation_options[$mode_key][$field_key] = $field_value; // Validation of fields values - if ($conf->global->MAIN_FEATURE_LEVEL >= 2 || !empty($conf->global->MAIN_ACTIVATE_VALIDATION_RESULT)) { + if (getDolGlobalInt('MAIN_FEATURE_LEVEL') >= 1 || getDolGlobalString('MAIN_ACTIVATE_VALIDATION_RESULT')) { if (!$error && !empty($field_info['validate']) && is_callable(array($this, 'validateField'))) { if (!$this->validateField($mode_info['fields'], $field_key, $value)) { $error++; diff --git a/htdocs/asset/class/assetmodel.class.php b/htdocs/asset/class/assetmodel.class.php index 458715f7123cb..7525d9fb0c264 100644 --- a/htdocs/asset/class/assetmodel.class.php +++ b/htdocs/asset/class/assetmodel.class.php @@ -157,7 +157,7 @@ public function __construct(DoliDB $db) $this->db = $db; - if (empty($conf->global->MAIN_SHOW_TECHNICAL_ID) && isset($this->fields['rowid'])) { + if (!getDolGlobalString('MAIN_SHOW_TECHNICAL_ID') && isset($this->fields['rowid'])) { $this->fields['rowid']['visible'] = 0; } if (!isModEnabled('multicompany') && isset($this->fields['entity'])) { @@ -590,7 +590,7 @@ public function getNomUrl($withpicto = 0, $option = '', $notooltip = 0, $morecss $linkclose = ''; if (empty($notooltip)) { - if (!empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) { + if (getDolGlobalString('MAIN_OPTIMIZEFORTEXTBROWSER')) { $label = $langs->trans("ShowAssetModel"); $linkclose .= ' alt="'.dol_escape_htmltag($label, 1).'"'; } @@ -733,6 +733,7 @@ public function info($id) if ($result) { if ($this->db->num_rows($result)) { $obj = $this->db->fetch_object($result); + $this->id = $obj->rowid; $this->user_creation_id = $obj->fk_user_creat; diff --git a/htdocs/asset/document.php b/htdocs/asset/document.php index 3ead3b3ed570d..73ce96c7fe705 100644 --- a/htdocs/asset/document.php +++ b/htdocs/asset/document.php @@ -73,7 +73,7 @@ $upload_dir = $conf->asset->multidir_output[$object->entity ? $object->entity : $conf->entity]."/".get_exdir(0, 0, 0, 1, $object); } -$permissiontoadd = $user->rights->asset->asset->write; // Used by the include of actions_addupdatedelete.inc.php and actions_linkedfiles.inc.php +$permissiontoadd = $user->rights->asset->write; // Used by the include of actions_addupdatedelete.inc.php and actions_linkedfiles.inc.php // Security check (enable the most restrictive one) if ($user->socid > 0) accessforbidden(); diff --git a/htdocs/asset/list.php b/htdocs/asset/list.php index 96a09b6507eba..b6ce8b39a1536 100644 --- a/htdocs/asset/list.php +++ b/htdocs/asset/list.php @@ -335,7 +335,7 @@ // Direct jump if only one record found -if ($num == 1 && !empty($conf->global->MAIN_SEARCH_DIRECT_OPEN_IF_ONLY_ONE) && $search_all && !$page) { +if ($num == 1 && getDolGlobalString('MAIN_SEARCH_DIRECT_OPEN_IF_ONLY_ONE') && $search_all && !$page) { $obj = $db->fetch_object($resql); $id = $obj->rowid; header("Location: ".DOL_URL_ROOT.'/asset/card.php?id='.$id); @@ -405,7 +405,8 @@ print ''; print ''; -$newcardbutton = dolGetButtonTitle($langs->trans('New'), '', 'fa fa-plus-circle', DOL_URL_ROOT.'/asset/card.php?action=create&backtopage='.urlencode($_SERVER['PHP_SELF']), '', $permissiontoadd); +$newcardbutton = ''; +$newcardbutton .= dolGetButtonTitle($langs->trans('New'), '', 'fa fa-plus-circle', DOL_URL_ROOT.'/asset/card.php?action=create&backtopage='.urlencode($_SERVER['PHP_SELF']), '', $permissiontoadd); print_barre_liste($title, $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, $massactionbutton, $num, $nbtotalofrecords, 'object_'.$object->picto, 0, $newcardbutton, '', $limit, 0, 0, 1); diff --git a/htdocs/asset/model/accountancy_codes.php b/htdocs/asset/model/accountancy_codes.php index 54992d56fbe42..7afed5666eeb1 100644 --- a/htdocs/asset/model/accountancy_codes.php +++ b/htdocs/asset/model/accountancy_codes.php @@ -53,8 +53,8 @@ $upload_dir = $conf->asset->multidir_output[$object->entity] . "/" . $object->id; } -$permissiontoread = ((empty($conf->global->MAIN_USE_ADVANCED_PERMS) && $user->hasRight('asset', 'read')) || (!empty($conf->global->MAIN_USE_ADVANCED_PERMS) && $user->hasRight('asset', 'model_advance', 'read'))); -$permissiontoadd = ((empty($conf->global->MAIN_USE_ADVANCED_PERMS) && $user->hasRight('asset', 'write')) || (!empty($conf->global->MAIN_USE_ADVANCED_PERMS) && $user->hasRight('asset', 'model_advance', 'write'))); // Used by the include of actions_addupdatedelete.inc.php +$permissiontoread = ((!getDolGlobalString('MAIN_USE_ADVANCED_PERMS') && $user->hasRight('asset', 'read')) || (getDolGlobalString('MAIN_USE_ADVANCED_PERMS') && $user->hasRight('asset', 'model_advance', 'read'))); +$permissiontoadd = ((!getDolGlobalString('MAIN_USE_ADVANCED_PERMS') && $user->hasRight('asset', 'write')) || (getDolGlobalString('MAIN_USE_ADVANCED_PERMS') && $user->hasRight('asset', 'model_advance', 'write'))); // Used by the include of actions_addupdatedelete.inc.php // Security check (enable the most restrictive one) if ($user->socid > 0) accessforbidden(); diff --git a/htdocs/asset/model/agenda.php b/htdocs/asset/model/agenda.php index 67aa84f86775c..686b66b0e3dac 100644 --- a/htdocs/asset/model/agenda.php +++ b/htdocs/asset/model/agenda.php @@ -82,8 +82,8 @@ $upload_dir = $conf->asset->multidir_output[$object->entity] . "/model/" . $object->id; } -$permissiontoread = ((empty($conf->global->MAIN_USE_ADVANCED_PERMS) && $user->hasRight('asset', 'read')) || (!empty($conf->global->MAIN_USE_ADVANCED_PERMS) && $user->hasRight('asset', 'model_advance', 'read'))); -$permissiontoadd = ((empty($conf->global->MAIN_USE_ADVANCED_PERMS) && $user->hasRight('asset', 'write')) || (!empty($conf->global->MAIN_USE_ADVANCED_PERMS) && $user->hasRight('asset', 'model_advance', 'write'))); // Used by the include of actions_addupdatedelete.inc.php +$permissiontoread = ((!getDolGlobalString('MAIN_USE_ADVANCED_PERMS') && $user->hasRight('asset', 'read')) || (getDolGlobalString('MAIN_USE_ADVANCED_PERMS') && $user->hasRight('asset', 'model_advance', 'read'))); +$permissiontoadd = ((!getDolGlobalString('MAIN_USE_ADVANCED_PERMS') && $user->hasRight('asset', 'write')) || (getDolGlobalString('MAIN_USE_ADVANCED_PERMS') && $user->hasRight('asset', 'model_advance', 'write'))); // Used by the include of actions_addupdatedelete.inc.php // Security check (enable the most restrictive one) if ($user->socid > 0) accessforbidden(); diff --git a/htdocs/asset/model/card.php b/htdocs/asset/model/card.php index fed3c2ba10fed..f398a8bedde85 100644 --- a/htdocs/asset/model/card.php +++ b/htdocs/asset/model/card.php @@ -69,9 +69,9 @@ // Load object include DOL_DOCUMENT_ROOT . '/core/actions_fetchobject.inc.php'; // Must be include, not include_once. -$permissiontoread = ((empty($conf->global->MAIN_USE_ADVANCED_PERMS) && $user->hasRight('asset', 'read')) || (!empty($conf->global->MAIN_USE_ADVANCED_PERMS) && $user->hasRight('asset', 'model_advance', 'read'))); -$permissiontoadd = ((empty($conf->global->MAIN_USE_ADVANCED_PERMS) && $user->hasRight('asset', 'write')) || (!empty($conf->global->MAIN_USE_ADVANCED_PERMS) && $user->hasRight('asset', 'model_advance', 'write'))); // Used by the include of actions_addupdatedelete.inc.php and actions_lineupdown.inc.php -$permissiontodelete = ((empty($conf->global->MAIN_USE_ADVANCED_PERMS) && $user->hasRight('asset', 'delete')) || (!empty($conf->global->MAIN_USE_ADVANCED_PERMS) && $user->hasRight('asset', 'model_advance', 'delete'))) || ($permissiontoadd && isset($object->status) && $object->status == $object::STATUS_DRAFT); +$permissiontoread = ((!getDolGlobalString('MAIN_USE_ADVANCED_PERMS') && $user->hasRight('asset', 'read')) || (getDolGlobalString('MAIN_USE_ADVANCED_PERMS') && $user->hasRight('asset', 'model_advance', 'read'))); +$permissiontoadd = ((!getDolGlobalString('MAIN_USE_ADVANCED_PERMS') && $user->hasRight('asset', 'write')) || (getDolGlobalString('MAIN_USE_ADVANCED_PERMS') && $user->hasRight('asset', 'model_advance', 'write'))); // Used by the include of actions_addupdatedelete.inc.php and actions_lineupdown.inc.php +$permissiontodelete = ((!getDolGlobalString('MAIN_USE_ADVANCED_PERMS') && $user->hasRight('asset', 'delete')) || (getDolGlobalString('MAIN_USE_ADVANCED_PERMS') && $user->hasRight('asset', 'model_advance', 'delete'))) || ($permissiontoadd && isset($object->status) && $object->status == $object::STATUS_DRAFT); $permissionnote = $permissiontoadd; // Used by the include of actions_setnotes.inc.php $permissiondellink = $permissiontoadd; // Used by the include of actions_dellink.inc.php $upload_dir = $conf->asset->multidir_output[isset($object->entity) ? $object->entity : 1]; diff --git a/htdocs/asset/model/depreciation_options.php b/htdocs/asset/model/depreciation_options.php index 7df00239cd3b8..7d099884157f2 100644 --- a/htdocs/asset/model/depreciation_options.php +++ b/htdocs/asset/model/depreciation_options.php @@ -53,8 +53,8 @@ $upload_dir = $conf->asset->multidir_output[$object->entity] . "/" . $object->id; } -$permissiontoread = ((empty($conf->global->MAIN_USE_ADVANCED_PERMS) && $user->hasRight('asset', 'read')) || (!empty($conf->global->MAIN_USE_ADVANCED_PERMS) && $user->hasRight('asset', 'model_advance', 'read'))); -$permissiontoadd = ((empty($conf->global->MAIN_USE_ADVANCED_PERMS) && $user->hasRight('asset', 'write')) || (!empty($conf->global->MAIN_USE_ADVANCED_PERMS) && $user->hasRight('asset', 'model_advance', 'write'))); // Used by the include of actions_addupdatedelete.inc.php +$permissiontoread = ((!getDolGlobalString('MAIN_USE_ADVANCED_PERMS') && $user->hasRight('asset', 'read')) || (getDolGlobalString('MAIN_USE_ADVANCED_PERMS') && $user->hasRight('asset', 'model_advance', 'read'))); +$permissiontoadd = ((!getDolGlobalString('MAIN_USE_ADVANCED_PERMS') && $user->hasRight('asset', 'write')) || (getDolGlobalString('MAIN_USE_ADVANCED_PERMS') && $user->hasRight('asset', 'model_advance', 'write'))); // Used by the include of actions_addupdatedelete.inc.php // Security check (enable the most restrictive one) if ($user->socid > 0) accessforbidden(); diff --git a/htdocs/asset/model/list.php b/htdocs/asset/model/list.php index 6a7928e0a1e90..c5cf11721a89e 100644 --- a/htdocs/asset/model/list.php +++ b/htdocs/asset/model/list.php @@ -121,9 +121,9 @@ $object->fields = dol_sort_array($object->fields, 'position'); $arrayfields = dol_sort_array($arrayfields, 'position'); -$permissiontoread = ((empty($conf->global->MAIN_USE_ADVANCED_PERMS) && $user->hasRight('asset', 'read')) || (!empty($conf->global->MAIN_USE_ADVANCED_PERMS) && $user->hasRight('asset', 'model_advance', 'read'))); -$permissiontoadd = ((empty($conf->global->MAIN_USE_ADVANCED_PERMS) && $user->hasRight('asset', 'write')) || (!empty($conf->global->MAIN_USE_ADVANCED_PERMS) && $user->hasRight('asset', 'model_advance', 'write'))); -$permissiontodelete = ((empty($conf->global->MAIN_USE_ADVANCED_PERMS) && $user->hasRight('asset', 'delete')) || (!empty($conf->global->MAIN_USE_ADVANCED_PERMS) && $user->hasRight('asset', 'model_advance', 'delete'))); +$permissiontoread = ((!getDolGlobalString('MAIN_USE_ADVANCED_PERMS') && $user->hasRight('asset', 'read')) || (getDolGlobalString('MAIN_USE_ADVANCED_PERMS') && $user->hasRight('asset', 'model_advance', 'read'))); +$permissiontoadd = ((!getDolGlobalString('MAIN_USE_ADVANCED_PERMS') && $user->hasRight('asset', 'write')) || (getDolGlobalString('MAIN_USE_ADVANCED_PERMS') && $user->hasRight('asset', 'model_advance', 'write'))); +$permissiontodelete = ((!getDolGlobalString('MAIN_USE_ADVANCED_PERMS') && $user->hasRight('asset', 'delete')) || (getDolGlobalString('MAIN_USE_ADVANCED_PERMS') && $user->hasRight('asset', 'model_advance', 'delete'))); // Security check if (!isModEnabled('asset')) { @@ -340,7 +340,7 @@ // Direct jump if only one record found -if ($num == 1 && !empty($conf->global->MAIN_SEARCH_DIRECT_OPEN_IF_ONLY_ONE) && $search_all && !$page) { +if ($num == 1 && getDolGlobalString('MAIN_SEARCH_DIRECT_OPEN_IF_ONLY_ONE') && $search_all && !$page) { $obj = $db->fetch_object($resql); $id = $obj->rowid; header("Location: ".DOL_URL_ROOT.'/asset/model/card.php?id='.$id); @@ -410,7 +410,8 @@ print ''; print ''; -$newcardbutton = dolGetButtonTitle($langs->trans('New'), '', 'fa fa-plus-circle', DOL_URL_ROOT.'/asset/model/card.php?action=create&backtopage='.urlencode($_SERVER['PHP_SELF']), '', $permissiontoadd); +$newcardbutton = ''; +$newcardbutton .= dolGetButtonTitle($langs->trans('New'), '', 'fa fa-plus-circle', DOL_URL_ROOT.'/asset/model/card.php?action=create&backtopage='.urlencode($_SERVER['PHP_SELF']), '', $permissiontoadd); print_barre_liste($title, $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, $massactionbutton, $num, $nbtotalofrecords, 'object_'.$object->picto, 0, $newcardbutton, '', $limit, 0, 0, 1); diff --git a/htdocs/asset/model/note.php b/htdocs/asset/model/note.php index e74709d51ebc2..56d31f9dafc30 100644 --- a/htdocs/asset/model/note.php +++ b/htdocs/asset/model/note.php @@ -51,8 +51,8 @@ $upload_dir = $conf->asset->multidir_output[$object->entity] . "/" . $object->id; } -$permissiontoread = ((empty($conf->global->MAIN_USE_ADVANCED_PERMS) && $user->hasRight('asset', 'read')) || (!empty($conf->global->MAIN_USE_ADVANCED_PERMS) && $user->hasRight('asset', 'model_advance', 'read'))); -$permissiontoadd = ((empty($conf->global->MAIN_USE_ADVANCED_PERMS) && $user->hasRight('asset', 'write')) || (!empty($conf->global->MAIN_USE_ADVANCED_PERMS) && $user->hasRight('asset', 'model_advance', 'write'))); // Used by the include of actions_addupdatedelete.inc.php +$permissiontoread = ((!getDolGlobalString('MAIN_USE_ADVANCED_PERMS') && $user->hasRight('asset', 'read')) || (getDolGlobalString('MAIN_USE_ADVANCED_PERMS') && $user->hasRight('asset', 'model_advance', 'read'))); +$permissiontoadd = ((!getDolGlobalString('MAIN_USE_ADVANCED_PERMS') && $user->hasRight('asset', 'write')) || (getDolGlobalString('MAIN_USE_ADVANCED_PERMS') && $user->hasRight('asset', 'model_advance', 'write'))); // Used by the include of actions_addupdatedelete.inc.php $permissionnote = $permissiontoadd; // Used by the include of actions_setnotes.inc.php // Security check (enable the most restrictive one) diff --git a/htdocs/asset/tpl/linkedobjectblock.tpl.php b/htdocs/asset/tpl/linkedobjectblock.tpl.php index 11d94714db83d..7dddd8cbeb140 100644 --- a/htdocs/asset/tpl/linkedobjectblock.tpl.php +++ b/htdocs/asset/tpl/linkedobjectblock.tpl.php @@ -47,7 +47,7 @@ } echo ''; echo ''.$langs->trans("Asset"); - if (!empty($showImportButton) && !empty($conf->global->MAIN_ENABLE_IMPORT_LINKED_OBJECT_LINES)) { + if (!empty($showImportButton) && getDolGlobalString('MAIN_ENABLE_IMPORT_LINKED_OBJECT_LINES')) { print '
'; @@ -55,7 +55,7 @@ echo ''.$objectlink->label.''; echo ''.dol_print_date($objectlink->date_start, 'day').''; echo ''; - if ($user->rights->asset->read) { + if ($user->hasRight('asset', 'read')) { $total = $total + $objectlink->acquisition_value_ht; echo price($objectlink->acquisition_value_ht); } diff --git a/htdocs/asterisk/wrapper.php b/htdocs/asterisk/wrapper.php index 6c68864f3ee8d..4f029e9a942bd 100644 --- a/htdocs/asterisk/wrapper.php +++ b/htdocs/asterisk/wrapper.php @@ -97,7 +97,7 @@ function llxFooter() if (!isset($conf->global->ASTERISK_PORT)) { $conf->global->ASTERISK_PORT = 5038; } -if ($conf->global->ASTERISK_INDICATIF == 'NONE') { +if (getDolGlobalString('ASTERISK_INDICATIF') == 'NONE') { $conf->global->ASTERISK_INDICATIF = ''; } if (!isset($conf->global->ASTERISK_CONTEXT)) { diff --git a/htdocs/barcode/printsheet.php b/htdocs/barcode/printsheet.php index 486e65544aacb..f257c26196c8f 100644 --- a/htdocs/barcode/printsheet.php +++ b/htdocs/barcode/printsheet.php @@ -393,7 +393,7 @@ function init_gendoc_button() print ''; print '
'; -if (!empty($user->rights->produit->lire) || $user->hasRight('service', 'lire')) { +if ($user->hasRight('produit', 'lire') || $user->hasRight('service', 'lire')) { print ''; print '
'; print '
'; diff --git a/htdocs/blockedlog/admin/blockedlog.php b/htdocs/blockedlog/admin/blockedlog.php index 0f9034e374a15..54737ff96af3c 100644 --- a/htdocs/blockedlog/admin/blockedlog.php +++ b/htdocs/blockedlog/admin/blockedlog.php @@ -104,6 +104,7 @@ print '
'; +print '
'; // You can use div-table-responsive-no-min if you dont need reserved height for your table print ''; print ''; print ''; @@ -126,7 +127,7 @@ print ''; print ''; print ''; - print ''; + print ''; print ''; print ''; @@ -176,6 +177,7 @@ print ''; print '
'.$langs->trans("Key").'
'; +print '
'; if ($withtab) { print dol_get_fiche_end(); diff --git a/htdocs/blockedlog/admin/blockedlog_list.php b/htdocs/blockedlog/admin/blockedlog_list.php index 671b016c5274f..d19019ae99faa 100644 --- a/htdocs/blockedlog/admin/blockedlog_list.php +++ b/htdocs/blockedlog/admin/blockedlog_list.php @@ -540,6 +540,7 @@ $nbshown = 0; $MAXFORSHOWLINK = 100; $object_link = ''; + $object_link_title = ''; foreach ($blocks as &$block) { //if (empty($search_showonlyerrors) || ! $checkresult[$block->id] || ($loweridinerror && $block->id >= $loweridinerror)) @@ -548,8 +549,10 @@ if ($nbshown < $MAXFORSHOWLINK) { // For performance and memory purpose, we get/show the link of objects only for the 100 first output $object_link = $block->getObjectLink(); + $object_link_title = ''; } else { $object_link = $block->element.'/'.$block->fk_object; + $object_link_title = $langs->trans('LinkHasBeenDisabledForPerformancePurpose'); } print ''; @@ -581,7 +584,7 @@ print ''; // Link to source object - print ''; + print ''; print ''; // $object_link can be a '
'; diff --git a/htdocs/blockedlog/ajax/check_signature.php b/htdocs/blockedlog/ajax/check_signature.php index ab2f6b0427f9b..5f7121db68cf1 100644 --- a/htdocs/blockedlog/ajax/check_signature.php +++ b/htdocs/blockedlog/ajax/check_signature.php @@ -73,7 +73,7 @@ $hash = $auth->getBlockchainHash(); // Call external authority -$url = $conf->global->BLOCKEDLOG_AUTHORITY_URL.'/blockedlog/ajax/authority.php?s='.urlencode($auth->signature).'&h='.urlencode($hash); +$url = getDolGlobalString('BLOCKEDLOG_AUTHORITY_URL') . '/blockedlog/ajax/authority.php?s='.urlencode($auth->signature).'&h='.urlencode($hash); $resarray = getURLContent($url, 'GET', '', 1, array(), array(), 2); $res = $resarray['content']; diff --git a/htdocs/blockedlog/class/authority.class.php b/htdocs/blockedlog/class/authority.class.php index 9da736d30ec5c..496339ddf456a 100644 --- a/htdocs/blockedlog/class/authority.class.php +++ b/htdocs/blockedlog/class/authority.class.php @@ -316,7 +316,7 @@ public function syncSignatureWithAuthority() if (is_array($blocks)) { foreach ($blocks as &$block) { - $url = $conf->global->BLOCKEDLOG_AUTHORITY_URL.'/blockedlog/ajax/authority.php?s='.$signature.'&b='.$block->signature; + $url = getDolGlobalString('BLOCKEDLOG_AUTHORITY_URL') . '/blockedlog/ajax/authority.php?s='.$signature.'&b='.$block->signature; $res = getURLContent($url); echo $block->signature.' '.$url.' '.$res['content'].'
'; diff --git a/htdocs/bom/bom_card.php b/htdocs/bom/bom_card.php index c82548c743edd..6fcc8e99dd706 100644 --- a/htdocs/bom/bom_card.php +++ b/htdocs/bom/bom_card.php @@ -149,7 +149,7 @@ include DOL_DOCUMENT_ROOT.'/core/actions_sendmails.inc.php'; // Add line - if ($action == 'addline' && $user->rights->bom->write) { + if ($action == 'addline' && $user->hasRight('bom', 'write')) { $langs->load('errors'); $error = 0; $predef = ''; @@ -177,6 +177,7 @@ $product = new Product($db); $res = $product->fetch($idprod); if ($res > 0 && $product->type == Product::TYPE_SERVICE) $fk_default_workstation = $product->fk_default_workstation; + if (empty($fk_unit)) $fk_unit = $product->fk_unit; } if ($qty == '') { @@ -235,7 +236,7 @@ } // Update line - if ($action == 'updateline' && $user->rights->bom->write) { + if ($action == 'updateline' && $user->hasRight('bom', 'write')) { $langs->load('errors'); $error = 0; @@ -732,7 +733,7 @@ // Create MO if (isModEnabled('mrp')) { - if ($object->status == $object::STATUS_VALIDATED && !empty($user->rights->mrp->write)) { + if ($object->status == $object::STATUS_VALIDATED && $user->hasRight('mrp', 'write')) { print '
'.$langs->trans("CreateMO").''."\n"; } } diff --git a/htdocs/bom/bom_list.php b/htdocs/bom/bom_list.php index 07f0879589a31..5b30d58630851 100644 --- a/htdocs/bom/bom_list.php +++ b/htdocs/bom/bom_list.php @@ -27,6 +27,7 @@ require_once DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/company.lib.php'; require_once DOL_DOCUMENT_ROOT.'/bom/class/bom.class.php'; +require_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php'; // Load translation files required by the page $langs->loadLangs(array('mrp', 'other')); @@ -500,7 +501,8 @@ $newcardbutton = ''; $newcardbutton .= dolGetButtonTitle($langs->trans('ViewList'), '', 'fa fa-bars imgforviewmode', $_SERVER["PHP_SELF"].'?mode=common'.preg_replace('/(&|\?)*mode=[^&]+/', '', $param), '', ((empty($mode) || $mode == 'common') ? 2 : 1), array('morecss'=>'reposition')); $newcardbutton .= dolGetButtonTitle($langs->trans('ViewKanban'), '', 'fa fa-th-list imgforviewmode', $_SERVER["PHP_SELF"].'?mode=kanban'.preg_replace('/(&|\?)*mode=[^&]+/', '', $param), '', ($mode == 'kanban' ? 2 : 1), array('morecss'=>'reposition')); -$newcardbutton .= dolGetButtonTitle($langs->trans('New'), '', 'fa fa-plus-circle', DOL_URL_ROOT.'/bom/bom_card.php?action=create&backtopage='.urlencode($_SERVER['PHP_SELF']), '', $user->rights->bom->write); +$newcardbutton .= dolGetButtonTitleSeparator(); +$newcardbutton .= dolGetButtonTitle($langs->trans('New'), '', 'fa fa-plus-circle', DOL_URL_ROOT.'/bom/bom_card.php?action=create&backtopage='.urlencode($_SERVER['PHP_SELF']), '', $user->hasRight('bom', 'write')); print_barre_liste($title, $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, $massactionbutton, $num, $nbtotalofrecords, 'object_'.$object->picto, 0, $newcardbutton, '', $limit, 0, 0, 1); @@ -687,8 +689,24 @@ print ''; print '
'; } - // Output kanban - print $object->getKanbanView('', array('selected' => in_array($object->id, $arrayofselected))); + + // TODO Use a cache for product + if (!empty($obj->fk_product)) { + $prod = new Product($db); + $prod->fetch($obj->fk_product); + } else { + $prod = null; + } + + // Output Kanban + $selected = -1; + if ($massactionbutton || $massaction) { // If we are in select mode (massactionbutton defined) or if we have already selected and sent an action ($massaction) defined + $selected = 0; + if (in_array($object->id, $arrayofselected)) { + $selected = 1; + } + } + print $object->getKanbanView('', array('prod'=>$prod, 'selected' => $selected)); if ($i == ($imaxinloop - 1)) { print '
'; print ''; diff --git a/htdocs/bom/class/bom.class.php b/htdocs/bom/class/bom.class.php index bf942c7ad86c5..c2614f104b638 100644 --- a/htdocs/bom/class/bom.class.php +++ b/htdocs/bom/class/bom.class.php @@ -780,9 +780,10 @@ public function updateLine($rowid, $qty, $qty_frozen = 0, $disable_stock_change $line->efficiency = $efficiency; $line->import_key = $import_key; $line->position = $rankToUse; - if (!empty($fk_unit)) { - $line->fk_unit = $fk_unit; - } + + + if (!empty($fk_unit)) $line->fk_unit = $fk_unit; + if (is_array($array_options) && count($array_options) > 0) { // We replace values in this->line->array_options only for entries defined into $array_options @@ -875,7 +876,7 @@ public function getNextNumRef($prod) if (!empty($conf->global->BOM_ADDON)) { $mybool = false; - $file = $conf->global->BOM_ADDON.".php"; + $file = getDolGlobalString('BOM_ADDON') . ".php"; $classname = $conf->global->BOM_ADDON; // Include file with class @@ -987,6 +988,12 @@ public function validate($user, $notrigger = 0) if (!$resql) { $error++; $this->error = $this->db->lasterror(); } + $sql = 'UPDATE '.MAIN_DB_PREFIX."ecm_files set filepath = 'bom/".$this->db->escape($this->newref)."'"; + $sql .= " WHERE filepath = 'bom/".$this->db->escape($this->ref)."' and entity = ".$conf->entity; + $resql = $this->db->query($sql); + if (!$resql) { + $error++; $this->error = $this->db->lasterror(); + } // We rename directory ($this->ref = old ref, $num = new ref) in order not to lose the attachments $oldref = dol_sanitizeFileName($this->ref); @@ -1280,6 +1287,7 @@ public function info($id) if ($result) { if ($this->db->num_rows($result)) { $obj = $this->db->fetch_object($result); + $this->id = $obj->rowid; $this->user_creation_id = $obj->fk_user_creat; @@ -1464,9 +1472,9 @@ public function calculateCosts() $unitforline = measuringUnitString($line->fk_unit, '', '', 1); $qtyhourforline = convertDurationtoHour($line->qty, $unitforline); - if (isModEnabled('workstation') && !empty($tmpproduct->fk_default_workstation)) { + if (isModEnabled('workstation') && !empty($line->fk_default_workstation)) { $workstation = new Workstation($this->db); - $res = $workstation->fetch($tmpproduct->fk_default_workstation); + $res = $workstation->fetch($line->fk_default_workstation); if ($res > 0) $line->total_cost = price2num($qtyhourforline * ($workstation->thm_operator_estimated + $workstation->thm_machine_estimated), 'MT'); else { @@ -1617,9 +1625,6 @@ public function getKanbanView($option = '', $arraydata = null) $selected = (empty($arraydata['selected']) ? 0 : $arraydata['selected']); - $prod = new Product($db); - $prod->fetch($this->fk_product); - $return = '
'; $return .= '
'; $return .= ''; @@ -1627,7 +1632,9 @@ public function getKanbanView($option = '', $arraydata = null) $return .= ''; $return .= '
'; $return .= ''.(method_exists($this, 'getNomUrl') ? $this->getNomUrl() : '').''; - $return .= ''; + if ($selected >= 0) { + $return .= ''; + } if (property_exists($this, 'fields') && !empty($this->fields['bomtype']['arrayofkeyval'])) { $return .= '
'.$langs->trans("Type").' : '; if ($this->bomtype == 0) { @@ -1636,7 +1643,8 @@ public function getKanbanView($option = '', $arraydata = null) $return .= ''.$this->fields['bomtype']['arrayofkeyval'][1].''; } } - if (property_exists($this, 'fk_product') && !is_null($this->fk_product)) { + if (!empty($arraydata['prod'])) { + $prod = $arraydata['prod']; $return .= '
'.$prod->getNomUrl(1).''; } if (method_exists($this, 'getLibStatut')) { @@ -2073,7 +2081,9 @@ public function info($id) if ($result) { if ($this->db->num_rows($result)) { $obj = $this->db->fetch_object($result); + $this->id = $obj->rowid; + $this->user_creation_id = $obj->fk_user_creat; $this->user_modification_id = $obj->fk_user_modif; $this->date_creation = $this->db->jdate($obj->datec); diff --git a/htdocs/bom/tpl/objectline_edit.tpl.php b/htdocs/bom/tpl/objectline_edit.tpl.php index 6d7ab47a822c5..a27d01b0e7b60 100644 --- a/htdocs/bom/tpl/objectline_edit.tpl.php +++ b/htdocs/bom/tpl/objectline_edit.tpl.php @@ -128,7 +128,8 @@ if ($filtertype != 1) { if (getDolGlobalInt('PRODUCT_USE_UNITS')) { $coldisplay++; - print ''; + print ''; + print $formproduct->selectMeasuringUnits("fk_unit", '', (($line->fk_unit) ? $line->fk_unit : ''), 0, 0); print ''; } diff --git a/htdocs/bom/tpl/objectline_view.tpl.php b/htdocs/bom/tpl/objectline_view.tpl.php index fdc06609c24ba..c0a714de64dc6 100644 --- a/htdocs/bom/tpl/objectline_view.tpl.php +++ b/htdocs/bom/tpl/objectline_view.tpl.php @@ -128,7 +128,7 @@ if ($filtertype != 1) { if (getDolGlobalInt('PRODUCT_USE_UNITS')) { print ''; - $label = $tmpproduct->getLabelOfUnit('long'); + $label = measuringUnitString($line->fk_unit, '', '', 1); if ($label !== '') { print $langs->trans($label); } diff --git a/htdocs/bookcal/README.md b/htdocs/bookcal/README.md index 2077d7e1072c7..20e41a38217ee 100644 --- a/htdocs/bookcal/README.md +++ b/htdocs/bookcal/README.md @@ -1,8 +1,8 @@ -# BOOKCAL FOR [DOLIBARR ERP CRM](https://www.dolibarr.org) +# ONLINE APPOINTMENT FOR [DOLIBARR ERP CRM](https://www.dolibarr.org) ## Features -Provide features to be able to record online booking. +Provides an online appointment booking system. This allow anyone to book rendez-vous, according to predefined ranges or availabilities. '."\n"; + print ''."\n"; print '
'.$langs->trans("FilterOnInto", $search_all).join(', ', $fieldstosearchall).'
'."\n"; } diff --git a/htdocs/bookcal/class/availabilities.class.php b/htdocs/bookcal/class/availabilities.class.php index 90dd80db88802..a4451f1fdd502 100644 --- a/htdocs/bookcal/class/availabilities.class.php +++ b/htdocs/bookcal/class/availabilities.class.php @@ -70,22 +70,33 @@ class Availabilities extends CommonObject /** - * 'type' field format ('integer', 'integer:ObjectClass:PathToClass[:AddCreateButtonOrNot[:Filter[:Sortfield]]]', 'sellist:TableName:LabelFieldName[:KeyFieldName[:KeyFieldParent[:Filter[:Sortfield]]]]', 'varchar(x)', 'double(24,8)', 'real', 'price', 'text', 'text:none', 'html', 'date', 'datetime', 'timestamp', 'duration', 'mail', 'phone', 'url', 'password') - * Note: Filter can be a string like "(t.ref:like:'SO-%') or (t.date_creation:<:'20160101') or (t.nature:is:NULL)" + * 'type' field format: + * 'integer', 'integer:ObjectClass:PathToClass[:AddCreateButtonOrNot[:Filter[:Sortfield]]]', + * 'select' (list of values are in 'options'), + * 'sellist:TableName:LabelFieldName[:KeyFieldName[:KeyFieldParent[:Filter[:Sortfield]]]]', + * 'chkbxlst:...', + * 'varchar(x)', + * 'text', 'text:none', 'html', + * 'double(24,8)', 'real', 'price', + * 'date', 'datetime', 'timestamp', 'duration', + * 'boolean', 'checkbox', 'radio', 'array', + * 'mail', 'phone', 'url', 'password', 'ip' + * Note: Filter must be a Dolibarr Universal Filter syntax string. Example: "(t.ref:like:'SO-%') or (t.date_creation:<:'20160101') or (t.status:!=:0) or (t.nature:is:NULL)" * 'label' the translation key. * 'picto' is code of a picto to show before value in forms - * 'enabled' is a condition when the field must be managed (Example: 1 or '$conf->global->MY_SETUP_PARAM' or 'isModEnabled('multicurrency')' ...) + * 'enabled' is a condition when the field must be managed (Example: 1 or 'getDolGlobalInt('MY_SETUP_PARAM') or 'isModEnabled("multicurrency")' ...) * 'position' is the sort order of field. * 'notnull' is set to 1 if not null in database. Set to -1 if we must set data to null if empty ('' or 0). * 'visible' says if field is visible in list (Examples: 0=Not visible, 1=Visible on list and create/update/view forms, 2=Visible on list only, 3=Visible on create/update/view form only (not list), 4=Visible on list and update/view form only (not create). 5=Visible on list and view only (not create/not update). Using a negative value means field is not shown by default on list but can be selected for viewing) * 'noteditable' says if field is not editable (1 or 0) + * 'alwayseditable' says if field can be modified also when status is not draft ('1' or '0') * 'default' is a default value for creation (can still be overwrote by the Setup of Default Values if field is editable in creation form). Note: If default is set to '(PROV)' and field is 'ref', the default value will be set to '(PROVid)' where id is rowid when a new record is created. * 'index' if we want an index in database. * 'foreignkey'=>'tablename.field' if the field is a foreign key (it is recommanded to name the field fk_...). * 'searchall' is 1 if we want to search in this field when making a search from the quick search button. * 'isameasure' must be set to 1 or 2 if field can be used for measure. Field type must be summable like integer or double(24,8). Use 1 in most cases, or 2 if you don't want to see the column total into list (for example for percentage) * 'css' and 'cssview' and 'csslist' is the CSS style to use on field. 'css' is used in creation and update. 'cssview' is used in view mode. 'csslist' is used for columns in lists. For example: 'css'=>'minwidth300 maxwidth500 widthcentpercentminusx', 'cssview'=>'wordbreak', 'csslist'=>'tdoverflowmax200' - * 'help' is a 'TranslationString' to use to show a tooltip on field. You can also use 'TranslationString:keyfortooltiponlick' for a tooltip on click. + * 'help' and 'helplist' is a 'TranslationString' to use to show a tooltip on field. You can also use 'TranslationString:keyfortooltiponlick' for a tooltip on click. * 'showoncombobox' if value of the field must be visible into the label of the combobox that list record * 'disabled' is 1 if we want to have the field locked by a 'disabled' attribute. In most cases, this is never set into the definition of $fields into class, but is set dynamically by some part of code. * 'arrayofkeyval' to set a list of values if type is a list of predefined values. For example: array("0"=>"Draft","1"=>"Active","-1"=>"Cancel"). Note that type can be 'integer' or 'varchar' @@ -103,24 +114,24 @@ class Availabilities extends CommonObject */ public $fields=array( 'rowid' => array('type'=>'integer', 'label'=>'TechnicalID', 'enabled'=>'1', 'position'=>1, 'notnull'=>1, 'visible'=>2, 'noteditable'=>'1', 'index'=>1, 'css'=>'left', 'comment'=>"Id"), - 'label' => array('type'=>'varchar(255)', 'label'=>'Label', 'enabled'=>'1', 'position'=>30, 'notnull'=>0, 'visible'=>1, 'searchall'=>1, 'css'=>'minwidth300', 'cssview'=>'wordbreak', 'help'=>"Help text", 'showoncombobox'=>'2', 'validate'=>'1',), + 'label' => array('type'=>'varchar(255)', 'label'=>'Label', 'enabled'=>'1', 'position'=>20, 'notnull'=>0, 'visible'=>1, 'searchall'=>1, 'css'=>'minwidth300', 'csslist'=>'tdoverflowmax150', 'cssview'=>'wordbreak', 'help'=>"BookcalLabelAvailabilityHelp", 'showoncombobox'=>'2', 'validate'=>'1',), + 'fk_bookcal_calendar' => array('type'=>'integer:Calendar:bookcal/class/calendar.class.php:1', 'label'=>'Calendar', 'enabled'=>'1', 'position'=>25, 'notnull'=>1, 'visible'=>1, 'css'=>'maxwidth500 widthcentpercentminusxx', 'csslist'=>'tdoverflowmax100'), 'description' => array('type'=>'text', 'label'=>'Description', 'enabled'=>'1', 'position'=>60, 'notnull'=>0, 'visible'=>3, 'validate'=>'1',), 'note_public' => array('type'=>'html', 'label'=>'NotePublic', 'enabled'=>'1', 'position'=>61, 'notnull'=>0, 'visible'=>0, 'cssview'=>'wordbreak', 'validate'=>'1',), 'note_private' => array('type'=>'html', 'label'=>'NotePrivate', 'enabled'=>'1', 'position'=>62, 'notnull'=>0, 'visible'=>0, 'cssview'=>'wordbreak', 'validate'=>'1',), 'date_creation' => array('type'=>'datetime', 'label'=>'DateCreation', 'enabled'=>'1', 'position'=>500, 'notnull'=>1, 'visible'=>-2,), 'tms' => array('type'=>'timestamp', 'label'=>'DateModification', 'enabled'=>'1', 'position'=>501, 'notnull'=>0, 'visible'=>-2,), - 'fk_user_creat' => array('type'=>'integer:User:user/class/user.class.php', 'label'=>'UserAuthor', 'picto'=>'user', 'enabled'=>'1', 'position'=>510, 'notnull'=>1, 'visible'=>-2, 'foreignkey'=>'user.rowid',), - 'fk_user_modif' => array('type'=>'integer:User:user/class/user.class.php', 'label'=>'UserModif', 'picto'=>'user', 'enabled'=>'1', 'position'=>511, 'notnull'=>-1, 'visible'=>-2,), + 'fk_user_creat' => array('type'=>'integer:User:user/class/user.class.php', 'label'=>'UserAuthor', 'picto'=>'user', 'enabled'=>'1', 'position'=>510, 'notnull'=>1, 'visible'=>-2, 'css'=>'maxwidth500 widthcentpercentminusxx', 'csslist'=>'tdoverflowmax150'), + 'fk_user_modif' => array('type'=>'integer:User:user/class/user.class.php', 'label'=>'UserModif', 'picto'=>'user', 'enabled'=>'1', 'position'=>511, 'notnull'=>-1, 'visible'=>-2, 'css'=>'maxwidth500 widthcentpercentminusxx', 'csslist'=>'tdoverflowmax150'), 'last_main_doc' => array('type'=>'varchar(255)', 'label'=>'LastMainDoc', 'enabled'=>'1', 'position'=>600, 'notnull'=>0, 'visible'=>0,), 'import_key' => array('type'=>'varchar(14)', 'label'=>'ImportId', 'enabled'=>'1', 'position'=>1000, 'notnull'=>-1, 'visible'=>-2,), 'model_pdf' => array('type'=>'varchar(255)', 'label'=>'Model pdf', 'enabled'=>'1', 'position'=>1010, 'notnull'=>-1, 'visible'=>0,), - 'status' => array('type'=>'integer', 'label'=>'Status', 'enabled'=>'1', 'position'=>2000, 'notnull'=>1, 'visible'=>1, 'index'=>1, 'arrayofkeyval'=>array('0'=>'Draft', '1'=>'Validated', '9'=>'Canceled'), 'validate'=>'1',), 'start' => array('type'=>'date', 'label'=>'Start Date', 'enabled'=>'1', 'position'=>40, 'notnull'=>1, 'visible'=>1, 'searchall'=>1,), 'end' => array('type'=>'date', 'label'=>'End Date', 'enabled'=>'1', 'position'=>45, 'notnull'=>1, 'visible'=>1, 'searchall'=>1,), - 'duration' => array('type'=>'integer', 'label'=>'Duration', 'enabled'=>'1', 'position'=>47, 'notnull'=>1, 'visible'=>1, 'default'=>'30',), - 'startHour' => array('type'=>'integer', 'label'=>'Start Hour', 'enabled'=>'1', 'position'=>46, 'notnull'=>1, 'visible'=>-1,), - 'endHour' => array('type'=>'integer', 'label'=>'End Hour', 'enabled'=>'1', 'position'=>46.5, 'notnull'=>1, 'visible'=>-1,), - 'fk_bookcal_calendar' => array('type'=>'integer:Calendar:bookcal/class/calendar.class.php:1', 'label'=>'CalendarId', 'enabled'=>'1', 'position'=>48, 'notnull'=>1, 'visible'=>1,), + 'duration' => array('type'=>'integer', 'label'=>'DurationOfRange', 'enabled'=>'1', 'position'=>47, 'notnull'=>1, 'visible'=>1, 'default'=>'30', 'css'=>'width50 right'), + 'startHour' => array('type'=>'integer', 'label'=>'Start Hour', 'enabled'=>'1', 'position'=>46, 'notnull'=>1, 'visible'=>1,), + 'endHour' => array('type'=>'integer', 'label'=>'End Hour', 'enabled'=>'1', 'position'=>46.5, 'notnull'=>1, 'visible'=>1,), + 'status' => array('type'=>'integer', 'label'=>'Status', 'enabled'=>'1', 'position'=>2000, 'notnull'=>1, 'visible'=>1, 'index'=>1, 'arrayofkeyval'=>array('0'=>'Draft', '1'=>'Validated', '9'=>'Closed'), 'default'=>1, 'validate'=>'1'), ); public $rowid; public $label; @@ -577,6 +588,12 @@ public function validate($user, $notrigger = 0) if (!$resql) { $error++; $this->error = $this->db->lasterror(); } + $sql = 'UPDATE '.MAIN_DB_PREFIX."ecm_files set filepath = 'availabilities/".$this->db->escape($this->newref)."'"; + $sql .= " WHERE filepath = 'availabilities/".$this->db->escape($this->ref)."' and entity = ".$conf->entity; + $resql = $this->db->query($sql); + if (!$resql) { + $error++; $this->error = $this->db->lasterror(); + } // We rename directory ($this->ref = old ref, $num = new ref) in order not to lose the attachments $oldref = dol_sanitizeFileName($this->ref); @@ -805,6 +822,46 @@ public function getNomUrl($withpicto = 0, $option = '', $notooltip = 0, $morecss return $result; } + /** + * Return a thumb for kanban views + * + * @param string $option Where point the link (0=> main card, 1,2 => shipment, 'nolink'=>No link) + * @param array $arraydata Array of data + * @return string HTML Code for Kanban thumb. + */ + public function getKanbanView($option = '', $arraydata = null) + { + global $conf, $langs; + + $selected = (empty($arraydata['selected']) ? 0 : $arraydata['selected']); + + $return = '
'; + $return .= '
'; + $return .= ''; + $return .= img_picto('', $this->picto); + $return .= ''; + $return .= '
'; + $return .= ''.(method_exists($this, 'getNomUrl') ? $this->getNomUrl() : $this->ref).''; + if ($selected >= 0) { + $return .= ''; + } + if (property_exists($this, 'label')) { + $return .= '
'.$this->label.'
'; + } + if (property_exists($this, 'amount')) { + $return .= '
'; + $return .= ''.price($this->amount, 0, $langs, 1, -1, -1, $conf->currency).''; + } + if (method_exists($this, 'getLibStatut')) { + $return .= '
'.$this->getLibStatut(3).'
'; + } + $return .= '
'; + $return .= '
'; + $return .= '
'; + + return $return; + } + /** * Return the label of the status * @@ -850,7 +907,9 @@ public function LibStatut($status, $mode = 0) } $statusType = 'status'.$status; - //if ($status == self::STATUS_VALIDATED) $statusType = 'status1'; + if ($status == self::STATUS_VALIDATED) { + $statusType = 'status4'; + } if ($status == self::STATUS_CANCELED) { $statusType = 'status6'; } @@ -881,14 +940,8 @@ public function info($id) $this->user_creation_id = $obj->fk_user_creat; $this->user_modification_id = $obj->fk_user_modif; - if (!empty($obj->fk_user_valid)) { - $this->user_validation_id = $obj->fk_user_valid; - } $this->date_creation = $this->db->jdate($obj->datec); $this->date_modification = empty($obj->datem) ? '' : $this->db->jdate($obj->datem); - if (!empty($obj->datev)) { - $this->date_validation = empty($obj->datev) ? '' : $this->db->jdate($obj->datev); - } } $this->db->free($result); @@ -951,7 +1004,7 @@ public function getNextNumRef() if (!empty($conf->global->BOOKCAL_AVAILABILITIES_ADDON)) { $mybool = false; - $file = $conf->global->BOOKCAL_AVAILABILITIES_ADDON.".php"; + $file = getDolGlobalString('BOOKCAL_AVAILABILITIES_ADDON') . ".php"; $classname = $conf->global->BOOKCAL_AVAILABILITIES_ADDON; // Include file with class diff --git a/htdocs/bookcal/class/calendar.class.php b/htdocs/bookcal/class/calendar.class.php index 38238d00a6b83..4b7b6dad9ba34 100644 --- a/htdocs/bookcal/class/calendar.class.php +++ b/htdocs/bookcal/class/calendar.class.php @@ -114,10 +114,12 @@ class Calendar extends CommonObject * @var array Array with all fields and their property. Do not use it as a static var. It may be modified by constructor. */ public $fields=array( - 'rowid' => array('type'=>'integer', 'label'=>'TechnicalID', 'enabled'=>'1', 'position'=>1, 'notnull'=>1, 'visible'=>0, 'noteditable'=>'1', 'index'=>1, 'css'=>'left', 'comment'=>"Id"), - 'ref' => array('type'=>'varchar(128)', 'label'=>'Ref', 'enabled'=>'1', 'position'=>20, 'notnull'=>1, 'visible'=>1, 'index'=>1, 'searchall'=>1, 'showoncombobox'=>'1', 'validate'=>'1', 'comment'=>"Reference of object"), + 'rowid' => array('type'=>'integer', 'label'=>'TechnicalID', 'enabled'=>'1', 'position'=>1, 'notnull'=>1, 'visible'=>0, 'noteditable'=>'1', 'index'=>1, 'css'=>'right', 'comment'=>"Id"), + 'ref' => array('type'=>'varchar(128)', 'label'=>'Ref', 'enabled'=>'1', 'position'=>20, 'notnull'=>1, 'visible'=>1, 'index'=>1, 'searchall'=>1, 'showoncombobox'=>'1', 'validate'=>'1', 'comment'=>"Reference of object", 'css'=>'width100'), 'label' => array('type'=>'varchar(255)', 'label'=>'Label', 'enabled'=>'1', 'position'=>30, 'notnull'=>0, 'visible'=>1, 'alwayseditable'=>'1', 'searchall'=>1, 'css'=>'minwidth300', 'cssview'=>'wordbreak', 'help'=>"Help text", 'showoncombobox'=>'2', 'validate'=>'1',), - 'fk_soc' => array('type'=>'integer:Societe:societe/class/societe.class.php:1:((status:=:1) AND (entity:IN:__SHARED_ENTITIES__))', 'label'=>'ThirdParty', 'picto'=>'company', 'enabled'=>'isModEnabled("societe")', 'position'=>50, 'notnull'=>-1, 'visible'=>1, 'index'=>1, 'css'=>'maxwidth500 widthcentpercentminusxx', 'csslist'=>'tdoverflowmax150', 'help'=>"OrganizationEventLinkToThirdParty", 'validate'=>'1',), + 'visibility' => array('type'=>'integer:User:user/class/user.class.php', 'label'=>'Owner', 'enabled'=>'1', 'position'=>40, 'notnull'=>1, 'visible'=>1, 'picto'=>'user', 'css'=>'maxwidth500 widthcentpercentminusxx', 'csslist'=>'tdoverflowmax150',), + 'type' => array('type'=>'integer', 'label'=>'Type', 'enabled'=>'1', 'position'=>42, 'notnull'=>1, 'visible'=>1, 'arrayofkeyval'=>array('0'=>'Customer', '1'=>'Supplier', '3'=>'Other'),), + 'fk_soc' => array('type'=>'integer:Societe:societe/class/societe.class.php:1:((status:=:1) AND (entity:IN:__SHARED_ENTITIES__))', 'label'=>'ThirdParty', 'picto'=>'company', 'enabled'=>'isModEnabled("societe")', 'position'=>50, 'notnull'=>-1, 'visible'=>1, 'index'=>1, 'css'=>'maxwidth500 widthcentpercentminusxx', 'csslist'=>'tdoverflowmax150', 'help'=>"ThirdPartyBookCalHelp", 'validate'=>'1',), 'fk_project' => array('type'=>'integer:Project:projet/class/project.class.php:1', 'label'=>'Project', 'picto'=>'project', 'enabled'=>'isModEnabled("project")', 'position'=>52, 'notnull'=>-1, 'visible'=>-1, 'index'=>1, 'css'=>'maxwidth500 widthcentpercentminusxx', 'csslist'=>'tdoverflowmax150', 'validate'=>'1',), 'description' => array('type'=>'text', 'label'=>'Description', 'enabled'=>'1', 'position'=>60, 'notnull'=>0, 'visible'=>3, 'validate'=>'1',), 'note_public' => array('type'=>'html', 'label'=>'NotePublic', 'enabled'=>'1', 'position'=>61, 'notnull'=>0, 'visible'=>0, 'cssview'=>'wordbreak', 'validate'=>'1',), @@ -127,13 +129,13 @@ class Calendar extends CommonObject 'fk_user_creat' => array('type'=>'integer:User:user/class/user.class.php', 'label'=>'UserAuthor', 'picto'=>'user', 'enabled'=>'1', 'position'=>510, 'notnull'=>1, 'visible'=>-2, 'foreignkey'=>'user.rowid', 'csslist'=>'tdoverflowmax150',), 'fk_user_modif' => array('type'=>'integer:User:user/class/user.class.php', 'label'=>'UserModif', 'picto'=>'user', 'enabled'=>'1', 'position'=>511, 'notnull'=>-1, 'visible'=>-2, 'csslist'=>'tdoverflowmax150',), 'import_key' => array('type'=>'varchar(14)', 'label'=>'ImportId', 'enabled'=>'1', 'position'=>1000, 'notnull'=>-1, 'visible'=>-2,), - 'status' => array('type'=>'integer', 'label'=>'Status', 'enabled'=>'1', 'position'=>2000, 'notnull'=>1, 'visible'=>1, 'index'=>1, 'arrayofkeyval'=>array('0'=>'Brouillon', '1'=>'Validé', '9'=>'Annulé'), 'validate'=>'1',), - 'type' => array('type'=>'integer', 'label'=>'Type', 'enabled'=>'1', 'position'=>40, 'notnull'=>1, 'visible'=>1, 'arrayofkeyval'=>array('0'=>'Client', '1'=>'Supplier', '3'=>'Autre'),), - 'visibility' => array('type'=>'integer:User:user/class/user.class.php', 'label'=>'Visibility', 'enabled'=>'1', 'position'=>41, 'notnull'=>1, 'visible'=>1,), + 'status' => array('type'=>'integer', 'label'=>'Status', 'enabled'=>'1', 'position'=>2000, 'notnull'=>1, 'default'=>0, 'visible'=>1, 'index'=>1, 'arrayofkeyval'=>array('0'=>'Draft', '1'=>'Validated', '9'=>'Closed'), 'validate'=>'1',), ); public $rowid; public $ref; public $label; + public $type; + public $visibility; public $fk_soc; public $fk_project; public $description; @@ -145,47 +147,9 @@ class Calendar extends CommonObject public $fk_user_modif; public $import_key; public $status; - public $type; - public $visibility; // END MODULEBUILDER PROPERTIES - // If this object has a subtable with lines - - // /** - // * @var string Name of subtable line - // */ - // public $table_element_line = 'bookcal_calendarline'; - - // /** - // * @var string Field with ID of parent key if this object has a parent - // */ - // public $fk_element = 'fk_calendar'; - - // /** - // * @var string Name of subtable class that manage subtable lines - // */ - // public $class_element_line = 'Calendarline'; - - // /** - // * @var array List of child tables. To test if we can delete object. - // */ - // protected $childtables = array('mychildtable' => array('name'=>'Calendar', 'fk_element'=>'fk_calendar')); - - // /** - // * @var array List of child tables. To know object to delete on cascade. - // * If name matches '@ClassNAme:FilePathClass;ParentFkFieldName' it will - // * call method deleteByParentField(parentId, ParentFkFieldName) to fetch and delete child object - // */ - // protected $childtablesoncascade = array('bookcal_calendardet'); - - // /** - // * @var CalendarLine[] Array of subtable lines - // */ - // public $lines = array(); - - - /** * Constructor * @@ -193,7 +157,7 @@ class Calendar extends CommonObject */ public function __construct(DoliDB $db) { - global $conf, $langs; + global $langs, $user; $this->db = $db; @@ -209,6 +173,7 @@ public function __construct(DoliDB $db) $this->fields['myfield']['visible'] = 1; $this->fields['myfield']['noteditable'] = 0; }*/ + $this->fields['visibility']['default'] = $user->id; // Unset fields that are disabled foreach ($this->fields as $key => $val) { @@ -387,8 +352,6 @@ public function fetchLines() */ public function fetchAll($sortorder = '', $sortfield = '', $limit = 0, $offset = 0, array $filter = array(), $filtermode = 'AND') { - global $conf; - dol_syslog(__METHOD__, LOG_DEBUG); $records = array(); @@ -507,7 +470,7 @@ public function deleteLine(User $user, $idline, $notrigger = false) */ public function validate($user, $notrigger = 0) { - global $conf, $langs; + global $conf; require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php'; @@ -582,6 +545,12 @@ public function validate($user, $notrigger = 0) if (!$resql) { $error++; $this->error = $this->db->lasterror(); } + $sql = 'UPDATE '.MAIN_DB_PREFIX."ecm_files set filepath = 'calendar/".$this->db->escape($this->newref)."'"; + $sql .= " WHERE filepath = 'calendar/".$this->db->escape($this->ref)."' and entity = ".$conf->entity; + $resql = $this->db->query($sql); + if (!$resql) { + $error++; $this->error = $this->db->lasterror(); + } // We rename directory ($this->ref = old ref, $num = new ref) in order not to lose the attachments $oldref = dol_sanitizeFileName($this->ref); @@ -704,7 +673,7 @@ public function reopen($user, $notrigger = 0) */ public function getTooltipContentArray($params) { - global $conf, $langs; + global $langs; $datas = []; @@ -917,7 +886,7 @@ public function LibStatut($status, $mode = 0) // phpcs:enable if (empty($this->labelStatus) || empty($this->labelStatusShort)) { global $langs; - //$langs->load("bookcal@bookcal"); + $this->labelStatus[self::STATUS_DRAFT] = $langs->transnoentitiesnoconv('Draft'); $this->labelStatus[self::STATUS_VALIDATED] = $langs->transnoentitiesnoconv('Enabled'); $this->labelStatus[self::STATUS_CANCELED] = $langs->transnoentitiesnoconv('Disabled'); @@ -927,7 +896,9 @@ public function LibStatut($status, $mode = 0) } $statusType = 'status'.$status; - //if ($status == self::STATUS_VALIDATED) $statusType = 'status1'; + if ($status == self::STATUS_VALIDATED) { + $statusType = 'status4'; + } if ($status == self::STATUS_CANCELED) { $statusType = 'status6'; } @@ -958,14 +929,8 @@ public function info($id) $this->user_creation_id = $obj->fk_user_creat; $this->user_modification_id = $obj->fk_user_modif; - if (!empty($obj->fk_user_valid)) { - $this->user_validation_id = $obj->fk_user_valid; - } $this->date_creation = $this->db->jdate($obj->datec); $this->date_modification = empty($obj->datem) ? '' : $this->db->jdate($obj->datem); - if (!empty($obj->datev)) { - $this->date_validation = empty($obj->datev) ? '' : $this->db->jdate($obj->datev); - } } $this->db->free($result); @@ -1018,7 +983,7 @@ public function getLinesArray() public function getNextNumRef() { global $langs, $conf; - $langs->load("bookcal@bookcal"); + $langs->load("agenda"); if (getDolGlobalString('BOOKCAL_MYOBJECT_ADDON')) { $conf->global->BOOKCAL_MYOBJECT_ADDON = 'mod_calendar_standard'; @@ -1083,7 +1048,7 @@ public function generateDocument($modele, $outputlangs, $hidedetails = 0, $hided $result = 0; $includedocgeneration = 0; - $langs->load("bookcal@bookcal"); + $langs->load("agenda"); if (!dol_strlen($modele)) { $modele = 'standard_calendar'; diff --git a/htdocs/bookcal/lib/bookcal_availabilities.lib.php b/htdocs/bookcal/lib/bookcal_availabilities.lib.php index 1fb4b2aed7571..7c0a28cb31ea8 100644 --- a/htdocs/bookcal/lib/bookcal_availabilities.lib.php +++ b/htdocs/bookcal/lib/bookcal_availabilities.lib.php @@ -33,10 +33,10 @@ function availabilitiesPrepareHead($object) $langs->load("agenda"); - $showtabofpagecontact = 1; + $showtabofpagecontact = 0; $showtabofpagenote = 1; - $showtabofpagedocument = 1; - $showtabofpageagenda = 1; + $showtabofpagedocument = 0; + $showtabofpageagenda = 0; $h = 0; $head = array(); diff --git a/htdocs/bookcal/lib/bookcal_calendar.lib.php b/htdocs/bookcal/lib/bookcal_calendar.lib.php index 833d33bc98e27..65c8a38a64a8c 100644 --- a/htdocs/bookcal/lib/bookcal_calendar.lib.php +++ b/htdocs/bookcal/lib/bookcal_calendar.lib.php @@ -31,18 +31,18 @@ function calendarPrepareHead($object) { global $db, $langs, $conf; - $langs->load("bookcal@bookcal"); + $langs->load("agenda"); - $showtabofpagecontact = 1; + $showtabofpagecontact = 0; $showtabofpagenote = 1; - $showtabofpagedocument = 1; + $showtabofpagedocument = 0; $showtabofpageagenda = 1; $h = 0; $head = array(); $head[$h][0] = dol_buildpath("/bookcal/calendar_card.php", 1).'?id='.$object->id; - $head[$h][1] = $langs->trans("Card"); + $head[$h][1] = $langs->trans("Calendar"); $head[$h][2] = 'card'; $h++; diff --git a/htdocs/bookmarks/admin/bookmark.php b/htdocs/bookmarks/admin/bookmark.php index 74b44bd8f9b27..2233544fd24a3 100644 --- a/htdocs/bookmarks/admin/bookmark.php +++ b/htdocs/bookmarks/admin/bookmark.php @@ -77,7 +77,7 @@ print ''; print $langs->trans("NbOfBoomarkToShow").''; -print ''; +print ''; print ''; print '
'; diff --git a/htdocs/bookmarks/bookmarks.lib.php b/htdocs/bookmarks/bookmarks.lib.php index 5d05c42622fad..6b0d7fad6a279 100644 --- a/htdocs/bookmarks/bookmarks.lib.php +++ b/htdocs/bookmarks/bookmarks.lib.php @@ -88,7 +88,7 @@ function printDropdownBookmarksList() // Url to go on create new bookmark page $newbtn = ''; - if (!empty($user->rights->bookmark->creer)) { + if ($user->hasRight('bookmark', 'creer')) { if (!preg_match('/bookmarks\/card.php/', $_SERVER['PHP_SELF'])) { //$urltoadd=DOL_URL_ROOT.'/bookmarks/card.php?action=create&urlsource='.urlencode($url).'&url='.urlencode($url); $urltoadd = DOL_URL_ROOT.'/bookmarks/card.php?action=create&url='.urlencode($url); @@ -127,10 +127,10 @@ function printDropdownBookmarksList() //$searchForm .= ''; $searchForm .= ''; $searchForm .= ''; + $searchForm .= ' data-html="'.dol_escape_htmltag(img_picto('', 'bookmark').' '.($user->hasRight('bookmark', 'creer') ? $langs->trans('EditBookmarks') : $langs->trans('ListOfBookmarks')).'...').'">'; + $searchForm .= dol_escape_htmltag($user->hasRight('bookmark', 'creer') ? $langs->trans('EditBookmarks') : $langs->trans('ListOfBookmarks')).'...'; // Url to go on create new bookmark page - if (!empty($user->rights->bookmark->creer)) { + if ($user->hasRight('bookmark', 'creer')) { if (!preg_match('/bookmarks\/card.php/', $_SERVER['PHP_SELF'])) { $urltoadd = DOL_URL_ROOT.'/bookmarks/card.php?action=create&url='.urlencode($url); $searchForm .= '
'; print ''; diff --git a/htdocs/categories/card.php b/htdocs/categories/card.php index 65fdcc96fa03f..aaaf645e03514 100644 --- a/htdocs/categories/card.php +++ b/htdocs/categories/card.php @@ -97,7 +97,7 @@ */ // Add action -if ($action == 'add' && $user->rights->categorie->creer) { +if ($action == 'add' && $user->hasRight('categorie', 'creer')) { // Action add a category if ($cancel) { if ($urlfrom) { @@ -167,7 +167,7 @@ } // Confirm action -if (($action == 'add' || $action == 'confirmed') && $user->rights->categorie->creer) { +if (($action == 'add' || $action == 'confirmed') && $user->hasRight('categorie', 'creer')) { // Action confirmation of creation category if ($action == 'confirmed') { if ($urlfrom) { @@ -213,7 +213,7 @@ llxHeader("", $langs->trans("Categories"), $help_url); -if ($user->rights->categorie->creer) { +if ($user->hasRight('categorie', 'creer')) { // Create or add if ($action == 'create' || GETPOST("addcat") == 'addcat') { dol_set_focus('#label'); diff --git a/htdocs/categories/class/categorie.class.php b/htdocs/categories/class/categorie.class.php index 22d4e0f195826..348334e77dcdd 100644 --- a/htdocs/categories/class/categorie.class.php +++ b/htdocs/categories/class/categorie.class.php @@ -343,8 +343,6 @@ public function getMapList() */ public function fetch($id, $label = '', $type = null, $ref_ext = '') { - global $conf; - // Check parameters if (empty($id) && empty($label) && empty($ref_ext)) { $this->error = "No category to search for"; @@ -389,8 +387,6 @@ public function fetch($id, $label = '', $type = null, $ref_ext = '') $this->date_modification = $this->db->jdate($res['tms']); $this->user_creation_id = (int) $res['fk_user_creat']; $this->user_modification_id = (int) $res['fk_user_modif']; - $this->user_creation = (int) $res['fk_user_creat']; - $this->user_modification = (int) $res['fk_user_modif']; // Retrieve all extrafield // fetch optionals attributes and labels @@ -594,14 +590,18 @@ public function update(User $user) // Call trigger $result = $this->call_trigger('CATEGORY_MODIFY', $user); if ($result < 0) { - $error++; $this->db->rollback(); return -1; + $error++; } // End call triggers } - $this->db->commit(); - - return 1; + if (!$error) { + $this->db->commit(); + return 1; + } else { + $this->db->rollback(); + return -1; + } } else { $this->db->rollback(); dol_print_error($this->db); @@ -1124,14 +1124,14 @@ protected function load_motherof() * fulllabel = nom avec chemin complet de la categorie * fullpath = chemin complet compose des id * - * @param string $type Type of categories ('customer', 'supplier', 'contact', 'product', 'member', ...) - * @param int|string|array $markafterid Keep only or removed all categories including the leaf $markafterid in category tree (exclude) or Keep only of category is inside the leaf starting with this id. - * $markafterid can be an : - * - int (id of category) - * - string (categories ids separated by comma) - * - array (list of categories ids) - * @param int $include [=0] Removed or 1=Keep only - * @return array|int Array of categories. this->cats and this->motherof are set, -1 on error + * @param string $type Type of categories ('customer', 'supplier', 'contact', 'product', 'member', ...) + * @param int|string|array $markafterid Keep only or removed all categories including the leaf $markafterid in category tree (exclude) or Keep only of category is inside the leaf starting with this id. + * $markafterid can be an : + * - int (id of category) + * - string (categories ids separated by comma) + * - array (list of categories ids) + * @param int $include [=0] Removed or 1=Keep only + * @return array|int Array of categories. this->cats and this->motherof are set, -1 on error */ public function get_full_arbo($type, $markafterid = 0, $include = 0) { diff --git a/htdocs/categories/edit.php b/htdocs/categories/edit.php index b21d0a1c27cac..3205f1fe0cb5d 100644 --- a/htdocs/categories/edit.php +++ b/htdocs/categories/edit.php @@ -91,8 +91,8 @@ } // Action mise a jour d'une categorie -if ($action == 'update' && $user->rights->categorie->creer) { - $object->oldcopy = dol_clone($object); +if ($action == 'update' && $user->hasRight('categorie', 'creer')) { + $object->oldcopy = dol_clone($object, 2); $object->label = $label; $object->description = dol_htmlcleanlastbr($description); $object->color = $color; diff --git a/htdocs/categories/index.php b/htdocs/categories/index.php index 69747248906d5..a12faf307e704 100644 --- a/htdocs/categories/index.php +++ b/htdocs/categories/index.php @@ -81,7 +81,7 @@ llxHeader('', $title, '', '', 0, 0, $arrayofjs, $arrayofcss); $newcardbutton = ''; -if (!empty($user->rights->categorie->creer)) { +if ($user->hasRight('categorie', 'creer')) { $newcardbutton .= dolGetButtonTitle($langs->trans('NewCategory'), '', 'fa fa-plus-circle', DOL_URL_ROOT.'/categories/card.php?action=create&type='.$type.'&backtopage='.urlencode($_SERVER["PHP_SELF"].'?type='.$type.$moreparam).$moreparam); } @@ -210,12 +210,12 @@ $entry .= ''.img_view().''; $entry .= ''; $entry .= ''; - if ($user->rights->categorie->creer) { + if ($user->hasRight('categorie', 'creer')) { $entry .= '' . img_edit() . ''; } $entry .= ''; $entry .= ''; - if ($user->rights->categorie->supprimer) { + if ($user->hasRight('categorie', 'supprimer')) { $entry .= '' . img_delete() . ''; } $entry .= ''; diff --git a/htdocs/categories/photos.php b/htdocs/categories/photos.php index ab47eb0088d17..e4fb4c44114ee 100644 --- a/htdocs/categories/photos.php +++ b/htdocs/categories/photos.php @@ -85,7 +85,7 @@ } } -if ($action == 'confirm_delete' && $_GET["file"] && $confirm == 'yes' && $user->rights->categorie->creer) { +if ($action == 'confirm_delete' && $_GET["file"] && $confirm == 'yes' && $user->hasRight('categorie', 'creer')) { $object->delete_photo($upload_dir."/".$_GET["file"]); } @@ -159,7 +159,7 @@ */ print '
'."\n"; - if ($action != 'ajout_photo' && $user->rights->categorie->creer) { + if ($action != 'ajout_photo' && $user->hasRight('categorie', 'creer')) { if (!empty($conf->global->MAIN_UPLOAD_DOC)) { print ''; print $langs->trans("AddPhoto").''; @@ -174,10 +174,10 @@ /* * Ajouter une photo */ - if ($action == 'ajout_photo' && $user->rights->categorie->creer && !empty($conf->global->MAIN_UPLOAD_DOC)) { + if ($action == 'ajout_photo' && $user->hasRight('categorie', 'creer') && !empty($conf->global->MAIN_UPLOAD_DOC)) { // Affiche formulaire upload $formfile = new FormFile($db); - $formfile->form_attach_new_file($_SERVER['PHP_SELF'].'?id='.$object->id.'&type='.$type, $langs->trans("AddPhoto"), 1, '', $user->rights->categorie->creer, 50, $object, '', false, '', 0); + $formfile->form_attach_new_file($_SERVER['PHP_SELF'].'?id='.$object->id.'&type='.$type, $langs->trans("AddPhoto"), 1, '', $user->hasRight('categorie', 'creer'), 50, $object, '', false, '', 0); } // Affiche photos @@ -234,7 +234,7 @@ if (!$obj['photo_vignette'] && preg_match('/(\.bmp|\.gif|\.jpg|\.jpeg|\.png)$/i', $obj['photo']) && ($object->imgWidth > $maxWidth || $object->imgHeight > $maxHeight)) { print ''.img_picto($langs->trans('GenerateThumb'), 'refresh').'  '; } - if ($user->rights->categorie->creer) { + if ($user->hasRight('categorie', 'creer')) { print ''; print img_delete().''; } diff --git a/htdocs/categories/traduction.php b/htdocs/categories/traduction.php index 9791cdeb5be44..b2be0625db38e 100644 --- a/htdocs/categories/traduction.php +++ b/htdocs/categories/traduction.php @@ -76,7 +76,7 @@ // validation of addition if ($action == 'vadd' && $cancel != $langs->trans("Cancel") && -($user->rights->categorie->creer)) { +($user->hasRight('categorie', 'creer'))) { $object->fetch($id); $current_lang = $langs->getDefaultLang(); @@ -125,7 +125,7 @@ // validation of the edition if ($action == 'vedit' && $cancel != $langs->trans("Cancel") && -($user->rights->categorie->creer)) { +($user->hasRight('categorie', 'creer'))) { $object->fetch($id); $current_lang = $langs->getDefaultLang(); diff --git a/htdocs/categories/viewcat.php b/htdocs/categories/viewcat.php index 707c23dfe5e94..a41ffd26785c0 100644 --- a/htdocs/categories/viewcat.php +++ b/htdocs/categories/viewcat.php @@ -128,12 +128,12 @@ $tmpobject = new Contact($db); $result = $tmpobject->fetch($removeelem); $elementtype = 'contact'; - } elseif ($type == Categorie::TYPE_ACCOUNT && $user->rights->banque->configurer) { + } elseif ($type == Categorie::TYPE_ACCOUNT && $user->hasRight('banque', 'configurer')) { require_once DOL_DOCUMENT_ROOT.'/compta/bank/class/account.class.php'; $tmpobject = new Account($db); $result = $tmpobject->fetch($removeelem); $elementtype = 'account'; - } elseif ($type == Categorie::TYPE_PROJECT && $user->rights->projet->creer) { + } elseif ($type == Categorie::TYPE_PROJECT && $user->hasRight('projet', 'creer')) { require_once DOL_DOCUMENT_ROOT.'/projet/class/project.class.php'; $tmpobject = new Project($db); $result = $tmpobject->fetch($removeelem); @@ -143,7 +143,7 @@ $tmpobject = new User($db); $result = $tmpobject->fetch($removeelem); $elementtype = 'user'; - } elseif ($type == Categorie::TYPE_TICKET && $user->rights->ticket->write) { + } elseif ($type == Categorie::TYPE_TICKET && $user->hasRight('ticket', 'write')) { require_once DOL_DOCUMENT_ROOT.'/ticket/class/ticket.class.php'; $tmpobject = new Ticket($db); $result = $tmpobject->fetch($removeelem); @@ -156,7 +156,7 @@ } } -if ($user->rights->categorie->supprimer && $action == 'confirm_delete' && $confirm == 'yes') { +if ($user->hasRight('categorie', 'supprimer') && $action == 'confirm_delete' && $confirm == 'yes') { if ($object->delete($user) >= 0) { if ($backtopage) { header("Location: ".$backtopage); @@ -174,12 +174,12 @@ (($type == Categorie::TYPE_PRODUCT && ($user->hasRight('produit', 'creer') || $user->hasRight('service', 'creer'))) || ($type == Categorie::TYPE_CUSTOMER && $user->hasRight('societe', 'creer')) || ($type == Categorie::TYPE_SUPPLIER && $user->hasRight('societe', 'creer')) || - ($type == Categorie::TYPE_TICKET && $user->rights->ticket->write) || - ($type == Categorie::TYPE_PROJECT && $user->rights->projet->creer) || + ($type == Categorie::TYPE_TICKET && $user->hasRight('ticket', 'write')) || + ($type == Categorie::TYPE_PROJECT && $user->hasRight('projet', 'creer')) || ($type == Categorie::TYPE_MEMBER && $user->hasRight('adherent', 'creer')) || ($type == Categorie::TYPE_CONTACT && $user->hasRight('societe', 'creer')) || ($type == Categorie::TYPE_USER && $user->hasRight('user', 'user', 'creer')) || - ($type == Categorie::TYPE_ACCOUNT && $user->rights->banque->configurer) + ($type == Categorie::TYPE_ACCOUNT && $user->hasRight('banque', 'configurer')) )) { if ($type == Categorie::TYPE_PRODUCT) { require_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php'; @@ -318,12 +318,12 @@ setEventMessages($hookmanager->error, $hookmanager->errors, 'errors'); } if (empty($reshook)) { - if ($user->rights->categorie->creer) { + if ($user->hasRight('categorie', 'creer')) { $socid = ($object->socid ? "&socid=".$object->socid : ""); print ''.$langs->trans("Modify").''; } - if ($user->rights->categorie->supprimer) { + if ($user->hasRight('categorie', 'supprimer')) { print 'id.'&type='.$type.'&backtolist='.urlencode($backtolist).'">'.$langs->trans("Delete").''; } } @@ -331,7 +331,7 @@ print "
"; $newcardbutton = ''; -if (!empty($user->rights->categorie->creer)) { +if ($user->hasRight('categorie', 'creer')) { $link = DOL_URL_ROOT.'/categories/card.php'; $link .= '?action=create'; $link .= '&type='.$type; diff --git a/htdocs/comm/action/card.php b/htdocs/comm/action/card.php index 2b0745c2eb233..790387b545bc0 100644 --- a/htdocs/comm/action/card.php +++ b/htdocs/comm/action/card.php @@ -163,6 +163,8 @@ */ $listUserAssignedUpdated = false; +$listResourceAssignedUpdated = false; + // Remove user to assigned list if (empty($reshook) && (GETPOST('removedassigned') || GETPOST('removedassigned') == '0')) { $idtoremove = GETPOST('removedassigned'); @@ -190,6 +192,33 @@ $listUserAssignedUpdated = true; } +// Remove resource to assigned list +if (empty($reshook) && (GETPOST('removedassignedresource') || GETPOST('removedassignedresource') == '0')) { + $idtoremove = GETPOST('removedassignedresource'); + + if (!empty($_SESSION['assignedtoresource'])) { + $tmpassignedresourceids = json_decode($_SESSION['assignedtoresource'], 1); + } else { + $tmpassignedresourceids = array(); + } + + foreach ($tmpassignedresourceids as $key => $val) { + if ($val['id'] == $idtoremove || $val['id'] == -1) { + unset($tmpassignedresourceids[$key]); + } + } + + $_SESSION['assignedtoresource'] = json_encode($tmpassignedresourceids); + $donotclearsessionresource = 1; + if ($action == 'add') { + $action = 'create'; + } + if ($action == 'update') { + $action = 'edit'; + } + + $listResourceAssignedUpdated = true; +} // Add user to assigned list if (empty($reshook) && (GETPOST('addassignedtouser') || GETPOST('updateassignedtouser'))) { @@ -199,7 +228,7 @@ if (!empty($_SESSION['assignedtouser'])) { $assignedtouser = json_decode($_SESSION['assignedtouser'], true); } - $assignedtouser[GETPOST('assignedtouser')] = array('id'=>GETPOST('assignedtouser'), 'transparency'=>GETPOST('transparency'), 'mandatory'=>1); + $assignedtouser[GETPOST('assignedtouser')] = array('id'=>GETPOSTINT('assignedtouser'), 'transparency'=>GETPOST('transparency'), 'mandatory'=>1); $_SESSION['assignedtouser'] = json_encode($assignedtouser); } $donotclearsession = 1; @@ -213,6 +242,28 @@ $listUserAssignedUpdated = true; } +// Add resource to assigned list +if (empty($reshook) && (GETPOST('addassignedtoresource') || GETPOST('updateassignedtoresource'))) { + // Add a new user + if (GETPOST('assignedtoresource') > 0) { + $assignedtoresource = array(); + if (!empty($_SESSION['assignedtoresource'])) { + $assignedtoresource = json_decode($_SESSION['assignedtoresource'], true); + } + $assignedtoresource[GETPOST('assignedtoresource')] = array('id'=>GETPOSTINT('assignedtoresource'), 'transparency'=>GETPOST('transparency'), 'mandatory'=>1); + $_SESSION['assignedtoresource'] = json_encode($assignedtoresource); + } + $donotclearsession = 1; + if ($action == 'add') { + $action = 'create'; + } + if ($action == 'update') { + $action = 'edit'; + } + + $listResourceAssignedUpdated = true; +} + // Link to a project if (empty($reshook) && $action == 'classin' && ($user->hasRight('agenda', 'allactions', 'create') || (($object->authorid == $user->id || $object->userownerid == $user->id) && $user->hasRight('agenda', 'myactions', 'create')))) { @@ -699,7 +750,7 @@ $object->fetch($id); $object->fetch_optionals(); $object->fetch_userassigned(); - $object->oldcopy = dol_clone($object); + $object->oldcopy = dol_clone($object, 2); // Clean parameters if ($fulldayevent) { @@ -908,7 +959,7 @@ $object->reminders = array(); } - //Create reminders + // Create reminders if ($addreminder == 'on' && $object->datep > dol_now()) { $actionCommReminder = new ActionCommReminder($db); @@ -941,6 +992,7 @@ } unset($_SESSION['assignedtouser']); + unset($_SESSION['assignedtoresource']); if (!$error) { $db->commit(); @@ -968,10 +1020,10 @@ $object->fetch($id); $object->fetch_optionals(); $object->fetch_userassigned(); - $object->oldcopy = dol_clone($object); + $object->oldcopy = dol_clone($object, 2); if ($user->hasRight('agenda', 'myactions', 'delete') - || $user->rights->agenda->allactions->delete) { + || $user->hasRight('agenda', 'allactions', 'delete')) { $result = $object->delete(); if ($result >= 0) { @@ -1340,7 +1392,7 @@ function init_repeat() print ' '; - // Assigned to + // Assigned to user print ''.$langs->trans("ActionAffectedTo").''; $listofuserid = array(); $listofcontactid = array(); @@ -1380,6 +1432,40 @@ function init_repeat() print ''.$langs->trans("Location").''; } + if (isModEnabled('categorie')) { + // Categories + print ''.$langs->trans("Categories").''; + $cate_arbo = $form->select_all_categories(Categorie::TYPE_ACTIONCOMM, '', 'parent', 64, 0, 1); + print img_picto('', 'category').$form->multiselectarray('categories', $cate_arbo, GETPOST('categories', 'array'), '', 0, 'minwidth300 quatrevingtpercent widthcentpercentminusx', 0, 0); + print ""; + } + + if (isModEnabled('resource')) { + // Categories + print ''.$langs->trans("Resource").''; + + $listofresourceid = array(); + if (empty($donotclearsession)) { + $assignedtoresource = GETPOST("assignedtoresource"); + if ($assignedtoresource) { + $listofresourceid[$assignedtoresource] = array('id'=>$assignedtoresource, 'mandatory'=>0); // Owner first + } + $_SESSION['assignedtoresource'] = json_encode($listofresourceid); + } else { + if (!empty($_SESSION['assignedtoresource'])) { + $listofresourceid = json_decode($_SESSION['assignedtoresource'], true); + } + $firstelem = reset($listofresourceid); + if (isset($listofresourceid[$firstelem['id']])) { + $listofresourceid[$firstelem['id']]['transparency'] = (GETPOSTISSET('transparency') ? GETPOST('transparency', 'alpha') : 0); // 0 by default when refreshing + } + } + print '
'; + print $form->select_dolresources_forevent(($action == 'create' ? 'add' : 'update'), 'assignedtoresource', 1, '', 0, '', '', 0, 0, 0, 'AND u.statut != 0', 1, $listofresourceid); + print '
'; + print ''; + } + // Status print ''.$langs->trans("Status").' / '.$langs->trans("Percentage").''; print ''; @@ -1398,14 +1484,6 @@ function init_repeat() $formactions->form_select_status_action('formaction', $percent, 1, 'complete', 0, 0, 'maxwidth200'); print ''; - if (isModEnabled('categorie')) { - // Categories - print ''.$langs->trans("Categories").''; - $cate_arbo = $form->select_all_categories(Categorie::TYPE_ACTIONCOMM, '', 'parent', 64, 0, 1); - print img_picto('', 'category').$form->multiselectarray('categories', $cate_arbo, GETPOST('categories', 'array'), '', 0, 'minwidth300 quatrevingtpercent widthcentpercentminusx', 0, 0); - print ""; - } - print ''; @@ -1427,9 +1505,9 @@ function init_repeat() $events[] = array('method' => 'getContacts', 'url' => dol_buildpath('/core/ajax/contacts.php?showempty=1', 1), 'htmlname' => 'contactid', 'params' => array('add-customer-contact' => 'disabled')); //For external user force the company to user company if (!empty($user->socid)) { - print img_picto('', 'company', 'class="paddingrightonly"').$form->select_company($user->socid, 'socid', '', 1, 1, 0, $events, 0, 'minwidth300'); + print img_picto('', 'company', 'class="paddingrightonly"').$form->select_company($user->socid, 'socid', '', 1, 1, 0, $events, 0, 'minwidth300 widthcentpercentminusxx maxwidth500'); } else { - print img_picto('', 'company', 'class="paddingrightonly"').$form->select_company('', 'socid', '', 'SelectThirdParty', 1, 0, $events, 0, 'minwidth300'); + print img_picto('', 'company', 'class="paddingrightonly"').$form->select_company('', 'socid', '', 'SelectThirdParty', 1, 0, $events, 0, 'minwidth300 widthcentpercentminusxx maxwidth500'); } } print ''; @@ -1442,7 +1520,7 @@ function init_repeat() } if ($origin=='contact') $preselectedids[GETPOST('originid', 'int')] = GETPOST('originid', 'int'); print img_picto('', 'contact', 'class="paddingrightonly"'); - print $form->selectcontacts(empty($conf->global->MAIN_ACTIONCOM_CAN_ADD_ANY_CONTACT) ? GETPOST('socid', 'int') : 0, $preselectedids, 'socpeopleassigned[]', 1, '', '', 0, 'minwidth300 quatrevingtpercent', false, 0, array(), false, 'multiple', 'contactid'); + print $form->selectcontacts(empty($conf->global->MAIN_ACTIONCOM_CAN_ADD_ANY_CONTACT) ? GETPOST('socid', 'int') : 0, $preselectedids, 'socpeopleassigned[]', 1, '', '', 0, 'minwidth300 widthcentpercentminusxx maxwidth500', false, 0, array(), false, 'multiple', 'contactid'); print ''; } @@ -1454,7 +1532,7 @@ function init_repeat() print ''.$langs->trans("Project").''; print img_picto('', 'project', 'class="pictofixedwidth"'); - print $formproject->select_projects(($object->socid > 0 ? $object->socid : -1), $projectid, 'projectid', 0, 0, 1, 1, 0, 0, 0, '', 1, 0, 'maxwidth500 widthcentpercentminusxx'); + print $formproject->select_projects(($object->socid > 0 ? $object->socid : -1), $projectid, 'projectid', 0, 0, 1, 1, 0, 0, 0, '', 1, 0, 'maxwidth500 widthcentpercentminusxx maxwidth500'); print ' '; print ''; @@ -1657,10 +1735,14 @@ function init_repeat() } if ($object->authorid > 0) { - $tmpuser = new User($db); $res = $tmpuser->fetch($object->authorid); $object->author = $tmpuser; + $tmpuser = new User($db); + $res = $tmpuser->fetch($object->authorid); + $object->author = $tmpuser; } if ($object->usermodid > 0) { - $tmpuser = new User($db); $res = $tmpuser->fetch($object->usermodid); $object->usermod = $tmpuser; + $tmpuser = new User($db); + $res = $tmpuser->fetch($object->usermodid); + $object->usermod = $tmpuser; } @@ -1931,19 +2013,19 @@ function setdatefields() // Related company print ''.$langs->trans("ActionOnCompany").''; print ''; - print '
'; + print '
'; $events = array(); // 'method'=parameter action of url, 'url'=url to call that return new list of contacts $events[] = array('method' => 'getContacts', 'url' => dol_buildpath('/core/ajax/contacts.php?showempty=1', 1), 'htmlname' => 'contactid', 'params' => array('add-customer-contact' => 'disabled')); // TODO Refresh also list of project if $conf->global->PROJECT_ALLOW_TO_LINK_FROM_OTHER_COMPANY not defined with list linked to socid ? // FIXME If we change company, we may get a project that does not match - print img_picto('', 'company', 'class="paddingrightonly"').$form->select_company($object->socid, 'socid', '', 'SelectThirdParty', 1, 0, $events, 0, 'minwidth200'); + print img_picto('', 'company', 'class="pictofixedwidth"').$form->select_company($object->socid, 'socid', '', 'SelectThirdParty', 1, 0, $events, 0, 'minwidth200'); print '
'; print ''; // related contact print ''.$langs->trans("ActionOnContact").''; print '
'; - print img_picto('', 'contact', 'class="paddingrightonly"').$form->selectcontacts(empty($conf->global->MAIN_ACTIONCOM_CAN_ADD_ANY_CONTACT) ? $object->socid : 0, array_keys($object->socpeopleassigned), 'socpeopleassigned[]', 1, '', '', 1, 'quatrevingtpercent', false, 0, 0, array(), 'multiple', 'contactid'); + print img_picto('', 'contact', 'class="paddingrightonly"').$form->selectcontacts(empty($conf->global->MAIN_ACTIONCOM_CAN_ADD_ANY_CONTACT) ? $object->socid : 0, array_keys($object->socpeopleassigned), 'socpeopleassigned[]', 1, '', '', 1, 'minwidth300 widthcentpercentminusx', false, 0, 0, array(), 'multiple', 'contactid'); print '
'; print ''; print ''; @@ -1954,8 +2036,8 @@ function setdatefields() $langs->load("projects"); print ''.$langs->trans("Project").''; - print img_picto('', 'project', 'class="paddingrightonly"'); - $numprojet = $formproject->select_projects(($object->socid > 0 ? $object->socid : -1), $object->fk_project, 'projectid', 0, 0, 1, 0, 0, 0, 0, '', 0, 0, 'maxwidth500'); + print img_picto('', 'project', 'class="pictofixedwidth"'); + $numprojet = $formproject->select_projects(($object->socid > 0 ? $object->socid : -1), $object->fk_project, 'projectid', 0, 0, 1, 0, 0, 0, 0, '', 0, 0, 'maxwidth500 widthcentpercentminusxx'); if ($numprojet == 0) { print '   '; } @@ -2030,7 +2112,7 @@ function setdatefields() // Reminders if (getDolGlobalString('AGENDA_REMINDER_EMAIL') || getDolGlobalString('AGENDA_REMINDER_BROWSER')) { $filteruserid = $user->id; - if ($user->rights->agenda->allactions->read) { + if ($user->hasRight('agenda', 'allactions', 'read')) { $filteruserid = 0; } $object->loadReminders('', $filteruserid, false); @@ -2269,7 +2351,7 @@ function setdatefields() print ''.$langs->trans("Location").''.$object->location.''; } - // Assigned to + // Assigned to user print ''.$langs->trans("ActionAssignedTo").''; $listofuserid = array(); if (empty($donotclearsession)) { @@ -2424,7 +2506,7 @@ function setdatefields() // Reminders if (!empty($conf->global->AGENDA_REMINDER_EMAIL) || !empty($conf->global->AGENDA_REMINDER_BROWSER)) { $filteruserid = $user->id; - if ($user->rights->agenda->allactions->read) { + if ($user->hasRight('agenda', 'allactions', 'read')) { $filteruserid = 0; } $object->loadReminders('', $filteruserid, false); @@ -2490,7 +2572,7 @@ function setdatefields() print ''; } - if ($user->rights->agenda->allactions->delete || + if ($user->hasRight('agenda', 'allactions', 'delete') || (($object->authorid == $user->id || $object->userownerid == $user->id) && $user->hasRight('agenda', 'myactions', 'delete'))) { print ''; } else { diff --git a/htdocs/comm/action/class/actioncomm.class.php b/htdocs/comm/action/class/actioncomm.class.php index 167ca6780be65..19c3dca27e0a7 100644 --- a/htdocs/comm/action/class/actioncomm.class.php +++ b/htdocs/comm/action/class/actioncomm.class.php @@ -1334,7 +1334,7 @@ public function getActions($socid = 0, $fk_element = 0, $elementtype = '', $filt // Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context if (!is_object($hookmanager)) { include_once DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php'; - $hookmanager = new HookManager($db); + $hookmanager = new HookManager($this->db); } $hookmanager->initHooks(array('agendadao')); @@ -1410,7 +1410,7 @@ public function load_board($user, $load_state_board = 0) $sql = "SELECT count(a.id) as nb"; } $sql .= " FROM ".MAIN_DB_PREFIX."actioncomm as a"; - if (empty($user->rights->societe->client->voir) && !$user->socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$user->socid) { $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."societe_commerciaux as sc ON a.fk_soc = sc.fk_soc"; } if (!$user->hasRight('agenda', 'allactions', 'read')) { @@ -1421,7 +1421,7 @@ public function load_board($user, $load_state_board = 0) $sql .= " AND a.percent >= 0 AND a.percent < 100"; } $sql .= " AND a.entity IN (".getEntity('agenda').")"; - if (empty($user->rights->societe->client->voir) && !$user->socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$user->socid) { $sql .= " AND (a.fk_soc IS NULL OR sc.fk_user = ".((int) $user->id).")"; } if ($user->socid) { @@ -1496,7 +1496,9 @@ public function info($id) if ($result) { if ($this->db->num_rows($result)) { $obj = $this->db->fetch_object($result); + $this->id = $obj->id; + $this->user_creation_id = $obj->fk_user_author; $this->user_modification_id = $obj->fk_user_mod; $this->date_creation = $this->db->jdate($obj->datec); @@ -1592,6 +1594,7 @@ public function getTooltipContentArray($params) // Set label of type $labeltype = ''; if ($this->type_code) { + $langs->load("commercial"); $labeltype = ($langs->transnoentities("Action".$this->type_code) != "Action".$this->type_code) ? $langs->transnoentities("Action".$this->type_code) : $this->type_label; } if (empty($conf->global->AGENDA_USE_EVENT_TYPE)) { @@ -1695,6 +1698,7 @@ public function getNomUrl($withpicto = 0, $maxlength = 0, $classname = '', $opti // Set label of type $labeltype = ''; if ($this->type_code) { + $langs->load("commercial"); $labeltype = ($langs->transnoentities("Action".$this->type_code) != "Action".$this->type_code) ? $langs->transnoentities("Action".$this->type_code) : $this->type_label; } if (empty($conf->global->AGENDA_USE_EVENT_TYPE)) { diff --git a/htdocs/comm/action/class/api_agendaevents.class.php b/htdocs/comm/action/class/api_agendaevents.class.php index eef28e3516beb..16fcf9d9d4e7c 100644 --- a/htdocs/comm/action/class/api_agendaevents.class.php +++ b/htdocs/comm/action/class/api_agendaevents.class.php @@ -406,7 +406,6 @@ protected function _cleanObjectDatas($object) unset($object->region_id); unset($object->actions); unset($object->lines); - unset($object->modelpdf); return $object; } diff --git a/htdocs/comm/action/class/cactioncomm.class.php b/htdocs/comm/action/class/cactioncomm.class.php index 45c78863343c0..cf668fb10775b 100644 --- a/htdocs/comm/action/class/cactioncomm.class.php +++ b/htdocs/comm/action/class/cactioncomm.class.php @@ -178,7 +178,13 @@ public function liste_array($active = '', $idorcode = 'id', $excludetype = '', $ if ($morefilter) { $sql .= " AND ".$morefilter; } - $sql .= " ORDER BY type, position, module"; + // If AGENDA_SORT_EVENT_TYPE_BY_POSITION_FIRST is defined, we use position as main sort criterion + // otherwise we use type as main sort criterion + if (!empty($conf->global->AGENDA_SORT_EVENT_TYPE_BY_POSITION_FIRST)) { + $sql .= " ORDER BY position, type, module"; + } else { + $sql .= " ORDER BY type, position, module"; + } dol_syslog(get_class($this)."::liste_array", LOG_DEBUG); $resql = $this->db->query($sql); @@ -213,13 +219,13 @@ public function liste_array($active = '', $idorcode = 'id', $excludetype = '', $ if ($obj->module == 'propal' && isModEnabled("propal") && $user->hasRight('propal', 'lire')) { $qualified = 1; } - if ($obj->module == 'invoice_supplier' && ((isModEnabled("fournisseur") && empty($conf->global->MAIN_USE_NEW_SUPPLIERMOD) && !empty($user->rights->fournisseur->facture->lire)) || (isModEnabled('supplier_invoice') && !empty($user->rights->supplier_invoice->lire)))) { + if ($obj->module == 'invoice_supplier' && ((isModEnabled("fournisseur") && empty($conf->global->MAIN_USE_NEW_SUPPLIERMOD) && $user->hasRight('fournisseur', 'facture', 'lire')) || (isModEnabled('supplier_invoice') && $user->hasRight('supplier_invoice', 'lire')))) { $qualified = 1; } - if ($obj->module == 'order_supplier' && ((isModEnabled("fournisseur") && empty($conf->global->MAIN_USE_NEW_SUPPLIERMOD) && !empty($user->rights->fournisseur->commande->lire)) || (!isModEnabled('supplier_order') && !empty($user->rights->supplier_order->lire)))) { + if ($obj->module == 'order_supplier' && ((isModEnabled("fournisseur") && empty($conf->global->MAIN_USE_NEW_SUPPLIERMOD) && $user->hasRight('fournisseur', 'commande', 'lire')) || (!isModEnabled('supplier_order') && $user->hasRight('supplier_order', 'lire')))) { $qualified = 1; } - if ($obj->module == 'shipping' && isModEnabled("expedition") && !empty($user->rights->expedition->lire)) { + if ($obj->module == 'shipping' && isModEnabled("expedition") && $user->hasRight('expedition', 'lire')) { $qualified = 1; } // For case module = 'myobject@eventorganization' @@ -234,7 +240,7 @@ public function liste_array($active = '', $idorcode = 'id', $excludetype = '', $ $tmpobject = $regs[1]; $tmpmodule = $regs[2]; //var_dump($user->$tmpmodule); - if ($tmpmodule && isset($conf->$tmpmodule) && isModEnabled($tmpmodule) && (!empty($user->rights->$tmpmodule->read) || !empty($user->rights->$tmpmodule->lire) || !empty($user->rights->$tmpmodule->$tmpobject->read) || !empty($user->rights->$tmpmodule->$tmpobject->lire))) { + if ($tmpmodule && isset($conf->$tmpmodule) && isModEnabled($tmpmodule) && ($user->hasRight($tmpmodule, 'read') || $user->hasRight($tmpmodule, 'lire') || $user->hasRight($tmpmodule, $tmpobject, 'read') || $user->hasRight($tmpmodule, $tmpobject, 'lire'))) { $qualified = 1; } } diff --git a/htdocs/comm/action/index.php b/htdocs/comm/action/index.php index 3e00699f5fb18..99b0b21d20a32 100644 --- a/htdocs/comm/action/index.php +++ b/htdocs/comm/action/index.php @@ -542,7 +542,7 @@ $newcardbutton = ''; $newparam = ''; -if ($user->rights->agenda->myactions->create || $user->hasRight('agenda', 'allactions', 'create')) { +if ($user->hasRight('agenda', 'myactions', 'create') || $user->hasRight('agenda', 'allactions', 'create')) { $tmpforcreatebutton = dol_getdate(dol_now(), true); $newparam .= '&month='.((int) $month).'&year='.((int) $tmpforcreatebutton['year']).'&mode='.urlencode($mode); @@ -592,7 +592,7 @@ $s .= 'jQuery(document).ready(function () {'."\n"; $s .= 'jQuery(".check_birthday").click(function() { console.log("Toggle birthdays"); jQuery(".family_birthday").toggle(); });'."\n"; $s .= 'jQuery(".check_holiday").click(function() { console.log("Toggle holidays"); jQuery(".family_holiday").toggle(); });'."\n"; - if (isModEnabled("bookcal")) { + if (isModEnabled("bookcal") && !empty($bookcalcalendars["calendars"])) { foreach ($bookcalcalendars["calendars"] as $key => $value) { $s .= 'jQuery(".check_bookcal_calendar_'.$value['id'].'").click(function() { console.log("Toggle Bookcal Calendar '.$value['id'].'"); jQuery(".family_bookcal_calendar_'.$value['id'].'").toggle(); });'."\n"; } @@ -666,9 +666,11 @@ // Bookcal Calendar if (isModEnabled("bookcal")) { - foreach ($bookcalcalendars["calendars"] as $key => $value) { - $label = $value['label']; - $s .= '
 
'; + if (!empty($bookcalcalendars["calendars"])) { + foreach ($bookcalcalendars["calendars"] as $key => $value) { + $label = $value['label']; + $s .= '
 
'; + } } } @@ -718,7 +720,7 @@ $sql .= ' a.fk_element, a.elementtype,'; $sql .= ' ca.code as type_code, ca.libelle as type_label, ca.color as type_color, ca.type as type_type, ca.picto as type_picto'; $sql .= ' FROM '.MAIN_DB_PREFIX.'c_actioncomm as ca, '.MAIN_DB_PREFIX."actioncomm as a"; -if (empty($user->rights->societe->client->voir) && !$socid) { +if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."societe_commerciaux as sc ON a.fk_soc = sc.fk_soc"; } // We must filter on resource table @@ -769,7 +771,7 @@ if ($pid) { $sql .= " AND a.fk_project=".((int) $pid); } -if (empty($user->rights->societe->client->voir) && !$socid) { +if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= " AND (a.fk_soc IS NULL OR sc.fk_user = ".((int) $user->id).")"; } if ($socid > 0) { @@ -1771,7 +1773,7 @@ function show_day_events($db, $day, $month, $year, $monthshown, $style, &$eventa $curtime = dol_mktime(0, 0, 0, $month, $day, $year); $urltoshow = DOL_URL_ROOT.'/comm/action/index.php?mode=show_day&day='.str_pad($day, 2, "0", STR_PAD_LEFT).'&month='.str_pad($month, 2, "0", STR_PAD_LEFT).'&year='.$year.$newparam; $urltocreate = ''; - if ($user->rights->agenda->myactions->create || $user->hasRight('agenda', 'allactions', 'create')) { + if ($user->hasRight('agenda', 'myactions', 'create') || $user->hasRight('agenda', 'allactions', 'create')) { $newparam .= '&month='.str_pad($month, 2, "0", STR_PAD_LEFT).'&year='.$year; $hourminsec = '100000'; $urltocreate = DOL_URL_ROOT.'/comm/action/card.php?action=create&datep='.sprintf("%04d%02d%02d", $year, $month, $day).$hourminsec.'&backtopage='.urlencode($_SERVER["PHP_SELF"].($newparam ? '?'.$newparam : '')); @@ -1790,7 +1792,7 @@ function show_day_events($db, $day, $month, $year, $monthshown, $style, &$eventa } print ''; print '
'; - if ($user->rights->agenda->myactions->create || $user->hasRight('agenda', 'allactions', 'create')) { + if ($user->hasRight('agenda', 'myactions', 'create') || $user->hasRight('agenda', 'allactions', 'create')) { print ''; // Explicit link, usefull for nojs interfaces print img_picto($langs->trans("NewAction"), 'edit_add.png'); print ''; diff --git a/htdocs/comm/action/list.php b/htdocs/comm/action/list.php index 304ce9cbe7e85..dab3a55354e6c 100644 --- a/htdocs/comm/action/list.php +++ b/htdocs/comm/action/list.php @@ -399,7 +399,7 @@ 'set_all_events_to_in_progress' => $langs->trans("SetAllEventsToInProgress"), 'set_all_events_to_finished' => $langs->trans("SetAllEventsToFinished"), ); -if ($user->rights->agenda->allactions->delete) { +if ($user->hasRight('agenda', 'allactions', 'delete')) { $arrayofmassactions['predelete'] = img_picto('', 'delete', 'class="pictofixedwidth"').$langs->trans("Delete"); } if (isModEnabled('category') && $user->hasRight('agenda', 'myactions', 'create')) { @@ -438,7 +438,7 @@ $sql .= " FROM ".MAIN_DB_PREFIX."actioncomm as a"; $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."actioncomm_extrafields as ef ON (a.id = ef.fk_object)"; -if (empty($user->rights->societe->client->voir) && !$socid) { +if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."societe_commerciaux as sc ON a.fk_soc = sc.fk_soc"; } $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."societe as s ON a.fk_soc = s.rowid"; @@ -492,7 +492,7 @@ if ($pid) { $sql .= " AND a.fk_project=".((int) $pid); } -if (empty($user->rights->societe->client->voir) && !$socid) { +if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= " AND (a.fk_soc IS NULL OR sc.fk_user = ".((int) $user->id).")"; } if ($socid > 0) { @@ -711,7 +711,7 @@ $param .= '&mode='.$mode; -print_barre_liste($langs->trans("Agenda"), $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, $massactionbutton, $num, -1 * $nbtotalofrecords, 'object_action', 0, $nav.$newcardbutton, '', $limit, 0, 0, 1, $viewmode); +print_barre_liste($langs->trans("Agenda"), $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, $massactionbutton, $num, is_numeric($nbtotalofrecords) ? -1 * $nbtotalofrecords: $nbtotalofrecords, 'object_action', 0, $nav.$newcardbutton, '', $limit, 0, 0, 1, $viewmode); print $s; diff --git a/htdocs/comm/action/pertype.php b/htdocs/comm/action/pertype.php index 6c8925869e88d..39c57d45e2823 100644 --- a/htdocs/comm/action/pertype.php +++ b/htdocs/comm/action/pertype.php @@ -479,7 +479,7 @@ $newparam = ''; $newcardbutton = ''; -if ($user->rights->agenda->myactions->create || $user->hasRight('agenda', 'allactions', 'create')) { +if ($user->hasRight('agenda', 'myactions', 'create') || $user->hasRight('agenda', 'allactions', 'create')) { $tmpforcreatebutton = dol_getdate(dol_now(), true); $newparam .= '&month='.str_pad($month, 2, "0", STR_PAD_LEFT).'&year='.$tmpforcreatebutton['year']; @@ -528,7 +528,7 @@ $sql .= ' a.fk_soc, a.fk_contact, a.fk_element, a.elementtype, a.fk_project,'; $sql .= ' ca.code, ca.libelle as type_label, ca.color, ca.type as type_type, ca.picto as type_picto'; $sql .= ' FROM '.MAIN_DB_PREFIX.'c_actioncomm as ca, '.MAIN_DB_PREFIX."actioncomm as a"; -if (empty($user->rights->societe->client->voir) && !$socid) { +if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."societe_commerciaux as sc ON a.fk_soc = sc.fk_soc"; } // We must filter on resource table @@ -579,7 +579,7 @@ if ($pid) { $sql .= " AND a.fk_project=".((int) $pid); } -if (empty($user->rights->societe->client->voir) && !$socid) { +if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= " AND (a.fk_soc IS NULL OR sc.fk_user = ".((int) $user->id).")"; } if ($socid > 0) { diff --git a/htdocs/comm/action/peruser.php b/htdocs/comm/action/peruser.php index aac2d0c6ee7e3..a80f787e0ac19 100644 --- a/htdocs/comm/action/peruser.php +++ b/htdocs/comm/action/peruser.php @@ -479,7 +479,7 @@ $newparam = ''; $newcardbutton = ''; -if ($user->rights->agenda->myactions->create || $user->hasRight('agenda', 'allactions', 'create')) { +if ($user->hasRight('agenda', 'myactions', 'create') || $user->hasRight('agenda', 'allactions', 'create')) { $tmpforcreatebutton = dol_getdate(dol_now(), true); $newparam .= '&month='.urlencode(str_pad($month, 2, "0", STR_PAD_LEFT)).'&year='.urlencode($tmpforcreatebutton['year']); @@ -541,7 +541,7 @@ $sql .= " a.fk_soc, a.fk_contact, a.fk_element, a.elementtype, a.fk_project,"; $sql .= " ca.code, ca.libelle as type_label, ca.color, ca.type as type_type, ca.picto as type_picto"; $sql .= " FROM ".MAIN_DB_PREFIX."c_actioncomm as ca, ".MAIN_DB_PREFIX."actioncomm as a"; -if (empty($user->rights->societe->client->voir) && !$socid) { +if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."societe_commerciaux as sc ON a.fk_soc = sc.fk_soc"; } // We must filter on resource table @@ -597,7 +597,7 @@ if ($pid) { $sql .= " AND a.fk_project = ".((int) $pid); } -if (empty($user->rights->societe->client->voir) && !$socid) { +if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= " AND (a.fk_soc IS NULL OR sc.fk_user = ".((int) $user->id).")"; } if ($socid > 0) { @@ -900,22 +900,26 @@ } } else { /* Use this list to have for all users */ - $sql = "SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut, u.login, u.admin, u.entity"; - $sql .= " FROM ".MAIN_DB_PREFIX."user as u"; - if (isModEnabled('multicompany') && !empty($conf->global->MULTICOMPANY_TRANSVERSE_MODE)) { - $sql .= ", ".MAIN_DB_PREFIX."usergroup_user as ug"; + $sql = "SELECT u.rowid, u.lastname as lastname, u.firstname, u.statut, u.login, u.admin, u.entity"; + $sql .= " FROM ".$db->prefix()."user as u"; + if (isModEnabled('multicompany') && getDolGlobalInt('MULTICOMPANY_TRANSVERSE_MODE')) { + $sql .= " WHERE u.rowid IN ("; + $sql .= " SELECT ug.fk_user FROM ".$db->prefix()."usergroup_user as ug"; $sql .= " WHERE ug.entity IN (".getEntity('usergroup').")"; - $sql .= " AND ug.fk_user = u.rowid "; + if ($usergroup > 0) { + $sql .= " AND ug.fk_usergroup = ".((int) $usergroup); + } + $sql .= ")"; } else { if ($usergroup > 0) { - $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."usergroup_user as ug ON u.rowid = ug.fk_user"; + $sql .= " LEFT JOIN ".$db->prefix()."usergroup_user as ug ON u.rowid = ug.fk_user"; } $sql .= " WHERE u.entity IN (".getEntity('user').")"; + if ($usergroup > 0) { + $sql .= " AND ug.fk_usergroup = ".((int) $usergroup); + } } $sql .= " AND u.statut = 1"; - if ($usergroup > 0) { - $sql .= " AND ug.fk_usergroup = ".((int) $usergroup); - } if ($user->socid > 0) { // External users should see only contacts of their company $sql .= " AND u.fk_soc = ".((int) $user->socid); diff --git a/htdocs/comm/card.php b/htdocs/comm/card.php index 8ae9600e5aee6..5037d685de530 100644 --- a/htdocs/comm/card.php +++ b/htdocs/comm/card.php @@ -276,7 +276,7 @@ if ($action == 'update_extras') { $object->fetch($id); - $object->oldcopy = dol_clone($object); + $object->oldcopy = dol_clone($object, 2); // Fill array 'array_options' with data from update form $ret = $extrafields->setOptionalsFromPost(null, $object, GETPOST('attribute', 'restricthtml')); @@ -1370,7 +1370,7 @@ $invoicetemplate->date_when = $objp->date_when; print ''; - print ''; + print ''; print $invoicetemplate->getNomUrl(1); print ''; @@ -1571,7 +1571,7 @@ print ''; } - if (!empty($user->rights->contrat->creer) && $object->status == 1) { + if ($user->hasRight('contrat', 'creer') && $object->status == 1) { $langs->load("contracts"); print ''; } @@ -1589,7 +1589,7 @@ } if (isModEnabled('facture') && $object->status == 1) { - if (empty($user->rights->facture->creer)) { + if (!$user->hasRight('facture', 'creer')) { $langs->load("bills"); print ''; } else { @@ -1618,7 +1618,7 @@ // Add action if (isModEnabled('agenda') && !empty($conf->global->MAIN_REPEATTASKONEACHTAB) && $object->status == 1) { - if ($user->rights->agenda->myactions->create) { + if ($user->hasRight('agenda', 'myactions', 'create')) { print ''; } else { print ''; diff --git a/htdocs/comm/contact.php b/htdocs/comm/contact.php index 19be738a50efd..dc5f55df5beaf 100644 --- a/htdocs/comm/contact.php +++ b/htdocs/comm/contact.php @@ -83,14 +83,14 @@ $sql = "SELECT s.rowid, s.nom as name, st.libelle as stcomm"; $sql .= ", p.rowid as cidp, p.name, p.firstname, p.email, p.phone"; $sql .= " FROM ".MAIN_DB_PREFIX."c_stcomm as st,"; -if (empty($user->rights->societe->client->voir) && !$socid) { +if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= " ".MAIN_DB_PREFIX."societe_commerciaux as sc,"; } $sql .= " ".MAIN_DB_PREFIX."socpeople as p"; $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."societe as s ON s.rowid = p.fk_soc"; $sql .= " WHERE s.fk_stcomm = st.id"; $sql .= " AND p.entity IN (".getEntity('contact').")"; -if (empty($user->rights->societe->client->voir) && !$socid) { +if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= " AND s.rowid = sc.fk_soc AND sc.fk_user = ".((int) $user->id); } if ($type == "c") { diff --git a/htdocs/comm/index.php b/htdocs/comm/index.php index 30fcf10f6819f..a7149749aecdf 100644 --- a/htdocs/comm/index.php +++ b/htdocs/comm/index.php @@ -137,13 +137,13 @@ $sql .= ", s.canvas"; $sql .= " FROM ".MAIN_DB_PREFIX."propal as p,"; $sql .= " ".MAIN_DB_PREFIX."societe as s"; - if (empty($user->rights->societe->client->voir) && !$socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= ", ".MAIN_DB_PREFIX."societe_commerciaux as sc"; } $sql .= " WHERE p.entity IN (".getEntity($propalstatic->element).")"; $sql .= " AND p.fk_soc = s.rowid"; $sql .= " AND p.fk_statut = ".Propal::STATUS_DRAFT; - if (empty($user->rights->societe->client->voir) && !$socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= " AND s.rowid = sc.fk_soc AND sc.fk_user = ".((int) $user->id); } if ($socid) { @@ -235,13 +235,13 @@ $sql .= ", s.canvas"; $sql .= " FROM ".MAIN_DB_PREFIX."supplier_proposal as p,"; $sql .= " ".MAIN_DB_PREFIX."societe as s"; - if (empty($user->rights->societe->client->voir) && !$socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= ", ".MAIN_DB_PREFIX."societe_commerciaux as sc"; } $sql .= " WHERE p.entity IN (".getEntity($supplierproposalstatic->element).")"; $sql .= " AND p.fk_statut = ".SupplierProposal::STATUS_DRAFT; $sql .= " AND p.fk_soc = s.rowid"; - if (empty($user->rights->societe->client->voir) && !$socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= " AND s.rowid = sc.fk_soc AND sc.fk_user = ".((int) $user->id); } if ($socid) { @@ -332,13 +332,13 @@ $sql .= ", s.canvas"; $sql .= " FROM ".MAIN_DB_PREFIX."commande as c,"; $sql .= " ".MAIN_DB_PREFIX."societe as s"; - if (empty($user->rights->societe->client->voir) && !$socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= ", ".MAIN_DB_PREFIX."societe_commerciaux as sc"; } $sql .= " WHERE c.entity IN (".getEntity($orderstatic->element).")"; $sql .= " AND c.fk_statut = ".Commande::STATUS_DRAFT; $sql .= " AND c.fk_soc = s.rowid"; - if (empty($user->rights->societe->client->voir) && !$socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= " AND s.rowid = sc.fk_soc AND sc.fk_user = ".((int) $user->id); } if ($socid) { @@ -430,13 +430,13 @@ $sql .= ", s.canvas"; $sql .= " FROM ".MAIN_DB_PREFIX."commande_fournisseur as cf,"; $sql .= " ".MAIN_DB_PREFIX."societe as s"; - if (empty($user->rights->societe->client->voir) && !$socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= ", ".MAIN_DB_PREFIX."societe_commerciaux as sc"; } $sql .= " WHERE cf.entity IN (".getEntity($supplierorderstatic->element).")"; $sql .= " AND cf.fk_statut = ".CommandeFournisseur::STATUS_DRAFT; $sql .= " AND cf.fk_soc = s.rowid"; - if (empty($user->rights->societe->client->voir) && !$socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= " AND s.rowid = sc.fk_soc AND sc.fk_user = ".((int) $user->id); } if ($socid) { @@ -527,7 +527,7 @@ $sql .= ", s.canvas"; $sql .= " FROM ".MAIN_DB_PREFIX."fichinter as f"; $sql .= ", ".MAIN_DB_PREFIX."societe as s"; - if (empty($user->rights->societe->client->voir) && !$socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= ", ".MAIN_DB_PREFIX."societe_commerciaux as sc"; } $sql .= " WHERE f.entity IN (".getEntity('intervention').")"; @@ -536,7 +536,7 @@ if ($socid) { $sql .= " AND f.fk_soc = ".((int) $socid); } - if (empty($user->rights->societe->client->voir) && !$socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= " AND s.rowid = sc.fk_soc AND sc.fk_user = ".((int) $user->id); } @@ -608,12 +608,12 @@ $sql .= ", s.canvas"; $sql .= ", s.datec, s.tms"; $sql .= " FROM ".MAIN_DB_PREFIX."societe as s"; - if (empty($user->rights->societe->client->voir) && !$socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= ", ".MAIN_DB_PREFIX."societe_commerciaux as sc"; } $sql .= " WHERE s.entity IN (".getEntity($companystatic->element).")"; $sql .= " AND s.client IN (".Societe::CUSTOMER.", ".Societe::PROSPECT.", ".Societe::CUSTOMER_AND_PROSPECT.")"; - if (empty($user->rights->societe->client->voir) && !$socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= " AND s.rowid = sc.fk_soc AND sc.fk_user = ".((int) $user->id); } // Add where from hooks @@ -714,12 +714,12 @@ $sql .= ", s.canvas"; $sql .= ", s.datec as dc, s.tms as dm"; $sql .= " FROM ".MAIN_DB_PREFIX."societe as s"; - if (empty($user->rights->societe->client->voir) && !$user->socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$user->socid) { $sql .= ", ".MAIN_DB_PREFIX."societe_commerciaux as sc"; } $sql .= " WHERE s.entity IN (".getEntity($companystatic->element).")"; $sql .= " AND s.fournisseur = ".Societe::SUPPLIER; - if (empty($user->rights->societe->client->voir) && !$user->socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$user->socid) { $sql .= " AND s.rowid = sc.fk_soc AND sc.fk_user = ".((int) $user->id); } // Add where from hooks @@ -829,13 +829,13 @@ $sql .= " FROM ".MAIN_DB_PREFIX."societe as s"; $sql .= ", ".MAIN_DB_PREFIX."contrat as c"; $sql .= ", ".MAIN_DB_PREFIX."product as p"; - if (empty($user->rights->societe->client->voir) && !$socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= ", ".MAIN_DB_PREFIX."societe_commerciaux as sc"; } $sql .= " WHERE c.entity IN (".getEntity($staticcontrat->element).")"; $sql .= " AND c.fk_soc = s.rowid"; $sql .= " AND c.fk_product = p.rowid"; - if (empty($user->rights->societe->client->voir) && !$socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= " AND s.rowid = sc.fk_soc AND sc.fk_user = ".((int) $user->id); } if ($socid) { @@ -904,13 +904,13 @@ $sql .= ", s.canvas"; $sql .= " FROM ".MAIN_DB_PREFIX."propal as p"; $sql .= ", ".MAIN_DB_PREFIX."societe as s"; - if (empty($user->rights->societe->client->voir) && !$socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= ", ".MAIN_DB_PREFIX."societe_commerciaux as sc"; } $sql .= " WHERE p.entity IN (".getEntity($propalstatic->element).")"; $sql .= " AND p.fk_soc = s.rowid"; $sql .= " AND p.fk_statut = ".Propal::STATUS_VALIDATED; - if (empty($user->rights->societe->client->voir) && !$socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= " AND s.rowid = sc.fk_soc AND sc.fk_user = ".((int) $user->id); } if ($socid) { @@ -1023,13 +1023,13 @@ $sql .= ", s.canvas"; $sql .= " FROM ".MAIN_DB_PREFIX."commande as c"; $sql .= ", ".MAIN_DB_PREFIX."societe as s"; - if (empty($user->rights->societe->client->voir) && !$socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= ", ".MAIN_DB_PREFIX."societe_commerciaux as sc"; } $sql .= " WHERE c.entity IN (".getEntity($orderstatic->element).")"; $sql .= " AND c.fk_soc = s.rowid"; $sql .= " AND c.fk_statut IN (".Commande::STATUS_VALIDATED.", ".Commande::STATUS_SHIPMENTONPROCESS.")"; - if (empty($user->rights->societe->client->voir) && !$socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= " AND s.rowid = sc.fk_soc AND sc.fk_user = ".((int) $user->id); } if ($socid) { diff --git a/htdocs/comm/mailing/advtargetemailing.php b/htdocs/comm/mailing/advtargetemailing.php index d2e9fc7d0d509..ea7f1a4c6989a 100644 --- a/htdocs/comm/mailing/advtargetemailing.php +++ b/htdocs/comm/mailing/advtargetemailing.php @@ -96,7 +96,7 @@ } // Security check -if (!$user->rights->mailing->lire || (empty($conf->global->EXTERNAL_USERS_ARE_AUTHORIZED) && $user->socid > 0)) { +if (!$user->hasRight('mailing', 'lire') || (empty($conf->global->EXTERNAL_USERS_ARE_AUTHORIZED) && $user->socid > 0)) { accessforbidden(); } //$result = restrictedArea($user, 'mailing'); @@ -459,7 +459,7 @@ print "
"; // Show email selectors - if ($object->statut == 0 && $user->rights->mailing->creer) { + if ($object->statut == 0 && $user->hasRight('mailing', 'creer')) { include DOL_DOCUMENT_ROOT.'/core/tpl/advtarget.tpl.php'; } } diff --git a/htdocs/comm/mailing/card.php b/htdocs/comm/mailing/card.php index 27af9dc5149fc..6ba1f8fc0f8f4 100644 --- a/htdocs/comm/mailing/card.php +++ b/htdocs/comm/mailing/card.php @@ -86,7 +86,7 @@ } // Security check -if (empty($user->rights->mailing->lire) || (empty($conf->global->EXTERNAL_USERS_ARE_AUTHORIZED) && $user->socid > 0)) { +if (!$user->hasRight('mailing', 'lire') || (empty($conf->global->EXTERNAL_USERS_ARE_AUTHORIZED) && $user->socid > 0)) { accessforbidden(); } if (empty($action) && empty($object->id)) { @@ -287,11 +287,11 @@ $substitutionarray['__SECUREKEYPAYMENT_INVOICE__'] = dol_hash($conf->global->PAYMENT_SECURITY_TOKEN, 2); $substitutionarray['__SECUREKEYPAYMENT_CONTRACTLINE__'] = dol_hash($conf->global->PAYMENT_SECURITY_TOKEN, 2); } else { - $substitutionarray['__SECUREKEYPAYMENT_MEMBER__'] = dol_hash($conf->global->PAYMENT_SECURITY_TOKEN.'member'.$obj->source_id, 2); - $substitutionarray['__SECUREKEYPAYMENT_DONATION__'] = dol_hash($conf->global->PAYMENT_SECURITY_TOKEN.'donation'.$obj->source_id, 2); - $substitutionarray['__SECUREKEYPAYMENT_ORDER__'] = dol_hash($conf->global->PAYMENT_SECURITY_TOKEN.'order'.$obj->source_id, 2); - $substitutionarray['__SECUREKEYPAYMENT_INVOICE__'] = dol_hash($conf->global->PAYMENT_SECURITY_TOKEN.'invoice'.$obj->source_id, 2); - $substitutionarray['__SECUREKEYPAYMENT_CONTRACTLINE__'] = dol_hash($conf->global->PAYMENT_SECURITY_TOKEN.'contractline'.$obj->source_id, 2); + $substitutionarray['__SECUREKEYPAYMENT_MEMBER__'] = dol_hash(getDolGlobalString('PAYMENT_SECURITY_TOKEN') . 'member'.$obj->source_id, 2); + $substitutionarray['__SECUREKEYPAYMENT_DONATION__'] = dol_hash(getDolGlobalString('PAYMENT_SECURITY_TOKEN') . 'donation'.$obj->source_id, 2); + $substitutionarray['__SECUREKEYPAYMENT_ORDER__'] = dol_hash(getDolGlobalString('PAYMENT_SECURITY_TOKEN') . 'order'.$obj->source_id, 2); + $substitutionarray['__SECUREKEYPAYMENT_INVOICE__'] = dol_hash(getDolGlobalString('PAYMENT_SECURITY_TOKEN') . 'invoice'.$obj->source_id, 2); + $substitutionarray['__SECUREKEYPAYMENT_CONTRACTLINE__'] = dol_hash(getDolGlobalString('PAYMENT_SECURITY_TOKEN') . 'contractline'.$obj->source_id, 2); } } if (!empty($conf->global->MEMBER_ENABLE_PUBLIC)) { @@ -304,25 +304,25 @@ if (empty($conf->global->PAYPAL_SECURITY_TOKEN_UNIQUE)) { $substitutionarray['__SECUREKEYPAYPAL_MEMBER__'] = dol_hash($conf->global->PAYPAL_SECURITY_TOKEN, 2); } else { - $substitutionarray['__SECUREKEYPAYPAL_MEMBER__'] = dol_hash($conf->global->PAYPAL_SECURITY_TOKEN.'membersubscription'.$obj->source_id, 2); + $substitutionarray['__SECUREKEYPAYPAL_MEMBER__'] = dol_hash(getDolGlobalString('PAYPAL_SECURITY_TOKEN') . 'membersubscription'.$obj->source_id, 2); } if (empty($conf->global->PAYPAL_SECURITY_TOKEN_UNIQUE)) { $substitutionarray['__SECUREKEYPAYPAL_ORDER__'] = dol_hash($conf->global->PAYPAL_SECURITY_TOKEN, 2); } else { - $substitutionarray['__SECUREKEYPAYPAL_ORDER__'] = dol_hash($conf->global->PAYPAL_SECURITY_TOKEN.'order'.$obj->source_id, 2); + $substitutionarray['__SECUREKEYPAYPAL_ORDER__'] = dol_hash(getDolGlobalString('PAYPAL_SECURITY_TOKEN') . 'order'.$obj->source_id, 2); } if (empty($conf->global->PAYPAL_SECURITY_TOKEN_UNIQUE)) { $substitutionarray['__SECUREKEYPAYPAL_INVOICE__'] = dol_hash($conf->global->PAYPAL_SECURITY_TOKEN, 2); } else { - $substitutionarray['__SECUREKEYPAYPAL_INVOICE__'] = dol_hash($conf->global->PAYPAL_SECURITY_TOKEN.'invoice'.$obj->source_id, 2); + $substitutionarray['__SECUREKEYPAYPAL_INVOICE__'] = dol_hash(getDolGlobalString('PAYPAL_SECURITY_TOKEN') . 'invoice'.$obj->source_id, 2); } if (empty($conf->global->PAYPAL_SECURITY_TOKEN_UNIQUE)) { $substitutionarray['__SECUREKEYPAYPAL_CONTRACTLINE__'] = dol_hash($conf->global->PAYPAL_SECURITY_TOKEN, 2); } else { - $substitutionarray['__SECUREKEYPAYPAL_CONTRACTLINE__'] = dol_hash($conf->global->PAYPAL_SECURITY_TOKEN.'contractline'.$obj->source_id, 2); + $substitutionarray['__SECUREKEYPAYPAL_CONTRACTLINE__'] = dol_hash(getDolGlobalString('PAYPAL_SECURITY_TOKEN') . 'contractline'.$obj->source_id, 2); } } //$substitutionisok=true; @@ -1058,7 +1058,7 @@ if (GETPOST('cancel', 'alpha') || $confirm == 'no' || $action == '' || in_array($action, array('settodraft', 'valid', 'delete', 'sendall', 'clone', 'test', 'editevenunsubscribe'))) { print "\n\n
\n"; - if (($object->statut == 1) && ($user->hasRight('mailing', 'valider') || $object->user_validation == $user->id)) { + if (($object->statut == 1) && ($user->hasRight('mailing', 'valider') || $object->user_validation_id == $user->id)) { print ''.$langs->trans("SetToDraft").''; } @@ -1076,7 +1076,7 @@ //print ''.$langs->trans("PreviewMailing").''; - if (!empty($conf->global->MAIN_USE_ADVANCED_PERMS) && !$user->rights->mailing->mailing_advance->send) { + if (!empty($conf->global->MAIN_USE_ADVANCED_PERMS) && !$user->hasRight('mailing', 'mailing_advance', 'send')) { print ''.$langs->trans("TestMailing").''; } else { print ''.$langs->trans("TestMailing").''; @@ -1085,7 +1085,7 @@ if ($object->statut == 0) { if ($object->nbemail <= 0) { print ''.$langs->trans("ValidMailing").''; - } elseif (empty($user->rights->mailing->valider)) { + } elseif (!$user->hasRight('mailing', 'valider')) { print ''.$langs->trans("ValidMailing").''; } else { print ''.$langs->trans("ValidMailing").''; @@ -1095,7 +1095,7 @@ if (($object->statut == 1 || $object->statut == 2) && $object->nbemail > 0 && $user->hasRight('mailing', 'valider')) { if ($conf->global->MAILING_LIMIT_SENDBYWEB < 0) { print ''.$langs->trans("SendMailing").''; - } elseif (!empty($conf->global->MAIN_USE_ADVANCED_PERMS) && !$user->rights->mailing->mailing_advance->send) { + } elseif (!empty($conf->global->MAIN_USE_ADVANCED_PERMS) && !$user->hasRight('mailing', 'mailing_advance', 'send')) { print ''.$langs->trans("SendMailing").''; } else { print ''.$langs->trans("SendMailing").''; @@ -1107,7 +1107,7 @@ } if (($object->statut == 2 || $object->statut == 3) && $user->hasRight('mailing', 'valider')) { - if (!empty($conf->global->MAIN_USE_ADVANCED_PERMS) && !$user->rights->mailing->mailing_advance->send) { + if (!empty($conf->global->MAIN_USE_ADVANCED_PERMS) && !$user->hasRight('mailing', 'mailing_advance', 'send')) { print ''.$langs->trans("ResetMailing").''; } else { print ''.$langs->trans("ResetMailing").''; @@ -1115,7 +1115,7 @@ } if (($object->statut <= 1 && $user->hasRight('mailing', 'creer')) || $user->hasRight('mailing', 'supprimer')) { - if ($object->statut > 0 && (!empty($conf->global->MAIN_USE_ADVANCED_PERMS) && !$user->rights->mailing->mailing_advance->delete)) { + if ($object->statut > 0 && (!empty($conf->global->MAIN_USE_ADVANCED_PERMS) && !$user->hasRight('mailing', 'mailing_advance', 'delete'))) { print ''.$langs->trans("DeleteMailing").''; } else { print ''.$langs->trans("DeleteMailing").''; diff --git a/htdocs/comm/mailing/cibles.php b/htdocs/comm/mailing/cibles.php index 8fd0fcf726de0..e05e40da81d37 100644 --- a/htdocs/comm/mailing/cibles.php +++ b/htdocs/comm/mailing/cibles.php @@ -401,7 +401,7 @@ $allowaddtarget = ($object->statut == $object::STATUS_DRAFT); // Show email selectors - if ($allowaddtarget && $user->rights->mailing->creer) { + if ($allowaddtarget && $user->hasRight('mailing', 'creer')) { print load_fiche_titre($langs->trans("ToAddRecipientsChooseHere"), ($user->admin ?info_admin($langs->trans("YouCanAddYourOwnPredefindedListHere"), 1) : ''), 'generic'); print '
'; @@ -776,7 +776,7 @@ print ''; print ''; if ($obj->statut == $object::STATUS_DRAFT) { // Not sent yet - if (!empty($user->rights->mailing->creer)) { + if ($user->hasRight('mailing', 'creer')) { print ''.img_delete($langs->trans("RemoveRecipient")).''; } } @@ -853,7 +853,7 @@ print ''; print ''; if ($obj->statut == $object::STATUS_DRAFT) { // Not sent yet - if (!empty($user->rights->mailing->creer)) { + if ($user->hasRight('mailing', 'creer')) { print ''.img_delete($langs->trans("RemoveRecipient")).''; } } diff --git a/htdocs/comm/mailing/class/mailing.class.php b/htdocs/comm/mailing/class/mailing.class.php index 54d9441a48949..f8d51b747878a 100644 --- a/htdocs/comm/mailing/class/mailing.class.php +++ b/htdocs/comm/mailing/class/mailing.class.php @@ -128,6 +128,7 @@ class Mailing extends CommonObject /** * @var int id of user create + * @deprecated */ public $user_creation; @@ -139,6 +140,7 @@ class Mailing extends CommonObject /** * @var int id of user validate + * @deprecated */ public $user_validation; @@ -413,10 +415,8 @@ public function fetch($rowid, $ref = '') $this->email_replyto = $obj->email_replyto; $this->email_errorsto = $obj->email_errorsto; - $this->user_creat = $obj->fk_user_creat; - $this->user_creation = $obj->fk_user_creat; - $this->user_valid = $obj->fk_user_valid; - $this->user_validation = $obj->fk_user_valid; + $this->user_creation_id = $obj->fk_user_creat; + $this->user_validation_id = $obj->fk_user_valid; $this->date_creat = $this->db->jdate($obj->date_creat); $this->date_creation = $this->db->jdate($obj->date_creat); @@ -479,8 +479,8 @@ public function createFromClone(User $user, $fromid, $option1, $option2) $object->email_replyto = ''; $object->email_errorsto = ''; - $object->user_creat = $user->id; - $object->user_valid = ''; + $object->user_creation_id = $user->id; + $object->user_validation_id = ''; $object->date_creat = ''; $object->date_valid = ''; diff --git a/htdocs/comm/mailing/info.php b/htdocs/comm/mailing/info.php index b2f051bc3a622..a8deafea7aa9e 100644 --- a/htdocs/comm/mailing/info.php +++ b/htdocs/comm/mailing/info.php @@ -34,7 +34,7 @@ $langs->load("mails"); // Security check -if (!$user->rights->mailing->lire || (empty($conf->global->EXTERNAL_USERS_ARE_AUTHORIZED) && $user->socid > 0)) { +if (!$user->hasRight('mailing', 'lire') || (empty($conf->global->EXTERNAL_USERS_ARE_AUTHORIZED) && $user->socid > 0)) { accessforbidden(); } //$result = restrictedArea($user, 'mailing'); diff --git a/htdocs/comm/mailing/list.php b/htdocs/comm/mailing/list.php index fe87b1fee6533..83e6e359683e4 100644 --- a/htdocs/comm/mailing/list.php +++ b/htdocs/comm/mailing/list.php @@ -87,7 +87,7 @@ $permissiontodelete = $user->hasRight('mailing', 'delete'); // Security check -if (!$user->rights->mailing->lire || (empty($conf->global->EXTERNAL_USERS_ARE_AUTHORIZED) && $user->socid > 0)) { +if (!$user->hasRight('mailing', 'lire') || (empty($conf->global->EXTERNAL_USERS_ARE_AUTHORIZED) && $user->socid > 0)) { accessforbidden(); } //$result = restrictedArea($user, 'mailing'); @@ -316,7 +316,7 @@ print ''; $newcardbutton = ''; -if ($user->rights->mailing->creer) { +if ($user->hasRight('mailing', 'creer')) { $newcardbutton .= dolGetButtonTitle($langs->trans('NewMailing'), '', 'fa fa-plus-circle', DOL_URL_ROOT.'/comm/mailing/card.php?action=create'); } diff --git a/htdocs/comm/mailing/note.php b/htdocs/comm/mailing/note.php new file mode 100644 index 0000000000000..597ed1b15ca21 --- /dev/null +++ b/htdocs/comm/mailing/note.php @@ -0,0 +1,159 @@ + + * Copyright (C) ---Put here your own copyright and developer email--- + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +/** + * \file htdocs/comm/mailing/note.php + * \ingroup mailing + * \brief Tab for notes on Mailings + */ + +// Load Dolibarr environment +require '../../main.inc.php'; + +require_once DOL_DOCUMENT_ROOT.'/comm/mailing/class/mailing.class.php'; +require_once DOL_DOCUMENT_ROOT.'/core/lib/emailing.lib.php'; + +// Load translation files required by the page +$langs->loadLangs(array("mailing", "companies")); + +// Get parameters +$id = GETPOST('id', 'int'); +$ref = GETPOST('ref', 'alpha'); +$action = GETPOST('action', 'aZ09'); +$cancel = GETPOST('cancel', 'aZ09'); +$backtopage = GETPOST('backtopage', 'alpha'); + +// Initialize technical objects +$object = new Mailing($db); +$extrafields = new ExtraFields($db); +$diroutputmassaction = $conf->mailing->dir_output.'/temp/massgeneration/'.$user->id; +$hookmanager->initHooks(array('mailingnote', 'globalcard')); // Note that conf->hooks_modules contains array +// Fetch optionals attributes and labels +$extrafields->fetch_name_optionals_label($object->table_element); + +// Load object +include DOL_DOCUMENT_ROOT.'/core/actions_fetchobject.inc.php'; // Must be include, not include_once // Must be include, not include_once. Include fetch and fetch_thirdparty but not fetch_optionals +if ($id > 0 || !empty($ref)) { + $upload_dir = $conf->mailing->multidir_output[$object->entity]."/".$object->id; +} + +$permissionnote = $user->hasRight('mailing', 'write'); // Used by the include of actions_setnotes.inc.php +$permissiontoadd = $user->hasRight('mailing', 'write'); // Used by the include of actions_addupdatedelete.inc.php + +// Security check - Protection if external user +//if ($user->socid > 0) accessforbidden(); +//if ($user->socid > 0) $socid = $user->socid; +$isdraft = (($object->status == $object::STATUS_DRAFT) ? 1 : 0); +restrictedArea($user, $object->module, $object->id, $object->table_element, '', '', 'rowid', $isdraft); + + +/* + * Actions + */ + +$reshook = $hookmanager->executeHooks('doActions', array(), $object, $action); // Note that $action and $object may have been modified by some hooks +if ($reshook < 0) { + setEventMessages($hookmanager->error, $hookmanager->errors, 'errors'); +} +if (empty($reshook)) { + include DOL_DOCUMENT_ROOT.'/core/actions_setnotes.inc.php'; // Must be include, not include_once +} + + +/* + * View + */ + +$form = new Form($db); + +//$help_url='EN:Customers_Orders|FR:Commandes_Clients|ES:Pedidos de clientes'; +$help_url = ''; +llxHeader('', $langs->trans('Mailing'), $help_url); + +if ($id > 0 || !empty($ref)) { + $object->fetch_thirdparty(); + + $head = emailing_prepare_head($object); + + print dol_get_fiche_head($head, 'note', $langs->trans("Mailing"), -1, $object->picto); + + // Object card + // ------------------------------------------------------------ + $linkback = ''.$langs->trans("BackToList").''; + + $morehtmlref = '
'; + $morehtmlref .= $form->editfieldval("", 'title', $object->title, $object, $user->hasRight('mailing', 'creer'), 'string', '', null, null, '', 1); + + /* + // Ref customer + $morehtmlref.=$form->editfieldkey("RefCustomer", 'ref_client', $object->ref_client, $object, 0, 'string', '', 0, 1); + $morehtmlref.=$form->editfieldval("RefCustomer", 'ref_client', $object->ref_client, $object, 0, 'string', '', null, null, '', 1); + // Thirdparty + $morehtmlref.='
'.$langs->trans('ThirdParty') . ' : ' . (is_object($object->thirdparty) ? $object->thirdparty->getNomUrl(1) : ''); + // Project + if (isModEnabled('project')) + { + $langs->load("projects"); + $morehtmlref.='
'.$langs->trans('Project') . ' '; + if ($permissiontoadd) + { + if ($action != 'classify') + //$morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : '; + $morehtmlref.=' : '; + if ($action == 'classify') { + //$morehtmlref.=$form->form_project($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->socid, $object->fk_project, 'projectid', 0, 0, 1, 1); + $morehtmlref.='
'; + $morehtmlref.=''; + $morehtmlref.=''; + $morehtmlref.=$formproject->select_projects($object->socid, $object->fk_project, 'projectid', $maxlength, 0, 1, 0, 1, 0, 0, '', 1); + $morehtmlref.=''; + $morehtmlref.='
'; + } else { + $morehtmlref.=$form->form_project($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->socid, $object->fk_project, 'none', 0, 0, 0, 1); + } + } else { + if (!empty($object->fk_project)) { + $proj = new Project($db); + $proj->fetch($object->fk_project); + $morehtmlref .= ': '.$proj->getNomUrl(); + } else { + $morehtmlref .= ''; + } + } + }*/ + $morehtmlref .= '
'; + + + dol_banner_tab($object, 'id', $linkback, 1, 'rowid', 'ref', $morehtmlref); + + + print '
'; + print '
'; + + + $cssclass = "titlefield"; + include DOL_DOCUMENT_ROOT.'/core/tpl/notes.tpl.php'; + + print '
'; + + print dol_get_fiche_end(); +} + +// End of page +llxFooter(); +$db->close(); diff --git a/htdocs/comm/propal/card.php b/htdocs/comm/propal/card.php index de0b96cc1a86e..f43d38ef5ce4c 100644 --- a/htdocs/comm/propal/card.php +++ b/htdocs/comm/propal/card.php @@ -7,7 +7,7 @@ * Copyright (C) 2006 Andre Cianfarani * Copyright (C) 2010-2023 Juanjo Menent * Copyright (C) 2010-2022 Philippe Grand - * Copyright (C) 2012-2013 Christophe Battarel + * Copyright (C) 2012-2023 Christophe Battarel * Copyright (C) 2012 Cedric Salvador * Copyright (C) 2013-2014 Florian Henry * Copyright (C) 2014 Ferran Marcet @@ -196,7 +196,7 @@ GETPOST('date_deliveryday', 'int'), GETPOST('date_deliveryyear', 'int') ); - $date_delivery_old = (empty($object->delivery_date) ? $object->date_livraison : $object->delivery_date); + $date_delivery_old = $object->delivery_date; if (!empty($date_delivery_old) && !empty($date_delivery)) { //Attempt to get the date without possible hour rounding errors $old_date_delivery = dol_mktime( @@ -210,7 +210,6 @@ //Calculate the difference and apply if necessary $difference = $date_delivery - $old_date_delivery; if ($difference != 0) { - $object->date_livraison = $date_delivery; $object->delivery_date = $date_delivery; foreach ($object->lines as $line) { if (isset($line->date_start)) { @@ -418,7 +417,6 @@ $object->ref = GETPOST('ref'); $object->datep = $datep; $object->date = $datep; - $object->date_livraison = $date_delivery; // deprecated $object->delivery_date = $date_delivery; $object->availability_id = GETPOST('availability_id'); $object->demand_reason_id = GETPOST('demand_reason_id'); @@ -430,8 +428,6 @@ $object->deposit_percent = GETPOST('cond_reglement_id_deposit_percent', 'alpha'); $object->mode_reglement_id = GETPOST('mode_reglement_id', 'int'); $object->fk_account = GETPOST('fk_account', 'int'); - $object->remise_absolue = price2num(GETPOST('remise_absolue'), 'MU', 2); // deprecated - $object->remise_percent = price2num(GETPOST('remise_percent'), '', 2); $object->socid = GETPOST('socid', 'int'); $object->contact_id = GETPOST('contactid', 'int'); $object->fk_project = GETPOST('projectid', 'int'); @@ -441,6 +437,7 @@ $object->note_private = GETPOST('note_private', 'restricthtml'); $object->note_public = GETPOST('note_public', 'restricthtml'); $object->statut = Propal::STATUS_DRAFT; + $object->status = Propal::STATUS_DRAFT; $object->fk_incoterms = GETPOST('incoterm_id', 'int'); $object->location_incoterms = GETPOST('location_incoterms', 'alpha'); } else { @@ -451,7 +448,6 @@ $object->ref_client = GETPOST('ref_client'); $object->datep = $datep; $object->date = $datep; - $object->date_livraison = $date_delivery; $object->delivery_date = $date_delivery; $object->availability_id = GETPOST('availability_id', 'int'); $object->demand_reason_id = GETPOST('demand_reason_id', 'int'); @@ -726,7 +722,7 @@ if ( !$error && GETPOST('statut', 'int') == $object::STATUS_SIGNED && GETPOST('generate_deposit', 'alpha') == 'on' - && !empty($deposit_percent_from_payment_terms) && isModEnabled('facture') && !empty($user->rights->facture->creer) + && !empty($deposit_percent_from_payment_terms) && isModEnabled('facture') && $user->hasRight('facture', 'creer') ) { require_once DOL_DOCUMENT_ROOT . '/compta/facture/class/facture.class.php'; @@ -1040,7 +1036,8 @@ } } - if (!$error && ($qty >= 0) && (!empty($product_desc) || (!empty($idprod) && $idprod > 0))) { + $propal_qty_requirement = (!empty($conf->global->PROPAL_ENABLE_NEGATIVE_QTY) ? ($qty >= 0 || $qty <= 0) : $qty >= 0); + if (!$error && $propal_qty_requirement && (!empty($product_desc) || (!empty($idprod) && $idprod > 0))) { $pu_ht = 0; $pu_ttc = 0; $pu_ht_devise = 0; @@ -1279,6 +1276,15 @@ } } + $info_bits = 0; + if ($tva_npr) { + $info_bits |= 0x01; + } + + // Local Taxes + $localtax1_tx = get_localtax($tva_tx, 1, $object->thirdparty, $tva_npr); + $localtax2_tx = get_localtax($tva_tx, 2, $object->thirdparty, $tva_npr); + // Margin $fournprice = price2num(GETPOST('fournprice'.$predef) ? GETPOST('fournprice'.$predef) : ''); $buyingprice = price2num(GETPOST('buying_price'.$predef) != '' ? GETPOST('buying_price'.$predef) : ''); // If buying_price is '0', we muste keep this value @@ -1291,7 +1297,7 @@ $pu_equivalent_ttc = $pu_ttc; $currency_tx = $object->multicurrency_tx; - // Check if we have a foreing currency + // Check if we have a foreign currency // If so, we update the pu_equiv as the equivalent price in base currency if ($pu_ht == '' && $pu_ht_devise != '' && $currency_tx != '') { $pu_equivalent = $pu_ht_devise * $currency_tx; @@ -1300,25 +1306,28 @@ $pu_equivalent_ttc = $pu_ttc_devise * $currency_tx; } - // Local Taxes - $localtax1_tx = get_localtax($tva_tx, 1, $object->thirdparty, $tva_npr); - $localtax2_tx = get_localtax($tva_tx, 2, $object->thirdparty, $tva_npr); - - $info_bits = 0; - if ($tva_npr) { - $info_bits |= 0x01; - } + // TODO $pu_equivalent or $pu_equivalent_ttc must be calculated from the one not null taking into account all taxes + /* + if ($pu_equivalent) { + $tmp = calcul_price_total(1, $pu_equivalent, 0, $tva_tx, -1, -1, 0, 'HT', $info_bits, $type); + $pu_equivalent_ttc = ... + } else { + $tmp = calcul_price_total(1, $pu_equivalent_ttc, 0, $tva_tx, -1, -1, 0, 'TTC', $info_bits, $type); + $pu_equivalent_ht = ... + } + */ //var_dump(price2num($price_min)); var_dump(price2num($pu_ht)); var_dump($remise_percent); //var_dump(price2num($price_min_ttc)); var_dump(price2num($pu_ttc)); var_dump($remise_percent);exit; + // Check price is not lower than minimum if ($usermustrespectpricemin) { - if ($pu_equivalent && $price_min && ((price2num($pu_equivalent) * (1 - $remise_percent / 100)) < price2num($price_min))) { + if ($pu_equivalent && $price_min && ((price2num($pu_equivalent) * (1 - $remise_percent / 100)) < price2num($price_min)) && $price_base_type == 'HT') { $mesg = $langs->trans("CantBeLessThanMinPrice", price(price2num($price_min, 'MU'), 0, $langs, 0, 0, -1, $conf->currency)); setEventMessages($mesg, null, 'errors'); $error++; - } elseif ($pu_equivalent_ttc && $price_min_ttc && ((price2num($pu_equivalent_ttc) * (1 - $remise_percent / 100)) < price2num($price_min_ttc))) { - $mesg = $langs->trans("CantBeLessThanMinPrice", price(price2num($price_min_ttc, 'MU'), 0, $langs, 0, 0, -1, $conf->currency)); + } elseif ($pu_equivalent_ttc && $price_min_ttc && ((price2num($pu_equivalent_ttc) * (1 - $remise_percent / 100)) < price2num($price_min_ttc)) && $price_base_type == 'TTC') { + $mesg = $langs->trans("CantBeLessThanMinPriceInclTax", price(price2num($price_min_ttc, 'MU'), 0, $langs, 0, 0, -1, $conf->currency)); setEventMessages($mesg, null, 'errors'); $error++; } @@ -1387,15 +1396,16 @@ } } elseif ($action == 'updateline' && $usercancreate && GETPOST('save')) { // Update a line within proposal + + // Clean parameters + $description = dol_htmlcleanlastbr(GETPOST('product_desc', 'restricthtml')); + // Define info_bits $info_bits = 0; if (preg_match('/\*/', GETPOST('tva_tx'))) { $info_bits |= 0x01; } - // Clean parameters - $description = dol_htmlcleanlastbr(GETPOST('product_desc', 'restricthtml')); - // Define vat_rate $vat_rate = (GETPOST('tva_tx') ? GETPOST('tva_tx') : 0); $vat_rate = str_replace('*', '', $vat_rate); @@ -1422,9 +1432,10 @@ // Prepare a price equivalent for minimum price check $pu_equivalent = $pu_ht; $pu_equivalent_ttc = $pu_ttc; + $currency_tx = $object->multicurrency_tx; - // Check if we have a foreing currency + // Check if we have a foreign currency // If so, we update the pu_equiv as the equivalent price in base currency if ($pu_ht == '' && $pu_ht_devise != '' && $currency_tx != '') { $pu_equivalent = $pu_ht_devise * $currency_tx; @@ -1433,6 +1444,17 @@ $pu_equivalent_ttc = $pu_ttc_devise * $currency_tx; } + // TODO $pu_equivalent or $pu_equivalent_ttc must be calculated from the one not null taking into account all taxes + /* + if ($pu_equivalent) { + $tmp = calcul_price_total(1, $pu_equivalent, 0, $vat_rate, -1, -1, 0, 'HT', $info_bits, $type); + $pu_equivalent_ttc = ... + } else { + $tmp = calcul_price_total(1, $pu_equivalent_ttc, 0, $vat_rate, -1, -1, 0, 'TTC', $info_bits, $type); + $pu_equivalent_ht = ... + } + */ + // Extrafields $extralabelsline = $extrafields->fetch_name_optionals_label($object->table_element_line); $array_options = $extrafields->getOptionalsFromPost($object->table_element_line); @@ -1471,14 +1493,15 @@ //var_dump(price2num($price_min)); var_dump(price2num($pu_ht)); var_dump($remise_percent); //var_dump(price2num($price_min_ttc)); var_dump(price2num($pu_ttc)); var_dump($remise_percent);exit; + // Check price is not lower than minimum if ($usermustrespectpricemin) { - if ($pu_equivalent && $price_min && ((price2num($pu_equivalent) * (1 - (float) $remise_percent / 100)) < price2num($price_min))) { + if ($pu_equivalent && $price_min && ((price2num($pu_equivalent) * (1 - (float) $remise_percent / 100)) < price2num($price_min)) && $price_base_type == 'HT') { $mesg = $langs->trans("CantBeLessThanMinPrice", price(price2num($price_min, 'MU'), 0, $langs, 0, 0, -1, $conf->currency)); setEventMessages($mesg, null, 'errors'); $error++; $action = 'editline'; - } elseif ($pu_equivalent_ttc && $price_min_ttc && ((price2num($pu_equivalent_ttc) * (1 - (float) $remise_percent / 100)) < price2num($price_min_ttc))) { - $mesg = $langs->trans("CantBeLessThanMinPrice", price(price2num($price_min_ttc, 'MU'), 0, $langs, 0, 0, -1, $conf->currency)); + } elseif ($pu_equivalent_ttc && $price_min_ttc && ((price2num($pu_equivalent_ttc) * (1 - (float) $remise_percent / 100)) < price2num($price_min_ttc)) && $price_base_type == 'TTC') { + $mesg = $langs->trans("CantBeLessThanMinPriceInclTax", price(price2num($price_min_ttc, 'MU'), 0, $langs, 0, 0, -1, $conf->currency)); setEventMessages($mesg, null, 'errors'); $error++; $action = 'editline'; @@ -1498,7 +1521,7 @@ if (!$error) { $db->begin(); - if (empty($user->rights->margins->creer)) { + if (!$user->hasRight('margins', 'creer')) { foreach ($object->lines as &$line) { if ($line->id == GETPOST('lineid', 'int')) { $fournprice = $line->fk_fournprice; @@ -1584,10 +1607,10 @@ } elseif ($action == 'setconditions' && $usercancreate) { // Terms of payment $result = $object->setPaymentTerms(GETPOST('cond_reglement_id', 'int'), GETPOST('cond_reglement_id_deposit_percent', 'alpha')); - } elseif ($action == 'setremisepercent' && $usercancreate) { - $result = $object->set_remise_percent($user, price2num(GETPOST('remise_percent'), '', 2)); - } elseif ($action == 'setremiseabsolue' && $usercancreate) { - $result = $object->set_remise_absolue($user, price2num(GETPOST('remise_absolue'), 'MU', 2)); + //} elseif ($action == 'setremisepercent' && $usercancreate) { + // $result = $object->set_remise_percent($user, price2num(GETPOST('remise_percent'), '', 2)); + //} elseif ($action == 'setremiseabsolue' && $usercancreate) { + // $result = $object->set_remise_absolue($user, price2num(GETPOST('remise_absolue'), 'MU', 2)); } elseif ($action == 'setmode' && $usercancreate) { // Payment choice $result = $object->setPaymentMethods(GETPOST('mode_reglement_id', 'int')); @@ -1607,7 +1630,7 @@ // warehouse $result = $object->setWarehouse(GETPOST('warehouse_id', 'int')); } elseif ($action == 'update_extras') { - $object->oldcopy = dol_clone($object); + $object->oldcopy = dol_clone($object, 2); // Fill array 'array_options' with data from update form $ret = $extrafields->setOptionalsFromPost(null, $object, GETPOST('attribute', 'restricthtml')); @@ -1758,8 +1781,6 @@ $cond_reglement_id = (!empty($objectsrc->cond_reglement_id) ? $objectsrc->cond_reglement_id : (!empty($soc->cond_reglement_id) ? $soc->cond_reglement_id : 0)); $mode_reglement_id = (!empty($objectsrc->mode_reglement_id) ? $objectsrc->mode_reglement_id : (!empty($soc->mode_reglement_id) ? $soc->mode_reglement_id : 0)); - $remise_absolue = (!empty($objectsrc->remise_absolue) ? $objectsrc->remise_absolue : (!empty($soc->remise_absolue) ? $soc->remise_absolue : 0)); // deprecated - $remise_percent = (!empty($objectsrc->remise_percent) ? $objectsrc->remise_percent : (!empty($soc->remise_percent) ? $soc->remise_percent : 0)); $warehouse_id = (!empty($objectsrc->warehouse_id) ? $objectsrc->warehouse_id : (!empty($soc->warehouse_id) ? $soc->warehouse_id : 0)); // Replicate extrafields @@ -1832,312 +1853,318 @@ print dol_get_fiche_head(); - print ''; + // Call Hook tabContentCreateProposal + $parameters = array(); + // Note that $action and $object may be modified by hook + $reshook = $hookmanager->executeHooks('tabContentCreateProposal', $parameters, $object, $action); + if (empty($reshook)) { + print '
'; - // Reference - print ''; + // Reference + print ''; - // Ref customer - print ''; - print ''; - - // Third party - print ''; - print ''; - $shipping_method_id = 0; - if ($socid > 0) { - print ''; - if (!empty($conf->global->SOCIETE_ASK_FOR_SHIPPING_METHOD) && !empty($soc->shipping_method_id)) { - $shipping_method_id = $soc->shipping_method_id; - } - //$warehouse_id = $soc->warehouse_id; - } else { - print ''; } - print ' '; - print ''; - } - print ''."\n"; + print ''."\n"; - if ($socid > 0) { - // Contacts (ask contact only if thirdparty already defined). - print ''; + if ($socid > 0) { + // Contacts (ask contact only if thirdparty already defined). + print ''; - // Third party discounts info line - print ''; - } + $thirdparty = $soc; + $discount_type = 0; + $backtopage = $_SERVER["PHP_SELF"].'?socid='.$thirdparty->id.'&action='.$action.'&origin='.urlencode(GETPOST('origin')).'&originid='.urlencode(GETPOSTINT('originid')); + include DOL_DOCUMENT_ROOT.'/core/tpl/object_discounts.tpl.php'; + print ''; + } - // Date - print ''; - - // Validaty duration - print ''; - - // Terms of payment - print ''; - - // Mode of payment - print ''; - - // Bank Account - if (!empty($conf->global->BANK_ASK_PAYMENT_BANK_DURING_PROPOSAL) && isModEnabled("banque")) { - print ''; - } - // Source / Channel - What trigger creation - print ''; + // Validaty duration + print ''; - // Delivery delay - print ''; - - // Shipping Method - if (isModEnabled("expedition")) { - if (!empty($conf->global->SOCIETE_ASK_FOR_SHIPPING_METHOD) && !empty($soc->shipping_method_id)) { - $shipping_method_id = $soc->shipping_method_id; - } - print ''; - } - // Warehouse - if (isModEnabled('stock') && !empty($conf->global->WAREHOUSE_ASK_WAREHOUSE_DURING_PROPAL)) { - require_once DOL_DOCUMENT_ROOT.'/product/class/html.formproduct.class.php'; - $formproduct = new FormProduct($db); - print ''; - } - - // Delivery date (or manufacturing) - print ''; - print ''; - // Project - if (isModEnabled('project')) { - $langs->load("projects"); - print ''; - print ''; - print ''; - } + // Bank Account + if (!empty($conf->global->BANK_ASK_PAYMENT_BANK_DURING_PROPOSAL) && isModEnabled("banque")) { + print ''; + } - // Incoterms - if (isModEnabled('incoterm')) { - print ''; - print ''; - print ''; - } - // Template to use by default - print ''; - print ''; - print '"; - - // Multicurrency - if (isModEnabled("multicurrency")) { - print ''; - print ''; - print ''; + } + + // Warehouse + if (isModEnabled('stock') && !empty($conf->global->WAREHOUSE_ASK_WAREHOUSE_DURING_PROPAL)) { + require_once DOL_DOCUMENT_ROOT.'/product/class/html.formproduct.class.php'; + $formproduct = new FormProduct($db); + print ''; + } + + // Delivery delay + print ''; - } - // Public note - print ''; - print ''; - print ''; - print ''; + // Delivery date (or manufacturing) + print ''; print ''; - } - // Other attributes - include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_add.tpl.php'; + // Project + if (isModEnabled('project')) { + $langs->load("projects"); + print ''; + print ''; + print ''; + } - // Lines from source - if (!empty($origin) && !empty($originid) && is_object($objectsrc)) { - // TODO for compatibility - if ($origin == 'contrat') { - // Calcul contrat->price (HT), contrat->total (TTC), contrat->tva - $objectsrc->remise_absolue = $remise_absolue; // deprecated - $objectsrc->remise_percent = $remise_percent; - $objectsrc->update_price(1, 'auto', 1); + // Incoterms + if (isModEnabled('incoterm')) { + print ''; + print ''; + print ''; } - print "\n"; - print "\n"; - print ''."\n"; - print ''."\n"; - print ''."\n"; - print ''; - print ''; + // Template to use by default + print ''; + print ''; + print '"; - $newclassname = $classname; - if ($newclassname == 'Propal') { - $newclassname = 'CommercialProposal'; - } elseif ($newclassname == 'Commande') { - $newclassname = 'Order'; - } elseif ($newclassname == 'Expedition') { - $newclassname = 'Sending'; - } elseif ($newclassname == 'Fichinter') { - $newclassname = 'Intervention'; + // Multicurrency + if (isModEnabled("multicurrency")) { + print ''; + print ''; + print ''; } - print ''; - print ''; - print '"; - if ($mysoc->localtax1_assuj == "1" || $objectsrc->total_localtax1 != 0) { // Localtax1 - print '"; - } + // Public note + print ''; + print ''; + print '"; + // Private note + if (empty($user->socid)) { + print ''; + print ''; + print ''; } - print '"; - if (isModEnabled("multicurrency")) { - print ''; - print '"; - print '"; - } - } + // Other attributes + include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_add.tpl.php'; - print "
'.$langs->trans('Ref').''.$langs->trans("Draft").'
'.$langs->trans('Ref').''.$langs->trans("Draft").'
'.$langs->trans('RefCustomer').''; - print '
'.$langs->trans('Customer').''; - print $soc->getNomUrl(1, 'customer'); - print ''; - print ''; - $filter = '((s.client:IN:1,2,3) AND (s.status:=:1))'; - print img_picto('', 'company', 'class="pictofixedwidth"').$form->select_company('', 'socid', $filter, 'SelectThirdParty', 1, 0, null, 0, 'minwidth300 maxwidth500 widthcentpercentminusxx'); - // reload page to retrieve customer informations - if (empty($conf->global->RELOAD_PAGE_ON_CUSTOMER_CHANGE_DISABLED)) { - print ''; + '; + } + print ' '; + print '
'.$langs->trans("DefaultContact").''; - print img_picto('', 'contact', 'class="pictofixedwidth"'); - print $form->selectcontacts($soc->id, $contactid, 'contactid', 1, '', '', 0, 'minwidth300'); - print '
'.$langs->trans("DefaultContact").''; + print img_picto('', 'contact', 'class="pictofixedwidth"'); + print $form->selectcontacts($soc->id, $contactid, 'contactid', 1, '', '', 0, 'minwidth300'); + print '
'.$langs->trans('Discounts').''; + // Third party discounts info line + print '
'.$langs->trans('Discounts').''; - $absolute_discount = $soc->getAvailableDiscounts(); + $absolute_discount = $soc->getAvailableDiscounts(); - $thirdparty = $soc; - $discount_type = 0; - $backtopage = $_SERVER["PHP_SELF"].'?socid='.$thirdparty->id.'&action='.$action.'&origin='.urlencode(GETPOST('origin')).'&originid='.urlencode(GETPOSTINT('originid')); - include DOL_DOCUMENT_ROOT.'/core/tpl/object_discounts.tpl.php'; - print '
'.$langs->trans('DatePropal').''; - print img_picto('', 'action', 'class="pictofixedwidth"'); - print $form->selectDate('', '', '', '', '', "addprop", 1, 1); - print '
'.$langs->trans("ValidityDuration").''.img_picto('', 'clock', 'class="pictofixedwidth"').' '.$langs->trans("days").'
'.$langs->trans('PaymentConditionsShort').''; - print img_picto('', 'payment', 'class="pictofixedwidth"'); - // at last resort we take the payment term id which may be filled by default values set (if not getpostisset) - print $form->getSelectConditionsPaiements($cond_reglement_id, 'cond_reglement_id', 1, 1, 0, '', $deposit_percent); - print '
'.$langs->trans('PaymentMode').''; - print img_picto('', 'bank', 'class="pictofixedwidth"'); - print $form->select_types_paiements($mode_reglement_id, 'mode_reglement_id', 'CRDT', 0, 1, 0, 0, 1, 'maxwidth200 widthcentpercentminusx', 1); - print '
'.$langs->trans('DatePropal').''; + print img_picto('', 'action', 'class="pictofixedwidth"'); + print $form->selectDate('', '', '', '', '', "addprop", 1, 1); print '
'.$langs->trans('Source').''; - print img_picto('', 'question', 'class="pictofixedwidth"'); - $form->selectInputReason((GETPOSTISSET('demand_reason_id') ? GETPOST('demand_reason_id', 'int') : ''), 'demand_reason_id', "SRC_PROP", 1, 'maxwidth200 widthcentpercentminusx'); - print '
'.$langs->trans("ValidityDuration").''.img_picto('', 'clock', 'class="pictofixedwidth"').' '.$langs->trans("days").'
'.$langs->trans('AvailabilityPeriod'); - if (isModEnabled('commande')) { - print ' ('.$langs->trans('AfterOrder').')'; - } - print ''; - print img_picto('', 'clock', 'class="pictofixedwidth"'); - $form->selectAvailabilityDelay((GETPOSTISSET('availability_id') ? GETPOST('availability_id', 'int') : ''), 'availability_id', '', 1, 'maxwidth200 widthcentpercentminusx'); - print '
'.$langs->trans('SendingMethod').''; - print img_picto('', 'dolly', 'class="pictofixedwidth"'); - $form->selectShippingMethod((GETPOSTISSET('shipping_method_id') ? GETPOST('shipping_method_id', 'int') : $shipping_method_id), 'shipping_method_id', '', 1, '', 0, 'maxwidth200 widthcentpercentminusx'); + // Terms of payment + print '
'.$langs->trans('PaymentConditionsShort').''; + print img_picto('', 'payment', 'class="pictofixedwidth"'); + // at last resort we take the payment term id which may be filled by default values set (if not getpostisset) + print $form->getSelectConditionsPaiements($cond_reglement_id, 'cond_reglement_id', 1, 1, 0, '', $deposit_percent); print '
'.$langs->trans('Warehouse').''; - print img_picto('', 'stock', 'class="pictofixedwidth"').$formproduct->selectWarehouses($warehouse_id, 'warehouse_id', '', 1, 0, 0, '', 0, 0, array(), 'maxwidth500 widthcentpercentminusxx'); + // Mode of payment + print '
'.$langs->trans('PaymentMode').''; + print img_picto('', 'bank', 'class="pictofixedwidth"'); + print $form->select_types_paiements($mode_reglement_id, 'mode_reglement_id', 'CRDT', 0, 1, 0, 0, 1, 'maxwidth200 widthcentpercentminusx', 1); print '
'.$langs->trans("DeliveryDate").''; - print img_picto('', 'action', 'class="pictofixedwidth"'); - if (isset($conf->global->DATE_LIVRAISON_WEEK_DELAY) && is_numeric($conf->global->DATE_LIVRAISON_WEEK_DELAY)) { - $tmpdte = time() + ((7 * $conf->global->DATE_LIVRAISON_WEEK_DELAY) * 24 * 60 * 60); - $syear = date("Y", $tmpdte); - $smonth = date("m", $tmpdte); - $sday = date("d", $tmpdte); - print $form->selectDate($syear."-".$smonth."-".$sday, 'date_livraison', '', '', '', "addprop"); - } else { - print $form->selectDate(-1, 'date_livraison', '', '', '', "addprop", 1, 1); - } - print '
'.$langs->trans("Project").''; - print img_picto('', 'project', 'class="pictofixedwidth"').$formproject->select_projects(($soc->id > 0 ? $soc->id : -1), $projectid, 'projectid', 0, 0, 1, 1, 0, 0, 0, '', 1, 0, 'maxwidth500 widthcentpercentminusxx'); - print ' id).'">'; - print '
'; - print img_picto('', 'incoterm', 'class="pictofixedwidth"'); - print $form->select_incoterms((!empty($soc->fk_incoterms) ? $soc->fk_incoterms : ''), (!empty($soc->location_incoterms) ? $soc->location_incoterms : '')); + // Source / Channel - What trigger creation + print '
'.$langs->trans('Source').''; + print img_picto('', 'question', 'class="pictofixedwidth"'); + $form->selectInputReason((GETPOSTISSET('demand_reason_id') ? GETPOST('demand_reason_id', 'int') : ''), 'demand_reason_id', "SRC_PROP", 1, 'maxwidth200 widthcentpercentminusx'); print '
'.$langs->trans("DefaultModel").''; - print img_picto('', 'pdf', 'class="pictofixedwidth"'); - $liste = ModelePDFPropales::liste_modeles($db); - $preselected = (!empty($conf->global->PROPALE_ADDON_PDF_ODT_DEFAULT) ? $conf->global->PROPALE_ADDON_PDF_ODT_DEFAULT : getDolGlobalString("PROPALE_ADDON_PDF")); - print $form->selectarray('model', $liste, $preselected, 0, 0, 0, '', 0, 0, 0, '', 'maxwidth200 widthcentpercentminusx', 1); - print "
'.$form->editfieldkey('Currency', 'multicurrency_code', '', $object, 0).''; - print img_picto('', 'currency', 'class="pictofixedwidth"').$form->selectMultiCurrency(((GETPOSTISSET('multicurrency_code') && !GETPOST('changecompany'))?GETPOST('multicurrency_code'):$currency_code), 'multicurrency_code', 0); + // Shipping Method + if (isModEnabled("expedition")) { + if (!empty($conf->global->SOCIETE_ASK_FOR_SHIPPING_METHOD) && !empty($soc->shipping_method_id)) { + $shipping_method_id = $soc->shipping_method_id; + } + print '
'.$langs->trans('SendingMethod').''; + print img_picto('', 'dolly', 'class="pictofixedwidth"'); + $form->selectShippingMethod((GETPOSTISSET('shipping_method_id') ? GETPOST('shipping_method_id', 'int') : $shipping_method_id), 'shipping_method_id', '', 1, '', 0, 'maxwidth200 widthcentpercentminusx'); + print '
'.$langs->trans('Warehouse').''; + print img_picto('', 'stock', 'class="pictofixedwidth"').$formproduct->selectWarehouses($warehouse_id, 'warehouse_id', '', 1, 0, 0, '', 0, 0, array(), 'maxwidth500 widthcentpercentminusxx'); + print '
'.$langs->trans('AvailabilityPeriod'); + if (isModEnabled('commande')) { + print ' ('.$langs->trans('AfterOrder').')'; + } + print ''; + print img_picto('', 'clock', 'class="pictofixedwidth"'); + $form->selectAvailabilityDelay((GETPOSTISSET('availability_id') ? GETPOST('availability_id', 'int') : ''), 'availability_id', '', 1, 'maxwidth200 widthcentpercentminusx'); print '
'.$langs->trans('NotePublic').''; - $note_public = $object->getDefaultCreateValueFor('note_public', (!empty($objectsrc) ? $objectsrc->note_public : (!empty($conf->global->PROPALE_ADDON_NOTE_PUBLIC_DEFAULT) ? $conf->global->PROPALE_ADDON_NOTE_PUBLIC_DEFAULT : null)), 'restricthtml'); - $doleditor = new DolEditor('note_public', $note_public, '', 80, 'dolibarr_notes', 'In', 0, false, empty($conf->global->FCKEDITOR_ENABLE_NOTE_PUBLIC) ? 0 : 1, ROWS_3, '90%'); - print $doleditor->Create(1); - - // Private note - if (empty($user->socid)) { - print '
'.$langs->trans('NotePrivate').'
'.$langs->trans("DeliveryDate").''; - $note_private = $object->getDefaultCreateValueFor('note_private', ((!empty($origin) && !empty($originid) && is_object($objectsrc)) ? $objectsrc->note_private : null)); - $doleditor = new DolEditor('note_private', $note_private, '', 80, 'dolibarr_notes', 'In', 0, false, empty($conf->global->FCKEDITOR_ENABLE_NOTE_PRIVATE) ? 0 : 1, ROWS_3, '90%'); - print $doleditor->Create(1); - // print ' + print img_picto('', 'action', 'class="pictofixedwidth"'); + if (is_numeric(getDolGlobalString('DATE_LIVRAISON_WEEK_DELAY'))) { // If value set to 0 or a num, not empty + $tmpdte = time() + (7 * getDolGlobalInt('DATE_LIVRAISON_WEEK_DELAY') * 24 * 60 * 60); + $syear = date("Y", $tmpdte); + $smonth = date("m", $tmpdte); + $sday = date("d", $tmpdte); + print $form->selectDate($syear."-".$smonth."-".$sday, 'date_livraison', '', '', '', "addprop"); + } else { + print $form->selectDate(-1, 'date_livraison', '', '', '', "addprop", 1, 1); + } print '
'.$langs->trans("Project").''; + print img_picto('', 'project', 'class="pictofixedwidth"').$formproject->select_projects(($soc->id > 0 ? $soc->id : -1), $projectid, 'projectid', 0, 0, 1, 1, 0, 0, 0, '', 1, 0, 'maxwidth500 widthcentpercentminusxx'); + print ' id).'">'; + print '
'; + print img_picto('', 'incoterm', 'class="pictofixedwidth"'); + print $form->select_incoterms((!empty($soc->fk_incoterms) ? $soc->fk_incoterms : ''), (!empty($soc->location_incoterms) ? $soc->location_incoterms : '')); + print '
'.$langs->trans("DefaultModel").''; + print img_picto('', 'pdf', 'class="pictofixedwidth"'); + $liste = ModelePDFPropales::liste_modeles($db); + $preselected = (!empty($conf->global->PROPALE_ADDON_PDF_ODT_DEFAULT) ? $conf->global->PROPALE_ADDON_PDF_ODT_DEFAULT : getDolGlobalString("PROPALE_ADDON_PDF")); + print $form->selectarray('model', $liste, $preselected, 0, 0, 0, '', 0, 0, 0, '', 'maxwidth200 widthcentpercentminusx', 1); + print "
'.$form->editfieldkey('Currency', 'multicurrency_code', '', $object, 0).''; + print img_picto('', 'currency', 'class="pictofixedwidth"').$form->selectMultiCurrency(((GETPOSTISSET('multicurrency_code') && !GETPOST('changecompany'))?GETPOST('multicurrency_code'):$currency_code), 'multicurrency_code', 0); + print '
'.$langs->trans($newclassname).''.$objectsrc->getNomUrl(1).'
'.$langs->trans('AmountHT').''.price($objectsrc->total_ht, 0, $langs, 1, -1, -1, $conf->currency).'
'.$langs->trans('AmountVAT').''.price($objectsrc->total_tva, 0, $langs, 1, -1, -1, $conf->currency)."
'.$langs->transcountry("AmountLT1", $mysoc->country_code).''.price($objectsrc->total_localtax1, 0, $langs, 1, -1, -1, $conf->currency)."
'.$langs->trans('NotePublic').''; + $note_public = $object->getDefaultCreateValueFor('note_public', (!empty($objectsrc) ? $objectsrc->note_public : (!empty($conf->global->PROPALE_ADDON_NOTE_PUBLIC_DEFAULT) ? $conf->global->PROPALE_ADDON_NOTE_PUBLIC_DEFAULT : null)), 'restricthtml'); + $doleditor = new DolEditor('note_public', $note_public, '', 80, 'dolibarr_notes', 'In', 0, false, empty($conf->global->FCKEDITOR_ENABLE_NOTE_PUBLIC) ? 0 : 1, ROWS_3, '90%'); + print $doleditor->Create(1); - if ($mysoc->localtax2_assuj == "1" || $objectsrc->total_localtax2 != 0) { // Localtax2 - print '
'.$langs->transcountry("AmountLT2", $mysoc->country_code).''.price($objectsrc->total_localtax2, 0, $langs, 1, -1, -1, $conf->currency)."
'.$langs->trans('NotePrivate').''; + $note_private = $object->getDefaultCreateValueFor('note_private', ((!empty($origin) && !empty($originid) && is_object($objectsrc)) ? $objectsrc->note_private : null)); + $doleditor = new DolEditor('note_private', $note_private, '', 80, 'dolibarr_notes', 'In', 0, false, empty($conf->global->FCKEDITOR_ENABLE_NOTE_PRIVATE) ? 0 : 1, ROWS_3, '90%'); + print $doleditor->Create(1); + // print ' + print '
'.$langs->trans('AmountTTC').''.price($objectsrc->total_ttc, 0, $langs, 1, -1, -1, $conf->currency)."
'.$langs->trans('MulticurrencyAmountHT').''.price($objectsrc->multicurrency_total_ht).'
'.$langs->trans('MulticurrencyAmountVAT').''.price($objectsrc->multicurrency_total_tva)."
'.$langs->trans('MulticurrencyAmountTTC').''.price($objectsrc->multicurrency_total_ttc)."
\n"; + // Lines from source + if (!empty($origin) && !empty($originid) && is_object($objectsrc)) { + // TODO for compatibility + if ($origin == 'contrat') { + // Calcul contrat->price (HT), contrat->total (TTC), contrat->tva + //$objectsrc->remise_absolue = $remise_absolue; // deprecated + //$objectsrc->remise_percent = $remise_percent; + $objectsrc->update_price(1, 'auto', 1); + } + print "\n"; + print "\n"; + print ''."\n"; + print ''."\n"; + print ''."\n"; + print ''; + print ''; + + $newclassname = $classname; + if ($newclassname == 'Propal') { + $newclassname = 'CommercialProposal'; + } elseif ($newclassname == 'Commande') { + $newclassname = 'Order'; + } elseif ($newclassname == 'Expedition') { + $newclassname = 'Sending'; + } elseif ($newclassname == 'Fichinter') { + $newclassname = 'Intervention'; + } - /* - * Combobox for copy function - */ + print ''.$langs->trans($newclassname).''.$objectsrc->getNomUrl(1).''; + print ''.$langs->trans('AmountHT').''.price($objectsrc->total_ht, 0, $langs, 1, -1, -1, $conf->currency).''; + print ''.$langs->trans('AmountVAT').''.price($objectsrc->total_tva, 0, $langs, 1, -1, -1, $conf->currency).""; + if ($mysoc->localtax1_assuj == "1" || $objectsrc->total_localtax1 != 0) { // Localtax1 + print ''.$langs->transcountry("AmountLT1", $mysoc->country_code).''.price($objectsrc->total_localtax1, 0, $langs, 1, -1, -1, $conf->currency).""; + } - if (empty($conf->global->PROPAL_CLONE_ON_CREATE_PAGE)) { - print ''; - } + if ($mysoc->localtax2_assuj == "1" || $objectsrc->total_localtax2 != 0) { // Localtax2 + print ''.$langs->transcountry("AmountLT2", $mysoc->country_code).''.price($objectsrc->total_localtax2, 0, $langs, 1, -1, -1, $conf->currency).""; + } + print ''.$langs->trans('AmountTTC').''.price($objectsrc->total_ttc, 0, $langs, 1, -1, -1, $conf->currency).""; - if (!empty($conf->global->PROPAL_CLONE_ON_CREATE_PAGE)) { - print '
'; + if (isModEnabled("multicurrency")) { + print ''; + print '"; + print '"; + } + } - // For backward compatibility - print ''; - print ''; - print ''; - print '
'.$langs->trans('MulticurrencyAmountHT').''.price($objectsrc->multicurrency_total_ht).'
'.$langs->trans('MulticurrencyAmountVAT').''.price($objectsrc->multicurrency_total_tva)."
'.$langs->trans('MulticurrencyAmountTTC').''.price($objectsrc->multicurrency_total_ttc)."
'.$langs->trans("CopyPropalFrom").' '; - $liste_propal = array(); - $liste_propal [0] = ''; - - $sql = "SELECT p.rowid as id, p.ref, s.nom"; - $sql .= " FROM ".MAIN_DB_PREFIX."propal p"; - $sql .= ", ".MAIN_DB_PREFIX."societe s"; - $sql .= " WHERE s.rowid = p.fk_soc"; - $sql .= " AND p.entity IN (".getEntity('propal').")"; - $sql .= " AND p.fk_statut <> 0"; - $sql .= " ORDER BY Id"; - - $resql = $db->query($sql); - if ($resql) { - $num = $db->num_rows($resql); - $i = 0; - while ($i < $num) { - $row = $db->fetch_row($resql); - $propalRefAndSocName = $row[1]." - ".$row[2]; - $liste_propal[$row[0]] = $propalRefAndSocName; - $i++; - } - print $form->selectarray("copie_propal", $liste_propal, 0); - } else { - dol_print_error($db); + print "
\n"; + + + /* + * Combobox for copy function + */ + + if (empty($conf->global->PROPAL_CLONE_ON_CREATE_PAGE)) { + print ''; } - print ''; - print ''; - print ''.$langs->trans("CreateEmptyPropal").''; - print ''; + if (!empty($conf->global->PROPAL_CLONE_ON_CREATE_PAGE)) { + print '
'; + + // For backward compatibility + print ''; + print ''; + print ''; + print ''; + + print ''; + print ''; + print '
'.$langs->trans("CopyPropalFrom").' '; + $liste_propal = array(); + $liste_propal [0] = ''; + + $sql = "SELECT p.rowid as id, p.ref, s.nom"; + $sql .= " FROM ".MAIN_DB_PREFIX."propal p"; + $sql .= ", ".MAIN_DB_PREFIX."societe s"; + $sql .= " WHERE s.rowid = p.fk_soc"; + $sql .= " AND p.entity IN (".getEntity('propal').")"; + $sql .= " AND p.fk_statut <> 0"; + $sql .= " ORDER BY Id"; + + $resql = $db->query($sql); + if ($resql) { + $num = $db->num_rows($resql); + $i = 0; + while ($i < $num) { + $row = $db->fetch_row($resql); + $propalRefAndSocName = $row[1]." - ".$row[2]; + $liste_propal[$row[0]] = $propalRefAndSocName; + $i++; + } + print $form->selectarray("copie_propal", $liste_propal, 0); + } else { + dol_print_error($db); + } + print '
'.$langs->trans("CreateEmptyPropal").'
'; + } } print dol_get_fiche_end(); @@ -2168,9 +2195,12 @@ /* * Show object in view mode */ - - $soc = new Societe($db); - $soc->fetch($object->socid); + $object->fetch_thirdparty(); + if ($object->thirdparty) { + $soc = $object->thirdparty; + } else { + $soc = new Societe($db); + } $head = propal_prepare_head($object); print dol_get_fiche_head($head, 'comm', $langs->trans('Proposal'), -1, 'propal'); @@ -2210,7 +2240,7 @@ // It may also break step of creating an order when invoicing must be done from orders and not from proposal $deposit_percent_from_payment_terms = getDictionaryValue('c_payment_term', 'deposit_percent', $object->cond_reglement_id); - if (!empty($deposit_percent_from_payment_terms) && isModEnabled('facture') && !empty($user->rights->facture->creer)) { + if (!empty($deposit_percent_from_payment_terms) && isModEnabled('facture') && $user->hasRight('facture', 'creer')) { require_once DOL_DOCUMENT_ROOT . '/compta/facture/class/facture.class.php'; $object->fetchObjectLinked(); @@ -2418,11 +2448,11 @@ $morehtmlref = '
'; // Ref customer $morehtmlref .= $form->editfieldkey("RefCustomer", 'ref_client', $object->ref_client, $object, $usercancreate, 'string', '', 0, 1); - $morehtmlref .= $form->editfieldval("RefCustomer", 'ref_client', $object->ref_client, $object, $usercancreate, 'string'.(isset($conf->global->THIRDPARTY_REF_INPUT_SIZE) ? ':'.$conf->global->THIRDPARTY_REF_INPUT_SIZE : ''), '', null, null, '', 1); + $morehtmlref .= $form->editfieldval("RefCustomer", 'ref_client', $object->ref_client, $object, $usercancreate, 'string'.(isset($conf->global->THIRDPARTY_REF_INPUT_SIZE) ? ':' . getDolGlobalString('THIRDPARTY_REF_INPUT_SIZE') : ''), '', null, null, '', 1); // Thirdparty - $morehtmlref .= '
'.$object->thirdparty->getNomUrl(1, 'customer'); - if (empty($conf->global->MAIN_DISABLE_OTHER_LINK) && $object->thirdparty->id > 0) { - $morehtmlref .= ' ('.$langs->trans("OtherProposals").')'; + $morehtmlref .= '
'.$langs->trans('ThirdParty').' : '.$soc->getNomUrl(1, 'customer'); + if (empty($conf->global->MAIN_DISABLE_OTHER_LINK) && $soc->id > 0) { + $morehtmlref .= ' ('.$langs->trans("OtherProposals").')'; } // Project if (isModEnabled('project')) { @@ -2450,479 +2480,484 @@ dol_banner_tab($object, 'ref', $linkback, 1, 'ref', 'ref', $morehtmlref); + // Call Hook tabContentViewProposal + $parameters = array(); + // Note that $action and $object may be modified by hook + $reshook = $hookmanager->executeHooks('tabContentViewProposal', $parameters, $object, $action); + if (empty($reshook)) { + print '
'; + print '
'; + print '
'; - print '
'; - print '
'; - print '
'; + print ''; - print '
'; + // Link for thirdparty discounts + if (!empty($conf->global->FACTURE_DEPOSITS_ARE_JUST_PAYMENTS)) { + $filterabsolutediscount = "fk_facture_source IS NULL"; // If we want deposit to be substracted to payments only and not to total of final invoice + $filtercreditnote = "fk_facture_source IS NOT NULL"; // If we want deposit to be substracted to payments only and not to total of final invoice + } else { + $filterabsolutediscount = "fk_facture_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS RECEIVED)%')"; + $filtercreditnote = "fk_facture_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS RECEIVED)%')"; + } - // Link for thirdparty discounts - if (!empty($conf->global->FACTURE_DEPOSITS_ARE_JUST_PAYMENTS)) { - $filterabsolutediscount = "fk_facture_source IS NULL"; // If we want deposit to be substracted to payments only and not to total of final invoice - $filtercreditnote = "fk_facture_source IS NOT NULL"; // If we want deposit to be substracted to payments only and not to total of final invoice - } else { - $filterabsolutediscount = "fk_facture_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS RECEIVED)%')"; - $filtercreditnote = "fk_facture_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS RECEIVED)%')"; - } + print ''; - - // Date of proposal - print ''; - print ''; + + // Date of proposal + print ''; + print ''; - - // Date end proposal - print ''; - print ''; - print ''; - - // Payment term - print ''; - print ''; - - // Payment mode - print ''; - print ''; - - // Delivery date - $langs->load('deliveries'); - print ''; - print ''; - - // Delivery delay - print ''; - print ''; - print ''; + // Date end proposal + print ''; + print ''; + print ''; - // Shipping Method - if (isModEnabled("expedition")) { + // Payment term print '
'.$langs->trans('Discounts').''; - print '
'.$langs->trans('Discounts').''; - - $absolute_discount = $soc->getAvailableDiscounts('', $filterabsolutediscount); - $absolute_creditnote = $soc->getAvailableDiscounts('', $filtercreditnote); - $absolute_discount = price2num($absolute_discount, 'MT'); - $absolute_creditnote = price2num($absolute_creditnote, 'MT'); - - $caneditfield = ($object->statut != Propal::STATUS_SIGNED && $object->statut != Propal::STATUS_BILLED); - - $thirdparty = $soc; - $discount_type = 0; - $backtopage = $_SERVER["PHP_SELF"].'?id='.$object->id; - include DOL_DOCUMENT_ROOT.'/core/tpl/object_discounts.tpl.php'; - - print '
'; - // print ''; - // if ($action != 'editdate' && $usercancreate && $caneditfield) { - // print ''; - // } - - // print '
'; - // print $langs->trans('DatePropal'); - // print 'id.'">'.img_edit($langs->trans('SetDate'), 1).'
'; - $editenable = $usercancreate && $caneditfield && $object->statut == Propal::STATUS_DRAFT; - print $form->editfieldkey("DatePropal", 'date', '', $object, $editenable); - print '
'; - if ($action == 'editdate' && $usercancreate && $caneditfield) { - print '
'; - print ''; - print ''; - print ''; - print $form->selectDate($object->date, 're', '', '', 0, "editdate"); - print ''; - print '
'; - } else { - if ($object->date) { - print dol_print_date($object->date, 'day'); + $absolute_discount = $soc->getAvailableDiscounts('', $filterabsolutediscount); + $absolute_creditnote = $soc->getAvailableDiscounts('', $filtercreditnote); + $absolute_discount = price2num($absolute_discount, 'MT'); + $absolute_creditnote = price2num($absolute_creditnote, 'MT'); + + $caneditfield = ($object->statut != Propal::STATUS_SIGNED && $object->statut != Propal::STATUS_BILLED); + + $thirdparty = $soc; + $discount_type = 0; + $backtopage = $_SERVER["PHP_SELF"].'?id='.$object->id; + include DOL_DOCUMENT_ROOT.'/core/tpl/object_discounts.tpl.php'; + + print '
'; + // print ''; + // if ($action != 'editdate' && $usercancreate && $caneditfield) { + // print ''; + // } + + // print '
'; + // print $langs->trans('DatePropal'); + // print 'id.'">'.img_edit($langs->trans('SetDate'), 1).'
'; + $editenable = $usercancreate && $caneditfield && $object->statut == Propal::STATUS_DRAFT; + print $form->editfieldkey("DatePropal", 'date', '', $object, $editenable); + print '
'; + if ($action == 'editdate' && $usercancreate && $caneditfield) { + print '
'; + print ''; + print ''; + print ''; + print $form->selectDate($object->date, 're', '', '', 0, "editdate"); + print ''; + print '
'; } else { - print ' '; - } - } - print '
'; - print ''; - if ($action != 'editecheance' && $usercancreate && $caneditfield) { - print ''; - } - print '
'; - print $langs->trans('DateEndPropal'); - print 'id.'">'.img_edit($langs->trans('SetConditions'), 1).'
'; - print '
'; - if ($action == 'editecheance' && $usercancreate && $caneditfield) { - print '
'; - print ''; - print ''; - print ''; - print $form->selectDate($object->fin_validite, 'ech', '', '', '', "editecheance"); - print ''; - print '
'; - } else { - if (!empty($object->fin_validite)) { - print dol_print_date($object->fin_validite, 'day'); - if ($object->statut == Propal::STATUS_VALIDATED && $object->fin_validite < ($now - $conf->propal->cloture->warning_delay)) { - print img_warning($langs->trans("Late")); + if ($object->date) { + print dol_print_date($object->date, 'day'); + } else { + print ' '; } - } else { - print ' '; } - } - print '
'; - print ''; - if ($action != 'editconditions' && $usercancreate && $caneditfield) { - print ''; - } - print '
'; - print $langs->trans('PaymentConditionsShort'); - print 'id.'">'.img_edit($langs->transnoentitiesnoconv('SetConditions'), 1).'
'; - print '
'; - if ($action == 'editconditions' && $usercancreate && $caneditfield) { - $form->form_conditions_reglement($_SERVER['PHP_SELF'].'?id='.$object->id, $object->cond_reglement_id, 'cond_reglement_id', 0, '', 1, $object->deposit_percent); - } else { - $form->form_conditions_reglement($_SERVER['PHP_SELF'].'?id='.$object->id, $object->cond_reglement_id, 'none', 0, '', 1, $object->deposit_percent); - } - print '
'; - print ''; - if ($action != 'editmode' && $usercancreate && $caneditfield) { - print ''; - } - print '
'; - print $langs->trans('PaymentMode'); - print 'id.'">'.img_edit($langs->transnoentitiesnoconv('SetMode'), 1).'
'; - print '
'; - if ($action == 'editmode' && $usercancreate && $caneditfield) { - $form->form_modes_reglement($_SERVER['PHP_SELF'].'?id='.$object->id, $object->mode_reglement_id, 'mode_reglement_id', 'CRDT', 1, 1); - } else { - $form->form_modes_reglement($_SERVER['PHP_SELF'].'?id='.$object->id, $object->mode_reglement_id, 'none'); - } - print '
'; - print $form->editfieldkey($langs->trans('DeliveryDate'), 'date_livraison', $object->delivery_date, $object, $usercancreate && $caneditfield, 'datepicker'); - print ''; - print $form->editfieldval($langs->trans('DeliveryDate'), 'date_livraison', $object->delivery_date, $object, $usercancreate && $caneditfield, 'datepicker'); - print '
'; - print ''; - if ($action != 'editavailability' && $usercancreate && $caneditfield) { - print ''; - } - print '
'; - if (isModEnabled('commande')) { - print $form->textwithpicto($langs->trans('AvailabilityPeriod'), $langs->trans('AvailabilityPeriod').' ('.$langs->trans('AfterOrder').')'); - } else { - print $langs->trans('AvailabilityPeriod'); - } - print 'id.'">'.img_edit($langs->transnoentitiesnoconv('SetAvailability'), 1).'
'; - print '
'; - if ($action == 'editavailability' && $usercancreate && $caneditfield) { - $form->form_availability($_SERVER['PHP_SELF'].'?id='.$object->id, $object->availability_id, 'availability_id', 1); - } else { - $form->form_availability($_SERVER['PHP_SELF'].'?id='.$object->id, $object->availability_id, 'none', 1); - } + print '
'; + print ''; + if ($action != 'editecheance' && $usercancreate && $caneditfield) { + print ''; + } + print '
'; + print $langs->trans('DateEndPropal'); + print 'id.'">'.img_edit($langs->trans('SetConditions'), 1).'
'; + print '
'; + if ($action == 'editecheance' && $usercancreate && $caneditfield) { + print '
'; + print ''; + print ''; + print ''; + print $form->selectDate($object->fin_validite, 'ech', '', '', '', "editecheance"); + print ''; + print '
'; + } else { + if (!empty($object->fin_validite)) { + print dol_print_date($object->fin_validite, 'day'); + if ($object->statut == Propal::STATUS_VALIDATED && $object->fin_validite < ($now - $conf->propal->cloture->warning_delay)) { + print img_warning($langs->trans("Late")); + } + } else { + print ' '; + } + } + print '
'; - print ''; print ''; - } - // Warehouse - if (isModEnabled('stock') && !empty($conf->global->WAREHOUSE_ASK_WAREHOUSE_DURING_PROPAL)) { - $langs->load('stocks'); - require_once DOL_DOCUMENT_ROOT.'/product/class/html.formproduct.class.php'; - $formproduct = new FormProduct($db); - print ''; + print ''; + + // Delivery date + $langs->load('deliveries'); + print ''; print ''; - } - // Origin of demand - print ''; - print ''; - - // Multicurrency - if (isModEnabled("multicurrency")) { - // Multicurrency code - print ''; - print ''; - // Multicurrency rate - if ($object->multicurrency_code != $conf->currency || $object->multicurrency_tx != 1) { - print ''; - print ''; - print ''; - print ''; - if (isModEnabled("multicurrency") && ($object->multicurrency_code && $object->multicurrency_code != $conf->currency)) { - print ''; - } - print ''; + print ''; + print '
'; + print '
'; - print '
'; - print ''; - print ''; - if (isModEnabled("multicurrency") && ($object->multicurrency_code && $object->multicurrency_code != $conf->currency)) { - print ''; - } - print ''; + print '
'; - print $langs->trans('SendingMethod'); + print ''; - if ($action != 'editshippingmethod' && $usercancreate && $caneditfield) { - print ''; + if ($action != 'editconditions' && $usercancreate && $caneditfield) { + print ''; } print '
'; + print $langs->trans('PaymentConditionsShort'); print 'id.'">'.img_edit($langs->trans('SetShippingMode'), 1).'id.'">'.img_edit($langs->transnoentitiesnoconv('SetConditions'), 1).'
'; print '
'; - if ($action == 'editshippingmethod' && $usercancreate && $caneditfield) { - $form->formSelectShippingMethod($_SERVER['PHP_SELF'].'?id='.$object->id, $object->shipping_method_id, 'shipping_method_id', 1); + if ($action == 'editconditions' && $usercancreate && $caneditfield) { + $form->form_conditions_reglement($_SERVER['PHP_SELF'].'?id='.$object->id, $object->cond_reglement_id, 'cond_reglement_id', 0, '', 1, $object->deposit_percent); } else { - $form->formSelectShippingMethod($_SERVER['PHP_SELF'].'?id='.$object->id, $object->shipping_method_id, 'none'); + $form->form_conditions_reglement($_SERVER['PHP_SELF'].'?id='.$object->id, $object->cond_reglement_id, 'none', 0, '', 1, $object->deposit_percent); } print '
'; - $editenable = $usercancreate; - print $form->editfieldkey("Warehouse", 'warehouse', '', $object, $editenable); + // Payment mode + print '
'; + print ''; + if ($action != 'editmode' && $usercancreate && $caneditfield) { + print ''; + } + print '
'; + print $langs->trans('PaymentMode'); + print 'id.'">'.img_edit($langs->transnoentitiesnoconv('SetMode'), 1).'
'; print '
'; - if ($action == 'editwarehouse') { - $formproduct->formSelectWarehouses($_SERVER['PHP_SELF'].'?id='.$object->id, $object->warehouse_id, 'warehouse_id', 1); + if ($action == 'editmode' && $usercancreate && $caneditfield) { + $form->form_modes_reglement($_SERVER['PHP_SELF'].'?id='.$object->id, $object->mode_reglement_id, 'mode_reglement_id', 'CRDT', 1, 1); } else { - $formproduct->formSelectWarehouses($_SERVER['PHP_SELF'].'?id='.$object->id, $object->warehouse_id, 'none'); + $form->form_modes_reglement($_SERVER['PHP_SELF'].'?id='.$object->id, $object->mode_reglement_id, 'none'); } + print '
'; + print $form->editfieldkey($langs->trans('DeliveryDate'), 'date_livraison', $object->delivery_date, $object, $usercancreate && $caneditfield, 'datepicker'); + print ''; + print $form->editfieldval($langs->trans('DeliveryDate'), 'date_livraison', $object->delivery_date, $object, $usercancreate && $caneditfield, 'datepicker'); print '
'; - print ''; - if ($action != 'editdemandreason' && $usercancreate) { - print ''; - } - print '
'; - print $langs->trans('Source'); - print 'id.'">'.img_edit($langs->transnoentitiesnoconv('SetDemandReason'), 1).'
'; - print '
'; - if ($action == 'editdemandreason' && $usercancreate) { - $form->formInputReason($_SERVER['PHP_SELF'].'?id='.$object->id, $object->demand_reason_id, 'demand_reason_id', 1); - } else { - $form->formInputReason($_SERVER['PHP_SELF'].'?id='.$object->id, $object->demand_reason_id, 'none'); - } - print '
'; + // Delivery delay + print '
'; print ''; - if ($action != 'editmulticurrencycode' && $object->statut == $object::STATUS_DRAFT && $usercancreate) { - print ''; + if ($action != 'editavailability' && $usercancreate && $caneditfield) { + print ''; } print '
'; - print $form->editfieldkey('Currency', 'multicurrency_code', '', $object, 0); + if (isModEnabled('commande')) { + print $form->textwithpicto($langs->trans('AvailabilityPeriod'), $langs->trans('AvailabilityPeriod').' ('.$langs->trans('AfterOrder').')'); + } else { + print $langs->trans('AvailabilityPeriod'); + } print 'id.'">'.img_edit($langs->transnoentitiesnoconv('SetMultiCurrencyCode'), 1).'id.'">'.img_edit($langs->transnoentitiesnoconv('SetAvailability'), 1).'
'; print '
'; - if ($object->statut == $object::STATUS_DRAFT && $action == 'editmulticurrencycode' && $usercancreate) { - $form->form_multicurrency_code($_SERVER['PHP_SELF'].'?id='.$object->id, $object->multicurrency_code, 'multicurrency_code'); + if ($action == 'editavailability' && $usercancreate && $caneditfield) { + $form->form_availability($_SERVER['PHP_SELF'].'?id='.$object->id, $object->availability_id, 'availability_id', 1); } else { - $form->form_multicurrency_code($_SERVER['PHP_SELF'].'?id='.$object->id, $object->multicurrency_code, 'none'); + $form->form_availability($_SERVER['PHP_SELF'].'?id='.$object->id, $object->availability_id, 'none', 1); } - print '
'; - print ''; - print ''; + print ''; + + // Shipping Method + if (isModEnabled("expedition")) { + print ''; + print ''; + print ''; } - } - if ($soc->outstanding_limit) { - // Outstanding Bill - print ''; - print ''; - } + // Warehouse + if (isModEnabled('stock') && !empty($conf->global->WAREHOUSE_ASK_WAREHOUSE_DURING_PROPAL)) { + $langs->load('stocks'); + require_once DOL_DOCUMENT_ROOT.'/product/class/html.formproduct.class.php'; + $formproduct = new FormProduct($db); + print ''; + print ''; + } - if (!empty($conf->global->BANK_ASK_PAYMENT_BANK_DURING_PROPOSAL) && isModEnabled("banque")) { - // Bank Account + // Origin of demand print ''; + print ''; + } - print ''; - print '
'; - print '
'; + // Other attributes + include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_view.tpl.php'; - print '
'; - print $form->editfieldkey('CurrencyRate', 'multicurrency_tx', '', $object, 0); + print '
'; + print ''; - if ($action != 'editmulticurrencyrate' && $object->statut == $object::STATUS_DRAFT && $object->multicurrency_code && $object->multicurrency_code != $conf->currency && $usercancreate) { - print ''; + if ($action != 'editshippingmethod' && $usercancreate && $caneditfield) { + print ''; } print '
'; + print $langs->trans('SendingMethod'); print 'id.'">'.img_edit($langs->transnoentitiesnoconv('SetMultiCurrencyCode'), 1).'id.'">'.img_edit($langs->trans('SetShippingMode'), 1).'
'; print '
'; - if ($object->statut == $object::STATUS_DRAFT && ($action == 'editmulticurrencyrate' || $action == 'actualizemulticurrencyrate') && $usercancreate) { - if ($action == 'actualizemulticurrencyrate') { - list($object->fk_multicurrency, $object->multicurrency_tx) = MultiCurrency::getIdAndTxFromCode($object->db, $object->multicurrency_code); - } - $form->form_multicurrency_rate($_SERVER['PHP_SELF'].'?id='.$object->id, $object->multicurrency_tx, 'multicurrency_tx', $object->multicurrency_code); + if ($action == 'editshippingmethod' && $usercancreate && $caneditfield) { + $form->formSelectShippingMethod($_SERVER['PHP_SELF'].'?id='.$object->id, $object->shipping_method_id, 'shipping_method_id', 1); } else { - $form->form_multicurrency_rate($_SERVER['PHP_SELF'].'?id='.$object->id, $object->multicurrency_tx, 'none', $object->multicurrency_code); - if ($object->statut == $object::STATUS_DRAFT && $object->multicurrency_code && $object->multicurrency_code != $conf->currency) { - print '
        '; - print ''.$langs->trans("ActualizeCurrency").''; - print '
'; - } + $form->formSelectShippingMethod($_SERVER['PHP_SELF'].'?id='.$object->id, $object->shipping_method_id, 'none'); } - print '
'; - print $langs->trans('OutstandingBill'); - print ''; - $arrayoutstandingbills = $soc->getOutstandingBills(); - print ($arrayoutstandingbills['opened'] > $soc->outstanding_limit ? img_warning() : ''); - print price($arrayoutstandingbills['opened']).' / '; - print price($soc->outstanding_limit, 0, $langs, 1, - 1, - 1, $conf->currency); - print '
'; + $editenable = $usercancreate; + print $form->editfieldkey("Warehouse", 'warehouse', '', $object, $editenable); + print ''; + if ($action == 'editwarehouse') { + $formproduct->formSelectWarehouses($_SERVER['PHP_SELF'].'?id='.$object->id, $object->warehouse_id, 'warehouse_id', 1); + } else { + $formproduct->formSelectWarehouses($_SERVER['PHP_SELF'].'?id='.$object->id, $object->warehouse_id, 'none'); + } + print '
'; - print ''; print ''; - } - $tmparray = $object->getTotalWeightVolume(); - $totalWeight = $tmparray['weight']; - $totalVolume = $tmparray['volume']; - if ($totalWeight) { - print ''; - print ''; - } - if ($totalVolume) { - print ''; - print ''; - } + // Multicurrency + if (isModEnabled("multicurrency")) { + // Multicurrency code + print ''; + print ''; - // Incoterms - if (isModEnabled('incoterm')) { - print ''; - print ''; + print ''; + } + + if (!empty($conf->global->BANK_ASK_PAYMENT_BANK_DURING_PROPOSAL) && isModEnabled("banque")) { + // Bank Account + print ''; + print ''; } - print ''; - } - // Other attributes - include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_view.tpl.php'; + $tmparray = $object->getTotalWeightVolume(); + $totalWeight = $tmparray['weight']; + $totalVolume = $tmparray['volume']; + if ($totalWeight) { + print ''; + print ''; + } + if ($totalVolume) { + print ''; + print ''; + } - print '
'; - print $langs->trans('BankAccount'); + print ''; - if ($action != 'editbankaccount' && $usercancreate) { - print ''; + if ($action != 'editdemandreason' && $usercancreate) { + print ''; } print '
'; + print $langs->trans('Source'); print 'id.'">'.img_edit($langs->trans('SetBankAccount'), 1).'id.'">'.img_edit($langs->transnoentitiesnoconv('SetDemandReason'), 1).'
'; print '
'; - if ($action == 'editbankaccount') { - $form->formSelectAccount($_SERVER['PHP_SELF'].'?id='.$object->id, $object->fk_account, 'fk_account', 1); + if ($action == 'editdemandreason' && $usercancreate) { + $form->formInputReason($_SERVER['PHP_SELF'].'?id='.$object->id, $object->demand_reason_id, 'demand_reason_id', 1); } else { - $form->formSelectAccount($_SERVER['PHP_SELF'].'?id='.$object->id, $object->fk_account, 'none'); + $form->formInputReason($_SERVER['PHP_SELF'].'?id='.$object->id, $object->demand_reason_id, 'none'); } print '
'.$langs->trans("CalculatedWeight").''; - print showDimensionInBestUnit($totalWeight, 0, "weight", $langs, isset($conf->global->MAIN_WEIGHT_DEFAULT_ROUND) ? $conf->global->MAIN_WEIGHT_DEFAULT_ROUND : -1, isset($conf->global->MAIN_WEIGHT_DEFAULT_UNIT) ? $conf->global->MAIN_WEIGHT_DEFAULT_UNIT : 'no', 0); - print '
'.$langs->trans("CalculatedVolume").''; - print showDimensionInBestUnit($totalVolume, 0, "volume", $langs, isset($conf->global->MAIN_VOLUME_DEFAULT_ROUND) ? $conf->global->MAIN_VOLUME_DEFAULT_ROUND : -1, isset($conf->global->MAIN_VOLUME_DEFAULT_UNIT) ? $conf->global->MAIN_VOLUME_DEFAULT_UNIT : 'no', 0); - print '
'; + print ''; + if ($action != 'editmulticurrencycode' && $object->statut == $object::STATUS_DRAFT && $usercancreate) { + print ''; + } + print '
'; + print $form->editfieldkey('Currency', 'multicurrency_code', '', $object, 0); + print 'id.'">'.img_edit($langs->transnoentitiesnoconv('SetMultiCurrencyCode'), 1).'
'; + print '
'; + if ($object->statut == $object::STATUS_DRAFT && $action == 'editmulticurrencycode' && $usercancreate) { + $form->form_multicurrency_code($_SERVER['PHP_SELF'].'?id='.$object->id, $object->multicurrency_code, 'multicurrency_code'); + } else { + $form->form_multicurrency_code($_SERVER['PHP_SELF'].'?id='.$object->id, $object->multicurrency_code, 'none'); + } + print '
'; - print ''; + print ''; + } } - print '
'; - print $langs->trans('IncotermLabel'); - print ''; - if ($action != 'editincoterm' && $usercancreate && $caneditfield) { - print ''.img_edit().''; - } else { - print ' '; + // Multicurrency rate + if ($object->multicurrency_code != $conf->currency || $object->multicurrency_tx != 1) { + print '
'; + print ''; + print ''; + if ($action != 'editmulticurrencyrate' && $object->statut == $object::STATUS_DRAFT && $object->multicurrency_code && $object->multicurrency_code != $conf->currency && $usercancreate) { + print ''; + } + print '
'; + print $form->editfieldkey('CurrencyRate', 'multicurrency_tx', '', $object, 0); + print 'id.'">'.img_edit($langs->transnoentitiesnoconv('SetMultiCurrencyCode'), 1).'
'; + print '
'; + if ($object->statut == $object::STATUS_DRAFT && ($action == 'editmulticurrencyrate' || $action == 'actualizemulticurrencyrate') && $usercancreate) { + if ($action == 'actualizemulticurrencyrate') { + list($object->fk_multicurrency, $object->multicurrency_tx) = MultiCurrency::getIdAndTxFromCode($object->db, $object->multicurrency_code); + } + $form->form_multicurrency_rate($_SERVER['PHP_SELF'].'?id='.$object->id, $object->multicurrency_tx, 'multicurrency_tx', $object->multicurrency_code); + } else { + $form->form_multicurrency_rate($_SERVER['PHP_SELF'].'?id='.$object->id, $object->multicurrency_tx, 'none', $object->multicurrency_code); + if ($object->statut == $object::STATUS_DRAFT && $object->multicurrency_code && $object->multicurrency_code != $conf->currency) { + print '
        '; + print ''.$langs->trans("ActualizeCurrency").''; + print '
'; + } + } + print '
'; - print '
'; - if ($action == 'editincoterm' && $usercancreate && $caneditfield) { - print $form->select_incoterms((!empty($object->fk_incoterms) ? $object->fk_incoterms : ''), (!empty($object->location_incoterms) ? $object->location_incoterms : ''), $_SERVER['PHP_SELF'].'?id='.$object->id); - } else { - print $form->textwithpicto($object->display_incoterms(), $object->label_incoterms, 1); + + if ($soc->outstanding_limit) { + // Outstanding Bill + print '
'; + print $langs->trans('OutstandingBill'); + print ''; + $arrayoutstandingbills = $soc->getOutstandingBills(); + print ($arrayoutstandingbills['opened'] > $soc->outstanding_limit ? img_warning() : ''); + print price($arrayoutstandingbills['opened']).' / '; + print price($soc->outstanding_limit, 0, $langs, 1, - 1, - 1, $conf->currency); + print '
'; + print ''; + if ($action != 'editbankaccount' && $usercancreate) { + print ''; + } + print '
'; + print $langs->trans('BankAccount'); + print 'id.'">'.img_edit($langs->trans('SetBankAccount'), 1).'
'; + print '
'; + if ($action == 'editbankaccount') { + $form->formSelectAccount($_SERVER['PHP_SELF'].'?id='.$object->id, $object->fk_account, 'fk_account', 1); + } else { + $form->formSelectAccount($_SERVER['PHP_SELF'].'?id='.$object->id, $object->fk_account, 'none'); + } + print '
'.$langs->trans("CalculatedWeight").''; + print showDimensionInBestUnit($totalWeight, 0, "weight", $langs, isset($conf->global->MAIN_WEIGHT_DEFAULT_ROUND) ? $conf->global->MAIN_WEIGHT_DEFAULT_ROUND : -1, isset($conf->global->MAIN_WEIGHT_DEFAULT_UNIT) ? $conf->global->MAIN_WEIGHT_DEFAULT_UNIT : 'no', 0); + print '
'.$langs->trans("CalculatedVolume").''; + print showDimensionInBestUnit($totalVolume, 0, "volume", $langs, isset($conf->global->MAIN_VOLUME_DEFAULT_ROUND) ? $conf->global->MAIN_VOLUME_DEFAULT_ROUND : -1, isset($conf->global->MAIN_VOLUME_DEFAULT_UNIT) ? $conf->global->MAIN_VOLUME_DEFAULT_UNIT : 'no', 0); + print '
'; + // Incoterms + if (isModEnabled('incoterm')) { + print '
'; + print '
'; + print $langs->trans('IncotermLabel'); + print ''; + if ($action != 'editincoterm' && $usercancreate && $caneditfield) { + print ''.img_edit().''; + } else { + print ' '; + } + print '
'; + print '
'; + if ($action == 'editincoterm' && $usercancreate && $caneditfield) { + print $form->select_incoterms((!empty($object->fk_incoterms) ? $object->fk_incoterms : ''), (!empty($object->location_incoterms) ? $object->location_incoterms : ''), $_SERVER['PHP_SELF'].'?id='.$object->id); + } else { + print $form->textwithpicto($object->display_incoterms(), $object->label_incoterms, 1); + } + print '
'; + print '
'; - print '
' . $langs->trans('AmountHT') . '' . price($object->total_ht, '', $langs, 1, -1, -1, $conf->currency) . '' . price($object->multicurrency_total_ht, '', $langs, 1, -1, -1, $object->multicurrency_code) . '
' . $langs->trans('AmountVAT') . '' . price($object->total_tva, '', $langs, 1, -1, -1, $conf->currency) . '' . price($object->multicurrency_total_tva, '', $langs, 1, -1, -1, $object->multicurrency_code) . '
'; + + print ''; + print ''; + print ''; + if (isModEnabled("multicurrency") && ($object->multicurrency_code && $object->multicurrency_code != $conf->currency)) { + print ''; + } + print ''; - if ($mysoc->localtax1_assuj == "1" || $object->total_localtax1 != 0) { print ''; - print ''; - print ''; + print ''; + print ''; if (isModEnabled("multicurrency") && ($object->multicurrency_code && $object->multicurrency_code != $conf->currency)) { - print ''; + print ''; } print ''; - if ($mysoc->localtax2_assuj == "1" || $object->total_localtax2 != 0) { + if ($mysoc->localtax1_assuj == "1" || $object->total_localtax1 != 0) { print ''; - print ''; - print ''; + print ''; + print ''; if (isModEnabled("multicurrency") && ($object->multicurrency_code && $object->multicurrency_code != $conf->currency)) { - print ''; + print ''; } print ''; + + if ($mysoc->localtax2_assuj == "1" || $object->total_localtax2 != 0) { + print ''; + print ''; + print ''; + if (isModEnabled("multicurrency") && ($object->multicurrency_code && $object->multicurrency_code != $conf->currency)) { + print ''; + } + print ''; + } } - } - print ''; - print ''; - print ''; - if (isModEnabled("multicurrency") && ($object->multicurrency_code && $object->multicurrency_code != $conf->currency)) { - print ''; - } - print ''; + print ''; + print ''; + print ''; + if (isModEnabled("multicurrency") && ($object->multicurrency_code && $object->multicurrency_code != $conf->currency)) { + print ''; + } + print ''; - print '
' . $langs->trans('AmountHT') . '' . price($object->total_ht, '', $langs, 1, -1, -1, $conf->currency) . '' . price($object->multicurrency_total_ht, '', $langs, 1, -1, -1, $object->multicurrency_code) . '
' . $langs->transcountry("AmountLT1", $mysoc->country_code) . '' . price($object->total_localtax1, '', $langs, 1, -1, -1, $conf->currency) . '' . $langs->trans('AmountVAT') . '' . price($object->total_tva, '', $langs, 1, -1, -1, $conf->currency) . '' . price($object->total_localtax1, '', $langs, 1, -1, -1, $object->multicurrency_code) . '' . price($object->multicurrency_total_tva, '', $langs, 1, -1, -1, $object->multicurrency_code) . '
' . $langs->transcountry("AmountLT2", $mysoc->country_code) . '' . price($object->total_localtax2, '', $langs, 1, -1, -1, $conf->currency) . '' . $langs->transcountry("AmountLT1", $mysoc->country_code) . '' . price($object->total_localtax1, '', $langs, 1, -1, -1, $conf->currency) . '' . price($object->total_localtax2, '', $langs, 1, -1, -1, $object->multicurrency_code) . '' . price($object->total_localtax1, '', $langs, 1, -1, -1, $object->multicurrency_code) . '
' . $langs->transcountry("AmountLT2", $mysoc->country_code) . '' . price($object->total_localtax2, '', $langs, 1, -1, -1, $conf->currency) . '' . price($object->total_localtax2, '', $langs, 1, -1, -1, $object->multicurrency_code) . '
' . $langs->trans('AmountTTC') . '' . price($object->total_ttc, '', $langs, 1, -1, -1, $conf->currency) . '' . price($object->multicurrency_total_ttc, '', $langs, 1, -1, -1, $object->multicurrency_code) . '
' . $langs->trans('AmountTTC') . '' . price($object->total_ttc, '', $langs, 1, -1, -1, $conf->currency) . '' . price($object->multicurrency_total_ttc, '', $langs, 1, -1, -1, $object->multicurrency_code) . '
'; + print '
'; - // Margin Infos - if (isModEnabled('margin')) { - $formmargin->displayMarginInfos($object); - } + // Margin Infos + if (isModEnabled('margin')) { + $formmargin->displayMarginInfos($object); + } - print '
'; - print '
'; + print '
'; + print '
'; - print '

'; + print '

'; - if (!empty($conf->global->MAIN_DISABLE_CONTACTS_TAB)) { - $blocname = 'contacts'; - $title = $langs->trans('ContactsAddresses'); - include DOL_DOCUMENT_ROOT.'/core/tpl/bloc_showhide.tpl.php'; - } + if (!empty($conf->global->MAIN_DISABLE_CONTACTS_TAB)) { + $blocname = 'contacts'; + $title = $langs->trans('ContactsAddresses'); + include DOL_DOCUMENT_ROOT.'/core/tpl/bloc_showhide.tpl.php'; + } - if (!empty($conf->global->MAIN_DISABLE_NOTES_TAB)) { - $blocname = 'notes'; - $title = $langs->trans('Notes'); - include DOL_DOCUMENT_ROOT.'/core/tpl/bloc_showhide.tpl.php'; - } + if (!empty($conf->global->MAIN_DISABLE_NOTES_TAB)) { + $blocname = 'notes'; + $title = $langs->trans('Notes'); + include DOL_DOCUMENT_ROOT.'/core/tpl/bloc_showhide.tpl.php'; + } - /* - * Lines - */ + /* + * Lines + */ - // Get object lines - $result = $object->getLinesArray(); - - // Add products/services form - //$forceall = 1; - global $inputalsopricewithtax; - $inputalsopricewithtax = 1; - - print '
- - - - - - - '; - - if (!empty($conf->use_javascript_ajax) && $object->statut == Propal::STATUS_DRAFT) { - include DOL_DOCUMENT_ROOT.'/core/tpl/ajaxrow.tpl.php'; - } + // Get object lines + $result = $object->getLinesArray(); - print '
'; - if (!empty($object->lines) || ($object->statut == Propal::STATUS_DRAFT && $usercancreate && $action != 'selectlines' && $action != 'editline')) { - print ''; - } + // Add products/services form + //$forceall = 1; + global $inputalsopricewithtax; + $inputalsopricewithtax = 1; - if (!empty($object->lines)) { - $object->printObjectLines($action, $mysoc, $object->thirdparty, $lineid, 1); - } + print ' + + + + + + + '; - // Form to add new line - if ($object->statut == Propal::STATUS_DRAFT && $usercancreate && $action != 'selectlines') { - if ($action != 'editline') { - $parameters = array(); - $reshook = $hookmanager->executeHooks('formAddObjectLine', $parameters, $object, $action); // Note that $action and $object may have been modified by hook - if ($reshook < 0) setEventMessages($hookmanager->error, $hookmanager->errors, 'errors'); - if (empty($reshook)) - $object->formAddObjectLine(1, $mysoc, $soc); - } else { - $parameters = array(); - $reshook = $hookmanager->executeHooks('formEditObjectLine', $parameters, $object, $action); // Note that $action and $object may have been modified by hook + if (!empty($conf->use_javascript_ajax) && $object->statut == Propal::STATUS_DRAFT) { + include DOL_DOCUMENT_ROOT.'/core/tpl/ajaxrow.tpl.php'; } - } - if (!empty($object->lines) || ($object->statut == Propal::STATUS_DRAFT && $usercancreate && $action != 'selectlines' && $action != 'editline')) { - print '
'; - } - print '
'; + print '
'; + if (!empty($object->lines) || ($object->statut == Propal::STATUS_DRAFT && $usercancreate && $action != 'selectlines' && $action != 'editline')) { + print ''; + } + + if (!empty($object->lines)) { + $object->printObjectLines($action, $mysoc, $object->thirdparty, $lineid, 1); + } + + // Form to add new line + if ($object->statut == Propal::STATUS_DRAFT && $usercancreate && $action != 'selectlines') { + if ($action != 'editline') { + $parameters = array(); + $reshook = $hookmanager->executeHooks('formAddObjectLine', $parameters, $object, $action); // Note that $action and $object may have been modified by hook + if ($reshook < 0) setEventMessages($hookmanager->error, $hookmanager->errors, 'errors'); + if (empty($reshook)) + $object->formAddObjectLine(1, $mysoc, $soc); + } else { + $parameters = array(); + $reshook = $hookmanager->executeHooks('formEditObjectLine', $parameters, $object, $action); // Note that $action and $object may have been modified by hook + } + } - print "\n"; + if (!empty($object->lines) || ($object->statut == Propal::STATUS_DRAFT && $usercancreate && $action != 'selectlines' && $action != 'editline')) { + print '
'; + } + print '
'; + + print "\n"; + } print dol_get_fiche_end(); @@ -3075,7 +3110,7 @@ $linktoelem = $form->showLinkToObjectBlock($object, null, array('propal')); $compatibleImportElementsList = false; - if ($user->rights->propal->creer && $object->statut == Propal::STATUS_DRAFT) { + if ($user->hasRight('propal', 'creer') && $object->statut == Propal::STATUS_DRAFT) { $compatibleImportElementsList = array('commande', 'propal', 'facture'); // import from linked elements } $somethingshown = $form->showLinkedObjectBlock($object, $linktoelem, $compatibleImportElementsList); diff --git a/htdocs/comm/propal/class/propal.class.php b/htdocs/comm/propal/class/propal.class.php index 9676c352e44bd..a672e19d351b8 100644 --- a/htdocs/comm/propal/class/propal.class.php +++ b/htdocs/comm/propal/class/propal.class.php @@ -190,12 +190,6 @@ class Propal extends CommonObject */ public $datep; - /** - * @var int Date expected for delivery - * @deprecated - */ - public $date_livraison; // deprecated; Use delivery_date instead. - /** * @var integer|string $delivery_date; */ @@ -205,8 +199,6 @@ class Propal extends CommonObject public $fin_validite; public $user_author_id; - public $user_valid_id; - public $user_close_id; /** * @deprecated @@ -224,25 +216,14 @@ class Propal extends CommonObject */ public $total; - public $cond_reglement_code; - public $cond_reglement_doc; - public $mode_reglement_code; + public $cond_reglement_code; // code + public $cond_reglement; // label + public $cond_reglement_doc; // label doc - public $deposit_percent; - - /** - * @deprecated - */ - public $remise_percent; + public $mode_reglement_code; // code + public $mode_reglement; // label - /** - * @deprecated - */ - public $remise; - /** - * @deprecated - */ - public $remise_absolue; + public $deposit_percent; /** * @var int ID @@ -270,10 +251,16 @@ class Propal extends CommonObject */ public $availability_code; + /** + * @var string availabilty label + */ + public $availability; + public $duree_validite; - public $demand_reason_id; - public $demand_reason_code; + public $demand_reason_id; // id + public $demand_reason_code; // code + public $demand_reason; // label public $warehouse_id; @@ -352,9 +339,6 @@ class Propal extends CommonObject 'fk_user_valid' =>array('type'=>'integer:User:user/class/user.class.php', 'label'=>'UserValidation', 'enabled'=>1, 'visible'=>-1, 'position'=>90), 'fk_user_cloture' =>array('type'=>'integer:User:user/class/user.class.php', 'label'=>'Fk user cloture', 'enabled'=>1, 'visible'=>-1, 'position'=>95), 'price' =>array('type'=>'double', 'label'=>'Price', 'enabled'=>1, 'visible'=>-1, 'position'=>105), - //'remise_percent' =>array('type'=>'double', 'label'=>'RelativeDiscount', 'enabled'=>1, 'visible'=>-1, 'position'=>110), - //'remise_absolue' =>array('type'=>'double', 'label'=>'CustomerRelativeDiscount', 'enabled'=>1, 'visible'=>-1, 'position'=>115), - //'remise' =>array('type'=>'double', 'label'=>'Remise', 'enabled'=>1, 'visible'=>-1, 'position'=>120), 'total_ht' =>array('type'=>'double(24,8)', 'label'=>'TotalHT', 'enabled'=>1, 'visible'=>-1, 'position'=>125, 'isameasure'=>1), 'total_tva' =>array('type'=>'double(24,8)', 'label'=>'VAT', 'enabled'=>1, 'visible'=>-1, 'position'=>130, 'isameasure'=>1), 'localtax1' =>array('type'=>'double(24,8)', 'label'=>'LocalTax1', 'enabled'=>1, 'visible'=>-1, 'position'=>135, 'isameasure'=>1), @@ -1108,7 +1092,7 @@ public function create($user, $notrigger = 0) } // Set tmp vars - $delivery_date = empty($this->delivery_date) ? $this->date_livraison : $this->delivery_date; + $delivery_date = $this->delivery_date; dol_syslog(get_class($this)."::create"); @@ -1144,9 +1128,6 @@ public function create($user, $notrigger = 0) $sql = "INSERT INTO ".MAIN_DB_PREFIX."propal ("; $sql .= "fk_soc"; $sql .= ", price"; - $sql .= ", remise"; // deprecated - $sql .= ", remise_percent"; // deprecated - $sql .= ", remise_absolue"; // deprecated $sql .= ", total_tva"; $sql .= ", total_ttc"; $sql .= ", datep"; @@ -1179,9 +1160,6 @@ public function create($user, $notrigger = 0) $sql .= " VALUES ("; $sql .= $this->socid; $sql .= ", 0"; - $sql .= ", ".((float) $this->remise); // deprecated - $sql .= ", ".($this->remise_percent ? ((float) $this->remise_percent) : 'NULL'); // deprecated - $sql .= ", ".($this->remise_absolue ? ((float) $this->remise_absolue) : 'NULL'); // deprecated $sql .= ", 0"; $sql .= ", 0"; $sql .= ", '".$this->db->idate($this->date)."'"; @@ -1515,7 +1493,7 @@ public function createFromClone(User $user, $socid = 0, $forceentity = null, $up // Clear fields $object->user_author = $user->id; - $object->user_valid = 0; + $object->user_validation_id = 0; $object->date = $now; $object->datep = $now; // deprecated $object->fin_validite = $object->date + ($object->duree_validite * 24 * 3600); @@ -1587,7 +1565,7 @@ public function createFromClone(User $user, $socid = 0, $forceentity = null, $up */ public function fetch($rowid, $ref = '', $ref_ext = '', $forceentity = 0) { - $sql = "SELECT p.rowid, p.ref, p.entity, p.remise, p.remise_percent, p.remise_absolue, p.fk_soc"; + $sql = "SELECT p.rowid, p.ref, p.entity, p.fk_soc"; $sql .= ", p.total_ttc, p.total_tva, p.localtax1, p.localtax2, p.total_ht"; $sql .= ", p.datec"; $sql .= ", p.date_signature as dates"; @@ -1650,9 +1628,6 @@ public function fetch($rowid, $ref = '', $ref_ext = '', $forceentity = 0) $this->ref_customer = $obj->ref_client; $this->ref_ext = $obj->ref_ext; - $this->remise = $obj->remise; // TODO deprecated - $this->remise_percent = $obj->remise_percent; // TODO deprecated - $this->remise_absolue = $obj->remise_absolue; // TODO deprecated $this->total = $obj->total_ttc; // TODO deprecated $this->total_ttc = $obj->total_ttc; $this->total_ht = $obj->total_ht; @@ -1667,7 +1642,6 @@ public function fetch($rowid, $ref = '', $ref_ext = '', $forceentity = 0) $this->project = null; // Clear if another value was already set by fetch_projet $this->model_pdf = $obj->model_pdf; - $this->modelpdf = $obj->model_pdf; // deprecated $this->last_main_doc = $obj->last_main_doc; $this->note = $obj->note_private; // TODO deprecated $this->note_private = $obj->note_private; @@ -1685,7 +1659,6 @@ public function fetch($rowid, $ref = '', $ref_ext = '', $forceentity = 0) $this->date = $this->db->jdate($obj->dp); // Proposal date $this->datep = $this->db->jdate($obj->dp); // deprecated $this->fin_validite = $this->db->jdate($obj->dfv); - $this->date_livraison = $this->db->jdate($obj->delivery_date); // deprecated $this->delivery_date = $this->db->jdate($obj->delivery_date); $this->shipping_method_id = ($obj->fk_shipping_method > 0) ? $obj->fk_shipping_method : null; $this->warehouse_id = ($obj->fk_warehouse > 0) ? $obj->fk_warehouse : null; @@ -1710,8 +1683,8 @@ public function fetch($rowid, $ref = '', $ref_ext = '', $forceentity = 0) $this->extraparams = !empty($obj->extraparams) ? (array) json_decode($obj->extraparams, true) : array(); $this->user_author_id = $obj->fk_user_author; - $this->user_valid_id = $obj->fk_user_valid; - $this->user_close_id = $obj->fk_user_cloture; + $this->user_validation_id = $obj->fk_user_valid; + $this->user_closing_id = $obj->fk_user_cloture; //Incoterms $this->fk_incoterms = $obj->fk_incoterms; @@ -1808,7 +1781,7 @@ public function update(User $user, $notrigger = 0) $sql .= " total_ttc=".(isset($this->total_ttc) ? $this->total_ttc : "null").","; $sql .= " fk_statut=".(isset($this->statut) ? $this->statut : "null").","; $sql .= " fk_user_author=".(isset($this->user_author_id) ? $this->user_author_id : "null").","; - $sql .= " fk_user_valid=".(isset($this->user_valid) ? $this->user_valid : "null").","; + $sql .= " fk_user_valid=".(isset($this->user_validation_id) ? $this->user_validation_id : "null").","; $sql .= " fk_projet=".(isset($this->fk_project) ? $this->fk_project : "null").","; $sql .= " fk_cond_reglement=".(isset($this->cond_reglement_id) ? $this->cond_reglement_id : "null").","; $sql .= " deposit_percent=".(!empty($this->deposit_percent) ? "'".$this->db->escape($this->deposit_percent)."'" : "null").","; @@ -2014,8 +1987,8 @@ public function valid($user, $notrigger = 0) return 0; } - if (!((empty($conf->global->MAIN_USE_ADVANCED_PERMS) && !empty($user->rights->propal->creer)) - || (!empty($conf->global->MAIN_USE_ADVANCED_PERMS) && !empty($user->rights->propal->propal_advance->validate)))) { + if (!((empty($conf->global->MAIN_USE_ADVANCED_PERMS) && $user->hasRight('propal', 'creer')) + || (!empty($conf->global->MAIN_USE_ADVANCED_PERMS) && $user->hasRight('propal', 'propal_advance', 'validate')))) { $this->error = 'ErrorPermissionDenied'; dol_syslog(get_class($this)."::valid ".$this->error, LOG_ERR); return -1; @@ -2072,6 +2045,12 @@ public function valid($user, $notrigger = 0) $error++; $this->error = $this->db->lasterror(); } + $sql = 'UPDATE '.MAIN_DB_PREFIX."ecm_files set filepath = 'propale/".$this->db->escape($this->newref)."'"; + $sql .= " WHERE filepath = 'propale/".$this->db->escape($this->ref)."' and entity = ".$conf->entity; + $resql = $this->db->query($sql); + if (!$resql) { + $error++; $this->error = $this->db->lasterror(); + } // We rename directory ($this->ref = old ref, $num = new ref) in order not to lose the attachments $oldref = dol_sanitizeFileName($this->ref); @@ -2098,7 +2077,7 @@ public function valid($user, $notrigger = 0) $this->ref = $num; $this->statut = self::STATUS_VALIDATED; $this->status = self::STATUS_VALIDATED; - $this->user_valid_id = $user->id; + $this->user_validation_id = $user->id; $this->datev = $now; $this->date_validation = $now; @@ -2129,7 +2108,7 @@ public function set_date($user, $date, $notrigger = 0) return -1; } - if (!empty($user->rights->propal->creer)) { + if ($user->hasRight('propal', 'creer')) { $error = 0; $this->db->begin(); @@ -2187,7 +2166,7 @@ public function set_date($user, $date, $notrigger = 0) public function set_echeance($user, $date_end_validity, $notrigger = 0) { // phpcs:enable - if (!empty($user->rights->propal->creer)) { + if ($user->hasRight('propal', 'creer')) { $error = 0; $this->db->begin(); @@ -2260,7 +2239,7 @@ public function set_date_livraison($user, $delivery_date, $notrigger = 0) */ public function setDeliveryDate($user, $delivery_date, $notrigger = 0) { - if (!empty($user->rights->propal->creer)) { + if ($user->hasRight('propal', 'creer')) { $error = 0; $this->db->begin(); @@ -2278,7 +2257,6 @@ public function setDeliveryDate($user, $delivery_date, $notrigger = 0) if (!$error) { $this->oldcopy = clone $this; - $this->date_livraison = $delivery_date; $this->delivery_date = $delivery_date; } @@ -2319,7 +2297,7 @@ public function setDeliveryDate($user, $delivery_date, $notrigger = 0) public function set_availability($user, $id, $notrigger = 0) { // phpcs:enable - if (!empty($user->rights->propal->creer) && $this->statut >= self::STATUS_DRAFT) { + if ($user->hasRight('propal', 'creer') && $this->statut >= self::STATUS_DRAFT) { $error = 0; $this->db->begin(); @@ -2382,7 +2360,7 @@ public function set_availability($user, $id, $notrigger = 0) public function set_demand_reason($user, $id, $notrigger = 0) { // phpcs:enable - if (!empty($user->rights->propal->creer) && $this->statut >= self::STATUS_DRAFT) { + if ($user->hasRight('propal', 'creer') && $this->statut >= self::STATUS_DRAFT) { $error = 0; $this->db->begin(); @@ -2401,7 +2379,7 @@ public function set_demand_reason($user, $id, $notrigger = 0) if (!$error) { $this->oldcopy = clone $this; - $this->fk_input_reason = $id; + $this->demand_reason_id = $id; } @@ -2447,7 +2425,7 @@ public function set_demand_reason($user, $id, $notrigger = 0) public function set_ref_client($user, $ref_client, $notrigger = 0) { // phpcs:enable - if (!empty($user->rights->propal->creer)) { + if ($user->hasRight('propal', 'creer')) { $error = 0; $this->db->begin(); @@ -2502,12 +2480,13 @@ public function set_ref_client($user, $ref_client, $notrigger = 0) * @return int <0 if ko, >0 if ok * @deprecated remise_percent is a deprecated field for object parent */ + /* public function set_remise_percent($user, $remise, $notrigger = 0) { // phpcs:enable $remise = trim($remise) ?trim($remise) : 0; - if (!empty($user->rights->propal->creer)) { + if ($user->hasRight('propal', 'creer')) { $remise = price2num($remise, 2); $error = 0; @@ -2554,7 +2533,7 @@ public function set_remise_percent($user, $remise, $notrigger = 0) return -1; } - + */ // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps /** @@ -2565,6 +2544,7 @@ public function set_remise_percent($user, $remise, $notrigger = 0) * @param int $notrigger 1=Does not execute triggers, 0= execute triggers * @return int <0 if ko, >0 if ok */ + /* public function set_remise_absolue($user, $remise, $notrigger = 0) { // phpcs:enable @@ -2573,7 +2553,7 @@ public function set_remise_absolue($user, $remise, $notrigger = 0) } $remise = price2num($remise); - if (!empty($user->rights->propal->creer)) { + if ($user->hasRight('propal', 'creer')) { $error = 0; $this->db->begin(); @@ -2618,7 +2598,7 @@ public function set_remise_absolue($user, $remise, $notrigger = 0) return -1; } - + */ /** @@ -2966,17 +2946,17 @@ public function liste_array($shortlist = 0, $draft = 0, $notcurrentuser = 0, $so $sql = "SELECT s.rowid, s.nom as name, s.client,"; $sql .= " p.rowid as propalid, p.fk_statut, p.total_ht, p.ref, p.remise, "; $sql .= " p.datep as dp, p.fin_validite as datelimite"; - if (empty($user->rights->societe->client->voir) && !$socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= ", sc.fk_soc, sc.fk_user"; } $sql .= " FROM ".MAIN_DB_PREFIX."societe as s, ".MAIN_DB_PREFIX."propal as p, ".MAIN_DB_PREFIX."c_propalst as c"; - if (empty($user->rights->societe->client->voir) && !$socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= ", ".MAIN_DB_PREFIX."societe_commerciaux as sc"; } $sql .= " WHERE p.entity IN (".getEntity('propal').")"; $sql .= " AND p.fk_soc = s.rowid"; $sql .= " AND p.fk_statut = c.id"; - if (empty($user->rights->societe->client->voir) && !$socid) { //restriction + if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { //restriction $sql .= " AND s.rowid = sc.fk_soc AND sc.fk_user = ".((int) $user->id); } if ($socid) { @@ -3180,6 +3160,7 @@ public function delete($user, $notrigger = 0) // Delete record into ECM index and physically if (!$error) { $res = $this->deleteEcmFiles(0); // Deleting files physically is done later with the dol_delete_dir_recursive + $res = $this->deleteEcmFiles(1); // Deleting files physically is done later with the dol_delete_dir_recursive if (!$res) { $error++; } @@ -3202,7 +3183,7 @@ public function delete($user, $notrigger = 0) } } if (file_exists($dir)) { - $res = @dol_delete_dir_recursive($dir); + $res = @dol_delete_dir_recursive($dir); // delete files physically + into ecm tables if (!$res) { $this->error = 'ErrorFailToDeleteDir'; $this->errors[] = $this->error; @@ -3299,7 +3280,7 @@ public function demand_reason($demand_reason_id, $notrigger = 0) // phpcs:enable global $user; - if ($this->statut >= self::STATUS_DRAFT) { + if ($this->status >= self::STATUS_DRAFT) { $error = 0; $this->db->begin(); @@ -3377,15 +3358,8 @@ public function info($id) $this->date_signature = $this->db->jdate($obj->date_signature); $this->date_cloture = $this->db->jdate($obj->date_cloture); - $cuser = new User($this->db); - $cuser->fetch($obj->fk_user_author); - $this->user_creation = $cuser; - - if ($obj->fk_user_valid) { - $vuser = new User($this->db); - $vuser->fetch($obj->fk_user_valid); - $this->user_validation = $vuser; - } + $this->user_creation_id = $obj->fk_user_author; + $this->user_validation_id = $obj->fk_user_valid; if ($obj->fk_user_signature) { $user_signature = new User($this->db); @@ -3393,11 +3367,7 @@ public function info($id) $this->user_signature = $user_signature; } - if ($obj->fk_user_cloture) { - $cluser = new User($this->db); - $cluser->fetch($obj->fk_user_cloture); - $this->user_cloture = $cluser; - } + $this->user_closing_id = $obj->fk_user_cloture; } $this->db->free($result); } else { @@ -3488,7 +3458,7 @@ public function load_board($user, $mode) $sql = "SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht"; $sql .= " FROM ".MAIN_DB_PREFIX."propal as p"; - if (empty($user->rights->societe->client->voir) && !$user->socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$user->socid) { $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."societe_commerciaux as sc ON p.fk_soc = sc.fk_soc"; $sql .= " WHERE sc.fk_user = ".((int) $user->id); $clause = " AND"; @@ -3665,7 +3635,7 @@ public function load_state_board() $sql = "SELECT count(p.rowid) as nb"; $sql .= " FROM ".MAIN_DB_PREFIX."propal as p"; $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."societe as s ON p.fk_soc = s.rowid"; - if (empty($user->rights->societe->client->voir) && !$user->socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$user->socid) { $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."societe_commerciaux as sc ON s.rowid = sc.fk_soc"; $sql .= " WHERE sc.fk_user = ".((int) $user->id); $clause = "AND"; @@ -4038,18 +4008,20 @@ public function getKanbanView($option = '', $arraydata = null) $return .= ''; $return .= '
'; $return .= ''.(method_exists($this, 'getNomUrl') ? $this->getNomUrl() : $this->ref).''; - $return .= ''; - if (property_exists($this, 'fk_project')) { - $return .= ' | '.$this->fk_project.''; + if ($selected >= 0) { + $return .= ''; + } + if (!empty($arraydata['projectlink'])) { + $return .= ' | '.$arraydata['projectlink'].''; } - if (property_exists($this, 'author')) { - $return .= '
'.$this->author.''; + if (!empty($arraydata['authorlink'])) { + $return .= '
'.$arraydata['authorlink'].''; } if (property_exists($this, 'total_ht')) { - $return .='
'.$langs->trans("AmountHT").' : '.price($this->total_ht).''; + $return .='
'.price($this->total_ht).''; } if (method_exists($this, 'getLibStatut')) { - $return .= '
'.$this->getLibStatut(3).'
'; + $return .= '
'.$this->getLibStatut(3).'
'; } $return .= '
'; $return .= '
'; diff --git a/htdocs/comm/propal/class/propalestats.class.php b/htdocs/comm/propal/class/propalestats.class.php index bc32f1c600a19..c85cc6cf24bcc 100644 --- a/htdocs/comm/propal/class/propalestats.class.php +++ b/htdocs/comm/propal/class/propalestats.class.php @@ -122,7 +122,7 @@ public function getNbByMonth($year, $format = 0) $sql = "SELECT date_format(".$this->field_date.",'%m') as dm, COUNT(*) as nb"; $sql .= " FROM ".$this->from; - if (empty($user->rights->societe->client->voir) && !$user->socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$user->socid) { $sql .= " INNER JOIN ".MAIN_DB_PREFIX."societe_commerciaux as sc ON p.fk_soc = sc.fk_soc AND sc.fk_user = ".((int) $user->id); } $sql .= $this->join; @@ -147,7 +147,7 @@ public function getNbByYear() $sql = "SELECT date_format(".$this->field_date.",'%Y') as dm, COUNT(*) as nb, SUM(c.".$this->field.")"; $sql .= " FROM ".$this->from; - if (empty($user->rights->societe->client->voir) && !$this->socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$this->socid) { $sql .= " INNER JOIN ".MAIN_DB_PREFIX."societe_commerciaux as sc ON p.fk_soc = sc.fk_soc AND sc.fk_user = ".((int) $user->id); } $sql .= $this->join; @@ -171,7 +171,7 @@ public function getAmountByMonth($year, $format = 0) $sql = "SELECT date_format(".$this->field_date.",'%m') as dm, SUM(p.".$this->field.")"; $sql .= " FROM ".$this->from; - if (empty($user->rights->societe->client->voir) && !$this->socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$this->socid) { $sql .= " INNER JOIN ".MAIN_DB_PREFIX."societe_commerciaux as sc ON p.fk_soc = sc.fk_soc AND sc.fk_user = ".((int) $user->id); } $sql .= $this->join; @@ -196,7 +196,7 @@ public function getAverageByMonth($year) $sql = "SELECT date_format(".$this->field_date.",'%m') as dm, AVG(p.".$this->field.")"; $sql .= " FROM ".$this->from; - if (empty($user->rights->societe->client->voir) && !$this->socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$this->socid) { $sql .= " INNER JOIN ".MAIN_DB_PREFIX."societe_commerciaux as sc ON p.fk_soc = sc.fk_soc AND sc.fk_user = ".((int) $user->id); } $sql .= $this->join; @@ -219,7 +219,7 @@ public function getAllByYear() $sql = "SELECT date_format(".$this->field_date.",'%Y') as year, COUNT(*) as nb, SUM(".$this->field.") as total, AVG(".$this->field.") as avg"; $sql .= " FROM ".$this->from; - if (empty($user->rights->societe->client->voir) && !$this->socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$this->socid) { $sql .= " INNER JOIN ".MAIN_DB_PREFIX."societe_commerciaux as sc ON p.fk_soc = sc.fk_soc AND sc.fk_user = ".((int) $user->id); } $sql .= $this->join; @@ -247,7 +247,7 @@ public function getAllByProduct($year, $limit = 10) $sql .= " FROM ".$this->from; $sql .= " INNER JOIN ".$this->from_line." ON p.rowid = tl.fk_propal"; $sql .= " INNER JOIN ".MAIN_DB_PREFIX."product as product ON tl.fk_product = product.rowid"; - if (empty($user->rights->societe->client->voir) && !$user->socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$user->socid) { $sql .= " INNER JOIN ".MAIN_DB_PREFIX."societe_commerciaux as sc ON p.fk_soc = sc.fk_soc AND sc.fk_user = ".((int) $user->id); } $sql .= $this->join; diff --git a/htdocs/comm/propal/index.php b/htdocs/comm/propal/index.php index ef5c295bd7249..caa658c94491e 100644 --- a/htdocs/comm/propal/index.php +++ b/htdocs/comm/propal/index.php @@ -82,13 +82,13 @@ $sql .= ", s.rowid as socid, s.nom as name, s.client, s.canvas, s.code_client, s.code_fournisseur, s.email, s.entity, s.code_compta"; $sql .= " FROM ".MAIN_DB_PREFIX."propal as p"; $sql .= ", ".MAIN_DB_PREFIX."societe as s"; - if (empty($user->rights->societe->client->voir) && !$socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= ", ".MAIN_DB_PREFIX."societe_commerciaux as sc"; } $sql .= " WHERE p.entity IN (".getEntity($propalstatic->element).")"; $sql .= " AND p.fk_soc = s.rowid"; $sql .= " AND p.fk_statut =".Propal::STATUS_DRAFT; - if (empty($user->rights->societe->client->voir) && !$socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= " AND s.rowid = sc.fk_soc AND sc.fk_user = ".((int) $user->id); } if ($socid) { @@ -156,7 +156,7 @@ $sql .= ", s.nom as socname, s.rowid as socid, s.canvas, s.client, s.email, s.code_compta"; $sql .= " FROM ".MAIN_DB_PREFIX."propal as c"; $sql .= ", ".MAIN_DB_PREFIX."societe as s"; -if (empty($user->rights->societe->client->voir) && !$socid) { +if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= ", ".MAIN_DB_PREFIX."societe_commerciaux as sc"; } $sql .= " WHERE c.entity IN (".getEntity($propalstatic->element).")"; @@ -165,7 +165,7 @@ if ($socid) { $sql .= " AND c.fk_soc = ".((int) $socid); } -if (empty($user->rights->societe->client->voir) && !$socid) { +if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= " AND s.rowid = sc.fk_soc AND sc.fk_user = ".((int) $user->id); } $sql .= " ORDER BY c.tms DESC"; @@ -232,13 +232,13 @@ $sql .= ", p.rowid as propalid, p.entity, p.total_ttc, p.total_ht, p.ref, p.fk_statut, p.datep as dp, p.fin_validite as dfv"; $sql .= " FROM ".MAIN_DB_PREFIX."societe as s"; $sql .= ", ".MAIN_DB_PREFIX."propal as p"; - if (empty($user->rights->societe->client->voir) && !$socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= ", ".MAIN_DB_PREFIX."societe_commerciaux as sc"; } $sql .= " WHERE p.fk_soc = s.rowid"; $sql .= " AND p.entity IN (".getEntity($propalstatic->element).")"; $sql .= " AND p.fk_statut = ".Propal::STATUS_VALIDATED; - if (empty($user->rights->societe->client->voir) && !$socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= " AND s.rowid = sc.fk_soc AND sc.fk_user = ".((int) $user->id); } if ($socid) { diff --git a/htdocs/comm/propal/list.php b/htdocs/comm/propal/list.php index 93a2db8007238..6424a67f38cab 100644 --- a/htdocs/comm/propal/list.php +++ b/htdocs/comm/propal/list.php @@ -317,85 +317,86 @@ setEventMessages($hookmanager->error, $hookmanager->errors, 'errors'); } -include DOL_DOCUMENT_ROOT.'/core/actions_changeselectedfields.inc.php'; - -// Do we click on purge search criteria ? -if (GETPOST('button_removefilter_x', 'alpha') || GETPOST('button_removefilter.x', 'alpha') || GETPOST('button_removefilter', 'alpha')) { // All tests are required to be compatible with all browsers - $search_categ = ''; - $search_user = ''; - $search_sale = ''; - $search_ref = ''; - $search_refcustomer = ''; - $search_refproject = ''; - $search_project = ''; - $search_societe = ''; - $search_societe_alias = ''; - $search_montant_ht = ''; - $search_montant_vat = ''; - $search_montant_ttc = ''; - $search_warehouse = ''; - $search_multicurrency_code = ''; - $search_multicurrency_tx = ''; - $search_multicurrency_montant_ht = ''; - $search_multicurrency_montant_vat = ''; - $search_multicurrency_montant_ttc = ''; - $search_login = ''; - $search_product_category = ''; - $search_town = ''; - $search_zip = ""; - $search_state = ""; - $search_type = ''; - $search_country = ''; - $search_type_thirdparty = ''; - $search_date_startday = ''; - $search_date_startmonth = ''; - $search_date_startyear = ''; - $search_date_endday = ''; - $search_date_endmonth = ''; - $search_date_endyear = ''; - $search_date_start = ''; - $search_date_end = ''; - $search_date_end_startday = ''; - $search_date_end_startmonth = ''; - $search_date_end_startyear = ''; - $search_date_end_endday = ''; - $search_date_end_endmonth = ''; - $search_date_end_endyear = ''; - $search_date_end_start = ''; - $search_date_end_end = ''; - $search_date_delivery_startday = ''; - $search_date_delivery_startmonth = ''; - $search_date_delivery_startyear = ''; - $search_date_delivery_endday = ''; - $search_date_delivery_endmonth = ''; - $search_date_delivery_endyear = ''; - $search_date_delivery_start = ''; - $search_date_delivery_end = ''; - $search_availability = ''; - $search_status = ''; - $object_statut = ''; - $toselect = array(); - $search_array_options = array(); - $search_categ_cus = 0; - $search_fk_cond_reglement = ''; - $search_fk_shipping_method = ''; - $search_fk_input_reason = ''; - $search_fk_mode_reglement = ''; - $search_date_signature_startday = ''; - $search_date_signature_startmonth = ''; - $search_date_signature_startyear = ''; - $search_date_signature_endday = ''; - $search_date_signature_endmonth = ''; - $search_date_signature_endyear = ''; - $search_date_signature_start = ''; - $search_date_signature_end = ''; -} -if ($object_statut != '') { - $search_status = $object_statut; -} - - if (empty($reshook)) { + // Selection of new fields + include DOL_DOCUMENT_ROOT.'/core/actions_changeselectedfields.inc.php'; + + // Purge search criteria + if (GETPOST('button_removefilter_x', 'alpha') || GETPOST('button_removefilter.x', 'alpha') || GETPOST('button_removefilter', 'alpha')) { // All tests are required to be compatible with all browsers + $search_categ = ''; + $search_user = ''; + $search_sale = ''; + $search_ref = ''; + $search_refcustomer = ''; + $search_refproject = ''; + $search_project = ''; + $search_societe = ''; + $search_societe_alias = ''; + $search_montant_ht = ''; + $search_montant_vat = ''; + $search_montant_ttc = ''; + $search_warehouse = ''; + $search_multicurrency_code = ''; + $search_multicurrency_tx = ''; + $search_multicurrency_montant_ht = ''; + $search_multicurrency_montant_vat = ''; + $search_multicurrency_montant_ttc = ''; + $search_login = ''; + $search_product_category = ''; + $search_town = ''; + $search_zip = ""; + $search_state = ""; + $search_type = ''; + $search_country = ''; + $search_type_thirdparty = ''; + $search_date_startday = ''; + $search_date_startmonth = ''; + $search_date_startyear = ''; + $search_date_endday = ''; + $search_date_endmonth = ''; + $search_date_endyear = ''; + $search_date_start = ''; + $search_date_end = ''; + $search_date_end_startday = ''; + $search_date_end_startmonth = ''; + $search_date_end_startyear = ''; + $search_date_end_endday = ''; + $search_date_end_endmonth = ''; + $search_date_end_endyear = ''; + $search_date_end_start = ''; + $search_date_end_end = ''; + $search_date_delivery_startday = ''; + $search_date_delivery_startmonth = ''; + $search_date_delivery_startyear = ''; + $search_date_delivery_endday = ''; + $search_date_delivery_endmonth = ''; + $search_date_delivery_endyear = ''; + $search_date_delivery_start = ''; + $search_date_delivery_end = ''; + $search_availability = ''; + $search_status = ''; + $object_statut = ''; + $search_categ_cus = 0; + $search_fk_cond_reglement = ''; + $search_fk_shipping_method = ''; + $search_fk_input_reason = ''; + $search_fk_mode_reglement = ''; + $search_date_signature_startday = ''; + $search_date_signature_startmonth = ''; + $search_date_signature_startyear = ''; + $search_date_signature_endday = ''; + $search_date_signature_endmonth = ''; + $search_date_signature_endyear = ''; + $search_date_signature_start = ''; + $search_date_signature_end = ''; + $toselect = array(); + $search_array_options = array(); + } + if ($object_statut != '') { + $search_status = $object_statut; + } + + // Mass actions $objectclass = 'Propal'; $objectlabel = 'Proposals'; $uploaddir = $conf->propal->multidir_output[$conf->entity]; @@ -574,7 +575,7 @@ $sql .= ' p.fk_cond_reglement,p.deposit_percent,p.fk_mode_reglement,p.fk_shipping_method,p.fk_input_reason,'; $sql .= " pr.rowid as project_id, pr.ref as project_ref, pr.title as project_label,"; $sql .= ' u.login, u.lastname, u.firstname, u.email as user_email, u.statut as user_statut, u.entity as user_entity, u.photo, u.office_phone, u.office_fax, u.user_mobile, u.job, u.gender'; -if (empty($user->rights->societe->client->voir) && !$socid) { +if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= ", sc.fk_soc, sc.fk_user"; } if (!empty($search_categ_cus) && $search_categ_cus != '-1') { @@ -614,7 +615,7 @@ // We'll need this table joined to the select in order to filter by sale if ($search_sale == -2) { $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."societe_commerciaux as sc ON (sc.fk_soc = p.fk_soc)"; -} elseif ($search_sale > 0 || (empty($user->rights->societe->client->voir) && !$socid)) { +} elseif ($search_sale > 0 || (!$user->hasRight('societe', 'client', 'voir') && !$socid)) { $sql .= ", ".MAIN_DB_PREFIX."societe_commerciaux as sc"; } if ($search_user > 0) { @@ -629,7 +630,7 @@ $sql .= ' WHERE p.fk_soc = s.rowid'; $sql .= ' AND p.entity IN ('.getEntity('propal').')'; -if (empty($user->rights->societe->client->voir) && !$socid) { //restriction +if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { //restriction $sql .= " AND s.rowid = sc.fk_soc AND sc.fk_user = ".((int) $user->id); } @@ -828,6 +829,7 @@ $db->free($resql); } +// Complete request and execute it with limit $sql .= $db->order($sortfield, $sortorder); $sql .= ', p.ref DESC'; if ($limit) { @@ -835,213 +837,216 @@ } $resql = $db->query($sql); +if (!$resql) { + dol_print_error($db); + exit; +} -if ($resql) { $objectstatic = new Propal($db); $userstatic = new User($db); - if ($socid > 0) { - $soc = new Societe($db); - $soc->fetch($socid); - $title = $langs->trans('Proposals').' - '.$soc->name; - if (empty($search_societe)) { - $search_societe = $soc->name; - } - } else { - $title = $langs->trans('Proposals'); +if ($socid > 0) { + $soc = new Societe($db); + $soc->fetch($socid); + $title = $langs->trans('Proposals').' - '.$soc->name; + if (empty($search_societe)) { + $search_societe = $soc->name; } +} else { + $title = $langs->trans('Proposals'); +} $num = $db->num_rows($resql); $arrayofselected = is_array($toselect) ? $toselect : array(); - if ($num == 1 && !empty($conf->global->MAIN_SEARCH_DIRECT_OPEN_IF_ONLY_ONE) && $sall) { - $obj = $db->fetch_object($resql); +if ($num == 1 && !empty($conf->global->MAIN_SEARCH_DIRECT_OPEN_IF_ONLY_ONE) && $sall) { + $obj = $db->fetch_object($resql); - $id = $obj->rowid; + $id = $obj->rowid; - header("Location: ".DOL_URL_ROOT.'/comm/propal/card.php?id='.$id); - exit; - } + header("Location: ".DOL_URL_ROOT.'/comm/propal/card.php?id='.$id); + exit; +} $help_url = 'EN:Commercial_Proposals|FR:Proposition_commerciale|ES:Presupuestos'; llxHeader('', $title, $help_url); $param = '&search_status='.urlencode($search_status); - if (!empty($mode)) { - $param .= '&mode='.urlencode($mode); - } - if (!empty($contextpage) && $contextpage != $_SERVER["PHP_SELF"]) { - $param .= '&contextpage='.urlencode($contextpage); - } - if ($limit > 0 && $limit != $conf->liste_limit) { - $param .= '&limit='.((int) $limit); - } - if ($sall) { - $param .= '&sall='.urlencode($sall); - } - if ($search_date_startday) { - $param .= '&search_date_startday='.urlencode($search_date_startday); - } - if ($search_date_startmonth) { - $param .= '&search_date_startmonth='.urlencode($search_date_startmonth); - } - if ($search_date_startyear) { - $param .= '&search_date_startyear='.urlencode($search_date_startyear); - } - if ($search_date_endday) { - $param .= '&search_date_endday='.urlencode($search_date_endday); - } - if ($search_date_endmonth) { - $param .= '&search_date_endmonth='.urlencode($search_date_endmonth); - } - if ($search_date_endyear) { - $param .= '&search_date_endyear='.urlencode($search_date_endyear); - } - if ($search_date_end_startday) { - $param .= '&search_date_end_startday='.urlencode($search_date_end_startday); - } - if ($search_date_end_startmonth) { - $param .= '&search_date_end_startmonth='.urlencode($search_date_end_startmonth); - } - if ($search_date_end_startyear) { - $param .= '&search_date_end_startyear='.urlencode($search_date_end_startyear); - } - if ($search_date_end_endday) { - $param .= '&search_date_end_endday='.urlencode($search_date_end_endday); - } - if ($search_date_end_endmonth) { - $param .= '&search_date_end_endmonth='.urlencode($search_date_end_endmonth); - } - if ($search_date_end_endyear) { - $param .= '&search_date_end_endyear='.urlencode($search_date_end_endyear); - } - if ($search_date_delivery_startday) { - $param .= '&search_date_delivery_startday='.urlencode($search_date_delivery_startday); - } - if ($search_date_delivery_startmonth) { - $param .= '&search_date_delivery_startmonth='.urlencode($search_date_delivery_startmonth); - } - if ($search_date_delivery_startyear) { - $param .= '&search_date_delivery_startyear='.urlencode($search_date_delivery_startyear); - } - if ($search_date_delivery_endday) { - $param .= '&search_date_delivery_endday='.urlencode($search_date_delivery_endday); - } - if ($search_date_delivery_endmonth) { - $param .= '&search_date_delivery_endmonth='.urlencode($search_date_delivery_endmonth); - } - if ($search_date_delivery_endyear) { - $param .= '&search_date_delivery_endyear='.urlencode($search_date_delivery_endyear); - } - if ($search_ref) { - $param .= '&search_ref='.urlencode($search_ref); - } - if ($search_refcustomer) { - $param .= '&search_refcustomer='.urlencode($search_refcustomer); - } - if ($search_refproject) { - $param .= '&search_refproject='.urlencode($search_refproject); - } - if ($search_societe) { - $param .= '&search_societe='.urlencode($search_societe); - } - if ($search_societe_alias) { - $param .= '&search_societe_alias='.urlencode($search_societe_alias); - } - if ($search_user > 0) { - $param .= '&search_user='.urlencode($search_user); - } - if ($search_sale > 0) { - $param .= '&search_sale='.urlencode($search_sale); - } - if ($search_montant_ht) { - $param .= '&search_montant_ht='.urlencode($search_montant_ht); - } - if ($search_multicurrency_code != '') { - $param .= '&search_multicurrency_code='.urlencode($search_multicurrency_code); - } - if ($search_multicurrency_tx != '') { - $param .= '&search_multicurrency_tx='.urlencode($search_multicurrency_tx); - } - if ($search_multicurrency_montant_ht != '') { - $param .= '&search_multicurrency_montant_ht='.urlencode($search_multicurrency_montant_ht); - } - if ($search_multicurrency_montant_vat != '') { - $param .= '&search_multicurrency_montant_vat='.urlencode($search_multicurrency_montant_vat); - } - if ($search_multicurrency_montant_ttc != '') { - $param .= '&search_multicurrency_montant_ttc='.urlencode($search_multicurrency_montant_ttc); - } - if ($search_login) { - $param .= '&search_login='.urlencode($search_login); - } - if ($search_town) { - $param .= '&search_town='.urlencode($search_town); - } - if ($search_zip) { - $param .= '&search_zip='.urlencode($search_zip); - } - if ($socid > 0) { - $param .= '&socid='.urlencode($socid); - } - if ($optioncss != '') { - $param .= '&optioncss='.urlencode($optioncss); - } - if ($search_categ_cus > 0) { - $param .= '&search_categ_cus='.urlencode($search_categ_cus); - } - if ($search_product_category != '') { - $param .= '&search_product_category='.urlencode($search_product_category); - } - if ($search_fk_cond_reglement > 0) { - $param .= '&search_fk_cond_reglement='.urlencode($search_fk_cond_reglement); - } - if ($search_fk_shipping_method > 0) { - $param .= '&search_fk_shipping_method='.urlencode($search_fk_shipping_method); - } - if ($search_fk_input_reason > 0) { - $param .= '&search_fk_input_reason='.urlencode($search_fk_input_reason); - } - if ($search_fk_mode_reglement > 0) { - $param .= '&search_fk_mode_reglement='.urlencode($search_fk_mode_reglement); - } - if ($search_type_thirdparty > 0) { - $param .= '&search_type_thirdparty='.urlencode($search_type_thirdparty); - } - if ($search_town) { - $param .= '&search_town='.urlencode($search_town); - } - if ($search_zip) { - $param .= '&search_zip='.urlencode($search_zip); - } - if ($search_state) { - $param .= '&search_state='.urlencode($search_state); - } - if ($search_town) { - $param .= '&search_town='.urlencode($search_town); - } - if ($search_country) { - $param .= '&search_country='.urlencode($search_country); - } - if ($search_date_signature_startday) { - $param .= '&search_date_signature_startday='.urlencode($search_date_signature_startday); - } - if ($search_date_signature_startmonth) { - $param .= '&search_date_signature_startmonth='.urlencode($search_date_signature_startmonth); - } - if ($search_date_signature_startyear) { - $param .= '&search_date_signature_startyear='.urlencode($search_date_signature_startyear); - } - if ($search_date_signature_endday) { - $param .= '&search_date_signature_endday='.urlencode($search_date_signature_endday); - } - if ($search_date_signature_endmonth) { - $param .= '&search_date_signature_endmonth='.urlencode($search_date_signature_endmonth); - } - if ($search_date_signature_endyear) { - $param .= '&search_date_signature_endyear='.urlencode($search_date_signature_endyear); - } +if (!empty($mode)) { + $param .= '&mode='.urlencode($mode); +} +if (!empty($contextpage) && $contextpage != $_SERVER["PHP_SELF"]) { + $param .= '&contextpage='.urlencode($contextpage); +} +if ($limit > 0 && $limit != $conf->liste_limit) { + $param .= '&limit='.((int) $limit); +} +if ($sall) { + $param .= '&sall='.urlencode($sall); +} +if ($search_date_startday) { + $param .= '&search_date_startday='.urlencode($search_date_startday); +} +if ($search_date_startmonth) { + $param .= '&search_date_startmonth='.urlencode($search_date_startmonth); +} +if ($search_date_startyear) { + $param .= '&search_date_startyear='.urlencode($search_date_startyear); +} +if ($search_date_endday) { + $param .= '&search_date_endday='.urlencode($search_date_endday); +} +if ($search_date_endmonth) { + $param .= '&search_date_endmonth='.urlencode($search_date_endmonth); +} +if ($search_date_endyear) { + $param .= '&search_date_endyear='.urlencode($search_date_endyear); +} +if ($search_date_end_startday) { + $param .= '&search_date_end_startday='.urlencode($search_date_end_startday); +} +if ($search_date_end_startmonth) { + $param .= '&search_date_end_startmonth='.urlencode($search_date_end_startmonth); +} +if ($search_date_end_startyear) { + $param .= '&search_date_end_startyear='.urlencode($search_date_end_startyear); +} +if ($search_date_end_endday) { + $param .= '&search_date_end_endday='.urlencode($search_date_end_endday); +} +if ($search_date_end_endmonth) { + $param .= '&search_date_end_endmonth='.urlencode($search_date_end_endmonth); +} +if ($search_date_end_endyear) { + $param .= '&search_date_end_endyear='.urlencode($search_date_end_endyear); +} +if ($search_date_delivery_startday) { + $param .= '&search_date_delivery_startday='.urlencode($search_date_delivery_startday); +} +if ($search_date_delivery_startmonth) { + $param .= '&search_date_delivery_startmonth='.urlencode($search_date_delivery_startmonth); +} +if ($search_date_delivery_startyear) { + $param .= '&search_date_delivery_startyear='.urlencode($search_date_delivery_startyear); +} +if ($search_date_delivery_endday) { + $param .= '&search_date_delivery_endday='.urlencode($search_date_delivery_endday); +} +if ($search_date_delivery_endmonth) { + $param .= '&search_date_delivery_endmonth='.urlencode($search_date_delivery_endmonth); +} +if ($search_date_delivery_endyear) { + $param .= '&search_date_delivery_endyear='.urlencode($search_date_delivery_endyear); +} +if ($search_ref) { + $param .= '&search_ref='.urlencode($search_ref); +} +if ($search_refcustomer) { + $param .= '&search_refcustomer='.urlencode($search_refcustomer); +} +if ($search_refproject) { + $param .= '&search_refproject='.urlencode($search_refproject); +} +if ($search_societe) { + $param .= '&search_societe='.urlencode($search_societe); +} +if ($search_societe_alias) { + $param .= '&search_societe_alias='.urlencode($search_societe_alias); +} +if ($search_user > 0) { + $param .= '&search_user='.urlencode($search_user); +} +if ($search_sale > 0) { + $param .= '&search_sale='.urlencode($search_sale); +} +if ($search_montant_ht) { + $param .= '&search_montant_ht='.urlencode($search_montant_ht); +} +if ($search_multicurrency_code != '') { + $param .= '&search_multicurrency_code='.urlencode($search_multicurrency_code); +} +if ($search_multicurrency_tx != '') { + $param .= '&search_multicurrency_tx='.urlencode($search_multicurrency_tx); +} +if ($search_multicurrency_montant_ht != '') { + $param .= '&search_multicurrency_montant_ht='.urlencode($search_multicurrency_montant_ht); +} +if ($search_multicurrency_montant_vat != '') { + $param .= '&search_multicurrency_montant_vat='.urlencode($search_multicurrency_montant_vat); +} +if ($search_multicurrency_montant_ttc != '') { + $param .= '&search_multicurrency_montant_ttc='.urlencode($search_multicurrency_montant_ttc); +} +if ($search_login) { + $param .= '&search_login='.urlencode($search_login); +} +if ($search_town) { + $param .= '&search_town='.urlencode($search_town); +} +if ($search_zip) { + $param .= '&search_zip='.urlencode($search_zip); +} +if ($socid > 0) { + $param .= '&socid='.urlencode($socid); +} +if ($optioncss != '') { + $param .= '&optioncss='.urlencode($optioncss); +} +if ($search_categ_cus > 0) { + $param .= '&search_categ_cus='.urlencode($search_categ_cus); +} +if ($search_product_category != '') { + $param .= '&search_product_category='.urlencode($search_product_category); +} +if ($search_fk_cond_reglement > 0) { + $param .= '&search_fk_cond_reglement='.urlencode($search_fk_cond_reglement); +} +if ($search_fk_shipping_method > 0) { + $param .= '&search_fk_shipping_method='.urlencode($search_fk_shipping_method); +} +if ($search_fk_input_reason > 0) { + $param .= '&search_fk_input_reason='.urlencode($search_fk_input_reason); +} +if ($search_fk_mode_reglement > 0) { + $param .= '&search_fk_mode_reglement='.urlencode($search_fk_mode_reglement); +} +if ($search_type_thirdparty > 0) { + $param .= '&search_type_thirdparty='.urlencode($search_type_thirdparty); +} +if ($search_town) { + $param .= '&search_town='.urlencode($search_town); +} +if ($search_zip) { + $param .= '&search_zip='.urlencode($search_zip); +} +if ($search_state) { + $param .= '&search_state='.urlencode($search_state); +} +if ($search_town) { + $param .= '&search_town='.urlencode($search_town); +} +if ($search_country) { + $param .= '&search_country='.urlencode($search_country); +} +if ($search_date_signature_startday) { + $param .= '&search_date_signature_startday='.urlencode($search_date_signature_startday); +} +if ($search_date_signature_startmonth) { + $param .= '&search_date_signature_startmonth='.urlencode($search_date_signature_startmonth); +} +if ($search_date_signature_startyear) { + $param .= '&search_date_signature_startyear='.urlencode($search_date_signature_startyear); +} +if ($search_date_signature_endday) { + $param .= '&search_date_signature_endday='.urlencode($search_date_signature_endday); +} +if ($search_date_signature_endmonth) { + $param .= '&search_date_signature_endmonth='.urlencode($search_date_signature_endmonth); +} +if ($search_date_signature_endyear) { + $param .= '&search_date_signature_endyear='.urlencode($search_date_signature_endyear); +} // Add $param from extra fields include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_list_search_param.tpl.php'; @@ -1082,7 +1087,8 @@ $newcardbutton = ''; $newcardbutton .= dolGetButtonTitle($langs->trans('ViewList'), '', 'fa fa-bars imgforviewmode', $_SERVER["PHP_SELF"].'?mode=common'.preg_replace('/(&|\?)*mode=[^&]+/', '', $param), '', ((empty($mode) || $mode == 'common') ? 2 : 1), array('morecss'=>'reposition')); $newcardbutton .= dolGetButtonTitle($langs->trans('ViewKanban'), '', 'fa fa-th-list imgforviewmode', $_SERVER["PHP_SELF"].'?mode=kanban'.preg_replace('/(&|\?)*mode=[^&]+/', '', $param), '', ($mode == 'kanban' ? 2 : 1), array('morecss'=>'reposition')); - $newcardbutton = dolGetButtonTitle($langs->trans('NewPropal'), '', 'fa fa-plus-circle', $url, '', $user->hasRight('propal', 'creer')); + $newcardbutton .= dolGetButtonTitleSeparator(); + $newcardbutton .= dolGetButtonTitle($langs->trans('NewPropal'), '', 'fa fa-plus-circle', $url, '', $user->hasRight('propal', 'creer')); // Fields title search print '
'; @@ -1129,7 +1135,7 @@ $moreforfilter = ''; // If the user can view prospects other than his' - if ($user->rights->user->user->lire) { + if ($user->hasRight('user', 'user', 'lire')) { $langs->load("commercial"); $moreforfilter .= '
'; $tmptitle = $langs->trans('ThirdPartiesOfSaleRepresentative'); @@ -1137,7 +1143,7 @@ $moreforfilter .= '
'; } // If the user can view prospects other than his' - if ($user->rights->user->user->lire) { + if ($user->hasRight('user', 'user', 'lire')) { $moreforfilter .= '
'; $tmptitle = $langs->trans('LinkedToSpecificUsers'); $moreforfilter .= img_picto($tmptitle, 'user', 'class="pictofixedwidth"').$form->select_dolusers($search_user, 'search_user', $tmptitle, '', 0, '', '', 0, 0, 0, '', 0, '', 'maxwidth250 widthcentpercentminusx'); @@ -1480,120 +1486,159 @@ print ''; if (!empty($conf->global->MAIN_CHECKBOX_LEFT_COLUMN)) { print_liste_field_titre($selectedfields, $_SERVER["PHP_SELF"], "", '', '', 'align="center"', $sortfield, $sortorder, 'maxwidthsearch '); + $totalarray['nbfield']++; } if (!empty($arrayfields['p.ref']['checked'])) { print_liste_field_titre($arrayfields['p.ref']['label'], $_SERVER["PHP_SELF"], 'p.ref', '', $param, '', $sortfield, $sortorder); + $totalarray['nbfield']++; } if (!empty($arrayfields['p.ref_client']['checked'])) { print_liste_field_titre($arrayfields['p.ref_client']['label'], $_SERVER["PHP_SELF"], 'p.ref_client', '', $param, '', $sortfield, $sortorder); + $totalarray['nbfield']++; } if (!empty($arrayfields['pr.ref']['checked'])) { print_liste_field_titre($arrayfields['pr.ref']['label'], $_SERVER["PHP_SELF"], 'pr.ref', '', $param, '', $sortfield, $sortorder); + $totalarray['nbfield']++; } if (!empty($arrayfields['pr.title']['checked'])) { print_liste_field_titre($arrayfields['pr.title']['label'], $_SERVER["PHP_SELF"], 'pr.title', '', $param, '', $sortfield, $sortorder); + $totalarray['nbfield']++; } if (!empty($arrayfields['s.nom']['checked'])) { print_liste_field_titre($arrayfields['s.nom']['label'], $_SERVER["PHP_SELF"], 's.nom', '', $param, '', $sortfield, $sortorder); + $totalarray['nbfield']++; } if (!empty($arrayfields['s.name_alias']['checked'])) { print_liste_field_titre($arrayfields['s.name_alias']['label'], $_SERVER["PHP_SELF"], 's.name_alias', '', $param, '', $sortfield, $sortorder); + $totalarray['nbfield']++; } if (!empty($arrayfields['s.town']['checked'])) { print_liste_field_titre($arrayfields['s.town']['label'], $_SERVER["PHP_SELF"], 's.town', '', $param, '', $sortfield, $sortorder); + $totalarray['nbfield']++; } if (!empty($arrayfields['s.zip']['checked'])) { print_liste_field_titre($arrayfields['s.zip']['label'], $_SERVER["PHP_SELF"], 's.zip', '', $param, '', $sortfield, $sortorder); + $totalarray['nbfield']++; } if (!empty($arrayfields['state.nom']['checked'])) { print_liste_field_titre($arrayfields['state.nom']['label'], $_SERVER["PHP_SELF"], "state.nom", "", $param, '', $sortfield, $sortorder); + $totalarray['nbfield']++; } if (!empty($arrayfields['country.code_iso']['checked'])) { print_liste_field_titre($arrayfields['country.code_iso']['label'], $_SERVER["PHP_SELF"], "country.code_iso", "", $param, 'class="center"', $sortfield, $sortorder); + $totalarray['nbfield']++; } if (!empty($arrayfields['typent.code']['checked'])) { print_liste_field_titre($arrayfields['typent.code']['label'], $_SERVER["PHP_SELF"], "typent.code", "", $param, 'class="center"', $sortfield, $sortorder); + $totalarray['nbfield']++; } if (!empty($arrayfields['p.date']['checked'])) { print_liste_field_titre($arrayfields['p.date']['label'], $_SERVER["PHP_SELF"], 'p.datep', '', $param, 'class="center"', $sortfield, $sortorder); + $totalarray['nbfield']++; } if (!empty($arrayfields['p.fin_validite']['checked'])) { print_liste_field_titre($arrayfields['p.fin_validite']['label'], $_SERVER["PHP_SELF"], 'dfv', '', $param, 'class="center"', $sortfield, $sortorder); + $totalarray['nbfield']++; } if (!empty($arrayfields['p.date_livraison']['checked'])) { print_liste_field_titre($arrayfields['p.date_livraison']['label'], $_SERVER["PHP_SELF"], 'p.date_livraison', '', $param, 'class="center"', $sortfield, $sortorder); + $totalarray['nbfield']++; } if (!empty($arrayfields['p.date_signature']['checked'])) { print_liste_field_titre($arrayfields['p.date_signature']['label'], $_SERVER["PHP_SELF"], 'p.date_signature', '', $param, 'class="center"', $sortfield, $sortorder); + $totalarray['nbfield']++; } if (!empty($arrayfields['ava.rowid']['checked'])) { print_liste_field_titre($arrayfields['ava.rowid']['label'], $_SERVER["PHP_SELF"], 'availability', '', $param, '', $sortfield, $sortorder); + $totalarray['nbfield']++; } if (!empty($arrayfields['p.fk_shipping_method']['checked'])) { print_liste_field_titre($arrayfields['p.fk_shipping_method']['label'], $_SERVER["PHP_SELF"], "p.fk_shipping_method", "", $param, '', $sortfield, $sortorder); + $totalarray['nbfield']++; } if (!empty($arrayfields['p.fk_input_reason']['checked'])) { print_liste_field_titre($arrayfields['p.fk_input_reason']['label'], $_SERVER["PHP_SELF"], "p.fk_input_reason", "", $param, '', $sortfield, $sortorder); + $totalarray['nbfield']++; } if (!empty($arrayfields['p.fk_cond_reglement']['checked'])) { print_liste_field_titre($arrayfields['p.fk_cond_reglement']['label'], $_SERVER["PHP_SELF"], "p.fk_cond_reglement", "", $param, '', $sortfield, $sortorder); + $totalarray['nbfield']++; } if (!empty($arrayfields['p.fk_mode_reglement']['checked'])) { print_liste_field_titre($arrayfields['p.fk_mode_reglement']['label'], $_SERVER["PHP_SELF"], "p.fk_mode_reglement", "", $param, '', $sortfield, $sortorder); + $totalarray['nbfield']++; } if (!empty($arrayfields['p.total_ht']['checked'])) { print_liste_field_titre($arrayfields['p.total_ht']['label'], $_SERVER["PHP_SELF"], 'p.total_ht', '', $param, 'class="right"', $sortfield, $sortorder); + $totalarray['nbfield']++; } if (!empty($arrayfields['p.total_tva']['checked'])) { print_liste_field_titre($arrayfields['p.total_tva']['label'], $_SERVER["PHP_SELF"], 'p.total_tva', '', $param, 'class="right"', $sortfield, $sortorder); + $totalarray['nbfield']++; } if (!empty($arrayfields['p.total_ttc']['checked'])) { print_liste_field_titre($arrayfields['p.total_ttc']['label'], $_SERVER["PHP_SELF"], 'p.total_ttc', '', $param, 'class="right"', $sortfield, $sortorder); + $totalarray['nbfield']++; } if (!empty($arrayfields['p.total_ht_invoiced']['checked'])) { print_liste_field_titre($arrayfields['p.total_ht_invoiced']['label'], $_SERVER["PHP_SELF"], '', '', $param, 'class="right"', $sortfield, $sortorder); + $totalarray['nbfield']++; } if (!empty($arrayfields['p.total_invoiced']['checked'])) { print_liste_field_titre($arrayfields['p.total_invoiced']['label'], $_SERVER["PHP_SELF"], '', '', $param, 'class="right"', $sortfield, $sortorder); + $totalarray['nbfield']++; } if (!empty($arrayfields['p.multicurrency_code']['checked'])) { print_liste_field_titre($arrayfields['p.multicurrency_code']['label'], $_SERVER['PHP_SELF'], 'p.multicurrency_code', '', $param, '', $sortfield, $sortorder); + $totalarray['nbfield']++; } if (!empty($arrayfields['p.multicurrency_tx']['checked'])) { print_liste_field_titre($arrayfields['p.multicurrency_tx']['label'], $_SERVER['PHP_SELF'], 'p.multicurrency_tx', '', $param, '', $sortfield, $sortorder); + $totalarray['nbfield']++; } if (!empty($arrayfields['p.multicurrency_total_ht']['checked'])) { print_liste_field_titre($arrayfields['p.multicurrency_total_ht']['label'], $_SERVER['PHP_SELF'], 'p.multicurrency_total_ht', '', $param, 'class="right"', $sortfield, $sortorder); + $totalarray['nbfield']++; } if (!empty($arrayfields['p.multicurrency_total_tva']['checked'])) { print_liste_field_titre($arrayfields['p.multicurrency_total_tva']['label'], $_SERVER['PHP_SELF'], 'p.multicurrency_total_tva', '', $param, 'class="right"', $sortfield, $sortorder); + $totalarray['nbfield']++; } if (!empty($arrayfields['p.multicurrency_total_ttc']['checked'])) { print_liste_field_titre($arrayfields['p.multicurrency_total_ttc']['label'], $_SERVER['PHP_SELF'], 'p.multicurrency_total_ttc', '', $param, 'class="right"', $sortfield, $sortorder); + $totalarray['nbfield']++; } if (!empty($arrayfields['p.multicurrency_total_ht_invoiced']['checked'])) { print_liste_field_titre($arrayfields['p.multicurrency_total_ht_invoiced']['label'], $_SERVER["PHP_SELF"], '', '', $param, 'class="right"', $sortfield, $sortorder); + $totalarray['nbfield']++; } if (!empty($arrayfields['p.multicurrency_total_invoiced']['checked'])) { print_liste_field_titre($arrayfields['p.multicurrency_total_invoiced']['label'], $_SERVER["PHP_SELF"], '', '', $param, 'class="right"', $sortfield, $sortorder); + $totalarray['nbfield']++; } if (!empty($arrayfields['u.login']['checked'])) { print_liste_field_titre($arrayfields['u.login']['label'], $_SERVER["PHP_SELF"], 'u.login', '', $param, 'class="center"', $sortfield, $sortorder); + $totalarray['nbfield']++; } if (!empty($arrayfields['sale_representative']['checked'])) { print_liste_field_titre($arrayfields['sale_representative']['label'], $_SERVER["PHP_SELF"], "", "", "$param", '', $sortfield, $sortorder); + $totalarray['nbfield']++; } if (!empty($arrayfields['total_pa']['checked'])) { print_liste_field_titre($arrayfields['total_pa']['label'], $_SERVER['PHP_SELF'], '', '', $param, 'class="right"', $sortfield, $sortorder); + $totalarray['nbfield']++; } if (!empty($arrayfields['total_margin']['checked'])) { print_liste_field_titre($arrayfields['total_margin']['label'], $_SERVER['PHP_SELF'], '', '', $param, 'class="right"', $sortfield, $sortorder); + $totalarray['nbfield']++; } if (!empty($arrayfields['total_margin_rate']['checked'])) { print_liste_field_titre($arrayfields['total_margin_rate']['label'], $_SERVER['PHP_SELF'], '', '', $param, 'class="right"', $sortfield, $sortorder); + $totalarray['nbfield']++; } if (!empty($arrayfields['total_mark_rate']['checked'])) { print_liste_field_titre($arrayfields['total_mark_rate']['label'], $_SERVER['PHP_SELF'], '', '', $param, 'class="right"', $sortfield, $sortorder); + $totalarray['nbfield']++; } // Extra fields include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_list_search_title.tpl.php'; @@ -1611,30 +1656,38 @@ print $hookmanager->resPrint; if (!empty($arrayfields['p.datec']['checked'])) { print_liste_field_titre($arrayfields['p.datec']['label'], $_SERVER["PHP_SELF"], "p.datec", "", $param, 'align="center" class="nowrap"', $sortfield, $sortorder); + $totalarray['nbfield']++; } if (!empty($arrayfields['p.tms']['checked'])) { print_liste_field_titre($arrayfields['p.tms']['label'], $_SERVER["PHP_SELF"], "p.tms", "", $param, 'align="center" class="nowrap"', $sortfield, $sortorder); + $totalarray['nbfield']++; } if (!empty($arrayfields['p.date_cloture']['checked'])) { print_liste_field_titre($arrayfields['p.date_cloture']['label'], $_SERVER["PHP_SELF"], "p.date_cloture", "", $param, 'align="center" class="nowrap"', $sortfield, $sortorder); + $totalarray['nbfield']++; } if (!empty($arrayfields['p.note_public']['checked'])) { print_liste_field_titre($arrayfields['p.note_public']['label'], $_SERVER["PHP_SELF"], "p.note_public", "", $param, '', $sortfield, $sortorder, 'center nowrap '); + $totalarray['nbfield']++; } if (!empty($arrayfields['p.note_private']['checked'])) { print_liste_field_titre($arrayfields['p.note_private']['label'], $_SERVER["PHP_SELF"], "p.note_private", "", $param, '', $sortfield, $sortorder, 'center nowrap '); + $totalarray['nbfield']++; } if (!empty($arrayfields['p.fk_statut']['checked'])) { print_liste_field_titre($arrayfields['p.fk_statut']['label'], $_SERVER["PHP_SELF"], "p.fk_statut", "", $param, 'class="right"', $sortfield, $sortorder); + $totalarray['nbfield']++; } if (empty($conf->global->MAIN_CHECKBOX_LEFT_COLUMN)) { print_liste_field_titre($selectedfields, $_SERVER["PHP_SELF"], "", '', '', 'align="center"', $sortfield, $sortorder, 'maxwidthsearch '); + $totalarray['nbfield']++; } print ''."\n"; - $now = dol_now(); - $i = 0; + // Loop on record + // -------------------------------------------------------------------- $typenArray = null; + $now = dol_now(); $with_margin_info = false; if (isModEnabled('margin') && ( @@ -1649,13 +1702,16 @@ $total_ht = 0; $total_margin = 0; + $i = 0; $savnbfield = $totalarray['nbfield']; $totalarray = array(); $totalarray['nbfield'] = 0; - $imaxinloop = ($limit ? min($num, $limit) : $num); while ($i < $imaxinloop) { $obj = $db->fetch_object($resql); + if (empty($obj)) { + break; // Should not happen + } $objectstatic->id = $obj->rowid; $objectstatic->ref = $obj->ref; @@ -1720,9 +1776,8 @@ } // Output Kanban $userstatic->fetch($obj->fk_user_author); - $objectstatic->author = $userstatic->getNomUrl(1); - $objectstatic->fk_project = $projectstatic->getNomUrl(1); - print $objectstatic->getKanbanView('', array('selected' => in_array($object->id, $arrayofselected))); + $arrayofparams = array('selected' => in_array($object->id, $arrayofselected), 'authorlink' => $userstatic->getNomUrl(-2), 'projectlink' => $projectstatic->getNomUrl(2)); + print $objectstatic->getKanbanView('', $arrayofparams); if ($i == ($imaxinloop - 1)) { print '
'; print ''; @@ -2325,24 +2380,26 @@ print '
'."\n"; - $hidegeneratedfilelistifempty = 1; - if ($massaction == 'builddoc' || $action == 'remove_file' || $show_files) { - $hidegeneratedfilelistifempty = 0; - } + if (in_array('builddoc', $arrayofmassactions) && ($nbtotalofrecords === '' || $nbtotalofrecords)) { + $hidegeneratedfilelistifempty = 1; + if ($massaction == 'builddoc' || $action == 'remove_file' || $show_files) { + $hidegeneratedfilelistifempty = 0; + } - // Show list of available documents - $urlsource = $_SERVER['PHP_SELF'].'?sortfield='.$sortfield.'&sortorder='.$sortorder; - $urlsource .= str_replace('&', '&', $param); + require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php'; + $formfile = new FormFile($db); - $filedir = $diroutputmassaction; - $genallowed = $user->hasRight('propal', 'lire'); - $delallowed = $user->hasRight('propal', 'creer'); + // Show list of available documents + $urlsource = $_SERVER['PHP_SELF'].'?sortfield='.$sortfield.'&sortorder='.$sortorder; + $urlsource .= str_replace('&', '&', $param); - print $formfile->showdocuments('massfilesarea_proposals', '', $filedir, $urlsource, 0, $delallowed, '', 1, 1, 0, 48, 1, $param, $title, '', '', '', null, $hidegeneratedfilelistifempty); -} else { - dol_print_error($db); -} + $filedir = $diroutputmassaction; + $genallowed = $permissiontoread; + $delallowed = $permissiontoadd; + + print $formfile->showdocuments('massfilesarea_proposals', '', $filedir, $urlsource, 0, $delallowed, '', 1, 1, 0, 48, 1, $param, $title, '', '', '', null, $hidegeneratedfilelistifempty); + } -// End of page -llxFooter(); -$db->close(); + // End of page + llxFooter(); + $db->close(); diff --git a/htdocs/comm/propal/stats/index.php b/htdocs/comm/propal/stats/index.php index 382ccfd55b7fa..2fe2412a9cf3b 100644 --- a/htdocs/comm/propal/stats/index.php +++ b/htdocs/comm/propal/stats/index.php @@ -60,10 +60,10 @@ // Load translation files required by the page $langs->loadLangs(array('orders', 'companies', 'other', 'suppliers', 'supplier_proposal')); -if ($mode == 'customer' && !$user->rights->propal->lire) { +if ($mode == 'customer' && !$user->hasRight('propal', 'lire')) { accessforbidden(); } -if ($mode == 'supplier' && !$user->rights->supplier_proposal->lire) { +if ($mode == 'supplier' && !$user->hasRight('supplier_proposal', 'lire')) { accessforbidden(); } @@ -112,7 +112,7 @@ // $data = array(array('Lib',val1,val2,val3),...) -if (empty($user->rights->societe->client->voir) || $user->socid) { +if (!$user->hasRight('societe', 'client', 'voir') || $user->socid) { $filenamenb = $dir.'/proposalsnbinyear-'.$user->id.'-'.$year.'.png'; $fileurlnb = DOL_URL_ROOT.'/viewimage.php?modulepart=propalstats&file=proposalsnbinyear-'.$user->id.'-'.$year.'.png'; } else { @@ -148,7 +148,7 @@ $data = $stats->getAmountByMonthWithPrevYear($endyear, $startyear, 0); // $data = array(array('Lib',val1,val2,val3),...) -if (empty($user->rights->societe->client->voir) || $user->socid) { +if (!$user->hasRight('societe', 'client', 'voir') || $user->socid) { $filenameamount = $dir.'/proposalsamountinyear-'.$user->id.'-'.$year.'.png'; $fileurlamount = DOL_URL_ROOT.'/viewimage.php?modulepart=propalstats&file=proposalsamountinyear-'.$user->id.'-'.$year.'.png'; } else { @@ -183,7 +183,7 @@ $data = $stats->getAverageByMonthWithPrevYear($endyear, $startyear); $fileurl_avg = ''; -if (empty($user->rights->societe->client->voir) || $user->socid) { +if (!$user->hasRight('societe', 'client', 'voir') || $user->socid) { $filename_avg = $dir.'/ordersaverage-'.$user->id.'-'.$year.'.png'; if ($mode == 'customer') { $fileurl_avg = DOL_URL_ROOT.'/viewimage.php?modulepart=orderstats&file=ordersaverage-'.$user->id.'-'.$year.'.png'; diff --git a/htdocs/comm/prospect/index.php b/htdocs/comm/prospect/index.php index 13932d7da0c42..25b4b4717dfbd 100644 --- a/htdocs/comm/prospect/index.php +++ b/htdocs/comm/prospect/index.php @@ -81,13 +81,13 @@ $sql = "SELECT count(*) as cc, st.libelle as stcomm, st.picto, st.id"; $sql .= " FROM ".MAIN_DB_PREFIX."societe as s"; $sql .= ", ".MAIN_DB_PREFIX."c_stcomm as st "; -if (empty($user->rights->societe->client->voir) && !$socid) { +if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= ", ".MAIN_DB_PREFIX."societe_commerciaux as sc"; } $sql .= " WHERE s.fk_stcomm = st.id"; $sql .= " AND s.client IN (2, 3)"; $sql .= " AND s.entity IN (".getEntity($companystatic->element).")"; -if (empty($user->rights->societe->client->voir) && !$socid) { +if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= " AND s.rowid = sc.fk_soc AND sc.fk_user = ".((int) $user->id); } $sql .= " GROUP BY st.id"; @@ -123,13 +123,13 @@ $sql = "SELECT p.rowid, p.ref, p.price, s.nom as sname"; $sql .= " FROM ".MAIN_DB_PREFIX."propal as p"; $sql .= ", ".MAIN_DB_PREFIX."societe as s"; - if (empty($user->rights->societe->client->voir) && !$socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= ", ".MAIN_DB_PREFIX."societe_commerciaux as sc"; } $sql .= " WHERE p.fk_statut = 0"; $sql .= " AND p.fk_soc = s.rowid"; $sql .= " AND p.entity IN (".getEntity('propal').")"; - if (empty($user->rights->societe->client->voir) && !$socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= " AND s.rowid = sc.fk_soc AND sc.fk_user = ".((int) $user->id); } @@ -183,14 +183,14 @@ $sql .= " FROM ".MAIN_DB_PREFIX."societe as s"; $sql .= ", ".MAIN_DB_PREFIX."propal as p"; $sql .= ", ".MAIN_DB_PREFIX."c_propalst as c"; - if (empty($user->rights->societe->client->voir) && !$socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= ", ".MAIN_DB_PREFIX."societe_commerciaux as sc"; } $sql .= " WHERE p.fk_soc = s.rowid"; $sql .= " AND p.fk_statut = c.id"; $sql .= " AND p.fk_statut = 1"; $sql .= " AND p.entity IN (".getEntity('propal').")"; - if (empty($user->rights->societe->client->voir) && !$socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= " AND s.rowid = sc.fk_soc AND sc.fk_user = ".((int) $user->id); } if ($socid) { @@ -244,12 +244,12 @@ */ $sql = "SELECT s.nom as name, s.rowid as socid, s.client, s.canvas"; $sql .= " FROM ".MAIN_DB_PREFIX."societe as s"; -if (empty($user->rights->societe->client->voir) && !$socid) { +if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= ", ".MAIN_DB_PREFIX."societe_commerciaux as sc"; } $sql .= " WHERE s.fk_stcomm = 1"; $sql .= " AND s.entity IN (".getEntity($companystatic->element).")"; -if (empty($user->rights->societe->client->voir) && !$socid) { +if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= " AND s.rowid = sc.fk_soc AND sc.fk_user = ".((int) $user->id); } $sql .= " ORDER BY s.tms ASC"; diff --git a/htdocs/comm/remise.php b/htdocs/comm/remise.php index 4da58a6bd91a2..b1253b3e67217 100644 --- a/htdocs/comm/remise.php +++ b/htdocs/comm/remise.php @@ -224,7 +224,6 @@ $resql = $db->query($sql); if ($resql) { print ''; - $tag = !$tag; print ''; print ''; print ''; @@ -245,7 +244,7 @@ $i++; } } else { - print ''; + print ''; } $db->free($resql); print "
'.$langs->trans("Date").''.$langs->trans("CustomerRelativeDiscountShort").'
'.$langs->trans("None").'
'.$langs->trans("None").'
"; @@ -275,7 +274,6 @@ $resql = $db->query($sql); if ($resql) { print ''; - $tag = !$tag; print ''; print ''; print ''; @@ -296,7 +294,7 @@ $i++; } } else { - print ''; + print ''; } $db->free($resql); print "
'.$langs->trans("Date").''.$langs->trans("CustomerRelativeDiscountShort").'
'.$langs->trans("None").'
'.$langs->trans("None").'
"; diff --git a/htdocs/comm/remx.php b/htdocs/comm/remx.php index 9ba7c205633cf..85ef5a37dd95d 100644 --- a/htdocs/comm/remx.php +++ b/htdocs/comm/remx.php @@ -337,7 +337,7 @@ if ($action == 'create_remise') { - if ($user->rights->societe->creer) { + if ($user->hasRight('societe', 'creer')) { print '
'; $discount_type = GETPOSTISSET('discount_type') ? GETPOST('discount_type', 'alpha') : 0; @@ -392,7 +392,7 @@ print dol_get_fiche_end(); } - if ($user->rights->societe->creer) { + if ($user->hasRight('societe', 'creer')) { print '
'; print ''; if (!empty($backtopage)) { @@ -534,7 +534,7 @@ print $tmpuser->getNomUrl(-1); print ''; - if ($user->rights->societe->creer || $user->rights->facture->creer) { + if ($user->hasRight('societe', 'creer') || $user->hasRight('facture', 'creer')) { print ''; print 'rowid.($backtopage ? '&backtopage='.urlencode($backtopage) : '').'">'.img_split($langs->trans("SplitDiscount")).''; print 'rowid.($backtopage ? '&backtopage='.urlencode($backtopage) : '').'">'.img_delete($langs->trans("RemoveDiscount")).''; @@ -681,7 +681,7 @@ print $tmpuser->getNomUrl(-1); print ''; - if ($user->rights->societe->creer || $user->rights->facture->creer) { + if ($user->hasRight('societe', 'creer') || $user->hasRight('facture', 'creer')) { print ''; print 'rowid.($backtopage ? '&backtopage='.urlencode($backtopage) : '').'">'.img_split($langs->trans("SplitDiscount")).''; print 'rowid.($backtopage ? '&backtopage='.urlencode($backtopage) : '').'">'.img_delete($langs->trans("RemoveDiscount")).''; diff --git a/htdocs/commande/card.php b/htdocs/commande/card.php index c087685cf4f29..854cac9d59c1b 100644 --- a/htdocs/commande/card.php +++ b/htdocs/commande/card.php @@ -6,7 +6,7 @@ * Copyright (C) 2006 Andre Cianfarani * Copyright (C) 2010-2013 Juanjo Menent * Copyright (C) 2011-2023 Philippe Grand - * Copyright (C) 2012-2013 Christophe Battarel + * Copyright (C) 2012-2023 Christophe Battarel * Copyright (C) 2012-2016 Marcos García * Copyright (C) 2012 Cedric Salvador * Copyright (C) 2013 Florian Henry @@ -291,7 +291,6 @@ $object->fk_account = GETPOST('fk_account', 'int'); $object->availability_id = GETPOST('availability_id'); $object->demand_reason_id = GETPOST('demand_reason_id', 'int'); - $object->date_livraison = $date_delivery; // deprecated $object->delivery_date = $date_delivery; $object->shipping_method_id = GETPOST('shipping_method_id', 'int'); $object->warehouse_id = GETPOST('warehouse_id', 'int'); @@ -631,10 +630,10 @@ if ($result < 0) { setEventMessages($object->error, $object->errors, 'errors'); } - } elseif ($action == 'setremisepercent' && $usercancreate) { - $result = $object->setDiscount($user, price2num(GETPOST('remise_percent'), '', 2)); - } elseif ($action == 'setremiseabsolue' && $usercancreate) { - $result = $object->set_remise_absolue($user, price2num(GETPOST('remise_absolue'), 'MU', 2)); + //} elseif ($action == 'setremisepercent' && $usercancreate) { + // $result = $object->setDiscount($user, price2num(GETPOST('remise_percent'), '', 2)); + //} elseif ($action == 'setremiseabsolue' && $usercancreate) { + // $result = $object->set_remise_absolue($user, price2num(GETPOST('remise_absolue'), 'MU', 2)); } elseif ($action == 'addline' && GETPOST('submitforalllines', 'alpha') && GETPOST('vatforalllines', 'alpha') !== '') { // Define vat_rate $vat_rate = (GETPOST('vatforalllines') ? GETPOST('vatforalllines') : 0); @@ -758,6 +757,8 @@ $date_end = dol_mktime(GETPOST('date_end'.$predef.'hour'), GETPOST('date_end'.$predef.'min'), GETPOST('date_end'.$predef.'sec'), GETPOST('date_end'.$predef.'month'), GETPOST('date_end'.$predef.'day'), GETPOST('date_end'.$predef.'year')); $price_base_type = (GETPOST('price_base_type', 'alpha') ?GETPOST('price_base_type', 'alpha') : 'HT'); + $price_min = $price_min_ttc = 0; + // Ecrase $pu par celui du produit // Ecrase $desc par celui du produit // Ecrase $base_price_type par celui du produit @@ -982,6 +983,15 @@ } } + $info_bits = 0; + if ($tva_npr) { + $info_bits |= 0x01; + } + + // Local Taxes + $localtax1_tx = get_localtax($tva_tx, 1, $object->thirdparty); + $localtax2_tx = get_localtax($tva_tx, 2, $object->thirdparty); + // Margin $fournprice = price2num(GETPOST('fournprice'.$predef) ? GETPOST('fournprice'.$predef) : ''); $buyingprice = price2num(GETPOST('buying_price'.$predef) != '' ? GETPOST('buying_price'.$predef) : ''); // If buying_price is '0', we muste keep this value @@ -989,9 +999,10 @@ // Prepare a price equivalent for minimum price check $pu_equivalent = $pu_ht; $pu_equivalent_ttc = $pu_ttc; + $currency_tx = $object->multicurrency_tx; - // Check if we have a foreing currency + // Check if we have a foreign currency // If so, we update the pu_equiv as the equivalent price in base currency if ($pu_ht == '' && $pu_ht_devise != '' && $currency_tx != '') { $pu_equivalent = $pu_ht_devise * $currency_tx; @@ -1000,24 +1011,27 @@ $pu_equivalent_ttc = $pu_ttc_devise * $currency_tx; } - // Local Taxes - $localtax1_tx = get_localtax($tva_tx, 1, $object->thirdparty); - $localtax2_tx = get_localtax($tva_tx, 2, $object->thirdparty); - - $info_bits = 0; - if ($tva_npr) { - $info_bits |= 0x01; + // TODO $pu_equivalent or $pu_equivalent_ttc must be calculated from the one defined + /* + if ($pu_equivalent) { + $tmp = calcul_price_total(1, $pu_equivalent, 0, $tva_tx, -1, -1, 0, 'HT', $info_bits, $type); + $pu_equivalent_ttc = ... + } else { + $tmp = calcul_price_total(1, $pu_equivalent_ttc, 0, $tva_tx, -1, -1, 0, 'TTC', $info_bits, $type); + $pu_equivalent_ht = ... } + */ $desc = dol_htmlcleanlastbr($desc); + // Check price is not lower than minimum if ($usermustrespectpricemin) { - if ($pu_equivalent && $price_min && ((price2num($pu_equivalent) * (1 - $remise_percent / 100)) < price2num($price_min))) { + if ($pu_equivalent && $price_min && ((price2num($pu_equivalent) * (1 - $remise_percent / 100)) < price2num($price_min)) && $price_base_type == 'HT') { $mesg = $langs->trans("CantBeLessThanMinPrice", price(price2num($price_min, 'MU'), 0, $langs, 0, 0, -1, $conf->currency)); setEventMessages($mesg, null, 'errors'); $error++; - } elseif ($pu_equivalent_ttc && $price_min_ttc && ((price2num($pu_equivalent_ttc) * (1 - $remise_percent / 100)) < price2num($price_min_ttc))) { - $mesg = $langs->trans("CantBeLessThanMinPrice", price(price2num($price_min_ttc, 'MU'), 0, $langs, 0, 0, -1, $conf->currency)); + } elseif ($pu_equivalent_ttc && $price_min_ttc && ((price2num($pu_equivalent_ttc) * (1 - $remise_percent / 100)) < price2num($price_min_ttc)) && $price_base_type == 'TTC') { + $mesg = $langs->trans("CantBeLessThanMinPriceInclTax", price(price2num($price_min_ttc, 'MU'), 0, $langs, 0, 0, -1, $conf->currency)); setEventMessages($mesg, null, 'errors'); $error++; } @@ -1090,10 +1104,20 @@ $date_end = ''; $date_start = dol_mktime(GETPOST('date_starthour'), GETPOST('date_startmin'), GETPOST('date_startsec'), GETPOST('date_startmonth'), GETPOST('date_startday'), GETPOST('date_startyear')); $date_end = dol_mktime(GETPOST('date_endhour'), GETPOST('date_endmin'), GETPOST('date_endsec'), GETPOST('date_endmonth'), GETPOST('date_endday'), GETPOST('date_endyear')); + $description = dol_htmlcleanlastbr(GETPOST('product_desc', 'restricthtml')); + + // Define info_bits + $info_bits = 0; + if (preg_match('/\*/', GETPOST('tva_tx'))) { + $info_bits |= 0x01; + } + + // Define vat_rate $vat_rate = (GETPOST('tva_tx') ? GETPOST('tva_tx', 'alpha') : 0); $vat_rate = str_replace('*', '', $vat_rate); - + $localtax1_rate = get_localtax($vat_rate, 1, $object->thirdparty, $mysoc); + $localtax2_rate = get_localtax($vat_rate, 2, $object->thirdparty, $mysoc); $pu_ht = price2num(GETPOST('price_ht'), '', 2); $pu_ttc = price2num(GETPOST('price_ttc'), '', 2); @@ -1105,9 +1129,10 @@ // Prepare a price equivalent for minimum price check $pu_equivalent = $pu_ht; $pu_equivalent_ttc = $pu_ttc; + $currency_tx = $object->multicurrency_tx; - // Check if we have a foreing currency + // Check if we have a foreign currency // If so, we update the pu_equiv as the equivalent price in base currency if ($pu_ht == '' && $pu_ht_devise != '' && $currency_tx != '') { $pu_equivalent = $pu_ht_devise * $currency_tx; @@ -1116,16 +1141,16 @@ $pu_equivalent_ttc = $pu_ttc_devise * $currency_tx; } - // Define info_bits - $info_bits = 0; - if (preg_match('/\*/', $vat_rate)) { - $info_bits |= 0x01; - } - - // Define vat_rate - $vat_rate = str_replace('*', '', $vat_rate); - $localtax1_rate = get_localtax($vat_rate, 1, $object->thirdparty, $mysoc); - $localtax2_rate = get_localtax($vat_rate, 2, $object->thirdparty, $mysoc); + // TODO $pu_equivalent or $pu_equivalent_ttc must be calculated from the one not null taking into account all taxes + /* + if ($pu_equivalent) { + $tmp = calcul_price_total(1, $pu_equivalent, 0, $vat_rate, -1, -1, 0, 'HT', $info_bits, $type); + $pu_equivalent_ttc = ... + } else { + $tmp = calcul_price_total(1, $pu_equivalent_ttc, 0, $vat_rate, -1, -1, 0, 'TTC', $info_bits, $type); + $pu_equivalent_ht = ... + } + */ // Add buying price $fournprice = price2num(GETPOST('fournprice') ? GETPOST('fournprice') : ''); @@ -1168,14 +1193,15 @@ $label = ((GETPOST('update_label') && GETPOST('product_label')) ? GETPOST('product_label') : ''); + // Check price is not lower than minimum if ($usermustrespectpricemin) { - if ($pu_equivalent && $price_min && ((price2num($pu_equivalent) * (1 - $remise_percent / 100)) < price2num($price_min))) { + if ($pu_equivalent && $price_min && ((price2num($pu_equivalent) * (1 - $remise_percent / 100)) < price2num($price_min)) && $price_base_type == 'HT') { $mesg = $langs->trans("CantBeLessThanMinPrice", price(price2num($price_min, 'MU'), 0, $langs, 0, 0, -1, $conf->currency)); setEventMessages($mesg, null, 'errors'); $error++; $action = 'editline'; - } elseif ($pu_equivalent_ttc && $price_min_ttc && ((price2num($pu_equivalent_ttc) * (1 - $remise_percent / 100)) < price2num($price_min_ttc))) { - $mesg = $langs->trans("CantBeLessThanMinPrice", price(price2num($price_min_ttc, 'MU'), 0, $langs, 0, 0, -1, $conf->currency)); + } elseif ($pu_equivalent_ttc && $price_min_ttc && ((price2num($pu_equivalent_ttc) * (1 - $remise_percent / 100)) < price2num($price_min_ttc)) && $price_base_type == 'TTC') { + $mesg = $langs->trans("CantBeLessThanMinPriceInclTax", price(price2num($price_min_ttc, 'MU'), 0, $langs, 0, 0, -1, $conf->currency)); setEventMessages($mesg, null, 'errors'); $error++; $action = 'editline'; @@ -1200,7 +1226,7 @@ } if (!$error) { - if (empty($user->rights->margins->creer)) { + if (!$user->hasRight('margins', 'creer')) { foreach ($object->lines as &$line) { if ($line->id == GETPOST('lineid', 'int')) { $fournprice = $line->fk_fournprice; @@ -1293,7 +1319,9 @@ if (!$error) { $locationTarget = ''; + $db->begin(); + $result = $object->valid($user, $idwarehouse); if ($result >= 0) { $error = 0; @@ -1303,7 +1331,7 @@ if ( GETPOST('generate_deposit', 'alpha') == 'on' && !empty($deposit_percent_from_payment_terms) - && isModEnabled('facture') && !empty($user->rights->facture->creer) + && isModEnabled('facture') && $user->hasRight('facture', 'creer') ) { require_once DOL_DOCUMENT_ROOT . '/compta/facture/class/facture.class.php'; @@ -1445,7 +1473,7 @@ } if ($action == 'update_extras') { - $object->oldcopy = dol_clone($object); + $object->oldcopy = dol_clone($object, 2); // Fill array 'array_options' with data from update form $ret = $extrafields->setOptionalsFromPost(null, $object, GETPOST('attribute', 'restricthtml')); @@ -1629,7 +1657,7 @@ $res = $soc->fetch($socid); } - $remise_absolue = 0; + //$remise_absolue = 0; $currency_code = $conf->currency; @@ -1703,14 +1731,11 @@ $shipping_method_id = (!empty($objectsrc->shipping_method_id) ? $objectsrc->shipping_method_id : (!empty($soc->shipping_method_id) ? $soc->shipping_method_id : 0)); $warehouse_id = (!empty($objectsrc->warehouse_id) ? $objectsrc->warehouse_id : (!empty($soc->warehouse_id) ? $soc->warehouse_id : 0)); $demand_reason_id = (!empty($objectsrc->demand_reason_id) ? $objectsrc->demand_reason_id : (!empty($soc->demand_reason_id) ? $soc->demand_reason_id : 0)); - $remise_percent = (!empty($objectsrc->remise_percent) ? $objectsrc->remise_percent : (!empty($soc->remise_percent) ? $soc->remise_percent : 0)); - $remise_absolue = (!empty($objectsrc->remise_absolue) ? $objectsrc->remise_absolue : (!empty($soc->remise_absolue) ? $soc->remise_absolue : 0)); + //$remise_percent = (!empty($objectsrc->remise_percent) ? $objectsrc->remise_percent : (!empty($soc->remise_percent) ? $soc->remise_percent : 0)); + //$remise_absolue = (!empty($objectsrc->remise_absolue) ? $objectsrc->remise_absolue : (!empty($soc->remise_absolue) ? $soc->remise_absolue : 0)); $dateorder = empty($conf->global->MAIN_AUTOFILL_DATE_ORDER) ? -1 : ''; $date_delivery = (!empty($objectsrc->delivery_date) ? $objectsrc->delivery_date : ''); - if (empty($date_delivery)) { - $date_delivery = (!empty($objectsrc->date_livraison) ? $objectsrc->date_livraison : ''); - } if (isModEnabled("multicurrency")) { if (!empty($objectsrc->multicurrency_code)) { @@ -1736,8 +1761,8 @@ $shipping_method_id = $soc->shipping_method_id; $warehouse_id = $soc->fk_warehouse; $demand_reason_id = $soc->demand_reason_id; - $remise_percent = $soc->remise_percent; - $remise_absolue = 0; + //$remise_percent = $soc->remise_percent; + //$remise_absolue = 0; $dateorder = empty($conf->global->MAIN_AUTOFILL_DATE_ORDER) ?-1 : ''; if (isModEnabled("multicurrency") && !empty($soc->multicurrency_code)) { @@ -1791,288 +1816,294 @@ print dol_get_fiche_head(''); - print ''; + // Call Hook tabContentCreateOrder + $parameters = array(); + // Note that $action and $object may be modified by hook + $reshook = $hookmanager->executeHooks('tabContentCreateOrder', $parameters, $object, $action); + if (empty($reshook)) { + print '
'; - // Reference - print ''; + // Reference + print ''; - // Reference client - print ''; - } else { - print ''; - } - print ''; + // Reference client + print ''; + } else { + print ''; + } + print ''; - // Thirdparty - print ''; - print ''; - if ($socid > 0) { - print ''; - } else { - print ''; } - print ' '; - print ''; - } - print ''."\n"; + print ''."\n"; - // Contact of order - if ($socid > 0) { - // Contacts (ask contact only if thirdparty already defined). - print "'; + // Contact of order + if ($socid > 0) { + // Contacts (ask contact only if thirdparty already defined). + print "'; + + // Ligne info remises tiers + print ''; + } + // Date + print ''; - } - // Date - print ''; - - // Date delivery planned - print ''; - print '\n"; - print ''; - - // Delivery delay - print ''; - - // Terms of payment - print ''; - - // Payment mode - print ''; - - // Bank Account - if (!empty($conf->global->BANK_ASK_PAYMENT_BANK_DURING_ORDER) && isModEnabled("banque")) { - print ''; + print '\n"; + print ''; + + // Delivery delay + print ''; - } - // Shipping Method - if (isModEnabled('expedition')) { - print ''; - } - // Warehouse - if (isModEnabled('stock') && !empty($conf->global->WAREHOUSE_ASK_WAREHOUSE_DURING_ORDER)) { - require_once DOL_DOCUMENT_ROOT.'/product/class/html.formproduct.class.php'; - $formproduct = new FormProduct($db); - print ''; - } - // Source / Channel - What trigger creation - print ''; + // Bank Account + if (!empty($conf->global->BANK_ASK_PAYMENT_BANK_DURING_ORDER) && isModEnabled("banque")) { + print ''; + } - // TODO How record was recorded OrderMode (llx_c_input_method) + // Shipping Method + if (isModEnabled('expedition')) { + print ''; + } - // Project - if (isModEnabled('project')) { - $langs->load("projects"); - print ''; - print ''; - print ''; - } + // Warehouse + if (isModEnabled('stock') && !empty($conf->global->WAREHOUSE_ASK_WAREHOUSE_DURING_ORDER)) { + require_once DOL_DOCUMENT_ROOT.'/product/class/html.formproduct.class.php'; + $formproduct = new FormProduct($db); + print ''; + } - // Incoterms - if (isModEnabled('incoterm')) { - print ''; - print ''; - print ''; - } - // Other attributes - $parameters = array(); - if (!empty($origin) && !empty($originid) && is_object($objectsrc)) { - $parameters['objectsrc'] = $objectsrc; - } - $parameters['socid'] = $socid; + // TODO How record was recorded OrderMode (llx_c_input_method) - // Note that $action and $object may be modified by hook - $reshook = $hookmanager->executeHooks('formObjectOptions', $parameters, $object, $action); - print $hookmanager->resPrint; - if (empty($reshook)) { - if (!empty($conf->global->THIRDPARTY_PROPAGATE_EXTRAFIELDS_TO_ORDER) && !empty($soc->id)) { - // copy from thirdparty - $tpExtrafields = new ExtraFields($db); - $tpExtrafieldLabels = $tpExtrafields->fetch_name_optionals_label($soc->table_element); - if ($soc->fetch_optionals() > 0) { - $object->array_options = array_merge($object->array_options, $soc->array_options); - } + // Project + if (isModEnabled('project')) { + $langs->load("projects"); + print ''; + print ''; + print ''; } - print $object->showOptionals($extrafields, 'create', $parameters); - } + // Incoterms + if (isModEnabled('incoterm')) { + print ''; + print ''; + print ''; + } - // Template to use by default - print ''; - print '"; - - // Multicurrency - if (isModEnabled("multicurrency")) { - print ''; - print ''; - print ''; - } + // Other attributes + $parameters = array(); + if (!empty($origin) && !empty($originid) && is_object($objectsrc)) { + $parameters['objectsrc'] = $objectsrc; + } + $parameters['socid'] = $socid; - // Note public - print ''; - print ''; - print ''; + print $object->showOptionals($extrafields, 'create', $parameters); + } + + // Template to use by default + print ''; + print '"; - // Note private - if (empty($user->socid)) { + // Multicurrency + if (isModEnabled("multicurrency")) { + print ''; + print ''; + print ''; + } + + // Note public print ''; - print ''; + print ''; print ''; - } - if (!empty($origin) && !empty($originid) && is_object($objectsrc)) { - // TODO for compatibility - if ($origin == 'contrat') { - // Calcul contrat->price (HT), contrat->total (TTC), contrat->tva - $objectsrc->remise_absolue = $remise_absolue; - $objectsrc->remise_percent = $remise_percent; - $objectsrc->update_price(1); + // Note private + if (empty($user->socid)) { + print ''; + print ''; + print ''; } - print "\n"; - print "\n"; - print ''."\n"; - print ''."\n"; - print ''."\n"; - print ''; - print ''; + if (!empty($origin) && !empty($originid) && is_object($objectsrc)) { + // TODO for compatibility + if ($origin == 'contrat') { + // Calcul contrat->price (HT), contrat->total (TTC), contrat->tva + //$objectsrc->remise_absolue = $remise_absolue; + //$objectsrc->remise_percent = $remise_percent; + $objectsrc->update_price(1); + } - switch ($classname) { - case 'Propal': - $newclassname = 'CommercialProposal'; - break; - case 'Commande': - $newclassname = 'Order'; - break; - case 'Expedition': - $newclassname = 'Sending'; - break; - case 'Contrat': - $newclassname = 'Contract'; - break; - default: - $newclassname = $classname; - } + print "\n"; + print "\n"; + print ''."\n"; + print ''."\n"; + print ''."\n"; + print ''; + print ''; - print ''; + switch ($classname) { + case 'Propal': + $newclassname = 'CommercialProposal'; + break; + case 'Commande': + $newclassname = 'Order'; + break; + case 'Expedition': + $newclassname = 'Sending'; + break; + case 'Contrat': + $newclassname = 'Contract'; + break; + default: + $newclassname = $classname; + } - // Amount - print ''; - print '"; - if ($mysoc->localtax1_assuj == "1" || $objectsrc->total_localtax1 != 0) { // Localtax1 RE - print '"; - } + print ''; - if ($mysoc->localtax2_assuj == "1" || $objectsrc->total_localtax2 != 0) { // Localtax2 IRPF - print '"; - } + // Amount + print ''; + print '"; + if ($mysoc->localtax1_assuj == "1" || $objectsrc->total_localtax1 != 0) { // Localtax1 RE + print '"; + } - print '"; + if ($mysoc->localtax2_assuj == "1" || $objectsrc->total_localtax2 != 0) { // Localtax2 IRPF + print '"; + } - if (isModEnabled("multicurrency")) { - print ''; - print '"; - print '"; + print '"; + + if (isModEnabled("multicurrency")) { + print ''; + print '"; + print '"; + } } - } - print "\n"; + print "\n"; - print '
'.$langs->trans('Ref').''.$langs->trans("Draft").'
'.$langs->trans('Ref').''.$langs->trans("Draft").'
'.$langs->trans('RefCustomer').''; - if (!empty($conf->global->MAIN_USE_PROPAL_REFCLIENT_FOR_ORDER) && !empty($origin) && !empty($originid)) { - print '
'.$langs->trans('RefCustomer').''; + if (!empty($conf->global->MAIN_USE_PROPAL_REFCLIENT_FOR_ORDER) && !empty($origin) && !empty($originid)) { + print '
'.$langs->trans('Customer').''; - print $soc->getNomUrl(1, 'customer'); - print ''; - print ''; - $filter = '((s.client:IN:1,2,3) AND (s.status:=:1))'; - print img_picto('', 'company', 'class="pictofixedwidth"').$form->select_company('', 'socid', $filter, 'SelectThirdParty', 1, 0, null, 0, 'minwidth175 maxwidth500 widthcentpercentminusxx'); - // reload page to retrieve customer informations - if (empty($conf->global->RELOAD_PAGE_ON_CUSTOMER_CHANGE_DISABLED)) { - print ''; + '; + } + print ' '; + print '
".$langs->trans("DefaultContact").''; - print img_picto('', 'contact', 'class="pictofixedwidth"'); - print $form->selectcontacts($soc->id, $contactid, 'contactid', 1, !empty($srccontactslist)?$srccontactslist:"", '', 1, 'maxwidth200 widthcentpercentminusx'); - print '
".$langs->trans("DefaultContact").''; + print img_picto('', 'contact', 'class="pictofixedwidth"'); + print $form->selectcontacts($soc->id, $contactid, 'contactid', 1, !empty($srccontactslist)?$srccontactslist:"", '', 1, 'maxwidth200 widthcentpercentminusx'); + print '
'.$langs->trans('Discounts').''; - // Ligne info remises tiers - print '
'.$langs->trans('Discounts').''; + $absolute_discount = $soc->getAvailableDiscounts(); - $absolute_discount = $soc->getAvailableDiscounts(); + $thirdparty = $soc; + $discount_type = 0; + $backtopage = $_SERVER["PHP_SELF"].'?socid='.$thirdparty->id.'&action='.$action.'&origin='.urlencode(GETPOST('origin')).'&originid='.urlencode(GETPOSTINT('originid')); + include DOL_DOCUMENT_ROOT.'/core/tpl/object_discounts.tpl.php'; - $thirdparty = $soc; - $discount_type = 0; - $backtopage = $_SERVER["PHP_SELF"].'?socid='.$thirdparty->id.'&action='.$action.'&origin='.urlencode(GETPOST('origin')).'&originid='.urlencode(GETPOSTINT('originid')); - include DOL_DOCUMENT_ROOT.'/core/tpl/object_discounts.tpl.php'; + print '
'.$langs->trans('Date').''; + print img_picto('', 'action', 'class="pictofixedwidth"'); + print $form->selectDate('', 're', '', '', '', "crea_commande", 1, 1); // Always autofill date with current date print '
'.$langs->trans('Date').''; - print img_picto('', 'action', 'class="pictofixedwidth"'); - print $form->selectDate('', 're', '', '', '', "crea_commande", 1, 1); // Always autofill date with current date - print '
'.$langs->trans("DateDeliveryPlanned").''; - $date_delivery = ($date_delivery ? $date_delivery : $object->delivery_date); - print img_picto('', 'action', 'class="pictofixedwidth"'); - print $form->selectDate($date_delivery ? $date_delivery : -1, 'liv_', 1, 1, 1); - print "
'.$langs->trans('AvailabilityPeriod').''; - print img_picto('', 'clock', 'class="pictofixedwidth"'); - $form->selectAvailabilityDelay((GETPOSTISSET('availability_id') ? GETPOST('availability_id') : $availability_id), 'availability_id', '', 1, 'maxwidth200 widthcentpercentminusx'); - print '
'.$langs->trans('PaymentConditionsShort').''; - print img_picto('', 'payment', 'class="pictofixedwidth"'); - print $form->getSelectConditionsPaiements($cond_reglement_id, 'cond_reglement_id', 1, 1, 0, 'maxwidth200 widthcentpercentminusx', $deposit_percent); - print '
'.$langs->trans('PaymentMode').''; - print img_picto('', 'bank', 'class="pictofixedwidth"'); - print $form->select_types_paiements($mode_reglement_id, 'mode_reglement_id', 'CRDT', 0, 1, 0, 0, 1, 'maxwidth200 widthcentpercentminusx', 1); - print '
'.$langs->trans('BankAccount').''; - print img_picto('', 'bank_account', 'class="pictofixedwidth"').$form->select_comptes($fk_account, 'fk_account', 0, '', 1, '', 0, 'maxwidth200 widthcentpercentminusx', 1); + // Date delivery planned + print '
'.$langs->trans("DateDeliveryPlanned").''; + $date_delivery = ($date_delivery ? $date_delivery : $object->delivery_date); + print img_picto('', 'action', 'class="pictofixedwidth"'); + print $form->selectDate($date_delivery ? $date_delivery : -1, 'liv_', 1, 1, 1); + print "
'.$langs->trans('AvailabilityPeriod').''; + print img_picto('', 'clock', 'class="pictofixedwidth"'); + $form->selectAvailabilityDelay((GETPOSTISSET('availability_id') ? GETPOST('availability_id') : $availability_id), 'availability_id', '', 1, 'maxwidth200 widthcentpercentminusx'); print '
'.$langs->trans('SendingMethod').''; - print img_picto('', 'object_dolly', 'class="pictofixedwidth"'); - $form->selectShippingMethod(((GETPOSTISSET('shipping_method_id') && GETPOST('shipping_method_id', 'int') != 0) ? GETPOST('shipping_method_id') : $shipping_method_id), 'shipping_method_id', '', 1, '', 0, 'maxwidth200 widthcentpercentminusx'); + // Terms of payment + print '
'.$langs->trans('PaymentConditionsShort').''; + print img_picto('', 'payment', 'class="pictofixedwidth"'); + print $form->getSelectConditionsPaiements($cond_reglement_id, 'cond_reglement_id', 1, 1, 0, 'maxwidth200 widthcentpercentminusx', $deposit_percent); print '
'.$langs->trans('Warehouse').''; - print img_picto('', 'stock', 'class="pictofixedwidth"').$formproduct->selectWarehouses((GETPOSTISSET('warehouse_id')?GETPOST('warehouse_id'):$warehouse_id), 'warehouse_id', '', 1, 0, 0, '', 0, 0, array(), 'maxwidth500 widthcentpercentminusxx'); + // Payment mode + print '
'.$langs->trans('PaymentMode').''; + print img_picto('', 'bank', 'class="pictofixedwidth"'); + print $form->select_types_paiements($mode_reglement_id, 'mode_reglement_id', 'CRDT', 0, 1, 0, 0, 1, 'maxwidth200 widthcentpercentminusx', 1); print '
'.$langs->trans('Channel').''; - print img_picto('', 'question', 'class="pictofixedwidth"'); - $form->selectInputReason((GETPOSTISSET('demand_reason_id')?GETPOST('demand_reason_id'):$demand_reason_id), 'demand_reason_id', '', 1, 'maxwidth200 widthcentpercentminusx'); - print '
'.$langs->trans('BankAccount').''; + print img_picto('', 'bank_account', 'class="pictofixedwidth"').$form->select_comptes($fk_account, 'fk_account', 0, '', 1, '', 0, 'maxwidth200 widthcentpercentminusx', 1); + print '
'.$langs->trans('SendingMethod').''; + print img_picto('', 'object_dolly', 'class="pictofixedwidth"'); + $form->selectShippingMethod(((GETPOSTISSET('shipping_method_id') && GETPOST('shipping_method_id', 'int') != 0) ? GETPOST('shipping_method_id') : $shipping_method_id), 'shipping_method_id', '', 1, '', 0, 'maxwidth200 widthcentpercentminusx'); + print '
'.$langs->trans("Project").''; - print img_picto('', 'project', 'class="pictofixedwidth"').$formproject->select_projects(($soc->id > 0 ? $soc->id : -1), (GETPOSTISSET('projectid')?GETPOST('projectid'):$projectid), 'projectid', 0, 0, 1, 1, 0, 0, 0, '', 1, 0, 'maxwidth500 widthcentpercentminusxx'); - print ' id).'">'; - print '
'.$langs->trans('Warehouse').''; + print img_picto('', 'stock', 'class="pictofixedwidth"').$formproduct->selectWarehouses((GETPOSTISSET('warehouse_id')?GETPOST('warehouse_id'):$warehouse_id), 'warehouse_id', '', 1, 0, 0, '', 0, 0, array(), 'maxwidth500 widthcentpercentminusxx'); + print '
'; - $incoterm_id = GETPOST('incoterm_id'); - $incoterm_location = GETPOST('location_incoterms'); - if (empty($incoterm_id)) { - $incoterm_id = (!empty($objectsrc->fk_incoterms) ? $objectsrc->fk_incoterms : $soc->fk_incoterms); - $incoterm_location = (!empty($objectsrc->location_incoterms) ? $objectsrc->location_incoterms : $soc->location_incoterms); - } - print img_picto('', 'incoterm', 'class="pictofixedwidth"'); - print $form->select_incoterms($incoterm_id, $incoterm_location); + // Source / Channel - What trigger creation + print '
'.$langs->trans('Channel').''; + print img_picto('', 'question', 'class="pictofixedwidth"'); + $form->selectInputReason((GETPOSTISSET('demand_reason_id')?GETPOST('demand_reason_id'):$demand_reason_id), 'demand_reason_id', '', 1, 'maxwidth200 widthcentpercentminusx'); print '
'.$langs->trans("Project").''; + print img_picto('', 'project', 'class="pictofixedwidth"').$formproject->select_projects(($soc->id > 0 ? $soc->id : -1), (GETPOSTISSET('projectid')?GETPOST('projectid'):$projectid), 'projectid', 0, 0, 1, 1, 0, 0, 0, '', 1, 0, 'maxwidth500 widthcentpercentminusxx'); + print ' id).'">'; + print '
'; + $incoterm_id = GETPOST('incoterm_id'); + $incoterm_location = GETPOST('location_incoterms'); + if (empty($incoterm_id)) { + $incoterm_id = (!empty($objectsrc->fk_incoterms) ? $objectsrc->fk_incoterms : $soc->fk_incoterms); + $incoterm_location = (!empty($objectsrc->location_incoterms) ? $objectsrc->location_incoterms : $soc->location_incoterms); + } + print img_picto('', 'incoterm', 'class="pictofixedwidth"'); + print $form->select_incoterms($incoterm_id, $incoterm_location); + print '
'.$langs->trans('DefaultModel').''; - include_once DOL_DOCUMENT_ROOT.'/core/modules/commande/modules_commande.php'; - $liste = ModelePDFCommandes::liste_modeles($db); - $preselected = $conf->global->COMMANDE_ADDON_PDF; - print img_picto('', 'pdf', 'class="pictofixedwidth"'); - print $form->selectarray('model', $liste, $preselected, 0, 0, 0, '', 0, 0, 0, '', 'maxwidth200 widthcentpercentminusx', 1); - print "
'.$form->editfieldkey("Currency", 'multicurrency_code', '', $object, 0).''; - print img_picto('', 'currency', 'class="pictofixedwidth"').$form->selectMultiCurrency(((GETPOSTISSET('multicurrency_code') && !GETPOST('changecompany'))?GETPOST('multicurrency_code'):$currency_code), 'multicurrency_code', 0, '', false, 'maxwidth200 widthcentpercentminusx'); - print '
'.$langs->trans('NotePublic').''; + // Note that $action and $object may be modified by hook + $reshook = $hookmanager->executeHooks('formObjectOptions', $parameters, $object, $action); + print $hookmanager->resPrint; + if (empty($reshook)) { + if (!empty($conf->global->THIRDPARTY_PROPAGATE_EXTRAFIELDS_TO_ORDER) && !empty($soc->id)) { + // copy from thirdparty + $tpExtrafields = new ExtraFields($db); + $tpExtrafieldLabels = $tpExtrafields->fetch_name_optionals_label($soc->table_element); + if ($soc->fetch_optionals() > 0) { + $object->array_options = array_merge($object->array_options, $soc->array_options); + } + } - $doleditor = new DolEditor('note_public', $note_public, '', 80, 'dolibarr_notes', 'In', 0, false, empty($conf->global->FCKEDITOR_ENABLE_NOTE_PUBLIC) ? 0 : 1, ROWS_3, '90%'); - print $doleditor->Create(1); - // print ''; - print '
'.$langs->trans('DefaultModel').''; + include_once DOL_DOCUMENT_ROOT.'/core/modules/commande/modules_commande.php'; + $liste = ModelePDFCommandes::liste_modeles($db); + $preselected = $conf->global->COMMANDE_ADDON_PDF; + print img_picto('', 'pdf', 'class="pictofixedwidth"'); + print $form->selectarray('model', $liste, $preselected, 0, 0, 0, '', 0, 0, 0, '', 'maxwidth200 widthcentpercentminusx', 1); + print "
'.$form->editfieldkey("Currency", 'multicurrency_code', '', $object, 0).''; + print img_picto('', 'currency', 'class="pictofixedwidth"').$form->selectMultiCurrency(((GETPOSTISSET('multicurrency_code') && !GETPOST('changecompany'))?GETPOST('multicurrency_code'):$currency_code), 'multicurrency_code', 0, '', false, 'maxwidth200 widthcentpercentminusx'); + print '
'.$langs->trans('NotePrivate').''.$langs->trans('NotePublic').''; - $doleditor = new DolEditor('note_private', $note_private, '', 80, 'dolibarr_notes', 'In', 0, false, empty($conf->global->FCKEDITOR_ENABLE_NOTE_PRIVATE) ? 0 : 1, ROWS_3, '90%'); + $doleditor = new DolEditor('note_public', $note_public, '', 80, 'dolibarr_notes', 'In', 0, false, empty($conf->global->FCKEDITOR_ENABLE_NOTE_PUBLIC) ? 0 : 1, ROWS_3, '90%'); print $doleditor->Create(1); - // print ''; + // print ''; print '
'.$langs->trans('NotePrivate').''; + + $doleditor = new DolEditor('note_private', $note_private, '', 80, 'dolibarr_notes', 'In', 0, false, empty($conf->global->FCKEDITOR_ENABLE_NOTE_PRIVATE) ? 0 : 1, ROWS_3, '90%'); + print $doleditor->Create(1); + // print ''; + print '
'.$langs->trans($newclassname).''.$objectsrc->getNomUrl(1).'
'.$langs->trans('AmountHT').''.price($objectsrc->total_ht).'
'.$langs->trans('AmountVAT').''.price($objectsrc->total_tva)."
'.$langs->transcountry("AmountLT1", $mysoc->country_code).''.price($objectsrc->total_localtax1)."
'.$langs->trans($newclassname).''.$objectsrc->getNomUrl(1).'
'.$langs->transcountry("AmountLT2", $mysoc->country_code).''.price($objectsrc->total_localtax2)."
'.$langs->trans('AmountHT').''.price($objectsrc->total_ht).'
'.$langs->trans('AmountVAT').''.price($objectsrc->total_tva)."
'.$langs->transcountry("AmountLT1", $mysoc->country_code).''.price($objectsrc->total_localtax1)."
'.$langs->trans('AmountTTC').''.price($objectsrc->total_ttc)."
'.$langs->transcountry("AmountLT2", $mysoc->country_code).''.price($objectsrc->total_localtax2)."
'.$langs->trans('MulticurrencyAmountHT').''.price($objectsrc->multicurrency_total_ht).'
'.$langs->trans('MulticurrencyAmountVAT').''.price($objectsrc->multicurrency_total_tva)."
'.$langs->trans('MulticurrencyAmountTTC').''.price($objectsrc->multicurrency_total_ttc)."
'.$langs->trans('AmountTTC').''.price($objectsrc->total_ttc)."
'.$langs->trans('MulticurrencyAmountHT').''.price($objectsrc->multicurrency_total_ht).'
'.$langs->trans('MulticurrencyAmountVAT').''.price($objectsrc->multicurrency_total_tva)."
'.$langs->trans('MulticurrencyAmountTTC').''.price($objectsrc->multicurrency_total_ttc)."
'; + print ''; + } print dol_get_fiche_end(); @@ -2185,7 +2216,7 @@ // It may also break step of creating an order when invoicing must be done from proposals and not from orders $deposit_percent_from_payment_terms = getDictionaryValue('c_payment_term', 'deposit_percent', $object->cond_reglement_id); - if (!empty($deposit_percent_from_payment_terms) && isModEnabled('facture') && !empty($user->rights->facture->creer)) { + if (!empty($deposit_percent_from_payment_terms) && isModEnabled('facture') && $user->hasRight('facture', 'creer')) { require_once DOL_DOCUMENT_ROOT . '/compta/facture/class/facture.class.php'; $object->fetchObjectLinked(); @@ -2397,7 +2428,7 @@ $morehtmlref = '
'; // Ref customer $morehtmlref .= $form->editfieldkey("RefCustomer", 'ref_client', $object->ref_client, $object, $usercancreate, 'string', '', 0, 1); - $morehtmlref .= $form->editfieldval("RefCustomer", 'ref_client', $object->ref_client, $object, $usercancreate, 'string'.(isset($conf->global->THIRDPARTY_REF_INPUT_SIZE) ? ':'.$conf->global->THIRDPARTY_REF_INPUT_SIZE : ''), '', null, null, '', 1); + $morehtmlref .= $form->editfieldval("RefCustomer", 'ref_client', $object->ref_client, $object, $usercancreate, 'string'.(isset($conf->global->THIRDPARTY_REF_INPUT_SIZE) ? ':' . getDolGlobalString('THIRDPARTY_REF_INPUT_SIZE') : ''), '', null, null, '', 1); // Thirdparty $morehtmlref .= '
'.$soc->getNomUrl(1, 'customer'); if (empty($conf->global->MAIN_DISABLE_OTHER_LINK) && $object->thirdparty->id > 0) { @@ -2429,427 +2460,435 @@ dol_banner_tab($object, 'ref', $linkback, 1, 'ref', 'ref', $morehtmlref); + // Call Hook tabContentViewOrder + $parameters = array(); + // Note that $action and $object may be modified by hook + $reshook = $hookmanager->executeHooks('tabContentViewOrder', $parameters, $object, $action); + if (empty($reshook)) { + print '
'; + print '
'; + print '
'; - print '
'; - print '
'; - print '
'; + print ''; - print '
'; + if ($soc->outstanding_limit) { + // Outstanding Bill + print ''; + print ''; + } - if ($soc->outstanding_limit) { - // Outstanding Bill - print ''; - print ''; - } + // Relative and absolute discounts + if (!empty($conf->global->FACTURE_DEPOSITS_ARE_JUST_PAYMENTS)) { + $filterabsolutediscount = "fk_facture_source IS NULL"; // If we want deposit to be substracted to payments only and not to total of final invoice + $filtercreditnote = "fk_facture_source IS NOT NULL"; // If we want deposit to be substracted to payments only and not to total of final invoice + } else { + $filterabsolutediscount = "fk_facture_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS RECEIVED)%')"; + $filtercreditnote = "fk_facture_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS RECEIVED)%')"; + } - // Relative and absolute discounts - if (!empty($conf->global->FACTURE_DEPOSITS_ARE_JUST_PAYMENTS)) { - $filterabsolutediscount = "fk_facture_source IS NULL"; // If we want deposit to be substracted to payments only and not to total of final invoice - $filtercreditnote = "fk_facture_source IS NOT NULL"; // If we want deposit to be substracted to payments only and not to total of final invoice - } else { - $filterabsolutediscount = "fk_facture_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS RECEIVED)%')"; - $filtercreditnote = "fk_facture_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS RECEIVED)%')"; - } + $addrelativediscount = ''.$langs->trans("EditRelativeDiscounts").''; + $addabsolutediscount = ''.$langs->trans("EditGlobalDiscounts").''; + $addcreditnote = ''.$langs->trans("AddCreditNote").''; - $addrelativediscount = ''.$langs->trans("EditRelativeDiscounts").''; - $addabsolutediscount = ''.$langs->trans("EditGlobalDiscounts").''; - $addcreditnote = ''.$langs->trans("AddCreditNote").''; + print ''; - print ''; + // Date + print ''; + print ''; - // Date - print ''; - print ''; + print ''; + print ''; - // Delivery date planed - print ''; - print ''; + print ''; - // Delivery delay - print ''; + // Shipping Method + if (isModEnabled('expedition')) { + print ''; + print ''; + } - // Shipping Method - if (isModEnabled('expedition')) { + // Warehouse + if (isModEnabled('stock') && !empty($conf->global->WAREHOUSE_ASK_WAREHOUSE_DURING_ORDER)) { + $langs->load('stocks'); + require_once DOL_DOCUMENT_ROOT.'/product/class/html.formproduct.class.php'; + $formproduct = new FormProduct($db); + print ''; + print ''; + } + + // Source reason (why we have an order) print ''; - print ''; - } + print ''; - // Warehouse - if (isModEnabled('stock') && !empty($conf->global->WAREHOUSE_ASK_WAREHOUSE_DURING_ORDER)) { - $langs->load('stocks'); - require_once DOL_DOCUMENT_ROOT.'/product/class/html.formproduct.class.php'; - $formproduct = new FormProduct($db); + // Terms of payment print ''; - print ''; - } - - // Source reason (why we have an order) - print ''; - - // Terms of payment - print ''; - print ''; - - // Mode of payment - print ''; + print ''; - // Multicurrency - if (isModEnabled("multicurrency")) { - // Multicurrency code - print ''; - print ''; - // Multicurrency rate - if ($object->multicurrency_code != $conf->currency || $object->multicurrency_tx != 1) { + // Multicurrency + if (isModEnabled("multicurrency")) { + // Multicurrency code print ''; print ''; - } - } - // TODO Order mode (how we receive order). Not yet implemented - /* - print ''; - */ - - $tmparray = $object->getTotalWeightVolume(); - $totalWeight = $tmparray['weight']; - $totalVolume = $tmparray['volume']; - if ($totalWeight) { - print ''; - print ''; - } - if ($totalVolume) { - print ''; - print ''; - } - - // TODO How record was recorded OrderMode (llx_c_input_method) + // Multicurrency rate + if ($object->multicurrency_code != $conf->currency || $object->multicurrency_tx != 1) { + print ''; + print ''; + } + } - // Incoterms - if (isModEnabled('incoterm')) { + // TODO Order mode (how we receive order). Not yet implemented + /* print ''; - print ''; - } + */ + + $tmparray = $object->getTotalWeightVolume(); + $totalWeight = $tmparray['weight']; + $totalVolume = $tmparray['volume']; + if ($totalWeight) { + print ''; + print ''; + } + if ($totalVolume) { + print ''; + print ''; + } - // Bank Account - if (!empty($conf->global->BANK_ASK_PAYMENT_BANK_DURING_ORDER) && isModEnabled("banque")) { - print ''; + print ''; } - print ''; - print ''; - } - // Other attributes - include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_view.tpl.php'; + // Bank Account + if (!empty($conf->global->BANK_ASK_PAYMENT_BANK_DURING_ORDER) && isModEnabled("banque")) { + print ''; + print ''; + } - print '
'; + print $langs->trans('OutstandingBill'); + print ''; + $arrayoutstandingbills = $soc->getOutstandingBills(); + print price($arrayoutstandingbills['opened']).' / '; + print price($soc->outstanding_limit, 0, '', 1, - 1, - 1, $conf->currency); + print '
'; - print $langs->trans('OutstandingBill'); - print ''; - $arrayoutstandingbills = $soc->getOutstandingBills(); - print price($arrayoutstandingbills['opened']).' / '; - print price($soc->outstanding_limit, 0, '', 1, - 1, - 1, $conf->currency); - print '
'.$langs->trans('Discounts').''; - print '
'.$langs->trans('Discounts').''; + $absolute_discount = $soc->getAvailableDiscounts('', $filterabsolutediscount); + $absolute_creditnote = $soc->getAvailableDiscounts('', $filtercreditnote); + $absolute_discount = price2num($absolute_discount, 'MT'); + $absolute_creditnote = price2num($absolute_creditnote, 'MT'); - $absolute_discount = $soc->getAvailableDiscounts('', $filterabsolutediscount); - $absolute_creditnote = $soc->getAvailableDiscounts('', $filtercreditnote); - $absolute_discount = price2num($absolute_discount, 'MT'); - $absolute_creditnote = price2num($absolute_creditnote, 'MT'); + $thirdparty = $soc; + $discount_type = 0; + $backtopage = $_SERVER["PHP_SELF"].'?id='.$object->id; + include DOL_DOCUMENT_ROOT.'/core/tpl/object_discounts.tpl.php'; - $thirdparty = $soc; - $discount_type = 0; - $backtopage = $_SERVER["PHP_SELF"].'?id='.$object->id; - include DOL_DOCUMENT_ROOT.'/core/tpl/object_discounts.tpl.php'; + print '
'; + $editenable = $usercancreate && $object->statut == Commande::STATUS_DRAFT; + print $form->editfieldkey("Date", 'date', '', $object, $editenable); + print ''; + if ($action == 'editdate') { + print '
'; + print ''; + print ''; + print ''; + print $form->selectDate($object->date, 'order_', '', '', '', "setdate"); + print ''; + print '
'; + } else { + print $object->date ? dol_print_date($object->date, 'day') : ' '; + if ($object->hasDelay() && empty($object->delivery_date)) { // If there is a delivery date planned, warning should be on this date + print ' '.img_picto($langs->trans("Late").' : '.$object->showDelay(), "warning"); + } + } + print '
'; - $editenable = $usercancreate && $object->statut == Commande::STATUS_DRAFT; - print $form->editfieldkey("Date", 'date', '', $object, $editenable); - print ''; - if ($action == 'editdate') { - print '
'; - print ''; - print ''; - print ''; - print $form->selectDate($object->date, 'order_', '', '', '', "setdate"); - print ''; - print '
'; - } else { - print $object->date ? dol_print_date($object->date, 'day') : ' '; - if ($object->hasDelay() && empty($object->delivery_date)) { // If there is a delivery date planned, warning should be on this date - print ' '.img_picto($langs->trans("Late").' : '.$object->showDelay(), "warning"); + // Delivery date planed + print '
'; + $editenable = $usercancreate; + print $form->editfieldkey("DateDeliveryPlanned", 'date_livraison', '', $object, $editenable); + print ''; + if ($action == 'editdate_livraison') { + print '
'; + print ''; + print ''; + print ''; + print $form->selectDate($object->delivery_date ? $object->delivery_date : -1, 'liv_', 1, 1, '', "setdate_livraison", 1, 0); + print ''; + print '
'; + } else { + print $object->delivery_date ? dol_print_date($object->delivery_date, 'dayhour') : ' '; + if ($object->hasDelay() && !empty($object->delivery_date)) { + print ' '.img_picto($langs->trans("Late").' : '.$object->showDelay(), "warning"); + } } - } - print '
'; - $editenable = $usercancreate; - print $form->editfieldkey("DateDeliveryPlanned", 'date_livraison', '', $object, $editenable); - print ''; - if ($action == 'editdate_livraison') { - print '
'; - print ''; - print ''; - print ''; - print $form->selectDate($object->delivery_date ? $object->delivery_date : -1, 'liv_', 1, 1, '', "setdate_livraison", 1, 0); - print ''; - print '
'; - } else { - print $object->delivery_date ? dol_print_date($object->delivery_date, 'dayhour') : ' '; - if ($object->hasDelay() && !empty($object->delivery_date)) { - print ' '.img_picto($langs->trans("Late").' : '.$object->showDelay(), "warning"); + // Delivery delay + print '
'; + $editenable = $usercancreate; + print $form->editfieldkey("AvailabilityPeriod", 'availability', '', $object, $editenable); + print ''; + if ($action == 'editavailability') { + $form->form_availability($_SERVER['PHP_SELF'].'?id='.$object->id, $object->availability_id, 'availability_id', 1); + } else { + $form->form_availability($_SERVER['PHP_SELF'].'?id='.$object->id, $object->availability_id, 'none', 1); } - } - print '
'; - $editenable = $usercancreate; - print $form->editfieldkey("AvailabilityPeriod", 'availability', '', $object, $editenable); - print ''; - if ($action == 'editavailability') { - $form->form_availability($_SERVER['PHP_SELF'].'?id='.$object->id, $object->availability_id, 'availability_id', 1); - } else { - $form->form_availability($_SERVER['PHP_SELF'].'?id='.$object->id, $object->availability_id, 'none', 1); - } - print '
'; + $editenable = $usercancreate; + print $form->editfieldkey("SendingMethod", 'shippingmethod', '', $object, $editenable); + print ''; + if ($action == 'editshippingmethod') { + $form->formSelectShippingMethod($_SERVER['PHP_SELF'].'?id='.$object->id, $object->shipping_method_id, 'shipping_method_id', 1); + } else { + $form->formSelectShippingMethod($_SERVER['PHP_SELF'].'?id='.$object->id, $object->shipping_method_id, 'none'); + } + print '
'; + $editenable = $usercancreate; + print $form->editfieldkey("Warehouse", 'warehouse', '', $object, $editenable); + print ''; + if ($action == 'editwarehouse') { + $formproduct->formSelectWarehouses($_SERVER['PHP_SELF'].'?id='.$object->id, $object->warehouse_id, 'warehouse_id', 1); + } else { + $formproduct->formSelectWarehouses($_SERVER['PHP_SELF'].'?id='.$object->id, $object->warehouse_id, 'none'); + } + print '
'; $editenable = $usercancreate; - print $form->editfieldkey("SendingMethod", 'shippingmethod', '', $object, $editenable); + print $form->editfieldkey("Source", 'demandreason', '', $object, $editenable); print ''; - if ($action == 'editshippingmethod') { - $form->formSelectShippingMethod($_SERVER['PHP_SELF'].'?id='.$object->id, $object->shipping_method_id, 'shipping_method_id', 1); + if ($action == 'editdemandreason') { + $form->formInputReason($_SERVER['PHP_SELF'].'?id='.$object->id, $object->demand_reason_id, 'demand_reason_id', 1); } else { - $form->formSelectShippingMethod($_SERVER['PHP_SELF'].'?id='.$object->id, $object->shipping_method_id, 'none'); + $form->formInputReason($_SERVER['PHP_SELF'].'?id='.$object->id, $object->demand_reason_id, 'none'); } - print '
'; $editenable = $usercancreate; - print $form->editfieldkey("Warehouse", 'warehouse', '', $object, $editenable); + print $form->editfieldkey("PaymentConditionsShort", 'conditions', '', $object, $editenable); print ''; - if ($action == 'editwarehouse') { - $formproduct->formSelectWarehouses($_SERVER['PHP_SELF'].'?id='.$object->id, $object->warehouse_id, 'warehouse_id', 1); + if ($action == 'editconditions') { + $form->form_conditions_reglement($_SERVER['PHP_SELF'].'?id='.$object->id, $object->cond_reglement_id, 'cond_reglement_id', 1, '', 1, $object->deposit_percent); } else { - $formproduct->formSelectWarehouses($_SERVER['PHP_SELF'].'?id='.$object->id, $object->warehouse_id, 'none'); + $form->form_conditions_reglement($_SERVER['PHP_SELF'].'?id='.$object->id, $object->cond_reglement_id, 'none', 1, '', 1, $object->deposit_percent); } print '
'; - $editenable = $usercancreate; - print $form->editfieldkey("Source", 'demandreason', '', $object, $editenable); - print ''; - if ($action == 'editdemandreason') { - $form->formInputReason($_SERVER['PHP_SELF'].'?id='.$object->id, $object->demand_reason_id, 'demand_reason_id', 1); - } else { - $form->formInputReason($_SERVER['PHP_SELF'].'?id='.$object->id, $object->demand_reason_id, 'none'); - } - print '
'; - $editenable = $usercancreate; - print $form->editfieldkey("PaymentConditionsShort", 'conditions', '', $object, $editenable); - print ''; - if ($action == 'editconditions') { - $form->form_conditions_reglement($_SERVER['PHP_SELF'].'?id='.$object->id, $object->cond_reglement_id, 'cond_reglement_id', 1, '', 1, $object->deposit_percent); - } else { - $form->form_conditions_reglement($_SERVER['PHP_SELF'].'?id='.$object->id, $object->cond_reglement_id, 'none', 1, '', 1, $object->deposit_percent); - } - print '
'; - $editenable = $usercancreate; - print $form->editfieldkey("PaymentMode", 'mode', '', $object, $editenable); - print ''; - if ($action == 'editmode') { - $form->form_modes_reglement($_SERVER['PHP_SELF'].'?id='.$object->id, $object->mode_reglement_id, 'mode_reglement_id', 'CRDT', 1, 1); - } else { - $form->form_modes_reglement($_SERVER['PHP_SELF'].'?id='.$object->id, $object->mode_reglement_id, 'none'); - } - print '
'; - $editenable = $usercancreate && $object->statut == Commande::STATUS_DRAFT; - print $form->editfieldkey("Currency", 'multicurrencycode', '', $object, $editenable); + // Mode of payment + print '
'; + $editenable = $usercancreate; + print $form->editfieldkey("PaymentMode", 'mode', '', $object, $editenable); print ''; - if ($action == 'editmulticurrencycode') { - $form->form_multicurrency_code($_SERVER['PHP_SELF'].'?id='.$object->id, $object->multicurrency_code, 'multicurrency_code'); + if ($action == 'editmode') { + $form->form_modes_reglement($_SERVER['PHP_SELF'].'?id='.$object->id, $object->mode_reglement_id, 'mode_reglement_id', 'CRDT', 1, 1); } else { - $form->form_multicurrency_code($_SERVER['PHP_SELF'].'?id='.$object->id, $object->multicurrency_code, 'none'); + $form->form_modes_reglement($_SERVER['PHP_SELF'].'?id='.$object->id, $object->mode_reglement_id, 'none'); } print '
'; - $editenable = $usercancreate && $object->multicurrency_code && $object->multicurrency_code != $conf->currency && $object->statut == $object::STATUS_DRAFT; - print $form->editfieldkey("CurrencyRate", 'multicurrencyrate', '', $object, $editenable); + $editenable = $usercancreate && $object->statut == Commande::STATUS_DRAFT; + print $form->editfieldkey("Currency", 'multicurrencycode', '', $object, $editenable); print ''; - if ($action == 'editmulticurrencyrate' || $action == 'actualizemulticurrencyrate') { - if ($action == 'actualizemulticurrencyrate') { - list($object->fk_multicurrency, $object->multicurrency_tx) = MultiCurrency::getIdAndTxFromCode($object->db, $object->multicurrency_code); - } - $form->form_multicurrency_rate($_SERVER['PHP_SELF'].'?id='.$object->id, $object->multicurrency_tx, 'multicurrency_tx', $object->multicurrency_code); + if ($action == 'editmulticurrencycode') { + $form->form_multicurrency_code($_SERVER['PHP_SELF'].'?id='.$object->id, $object->multicurrency_code, 'multicurrency_code'); } else { - $form->form_multicurrency_rate($_SERVER['PHP_SELF'].'?id='.$object->id, $object->multicurrency_tx, 'none', $object->multicurrency_code); - if ($object->statut == $object::STATUS_DRAFT && $object->multicurrency_code && $object->multicurrency_code != $conf->currency) { - print '
        '; - print ''.$langs->trans("ActualizeCurrency").''; - print '
'; - } + $form->form_multicurrency_code($_SERVER['PHP_SELF'].'?id='.$object->id, $object->multicurrency_code, 'none'); } print '
'; - $editenable = $usercancreate; - print $form->editfieldkey("SourceMode", 'inputmode', '', $object, $editenable); - print ''; - if ($action == 'editinputmode') { - $form->formInputMode($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->source, 'input_mode_id', 1); - } else { - $form->formInputMode($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->source, 'none'); - } - print '
'.$langs->trans("CalculatedWeight").''; - print showDimensionInBestUnit($totalWeight, 0, "weight", $langs, isset($conf->global->MAIN_WEIGHT_DEFAULT_ROUND) ? $conf->global->MAIN_WEIGHT_DEFAULT_ROUND : -1, isset($conf->global->MAIN_WEIGHT_DEFAULT_UNIT) ? $conf->global->MAIN_WEIGHT_DEFAULT_UNIT : 'no'); - print '
'.$langs->trans("CalculatedVolume").''; - print showDimensionInBestUnit($totalVolume, 0, "volume", $langs, isset($conf->global->MAIN_VOLUME_DEFAULT_ROUND) ? $conf->global->MAIN_VOLUME_DEFAULT_ROUND : -1, isset($conf->global->MAIN_VOLUME_DEFAULT_UNIT) ? $conf->global->MAIN_VOLUME_DEFAULT_UNIT : 'no'); - print '
'; + $editenable = $usercancreate && $object->multicurrency_code && $object->multicurrency_code != $conf->currency && $object->statut == $object::STATUS_DRAFT; + print $form->editfieldkey("CurrencyRate", 'multicurrencyrate', '', $object, $editenable); + print ''; + if ($action == 'editmulticurrencyrate' || $action == 'actualizemulticurrencyrate') { + if ($action == 'actualizemulticurrencyrate') { + list($object->fk_multicurrency, $object->multicurrency_tx) = MultiCurrency::getIdAndTxFromCode($object->db, $object->multicurrency_code); + } + $form->form_multicurrency_rate($_SERVER['PHP_SELF'].'?id='.$object->id, $object->multicurrency_tx, 'multicurrency_tx', $object->multicurrency_code); + } else { + $form->form_multicurrency_rate($_SERVER['PHP_SELF'].'?id='.$object->id, $object->multicurrency_tx, 'none', $object->multicurrency_code); + if ($object->statut == $object::STATUS_DRAFT && $object->multicurrency_code && $object->multicurrency_code != $conf->currency) { + print '
        '; + print ''.$langs->trans("ActualizeCurrency").''; + print '
'; + } + } + print '
'; $editenable = $usercancreate; - print $form->editfieldkey("IncotermLabel", 'incoterm', '', $object, $editenable); - print ''; - if ($action != 'editincoterm') { - print $form->textwithpicto($object->display_incoterms(), $object->label_incoterms, 1); + print $form->editfieldkey("SourceMode", 'inputmode', '', $object, $editenable); + print ''; + if ($action == 'editinputmode') { + $form->formInputMode($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->source, 'input_mode_id', 1); } else { - print $form->select_incoterms((!empty($object->fk_incoterms) ? $object->fk_incoterms : ''), (!empty($object->location_incoterms) ? $object->location_incoterms : ''), $_SERVER['PHP_SELF'].'?id='.$object->id); + $form->formInputMode($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->source, 'none'); } print '
'.$langs->trans("CalculatedWeight").''; + print showDimensionInBestUnit($totalWeight, 0, "weight", $langs, isset($conf->global->MAIN_WEIGHT_DEFAULT_ROUND) ? $conf->global->MAIN_WEIGHT_DEFAULT_ROUND : -1, isset($conf->global->MAIN_WEIGHT_DEFAULT_UNIT) ? $conf->global->MAIN_WEIGHT_DEFAULT_UNIT : 'no'); + print '
'.$langs->trans("CalculatedVolume").''; + print showDimensionInBestUnit($totalVolume, 0, "volume", $langs, isset($conf->global->MAIN_VOLUME_DEFAULT_ROUND) ? $conf->global->MAIN_VOLUME_DEFAULT_ROUND : -1, isset($conf->global->MAIN_VOLUME_DEFAULT_UNIT) ? $conf->global->MAIN_VOLUME_DEFAULT_UNIT : 'no'); + print '
'; - $editenable = $usercancreate; - print $form->editfieldkey("BankAccount", 'bankaccount', '', $object, $editenable); - print ''; - if ($action == 'editbankaccount') { - $form->formSelectAccount($_SERVER['PHP_SELF'].'?id='.$object->id, $object->fk_account, 'fk_account', 1); - } else { - $form->formSelectAccount($_SERVER['PHP_SELF'].'?id='.$object->id, $object->fk_account, 'none'); + // TODO How record was recorded OrderMode (llx_c_input_method) + + // Incoterms + if (isModEnabled('incoterm')) { + print '
'; + $editenable = $usercancreate; + print $form->editfieldkey("IncotermLabel", 'incoterm', '', $object, $editenable); + print ''; + if ($action != 'editincoterm') { + print $form->textwithpicto($object->display_incoterms(), $object->label_incoterms, 1); + } else { + print $form->select_incoterms((!empty($object->fk_incoterms) ? $object->fk_incoterms : ''), (!empty($object->location_incoterms) ? $object->location_incoterms : ''), $_SERVER['PHP_SELF'].'?id='.$object->id); + } + print '
'; + $editenable = $usercancreate; + print $form->editfieldkey("BankAccount", 'bankaccount', '', $object, $editenable); + print ''; + if ($action == 'editbankaccount') { + $form->formSelectAccount($_SERVER['PHP_SELF'].'?id='.$object->id, $object->fk_account, 'fk_account', 1); + } else { + $form->formSelectAccount($_SERVER['PHP_SELF'].'?id='.$object->id, $object->fk_account, 'none'); + } + print '
'; + // Other attributes + include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_view.tpl.php'; - print '
'; - print '
'; - print '
'; + print ''; - print ''; + print ''; + print '
'; + print '
'; - $alert = ''; - if (!empty($conf->global->ORDER_MANAGE_MIN_AMOUNT) && $object->total_ht < $object->thirdparty->order_min_amount) { - $alert = ' ' . img_warning($langs->trans('OrderMinAmount') . ': ' . price($object->thirdparty->order_min_amount)); - } + print '
'; - print ''; - print ''; - print ''; - if (isModEnabled("multicurrency") && ($object->multicurrency_code && $object->multicurrency_code != $conf->currency)) { - // Multicurrency Amount HT - print ''; - } - print ''; + $alert = ''; + if (!empty($conf->global->ORDER_MANAGE_MIN_AMOUNT) && $object->total_ht < $object->thirdparty->order_min_amount) { + $alert = ' ' . img_warning($langs->trans('OrderMinAmount') . ': ' . price($object->thirdparty->order_min_amount)); + } - print ''; - print ''; - print ''; - if (isModEnabled("multicurrency") && ($object->multicurrency_code && $object->multicurrency_code != $conf->currency)) { - // Multicurrency Amount VAT - print ''; - } - print ''; + print ''; + print ''; + print ''; + if (isModEnabled("multicurrency") && ($object->multicurrency_code && $object->multicurrency_code != $conf->currency)) { + // Multicurrency Amount HT + print ''; + } + print ''; - // Amount Local Taxes - if ($mysoc->localtax1_assuj == "1" || $object->total_localtax1 != 0) { print ''; - print ''; - print ''; + print ''; + print ''; if (isModEnabled("multicurrency") && ($object->multicurrency_code && $object->multicurrency_code != $conf->currency)) { - print ''; + // Multicurrency Amount VAT + print ''; } print ''; // Amount Local Taxes - if ($mysoc->localtax2_assuj == "1" || $object->total_localtax2 != 0) { + if ($mysoc->localtax1_assuj == "1" || $object->total_localtax1 != 0) { print ''; - print ''; - print ''; + print ''; + print ''; if (isModEnabled("multicurrency") && ($object->multicurrency_code && $object->multicurrency_code != $conf->currency)) { - print ''; + print ''; } print ''; + + // Amount Local Taxes + if ($mysoc->localtax2_assuj == "1" || $object->total_localtax2 != 0) { + print ''; + print ''; + print ''; + if (isModEnabled("multicurrency") && ($object->multicurrency_code && $object->multicurrency_code != $conf->currency)) { + print ''; + } + print ''; + } } - } - print ''; - print ''; - print ''; - if (isModEnabled("multicurrency") && ($object->multicurrency_code && $object->multicurrency_code != $conf->currency)) { - // Multicurrency Amount TTC - print ''; - } - print ''."\n"; + print ''; + print ''; + print ''; + if (isModEnabled("multicurrency") && ($object->multicurrency_code && $object->multicurrency_code != $conf->currency)) { + // Multicurrency Amount TTC + print ''; + } + print ''."\n"; - print '
' . $langs->trans('AmountHT') . '' . price($object->total_ht, '', $langs, 0, -1, -1, $conf->currency) . '' . price($object->multicurrency_total_ht, '', $langs, 0, -1, -1, $object->multicurrency_code) . '
' . $langs->trans('AmountVAT') . '' . price($object->total_tva, '', $langs, 0, -1, -1, $conf->currency) . '' . price($object->multicurrency_total_tva, '', $langs, 0, -1, -1, $object->multicurrency_code) . '
' . $langs->trans('AmountHT') . '' . price($object->total_ht, '', $langs, 0, -1, -1, $conf->currency) . '' . price($object->multicurrency_total_ht, '', $langs, 0, -1, -1, $object->multicurrency_code) . '
' . $langs->transcountry("AmountLT1", $mysoc->country_code) . '' . price($object->total_localtax1, '', $langs, 0, -1, -1, $conf->currency) . '' . $langs->trans('AmountVAT') . '' . price($object->total_tva, '', $langs, 0, -1, -1, $conf->currency) . '' . price($object->total_localtax1, '', $langs, 0, -1, -1, $object->multicurrency_code) . '' . price($object->multicurrency_total_tva, '', $langs, 0, -1, -1, $object->multicurrency_code) . '
' . $langs->transcountry("AmountLT2", $mysoc->country_code) . '' . price($object->total_localtax2, '', $langs, 0, -1, -1, $conf->currency) . '' . $langs->transcountry("AmountLT1", $mysoc->country_code) . '' . price($object->total_localtax1, '', $langs, 0, -1, -1, $conf->currency) . '' . price($object->total_localtax2, '', $langs, 0, -1, -1, $object->multicurrency_code) . '' . price($object->total_localtax1, '', $langs, 0, -1, -1, $object->multicurrency_code) . '
' . $langs->transcountry("AmountLT2", $mysoc->country_code) . '' . price($object->total_localtax2, '', $langs, 0, -1, -1, $conf->currency) . '' . price($object->total_localtax2, '', $langs, 0, -1, -1, $object->multicurrency_code) . '
' . $langs->trans('AmountTTC') . '' . price($object->total_ttc, 1, '', 1, -1, -1, $conf->currency) . '' . price($object->multicurrency_total_ttc, 1, '', 1, -1, -1, $object->multicurrency_code) . '
' . $langs->trans('AmountTTC') . '' . price($object->total_ttc, 1, '', 1, -1, -1, $conf->currency) . '' . price($object->multicurrency_total_ttc, 1, '', 1, -1, -1, $object->multicurrency_code) . '
'; + print ''; - // Statut - //print '' . $langs->trans('Status') . '' . $object->getLibStatut(4) . ''; + // Statut + //print '' . $langs->trans('Status') . '' . $object->getLibStatut(4) . ''; - // Margin Infos - if (isModEnabled('margin')) { - $formmargin->displayMarginInfos($object); - } + // Margin Infos + if (isModEnabled('margin')) { + $formmargin->displayMarginInfos($object); + } - print '
'; - print '
'; // Close fichecenter + print '
'; + print '
'; // Close fichecenter - print '

'; + print '

'; - if (!empty($conf->global->MAIN_DISABLE_CONTACTS_TAB)) { - $blocname = 'contacts'; - $title = $langs->trans('ContactsAddresses'); - include DOL_DOCUMENT_ROOT.'/core/tpl/bloc_showhide.tpl.php'; - } + if (!empty($conf->global->MAIN_DISABLE_CONTACTS_TAB)) { + $blocname = 'contacts'; + $title = $langs->trans('ContactsAddresses'); + include DOL_DOCUMENT_ROOT.'/core/tpl/bloc_showhide.tpl.php'; + } - if (!empty($conf->global->MAIN_DISABLE_NOTES_TAB)) { - $blocname = 'notes'; - $title = $langs->trans('Notes'); - include DOL_DOCUMENT_ROOT.'/core/tpl/bloc_showhide.tpl.php'; - } + if (!empty($conf->global->MAIN_DISABLE_NOTES_TAB)) { + $blocname = 'notes'; + $title = $langs->trans('Notes'); + include DOL_DOCUMENT_ROOT.'/core/tpl/bloc_showhide.tpl.php'; + } - /* - * Lines - */ + /* + * Lines + */ - // Get object lines - $result = $object->getLinesArray(); + // Get object lines + $result = $object->getLinesArray(); - // Add products/services form - //$forceall = 1; - global $inputalsopricewithtax; - $inputalsopricewithtax = 1; + // Add products/services form + //$forceall = 1; + global $inputalsopricewithtax; + $inputalsopricewithtax = 1; - print '
- - - - - - - '; + print ' + + + + + + + '; - if (!empty($conf->use_javascript_ajax) && $object->statut == Commande::STATUS_DRAFT) { - include DOL_DOCUMENT_ROOT.'/core/tpl/ajaxrow.tpl.php'; - } + if (!empty($conf->use_javascript_ajax) && $object->statut == Commande::STATUS_DRAFT) { + include DOL_DOCUMENT_ROOT.'/core/tpl/ajaxrow.tpl.php'; + } - print '
'; - print ''; + print '
'; + print '
'; - // Show object lines - if (!empty($object->lines)) { - $object->printObjectLines($action, $mysoc, $soc, $lineid, 1); - } + // Show object lines + if (!empty($object->lines)) { + $object->printObjectLines($action, $mysoc, $soc, $lineid, 1); + } - $numlines = count($object->lines); + $numlines = count($object->lines); - /* - * Form to add new line - */ - if ($object->statut == Commande::STATUS_DRAFT && $usercancreate && $action != 'selectlines') { - if ($action != 'editline') { - // Add free products/services + /* + * Form to add new line + */ + if ($object->statut == Commande::STATUS_DRAFT && $usercancreate && $action != 'selectlines') { + if ($action != 'editline') { + // Add free products/services - $parameters = array(); - // Note that $action and $object may be modified by hook - $reshook = $hookmanager->executeHooks('formAddObjectLine', $parameters, $object, $action); - if ($reshook < 0) setEventMessages($hookmanager->error, $hookmanager->errors, 'errors'); - if (empty($reshook)) - $object->formAddObjectLine(1, $mysoc, $soc); + $parameters = array(); + // Note that $action and $object may be modified by hook + $reshook = $hookmanager->executeHooks('formAddObjectLine', $parameters, $object, $action); + if ($reshook < 0) setEventMessages($hookmanager->error, $hookmanager->errors, 'errors'); + if (empty($reshook)) + $object->formAddObjectLine(1, $mysoc, $soc); + } else { + $parameters = array(); + $reshook = $hookmanager->executeHooks('formEditObjectLine', $parameters, $object, $action); + } } - } - print '
'; - print '
'; + print ''; + print '
'; - print "\n"; + print "\n"; + } print dol_get_fiche_end(); @@ -2948,7 +2987,13 @@ } // Create bill - $arrayforbutaction[] = array('lang'=>'bills', 'enabled'=>(isModEnabled('facture') && $object->statut > Commande::STATUS_DRAFT && !$object->billed && $object->total_ttc >= 0), 'perm'=>($user->hasRight('facture', 'creer') && empty($conf->global->WORKFLOW_DISABLE_CREATE_INVOICE_FROM_ORDER)), 'label'=>'CreateBill', 'url'=>'/compta/facture/card.php?action=create&token='.newToken().'&origin='.urlencode($object->element).'&originid='.$object->id.'&socid='.$object->socid); + $arrayforbutaction[] = array( + 'lang'=>'bills', + 'enabled'=>(isModEnabled('facture') && $object->statut > Commande::STATUS_DRAFT && !$object->billed && $object->total_ttc >= 0), + 'perm'=>($user->hasRight('facture', 'creer') && !getDolGlobalInt('WORKFLOW_DISABLE_CREATE_INVOICE_FROM_ORDER')), + 'label'=>'CreateBill', + 'url'=>'/compta/facture/card.php?action=create&token='.newToken().'&origin='.urlencode($object->element).'&originid='.$object->id.'&socid='.$object->socid + ); /* if (isModEnabled('facture') && $object->statut > Commande::STATUS_DRAFT && !$object->billed && $object->total_ttc >= 0) { if (isModEnabled('facture') && $user->hasRight('facture', 'creer') && empty($conf->global->WORKFLOW_DISABLE_CREATE_INVOICE_FROM_ORDER)) { diff --git a/htdocs/commande/class/api_orders.class.php b/htdocs/commande/class/api_orders.class.php index 1a43efcdd0248..72c0aa505d62c 100644 --- a/htdocs/commande/class/api_orders.class.php +++ b/htdocs/commande/class/api_orders.class.php @@ -156,16 +156,15 @@ private function _fetch($id, $ref = '', $ref_ext = '', $contact_list = 1) * @param int $page Page number * @param string $thirdparty_ids Thirdparty ids to filter orders of (example '1' or '1,2,3') {@pattern /^[0-9,]*$/i} * @param string $sqlfilters Other criteria to filter answers separated by a comma. Syntax example "(t.ref:like:'SO-%') and (t.date_creation:<:'20160101')" + * @param string $sqlfilterlines Other criteria to filter answers separated by a comma. Syntax example "(tl.fk_product:=:'17') and (tl.price:<:'250')" * @param string $properties Restrict the data returned to theses properties. Ignored if empty. Comma separated list of properties names * @return array Array of order objects * * @throws RestException 404 Not found * @throws RestException 503 Error */ - public function index($sortfield = "t.rowid", $sortorder = 'ASC', $limit = 100, $page = 0, $thirdparty_ids = '', $sqlfilters = '', $properties = '') + public function index($sortfield = "t.rowid", $sortorder = 'ASC', $limit = 100, $page = 0, $thirdparty_ids = '', $sqlfilters = '', $sqlfilterlines = '', $properties = '') { - global $db, $conf; - if (!DolibarrApiAccess::$user->hasRight('commande', 'lire')) { throw new RestException(401); } @@ -213,7 +212,16 @@ public function index($sortfield = "t.rowid", $sortorder = 'ASC', $limit = 100, throw new RestException(400, 'Error when validating parameter sqlfilters -> '.$errormessage); } } - + // Add sql filters for lines + if ($sqlfilterlines) { + $errormessage = ''; + $sql .= " AND EXISTS (SELECT tl.rowid FROM ".MAIN_DB_PREFIX."commandedet AS tl WHERE tl.fk_commande = t.rowid"; + $sql .= forgeSQLFromUniversalSearchCriteria($sqlfilterlines, $errormessage); + $sql .= ")"; + if ($errormessage) { + throw new RestException(400, 'Error when validating parameter sqlfilterlines -> '.$errormessage); + } + } $sql .= $this->db->order($sortfield, $sortorder); if ($limit) { if ($page < 0) { diff --git a/htdocs/commande/class/commande.class.php b/htdocs/commande/class/commande.class.php index ec4456abfba9c..08eb4e429898a 100644 --- a/htdocs/commande/class/commande.class.php +++ b/htdocs/commande/class/commande.class.php @@ -130,6 +130,10 @@ class Commande extends CommonOrder */ public $billed; + /** + * @var string Limit date payment + */ + public $date_lim_reglement; /** * @var string Condition payment code */ @@ -206,14 +210,7 @@ class Commande extends CommonOrder public $date_commande; /** - * @var int Date expected for delivery - * @see $delivery_date - * @deprecated - */ - public $date_livraison; - - /** - * @var int Date expected of shipment (date starting shipment, not the reception that occurs some days after) + * @var int Date expected of shipment (date of start of shipment, not the reception that occurs some days after) */ public $delivery_date; @@ -227,10 +224,6 @@ class Commande extends CommonOrder */ public $remise_percent; - public $remise_absolue; - public $info_bits; - public $rang; - public $special_code; public $source; // Order mode. How we received order (by phone, by email, ...) /** @@ -293,6 +286,7 @@ class Commande extends CommonOrder public $online_payment_url; + /** * 'type' if the field format ('integer', 'integer:ObjectClass:PathToClass[:AddCreateButtonOrNot[:Filter]]', 'varchar(x)', 'double(24,8)', 'real', 'price', 'text', 'html', 'date', 'datetime', 'timestamp', 'duration', 'mail', 'phone', 'url', 'password') * Note: Filter can be a string like "(t.ref:like:'SO-%') or (t.date_creation:<:'20160101') or (t.nature:is:NULL)" @@ -335,10 +329,6 @@ class Commande extends CommonOrder 'fk_user_valid' =>array('type'=>'integer:User:user/class/user.class.php', 'label'=>'UserValidation', 'enabled'=>1, 'visible'=>-1, 'position'=>85), 'fk_user_cloture' =>array('type'=>'integer:User:user/class/user.class.php', 'label'=>'UserClosing', 'enabled'=>1, 'visible'=>-1, 'position'=>90), 'source' =>array('type'=>'smallint(6)', 'label'=>'Source', 'enabled'=>1, 'visible'=>-1, 'position'=>95), - //'amount_ht' =>array('type'=>'double(24,8)', 'label'=>'AmountHT', 'enabled'=>1, 'visible'=>-1, 'position'=>105), - //'remise_percent' =>array('type'=>'double', 'label'=>'RelativeDiscount', 'enabled'=>1, 'visible'=>-1, 'position'=>110), - 'remise_absolue' =>array('type'=>'double', 'label'=>'CustomerRelativeDiscount', 'enabled'=>1, 'visible'=>-1, 'position'=>115), - //'remise' =>array('type'=>'double', 'label'=>'Remise', 'enabled'=>1, 'visible'=>-1, 'position'=>120), 'total_tva' =>array('type'=>'double(24,8)', 'label'=>'VAT', 'enabled'=>1, 'visible'=>-1, 'position'=>125, 'isameasure'=>1), 'localtax1' =>array('type'=>'double(24,8)', 'label'=>'LocalTax1', 'enabled'=>1, 'visible'=>-1, 'position'=>130, 'isameasure'=>1), 'localtax2' =>array('type'=>'double(24,8)', 'label'=>'LocalTax2', 'enabled'=>1, 'visible'=>-1, 'position'=>135, 'isameasure'=>1), @@ -347,7 +337,6 @@ class Commande extends CommonOrder 'note_private' =>array('type'=>'html', 'label'=>'NotePrivate', 'enabled'=>1, 'visible'=>0, 'position'=>150), 'note_public' =>array('type'=>'html', 'label'=>'NotePublic', 'enabled'=>1, 'visible'=>0, 'position'=>155), 'model_pdf' =>array('type'=>'varchar(255)', 'label'=>'PDFTemplate', 'enabled'=>1, 'visible'=>0, 'position'=>160), - //'facture' =>array('type'=>'tinyint(4)', 'label'=>'ParentInvoice', 'enabled'=>1, 'visible'=>-1, 'position'=>165), 'fk_account' =>array('type'=>'integer', 'label'=>'BankAccount', 'enabled'=>'isModEnabled("banque")', 'visible'=>-1, 'position'=>170), 'fk_currency' =>array('type'=>'varchar(3)', 'label'=>'MulticurrencyID', 'enabled'=>1, 'visible'=>-1, 'position'=>175), 'fk_cond_reglement' =>array('type'=>'integer', 'label'=>'PaymentTerm', 'enabled'=>1, 'visible'=>-1, 'position'=>180), @@ -434,7 +423,7 @@ public function getNextNumRef($soc) if (!empty($conf->global->COMMANDE_ADDON)) { $mybool = false; - $file = $conf->global->COMMANDE_ADDON.".php"; + $file = getDolGlobalString('COMMANDE_ADDON') . ".php"; $classname = $conf->global->COMMANDE_ADDON; // Include file with class @@ -490,8 +479,8 @@ public function valid($user, $idwarehouse = 0, $notrigger = 0) return 0; } - if (!((empty($conf->global->MAIN_USE_ADVANCED_PERMS) && !empty($user->rights->commande->creer)) - || (!empty($conf->global->MAIN_USE_ADVANCED_PERMS) && !empty($user->rights->commande->order_advance->validate)))) { + if (!((empty($conf->global->MAIN_USE_ADVANCED_PERMS) && $user->hasRight('commande', 'creer')) + || (!empty($conf->global->MAIN_USE_ADVANCED_PERMS) && $user->hasRight('commande', 'order_advance', 'validate')))) { $this->error = 'NotEnoughPermissions'; dol_syslog(get_class($this)."::valid ".$this->error, LOG_ERR); return -1; @@ -535,7 +524,7 @@ public function valid($user, $idwarehouse = 0, $notrigger = 0) if (!$error) { // If stock is incremented on validate order, we must increment it - if ($result >= 0 && isModEnabled('stock') && !empty($conf->global->STOCK_CALCULATE_ON_VALIDATE_ORDER) && $conf->global->STOCK_CALCULATE_ON_VALIDATE_ORDER == 1) { + if ($result >= 0 && isModEnabled('stock') && getDolGlobalInt('STOCK_CALCULATE_ON_VALIDATE_ORDER') == 1) { require_once DOL_DOCUMENT_ROOT.'/product/stock/class/mouvementstock.class.php'; $langs->load("agenda"); @@ -581,6 +570,12 @@ public function valid($user, $idwarehouse = 0, $notrigger = 0) if (!$resql) { $error++; $this->error = $this->db->lasterror(); } + $sql = 'UPDATE '.MAIN_DB_PREFIX."ecm_files set filepath = 'commande/".$this->db->escape($this->newref)."'"; + $sql .= " WHERE filepath = 'commande/".$this->db->escape($this->ref)."' and entity = ".$conf->entity; + $resql = $this->db->query($sql); + if (!$resql) { + $error++; $this->error = $this->db->lasterror(); + } // We rename directory ($this->ref = old ref, $num = new ref) in order not to lose the attachments $oldref = dol_sanitizeFileName($this->ref); @@ -642,8 +637,8 @@ public function setDraft($user, $idwarehouse = -1) return 0; } - if (!((empty($conf->global->MAIN_USE_ADVANCED_PERMS) && !empty($user->rights->commande->creer)) - || (!empty($conf->global->MAIN_USE_ADVANCED_PERMS) && !empty($user->rights->commande->order_advance->validate)))) { + if (!((empty($conf->global->MAIN_USE_ADVANCED_PERMS) && $user->hasRight('commande', 'creer')) + || (!empty($conf->global->MAIN_USE_ADVANCED_PERMS) && $user->hasRight('commande', 'order_advance', 'validate')))) { $this->error = 'Permission denied'; return -1; } @@ -663,7 +658,7 @@ public function setDraft($user, $idwarehouse = -1) } // If stock is decremented on validate order, we must reincrement it - if (isModEnabled('stock') && !empty($conf->global->STOCK_CALCULATE_ON_VALIDATE_ORDER) && $conf->global->STOCK_CALCULATE_ON_VALIDATE_ORDER == 1) { + if (isModEnabled('stock') && getDolGlobalInt('STOCK_CALCULATE_ON_VALIDATE_ORDER') == 1) { $result = 0; require_once DOL_DOCUMENT_ROOT.'/product/stock/class/mouvementstock.class.php'; @@ -848,7 +843,7 @@ public function cancel($idwarehouse = -1) dol_syslog(get_class($this)."::cancel", LOG_DEBUG); if ($this->db->query($sql)) { // If stock is decremented on validate order, we must reincrement it - if (isModEnabled('stock') && !empty($conf->global->STOCK_CALCULATE_ON_VALIDATE_ORDER) && $conf->global->STOCK_CALCULATE_ON_VALIDATE_ORDER == 1) { + if (isModEnabled('stock') && getDolGlobalInt('STOCK_CALCULATE_ON_VALIDATE_ORDER') == 1) { require_once DOL_DOCUMENT_ROOT.'/product/stock/class/mouvementstock.class.php'; $langs->load("agenda"); @@ -913,7 +908,7 @@ public function create($user, $notrigger = 0) // Set tmp vars $date = ($this->date_commande ? $this->date_commande : $this->date); - $delivery_date = empty($this->delivery_date) ? $this->date_livraison : $this->delivery_date; + $delivery_date = $this->delivery_date; // Multicurrency (test on $this->multicurrency_tx because we should take the default rate only if not using origin rate) if (!empty($this->multicurrency_code) && empty($this->multicurrency_tx)) { @@ -962,7 +957,6 @@ public function create($user, $notrigger = 0) $sql .= ", model_pdf, fk_cond_reglement, deposit_percent, fk_mode_reglement, fk_account, fk_availability, fk_input_reason, date_livraison, fk_delivery_address"; $sql .= ", fk_shipping_method"; $sql .= ", fk_warehouse"; - $sql .= ", remise_absolue, remise_percent"; $sql .= ", fk_incoterms, location_incoterms"; $sql .= ", entity, module_source, pos_source"; $sql .= ", fk_multicurrency"; @@ -988,8 +982,6 @@ public function create($user, $notrigger = 0) $sql .= ", ".($this->fk_delivery_address > 0 ? ((int) $this->fk_delivery_address) : 'NULL'); $sql .= ", ".(!empty($this->shipping_method_id) && $this->shipping_method_id > 0 ? ((int) $this->shipping_method_id) : 'NULL'); $sql .= ", ".(!empty($this->warehouse_id) && $this->warehouse_id > 0 ? ((int) $this->warehouse_id) : 'NULL'); - $sql .= ", ".($this->remise_absolue > 0 ? $this->db->escape($this->remise_absolue) : 'NULL'); - $sql .= ", ".($this->remise_percent > 0 ? $this->db->escape($this->remise_percent) : 0); // TODO deprecated $sql .= ", ".(int) $this->fk_incoterms; $sql .= ", '".$this->db->escape($this->location_incoterms)."'"; $sql .= ", ".setEntity($this); @@ -1248,7 +1240,6 @@ public function createFromClone(User $user, $socid = 0) // Clear fields $this->user_author_id = $user->id; - $this->user_valid = 0; // deprecated $this->user_validation_id = 0; $this->date = dol_now(); $this->date_commande = dol_now(); @@ -1388,12 +1379,11 @@ public function createFromProposal($object, User $user) $this->fk_account = $object->fk_account; $this->availability_id = $object->availability_id; $this->demand_reason_id = $object->demand_reason_id; - $this->date_livraison = $object->date_livraison; // deprecated - $this->delivery_date = $object->date_livraison; + $this->delivery_date = $object->delivery_date; $this->shipping_method_id = $object->shipping_method_id; $this->warehouse_id = $object->warehouse_id; $this->fk_delivery_address = $object->fk_delivery_address; - $this->contact_id = $object->contact_id; + $this->contact_id = $object->contact_id; $this->ref_client = $object->ref_client; $this->ref_customer = $object->ref_client; @@ -1872,7 +1862,7 @@ public function fetch($id, $ref = '', $ref_ext = '', $notused = '') $sql .= ', c.date_livraison as delivery_date'; $sql .= ', c.fk_shipping_method'; $sql .= ', c.fk_warehouse'; - $sql .= ', c.fk_projet as fk_project, c.remise_percent, c.remise, c.remise_absolue, c.source, c.facture as billed'; + $sql .= ', c.fk_projet as fk_project, c.source, c.facture as billed'; $sql .= ', c.note_private, c.note_public, c.ref_client, c.ref_ext, c.model_pdf, c.last_main_doc, c.fk_delivery_address, c.extraparams'; $sql .= ', c.fk_incoterms, c.location_incoterms'; $sql .= ", c.fk_multicurrency, c.multicurrency_code, c.multicurrency_tx, c.multicurrency_total_ht, c.multicurrency_total_tva, c.multicurrency_total_ttc"; @@ -1927,9 +1917,7 @@ public function fetch($id, $ref = '', $ref_ext = '', $notused = '') $this->user_author_id = $obj->fk_user_author; $this->user_creation_id = $obj->fk_user_author; $this->user_validation_id = $obj->fk_user_valid; - $this->user_valid = $obj->fk_user_valid; // deprecated $this->user_modification_id = $obj->fk_user_modif; - $this->user_modification = $obj->fk_user_modif; $this->total_ht = $obj->total_ht; $this->total_tva = $obj->total_tva; $this->total_localtax1 = $obj->total_localtax1; @@ -1938,18 +1926,14 @@ public function fetch($id, $ref = '', $ref_ext = '', $notused = '') $this->date = $this->db->jdate($obj->date_commande); $this->date_commande = $this->db->jdate($obj->date_commande); $this->date_creation = $this->db->jdate($obj->date_creation); - $this->date_validation = $this->db->jdate($obj->date_valid); - $this->date_modification = $this->db->jdate($obj->tms); - $this->remise = $obj->remise; - $this->remise_percent = $obj->remise_percent; // TODO deprecated - $this->remise_absolue = $obj->remise_absolue; + $this->date_validation = $this->db->jdate($obj->date_valid); + $this->date_modification = $this->db->jdate($obj->tms); $this->source = $obj->source; $this->billed = $obj->billed; $this->note = $obj->note_private; // deprecated $this->note_private = $obj->note_private; $this->note_public = $obj->note_public; $this->model_pdf = $obj->model_pdf; - $this->modelpdf = $obj->model_pdf; // deprecated $this->last_main_doc = $obj->last_main_doc; $this->mode_reglement_id = $obj->fk_mode_reglement; $this->mode_reglement_code = $obj->mode_reglement_code; @@ -1965,7 +1949,6 @@ public function fetch($id, $ref = '', $ref_ext = '', $notused = '') $this->availability = $obj->availability_label; $this->demand_reason_id = $obj->fk_input_reason; $this->demand_reason_code = $obj->demand_reason_code; - $this->date_livraison = $this->db->jdate($obj->delivery_date); // deprecated $this->delivery_date = $this->db->jdate($obj->delivery_date); $this->shipping_method_id = ($obj->fk_shipping_method > 0) ? $obj->fk_shipping_method : null; $this->warehouse_id = ($obj->fk_warehouse > 0) ? $obj->fk_warehouse : null; @@ -2368,7 +2351,7 @@ public function countNbOfShipments() * * TODO FONCTION NON FINIE A FINIR */ - public function stock_array($filtre_statut = self::STATUS_CANCELED) + /*public function stock_array($filtre_statut = self::STATUS_CANCELED) { // phpcs:enable $this->stocks = array(); @@ -2396,7 +2379,7 @@ public function stock_array($filtre_statut = self::STATUS_CANCELED) } } return 0; - } + }*/ /** * Delete an order line @@ -2540,6 +2523,7 @@ public function setDiscount($user, $remise, $notrigger = 0) * @param int $notrigger 1=Does not execute triggers, 0= execute triggers * @return int <0 if KO, >0 if OK */ + /* public function set_remise_absolue($user, $remise, $notrigger = 0) { // phpcs:enable @@ -2595,7 +2579,7 @@ public function set_remise_absolue($user, $remise, $notrigger = 0) return 0; } - + */ // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps /** @@ -2699,7 +2683,6 @@ public function setDeliveryDate($user, $delivery_date, $notrigger = 0) if (!$error) { $this->oldcopy = clone $this; - $this->date_livraison = $delivery_date; $this->delivery_date = $delivery_date; } @@ -2751,16 +2734,16 @@ public function liste_array($shortlist = 0, $draft = 0, $excluser = '', $socid = $sql = "SELECT s.rowid, s.nom as name, s.client,"; $sql .= " c.rowid as cid, c.ref"; - if (empty($user->rights->societe->client->voir) && !$socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= ", sc.fk_soc, sc.fk_user"; } $sql .= " FROM ".MAIN_DB_PREFIX."societe as s, ".MAIN_DB_PREFIX."commande as c"; - if (empty($user->rights->societe->client->voir) && !$socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= ", ".MAIN_DB_PREFIX."societe_commerciaux as sc"; } $sql .= " WHERE c.entity IN (".getEntity('commande').")"; $sql .= " AND c.fk_soc = s.rowid"; - if (empty($user->rights->societe->client->voir) && !$socid) { //restriction + if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { //restriction $sql .= " AND s.rowid = sc.fk_soc AND sc.fk_user = ".((int) $user->id); } if ($socid) { @@ -3363,7 +3346,7 @@ public function update(User $user, $notrigger = 0) if (isset($this->import_key)) { $this->import_key = trim($this->import_key); } - $delivery_date = empty($this->delivery_date) ? $this->date_livraison : $this->delivery_date; + $delivery_date = $this->delivery_date; // Check parameters // Put here code to add control on parameters values @@ -3384,7 +3367,7 @@ public function update(User $user, $notrigger = 0) $sql .= " total_ttc=".(isset($this->total_ttc) ? $this->total_ttc : "null").","; $sql .= " fk_statut=".(isset($this->statut) ? $this->statut : "null").","; $sql .= " fk_user_author=".(isset($this->user_author_id) ? $this->user_author_id : "null").","; - $sql .= " fk_user_valid=".((isset($this->user_valid) && $this->user_valid > 0) ? $this->user_valid : "null").","; + $sql .= " fk_user_valid=".((isset($this->user_validation_id) && $this->user_validation_id > 0) ? $this->user_validation_id : "null").","; $sql .= " fk_projet=".(isset($this->fk_project) ? $this->fk_project : "null").","; $sql .= " fk_cond_reglement=".(isset($this->cond_reglement_id) ? $this->cond_reglement_id : "null").","; $sql .= " deposit_percent=".(!empty($this->deposit_percent) ? strval($this->deposit_percent) : "null").","; @@ -3524,6 +3507,7 @@ public function delete($user, $notrigger = 0) // Delete record into ECM index and physically if (!$error) { $res = $this->deleteEcmFiles(0); // Deleting files physically is done later with the dol_delete_dir_recursive + $res = $this->deleteEcmFiles(1); // Deleting files physically is done later with the dol_delete_dir_recursive if (!$res) { $error++; } @@ -3585,7 +3569,7 @@ public function load_board($user, $mode) $sql = "SELECT c.rowid, c.date_creation as datec, c.date_commande, c.date_livraison as delivery_date, c.fk_statut, c.total_ht"; $sql .= " FROM ".MAIN_DB_PREFIX."commande as c"; - if (empty($user->rights->societe->client->voir) && !$user->socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$user->socid) { $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."societe_commerciaux as sc ON c.fk_soc = sc.fk_soc"; $sql .= " WHERE sc.fk_user = ".((int) $user->id); $clause = " AND"; @@ -3645,7 +3629,6 @@ public function load_board($user, $mode) $generic_commande->statut = $obj->fk_statut; $generic_commande->date_commande = $this->db->jdate($obj->date_commande); $generic_commande->date = $this->db->jdate($obj->date_commande); - $generic_commande->date_livraison = $this->db->jdate($obj->delivery_date); $generic_commande->delivery_date = $this->db->jdate($obj->delivery_date); if ($mode == 'toship' && $generic_commande->hasDelay()) { @@ -3701,7 +3684,7 @@ public function getLibStatut($mode) public function LibStatut($status, $billed, $mode, $donotshowbilled = 0) { // phpcs:enable - global $langs, $conf, $hookmanager; + global $langs, $hookmanager; $billedtext = ''; if (empty($donotshowbilled)) { @@ -3847,7 +3830,7 @@ public function getNomUrl($withpicto = 0, $option = '', $max = 0, $short = 0, $n $url = DOL_URL_ROOT.'/commande/card.php?id='.$this->id; } - if (!$user->rights->commande->lire) { + if (!$user->hasRight('commande', 'lire')) { $option = 'nolink'; } @@ -4090,7 +4073,7 @@ public function load_state_board() $sql = "SELECT count(co.rowid) as nb"; $sql .= " FROM ".MAIN_DB_PREFIX."commande as co"; $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."societe as s ON co.fk_soc = s.rowid"; - if (empty($user->rights->societe->client->voir) && !$user->socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$user->socid) { $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."societe_commerciaux as sc ON s.rowid = sc.fk_soc"; $sql .= " WHERE sc.fk_user = ".((int) $user->id); $clause = "AND"; @@ -4144,8 +4127,6 @@ public function generateDocument($modele, $outputlangs, $hidedetails = 0, $hided if (!empty($this->model_pdf)) { $modele = $this->model_pdf; - } elseif (!empty($this->modelpdf)) { // deprecated - $modele = $this->modelpdf; } elseif (!empty($conf->global->COMMANDE_ADDON_PDF)) { $modele = $conf->global->COMMANDE_ADDON_PDF; } @@ -4219,9 +4200,9 @@ public function showDelay() global $conf, $langs; if (empty($this->delivery_date)) { - $text = $langs->trans("OrderDate").' '.dol_print_date($this->date_commande, 'day'); + $text = $langs->trans("OrderDate").' '.dol_print_date($this->date, 'day'); } else { - $text = $text = $langs->trans("DeliveryDate").' '.dol_print_date($this->date_livraison, 'day'); + $text = $text = $langs->trans("DeliveryDate").' '.dol_print_date($this->delivery_date, 'day'); } $text .= ' '.($conf->commande->client->warning_delay > 0 ? '+' : '-').' '.round(abs($conf->commande->client->warning_delay) / 3600 / 24, 1).' '.$langs->trans("days").' < '.$langs->trans("Today"); @@ -4492,8 +4473,6 @@ public function delete(User $user, $notrigger = 0) */ public function insert($user = null, $notrigger = 0) { - global $langs, $conf; - $error = 0; $pa_ht_isemptystring = (empty($this->pa_ht) && $this->pa_ht == ''); // If true, we can use a default value. If this->pa_ht = '0', we must use '0'. @@ -4568,8 +4547,8 @@ public function insert($user = null, $notrigger = 0) $sql .= ' fk_product, product_type, remise_percent, subprice, price, fk_remise_except,'; $sql .= ' special_code, rang, fk_product_fournisseur_price, buy_price_ht,'; $sql .= ' info_bits, total_ht, total_tva, total_localtax1, total_localtax2, total_ttc, date_start, date_end,'; - $sql .= ' fk_unit'; - $sql .= ', fk_multicurrency, multicurrency_code, multicurrency_subprice, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc'; + $sql .= ' fk_unit,'; + $sql .= ' fk_multicurrency, multicurrency_code, multicurrency_subprice, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc'; $sql .= ')'; $sql .= " VALUES (".$this->fk_commande.","; $sql .= " ".($this->fk_parent_line > 0 ? "'".$this->db->escape($this->fk_parent_line)."'" : "null").","; @@ -4659,8 +4638,6 @@ public function insert($user = null, $notrigger = 0) */ public function update(User $user, $notrigger = 0) { - global $conf, $langs; - $error = 0; $pa_ht_isemptystring = (empty($this->pa_ht) && $this->pa_ht == ''); // If true, we can use a default value. If this->pa_ht = '0', we must use '0'. diff --git a/htdocs/commande/class/commandestats.class.php b/htdocs/commande/class/commandestats.class.php index 1f708ae85c101..be074c7dd285d 100644 --- a/htdocs/commande/class/commandestats.class.php +++ b/htdocs/commande/class/commandestats.class.php @@ -123,7 +123,7 @@ public function getNbByMonth($year, $format = 0) $sql = "SELECT date_format(c.date_commande,'%m') as dm, COUNT(*) as nb"; $sql .= " FROM ".$this->from; - if (empty($user->rights->societe->client->voir) && !$this->socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$this->socid) { $sql .= " INNER JOIN ".MAIN_DB_PREFIX."societe_commerciaux as sc ON c.fk_soc = sc.fk_soc AND sc.fk_user = ".((int) $user->id); } $sql .= $this->join; @@ -148,7 +148,7 @@ public function getNbByYear() $sql = "SELECT date_format(c.date_commande,'%Y') as dm, COUNT(*) as nb, SUM(c.".$this->field.")"; $sql .= " FROM ".$this->from; - if (empty($user->rights->societe->client->voir) && !$this->socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$this->socid) { $sql .= " INNER JOIN ".MAIN_DB_PREFIX."societe_commerciaux as sc ON c.fk_soc = sc.fk_soc AND sc.fk_user = ".((int) $user->id); } $sql .= $this->join; @@ -172,7 +172,7 @@ public function getAmountByMonth($year, $format = 0) $sql = "SELECT date_format(c.date_commande,'%m') as dm, SUM(c.".$this->field.")"; $sql .= " FROM ".$this->from; - if (empty($user->rights->societe->client->voir) && !$this->socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$this->socid) { $sql .= " INNER JOIN ".MAIN_DB_PREFIX."societe_commerciaux as sc ON c.fk_soc = sc.fk_soc AND sc.fk_user = ".((int) $user->id); } $sql .= $this->join; @@ -197,7 +197,7 @@ public function getAverageByMonth($year) $sql = "SELECT date_format(c.date_commande,'%m') as dm, AVG(c.".$this->field.")"; $sql .= " FROM ".$this->from; - if (empty($user->rights->societe->client->voir) && !$this->socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$this->socid) { $sql .= " INNER JOIN ".MAIN_DB_PREFIX."societe_commerciaux as sc ON c.fk_soc = sc.fk_soc AND sc.fk_user = ".((int) $user->id); } $sql .= $this->join; @@ -220,7 +220,7 @@ public function getAllByYear() $sql = "SELECT date_format(c.date_commande,'%Y') as year, COUNT(*) as nb, SUM(c.".$this->field.") as total, AVG(".$this->field.") as avg"; $sql .= " FROM ".$this->from; - if (empty($user->rights->societe->client->voir) && !$this->socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$this->socid) { $sql .= " INNER JOIN ".MAIN_DB_PREFIX."societe_commerciaux as sc ON c.fk_soc = sc.fk_soc AND sc.fk_user = ".((int) $user->id); } $sql .= $this->join; @@ -246,7 +246,7 @@ public function getAllByProduct($year, $limit = 10) $sql .= " FROM ".$this->from; $sql .= " INNER JOIN ".$this->from_line." ON c.rowid = tl.fk_commande"; $sql .= " INNER JOIN ".MAIN_DB_PREFIX."product as product ON tl.fk_product = product.rowid"; - if (empty($user->rights->societe->client->voir) && !$user->socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$user->socid) { $sql .= " INNER JOIN ".MAIN_DB_PREFIX."societe_commerciaux as sc ON c.fk_soc = sc.fk_soc AND sc.fk_user = ".((int) $user->id); } $sql .= $this->join; diff --git a/htdocs/commande/customer.php b/htdocs/commande/customer.php index 4638677fe1c57..ca491124d7891 100644 --- a/htdocs/commande/customer.php +++ b/htdocs/commande/customer.php @@ -39,7 +39,7 @@ $socid = $user->socid; } -if (!$user->rights->facture->creer) { +if (!$user->hasRight('facture', 'creer')) { accessforbidden(); } @@ -78,16 +78,16 @@ $sql = "SELECT s.rowid, s.nom as name, s.client, s.town, s.datec, s.datea"; $sql .= ", st.libelle as stcomm, s.prefix_comm, s.code_client, s.code_compta "; -if (empty($user->rights->societe->client->voir) && !$socid) { +if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= ", sc.fk_soc, sc.fk_user "; } $sql .= " FROM ".MAIN_DB_PREFIX."societe as s, ".MAIN_DB_PREFIX."c_stcomm as st, ".MAIN_DB_PREFIX."commande as c"; -if (empty($user->rights->societe->client->voir) && !$socid) { +if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= ", ".MAIN_DB_PREFIX."societe_commerciaux as sc"; } $sql .= " WHERE s.fk_stcomm = st.id AND c.fk_soc = s.rowid"; $sql .= " AND s.entity IN (".getEntity('societe').")"; -if (empty($user->rights->societe->client->voir) && !$socid) { +if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= " AND s.rowid = sc.fk_soc AND sc.fk_user = ".((int) $user->id); } if (GETPOST("search_nom")) { diff --git a/htdocs/commande/index.php b/htdocs/commande/index.php index 9b653b90e6582..721bc40101f03 100644 --- a/htdocs/commande/index.php +++ b/htdocs/commande/index.php @@ -39,7 +39,7 @@ $langs->loadLangs(array('orders', 'bills')); -if (!$user->rights->commande->lire) { +if (!$user->hasRight('commande', 'lire')) { accessforbidden(); } @@ -99,7 +99,7 @@ $sql .= ", s.canvas"; $sql .= " FROM ".MAIN_DB_PREFIX."commande as c"; $sql .= ", ".MAIN_DB_PREFIX."societe as s"; - if (empty($user->rights->societe->client->voir) && !$socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= ", ".MAIN_DB_PREFIX."societe_commerciaux as sc"; } $sql .= " WHERE c.fk_soc = s.rowid"; @@ -108,7 +108,7 @@ if ($socid) { $sql .= " AND c.fk_soc = ".((int) $socid); } - if (empty($user->rights->societe->client->voir) && !$socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= " AND s.rowid = sc.fk_soc AND sc.fk_user = ".((int) $user->id); } @@ -167,7 +167,7 @@ $sql .= ", s.canvas"; $sql .= " FROM ".MAIN_DB_PREFIX."commande as c,"; $sql .= " ".MAIN_DB_PREFIX."societe as s"; -if (empty($user->rights->societe->client->voir) && !$socid) { +if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= ", ".MAIN_DB_PREFIX."societe_commerciaux as sc"; } $sql .= " WHERE c.fk_soc = s.rowid"; @@ -176,7 +176,7 @@ if ($socid) { $sql .= " AND c.fk_soc = ".((int) $socid); } -if (empty($user->rights->societe->client->voir) && !$socid) { +if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= " AND s.rowid = sc.fk_soc AND sc.fk_user = ".((int) $user->id); } $sql .= " ORDER BY c.tms DESC"; @@ -251,7 +251,7 @@ $sql .= ", s.canvas"; $sql .= " FROM ".MAIN_DB_PREFIX."commande as c"; $sql .= ", ".MAIN_DB_PREFIX."societe as s"; - if (empty($user->rights->societe->client->voir) && !$socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= ", ".MAIN_DB_PREFIX."societe_commerciaux as sc"; } $sql .= " WHERE c.fk_soc = s.rowid"; @@ -260,7 +260,7 @@ if ($socid) { $sql .= " AND c.fk_soc = ".((int) $socid); } - if (empty($user->rights->societe->client->voir) && !$socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= " AND s.rowid = sc.fk_soc AND sc.fk_user = ".((int) $user->id); } $sql .= " ORDER BY c.rowid DESC"; @@ -340,7 +340,7 @@ $sql .= ", s.canvas"; $sql .= " FROM ".MAIN_DB_PREFIX."commande as c"; $sql .= ", ".MAIN_DB_PREFIX."societe as s"; - if (empty($user->rights->societe->client->voir) && !$socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= ", ".MAIN_DB_PREFIX."societe_commerciaux as sc"; } $sql .= " WHERE c.fk_soc = s.rowid"; @@ -349,7 +349,7 @@ if ($socid) { $sql .= " AND c.fk_soc = ".((int) $socid); } - if (empty($user->rights->societe->client->voir) && !$socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= " AND s.rowid = sc.fk_soc AND sc.fk_user = ".((int) $user->id); } $sql .= " ORDER BY c.rowid DESC"; diff --git a/htdocs/commande/list.php b/htdocs/commande/list.php index 2372959ef756e..8c10c3ce7ab2d 100644 --- a/htdocs/commande/list.php +++ b/htdocs/commande/list.php @@ -472,7 +472,7 @@ $array_options = $lines[$i]->array_options; } - $objecttmp->context['createfromclone']; + $objecttmp->context['createfromclone'] = 'createfromclone'; $rang = ($nbOrders > 1) ? -1 : $lines[$i]->rang; //there may already be rows from previous orders @@ -718,9 +718,9 @@ if ($objecttmp->fetch($checked)) { if ($objecttmp->statut == 1 || $objecttmp->statut == 2) { if ($objecttmp->cloture($user)) { - setEventMessages($langs->trans('PassedInClosedStatus', $objecttmp->ref), null, 'mesgs'); + setEventMessages($langs->trans('StatusOrderDelivered', $objecttmp->ref), null, 'mesgs'); } else { - setEventMessages($langs->trans('CantBeClosed'), null, 'errors'); + setEventMessages($langs->trans('ErrorOrderStatusCantBeSetToDelivered'), null, 'errors'); $error++; } } else { @@ -861,7 +861,7 @@ $sql .= ' LEFT JOIN '.MAIN_DB_PREFIX.'user as u ON c.fk_user_author = u.rowid'; // We'll need this table joined to the select in order to filter by sale -if ($search_sale > 0 || (empty($user->rights->societe->client->voir) && !$socid)) { +if ($search_sale > 0 || (!$user->hasRight('societe', 'client', 'voir') && !$socid)) { $sql .= ", ".MAIN_DB_PREFIX."societe_commerciaux as sc"; } if ($search_user > 0) { @@ -879,7 +879,7 @@ if ($socid > 0) { $sql .= ' AND s.rowid = '.((int) $socid); } -if (empty($user->rights->societe->client->voir) && !$socid) { +if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= " AND s.rowid = sc.fk_soc AND sc.fk_user = ".((int) $user->id); } if ($search_ref) { @@ -1327,6 +1327,7 @@ $newcardbutton = ''; $newcardbutton .= dolGetButtonTitle($langs->trans('ViewList'), '', 'fa fa-bars imgforviewmode', $_SERVER["PHP_SELF"].'?mode=common'.preg_replace('/(&|\?)*mode=[^&]+/', '', $param), '', ((empty($mode) || $mode == 'common') ? 2 : 1), array('morecss'=>'reposition')); $newcardbutton .= dolGetButtonTitle($langs->trans('ViewKanban'), '', 'fa fa-th-list imgforviewmode', $_SERVER["PHP_SELF"].'?mode=kanban'.preg_replace('/(&|\?)*mode=[^&]+/', '', $param), '', ($mode == 'kanban' ? 2 : 1), array('morecss'=>'reposition')); +$newcardbutton .= dolGetButtonTitleSeparator(); $newcardbutton .= dolGetButtonTitle($langs->trans('NewOrder'), '', 'fa fa-plus-circle', $url, '', $contextpage == 'orderlist' && $permissiontoadd); // Lines of title fields diff --git a/htdocs/commande/list_det.php b/htdocs/commande/list_det.php index 58a9b7ce217a0..9029cb986eadc 100644 --- a/htdocs/commande/list_det.php +++ b/htdocs/commande/list_det.php @@ -11,7 +11,7 @@ * Copyright (C) 2015 Jean-François Ferry * Copyright (C) 2016-2021 Ferran Marcet * Copyright (C) 2018 Charlene Benke - * Copyright (C) 2021-2022 Anthony Berton + * Copyright (C) 2021-2023 Anthony Berton * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -48,6 +48,11 @@ require_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php'; require_once DOL_DOCUMENT_ROOT.'/projet/class/project.class.php'; +if (isModEnabled('categorie')) { + require_once DOL_DOCUMENT_ROOT.'/core/class/html.formcategory.class.php'; + require_once DOL_DOCUMENT_ROOT.'/categories/class/categorie.class.php'; +} + // Load translation files required by the page $langs->loadLangs(array("orders", 'sendings', 'deliveries', 'companies', 'compta', 'bills', 'stocks', 'products')); @@ -73,9 +78,19 @@ $search_dateorder_end = dol_mktime(23, 59, 59, GETPOST('search_dateorder_end_month', 'int'), GETPOST('search_dateorder_end_day', 'int'), GETPOST('search_dateorder_end_year', 'int')); $search_datedelivery_start = dol_mktime(0, 0, 0, GETPOST('search_datedelivery_start_month', 'int'), GETPOST('search_datedelivery_start_day', 'int'), GETPOST('search_datedelivery_start_year', 'int')); $search_datedelivery_end = dol_mktime(23, 59, 59, GETPOST('search_datedelivery_end_month', 'int'), GETPOST('search_datedelivery_end_day', 'int'), GETPOST('search_datedelivery_end_year', 'int')); -$search_product_category = GETPOST('search_product_category', 'int'); + +if (isModEnabled('categorie')) { + $search_product_category_array = GETPOST("search_category_".Categorie::TYPE_PRODUCT."_list", "array"); + $searchCategoryProductOperator = 0; + if (GETPOSTISSET('formfilteraction')) { + $searchCategoryProductOperator = GETPOSTINT('search_category_product_operator'); + } elseif (!empty($conf->global->MAIN_SEARCH_CAT_OR_BY_DEFAULT)) { + $searchCategoryProductOperator = $conf->global->MAIN_SEARCH_CAT_OR_BY_DEFAULT; + } +} // Détail commande +$search_id = GETPOST('search_id', 'alpha'); $search_refProduct = GETPOST('search_refProduct', 'alpha'); $search_descProduct = GETPOST('search_descProduct', 'alpha'); @@ -158,7 +173,7 @@ $fieldstosearchall = array( 'c.ref'=>'Ref', 'c.ref_client'=>'RefCustomerOrder', - 'pd.description'=>'Description', + 'cdet.description'=>'Description', 's.nom'=>"ThirdParty", 's.name_alias'=>"AliasNameShort", 's.zip'=>"Zip", @@ -172,8 +187,9 @@ $checkedtypetiers = 0; $arrayfields = array( // Détail commande + 'rowid'=> array('label'=>'TechnicalID', 'checked'=>1, 'position'=>1, 'enabled'=>(getDolGlobalInt('MAIN_SHOW_TECHNICAL_ID') ? 1 : 0)), 'pr.ref'=> array('label'=>'ProductRef', 'checked'=>1, 'position'=>1), - 'pr.desc'=> array('label'=>'ProductDescription', 'checked'=>1, 'position'=>1), + 'pr.desc'=> array('label'=>'ProductDescription', 'checked'=>-1, 'position'=>1), 'cdet.qty'=> array('label'=>'QtyOrdered', 'checked'=>1, 'position'=>1), 'c.ref'=>array('label'=>"Ref", 'checked'=>1, 'position'=>5), 'c.ref_client'=>array('label'=>"RefCustomerOrder", 'checked'=>-1, 'position'=>10), @@ -255,7 +271,9 @@ $search_categ = ''; $search_user = ''; $search_sale = ''; - $search_product_category = ''; + $search_product_category_array = array(); + $searchCategoryProductOperator = 0; + $search_id = ''; $search_refProduct = ''; $search_descProduct = ''; $search_ref = ''; @@ -304,19 +322,20 @@ // Mass actions $objectclass = 'Commande'; $objectlabel = 'Orders'; - $permissiontoread = $user->rights->commande->lire; - $permissiontoadd = $user->rights->commande->creer; - $permissiontodelete = $user->rights->commande->supprimer; + $permissiontoread = $user->hasRight("commande", "lire"); + $permissiontoadd = $user->hasRight("commande", "creer"); + $permissiontodelete = $user->hasRight("commande", "supprimer"); + $permissiontoexport = $user->hasRight("commande", "commande", "export"); if (!empty($conf->global->MAIN_USE_ADVANCED_PERMS)) { - $permissiontovalidate = $user->rights->commande->order_advance->validate; - $permissiontoclose = $user->rights->commande->order_advance->close; - $permissiontocancel = $user->rights->commande->order_advance->annuler; - $permissiontosendbymail = $user->rights->commande->order_advance->send; + $permissiontovalidate = $user->hasRight("commande", "order_advance", "validate"); + $permissiontoclose = $user->hasRight("commande", "order_advance", "close"); + $permissiontocancel = $user->hasRight("commande", "order_advance", "annuler"); + $permissiontosendbymail = $user->hasRight("commande", "order_advance", "send"); } else { - $permissiontovalidate = $user->rights->commande->creer; - $permissiontoclose = $user->rights->commande->creer; - $permissiontocancel = $user->rights->commande->creer; - $permissiontosendbymail = $user->rights->commande->creer; + $permissiontovalidate = $user->hasRight("commande", "creer"); + $permissiontoclose = $user->hasRight("commande", "creer"); + $permissiontocancel = $user->hasRight("commande", "creer"); + $permissiontosendbymail = $user->hasRight("commande", "creer"); } $uploaddir = $conf->commande->multidir_output[$conf->entity]; $triggersendname = 'ORDER_SENTBYMAIL'; @@ -400,24 +419,17 @@ if (!empty($extrafields->attributes[$object->table_element]['label']) && is_array($extrafields->attributes[$object->table_element]['label']) && count($extrafields->attributes[$object->table_element]['label'])) { $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."commande_extrafields as ef on (c.rowid = ef.fk_object)"; } -if ($sall || $search_product_category > 0) { - $sql .= ' LEFT JOIN '.MAIN_DB_PREFIX.'commandedet as pd ON c.rowid=pd.fk_commande'; -} -if ($search_product_category > 0) { - $sql .= ' LEFT JOIN '.MAIN_DB_PREFIX.'categorie_product as cp ON cp.fk_product=pd.fk_product'; -} $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."projet as p ON p.rowid = c.fk_projet"; $sql .= ' LEFT JOIN '.MAIN_DB_PREFIX.'user as u ON c.fk_user_author = u.rowid'; // We'll need this table joined to the select in order to filter by sale -if ($search_sale > 0 || (empty($user->rights->societe->client->voir) && !$socid)) { +if ($search_sale > 0 || (!$user->hasRight('societe', 'client', 'voir') && !$socid)) { $sql .= ", ".MAIN_DB_PREFIX."societe_commerciaux as sc"; } if ($search_user > 0) { $sql .= ", ".MAIN_DB_PREFIX."element_contact as ec"; $sql .= ", ".MAIN_DB_PREFIX."c_type_contact as tc"; } - // Add table from hooks $parameters = array(); $reshook = $hookmanager->executeHooks('printFieldListFrom', $parameters, $object); // Note that $action and $object may have been modified by hook @@ -436,21 +448,20 @@ if (!empty($disablelinefree)) { $sql .= " AND cdet.fk_product IS NOT NULL"; } -if ($search_product_category > 0) { - $sql .= " AND cp.fk_categorie = ".((int) $search_product_category); -} if ($socid > 0) { $sql .= ' AND s.rowid = '.((int) $socid); } -if (empty($user->rights->societe->client->voir) && !$socid) { +if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= " AND s.rowid = sc.fk_soc AND sc.fk_user = ".((int) $user->id); } +if ($search_id) { + $sql .= natural_search('cdet.rowid', $search_id); +} if ($search_refProduct) { $sql .= natural_search('pr.ref', $search_refProduct); } if ($search_descProduct) { - $sql .= natural_search('pr.label', $search_descProduct); - $sql .= natural_search('cdet.description', $search_descProduct); + $sql .= natural_search(array('pr.label','cdet.description'), $search_descProduct); } if ($search_ref) { $sql .= natural_search('c.ref', $search_ref); @@ -586,8 +597,39 @@ $sql .= " AND c.fk_input_reason = ".((int) $search_fk_input_reason); } +// Search for tag/category ($searchCategoryProductList is an array of ID) +$searchCategoryProductList = $search_product_category_array; +if (!empty($searchCategoryProductList)) { + $searchCategoryProjectSqlList = array(); + $listofcategoryid = ''; + foreach ($searchCategoryProductList as $searchCategoryProject) { + if (intval($searchCategoryProject) == -2) { + $searchCategoryProjectSqlList[] = "NOT EXISTS (SELECT cp.fk_product FROM ".MAIN_DB_PREFIX."categorie_product as cp WHERE cdet.fk_product = cp.fk_product)"; + } elseif (intval($searchCategoryProject) > 0) { + if ($searchCategoryProductOperator == 0) { + $searchCategoryProjectSqlList[] = " EXISTS (SELECT cp.fk_product FROM ".MAIN_DB_PREFIX."categorie_product as cp WHERE cdet.fk_product = cp.fk_product AND cp.fk_categorie = ".((int) $searchCategoryProject).")"; + } else { + $listofcategoryid .= ($listofcategoryid ? ', ' : '') .((int) $searchCategoryProject); + } + } + } + if ($listofcategoryid) { + $searchCategoryProjectSqlList[] = " EXISTS (SELECT cp.fk_product FROM ".MAIN_DB_PREFIX."categorie_product as cp WHERE cdet.fk_product = cp.fk_product AND cp.fk_categorie IN (".$db->sanitize($listofcategoryid)."))"; + } + if ($searchCategoryProductOperator == 1) { + if (!empty($searchCategoryProjectSqlList)) { + $sql .= " AND (".implode(' OR ', $searchCategoryProjectSqlList).")"; + } + } else { + if (!empty($searchCategoryProjectSqlList)) { + $sql .= " AND (".implode(' AND ', $searchCategoryProjectSqlList).")"; + } + } +} + // Add where from extra fields include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_list_search_sql.tpl.php'; + // Add where from hooks $parameters = array(); $reshook = $hookmanager->executeHooks('printFieldListWhere', $parameters); // Note that $action and $object may have been modified by hook @@ -679,6 +721,16 @@ if ($socid > 0) { $param .= '&socid='.urlencode($socid); } + if ($search_id) { + $param .= '&search_id='.urlencode($search_id); + } + // Détail commande + if ($search_refProduct) { + $param .= '&search_refProduct='.urlencode($search_refProduct); + } + if ($search_descProduct) { + $param .= '&search_descProduct='.urlencode($search_descProduct); + } if ($search_status != '') { $param .= '&search_status='.urlencode($search_status); } @@ -766,8 +818,10 @@ if ($search_type_thirdparty && $search_type_thirdparty != '-1') { $param .= '&search_type_thirdparty='.urlencode($search_type_thirdparty); } - if ($search_product_category != '') { - $param .= '&search_product_category='.urlencode($search_product_category); + if (!empty($search_product_category_array)) { + foreach ($search_product_category_array as $tmpval) { + $param .= '&search_categegory_product_list[]='.urlencode($tmpval); + } } if (($search_categ_cus > 0) || ($search_categ_cus == -2)) { $param .= '&search_categ_cus='.urlencode($search_categ_cus); @@ -814,7 +868,11 @@ // List of mass actions available $arrayofmassactions = array( // TODO add mass action here + // 'builddoc'=>img_picto('', 'pdf', 'class="pictofixedwidth"').$langs->trans("PDFMerge"), ); + // if ($permissiontovalidate) { + // $arrayofmassactions['prevalidate'] = img_picto('', 'check', 'class="pictofixedwidth"').$langs->trans("Validate"); + // } $massactionbutton = $form->selectMassAction('', $arrayofmassactions); $url = DOL_URL_ROOT.'/commande/card.php?action=create'; @@ -860,7 +918,7 @@ $moreforfilter .= '
'; // If the user can view prospects other than his' - if ($user->rights->user->user->lire) { + if ($user->hasRight('user', 'user', 'lire')) { $langs->load("commercial"); $moreforfilter .= '
'; $tmptitle = $langs->trans('ThirdPartiesOfSaleRepresentative'); @@ -868,20 +926,16 @@ $moreforfilter .= '
'; } // If the user can view other users - if ($user->rights->user->user->lire) { + if ($user->hasRight('user', 'user', 'lire')) { $moreforfilter .= '
'; $tmptitle = $langs->trans('LinkedToSpecificUsers'); $moreforfilter .= img_picto($tmptitle, 'user', 'class="pictofixedwidth"').$form->select_dolusers($search_user, 'search_user', $tmptitle, '', 0, '', '', 0, 0, 0, '', 0, '', 'maxwidth250 widthcentpercentminusx'); $moreforfilter .= '
'; } - // If the user can view prospects other than his' + // Filter on categories if (isModEnabled("categorie") && $user->hasRight('categorie', 'lire') && ($user->hasRight('produit', 'lire') || $user->hasRight('service', 'lire'))) { - include_once DOL_DOCUMENT_ROOT.'/categories/class/categorie.class.php'; - $moreforfilter .= '
'; - $tmptitle = $langs->trans('IncludingProductWithTag'); - $cate_arbo = $form->select_all_categories(Categorie::TYPE_PRODUCT, null, 'parent', null, null, 1); - $moreforfilter .= img_picto($tmptitle, 'category', 'class="pictofixedwidth"').$form->selectarray('search_product_category', $cate_arbo, $search_product_category, $tmptitle, 0, 0, '', 0, 0, 0, 0, 'maxwidth300 widthcentpercentminusx', 1); - $moreforfilter .= '
'; + $formcategory = new FormCategory($db); + $moreforfilter .= $formcategory->getFilterBox(Categorie::TYPE_PRODUCT, $search_product_category_array, 'minwidth300imp minwidth300', $searchCategoryProductOperator ? $searchCategoryProductOperator : 0); } if (isModEnabled("categorie") && $user->hasRight('categorie', 'lire')) { require_once DOL_DOCUMENT_ROOT.'/categories/class/categorie.class.php'; @@ -934,13 +988,18 @@ print ''; // Action column - if (!empty($conf->global->MAIN_CHECKBOX_LEFT_COLUMN)) { + if (getDolGlobalInt('MAIN_CHECKBOX_LEFT_COLUMN')) { print ''; $searchpicto = $form->showFilterButtons('left'); print $searchpicto; print ''; } - + // ID + if (!empty($arrayfields['rowid']['checked'])) { + print ''; + print ''; + print ''; + } // Détail commande if (!empty($arrayfields['pr.ref']['checked'])) { print ''; @@ -1214,7 +1273,7 @@ print ''; } // Action column - if (empty($conf->global->MAIN_CHECKBOX_LEFT_COLUMN)) { + if (!getDolGlobalInt('MAIN_CHECKBOX_LEFT_COLUMN')) { print ''; $searchpicto = $form->showFilterButtons(); print $searchpicto; @@ -1225,11 +1284,14 @@ // Fields title print ''; - if (!empty($conf->global->MAIN_CHECKBOX_LEFT_COLUMN)) { + if (getDolGlobalInt('MAIN_CHECKBOX_LEFT_COLUMN')) { print_liste_field_titre($selectedfields, $_SERVER["PHP_SELF"], "", '', $param, '', $sortfield, $sortorder, 'maxwidthsearch center '); } // Détail commande + if (!empty($arrayfields['rowid']['checked'])) { + print_liste_field_titre($arrayfields['rowid']['label'], $_SERVER["PHP_SELF"], 'rowid', '', $param, '', $sortfield, $sortorder); + } if (!empty($arrayfields['pr.ref']['checked'])) { print_liste_field_titre($arrayfields['pr.ref']['label'], $_SERVER["PHP_SELF"], 'pr.ref', '', $param, '', $sortfield, $sortorder); } @@ -1385,7 +1447,7 @@ if (!empty($arrayfields['c.fk_statut']['checked'])) { print_liste_field_titre($arrayfields['c.fk_statut']['label'], $_SERVER["PHP_SELF"], "c.fk_statut", "", $param, '', $sortfield, $sortorder, 'center '); } - if (empty($conf->global->MAIN_CHECKBOX_LEFT_COLUMN)) { + if (!getDolGlobalInt('MAIN_CHECKBOX_LEFT_COLUMN')) { print_liste_field_titre($selectedfields, $_SERVER["PHP_SELF"], "", '', $param, '', $sortfield, $sortorder, 'maxwidthsearch center '); } print ''."\n"; @@ -1437,8 +1499,7 @@ $oldref = $obj->product_ref; } if ($oldref != $obj->product_ref && $sortfield == 'pr.ref') { - // TODO make new /core/tpl/list_print_sub_total.php - include DOL_DOCUMENT_ROOT.'/core/tpl/list_print_total.tpl.php'; + include DOL_DOCUMENT_ROOT.'/core/tpl/list_print_subtotal.tpl.php'; $oldref = $obj->product_ref; } @@ -1462,7 +1523,6 @@ $generic_commande->statut = $obj->fk_statut; $generic_commande->billed = $obj->billed; $generic_commande->date = $db->jdate($obj->date_commande); - $generic_commande->date_livraison = $db->jdate($obj->date_delivery); // deprecated $generic_commande->delivery_date = $db->jdate($obj->date_delivery); $generic_commande->ref_client = $obj->ref_client; $generic_commande->total_ht = $obj->c_total_ht; @@ -1486,7 +1546,7 @@ print ''; // Action column - if (!empty($conf->global->MAIN_CHECKBOX_LEFT_COLUMN)) { + if (getDolGlobalInt('MAIN_CHECKBOX_LEFT_COLUMN')) { print ''; if ($massactionbutton || $massaction) { // If we are in select mode (massactionbutton defined) or if we have already selected and sent an action ($massaction) defined $selected = 0; @@ -1502,6 +1562,14 @@ } // Détail commande + // ID + if (!empty($arrayfields['rowid']['checked'])) { + print ''.$obj->rowid.''; + if (!$i) { + $totalarray['nbfield']++; + } + } + // Product Ref if (!empty($arrayfields['pr.ref']['checked'])) { if (!empty($obj->product_rowid)) { @@ -1524,7 +1592,9 @@ if (!empty($arrayfields['pr.desc']['checked'])) { // print ''.$obj->description.''; !empty($obj->product_label) ? $labelproduct = $obj->product_label : $labelproduct = $obj->description; - print ''.dol_escape_htmltag($labelproduct).''; + print ''; + print dolGetFirstLineOfText(dolPrintHTML($labelproduct), 5); + print ''; if (!$i) { $totalarray['nbfield']++; @@ -1533,16 +1603,19 @@ // Product QtyOrdered if (!empty($arrayfields['cdet.qty']['checked'])) { print ''.$obj->qty.''; - if (isset($totalarray['val']['cdet.qty'])) { + if (isset($totalarray['val']['cdet.qty']) || isset($subtotalarray['val']['cdet.qty']) ) { $totalarray['val']['cdet.qty'] += $obj->qty; + $subtotalarray['val']['cdet.qty'] += $obj->qty; } else { $totalarray['val']['cdet.qty'] = $obj->qty; + $subtotalarray['val']['cdet.qty'] = $obj->qty; } if (!$i) { $totalarray['nbfield']++; } if (!$i) { $totalarray['pos'][$totalarray['nbfield']] = 'cdet.qty'; + $totalarray['pos'][$subtotalarray['nbfield']] = 'cdet.qty'; } } @@ -1736,11 +1809,14 @@ } if (!$i) { $totalarray['pos'][$totalarray['nbfield']] = 'cdet.total_ht'; + $totalarray['pos'][$subtotalarray['nbfield']] = 'cdet.total_ht'; } - if (isset($totalarray['val']['cdet.total_ht'])) { + if (isset($totalarray['val']['cdet.total_ht']) || isset($subtotalarray['val']['cdet.total_ht'])) { $totalarray['val']['cdet.total_ht'] += $obj->total_ht; + $subtotalarray['val']['cdet.total_ht'] += $obj->total_ht; } else { $totalarray['val']['cdet.total_ht'] = $obj->total_ht; + $subtotalarray['val']['cdet.total_ht'] = $obj->total_ht; } } // Amount VAT @@ -1751,8 +1827,10 @@ } if (!$i) { $totalarray['pos'][$totalarray['nbfield']] = 'cdet.total_tva'; + $totalarray['pos'][$subtotalarray['nbfield']] = 'cdet.total_tva'; } $totalarray['val']['cdet.total_tva'] += $obj->total_tva; + $subtotalarray['val']['cdet.total_tva'] += $obj->total_tva; } // Amount TTC if (!empty($arrayfields['cdet.total_ttc']['checked'])) { @@ -1762,8 +1840,10 @@ } if (!$i) { $totalarray['pos'][$totalarray['nbfield']] = 'cdet.total_ttc'; + $subtotalarray['pos'][$totalarray['nbfield']] = 'cdet.total_ttc'; } $totalarray['val']['cdet.total_ttc'] += $obj->total_ttc; + $subtotalarray['val']['cdet.total_ttc'] += $obj->total_ttc; } // Warehouse if (!empty($arrayfields['c.fk_warehouse']['checked'])) { @@ -1906,8 +1986,10 @@ } if (!$i) { $totalarray['pos'][$totalarray['nbfield']] = 'total_margin'; + $totalarray['pos'][$subtotalarray['nbfield']] = 'total_margin'; } $totalarray['val']['total_margin'] += $marginInfo['total_margin']; + $subtotalarray['val']['total_margin'] += $marginInfo['total_margin']; } // Total margin rate if (!empty($arrayfields['total_margin_rate']['checked'])) { @@ -1924,12 +2006,15 @@ } if (!$i) { $totalarray['pos'][$totalarray['nbfield']] = 'total_mark_rate'; + $totalarray['pos'][$subtotalarray['nbfield']] = 'total_mark_rate'; } if ($i >= $imaxinloop - 1) { if (!empty($total_ht)) { $totalarray['val']['total_mark_rate'] = price2num($total_margin * 100 / $total_ht, 'MT'); + $subtotalarray['val']['total_mark_rate'] = price2num($total_margin * 100 / $total_ht, 'MT'); } else { $totalarray['val']['total_mark_rate'] = ''; + $subtotalarray['val']['total_mark_rate'] = ''; } } } @@ -2116,7 +2201,7 @@ } // Action column - if (empty($conf->global->MAIN_CHECKBOX_LEFT_COLUMN)) { + if (!getDolGlobalInt('MAIN_CHECKBOX_LEFT_COLUMN')) { print ''; if ($massactionbutton || $massaction) { // If we are in select mode (massactionbutton defined) or if we have already selected and sent an action ($massaction) defined $selected = 0; @@ -2130,15 +2215,16 @@ $totalarray['nbfield']++; } } - // $totalarray['nbfield']--; - // $totalarray['nbfield']--; + print "\n"; $total += $obj->total_ht; $subtotal += $obj->total_ht; $i++; } - + if ($sortfield == 'pr.ref') { + include DOL_DOCUMENT_ROOT.'/core/tpl/list_print_subtotal.tpl.php'; + } // Show total line include DOL_DOCUMENT_ROOT.'/core/tpl/list_print_total.tpl.php'; diff --git a/htdocs/commande/stats/index.php b/htdocs/commande/stats/index.php index e1eaf7466c51d..69d17fe81e9fa 100644 --- a/htdocs/commande/stats/index.php +++ b/htdocs/commande/stats/index.php @@ -40,12 +40,20 @@ $HEIGHT = DolGraph::getDefaultGraphSizeForStats('height'); $mode = GETPOSTISSET("mode") ? GETPOST("mode", 'aZ09') : 'customer'; -if ($mode == 'customer' && !$user->rights->commande->lire) { + +$usercanreadcustumerstatistic = $user->hasRight('commande', 'lire'); +$usercanreadsupplierstatistic = $user->hasRight('fournisseur', 'commande', 'lire'); +if (getDolGlobalInt('MAIN_NEED_EXPORT_PERMISSION_TO_READ_STATISTICS')) { + $usercanreadcustumerstatistic = $user->hasRight('commande', 'commande', 'export'); + $usercanreadsupplierstatistic = $user->hasRight('fournisseur', 'commande', 'export'); +} +if ($mode == 'customer' && !$usercanreadcustumerstatistic) { accessforbidden(); } -if ($mode == 'supplier' && empty($user->rights->fournisseur->commande->lire)) { +if ($mode == 'supplier' && !$usercanreadsupplierstatistic) { accessforbidden(); } + if ($mode == 'supplier') { $object_status = GETPOST('object_status', 'array:int'); $object_status = implode(',', $object_status); @@ -119,7 +127,7 @@ // $data = array(array('Lib',val1,val2,val3),...) -if (empty($user->rights->societe->client->voir) || $user->socid) { +if (!$user->hasRight('societe', 'client', 'voir') || $user->socid) { $filenamenb = $dir.'/ordersnbinyear-'.$user->id.'-'.$year.'.png'; if ($mode == 'customer') { $fileurlnb = DOL_URL_ROOT.'/viewimage.php?modulepart=orderstats&file=ordersnbinyear-'.$user->id.'-'.$year.'.png'; @@ -165,7 +173,7 @@ //var_dump($data); // $data = array(array('Lib',val1,val2,val3),...) -if (empty($user->rights->societe->client->voir) || $user->socid) { +if (!$user->hasRight('societe', 'client', 'voir') || $user->socid) { $filenameamount = $dir.'/ordersamountinyear-'.$user->id.'-'.$year.'.png'; if ($mode == 'customer') { $fileurlamount = DOL_URL_ROOT.'/viewimage.php?modulepart=orderstats&file=ordersamountinyear-'.$user->id.'-'.$year.'.png'; @@ -209,7 +217,7 @@ $data = $stats->getAverageByMonthWithPrevYear($endyear, $startyear); -if (empty($user->rights->societe->client->voir) || $user->socid) { +if (!$user->hasRight('societe', 'client', 'voir') || $user->socid) { $filename_avg = $dir.'/ordersaverage-'.$user->id.'-'.$year.'.png'; if ($mode == 'customer') { $fileurl_avg = DOL_URL_ROOT.'/viewimage.php?modulepart=orderstats&file=ordersaverage-'.$user->id.'-'.$year.'.png'; diff --git a/htdocs/compta/accounting-files.php b/htdocs/compta/accounting-files.php index e4a6c5872e564..4e7c92a8881d8 100644 --- a/htdocs/compta/accounting-files.php +++ b/htdocs/compta/accounting-files.php @@ -618,16 +618,14 @@ $socid = 0; if (isModEnabled('multicompany') && is_object($mc)) { $mc->getInfo($conf->entity); - print '('.$langs->trans("Entity").' : '; - print ""; + print '   '.$langs->trans("Entity").' : '; if (!empty($conf->global->MULTICOMPANY_ALLOW_EXPORT_ACCOUNTING_DOC_FOR_ALL_ENTITIES)) { $socid = $mc->id; print $mc->select_entities(GETPOSTISSET('search_entity') ? GETPOST('search_entity', 'int') : $mc->id, 'search_entity', '', false, false, false, false, true); } else { print $mc->label; } - print ""; - print ")\n"; + print "\n"; } print '
'; diff --git a/htdocs/compta/bank/bankentries_list.php b/htdocs/compta/bank/bankentries_list.php index db28a176b62ed..d518c316df2a8 100644 --- a/htdocs/compta/bank/bankentries_list.php +++ b/htdocs/compta/bank/bankentries_list.php @@ -246,7 +246,7 @@ // Conciliation if ((GETPOST('confirm_savestatement', 'alpha') || GETPOST('confirm_reconcile', 'alpha')) && (GETPOST("num_releve", "alpha") || !empty($rowids)) - && !empty($user->rights->banque->consolidate) + && $user->hasRight('banque', 'consolidate') && (!GETPOSTISSET('pageplusone') || (GETPOST('pageplusone') == GETPOST('pageplusoneold')))) { $error = 0; @@ -569,7 +569,7 @@ } // If not cash account and can be reconciliate - if ($user->rights->banque->consolidate) { + if ($user->hasRight('banque', 'consolidate')) { $newparam = $param; $newparam = preg_replace('/search_conciliated=\d+/i', '', $newparam); $buttonreconcile = ''.$titletoconciliatemanual.''; @@ -579,7 +579,7 @@ if ($allowautomaticconciliation) { // If not cash account and can be reconciliate - if ($user->rights->banque->consolidate) { + if ($user->hasRight('banque', 'consolidate')) { $newparam = $param; $newparam = preg_replace('/search_conciliated=\d+/i', '', $newparam); $buttonreconcile .= ' '.$titletoconciliateauto.''; @@ -820,7 +820,7 @@ } // Form to reconcile - if ($user->rights->banque->consolidate && $action == 'reconcile') { + if ($user->hasRight('banque', 'consolidate') && $action == 'reconcile') { print '
'; $texttoshow = $langs->trans("InputReceiptNumber").': '; $yyyy = dol_substr($langs->transnoentitiesnoconv("Year"), 0, 1).substr($langs->transnoentitiesnoconv("Year"), 0, 1).substr($langs->transnoentitiesnoconv("Year"), 0, 1).substr($langs->transnoentitiesnoconv("Year"), 0, 1); @@ -1080,7 +1080,7 @@ } $varpage = empty($contextpage) ? $_SERVER["PHP_SELF"] : $contextpage; - $selectedfields = $form->multiSelectArrayWithCheckbox('selectedfields', $arrayfields, $varpage); // This also change content of $arrayfields + $selectedfields = ($mode != 'kanban' ? $form->multiSelectArrayWithCheckbox('selectedfields', $arrayfields, $varpage, getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN', '')) : ''); // This also change content of $arrayfields // When action is 'reconcile', we force to have the column num_releve always enabled (otherwise we can't make reconciliation). if ($action == 'reconcile') { $arrayfields['b.num_releve']['checked'] = 1; @@ -1089,8 +1089,14 @@ print '
'; print ''."\n"; - print ''; + // Actions and select + if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { + print ''; + } if (!empty($arrayfields['b.rowid']['checked'])) { print ''; + if (!getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { + print ''; + } print "\n"; // Fields title print ''; + // Actions and select + if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { + print_liste_field_titre($selectedfields, $_SERVER["PHP_SELF"], "", '', '', '', $sortfield, $sortorder, 'maxwidthsearch center '); + } if (!empty($arrayfields['b.rowid']['checked'])) { print_liste_field_titre($arrayfields['b.rowid']['label'], $_SERVER['PHP_SELF'], 'b.rowid', '', $param, '', $sortfield, $sortorder); } @@ -1186,10 +1198,10 @@ print_liste_field_titre($arrayfields['b.dateo']['label'], $_SERVER['PHP_SELF'], 'b.dateo', '', $param, '', $sortfield, $sortorder, "center "); } if (!empty($arrayfields['b.datev']['checked'])) { - print_liste_field_titre($arrayfields['b.datev']['label'], $_SERVER['PHP_SELF'], 'b.datev,b.dateo,b.rowid', '', $param, 'align="center"', $sortfield, $sortorder); + print_liste_field_titre($arrayfields['b.datev']['label'], $_SERVER['PHP_SELF'], 'b.datev,b.dateo,b.rowid', '', $param, '', $sortfield, $sortorder, 'center '); } if (!empty($arrayfields['type']['checked'])) { - print_liste_field_titre($arrayfields['type']['label'], $_SERVER['PHP_SELF'], '', '', $param, 'align="center"', $sortfield, $sortorder); + print_liste_field_titre($arrayfields['type']['label'], $_SERVER['PHP_SELF'], '', '', $param, '', $sortfield, $sortorder, 'center '); } if (!empty($arrayfields['b.num_chq']['checked'])) { print_liste_field_titre($arrayfields['b.num_chq']['label'], $_SERVER['PHP_SELF'], 'b.num_chq', '', $param, '', $sortfield, $sortorder, "center "); @@ -1229,7 +1241,9 @@ $reshook = $hookmanager->executeHooks('printFieldListTitle', $parameters); // Note that $action and $object may have been modified by hook print $hookmanager->resPrint; // Actions and select - print_liste_field_titre($selectedfields, $_SERVER["PHP_SELF"], "", '', '', 'align="center"', $sortfield, $sortorder, 'maxwidthsearch '); + if (!getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { + print_liste_field_titre($selectedfields, $_SERVER["PHP_SELF"], "", '', '', '', $sortfield, $sortorder, 'maxwidthsearch center '); + } print "\n"; $balance = 0; // For balance @@ -1283,7 +1297,7 @@ $balancecalculated = true; // Output a line with start balance - if ($user->rights->banque->consolidate && $action == 'reconcile') { + if ($user->hasRight('banque', 'consolidate') && $action == 'reconcile') { $tmpnbfieldbeforebalance = 0; $tmpnbfieldafterbalance = 0; $balancefieldfound = 0; @@ -1317,6 +1331,10 @@ } print ''; + // Action column + if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { + print ''; + } if ($tmpnbfieldbeforebalance) { print ''; } - print ''; + // Action column + if (!getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { + print ''; + } print ''; } } @@ -1388,6 +1410,21 @@ print ''; + // Action column + if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { + if ($massactionbutton || $massaction) { // If we are in select mode (massactionbutton defined) or if we have already selected and sent an action ($massaction) defined + $selected = 0; + if (in_array($obj->rowid, $arrayofselected)) { + $selected = 1; + } + print ''; + } + print ''; + if (!$i) { + $totalarray['nbfield']++; + } + } + // Ref if (!empty($arrayfields['b.rowid']['checked'])) { print ''; + if (!$i) { + $totalarray['nbfield']++; } - print ''; - } - print ''; - if (!$i) { - $totalarray['nbfield']++; } print "\n"; @@ -1815,7 +1854,7 @@ print ''; } elseif ($i == $posconciliatecol) { print ''; diff --git a/htdocs/compta/bank/bilan.php b/htdocs/compta/bank/bilan.php index c2e93b27e5904..a683989d831b8 100644 --- a/htdocs/compta/bank/bilan.php +++ b/htdocs/compta/bank/bilan.php @@ -31,7 +31,7 @@ $langs->loadLangs(array('banks', 'categories')); // Security Check Access Control -if (empty($user->rights->banque->lire)) { +if (!$user->hasRight('banque', 'lire')) { accessforbidden(); } diff --git a/htdocs/compta/bank/card.php b/htdocs/compta/bank/card.php index da275c4044bce..f3c590e6ff1ca 100644 --- a/htdocs/compta/bank/card.php +++ b/htdocs/compta/bank/card.php @@ -329,7 +329,7 @@ } } - if ($action == 'confirm_delete' && GETPOST("confirm") == "yes" && $user->rights->banque->configurer) { + if ($action == 'confirm_delete' && GETPOST("confirm") == "yes" && $user->hasRight('banque', 'configurer')) { // Delete $object = new Account($db); $object->fetch(GETPOST("id", "int")); @@ -581,9 +581,11 @@ } if (isModEnabled('paymentbybanktransfer')) { - print ''; - print ''; + if ($mysoc->isInEEC()) { + print ''; + print ''; + } } print '
'; + $searchpicto = $form->showFilterAndCheckAddButtons($massactionbutton ? 1 : 0, 'checkforselect', 1); + print $searchpicto; + print ''; print ''; @@ -1168,14 +1174,20 @@ } // Actions and select - print ''; - $searchpicto = $form->showFilterAndCheckAddButtons($massactionbutton ? 1 : 0, 'checkforselect', 1); - print $searchpicto; - print ''; + $searchpicto = $form->showFilterAndCheckAddButtons($massactionbutton ? 1 : 0, 'checkforselect', 1); + print $searchpicto; + print '
'; print ' '; @@ -1347,9 +1365,13 @@ '; print ''; + print ''; print ' '; print '
'; @@ -1610,8 +1647,8 @@ $companystatic->fetch($companylinked_id); print $companystatic->getNomUrl(1); } elseif ($userlinked_id && - (($type_link == 'payment_salary' && !empty($user->rights->salaries->read)) - || ($type_link == 'payment_sc' && !empty($user->rights->tax->charges->lire)))) { + (($type_link == 'payment_salary' && $user->hasRight('salaries', 'read')) + || ($type_link == 'payment_sc' && $user->hasRight('tax', 'charges', 'lire')))) { // Get object user from cache or load it if (!empty($conf->cache['user'][$userlinked_id])) { $tmpuser = $conf->cache['user'][$userlinked_id]; @@ -1758,7 +1795,7 @@ print img_edit(); print ''; } else { - if ($user->rights->banque->modifier || $user->rights->banque->consolidate) { + if ($user->hasRight('banque', 'modifier') || $user->hasRight('banque', 'consolidate')) { print ''; print img_edit(); print ''; @@ -1772,7 +1809,7 @@ print ' '.img_warning($langs->trans("ReconciliationLate")); } } - if ($user->rights->banque->modifier) { + if ($user->hasRight('banque', 'modifier')) { print 'rowid.'&page='.$page.$param.($sortfield ? '&sortfield='.$sortfield : '').($sortorder ? '&sortorder='.$sortorder : '').'">'; print img_delete('', 'class="marginleftonly"'); print ''; @@ -1780,16 +1817,18 @@ } // Action column - if ($massactionbutton || $massaction) { // If we are in select mode (massactionbutton defined) or if we have already selected and sent an action ($massaction) defined - $selected = 0; - if (in_array($obj->rowid, $arrayofselected)) { - $selected = 1; + if (!getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { + if ($massactionbutton || $massaction) { // If we are in select mode (massactionbutton defined) or if we have already selected and sent an action ($massaction) defined + $selected = 0; + if (in_array($obj->rowid, $arrayofselected)) { + $selected = 1; + } + print ''; + } + print '
'.price($totalarray['totalcred']).''; - if ($user->rights->banque->consolidate && $action == 'reconcile') { + if ($user->hasRight('banque', 'consolidate') && $action == 'reconcile') { print ''; } print '
'.$form->textwithpicto($langs->trans("SEPAXMLPlacePaymentTypeInformationInCreditTransfertransactionInformation"), $langs->trans("SEPAXMLPlacePaymentTypeInformationInCreditTransfertransactionInformationHelp")).''; - print '
'.$form->textwithpicto($langs->trans("SEPAXMLPlacePaymentTypeInformationInCreditTransfertransactionInformation"), $langs->trans("SEPAXMLPlacePaymentTypeInformationInCreditTransfertransactionInformationHelp")).''; + print '
'; print '
'; @@ -830,15 +832,17 @@ print ''; } - // TODO ICS is not used with bank transfer ! if (isModEnabled('paymentbybanktransfer')) { - print ''.$form->textwithpicto($langs->trans("IDS"), $langs->trans("IDS").' ('.$langs->trans("UsedFor", $langs->transnoentitiesnoconv("BankTransfer")).')').''; - print ''.$object->ics_transfer.''; - print ''; - - print ''.$form->textwithpicto($langs->trans("SEPAXMLPlacePaymentTypeInformationInCreditTransfertransactionInformation"), $langs->trans("SEPAXMLPlacePaymentTypeInformationInCreditTransfertransactionInformationHelp")).''; - print (empty($object->pti_in_ctti) ? $langs->trans("No") : $langs->trans("Yes")); - print "\n"; + if (getDolGlobalString("SEPA_USE_IDS")) { // ICS is not used with bank transfer ! + print ''.$form->textwithpicto($langs->trans("IDS"), $langs->trans("IDS").' ('.$langs->trans("UsedFor", $langs->transnoentitiesnoconv("BankTransfer")).')').''; + print ''.$object->ics_transfer.''; + print ''; + } + if ($mysoc->isInEEC()) { + print ''.$form->textwithpicto($langs->trans("SEPAXMLPlacePaymentTypeInformationInCreditTransfertransactionInformation"), $langs->trans("SEPAXMLPlacePaymentTypeInformationInCreditTransfertransactionInformationHelp")).''; + print (empty($object->pti_in_ctti) ? $langs->trans("No") : $langs->trans("Yes")); + print "\n"; + } } print ''.$langs->trans("BankAccountOwner").''; @@ -880,12 +884,12 @@ */ print '
'; - if ($user->rights->banque->configurer) { + if ($user->hasRight('banque', 'configurer')) { print 'id.'">'.$langs->trans("Modify").''; } $canbedeleted = $object->can_be_deleted(); // Renvoi vrai si compte sans mouvements - if ($user->rights->banque->configurer && $canbedeleted) { + if ($user->hasRight('banque', 'configurer') && $canbedeleted) { print 'id.'">'.$langs->trans("Delete").''; } @@ -898,7 +902,7 @@ /* */ /* ************************************************************************** */ - if (GETPOST('id', 'int') && $action == 'edit' && $user->rights->banque->configurer) { + if (GETPOST('id', 'int') && $action == 'edit' && $user->hasRight('banque', 'configurer')) { print load_fiche_titre($langs->trans("EditFinancialAccount"), '', 'bank_account'); if ($conf->use_javascript_ajax) { @@ -1123,14 +1127,14 @@ // IBAN print ''; $tooltip = $langs->trans("Example").':
CH93 0076 2011 6238 5295 7
LT12 1000 0111 0100 1000
FR14 2004 1010 0505 0001 3M02 606
LU28 0019 4006 4475 0000
DE89 3704 0044 0532 0130 00'; - print $form->textwithpicto($langs->trans($ibankey), $tooltip); + print $form->textwithpicto($langs->trans($ibankey), $tooltip, 1, 'help', '', 0, 3, 'iban'); print ''; print ''; // BIC print ''; $tooltip = $langs->trans("Example").': LIABLT2XXXX'; - print $form->textwithpicto($langs->trans($bickey), $tooltip); + print $form->textwithpicto($langs->trans($bickey), $tooltip, 1, 'help', '', 0, 3, 'bic'); print ''; print ''; @@ -1166,12 +1170,15 @@ } if (isModEnabled('paymentbybanktransfer')) { - print ''.$form->textwithpicto($langs->trans("IDS"), $langs->trans("IDS").' ('.$langs->trans("UsedFor", $langs->transnoentitiesnoconv("BankTransfer")).')').''; - print ''; - - print ''.$form->textwithpicto($langs->trans("SEPAXMLPlacePaymentTypeInformationInCreditTransfertransactionInformation"), $langs->trans("SEPAXMLPlacePaymentTypeInformationInCreditTransfertransactionInformationHelp")).''; - print 'pti_in_ctti ? ' checked ' : '') . '>'; - print ''; + if (getDolGlobalString("SEPA_USE_IDS")) { // ICS is not used with bank transfer ! + print ''.$form->textwithpicto($langs->trans("IDS"), $langs->trans("IDS").' ('.$langs->trans("UsedFor", $langs->transnoentitiesnoconv("BankTransfer")).')').''; + print ''; + } + if ($mysoc->isInEEC()) { + print ''.$form->textwithpicto($langs->trans("SEPAXMLPlacePaymentTypeInformationInCreditTransfertransactionInformation"), $langs->trans("SEPAXMLPlacePaymentTypeInformationInCreditTransfertransactionInformationHelp")).''; + print 'pti_in_ctti ? ' checked ' : '') . '>'; + print ''; + } } print ''.$langs->trans("BankAccountOwner").''; diff --git a/htdocs/compta/bank/categ.php b/htdocs/compta/bank/categ.php index fbb52fe4a588e..77e0287479e39 100644 --- a/htdocs/compta/bank/categ.php +++ b/htdocs/compta/bank/categ.php @@ -49,7 +49,7 @@ // Security Check Access Control -if (!$user->rights->banque->configurer) { +if (!$user->hasRight('banque', 'configurer')) { accessforbidden(); } diff --git a/htdocs/compta/bank/class/account.class.php b/htdocs/compta/bank/class/account.class.php index db24c2641c7b4..bf8e7037f5f0b 100644 --- a/htdocs/compta/bank/class/account.class.php +++ b/htdocs/compta/bank/class/account.class.php @@ -278,7 +278,6 @@ class Account extends CommonObject public $ics_transfer; - /** * 'type' if the field format ('integer', 'integer:ObjectClass:PathToClass[:AddCreateButtonOrNot[:Filter]]', 'varchar(x)', 'double(24,8)', 'real', 'price', 'text', 'html', 'date', 'datetime', 'timestamp', 'duration', 'mail', 'phone', 'url', 'password') * Note: Filter can be a string like "(t.ref:like:'SO-%') or (t.date_creation:<:'20160101') or (t.nature:is:NULL)" @@ -1568,11 +1567,11 @@ public function verif() // Call functions to check BAN if (!checkIbanForAccount($this)) { $error++; - $this->error_message = 'IBANNotValid'; + $this->error = 'IBANNotValid'; } if (!checkSwiftForAccount($this)) { $error++; - $this->error_message = 'SwiftNotValid'; + $this->error = 'SwiftNotValid'; } if (! $error) { @@ -1777,7 +1776,7 @@ public static function getAccountNumberOrder() if (!empty($conf->global->BANK_SHOW_ORDER_OPTION)) { if (is_numeric($conf->global->BANK_SHOW_ORDER_OPTION)) { - if ($conf->global->BANK_SHOW_ORDER_OPTION == '1') { + if (getDolGlobalString('BANK_SHOW_ORDER_OPTION') == '1') { $fieldlists = array( 'BankCode', 'DeskCode', @@ -1870,8 +1869,9 @@ public function getKanbanView($option = '', $arraydata = null) $return .= ''; $return .= '
'; $return .= ''.(method_exists($this, 'getNomUrl') ? $this->getNomUrl() : $this->ref).''; - $return .= ''; - + if ($selected >= 0) { + $return .= ''; + } if (property_exists($this, 'type_lib')) { $return .= '
'.substr($this->type_lib[$this->type], 0, 24).'...'; } @@ -2013,6 +2013,10 @@ class AccountLine extends CommonObjectLine public $note; + /** + * User author of the rapprochement. + */ + public $user_rappro; /** @@ -2175,10 +2179,11 @@ public function insert() /** * Delete bank transaction record * - * @param User|null $user User object that delete - * @return int <0 if KO, >0 if OK + * @param User|null $user User object that delete + * @param int $notrigger 1=Does not execute triggers, 0= execute triggers + * @return int <0 if KO, >0 if OK */ - public function delete(User $user = null) + public function delete(User $user = null, $notrigger = 0) { global $conf; @@ -2192,6 +2197,16 @@ public function delete(User $user = null) $this->db->begin(); + if (!$notrigger) { + // Call trigger + $result = $this->call_trigger('BANKACCOUNTLINE_DELETE', $user); + if ($result < 0) { + $this->db->rollback(); + return -1; + } + // End call triggers + } + // Protection to avoid any delete of accounted lines. Protection on by default if (empty($conf->global->BANK_ALLOW_TRANSACTION_DELETION_EVEN_IF_IN_ACCOUNTING)) { $sql = "SELECT COUNT(rowid) as nb FROM ".MAIN_DB_PREFIX."accounting_bookkeeping WHERE doc_type = 'bank' AND fk_doc = ".((int) $this->id); @@ -2331,7 +2346,7 @@ public function update_conciliation(User $user, $cat, $conciliated = 1) // Check statement field if (!empty($conf->global->BANK_STATEMENT_REGEX_RULE)) { - if (!preg_match('/'.$conf->global->BANK_STATEMENT_REGEX_RULE.'/', $this->num_releve)) { + if (!preg_match('/' . getDolGlobalString('BANK_STATEMENT_REGEX_RULE').'/', $this->num_releve)) { $this->errors[] = $langs->trans("ErrorBankStatementNameMustFollowRegex", $conf->global->BANK_STATEMENT_REGEX_RULE); return -1; } @@ -2518,19 +2533,11 @@ public function info($id) if ($result) { if ($this->db->num_rows($result)) { $obj = $this->db->fetch_object($result); - $this->id = $obj->rowid; - if ($obj->fk_user_author) { - $cuser = new User($this->db); - $cuser->fetch($obj->fk_user_author); - $this->user_creation = $cuser; - } - if ($obj->fk_user_rappro) { - $ruser = new User($this->db); - $ruser->fetch($obj->fk_user_rappro); - $this->user_rappro = $ruser; - } + $this->id = $obj->rowid; + $this->user_creation_id = $obj->fk_user_author; + $this->user_rappro = $obj->fk_user_rappro; $this->date_creation = $this->db->jdate($obj->datec); $this->date_modification = $this->db->jdate($obj->datem); //$this->date_rappro = $obj->daterappro; // Not yet managed diff --git a/htdocs/compta/bank/class/paymentvarious.class.php b/htdocs/compta/bank/class/paymentvarious.class.php index 3ae95881487ed..74434a047c896 100644 --- a/htdocs/compta/bank/class/paymentvarious.class.php +++ b/htdocs/compta/bank/class/paymentvarious.class.php @@ -176,6 +176,12 @@ class PaymentVarious extends CommonObject ); // END MODULEBUILDER PROPERTIES + /** + * Draft status + */ + const STATUS_DRAFT = 0; + + /** * Constructor * @@ -622,15 +628,19 @@ public function getLibStatut($mode = 0) public function LibStatut($status, $mode = 0) { // phpcs:enable + global $langs; + + if (empty($status)) { + $status = 0; + } + if (empty($this->labelStatus) || empty($this->labelStatusShort)) { - global $langs; - //$langs->load("mymodule@mymodule"); - /*$this->labelStatus[self::STATUS_DRAFT] = $langs->transnoentitiesnoconv('Draft'); - $this->labelStatus[self::STATUS_VALIDATED] = $langs->transnoentitiesnoconv('Enabled'); - $this->labelStatus[self::STATUS_CANCELED] = $langs->transnoentitiesnoconv('Disabled'); + $this->labelStatus[self::STATUS_DRAFT] = $langs->transnoentitiesnoconv('Draft'); + //$this->labelStatus[self::STATUS_VALIDATED] = $langs->transnoentitiesnoconv('Enabled'); + //$this->labelStatus[self::STATUS_CANCELED] = $langs->transnoentitiesnoconv('Disabled'); $this->labelStatusShort[self::STATUS_DRAFT] = $langs->transnoentitiesnoconv('Draft'); - $this->labelStatusShort[self::STATUS_VALIDATED] = $langs->transnoentitiesnoconv('Enabled'); - $this->labelStatusShort[self::STATUS_CANCELED] = $langs->transnoentitiesnoconv('Disabled');*/ + //$this->labelStatusShort[self::STATUS_VALIDATED] = $langs->transnoentitiesnoconv('Enabled'); + //$this->labelStatusShort[self::STATUS_CANCELED] = $langs->transnoentitiesnoconv('Disabled'); } $statusType = 'status'.$status; @@ -734,19 +744,12 @@ public function info($id) if ($result) { if ($this->db->num_rows($result)) { $obj = $this->db->fetch_object($result); + $this->id = $obj->rowid; - if ($obj->fk_user_author) { - $cuser = new User($this->db); - $cuser->fetch($obj->fk_user_author); - $this->user_creation = $cuser; - } + $this->user_creation = $obj->fk_user_author; + $this->user_modification_id = $obj->fk_user_modif; $this->date_creation = $this->db->jdate($obj->datec); - if ($obj->fk_user_modif) { - $muser = new User($this->db); - $muser->fetch($obj->fk_user_modif); - $this->user_modif = $muser; - } - $this->date_modif = $this->db->jdate($obj->tms); + $this->date_modification = $this->db->jdate($obj->tms); } $this->db->free($result); } else { @@ -805,7 +808,9 @@ public function getKanbanView($option = '', $arraydata = null) $return .= ''; $return .= '
'; $return .= ''.(method_exists($this, 'getNomUrl') ? $this->getNomUrl(1) : $this->ref).''; - $return .= ''; + if ($selected >= 0) { + $return .= ''; + } if (property_exists($this, 'fk_bank')) { $return .= ' | '.$this->fk_bank.''; } diff --git a/htdocs/compta/bank/info.php b/htdocs/compta/bank/info.php index 729ccc53fdcf6..78973debce8ac 100644 --- a/htdocs/compta/bank/info.php +++ b/htdocs/compta/bank/info.php @@ -48,7 +48,7 @@ } $result = restrictedArea($user, 'banque', $accountid, 'bank_account'); -if (empty($user->rights->banque->lire) && empty($user->rights->banque->consolidate)) { +if (!$user->hasRight('banque', 'lire') && !$user->hasRight('banque', 'consolidate')) { accessforbidden(); } diff --git a/htdocs/compta/bank/line.php b/htdocs/compta/bank/line.php index fcf7b3c23f945..bb0000f0dc60e 100644 --- a/htdocs/compta/bank/line.php +++ b/htdocs/compta/bank/line.php @@ -73,7 +73,7 @@ } $result = restrictedArea($user, 'banque', $accountoldid, 'bank_account'); -if (empty($user->rights->banque->lire) && empty($user->rights->banque->consolidate)) { +if (!$user->hasRight('banque', 'lire') && !$user->hasRight('banque', 'consolidate')) { accessforbidden(); } @@ -99,21 +99,21 @@ } -if ($user->rights->banque->consolidate && $action == 'donext') { +if ($user->hasRight('banque', 'consolidate') && $action == 'donext') { $al = new AccountLine($db); $al->dateo_next(GETPOST("rowid", 'int')); -} elseif ($user->rights->banque->consolidate && $action == 'doprev') { +} elseif ($user->hasRight('banque', 'consolidate') && $action == 'doprev') { $al = new AccountLine($db); $al->dateo_previous(GETPOST("rowid", 'int')); -} elseif ($user->rights->banque->consolidate && $action == 'dvnext') { +} elseif ($user->hasRight('banque', 'consolidate') && $action == 'dvnext') { $al = new AccountLine($db); $al->datev_next(GETPOST("rowid", 'int')); -} elseif ($user->rights->banque->consolidate && $action == 'dvprev') { +} elseif ($user->hasRight('banque', 'consolidate') && $action == 'dvprev') { $al = new AccountLine($db); $al->datev_previous(GETPOST("rowid", 'int')); } -if ($action == 'confirm_delete_categ' && $confirm == "yes" && $user->rights->banque->modifier) { +if ($action == 'confirm_delete_categ' && $confirm == "yes" && $user->hasRight('banque', 'modifier')) { $cat1 = GETPOST("cat1", 'int'); if (!empty($rowid) && !empty($cat1)) { $sql = "DELETE FROM ".MAIN_DB_PREFIX."bank_class WHERE lineid = ".((int) $rowid)." AND fk_categ = ".((int) $cat1); @@ -125,7 +125,7 @@ } } -if ($user->rights->banque->modifier && $action == "update") { +if ($user->hasRight('banque', 'modifier') && $action == "update") { $error = 0; $result = $object->fetch($rowid); @@ -232,7 +232,7 @@ } // Reconcile -if ($user->rights->banque->consolidate && ($action == 'num_releve' || $action == 'setreconcile')) { +if ($user->hasRight('banque', 'consolidate') && ($action == 'num_releve' || $action == 'setreconcile')) { $num_rel = trim(GETPOST("num_rel")); $rappro = GETPOST('reconciled') ? 1 : 0; @@ -467,7 +467,7 @@ print "".$langs->trans("Type")." / ".$langs->trans("Numero"); print ' ('.$langs->trans("ChequeOrTransferNumber").')'; print ""; - if ($user->rights->banque->modifier || $user->rights->banque->consolidate) { + if ($user->hasRight('banque', 'modifier') || $user->hasRight('banque', 'consolidate')) { print ''; $form->select_types_paiements($objp->fk_type, "value", '', 2); print ''; @@ -487,7 +487,7 @@ print "".$langs->trans("CheckTransmitter"); print ' ('.$langs->trans("ChequeMaker").')'; print ""; - if ($user->rights->banque->modifier || $user->rights->banque->consolidate) { + if ($user->hasRight('banque', 'modifier') || $user->hasRight('banque', 'consolidate')) { print ''; print ''; print ''; @@ -500,7 +500,7 @@ print "".$langs->trans("Bank"); print ' ('.$langs->trans("ChequeBank").')'; print ""; - if ($user->rights->banque->modifier || $user->rights->banque->consolidate) { + if ($user->hasRight('banque', 'modifier') || $user->hasRight('banque', 'consolidate')) { print ''; print ''; print ''; @@ -511,7 +511,7 @@ // Date ope print ''.$langs->trans("DateOperation").''; - if ($user->rights->banque->modifier || $user->rights->banque->consolidate) { + if ($user->hasRight('banque', 'modifier') || $user->hasRight('banque', 'consolidate')) { print ''; print $form->selectDate($db->jdate($objp->do), 'dateo', '', '', '', 'update', 1, 0, $objp->rappro); if (!$objp->rappro) { @@ -531,7 +531,7 @@ // Value date print "".$langs->trans("DateValue").""; - if ($user->rights->banque->modifier || $user->rights->banque->consolidate) { + if ($user->hasRight('banque', 'modifier') || $user->hasRight('banque', 'consolidate')) { print ''; print $form->selectDate($db->jdate($objp->dv), 'datev', '', '', '', 'update', 1, 0, $objp->rappro); if (!$objp->rappro) { @@ -552,7 +552,7 @@ // Description $reg = array(); print "".$langs->trans("Label").""; - if ($user->rights->banque->modifier || $user->rights->banque->consolidate) { + if ($user->hasRight('banque', 'modifier') || $user->hasRight('banque', 'consolidate')) { print ''; print 'rappro ? ' disabled' : '').' value="'; if (preg_match('/^\((.*)\)$/i', $objp->label, $reg)) { @@ -577,7 +577,7 @@ // Amount print "".$langs->trans("Amount").""; - if ($user->rights->banque->modifier) { + if ($user->hasRight('banque', 'modifier')) { print ''; print 'rappro ? ' disabled' : '').' value="'.price($objp->amount).'"> '.$langs->trans("Currency".$acct->currency_code); print ''; @@ -669,7 +669,7 @@ print ''; print '"; - if ($user->rights->banque->consolidate) { + if ($user->hasRight('banque', 'consolidate')) { print ''; print ''; - if ($user->rights->banque->consolidate) { + if ($user->hasRight('banque', 'consolidate')) { print ''; @@ -403,7 +403,7 @@ print ''; print ''; @@ -682,7 +682,7 @@ print '\n"; - if ($user->rights->banque->modifier || $user->rights->banque->consolidate) { + if ($user->hasRight('banque', 'modifier') || $user->hasRight('banque', 'consolidate')) { print '"; diff --git a/htdocs/compta/bank/transfer.php b/htdocs/compta/bank/transfer.php index 9989dfed000d1..7ef137de862fb 100644 --- a/htdocs/compta/bank/transfer.php +++ b/htdocs/compta/bank/transfer.php @@ -45,7 +45,7 @@ if ($user->socid > 0) { $socid = $user->socid; } -if (!$user->rights->banque->transfer) { +if (!$user->hasRight('banque', 'transfer')) { accessforbidden(); } @@ -63,7 +63,7 @@ if ($reshook < 0) { setEventMessages($hookmanager->error, $hookmanager->errors, 'errors'); } -if ($action == 'add' && !empty($user->rights->banque->transfer)) { +if ($action == 'add' && $user->hasRight('banque', 'transfer')) { $langs->load('errors'); $i = 1; diff --git a/htdocs/compta/bank/various_payment/card.php b/htdocs/compta/bank/various_payment/card.php index 35ebaa3b126a9..f066bc687ab5c 100644 --- a/htdocs/compta/bank/various_payment/card.php +++ b/htdocs/compta/bank/various_payment/card.php @@ -223,7 +223,7 @@ $result = $object->fetch($id); - $object->accountancy_code = GETPOST('accountancy_code', 'alpha'); + $object->accountancy_code = GETPOST('accountancy_code', 'alphanohtml'); $res = $object->update($user); if ($res > 0) { @@ -586,7 +586,17 @@ function setPaymentType() if ($action != 'classify') { $morehtmlref .= ''.img_edit($langs->transnoentitiesnoconv('SetProject')).' '; } - $morehtmlref .= $form->form_project($_SERVER['PHP_SELF'].'?id='.$object->id, $object->socid, $object->fk_project, ($action == 'classify' ? 'projectid' : 'none'), 0, 0, 0, 1, '', 'maxwidth300'); + if ($action == 'classify') { + //$morehtmlref.=$form->form_project($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->socid, $object->fk_project, 'projectid', 0, 0, 1, 1); + $morehtmlref .= ''; + $morehtmlref .= ''; + $morehtmlref .= ''; + $morehtmlref .= $formproject->select_projects(-1, $object->fk_project, 'projectid', 0, 0, 1, 1, 0, 0, 0, '', 1, 0, 'maxwidth500 widthcentpercentminusxx'); + $morehtmlref .= ''; + $morehtmlref .= ''; + } else { + $morehtmlref .= $form->form_project($_SERVER['PHP_SELF'].'?id='.$object->id, (property_exists($object, 'socid') ? $object->socid : 0), $object->fk_project, ($action == 'classify' ? 'projectid' : 'none'), 0, 0, 0, 1, '', 'maxwidth300'); + } } else { if (!empty($object->fk_project)) { $proj = new Project($db); @@ -638,15 +648,25 @@ function setPaymentType() // Account of Chart of account $editvalue = ''; if (isModEnabled('accounting')) { - $editvalue = $formaccounting->select_account($object->accountancy_code, 'accountancy_code', 1, null, 1, 1); - } + print ''; - print ''; + print $accountingaccount->getNomUrl(0, 1, 1, '', 1); + } + print ''; + } else { + print ''; + } // Subledger account print ''; + require_once DOL_DOCUMENT_ROOT.'/core/lib/accounting.lib.php'; + $result = $accountingaccount->fetch('', $obj->accountancy_code, 1); + if ($result > 0) { + print ''; + } else { + print ''; + } if (!$i) { $totalarray['nbfield']++; } diff --git a/htdocs/compta/cashcontrol/cashcontrol_card.php b/htdocs/compta/cashcontrol/cashcontrol_card.php index 0adeb9d2c2f65..a46f61fccf4db 100644 --- a/htdocs/compta/cashcontrol/cashcontrol_card.php +++ b/htdocs/compta/cashcontrol/cashcontrol_card.php @@ -422,7 +422,7 @@ } $selectedposnumber = 0; $showempty = 1; - if ($conf->global->TAKEPOS_NUM_TERMINALS == '1') { + if (getDolGlobalString('TAKEPOS_NUM_TERMINALS') == '1') { $selectedposnumber = 1; $showempty = 0; } diff --git a/htdocs/compta/cashcontrol/cashcontrol_list.php b/htdocs/compta/cashcontrol/cashcontrol_list.php index 80d8b3d58e1b3..9feba5d3b382e 100644 --- a/htdocs/compta/cashcontrol/cashcontrol_list.php +++ b/htdocs/compta/cashcontrol/cashcontrol_list.php @@ -131,7 +131,7 @@ //$socid = $user->socid; accessforbidden(); } -if (empty($user->rights->cashdesk->run) && empty($user->rights->takepos->run)) { +if (!$user->hasRight('cashdesk', 'run') && !$user->hasRight('takepos', 'run')) { accessforbidden(); } @@ -400,6 +400,7 @@ $newcardbutton = ''; $newcardbutton .= dolGetButtonTitle($langs->trans('ViewList'), '', 'fa fa-bars imgforviewmode', $_SERVER["PHP_SELF"].'?mode=common'.preg_replace('/(&|\?)*mode=[^&]+/', '', $param), '', ((empty($mode) || $mode == 'common') ? 2 : 1), array('morecss'=>'reposition')); $newcardbutton .= dolGetButtonTitle($langs->trans('ViewKanban'), '', 'fa fa-th-list imgforviewmode', $_SERVER["PHP_SELF"].'?mode=kanban'.preg_replace('/(&|\?)*mode=[^&]+/', '', $param), '', ($mode == 'kanban' ? 2 : 1), array('morecss'=>'reposition')); +$newcardbutton .= dolGetButtonTitleSeparator(); $newcardbutton .= dolGetButtonTitle($langs->trans('New'), '', 'fa fa-plus-circle', DOL_URL_ROOT.'/compta/cashcontrol/cashcontrol_card.php?action=create&backtopage='.urlencode($_SERVER['PHP_SELF']), '', $permforcashfence); print_barre_liste($title, $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, $massactionbutton, $num, $nbtotalofrecords, 'cash-register', 0, $newcardbutton, '', $limit, 0, 0, 1); @@ -585,7 +586,15 @@ $object->year_close = $obj->year_close; $object->cheque = $obj->cheque; - print $object->getKanbanView('', array('selected' => in_array($object->id, $arrayofselected))); + // Output Kanban + $selected = -1; + if ($massactionbutton || $massaction) { // If we are in select mode (massactionbutton defined) or if we have already selected and sent an action ($massaction) defined + $selected = 0; + if (in_array($object->id, $arrayofselected)) { + $selected = 1; + } + } + print $object->getKanbanView('', array('selected' => $selected)); if ($i == (min($num, $limit) - 1)) { print ''; print ''; diff --git a/htdocs/compta/cashcontrol/class/cashcontrol.class.php b/htdocs/compta/cashcontrol/class/cashcontrol.class.php index 7f18558307f45..88a22b88fbadd 100644 --- a/htdocs/compta/cashcontrol/class/cashcontrol.class.php +++ b/htdocs/compta/cashcontrol/class/cashcontrol.class.php @@ -497,7 +497,9 @@ public function getKanbanView($option = '', $arraydata = null) $return .= ''; $return .= '
'; $return .= ''.(method_exists($this, 'getNomUrl') ? $this->getNomUrl(1, 1) : $this->ref).''; - $return .= ''; + if ($selected >= 0) { + $return .= ''; + } if (property_exists($this, 'posmodule')) { $return .= '
'.substr($langs->trans("Module/Application"), 0, 12).' : '.$this->posmodule.''; } diff --git a/htdocs/compta/cashcontrol/report.php b/htdocs/compta/cashcontrol/report.php index c3d625c01e421..e702e05ea2cce 100644 --- a/htdocs/compta/cashcontrol/report.php +++ b/htdocs/compta/cashcontrol/report.php @@ -80,7 +80,7 @@ //$socid = $user->socid; accessforbidden(); } -if (empty($user->rights->cashdesk->run) && empty($user->rights->takepos->run)) { +if (!$user->hasRight('cashdesk', 'run') && !$user->hasRight('takepos', 'run')) { accessforbidden(); } diff --git a/htdocs/compta/charges/index.php b/htdocs/compta/charges/index.php index e8f3d3fea06c5..9a2e887a354d6 100644 --- a/htdocs/compta/charges/index.php +++ b/htdocs/compta/charges/index.php @@ -134,7 +134,7 @@ print ''.$langs->trans("DescTaxAndDividendsArea").'
'; print "
"; -if (isModEnabled('tax') && $user->rights->tax->charges->lire) { +if (isModEnabled('tax') && $user->hasRight('tax', 'charges', 'lire')) { // Social contributions only print load_fiche_titre($langs->trans("SocialContributions").($year ? ' ('.$langs->trans("Year").' '.$year.')' : ''), '', ''); @@ -267,7 +267,7 @@ } // VAT -if (isModEnabled('tax') && $user->rights->tax->charges->lire) { +if (isModEnabled('tax') && $user->hasRight('tax', 'charges', 'lire')) { print "
"; $tva = new Tva($db); diff --git a/htdocs/compta/clients.php b/htdocs/compta/clients.php index c5fe5ae98685c..c747ad745cfa3 100644 --- a/htdocs/compta/clients.php +++ b/htdocs/compta/clients.php @@ -95,16 +95,16 @@ $sql = "SELECT s.rowid, s.nom as name, s.client, s.town, s.datec, s.datea"; $sql .= ", st.libelle as stcomm, s.prefix_comm, s.code_client, s.code_compta "; -if (empty($user->rights->societe->client->voir) && !$socid) { +if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= ", sc.fk_soc, sc.fk_user "; } $sql .= " FROM ".MAIN_DB_PREFIX."societe as s, ".MAIN_DB_PREFIX."c_stcomm as st"; -if (empty($user->rights->societe->client->voir) && !$socid) { +if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= ", ".MAIN_DB_PREFIX."societe_commerciaux as sc"; } $sql .= " WHERE s.fk_stcomm = st.id AND s.client in (1, 3)"; $sql .= " AND s.entity IN (".getEntity('societe').")"; -if (empty($user->rights->societe->client->voir) && !$socid) { +if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= " AND s.rowid = sc.fk_soc AND sc.fk_user = ".((int) $user->id); } if (dol_strlen($stcomm)) { diff --git a/htdocs/compta/deplacement/card.php b/htdocs/compta/deplacement/card.php index e7929a12697d0..a07b583124094 100644 --- a/htdocs/compta/deplacement/card.php +++ b/htdocs/compta/deplacement/card.php @@ -62,7 +62,7 @@ include DOL_DOCUMENT_ROOT.'/core/actions_setnotes.inc.php'; // Must be include, not includ_once -if ($action == 'validate' && $user->rights->deplacement->creer) { +if ($action == 'validate' && $user->hasRight('deplacement', 'creer')) { $object->fetch($id); if ($object->statut == Deplacement::STATUS_DRAFT) { $result = $object->setStatut(1); @@ -73,7 +73,7 @@ setEventMessages($object->error, $object->errors, 'errors'); } } -} elseif ($action == 'classifyrefunded' && $user->rights->deplacement->creer) { +} elseif ($action == 'classifyrefunded' && $user->hasRight('deplacement', 'creer')) { $object->fetch($id); if ($object->statut == Deplacement::STATUS_VALIDATED) { $result = $object->setStatut(Deplacement::STATUS_REFUNDED); @@ -84,7 +84,7 @@ setEventMessages($object->error, $object->errors, 'errors'); } } -} elseif ($action == 'confirm_delete' && $confirm == "yes" && $user->rights->deplacement->supprimer) { +} elseif ($action == 'confirm_delete' && $confirm == "yes" && $user->hasRight('deplacement', 'supprimer')) { $result = $object->delete($user); if ($result >= 0) { header("Location: index.php"); @@ -92,7 +92,7 @@ } else { setEventMessages($object->error, $object->errors, 'errors'); } -} elseif ($action == 'add' && $user->rights->deplacement->creer) { +} elseif ($action == 'add' && $user->hasRight('deplacement', 'creer')) { if (!GETPOST('cancel', 'alpha')) { $error = 0; @@ -135,7 +135,7 @@ header("Location: index.php"); exit; } -} elseif ($action == 'update' && $user->rights->deplacement->creer) { +} elseif ($action == 'update' && $user->hasRight('deplacement', 'creer')) { // Update record if (!GETPOST('cancel', 'alpha')) { $result = $object->fetch($id); @@ -160,14 +160,14 @@ header("Location: ".$_SERVER["PHP_SELF"]."?id=".$id); exit; } -} elseif ($action == 'classin' && $user->rights->deplacement->creer) { +} elseif ($action == 'classin' && $user->hasRight('deplacement', 'creer')) { // Set into a project $object->fetch($id); $result = $object->setProject(GETPOST('projectid', 'int')); if ($result < 0) { dol_print_error($db, $object->error); } -} elseif ($action == 'setdated' && $user->rights->deplacement->creer) { +} elseif ($action == 'setdated' && $user->hasRight('deplacement', 'creer')) { // Set fields $dated = dol_mktime(GETPOST('datedhour', 'int'), GETPOST('datedmin', 'int'), GETPOST('datedsec', 'int'), GETPOST('datedmonth', 'int'), GETPOST('datedday', 'int'), GETPOST('datedyear', 'int')); $object->fetch($id); @@ -175,7 +175,7 @@ if ($result < 0) { dol_print_error($db, $object->error); } -} elseif ($action == 'setkm' && $user->rights->deplacement->creer) { +} elseif ($action == 'setkm' && $user->hasRight('deplacement', 'creer')) { $object->fetch($id); $result = $object->setValueFrom('km', GETPOST('km', 'int'), '', null, 'text', '', $user, 'DEPLACEMENT_MODIFY'); if ($result < 0) { @@ -276,7 +276,7 @@ print dol_get_fiche_head($head, 'card', $langs->trans("TripCard"), 0, 'trip'); - if ($action == 'edit' && $user->rights->deplacement->creer) { + if ($action == 'edit' && $user->hasRight('deplacement', 'creer')) { //WYSIWYG Editor require_once DOL_DOCUMENT_ROOT.'/core/class/doleditor.class.php'; @@ -388,9 +388,9 @@ // Type print '
'; // Who @@ -402,16 +402,16 @@ // Date print ''; // Km/Price print '"; // Where @@ -431,7 +431,7 @@ print '
'.$form->textwithpicto($langs->trans("AccountStatement"), $langs->trans("InputReceiptNumber"))."'; if ($objp->rappro) { print 'rappro ? ' disabled' : '').'>'; @@ -687,7 +687,7 @@ print '
'; print 'rappro ? ' checked="checked"' : '')).'">'; diff --git a/htdocs/compta/bank/list.php b/htdocs/compta/bank/list.php index d50d9fea98eb2..bb7993a2a8fe1 100644 --- a/htdocs/compta/bank/list.php +++ b/htdocs/compta/bank/list.php @@ -348,7 +348,7 @@ if ($permissiontodelete) { $arrayofmassactions['predelete'] = img_picto('', 'delete', 'class="pictofixedwidth"').$langs->trans("Delete"); } -if (isModEnabled('category') && $user->rights->banque->modifier) { +if (isModEnabled('category') && $user->hasRight('banque', 'modifier')) { $arrayofmassactions['preaffecttag'] = img_picto('', 'category', 'class="pictofixedwidth"').$langs->trans("AffectTag"); } if (in_array($massaction, array('presend', 'predelete','preaffecttag'))) { @@ -375,7 +375,8 @@ $newcardbutton = ''; $newcardbutton .= dolGetButtonTitle($langs->trans('ViewList'), '', 'fa fa-bars imgforviewmode', $_SERVER["PHP_SELF"].'?mode=common'.preg_replace('/(&|\?)*mode=[^&]+/', '', $param), '', ((empty($mode) || $mode == 'common') ? 2 : 1), array('morecss'=>'reposition')); $newcardbutton .= dolGetButtonTitle($langs->trans('ViewKanban'), '', 'fa fa-th-list imgforviewmode', $_SERVER["PHP_SELF"].'?mode=kanban'.preg_replace('/(&|\?)*mode=[^&]+/', '', $param), '', ($mode == 'kanban' ? 2 : 1), array('morecss'=>'reposition')); -$newcardbutton .= dolGetButtonTitle($langs->trans('NewFinancialAccount'), '', 'fa fa-plus-circle', 'card.php?action=create', '', $user->rights->banque->configurer); +$newcardbutton .= dolGetButtonTitleSeparator(); +$newcardbutton .= dolGetButtonTitle($langs->trans('NewFinancialAccount'), '', 'fa fa-plus-circle', 'card.php?action=create', '', $user->hasRight('banque', 'configurer')); print_barre_liste($title, $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, $massactionbutton, $num, $nbtotalofrecords, 'bank_account', 0, $newcardbutton, '', $limit, 1); diff --git a/htdocs/compta/bank/releve.php b/htdocs/compta/bank/releve.php index dc451f6a438c7..643b0796c5980 100644 --- a/htdocs/compta/bank/releve.php +++ b/htdocs/compta/bank/releve.php @@ -201,7 +201,7 @@ if ($resql) { $obj = $db->fetch_object($resql); if ($obj && $obj->rowid) { - setEventMessages('ErrorThisBankReceiptIsAlreadyUsed', null, 'errors'); + setEventMessages('ErrorBankReceiptAlreadyExists', null, 'errors'); $error++; } } else { @@ -371,7 +371,7 @@ } else { print ''; print ''; - print ''; + print ''; print ''; } print ''.price(($balancestart[$objp->numr] + $content[$objp->numr]), '', $langs, 1, -1, -1, empty($object->currency_code)?$conf->currency:$object->currency_code).''; - if ($user->rights->banque->consolidate && $action != 'editbankreceipt') { + if ($user->hasRight('banque', 'consolidate') && $action != 'editbankreceipt') { print 'numr).'">'.img_edit().''; } print ''.price(price2num($total, 'MT'))."'; print img_edit(); print "
'; + print $form->editfieldkey('AccountAccounting', 'accountancy_code', $object->accountancy_code, $object, (!$alreadyaccounted && $user->hasRight('banque', 'modifier')), 'string', '', 0); + print ''; + if ($action == 'editaccountancy_code') { + print $form->editfieldval('AccountAccounting', 'accountancy_code', $object->accountancy_code, $object, (!$alreadyaccounted && $user->hasRight('banque', 'modifier')), 'string', '', 0); + } else { + $accountingaccount = new AccountingAccount($db); + $accountingaccount->fetch('', $object->accountancy_code, 1); - print '
'; - print $form->editfieldkey('AccountAccounting', 'accountancy_code', $object->accountancy_code, $object, (!$alreadyaccounted && $permissiontoadd), 'string', '', 0); - print ''; - print $form->editfieldval('AccountAccounting', 'accountancy_code', $object->accountancy_code, $object, (!$alreadyaccounted && $permissiontoadd), 'asis', $editvalue, 0, null, '', 1, 'lengthAccountg'); - print '
'; + print $langs->trans("AccountAccounting"); + print ''; + print $object->accountancy_code; + print '
'; diff --git a/htdocs/compta/bank/various_payment/document.php b/htdocs/compta/bank/various_payment/document.php index 58e4d3680b9d5..752932e5a8020 100644 --- a/htdocs/compta/bank/various_payment/document.php +++ b/htdocs/compta/bank/various_payment/document.php @@ -100,7 +100,7 @@ // Project if (isModEnabled('project')) { $langs->load("projects"); - if ($user->rights->banque->modifier && 0) { + if ($user->hasRight('banque', 'modifier') && 0) { if ($action != 'classify') { $morehtmlref .= ''.img_edit($langs->transnoentitiesnoconv('SetProject')).' : '; } diff --git a/htdocs/compta/bank/various_payment/info.php b/htdocs/compta/bank/various_payment/info.php index 06f243a9847ec..e244db093ac2b 100644 --- a/htdocs/compta/bank/various_payment/info.php +++ b/htdocs/compta/bank/various_payment/info.php @@ -60,7 +60,7 @@ // Project if (isModEnabled('project')) { $langs->load("projects"); - if ($user->rights->banque->modifier && 0) { + if ($user->hasRight('banque', 'modifier') && 0) { if ($action != 'classify') { $morehtmlref .= ''.img_edit($langs->transnoentitiesnoconv('SetProject')).' : '; } diff --git a/htdocs/compta/bank/various_payment/list.php b/htdocs/compta/bank/various_payment/list.php index 1c4e88558ff75..d6360fda876dc 100644 --- a/htdocs/compta/bank/various_payment/list.php +++ b/htdocs/compta/bank/various_payment/list.php @@ -446,7 +446,7 @@ $newcardbutton .= dolGetButtonTitle($langs->trans('ViewList'), '', 'fa fa-bars imgforviewmode', $_SERVER["PHP_SELF"].'?mode=common'.preg_replace('/(&|\?)*mode=[^&]+/', '', $param), '', ((empty($mode) || $mode == 'common') ? 2 : 1), array('morecss'=>'reposition')); $newcardbutton .= dolGetButtonTitle($langs->trans('ViewKanban'), '', 'fa fa-th-list imgforviewmode', $_SERVER["PHP_SELF"].'?mode=kanban'.preg_replace('/(&|\?)*mode=[^&]+/', '', $param), '', ($mode == 'kanban' ? 2 : 1), array('morecss'=>'reposition')); $newcardbutton .= dolGetButtonTitleSeparator(); -$newcardbutton .= dolGetButtonTitle($langs->trans('MenuNewVariousPayment'), '', 'fa fa-plus-circle', $url, '', $user->rights->banque->modifier); +$newcardbutton .= dolGetButtonTitle($langs->trans('MenuNewVariousPayment'), '', 'fa fa-plus-circle', $url, '', $user->hasRight('banque', 'modifier')); print_barre_liste($title, $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, '', $num, $nbtotalofrecords, 'object_payment', 0, $newcardbutton, '', $limit, 0, 0, 1); @@ -824,9 +824,13 @@ // Accounting account if (!empty($arrayfields['account']['checked'])) { - $accountingaccount->fetch('', $obj->accountancy_code, 1); - - print ''.$accountingaccount->getNomUrl(0, 1, 1, '', 1).''.$accountingaccount->getNomUrl(0, 1, 1, '', 1).'
'; - print $form->editfieldkey("Type", 'type', $langs->trans($object->type), $object, $user->rights->deplacement->creer, 'select:types_fees'); + print $form->editfieldkey("Type", 'type', $langs->trans($object->type), $object, $user->hasRight('deplacement', 'creer'), 'select:types_fees'); print ''; - print $form->editfieldval("Type", 'type', $form->cache_types_fees[$object->type], $object, $user->rights->deplacement->creer, 'select:types_fees'); + print $form->editfieldval("Type", 'type', $form->cache_types_fees[$object->type], $object, $user->hasRight('deplacement', 'creer'), 'select:types_fees'); print '
'; - print $form->editfieldkey("Date", 'dated', $object->date, $object, $user->rights->deplacement->creer, 'datepicker'); + print $form->editfieldkey("Date", 'dated', $object->date, $object, $user->hasRight('deplacement', 'creer'), 'datepicker'); print ''; - print $form->editfieldval("Date", 'dated', $object->date, $object, $user->rights->deplacement->creer, 'datepicker'); + print $form->editfieldval("Date", 'dated', $object->date, $object, $user->hasRight('deplacement', 'creer'), 'datepicker'); print '
'; - print $form->editfieldkey("FeesKilometersOrAmout", 'km', $object->km, $object, $user->rights->deplacement->creer, 'numeric:6'); + print $form->editfieldkey("FeesKilometersOrAmout", 'km', $object->km, $object, $user->hasRight('deplacement', 'creer'), 'numeric:6'); print ''; - print $form->editfieldval("FeesKilometersOrAmout", 'km', $object->km, $object, $user->rights->deplacement->creer, 'numeric:6'); + print $form->editfieldval("FeesKilometersOrAmout", 'km', $object->km, $object, $user->hasRight('deplacement', 'creer'), 'numeric:6'); print "
'; - if ($action != 'classify' && $user->rights->deplacement->creer) { + if ($action != 'classify' && $user->hasRight('deplacement', 'creer')) { print ''; @@ -469,7 +469,7 @@ print '
'; if ($object->statut < Deplacement::STATUS_REFUNDED) { // if not refunded - if ($user->rights->deplacement->creer) { + if ($user->hasRight('deplacement', 'creer')) { print ''.$langs->trans('Modify').''; } else { print ''.$langs->trans('Modify').''; @@ -477,7 +477,7 @@ } if ($object->statut == Deplacement::STATUS_DRAFT) { // if draft - if ($user->rights->deplacement->creer) { + if ($user->hasRight('deplacement', 'creer')) { print ''.$langs->trans('Validate').''; } else { print ''.$langs->trans('Validate').''; @@ -485,7 +485,7 @@ } if ($object->statut == Deplacement::STATUS_VALIDATED) { // if validated - if ($user->rights->deplacement->creer) { + if ($user->hasRight('deplacement', 'creer')) { print ''.$langs->trans('ClassifyRefunded').''; } else { print ''.$langs->trans('ClassifyRefunded').''; diff --git a/htdocs/compta/deplacement/class/deplacement.class.php b/htdocs/compta/deplacement/class/deplacement.class.php index d5d2cc191e261..d67458eceae28 100644 --- a/htdocs/compta/deplacement/class/deplacement.class.php +++ b/htdocs/compta/deplacement/class/deplacement.class.php @@ -457,6 +457,7 @@ public function info($id) if ($result) { if ($this->db->num_rows($result)) { $obj = $this->db->fetch_object($result); + $this->id = $obj->rowid; $this->user_creation_id = $obj->fk_user_author; diff --git a/htdocs/compta/deplacement/index.php b/htdocs/compta/deplacement/index.php index 6f4613097d923..b23fd6abea699 100644 --- a/htdocs/compta/deplacement/index.php +++ b/htdocs/compta/deplacement/index.php @@ -76,7 +76,7 @@ $sql = "SELECT count(d.rowid) as nb, sum(d.km) as km, d.type"; $sql .= " FROM ".MAIN_DB_PREFIX."deplacement as d"; $sql .= " WHERE d.entity = ".$conf->entity; -if (empty($user->rights->deplacement->readall) && empty($user->rights->deplacement->lire_tous)) { +if (!$user->hasRight('deplacement', 'readall') && !$user->hasRight('deplacement', 'lire_tous')) { $sql .= ' AND d.fk_user IN ('.$db->sanitize(join(',', $childids)).')'; } $sql .= " GROUP BY d.type"; @@ -151,15 +151,15 @@ $sql = "SELECT u.rowid as uid, u.lastname, u.firstname, d.rowid, d.dated as date, d.tms as dm, d.km, d.fk_statut"; $sql .= " FROM ".MAIN_DB_PREFIX."deplacement as d, ".MAIN_DB_PREFIX."user as u"; -if (empty($user->rights->societe->client->voir) && !$user->socid) { +if (!$user->hasRight('societe', 'client', 'voir') && !$user->socid) { $sql .= ", ".MAIN_DB_PREFIX."societe as s, ".MAIN_DB_PREFIX."societe_commerciaux as sc"; } $sql .= " WHERE u.rowid = d.fk_user"; $sql .= " AND d.entity = ".$conf->entity; -if (empty($user->rights->deplacement->readall) && empty($user->rights->deplacement->lire_tous)) { +if (!$user->hasRight('deplacement', 'readall') && !$user->hasRight('deplacement', 'lire_tous')) { $sql .= ' AND d.fk_user IN ('.$db->sanitize(join(',', $childids)).')'; } -if (empty($user->rights->societe->client->voir) && !$user->socid) { +if (!$user->hasRight('societe', 'client', 'voir') && !$user->socid) { $sql .= " AND d.fk_soc = s. rowid AND s.rowid = sc.fk_soc AND sc.fk_user = ".((int) $user->id); } if ($socid) { diff --git a/htdocs/compta/deplacement/list.php b/htdocs/compta/deplacement/list.php index c1c5e5cb85116..2ff6aeae886ea 100644 --- a/htdocs/compta/deplacement/list.php +++ b/htdocs/compta/deplacement/list.php @@ -97,15 +97,15 @@ $sql .= " FROM ".MAIN_DB_PREFIX."user as u"; $sql .= ", ".MAIN_DB_PREFIX."deplacement as d"; $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."societe as s ON d.fk_soc = s.rowid"; -if (empty($user->rights->societe->client->voir) && !$socid) { +if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."societe_commerciaux as sc ON s.rowid = sc.fk_soc"; } $sql .= " WHERE d.fk_user = u.rowid"; $sql .= " AND d.entity = ".$conf->entity; -if (empty($user->rights->deplacement->readall) && empty($user->rights->deplacement->lire_tous)) { +if (!$user->hasRight('deplacement', 'readall') && !$user->hasRight('deplacement', 'lire_tous')) { $sql .= ' AND d.fk_user IN ('.$db->sanitize(join(',', $childids)).')'; } -if (empty($user->rights->societe->client->voir) && !$socid) { +if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= " AND (sc.fk_user = ".((int) $user->id)." OR d.fk_soc IS NULL) "; } if ($socid) { diff --git a/htdocs/compta/deplacement/stats/index.php b/htdocs/compta/deplacement/stats/index.php index 38e00a2c68b93..f30b0703c435d 100644 --- a/htdocs/compta/deplacement/stats/index.php +++ b/htdocs/compta/deplacement/stats/index.php @@ -56,7 +56,7 @@ $childids = $user->getAllChildIds(); $childids[] = $user->id; if ($userid > 0) { - if (empty($user->rights->deplacement->readall) && empty($user->rights->deplacement->lire_tous) && !in_array($userid, $childids)) { + if (!$user->hasRight('deplacement', 'readall') && !$user->hasRight('deplacement', 'lire_tous') && !in_array($userid, $childids)) { accessforbidden(); exit; } @@ -89,7 +89,7 @@ $useridtofilter = $userid; // Filter from parameters if (empty($useridtofilter)) { $useridtofilter = $childids; - if (!empty($user->rights->deplacement->readall) || !empty($user->rights->deplacement->lire_tous)) { + if ($user->hasRight('deplacement', 'readall') || $user->hasRight('deplacement', 'lire_tous')) { $useridtofilter = 0; } } @@ -164,7 +164,7 @@ $data = $stats->getAverageByMonthWithPrevYear($endyear, $startyear); -if (empty($user->rights->societe->client->voir) || $user->socid) { +if (!$user->hasRight('societe', 'client', 'voir') || $user->socid) { $filename_avg = $dir.'/ordersaverage-'.$user->id.'-'.$year.'.png'; if ($mode == 'customer') { $fileurl_avg = DOL_URL_ROOT.'/viewimage.php?modulepart=orderstats&file=ordersaverage-'.$user->id.'-'.$year.'.png'; @@ -248,7 +248,7 @@ // User print '
'; print ''; + // Invoice subtype + if (getDolGlobalInt('INVOICE_SUBTYPE_ENABLED')) { + print ""; + } + $note_public = GETPOSTISSET('note_public') ? GETPOST('note_public', 'restricthtml') : $object->note_public; $note_private = GETPOSTISSET('note_private') ? GETPOST('note_private', 'restricthtml') : $object->note_private; @@ -1020,28 +1037,6 @@ } $htmltext .= ''; - // Public note - print ''; - print ''; - print ''; - print ''; - print ''; - } - // Author print ""; @@ -1065,6 +1060,18 @@ print ""; } + //extrafields + $draft = new Facture($db); + $draft->fetch(GETPOST('facid', 'int')); + + $extralabels = new ExtraFields($db); + $extralabels = $extrafields->fetch_name_optionals_label($draft->table_element); + if ($draft->fetch_optionals() > 0) { + $object->array_options = array_merge($object->array_options, $draft->array_options); + } + + print $object->showOptionals($extrafields, 'create', $parameters); + // Project if (isModEnabled('project') && is_object($object->thirdparty) && $object->thirdparty->id > 0) { $projectid = GETPOST('projectid') ?GETPOST('projectid') : $object->fk_project; @@ -1084,15 +1091,38 @@ print $form->selectarray('modelpdf', $list, $conf->global->FACTURE_ADDON_PDF); print ""; + // Public note + print ''; + print ''; + print ''; + print ''; + print ''; + } + print "
'; print $langs->trans('Project'); print 'id.'">'; print img_edit($langs->trans('SetProject'), 1); print '
'.$langs->trans("User").''; $include = ''; -if (empty($user->rights->deplacement->readall) && empty($user->rights->deplacement->lire_tous)) { +if (!$user->hasRight('deplacement', 'readall') && !$user->hasRight('deplacement', 'lire_tous')) { $include = 'hierarchy'; } print img_picto('', 'user', 'class="pictofixedwidth"'); diff --git a/htdocs/compta/facture/card-rec.php b/htdocs/compta/facture/card-rec.php index 0a54475792ef1..412dd62039269 100644 --- a/htdocs/compta/facture/card-rec.php +++ b/htdocs/compta/facture/card-rec.php @@ -9,6 +9,7 @@ * Copyright (C) 2015 Alexandre Spangaro * Copyright (C) 2016 Meziane Sof * Copyright (C) 2017-2018 Frédéric France + * Copyright (C) 2023 Nick Fragoulis * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -70,6 +71,7 @@ $year_date_when = GETPOST('year_date_when'); $month_date_when = GETPOST('month_date_when'); +$selectedLines = GETPOST('toselect', 'array'); $limit = GETPOST('limit', 'int') ?GETPOST('limit', 'int') : $conf->liste_limit; $sortfield = GETPOST('sortfield', 'aZ09comma'); @@ -202,25 +204,31 @@ } if (!$error) { - $object->title = GETPOST('title', 'alphanohtml'); - $object->note_private = GETPOST('note_private', 'restricthtml'); - $object->note_public = GETPOST('note_public', 'restricthtml'); - $object->model_pdf = GETPOST('modelpdf', 'alphanohtml'); - $object->usenewprice = GETPOST('usenewprice', 'alphanohtml'); - - $object->mode_reglement_id = GETPOST('mode_reglement_id', 'int'); - $object->cond_reglement_id = GETPOST('cond_reglement_id', 'int'); - - $object->frequency = $frequency; - $object->unit_frequency = GETPOST('unit_frequency', 'alpha'); - $object->nb_gen_max = $nb_gen_max; - $object->auto_validate = GETPOST('auto_validate', 'int'); - $object->generate_pdf = GETPOST('generate_pdf', 'int'); - $object->fk_project = $projectid; + $object->subtype = GETPOST('subtype'); + $object->title = GETPOST('title', 'alphanohtml'); + $object->note_private = GETPOST('note_private', 'restricthtml'); + $object->note_public = GETPOST('note_public', 'restricthtml'); + $object->model_pdf = GETPOST('modelpdf', 'alphanohtml'); + $object->usenewprice = GETPOST('usenewprice', 'alphanohtml'); + + $object->mode_reglement_id = GETPOST('mode_reglement_id', 'int'); + $object->cond_reglement_id = GETPOST('cond_reglement_id', 'int'); + + $object->frequency = $frequency; + $object->unit_frequency = GETPOST('unit_frequency', 'alpha'); + $object->nb_gen_max = $nb_gen_max; + $object->auto_validate = GETPOST('auto_validate', 'int'); + $object->generate_pdf = GETPOST('generate_pdf', 'int'); + $object->fk_project = $projectid; $date_next_execution = dol_mktime($rehour, $remin, 0, $remonth, $reday, $reyear); $object->date_when = $date_next_execution; + $ret = $extrafields->setOptionalsFromPost(null, $object); + if ($ret < 0) { + $error++; + } + // Get first contract linked to invoice used to generate template (facid is id of source invoice) if (GETPOST('facid', 'int') > 0) { $srcObject = new Facture($db); @@ -242,7 +250,9 @@ $oldinvoice = new Facture($db); $oldinvoice->fetch(GETPOST('facid', 'int')); - $result = $object->create($user, $oldinvoice->id); + $onlylines = GETPOST('toselect', 'array'); + + $result = $object->create($user, $oldinvoice->id, 0, $onlylines); if ($result > 0) { $result = $oldinvoice->delete($user, 1); if ($result < 0) { @@ -270,7 +280,7 @@ } // Delete - if ($action == 'confirm_delete' && $confirm == 'yes' && $user->rights->facture->supprimer) { + if ($action == 'confirm_delete' && $confirm == 'yes' && $user->hasRight('facture', 'supprimer')) { $object->delete($user); header("Location: ".DOL_URL_ROOT.'/compta/facture/invoicetemplate_list.php'); @@ -402,7 +412,7 @@ setEventMessages($line->error, $line->errors, 'errors'); } } elseif ($action == 'update_extras') { - $object->oldcopy = dol_clone($object); + $object->oldcopy = dol_clone($object, 2); // Fill array 'array_options' with data from update form $ret = $extrafields->setOptionalsFromPost(null, $object, GETPOST('attribute', 'restricthtml')); @@ -817,7 +827,7 @@ $typeinvoice = Facture::TYPE_STANDARD; // Check price is not lower than minimum (check is done only for standard or replacement invoices) - if (((!empty($conf->global->MAIN_USE_ADVANCED_PERMS) && empty($user->rights->produit->ignore_price_min_advance)) || empty($conf->global->MAIN_USE_ADVANCED_PERMS)) && (($typeinvoice == Facture::TYPE_STANDARD || $typeinvoice == Facture::TYPE_REPLACEMENT) && $price_min && ((float) price2num($pu_ht) * (1 - (float) $remise_percent / 100) < (float) price2num($price_min)))) { + if (((!empty($conf->global->MAIN_USE_ADVANCED_PERMS) && !$user->hasRight('produit', 'ignore_price_min_advance')) || empty($conf->global->MAIN_USE_ADVANCED_PERMS)) && (($typeinvoice == Facture::TYPE_STANDARD || $typeinvoice == Facture::TYPE_REPLACEMENT) && $price_min && ((float) price2num($pu_ht) * (1 - (float) $remise_percent / 100) < (float) price2num($price_min)))) { setEventMessages($langs->trans("CantBeLessThanMinPrice", price(price2num($price_min, 'MU'), 0, $langs, 0, 0, - 1, $conf->currency)), null, 'errors'); $error++; } @@ -993,6 +1003,13 @@ print '
'.$langs->trans("Customer").''.$object->thirdparty->getNomUrl(1, 'customer').'
".$langs->trans("InvoiceSubtype").""; + print $form->getSelectInvoiceSubtype(GETPOSTISSET('subtype') ? GETPOST('subtype') : $object->subtype, 'subtype', -1, 0, 0, ''); + print "
'; - print $form->textwithpicto($langs->trans('NotePublic'), $htmltext, 1, 'help', '', 0, 2, 'notepublic'); - print ''; - $doleditor = new DolEditor('note_public', $note_public, '', 80, 'dolibarr_notes', 'In', 0, false, empty($conf->global->FCKEDITOR_ENABLE_NOTE_PUBLIC) ? 0 : 1, ROWS_3, '90%'); - print $doleditor->Create(1); - - // Private note - if (empty($user->socid)) { - print '
'; - print $form->textwithpicto($langs->trans('NotePrivate'), $htmltext, 1, 'help', '', 0, 2, 'noteprivate'); - print ''; - $doleditor = new DolEditor('note_private', $note_private, '', 80, 'dolibarr_notes', 'In', 0, false, empty($conf->global->FCKEDITOR_ENABLE_NOTE_PRIVATE) ? 0 : 1, ROWS_3, '90%'); - print $doleditor->Create(1); - // print ' - print '
".$langs->trans("Author")."".$user->getFullName($langs)."
'; + print $form->textwithpicto($langs->trans('NotePublic'), $htmltext, 1, 'help', '', 0, 2, 'notepublic'); + print ''; + $doleditor = new DolEditor('note_public', $note_public, '', 80, 'dolibarr_notes', 'In', 0, false, empty($conf->global->FCKEDITOR_ENABLE_NOTE_PUBLIC) ? 0 : 1, ROWS_3, '90%'); + print $doleditor->Create(1); + + // Private note + if (empty($user->socid)) { + print '
'; + print $form->textwithpicto($langs->trans('NotePrivate'), $htmltext, 1, 'help', '', 0, 2, 'noteprivate'); + print ''; + $doleditor = new DolEditor('note_private', $note_private, '', 80, 'dolibarr_notes', 'In', 0, false, empty($conf->global->FCKEDITOR_ENABLE_NOTE_PRIVATE) ? 0 : 1, ROWS_3, '90%'); + print $doleditor->Create(1); + // print ' + print '
"; print dol_get_fiche_end(); - // Autogeneration $title = $langs->trans("Recurrence"); print load_fiche_titre(img_picto('', 'recurring', 'class="pictofixedwidth"').$title, '', ''); + print ''.$langs->trans("ToCreateARecurringInvoiceGeneAuto", $langs->transnoentitiesnoconv('Module2300Name')).'

'; + print dol_get_fiche_head(null, '', '', 0); print ''; @@ -1115,7 +1145,7 @@ print ""; // Auto validate the invoice - print ""; @@ -1148,13 +1178,11 @@ * Invoice lines */ print '
'; - print '
".$langs->trans("StatusOfGeneratedInvoices").""; + print "
".$langs->trans("StatusOfAutoGeneratedInvoices").""; $select = array('0'=>$langs->trans('BillStatusDraft'), '1'=>$langs->trans('BillStatusValidated')); print $form->selectarray('auto_validate', $select, GETPOST('auto_validate')); print "
'; + print '
'; + // Show object lines if (!empty($object->lines)) { - $disableedit = 1; - $disablemove = 1; - $disableremove = 1; - $object->printObjectLines('', $mysoc, $object->thirdparty, $lineid, 0); // No date selector for template invoice + $object->printOriginLinesList('', $selectedLines); } print "
\n"; @@ -1162,7 +1190,7 @@ print ''; - if ($flag_price_may_change) { + if (!empty($flag_price_may_change)) { print ''; print ''; - // Outstanding Bill - $arrayoutstandingbills = $soc->getOutstandingBills(); - $outstandingBills = $arrayoutstandingbills['opened']; - print ' - '.$langs->trans('CurrentOutstandingBill').': '; - print ''.price($outstandingBills, '', $langs, 0, 0, -1, $conf->currency).''; - if ($soc->outstanding_limit != '') { - if ($outstandingBills > $soc->outstanding_limit) { - print img_warning($langs->trans("OutstandingBillReached")); - } - print ' / '.price($soc->outstanding_limit, '', $langs, 0, 0, -1, $conf->currency); - } - print ''; - print ''."\n"; - } else { - print ''.$langs->trans('Customer').''; - print ''; - $filter = '((s.client:IN:1,2,3) AND (s.status:=:1))'; - print img_picto('', 'company', 'class="pictofixedwidth"').$form->select_company($soc->id, 'socid', $filter, 'SelectThirdParty', 1, 0, null, 0, 'minwidth300 widthcentpercentminusxx maxwidth500'); - // Option to reload page to retrieve customer informations. - if (empty($conf->global->RELOAD_PAGE_ON_CUSTOMER_CHANGE_DISABLED)) { - print ''; - } - if (!GETPOST('fac_rec', 'int')) { - print ' '; + '; + } + if (!GETPOST('fac_rec', 'int')) { + print ' '; + } + print ''; + print ''."\n"; } - print ''; - print ''."\n"; - } - // Overwrite some values if creation of invoice is from a predefined invoice - if (empty($origin) && empty($originid) && GETPOST('fac_rec', 'int') > 0) { - $invoice_predefined->fetch(GETPOST('fac_rec', 'int')); + // Overwrite some values if creation of invoice is from a predefined invoice + if (empty($origin) && empty($originid) && GETPOST('fac_rec', 'int') > 0) { + $invoice_predefined->fetch(GETPOST('fac_rec', 'int')); - $dateinvoice = $invoice_predefined->date_when; // To use next gen date by default later - if (empty($projectid)) { - $projectid = $invoice_predefined->fk_project; - } - $cond_reglement_id = $invoice_predefined->cond_reglement_id; - $mode_reglement_id = $invoice_predefined->mode_reglement_id; - $fk_account = $invoice_predefined->fk_account; - $note_public = $invoice_predefined->note_public; - $note_private = $invoice_predefined->note_private; + $dateinvoice = $invoice_predefined->date_when; // To use next gen date by default later + if (empty($projectid)) { + $projectid = $invoice_predefined->fk_project; + } + $cond_reglement_id = $invoice_predefined->cond_reglement_id; + $mode_reglement_id = $invoice_predefined->mode_reglement_id; + $fk_account = $invoice_predefined->fk_account; + $note_public = $invoice_predefined->note_public; + $note_private = $invoice_predefined->note_private; - if (!empty($invoice_predefined->multicurrency_code)) { - $currency_code = $invoice_predefined->multicurrency_code; - } - if (!empty($invoice_predefined->multicurrency_tx)) { - $currency_tx = $invoice_predefined->multicurrency_tx; - } + if (!empty($invoice_predefined->multicurrency_code)) { + $currency_code = $invoice_predefined->multicurrency_code; + } + if (!empty($invoice_predefined->multicurrency_tx)) { + $currency_tx = $invoice_predefined->multicurrency_tx; + } - $sql = 'SELECT r.rowid, r.titre as title, r.total_ttc'; - $sql .= ' FROM '.MAIN_DB_PREFIX.'facture_rec as r'; - $sql .= ' WHERE r.fk_soc = '.((int) $invoice_predefined->socid); + $sql = 'SELECT r.rowid, r.titre as title, r.total_ttc'; + $sql .= ' FROM '.MAIN_DB_PREFIX.'facture_rec as r'; + $sql .= ' WHERE r.fk_soc = '.((int) $invoice_predefined->socid); - $resql = $db->query($sql); - if ($resql) { - $num = $db->num_rows($resql); - $i = 0; + $resql = $db->query($sql); + if ($resql) { + $num = $db->num_rows($resql); + $i = 0; - if ($num > 0) { - print ''.$langs->trans('CreateFromRepeatableInvoice').''; - //print ''; - print ''; + print ''; - - print ajax_combobox("fac_rec"); - - // Option to reload page to retrieve customer informations. Note, this clear other input - if (empty($conf->global->RELOAD_PAGE_ON_TEMPLATE_CHANGE_DISABLED)) { - print ''; + print ''; + + print ajax_combobox("fac_rec"); + + // Option to reload page to retrieve customer informations. Note, this clear other input + if (empty($conf->global->RELOAD_PAGE_ON_TEMPLATE_CHANGE_DISABLED)) { + print ''; + } + print ''; } - print ''; + $db->free($resql); + } else { + dol_print_error($db); } - $db->free($resql); - } else { - dol_print_error($db); } - } - print ''.$langs->trans('Type').''; - print '
'."\n"; - - // Standard invoice - print '
'; - $tmp = ' '; - $tmp = $tmp.''; - $desc = $form->textwithpicto($tmp, $langs->transnoentities("InvoiceStandardDesc"), 1, 'help', '', 0, 3, 'standardonsmartphone'); - print ''; - print ''; - if ((($origin == 'propal') || ($origin == 'commande')) && (!empty($originid))) { - /*print '';*/ - print '';*/ + print ''; + } + print '
'; - print $desc; - print ''; - $arraylist = array( - //'amount' => $langs->transnoentitiesnoconv('FixAmount', $langs->transnoentitiesnoconv('Deposit')), - //'variable' => $langs->transnoentitiesnoconv('VarAmountOneLine', $langs->transnoentitiesnoconv('Deposit')), - 'variablealllines' => $langs->transnoentitiesnoconv('VarAmountAllLines') - ); - print $form->selectarray('typestandard', $arraylist, GETPOST('typestandard', 'aZ09'), 0, 0, 0, '', 1); - print ''; - print ''.$langs->trans('PercentOfOriginalObject').':'; + print '
'.$langs->trans('Type').''; + print '
'."\n"; + + // Standard invoice + print '
'; + $tmp = ' '; + $tmp = $tmp.''; + $desc = $form->textwithpicto($tmp, $langs->transnoentities("InvoiceStandardDesc"), 1, 'help', '', 0, 3, 'standardonsmartphone'); + print ''; + print ''; - } - print '
'; + print $desc; print '
'; - print '
'; + if ((($origin == 'propal') || ($origin == 'commande')) && (!empty($originid))) { + /*print '
'; + $arraylist = array( + //'amount' => $langs->transnoentitiesnoconv('FixAmount', $langs->transnoentitiesnoconv('Deposit')), + //'variable' => $langs->transnoentitiesnoconv('VarAmountOneLine', $langs->transnoentitiesnoconv('Deposit')), + 'variablealllines' => $langs->transnoentitiesnoconv('VarAmountAllLines') + ); + print $form->selectarray('typestandard', $arraylist, GETPOST('typestandard', 'aZ09'), 0, 0, 0, '', 1); + print ''; + print ''.$langs->trans('PercentOfOriginalObject').':'; + print '
'; + print '
'; - if ((empty($origin)) || ((($origin == 'propal') || ($origin == 'commande')) && (!empty($originid)))) { - // Deposit - Down payment - if (empty($conf->global->INVOICE_DISABLE_DEPOSIT)) { - print '
'; - $tmp = ' '; - print ''; + }); + '; - print ''; - print ''; - if (($origin == 'propal') || ($origin == 'commande')) { - print '
'; - $tmp = $tmp.''; - $desc = $form->textwithpicto($tmp, $langs->transnoentities("InvoiceDepositDesc"), 1, 'help', '', 0, 3, 'depositonsmartphone'); - print $desc; - print ''; - $arraylist = array( - 'amount' => $langs->transnoentitiesnoconv('FixAmount', $langs->transnoentitiesnoconv('Deposit')), - 'variable' => $langs->transnoentitiesnoconv('VarAmountOneLine', $langs->transnoentitiesnoconv('Deposit')), - 'variablealllines' => $langs->transnoentitiesnoconv('VarAmountAllLines') - ); - $typedeposit = GETPOST('typedeposit', 'aZ09'); - $valuedeposit = GETPOST('valuedeposit', 'int'); - if (empty($typedeposit) && !empty($objectsrc->deposit_percent)) { - $origin_payment_conditions_deposit_percent = getDictionaryValue('c_payment_term', 'deposit_percent', $objectsrc->cond_reglement_id); - if (!empty($origin_payment_conditions_deposit_percent)) { - $typedeposit = 'variable'; + print ''; + print ''; + if (($origin == 'propal') || ($origin == 'commande')) { + print ''; + print ''; } - if (empty($valuedeposit) && $typedeposit == 'variable' && !empty($objectsrc->deposit_percent)) { - $valuedeposit = $objectsrc->deposit_percent; - } - print $form->selectarray('typedeposit', $arraylist, $typedeposit, 0, 0, 0, '', 1); - print ''; - print ''; - } - print '
'; + $tmp = $tmp.''; + $desc = $form->textwithpicto($tmp, $langs->transnoentities("InvoiceDepositDesc"), 1, 'help', '', 0, 3, 'depositonsmartphone'); + print $desc; + print ''; + $arraylist = array( + 'amount' => $langs->transnoentitiesnoconv('FixAmount', $langs->transnoentitiesnoconv('Deposit')), + 'variable' => $langs->transnoentitiesnoconv('VarAmountOneLine', $langs->transnoentitiesnoconv('Deposit')), + 'variablealllines' => $langs->transnoentitiesnoconv('VarAmountAllLines') + ); + $typedeposit = GETPOST('typedeposit', 'aZ09'); + $valuedeposit = GETPOST('valuedeposit', 'int'); + if (empty($typedeposit) && !empty($objectsrc->deposit_percent)) { + $origin_payment_conditions_deposit_percent = getDictionaryValue('c_payment_term', 'deposit_percent', $objectsrc->cond_reglement_id); + if (!empty($origin_payment_conditions_deposit_percent)) { + $typedeposit = 'variable'; + } } + if (empty($valuedeposit) && $typedeposit == 'variable' && !empty($objectsrc->deposit_percent)) { + $valuedeposit = $objectsrc->deposit_percent; + } + print $form->selectarray('typedeposit', $arraylist, $typedeposit, 0, 0, 0, '', 1); + print ''; + print ''.$langs->trans("AmountOrPercent").''; + print ''; - print ''.$langs->trans("AmountOrPercent").''; - print '
'; + print '
'; - print '
'; + print '
'; + } } - } - - if ($socid > 0) { - if (!empty($conf->global->INVOICE_USE_SITUATION)) { - // First situation invoice - print '
'; - $tmp = ' '; - $tmp = $tmp.''; - $desc = $form->textwithpicto($tmp, $langs->transnoentities("InvoiceFirstSituationDesc"), 1, 'help', '', 0, 3, 'firstsituationonsmartphone'); - print $desc; - print '
'; - // Next situation invoice - $opt = $form->selectSituationInvoices(GETPOST('originid', 'int'), $socid); + if ($socid > 0) { + if (!empty($conf->global->INVOICE_USE_SITUATION)) { + // First situation invoice + print '
'; + $tmp = ' '; + $tmp = $tmp.''; + $desc = $form->textwithpicto($tmp, $langs->transnoentities("InvoiceFirstSituationDesc"), 1, 'help', '', 0, 3, 'firstsituationonsmartphone'); + print $desc; + print '
'; - print '
'; - $tmp = ''.$langs->trans('NoSituations').'') || (GETPOST('origin') && GETPOST('origin') != 'facture' && GETPOST('origin') != 'commande')) { - $tmp .= ' disabled'; - } - $tmp .= '> '; - $text = $tmp.' '; - $text .= ''; - $desc = $form->textwithpicto($text, $langs->transnoentities("InvoiceSituationDesc"), 1, 'help', '', 0, 3); - print $desc; - print '
'; - } + // Next situation invoice + $opt = $form->selectSituationInvoices(GETPOST('originid', 'int'), $socid); - // Replacement - if (empty($conf->global->INVOICE_DISABLE_REPLACEMENT)) { - // Type de facture - $facids = $facturestatic->list_replacable_invoices($soc->id); - if ($facids < 0) { - dol_print_error($db, $facturestatic->error, $facturestatic->errors); - exit(); - } - $options = ""; - if (is_array($facids)) { - foreach ($facids as $facparam) { - $options .= ''; + print '
'; + $tmp = ''.$langs->trans('NoSituations').'') || (GETPOST('origin') && GETPOST('origin') != 'facture' && GETPOST('origin') != 'commande')) { + $tmp .= ' disabled'; } + $tmp .= '> '; + $text = $tmp.' '; + $text .= ''; + $desc = $form->textwithpicto($text, $langs->transnoentities("InvoiceSituationDesc"), 1, 'help', '', 0, 3); + print $desc; + print '
'; } - print ''; - print '
'; - $tmp = 'id > 0) { - $tmp .= ' disabled'; - } - $tmp .= '> '; - print ''; - $text = $tmp.''; - $text .= ''; - $desc = $form->textwithpicto($text, $langs->transnoentities("InvoiceReplacementDesc"), 1, 'help', '', 0, 3); - print $desc; - print '
'; - } - } else { - if (!empty($conf->global->INVOICE_USE_SITUATION)) { - print '
'; - $tmp = ' '; - $text = $tmp.' '; - $text .= '('.$langs->trans("YouMustCreateInvoiceFromThird").') '; - $desc = $form->textwithpicto($text, $langs->transnoentities("InvoiceFirstSituationDesc"), 1, 'help', '', 0, 3, 'firstsituationonsmartphone'); - print $desc; - print '
'; - } - - print '
'; - $tmp = ' '; - $text = $tmp.' '; - //$text .= '('.$langs->trans("YouMustCreateInvoiceFromThird").') '; - $desc = $form->textwithpicto($text, $langs->transnoentities("InvoiceReplacementDesc").'

'.$langs->trans("YouMustCreateInvoiceFromThird"), 1, 'help', '', 0, 3, 'replacementonsmartphone'); - print $desc; - print '
'; - } - - if (empty($origin)) { - if ($socid > 0) { - // Credit note - if (empty($conf->global->INVOICE_DISABLE_CREDIT_NOTE)) { - // Show link for credit note - $facids = $facturestatic->list_qualified_avoir_invoices($soc->id); + // Replacement + if (empty($conf->global->INVOICE_DISABLE_REPLACEMENT)) { + // Type de facture + $facids = $facturestatic->list_replacable_invoices($soc->id); if ($facids < 0) { dol_print_error($db, $facturestatic->error, $facturestatic->errors); - exit; + exit(); } - $optionsav = ""; - $newinvoice_static = new Facture($db); - foreach ($facids as $key => $valarray) { - $newinvoice_static->id = $key; - $newinvoice_static->ref = $valarray ['ref']; - $newinvoice_static->statut = $valarray ['status']; - $newinvoice_static->type = $valarray ['type']; - $newinvoice_static->paye = $valarray ['paye']; - - $optionsav .= ''; } - $optionsav .= '>'; - $optionsav .= $newinvoice_static->ref; - $optionsav .= ' ('.$newinvoice_static->getLibStatut(1, $valarray ['paymentornot']).')'; - $optionsav .= ''; } + print ''; print '
'; - $tmp = 'global->INVOICE_CREDIT_NOTE_STANDALONE)) || $invoice_predefined->id > 0) { + $tmp = 'id > 0) { $tmp .= ' disabled'; } $tmp .= '> '; - // Show credit note options only if we checked credit note and disable standard invoice if "create credit note" button is pressed print ''; - $text = ' '; - $text .= 'id > 0) { $text .= ' disabled'; } $text .= '>'; - if ($optionsav) { - $text .= ''; - $text .= $optionsav; + if ($options) { + $text .= ''; + $text .= $options; } else { - $text .= ''; + $text .= ''; } $text .= ''; - $desc = $form->textwithpicto($text, $langs->transnoentities("InvoiceAvoirDesc"), 1, 'help', '', 0, 3); + $desc = $form->textwithpicto($text, $langs->transnoentities("InvoiceReplacementDesc"), 1, 'help', '', 0, 3); print $desc; - - print '
'; - print '    0 ? 'checked' : '').' /> "; - print '
    0 ? 'checked' : '').' /> "; - print '
'; - print '
'; } } else { - print '
'; - if (empty($conf->global->INVOICE_CREDIT_NOTE_STANDALONE)) { - $tmp = ' '; - } else { - $tmp = ' '; + if (!empty($conf->global->INVOICE_USE_SITUATION)) { + print '
'; + $tmp = ' '; + $text = $tmp.' '; + $text .= '('.$langs->trans("YouMustCreateInvoiceFromThird").') '; + $desc = $form->textwithpicto($text, $langs->transnoentities("InvoiceFirstSituationDesc"), 1, 'help', '', 0, 3, 'firstsituationonsmartphone'); + print $desc; + print '
'; } - $text = $tmp.' '; + + print '
'; + $tmp = ' '; + $text = $tmp.' '; //$text .= '('.$langs->trans("YouMustCreateInvoiceFromThird").') '; - $desc = $form->textwithpicto($text, $langs->transnoentities("InvoiceAvoirDesc").'

'.$langs->trans("YouMustCreateInvoiceFromThird"), 1, 'help', '', 0, 3, 'creditnoteonsmartphone'); + $desc = $form->textwithpicto($text, $langs->transnoentities("InvoiceReplacementDesc").'

'.$langs->trans("YouMustCreateInvoiceFromThird"), 1, 'help', '', 0, 3, 'replacementonsmartphone'); print $desc; - print '
'."\n"; + print '
'; } - } - // Template invoice - print '
'; - $tmp = ' '; - $text = $tmp.' '; - $desc = $form->textwithpicto($text, $langs->transnoentities("YouMustCreateStandardInvoiceFirstDesc"), 1, 'help', '', 0, 3, 'templateonsmartphone'); - print $desc; - print '
'; - - print '
'; - - - if (!empty($conf->global->INVOICE_USE_DEFAULT_DOCUMENT)) { // Hidden conf - // Add auto select default document model - $listtType = array(Facture::TYPE_STANDARD, Facture::TYPE_REPLACEMENT, Facture::TYPE_CREDIT_NOTE, Facture::TYPE_DEPOSIT, Facture::TYPE_SITUATION); - $jsListType = ''; - foreach ($listtType as $type) { - $thisTypeConfName = 'FACTURE_ADDON_PDF_'.$type; - $curent = getDolGlobalString($thisTypeConfName, getDolGlobalString('FACTURE_ADDON_PDF')); - $jsListType .= (!empty($jsListType) ? ',' : '').'"'.$type.'":"'.$curent.'"'; - } - - print ''; - } + if (empty($origin)) { + if ($socid > 0) { + // Credit note + if (empty($conf->global->INVOICE_DISABLE_CREDIT_NOTE)) { + // Show link for credit note + $facids = $facturestatic->list_qualified_avoir_invoices($soc->id); + if ($facids < 0) { + dol_print_error($db, $facturestatic->error, $facturestatic->errors); + exit; + } + $optionsav = ""; + $newinvoice_static = new Facture($db); + foreach ($facids as $key => $valarray) { + $newinvoice_static->id = $key; + $newinvoice_static->ref = $valarray ['ref']; + $newinvoice_static->statut = $valarray ['status']; + $newinvoice_static->type = $valarray ['type']; + $newinvoice_static->paye = $valarray ['paye']; + + $optionsav .= ''; + } + print '
'; + $tmp = 'global->INVOICE_CREDIT_NOTE_STANDALONE)) || $invoice_predefined->id > 0) { + $tmp .= ' disabled'; + } + $tmp .= '> '; + // Show credit note options only if we checked credit note and disable standard invoice if "create credit note" button is pressed + print ''; + $text = ' '; + $text .= ''; + $desc = $form->textwithpicto($text, $langs->transnoentities("InvoiceAvoirDesc"), 1, 'help', '', 0, 3); + print $desc; - print ''; + print '
'; + print '    0 ? 'checked' : '').' /> "; + print '
    0 ? 'checked' : '').' /> "; + print '
'; - if ($socid > 0) { - // Discounts for third party - print ''.$langs->trans('DiscountStillRemaining').''; + print '
'; + } + } else { + print '
'; + if (empty($conf->global->INVOICE_CREDIT_NOTE_STANDALONE)) { + $tmp = ' '; + } else { + $tmp = ' '; + } + $text = $tmp.' '; + //$text .= '('.$langs->trans("YouMustCreateInvoiceFromThird").') '; + $desc = $form->textwithpicto($text, $langs->transnoentities("InvoiceAvoirDesc").'

'.$langs->trans("YouMustCreateInvoiceFromThird"), 1, 'help', '', 0, 3, 'creditnoteonsmartphone'); + print $desc; + print '
'."\n"; + } + } - $thirdparty = $soc; - $discount_type = 0; - $backtopage = $_SERVER["PHP_SELF"].'?socid='.$thirdparty->id.'&action='.$action.'&origin='.urlencode(GETPOST('origin')).'&originid='.urlencode(GETPOSTINT('originid')); - include DOL_DOCUMENT_ROOT.'/core/tpl/object_discounts.tpl.php'; + // Template invoice + print '
'; + $tmp = ' '; + $text = $tmp.' '; + $desc = $form->textwithpicto($text, $langs->transnoentities("YouMustCreateStandardInvoiceFirstDesc"), 1, 'help', '', 0, 3, 'templateonsmartphone'); + print $desc; + print '
'; - print ''; - } + print '
'; - $newdateinvoice = dol_mktime(0, 0, 0, GETPOST('remonth', 'int'), GETPOST('reday', 'int'), GETPOST('reyear', 'int'), 'tzserver'); - $date_pointoftax = dol_mktime(0, 0, 0, GETPOST('date_pointoftaxmonth', 'int'), GETPOST('date_pointoftaxday', 'int'), GETPOST('date_pointoftaxyear', 'int'), 'tzserver'); - // Date invoice - print ''.$langs->trans('DateInvoice').''; - print img_picto('', 'action', 'class="pictofixedwidth"'); - print $form->selectDate($newdateinvoice ? $newdateinvoice : $dateinvoice, '', '', '', '', "add", 1, 1); - print ''; + if (!empty($conf->global->INVOICE_USE_DEFAULT_DOCUMENT)) { // Hidden conf + // Add auto select default document model + $listtType = array(Facture::TYPE_STANDARD, Facture::TYPE_REPLACEMENT, Facture::TYPE_CREDIT_NOTE, Facture::TYPE_DEPOSIT, Facture::TYPE_SITUATION); + $jsListType = ''; + foreach ($listtType as $type) { + $thisTypeConfName = 'FACTURE_ADDON_PDF_'.$type; + $curent = getDolGlobalString($thisTypeConfName, getDolGlobalString('FACTURE_ADDON_PDF')); + $jsListType .= (!empty($jsListType) ? ',' : '').'"'.$type.'":"'.$curent.'"'; + } - // Date point of tax - if (!empty($conf->global->INVOICE_POINTOFTAX_DATE)) { - print ''.$langs->trans('DatePointOfTax').''; - print img_picto('', 'action', 'class="pictofixedwidth"'); - print $form->selectDate($date_pointoftax ? $date_pointoftax : -1, 'date_pointoftax', '', '', '', "add", 1, 1); - print ''; - } + print ''; + } - // Payment term - print ''.$langs->trans('PaymentConditionsShort').''; - print img_picto('', 'payment', 'class="pictofixedwidth"'); - print $form->getSelectConditionsPaiements((GETPOSTISSET('cond_reglement_id') && GETPOST('cond_reglement_id', 'int') != 0) ? GETPOST('cond_reglement_id', 'int') : $cond_reglement_id, 'cond_reglement_id', -1, 1, 0, 'maxwidth500 widthcentpercentminusx'); - print ''; + print ''; - if (!empty($conf->global->INVOICE_USE_RETAINED_WARRANTY)) { - $rwStyle = 'display:none;'; - if (in_array(GETPOST('type', 'int'), $retainedWarrantyInvoiceAvailableType)) { - $rwStyle = ''; + // Invoice Subtype + if (getDolGlobalInt('INVOICE_SUBTYPE_ENABLED')) { + print ''.$langs->trans('InvoiceSubtype').''; + print $form->getSelectInvoiceSubtype(GETPOST('subtype'), 'subtype', 1, 0, ''); + print ''; } - $retained_warranty = GETPOST('retained_warranty', 'int'); - if (empty($retained_warranty)) { - if (!empty($objectsrc->retained_warranty)) { // use previous situation value - $retained_warranty = $objectsrc->retained_warranty; - } + if ($socid > 0) { + // Discounts for third party + print ''.$langs->trans('DiscountStillRemaining').''; + + $thirdparty = $soc; + $discount_type = 0; + $backtopage = $_SERVER["PHP_SELF"].'?socid='.$thirdparty->id.'&action='.$action.'&origin='.urlencode(GETPOST('origin')).'&originid='.urlencode(GETPOSTINT('originid')); + include DOL_DOCUMENT_ROOT.'/core/tpl/object_discounts.tpl.php'; + + print ''; } - $retained_warranty_js_default = !empty($retained_warranty) ? $retained_warranty : $conf->global->INVOICE_SITUATION_DEFAULT_RETAINED_WARRANTY_PERCENT; - print ''.$langs->trans('RetainedWarranty').''; - print '%'; + $newdateinvoice = dol_mktime(0, 0, 0, GETPOST('remonth', 'int'), GETPOST('reday', 'int'), GETPOST('reyear', 'int'), 'tzserver'); + $date_pointoftax = dol_mktime(0, 0, 0, GETPOST('date_pointoftaxmonth', 'int'), GETPOST('date_pointoftaxday', 'int'), GETPOST('date_pointoftaxyear', 'int'), 'tzserver'); - // Retained warranty payment term - print ''.$langs->trans('PaymentConditionsShortRetainedWarranty').''; - $retained_warranty_fk_cond_reglement = GETPOST('retained_warranty_fk_cond_reglement', 'int'); - if (empty($retained_warranty_fk_cond_reglement)) { - $retained_warranty_fk_cond_reglement = $conf->global->INVOICE_SITUATION_DEFAULT_RETAINED_WARRANTY_COND_ID; - if (!empty($objectsrc->retained_warranty_fk_cond_reglement)) { // use previous situation value - $retained_warranty_fk_cond_reglement = $objectsrc->retained_warranty_fk_cond_reglement; - } else { - $retained_warranty_fk_cond_reglement = $conf->global->INVOICE_SITUATION_DEFAULT_RETAINED_WARRANTY_COND_ID; - } + // Date invoice + print ''.$langs->trans('DateInvoice').''; + print img_picto('', 'action', 'class="pictofixedwidth"'); + print $form->selectDate($newdateinvoice ? $newdateinvoice : $dateinvoice, '', '', '', '', "add", 1, 1); + print ''; + + // Date point of tax + if (!empty($conf->global->INVOICE_POINTOFTAX_DATE)) { + print ''.$langs->trans('DatePointOfTax').''; + print img_picto('', 'action', 'class="pictofixedwidth"'); + print $form->selectDate($date_pointoftax ? $date_pointoftax : -1, 'date_pointoftax', '', '', '', "add", 1, 1); + print ''; } - print $form->getSelectConditionsPaiements($retained_warranty_fk_cond_reglement, 'retained_warranty_fk_cond_reglement', -1, 1); + + // Payment term + print ''.$langs->trans('PaymentConditionsShort').''; + print img_picto('', 'payment', 'class="pictofixedwidth"'); + print $form->getSelectConditionsPaiements($cond_reglement_id, 'cond_reglement_id', -1, 1, 0, 'maxwidth500 widthcentpercentminusx'); print ''; - print ''; - } + print ''; + } - // Project - if (isModEnabled('project')) { - $langs->load('projects'); - print ''.$langs->trans('Project').''; - print img_picto('', 'project', 'class="pictofixedwidth"').$formproject->select_projects(($socid > 0 ? $socid : -1), $projectid, 'projectid', 0, 0, 1, 1, 0, 0, 0, '', 1, 0, 'maxwidth500 widthcentpercentminusxx'); - print ' id.($fac_rec ? '&fac_rec='.$fac_rec : '')).'">'; + // Payment mode + print ''.$langs->trans('PaymentMode').''; + print img_picto('', 'bank', 'class="pictofixedwidth"'); + print $form->select_types_paiements($mode_reglement_id, 'mode_reglement_id', 'CRDT', 0, 1, 0, 0, 1, 'maxwidth200 widthcentpercentminusx', 1); print ''; - } - // Incoterms - if (isModEnabled('incoterm')) { - print ''; - print ''; - print ''; - $incoterm_id = GETPOST('incoterm_id'); - $incoterm_location = GETPOST('location_incoterms'); - if (empty($incoterm_id)) { - $incoterm_id = (!empty($objectsrc->fk_incoterms) ? $objectsrc->fk_incoterms : $soc->fk_incoterms); - $incoterm_location = (!empty($objectsrc->location_incoterms) ? $objectsrc->location_incoterms : $soc->location_incoterms); - } - print img_picto('', 'incoterm', 'class="pictofixedwidth"'); - print $form->select_incoterms($incoterm_id, $incoterm_location); - print ''; - } + // Bank Account + if (isModEnabled("banque")) { + print ''.$langs->trans('BankAccount').''; + print img_picto('', 'bank_account', 'class="pictofixedwidth"'); + print $form->select_comptes($fk_account, 'fk_account', 0, '', 1, '', 0, 'maxwidth200 widthcentpercentminusx', 1); + print ''; + } - // Other attributes - $parameters = array('objectsrc' => !empty($objectsrc) ? $objectsrc : 0, 'colspan' => ' colspan="2"', 'cols' => '2', 'socid'=>$socid); - $reshook = $hookmanager->executeHooks('formObjectOptions', $parameters, $object, $action); // Note that $action and $object may have been modified by hook - print $hookmanager->resPrint; - if (empty($reshook)) { - if (!empty($conf->global->THIRDPARTY_PROPAGATE_EXTRAFIELDS_TO_INVOICE) && !empty($soc->id)) { - // copy from thirdparty - $tpExtrafields = new ExtraFields($db); - $tpExtrafieldLabels = $tpExtrafields->fetch_name_optionals_label($soc->table_element); - if ($soc->fetch_optionals() > 0) { - $object->array_options = array_merge($object->array_options, $soc->array_options); - } + // Project + if (isModEnabled('project')) { + $langs->load('projects'); + print ''.$langs->trans('Project').''; + print img_picto('', 'project', 'class="pictofixedwidth"').$formproject->select_projects(($socid > 0 ? $socid : -1), $projectid, 'projectid', 0, 0, 1, 1, 0, 0, 0, '', 1, 0, 'maxwidth500 widthcentpercentminusxx'); + print ' id.($fac_rec ? '&fac_rec='.$fac_rec : '')).'">'; + print ''; } - print $object->showOptionals($extrafields, 'create', $parameters); - } + // Incoterms + if (isModEnabled('incoterm')) { + print ''; + print ''; + print ''; + $incoterm_id = GETPOST('incoterm_id'); + $incoterm_location = GETPOST('location_incoterms'); + if (empty($incoterm_id)) { + $incoterm_id = (!empty($objectsrc->fk_incoterms) ? $objectsrc->fk_incoterms : $soc->fk_incoterms); + $incoterm_location = (!empty($objectsrc->location_incoterms) ? $objectsrc->location_incoterms : $soc->location_incoterms); + } + print img_picto('', 'incoterm', 'class="pictofixedwidth"'); + print $form->select_incoterms($incoterm_id, $incoterm_location); + print ''; + } - // Template to use by default - print ''.$langs->trans('Model').''; - print ''; - print img_picto('', 'pdf', 'class="pictofixedwidth"'); - include_once DOL_DOCUMENT_ROOT.'/core/modules/facture/modules_facture.php'; - $liste = ModelePDFFactures::liste_modeles($db); - if (!empty($conf->global->INVOICE_USE_DEFAULT_DOCUMENT)) { - // Hidden conf - $paramkey = 'FACTURE_ADDON_PDF_'.$object->type; - $preselected = !empty($conf->global->$paramkey) ? $conf->global->$paramkey : $conf->global->FACTURE_ADDON_PDF; - } else { - $preselected = $conf->global->FACTURE_ADDON_PDF; - } - print $form->selectarray('model', $liste, $preselected, 0, 0, 0, '', 0, 0, 0, '', 'maxwidth200 widthcentpercentminusx', 1); - print ""; + // Other attributes + $parameters = array('objectsrc' => !empty($objectsrc) ? $objectsrc : 0, 'colspan' => ' colspan="2"', 'cols' => '2', 'socid'=>$socid); + $reshook = $hookmanager->executeHooks('formObjectOptions', $parameters, $object, $action); // Note that $action and $object may have been modified by hook + print $hookmanager->resPrint; + if (empty($reshook)) { + if (!empty($conf->global->THIRDPARTY_PROPAGATE_EXTRAFIELDS_TO_INVOICE) && !empty($soc->id)) { + // copy from thirdparty + $tpExtrafields = new ExtraFields($db); + $tpExtrafieldLabels = $tpExtrafields->fetch_name_optionals_label($soc->table_element); + if ($soc->fetch_optionals() > 0) { + $object->array_options = array_merge($object->array_options, $soc->array_options); + } + } - // Multicurrency - if (isModEnabled('multicurrency')) { - print ''; - print ''.$form->editfieldkey('Currency', 'multicurrency_code', '', $object, 0).''; - print ''; - print img_picto('', 'currency', 'class="pictofixedwidth"'); - print $form->selectMultiCurrency(((GETPOSTISSET('multicurrency_code') && !GETPOST('changecompany'))?GETPOST('multicurrency_code'):$currency_code), 'multicurrency_code'); - print ''; - } + print $object->showOptionals($extrafields, 'create', $parameters); + } - // Help of substitution key - $htmltext = ''; - if (GETPOST('fac_rec', 'int') > 0) { - $dateexample = ($newdateinvoice ? $newdateinvoice : $dateinvoice); - if (empty($dateexample)) { - $dateexample = dol_now(); - } - $substitutionarray = array( - '__TOTAL_HT__' => $langs->trans("AmountHT").' ('.$langs->trans("Example").': '.price($exampletemplateinvoice->total_ht).')', - '__TOTAL_TTC__' => $langs->trans("AmountTTC").' ('.$langs->trans("Example").': '.price($exampletemplateinvoice->total_ttc).')', - '__INVOICE_PREVIOUS_MONTH__' => $langs->trans("PreviousMonthOfInvoice").' ('.$langs->trans("Example").': '.dol_print_date(dol_time_plus_duree($dateexample, -1, 'm'), '%m').')', - '__INVOICE_MONTH__' => $langs->trans("MonthOfInvoice").' ('.$langs->trans("Example").': '.dol_print_date($dateexample, '%m').')', - '__INVOICE_NEXT_MONTH__' => $langs->trans("NextMonthOfInvoice").' ('.$langs->trans("Example").': '.dol_print_date(dol_time_plus_duree($dateexample, 1, 'm'), '%m').')', - '__INVOICE_PREVIOUS_MONTH_TEXT__' => $langs->trans("TextPreviousMonthOfInvoice").' ('.$langs->trans("Example").': '.dol_print_date(dol_time_plus_duree($dateexample, -1, 'm'), '%B').')', - '__INVOICE_MONTH_TEXT__' => $langs->trans("TextMonthOfInvoice").' ('.$langs->trans("Example").': '.dol_print_date($dateexample, '%B').')', - '__INVOICE_NEXT_MONTH_TEXT__' => $langs->trans("TextNextMonthOfInvoice").' ('.$langs->trans("Example").': '.dol_print_date(dol_time_plus_duree($dateexample, 1, 'm'), '%B').')', - '__INVOICE_PREVIOUS_YEAR__' => $langs->trans("PreviousYearOfInvoice").' ('.$langs->trans("Example").': '.dol_print_date(dol_time_plus_duree($dateexample, -1, 'y'), '%Y').')', - '__INVOICE_YEAR__' => $langs->trans("YearOfInvoice").' ('.$langs->trans("Example").': '.dol_print_date($dateexample, '%Y').')', - '__INVOICE_NEXT_YEAR__' => $langs->trans("NextYearOfInvoice").' ('.$langs->trans("Example").': '.dol_print_date(dol_time_plus_duree($dateexample, 1, 'y'), '%Y').')' - ); + // Template to use by default + print ''.$langs->trans('Model').''; + print ''; + print img_picto('', 'pdf', 'class="pictofixedwidth"'); + include_once DOL_DOCUMENT_ROOT.'/core/modules/facture/modules_facture.php'; + $liste = ModelePDFFactures::liste_modeles($db); + if (!empty($conf->global->INVOICE_USE_DEFAULT_DOCUMENT)) { + // Hidden conf + $paramkey = 'FACTURE_ADDON_PDF_'.$object->type; + $preselected = !empty($conf->global->$paramkey) ? $conf->global->$paramkey : $conf->global->FACTURE_ADDON_PDF; + } else { + $preselected = $conf->global->FACTURE_ADDON_PDF; + } + print $form->selectarray('model', $liste, $preselected, 0, 0, 0, '', 0, 0, 0, '', 'maxwidth200 widthcentpercentminusx', 1); + print ""; - $htmltext = ''.$langs->trans("FollowingConstantsWillBeSubstituted").':
'; - foreach ($substitutionarray as $key => $val) { - $htmltext .= $key.' = '.$langs->trans($val).'
'; + // Multicurrency + if (isModEnabled('multicurrency')) { + print ''; + print ''.$form->editfieldkey('Currency', 'multicurrency_code', '', $object, 0).''; + print ''; + print img_picto('', 'currency', 'class="pictofixedwidth"'); + print $form->selectMultiCurrency(((GETPOSTISSET('multicurrency_code') && !GETPOST('changecompany'))?GETPOST('multicurrency_code'):$currency_code), 'multicurrency_code'); + print ''; + } + + // Help of substitution key + $htmltext = ''; + if (GETPOST('fac_rec', 'int') > 0) { + $dateexample = ($newdateinvoice ? $newdateinvoice : $dateinvoice); + if (empty($dateexample)) { + $dateexample = dol_now(); + } + $substitutionarray = array( + '__TOTAL_HT__' => $langs->trans("AmountHT").' ('.$langs->trans("Example").': '.price($exampletemplateinvoice->total_ht).')', + '__TOTAL_TTC__' => $langs->trans("AmountTTC").' ('.$langs->trans("Example").': '.price($exampletemplateinvoice->total_ttc).')', + '__INVOICE_PREVIOUS_MONTH__' => $langs->trans("PreviousMonthOfInvoice").' ('.$langs->trans("Example").': '.dol_print_date(dol_time_plus_duree($dateexample, -1, 'm'), '%m').')', + '__INVOICE_MONTH__' => $langs->trans("MonthOfInvoice").' ('.$langs->trans("Example").': '.dol_print_date($dateexample, '%m').')', + '__INVOICE_NEXT_MONTH__' => $langs->trans("NextMonthOfInvoice").' ('.$langs->trans("Example").': '.dol_print_date(dol_time_plus_duree($dateexample, 1, 'm'), '%m').')', + '__INVOICE_PREVIOUS_MONTH_TEXT__' => $langs->trans("TextPreviousMonthOfInvoice").' ('.$langs->trans("Example").': '.dol_print_date(dol_time_plus_duree($dateexample, -1, 'm'), '%B').')', + '__INVOICE_MONTH_TEXT__' => $langs->trans("TextMonthOfInvoice").' ('.$langs->trans("Example").': '.dol_print_date($dateexample, '%B').')', + '__INVOICE_NEXT_MONTH_TEXT__' => $langs->trans("TextNextMonthOfInvoice").' ('.$langs->trans("Example").': '.dol_print_date(dol_time_plus_duree($dateexample, 1, 'm'), '%B').')', + '__INVOICE_PREVIOUS_YEAR__' => $langs->trans("PreviousYearOfInvoice").' ('.$langs->trans("Example").': '.dol_print_date(dol_time_plus_duree($dateexample, -1, 'y'), '%Y').')', + '__INVOICE_YEAR__' => $langs->trans("YearOfInvoice").' ('.$langs->trans("Example").': '.dol_print_date($dateexample, '%Y').')', + '__INVOICE_NEXT_YEAR__' => $langs->trans("NextYearOfInvoice").' ('.$langs->trans("Example").': '.dol_print_date(dol_time_plus_duree($dateexample, 1, 'y'), '%Y').')' + ); + + $htmltext = ''.$langs->trans("FollowingConstantsWillBeSubstituted").':
'; + foreach ($substitutionarray as $key => $val) { + $htmltext .= $key.' = '.$langs->trans($val).'
'; + } + $htmltext .= '
'; } - $htmltext .= '
'; - } - // Public note - print ''; - print ''; - print $form->textwithpicto($langs->trans('NotePublic'), $htmltext); - print ''; - print ''; - $doleditor = new DolEditor('note_public', $note_public, '', 80, 'dolibarr_notes', 'In', 0, false, empty($conf->global->FCKEDITOR_ENABLE_NOTE_PUBLIC) ? 0 : 1, ROWS_3, '90%'); - print $doleditor->Create(1); - - // Private note - if (empty($user->socid)) { + // Public note print ''; print ''; - print $form->textwithpicto($langs->trans('NotePrivate'), $htmltext); + print $form->textwithpicto($langs->trans('NotePublic'), $htmltext); print ''; print ''; - $doleditor = new DolEditor('note_private', $note_private, '', 80, 'dolibarr_notes', 'In', 0, false, empty($conf->global->FCKEDITOR_ENABLE_NOTE_PRIVATE) ? 0 : 1, ROWS_3, '90%'); + $doleditor = new DolEditor('note_public', $note_public, '', 80, 'dolibarr_notes', 'In', 0, false, empty($conf->global->FCKEDITOR_ENABLE_NOTE_PUBLIC) ? 0 : 1, ROWS_3, '90%'); print $doleditor->Create(1); - // print ' - print ''; - } - // Lines from source (TODO Show them also when creating invoice from template invoice) - if (!empty($origin) && !empty($originid) && is_object($objectsrc)) { - $langs->loadLangs(array('orders', 'propal')); - - // TODO for compatibility - if ($origin == 'contrat') { - // Calcul contrat->price (HT), contrat->total (TTC), contrat->tva - $objectsrc->remise_absolue = $remise_absolue; - $objectsrc->remise_percent = $remise_percent; - $objectsrc->update_price(1, 'auto', 1); - } - - print "\n\n"; - print ''."\n"; - print ''."\n"; - print ''."\n"; - // The commented lines below are fields already added as hidden parameters before - //print ''; - //print ''; - - switch (get_class($objectsrc)) { - case 'Propal': - $newclassname = 'CommercialProposal'; - break; - case 'Commande': - $newclassname = 'Order'; - break; - case 'Expedition': - $newclassname = 'Sending'; - break; - case 'Contrat': - $newclassname = 'Contract'; - break; - case 'Fichinter': - $newclassname = 'Intervention'; - break; - default: - $newclassname = get_class($objectsrc); - } - - // Ref of origin - print ''.$langs->trans($newclassname).''; - print ''; - print $objectsrc->getNomUrl(1); - // We check if Origin document (id and type is known) has already at least one invoice attached to it - $objectsrc->fetchObjectLinked($originid, $origin, '', 'facture'); - if (isset($objectsrc->linkedObjects['facture']) && is_array($objectsrc->linkedObjects['facture']) && count($objectsrc->linkedObjects['facture']) >= 1) { - setEventMessages('WarningBillExist', null, 'warnings'); - echo ' - '.$langs->trans('LatestRelatedBill').' '.end($objectsrc->linkedObjects['facture'])->getNomUrl(1); - } - echo ''; - print ''.$langs->trans('AmountHT').''.price($objectsrc->total_ht).''; - print ''.$langs->trans('AmountVAT').''.price($objectsrc->total_tva).""; - if ($mysoc->localtax1_assuj == "1" || $objectsrc->total_localtax1 != 0) { // Localtax1 - print ''.$langs->transcountry("AmountLT1", $mysoc->country_code).''.price($objectsrc->total_localtax1).""; + // Private note + if (empty($user->socid)) { + print ''; + print ''; + print $form->textwithpicto($langs->trans('NotePrivate'), $htmltext); + print ''; + print ''; + $doleditor = new DolEditor('note_private', $note_private, '', 80, 'dolibarr_notes', 'In', 0, false, empty($conf->global->FCKEDITOR_ENABLE_NOTE_PRIVATE) ? 0 : 1, ROWS_3, '90%'); + print $doleditor->Create(1); + // print ' + print ''; } - if ($mysoc->localtax2_assuj == "1" || $objectsrc->total_localtax2 != 0) { // Localtax2 - print ''.$langs->transcountry("AmountLT2", $mysoc->country_code).''.price($objectsrc->total_localtax2).""; - } - print ''.$langs->trans('AmountTTC').''.price($objectsrc->total_ttc).""; + // Lines from source (TODO Show them also when creating invoice from template invoice) + if (!empty($origin) && !empty($originid) && is_object($objectsrc)) { + $langs->loadLangs(array('orders', 'propal')); - if (isModEnabled('multicurrency')) { - print ''.$langs->trans('MulticurrencyAmountHT').''.price($objectsrc->multicurrency_total_ht).''; - print ''.$langs->trans('MulticurrencyAmountVAT').''.price($objectsrc->multicurrency_total_tva).""; - print ''.$langs->trans('MulticurrencyAmountTTC').''.price($objectsrc->multicurrency_total_ttc).""; - } - } + // TODO for compatibility + if ($origin == 'contrat') { + // Calcul contrat->price (HT), contrat->total (TTC), contrat->tva + //$objectsrc->remise_absolue = $remise_absolue; + //$objectsrc->remise_percent = $remise_percent; + $objectsrc->update_price(1, 'auto', 1); + } + + print "\n\n"; + print ''."\n"; + print ''."\n"; + print ''."\n"; + // The commented lines below are fields already added as hidden parameters before + //print ''; + //print ''; + + switch (get_class($objectsrc)) { + case 'Propal': + $newclassname = 'CommercialProposal'; + break; + case 'Commande': + $newclassname = 'Order'; + break; + case 'Expedition': + $newclassname = 'Sending'; + break; + case 'Contrat': + $newclassname = 'Contract'; + break; + case 'Fichinter': + $newclassname = 'Intervention'; + break; + default: + $newclassname = get_class($objectsrc); + } + + // Ref of origin + print ''.$langs->trans($newclassname).''; + print ''; + print $objectsrc->getNomUrl(1); + // We check if Origin document (id and type is known) has already at least one invoice attached to it + $objectsrc->fetchObjectLinked($originid, $origin, '', 'facture'); + if (isset($objectsrc->linkedObjects['facture']) && is_array($objectsrc->linkedObjects['facture']) && count($objectsrc->linkedObjects['facture']) >= 1) { + setEventMessages('WarningBillExist', null, 'warnings'); + echo ' - '.$langs->trans('LatestRelatedBill').' '.end($objectsrc->linkedObjects['facture'])->getNomUrl(1); + } + echo ''; + print ''.$langs->trans('AmountHT').''.price($objectsrc->total_ht).''; + print ''.$langs->trans('AmountVAT').''.price($objectsrc->total_tva).""; + if ($mysoc->localtax1_assuj == "1" || $objectsrc->total_localtax1 != 0) { // Localtax1 + print ''.$langs->transcountry("AmountLT1", $mysoc->country_code).''.price($objectsrc->total_localtax1).""; + } - print "\n"; + if ($mysoc->localtax2_assuj == "1" || $objectsrc->total_localtax2 != 0) { // Localtax2 + print ''.$langs->transcountry("AmountLT2", $mysoc->country_code).''.price($objectsrc->total_localtax2).""; + } + print ''.$langs->trans('AmountTTC').''.price($objectsrc->total_ttc).""; + + if (isModEnabled('multicurrency')) { + print ''.$langs->trans('MulticurrencyAmountHT').''.price($objectsrc->multicurrency_total_ht).''; + print ''.$langs->trans('MulticurrencyAmountVAT').''.price($objectsrc->multicurrency_total_tva).""; + print ''.$langs->trans('MulticurrencyAmountTTC').''.price($objectsrc->multicurrency_total_ttc).""; + } + } + print "\n"; + } print dol_get_fiche_end(); print $form->buttonsSaveCancel("CreateDraft"); @@ -4065,7 +4168,7 @@ function setRadioForTypeOfIncoice() { $formconfirm = ''; - // Confirmation de la conversion de l'avoir en reduc + // Confirmation of the conversion of the credit into a reduction if ($action == 'converttoreduc') { if ($object->type == Facture::TYPE_STANDARD || $object->type == Facture::TYPE_SITUATION) { $type_fac = 'ExcessReceived'; @@ -4249,7 +4352,7 @@ function setRadioForTypeOfIncoice() { $formconfirm = $form->formconfirm($_SERVER["PHP_SELF"].'?facid='.$object->id, $langs->trans('UnvalidateBill'), $text, 'confirm_modif', $formquestion, "yes", 1); } - // Confirmation du classement paye + // Confirmation of payment classification if ($action == 'paid' && ($resteapayer <= 0 || (!empty($conf->global->INVOICE_CAN_SET_PAID_EVEN_IF_PARTIALLY_PAID) && $resteapayer == $object->total_ttc))) { $formconfirm = $form->formconfirm($_SERVER["PHP_SELF"].'?facid='.$object->id, $langs->trans('ClassifyPaid'), $langs->trans('ConfirmClassifyPaidBill', $object->ref), 'confirm_paid', '', "yes", 1); } @@ -4296,16 +4399,16 @@ function setRadioForTypeOfIncoice() { $arrayreasons[$close[$key]['code']] = $close[$key]['reason']; } - // Cree un tableau formulaire + // Create a form table $formquestion = array('text' => $langs->trans("ConfirmClassifyPaidPartiallyQuestion"), array('type' => 'radio', 'name' => 'close_code', 'label' => $langs->trans("Reason"), 'values' => $arrayreasons), array('type' => 'text', 'name' => 'close_note', 'label' => $langs->trans("Comment"), 'value' => '', 'morecss' => 'minwidth300')); - // Paiement incomplet. On demande si motif = escompte ou autre + // Incomplete payment. We ask if reason = discount or other $formconfirm = $form->formconfirm($_SERVER["PHP_SELF"].'?facid='.$object->id, $langs->trans('ClassifyPaid'), $langs->trans('ConfirmClassifyPaidPartially', $object->ref), 'confirm_paid_partially', $formquestion, "yes", 1, 380, 600); } - // Confirmation du classement abandonne + // Confirmation of status abandoned if ($action == 'canceled') { - // S'il y a une facture de remplacement pas encore validee (etat brouillon), - // on ne permet pas de classer abandonner la facture. + // If there is a replacement invoice not yet validated (draft state), + // it is not allowed to classify the invoice as abandoned. if ($objectidnext) { $facturereplacement = new Facture($db); $facturereplacement->fetch($objectidnext); @@ -4320,14 +4423,14 @@ function setRadioForTypeOfIncoice() { // Help $close[1]['label'] = $langs->trans("ConfirmClassifyPaidPartiallyReasonBadCustomerDesc"); $close[2]['label'] = $langs->trans("ConfirmClassifyAbandonReasonOtherDesc"); - // Texte + // Text $close[1]['reason'] = $form->textwithpicto($langs->transnoentities("ConfirmClassifyPaidPartiallyReasonBadCustomer", $object->ref), $close[1]['label'], 1); $close[2]['reason'] = $form->textwithpicto($langs->transnoentities("ConfirmClassifyAbandonReasonOther"), $close[2]['label'], 1); // arrayreasons $arrayreasons[$close[1]['code']] = $close[1]['reason']; $arrayreasons[$close[2]['code']] = $close[2]['reason']; - // Cree un tableau formulaire + // Create a form table $formquestion = array('text' => $langs->trans("ConfirmCancelBillQuestion"), array('type' => 'radio', 'name' => 'close_code', 'label' => $langs->trans("Reason"), 'values' => $arrayreasons), array('type' => 'text', 'name' => 'close_note', 'label' => $langs->trans("Comment"), 'value' => '', 'morecss' => 'minwidth300')); $formconfirm = $form->formconfirm($_SERVER['PHP_SELF'].'?facid='.$object->id, $langs->trans('CancelBill'), $langs->trans('ConfirmCancelBill', $object->ref), 'confirm_canceled', $formquestion, "yes", 1, 270); @@ -4395,7 +4498,7 @@ function setRadioForTypeOfIncoice() { } // Ref customer $morehtmlref .= $form->editfieldkey("RefCustomer", 'ref_client', $object->ref_client, $object, $usercancreate, 'string', '', 0, 1); - $morehtmlref .= $form->editfieldval("RefCustomer", 'ref_client', $object->ref_client, $object, $usercancreate, 'string'.(isset($conf->global->THIRDPARTY_REF_INPUT_SIZE) ? ':'.$conf->global->THIRDPARTY_REF_INPUT_SIZE : ''), '', null, null, '', 1); + $morehtmlref .= $form->editfieldval("RefCustomer", 'ref_client', $object->ref_client, $object, $usercancreate, 'string'.(isset($conf->global->THIRDPARTY_REF_INPUT_SIZE) ? ':' . getDolGlobalString('THIRDPARTY_REF_INPUT_SIZE') : ''), '', null, null, '', 1); // Thirdparty $morehtmlref .= '
'.$object->thirdparty->getNomUrl(1, 'customer'); if (empty($conf->global->MAIN_DISABLE_OTHER_LINK) && $object->thirdparty->id > 0) { @@ -4428,1072 +4531,1087 @@ function setRadioForTypeOfIncoice() { dol_banner_tab($object, 'ref', $linkback, 1, 'ref', 'ref', $morehtmlref, '', 0, '', ''); - print '
'; - print '
'; - print '
'; + // Call Hook tabContentViewInvoice + $parameters = array(); + // Note that $action and $object may be modified by hook + $reshook = $hookmanager->executeHooks('tabContentViewInvoice', $parameters, $object, $action); + if (empty($reshook)) { + print '
'; + print '
'; + print '
'; - print ''; + print '
'; - // Type - print ''; - - // Relative and absolute discounts - print ''."\n"; - print ''; - print ''; - - // Date invoice - print ''; + if ($object->fk_fac_rec_source > 0) { + $tmptemplate = new FactureRec($db); + $result = $tmptemplate->fetch($object->fk_fac_rec_source); + if ($result > 0) { + print ' '; + $s = $langs->transnoentities("GeneratedFromTemplate", '{s1}'); + $s = str_replace('{s1}', $tmptemplate->getNomUrl(1, '', 32), $s); + print $s; + print ''; + } + } + print ''; - print ''; + // Relative and absolute discounts + print ''."\n"; + print ''; + print ''; - if (!empty($conf->global->INVOICE_POINTOFTAX_DATE)) { - // Date invoice point of tax + // Date invoice print ''; - } - // Payment term - print ''; - - // Date payment term - print ''; - - // Payment mode - print ''; - - // Multicurrency - if (isModEnabled('multicurrency')) { - // Multicurrency code - print ''; - print ''; - // Multicurrency rate - if ($object->multicurrency_code != $conf->currency || $object->multicurrency_tx != 1) { - print ''; - print ''; - print ''; - print ''; if (isModEnabled("banque")) { - print ''; + $nbrows++; + $nbcols++; + } + if ($mysoc->localtax1_assuj == "1" || $object->total_localtax1 != 0) { + $nbrows++; + } + if ($mysoc->localtax2_assuj == "1" || $object->total_localtax2 != 0) { + $nbrows++; + } + if ($selleruserevenustamp) { + $nbrows++; + } + if (isModEnabled('multicurrency')) { + $nbrows += 5; + } + if (isModEnabled('incoterm')) { + $nbrows += 1; } - print ''; - print ''; - print ''; - print ''; - - - if (count($object->tab_next_situation_invoice) > 0) { - // List of next invoices - /*print ''; - print ''; - print ''; - print ''; - if (isModEnabled('banque')) print ''; - print ''; - print ''; - print ''; - print '';*/ - $total_next_ht = $total_next_ttc = 0; + // List of previous situation invoices + if (($object->situation_cycle_ref > 0) && !empty($conf->global->INVOICE_USE_SITUATION)) { + print ''; + print '
'.$langs->trans('Type').''; - print $object->getLibType(2); - if ($object->module_source) { - print ' ('.$langs->trans("POS").' '.dol_escape_htmltag(ucfirst($object->module_source)).' - '.$langs->trans("Terminal").' '.dol_escape_htmltag($object->pos_source).')'; - } - if ($object->type == Facture::TYPE_REPLACEMENT) { - $facreplaced = new Facture($db); - $facreplaced->fetch($object->fk_facture_source); - print ' '.$langs->transnoentities("ReplaceInvoice", $facreplaced->getNomUrl(1, '', 32)).''; - } - if ($object->type == Facture::TYPE_CREDIT_NOTE && !empty($object->fk_facture_source)) { - $facusing = new Facture($db); - $facusing->fetch($object->fk_facture_source); - print ' '.$langs->transnoentities("CorrectInvoice", $facusing->getNomUrl(1, '', 32)).''; - } + // Type + print '
'.$langs->trans('Type').''; + print $object->getLibType(2); + if ($object->subtype > 0) { + print ' '.$object->getSubtypeLabel('facture'); + } + if ($object->module_source) { + print ' ('.$langs->trans("POS").' '.dol_escape_htmltag(ucfirst($object->module_source)).' - '.$langs->trans("Terminal").' '.dol_escape_htmltag($object->pos_source).')'; + } + if ($object->type == Facture::TYPE_REPLACEMENT) { + $facreplaced = new Facture($db); + $facreplaced->fetch($object->fk_facture_source); + print ' '.$langs->transnoentities("ReplaceInvoice", $facreplaced->getNomUrl(1, '', 32)).''; + } + if ($object->type == Facture::TYPE_CREDIT_NOTE && !empty($object->fk_facture_source)) { + $facusing = new Facture($db); + $facusing->fetch($object->fk_facture_source); + print ' '.$langs->transnoentities("CorrectInvoice", $facusing->getNomUrl(1, '', 32)).''; + } - $facidavoir = $object->getListIdAvoirFromInvoice(); - if (count($facidavoir) > 0) { - print ' '.$langs->transnoentities("InvoiceHasAvoir"); - $i = 0; - foreach ($facidavoir as $id) { - if ($i == 0) { - print ' '; - } else { - print ','; + $facidavoir = $object->getListIdAvoirFromInvoice(); + if (count($facidavoir) > 0) { + print ' '.$langs->transnoentities("InvoiceHasAvoir"); + $i = 0; + foreach ($facidavoir as $id) { + if ($i == 0) { + print ' '; + } else { + print ','; + } + $facavoir = new Facture($db); + $facavoir->fetch($id); + print $facavoir->getNomUrl(1, '', 32); } - $facavoir = new Facture($db); - $facavoir->fetch($id); - print $facavoir->getNomUrl(1, '', 32); + print ''; } - print ''; - } - if ($objectidnext > 0) { - $facthatreplace = new Facture($db); - $facthatreplace->fetch($objectidnext); - print ' '.str_replace('{s1}', $facthatreplace->getNomUrl(1), $langs->transnoentities("ReplacedByInvoice", '{s1}')).''; - } - - if ($object->type == Facture::TYPE_CREDIT_NOTE || $object->type == Facture::TYPE_DEPOSIT) { - $discount = new DiscountAbsolute($db); - $result = $discount->fetch(0, $object->id); - if ($result > 0) { - print ' '; - $s = $langs->trans("CreditNoteConvertedIntoDiscount", '{s1}', '{s2}'); - $s = str_replace('{s1}', $object->getLibType(0), $s); - $s = str_replace('{s2}', $discount->getNomUrl(1, 'discount'), $s); - print $s; - print '
'; + if ($objectidnext > 0) { + $facthatreplace = new Facture($db); + $facthatreplace->fetch($objectidnext); + print ' '.str_replace('{s1}', $facthatreplace->getNomUrl(1), $langs->transnoentities("ReplacedByInvoice", '{s1}')).''; } - } - if ($object->fk_fac_rec_source > 0) { - $tmptemplate = new FactureRec($db); - $result = $tmptemplate->fetch($object->fk_fac_rec_source); - if ($result > 0) { - print ' '; - $s = $langs->transnoentities("GeneratedFromTemplate", '{s1}'); - $s = str_replace('{s1}', $tmptemplate->getNomUrl(1, '', 32), $s); - print $s; - print ''; + if ($object->type == Facture::TYPE_CREDIT_NOTE || $object->type == Facture::TYPE_DEPOSIT) { + $discount = new DiscountAbsolute($db); + $result = $discount->fetch(0, $object->id); + if ($result > 0) { + print ' '; + $s = $langs->trans("CreditNoteConvertedIntoDiscount", '{s1}', '{s2}'); + $s = str_replace('{s1}', $object->getLibType(0), $s); + $s = str_replace('{s2}', $discount->getNomUrl(1, 'discount'), $s); + print $s; + print '
'; + } } - } - print '
'.$langs->trans('DiscountStillRemaining').''; - $thirdparty = $soc; - $discount_type = 0; - $backtopage = $_SERVER["PHP_SELF"].'?facid='.$object->id; - include DOL_DOCUMENT_ROOT.'/core/tpl/object_discounts.tpl.php'; - print '
'; - print ''; - if ($action != 'editinvoicedate' && $object->status == $object::STATUS_DRAFT && $usercancreate && !getDolGlobalString('FAC_FORCE_DATE_VALIDATION')) { - print ''; - } - print '
'; - print $langs->trans('DateInvoice'); - print 'id.'">'.img_edit($langs->trans('SetDate'), 1).'
'; - print '
'; - if ($action == 'editinvoicedate') { - $form->form_date($_SERVER['PHP_SELF'].'?facid='.$object->id, $object->date, 'invoicedate'); - } else { - print ''.dol_print_date($object->date, 'day').''; - } - print '
'.$langs->trans('DiscountStillRemaining').''; + $thirdparty = $soc; + $discount_type = 0; + $backtopage = $_SERVER["PHP_SELF"].'?facid='.$object->id; + include DOL_DOCUMENT_ROOT.'/core/tpl/object_discounts.tpl.php'; + print '
'; print ''; - print ''; + if ($action != 'editinvoicedate' && $object->status == $object::STATUS_DRAFT && $usercancreate && !getDolGlobalString('FAC_FORCE_DATE_VALIDATION')) { + print ''; + } print '
'; - print $langs->trans('DatePointOfTax'); + print $langs->trans('DateInvoice'); print 'id.'">'.img_edit($langs->trans('SetDate'), 1).'id.'">'.img_edit($langs->trans('SetDate'), 1).'
'; print '
'; - if ($action == 'editdate_pointoftax') { - $form->form_date($_SERVER['PHP_SELF'].'?facid='.$object->id, $object->date_pointoftax, 'date_pointoftax'); - } else { - print ''.dol_print_date($object->date_pointoftax, 'day').''; - } - print '
'; - print ''; - if ($object->type != Facture::TYPE_CREDIT_NOTE && $action != 'editconditions' && $usercancreate) { - print ''; - } - print '
'; - print $langs->trans('PaymentConditionsShort'); - print 'id.'">'.img_edit($langs->trans('SetConditions'), 1).'
'; - print '
'; - if ($object->type != Facture::TYPE_CREDIT_NOTE) { - if ($action == 'editconditions') { - $form->form_conditions_reglement($_SERVER['PHP_SELF'].'?facid='.$object->id, $object->cond_reglement_id, 'cond_reglement_id'); - } else { - $form->form_conditions_reglement($_SERVER['PHP_SELF'].'?facid='.$object->id, $object->cond_reglement_id, 'none'); - } - } else { - print ' '; - } - print '
'; - print ''; - if ($object->type != Facture::TYPE_CREDIT_NOTE && $action != 'editpaymentterm' && $usercancreate) { - print ''; - } - print '
'; - print $langs->trans('DateMaxPayment'); - print 'id.'">'.img_edit($langs->trans('SetDate'), 1).'
'; - print '
'; - if ($object->type != Facture::TYPE_CREDIT_NOTE) { - if ($action == 'editpaymentterm') { - $form->form_date($_SERVER['PHP_SELF'].'?facid='.$object->id, $object->date_lim_reglement, 'paymentterm'); + if ($action == 'editinvoicedate') { + $form->form_date($_SERVER['PHP_SELF'].'?facid='.$object->id, $object->date, 'invoicedate'); } else { - print ''.dol_print_date($object->date_lim_reglement, 'day').''; - if ($object->hasDelay()) { - print img_warning($langs->trans('Late')); - } + print ''.dol_print_date($object->date, 'day').''; } - } else { - print ' '; - } - print '
'; - print ''; - if ($action != 'editmode' && $usercancreate) { - print ''; - } - print '
'; - print $langs->trans('PaymentMode'); - print 'id.'">'.img_edit($langs->trans('SetMode'), 1).'
'; - print '
'; - if ($action == 'editmode') { - $form->form_modes_reglement($_SERVER['PHP_SELF'].'?facid='.$object->id, $object->mode_reglement_id, 'mode_reglement_id', 'CRDT', 1, 1); - } else { - $form->form_modes_reglement($_SERVER['PHP_SELF'].'?facid='.$object->id, $object->mode_reglement_id, 'none', 'CRDT'); - } - print '
'; - print ''; - if ($usercancreate && $action != 'editmulticurrencycode' && $object->status == $object::STATUS_DRAFT) { - print ''; - } - print '
'; - print $form->editfieldkey('Currency', 'multicurrency_code', '', $object, 0); print 'id.'">'.img_edit($langs->transnoentitiesnoconv('SetMultiCurrencyCode'), 1).'
'; - print '
'; - $htmlname = (($usercancreate && $action == 'editmulticurrencycode') ? 'multicurrency_code' : 'none'); - $form->form_multicurrency_code($_SERVER['PHP_SELF'].'?id='.$object->id, $object->multicurrency_code, $htmlname); - print '
'; - print ''; + + if (!empty($conf->global->INVOICE_POINTOFTAX_DATE)) { + // Date invoice point of tax + print ''; } - } - // Bank Account - if (isModEnabled("banque")) { - print ''; + + // Payment mode + print ''; - } - - - if (!empty($object->retained_warranty) || !empty($conf->global->INVOICE_USE_RETAINED_WARRANTY)) { - $displayWarranty = true; - if (!in_array($object->type, $retainedWarrantyInvoiceAvailableType) && empty($object->retained_warranty)) { - $displayWarranty = false; - } - - if ($displayWarranty) { - // Retained Warranty - print '
'; - print $form->editfieldkey('CurrencyRate', 'multicurrency_tx', '', $object, 0); + print '
'; + print ''; - if ($usercancreate && $action != 'editmulticurrencyrate' && $object->status == $object::STATUS_DRAFT && $object->multicurrency_code && $object->multicurrency_code != $conf->currency) { - print ''; - } + print ''; print '
'; + print $langs->trans('DatePointOfTax'); print 'id.'">'.img_edit($langs->transnoentitiesnoconv('SetMultiCurrencyCode'), 1).'id.'">'.img_edit($langs->trans('SetDate'), 1).'
'; print '
'; - if ($action == 'editmulticurrencyrate' || $action == 'actualizemulticurrencyrate') { - if ($action == 'actualizemulticurrencyrate') { - list($object->fk_multicurrency, $object->multicurrency_tx) = MultiCurrency::getIdAndTxFromCode($object->db, $object->multicurrency_code); - } - $form->form_multicurrency_rate($_SERVER['PHP_SELF'].'?id='.$object->id, $object->multicurrency_tx, ($usercancreate ? 'multicurrency_tx' : 'none'), $object->multicurrency_code); + if ($action == 'editdate_pointoftax') { + $form->form_date($_SERVER['PHP_SELF'].'?facid='.$object->id, $object->date_pointoftax, 'date_pointoftax'); } else { - $form->form_multicurrency_rate($_SERVER['PHP_SELF'].'?id='.$object->id, $object->multicurrency_tx, 'none', $object->multicurrency_code); - if ($object->statut == $object::STATUS_DRAFT && $object->multicurrency_code && $object->multicurrency_code != $conf->currency) { - print '
        '; - print ''.$langs->trans("ActualizeCurrency").''; - print '
'; - } + print ''.dol_print_date($object->date_pointoftax, 'day').''; } print '
'; - print ''; + // Payment term + print '"; - print ''; - } + print ''; - // Incoterms - if (isModEnabled('incoterm')) { + // Date payment term print '
'; - print $langs->trans('BankAccount'); - print ''; - if (($action != 'editbankaccount') && $usercancreate) { - print 'id.'">'.img_edit($langs->trans('SetBankAccount'), 1).'
'; + print ''; + if ($object->type != Facture::TYPE_CREDIT_NOTE && $action != 'editconditions' && $usercancreate) { + print ''; } print '
'; + print $langs->trans('PaymentConditionsShort'); + print 'id.'">'.img_edit($langs->trans('SetConditions'), 1).'
'; print '
'; - if ($action == 'editbankaccount') { - $form->formSelectAccount($_SERVER['PHP_SELF'].'?id='.$object->id, $object->fk_account, 'fk_account', 1); + if ($object->type != Facture::TYPE_CREDIT_NOTE) { + if ($action == 'editconditions') { + $form->form_conditions_reglement($_SERVER['PHP_SELF'].'?facid='.$object->id, $object->cond_reglement_id, 'cond_reglement_id'); + } else { + $form->form_conditions_reglement($_SERVER['PHP_SELF'].'?facid='.$object->id, $object->cond_reglement_id, 'none'); + } } else { - $form->formSelectAccount($_SERVER['PHP_SELF'].'?id='.$object->id, $object->fk_account, 'none'); + print ' '; } - print "
'; print ''; + if ($object->type != Facture::TYPE_CREDIT_NOTE && $action != 'editpaymentterm' && $usercancreate) { + print ''; + } + print '
'; - print $langs->trans('IncotermLabel'); - print ''; - if ($usercancreate) { - print ''.img_edit().''; + print $langs->trans('DateMaxPayment'); + print 'id.'">'.img_edit($langs->trans('SetDate'), 1).'
'; + print '
'; + if ($object->type != Facture::TYPE_CREDIT_NOTE) { + if ($action == 'editpaymentterm') { + $form->form_date($_SERVER['PHP_SELF'].'?facid='.$object->id, $object->date_lim_reglement, 'paymentterm'); + } else { + print ''.dol_print_date($object->date_lim_reglement, 'day').''; + if ($object->hasDelay()) { + print img_warning($langs->trans('Late')); + } + } } else { print ' '; } - print '
'; + print '
'; + print ''; - print ''; + } + print '
'; + print $langs->trans('PaymentMode'); print ''; - if ($action != 'editincoterm') { - print $form->textwithpicto($object->display_incoterms(), $object->label_incoterms, 1); + if ($action != 'editmode' && $usercancreate) { + print 'id.'">'.img_edit($langs->trans('SetMode'), 1).'
'; + print '
'; + if ($action == 'editmode') { + $form->form_modes_reglement($_SERVER['PHP_SELF'].'?facid='.$object->id, $object->mode_reglement_id, 'mode_reglement_id', 'CRDT', 1, 1); } else { - print $form->select_incoterms((!empty($object->fk_incoterms) ? $object->fk_incoterms : ''), (!empty($object->location_incoterms) ? $object->location_incoterms : ''), $_SERVER['PHP_SELF'].'?id='.$object->id); + $form->form_modes_reglement($_SERVER['PHP_SELF'].'?facid='.$object->id, $object->mode_reglement_id, 'none', 'CRDT'); } print '
'; - print ''; + print ''; - // Retained warranty payment term - print ''; - print '
'; - print $langs->trans('RetainedWarranty'); + // Multicurrency + if (isModEnabled('multicurrency')) { + // Multicurrency code + print '
'; + print ''; - if ($action != 'editretainedwarranty' && $user->hasRight('facture', 'creer') && $object->statut == Facture::STATUS_DRAFT) { - print ''; + if ($usercancreate && $action != 'editmulticurrencycode' && $object->status == $object::STATUS_DRAFT) { + print ''; } - print '
'; + print $form->editfieldkey('Currency', 'multicurrency_code', '', $object, 0); print 'id.'">'.img_edit($langs->trans('setretainedwarranty'), 1).'id.'">'.img_edit($langs->transnoentitiesnoconv('SetMultiCurrencyCode'), 1).'
'; print '
'; - if ($action == 'editretainedwarranty' && $object->statut == Facture::STATUS_DRAFT) { - print '
'; - print ''; - print ''; - print ''; - print ''; - print ''; - print '
'; - } else { - print price($object->retained_warranty).'%'; - } + $htmlname = (($usercancreate && $action == 'editmulticurrencycode') ? 'multicurrency_code' : 'none'); + $form->form_multicurrency_code($_SERVER['PHP_SELF'].'?id='.$object->id, $object->multicurrency_code, $htmlname); print '
'; - print ''; - if ($action != 'editretainedwarrantypaymentterms' && $user->hasRight('facture', 'creer') && $object->statut == Facture::STATUS_DRAFT) { - print ''; + // Multicurrency rate + if ($object->multicurrency_code != $conf->currency || $object->multicurrency_tx != 1) { + print ''; + print ''; } + } + // Bank Account + if (isModEnabled("banque")) { + print '"; + print ''; + } - if ($action == 'editretainedwarrantypaymentterms' && $object->statut == Facture::STATUS_DRAFT) { - //date('Y-m-d',$object->date_lim_reglement) - print ''; - print ''; - print ''; - print ''; - $retained_warranty_fk_cond_reglement = GETPOST('retained_warranty_fk_cond_reglement', 'int'); - $retained_warranty_fk_cond_reglement = !empty($retained_warranty_fk_cond_reglement) ? $retained_warranty_fk_cond_reglement : $object->retained_warranty_fk_cond_reglement; - $retained_warranty_fk_cond_reglement = !empty($retained_warranty_fk_cond_reglement) ? $retained_warranty_fk_cond_reglement : $conf->global->INVOICE_SITUATION_DEFAULT_RETAINED_WARRANTY_COND_ID; - print $form->getSelectConditionsPaiements($retained_warranty_fk_cond_reglement, 'retained_warranty_fk_cond_reglement', -1, 1); - print ''; - print ''; + // Incoterms + if (isModEnabled('incoterm')) { + print ''; } - } - // Other attributes - $cols = 2; - include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_view.tpl.php'; - print '
'; - print $langs->trans('PaymentConditionsShortRetainedWarranty'); - print 'id.'">'.img_edit($langs->trans('setPaymentConditionsShortRetainedWarranty'), 1).'
'; + print ''; + if ($usercancreate && $action != 'editmulticurrencyrate' && $object->status == $object::STATUS_DRAFT && $object->multicurrency_code && $object->multicurrency_code != $conf->currency) { + print ''; + } + print '
'; + print $form->editfieldkey('CurrencyRate', 'multicurrency_tx', '', $object, 0); + print 'id.'">'.img_edit($langs->transnoentitiesnoconv('SetMultiCurrencyCode'), 1).'
'; + print '
'; + if ($action == 'editmulticurrencyrate' || $action == 'actualizemulticurrencyrate') { + if ($action == 'actualizemulticurrencyrate') { + list($object->fk_multicurrency, $object->multicurrency_tx) = MultiCurrency::getIdAndTxFromCode($object->db, $object->multicurrency_code); + } + $form->form_multicurrency_rate($_SERVER['PHP_SELF'].'?id='.$object->id, $object->multicurrency_tx, ($usercancreate ? 'multicurrency_tx' : 'none'), $object->multicurrency_code); + } else { + $form->form_multicurrency_rate($_SERVER['PHP_SELF'].'?id='.$object->id, $object->multicurrency_tx, 'none', $object->multicurrency_code); + if ($object->statut == $object::STATUS_DRAFT && $object->multicurrency_code && $object->multicurrency_code != $conf->currency) { + print '
        '; + print ''.$langs->trans("ActualizeCurrency").''; + print '
'; + } + } + print '
'; + print ''; + } print '
'; + print $langs->trans('BankAccount'); + print ''; + if (($action != 'editbankaccount') && $usercancreate) { + print 'id.'">'.img_edit($langs->trans('SetBankAccount'), 1).'
'; print '
'; - $defaultDate = !empty($object->retained_warranty_date_limit) ? $object->retained_warranty_date_limit : strtotime('-1 years', $object->date_lim_reglement); - if ($object->date > $defaultDate) { - $defaultDate = $object->date; + if ($action == 'editbankaccount') { + $form->formSelectAccount($_SERVER['PHP_SELF'].'?id='.$object->id, $object->fk_account, 'fk_account', 1); + } else { + $form->formSelectAccount($_SERVER['PHP_SELF'].'?id='.$object->id, $object->fk_account, 'none'); } + print "
'; + print ''; - - // Retained Warranty payment date limit - print ''; - if ($action != 'editretainedwarrantydatelimit' && $user->hasRight('facture', 'creer') && $object->statut == Facture::STATUS_DRAFT) { - print ''; - } - - print '
'; + print $langs->trans('IncotermLabel'); + print ''; + if ($usercancreate) { + print ''.img_edit().''; } else { - $form->form_conditions_reglement($_SERVER['PHP_SELF'].'?facid='.$object->id, $object->retained_warranty_fk_cond_reglement, 'none'); - if (!$displayWarranty) { - print img_picto($langs->trans('RetainedWarrantyNeed100Percent'), 'warning.png', 'class="pictowarning valignmiddle" '); - } + print ' '; } - print '
'; - print '
'; - print $langs->trans('RetainedWarrantyDateLimit'); + print '
'; print '
id.'">'.img_edit($langs->trans('setretainedwarrantyDateLimit'), 1).'
'; - print '
'; - $defaultDate = !empty($object->retained_warranty_date_limit) ? $object->retained_warranty_date_limit : strtotime('-1 years', $object->date_lim_reglement); - if ($object->date > $defaultDate) { - $defaultDate = $object->date; - } - - if ($action == 'editretainedwarrantydatelimit' && $object->statut == Facture::STATUS_DRAFT) { - //date('Y-m-d',$object->date_lim_reglement) - print '
'; - print ''; - print ''; - print ''; - print ''; - print ''; - print '
'; + print '
'; + if ($action != 'editincoterm') { + print $form->textwithpicto($object->display_incoterms(), $object->label_incoterms, 1); } else { - print dol_print_date($object->retained_warranty_date_limit, 'day'); + print $form->select_incoterms((!empty($object->fk_incoterms) ? $object->fk_incoterms : ''), (!empty($object->location_incoterms) ? $object->location_incoterms : ''), $_SERVER['PHP_SELF'].'?id='.$object->id); } print '
'; + if (!empty($object->retained_warranty) || !empty($conf->global->INVOICE_USE_RETAINED_WARRANTY)) { + $displayWarranty = true; + if (!in_array($object->type, $retainedWarrantyInvoiceAvailableType) && empty($object->retained_warranty)) { + $displayWarranty = false; + } - print ''; - print '
'; + if ($displayWarranty) { + // Retained Warranty + print '
'; + print ''; + if ($action != 'editretainedwarranty' && $user->hasRight('facture', 'creer') && $object->statut == Facture::STATUS_DRAFT) { + print ''; + } - print ''."\n"; - print '
'."\n"; + print '
'; + print $langs->trans('RetainedWarranty'); + print 'id.'">'.img_edit($langs->trans('setretainedwarranty'), 1).'
'; + print '
'; + if ($action == 'editretainedwarranty' && $object->statut == Facture::STATUS_DRAFT) { + print '
'; + print ''; + print ''; + print ''; + print ''; + print ''; + print '
'; + } else { + print price($object->retained_warranty).'%'; + } + print '
'; + // Retained warranty payment term + print ''; - print ''; - print ''; - if (isModEnabled("multicurrency") && ($object->multicurrency_code && $object->multicurrency_code != $conf->currency)) { - print ''; - } - print ''; + if ($action == 'editretainedwarrantypaymentterms' && $object->statut == Facture::STATUS_DRAFT) { + //date('Y-m-d',$object->date_lim_reglement) + print ''; + print ''; + print ''; + print ''; + $retained_warranty_fk_cond_reglement = GETPOST('retained_warranty_fk_cond_reglement', 'int'); + $retained_warranty_fk_cond_reglement = !empty($retained_warranty_fk_cond_reglement) ? $retained_warranty_fk_cond_reglement : $object->retained_warranty_fk_cond_reglement; + $retained_warranty_fk_cond_reglement = !empty($retained_warranty_fk_cond_reglement) ? $retained_warranty_fk_cond_reglement : $conf->global->INVOICE_SITUATION_DEFAULT_RETAINED_WARRANTY_COND_ID; + print $form->getSelectConditionsPaiements($retained_warranty_fk_cond_reglement, 'retained_warranty_fk_cond_reglement', -1, 1); + print ''; + print ''; + } else { + $form->form_conditions_reglement($_SERVER['PHP_SELF'].'?facid='.$object->id, $object->retained_warranty_fk_cond_reglement, 'none'); + if (!$displayWarranty) { + print img_picto($langs->trans('RetainedWarrantyNeed100Percent'), 'warning.png', 'class="pictowarning valignmiddle" '); + } + } + print ''; - if (($mysoc->localtax2_assuj == "1" && $mysoc->useLocalTax(2)) || $object->total_localtax2 != 0) { - print ''; - print ''; - print ''; - if (isModEnabled("multicurrency") && ($object->multicurrency_code && $object->multicurrency_code != $conf->currency)) { - print ''; + // Retained Warranty payment date limit + print ''; } - print ''; } - } - // Add the revenu stamp - if ($selleruserevenustamp) { - print ''; - } + // Other attributes + $cols = 2; + include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_view.tpl.php'; - print ''; - // Amount TTC - print ''; - print ''; - if (isModEnabled("multicurrency") && ($object->multicurrency_code && $object->multicurrency_code != $conf->currency)) { - // Multicurrency Amount TTC - print ''; - } - print ''; + print '
'; + print ''; + if ($action != 'editretainedwarrantypaymentterms' && $user->hasRight('facture', 'creer') && $object->statut == Facture::STATUS_DRAFT) { + print ''; + } - $sign = 1; - if (!empty($conf->global->INVOICE_POSITIVE_CREDIT_NOTE_SCREEN) && $object->type == $object::TYPE_CREDIT_NOTE) { - $sign = -1; // We invert sign for output - } - print ''; - // Amount HT - print ''; - print ''; - if (isModEnabled("multicurrency") && ($object->multicurrency_code && $object->multicurrency_code != $conf->currency)) { - // Multicurrency Amount HT - print ''; - } - print ''; - - print ''; - // Amount VAT - print ''; - print ''; - if (isModEnabled("multicurrency") && ($object->multicurrency_code && $object->multicurrency_code != $conf->currency)) { - // Multicurrency Amount VAT - print ''; - } - print ''; + print '
'; + print $langs->trans('PaymentConditionsShortRetainedWarranty'); + print 'id.'">'.img_edit($langs->trans('setPaymentConditionsShortRetainedWarranty'), 1).'
' . $langs->trans('AmountHT') . '' . price($sign * $object->total_ht, '', $langs, 0, -1, -1, $conf->currency) . '' . price($sign * $object->multicurrency_total_ht, '', $langs, 0, -1, -1, $object->multicurrency_code) . '
' . $langs->trans('AmountVAT') . '' . price($sign * $object->total_tva, '', $langs, 0, -1, -1, $conf->currency) . '' . price($sign * $object->multicurrency_total_tva, '', $langs, 0, -1, -1, $object->multicurrency_code) . '
'; + print '
'; + $defaultDate = !empty($object->retained_warranty_date_limit) ? $object->retained_warranty_date_limit : strtotime('-1 years', $object->date_lim_reglement); + if ($object->date > $defaultDate) { + $defaultDate = $object->date; + } - // Amount Local Taxes - if (($mysoc->localtax1_assuj == "1" && $mysoc->useLocalTax(1)) || $object->total_localtax1 != 0) { - print '
' . $langs->transcountry("AmountLT1", $mysoc->country_code) . '' . price($sign * $object->total_localtax1, '', $langs, 0, -1, -1, $conf->currency) . '' . price($sign * $object->total_localtax1, '', $langs, 0, -1, -1, $object->multicurrency_code) . '
' . $langs->transcountry("AmountLT2", $mysoc->country_code) . '' . price($sign * $object->total_localtax2, '', $langs, 0, -1, -1, $conf->currency) . '' . price($sign * $object->total_localtax2, '', $langs, 0, -1, -1, $object->multicurrency_code) . '
'; + print ''; + if ($action != 'editretainedwarrantydatelimit' && $user->hasRight('facture', 'creer') && $object->statut == Facture::STATUS_DRAFT) { + print ''; + } + + print '
'; + print $langs->trans('RetainedWarrantyDateLimit'); + print 'id.'">'.img_edit($langs->trans('setretainedwarrantyDateLimit'), 1).'
'; + print '
'; + $defaultDate = !empty($object->retained_warranty_date_limit) ? $object->retained_warranty_date_limit : strtotime('-1 years', $object->date_lim_reglement); + if ($object->date > $defaultDate) { + $defaultDate = $object->date; + } + + if ($action == 'editretainedwarrantydatelimit' && $object->statut == Facture::STATUS_DRAFT) { + //date('Y-m-d',$object->date_lim_reglement) + print '
'; + print ''; + print ''; + print ''; + print ''; + print ''; + print '
'; + } else { + print dol_print_date($object->retained_warranty_date_limit, 'day'); + } + print '
'; - print ''; - if ($action != 'editrevenuestamp' && $object->status == $object::STATUS_DRAFT && $usercancreate) { - print ''; - } - print '
'; - print $langs->trans('RevenueStamp'); - print 'id.'">'.img_edit($langs->trans('SetRevenuStamp'), 1).'
'; - print '
'; - if ($action == 'editrevenuestamp') { - print '
'; - print ''; - print ''; - print ''; - print ''; - print $formother->select_revenue_stamp('', 'revenuestamp_type', $mysoc->country_code); - print ' → '; - print ' '; - print '
'; - print " "; - } else { - print price($object->revenuestamp, 1, '', 1, -1, -1, $conf->currency); - } - print '
' . $langs->trans('AmountTTC') . '' . price($sign * $object->total_ttc, '', $langs, 0, -1, -1, $conf->currency) . '' . price($sign * $object->multicurrency_total_ttc, '', $langs, 0, -1, -1, $object->multicurrency_code) . '
'; - print '
'; + print ''; + print '
'; - $nbrows = 8; - $nbcols = 3; - if (isModEnabled('project')) { - $nbrows++; - } - if (isModEnabled("banque")) { - $nbrows++; - $nbcols++; - } - if ($mysoc->localtax1_assuj == "1" || $object->total_localtax1 != 0) { - $nbrows++; - } - if ($mysoc->localtax2_assuj == "1" || $object->total_localtax2 != 0) { - $nbrows++; - } - if ($selleruserevenustamp) { - $nbrows++; - } - if (isModEnabled('multicurrency')) { - $nbrows += 5; - } - if (isModEnabled('incoterm')) { - $nbrows += 1; - } + print ''."\n"; + print '
'."\n"; - // List of previous situation invoices - if (($object->situation_cycle_ref > 0) && !empty($conf->global->INVOICE_USE_SITUATION)) { - print ''; - print ''; + print '
'; - print ''; - print ''; - print ''; - print ''; - if (isModEnabled("banque")) { - print ''; + $sign = 1; + if (!empty($conf->global->INVOICE_POSITIVE_CREDIT_NOTE_SCREEN) && $object->type == $object::TYPE_CREDIT_NOTE) { + $sign = -1; // We invert sign for output + } + print ''; + // Amount HT + print ''; + print ''; + if (isModEnabled("multicurrency") && ($object->multicurrency_code && $object->multicurrency_code != $conf->currency)) { + // Multicurrency Amount HT + print ''; } - print ''; - print ''; - print ''; print ''; - $total_prev_ht = $total_prev_ttc = 0; - $total_global_ht = $total_global_ttc = 0; + print ''; + // Amount VAT + print ''; + print ''; + if (isModEnabled("multicurrency") && ($object->multicurrency_code && $object->multicurrency_code != $conf->currency)) { + // Multicurrency Amount VAT + print ''; + } + print ''; - if (count($object->tab_previous_situation_invoice) > 0) { - // List of previous invoices + // Amount Local Taxes + if (($mysoc->localtax1_assuj == "1" && $mysoc->useLocalTax(1)) || $object->total_localtax1 != 0) { + print ''; + print ''; + print ''; + if (isModEnabled("multicurrency") && ($object->multicurrency_code && $object->multicurrency_code != $conf->currency)) { + print ''; + } + print ''; - $current_situation_counter = array(); - foreach ($object->tab_previous_situation_invoice as $prev_invoice) { - $tmptotalpaidforthisinvoice = $prev_invoice->getSommePaiement(); - $total_prev_ht += $prev_invoice->total_ht; - $total_prev_ttc += $prev_invoice->total_ttc; - $current_situation_counter[] = (($prev_invoice->type == Facture::TYPE_CREDIT_NOTE) ?-1 : 1) * $prev_invoice->situation_counter; - print ''; - print ''; - print ''; - print ''; - if (isModEnabled("banque")) { - print ''; + if (($mysoc->localtax2_assuj == "1" && $mysoc->useLocalTax(2)) || $object->total_localtax2 != 0) { + print ''; + print ''; + print ''; + if (isModEnabled("multicurrency") && ($object->multicurrency_code && $object->multicurrency_code != $conf->currency)) { + print ''; } - print ''; - print ''; - print ''; print ''; } } - $total_global_ht += $total_prev_ht; - $total_global_ttc += $total_prev_ttc; - $total_global_ht += $object->total_ht; - $total_global_ttc += $object->total_ttc; - $current_situation_counter[] = (($object->type == Facture::TYPE_CREDIT_NOTE) ?-1 : 1) * $object->situation_counter; - print ''; - print ''; - print ''; - print ''; - if (isModEnabled("banque")) { - print ''; + // Add the revenue stamp + if ($selleruserevenustamp) { + print ''; + } + + print ''; + // Amount TTC + print ''; + print ''; + if (isModEnabled("multicurrency") && ($object->multicurrency_code && $object->multicurrency_code != $conf->currency)) { + // Multicurrency Amount TTC + print ''; } - print ''; - print ''; - print ''; print ''; + print '
'.$langs->trans('ListOfSituationInvoices').''.$langs->trans('Situation').'
' . $langs->trans('AmountHT') . '' . price($sign * $object->total_ht, '', $langs, 0, -1, -1, $conf->currency) . '' . price($sign * $object->multicurrency_total_ht, '', $langs, 0, -1, -1, $object->multicurrency_code) . ''.$langs->trans('AmountHT').''.$langs->trans('AmountTTC').' 
' . $langs->trans('AmountVAT') . '' . price($sign * $object->total_tva, '', $langs, 0, -1, -1, $conf->currency) . '' . price($sign * $object->multicurrency_total_tva, '', $langs, 0, -1, -1, $object->multicurrency_code) . '
' . $langs->transcountry("AmountLT1", $mysoc->country_code) . '' . price($sign * $object->total_localtax1, '', $langs, 0, -1, -1, $conf->currency) . '' . price($sign * $object->total_localtax1, '', $langs, 0, -1, -1, $object->multicurrency_code) . '
'.$prev_invoice->getNomUrl(1).''.(($prev_invoice->type == Facture::TYPE_CREDIT_NOTE) ? $langs->trans('situationInvoiceShortcode_AS') : $langs->trans('situationInvoiceShortcode_S')).$prev_invoice->situation_counter.'
' . $langs->transcountry("AmountLT2", $mysoc->country_code) . '' . price($sign * $object->total_localtax2, '', $langs, 0, -1, -1, $conf->currency) . '' . price($sign * $object->total_localtax2, '', $langs, 0, -1, -1, $object->multicurrency_code) . ''.price($prev_invoice->total_ht).''.price($prev_invoice->total_ttc).''.$prev_invoice->getLibStatut(3, $tmptotalpaidforthisinvoice).'
'.$object->getNomUrl(1).''.(($object->type == Facture::TYPE_CREDIT_NOTE) ? $langs->trans('situationInvoiceShortcode_AS') : $langs->trans('situationInvoiceShortcode_S')).$object->situation_counter.'
'; + print ''; + if ($action != 'editrevenuestamp' && $object->status == $object::STATUS_DRAFT && $usercancreate) { + print ''; + } + print '
'; + print $langs->trans('RevenueStamp'); + print 'id.'">'.img_edit($langs->trans('SetRevenuStamp'), 1).'
'; + print '
'; + if ($action == 'editrevenuestamp') { + print '
'; + print ''; + print ''; + print ''; + print ''; + print $formother->select_revenue_stamp('', 'revenuestamp_type', $mysoc->country_code); + print ' → '; + print ' '; + print '
'; + print " "; + } else { + print price($object->revenuestamp, 1, '', 1, -1, -1, $conf->currency); + } + print '
' . $langs->trans('AmountTTC') . '' . price($sign * $object->total_ttc, '', $langs, 0, -1, -1, $conf->currency) . '' . price($sign * $object->multicurrency_total_ttc, '', $langs, 0, -1, -1, $object->multicurrency_code) . ''.price($object->total_ht).''.price($object->total_ttc).''.$object->getLibStatut(3, $object->getSommePaiement()).'
'; - print '
'.$langs->trans('CurrentSituationTotal').''; - $i = 0; - foreach ($current_situation_counter as $sit) { - $curSign = $sit > 0 ? '+' : '-'; - $curType = $sit > 0 ? $langs->trans('situationInvoiceShortcode_S') : $langs->trans('situationInvoiceShortcode_AS'); - if ($i > 0) { - print ' '.$curSign.' '; - } - print $curType.abs($sit); - $i++; + $nbrows = 8; + $nbcols = 3; + if (isModEnabled('project')) { + $nbrows++; } - print ''.price($total_global_ht).''.price($total_global_ttc).' 
' . $langs->trans('ListOfNextSituationInvoices') . '' . $langs->trans('AmountHT') . '' . $langs->trans('AmountTTC') . ' 
'; - foreach ($object->tab_next_situation_invoice as $next_invoice) { - $totalpaid = $next_invoice->getSommePaiement(); - $total_next_ht += $next_invoice->total_ht; - $total_next_ttc += $next_invoice->total_ttc; + print ''; + print ''; + print ''; + print ''; + if (isModEnabled("banque")) { + print ''; + } + print ''; + print ''; + print ''; + print ''; - print ''; - print ''; - print ''; - print ''; - if (isModEnabled("banque")) { - print ''; + $total_prev_ht = $total_prev_ttc = 0; + $total_global_ht = $total_global_ttc = 0; + + if (count($object->tab_previous_situation_invoice) > 0) { + // List of previous invoices + + $current_situation_counter = array(); + foreach ($object->tab_previous_situation_invoice as $prev_invoice) { + $tmptotalpaidforthisinvoice = $prev_invoice->getSommePaiement(); + $total_prev_ht += $prev_invoice->total_ht; + $total_prev_ttc += $prev_invoice->total_ttc; + $current_situation_counter[] = (($prev_invoice->type == Facture::TYPE_CREDIT_NOTE) ?-1 : 1) * $prev_invoice->situation_counter; + print ''; + print ''; + print ''; + print ''; + if (isModEnabled("banque")) { + print ''; + } + print ''; + print ''; + print ''; + print ''; } - print ''; - print ''; - print ''; - print ''; } - $total_global_ht += $total_next_ht; - $total_global_ttc += $total_next_ttc; + $total_global_ht += $total_prev_ht; + $total_global_ttc += $total_prev_ttc; + $total_global_ht += $object->total_ht; + $total_global_ttc += $object->total_ttc; + $current_situation_counter[] = (($object->type == Facture::TYPE_CREDIT_NOTE) ?-1 : 1) * $object->situation_counter; print ''; - print ''; + print ''; + print ''; + print ''; if (isModEnabled("banque")) { print ''; } + print ''; + print ''; + print ''; + print ''; + + + print ''; + print ''; + print ''; + if (isModEnabled("banque")) { + print ''; + } print ''; print ''; print ''; print ''; + + + if (count($object->tab_next_situation_invoice) > 0) { + // List of next invoices + /*print ''; + print ''; + print ''; + print ''; + if (isModEnabled('banque')) print ''; + print ''; + print ''; + print ''; + print '';*/ + + $total_next_ht = $total_next_ttc = 0; + + foreach ($object->tab_next_situation_invoice as $next_invoice) { + $totalpaid = $next_invoice->getSommePaiement(); + $total_next_ht += $next_invoice->total_ht; + $total_next_ttc += $next_invoice->total_ttc; + + print ''; + print ''; + print ''; + print ''; + if (isModEnabled("banque")) { + print ''; + } + print ''; + print ''; + print ''; + print ''; + } + + $total_global_ht += $total_next_ht; + $total_global_ttc += $total_next_ttc; + + print ''; + print ''; + if (isModEnabled("banque")) { + print ''; + } + print ''; + print ''; + print ''; + print ''; + } + + print '
'.$langs->trans('ListOfSituationInvoices').''.$langs->trans('Situation').''.$langs->trans('AmountHT').''.$langs->trans('AmountTTC').' 
'.$next_invoice->getNomUrl(1).''.(($next_invoice->type == Facture::TYPE_CREDIT_NOTE) ? $langs->trans('situationInvoiceShortcode_AS') : $langs->trans('situationInvoiceShortcode_S')).$next_invoice->situation_counter.'
'.$prev_invoice->getNomUrl(1).''.(($prev_invoice->type == Facture::TYPE_CREDIT_NOTE) ? $langs->trans('situationInvoiceShortcode_AS') : $langs->trans('situationInvoiceShortcode_S')).$prev_invoice->situation_counter.''.price($prev_invoice->total_ht).''.price($prev_invoice->total_ttc).''.$prev_invoice->getLibStatut(3, $tmptotalpaidforthisinvoice).'
'.price($next_invoice->total_ht).''.price($next_invoice->total_ttc).''.$next_invoice->getLibStatut(3, $totalpaid).'
'.$object->getNomUrl(1).''.(($object->type == Facture::TYPE_CREDIT_NOTE) ? $langs->trans('situationInvoiceShortcode_AS') : $langs->trans('situationInvoiceShortcode_S')).$object->situation_counter.''.price($object->total_ht).''.price($object->total_ttc).''.$object->getLibStatut(3, $object->getSommePaiement()).'
'.$langs->trans('CurrentSituationTotal').''; + $i = 0; + foreach ($current_situation_counter as $sit) { + $curSign = $sit > 0 ? '+' : '-'; + $curType = $sit > 0 ? $langs->trans('situationInvoiceShortcode_S') : $langs->trans('situationInvoiceShortcode_AS'); + if ($i > 0) { + print ' '.$curSign.' '; + } + print $curType.abs($sit); + $i++; + } + print ''.price($total_global_ht).''.price($total_global_ttc).' 
' . $langs->trans('ListOfNextSituationInvoices') . '' . $langs->trans('AmountHT') . '' . $langs->trans('AmountTTC') . ' 
'.$next_invoice->getNomUrl(1).''.(($next_invoice->type == Facture::TYPE_CREDIT_NOTE) ? $langs->trans('situationInvoiceShortcode_AS') : $langs->trans('situationInvoiceShortcode_S')).$next_invoice->situation_counter.''.price($next_invoice->total_ht).''.price($next_invoice->total_ttc).''.$next_invoice->getLibStatut(3, $totalpaid).'
'.price($total_global_ht).''.price($total_global_ttc).' 
'; } - print ''; - } + $sign = 1; + if ($object->type == $object::TYPE_CREDIT_NOTE) { + $sign = -1; + } - $sign = 1; - if ($object->type == $object::TYPE_CREDIT_NOTE) { - $sign = -1; - } + // List of payments already done - // List of payments already done + print ''; + print '
'; + print ''; - print ''; - print '
'; - print '
'; + print ''; + print ''; + print ''; + print ''; + if (isModEnabled("banque")) { + print ''; + } + print ''; + print ''; + print ''; - print ''; - print ''; - print ''; - print ''; - if (isModEnabled("banque")) { - print ''; - } - print ''; - print ''; - print ''; - - // Payments already done (from payment on this invoice) - $sql = 'SELECT p.datep as dp, p.ref, p.num_paiement as num_payment, p.rowid, p.fk_bank,'; - $sql .= ' c.code as payment_code, c.libelle as payment_label,'; - $sql .= ' pf.amount,'; - $sql .= ' ba.rowid as baid, ba.ref as baref, ba.label, ba.number as banumber, ba.account_number, ba.fk_accountancy_journal, ba.currency_code as bacurrency_code'; - $sql .= ' FROM '.MAIN_DB_PREFIX.'paiement_facture as pf, '.MAIN_DB_PREFIX.'paiement as p'; - $sql .= ' LEFT JOIN '.MAIN_DB_PREFIX.'c_paiement as c ON p.fk_paiement = c.id'; - $sql .= ' LEFT JOIN '.MAIN_DB_PREFIX.'bank as b ON p.fk_bank = b.rowid'; - $sql .= ' LEFT JOIN '.MAIN_DB_PREFIX.'bank_account as ba ON b.fk_account = ba.rowid'; - $sql .= ' WHERE pf.fk_facture = '.((int) $object->id).' AND pf.fk_paiement = p.rowid'; - $sql .= ' AND p.entity IN ('.getEntity('invoice').')'; - $sql .= ' ORDER BY p.datep, p.tms'; - - $result = $db->query($sql); - if ($result) { - $num = $db->num_rows($result); - $i = 0; + // Payments already done (from payment on this invoice) + $sql = 'SELECT p.datep as dp, p.ref, p.num_paiement as num_payment, p.rowid, p.fk_bank,'; + $sql .= ' c.code as payment_code, c.libelle as payment_label,'; + $sql .= ' pf.amount,'; + $sql .= ' ba.rowid as baid, ba.ref as baref, ba.label, ba.number as banumber, ba.account_number, ba.fk_accountancy_journal, ba.currency_code as bacurrency_code'; + $sql .= ' FROM '.MAIN_DB_PREFIX.'paiement_facture as pf, '.MAIN_DB_PREFIX.'paiement as p'; + $sql .= ' LEFT JOIN '.MAIN_DB_PREFIX.'c_paiement as c ON p.fk_paiement = c.id'; + $sql .= ' LEFT JOIN '.MAIN_DB_PREFIX.'bank as b ON p.fk_bank = b.rowid'; + $sql .= ' LEFT JOIN '.MAIN_DB_PREFIX.'bank_account as ba ON b.fk_account = ba.rowid'; + $sql .= ' WHERE pf.fk_facture = '.((int) $object->id).' AND pf.fk_paiement = p.rowid'; + $sql .= ' AND p.entity IN ('.getEntity('invoice').')'; + $sql .= ' ORDER BY p.datep, p.tms'; + + $result = $db->query($sql); + if ($result) { + $num = $db->num_rows($result); + $i = 0; - if ($num > 0) { - while ($i < $num) { - $objp = $db->fetch_object($result); + if ($num > 0) { + while ($i < $num) { + $objp = $db->fetch_object($result); - $paymentstatic->id = $objp->rowid; - $paymentstatic->datepaye = $db->jdate($objp->dp); - $paymentstatic->ref = $objp->ref; - $paymentstatic->num_payment = $objp->num_payment; - $paymentstatic->paiementcode = $objp->payment_code; + $paymentstatic->id = $objp->rowid; + $paymentstatic->datepaye = $db->jdate($objp->dp); + $paymentstatic->ref = $objp->ref; + $paymentstatic->num_payment = $objp->num_payment; + $paymentstatic->paiementcode = $objp->payment_code; - print ''; - print ''; - $label = ($langs->trans("PaymentType".$objp->payment_code) != ("PaymentType".$objp->payment_code)) ? $langs->trans("PaymentType".$objp->payment_code) : $objp->payment_label; - print ''; - if (isModEnabled("banque")) { - $bankaccountstatic->id = $objp->baid; - $bankaccountstatic->ref = $objp->baref; - $bankaccountstatic->label = $objp->baref; - $bankaccountstatic->number = $objp->banumber; - $bankaccountstatic->currency_code = $objp->bacurrency_code; - - if (isModEnabled('accounting')) { - $bankaccountstatic->account_number = $objp->account_number; - - $accountingjournal = new AccountingJournal($db); - $accountingjournal->fetch($objp->fk_accountancy_journal); - $bankaccountstatic->accountancy_journal = $accountingjournal->getNomUrl(0, 1, 1, '', 1); + print ''; + print ''; + + $label = ($langs->trans("PaymentType".$objp->payment_code) != ("PaymentType".$objp->payment_code)) ? $langs->trans("PaymentType".$objp->payment_code) : $objp->payment_label; + print ''; + if (isModEnabled("banque")) { + $bankaccountstatic->id = $objp->baid; + $bankaccountstatic->ref = $objp->baref; + $bankaccountstatic->label = $objp->baref; + $bankaccountstatic->number = $objp->banumber; + $bankaccountstatic->currency_code = $objp->bacurrency_code; + + if (isModEnabled('accounting')) { + $bankaccountstatic->account_number = $objp->account_number; + + $accountingjournal = new AccountingJournal($db); + $accountingjournal->fetch($objp->fk_accountancy_journal); + $bankaccountstatic->accountancy_journal = $accountingjournal->getNomUrl(0, 1, 1, '', 1); + } - print ''; + } + print ''; + print ''; + print ''; + $i++; } - print ''; - print ''; - print ''; - $i++; } - } - - $db->free($result); - } else { - dol_print_error($db); - } - if ($object->type != Facture::TYPE_CREDIT_NOTE) { - // Total already paid - print ''; - - $resteapayeraffiche = $resteapayer; - $cssforamountpaymentcomplete = 'amountpaymentcomplete'; - - // Loop on each credit note or deposit amount applied - $creditnoteamount = 0; - $depositamount = 0; - $sql = "SELECT re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc,"; - $sql .= " re.description, re.fk_facture_source"; - $sql .= " FROM ".MAIN_DB_PREFIX."societe_remise_except as re"; - $sql .= " WHERE fk_facture = ".((int) $object->id); - $resql = $db->query($sql); - if ($resql) { - $num = $db->num_rows($resql); - $i = 0; - $invoice = new Facture($db); - while ($i < $num) { - $obj = $db->fetch_object($resql); - $invoice->fetch($obj->fk_facture_source); - print ''; - print ''; - print ''; - $i++; - if ($invoice->type == Facture::TYPE_CREDIT_NOTE) { - $creditnoteamount += $obj->amount_ttc; - } - if ($invoice->type == Facture::TYPE_DEPOSIT) { - $depositamount += $obj->amount_ttc; - } - } + $db->free($result); } else { dol_print_error($db); } - // Paye partiellement 'escompte' - if (($object->statut == Facture::STATUS_CLOSED || $object->statut == Facture::STATUS_ABANDONED) && $object->close_code == 'discount_vat') { - print ''; - $resteapayeraffiche = 0; - $cssforamountpaymentcomplete = 'amountpaymentneutral'; - } - // Paye partiellement ou Abandon 'badcustomer' - if (($object->statut == Facture::STATUS_CLOSED || $object->statut == Facture::STATUS_ABANDONED) && $object->close_code == 'badcustomer') { - print ''; - // $resteapayeraffiche=0; - $cssforamountpaymentcomplete = 'amountpaymentneutral'; - } - // Paye partiellement ou Abandon 'product_returned' - if (($object->statut == Facture::STATUS_CLOSED || $object->statut == Facture::STATUS_ABANDONED) && $object->close_code == 'product_returned') { - print ''; - $resteapayeraffiche = 0; - $cssforamountpaymentcomplete = 'amountpaymentneutral'; - } - // Paye partiellement ou Abandon 'abandon' - if (($object->statut == Facture::STATUS_CLOSED || $object->statut == Facture::STATUS_ABANDONED) && $object->close_code == 'abandon') { - print ''; + + $resteapayeraffiche = $resteapayer; + $cssforamountpaymentcomplete = 'amountpaymentcomplete'; + + // Loop on each credit note or deposit amount applied + $creditnoteamount = 0; + $depositamount = 0; + $sql = "SELECT re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc,"; + $sql .= " re.description, re.fk_facture_source"; + $sql .= " FROM ".MAIN_DB_PREFIX."societe_remise_except as re"; + $sql .= " WHERE fk_facture = ".((int) $object->id); + $resql = $db->query($sql); + if ($resql) { + $num = $db->num_rows($resql); + $i = 0; + $invoice = new Facture($db); + while ($i < $num) { + $obj = $db->fetch_object($resql); + $invoice->fetch($obj->fk_facture_source); + print ''; + print ''; + print ''; + $i++; + if ($invoice->type == Facture::TYPE_CREDIT_NOTE) { + $creditnoteamount += $obj->amount_ttc; + } + if ($invoice->type == Facture::TYPE_DEPOSIT) { + $depositamount += $obj->amount_ttc; + } + } + } else { + dol_print_error($db); } - print ''; - print $form->textwithpicto($langs->trans("Abandoned"), $text, - 1); - print ''; - print ''; - $resteapayeraffiche = 0; - $cssforamountpaymentcomplete = 'amountpaymentneutral'; - } - // Billed - print ''; - // Remainder to pay - print ''; - print ''; + // Partially paid 'discount' + if (($object->statut == Facture::STATUS_CLOSED || $object->statut == Facture::STATUS_ABANDONED) && $object->close_code == 'discount_vat') { + print ''; + $resteapayeraffiche = 0; + $cssforamountpaymentcomplete = 'amountpaymentneutral'; + } + // Partially paid or abandoned 'badcustomer' + if (($object->statut == Facture::STATUS_CLOSED || $object->statut == Facture::STATUS_ABANDONED) && $object->close_code == 'badcustomer') { + print ''; + // $resteapayeraffiche=0; + $cssforamountpaymentcomplete = 'amountpaymentneutral'; + } + // Partially paid or abandoned 'product_returned' + if (($object->statut == Facture::STATUS_CLOSED || $object->statut == Facture::STATUS_ABANDONED) && $object->close_code == 'product_returned') { + print ''; + $resteapayeraffiche = 0; + $cssforamountpaymentcomplete = 'amountpaymentneutral'; + } + // Partially paid or abandoned 'abandoned' + if (($object->statut == Facture::STATUS_CLOSED || $object->statut == Facture::STATUS_ABANDONED) && $object->close_code == 'abandon') { + print ''; + $resteapayeraffiche = 0; + $cssforamountpaymentcomplete = 'amountpaymentneutral'; + } - // Remainder to pay Multicurrency - if ($object->multicurrency_code != $conf->currency || $object->multicurrency_tx != 1) { + // Billed print ''; + // Remainder to pay + print ''; - print ''; - } + print ''; - // Retained warranty : usualy use on construction industry - if (!empty($object->situation_final) && !empty($object->retained_warranty) && $displayWarranty) { - // Billed - retained warranty - if ($object->type == Facture::TYPE_SITUATION) { - $retainedWarranty = $total_global_ttc * $object->retained_warranty / 100; - } else { - // Because one day retained warranty could be used on standard invoices - $retainedWarranty = $object->total_ttc * $object->retained_warranty / 100; + // Remainder to pay Multicurrency + if ($object->multicurrency_code != $conf->currency || $object->multicurrency_tx != 1) { + print ''; + print ''; } - $billedWithRetainedWarranty = $object->total_ttc - $retainedWarranty; + // Retained warranty : usualy use on construction industry + if (!empty($object->situation_final) && !empty($object->retained_warranty) && $displayWarranty) { + // Billed - retained warranty + if ($object->type == Facture::TYPE_SITUATION) { + $retainedWarranty = $total_global_ttc * $object->retained_warranty / 100; + } else { + // Because one day retained warranty could be used on standard invoices + $retainedWarranty = $object->total_ttc * $object->retained_warranty / 100; + } - print ''; + $billedWithRetainedWarranty = $object->total_ttc - $retainedWarranty; - // retained warranty - print ''; - } - } else { // Credit note - $resteapayeraffiche = $resteapayer; - $cssforamountpaymentcomplete = 'amountpaymentneutral'; + print ''; - // Total already paid back - print ''; + // retained warranty + print ''; + } + } else { // Credit note + $resteapayeraffiche = $resteapayer; + $cssforamountpaymentcomplete = 'amountpaymentneutral'; - // Billed - print ''; + // Total already paid back + print ''; - // Remainder to pay back - print ''; - print ''; - print ''; + // Billed + print ''; - // Remainder to pay back Multicurrency - if ($object->multicurrency_code != $conf->currency || $object->multicurrency_tx != 1) { + // Remainder to pay back print ''; - print ''; + print ''; + print ''; + print ''; + + // Remainder to pay back Multicurrency + if ($object->multicurrency_code != $conf->currency || $object->multicurrency_tx != 1) { + print ''; + print ''; + } + + // Sold credit note + // print ''; + // print ''; } - // Sold credit note - // print ''; - // print ''; - } + print '
'.($object->type == Facture::TYPE_CREDIT_NOTE ? $langs->trans("PaymentsBack") : $langs->trans('Payments')).''.$langs->trans('Date').''.$langs->trans('Type').''.$langs->trans('BankAccount').''.$langs->trans('Amount').' 
'.($object->type == Facture::TYPE_CREDIT_NOTE ? $langs->trans("PaymentsBack") : $langs->trans('Payments')).''.$langs->trans('Date').''.$langs->trans('Type').''.$langs->trans('BankAccount').''.$langs->trans('Amount').' 
'; - print $paymentstatic->getNomUrl(1); - print ''; - $dateofpayment = $db->jdate($objp->dp); - $tmparray = dol_getdate($dateofpayment); - if ($tmparray['seconds'] == 0 && $tmparray['minutes'] == 0 && ($tmparray['hours'] == 0 || $tmparray['hours'] == 12)) { // We set hours to 0:00 or 12:00 because we don't know it - print dol_print_date($dateofpayment, 'day'); - } else { // Hours was set to real date of payment (special case for POS for example) - print dol_print_date($dateofpayment, 'dayhour', 'tzuser'); - } - print ''.dol_escape_htmltag($label.' '.$objp->num_payment).'
'; + print $paymentstatic->getNomUrl(1); + print ''; + $dateofpayment = $db->jdate($objp->dp); + $tmparray = dol_getdate($dateofpayment); + if ($tmparray['seconds'] == 0 && $tmparray['minutes'] == 0 && ($tmparray['hours'] == 0 || $tmparray['hours'] == 12)) { // We set hours to 0:00 or 12:00 because we don't know it + print dol_print_date($dateofpayment, 'day'); + } else { // Hours was set to real date of payment (special case for POS for example) + print dol_print_date($dateofpayment, 'dayhour', 'tzuser'); } + print ''.dol_escape_htmltag($label.' '.$objp->num_payment).''; - if ($bankaccountstatic->id) { - print $bankaccountstatic->getNomUrl(1, 'transactions'); + print ''; + if ($bankaccountstatic->id) { + print $bankaccountstatic->getNomUrl(1, 'transactions'); + } + print ''.price($sign * $objp->amount).''; + + $paiement = new Paiement($db); + $paiement->fetch($objp->rowid); + if ($object->statut == Facture::STATUS_VALIDATED && $object->paye == 0 && $user->socid == 0 && !$paiement->isReconciled()) { + print 'rowid.'">'; + print img_delete(); + print ''; } print '
'.price($sign * $objp->amount).''; - if ($object->statut == Facture::STATUS_VALIDATED && $object->paye == 0 && $user->socid == 0) { - print 'rowid.'">'; - print img_delete(); - print ''; - } - print '
'; - print ''; - if ($object->type != Facture::TYPE_DEPOSIT) { - print $langs->trans('AlreadyPaidNoCreditNotesNoDeposits'); - } else { - print $langs->trans('AlreadyPaid'); - } - print ''.price($totalpaid).' 
'; - print ''; - if ($invoice->type == Facture::TYPE_CREDIT_NOTE) { - print $langs->trans("CreditNote").' '; - } - if ($invoice->type == Facture::TYPE_DEPOSIT) { - print $langs->trans("Deposit").' '; - } - print $invoice->getNomUrl(0); - print ''; - print ''.price($obj->amount_ttc).''; - print 'rowid.'">'; - print img_picto($langs->transnoentitiesnoconv("RemoveDiscount"), 'unlink'); - print ''; - print '
'; - print ''; - print $form->textwithpicto($langs->trans("Discount"), $langs->trans("HelpEscompte"), - 1); - print ''; - print ''.price(price2num($object->total_ttc - $creditnoteamount - $depositamount - $totalpaid, 'MT')).' 
'; - print ''; - print $form->textwithpicto($langs->trans("Abandoned"), $langs->trans("HelpAbandonBadCustomer"), - 1); - print ''; - print ''.price(price2num($object->total_ttc - $creditnoteamount - $depositamount - $totalpaid, 'MT')).' 
'; + if ($object->type != Facture::TYPE_CREDIT_NOTE) { + // Total already paid + print '
'; print ''; - print $form->textwithpicto($langs->trans("ProductReturned"), $langs->trans("HelpAbandonProductReturned"), - 1); - print ''; - print ''.price(price2num($object->total_ttc - $creditnoteamount - $depositamount - $totalpaid, 'MT')).' 
'; - $text = $langs->trans("HelpAbandonOther"); - if ($object->close_note) { - $text .= '

'.$langs->trans("Reason").':'.$object->close_note; + if ($object->type != Facture::TYPE_DEPOSIT) { + print $langs->trans('AlreadyPaidNoCreditNotesNoDeposits'); + } else { + print $langs->trans('AlreadyPaid'); + } + print '
'.price($totalpaid).' 
'; + print ''; + if ($invoice->type == Facture::TYPE_CREDIT_NOTE) { + print $langs->trans("CreditNote").' '; + } + if ($invoice->type == Facture::TYPE_DEPOSIT) { + print $langs->trans("Deposit").' '; + } + print $invoice->getNomUrl(0); + print ''; + print ''.price($obj->amount_ttc).''; + print 'rowid.'">'; + print img_picto($langs->transnoentitiesnoconv("RemoveDiscount"), 'unlink'); + print ''; + print '
'.price(price2num($object->total_ttc - $creditnoteamount - $depositamount - $totalpaid, 'MT')).' 
'; - print ''; - print $langs->trans("Billed"); - print ''.price($object->total_ttc).' 
'; - print ''; - print $langs->trans('RemainderToPay'); - if ($resteapayeraffiche < 0) { - print ' ('.$langs->trans('NegativeIfExcessReceived').')'; - } - print ''; - print ''.price($resteapayeraffiche).' 
'; + print ''; + print $form->textwithpicto($langs->trans("Discount"), $langs->trans("HelpEscompte"), - 1); + print ''; + print ''.price(price2num($object->total_ttc - $creditnoteamount - $depositamount - $totalpaid, 'MT')).' 
'; + print ''; + print $form->textwithpicto($langs->trans("Abandoned"), $langs->trans("HelpAbandonBadCustomer"), - 1); + print ''; + print ''.price(price2num($object->total_ttc - $creditnoteamount - $depositamount - $totalpaid, 'MT')).' 
'; + print ''; + print $form->textwithpicto($langs->trans("ProductReturned"), $langs->trans("HelpAbandonProductReturned"), - 1); + print ''; + print ''.price(price2num($object->total_ttc - $creditnoteamount - $depositamount - $totalpaid, 'MT')).' 
'; + $text = $langs->trans("HelpAbandonOther"); + if ($object->close_note) { + $text .= '

'.$langs->trans("Reason").':'.$object->close_note; + } + print ''; + print $form->textwithpicto($langs->trans("Abandoned"), $text, - 1); + print ''; + print '
'.price(price2num($object->total_ttc - $creditnoteamount - $depositamount - $totalpaid, 'MT')).' 
'; print ''; - print $langs->trans('RemainderToPayMulticurrency'); + print $langs->trans("Billed"); + print ''.price($object->total_ttc).' 
'; + print ''; + print $langs->trans('RemainderToPay'); if ($resteapayeraffiche < 0) { print ' ('.$langs->trans('NegativeIfExcessReceived').')'; } print ''; print ''; - //print (empty($object->multicurrency_code) ? $conf->currency : $object->multicurrency_code).' '; - print price(price2num($object->multicurrency_tx*$resteapayeraffiche, 'MT'), 1, $langs, 1, -1, -1, (empty($object->multicurrency_code) ? $conf->currency : $object->multicurrency_code)).' 
'.price($resteapayeraffiche).' 
'; + print ''; + print $langs->trans('RemainderToPayMulticurrency'); + if ($resteapayeraffiche < 0) { + print ' ('.$langs->trans('NegativeIfExcessReceived').')'; + } + print ''; + print ''; + //print (empty($object->multicurrency_code) ? $conf->currency : $object->multicurrency_code).' '; + print price(price2num($object->multicurrency_tx*$resteapayeraffiche, 'MT'), 1, $langs, 1, -1, -1, (empty($object->multicurrency_code) ? $conf->currency : $object->multicurrency_code)).' 
'.$langs->trans("ToPayOn", dol_print_date($object->date_lim_reglement, 'day')).' :'.price($billedWithRetainedWarranty).' 
'; - print $langs->trans("RetainedWarranty").' ('.$object->retained_warranty.'%)'; - print !empty($object->retained_warranty_date_limit) ? ' '.$langs->trans("ToPayOn", dol_print_date($object->retained_warranty_date_limit, 'day')) : ''; - print ' :'.price($retainedWarranty).' 
'.$langs->trans("ToPayOn", dol_print_date($object->date_lim_reglement, 'day')).' :'.price($billedWithRetainedWarranty).' 
'; - print ''.$langs->trans('AlreadyPaidBack').''; - print ''.price($sign * $totalpaid).' 
'; + print $langs->trans("RetainedWarranty").' ('.$object->retained_warranty.'%)'; + print !empty($object->retained_warranty_date_limit) ? ' '.$langs->trans("ToPayOn", dol_print_date($object->retained_warranty_date_limit, 'day')) : ''; + print ' :'.price($retainedWarranty).' 
'.$langs->trans("Billed").''.price($sign * $object->total_ttc).' 
'; + print ''.$langs->trans('AlreadyPaidBack').''; + print ''.price($sign * $totalpaid).' 
'; - print ''.$langs->trans('RemainderToPayBack'); - if ($resteapayeraffiche > 0) { - print ' ('.$langs->trans('NegativeIfExcessRefunded').')'; - } - print ''.price($sign * $resteapayeraffiche).' 
'.$langs->trans("Billed").''.price($sign * $object->total_ttc).' 
'; - print ''.$langs->trans('RemainderToPayBackMulticurrency'); + print ''.$langs->trans('RemainderToPayBack'); if ($resteapayeraffiche > 0) { print ' ('.$langs->trans('NegativeIfExcessRefunded').')'; } - print ''; - print ''.(!empty($object->multicurrency_code) ? $object->multicurrency_code : $conf->currency).' '.price(price2num($sign * $object->multicurrency_tx * $resteapayeraffiche, 'MT')).' 
'.price($sign * $resteapayeraffiche).' 
'; + print ''.$langs->trans('RemainderToPayBackMulticurrency'); + if ($resteapayeraffiche > 0) { + print ' ('.$langs->trans('NegativeIfExcessRefunded').')'; + } + print ''; + print ''.(!empty($object->multicurrency_code) ? $object->multicurrency_code : $conf->currency).' '.price(price2num($sign * $object->multicurrency_tx * $resteapayeraffiche, 'MT')).' 
'.$langs->trans('TotalTTC').' :'.price($sign * + // $object->total_ttc).' 
'.$langs->trans('TotalTTC').' :'.price($sign * - // $object->total_ttc).' 
'; + print '
'; - print ''; - print '
'; + // Margin Infos + if (isModEnabled('margin')) { + $formmargin->displayMarginInfos($object); + } - // Margin Infos - if (isModEnabled('margin')) { - $formmargin->displayMarginInfos($object); - } + print '
'; + print '
'; - print '
'; - print '
'; + print '


'; - print '


'; + if (!empty($conf->global->MAIN_DISABLE_CONTACTS_TAB)) { + $blocname = 'contacts'; + $title = $langs->trans('ContactsAddresses'); + include DOL_DOCUMENT_ROOT.'/core/tpl/bloc_showhide.tpl.php'; + } - if (!empty($conf->global->MAIN_DISABLE_CONTACTS_TAB)) { - $blocname = 'contacts'; - $title = $langs->trans('ContactsAddresses'); - include DOL_DOCUMENT_ROOT.'/core/tpl/bloc_showhide.tpl.php'; - } + if (!empty($conf->global->MAIN_DISABLE_NOTES_TAB)) { + $blocname = 'notes'; + $title = $langs->trans('Notes'); + include DOL_DOCUMENT_ROOT.'/core/tpl/bloc_showhide.tpl.php'; + } - if (!empty($conf->global->MAIN_DISABLE_NOTES_TAB)) { - $blocname = 'notes'; - $title = $langs->trans('Notes'); - include DOL_DOCUMENT_ROOT.'/core/tpl/bloc_showhide.tpl.php'; - } + // Get object lines + $result = $object->getLinesArray(); - // Get object lines - $result = $object->getLinesArray(); + // Add products/services form + //$forceall = 1; + global $inputalsopricewithtax; + $inputalsopricewithtax = 1; - // Add products/services form - //$forceall = 1; - global $inputalsopricewithtax; - $inputalsopricewithtax = 1; + // Show global modifiers for situation invoices + if (!empty($conf->global->INVOICE_USE_SITUATION)) { + if ($object->situation_cycle_ref && $object->statut == 0) { + print ''."\n"; + print '
'; + + print '
'; + print ''; + print ''; + print ''; + print ''; - // Show global modifiers for situation invoices - if (!empty($conf->global->INVOICE_USE_SITUATION)) { - if ($object->situation_cycle_ref && $object->statut == 0) { - print ''."\n"; - print '
'; + print ''; - print ''; - print ''; - print ''; - print ''; - print ''; + print ''; - print '
'; + // Adds a line numbering column + if (!empty($conf->global->MAIN_VIEW_LINE_NUMBER)) { + print ''; + } + print ''; + print ''; + print ''; + print "\n"; + + print ''; + // Adds a line numbering column + if (!empty($conf->global->MAIN_VIEW_LINE_NUMBER)) { + print ''; + } + print ''; + print ''; + print ''; + print ''; - print ''; + print '
 '.$langs->trans('ModifyAllLines').''.$langs->trans('Progress').' 
  %
'; - // Adds a line numbering column - if (!empty($conf->global->MAIN_VIEW_LINE_NUMBER)) { - print ' '; - } - print ''.$langs->trans('ModifyAllLines').''; - print ''.$langs->trans('Progress').''; - print ' '; - print "\n"; + print ''; - print ''; - // Adds a line numbering column - if (!empty($conf->global->MAIN_VIEW_LINE_NUMBER)) { - print ' '; + print '
'; } - print ' '; - print '%'; - print ''; - print ''; - - print ''; + } - print ''; + print '
+ + + + + + + '; - print '
'; + if (!empty($conf->use_javascript_ajax) && $object->statut == 0) { + include DOL_DOCUMENT_ROOT.'/core/tpl/ajaxrow.tpl.php'; } - } - - print ' - - - - - - - '; - - if (!empty($conf->use_javascript_ajax) && $object->statut == 0) { - include DOL_DOCUMENT_ROOT.'/core/tpl/ajaxrow.tpl.php'; - } - print '
'; - print ''; + print '
'; + print '
'; - // Show object lines - if (!empty($object->lines)) { - $object->printObjectLines($action, $mysoc, $soc, $lineid, 1); - } + // Show object lines + if (!empty($object->lines)) { + $object->printObjectLines($action, $mysoc, $soc, $lineid, 1); + } - // Form to add new line - if ($object->statut == 0 && $usercancreate && $action != 'valid' && $action != 'editline') { - if ($action != 'editline' && $action != 'selectlines') { - // Add free products/services + // Form to add new line + if ($object->statut == 0 && $usercancreate && $action != 'valid') { + if ($action != 'editline' && $action != 'selectlines') { + // Add free products/services - $parameters = array(); - $reshook = $hookmanager->executeHooks('formAddObjectLine', $parameters, $object, $action); // Note that $action and $object may have been modified by hook - if ($reshook < 0) setEventMessages($hookmanager->error, $hookmanager->errors, 'errors'); - if (empty($reshook)) - $object->formAddObjectLine(1, $mysoc, $soc); + $parameters = array(); + $reshook = $hookmanager->executeHooks('formAddObjectLine', $parameters, $object, $action); // Note that $action and $object may have been modified by hook + if ($reshook < 0) setEventMessages($hookmanager->error, $hookmanager->errors, 'errors'); + if (empty($reshook)) + $object->formAddObjectLine(1, $mysoc, $soc); + } else { + $parameters = array(); + $reshook = $hookmanager->executeHooks('formEditObjectLine', $parameters, $object, $action); // Note that $action and $object may have been modified by hook + } } - } - - print "
\n"; - print "
"; - print "\n"; + print "\n"; + print "
"; + print "\n"; + } print dol_get_fiche_end(); @@ -5656,7 +5774,7 @@ function js_recalculate_revenuestamp(){ } // For credit note if ($object->type == Facture::TYPE_CREDIT_NOTE && $object->statut == Facture::STATUS_VALIDATED && $object->paye == 0 && $usercancreate - && (!empty($conf->global->INVOICE_ALLOW_REUSE_OF_CREDIT_WHEN_PARTIALLY_REFUNDED) || $sumofpayment == 0) + && (!empty($conf->global->INVOICE_ALLOW_REUSE_OF_CREDIT_WHEN_PARTIALLY_REFUNDED) || $sumofpayment == 0) && $object->total_ht < 0 ) { print ''.$langs->trans('ConvertToReduc').''; } diff --git a/htdocs/compta/facture/class/facture-rec.class.php b/htdocs/compta/facture/class/facture-rec.class.php index 0c9d7b08f2898..0a6ad7c2423d3 100644 --- a/htdocs/compta/facture/class/facture-rec.class.php +++ b/htdocs/compta/facture/class/facture-rec.class.php @@ -7,6 +7,7 @@ * Copyright (C) 2013 Florian Henry * Copyright (C) 2015 Marcos García * Copyright (C) 2017-2020 Frédéric France + * Copyright (C) 2023 Nick Fragoulis * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -86,12 +87,16 @@ class FactureRec extends CommonInvoice */ public $titre; + /** + * @var double + */ + public $multicurrency_subprice; public $socid; public $number; public $date; - public $remise; - public $remise_absolue; - public $remise_percent; + //public $remise; + //public $remise_absolue; + //public $remise_percent; /** * @deprecated @@ -170,11 +175,8 @@ class FactureRec extends CommonInvoice 'titre' =>array('type'=>'varchar(100)', 'label'=>'Titre', 'enabled'=>1, 'showoncombobox' => 1, 'visible'=>-1, 'position'=>15), 'entity' =>array('type'=>'integer', 'label'=>'Entity', 'default'=>1, 'enabled'=>1, 'visible'=>-2, 'notnull'=>1, 'position'=>20, 'index'=>1), 'fk_soc' =>array('type'=>'integer:Societe:societe/class/societe.class.php', 'label'=>'ThirdParty', 'enabled'=>'isModEnabled("societe")', 'visible'=>-1, 'notnull'=>1, 'position'=>25), - 'datec' =>array('type'=>'datetime', 'label'=>'DateCreation', 'enabled'=>1, 'visible'=>-1, 'position'=>30), - //'amount' =>array('type'=>'double(24,8)', 'label'=>'Amount', 'enabled'=>1, 'visible'=>-1, 'notnull'=>1, 'position'=>35), - 'remise' =>array('type'=>'double', 'label'=>'Remise', 'enabled'=>1, 'visible'=>-1, 'position'=>40), - //'remise_percent' =>array('type'=>'double', 'label'=>'Remise percent', 'enabled'=>1, 'visible'=>-1, 'position'=>45), - //'remise_absolue' =>array('type'=>'double', 'label'=>'Remise absolue', 'enabled'=>1, 'visible'=>-1, 'position'=>50), + 'subtype' =>array('type'=>'smallint(6)', 'label'=>'InvoiceSubtype', 'enabled'=>1, 'visible'=>-1, 'notnull'=>1, 'position'=>30), + 'datec' =>array('type'=>'datetime', 'label'=>'DateCreation', 'enabled'=>1, 'visible'=>-1, 'position'=>35), 'total_tva' =>array('type'=>'double(24,8)', 'label'=>'Tva', 'enabled'=>1, 'visible'=>-1, 'position'=>55, 'isameasure'=>1), 'localtax1' =>array('type'=>'double(24,8)', 'label'=>'Localtax1', 'enabled'=>1, 'visible'=>-1, 'position'=>60, 'isameasure'=>1), 'localtax2' =>array('type'=>'double(24,8)', 'label'=>'Localtax2', 'enabled'=>1, 'visible'=>-1, 'position'=>65, 'isameasure'=>1), @@ -232,9 +234,10 @@ public function __construct(DoliDB $db) * @param User $user User object * @param int $facid Id of source invoice * @param int $notrigger No trigger + * @param array $onlylines Only the lines of the array * @return int <0 if KO, id of invoice created if OK */ - public function create($user, $facid, $notrigger = 0) + public function create($user, $facid, $notrigger = 0, $onlylines = array()) { global $conf; @@ -267,15 +270,16 @@ public function create($user, $facid, $notrigger = 0) $facsrc = new Facture($this->db); $result = $facsrc->fetch($facid); if ($result > 0) { - $this->fk_soc = $facsrc->socid; + $this->socid = $facsrc->socid; $sql = "INSERT INTO ".MAIN_DB_PREFIX."facture_rec ("; $sql .= "titre"; $sql .= ", fk_soc"; + $sql .= ", subtype"; $sql .= ", entity"; $sql .= ", datec"; $sql .= ", amount"; - $sql .= ", remise"; + //$sql .= ", remise"; $sql .= ", note_private"; $sql .= ", note_public"; $sql .= ", modelpdf"; @@ -299,11 +303,12 @@ public function create($user, $facid, $notrigger = 0) $sql .= ", suspended"; $sql .= ") VALUES ("; $sql .= "'".$this->db->escape($this->titre ? $this->titre : $this->title)."'"; - $sql .= ", ".((int) $this->fk_soc); + $sql .= ", ".((int) $this->socid); + $sql .= ", ".($this->subtype ? "'".$this->db->escape($this->subtype)."'" : "null"); $sql .= ", ".((int) $conf->entity); $sql .= ", '".$this->db->idate($now)."'"; $sql .= ", ".(!empty($facsrc->total_ttc) ? ((float) $facsrc->total_ttc) : '0'); - $sql .= ", ".(!empty($facsrc->remise_absolue) ? ((float) $this->remise_absolue) : '0'); + //$sql .= ", ".(!empty($facsrc->remise_absolue) ? ((float) $this->remise_absolue) : '0'); $sql .= ", ".(!empty($this->note_private) ? ("'".$this->db->escape($this->note_private)."'") : "NULL"); $sql .= ", ".(!empty($this->note_public) ? ("'".$this->db->escape($this->note_public)."'") : "NULL"); $sql .= ", ".(!empty($this->model_pdf) ? ("'".$this->db->escape($this->model_pdf)."'") : "NULL"); @@ -336,8 +341,19 @@ public function create($user, $facid, $notrigger = 0) $this->multicurrency_tx = $facsrc->multicurrency_tx; // Add lines + $fk_parent_line = 0; + $num = count($facsrc->lines); for ($i = 0; $i < $num; $i++) { + if (!empty($onlylines) && !in_array($facsrc->lines[$i]->id, $onlylines)) { + continue; // Skip unselected lines + } + + // Reset fk_parent_line for no child products and special product + if (($facsrc->lines[$i]->product_type != 9 && empty($facsrc->lines[$i]->fk_parent_line)) || $facsrc->lines[$i]->product_type == 9) { + $fk_parent_line = 0; + } + $tva_tx = $facsrc->lines[$i]->tva_tx; if (!empty($facsrc->lines[$i]->vat_src_code) && !preg_match('/\(/', $tva_tx)) { $tva_tx .= ' ('.$facsrc->lines[$i]->vat_src_code.')'; @@ -368,9 +384,15 @@ public function create($user, $facid, $notrigger = 0) $default_start_fill, $default_end_fill, null, - $facsrc->lines[$i]->pa_ht + $facsrc->lines[$i]->pa_ht, + $fk_parent_line ); + // Defined the new fk_parent_line + if ($result_insert > 0 && $facsrc->lines[$i]->product_type == 9) { + $fk_parent_line = $result_insert; + } + if ($result_insert < 0) { $error++; } else { @@ -478,8 +500,7 @@ public function update(User $user, $notrigger = 0) $sql .= " localtax1 = ".((float) $this->total_localtax1).","; $sql .= " localtax2 = ".((float) $this->total_localtax2).","; $sql .= " total_ht = ".((float) $this->total_ht).","; - $sql .= " total_ttc = ".((float) $this->total_ttc).","; - $sql .= " remise_percent = ".((float) $this->remise_percent); + $sql .= " total_ttc = ".((float) $this->total_ttc); // TODO Add missing fields $sql .= " WHERE rowid = ".((int) $this->id); @@ -520,14 +541,15 @@ public function update(User $user, $notrigger = 0) * @param int $rowid Id of object to load * @param string $ref Reference of recurring invoice * @param string $ref_ext External reference of invoice + * @param int $noextrafields 0=Default to load extrafields, 1=No extrafields + * @param int $nolines 0=Default to load lines, 1=No lines * @return int >0 if OK, <0 if KO, 0 if not found */ - public function fetch($rowid, $ref = '', $ref_ext = '') + public function fetch($rowid, $ref = '', $ref_ext = '', $noextrafields = 0, $nolines = 0) { dol_syslog('FactureRec::fetch', LOG_DEBUG); - $sql = 'SELECT f.rowid, f.entity, f.titre as title, f.suspended, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc'; - $sql .= ', f.remise_percent, f.remise_absolue, f.remise'; + $sql = 'SELECT f.rowid, f.entity, f.titre as title, f.suspended, f.fk_soc, f.subtype, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc'; $sql .= ', f.date_lim_reglement as dlr'; $sql .= ', f.note_private, f.note_public, f.fk_user_author'; $sql .= ', f.modelpdf as model_pdf'; @@ -565,10 +587,8 @@ public function fetch($rowid, $ref = '', $ref_ext = '') $this->titre = $obj->title; // deprecated $this->title = $obj->title; $this->ref = $obj->title; + $this->subtype = $obj->subtype; $this->suspended = $obj->suspended; - $this->remise_percent = $obj->remise_percent; - $this->remise_absolue = $obj->remise_absolue; - $this->remise = $obj->remise; $this->total_ht = $obj->total_ht; $this->total_tva = $obj->total_tva; $this->total_localtax1 = $obj->localtax1; @@ -588,7 +608,6 @@ public function fetch($rowid, $ref = '', $ref_ext = '') $this->note_private = $obj->note_private; $this->note_public = $obj->note_public; $this->user_author = $obj->fk_user_author; - $this->modelpdf = $obj->model_pdf; // deprecated $this->model_pdf = $obj->model_pdf; //$this->special_code = $obj->special_code; $this->frequency = $obj->frequency; @@ -611,16 +630,23 @@ public function fetch($rowid, $ref = '', $ref_ext = '') // Retrieve all extrafield // fetch optionals attributes and labels - $this->fetch_optionals(); + if (empty($noextrafields)) { + $result = $this->fetch_optionals(); + if ($result < 0) { + $this->error = $this->db->lasterror(); + return -4; + } + } - /* - * Lines - */ - $result = $this->fetch_lines(); - if ($result < 0) { - $this->error = $this->db->lasterror(); - return -3; + // Retreive lines + if (empty($nolines)) { + $result = $this->fetch_lines(); + if ($result < 0) { + $this->error = $this->db->lasterror(); + return -3; + } } + return 1; } else { $this->error = 'Bill with id '.$rowid.' or ref '.$ref.' not found'; @@ -659,7 +685,7 @@ public function fetch_lines() dol_syslog('FactureRec::fetch_lines', LOG_DEBUG); - $sql = 'SELECT l.rowid, l.fk_product, l.product_type, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, '; + $sql = 'SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.product_type, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, '; $sql .= ' l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise, l.remise_percent, l.subprice,'; $sql .= ' l.info_bits, l.date_start_fill, l.date_end_fill, l.total_ht, l.total_tva, l.total_ttc, l.fk_product_fournisseur_price, l.buy_price_ht as pa_ht,'; $sql .= ' l.rang, l.special_code,'; @@ -679,37 +705,39 @@ public function fetch_lines() $objp = $this->db->fetch_object($result); $line = new FactureLigneRec($this->db); - $line->id = $objp->rowid; - $line->rowid = $objp->rowid; - $line->desc = $objp->description; // Description line - $line->description = $objp->description; // Description line - $line->ref = $objp->product_ref; // Ref product - $line->product_ref = $objp->product_ref; // Ref product - $line->libelle = $objp->product_label; // deprecated - $line->product_label = $objp->product_label; // Label product - $line->product_desc = $objp->product_desc; // Description product - $line->product_type = $objp->product_type; // Type of line - $line->fk_product_type = $objp->fk_product_type; // Type of product - $line->qty = $objp->qty; - $line->subprice = $objp->subprice; - - $line->label = $objp->custom_label; // @deprecated - - $line->vat_src_code = $objp->vat_src_code; - $line->tva_tx = $objp->tva_tx; - $line->localtax1_tx = $objp->localtax1_tx; - $line->localtax2_tx = $objp->localtax2_tx; - $line->localtax1_type = $objp->localtax1_type; - $line->localtax2_type = $objp->localtax2_type; - $line->remise_percent = $objp->remise_percent; + $line->id = $objp->rowid; + $line->rowid = $objp->rowid; + $line->fk_facture = $objp->fk_facture; + $line->fk_parent_line = $objp->fk_parent_line; + $line->desc = $objp->description; // Description line + $line->description = $objp->description; // Description line + $line->ref = $objp->product_ref; // Ref product + $line->product_ref = $objp->product_ref; // Ref product + $line->libelle = $objp->product_label; // deprecated + $line->product_label = $objp->product_label; // Label product + $line->product_desc = $objp->product_desc; // Description product + $line->product_type = $objp->product_type; // Type of line + $line->fk_product_type = $objp->fk_product_type; // Type of product + $line->qty = $objp->qty; + $line->subprice = $objp->subprice; + + $line->label = $objp->custom_label; // @deprecated + + $line->vat_src_code = $objp->vat_src_code; + $line->tva_tx = $objp->tva_tx; + $line->localtax1_tx = $objp->localtax1_tx; + $line->localtax2_tx = $objp->localtax2_tx; + $line->localtax1_type = $objp->localtax1_type; + $line->localtax2_type = $objp->localtax2_type; + $line->remise_percent = $objp->remise_percent; //$line->fk_remise_except = $objp->fk_remise_except; - $line->fk_product = $objp->fk_product; - $line->date_start_fill = $objp->date_start_fill; - $line->date_end_fill = $objp->date_end_fill; - $line->info_bits = $objp->info_bits; - $line->total_ht = $objp->total_ht; - $line->total_tva = $objp->total_tva; - $line->total_ttc = $objp->total_ttc; + $line->fk_product = $objp->fk_product; + $line->date_start_fill = $objp->date_start_fill; + $line->date_end_fill = $objp->date_end_fill; + $line->info_bits = $objp->info_bits; + $line->total_ht = $objp->total_ht; + $line->total_tva = $objp->total_tva; + $line->total_ttc = $objp->total_ttc; //$line->code_ventilation = $objp->fk_code_ventilation; @@ -718,18 +746,18 @@ public function fetch_lines() $marginInfos = getMarginInfos($objp->subprice, $objp->remise_percent, $objp->tva_tx, $objp->localtax1_tx, $objp->localtax2_tx, $objp->fk_product_fournisseur_price, $objp->pa_ht); - $line->buyprice = $marginInfos[0]; - $line->pa_ht = $marginInfos[0]; // For backward compatibility + $line->buyprice = $marginInfos[0]; + $line->pa_ht = $marginInfos[0]; // For backward compatibility $line->marge_tx = $marginInfos[1]; $line->marque_tx = $marginInfos[2]; - $line->rang = $objp->rang; - $line->special_code = $objp->special_code; - $line->fk_unit = $objp->fk_unit; - $line->fk_contract_line = $objp->fk_contract_line; + $line->rang = $objp->rang; + $line->special_code = $objp->special_code; + $line->fk_unit = $objp->fk_unit; + $line->fk_contract_line = $objp->fk_contract_line; // Ne plus utiliser - $line->price = $objp->price; - $line->remise = $objp->remise; + $line->price = $objp->price; + $line->remise = $objp->remise; $line->fetch_optionals(); @@ -843,9 +871,10 @@ public function delete(User $user, $notrigger = 0, $idwarehouse = -1) * @param int $date_end_fill 1=Flag to fill end date when generating invoice * @param int $fk_fournprice Supplier price id (to calculate margin) or '' * @param int $pa_ht Buying price of line (to calculate margin) or '' + * @param int $fk_parent_line Id of parent line * @return int <0 if KO, Id of line if OK */ - public function addline($desc, $pu_ht, $qty, $txtva, $txlocaltax1 = 0, $txlocaltax2 = 0, $fk_product = 0, $remise_percent = 0, $price_base_type = 'HT', $info_bits = 0, $fk_remise_except = '', $pu_ttc = 0, $type = 0, $rang = -1, $special_code = 0, $label = '', $fk_unit = null, $pu_ht_devise = 0, $date_start_fill = 0, $date_end_fill = 0, $fk_fournprice = null, $pa_ht = 0) + public function addline($desc, $pu_ht, $qty, $txtva, $txlocaltax1 = 0, $txlocaltax2 = 0, $fk_product = 0, $remise_percent = 0, $price_base_type = 'HT', $info_bits = 0, $fk_remise_except = '', $pu_ttc = 0, $type = 0, $rang = -1, $special_code = 0, $label = '', $fk_unit = null, $pu_ht_devise = 0, $date_start_fill = 0, $date_end_fill = 0, $fk_fournprice = null, $pa_ht = 0, $fk_parent_line = 0) { global $mysoc; @@ -928,6 +957,10 @@ public function addline($desc, $pu_ht, $qty, $txtva, $txlocaltax1 = 0, $txlocalt $product_type = $product->type; } + if (empty($fk_parent_line) || $fk_parent_line < 0) { + $fk_parent_line = 0; + } + // Rank to use $ranktouse = $rang; if ($ranktouse == -1) { @@ -937,6 +970,7 @@ public function addline($desc, $pu_ht, $qty, $txtva, $txlocaltax1 = 0, $txlocalt $sql = "INSERT INTO ".MAIN_DB_PREFIX."facturedet_rec ("; $sql .= "fk_facture"; + $sql .= ", fk_parent_line"; $sql .= ", label"; $sql .= ", description"; $sql .= ", price"; @@ -968,6 +1002,7 @@ public function addline($desc, $pu_ht, $qty, $txtva, $txlocaltax1 = 0, $txlocalt $sql .= ', fk_multicurrency, multicurrency_code, multicurrency_subprice, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc'; $sql .= ") VALUES ("; $sql .= " ".((int) $facid); + $sql .= ", ".($fk_parent_line > 0 ? ((int) $fk_parent_line) : "null"); $sql .= ", ".(!empty($label) ? "'".$this->db->escape($label)."'" : "null"); $sql .= ", '".$this->db->escape($desc)."'"; $sql .= ", ".price2num($pu_ht); @@ -1043,9 +1078,10 @@ public function addline($desc, $pu_ht, $qty, $txtva, $txlocaltax1 = 0, $txlocalt * @param int $date_end_fill 1=Flag to fill end date when generating invoice * @param int $fk_fournprice Id of origin supplier price * @param int $pa_ht Price (without tax) of product for margin calculation + * @param int $fk_parent_line Id of parent line * @return int <0 if KO, Id of line if OK */ - public function updateline($rowid, $desc, $pu_ht, $qty, $txtva, $txlocaltax1 = 0, $txlocaltax2 = 0, $fk_product = 0, $remise_percent = 0, $price_base_type = 'HT', $info_bits = 0, $fk_remise_except = '', $pu_ttc = 0, $type = 0, $rang = -1, $special_code = 0, $label = '', $fk_unit = null, $pu_ht_devise = 0, $notrigger = 0, $date_start_fill = 0, $date_end_fill = 0, $fk_fournprice = null, $pa_ht = 0) + public function updateline($rowid, $desc, $pu_ht, $qty, $txtva, $txlocaltax1 = 0, $txlocaltax2 = 0, $fk_product = 0, $remise_percent = 0, $price_base_type = 'HT', $info_bits = 0, $fk_remise_except = '', $pu_ttc = 0, $type = 0, $rang = -1, $special_code = 0, $label = '', $fk_unit = null, $pu_ht_devise = 0, $notrigger = 0, $date_start_fill = 0, $date_end_fill = 0, $fk_fournprice = null, $pa_ht = 0, $fk_parent_line = 0) { global $mysoc; @@ -1142,8 +1178,13 @@ public function updateline($rowid, $desc, $pu_ht, $qty, $txtva, $txlocaltax1 = 0 $product_type = $product->type; } + if (empty($fk_parent_line) || $fk_parent_line < 0) { + $fk_parent_line = 0; + } + $sql = "UPDATE ".MAIN_DB_PREFIX."facturedet_rec SET "; $sql .= "fk_facture = ".((int) $facid); + $sql .= ", fk_parent_line = ".($fk_parent_line > 0 ? ((int) $fk_parent_line) : "null"); $sql .= ", label=".(!empty($label) ? "'".$this->db->escape($label)."'" : "null"); $sql .= ", description='".$this->db->escape($desc)."'"; $sql .= ", price=".price2num($pu_ht); @@ -1309,6 +1350,7 @@ public function createRecurringInvoices($restrictioninvoiceid = 0, $forcevalidat $facture->fk_fac_rec_source = $facturerec->id; // We will create $facture from this recurring invoice $facture->type = self::TYPE_STANDARD; + $facture->subtype = $facturerec->subtype; $facture->statut = self::STATUS_DRAFT; // deprecated $facture->status = self::STATUS_DRAFT; $facture->date = (empty($facturerec->date_when) ? $now : $facturerec->date_when); // We could also use dol_now here but we prefer date_when so invoice has real date when we would like even if we generate later. @@ -1649,18 +1691,11 @@ public function info($id) if ($result) { if ($this->db->num_rows($result)) { $obj = $this->db->fetch_object($result); + $this->id = $obj->rowid; - if ($obj->fk_user_author) { - $cuser = new User($this->db); - $cuser->fetch($obj->fk_user_author); - $this->user_creation = $cuser; - } - if ($obj->fk_user_modif) { - $muser = new User($this->db); - $muser->fetch($obj->fk_user_modif); - $this->user_modification = $muser; - } + $this->user_creation_id = $obj->fk_user_author; + $this->user_modification_id = $obj->fk_user_modif; $this->date_creation = $this->db->jdate($obj->datec); $this->date_modification = $this->db->jdate($obj->datem); } @@ -2114,6 +2149,11 @@ class FactureLigneRec extends CommonInvoiceLine */ public $table_element = 'facturedet_rec'; + //! From llx_facturedet_rec + //! Id facture + public $fk_facture; + //! Id parent line + public $fk_parent_line; public $fk_product_fournisseur_price; public $fk_fournprice; // For backward compatibility @@ -2189,7 +2229,7 @@ public function delete(User $user, $notrigger = false) */ public function fetch($rowid) { - $sql = 'SELECT l.rowid, l.fk_facture ,l.fk_product, l.product_type, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx,'; + $sql = 'SELECT l.rowid, l.fk_facture, l.fk_parent_line, l.fk_product, l.product_type, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx,'; $sql .= ' l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise, l.remise_percent, l.subprice,'; $sql .= ' l.date_start_fill, l.date_end_fill, l.info_bits, l.total_ht, l.total_tva, l.total_ttc,'; $sql .= ' l.rang, l.special_code,'; @@ -2209,7 +2249,9 @@ public function fetch($rowid) if ($result) { $objp = $this->db->fetch_object($result); - $this->id = $objp->rowid; + $this->id = $objp->rowid; + $this->fk_facture = $objp->fk_facture; + $this->fk_parent_line = $objp->fk_parent_line; $this->label = $objp->custom_label; // Label line $this->desc = $objp->description; // Description line $this->description = $objp->description; // Description line @@ -2223,7 +2265,6 @@ public function fetch($rowid) $this->qty = $objp->qty; $this->price = $objp->price; $this->subprice = $objp->subprice; - $this->fk_facture = $objp->fk_facture; $this->vat_src_code = $objp->vat_src_code; $this->tva_tx = $objp->tva_tx; $this->localtax1_tx = $objp->localtax1_tx; @@ -2280,10 +2321,16 @@ public function update(User $user, $notrigger = 0) $error = 0; + // Clean parameters + if (empty($this->fk_parent_line)) { + $this->fk_parent_line = 0; + } + include_once DOL_DOCUMENT_ROOT.'/core/lib/price.lib.php'; $sql = "UPDATE ".MAIN_DB_PREFIX."facturedet_rec SET"; $sql .= " fk_facture = ".((int) $this->fk_facture); + $sql .= ", fk_parent_line=".($this->fk_parent_line > 0 ? $this->fk_parent_line : "null"); $sql .= ", label=".(!empty($this->label) ? "'".$this->db->escape($this->label)."'" : "null"); $sql .= ", description='".$this->db->escape($this->desc)."'"; $sql .= ", price=".price2num($this->price); diff --git a/htdocs/compta/facture/class/facture.class.php b/htdocs/compta/facture/class/facture.class.php index 96882f51d4f8a..25038832a1c33 100644 --- a/htdocs/compta/facture/class/facture.class.php +++ b/htdocs/compta/facture/class/facture.class.php @@ -19,6 +19,7 @@ * Copyright (C) 2018 Nicolas ZABOURI * Copyright (C) 2022 Sylvain Legrand * Copyright (C) 2023 Gauthier VERDOL + * Copyright (C) 2023 Nick Fragoulis * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -132,13 +133,6 @@ class Facture extends CommonInvoice */ public $fk_user_valid; - /** - * @var int ID - * @deprecated - * @see $fk_uesr_modif - */ - public $user_modification; - /** * @var int ID */ @@ -148,15 +142,8 @@ class Facture extends CommonInvoice /** * @var int Date expected for delivery - * @deprecated - * @see $delivery_date */ - public $date_livraison; - - /** - * @var int Date expected for delivery - */ - public $delivery_date; // Date expected of shipment (date starting shipment, not the reception that occurs some days after) + public $delivery_date; // Date expected of shipment (date of start of shipment, not the reception that occurs some days after) /** * @var string customer ref @@ -170,15 +157,6 @@ class Facture extends CommonInvoice */ public $ref_customer; - // Warning: Do not set default value into property defintion. it must stay null. - // For example to avoid to have substition done when object is generic and not yet defined. - public $remise_absolue; - - /** - * @deprecated - */ - public $remise_percent; - public $total_ht; public $total_tva; public $total_localtax1; @@ -270,6 +248,22 @@ class Facture extends CommonInvoice */ public $retained_warranty_fk_cond_reglement; + /** + * @var int availabilty ID + */ + public $availability_id; + + public $date_closing; + + /** + * @var int + */ + public $source; + + /** + * @var int + */ + public $remise_percent; /** @@ -307,6 +301,7 @@ class Facture extends CommonInvoice 'ref_client' =>array('type'=>'varchar(255)', 'label'=>'RefCustomer', 'enabled'=>1, 'visible'=>-1, 'position'=>10), 'ref_ext' =>array('type'=>'varchar(255)', 'label'=>'Ref ext', 'enabled'=>1, 'visible'=>0, 'position'=>12), 'type' =>array('type'=>'smallint(6)', 'label'=>'Type', 'enabled'=>1, 'visible'=>-1, 'notnull'=>1, 'position'=>15), + 'subtype' =>array('type'=>'smallint(6)', 'label'=>'InvoiceSubtype', 'enabled'=>1, 'visible'=>-1, 'notnull'=>1, 'position'=>15), //'increment' =>array('type'=>'varchar(10)', 'label'=>'Increment', 'enabled'=>1, 'visible'=>-1, 'position'=>45), 'fk_soc' =>array('type'=>'integer:Societe:societe/class/societe.class.php', 'label'=>'ThirdParty', 'enabled'=>1, 'visible'=>-1, 'notnull'=>1, 'position'=>50), 'datef' =>array('type'=>'date', 'label'=>'DateInvoice', 'enabled'=>1, 'visible'=>1, 'position'=>20), @@ -316,7 +311,7 @@ class Facture extends CommonInvoice 'paye' =>array('type'=>'smallint(6)', 'label'=>'InvoicePaidCompletely', 'enabled'=>1, 'visible'=>-1, 'notnull'=>1, 'position'=>80), //'amount' =>array('type'=>'double(24,8)', 'label'=>'Amount', 'enabled'=>1, 'visible'=>-1, 'notnull'=>1, 'position'=>85), //'remise_percent' =>array('type'=>'double', 'label'=>'RelativeDiscount', 'enabled'=>1, 'visible'=>-1, 'position'=>90), - 'remise_absolue' =>array('type'=>'double', 'label'=>'CustomerRelativeDiscount', 'enabled'=>1, 'visible'=>-1, 'position'=>91), + //'remise_absolue' =>array('type'=>'double', 'label'=>'CustomerRelativeDiscount', 'enabled'=>1, 'visible'=>-1, 'position'=>91), //'remise' =>array('type'=>'double', 'label'=>'Remise', 'enabled'=>1, 'visible'=>-1, 'position'=>100), 'close_code' =>array('type'=>'varchar(16)', 'label'=>'EarlyClosingReason', 'enabled'=>1, 'visible'=>-1, 'position'=>92), 'close_note' =>array('type'=>'varchar(128)', 'label'=>'EarlyClosingComment', 'enabled'=>1, 'visible'=>-1, 'position'=>93), @@ -519,7 +514,7 @@ public function create(User $user, $notrigger = 0, $forceduedate = 0) $nextdatewhen = null; $previousdaynextdatewhen = null; - // Create invoice from a template recurring invoice + // Erase some properties of the invoice to create with the one of the recurring invoice if ($this->fac_rec > 0) { $this->fk_fac_rec_source = $this->fac_rec; @@ -555,8 +550,8 @@ public function create(User $user, $notrigger = 0, $forceduedate = 0) $this->total_ttc = $_facrec->total_ttc; // Fields always coming from template - $this->remise_absolue = $_facrec->remise_absolue; - $this->remise_percent = $_facrec->remise_percent; // TODO deprecated + //$this->remise_absolue = $_facrec->remise_absolue; + //$this->remise_percent = $_facrec->remise_percent; // TODO deprecated $this->fk_incoterms = $_facrec->fk_incoterms; $this->location_incoterms = $_facrec->location_incoterms; @@ -655,10 +650,9 @@ public function create(User $user, $notrigger = 0, $forceduedate = 0) $sql .= ", entity"; $sql .= ", ref_ext"; $sql .= ", type"; + $sql .= ", subtype"; $sql .= ", fk_soc"; $sql .= ", datec"; - $sql .= ", remise_absolue"; - $sql .= ", remise_percent"; // TODO deprecated $sql .= ", datef"; $sql .= ", date_pointoftax"; $sql .= ", note_private"; @@ -681,10 +675,9 @@ public function create(User $user, $notrigger = 0, $forceduedate = 0) $sql .= ", ".setEntity($this); $sql .= ", ".($this->ref_ext ? "'".$this->db->escape($this->ref_ext)."'" : "null"); $sql .= ", '".$this->db->escape($this->type)."'"; + $sql .= ", ".($this->subtype ? "'".$this->db->escape($this->subtype)."'" : "null"); $sql .= ", ".((int) $socid); $sql .= ", '".$this->db->idate($now)."'"; - $sql .= ", ".($this->remise_absolue > 0 ? $this->remise_absolue : 'NULL'); - $sql .= ", ".($this->remise_percent > 0 ? $this->remise_percent : 'NULL'); // TODO deprecated $sql .= ", '".$this->db->idate($this->date)."'"; $sql .= ", ".(empty($this->date_pointoftax) ? "null" : "'".$this->db->idate($this->date_pointoftax)."'"); $sql .= ", ".($this->note_private ? "'".$this->db->escape($this->note_private)."'" : "null"); @@ -796,7 +789,7 @@ public function create(User $user, $notrigger = 0, $forceduedate = 0) if (!$error && empty($this->fac_rec) && count($this->lines) && is_object($this->lines[0])) { // If this->lines is array of InvoiceLines (preferred mode) $fk_parent_line = 0; - dol_syslog("There is ".count($this->lines)." lines that are invoice lines objects"); + dol_syslog("There is ".count($this->lines)." lines into ->lines that are InvoiceLines"); foreach ($this->lines as $i => $val) { $newinvoiceline = $this->lines[$i]; @@ -884,7 +877,7 @@ public function create(User $user, $notrigger = 0, $forceduedate = 0) } elseif (!$error && empty($this->fac_rec)) { // If this->lines is an array of invoice line arrays $fk_parent_line = 0; - dol_syslog("There is ".count($this->lines)." lines that are array lines"); + dol_syslog("There is ".count($this->lines)." lines into ->lines as a simple array"); foreach ($this->lines as $i => $val) { $line = $this->lines[$i]; @@ -969,15 +962,23 @@ public function create(User $user, $notrigger = 0, $forceduedate = 0) } /* - * Insert lines of template invoices + * Insert lines coming from the template invoice */ if (!$error && $this->fac_rec > 0) { + dol_syslog("There is ".count($_facrec->lines)." lines from recurring invoice"); + $fk_parent_line = 0; + foreach ($_facrec->lines as $i => $val) { if ($_facrec->lines[$i]->fk_product) { $prod = new Product($this->db); $res = $prod->fetch($_facrec->lines[$i]->fk_product); } + // Reset fk_parent_line for no child products and special product + if (($_facrec->lines[$i]->product_type != 9 && empty($_facrec->lines[$i]->fk_parent_line)) || $_facrec->lines[$i]->product_type == 9) { + $fk_parent_line = 0; + } + // For line from template invoice, we use data from template invoice /* $tva_tx = get_default_tva($mysoc,$soc,$prod->id); @@ -1006,9 +1007,9 @@ public function create(User $user, $notrigger = 0, $forceduedate = 0) // If margin module defined on costprice, we try the costprice // If not defined or if module margin defined and pmp and stock module enabled, we try pmp price // else we get the best supplier price - if ($conf->global->MARGIN_TYPE == 'costprice' && !empty($producttmp->cost_price)) { + if (getDolGlobalString('MARGIN_TYPE') == 'costprice' && !empty($producttmp->cost_price)) { $buyprice = $producttmp->cost_price; - } elseif (isModEnabled('stock') && ($conf->global->MARGIN_TYPE == 'costprice' || $conf->global->MARGIN_TYPE == 'pmp') && !empty($producttmp->pmp)) { + } elseif (isModEnabled('stock') && (getDolGlobalString('MARGIN_TYPE') == 'costprice' || getDolGlobalString('MARGIN_TYPE') == 'pmp') && !empty($producttmp->pmp)) { $buyprice = $producttmp->pmp; } else { if ($producttmp->find_min_price_product_fournisseur($_facrec->lines[$i]->fk_product) > 0) { @@ -1040,7 +1041,7 @@ public function create(User $user, $notrigger = 0, $forceduedate = 0) $_facrec->lines[$i]->special_code, '', 0, - 0, + $fk_parent_line, $fk_product_fournisseur_price, $buyprice, $_facrec->lines[$i]->label, @@ -1053,6 +1054,11 @@ public function create(User $user, $notrigger = 0, $forceduedate = 0) 1 ); + // Defined the new fk_parent_line + if ($result_insert > 0 && $_facrec->lines[$i]->product_type == 9) { + $fk_parent_line = $result_insert; + } + if ($result_insert < 0) { $error++; $this->error = $this->db->error(); @@ -1136,22 +1142,23 @@ public function createFromCurrent(User $user, $invertdetail = 0) $facture->fk_facture_source = $this->fk_facture_source; $facture->type = $this->type; + $facture->subtype = $this->subtype; $facture->socid = $this->socid; $facture->date = $this->date; $facture->date_pointoftax = $this->date_pointoftax; $facture->note_public = $this->note_public; $facture->note_private = $this->note_private; $facture->ref_client = $this->ref_client; - $facture->modelpdf = $this->model_pdf; // deprecated $facture->model_pdf = $this->model_pdf; $facture->fk_project = $this->fk_project; $facture->cond_reglement_id = $this->cond_reglement_id; $facture->mode_reglement_id = $this->mode_reglement_id; - $facture->remise_absolue = $this->remise_absolue; - $facture->remise_percent = $this->remise_percent; // TODO deprecated + //$facture->remise_absolue = $this->remise_absolue; + //$facture->remise_percent = $this->remise_percent; // TODO deprecated $facture->origin = $this->origin; $facture->origin_id = $this->origin_id; + $facture->fk_account = $this->fk_account; $facture->lines = $this->lines; // Array of lines of invoice $facture->situation_counter = $this->situation_counter; @@ -1244,8 +1251,8 @@ public function createFromClone(User $user, $fromid = 0) // Clear fields $object->date = (empty($this->date) ? dol_now() : $this->date); - $object->user_author = $user->id; // deprecated - $object->user_valid = null; // deprecated + $object->user_creation_id = $user->id; + $object->user_validation_id = null; $object->fk_user_author = $user->id; $object->fk_user_valid = null; $object->fk_facture_source = 0; @@ -1417,8 +1424,7 @@ public function createFromOrder($object, User $user) $this->mode_reglement_id = $object->mode_reglement_id; $this->availability_id = $object->availability_id; $this->demand_reason_id = $object->demand_reason_id; - $this->delivery_date = (empty($object->delivery_date) ? $object->date_livraison : $object->delivery_date); - $this->date_livraison = $object->delivery_date; // deprecated + $this->delivery_date = $object->delivery_date; $this->fk_delivery_address = $object->fk_delivery_address; // deprecated $this->contact_id = $object->contact_id; $this->ref_client = $object->ref_client; @@ -1553,8 +1559,7 @@ public function createFromContract($object, User $user, $lines = array()) $this->mode_reglement_id = $object->mode_reglement_id; $this->availability_id = $object->availability_id; $this->demand_reason_id = $object->demand_reason_id; - $this->delivery_date = (empty($object->delivery_date) ? $object->date_livraison : $object->delivery_date); - $this->date_livraison = $object->delivery_date; // deprecated + $this->delivery_date = $object->delivery_date; $this->fk_delivery_address = $object->fk_delivery_address; // deprecated $this->contact_id = $object->contact_id; $this->ref_client = $object->ref_client; @@ -2110,9 +2115,8 @@ public function fetch($rowid, $ref = '', $ref_ext = '', $notused = '', $fetch_si return -1; } - $sql = 'SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc'; + $sql = 'SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.subtype, f.fk_soc'; $sql .= ', f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp'; - $sql .= ', f.remise_percent, f.remise_absolue, f.remise'; $sql .= ', f.datef as df, f.date_pointoftax'; $sql .= ', f.date_lim_reglement as dlr'; $sql .= ', f.datec as datec'; @@ -2161,21 +2165,20 @@ public function fetch($rowid, $ref = '', $ref_ext = '', $notused = '', $fetch_si $this->ref_customer = $obj->ref_client; $this->ref_ext = $obj->ref_ext; $this->type = $obj->type; + $this->subtype = $obj->subtype; $this->date = $this->db->jdate($obj->df); $this->date_pointoftax = $this->db->jdate($obj->date_pointoftax); - $this->date_creation = $this->db->jdate($obj->datec); + $this->date_creation = $this->db->jdate($obj->datec); $this->date_validation = $this->db->jdate($obj->datev); - $this->date_modification = $this->db->jdate($obj->datem); - $this->datem = $this->db->jdate($obj->datem); - $this->remise_percent = $obj->remise_percent; // TODO deprecated - $this->remise_absolue = $obj->remise_absolue; + $this->date_modification = $this->db->jdate($obj->datem); + $this->datem = $this->db->jdate($obj->datem); $this->total_ht = $obj->total_ht; $this->total_tva = $obj->total_tva; $this->total_localtax1 = $obj->localtax1; $this->total_localtax2 = $obj->localtax2; $this->total_ttc = $obj->total_ttc; - $this->revenuestamp = $obj->revenuestamp; - $this->paye = $obj->paye; + $this->revenuestamp = $obj->revenuestamp; + $this->paye = $obj->paye; $this->close_code = $obj->close_code; $this->close_note = $obj->close_note; @@ -2202,14 +2205,13 @@ public function fetch($rowid, $ref = '', $ref_ext = '', $notused = '', $fetch_si $this->note = $obj->note_private; // deprecated $this->note_private = $obj->note_private; $this->note_public = $obj->note_public; - $this->user_author = $obj->fk_user_author; // deprecated - $this->user_valid = $obj->fk_user_valid; // deprecated - $this->user_modification = $obj->fk_user_modif; // deprecated + $this->user_creation_id = $obj->fk_user_author; + $this->user_validation_id = $obj->fk_user_valid; + $this->user_modification_id = $obj->fk_user_modif; $this->fk_user_author = $obj->fk_user_author; $this->fk_user_valid = $obj->fk_user_valid; $this->fk_user_modif = $obj->fk_user_modif; $this->model_pdf = $obj->model_pdf; - $this->modelpdf = $obj->model_pdf; // deprecated $this->last_main_doc = $obj->last_main_doc; $this->situation_cycle_ref = $obj->situation_cycle_ref; $this->situation_counter = $obj->situation_counter; @@ -2281,19 +2283,17 @@ public function fetch($rowid, $ref = '', $ref_ext = '', $notused = '', $fetch_si public function fetch_lines($only_product = 0, $loadalsotranslation = 0) { // phpcs:enable - global $langs, $conf; - $this->lines = array(); $sql = 'SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx,'; $sql .= ' l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext,'; $sql .= ' l.situation_percent, l.fk_prev_id,'; - $sql .= ' l.rang, l.special_code,'; + $sql .= ' l.rang, l.special_code, l.batch, l.fk_warehouse,'; $sql .= ' l.date_start as date_start, l.date_end as date_end,'; $sql .= ' l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht,'; $sql .= ' l.fk_unit,'; $sql .= ' l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc,'; - $sql .= ' p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc'; + $sql .= ' p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc, p.barcode as product_barcode'; $sql .= ' FROM '.MAIN_DB_PREFIX.'facturedet as l'; $sql .= ' LEFT JOIN '.MAIN_DB_PREFIX.'product as p ON l.fk_product = p.rowid'; $sql .= ' WHERE l.fk_facture = '.((int) $this->id); @@ -2319,6 +2319,7 @@ public function fetch_lines($only_product = 0, $loadalsotranslation = 0) $line->product_ref = $objp->product_ref; // Ref product $line->libelle = $objp->product_label; // deprecated $line->product_label = $objp->product_label; // Label product + $line->product_barcode = $objp->product_barcode; // Barcode number product $line->product_desc = $objp->product_desc; // Description product $line->fk_product_type = $objp->fk_product_type; // Type of product $line->qty = $objp->qty; @@ -2357,6 +2358,9 @@ public function fetch_lines($only_product = 0, $loadalsotranslation = 0) $line->fk_prev_id = $objp->fk_prev_id; $line->fk_unit = $objp->fk_unit; + $line->batch = $objp->batch; + $line->fk_warehouse = $objp->fk_warehouse; + // Accountancy $line->fk_accounting_account = $objp->fk_code_ventilation; @@ -2443,6 +2447,9 @@ public function update(User $user, $notrigger = 0) if (empty($this->type)) { $this->type = self::TYPE_STANDARD; } + if (isset($this->subtype)) { + $this->subtype = trim($this->subtype); + } if (isset($this->ref)) { $this->ref = trim($this->ref); } @@ -2489,6 +2496,7 @@ public function update(User $user, $notrigger = 0) $sql .= " ref=".(isset($this->ref) ? "'".$this->db->escape($this->ref)."'" : "null").","; $sql .= " ref_ext=".(isset($this->ref_ext) ? "'".$this->db->escape($this->ref_ext)."'" : "null").","; $sql .= " type=".(isset($this->type) ? $this->db->escape($this->type) : "null").","; + $sql .= " subtype=".(isset($this->subtype) ? $this->db->escape($this->subtype) : "null").","; $sql .= " ref_client=".(isset($this->ref_client) ? "'".$this->db->escape($this->ref_client)."'" : "null").","; $sql .= " increment=".(isset($this->increment) ? "'".$this->db->escape($this->increment)."'" : "null").","; $sql .= " fk_soc=".(isset($this->socid) ? $this->db->escape($this->socid) : "null").","; @@ -2497,8 +2505,6 @@ public function update(User $user, $notrigger = 0) $sql .= " date_pointoftax=".(strval($this->date_pointoftax) != '' ? "'".$this->db->idate($this->date_pointoftax)."'" : 'null').","; $sql .= " date_valid=".(strval($this->date_validation) != '' ? "'".$this->db->idate($this->date_validation)."'" : 'null').","; $sql .= " paye=".(isset($this->paye) ? $this->db->escape($this->paye) : 0).","; - $sql .= " remise_percent=".(isset($this->remise_percent) ? $this->db->escape($this->remise_percent) : "null").","; // TODO deprecated - $sql .= " remise_absolue=".(isset($this->remise_absolue) ? $this->db->escape($this->remise_absolue) : "null").","; $sql .= " close_code=".(isset($this->close_code) ? "'".$this->db->escape($this->close_code)."'" : "null").","; $sql .= " close_note=".(isset($this->close_note) ? "'".$this->db->escape($this->close_note)."'" : "null").","; $sql .= " total_tva=".(isset($this->total_tva) ? $this->total_tva : "null").","; @@ -2864,7 +2870,8 @@ public function delete($user, $notrigger = 0, $idwarehouse = -1) $resql = $this->db->query($sql); if ($resql) { // Delete record into ECM index (Note that delete is also done when deleting files with the dol_delete_dir_recursive - $this->deleteEcmFiles(); + $this->deleteEcmFiles(0); // Deleting files physically is done later with the dol_delete_dir_recursive + $this->deleteEcmFiles(1); // Deleting files physically is done later with the dol_delete_dir_recursive // On efface le repertoire de pdf provisoire $ref = dol_sanitizeFileName($this->ref); @@ -2933,8 +2940,9 @@ public function set_paid($user, $close_code = '', $close_note = '') } /** - * Tag the invoice as paid completely (if close_code is filled) => this->fk_statut=2, this->paye=1 - * or partially (if close_code filled) + appel trigger BILL_PAYED => this->fk_statut=2, this->paye stay 0 + * Tag the invoice as : + * - paid completely (if close_code is not filled) => this->fk_statut=2, this->paye=1 + * - or partially (if close_code filled) + appel trigger BILL_PAYED => this->fk_statut=2, this->paye stay 0 * * @param User $user Object user that modify * @param string $close_code Code renseigne si on classe a payee completement alors que paiement incomplet (cas escompte par exemple) @@ -3183,10 +3191,10 @@ public function validate($user, $force_number = '', $idwarehouse = 0, $notrigger $this->error = $langs->trans("ErrorObjectMustHaveLinesToBeValidated", $this->ref); return -1; } - if ((empty($conf->global->MAIN_USE_ADVANCED_PERMS) && empty($user->rights->facture->creer)) - || (!empty($conf->global->MAIN_USE_ADVANCED_PERMS) && empty($user->rights->facture->invoice_advance->validate))) { + if ((empty($conf->global->MAIN_USE_ADVANCED_PERMS) && !$user->hasRight('facture', 'creer')) + || (!empty($conf->global->MAIN_USE_ADVANCED_PERMS) && !$user->hasRight('facture', 'invoice_advance', 'validate'))) { $this->error = 'Permission denied'; - dol_syslog(get_class($this)."::validate ".$this->error.' MAIN_USE_ADVANCED_PERMS='.$conf->global->MAIN_USE_ADVANCED_PERMS, LOG_ERR); + dol_syslog(get_class($this)."::validate ".$this->error.' MAIN_USE_ADVANCED_PERMS=' . getDolGlobalString('MAIN_USE_ADVANCED_PERMS'), LOG_ERR); return -1; } if (!empty($conf->global-> INVOICE_CHECK_POSTERIOR_DATE)) { @@ -3407,6 +3415,7 @@ public function validate($user, $force_number = '', $idwarehouse = 0, $notrigger if ($result < 0) { $error++; $this->error = $mouvP->error; + $this->errors = $mouvP->errors; break; } @@ -3425,6 +3434,7 @@ public function validate($user, $force_number = '', $idwarehouse = 0, $notrigger if ($result < 0) { $error++; $this->error = $mouvP->error; + $this->errors = $mouvP->errors; } } else { $error++; @@ -3443,6 +3453,7 @@ public function validate($user, $force_number = '', $idwarehouse = 0, $notrigger if ($result < 0) { $error++; $this->error = $mouvP->error; + $this->errors = $mouvP->errors; } } } @@ -3493,6 +3504,12 @@ public function validate($user, $force_number = '', $idwarehouse = 0, $notrigger $error++; $this->error = $this->db->lasterror(); } + $sql = 'UPDATE '.MAIN_DB_PREFIX."ecm_files set filepath = 'facture/".$this->db->escape($this->newref)."'"; + $sql .= " WHERE filepath = 'facture/".$this->db->escape($this->ref)."' and entity = ".$conf->entity; + $resql = $this->db->query($sql); + if (!$resql) { + $error++; $this->error = $this->db->lasterror(); + } // We rename directory ($this->ref = old ref, $num = new ref) in order not to lose the attachments $oldref = dol_sanitizeFileName($this->ref); @@ -4465,6 +4482,7 @@ public function setDiscount($user, $remise, $notrigger = 0) * @param int $notrigger 1=Does not execute triggers, 0= execute triggers * @return int <0 if KO, >0 if OK */ + /* public function set_remise_absolue($user, $remise, $notrigger = 0) { // phpcs:enable @@ -4521,6 +4539,7 @@ public function set_remise_absolue($user, $remise, $notrigger = 0) return 0; } + */ /** * Return next reference of customer invoice not already used (or last reference) @@ -4557,9 +4576,9 @@ public function getNextNumRef($soc, $mode = 'next') // Clean parameters (if not defined or using deprecated value) if (empty($conf->global->FACTURE_ADDON)) { $conf->global->FACTURE_ADDON = 'mod_facture_terre'; - } elseif ($conf->global->FACTURE_ADDON == 'terre') { + } elseif (getDolGlobalString('FACTURE_ADDON') == 'terre') { $conf->global->FACTURE_ADDON = 'mod_facture_terre'; - } elseif ($conf->global->FACTURE_ADDON == 'mercure') { + } elseif (getDolGlobalString('FACTURE_ADDON') == 'mercure') { $conf->global->FACTURE_ADDON = 'mod_facture_mercure'; } @@ -4567,7 +4586,7 @@ public function getNextNumRef($soc, $mode = 'next') } if (!empty($addon)) { - dol_syslog("Call getNextNumRef with ".$addonConstName." = ".$conf->global->FACTURE_ADDON.", thirdparty=".$soc->name.", type=".$soc->typent_code.", mode=".$mode, LOG_DEBUG); + dol_syslog("Call getNextNumRef with ".$addonConstName." = " . getDolGlobalString('FACTURE_ADDON').", thirdparty=".$soc->name.", type=".$soc->typent_code.", mode=".$mode, LOG_DEBUG); $mybool = false; @@ -4647,22 +4666,11 @@ public function info($id) if ($result) { if ($this->db->num_rows($result)) { $obj = $this->db->fetch_object($result); + $this->id = $obj->rowid; - if ($obj->fk_user_author) { - $cuser = new User($this->db); - $cuser->fetch($obj->fk_user_author); - $this->user_creation = $cuser; - } - if ($obj->fk_user_valid) { - $vuser = new User($this->db); - $vuser->fetch($obj->fk_user_valid); - $this->user_validation = $vuser; - } - if ($obj->fk_user_closing) { - $cluser = new User($this->db); - $cluser->fetch($obj->fk_user_closing); - $this->user_closing = $cluser; - } + $this->user_creation_id = $obj->fk_user_author; + $this->user_validation_id = $obj->fk_user_valid; + $this->user_closing_id = $obj->fk_user_closing; $this->date_creation = $this->db->jdate($obj->datec); $this->date_modification = $this->db->jdate($obj->datem); @@ -4699,16 +4707,16 @@ public function liste_array($shortlist = 0, $draft = 0, $excluser = '', $socid = $sql = "SELECT s.rowid, s.nom as name, s.client,"; $sql .= " f.rowid as fid, f.ref as ref, f.datef as df"; - if (empty($user->rights->societe->client->voir) && !$socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= ", sc.fk_soc, sc.fk_user"; } $sql .= " FROM ".MAIN_DB_PREFIX."societe as s, ".MAIN_DB_PREFIX."facture as f"; - if (empty($user->rights->societe->client->voir) && !$socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= ", ".MAIN_DB_PREFIX."societe_commerciaux as sc"; } $sql .= " WHERE f.entity IN (".getEntity('invoice').")"; $sql .= " AND f.fk_soc = s.rowid"; - if (empty($user->rights->societe->client->voir) && !$socid) { //restriction + if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { //restriction $sql .= " AND s.rowid = sc.fk_soc AND sc.fk_user = ".((int) $user->id); } if ($socid) { @@ -4822,7 +4830,7 @@ public function list_qualified_avoir_invoices($socid = 0) $return = array(); - $sql = "SELECT f.rowid as rowid, f.ref, f.fk_statut, f.type, f.paye, pf.fk_paiement"; + $sql = "SELECT f.rowid as rowid, f.ref, f.fk_statut, f.type, f.subtype, f.paye, pf.fk_paiement"; $sql .= " FROM ".MAIN_DB_PREFIX."facture as f"; $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."paiement_facture as pf ON f.rowid = pf.fk_facture"; $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."facture as ff ON (f.rowid = ff.fk_facture_source AND ff.type=".self::TYPE_REPLACEMENT.")"; @@ -4898,7 +4906,7 @@ public function load_board($user) $sql = "SELECT f.rowid, f.date_lim_reglement as datefin, f.fk_statut as status, f.total_ht"; $sql .= " FROM ".MAIN_DB_PREFIX."facture as f"; - if (empty($user->rights->societe->client->voir) && !$user->socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$user->socid) { $sql .= " JOIN ".MAIN_DB_PREFIX."societe_commerciaux as sc ON f.fk_soc = sc.fk_soc"; $sql .= " WHERE sc.fk_user = ".((int) $user->id); $clause = " AND"; @@ -5147,7 +5155,7 @@ public function load_state_board() $sql = "SELECT count(f.rowid) as nb"; $sql .= " FROM ".MAIN_DB_PREFIX."facture as f"; $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."societe as s ON f.fk_soc = s.rowid"; - if (empty($user->rights->societe->client->voir) && !$user->socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$user->socid) { $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."societe_commerciaux as sc ON s.rowid = sc.fk_soc"; $sql .= " WHERE sc.fk_user = ".((int) $user->id); $clause = "AND"; @@ -5201,8 +5209,6 @@ public function generateDocument($modele, $outputlangs, $hidedetails = 0, $hided if (!empty($this->model_pdf)) { $modele = $this->model_pdf; - } elseif (!empty($this->modelpdf)) { // deprecated - $modele = $this->modelpdf; } elseif (!empty($conf->global->$thisTypeConfName)) { $modele = $conf->global->$thisTypeConfName; } elseif (!empty($conf->global->FACTURE_ADDON_PDF)) { @@ -5940,25 +5946,34 @@ public function willBeLastOfSameType($allow_validated_drafts = false) */ public function getKanbanView($option = '', $arraydata = null) { + global $langs; + $selected = (empty($arraydata['selected']) ? 0 : $arraydata['selected']); $return = '
'; $return .= '
'; $return .= ''; $return .= img_picto('', $this->picto); - //$return .= ''; // Can be image $return .= ''; $return .= '
'; $return .= ''.(method_exists($this, 'getNomUrl') ? $this->getNomUrl(1) : $this->ref).''; - $return .= ''; - if (property_exists($this, 'socid')) { - $return .= '
'.$this->socid.''; + if ($selected >= 0) { + $return .= ''; + } + if (!empty($arraydata['thirdparty'])) { + $return .= '
'.$arraydata['thirdparty'].''; } - if (property_exists($this, 'fk_user_author')) { - $return .= '
'.$this->fk_user_author.''; + if (property_exists($this, 'date')) { + $return .= '
'.dol_print_date($this->date, 'day').''; + } + if (property_exists($this, 'total_ht')) { + $return .= '   '.price($this->total_ht); + $return .= ' '.$langs->trans("HT"); + $return .= ''; } if (method_exists($this, 'getLibStatut')) { - $return .= '
'.$this->getLibStatut(3).'
'; + $alreadypaid = (empty($arraydata['alreadypaid']) ? 0 : $arraydata['alreadypaid']); + $return .= '
'.$this->getLibStatut(3, $alreadypaid).'
'; } $return .= '
'; $return .= '
'; @@ -6008,18 +6023,41 @@ class FactureLigne extends CommonInvoiceLine public $marge_tx; public $marque_tx; + /** + * @var int + */ + public $tva_npr; + public $remise_percent; - public $special_code; // Liste d'options non cumulabels: - // 1: frais de port - // 2: ecotaxe - // 3: ?? + /** + * List of special options to define line: + * 1: shipment cost lines + * 2: ecotaxe + * 3: ?? + * idofmodule: a meaning for the module + */ + public $special_code; + + /** + * @var string To store the batch to consume in stock when using a POS module + */ + public $batch; + /** + * @var string To store the warehouse where to consume stock when using a POS module + */ + public $fk_warehouse; + public $origin; public $origin_id; + /** + * @var integer Id in table llx_accounting_bookeeping to know accounting account for product line + */ public $fk_code_ventilation = 0; + public $date_start; public $date_end; diff --git a/htdocs/compta/facture/class/facturestats.class.php b/htdocs/compta/facture/class/facturestats.class.php index 5637fd740a068..c4375fc133cfa 100644 --- a/htdocs/compta/facture/class/facturestats.class.php +++ b/htdocs/compta/facture/class/facturestats.class.php @@ -85,7 +85,7 @@ public function __construct(DoliDB $db, $socid, $mode, $userid = 0, $typentid = $this->where = " f.fk_statut >= 0"; $this->where .= " AND f.entity IN (".getEntity('invoice').")"; - if (empty($user->rights->societe->client->voir) && !$this->socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$this->socid) { $this->where .= " AND f.fk_soc = sc.fk_soc AND sc.fk_user = ".((int) $user->id); } if ($mode == 'customer') { @@ -136,7 +136,7 @@ public function getNbByMonth($year, $format = 0) $sql = "SELECT date_format(f.datef,'%m') as dm, COUNT(*) as nb"; $sql .= " FROM ".$this->from; - if (empty($user->rights->societe->client->voir) && !$this->socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$this->socid) { $sql .= ", ".MAIN_DB_PREFIX."societe_commerciaux as sc"; } $sql .= $this->join; @@ -162,7 +162,7 @@ public function getNbByYear() $sql = "SELECT date_format(f.datef,'%Y') as dm, COUNT(*), SUM(c.".$this->field.")"; $sql .= " FROM ".$this->from; - if (empty($user->rights->societe->client->voir) && !$this->socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$this->socid) { $sql .= ", ".MAIN_DB_PREFIX."societe_commerciaux as sc"; } $sql .= $this->join; @@ -187,7 +187,7 @@ public function getAmountByMonth($year, $format = 0) $sql = "SELECT date_format(datef,'%m') as dm, SUM(f.".$this->field.")"; $sql .= " FROM ".$this->from; - if (empty($user->rights->societe->client->voir) && !$this->socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$this->socid) { $sql .= ", ".MAIN_DB_PREFIX."societe_commerciaux as sc"; } $sql .= $this->join; @@ -213,7 +213,7 @@ public function getAverageByMonth($year) $sql = "SELECT date_format(datef,'%m') as dm, AVG(f.".$this->field.")"; $sql .= " FROM ".$this->from; - if (empty($user->rights->societe->client->voir) && !$this->socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$this->socid) { $sql .= ", ".MAIN_DB_PREFIX."societe_commerciaux as sc"; } $sql .= $this->join; @@ -236,7 +236,7 @@ public function getAllByYear() $sql = "SELECT date_format(datef,'%Y') as year, COUNT(*) as nb, SUM(f.".$this->field.") as total, AVG(f.".$this->field.") as avg"; $sql .= " FROM ".$this->from; - if (empty($user->rights->societe->client->voir) && !$this->socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$this->socid) { $sql .= ", ".MAIN_DB_PREFIX."societe_commerciaux as sc"; } $sql .= $this->join; @@ -260,7 +260,7 @@ public function getAllByProduct($year, $limit = 10) $sql = "SELECT product.ref, COUNT(product.ref) as nb, SUM(tl.".$this->field_line.") as total, AVG(tl.".$this->field_line.") as avg"; $sql .= " FROM ".$this->from.", ".$this->from_line.", ".MAIN_DB_PREFIX."product as product"; - if (empty($user->rights->societe->client->voir) && !$this->socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$this->socid) { $sql .= ", ".MAIN_DB_PREFIX."societe_commerciaux as sc"; } $sql .= $this->join; @@ -288,7 +288,7 @@ public function getAmountByYear($numberYears, $format = 0) $startYear = $endYear - $numberYears; $sql = "SELECT date_format(datef,'%Y') as dm, SUM(f.".$this->field.")"; $sql .= " FROM ".$this->from; - if (empty($user->rights->societe->client->voir) && !$this->socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$this->socid) { $sql .= ", ".MAIN_DB_PREFIX."societe_commerciaux as sc"; } $sql .= $this->join; diff --git a/htdocs/compta/facture/invoicetemplate_list.php b/htdocs/compta/facture/invoicetemplate_list.php index f2573a42307de..6c9d6c0889eb5 100644 --- a/htdocs/compta/facture/invoicetemplate_list.php +++ b/htdocs/compta/facture/invoicetemplate_list.php @@ -8,6 +8,7 @@ * Copyright (C) 2012 Cedric Salvador * Copyright (C) 2015-2021 Alexandre Spangaro * Copyright (C) 2016 Meziane Sof + * Copyright (C) 2023 William Mead * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -299,7 +300,7 @@ $sql .= " FROM ".MAIN_DB_PREFIX."societe as s, ".MAIN_DB_PREFIX."facture_rec as f"; $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."facture_rec_extrafields as ef ON ef.fk_object = f.rowid"; -if (empty($user->rights->societe->client->voir) && !$socid) { +if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= ", ".MAIN_DB_PREFIX."societe_commerciaux as sc"; } // Add table from hooks @@ -375,6 +376,8 @@ if ($search_date_when_end) { $sql .= " AND f.date_when <= '".$db->idate($search_date_when_end)."'"; } +// Add where from extra fields +include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_list_search_sql.tpl.php'; // Count total nb of records $nbtotalofrecords = ''; diff --git a/htdocs/compta/facture/list.php b/htdocs/compta/facture/list.php index 252d10e731f32..9f684ef059588 100644 --- a/htdocs/compta/facture/list.php +++ b/htdocs/compta/facture/list.php @@ -14,6 +14,7 @@ * Copyright (C) 2017 Josep Lluís Amador * Copyright (C) 2018 Charlene Benke * Copyright (C) 2019-2021 Alexandre Spangaro + * Copyright (C) 2023 Nick Fragoulis * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -75,7 +76,7 @@ $toselect = GETPOST('toselect', 'array'); $optioncss = GETPOST('optioncss', 'alpha'); $contextpage = GETPOST('contextpage', 'aZ') ?GETPOST('contextpage', 'aZ') : 'invoicelist'; -$mode = GETPOST('mode', 'alpha'); +$mode = GETPOST('mode', 'aZ'); // The output mode ('list', 'kanban', 'hierarchy', 'calendar', ...) if ($contextpage == 'poslist') { $optioncss = 'print'; @@ -86,6 +87,7 @@ $search_ref = GETPOST('sf_ref') ?GETPOST('sf_ref', 'alpha') : GETPOST('search_ref', 'alpha'); $search_refcustomer = GETPOST('search_refcustomer', 'alpha'); $search_type = GETPOST('search_type', 'int'); +$search_subtype = GETPOST('search_subtype', 'int'); $search_project_ref = GETPOST('search_project_ref', 'alpha'); $search_project = GETPOST('search_project', 'alpha'); $search_company = GETPOST('search_company', 'alpha'); @@ -216,6 +218,7 @@ 'f.type'=>array('label'=>"Type", 'checked'=>0, 'position'=>15), 'f.datef'=>array('label'=>"DateInvoice", 'checked'=>1, 'position'=>20), 'f.date_valid'=>array('label'=>"DateValidation", 'checked'=>0, 'position'=>22), + 'f.subtype'=>array('label'=>"InvoiceSubtype", 'checked'=>0, 'position'=>17), 'f.date_lim_reglement'=>array('label'=>"DateDue", 'checked'=>1, 'position'=>25), 'f.date_closing'=>array('label'=>"DateClosing", 'checked'=>0, 'position'=>30), 'p.ref'=>array('label'=>"ProjectRef", 'checked'=>1, 'enabled'=>(!isModEnabled('project') ? 0 : 1), 'position'=>40), @@ -247,7 +250,7 @@ 'f.multicurrency_total_ttc'=>array('label'=>'MulticurrencyAmountTTC', 'checked'=>0, 'enabled'=>(!isModEnabled('multicurrency') ? 0 : 1), 'position'=>292), 'multicurrency_dynamount_payed'=>array('label'=>'MulticurrencyAlreadyPaid', 'checked'=>0, 'enabled'=>(!isModEnabled('multicurrency') ? 0 : 1), 'position'=>295), 'multicurrency_rtp'=>array('label'=>'MulticurrencyRemainderToPay', 'checked'=>0, 'enabled'=>(!isModEnabled('multicurrency') ? 0 : 1), 'position'=>296), // Not enabled by default because slow - 'total_pa' => array('label' => ((isset($conf->global->MARGIN_TYPE) && $conf->global->MARGIN_TYPE == '1') ? 'BuyingPrice' : 'CostPrice'), 'checked' => 0, 'position' => 300, 'enabled' => (!isModEnabled('margin') || empty($user->rights->margins->liretous) ? 0 : 1)), + 'total_pa' => array('label' => ((getDolGlobalString('MARGIN_TYPE') == '1') ? 'BuyingPrice' : 'CostPrice'), 'checked' => 0, 'position' => 300, 'enabled' => (!isModEnabled('margin') || empty($user->rights->margins->liretous) ? 0 : 1)), 'total_margin' => array('label' => 'Margin', 'checked' => 0, 'position' => 301, 'enabled' => (!isModEnabled('margin') || empty($user->rights->margins->liretous) ? 0 : 1)), 'total_margin_rate' => array('label' => 'MarginRate', 'checked' => 0, 'position' => 302, 'enabled' => (!isModEnabled('margin') || empty($user->rights->margins->liretous) || empty($conf->global->DISPLAY_MARGIN_RATES) ? 0 : 1)), 'total_mark_rate' => array('label' => 'MarkRate', 'checked' => 0, 'position' => 303, 'enabled' => (!isModEnabled('margin') || empty($user->rights->margins->liretous) || empty($conf->global->DISPLAY_MARK_RATES) ? 0 : 1)), @@ -322,6 +325,7 @@ $search_ref = ''; $search_refcustomer = ''; $search_type = ''; + $search_subtype = ''; $search_project_ref = ''; $search_project = ''; $search_company = ''; @@ -469,7 +473,7 @@ } elseif ($massaction == 'withdrawrequest') { $langs->load("withdrawals"); - if (!$user->rights->prelevement->bons->creer) { + if (!$user->hasRight('prelevement', 'bons', 'creer')) { $error++; setEventMessages($langs->trans("NotEnoughPermissions"), null, 'errors'); } else { @@ -565,17 +569,20 @@ $companystatic = new Societe($db); $companyparent = new Societe($db); $company_url_list = array(); - +$subtypearray = $object->getArrayOfInvoiceSubtypes(0); $title = $langs->trans('BillsCustomers').' '.($socid > 0 ? ' '.$soc->name : ''); +$help_url = 'EN:Customers_Invoices|FR:Factures_Clients|ES:Facturas_a_clientes'; $varpage = empty($contextpage) ? $_SERVER["PHP_SELF"] : $contextpage; $selectedfields = $form->multiSelectArrayWithCheckbox('selectedfields', $arrayfields, $varpage); // This also change content of $arrayfields +// Build and execute select +// -------------------------------------------------------------------- $sql = 'SELECT'; if ($sall || $search_user > 0) { $sql = 'SELECT DISTINCT'; } -$sql .= ' f.rowid as id, f.ref, f.ref_client, f.fk_soc, f.type, f.note_private, f.note_public, f.increment, f.fk_mode_reglement, f.fk_cond_reglement, f.total_ht, f.total_tva, f.total_ttc,'; +$sql .= ' f.rowid as id, f.ref, f.ref_client, f.fk_soc, f.type, f.subtype, f.note_private, f.note_public, f.increment, f.fk_mode_reglement, f.fk_cond_reglement, f.total_ht, f.total_tva, f.total_ttc,'; $sql .= ' f.localtax1 as total_localtax1, f.localtax2 as total_localtax2,'; $sql .= ' f.fk_user_author,'; $sql .= ' f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva as multicurrency_total_vat, f.multicurrency_total_ttc,'; @@ -643,7 +650,7 @@ $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."projet as p ON p.rowid = f.fk_projet"; $sql .= ' LEFT JOIN '.MAIN_DB_PREFIX.'user AS u ON f.fk_user_author = u.rowid'; // We'll need this table joined to the select in order to filter by sale -if ($search_sale > 0 || (empty($user->rights->societe->client->voir) && !$socid)) { +if ($search_sale > 0 || (!$user->hasRight('societe', 'client', 'voir') && !$socid)) { $sql .= ", ".MAIN_DB_PREFIX."societe_commerciaux as sc"; } if ($search_user > 0) { @@ -657,7 +664,7 @@ $sql .= ' WHERE f.fk_soc = s.rowid'; $sql .= ' AND f.entity IN ('.getEntity('invoice').')'; -if (empty($user->rights->societe->client->voir) && !$socid) { +if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= " AND s.rowid = sc.fk_soc AND sc.fk_user = ".((int) $user->id); } if ($socid > 0) { @@ -679,6 +686,9 @@ if ($search_type != '' && $search_type != '-1') { $sql .= " AND f.type IN (".$db->sanitize($db->escape($search_type)).")"; } +if ($search_subtype != '' && $search_subtype != '-1') { + $sql .= " AND f.subtype IN (".$db->sanitize($db->escape($search_subtype)).")"; +} if ($search_project_ref) { $sql .= natural_search('p.ref', $search_project_ref); } @@ -933,7 +943,7 @@ // Add HAVING from hooks $parameters = array(); -$reshook = $hookmanager->executeHooks('printFieldListHaving', $parameters, $object); // Note that $action and $object may have been modified by hook +$reshook = $hookmanager->executeHooks('printFieldListHaving', $parameters, $object, $action); // Note that $action and $object may have been modified by hook $sql .= empty($hookmanager->resPrint) ? "" : " HAVING 1=1 ".$hookmanager->resPrint; // Count total nb of records @@ -964,1699 +974,1806 @@ } $resql = $db->query($sql); +if (!$resql) { + dol_print_error($db); + exit; +} -if ($resql) { - $num = $db->num_rows($resql); - - $arrayofselected = is_array($toselect) ? $toselect : array(); +$num = $db->num_rows($resql); - if ($num == 1 && !empty($conf->global->MAIN_SEARCH_DIRECT_OPEN_IF_ONLY_ONE) && $sall) { - $obj = $db->fetch_object($resql); - $id = $obj->id; +$arrayofselected = is_array($toselect) ? $toselect : array(); - header("Location: ".DOL_URL_ROOT.'/compta/facture/card.php?facid='.$id); - exit; - } +if ($num == 1 && !empty($conf->global->MAIN_SEARCH_DIRECT_OPEN_IF_ONLY_ONE) && $sall) { + $obj = $db->fetch_object($resql); + $id = $obj->id; - // Output page - // -------------------------------------------------------------------- + header("Location: ".DOL_URL_ROOT.'/compta/facture/card.php?facid='.$id); + exit; +} - llxHeader('', $title, 'EN:Customers_Invoices|FR:Factures_Clients|ES:Facturas_a_clientes'); +// Output page +// -------------------------------------------------------------------- - if ($socid > 0) { - $soc = new Societe($db); - $soc->fetch($socid); - if (empty($search_company)) { - $search_company = $soc->name; - } - } +llxHeader('', $title, $help_url); - $param = '&socid='.urlencode($socid); - if (!empty($mode)) { - $param .= '&mode='.urlencode($mode); - } - if (!empty($contextpage) && $contextpage != $_SERVER["PHP_SELF"]) { - $param .= '&contextpage='.urlencode($contextpage); - } - if ($limit > 0 && $limit != $conf->liste_limit) { - $param .= '&limit='.((int) $limit); - } - if ($sall) { - $param .= '&sall='.urlencode($sall); - } - if ($search_date_startday) { - $param .= '&search_date_startday='.urlencode($search_date_startday); - } - if ($search_date_startmonth) { - $param .= '&search_date_startmonth='.urlencode($search_date_startmonth); - } - if ($search_date_startyear) { - $param .= '&search_date_startyear='.urlencode($search_date_startyear); - } - if ($search_date_endday) { - $param .= '&search_date_endday='.urlencode($search_date_endday); - } - if ($search_date_endmonth) { - $param .= '&search_date_endmonth='.urlencode($search_date_endmonth); - } - if ($search_date_endyear) { - $param .= '&search_date_endyear='.urlencode($search_date_endyear); - } - if ($search_date_valid_startday) { - $param .= '&search_date_valid_startday='.urlencode($search_date_valid_startday); - } - if ($search_date_valid_startmonth) { - $param .= '&search_date_valid_startmonth='.urlencode($search_date_valid_startmonth); - } - if ($search_date_valid_startyear) { - $param .= '&search_date_valid_startyear='.urlencode($search_date_valid_startyear); - } - if ($search_date_valid_endday) { - $param .= '&search_date_valid_endday='.urlencode($search_date_valid_endday); - } - if ($search_date_valid_endmonth) { - $param .= '&search_date_valid_endmonth='.urlencode($search_date_valid_endmonth); - } - if ($search_date_valid_endyear) { - $param .= '&search_date_valid_endyear='.urlencode($search_date_valid_endyear); - } - if ($search_datelimit_startday) { - $param .= '&search_datelimit_startday='.urlencode($search_datelimit_startday); - } - if ($search_datelimit_startmonth) { - $param .= '&search_datelimit_startmonth='.urlencode($search_datelimit_startmonth); - } - if ($search_datelimit_startyear) { - $param .= '&search_datelimit_startyear='.urlencode($search_datelimit_startyear); - } - if ($search_datelimit_endday) { - $param .= '&search_datelimit_endday='.urlencode($search_datelimit_endday); - } - if ($search_datelimit_endmonth) { - $param .= '&search_datelimit_endmonth='.urlencode($search_datelimit_endmonth); - } - if ($search_datelimit_endyear) { - $param .= '&search_datelimit_endyear='.urlencode($search_datelimit_endyear); - } - if ($search_ref) { - $param .= '&search_ref='.urlencode($search_ref); - } - if ($search_refcustomer) { - $param .= '&search_refcustomer='.urlencode($search_refcustomer); - } - if ($search_project_ref) { - $param .= '&search_project_ref='.urlencode($search_project_ref); - } - if ($search_project) { - $param .= '&search_project='.urlencode($search_project); - } - if ($search_type != '') { - $param .= '&search_type='.urlencode($search_type); - } - if ($search_company) { - $param .= '&search_company='.urlencode($search_company); - } - if ($search_company_alias) { - $param .= '&search_company_alias='.urlencode($search_company_alias); - } - if ($search_parent_name != '') { - $param .= '&search_parent_name='.urlencode($search_parent_name); - } - if ($search_town) { - $param .= '&search_town='.urlencode($search_town); - } - if ($search_zip) { - $param .= '&search_zip='.urlencode($search_zip); - } - if ($search_country) { - $param .= "&search_country=".urlencode($search_country); - } - if ($search_type_thirdparty != '') { - $param .= '&search_type_thirdparty='.urlencode($search_type_thirdparty); - } - if ($search_customer_code) { - $param .= '&search_customer_code='.urlencode($search_customer_code); - } - if ($search_sale > 0) { - $param .= '&search_sale='.urlencode($search_sale); - } - if ($search_user > 0) { - $param .= '&search_user='.urlencode($search_user); - } - if ($search_login) { - $param .= '&search_login='.urlencode($search_login); - } - if ($search_product_category > 0) { - $param .= '&search_product_category='.urlencode($search_product_category); - } - if ($search_montant_ht != '') { - $param .= '&search_montant_ht='.urlencode($search_montant_ht); - } - if ($search_montant_vat != '') { - $param .= '&search_montant_vat='.urlencode($search_montant_vat); - } - if ($search_montant_localtax1 != '') { - $param .= '&search_montant_localtax1='.urlencode($search_montant_localtax1); - } - if ($search_montant_localtax2 != '') { - $param .= '&search_montant_localtax2='.urlencode($search_montant_localtax2); - } - if ($search_montant_ttc != '') { - $param .= '&search_montant_ttc='.urlencode($search_montant_ttc); - } - if ($search_multicurrency_code != '') { - $param .= '&search_multicurrency_code='.urlencode($search_multicurrency_code); - } - if ($search_multicurrency_tx != '') { - $param .= '&search_multicurrency_tx='.urlencode($search_multicurrency_tx); - } - if ($search_multicurrency_montant_ht != '') { - $param .= '&search_multicurrency_montant_ht='.urlencode($search_multicurrency_montant_ht); - } - if ($search_multicurrency_montant_vat != '') { - $param .= '&search_multicurrency_montant_vat='.urlencode($search_multicurrency_montant_vat); - } - if ($search_multicurrency_montant_ttc != '') { - $param .= '&search_multicurrency_montant_ttc='.urlencode($search_multicurrency_montant_ttc); - } - if ($search_status != '') { - $param .= '&search_status='.urlencode($search_status); - } - if ($search_paymentmode > 0) { - $param .= '&search_paymentmode='.urlencode($search_paymentmode); - } - if ($search_paymentterms > 0) { - $param .= '&search_paymentterms='.urlencode($search_paymentterms); - } - if ($search_module_source) { - $param .= '&search_module_source='.urlencode($search_module_source); - } - if ($search_pos_source) { - $param .= '&search_pos_source='.urlencode($search_pos_source); - } - if ($show_files) { - $param .= '&show_files='.urlencode($show_files); - } - if ($search_late) { - $param .= "&search_late=".urlencode($search_late); - } - if ($optioncss != '') { - $param .= '&optioncss='.urlencode($optioncss); - } - if ($search_categ_cus > 0) { - $param .= '&search_categ_cus='.urlencode($search_categ_cus); - } - if (!empty($search_fac_rec_source_title)) { - $param .= '&search_fac_rec_source_title='.urlencode($search_fac_rec_source_title); +if ($socid > 0) { + $soc = new Societe($db); + $soc->fetch($socid); + if (empty($search_company)) { + $search_company = $soc->name; } +} - // Add $param from extra fields - include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_list_search_param.tpl.php'; - // Add $param from hooks - $parameters = array(); - $reshook = $hookmanager->executeHooks('printFieldListSearchParam', $parameters, $object, $action); // Note that $action and $object may have been modified by hook - $param .= $hookmanager->resPrint; - - $arrayofmassactions = array( - 'validate'=>img_picto('', 'check', 'class="pictofixedwidth"').$langs->trans("Validate"), - 'generate_doc'=>img_picto('', 'pdf', 'class="pictofixedwidth"').$langs->trans("ReGeneratePDF"), - 'builddoc'=>img_picto('', 'pdf', 'class="pictofixedwidth"').$langs->trans("PDFMerge"), - 'presend'=>img_picto('', 'email', 'class="pictofixedwidth"').$langs->trans("SendByMail"), - ); +$param = '&socid='.urlencode($socid); +if (!empty($mode)) { + $param .= '&mode='.urlencode($mode); +} +if (!empty($contextpage) && $contextpage != $_SERVER["PHP_SELF"]) { + $param .= '&contextpage='.urlencode($contextpage); +} +if ($limit > 0 && $limit != $conf->liste_limit) { + $param .= '&limit='.((int) $limit); +} +if ($sall) { + $param .= '&sall='.urlencode($sall); +} +if ($search_date_startday) { + $param .= '&search_date_startday='.urlencode($search_date_startday); +} +if ($search_date_startmonth) { + $param .= '&search_date_startmonth='.urlencode($search_date_startmonth); +} +if ($search_date_startyear) { + $param .= '&search_date_startyear='.urlencode($search_date_startyear); +} +if ($search_date_endday) { + $param .= '&search_date_endday='.urlencode($search_date_endday); +} +if ($search_date_endmonth) { + $param .= '&search_date_endmonth='.urlencode($search_date_endmonth); +} +if ($search_date_endyear) { + $param .= '&search_date_endyear='.urlencode($search_date_endyear); +} +if ($search_date_valid_startday) { + $param .= '&search_date_valid_startday='.urlencode($search_date_valid_startday); +} +if ($search_date_valid_startmonth) { + $param .= '&search_date_valid_startmonth='.urlencode($search_date_valid_startmonth); +} +if ($search_date_valid_startyear) { + $param .= '&search_date_valid_startyear='.urlencode($search_date_valid_startyear); +} +if ($search_date_valid_endday) { + $param .= '&search_date_valid_endday='.urlencode($search_date_valid_endday); +} +if ($search_date_valid_endmonth) { + $param .= '&search_date_valid_endmonth='.urlencode($search_date_valid_endmonth); +} +if ($search_date_valid_endyear) { + $param .= '&search_date_valid_endyear='.urlencode($search_date_valid_endyear); +} +if ($search_datelimit_startday) { + $param .= '&search_datelimit_startday='.urlencode($search_datelimit_startday); +} +if ($search_datelimit_startmonth) { + $param .= '&search_datelimit_startmonth='.urlencode($search_datelimit_startmonth); +} +if ($search_datelimit_startyear) { + $param .= '&search_datelimit_startyear='.urlencode($search_datelimit_startyear); +} +if ($search_datelimit_endday) { + $param .= '&search_datelimit_endday='.urlencode($search_datelimit_endday); +} +if ($search_datelimit_endmonth) { + $param .= '&search_datelimit_endmonth='.urlencode($search_datelimit_endmonth); +} +if ($search_datelimit_endyear) { + $param .= '&search_datelimit_endyear='.urlencode($search_datelimit_endyear); +} +if ($search_ref) { + $param .= '&search_ref='.urlencode($search_ref); +} +if ($search_refcustomer) { + $param .= '&search_refcustomer='.urlencode($search_refcustomer); +} +if ($search_project_ref) { + $param .= '&search_project_ref='.urlencode($search_project_ref); +} +if ($search_project) { + $param .= '&search_project='.urlencode($search_project); +} +if ($search_type != '') { + $param .= '&search_type='.urlencode($search_type); +} +if ($search_subtype != '') { + $param .= '&search_subtype='.urlencode($search_subtype); +} +if ($search_company) { + $param .= '&search_company='.urlencode($search_company); +} +if ($search_company_alias) { + $param .= '&search_company_alias='.urlencode($search_company_alias); +} +if ($search_parent_name != '') { + $param .= '&search_parent_name='.urlencode($search_parent_name); +} +if ($search_town) { + $param .= '&search_town='.urlencode($search_town); +} +if ($search_zip) { + $param .= '&search_zip='.urlencode($search_zip); +} +if ($search_country) { + $param .= "&search_country=".urlencode($search_country); +} +if ($search_type_thirdparty != '') { + $param .= '&search_type_thirdparty='.urlencode($search_type_thirdparty); +} +if ($search_customer_code) { + $param .= '&search_customer_code='.urlencode($search_customer_code); +} +if ($search_sale > 0) { + $param .= '&search_sale='.urlencode($search_sale); +} +if ($search_user > 0) { + $param .= '&search_user='.urlencode($search_user); +} +if ($search_login) { + $param .= '&search_login='.urlencode($search_login); +} +if ($search_product_category > 0) { + $param .= '&search_product_category='.urlencode($search_product_category); +} +if ($search_montant_ht != '') { + $param .= '&search_montant_ht='.urlencode($search_montant_ht); +} +if ($search_montant_vat != '') { + $param .= '&search_montant_vat='.urlencode($search_montant_vat); +} +if ($search_montant_localtax1 != '') { + $param .= '&search_montant_localtax1='.urlencode($search_montant_localtax1); +} +if ($search_montant_localtax2 != '') { + $param .= '&search_montant_localtax2='.urlencode($search_montant_localtax2); +} +if ($search_montant_ttc != '') { + $param .= '&search_montant_ttc='.urlencode($search_montant_ttc); +} +if ($search_multicurrency_code != '') { + $param .= '&search_multicurrency_code='.urlencode($search_multicurrency_code); +} +if ($search_multicurrency_tx != '') { + $param .= '&search_multicurrency_tx='.urlencode($search_multicurrency_tx); +} +if ($search_multicurrency_montant_ht != '') { + $param .= '&search_multicurrency_montant_ht='.urlencode($search_multicurrency_montant_ht); +} +if ($search_multicurrency_montant_vat != '') { + $param .= '&search_multicurrency_montant_vat='.urlencode($search_multicurrency_montant_vat); +} +if ($search_multicurrency_montant_ttc != '') { + $param .= '&search_multicurrency_montant_ttc='.urlencode($search_multicurrency_montant_ttc); +} +if ($search_status != '') { + $param .= '&search_status='.urlencode($search_status); +} +if ($search_paymentmode > 0) { + $param .= '&search_paymentmode='.urlencode($search_paymentmode); +} +if ($search_paymentterms > 0) { + $param .= '&search_paymentterms='.urlencode($search_paymentterms); +} +if ($search_module_source) { + $param .= '&search_module_source='.urlencode($search_module_source); +} +if ($search_pos_source) { + $param .= '&search_pos_source='.urlencode($search_pos_source); +} +if ($show_files) { + $param .= '&show_files='.urlencode($show_files); +} +if ($search_late) { + $param .= "&search_late=".urlencode($search_late); +} +if ($optioncss != '') { + $param .= '&optioncss='.urlencode($optioncss); +} +if ($search_categ_cus > 0) { + $param .= '&search_categ_cus='.urlencode($search_categ_cus); +} +if (!empty($search_fac_rec_source_title)) { + $param .= '&search_fac_rec_source_title='.urlencode($search_fac_rec_source_title); +} - if ($user->hasRight('facture', 'paiement')) { - $arrayofmassactions['makepayment'] = img_picto('', 'payment', 'class="pictofixedwidth"').$langs->trans("MakePaymentAndClassifyPayed"); - } - if (isModEnabled('prelevement') && !empty($user->rights->prelevement->bons->creer)) { - $langs->load("withdrawals"); - $arrayofmassactions['withdrawrequest'] = img_picto('', 'payment', 'class="pictofixedwidth"').$langs->trans("MakeWithdrawRequest"); - } - if (!empty($user->rights->facture->supprimer)) { - if (!empty($conf->global->INVOICE_CAN_REMOVE_DRAFT_ONLY)) { - $arrayofmassactions['predeletedraft'] = img_picto('', 'delete', 'class="pictofixedwidth"').$langs->trans("Deletedraft"); - } elseif (!empty($conf->global->INVOICE_CAN_ALWAYS_BE_REMOVED)) { // mass deletion never possible on invoices on such situation - $arrayofmassactions['predelete'] = img_picto('', 'delete', 'class="pictofixedwidth"').$langs->trans("Delete"); - } - } - if (in_array($massaction, array('presend', 'predelete', 'makepayment'))) { - $arrayofmassactions = array(); - } - $massactionbutton = $form->selectMassAction('', $arrayofmassactions); - - // Show the new button only when this page is not opend from the Extended POS - $newcardbutton = ''; - if ($contextpage != 'poslist') { - $url = DOL_URL_ROOT.'/compta/facture/card.php?action=create'; - if (!empty($socid)) { - $url .= '&socid='.$socid; - } - $newcardbutton = ''; - $newcardbutton .= dolGetButtonTitle($langs->trans('ViewList'), '', 'fa fa-bars imgforviewmode', $_SERVER["PHP_SELF"].'?mode=common'.preg_replace('/(&|\?)*mode=[^&]+/', '', $param), '', ((empty($mode) || $mode == 'common') ? 2 : 1), array('morecss'=>'reposition')); - $newcardbutton .= dolGetButtonTitle($langs->trans('ViewKanban'), '', 'fa fa-th-list imgforviewmode', $_SERVER["PHP_SELF"].'?mode=kanban'.preg_replace('/(&|\?)*mode=[^&]+/', '', $param), '', ($mode == 'kanban' ? 2 : 1), array('morecss'=>'reposition')); - $newcardbutton = dolGetButtonTitle($langs->trans('NewBill'), '', 'fa fa-plus-circle', $url, '', $user->hasRight("facture", "creer")); - } +// Add $param from extra fields +include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_list_search_param.tpl.php'; +// Add $param from hooks +$parameters = array(); +$reshook = $hookmanager->executeHooks('printFieldListSearchParam', $parameters, $object, $action); // Note that $action and $object may have been modified by hook +$param .= $hookmanager->resPrint; + +$arrayofmassactions = array( + 'validate'=>img_picto('', 'check', 'class="pictofixedwidth"').$langs->trans("Validate"), + 'generate_doc'=>img_picto('', 'pdf', 'class="pictofixedwidth"').$langs->trans("ReGeneratePDF"), + 'builddoc'=>img_picto('', 'pdf', 'class="pictofixedwidth"').$langs->trans("PDFMerge"), + 'presend'=>img_picto('', 'email', 'class="pictofixedwidth"').$langs->trans("SendByMail"), +); - $i = 0; - print '
'."\n"; - if ($optioncss != '') { - print ''; - } - print ''; - print ''; - if (!in_array($massaction, array('makepayment'))) { - print ''; - } - print ''; - print ''; - print ''; - print ''; - print ''; - print ''; - - print_barre_liste($title, $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, $massactionbutton, $num, $nbtotalofrecords, 'bill', 0, $newcardbutton, '', $limit, 0, 0, 1); - - $topicmail = "SendBillRef"; - $modelmail = "facture_send"; - $objecttmp = new Facture($db); - $trackid = 'inv'.$object->id; - include DOL_DOCUMENT_ROOT.'/core/tpl/massactions_pre.tpl.php'; - - if ($massaction == 'makepayment') { - $formconfirm = ''; - $formquestion = array( - // 'text' => $langs->trans("ConfirmClone"), - // array('type' => 'checkbox', 'name' => 'clone_content', 'label' => $langs->trans("CloneMainAttributes"), 'value' => 1), - // array('type' => 'checkbox', 'name' => 'update_prices', 'label' => $langs->trans("PuttingPricesUpToDate"), 'value' => 1), - array('type' => 'date', 'name' => 'datepaiment', 'label' => $langs->trans("Date"), 'datenow' => 1), - array('type' => 'other', 'name' => 'paiementid', 'label' => $langs->trans("PaymentMode"), 'value' => $form->select_types_paiements(GETPOST('search_paymentmode'), 'paiementid', '', 0, 0, 1, 0, 1, '', 1)), - array('type' => 'other', 'name' => 'bankid', 'label' => $langs->trans("BankAccount"), 'value'=>$form->select_comptes('', 'bankid', 0, '', 0, '', 0, '', 1)), - //array('type' => 'other', 'name' => 'invoicesid', 'label' => '', 'value'=>''), - ); - $formconfirm = $form->formconfirm($_SERVER["PHP_SELF"], $langs->trans('MakePaymentAndClassifyPayed'), $langs->trans('EnterPaymentReceivedFromCustomer'), 'makepayment_confirm', $formquestion, 1, 0, 200, 500, 1); - print $formconfirm; - } +if ($user->hasRight('facture', 'paiement')) { + $arrayofmassactions['makepayment'] = img_picto('', 'payment', 'class="pictofixedwidth"').$langs->trans("MakePaymentAndClassifyPayed"); +} +if (isModEnabled('prelevement') && $user->hasRight('prelevement', 'bons', 'creer')) { + $langs->load("withdrawals"); + $arrayofmassactions['withdrawrequest'] = img_picto('', 'payment', 'class="pictofixedwidth"').$langs->trans("MakeWithdrawRequest"); +} +if ($user->hasRight('facture', 'supprimer')) { + if (!empty($conf->global->INVOICE_CAN_REMOVE_DRAFT_ONLY)) { + $arrayofmassactions['predeletedraft'] = img_picto('', 'delete', 'class="pictofixedwidth"').$langs->trans("Deletedraft"); + } elseif (!empty($conf->global->INVOICE_CAN_ALWAYS_BE_REMOVED)) { // mass deletion never possible on invoices on such situation + $arrayofmassactions['predelete'] = img_picto('', 'delete', 'class="pictofixedwidth"').$langs->trans("Delete"); + } +} +if (in_array($massaction, array('presend', 'predelete', 'makepayment'))) { + $arrayofmassactions = array(); +} +$massactionbutton = $form->selectMassAction('', $arrayofmassactions); + +// Show the new button only when this page is not opend from the Extended POS +$newcardbutton = ''; +if ($contextpage != 'poslist') { + $url = DOL_URL_ROOT.'/compta/facture/card.php?action=create'; + if (!empty($socid)) { + $url .= '&socid='.$socid; + } + $newcardbutton = ''; + $newcardbutton .= dolGetButtonTitle($langs->trans('ViewList'), '', 'fa fa-bars imgforviewmode', $_SERVER["PHP_SELF"].'?mode=common'.preg_replace('/(&|\?)*mode=[^&]+/', '', $param), '', ((empty($mode) || $mode == 'common') ? 2 : 1), array('morecss'=>'reposition')); + $newcardbutton .= dolGetButtonTitle($langs->trans('ViewKanban'), '', 'fa fa-th-list imgforviewmode', $_SERVER["PHP_SELF"].'?mode=kanban'.preg_replace('/(&|\?)*mode=[^&]+/', '', $param), '', ($mode == 'kanban' ? 2 : 1), array('morecss'=>'reposition')); + $newcardbutton .= dolGetButtonTitleSeparator(); + $newcardbutton .= dolGetButtonTitle($langs->trans('NewBill'), '', 'fa fa-plus-circle', $url, '', $user->hasRight("facture", "creer")); +} + +$i = 0; +print ''."\n"; +if ($optioncss != '') { + print ''; +} +print ''; +print ''; +if (!in_array($massaction, array('makepayment'))) { + print ''; +} +print ''; +print ''; +print ''; +print ''; +print ''; +print ''; + +print_barre_liste($title, $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, $massactionbutton, $num, $nbtotalofrecords, 'bill', 0, $newcardbutton, '', $limit, 0, 0, 1); + +$topicmail = "SendBillRef"; +$modelmail = "facture_send"; +$objecttmp = new Facture($db); +$trackid = 'inv'.$object->id; +include DOL_DOCUMENT_ROOT.'/core/tpl/massactions_pre.tpl.php'; + +if ($massaction == 'makepayment') { + $formconfirm = ''; + $formquestion = array( + // 'text' => $langs->trans("ConfirmClone"), + // array('type' => 'checkbox', 'name' => 'clone_content', 'label' => $langs->trans("CloneMainAttributes"), 'value' => 1), + // array('type' => 'checkbox', 'name' => 'update_prices', 'label' => $langs->trans("PuttingPricesUpToDate"), 'value' => 1), + array('type' => 'date', 'name' => 'datepaiment', 'label' => $langs->trans("Date"), 'datenow' => 1), + array('type' => 'other', 'name' => 'paiementid', 'label' => $langs->trans("PaymentMode"), 'value' => $form->select_types_paiements(GETPOST('search_paymentmode'), 'paiementid', '', 0, 0, 1, 0, 1, '', 1)), + array('type' => 'other', 'name' => 'bankid', 'label' => $langs->trans("BankAccount"), 'value'=>$form->select_comptes('', 'bankid', 0, '', 0, '', 0, '', 1)), + //array('type' => 'other', 'name' => 'invoicesid', 'label' => '', 'value'=>''), + ); + $formconfirm = $form->formconfirm($_SERVER["PHP_SELF"], $langs->trans('MakePaymentAndClassifyPayed'), $langs->trans('EnterPaymentReceivedFromCustomer'), 'makepayment_confirm', $formquestion, 1, 0, 200, 500, 1); + print $formconfirm; +} - if ($sall) { - foreach ($fieldstosearchall as $key => $val) { - $fieldstosearchall[$key] = $langs->trans($val); - } - print '
'.$langs->trans("FilterOnInto", $sall).join(', ', $fieldstosearchall).'
'; +if ($sall) { + foreach ($fieldstosearchall as $key => $val) { + $fieldstosearchall[$key] = $langs->trans($val); } + print '
'.$langs->trans("FilterOnInto", $sall).join(', ', $fieldstosearchall).'
'; +} - // If the user can view prospects other than his' - $moreforfilter = ''; - if ($user->hasRight("user", "user", "lire")) { - $langs->load("commercial"); - $moreforfilter .= '
'; - $tmptitle = $langs->trans('ThirdPartiesOfSaleRepresentative'); - $moreforfilter .= img_picto($tmptitle, 'user', 'class="pictofixedwidth"').$formother->select_salesrepresentatives($search_sale, 'search_sale', $user, 0, $tmptitle, 'maxwidth250'); - $moreforfilter .= '
'; - } - // If the user can view prospects other than his' - if ($user->hasRight("user", "user", "lire")) { - $moreforfilter .= '
'; - $tmptitle = $langs->trans('LinkedToSpecificUsers'); - $moreforfilter .= img_picto($tmptitle, 'user', 'class="pictofixedwidth"').$form->select_dolusers($search_user, 'search_user', $tmptitle, '', 0, '', '', 0, 0, 0, '', 0, '', 'maxwidth250'); - $moreforfilter .= '
'; - } - // Filter on product tags - if (isModEnabled('categorie') && $user->hasRight("categorie", "lire") && ($user->hasRight("produit", "lire") || $user->hasRight("service", "lire"))) { - include_once DOL_DOCUMENT_ROOT.'/categories/class/categorie.class.php'; - $moreforfilter .= '
'; - $tmptitle = $langs->trans('IncludingProductWithTag'); - $cate_arbo = $form->select_all_categories(Categorie::TYPE_PRODUCT, null, 'parent', null, null, 1); - $moreforfilter .= img_picto($tmptitle, 'category', 'class="pictofixedwidth"').$form->selectarray('search_product_category', $cate_arbo, $search_product_category, $tmptitle, 0, 0, '', 0, 0, 0, 0, 'maxwidth250', 1); - $moreforfilter .= '
'; - } - if (isModEnabled('categorie') && $user->hasRight("categorie", "lire")) { - require_once DOL_DOCUMENT_ROOT.'/categories/class/categorie.class.php'; - $moreforfilter .= '
'; - $tmptitle = $langs->trans('CustomersProspectsCategoriesShort'); - $moreforfilter .= img_picto($tmptitle, 'category', 'class="pictofixedwidth"').$formother->select_categories('customer', $search_categ_cus, 'search_categ_cus', 1, $tmptitle); - $moreforfilter .= '
'; - } - // alert on due date +// If the user can view prospects other than his' +$moreforfilter = ''; +if ($user->hasRight("user", "user", "lire")) { + $langs->load("commercial"); + $moreforfilter .= '
'; + $tmptitle = $langs->trans('ThirdPartiesOfSaleRepresentative'); + $moreforfilter .= img_picto($tmptitle, 'user', 'class="pictofixedwidth"').$formother->select_salesrepresentatives($search_sale, 'search_sale', $user, 0, $tmptitle, 'maxwidth200'); + $moreforfilter .= '
'; +} +// If the user can view prospects other than his' +if ($user->hasRight("user", "user", "lire")) { + $moreforfilter .= '
'; + $tmptitle = $langs->trans('LinkedToSpecificUsers'); + $moreforfilter .= img_picto($tmptitle, 'user', 'class="pictofixedwidth"').$form->select_dolusers($search_user, 'search_user', $tmptitle, '', 0, '', '', 0, 0, 0, '', 0, '', 'maxwidth200'); + $moreforfilter .= '
'; +} +// Filter on product tags +if (isModEnabled('categorie') && $user->hasRight("categorie", "lire") && ($user->hasRight("produit", "lire") || $user->hasRight("service", "lire"))) { + include_once DOL_DOCUMENT_ROOT.'/categories/class/categorie.class.php'; + $moreforfilter .= '
'; + $tmptitle = $langs->trans('IncludingProductWithTag'); + $cate_arbo = $form->select_all_categories(Categorie::TYPE_PRODUCT, null, 'parent', null, null, 1); + $moreforfilter .= img_picto($tmptitle, 'category', 'class="pictofixedwidth"').$form->selectarray('search_product_category', $cate_arbo, $search_product_category, $tmptitle, 0, 0, '', 0, 0, 0, 0, 'maxwidth300 widthcentpercentminusx', 1); + $moreforfilter .= '
'; +} +if (isModEnabled('categorie') && $user->hasRight("categorie", "lire")) { + require_once DOL_DOCUMENT_ROOT.'/categories/class/categorie.class.php'; $moreforfilter .= '
'; - $moreforfilter .= $langs->trans('Alert').' '; + $tmptitle = $langs->trans('CustomersProspectsCategoriesShort'); + $moreforfilter .= img_picto($tmptitle, 'category', 'class="pictofixedwidth"').$formother->select_categories('customer', $search_categ_cus, 'search_categ_cus', 1, $tmptitle); $moreforfilter .= '
'; +} +// alert on due date +$moreforfilter .= '
'; +$moreforfilter .= $langs->trans('Alert').' '; +$moreforfilter .= '
'; - $parameters = array(); - $reshook = $hookmanager->executeHooks('printFieldPreListTitle', $parameters, $object, $action); // Note that $action and $object may have been modified by hook - if (empty($reshook)) { - $moreforfilter .= $hookmanager->resPrint; - } else { - $moreforfilter = $hookmanager->resPrint; - } +$parameters = array(); +$reshook = $hookmanager->executeHooks('printFieldPreListTitle', $parameters, $object, $action); // Note that $action and $object may have been modified by hook +if (empty($reshook)) { + $moreforfilter .= $hookmanager->resPrint; +} else { + $moreforfilter = $hookmanager->resPrint; +} - if ($moreforfilter) { - print '
'; - print $moreforfilter; - print '
'; - } +if (!empty($moreforfilter)) { + print '
'; + print $moreforfilter; + print '
'; +} - $varpage = empty($contextpage) ? $_SERVER["PHP_SELF"] : $contextpage; - $selectedfields = $form->multiSelectArrayWithCheckbox('selectedfields', $arrayfields, $varpage, getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN', '')); // This also change content of $arrayfields +$varpage = empty($contextpage) ? $_SERVER["PHP_SELF"] : $contextpage; +$selectedfields = $form->multiSelectArrayWithCheckbox('selectedfields', $arrayfields, $varpage, getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN', '')); // This also change content of $arrayfields + +// Show the massaction checkboxes only when this page is not opend from the Extended POS +if ($massactionbutton && $contextpage != 'poslist') { + $selectedfields .= $form->showCheckAddButtons('checkforselect', 1); +} + +print '
'; +print ''."\n"; + +// Fields title search +// -------------------------------------------------------------------- +print ''; + +// Action column +if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { + print ''; +} + +if (!empty($conf->global->MAIN_VIEW_LINE_NUMBER_IN_LIST)) { + print ''; +} +// Ref +if (!empty($arrayfields['f.ref']['checked'])) { + print ''; +} +// Ref customer +if (!empty($arrayfields['f.ref_client']['checked'])) { + print ''; +} +// Type +if (!empty($arrayfields['f.type']['checked'])) { + print ''; +} +// Invoice Subtype +if (!empty($arrayfields['f.subtype']['checked'])) { + print ''; +} +// Date invoice +if (!empty($arrayfields['f.datef']['checked'])) { + print ''; +} +// Date valid +if (!empty($arrayfields['f.date_valid']['checked'])) { + print ''; +} +// Date due +if (!empty($arrayfields['f.date_lim_reglement']['checked'])) { + print ''; +} +// Project ref +if (!empty($arrayfields['p.ref']['checked'])) { + print ''; +} +// Project label +if (!empty($arrayfields['p.title']['checked'])) { + print ''; +} +// Thirdparty +if (!empty($arrayfields['s.nom']['checked'])) { + print ''; +} +// Alias +if (!empty($arrayfields['s.name_alias']['checked'])) { + print ''; +} +// Parent company +if (!empty($arrayfields['s2.nom']['checked'])) { + print ''; +} +// Customer Code +if (!empty($arrayfields['s.code_client']['checked'])) { + print ''; +} +// Town +if (!empty($arrayfields['s.town']['checked'])) { + print ''; +} +// Zip +if (!empty($arrayfields['s.zip']['checked'])) { + print ''; +} +// State +if (!empty($arrayfields['state.nom']['checked'])) { + print ''; +} +// Country +if (!empty($arrayfields['country.code_iso']['checked'])) { + print ''; +} +// Company type +if (!empty($arrayfields['typent.code']['checked'])) { + print ''; +} +// Payment mode +if (!empty($arrayfields['f.fk_mode_reglement']['checked'])) { + print ''; +} +// Payment terms +if (!empty($arrayfields['f.fk_cond_reglement']['checked'])) { + print ''; +} +// Module source +if (!empty($arrayfields['f.module_source']['checked'])) { + print ''; +} +// POS Terminal +if (!empty($arrayfields['f.pos_source']['checked'])) { + print ''; +} +if (!empty($arrayfields['f.total_ht']['checked'])) { + // Amount without tax + print ''; +} +if (!empty($arrayfields['f.total_tva']['checked'])) { + // Amount vat + print ''; +} +if (!empty($arrayfields['f.total_localtax1']['checked'])) { + // Localtax1 + print ''; +} +if (!empty($arrayfields['f.total_localtax2']['checked'])) { + // Localtax2 + print ''; +} +if (!empty($arrayfields['f.total_ttc']['checked'])) { + // Amount inc tax + print ''; +} +if (!empty($arrayfields['u.login']['checked'])) { + // Author + print ''; +} +if (!empty($arrayfields['sale_representative']['checked'])) { + print ''; +} +if (!empty($arrayfields['f.retained_warranty']['checked'])) { + print ''; +} +if (!empty($arrayfields['dynamount_payed']['checked'])) { + print ''; +} +if (!empty($arrayfields['rtp']['checked'])) { + print ''; +} +if (!empty($arrayfields['f.multicurrency_code']['checked'])) { + // Currency + print ''; +} +if (!empty($arrayfields['f.multicurrency_tx']['checked'])) { + // Currency rate + print ''; +} +if (!empty($arrayfields['f.multicurrency_total_ht']['checked'])) { + // Amount + print ''; +} +if (!empty($arrayfields['f.multicurrency_total_vat']['checked'])) { + // Amount + print ''; +} +if (!empty($arrayfields['f.multicurrency_total_ttc']['checked'])) { + // Amount + print ''; +} +if (!empty($arrayfields['multicurrency_dynamount_payed']['checked'])) { + print ''; +} +if (!empty($arrayfields['multicurrency_rtp']['checked'])) { + print ''; +} +if (!empty($arrayfields['total_pa']['checked'])) { + print ''; +} +if (!empty($arrayfields['total_margin']['checked'])) { + print ''; +} +if (!empty($arrayfields['total_margin_rate']['checked'])) { + print ''; +} +if (!empty($arrayfields['total_mark_rate']['checked'])) { + print ''; +} - // Show the massaction checkboxes only when this page is not opend from the Extended POS - if ($massactionbutton && $contextpage != 'poslist') { - $selectedfields .= $form->showCheckAddButtons('checkforselect', 1); - } +// Extra fields +include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_list_search_input.tpl.php'; + +// Fields from hook +$parameters = array('arrayfields'=>$arrayfields); +$reshook = $hookmanager->executeHooks('printFieldListOption', $parameters, $object, $action); // Note that $action and $object may have been modified by hook +print $hookmanager->resPrint; +// Date creation +if (!empty($arrayfields['f.datec']['checked'])) { + print ''; +} +// Date modification +if (!empty($arrayfields['f.tms']['checked'])) { + print ''; +} +// Date closing +if (!empty($arrayfields['f.date_closing']['checked'])) { + print ''; +} +if (!empty($arrayfields['f.note_public']['checked'])) { + // Note public + print ''; +} +if (!empty($arrayfields['f.note_private']['checked'])) { + // Note private + print ''; +} +if (!empty($arrayfields['f.fk_fac_rec_source']['checked'])) { + // Template Invoice + print ''; +} +// Status +if (!empty($arrayfields['f.fk_statut']['checked'])) { + print ''; +} +// Action column +if (empty($conf->global->MAIN_CHECKBOX_LEFT_COLUMN)) { + print ''; +} +print "\n"; + +$totalarray = array(); +$totalarray['nbfield'] = 0; + +// Fields title label +// -------------------------------------------------------------------- +print ''; +if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { + print_liste_field_titre($selectedfields, $_SERVER["PHP_SELF"], "", '', '', 'align="center"', $sortfield, $sortorder, 'maxwidthsearch '); + $totalarray['nbfield']++; +} +if (!empty($conf->global->MAIN_VIEW_LINE_NUMBER_IN_LIST)) { + print_liste_field_titre('#', $_SERVER['PHP_SELF'], '', '', $param, '', $sortfield, $sortorder); + $totalarray['nbfield']++; +} +if (!empty($arrayfields['f.ref']['checked'])) { + print_liste_field_titre($arrayfields['f.ref']['label'], $_SERVER['PHP_SELF'], 'f.ref', '', $param, '', $sortfield, $sortorder); + $totalarray['nbfield']++; +} +if (!empty($arrayfields['f.ref_client']['checked'])) { + print_liste_field_titre($arrayfields['f.ref_client']['label'], $_SERVER["PHP_SELF"], 'f.ref_client', '', $param, '', $sortfield, $sortorder); + $totalarray['nbfield']++; +} +if (!empty($arrayfields['f.type']['checked'])) { + print_liste_field_titre($arrayfields['f.type']['label'], $_SERVER["PHP_SELF"], 'f.type', '', $param, '', $sortfield, $sortorder); + $totalarray['nbfield']++; +} +if (!empty($arrayfields['f.subtype']['checked'])) { + print_liste_field_titre($arrayfields['f.subtype']['label'], $_SERVER["PHP_SELF"], 'f.subtype', '', $param, '', $sortfield, $sortorder); +} +if (!empty($arrayfields['f.datef']['checked'])) { + print_liste_field_titre($arrayfields['f.datef']['label'], $_SERVER['PHP_SELF'], 'f.datef', '', $param, 'align="center"', $sortfield, $sortorder); + $totalarray['nbfield']++; +} +if (!empty($arrayfields['f.date_valid']['checked'])) { + print_liste_field_titre($arrayfields['f.date_valid']['label'], $_SERVER['PHP_SELF'], 'f.date_valid', '', $param, 'align="center"', $sortfield, $sortorder); + $totalarray['nbfield']++; +} +if (!empty($arrayfields['f.date_lim_reglement']['checked'])) { + print_liste_field_titre($arrayfields['f.date_lim_reglement']['label'], $_SERVER['PHP_SELF'], "f.date_lim_reglement", '', $param, 'align="center"', $sortfield, $sortorder); + $totalarray['nbfield']++; +} +if (!empty($arrayfields['p.ref']['checked'])) { + print_liste_field_titre($arrayfields['p.ref']['label'], $_SERVER['PHP_SELF'], "p.ref", '', $param, '', $sortfield, $sortorder); + $totalarray['nbfield']++; +} +if (!empty($arrayfields['p.title']['checked'])) { + print_liste_field_titre($arrayfields['p.title']['label'], $_SERVER['PHP_SELF'], "p.title", '', $param, '', $sortfield, $sortorder); + $totalarray['nbfield']++; +} +if (!empty($arrayfields['s.nom']['checked'])) { + print_liste_field_titre($arrayfields['s.nom']['label'], $_SERVER['PHP_SELF'], 's.nom', '', $param, '', $sortfield, $sortorder); + $totalarray['nbfield']++; +} +if (!empty($arrayfields['s.name_alias']['checked'])) { + print_liste_field_titre($arrayfields['s.name_alias']['label'], $_SERVER['PHP_SELF'], 's.name_alias', '', $param, '', $sortfield, $sortorder); + $totalarray['nbfield']++; +} +if (!empty($arrayfields['s2.nom']['checked'])) { + print_liste_field_titre($arrayfields['s2.nom']['label'], $_SERVER['PHP_SELF'], 's2.nom', '', $param, '', $sortfield, $sortorder); + $totalarray['nbfield']++; +} +if (!empty($arrayfields['s.code_client']['checked'])) { + print_liste_field_titre($arrayfields['s.code_client']['label'], $_SERVER['PHP_SELF'], 's.code_client', '', $param, '', $sortfield, $sortorder); + $totalarray['nbfield']++; +} +if (!empty($arrayfields['s.town']['checked'])) { + print_liste_field_titre($arrayfields['s.town']['label'], $_SERVER["PHP_SELF"], 's.town', '', $param, '', $sortfield, $sortorder); + $totalarray['nbfield']++; +} +if (!empty($arrayfields['s.zip']['checked'])) { + print_liste_field_titre($arrayfields['s.zip']['label'], $_SERVER["PHP_SELF"], 's.zip', '', $param, '', $sortfield, $sortorder); + $totalarray['nbfield']++; +} +if (!empty($arrayfields['state.nom']['checked'])) { + print_liste_field_titre($arrayfields['state.nom']['label'], $_SERVER["PHP_SELF"], "state.nom", "", $param, '', $sortfield, $sortorder); + $totalarray['nbfield']++; +} +if (!empty($arrayfields['country.code_iso']['checked'])) { + print_liste_field_titre($arrayfields['country.code_iso']['label'], $_SERVER["PHP_SELF"], "country.code_iso", "", $param, 'align="center"', $sortfield, $sortorder); + $totalarray['nbfield']++; +} +if (!empty($arrayfields['typent.code']['checked'])) { + print_liste_field_titre($arrayfields['typent.code']['label'], $_SERVER["PHP_SELF"], "typent.code", "", $param, 'align="center"', $sortfield, $sortorder); + $totalarray['nbfield']++; +} +if (!empty($arrayfields['f.fk_mode_reglement']['checked'])) { + print_liste_field_titre($arrayfields['f.fk_mode_reglement']['label'], $_SERVER["PHP_SELF"], "f.fk_mode_reglement", "", $param, "", $sortfield, $sortorder); + $totalarray['nbfield']++; +} +if (!empty($arrayfields['f.fk_cond_reglement']['checked'])) { + print_liste_field_titre($arrayfields['f.fk_cond_reglement']['label'], $_SERVER["PHP_SELF"], "f.fk_cond_reglement", "", $param, "", $sortfield, $sortorder); + $totalarray['nbfield']++; +} +if (!empty($arrayfields['f.module_source']['checked'])) { + print_liste_field_titre($arrayfields['f.module_source']['label'], $_SERVER["PHP_SELF"], "f.module_source", "", $param, "", $sortfield, $sortorder); + $totalarray['nbfield']++; +} +if (!empty($arrayfields['f.pos_source']['checked'])) { + print_liste_field_titre($arrayfields['f.pos_source']['label'], $_SERVER["PHP_SELF"], "f.pos_source", "", $param, "", $sortfield, $sortorder); + $totalarray['nbfield']++; +} +if (!empty($arrayfields['f.total_ht']['checked'])) { + print_liste_field_titre($arrayfields['f.total_ht']['label'], $_SERVER['PHP_SELF'], 'f.total_ht', '', $param, 'class="right"', $sortfield, $sortorder); + $totalarray['nbfield']++; +} +if (!empty($arrayfields['f.total_tva']['checked'])) { + print_liste_field_titre($arrayfields['f.total_tva']['label'], $_SERVER['PHP_SELF'], 'f.total_tva', '', $param, 'class="right"', $sortfield, $sortorder); + $totalarray['nbfield']++; +} +if (!empty($arrayfields['f.total_localtax1']['checked'])) { + print_liste_field_titre($arrayfields['f.total_localtax1']['label'], $_SERVER['PHP_SELF'], 'f.localtax1', '', $param, 'class="right"', $sortfield, $sortorder); + $totalarray['nbfield']++; +} +if (!empty($arrayfields['f.total_localtax2']['checked'])) { + print_liste_field_titre($arrayfields['f.total_localtax2']['label'], $_SERVER['PHP_SELF'], 'f.localtax2', '', $param, 'class="right"', $sortfield, $sortorder); + $totalarray['nbfield']++; +} +if (!empty($arrayfields['f.total_ttc']['checked'])) { + print_liste_field_titre($arrayfields['f.total_ttc']['label'], $_SERVER['PHP_SELF'], 'f.total_ttc', '', $param, 'class="right"', $sortfield, $sortorder); + $totalarray['nbfield']++; +} +if (!empty($arrayfields['u.login']['checked'])) { + print_liste_field_titre($arrayfields['u.login']['label'], $_SERVER["PHP_SELF"], 'u.login', '', $param, 'align="center"', $sortfield, $sortorder); + $totalarray['nbfield']++; +} +if (!empty($arrayfields['sale_representative']['checked'])) { + print_liste_field_titre($arrayfields['sale_representative']['label'], $_SERVER["PHP_SELF"], "", "", "$param", '', $sortfield, $sortorder); + $totalarray['nbfield']++; +} +if (!empty($arrayfields['f.retained_warranty']['checked'])) { + print_liste_field_titre($arrayfields['f.retained_warranty']['label'], $_SERVER['PHP_SELF'], '', '', $param, 'align="right"', $sortfield, $sortorder); + $totalarray['nbfield']++; +} +if (!empty($arrayfields['dynamount_payed']['checked'])) { + print_liste_field_titre($arrayfields['dynamount_payed']['label'], $_SERVER['PHP_SELF'], '', '', $param, 'class="right"', $sortfield, $sortorder); + $totalarray['nbfield']++; +} +if (!empty($arrayfields['rtp']['checked'])) { + print_liste_field_titre($arrayfields['rtp']['label'], $_SERVER['PHP_SELF'], '', '', $param, 'class="right"', $sortfield, $sortorder); + $totalarray['nbfield']++; +} +if (!empty($arrayfields['f.multicurrency_code']['checked'])) { + print_liste_field_titre($arrayfields['f.multicurrency_code']['label'], $_SERVER['PHP_SELF'], 'f.multicurrency_code', '', $param, '', $sortfield, $sortorder); + $totalarray['nbfield']++; +} +if (!empty($arrayfields['f.multicurrency_tx']['checked'])) { + print_liste_field_titre($arrayfields['f.multicurrency_tx']['label'], $_SERVER['PHP_SELF'], 'f.multicurrency_tx', '', $param, '', $sortfield, $sortorder); + $totalarray['nbfield']++; +} +if (!empty($arrayfields['f.multicurrency_total_ht']['checked'])) { + print_liste_field_titre($arrayfields['f.multicurrency_total_ht']['label'], $_SERVER['PHP_SELF'], 'f.multicurrency_total_ht', '', $param, 'class="right"', $sortfield, $sortorder); + $totalarray['nbfield']++; +} +if (!empty($arrayfields['f.multicurrency_total_vat']['checked'])) { + print_liste_field_titre($arrayfields['f.multicurrency_total_vat']['label'], $_SERVER['PHP_SELF'], 'f.multicurrency_total_tva', '', $param, 'class="right"', $sortfield, $sortorder); + $totalarray['nbfield']++; +} +if (!empty($arrayfields['f.multicurrency_total_ttc']['checked'])) { + print_liste_field_titre($arrayfields['f.multicurrency_total_ttc']['label'], $_SERVER['PHP_SELF'], 'f.multicurrency_total_ttc', '', $param, 'class="right"', $sortfield, $sortorder); + $totalarray['nbfield']++; +} +if (!empty($arrayfields['multicurrency_dynamount_payed']['checked'])) { + print_liste_field_titre($arrayfields['multicurrency_dynamount_payed']['label'], $_SERVER['PHP_SELF'], '', '', $param, 'class="right"', $sortfield, $sortorder); + $totalarray['nbfield']++; +} +if (!empty($arrayfields['multicurrency_rtp']['checked'])) { + print_liste_field_titre($arrayfields['multicurrency_rtp']['label'], $_SERVER['PHP_SELF'], '', '', $param, 'class="right"', $sortfield, $sortorder); + $totalarray['nbfield']++; +} +if (!empty($arrayfields['total_pa']['checked'])) { + print_liste_field_titre($arrayfields['total_pa']['label'], $_SERVER['PHP_SELF'], '', '', $param, 'class="right"', $sortfield, $sortorder); + $totalarray['nbfield']++; +} +if (!empty($arrayfields['total_margin']['checked'])) { + print_liste_field_titre($arrayfields['total_margin']['label'], $_SERVER['PHP_SELF'], '', '', $param, 'class="right"', $sortfield, $sortorder); + $totalarray['nbfield']++; +} +if (!empty($arrayfields['total_margin_rate']['checked'])) { + print_liste_field_titre($arrayfields['total_margin_rate']['label'], $_SERVER['PHP_SELF'], '', '', $param, 'class="right"', $sortfield, $sortorder); + $totalarray['nbfield']++; +} +if (!empty($arrayfields['total_mark_rate']['checked'])) { + print_liste_field_titre($arrayfields['total_mark_rate']['label'], $_SERVER['PHP_SELF'], '', '', $param, 'class="right"', $sortfield, $sortorder); + $totalarray['nbfield']++; +} +// Extra fields +include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_list_search_title.tpl.php'; +// Hook fields +$parameters = array('arrayfields'=>$arrayfields, 'param'=>$param, 'sortfield'=>$sortfield, 'sortorder'=>$sortorder, 'totalarray'=>$totalarray); +$reshook = $hookmanager->executeHooks('printFieldListTitle', $parameters, $object, $action); // Note that $action and $object may have been modified by hook +print $hookmanager->resPrint; +if (!empty($arrayfields['f.datec']['checked'])) { + print_liste_field_titre($arrayfields['f.datec']['label'], $_SERVER["PHP_SELF"], "f.datec", "", $param, 'class="nowrap center"', $sortfield, $sortorder); + $totalarray['nbfield']++; +} +if (!empty($arrayfields['f.tms']['checked'])) { + print_liste_field_titre($arrayfields['f.tms']['label'], $_SERVER["PHP_SELF"], "f.tms", "", $param, 'class="nowrap center"', $sortfield, $sortorder); + $totalarray['nbfield']++; +} +if (!empty($arrayfields['f.date_closing']['checked'])) { + print_liste_field_titre($arrayfields['f.date_closing']['label'], $_SERVER["PHP_SELF"], "f.date_closing", "", $param, 'align="center" class="nowrap"', $sortfield, $sortorder); + $totalarray['nbfield']++; +} +if (!empty($arrayfields['f.note_public']['checked'])) { + print_liste_field_titre($arrayfields['f.note_public']['label'], $_SERVER["PHP_SELF"], "f.note_public", "", $param, '', $sortfield, $sortorder, 'center nowrap '); + $totalarray['nbfield']++; +} +if (!empty($arrayfields['f.note_private']['checked'])) { + print_liste_field_titre($arrayfields['f.note_private']['label'], $_SERVER["PHP_SELF"], "f.note_private", "", $param, '', $sortfield, $sortorder, 'center nowrap '); + $totalarray['nbfield']++; +} +if (!empty($arrayfields['f.fk_fac_rec_source']['checked'])) { + print_liste_field_titre($arrayfields['f.fk_fac_rec_source']['label'], $_SERVER["PHP_SELF"], "facrec.titre", "", $param, '', $sortfield, $sortorder); + $totalarray['nbfield']++; +} +if (!empty($arrayfields['f.fk_statut']['checked'])) { + print_liste_field_titre($arrayfields['f.fk_statut']['label'], $_SERVER["PHP_SELF"], "f.fk_statut,f.paye,f.type", "", $param, 'class="right"', $sortfield, $sortorder); + $totalarray['nbfield']++; +} +if (!getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { + print_liste_field_titre($selectedfields, $_SERVER["PHP_SELF"], "", '', '', 'align="center"', $sortfield, $sortorder, 'maxwidthsearch '); + $totalarray['nbfield']++; +} - print '
'; - print '
'; + $searchpicto = $form->showFilterButtons('left'); + print $searchpicto; + print ''; + print ''; + print ''; + print ''; + print ''; + print ''; + $listtype = array( + Facture::TYPE_STANDARD=>$langs->trans("InvoiceStandard"), + Facture::TYPE_DEPOSIT=>$langs->trans("InvoiceDeposit"), + Facture::TYPE_CREDIT_NOTE=>$langs->trans("InvoiceAvoir"), + Facture::TYPE_REPLACEMENT=>$langs->trans("InvoiceReplacement"), + ); + if (!empty($conf->global->INVOICE_USE_SITUATION)) { + $listtype[Facture::TYPE_SITUATION] = $langs->trans("InvoiceSituation"); + } + //$listtype[Facture::TYPE_PROFORMA]=$langs->trans("InvoiceProForma"); // A proformat invoice is not an invoice but must be an order. + print $form->selectarray('search_type', $listtype, $search_type, 1, 0, 0, '', 0, 0, 0, '', 'maxwidth100'); + print ''; + print $form->selectarray('search_subtype', $subtypearray, $search_subtype, 1, 0, 0, '', 0, 0, 0, '', 'maxwidth100'); + print ''; + print '
'; + print $form->selectDate($search_date_start ? $search_date_start : -1, 'search_date_start', 0, 0, 1, '', 1, 0, 0, '', '', '', '', 1, '', $langs->trans('From')); + print '
'; + print '
'; + print $form->selectDate($search_date_end ? $search_date_end : -1, 'search_date_end', 0, 0, 1, '', 1, 0, 0, '', '', '', '', 1, '', $langs->trans('to')); + print '
'; + print '
'; + print '
'; + print $form->selectDate($search_date_valid_start ? $search_date_valid_start : -1, 'search_date_valid_start', 0, 0, 1, '', 1, 0, 0, '', '', '', '', 1, '', $langs->trans('From')); + print '
'; + print '
'; + print $form->selectDate($search_date_valid_end ? $search_date_valid_end : -1, 'search_date_valid_end', 0, 0, 1, '', 1, 0, 0, '', '', '', '', 1, '', $langs->trans('to')); + print '
'; + print '
'; + print '
'; + print $form->selectDate($search_datelimit_start ? $search_datelimit_start : -1, 'search_datelimit_start', 0, 0, 1, '', 1, 0, 0, '', '', '', '', 1, '', $langs->trans('From')); + print '
'; + print '
'; + print $form->selectDate($search_datelimit_end ? $search_datelimit_end : -1, 'search_datelimit_end', 0, 0, 1, '', 1, 0, 0, '', '', '', '', 1, '', $langs->trans('to')); + print '
'; + print '
0 ? " disabled" : "").'>'; + print ''; + print ''; + print ''; + print ''; + print $form->select_country($search_country, 'search_country', '', 0, 'minwidth150imp maxwidth150', 'code2', 1, 0, 1, null, 1); + print ''; + print $form->selectarray("search_type_thirdparty", $formcompany->typent_array(0), $search_type_thirdparty, 1, 0, 0, '', 0, 0, 0, (empty($conf->global->SOCIETE_SORT_ON_TYPEENT) ? 'ASC' : $conf->global->SOCIETE_SORT_ON_TYPEENT), 'maxwidth100', 1); + print ''; + print $form->select_types_paiements($search_paymentmode, 'search_paymentmode', '', 0, 1, 1, 0, 1, 'minwidth100 maxwidth100', 1); + print ''; + print $form->getSelectConditionsPaiements($search_paymentterms, 'search_paymentterms', -1, 1, 1, 'minwidth100 maxwidth100'); + print ''; + print ''; + print ''; + print ''; + print ''; + print ''; + print ''; + print ''; + print ''; + print ''; + print ''; + print ''; + print ''; + print ''; + print ''; + print ''; + print ''; + print ''; + print ''; + print ''; + print $form->selectMultiCurrency($search_multicurrency_code, 'search_multicurrency_code', 1); + print ''; + print ''; + print ''; + print ''; + print ''; + print ''; + print ''; + print ''; + print ''; + print ''; + print ''; + print ''; + print ''; + print ''; + print ''; + print ''; + print ''; + print ''; + print ''; + print ''; + print ''; + print ''; + $liststatus = array('0'=>$langs->trans("BillShortStatusDraft"), '0,1'=>$langs->trans("BillShortStatusDraft").'+'.$langs->trans("BillShortStatusNotPaid"), '1'=>$langs->trans("BillShortStatusNotPaid"), '1,2'=>$langs->trans("BillShortStatusNotPaid").'+'.$langs->trans("BillShortStatusPaid"), '2'=>$langs->trans("BillShortStatusPaid"), '3'=>$langs->trans("BillShortStatusCanceled")); + print $form->selectarray('search_status', $liststatus, $search_status, 1, 0, 0, '', 0, 0, 0, '', 'search_status width100 onrightofpage', 1); + print ''; + $searchpicto = $form->showFilterButtons(); + print $searchpicto; + print '
'."\n"; +print "\n"; - // Fields title search - // -------------------------------------------------------------------- - print ''; +$projectstatic = new Project($db); +$discount = new DiscountAbsolute($db); +$userstatic = new User($db); - // Action column - if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { - print ''; - } +// Loop on record +// -------------------------------------------------------------------- +if ($num > 0) { + $i = 0; + $savnbfield = $totalarray['nbfield']; + $totalarray = array(); + $totalarray['nbfield'] = 0; + $totalarray['val'] = array(); + $totalarray['val']['f.total_ht'] = 0; + $totalarray['val']['f.total_tva'] = 0; + $totalarray['val']['f.total_localtax1']=0; + $totalarray['val']['f.total_localtax1']=0; + $totalarray['val']['f.total_ttc'] = 0; + + $typenArray = $formcompany->typent_array(1); + + $with_margin_info = false; + if (isModEnabled('margin') && ( + !empty($arrayfields['total_pa']['checked']) + || !empty($arrayfields['total_margin']['checked']) + || !empty($arrayfields['total_margin_rate']['checked']) + || !empty($arrayfields['total_mark_rate']['checked']) + ) + ) { + $with_margin_info = true; + } + $total_ht = 0; + $total_margin = 0; + + $imaxinloop = ($limit ? min($num, $limit) : $num); + while ($i < $imaxinloop) { + $obj = $db->fetch_object($resql); - if (!empty($conf->global->MAIN_VIEW_LINE_NUMBER_IN_LIST)) { - print ''; - } - // Ref - if (!empty($arrayfields['f.ref']['checked'])) { - print ''; - } - // Ref customer - if (!empty($arrayfields['f.ref_client']['checked'])) { - print ''; - } - // Type - if (!empty($arrayfields['f.type']['checked'])) { - print ''; - } - // Date invoice - if (!empty($arrayfields['f.datef']['checked'])) { - print ''; - } - // Date valid - if (!empty($arrayfields['f.date_valid']['checked'])) { - print ''; - } - // Date due - if (!empty($arrayfields['f.date_lim_reglement']['checked'])) { - print ''; - } - // Project ref - if (!empty($arrayfields['p.ref']['checked'])) { - print ''; - } - // Project label - if (!empty($arrayfields['p.title']['checked'])) { - print ''; - } - // Thirdparty - if (!empty($arrayfields['s.nom']['checked'])) { - print ''; - } - // Alias - if (!empty($arrayfields['s.name_alias']['checked'])) { - print ''; - } - // Parent company - if (!empty($arrayfields['s2.nom']['checked'])) { - print ''; - } - // Customer Code - if (!empty($arrayfields['s.code_client']['checked'])) { - print ''; - } - // Town - if (!empty($arrayfields['s.town']['checked'])) { - print ''; - } - // Zip - if (!empty($arrayfields['s.zip']['checked'])) { - print ''; - } - // State - if (!empty($arrayfields['state.nom']['checked'])) { - print ''; - } - // Country - if (!empty($arrayfields['country.code_iso']['checked'])) { - print ''; - } - // Company type - if (!empty($arrayfields['typent.code']['checked'])) { - print ''; - } - // Payment mode - if (!empty($arrayfields['f.fk_mode_reglement']['checked'])) { - print ''; - } - // Payment terms - if (!empty($arrayfields['f.fk_cond_reglement']['checked'])) { - print ''; - } - // Module source - if (!empty($arrayfields['f.module_source']['checked'])) { - print ''; - } - // POS Terminal - if (!empty($arrayfields['f.pos_source']['checked'])) { - print ''; - } - if (!empty($arrayfields['f.total_ht']['checked'])) { - // Amount - print ''; - } - if (!empty($arrayfields['f.total_tva']['checked'])) { - // Amount - print ''; - } - if (!empty($arrayfields['f.total_localtax1']['checked'])) { - // Localtax1 - print ''; - } - if (!empty($arrayfields['f.total_localtax2']['checked'])) { - // Localtax2 - print ''; - } - if (!empty($arrayfields['f.total_ttc']['checked'])) { - // Amount - print ''; - } - if (!empty($arrayfields['u.login']['checked'])) { - // Author - print ''; - } - if (!empty($arrayfields['sale_representative']['checked'])) { - print ''; - } - if (!empty($arrayfields['f.retained_warranty']['checked'])) { - print ''; - } - if (!empty($arrayfields['dynamount_payed']['checked'])) { - print ''; - } - if (!empty($arrayfields['rtp']['checked'])) { - print ''; - } - if (!empty($arrayfields['f.multicurrency_code']['checked'])) { - // Currency - print ''; - } - if (!empty($arrayfields['f.multicurrency_tx']['checked'])) { - // Currency rate - print ''; - } - if (!empty($arrayfields['f.multicurrency_total_ht']['checked'])) { - // Amount - print ''; - } - if (!empty($arrayfields['f.multicurrency_total_vat']['checked'])) { - // Amount - print ''; - } - if (!empty($arrayfields['f.multicurrency_total_ttc']['checked'])) { - // Amount - print ''; - } - if (!empty($arrayfields['multicurrency_dynamount_payed']['checked'])) { - print ''; - } - if (!empty($arrayfields['multicurrency_rtp']['checked'])) { - print ''; - } - if (!empty($arrayfields['total_pa']['checked'])) { - print ''; - } - if (!empty($arrayfields['total_margin']['checked'])) { - print ''; - } - if (!empty($arrayfields['total_margin_rate']['checked'])) { - print ''; - } - if (!empty($arrayfields['total_mark_rate']['checked'])) { - print ''; - } - // Extra fields - include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_list_search_input.tpl.php'; - - // Fields from hook - $parameters = array('arrayfields'=>$arrayfields); - $reshook = $hookmanager->executeHooks('printFieldListOption', $parameters, $object, $action); // Note that $action and $object may have been modified by hook - print $hookmanager->resPrint; - // Date creation - if (!empty($arrayfields['f.datec']['checked'])) { - print ''; - } - // Date modification - if (!empty($arrayfields['f.tms']['checked'])) { - print ''; - } - // Date closing - if (!empty($arrayfields['f.date_closing']['checked'])) { - print ''; - } - if (!empty($arrayfields['f.note_public']['checked'])) { - // Note public - print ''; - } - if (!empty($arrayfields['f.note_private']['checked'])) { - // Note private - print ''; - } - if (!empty($arrayfields['f.fk_fac_rec_source']['checked'])) { - // Template Invoice - print ''; - } - // Status - if (!empty($arrayfields['f.fk_statut']['checked'])) { - print ''; - } - // Action column - if (empty($conf->global->MAIN_CHECKBOX_LEFT_COLUMN)) { - print ''; - } - print "\n"; + $companystatic->id = $obj->socid; + $companystatic->name = $obj->name; + $companystatic->name_alias = $obj->alias; + $companystatic->client = $obj->client; + $companystatic->fournisseur = $obj->fournisseur; + $companystatic->code_client = $obj->code_client; + $companystatic->code_compta_client = $obj->code_compta_client; + $companystatic->code_fournisseur = $obj->code_fournisseur; + $companystatic->code_compta_fournisseur = $obj->code_compta_fournisseur; + $companystatic->email = $obj->email; + $companystatic->phone = $obj->phone; + $companystatic->fax = $obj->fax; + $companystatic->address = $obj->address; + $companystatic->zip = $obj->zip; + $companystatic->town = $obj->town; + $companystatic->country_code = $obj->country_code; + + $projectstatic->id = $obj->project_id; + $projectstatic->ref = $obj->project_ref; + $projectstatic->title = $obj->project_label; + + $paiement = $facturestatic->getSommePaiement(); + $totalcreditnotes = $facturestatic->getSumCreditNotesUsed(); + $totaldeposits = $facturestatic->getSumDepositsUsed(); + $totalpay = $paiement + $totalcreditnotes + $totaldeposits; + $remaintopay = $obj->total_ttc - $totalpay; + + $multicurrency_paiement = $facturestatic->getSommePaiement(1); + $multicurrency_totalcreditnotes = $facturestatic->getSumCreditNotesUsed(1); + $multicurrency_totaldeposits = $facturestatic->getSumDepositsUsed(1); + + $totalpay = $paiement + $totalcreditnotes + $totaldeposits; + $remaintopay = price2num($facturestatic->total_ttc - $totalpay); + + $multicurrency_totalpay = $multicurrency_paiement + $multicurrency_totalcreditnotes + $multicurrency_totaldeposits; + $multicurrency_remaintopay = price2num($facturestatic->multicurrency_total_ttc - $multicurrency_totalpay); + + if ($facturestatic->status == Facture::STATUS_CLOSED && $facturestatic->close_code == 'discount_vat') { // If invoice closed with discount for anticipated payment + $remaintopay = 0; + $multicurrency_remaintopay = 0; + } + if ($facturestatic->type == Facture::TYPE_CREDIT_NOTE && $obj->paye == 1) { // If credit note closed, we take into account the amount not yet consumed + $remaincreditnote = $discount->getAvailableDiscounts($companystatic, '', 'rc.fk_facture_source='.$facturestatic->id); + $remaintopay = -$remaincreditnote; + $totalpay = price2num($facturestatic->total_ttc - $remaintopay); + $multicurrency_remaincreditnote = $discount->getAvailableDiscounts($companystatic, '', 'rc.fk_facture_source='.$facturestatic->id, 0, 0, 1); + $multicurrency_remaintopay = -$multicurrency_remaincreditnote; + $multicurrency_totalpay = price2num($facturestatic->multicurrency_total_ttc - $multicurrency_remaintopay); + } - print ''; + $facturestatic->alreadypaid = $paiement; - if (!empty($conf->global->MAIN_CHECKBOX_LEFT_COLUMN)) { - print_liste_field_titre($selectedfields, $_SERVER["PHP_SELF"], "", '', '', 'align="center"', $sortfield, $sortorder, 'maxwidthsearch '); - } + $marginInfo = array(); + if ($with_margin_info === true) { + $facturestatic->fetch_lines(); + $marginInfo = $formmargin->getMarginInfosArray($facturestatic); + $total_ht += $obj->total_ht; + $total_margin += $marginInfo['total_margin']; + } - if (!empty($conf->global->MAIN_VIEW_LINE_NUMBER_IN_LIST)) { - print_liste_field_titre('#', $_SERVER['PHP_SELF'], '', '', $param, '', $sortfield, $sortorder); - } - if (!empty($arrayfields['f.ref']['checked'])) { - print_liste_field_titre($arrayfields['f.ref']['label'], $_SERVER['PHP_SELF'], 'f.ref', '', $param, '', $sortfield, $sortorder); - } - if (!empty($arrayfields['f.ref_client']['checked'])) { - print_liste_field_titre($arrayfields['f.ref_client']['label'], $_SERVER["PHP_SELF"], 'f.ref_client', '', $param, '', $sortfield, $sortorder); - } - if (!empty($arrayfields['f.type']['checked'])) { - print_liste_field_titre($arrayfields['f.type']['label'], $_SERVER["PHP_SELF"], 'f.type', '', $param, '', $sortfield, $sortorder); - } - if (!empty($arrayfields['f.datef']['checked'])) { - print_liste_field_titre($arrayfields['f.datef']['label'], $_SERVER['PHP_SELF'], 'f.datef', '', $param, 'align="center"', $sortfield, $sortorder); - } - if (!empty($arrayfields['f.date_valid']['checked'])) { - print_liste_field_titre($arrayfields['f.date_valid']['label'], $_SERVER['PHP_SELF'], 'f.date_valid', '', $param, 'align="center"', $sortfield, $sortorder); - } - if (!empty($arrayfields['f.date_lim_reglement']['checked'])) { - print_liste_field_titre($arrayfields['f.date_lim_reglement']['label'], $_SERVER['PHP_SELF'], "f.date_lim_reglement", '', $param, 'align="center"', $sortfield, $sortorder); - } - if (!empty($arrayfields['p.ref']['checked'])) { - print_liste_field_titre($arrayfields['p.ref']['label'], $_SERVER['PHP_SELF'], "p.ref", '', $param, '', $sortfield, $sortorder); - } - if (!empty($arrayfields['p.title']['checked'])) { - print_liste_field_titre($arrayfields['p.title']['label'], $_SERVER['PHP_SELF'], "p.title", '', $param, '', $sortfield, $sortorder); - } - if (!empty($arrayfields['s.nom']['checked'])) { - print_liste_field_titre($arrayfields['s.nom']['label'], $_SERVER['PHP_SELF'], 's.nom', '', $param, '', $sortfield, $sortorder); - } - if (!empty($arrayfields['s.name_alias']['checked'])) { - print_liste_field_titre($arrayfields['s.name_alias']['label'], $_SERVER['PHP_SELF'], 's.name_alias', '', $param, '', $sortfield, $sortorder); - } - if (!empty($arrayfields['s2.nom']['checked'])) { - print_liste_field_titre($arrayfields['s2.nom']['label'], $_SERVER['PHP_SELF'], 's2.nom', '', $param, '', $sortfield, $sortorder); - } - if (!empty($arrayfields['s.code_client']['checked'])) { - print_liste_field_titre($arrayfields['s.code_client']['label'], $_SERVER['PHP_SELF'], 's.code_client', '', $param, '', $sortfield, $sortorder); - } - if (!empty($arrayfields['s.town']['checked'])) { - print_liste_field_titre($arrayfields['s.town']['label'], $_SERVER["PHP_SELF"], 's.town', '', $param, '', $sortfield, $sortorder); - } - if (!empty($arrayfields['s.zip']['checked'])) { - print_liste_field_titre($arrayfields['s.zip']['label'], $_SERVER["PHP_SELF"], 's.zip', '', $param, '', $sortfield, $sortorder); - } - if (!empty($arrayfields['state.nom']['checked'])) { - print_liste_field_titre($arrayfields['state.nom']['label'], $_SERVER["PHP_SELF"], "state.nom", "", $param, '', $sortfield, $sortorder); - } - if (!empty($arrayfields['country.code_iso']['checked'])) { - print_liste_field_titre($arrayfields['country.code_iso']['label'], $_SERVER["PHP_SELF"], "country.code_iso", "", $param, 'align="center"', $sortfield, $sortorder); - } - if (!empty($arrayfields['typent.code']['checked'])) { - print_liste_field_titre($arrayfields['typent.code']['label'], $_SERVER["PHP_SELF"], "typent.code", "", $param, 'align="center"', $sortfield, $sortorder); - } - if (!empty($arrayfields['f.fk_mode_reglement']['checked'])) { - print_liste_field_titre($arrayfields['f.fk_mode_reglement']['label'], $_SERVER["PHP_SELF"], "f.fk_mode_reglement", "", $param, "", $sortfield, $sortorder); - } - if (!empty($arrayfields['f.fk_cond_reglement']['checked'])) { - print_liste_field_titre($arrayfields['f.fk_cond_reglement']['label'], $_SERVER["PHP_SELF"], "f.fk_cond_reglement", "", $param, "", $sortfield, $sortorder); - } - if (!empty($arrayfields['f.module_source']['checked'])) { - print_liste_field_titre($arrayfields['f.module_source']['label'], $_SERVER["PHP_SELF"], "f.module_source", "", $param, "", $sortfield, $sortorder); - } - if (!empty($arrayfields['f.pos_source']['checked'])) { - print_liste_field_titre($arrayfields['f.pos_source']['label'], $_SERVER["PHP_SELF"], "f.pos_source", "", $param, "", $sortfield, $sortorder); - } - if (!empty($arrayfields['f.total_ht']['checked'])) { - print_liste_field_titre($arrayfields['f.total_ht']['label'], $_SERVER['PHP_SELF'], 'f.total_ht', '', $param, 'class="right"', $sortfield, $sortorder); - } - if (!empty($arrayfields['f.total_tva']['checked'])) { - print_liste_field_titre($arrayfields['f.total_tva']['label'], $_SERVER['PHP_SELF'], 'f.total_tva', '', $param, 'class="right"', $sortfield, $sortorder); - } - if (!empty($arrayfields['f.total_localtax1']['checked'])) { - print_liste_field_titre($arrayfields['f.total_localtax1']['label'], $_SERVER['PHP_SELF'], 'f.localtax1', '', $param, 'class="right"', $sortfield, $sortorder); - } - if (!empty($arrayfields['f.total_localtax2']['checked'])) { - print_liste_field_titre($arrayfields['f.total_localtax2']['label'], $_SERVER['PHP_SELF'], 'f.localtax2', '', $param, 'class="right"', $sortfield, $sortorder); - } - if (!empty($arrayfields['f.total_ttc']['checked'])) { - print_liste_field_titre($arrayfields['f.total_ttc']['label'], $_SERVER['PHP_SELF'], 'f.total_ttc', '', $param, 'class="right"', $sortfield, $sortorder); - } - if (!empty($arrayfields['u.login']['checked'])) { - print_liste_field_titre($arrayfields['u.login']['label'], $_SERVER["PHP_SELF"], 'u.login', '', $param, 'align="center"', $sortfield, $sortorder); - } - if (!empty($arrayfields['sale_representative']['checked'])) { - print_liste_field_titre($arrayfields['sale_representative']['label'], $_SERVER["PHP_SELF"], "", "", "$param", '', $sortfield, $sortorder); - } - if (!empty($arrayfields['f.retained_warranty']['checked'])) { - print_liste_field_titre($arrayfields['f.retained_warranty']['label'], $_SERVER['PHP_SELF'], '', '', $param, 'align="right"', $sortfield, $sortorder); - } - if (!empty($arrayfields['dynamount_payed']['checked'])) { - print_liste_field_titre($arrayfields['dynamount_payed']['label'], $_SERVER['PHP_SELF'], '', '', $param, 'class="right"', $sortfield, $sortorder); - } - if (!empty($arrayfields['rtp']['checked'])) { - print_liste_field_titre($arrayfields['rtp']['label'], $_SERVER['PHP_SELF'], '', '', $param, 'class="right"', $sortfield, $sortorder); - } - if (!empty($arrayfields['f.multicurrency_code']['checked'])) { - print_liste_field_titre($arrayfields['f.multicurrency_code']['label'], $_SERVER['PHP_SELF'], 'f.multicurrency_code', '', $param, '', $sortfield, $sortorder); - } - if (!empty($arrayfields['f.multicurrency_tx']['checked'])) { - print_liste_field_titre($arrayfields['f.multicurrency_tx']['label'], $_SERVER['PHP_SELF'], 'f.multicurrency_tx', '', $param, '', $sortfield, $sortorder); - } - if (!empty($arrayfields['f.multicurrency_total_ht']['checked'])) { - print_liste_field_titre($arrayfields['f.multicurrency_total_ht']['label'], $_SERVER['PHP_SELF'], 'f.multicurrency_total_ht', '', $param, 'class="right"', $sortfield, $sortorder); - } - if (!empty($arrayfields['f.multicurrency_total_vat']['checked'])) { - print_liste_field_titre($arrayfields['f.multicurrency_total_vat']['label'], $_SERVER['PHP_SELF'], 'f.multicurrency_total_tva', '', $param, 'class="right"', $sortfield, $sortorder); - } - if (!empty($arrayfields['f.multicurrency_total_ttc']['checked'])) { - print_liste_field_titre($arrayfields['f.multicurrency_total_ttc']['label'], $_SERVER['PHP_SELF'], 'f.multicurrency_total_ttc', '', $param, 'class="right"', $sortfield, $sortorder); - } - if (!empty($arrayfields['multicurrency_dynamount_payed']['checked'])) { - print_liste_field_titre($arrayfields['multicurrency_dynamount_payed']['label'], $_SERVER['PHP_SELF'], '', '', $param, 'class="right"', $sortfield, $sortorder); - } - if (!empty($arrayfields['multicurrency_rtp']['checked'])) { - print_liste_field_titre($arrayfields['multicurrency_rtp']['label'], $_SERVER['PHP_SELF'], '', '', $param, 'class="right"', $sortfield, $sortorder); - } - if (!empty($arrayfields['total_pa']['checked'])) { - print_liste_field_titre($arrayfields['total_pa']['label'], $_SERVER['PHP_SELF'], '', '', $param, 'class="right"', $sortfield, $sortorder); - } - if (!empty($arrayfields['total_margin']['checked'])) { - print_liste_field_titre($arrayfields['total_margin']['label'], $_SERVER['PHP_SELF'], '', '', $param, 'class="right"', $sortfield, $sortorder); - } - if (!empty($arrayfields['total_margin_rate']['checked'])) { - print_liste_field_titre($arrayfields['total_margin_rate']['label'], $_SERVER['PHP_SELF'], '', '', $param, 'class="right"', $sortfield, $sortorder); - } - if (!empty($arrayfields['total_mark_rate']['checked'])) { - print_liste_field_titre($arrayfields['total_mark_rate']['label'], $_SERVER['PHP_SELF'], '', '', $param, 'class="right"', $sortfield, $sortorder); - } - // Extra fields - include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_list_search_title.tpl.php'; - // Hook fields - $parameters = array('arrayfields'=>$arrayfields, 'param'=>$param, 'sortfield'=>$sortfield, 'sortorder'=>$sortorder); - $reshook = $hookmanager->executeHooks('printFieldListTitle', $parameters, $object, $action); // Note that $action and $object may have been modified by hook - print $hookmanager->resPrint; - if (!empty($arrayfields['f.datec']['checked'])) { - print_liste_field_titre($arrayfields['f.datec']['label'], $_SERVER["PHP_SELF"], "f.datec", "", $param, 'align="center" class="nowrap"', $sortfield, $sortorder); - } - if (!empty($arrayfields['f.tms']['checked'])) { - print_liste_field_titre($arrayfields['f.tms']['label'], $_SERVER["PHP_SELF"], "f.tms", "", $param, 'align="center" class="nowrap"', $sortfield, $sortorder); - } - if (!empty($arrayfields['f.date_closing']['checked'])) { - print_liste_field_titre($arrayfields['f.date_closing']['label'], $_SERVER["PHP_SELF"], "f.date_closing", "", $param, 'align="center" class="nowrap"', $sortfield, $sortorder); - } - if (!empty($arrayfields['f.note_public']['checked'])) { - print_liste_field_titre($arrayfields['f.note_public']['label'], $_SERVER["PHP_SELF"], "f.note_public", "", $param, '', $sortfield, $sortorder, 'center nowrap '); - } - if (!empty($arrayfields['f.note_private']['checked'])) { - print_liste_field_titre($arrayfields['f.note_private']['label'], $_SERVER["PHP_SELF"], "f.note_private", "", $param, '', $sortfield, $sortorder, 'center nowrap '); - } - if (!empty($arrayfields['f.fk_fac_rec_source']['checked'])) { - print_liste_field_titre($arrayfields['f.fk_fac_rec_source']['label'], $_SERVER["PHP_SELF"], "facrec.titre", "", $param, '', $sortfield, $sortorder); - } - if (!empty($arrayfields['f.fk_statut']['checked'])) { - print_liste_field_titre($arrayfields['f.fk_statut']['label'], $_SERVER["PHP_SELF"], "f.fk_statut,f.paye,f.type", "", $param, 'class="right"', $sortfield, $sortorder); - } - if (empty($conf->global->MAIN_CHECKBOX_LEFT_COLUMN)) { - print_liste_field_titre($selectedfields, $_SERVER["PHP_SELF"], "", '', '', 'align="center"', $sortfield, $sortorder, 'maxwidthsearch '); - } + $object = $facturestatic; - print "\n"; - - $projectstatic = new Project($db); - $discount = new DiscountAbsolute($db); - $userstatic = new User($db); - - if ($num > 0) { - $i = 0; - $typenArray = $formcompany->typent_array(1); - $totalarray = array(); - $totalarray['nbfield'] = 0; - $totalarray['val'] = array(); - $totalarray['val']['f.total_tva'] = 0; - $totalarray['val']['f.total_ht'] = 0; - $totalarray['val']['f.total_ttc'] = 0; - - $with_margin_info = false; - if (isModEnabled('margin') && ( - !empty($arrayfields['total_pa']['checked']) - || !empty($arrayfields['total_margin']['checked']) - || !empty($arrayfields['total_margin_rate']['checked']) - || !empty($arrayfields['total_mark_rate']['checked']) - ) - ) { - $with_margin_info = true; - } - $total_ht = 0; - $total_margin = 0; - - $savnbfield = $totalarray['nbfield']; - $totalarray['nbfield'] = 0; - $imaxinloop = ($limit ? min($num, $limit) : $num); - while ($i < $imaxinloop) { - $obj = $db->fetch_object($resql); - - $datelimit = $db->jdate($obj->datelimite); - - $facturestatic->id = $obj->id; - $facturestatic->ref = $obj->ref; - $facturestatic->ref_client = $obj->ref_client; - $facturestatic->type = $obj->type; - $facturestatic->total_ht = $obj->total_ht; - $facturestatic->total_tva = $obj->total_tva; - $facturestatic->total_ttc = $obj->total_ttc; - $facturestatic->multicurrency_code = $obj->multicurrency_code; - $facturestatic->multicurrency_tx = $obj->multicurrency_tx; - $facturestatic->multicurrency_total_ht = $obj->multicurrency_total_ht; - $facturestatic->multicurrency_total_tva = $obj->multicurrency_total_vat; - $facturestatic->multicurrency_total_ttc = $obj->multicurrency_total_ttc; - $facturestatic->statut = $obj->fk_statut; // deprecated - $facturestatic->status = $obj->fk_statut; - $facturestatic->close_code = $obj->close_code; - $facturestatic->total_ttc = $obj->total_ttc; - $facturestatic->paye = $obj->paye; - $facturestatic->socid = $obj->fk_soc; - - $facturestatic->date = $db->jdate($obj->datef); - $facturestatic->date_validation = $db->jdate($obj->date_valid); - $facturestatic->date_lim_reglement = $db->jdate($obj->datelimite); - - $facturestatic->note_public = $obj->note_public; - $facturestatic->note_private = $obj->note_private; - - if (!empty($conf->global->INVOICE_USE_SITUATION) && !empty($conf->global->INVOICE_USE_RETAINED_WARRANTY)) { - $facturestatic->retained_warranty = $obj->retained_warranty; - $facturestatic->retained_warranty_date_limit = $obj->retained_warranty_date_limit; - $facturestatic->situation_final = $obj->retained_warranty_date_limit; - $facturestatic->situation_final = $obj->retained_warranty_date_limit; - $facturestatic->situation_cycle_ref = $obj->situation_cycle_ref; - $facturestatic->situation_counter = $obj->situation_counter; - } - - $companystatic->id = $obj->socid; - $companystatic->name = $obj->name; - $companystatic->name_alias = $obj->alias; - $companystatic->client = $obj->client; - $companystatic->fournisseur = $obj->fournisseur; - $companystatic->code_client = $obj->code_client; - $companystatic->code_compta_client = $obj->code_compta_client; - $companystatic->code_fournisseur = $obj->code_fournisseur; - $companystatic->code_compta_fournisseur = $obj->code_compta_fournisseur; - $companystatic->email = $obj->email; - $companystatic->phone = $obj->phone; - $companystatic->fax = $obj->fax; - $companystatic->address = $obj->address; - $companystatic->zip = $obj->zip; - $companystatic->town = $obj->town; - $companystatic->country_code = $obj->country_code; - - $projectstatic->id = $obj->project_id; - $projectstatic->ref = $obj->project_ref; - $projectstatic->title = $obj->project_label; - - $paiement = $facturestatic->getSommePaiement(); - $totalcreditnotes = $facturestatic->getSumCreditNotesUsed(); - $totaldeposits = $facturestatic->getSumDepositsUsed(); - - $multicurrency_paiement = $facturestatic->getSommePaiement(1); - $multicurrency_totalcreditnotes = $facturestatic->getSumCreditNotesUsed(1); - $multicurrency_totaldeposits = $facturestatic->getSumDepositsUsed(1); - - $totalpay = $paiement + $totalcreditnotes + $totaldeposits; - $remaintopay = price2num($facturestatic->total_ttc - $totalpay); - - $multicurrency_totalpay = $multicurrency_paiement + $multicurrency_totalcreditnotes + $multicurrency_totaldeposits; - $multicurrency_remaintopay = price2num($facturestatic->multicurrency_total_ttc - $multicurrency_totalpay); - - if ($facturestatic->status == Facture::STATUS_CLOSED && $facturestatic->close_code == 'discount_vat') { // If invoice closed with discount for anticipated payment - $remaintopay = 0; - $multicurrency_remaintopay = 0; - } - if ($facturestatic->type == Facture::TYPE_CREDIT_NOTE && $obj->paye == 1) { // If credit note closed, we take into account the amount not yet consumed - $remaincreditnote = $discount->getAvailableDiscounts($companystatic, '', 'rc.fk_facture_source='.$facturestatic->id); - $remaintopay = -$remaincreditnote; - $totalpay = price2num($facturestatic->total_ttc - $remaintopay); - $multicurrency_remaincreditnote = $discount->getAvailableDiscounts($companystatic, '', 'rc.fk_facture_source='.$facturestatic->id, 0, 0, 1); - $multicurrency_remaintopay = -$multicurrency_remaincreditnote; - $multicurrency_totalpay = price2num($facturestatic->multicurrency_total_ttc - $multicurrency_remaintopay); - } - - $facturestatic->alreadypaid = $paiement; - - $marginInfo = array(); - if ($with_margin_info === true) { - $facturestatic->fetch_lines(); - $marginInfo = $formmargin->getMarginInfosArray($facturestatic); - $total_ht += $obj->total_ht; - $total_margin += $marginInfo['total_margin']; - } - - if ($mode == 'kanban') { - if ($i == 0) { - print ''; + if ($mode == 'kanban') { + if ($i == 0) { + print 'ref)); - print 'parent.place=\''.$place.'\''; - } - print '});"'; + } + + $arraydata = array('alreadypaid' => $paiement, 'thirdparty' => $companystatic->getNomUrl(1, '', 12), 'userauthor'=>$userstatic->getNomUrl(1), 'selected' => in_array($object->id, $arrayofselected)); + print $facturestatic->getKanbanView('', $arraydata); + if ($i == ($imaxinloop - 1)) { + print ''; + print ''; + } + } else { + // Show line of result + $j = 0; + print 'ref)); + print 'parent.place=\''.$place.'\''; } - print '>'; + print '});"'; + } + print '>'; - // Action column - if (!empty($conf->global->MAIN_CHECKBOX_LEFT_COLUMN)) { - print ''; - if (!$i) { - $totalarray['nbfield']++; + // Action column + if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { + print ''; + if (!$i) { + $totalarray['nbfield']++; } + } - // No - if (!empty($conf->global->MAIN_VIEW_LINE_NUMBER_IN_LIST)) { - print ''; - if (!$i) { - $totalarray['nbfield']++; - } + // No + if (!empty($conf->global->MAIN_VIEW_LINE_NUMBER_IN_LIST)) { + print ''; + if (!$i) { + $totalarray['nbfield']++; } + } - // Ref - if (!empty($arrayfields['f.ref']['checked'])) { - print '\n"; - if (!$i) { - $totalarray['nbfield']++; - } + $filename = dol_sanitizeFileName($obj->ref); + $filedir = $conf->facture->dir_output.'/'.dol_sanitizeFileName($obj->ref); + $urlsource = $_SERVER['PHP_SELF'].'?id='.$obj->id; + print $formfile->getDocumentsLink($facturestatic->element, $filename, $filedir); + print ''; + print ''; + print '
'; - $searchpicto = $form->showFilterButtons('left'); - print $searchpicto; - print ''; - print ''; - print ''; - print ''; - print ''; - print ''; - $listtype = array( - Facture::TYPE_STANDARD=>$langs->trans("InvoiceStandard"), - Facture::TYPE_DEPOSIT=>$langs->trans("InvoiceDeposit"), - Facture::TYPE_CREDIT_NOTE=>$langs->trans("InvoiceAvoir"), - Facture::TYPE_REPLACEMENT=>$langs->trans("InvoiceReplacement"), - ); - if (!empty($conf->global->INVOICE_USE_SITUATION)) { - $listtype[Facture::TYPE_SITUATION] = $langs->trans("InvoiceSituation"); + $datelimit = $db->jdate($obj->datelimite); + + $facturestatic->id = $obj->id; + $facturestatic->ref = $obj->ref; + $facturestatic->ref_client = $obj->ref_client; + $facturestatic->type = $obj->type; + $facturestatic->subtype = $obj->subtype; + $facturestatic->total_ht = $obj->total_ht; + $facturestatic->total_tva = $obj->total_tva; + $facturestatic->total_ttc = $obj->total_ttc; + $facturestatic->multicurrency_code = $obj->multicurrency_code; + $facturestatic->multicurrency_tx = $obj->multicurrency_tx; + $facturestatic->multicurrency_total_ht = $obj->multicurrency_total_ht; + $facturestatic->multicurrency_total_tva = $obj->multicurrency_total_vat; + $facturestatic->multicurrency_total_ttc = $obj->multicurrency_total_ttc; + $facturestatic->statut = $obj->fk_statut; // deprecated + $facturestatic->status = $obj->fk_statut; + $facturestatic->close_code = $obj->close_code; + $facturestatic->total_ttc = $obj->total_ttc; + $facturestatic->paye = $obj->paye; + $facturestatic->socid = $obj->fk_soc; + + $facturestatic->date = $db->jdate($obj->datef); + $facturestatic->date_validation = $db->jdate($obj->date_valid); + $facturestatic->date_lim_reglement = $db->jdate($obj->datelimite); + + $facturestatic->note_public = $obj->note_public; + $facturestatic->note_private = $obj->note_private; + + if (!empty($conf->global->INVOICE_USE_SITUATION) && !empty($conf->global->INVOICE_USE_RETAINED_WARRANTY)) { + $facturestatic->retained_warranty = $obj->retained_warranty; + $facturestatic->retained_warranty_date_limit = $obj->retained_warranty_date_limit; + $facturestatic->situation_final = $obj->retained_warranty_date_limit; + $facturestatic->situation_final = $obj->retained_warranty_date_limit; + $facturestatic->situation_cycle_ref = $obj->situation_cycle_ref; + $facturestatic->situation_counter = $obj->situation_counter; } - //$listtype[Facture::TYPE_PROFORMA]=$langs->trans("InvoiceProForma"); // A proformat invoice is not an invoice but must be an order. - print $form->selectarray('search_type', $listtype, $search_type, 1, 0, 0, '', 0, 0, 0, '', 'maxwidth100'); - print ''; - print '
'; - print $form->selectDate($search_date_start ? $search_date_start : -1, 'search_date_start', 0, 0, 1, '', 1, 0, 0, '', '', '', '', 1, '', $langs->trans('From')); - print '
'; - print '
'; - print $form->selectDate($search_date_end ? $search_date_end : -1, 'search_date_end', 0, 0, 1, '', 1, 0, 0, '', '', '', '', 1, '', $langs->trans('to')); - print '
'; - print '
'; - print '
'; - print $form->selectDate($search_date_valid_start ? $search_date_valid_start : -1, 'search_date_valid_start', 0, 0, 1, '', 1, 0, 0, '', '', '', '', 1, '', $langs->trans('From')); - print '
'; - print '
'; - print $form->selectDate($search_date_valid_end ? $search_date_valid_end : -1, 'search_date_valid_end', 0, 0, 1, '', 1, 0, 0, '', '', '', '', 1, '', $langs->trans('to')); - print '
'; - print '
'; - print '
'; - print $form->selectDate($search_datelimit_start ? $search_datelimit_start : -1, 'search_datelimit_start', 0, 0, 1, '', 1, 0, 0, '', '', '', '', 1, '', $langs->trans('From')); - print '
'; - print '
'; - print $form->selectDate($search_datelimit_end ? $search_datelimit_end : -1, 'search_datelimit_end', 0, 0, 1, '', 1, 0, 0, '', '', '', '', 1, '', $langs->trans('to')); - print '
'; - print '
0 ? " disabled" : "").'>'; - print ''; - print ''; - print ''; - print ''; - print $form->select_country($search_country, 'search_country', '', 0, 'minwidth150imp maxwidth150', 'code2', 1, 0, 1, null, 1); - print ''; - print $form->selectarray("search_type_thirdparty", $formcompany->typent_array(0), $search_type_thirdparty, 1, 0, 0, '', 0, 0, 0, (empty($conf->global->SOCIETE_SORT_ON_TYPEENT) ? 'ASC' : $conf->global->SOCIETE_SORT_ON_TYPEENT), 'maxwidth100', 1); - print ''; - print $form->select_types_paiements($search_paymentmode, 'search_paymentmode', '', 0, 1, 1, 0, 1, 'minwidth100 maxwidth100', 1); - print ''; - print $form->getSelectConditionsPaiements($search_paymentterms, 'search_paymentterms', -1, 1, 1, 'minwidth100 maxwidth100'); - print ''; - print ''; - print ''; - print ''; - print ''; - print ''; - print ''; - print ''; - print ''; - print ''; - print ''; - print ''; - print ''; - print ''; - print ''; - print ''; - print ''; - print ''; - print ''; - print ''; - print $form->selectMultiCurrency($search_multicurrency_code, 'search_multicurrency_code', 1); - print ''; - print ''; - print ''; - print ''; - print ''; - print ''; - print ''; - print ''; - print ''; - print ''; - print ''; - print ''; - print ''; - print ''; - print ''; - print ''; - print ''; - print ''; - print ''; - print ''; - print ''; - print ''; - $liststatus = array('0'=>$langs->trans("BillShortStatusDraft"), '0,1'=>$langs->trans("BillShortStatusDraft").'+'.$langs->trans("BillShortStatusNotPaid"), '1'=>$langs->trans("BillShortStatusNotPaid"), '1,2'=>$langs->trans("BillShortStatusNotPaid").'+'.$langs->trans("BillShortStatusPaid"), '2'=>$langs->trans("BillShortStatusPaid"), '3'=>$langs->trans("BillShortStatusCanceled")); - print $form->selectarray('search_status', $liststatus, $search_status, 1, 0, 0, '', 0, 0, 0, '', 'search_status width100 onrightofpage', 1); - print ''; - $searchpicto = $form->showFilterButtons(); - print $searchpicto; - print '
'; - print '
'; - } - // Output Kanban - print $facturestatic->getKanbanView('', array('thirdparty'=>$companystatic->getNomUrl(1, 'company', 15), 'userauthor'=>$userstatic->getNomUrl(1), 'selected' => in_array($object->id, $arrayofselected))); - if ($i == ($imaxinloop - 1)) { - print '
'; - print '
'; + print '
'; + } + // Output Kanban + if ($massactionbutton || $massaction) { // If we are in select mode (massactionbutton defined) or if we have already selected and sent an action ($massaction) defined + $selected = 0; + if (in_array($object->id, $arrayofselected)) { + $selected = 1; } - } else { - print '
'; - if (($massactionbutton || $massaction) && $contextpage != 'poslist') { // If we are in select mode (massactionbutton defined) or if we have already selected and sent an action ($massaction) defined - $selected = 0; - if (in_array($obj->id, $arrayofselected)) { - $selected = 1; - } - print ''; - } - print ''; + if (($massactionbutton || $massaction) && $contextpage != 'poslist') { // If we are in select mode (massactionbutton defined) or if we have already selected and sent an action ($massaction) defined + $selected = 0; + if (in_array($obj->id, $arrayofselected)) { + $selected = 1; } + print ''; + } + print ''.(($offset * $limit) + $i).''.(($offset * $limit) + $i).''; + // Ref + if (!empty($arrayfields['f.ref']['checked'])) { + print ''; - print ''; + print '
'; - print ''; - print ''; - print '
'; - if ($contextpage == 'poslist') { - print dol_escape_htmltag($obj->ref); - } else { - print $facturestatic->getNomUrl(1, '', 200, 0, '', 0, 1); - } + print ''; + if ($contextpage == 'poslist') { + print dol_escape_htmltag($obj->ref); + } else { + print $facturestatic->getNomUrl(1, '', 200, 0, '', 0, 1); + } - $filename = dol_sanitizeFileName($obj->ref); - $filedir = $conf->facture->dir_output.'/'.dol_sanitizeFileName($obj->ref); - $urlsource = $_SERVER['PHP_SELF'].'?id='.$obj->id; - print $formfile->getDocumentsLink($facturestatic->element, $filename, $filedir); - print '
'; - - print "
'; + + print "\n"; + if (!$i) { + $totalarray['nbfield']++; } + } - // Customer ref - if (!empty($arrayfields['f.ref_client']['checked'])) { - print ''; - print dol_escape_htmltag($obj->ref_client); - print ''; - if (!$i) { - $totalarray['nbfield']++; - } + // Customer ref + if (!empty($arrayfields['f.ref_client']['checked'])) { + print ''; + print dol_escape_htmltag($obj->ref_client); + print ''; + if (!$i) { + $totalarray['nbfield']++; } + } - // Type - if (!empty($arrayfields['f.type']['checked'])) { - print ''; - print $facturestatic->getLibType(2); - print ""; - if (!$i) { - $totalarray['nbfield']++; - } + // Type + if (!empty($arrayfields['f.type']['checked'])) { + print ''; + print $facturestatic->getLibType(2); + print ""; + if (!$i) { + $totalarray['nbfield']++; } + } - // Date - if (!empty($arrayfields['f.datef']['checked'])) { - print ''; - print dol_print_date($db->jdate($obj->datef), 'day'); - print ''; - if (!$i) { - $totalarray['nbfield']++; - } + // Invoice Subtype + if (!empty($arrayfields['f.subtype']['checked'])) { + $labeltoshow = ''; + if ($facturestatic->subtype > 0) { + $labeltoshow = $facturestatic->getSubtypeLabel('facture'); + } + print ''; + print $labeltoshow; + print ""; + if (!$i) { + $totalarray['nbfield']++; } + } - // Date - if (!empty($arrayfields['f.date_valid']['checked'])) { - print ''; - print dol_print_date($db->jdate($obj->date_valid), 'day'); - print ''; - if (!$i) { - $totalarray['nbfield']++; - } + // Date + if (!empty($arrayfields['f.datef']['checked'])) { + print ''; + print dol_print_date($db->jdate($obj->datef), 'day'); + print ''; + if (!$i) { + $totalarray['nbfield']++; } + } - // Date limit - if (!empty($arrayfields['f.date_lim_reglement']['checked'])) { - print ''.dol_print_date($datelimit, 'day'); - if ($facturestatic->hasDelay()) { - print img_warning($langs->trans('Alert').' - '.$langs->trans('Late')); - } - print ''; - if (!$i) { - $totalarray['nbfield']++; - } + // Date + if (!empty($arrayfields['f.date_valid']['checked'])) { + print ''; + print dol_print_date($db->jdate($obj->date_valid), 'day'); + print ''; + if (!$i) { + $totalarray['nbfield']++; } + } - // Project ref - if (!empty($arrayfields['p.ref']['checked'])) { - print ''; - if ($obj->project_id > 0) { - print $projectstatic->getNomUrl(1); - } - print ''; - if (!$i) { - $totalarray['nbfield']++; - } + // Date limit + if (!empty($arrayfields['f.date_lim_reglement']['checked'])) { + print ''.dol_print_date($datelimit, 'day'); + if ($facturestatic->hasDelay()) { + print img_warning($langs->trans('Alert').' - '.$langs->trans('Late')); + } + print ''; + if (!$i) { + $totalarray['nbfield']++; } + } - // Project title - if (!empty($arrayfields['p.title']['checked'])) { - print ''; - if ($obj->project_id > 0) { - print dol_escape_htmltag($projectstatic->title); - } - print ''; - if (!$i) { - $totalarray['nbfield']++; - } + // Project ref + if (!empty($arrayfields['p.ref']['checked'])) { + print ''; + if ($obj->project_id > 0) { + print $projectstatic->getNomUrl(1); + } + print ''; + if (!$i) { + $totalarray['nbfield']++; } + } - // Third party - if (!empty($arrayfields['s.nom']['checked'])) { - print ''; - if ($contextpage == 'poslist') { - print dol_escape_htmltag($companystatic->name); - } else { - print $companystatic->getNomUrl(1, 'customer', 0, 0, -1, empty($arrayfields['s.name_alias']['checked']) ? 0 : 1); - } - print ''; - if (!$i) { - $totalarray['nbfield']++; - } + // Project title + if (!empty($arrayfields['p.title']['checked'])) { + print ''; + if ($obj->project_id > 0) { + print dol_escape_htmltag($projectstatic->title); } - // Alias - if (!empty($arrayfields['s.name_alias']['checked'])) { - print ''; - print dol_escape_htmltag($companystatic->name_alias); - print ''; - if (!$i) { - $totalarray['nbfield']++; - } + print ''; + if (!$i) { + $totalarray['nbfield']++; } - // Parent company - if (!empty($arrayfields['s2.nom']['checked'])) { - print ''; - if ($obj->fk_parent > 0) { - if (!isset($company_url_list[$obj->fk_parent])) { - $companyparent = new Societe($db); - $res = $companyparent->fetch($obj->fk_parent); - if ($res > 0) { - $company_url_list[$obj->fk_parent] = $companyparent->getNomUrl(1); - } - } - if (isset($company_url_list[$obj->fk_parent])) { - print $company_url_list[$obj->fk_parent]; + } + + // Third party + if (!empty($arrayfields['s.nom']['checked'])) { + print ''; + if ($contextpage == 'poslist') { + print dol_escape_htmltag($companystatic->name); + } else { + print $companystatic->getNomUrl(1, 'customer', 0, 0, -1, empty($arrayfields['s.name_alias']['checked']) ? 0 : 1); + } + print ''; + if (!$i) { + $totalarray['nbfield']++; + } + } + // Alias + if (!empty($arrayfields['s.name_alias']['checked'])) { + print ''; + print dol_escape_htmltag($companystatic->name_alias); + print ''; + if (!$i) { + $totalarray['nbfield']++; + } + } + // Parent company + if (!empty($arrayfields['s2.nom']['checked'])) { + print ''; + if ($obj->fk_parent > 0) { + if (!isset($company_url_list[$obj->fk_parent])) { + $companyparent = new Societe($db); + $res = $companyparent->fetch($obj->fk_parent); + if ($res > 0) { + $company_url_list[$obj->fk_parent] = $companyparent->getNomUrl(1); } } - print ""; - if (!$i) { - $totalarray['nbfield']++; + if (isset($company_url_list[$obj->fk_parent])) { + print $company_url_list[$obj->fk_parent]; } } - // Customer Code - if (!empty($arrayfields['s.code_client']['checked'])) { - print ''; - print dol_escape_htmltag($companystatic->code_client); - print ''; - if (!$i) { - $totalarray['nbfield']++; - } + print ""; + if (!$i) { + $totalarray['nbfield']++; } - // Town - if (!empty($arrayfields['s.town']['checked'])) { - print ''; - print dol_escape_htmltag($obj->town); - print ''; - if (!$i) { - $totalarray['nbfield']++; - } + } + // Customer Code + if (!empty($arrayfields['s.code_client']['checked'])) { + print ''; + print dol_escape_htmltag($companystatic->code_client); + print ''; + if (!$i) { + $totalarray['nbfield']++; } - // Zip - if (!empty($arrayfields['s.zip']['checked'])) { - print ''; - print dol_escape_htmltag($obj->zip); - print ''; - if (!$i) { - $totalarray['nbfield']++; - } + } + // Town + if (!empty($arrayfields['s.town']['checked'])) { + print ''; + print dol_escape_htmltag($obj->town); + print ''; + if (!$i) { + $totalarray['nbfield']++; } - // State - if (!empty($arrayfields['state.nom']['checked'])) { - print "".dol_escape_htmltag($obj->state_name)."\n"; - if (!$i) { - $totalarray['nbfield']++; - } + } + // Zip + if (!empty($arrayfields['s.zip']['checked'])) { + print ''; + print dol_escape_htmltag($obj->zip); + print ''; + if (!$i) { + $totalarray['nbfield']++; } - // Country - if (!empty($arrayfields['country.code_iso']['checked'])) { - print ''; - $tmparray = getCountry($obj->fk_pays, 'all'); - print $tmparray['label']; - print ''; - if (!$i) { - $totalarray['nbfield']++; - } + } + // State + if (!empty($arrayfields['state.nom']['checked'])) { + print "".dol_escape_htmltag($obj->state_name)."\n"; + if (!$i) { + $totalarray['nbfield']++; } - // Type ent - if (!empty($arrayfields['typent.code']['checked'])) { - print ''; - if (!is_array($typenArray) || count($typenArray) == 0) { - $typenArray = $formcompany->typent_array(1); - } - print $typenArray[$obj->typent_code]; - print ''; - if (!$i) { - $totalarray['nbfield']++; - } + } + // Country + if (!empty($arrayfields['country.code_iso']['checked'])) { + print ''; + $tmparray = getCountry($obj->fk_pays, 'all'); + print $tmparray['label']; + print ''; + if (!$i) { + $totalarray['nbfield']++; } - // Staff - if (!empty($arrayfields['staff.code']['checked'])) { - print ''; - if (!is_array($conf->cache['staff']) || count($conf->cache['staff']) == 0) { - $conf->cache['staff'] = $formcompany->effectif_array(1); - } - print $conf->cache['staff'][$obj->staff_code]; - print ''; - if (!$i) { - $totalarray['nbfield']++; - } + } + // Type ent + if (!empty($arrayfields['typent.code']['checked'])) { + print ''; + if (!is_array($typenArray) || count($typenArray) == 0) { + $typenArray = $formcompany->typent_array(1); + } + print $typenArray[$obj->typent_code]; + print ''; + if (!$i) { + $totalarray['nbfield']++; + } + } + // Staff + if (!empty($arrayfields['staff.code']['checked'])) { + print ''; + if (!is_array($conf->cache['staff']) || count($conf->cache['staff']) == 0) { + $conf->cache['staff'] = $formcompany->effectif_array(1); + } + print $conf->cache['staff'][$obj->staff_code]; + print ''; + if (!$i) { + $totalarray['nbfield']++; } + } - // Payment mode - if (!empty($arrayfields['f.fk_mode_reglement']['checked'])) { - $s = $form->form_modes_reglement($_SERVER['PHP_SELF'], $obj->fk_mode_reglement, 'none', '', -1, 0, '', 1); - print ''; - print $s; - print ''; - if (!$i) { - $totalarray['nbfield']++; - } + // Payment mode + if (!empty($arrayfields['f.fk_mode_reglement']['checked'])) { + $s = $form->form_modes_reglement($_SERVER['PHP_SELF'], $obj->fk_mode_reglement, 'none', '', -1, 0, '', 1); + print ''; + print $s; + print ''; + if (!$i) { + $totalarray['nbfield']++; } + } - // Payment terms - if (!empty($arrayfields['f.fk_cond_reglement']['checked'])) { - $s = $form->form_conditions_reglement($_SERVER['PHP_SELF'], $obj->fk_cond_reglement, 'none', 0, '', -1, -1, 1); - print ''; - print $s; - print ''; - if (!$i) { - $totalarray['nbfield']++; - } + // Payment terms + if (!empty($arrayfields['f.fk_cond_reglement']['checked'])) { + $s = $form->form_conditions_reglement($_SERVER['PHP_SELF'], $obj->fk_cond_reglement, 'none', 0, '', -1, -1, 1); + print ''; + print $s; + print ''; + if (!$i) { + $totalarray['nbfield']++; } + } - // Module Source - if (!empty($arrayfields['f.module_source']['checked'])) { - print ''; - print dol_escape_htmltag($obj->module_source); - print ''; - if (!$i) { - $totalarray['nbfield']++; - } + // Module Source + if (!empty($arrayfields['f.module_source']['checked'])) { + print ''; + print dol_escape_htmltag($obj->module_source); + print ''; + if (!$i) { + $totalarray['nbfield']++; } + } - // POS Terminal - if (!empty($arrayfields['f.pos_source']['checked'])) { - print ''; - print dol_escape_htmltag($obj->pos_source); - print ''; - if (!$i) { - $totalarray['nbfield']++; - } + // POS Terminal + if (!empty($arrayfields['f.pos_source']['checked'])) { + print ''; + print dol_escape_htmltag($obj->pos_source); + print ''; + if (!$i) { + $totalarray['nbfield']++; } + } - // Amount HT - if (!empty($arrayfields['f.total_ht']['checked'])) { - print ''.price($obj->total_ht)."\n"; - if (!$i) { - $totalarray['nbfield']++; - } - if (!$i) { - $totalarray['pos'][$totalarray['nbfield']] = 'f.total_ht'; - } - $totalarray['val']['f.total_ht'] += $obj->total_ht; + // Amount HT + if (!empty($arrayfields['f.total_ht']['checked'])) { + print ''.price($obj->total_ht)."\n"; + if (!$i) { + $totalarray['nbfield']++; } - // Amount VAT - if (!empty($arrayfields['f.total_tva']['checked'])) { - print ''.price($obj->total_tva)."\n"; - if (!$i) { - $totalarray['nbfield']++; - } - if (!$i) { - $totalarray['pos'][$totalarray['nbfield']] = 'f.total_tva'; - } - $totalarray['val']['f.total_tva'] += $obj->total_tva; + if (!$i) { + $totalarray['pos'][$totalarray['nbfield']] = 'f.total_ht'; } - // Amount LocalTax1 - if (!empty($arrayfields['f.total_localtax1']['checked'])) { - print ''.price($obj->total_localtax1)."\n"; - if (!$i) { - $totalarray['nbfield']++; - } - if (!$i) { - $totalarray['pos'][$totalarray['nbfield']] = 'f.total_localtax1'; - } - $totalarray['val']['f.total_localtax1'] += $obj->total_localtax1; + $totalarray['val']['f.total_ht'] += $obj->total_ht; + } + // Amount VAT + if (!empty($arrayfields['f.total_tva']['checked'])) { + print ''.price($obj->total_tva)."\n"; + if (!$i) { + $totalarray['nbfield']++; } - // Amount LocalTax2 - if (!empty($arrayfields['f.total_localtax2']['checked'])) { - print ''.price($obj->total_localtax2)."\n"; - if (!$i) { - $totalarray['nbfield']++; - } - if (!$i) { - $totalarray['pos'][$totalarray['nbfield']] = 'f.total_localtax2'; - } - $totalarray['val']['f.total_localtax2'] += $obj->total_localtax2; + if (!$i) { + $totalarray['pos'][$totalarray['nbfield']] = 'f.total_tva'; } - // Amount TTC - if (!empty($arrayfields['f.total_ttc']['checked'])) { - print ''.price($obj->total_ttc)."\n"; - if (!$i) { - $totalarray['nbfield']++; - } - if (!$i) { - $totalarray['pos'][$totalarray['nbfield']] = 'f.total_ttc'; - } - $totalarray['val']['f.total_ttc'] += $obj->total_ttc; - } - - $userstatic->id = $obj->fk_user_author; - $userstatic->login = $obj->login; - $userstatic->lastname = $obj->lastname; - $userstatic->firstname = $obj->firstname; - $userstatic->email = $obj->user_email; - $userstatic->statut = $obj->user_statut; // deprecated - $userstatic->status = $obj->user_statut; - $userstatic->entity = $obj->entity; - $userstatic->photo = $obj->photo; - $userstatic->office_phone = $obj->office_phone; - $userstatic->office_fax = $obj->office_fax; - $userstatic->user_mobile = $obj->user_mobile; - $userstatic->job = $obj->job; - $userstatic->gender = $obj->gender; - - // Author - if (!empty($arrayfields['u.login']['checked'])) { - print ''; - if ($userstatic->id) { - print $userstatic->getNomUrl(-1); - } else { - print ' '; - } - print "\n"; - if (!$i) { - $totalarray['nbfield']++; - } + $totalarray['val']['f.total_tva'] += $obj->total_tva; + } + // Amount LocalTax1 + if (!empty($arrayfields['f.total_localtax1']['checked'])) { + print ''.price($obj->total_localtax1)."\n"; + if (!$i) { + $totalarray['nbfield']++; + } + if (!$i) { + $totalarray['pos'][$totalarray['nbfield']] = 'f.total_localtax1'; + } + $totalarray['val']['f.total_localtax1'] += $obj->total_localtax1; + } + // Amount LocalTax2 + if (!empty($arrayfields['f.total_localtax2']['checked'])) { + print ''.price($obj->total_localtax2)."\n"; + if (!$i) { + $totalarray['nbfield']++; + } + if (!$i) { + $totalarray['pos'][$totalarray['nbfield']] = 'f.total_localtax2'; + } + $totalarray['val']['f.total_localtax2'] += $obj->total_localtax2; + } + // Amount TTC + if (!empty($arrayfields['f.total_ttc']['checked'])) { + print ''.price($obj->total_ttc)."\n"; + if (!$i) { + $totalarray['nbfield']++; + } + if (!$i) { + $totalarray['pos'][$totalarray['nbfield']] = 'f.total_ttc'; } + $totalarray['val']['f.total_ttc'] += $obj->total_ttc; + } - if (!empty($arrayfields['sale_representative']['checked'])) { - // Sales representatives - print ''; - if ($obj->socid > 0) { - $listsalesrepresentatives = $companystatic->getSalesRepresentatives($user); - if ($listsalesrepresentatives < 0) { - dol_print_error($db); - } - $nbofsalesrepresentative = count($listsalesrepresentatives); - if ($nbofsalesrepresentative > 6) { - // We print only number - print $nbofsalesrepresentative; - } elseif ($nbofsalesrepresentative > 0) { - $j = 0; - foreach ($listsalesrepresentatives as $val) { - $userstatic->id = $val['id']; - $userstatic->lastname = $val['lastname']; - $userstatic->firstname = $val['firstname']; - $userstatic->email = $val['email']; - $userstatic->statut = $val['statut']; // deprecated - $userstatic->status = $val['statut']; - $userstatic->entity = $val['entity']; - $userstatic->photo = $val['photo']; - $userstatic->login = $val['login']; - $userstatic->office_phone = $val['office_phone']; - $userstatic->office_fax = $val['office_fax']; - $userstatic->user_mobile = $val['user_mobile']; - $userstatic->job = $val['job']; - $userstatic->gender = $val['gender']; - //print '
': - print ($nbofsalesrepresentative < 2) ? $userstatic->getNomUrl(-1, '', 0, 0, 12) : $userstatic->getNomUrl(-2); - $j++; - if ($j < $nbofsalesrepresentative) { - print ' '; - } - //print '
'; + $userstatic->id = $obj->fk_user_author; + $userstatic->login = $obj->login; + $userstatic->lastname = $obj->lastname; + $userstatic->firstname = $obj->firstname; + $userstatic->email = $obj->user_email; + $userstatic->statut = $obj->user_statut; // deprecated + $userstatic->status = $obj->user_statut; + $userstatic->entity = $obj->entity; + $userstatic->photo = $obj->photo; + $userstatic->office_phone = $obj->office_phone; + $userstatic->office_fax = $obj->office_fax; + $userstatic->user_mobile = $obj->user_mobile; + $userstatic->job = $obj->job; + $userstatic->gender = $obj->gender; + + // Author + if (!empty($arrayfields['u.login']['checked'])) { + print ''; + if ($userstatic->id) { + print $userstatic->getNomUrl(-1); + } else { + print ' '; + } + print "\n"; + if (!$i) { + $totalarray['nbfield']++; + } + } + + if (!empty($arrayfields['sale_representative']['checked'])) { + // Sales representatives + print ''; + if ($obj->socid > 0) { + $listsalesrepresentatives = $companystatic->getSalesRepresentatives($user); + if ($listsalesrepresentatives < 0) { + dol_print_error($db); + } + $nbofsalesrepresentative = count($listsalesrepresentatives); + if ($nbofsalesrepresentative > 6) { + // We print only number + print $nbofsalesrepresentative; + } elseif ($nbofsalesrepresentative > 0) { + $j = 0; + foreach ($listsalesrepresentatives as $val) { + $userstatic->id = $val['id']; + $userstatic->lastname = $val['lastname']; + $userstatic->firstname = $val['firstname']; + $userstatic->email = $val['email']; + $userstatic->statut = $val['statut']; // deprecated + $userstatic->status = $val['statut']; + $userstatic->entity = $val['entity']; + $userstatic->photo = $val['photo']; + $userstatic->login = $val['login']; + $userstatic->office_phone = $val['office_phone']; + $userstatic->office_fax = $val['office_fax']; + $userstatic->user_mobile = $val['user_mobile']; + $userstatic->job = $val['job']; + $userstatic->gender = $val['gender']; + //print '
': + print ($nbofsalesrepresentative < 2) ? $userstatic->getNomUrl(-1, '', 0, 0, 12) : $userstatic->getNomUrl(-2); + $j++; + if ($j < $nbofsalesrepresentative) { + print ' '; } + //print '
'; } - //else print $langs->trans("NoSalesRepresentativeAffected"); - } else { - print ' '; - } - print ''; - if (!$i) { - $totalarray['nbfield']++; } + //else print $langs->trans("NoSalesRepresentativeAffected"); + } else { + print ' '; + } + print ''; + if (!$i) { + $totalarray['nbfield']++; } + } - if (!empty($arrayfields['f.retained_warranty']['checked'])) { - print ''.(!empty($obj->retained_warranty) ? price($obj->retained_warranty).'%' : ' ').''; - if (!$i) { - $totalarray['nbfield']++; - } + if (!empty($arrayfields['f.retained_warranty']['checked'])) { + print ''.(!empty($obj->retained_warranty) ? price($obj->retained_warranty).'%' : ' ').''; + if (!$i) { + $totalarray['nbfield']++; } + } - if (!empty($arrayfields['dynamount_payed']['checked'])) { - print ''.(!empty($totalpay) ? price($totalpay, 0, $langs) : ' ').''; // TODO Use a denormalized field - if (!$i) { - $totalarray['nbfield']++; - } - if (!$i) { - $totalarray['pos'][$totalarray['nbfield']] = 'totalam'; - } - $totalarray['val']['totalam'] += $totalpay; + if (!empty($arrayfields['dynamount_payed']['checked'])) { + print ''.(!empty($totalpay) ? price($totalpay, 0, $langs) : ' ').''; // TODO Use a denormalized field + if (!$i) { + $totalarray['nbfield']++; + } + if (!$i) { + $totalarray['pos'][$totalarray['nbfield']] = 'totalam'; } + $totalarray['val']['totalam'] += $totalpay; + } - // Pending amount - if (!empty($arrayfields['rtp']['checked'])) { - print ''; - print (!empty($remaintopay) ? price($remaintopay, 0, $langs) : ' '); - print ''; // TODO Use a denormalized field - if (!$i) { - $totalarray['nbfield']++; - } - if (!$i) { - $totalarray['pos'][$totalarray['nbfield']] = 'rtp'; - } - $totalarray['val']['rtp'] += $remaintopay; + // Pending amount + if (!empty($arrayfields['rtp']['checked'])) { + print ''; + print (!empty($remaintopay) ? price($remaintopay, 0, $langs) : ' '); + print ''; // TODO Use a denormalized field + if (!$i) { + $totalarray['nbfield']++; } + if (!$i) { + $totalarray['pos'][$totalarray['nbfield']] = 'rtp'; + } + $totalarray['val']['rtp'] += $remaintopay; + } - // Currency - if (!empty($arrayfields['f.multicurrency_code']['checked'])) { - print ''; - if (empty($conf->global->MAIN_SHOW_ONLY_CODE_MULTICURRENCY)) { - print $langs->transnoentitiesnoconv('Currency'.$obj->multicurrency_code); - } else { - print dol_escape_htmltag($obj->multicurrency_code); - } - print "\n"; - if (!$i) { - $totalarray['nbfield']++; - } + // Currency + if (!empty($arrayfields['f.multicurrency_code']['checked'])) { + print ''; + if (empty($conf->global->MAIN_SHOW_ONLY_CODE_MULTICURRENCY)) { + print $langs->transnoentitiesnoconv('Currency'.$obj->multicurrency_code); + } else { + print dol_escape_htmltag($obj->multicurrency_code); } + print "\n"; + if (!$i) { + $totalarray['nbfield']++; + } + } - // Currency rate - if (!empty($arrayfields['f.multicurrency_tx']['checked'])) { - print ''; - $form->form_multicurrency_rate($_SERVER['PHP_SELF'].'?id='.$obj->rowid, $obj->multicurrency_tx, 'none', $obj->multicurrency_code); - print "\n"; - if (!$i) { - $totalarray['nbfield']++; - } + // Currency rate + if (!empty($arrayfields['f.multicurrency_tx']['checked'])) { + print ''; + $form->form_multicurrency_rate($_SERVER['PHP_SELF'].'?id='.$obj->rowid, $obj->multicurrency_tx, 'none', $obj->multicurrency_code); + print "\n"; + if (!$i) { + $totalarray['nbfield']++; } - // Amount HT - if (!empty($arrayfields['f.multicurrency_total_ht']['checked'])) { - print ''.price($obj->multicurrency_total_ht)."\n"; - if (!$i) { - $totalarray['nbfield']++; - } + } + // Amount HT + if (!empty($arrayfields['f.multicurrency_total_ht']['checked'])) { + print ''.price($obj->multicurrency_total_ht)."\n"; + if (!$i) { + $totalarray['nbfield']++; } - // Amount VAT - if (!empty($arrayfields['f.multicurrency_total_vat']['checked'])) { - print ''.price($obj->multicurrency_total_vat)."\n"; - if (!$i) { - $totalarray['nbfield']++; - } + } + // Amount VAT + if (!empty($arrayfields['f.multicurrency_total_vat']['checked'])) { + print ''.price($obj->multicurrency_total_vat)."\n"; + if (!$i) { + $totalarray['nbfield']++; } - // Amount TTC - if (!empty($arrayfields['f.multicurrency_total_ttc']['checked'])) { - print ''.price($obj->multicurrency_total_ttc)."\n"; - if (!$i) { - $totalarray['nbfield']++; - } + } + // Amount TTC + if (!empty($arrayfields['f.multicurrency_total_ttc']['checked'])) { + print ''.price($obj->multicurrency_total_ttc)."\n"; + if (!$i) { + $totalarray['nbfield']++; } - if (!empty($arrayfields['multicurrency_dynamount_payed']['checked'])) { - print ''.(!empty($multicurrency_totalpay) ? price($multicurrency_totalpay, 0, $langs) : ' ').''; // TODO Use a denormalized field - if (!$i) { - $totalarray['nbfield']++; - } + } + if (!empty($arrayfields['multicurrency_dynamount_payed']['checked'])) { + print ''.(!empty($multicurrency_totalpay) ? price($multicurrency_totalpay, 0, $langs) : ' ').''; // TODO Use a denormalized field + if (!$i) { + $totalarray['nbfield']++; } + } - // Pending amount - if (!empty($arrayfields['multicurrency_rtp']['checked'])) { - print ''; - print (!empty($multicurrency_remaintopay) ? price($multicurrency_remaintopay, 0, $langs) : ' '); - print ''; // TODO Use a denormalized field ? - if (!$i) { - $totalarray['nbfield']++; - } + // Pending amount + if (!empty($arrayfields['multicurrency_rtp']['checked'])) { + print ''; + print (!empty($multicurrency_remaintopay) ? price($multicurrency_remaintopay, 0, $langs) : ' '); + print ''; // TODO Use a denormalized field ? + if (!$i) { + $totalarray['nbfield']++; } + } - // Total buying or cost price - if (!empty($arrayfields['total_pa']['checked'])) { - print ''.price($marginInfo['pa_total'], 0, $langs, 1, -1, 'MT').''; - if (!$i) { - $totalarray['nbfield']++; - $totalarray['pos'][$totalarray['nbfield']] = 'total_pa'; - } - $totalarray['val']['total_pa'] += $marginInfo['pa_total']; - } - // Total margin - if (!empty($arrayfields['total_margin']['checked'])) { - print ''.price($marginInfo['total_margin'], 0, $langs, 1, -1, 'MT').''; - if (!$i) { - $totalarray['nbfield']++; - $totalarray['pos'][$totalarray['nbfield']] = 'total_margin'; - } - $totalarray['val']['total_margin'] += $marginInfo['total_margin']; + // Total buying or cost price + if (!empty($arrayfields['total_pa']['checked'])) { + print ''.price($marginInfo['pa_total'], 0, $langs, 1, -1, 'MT').''; + if (!$i) { + $totalarray['nbfield']++; + $totalarray['pos'][$totalarray['nbfield']] = 'total_pa'; } - // Total margin rate - if (!empty($arrayfields['total_margin_rate']['checked'])) { - print ''.(($marginInfo['total_margin_rate'] == '') ? '' : price($marginInfo['total_margin_rate'], null, null, null, null, 2).'%').''; - if (!$i) { - $totalarray['nbfield']++; - } + if (empty($totalarray['val']['total_pa'])) { + $totalarray['val']['total_pa'] = 0; } - // Total mark rate - if (!empty($arrayfields['total_mark_rate']['checked'])) { - print ''.(($marginInfo['total_mark_rate'] == '') ? '' : price($marginInfo['total_mark_rate'], null, null, null, null, 2).'%').''; - if (!$i) { - $totalarray['nbfield']++; - $totalarray['pos'][$totalarray['nbfield']] = 'total_mark_rate'; - } - if ($i >= $imaxinloop - 1) { - if (!empty($total_ht)) { - $totalarray['val']['total_mark_rate'] = price2num($total_margin * 100 / $total_ht, 'MT'); - } else { - $totalarray['val']['total_mark_rate'] = ''; - } + $totalarray['val']['total_pa'] += $marginInfo['pa_total']; + } + // Total margin + if (!empty($arrayfields['total_margin']['checked'])) { + print ''.price($marginInfo['total_margin'], 0, $langs, 1, -1, 'MT').''; + if (!$i) { + $totalarray['nbfield']++; + $totalarray['pos'][$totalarray['nbfield']] = 'total_margin'; + } + if (empty($totalarray['val']['total_margin'])) { + $totalarray['val']['total_margin'] = 0; + } + $totalarray['val']['total_margin'] += $marginInfo['total_margin']; + } + // Total margin rate + if (!empty($arrayfields['total_margin_rate']['checked'])) { + print ''.(($marginInfo['total_margin_rate'] == '') ? '' : price($marginInfo['total_margin_rate'], null, null, null, null, 2).'%').''; + if (!$i) { + $totalarray['nbfield']++; + } + } + // Total mark rate + if (!empty($arrayfields['total_mark_rate']['checked'])) { + print ''.(($marginInfo['total_mark_rate'] == '') ? '' : price($marginInfo['total_mark_rate'], null, null, null, null, 2).'%').''; + if (!$i) { + $totalarray['nbfield']++; + $totalarray['pos'][$totalarray['nbfield']] = 'total_mark_rate'; + } + if ($i >= $imaxinloop - 1) { + if (!empty($total_ht)) { + $totalarray['val']['total_mark_rate'] = price2num($total_margin * 100 / $total_ht, 'MT'); + } else { + $totalarray['val']['total_mark_rate'] = ''; } } + } - // Extra fields - include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_list_print_fields.tpl.php'; - // Fields from hook - $parameters = array('arrayfields'=>$arrayfields, 'obj'=>$obj, 'i'=>$i, 'totalarray'=>&$totalarray); - $reshook = $hookmanager->executeHooks('printFieldListValue', $parameters, $object, $action); // Note that $action and $object may have been modified by hook - print $hookmanager->resPrint; - // Date creation - if (!empty($arrayfields['f.datec']['checked'])) { - print ''; - print dol_print_date($db->jdate($obj->date_creation), 'dayhour', 'tzuser'); - print ''; - if (!$i) { - $totalarray['nbfield']++; - } + // Extra fields + include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_list_print_fields.tpl.php'; + // Fields from hook + $parameters = array('arrayfields'=>$arrayfields, 'obj'=>$obj, 'i'=>$i, 'totalarray'=>&$totalarray); + $reshook = $hookmanager->executeHooks('printFieldListValue', $parameters, $object, $action); // Note that $action and $object may have been modified by hook + print $hookmanager->resPrint; + // Date creation + if (!empty($arrayfields['f.datec']['checked'])) { + print ''; + print dol_print_date($db->jdate($obj->date_creation), 'dayhour', 'tzuser'); + print ''; + if (!$i) { + $totalarray['nbfield']++; } - // Date modification - if (!empty($arrayfields['f.tms']['checked'])) { - print ''; - print dol_print_date($db->jdate($obj->date_update), 'dayhour', 'tzuser'); - print ''; - if (!$i) { - $totalarray['nbfield']++; - } + } + // Date modification + if (!empty($arrayfields['f.tms']['checked'])) { + print ''; + print dol_print_date($db->jdate($obj->date_update), 'dayhour', 'tzuser'); + print ''; + if (!$i) { + $totalarray['nbfield']++; } - // Date closing - if (!empty($arrayfields['f.date_closing']['checked'])) { - print ''; - print dol_print_date($db->jdate($obj->date_closing), 'dayhour', 'tzuser'); - print ''; - if (!$i) { - $totalarray['nbfield']++; - } + } + // Date closing + if (!empty($arrayfields['f.date_closing']['checked'])) { + print ''; + print dol_print_date($db->jdate($obj->date_closing), 'dayhour', 'tzuser'); + print ''; + if (!$i) { + $totalarray['nbfield']++; } - // Note public - if (!empty($arrayfields['f.note_public']['checked'])) { - print ''; - print dol_string_nohtmltag($obj->note_public); - print ''; - if (!$i) { - $totalarray['nbfield']++; - } + } + // Note public + if (!empty($arrayfields['f.note_public']['checked'])) { + print ''; + print dol_string_nohtmltag($obj->note_public); + print ''; + if (!$i) { + $totalarray['nbfield']++; } - // Note private - if (!empty($arrayfields['f.note_private']['checked'])) { - print ''; - print dol_string_nohtmltag($obj->note_private); - print ''; - if (!$i) { - $totalarray['nbfield']++; - } + } + // Note private + if (!empty($arrayfields['f.note_private']['checked'])) { + print ''; + print dol_string_nohtmltag($obj->note_private); + print ''; + if (!$i) { + $totalarray['nbfield']++; } - // Template Invoice - if (!empty($arrayfields['f.fk_fac_rec_source']['checked'])) { - print ''; - if (!empty($obj->fk_fac_rec_source)) { - $facrec = new FactureRec($db); - $result = $facrec->fetch($obj->fk_fac_rec_source); - if ($result < 0) { - setEventMessages($facrec->error, $facrec->errors, 'errors'); - } else { - print $facrec->getNomUrl(); - } - } - print ''; - if (!$i) { - $totalarray['nbfield']++; + } + // Template Invoice + if (!empty($arrayfields['f.fk_fac_rec_source']['checked'])) { + print ''; + if (!empty($obj->fk_fac_rec_source)) { + $facrec = new FactureRec($db); + $result = $facrec->fetch($obj->fk_fac_rec_source); + if ($result < 0) { + setEventMessages($facrec->error, $facrec->errors, 'errors'); + } else { + print $facrec->getNomUrl(); } } - // Status - if (!empty($arrayfields['f.fk_statut']['checked'])) { - print ''; - print $facturestatic->getLibStatut(5, $paiement); - print ""; - if (!$i) { - $totalarray['nbfield']++; - } + print ''; + if (!$i) { + $totalarray['nbfield']++; + } + } + // Status + if (!empty($arrayfields['f.fk_statut']['checked'])) { + print ''; + print $facturestatic->getLibStatut(5, $paiement); + print ""; + if (!$i) { + $totalarray['nbfield']++; } + } - // Action column (Show the massaction button only when this page is not opend from the Extended POS) + // Action column (Show the massaction button only when this page is not opend from the Extended POS) - if (empty($conf->global->MAIN_CHECKBOX_LEFT_COLUMN)) { - print ''; - if (($massactionbutton || $massaction) && $contextpage != 'poslist') { // If we are in select mode (massactionbutton defined) or if we have already selected and sent an action ($massaction) defined - $selected = 0; - if (in_array($obj->id, $arrayofselected)) { - $selected = 1; - } - print ''; - } - print ''; - if (!$i) { - $totalarray['nbfield']++; + if (!getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { + print ''; + if (($massactionbutton || $massaction) && $contextpage != 'poslist') { // If we are in select mode (massactionbutton defined) or if we have already selected and sent an action ($massaction) defined + $selected = 0; + if (in_array($obj->id, $arrayofselected)) { + $selected = 1; } + print ''; + } + print ''; + if (!$i) { + $totalarray['nbfield']++; } - - print "\n"; } - $i++; + print ''."\n"; } - // Use correct digits number for totals - $totalarray['val']['total_pa'] = (isset($totalarray['val']['total_pa']) ? price2num($totalarray['val']['total_pa'], 'MT') : null); - $totalarray['val']['total_margin'] = (isset($totalarray['val']['total_margin']) ? price2num($totalarray['val']['total_margin'], 'MT') : null); - - // Show total line - include DOL_DOCUMENT_ROOT.'/core/tpl/list_print_total.tpl.php'; + $i++; } - // If no record found - if ($num == 0) { - $colspan = 1; - foreach ($arrayfields as $key => $val) { - if (!empty($val['checked'])) { - $colspan++; - } + // Use correct digits number for totals + $totalarray['val']['total_pa'] = (isset($totalarray['val']['total_pa']) ? price2num($totalarray['val']['total_pa'], 'MT') : null); + $totalarray['val']['total_margin'] = (isset($totalarray['val']['total_margin']) ? price2num($totalarray['val']['total_margin'], 'MT') : null); + + // Show total line + include DOL_DOCUMENT_ROOT.'/core/tpl/list_print_total.tpl.php'; +} + +// If no record found +if ($num == 0) { + $colspan = 1; + foreach ($arrayfields as $key => $val) { + if (!empty($val['checked'])) { + $colspan++; } - print ''.$langs->trans("NoRecordFound").''; } + print ''.$langs->trans("NoRecordFound").''; +} - $db->free($resql); +$db->free($resql); - $parameters = array('arrayfields'=>$arrayfields, 'sql'=>$sql); - $reshook = $hookmanager->executeHooks('printFieldListFooter', $parameters, $object, $action); // Note that $action and $object may have been modified by hook - print $hookmanager->resPrint; +$parameters = array('arrayfields'=>$arrayfields, 'sql'=>$sql); +$reshook = $hookmanager->executeHooks('printFieldListFooter', $parameters, $object, $action); // Note that $action and $object may have been modified by hook +print $hookmanager->resPrint; - print ''."\n"; - print '
'."\n"; +print ''."\n"; +print '
'."\n"; - print ''."\n"; +print ''."\n"; - // Show the file area only when this page is not opend from the Extended POS - if ($contextpage != 'poslist') { - $hidegeneratedfilelistifempty = 1; - if ($massaction == 'builddoc' || $action == 'remove_file' || $show_files) { - $hidegeneratedfilelistifempty = 0; - } +// Show the file area only when this page is not opend from the Extended POS +if ($contextpage != 'poslist') { + $hidegeneratedfilelistifempty = 1; + if ($massaction == 'builddoc' || $action == 'remove_file' || $show_files) { + $hidegeneratedfilelistifempty = 0; + } - // Show list of available documents - $urlsource = $_SERVER['PHP_SELF'].'?sortfield='.$sortfield.'&sortorder='.$sortorder; - $urlsource .= str_replace('&', '&', $param); + // Show list of available documents + $urlsource = $_SERVER['PHP_SELF'].'?sortfield='.$sortfield.'&sortorder='.$sortorder; + $urlsource .= str_replace('&', '&', $param); - $filedir = $diroutputmassaction; - $genallowed = $user->hasRight("facture", "lire"); - $delallowed = $user->hasRight("facture", "creer"); - $title = ''; + $filedir = $diroutputmassaction; + $genallowed = $user->hasRight("facture", "lire"); + $delallowed = $user->hasRight("facture", "creer"); + $title = ''; - print $formfile->showdocuments('massfilesarea_invoices', '', $filedir, $urlsource, 0, $delallowed, '', 1, 1, 0, 48, 1, $param, $title, '', '', '', null, $hidegeneratedfilelistifempty); - } -} else { - dol_print_error($db); + print $formfile->showdocuments('massfilesarea_invoices', '', $filedir, $urlsource, 0, $delallowed, '', 1, 1, 0, 48, 1, $param, $title, '', '', '', null, $hidegeneratedfilelistifempty); } // End of page diff --git a/htdocs/compta/facture/prelevement.php b/htdocs/compta/facture/prelevement.php index 2b9fa019c4382..36446a0640b55 100644 --- a/htdocs/compta/facture/prelevement.php +++ b/htdocs/compta/facture/prelevement.php @@ -74,7 +74,7 @@ if ($type == 'bank-transfer') { $result = restrictedArea($user, 'fournisseur', $id, 'facture_fourn', 'facture', 'fk_soc', $fieldid, $isdraft); - if (empty($user->rights->fournisseur->facture->lire)) { + if (!$user->hasRight('fournisseur', 'facture', 'lire')) { accessforbidden(); } } else { @@ -618,7 +618,7 @@ print $bac->iban.(($bac->iban && $bac->bic) ? ' / ' : '').$bac->bic; if (!empty($bac->iban)) { if ($bac->verif() <= 0) { - print img_warning('Error on default bank number for IBAN : '.$bac->error_message); + print img_warning('Error on default bank number for IBAN : '.$bac->error); } } else { if ($numopen || ($type != 'bank-transfer' && $object->mode_reglement_code == 'PRE') || ($type == 'bank-transfer' && $object->mode_reglement_code == 'VIR')) { @@ -889,10 +889,11 @@ // Action column if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { - print ''; + print ''; print ''; print img_delete(); - print ''; + print ''; + print ''; } // Date @@ -950,7 +951,7 @@ // Action column if (!getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { - print ''; + print ''; print ''; print img_delete(); print ''; diff --git a/htdocs/compta/facture/stats/index.php b/htdocs/compta/facture/stats/index.php index 8e81de43d1fbc..a719748b93a62 100644 --- a/htdocs/compta/facture/stats/index.php +++ b/htdocs/compta/facture/stats/index.php @@ -47,7 +47,7 @@ if ($mode == 'customer' && !$user->hasRight('facture', 'lire')) { accessforbidden(); } -if ($mode == 'supplier' && empty($user->rights->fournisseur->facture->lire)) { +if ($mode == 'supplier' && !$user->hasRight('fournisseur', 'facture', 'lire')) { accessforbidden(); } @@ -193,7 +193,7 @@ $data = $stats->getAverageByMonthWithPrevYear($endyear, $startyear); -if (empty($user->rights->societe->client->voir) || $user->socid) { +if (!$user->hasRight('societe', 'client', 'voir') || $user->socid) { $filename_avg = $dir.'/ordersaverage-'.$user->id.'-'.$year.'.png'; if ($mode == 'customer') { $fileurl_avg = DOL_URL_ROOT.'/viewimage.php?modulepart=orderstats&file=ordersaverage-'.$user->id.'-'.$year.'.png'; diff --git a/htdocs/compta/index.php b/htdocs/compta/index.php index a340d7ef7c372..a666c3bb5a438 100644 --- a/htdocs/compta/index.php +++ b/htdocs/compta/index.php @@ -142,12 +142,12 @@ $sql .= ", sum(pf.amount) as am"; $sql .= " FROM ".MAIN_DB_PREFIX."societe as s LEFT JOIN ".MAIN_DB_PREFIX."c_country as cc ON cc.rowid = s.fk_pays, ".MAIN_DB_PREFIX."facture as f"; $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."paiement_facture as pf on f.rowid=pf.fk_facture"; - if (empty($user->rights->societe->client->voir) && !$socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= ", ".MAIN_DB_PREFIX."societe_commerciaux as sc"; } $sql .= " WHERE s.rowid = f.fk_soc"; $sql .= " AND f.entity IN (".getEntity('invoice').")"; - if (empty($user->rights->societe->client->voir) && !$socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= " AND s.rowid = sc.fk_soc AND sc.fk_user = ".((int) $user->id); } if ($socid) { @@ -292,12 +292,12 @@ $sql .= ", SUM(pf.amount) as am"; $sql .= " FROM ".MAIN_DB_PREFIX."societe as s, ".MAIN_DB_PREFIX."facture_fourn as ff"; $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."paiementfourn_facturefourn as pf on ff.rowid=pf.fk_facturefourn"; - if (empty($user->rights->societe->client->voir) && !$socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= ", ".MAIN_DB_PREFIX."societe_commerciaux as sc"; } $sql .= " WHERE s.rowid = ff.fk_soc"; $sql .= " AND ff.entity = ".$conf->entity; - if (empty($user->rights->societe->client->voir) && !$socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= " AND s.rowid = sc.fk_soc AND sc.fk_user = ".((int) $user->id); } if ($socid) { @@ -499,7 +499,7 @@ /** * Social contributions to pay */ -if (isModEnabled('tax') && !empty($user->rights->tax->charges->lire)) { +if (isModEnabled('tax') && $user->hasRight('tax', 'charges', 'lire')) { if (!$socid) { $chargestatic = new ChargeSociales($db); @@ -602,7 +602,7 @@ $sql .= ", c.rowid, c.ref, c.facture, c.fk_statut as status, c.total_ht, c.total_tva, c.total_ttc,"; $sql .= " cc.rowid as country_id, cc.code as country_code"; $sql .= " FROM ".MAIN_DB_PREFIX."societe as s LEFT JOIN ".MAIN_DB_PREFIX."c_country as cc ON cc.rowid = s.fk_pays"; - if (empty($user->rights->societe->client->voir) && !$socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= ", ".MAIN_DB_PREFIX."societe_commerciaux as sc"; } $sql .= ", ".MAIN_DB_PREFIX."commande as c"; @@ -610,7 +610,7 @@ $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."facture AS f ON el.fk_target = f.rowid AND el.targettype = 'facture'"; $sql .= " WHERE c.fk_soc = s.rowid"; $sql .= " AND c.entity = ".$conf->entity; - if (empty($user->rights->societe->client->voir) && !$socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= " AND s.rowid = sc.fk_soc AND sc.fk_user = ".((int) $user->id); } if ($socid) { diff --git a/htdocs/compta/localtax/class/localtax.class.php b/htdocs/compta/localtax/class/localtax.class.php index 04e3d5a5e35d1..1010590c81853 100644 --- a/htdocs/compta/localtax/class/localtax.class.php +++ b/htdocs/compta/localtax/class/localtax.class.php @@ -49,6 +49,24 @@ class Localtax extends CommonObject public $datev; public $amount; + /** + * @var int + */ + public $accountid; + + /** + * @var string + */ + public $fk_type; + + public $paymenttype; + + /** + * @var int + */ + public $rappro; + + /** * @var string local tax */ @@ -216,7 +234,6 @@ public function update(User $user, $notrigger = 0) */ public function fetch($id) { - global $langs; $sql = "SELECT"; $sql .= " t.rowid,"; $sql .= " t.localtaxtype,"; @@ -225,7 +242,7 @@ public function fetch($id) $sql .= " t.datev,"; $sql .= " t.amount,"; $sql .= " t.label,"; - $sql .= " t.note,"; + $sql .= " t.note as note_private,"; $sql .= " t.fk_bank,"; $sql .= " t.fk_user_creat,"; $sql .= " t.fk_user_modif,"; @@ -250,7 +267,8 @@ public function fetch($id) $this->datev = $this->db->jdate($obj->datev); $this->amount = $obj->amount; $this->label = $obj->label; - $this->note = $obj->note; + $this->note = $obj->note_private; + $this->note_private = $obj->note_private; $this->fk_bank = $obj->fk_bank; $this->fk_user_creat = $obj->fk_user_creat; $this->fk_user_modif = $obj->fk_user_modif; @@ -515,7 +533,7 @@ public function addPayment($user) $bank_line_id = $acc->addline($this->datep, $this->paymenttype, $this->label, -abs($this->amount), '', '', $user); - // Mise a jour fk_bank dans llx_localtax. On connait ainsi la ligne de localtax qui a g�n�r� l'�criture bancaire + // Update fk_bank into llx_localtax so we know the line of localtax used to generate the bank entry. if ($bank_line_id > 0) { $this->update_fk_bank($bank_line_id); } else { @@ -650,7 +668,9 @@ public function getKanbanView($option = '', $arraydata = null) $return .= ''; $return .= '
'; $return .= ''.(method_exists($this, 'getNomUrl') ? $this->getNomUrl() : $this->ref).''; - $return .= ''; + if ($selected >= 0) { + $return .= ''; + } if (property_exists($this, 'label')) { $return .= ' | '.$this->label.''; } diff --git a/htdocs/compta/localtax/clients.php b/htdocs/compta/localtax/clients.php index 8873fd26b8828..b3ea354bda769 100644 --- a/htdocs/compta/localtax/clients.php +++ b/htdocs/compta/localtax/clients.php @@ -56,11 +56,11 @@ $date_end = dol_get_last_day($year_start, GETPOST("month"), false); } else { $date_start = dol_get_first_day($year_start, empty($conf->global->SOCIETE_FISCAL_MONTH_START) ? 1 : $conf->global->SOCIETE_FISCAL_MONTH_START, false); - if (empty($conf->global->MAIN_INFO_VAT_RETURN) || $conf->global->MAIN_INFO_VAT_RETURN == 2) { + if (empty($conf->global->MAIN_INFO_VAT_RETURN) || getDolGlobalInt('MAIN_INFO_VAT_RETURN') == 2) { $date_end = dol_time_plus_duree($date_start, 3, 'm') - 1; - } elseif ($conf->global->MAIN_INFO_VAT_RETURN == 3) { + } elseif (getDolGlobalInt('MAIN_INFO_VAT_RETURN') == 3) { $date_end = dol_time_plus_duree($date_start, 1, 'y') - 1; - } elseif ($conf->global->MAIN_INFO_VAT_RETURN == 1) { + } elseif (getDolGlobalInt('MAIN_INFO_VAT_RETURN') == 1) { $date_end = dol_time_plus_duree($date_start, 1, 'm') - 1; } } @@ -147,7 +147,7 @@ $calcmode = $calc == 0 ? $langs->trans("CalcModeLT".$local) : $langs->trans("CalcModeLT".$local."Rec"); $calcmode .= ' ('.$langs->trans("TaxModuleSetupToModifyRulesLT", DOL_URL_ROOT.'/admin/company.php').')'; $period = $form->selectDate($date_start, 'date_start', 0, 0, 0, '', 1, 0).' - '.$form->selectDate($date_end, 'date_end', 0, 0, 0, '', 1, 0); - if (!empty($conf->global->MAIN_MODULE_COMPTABILITE)) { + if (isModEnabled('comptabilite')) { $description .= '
'.$langs->trans("WarningDepositsNotIncluded"); } $description .= $fsearch; @@ -165,7 +165,7 @@ $calcmode = $langs->trans("CalcModeLT2Debt"); $calcmode .= ' ('.$langs->trans("TaxModuleSetupToModifyRulesLT", DOL_URL_ROOT.'/admin/company.php').')'; $period = $form->selectDate($date_start, 'date_start', 0, 0, 0, '', 1, 0).' - '.$form->selectDate($date_end, 'date_end', 0, 0, 0, '', 1, 0); - if (!empty($conf->global->MAIN_MODULE_COMPTABILITE)) { + if (isModEnabled('comptabilite')) { $description .= '
'.$langs->trans("WarningDepositsNotIncluded"); } $description .= $fsearch; diff --git a/htdocs/compta/localtax/index.php b/htdocs/compta/localtax/index.php index f5d1fe1f948d2..caa5173a13c6e 100644 --- a/htdocs/compta/localtax/index.php +++ b/htdocs/compta/localtax/index.php @@ -246,8 +246,6 @@ function pt($db, $sql, $date) $calcmode = $langs->trans("LTReportBuildWithOptionDefinedInModule").' '; $calcmode .= ' ('.$langs->trans("TaxModuleSetupToModifyRulesLT", DOL_URL_ROOT.'/admin/company.php').')'; -//if (!empty($conf->global->MAIN_MODULE_ACCOUNTING)) $description.='
'.$langs->trans("ThisIsAnEstimatedValue"); - $period = $form->selectDate($date_start, 'date_start', 0, 0, 0, '', 1, 0).' - '.$form->selectDate($date_end, 'date_end', 0, 0, 0, '', 1, 0); $builddate = dol_now(); diff --git a/htdocs/compta/localtax/list.php b/htdocs/compta/localtax/list.php index b12b41fb27011..efc28aff0730e 100644 --- a/htdocs/compta/localtax/list.php +++ b/htdocs/compta/localtax/list.php @@ -60,7 +60,8 @@ $newcardbutton = ''; $newcardbutton .= dolGetButtonTitle($langs->trans('ViewList'), '', 'fa fa-bars imgforviewmode', $_SERVER["PHP_SELF"].'?localTaxType='.$ltt.'&mode=common'.preg_replace('/(&|\?)*mode=[^&]+/', '', $param), '', ((empty($mode) || $mode == 'common') ? 2 : 1), array('morecss'=>'reposition')); $newcardbutton .= dolGetButtonTitle($langs->trans('ViewKanban'), '', 'fa fa-th-list imgforviewmode', $_SERVER["PHP_SELF"].'?localTaxType='.$ltt.'&mode=kanban'.preg_replace('/(&|\?)*mode=[^&]+/', '', $param), '', ($mode == 'kanban' ? 2 : 1), array('morecss'=>'reposition')); -$newcardbutton .= dolGetButtonTitle($langs->trans('NewLocalTaxPayment', ($ltt + 1)), '', 'fa fa-plus-circle', $url, '', $user->rights->tax->charges->creer); +$newcardbutton .= dolGetButtonTitleSeparator(); +$newcardbutton .= dolGetButtonTitle($langs->trans('NewLocalTaxPayment', ($ltt + 1)), '', 'fa fa-plus-circle', $url, '', $user->hasRight('tax', 'charges', 'creer')); print load_fiche_titre($langs->transcountry($ltt == 2 ? "LT2Payments" : "LT1Payments", $mysoc->country_code), $newcardbutton, 'title_accountancy'); diff --git a/htdocs/compta/localtax/quadri_detail.php b/htdocs/compta/localtax/quadri_detail.php index f8e5e12e8c85f..86d6e58f31fe7 100644 --- a/htdocs/compta/localtax/quadri_detail.php +++ b/htdocs/compta/localtax/quadri_detail.php @@ -66,11 +66,11 @@ $date_end = dol_get_last_day($year_start, GETPOST("month", "int"), false); } else { $date_start = dol_get_first_day($year_start, empty($conf->global->SOCIETE_FISCAL_MONTH_START) ? 1 : $conf->global->SOCIETE_FISCAL_MONTH_START, false); - if (empty($conf->global->MAIN_INFO_VAT_RETURN) || $conf->global->MAIN_INFO_VAT_RETURN == 2) { + if (empty($conf->global->MAIN_INFO_VAT_RETURN) || getDolGlobalInt('MAIN_INFO_VAT_RETURN') == 2) { $date_end = dol_time_plus_duree($date_start, 3, 'm') - 1; - } elseif ($conf->global->MAIN_INFO_VAT_RETURN == 3) { + } elseif (getDolGlobalInt('MAIN_INFO_VAT_RETURN') == 3) { $date_end = dol_time_plus_duree($date_start, 1, 'y') - 1; - } elseif ($conf->global->MAIN_INFO_VAT_RETURN == 1) { + } elseif (getDolGlobalInt('MAIN_INFO_VAT_RETURN') == 1) { $date_end = dol_time_plus_duree($date_start, 1, 'm') - 1; } } @@ -199,7 +199,7 @@ $description.='
'.$langs->trans("SupplierDepositsAreNotIncluded"); } */ -if (!empty($conf->global->MAIN_MODULE_ACCOUNTING)) { +if (isModEnabled('accounting')) { $description .= $langs->trans("ThisIsAnEstimatedValue"); } diff --git a/htdocs/compta/paiement.php b/htdocs/compta/paiement.php index ea36236689b55..5ed134cddc426 100644 --- a/htdocs/compta/paiement.php +++ b/htdocs/compta/paiement.php @@ -11,6 +11,7 @@ * Copyright (C) 2018-2021 Frédéric France * Copyright (C) 2023 Lenin Rivas * Copyright (C) 2023 Sylvain Legrand + * Copyright (C) 2023 William Mead * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -558,7 +559,7 @@ function callForResult(imgId) * List of unpaid invoices */ - $sql = 'SELECT f.rowid as facid, f.ref, f.total_ttc, f.multicurrency_code, f.multicurrency_total_ttc, f.type,'; + $sql = 'SELECT f.rowid as facid, f.ref, f.total_ht, f.total_tva, f.total_ttc, f.multicurrency_code, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, f.type,'; $sql .= ' f.datef as df, f.fk_soc as socid, f.date_lim_reglement as dlr'; $sql .= ' FROM '.MAIN_DB_PREFIX.'facture as f'; $sql .= ' WHERE f.entity IN ('.getEntity('facture').')'; @@ -662,8 +663,16 @@ function callForResult(imgId) $multicurrency_deposits = $invoice->getSumDepositsUsed(1); $multicurrency_alreadypayed = price2num($multicurrency_payment + $multicurrency_creditnotes + $multicurrency_deposits, 'MT'); $multicurrency_remaintopay = price2num($invoice->multicurrency_total_ttc - $multicurrency_payment - $multicurrency_creditnotes - $multicurrency_deposits, 'MT'); + // Multicurrency full amount tooltip + $tootltiponmulticurrencyfullamount = $langs->trans('AmountHT') . ": " . price($objp->multicurrency_total_ht, 0, $langs, 0, -1, -1, $objp->multicurrency_code) . "
"; + $tootltiponmulticurrencyfullamount .= $langs->trans('AmountVAT') . ": " . price($objp->multicurrency_total_tva, 0, $langs, 0, -1, -1, $objp->multicurrency_code) . "
"; + $tootltiponmulticurrencyfullamount .= $langs->trans('AmountTTC') . ": " . price($objp->multicurrency_total_ttc, 0, $langs, 0, -1, -1, $objp->multicurrency_code) . "
"; } + // Full amount tooltip + $tootltiponfullamount = $langs->trans('AmountHT') . ": " . price($objp->total_ht, 0, $langs, 0, -1, -1, $conf->currency) . "
"; + $tootltiponfullamount .= $langs->trans('AmountVAT') . ": " . price($objp->total_tva, 0, $langs, 0, -1, -1, $conf->currency) . "
"; + $tootltiponfullamount .= $langs->trans('AmountTTC') . ": " . price($objp->total_ttc, 0, $langs, 0, -1, -1, $conf->currency) . "
"; print ''; @@ -696,13 +705,13 @@ function callForResult(imgId) print ''.$objp->multicurrency_code."\n"; } - // Multicurrency Price + // Multicurrency full amount if (isModEnabled('multicurrency')) { print ''; if ($objp->multicurrency_code && $objp->multicurrency_code != $conf->currency) { - print price($sign * $objp->multicurrency_total_ttc); + print '' . price($sign * $objp->multicurrency_total_ttc); } - print ''; + print ''; // Multicurrency Price print ''; @@ -745,8 +754,8 @@ function callForResult(imgId) print ""; } - // Price - print ''.price($sign * $objp->total_ttc).''; + // Full amount + print ''.price($sign * $objp->total_ttc).''; // Received + already paid print ''.price($sign * $paiement); diff --git a/htdocs/compta/paiement/card.php b/htdocs/compta/paiement/card.php index d101becc1b509..16fb4903dc655 100644 --- a/htdocs/compta/paiement/card.php +++ b/htdocs/compta/paiement/card.php @@ -97,165 +97,170 @@ /* * Actions */ +$parameters = array('socid'=>$socid); +$reshook = $hookmanager->executeHooks('doActions', $parameters, $object, $action); // Note that $action and $object may have been modified by some hooks +if ($reshook < 0) { + setEventMessages($hookmanager->error, $hookmanager->errors, 'errors'); +} -if ($action == 'setnote' && $user->hasRight('facture', 'paiement')) { - $db->begin(); +if (empty($reshook)) { + if ($action == 'setnote' && $user->hasRight('facture', 'paiement')) { + $db->begin(); - $result = $object->update_note(GETPOST('note', 'restricthtml')); - if ($result > 0) { - $db->commit(); - $action = ''; - } else { - setEventMessages($object->error, $object->errors, 'errors'); - $db->rollback(); + $result = $object->update_note(GETPOST('note', 'restricthtml')); + if ($result > 0) { + $db->commit(); + $action = ''; + } else { + setEventMessages($object->error, $object->errors, 'errors'); + $db->rollback(); + } } -} -if ($action == 'confirm_delete' && $confirm == 'yes' && $user->hasRight('facture', 'paiement')) { - $db->begin(); + if ($action == 'confirm_delete' && $confirm == 'yes' && $user->hasRight('facture', 'paiement')) { + $db->begin(); - $result = $object->delete(); - if ($result > 0) { - $db->commit(); + $result = $object->delete(); + if ($result > 0) { + $db->commit(); - if ($backtopage) { - header("Location: ".$backtopage); - exit; + if ($backtopage) { + header("Location: ".$backtopage); + exit; + } else { + header("Location: list.php"); + exit; + } } else { - header("Location: list.php"); - exit; + $langs->load("errors"); + setEventMessages($object->error, $object->errors, 'errors'); + $db->rollback(); } - } else { - $langs->load("errors"); - setEventMessages($object->error, $object->errors, 'errors'); - $db->rollback(); } -} -if ($action == 'confirm_validate' && $confirm == 'yes' && $user->hasRight('facture', 'paiement')) { - $db->begin(); + if ($action == 'confirm_validate' && $confirm == 'yes' && $user->hasRight('facture', 'paiement')) { + $db->begin(); - if ($object->validate($user) > 0) { - $db->commit(); + if ($object->validate($user) > 0) { + $db->commit(); - // Loop on each invoice linked to this payment to rebuild PDF - if (empty($conf->global->MAIN_DISABLE_PDF_AUTOUPDATE)) { - $outputlangs = $langs; - if (GETPOST('lang_id', 'aZ09')) { - $outputlangs = new Translate("", $conf); - $outputlangs->setDefaultLang(GETPOST('lang_id', 'aZ09')); - } - - $hidedetails = !empty($conf->global->MAIN_GENERATE_DOCUMENTS_HIDE_DETAILS) ? 1 : 0; - $hidedesc = !empty($conf->global->MAIN_GENERATE_DOCUMENTS_HIDE_DESC) ? 1 : 0; - $hideref = !empty($conf->global->MAIN_GENERATE_DOCUMENTS_HIDE_REF) ? 1 : 0; - - $sql = 'SELECT f.rowid as facid'; - $sql .= ' FROM '.MAIN_DB_PREFIX.'paiement_facture as pf,'.MAIN_DB_PREFIX.'facture as f,'.MAIN_DB_PREFIX.'societe as s'; - $sql .= ' WHERE pf.fk_facture = f.rowid'; - $sql .= ' AND f.fk_soc = s.rowid'; - $sql .= ' AND f.entity IN ('.getEntity('invoice').')'; - $sql .= ' AND pf.fk_paiement = '.((int) $object->id); - $resql = $db->query($sql); - if ($resql) { - $i = 0; - $num = $db->num_rows($resql); - - if ($num > 0) { - while ($i < $num) { - $objp = $db->fetch_object($resql); - - $invoice = new Facture($db); - - if ($invoice->fetch($objp->facid) <= 0) { - $error++; - setEventMessages($invoice->error, $invoice->errors, 'errors'); - break; - } + // Loop on each invoice linked to this payment to rebuild PDF + if (empty($conf->global->MAIN_DISABLE_PDF_AUTOUPDATE)) { + $outputlangs = $langs; + if (GETPOST('lang_id', 'aZ09')) { + $outputlangs = new Translate("", $conf); + $outputlangs->setDefaultLang(GETPOST('lang_id', 'aZ09')); + } - if ($invoice->generateDocument($invoice->model_pdf, $outputlangs, $hidedetails, $hidedesc, $hideref) < 0) { - $error++; - setEventMessages($invoice->error, $invoice->errors, 'errors'); - break; + $hidedetails = !empty($conf->global->MAIN_GENERATE_DOCUMENTS_HIDE_DETAILS) ? 1 : 0; + $hidedesc = !empty($conf->global->MAIN_GENERATE_DOCUMENTS_HIDE_DESC) ? 1 : 0; + $hideref = !empty($conf->global->MAIN_GENERATE_DOCUMENTS_HIDE_REF) ? 1 : 0; + + $sql = 'SELECT f.rowid as facid'; + $sql .= ' FROM '.MAIN_DB_PREFIX.'paiement_facture as pf,'.MAIN_DB_PREFIX.'facture as f,'.MAIN_DB_PREFIX.'societe as s'; + $sql .= ' WHERE pf.fk_facture = f.rowid'; + $sql .= ' AND f.fk_soc = s.rowid'; + $sql .= ' AND f.entity IN ('.getEntity('invoice').')'; + $sql .= ' AND pf.fk_paiement = '.((int) $object->id); + $resql = $db->query($sql); + if ($resql) { + $i = 0; + $num = $db->num_rows($resql); + + if ($num > 0) { + while ($i < $num) { + $objp = $db->fetch_object($resql); + + $invoice = new Facture($db); + + if ($invoice->fetch($objp->facid) <= 0) { + $error++; + setEventMessages($invoice->error, $invoice->errors, 'errors'); + break; + } + + if ($invoice->generateDocument($invoice->model_pdf, $outputlangs, $hidedetails, $hidedesc, $hideref) < 0) { + $error++; + setEventMessages($invoice->error, $invoice->errors, 'errors'); + break; + } + + $i++; } - - $i++; } + + $db->free($resql); + } else { + $error++; + setEventMessages($db->error, $db->errors, 'errors'); } + } - $db->free($resql); - } else { - $error++; - setEventMessages($db->error, $db->errors, 'errors'); + if (! $error) { + header('Location: '.$_SERVER['PHP_SELF'].'?id='.$object->id); + exit; } - } + } else { + $db->rollback(); - if (! $error) { - header('Location: '.$_SERVER['PHP_SELF'].'?id='.$object->id); - exit; + $langs->load("errors"); + setEventMessages($object->error, $object->errors, 'errors'); } - } else { - $db->rollback(); - - $langs->load("errors"); - setEventMessages($object->error, $object->errors, 'errors'); } -} -if ($action == 'setnum_paiement' && GETPOST('num_paiement') && $user->hasRight('facture', 'paiement')) { - $res = $object->update_num(GETPOST('num_paiement')); - if ($res === 0) { - setEventMessages($langs->trans('PaymentNumberUpdateSucceeded'), null, 'mesgs'); - } else { - setEventMessages($langs->trans('PaymentNumberUpdateFailed'), null, 'errors'); + if ($action == 'setnum_paiement' && GETPOST('num_paiement') && $user->hasRight('facture', 'paiement')) { + $res = $object->update_num(GETPOST('num_paiement')); + if ($res === 0) { + setEventMessages($langs->trans('PaymentNumberUpdateSucceeded'), null, 'mesgs'); + } else { + setEventMessages($langs->trans('PaymentNumberUpdateFailed'), null, 'errors'); + } } -} -if ($action == 'setdatep' && GETPOST('datepday') && $user->hasRight('facture', 'paiement')) { - $datepaye = dol_mktime(GETPOST('datephour', 'int'), GETPOST('datepmin', 'int'), GETPOST('datepsec', 'int'), GETPOST('datepmonth', 'int'), GETPOST('datepday', 'int'), GETPOST('datepyear', 'int')); - $res = $object->update_date($datepaye); - if ($res === 0) { - setEventMessages($langs->trans('PaymentDateUpdateSucceeded'), null, 'mesgs'); - } else { - setEventMessages($langs->trans('PaymentDateUpdateFailed'), null, 'errors'); + if ($action == 'setdatep' && GETPOST('datepday') && $user->hasRight('facture', 'paiement')) { + $datepaye = dol_mktime(GETPOST('datephour', 'int'), GETPOST('datepmin', 'int'), GETPOST('datepsec', 'int'), GETPOST('datepmonth', 'int'), GETPOST('datepday', 'int'), GETPOST('datepyear', 'int')); + $res = $object->update_date($datepaye); + if ($res === 0) { + setEventMessages($langs->trans('PaymentDateUpdateSucceeded'), null, 'mesgs'); + } else { + setEventMessages($langs->trans('PaymentDateUpdateFailed'), null, 'errors'); + } } -} -if ($action == 'createbankpayment' && $user->hasRight('facture', 'paiement')) { - $db->begin(); + if ($action == 'createbankpayment' && $user->hasRight('facture', 'paiement')) { + $db->begin(); - // Create the record into bank for the amount of payment $object - if (!$error) { - $label = '(CustomerInvoicePayment)'; - if (GETPOST('type') == Facture::TYPE_CREDIT_NOTE) { - $label = '(CustomerInvoicePaymentBack)'; // Refund of a credit note - } + // Create the record into bank for the amount of payment $object + if (!$error) { + $label = '(CustomerInvoicePayment)'; + if (GETPOST('type') == Facture::TYPE_CREDIT_NOTE) { + $label = '(CustomerInvoicePaymentBack)'; // Refund of a credit note + } - $bankaccountid = GETPOST('accountid', 'int'); - if ($bankaccountid > 0) { - $object->paiementcode = $object->type_code; - $object->amounts = $object->getAmountsArray(); + $bankaccountid = GETPOST('accountid', 'int'); + if ($bankaccountid > 0) { + $object->paiementcode = $object->type_code; + $object->amounts = $object->getAmountsArray(); - $result = $object->addPaymentToBank($user, 'payment', $label, $bankaccountid, '', ''); - if ($result < 0) { - setEventMessages($object->error, $object->errors, 'errors'); + $result = $object->addPaymentToBank($user, 'payment', $label, $bankaccountid, '', ''); + if ($result < 0) { + setEventMessages($object->error, $object->errors, 'errors'); + $error++; + } + } else { + setEventMessages($langs->trans("ErrorFieldRequired", $langs->transnoentitiesnoconv("BankAccount")), null, 'errors'); $error++; } - } else { - setEventMessages($langs->trans("ErrorFieldRequired", $langs->transnoentitiesnoconv("BankAccount")), null, 'errors'); - $error++; } - } - - if (!$error) { - $db->commit(); - } else { - $db->rollback(); + if (!$error) { + $db->commit(); + } else { + $db->rollback(); + } } } - /* * View */ @@ -492,6 +497,10 @@ print ''.$langs->trans('PayedByThisPayment').''; print ''.$langs->trans('RemainderToPay').''; print ''.$langs->trans('Status').''; + + $parameters = array(); + $reshook = $hookmanager->executeHooks('printFieldListTitle', $parameters, $object, $action); // Note that $action and $object may have been modified by hook + print "\n"; if ($num > 0) { @@ -554,6 +563,9 @@ // Status print ''.$invoice->getLibStatut(5, $alreadypayed).''; + $parameters = array('fk_paiement'=> (int) $object->id); + $reshook = $hookmanager->executeHooks('printFieldListValue', $parameters, $objp, $action); // Note that $action and $object may have been modified by hook + print "\n"; // If at least one invoice is paid, disable delete. INVOICE_CAN_DELETE_PAYMENT_EVEN_IF_INVOICE_CLOSED Can be use for maintenance purpose. Never use this in production diff --git a/htdocs/compta/paiement/cheque/card.php b/htdocs/compta/paiement/cheque/card.php index 9cc169ebd2863..9a12136acb91a 100644 --- a/htdocs/compta/paiement/cheque/card.php +++ b/htdocs/compta/paiement/cheque/card.php @@ -99,7 +99,7 @@ * Actions */ -if ($action == 'setdate' && $user->rights->banque->cheque) { +if ($action == 'setdate' && $user->hasRight('banque', 'cheque')) { $result = $object->fetch(GETPOST('id', 'int')); if ($result > 0) { $date = dol_mktime(0, 0, 0, GETPOST('datecreate_month', 'int'), GETPOST('datecreate_day', 'int'), GETPOST('datecreate_year', 'int')); @@ -113,7 +113,7 @@ } } -if ($action == 'setrefext' && $user->rights->banque->cheque) { +if ($action == 'setrefext' && $user->hasRight('banque', 'cheque')) { $result = $object->fetch(GETPOST('id', 'int')); if ($result > 0) { $ref_ext = GETPOST('ref_ext'); @@ -127,7 +127,7 @@ } } -if ($action == 'setref' && $user->rights->banque->cheque) { +if ($action == 'setref' && $user->hasRight('banque', 'cheque')) { $result = $object->fetch(GETPOST('id', 'int')); if ($result > 0) { $ref = GETPOST('ref'); @@ -141,7 +141,7 @@ } } -if ($action == 'create' && GETPOST("accountid", "int") > 0 && $user->rights->banque->cheque) { +if ($action == 'create' && GETPOST("accountid", "int") > 0 && $user->hasRight('banque', 'cheque')) { if (GETPOSTISARRAY('toRemise')) { $object->type = $type; $arrayofid = GETPOST('toRemise', 'array:int'); @@ -175,7 +175,7 @@ } } -if ($action == 'remove' && $id > 0 && GETPOST("lineid", 'int') > 0 && $user->rights->banque->cheque) { +if ($action == 'remove' && $id > 0 && GETPOST("lineid", 'int') > 0 && $user->hasRight('banque', 'cheque')) { $object->id = $id; $result = $object->removeCheck(GETPOST("lineid", "int")); if ($result === 0) { @@ -186,7 +186,7 @@ } } -if ($action == 'confirm_delete' && $confirm == 'yes' && $user->rights->banque->cheque) { +if ($action == 'confirm_delete' && $confirm == 'yes' && $user->hasRight('banque', 'cheque')) { $object->id = $id; $result = $object->delete(); if ($result == 0) { @@ -197,7 +197,7 @@ } } -if ($action == 'confirm_validate' && $confirm == 'yes' && $user->rights->banque->cheque) { +if ($action == 'confirm_validate' && $confirm == 'yes' && $user->hasRight('banque', 'cheque')) { $result = $object->fetch($id); $result = $object->validate($user); if ($result >= 0) { @@ -221,7 +221,7 @@ } } -if ($action == 'confirm_reject_check' && $confirm == 'yes' && $user->rights->banque->cheque) { +if ($action == 'confirm_reject_check' && $confirm == 'yes' && $user->hasRight('banque', 'cheque')) { $reject_date = dol_mktime(0, 0, 0, GETPOST('rejectdate_month'), GETPOST('rejectdate_day'), GETPOST('rejectdate_year')); $rejected_check = GETPOST('bankid', 'int'); @@ -238,7 +238,7 @@ } } -if ($action == 'builddoc' && $user->rights->banque->cheque) { +if ($action == 'builddoc' && $user->hasRight('banque', 'cheque')) { $result = $object->fetch($id); // Save last template used to generate document @@ -262,7 +262,7 @@ header('Location: '.$_SERVER["PHP_SELF"].'?id='.$object->id.(empty($conf->global->MAIN_JUMP_TAG) ? '' : '#builddoc')); exit; } -} elseif ($action == 'remove_file' && $user->rights->banque->cheque) { +} elseif ($action == 'remove_file' && $user->hasRight('banque', 'cheque')) { // Remove file in doc form if ($object->fetch($id) > 0) { include_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php'; @@ -582,7 +582,7 @@ print '
'; print '
'; - if ($user->rights->banque->cheque) { + if ($user->hasRight('banque', 'cheque')) { print ''; } else { print ''.$langs->trans('NewCheckDepositOn', $account_label).''; @@ -794,11 +794,11 @@ print '
'; -if ($user->socid == 0 && !empty($object->id) && $object->statut == 0 && $user->rights->banque->cheque) { +if ($user->socid == 0 && !empty($object->id) && $object->statut == 0 && $user->hasRight('banque', 'cheque')) { print ''.$langs->trans('Validate').''; } -if ($user->socid == 0 && !empty($object->id) && $user->rights->banque->cheque) { +if ($user->socid == 0 && !empty($object->id) && $user->hasRight('banque', 'cheque')) { print dolGetButtonAction($langs->trans("Delete"), '', 'delete', $_SERVER["PHP_SELF"].'?id='.$object->id.'&action=delete&token='.newToken(), 'delete', $permissiontodelete); } print '
'; diff --git a/htdocs/compta/paiement/cheque/class/remisecheque.class.php b/htdocs/compta/paiement/cheque/class/remisecheque.class.php index 1341f0c4efbe8..e8723f271c7a4 100644 --- a/htdocs/compta/paiement/cheque/class/remisecheque.class.php +++ b/htdocs/compta/paiement/cheque/class/remisecheque.class.php @@ -401,16 +401,16 @@ public function getNextNumRef($mode = 'next') // Clean parameters (if not defined or using deprecated value) if (empty($conf->global->CHEQUERECEIPTS_ADDON)) { $conf->global->CHEQUERECEIPTS_ADDON = 'mod_chequereceipt_mint'; - } elseif ($conf->global->CHEQUERECEIPTS_ADDON == 'thyme') { + } elseif (getDolGlobalString('CHEQUERECEIPTS_ADDON') == 'thyme') { $conf->global->CHEQUERECEIPTS_ADDON = 'mod_chequereceipt_thyme'; - } elseif ($conf->global->CHEQUERECEIPTS_ADDON == 'mint') { + } elseif (getDolGlobalString('CHEQUERECEIPTS_ADDON') == 'mint') { $conf->global->CHEQUERECEIPTS_ADDON = 'mod_chequereceipt_mint'; } if (!empty($conf->global->CHEQUERECEIPTS_ADDON)) { $mybool = false; - $file = $conf->global->CHEQUERECEIPTS_ADDON.".php"; + $file = getDolGlobalString('CHEQUERECEIPTS_ADDON') . ".php"; $classname = $conf->global->CHEQUERECEIPTS_ADDON; // Include file with class @@ -427,8 +427,8 @@ public function getNextNumRef($mode = 'next') // For compatibility if (!$mybool) { - $file = $conf->global->CHEQUERECEIPTS_ADDON.".php"; - $classname = "mod_chequereceipt_".$conf->global->CHEQUERECEIPTS_ADDON; + $file = getDolGlobalString('CHEQUERECEIPTS_ADDON') . ".php"; + $classname = "mod_chequereceipt_" . getDolGlobalString('CHEQUERECEIPTS_ADDON'); $classname = preg_replace('/\-.*$/', '', $classname); // Include file with class foreach ($conf->file->dol_document_root as $dirroot) { @@ -819,7 +819,7 @@ public function rejectCheck($bank_id, $rejection_date) public function set_date($user, $date) { // phpcs:enable - if ($user->rights->banque->cheque) { + if ($user->hasRight('banque', 'cheque')) { $sql = "UPDATE ".MAIN_DB_PREFIX."bordereau_cheque"; $sql .= " SET date_bordereau = ".($date ? "'".$this->db->idate($date)."'" : 'null'); $sql .= " WHERE rowid = ".((int) $this->id); @@ -849,7 +849,7 @@ public function set_date($user, $date) public function set_number($user, $ref) { // phpcs:enable - if ($user->rights->banque->cheque) { + if ($user->hasRight('banque', 'cheque')) { $sql = "UPDATE ".MAIN_DB_PREFIX."bordereau_cheque"; $sql .= " SET ref = '".$this->db->escape($ref)."'"; $sql .= " WHERE rowid = ".((int) $this->id); @@ -1010,8 +1010,9 @@ public function getKanbanView($option = '', $arraydata = null) $return .= ''; $return .= '
'; $return .= ''.(method_exists($this, 'getNomUrl') ? $this->getNomUrl() : $this->ref).''; - $return .= ''; - + if ($selected >= 0) { + $return .= ''; + } if (property_exists($this, 'date_bordereau')) { $return .= '
'.$langs->trans("DateCreation").' : '.dol_print_date($this->db->jdate($this->date_bordereau), 'day').''; } diff --git a/htdocs/compta/paiement/cheque/list.php b/htdocs/compta/paiement/cheque/list.php index 6641ddbdc1a5c..52ed7a2b3c77a 100644 --- a/htdocs/compta/paiement/cheque/list.php +++ b/htdocs/compta/paiement/cheque/list.php @@ -42,6 +42,14 @@ $result = restrictedArea($user, 'banque', '', ''); $search_ref = GETPOST('search_ref', 'alpha'); +$search_date_startday = GETPOST('search_date_startday', 'int'); +$search_date_startmonth = GETPOST('search_date_startmonth', 'int'); +$search_date_startyear = GETPOST('search_date_startyear', 'int'); +$search_date_endday = GETPOST('search_date_endday', 'int'); +$search_date_endmonth = GETPOST('search_date_endmonth', 'int'); +$search_date_endyear = GETPOST('search_date_endyear', 'int'); +$search_date_start = dol_mktime(0, 0, 0, $search_date_startmonth, $search_date_startday, $search_date_startyear); // Use tzserver +$search_date_end = dol_mktime(23, 59, 59, $search_date_endmonth, $search_date_endday, $search_date_endyear); $search_account = GETPOST('search_account', 'int'); $search_amount = GETPOST('search_amount', 'alpha'); $mode = GETPOST('mode', 'alpha'); @@ -63,8 +71,6 @@ $sortfield = "bc.date_bordereau"; } -$year = GETPOST("year"); -$month = GETPOST("month"); $optioncss = GETPOST('optioncss', 'alpha'); $view = GETPOST("view", 'alpha'); @@ -83,18 +89,48 @@ $arrayoflabels[$key] = $labelval; } +$arrayfields = array( + 'bc.ref' => array('label'=>"Ref", 'checked'=>1, 'position'=>10), + 'bc.type' => array('label'=>"Type", 'checked'=>1, 'position'=>20), + 'bc.date_bordereau' => array('label'=>"DateCreation", 'checked'=>1, 'position'=>30), + 'ba.label' => array('label'=>"Account", 'checked'=>1, 'position'=>40), + 'bc.nbcheque' => array('label'=>"NbOfCheques", 'checked'=>1, 'position'=>50), + 'bc.amount' => array('label'=>"Amount", 'checked'=>1, 'position'=>60), + 'bc.statut' => array('label'=>"Status", 'checked'=>1, 'position'=>70) +); +$arrayfields = dol_sort_array($arrayfields, 'position'); + +// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context +$hookmanager->initHooks(array('chequelist')); +$object = new RemiseCheque($db); /* * Actions */ -// If click on purge search criteria ? -if (GETPOST('button_removefilter_x', 'alpha') || GETPOST('button_removefilter.x', 'alpha') || GETPOST('button_removefilter', 'alpha')) { // All tests are required to be compatible with all browsers - $search_ref = ''; - $search_amount = ''; - $search_account = ''; - $year = ''; - $month = ''; +$parameters = array('socid'=>$socid); +$reshook = $hookmanager->executeHooks('doActions', $parameters, $object, $action); // Note that $action and $object may have been modified by some hooks +if ($reshook < 0) { + setEventMessages($hookmanager->error, $hookmanager->errors, 'errors'); +} + +if (empty($reshook)) { + include DOL_DOCUMENT_ROOT.'/core/actions_changeselectedfields.inc.php'; + + // All tests are required to be compatible with all browsers + if (GETPOST('button_removefilter_x', 'alpha') || GETPOST('button_removefilter.x', 'alpha') || GETPOST('button_removefilter', 'alpha')) { + $search_ref = ''; + $search_amount = ''; + $search_account = ''; + $search_date_startday = ''; + $search_date_startmonth = ''; + $search_date_startyear = ''; + $search_date_endday = ''; + $search_date_endmonth = ''; + $search_date_endyear = ''; + $search_date_start = ''; + $search_date_end = ''; + } } @@ -103,12 +139,19 @@ * View */ +$form = new Form($db); + llxHeader('', $langs->trans("ChequeDeposits")); $sql = "SELECT bc.rowid, bc.ref, bc.date_bordereau,"; $sql .= " bc.nbcheque, bc.amount, bc.statut, bc.type,"; $sql .= " ba.rowid as bid, ba.label"; +// Add fields from hooks +$parameters = array(); +$reshook = $hookmanager->executeHooks('printFieldListSelect', $parameters); // Note that $action and $object may have been modified by hook +$sql .= $hookmanager->resPrint; + $sqlfields = $sql; // $sql fields to remove for count total $sql .= " FROM ".MAIN_DB_PREFIX."bordereau_cheque as bc,"; @@ -126,7 +169,17 @@ if ($search_amount) { $sql .= natural_search("bc.amount", price2num($search_amount)); } -$sql .= dolSqlDateFilter('bc.date_bordereau', 0, $month, $year); +if ($search_date_start) { + $sql .= " AND bc.date_bordereau >= '" . $db->idate($search_date_start) . "'"; +} +if ($search_date_end) { + $sql .= " AND bc.date_bordereau <= '" . $db->idate($search_date_end) . "'"; +} + +// Add where from hooks +$parameters = array(); +$reshook = $hookmanager->executeHooks('printFieldListWhere', $parameters); // Note that $action and $object may have been modified by hook +$sql .= $hookmanager->resPrint; // Count total nb of records $nbtotalofrecords = ''; @@ -149,6 +202,7 @@ $db->free($resql); } +// Complete request and execute it with limit $sql .= $db->order($sortfield, $sortorder); if ($limit) { $sql .= $db->plimit($limit + 1, $offset); @@ -166,9 +220,33 @@ if (!empty($contextpage) && $contextpage != $_SERVER["PHP_SELF"]) { $param .= '&contextpage='.$contextpage; } + if ($search_date_startday) { + $param .= '&search_date_startday='.urlencode($search_date_startday); + } + if ($search_date_startmonth) { + $param .= '&search_date_startmonth='.urlencode($search_date_startmonth); + } + if ($search_date_startyear) { + $param .= '&search_date_startyear='.urlencode($search_date_startyear); + } + if ($search_date_endday) { + $param .= '&search_date_endday='.urlencode($search_date_endday); + } + if ($search_date_endmonth) { + $param .= '&search_date_endmonth='.urlencode($search_date_endmonth); + } + if ($search_date_endyear) { + $param .= '&search_date_endyear='.urlencode($search_date_endyear); + } if ($limit > 0 && $limit != $conf->liste_limit) { $param .= '&limit='.$limit; } + if ($search_amount != '') { + $param .= '&search_amount='.urlencode($search_amount); + } + if ($search_account > 0) { + $param .= '&search_account='.urlencode($search_account); + } $url = DOL_URL_ROOT.'/compta/paiement/cheque/card.php?action=new'; if (!empty($socid)) { @@ -177,7 +255,8 @@ $newcardbutton = ''; $newcardbutton .= dolGetButtonTitle($langs->trans('ViewList'), '', 'fa fa-bars imgforviewmode', $_SERVER["PHP_SELF"].'?mode=common'.preg_replace('/(&|\?)*mode=[^&]+/', '', $param), '', ((empty($mode) || $mode == 'common') ? 2 : 1), array('morecss'=>'reposition')); $newcardbutton .= dolGetButtonTitle($langs->trans('ViewKanban'), '', 'fa fa-th-list imgforviewmode', $_SERVER["PHP_SELF"].'?mode=kanban'.preg_replace('/(&|\?)*mode=[^&]+/', '', $param), '', ($mode == 'kanban' ? 2 : 1), array('morecss'=>'reposition')); - $newcardbutton .= dolGetButtonTitle($langs->trans('NewCheckDeposit'), '', 'fa fa-plus-circle', $url, '', $user->rights->banque->cheque); + $newcardbutton .= dolGetButtonTitleSeparator(); + $newcardbutton .= dolGetButtonTitle($langs->trans('NewCheckDeposit'), '', 'fa fa-plus-circle', $url, '', $user->hasRight('banque', 'cheque')); print '
'; if ($optioncss != '') { @@ -194,54 +273,157 @@ print_barre_liste($langs->trans("MenuChequeDeposits"), $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, '', $num, $nbtotalofrecords, 'bank_account', 0, $newcardbutton, '', $limit); - $moreforfilter = ''; + $varpage = empty($contextpage) ? $_SERVER["PHP_SELF"] : $contextpage; + $selectedfields = $form->multiSelectArrayWithCheckbox('selectedfields', $arrayfields, $varpage, getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN', '')); // This also change content of $arrayfields + $massactionbutton = ''; + if ($massactionbutton) { + $selectedfields .= $form->showCheckAddButtons('checkforselect', 1); + } + $moreforfilter = ''; print '
'; - print ''."\n"; + print '
'; // Fields title search - print ''; - print ''; - // Type - print ''; - print ''; - print ''; - print ''; - print ''; - print ''; - print ''; + // -------------------------------------------------------------------- + print ''; + + // Action column + if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { + print ''; + } + + // Filter: Ref + if (!empty($arrayfields['bc.ref']['checked'])) { + print ''; + } + + // Filter: Type + if (!empty($arrayfields['bc.type']['checked'])) { + print ''; + } + + // Filter: Date + if (!empty($arrayfields['bc.date_bordereau']['checked'])) { + print ''; + } + + // Filter: Bank account + if (!empty($arrayfields['ba.label']['checked'])) { + print ''; + } + + // Filter: Number of cheques + if (!empty($arrayfields['bc.nbcheque']['checked'])) { + print ''; + } + + // Filter: Amount + if (!empty($arrayfields['bc.amount']['checked'])) { + print ''; + } + + // Filter: Status (only placeholder) + if (!empty($arrayfields['bc.statut']['checked'])) { + print ''; + } + + // Fields from hook + $parameters = array('arrayfields'=>$arrayfields); + $reshook = $hookmanager->executeHooks('printFieldListOption', $parameters); // Note that $action and $object may have been modified by hook + print $hookmanager->resPrint; + + // Action column + if (!getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { + print ''; + } + print "\n"; + $totalarray = array(); + $totalarray['nbfield'] = 0; + + // Fields title label + // -------------------------------------------------------------------- print ''; - print_liste_field_titre("Ref", $_SERVER["PHP_SELF"], "bc.ref", "", $param, "", $sortfield, $sortorder); - print_liste_field_titre("Type", $_SERVER["PHP_SELF"], "bc.type", "", $param, "", $sortfield, $sortorder); - print_liste_field_titre("DateCreation", $_SERVER["PHP_SELF"], "bc.date_bordereau", "", $param, 'align="center"', $sortfield, $sortorder); - print_liste_field_titre("Account", $_SERVER["PHP_SELF"], "ba.label", "", $param, "", $sortfield, $sortorder); - print_liste_field_titre("NbOfCheques", $_SERVER["PHP_SELF"], "bc.nbcheque", "", $param, 'class="right"', $sortfield, $sortorder); - print_liste_field_titre("Amount", $_SERVER["PHP_SELF"], "bc.amount", "", $param, 'class="right"', $sortfield, $sortorder); - print_liste_field_titre("Status", $_SERVER["PHP_SELF"], "bc.statut", "", $param, 'class="right"', $sortfield, $sortorder); - print_liste_field_titre(''); + if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { + print_liste_field_titre($selectedfields, $_SERVER["PHP_SELF"], "", '', '', 'align="center"', $sortfield, $sortorder, 'maxwidthsearch '); + $totalarray['nbfield']++; + } + if (!empty($arrayfields['bc.ref']['checked'])) { + print_liste_field_titre($arrayfields['bc.ref']['label'], $_SERVER["PHP_SELF"], "bc.ref", "", $param, "", $sortfield, $sortorder); + $totalarray['nbfield']++; + } + if (!empty($arrayfields['bc.type']['checked'])) { + print_liste_field_titre($arrayfields['bc.type']['label'], $_SERVER["PHP_SELF"], "bc.type", "", $param, "", $sortfield, $sortorder); + $totalarray['nbfield']++; + } + if (!empty($arrayfields['bc.date_bordereau']['checked'])) { + print_liste_field_titre($arrayfields['bc.date_bordereau']['label'], $_SERVER["PHP_SELF"], "bc.date_bordereau", "", $param, 'align="center"', $sortfield, $sortorder); + $totalarray['nbfield']++; + } + if (!empty($arrayfields['ba.label']['checked'])) { + print_liste_field_titre($arrayfields['ba.label']['label'], $_SERVER["PHP_SELF"], "ba.label", "", $param, "", $sortfield, $sortorder); + $totalarray['nbfield']++; + } + if (!empty($arrayfields['bc.nbcheque']['checked'])) { + print_liste_field_titre($arrayfields['bc.nbcheque']['label'], $_SERVER["PHP_SELF"], "bc.nbcheque", "", $param, 'class="right"', $sortfield, $sortorder); + $totalarray['nbfield']++; + } + if (!empty($arrayfields['bc.amount']['checked'])) { + print_liste_field_titre($arrayfields['bc.amount']['label'], $_SERVER["PHP_SELF"], "bc.amount", "", $param, 'class="right"', $sortfield, $sortorder); + $totalarray['nbfield']++; + } + if (!empty($arrayfields['bc.statut']['checked'])) { + print_liste_field_titre($arrayfields['bc.statut']['label'], $_SERVER["PHP_SELF"], "bc.statut", "", $param, 'class="right"', $sortfield, $sortorder); + $totalarray['nbfield']++; + } + + // Hook fields + $parameters = array('arrayfields'=>$arrayfields, 'param'=>$param, 'sortfield'=>$sortfield, 'sortorder'=>$sortorder); + $reshook = $hookmanager->executeHooks('printFieldListTitle', $parameters); // Note that $action and $object may have been modified by hook + print $hookmanager->resPrint; + + if (!getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { + print_liste_field_titre($selectedfields, $_SERVER["PHP_SELF"], "", '', '', 'align="center"', $sortfield, $sortorder, 'maxwidthsearch '); + $totalarray['nbfield']++; + } + print "\n"; + $checkedCount = 0; + foreach ($arrayfields as $column) { + if ($column['checked']) { + $checkedCount++; + } + } + if ($num > 0) { $savnbfield = 8; + $i = 0; + $totalarray = array(); + $totalarray['nbfield'] = 0; $imaxinloop = ($limit ? min($num, $limit) : $num); while ($i < $imaxinloop) { $objp = $db->fetch_object($resql); @@ -272,48 +454,111 @@ } else { print ''; + // Action column + if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { + print ''; + if (!$i) { + $totalarray['nbfield']++; + } + } + // Num ref cheque - print ''; + if (!empty($arrayfields['bc.ref']['checked'])) { + print ''; + if (!$i) { + $totalarray['nbfield']++; + } + } // Type - $labelpaymentmode = ($langs->transnoentitiesnoconv("PaymentType".$checkdepositstatic->type) != "PaymentType".$checkdepositstatic->type ? $langs->transnoentitiesnoconv("PaymentType".$checkdepositstatic->type) : $checkdepositstatic->type); - print ''; + if (!empty($arrayfields['bc.type']['checked'])) { + $labelpaymentmode = ($langs->transnoentitiesnoconv("PaymentType".$checkdepositstatic->type) != "PaymentType".$checkdepositstatic->type ? $langs->transnoentitiesnoconv("PaymentType".$checkdepositstatic->type) : $checkdepositstatic->type); + print ''; + if (!$i) { + $totalarray['nbfield']++; + } + } // Date - print ''; + if (!empty($arrayfields['bc.date_bordereau']['checked'])) { + print ''; + if (!$i) { + $totalarray['nbfield']++; + } + } // Bank - print ''; + if (!$i) { + $totalarray['nbfield']++; + } } - print ''; // Number of cheques - print ''; + if (!empty($arrayfields['bc.nbcheque']['checked'])) { + print ''; + if (!$i) { + $totalarray['nbfield']++; + } + } // Amount - print ''; + if (!empty($arrayfields['bc.amount']['checked'])) { + print ''; + if (!$i) { + $totalarray['nbfield']++; + } + if (empty($totalarray['val']['amount'])) { + $totalarray['val']['amount'] = $objp->amount; + } else { + $totalarray['val']['amount'] += $objp->amount; + } + } - // Statut - print ''; + // Status + if (!empty($arrayfields['bc.statut']['checked'])) { + print ''; + if (!$i) { + $totalarray['nbfield']++; + } + } - print ''; + // Action column + if (!getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { + print ''; + if (!$i) { + $totalarray['nbfield']++; + } + } print "\n"; } $i++; } } else { - print ''; - print '"; - print ''; + // If no record found + if ($num == 0) { + $colspan = 1; + foreach ($arrayfields as $key => $val) { + if (!empty($val['checked'])) { + $colspan++; + } + } + print ''; + print '"; + print ''; + } } print "
'; - print ''; - print ''; - print ''; - if (!empty($conf->global->MAIN_LIST_FILTER_ON_DAY)) { - print ''; - } - print ''; - print $formother->selectyear($year ? $year : -1, 'year', 1, 20, 5); - print ''; - $form->select_comptes($search_account, 'search_account', 0, '', 1); - print ' '; - print ''; - print ''; - $searchpicto = $form->showFilterAndCheckAddButtons(0); - print $searchpicto; - print '
'; + $searchpicto = $form->showFilterButtons('left'); + print $searchpicto; + print ''; + print ''; + print ''; + print ''; + print '
'; + print $form->selectDate($search_date_start ? $search_date_start : -1, 'search_date_start', 0, 0, 1, '', 1, 0, 0, '', '', '', '', 1, '', $langs->trans('From')); + print '
'; + print '
'; + print $form->selectDate($search_date_end ? $search_date_end : -1, 'search_date_end', 0, 0, 1, '', 1, 0, 0, '', '', '', '', 1, '', $langs->trans('to')); + print '
'; + print '
'; + $form->select_comptes($search_account, 'search_account', 0, '', 1); + print ' '; + print ''; + print ''; + $searchpicto = $form->showFilterButtons(); + print $searchpicto; + print '
'; - print $checkdepositstatic->getNomUrl(1); - print ''; + print $checkdepositstatic->getNomUrl(1); + print ''.dol_escape_htmltag($labelpaymentmode).''.dol_escape_htmltag($labelpaymentmode).''.dol_print_date($db->jdate($objp->date_bordereau), 'dayhour', 'tzuser').''.dol_print_date($db->jdate($objp->date_bordereau), 'dayhour', 'tzuser').''; - if ($objp->bid) { - print ''.img_object($langs->trans("ShowAccount"), 'account').' '.$objp->label.''; - } else { - print ' '; + if (!empty($arrayfields['ba.label']['checked'])) { + print ''; + if ($objp->bid) { + print ''.img_object($langs->trans("ShowAccount"), 'account').' '.$objp->label.''; + } else { + print ' '; + } + print ''.$objp->nbcheque.''.$objp->nbcheque.''.price($objp->amount).''.price($objp->amount).''; - print $checkdepositstatic->LibStatut($objp->statut, 5); - print ''; + print $checkdepositstatic->LibStatut($objp->statut, 5); + print '
'.$langs->trans("None")."
' . $langs->trans("NoRecordFound") . "
"; print "
"; diff --git a/htdocs/compta/paiement/class/paiement.class.php b/htdocs/compta/paiement/class/paiement.class.php index 54f9f4551347b..6fd6d4380023b 100644 --- a/htdocs/compta/paiement/class/paiement.class.php +++ b/htdocs/compta/paiement/class/paiement.class.php @@ -328,7 +328,7 @@ public function create($user, $closepaidinvoices = 0, $thirdparty = null) return -1; } - dol_syslog(get_class($this)."::create insert paiement", LOG_DEBUG); + dol_syslog(get_class($this)."::create insert paiement (closepaidinvoices = ".$closepaidinvoices.")", LOG_DEBUG); $this->db->begin(); @@ -494,6 +494,8 @@ public function create($user, $closepaidinvoices = 0, $thirdparty = null) $result = $invoice->generateDocument($invoice->model_pdf, $outputlangs, $hidedetails, $hidedesc, $hideref); + dol_syslog(get_class($this).'::create Regenerate end result='.$result, LOG_DEBUG); + if ($result < 0) { $this->error = $invoice->error; $this->errors = $invoice->errors; @@ -509,6 +511,8 @@ public function create($user, $closepaidinvoices = 0, $thirdparty = null) } } + dol_syslog(get_class($this).'::create Now we call the triggers if no error (error = '.$error.')', LOG_DEBUG); + if (!$error) { // All payments into $this->amounts were recorded without errors // Appel des triggers $result = $this->call_trigger('PAYMENT_CUSTOMER_CREATE', $user); @@ -1012,17 +1016,11 @@ public function info($id) if ($result) { if ($this->db->num_rows($result)) { $obj = $this->db->fetch_object($result); + $this->id = $obj->rowid; - if ($obj->fk_user_creat) { - $cuser = new User($this->db); - $cuser->fetch($obj->fk_user_creat); - $this->user_creation = $cuser; - } - if ($obj->fk_user_modif) { - $muser = new User($this->db); - $muser->fetch($obj->fk_user_modif); - $this->user_modification = $muser; - } + + $this->user_creation_id = $obj->fk_user_creat; + $this->user_modification_id = $obj->fk_user_modif; $this->date_creation = $this->db->jdate($obj->datec); $this->date_modification = $this->db->jdate($obj->tms); } @@ -1114,16 +1112,16 @@ public function getNextNumRef($soc, $mode = 'next') // Clean parameters (if not defined or using deprecated value) if (empty($conf->global->PAYMENT_ADDON)) { $conf->global->PAYMENT_ADDON = 'mod_payment_cicada'; - } elseif ($conf->global->PAYMENT_ADDON == 'ant') { + } elseif (getDolGlobalString('PAYMENT_ADDON') == 'ant') { $conf->global->PAYMENT_ADDON = 'mod_payment_ant'; - } elseif ($conf->global->PAYMENT_ADDON == 'cicada') { + } elseif (getDolGlobalString('PAYMENT_ADDON') == 'cicada') { $conf->global->PAYMENT_ADDON = 'mod_payment_cicada'; } if (!empty($conf->global->PAYMENT_ADDON)) { $mybool = false; - $file = $conf->global->PAYMENT_ADDON.".php"; + $file = getDolGlobalString('PAYMENT_ADDON') . ".php"; $classname = $conf->global->PAYMENT_ADDON; // Include file with class @@ -1140,8 +1138,8 @@ public function getNextNumRef($soc, $mode = 'next') // For compatibility if (!$mybool) { - $file = $conf->global->PAYMENT_ADDON.".php"; - $classname = "mod_payment_".$conf->global->PAYMENT_ADDON; + $file = getDolGlobalString('PAYMENT_ADDON') . ".php"; + $classname = "mod_payment_" . getDolGlobalString('PAYMENT_ADDON'); $classname = preg_replace('/\-.*$/', '', $classname); // Include file with class foreach ($conf->file->dol_document_root as $dirroot) { @@ -1400,4 +1398,17 @@ public function fetch_thirdparty($force_thirdparty_id = 0) return parent::fetch_thirdparty($force_thirdparty_id); } + + + /** + * Return if payment is reconciled + * + * @return boolean True if payment is reconciled + */ + public function isReconciled() + { + $accountline = new AccountLine($this->db); + $accountline->fetch($this->bank_line); + return $accountline->rappro; + } } diff --git a/htdocs/compta/paiement/list.php b/htdocs/compta/paiement/list.php index 3b455d93ce806..6e7e3090b1ec6 100644 --- a/htdocs/compta/paiement/list.php +++ b/htdocs/compta/paiement/list.php @@ -5,7 +5,7 @@ * Copyright (C) 2013 Cédric Salvador * Copyright (C) 2015 Jean-François Ferry * Copyright (C) 2015 Juanjo Menent - * Copyright (C) 2017-2021 Alexandre Spangaro + * Copyright (C) 2017-2023 Alexandre Spangaro * Copyright (C) 2018-2021 Ferran Marcet * Copyright (C) 2018 Charlene Benke * Copyright (C) 2020 Tobias Sekan @@ -205,11 +205,11 @@ $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."paiement_facture as pf ON p.rowid = pf.fk_paiement"; $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."facture as f ON pf.fk_facture = f.rowid"; $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."societe as s ON f.fk_soc = s.rowid"; - if (empty($user->rights->societe->client->voir) && !$socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."societe_commerciaux as sc ON s.rowid = sc.fk_soc"; } $sql .= " WHERE p.entity IN (".getEntity('invoice').")"; - if (empty($user->rights->societe->client->voir) && !$socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= " AND sc.fk_user = ".((int) $user->id); } if ($socid > 0) { @@ -368,7 +368,7 @@ } $varpage = empty($contextpage) ? $_SERVER["PHP_SELF"] : $contextpage; -$selectedfields = $form->multiSelectArrayWithCheckbox('selectedfields', $arrayfields, $varpage); // This also change content of $arrayfields +$selectedfields = $form->multiSelectArrayWithCheckbox('selectedfields', $arrayfields, $varpage, getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN', '')); // This also change content of $arrayfields $massactionbutton = ''; if ($massactionbutton) { $selectedfields .= $form->showCheckAddButtons('checkforselect', 1); @@ -378,10 +378,19 @@ print '
'; print ''; +// Fields title search +// -------------------------------------------------------------------- print ''; +// Action column +if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { + print ''; +} + // Filters: Lines (placeholder) -print ''; if (!empty($conf->global->MAIN_VIEW_LINE_NUMBER_IN_LIST)) { print ''; @@ -458,13 +467,22 @@ $reshook = $hookmanager->executeHooks('printFieldListOption', $parameters); // Note that $action and $object may have been modified by hook print $hookmanager->resPrint; -print ''; +// Action column +if (empty($conf->global->MAIN_CHECKBOX_LEFT_COLUMN)) { + print ''; +} print ""; +// Fields title label +// -------------------------------------------------------------------- print ''; +if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { + print_liste_field_titre($selectedfields, $_SERVER["PHP_SELF"], "", '', '', 'align="center"', $sortfield, $sortorder, 'maxwidthsearch '); +} if (!empty($conf->global->MAIN_VIEW_LINE_NUMBER_IN_LIST)) { print_liste_field_titre('#', $_SERVER['PHP_SELF'], '', '', $param, '', $sortfield, $sortorder); } @@ -501,7 +519,10 @@ $reshook = $hookmanager->executeHooks('printFieldListTitle', $parameters); // Note that $action and $object may have been modified by hook print $hookmanager->resPrint; -print_liste_field_titre($selectedfields, $_SERVER["PHP_SELF"], '', '', '', 'align="center"', $sortfield, $sortorder, 'maxwidthsearch '); +if (!getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { + print_liste_field_titre($selectedfields, $_SERVER["PHP_SELF"], "", '', '', 'align="center"', $sortfield, $sortorder, 'maxwidthsearch '); +} + print ""; $checkedCount = 0; @@ -526,6 +547,14 @@ print ''; + // Action column + if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { + print ''; + if (!$i) { + $totalarray['nbfield']++; + } + } + // No if (!empty($conf->global->MAIN_VIEW_LINE_NUMBER_IN_LIST)) { print ''; @@ -644,10 +673,12 @@ } } - // Buttons - print ''; - if (!$i) { - $totalarray['nbfield']++; + // Action column + if (!getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { + print ''; + if (!$i) { + $totalarray['nbfield']++; + } } print ''; diff --git a/htdocs/compta/paiement/rapport.php b/htdocs/compta/paiement/rapport.php index 9a114c9a1195f..55b9753cf72ea 100644 --- a/htdocs/compta/paiement/rapport.php +++ b/htdocs/compta/paiement/rapport.php @@ -40,7 +40,7 @@ } $dir = $conf->facture->dir_output.'/payments'; -if (empty($user->rights->societe->client->voir) || $socid) { +if (!$user->hasRight('societe', 'client', 'voir') || $socid) { $dir .= '/private/'.$user->id; // If user has no permission to see all, output dir is specific to user } diff --git a/htdocs/compta/paiement_charge.php b/htdocs/compta/paiement_charge.php index 4ae310fe42159..b1a120b1df95f 100644 --- a/htdocs/compta/paiement_charge.php +++ b/htdocs/compta/paiement_charge.php @@ -30,7 +30,7 @@ require_once DOL_DOCUMENT_ROOT.'/compta/bank/class/account.class.php'; // Load translation files required by the page -$langs->load("bills"); +$langs->loadLangs(array("banks", "bills", "compta")); $chid = GETPOST("id", 'int'); $action = GETPOST('action', 'aZ09'); @@ -208,7 +208,8 @@ print ''; print '\n"; print ''; @@ -216,18 +217,20 @@ print ''; print ''; // Number print ''; - print ''."\n"; + print ''."\n"; print ''; print ''; - print ''; + print ''; print ''; print '
'; + $searchpicto = $form->showFilterButtons('left'); + print $searchpicto; + print '
'; print ''; -print $form->showFilterAndCheckAddButtons(0); -print ''; + $searchpicto = $form->showFilterButtons(); + print $searchpicto; + print '
'.(($offset * $limit) + $i).'
'.$langs->trans("PaymentMode").''; - $form->select_types_paiements(GETPOSTISSET("paiementtype") ? GETPOST("paiementtype") : $charge->paiementtype, "paiementtype"); + print img_picto('', 'bank', 'class="pictofixedwidth"'); + print $form->select_types_paiements(GETPOSTISSET("paiementtype") ? GETPOST("paiementtype") : $charge->paiementtype, "paiementtype", '', 0, 1, 0, 0, 1, 'maxwidth500 widthcentpercentminusxx', 1); print "
'.$langs->trans('AccountToDebit').''; print img_picto('', 'bank_account', 'class="pictofixedwidth"'); - $form->select_comptes(GETPOSTISSET("accountid") ? GETPOST("accountid", 'int') : $charge->accountid, "accountid", 0, '', 2); // Show opend bank account list + print $form->select_comptes(GETPOSTISSET("accountid") ? GETPOST("accountid", 'int') : $charge->accountid, "accountid", 0, '', 2, '', 0, 'maxwidth500 widthcentpercentminusx', 1); // Show opend bank account list print '
'.$langs->trans('Numero'); - print ' ('.$langs->trans("ChequeOrTransferNumber").')'; + if (empty($conf->dol_optimize_smallscreen)) { + print ' ('.$langs->trans("ChequeOrTransferNumber").')'; + } print '
'.$langs->trans("Comments").'
'; @@ -240,6 +243,7 @@ $num = 1; $i = 0; + print '
'; // You can use div-table-responsive-no-min if you dont need reserved height for your table print ''; print ''; //print ''; @@ -265,13 +269,13 @@ print "\n"; } - print '"; + print '"; - print '"; + print '"; - print '"; + print '"; - print '
'.$langs->trans("SocialContribution").'!!!'.price($objp->amount)."'.price($objp->amount)."'.price($sumpaid)."'.price($sumpaid)."'.price($objp->amount - $sumpaid)."'.price($objp->amount - $sumpaid)."'; + print ''; if ($sumpaid < $objp->amount) { $namef = "amount_".$objp->id; $nameRemain = "remain_".$objp->id; @@ -304,6 +308,7 @@ } print "
"; + print '
'; // Save payment button print '
'.$langs->trans("ClosePaidContributionsAutomatically"); diff --git a/htdocs/compta/payment_sc/card.php b/htdocs/compta/payment_sc/card.php index 4a1d44b6c92d7..fe6eb04fcde2c 100644 --- a/htdocs/compta/payment_sc/card.php +++ b/htdocs/compta/payment_sc/card.php @@ -254,7 +254,7 @@ */ if ($action == '') { - if ($user->rights->tax->charges->supprimer) { + if ($user->hasRight('tax', 'charges', 'supprimer')) { if (!$disable_delete) { print dolGetButtonAction($langs->trans("Delete"), '', 'delete', $_SERVER["PHP_SELF"].'?id='.$object->id.'&action=delete&token='.newToken(), 'delete', 1); } else { diff --git a/htdocs/compta/payment_vat/card.php b/htdocs/compta/payment_vat/card.php index bd431f65daee4..0ee950687583f 100644 --- a/htdocs/compta/payment_vat/card.php +++ b/htdocs/compta/payment_vat/card.php @@ -63,7 +63,7 @@ */ // Delete payment -if ($action == 'confirm_delete' && $confirm == 'yes' && $user->rights->tax->charges->supprimer) { +if ($action == 'confirm_delete' && $confirm == 'yes' && $user->hasRight('tax', 'charges', 'supprimer')) { $db->begin(); $result = $object->delete($user); @@ -102,7 +102,7 @@ $outputlangs->setDefaultLang($_REQUEST['lang_id']); } if (empty($conf->global->MAIN_DISABLE_PDF_AUTOUPDATE)) { - $fac->generateDocument($fac->modelpdf, $outputlangs); + $fac->generateDocument($fac->model_pdf, $outputlangs); } } @@ -295,7 +295,7 @@ */ if ($action == '') { - if ($user->rights->tax->charges->supprimer) { + if ($user->hasRight('tax', 'charges', 'supprimer')) { if (!$disable_delete) { print dolGetButtonAction($langs->trans("Delete"), '', 'delete', $_SERVER["PHP_SELF"].'?id='.$object->id.'&action=delete&token='.newToken(), 'delete', 1); } else { diff --git a/htdocs/compta/paymentbybanktransfer/index.php b/htdocs/compta/paymentbybanktransfer/index.php index c96ac184b8f28..825a26fc3a7fe 100644 --- a/htdocs/compta/paymentbybanktransfer/index.php +++ b/htdocs/compta/paymentbybanktransfer/index.php @@ -33,6 +33,7 @@ require_once DOL_DOCUMENT_ROOT.'/societe/class/societe.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/prelevement.lib.php'; require_once DOL_DOCUMENT_ROOT.'/compta/bank/class/account.class.php'; +require_once DOL_DOCUMENT_ROOT.'/salaries/class/salary.class.php'; // Load translation files required by the page $langs->loadLangs(array('banks', 'categories', 'withdrawals')); @@ -65,6 +66,12 @@ setEventMessages($langs->trans("ErrorModuleSetupNotComplete", $langs->transnoentitiesnoconv("PaymentByBankTransfer")), null, 'errors'); } +$thirdpartystatic = new Societe($db); +$invoicestatic = new FactureFournisseur($db); +$bprev = new BonPrelevement($db); +$salary = new Salary($db); +$user = new User($db); + $newcardbutton = ''; if ($usercancreate) { $newcardbutton .= dolGetButtonTitle($langs->trans('NewPaymentByBankTransfer'), '', 'fa fa-plus-circle', DOL_URL_ROOT.'/compta/prelevement/create.php?type=bank-transfer'); @@ -76,129 +83,197 @@ print '
'; -$thirdpartystatic = new Societe($db); -$invoicestatic = new FactureFournisseur($db); -$bprev = new BonPrelevement($db); - print '
'; print ''; print ''; -print ''; -print ''; +$totaltoshow = 0; -print ''; +if (isModEnabled('supplier_invoice')) { + print ''; + print ''; + $totaltoshow += $bprev->SommeAPrelever('bank-transfer'); +} + +if (isModEnabled('salaries')) { + print ''; + print ''; + $totaltoshow += $bprev->SommeAPrelever('bank-transfer', 'salary'); +} + +print ''; print '
'.$langs->trans("Statistics").'
'.$langs->trans("NbOfInvoiceToPayByBankTransfer").''; -print ''; -print $bprev->nbOfInvoiceToPay('bank-transfer'); -print ''; -print '
'.$langs->trans("AmountToTransfer").'
'.$langs->trans("NbOfInvoiceToPayByBankTransfer").''; + print ''; + print $bprev->nbOfInvoiceToPay('bank-transfer'); + print ''; + print '
'.$langs->trans("NbOfInvoiceToPayByBankTransferForSalaries").''; + print ''; + print $bprev->nbOfInvoiceToPay('bank-transfer', 'salary'); + print ''; + print '
'.$langs->trans("Total").''; -print price($bprev->SommeAPrelever('bank-transfer'), '', '', 1, -1, -1, 'auto'); +print price($totaltoshow, '', '', 1, -1, -1, 'auto'); print '

'; - /* * Invoices waiting for withdraw */ -$sql = "SELECT f.ref, f.rowid, f.total_ttc, f.fk_statut, f.paye, f.type, f.datef, f.date_lim_reglement,"; -$sql .= " pfd.date_demande, pfd.amount,"; -$sql .= " s.nom as name, s.email, s.rowid as socid, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6"; -$sql .= " FROM ".MAIN_DB_PREFIX."facture_fourn as f,"; -$sql .= " ".MAIN_DB_PREFIX."societe as s"; -if (empty($user->rights->societe->client->voir) && !$socid) { - $sql .= ", ".MAIN_DB_PREFIX."societe_commerciaux as sc"; -} -$sql .= ", ".MAIN_DB_PREFIX."prelevement_demande as pfd"; -$sql .= " WHERE s.rowid = f.fk_soc"; -$sql .= " AND f.entity IN (".getEntity('supplier_invoice').")"; -$sql .= " AND f.total_ttc > 0"; -if (empty($conf->global->WITHDRAWAL_ALLOW_ANY_INVOICE_STATUS)) { - $sql .= " AND f.fk_statut = ".FactureFournisseur::STATUS_VALIDATED; -} -$sql .= " AND pfd.traite = 0"; -$sql .= " AND pfd.ext_payment_id IS NULL"; -$sql .= " AND pfd.fk_facture_fourn = f.rowid"; -if (empty($user->rights->societe->client->voir) && !$socid) { - $sql .= " AND s.rowid = sc.fk_soc AND sc.fk_user = ".((int) $user->id); -} -if ($socid) { - $sql .= " AND f.fk_soc = ".((int) $socid); +if (isModEnabled('supplier_invoice')) { + $sql = "SELECT f.ref, f.rowid, f.total_ttc, f.fk_statut, f.paye, f.type, f.datef, f.date_lim_reglement,"; + $sql .= " pfd.date_demande, pfd.amount,"; + $sql .= " s.nom as name, s.email, s.rowid as socid, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6"; + $sql .= " FROM ".MAIN_DB_PREFIX."facture_fourn as f,"; + $sql .= " ".MAIN_DB_PREFIX."societe as s"; + if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { + $sql .= ", ".MAIN_DB_PREFIX."societe_commerciaux as sc"; + } + $sql .= ", ".MAIN_DB_PREFIX."prelevement_demande as pfd"; + $sql .= " WHERE s.rowid = f.fk_soc"; + $sql .= " AND f.entity IN (".getEntity('supplier_invoice').")"; + $sql .= " AND f.total_ttc > 0"; + if (empty($conf->global->WITHDRAWAL_ALLOW_ANY_INVOICE_STATUS)) { + $sql .= " AND f.fk_statut = ".FactureFournisseur::STATUS_VALIDATED; + } + $sql .= " AND pfd.traite = 0"; + $sql .= " AND pfd.ext_payment_id IS NULL"; + $sql .= " AND pfd.fk_facture_fourn = f.rowid"; + if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { + $sql .= " AND s.rowid = sc.fk_soc AND sc.fk_user = ".((int) $user->id); + } + if ($socid) { + $sql .= " AND f.fk_soc = ".((int) $socid); + } + + $sqlForSalary = "SELECT * FROM ".MAIN_DB_PREFIX."salary as s, ".MAIN_DB_PREFIX."prelevement_demande as pd"; + $sqlForSalary .= " WHERE s.rowid = pd.fk_salary AND s.paye = 0 AND pd.traite = 0"; + $sqlForSalary .= " AND s.entity IN (".getEntity('salary').")"; + + $resql = $db->query($sql); + + if ($resql) { + $num = $db->num_rows($resql); + $i = 0; + + print '
'; + print ''; + print ''; + print ''; + if ($num) { + while ($i < $num && $i < 20) { + $obj = $db->fetch_object($resql); + + $invoicestatic->id = $obj->rowid; + $invoicestatic->ref = $obj->ref; + $invoicestatic->status = $obj->fk_statut; + $invoicestatic->statut = $obj->fk_statut; // For backward comaptibility + $invoicestatic->paye = $obj->paye; + $invoicestatic->type = $obj->type; + $invoicestatic->date = $db->jdate($obj->datef); + $invoicestatic->date_echeance = $db->jdate($obj->date_lim_reglement); + $invoicestatic->total_ttc = $obj->total_ttc; + + $alreadypayed = $invoicestatic->getSommePaiement(); + + $thirdpartystatic->id = $obj->socid; + $thirdpartystatic->name = $obj->name; + $thirdpartystatic->email = $obj->email; + $thirdpartystatic->tva_intra = $obj->tva_intra; + $thirdpartystatic->idprof1 = $obj->idprof1; + $thirdpartystatic->idprof2 = $obj->idprof2; + $thirdpartystatic->idprof3 = $obj->idprof3; + $thirdpartystatic->idprof4 = $obj->idprof4; + $thirdpartystatic->idprof5 = $obj->idprof5; + $thirdpartystatic->idprof6 = $obj->idprof6; + + + print ''; + + print ''; + + print ''; + + print ''; + + print ''; + print ''; + $i++; + } + } else { + $titlefortab = $langs->transnoentitiesnoconv("BankTransfer"); + print ''; + } + print "
'.$langs->trans("SupplierInvoiceWaitingWithdraw").' ('.$num.')
'; + print $invoicestatic->getNomUrl(1, 'withdraw'); + print ''; + print $thirdpartystatic->getNomUrl(1, 'supplier'); + print ''; + print ''.price($obj->amount).''; + print ''; + print dol_print_date($db->jdate($obj->date_demande), 'day'); + print ''; + print $invoicestatic->getLibStatut(3, $alreadypayed); + print '
'.$langs->trans("NoSupplierInvoiceToWithdraw", $titlefortab, $titlefortab).'

"; + } else { + dol_print_error($db); + } } -$resql = $db->query($sql); -if ($resql) { - $num = $db->num_rows($resql); - $i = 0; +if (isModEnabled('salaries')) { + $resql2 = $db->query($sqlForSalary); + if ($resql2) { + $numRow = $db->num_rows($resql2); + $j = 0 ; - print '
'; - print ''; - print ''; - print ''; - if ($num) { - while ($i < $num && $i < 20) { - $obj = $db->fetch_object($resql); - - $invoicestatic->id = $obj->rowid; - $invoicestatic->ref = $obj->ref; - $invoicestatic->status = $obj->fk_statut; - $invoicestatic->statut = $obj->fk_statut; // For backward comaptibility - $invoicestatic->paye = $obj->paye; - $invoicestatic->type = $obj->type; - $invoicestatic->date = $db->jdate($obj->datef); - $invoicestatic->date_echeance = $db->jdate($obj->date_lim_reglement); - $invoicestatic->total_ttc = $obj->total_ttc; - $alreadypayed = $invoicestatic->getSommePaiement(); - - $thirdpartystatic->id = $obj->socid; - $thirdpartystatic->name = $obj->name; - $thirdpartystatic->email = $obj->email; - $thirdpartystatic->tva_intra = $obj->tva_intra; - $thirdpartystatic->siren = $obj->idprof1; - $thirdpartystatic->siret = $obj->idprof2; - $thirdpartystatic->ape = $obj->idprof3; - $thirdpartystatic->idprof1 = $obj->idprof1; - $thirdpartystatic->idprof2 = $obj->idprof2; - $thirdpartystatic->idprof3 = $obj->idprof3; - $thirdpartystatic->idprof4 = $obj->idprof4; - $thirdpartystatic->idprof5 = $obj->idprof5; - $thirdpartystatic->idprof6 = $obj->idprof6; - - print ''; - - print ''; - - print ''; - - print ''; - - print ''; - print ''; - $i++; + print '
'; + print '
'.$langs->trans("SupplierInvoiceWaitingWithdraw").' ('.$num.')
'; - print $invoicestatic->getNomUrl(1, 'withdraw'); - print ''; - print $thirdpartystatic->getNomUrl(1, 'supplier'); - print ''; - print ''.price($obj->amount).''; - print ''; - print dol_print_date($db->jdate($obj->date_demande), 'day'); - print ''; - print $invoicestatic->getLibStatut(3, $alreadypayed); - print '
'; + print ''; + print ''; + + if ($numRow) { + while ($j < $numRow && $j<10) { + $objSalary = $db->fetch_object($resql2); + + $user->fetch($objSalary->fk_user); + + $salary->fetch($objSalary->fk_salary); + + $alreadypayedS = $salary->getSommePaiement(); + + print ''; + + print ''; + + print ''; + + print ''; + + print ''; + print ''; + $j++; + } + } else { + $titlefortab = $langs->transnoentitiesnoconv("BankTransfer"); + print ''; } + print "
'.$langs->trans("SalaryInvoiceWaitingWithdraw").' ('.$numRow.')
'; + print $salary->getNomUrl(1); + print ''; + print $user->getNomUrl(-1); + print ''; + print ''.price($objSalary->amount).''; + print ''; + print dol_print_date($db->jdate($objSalary->date_demande), 'day'); + print ''; + print $salary->getLibStatut(3, $alreadypayedS); + print '
'.$langs->trans("NoSalaryInvoiceToWithdraw", $titlefortab, $titlefortab).'

"; } else { - $titlefortab = $langs->transnoentitiesnoconv("BankTransfer"); - print ''.$langs->trans("NoSupplierInvoiceToWithdraw", $titlefortab, $titlefortab).''; + dol_print_error($db); } - print "

"; -} else { - dol_print_error($db); } print '
'; - /* * Withdraw receipts */ diff --git a/htdocs/compta/prelevement/card.php b/htdocs/compta/prelevement/card.php index 99714c1f124e0..f385266d49392 100644 --- a/htdocs/compta/prelevement/card.php +++ b/htdocs/compta/prelevement/card.php @@ -71,7 +71,8 @@ $hookmanager->initHooks(array('directdebitprevcard', 'globalcard', 'directdebitprevlist')); $type = $object->type; - +// chek if salary pl +$salaryBonPl = $object->checkIfSalaryBonPrelevement(); if ($type == 'bank-transfer') { $result = restrictedArea($user, 'paymentbybanktransfer', '', '', ''); @@ -102,7 +103,7 @@ if (empty($reshook)) { if ($action == 'setbankaccount' && $permissiontoadd) { - $object->oldcopy = dol_clone($object); + $object->oldcopy = dol_clone($object, 2); $object->fk_bank_account = GETPOST('fk_bank_account', 'int'); $object->update($user); } @@ -366,7 +367,7 @@ print $formconfirm; - if (empty($object->date_trans) && (($user->rights->prelevement->bons->send && $object->type != 'bank-transfer') || ($user->rights->paymentbybanktransfer->send && $object->type == 'bank-transfer')) && $action == 'settransmitted') { + if (empty($object->date_trans) && (($user->hasRight('prelevement', 'bons', 'send') && $object->type != 'bank-transfer') || ($user->hasRight('paymentbybanktransfer', 'send') && $object->type == 'bank-transfer')) && $action == 'settransmitted') { print ''; print ''; print ''; @@ -385,7 +386,7 @@ print '
'; } - if (!empty($object->date_trans) && empty($object->date_credit) && (($user->rights->prelevement->bons->credit && $object->type != 'bank-transfer') || ($user->rights->paymentbybanktransfer->debit && $object->type == 'bank-transfer')) && $action == 'setcredited') { + if (!empty($object->date_trans) && empty($object->date_credit) && (($user->hasRight('prelevement', 'bons', 'credit') && $object->type != 'bank-transfer') || ($user->hasRight('paymentbybanktransfer', 'debit') && $object->type == 'bank-transfer')) && $action == 'setcredited') { $btnLabel = ($object->type == 'bank-transfer') ? $langs->trans("ClassDebited") : $langs->trans("ClassCredited"); print ''; print ''; @@ -410,16 +411,16 @@ $reshook = $hookmanager->executeHooks('addMoreActionsButtons', $parameters, $object, $action); // Note that $action and $object may have been modified by hook if (empty($reshook)) { if (empty($object->date_trans)) { - if ($object->type == 'bank-transfer') print dolGetButtonAction($langs->trans("SetToStatusSent"), '', 'default', 'card.php?action=settransmitted&token='.newToken().'&id='.$object->id, '', $user->rights->paymentbybanktransfer->send); - else print dolGetButtonAction($langs->trans("SetToStatusSent"), '', 'default', 'card.php?action=settransmitted&token='.newToken().'&id='.$object->id, '', $user->rights->prelevement->bons->send); + if ($object->type == 'bank-transfer') print dolGetButtonAction($langs->trans("SetToStatusSent"), '', 'default', 'card.php?action=settransmitted&token='.newToken().'&id='.$object->id, '', $user->hasRight('paymentbybanktransfer', 'send')); + else print dolGetButtonAction($langs->trans("SetToStatusSent"), '', 'default', 'card.php?action=settransmitted&token='.newToken().'&id='.$object->id, '', $user->hasRight('prelevement', 'bons', 'send')); } if (!empty($object->date_trans) && empty($object->date_credit)) { - if ($object->type == 'bank-transfer') print dolGetButtonAction($langs->trans("ClassDebited"), '', 'default', 'card.php?action=setcredited&token='.newToken().'&id='.$object->id, '', $user->rights->paymentbybanktransfer->debit); - else print dolGetButtonAction($langs->trans("ClassCredited"), '', 'default', 'card.php?action=setcredited&token='.newToken().'&id='.$object->id, '', $user->rights->prelevement->bons->credit); + if ($object->type == 'bank-transfer') print dolGetButtonAction($langs->trans("ClassDebited"), '', 'default', 'card.php?action=setcredited&token='.newToken().'&id='.$object->id, '', $user->hasRight('paymentbybanktransfer', 'debit')); + else print dolGetButtonAction($langs->trans("ClassCredited"), '', 'default', 'card.php?action=setcredited&token='.newToken().'&id='.$object->id, '', $user->hasRight('prelevement', 'bons', 'credit')); } - if ($object->type == 'bank-transfer') print dolGetButtonAction($langs->trans("Delete"), '', 'delete', 'card.php?action=delete&token='.newToken().'&id='.$object->id, '', $user->rights->paymentbybanktransfer->create); - else print dolGetButtonAction($langs->trans("Delete"), '', 'delete', 'card.php?action=delete&token='.newToken().'&id='.$object->id, '', $user->rights->prelevement->bons->creer); + if ($object->type == 'bank-transfer') print dolGetButtonAction($langs->trans("Delete"), '', 'delete', 'card.php?action=delete&token='.newToken().'&id='.$object->id, '', $user->hasRight('paymentbybanktransfer', 'create')); + else print dolGetButtonAction($langs->trans("Delete"), '', 'delete', 'card.php?action=delete&token='.newToken().'&id='.$object->id, '', $user->hasRight('prelevement', 'bons', 'creer')); } print '
'; } @@ -430,20 +431,27 @@ /* * Lines into withdraw request */ - $sql = "SELECT pl.rowid, pl.statut, pl.amount,"; - $sql .= " s.rowid as socid, s.nom as name"; - $sql .= " FROM ".MAIN_DB_PREFIX."prelevement_lignes as pl"; - $sql .= ", ".MAIN_DB_PREFIX."prelevement_bons as pb"; - $sql .= ", ".MAIN_DB_PREFIX."societe as s"; - $sql .= " WHERE pl.fk_prelevement_bons = ".((int) $id); - $sql .= " AND pl.fk_prelevement_bons = pb.rowid"; - $sql .= " AND pb.entity = ".((int) $conf->entity); // No sharing of entity here - $sql .= " AND pl.fk_soc = s.rowid"; - if ($socid) { - $sql .= " AND s.rowid = ".((int) $socid); + if ($salaryBonPl) { + $sql = "SELECT pl.rowid, pl.statut, pl.amount,pl.fk_user"; + $sql .=" FROM llx_prelevement as p, llx_prelevement_lignes as pl, llx_salary as s"; + $sql .= " WHERE pl.rowid = p.fk_prelevement_lignes"; + $sql .= " AND p.fk_salary = s.rowid"; + $sql .= " AND pl.fk_prelevement_bons = ".((int) $id); + } else { + $sql = "SELECT pl.rowid, pl.statut, pl.amount,"; + $sql .= " s.rowid as socid, s.nom as name"; + $sql .= " FROM ".MAIN_DB_PREFIX."prelevement_lignes as pl"; + $sql .= ", ".MAIN_DB_PREFIX."prelevement_bons as pb"; + $sql .= ", ".MAIN_DB_PREFIX."societe as s"; + $sql .= " WHERE pl.fk_prelevement_bons = ".((int) $id); + $sql .= " AND pl.fk_prelevement_bons = pb.rowid"; + $sql .= " AND pb.entity = ".((int) $conf->entity); // No sharing of entity here + $sql .= " AND pl.fk_soc = s.rowid"; + if ($socid) { + $sql .= " AND s.rowid = ".((int) $socid); + } + $sql .= $db->order($sortfield, $sortorder); } - $sql .= $db->order($sortfield, $sortorder); - // Count total nb of records $nbtotalofrecords = ''; if (!getDolGlobalInt('MAIN_DISABLE_FULL_SCANLIST')) { @@ -491,7 +499,7 @@ print ''; print ''; print_liste_field_titre("Lines", $_SERVER["PHP_SELF"], "pl.rowid", '', $urladd, '', $sortfield, $sortorder); - print_liste_field_titre("ThirdParty", $_SERVER["PHP_SELF"], "s.nom", '', $urladd, '', $sortfield, $sortorder); + print_liste_field_titre((!$salaryBonPl ? "ThirdParty" : "Employee"), $_SERVER["PHP_SELF"], "s.nom", '', $urladd, '', $sortfield, $sortorder); print_liste_field_titre("Amount", $_SERVER["PHP_SELF"], "pl.amount", "", $urladd, 'class="right"', $sortfield, $sortorder); print_liste_field_titre(''); print "\n"; @@ -509,11 +517,15 @@ print $ligne->LibStatut($obj->statut, 2); print ''.$obj->rowid.''; print ''; - - $thirdparty = new Societe($db); - $thirdparty->fetch($obj->socid); + if (!$salaryBonPl) { + $thirdparty = new Societe($db); + $thirdparty->fetch($obj->socid); + } else { + $userSalary = new User($db); + $userSalary->fetch($obj->fk_user); + } print '\n"; print '\n"; diff --git a/htdocs/compta/prelevement/class/bonprelevement.class.php b/htdocs/compta/prelevement/class/bonprelevement.class.php index 98c125fed0579..8f0eea7e2abb9 100644 --- a/htdocs/compta/prelevement/class/bonprelevement.class.php +++ b/htdocs/compta/prelevement/class/bonprelevement.class.php @@ -28,13 +28,15 @@ */ require_once DOL_DOCUMENT_ROOT.'/core/class/commonobject.class.php'; -require_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php'; -require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.facture.class.php'; +require_once DOL_DOCUMENT_ROOT.'/core/lib/bank.lib.php'; require_once DOL_DOCUMENT_ROOT.'/compta/bank/class/account.class.php'; -require_once DOL_DOCUMENT_ROOT.'/societe/class/societe.class.php'; +require_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php'; require_once DOL_DOCUMENT_ROOT.'/compta/paiement/class/paiement.class.php'; +require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.facture.class.php'; require_once DOL_DOCUMENT_ROOT.'/fourn/class/paiementfourn.class.php'; -require_once DOL_DOCUMENT_ROOT.'/core/lib/bank.lib.php'; +require_once DOL_DOCUMENT_ROOT.'/salaries/class/salary.class.php'; +require_once DOL_DOCUMENT_ROOT.'/societe/class/societe.class.php'; +require_once DOL_DOCUMENT_ROOT.'/user/class/userbankaccount.class.php'; /** @@ -79,6 +81,8 @@ class BonPrelevement extends CommonObject public $factures = array(); + public $methodes_trans = array(); + public $invoice_in_error = array(); public $thirdparty_in_error = array(); @@ -222,16 +226,18 @@ public function __construct($db) * @param string $number bank account number * @param string $number_key number key of account number * @param string $type 'debit-order' or 'bank-transfer' + * @param string $sourcetype 'salary' for invoice of salary * @return int >0 if OK, <0 if KO */ - public function AddFacture($invoice_id, $client_id, $client_nom, $amount, $code_banque, $code_guichet, $number, $number_key, $type = 'debit-order') + public function AddFacture($invoice_id, $client_id, $client_nom, $amount, $code_banque, $code_guichet, $number, $number_key, $type = 'debit-order', $sourcetype = '') { // phpcs:enable $result = 0; $line_id = 0; // Add lines - $result = $this->addline($line_id, $client_id, $client_nom, $amount, $code_banque, $code_guichet, $number, $number_key); + $result = $this->addline($line_id, $client_id, $client_nom, $amount, $code_banque, $code_guichet, $number, $number_key, $sourcetype); + if ($result == 0) { if ($line_id > 0) { @@ -239,7 +245,11 @@ public function AddFacture($invoice_id, $client_id, $client_nom, $amount, $code_ if ($type != 'bank-transfer') { $sql .= "fk_facture"; } else { - $sql .= "fk_facture_fourn"; + if (!empty($sourcetype)) { + $sql .= "fk_salary"; + } else { + $sql .= "fk_facture_fourn"; + } } $sql .= ",fk_prelevement_lignes"; $sql .= ") VALUES ("; @@ -278,9 +288,10 @@ public function AddFacture($invoice_id, $client_id, $client_nom, $amount, $code_ * @param string $code_guichet code of bank's office * @param string $number bank account number * @param string $number_key number key of account number + * @param string $sourcetype check if is salary invoice * @return int >0 if OK, <0 if KO */ - public function addline(&$line_id, $client_id, $client_nom, $amount, $code_banque, $code_guichet, $number, $number_key) + public function addline(&$line_id, $client_id, $client_nom, $amount, $code_banque, $code_guichet, $number, $number_key, $sourcetype = '') { $result = -1; $concat = 0; @@ -292,7 +303,11 @@ public function addline(&$line_id, $client_id, $client_nom, $amount, $code_banqu $sql = "SELECT rowid"; $sql .= " FROM ".MAIN_DB_PREFIX."prelevement_lignes"; $sql .= " WHERE fk_prelevement_bons = ".((int) $this->id); - $sql .= " AND fk_soc =".((int) $client_id); + if (empty($sourcetype)) { + $sql .= " AND fk_soc =".((int) $client_id); + } else { + $sql .= " AND fk_user =".((int) $client_id); + } $sql .= " AND code_banque = '".$this->db->escape($code_banque)."'"; $sql .= " AND code_guichet = '".$this->db->escape($code_guichet)."'"; $sql .= " AND number = '".$this->db->escape($number)."'"; @@ -316,17 +331,18 @@ public function addline(&$line_id, $client_id, $client_nom, $amount, $code_banqu $sql .= ", code_guichet"; $sql .= ", number"; $sql .= ", cle_rib"; + $sql .= (!empty($sourcetype) ? ", fk_user" : ""); $sql .= ") VALUES ("; $sql .= $this->id; - $sql .= ", ".((int) $client_id); + $sql .= ", ".(empty($sourcetype) ? ((int) $client_id) : 0); $sql .= ", '".$this->db->escape($client_nom)."'"; $sql .= ", ".((float) price2num($amount)); $sql .= ", '".$this->db->escape($code_banque)."'"; $sql .= ", '".$this->db->escape($code_guichet)."'"; $sql .= ", '".$this->db->escape($number)."'"; $sql .= ", '".$this->db->escape($number_key)."'"; + $sql .= (!empty($sourcetype) ? ", ". ((int) $client_id) : ''); $sql .= ")"; - if ($this->db->query($sql)) { $line_id = $this->db->last_insert_id(MAIN_DB_PREFIX."prelevement_lignes"); $result = 0; @@ -673,17 +689,17 @@ private function getListInvoices($amounts = 0) */ $sql = "SELECT "; if ($this->type == 'bank-transfer') { - $sql .= " pf.fk_facture_fourn"; + $sql .= " p.fk_facture_fourn"; } else { - $sql .= " pf.fk_facture"; + $sql .= " p.fk_facture"; } if ($amounts) { $sql .= ", SUM(pl.amount)"; } $sql .= " FROM ".MAIN_DB_PREFIX."prelevement_bons as p"; $sql .= " , ".MAIN_DB_PREFIX."prelevement_lignes as pl"; - $sql .= " , ".MAIN_DB_PREFIX."prelevement as pf"; - $sql .= " WHERE pf.fk_prelevement_lignes = pl.rowid"; + $sql .= " , ".MAIN_DB_PREFIX."prelevement as p"; + $sql .= " WHERE p.fk_prelevement_lignes = pl.rowid"; $sql .= " AND pl.fk_prelevement_bons = p.rowid"; $sql .= " AND p.rowid = ".((int) $this->id); $sql .= " AND p.entity = ".((int) $conf->entity); @@ -727,33 +743,42 @@ private function getListInvoices($amounts = 0) * Returns amount waiting for direct debit payment or credit transfer payment * * @param string $mode 'direct-debit' or 'bank-transfer' + * @param string $type for type=salary * @return double global->WITHDRAWAL_ALLOW_ANY_INVOICE_STATUS)) { - $sql .= " AND f.fk_statut = ".Facture::STATUS_VALIDATED; + $sql .= ($type !== 'salary' ? " AND f.fk_statut = ".Facture::STATUS_VALIDATED : " AND s.paye = ".Salary::STATUS_UNPAID); } - if ($mode != 'bank-transfer') { - $sql .= " AND f.rowid = pd.fk_facture"; + if ($type !== 'salary') { + if ($mode != 'bank-transfer') { + $sql .= " AND f.rowid = pd.fk_facture"; + } else { + $sql .= " AND f.rowid = pd.fk_facture_fourn"; + } } else { - $sql .= " AND f.rowid = pd.fk_facture_fourn"; + $sql .= " AND s.rowid = pd.fk_salary"; } - $sql .= " AND f.paye = 0"; + $sql .= ($type !== 'salary' ? " AND f.paye = 0" : ""); $sql .= " AND pd.traite = 0"; $sql .= " AND pd.ext_payment_id IS NULL"; - $sql .= " AND f.total_ttc > 0"; + $sql .= ($type !== 'salary' ? " AND f.total_ttc > 0" : ""); $resql = $this->db->query($sql); if ($resql) { @@ -775,11 +800,16 @@ public function SommeAPrelever($mode = 'direct-debit') * Get number of invoices waiting for payment * * @param string $mode 'direct-debit' or 'bank-transfer' + * @param string $type for salary invoice * @return int NbFactureAPrelever($mode); + if ($type === 'salary') { + return $this->NbFactureAPrelever($mode, 1); + } else { + return $this->NbFactureAPrelever($mode); + } } // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps @@ -787,39 +817,60 @@ public function nbOfInvoiceToPay($mode = 'direct-debit') * Get number of invoices to pay * * @param string $type 'direct-debit' or 'bank-transfer' + * @param int $forsalary 0= for facture & facture_supplier, 1=for salary * @return int global->WITHDRAWAL_ALLOW_ANY_INVOICE_STATUS)) { - $sql .= " AND f.fk_statut = ".Facture::STATUS_VALIDATED; + if ($forsalary == 1) { + $sql .= " WHERE s.entity IN (".getEntity('invoice').")"; + if (empty($conf->global->WITHDRAWAL_ALLOW_ANY_INVOICE_STATUS)) { + $sql .= " AND s.paye = 0"; + } + } else { + $sql .= " WHERE f.entity IN (".getEntity('invoice').")"; + if (empty($conf->global->WITHDRAWAL_ALLOW_ANY_INVOICE_STATUS)) { + $sql .= " AND f.fk_statut = ".Facture::STATUS_VALIDATED; + } } - if ($type == 'bank-transfer') { - $sql .= " AND f.rowid = pd.fk_facture_fourn"; + if ($forsalary == 1) { + $sql .= " AND s.rowid = pd.fk_salary"; } else { - $sql .= " AND f.rowid = pd.fk_facture"; + if ($type == 'bank-transfer') { + $sql .= " AND f.rowid = pd.fk_facture_fourn"; + } else { + $sql .= " AND f.rowid = pd.fk_facture"; + } } $sql .= " AND pd.traite = 0"; $sql .= " AND pd.ext_payment_id IS NULL"; - $sql .= " AND f.total_ttc > 0"; + if (!$forsalary == 1) { + $sql .= " AND f.total_ttc > 0"; + } else { + $sql .= " AND s.paye = 0"; + } dol_syslog(get_class($this)."::NbFactureAPrelever"); $resql = $this->db->query($sql); if ($resql) { $obj = $this->db->fetch_object($resql); - $this->db->free($resql); return $obj->nb; @@ -848,9 +899,10 @@ public function NbFactureAPrelever($type = 'direct-debit') * @param string $type 'direct-debit' or 'bank-transfer' * @param int $did ID of an existing payment request. If $did is defined, we use the existing payment request. * @param int $fk_bank_account Bank account ID the receipt is generated for. Will use the ID into the setup of module Direct Debit or Credit Transfer if 0. + * @param int $sourcetype 'invoice' or 'salary' * @return int <0 if KO, No of invoice included into file if OK */ - public function create($banque = 0, $agence = 0, $mode = 'real', $format = 'ALL', $executiondate = '', $notrigger = 0, $type = 'direct-debit', $did = 0, $fk_bank_account = 0) + public function create($banque = 0, $agence = 0, $mode = 'real', $format = 'ALL', $executiondate = '', $notrigger = 0, $type = 'direct-debit', $did = 0, $fk_bank_account = 0, $sourcetype = 'invoice') { // phpcs:enable global $conf, $langs, $user; @@ -893,31 +945,63 @@ public function create($banque = 0, $agence = 0, $mode = 'real', $format = 'ALL' $factures_result = array(); $factures_prev_id = array(); $factures_errors = array(); - if (!$error) { dol_syslog(__METHOD__." Read invoices for did=".((int) $did), LOG_DEBUG); - $sql = "SELECT f.rowid, pd.rowid as pfdrowid, f.fk_soc"; + $sql = "SELECT f.rowid, pd.rowid as pfdrowid"; + if ($sourcetype != 'salary') { + $sql .= ", f.fk_soc"; + } else { + $sql .= ", f.fk_user"; + } $sql .= ", pd.code_banque, pd.code_guichet, pd.number, pd.cle_rib"; $sql .= ", pd.amount"; - $sql .= ", s.nom as name"; - $sql .= ", f.ref, sr.bic, sr.iban_prefix, sr.frstrecur"; - if ($type != 'bank-transfer') { - $sql .= " FROM ".MAIN_DB_PREFIX."facture as f"; - $sql .= " LEFT JOIN " . MAIN_DB_PREFIX . "prelevement_demande as pd ON f.rowid = pd.fk_facture"; + if ($sourcetype != 'salary') { + $sql .= ", s.nom as name"; + $sql .= ", f.ref, sr.bic, sr.iban_prefix, sr.frstrecur"; } else { - $sql .= " FROM ".MAIN_DB_PREFIX."facture_fourn as f"; - $sql .= " LEFT JOIN " . MAIN_DB_PREFIX . "prelevement_demande as pd ON f.rowid = pd.fk_facture_fourn"; + $sql .= ", CONCAT(s.firstname,' ',s.lastname) as name"; + $sql .= ", f.ref, sr.bic, sr.iban_prefix, 'FRST' as frstrecur"; + } + if ($sourcetype != 'salary') { + if ($type != 'bank-transfer') { + $sql .= " FROM ".MAIN_DB_PREFIX."facture as f"; + $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."prelevement_demande as pd ON f.rowid = pd.fk_facture"; + } else { + $sql .= " FROM ".MAIN_DB_PREFIX."facture_fourn as f"; + $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."prelevement_demande as pd ON f.rowid = pd.fk_facture_fourn"; + } + $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."societe as s ON s.rowid = f.fk_soc"; + $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."societe_rib as sr ON s.rowid = sr.fk_soc AND sr.default_rib = 1"; + } else { + $sql .= " FROM ".MAIN_DB_PREFIX."salary as f"; + $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."prelevement_demande as pd ON f.rowid = pd.fk_salary"; + $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."user as s ON s.rowid = f.fk_user"; + $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."user_rib as sr ON s.rowid = sr.fk_user"; // TODO Add AND sr.default_rib = 1 here + } + if ($sourcetype != 'salary') { + if ($type != 'bank-transfer') { + $sql .= " WHERE f.entity IN (".getEntity('invoice').')'; + } else { + $sql .= " WHERE f.entity IN (".getEntity('supplier_invoice').')'; + } + } else { + $sql .= " WHERE f.entity IN (".getEntity('salary').')'; + } + if ($sourcetype != 'salary') { + $sql .= " AND f.fk_statut = 1"; // Invoice validated + $sql .= " AND f.paye = 0"; + $sql .= " AND f.total_ttc > 0"; + } else { + //$sql .= " AND f.fk_statut = 1"; // Invoice validated + $sql .= " AND f.paye = 0"; + $sql .= " AND f.amount > 0"; } - $sql .= " LEFT JOIN " . MAIN_DB_PREFIX . "societe as s ON s.rowid = f.fk_soc"; - $sql .= " LEFT JOIN " . MAIN_DB_PREFIX . "societe_rib as sr ON s.rowid = sr.fk_soc AND sr.default_rib = 1"; - $sql .= " WHERE f.entity IN (".getEntity('invoice').')'; - $sql .= " AND f.fk_statut = 1"; // Invoice validated - $sql .= " AND f.paye = 0"; $sql .= " AND pd.traite = 0"; - $sql .= " AND f.total_ttc > 0"; $sql .= " AND pd.ext_payment_id IS NULL"; - $sql .= " AND sr.type = 'ban' "; + if ($sourcetype != 'salary') { + $sql .= " AND sr.type = 'ban'"; // TODO Add AND sr.type = 'ban' for users too + } if ($did > 0) { $sql .= " AND pd.rowid = ".((int) $did); } @@ -928,31 +1012,37 @@ public function create($banque = 0, $agence = 0, $mode = 'real', $format = 'ALL' $i = 0; while ($i < $num) { - $row = $this->db->fetch_row($resql); + $row = $this->db->fetch_row($resql); // TODO Replace with fetch_object() $factures[$i] = $row; // All fields + if ($row[7] == 0) { $error++; - dol_syslog(__METHOD__." Read invoices error Found a null invoice", LOG_ERR); - $this->invoice_in_error[$row[0]] = "Error for invoice id ".$row[0].", found a null amount"; + dol_syslog(__METHOD__." Read invoices/salary error Found a null amount", LOG_ERR); + $this->invoice_in_error[$row[0]] = "Error for invoice or salary id ".$row[0].", found a null amount"; break; } $i++; } + $this->db->free($resql); - dol_syslog(__METHOD__." Read invoices, ".$i." invoices to withdraw", LOG_DEBUG); + dol_syslog(__METHOD__." Read invoices/salary, ".$i." invoices/salary to withdraw", LOG_DEBUG); } else { $error++; $this->error = $this->db->lasterror(); - dol_syslog(__METHOD__." Read invoices error ".$this->db->lasterror(), LOG_ERR); + dol_syslog(__METHOD__." Read invoices/salary error ".$this->db->lasterror(), LOG_ERR); return -1; } } if (!$error) { + // Make some checks + require_once DOL_DOCUMENT_ROOT.'/societe/class/societe.class.php'; + require_once DOL_DOCUMENT_ROOT.'/user/class/user.class.php'; require_once DOL_DOCUMENT_ROOT.'/societe/class/companybankaccount.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/bank.lib.php'; - $soc = new Societe($this->db); + $tmpsoc = new Societe($this->db); + $tmpuser = new User($this->db); // Check BAN $i = 0; @@ -997,13 +1087,30 @@ public function create($banque = 0, $agence = 0, $mode = 'real', $format = 'ALL' //dol_syslog(__METHOD__."::RIB is ok", LOG_DEBUG); } else { if ($type != 'bank-transfer') { + $tmpsoc->id = $fac[2]; + $tmpsoc->name = $fac[8]; $invoice_url = "".$fac[9].""; - } else { + $this->invoice_in_error[$fac[0]] = "Error on default bank number IBAN/BIC for invoice " . $invoice_url . " for thirdparty " . $tmpsoc->getNomUrl(0); + $this->thirdparty_in_error[$tmpsoc->id] = "Error on default bank number IBAN/BIC for invoice " . $invoice_url . " for thirdparty " . $tmpsoc->getNomUrl(0); + $error++; + } + if ($type == 'bank-transfer' && $sourcetype != 'salary') { + $tmpsoc->id = $fac[2]; + $tmpsoc->name = $fac[8]; $invoice_url = "".$fac[9].""; + $this->invoice_in_error[$fac[0]] = "Error on default bank number IBAN/BIC for invoice " . $invoice_url . " for thirdparty " . $tmpsoc->getNomUrl(0); + $this->thirdparty_in_error[$tmpsoc->id] = "Error on default bank number IBAN/BIC for invoice " . $invoice_url . " for thirdparty " . $tmpsoc->getNomUrl(0); + $error++; } - dol_syslog(__METHOD__ . " Check BAN Error on default bank number IBAN/BIC for thirdparty reported by verif() " . $fac->fk_soc . " " . $soc->name, LOG_WARNING); - $this->invoice_in_error[$fac[0]] = "Error on default bank number IBAN/BIC for invoice " . $invoice_url . " for thirdparty " . $soc->getNomUrl(0); - $this->thirdparty_in_error[$soc->id] = "Error on default bank number IBAN/BIC for invoice " . $invoice_url . " for thirdparty " . $soc->getNomUrl(0); + if ($type == 'bank-transfer' && $sourcetype == 'salary') { + $tmpuser->id = $fac[2]; + $tmpuser->firstname = $fac[8]; + $salary_url = "".$fac[0].""; + $this->invoice_in_error[$fac[0]] = "Error on default bank number IBAN/BIC for salary " . $salary_url . " for employee " . $tmpuser->getNomUrl(0); + $this->thirdparty_in_error[$tmpuser->id] = "Error on default bank number IBAN/BIC for salary " . $salary_url . " for employee " . $tmpuser->getNomUrl(0); + $error++; + } + dol_syslog(__METHOD__ . " Check BAN Error on default bank number IBAN/BIC reported by verif(): " . join(', ', $fac), LOG_WARNING); } } else { dol_syslog(__METHOD__ . " Check BAN Failed to read company", LOG_WARNING); @@ -1042,7 +1149,6 @@ public function create($banque = 0, $agence = 0, $mode = 'real', $format = 'ALL' print $langs->trans("ModeWarning"); // "Option for real mode was not set, we stop after this simulation\n"; } } - if ($ok) { /* * We are in real mode. @@ -1107,6 +1213,8 @@ public function create($banque = 0, $agence = 0, $mode = 'real', $format = 'ALL' $sql .= ")"; $resql = $this->db->query($sql); + + if ($resql) { $prev_id = $this->db->last_insert_id(MAIN_DB_PREFIX."prelevement_bons"); $this->id = $prev_id; @@ -1122,17 +1230,9 @@ public function create($banque = 0, $agence = 0, $mode = 'real', $format = 'ALL' } if (!$error) { - /* - if ($type != 'bank-transfer') { - $fact = new Facture($this->db); - } else { - $fact = new FactureFournisseur($this->db); - } - */ - // Add lines for the bon if (count($factures_prev) > 0) { - foreach ($factures_prev as $fac) { // Add a link in database for each invoice + foreach ($factures_prev as $fac) { // Add a link in database for each invoice ro salary // Fetch invoice /* $result = $fact->fetch($fac[0]); @@ -1159,7 +1259,9 @@ public function create($banque = 0, $agence = 0, $mode = 'real', $format = 'ALL' * $fac[11] : IBAN * $fac[12] : frstrcur */ - $ri = $this->AddFacture($fac[0], $fac[2], $fac[8], $fac[7], $fac[3], $fac[4], $fac[5], $fac[6], $type); + + $ri = $this->AddFacture($fac[0], $fac[2], $fac[8], $fac[7], $fac[3], $fac[4], $fac[5], $fac[6], $type, $sourcetype); + if ($ri <> 0) { $error++; } @@ -1206,13 +1308,14 @@ public function create($banque = 0, $agence = 0, $mode = 'real', $format = 'ALL' $this->raison_sociale = $account->proprio; } - $this->factures = $factures_prev_id; $this->context['factures_prev'] = $factures_prev; - // Generation of direct debit or credit transfer file $this->filename (May be a SEPA file for european countries) // This also set the property $this->total with amount that is included into file - $result = $this->generate($format, $executiondate, $type); + if ($sourcetype == 'salary') { + $userid = $this->context['factures_prev'][0][2]; + } + $result = $this->generate($format, $executiondate, $type, $fk_bank_account, $userid); if ($result < 0) { //var_dump($this->error); //var_dump($this->invoice_in_error); @@ -1221,7 +1324,7 @@ public function create($banque = 0, $agence = 0, $mode = 'real', $format = 'ALL' } dol_syslog(__METHOD__." Bank order file has been generated under filename ".$this->filename, LOG_DEBUG); } - //var_dump($this->total);exit; + /* * Update total defined after generation of file @@ -1231,8 +1334,8 @@ public function create($banque = 0, $agence = 0, $mode = 'real', $format = 'ALL' $sql .= " SET amount = ".price2num($this->total); $sql .= " WHERE rowid = ".((int) $this->id); $sql .= " AND entity = ".((int) $conf->entity); - $resql = $this->db->query($sql); + if (!$resql) { $error++; dol_syslog(__METHOD__." Error update total: ".$this->db->error(), LOG_ERR); @@ -1255,7 +1358,7 @@ public function create($banque = 0, $agence = 0, $mode = 'real', $format = 'ALL' if (!$error) { $this->db->commit(); - return count($factures_prev); + return count($factures_prev); // The error of failed lines are into $this->invoice_in_error and $this->thirdparty_in_error } else { $this->db->rollback(); return -1; @@ -1521,9 +1624,10 @@ public function addNotification($db, $user, $action) * @param int $executiondate Timestamp date to execute transfer * @param string $type 'direct-debit' or 'bank-transfer' * @param int $fk_bank_account Bank account ID the receipt is generated for. Will use the ID into the setup of module Direct Debit or Credit Transfer if 0. + * @param int $user_dest User id for bankaccount when if it is salary invoice * @return int >=0 if OK, <0 if KO */ - public function generate($format = 'ALL', $executiondate = 0, $type = 'direct-debit', $fk_bank_account = 0) + public function generate($format = 'ALL', $executiondate = 0, $type = 'direct-debit', $fk_bank_account = 0, $user_dest = 0) { global $conf, $langs, $mysoc; @@ -1579,18 +1683,18 @@ public function generate($format = 'ALL', $executiondate = 0, $type = 'direct-de $sql = "SELECT soc.rowid as socid, soc.code_client as code, soc.address, soc.zip, soc.town, c.code as country_code,"; $sql .= " pl.client_nom as nom, pl.code_banque as cb, pl.code_guichet as cg, pl.number as cc, pl.amount as somme,"; - $sql .= " f.ref as reffac, pf.fk_facture as idfac,"; + $sql .= " f.ref as reffac, p.fk_facture as idfac,"; $sql .= " rib.rowid, rib.datec, rib.iban_prefix as iban, rib.bic as bic, rib.rowid as drum, rib.rum, rib.date_rum"; $sql .= " FROM"; $sql .= " ".MAIN_DB_PREFIX."prelevement_lignes as pl,"; $sql .= " ".MAIN_DB_PREFIX."facture as f,"; - $sql .= " ".MAIN_DB_PREFIX."prelevement as pf,"; + $sql .= " ".MAIN_DB_PREFIX."prelevement as p,"; $sql .= " ".MAIN_DB_PREFIX."societe as soc,"; $sql .= " ".MAIN_DB_PREFIX."c_country as c,"; $sql .= " ".MAIN_DB_PREFIX."societe_rib as rib"; $sql .= " WHERE pl.fk_prelevement_bons = ".((int) $this->id); - $sql .= " AND pl.rowid = pf.fk_prelevement_lignes"; - $sql .= " AND pf.fk_facture = f.rowid"; + $sql .= " AND pl.rowid = p.fk_prelevement_lignes"; + $sql .= " AND p.fk_facture = f.rowid"; $sql .= " AND f.fk_soc = soc.rowid"; $sql .= " AND soc.fk_pays = c.rowid"; $sql .= " AND rib.fk_soc = f.fk_soc"; @@ -1694,27 +1798,45 @@ public function generate($format = 'ALL', $executiondate = 0, $type = 'direct-de /* * Section Creditor (sepa Crediteurs bloc lines) */ - - $sql = "SELECT soc.rowid as socid, soc.code_client as code, soc.address, soc.zip, soc.town, c.code as country_code,"; - $sql .= " pl.client_nom as nom, pl.code_banque as cb, pl.code_guichet as cg, pl.number as cc, pl.amount as somme,"; - $sql .= " f.ref as reffac, pf.fk_facture_fourn as idfac, f.ref_supplier as fac_ref_supplier,"; - $sql .= " rib.rowid, rib.datec, rib.iban_prefix as iban, rib.bic as bic, rib.rowid as drum, rib.rum, rib.date_rum"; - $sql .= " FROM"; - $sql .= " ".MAIN_DB_PREFIX."prelevement_lignes as pl,"; - $sql .= " ".MAIN_DB_PREFIX."facture_fourn as f,"; - $sql .= " ".MAIN_DB_PREFIX."prelevement as pf,"; - $sql .= " ".MAIN_DB_PREFIX."societe as soc,"; - $sql .= " ".MAIN_DB_PREFIX."c_country as c,"; - $sql .= " ".MAIN_DB_PREFIX."societe_rib as rib"; - $sql .= " WHERE pl.fk_prelevement_bons = ".((int) $this->id); - $sql .= " AND pl.rowid = pf.fk_prelevement_lignes"; - $sql .= " AND pf.fk_facture_fourn = f.rowid"; - $sql .= " AND f.fk_soc = soc.rowid"; - $sql .= " AND soc.fk_pays = c.rowid"; - $sql .= " AND rib.fk_soc = f.fk_soc"; - $sql .= " AND rib.default_rib = 1"; - $sql .= " AND rib.type = 'ban'"; - + if (!empty($user_dest)) { + $sql = "SELECT u.rowid as userId, c.code as country_code, CONCAT(u.firstname,' ',u.lastname) as nom,"; + $sql .= " pl.code_banque as cb, pl.code_guichet as cg, pl.number as cc, pl.amount as somme,"; + $sql .= " s.ref as reffac, p.fk_salary as idfac,"; + $sql .= " rib.rowid, rib.datec, rib.iban_prefix as iban, rib.bic as bic, rib.rowid as drum, '' as rum, '' as date_rum"; + $sql .= " FROM"; + $sql .= " ".MAIN_DB_PREFIX."prelevement_lignes as pl,"; + $sql .= " ".MAIN_DB_PREFIX."salary as s,"; + $sql .= " ".MAIN_DB_PREFIX."prelevement as p,"; + $sql .= " ".MAIN_DB_PREFIX."c_country as c,"; + $sql .= " ".MAIN_DB_PREFIX."user as u,"; + $sql .= " ".MAIN_DB_PREFIX."user_rib as rib"; + $sql .= " WHERE pl.fk_prelevement_bons=".((int) $this->id); + $sql .= " AND pl.rowid = p.fk_prelevement_lignes"; + $sql .= " AND p.fk_salary = s.rowid"; + $sql .= " AND s.fk_user = u.rowid"; + $sql .= " AND rib.fk_user = s.fk_user"; + $sql .= " AND rib.fk_country = c.rowid"; + } else { + $sql = "SELECT soc.rowid as socid, soc.code_client as code, soc.address, soc.zip, soc.town, c.code as country_code,"; + $sql .= " pl.client_nom as nom, pl.code_banque as cb, pl.code_guichet as cg, pl.number as cc, pl.amount as somme,"; + $sql .= " f.ref as reffac, f.ref_supplier as fac_ref_supplier, p.fk_facture_fourn as idfac,"; + $sql .= " rib.rowid, rib.datec, rib.iban_prefix as iban, rib.bic as bic, rib.rowid as drum, rib.rum, rib.date_rum"; + $sql .= " FROM"; + $sql .= " ".MAIN_DB_PREFIX."prelevement_lignes as pl,"; + $sql .= " ".MAIN_DB_PREFIX."facture_fourn as f,"; + $sql .= " ".MAIN_DB_PREFIX."prelevement as p,"; + $sql .= " ".MAIN_DB_PREFIX."societe as soc,"; + $sql .= " ".MAIN_DB_PREFIX."c_country as c,"; + $sql .= " ".MAIN_DB_PREFIX."societe_rib as rib"; + $sql .= " WHERE pl.fk_prelevement_bons = ".((int) $this->id); + $sql .= " AND pl.rowid = p.fk_prelevement_lignes"; + $sql .= " AND p.fk_facture_fourn = f.rowid"; + $sql .= " AND f.fk_soc = soc.rowid"; + $sql .= " AND soc.fk_pays = c.rowid"; + $sql .= " AND rib.fk_soc = f.fk_soc"; + $sql .= " AND rib.default_rib = 1"; + $sql .= " AND rib.type = 'ban'"; + } // Define $fileCrediteurSection. One section DrctDbtTxInf per invoice. $resql = $this->db->query($sql); if ($resql) { @@ -1723,7 +1845,6 @@ public function generate($format = 'ALL', $executiondate = 0, $type = 'direct-de $num = $this->db->num_rows($resql); while ($i < $num) { $obj = $this->db->fetch_object($resql); - if (!empty($cachearraytotestduplicate[$obj->idfac])) { $this->error = $langs->trans('ErrorCompanyHasDuplicateDefaultBAN', $obj->socid); $this->invoice_in_error[$obj->idfac] = $this->error; @@ -1745,7 +1866,6 @@ public function generate($format = 'ALL', $executiondate = 0, $type = 'direct-de fputs($this->file, 'ERROR CREDITOR '.$sql.$CrLf); // CREDITORS = Suppliers $result = -2; } - // Define $fileEmetteurSection. Start of bloc PmtInf. Will contains all $nbtotalDrctDbtTxInf if ($result != -2) { $fileEmetteurSection .= $this->EnregEmetteurSEPA($conf, $date_actu, $nbtotalDrctDbtTxInf, $this->total, $CrLf, $format, $type); @@ -1797,10 +1917,10 @@ public function generate($format = 'ALL', $executiondate = 0, $type = 'direct-de $sql .= " FROM"; $sql .= " ".MAIN_DB_PREFIX."prelevement_lignes as pl,"; $sql .= " ".MAIN_DB_PREFIX."facture as f,"; - $sql .= " ".MAIN_DB_PREFIX."prelevement as pf"; + $sql .= " ".MAIN_DB_PREFIX."prelevement as p"; $sql .= " WHERE pl.fk_prelevement_bons = ".((int) $this->id); - $sql .= " AND pl.rowid = pf.fk_prelevement_lignes"; - $sql .= " AND pf.fk_facture = f.rowid"; + $sql .= " AND pl.rowid = p.fk_prelevement_lignes"; + $sql .= " AND p.fk_facture = f.rowid"; // Lines $i = 0; @@ -1823,11 +1943,10 @@ public function generate($format = 'ALL', $executiondate = 0, $type = 'direct-de $sql .= " FROM"; $sql .= " ".MAIN_DB_PREFIX."prelevement_lignes as pl,"; $sql .= " ".MAIN_DB_PREFIX."facture_fourn as f,"; - $sql .= " ".MAIN_DB_PREFIX."prelevement as pf"; + $sql .= " ".MAIN_DB_PREFIX."prelevement as p"; $sql .= " WHERE pl.fk_prelevement_bons = ".((int) $this->id); - $sql .= " AND pl.rowid = pf.fk_prelevement_lignes"; - $sql .= " AND pf.fk_facture_fourn = f.rowid"; - + $sql .= " AND pl.rowid = p.fk_prelevement_lignes"; + $sql .= " AND p.fk_facture_fourn = f.rowid"; // Lines $i = 0; $resql = $this->db->query($sql); @@ -1966,8 +2085,8 @@ public function EnregDestinataire($rowid, $client_nom, $rib_banque, $rib_guichet * @param string $row_cg pl.code_guichet AS cg, Not used for SEPA * @param string $row_cc pl.number AS cc, Not used for SEPA * @param string $row_somme pl.amount AS somme, - * @param string $row_ref Invoice ref (f.ref) - * @param string $row_idfac pf.fk_facture AS idfac, + * @param string $row_ref Invoice ref (f.ref) or Salary ref + * @param string $row_idfac p.fk_facture AS idfac or p.fk_facture_fourn or p.fk_salary, * @param string $row_iban rib.iban_prefix AS iban, * @param string $row_bic rib.bic AS bic, * @param string $row_datec rib.datec, @@ -2042,7 +2161,7 @@ public function EnregDestinataireSEPA($row_code_client, $row_nom, $row_address, $XML_DEBITOR .= ' '.$CrLf; return $XML_DEBITOR; } else { - // SEPA Paiement Information of seller for Credit Transfer + // SEPA Payment Information of seller for Credit Transfer $XML_CREDITOR = ''; $XML_CREDITOR .= ' '.$CrLf; $XML_CREDITOR .= ' '.$CrLf; @@ -2290,8 +2409,8 @@ public function EnregEmetteurSEPA($configuration, $ladate, $nombre, $total, $CrL $XML_SEPA_INFO .= ' '.dolEscapeXML(strtoupper(dol_string_nospecial(dol_string_unaccent($this->raison_sociale), ' '))).''.$CrLf; $XML_SEPA_INFO .= ' '.$CrLf; $XML_SEPA_INFO .= ' '.$country[1].''.$CrLf; - $XML_SEPA_INFO .= ' '.dolEscapeXML(dol_string_nospecial(dol_string_unaccent($conf->global->MAIN_INFO_SOCIETE_ADDRESS), ' ')).''.$CrLf; - $XML_SEPA_INFO .= ' '.dolEscapeXML(dol_string_nospecial(dol_string_unaccent($conf->global->MAIN_INFO_SOCIETE_ZIP.' '.$conf->global->MAIN_INFO_SOCIETE_TOWN), ' ')).''.$CrLf; + $XML_SEPA_INFO .= ' '.dolEscapeXML(dol_trunc(dol_string_nospecial(dol_string_unaccent($conf->global->MAIN_INFO_SOCIETE_ADDRESS), ' '), 70, 'right', 'UTF-8', 1)).''.$CrLf; + $XML_SEPA_INFO .= ' '.dolEscapeXML(dol_trunc(dol_string_nospecial(dol_string_unaccent($conf->global->MAIN_INFO_SOCIETE_ZIP.' '.$conf->global->MAIN_INFO_SOCIETE_TOWN), ' '), 70, 'right', 'UTF-8', 1)).''.$CrLf; $XML_SEPA_INFO .= ' '.$CrLf; $XML_SEPA_INFO .= ' '.$CrLf;*/ $XML_SEPA_INFO .= ' SLEV'.$CrLf; // Field "Responsible of fees". Must be SLEV @@ -2356,8 +2475,8 @@ public function EnregEmetteurSEPA($configuration, $ladate, $nombre, $total, $CrL $XML_SEPA_INFO .= ' '.dolEscapeXML(strtoupper(dol_string_nospecial(dol_string_unaccent($this->raison_sociale), ' '))).''.$CrLf; $XML_SEPA_INFO .= ' '.$CrLf; $XML_SEPA_INFO .= ' '.$country[1].''.$CrLf; - $XML_SEPA_INFO .= ' '.dolEscapeXML(dol_string_nospecial(dol_string_unaccent($conf->global->MAIN_INFO_SOCIETE_ADDRESS), ' ')).''.$CrLf; - $XML_SEPA_INFO .= ' '.dolEscapeXML(dol_string_nospecial(dol_string_unaccent($conf->global->MAIN_INFO_SOCIETE_ZIP.' '.$conf->global->MAIN_INFO_SOCIETE_TOWN), ' ')).''.$CrLf; + $XML_SEPA_INFO .= ' '.dolEscapeXML(dol_trunc(dol_string_nospecial(dol_string_unaccent($conf->global->MAIN_INFO_SOCIETE_ADDRESS), ' '), 70, 'right', 'UTF-8', 1)).''.$CrLf; + $XML_SEPA_INFO .= ' '.dolEscapeXML(dol_trunc(dol_string_nospecial(dol_string_unaccent($conf->global->MAIN_INFO_SOCIETE_ZIP.' '.$conf->global->MAIN_INFO_SOCIETE_TOWN), ' '), 70, 'right', 'UTF-8', 1)).''.$CrLf; $XML_SEPA_INFO .= ' '.$CrLf; $XML_SEPA_INFO .= ' '.$CrLf;*/ $XML_SEPA_INFO .= ' SLEV'.$CrLf; // Field "Responsible of fees". Must be SLEV @@ -2587,8 +2706,9 @@ public function getKanbanView($option = '', $arraydata = null) $return .= ''; $return .= '
'; $return .= ''.(method_exists($this, 'getNomUrl') ? $this->getNomUrl(1) : $this->ref).''; - $return .= ''; - + if ($selected >= 0) { + $return .= ''; + } if (property_exists($this, 'date_echeance')) { $return .= '
'.$langs->trans("Date").' : '.dol_print_date($this->db->jdate($this->date_echeance), 'day').''; } @@ -2603,4 +2723,38 @@ public function getKanbanView($option = '', $arraydata = null) $return .= '
'; return $return; } + + /** + * Check if is bon prelevement for salary invoice + * + * @return int 1 if OK, O if K0 + */ + public function checkIfSalaryBonPrelevement() + { + if (!empty($this->id)) { + $id = $this->id; + } else { + return 0; + } + if ($id) { + $sql = "SELECT COUNT(*) AS nb FROM ".MAIN_DB_PREFIX."prelevement_lignes"; + $sql .= " WHERE fk_prelevement_bons = ".((int) $id); + $sql .= " AND fk_soc = 0"; + $sql .= " AND fk_user IS NOT NULL"; + + $num = 0; + $resql = $this->db->query($sql); + if ($resql) { + $obj = $this->db->fetch_object($resql); + $num = $obj->nb; + } + if ($num > 0) { + return 1; + } + } else { + dol_print_error($this->db); + } + + return 0; + } } diff --git a/htdocs/compta/prelevement/class/ligneprelevement.class.php b/htdocs/compta/prelevement/class/ligneprelevement.class.php index 71194ef4020d6..36758d310c2ab 100644 --- a/htdocs/compta/prelevement/class/ligneprelevement.class.php +++ b/htdocs/compta/prelevement/class/ligneprelevement.class.php @@ -36,6 +36,31 @@ class LignePrelevement */ public $id; + /** + * @var float Amount + */ + public $amount; + + /** + * @var int Socid + */ + public $socid; + + /** + * @var int Status of the line + */ + public $statut; + + /** + * @var string Ref of bon + */ + public $bon_ref; + + /** + * @var int ID of bon + */ + public $bon_rowid; + /** * @var DoliDB Database handler. */ diff --git a/htdocs/compta/prelevement/class/rejetprelevement.class.php b/htdocs/compta/prelevement/class/rejetprelevement.class.php index 37649da317153..0859f961c2bf9 100644 --- a/htdocs/compta/prelevement/class/rejetprelevement.class.php +++ b/htdocs/compta/prelevement/class/rejetprelevement.class.php @@ -146,7 +146,6 @@ public function create($user, $id, $motif, $date_rejet, $bonid, $facturation = 0 $result = $this->db->query($sql); if (!$result) { - dol_syslog("RejetPrelevement::create Erreur 4"); dol_syslog("RejetPrelevement::create Erreur 4 $sql"); $error++; } diff --git a/htdocs/compta/prelevement/create.php b/htdocs/compta/prelevement/create.php index 2555ab9d37e87..36b48ef5bdef2 100644 --- a/htdocs/compta/prelevement/create.php +++ b/htdocs/compta/prelevement/create.php @@ -1,6 +1,6 @@ - * Copyright (C) 2010-2020 Laurent Destailleur + * Copyright (C) 2010-2023 Laurent Destailleur * Copyright (C) 2005-2009 Regis Houssin * Copyright (C) 2010-2012 Juanjo Menent * Copyright (C) 2018 Nicolas ZABOURI @@ -31,6 +31,7 @@ require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/compta/prelevement/class/bonprelevement.class.php'; require_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php'; +require_once DOL_DOCUMENT_ROOT.'/salaries/class/salary.class.php'; require_once DOL_DOCUMENT_ROOT.'/societe/class/societe.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/bank.lib.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php'; @@ -41,14 +42,14 @@ // Load translation files required by the page $langs->loadLangs(array('banks', 'categories', 'withdrawals', 'companies', 'bills')); -$type = GETPOST('type', 'aZ09'); - // Get supervariables $action = GETPOST('action', 'aZ09'); $massaction = GETPOST('massaction', 'alpha'); // The bulk action (combo box choice into lists) $toselect = GETPOST('toselect', 'array'); // Array of ids of elements selected into a list - $mode = GETPOST('mode', 'alpha') ?GETPOST('mode', 'alpha') : 'real'; + +$type = GETPOST('type', 'aZ09'); +$sourcetype = GETPOST('sourcetype', 'aZ09'); $format = GETPOST('format', 'aZ09'); $id_bankaccount = GETPOST('id_bankaccount', 'int'); $executiondate = dol_mktime(0, 0, 0, GETPOST('remonth', 'int'), GETPOST('reday', 'int'), GETPOST('reyear', 'int')); @@ -69,10 +70,17 @@ } if ($type == 'bank-transfer') { $result = restrictedArea($user, 'paymentbybanktransfer', '', '', ''); + + $permissiontoread = $user->hasRight('paymentbybanktransfer', 'read'); + $permissiontocreate = $user->hasRight('paymentbybanktransfer', 'create'); } else { $result = restrictedArea($user, 'prelevement', '', '', 'bons'); + + $permissiontoread = $user->hasRight('prelevement', 'bons', 'lire'); + $permissiontocreate = $user->hasRight('prelevement', 'bons', 'creer'); } + $error = 0; $option = ""; $mesg = ''; @@ -94,20 +102,20 @@ if (empty($reshook)) { // Change customer bank information to withdraw + /* if ($action == 'modify') { for ($i = 1; $i < 9; $i++) { dolibarr_set_const($db, GETPOST("nom".$i), GETPOST("value".$i), 'chaine', 0, '', $conf->entity); } } - if ($action == 'create') { + */ + if ($action == 'create' && $permissiontocreate) { $default_account = ($type == 'bank-transfer' ? 'PAYMENTBYBANKTRANSFER_ID_BANKACCOUNT' : 'PRELEVEMENT_ID_BANKACCOUNT'); - //var_dump($default_account);var_dump($conf->global->$default_account);var_dump($id_bankaccount);exit; if ($id_bankaccount != getDolGlobalInt($default_account)) { $res = dolibarr_set_const($db, $default_account, $id_bankaccount, 'chaine', 0, '', $conf->entity); // Set as default } - require_once DOL_DOCUMENT_ROOT.'/compta/bank/class/account.class.php'; $bank = new Account($db); $bank->fetch(getDolGlobalInt($default_account)); @@ -115,6 +123,7 @@ /*if ((empty($bank->ics) && $type !== 'bank-transfer') || (empty($bank->ics_transfer) && $type === 'bank-transfer') ) {*/ + if (empty($bank->ics) && $type !== 'bank-transfer') { $errormessage = str_replace('{url}', $bank->getNomUrl(1, '', '', -1, 1), $langs->trans("ErrorICSmissing", '{url}')); setEventMessages($errormessage, null, 'errors'); @@ -127,16 +136,43 @@ if (!$error) { // getDolGlobalString('PRELEVEMENT_CODE_BANQUE') and getDolGlobalString('PRELEVEMENT_CODE_GUICHET') should be empty (we don't use them anymore) - $result = $bprev->create(getDolGlobalString('PRELEVEMENT_CODE_BANQUE'), getDolGlobalString('PRELEVEMENT_CODE_GUICHET'), $mode, $format, $executiondate, 0, $type); - + $result = $bprev->create(getDolGlobalString('PRELEVEMENT_CODE_BANQUE'), getDolGlobalString('PRELEVEMENT_CODE_GUICHET'), $mode, $format, $executiondate, 0, $type, 0, 0, $sourcetype); if ($result < 0) { - setEventMessages($bprev->error, $bprev->errors, 'errors'); - } elseif ($result == 0) { - $mesg = $langs->trans("NoInvoiceCouldBeWithdrawed", $format); - setEventMessages($mesg, null, 'errors'); - $mesg .= '
'."\n"; - foreach ($bprev->invoice_in_error as $key => $val) { - $mesg .= ''.$val."
\n"; + $mesg = ''; + + if ($bprev->error || !empty($bprev->errors)) { + setEventMessages($bprev->error, $bprev->errors, 'errors'); + } else { + $langs->load("errors"); + setEventMessages($langs->trans("ErrorsOnXLines", count($bprev->invoice_in_error)), null, 'warnings'); + } + + if (!empty($bprev->invoice_in_error)) { + foreach ($bprev->invoice_in_error as $key => $val) { + $mesg .= ''.$val."
\n"; + } + } + } elseif ($result == 0 || !empty($bprev->invoice_in_error)) { + $mesg = ''; + + if ($result == 0) { + if ($type != 'bank-transfer') { + $mesg = $langs->trans("NoInvoiceCouldBeWithdrawed", $format); + } + if ($type == 'bank-transfer' && $sourcetype != 'salary') { + $mesg = $langs->trans("NoInvoiceCouldBeWithdrawedSupplier", $format); + } + if ($type == 'bank-transfer' && $sourcetype == 'salary') { + $mesg = $langs->trans("NoSalariesCouldBeWithdrawed", $format); + } + setEventMessages($mesg, null, 'errors'); + } + + if (!empty($bprev->invoice_in_error)) { + $mesg .= '
'."\n"; + foreach ($bprev->invoice_in_error as $key => $val) { + $mesg .= ''.$val."
\n"; + } } } else { if ($type != 'bank-transfer') { @@ -154,6 +190,7 @@ } } } + $objectclass = "BonPrelevement"; if ($type == 'bank-transfer') { $uploaddir = $conf->paymentbybanktransfer->dir_output; @@ -203,12 +240,23 @@ llxHeader('', $title); -print load_fiche_titre($title); -print dol_get_fiche_head(); +$head = bon_prelevement_prepare_head($bprev, $bprev->nbOfInvoiceToPay($type), $bprev->nbOfInvoiceToPay($type, 'salary')); +if ($type) { + print dol_get_fiche_head($head, (!GETPOSTISSET('sourcetype') ? 'invoice' : 'salary'), $langs->trans("Invoices"), -1, $bprev->picto); +} else { + print load_fiche_titre($title); + print dol_get_fiche_head(); +} + -$nb = $bprev->nbOfInvoiceToPay($type); -$pricetowithdraw = $bprev->SommeAPrelever($type); +if ($sourcetype != 'salary') { + $nb = $bprev->nbOfInvoiceToPay($type); + $pricetowithdraw = $bprev->SommeAPrelever($type); +} else { + $nb = $bprev->nbOfInvoiceToPay($type, 'salary'); + $pricetowithdraw = $bprev->SommeAPrelever($type, 'salary'); +} if ($nb < 0) { dol_print_error($bprev->error); } @@ -218,6 +266,9 @@ if ($type == 'bank-transfer') { $labeltoshow = $langs->trans("NbOfInvoiceToPayByBankTransfer"); } +if ($sourcetype == 'salary') { + $labeltoshow = $langs->trans("NbOfInvoiceToPayByBankTransferForSalaries"); +} print '
'; print '
'; - print $thirdparty->getNomUrl(1); + print (!$salaryBonPl ? $thirdparty->getNomUrl(1) : $userSalary->getNomUrl(-1)); print "'.price($obj->amount)."
'.$labeltoshow.''; @@ -233,15 +284,14 @@ print '
'; print '
'; -if ($mesg) { - print $mesg; -} - print '
'."\n"; -print ''; +print ''; +print ''; print ''; print ''; +print ''; + if ($nb) { if ($pricetowithdraw) { $title = $langs->trans('BankToReceiveWithdraw').': '; @@ -328,42 +378,65 @@ print "\n"; print "
\n"; -print ''; + +// Show errors or warnings +if ($mesg) { + print $mesg; + print '
'; +} + print '
'; /* * Invoices waiting for withdraw */ - -$sql = "SELECT f.ref, f.rowid, f.total_ttc, s.nom as name, s.rowid as socid,"; -if ($type == 'bank-transfer') { - $sql .= " f.ref_supplier,"; -} -$sql .= " pfd.rowid as request_row_id, pfd.date_demande, pfd.amount"; -if ($type == 'bank-transfer') { - $sql .= " FROM ".MAIN_DB_PREFIX."facture_fourn as f,"; -} else { - $sql .= " FROM ".MAIN_DB_PREFIX."facture as f,"; -} -$sql .= " ".MAIN_DB_PREFIX."societe as s,"; -$sql .= " ".MAIN_DB_PREFIX."prelevement_demande as pfd"; -$sql .= " WHERE s.rowid = f.fk_soc"; -$sql .= " AND f.entity IN (".getEntity('invoice').")"; -if (empty($conf->global->WITHDRAWAL_ALLOW_ANY_INVOICE_STATUS)) { - $sql .= " AND f.fk_statut = ".Facture::STATUS_VALIDATED; -} -//$sql .= " AND pfd.amount > 0"; -$sql .= " AND f.total_ttc > 0"; // Avoid credit notes -$sql .= " AND pfd.traite = 0"; -$sql .= " AND pfd.ext_payment_id IS NULL"; -if ($type == 'bank-transfer') { - $sql .= " AND pfd.fk_facture_fourn = f.rowid"; +if ($sourcetype != 'salary') { + $sql = "SELECT f.ref, f.rowid, f.total_ttc, s.nom as name, s.rowid as socid,"; + if ($type == 'bank-transfer') { + $sql .= " f.ref_supplier,"; + } + $sql .= " pd.rowid as request_row_id, pd.date_demande, pd.amount"; + if ($type == 'bank-transfer') { + $sql .= " FROM ".MAIN_DB_PREFIX."facture_fourn as f,"; + } else { + $sql .= " FROM ".MAIN_DB_PREFIX."facture as f,"; + } + $sql .= " ".MAIN_DB_PREFIX."societe as s,"; + $sql .= " ".MAIN_DB_PREFIX."prelevement_demande as pd"; + $sql .= " WHERE s.rowid = f.fk_soc"; + $sql .= " AND f.entity IN (".getEntity('invoice').")"; + if (empty($conf->global->WITHDRAWAL_ALLOW_ANY_INVOICE_STATUS)) { + $sql .= " AND f.fk_statut = ".Facture::STATUS_VALIDATED; + } + //$sql .= " AND pd.amount > 0"; + $sql .= " AND f.total_ttc > 0"; // Avoid credit notes + $sql .= " AND pd.traite = 0"; + $sql .= " AND pd.ext_payment_id IS NULL"; + if ($type == 'bank-transfer') { + $sql .= " AND pd.fk_facture_fourn = f.rowid"; + } else { + $sql .= " AND pd.fk_facture = f.rowid"; + } + if ($socid > 0) { + $sql .= " AND f.fk_soc = ".((int) $socid); + } } else { - $sql .= " AND pfd.fk_facture = f.rowid"; -} -if ($socid > 0) { - $sql .= " AND f.fk_soc = ".((int) $socid); + $sql = "SELECT s.ref, s.rowid, s.amount, CONCAT(u.lastname, ' ', u.firstname) as name, u.rowid as uid,"; + $sql .= " pd.rowid as request_row_id, pd.date_demande, pd.amount"; + $sql .= " FROM ".MAIN_DB_PREFIX."salary as s,"; + $sql .= " ".MAIN_DB_PREFIX."user as u,"; + $sql .= " ".MAIN_DB_PREFIX."prelevement_demande as pd"; + $sql .= " WHERE s.fk_user = u.rowid"; + $sql .= " AND s.entity IN (".getEntity('salary').")"; + /*if (empty($conf->global->WITHDRAWAL_ALLOW_ANY_INVOICE_STATUS)) { + $sql .= " AND s.fk_statut = ".Facture::STATUS_VALIDATED; + }*/ + $sql .= " AND s.amount > 0"; + $sql .= " AND pd.traite = 0"; + $sql .= " AND pd.ext_payment_id IS NULL"; + $sql .= " AND s.rowid = pd.fk_salary AND s.paye = ".Salary::STATUS_UNPAID; + $sql .= " AND pd.traite = 0"; } $nbtotalofrecords = ''; @@ -404,16 +477,26 @@ if ($type != '') { print ''; } - $title = $langs->trans("InvoiceWaitingWithdraw"); - if ($type == 'bank-transfer') { - $title = $langs->trans("InvoiceWaitingPaymentByBankTransfer"); + $picto = 'bill'; + if ($type =='bank-transfer') { + if ($sourcetype != 'salary') { + $title = $langs->trans("InvoiceWaitingPaymentByBankTransfer"); + } else { + $title = $langs->trans("SalaryWaitingWithdraw"); + $picto = 'salary'; + } } - print_barre_liste($title, $page, $_SERVER['PHP_SELF'], $param, '', '', $massactionbutton, $num, $nbtotalofrecords, 'bill', 0, '', '', $limit); + print_barre_liste($title, $page, $_SERVER['PHP_SELF'], $param, '', '', $massactionbutton, $num, $nbtotalofrecords, $picto, 0, '', '', $limit); + $tradinvoice = "Invoice"; if ($type == 'bank-transfer') { - $tradinvoice = "SupplierInvoice"; + if ($sourcetype != 'salary') { + $tradinvoice = "SupplierInvoice"; + } else { + $tradinvoice = "RefSalary"; + } } print '
'; @@ -425,14 +508,31 @@ print ''.$form->showCheckAddButtons('checkforselect', 1).''; } } + // Ref invoice or salary print ''.$langs->trans($tradinvoice).''; - if ($type == 'bank-transfer') { + // Ref supplier + if ($type == 'bank-transfer' && $sourcetype != 'salary') { print ''.$langs->trans("RefSupplier").''; } - print ''.$langs->trans("ThirdParty").''; + // Thirdparty or user + if ($sourcetype != 'salary') { + print ''.$langs->trans("ThirdParty").''; + } else { + print ''.$langs->trans("Employee").''; + } + // BAN print ''.$langs->trans("RIB").''; - print ''.$langs->trans("RUM").''; - print ''.$langs->trans("AmountTTC").''; + // RUM + if (empty($type) || $type == 'direc-debit') { + print ''.$langs->trans("RUM").''; + } + print ''; + if ($sourcetype == 'salary') { + print $langs->trans("Amount"); + } else { + print $langs->trans("AmountTTC"); + } + print ''; print ''.$langs->trans("DateRequest").''; // Action column if (!getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { @@ -443,18 +543,29 @@ print ''; if ($num) { - require_once DOL_DOCUMENT_ROOT.'/societe/class/companybankaccount.class.php'; + if ($sourcetype != 'salary') { + require_once DOL_DOCUMENT_ROOT.'/societe/class/companybankaccount.class.php'; + } else { + require_once DOL_DOCUMENT_ROOT.'/user/class/userbankaccount.class.php'; + require_once DOL_DOCUMENT_ROOT.'/salaries/class/salary.class.php'; + } while ($i < $num && $i < $limit) { $obj = $db->fetch_object($resql); + if ($sourcetype != 'salary') { + $bac = new CompanyBankAccount($db); // Must include the new in loop so the fetch is clean + $bac->fetch(0, $obj->socid); - $bac = new CompanyBankAccount($db); // Must include the new in loop so the fetch is clean - $bac->fetch(0, $obj->socid); - - $invoicestatic->id = $obj->rowid; - $invoicestatic->ref = $obj->ref; - $invoicestatic->ref_supplier = $obj->ref_supplier; + $invoicestatic->id = $obj->rowid; + $invoicestatic->ref = $obj->ref; + $invoicestatic->ref_supplier = $obj->ref_supplier; + } else { + $bac = new UserBankAccount($db); + $bac->fetch(0, '', $obj->uid); + $salary = new Salary($db); + $salary->fetch($obj->rowid); + } print ''; // Action column @@ -472,28 +583,39 @@ // Ref invoice print ''; - print $invoicestatic->getNomUrl(1, 'withdraw'); + if ($sourcetype != 'salary') { + print $invoicestatic->getNomUrl(1, 'withdraw'); + } else { + print $salary->getNomUrl(1, 'withdraw'); + } print ''; - if ($type == 'bank-transfer') { + if ($type == 'bank-transfer' && $sourcetype != 'salary') { print ''; print dol_escape_htmltag($invoicestatic->ref_supplier); print ''; } // Thirdparty - print ''; - $thirdpartystatic->fetch($obj->socid); - print $thirdpartystatic->getNomUrl(1, 'ban'); - print ''; + if ($sourcetype != 'salary') { + print ''; + $thirdpartystatic->fetch($obj->socid); + print $thirdpartystatic->getNomUrl(1, 'ban'); + print ''; + } else { + print ''; + $user->fetch($obj->uid); + print $user->getNomUrl(-1); + print ''; + } - // RIB + // BAN print ''; if ($bac->id > 0) { if (!empty($bac->iban) || !empty($bac->bic)) { print $bac->iban.(($bac->iban && $bac->bic) ? ' / ' : '').$bac->bic; if ($bac->verif() <= 0) { - print img_warning('Error on default bank number for IBAN : '.$langs->trans($bac->error_message)); + print img_warning('Error on default bank number for IBAN : '.$langs->trans($bac->error)); } } else { print img_warning($langs->trans("IBANNotDefined")); @@ -504,20 +626,23 @@ print ''; // RUM - print ''; - $rumtoshow = $thirdpartystatic->display_rib('rum'); - if ($rumtoshow) { - print $rumtoshow; - $format = $thirdpartystatic->display_rib('format'); - if ($type != 'bank-transfer') { - if ($format) { - print ' ('.$format.')'; + if (empty($type) || $type == 'direct-debit') { + print ''; + $rumtoshow = $thirdpartystatic->display_rib('rum'); + if ($rumtoshow) { + print $rumtoshow; + $format = $thirdpartystatic->display_rib('format'); + if ($type != 'bank-transfer') { + if ($format) { + print ' ('.$format.')'; + } } + } else { + print img_warning($langs->trans("NoBankAccountDefined")); } - } else { - print img_warning($langs->trans("NoBankAccountDefined")); + print ''; } - print ''; + // Amount print ''; print price($obj->amount, 0, $langs, 0, 0, -1, $conf->currency); diff --git a/htdocs/compta/prelevement/demandes.php b/htdocs/compta/prelevement/demandes.php index c34db505cc500..f6337d27b1dfe 100644 --- a/htdocs/compta/prelevement/demandes.php +++ b/htdocs/compta/prelevement/demandes.php @@ -31,6 +31,7 @@ require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.facture.class.php'; require_once DOL_DOCUMENT_ROOT.'/societe/class/societe.class.php'; require_once DOL_DOCUMENT_ROOT.'/compta/bank/class/account.class.php'; +require_once DOL_DOCUMENT_ROOT.'/salaries/class/salary.class.php'; // Load translation files required by the page $langs->loadLangs(array('banks', 'categories', 'withdrawals', 'companies')); @@ -44,6 +45,7 @@ $optioncss = GETPOST('optioncss', 'aZ'); // Option for the css output (always '' except when 'print') $type = GETPOST('type', 'aZ09'); +$sourcetype = GETPOST('sourcetype', 'aZ'); $search_facture = GETPOST('search_facture', 'alpha'); $search_societe = GETPOST('search_societe', 'alpha'); @@ -127,52 +129,79 @@ } // List of requests - -$sql = "SELECT f.ref, f.rowid, f.total_ttc,"; -$sql .= " s.nom as name, s.rowid as socid,"; -$sql .= " pfd.date_demande as date_demande, pfd.amount, pfd.fk_user_demande"; -if ($type != 'bank-transfer') { - $sql .= " FROM ".MAIN_DB_PREFIX."facture as f,"; -} else { - $sql .= " FROM ".MAIN_DB_PREFIX."facture_fourn as f,"; -} -$sql .= " ".MAIN_DB_PREFIX."societe as s,"; -$sql .= " ".MAIN_DB_PREFIX."prelevement_demande as pfd"; -if (empty($user->rights->societe->client->voir) && !$socid) { - $sql .= ", ".MAIN_DB_PREFIX."societe_commerciaux as sc"; -} -$sql .= " WHERE s.rowid = f.fk_soc"; -$sql .= " AND f.entity IN (".getEntity('invoice').")"; -if (empty($user->rights->societe->client->voir) && !$socid) { - $sql .= " AND s.rowid = sc.fk_soc AND sc.fk_user = ".((int) $user->id); -} -if ($socid) { - $sql .= " AND f.fk_soc = ".((int) $socid); -} -if (!$status) { - $sql .= " AND pfd.traite = 0"; -} -$sql .= " AND pfd.ext_payment_id IS NULL"; -if ($status) { - $sql .= " AND pfd.traite = ".((int) $status); -} -$sql .= " AND f.total_ttc > 0"; -if (empty($conf->global->WITHDRAWAL_ALLOW_ANY_INVOICE_STATUS)) { - $sql .= " AND f.fk_statut = ".Facture::STATUS_VALIDATED; -} -if ($type != 'bank-transfer') { - $sql .= " AND pfd.fk_facture = f.rowid"; +if ($sourcetype != 'salary') { + $sql = "SELECT f.ref, f.rowid, f.total_ttc,"; + $sql .= " s.nom as name, s.rowid as socid,"; + $sql .= " pd.date_demande as date_demande, pd.amount, pd.fk_user_demande"; + if ($type != 'bank-transfer') { + $sql .= " FROM ".MAIN_DB_PREFIX."facture as f,"; + } else { + $sql .= " FROM ".MAIN_DB_PREFIX."facture_fourn as f,"; + } + $sql .= " ".MAIN_DB_PREFIX."societe as s,"; + $sql .= " ".MAIN_DB_PREFIX."prelevement_demande as pd"; + if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { + $sql .= ", ".MAIN_DB_PREFIX."societe_commerciaux as sc"; + } + $sql .= " WHERE s.rowid = f.fk_soc"; + $sql .= " AND f.entity IN (".getEntity('invoice').")"; + if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { + $sql .= " AND s.rowid = sc.fk_soc AND sc.fk_user = ".((int) $user->id); + } + if ($socid) { + $sql .= " AND f.fk_soc = ".((int) $socid); + } + if (!$status) { + $sql .= " AND pd.traite = 0"; + } + $sql .= " AND pd.ext_payment_id IS NULL"; + if ($status) { + $sql .= " AND pd.traite = ".((int) $status); + } + $sql .= " AND f.total_ttc > 0"; + if (empty($conf->global->WITHDRAWAL_ALLOW_ANY_INVOICE_STATUS)) { + $sql .= " AND f.fk_statut = ".Facture::STATUS_VALIDATED; + } + if ($type != 'bank-transfer') { + $sql .= " AND pd.fk_facture = f.rowid"; + } else { + $sql .= " AND pd.fk_facture_fourn = f.rowid"; + } + if ($search_facture) { + $sql .= natural_search("f.ref", $search_facture); + } + if ($search_societe) { + $sql .= natural_search("s.nom", $search_societe); + } + $sql .= $db->order($sortfield, $sortorder); } else { - $sql .= " AND pfd.fk_facture_fourn = f.rowid"; -} -if ($search_facture) { - $sql .= natural_search("f.ref", $search_facture); -} -if ($search_societe) { - $sql .= natural_search("s.nom", $search_societe); + $sql = "SELECT s.rowid,s.amount as total_ttc, pd.amount,"; + $sql .= " s.fk_user, pd.date_demande, pd.fk_salary, CONCAT(u.firstname,' ',u.lastname) as nom"; + $sql .= " FROM ".MAIN_DB_PREFIX."salary as s, ".MAIN_DB_PREFIX."user as u,"; + $sql .= " ".MAIN_DB_PREFIX."prelevement_demande as pd"; + $sql .= " WHERE s.rowid = pd.fk_salary"; + $sql .= " AND u.rowid = s.fk_user"; + $sql .= " AND s.entity IN (".getEntity("salary").")"; + /*if (empty($conf->global->WITHDRAWAL_ALLOW_ANY_INVOICE_STATUS)) { + $sql .= " AND s.statut = ".Salary::STATUS_UNPAID; + }*/ + if (!$status) { + $sql .= " AND pd.traite = 0"; + } + $sql .= " AND pd.ext_payment_id IS NULL"; + if ($status) { + $sql .= " AND pd.traite = ".((int) $status); + } + $sql .= " AND s.amount > 0"; + $sql .= " AND s.paye = ".Salary::STATUS_UNPAID; + if ($search_facture) { + $sql .= natural_search("s.rowid", $search_facture); + } + if ($search_societe) { + $sql .= natural_search("CONCAT(u.firstname,' ',u.lastname)", $search_societe); + } + //print $sql; } -$sql .= $db->order($sortfield, $sortorder); - // Count total nb of records $nbtotalofrecords = ''; if (!getDolGlobalInt('MAIN_DISABLE_FULL_SCANLIST')) { @@ -204,8 +233,11 @@ if ($type == 'bank-transfer') { $newcardbutton = ''.$langs->trans("Back").''; } - -print '
'; +if ($sourcetype != 'salary') { + print ''; +} else { + print ''; +} if ($optioncss != '') { print ''; } @@ -225,52 +257,86 @@ $label = 'NewPaymentByBankTransfer'; $typefilter = 'type='.$type; } -$newcardbutton .= dolGetButtonTitle($langs->trans($label), '', 'fa fa-plus-circle', DOL_URL_ROOT.'/compta/prelevement/create.php'.($typefilter ? '?'.$typefilter : '')); +$newcardbutton .= dolGetButtonTitle($langs->trans($label), '', 'fa fa-plus-circle', DOL_URL_ROOT.'/compta/prelevement/create.php'.($typefilter ? '?'.$typefilter : '').($sourcetype ? '&sourcetype='.$sourcetype : '')); print_barre_liste($title, $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, $massactionbutton, $num, $nbtotalofrecords, 'generic', 0, $newcardbutton, '', $limit); +print '
'; // You can use div-table-responsive-no-min if you dont need reserved height for your table print ''; print ''; -print_liste_field_titre("Bill", $_SERVER["PHP_SELF"]); -print_liste_field_titre("Company", $_SERVER["PHP_SELF"]); -print_liste_field_titre("AmountRequested", $_SERVER["PHP_SELF"], "", "", $param, '', '', '', 'right '); -print_liste_field_titre("DateRequest", $_SERVER["PHP_SELF"], "", "", $param, '', '', '', 'center '); -print_liste_field_titre(''); -print ''; - -print ''; +// Action column +if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { + print ''; +} print ''; print ''; print ''; print ''; // Action column -print ''; +if (!getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { + print ''; +} +print ''; + +print ''; +if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { + print_liste_field_titre(''); +} +print_liste_field_titre(($sourcetype ? "RefSalary" : "Bill"), $_SERVER["PHP_SELF"]); +print_liste_field_titre(($sourcetype ? "Employee" :"Company"), $_SERVER["PHP_SELF"]); +print_liste_field_titre("AmountRequested", $_SERVER["PHP_SELF"], "", "", $param, '', '', '', 'right '); +print_liste_field_titre("DateRequest", $_SERVER["PHP_SELF"], "", "", $param, '', '', '', 'center '); +if (!getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { + print_liste_field_titre(''); +} print ''; +$userstatic = new User($db); +$salarystatic = new Salary($db); + $i = 0; while ($i < min($num, $limit)) { $obj = $db->fetch_object($resql); if (empty($obj)) { break; // Should not happen } - - $invoicestatic->fetch($obj->rowid); - + if ($sourcetype != 'salary') { + $invoicestatic->fetch($obj->rowid); + } else { + $salarystatic->fetch($obj->fk_salary); + $userstatic->fetch($obj->fk_user); + } print ''; + // Action column + if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { + print ''; + } + // Ref facture print ''; print ''; print ''; - print ''; + // Action column + if (!getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { + print ''; + } print ''; $i++; } -print "
'; + $searchpicto = $form->showFilterButtons(); + print $searchpicto; + print ''; -$searchpicto = $form->showFilterButtons(); -print $searchpicto; -print ''; + $searchpicto = $form->showFilterButtons(); + print $searchpicto; + print '
'; - print $invoicestatic->getNomUrl(1, 'withdraw'); + if ($sourcetype != 'salary') { + print $invoicestatic->getNomUrl(1, 'withdraw'); + } else { + print $salarystatic->getNomUrl(1, 'withdraw'); + } print ''; - $thirdpartystatic->id = $obj->socid; - $thirdpartystatic->name = $obj->name; - print $thirdpartystatic->getNomUrl(1, 'customer'); + if ($sourcetype != 'salary') { + $thirdpartystatic->id = $obj->socid; + $thirdpartystatic->name = $obj->name; + print $thirdpartystatic->getNomUrl(1, 'customer'); + } else { + print $userstatic->getNomUrl(-1, 'accountancy'); + } print ''; @@ -281,13 +347,18 @@ print ''.dol_print_date($db->jdate($obj->date_demande), 'day').'

"; +print ""; +print "
"; +print "
"; print '
'; diff --git a/htdocs/compta/prelevement/factures.php b/htdocs/compta/prelevement/factures.php index 3ccc00d201630..192a359a2c637 100644 --- a/htdocs/compta/prelevement/factures.php +++ b/htdocs/compta/prelevement/factures.php @@ -32,6 +32,7 @@ require_once DOL_DOCUMENT_ROOT.'/compta/prelevement/class/rejetprelevement.class.php'; require_once DOL_DOCUMENT_ROOT.'/compta/paiement/class/paiement.class.php'; require_once DOL_DOCUMENT_ROOT.'/compta/bank/class/account.class.php'; +require_once DOL_DOCUMENT_ROOT.'/salaries/class/salary.class.php'; // Load translation files required by the page $langs->loadLangs(array('banks', 'categories', 'bills', 'companies', 'withdrawals', 'suppliers')); @@ -40,6 +41,7 @@ $id = GETPOST('id', 'int'); $ref = GETPOST('ref', 'alpha'); $socid = GETPOST('socid', 'int'); +$userid = GETPOST('userid', 'int'); $type = GETPOST('type', 'aZ09'); // Load variable for pagination @@ -73,6 +75,7 @@ } $type = $object->type; +$salaryBonPl = $object->checkIfSalaryBonPrelevement(); if ($type == 'bank-transfer') { $result = restrictedArea($user, 'paymentbybanktransfer', '', '', ''); } else { @@ -199,43 +202,60 @@ } -// List of invoices -$sql = "SELECT pf.rowid, p.type,"; -$sql .= " f.rowid as facid, f.ref as ref, f.total_ttc,"; -if ($object->type == 'bank-transfer') { - $sql .= " f.ref_supplier,"; -} -$sql .= " s.rowid as socid, s.nom as name, pl.statut, pl.amount as amount_requested"; -$sql .= " FROM ".MAIN_DB_PREFIX."prelevement_bons as p"; -$sql .= ", ".MAIN_DB_PREFIX."prelevement_lignes as pl"; -$sql .= ", ".MAIN_DB_PREFIX."prelevement as pf"; -if ($object->type != 'bank-transfer') { - $sql .= ", ".MAIN_DB_PREFIX."facture as f"; -} else { - $sql .= ", ".MAIN_DB_PREFIX."facture_fourn as f"; -} -$sql .= ", ".MAIN_DB_PREFIX."societe as s"; -$sql .= " WHERE pf.fk_prelevement_lignes = pl.rowid"; -$sql .= " AND pl.fk_prelevement_bons = p.rowid"; -$sql .= " AND f.fk_soc = s.rowid"; -if ($object->type != 'bank-transfer') { - $sql .= " AND pf.fk_facture = f.rowid"; -} else { - $sql .= " AND pf.fk_facture_fourn = f.rowid"; -} -if ($object->type != 'bank-transfer') { - $sql .= " AND f.entity IN (".getEntity('invoice').")"; +// List of invoices or salaries +if ($salaryBonPl) { + $sql = "SELECT pf.rowid, p.type,"; + $sql .= " f.rowid as salaryid, f.ref as ref, f.amount,"; + $sql .= " u.rowid as userid, u.firstname, u.lastname, pl.statut as status, pl.amount as amount_requested"; + $sql .= " FROM ".MAIN_DB_PREFIX."prelevement_bons as p"; + $sql .= " INNER JOIN ".MAIN_DB_PREFIX."prelevement_lignes as pl ON pl.fk_prelevement_bons = p.rowid"; + $sql .= " INNER JOIN ".MAIN_DB_PREFIX."prelevement as pf ON pf.fk_prelevement_lignes = pl.rowid"; + $sql .= " INNER JOIN ".MAIN_DB_PREFIX."salary as f ON f.rowid = pf.fk_salary AND f.entity IN (".getEntity('salary').")"; + $sql .= " INNER JOIN ".MAIN_DB_PREFIX."user as u ON f.fk_user = u.rowid"; + $sql .= " WHERE 1 = 1"; + if ($object->id > 0) { + $sql .= " AND p.rowid = ".((int) $object->id); + } + if ($userid > 0) { + $sql .= " AND u.rowid = ".((int) $userid); + } } else { - $sql .= " AND f.entity IN (".getEntity('supplier_invoice').")"; -} -if ($object->id > 0) { - $sql .= " AND p.rowid = ".((int) $object->id); -} -if ($socid > 0) { - $sql .= " AND s.rowid = ".((int) $socid); + $sql = "SELECT pf.rowid, p.type,"; + $sql .= " f.rowid as facid, f.ref as ref, f.total_ttc,"; + if ($object->type == 'bank-transfer') { + $sql .= " f.ref_supplier,"; + } + $sql .= " s.rowid as socid, s.nom as name, pl.statut as status, pl.amount as amount_requested"; + $sql .= " FROM ".MAIN_DB_PREFIX."prelevement_bons as p,"; + $sql .= " ".MAIN_DB_PREFIX."prelevement_lignes as pl,"; + $sql .= " ".MAIN_DB_PREFIX."prelevement as pf"; + if ($object->type != 'bank-transfer') { + $sql .= ", ".MAIN_DB_PREFIX."facture as f"; + } else { + $sql .= ", ".MAIN_DB_PREFIX."facture_fourn as f"; + } + $sql .= ", ".MAIN_DB_PREFIX."societe as s"; + $sql .= " WHERE pf.fk_prelevement_lignes = pl.rowid"; + $sql .= " AND pl.fk_prelevement_bons = p.rowid"; + $sql .= " AND f.fk_soc = s.rowid"; + if ($object->type != 'bank-transfer') { + $sql .= " AND pf.fk_facture = f.rowid"; + } else { + $sql .= " AND pf.fk_facture_fourn = f.rowid"; + } + if ($object->type != 'bank-transfer') { + $sql .= " AND f.entity IN (".getEntity('invoice').")"; + } else { + $sql .= " AND f.entity IN (".getEntity('supplier_invoice').")"; + } + if ($object->id > 0) { + $sql .= " AND p.rowid = ".((int) $object->id); + } + if ($socid > 0) { + $sql .= " AND s.rowid = ".((int) $socid); + } + $sql .= $db->order($sortfield, $sortorder); } -$sql .= $db->order($sortfield, $sortorder); - // Count total nb of records $nbtotalofrecords = ''; if (!getDolGlobalInt('MAIN_DISABLE_FULL_SCANLIST')) { @@ -248,7 +268,6 @@ } $sql .= $db->plimit($limit + 1, $offset); - $resql = $db->query($sql); if ($resql) { $num = $db->num_rows($resql); @@ -275,18 +294,18 @@ $massactionbutton = ''; - print_barre_liste($langs->trans("Invoices"), $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, $massactionbutton, $num, $nbtotalofrecords, '', 0, '', '', $limit); + print_barre_liste(($salaryBonPl ? $langs->trans("Salaries") : $langs->trans("Invoices")), $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, $massactionbutton, $num, $nbtotalofrecords, '', 0, '', '', $limit); print"\n\n"; print '
'; // You can use div-table-responsive-no-min if you dont need reserved height for your table print ''; print ''; - print_liste_field_titre("Bill", $_SERVER["PHP_SELF"], "p.ref", '', $param, '', $sortfield, $sortorder); - if ($object->type == 'bank-transfer') { + print_liste_field_titre(($salaryBonPl ? "Salary" : "Bill"), $_SERVER["PHP_SELF"], "p.ref", '', $param, '', $sortfield, $sortorder); + if ($object->type == 'bank-transfer' && !$salaryBonPl) { print_liste_field_titre("RefSupplierShort", $_SERVER["PHP_SELF"], "f.ref_supplier", '', $param, '', $sortfield, $sortorder); } - print_liste_field_titre("ThirdParty", $_SERVER["PHP_SELF"], "s.nom", '', $param, '', $sortfield, $sortorder); - print_liste_field_titre("AmountInvoice", $_SERVER["PHP_SELF"], "f.total_ttc", "", $param, 'class="right"', $sortfield, $sortorder); + print_liste_field_titre(($salaryBonPl ? "Employee" : "ThirdParty"), $_SERVER["PHP_SELF"], "s.nom", '', $param, '', $sortfield, $sortorder); + print_liste_field_titre(($salaryBonPl ? "AmountSalary": "AmountInvoice"), $_SERVER["PHP_SELF"], "f.total_ttc", "", $param, 'class="right"', $sortfield, $sortorder); print_liste_field_titre("AmountRequested", $_SERVER["PHP_SELF"], "pl.amount", "", $param, 'class="right"', $sortfield, $sortorder); print_liste_field_titre("Status", $_SERVER["PHP_SELF"], "", "", $param, 'align="center"', $sortfield, $sortorder); print_liste_field_titre(''); @@ -295,58 +314,66 @@ $totalinvoices = 0; $totalamount_requested = 0; - $invoicetmpcustomer = new Facture($db); - $invoicetmpsupplier = new FactureFournisseur($db); + if ($salaryBonPl) { + $salarytmp = new Salary($db); + $usertmp = new User($db); + } else { + $invoicetmpcustomer = new Facture($db); + $invoicetmpsupplier = new FactureFournisseur($db); + } while ($i < min($num, $limit)) { $obj = $db->fetch_object($resql); - - if ($obj->type == 'bank-transfer') { - $invoicetmp = $invoicetmpsupplier; + if ($salaryBonPl) { + $salarytmp->fetch($obj->salaryid); + $usertmp->fetch($obj->userid); } else { - $invoicetmp = $invoicetmpcustomer; - } - $invoicetmp->fetch($obj->facid); + if ($obj->type == 'bank-transfer') { + $invoicetmp = $invoicetmpsupplier; + } else { + $invoicetmp = $invoicetmpcustomer; + } + $invoicetmp->fetch($obj->facid); - $thirdpartytmp->fetch($obj->socid); + $thirdpartytmp->fetch($obj->socid); + } print ''; + print '\n"; - if ($object->type == 'bank-transfer') { + if ($object->type == 'bank-transfer' && !$salaryBonPl) { print '\n"; } print '\n"; // Amount of invoice - print '\n"; + print '\n"; // Amount requested print '\n"; // Status of requests print '"; print ""; @@ -362,7 +389,7 @@ if ($num > 0) { print ''; print ''; - if ($object->type == 'bank-transfer') { + if ($object->type == 'bank-transfer' && !$salaryBonPl) { print ''; } print ''; diff --git a/htdocs/compta/prelevement/index.php b/htdocs/compta/prelevement/index.php index 71677f0051c2e..50ee252eabf3d 100644 --- a/htdocs/compta/prelevement/index.php +++ b/htdocs/compta/prelevement/index.php @@ -106,7 +106,7 @@ $sql .= " s.nom as name, s.email, s.rowid as socid, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6"; $sql .= " FROM ".MAIN_DB_PREFIX."facture as f,"; $sql .= " ".MAIN_DB_PREFIX."societe as s"; -if (empty($user->rights->societe->client->voir) && !$socid) { +if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= ", ".MAIN_DB_PREFIX."societe_commerciaux as sc"; } $sql .= " , ".MAIN_DB_PREFIX."prelevement_demande as pfd"; @@ -119,7 +119,7 @@ $sql .= " AND pfd.traite = 0"; $sql .= " AND pfd.ext_payment_id IS NULL"; $sql .= " AND pfd.fk_facture = f.rowid"; -if (empty($user->rights->societe->client->voir) && !$socid) { +if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= " AND s.rowid = sc.fk_soc AND sc.fk_user = ".((int) $user->id); } if ($socid) { diff --git a/htdocs/compta/prelevement/line.php b/htdocs/compta/prelevement/line.php index e584805d0bdce..aca3966f7ed2b 100644 --- a/htdocs/compta/prelevement/line.php +++ b/htdocs/compta/prelevement/line.php @@ -202,7 +202,7 @@ dol_print_error($db); } - if ($action == 'rejet' && $user->rights->prelevement->bons->credit) { + if ($action == 'rejet' && $user->hasRight('prelevement', 'bons', 'credit')) { $soc = new Societe($db); $soc->fetch($lipre->socid); @@ -255,7 +255,7 @@ if ($action == '') { if ($bon->statut == BonPrelevement::STATUS_CREDITED) { if ($lipre->statut == 2) { - if ($user->rights->prelevement->bons->credit) { + if ($user->hasRight('prelevement', 'bons', 'credit')) { print ''.$langs->trans("StandingOrderReject").''; } else { print ''.$langs->trans("StandingOrderReject").''; diff --git a/htdocs/compta/prelevement/list.php b/htdocs/compta/prelevement/list.php index 0e3daaf496bd2..302c4db24dfd2 100644 --- a/htdocs/compta/prelevement/list.php +++ b/htdocs/compta/prelevement/list.php @@ -63,7 +63,7 @@ $sortorder = "DESC"; } if (!$sortfield) { - $sortfield = "p.datec"; + $sortfield = ($type == 'bank-transfer' ? "datec" : "p.datec"); } $search_line = GETPOST('search_line', 'alpha'); @@ -75,6 +75,7 @@ $bon = new BonPrelevement($db); $line = new LignePrelevement($db); $company = new Societe($db); +$userstatic = new User($db); $hookmanager->initHooks(array('withdrawalsreceiptslineslist')); @@ -115,7 +116,7 @@ } $help_url = ''; -$sql = "SELECT p.rowid, p.ref, p.statut as status, p.datec"; +$sql = "SELECT p.rowid, p.ref, p.statut as status, p.datec"; $sql .= " , f.rowid as facid, f.ref as invoiceref, f.total_ttc"; $sql .= " , s.rowid as socid, s.nom as name, s.code_client, s.code_fournisseur, s.email"; $sql .= " , pl.amount, pl.statut as statut_ligne, pl.rowid as rowid_ligne"; @@ -143,11 +144,11 @@ if ($socid) { $sql .= " AND s.rowid = ".((int) $socid); } -if ($search_line) { - $sql .= " AND pl.rowid = '".$db->escape($search_line)."'"; -} if ($search_bon) { - $sql .= natural_search("p.ref", $search_bon); + $sql .= " AND pl.rowid = '".$db->escape($search_bon)."'"; +} +if ($search_line) { + $sql .= natural_search("p.ref", $search_line); } if ($type == 'bank-transfer') { if ($search_code) { @@ -161,13 +162,59 @@ if ($search_company) { $sql .= natural_search("s.nom", $search_company); } - +//get salary invoices +if ($type == 'bank-transfer') { + $sql .= " UNION"; + + $sql .= " SELECT p.rowid, p.ref, p.statut as status, p.datec"; + $sql .= ", sl.rowid as facid, sl.ref as invoiceref, sl.amount"; + $sql .= ", u.rowid as socid, CONCAT(u.firstname, ' ', u.lastname) as name, u.ref_employee as code_client, NULL as code_fournisseur, u.email"; + $sql .= ", pl.amount, pl.statut as statut_ligne, pl.rowid as rowid_ligne"; + + $sql .= " FROM ".MAIN_DB_PREFIX."prelevement_bons as p"; + $sql .= " , ".MAIN_DB_PREFIX."prelevement_lignes as pl"; + $sql .= " , ".MAIN_DB_PREFIX."prelevement as pf"; + $sql .= " , ".MAIN_DB_PREFIX."salary as sl"; + $sql .= " , ".MAIN_DB_PREFIX."user as u"; + + $sql .= " WHERE pl.fk_prelevement_bons = p.rowid"; + $sql .= " AND pf.fk_prelevement_lignes = pl.rowid"; + $sql .= " AND pf.fk_salary = sl.rowid"; + $sql .= " AND sl.fk_user = u.rowid"; + $sql .= " AND sl.entity IN (".getEntity('invoice').")"; + if ($socid) { + $sql .= " AND s.rowid = ".((int) $socid); + } + if ($search_bon) { + $sql .= " AND pl.rowid = '".$db->escape($search_bon)."'"; + } + if ($search_line) { + $sql .= natural_search("p.ref", $search_line); + } + if ($type == 'bank-transfer') { + if ($search_code) { + $sql .= natural_search("NULL", $search_code); + } + } else { + if ($search_code) { + $sql .= natural_search("s.code_client", $search_code); + } + } + if ($search_company) { + $sql .= natural_search(array("u.firstname","u.lastname"), $search_company); + } +} // Count total nb of records $nbtotalofrecords = ''; if (!getDolGlobalInt('MAIN_DISABLE_FULL_SCANLIST')) { /* The fast and low memory method to get and count full list converts the sql into a sql count */ - $sqlforcount = preg_replace('/^'.preg_quote($sqlfields, '/').'/', 'SELECT COUNT(*) as nbtotalofrecords', $sql); - $sqlforcount = preg_replace('/GROUP BY .*$/', '', $sqlforcount); + if ($type == 'bank-transfer') { + $sqlforcount = "SELECT COUNT(*) as nbtotalofrecords FROM (" . $sql . ") AS combined_results"; + } else { + $sqlforcount = preg_replace('/^'.preg_quote($sqlfields, '/').'/', 'SELECT COUNT(*) as nbtotalofrecords', $sql); + $sqlforcount = preg_replace('/GROUP BY .*$/', '', $sqlforcount); + } + $resql = $db->query($sqlforcount); if ($resql) { $objforcount = $db->fetch_object($resql); @@ -332,9 +379,9 @@ $totalarray['nbfield']++; print_liste_field_titre("Line", $_SERVER["PHP_SELF"], '', '', $param, '', $sortfield, $sortorder); $totalarray['nbfield']++; -print_liste_field_titre("Bill", $_SERVER["PHP_SELF"], "f.ref", '', $param, '', $sortfield, $sortorder); +print_liste_field_titre(($type == 'bank-transfer' ? "BillsAndSalaries" : "Bills"), $_SERVER["PHP_SELF"], "f.ref", '', $param, '', $sortfield, $sortorder); $totalarray['nbfield']++; -print_liste_field_titre("Company", $_SERVER["PHP_SELF"], "s.nom", '', $param, '', $sortfield, $sortorder); +print_liste_field_titre("ThirdParty", $_SERVER["PHP_SELF"], "s.nom", '', $param, '', $sortfield, $sortorder); $totalarray['nbfield']++; print_liste_field_titre($columntitlethirdparty, $_SERVER["PHP_SELF"], $columncodethirdparty, '', $param, '', $sortfield, $sortorder, 'center '); $totalarray['nbfield']++; @@ -367,7 +414,14 @@ $bon->total = $obj->amount; $object = $bon; + if ($object->checkIfSalaryBonPrelevement()) { + $userstatic->id = $obj->socid; + $userstatic->email = $obj->email; + $fullname = explode(' ', $obj->name); + $userstatic->firstname = $fullname[0]; + $userstatic->lastname = isset($fullname[1]) ? $fullname[1] : ''; + } $company->id = $obj->socid; $company->name = $obj->name; $company->email = $obj->email; @@ -379,13 +433,14 @@ print '
'; } // Output Kanban + $selected = -1; if ($massactionbutton || $massaction) { // If we are in select mode (massactionbutton defined) or if we have already selected and sent an action ($massaction) defined $selected = 0; if (in_array($object->id, $arrayofselected)) { $selected = 1; } } - print $object->getKanbanView('', array('selected' => in_array($bon->id, $arrayofselected))); + print $object->getKanbanView('', array('selected' => $selected)); if ($i == ($imaxinloop - 1)) { print '
'; print ''; @@ -426,18 +481,29 @@ $link_title = 'Invoice'; $link_picto = 'bill'; if ($type == 'bank-transfer') { - $link_to_bill = '/fourn/facture/card.php?facid='; - $link_title = 'SupplierInvoice'; - $link_picto = 'supplier_invoice'; + if ($bon->checkIfSalaryBonPrelevement()) { + $link_to_bill = '/salaries/card.php?id='; + $link_title = 'SalaryInvoice'; + $link_picto = 'salary'; + } else { + $link_to_bill = '/fourn/facture/card.php?facid='; + $link_title = 'SupplierInvoice'; + $link_picto = 'supplier_invoice'; + } } print ''; print img_object($langs->trans($link_title), $link_picto); - print ' '.$obj->invoiceref."\n"; + if (!$bon->checkIfSalaryBonPrelevement()) { + print ' '.$obj->invoiceref."\n"; + } else { + print ' '.(!empty($obj->invoiceref) ? $obj->invoiceref : $obj->facid)."\n"; + } print ''; print ''; print '\n"; diff --git a/htdocs/compta/prelevement/orders_list.php b/htdocs/compta/prelevement/orders_list.php index 57f6532097902..244ee01bd2db9 100644 --- a/htdocs/compta/prelevement/orders_list.php +++ b/htdocs/compta/prelevement/orders_list.php @@ -278,6 +278,7 @@ $newcardbutton .= dolGetButtonTitle($langs->trans('ViewList'), '', 'fa fa-bars imgforviewmode', $_SERVER["PHP_SELF"].'?mode=common'.preg_replace('/(&|\?)*mode=[^&]+/', '', $param), '', ((empty($mode) || $mode == 'common') ? 2 : 1), array('morecss'=>'reposition')); $newcardbutton .= dolGetButtonTitle($langs->trans('ViewKanban'), '', 'fa fa-th-list imgforviewmode', $_SERVER["PHP_SELF"].'?mode=kanban'.preg_replace('/(&|\?)*mode=[^&]+/', '', $param), '', ($mode == 'kanban' ? 2 : 1), array('morecss'=>'reposition')); if ($usercancreate) { + $newcardbutton .= dolGetButtonTitleSeparator(); $newcardbutton .= dolGetButtonTitle($langs->trans('NewStandingOrder'), '', 'fa fa-plus-circle', DOL_URL_ROOT.'/compta/prelevement/create.php?type='.urlencode($type)); } diff --git a/htdocs/compta/prelevement/rejets.php b/htdocs/compta/prelevement/rejets.php index 4b30df4ffefa2..baed8076f6baa 100644 --- a/htdocs/compta/prelevement/rejets.php +++ b/htdocs/compta/prelevement/rejets.php @@ -30,6 +30,7 @@ require_once DOL_DOCUMENT_ROOT.'/compta/prelevement/class/ligneprelevement.class.php'; require_once DOL_DOCUMENT_ROOT.'/compta/paiement/class/paiement.class.php'; require_once DOL_DOCUMENT_ROOT.'/compta/bank/class/account.class.php'; +require_once DOL_DOCUMENT_ROOT.'/compta/prelevement/class/bonprelevement.class.php'; // Load translation files required by the page $langs->loadLangs(array('banks', 'categories', 'withdrawals', 'companies')); @@ -88,8 +89,8 @@ // List of invoices -$sql = "SELECT pl.rowid, pr.motif, p.ref, pl.statut"; -$sql .= " , s.rowid as socid, s.nom"; +$sql = "SELECT pl.rowid, pr.motif, p.ref, pl.statut, p.rowid as bonId"; +$sql .= " , s.rowid as socid, s.nom as name, p.datec"; $sql .= " FROM ".MAIN_DB_PREFIX."prelevement_bons as p"; $sql .= " , ".MAIN_DB_PREFIX."prelevement_rejet as pr"; $sql .= " , ".MAIN_DB_PREFIX."prelevement_lignes as pl"; @@ -106,9 +107,28 @@ if ($socid) { $sql .= " AND s.rowid = ".((int) $socid); } +if ($type == 'bank-transfer') { + $sql .= " UNION"; + $sql .= " SELECT pl.rowid, pr.motif, p.ref, pl.statut, p.rowid as bonId"; + $sql .= " ,u.rowid as socid, CONCAT(u.firstname,' ', u.lastname) as name, p.datec"; + $sql .= " FROM ".MAIN_DB_PREFIX."prelevement_bons as p"; + $sql .= " , ".MAIN_DB_PREFIX."prelevement_rejet as pr"; + $sql .= " , ".MAIN_DB_PREFIX."prelevement_lignes as pl"; + $sql .= " , ".MAIN_DB_PREFIX."user as u"; + $sql .= " WHERE pr.fk_prelevement_lignes = pl.rowid"; + $sql .= " AND pl.fk_prelevement_bons = p.rowid"; + $sql .= " AND pl.fk_user = u.rowid"; + $sql .= " AND p.entity = ".$conf->entity; + $sql .= " AND p.type = 'bank-transfer'"; + if ($socid) { + $sql .= " AND s.rowid = ".((int) $socid); + } +} +if ($type == 'bank-transfer') { + $sortfield = 'datec'; +} $sql .= $db->order($sortfield, $sortorder); $sql .= $db->plimit($limit + 1, $offset); - $result = $db->query($sql); if ($result) { $num = $db->num_rows($result); @@ -125,9 +145,11 @@ print_liste_field_titre("Reason", $_SERVER["PHP_SELF"], "pr.motif", "", $param); print "\n"; + $bon = new BonPrelevement($db); if ($num) { while ($i < min($num, $limit)) { $obj = $db->fetch_object($result); + $bon->fetch($obj->bonId); print ''; @@ -135,8 +157,11 @@ print $line->LibStatut($obj->statut, 2).' '; print ''; print substr('000000'.$obj->rowid, -6).""; - - print '\n"; + if ($bon->checkIfSalaryBonPrelevement()) { + print '\n"; + } else { + print '\n"; + } print ''; diff --git a/htdocs/compta/prelevement/stats.php b/htdocs/compta/prelevement/stats.php index a3439266ce8df..1ebee939615e2 100644 --- a/htdocs/compta/prelevement/stats.php +++ b/htdocs/compta/prelevement/stats.php @@ -125,12 +125,12 @@ //print $st[$row[2]]; print ''; - print ''; print ''; print ''; print ''; print ''; @@ -229,17 +229,19 @@ print ''; - print ''; - print ''; diff --git a/htdocs/compta/resultat/clientfourn.php b/htdocs/compta/resultat/clientfourn.php index 0a969dd3e79d1..584ece4707975 100644 --- a/htdocs/compta/resultat/clientfourn.php +++ b/htdocs/compta/resultat/clientfourn.php @@ -74,11 +74,11 @@ if (empty($year)) { $year_current = dol_print_date(dol_now(), "%Y"); $month_current = dol_print_date(dol_now(), "%m"); - $year_start = $year_current - ($nbofyear - 1); + $year_start = $year_current; } else { $year_current = $year; $month_current = dol_print_date(dol_now(), "%m"); - $year_start = $year - $nbofyear + (getDolGlobalInt('SOCIETE_FISCAL_MONTH_START') > 1 ? 0 : 1); + $year_start = $year; } $date_start = dol_mktime(0, 0, 0, $date_startmonth, $date_startday, $date_startyear); $date_end = dol_mktime(23, 59, 59, $date_endmonth, $date_endday, $date_endyear); @@ -88,14 +88,17 @@ $q = GETPOST("q") ? GETPOST("q", 'int') : 0; if ($q == 0) { // We define date_start and date_end - $year_end = $year_start + $nbofyear - (getDolGlobalInt('SOCIETE_FISCAL_MONTH_START') > 1 ? 0 : 1); + $year_end = $year_start; $month_start = GETPOST("month") ? GETPOST("month", 'int') : getDolGlobalInt('SOCIETE_FISCAL_MONTH_START', 1); if (!GETPOST('month')) { if (!$year && $month_start > $month_current) { $year_start--; $year_end--; } - $month_end = $month_start - 1; + if (getDolGlobalInt('SOCIETE_FISCAL_MONTH_START') > 1) { + $month_end = $month_start - 1; + $year_end = $year_start + 1; + } if ($month_end < 1) { $month_end = 12; } diff --git a/htdocs/compta/sociales/card.php b/htdocs/compta/sociales/card.php index df226ad807e78..a12f14741cb3e 100644 --- a/htdocs/compta/sociales/card.php +++ b/htdocs/compta/sociales/card.php @@ -115,7 +115,7 @@ $result = $object->setPaid($user); } - if ($action == 'reopen' && $user->rights->tax->charges->creer) { + if ($action == 'reopen' && $user->hasRight('tax', 'charges', 'creer')) { if ($object->paye) { $result = $object->setUnpaid($user); if ($result > 0) { @@ -334,7 +334,7 @@ $now = dol_now(); $title = $langs->trans("SocialContribution").' - '.$langs->trans("Card"); -$help_url = 'EN:Module_Taxes_and_social_contributions|FR:Module Taxes et dividendes|ES:Módulo Impuestos y cargas sociales (IVA, impuestos)'; +$help_url = 'EN:Module_Taxes_and_social_contributions|FR:Module_Taxes_et_charges_spéciales|ES:Módulo Impuestos y cargas sociales (IVA, impuestos)'; llxHeader("", $title, $help_url); @@ -506,8 +506,8 @@ $morehtmlref = '
'; // Ref customer - $morehtmlref .= $form->editfieldkey("Label", 'lib', $object->label, $object, $user->rights->tax->charges->creer, 'string', '', 0, 1); - $morehtmlref .= $form->editfieldval("Label", 'lib', $object->label, $object, $user->rights->tax->charges->creer, 'string', '', null, null, '', 1); + $morehtmlref .= $form->editfieldkey("Label", 'lib', $object->label, $object, $user->hasRight('tax', 'charges', 'creer'), 'string', '', 0, 1); + $morehtmlref .= $form->editfieldval("Label", 'lib', $object->label, $object, $user->hasRight('tax', 'charges', 'creer'), 'string', '', null, null, '', 1); // Employee if ($action != 'editfk_user') { @@ -518,7 +518,7 @@ $morehtmlref .= '
' .$langs->trans('Employee').' : '.$userstatic->getNomUrl(1); } } else { - $morehtmlref .= '
' . $form->editfieldkey("Employee", 'fk_user', $object->label, $object, $user->rights->salaries->write, 'string', '', 0, 1); + $morehtmlref .= '
' . $form->editfieldkey("Employee", 'fk_user', $object->label, $object, $user->hasRight('salaries', 'write'), 'string', '', 0, 1); if ($object->fk_user > 0) { $userstatic = new User($db); $result = $userstatic->fetch($object->fk_user); @@ -631,7 +631,7 @@ print '
'; - print $invoicetmp->getNomUrl(1); + print ($salaryBonPl ? $salarytmp->getNomUrl(1) : $invoicetmp->getNomUrl(1)); print "'; print dol_escape_htmltag($invoicetmp->ref_supplier); print "'; - print $thirdpartytmp->getNomUrl(1); + print ($salaryBonPl ? $usertmp->getNomUrl(-1) : $thirdpartytmp->getNomUrl(1)); print "'.price($obj->total_ttc)."'.price(($salaryBonPl ? $obj->amount :$obj->total_ttc))."'.price($obj->amount_requested)."'; - - if ($obj->statut == 0) { - print '-'; - } elseif ($obj->statut == 2) { + if ($obj->status == 0) { + print $langs->trans("StatusWaiting"); + } elseif ($obj->status == 2) { if ($obj->type == 'bank-transfer') { print $langs->trans("StatusDebited"); } else { print $langs->trans("StatusCredited"); } - } elseif ($obj->statut == 3) { + } elseif ($obj->status == 3) { print ''.$langs->trans("StatusRefused").''; } - print "
'.$langs->trans("Total").'  
'; - print $company->getNomUrl(1); + + print (!$bon->checkIfSalaryBonPrelevement() ? $company->getNomUrl(1) : $userstatic->getNomUrl(1)); print "
'.$obj->nom."'.$obj->nom."'.$obj->nom."'.$rej->motifs[$obj->motif].''; + print ''; print $row[1]; print ''; - print round($row[1] / $nbtotal * 100, 2)." %"; + print price2num($row[1] / $nbtotal * 100, 2)." %"; print ''; @@ -138,7 +138,7 @@ print ''; - print round($row[0] / $total * 100, 2)." %"; + print price2num($row[0] / $total * 100, 2)." %"; print '
'; print $Rejet->motifs[$row[2]]; + print ''.$row[1]; + print ''.$row[1]; + print ''; - print round($row[1] / $nbtotal * 100, 2)." %"; + print ''; + print price2num($row[1] / $nbtotal * 100, 2)." %"; print ''; print price($row[0]); print ''; - print round($row[0] / $total * 100, 2)." %"; + print price2num($row[0] / $total * 100, 2)." %"; print '
'; } print '
'; print $langs->trans('DefaultBankAccount'); print ''; - if ($action != 'editbankaccount' && $user->rights->tax->charges->creer) { + if ($action != 'editbankaccount' && $user->hasRight('tax', 'charges', 'creer')) { print 'id.'">'.img_edit($langs->trans('SetBankAccount'), 1).'
'; @@ -748,14 +748,14 @@ print ''; } - print ''.$langs->trans("AlreadyPaid").' :'.price($totalpaid)."\n"; - print ''.$langs->trans("AmountExpected").' :'.price($object->amount)."\n"; + print ''.$langs->trans("AlreadyPaid").' :'.price($totalpaid)."\n"; + print ''.$langs->trans("AmountExpected").' :'.price($object->amount)."\n"; $resteapayer = $object->amount - $totalpaid; $cssforamountpaymentcomplete = 'amountpaymentcomplete'; print ''.$langs->trans("RemainderToPay")." :"; - print ''.price($resteapayer)."\n"; + print ''.price($resteapayer)."\n"; print ""; print '
'; @@ -786,32 +786,32 @@ print '
'."\n"; // Reopen - if ($object->paye && $user->rights->tax->charges->creer) { + if ($object->paye && $user->hasRight('tax', 'charges', 'creer')) { print ''; } // Edit - if ($object->paye == 0 && $user->rights->tax->charges->creer) { + if ($object->paye == 0 && $user->hasRight('tax', 'charges', 'creer')) { print ''; } // Emit payment - if ($object->paye == 0 && ((price2num($object->amount) < 0 && price2num($resteapayer, 'MT') < 0) || (price2num($object->amount) > 0 && price2num($resteapayer, 'MT') > 0)) && $user->rights->tax->charges->creer) { + if ($object->paye == 0 && ((price2num($object->amount) < 0 && price2num($resteapayer, 'MT') < 0) || (price2num($object->amount) > 0 && price2num($resteapayer, 'MT') > 0)) && $user->hasRight('tax', 'charges', 'creer')) { print '"; } // Classify 'paid' - if ($object->paye == 0 && round($resteapayer) <= 0 && $user->rights->tax->charges->creer) { + if ($object->paye == 0 && round($resteapayer) <= 0 && $user->hasRight('tax', 'charges', 'creer')) { print ''; } // Clone - if ($user->rights->tax->charges->creer) { + if ($user->hasRight('tax', 'charges', 'creer')) { print '"; } // Delete - if ($user->rights->tax->charges->supprimer && empty($totalpaid)) { + if ($user->hasRight('tax', 'charges', 'supprimer') && empty($totalpaid)) { print ''; } else { print ''; diff --git a/htdocs/compta/sociales/class/cchargesociales.class.php b/htdocs/compta/sociales/class/cchargesociales.class.php index 371c3ffeb6804..0825f223f19d9 100644 --- a/htdocs/compta/sociales/class/cchargesociales.class.php +++ b/htdocs/compta/sociales/class/cchargesociales.class.php @@ -366,7 +366,7 @@ public function delete(User $user, $notrigger = false) * @param int $fromid Id of object to clone * @return int New id of clone */ - public function createFromClone(User $user, $fromid) + /*public function createFromClone(User $user, $fromid) { dol_syslog(__METHOD__, LOG_DEBUG); @@ -406,7 +406,7 @@ public function createFromClone(User $user, $fromid) return -1; } - } + }*/ /** * Return a link to the user card (with optionaly the picto) @@ -419,7 +419,7 @@ public function createFromClone(User $user, $fromid) * @param string $morecss Add more css on link * @return string String with URL */ - public function getNomUrl($withpicto = 0, $option = '', $notooltip = 0, $maxlen = 24, $morecss = '') + /*public function getNomUrl($withpicto = 0, $option = '', $notooltip = 0, $maxlen = 24, $morecss = '') { global $langs, $conf, $db; global $dolibarr_main_authentication, $dolibarr_main_demo; @@ -446,7 +446,7 @@ public function getNomUrl($withpicto = 0, $option = '', $notooltip = 0, $maxlen } $result .= $link.$this->ref.$linkend; return $result; - } + }*/ /** * Return the label of the status @@ -454,10 +454,10 @@ public function getNomUrl($withpicto = 0, $option = '', $notooltip = 0, $maxlen * @param int $mode 0=long label, 1=short label, 2=Picto + short label, 3=Picto, 4=Picto + long label, 5=Short label + Picto, 6=Long label + Picto * @return string Label of status */ - public function getLibStatut($mode = 0) + /*public function getLibStatut($mode = 0) { return $this->LibStatut($this->status, $mode); - } + }*/ // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps /** diff --git a/htdocs/compta/sociales/class/chargesociales.class.php b/htdocs/compta/sociales/class/chargesociales.class.php index 16f7db81070cb..ac32bbebecc84 100644 --- a/htdocs/compta/sociales/class/chargesociales.class.php +++ b/htdocs/compta/sociales/class/chargesociales.class.php @@ -433,7 +433,7 @@ public function solde($year = 0) // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps /** - * Tag social contribution as paid completely + * Tag social contribution as paid completely * * @deprecated * @see setPaid() @@ -710,24 +710,9 @@ public function info($id) $this->id = $obj->rowid; - if ($obj->fk_user_author) { - $cuser = new User($this->db); - $cuser->fetch($obj->fk_user_author); - $this->user_creation = $cuser; - } - - if ($obj->fk_user_modif) { - $muser = new User($this->db); - $muser->fetch($obj->fk_user_modif); - $this->user_modification = $muser; - } - - if ($obj->fk_user_valid) { - $vuser = new User($this->db); - $vuser->fetch($obj->fk_user_valid); - $this->user_validation = $vuser; - } - + $this->user_creation_id = $obj->fk_user_author; + $this->user_modification_id = $obj->fk_user_modif; + $this->user_validation_id = $obj->fk_user_valid; $this->date_creation = $this->db->jdate($obj->datec); $this->date_modification = $this->db->jdate($obj->datem); $this->date_validation = $this->db->jdate($obj->datev); @@ -756,9 +741,9 @@ public function initAsSpecimen() $this->ref = 'SPECIMEN'; $this->specimen = 1; $this->paye = 0; - $this->date = dol_now(); - $this->date_ech = $this->date + 3600 * 24 * 30; - $this->periode = $this->date + 3600 * 24 * 30; + $this->date_creation = dol_now(); + $this->date_ech = $this->date_creation + 3600 * 24 * 30; + $this->periode = $this->date_creation + 3600 * 24 * 30; $this->amount = 100; $this->label = 'Social contribution label'; $this->type = 1; @@ -785,7 +770,9 @@ public function getKanbanView($option = '', $arraydata = null) $return .= ''; $return .= '
'; $return .= ''.(method_exists($this, 'getNomUrl') ? $this->getNomUrl(0) : $this->ref).''; - $return .= ''; + if ($selected >= 0) { + $return .= ''; + } if (property_exists($this, 'label')) { $return .= '  
'.$this->label.'
'; } diff --git a/htdocs/compta/sociales/class/paymentsocialcontribution.class.php b/htdocs/compta/sociales/class/paymentsocialcontribution.class.php index a798eee92bba3..1020b4cec001f 100644 --- a/htdocs/compta/sociales/class/paymentsocialcontribution.class.php +++ b/htdocs/compta/sociales/class/paymentsocialcontribution.class.php @@ -61,6 +61,26 @@ class PaymentSocialContribution extends CommonObject public $tms = ''; public $datep = ''; + /** + * @var string + */ + public $type_code; + + /** + * @var string + */ + public $type_label; + + /** + * @var int + */ + public $bank_account; + + /** + * @var int + */ + public $bank_line; + /** * @deprecated * @see $amount diff --git a/htdocs/compta/sociales/document.php b/htdocs/compta/sociales/document.php index 80929bc9e9ccf..99ff3b8fb19ca 100644 --- a/htdocs/compta/sociales/document.php +++ b/htdocs/compta/sociales/document.php @@ -88,7 +88,7 @@ include DOL_DOCUMENT_ROOT.'/core/actions_linkedfiles.inc.php'; -if ($action == 'setlib' && $user->rights->tax->charges->creer) { +if ($action == 'setlib' && $user->hasRight('tax', 'charges', 'creer')) { $object->fetch($id); $result = $object->setValueFrom('libelle', GETPOST('lib'), '', '', 'text', '', $user, 'TAX_MODIFY'); if ($result < 0) { @@ -119,8 +119,8 @@ $morehtmlref = '
'; // Label of social contribution - $morehtmlref .= $form->editfieldkey("Label", 'lib', $object->label, $object, $user->rights->tax->charges->creer, 'string', '', 0, 1); - $morehtmlref .= $form->editfieldval("Label", 'lib', $object->label, $object, $user->rights->tax->charges->creer, 'string', '', null, null, '', 1); + $morehtmlref .= $form->editfieldkey("Label", 'lib', $object->label, $object, $user->hasRight('tax', 'charges', 'creer'), 'string', '', 0, 1); + $morehtmlref .= $form->editfieldval("Label", 'lib', $object->label, $object, $user->hasRight('tax', 'charges', 'creer'), 'string', '', null, null, '', 1); // Project if (isModEnabled('project')) { $langs->load("projects"); diff --git a/htdocs/compta/sociales/info.php b/htdocs/compta/sociales/info.php index 3b8c98f21cc4f..2d78bc86c66bd 100644 --- a/htdocs/compta/sociales/info.php +++ b/htdocs/compta/sociales/info.php @@ -54,7 +54,7 @@ * Actions */ -if ($action == 'setlib' && $user->rights->tax->charges->creer) { +if ($action == 'setlib' && $user->hasRight('tax', 'charges', 'creer')) { $object->fetch($id); $result = $object->setValueFrom('libelle', GETPOST('lib'), '', '', 'text', '', $user, 'TAX_MODIFY'); if ($result < 0) { @@ -88,8 +88,8 @@ $morehtmlref = '
'; // Label of social contribution -$morehtmlref .= $form->editfieldkey("Label", 'lib', $object->label, $object, $user->rights->tax->charges->creer, 'string', '', 0, 1); -$morehtmlref .= $form->editfieldval("Label", 'lib', $object->label, $object, $user->rights->tax->charges->creer, 'string', '', null, null, '', 1); +$morehtmlref .= $form->editfieldkey("Label", 'lib', $object->label, $object, $user->hasRight('tax', 'charges', 'creer'), 'string', '', 0, 1); +$morehtmlref .= $form->editfieldval("Label", 'lib', $object->label, $object, $user->hasRight('tax', 'charges', 'creer'), 'string', '', null, null, '', 1); // Project if (isModEnabled('project')) { $langs->load("projects"); diff --git a/htdocs/compta/sociales/list.php b/htdocs/compta/sociales/list.php index 69a6989153639..dec468835fe75 100644 --- a/htdocs/compta/sociales/list.php +++ b/htdocs/compta/sociales/list.php @@ -119,13 +119,15 @@ $hookmanager->initHooks(array('sclist')); $object = new ChargeSociales($db); +$permissiontoadd = $user->hasRight('tax', 'charges', 'creer'); +$permissiontodelete = $user->hasRight('tax', 'charges', 'supprimer'); + // Security check $socid = GETPOST("socid", 'int'); if ($user->socid) { $socid = $user->socid; } $result = restrictedArea($user, 'tax', '', 'chargesociales', 'charges'); -$permissiontodelete = $user->rights->tax->charges->supprimer; /* @@ -379,13 +381,13 @@ $param .= '&search_date_limit_endyear='.urlencode($search_date_limit_endyear); } +$url = DOL_URL_ROOT.'/compta/sociales/card.php?action=create'; + $newcardbutton = ''; $newcardbutton .= dolGetButtonTitle($langs->trans('ViewList'), '', 'fa fa-bars imgforviewmode', $_SERVER["PHP_SELF"].'?mode=common'.preg_replace('/(&|\?)*mode=[^&]+/', '', $param), '', ((empty($mode) || $mode == 'common') ? 2 : 1), array('morecss'=>'reposition')); $newcardbutton .= dolGetButtonTitle($langs->trans('ViewKanban'), '', 'fa fa-th-list imgforviewmode', $_SERVER["PHP_SELF"].'?mode=kanban'.preg_replace('/(&|\?)*mode=[^&]+/', '', $param), '', ($mode == 'kanban' ? 2 : 1), array('morecss'=>'reposition')); -if ($user->rights->tax->charges->creer) { - $newcardbutton .= dolGetButtonTitle($langs->trans('MenuNewSocialContribution'), '', 'fa fa-plus-circle', DOL_URL_ROOT.'/compta/sociales/card.php?action=create'); -} - +$newcardbutton .= dolGetButtonTitleSeparator(); +$newcardbutton .= dolGetButtonTitle($langs->trans('MenuNewSocialContribution'), '', 'fa fa-plus-circle', $url, '', $permissiontoadd); // List of mass actions available $arrayofmassactions = array(); @@ -455,7 +457,7 @@ // Filter: Ref if (!empty($arrayfields['cs.rowid']['checked'])) { print ''; - print ''; + print ''; print ''; } @@ -632,7 +634,7 @@ $savnbfield = $totalarray['nbfield']; $totalarray = array(); $totalarray['nbfield'] = 0; -$totalarray['val'] = array(); +$totalarray['val'] = array('totalttcfield'=>0); $imaxinloop = ($limit ? min($num, $limit) : $num); while ($i < $imaxinloop) { $obj = $db->fetch_object($resql); @@ -798,7 +800,9 @@ print $bankstatic->getNomUrl(1); } print ''; - if (!$i) $totalarray['nbfield']++; + if (!$i) { + $totalarray['nbfield']++; + } } // Amount @@ -806,8 +810,6 @@ print ''.price($obj->amount).''; if (!$i) { $totalarray['nbfield']++; - } - if (!$i) { $totalarray['pos'][$totalarray['nbfield']] = 'totalttcfield'; } $totalarray['val']['totalttcfield'] += $obj->amount; diff --git a/htdocs/compta/sociales/note.php b/htdocs/compta/sociales/note.php index 1670b1e65fb00..86f82ea270cd9 100644 --- a/htdocs/compta/sociales/note.php +++ b/htdocs/compta/sociales/note.php @@ -91,8 +91,8 @@ $morehtmlref = '
'; // Label of social contribution - $morehtmlref .= $form->editfieldkey("Label", 'lib', $object->label, $object, $user->rights->tax->charges->creer, 'string', '', 0, 1); - $morehtmlref .= $form->editfieldval("Label", 'lib', $object->label, $object, $user->rights->tax->charges->creer, 'string', '', null, null, '', 1); + $morehtmlref .= $form->editfieldkey("Label", 'lib', $object->label, $object, $user->hasRight('tax', 'charges', 'creer'), 'string', '', 0, 1); + $morehtmlref .= $form->editfieldval("Label", 'lib', $object->label, $object, $user->hasRight('tax', 'charges', 'creer'), 'string', '', null, null, '', 1); // Project if (isModEnabled('project')) { $langs->load("projects"); diff --git a/htdocs/compta/sociales/payments.php b/htdocs/compta/sociales/payments.php index ee23d52ae99fa..eb19526e85813 100644 --- a/htdocs/compta/sociales/payments.php +++ b/htdocs/compta/sociales/payments.php @@ -288,7 +288,7 @@ print $socialcontrib->getNomUrl(1, ''); print ''; // Type - print ''.$obj->label_sc.''; + print ''.$obj->type_label.''; // Date $date = $obj->periode; if (empty($date)) { diff --git a/htdocs/compta/stats/byratecountry.php b/htdocs/compta/stats/byratecountry.php index dce5ec2602efc..7560439a4a54e 100644 --- a/htdocs/compta/stats/byratecountry.php +++ b/htdocs/compta/stats/byratecountry.php @@ -207,7 +207,7 @@ $description = $fsearch; $builddate = dol_now(); -if (!empty($conf->global->MAIN_MODULE_ACCOUNTING)) { +if (isModEnabled('comptabilite')) { $description .= '
'.$langs->trans("ThisIsAnEstimatedValue"); } if (getDolGlobalString('TAX_MODE_SELL_PRODUCT') == 'invoice') { diff --git a/htdocs/compta/stats/supplier_turnover_by_thirdparty.php b/htdocs/compta/stats/supplier_turnover_by_thirdparty.php index dee0a0f2217a8..1266d960e68b7 100644 --- a/htdocs/compta/stats/supplier_turnover_by_thirdparty.php +++ b/htdocs/compta/stats/supplier_turnover_by_thirdparty.php @@ -1,5 +1,6 @@ + * Copyright (C) 2023 Ferran Marcet * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -330,7 +331,7 @@ $amount_ht[$obj->socid] = (empty($obj->amount) ? 0 : $obj->amount); $amount[$obj->socid] = $obj->amount_ttc; - //$name[$obj->socid] = $obj->name.' '.$obj->firstname; + $name[$obj->socid] = $obj->name; $address_zip[$obj->socid] = $obj->zip; $address_town[$obj->socid] = $obj->town; diff --git a/htdocs/compta/tva/card.php b/htdocs/compta/tva/card.php index 85d8b0be4bf08..c986355e3a13e 100644 --- a/htdocs/compta/tva/card.php +++ b/htdocs/compta/tva/card.php @@ -113,7 +113,7 @@ exit; } - if ($action == 'setlib' && $user->rights->tax->charges->creer) { + if ($action == 'setlib' && $user->hasRight('tax', 'charges', 'creer')) { $object->fetch($id); $result = $object->setValueFrom('label', GETPOST('lib', 'alpha'), '', '', 'text', '', $user, 'TAX_MODIFY'); if ($result < 0) { @@ -121,7 +121,7 @@ } } - if ($action == 'setdatev' && $user->rights->tax->charges->creer) { + if ($action == 'setdatev' && $user->hasRight('tax', 'charges', 'creer')) { $object->fetch($id); $object->datev = $datev; $result = $object->update($user); @@ -133,7 +133,7 @@ } // payment mode - if ($action == 'setmode' && $user->rights->tax->charges->creer) { + if ($action == 'setmode' && $user->hasRight('tax', 'charges', 'creer')) { $object->fetch($id); $result = $object->setPaymentMethods(GETPOST('mode_reglement_id', 'int')); if ($result < 0) { @@ -142,7 +142,7 @@ } // Bank account - if ($action == 'setbankaccount' && $user->rights->tax->charges->creer) { + if ($action == 'setbankaccount' && $user->hasRight('tax', 'charges', 'creer')) { $object->fetch($id); $result = $object->setBankAccount(GETPOST('fk_account', 'int')); if ($result < 0) { @@ -151,12 +151,12 @@ } // Classify paid - if ($action == 'confirm_paid' && $user->rights->tax->charges->creer && $confirm == 'yes') { + if ($action == 'confirm_paid' && $user->hasRight('tax', 'charges', 'creer') && $confirm == 'yes') { $object->fetch($id); $result = $object->setPaid($user); } - if ($action == 'reopen' && $user->rights->tax->charges->creer) { + if ($action == 'reopen' && $user->hasRight('tax', 'charges', 'creer')) { $result = $object->fetch($id); if ($object->paye) { $result = $object->setUnpaid($user); @@ -295,7 +295,7 @@ } } - if ($action == 'update' && !GETPOST("cancel") && $user->rights->tax->charges->creer) { + if ($action == 'update' && !GETPOST("cancel") && $user->hasRight('tax', 'charges', 'creer')) { $amount = price2num(GETPOST('amount', 'alpha'), 'MT'); if (empty($amount)) { @@ -321,7 +321,7 @@ $action = ''; } - if ($action == 'confirm_clone' && $confirm == 'yes' && ($user->rights->tax->charges->creer)) { + if ($action == 'confirm_clone' && $confirm == 'yes' && ($user->hasRight('tax', 'charges', 'creer'))) { $db->begin(); $originalId = $id; @@ -576,8 +576,8 @@ $morehtmlref = '
'; // Label of social contribution - $morehtmlref .= $form->editfieldkey("Label", 'lib', $object->label, $object, $user->rights->tax->charges->creer, 'string', '', 0, 1); - $morehtmlref .= $form->editfieldval("Label", 'lib', $object->label, $object, $user->rights->tax->charges->creer, 'string', '', null, null, '', 1); + $morehtmlref .= $form->editfieldkey("Label", 'lib', $object->label, $object, $user->hasRight('tax', 'charges', 'creer'), 'string', '', 0, 1); + $morehtmlref .= $form->editfieldval("Label", 'lib', $object->label, $object, $user->hasRight('tax', 'charges', 'creer'), 'string', '', null, null, '', 1); // Project $morehtmlref .= '
'; @@ -602,9 +602,9 @@ print '';*/ print ''; - print $form->editfieldkey($form->textwithpicto($langs->trans("PeriodEndDate"), $langs->trans("LastDayTaxIsRelatedTo")), 'datev', $object->datev, $object, $user->rights->tax->charges->creer, 'day'); + print $form->editfieldkey($form->textwithpicto($langs->trans("PeriodEndDate"), $langs->trans("LastDayTaxIsRelatedTo")), 'datev', $object->datev, $object, $user->hasRight('tax', 'charges', 'creer'), 'day'); print ''; - print $form->editfieldval("PeriodEndDate", 'datev', $object->datev, $object, $user->rights->tax->charges->creer, 'day'); + print $form->editfieldval("PeriodEndDate", 'datev', $object->datev, $object, $user->hasRight('tax', 'charges', 'creer'), 'day'); //print dol_print_date($object->datev,'day'); print ''; @@ -637,7 +637,7 @@ print ''; } print '
'; print $langs->trans('BankAccount'); print ''; - if ($action != 'editbankaccount' && $user->rights->tax->charges->creer) { + if ($action != 'editbankaccount' && $user->hasRight('tax', 'charges', 'creer')) { print 'id.'">'.img_edit($langs->trans('SetBankAccount'), 1).'
'; @@ -784,17 +784,17 @@ if ($action != 'edit') { // Reopen - if ($object->paye && $user->rights->tax->charges->creer) { + if ($object->paye && $user->hasRight('tax', 'charges', 'creer')) { print '"; } // Edit - if ($object->paye == 0 && $user->rights->tax->charges->creer) { + if ($object->paye == 0 && $user->hasRight('tax', 'charges', 'creer')) { print '"; } // Emit payment - if ($object->paye == 0 && ((price2num($object->amount) < 0 && price2num($resteapayer, 'MT') < 0) || (price2num($object->amount) > 0 && price2num($resteapayer, 'MT') > 0)) && $user->rights->tax->charges->creer) { + if ($object->paye == 0 && ((price2num($object->amount) < 0 && price2num($resteapayer, 'MT') < 0) || (price2num($object->amount) > 0 && price2num($resteapayer, 'MT') > 0)) && $user->hasRight('tax', 'charges', 'creer')) { print ''; } @@ -804,16 +804,16 @@ (round($resteapayer) <= 0 && $object->amount > 0) || (round($resteapayer) >= 0 && $object->amount < 0) ) - && $user->rights->tax->charges->creer) { + && $user->hasRight('tax', 'charges', 'creer')) { print '"; } // Clone - if ($user->rights->tax->charges->creer) { + if ($user->hasRight('tax', 'charges', 'creer')) { print '"; } - if (!empty($user->rights->tax->charges->supprimer) && empty($totalpaid)) { + if ($user->hasRight('tax', 'charges', 'supprimer') && empty($totalpaid)) { print ''; } else { print ''; diff --git a/htdocs/compta/tva/class/paymentvat.class.php b/htdocs/compta/tva/class/paymentvat.class.php index db18debb26bbc..a03d031e8c725 100644 --- a/htdocs/compta/tva/class/paymentvat.class.php +++ b/htdocs/compta/tva/class/paymentvat.class.php @@ -113,6 +113,26 @@ class PaymentVAT extends CommonObject */ public $datepaye; + /** + * @var string + */ + public $type_code; + + /** + * @var string + */ + public $type_label; + + /** + * @var int + */ + public $bank_account; + + /** + * @var int + */ + public $bank_line; + /** * @var integer|string paiementtype */ @@ -129,14 +149,14 @@ public function __construct($db) } /** - * Create payment of social contribution into database. + * Create payment of vat into database. * Use this->amounts to have list of lines for the payment * * @param User $user User making payment - * @param int $closepaidcontrib 1=Also close payed contributions to paid, 0=Do nothing more + * @param int $closepaidvat 1=Also close paid contributions to paid, 0=Do nothing more * @return int <0 if KO, id of payment if OK */ - public function create($user, $closepaidcontrib = 0) + public function create($user, $closepaidvat = 0) { global $conf, $langs; @@ -191,7 +211,7 @@ public function create($user, $closepaidcontrib = 0) // Check parameters if ($totalamount == 0) { - return -1; // On accepte les montants negatifs pour les rejets de prelevement mais pas null + return -1; // We accept negative amounts for chargebacks, but not null amounts. } @@ -210,14 +230,14 @@ public function create($user, $closepaidcontrib = 0) if ($resql) { $this->id = $this->db->last_insert_id(MAIN_DB_PREFIX."payment_vat"); - // Insere tableau des montants / factures + // Insert table of amounts / invoices foreach ($this->amounts as $key => $amount) { $contribid = $key; if (is_numeric($amount) && $amount <> 0) { $amount = price2num($amount); - // If we want to closed payed invoices - if ($closepaidcontrib) { + // If we want to closed paid invoices + if ($closepaidvat) { $contrib = new Tva($this->db); $contrib->fetch($contribid); $paiement = $contrib->getSommePaiement(); @@ -473,7 +493,7 @@ public function createFromClone(User $user, $fromid) { $error = 0; - $object = new PaymentSocialContribution($this->db); + $object = new PaymentVAT($this->db); $this->db->begin(); @@ -483,7 +503,6 @@ public function createFromClone(User $user, $fromid) $object->statut = 0; // Clear fields - // ... // Create clone $object->context['createfromclone'] = 'createfromclone'; @@ -579,8 +598,8 @@ public function addPaymentToBank($user, $mode, $label, $accountid, $emetteur_nom $emetteur_banque ); - // Mise a jour fk_bank dans llx_paiement. - // On connait ainsi le paiement qui a genere l'ecriture bancaire + // Update fk_bank in llx_paiement. + // We thus know the payment that generated the bank entry if ($bank_line_id > 0) { $result = $this->update_fk_bank($bank_line_id); if ($result <= 0) { @@ -629,7 +648,7 @@ public function addPaymentToBank($user, $mode, $label, $accountid, $emetteur_nom // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps /** - * Mise a jour du lien entre le paiement de tva et la ligne dans llx_bank generee + * Update link between vat payment and line in llx_bank generated * * @param int $id_bank Id if bank * @return int >0 if OK, <=0 if KO @@ -651,9 +670,9 @@ public function update_fk_bank($id_bank) /** - * Retourne le libelle du statut d'une facture (brouillon, validee, abandonnee, payee) + * Return the label of the status * - * @param int $mode 0=libelle long, 1=libelle court, 2=Picto + Libelle court, 3=Picto, 4=Picto + Libelle long, 5=Libelle court + Picto + * @param int $mode 0=long label, 1=short label, 2=Picto + short label, 3=Picto, 4=Picto + long label, 5=Short label + Picto, 6=Long label + Picto * @return string Libelle */ public function getLibStatut($mode = 0) @@ -714,7 +733,7 @@ public function LibStatut($status, $mode = 0) } /** - * Return clicable name (with picto eventually) + * Return clickable name (with picto eventually) * * @param int $withpicto 0=No picto, 1=Include picto into link, 2=Only picto * @param int $maxlen Longueur max libelle diff --git a/htdocs/compta/tva/class/tva.class.php b/htdocs/compta/tva/class/tva.class.php index cf290915cc7a2..3ff2b6178e767 100644 --- a/htdocs/compta/tva/class/tva.class.php +++ b/htdocs/compta/tva/class/tva.class.php @@ -62,6 +62,26 @@ class Tva extends CommonObject public $type_payment; public $num_payment; + /** + * @var DateTime + */ + public $datec; + + /** + * @var int ID + */ + public $fk_type; + + /** + * @var int + */ + public $paye; + + /** + * @var int + */ + public $rappro; + /** * @var integer|string totalpaid */ @@ -822,18 +842,8 @@ public function info($id) $this->id = $obj->rowid; - if ($obj->fk_user_creat) { - $cuser = new User($this->db); - $cuser->fetch($obj->fk_user_creat); - $this->user_creation = $cuser; - } - - if ($obj->fk_user_modif) { - $muser = new User($this->db); - $muser->fetch($obj->fk_user_modif); - $this->user_modification = $muser; - } - + $this->user_creation_id = $obj->fk_user_creat; + $this->user_modification_id = $obj->fk_user_modif; $this->date_creation = $this->db->jdate($obj->datec); $this->date_modification = $this->db->jdate($obj->tms); $this->import_key = $obj->import_key; @@ -925,7 +935,9 @@ public function getKanbanView($option = '', $arraydata = null) $return .= ''; $return .= '
'; $return .= ''.(method_exists($this, 'getNomUrl') ? $this->getNomUrl(1) : $this->ref).''; - $return .= ''; + if ($selected >= 0) { + $return .= ''; + } if (property_exists($this, 'amount')) { $return .= ' | '.$langs->trans("Amount").' : '.price($this->amount).''; } diff --git a/htdocs/compta/tva/clients.php b/htdocs/compta/tva/clients.php index c00da16c3be4a..af6179593300e 100644 --- a/htdocs/compta/tva/clients.php +++ b/htdocs/compta/tva/clients.php @@ -158,7 +158,7 @@ if (!empty($conf->global->FACTURE_SUPPLIER_DEPOSITS_ARE_JUST_PAYMENTS)) { $description .= $langs->trans("SupplierDepositsAreNotIncluded"); } -if (!empty($conf->global->MAIN_MODULE_ACCOUNTING)) { +if (isModEnabled('accounting')) { $description .= '
'.$langs->trans("ThisIsAnEstimatedValue"); } diff --git a/htdocs/compta/tva/document.php b/htdocs/compta/tva/document.php index 86e31632c173d..ef0416b91fd97 100644 --- a/htdocs/compta/tva/document.php +++ b/htdocs/compta/tva/document.php @@ -120,8 +120,8 @@ $morehtmlref = '
'; // Label of social contribution - $morehtmlref .= $form->editfieldkey("Label", 'lib', $object->label, $object, $user->rights->tax->charges->creer, 'string', '', 0, 1); - $morehtmlref .= $form->editfieldval("Label", 'lib', $object->label, $object, $user->rights->tax->charges->creer, 'string', '', null, null, '', 1); + $morehtmlref .= $form->editfieldkey("Label", 'lib', $object->label, $object, $user->hasRight('tax', 'charges', 'creer'), 'string', '', 0, 1); + $morehtmlref .= $form->editfieldval("Label", 'lib', $object->label, $object, $user->hasRight('tax', 'charges', 'creer'), 'string', '', null, null, '', 1); $morehtmlref .= '
'; $linkback = ''.$langs->trans("BackToList").''; diff --git a/htdocs/compta/tva/index.php b/htdocs/compta/tva/index.php index 72366e6a7e27a..b136508143256 100644 --- a/htdocs/compta/tva/index.php +++ b/htdocs/compta/tva/index.php @@ -216,7 +216,7 @@ function pt($db, $sql, $date) if (!empty($conf->global->FACTURE_SUPPLIER_DEPOSITS_ARE_JUST_PAYMENTS)) { $description .= $langs->trans("SupplierDepositsAreNotIncluded"); } -if (!empty($conf->global->MAIN_MODULE_ACCOUNTING)) { +if (isModEnabled('accounting')) { $description .= '
'.$langs->trans("ThisIsAnEstimatedValue"); } diff --git a/htdocs/compta/tva/info.php b/htdocs/compta/tva/info.php index ea9ea7b5a37fc..c850d05e036c4 100644 --- a/htdocs/compta/tva/info.php +++ b/htdocs/compta/tva/info.php @@ -47,7 +47,7 @@ * Actions */ -if ($action == 'setlib' && $user->rights->tax->charges->creer) { +if ($action == 'setlib' && $user->hasRight('tax', 'charges', 'creer')) { $object->fetch($id); $result = $object->setValueFrom('label', GETPOST('lib', 'alpha'), '', '', 'text', '', $user, 'TAX_MODIFY'); if ($result < 0) { @@ -74,8 +74,8 @@ $morehtmlref = '
'; // Label of social contribution -$morehtmlref .= $form->editfieldkey("Label", 'lib', $object->label, $object, $user->rights->tax->charges->creer, 'string', '', 0, 1); -$morehtmlref .= $form->editfieldval("Label", 'lib', $object->label, $object, $user->rights->tax->charges->creer, 'string', '', null, null, '', 1); +$morehtmlref .= $form->editfieldkey("Label", 'lib', $object->label, $object, $user->hasRight('tax', 'charges', 'creer'), 'string', '', 0, 1); +$morehtmlref .= $form->editfieldval("Label", 'lib', $object->label, $object, $user->hasRight('tax', 'charges', 'creer'), 'string', '', null, null, '', 1); $morehtmlref .= '
'; $linkback = ''.$langs->trans("BackToList").''; diff --git a/htdocs/compta/tva/initdatesforvat.inc.php b/htdocs/compta/tva/initdatesforvat.inc.php index 8039fce728fba..93695edcdf16f 100644 --- a/htdocs/compta/tva/initdatesforvat.inc.php +++ b/htdocs/compta/tva/initdatesforvat.inc.php @@ -46,10 +46,10 @@ $date_start = dol_get_first_day($year_start, GETPOST("month", 'int'), 'tzserver'); $date_end = dol_get_last_day($year_start, GETPOST("month", 'int'), 'tzserver'); } else { - if (empty($conf->global->MAIN_INFO_VAT_RETURN) || $conf->global->MAIN_INFO_VAT_RETURN == 2) { // quaterly vat, we take last past complete quarter + if (empty($conf->global->MAIN_INFO_VAT_RETURN) || getDolGlobalInt('MAIN_INFO_VAT_RETURN') == 2) { // quaterly vat, we take last past complete quarter $date_start = dol_time_plus_duree(dol_get_first_day($year_start, $current_date['mon'], false), -3 - (($current_date['mon'] - $conf->global->SOCIETE_FISCAL_MONTH_START) % 3), 'm'); $date_end = dol_time_plus_duree($date_start, 3, 'm') - 1; - } elseif ($conf->global->MAIN_INFO_VAT_RETURN == 3) { // yearly vat + } elseif (getDolGlobalInt('MAIN_INFO_VAT_RETURN') == 3) { // yearly vat if ($current_date['mon'] < $conf->global->SOCIETE_FISCAL_MONTH_START) { if (($conf->global->SOCIETE_FISCAL_MONTH_START - $current_date['mon']) > 6) { // If period started from less than 6 years, we show past year $year_start--; @@ -61,7 +61,7 @@ } $date_start = dol_get_first_day($year_start, $conf->global->SOCIETE_FISCAL_MONTH_START, 'tzserver'); $date_end = dol_time_plus_duree($date_start, 1, 'y') - 1; - } elseif ($conf->global->MAIN_INFO_VAT_RETURN == 1) { // monthly vat, we take last past complete month + } elseif (getDolGlobalInt('MAIN_INFO_VAT_RETURN') == 1) { // monthly vat, we take last past complete month $date_start = dol_time_plus_duree(dol_get_first_day($year_start, $current_date['mon'], false), -1, 'm'); $date_end = dol_time_plus_duree($date_start, 1, 'm') - 1; } diff --git a/htdocs/compta/tva/list.php b/htdocs/compta/tva/list.php index 9e5a28b6905a9..49031f482c9a3 100644 --- a/htdocs/compta/tva/list.php +++ b/htdocs/compta/tva/list.php @@ -593,13 +593,14 @@ print '
'; } // Output Kanban + $selected = -1; if ($massactionbutton || $massaction) { // If we are in select mode (massactionbutton defined) or if we have already selected and sent an action ($massaction) defined $selected = 0; if (in_array($object->id, $arrayofselected)) { $selected = 1; } } - print $object->getKanbanView('', array('selected' => in_array($object->id, $arrayofselected))); + print $object->getKanbanView('', array('selected' => $selected)); if ($i == ($imaxinloop - 1)) { print '
'; print ''; diff --git a/htdocs/compta/tva/quadri_detail.php b/htdocs/compta/tva/quadri_detail.php index 5235b4211ff58..9eb46427768bc 100644 --- a/htdocs/compta/tva/quadri_detail.php +++ b/htdocs/compta/tva/quadri_detail.php @@ -168,7 +168,7 @@ if (!empty($conf->global->FACTURE_SUPPLIER_DEPOSITS_ARE_JUST_PAYMENTS)) { $description .= $langs->trans("SupplierDepositsAreNotIncluded"); } -if (!empty($conf->global->MAIN_MODULE_ACCOUNTING)) { +if (isModEnabled('accounting')) { $description .= '
' . $langs->trans("ThisIsAnEstimatedValue"); } diff --git a/htdocs/conf/conf.php.example b/htdocs/conf/conf.php.example index d1eedc42427bc..fa88bf20504af 100644 --- a/htdocs/conf/conf.php.example +++ b/htdocs/conf/conf.php.example @@ -186,7 +186,7 @@ $dolibarr_main_db_readonly=0; // dolibarr_main_instance_unique_id // ================================ // An secret ID that is unique for each installation. -// This value is also visible and never propagated outside of Dolibarr, so it can be used as a salt / key for some encryption (For example to get +// This value is also never visible and never propagated outside of Dolibarr, so it can be used as a salt / key for some encryption (For example to get // a unique hashed key, application will hash the value concatenated with a string. Example: md5('dolibarr'+dolibarr_main_instance_unique_id) // WARNING: Changing this value will also make some sensitive values encrypted in database wrong. // Default value: randomly defined during installation @@ -196,6 +196,17 @@ $dolibarr_main_db_readonly=0; $dolibarr_main_instance_unique_id='84b5bc91f83b56e458db71e0adac2b62'; +// dolibarr_main_dolcrypt_key +// ========================== +// An secret key to encrypt/decrypt data with dolcrypt() method, for reversible encryption. +// This value is also never visible and never propagated outside of Dolibarr, it is used as key for the dolcrypt encryption. +// WARNING: Changing this value will also make some sensitive values encrypted in database wrong. +// Default value: ''. When not defined, the $dolibarr_main_instance_unique_id will be used instead. +// Examples: +// $dolibarr_main_dolcrypt_key=''; +// +$dolibarr_main_dolcrypt_key=''; + //################## // Login diff --git a/htdocs/contact/agenda.php b/htdocs/contact/agenda.php index 2419e74c5c9bf..72b679464b37a 100644 --- a/htdocs/contact/agenda.php +++ b/htdocs/contact/agenda.php @@ -176,7 +176,7 @@ // ----------------------------------------- // Confirm deleting contact - if ($user->rights->societe->contact->supprimer) { + if ($user->hasRight('societe', 'contact', 'supprimer')) { if ($action == 'delete') { print $form->formconfirm($_SERVER["PHP_SELF"]."?id=".$id.($backtopage ? '&backtopage='.$backtopage : ''), $langs->trans("DeleteContact"), $langs->trans("ConfirmDeleteContact"), "confirm_delete", '', 0, 1); } diff --git a/htdocs/contact/canvas/default/tpl/contactcard_view.tpl.php b/htdocs/contact/canvas/default/tpl/contactcard_view.tpl.php index 127375b8c929c..1a66208288ff3 100644 --- a/htdocs/contact/canvas/default/tpl/contactcard_view.tpl.php +++ b/htdocs/contact/canvas/default/tpl/contactcard_view.tpl.php @@ -138,7 +138,7 @@ if (empty($user->socid)) { print '
'; - if ($user->rights->societe->contact->creer) { + if ($user->hasRight('societe', 'contact', 'creer')) { print ''.$langs->trans('Modify').''; } @@ -146,7 +146,7 @@ print ''.$langs->trans("CreateDolibarrLogin").''; } - if ($user->rights->societe->contact->supprimer) { + if ($user->hasRight('societe', 'contact', 'supprimer')) { print ''.$langs->trans('Delete').''; } diff --git a/htdocs/contact/card.php b/htdocs/contact/card.php index bba9ced4ad64d..317a02d2d3e4c 100644 --- a/htdocs/contact/card.php +++ b/htdocs/contact/card.php @@ -248,7 +248,7 @@ $action = 'create'; } - if (isModEnabled('mailing') && $conf->global->MAILING_CONTACT_DEFAULT_BULK_STATUS == 2 && $object->no_email == -1 && !empty($object->email)) { + if (isModEnabled('mailing') && getDolGlobalInt('MAILING_CONTACT_DEFAULT_BULK_STATUS') == 2 && $object->no_email == -1 && !empty($object->email)) { $error++; $errors[] = $langs->trans("ErrorFieldRequired", $langs->transnoentities("No_Email")); $action = 'create'; @@ -338,7 +338,7 @@ $action = 'edit'; } - if (isModEnabled('mailing') && $conf->global->MAILING_CONTACT_DEFAULT_BULK_STATUS == 2 && GETPOST("no_email", "int") == -1 && !empty(GETPOST('email', 'custom', 0, FILTER_SANITIZE_EMAIL))) { + if (isModEnabled('mailing') && getDolGlobalInt('MAILING_CONTACT_DEFAULT_BULK_STATUS') == 2 && GETPOST("no_email", "int") == -1 && !empty(GETPOST('email', 'custom', 0, FILTER_SANITIZE_EMAIL))) { $error++; $errors[] = $langs->trans("ErrorFieldRequired", $langs->transnoentities("No_Email")); $action = 'edit'; @@ -520,8 +520,8 @@ } // Update extrafields - if ($action == 'update_extras' && !empty($user->rights->societe->contact->creer)) { - $object->oldcopy = dol_clone($object); + if ($action == 'update_extras' && $user->hasRight('societe', 'contact', 'creer')) { + $object->oldcopy = dol_clone($object, 2); // Fill array 'array_options' with data from update form $ret = $extrafields->setOptionalsFromPost(null, $object, GETPOST('attribute', 'restricthtml')); @@ -593,7 +593,7 @@ // ----------------------------------------- // Confirm deleting contact - if ($user->rights->societe->contact->supprimer) { + if ($user->hasRight('societe', 'contact', 'supprimer')) { if ($action == 'delete') { print $form->formconfirm($_SERVER["PHP_SELF"]."?id=".$id.($backtopage ? '&backtopage='.$backtopage : ''), $langs->trans("DeleteContact"), $langs->trans("ConfirmDeleteContact"), "confirm_delete", '', 0, 1); } @@ -617,7 +617,7 @@ $head = contact_prepare_head($object); } - if ($user->rights->societe->contact->creer) { + if ($user->hasRight('societe', 'contact', 'creer')) { if ($action == 'create') { /* * Fiche en mode creation @@ -759,7 +759,7 @@ // State if (empty($conf->global->SOCIETE_DISABLE_STATE)) { - if (!empty($conf->global->MAIN_SHOW_REGION_IN_STATE_SELECT) && ($conf->global->MAIN_SHOW_REGION_IN_STATE_SELECT == 1 || $conf->global->MAIN_SHOW_REGION_IN_STATE_SELECT == 2)) { + if (!empty($conf->global->MAIN_SHOW_REGION_IN_STATE_SELECT) && (getDolGlobalInt('MAIN_SHOW_REGION_IN_STATE_SELECT') == 1 || getDolGlobalInt('MAIN_SHOW_REGION_IN_STATE_SELECT') == 2)) { print ''; } else { print ''; @@ -821,7 +821,7 @@ // Unsubscribe if (isModEnabled('mailing')) { - if ($conf->use_javascript_ajax && $conf->global->MAILING_CONTACT_DEFAULT_BULK_STATUS == 2) { + if ($conf->use_javascript_ajax && getDolGlobalInt('MAILING_CONTACT_DEFAULT_BULK_STATUS') == 2) { print "\n".' + rights->societe->client->voir) && !$socid) { +if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."societe_commerciaux as sc ON s.rowid = sc.fk_soc"; } @@ -450,7 +503,7 @@ $reshook = $hookmanager->executeHooks('printFieldListFrom', $parameters, $object, $action); // Note that $action and $object may have been modified by hook $sql .= $hookmanager->resPrint; $sql .= ' WHERE p.entity IN ('.getEntity('contact').')'; -if (empty($user->rights->societe->client->voir) && !$socid) { //restriction +if (!$user->hasRight('societe', 'client', 'voir') && !$socid) { //restriction $sql .= " AND (sc.fk_user = ".((int) $user->id)." OR p.fk_soc IS NULL)"; } if (!empty($userid)) { // propre au commercial @@ -865,10 +918,10 @@ if (isModEnabled('category') && $user->hasRight('societe', 'creer')) { $arrayofmassactions['preaffecttag'] = img_picto('', 'category', 'class="pictofixedwidth"').$langs->trans("AffectTag"); } -if (in_array($massaction, array('presend', 'predelete','preaffecttag'))) { +if (GETPOST('nomassaction', 'int') || in_array($massaction, array('presend', 'predelete','preaffecttag'))) { $arrayofmassactions = array(); } -$massactionbutton = $form->selectMassAction('', $arrayofmassactions); +if ($contextpage != 'poslist') $massactionbutton = $form->selectMassAction('', $arrayofmassactions); print '
'; if ($optioncss != '') { @@ -890,8 +943,13 @@ $newcardbutton .= dolGetButtonTitle($langs->trans('ViewList'), '', 'fa fa-bars imgforviewmode', $_SERVER["PHP_SELF"].'?mode=common'.preg_replace('/(&|\?)*mode=[^&]+/', '', $param), '', ((empty($mode) || $mode == 'common') ? 2 : 1), array('morecss'=>'reposition')); $newcardbutton .= dolGetButtonTitle($langs->trans('ViewKanban'), '', 'fa fa-th-list imgforviewmode', $_SERVER["PHP_SELF"].'?mode=kanban'.preg_replace('/(&|\?)*mode=[^&]+/', '', $param), '', ($mode == 'kanban' ? 2 : 1), array('morecss'=>'reposition')); $newcardbutton .= dolGetButtonTitleSeparator(); -$newcardbutton .= dolGetButtonTitle($langs->trans('NewContactAddress'), '', 'fa fa-plus-circle', DOL_URL_ROOT.'/contact/card.php?action=create', '', $permissiontoadd); - +if ($contextpage != 'poslist') { + $newcardbutton .= dolGetButtonTitle($langs->trans('NewContactAddress'), '', 'fa fa-plus-circle', DOL_URL_ROOT.'/contact/card.php?action=create', '', $permissiontoadd); +} elseif ($user->hasRight('societe', 'contact', 'creer')) { + $url = DOL_URL_ROOT . '/contact/card.php?action=create&type=t&contextpage=poslist&optioncss=print&backtopage=' . urlencode($_SERVER["PHP_SELF"] . '?token=' . newToken() . 'type=t&contextpage=poslist&nomassaction=1&optioncss=print&place='.$place); + $label = 'MenuNewCustomer'; + $newcardbutton .= dolGetButtonTitle($langs->trans($label), '', 'fa fa-plus-circle', $url); +} print_barre_liste($title, $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, $massactionbutton, $num, $nbtotalofrecords, 'address', 0, $newcardbutton, '', $limit, 0, 0, 1); $topicmail = "Information"; @@ -959,7 +1017,7 @@ $varpage = empty($contextpage) ? $_SERVER["PHP_SELF"] : $contextpage; $selectedfields = $form->multiSelectArrayWithCheckbox('selectedfields', $arrayfields, $varpage, getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN', '')); // This also change content of $arrayfields -$selectedfields .= (count($arrayofmassactions) ? $form->showCheckAddButtons('checkforselect', 1) : ''); +$selectedfields .= count($arrayofmassactions) && $contextpage != 'poslist' ? $form->showCheckAddButtons('checkforselect', 1) : ''; print '
'; print ''."\n"; @@ -1346,7 +1404,11 @@ } else { // Show here line of result $j = 0; - print ''; + print ''; // Action column if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { @@ -1377,7 +1439,11 @@ // (Last) Name if (!empty($arrayfields['p.lastname']['checked'])) { print ''; if (!$i) { $totalarray['nbfield']++; @@ -1484,7 +1550,13 @@ // EMail if (!empty($arrayfields['p.email']['checked'])) { - print ''; + print ''; if (!$i) { $totalarray['nbfield']++; } @@ -1526,7 +1598,11 @@ if ($objsoc->client == 0 && $objsoc->fournisseur > 0) { $option_link = 'supplier'; } - print $objsoc->getNomUrl(1, $option_link, 100, 0, 1, empty($arrayfields['s.name_alias']['checked']) ? 0 : 1); + if ($contextpage == 'poslist') { + print $objsoc->name; + } else { + print $objsoc->getNomUrl(1, $option_link, 100, 0, 1, empty($arrayfields['s.name_alias']['checked']) ? 0 : 1); + } } else { print ' '; } diff --git a/htdocs/contact/perso.php b/htdocs/contact/perso.php index f2a05d0eb1023..70d7adff0e534 100644 --- a/htdocs/contact/perso.php +++ b/htdocs/contact/perso.php @@ -65,7 +65,7 @@ $result = $object->update_perso($id, $user); if ($result > 0) { - $object->oldcopy = dol_clone($object); + $object->oldcopy = dol_clone($object, 2); // Logo/Photo save $dir = $conf->societe->dir_output.'/contact/'.get_exdir($object->id, 0, 0, 1, $object, 'contact').'/photos'; @@ -332,7 +332,7 @@ if ($user->socid == 0) { print '
'; - if ($user->rights->societe->contact->creer) { + if ($user->hasRight('societe', 'contact', 'creer')) { print ''.$langs->trans('Modify').''; } diff --git a/htdocs/contrat/agenda.php b/htdocs/contrat/agenda.php index 9e2ee44092602..c9ccdd26702fb 100644 --- a/htdocs/contrat/agenda.php +++ b/htdocs/contrat/agenda.php @@ -82,7 +82,6 @@ $object = new Contrat($db); - if ($id > 0 || !empty($ref)) { $result = $object->fetch($id, $ref); } @@ -92,6 +91,8 @@ $permissiontoadd = $user->hasRight('contrat', 'creer'); // Used by the include of actions_addupdatedelete.inc.php and actions_lineupdown.inc.php +$result = restrictedArea($user, 'contrat', $object->id); + /* * Actions @@ -165,8 +166,8 @@ if (!empty($modCodeContract->code_auto)) { $morehtmlref .= $object->ref; } else { - $morehtmlref .= $form->editfieldkey("", 'ref', $object->ref, $object, $user->rights->contrat->creer, 'string', '', 0, 3); - $morehtmlref .= $form->editfieldval("", 'ref', $object->ref, $object, $user->rights->contrat->creer, 'string', '', 0, 2); + $morehtmlref .= $form->editfieldkey("", 'ref', $object->ref, $object, $user->hasRight('contrat', 'creer'), 'string', '', 0, 3); + $morehtmlref .= $form->editfieldval("", 'ref', $object->ref, $object, $user->hasRight('contrat', 'creer'), 'string', '', 0, 2); } $permtoedit = 0; diff --git a/htdocs/contrat/card.php b/htdocs/contrat/card.php index 15b36b6a71c20..e17cca1c654e1 100644 --- a/htdocs/contrat/card.php +++ b/htdocs/contrat/card.php @@ -11,6 +11,7 @@ * Copyright (C) 2015 Jean-François Ferry * Copyright (C) 2018-2021 Frédéric France * Copyright (C) 2023 Charlene Benke + * Copyright (C) 2023 Nick Fragoulis * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -42,6 +43,7 @@ require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php'; require_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php'; require_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php'; +require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.facture.class.php'; if (isModEnabled("propal")) { require_once DOL_DOCUMENT_ROOT.'/comm/propal/class/propal.class.php'; } @@ -72,7 +74,6 @@ if ($user->socid) { $socid = $user->socid; } -$result = restrictedArea($user, 'contrat', $id); // Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context $hookmanager->initHooks(array('contractcard', 'globalcard')); @@ -102,8 +103,11 @@ $permissiontodelete = ($user->hasRight('contrat', 'creer') && $object->statut == $object::STATUS_DRAFT) || $user->hasRight('contrat', 'supprimer'); $permissiontoadd = $user->hasRight('contrat', 'creer'); // Used by the include of actions_addupdatedelete.inc.php and actions_lineupdown.inc.php $permissiontoedit = $permissiontoadd; +$permissiontoactivate = $user->hasRight('contrat', 'activer'); $error = 0; +$result = restrictedArea($user, 'contrat', $object->id); + /* * Actions @@ -144,7 +148,7 @@ include DOL_DOCUMENT_ROOT.'/core/actions_lineupdown.inc.php'; // Must be include, not include_once - if ($action == 'confirm_active' && $confirm == 'yes' && $user->rights->contrat->activer) { + if ($action == 'confirm_active' && $confirm == 'yes' && $permissiontoactivate) { $date_start = ''; $date_end = ''; if (GETPOST('startmonth') && GETPOST('startday') && GETPOST('startyear')) { @@ -162,7 +166,7 @@ } else { setEventMessages($object->error, $object->errors, 'errors'); } - } elseif ($action == 'confirm_closeline' && $confirm == 'yes' && $user->rights->contrat->activer) { + } elseif ($action == 'confirm_closeline' && $confirm == 'yes' && $permissiontoactivate) { $date_end = ''; if (GETPOST('endmonth') && GETPOST('endday') && GETPOST('endyear')) { $date_end = dol_mktime(GETPOST('endhour'), GETPOST('endmin'), 0, GETPOST('endmonth'), GETPOST('endday'), GETPOST('endyear')); @@ -182,7 +186,6 @@ } } - // Si ajout champ produit predefini if (GETPOST('mode') == 'predefined') { $date_start = ''; $date_end = ''; @@ -605,7 +608,7 @@ $info_bits |= 0x01; } - if (((!empty($conf->global->MAIN_USE_ADVANCED_PERMS) && empty($user->rights->produit->ignore_price_min_advance)) + if (((!empty($conf->global->MAIN_USE_ADVANCED_PERMS) && !$user->hasRight('produit', 'ignore_price_min_advance')) || empty($conf->global->MAIN_USE_ADVANCED_PERMS)) && ($price_min && (price2num($pu_ht) * (1 - price2num($remise_percent) / 100) < price2num($price_min)))) { $object->error = $langs->trans("CantBeLessThanMinPrice", price(price2num($price_min, 'MU'), 0, $langs, 0, 0, -1, $conf->currency)); $result = -1; @@ -776,7 +779,7 @@ $objectline->date_start_real = $date_start_real_update; $objectline->date_end = $date_end_update; $objectline->date_end_real = $date_end_real_update; - $objectline->fk_user_cloture = $user->id; + $objectline->user_closing_id = $user->id; //$objectline->fk_fournprice = $fk_fournprice; $objectline->pa_ht = $pa_ht; $objectline->rang = $objectline->rang; @@ -889,17 +892,20 @@ } else { setEventMessages($langs->trans("ErrorFieldRequired", $langs->transnoentities("RefNewContract")), null, 'errors'); } - } elseif ($action == 'update_extras') { - $object->oldcopy = dol_clone($object); + } elseif ($action == 'update_extras' && $permissiontoadd) { + $object->oldcopy = dol_clone($object, 2); + + $attribute = GETPOST('attribute', 'alphanohtml'); // Fill array 'array_options' with data from update form - $ret = $extrafields->setOptionalsFromPost(null, $object, GETPOST('attribute', 'restricthtml')); + $ret = $extrafields->setOptionalsFromPost(null, $object, $attribute); if ($ret < 0) { + setEventMessages($extrafields->error, $object->errors, 'errors'); $error++; } if (!$error) { - $result = $object->insertExtraFields('CONTRACT_MODIFY'); + $result = $object->updateExtraField($attribute, 'CONTRACT_MODIFY'); if ($result < 0) { setEventMessages($object->error, $object->errors, 'errors'); $error++; @@ -909,9 +915,9 @@ if ($error) { $action = 'edit_extras'; } - } elseif ($action == 'setref_supplier') { + } elseif ($action == 'setref_supplier' && $permissiontoadd) { if (!$cancel) { - $object->oldcopy = dol_clone($object); + $object->oldcopy = dol_clone($object, 2); $result = $object->setValueFrom('ref_supplier', GETPOST('ref_supplier', 'alpha'), '', null, 'text', '', $user, 'CONTRACT_MODIFY'); if ($result < 0) { @@ -925,9 +931,9 @@ header("Location: ".$_SERVER['PHP_SELF']."?id=".$id); exit; } - } elseif ($action == 'setref_customer') { + } elseif ($action == 'setref_customer' && $permissiontoadd) { if (!$cancel) { - $object->oldcopy = dol_clone($object); + $object->oldcopy = dol_clone($object, 2); $result = $object->setValueFrom('ref_customer', GETPOST('ref_customer', 'alpha'), '', null, 'text', '', $user, 'CONTRACT_MODIFY'); if ($result < 0) { @@ -941,7 +947,7 @@ header("Location: ".$_SERVER['PHP_SELF']."?id=".$id); exit; } - } elseif ($action == 'setref') { + } elseif ($action == 'setref' && $permissiontoadd) { if (!$cancel) { $result = $object->fetch($id); if ($result < 0) { @@ -969,7 +975,7 @@ header("Location: ".$_SERVER['PHP_SELF']."?id=".$id); exit; } - } elseif ($action == 'setdate_contrat') { + } elseif ($action == 'setdate_contrat' && $permissiontoadd) { if (!$cancel) { $result = $object->fetch($id); if ($result < 0) { @@ -1385,18 +1391,18 @@ if (!empty($modCodeContract->code_auto)) { $morehtmlref .= $object->ref; } else { - $morehtmlref .= $form->editfieldkey("", 'ref', $object->ref, $object, $user->rights->contrat->creer, 'string', '', 0, 3); - $morehtmlref .= $form->editfieldval("", 'ref', $object->ref, $object, $user->rights->contrat->creer, 'string', '', 0, 2); + $morehtmlref .= $form->editfieldkey("", 'ref', $object->ref, $object, $user->hasRight('contrat', 'creer'), 'string', '', 0, 3); + $morehtmlref .= $form->editfieldval("", 'ref', $object->ref, $object, $user->hasRight('contrat', 'creer'), 'string', '', 0, 2); } $morehtmlref .= '
'; // Ref customer - $morehtmlref .= $form->editfieldkey("RefCustomer", 'ref_customer', $object->ref_customer, $object, $user->rights->contrat->creer, 'string', '', 0, 1); - $morehtmlref .= $form->editfieldval("RefCustomer", 'ref_customer', $object->ref_customer, $object, $user->rights->contrat->creer, 'string'.(isset($conf->global->THIRDPARTY_REF_INPUT_SIZE) ? ':'.$conf->global->THIRDPARTY_REF_INPUT_SIZE : ''), '', null, null, '', 1, 'getFormatedCustomerRef'); + $morehtmlref .= $form->editfieldkey("RefCustomer", 'ref_customer', $object->ref_customer, $object, $user->hasRight('contrat', 'creer'), 'string', '', 0, 1); + $morehtmlref .= $form->editfieldval("RefCustomer", 'ref_customer', $object->ref_customer, $object, $user->hasRight('contrat', 'creer'), 'string'.(isset($conf->global->THIRDPARTY_REF_INPUT_SIZE) ? ':' . getDolGlobalString('THIRDPARTY_REF_INPUT_SIZE') : ''), '', null, null, '', 1, 'getFormatedCustomerRef'); // Ref supplier $morehtmlref .= '
'; - $morehtmlref .= $form->editfieldkey("RefSupplier", 'ref_supplier', $object->ref_supplier, $object, $user->rights->contrat->creer, 'string', '', 0, 1); - $morehtmlref .= $form->editfieldval("RefSupplier", 'ref_supplier', $object->ref_supplier, $object, $user->rights->contrat->creer, 'string', '', null, null, '', 1, 'getFormatedSupplierRef'); + $morehtmlref .= $form->editfieldkey("RefSupplier", 'ref_supplier', $object->ref_supplier, $object, $user->hasRight('contrat', 'creer'), 'string', '', 0, 1); + $morehtmlref .= $form->editfieldval("RefSupplier", 'ref_supplier', $object->ref_supplier, $object, $user->hasRight('contrat', 'creer'), 'string', '', null, null, '', 1, 'getFormatedSupplierRef'); // Thirdparty $morehtmlref .= '
'.$object->thirdparty->getNomUrl(1); if (empty($conf->global->MAIN_DISABLE_OTHER_LINK) && $object->thirdparty->id > 0) { @@ -1453,9 +1459,9 @@ // Date print '
'; print ''; print ''; @@ -1558,7 +1564,7 @@ } // - if ($nbofservices > 1 && $conf->browser->layout != 'phone' && !empty($user->rights->contrat->creer)) { + if ($nbofservices > 1 && $conf->browser->layout != 'phone' && $user->hasRight('contrat', 'creer')) { print ''; $ret .= '
'; - print $contactstatic->getNomUrl(-1); + if ($contextpage == 'poslist') { + print $contactstatic->lastname; + } else { + print $contactstatic->getNomUrl(1); + } print ''.dol_print_email($obj->email, $obj->rowid, $obj->socid, 'AC_EMAIL', 18, 0, 1).''; + if ($contextpage == 'poslist') { + print $obj->email; + } else { + print dol_print_email($obj->email, $obj->rowid, $obj->socid, 'AC_EMAIL', 18, 0, 1); + } + print '
'; - print $form->editfieldkey("Date", 'date_contrat', $object->date_contrat, $object, $user->rights->contrat->creer); + print $form->editfieldkey("Date", 'date_contrat', $object->date_contrat, $object, $user->hasRight('contrat', 'creer')); print ''; - print $form->editfieldval("Date", 'date_contrat', $object->date_contrat, $object, $user->rights->contrat->creer, 'datehourpicker'); + print $form->editfieldval("Date", 'date_contrat', $object->date_contrat, $object, $user->hasRight('contrat', 'creer'), 'datehourpicker'); print '
'; if ($cursorline > 1) { print 'rowid.'">'; @@ -1649,18 +1655,18 @@ // Icon move, update et delete (status contract 0=draft,1=validated,2=closed) print ''; - if ($user->rights->contrat->creer && is_array($arrayothercontracts) && count($arrayothercontracts) && ($object->statut >= 0)) { + if ($user->hasRight('contrat', 'creer') && is_array($arrayothercontracts) && count($arrayothercontracts) && ($object->statut >= 0)) { print ''; print ''; print img_picto($langs->trans("MoveToAnotherContract"), 'uparrow'); print ''; } - if ($user->rights->contrat->creer && ($object->statut >= 0)) { + if ($user->hasRight('contrat', 'creer') && ($object->statut >= 0)) { print ''; print img_edit(); print ''; } - if ($user->rights->contrat->creer && ($object->statut >= 0)) { + if ($user->hasRight('contrat', 'creer') && ($object->statut >= 0)) { print ''; print img_delete(); print ''; @@ -1900,7 +1906,7 @@ $tmpactionpicto = 'playstop'; $tmpactiontext = $langs->trans("Disable"); } - if (($tmpaction == 'activateline' && $user->rights->contrat->activer) || ($tmpaction == 'unactivateline' && $user->rights->contrat->desactiver)) { + if (($tmpaction == 'activateline' && $user->hasRight('contrat', 'activer')) || ($tmpaction == 'unactivateline' && $user->hasRight('contrat', 'desactiver'))) { print ''; print img_picto($tmpactiontext, $tmpactionpicto); print ''; @@ -1947,7 +1953,7 @@ } // Form to activate line - if ($user->rights->contrat->activer && $action == 'activateline' && $object->lines[$cursorline - 1]->id == GETPOST('ligne', 'int')) { + if ($user->hasRight('contrat', 'activer') && $action == 'activateline' && $object->lines[$cursorline - 1]->id == GETPOST('ligne', 'int')) { print ''; print ''; print ''; @@ -2002,7 +2008,7 @@ print ''; } - if ($user->rights->contrat->activer && $action == 'unactivateline' && $object->lines[$cursorline - 1]->id == GETPOST('ligne', 'int')) { + if ($user->hasRight('contrat', 'activer') && $action == 'unactivateline' && $object->lines[$cursorline - 1]->id == GETPOST('ligne', 'int')) { /** * Disable a contract line */ @@ -2067,7 +2073,7 @@ print ''; // Form to add new line - if ($user->rights->contrat->creer && ($object->statut == 0)) { + if ($user->hasRight('contrat', 'creer') && ($object->statut == 0)) { $dateSelector = 1; print "\n"; @@ -2131,7 +2137,7 @@ // Send if (empty($user->socid)) { if ($object->status == $object::STATUS_VALIDATED) { - if ((empty($conf->global->MAIN_USE_ADVANCED_PERMS) || $user->rights->contrat->creer)) { + if ((empty($conf->global->MAIN_USE_ADVANCED_PERMS) || $user->hasRight('contrat', 'creer'))) { print dolGetButtonAction('', $langs->trans('SendMail'), 'default', $_SERVER["PHP_SELF"].'?id='.$object->id.'&action=presend&token='.newToken().'&mode=init#formmailbeforetitle', '', true, $params); } else { print dolGetButtonAction('', $langs->trans('SendMail'), 'default', '#', '', false, $params); @@ -2140,7 +2146,7 @@ } if ($object->status == $object::STATUS_DRAFT && $nbofservices) { - if ($user->rights->contrat->creer) { + if ($user->hasRight('contrat', 'creer')) { print dolGetButtonAction($langs->trans('Validate'), '', 'default', $_SERVER["PHP_SELF"].'?id='.$object->id.'&action=valid&token='.newToken(), '', true, $params); } else { $params['attr']['title'] = $langs->trans("NotEnoughPermissions"); @@ -2148,7 +2154,7 @@ } } if ($object->status == $object::STATUS_VALIDATED) { - if ($user->rights->contrat->creer) { + if ($user->hasRight('contrat', 'creer')) { print dolGetButtonAction($langs->trans('Modify'), '', 'default', $_SERVER["PHP_SELF"].'?id='.$object->id.'&action=reopen&token='.newToken(), '', true, $params); } else { $params['attr']['title'] = $langs->trans("NotEnoughPermissions"); @@ -2161,32 +2167,40 @@ if (isModEnabled('commande') && $object->status > 0 && $object->nbofservicesclosed < $nbofservices) { $arrayofcreatebutton[] = array( 'url' => '/commande/card.php?action=create&token='.newToken().'&origin='.$object->element.'&originid='.$object->id.'&socid='.$object->thirdparty->id, - 'label' => $langs->trans('CreateOrder'), + 'label' => $langs->trans('Order'), 'lang' => 'orders', 'perm' => $user->hasRight('commande', 'creer') ); } - if (isModEnabled('facture') && $object->status > 0) { + if (isModEnabled('facture') && $object->status > 0 && $soc->client ==1) { $arrayofcreatebutton[] = array( 'url' => '/compta/facture/card.php?action=create&origin='.$object->element.'&originid='.$object->id.'&socid='.$object->thirdparty->id, - 'label' => $langs->trans('CreateBill'), - 'lang' => 'orders', + 'label' => $langs->trans('Bill'), + 'lang' => 'bills', 'perm' => $user->hasRight('facture', 'creer') ); } + if (isModEnabled('supplier_invoice') && $object->status > 0 && $soc->fournisseur == 1) { + $arrayofcreatebutton[] = array( + 'url' => '/fourn/facture/card.php?action=create&origin='.$object->element.'&originid='.$object->id.'&socid='.$object->thirdparty->id, + 'label' => $langs->trans('SupplierInvoice'), + 'lang' => 'bills', + 'perm' => $user->hasRight('fournisseur', 'facture', 'creer') + ); + } if (count($arrayofcreatebutton)) { print dolGetButtonAction($langs->trans("Create"), '', 'default', $arrayofcreatebutton, '', true, $params); } if ($object->nbofservicesclosed > 0 || $object->nbofserviceswait > 0) { - if ($user->rights->contrat->activer) { + if ($user->hasRight('contrat', 'activer')) { print dolGetButtonAction($langs->trans('ActivateAllContracts'), '', 'default', $_SERVER["PHP_SELF"].'?id='.$object->id.'&action=activate&token='.newToken(), '', true, $params); } else { print dolGetButtonAction($langs->trans('ActivateAllContracts'), '', 'default', '#', '', false, $params); } } if ($object->nbofservicesclosed < $nbofservices) { - if ($user->rights->contrat->desactiver) { + if ($user->hasRight('contrat', 'desactiver')) { print dolGetButtonAction($langs->trans('CloseAllContracts'), '', 'default', $_SERVER["PHP_SELF"].'?id='.$object->id.'&action=close&token='.newToken(), '', true, $params); } else { print dolGetButtonAction($langs->trans('CloseAllContracts'), '', 'default', '#', '', false, $params); @@ -2210,7 +2224,7 @@ } // Clone - if ($user->rights->contrat->creer) { + if ($user->hasRight('contrat', 'creer')) { print dolGetButtonAction($langs->trans('ToClone'), '', 'default', $_SERVER['PHP_SELF'].'?id='.$object->id.'&socid='.$object->socid.'&action=clone&token='.newToken(), '', true, $params); } @@ -2282,7 +2296,7 @@ '; + $out.= ''; + $out.=''; } elseif ($type == 'text') { if (!preg_match('/search_/', $keyprefix)) { // If keyprefix is search_ or search_options_, we must just use a simple text field require_once DOL_DOCUMENT_ROOT.'/core/class/doleditor.class.php'; @@ -1193,6 +1214,7 @@ public function showInputField($key, $value, $moreparam = '', $keysuffix = '', $ // 4 : where clause filter on column or table extrafield, syntax field='value' or extra.field=value // 5 : id category type // 6 : ids categories list separated by comma for category root + // 7 : sort by (to be close to common object) $keyList = (empty($InfoFieldList[2]) ? 'rowid' : $InfoFieldList[2].' as rowid'); @@ -1364,6 +1386,7 @@ public function showInputField($key, $value, $moreparam = '', $keysuffix = '', $ // 4 : where clause filter on column or table extrafield, syntax field='value' or extra.field=value // 5 : id category type // 6 : ids categories list separated by comma for category root + // 7 : sort by (to be close to common object) $keyList = (empty($InfoFieldList[2]) ? 'rowid' : $InfoFieldList[2].' as rowid'); if (count($InfoFieldList) > 3 && !empty($InfoFieldList[3])) { @@ -1650,6 +1673,8 @@ public function showOutputField($key, $value, $moreparam = '', $extrafieldsobjec $value = dol_print_email($value, 0, 0, 0, 64, 1, 1); } elseif ($type == 'ip') { $value = dol_print_ip($value, 0); + } elseif ($type == 'icon') { + $value = ''; } elseif ($type == 'url') { $value = dol_print_url($value, '_blank', 32, 1); } elseif ($type == 'phone') { @@ -1946,11 +1971,11 @@ public function getAlignFlag($key, $extrafieldsobjectkey = '') $cssstring = ''; - if (in_array($type, array('date', 'datetime', 'datetimegmt'))) { + if (in_array($type, array('date', 'datetime', 'datetimegmt',))) { $cssstring = "center"; } elseif (in_array($type, array('int', 'price', 'double'))) { $cssstring = "right"; - } elseif (in_array($type, array('boolean', 'radio', 'checkbox', 'ip'))) { + } elseif (in_array($type, array('boolean', 'radio', 'checkbox', 'ip', 'icon'))) { $cssstring = "center"; } @@ -2250,16 +2275,16 @@ public function getOptionalsFromPost($extrafieldsobjectkey, $keyprefix = '', $ke if (in_array($key_type, array('date'))) { $dateparamname_start = $keysuffix . 'options_' . $key . $keyprefix . '_start'; $dateparamname_end = $keysuffix . 'options_' . $key . $keyprefix . '_end'; - if (GETPOSTISSET($dateparamname_start . 'year') || GETPOSTISSET($dateparamname_end . 'year')) { + if (GETPOST($dateparamname_start . 'year') || GETPOST($dateparamname_end . 'year')) { $value_key = array(); // values provided as a component year, month, day, etc. - if (GETPOSTISSET($dateparamname_start . 'year')) { + if (GETPOST($dateparamname_start . 'year')) { $value_key['start'] = dol_mktime(0, 0, 0, GETPOST($dateparamname_start . 'month', 'int'), GETPOST($dateparamname_start . 'day', 'int'), GETPOST($dateparamname_start . 'year', 'int')); } - if (GETPOSTISSET($dateparamname_start . 'year')) { + if (GETPOST($dateparamname_start . 'year')) { $value_key['end'] = dol_mktime(23, 59, 59, GETPOST($dateparamname_end . 'month', 'int'), GETPOST($dateparamname_end . 'day', 'int'), GETPOST($dateparamname_end . 'year', 'int')); } - } elseif (GETPOSTISSET($keysuffix."options_".$key.$keyprefix."year")) { + } elseif (GETPOST($keysuffix."options_".$key.$keyprefix."year")) { // Clean parameters $value_key = dol_mktime(12, 0, 0, GETPOST($keysuffix."options_".$key.$keyprefix."month", 'int'), GETPOST($keysuffix."options_".$key.$keyprefix."day", 'int'), GETPOST($keysuffix."options_".$key.$keyprefix."year", 'int')); } else { @@ -2268,7 +2293,7 @@ public function getOptionalsFromPost($extrafieldsobjectkey, $keyprefix = '', $ke } elseif (in_array($key_type, array('datetime', 'datetimegmt'))) { $dateparamname_start = $keysuffix . 'options_' . $key . $keyprefix . '_start'; $dateparamname_end = $keysuffix . 'options_' . $key . $keyprefix . '_end'; - if (GETPOSTISSET($dateparamname_start . 'year') && GETPOSTISSET($dateparamname_end . 'year')) { + if (GETPOST($dateparamname_start . 'year') && GETPOST($dateparamname_end . 'year')) { // values provided as a date pair (start date + end date), each date being broken down as year, month, day, etc. $dateparamname_end_hour = GETPOST($dateparamname_end . 'hour', 'int') !='-1' ? GETPOST($dateparamname_end . 'hour', 'int') : '23'; $dateparamname_end_min = GETPOST($dateparamname_end . 'min', 'int') !='-1' ? GETPOST($dateparamname_end . 'min', 'int') : '59'; @@ -2284,7 +2309,7 @@ public function getOptionalsFromPost($extrafieldsobjectkey, $keyprefix = '', $ke 'end' => dol_mktime($dateparamname_end_hour, $dateparamname_end_min, $dateparamname_end_sec, GETPOST($dateparamname_end . 'month', 'int'), GETPOST($dateparamname_end . 'day', 'int'), GETPOST($dateparamname_end . 'year', 'int'), 'tzuserrel') ); } - } elseif (GETPOSTISSET($keysuffix."options_".$key.$keyprefix."year")) { + } elseif (GETPOST($keysuffix."options_".$key.$keyprefix."year")) { // Clean parameters if ($key_type == 'datetimegmt') { $value_key = dol_mktime(GETPOST($keysuffix."options_".$key.$keyprefix."hour", 'int'), GETPOST($keysuffix."options_".$key.$keyprefix."min", 'int'), GETPOST($keysuffix."options_".$key.$keyprefix."sec", 'int'), GETPOST($keysuffix."options_".$key.$keyprefix."month", 'int'), GETPOST($keysuffix."options_".$key.$keyprefix."day", 'int'), GETPOST($keysuffix."options_".$key.$keyprefix."year", 'int'), 'gmt'); @@ -2305,7 +2330,7 @@ public function getOptionalsFromPost($extrafieldsobjectkey, $keyprefix = '', $ke $value_key = GETPOST($keysuffix."options_".$key.$keyprefix); } } elseif (in_array($key_type, array('checkbox', 'chkbxlst'))) { - if (!GETPOSTISSET($keysuffix."options_".$key.$keyprefix)) { + if (!GETPOST($keysuffix."options_".$key.$keyprefix)) { continue; // Value was not provided, we should not set it. } $value_arr = GETPOST($keysuffix."options_".$key.$keyprefix); @@ -2313,7 +2338,7 @@ public function getOptionalsFromPost($extrafieldsobjectkey, $keyprefix = '', $ke $value_arr = (array) $value_arr; $value_key = implode(',', $value_arr); } elseif (in_array($key_type, array('price', 'double', 'int'))) { - if (!GETPOSTISSET($keysuffix."options_".$key.$keyprefix)) { + if (!GETPOST($keysuffix."options_".$key.$keyprefix)) { continue; // Value was not provided, we should not set it. } $value_arr = GETPOST($keysuffix."options_".$key.$keyprefix); @@ -2323,19 +2348,19 @@ public function getOptionalsFromPost($extrafieldsobjectkey, $keyprefix = '', $ke $value_key = $value_arr; } } elseif (in_array($key_type, array('boolean'))) { - if (!GETPOSTISSET($keysuffix."options_".$key.$keyprefix)) { + if (!GETPOST($keysuffix."options_".$key.$keyprefix)) { $value_key = ''; } else { $value_arr = GETPOST($keysuffix."options_".$key.$keyprefix); $value_key = $value_arr; } } elseif (in_array($key_type, array('html'))) { - if (!GETPOSTISSET($keysuffix."options_".$key.$keyprefix)) { + if (!GETPOST($keysuffix."options_".$key.$keyprefix)) { continue; // Value was not provided, we should not set it. } $value_key = dol_htmlcleanlastbr(GETPOST($keysuffix."options_".$key.$keyprefix, 'restricthtml')); } else { - if (!GETPOSTISSET($keysuffix."options_".$key.$keyprefix)) { + if (!GETPOST($keysuffix."options_".$key.$keyprefix)) { continue; // Value was not provided, we should not set it. } $value_key = GETPOST($keysuffix."options_".$key.$keyprefix); diff --git a/htdocs/core/class/fiscalyear.class.php b/htdocs/core/class/fiscalyear.class.php index ac361ca25d471..197c7e2769387 100644 --- a/htdocs/core/class/fiscalyear.class.php +++ b/htdocs/core/class/fiscalyear.class.php @@ -38,7 +38,7 @@ class Fiscalyear extends CommonObject /** * @var string picto */ - public $picto = 'technic'; + public $picto = 'calendar'; /** * @var string Name of table without prefix where object is stored @@ -109,8 +109,6 @@ class Fiscalyear extends CommonObject */ public $entity; - public $statuts = array(); - public $statuts_short = array(); const STATUS_OPEN = 0; const STATUS_CLOSED = 1; @@ -123,12 +121,10 @@ class Fiscalyear extends CommonObject */ public function __construct(DoliDB $db) { - global $langs; - $this->db = $db; - $this->statuts_short = array(0 => 'Opened', 1 => 'Closed'); - $this->statuts = array(0 => 'Opened', 1 => 'Closed'); + $this->labelStatusShort = array(self::STATUS_OPEN => 'Opened', self::STATUS_CLOSED => 'Closed'); + $this->labelStatus = array(self::STATUS_OPEN => 'Opened', self::STATUS_CLOSED => 'Closed'); } /** @@ -194,8 +190,6 @@ public function create($user) */ public function update($user) { - global $langs; - // Check parameters if (empty($this->date_start) && empty($this->date_end)) { $this->error = 'ErrorBadParameter'; @@ -208,7 +202,7 @@ public function update($user) $sql .= " SET label = '".$this->db->escape($this->label)."'"; $sql .= ", date_start = '".$this->db->idate($this->date_start)."'"; $sql .= ", date_end = ".($this->date_end ? "'".$this->db->idate($this->date_end)."'" : "null"); - $sql .= ", statut = '".$this->db->escape($this->statut ? $this->statut : 0)."'"; + $sql .= ", statut = '".$this->db->escape($this->status ? $this->status : 0)."'"; $sql .= ", fk_user_modif = ".((int) $user->id); $sql .= " WHERE rowid = ".((int) $this->id); @@ -301,10 +295,10 @@ public function getTooltipContentArray($params) } $datas['ref'] = '
'.$langs->trans('Ref').': '.$this->ref; if (isset($this->date_start)) { - $datas['date_start'] .= '
'.$langs->trans('DateStart').': '.dol_print_date($this->date_start, 'day'); + $datas['date_start'] = '
'.$langs->trans('DateStart').': '.dol_print_date($this->date_start, 'day'); } if (isset($this->date_start)) { - $datas['date_end'] .= '
'.$langs->trans('DateEnd').': '.dol_print_date($this->date_end, 'day'); + $datas['date_end'] = '
'.$langs->trans('DateEnd').': '.dol_print_date($this->date_end, 'day'); } return $datas; @@ -415,38 +409,22 @@ public function getLibStatut($mode = 0) public function LibStatut($status, $mode = 0) { // phpcs:enable - global $langs; + if (empty($this->labelStatus) || empty($this->labelStatusShort)) { + global $langs; + //$langs->load("mymodule@mymodule"); + $this->labelStatus[self::STATUS_OPEN] = $langs->transnoentitiesnoconv('Draft'); + $this->labelStatus[self::STATUS_CLOSED] = $langs->transnoentitiesnoconv('Enabled'); + $this->labelStatusShort[self::STATUS_OPEN] = $langs->transnoentitiesnoconv('Enabled'); + $this->labelStatusShort[self::STATUS_CLOSED] = $langs->transnoentitiesnoconv('Disabled'); + } - if ($mode == 0) { - return $langs->trans($this->statuts[$status]); - } elseif ($mode == 1) { - return $langs->trans($this->statuts_short[$status]); - } elseif ($mode == 2) { - if ($status == 0) { - return img_picto($langs->trans($this->statuts_short[$status]), 'statut4').' '.$langs->trans($this->statuts_short[$status]); - } elseif ($status == 1) { - return img_picto($langs->trans($this->statuts_short[$status]), 'statut8').' '.$langs->trans($this->statuts_short[$status]); - } - } elseif ($mode == 3) { - if ($status == 0 && !empty($this->statuts_short[$status])) { - return img_picto($langs->trans($this->statuts_short[$status]), 'statut4'); - } elseif ($status == 1 && !empty($this->statuts_short[$status])) { - return img_picto($langs->trans($this->statuts_short[$status]), 'statut8'); - } - } elseif ($mode == 4) { - if ($status == 0 && !empty($this->statuts_short[$status])) { - return img_picto($langs->trans($this->statuts_short[$status]), 'statut4').' '.$langs->trans($this->statuts[$status]); - } elseif ($status == 1 && !empty($this->statuts_short[$status])) { - return img_picto($langs->trans($this->statuts_short[$status]), 'statut8').' '.$langs->trans($this->statuts[$status]); - } - } elseif ($mode == 5) { - if ($status == 0 && !empty($this->statuts_short[$status])) { - return $langs->trans($this->statuts_short[$status]).' '.img_picto($langs->trans($this->statuts_short[$status]), 'statut4'); - } elseif ($status == 1 && !empty($this->statuts_short[$status])) { - return $langs->trans($this->statuts_short[$status]).' '.img_picto($langs->trans($this->statuts_short[$status]), 'statut6'); - } + $statusType = 'status4'; + //if ($status == self::STATUS_VALIDATED) $statusType = 'status1'; + if ($status == self::STATUS_CLOSED) { + $statusType = 'status6'; } - return ""; + + return dolGetStatus($this->labelStatus[$status], $this->labelStatusShort[$status], '', $statusType, $mode); } /** @@ -468,7 +446,9 @@ public function info($id) if ($result) { if ($this->db->num_rows($result)) { $obj = $this->db->fetch_object($result); + $this->id = $obj->rowid; + $this->user_creation_id = $obj->fk_user_author; $this->user_modification_id = $obj->fk_user_modif; $this->date_creation = $this->db->jdate($obj->datec); diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index 1144ad2f618eb..8644b88da7f18 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -22,6 +22,7 @@ * Copyright (C) 2018 Christophe Battarel * Copyright (C) 2018 Josep Lluis Amador * Copyright (C) 2023 Joachim Kueter + * Copyright (C) 2023 Nick Fragoulis * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -79,6 +80,7 @@ class Form public $cache_demand_reason = array(); public $cache_types_fees = array(); public $cache_vatrates = array(); + public $cache_invoice_subtype = array(); /** @@ -1376,7 +1378,7 @@ public function select_company($selected = '', $htmlname = 'socid', $filter = '' * @param string $selected Preselected type * @param string $htmlname Name of field in form * @param string $filter Optional filters criteras. WARNING: To avoid SQL injection, only few chars [.a-z0-9 =<>] are allowed here, example: 's.rowid <> x' - * If you need parenthesis, use the Universal Filter Syntax, example: '(s.client:in:(1,3))' + * If you need parenthesis, use the Universal Filter Syntax, example: '(s.client:in:1,3)' * Do not use a filter coming from input of users. * @param string $showempty Add an empty field (Can be '1' or text to use on empty line like 'SelectThirdParty') * @param int $showtype Show third party type in combolist (customer, prospect or supplier) @@ -1446,7 +1448,7 @@ public function select_thirdparty_list($selected = '', $htmlname = 'socid', $fil if (!empty($conf->global->COMPANY_SHOW_ADDRESS_SELECTLIST)) { $sql .= " LEFT JOIN " . $this->db->prefix() . "c_country as dictp ON dictp.rowid = s.fk_pays"; } - if (empty($user->rights->societe->client->voir) && !$user->socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$user->socid) { $sql .= ", " . $this->db->prefix() . "societe_commerciaux as sc"; } $sql .= " WHERE s.entity IN (" . getEntity('societe') . ")"; @@ -1458,7 +1460,7 @@ public function select_thirdparty_list($selected = '', $htmlname = 'socid', $fil // if not, by testSqlAndScriptInject() only. $sql .= " AND (" . $filter . ")"; } - if (empty($user->rights->societe->client->voir) && !$user->socid) { + if (!$user->hasRight('societe', 'client', 'voir') && !$user->socid) { $sql .= " AND s.rowid = sc.fk_soc AND sc.fk_user = " . ((int) $user->id); } if (!empty($conf->global->COMPANY_HIDE_INACTIVE_IN_COMBOBOX)) { @@ -2009,7 +2011,7 @@ public function select_users($selected = '', $htmlname = 'userid', $show_empty = * @return array|string HTML select string * @see select_dolgroups() */ - public function select_dolusers($selected = '', $htmlname = 'userid', $show_empty = 0, $exclude = null, $disabled = 0, $include = '', $enableonly = '', $force_entity = '0', $maxlength = 0, $showstatus = 0, $morefilter = '', $show_every = 0, $enableonlytext = '', $morecss = '', $notdisabled = 0, $outputmode = 0, $multiple = false, $forcecombo = 0) + public function select_dolusers($selected = '', $htmlname = 'userid', $show_empty = 0, $exclude = null, $disabled = 0, $include = '', $enableonly = '', $force_entity = 0, $maxlength = 0, $showstatus = 0, $morefilter = '', $show_every = 0, $enableonlytext = '', $morecss = '', $notdisabled = 0, $outputmode = 0, $multiple = false, $forcecombo = 0) { // phpcs:enable global $conf, $user, $langs, $hookmanager; @@ -2056,18 +2058,16 @@ public function select_dolusers($selected = '', $htmlname = 'userid', $show_empt $sql .= " FROM " . $this->db->prefix() . "user as u"; if (isModEnabled('multicompany') && $conf->entity == 1 && $user->admin && !$user->entity) { $sql .= " LEFT JOIN " . $this->db->prefix() . "entity as e ON e.rowid = u.entity"; - if ($force_entity) { + if (!empty($force_entity)) { $sql .= " WHERE u.entity IN (0, " . $this->db->sanitize($force_entity) . ")"; } else { $sql .= " WHERE u.entity IS NOT NULL"; } } else { - if (isModEnabled('multicompany') && !empty($conf->global->MULTICOMPANY_TRANSVERSE_MODE)) { - $sql .= " LEFT JOIN " . $this->db->prefix() . "usergroup_user as ug"; - $sql .= " ON ug.fk_user = u.rowid"; - $sql .= " WHERE ug.entity = " . (int) $conf->entity; + if (isModEnabled('multicompany') && getDolGlobalInt('MULTICOMPANY_TRANSVERSE_MODE')) { + $sql .= " WHERE u.rowid IN (SELECT ug.fk_user FROM ".$this->db->prefix()."usergroup_user as ug WHERE ug.entity IN (".getEntity('usergroup')."))"; } else { - $sql .= " WHERE u.entity IN (0, " . ((int) $conf->entity) . ")"; + $sql .= " WHERE u.entity IN (" . getEntity('user') . ")"; } } if (!empty($user->socid)) { @@ -2173,8 +2173,8 @@ public function select_dolusers($selected = '', $htmlname = 'userid', $show_empt $moreinfohtml .= ($moreinfohtml ? ' - ' : ' (') . $langs->trans('Disabled'); } } - if (isModEnabled('multicompany') && empty($conf->global->MULTICOMPANY_TRANSVERSE_MODE) && $conf->entity == 1 && $user->admin && !$user->entity) { - if (!$obj->entity) { + if (isModEnabled('multicompany') && !getDolGlobalInt('MULTICOMPANY_TRANSVERSE_MODE') && $conf->entity == 1 && !empty($user->admin) && empty($user->entity)) { + if (empty($obj->entity)) { $moreinfo .= ($moreinfo ? ' - ' : ' (') . $langs->trans("AllEntities"); $moreinfohtml .= ($moreinfohtml ? ' - ' : ' (') . $langs->trans("AllEntities"); } else { @@ -2184,9 +2184,9 @@ public function select_dolusers($selected = '', $htmlname = 'userid', $show_empt } } } - $moreinfo .= ($moreinfo ? ')' : ''); - $moreinfohtml .= ($moreinfohtml ? ')' : ''); - if ($disableline && $disableline != '1') { + $moreinfo .= (!empty($moreinfo) ? ')' : ''); + $moreinfohtml .= (!empty($moreinfohtml) ? ')' : ''); + if (!empty($disableline) && $disableline != '1') { // Add text from $enableonlytext parameter $moreinfo .= ' - ' . $disableline; $moreinfohtml .= ' - ' . $disableline; @@ -2195,7 +2195,7 @@ public function select_dolusers($selected = '', $htmlname = 'userid', $show_empt $labeltoshowhtml .= $moreinfohtml; $out .= '
'; } - } else { - dol_print_error('', 'Call of showphoto with wrong parameters modulepart=' . $modulepart); } return $ret; @@ -9931,7 +10026,7 @@ public function select_dolgroups($selected = '', $htmlname = 'groupid', $show_em $out .= '>'; $out .= $obj->name; - if (isModEnabled('multicompany') && empty($conf->global->MULTICOMPANY_TRANSVERSE_MODE) && $conf->entity == 1) { + if (isModEnabled('multicompany') && !getDolGlobalInt('MULTICOMPANY_TRANSVERSE_MODE') && $conf->entity == 1) { $out .= " (" . $obj->label . ")"; } @@ -9965,11 +10060,11 @@ public function showFilterButtons($pos = '') { $out = '
'; if ($pos == 'left') { - $out .= ''; - $out .= ''; + $out .= ''; + $out .= ''; } else { - $out .= ''; - $out .= ''; + $out .= ''; + $out .= ''; } $out .= '
'; @@ -10246,7 +10341,7 @@ public function selectInvoice($socid = -1, $selected = '', $htmlname = 'invoicei } if (empty($projectsListId)) { - if (empty($usertofilter->rights->projet->all->lire)) { + if (!$usertofilter->hasRight('projet', 'all', 'lire')) { $projectstatic = new Project($this->db); $projectsListId = $projectstatic->getProjectsAuthorizedForUser($usertofilter, 0, 1); } @@ -10294,7 +10389,7 @@ public function selectInvoice($socid = -1, $selected = '', $htmlname = 'invoicei while ($i < $num) { $obj = $this->db->fetch_object($resql); // If we ask to filter on a company and user has no permission to see all companies and project is linked to another company, we hide project. - if ($socid > 0 && (empty($obj->fk_soc) || $obj->fk_soc == $socid) && empty($usertofilter->rights->societe->lire)) { + if ($socid > 0 && (empty($obj->fk_soc) || $obj->fk_soc == $socid) && !$usertofilter->hasRight('societe', 'lire')) { // Do nothing } else { if ($discard_closed == 1 && $obj->fk_statut == Project::STATUS_CLOSED) { @@ -10708,4 +10803,97 @@ public function buttonsSaveCancel($save_label = 'Save', $cancel_label = 'Cancel' return $retstring; } + + + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps + + /** + * Load into cache list of invoice subtypes + * + * @return int Nb of lines loaded, <0 if KO + */ + public function load_cache_invoice_subtype() + { + // phpcs:enable + global $langs; + + $num = count($this->cache_invoice_subtype); + if ($num > 0) { + return 0; // Cache already loaded + } + + dol_syslog(__METHOD__, LOG_DEBUG); + + $sql = "SELECT rowid, code, label as label"; + $sql .= " FROM " . MAIN_DB_PREFIX . 'c_invoice_subtype'; + $sql .= " WHERE active = 1"; + + $resql = $this->db->query($sql); + if ($resql) { + $num = $this->db->num_rows($resql); + $i = 0; + while ($i < $num) { + $obj = $this->db->fetch_object($resql); + + // If translation exists, we use it, otherwise we take the default wording + $label = ($langs->trans("InvoiceSubtype" . $obj->rowid) != ("InvoiceSubtype" . $obj->rowid)) ? $langs->trans("InvoiceSubtype" . $obj->rowid) : (($obj->label != '-') ? $obj->label : ''); + $this->cache_invoice_subtype[$obj->rowid]['rowid'] = $obj->rowid; + $this->cache_invoice_subtype[$obj->rowid]['code'] = $obj->code; + $this->cache_invoice_subtype[$obj->rowid]['label'] = $label; + $i++; + } + + $this->cache_invoice_subtype = dol_sort_array($this->cache_invoice_subtype, 'code', 'asc', 0, 0, 1); + + return $num; + } else { + dol_print_error($this->db); + return -1; + } + } + + + /** + * Return list of invoice subtypes. + * + * @param int $selected Id of invoice subtype to preselect by default + * @param string $htmlname Select field name + * @param int $addempty Add an empty entry + * @param int $noinfoadmin 0=Add admin info, 1=Disable admin info + * @param string $morecss Add more CSS on select tag + * @return string String for the HTML select component + */ + public function getSelectInvoiceSubtype($selected = 0, $htmlname = 'subtypeid', $addempty = 0, $noinfoadmin = 0, $morecss = '') + { + global $langs, $user; + + $out = ''; + dol_syslog(__METHOD__ . " selected=" . $selected . ", htmlname=" . $htmlname, LOG_DEBUG); + + $this->load_cache_invoice_subtype(); + + $out .= ''; print ''; @@ -474,4 +475,41 @@ public function select_paper_format($selected = '', $htmlname = 'paperformat_id' return $out; } + + + /** + * Function to shwo the combo select to chose a type of field (varchar, int, email, ...) + * + * @param string $htmlname Name of HTML select component + * @param string $type Type preselected + * @param string $typewecanchangeinto Array of possible switch combination from 1 type to another one. This will grey not possible combinations. + * @return string The combo HTML select component + */ + public function selectTypeOfFields($htmlname, $type, $typewecanchangeinto = array()) + { + global $type2label; // TODO Remove this + + $out = ''; + + $out .= ''; + $out .= ajax_combobox('type'); + + return $out; + } } diff --git a/htdocs/core/class/html.formcompany.class.php b/htdocs/core/class/html.formcompany.class.php index 1d445094ea990..9f6d806e8f44c 100644 --- a/htdocs/core/class/html.formcompany.class.php +++ b/htdocs/core/class/html.formcompany.class.php @@ -329,15 +329,15 @@ public function select_state($selected = 0, $country_codeid = 0, $htmlname = 'st // Si traduction existe, on l'utilise, sinon on prend le libelle par defaut if ( !empty($conf->global->MAIN_SHOW_STATE_CODE) && - ($conf->global->MAIN_SHOW_STATE_CODE == 1 || $conf->global->MAIN_SHOW_STATE_CODE == 2 || $conf->global->MAIN_SHOW_STATE_CODE === 'all') + (getDolGlobalInt('MAIN_SHOW_STATE_CODE') == 1 || getDolGlobalInt('MAIN_SHOW_STATE_CODE') == 2 || $conf->global->MAIN_SHOW_STATE_CODE === 'all') ) { - if (!empty($conf->global->MAIN_SHOW_REGION_IN_STATE_SELECT) && $conf->global->MAIN_SHOW_REGION_IN_STATE_SELECT == 1) { + if (getDolGlobalInt('MAIN_SHOW_REGION_IN_STATE_SELECT') == 1) { $out .= $obj->region_name . ' - ' . $obj->code . ' - ' . ($langs->trans($obj->code) != $obj->code ? $langs->trans($obj->code) : ($obj->name != '-' ? $obj->name : '')); } else { $out .= $obj->code . ' - ' . ($langs->trans($obj->code) != $obj->code ? $langs->trans($obj->code) : ($obj->name != '-' ? $obj->name : '')); } } else { - if (!empty($conf->global->MAIN_SHOW_REGION_IN_STATE_SELECT) && $conf->global->MAIN_SHOW_REGION_IN_STATE_SELECT == 1) { + if (getDolGlobalInt('MAIN_SHOW_REGION_IN_STATE_SELECT') == 1) { $out .= $obj->region_name . ' - ' . ($langs->trans($obj->code) != $obj->code ? $langs->trans($obj->code) : ($obj->name != '-' ? $obj->name : '')); } else { $out .= ($langs->trans($obj->code) != $obj->code ? $langs->trans($obj->code) : ($obj->name != '-' ? $obj->name : '')); @@ -821,7 +821,7 @@ public function selectTypeContact($object, $selected, $htmlname = 'type', $sourc $out = ''; if (is_object($object) && method_exists($object, 'liste_type_contact')) { - $lesTypes = $object->liste_type_contact($source, $sortorder, 0, 1); + $lesTypes = $object->liste_type_contact($source, $sortorder, 0, 1); // List of types into c_type_contact for element=$object->element $out .= ''; $stringaddbarcode = str_replace("tmphtml", $htmltoreplaceby, $stringaddbarcode); - $out .= $stringaddbarcode.'
'; - $out .= '
'; + $out .= $stringaddbarcode.':
'; + if ($warehouseselect > 0) { + require_once DOL_DOCUMENT_ROOT.'/product/class/html.formproduct.class.php'; + $formproduct = new FormProduct($this->db); + $formproduct->loadWarehouses(); + $out .= img_picto('', 'stock', 'class="pictofixedwidth"'); + $out .= $formproduct->selectWarehouses('', "warehousenew", '', 0, 0, 0, '', 0, 1); + $out .= '
'; + $out .= '
'; + } $out .= ''; /*print '
'.$langs->trans("or").'
'; @@ -496,7 +505,7 @@ public function select_salesrepresentatives($selected, $htmlname, $user, $showst $sql_usr = "SELECT u.rowid, u.lastname, u.firstname, u.statut as status, u.login, u.photo, u.gender, u.entity, u.admin"; $sql_usr .= " FROM ".$this->db->prefix()."user as u"; - if (!empty($conf->global->MULTICOMPANY_TRANSVERSE_MODE)) { + if (getDolGlobalInt('MULTICOMPANY_TRANSVERSE_MODE')) { if (!empty($user->admin) && empty($user->entity) && $conf->entity == 1) { $sql_usr .= " WHERE u.entity IS NOT NULL"; // Show all users } else { @@ -507,7 +516,7 @@ public function select_salesrepresentatives($selected, $htmlname, $user, $showst $sql_usr .= " WHERE u.entity IN (".getEntity('user').")"; } - if (empty($user->rights->user->user->lire)) { + if (!$user->hasRight('user', 'user', 'lire')) { $sql_usr .= " AND u.rowid = ".((int) $user->id); } if (!empty($user->socid)) { @@ -520,12 +529,12 @@ public function select_salesrepresentatives($selected, $htmlname, $user, $showst } // Add existing sales representatives of thirdparty of external user - if (empty($user->rights->user->user->lire) && $user->socid) { + if (!$user->hasRight('user', 'user', 'lire') && $user->socid) { $sql_usr .= " UNION "; $sql_usr .= "SELECT u2.rowid, u2.lastname, u2.firstname, u2.statut as status, u2.login, u2.photo, u2.gender, u2.entity, u2.admin"; $sql_usr .= " FROM ".$this->db->prefix()."user as u2, ".$this->db->prefix()."societe_commerciaux as sc"; - if (!empty($conf->global->MULTICOMPANY_TRANSVERSE_MODE)) { + if (getDolGlobalInt('MULTICOMPANY_TRANSVERSE_MODE')) { if (!empty($user->admin) && empty($user->entity) && $conf->entity == 1) { $sql_usr .= " WHERE u2.entity IS NOT NULL"; // Show all users } else { @@ -987,7 +996,7 @@ public function CreateColorIcon($color, $module, $name, $x = '12', $y = '12') $file = $conf->$module->dir_temp.'/'.$name.'.png'; - // On cree le repertoire contenant les icones + // We create temp directory if (!file_exists($conf->$module->dir_temp)) { dol_mkdir($conf->$module->dir_temp); } diff --git a/htdocs/core/class/html.formprojet.class.php b/htdocs/core/class/html.formprojet.class.php index ad1299c91c152..bd42b58b4ec62 100644 --- a/htdocs/core/class/html.formprojet.class.php +++ b/htdocs/core/class/html.formprojet.class.php @@ -23,11 +23,12 @@ * \brief Class file for html component project */ +require_once DOL_DOCUMENT_ROOT.'/core/class/html.form.class.php'; /** * Class to manage building of HTML components */ -class FormProjets +class FormProjets extends Form { /** * @var DoliDB Database handler. @@ -167,7 +168,7 @@ public function select_projects_list($socid = -1, $selected = '', $htmlname = 'p } $projectsListId = false; - if (empty($user->rights->projet->all->lire)) { + if (!$user->hasRight('projet', 'all', 'lire')) { $projectstatic = new Project($this->db); $projectsListId = $projectstatic->getProjectsAuthorizedForUser($user, 0, 1); } @@ -186,7 +187,7 @@ public function select_projects_list($socid = -1, $selected = '', $htmlname = 'p if (empty($conf->global->PROJECT_ALLOW_TO_LINK_FROM_OTHER_COMPANY)) { $sql .= " AND (p.fk_soc=" . ((int) $socid) . " OR p.fk_soc IS NULL)"; } elseif ($conf->global->PROJECT_ALLOW_TO_LINK_FROM_OTHER_COMPANY != 'all') { // PROJECT_ALLOW_TO_LINK_FROM_OTHER_COMPANY is 'all' or a list of ids separated by coma. - $sql .= " AND (p.fk_soc IN (" . $this->db->sanitize(((int) $socid) . ", " . $conf->global->PROJECT_ALLOW_TO_LINK_FROM_OTHER_COMPANY) . ") OR p.fk_soc IS NULL)"; + $sql .= " AND (p.fk_soc IN (" . $this->db->sanitize(((int) $socid) . ", " . getDolGlobalString('PROJECT_ALLOW_TO_LINK_FROM_OTHER_COMPANY')) . ") OR p.fk_soc IS NULL)"; } } if (!empty($filterkey)) { @@ -351,7 +352,7 @@ public function selectTasks($socid = -1, $selected = '', $htmlname = 'taskid', $ } if (empty($projectsListId)) { - if (empty($usertofilter->rights->projet->all->lire)) { + if (!$usertofilter->hasRight('projet', 'all', 'lire')) { $projectstatic = new Project($this->db); $projectsListId = $projectstatic->getProjectsAuthorizedForUser($usertofilter, 0, 1); } @@ -408,7 +409,7 @@ public function selectTasks($socid = -1, $selected = '', $htmlname = 'taskid', $ while ($i < $num) { $obj = $this->db->fetch_object($resql); // If we ask to filter on a company and user has no permission to see all companies and project is linked to another company, we hide project. - if ($socid > 0 && (empty($obj->fk_soc) || $obj->fk_soc == $socid) && empty($usertofilter->rights->societe->lire)) { + if ($socid > 0 && (empty($obj->fk_soc) || $obj->fk_soc == $socid) && !$usertofilter->hasRight('societe', 'lire')) { // Do nothing } else { if ($discard_closed == 1 && $obj->fk_statut == Project::STATUS_CLOSED) { @@ -756,6 +757,43 @@ public function selectOpportunityStatus($htmlname, $preselected = '-1', $showemp } } + /** + * Return combo list of differents status of a orders + * + * @param string $selected Preselected value + * @param int $short Use short labels + * @param string $hmlname Name of HTML select element + * @return void + */ + public function selectProjectsStatus($selected = '', $short = 0, $hmlname = 'order_status') + { + $options = array(); + + // 7 is same label than 6. 8 does not exists (billed is another field) + $statustohow = array( + '0' => '0', + '1' => '1', + '2' => '2', + ); + + $tmpproject = new Project($this->db); + + foreach ($statustohow as $key => $value) { + $tmpproject->statut = $key; + $options[$value] = $tmpproject->getLibStatut($short); + } + + if (is_array($selected)) { + $selectedarray = $selected; + } elseif ($selected == 99) { + $selectedarray = array(0,1); + } else { + $selectedarray = explode(',', $selected); + } + + print Form::multiselectarray($hmlname, $options, $selectedarray, 0, 0, 'minwidth100'); + } + /** * Output a combo list with invoices and lines qualified for a project * diff --git a/htdocs/core/class/html.formsetup.class.php b/htdocs/core/class/html.formsetup.class.php index 5cee5607497d2..65e1d7c1d2f66 100644 --- a/htdocs/core/class/html.formsetup.class.php +++ b/htdocs/core/class/html.formsetup.class.php @@ -92,13 +92,13 @@ public function __construct($db, $outputLangs = false) { global $langs; $this->db = $db; + $this->form = new Form($this->db); $this->formAttributes['action'] = $_SERVER["PHP_SELF"]; $this->formHiddenInputs['token'] = newToken(); $this->formHiddenInputs['action'] = 'update'; - if ($outputLangs) { $this->langs = $outputLangs; } else { @@ -664,6 +664,7 @@ public function __construct($confKey) /** * load conf value from databases + * * @return bool */ public function loadValueFromConf() @@ -680,6 +681,7 @@ public function loadValueFromConf() /** * reload conf value from databases is an aliase of loadValueFromConf + * * @deprecated * @return bool */ @@ -740,6 +742,7 @@ public function setSaveCallBack(callable $callBack) /** * Set an override function for get data from post + * * @param callable $callBack a callable function * @return void */ @@ -750,7 +753,8 @@ public function setValueFromPostCallBack(callable $callBack) /** * Save const value based on htdocs/core/actions_setmoduleoptions.inc.php - * @return int -1 if KO, 0 nothing to do , 1 if OK + * + * @return int -1 if KO, 0 nothing to do , 1 if OK */ public function setValueFromPost() { @@ -790,6 +794,7 @@ public function setValueFromPost() /** * Get help text or generate it + * * @return int|string */ public function getHelpText() @@ -800,6 +805,7 @@ public function getHelpText() /** * Get field name text or generate it + * * @return false|int|string */ public function getNameText() @@ -810,6 +816,7 @@ public function getNameText() /** * generate input field + * * @return bool|string */ public function generateInputField() @@ -880,6 +887,7 @@ public function generateInputField() /** * generatec default input field + * * @return string */ public function generateInputFieldText() @@ -890,6 +898,7 @@ public function generateInputFieldText() /** * generate input field for textarea + * * @return string */ public function generateInputFieldTextarea() @@ -902,6 +911,7 @@ public function generateInputFieldTextarea() /** * generate input field for html + * * @return string */ public function generateInputFieldHtml() @@ -918,14 +928,14 @@ public function generateInputFieldHtml() */ public function generateInputFieldCategories() { - global $conf; require_once DOL_DOCUMENT_ROOT.'/categories/class/categorie.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/class/html.formother.class.php'; $formother = new FormOther($this->db); $tmp = explode(':', $this->type); - $out= img_picto('', 'category', 'class="pictofixedwidth"'); - $out.= $formother->select_categories($tmp[1], $this->fieldValue, $this->confKey, 0, $this->langs->trans('CustomersProspectsCategoriesShort')); + $out = img_picto('', 'category', 'class="pictofixedwidth"'); + $out .= $formother->select_categories($tmp[1], $this->fieldValue, $this->confKey, 0, $this->langs->trans('CustomersProspectsCategoriesShort')); + return $out; } @@ -935,7 +945,8 @@ public function generateInputFieldCategories() */ public function generateInputFieldEmailTemplate() { - global $conf, $user; + global $user; + $out = ''; if (preg_match('/emailtemplate:/', $this->type)) { include_once DOL_DOCUMENT_ROOT . '/core/class/html.formmail.class.php'; @@ -963,6 +974,7 @@ public function generateInputFieldEmailTemplate() /** * generate input field for secure key + * * @return string */ public function generateInputFieldSecureKey() @@ -982,6 +994,8 @@ public function generateInputFieldSecureKey() /** + * generateInputFieldMultiSelect + * * @return string */ public function generateInputFieldMultiSelect() @@ -996,6 +1010,8 @@ public function generateInputFieldMultiSelect() /** + * generateInputFieldSelect + * * @return string */ public function generateInputFieldSelect() @@ -1087,9 +1103,9 @@ public function generateOutputField() $out.= $this->generateOutputFieldSelect(); } elseif ($this->type == 'selectUser') { $out.= $this->generateOutputFieldSelectUser(); - } elseif ($this->type== 'html') { + } elseif ($this->type == 'html') { $out.= $this->fieldValue; - } elseif ($this->type== 'color') { + } elseif ($this->type == 'color') { $out.= $this->generateOutputFieldColor(); } elseif ($this->type == 'yesno') { if (!empty($conf->use_javascript_ajax)) { diff --git a/htdocs/core/class/html.formticket.class.php b/htdocs/core/class/html.formticket.class.php index 5a1823c03c081..b1437575617be 100644 --- a/htdocs/core/class/html.formticket.class.php +++ b/htdocs/core/class/html.formticket.class.php @@ -1576,7 +1576,7 @@ public function showMessageForm($width = '40%') // Attached files if (!empty($this->withfile)) { $out = ''; - $out .= ''.$langs->trans("MailFile").''; + $out .= ''.$langs->trans("MailFile").''; $out .= ''; // TODO Trick to have param removedfile containing nb of image to delete. But this does not works without javascript $out .= ''."\n"; @@ -1662,7 +1662,7 @@ public function showMessageForm($width = '40%') //$toolbarname = 'dolibarr_details'; $toolbarname = 'dolibarr_notes'; include_once DOL_DOCUMENT_ROOT.'/core/class/doleditor.class.php'; - $doleditor = new DolEditor('message', $defaultmessage, '100%', 200, $toolbarname, '', false, $uselocalbrowser, getDolGlobalInt('FCKEDITOR_ENABLE_SOCIETE'), ROWS_5, 70); + $doleditor = new DolEditor('message', $defaultmessage, '100%', 200, $toolbarname, '', false, $uselocalbrowser, getDolGlobalInt('FCKEDITOR_ENABLE_TICKET'), ROWS_5, '90%'); $doleditor->Create(); print ''; @@ -1682,7 +1682,7 @@ public function showMessageForm($width = '40%') print ''; - print '

'; + print '
'; print 'withfile == 2 && !empty($conf->use_javascript_ajax)) { @@ -1697,7 +1697,7 @@ public function showMessageForm($width = '40%') print ''."\n"; - print "\n"; + print "
\n"; // Disable enter key if option MAIN_MAILFORM_DISABLE_ENTERKEY is set if (!empty($conf->global->MAIN_MAILFORM_DISABLE_ENTERKEY)) { diff --git a/htdocs/core/class/html.formwebsite.class.php b/htdocs/core/class/html.formwebsite.class.php index 632d751fa41c2..2f54c791c2457 100644 --- a/htdocs/core/class/html.formwebsite.class.php +++ b/htdocs/core/class/html.formwebsite.class.php @@ -282,7 +282,7 @@ public function selectContainer($website, $htmlname = 'pageid', $pageid = 0, $sh } if ($website->fk_default_home && $key == $website->fk_default_home) { //$valueforoption .= ' ('.$langs->trans("HomePage").')'; - $valueforoption .= ' '; + $valueforoption .= ' '; } $out .= '
'; + print ''; + } print dol_get_fiche_end(); diff --git a/htdocs/fourn/facture/list.php b/htdocs/fourn/facture/list.php index 89db6a75f1340..eee60031d466b 100644 --- a/htdocs/fourn/facture/list.php +++ b/htdocs/fourn/facture/list.php @@ -13,6 +13,7 @@ * Copyright (C) 2018-2022 Charlene Benke * Copyright (C) 2018-2020 Frédéric France * Copyright (C) 2019-2021 Alexandre Spangaro + * Copyright (C) 2023 Nick Fragoulis * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -45,6 +46,7 @@ require_once DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/company.lib.php'; require_once DOL_DOCUMENT_ROOT.'/projet/class/project.class.php'; +require_once DOL_DOCUMENT_ROOT.'/core/class/discount.class.php'; // Load translation files required by the page $langs->loadLangs(array('products', 'bills', 'companies', 'projects')); @@ -58,15 +60,6 @@ $contextpage = GETPOST('contextpage', 'aZ') ?GETPOST('contextpage', 'aZ') : 'supplierinvoicelist'; $mode = GETPOST('mode', 'aZ'); // The output mode ('list', 'kanban', 'hierarchy', 'calendar', ...) -$socid = GETPOST('socid', 'int'); - -// Security check -if ($user->socid > 0) { - $action = ''; - $_GET["action"] = ''; - $socid = $user->socid; -} - $search_all = trim((GETPOST('search_all', 'alphanohtml') != '') ?GETPOST('search_all', 'alphanohtml') : GETPOST('sall', 'alphanohtml')); $search_label = GETPOST("search_label", "alpha"); $search_amount_no_tax = GETPOST("search_amount_no_tax", "alpha"); @@ -74,6 +67,7 @@ $search_ref = GETPOST('sf_ref') ?GETPOST('sf_ref', 'alpha') : GETPOST('search_ref', 'alpha'); $search_refsupplier = GETPOST('search_refsupplier', 'alpha'); $search_type = GETPOST('search_type', 'int'); +$search_subtype = GETPOST('search_subtype', 'int'); $search_project = GETPOST('search_project', 'alpha'); $search_company = GETPOST('search_company', 'alpha'); $search_company_alias = GETPOST('search_company_alias', 'alpha'); @@ -129,14 +123,23 @@ $page = 0; } $offset = $limit * $page; -$pageprev = $page - 1; -$pagenext = $page + 1; if (!$sortorder) { $sortorder = "DESC"; } if (!$sortfield) { $sortfield = "f.datef,f.rowid"; } +$pageprev = $page - 1; +$pagenext = $page + 1; + +$socid = GETPOST('socid', 'int'); + +// Security check +if ($user->socid > 0) { + $action = ''; + $_GET["action"] = ''; + $socid = $user->socid; +} $diroutputmassaction = $conf->fournisseur->facture->dir_output.'/temp/massgeneration/'.$user->id; @@ -158,6 +161,7 @@ 'f.ref_supplier'=>'RefSupplier', 'f.note_public'=>'NotePublic', 's.nom'=>"ThirdParty", + 's.code_fournisseur'=>"SupplierCodeShort", 'pd.description'=>'Description', ); if (empty($user->socid)) { @@ -169,6 +173,7 @@ 'f.ref'=>array('label'=>"Ref", 'checked'=>1), 'f.ref_supplier'=>array('label'=>"RefSupplier", 'checked'=>1), 'f.type'=>array('label'=>"Type", 'checked'=>0), + 'f.subtype'=>array('label'=>"InvoiceSubtype", 'checked'=>0,), 'f.label'=>array('label'=>"Label", 'checked'=>0), 'f.datef'=>array('label'=>"DateInvoice", 'checked'=>1), 'f.date_lim_reglement'=>array('label'=>"DateDue", 'checked'=>1), @@ -180,8 +185,8 @@ 'state.nom'=>array('label'=>"StateShort", 'checked'=>0, 'position'=>45), 'country.code_iso'=>array('label'=>"Country", 'checked'=>0, 'position'=>46), 'typent.code'=>array('label'=>"ThirdPartyType", 'checked'=>$checkedtypetiers, 'position'=>49), - 'f.fk_cond_reglement'=>array('label'=>"PaymentTerm", 'checked'=>1, 'position'=>50), 'f.fk_mode_reglement'=>array('label'=>"PaymentMode", 'checked'=>1, 'position'=>52), + 'f.fk_cond_reglement'=>array('label'=>"PaymentConditionsShort", 'checked'=>1, 'position'=>50), 'f.total_ht'=>array('label'=>"AmountHT", 'checked'=>1, 'position'=>105), 'f.total_vat'=>array('label'=>"AmountVAT", 'checked'=>0, 'position'=>110), 'f.total_localtax1'=>array('label'=>$langs->transcountry("AmountLT1", $mysoc->country_code), 'checked'=>0, 'enabled'=>$mysoc->localtax1_assuj == "1", 'position'=>95), @@ -233,7 +238,7 @@ $massaction = ''; } -$parameters = array('socid'=>$socid); +$parameters = array('socid'=>$socid, 'arrayfields'=>&$arrayfields); $reshook = $hookmanager->executeHooks('doActions', $parameters, $object, $action); // Note that $action and $object may have been modified by some hooks if ($reshook < 0) { setEventMessages($hookmanager->error, $hookmanager->errors, 'errors'); @@ -252,6 +257,7 @@ $search_ref = ""; $search_refsupplier = ""; $search_type = ""; + $search_subtype = ''; $search_label = ""; $search_project = ''; $search_company = ""; @@ -275,7 +281,6 @@ $search_town = ''; $search_zip = ""; $search_state = ""; - $search_type = ''; $search_country = ''; $search_type_thirdparty = ''; $search_date_start = ''; @@ -395,7 +400,7 @@ $facturestatic = new FactureFournisseur($db); $formcompany = new FormCompany($db); $thirdparty = new Societe($db); - +$subtypearray = $object->getArrayOfInvoiceSubtypes(0); $now = dol_now(); $title = $langs->trans("BillsSuppliers").($socid ? ' '.$soc->name : ''); @@ -407,8 +412,8 @@ if ($search_all) { $sql = 'SELECT DISTINCT'; } -$sql .= " f.rowid as facid, f.ref, f.ref_supplier, f.type, f.datef, f.date_lim_reglement as datelimite, f.fk_mode_reglement, f.fk_cond_reglement,"; -$sql .= " f.total_ht, f.total_ttc, f.total_tva as total_vat, f.paye as paye, f.fk_statut as fk_statut, f.libelle as label, f.datec as date_creation, f.tms as date_update,"; +$sql .= " f.rowid as facid, f.ref, f.ref_supplier, f.type, f.subtype, f.datef, f.date_lim_reglement as datelimite, f.fk_mode_reglement, f.fk_cond_reglement,"; +$sql .= " f.total_ht, f.total_ttc, f.total_tva as total_vat, f.paye as paye, f.close_code, f.fk_statut as fk_statut, f.libelle as label, f.datec as date_creation, f.tms as date_update,"; $sql .= " f.localtax1 as total_localtax1, f.localtax2 as total_localtax2,"; $sql .= ' f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva as multicurrency_total_vat, f.multicurrency_total_ttc,'; $sql .= " f.note_public, f.note_private,"; @@ -464,7 +469,7 @@ } // Add table from hooks $parameters = array(); -$reshook = $hookmanager->executeHooks('printFieldListFrom', $parameters, $object); // Note that $action and $object may have been modified by hook +$reshook = $hookmanager->executeHooks('printFieldListFrom', $parameters, $object, $action); // Note that $action and $object may have been modified by hook $sql .= $hookmanager->resPrint; $sql .= ' WHERE f.fk_soc = s.rowid'; $sql .= ' AND f.entity IN ('.getEntity('facture_fourn').')'; @@ -503,6 +508,9 @@ //if ($search_type == '4') $sql.=" AND f.type = 4"; // proforma //if ($search_type == '5') $sql.=" AND f.type = 5"; // situation } +if ($search_subtype != '' && $search_subtype != '-1') { + $sql .= " AND f.subtype IN (".$db->sanitize($db->escape($search_subtype)).")"; +} if ($search_project) { $sql .= natural_search('p.ref', $search_project); } @@ -562,7 +570,7 @@ $sql .= natural_search('f.multicurrency_total_ttc', $search_multicurrency_montant_ttc, 1); } if ($search_login) { - $sql .= natural_search(array('u.lastname', 'u.firstname', 'u.login'), $search_login); + $sql .= natural_search(array('u.login', 'u.lastname', 'u.firstname'), $search_login); } if ($search_status != '' && $search_status >= 0) { $sql .= " AND f.fk_statut = ".((int) $search_status); @@ -672,8 +680,8 @@ $sql .= $hookmanager->resPrint; if (!$search_all) { - $sql .= " GROUP BY f.rowid, f.ref, f.ref_supplier, f.type, f.datef, f.date_lim_reglement, f.fk_mode_reglement, f.fk_cond_reglement,"; - $sql .= " f.total_ht, f.total_ttc, f.total_tva, f.paye, f.fk_statut, f.libelle, f.datec, f.tms,"; + $sql .= " GROUP BY f.rowid, f.ref, f.ref_supplier, f.type, f.subtype, f.datef, f.date_lim_reglement, f.fk_mode_reglement, f.fk_cond_reglement,"; + $sql .= " f.total_ht, f.total_ttc, f.total_tva, f.paye, f.close_code, f.fk_statut, f.libelle, f.datec, f.tms,"; $sql .= " f.localtax1, f.localtax2,"; $sql .= ' f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc,'; $sql .= " f.note_public, f.note_private,"; @@ -739,10 +747,10 @@ $num = $db->num_rows($resql); -if ($num == 1 && !empty($conf->global->MAIN_SEARCH_DIRECT_OPEN_IF_ONLY_ONE) && $search_all) { +// Direct jump if only one record found +if ($num == 1 && getDolGlobalInt('MAIN_SEARCH_DIRECT_OPEN_IF_ONLY_ONE') && $search_all && !$page) { $obj = $db->fetch_object($resql); $id = $obj->facid; - header("Location: ".DOL_URL_ROOT.'/fourn/facture/card.php?facid='.$id); exit; } @@ -812,6 +820,9 @@ if ($search_type != '') { $param .= '&search_type='.urlencode($search_type); } +if ($search_subtype != '') { + $param .= '&search_subtype='.urlencode($search_subtype); +} if ($search_label) { $param .= '&search_label='.urlencode($search_label); } @@ -863,6 +874,12 @@ if ($search_status >= 0) { $param .= "&search_status=".urlencode($search_status); } +if ($search_paymentmode) { + $param .= '&search_paymentmode='.urlencode($search_paymentmode); +} +if ($search_paymentcond) { + $param .= '&search_paymentcond='.urlencode($search_paymentcond); +} if ($show_files) { $param .= '&show_files='.urlencode($show_files); } @@ -932,6 +949,7 @@ print_barre_liste($title, $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, $massactionbutton, $num, $nbtotalofrecords, 'supplier_invoice', 0, $newcardbutton, '', $limit, 0, 0, 1); +// Add code for pre mass action (confirmation or email presend form) $topicmail = "SendBillRef"; $modelmail = "invoice_supplier_send"; $objecttmp = new FactureFournisseur($db); @@ -992,11 +1010,14 @@ if (!empty($moreforfilter)) { print '
'; print $moreforfilter; + $parameters = array(); + $reshook = $hookmanager->executeHooks('printFieldPreListTitle', $parameters, $object, $action); // Note that $action and $object may have been modified by hook + print $hookmanager->resPrint; print '
'; } $varpage = empty($contextpage) ? $_SERVER["PHP_SELF"] : $contextpage; -$selectedfields = $form->multiSelectArrayWithCheckbox('selectedfields', $arrayfields, $varpage, getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')); // This also change content of $arrayfields +$selectedfields = ($mode != 'kanban' ? $form->multiSelectArrayWithCheckbox('selectedfields', $arrayfields, $varpage, getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN', '')) : ''); // This also change content of $arrayfields $selectedfields .= (count($arrayofmassactions) ? $form->showCheckAddButtons('checkforselect', 1) : ''); print '
'; @@ -1042,6 +1063,12 @@ //$listtype[Facture::TYPE_PROFORMA]=$langs->trans("InvoiceProForma"); // A proformat invoice is not an invoice but must be an order. print $form->selectarray('search_type', $listtype, $search_type, 1, 0, 0, '', 0, 0, 0, 'ASC', 'maxwidth100'); print ''; +} + // Invoice Subtype +if (!empty($arrayfields['f.subtype']['checked'])) { + print ''; + print $form->selectarray('search_subtype', $subtypearray, $search_subtype, 1, 0, 0, '', 0, 0, 0, '', 'maxwidth100'); + print ''; } // Label if (!empty($arrayfields['f.label']['checked'])) { @@ -1093,12 +1120,12 @@ } // Zip if (!empty($arrayfields['s.zip']['checked'])) { - print ''; + print ''; } // State if (!empty($arrayfields['state.nom']['checked'])) { print ''; - print ''; + print ''; print ''; } // Country @@ -1121,7 +1148,7 @@ } // Payment mode if (!empty($arrayfields['f.fk_mode_reglement']['checked'])) { - print ''; + print ''; print $form->select_types_paiements($search_paymentmode, 'search_paymentmode', '', 0, 1, 1, 20, 1, 'maxwidth100', 1); print ''; } @@ -1252,8 +1279,9 @@ // Fields title label // -------------------------------------------------------------------- print ''; +// Action column if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { - print_liste_field_titre($selectedfields, $_SERVER["PHP_SELF"], "", '', '', '', $sortfield, $sortorder, 'center maxwidthsearch '); + print getTitleFieldOfList($selectedfields, 0, $_SERVER["PHP_SELF"], '', '', '', '', $sortfield, $sortorder, 'center maxwidthsearch ')."\n"; $totalarray['nbfield']++; } if (!empty($arrayfields['f.ref']['checked'])) { @@ -1268,6 +1296,9 @@ print_liste_field_titre($arrayfields['f.type']['label'], $_SERVER["PHP_SELF"], 'f.type', '', $param, '', $sortfield, $sortorder); $totalarray['nbfield']++; } +if (!empty($arrayfields['f.subtype']['checked'])) { + print_liste_field_titre($arrayfields['f.subtype']['label'], $_SERVER["PHP_SELF"], 'f.subtype', '', $param, '', $sortfield, $sortorder); +} if (!empty($arrayfields['f.label']['checked'])) { print_liste_field_titre($arrayfields['f.label']['label'], $_SERVER['PHP_SELF'], "f.libelle,f.rowid", '', $param, '', $sortfield, $sortorder); $totalarray['nbfield']++; @@ -1346,6 +1377,7 @@ } if (!empty($arrayfields['f.nb_docs']['checked'])) { print_liste_field_titre($arrayfields['f.nb_docs']['label'], $_SERVER['PHP_SELF'], '', '', $param, '', $sortfield, $sortorder, 'right '); + $totalarray['nbfield']++; } if (!empty($arrayfields['u.login']['checked'])) { print_liste_field_titre($arrayfields['u.login']['label'], $_SERVER["PHP_SELF"], 'u.login', '', $param, 'align="center"', $sortfield, $sortorder); @@ -1405,16 +1437,18 @@ print_liste_field_titre($arrayfields['f.fk_statut']['label'], $_SERVER["PHP_SELF"], "fk_statut,paye,type", "", $param, '', $sortfield, $sortorder, 'right '); $totalarray['nbfield']++; } +// Action column if (!getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { - print_liste_field_titre($selectedfields, $_SERVER["PHP_SELF"], "", '', '', '', $sortfield, $sortorder, 'center maxwidthsearch '); + print getTitleFieldOfList($selectedfields, 0, $_SERVER["PHP_SELF"], '', '', '', '', $sortfield, $sortorder, 'center maxwidthsearch ')."\n"; $totalarray['nbfield']++; } -print "\n"; +print ''."\n"; $facturestatic = new FactureFournisseur($db); $supplierstatic = new Fournisseur($db); $projectstatic = new Project($db); $userstatic = new User($db); +$discount = new DiscountAbsolute($db); // Loop on record // -------------------------------------------------------------------- @@ -1450,13 +1484,18 @@ $userstatic->user_mobile = $obj->user_mobile; $userstatic->job = $obj->job; $userstatic->gender = $obj->gender; - $facturestatic->id = $obj->facid; $facturestatic->ref = $obj->ref; $facturestatic->type = $obj->type; + $facturestatic->subtype = $obj->subtype; + $facturestatic->total_ht = $obj->total_ht; + $facturestatic->total_tva = $obj->total_vat; + $facturestatic->total_ttc = $obj->total_ttc; + $facturestatic->close_code = $obj->close_code; $facturestatic->ref_supplier = $obj->ref_supplier; $facturestatic->date_echeance = $db->jdate($obj->datelimite); $facturestatic->statut = $obj->fk_statut; + $facturestatic->status = $obj->fk_statut; $facturestatic->note_public = $obj->note_public; $facturestatic->note_private = $obj->note_private; $facturestatic->multicurrency_code = $obj->multicurrency_code; @@ -1464,7 +1503,6 @@ $facturestatic->multicurrency_total_ht = $obj->multicurrency_total_ht; $facturestatic->multicurrency_total_tva = $obj->multicurrency_total_vat; $facturestatic->multicurrency_total_ttc = $obj->multicurrency_total_ttc; - $thirdparty->id = $obj->socid; $thirdparty->name = $obj->name; $thirdparty->name_alias = $obj->alias; @@ -1482,18 +1520,35 @@ $totaldeposits = $facturestatic->getSumDepositsUsed(); $totalpay = $paiement + $totalcreditnotes + $totaldeposits; $remaintopay = $obj->total_ttc - $totalpay; + $multicurrency_paiement = $facturestatic->getSommePaiement(1); $multicurrency_totalcreditnotes = $facturestatic->getSumCreditNotesUsed(1); $multicurrency_totaldeposits = $facturestatic->getSumDepositsUsed(1); + + $totalpay = $paiement + $totalcreditnotes + $totaldeposits; + $remaintopay = price2num($facturestatic->total_ttc - $totalpay); + $multicurrency_totalpay = $multicurrency_paiement + $multicurrency_totalcreditnotes + $multicurrency_totaldeposits; $multicurrency_remaintopay = price2num($facturestatic->multicurrency_total_ttc - $multicurrency_totalpay); + if ($facturestatic->status == FactureFournisseur::STATUS_CLOSED && $facturestatic->close_code == 'discount_vat') { // If invoice closed with discount for anticipated payment + $remaintopay = 0; + $multicurrency_remaintopay = 0; + } + if ($facturestatic->type == FactureFournisseur::TYPE_CREDIT_NOTE && $obj->paye == 1) { // If credit note closed, we take into account the amount not yet consumed + $remaincreditnote = $discount->getAvailableDiscounts($thirdparty, '', 'rc.fk_facture_source='.$facturestatic->id); + $remaintopay = -$remaincreditnote; + $totalpay = price2num($facturestatic->total_ttc - $remaintopay); + $multicurrency_remaincreditnote = $discount->getAvailableDiscounts($thirdparty, '', 'rc.fk_facture_source='.$facturestatic->id, 0, 0, 1); + $multicurrency_remaintopay = -$multicurrency_remaincreditnote; + $multicurrency_totalpay = price2num($facturestatic->multicurrency_total_ttc - $multicurrency_remaintopay); + } + $facturestatic->alreadypaid = ($paiement ? $paiement : 0); + $facturestatic->paye = $obj->paye; - $facturestatic->statut = $obj->fk_statut; - $facturestatic->type = $obj->type; $facturestatic->socid = $thirdparty->getNomUrl(1, 'supplier', 3); - $facturestatic->total_ht = $obj->total_ht; + $facturestatic->date = $db->jdate($obj->datef); $object = $facturestatic; @@ -1518,7 +1573,7 @@ } } - $arraydata = array('alreadypaid' => $paiement, 'thirdparty' => $thirdparty->getNomUrl(1, '', 12)); + $arraydata = array('alreadypaid' => $paiement, 'thirdparty' => $thirdparty->getNomUrl(1, '', 12), 'selected' => in_array($object->id, $arrayofselected)); print $facturestatic->getKanbanView('', $arraydata); if ($i == ($imaxinloop - 1)) { print '
'; @@ -1584,6 +1639,20 @@ } } + // Invoice Subtype + if (!empty($arrayfields['f.subtype']['checked'])) { + $labeltoshow = ''; + if ($facturestatic->subtype > 0) { + $labeltoshow = $facturestatic->getSubtypeLabel('facture_fourn'); + } + print ''; + print $labeltoshow; + print ""; + if (!$i) { + $totalarray['nbfield']++; + } + } + // Label if (!empty($arrayfields['f.label']['checked'])) { print ''; @@ -1725,8 +1794,6 @@ print ''.price($obj->total_ht)."\n"; if (!$i) { $totalarray['nbfield']++; - } - if (!$i) { $totalarray['pos'][$totalarray['nbfield']] = 'f.total_ht'; } $totalarray['val']['f.total_ht'] += $obj->total_ht; @@ -1736,8 +1803,6 @@ print ''.price($obj->total_vat)."\n"; if (!$i) { $totalarray['nbfield']++; - } - if (!$i) { $totalarray['pos'][$totalarray['nbfield']] = 'f.total_vat'; } $totalarray['val']['f.total_vat'] += $obj->total_vat; @@ -1747,8 +1812,6 @@ print ''.price($obj->total_localtax1)."\n"; if (!$i) { $totalarray['nbfield']++; - } - if (!$i) { $totalarray['pos'][$totalarray['nbfield']] = 'f.total_localtax1'; } $totalarray['val']['f.total_localtax1'] += $obj->total_localtax1; @@ -1758,8 +1821,6 @@ print ''.price($obj->total_localtax2)."\n"; if (!$i) { $totalarray['nbfield']++; - } - if (!$i) { $totalarray['pos'][$totalarray['nbfield']] = 'f.total_localtax2'; } $totalarray['val']['f.total_localtax2'] += $obj->total_localtax2; @@ -1769,8 +1830,6 @@ print ''.price($obj->total_ttc)."\n"; if (!$i) { $totalarray['nbfield']++; - } - if (!$i) { $totalarray['pos'][$totalarray['nbfield']] = 'f.total_ttc'; } $totalarray['val']['f.total_ttc'] += $obj->total_ttc; @@ -1785,6 +1844,9 @@ $nbLinks = Link::count($db, $facturestatic->element, $facturestatic->id); $nbTotal = $nbFiles + $nbLinks; echo ''.(empty($nbTotal)? '':$nbTotal).''; + if (!$i) { + $totalarray['nbfield']++; + } } // Author @@ -1805,8 +1867,6 @@ print ''.(!empty($totalpay) ?price($totalpay, 0, $langs) : '').''; // TODO Use a denormalized field if (!$i) { $totalarray['nbfield']++; - } - if (!$i) { $totalarray['pos'][$totalarray['nbfield']] = 'totalam'; } $totalarray['val']['totalam'] += $totalpay; @@ -1816,8 +1876,6 @@ print ''.(!empty($remaintopay) ?price($remaintopay, 0, $langs) : ' ').''; // TODO Use a denormalized field if (!$i) { $totalarray['nbfield']++; - } - if (!$i) { $totalarray['pos'][$totalarray['nbfield']] = 'rtp'; } $totalarray['val']['rtp'] += $remaintopay; @@ -1961,21 +2019,26 @@ print ''."\n"; -$hidegeneratedfilelistifempty = 1; -if ($massaction == 'builddoc' || $action == 'remove_file' || $show_files) { - $hidegeneratedfilelistifempty = 0; -} +if (in_array('builddoc', $arrayofmassactions) && ($nbtotalofrecords === '' || $nbtotalofrecords)) { + $hidegeneratedfilelistifempty = 1; + if ($massaction == 'builddoc' || $action == 'remove_file' || $show_files) { + $hidegeneratedfilelistifempty = 0; + } -// Show list of available documents -$urlsource = $_SERVER['PHP_SELF'].'?sortfield='.$sortfield.'&sortorder='.$sortorder; -$urlsource .= str_replace('&', '&', $param); + require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php'; + $formfile = new FormFile($db); -$filedir = $diroutputmassaction; -$genallowed = $user->hasRight('facture', 'lire'); -$delallowed = $user->hasRight('facture', 'creer'); -$title = ''; + // Show list of available documents + $urlsource = $_SERVER['PHP_SELF'].'?sortfield='.$sortfield.'&sortorder='.$sortorder; + $urlsource .= str_replace('&', '&', $param); -print $formfile->showdocuments('massfilesarea_supplier_invoice', '', $filedir, $urlsource, 0, $delallowed, '', 1, 1, 0, 48, 1, $param, $title, '', '', '', null, $hidegeneratedfilelistifempty); + $filedir = $diroutputmassaction; + $genallowed = $permissiontoread; + $delallowed = $permissiontoadd; + $title = ''; + + print $formfile->showdocuments('massfilesarea_supplier_invoice', '', $filedir, $urlsource, 0, $delallowed, '', 1, 1, 0, 48, 1, $param, $title, '', '', '', null, $hidegeneratedfilelistifempty); +} // End of page llxFooter(); diff --git a/htdocs/fourn/js/lib_dispatch.js.php b/htdocs/fourn/js/lib_dispatch.js.php index d8df7dc2da88b..1b4b799fc8fa3 100644 --- a/htdocs/fourn/js/lib_dispatch.js.php +++ b/htdocs/fourn/js/lib_dispatch.js.php @@ -125,7 +125,10 @@ function addDispatchLine(index, type, mode) { //create new select2 to avoid duplicate id of cloned one $row.find("select[name='" + 'entrepot_' + nbrTrs + '_' + index + "']").select2(); - // TODO find solution to copy selected option to new select + // Copy selected option to new select + let $prevRow = $("tr[name^='" + type + "_'][name$='_" + index + "']:last") + let $prevEntr = Number($prevRow.find("select[name='" + 'entrepot_' + (nbrTrs-1) + '_' + index + "']").val()) + $row.find("select[name='" + 'entrepot_' + nbrTrs + '_' + index + "']").val($prevEntr) // TODO find solution to keep new tr's after page refresh //clear value $row.find("input[name^='qty']").val(''); diff --git a/htdocs/ftp/index.php b/htdocs/ftp/index.php index b73748ecf2321..7d015cec2c38b 100644 --- a/htdocs/ftp/index.php +++ b/htdocs/ftp/index.php @@ -153,7 +153,7 @@ } // Action ajout d'un rep -if ($action == 'add' && $user->rights->ftp->setup) { +if ($action == 'add' && $user->hasRight('ftp', 'setup')) { $ecmdir = new EcmDirectory($db); $ecmdir->ref = GETPOST("ref"); $ecmdir->label = GETPOST("label"); @@ -658,7 +658,7 @@ while ($i <= $MAXFTP) { $paramkey = 'FTP_NAME_'.$i; //print $paramkey; - if (!empty($conf->global->$paramkey)) { + if (getDolGlobalString($paramkey)) { $foundsetup = true; break; } diff --git a/htdocs/holiday/card.php b/htdocs/holiday/card.php index c06467d1d2483..4981f59bdf14e 100644 --- a/htdocs/holiday/card.php +++ b/htdocs/holiday/card.php @@ -80,10 +80,10 @@ // Check current user can read this leave request $canread = 0; - if (!empty($user->rights->holiday->readall)) { + if ($user->hasRight('holiday', 'readall')) { $canread = 1; } - if (!empty($user->rights->holiday->read) && in_array($object->fk_user, $childids)) { + if ($user->hasRight('holiday', 'read') && in_array($object->fk_user, $childids)) { $canread = 1; } if (!$canread) { @@ -96,19 +96,19 @@ $cancreate = 0; $cancreateall = 0; -if (!empty($user->rights->holiday->write) && in_array($fuserid, $childids)) { +if ($user->hasRight('holiday', 'write') && in_array($fuserid, $childids)) { $cancreate = 1; } -if (!empty($user->rights->holiday->writeall)) { +if ($user->hasRight('holiday', 'writeall')) { $cancreate = 1; $cancreateall = 1; } $candelete = 0; -if (!empty($user->rights->holiday->delete)) { +if ($user->hasRight('holiday', 'delete')) { $candelete = 1; } -if ($object->statut == Holiday::STATUS_DRAFT && $user->rights->holiday->write && in_array($object->fk_user, $childids)) { +if ($object->statut == Holiday::STATUS_DRAFT && $user->hasRight('holiday', 'write') && in_array($object->fk_user, $childids)) { $candelete = 1; } @@ -189,7 +189,7 @@ // Check that leave is for a user inside the hierarchy or advanced permission for all is set if (!$cancreateall) { if (empty($conf->global->MAIN_USE_ADVANCED_PERMS)) { - if (empty($user->rights->holiday->write)) { + if (!$user->hasRight('holiday', 'write')) { $error++; setEventMessages($langs->trans("NotEnoughPermissions"), null, 'errors'); } elseif (!in_array($fuserid, $childids)) { @@ -198,10 +198,10 @@ $action = 'create'; } } else { - if (empty($user->rights->holiday->write) && empty($user->rights->holiday->writeall_advance)) { + if (!$user->hasRight('holiday', 'write') && !$user->hasRight('holiday', 'writeall_advance')) { $error++; setEventMessages($langs->trans("NotEnoughPermissions"), null, 'errors'); - } elseif (empty($user->rights->holiday->writeall_advance) && !in_array($fuserid, $childids)) { + } elseif (!$user->hasRight('holiday', 'writeall_advance') && !in_array($fuserid, $childids)) { $error++; setEventMessages($langs->trans("UserNotInHierachy"), null, 'errors'); $action = 'create'; @@ -301,10 +301,10 @@ } // If this is an update and we are an approver, we can update to change the expected approver with another one (including himself) - if ($action == 'update' && GETPOSTISSET('savevalidator') && !empty($user->rights->holiday->approve)) { + if ($action == 'update' && GETPOSTISSET('savevalidator') && $user->hasRight('holiday', 'approve')) { $object->fetch($id); - $object->oldcopy = dol_clone($object); + $object->oldcopy = dol_clone($object, 2); $object->fk_validator = GETPOST('valideur', 'int'); @@ -463,7 +463,7 @@ // If draft and owner of leave if ($object->statut == Holiday::STATUS_DRAFT && $cancreate) { - $object->oldcopy = dol_clone($object); + $object->oldcopy = dol_clone($object, 2); $object->statut = Holiday::STATUS_VALIDATED; @@ -571,7 +571,7 @@ } if ($action == 'update_extras') { - $object->oldcopy = dol_clone($object); + $object->oldcopy = dol_clone($object, 2); // Fill array 'array_options' with data from update form $ret = $extrafields->setOptionalsFromPost(null, $object, GETPOST('attribute', 'restricthtml')); @@ -599,7 +599,7 @@ // If status is waiting approval and approver is also user if ($object->statut == Holiday::STATUS_VALIDATED && $user->id == $object->fk_validator) { - $object->oldcopy = dol_clone($object); + $object->oldcopy = dol_clone($object, 2); $object->date_approval = dol_now(); $object->fk_user_approve = $user->id; @@ -957,7 +957,7 @@ if ((empty($id) && empty($ref)) || $action == 'create' || $action == 'add') { // If user has no permission to create a leave - if ((in_array($fuserid, $childids) && empty($user->rights->holiday->write)) || (!in_array($fuserid, $childids) && ((!empty($conf->global->MAIN_USE_ADVANCED_PERMS) && empty($user->rights->holiday->writeall_advance) || empty($user->rights->holiday->writeall))))) { + if ((in_array($fuserid, $childids) && !$user->hasRight('holiday', 'write')) || (!in_array($fuserid, $childids) && ((!empty($conf->global->MAIN_USE_ADVANCED_PERMS) && !$user->hasRight('holiday', 'writeall_advance') || !$user->hasRight('holiday', 'writeall'))))) { $errors[] = $langs->trans('CantCreateCP'); } else { // Form to add a leave request diff --git a/htdocs/holiday/card_group.php b/htdocs/holiday/card_group.php index c67d055a7e2ca..68c8dc9fe1390 100644 --- a/htdocs/holiday/card_group.php +++ b/htdocs/holiday/card_group.php @@ -80,10 +80,10 @@ // Check current user can read this leave request $canread = 0; - if (!empty($user->rights->holiday->readall)) { + if ($user->hasRight('holiday', 'readall')) { $canread = 1; } - if (!empty($user->rights->holiday->read) && in_array($object->fk_user, $childids)) { + if ($user->hasRight('holiday', 'read') && in_array($object->fk_user, $childids)) { $canread = 1; } if (!$canread) { @@ -96,19 +96,19 @@ $cancreate = 0; $cancreateall = 0; -if (!empty($user->rights->holiday->write) && in_array($fuserid, $childids)) { +if ($user->hasRight('holiday', 'write') && in_array($fuserid, $childids)) { $cancreate = 1; } -if (!empty($user->rights->holiday->writeall)) { +if ($user->hasRight('holiday', 'writeall')) { $cancreate = 1; $cancreateall = 1; } $candelete = 0; -if (!empty($user->rights->holiday->delete)) { +if ($user->hasRight('holiday', 'delete')) { $candelete = 1; } -if ($object->statut == Holiday::STATUS_DRAFT && $user->rights->holiday->write && in_array($object->fk_user, $childids)) { +if ($object->statut == Holiday::STATUS_DRAFT && $user->hasRight('holiday', 'write') && in_array($object->fk_user, $childids)) { $candelete = 1; } @@ -189,7 +189,7 @@ // Check that leave is for a user inside the hierarchy or advanced permission for all is set if (!$cancreateall) { if (empty($conf->global->MAIN_USE_ADVANCED_PERMS)) { - if (empty($user->rights->holiday->write)) { + if (!$user->hasRight('holiday', 'write')) { $error++; setEventMessages($langs->trans("NotEnoughPermissions"), null, 'errors'); } elseif (!in_array($fuserid, $childids)) { @@ -198,10 +198,10 @@ $action = 'create'; } } else { - if (empty($user->rights->holiday->write) && empty($user->rights->holiday->writeall_advance)) { + if (!$user->hasRight('holiday', 'write') && !$user->hasRight('holiday', 'writeall_advance')) { $error++; setEventMessages($langs->trans("NotEnoughPermissions"), null, 'errors'); - } elseif (empty($user->rights->holiday->writeall_advance) && !in_array($fuserid, $childids)) { + } elseif (!$user->hasRight('holiday', 'writeall_advance') && !in_array($fuserid, $childids)) { $error++; setEventMessages($langs->trans("UserNotInHierachy"), null, 'errors'); $action = 'create'; @@ -373,7 +373,7 @@ if ((empty($id) && empty($ref)) || $action == 'create' || $action == 'add') { // If user has no permission to create a leave - if ((in_array($fuserid, $childids) && empty($user->rights->holiday->writeall)) || (!in_array($fuserid, $childids) && (empty($conf->global->MAIN_USE_ADVANCED_PERMS) || empty($user->rights->holiday->writeall_advance)))) { + if ((in_array($fuserid, $childids) && !$user->hasRight('holiday', 'writeall')) || (!in_array($fuserid, $childids) && (empty($conf->global->MAIN_USE_ADVANCED_PERMS) || !$user->hasRight('holiday', 'writeall_advance')))) { $errors[] = $langs->trans('CantCreateCP'); } else { // Form to add a leave request @@ -681,7 +681,7 @@ function sendMail($id, $cancreate, $now, $autoValidation) if ($result) { // If draft and owner of leave if ($object->statut == Holiday::STATUS_VALIDATED && $cancreate) { - $object->oldcopy = dol_clone($object); + $object->oldcopy = dol_clone($object, 2); //if ($autoValidation) $object->statut = Holiday::STATUS_VALIDATED; diff --git a/htdocs/holiday/class/holiday.class.php b/htdocs/holiday/class/holiday.class.php index 8410a6175a35f..2694b46cab6b1 100644 --- a/htdocs/holiday/class/holiday.class.php +++ b/htdocs/holiday/class/holiday.class.php @@ -191,7 +191,7 @@ public function getNextNumRef($objsoc) if (!empty($conf->global->HOLIDAY_ADDON)) { $mybool = false; - $file = $conf->global->HOLIDAY_ADDON.".php"; + $file = getDolGlobalString('HOLIDAY_ADDON') . ".php"; $classname = $conf->global->HOLIDAY_ADDON; // Include file with class @@ -787,6 +787,12 @@ public function validate($user = null, $notrigger = 0) $error++; $this->error = $this->db->lasterror(); } + $sql = 'UPDATE '.MAIN_DB_PREFIX."ecm_files set filepath = 'holiday/".$this->db->escape($this->newref)."'"; + $sql .= " WHERE filepath = 'holiday/".$this->db->escape($this->ref)."' and entity = ".$conf->entity; + $resql = $this->db->query($sql); + if (!$resql) { + $error++; $this->error = $this->db->lasterror(); + } // We rename directory ($this->ref = old ref, $num = new ref) in order not to lose the attachments $oldref = dol_sanitizeFileName($this->ref); @@ -1479,10 +1485,10 @@ public function LibStatut($status, $mode = 0, $startdate = '') $statusType = 'status1'; } if ($status == self::STATUS_CANCELED) { - $statusType = 'status5'; + $statusType = 'status9'; } if ($status == self::STATUS_REFUSED) { - $statusType = 'status5'; + $statusType = 'status9'; } return dolGetStatus($this->labelStatus[$status], $this->labelStatusShort[$status], '', $statusType, $mode, '', $params); @@ -2299,21 +2305,9 @@ public function info($id) $this->date_validation = $this->db->jdate($obj->datev); $this->date_approval = $this->db->jdate($obj->datea); - if (!empty($obj->fk_user_creation)) { - $cuser = new User($this->db); - $cuser->fetch($obj->fk_user_creation); - $this->user_creation = $cuser; - } - if (!empty($obj->fk_user_valid)) { - $vuser = new User($this->db); - $vuser->fetch($obj->fk_user_valid); - $this->user_validation = $vuser; - } - if (!empty($obj->fk_user_modification)) { - $muser = new User($this->db); - $muser->fetch($obj->fk_user_modification); - $this->user_modification = $muser; - } + $this->user_creation_id = $obj->fk_user_creation; + $this->user_validation_id = $obj->fk_user_valid; + $this->user_modification_id = $obj->fk_user_modification; if ($obj->status == Holiday::STATUS_APPROVED || $obj->status == Holiday::STATUS_CANCELED) { if ($obj->fk_user_approval_done) { @@ -2373,7 +2367,7 @@ public function load_state_board() $sql .= " FROM ".MAIN_DB_PREFIX."holiday as h"; $sql .= " WHERE h.statut > 1"; $sql .= " AND h.entity IN (".getEntity('holiday').")"; - if (empty($user->rights->expensereport->readall)) { + if (!$user->hasRight('expensereport', 'readall')) { $userchildids = $user->getAllChildIds(1); $sql .= " AND (h.fk_user IN (".$this->db->sanitize(join(',', $userchildids)).")"; $sql .= " OR h.fk_validator IN (".$this->db->sanitize(join(',', $userchildids))."))"; @@ -2415,7 +2409,7 @@ public function load_board($user) $sql .= " FROM ".MAIN_DB_PREFIX."holiday as h"; $sql .= " WHERE h.statut = 2"; $sql .= " AND h.entity IN (".getEntity('holiday').")"; - if (empty($user->rights->expensereport->read_all)) { + if (!$user->hasRight('expensereport', 'read_all')) { $userchildids = $user->getAllChildIds(1); $sql .= " AND (h.fk_user IN (".$this->db->sanitize(join(',', $userchildids)).")"; $sql .= " OR h.fk_validator IN (".$this->db->sanitize(join(',', $userchildids))."))"; @@ -2467,7 +2461,9 @@ public function getKanbanView($option = '', $arraydata = null) $return .= ''; $return .= '
'; $return .= ''.$arraydata['user']->getNomUrl(-1).''; - $return .= ''; + if ($selected >= 0) { + $return .= ''; + } if (property_exists($this, 'fk_type')) { $return .= '
'; //$return .= ''.$langs->trans("Type").' : '; diff --git a/htdocs/holiday/define_holiday.php b/htdocs/holiday/define_holiday.php index 92b1c2eed2ea8..eabcec8147905 100644 --- a/htdocs/holiday/define_holiday.php +++ b/htdocs/holiday/define_holiday.php @@ -82,7 +82,7 @@ } // If the user does not have perm to read the page -if (empty($user->rights->holiday->read)) { +if (!$user->hasRight('holiday', 'read')) { accessforbidden(); } @@ -292,7 +292,7 @@ // Filter on array of ids of all childs $userchilds = array(); -if (empty($user->rights->holiday->readall)) { +if (!$user->hasRight('holiday', 'readall')) { $userchilds = $user->getAllChildIds(1); $filters .= ' AND u.rowid IN ('.$db->sanitize(join(', ', $userchilds)).')'; } @@ -320,7 +320,7 @@ //print '
'; } else { $canedit = 0; - if (!empty($user->rights->holiday->define_holiday)) { + if ($user->hasRight('holiday', 'define_holiday')) { $canedit = 1; } @@ -405,7 +405,7 @@ } } if (!empty($arrayfields['cp.note_public']['checked'])) { - print_liste_field_titre((empty($user->rights->holiday->define_holiday) ? '' : 'Note'), $_SERVER["PHP_SELF"]); + print_liste_field_titre((!$user->hasRight('holiday', 'define_holiday') ? '' : 'Note'), $_SERVER["PHP_SELF"]); } print_liste_field_titre(''); // Action column @@ -419,7 +419,7 @@ $arrayofselected = is_array($toselect) ? $toselect : array(); // If user has not permission to edit/read all, we must see only subordinates - if (empty($user->rights->holiday->readall)) { + if (!$user->hasRight('holiday', 'readall')) { if (($users['rowid'] != $user->id) && (!in_array($users['rowid'], $userchilds))) { continue; // This user is not into hierarchy of current user, we hide it. } @@ -504,7 +504,7 @@ // Button modify print ''; - if (!empty($user->rights->holiday->define_holiday)) { // Allowed to set the balance of any user + if ($user->hasRight('holiday', 'define_holiday')) { // Allowed to set the balance of any user print ''; } print ''."\n"; diff --git a/htdocs/holiday/document.php b/htdocs/holiday/document.php index c47b47634d729..fcd3c9c8e468d 100644 --- a/htdocs/holiday/document.php +++ b/htdocs/holiday/document.php @@ -83,10 +83,10 @@ // Check current user can read this leave request $canread = 0; - if (!empty($user->rights->holiday->readall)) { + if ($user->hasRight('holiday', 'readall')) { $canread = 1; } - if (!empty($user->rights->holiday->read) && in_array($object->fk_user, $childids)) { + if ($user->hasRight('holiday', 'read') && in_array($object->fk_user, $childids)) { $canread = 1; } if (!$canread) { diff --git a/htdocs/holiday/info.php b/htdocs/holiday/info.php index a1aea0720a55b..9ee82ea514dfc 100644 --- a/htdocs/holiday/info.php +++ b/htdocs/holiday/info.php @@ -55,10 +55,10 @@ // Check current user can read this leave request $canread = 0; - if (!empty($user->rights->holiday->readall)) { + if ($user->hasRight('holiday', 'readall')) { $canread = 1; } - if (!empty($user->rights->holiday->read) && in_array($object->fk_user, $childids)) { + if ($user->hasRight('holiday', 'read') && in_array($object->fk_user, $childids)) { $canread = 1; } if (!$canread) { diff --git a/htdocs/holiday/list.php b/htdocs/holiday/list.php index e333735490f9f..a21ce146dd9e2 100644 --- a/htdocs/holiday/list.php +++ b/htdocs/holiday/list.php @@ -352,7 +352,7 @@ $sql .= " AND cp.statut = '".$db->escape($search_status)."'\n"; } -if (empty($user->rights->holiday->readall)) { +if (!$user->hasRight('holiday', 'readall')) { $sql .= ' AND cp.fk_user IN ('.$db->sanitize(join(',', $childids)).')'; } if ($id > 0) { @@ -504,7 +504,7 @@ print dol_get_fiche_head($head, 'paidholidays', $title, -1, 'user'); - dol_banner_tab($fuser, 'id', $linkback, $user->rights->user->user->lire || $user->admin); + dol_banner_tab($fuser, 'id', $linkback, $user->hasRight('user', 'user', 'lire') || $user->admin); if (empty($conf->global->HOLIDAY_HIDE_BALANCE)) { print '
'; @@ -521,10 +521,10 @@ print '
'; $cancreate = 0; - if (!empty($user->rights->holiday->writeall)) { + if ($user->hasRight('holiday', 'writeall')) { $cancreate = 1; } - if (!empty($user->rights->holiday->write) && in_array($user_id, $childids)) { + if ($user->hasRight('holiday', 'write') && in_array($user_id, $childids)) { $cancreate = 1; } @@ -541,7 +541,7 @@ $newcardbutton .= dolGetButtonTitle($langs->trans('ViewList'), '', 'fa fa-bars imgforviewmode', $_SERVER["PHP_SELF"].'?mode=common'.preg_replace('/(&|\?)*mode=[^&]+/', '', $param), '', ((empty($mode) || $mode == 'common') ? 2 : 1), array('morecss'=>'reposition')); $newcardbutton .= dolGetButtonTitle($langs->trans('ViewKanban'), '', 'fa fa-th-list imgforviewmode', $_SERVER["PHP_SELF"].'?mode=kanban'.preg_replace('/(&|\?)*mode=[^&]+/', '', $param), '', ($mode == 'kanban' ? 2 : 1), array('morecss'=>'reposition')); $newcardbutton .= dolGetButtonTitleSeparator(); - $newcardbutton .= dolGetButtonTitle($langs->trans('MenuAddCP'), '', 'fa fa-plus-circle', DOL_URL_ROOT.'/holiday/card.php?action=create', '', $user->rights->holiday->write); + $newcardbutton .= dolGetButtonTitle($langs->trans('MenuAddCP'), '', 'fa fa-plus-circle', DOL_URL_ROOT.'/holiday/card.php?action=create', '', $user->hasRight('holiday', 'write')); print_barre_liste($title, $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, $massactionbutton, $num, $nbtotalofrecords, 'title_hrm', 0, $newcardbutton, '', $limit, 0, 0, 1); } @@ -586,7 +586,7 @@ $selectedfields .= (count($arrayofmassactions) ? $form->showCheckAddButtons('checkforselect', 1) : ''); $include = ''; -if (empty($user->rights->holiday->readall)) { +if (!$user->hasRight('holiday', 'readall')) { $include = 'hierarchyme'; // Can see only its hierarchyl } @@ -816,7 +816,7 @@ // -------------------------------------------------------------------- // If we ask a dedicated card and not allow to see it, we force on user. -if ($id && empty($user->rights->holiday->readall) && !in_array($id, $childids)) { +if ($id && !$user->hasRight('holiday', 'readall') && !in_array($id, $childids)) { $langs->load("errors"); print ''.$langs->trans("NotEnoughPermissions").''; $result = 0; diff --git a/htdocs/holiday/view_log.php b/htdocs/holiday/view_log.php index 8a21c56111521..f41268f69be2a 100644 --- a/htdocs/holiday/view_log.php +++ b/htdocs/holiday/view_log.php @@ -28,7 +28,7 @@ require '../main.inc.php'; // Security check (access forbidden for external user too) -if (empty($user->rights->holiday->define_holiday) || $user->socid > 0) { +if (!$user->hasRight('holiday', 'define_holiday') || $user->socid > 0) { accessforbidden(); } @@ -93,7 +93,7 @@ } // Si l'utilisateur n'a pas le droit de lire cette page -if (!$user->rights->holiday->readall) { +if (!$user->hasRight('holiday', 'readall')) { accessforbidden(); } diff --git a/htdocs/hrm/admin/admin_establishment.php b/htdocs/hrm/admin/admin_establishment.php index f933a152250cf..efc0b3485deb1 100644 --- a/htdocs/hrm/admin/admin_establishment.php +++ b/htdocs/hrm/admin/admin_establishment.php @@ -112,8 +112,8 @@ $sql .= $db->order($sortfield, $sortorder); $sql .= $db->plimit($limit + 1, $offset); - -$newcardbutton = dolGetButtonTitle($langs->trans('NewEstablishment'), '', 'fa fa-plus-circle', DOL_URL_ROOT.'/hrm/establishment/card.php?action=create&backtopage='.urlencode($_SERVER['PHP_SELF']), '', $permissiontoadd); +$newcardbutton = ''; +$newcardbutton .= dolGetButtonTitle($langs->trans('NewEstablishment'), '', 'fa fa-plus-circle', DOL_URL_ROOT.'/hrm/establishment/card.php?action=create&backtopage='.urlencode($_SERVER['PHP_SELF']), '', $permissiontoadd); print_barre_liste($title, $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, '', 0, $nbtotalofrecords, '', 0, $newcardbutton, '', $limit, 0, 0, 1); diff --git a/htdocs/hrm/class/establishment.class.php b/htdocs/hrm/class/establishment.class.php index 0c70b3b501443..474af22046199 100644 --- a/htdocs/hrm/class/establishment.class.php +++ b/htdocs/hrm/class/establishment.class.php @@ -408,6 +408,7 @@ public function info($id) if ($result) { if ($this->db->num_rows($result)) { $obj = $this->db->fetch_object($result); + $this->id = $obj->rowid; $this->user_creation_id = $obj->fk_user_author; diff --git a/htdocs/hrm/class/evaluation.class.php b/htdocs/hrm/class/evaluation.class.php index b8f60a606e9f0..5df9a0901339b 100644 --- a/htdocs/hrm/class/evaluation.class.php +++ b/htdocs/hrm/class/evaluation.class.php @@ -75,7 +75,7 @@ class Evaluation extends CommonObject /** - * 'type' field format ('integer', 'integer:ObjectClass:PathToClass[:AddCreateButtonOrNot[:Filter]]', 'sellist:TableName:LabelFieldName[:KeyFieldName[:KeyFieldParent[:Filter]]]', 'varchar(x)', 'double(24,8)', 'real', 'price', 'text', 'text:none', 'html', 'date', 'datetime', 'timestamp', 'duration', 'mail', 'phone', 'url', 'password') + * 'type' field format ('integer', 'integer:ObjectClass:PathToClass[:AddCreateButtonOrNot[:Filter[:Sortfield]]]', 'sellist:TableName:LabelFieldName[:KeyFieldName[:KeyFieldParent[:Filter]]]', 'varchar(x)', 'double(24,8)', 'real', 'price', 'text', 'text:none', 'html', 'date', 'datetime', 'timestamp', 'duration', 'mail', 'phone', 'url', 'password') * Note: Filter can be a string like "(t.ref:like:'SO-%') or (t.date_creation:<:'20160101') or (t.nature:is:NULL)" * 'label' the translation key. * 'picto' is code of a picto to show before value in forms @@ -113,13 +113,13 @@ class Evaluation extends CommonObject 'note_private' => array('type'=>'html', 'label'=>'NotePrivate', 'enabled'=>'1', 'position'=>62, 'notnull'=>0, 'visible'=>0,), 'date_creation' => array('type'=>'datetime', 'label'=>'DateCreation', 'enabled'=>'1', 'position'=>500, 'notnull'=>1, 'visible'=>-2,), 'tms' => array('type'=>'timestamp', 'label'=>'DateModification', 'enabled'=>'1', 'position'=>501, 'notnull'=>0, 'visible'=>-2,), - 'fk_user_creat' => array('type'=>'integer:User:user/class/user.class.php', 'label'=>'UserAuthor', 'enabled'=>'1', 'position'=>510, 'notnull'=>1, 'visible'=>-2, 'foreignkey'=>'user.rowid',), - 'fk_user_modif' => array('type'=>'integer:User:user/class/user.class.php', 'label'=>'UserModif', 'enabled'=>'1', 'position'=>511, 'notnull'=>-1, 'visible'=>-2,), + 'fk_user_creat' => array('type'=>'integer:User:user/class/user.class.php:0', 'label'=>'UserAuthor', 'enabled'=>'1', 'position'=>510, 'notnull'=>1, 'visible'=>-2, 'foreignkey'=>'user.rowid',), + 'fk_user_modif' => array('type'=>'integer:User:user/class/user.class.php:0', 'label'=>'UserModif', 'enabled'=>'1', 'position'=>511, 'notnull'=>-1, 'visible'=>-2,), 'import_key' => array('type'=>'varchar(14)', 'label'=>'ImportId', 'enabled'=>'1', 'position'=>1000, 'notnull'=>-1, 'visible'=>-2,), 'status' => array('type'=>'smallint', 'label'=>'Status', 'enabled'=>'1', 'position'=>1000, 'notnull'=>1, 'default'=>0, 'visible'=>5, 'index'=>1, 'arrayofkeyval'=>array('0'=>'Draft', '1'=>'Validated', '6' => 'Closed'),), 'date_eval' => array('type'=>'date', 'label'=>'DateEval', 'enabled'=>'1', 'position'=>502, 'notnull'=>1, 'visible'=>1,), - 'fk_user' => array('type'=>'integer:User:user/class/user.class.php:0', 'label'=>'User', 'enabled'=>'1', 'position'=>504, 'notnull'=>1, 'visible'=>1,), - 'fk_job' => array('type'=>'integer:Job:/hrm/class/job.class.php', 'label'=>'JobProfile', 'enabled'=>'1', 'position'=>505, 'notnull'=>1, 'visible'=>1,), + 'fk_user' => array('type'=>'integer:User:user/class/user.class.php:0', 'label'=>'Employee', 'enabled'=>'1', 'position'=>504, 'notnull'=>1, 'visible'=>1, 'picto'=>'user', 'css'=>'maxwidth300 widthcentpercentminusxx', 'csslist'=>'tdoverflowmax150'), + 'fk_job' => array('type'=>'integer:Job:/hrm/class/job.class.php', 'label'=>'JobProfile', 'enabled'=>'1', 'position'=>505, 'notnull'=>1, 'visible'=>1, 'picto'=>'jobprofile', 'css'=>'maxwidth300 widthcentpercentminusxx', 'csslist'=>'tdoverflowmax150'), ); public $rowid; public $ref; @@ -193,7 +193,7 @@ public function __construct(DoliDB $db) $this->fields['entity']['enabled'] = 0; } - if (empty($user->rights->hrm->evaluation->readall)) { + if (!$user->hasRight('hrm', 'evaluation', 'readall')) { $this->fields['fk_user']['type'].= ':rowid IN('.$this->db->sanitize(implode(", ", $user->getAllChildIds(1))).')'; } @@ -563,7 +563,7 @@ public function validate($user, $notrigger = 0) if (!$error && !$notrigger) { // Call trigger - $result = $this->call_trigger('EVALUATION_VALIDATE', $user); + $result = $this->call_trigger('HRM_EVALUATION_VALIDATE', $user); if ($result < 0) { $error++; } @@ -583,6 +583,12 @@ public function validate($user, $notrigger = 0) if (!$resql) { $error++; $this->error = $this->db->lasterror(); } + $sql = 'UPDATE '.MAIN_DB_PREFIX."ecm_files set filepath = 'evaluation/".$this->db->escape($this->newref)."'"; + $sql .= " WHERE filepath = 'evaluation/".$this->db->escape($this->ref)."' and entity = ".$conf->entity; + $resql = $this->db->query($sql); + if (!$resql) { + $error++; $this->error = $this->db->lasterror(); + } // We rename directory ($this->ref = old ref, $num = new ref) in order not to lose the attachments $oldref = dol_sanitizeFileName($this->ref); @@ -665,9 +671,7 @@ public function setDraft($user, $notrigger = 0) return 0; } - - - return $this->setStatusCommon($user, self::STATUS_DRAFT, $notrigger, 'EVALUATION_UNVALIDATE'); + return $this->setStatusCommon($user, self::STATUS_DRAFT, $notrigger, 'HRM_EVALUATION_UNVALIDATE'); } /** @@ -684,9 +688,7 @@ public function cancel($user, $notrigger = 0) return 0; } - - - return $this->setStatusCommon($user, self::STATUS_CANCELED, $notrigger, 'EVALUATION_CANCEL'); + return $this->setStatusCommon($user, self::STATUS_CANCELED, $notrigger, 'HRM_EVALUATION_CANCEL'); } /** @@ -703,9 +705,7 @@ public function reopen($user, $notrigger = 0) return 0; } - - - return $this->setStatusCommon($user, self::STATUS_VALIDATED, $notrigger, 'EVALUATION_REOPEN'); + return $this->setStatusCommon($user, self::STATUS_VALIDATED, $notrigger, 'HRM_EVALUATION_REOPEN'); } /** @@ -881,6 +881,7 @@ public function info($id) if ($result) { if ($this->db->num_rows($result)) { $obj = $this->db->fetch_object($result); + $this->id = $obj->rowid; $this->user_creation_id = $obj->fk_user_creat; @@ -949,7 +950,7 @@ public function getNextNumRef() if (!empty($conf->global->HRMTEST_EVALUATION_ADDON)) { $mybool = false; - $file = $conf->global->HRMTEST_EVALUATION_ADDON.".php"; + $file = getDolGlobalString('HRMTEST_EVALUATION_ADDON') . ".php"; $classname = $conf->global->HRMTEST_EVALUATION_ADDON; // Include file with class diff --git a/htdocs/hrm/class/evaluationdet.class.php b/htdocs/hrm/class/evaluationdet.class.php index acffaaa38c6ff..286e6fda310a6 100644 --- a/htdocs/hrm/class/evaluationdet.class.php +++ b/htdocs/hrm/class/evaluationdet.class.php @@ -542,7 +542,7 @@ public function validate($user, $notrigger = 0) if (!$error && !$notrigger) { // Call trigger - $result = $this->call_trigger('EVALUATIONLINE_VALIDATE', $user); + $result = $this->call_trigger('HRM_EVALUATIONLINE_VALIDATE', $user); if ($result < 0) { $error++; } @@ -563,6 +563,12 @@ public function validate($user, $notrigger = 0) $error++; $this->error = $this->db->lasterror(); } + $sql = 'UPDATE '.MAIN_DB_PREFIX."ecm_files set filepath = 'evaluationline/".$this->db->escape($this->newref)."'"; + $sql .= " WHERE filepath = 'evaluationline/".$this->db->escape($this->ref)."' and entity = ".$conf->entity; + $resql = $this->db->query($sql); + if (!$resql) { + $error++; $this->error = $this->db->lasterror(); + } // We rename directory ($this->ref = old ref, $num = new ref) in order not to lose the attachments $oldref = dol_sanitizeFileName($this->ref); @@ -849,6 +855,7 @@ public function info($id) if ($result) { if ($this->db->num_rows($result)) { $obj = $this->db->fetch_object($result); + $this->id = $obj->rowid; $this->user_creation_id = $obj->fk_user_creat; @@ -917,7 +924,7 @@ public function getNextNumRef() if (!empty($conf->global->hrm_EVALUATIONLINE_ADDON)) { $mybool = false; - $file = $conf->global->hrm_EVALUATIONLINE_ADDON.".php"; + $file = getDolGlobalString('hrm_EVALUATIONLINE_ADDON') . ".php"; $classname = $conf->global->hrm_EVALUATIONLINE_ADDON; // Include file with class diff --git a/htdocs/hrm/class/job.class.php b/htdocs/hrm/class/job.class.php index c001c1cc002d8..b3ee63c311c53 100644 --- a/htdocs/hrm/class/job.class.php +++ b/htdocs/hrm/class/job.class.php @@ -540,7 +540,7 @@ public function validate($user, $notrigger = 0) if (!$error && !$notrigger) { // Call trigger - $result = $this->call_trigger('JOB_VALIDATE', $user); + $result = $this->call_trigger('HRM_JOB_VALIDATE', $user); if ($result < 0) { $error++; } @@ -560,6 +560,12 @@ public function validate($user, $notrigger = 0) if (!$resql) { $error++; $this->error = $this->db->lasterror(); } + $sql = 'UPDATE '.MAIN_DB_PREFIX."ecm_files set filepath = 'job/".$this->db->escape($this->newref)."'"; + $sql .= " WHERE filepath = 'job/".$this->db->escape($this->ref)."' and entity = ".$conf->entity; + $resql = $this->db->query($sql); + if (!$resql) { + $error++; $this->error = $this->db->lasterror(); + } // We rename directory ($this->ref = old ref, $num = new ref) in order not to lose the attachments $oldref = dol_sanitizeFileName($this->ref); @@ -885,6 +891,7 @@ public function info($id) if ($result) { if ($this->db->num_rows($result)) { $obj = $this->db->fetch_object($result); + $this->id = $obj->rowid; $this->user_creation_id = $obj->fk_user_creat; @@ -953,7 +960,7 @@ public function getNextNumRef() if (!empty($conf->global->hrm_JOB_ADDON)) { $mybool = false; - $file = $conf->global->hrm_JOB_ADDON.".php"; + $file = getDolGlobalString('hrm_JOB_ADDON') . ".php"; $classname = $conf->global->hrm_JOB_ADDON; // Include file with class @@ -1080,7 +1087,9 @@ public function getKanbanView($option = '', $arraydata = null) $return .= ''; $return .= '
'; $return .= ''.(method_exists($this, 'getNomUrl') ? $this->getNomUrl(0) : $this->ref).''; - $return .= ''; + if ($selected >= 0) { + $return .= ''; + } /*if (property_exists($this, 'deplacement')) { $return .= '
'.$langs->trans("Type").''; $return .= ' : '.$this->fields['deplacement']['arrayofkeyval'][$this->deplacement].''; @@ -1094,6 +1103,36 @@ public function getKanbanView($option = '', $arraydata = null) $return .= '
'; return $return; } + /** + * function for get required skills associate to job object + * @param int $id Id of object + * @return array|int list of ids skillranks + */ + public function getSkillRankForJob($id) + { + if (empty($id)) { + return -1; + } + $skillranks = array(); + $sql = "SELECT rowid"; + $sql .= " FROM ".MAIN_DB_PREFIX."hrm_skillrank"; + $sql .= " WHERE fk_object = ".((int) $id); + + $resql = $this->db->query($sql); + if ($resql) { + $num = $this->db->num_rows($resql); + $i = 0; + while ($i < $num) { + $obj = $this->db->fetch_object($resql); + $skillranks[] = $obj; + $i++; + } + $this->db->free($resql); + } else { + dol_print_error($this->db); + } + return $skillranks; + } } diff --git a/htdocs/hrm/class/position.class.php b/htdocs/hrm/class/position.class.php index 9a9abf1216e7c..c3afcfc845a32 100644 --- a/htdocs/hrm/class/position.class.php +++ b/htdocs/hrm/class/position.class.php @@ -108,8 +108,8 @@ class Position extends CommonObject 'date_creation' => array('type'=>'datetime', 'label'=>'DateCreation', 'enabled'=>'1', 'position'=>500, 'notnull'=>1, 'visible'=>-2,), 'tms' => array('type'=>'timestamp', 'label'=>'DateModification', 'enabled'=>'1', 'position'=>501, 'notnull'=>0, 'visible'=>-2,), 'fk_contrat' => array('type'=>'integer:Contrat:contrat/class/contrat.class.php', 'label'=>'fk_contrat', 'enabled'=>'isModEnabled("contract")', 'position'=>50, 'notnull'=>0, 'visible'=>0,), - 'fk_user' => array('type'=>'integer:User:user/class/user.class.php', 'label'=>'Employee', 'enabled'=>'1', 'position'=>55, 'notnull'=>1, 'visible'=>1, 'default'=>0), - 'fk_job' => array('type'=>'integer:Job:/hrm/class/job.class.php', 'label'=>'JobProfile', 'enabled'=>'1', 'position'=>56, 'notnull'=>1, 'visible'=>1,), + 'fk_user' => array('type'=>'integer:User:user/class/user.class.php:0:(t.statut:=:1)', 'label'=>'Employee', 'enabled'=>'1', 'position'=>55, 'notnull'=>1, 'visible'=>1, 'default'=>0, 'picto'=>'user', 'css'=>'maxwidth300 widthcentpercentminusxx', 'csslist'=>'tdoverflowmax150'), + 'fk_job' => array('type'=>'integer:Job:/hrm/class/job.class.php', 'label'=>'JobProfile', 'enabled'=>'1', 'position'=>56, 'notnull'=>1, 'visible'=>1, 'picto'=>'jobprofile', 'css'=>'maxwidth300 widthcentpercentminusxx', 'csslist'=>'tdoverflowmax150'), 'date_start' => array('type'=>'date', 'label'=>'DateStart', 'enabled'=>'1', 'position'=>101, 'notnull'=>1, 'visible'=>1,), 'date_end' => array('type'=>'date', 'label'=>'DateEnd', 'enabled'=>'1', 'position'=>102, 'notnull'=>0, 'visible'=>1,), 'description' => array('type'=>'text', 'label'=>'Description', 'enabled'=>'1', 'position'=>120, 'notnull'=>0, 'visible'=>3,), @@ -550,7 +550,7 @@ public function validate($user, $notrigger = 0) if (!$error && !$notrigger) { // Call trigger - $result = $this->call_trigger('POSITION_VALIDATE', $user); + $result = $this->call_trigger('HRM_POSITION_VALIDATE', $user); if ($result < 0) { $error++; } @@ -571,6 +571,12 @@ public function validate($user, $notrigger = 0) $error++; $this->error = $this->db->lasterror(); } + $sql = 'UPDATE '.MAIN_DB_PREFIX."ecm_files set filepath = 'position/".$this->db->escape($this->newref)."'"; + $sql .= " WHERE filepath = 'position/".$this->db->escape($this->ref)."' and entity = ".$conf->entity; + $resql = $this->db->query($sql); + if (!$resql) { + $error++; $this->error = $this->db->lasterror(); + } // We rename directory ($this->ref = old ref, $num = new ref) in order not to lose the attachments $oldref = dol_sanitizeFileName($this->ref); @@ -822,6 +828,10 @@ public function getLibStatut($mode = 0) public function LibStatut($status, $mode = 0) { // phpcs:enable + if (is_null($status)) { + return ''; + } + if (empty($this->labelStatus) || empty($this->labelStatusShort)) { global $langs; //$langs->load("hrm"); @@ -929,6 +939,7 @@ public function info($id) if ($result) { if ($this->db->num_rows($result)) { $obj = $this->db->fetch_object($result); + $this->id = $obj->rowid; $this->user_creation_id = $obj->fk_user_creat; @@ -997,7 +1008,7 @@ public function getNextNumRef() if (!empty($conf->global->hrm_POSITION_ADDON)) { $mybool = false; - $file = $conf->global->hrm_POSITION_ADDON . ".php"; + $file = getDolGlobalString('hrm_POSITION_ADDON') . ".php"; $classname = $conf->global->hrm_POSITION_ADDON; // Include file with class diff --git a/htdocs/hrm/class/skill.class.php b/htdocs/hrm/class/skill.class.php index 0a2ee71a9729c..a8f19915f5f36 100644 --- a/htdocs/hrm/class/skill.class.php +++ b/htdocs/hrm/class/skill.class.php @@ -114,8 +114,8 @@ class Skill extends CommonObject 'description' => array('type'=>'text', 'label'=>'Description', 'enabled'=>'1', 'position'=>60, 'notnull'=>0, 'visible'=>3,), 'date_creation' => array('type'=>'datetime', 'label'=>'DateCreation', 'enabled'=>'1', 'position'=>500, 'notnull'=>1, 'visible'=>-2,), 'tms' => array('type'=>'timestamp', 'label'=>'DateModification', 'enabled'=>'1', 'position'=>501, 'notnull'=>0, 'visible'=>-2,), - 'fk_user_creat' => array('type'=>'integer:User:user/class/user.class.php', 'label'=>'UserAuthor', 'enabled'=>'1', 'position'=>510, 'notnull'=>1, 'visible'=>-2, 'foreignkey'=>'user.rowid',), - 'fk_user_modif' => array('type'=>'integer:User:user/class/user.class.php', 'label'=>'UserModif', 'enabled'=>'1', 'position'=>511, 'notnull'=>-1, 'visible'=>-2,), + 'fk_user_creat' => array('type'=>'integer:User:user/class/user.class.php:0', 'label'=>'UserAuthor', 'enabled'=>'1', 'position'=>510, 'notnull'=>1, 'visible'=>-2, 'foreignkey'=>'user.rowid',), + 'fk_user_modif' => array('type'=>'integer:User:user/class/user.class.php:0', 'label'=>'UserModif', 'enabled'=>'1', 'position'=>511, 'notnull'=>-1, 'visible'=>-2,), 'required_level' => array('type'=>'integer', 'label'=>'requiredLevel', 'enabled'=>'1', 'position'=>50, 'notnull'=>1, 'visible'=>0,), 'date_validite' => array('type'=>'integer', 'label'=>'date_validite', 'enabled'=>'1', 'position'=>52, 'notnull'=>1, 'visible'=>0,), 'temps_theorique' => array('type'=>'double(24,8)', 'label'=>'temps_theorique', 'enabled'=>'1', 'position'=>54, 'notnull'=>1, 'visible'=>0,), @@ -608,7 +608,7 @@ public function validate($user, $notrigger = 0) if (!$error && !$notrigger) { // Call trigger - $result = $this->call_trigger('SKILL_VALIDATE', $user); + $result = $this->call_trigger('HRM_SKILL_VALIDATE', $user); if ($result < 0) { $error++; } @@ -628,6 +628,12 @@ public function validate($user, $notrigger = 0) if (!$resql) { $error++; $this->error = $this->db->lasterror(); } + $sql = 'UPDATE '.MAIN_DB_PREFIX."ecm_files set filepath = 'skill/".$this->db->escape($this->newref)."'"; + $sql .= " WHERE filepath = 'skill/".$this->db->escape($this->ref)."' and entity = ".$conf->entity; + $resql = $this->db->query($sql); + if (!$resql) { + $error++; $this->error = $this->db->lasterror(); + } // We rename directory ($this->ref = old ref, $num = new ref) in order not to lose the attachments $oldref = dol_sanitizeFileName($this->ref); @@ -777,6 +783,7 @@ public function getNomUrl($withpicto = 0, $option = '', $notooltip = 0, $morecss } $label .= '
'; $label .= ''.$langs->trans('Label').': '.$this->label; + $label .= '
'.$langs->trans('Description').': '.dol_htmlentitiesbr(dolGetFirstLineOfText($this->description, 10), 1); $url = dol_buildpath('/hrm/skill_card.php', 1).'?id='.$this->id; @@ -928,6 +935,7 @@ public function info($id) if ($result) { if ($this->db->num_rows($result)) { $obj = $this->db->fetch_object($result); + $this->id = $obj->rowid; $this->user_creation_id = $obj->fk_user_creat; @@ -996,7 +1004,7 @@ public function getNextNumRef() if (!empty($conf->global->hrm_SKILL_ADDON)) { $mybool = false; - $file = $conf->global->hrm_SKILL_ADDON.".php"; + $file = getDolGlobalString('hrm_SKILL_ADDON') . ".php"; $classname = $conf->global->hrm_SKILL_ADDON; // Include file with class @@ -1139,7 +1147,9 @@ public function getKanbanView($option = '', $arraydata = null) $return .= ''; $return .= '
'; $return .= ''.(method_exists($this, 'getNomUrl') ? $this->getNomUrl() : $this->ref).''; - $return .= ''; + if ($selected >= 0) { + $return .= ''; + } if (property_exists($this, 'skill_type')) { $return .= '
'.$langs->trans("Type").''; $return .= ' : '.$this->fields['skill_type']['arrayofkeyval'][$this->skill_type].''; diff --git a/htdocs/hrm/class/skilldet.class.php b/htdocs/hrm/class/skilldet.class.php index ad6b88ee0e073..d9ef1efc6f6eb 100644 --- a/htdocs/hrm/class/skilldet.class.php +++ b/htdocs/hrm/class/skilldet.class.php @@ -531,7 +531,7 @@ public function validate($user, $notrigger = 0) if (!$error && !$notrigger) { // Call trigger - $result = $this->call_trigger('SKILLDET_VALIDATE', $user); + $result = $this->call_trigger('HRM_SKILLDET_VALIDATE', $user); if ($result < 0) { $error++; } @@ -551,6 +551,12 @@ public function validate($user, $notrigger = 0) if (!$resql) { $error++; $this->error = $this->db->lasterror(); } + $sql = 'UPDATE '.MAIN_DB_PREFIX."ecm_files set filepath = 'skilldet/".$this->db->escape($this->newref)."'"; + $sql .= " WHERE filepath = 'skilldet/".$this->db->escape($this->ref)."' and entity = ".$conf->entity; + $resql = $this->db->query($sql); + if (!$resql) { + $error++; $this->error = $this->db->lasterror(); + } // We rename directory ($this->ref = old ref, $num = new ref) in order not to lose the attachments $oldref = dol_sanitizeFileName($this->ref); @@ -837,6 +843,7 @@ public function info($id) if ($result) { if ($this->db->num_rows($result)) { $obj = $this->db->fetch_object($result); + $this->id = $obj->rowid; $this->user_creation_id = $obj->fk_user_creat; @@ -884,7 +891,7 @@ public function getNextNumRef() if (!empty($conf->global->hrm_SKILLDET_ADDON)) { $mybool = false; - $file = $conf->global->hrm_SKILLDET_ADDON.".php"; + $file = getDolGlobalString('hrm_SKILLDET_ADDON') . ".php"; $classname = $conf->global->hrm_SKILLDET_ADDON; // Include file with class diff --git a/htdocs/hrm/class/skillrank.class.php b/htdocs/hrm/class/skillrank.class.php index e2b0706422ed5..3edb8e0eb904b 100644 --- a/htdocs/hrm/class/skillrank.class.php +++ b/htdocs/hrm/class/skillrank.class.php @@ -234,9 +234,10 @@ public function create(User $user, $notrigger = false) * * @param User $user User that creates * @param int $fromid Id of object to clone + * @param int $fk_object id of Job object (if new job object) * @return mixed New object created, <0 if KO */ - public function createFromClone(User $user, $fromid) + public function createFromClone(User $user, $fromid, $fk_object = 0) { global $langs, $extrafields; $error = 0; @@ -261,6 +262,10 @@ public function createFromClone(User $user, $fromid) unset($object->id); unset($object->fk_user_creat); unset($object->import_key); + if (!empty($fk_object) && $fk_object > 0) { + unset($object->fk_object); + } + // Clear fields if (property_exists($object, 'ref')) { @@ -278,6 +283,11 @@ public function createFromClone(User $user, $fromid) if (property_exists($object, 'date_modification')) { $object->date_modification = null; } + if (!empty($fk_object) && $fk_object > 0) { + if (property_exists($object, 'fk_object')) { + $object->fk_object = ($fk_object = 0 ? $this->fk_object : $fk_object); + } + } // ... // Clear extrafields that are unique if (is_array($object->array_options) && count($object->array_options) > 0) { @@ -570,7 +580,7 @@ public function validate($user, $notrigger = 0) if (!$error && !$notrigger) { // Call trigger - $result = $this->call_trigger('SKILLRANK_VALIDATE', $user); + $result = $this->call_trigger('HRM_SKILLRANK_VALIDATE', $user); if ($result < 0) { $error++; } @@ -590,6 +600,12 @@ public function validate($user, $notrigger = 0) if (!$resql) { $error++; $this->error = $this->db->lasterror(); } + $sql = 'UPDATE '.MAIN_DB_PREFIX."ecm_files set filepath = 'skillrank/".$this->db->escape($this->newref)."'"; + $sql .= " WHERE filepath = 'skillrank/".$this->db->escape($this->ref)."' and entity = ".$conf->entity; + $resql = $this->db->query($sql); + if (!$resql) { + $error++; $this->error = $this->db->lasterror(); + } // We rename directory ($this->ref = old ref, $num = new ref) in order not to lose the attachments $oldref = dol_sanitizeFileName($this->ref); @@ -876,6 +892,7 @@ public function info($id) if ($result) { if ($this->db->num_rows($result)) { $obj = $this->db->fetch_object($result); + $this->id = $obj->rowid; $this->user_creation_id = $obj->fk_user_creat; @@ -948,7 +965,7 @@ public function getNextNumRef() if (!empty($conf->global->hrm_SKILLRANK_ADDON)) { $mybool = false; - $file = $conf->global->hrm_SKILLRANK_ADDON.".php"; + $file = getDolGlobalString('hrm_SKILLRANK_ADDON') . ".php"; $classname = $conf->global->hrm_SKILLRANK_ADDON; // Include file with class diff --git a/htdocs/hrm/core/tpl/objectline_title.tpl.php b/htdocs/hrm/core/tpl/objectline_title.tpl.php index ae835ea2bca5f..236f23107ad63 100644 --- a/htdocs/hrm/core/tpl/objectline_title.tpl.php +++ b/htdocs/hrm/core/tpl/objectline_title.tpl.php @@ -43,7 +43,7 @@ exit; } -print "\n"; +print "\n"; // Title line print "\n"; @@ -52,28 +52,22 @@ // Adds a line numbering column if (!empty($conf->global->MAIN_VIEW_LINE_NUMBER)) { - print ' '; + print ' '; } // Skill type -print ''.$langs->trans('SkillType').''; +print ''.$langs->trans('SkillType').''; // Label skill -print ''.$langs->trans('Label').''; +print ''.$langs->trans('Label').''; -// Description -print ''.$langs->trans('Description').''; +// Comment +print ''; // Note -print ''.$form->textwithpicto($langs->trans("Level"), $langs->trans('EmployeeRank')).''; +print ''.$form->textwithpicto($langs->trans("Level"), $langs->trans('EmployeeRank')).''; -//print ''; // No width to allow autodim - -//print ''; - -//print ''; - print "\n"; print "\n"; diff --git a/htdocs/hrm/core/tpl/objectline_view.tpl.php b/htdocs/hrm/core/tpl/objectline_view.tpl.php index 21ed0c84561f5..40f3ad8be3d78 100644 --- a/htdocs/hrm/core/tpl/objectline_view.tpl.php +++ b/htdocs/hrm/core/tpl/objectline_view.tpl.php @@ -59,7 +59,7 @@ $coldisplay = 0; ?> - + > global->MAIN_VIEW_LINE_NUMBER)) { ?> @@ -70,10 +70,16 @@ $skill = new Skill($this->db); $resSkill = $skill->fetch($line->fk_skill); if ($resSkill > 0) { - print Skill::typeCodeToLabel($skill->skill_type).''; - print ''.$skill->getNomUrl(1); + print Skill::typeCodeToLabel($skill->skill_type); } } +?> + + +fk_skill > 0) { + print $skill->getNomUrl(1); +} ?> @@ -82,18 +88,18 @@ // Add description in form if ($line->fk_skill > 0 && $resSkill > 0) { - print $skill->description; + //print $skill->description; } -print ''; - ?> + rankorder, $line->fk_skill, 'TNote', ($this->status == 0 && $permissiontoadd) ? 'edit' : 'view'); + // Show evaluation boxes + print displayRankInfos($line->rankorder, $line->fk_skill, 'TNote', ($this->status == 0 && $permissiontoadd) ? 'edit' : 'view'); ?> @@ -102,14 +108,6 @@ statut == 0 && !empty($object_rights->creer) && $action != 'selectlines') { - $situationinvoicelinewithparent = 0; - if ($line->fk_prev_id != null && in_array($object->element, array('facture', 'facturedet'))) { - if (!empty($object->situation_cycle_ref)) { - // Set constant to disallow editing during a situation cycle - $situationinvoicelinewithparent = 1; - } - } - print ''; $coldisplay++; if (($line->info_bits & 2) == 2 || !empty($disableedit)) { @@ -119,15 +117,7 @@ } print ''; - /*print ''; - $coldisplay++; - if (!$situationinvoicelinewithparent && empty($disableremove)) { // For situation invoice, deletion is not possible if there is a parent company. - print 'id.'">'; - print img_delete(); - print ''; - } - print ''; - + /* if ($num > 1 && $conf->browser->layout != 'phone' && ($this->situation_counter == 1 || !$this->situation_cycle_ref) && empty($disablemove)) { print ''; $coldisplay++; diff --git a/htdocs/hrm/core/tpl/skilldet.fiche.tpl.php b/htdocs/hrm/core/tpl/skilldet.fiche.tpl.php index 0d5cef8139ce7..56a3bcb58b10f 100644 --- a/htdocs/hrm/core/tpl/skilldet.fiche.tpl.php +++ b/htdocs/hrm/core/tpl/skilldet.fiche.tpl.php @@ -13,7 +13,7 @@ -print ''."\n"; +print ''."\n"; print '
'."\n"; print '
'."\n"; diff --git a/htdocs/hrm/evaluation_card.php b/htdocs/hrm/evaluation_card.php index 71d6213f995f4..38725256e6579 100644 --- a/htdocs/hrm/evaluation_card.php +++ b/htdocs/hrm/evaluation_card.php @@ -125,7 +125,7 @@ } } - $triggermodname = 'hrm_EVALUATION_MODIFY'; // Name of trigger action code to execute when we modify record + $triggermodname = 'HRM_EVALUATION_MODIFY'; // Name of trigger action code to execute when we modify record // Actions cancel, add, update, update_extras, confirm_validate, confirm_delete, confirm_deleteline, confirm_clone, confirm_close, confirm_setdraft, confirm_reopen include DOL_DOCUMENT_ROOT.'/core/actions_addupdatedelete.inc.php'; @@ -150,7 +150,7 @@ } // Actions to send emails - $triggersendname = 'hrm_EVALUATION_SENTBYMAIL'; + $triggersendname = 'HRM_EVALUATION_SENTBYMAIL'; $autocopy = 'MAIN_MAIL_AUTOCOPY_EVALUATION_TO'; $trackid = 'evaluation'.$object->id; include DOL_DOCUMENT_ROOT.'/core/actions_sendmails.inc.php'; @@ -354,7 +354,7 @@ require_once DOL_DOCUMENT_ROOT.'/core/class/notify.class.php'; $notify = new Notify($db); $text .= '
'; - $text .= $notify->confirmMessage('HRM_EVALUATION_VALIDATE', $object->socid, $object); + $text .= $notify->confirmMessage('HRM_EVALUATION_VALIDATE', 0, $object); } if (!$error) { @@ -440,9 +440,7 @@ print dol_get_fiche_end(); - /* - * Lines - */ + // Lines when evaluation is in edit mode if (!empty($object->table_element_line) && $object->status == Evaluation::STATUS_DRAFT) { // Show object lines @@ -469,10 +467,11 @@ print '
'; if (!empty($object->lines) || ($object->status == $object::STATUS_DRAFT && $permissiontoadd && $action != 'selectlines' && $action != 'editline')) { - print ''; + print '
'; } - + // Lines of evaluated skills + // $object is Evaluation $object->printObjectLines($action, $mysoc, null, GETPOST('lineid', 'int'), 1); if (empty($object->lines)) { @@ -504,7 +503,8 @@ print "
"; } - // list of comparison + // Lines when evaluation is validated + if ($object->status != Evaluation::STATUS_DRAFT) { // Recovery of skills related to this evaluation @@ -566,8 +566,10 @@ $num++; } - print '
'; - print '
'; + print '
'; + + print '
'; + print '
'; print ''; print ''; @@ -581,6 +583,7 @@ $sk = new Skill($db); foreach ($Tab as $t) { $sk->fetch($t->skill_id); + print ''; print ' '; print ' '; @@ -592,6 +595,7 @@ } print '
' . $langs->trans("TypeSkill") . '
' . Skill::typeCodeToLabel($t->skill_type) . '' . $sk->getNomUrl(1) . '
'; + print '
'; ?> diff --git a/htdocs/hrm/evaluation_list.php b/htdocs/hrm/evaluation_list.php index f0cb2265e9bb4..b5e08794593f4 100644 --- a/htdocs/hrm/evaluation_list.php +++ b/htdocs/hrm/evaluation_list.php @@ -33,7 +33,7 @@ require_once DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/company.lib.php'; -// load hrm libraries +// load module libraries require_once __DIR__.'/class/evaluation.class.php'; // for other modules @@ -117,11 +117,11 @@ foreach ($object->fields as $key => $val) { // If $val['visible']==0, then we never show the field if (!empty($val['visible'])) { - $visible = (int) dol_eval($val['visible'], 1, 1, '1'); + $visible = (int) dol_eval($val['visible'], 1); $arrayfields['t.'.$key] = array( 'label'=>$val['label'], 'checked'=>(($visible < 0) ? 0 : 1), - 'enabled'=>($visible != 3 && dol_eval($val['enabled'], 1, 1, '1')), + 'enabled'=>(abs($visible) != 3 && dol_eval($val['enabled'], 1)), 'position'=>$val['position'], 'help'=> isset($val['help']) ? $val['help'] : '' ); @@ -230,9 +230,13 @@ } // Add fields from hooks $parameters = array(); -$reshook = $hookmanager->executeHooks('printFieldListSelect', $parameters, $object); // Note that $action and $object may have been modified by hook +$reshook = $hookmanager->executeHooks('printFieldListSelect', $parameters, $object, $action); // Note that $action and $object may have been modified by hook $sql .= $hookmanager->resPrint; $sql = preg_replace('/,\s*$/', '', $sql); +//$sql .= ", COUNT(rc.rowid) as anotherfield"; + +$sqlfields = $sql; // $sql fields to remove for count total + $sql .= " FROM ".MAIN_DB_PREFIX.$object->table_element." as t"; if (isset($extrafields->attributes[$object->table_element]['label']) && is_array($extrafields->attributes[$object->table_element]['label']) && count($extrafields->attributes[$object->table_element]['label'])) { $sql .= " LEFT JOIN ".MAIN_DB_PREFIX.$object->table_element."_extrafields as ef on (t.rowid = ef.fk_object)"; @@ -259,17 +263,17 @@ $mode_search = 2; } if ($search[$key] != '') { - $sql .= natural_search($key, $search[$key], (($key == 'status') ? 2 : $mode_search)); + $sql .= natural_search("t.".$db->escape($key), $search[$key], (($key == 'status') ? 2 : $mode_search)); } } else { if (preg_match('/(_dtstart|_dtend)$/', $key) && $search[$key] != '') { $columnName=preg_replace('/(_dtstart|_dtend)$/', '', $key); if (preg_match('/^(date|timestamp|datetime)/', $object->fields[$columnName]['type'])) { if (preg_match('/_dtstart$/', $key)) { - $sql .= " AND t." . $columnName . " >= '" . $db->idate($search[$key]) . "'"; + $sql .= " AND t.".$db->escape($columnName)." >= '".$db->idate($search[$key])."'"; } if (preg_match('/_dtend$/', $key)) { - $sql .= " AND t." . $columnName . " <= '" . $db->idate($search[$key]) . "'"; + $sql .= " AND t.".$db->escape($columnName)." <= '".$db->idate($search[$key])."'"; } } } @@ -288,7 +292,7 @@ include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_list_search_sql.tpl.php'; // Add where from hooks $parameters = array(); -$reshook = $hookmanager->executeHooks('printFieldListWhere', $parameters, $object); // Note that $action and $object may have been modified by hook +$reshook = $hookmanager->executeHooks('printFieldListWhere', $parameters, $object, $action); // Note that $action and $object may have been modified by hook $sql .= $hookmanager->resPrint; /* If a group by is required @@ -309,35 +313,42 @@ $sql = preg_replace('/,\s*$/', '', $sql); */ -$sql .= $db->order($sortfield, $sortorder); - // Count total nb of records $nbtotalofrecords = ''; if (!getDolGlobalInt('MAIN_DISABLE_FULL_SCANLIST')) { - $resql = $db->query($sql); - $nbtotalofrecords = $db->num_rows($resql); - if (($page * $limit) > $nbtotalofrecords) { // if total of record found is smaller than page * limit, goto and load page 0 + /* The fast and low memory method to get and count full list converts the sql into a sql count */ + $sqlforcount = preg_replace('/^'.preg_quote($sqlfields, '/').'/', 'SELECT COUNT(*) as nbtotalofrecords', $sql); + $sqlforcount = preg_replace('/GROUP BY .*$/', '', $sqlforcount); + $resql = $db->query($sqlforcount); + if ($resql) { + $objforcount = $db->fetch_object($resql); + $nbtotalofrecords = $objforcount->nbtotalofrecords; + } else { + dol_print_error($db); + } + + if (($page * $limit) > $nbtotalofrecords) { // if total resultset is smaller than the paging size (filtering), goto and load page 0 $page = 0; $offset = 0; } + $db->free($resql); } -// if total of record found is smaller than limit, no need to do paging and to restart another select with limits set. -if (is_numeric($nbtotalofrecords) && ($limit > $nbtotalofrecords || empty($limit))) { - $num = $nbtotalofrecords; -} else { - if ($limit) { - $sql .= $db->plimit($limit + 1, $offset); - } - $resql = $db->query($sql); - if (!$resql) { - dol_print_error($db); - exit; - } +// Complete request and execute it with limit +$sql .= $db->order($sortfield, $sortorder); +if ($limit) { + $sql .= $db->plimit($limit + 1, $offset); +} - $num = $db->num_rows($resql); +$resql = $db->query($sql); +if (!$resql) { + dol_print_error($db); + exit; } +$num = $db->num_rows($resql); + + // Direct jump if only one record found if ($num == 1 && !empty($conf->global->MAIN_SEARCH_DIRECT_OPEN_IF_ONLY_ONE) && $search_all && !$page) { $obj = $db->fetch_object($resql); @@ -380,11 +391,17 @@ $param .= '&limit='.((int) $limit); } foreach ($search as $key => $val) { - if (is_array($search[$key]) && count($search[$key])) { + if (is_array($search[$key])) { foreach ($search[$key] as $skey) { - $param .= '&search_'.$key.'[]='.urlencode($skey); + if ($skey != '') { + $param .= '&search_'.$key.'[]='.urlencode($skey); + } } - } else { + } elseif (preg_match('/(_dtstart|_dtend)$/', $key) && !empty($val)) { + $param .= '&search_'.$key.'month='.((int) GETPOST('search_'.$key.'month', 'int')); + $param .= '&search_'.$key.'day='.((int) GETPOST('search_'.$key.'day', 'int')); + $param .= '&search_'.$key.'year='.((int) GETPOST('search_'.$key.'year', 'int')); + } elseif ($search[$key] != '') { $param .= '&search_'.$key.'='.urlencode($search[$key]); } } @@ -405,7 +422,7 @@ //'builddoc'=>img_picto('', 'pdf', 'class="pictofixedwidth"').$langs->trans("PDFMerge"), //'presend'=>img_picto('', 'email', 'class="pictofixedwidth"').$langs->trans("SendByMail"), ); -if ($permissiontodelete) { +if (!empty($permissiontodelete)) { $arrayofmassactions['predelete'] = img_picto('', 'delete', 'class="pictofixedwidth"').$langs->trans("Delete"); } if (GETPOST('nomassaction', 'int') || in_array($massaction, array('presend', 'predelete'))) { @@ -429,6 +446,7 @@ $newcardbutton = ''; $newcardbutton .= dolGetButtonTitle($langs->trans('ViewList'), '', 'fa fa-bars imgforviewmode', $_SERVER["PHP_SELF"].'?mode=common'.preg_replace('/(&|\?)*mode=[^&]+/', '', $param), '', ((empty($mode) || $mode == 'common') ? 2 : 1), array('morecss'=>'reposition')); $newcardbutton .= dolGetButtonTitle($langs->trans('ViewKanban'), '', 'fa fa-th-list imgforviewmode', $_SERVER["PHP_SELF"].'?mode=kanban'.preg_replace('/(&|\?)*mode=[^&]+/', '', $param), '', ($mode == 'kanban' ? 2 : 1), array('morecss'=>'reposition')); +$newcardbutton .= dolGetButtonTitleSeparator(); $newcardbutton .= dolGetButtonTitle($langs->trans('New'), '', 'fa fa-plus-circle', dol_buildpath('/hrm/evaluation_card.php', 1).'?action=create', '', $permissiontoadd); print_barre_liste($title, $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, $massactionbutton, $num, $nbtotalofrecords, 'object_'.$object->picto, 0, $newcardbutton, '', $limit, 0, 0, 1); @@ -441,9 +459,12 @@ include DOL_DOCUMENT_ROOT.'/core/tpl/massactions_pre.tpl.php'; if ($search_all) { + $setupstring = ''; foreach ($fieldstosearchall as $key => $val) { $fieldstosearchall[$key] = $langs->trans($val); + $setupstring .= $key."=".$val.";"; } + print ''."\n"; print '
'.$langs->trans("FilterOnInto", $search_all).join(', ', $fieldstosearchall).'
'; } @@ -453,7 +474,7 @@ $moreforfilter.= '
';*/ $parameters = array(); -$reshook = $hookmanager->executeHooks('printFieldPreListTitle', $parameters, $object); // Note that $action and $object may have been modified by hook +$reshook = $hookmanager->executeHooks('printFieldPreListTitle', $parameters, $object, $action); // Note that $action and $object may have been modified by hook if (empty($reshook)) { $moreforfilter .= $hookmanager->resPrint; } else { @@ -463,6 +484,9 @@ if (!empty($moreforfilter)) { print '
'; print $moreforfilter; + $parameters = array('type'=>$type); + $reshook = $hookmanager->executeHooks('printFieldPreListTitle', $parameters, $object, $action); // Note that $action and $object may have been modified by hook + print $hookmanager->resPrint; print '
'; } @@ -475,15 +499,16 @@ // Fields title search // -------------------------------------------------------------------- -print ''; +print ''; // Action column if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { - print ''; - $searchpicto = $form->showFilterButtons(); + print ''; + $searchpicto = $form->showFilterButtons('left'); print $searchpicto; print ''; } foreach ($object->fields as $key => $val) { + $searchkey = empty($search[$key]) ? '' : $search[$key]; $cssforfield = (empty($val['csslist']) ? (empty($val['css']) ? '' : $val['css']) : $val['csslist']); if ($key == 'status') { $cssforfield .= ($cssforfield ? ' ' : '').'center'; @@ -491,17 +516,15 @@ $cssforfield .= ($cssforfield ? ' ' : '').'center'; } elseif (in_array($val['type'], array('timestamp'))) { $cssforfield .= ($cssforfield ? ' ' : '').'nowrap'; - } elseif (in_array($val['type'], array('double(24,8)', 'double(6,3)', 'integer', 'real', 'price')) && $val['label'] != 'TechnicalID' && empty($val['arrayofkeyval'])) { + } elseif (in_array($val['type'], array('double(24,8)', 'double(6,3)', 'integer', 'real', 'price')) && !in_array($key, array('id', 'rowid', 'ref', 'status')) && $val['label'] != 'TechnicalID' && empty($val['arrayofkeyval'])) { $cssforfield .= ($cssforfield ? ' ' : '').'right'; } if (!empty($arrayfields['t.'.$key]['checked'])) { - print ''; + print ''; if (!empty($val['arrayofkeyval']) && is_array($val['arrayofkeyval'])) { - print $form->selectarray('search_'.$key, $val['arrayofkeyval'], (isset($search[$key]) ? $search[$key] : ''), $val['notnull'], 0, 0, '', 1, 0, 0, '', 'maxwidth100', 1); + print $form->selectarray('search_'.$key, $val['arrayofkeyval'], (isset($search[$key]) ? $search[$key] : ''), $val['notnull'], 0, 0, '', 1, 0, 0, '', 'maxwidth100'.($key == 'status' ? ' search_status width100 onrightofpage' : ''), 1); } elseif ((strpos($val['type'], 'integer:') === 0) || (strpos($val['type'], 'sellist:') === 0)) { - print $object->showInputField($val, $key, (isset($search[$key]) ? $search[$key] : ''), '', '', 'search_', 'maxwidth125', 1); - } elseif (!preg_match('/^(date|timestamp|datetime)/', $val['type'])) { - print ''; + print $object->showInputField($val, $key, (isset($search[$key]) ? $search[$key] : ''), '', '', 'search_', $cssforfield.' maxwidth250', 1); } elseif (preg_match('/^(date|timestamp|datetime)/', $val['type'])) { print '
'; print $form->selectDate($search[$key.'_dtstart'] ? $search[$key.'_dtstart'] : '', "search_".$key."_dtstart", 0, 0, 1, '', 1, 0, 0, '', '', '', '', 1, '', $langs->trans('From')); @@ -509,6 +532,12 @@ print '
'; print $form->selectDate($search[$key.'_dtend'] ? $search[$key.'_dtend'] : '', "search_".$key."_dtend", 0, 0, 1, '', 1, 0, 0, '', '', '', '', 1, '', $langs->trans('to')); print '
'; + } elseif ($key == 'lang') { + require_once DOL_DOCUMENT_ROOT.'/core/class/html.formadmin.class.php'; + $formadmin = new FormAdmin($db); + print $formadmin->select_language($search[$key], 'search_lang', 0, null, 1, 0, 0, 'minwidth150 maxwidth200', 2); + } else { + print ''; } print ''; } @@ -518,7 +547,7 @@ // Fields from hook $parameters = array('arrayfields'=>$arrayfields); -$reshook = $hookmanager->executeHooks('printFieldListOption', $parameters, $object); // Note that $action and $object may have been modified by hook +$reshook = $hookmanager->executeHooks('printFieldListOption', $parameters, $object, $action); // Note that $action and $object may have been modified by hook print $hookmanager->resPrint; // Action column if (!getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { @@ -537,7 +566,7 @@ print ''; // Action column if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { - print getTitleFieldOfList($selectedfields, 0, $_SERVER["PHP_SELF"], '', '', '', '', $sortfield, $sortorder, 'center maxwidthsearch ')."\n"; + print getTitleFieldOfList(($mode != 'kanban' ? $selectedfields : ''), 0, $_SERVER["PHP_SELF"], '', '', '', '', $sortfield, $sortorder, 'center maxwidthsearch ')."\n"; $totalarray['nbfield']++; } foreach ($object->fields as $key => $val) { @@ -548,19 +577,20 @@ $cssforfield .= ($cssforfield ? ' ' : '').'center'; } elseif (in_array($val['type'], array('timestamp'))) { $cssforfield .= ($cssforfield ? ' ' : '').'nowrap'; - } elseif (in_array($val['type'], array('double(24,8)', 'double(6,3)', 'integer', 'real', 'price')) && $val['label'] != 'TechnicalID' && empty($val['arrayofkeyval'])) { + } elseif (in_array($val['type'], array('double(24,8)', 'double(6,3)', 'integer', 'real', 'price')) && !in_array($key, array('id', 'rowid', 'ref', 'status')) && $val['label'] != 'TechnicalID' && empty($val['arrayofkeyval'])) { $cssforfield .= ($cssforfield ? ' ' : '').'right'; } + $cssforfield = preg_replace('/small\s*/', '', $cssforfield); // the 'small' css must not be used for the title label if (!empty($arrayfields['t.'.$key]['checked'])) { - print getTitleFieldOfList($arrayfields['t.'.$key]['label'], 0, $_SERVER['PHP_SELF'], 't.'.$key, '', $param, ($cssforfield ? 'class="'.$cssforfield.'"' : ''), $sortfield, $sortorder, ($cssforfield ? $cssforfield.' ' : ''))."\n"; + print getTitleFieldOfList($arrayfields['t.'.$key]['label'], 0, $_SERVER['PHP_SELF'], 't.'.$key, '', $param, ($cssforfield ? 'class="'.$cssforfield.'"' : ''), $sortfield, $sortorder, ($cssforfield ? $cssforfield.' ' : ''), 0, (empty($val['helplist']) ? '' : $val['helplist']))."\n"; $totalarray['nbfield']++; } } // Extra fields include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_list_search_title.tpl.php'; // Hook fields -$parameters = array('arrayfields'=>$arrayfields, 'param'=>$param, 'sortfield'=>$sortfield, 'sortorder'=>$sortorder); -$reshook = $hookmanager->executeHooks('printFieldListTitle', $parameters, $object); // Note that $action and $object may have been modified by hook +$parameters = array('arrayfields'=>$arrayfields, 'param'=>$param, 'sortfield'=>$sortfield, 'sortorder'=>$sortorder, 'totalarray'=>&$totalarray); +$reshook = $hookmanager->executeHooks('printFieldListTitle', $parameters, $object, $action); // Note that $action and $object may have been modified by hook print $hookmanager->resPrint; // Action column if (!getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { @@ -613,6 +643,7 @@ $userstatic = new User($db); $userstatic->fetch($obj->fk_user); + $selected = -1; if ($massactionbutton || $massaction) { // If we are in select mode (massactionbutton defined) or if we have already selected and sent an action ($massaction) defined $selected = 0; if (in_array($object->id, $arrayofselected)) { @@ -626,7 +657,7 @@ } } else { // Show here line of result - print ''; + print ''; // Action column if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { print ''; @@ -662,11 +693,17 @@ //if (in_array($key, array('fk_soc', 'fk_user', 'fk_warehouse'))) $cssforfield = 'tdoverflowmax100'; if (!empty($arrayfields['t.'.$key]['checked'])) { - print ''; + print '$key)) { + print ' title="'.dol_escape_htmltag($object->$key).'"'; + } + print '>'; if ($key == 'status') { print $object->getLibStatut(5); } elseif ($key == 'rowid') { print $object->showOutputField($val, $key, $object->id, ''); + } elseif ($key == 'label') { + print $object->getNomUrl(1); } else { print $object->showOutputField($val, $key, $object->$key, ''); } @@ -692,7 +729,7 @@ include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_list_print_fields.tpl.php'; // Fields from hook $parameters = array('arrayfields'=>$arrayfields, 'object'=>$object, 'obj'=>$obj, 'i'=>$i, 'totalarray'=>&$totalarray); - $reshook = $hookmanager->executeHooks('printFieldListValue', $parameters, $object); // Note that $action and $object may have been modified by hook + $reshook = $hookmanager->executeHooks('printFieldListValue', $parameters, $object, $action); // Note that $action and $object may have been modified by hook print $hookmanager->resPrint; // Action column if (!getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { @@ -733,7 +770,7 @@ $db->free($resql); $parameters = array('arrayfields'=>$arrayfields, 'sql'=>$sql); -$reshook = $hookmanager->executeHooks('printFieldListFooter', $parameters, $object); // Note that $action and $object may have been modified by hook +$reshook = $hookmanager->executeHooks('printFieldListFooter', $parameters, $object, $action); // Note that $action and $object may have been modified by hook print $hookmanager->resPrint; print ''."\n"; diff --git a/htdocs/hrm/index.php b/htdocs/hrm/index.php index c4bc55bd0678c..95a56690db32c 100644 --- a/htdocs/hrm/index.php +++ b/htdocs/hrm/index.php @@ -113,15 +113,15 @@ print '
'; if (!empty($conf->global->MAIN_SEARCH_FORM_ON_HOME_AREAS)) { // This is useless due to the global search combo - if (isModEnabled('holiday') && $user->rights->holiday->read) { + if (isModEnabled('holiday') && $user->hasRight('holiday', 'read')) { $langs->load("holiday"); $listofsearchfields['search_holiday'] = array('text'=>'TitreRequestCP'); } - if (isModEnabled('deplacement') && $user->rights->deplacement->lire) { + if (isModEnabled('deplacement') && $user->hasRight('deplacement', 'lire')) { $langs->load("trips"); $listofsearchfields['search_deplacement'] = array('text'=>'ExpenseReport'); } - if (isModEnabled('expensereport') && $user->rights->expensereport->lire) { + if (isModEnabled('expensereport') && $user->hasRight('expensereport', 'lire')) { $langs->load("trips"); $listofsearchfields['search_expensereport'] = array('text'=>'ExpenseReport'); } @@ -194,7 +194,7 @@ $sql .= " FROM ".MAIN_DB_PREFIX."holiday as x, ".MAIN_DB_PREFIX."user as u"; $sql .= " WHERE u.rowid = x.fk_user"; $sql .= " AND x.entity = ".$conf->entity; - if (empty($user->rights->holiday->readall)) { + if (!$user->hasRight('holiday', 'readall')) { $sql .= ' AND x.fk_user IN ('.$db->sanitize(join(',', $childids)).')'; } //if (empty($user->rights->societe->client->voir) && !$user->socid) $sql.= " AND x.fk_soc = s. rowid AND s.rowid = sc.fk_soc AND sc.fk_user = ".((int) $user->id); @@ -279,7 +279,7 @@ //if (empty($user->rights->societe->client->voir) && !$user->socid) $sql.= ", ".MAIN_DB_PREFIX."societe as s, ".MAIN_DB_PREFIX."societe_commerciaux as sc"; $sql .= " WHERE u.rowid = x.fk_user_author"; $sql .= " AND x.entity = ".$conf->entity; - if (empty($user->rights->expensereport->readall) && empty($user->rights->expensereport->lire_tous)) { + if (!$user->hasRight('expensereport', 'readall') && !$user->hasRight('expensereport', 'lire_tous')) { $sql .= ' AND x.fk_user_author IN ('.$db->sanitize(join(',', $childids)).')'; } //if (empty($user->rights->societe->client->voir) && !$user->socid) $sql.= " AND x.fk_soc = s. rowid AND s.rowid = sc.fk_soc AND sc.fk_user = ".((int) $user->id); @@ -351,11 +351,11 @@ $sql.= " rp.rowid as jobid, rp.ref as jobref, rp.label"; $sql .= " FROM ".MAIN_DB_PREFIX."recruitment_recruitmentcandidature as rc"; $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."recruitment_recruitmentjobposition as rp ON rc.fk_recruitmentjobposition = rp.rowid"; - if (isModEnabled('societe') && empty($user->rights->societe->client->voir) && !$socid) { + if (isModEnabled('societe') && !$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= ", ".MAIN_DB_PREFIX."societe_commerciaux as sc"; } $sql .= " WHERE rc.entity IN (".getEntity($staticrecruitmentcandidature->element).")"; - if (isModEnabled('societe') && empty($user->rights->societe->client->voir) && !$socid) { + if (isModEnabled('societe') && !$user->hasRight('societe', 'client', 'voir') && !$socid) { $sql .= " AND rp.fk_soc = sc.fk_soc AND sc.fk_user = ".((int) $user->id); } if ($socid) { diff --git a/htdocs/hrm/job_card.php b/htdocs/hrm/job_card.php index 7f50ae45f2d7a..0d458e7806e18 100644 --- a/htdocs/hrm/job_card.php +++ b/htdocs/hrm/job_card.php @@ -34,6 +34,7 @@ require_once DOL_DOCUMENT_ROOT . '/core/class/html.formprojet.class.php'; require_once DOL_DOCUMENT_ROOT . '/hrm/class/job.class.php'; require_once DOL_DOCUMENT_ROOT . '/hrm/lib/hrm_job.lib.php'; +require_once DOL_DOCUMENT_ROOT . '/hrm/class/skillrank.class.php'; // Load translation files required by the page $langs->loadLangs(array('hrm', 'other', 'products')); // why products? @@ -116,11 +117,13 @@ } } - $triggermodname = 'hrm_JOB_MODIFY'; // Name of trigger action code to execute when we modify record + $triggermodname = 'HRM_JOB_MODIFY'; // Name of trigger action code to execute when we modify record // Actions cancel, add, update, update_extras, confirm_validate, confirm_delete, confirm_deleteline, confirm_clone, confirm_close, confirm_setdraft, confirm_reopen - include DOL_DOCUMENT_ROOT . '/core/actions_addupdatedelete.inc.php'; + if ($action != 'confirm_clone') { + include DOL_DOCUMENT_ROOT . '/core/actions_addupdatedelete.inc.php'; + } // Actions when linking object each other include DOL_DOCUMENT_ROOT . '/core/actions_dellink.inc.php'; @@ -142,10 +145,60 @@ } // Actions to send emails - $triggersendname = 'hrm_JOB_SENTBYMAIL'; + $triggersendname = 'HRM_JOB_SENTBYMAIL'; $autocopy = 'MAIN_MAIL_AUTOCOPY_JOB_TO'; $trackid = 'job' . $object->id; include DOL_DOCUMENT_ROOT . '/core/actions_sendmails.inc.php'; + + if ($action == 'confirm_clone' && $confirm != 'yes') { + $action = ''; + } + + if ($action == 'confirm_clone' && $confirm == 'yes' && ($user->hasRight('salaries', 'write'))) { + $db->begin(); + + $originalId = $id; + + $object->fetch($id); + $skillRequire = $object->getSkillRankForJob($originalId); + if ($object->id > 0) { + $object->id = $object->ref = null; + + if (GETPOST('clone_label', 'alphanohtml')) { + $object->label = GETPOST('clone_label', 'alphanohtml'); + } else { + $object->label = $langs->trans("CopyOf").' '.$object->label; + } + if (GETPOST('clone_skills_required')) { + $cloneSkillRequired = GETPOST('clone_skills_required'); + } + + $id = $object->create($user); + if ($id > 0) { + if (!empty($cloneSkillRequired)) { + $i = 0; + while ($i < count($skillRequire)) { + $skillrank = new SkillRank($db); + $skillrank->createFromClone($user, $skillRequire[$i]->rowid, $id); + $i++; + } + } + $db->commit(); + $db->close(); + + header("Location: ".$_SERVER["PHP_SELF"]."?id=".$id); + exit; + } else { + $id = $originalId; + $db->rollback(); + + setEventMessages($object->error, $object->errors, 'errors'); + } + } else { + $db->rollback(); + dol_print_error($db, $object->error); + } + } } @@ -275,8 +328,12 @@ // Clone confirmation if ($action == 'clone') { // Create an array for form - $formquestion = array(); - $formconfirm = $form->formconfirm($_SERVER["PHP_SELF"] . '?id=' . $object->id, $langs->trans('ToClone'), $langs->trans('ConfirmCloneAsk', $object->ref), 'confirm_clone', $formquestion, 'yes', 1); + $formquestion = array( + array('type' => 'text', 'name' => 'clone_label', 'label' => $langs->trans("Label"), 'value' => $langs->trans("CopyOf").' '.$object->label), + array('type' => 'checkbox', 'name' => 'clone_skills_required', 'label' => $langs->trans("RequiredSkills"), 'value' => '',), + + ); + $formconfirm = $form->formconfirm($_SERVER["PHP_SELF"].'?id='.$object->id, $langs->trans('ToClone'), $langs->trans('ConfirmCloneAsk', $object->label), 'confirm_clone', $formquestion, 'yes', 1, 280); } // Confirmation of action xxxx @@ -413,6 +470,8 @@ print dolGetButtonAction($langs->trans('Modify'), '', 'default', $_SERVER["PHP_SELF"] . '?id=' . $object->id . '&action=edit&token=' . newToken(), '', $permissiontoadd); + print dolGetButtonAction($langs->trans('ToClone'), '', 'default', $_SERVER["PHP_SELF"] . '?id=' . $object->id . '&action=clone&token=' . newToken(), '', $permissiontoadd); + // Delete (need delete permission, or if draft, just need create/modify permission) print dolGetButtonAction($langs->trans('Delete'), '', 'delete', $_SERVER['PHP_SELF'] . '?id=' . $object->id . '&action=delete&token=' . newToken(), '', $permissiontodelete); } diff --git a/htdocs/hrm/job_list.php b/htdocs/hrm/job_list.php index 369796130e823..5984afb5b5a96 100644 --- a/htdocs/hrm/job_list.php +++ b/htdocs/hrm/job_list.php @@ -424,6 +424,7 @@ $newcardbutton = ''; $newcardbutton .= dolGetButtonTitle($langs->trans('ViewList'), '', 'fa fa-bars imgforviewmode', $_SERVER["PHP_SELF"].'?mode=common'.preg_replace('/(&|\?)*mode=[^&]+/', '', $param), '', ((empty($mode) || $mode == 'common') ? 2 : 1), array('morecss'=>'reposition')); $newcardbutton .= dolGetButtonTitle($langs->trans('ViewKanban'), '', 'fa fa-th-list imgforviewmode', $_SERVER["PHP_SELF"].'?mode=kanban'.preg_replace('/(&|\?)*mode=[^&]+/', '', $param), '', ($mode == 'kanban' ? 2 : 1), array('morecss'=>'reposition')); +$newcardbutton .= dolGetButtonTitleSeparator(); $newcardbutton .= dolGetButtonTitle($langs->trans('New'), '', 'fa fa-plus-circle', dol_buildpath('/hrm/job_card.php', 1).'?action=create', '', $permissiontoadd); print_barre_liste($title, $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, $massactionbutton, $num, $nbtotalofrecords, 'object_'.$object->picto, 0, $newcardbutton, '', $limit, 0, 0, 1); @@ -609,7 +610,14 @@ print '
'; } // Output Kanban - print $object->getKanbanView('', array('selected' => in_array($object->id, $arrayofselected))); + $selected = -1; + if ($massactionbutton || $massaction) { // If we are in select mode (massactionbutton defined) or if we have already selected and sent an action ($massaction) defined + $selected = 0; + if (in_array($object->id, $arrayofselected)) { + $selected = 1; + } + } + print $object->getKanbanView('', array('selected' => $selected)); if ($i == ($imaxinloop - 1)) { print '
'; print ''; diff --git a/htdocs/hrm/lib/hrm_evaluation.lib.php b/htdocs/hrm/lib/hrm_evaluation.lib.php index 57a24878c5298..40b312192ba3c 100644 --- a/htdocs/hrm/lib/hrm_evaluation.lib.php +++ b/htdocs/hrm/lib/hrm_evaluation.lib.php @@ -127,3 +127,70 @@ function GetLegendSkills()
'; return $legendSkills; } + +/** + * @param $obj object object need to handle + * @return string + */ +function getRankOrderResults($obj) +{ + global $langs; + $results = array( + 'greater' => array( + 'title' => $langs->trans('MaxlevelGreaterThanShort'), + 'style' => 'background-color: #c3e6cb; border:5px solid #3097D1; color: #555; font-weight: 700;' + ), + 'equal' => array( + 'title' => $langs->trans('MaxLevelEqualToShort'), + 'style' => 'background-color: #c3e6cb; color: #555; font-weight: 700;' + ), + 'lesser' => array( + 'title' => $langs->trans('MaxLevelLowerThanShort'), + 'style' => 'background-color: #bd4147; color: #FFFFFF; font-weight: 700;' + ) + ); + $key = ''; + if ($obj->rankorder > $obj->required_rank) { + $key = 'greater'; + } elseif ($obj->rankorder == $obj->required_rank) { + $key = 'equal'; + } elseif ($obj->rankorder < $obj->required_rank) { + $key = 'lesser'; + } + return '' . strtoupper(substr($obj->label, 0, 3)) .(strlen($obj->label) > 3 ? '..' : '').''; +} + +/** + * Grouped rows with same ref in array + * @param array $objects all rows getted by sql + * @return array |int + */ +function getGroupedEval($objects) +{ + if (count($objects) < 0 || !is_array($objects)) { + return -1; + } + // grouped $object by ref + $grouped = []; + foreach ($objects as $object) { + $ref = $object->ref; + if (!isset($grouped[$ref])) { + $grouped[$ref] = []; + } + $grouped[$ref][] = $object; + } + $newArray = []; + foreach ($grouped as $refs => $objects) { + if (count($objects) > 1) { + $newArray[$refs] = $objects; + } + } + $combinedArray = []; + foreach ($grouped as $refs => $objects) { + if (count($objects) == 1) { + $combinedArray[] = $objects[0]; + } + } + $resultArray = array_merge($combinedArray, array_values($newArray)); + return $resultArray; +} diff --git a/htdocs/hrm/lib/hrm_skillrank.lib.php b/htdocs/hrm/lib/hrm_skillrank.lib.php index d979e8ca4b775..ca42bf4721ce5 100644 --- a/htdocs/hrm/lib/hrm_skillrank.lib.php +++ b/htdocs/hrm/lib/hrm_skillrank.lib.php @@ -120,7 +120,9 @@ function displayRankInfos($selected_rank, $fk_skill, $inputname = 'TNote', $mode } if (empty($Lines)) return $langs->trans('SkillHasNoLines'); - $ret = '0'; + $ret = ''; + $ret .= $langs->trans('NA'); + $ret .= ''; if (is_array($Lines) && !empty($Lines)) { foreach ($Lines as $line) { $MaxNumberSkill = isset($conf->global->HRM_MAXRANK) ? $conf->global->HRM_MAXRANK : Skill::DEFAULT_MAX_RANK_PER_SKILL; diff --git a/htdocs/hrm/position.php b/htdocs/hrm/position.php index 2205753cefb2a..a18853491dd28 100644 --- a/htdocs/hrm/position.php +++ b/htdocs/hrm/position.php @@ -54,7 +54,7 @@ $id = GETPOST('id', 'int'); $ref = GETPOST('ref', 'alpha'); -$fk_job = GETPOST('fk_job', 'int'); +$fk_job = (GETPOSTISSET('fk_job') ? GETPOST('fk_job', 'int') : $id); $fk_user = GETPOST('fk_user', 'int'); //$start_date = date('Y-m-d', GETPOST('date_startyear', 'int').'-'.GETPOST('date_startmonth', 'int').'-'.GETPOST('date_startday', 'int')); $start_date = dol_mktime(0, 0, 0, GETPOST('date_startmonth', 'int'), GETPOST('date_startday', 'int'), GETPOST('date_startyear', 'int')); @@ -177,8 +177,10 @@ $error = 0; $backurlforlist = dol_buildpath('/hrm/position_list.php', 1); - //$backtopage = dol_buildpath('/hrm/position.php', 1) . '?fk_job=' . ($fk_job > 0 ? $fk_job : '__ID__'); - + $idBacktoPage = GETPOST('fk_job', 'aZ09'); + if ($idBacktoPage > 0) { + $backtopage = dol_buildpath('/hrm/position.php', 1) . '?id=' . $idBacktoPage; + } if (empty($backtopage) || ($cancel && empty($id))) { if (empty($backtopage) || ($cancel && strpos($backtopage, '__ID__'))) { if (empty($id) && (($action != 'add' && $action != 'create') || $cancel)) { @@ -235,7 +237,9 @@ */ $title = $langs->trans("Position"); +//$help_url="EN:Module_Position|FR:Module_Position_FR|ES:Módulo_Position"; $help_url = ''; + llxHeader('', $title, $help_url); $now = dol_now(); @@ -253,7 +257,6 @@ if ($backtopage) { print ''; } - if ($backtopageforcancel) { print ''; } @@ -278,7 +281,6 @@ //dol_set_focus('input[name="ref"]'); } - if ($job->id > 0 && (empty($action) || ($action != 'edit' && $action != 'create'))) { if ($backtopage) { print ''; @@ -335,13 +337,6 @@ $object = $objectposition; - //$help_url="EN:Module_Position|FR:Module_Position_FR|ES:Módulo_Position"; - $help_url = ''; - $title = $langs->trans("Positions"); - $morejs = array(); - $morecss = array(); - - // Build and execute select // -------------------------------------------------------------------- $sql = 'SELECT '; @@ -505,7 +500,8 @@ print ''; print ''; - $newcardbutton = dolGetButtonTitle($langs->trans('New'), '', 'fa fa-plus-circle', dol_buildpath('/hrm/position.php', 1).'?action=create&backtopage='.urlencode($_SERVER['PHP_SELF']).'&fk_job='.((int) $fk_job), '', $permissiontoadd); + $newcardbutton = ''; + $newcardbutton .= dolGetButtonTitle($langs->trans('New'), '', 'fa fa-plus-circle', dol_buildpath('/hrm/position.php', 1).'?action=create&backtopage='.urlencode($_SERVER['PHP_SELF']).'&fk_job='.((int) $fk_job), '', $permissiontoadd); print_barre_liste($title, $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, $massactionbutton, $num, $nbtotalofrecords, 'object_' . $object->picto, 0, $newcardbutton, '', $limit, 0, 0, 1); @@ -771,567 +767,6 @@ } - - -/** - * Show a list of positions for the current job - * - * @return void - */ -function DisplayPositionList() -{ - global $user, $langs, $db, $conf, $extrafields, $hookmanager, $permissiontoadd, $permissiontodelete; - - $action = GETPOST('action', 'aZ09') ? GETPOST('action', 'aZ09') : 'view'; // The action 'add', 'create', 'edit', 'update', 'view', ... - $massaction = GETPOST('massaction', 'alpha'); // The bulk action (combo box choice into lists) - $show_files = GETPOST('show_files', 'int'); // Show files area generated by bulk actions ? - $confirm = GETPOST('confirm', 'alpha'); // Result of a confirmation - $cancel = GETPOST('cancel', 'alpha'); // We click on a Cancel button - $toselect = GETPOST('toselect', 'array'); // Array of ids of elements selected into a list - $contextpage = GETPOST('contextpage', 'aZ') ? GETPOST('contextpage', 'aZ') : 'positionlist'; // To manage different context of search - $optioncss = GETPOST('optioncss', 'aZ'); // Option for the css output (always '' except when 'print') - $id = GETPOST('id', 'int'); - $fk_job = GETPOST('fk_job', 'int'); - - // Load variable for pagination - $limit = GETPOST('limit', 'int') ? GETPOST('limit', 'int') : $conf->liste_limit; - $sortfield = GETPOST('sortfield', 'aZ09comma'); - $sortorder = GETPOST('sortorder', 'aZ09comma'); - $page = GETPOSTISSET('pageplusone') ? (GETPOST('pageplusone') - 1) : GETPOST("page", 'int'); - if (empty($page) || $page < 0 || GETPOST('button_search', 'alpha') || GETPOST('button_removefilter', 'alpha')) { - // If $page is not defined, or '' or -1 or if we click on clear filters - $page = 0; - } - $offset = $limit * $page; - $pageprev = $page - 1; - $pagenext = $page + 1; - - // Initialize technical objects - $object = new Position($db); - - $extrafields = new ExtraFields($db); - $diroutputmassaction = $conf->hrm->dir_output . '/temp/massgeneration/' . $user->id; - $hookmanager->initHooks(array('positiontablist')); // Note that conf->hooks_modules contains array - - // Fetch optionals attributes and labels - $extrafields->fetch_name_optionals_label($object->table_element); - //$extrafields->fetch_name_optionals_label($object->table_element_line); - - $search_array_options = $extrafields->getOptionalsFromPost($object->table_element, '', 'search_'); - - // Default sort order (if not yet defined by previous GETPOST) - if (!$sortfield) { - reset($object->fields); // Reset is required to avoid key() to return null. - $sortfield = "t." . key($object->fields); // Set here default search field. By default 1st field in definition. - } - if (!$sortorder) { - $sortorder = "ASC"; - } - - // Initialize array of search criterias - $search_all = GETPOST('search_all', 'alphanohtml') ? GETPOST('search_all', 'alphanohtml') : GETPOST('sall', 'alphanohtml'); - $search = array(); - foreach ($object->fields as $key => $val) { - if (GETPOST('search_' . $key, 'alpha') !== '') { - $search[$key] = GETPOST('search_' . $key, 'alpha'); - } - if (preg_match('/^(date|timestamp|datetime)/', $val['type'])) { - $search[$key . '_dtstart'] = dol_mktime(0, 0, 0, GETPOST('search_' . $key . '_dtstartmonth', 'int'), GETPOST('search_' . $key . '_dtstartday', 'int'), GETPOST('search_' . $key . '_dtstartyear', 'int')); - $search[$key . '_dtend'] = dol_mktime(23, 59, 59, GETPOST('search_' . $key . '_dtendmonth', 'int'), GETPOST('search_' . $key . '_dtendday', 'int'), GETPOST('search_' . $key . '_dtendyear', 'int')); - } - } - - // List of fields to search into when doing a "search in all" - $fieldstosearchall = array(); - foreach ($object->fields as $key => $val) { - if (!empty($val['searchall'])) { - $fieldstosearchall['t.' . $key] = $val['label']; - } - } - - // Definition of array of fields for columns - $arrayfields = array(); - foreach ($object->fields as $key => $val) { - // If $val['visible']==0, then we never show the field - if (!empty($val['visible'])) { - $visible = (int) dol_eval($val['visible'], 1, 1, '1'); - $arrayfields['t.' . $key] = array( - 'label' => $val['label'], - 'checked' => (($visible < 0) ? 0 : 1), - 'enabled' => ($visible != 3 && dol_eval($val['enabled'], 1, 1, '1')), - 'position' => $val['position'], - 'help' => isset($val['help']) ? $val['help'] : '' - ); - } - } - // Extra fields - include DOL_DOCUMENT_ROOT . '/core/tpl/extrafields_list_array_fields.tpl.php'; - - $object->fields = dol_sort_array($object->fields, 'position'); - $arrayfields = dol_sort_array($arrayfields, 'position'); - - // Security check - if (empty($conf->hrm->enabled)) { - accessforbidden('Module not enabled'); - } - - // Security check (enable the most restrictive one) - if ($user->socid > 0) accessforbidden(); - //if ($user->socid > 0) accessforbidden(); - //$socid = 0; if ($user->socid > 0) $socid = $user->socid; - //$isdraft = (($object->status == $object::STATUS_DRAFT) ? 1 : 0); - //restrictedArea($user, $object->element, $object->id, $object->table_element, '', 'fk_soc', 'rowid', $isdraft); - //if (empty($conf->hrm->enabled)) accessforbidden(); - //if (!$permissiontoread) accessforbidden(); - - - // Build and execute select - // -------------------------------------------------------------------- - $sql = 'SELECT '; - $sql .= $object->getFieldList('t'); - // Add fields from extrafields - if (!empty($extrafields->attributes[$object->table_element]['label'])) { - foreach ($extrafields->attributes[$object->table_element]['label'] as $key => $val) { - $sql .= ($extrafields->attributes[$object->table_element]['type'][$key] != 'separate' ? ", ef." . $key . " as options_" . $key . ', ' : ''); - } - } - // Add fields from hooks - $parameters = array(); - $reshook = $hookmanager->executeHooks('printFieldListSelect', $parameters, $object); // Note that $action and $object may have been modified by hook - $sql .= $hookmanager->resPrint; - $sql = preg_replace('/,\s*$/', '', $sql); - $sql .= " FROM " . MAIN_DB_PREFIX . $object->table_element . " as t"; - if (isset($extrafields->attributes[$object->table_element]['label']) && is_array($extrafields->attributes[$object->table_element]['label']) && count($extrafields->attributes[$object->table_element]['label'])) { - $sql .= " LEFT JOIN " . MAIN_DB_PREFIX . $object->table_element . "_extrafields as ef on (t.rowid = ef.fk_object)"; - } - // Add table from hooks - $parameters = array(); - $reshook = $hookmanager->executeHooks('printFieldListFrom', $parameters, $object); // Note that $action and $object may have been modified by hook - $sql .= $hookmanager->resPrint; - if ($object->ismultientitymanaged == 1) { - $sql .= " WHERE t.entity IN (" . getEntity($object->element) . ")"; - } else { - $sql .= " WHERE 1 = 1"; - } - $sql .= " AND t.fk_job = " . ((int) $fk_job) . " "; - - foreach ($search as $key => $val) { - if (array_key_exists($key, $object->fields)) { - if ($key == 'status' && $search[$key] == -1) { - continue; - } - $mode_search = (($object->isInt($object->fields[$key]) || $object->isFloat($object->fields[$key])) ? 1 : 0); - if ((strpos($object->fields[$key]['type'], 'integer:') === 0) || (strpos($object->fields[$key]['type'], 'sellist:') === 0) || !empty($object->fields[$key]['arrayofkeyval'])) { - if ($search[$key] == '-1' || $search[$key] === '0') { - $search[$key] = ''; - } - $mode_search = 2; - } - if ($search[$key] != '') { - $sql .= natural_search($key, $search[$key], (($key == 'status') ? 2 : $mode_search)); - } - } else { - if (preg_match('/(_dtstart|_dtend)$/', $key) && $search[$key] != '') { - $columnName = preg_replace('/(_dtstart|_dtend)$/', '', $key); - if (preg_match('/^(date|timestamp|datetime)/', $object->fields[$columnName]['type'])) { - if (preg_match('/_dtstart$/', $key)) { - $sql .= " AND t." . $columnName . " >= '" . $db->idate($search[$key]) . "'"; - } - if (preg_match('/_dtend$/', $key)) { - $sql .= " AND t." . $columnName . " <= '" . $db->idate($search[$key]) . "'"; - } - } - } - } - } - if ($search_all) { - $sql .= natural_search(array_keys($fieldstosearchall), $search_all); - } - //$sql.= dolSqlDateFilter("t.field", $search_xxxday, $search_xxxmonth, $search_xxxyear); - // Add where from extra fields - include DOL_DOCUMENT_ROOT . '/core/tpl/extrafields_list_search_sql.tpl.php'; - // Add where from hooks - $parameters = array(); - $reshook = $hookmanager->executeHooks('printFieldListWhere', $parameters, $object); // Note that $action and $object may have been modified by hook - $sql .= $hookmanager->resPrint; - - /* If a group by is required - $sql .= " GROUP BY "; - foreach($object->fields as $key => $val) { - $sql .= "t.".$key.", "; - } - // Add fields from extrafields - if (!empty($extrafields->attributes[$object->table_element]['label'])) { - foreach ($extrafields->attributes[$object->table_element]['label'] as $key => $val) { - $sql .= ($extrafields->attributes[$object->table_element]['type'][$key] != 'separate' ? "ef.".$key.', ' : ''); - } - } - // Add where from hooks - $parameters = array(); - $reshook = $hookmanager->executeHooks('printFieldListGroupBy', $parameters, $object); // Note that $action and $object may have been modified by hook - $sql .= $hookmanager->resPrint; - $sql = preg_replace('/,\s*$/', '', $sql); - */ - - $sql .= $db->order($sortfield, $sortorder); - - // Count total nb of records - $nbtotalofrecords = ''; - if (!getDolGlobalInt('MAIN_DISABLE_FULL_SCANLIST')) { - $resql = $db->query($sql); - $nbtotalofrecords = $db->num_rows($resql); - if (($page * $limit) > $nbtotalofrecords) { // if total of record found is smaller than page * limit, goto and load page 0 - $page = 0; - $offset = 0; - } - } - // if total of record found is smaller than limit, no need to do paging and to restart another select with limits set. - if (is_numeric($nbtotalofrecords) && ($limit > $nbtotalofrecords || empty($limit))) { - $num = $nbtotalofrecords; - } else { - if ($limit) { - $sql .= $db->plimit($limit + 1, $offset); - } - - $resql = $db->query($sql); - if (!$resql) { - dol_print_error($db); - exit; - } - - $num = $db->num_rows($resql); - } - - // Direct jump if only one record found - if ($num == 1 && !empty($conf->global->MAIN_SEARCH_DIRECT_OPEN_IF_ONLY_ONE) && $search_all && !$page) { - $obj = $db->fetch_object($resql); - $id = $obj->rowid; - header("Location: " . dol_buildpath('/hrm/position.php', 1) . '?id=' . $id); - exit; - } - - $arrayofselected = is_array($toselect) ? $toselect : array(); - - $param = 'fk_job='.$fk_job; - if (!empty($contextpage) && $contextpage != $_SERVER["PHP_SELF"]) { - $param .= '&contextpage='.urlencode($contextpage); - } - if ($limit > 0 && $limit != $conf->liste_limit) { - $param .= '&limit='.((int) $limit); - } - foreach ($search as $key => $val) { - if (is_array($search[$key]) && count($search[$key])) { - foreach ($search[$key] as $skey) { - $param .= '&search_'.$key.'[]='.urlencode($skey); - } - } else { - $param .= '&search_'.$key.'='.urlencode($search[$key]); - } - } - if ($optioncss != '') { - $param .= '&optioncss='.urlencode($optioncss); - } - // Add $param from extra fields - include DOL_DOCUMENT_ROOT . '/core/tpl/extrafields_list_search_param.tpl.php'; - // Add $param from hooks - $parameters = array(); - $reshook = $hookmanager->executeHooks('printFieldListSearchParam', $parameters, $object); // Note that $action and $object may have been modified by hook - $param .= $hookmanager->resPrint; - - // List of mass actions available - $arrayofmassactions = array( - //'validate'=>img_picto('', 'check', 'class="pictofixedwidth"').$langs->trans("Validate"), - //'generate_doc'=>img_picto('', 'pdf', 'class="pictofixedwidth"').$langs->trans("ReGeneratePDF"), - //'builddoc'=>img_picto('', 'pdf', 'class="pictofixedwidth"').$langs->trans("PDFMerge"), - //'presend'=>img_picto('', 'email', 'class="pictofixedwidth"').$langs->trans("SendByMail"), - ); - if ($permissiontodelete) { - $arrayofmassactions['predelete'] = img_picto('', 'delete', 'class="pictofixedwidth"') . $langs->trans("Delete"); - } - if (GETPOST('nomassaction', 'int') || in_array($massaction, array('presend', 'predelete'))) { - $arrayofmassactions = array(); - } - $massactionbutton = $form->selectMassAction('', $arrayofmassactions); - - print '
' . "\n"; - if ($optioncss != '') { - print ''; - } - print ''; - print ''; - print ''; - print ''; - print ''; - print ''; - print ''; - print ''; - - $newcardbutton = dolGetButtonTitle($langs->trans('New'), '', 'fa fa-plus-circle', dol_buildpath('/hrm/position.php', 1).'?action=create&backtopage='.urlencode($_SERVER['PHP_SELF']).'&fk_job='.((int) $fk_job), '', $permissiontoadd); - - print_barre_liste($title, $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, $massactionbutton, $num, $nbtotalofrecords, 'object_' . $object->picto, 0, $newcardbutton, '', $limit, 0, 0, 1); - - // Add code for pre mass action (confirmation or email presend form) - $topicmail = "SendPositionRef"; - $modelmail = "position"; - $objecttmp = new Position($db); - $trackid = 'xxxx' . $object->id; - include DOL_DOCUMENT_ROOT . '/core/tpl/massactions_pre.tpl.php'; - - if ($search_all) { - foreach ($fieldstosearchall as $key => $val) { - $fieldstosearchall[$key] = $langs->trans($val); - } - print '
' . $langs->trans("FilterOnInto", $search_all) . join(', ', $fieldstosearchall) . '
'; - } - - $moreforfilter = ''; - /*$moreforfilter.='
'; - $moreforfilter.= $langs->trans('MyFilter') . ': '; - $moreforfilter.= '
';*/ - - $parameters = array(); - $reshook = $hookmanager->executeHooks('printFieldPreListTitle', $parameters, $object); // Note that $action and $object may have been modified by hook - if (empty($reshook)) { - $moreforfilter .= $hookmanager->resPrint; - } else { - $moreforfilter = $hookmanager->resPrint; - } - - if (!empty($moreforfilter)) { - print '
'; - print $moreforfilter; - print '
'; - } - - $varpage = empty($contextpage) ? $_SERVER["PHP_SELF"] : $contextpage; - $selectedfields = $form->multiSelectArrayWithCheckbox('selectedfields', $arrayfields, $varpage); // This also change content of $arrayfields - $selectedfields .= (count($arrayofmassactions) ? $form->showCheckAddButtons('checkforselect', 1) : ''); - - print '
'; // You can use div-table-responsive-no-min if you dont need reserved height for your table - print '' . "\n"; - - - // Fields title search - // -------------------------------------------------------------------- - print ''; - foreach ($object->fields as $key => $val) { - $cssforfield = (empty($val['csslist']) ? (empty($val['css']) ? '' : $val['css']) : $val['csslist']); - if ($key == 'status') { - $cssforfield .= ($cssforfield ? ' ' : '') . 'center'; - } elseif (in_array($val['type'], array('date', 'datetime', 'timestamp'))) { - $cssforfield .= ($cssforfield ? ' ' : '') . 'center'; - } elseif (in_array($val['type'], array('timestamp'))) { - $cssforfield .= ($cssforfield ? ' ' : '') . 'nowrap'; - } elseif (in_array($val['type'], array('double(24,8)', 'double(6,3)', 'integer', 'real', 'price')) && $val['label'] != 'TechnicalID' && empty($val['arrayofkeyval'])) { - $cssforfield .= ($cssforfield ? ' ' : '') . 'right'; - } - if (!empty($arrayfields['t.' . $key]['checked'])) { - print ''; - } - } - // Extra fields - include DOL_DOCUMENT_ROOT . '/core/tpl/extrafields_list_search_input.tpl.php'; - - // Fields from hook - $parameters = array('arrayfields' => $arrayfields); - $reshook = $hookmanager->executeHooks('printFieldListOption', $parameters, $object); // Note that $action and $object may have been modified by hook - print $hookmanager->resPrint; - // Action column - print ''; - print '' . "\n"; - - - // Fields title label - // -------------------------------------------------------------------- - print ''; - foreach ($object->fields as $key => $val) { - $cssforfield = (empty($val['csslist']) ? (empty($val['css']) ? '' : $val['css']) : $val['csslist']); - if ($key == 'status') { - $cssforfield .= ($cssforfield ? ' ' : '') . 'center'; - } elseif (in_array($val['type'], array('date', 'datetime', 'timestamp'))) { - $cssforfield .= ($cssforfield ? ' ' : '') . 'center'; - } elseif (in_array($val['type'], array('timestamp'))) { - $cssforfield .= ($cssforfield ? ' ' : '') . 'nowrap'; - } elseif (in_array($val['type'], array('double(24,8)', 'double(6,3)', 'integer', 'real', 'price')) && $val['label'] != 'TechnicalID' && empty($val['arrayofkeyval'])) { - $cssforfield .= ($cssforfield ? ' ' : '') . 'right'; - } - if (!empty($arrayfields['t.' . $key]['checked'])) { - print getTitleFieldOfList($arrayfields['t.' . $key]['label'], 0, $_SERVER['PHP_SELF'], 't.' . $key, '', $param, ($cssforfield ? 'class="' . $cssforfield . '"' : ''), $sortfield, $sortorder, ($cssforfield ? $cssforfield . ' ' : '')) . "\n"; - } - } - // Extra fields - include DOL_DOCUMENT_ROOT . '/core/tpl/extrafields_list_search_title.tpl.php'; - // Hook fields - $parameters = array('arrayfields' => $arrayfields, 'param' => $param, 'sortfield' => $sortfield, 'sortorder' => $sortorder); - $reshook = $hookmanager->executeHooks('printFieldListTitle', $parameters, $object); // Note that $action and $object may have been modified by hook - print $hookmanager->resPrint; - // Action column - print getTitleFieldOfList($selectedfields, 0, $_SERVER["PHP_SELF"], '', '', '', '', $sortfield, $sortorder, 'center maxwidthsearch ') . "\n"; - print '' . "\n"; - - // Detect if we need a fetch on each output line - $needToFetchEachLine = 0; - if (isset($extrafields->attributes[$object->table_element]['computed']) && is_array($extrafields->attributes[$object->table_element]['computed']) && count($extrafields->attributes[$object->table_element]['computed']) > 0) { - foreach ($extrafields->attributes[$object->table_element]['computed'] as $key => $val) { - if (!is_null($val) && preg_match('/\$object/', $val)) { - $needToFetchEachLine++; // There is at least one compute field that use $object - } - } - } - - - // Loop on record - // -------------------------------------------------------------------- - $i = 0; - $totalarray = array(); - $totalarray['nbfield'] = 0; - while ($i < ($limit ? min($num, $limit) : $num)) { - $obj = $db->fetch_object($resql); - if (empty($obj)) { - break; // Should not happen - } - - // Store properties in $object - $object->setVarsFromFetchObj($obj); - - // Show here line of result - print ''; - foreach ($object->fields as $key => $val) { - $cssforfield = (empty($val['csslist']) ? (empty($val['css']) ? '' : $val['css']) : $val['csslist']); - if (in_array($val['type'], array('date', 'datetime', 'timestamp'))) { - $cssforfield .= ($cssforfield ? ' ' : '') . 'center'; - } elseif ($key == 'status') { - $cssforfield .= ($cssforfield ? ' ' : '') . 'center'; - } - - if (in_array($val['type'], array('timestamp'))) { - $cssforfield .= ($cssforfield ? ' ' : '') . 'nowrap'; - } elseif ($key == 'ref') { - $cssforfield .= ($cssforfield ? ' ' : '') . 'nowrap'; - } - - if (in_array($val['type'], array('double(24,8)', 'double(6,3)', 'integer', 'real', 'price')) && !in_array($key, array('rowid', 'status')) && empty($val['arrayofkeyval'])) { - $cssforfield .= ($cssforfield ? ' ' : '') . 'right'; - } - //if (in_array($key, array('fk_soc', 'fk_user', 'fk_warehouse'))) $cssforfield = 'tdoverflowmax100'; - - if (!empty($arrayfields['t.' . $key]['checked'])) { - print ''; - if ($key == 'status') { - print $object->getLibStatut(5); - } elseif ($key == 'rowid') { - print $object->getNomUrl(1); - } else { - print $object->showOutputField($val, $key, $object->$key, ''); - } - print ''; - if (!$i) { - $totalarray['nbfield']++; - } - if (!empty($val['isameasure']) && $val['isameasure'] == 1) { - if (!$i) { - $totalarray['pos'][$totalarray['nbfield']] = 't.' . $key; - } - if (!isset($totalarray['val'])) { - $totalarray['val'] = array(); - } - if (!isset($totalarray['val']['t.' . $key])) { - $totalarray['val']['t.' . $key] = 0; - } - $totalarray['val']['t.' . $key] += $object->$key; - } - } - } - // Extra fields - include DOL_DOCUMENT_ROOT . '/core/tpl/extrafields_list_print_fields.tpl.php'; - // Fields from hook - $parameters = array('arrayfields' => $arrayfields, 'object' => $object, 'obj' => $obj, 'i' => $i, 'totalarray' => &$totalarray); - $reshook = $hookmanager->executeHooks('printFieldListValue', $parameters, $object); // Note that $action and $object may have been modified by hook - print $hookmanager->resPrint; - // Action column - print ''; - if (!$i) { - $totalarray['nbfield']++; - } - - print '' . "\n"; - - $i++; - } - - // Show total line - include DOL_DOCUMENT_ROOT . '/core/tpl/list_print_total.tpl.php'; - - // If no record found - if ($num == 0) { - $colspan = 1; - foreach ($arrayfields as $key => $val) { - if (!empty($val['checked'])) { - $colspan++; - } - } - print ''; - } - - - $db->free($resql); - - $parameters = array('arrayfields' => $arrayfields, 'sql' => $sql); - $reshook = $hookmanager->executeHooks('printFieldListFooter', $parameters, $object); // Note that $action and $object may have been modified by hook - print $hookmanager->resPrint; - - print '
'; - if (!empty($val['arrayofkeyval']) && is_array($val['arrayofkeyval'])) { - print $form->selectarray('search_' . $key, $val['arrayofkeyval'], (isset($search[$key]) ? $search[$key] : ''), $val['notnull'], 0, 0, '', 1, 0, 0, '', 'maxwidth100', 1); - } elseif ((strpos($val['type'], 'integer:') === 0) || (strpos($val['type'], 'sellist:') === 0)) { - print $object->showInputField($val, $key, (isset($search[$key]) ? $search[$key] : ''), '', '', 'search_', 'maxwidth125', 1); - } elseif (!preg_match('/^(date|timestamp|datetime)/', $val['type'])) { - print ''; - } elseif (preg_match('/^(date|timestamp|datetime)/', $val['type'])) { - print '
'; - print $form->selectDate($search[$key . '_dtstart'] ? $search[$key . '_dtstart'] : '', "search_" . $key . "_dtstart", 0, 0, 1, '', 1, 0, 0, '', '', '', '', 1, '', $langs->trans('From')); - print '
'; - print '
'; - print $form->selectDate($search[$key . '_dtend'] ? $search[$key . '_dtend'] : '', "search_" . $key . "_dtend", 0, 0, 1, '', 1, 0, 0, '', '', '', '', 1, '', $langs->trans('to')); - print '
'; - } - print '
'; - $searchpicto = $form->showFilterButtons(); - print $searchpicto; - print '
'; - if ($massactionbutton || $massaction) { // If we are in select mode (massactionbutton defined) or if we have already selected and sent an action ($massaction) defined - $selected = 0; - if (in_array($object->id, $arrayofselected)) { - $selected = 1; - } - print ''; - } - print '
' . $langs->trans("NoRecordFound") . '
' . "\n"; - print '
' . "\n"; - - print '
' . "\n"; - - if (in_array('builddoc', $arrayofmassactions) && ($nbtotalofrecords === '' || $nbtotalofrecords)) { - $hidegeneratedfilelistifempty = 1; - if ($massaction == 'builddoc' || $action == 'remove_file' || $show_files) { - $hidegeneratedfilelistifempty = 0; - } - - require_once DOL_DOCUMENT_ROOT . '/core/class/html.formfile.class.php'; - $formfile = new FormFile($db); - - // Show list of available documents - $urlsource = $_SERVER['PHP_SELF'] . '?sortfield=' . $sortfield . '&sortorder=' . $sortorder; - $urlsource .= str_replace('&', '&', $param); - - $filedir = $diroutputmassaction; - $genallowed = $permissiontoread; - $delallowed = $permissiontoadd; - - print $formfile->showdocuments('massfilesarea_hrm', '', $filedir, $urlsource, 0, $delallowed, '', 1, 1, 0, 48, 1, $param, $title, '', '', '', null, $hidegeneratedfilelistifempty); - } -} - // End of page llxFooter(); $db->close(); diff --git a/htdocs/hrm/position_card.php b/htdocs/hrm/position_card.php index d46548a4693db..76f21e7d244ed 100644 --- a/htdocs/hrm/position_card.php +++ b/htdocs/hrm/position_card.php @@ -142,7 +142,7 @@ } } - $triggermodname = 'hrm_POSITION_MODIFY'; // Name of trigger action code to execute when we modify record + $triggermodname = 'HRM_POSITION_MODIFY'; // Name of trigger action code to execute when we modify record // Actions cancel, add, update, update_extras, confirm_validate, confirm_delete, confirm_deleteline, confirm_clone, confirm_close, confirm_setdraft, confirm_reopen include DOL_DOCUMENT_ROOT . '/core/actions_addupdatedelete.inc.php'; @@ -167,7 +167,7 @@ } // Actions to send emails - $triggersendname = 'hrm_POSITION_SENTBYMAIL'; + $triggersendname = 'HRM_POSITION_SENTBYMAIL'; $autocopy = 'MAIN_MAIL_AUTOCOPY_POSITION_TO'; $trackid = 'position' . $object->id; include DOL_DOCUMENT_ROOT . '/core/actions_sendmails.inc.php'; @@ -193,6 +193,7 @@ function displayPositionCard(&$object) global $user, $langs, $db, $conf, $extrafields, $hookmanager, $action, $permissiontoadd, $permissiontodelete; $id = $object->id; + $ref = $object->ref; /* * View diff --git a/htdocs/hrm/position_list.php b/htdocs/hrm/position_list.php index dad14763a7d98..c043643f99606 100644 --- a/htdocs/hrm/position_list.php +++ b/htdocs/hrm/position_list.php @@ -435,6 +435,7 @@ $newcardbutton = ''; $newcardbutton .= dolGetButtonTitle($langs->trans('ViewList'), '', 'fa fa-bars imgforviewmode', $_SERVER["PHP_SELF"].'?mode=common'.preg_replace('/(&|\?)*mode=[^&]+/', '', $param), '', ((empty($mode) || $mode == 'common') ? 2 : 1), array('morecss'=>'reposition')); $newcardbutton .= dolGetButtonTitle($langs->trans('ViewKanban'), '', 'fa fa-th-list imgforviewmode', $_SERVER["PHP_SELF"].'?mode=kanban'.preg_replace('/(&|\?)*mode=[^&]+/', '', $param), '', ($mode == 'kanban' ? 2 : 1), array('morecss'=>'reposition')); +$newcardbutton .= dolGetButtonTitleSeparator(); $newcardbutton .= dolGetButtonTitle($langs->trans('New'), '', 'fa fa-plus-circle', dol_buildpath('/hrm/position.php', 1).'?action=create', '', $permissiontoadd); print_barre_liste($title, $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, $massactionbutton, $num, $nbtotalofrecords, 'object_'.$object->picto, 0, $newcardbutton, '', $limit, 0, 0, 1); @@ -636,14 +637,15 @@ $userstatic->login = $obj->login; $userstatic->photo = $obj->photo; - // output kanban + // Output kanban + $selected = -1; if ($massactionbutton || $massaction) { // If we are in select mode (massactionbutton defined) or if we have already selected and sent an action ($massaction) defined $selected = 0; if (in_array($object->id, $arrayofselected)) { $selected = 1; } - print $object->getKanbanView('', array('user' => $userstatic->getNomUrl(-1), 'job'=> $jobstatic->getNomUrl(1), 'selected' => in_array($object->id, $arrayofselected))); } + print $object->getKanbanView('', array('user' => $userstatic->getNomUrl(-1), 'job'=> $jobstatic->getNomUrl(1), 'selected' => $selected)); if ($i == ($imaxinloop - 1)) { print '
'; print ''; diff --git a/htdocs/hrm/skill_card.php b/htdocs/hrm/skill_card.php index ab287ec115d9b..30a64871fd968 100644 --- a/htdocs/hrm/skill_card.php +++ b/htdocs/hrm/skill_card.php @@ -124,7 +124,7 @@ } } - $triggermodname = 'hrm_SKILL_MODIFY'; // Name of trigger action code to execute when we modify record + $triggermodname = 'HRM_SKILL_MODIFY'; // Name of trigger action code to execute when we modify record // Actions cancel, add, update, update_extras, confirm_validate, confirm_delete, confirm_deleteline, confirm_clone, confirm_close, confirm_setdraft, confirm_reopen @@ -175,6 +175,16 @@ $autocopy = 'MAIN_MAIL_AUTOCOPY_SKILL_TO'; $trackid = 'skill' . $object->id; include DOL_DOCUMENT_ROOT . '/core/actions_sendmails.inc.php'; + + if ($action == 'confirm_clone' && $confirm != 'yes') { + $action = ''; + } + + if ($action == 'confirm_clone' && $confirm == 'yes' && $permissiontoadd) { + $id = $result->id; + header("Location: ".$_SERVER["PHP_SELF"]."?id=".$id); + exit; + } } @@ -377,11 +387,12 @@ if ($action == 'deleteline') { $formconfirm = $form->formconfirm($_SERVER["PHP_SELF"] . '?id=' . $object->id . '&lineid=' . $lineid, $langs->trans('DeleteLine'), $langs->trans('ConfirmDeleteLine'), 'confirm_deleteline', '', 0, 1); } - // Clone confirmation - if ($action == 'clone') { - // Create an array for form - $formquestion = array(); - $formconfirm = $form->formconfirm($_SERVER["PHP_SELF"] . '?id=' . $object->id, $langs->trans('ToClone'), $langs->trans('ConfirmCloneAsk', $object->ref), 'confirm_clone', $formquestion, 'yes', 1); + // Confirmation clone + if ($action === 'clone') { + $formquestion = array( + array('type' => 'text', 'name' => 'clone_label', 'label' => $langs->trans("Label"), 'value' => $langs->trans("CopyOf").' '.$object->label), + ); + $formconfirm = $form->formconfirm($_SERVER["PHP_SELF"].'?id='.$object->id, $langs->trans('ToClone'), $langs->trans('ConfirmCloneAsk', $object->label), 'confirm_clone', $formquestion, 'yes', 1, 280); } // Confirmation of action xxxx @@ -465,6 +476,10 @@ print dolGetButtonAction($langs->trans('Modify'), '', 'default', $_SERVER["PHP_SELF"] . '?id=' . $object->id . '&action=edit&token=' . newToken(), '', $permissiontoadd); + // Clone + if ($permissiontoadd) { + print dolGetButtonAction('', $langs->trans('ToClone'), 'default', $_SERVER["PHP_SELF"].'?action=clone&token='.newToken().'&id='.$object->id, ''); + } // Delete (need delete permission, or if draft, just need create/modify permission) print dolGetButtonAction($langs->trans('Delete'), '', 'delete', $_SERVER['PHP_SELF'] . '?id=' . $object->id . '&action=delete&token=' . newToken(), '', $permissiontodelete); } @@ -578,7 +593,7 @@ $title = $langs->transnoentitiesnoconv("Skilldets"); $morejs = array(); $morecss = array(); - $nbtotalofrecords = 0; + $nbtotalofrecords = ''; // Build and execute select // -------------------------------------------------------------------- @@ -678,7 +693,7 @@ print getTitleFieldOfList($arrayfields['t.' . $key]['label'], 0, $_SERVER['PHP_SELF'], 't.' . $key, '', $param, (!empty($cssforfield) ? 'class="' . $cssforfield . '"' : ''), $sortfield, $sortorder, (!empty($cssforfield) ? $cssforfield . ' ' : '')) . "\n"; } } - print ''; + //print ''; print ''; print '' . "\n"; @@ -724,7 +739,7 @@ //if (in_array($key, array('fk_soc', 'fk_user', 'fk_warehouse'))) $cssforfield = 'tdoverflowmax100'; if (!empty($arrayfields['t.' . $key]['checked'])) { - print ''; + print ''; if ($key == 'status') { print $objectline->getLibStatut(5); } elseif ($key == 'rowid') { diff --git a/htdocs/hrm/skill_list.php b/htdocs/hrm/skill_list.php index b4dee2ee3aad0..059bfb1d038f2 100644 --- a/htdocs/hrm/skill_list.php +++ b/htdocs/hrm/skill_list.php @@ -44,7 +44,6 @@ // Get Parameters -$id = GETPOST('id', 'int'); $action = GETPOST('action', 'aZ09') ?GETPOST('action', 'aZ09') : 'view'; // The action 'add', 'create', 'edit', 'update', 'view', ... $massaction = GETPOST('massaction', 'alpha'); // The bulk action (combo box choice into lists) $show_files = GETPOST('show_files', 'int'); // Show files area generated by bulk actions ? @@ -54,7 +53,10 @@ $contextpage = GETPOST('contextpage', 'aZ') ? GETPOST('contextpage', 'aZ') : 'skilllist'; // To manage different context of search $backtopage = GETPOST('backtopage', 'alpha'); // Go back to a dedicated page $optioncss = GETPOST('optioncss', 'aZ'); // Option for the css output (always '' except when 'print') -$mode = GETPOST('mode', 'alpha'); +$mode = GETPOST('mode', 'alpha'); // for mode view result + +$id = GETPOST('id', 'int'); + // Load variable for pagination $limit = GETPOST('limit', 'int') ? GETPOST('limit', 'int') : $conf->liste_limit; $sortfield = GETPOST('sortfield', 'aZ09comma'); @@ -139,12 +141,12 @@ $arrayfields = dol_sort_array($arrayfields, 'position'); // Permissions -$permissiontoread = $user->rights->hrm->all->read; -$permissiontoadd = $user->rights->hrm->all->write; -$permissiontodelete = $user->rights->hrm->all->delete; +$permissiontoread = $user->hasRight('hrm', 'all', 'read'); +$permissiontoadd = $user->hasRight('hrm', 'all', 'write'); +$permissiontodelete = $user->hasRight('hrm', 'all', 'delete'); // Security check -if (empty($conf->hrm->enabled)) { +if (!isModEnabled('hrm')) { accessforbidden('Module not enabled'); } @@ -154,7 +156,7 @@ //$socid = 0; if ($user->socid > 0) $socid = $user->socid; //$isdraft = (($object->status == $object::STATUS_DRAFT) ? 1 : 0); //restrictedArea($user, $object->element, $object->id, $object->table_element, '', 'fk_soc', 'rowid', $isdraft); -if (empty($conf->hrm->enabled)) accessforbidden(); +//if (empty($conf->hrm->enabled)) accessforbidden(); if (!$permissiontoread) accessforbidden(); @@ -286,6 +288,7 @@ if ($search_all) { $sql .= natural_search(array_keys($fieldstosearchall), $search_all); } + //$sql.= dolSqlDateFilter("t.field", $search_xxxday, $search_xxxmonth, $search_xxxyear); // Add where from extra fields include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_list_search_sql.tpl.php'; @@ -476,7 +479,7 @@ } $varpage = empty($contextpage) ? $_SERVER["PHP_SELF"] : $contextpage; -$selectedfields = $form->multiSelectArrayWithCheckbox('selectedfields', $arrayfields, $varpage, getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN', '')); // This also change content of $arrayfields +$selectedfields = ($mode != 'kanban' ? $form->multiSelectArrayWithCheckbox('selectedfields', $arrayfields, $varpage, getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN', '')) : ''); // This also change content of $arrayfields $selectedfields .= (count($arrayofmassactions) ? $form->showCheckAddButtons('checkforselect', 1) : ''); print '
'; // You can use div-table-responsive-no-min if you dont need reserved height for your table @@ -550,6 +553,7 @@ // Fields title label // -------------------------------------------------------------------- print ''; +// Action column if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { print getTitleFieldOfList(($mode != 'kanban' ? $selectedfields : ''), 0, $_SERVER["PHP_SELF"], '', '', '', '', $sortfield, $sortorder, 'center maxwidthsearch ')."\n"; $totalarray['nbfield']++; @@ -622,13 +626,15 @@ $object->skill_type = $obj->skill_type; $object->description = $obj->description; + // Output Kanban + $selected = -1; if ($massactionbutton || $massaction) { // If we are in select mode (massactionbutton defined) or if we have already selected and sent an action ($massaction) defined $selected = 0; if (in_array($object->id, $arrayofselected)) { $selected = 1; } } - print $object->getKanbanView('', array('selected' => in_array($obj->id, $arrayofselected))); + print $object->getKanbanView('', array('selected' => $selected)); if ($i == ($imaxinloop - 1)) { print '
'; print ''; diff --git a/htdocs/hrm/skill_tab.php b/htdocs/hrm/skill_tab.php index 83841b6258de8..63aa46535e8ad 100644 --- a/htdocs/hrm/skill_tab.php +++ b/htdocs/hrm/skill_tab.php @@ -37,6 +37,8 @@ require_once DOL_DOCUMENT_ROOT . '/hrm/class/skill.class.php'; require_once DOL_DOCUMENT_ROOT . '/hrm/class/skillrank.class.php'; require_once DOL_DOCUMENT_ROOT . '/hrm/lib/hrm_skill.lib.php'; +require_once DOL_DOCUMENT_ROOT .'/hrm/class/evaluation.class.php'; +require_once DOL_DOCUMENT_ROOT.'/hrm/lib/hrm_evaluation.lib.php'; // Load translation files required by the page $langs->loadLangs(array('hrm', 'other')); @@ -77,15 +79,24 @@ // Load object include DOL_DOCUMENT_ROOT . '/core/actions_fetchobject.inc.php'; // Must be include, not include_once. +if (method_exists($object, 'loadPersonalConf')) { + $object->loadPersonalConf(); +} // Permissions $permissiontoread = $user->hasRight('hrm', 'all', 'read'); $permissiontoadd = $user->hasRight('hrm', 'all', 'write'); // Used by the include of actions_addupdatedelete.inc.php and actions_lineupdown.inc.php // Security check (enable the most restrictive one) -if ($user->socid > 0) accessforbidden(); -if (empty($conf->hrm->enabled)) accessforbidden(); -if (!$permissiontoread) accessforbidden(); +if ($user->socid > 0) { + accessforbidden(); +} +if (!isModEnabled('hrm')) { + accessforbidden(); +} +if (!$permissiontoread) { + accessforbidden(); +} /* @@ -129,7 +140,6 @@ setEventMessage('ErrNoSkillSelected', 'errors'); $error++; } - if (!$error) { foreach ($TSkillsToAdd as $k=>$v) { $skillAdded = new SkillRank($db); @@ -263,7 +273,17 @@ } // table of skillRank linked to current object - $TSkillsJob = $skill->fetchAll('ASC', 't.rowid', 0, 0, array('customsql' => 'fk_object=' . ((int) $id) . " AND objecttype='" . $db->escape($objecttype) . "'")); + //$TSkillsJob = $skill->fetchAll('ASC', 't.rowid', 0, 0); + $sql_skill = "SELECT sr.fk_object, sr.rowid, s.label,s.skill_type, sr.rankorder, sr.fk_skill"; + $sql_skill .=" FROM ".MAIN_DB_PREFIX."hrm_skillrank AS sr"; + $sql_skill .=" JOIN ".MAIN_DB_PREFIX."hrm_skill AS s ON sr.fk_skill = s.rowid"; + $sql_skill .= " AND sr.fk_object = ".((int) $id); + $result = $db->query($sql_skill); + $numSkills = $db->num_rows($result); + for ($i=0; $i < $numSkills; $i++) { + $objSkillRank = $db->fetch_object($result); + $TSkillsJob[] = $objSkillRank; + } $TAlreadyUsedSkill = array(); if (is_array($TSkillsJob) && !empty($TSkillsJob)) { @@ -351,7 +371,8 @@ print '

'; if ($objecttype != 'user' && $permissiontoadd) { - // form pour ajouter des compétences + // form to add new skills + print '
'; print '
'; print ''; print ''; @@ -381,54 +402,133 @@ print ''; print ''; } - print '
'; - print ''; - print ''; - print ''; - print ''; - print ''; - print ''; - if ($objecttype === 'job') { - print ''; - print ''; - } - print ''; - if (!is_array($TSkillsJob) || empty($TSkillsJob)) { - print ''; - } else { - $sk = new Skill($db); - foreach ($TSkillsJob as $skillElement) { - $sk->fetch($skillElement->fk_skill); - print ''; - print ''; - print ''; - if ($objecttype != 'user' && $permissiontoadd) { - print ''; - print ''; + print ''; + if ($objecttype != 'user' && $permissiontoadd) print ''; } - print '
'.$langs->trans('SkillType').''.$langs->trans('Label').''.$langs->trans('Description').''.$langs->trans($objecttype === 'job' ? 'RequiredRank' : 'EmployeeRank').'
' . $langs->trans("NoRecordFound") . '
'; - print Skill::typeCodeToLabel($sk->skill_type); - print ''; - print $sk->getNomUrl(1); - print ''; - print $sk->description; - print ''; - print displayRankInfos($skillElement->rankorder, $skillElement->fk_skill, 'TNote', $objecttype == 'job' && $permissiontoadd ? 'edit' : 'view'); - print ''; - print 'id . '">'; - print img_delete(); - print ''; + if ($objecttype != 'user') { + print '
'; + print ''; + print ''; + print ''; + print ''; + print ''; + print ''; + if ($objecttype === 'job') { + print ''; + print ''; + } + print ''; + if (!is_array($TSkillsJob) || empty($TSkillsJob)) { + print ''; + } else { + $sk = new Skill($db); + foreach ($TSkillsJob as $skillElement) { + $sk->fetch((int) $skillElement->fk_skill); + print ''; + print ''; + print ''; + if ($objecttype != 'user' && $permissiontoadd) { + print ''; + print ''; + print ''; } - print ''; - print ''; } + + print '
'.$langs->trans('SkillType').''.$langs->trans('Label').''.$langs->trans('Description').''.$langs->trans($objecttype === 'job' ? 'RequiredRank' : 'EmployeeRank').'
' . $langs->trans("NoRecordFound") . '
'; + print Skill::typeCodeToLabel($sk->skill_type); + print ''; + print $sk->getNomUrl(1); + print ''; + print $sk->description; + print ''; + print displayRankInfos($skillElement->rankorder, $skillElement->fk_skill, 'TNote', $objecttype == 'job' && $permissiontoadd ? 'edit' : 'view'); + print ''; + print 'id . '">'; + print img_delete(); + print ''; + } + print '
'; + if ($objecttype != 'user' && $permissiontoadd) print '
'; - if ($objecttype != 'user' && $permissiontoadd) print ''; - print '
'; - if ($objecttype != 'user' && $permissiontoadd) print ''; + // liste des evaluation liées + if ($objecttype == 'user' && $permissiontoadd) { + $evaltmp = new Evaluation($db); + $job = new Job($db); + $sql = "select e.rowid,e.ref,e.fk_user,e.fk_job,e.date_eval,ed.rankorder,ed.required_rank,ed.fk_skill,s.label"; + $sql .= " FROM ".MAIN_DB_PREFIX."hrm_evaluation as e"; + $sql .= ", ".MAIN_DB_PREFIX."hrm_evaluationdet as ed"; + $sql .= ", ".MAIN_DB_PREFIX."hrm_skill as s"; + $sql .= " WHERE e.rowid = ed.fk_evaluation"; + $sql .= " AND s.rowid = ed.fk_skill"; + $sql .= " AND e.fk_user = ".((int) $id); + $sql .= " AND e.status > 0"; + $resql = $db->query($sql); + $num = $db->num_rows($resql); + + print_barre_liste($langs->trans("Evaluations"), $page, $_SERVER["PHP_SELF"], '', '', '', '', $num, $num, $evaltmp->picto, 0); + + print '
'; + print ''; + print ''; + print ''; + print ''; + print ''; + print ''; + print ''; + print ''; + if (!$resql) { + print ''; + } else { + $i = 0; + $sameRef = array(); + $objects = array(); + while ($i < $num) { + $obj = $db->fetch_object($resql); + $obj->result = getRankOrderResults($obj); + $objects[$i] = $obj; + $i++; + } + //grouped skills by evaluation + $resultArray = getGroupedEval($objects); + foreach ($resultArray as $object) { + if (is_array($object)) { + $evaltmp->fetch($object[0]->rowid); + $evaltmp->id = $object[0]->rowid; + $evaltmp->ref = $object[0]->ref; + $job->fetch($object[0]->fk_job); + } else { + $evaltmp->ref = $object->ref; + $evaltmp->fetch($object->rowid); + $evaltmp->id = $object->rowid; + $job->fetch($object->fk_job); + } - // liste des compétences liées + print ''; + print ''; + print ''; + print ''; + print ''; + } + } + print '
'.$langs->trans('Label').''.$langs->trans('Description').''.$langs->trans('DateEval').''.$langs->trans('Status').''.$langs->trans("Result").' ' .$form->textwithpicto('', GetLegendSkills(), 1) .'
' . $langs->trans("NoRecordFound") . '
'; + print $evaltmp->getNomUrl(1); + print ''; + print $job->getNomUrl(1); + print ''; + print dol_print_date((!is_array($object) ? $object->date_eval : $object[0]->date_eval), 'day', 'tzserver'); + print ''; + print $evaltmp->getLibStatut(2); + print ''; + if (!is_array($object)) { + print $object->result; + } else { + foreach ($object as $skill) { + print $skill->result; + } + } + print '
'; + } print dol_get_fiche_end(); diff --git a/htdocs/includes/ckeditor/ckeditor/ckeditor.js b/htdocs/includes/ckeditor/ckeditor/ckeditor.js index 0e787fb484815..c94de0a136a84 100644 --- a/htdocs/includes/ckeditor/ckeditor/ckeditor.js +++ b/htdocs/includes/ckeditor/ckeditor/ckeditor.js @@ -736,7 +736,7 @@ m)):g+="off";m=this.name||this.command;var h=null,t=this.icon;n=m;this.icon&&!/\ " "+k.aria:"",titleJs:q.gecko&&!q.hc?"":(this.title||"").replace("'",""),hasArrow:"string"===typeof this.hasArrow&&this.hasArrow||(this.hasArrow?"true":"false"),keydownFn:x,focusFn:y,clickFn:l,style:CKEDITOR.skin.getIconStyle(h,"rtl"==a.lang.dir,t,this.iconOffset),arrowHtml:this.hasArrow?v.output():"",hasArrowAriaHtml:this.hasArrow?' aria-expanded\x3d"false"':"",toggleAriaHtml:this.isToggle?'aria-pressed\x3d"false"':""};w.output(g,b);if(this.onRender)this.onRender();return e},setState:function(a){if(this._.state== a)return!1;this._.state=a;var b=CKEDITOR.document.getById(this._.id);return b?(b.setState(a,"cke_button"),b.setAttribute("aria-disabled",a==CKEDITOR.TRISTATE_DISABLED),this.isToggle&&!this.hasArrow&&b.setAttribute("aria-pressed",a===CKEDITOR.TRISTATE_ON),!0):!1},getState:function(){return this._.state},toFeature:function(a){if(this._.feature)return this._.feature;var b=this;this.allowedContent||this.requiredContent||!this.command||(b=a.getCommand(this.command)||b);return this._.feature=b}};CKEDITOR.ui.prototype.addButton= function(a,b){this.add(a,CKEDITOR.UI_BUTTON,b)}})();(function(){function D(b){function d(){for(var a=f(),e=CKEDITOR.tools.clone(b.config.toolbarGroups)||v(b),n=0;nb.order?-1:0>a.order?1:a.orderb.order?-1:0>a.order?1:a.orderL`, `$cholesky->Lᵀ`, `$cholesky->LT` instead. + * `MathPHP\LinearAlgebra\Decomposition\Crout` + * `$crout['L']`, `$crout['U']` removed, use `$crout->L`, `$crout->U` instead. + * `MathPHP\LinearAlgebra\Decomposition\LU` + * `$LU['L']`, `LU['U']`, `LU['P']` removed, use `$LU->L`, `$LU->U`, `$LU->P` instead. + * `MathPHP\LinearAlgebra\Decomposition\QR` + * `$QR['Q']`, `$QR['R']` removed, use `$QR->Q`, `$QR->R` instead. +* Methods renamed (backwards-incompatible change) + * `MathPHP\Statistics\Distance::bhattacharyyaDistance` renamed to `MathPHP\Statistics\Distance::bhattacharyya` + * `MathPHP\Statistics\Distance::hellingerDistance` renamed to `MathPHP\Statistics\Distance::hellinger` +* Moved Functionality (backwards-incompatible change) + * `MathPHP\Functions\Polynomial` moved to `MathPHP\Expression\Polynomial` + * `MathPHP\Functions\Piecewise` moved to `MathPHP\Expression\Piecewise` +* Matrix internal refactoring + * Note: These changes will not affect any client code as long as matrices were created using `MatrixFactory`. + * `Matrix` is not a base abstract class for all matrix classes to extend + * `Matrix` renamed `NumericMatrix` + * `Matrix` base method `createZeroValue` + * Use case is various `ObjectMatrix` classes that implement `ObjectArithmetic` + * `RowVector` removed. Use `MatrixFactory::createFromRowVector` instead + * `ColumnVector` removed. Use `MatrixFactory::createFromColumnVector` instead + +## v1.11.0 - 2021-05-09 + +### Improvements +* Bugfix (Issue 413): Matrix solve with singular matrix using RREF +* Bugfix (Issue 414): PCA/Eigenvalue convergence + +## v1.10.0 - 2020-12-19 + +### Improvements +* Bugfix (Issue 356): Fix Finance IRR NANs + +## v1.9.0 - 2020-12-13 + +### New Features +* Vector min and max +* Arithmetic isqrt (integer square root) + +### Improvements +* Remove Travis CI (Moved CI to Github Actions in v1.8.0 release) +* Rearrange non-code files + +## v1.8.0 - 2020-12-11 + +### Improvements +* Improve permutations algorithm to be more efficient and more numerically stable +* Qualify PHP function names with root namespace +* Move CI to Github Actions + +## v1.7.0 - 2020-11-15 + +### New Features +* Algebra linear equation of one variable +* Rational number inverse +* Rational number pow + +### Improvements +* Improve combinations algorithm to be more efficient and more numerically stable +* Internal Matrix class reorganization + +## v1.6.0 - 2020-10-22 + +### New Features +* Special function regularized lower incomplete gamma +* Cereal sample data set + +### Improvements +* Define boundary condition for lower incomplete gamma function + +## v1.5.0 - 2020-10-12 + +### New Features +* Matrix LU solve +* Matrix QR solve + +### Improvements +* Bugfix (Issue 386) Matrix solve improvements +* Matrix solve has optional method parameter to force a solve method +* Bugfix ArbitraryInteger multiplication sign not taken into account + +## v1.4.0 - 2020-10-02 + +### New Features +* Multivariate Regular Grid Interpolation +* Jensen-Shannon Distance +* Canberra Distance +* Search Sorted +* Search ArgMax +* Search NanArgMax +* Search ArgMin +* Search NanArgMin +* Search NonZero + +### Improvements + * Divergence factored out of Distance into new Divergence class + +### Backwards Incompatible Changes + * Legacy Distance divergences marked as deprecated (To be removed in v2.0.0) + +## v1.3.0 - 2020-08-24 + +### New Features +* LinearAlgebra\Vector + * Angle between two vectors + * L¹ distance of two vectors + * L² distance of two vectors + * Minkowski distance of two vectors +* Statistics\Distance + * Minkowski distance + * Euclidean distance (L² distance) + * Manhattan distance (Taxicab geometry, L¹ distance, etc.) + * Cosine distance + * Cosine similarity + +## v1.2.0 - 2020-07-24 + +### New Features +* Ranking + * Ordinal ranking + * Standard competition ranking + * Modified competition ranking + * Fractional ranking + +### Improvements +* (Issue 380) Fixed Spearman's Rho calculation when there are rank ties + +## v1.1.0 - 2020-04-19 + +### New Features +- Arithmetic modulo + +### Improvements +- Improved matrix multiplication performance using cache-oblivious algorithm optimization + +## v1.0.0 - 2020-04-14 + +Initial version 1.0.0 release! + +## v0.62.0 - 2020-04-08 + +### Improvements +- Internal improvements + +## v0.61.0 - 2020-03-22 + +### New Features +* Multivariate Hypergeometric distribution + +## v0.60.0 - 2020-02-27 + +### New Features +- Sample Data + - MtCars + - Iris + - ToothGrowth + - PlantGrowth + - UsArrests + +## v0.59.0 - 2020-02-19 + +### New Features +- Add population and sample kurtosis +- Changed default kurtosis algorithm to the more common population kurtosis +- kurtosis now takes an optional parameter to set the kurtosis type algorithm + +## v0.58.0 - 2020-02-06 + +### Improvements +* Changed default skewness algorithm to the more common sample skewness +* skewness now takes an optional parameter to set the skewness type algorithm +* Improvements to skewness algorithms + +## v0.57.0 - 2020-01-07 + +### New Features +* Number\Rational basic getters + * getWholePart + * getNumerator + * getDenominator +* Set Theory n-ary Cartesian product + +### Improvements +* Data direction control for Matrix meanDeviation and covarianceMatrix +* Algebra factors performance improvement + +## v0.56.0 - 2019-12-03 + +### New Features +* Number Theory + * isDeficientNumber + * isAbundantNumber + * aliquotSum + * radical + * totient + * cototient + * reducedTotient + * mobius + * isSquarefree + * isRefactorableNumber + * isSphenicNumber + * numberOfDivisors + * sumOfDivisors + +### Improvements +* Optimization of prime factorization algorithm + +## v0.55.0 - 2019-11-19 + +### New Features +- Arbitrary length integers + +### Improvements +- Factorial optimization + +## v0.54.0 - 2019-10-12 + +### New Features +- Matrix isNilpotent +- Matrix isRectangularDiagonal +- Matrix mapRows +- MathPHP logo + +### Improvements +* MatrixFactory random matrix custom lower and upper bounds for random number +* PSR-12 style compliance +* Bugfix: powerIteration random failure - [Issue 346](https://github.com/markrogoyski/math-php/issues/346) + +## v0.53.0 - 2019-09-09 + +### New Features +* Matrix QR decomposition using Householder reflections +* Matrix Householder transformation +* MatrixFactory random matrix +* MatrixFactory givens rotation matrix +* Matrix isIdempotent +* Matrix Eigenvalue power iteration +* Matrix Eigenvalue jacobi method +* Arithmetic root (nᵗʰ root) +* Vector arithmetic multiply and divide +* Vector Iterator interface + +### Improvements +* Internal improvements to Matrix +* Matrix decompositions returned as objects +* Matrix Cholesky decomposition provides L transpose + +## v0.52.0 - 2019-07-11 + +### New Features +* Grubb's test for statistical outliers + +## v0.51.0 - 2019-06-05 + +### New Features +* Matrix rowSums +* Matrix columnSums +* Matrix rowMeans +* Matrix columnMeans +* Matrix isNormal +* MatrixFactory diagonal matrix creation method +* MatrixFactory vandermonde matrix creation method + +### Improvements +* Set custom Matrix tolerances +* Various internal improvements + +### Backwards Incompatible Changes +* Remove Matrix sampleMeans (use rowMeans or columnMeans instead) +* MatrixFactory create method only works with 2d arrays. 1d arrays no longer work. (use diagonal and vandermonde factory methods instead) +* Statistics methods throw exceptions instead of returning null on bad input +* Change return type of LagrangePolynomial to Polynomial + +## v0.50.0 - 2019-04-22 + +### New Features +* Matrix isOrthogonal +* Matrix isEqual +* Harmonic sequence +* Hyperharmonic sequence +* Map\Single reciprocal + +### Improvements +* Support methods for almost equal +* Matrix getDiagonalElements works for non-square matrices +* Use more efficient algorithm in Matrix isSymmetric +* Use more efficient algorithm in Matrix isSkewSymmetric + +### Backwards Incompatible Changes +* Statistics methods throw exceptions instead of returning null on bad input + +## v0.49.0 - 2019-02-23 + +### New Features +- Matrix augmentAbove +- Matrix augmentLeft + +### Improvements +- Object matrix multiplication + +## v0.48.0 - 2018-12-15 + +### New Features +- Matrix submatrix +- Mahalanobis distance +- Bernoulli distribution mean, median, mode and variance +- Binomial distribution mean and variance +- Geometric distribution mean, median, mode and variance +- Hypergeometric distribution mode and variance +- NegativeBinomial (Pascal) distribution CDF, mean, mode and variance +- Poisson distribution mean, median, mode and variance +- Discrete Uniform distribution variance + +### Improvements +- Binomial distribution PMF uses more numerically stable multiplication method +- Fix potential divide by zero in TheilSen regression + +### Backwards Incompatible Changes +- Multinomial distribution moved from Discrete to Multivariate namespace + +## v0.47.0 - 2018-11-21 + +### New Features +* Beta distribution median, mode, variance +* Cauchy distribution variance +* ChiSquared distribution mode, variance +* Exponential distribution median, mode, variance +* F distribution mode, variance +* Gamma distribution median, mode, variance +* Laplace distribution mode, variance +* Logistic distribution mode, vaiance +* LogLogistic distribution median, mode, variance +* LogNormal distribution mode, variance +* Normal distribution mode, variance +* StandardNormal distribution mode, variance +* StudentT distribution mode, variance +* Uniform distribution median, mode, variance +* Weibull distribution median, mode + +### Improvements +* Normal distribution rand algorithm changed to Box–Muller transform + +## v0.46.0 - 2018-10-28 + +### New Features +* NumberTheory isPerfectNumber +* Sequence perfectNumber + +### Improvements +* Improve README documentation for continuous distributions +* Updates to build tools +* General improvements + +## v0.45.0 - 2018-09-24 + +### Improvements +- Add Beta distribution inverse quantile function +- Improvements to Weibull distribution +- Improvements to Cauchy distribution +- Improvements to Laplace distribution +- Improvements to Logistic distribution +- Improvements to LogNormal distribution +- Improvements to Normal distribution +- Improvements to Pareto distribution +- Improvements to Algebra cubic/quartic complex root handling + +## v0.44.0 - 2018-08-29 + +### Improvements +- [[Issue 271]](https://github.com/markrogoyski/math-php/issues/271) Improvements to documentation +- [[Issue 269]](https://github.com/markrogoyski/math-php/issues/269) Add closed-form inverse function for Exponential distribution + +## v0.43.0 - 2018-05-21 + +### New Features +* Arithmetic copySign +* Matrix negate +* Matrix isSkewSymmetric + +## v0.42.0 - 2018-05-09 + +### New Features +* Weighted mean +* Weighted sample variance +* Weighted covariance +* Weighted correlation coefficient + +### Improvements +* Minor code improvements + +## v0.41.0 - 2018-04-23 + +### New Features +* Arithmetic almostEqual + +### Improvements +* Statistics\Average::mode improved to work with non-integer values +* Various minor code improvements + +## v0.40.0 - 2018-03-22 + +### New Features +* Simpler interface for Significance ```tTest``` for one and two samples + +### Improvements +* T test for two samples uses more robust Welch test +* Improvements to Normal and Standard Normal continuous distributions +* General improvements to continuous distributions + +## v0.39.0 - 2018-02-27 + +### Improvements +* Upgrade unit testing framework to PHPUnit 6 +* Update unit tests for PHPUnit 6 compatibility +* Add PHP 7.2 to continuous integration tests + +## v0.38.0 - 2017-12-10 + +### Improvements +* Percentile reimplemented to use linear interpolation between closest ranks method - Second variant, C = 1 +* General code improvements +* Better error and exception handling + +## v0.37.0 - 2017-10-23 + +### Improvements +- Change probability distributions to be objects instead of static methods + +### Backwards Incompatible Changes +- Change probability distributions to be objects instead of static methods + +## v0.36.0 - 2017-09-26 + +### New Features +* Rational number +* Gamma distribution mean + +### Improvements +* Add .gitignore file + +## v0.35.0 - 2017-08-20 + +### New Features +* Matrix isTridiagonal +* Matrix isUpperHessenberg +* Matrix isLowerHessenberg +* Matrix getSuperdiagonalElements +* Matrix getSubdiagonalElements + +### Improvements +* [Issue 242 - documentation improvement](https://github.com/markrogoyski/math-php/issues/242) + +## v0.34.0 - 2017-08-12 + +### New Features +- Multivariate normal distribution + +## v0.33.0 - 2017-08-04 + +### New Features +- Kernel density estimation + +## v0.32.0 - 2017-07-24 + +### New Features +* Matrix Crout decomposition +* Categorical discrete distribution + +## v0.31.0 - 2017-07-02 + +### New Features +* Hypergeometric distribution +* Discrete uniform distribution + +## v0.30.0 - 2017-06-11 + +### New Features +* Dirichlet multivariate distribution +* Gamma distribution +* Initial eigenvalue matrix method +* Initial eigenvector matrix method +* Confidence ellipse + +### Improvements +* Internal Bitwise addition + +## v0.29.0 - 2017-05-21 + +### New Features +- Matrix rank +- ObjectArithmetic interface +- Polynomial implements ObjectArithmetic +- ObjectSquareMatrix +- Polynomial negate + +### Improvements +- Refactor Matrix REF algorithm +- Refactor Matrix RREF algorithm +- Support functions for better handling of infinitesimal floating-point zero-like quantities +- Fix bug in Polynomial degree calculation +- Refactored Polynomial::add() to be simpler and faster + +## v0.28.0 - 2017-05-02 + +### New Features +* Matrix adjugate +* Polynomial subtract + +### Improvements +* Internal refactoring/improvements + * Tests namespace for unit tests + * Standardize method naming convention + * Update PHPUnit exception assertion + * Replace class strings in tests with class constants + +## v0.27.0 - 2017-04-23 + +### New Features +* Matrix + * Cholesky decomposition + * isRref + * Exchange matrix + * isInvolutory + * isSignature + * Hilbert matrix + * isUpperBidiagonal + * isLowerBidiagonal + * isBidiagonal +* Quartic function roots +* Trigonometry unit circle +* Integer + * isOdd + * isEven + +## v0.26.0 - 2017-04-15 + +### New Features +* Initial Complex number class +* Complex number support to quadratic and cubic equations +* Initial Eigenvalue strategy class (2x2 and 3x3 matrices using root equations) +* Matrix + * isLowerTriangular + * isUpperTriangular + * isTriangular + * isDiagonal +* Beta function convenience method + +### Improvements +* Add BadDataException to LeastSquares regression method trait if degrees of freedom is 0 +* Complex Root of Quadratic Function + +## v0.25.0 - 2017-04-01 + +### New Features +* Matrix + * isSingular + * isNonsingular + * isInvertible + * leadingPrincipalMinor + * isPositiveDefinite + * isPositiveSemidefinite + * isNegativeDefinite + * isNegativeSemidefinite +* Number Theory + * Integer coprime +* Arithmetic + * digitSum + * digitalRoot +* Basic sequences + * digitSum + * digitalRoot + +## v0.24.0 - 2017-03-26 + +### New Features +* Arithmetic cube root +* Algebra cubic equation +* Matrix Kronecker sum +* Vector Kronecker product +* Number theory prime factorization + +### Improvements +* Improved quadratic equation edge case handling + +## v0.23.0 - 2017-03-12 + +### New Features +* Number Theory - Integers + * Perfect powers +* Advanced Sequences + * Perfect powers + * Not perfect powers + * Primes up to n +* Algebra + * Quadratic equation + +## v0.22.0 - 2017-01-31 + +### New Features +* Circular statistics (directional statistics) + * Circular mean + * Resultant length + * Mean resultant length + * Circular variance + * Circular standard deviation + * Describe +* Finance profitability index + +### Improvements +* Update Finance payback to be both simple and discounted payback + +## v0.21.0 - 2017-01-23 + +### New Features +* Finance interest payment +* Finance principle payment on an annuity +* Finance payback +* Make files for unit tests, linting, and code coverage + +## v0.20.0 - 2017-01-12 + +### New Features +* Finance net present value +* Finance rate function +* Finance internal rate of return +* Finance modified internal rate of return +* Finance payment periods of an annuity + +### Improvements +* Update Newton's Method to handle non-convergence and infinite slopes. + +## v0.19.0 - 2016-12-31 + +### New Features +* Matrix sample mean +* Matrix mean deviation form +* Covariance matrix +* Matrix representation as array of column vectors +* Finance future value +* Finance present value + +## v0.18.0 - 2016-12-28 + +### New Features +* Joint entropy +* Rényi entropy +* Perplexity +* Matrix scalar division +* Finance: Annual Equivalent Rate (AER) + +### Improvements +* Fix vector pnorm to take absolute value of each element + +### Backwards Incompatible Changes +* Refactor distances and divergences from InformationTheory\Entropy to Statistics\Distance + +## v0.17.0 - 2016-12-21 + +### New Features +* Two-sample z significance test + +## v.0.16.0 - 2016-12-18 + +### New Features +* Information Theory + * Shannon entropy (bits, nats, hartleys) + * Cross entropy + * Bhattacharyya distance + * Kullback-Leibler divergence + * Hellinger distance + * Jensen-Shannon divergence +* Linear Algebra + * vectorMultiply method on Matrix to return Vector when multiply with a Vector + +## v0.15.0 - 2016-11-10 + +### New Features +* Lazy caterer's sequence +* Magic squares sequence + +## v0.14.0 - 2016-10-28 + +### New Features +* Look-and-say sequence + +## v0.13.0 - 2016-10-17 + +### New Features +* Custom exception classes + +### Improvements +* Refactor exceptions to use custom exception classes + +## v0.12.0 - 2016-10-06 + +### New Features +* Softmax function +* Effect size η² (Eta-squared) +* Effect size η²p (Partial eta-squared) +* Effect size ω² (omega-squared) +* Effect size Cohen's ƒ² +* Effect size Cohen's q +* Effect size Cohen's d +* Effect size Hedges' g +* Effect size Glass' Δ (glass' delta) + +### Improvements +* Replace mt_rand with random_int + +## v0.11.0 - 2016-10-01 + +### Backwards Incompatible Changes +* Change root namespace from Math to MathPHP + * (Run composer update to update autoloader) + +## v0.10.0 - 2016-09-28 + +### New Features +* Clamped Cubic Spline Interpolation +* Custom variable in Polynomial class + +## v0.9.0 - 2016-09-27 + +### New Features +* Natural cubic spline interpolation +* Vector direct product + +## v0.8.0 - 2016-09-22 + +### New Features +* Set Theory +* Matrix kronecker product +* Matrix augment below + +### Backwards Incompatible Changes +* Some null return values changed to NAN when computation is invalid + + +## v0.7.0 - 2016-09-19 + +### New Features +* Matrix solve linear system of equations +* Noncentral T distribution +* Piecewise function class +* Initial Finance class (pmt function) +* Vector scalar multiplication +* Vector normalization +* Vector scalar division +* Vector perpendicular operator +* Vector projections +* Vector perp and perp dot product + +### Improvements +* Add getters to Polynomial for degree and coefficients +* Improvements to gamma function + +## v0.6.1 - 2016-09-11 + +### Improvements +* Fix matrix determinant calculation + +## v0.6.0 - 2016-09-10 + +### New Features +* Polynomial class +* Vector cross product + +## v0.5.0 - 2016-09-07 + +### New Features +* Numerical Differentiation (\Math\NumericalAnalysis\NumericalDifferentiation) + * Three Point Formula (\Math\NumericalAnalysis\NumericalDifferentiation\ThreePointFormula) + * Five Point Formula (\Math\NumericalAnalysis\NumericalDifferentiation\FivePointFormula) + * SecondDerivativeMidpointFormula (\Math\NumericalAnalysis\NumericalDifferentiation\SecondDerivativeMidpointFormula) +* Two-way ANOVA (\Math\Statistics\ANOVA) + +## v0.4.0 - 2016-09-07 + +### New Features + +* Nevilles Method (\Math\NumericalAnalysis\Interpolation) +* Newton Polynomial (\Math\NumericalAnalysis\Interpolation) + +## v0.3.0 - 2016-09-06 + +### New Features + +* Lagrange polynomials (\Math\NumericalAnalysis\Interpolation) +* Function arithmetic (\Math\Functions\Arithmetic) + +## v0.2.0 - 2016-09-05 + +### New Features + +* One-way ANOVA (```Math\Statistics\ANOVA```) +* χ² Table (```Math\Probability\Distribution\Table```) +* Five number summary (```Math\Statistics\Descriptive```) +* Simple sum of squares (```Math\Statistics\RandomVariable```) + +### Improvements + +* Refactor probability distribution tables (```Math\Probability\Distribution\Table```) +* Minor refactors + +### Backwards Incompatible Changes + +* Move probability distribution tables to new namespace + * From ```Math\Probability``` to ```Math\Probability\Distribution\Table``` + +## v0.1.0 - 2016-09-02 + +### New Features + + * Algebra + * Functions + - Map + - Special Functions + * Linear Algebra + - Matrix + - Vector + * Numerical Analysis + - Numerical Integration + - Root Finding + * Probability + - Combinatorics + - Distributions + * Continuous + * Discrete + - Standard Normal Table (Z Table) + - t Distribution Table + * Sequences + - Basic + - Advanced + * Statistics + - Averages + - Correlation + - Descriptive + - Distributions + - Experiments + - Random Variables + - Regressions + - Significance Testing \ No newline at end of file diff --git a/htdocs/includes/markrogoyski/math-php/LICENSE.txt b/htdocs/includes/markrogoyski/math-php/LICENSE.txt new file mode 100644 index 0000000000000..9e297cb14d5a6 --- /dev/null +++ b/htdocs/includes/markrogoyski/math-php/LICENSE.txt @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2016 Mark Rogoyski + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/htdocs/includes/markrogoyski/math-php/README.md b/htdocs/includes/markrogoyski/math-php/README.md new file mode 100644 index 0000000000000..71a125b8ed363 --- /dev/null +++ b/htdocs/includes/markrogoyski/math-php/README.md @@ -0,0 +1,2796 @@ +![MathPHP Logo](https://github.com/markrogoyski/math-php/blob/master/docs/image/MathPHPLogo.png?raw=true) + +### MathPHP - Powerful Modern Math Library for PHP + +The only library you need to integrate mathematical functions into your applications. It is a self-contained library in pure PHP with no external dependencies. + +[![Coverage Status](https://coveralls.io/repos/github/markrogoyski/math-php/badge.svg?branch=master)](https://coveralls.io/github/markrogoyski/math-php?branch=master) +[![License](https://poser.pugx.org/markrogoyski/math-php/license)](https://packagist.org/packages/markrogoyski/math-php) + +Features +-------- + * [Algebra](#algebra) + * [Arithmetic](#arithmetic) + * Expression + - [Polynomial](#expression---polynomial) + * [Finance](#finance) + * Functions + - [Map](#functions---map---single-array) + - [Special Functions](#functions---special-functions) + * Information Theory + - [Entropy](#information-theory---entropy) + * Linear Algebra + - [Matrix](#linear-algebra---matrix) + - [Vector](#linear-algebra---vector) + * Numbers + - [Arbitrary Integer](#number---arbitrary-length-integers) + - [Complex](#number---complex-numbers) + - [Quaternion](#number---quaternion) + - [Rational](#number---rational-numbers) + * Number Theory + - [Integers](#number-theory---integers) + * Numerical Analysis + - [Interpolation](#numerical-analysis---interpolation) + - [Numerical Differentiation](#numerical-analysis---numerical-differentiation) + - [Numerical Integration](#numerical-analysis---numerical-integration) + - [Root Finding](#numerical-analysis---root-finding) + * Probability + - [Combinatorics](#probability---combinatorics) + - Distributions + * [Continuous](#probability---continuous-distributions) + * [Discrete](#probability---discrete-distributions) + * [Multivariate](#probability---multivariate-distributions) + * [Tables](#probability---distribution-tables) + * [Sample Data](#sample-data) + * [Search](#search) + * Sequences + - [Basic](#sequences---basic) + - [Advanced](#sequences---advanced) + - [NonInteger](#sequences---non-integer) + * [Set Theory](#set-theory) + * Statistics + - [ANOVA](#statistics---anova) + - [Averages](#statistics---averages) + - [Circular](#statistics---circular) + - [Correlation](#statistics---correlation) + - [Descriptive](#statistics---descriptive) + - [Distance](#statistics---distance) + - [Distributions](#statistics---distributions) + - [Divergence](#statistics---divergence) + - [Effect Size](#statistics---effect-size) + - [Experiments](#statistics---experiments) + - [Kernel Density Estimation](#statistics---kernel-density-estimation) + - Multivariate + * [PCA (Principal Component Analysis)](#statistics---multivariate---principal-component-analysis) + * [PLS (Partial Least Squares Regression)](#statistics---multivariate---partial-least-squares-regression) + - [Outlier](#statistics---outlier) + - [Random Variables](#statistics---random-variables) + - [Regressions](#statistics---regressions) + - [Significance Testing](#statistics---significance-testing) + * [Trigonometry](#trigonometry) + +Setup +----- + + Add the library to your `composer.json` file in your project: + +```javascript +{ + "require": { + "markrogoyski/math-php": "2.*" + } +} +``` + +Use [composer](http://getcomposer.org) to install the library: + +```bash +$ php composer.phar install +``` + +Composer will install MathPHP inside your vendor folder. Then you can add the following to your +.php files to use the library with Autoloading. + +```php +require_once __DIR__ . '/vendor/autoload.php'; +``` + +Alternatively, use composer on the command line to require and install MathPHP: + +``` +$ php composer.phar require markrogoyski/math-php:2.* +``` + +### Minimum Requirements + * PHP 7.2 + + Note: For PHP 7.0 and 7.1, use v1.0 (`markrogoyski/math-php:1.*`) + +Usage +----- + +### Algebra +```php +use MathPHP\Algebra; + +// Greatest common divisor (GCD) +$gcd = Algebra::gcd(8, 12); + +// Extended greatest common divisor - gcd(a, b) = a*a' + b*b' +$gcd = Algebra::extendedGcd(12, 8); // returns array [gcd, a', b'] + +// Least common multiple (LCM) +$lcm = Algebra::lcm(5, 2); + +// Factors of an integer +$factors = Algebra::factors(12); // returns [1, 2, 3, 4, 6, 12] + +// Linear equation of one variable: ax + b = 0 +[$a, $b] = [2, 4]; // 2x + 4 = 0 +$x = Algebra::linear($a, $b); + +// Quadratic equation: ax² + bx + c = 0 +[$a, $b, $c] = [1, 2, -8]; // x² + 2x - 8 +[$x₁, $x₂] = Algebra::quadratic($a, $b, $c); + +// Discriminant: Δ = b² - 4ac +[$a, $b, $c] = [2, 3, 4]; // 3² - 4(2)(4) +$Δ = Algebra::discriminant($a, $b, $c); + +// Cubic equation: z³ + a₂z² + a₁z + a₀ = 0 +[$a₃, $a₂, $a₁, $a₀] = [2, 9, 3, -4]; // 2x³ + 9x² + 3x -4 +[$x₁, $x₂, $x₃] = Algebra::cubic($a₃, $a₂, $a₁, $a₀); + +// Quartic equation: a₄z⁴ + a₃z³ + a₂z² + a₁z + a₀ = 0 +[$a₄, $a₃, $a₂, $a₁, $a₀] = [1, -10, 35, -50, 24]; // z⁴ - 10z³ + 35z² - 50z + 24 = 0 +[$z₁, $z₂, $z₃, $z₄] = Algebra::quartic($a₄, $a₃, $a₂, $a₁, $a₀); +``` + +### Arithmetic +```php +use MathPHP\Arithmetic; + +$√x = Arithmetic::isqrt(8); // 2 Integer square root +$³√x = Arithmetic::cubeRoot(-8); // -2 +$ⁿ√x = Arithmetic::root(81, 4); // nᵗʰ root (4ᵗʰ): 3 + +// Sum of digits +$digit_sum = Arithmetic::digitSum(99); // 18 +$digital_root = Arithmetic::digitalRoot(99); // 9 + +// Equality of numbers within a tolerance +$x = 0.00000003458; +$y = 0.00000003455; +$ε = 0.0000000001; +$almostEqual = Arithmetic::almostEqual($x, $y, $ε); // true + +// Copy sign +$magnitude = 5; +$sign = -3; +$signed_magnitude = Arithmetic::copySign($magnitude, $sign); // -5 + +// Modulo (Differs from PHP remainder (%) operator for negative numbers) +$dividend = 12; +$divisor = 5; +$modulo = Arithmetic::modulo($dividend, $divisor); // 2 +$modulo = Arithmetic::modulo(-$dividend, $divisor); // 3 +``` + +### Expression - Polynomial +```php +use MathPHP\Expression\Polynomial; + +// Polynomial x² + 2x + 3 +$coefficients = [1, 2, 3] +$polynomial = new Polynomial($coefficients); + +// Evaluate for x = 3 +$x = 3; +$y = $polynomial($x); // 18: 3² + 2*3 + 3 + +// Calculus +$derivative = $polynomial->differentiate(); // Polynomial 2x + 2 +$integral = $polynomial->integrate(); // Polynomial ⅓x³ + x² + 3x + +// Arithmetic +$sum = $polynomial->add($polynomial); // Polynomial 2x² + 4x + 6 +$sum = $polynomial->add(2); // Polynomial x² + 2x + 5 +$difference = $polynomial->subtract($polynomial); // Polynomial 0 +$difference = $polynomial->subtract(2); // Polynomial x² + 2x + 1 +$product = $polynomial->multiply($polynomial); // Polynomial x⁴ + 4x³ + 10x² + 12x + 9 +$product = $polynomial->multiply(2); // Polynomial 2x² + 4x + 6 +$negated = $polynomial->negate(); // Polynomial -x² - 2x - 3 + +// Data +$degree = $polynomial->getDegree(); // 2 +$coefficients = $polynomial->getCoefficients(); // [1, 2, 3] + +// String representation +print($polynomial); // x² + 2x + 3 + +// Roots +$polynomial = new Polynomial([1, -3, -4]); +$roots = $polynomial->roots(); // [-1, 4] + +// Companion matrix +$companion = $polynomial->companionMatrix(); +``` + +### Finance +```php +use MathPHP\Finance; + +// Financial payment for a loan or annuity with compound interest +$rate = 0.035 / 12; // 3.5% interest paid at the end of every month +$periods = 30 * 12; // 30-year mortgage +$present_value = 265000; // Mortgage note of $265,000.00 +$future_value = 0; +$beginning = false; // Adjust the payment to the beginning or end of the period +$pmt = Finance::pmt($rate, $periods, $present_value, $future_value, $beginning); + +// Interest on a financial payment for a loan or annuity with compound interest. +$period = 1; // First payment period +$ipmt = Finance::ipmt($rate, $period, $periods, $present_value, $future_value, $beginning); + +// Principle on a financial payment for a loan or annuity with compound interest +$ppmt = Finance::ppmt($rate, $period, $periods, $present_value, $future_value = 0, $beginning); + +// Number of payment periods of an annuity. +$periods = Finance::periods($rate, $payment, $present_value, $future_value, $beginning); + +// Annual Equivalent Rate (AER) of an annual percentage rate (APR) +$nominal = 0.035; // APR 3.5% interest +$periods = 12; // Compounded monthly +$aer = Finance::aer($nominal, $periods); + +// Annual nominal rate of an annual effective rate (AER) +$nomial = Finance::nominal($aer, $periods); + +// Future value for a loan or annuity with compound interest +$payment = 1189.97; +$fv = Finance::fv($rate, $periods, $payment, $present_value, $beginning) + +// Present value for a loan or annuity with compound interest +$pv = Finance::pv($rate, $periods, $payment, $future_value, $beginning) + +// Net present value of cash flows +$values = [-1000, 100, 200, 300, 400]; +$npv = Finance::npv($rate, $values); + +// Interest rate per period of an annuity +$beginning = false; // Adjust the payment to the beginning or end of the period +$rate = Finance::rate($periods, $payment, $present_value, $future_value, $beginning); + +// Internal rate of return +$values = [-100, 50, 40, 30]; +$irr = Finance::irr($values); // Rate of return of an initial investment of $100 with returns of $50, $40, and $30 + +// Modified internal rate of return +$finance_rate = 0.05; // 5% financing +$reinvestment_rate = 0.10; // reinvested at 10% +$mirr = Finance::mirr($values, $finance_rate); // rate of return of an initial investment of $100 at 5% financing with returns of $50, $40, and $30 reinvested at 10% + +// Discounted payback of an investment +$values = [-1000, 100, 200, 300, 400, 500]; +$rate = 0.1; +$payback = Finance::payback($values, $rate); // The payback period of an investment with a $1,000 investment and future returns of $100, $200, $300, $400, $500 and a discount rate of 0.10 + +// Profitability index +$values = [-100, 50, 50, 50]; +$profitability_index = Finance::profitabilityIndex($values, $rate); // The profitability index of an initial $100 investment with future returns of $50, $50, $50 with a 10% discount rate +``` + +### Functions - Map - Single Array +```php +use MathPHP\Functions\Map; + +$x = [1, 2, 3, 4]; + +$sums = Map\Single::add($x, 2); // [3, 4, 5, 6] +$differences = Map\Single::subtract($x, 1); // [0, 1, 2, 3] +$products = Map\Single::multiply($x, 5); // [5, 10, 15, 20] +$quotients = Map\Single::divide($x, 2); // [0.5, 1, 1.5, 2] +$x² = Map\Single::square($x); // [1, 4, 9, 16] +$x³ = Map\Single::cube($x); // [1, 8, 27, 64] +$x⁴ = Map\Single::pow($x, 4); // [1, 16, 81, 256] +$√x = Map\Single::sqrt($x); // [1, 1.414, 1.732, 2] +$∣x∣ = Map\Single::abs($x); // [1, 2, 3, 4] +$maxes = Map\Single::max($x, 3); // [3, 3, 3, 4] +$mins = Map\Single::min($x, 3); // [1, 2, 3, 3] +$reciprocals = Map\Single::reciprocal($x); // [1, 1/2, 1/3, 1/4] +``` + +### Functions - Map - Multiple Arrays +```php +use MathPHP\Functions\Map; + +$x = [10, 10, 10, 10]; +$y = [1, 2, 5, 10]; + +// Map function against elements of two or more arrays, item by item (by item ...) +$sums = Map\Multi::add($x, $y); // [11, 12, 15, 20] +$differences = Map\Multi::subtract($x, $y); // [9, 8, 5, 0] +$products = Map\Multi::multiply($x, $y); // [10, 20, 50, 100] +$quotients = Map\Multi::divide($x, $y); // [10, 5, 2, 1] +$maxes = Map\Multi::max($x, $y); // [10, 10, 10, 10] +$mins = Map\Multi::mins($x, $y); // [1, 2, 5, 10] + +// All functions work on multiple arrays; not limited to just two +$x = [10, 10, 10, 10]; +$y = [1, 2, 5, 10]; +$z = [4, 5, 6, 7]; +$sums = Map\Multi::add($x, $y, $z); // [15, 17, 21, 27] +``` + +### Functions - Special Functions +```php +use MathPHP\Functions\Special; + +// Gamma function Γ(z) +$z = 4; +$Γ = Special::gamma($z); +$Γ = Special::gammaLanczos($z); // Lanczos approximation +$Γ = Special::gammaStirling($z); // Stirling approximation +$l = Special::logGamma($z); +$c = Special::logGammaCorr($z); // Log gamma correction + +// Incomplete gamma functions - γ(s,t), Γ(s,x), P(s,x) +[$x, $s] = [1, 2]; +$γ = Special::lowerIncompleteGamma($x, $s); +$Γ = Special::upperIncompleteGamma($x, $s); +$P = Special::regularizedLowerIncompleteGamma($x, $s); + +// Beta function +[$x, $y] = [1, 2]; +$β = Special::beta($x, $y); +$lβ = Special::logBeta($x, $y); + +// Incomplete beta functions +[$x, $a, $b] = [0.4, 2, 3]; +$B = Special::incompleteBeta($x, $a, $b); +$Iₓ = Special::regularizedIncompleteBeta($x, $a, $b); + +// Multivariate beta function +$αs = [1, 2, 3]; +$β = Special::multivariateBeta($αs); + +// Error function (Gauss error function) +$error = Special::errorFunction(2); // same as erf +$error = Special::erf(2); // same as errorFunction +$error = Special::complementaryErrorFunction(2); // same as erfc +$error = Special::erfc(2); // same as complementaryErrorFunction + +// Hypergeometric functions +$pFq = Special::generalizedHypergeometric($p, $q, $a, $b, $c, $z); +$₁F₁ = Special::confluentHypergeometric($a, $b, $z); +$₂F₁ = Special::hypergeometric($a, $b, $c, $z); + +// Sign function (also known as signum or sgn) +$x = 4; +$sign = Special::signum($x); // same as sgn +$sign = Special::sgn($x); // same as signum + +// Logistic function (logistic sigmoid function) +$x₀ = 2; // x-value of the sigmoid's midpoint +$L = 3; // the curve's maximum value +$k = 4; // the steepness of the curve +$x = 5; +$logistic = Special::logistic($x₀, $L, $k, $x); + +// Sigmoid function +$t = 2; +$sigmoid = Special::sigmoid($t); + +// Softmax function +$𝐳 = [1, 2, 3, 4, 1, 2, 3]; +$σ⟮𝐳⟯ⱼ = Special::softmax($𝐳); + +// Log of the error term in the Stirling-De Moivre factorial series +$err = Special::stirlingError($n); +``` + +### Information Theory - Entropy +```php +use MathPHP\InformationTheory\Entropy; + +// Probability distributions +$p = [0.2, 0.5, 0.3]; +$q = [0.1, 0.4, 0.5]; + +// Shannon entropy +$bits = Entropy::shannonEntropy($p); // log₂ +$nats = Entropy::shannonNatEntropy($p); // ln +$harts = Entropy::shannonHartleyEntropy($p); // log₁₀ + +// Cross entropy +$H⟮p、q⟯ = Entropy::crossEntropy($p, $q); // log₂ + +// Joint entropy +$P⟮x、y⟯ = [1/2, 1/4, 1/4, 0]; +H⟮x、y⟯ = Entropy::jointEntropy($P⟮x、y⟯); // log₂ + +// Rényi entropy +$α = 0.5; +$Hₐ⟮X⟯ = Entropy::renyiEntropy($p, $α); // log₂ + +// Perplexity +$perplexity = Entropy::perplexity($p); // log₂ +``` + +### Linear Algebra - Matrix +```php +use MathPHP\LinearAlgebra\Matrix; +use MathPHP\LinearAlgebra\MatrixFactory; + +// Create an m × n matrix from an array of arrays +$matrix = [ + [1, 2, 3], + [4, 5, 6], + [7, 8, 9], +]; +$A = MatrixFactory::create($matrix); + +// Basic matrix data +$array = $A->getMatrix(); // Original array of arrays +$rows = $A->getM(); // number of rows +$cols = $A->getN(); // number of columns + +// Basic matrix element getters (zero-based indexing) +$row = $A->getRow(2); +$col = $A->getColumn(2); +$Aᵢⱼ = $A->get(2, 2); +$Aᵢⱼ = $A[2][2]; + +// Row operations +[$mᵢ, $mⱼ, $k] = [1, 2, 5]; +$R = $A->rowInterchange($mᵢ, $mⱼ); +$R = $A->rowExclude($mᵢ); // Exclude row $mᵢ +$R = $A->rowMultiply($mᵢ, $k); // Multiply row mᵢ by k +$R = $A->rowDivide($mᵢ, $k); // Divide row mᵢ by k +$R = $A->rowAdd($mᵢ, $mⱼ, $k); // Add k * row mᵢ to row mⱼ +$R = $A->rowAddScalar($mᵢ, $k); // Add k to each item of row mᵢ +$R = $A->rowAddVector($mᵢ, $V); // Add Vector V to row mᵢ +$R = $A->rowSubtract($mᵢ, $mⱼ, $k); // Subtract k * row mᵢ from row mⱼ +$R = $A->rowSubtractScalar($mᵢ, $k); // Subtract k from each item of row mᵢ + +// Column operations +[$nᵢ, $nⱼ, $k] = [1, 2, 5]; +$R = $A->columnInterchange($nᵢ, $nⱼ); +$R = $A->columnExclude($nᵢ); // Exclude column $nᵢ +$R = $A->columnMultiply($nᵢ, $k); // Multiply column nᵢ by k +$R = $A->columnAdd($nᵢ, $nⱼ, $k); // Add k * column nᵢ to column nⱼ +$R = $A->columnAddVector($nᵢ, $V); // Add Vector V to column nᵢ + +// Matrix augmentations - return a new Matrix +$⟮A∣B⟯ = $A->augment($B); // Augment on the right - standard augmentation +$⟮A∣I⟯ = $A->augmentIdentity(); // Augment with the identity matrix +$⟮A∣B⟯ = $A->augmentBelow($B); +$⟮A∣B⟯ = $A->augmentAbove($B); +$⟮B∣A⟯ = $A->augmentLeft($B); + +// Matrix arithmetic operations - return a new Matrix +$A+B = $A->add($B); +$A⊕B = $A->directSum($B); +$A⊕B = $A->kroneckerSum($B); +$A−B = $A->subtract($B); +$AB = $A->multiply($B); +$2A = $A->scalarMultiply(2); +$A/2 = $A->scalarDivide(2); +$−A = $A->negate(); +$A∘B = $A->hadamardProduct($B); +$A⊗B = $A->kroneckerProduct($B); + +// Matrix operations - return a new Matrix +$Aᵀ   = $A->transpose(); +$D   = $A->diagonal(); +$A⁻¹ = $A->inverse(); +$Mᵢⱼ = $A->minorMatrix($mᵢ, $nⱼ); // Square matrix with row mᵢ and column nⱼ removed +$Mk = $A->leadingPrincipalMinor($k); // kᵗʰ-order leading principal minor +$CM = $A->cofactorMatrix(); +$B = $A->meanDeviation(); // optional parameter to specify data direction (variables in 'rows' or 'columns') +$S = $A->covarianceMatrix(); // optional parameter to specify data direction (variables in 'rows' or 'columns') +$adj⟮A⟯ = $A->adjugate(); +$Mᵢⱼ = $A->submatrix($mᵢ, $nᵢ, $mⱼ, $nⱼ) // Submatrix of A from row mᵢ, column nᵢ to row mⱼ, column nⱼ +$H = $A->householder(); + +// Matrix value operations - return a value +$tr⟮A⟯ = $A->trace(); +$|A| = $a->det(); // Determinant +$Mᵢⱼ = $A->minor($mᵢ, $nⱼ); // First minor +$Cᵢⱼ = $A->cofactor($mᵢ, $nⱼ); +$rank⟮A⟯ = $A->rank(); + +// Matrix vector operations - return a new Vector +$AB = $A->vectorMultiply($X₁); +$M = $A->rowSums(); +$M = $A->columnSums(); +$M = $A->rowMeans(); +$M = $A->columnMeans(); + +// Matrix norms - return a value +$‖A‖₁ = $A->oneNorm(); +$‖A‖F = $A->frobeniusNorm(); // Hilbert–Schmidt norm +$‖A‖∞ = $A->infinityNorm(); +$max = $A->maxNorm(); + +// Matrix reductions +$ref = $A->ref(); // Matrix in row echelon form +$rref = $A->rref(); // Matrix in reduced row echelon form + +// Matrix decompositions +// LU decomposition +$LU = $A->luDecomposition(); +$L = $LU->L; // lower triangular matrix +$U = $LU->U; // upper triangular matrix +$P = $LU-P; // permutation matrix + +// QR decomposition +$QR = $A->qrDecomposition(); +$Q = $QR->Q; // orthogonal matrix +$R = $QR->R; // upper triangular matrix + +// SVD (Singular Value Decomposition) +$SVD = $A->svd(); +$U = $A->U; // m x m orthogonal matrix +$V = $A->V; // n x n orthogonal matrix +$S = $A->S; // m x n diagonal matrix of singular values +$D = $A->D; // Vector of diagonal elements from S + +// Crout decomposition +$LU = $A->croutDecomposition(); +$L = $LU->L; // lower triangular matrix +$U = $LU->U; // normalized upper triangular matrix + +// Cholesky decomposition +$LLᵀ = $A->choleskyDecomposition(); +$L = $LLᵀ->L; // lower triangular matrix +$LT = $LLᵀ->LT; // transpose of lower triangular matrix + +// Eigenvalues and eigenvectors +$eigenvalues = $A->eigenvalues(); // array of eigenvalues +$eigenvecetors = $A->eigenvectors(); // Matrix of eigenvectors + +// Solve a linear system of equations: Ax = b +$b = new Vector(1, 2, 3); +$x = $A->solve($b); + +// Map a function over each element +$func = function($x) { + return $x * 2; +}; +$R = $A->map($func); // using closure +$R = $A->map('abs'); // using callable + +// Map a function over each row +$array = $A->mapRows('array_reverse'); // using callable returns matrix-like array of arrays +$array = $A->mapRows('array_sum'); // using callable returns array of aggregate calculations + +// Walk maps a function to all values without mutation or returning a value +$A->walk($func); + +// Matrix comparisons +$bool = $A->isEqual($B); + +// Matrix properties - return a bool +$bool = $A->isSquare(); +$bool = $A->isSymmetric(); +$bool = $A->isSkewSymmetric(); +$bool = $A->isSingular(); +$bool = $A->isNonsingular(); // Same as isInvertible +$bool = $A->isInvertible(); // Same as isNonsingular +$bool = $A->isPositiveDefinite(); +$bool = $A->isPositiveSemidefinite(); +$bool = $A->isNegativeDefinite(); +$bool = $A->isNegativeSemidefinite(); +$bool = $A->isLowerTriangular(); +$bool = $A->isUpperTriangular(); +$bool = $A->isTriangular(); +$bool = $A->isDiagonal(); +$bool = $A->isRectangularDiagonal(); +$bool = $A->isUpperBidiagonal(); +$bool = $A->isLowerBidiagonal(); +$bool = $A->isBidiagonal(); +$bool = $A->isTridiagonal(); +$bool = $A->isUpperHessenberg(); +$bool = $A->isLowerHessenberg(); +$bool = $A->isOrthogonal(); +$bool = $A->isNormal(); +$bool = $A->isIdempotent(); +$bool = $A->isNilpotent(); +$bool = $A->isInvolutory(); +$bool = $A->isSignature(); +$bool = $A->isRef(); +$bool = $A->isRref(); + +// Other representations of matrix data +$vectors = $A->asVectors(); // array of column vectors +$D = $A->getDiagonalElements(); // array of the diagonal elements +$d = $A->getSuperdiagonalElements(); // array of the superdiagonal elements +$d = $A->getSubdiagonalElements(); // array of the subdiagonal elements + +// String representation - Print a matrix +print($A); +/* + [1, 2, 3] + [2, 3, 4] + [3, 4, 5] + */ + +// PHP Predefined Interfaces +$json = json_encode($A); // JsonSerializable +$Aᵢⱼ = $A[$mᵢ][$nⱼ]; // ArrayAccess +``` + +#### Linear Algebra - Matrix Construction (Factory) +```php +$matrix = [ + [1, 2, 3], + [4, 5, 6], + [7, 8, 9], +]; + +// Matrix factory creates most appropriate matrix +$A = MatrixFactory::create($matrix); + +// Matrix factory can create a matrix from an array of column vectors +use MathPHP\LinearAlgebra\Vector; +$X₁ = new Vector([1, 4, 7]); +$X₂ = new Vector([2, 5, 8]); +$X₃ = new Vector([3, 6, 9]); +$A = MatrixFactory::createFromVectors([$X₁, $X₂, $X₃]); + +// Create from row or column vector +$A = MatrixFactory::createFromRowVector([1, 2, 3]); // 1 × n matrix consisting of a single row of n elements +$A = MatrixFactory::createFromColumnVector([1, 2, 3]); // m × 1 matrix consisting of a single column of m elements + +// Specialized matrices +[$m, $n, $k, $angle, $size] = [4, 4, 2, 3.14159, 2]; +$identity_matrix = MatrixFactory::identity($n); // Ones on the main diagonal +$zero_matrix = MatrixFactory::zero($m, $n); // All zeros +$ones_matrix = MatrixFactory::one($m, $n); // All ones +$eye_matrix = MatrixFactory::eye($m, $n, $k); // Ones (or other value) on the k-th diagonal +$exchange_matrix = MatrixFactory::exchange($n); // Ones on the reverse diagonal +$downshift_permutation_matrix = MatrixFactory::downshiftPermutation($n); // Permutation matrix that pushes the components of a vector down one notch with wraparound +$upshift_permutation_matrix = MatrixFactory::upshiftPermutation($n); // Permutation matrix that pushes the components of a vector up one notch with wraparound +$diagonal_matrix = MatrixFactory::diagonal([1, 2, 3]); // 3 x 3 diagonal matrix with zeros above and below the diagonal +$hilbert_matrix = MatrixFactory::hilbert($n); // Square matrix with entries being the unit fractions +$vandermonde_matrix = MatrixFactory::vandermonde([1, 2, 3], 4); // 4 x 3 Vandermonde matrix +$random_matrix = MatrixFactory::random($m, $n); // m x n matrix of random integers +$givens_matrix = MatrixFactory::givens($m, $n, $angle, $size); // givens rotation matrix +``` + +### Linear Algebra - Vector +```php +use MathPHP\LinearAlgebra\Vector; + +// Vector +$A = new Vector([1, 2]); +$B = new Vector([2, 4]); + +// Basic vector data +$array = $A->getVector(); +$n = $A->getN(); // number of elements +$M = $A->asColumnMatrix(); // Vector as an nx1 matrix +$M = $A->asRowMatrix(); // Vector as a 1xn matrix + +// Basic vector elements (zero-based indexing) +$item = $A->get(1); + +// Vector numeric operations - return a value +$sum = $A->sum(); +$│A│ = $A->length(); // same as l2Norm +$max = $A->max(); +$min = $A->min(); +$A⋅B = $A->dotProduct($B); // same as innerProduct +$A⋅B = $A->innerProduct($B); // same as dotProduct +$A⊥⋅B = $A->perpDotProduct($B); +$radAngle = $A->angleBetween($B); // angle in radians +$degAngle = $A->angleBetween($B, $inDegrees = true); // angle in degrees +$taxicabDistance = $A->l1Distance($B); // same as minkowskiDistance($B, 1) +$euclidDistance = $A->l2Distance($B); // same as minkowskiDistance($B, 2) +$minkowskiDistance = $A->minkowskiDistance($B, $p = 2); + +// Vector arithmetic operations - return a Vector +$A+B = $A->add($B); +$A−B = $A->subtract($B); +$A×B = $A->multiply($B); +$A/B = $A->divide($B); +$kA = $A->scalarMultiply($k); +$A/k = $A->scalarDivide($k); + +// Vector operations - return a Vector or Matrix +$A⨂B = $A->outerProduct($B); // Same as direct product +$AB = $A->directProduct($B); // Same as outer product +$AxB = $A->crossProduct($B); +$A⨂B = $A->kroneckerProduct($B); +$ = $A->normalize(); +$A⊥ = $A->perpendicular(); +$projᵇA = $A->projection($B); // projection of A onto B +$perpᵇA = $A->perp($B); // perpendicular of A on B + +// Vector norms - return a value +$l₁norm = $A->l1Norm(); +$l²norm = $A->l2Norm(); +$pnorm = $A->pNorm(); +$max = $A->maxNorm(); + +// String representation +print($A); // [1, 2] + +// PHP standard interfaces +$n = count($A); // Countable +$json = json_encode($A); // JsonSerializable +$Aᵢ = $A[$i]; // ArrayAccess +foreach ($A as $element) { ... } // Iterator +``` + +### Number - Arbitrary Length Integers +```php +use MathPHP\Number; +use MathPHP\Functions; + +// Create arbitrary-length big integers from int or string +$bigInt = new Number\ArbitraryInteger('876937869482938749389832'); + +// Unary functions +$−bigInt = $bigInt->negate(); +$√bigInt = $bigInt->isqrt(); // Integer square root +$│bitInt│ = $bigInt->abs(); // Absolute value +$bigInt! = $bigInt->fact(); +$bool = $bigInt->isPositive(); + +// Binary functions +$sum = $bigInt->add($bigInt); +$difference = $bigInt->subtract($bigInt); +$product = $bigInt->multiply($bigInt); +$quotient = $bigInt->intdiv($divisor); +$mod = $bigInt->mod($divisor); +[$quotient, $mod] = $bigInt->fullIntdiv($divisor); +$pow = $bigInt->pow($exponent); +$shifted = $bigInt->leftShift(2); + +// Comparison functions +$bool = $bigInt->equals($bigInt); +$bool = $bigInt->greaterThan($bigInt); +$bool = $bigInt->lessThan($bigInt); + +// Conversions +$int = $bigInt->toInt(); +$float = $bigInt->toFloat(); +$binary = $bigInt->toBinary(); +$string = (string) $bigInt; + +// Functions +$ackermann = Functions\ArbitraryInteger::ackermann($bigInt); +$randomBigInt = Functions\ArbitaryInteger::rand($intNumberOfBytes); +``` + +### Number - Complex Numbers +```php +use MathPHP\Number\Complex; + +[$r, $i] = [2, 4]; +$complex = new Complex($r, $i); + +// Accessors +$r = $complex->r; +$i = $complex->i; + +// Unary functions +$conjugate = $complex->complexConjugate(); +$│c│ = $complex->abs(); // absolute value (modulus) +$arg⟮c⟯ = $complex->arg(); // argument (phase) +$√c = $complex->sqrt(); // positive square root +[$z₁, $z₂] = $complex->roots(); +$c⁻¹ = $complex->inverse(); +$−c = $complex->negate(); +[$r, $θ] = $complex->polarForm(); + +// Binary functions +$c+c = $complex->add($complex); +$c−c = $complex->subtract($complex); +$c×c = $complex->multiply($complex); +$c/c = $complex->divide($complex); + +// Other functions +$bool = $complex->equals($complex); +$string = (string) $complex; +``` + +### Number - Quaternion +```php +Use MathPHP\Number\Quaternion; + +$r = 4; +$i = 1; +$j = 2; +$k = 3; + +$quaternion = new Quaternion($r, $i, $j, $k); + +// Get individual parts +[$r, $i, $j, $k] = [$quaternion->r, $quaternion->i, $quaternion->j, $quaternion->k]; + +// Unary functions +$conjugate = $quaternion->complexConjugate(); +$│q│ = $quaternion->abs(); // absolute value (magnitude) +$quaternion⁻¹ = $quaternion->inverse(); +$−q = $quaternion->negate(); + +// Binary functions +$q+q = $quaternion->add($quaternion); +$q−q = $quaternion->subtract($quaternion); +$q×q = $quaternion->multiply($quaternion); +$q/q = $quaternion->divide($quaternion); + +// Other functions +$bool = $quaternion->equals($quaternion); +``` + +### Number - Rational Numbers +```php +use MathPHP\Number\Rational; + +$whole = 0; +$numerator = 2; +$denominator = 3; + +$rational = new Rational($whole, $numerator, $denominator); // ²/₃ + +// Get individual parts +$whole = $rational->getWholePart(); +$numerator = $rational->getNumerator(); +$denominator = $rational->getDenominator(); + +// Unary functions +$│rational│ = $rational->abs(); +$inverse = $rational->inverse(); + +// Binary functions +$sum = $rational->add($rational); +$diff = $rational->subtract($rational); +$product = $rational->multiply($rational); +$quotient = $rational->divide($rational); +$exponentiation = $rational->pow(2); + +// Other functions +$bool = $rational->equals($rational); +$float = $rational->toFloat(); +$string = (string) $rational; +``` + +### Number Theory - Integers +```php +use MathPHP\NumberTheory\Integer; + +$n = 225; + +// Prime factorization +$factors = Integer::primeFactorization($n); + +// Divisor function +$int = Integer::numberOfDivisors($n); +$int = Integer::sumOfDivisors($n); + +// Aliquot sums +$int = Integer::aliquotSum($n); // sum-of-divisors - n +$bool = Integer::isPerfectNumber($n); // n = aliquot sum +$bool = Integer::isDeficientNumber($n); // n > aliquot sum +$bool = Integer::isAbundantNumber($n); // n < aliquot sum + +// Totients +$int = Integer::totient($n); // Jordan's totient k=1 (Euler's totient) +$int = Integer::totient($n, 2); // Jordan's totient k=2 +$int = Integer::cototient($n); // Cototient +$int = Integer::reducedTotient($n); // Carmichael's function + +// Möbius function +$int = Integer::mobius($n); + +// Radical/squarefree kernel +$int = Integer::radical($n); + +// Squarefree +$bool = Integer::isSquarefree($n); + +// Refactorable number +$bool = Integer::isRefactorableNumber($n); + +// Sphenic number +$bool = Integer::isSphenicNumber($n); + +// Perfect powers +$bool = Integer::isPerfectPower($n); +[$m, $k] = Integer::perfectPower($n); + +// Coprime +$bool = Integer::coprime(4, 35); + +// Even and odd +$bool = Integer::isEven($n); +$bool = Integer::isOdd($n); +``` + +### Numerical Analysis - Interpolation +```php +use MathPHP\NumericalAnalysis\Interpolation; + +// Interpolation is a method of constructing new data points with the range +// of a discrete set of known data points. +// Each integration method can take input in two ways: +// 1) As a set of points (inputs and outputs of a function) +// 2) As a callback function, and the number of function evaluations to +// perform on an interval between a start and end point. + +// Input as a set of points +$points = [[0, 1], [1, 4], [2, 9], [3, 16]]; + +// Input as a callback function +$f⟮x⟯ = function ($x) { + return $x**2 + 2 * $x + 1; +}; +[$start, $end, $n] = [0, 3, 4]; + +// Lagrange Polynomial +// Returns a function p(x) of x +$p = Interpolation\LagrangePolynomial::interpolate($points); // input as a set of points +$p = Interpolation\LagrangePolynomial::interpolate($f⟮x⟯, $start, $end, $n); // input as a callback function + +$p(0) // 1 +$p(3) // 16 + +// Nevilles Method +// More accurate than Lagrange Polynomial Interpolation given the same input +// Returns the evaluation of the interpolating polynomial at the $target point +$target = 2; +$result = Interpolation\NevillesMethod::interpolate($target, $points); // input as a set of points +$result = Interpolation\NevillesMethod::interpolate($target, $f⟮x⟯, $start, $end, $n); // input as a callback function + +// Newton Polynomial (Forward) +// Returns a function p(x) of x +$p = Interpolation\NewtonPolynomialForward::interpolate($points); // input as a set of points +$p = Interpolation\NewtonPolynomialForward::interpolate($f⟮x⟯, $start, $end, $n); // input as a callback function + +$p(0) // 1 +$p(3) // 16 + +// Natural Cubic Spline +// Returns a piecewise polynomial p(x) +$p = Interpolation\NaturalCubicSpline::interpolate($points); // input as a set of points +$p = Interpolation\NaturalCubicSpline::interpolate($f⟮x⟯, $start, $end, $n); // input as a callback function + +$p(0) // 1 +$p(3) // 16 + +// Clamped Cubic Spline +// Returns a piecewise polynomial p(x) + +// Input as a set of points +$points = [[0, 1, 0], [1, 4, -1], [2, 9, 4], [3, 16, 0]]; + +// Input as a callback function +$f⟮x⟯ = function ($x) { + return $x**2 + 2 * $x + 1; +}; +$f’⟮x⟯ = function ($x) { + return 2*$x + 2; +}; +[$start, $end, $n] = [0, 3, 4]; + +$p = Interpolation\ClampedCubicSpline::interpolate($points); // input as a set of points +$p = Interpolation\ClampedCubicSpline::interpolate($f⟮x⟯, $f’⟮x⟯, $start, $end, $n); // input as a callback function + +$p(0); // 1 +$p(3); // 16 + +// Regular Grid Interpolation +// Returns a scalar + +// Points defining the regular grid +$xs = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; +$ys = [10, 11, 12, 13, 14, 15, 16, 17, 18, 19]; +$zs = [110, 111, 112, 113, 114, 115, 116, 117, 118, 119]; + +// Data on the regular grid in n dimensions +$data = []; +$func = function ($x, $y, $z) { + return 2 * $x + 3 * $y - $z; +}; +foreach ($xs as $i => $x) { + foreach ($ys as $j => $y) { + foreach ($zs as $k => $z) { + $data[$i][$j][$k] = $func($x, $y, $z); + } + } +} + +// Constructing a RegularGridInterpolator +$rgi = new Interpolation\RegularGridInterpolator([$xs, $ys, $zs], $data, 'linear'); // 'nearest' method also available + +// Interpolating coordinates on the regular grid +$coordinates = [2.21, 12.1, 115.9]; +$interpolation = $rgi($coordinates); // -75.18 +``` + +### Numerical Analysis - Numerical Differentiation +```php +use MathPHP\NumericalAnalysis\NumericalDifferentiation; + +// Numerical Differentiation approximates the derivative of a function. +// Each Differentiation method can take input in two ways: +// 1) As a set of points (inputs and outputs of a function) +// 2) As a callback function, and the number of function evaluations to +// perform on an interval between a start and end point. + +// Input as a callback function +$f⟮x⟯ = function ($x) { + return $x**2 + 2 * $x + 1; +}; + +// Three Point Formula +// Returns an approximation for the derivative of our input at our target + +// Input as a set of points +$points = [[0, 1], [1, 4], [2, 9]]; + +$target = 0; +[$start, $end, $n] = [0, 2, 3]; +$derivative = NumericalDifferentiation\ThreePointFormula::differentiate($target, $points); // input as a set of points +$derivative = NumericalDifferentiation\ThreePointFormula::differentiate($target, $f⟮x⟯, $start, $end, $n); // input as a callback function + +// Five Point Formula +// Returns an approximation for the derivative of our input at our target + +// Input as a set of points +$points = [[0, 1], [1, 4], [2, 9], [3, 16], [4, 25]]; + +$target = 0; +[$start, $end, $n] = [0, 4, 5]; +$derivative = NumericalDifferentiation\FivePointFormula::differentiate($target, $points); // input as a set of points +$derivative = NumericalDifferentiation\FivePointFormula::differentiate($target, $f⟮x⟯, $start, $end, $n); // input as a callback function + +// Second Derivative Midpoint Formula +// Returns an approximation for the second derivative of our input at our target + +// Input as a set of points +$points = [[0, 1], [1, 4], [2, 9]; + +$target = 1; +[$start, $end, $n] = [0, 2, 3]; +$derivative = NumericalDifferentiation\SecondDerivativeMidpointFormula::differentiate($target, $points); // input as a set of points +$derivative = NumericalDifferentiation\SecondDerivativeMidpointFormula::differentiate($target, $f⟮x⟯, $start, $end, $n); // input as a callback function +``` + +### Numerical Analysis - Numerical Integration +```php +use MathPHP\NumericalAnalysis\NumericalIntegration; + +// Numerical integration approximates the definite integral of a function. +// Each integration method can take input in two ways: +// 1) As a set of points (inputs and outputs of a function) +// 2) As a callback function, and the number of function evaluations to +// perform on an interval between a start and end point. + +// Trapezoidal Rule (closed Newton-Cotes formula) +$points = [[0, 1], [1, 4], [2, 9], [3, 16]]; +$∫f⟮x⟯dx = NumericalIntegration\TrapezoidalRule::approximate($points); // input as a set of points + +$f⟮x⟯ = function ($x) { + return $x**2 + 2 * $x + 1; +}; +[$start, $end, $n] = [0, 3, 4]; +$∫f⟮x⟯dx = NumericalIntegration\TrapezoidalRule::approximate($f⟮x⟯, $start, $end, $n); // input as a callback function + +// Simpsons Rule (closed Newton-Cotes formula) +$points = [[0, 1], [1, 4], [2, 9], [3, 16], [4,3]]; +$∫f⟮x⟯dx = NumericalIntegration\SimpsonsRule::approximate($points); // input as a set of points + +$f⟮x⟯ = function ($x) { + return $x**2 + 2 * $x + 1; +}; +[$start, $end, $n] = [0, 3, 5]; +$∫f⟮x⟯dx = NumericalIntegration\SimpsonsRule::approximate($f⟮x⟯, $start, $end, $n); // input as a callback function + +// Simpsons 3/8 Rule (closed Newton-Cotes formula) +$points = [[0, 1], [1, 4], [2, 9], [3, 16]]; +$∫f⟮x⟯dx = NumericalIntegration\SimpsonsThreeEighthsRule::approximate($points); // input as a set of points + +$f⟮x⟯ = function ($x) { + return $x**2 + 2 * $x + 1; +}; +[$start, $end, $n] = [0, 3, 5]; +$∫f⟮x⟯dx = NumericalIntegration\SimpsonsThreeEighthsRule::approximate($f⟮x⟯, $start, $end, $n); // input as a callback function + +// Booles Rule (closed Newton-Cotes formula) +$points = [[0, 1], [1, 4], [2, 9], [3, 16], [4, 25]]; +$∫f⟮x⟯dx = NumericalIntegration\BoolesRule::approximate($points); // input as a set of points + +$f⟮x⟯ = function ($x) { + return $x**3 + 2 * $x + 1; +}; +[$start, $end, $n] = [0, 4, 5]; +$∫f⟮x⟯dx = NumericalIntegration\BoolesRuleRule::approximate($f⟮x⟯, $start, $end, $n); // input as a callback function + +// Rectangle Method (open Newton-Cotes formula) +$points = [[0, 1], [1, 4], [2, 9], [3, 16]]; +$∫f⟮x⟯dx = NumericalIntegration\RectangleMethod::approximate($points); // input as a set of points + +$f⟮x⟯ = function ($x) { + return $x**2 + 2 * $x + 1; +}; +[$start, $end, $n] = [0, 3, 4]; +$∫f⟮x⟯dx = NumericalIntegration\RectangleMethod::approximate($f⟮x⟯, $start, $end, $n); // input as a callback function + +// Midpoint Rule (open Newton-Cotes formula) +$points = [[0, 1], [1, 4], [2, 9], [3, 16]]; +$∫f⟮x⟯dx = NumericalIntegration\MidpointRule::approximate($points); // input as a set of points + +$f⟮x⟯ = function ($x) { + return $x**2 + 2 * $x + 1; +}; +[$start, $end, $n] = [0, 3, 4]; +$∫f⟮x⟯dx = NumericalIntegration\MidpointRule::approximate($f⟮x⟯, $start, $end, $n); // input as a callback function +``` + +### Numerical Analysis - Root Finding +```php +use MathPHP\NumericalAnalysis\RootFinding; + +// Root-finding methods solve for a root of a polynomial. + +// f(x) = x⁴ + 8x³ -13x² -92x + 96 +$f⟮x⟯ = function($x) { + return $x**4 + 8 * $x**3 - 13 * $x**2 - 92 * $x + 96; +}; + +// Newton's Method +$args = [-4.1]; // Parameters to pass to callback function (initial guess, other parameters) +$target = 0; // Value of f(x) we a trying to solve for +$tol = 0.00001; // Tolerance; how close to the actual solution we would like +$position = 0; // Which element in the $args array will be changed; also serves as initial guess. Defaults to 0. +$x = RootFinding\NewtonsMethod::solve($f⟮x⟯, $args, $target, $tol, $position); // Solve for x where f(x) = $target + +// Secant Method +$p₀ = -1; // First initial approximation +$p₁ = 2; // Second initial approximation +$tol = 0.00001; // Tolerance; how close to the actual solution we would like +$x = RootFinding\SecantMethod::solve($f⟮x⟯, $p₀, $p₁, $tol); // Solve for x where f(x) = 0 + +// Bisection Method +$a = 2; // The start of the interval which contains a root +$b = 5; // The end of the interval which contains a root +$tol = 0.00001; // Tolerance; how close to the actual solution we would like +$x = RootFinding\BisectionMethod::solve($f⟮x⟯, $a, $b, $tol); // Solve for x where f(x) = 0 + +// Fixed-Point Iteration +// f(x) = x⁴ + 8x³ -13x² -92x + 96 +// Rewrite f(x) = 0 as (x⁴ + 8x³ -13x² + 96)/92 = x +// Thus, g(x) = (x⁴ + 8x³ -13x² + 96)/92 +$g⟮x⟯ = function($x) { + return ($x**4 + 8 * $x**3 - 13 * $x**2 + 96)/92; +}; +$a = 0; // The start of the interval which contains a root +$b = 2; // The end of the interval which contains a root +$p = 0; // The initial guess for our root +$tol = 0.00001; // Tolerance; how close to the actual solution we would like +$x = RootFinding\FixedPointIteration::solve($g⟮x⟯, $a, $b, $p, $tol); // Solve for x where f(x) = 0 +``` + +### Probability - Combinatorics +```php +use MathPHP\Probability\Combinatorics; + +[$n, $x, $k] = [10, 3, 4]; + +// Factorials +$n! = Combinatorics::factorial($n); +$n‼︎ = Combinatorics::doubleFactorial($n); +$x⁽ⁿ⁾ = Combinatorics::risingFactorial($x, $n); +$x₍ᵢ₎ = Combinatorics::fallingFactorial($x, $n); +$!n = Combinatorics::subfactorial($n); + +// Permutations +$nPn = Combinatorics::permutations($n); // Permutations of n things, taken n at a time (same as factorial) +$nPk = Combinatorics::permutations($n, $k); // Permutations of n things, taking only k of them + +// Combinations +$nCk = Combinatorics::combinations($n, $k); // n choose k without repetition +$nC′k = Combinatorics::combinations($n, $k, Combinatorics::REPETITION); // n choose k with repetition (REPETITION const = true) + +// Central binomial coefficient +$cbc = Combinatorics::centralBinomialCoefficient($n); + +// Catalan number +$Cn = Combinatorics::catalanNumber($n); + +// Lah number +$L⟮n、k⟯ = Combinatorics::lahNumber($n, $k) + +// Multinomial coefficient +$groups = [5, 2, 3]; +$divisions = Combinatorics::multinomial($groups); +``` + +### Probability - Continuous Distributions +```php +use MathPHP\Probability\Distribution\Continuous; + +$p = 0.1; + +// Beta distribution +$α = 1; // shape parameter +$β = 1; // shape parameter +$x = 2; +$beta = new Continuous\Beta($α, $β); +$pdf = $beta->pdf($x); +$cdf = $beta->cdf($x); +$icdf = $beta->inverse($p); +$μ = $beta->mean(); +$median = $beta->median(); +$mode = $beta->mode(); +$σ² = $beta->variance(); + +// Cauchy distribution +$x₀ = 2; // location parameter +$γ = 3; // scale parameter +$x = 1; +$cauchy = new Continuous\Cauchy(x₀, γ); +$pdf = $cauchy->pdf(x); +$cdf = $cauchy->cdf(x); +$icdf = $cauchy->inverse($p); +$μ = $cauchy->mean(); +$median = $cauchy->median(); +$mode = $cauchy->mode(); + +// χ²-distribution (Chi-Squared) +$k = 2; // degrees of freedom +$x = 1; +$χ² = new Continuous\ChiSquared($k); +$pdf = $χ²->pdf($x); +$cdf = $χ²->cdf($x); +$μ = $χ²->mean($x); +$median = $χ²->median(); +$mode = $χ²->mode(); +$σ² = $χ²->variance(); + +// Dirac delta distribution +$x = 1; +$dirac = new Continuous\DiracDelta(); +$pdf = $dirac->pdf($x); +$cdf = $dirac->cdf($x); +$icdf = $dirac->inverse($p); +$μ = $dirac->mean(); + +// Exponential distribution +$λ = 1; // rate parameter +$x = 2; +$exponential = new Continuous\Exponential($λ); +$pdf = $exponential->pdf($x); +$cdf = $exponential->cdf($x); +$icdf = $exponential->inverse($p); +$μ = $exponential->mean(); +$median = $exponential->median(); +$σ² = $exponential->variance(); + +// F-distribution +$d₁ = 3; // degree of freedom v1 +$d₂ = 4; // degree of freedom v2 +$x = 2; +$f = new Continuous\F($d₁, $d₂); +$pdf = $f->pdf($x); +$cdf = $f->cdf($x); +$μ = $f->mean(); +$mode = $f->mode(); +$σ² = $f->variance(); + +// Gamma distribution +$k = 2; // shape parameter +$θ = 3; // scale parameter +$x = 4; +$gamma = new Continuous\Gamma($k, $θ); +$pdf = $gamma->pdf($x); +$cdf = $gamma->cdf($x); +$μ = $gamma->mean(); +$median = $gamma->median(); +$mode = $gamma->mode(); +$σ² = $gamma->variance(); + +// Laplace distribution +$μ = 1; // location parameter +$b = 1.5; // scale parameter (diversity) +$x = 1; +$laplace = new Continuous\Laplace($μ, $b); +$pdf = $laplace->pdf($x); +$cdf = $laplace->cdf($x); +$icdf = $laplace->inverse($p); +$μ = $laplace->mean(); +$median = $laplace->median(); +$mode = $laplace->mode(); +$σ² = $laplace->variance(); + +// Logistic distribution +$μ = 2; // location parameter +$s = 1.5; // scale parameter +$x = 3; +$logistic = new Continuous\Logistic($μ, $s); +$pdf = $logistic->pdf($x); +$cdf = $logistic->cdf($x); +$icdf = $logistic->inverse($p); +$μ = $logistic->mean(); +$median = $logistic->median(); +$mode = $logistic->mode(); +$σ² = $logisitic->variance(); + +// Log-logistic distribution (Fisk distribution) +$α = 1; // scale parameter +$β = 1; // shape parameter +$x = 2; +$logLogistic = new Continuous\LogLogistic($α, $β); +$pdf = $logLogistic->pdf($x); +$cdf = $logLogistic->cdf($x); +$icdf = $logLogistic->inverse($p); +$μ = $logLogistic->mean(); +$median = $logLogistic->median(); +$mode = $logLogistic->mode(); +$σ² = $logLogistic->variance(); + +// Log-normal distribution +$μ = 6; // scale parameter +$σ = 2; // location parameter +$x = 4.3; +$logNormal = new Continuous\LogNormal($μ, $σ); +$pdf = $logNormal->pdf($x); +$cdf = $logNormal->cdf($x); +$icdf = $logNormal->inverse($p); +$μ = $logNormal->mean(); +$median = $logNormal->median(); +$mode = $logNormal->mode(); +$σ² = $logNormal->variance(); + +// Noncentral T distribution +$ν = 50; // degrees of freedom +$μ = 10; // noncentrality parameter +$x = 8; +$noncenetralT = new Continuous\NoncentralT($ν, $μ); +$pdf = $noncenetralT->pdf($x); +$cdf = $noncenetralT->cdf($x); +$μ = $noncenetralT->mean(); + +// Normal distribution +$σ = 1; +$μ = 0; +$x = 2; +$normal = new Continuous\Normal($μ, $σ); +$pdf = $normal->pdf($x); +$cdf = $normal->cdf($x); +$icdf = $normal->inverse($p); +$μ = $normal->mean(); +$median = $normal->median(); +$mode = $normal->mode(); +$σ² = $normal->variance(); + +// Pareto distribution +$a = 1; // shape parameter +$b = 1; // scale parameter +$x = 2; +$pareto = new Continuous\Pareto($a, $b); +$pdf = $pareto->pdf($x); +$cdf = $pareto->cdf($x); +$icdf = $pareto->inverse($p); +$μ = $pareto->mean(); +$median = $pareto->median(); +$mode = $pareto->mode(); +$σ² = $pareto->variance(); + +// Standard normal distribution +$z = 2; +$standardNormal = new Continuous\StandardNormal(); +$pdf = $standardNormal->pdf($z); +$cdf = $standardNormal->cdf($z); +$icdf = $standardNormal->inverse($p); +$μ = $standardNormal->mean(); +$median = $standardNormal->median(); +$mode = $standardNormal->mode(); +$σ² = $standardNormal->variance(); + +// Student's t-distribution +$ν = 3; // degrees of freedom +$p = 0.4; // proportion of area +$x = 2; +$studentT = new Continuous\StudentT::pdf($ν); +$pdf = $studentT->pdf($x); +$cdf = $studentT->cdf($x); +$t = $studentT->inverse2Tails($p); // t such that the area greater than t and the area beneath -t is p +$μ = $studentT->mean(); +$median = $studentT->median(); +$mode = $studentT->mode(); +$σ² = $studentT->variance(); + +// Uniform distribution +$a = 1; // lower boundary of the distribution +$b = 4; // upper boundary of the distribution +$x = 2; +$uniform = new Continuous\Uniform($a, $b); +$pdf = $uniform->pdf($x); +$cdf = $uniform->cdf($x); +$μ = $uniform->mean(); +$median = $uniform->median(); +$mode = $uniform->mode(); +$σ² = $uniform->variance(); + +// Weibull distribution +$k = 1; // shape parameter +$λ = 2; // scale parameter +$x = 2; +$weibull = new Continuous\Weibull($k, $λ); +$pdf = $weibull->pdf($x); +$cdf = $weibull->cdf($x); +$icdf = $weibull->inverse($p); +$μ = $weibull->mean(); +$median = $weibull->median(); +$mode = $weibull->mode(); + +// Other CDFs - All continuous distributions - Replace {$distribution} with desired distribution. +$between = $distribution->between($x₁, $x₂); // Probability of being between two points, x₁ and x₂ +$outside = $distribution->outside($x₁, $x); // Probability of being between below x₁ and above x₂ +$above = $distribution->above($x); // Probability of being above x to ∞ + +// Random Number Generator +$random = $distribution->rand(); // A random number with a given distribution +``` + +### Probability - Discrete Distributions +```php +use MathPHP\Probability\Distribution\Discrete; + +// Bernoulli distribution (special case of binomial where n = 1) +$p = 0.3; +$k = 0; +$bernoulli = new Discrete\Bernoulli($p); +$pmf = $bernoulli->pmf($k); +$cdf = $bernoulli->cdf($k); +$μ = $bernoulli->mean(); +$median = $bernoulli->median(); +$mode = $bernoulli->mode(); +$σ² = $bernoulli->variance(); + +// Binomial distribution +$n = 2; // number of events +$p = 0.5; // probability of success +$r = 1; // number of successful events +$binomial = new Discrete\Binomial($n, $p); +$pmf = $binomial->pmf($r); +$cdf = $binomial->cdf($r); +$μ = $binomial->mean(); +$σ² = $binomial->variance(); + +// Categorical distribution +$k = 3; // number of categories +$probabilities = ['a' => 0.3, 'b' => 0.2, 'c' => 0.5]; // probabilities for categorices a, b, and c +$categorical = new Discrete\Categorical($k, $probabilities); +$pmf_a = $categorical->pmf('a'); +$mode = $categorical->mode(); + +// Geometric distribution (failures before the first success) +$p = 0.5; // success probability +$k = 2; // number of trials +$geometric = new Discrete\Geometric($p); +$pmf = $geometric->pmf($k); +$cdf = $geometric->cdf($k); +$μ = $geometric->mean(); +$median = $geometric->median(); +$mode = $geometric->mode(); +$σ² = $geometric->variance(); + +// Hypergeometric distribution +$N = 50; // population size +$K = 5; // number of success states in the population +$n = 10; // number of draws +$k = 4; // number of observed successes +$hypergeo = new Discrete\Hypergeometric($N, $K, $n); +$pmf = $hypergeo->pmf($k); +$cdf = $hypergeo->cdf($k); +$μ = $hypergeo->mean(); +$mode = $hypergeo->mode(); +$σ² = $hypergeo->variance(); + +// Negative binomial distribution (Pascal) +$r = 1; // number of failures until the experiment is stopped +$P = 0.5; // probability of success on an individual trial +$x = 2; // number of successes +$negativeBinomial = new Discrete\NegativeBinomial($r, $p); +$pmf = $negativeBinomial->pmf($x); +$cdf = $negativeBinomial->cdf($x); +$μ = $negativeBinomial->mean(); +$mode = $negativeBinomial->mode(); +$σ² = $negativeBinomial->variance(); + +// Pascal distribution (Negative binomial) +$r = 1; // number of failures until the experiment is stopped +$P = 0.5; // probability of success on an individual trial +$x = 2; // number of successes +$pascal = new Discrete\Pascal($r, $p); +$pmf = $pascal->pmf($x); +$cdf = $pascal->cdf($x); +$μ = $pascal->mean(); +$mode = $pascal->mode(); +$σ² = $pascal->variance(); + +// Poisson distribution +$λ = 2; // average number of successful events per interval +$k = 3; // events in the interval +$poisson = new Discrete\Poisson($λ); +$pmf = $poisson->pmf($k); +$cdf = $poisson->cdf($k); +$μ = $poisson->mean(); +$median = $poisson->median(); +$mode = $poisson->mode(); +$σ² = $poisson->variance(); + +// Shifted geometric distribution (probability to get one success) +$p = 0.5; // success probability +$k = 2; // number of trials +$shiftedGeometric = new Discrete\ShiftedGeometric($p); +$pmf = $shiftedGeometric->pmf($k); +$cdf = $shiftedGeometric->cdf($k); +$μ = $shiftedGeometric->mean(); +$median = $shiftedGeometric->median(); +$mode = $shiftedGeometric->mode(); +$σ² = $shiftedGeometric->variance(); + +// Uniform distribution +$a = 1; // lower boundary of the distribution +$b = 4; // upper boundary of the distribution +$k = 2; // percentile +$uniform = new Discrete\Uniform($a, $b); +$pmf = $uniform->pmf(); +$cdf = $uniform->cdf($k); +$μ = $uniform->mean(); +$median = $uniform->median(); +$σ² = $uniform->variance(); + +// Zipf distribution +$k = 2; // rank +$s = 3; // exponent +$N = 10; // number of elements +$zipf = new Discrete\Zipf($s, $N); +$pmf = $zipf->pmf($k); +$cdf = $zipf->cdf($k); +$μ = $zipf->mean(); +$mode = $zipf->mode(); +``` + +### Probability - Multivariate Distributions +```php +use MathPHP\Probability\Distribution\Multivariate; + +// Dirichlet distribution +$αs = [1, 2, 3]; +$xs = [0.07255081, 0.27811903, 0.64933016]; +$dirichlet = new Multivariate\Dirichlet($αs); +$pdf = $dirichlet->pdf($xs); + +// Normal distribution +$μ = [1, 1.1]; +$∑ = MatrixFactory::create([ + [1, 0], + [0, 1], +]); +$X = [0.7, 1.4]; +$normal = new Multivariate\Normal($μ, $∑); +$pdf = $normal->pdf($X); + +// Hypergeometric distribution +$quantities = [5, 10, 15]; // Suppose there are 5 black, 10 white, and 15 red marbles in an urn. +$choices = [2, 2, 2]; // If six marbles are chosen without replacement, the probability that exactly two of each color are chosen is: +$distribution = new Multivariate\Hypergeometric($quantities); +$probability = $distribution->pmf($choices); // 0.0795756 + +// Multinomial distribution +$frequencies = [7, 2, 3]; +$probabilities = [0.40, 0.35, 0.25]; +$multinomial = new Multivariate\Multinomial($probabilities); +$pmf = $multinomial->pmf($frequencies); +``` + +### Probability - Distribution Tables +```php +use MathPHP\Probability\Distribution\Table; + +// Provided solely for completeness' sake. +// It is statistics tradition to provide these tables. +// MathPHP has dynamic distribution CDF functions you can use instead. + +// Standard Normal Table (Z Table) +$table = Table\StandardNormal::Z_SCORES; +$probability = $table[1.5][0]; // Value for Z of 1.50 + +// t Distribution Tables +$table = Table\TDistribution::ONE_SIDED_CONFIDENCE_LEVEL; +$table = Table\TDistribution::TWO_SIDED_CONFIDENCE_LEVEL; +$ν = 5; // degrees of freedom +$cl = 99; // confidence level +$t = $table[$ν][$cl]; + +// t Distribution Tables +$table = Table\TDistribution::ONE_SIDED_ALPHA; +$table = Table\TDistribution::TWO_SIDED_ALPHA; +$ν = 5; // degrees of freedom +$α = 0.001; // alpha value +$t = $table[$ν][$α]; + +// χ² Distribution Table +$table = Table\ChiSquared::CHI_SQUARED_SCORES; +$df = 2; // degrees of freedom +$p = 0.05; // P value +$χ² = $table[$df][$p]; +``` + +### Sample Data +```php +use MathPHP\SampleData; + +// Famous sample data sets to experiment with + +// Motor Trend Car Road Tests (mtcars) +$mtCars = new SampleData\MtCars(); +$rawData = $mtCars->getData(); // [[21, 6, 160, ... ], [30.4, 4, 71.1, ... ], ... ] +$labeledData = $mtCars->getLabeledData(); // ['Mazda RX4' => ['mpg' => 21, 'cyl' => 6, 'disp' => 160, ... ], 'Honda Civic' => [ ... ], ...] +$modelData = $mtCars->getModelData('Ferrari Dino'); // ['mpg' => 19.7, 'cyl' => 6, 'disp' => 145, ... ] +$mpgs = $mtCars->getMpg(); // ['Mazda RX4' => 21, 'Honda civic' => 30.4, ... ] +// Getters for Mpg, Cyl, Disp, Hp, Drat, Wt, Qsec, Vs, Am, Gear, Carb + +// Edgar Anderson's Iris Data (iris) +$iris = new SampleData\Iris(); +$rawData = $iris->getData(); // [[5.1, 3.5, 1.4, 0.2, 'setosa'], [4.9, 3.0, 1.4, 0.2, 'setosa'], ... ] +$labeledData = $iris->getLabeledData(); // [['sepalLength' => 5.11, 'sepalWidth' => 3.5, 'petalLength' => 1.4, 'petalWidth' => 0.2, 'species' => 'setosa'], ... ] +$petalLengths = $iris->getSepalLength(); // [5.1, 4.9, 4.7, ... ] +// Getters for SepalLength, SepalWidth, PetalLength, PetalWidth, Species + +// The Effect of Vitamin C on Tooth Growth in Guinea Pigs (ToothGrowth) +$toothGrowth = new SampleData\ToothGrowth(); +$rawData = $toothGrowth->getData(); // [[4.2, 'VC', 0.5], [11.5, 'VC', '0.5], ... ] +$labeledData = $toothGrowth->getLabeledData(); // [['len' => 4.2, 'supp' => 'VC', 'dose' => 0.5], ... ] +$lengths = $toothGrowth->getLen(); // [4.2, 11.5, ... ] +// Getters for Len, Supp, Dose + +// Results from an Experiment on Plant Growth (PlantGrowth) +$plantGrowth = new SampleData\PlantGrowth(); +$rawData = $plantGrowth->getData(); // [[4.17, 'ctrl'], [5.58, 'ctrl'], ... ] +$labeledData = $plantGrowth->getLabeledData(); // [['weight' => 4.17, 'group' => 'ctrl'], ['weight' => 5.58, 'group' => 'ctrl'], ... ] +$weights = $plantGrowth->getWeight(); // [4.17, 5.58, ... ] +// Getters for Weight, Group + +// Violent Crime Rates by US State (USArrests) +$usArrests = new SampleData\UsArrests(); +$rawData = $usArrests->rawData(); // [[13.2, 236, 58, 21.2], [10.0, 263, 48, 44.5], ... ] +$labeledData = $usArrests->getLabeledData(); // ['Alabama' => ['murder' => 13.2, 'assault' => 236, 'urbanPop' => 58, 'rape' => 21.2], ... ] +$stateData = $usArrests->getStateData('Texas'); // ['murder' => 12.7, 'assault' => 201, 'urbanPop' => 80, 'rape' => 25.5] +$murders = $usArrests->getMurders(); // ['Alabama' => 13.2, 'Alaska' => 10.1, ... ] +// Getters for Murder, Assault, UrbanPop, Rape + +// Data from Cereals (cereal) +$cereal = new SampleData\Cereal(); +$cereals = $cereal->getCereals(); // ['B1', 'B2', 'B3', 'M1', 'M2', ... ] +$X = $cereal->getXData(); // [[0.002682755, 0.003370673, 0.004085942, ... ], [0.002781597, 0.003474863, 0.004191472, ... ], ... ] +$Y = $cereal->getYData(); // [[18373, 41.61500, 6.565000, ... ], [18536, 41.40500, 6.545000, ... ], ... ] +$Ysc = $cereal->getYscData(); // [[-0.1005049, 0.6265746, -1.1716630, ... ], [0.9233889, 0.1882929, -1.3185289, ... ], ... ] +// Labeled data: getLabeledXData(), getLabeledYData(), getLabeledYscData() + +// Data from People (people) +$people = new SampleData\People(); +$rawData = $people->getData(); // [198, 92, -1, ... ], [184, 84, -1, ... ], ... ] +$labeledData = $people->getLabeledData(); // ['Lars' => ['height' => 198, 'weight' => 92, 'hairLength' => -1, ... ]] +$names = $people->getNames(); +// Getters for names, height, weight, hairLength, shoeSize, age, income, beer, wine, sex, swim, region, iq +``` + +### Search +```php +use MathPHP\Search; + +// Search lists of numbers to find specific indexes + +$list = [1, 2, 3, 4, 5]; + +$index = Search::sorted($list, 2); // Find the array index where an item should be inserted to maintain sorted order +$index = Search::argMax($list); // Find the array index of the maximum value +$index = Search::nanArgMax($list); // Find the array index of the maximum value, ignoring NANs +$index = Search::argMin($list); // Find the array index of the minimum value +$index = Search::nanArgMin($list); // Find the array index of the minimum value, ignoring NANs +$indices = Search::nonZero($list); // Find the array indices of the scalar values that are non-zero +``` + +### Sequences - Basic +```php +use MathPHP\Sequence\Basic; + +$n = 5; // Number of elements in the sequence + +// Arithmetic progression +$d = 2; // Difference between the elements of the sequence +$a₁ = 1; // Starting number for the sequence +$progression = Basic::arithmeticProgression($n, $d, $a₁); +// [1, 3, 5, 7, 9] - Indexed from 1 + +// Geometric progression (arⁿ⁻¹) +$a = 2; // Scalar value +$r = 3; // Common ratio +$progression = Basic::geometricProgression($n, $a, $r); +// [2(3)⁰, 2(3)¹, 2(3)², 2(3)³] = [2, 6, 18, 54] - Indexed from 1 + +// Square numbers (n²) +$squares = Basic::squareNumber($n); +// [0², 1², 2², 3², 4²] = [0, 1, 4, 9, 16] - Indexed from 0 + +// Cubic numbers (n³) +$cubes = Basic::cubicNumber($n); +// [0³, 1³, 2³, 3³, 4³] = [0, 1, 8, 27, 64] - Indexed from 0 + +// Powers of 2 (2ⁿ) +$po2 = Basic::powersOfTwo($n); +// [2⁰, 2¹, 2², 2³, 2⁴] = [1, 2, 4, 8, 16] - Indexed from 0 + +// Powers of 10 (10ⁿ) +$po10 = Basic::powersOfTen($n); +// [10⁰, 10¹, 10², 10³, 10⁴] = [1, 10, 100, 1000, 10000] - Indexed from 0 + +// Factorial (n!) +$fact = Basic::factorial($n); +// [0!, 1!, 2!, 3!, 4!] = [1, 1, 2, 6, 24] - Indexed from 0 + +// Digit sum +$digit_sum = Basic::digitSum($n); +// [0, 1, 2, 3, 4] - Indexed from 0 + +// Digital root +$digit_root = Basic::digitalRoot($n); +// [0, 1, 2, 3, 4] - Indexed from 0 +``` + +### Sequences - Advanced +```php +use MathPHP\Sequence\Advanced; + +$n = 6; // Number of elements in the sequence + +// Fibonacci (Fᵢ = Fᵢ₋₁ + Fᵢ₋₂) +$fib = Advanced::fibonacci($n); +// [0, 1, 1, 2, 3, 5] - Indexed from 0 + +// Lucas numbers +$lucas = Advanced::lucasNumber($n); +// [2, 1, 3, 4, 7, 11] - Indexed from 0 + +// Pell numbers +$pell = Advanced::pellNumber($n); +// [0, 1, 2, 5, 12, 29] - Indexed from 0 + +// Triangular numbers (figurate number) +$triangles = Advanced::triangularNumber($n); +// [1, 3, 6, 10, 15, 21] - Indexed from 1 + +// Pentagonal numbers (figurate number) +$pentagons = Advanced::pentagonalNumber($n); +// [1, 5, 12, 22, 35, 51] - Indexed from 1 + +// Hexagonal numbers (figurate number) +$hexagons = Advanced::hexagonalNumber($n); +// [1, 6, 15, 28, 45, 66] - Indexed from 1 + +// Heptagonal numbers (figurate number) +$heptagons = Advanced::heptagonalNumber($n); +// [1, 4, 7, 13, 18, 27] - Indexed from 1 + +// Look-and-say sequence (describe the previous term!) +$look_and_say = Advanced::lookAndSay($n); +// ['1', '11', '21', '1211', '111221', '312211'] - Indexed from 1 + +// Lazy caterer's sequence (central polygonal numbers) +$lazy_caterer = Advanced::lazyCaterers($n); +// [1, 2, 4, 7, 11, 16] - Indexed from 0 + +// Magic squares series (magic constants; magic sums) +$magic_squares = Advanced::magicSquares($n); +// [0, 1, 5, 15, 34, 65] - Indexed from 0 + +// Perfect numbers +$perfect_numbers = Advanced::perfectNumbers($n); +// [6, 28, 496, 8128, 33550336, 8589869056] - Indexed from 0 + +// Perfect powers sequence +$perfect_powers = Advanced::perfectPowers($n); +// [4, 8, 9, 16, 25, 27] - Indexed from 0 + +// Not perfect powers sequence +$not_perfect_powers = Advanced::notPerfectPowers($n); +// [2, 3, 5, 6, 7, 10] - Indexed from 0 + +// Prime numbers up to n (n is not the number of elements in the sequence) +$primes = Advanced::primesUpTo(30); +// [2, 3, 5, 7, 11, 13, 17, 19, 23, 29] - Indexed from 0 +``` + +### Sequences - Non-Integer +```php +use MathPHP\Sequence\NonInteger; + +$n = 4; // Number of elements in the sequence + +// Harmonic sequence +$harmonic = NonInteger::harmonic($n); +// [1, 3/2, 11/6, 25/12] - Indexed from 1 + +// Generalized harmonic sequence +$m = 2; // exponent +$generalized = NonInteger::generalizedHarmonic($n, $m); +// [1, 5 / 4, 49 / 36, 205 / 144] - Indexed from 1 + +// Hyperharmonic sequence +$r = 2; // depth of recursion +$hyperharmonic = NonInteger::hyperharmonic($n, $r); +// [1, 5/2, 26/6, 77/12] - Indexed from 1 +``` + +### Set Theory +```php +use MathPHP\SetTheory\Set; +use MathPHP\SetTheory\ImmutableSet; + +// Sets and immutable sets +$A = new Set([1, 2, 3]); // Can add and remove members +$B = new ImmutableSet([3, 4, 5]); // Cannot modify set once created + +// Basic set data +$set = $A->asArray(); +$cardinality = $A->length(); +$bool = $A->isEmpty(); + +// Set membership +$true = $A->isMember(2); +$true = $A->isNotMember(8); + +// Add and remove members +$A->add(4); +$A->add(new Set(['a', 'b'])); +$A->addMulti([5, 6, 7]); +$A->remove(7); +$A->removeMulti([5, 6]); +$A->clear(); + +// Set properties against other sets - return boolean +$bool = $A->isDisjoint($B); +$bool = $A->isSubset($B); // A ⊆ B +$bool = $A->isProperSubset($B); // A ⊆ B & A ≠ B +$bool = $A->isSuperset($B); // A ⊇ B +$bool = $A->isProperSuperset($B); // A ⊇ B & A ≠ B + +// Set operations with other sets - return a new Set +$A∪B = $A->union($B); +$A∩B = $A->intersect($B); +$A\B = $A->difference($B); // relative complement +$AΔB = $A->symmetricDifference($B); +$A×B = $A->cartesianProduct($B); + +// Other set operations +$P⟮A⟯ = $A->powerSet(); +$C = $A->copy(); + +// Print a set +print($A); // Set{1, 2, 3, 4, Set{a, b}} + +// PHP Interfaces +$n = count($A); // Countable +foreach ($A as $member) { ... } // Iterator + +// Fluent interface +$A->add(5)->add(6)->remove(4)->addMulti([7, 8, 9]); +``` + +### Statistics - ANOVA +```php +use MathPHP\Statistics\ANOVA; + +// One-way ANOVA +$sample1 = [1, 2, 3]; +$sample2 = [3, 4, 5]; +$sample3 = [5, 6, 7]; + ⋮ ⋮ + +$anova = ANOVA::oneWay($sample1, $sample2, $sample3); +print_r($anova); +/* Array ( + [ANOVA] => Array ( // ANOVA hypothesis test summary data + [treatment] => Array ( + [SS] => 24 // Sum of squares (between) + [df] => 2 // Degrees of freedom + [MS] => 12 // Mean squares + [F] => 12 // Test statistic + [P] => 0.008 // P value + ) + [error] => Array ( + [SS] => 6 // Sum of squares (within) + [df] => 6 // Degrees of freedom + [MS] => 1 // Mean squares + ) + [total] => Array ( + [SS] => 30 // Sum of squares (total) + [df] => 8 // Degrees of freedom + ) + ) + [total_summary] => Array ( // Total summary data + [n] => 9 + [sum] => 36 + [mean] => 4 + [SS] => 174 + [variance] => 3.75 + [sd] => 1.9364916731037 + [sem] => 0.6454972243679 + ) + [data_summary] => Array ( // Data summary (each input sample) + [0] => Array ([n] => 3 [sum] => 6 [mean] => 2 [SS] => 14 [variance] => 1 [sd] => 1 [sem] => 0.57735026918963) + [1] => Array ([n] => 3 [sum] => 12 [mean] => 4 [SS] => 50 [variance] => 1 [sd] => 1 [sem] => 0.57735026918963) + [2] => Array ([n] => 3 [sum] => 18 [mean] => 6 [SS] => 110 [variance] => 1 [sd] => 1 [sem] => 0.57735026918963) + ) +) */ + +// Two-way ANOVA +/* | Factor B₁ | Factor B₂ | Factor B₃ | ⋯ +Factor A₁ | 4, 6, 8 | 6, 6, 9 | 8, 9, 13 | ⋯ +Factor A₂ | 4, 8, 9 | 7, 10, 13 | 12, 14, 16| ⋯ + ⋮ ⋮ ⋮ ⋮ */ +$factorA₁ = [ + [4, 6, 8], // Factor B₁ + [6, 6, 9], // Factor B₂ + [8, 9, 13], // Factor B₃ +]; +$factorA₂ = [ + [4, 8, 9], // Factor B₁ + [7, 10, 13], // Factor B₂ + [12, 14, 16], // Factor B₃ +]; + ⋮ + +$anova = ANOVA::twoWay($factorA₁, $factorA₂); +print_r($anova); +/* Array ( + [ANOVA] => Array ( // ANOVA hypothesis test summary data + [factorA] => Array ( + [SS] => 32 // Sum of squares + [df] => 1 // Degrees of freedom + [MS] => 32 // Mean squares + [F] => 5.6470588235294 // Test statistic + [P] => 0.034994350619895 // P value + ) + [factorB] => Array ( + [SS] => 93 // Sum of squares + [df] => 2 // Degrees of freedom + [MS] => 46.5 // Mean squares + [F] => 8.2058823529412 // Test statistic + [P] => 0.0056767297582031 // P value + ) + [interaction] => Array ( + [SS] => 7 // Sum of squares + [df] => 2 // Degrees of freedom + [MS] => 3.5 // Mean squares + [F] => 0.61764705882353 // Test statistic + [P] => 0.5555023440712 // P value + ) + [error] => Array ( + [SS] => 68 // Sum of squares (within) + [df] => 12 // Degrees of freedom + [MS] => 5.6666666666667 // Mean squares + ) + [total] => Array ( + [SS] => 200 // Sum of squares (total) + [df] => 17 // Degrees of freedom + ) + ) + [total_summary] => Array ( // Total summary data + [n] => 18 + [sum] => 162 + [mean] => 9 + [SS] => 1658 + [variance] => 11.764705882353 + [sd] => 3.4299717028502 + [sem] => 0.80845208345444 + ) + [summary_factorA] => Array ( ... ) // Summary data of factor A + [summary_factorB] => Array ( ... ) // Summary data of factor B + [summary_interaction] => Array ( ... ) // Summary data of interactions of factors A and B +) */ +``` + +### Statistics - Averages +```php +use MathPHP\Statistics\Average; + +$numbers = [13, 18, 13, 14, 13, 16, 14, 21, 13]; + +// Mean, median, mode +$mean = Average::mean($numbers); +$median = Average::median($numbers); +$mode = Average::mode($numbers); // Returns an array — may be multimodal + +// Weighted mean +$weights = [12, 1, 23, 6, 12, 26, 21, 12, 1]; +$weighted_mean = Average::weightedMean($numbers, $weights) + +// Other means of a list of numbers +$geometric_mean = Average::geometricMean($numbers); +$harmonic_mean = Average::harmonicMean($numbers); +$contraharmonic_mean = Average::contraharmonicMean($numbers); +$quadratic_mean = Average::quadraticMean($numbers); // same as rootMeanSquare +$root_mean_square = Average::rootMeanSquare($numbers); // same as quadraticMean +$trimean = Average::trimean($numbers); +$interquartile_mean = Average::interquartileMean($numbers); // same as iqm +$interquartile_mean = Average::iqm($numbers); // same as interquartileMean +$cubic_mean = Average::cubicMean($numbers); + +// Truncated mean (trimmed mean) +$trim_percent = 25; // 25 percent of observations trimmed from each end of distribution +$truncated_mean = Average::truncatedMean($numbers, $trim_percent); + +// Generalized mean (power mean) +$p = 2; +$generalized_mean = Average::generalizedMean($numbers, $p); // same as powerMean +$power_mean = Average::powerMean($numbers, $p); // same as generalizedMean + +// Lehmer mean +$p = 3; +$lehmer_mean = Average::lehmerMean($numbers, $p); + +// Moving averages +$n = 3; +$weights = [3, 2, 1]; +$SMA = Average::simpleMovingAverage($numbers, $n); // 3 n-point moving average +$CMA = Average::cumulativeMovingAverage($numbers); +$WMA = Average::weightedMovingAverage($numbers, $n, $weights); +$EPA = Average::exponentialMovingAverage($numbers, $n); + +// Means of two numbers +[$x, $y] = [24, 6]; +$agm = Average::arithmeticGeometricMean($x, $y); // same as agm +$agm = Average::agm($x, $y); // same as arithmeticGeometricMean +$log_mean = Average::logarithmicMean($x, $y); +$heronian_mean = Average::heronianMean($x, $y); +$identric_mean = Average::identricMean($x, $y); + +// Averages report +$averages = Average::describe($numbers); +print_r($averages); +/* Array ( + [mean] => 15 + [median] => 14 + [mode] => Array ( [0] => 13 ) + [geometric_mean] => 14.789726414533 + [harmonic_mean] => 14.605077399381 + [contraharmonic_mean] => 15.474074074074 + [quadratic_mean] => 15.235193176035 + [trimean] => 14.5 + [iqm] => 14 + [cubic_mean] => 15.492307432707 +) */ +``` + +### Statistics - Circular +```php +use MathPHP\Statistics\Circular; + +$angles = [1.51269877, 1.07723915, 0.81992282]; + +$θ = Circular::mean($angles); +$R = Circular::resultantLength($angles); +$ρ = Circular::meanResultantLength($angles); +$V = Circular::variance($angles); +$ν = Circular::standardDeviation($angles); + +// Descriptive circular statistics report +$stats = Circular::describe($angles); +print_r($stats); +/* Array ( + [n] => 3 + [mean] => 1.1354043006436 + [resultant_length] => 2.8786207547493 + [mean_resultant_length] => 0.9595402515831 + [variance] => 0.040459748416901 + [sd] => 0.28740568481722 +); */ +``` + +### Statistics - Correlation +```php +use MathPHP\Statistics\Correlation; + +$X = [1, 2, 3, 4, 5]; +$Y = [2, 3, 4, 4, 6]; + +// Covariance +$σxy = Correlation::covariance($X, $Y); // Has optional parameter to set population (defaults to sample covariance) + +// Weighted covariance +$w = [2, 3, 1, 1, 5]; +$σxyw = Correlation::weightedCovariance($X, $Y, $w); + +// r - Pearson product-moment correlation coefficient (Pearson's r) +$r = Correlation::r($X, $Y); // Has optional parameter to set population (defaults to sample correlation coefficient) + +// Weighted correlation coefficient +$rw = Correlation::weightedCorrelationCoefficient($X, $Y, $w); + +// R² - Coefficient of determination +$R² = Correlation::r2($X, $Y); // Has optional parameter to set population (defaults to sample coefficient of determination) + +// τ - Kendall rank correlation coefficient (Kendall's tau) +$τ = Correlation::kendallsTau($X, $Y); + +// ρ - Spearman's rank correlation coefficient (Spearman's rho) +$ρ = Correlation::spearmansRho($X, $Y); + +// Descriptive correlation report +$stats = Correlation::describe($X, $Y); +print_r($stats); +/* Array ( + [cov] => 2.25 + [r] => 0.95940322360025 + [r2] => 0.92045454545455 + [tau] => 0.94868329805051 + [rho] => 0.975 +) */ + +// Confidence ellipse - create an ellipse surrounding the data at a specified standard deviation +$sd = 1; +$num_points = 11; // Optional argument specifying number of points of the ellipse +$ellipse_data = Correlation::confidenceEllipse($X, $Y, $sd, $num_points); + +``` + +### Statistics - Descriptive +```php +use MathPHP\Statistics\Descriptive; + +$numbers = [13, 18, 13, 14, 13, 16, 14, 21, 13]; + +// Range and midrange +$range = Descriptive::range($numbers); +$midrange = Descriptive::midrange($numbers); + +// Variance (population and sample) +$σ² = Descriptive::populationVariance($numbers); // n degrees of freedom +$S² = Descriptive::sampleVariance($numbers); // n - 1 degrees of freedom + +// Variance (Custom degrees of freedom) +$df = 5; // degrees of freedom +$S² = Descriptive::variance($numbers, $df); // can specify custom degrees of freedom + +// Weighted sample variance +$weights = [0.1, 0.2, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1]; +$σ²w = Descriptive::weightedSampleVariance($numbers, $weights, $biased = false); + +// Standard deviation (For a sample; uses sample variance) +$σ = Descriptive::sd($numbers); // same as standardDeviation; +$σ = Descriptive::standardDeviation($numbers); // same as sd; + +// SD+ (Standard deviation for a population; uses population variance) +$SD+ = Descriptive::sd($numbers, Descriptive::POPULATION); // POPULATION constant = true +$SD+ = Descriptive::standardDeviation($numbers, true); // same as sd with POPULATION constant + +// Coefficient of variation (cᵥ) +$cᵥ = Descriptive::coefficientOfVariation($numbers); + +// MAD - mean/median absolute deviations +$mean_mad = Descriptive::meanAbsoluteDeviation($numbers); +$median_mad = Descriptive::medianAbsoluteDeviation($numbers); + +// Quartiles (inclusive and exclusive methods) +// [0% => 13, Q1 => 13, Q2 => 14, Q3 => 17, 100% => 21, IQR => 4] +$quartiles = Descriptive::quartiles($numbers); // Has optional parameter to specify method. Default is Exclusive +$quartiles = Descriptive::quartilesExclusive($numbers); +$quartiles = Descriptive::quartilesInclusive($numbers); + +// IQR - Interquartile range +$IQR = Descriptive::interquartileRange($numbers); // Same as IQR; has optional parameter to specify quartile method. +$IQR = Descriptive::iqr($numbers); // Same as interquartileRange; has optional parameter to specify quartile method. + +// Percentiles +$twentieth_percentile = Descriptive::percentile($numbers, 20); +$ninety_fifth_percentile = Descriptive::percentile($numbers, 95); + +// Midhinge +$midhinge = Descriptive::midhinge($numbers); + +// Describe a list of numbers - descriptive stats report +$stats = Descriptive::describe($numbers); // Has optional parameter to set population or sample calculations +print_r($stats); +/* Array ( + [n] => 9 + [min] => 13 + [max] => 21 + [mean] => 15 + [median] => 14 + [mode] => Array ( [0] => 13 ) + [range] => 8 + [midrange] => 17 + [variance] => 8 + [sd] => 2.8284271247462 + [cv] => 0.18856180831641 + [mean_mad] => 2.2222222222222 + [median_mad] => 1 + [quartiles] => Array ( + [0%] => 13 + [Q1] => 13 + [Q2] => 14 + [Q3] => 17 + [100%] => 21 + [IQR] => 4 + ) + [midhinge] => 15 + [skewness] => 1.4915533665654 + [ses] => 0.71713716560064 + [kurtosis] => 0.1728515625 + [sek] => 1.3997084244475 + [sem] => 0.94280904158206 + [ci_95] => Array ( + [ci] => 1.8478680091392 + [lower_bound] => 13.152131990861 + [upper_bound] => 16.847868009139 + ) + [ci_99] => Array ( + [ci] => 2.4285158135783 + [lower_bound] => 12.571484186422 + [upper_bound] => 17.428515813578 + ) +) */ + +// Five number summary - five most important sample percentiles +$summary = Descriptive::fiveNumberSummary($numbers); +// [min, Q1, median, Q3, max] +``` + +### Statistics - Distance +```php +use MathPHP\Statistics\Distance; + +// Probability distributions +$X = [0.2, 0.5, 0.3]; +$Y = [0.1, 0.4, 0.5]; + +// Distances +$DB⟮X、Y⟯ = Distance::bhattacharyya($X, $Y); +$H⟮X、Y⟯ = Distance::hellinger($X, $Y); +$D⟮X、Y⟯ = Distance::minkowski($X, $Y, $p = 2); +$d⟮X、Y⟯ = Distance::euclidean($X, $Y); // L² distance +$d₁⟮X、Y⟯ = Distance::manhattan($X, $Y); // L¹ distance, taxicab geometry, city block distance +$JSD⟮X‖Y⟯ = Distance::jensenShannon($X, $Y); +$d⟮X、Y⟯ = Distance::canberra($X, Y); +brayCurtis = Distance::brayCurtis($X, $Y); +$cosine = Distance::cosine($X, $Y); +$cos⟮α⟯ = Distance::cosineSimilarity($X, $Y); + +// Mahalanobis distance +$x = new Matrix([[6], [5]]); +$data = new Matrix([ + [4, 4, 5, 2, 3, 6, 9, 7, 4, 5], + [3, 7, 5, 7, 9, 5, 6, 2, 2, 7], +]); +$otherData = new Matrix([ + [4, 4, 5, 2, 3, 6, 9, 7, 4, 5], + [3, 7, 5, 7, 9, 5, 6, 2, 2, 7], +]); +$y = new Matrix([[2], [2]]); +$D = Distance::mahalanobis($x, $data); // Mahalanobis distance from x to the centroid of the data. +$D = Distance::mahalanobis($x, $data, $y); // Mahalanobis distance between $x and $y using the data. +$D = Distance::mahalanobis($data, $otherData); // Mahalanobis distance between the centroids of two sets of data. +``` + +### Statistics - Distributions +```php +use MathPHP\Statistics\Distribution; + +$grades = ['A', 'A', 'B', 'B', 'B', 'B', 'C', 'C', 'D', 'F']; + +// Frequency distributions (frequency and relative frequency) +$frequencies = Distribution::frequency($grades); // [ A => 2, B => 4, C => 2, D => 1, F => 1 ] +$relative_frequencies = Distribution::relativeFrequency($grades); // [ A => 0.2, B => 0.4, C => 0.2, D => 0.1, F => 0.1 ] + +// Cumulative frequency distributions (cumulative and cumulative relative) +$cumulative_frequencies = Distribution::cumulativeFrequency($grades); // [ A => 2, B => 6, C => 8, D => 9, F => 10 ] +$cumulative_relative_frequencies = Distribution::cumulativeRelativeFrequency($grades); // [ A => 0.2, B => 0.6, C => 0.8, D => 0.9, F => 1 ] + +// Ranking of data +$values = [1, 2, 2, 3]; +$ordinal_ranking = Distribution::ordinalRanking($values); // 1, 2, 3, 4 +$standard_competition_ranking = Distribution::standardCompetitionRanking($values); // 1, 2, 2, 4 +$modified_competition_ranking = Distribution::modifiedCompetitionRanking($values); // 1, 3, 3, 4 +$fractional_ranking = Distribution::fractionalRanking($values); // 1, 2.5, 2.5, 4 + +// Stem and leaf plot +// Return value is array where keys are the stems, values are the leaves +$values = [44, 46, 47, 49, 63, 64, 66, 68, 68, 72, 72, 75, 76, 81, 84, 88, 106]; +$stem_and_leaf_plot = Distribution::stemAndLeafPlot($values); +// [4 => [4, 6, 7, 9], 5 => [], 6 => [3, 4, 6, 8, 8], 7 => [2, 2, 5, 6], 8 => [1, 4, 8], 9 => [], 10 => [6]] + +// Optional second parameter will print stem and leaf plot to STDOUT +Distribution::stemAndLeafPlot($values, Distribution::PRINT); +/* + 4 | 4 6 7 9 + 5 | + 6 | 3 4 6 8 8 + 7 | 2 2 5 6 + 8 | 1 4 8 + 9 | +10 | 6 +*/ +``` + +### Statistics - Divergence +```php +use MathPHP\Statistics\Divergence; + +// Probability distributions +$X = [0.2, 0.5, 0.3]; +$Y = [0.1, 0.4, 0.5]; + +// Divergences +$Dkl⟮X‖Y⟯ = Divergence::kullbackLeibler($X, $Y); +$JSD⟮X‖Y⟯ = Divergence::jensenShannon($X, $Y); +``` + +### Statistics - Effect Size +```php +use MathPHP\Statistics\EffectSize; + +$SSt = 24; // Sum of squares treatment +$SSE = 300; // Sum of squares error +$SST = 600; // Sum of squares total +$dft = 1; // Degrees of freedom treatment +$MSE = 18; // Mean squares error + +// η² - Eta-squared +$η² = EffectSize::etaSquared($SSt, $SST); +$η²p = EffectSize::partialEtaSquared($SSt, $SSE); + +// ω² - Omega-squared +$ω² = EffectSize::omegaSquared($SSt, $dft, $SST, $MSE); + +// Cohen's ƒ² +$ƒ² = EffectSize::cohensF($η²); +$ƒ² = EffectSize::cohensF($ω²); +$ƒ² = EffectSize::cohensF($R²); + +// Cohen's q +[$r₁, $r₂] = [0.1, 0.2]; +$q = EffectSize::cohensQ($r₁, $r₂); + +// Cohen's d +[$μ₁, $σ₁] = [6.7, 1.2]; +[$μ₂, $σ₂] = [6, 1]; +$d = EffectSize::cohensD($μ₁, $μ₂, $σ₁, $σ₂); + +// Hedges' g +[$μ₁, $σ₁, $n₁] = [6.7, 1.2, 15]; +[$μ₂, $σ₂, $n₂] = [6, 1, 15]; +$g = EffectSize::hedgesG($μ₁, $μ₂, $σ₁, $σ₂, $n₁, $n₂); + +// Glass' Δ +$Δ = EffectSize::glassDelta($μ₁, $μ₂, $σ₂); +``` + +### Statistics - Experiments +```php +use MathPHP\Statistics\Experiment; + +$a = 28; // Exposed and event present +$b = 129; // Exposed and event absent +$c = 4; // Non-exposed and event present +$d = 133; // Non-exposed and event absent + +// Risk ratio (relative risk) - RR +$RR = Experiment::riskRatio($a, $b, $c, $d); +// ['RR' => 6.1083, 'ci_lower_bound' => 2.1976, 'ci_upper_bound' => 16.9784, 'p' => 0.0005] + +// Odds ratio (OR) +$OR = Experiment::oddsRatio($a, $b, $c, $d); +// ['OR' => 7.2171, 'ci_lower_bound' => 2.4624, 'ci_upper_bound' => 21.1522, 'p' => 0.0003] + +// Likelihood ratios (positive and negative) +$LL = Experiment::likelihoodRatio($a, $b, $c, $d); +// ['LL+' => 7.4444, 'LL-' => 0.3626] + +$sensitivity = 0.67; +$specificity = 0.91; +$LL = Experiment::likelihoodRatioSS($sensitivity, $specificity); +``` + +### Statistics - Kernel Density Estimation +```php +use MathPHP\Statistics\KernelDensityEstimation + +$data = [-2.76, -1.09, -0.5, -0.15, 0.22, 0.69, 1.34, 1.75]; +$x = 0.5; + +// Density estimator with default bandwidth (normal distribution approximation) and kernel function (standard normal) +$kde = new KernelDensityEstimation($data); +$density = $kde->evaluate($x) + +// Custom bandwidth +$h = 0.1; +$kde->setBandwidth($h); + +// Library of built-in kernel functions +$kde->setKernelFunction(KernelDensityEstimation::STANDARD_NORMAL); +$kde->setKernelFunction(KernelDensityEstimation::NORMAL); +$kde->setKernelFunction(KernelDensityEstimation::UNIFORM); +$kde->setKernelFunction(KernelDensityEstimation::TRIANGULAR); +$kde->setKernelFunction(KernelDensityEstimation::EPANECHNIKOV); +$kde->setKernelFunction(KernelDensityEstimation::TRICUBE); + +// Set custom kernel function (user-provided callable) +$kernel = function ($x) { + if (abs($x) > 1) { + return 0; + } else { + return 70 / 81 * ((1 - abs($x) ** 3) ** 3); + } +}; +$kde->setKernelFunction($kernel); + +// All customization optionally can be done in the constructor +$kde = new KernelDesnsityEstimation($data, $h, $kernel); +``` + +### Statistics - Multivariate - Principal Component Analysis +```php +use MathPHP\Statistics\Multivariate\PCA; +use MathPHP\LinearAlgebra\MatrixFactory; + +// Given +$matrix = MatrixFactory::create($data); // observations of possibly correlated variables +$center = true; // do mean centering of data +$scale = true; // do standardization of data + +// Build a principal component analysis model to explore +$model = new PCA($matrix, $center, $scale); + +// Scores and loadings of the PCA model +$scores = $model->getScores(); // Matrix of transformed standardized data with the loadings matrix +$loadings = $model->getLoadings(); // Matrix of unit eigenvectors of the correlation matrix +$eigenvalues = $model->getEigenvalues(); // Vector of eigenvalues of components + +// Residuals, limits, critical values and more +$R² = $model->getR2(); // array of R² values +$cumR² = $model->getCumR2(); // array of cummulative R² values +$Q = $model->getQResiduals(); // Matrix of Q residuals +$T² = $model->getT2Distances(); // Matrix of T² distances +$T²Critical = $model->getCriticalT2(); // array of critical limits of T² +$QCritical = $model->getCriticalQ(); // array of critical limits of Q +``` + +### Statistics - Multivariate - Partial Least Squares Regression +```php +use MathPHP\Statistics\Multivariate\PLS; +use MathPHP\LinearAlgebra\MatrixFactory; +use MathPHP\SampleData; + +// Given +$cereal = new SampleData\Cereal(); +$X = MatrixFactory::createNumeric($cereal->getXData()); +$Y = MatrixFactory::createNumeric($cereal->getYData()); + +// Build a partial least squares regression to explore +$numberOfComponents = 5; +$scale = true; +$pls = new PLS($X, $Y, $numberOfComponents, $scale); + +// PLS model data +$C = $pls->getYLoadings(); // Loadings for Y values (each loading column transforms F to U) +$W = $pls->getXLoadings(); // Loadings for X values (each loading column transforms E into T) +$T = $pls->getXScores(); // Scores for the X values (latent variables of X) +$U = $pls->getYScores(); // Scores for the Y values (latent variables of Y) +$B = $pls->getCoefficients(); // Regression coefficients (matrix that best transforms E into F) +$P = $pls->getProjections(); // Projection matrix (each projection column transforms T into Ê) + +// Predict values (use regression model to predict new values of Y given values for X) +$yPredictions = $pls->predict($xMatrix); +``` + +### Statistics - Outlier +```php +use MathPHP\Statistics\Outlier; + +$data = [199.31, 199.53, 200.19, 200.82, 201.92, 201.95, 202.18, 245.57]; +$n = 8; // size of data +$𝛼 = 0.05; // significance level + +// Grubb's test - two sided test +$grubbsStatistic = Outlier::grubbsStatistic($data, Outlier::TWO_SIDED); +$criticalValue = Outlier::grubbsCriticalValue($𝛼, $n, Outlier::TWO_SIDED); + +// Grubbs' test - one sided test of minimum value +$grubbsStatistic = Outlier::grubbsStatistic($data, Outlier::ONE_SIDED_LOWER); +$criticalValue = Outlier::grubbsCriticalValue($𝛼, $n, Outlier::ONE_SIDED); + +// Grubbs' test - one sided test of maximum value +$grubbsStatistic = Outlier::grubbsStatistic($data, Outlier::ONE_SIDED_UPPER); +$criticalValue = Outlier::grubbsCriticalValue($𝛼, $n, Outlier::ONE_SIDED); +``` + +### Statistics - Random Variables +```php +use MathPHP\Statistics\RandomVariable; + +$X = [1, 2, 3, 4]; +$Y = [2, 3, 4, 5]; + +// Central moment (nth moment) +$second_central_moment = RandomVariable::centralMoment($X, 2); +$third_central_moment = RandomVariable::centralMoment($X, 3); + +// Skewness (population, sample, and alternative general method) +$skewness = RandomVariable::skewness($X); // Optional type parameter to choose skewness type calculation. Defaults to sample skewness (similar to Excel's SKEW). +$skewness = RandomVariable::sampleSkewness($X); // Same as RandomVariable::skewness($X, RandomVariable::SAMPLE_SKEWNESS) - Similar to Excel's SKEW, SAS and SPSS, R (e1071) skewness type 2 +$skewness = RandomVariable::populationSkewness($X); // Same as RandomVariable::skewness($X, RandomVariable::POPULATION_SKEWNESS) - Similar to Excel's SKEW.P, classic textbook definition, R (e1071) skewness type 1 +$skewness = RandomVariable::alternativeSkewness($X); // Same as RandomVariable::skewness($X, RandomVariable::ALTERNATIVE_SKEWNESS) - Alternative, classic definition of skewness +$SES = RandomVariable::ses(count($X)); // standard error of skewness + +// Kurtosis (excess) +$kurtosis = RandomVariable::kurtosis($X); // Optional type parameter to choose kurtosis type calculation. Defaults to population kurtosis (similar to Excel's KURT). +$kurtosis = RandomVariable::sampleKurtosis($X); // Same as RandomVariable::kurtosis($X, RandomVariable::SAMPLE_KURTOSIS) - Similar to R (e1071) kurtosis type 1 +$kurtosis = RandomVariable::populationKurtosis($X); // Same as RandomVariable::kurtosis($X, RandomVariable::POPULATION_KURTOSIS) - Similar to Excel's KURT, SAS and SPSS, R (e1071) kurtosis type 2 +$platykurtic = RandomVariable::isPlatykurtic($X); // true if kurtosis is less than zero +$leptokurtic = RandomVariable::isLeptokurtic($X); // true if kurtosis is greater than zero +$mesokurtic = RandomVariable::isMesokurtic($X); // true if kurtosis is zero +$SEK = RandomVariable::sek(count($X)); // standard error of kurtosis + +// Standard error of the mean (SEM) +$sem = RandomVariable::standardErrorOfTheMean($X); // same as sem +$sem = RandomVariable::sem($X); // same as standardErrorOfTheMean + +// Confidence interval +$μ = 90; // sample mean +$n = 9; // sample size +$σ = 36; // standard deviation +$cl = 99; // confidence level +$ci = RandomVariable::confidenceInterval($μ, $n, $σ, $cl); // Array( [ci] => 30.91, [lower_bound] => 59.09, [upper_bound] => 120.91 ) +``` + +### Statistics - Regressions +```php +use MathPHP\Statistics\Regression; + +$points = [[1,2], [2,3], [4,5], [5,7], [6,8]]; + +// Simple linear regression (least squares method) +$regression = new Regression\Linear($points); +$parameters = $regression->getParameters(); // [m => 1.2209302325581, b => 0.6046511627907] +$equation = $regression->getEquation(); // y = 1.2209302325581x + 0.6046511627907 +$y = $regression->evaluate(5); // Evaluate for y at x = 5 using regression equation +$ci = $regression->ci(5, 0.5); // Confidence interval for x = 5 with p-value of 0.5 +$pi = $regression->pi(5, 0.5); // Prediction interval for x = 5 with p-value of 0.5; Optional number of trials parameter. +$Ŷ = $regression->yHat(); +$r = $regression->r(); // same as correlationCoefficient +$r² = $regression->r2(); // same as coefficientOfDetermination +$se = $regression->standardErrors(); // [m => se(m), b => se(b)] +$t = $regression->tValues(); // [m => t, b => t] +$p = $regression->tProbability(); // [m => p, b => p] +$F = $regression->fStatistic(); +$p = $regression->fProbability(); +$h = $regression->leverages(); +$e = $regression->residuals(); +$D = $regression->cooksD(); +$DFFITS = $regression->dffits(); +$SStot = $regression->sumOfSquaresTotal(); +$SSreg = $regression->sumOfSquaresRegression(); +$SSres = $regression->sumOfSquaresResidual(); +$MSR = $regression->meanSquareRegression(); +$MSE = $regression->meanSquareResidual(); +$MSTO = $regression->meanSquareTotal(); +$error = $regression->errorSd(); // Standard error of the residuals +$V = $regression->regressionVariance(); +$n = $regression->getSampleSize(); // 5 +$points = $regression->getPoints(); // [[1,2], [2,3], [4,5], [5,7], [6,8]] +$xs = $regression->getXs(); // [1, 2, 4, 5, 6] +$ys = $regression->getYs(); // [2, 3, 5, 7, 8] +$ν = $regression->degreesOfFreedom(); + +// Linear regression through a fixed point (least squares method) +$force_point = [0,0]; +$regression = new Regression\LinearThroughPoint($points, $force_point); +$parameters = $regression->getParameters(); +$equation = $regression->getEquation(); +$y = $regression->evaluate(5); +$Ŷ = $regression->yHat(); +$r = $regression->r(); +$r² = $regression->r2(); + ⋮ ⋮ + +// Theil–Sen estimator (Sen's slope estimator, Kendall–Theil robust line) +$regression = new Regression\TheilSen($points); +$parameters = $regression->getParameters(); +$equation = $regression->getEquation(); +$y = $regression->evaluate(5); + ⋮ ⋮ + +// Use Lineweaver-Burk linearization to fit data to the Michaelis–Menten model: y = (V * x) / (K + x) +$regression = new Regression\LineweaverBurk($points); +$parameters = $regression->getParameters(); // [V, K] +$equation = $regression->getEquation(); // y = Vx / (K + x) +$y = $regression->evaluate(5); + ⋮ ⋮ + +// Use Hanes-Woolf linearization to fit data to the Michaelis–Menten model: y = (V * x) / (K + x) +$regression = new Regression\HanesWoolf($points); +$parameters = $regression->getParameters(); // [V, K] +$equation = $regression->getEquation(); // y = Vx / (K + x) +$y = $regression->evaluate(5); + ⋮ ⋮ + +// Power law regression - power curve (least squares fitting) +$regression = new Regression\PowerLaw($points); +$parameters = $regression->getParameters(); // [a => 56.483375436574, b => 0.26415375648621] +$equation = $regression->getEquation(); // y = 56.483375436574x^0.26415375648621 +$y = $regression->evaluate(5); + ⋮ ⋮ + +// LOESS - Locally Weighted Scatterplot Smoothing (Local regression) +$α = 1/3; // Smoothness parameter +$λ = 1; // Order of the polynomial fit +$regression = new Regression\LOESS($points, $α, $λ); +$y = $regression->evaluate(5); +$Ŷ = $regression->yHat(); + ⋮ ⋮ +``` + +### Statistics - Significance Testing +```php +use MathPHP\Statistics\Significance; + +// Z test - One sample (z and p values) +$Hₐ = 20; // Alternate hypothesis (M Sample mean) +$n = 200; // Sample size +$H₀ = 19.2; // Null hypothesis (μ Population mean) +$σ = 6; // SD of population (Standard error of the mean) +$z = Significance:zTest($Hₐ, $n, $H₀, $σ); // Same as zTestOneSample +$z = Significance:zTestOneSample($Hₐ, $n, $H₀, $σ); // Same as zTest +/* [ + 'z' => 1.88562, // Z score + 'p1' => 0.02938, // one-tailed p value + 'p2' => 0.0593, // two-tailed p value +] */ + +// Z test - Two samples (z and p values) +$μ₁ = 27; // Sample mean of population 1 +$μ₂ = 33; // Sample mean of population 2 +$n₁ = 75; // Sample size of population 1 +$n₂ = 50; // Sample size of population 2 +$σ₁ = 14.1; // Standard deviation of sample mean 1 +$σ₂ = 9.5; // Standard deviation of sample mean 2 +$z = Significance::zTestTwoSample($μ₁, $μ₂, $n₁, $n₂, $σ₁, $σ₂); +/* [ + 'z' => -2.36868418147285, // z score + 'p1' => 0.00893, // one-tailed p value + 'p2' => 0.0179, // two-tailed p value +] */ + +// Z score +$M = 8; // Sample mean +$μ = 7; // Population mean +$σ = 1; // Population SD +$z = Significance::zScore($M, $μ, $σ); + +// T test - One sample (from sample data) +$a = [3, 4, 4, 5, 5, 5, 6, 6, 7, 8]; // Data set +$H₀ = 300; // Null hypothesis (μ₀ Population mean) +$tTest = Significance::tTest($a, $H₀) +print_r($tTest); +/* Array ( + [t] => 0.42320736951516 // t score + [df] => 9 // degrees of freedom + [p1] => 0.34103867713806 // one-tailed p value + [p2] => 0.68207735427613 // two-tailed p value + [mean] => 5.3 // sample mean + [sd] => 1.4944341180973 // standard deviation +) */ + +// T test - One sample (from summary data) +$Hₐ = 280; // Alternate hypothesis (M Sample mean) +$s = 50; // Standard deviation of sample +$n = 15; // Sample size +$H₀ = 300; // Null hypothesis (μ₀ Population mean) +$tTest = Significance::tTestOneSampleFromSummaryData($Hₐ, $s, $n, $H₀); +print_r($tTest); +/* Array ( + [t] => -1.549193338483 // t score + [df] => 14 // degreees of freedom + [p1] => 0.071820000122611 // one-tailed p value + [p2] => 0.14364000024522 // two-tailed p value + [mean] => 280 // sample mean + [sd] => 50 // standard deviation +) */ + +// T test - Two samples (from sample data) +$x₁ = [27.5, 21.0, 19.0, 23.6, 17.0, 17.9, 16.9, 20.1, 21.9, 22.6, 23.1, 19.6, 19.0, 21.7, 21.4]; +$x₂ = [27.1, 22.0, 20.8, 23.4, 23.4, 23.5, 25.8, 22.0, 24.8, 20.2, 21.9, 22.1, 22.9, 20.5, 24.4]; +$tTest = Significance::tTest($x₁, $x₂); +print_r($tTest); +/* Array ( + [t] => -2.4553600286929 // t score + [df] => 24.988527070145 // degrees of freedom + [p1] => 0.010688914613979 // one-tailed p value + [p2] => 0.021377829227958 // two-tailed p value + [mean1] => 20.82 // mean of sample x₁ + [mean2] => 22.98667 // mean of sample x₂ + [sd1] => 2.804894 // standard deviation of x₁ + [sd2] => 1.952605 // standard deviation of x₂ +) */ + +// T test - Two samples (from summary data) +$μ₁ = 42.14; // Sample mean of population 1 +$μ₂ = 43.23; // Sample mean of population 2 +$n₁ = 10; // Sample size of population 1 +$n₂ = 10; // Sample size of population 2 +$σ₁ = 0.683; // Standard deviation of sample mean 1 +$σ₂ = 0.750; // Standard deviation of sample mean 2 +$tTest = Significance::tTestTwoSampleFromSummaryData($μ₁, $μ₂, $n₁, $n₂, $σ₁, $σ₂); +print_r($tTest); +/* Array ( + [t] => -3.3972305988708 // t score + [df] => 17.847298548027 // degrees of freedom + [p1] => 0.0016211251126198 // one-tailed p value + [p2] => 0.0032422502252396 // two-tailed p value + [mean1] => 42.14 + [mean2] => 43.23 + [sd1] => 0.6834553 + [sd2] => 0.7498889 +] */ + +// T score +$Hₐ = 280; // Alternate hypothesis (M Sample mean) +$s = 50; // SD of sample +$n = 15; // Sample size +$H₀ = 300; // Null hypothesis (μ₀ Population mean) +$t = Significance::tScore($Hₐ, $s, $n, $H); + +// χ² test (chi-squared goodness of fit test) +$observed = [4, 6, 17, 16, 8, 9]; +$expected = [10, 10, 10, 10, 10, 10]; +$χ² = Significance::chiSquaredTest($observed, $expected); +// ['chi-square' => 14.2, 'p' => 0.014388] +``` + +### Trigonometry +```php +use MathPHP\Trigonometry; + +$n = 9; +$points = Trigonometry::unitCircle($n); // Produce n number of points along the unit circle +``` + +Unit Tests +---------- + +Beyond 100% code coverage! + +MathPHP has thousands of unit tests testing individual functions directly with numerous data inputs to achieve 100% test coverage. +MathPHP unit tests also test mathematical axioms which indirectly test the same functions in multiple different ways ensuring that those math properties all work out according to the axioms. + +```bash +$ cd tests +$ phpunit +``` + +[![Coverage Status](https://coveralls.io/repos/github/markrogoyski/math-php/badge.svg?branch=master)](https://coveralls.io/github/markrogoyski/math-php?branch=master) + +Standards +--------- + +MathPHP conforms to the following standards: + + * PSR-1 - Basic coding standard (http://www.php-fig.org/psr/psr-1/) + * PSR-4 - Autoloader (http://www.php-fig.org/psr/psr-4/) + * PSR-12 - Extended coding style guide (http://www.php-fig.org/psr/psr-12/) + +License +------- + +MathPHP is licensed under the MIT License. diff --git a/htdocs/includes/markrogoyski/math-php/composer.json b/htdocs/includes/markrogoyski/math-php/composer.json new file mode 100644 index 0000000000000..fb937419c4c81 --- /dev/null +++ b/htdocs/includes/markrogoyski/math-php/composer.json @@ -0,0 +1,41 @@ +{ + "name": "markrogoyski/math-php", + "type": "library", + "description": "Math Library for PHP. Features descriptive statistics and regressions; Continuous and discrete probability distributions; Linear algebra with matrices and vectors, Numerical analysis; special mathematical functions; Algebra", + "keywords": ["math", "mathematics", "probability", "combinatorics", "statistics", "distributions", "regressions", "linear algebra", "matrix", "algebra", "numerical analysis"], + "homepage": "https://github.com/markrogoyski/math-php/", + "require": { + "php": ">=7.2.0", + "ext-json": "*" + }, + "autoload": { + "psr-4": { "MathPHP\\": "src/" } + }, + "require-dev": { + "phpunit/phpunit": "^8.5", + "php-coveralls/php-coveralls": "^2.0", + "squizlabs/php_codesniffer": "3.*", + "phpstan/phpstan": "^1.10", + "phpmd/phpmd": "^2.6", + "phploc/phploc": "*", + "php-parallel-lint/php-parallel-lint": "^1.2" + }, + "authors": [ + { + "name": "Mark Rogoyski", + "role": "Lead developer", + "email": "mark@rogoyski.com", + "homepage": "https://github.com/markrogoyski" + }, + { + "name": "Kevin Nowaczyk", + "role": "Developer", + "homepage": "https://github.com/Beakerboy" + }, + { + "name": "MathPHP Community of Contributors", + "homepage": "https://github.com/markrogoyski/math-php/graphs/contributors" + } + ], + "license": "MIT" +} diff --git a/htdocs/includes/markrogoyski/math-php/src/Exception/BadDataException.php b/htdocs/includes/markrogoyski/math-php/src/Exception/BadDataException.php new file mode 100644 index 0000000000000..43fed7fe60d24 --- /dev/null +++ b/htdocs/includes/markrogoyski/math-php/src/Exception/BadDataException.php @@ -0,0 +1,7 @@ + $periods) { + return \NAN; + } + + if ($rate == 0) { + return 0; + } + + if ($beginning && $period == 1) { + return 0.0; + } + + $payment = self::pmt($rate, $periods, $present_value, $future_value, $beginning); + if ($beginning) { + $interest = (self::fv($rate, $period - 2, $payment, $present_value, $beginning) - $payment) * $rate; + } else { + $interest = self::fv($rate, $period - 1, $payment, $present_value, $beginning) * $rate; + } + + return self::checkZero($interest); + } + + /** + * Principle on a financial payment for a loan or annuity with compound interest. + * Determines the principle payment at a particular period of the annuity. For + * a typical loan paid down to zero, the amount of interest and principle paid + * throughout the lifetime of the loan will change, with the principle portion + * of the payment increasing over time as the loan principle decreases. + * + * Same as the =PPMT() function in most spreadsheet software. + * + * See the PMT function for derivation of the formula. + * See the IPMT function for derivation and use of PMT, IPMT, and PPMT. + * + * With derivations for PMT and IPMT, we simply compute: + * + * PPMT = PMT - IPMT + * + * Examples: + * The principle on a payment on a 30-year fixed mortgage note of $265000 at 3.5% interest + * paid at the end of every month, looking at the first payment: + * ppmt(0.035/12, 1, 30*12, 265000, 0, false) + * + * @param float $rate + * @param int $period + * @param int $periods + * @param float $present_value + * @param float $future_value + * @param bool $beginning adjust the payment to the beginning or end of the period + * + * @return float + */ + public static function ppmt(float $rate, int $period, int $periods, float $present_value, float $future_value = 0.0, bool $beginning = false): float + { + $payment = self::pmt($rate, $periods, $present_value, $future_value, $beginning); + $ipmt = self::ipmt($rate, $period, $periods, $present_value, $future_value, $beginning); + + return $payment - $ipmt; + } + + /** + * Number of payment periods of an annuity. + * Solves for the number of periods in the annuity formula. + * + * Same as the =NPER() function in most spreadsheet software. + * + * Solving the basic annuity formula for number of periods: + * log(PMT - FV*r) + * --------------- + * log(PMT + PV*r) + * n = -------------------- + * log(1 + r) + * + * The (1+r*when) factor adjusts the payment to the beginning or end + * of the period. In the common case of a payment at the end of a period, + * the factor is 1 and reduces to the formula above. Setting when=1 computes + * an "annuity due" with an immediate payment. + * + * Examples: + * The number of periods of a $475000 mortgage with interest rate 3.5% and monthly + * payment of $2132.96 paid in full: + * nper(0.035/12, -2132.96, 475000, 0) + * + * @param float $rate + * @param float $payment + * @param float $present_value + * @param float $future_value + * @param bool $beginning adjust the payment to the beginning or end of the period + * + * @return float + */ + public static function periods(float $rate, float $payment, float $present_value, float $future_value, bool $beginning = false): float + { + $when = $beginning ? 1 : 0; + + if ($rate == 0) { + return - ($present_value + $future_value) / $payment; + } + + $initial = $payment * (1.0 + $rate * $when); + return \log(($initial - $future_value * $rate) / ($initial + $present_value * $rate)) / \log(1.0 + $rate); + } + + /** + * Annual Equivalent Rate (AER) of an annual percentage rate (APR). + * The effective yearly rate of an annual percentage rate when the + * annual percentage rate is compounded periodically within the year. + * + * Same as the =EFFECT() function in most spreadsheet software. + * + * The formula: + * https://en.wikipedia.org/wiki/Effective_interest_rate + * + * / i \ ᴺ + * AER = | 1 + - | - 1 + * \ n / + * + * Examples: + * The AER of APR 3.5% interest compounded monthly. + * aer(0.035, 12) + * + * @param float $nominal + * @param int $periods + * + * @return float + */ + public static function aer(float $nominal, int $periods): float + { + if ($periods == 1) { + return $nominal; + } + + return \pow(1 + ($nominal / $periods), $periods) - 1; + } + + /** + * Annual Nominal Rate of an annual effective rate (AER). + * The nominal yearly rate of an annual effective rate when the + * annual effective rate is compounded periodically within the year. + * + * Same as the =NOMINAL() function in most spreadsheet software. + * + * See: + * https://en.wikipedia.org/wiki/Nominal_interest_rate + * + * / 1/N \ + * NOMINAL = | (AER + 1) -1 | * N + * \ / + * + * Examples: + * The nominal rate of AER 3.557% interest compounded monthly. + * nominal(0.03557, 12) + * + * @param float $aer + * @param int $periods + * + * @return float + */ + public static function nominal(float $aer, int $periods): float + { + if ($periods == 1) { + return $aer; + } + + return (\pow($aer + 1, 1 / $periods) - 1) * $periods; + } + + /** + * Future value for a loan or annuity with compound interest. + * + * Same as the =FV() function in most spreadsheet software. + * + * The basic future-value formula derivation: + * https://en.wikipedia.org/wiki/Future_value + * + * PMT*((1+r)ᴺ - 1) + * FV = -PV*(1+r)ᴺ - ---------------- + * r + * + * The (1+r*when) factor adjusts the payment to the beginning or end + * of the period. In the common case of a payment at the end of a period, + * the factor is 1 and reduces to the formula above. Setting when=1 computes + * an "annuity due" with an immediate payment. + * + * Examples: + * The future value in 5 years on a 30-year fixed mortgage note of $265000 + * at 3.5% interest paid at the end of every month. This is how much loan + * principle would be outstanding: + * fv(0.035/12, 5*12, 1189.97, -265000, false) + * + * The present_value is negative indicating money borrowed for the mortgage, + * whereas payment is positive, indicating money that will be paid to the + * mortgage. + * + * @param float $rate + * @param int $periods + * @param float $payment + * @param float $present_value + * @param bool $beginning adjust the payment to the beginning or end of the period + * + * @return float + */ + public static function fv(float $rate, int $periods, float $payment, float $present_value, bool $beginning = false): float + { + $when = $beginning ? 1 : 0; + + if ($rate == 0) { + $fv = -($present_value + ($payment * $periods)); + return self::checkZero($fv); + } + + $initial = 1 + ($rate * $when); + $compound = \pow(1 + $rate, $periods); + $fv = - (($present_value * $compound) + (($payment * $initial * ($compound - 1)) / $rate)); + + return self::checkZero($fv); + } + + /** + * Present value for a loan or annuity with compound interest. + * + * Same as the =PV() function in most spreadsheet software. + * + * The basic present-value formula derivation: + * https://en.wikipedia.org/wiki/Present_value + * + * PMT*((1+r)ᴺ - 1) + * PV = -FV - ---------------- + * r + * --------------------- + * (1 + r)ᴺ + * + * The (1+r*when) factor adjusts the payment to the beginning or end + * of the period. In the common case of a payment at the end of a period, + * the factor is 1 and reduces to the formula above. Setting when=1 computes + * an "annuity due" with an immediate payment. + * + * Examples: + * The present value of a bond's $1000 face value paid in 5 year's time + * with a constant discount rate of 3.5% compounded monthly: + * pv(0.035/12, 5*12, 0, -1000, false) + * + * The present value of a $1000 5-year bond that pays a fixed 7% ($70) + * coupon at the end of each year with a discount rate of 5%: + * pv(0.5, 5, -70, -1000, false) + * + * The payment and future_value is negative indicating money paid out. + * + * @param float $rate + * @param int $periods + * @param float $payment + * @param float $future_value + * @param bool $beginning adjust the payment to the beginning or end of the period + * + * @return float + */ + public static function pv(float $rate, int $periods, float $payment, float $future_value, bool $beginning = false): float + { + $when = $beginning ? 1 : 0; + + if ($rate == 0) { + $pv = -$future_value - ($payment * $periods); + return self::checkZero($pv); + } + + $initial = 1 + ($rate * $when); + $compound = \pow(1 + $rate, $periods); + $pv = (-$future_value - (($payment * $initial * ($compound - 1)) / $rate)) / $compound; + + return self::checkZero($pv); + } + + /** + * Net present value of cash flows. Cash flows are periodic starting + * from an initial time and with a uniform discount rate. + * + * Similar to the =NPV() function in most spreadsheet software, except + * the initial (usually negative) cash flow at time 0 is given as the + * first element of the array rather than subtracted. For example, + * spreadsheet: =NPV(0.01, 100, 200, 300, 400) - 1000 + * is done as + * MathPHP::npv(0.01, [-1000, 100, 200, 300, 400]) + * + * The basic net-present-value formula derivation: + * https://en.wikipedia.org/wiki/Net_present_value + * + * n Rt + * Σ -------- + * t=0 (1 / r)ᵗ + * + * Examples: + * The net present value of 5 yearly cash flows after an initial $1000 + * investment with a 3% discount rate: + * npv(0.03, [-1000, 100, 500, 300, 700, 700]) + * + * @param float $rate + * @param array $values + * + * @return float + */ + public static function npv(float $rate, array $values): float + { + $result = 0.0; + + for ($i = 0; $i < \count($values); ++$i) { + $result += $values[$i] / (1 + $rate) ** $i; + } + + return $result; + } + + /** + * Interest rate per period of an Annuity. + * + * Same as the =RATE() formula in most spreadsheet software. + * + * The basic rate formula derivation is to solve for the future value + * taking into account the present value: + * https://en.wikipedia.org/wiki/Future_value + * + * ((1+r)ᴺ - 1) + * FV + PV*(1+r)ᴺ + PMT * ------------ = 0 + * r + * The (1+r*when) factor adjusts the payment to the beginning or end + * of the period. In the common case of a payment at the end of a period, + * the factor is 1 and reduces to the formula above. Setting when=1 computes + * an "annuity due" with an immediate payment. + * + * Not all solutions for the rate have real-value solutions or converge. + * In these cases, NAN is returned. + * + * @param float $periods + * @param float $payment + * @param float $present_value + * @param float $future_value + * @param bool $beginning + * @param float $initial_guess + * + * @return float + */ + public static function rate(float $periods, float $payment, float $present_value, float $future_value, bool $beginning = false, float $initial_guess = 0.1): float + { + $when = $beginning ? 1 : 0; + + $func = function ($x, $periods, $payment, $present_value, $future_value, $when) { + return $future_value + $present_value * (1 + $x) ** $periods + $payment * (1 + $x * $when) / $x * ((1 + $x) ** $periods - 1); + }; + + return self::checkZero(NumericalAnalysis\RootFinding\NewtonsMethod::solve($func, [$initial_guess, $periods, $payment, $present_value, $future_value, $when], 0, self::EPSILON, 0)); + } + + /** + * Internal rate of return. + * Periodic rate of return that would provide a net-present value (NPV) of 0. + * + * Same as =IRR formula in most spreadsheet software. + * + * Reference: + * https://en.wikipedia.org/wiki/Internal_rate_of_return + * + * Examples: + * The rate of return of an initial investment of $100 with returns + * of $50, $40, and $30: + * irr([-100, 50, 40, 30]) + * + * Solves for NPV=0 using Newton's Method. + * @param array $values + * @param float $initial_guess + * + * @return float + * + * @throws OutOfBoundsException + * + * @todo: Use eigenvalues to find the roots of a characteristic polynomial. + * This will allow finding all solutions and eliminate the need of the initial_guess. + */ + public static function irr(array $values, float $initial_guess = 0.1): float + { + $func = function ($x, $values) { + return Finance::npv($x, $values); + }; + + if (\count($values) <= 1) { + return \NAN; + } + + $root = NumericalAnalysis\RootFinding\NewtonsMethod::solve($func, [$initial_guess, $values], 0, self::EPSILON, 0); + if (!\is_nan($root)) { + return self::CheckZero($root); + } + return self::checkZero(self::alternateIrr($values)); + } + + /** + * Alternate IRR implementation. + * + * A more numerically stable implementation that converges to only one value. + * + * Based off of Better: https://github.com/better/irr + * + * @param array $values + * + * @return float + */ + private static function alternateIrr(array $values): float + { + $rate = 0.0; + for ($iter = 0; $iter < 100; $iter++) { + $m = -1000; + for ($i = 0; $i < \count($values); $i++) { + $m = \max($m, -$rate * $i); + } + $f = []; + for ($i = 0; $i < \count($values); $i++) { + $f[$i] = \exp(-$rate * $i - $m); + } + $t = 0; + for ($i = 0; $i < \count($values); $i++) { + $t += $f[$i] * $values[$i]; + } + if (\abs($t) < (self::EPSILON * \exp($m))) { + break; + } + $u = 0; + for ($i = 0; $i < \count($values); $i++) { + $u += $f[$i] * $i * $values[$i]; + } + if ($u == 0) { + return \NAN; + } + $rate += $t / $u; + } + return \exp($rate) - 1; + } + + /** + * Modified internal rate of return. + * Rate of return that discounts outflows (investments) at the financing rate, + * and reinvests inflows with an expected rate of return. + * + * Same as =MIRR formula in most spreadsheet software. + * + * The formula derivation: + * https://en.wikipedia.org/wiki/Modified_internal_rate_of_return + * + * _____________________________ + * n/ FV(re-invested cash inflows) + * - / ---------------------------- - 1.0 + * \/ PV(discounted cash outflows) + * + * Examples: + * The rate of return of an initial investment of $100 at 5% financing + * with returns of $50, $40, and $30 reinvested at 10%: + * mirr([-100, 50, 40, 30], 0.05, 0.10) + * + * @param array $values + * @param float $finance_rate + * @param float $reinvestment_rate + * + * @return float + */ + public static function mirr(array $values, float $finance_rate, float $reinvestment_rate): float + { + $inflows = array(); + $outflows = array(); + + for ($i = 0; $i < \count($values); $i++) { + if ($values[$i] >= 0) { + $inflows[] = $values[$i]; + $outflows[] = 0; + } else { + $inflows[] = 0; + $outflows[] = $values[$i]; + } + } + + $nonzero = function ($x) { + return $x != 0; + }; + + if (\count(\array_filter($inflows, $nonzero)) == 0 || \count(\array_filter($outflows, $nonzero)) == 0) { + return \NAN; + } + + $root = \count($values) - 1; + $pv_inflows = self::npv($reinvestment_rate, $inflows); + $fv_inflows = self::fv($reinvestment_rate, $root, 0, -$pv_inflows); + $pv_outflows = self::npv($finance_rate, $outflows); + + return self::checkZero(\pow($fv_inflows / -$pv_outflows, 1 / $root) - 1); + } + + /** + * Discounted Payback of an investment. + * The number of periods to recoup cash outlays of an investment. + * + * This is commonly used with discount rate=0 as simple payback period, + * but it is not a real financial measurement when it doesn't consider the + * discount rate. Even with a discount rate, it doesn't consider the cost + * of capital or re-investment of returns. + * + * Avoid this when possible. Consider NPV, MIRR, IRR, and other financial + * functions. + * + * Reference: + * https://en.wikipedia.org/wiki/Payback_period + * + * The result is given assuming cash flows are continous throughout a period. + * To compute payback in terms of whole periods, use ceil() on the result. + * + * An investment could reach its payback period before future cash outlays occur. + * The payback period returned is defined to be the final point at which the + * sum of returns becomes positive. + * + * Examples: + * The payback period of an investment with a $1,000 investment and future returns + * of $100, $200, $300, $400, $500: + * payback([-1000, 100, 200, 300, 400, 500]) + * + * The discounted payback period of an investment with a $1,000 investment, future returns + * of $100, $200, $300, $400, $500, and a discount rate of 0.10: + * payback([-1000, 100, 200, 300, 400, 500], 0.1) + * + * @param array $values + * @param float $rate + * + * @return float + */ + public static function payback(array $values, float $rate = 0.0): float + { + $last_outflow = -1; + for ($i = 0; $i < \count($values); $i++) { + if ($values[$i] < 0) { + $last_outflow = $i; + } + } + + if ($last_outflow < 0) { + return 0.0; + } + + $sum = $values[0]; + $payback_period = -1; + + for ($i = 1; $i < \count($values); $i++) { + $prevsum = $sum; + $discounted_flow = $values[$i] / (1 + $rate) ** $i; + $sum += $discounted_flow; + if ($sum >= 0) { + if ($i > $last_outflow) { + return ($i - 1) + (-$prevsum / $discounted_flow); + } + if ($payback_period == -1) { + $payback_period = ($i - 1) + (-$prevsum / $discounted_flow); + } + } else { + $payback_period = -1; + } + } + if ($sum >= 0) { + return $payback_period; + } + + return \NAN; + } + + /** + * Profitability Index. + * The Profitability Index, also referred to as Profit Investment + * Ratio (PIR) and Value Investment Ratio (VIR), is a comparison of + * discounted cash inflows to discounted cash outflows. It can be + * used as a decision criteria of an investment, using larger than 1 + * to choose an investment, and less than 1 to pass. + * + * The formula derivation: + * https://en.wikipedia.org/wiki/Profitability_index + * + * PV(cash inflows) + * ---------------- + * PV(cash outflows) + * + * The formula is usually stated in terms of the initial investmest, + * but it is generalized here to discount all future outflows. + * + * Examples: + * The profitability index of an initial $100 investment with future + * returns of $50, $50, $50 with a 10% discount rate: + * profitabilityIndex([-100, 50, 50, 50], 0.10) + * + * @param array $values + * @param float $rate + * + * @return float + */ + public static function profitabilityIndex(array $values, float $rate): float + { + $inflows = array(); + $outflows = array(); + + for ($i = 0; $i < \count($values); $i++) { + if ($values[$i] >= 0) { + $inflows[] = $values[$i]; + $outflows[] = 0; + } else { + $inflows[] = 0; + $outflows[] = -$values[$i]; + } + } + + $nonzero = function ($x) { + return $x != 0; + }; + + if (\count(\array_filter($outflows, $nonzero)) == 0) { + return \NAN; + } + + $pv_inflows = self::npv($rate, $inflows); + $pv_outflows = self::npv($rate, $outflows); + + return $pv_inflows / $pv_outflows; + } +} diff --git a/htdocs/includes/markrogoyski/math-php/src/NumericalAnalysis/RootFinding/NewtonsMethod.php b/htdocs/includes/markrogoyski/math-php/src/NumericalAnalysis/RootFinding/NewtonsMethod.php new file mode 100644 index 0000000000000..77c03ac6eda92 --- /dev/null +++ b/htdocs/includes/markrogoyski/math-php/src/NumericalAnalysis/RootFinding/NewtonsMethod.php @@ -0,0 +1,61 @@ + $args Parameters to pass to callback function. The initial value for the + * parameter of interest must be in this array. + * @param int|float $target Value of f(x) we a trying to solve for + * @param float $tol Tolerance; How close to the actual solution we would like. + * @param int $position Which element in the $args array will be changed; also serves as initial guess + * @param int $iterations + * + * @return int|float + * + * @throws Exception\OutOfBoundsException if the tolerance is not valid + */ + public static function solve(callable $function, array $args, $target, float $tol, int $position = 0, int $iterations = 100) + { + Validation::tolerance($tol); + + // Initialize + $args1 = $args; + $guess = $args[$position]; + $i = 0; + + do { + $args1[$position] = $guess + $tol; // load the initial guess into the arguments + $args[$position] = $guess; // load the initial guess into the arguments + $y = $function(...$args); + $y_at_xplusdelx = $function(...$args1); + $slope = ($y_at_xplusdelx - $y) / $tol; + $del_y = $target - $y; + if (\abs($slope) < $tol) { + return \NAN; + } + $guess = $del_y / $slope + $guess; + $dif = \abs($del_y); + $i++; + } while ($dif > $tol && $i < $iterations); + + if ($dif > $tol) { + return \NAN; + } + return $guess; + } +} diff --git a/htdocs/includes/markrogoyski/math-php/src/NumericalAnalysis/RootFinding/Validation.php b/htdocs/includes/markrogoyski/math-php/src/NumericalAnalysis/RootFinding/Validation.php new file mode 100644 index 0000000000000..913bd3697725b --- /dev/null +++ b/htdocs/includes/markrogoyski/math-php/src/NumericalAnalysis/RootFinding/Validation.php @@ -0,0 +1,40 @@ +)|(?:>(.*)<\/\1>))/'; + const FIND_TAGS_REGEX = '/<([A-Za-z0-9]+)(?:\s([A-Za-z]+(?:\-[A-Za-z]+)?(?:=(?:".*?")|(?:[0-9]+))))*(?:(?:\s\/>)|(?:>(.*)<\/\1>))/s'; const FIND_ENCODED_TAGS_REGEX = '/<([A-Za-z]+)(?:\s([A-Za-z]+(?:\-[A-Za-z]+)?(?:=(?:".*?")|(?:[0-9]+))))*(?:(?:\s\/>)|(?:>(.*)<\/\1>))/'; @@ -173,7 +179,7 @@ public function convertVarToOdf($value, $encode = true, $charset = 'ISO-8859') // Check if the value includes html tags if ($this->_hasHtmlTag($value) === true) { - $value = strip_tags($value, '
'); + $value = strip_tags($value, '
'); // remove html tags except the one into the list in second parameter // Default styles for strong/b, i/em, u, s, sub & sup $automaticStyles = array( @@ -220,14 +226,14 @@ public function convertVarToOdf($value, $encode = true, $charset = 'ISO-8859') } /** - * Replaces html tags in with odt tags and returns an odt string. Encodes and converts inner text. + * Replaces html tags in with odt tags and returns an odt string. Encodes and converts inner text. * @param array $tags An array with html tags generated by the getDataFromHtml() function * @param array $customStyles An array of style defenitions that should be included inside the odt file * @param array $fontDeclarations An array of font declarations that should be included inside the odt file * @param bool $encode If true, special XML characters are encoded * @param string $charset Charset. See encode_chars() - * @return string - */ + * @return string + */ private function _replaceHtmlWithOdtTag($tags, &$customStyles, &$fontDeclarations, $encode = false, $charset = '') { if ($customStyles == null) $customStyles = array(); @@ -318,7 +324,7 @@ private function _replaceHtmlWithOdtTag($tags, &$customStyles, &$fontDeclaration * @param string $text The text to encode or not * @param bool $encode If true, special XML characters are encoded * @param string $charset Charset - * @return string The converted text + * @return string The converted text * @see self::convertVarToOdf() */ private function encode_chars($text, $encode = false, $charset = '') @@ -328,15 +334,15 @@ private function encode_chars($text, $encode = false, $charset = '') return $newtext; } - /** - * Checks if the given text is a html string - * @param string $text The text to check - * @return bool - */ - private function _isHtmlTag($text) + /** + * Checks if the given text is a html string + * @param string $text The text to check + * @return bool + */ + private function _isHtmlTag($text) { - return preg_match(self::FIND_TAGS_REGEX, $text); - } + return preg_match(self::FIND_TAGS_REGEX, $text); + } /** * Checks if the given text includes a html string @@ -530,10 +536,10 @@ private function _moveRowSegments() $balise = str_replace('row.', '', $matches2[1]); // Move segment tags around the row $replace = array( - '[!-- BEGIN ' . $matches2[1] . ' --]' => '', - '[!-- END ' . $matches2[1] . ' --]' => '', - ' '[!-- BEGIN ' . $balise . ' --]' => '[!-- END ' . $balise . ' --]' + '[!-- BEGIN ' . $matches2[1] . ' --]' => '', + '[!-- END ' . $matches2[1] . ' --]' => '', + ' '[!-- BEGIN ' . $balise . ' --]' => '[!-- END ' . $balise . ' --]' ); $replacedXML = str_replace(array_keys($replace), array_values($replace), $matches[0][$i]); $this->contentXml = str_replace($matches[0][$i], $replacedXML, $this->contentXml); @@ -576,10 +582,10 @@ private function _parse($type = 'content') $reg = '@(\[!--\sELSE\s' . $key . '\s--\](.*))?\[!--\sENDIF\s' . $key . '\s--\]@smU'; // U modifier = all quantifiers are non-greedy $this->contentXml = preg_replace($reg, '', $this->contentXml); /*if ($sav != $this->contentXml) - { - dol_syslog("We found a IF and it was processed"); - //var_dump($sav);exit; - }*/ + { + dol_syslog("We found a IF and it was processed"); + //var_dump($sav);exit; + }*/ } else { // Else the value is false, then two cases: no ELSE and we're done, or there is at least one place where there is an ELSE clause, then we replace it @@ -594,10 +600,10 @@ private function _parse($type = 'content') // Cleanup the other conditional blocks (all the others where there were no ELSE clause, we can just remove them altogether) $this->contentXml = preg_replace($reg, '', $this->contentXml); /*if ($sav != $this->contentXml) - { - dol_syslog("We found a IF and it was processed"); - //var_dump($sav);exit; - }*/ + { + dol_syslog("We found a IF and it was processed"); + //var_dump($sav);exit; + }*/ } } @@ -662,7 +668,7 @@ public function printDeclaredSegments() * Extract the segment and store it into $this->segments[]. Return it for next call. * * @param string $segment Segment - * @throws OdfException + * @throws OdfExceptionSegmentNotFound * @return Segment */ public function setSegment($segment) @@ -674,7 +680,7 @@ public function setSegment($segment) $reg = "#\[!--\sBEGIN\s$segment\s--\](.*)\[!--\sEND\s$segment\s--\]#sm"; $m = array(); if (preg_match($reg, html_entity_decode($this->contentXml), $m) == 0) { - throw new OdfException("'".$segment."' segment not found in the document. The tag [!-- BEGIN xxx --] or [!-- END xxx --] is not present into content file."); + throw new OdfExceptionSegmentNotFound("'".$segment."' segment not found in the document. The tag [!-- BEGIN xxx --] or [!-- END xxx --] is not present into content file."); } $this->segments[$segment] = new Segment($segment, $m[1], $this); return $this->segments[$segment]; @@ -1018,4 +1024,4 @@ public function getvalue($valuename) $this->contentXml = preg_replace($searchreg, "", $this->contentXml); return $matches[1]; } -} +} \ No newline at end of file diff --git a/htdocs/index.php b/htdocs/index.php index 40f3fa7e9ea10..c3ff57ded4d15 100644 --- a/htdocs/index.php +++ b/htdocs/index.php @@ -157,7 +157,7 @@ // Dolibarr Working Board with weather if (empty($conf->global->MAIN_DISABLE_GLOBAL_WORKBOARD)) { - $showweather = (empty($conf->global->MAIN_DISABLE_METEO) || $conf->global->MAIN_DISABLE_METEO == 2) ? 1 : 0; + $showweather = (empty($conf->global->MAIN_DISABLE_METEO) || getDolGlobalInt('MAIN_DISABLE_METEO') == 2) ? 1 : 0; //Array that contains all WorkboardResponse classes to process them $dashboardlines = array(); @@ -205,7 +205,7 @@ $dashboardlines[$board->element.'_signed'] = $board->load_board($user, "signed"); } - // Number of sales orders a deal + // Number of sales orders if (isModEnabled('commande') && empty($conf->global->MAIN_DISABLE_BLOCK_CUSTOMER) && $user->hasRight('commande', 'lire')) { include_once DOL_DOCUMENT_ROOT.'/commande/class/commande.class.php'; $board = new Commande($db); @@ -219,7 +219,7 @@ $dashboardlines[$board->element.'_shippedtobill'] = $board->load_board($user, 'shippedtobill'); } - // Number of suppliers orders a deal + // Number of suppliers orders if (isModEnabled('supplier_order') && empty($conf->global->MAIN_DISABLE_BLOCK_SUPPLIER) && $user->hasRight('fournisseur', 'commande', 'lire')) { include_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.commande.class.php'; $board = new CommandeFournisseur($db); @@ -553,9 +553,9 @@ $openedDashBoard .= '
'; if (!empty($board->labelShort)) { - $infoName = ''.$board->labelShort.''; + $infoName = '
'.$board->labelShort.'
'; } else { - $infoName = ''.$board->label.''; + $infoName = '
'.$board->label.'
'; } $textLateTitle = $langs->trans("NActionsLate", $board->nbtodolate); @@ -584,22 +584,27 @@ if ($board->total > 0) { $labeltoshow .= ' - '.price($board->total, 0, $langs, 1, -1, -1, $conf->currency); } - $openedDashBoard .= ''.$infoName.''; + $openedDashBoard .= ''; + $openedDashBoard .= $infoName; + $openedDashBoard .= ''; + $openedDashBoard .= ' '; $openedDashBoard .= '
'."\n"; } @@ -614,7 +619,7 @@ } if ($showweather && !empty($isIntopOpenedDashBoard)) { - $appendClass = (!empty($conf->global->MAIN_DISABLE_METEO) && $conf->global->MAIN_DISABLE_METEO == 2 ? ' hideonsmartphone' : ''); + $appendClass = (getDolGlobalInt('MAIN_DISABLE_METEO') == 2 ? ' hideonsmartphone' : ''); $weather = getWeatherStatus($totallate); $text = ''; diff --git a/htdocs/install/check.php b/htdocs/install/check.php index d743defe9bd4f..b4508110616f5 100644 --- a/htdocs/install/check.php +++ b/htdocs/install/check.php @@ -82,14 +82,14 @@ // Check PHP version min -$arrayphpminversionerror = array(5, 6, 0); +$arrayphpminversionerror = array(7, 0, 0); $arrayphpminversionwarning = array(7, 1, 0); if (versioncompare(versionphparray(), $arrayphpminversionerror) < 0) { // Minimum to use (error if lower) print 'Error '.$langs->trans("ErrorPHPVersionTooLow", versiontostring($arrayphpminversionerror)); $checksok = 0; // 0=error, 1=warning } elseif (versioncompare(versionphparray(), $arrayphpminversionwarning) < 0) { // Minimum supported (warning if lower) print 'Error '.$langs->trans("ErrorPHPVersionTooLow", versiontostring($arrayphpminversionwarning)); - $checksok = 0; // 0=error, 1=warning + $checksok = 1; // 0=error, 1=warning } else { print 'Ok '.$langs->trans("PHPVersion")." ".versiontostring(versionphparray()); } @@ -99,7 +99,7 @@ print "
\n"; // Check PHP version max -$arrayphpmaxversionwarning = array(8, 1, 0); +$arrayphpmaxversionwarning = array(8, 2, 0); if (versioncompare(versionphparray(), $arrayphpmaxversionwarning) > 0 && versioncompare(versionphparray(), $arrayphpmaxversionwarning) < 3) { // Maximum to use (warning if higher) print 'Error '.$langs->trans("ErrorPHPVersionTooHigh", versiontostring($arrayphpmaxversionwarning)); $checksok = 1; // 0=error, 1=warning diff --git a/htdocs/install/fileconf.php b/htdocs/install/fileconf.php index 86cd4af0f5c87..ed6c8e8b33e2b 100644 --- a/htdocs/install/fileconf.php +++ b/htdocs/install/fileconf.php @@ -483,7 +483,7 @@ class="minwidth300" - 7.0) { $rest_index = 0; $opts = getopt($short_options, $long_options, $rest_index); diff --git a/htdocs/install/mysql/data/llx_accounting_account_de.sql b/htdocs/install/mysql/data/llx_accounting_account_de.sql index e8026e32de1aa..058b0c2d6581c 100644 --- a/htdocs/install/mysql/data/llx_accounting_account_de.sql +++ b/htdocs/install/mysql/data/llx_accounting_account_de.sql @@ -1,4 +1,5 @@ --- Copyright (C) 2018 Markus Welters +-- Copyright (C) 2018 Markus Welters +-- Copyright (C) 2023 Nikolay Brookstein -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by @@ -22,7513 +23,7075 @@ -- Descriptif des plans comptables DE SKR03 + SKR04 -- ADD 500000 to rowid # Do no remove this comment -- --- SKR03 +-- SKR03 (based on DATEV Art.-Nr. 11174 2023-01-03) +-- https://www.datev.de/web/de/datev-shop/material/kontenrahmen-datev-skr-03/ +---- 0: Anlage- und Kapitalkonten +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5, 'SKR03', '0: Anlage- und Kapitalkonten', '0005', '0', 'Rückständige fällige Einzahlungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 10, 'SKR03', '0: Anlage- und Kapitalkonten', '0010', '0', 'Entgeltlich erworbene Konzessionen, gewerbliche Schutzrechte und ähnliche Rechte und Werte sowie Lizenzen an solchen Rechten und Werten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 15, 'SKR03', '0: Anlage- und Kapitalkonten', '0015', '10', 'Konzessionen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 20, 'SKR03', '0: Anlage- und Kapitalkonten', '0020', '10', 'Gewerbliche Schutzrechte'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 25, 'SKR03', '0: Anlage- und Kapitalkonten', '0025', '10', 'Ähnliche Rechte und Werte'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 27, 'SKR03', '0: Anlage- und Kapitalkonten', '0027', '10', 'EDV-Software'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 30, 'SKR03', '0: Anlage- und Kapitalkonten', '0030', '10', 'Lizenzen an gewerblichen Schutzrechten und ähnlichen Rechten und Werten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 35, 'SKR03', '0: Anlage- und Kapitalkonten', '0035', '0', 'Geschäfts- oder Firmenwert'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 38, 'SKR03', '0: Anlage- und Kapitalkonten', '0038', '0', 'Anzahlungen auf Geschäfts- oder Firmenwert'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 39, 'SKR03', '0: Anlage- und Kapitalkonten', '0039', '0', 'Geleistete Anzahlungen auf immaterielle Vermögensgegenstände'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 40, 'SKR03', '0: Anlage- und Kapitalkonten', '0040', '39', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 43, 'SKR03', '0: Anlage- und Kapitalkonten', '0043', '0', 'Selbst geschaffene immaterielle Vermögensgegenstände'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 44, 'SKR03', '0: Anlage- und Kapitalkonten', '0044', '43', 'EDV-Software'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 45, 'SKR03', '0: Anlage- und Kapitalkonten', '0045', '43', 'Lizenzen und Franchiseverträge'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 46, 'SKR03', '0: Anlage- und Kapitalkonten', '0046', '43', 'Konzessionen und gewerbliche Schutzrechte'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 47, 'SKR03', '0: Anlage- und Kapitalkonten', '0047', '43', 'Rezepte, Verfahren, Prototypen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 48, 'SKR03', '0: Anlage- und Kapitalkonten', '0048', '43', 'Immaterielle Vermögensgegenstände in Entwicklung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 50, 'SKR03', '0: Anlage- und Kapitalkonten', '0050', '0', 'Grundstücke, grundstücksgleiche Rechte und Bauten einschließlich der Bauten auf fremden Grundstücken'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 59, 'SKR03', '0: Anlage- und Kapitalkonten', '0059', '50', 'Grundstücksanteil des häuslichen Arbeitszimmers'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 60, 'SKR03', '0: Anlage- und Kapitalkonten', '0060', '0', 'Grundstücksgleiche Rechte ohne Bauten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 65, 'SKR03', '0: Anlage- und Kapitalkonten', '0065', '60', 'Unbebaute Grundstücke'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 70, 'SKR03', '0: Anlage- und Kapitalkonten', '0070', '60', 'Grundstücksgleiche Rechte (Erbbaurecht, Dauerwohnrecht, unbebaute Grundstücke)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 75, 'SKR03', '0: Anlage- und Kapitalkonten', '0075', '60', 'Grundstücke mit Substanzverzehr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 79, 'SKR03', '0: Anlage- und Kapitalkonten', '0079', '60', 'Anzahlungen auf Grund und Boden'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 80, 'SKR03', '0: Anlage- und Kapitalkonten', '0080', '0', 'Bauten auf eigenen Grundstücken und grundstücksgleichen Rechten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 85, 'SKR03', '0: Anlage- und Kapitalkonten', '0085', '80', 'Grundstückswerte eigener bebauter Grundstücke'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 90, 'SKR03', '0: Anlage- und Kapitalkonten', '0090', '80', 'Geschäftsbauten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100, 'SKR03', '0: Anlage- und Kapitalkonten', '0100', '80', 'Fabrikbauten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 110, 'SKR03', '0: Anlage- und Kapitalkonten', '0110', '80', 'Garagen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 111, 'SKR03', '0: Anlage- und Kapitalkonten', '0111', '80', 'Außenanlagen für Geschäfts-, Fabrik- und andere Bauten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 112, 'SKR03', '0: Anlage- und Kapitalkonten', '0112', '80', 'Hof- und Wegebefestigungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 113, 'SKR03', '0: Anlage- und Kapitalkonten', '0113', '80', 'Einrichtungen für Geschäfts-, Fabrik- und andere Bauten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 115, 'SKR03', '0: Anlage- und Kapitalkonten', '0115', '80', 'Andere Bauten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 120, 'SKR03', '0: Anlage- und Kapitalkonten', '0120', '80', 'Geschäfts-, Fabrik- und andere Bauten im Bau auf eigenen Grundstücken'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 129, 'SKR03', '0: Anlage- und Kapitalkonten', '0129', '80', 'Anzahlungen auf Geschäfts-, Fabrik- und andere Bauten auf eigenen Grundstücken'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 140, 'SKR03', '0: Anlage- und Kapitalkonten', '0140', '80', 'Wohnbauten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 145, 'SKR03', '0: Anlage- und Kapitalkonten', '0145', '80', 'Garagen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 146, 'SKR03', '0: Anlage- und Kapitalkonten', '0146', '80', 'Außenanlagen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 147, 'SKR03', '0: Anlage- und Kapitalkonten', '0147', '80', 'Hof- und Wegebefestigungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 148, 'SKR03', '0: Anlage- und Kapitalkonten', '0148', '80', 'Einrichtungen für Wohnbauten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 149, 'SKR03', '0: Anlage- und Kapitalkonten', '0149', '80', 'Gebäudeteil des häuslichen Arbeitszimmers'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 150, 'SKR03', '0: Anlage- und Kapitalkonten', '0150', '80', 'Wohnbauten im Bau auf eigenen Grundstücken'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 159, 'SKR03', '0: Anlage- und Kapitalkonten', '0159', '80', 'Anzahlungen auf Wohnbauten auf eigenen Grundstücken'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 160, 'SKR03', '0: Anlage- und Kapitalkonten', '0160', '0', 'Bauten auf fremden Grundstücken'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 165, 'SKR03', '0: Anlage- und Kapitalkonten', '0165', '160', 'Geschäftsbauten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 170, 'SKR03', '0: Anlage- und Kapitalkonten', '0170', '160', 'Fabrikbauten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 175, 'SKR03', '0: Anlage- und Kapitalkonten', '0175', '160', 'Garagen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 176, 'SKR03', '0: Anlage- und Kapitalkonten', '0176', '160', 'Außenanlagen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 177, 'SKR03', '0: Anlage- und Kapitalkonten', '0177', '160', 'Hof- und Wegebefestigungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 178, 'SKR03', '0: Anlage- und Kapitalkonten', '0178', '160', 'Einrichtungen für Geschäfts-, Fabrik-, Wohn- und andere Bauten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 179, 'SKR03', '0: Anlage- und Kapitalkonten', '0179', '160', 'Andere Bauten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 180, 'SKR03', '0: Anlage- und Kapitalkonten', '0180', '160', 'Geschäfts-, Fabrik- und andere Bauten im Bau auf fremden Grundstücken'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 189, 'SKR03', '0: Anlage- und Kapitalkonten', '0189', '160', 'Anzahlungen auf Geschäfts-, Fabrik- und andere Bauten auf fremden Grundstücken'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 190, 'SKR03', '0: Anlage- und Kapitalkonten', '0190', '160', 'Wohnbauten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 191, 'SKR03', '0: Anlage- und Kapitalkonten', '0191', '160', 'Garagen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 192, 'SKR03', '0: Anlage- und Kapitalkonten', '0192', '160', 'Außenanlagen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 193, 'SKR03', '0: Anlage- und Kapitalkonten', '0193', '160', 'Hof- und Wegebefestigungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 194, 'SKR03', '0: Anlage- und Kapitalkonten', '0194', '160', 'Einrichtungen für Wohnbauten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 195, 'SKR03', '0: Anlage- und Kapitalkonten', '0195', '160', 'Wohnbauten im Bau auf fremden Grundstücken'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 199, 'SKR03', '0: Anlage- und Kapitalkonten', '0199', '160', 'Anzahlungen auf Wohnbauten auf fremden Grundstücken'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 200, 'SKR03', '0: Anlage- und Kapitalkonten', '0200', '0', 'Technische Anlagen und Maschinen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 210, 'SKR03', '0: Anlage- und Kapitalkonten', '0210', '200', 'Maschinen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 220, 'SKR03', '0: Anlage- und Kapitalkonten', '0220', '200', 'Maschinengebundene Werkzeuge'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 240, 'SKR03', '0: Anlage- und Kapitalkonten', '0240', '200', 'Technische Anlagen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 260, 'SKR03', '0: Anlage- und Kapitalkonten', '0260', '200', 'Transportanlagen und Ähnliches'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 280, 'SKR03', '0: Anlage- und Kapitalkonten', '0280', '200', 'Betriebsvorrichtungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 290, 'SKR03', '0: Anlage- und Kapitalkonten', '0290', '200', 'Technische Anlagen und Maschinen im Bau'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 299, 'SKR03', '0: Anlage- und Kapitalkonten', '0299', '200', 'Anzahlungen auf technische Anlagen und Maschinen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 300, 'SKR03', '0: Anlage- und Kapitalkonten', '0300', '0', 'Andere Anlagen, Betriebs- und Geschäftsausstattung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 310, 'SKR03', '0: Anlage- und Kapitalkonten', '0310', '300', 'Andere Anlagen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 320, 'SKR03', '0: Anlage- und Kapitalkonten', '0320', '300', 'Pkw'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 350, 'SKR03', '0: Anlage- und Kapitalkonten', '0350', '300', 'Lkw'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 380, 'SKR03', '0: Anlage- und Kapitalkonten', '0380', '300', 'Sonstige Transportmittel'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 400, 'SKR03', '0: Anlage- und Kapitalkonten', '0400', '300', 'Betriebsausstattung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 410, 'SKR03', '0: Anlage- und Kapitalkonten', '0410', '300', 'Geschäftsausstattung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 420, 'SKR03', '0: Anlage- und Kapitalkonten', '0420', '300', 'Büroeinrichtung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 430, 'SKR03', '0: Anlage- und Kapitalkonten', '0430', '300', 'Ladeneinrichtung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 440, 'SKR03', '0: Anlage- und Kapitalkonten', '0440', '300', 'Werkzeuge'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 450, 'SKR03', '0: Anlage- und Kapitalkonten', '0450', '300', 'Einbauten in fremde Grundstücke'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 460, 'SKR03', '0: Anlage- und Kapitalkonten', '0460', '300', 'Gerüst- und Schalungsmaterial'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 480, 'SKR03', '0: Anlage- und Kapitalkonten', '0480', '300', 'Geringwertige Wirtschaftsgüter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 485, 'SKR03', '0: Anlage- und Kapitalkonten', '0485', '300', 'Wirtschaftsgüter (Sammelposten)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 490, 'SKR03', '0: Anlage- und Kapitalkonten', '0490', '300', 'Sonstige Betriebs- und Geschäftsausstattung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 498, 'SKR03', '0: Anlage- und Kapitalkonten', '0498', '300', 'Andere Anlagen, Betriebs- und Geschäftsausstattung im Bau'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 499, 'SKR03', '0: Anlage- und Kapitalkonten', '0499', '300', 'Anzahlungen auf andere Anlagen, Betriebs- und Geschäftsausstattung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 500, 'SKR03', '0: Anlage- und Kapitalkonten', '0500', '0', 'Anteile an verbundenen Unternehmen (Anlagevermögen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 501, 'SKR03', '0: Anlage- und Kapitalkonten', '0501', '0', 'Anteile an verbundenen Unternehmen, Personengesellschaften'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 502, 'SKR03', '0: Anlage- und Kapitalkonten', '0502', '0', 'Anteile an verbundenen Unternehmen, Kapitalgesellschaften'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 503, 'SKR03', '0: Anlage- und Kapitalkonten', '0503', '0', 'Anteile an herrschender oder mehrheitlich beteiligter Gesellschaft, Kapitalgesellschaften'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 504, 'SKR03', '0: Anlage- und Kapitalkonten', '0504', '0', 'Anteile an herrschender oder mehrheitlich beteiligter Gesellschaft'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 505, 'SKR03', '0: Anlage- und Kapitalkonten', '0505', '0', 'Ausleihungen an verbundene Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 506, 'SKR03', '0: Anlage- und Kapitalkonten', '0506', '0', 'Ausleihungen an verbundene Unternehmen, Personengesellschaften'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 507, 'SKR03', '0: Anlage- und Kapitalkonten', '0507', '0', 'Ausleihungen an verbundene Unternehmen, Kapitalgesellschaften'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 508, 'SKR03', '0: Anlage- und Kapitalkonten', '0508', '0', 'Ausleihungen an verbundene Unternehmen, Einzelunternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 509, 'SKR03', '0: Anlage- und Kapitalkonten', '0509', '0', 'Anteile an herrschender oder mehrheitlich beteiligter Gesellschaft, Personengesellschaften'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 510, 'SKR03', '0: Anlage- und Kapitalkonten', '0510', '0', 'Beteiligungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 513, 'SKR03', '0: Anlage- und Kapitalkonten', '0513', '0', 'Typisch stille Beteiligungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 516, 'SKR03', '0: Anlage- und Kapitalkonten', '0516', '0', 'Atypisch stille Beteiligungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 517, 'SKR03', '0: Anlage- und Kapitalkonten', '0517', '0', 'Beteiligungen an Kapitalgesellschaften'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 518, 'SKR03', '0: Anlage- und Kapitalkonten', '0518', '0', 'Beteiligungen an Personengesellschaften'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 519, 'SKR03', '0: Anlage- und Kapitalkonten', '0519', '0', 'Beteiligung einer GmbH & Co. KG an einer Komplementär GmbH'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 520, 'SKR03', '0: Anlage- und Kapitalkonten', '0520', '0', 'Ausleihungen an Unternehmen, mit denen ein Beteiligungsverhältnis besteht'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 523, 'SKR03', '0: Anlage- und Kapitalkonten', '0523', '0', 'Ausleihungen an Unternehmen, mit denen ein Beteiligungsverhältnis besteht, Personengesellschaften'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 524, 'SKR03', '0: Anlage- und Kapitalkonten', '0524', '0', 'Ausleihungen an Unternehmen, mit denen ein Beteiligungsverhältnis besteht, Kapitalgesellschaften'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 525, 'SKR03', '0: Anlage- und Kapitalkonten', '0525', '0', 'Wertpapiere des Anlagevermögens'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 530, 'SKR03', '0: Anlage- und Kapitalkonten', '0530', '525', 'Wertpapiere mit Gewinnbeteiligungsansprüchen, die dem Teileinkünfteverfahren unterliegen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 535, 'SKR03', '0: Anlage- und Kapitalkonten', '0535', '525', 'Festverzinsliche Wertpapiere'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 538, 'SKR03', '0: Anlage- und Kapitalkonten', '0538', '525', 'Anteile einer GmbH & Co. KG an einer Komplementär-GmbH'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 540, 'SKR03', '0: Anlage- und Kapitalkonten', '0540', '0', 'Übrige sonstige Ausleihungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 550, 'SKR03', '0: Anlage- und Kapitalkonten', '0550', '540', 'Darlehen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 570, 'SKR03', '0: Anlage- und Kapitalkonten', '0570', '0', 'Genossenschaftsanteile zum langfristigen Verbleib'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 580, 'SKR03', '0: Anlage- und Kapitalkonten', '0580', '570', 'Ausleihungen an Gesellschafter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 582, 'SKR03', '0: Anlage- und Kapitalkonten', '0582', '570', 'Ausleihungen an GmbH-Gesellschafter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 583, 'SKR03', '0: Anlage- und Kapitalkonten', '0583', '570', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 584, 'SKR03', '0: Anlage- und Kapitalkonten', '0584', '570', 'Ausleihungen an persönlich haftende Gesellschafter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 586, 'SKR03', '0: Anlage- und Kapitalkonten', '0586', '570', 'Ausleihungen an Kommanditisten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 590, 'SKR03', '0: Anlage- und Kapitalkonten', '0590', '570', 'Ausleihungen an nahe stehende Personen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 595, 'SKR03', '0: Anlage- und Kapitalkonten', '0595', '0', 'Rückdeckungsansprüche aus Lebensversicherungen zum langfristigen Verbleib'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 600, 'SKR03', '0: Anlage- und Kapitalkonten', '0600', '0', 'Anleihen nicht konvertibel'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 601, 'SKR03', '0: Anlage- und Kapitalkonten', '0601', '600', 'Anleihen nicht konvertibel - Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 605, 'SKR03', '0: Anlage- und Kapitalkonten', '0605', '600', 'Anleihen nicht konvertibel - Restlaufzeit 1 bis 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 610, 'SKR03', '0: Anlage- und Kapitalkonten', '0610', '600', 'Anleihen nicht konvertibel - Restlaufzeit größer 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 615, 'SKR03', '0: Anlage- und Kapitalkonten', '0615', '600', 'Anleihen konvertibel'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 616, 'SKR03', '0: Anlage- und Kapitalkonten', '0616', '600', 'Anleihen konvertibel - Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 620, 'SKR03', '0: Anlage- und Kapitalkonten', '0620', '600', 'Anleihen konvertibel - Restlaufzeit 1 bis 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 625, 'SKR03', '0: Anlage- und Kapitalkonten', '0625', '600', 'Anleihen konvertibel- Restlaufzeit größer 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 630, 'SKR03', '0: Anlage- und Kapitalkonten', '0630', '0', 'Verbindlichkeiten gegenüber Kreditinstituten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 631, 'SKR03', '0: Anlage- und Kapitalkonten', '0631', '630', 'Verbindlichkeiten gegenüber Kreditinstituten - Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 640, 'SKR03', '0: Anlage- und Kapitalkonten', '0640', '630', 'Verbindlichkeiten gegenüber Kreditinstituten - Restlaufzeit 1 bis 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 650, 'SKR03', '0: Anlage- und Kapitalkonten', '0650', '630', 'Verbindlichkeiten gegenüber Kreditinstituten - Restlaufzeit größer 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 660, 'SKR03', '0: Anlage- und Kapitalkonten', '0660', '630', 'Verbindlichkeiten gegenüber Kreditinstituten aus Teilzahlungsverträgen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 661, 'SKR03', '0: Anlage- und Kapitalkonten', '0661', '630', 'Verbindlichkeiten gegenüber Kreditinstituten aus Teilzahlungsverträgen - Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 670, 'SKR03', '0: Anlage- und Kapitalkonten', '0670', '630', 'Verbindlichkeiten gegenüber Kreditinstituten aus Teilzahlungsverträgen - Restlaufzeit 1 bis 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 680, 'SKR03', '0: Anlage- und Kapitalkonten', '0680', '630', 'Verbindlichkeiten gegenüber Kreditinstituten aus Teilzahlungsverträgen - Restlaufzeit größer 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 690, 'SKR03', '0: Anlage- und Kapitalkonten', '0690', '630', 'Verbindlichkeiten gegenüber Kreditinstituten, vor Restlaufzeitdifferenzierung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 699, 'SKR03', '0: Anlage- und Kapitalkonten', '0699', '630', 'Gegenkonto 0630-0689 bei Aufteilung der Konten 0690-0698'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 700, 'SKR03', '0: Anlage- und Kapitalkonten', '0700', '0', 'Verbindlichkeiten gegenüber verbundenen Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 701, 'SKR03', '0: Anlage- und Kapitalkonten', '0701', '700', 'Verbindlichkeiten gegenüber verbundenen Unternehmen - Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 705, 'SKR03', '0: Anlage- und Kapitalkonten', '0705', '700', 'Verbindlichkeiten gegenüber verbundenen Unternehmen - Restlaufzeit 1 bis 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 710, 'SKR03', '0: Anlage- und Kapitalkonten', '0710', '700', 'Verbindlichkeiten gegenüber verbundenen Unternehmen - Restlaufzeit größer 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 715, 'SKR03', '0: Anlage- und Kapitalkonten', '0715', '0', 'Verbindlichkeiten gegenüber Unternehmen, mit denen ein Beteiligungsverhältnis besteht'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 716, 'SKR03', '0: Anlage- und Kapitalkonten', '0716', '715', 'Verbindlichkeiten gegenüber Unternehmen, mit denen ein Beteiligungsverhältnis besteht - Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 720, 'SKR03', '0: Anlage- und Kapitalkonten', '0720', '715', 'Verbindlichkeiten gegenüber Unternehmen, mit denen ein Beteiligungsverhältnis besteht - Restlaufzeit 1 bis 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 725, 'SKR03', '0: Anlage- und Kapitalkonten', '0725', '715', 'Verbindlichkeiten gegenüber Unternehmen, mit denen ein Beteiligungsverhältnis besteht - Restlaufzeit größer 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 730, 'SKR03', '0: Anlage- und Kapitalkonten', '0730', '0', 'Verbindlichkeiten gegenüber Gesellschaftern'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 731, 'SKR03', '0: Anlage- und Kapitalkonten', '0731', '730', 'Verbindlichkeiten gegenüber Gesellschaftern - Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 740, 'SKR03', '0: Anlage- und Kapitalkonten', '0740', '730', 'Verbindlichkeiten gegenüber Gesellschaftern - Restlaufzeit 1 bis 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 750, 'SKR03', '0: Anlage- und Kapitalkonten', '0750', '730', 'Verbindlichkeiten gegenüber Gesellschaftern - Restlaufzeit größer 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 755, 'SKR03', '0: Anlage- und Kapitalkonten', '0755', '730', 'Verbindlichkeiten gegenüber Gesellschaftern für offene Ausschüttungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 760, 'SKR03', '0: Anlage- und Kapitalkonten', '0760', '730', 'Verbindlichkeiten gegenüber typisch stillen Gesellschaftern'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 761, 'SKR03', '0: Anlage- und Kapitalkonten', '0761', '730', 'Verbindlichkeiten gegenüber typisch stillen Gesellschaftern - Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 764, 'SKR03', '0: Anlage- und Kapitalkonten', '0764', '730', 'Verbindlichkeiten gegenüber typisch stillen Gesellschaftern - Restlaufzeit 1 bis 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 767, 'SKR03', '0: Anlage- und Kapitalkonten', '0767', '730', 'Verbindlichkeiten gegenüber typisch stillen Gesellschaftern - Restlaufzeit größer 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 770, 'SKR03', '0: Anlage- und Kapitalkonten', '0770', '730', 'Verbindlichkeiten gegenüber atypisch stillen Gesellschaftern'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 771, 'SKR03', '0: Anlage- und Kapitalkonten', '0771', '730', 'Verbindlichkeiten gegenüber atypisch stillen Gesellschaftern - Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 774, 'SKR03', '0: Anlage- und Kapitalkonten', '0774', '730', 'Verbindlichkeiten gegenüber atypisch stillen Gesellschaftern - Restlaufzeit 1 bis 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 777, 'SKR03', '0: Anlage- und Kapitalkonten', '0777', '730', 'Verbindlichkeiten gegenüber atypisch stillen Gesellschaftern - Restlaufzeit größer 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 780, 'SKR03', '0: Anlage- und Kapitalkonten', '0780', '730', 'Partiarische Darlehen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 781, 'SKR03', '0: Anlage- und Kapitalkonten', '0781', '730', 'Partiarische Darlehen - Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 784, 'SKR03', '0: Anlage- und Kapitalkonten', '0784', '730', 'Partiarische Darlehen - Restlaufzeit 1 bis 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 787, 'SKR03', '0: Anlage- und Kapitalkonten', '0787', '730', 'Partiarische Darlehen - Restlaufzeit größer 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 790, 'SKR03', '0: Anlage- und Kapitalkonten', '0790', '730', 'Sonstige Verbindlichkeiten, vor Restlaufzeitdifferenzierung (nur Bilanzierer)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 799, 'SKR03', '0: Anlage- und Kapitalkonten', '0799', '730', 'Gegenkonto 0730-0789 und 1665-1678 und 1695-1698 bei Aufteilung der Konten 0790-0798'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 800, 'SKR03', '0: Anlage- und Kapitalkonten', '0800', '0', 'Gezeichnetes Kapital'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 809, 'SKR03', '0: Anlage- und Kapitalkonten', '0809', '800', 'Kapitalerhöhung aus Gesellschaftsmitteln'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 810, 'SKR03', '0: Anlage- und Kapitalkonten', '0810', '800', 'Geschäftsguthaben der verbleibenden Mitglieder'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 811, 'SKR03', '0: Anlage- und Kapitalkonten', '0811', '800', 'Geschäftsguthaben der ausscheidenden Mitglieder'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 812, 'SKR03', '0: Anlage- und Kapitalkonten', '0812', '800', 'Geschäftsguthaben aus gekündigten Geschäftsanteilen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 813, 'SKR03', '0: Anlage- und Kapitalkonten', '0813', '800', 'Rückständige fällige Einzahlungen auf Geschäftsanteile, vermerkt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 815, 'SKR03', '0: Anlage- und Kapitalkonten', '0815', '800', 'Gegenkonto Rückständige fällige Einzahlungen auf Geschäftsanteile, vermerkt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 819, 'SKR03', '0: Anlage- und Kapitalkonten', '0819', '800', 'Erworbene eigene Anteile'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 820, 'SKR03', '0: Anlage- und Kapitalkonten', '0820', '800', 'Ausstehende Einlagen auf das gezeichnete Kapital, nicht eingefordert (Passivausweis, vom gezeichneten Kapital offen abgesetzt; eingeforderte ausstehende Einlagen s.Konten 0830-0838)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 821, 'SKR03', '0: Anlage- und Kapitalkonten', '0821', '800', 'Ausstehende Einlagen auf das gezeichnete Kapital, nicht eingefordert (Passivausweis, vom gezeichneten Kapital offen abgesetzt; eingeforderte ausstehende Einlagen s.Konten 0830-0838)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 822, 'SKR03', '0: Anlage- und Kapitalkonten', '0822', '800', 'Ausstehende Einlagen auf das gezeichnete Kapital, nicht eingefordert (Passivausweis, vom gezeichneten Kapital offen abgesetzt; eingeforderte ausstehende Einlagen s.Konten 0830-0838)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 823, 'SKR03', '0: Anlage- und Kapitalkonten', '0823', '800', 'Ausstehende Einlagen auf das gezeichnete Kapital, nicht eingefordert (Passivausweis, vom gezeichneten Kapital offen abgesetzt; eingeforderte ausstehende Einlagen s.Konten 0830-0838)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 824, 'SKR03', '0: Anlage- und Kapitalkonten', '0824', '800', 'Ausstehende Einlagen auf das gezeichnete Kapital, nicht eingefordert (Passivausweis, vom gezeichneten Kapital offen abgesetzt; eingeforderte ausstehende Einlagen s.Konten 0830-0838)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 825, 'SKR03', '0: Anlage- und Kapitalkonten', '0825', '800', 'Ausstehende Einlagen auf das gezeichnete Kapital, nicht eingefordert (Passivausweis, vom gezeichneten Kapital offen abgesetzt; eingeforderte ausstehende Einlagen s.Konten 0830-0838)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 826, 'SKR03', '0: Anlage- und Kapitalkonten', '0826', '800', 'Ausstehende Einlagen auf das gezeichnete Kapital, nicht eingefordert (Passivausweis, vom gezeichneten Kapital offen abgesetzt; eingeforderte ausstehende Einlagen s.Konten 0830-0838)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 827, 'SKR03', '0: Anlage- und Kapitalkonten', '0827', '800', 'Ausstehende Einlagen auf das gezeichnete Kapital, nicht eingefordert (Passivausweis, vom gezeichneten Kapital offen abgesetzt; eingeforderte ausstehende Einlagen s.Konten 0830-0838)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 828, 'SKR03', '0: Anlage- und Kapitalkonten', '0828', '800', 'Ausstehende Einlagen auf das gezeichnete Kapital, nicht eingefordert (Passivausweis, vom gezeichneten Kapital offen abgesetzt; eingeforderte ausstehende Einlagen s.Konten 0830-0838)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 829, 'SKR03', '0: Anlage- und Kapitalkonten', '0829', '800', 'Ausstehende Einlagen auf das gezeichnete Kapital, nicht eingefordert (Passivausweis, vom gezeichneten Kapital offen abgesetzt; eingeforderte ausstehende Einlagen s.Konten 0830-0838)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 830, 'SKR03', '0: Anlage- und Kapitalkonten', '0830', '800', 'Ausstehende Einlagen auf das gezeichnete Kapital, eingefordert (Forderungen, nicht eingeforderte ausstehende Einlagen s. Konten 0820-0829)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 831, 'SKR03', '0: Anlage- und Kapitalkonten', '0831', '800', 'Ausstehende Einlagen auf das gezeichnete Kapital, eingefordert (Forderungen, nicht eingeforderte ausstehende Einlagen s. Konten 0820-0829)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 832, 'SKR03', '0: Anlage- und Kapitalkonten', '0832', '800', 'Ausstehende Einlagen auf das gezeichnete Kapital, eingefordert (Forderungen, nicht eingeforderte ausstehende Einlagen s. Konten 0820-0829)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 833, 'SKR03', '0: Anlage- und Kapitalkonten', '0833', '800', 'Ausstehende Einlagen auf das gezeichnete Kapital, eingefordert (Forderungen, nicht eingeforderte ausstehende Einlagen s. Konten 0820-0829)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 834, 'SKR03', '0: Anlage- und Kapitalkonten', '0834', '800', 'Ausstehende Einlagen auf das gezeichnete Kapital, eingefordert (Forderungen, nicht eingeforderte ausstehende Einlagen s. Konten 0820-0829)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 835, 'SKR03', '0: Anlage- und Kapitalkonten', '0835', '800', 'Ausstehende Einlagen auf das gezeichnete Kapital, eingefordert (Forderungen, nicht eingeforderte ausstehende Einlagen s. Konten 0820-0829)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 836, 'SKR03', '0: Anlage- und Kapitalkonten', '0836', '800', 'Ausstehende Einlagen auf das gezeichnete Kapital, eingefordert (Forderungen, nicht eingeforderte ausstehende Einlagen s. Konten 0820-0829)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 837, 'SKR03', '0: Anlage- und Kapitalkonten', '0837', '800', 'Ausstehende Einlagen auf das gezeichnete Kapital, eingefordert (Forderungen, nicht eingeforderte ausstehende Einlagen s. Konten 0820-0829)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 838, 'SKR03', '0: Anlage- und Kapitalkonten', '0838', '800', 'Ausstehende Einlagen auf das gezeichnete Kapital, eingefordert (Forderungen, nicht eingeforderte ausstehende Einlagen s. Konten 0820-0829)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 839, 'SKR03', '0: Anlage- und Kapitalkonten', '0839', '800', 'Nachschüsse (Forderungen, Gegenkonto 0845)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 840, 'SKR03', '0: Anlage- und Kapitalkonten', '0840', '0', 'Kapitalrücklage'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 841, 'SKR03', '0: Anlage- und Kapitalkonten', '0841', '840', 'Kapitalrücklage durch Ausgabe von Anteilen über Nennbetrag'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 842, 'SKR03', '0: Anlage- und Kapitalkonten', '0842', '840', 'Kapitalrücklage durch Ausgabe von Schuldverschreibungen für Wandlungsrechte und Optionsrechte zum Erwerb von Anteilen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 843, 'SKR03', '0: Anlage- und Kapitalkonten', '0843', '840', 'Kapitalrücklage durch Zuzahlungen gegen Gewährung eines Vorzugs für Anteile'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 844, 'SKR03', '0: Anlage- und Kapitalkonten', '0844', '840', 'Kapitalrücklage durch andere Zuzahlungen in das Eigenkapital'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 845, 'SKR03', '0: Anlage- und Kapitalkonten', '0845', '840', 'Nachschusskapital (Gegenkonto 0839)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 846, 'SKR03', '0: Anlage- und Kapitalkonten', '0846', '0', 'Gesetzliche Rücklage'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 848, 'SKR03', '0: Anlage- und Kapitalkonten', '0848', '846', 'Andere Gewinnrücklagen aus dem Erwerb eigener Anteile'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 849, 'SKR03', '0: Anlage- und Kapitalkonten', '0849', '846', 'Rücklage für Anteile an einem herrschenden oder mehrheitlich beteiligten Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 851, 'SKR03', '0: Anlage- und Kapitalkonten', '0851', '0', 'Satzungsmäßige Rücklagen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 852, 'SKR03', '0: Anlage- und Kapitalkonten', '0852', '581', 'Andere Ergebnisrücklagen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 853, 'SKR03', '0: Anlage- und Kapitalkonten', '0853', '0', 'Gewinnrücklagen aus den Übergangsvorschriften BilMoG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 854, 'SKR03', '0: Anlage- und Kapitalkonten', '0854', '853', 'Gewinnrücklagen aus den Übergangsvorschriften BilMoG (Zuschreibung Sachanlagevermögen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 855, 'SKR03', '0: Anlage- und Kapitalkonten', '0855', '0', 'Andere Gewinnrücklagen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 856, 'SKR03', '0: Anlage- und Kapitalkonten', '0856', '855', 'Eigenkapitalanteil von Wertaufholungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 857, 'SKR03', '0: Anlage- und Kapitalkonten', '0857', '855', 'Gewinnrücklagen aus den Übergangsvorschriften BilMoG (Zuschreibung Finanzanlagevermögen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 858, 'SKR03', '0: Anlage- und Kapitalkonten', '0858', '855', 'Gewinnrücklagen aus den Übergangsvorschriften BilMoG (Auflösung der Sonderposten mit Rücklageanteil)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 859, 'SKR03', '0: Anlage- und Kapitalkonten', '0859', '855', 'Latente Steuern (Gewinnrücklage Haben) aus erfolgsneutralen Verrechnungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 860, 'SKR03', '0: Anlage- und Kapitalkonten', '0860', '0', 'Gewinnvortrag vor Verwendung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 865, 'SKR03', '0: Anlage- und Kapitalkonten', '0865', '860', 'Gewinnvortrag vor Verwendung (mit Aufteilung für Kapitalkontenentwicklung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 867, 'SKR03', '0: Anlage- und Kapitalkonten', '0867', '860', 'Verlustvortrag vor Verwendung (mit Aufteilung für Kapitalkontenentwicklung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 868, 'SKR03', '0: Anlage- und Kapitalkonten', '0868', '0', 'Verlustvortrag vor Verwendung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 870, 'SKR03', '0: Anlage- und Kapitalkonten', '0870', '0', 'Festkapital'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 871, 'SKR03', '0: Anlage- und Kapitalkonten', '0871', '0', 'Kapital (fester Anteil, nur Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 880, 'SKR03', '0: Anlage- und Kapitalkonten', '0880', '0', 'Variables Kapital'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 881, 'SKR03', '0: Anlage- und Kapitalkonten', '0881', '0', 'Kapital (variabler Anteil, nur Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 890, 'SKR03', '0: Anlage- und Kapitalkonten', '0890', '0', 'Gesellschafter-Darlehen'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 891, 'SKR03', '0: Anlage- und Kapitalkonten', '0891', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 892, 'SKR03', '0: Anlage- und Kapitalkonten', '0892', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 893, 'SKR03', '0: Anlage- und Kapitalkonten', '0893', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 894, 'SKR03', '0: Anlage- und Kapitalkonten', '0894', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 895, 'SKR03', '0: Anlage- und Kapitalkonten', '0895', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 896, 'SKR03', '0: Anlage- und Kapitalkonten', '0896', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 897, 'SKR03', '0: Anlage- und Kapitalkonten', '0897', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 898, 'SKR03', '0: Anlage- und Kapitalkonten', '0898', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 899, 'SKR03', '0: Anlage- und Kapitalkonten', '0899', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 900, 'SKR03', '0: Anlage- und Kapitalkonten', '0900', '0', 'Kommandit-Kapital'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 901, 'SKR03', '0: Anlage- und Kapitalkonten', '0901', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 902, 'SKR03', '0: Anlage- und Kapitalkonten', '0902', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 903, 'SKR03', '0: Anlage- und Kapitalkonten', '0903', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 904, 'SKR03', '0: Anlage- und Kapitalkonten', '0904', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 905, 'SKR03', '0: Anlage- und Kapitalkonten', '0905', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 906, 'SKR03', '0: Anlage- und Kapitalkonten', '0906', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 907, 'SKR03', '0: Anlage- und Kapitalkonten', '0907', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 908, 'SKR03', '0: Anlage- und Kapitalkonten', '0908', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 909, 'SKR03', '0: Anlage- und Kapitalkonten', '0909', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 910, 'SKR03', '0: Anlage- und Kapitalkonten', '0910', '0', 'Verlustausgleichskonto'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 911, 'SKR03', '0: Anlage- und Kapitalkonten', '0911', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 912, 'SKR03', '0: Anlage- und Kapitalkonten', '0912', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 913, 'SKR03', '0: Anlage- und Kapitalkonten', '0913', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 914, 'SKR03', '0: Anlage- und Kapitalkonten', '0914', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 915, 'SKR03', '0: Anlage- und Kapitalkonten', '0915', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 916, 'SKR03', '0: Anlage- und Kapitalkonten', '0916', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 917, 'SKR03', '0: Anlage- und Kapitalkonten', '0917', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 918, 'SKR03', '0: Anlage- und Kapitalkonten', '0918', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 919, 'SKR03', '0: Anlage- und Kapitalkonten', '0919', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 920, 'SKR03', '0: Anlage- und Kapitalkonten', '0920', '0', 'Gesellschafter-Darlehen'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 921, 'SKR03', '0: Anlage- und Kapitalkonten', '0921', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 922, 'SKR03', '0: Anlage- und Kapitalkonten', '0922', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 923, 'SKR03', '0: Anlage- und Kapitalkonten', '0923', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 924, 'SKR03', '0: Anlage- und Kapitalkonten', '0924', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 925, 'SKR03', '0: Anlage- und Kapitalkonten', '0925', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 926, 'SKR03', '0: Anlage- und Kapitalkonten', '0926', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 927, 'SKR03', '0: Anlage- und Kapitalkonten', '0927', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 928, 'SKR03', '0: Anlage- und Kapitalkonten', '0928', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 929, 'SKR03', '0: Anlage- und Kapitalkonten', '0929', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 930, 'SKR03', '0: Anlage- und Kapitalkonten', '0930', '0', 'Übrige andere Sonderposten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 931, 'SKR03', '0: Anlage- und Kapitalkonten', '0931', '0', 'Steuerfreie Rücklagen nach § 6b EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 932, 'SKR03', '0: Anlage- und Kapitalkonten', '0932', '0', 'Rücklage für Ersatzbeschaffung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 940, 'SKR03', '0: Anlage- und Kapitalkonten', '0940', '0', 'Sonderposten mit Rücklageanteil, Sonderabschreibungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 945, 'SKR03', '0: Anlage- und Kapitalkonten', '0945', '0', 'Ausgleichsposten bei Entnahmen § 4g EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 946, 'SKR03', '0: Anlage- und Kapitalkonten', '0946', '0', 'Rücklage für Zuschüsse'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 947, 'SKR03', '0: Anlage- und Kapitalkonten', '0947', '0', 'Sonderposten mit Rücklageanteil nach § 7g Abs. 5 EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 948, 'SKR03', '0: Anlage- und Kapitalkonten', '0948', '0', 'Sonderposten für Zuschüsse Dritter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 949, 'SKR03', '0: Anlage- und Kapitalkonten', '0949', '0', 'Sonderposten für Investitionszulagen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 950, 'SKR03', '0: Anlage- und Kapitalkonten', '0950', '0', 'Rückstellungen für Pensionen und ähnliche Verpflichtungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 951, 'SKR03', '0: Anlage- und Kapitalkonten', '0951', '950', 'Rückstellungen für Pensionen und ähnliche Verpflichtungen zur Saldierung mit Vermögensgegenständen zum langfristigen Verbleib nach § 246 Abs. 2 HGB'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 952, 'SKR03', '0: Anlage- und Kapitalkonten', '0952', '950', 'Rückstellungen für Pensionen und ähnliche Verpflichtungen gegenüber Gesellschaftern oder nahe stehenden Personen (10 % Beteiligung am Kapital)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 953, 'SKR03', '0: Anlage- und Kapitalkonten', '0953', '950', 'Rückstellungen für Direktzusagen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 954, 'SKR03', '0: Anlage- und Kapitalkonten', '0954', '950', 'Rückstellungen für Zuschussverpflichtungen für Pensionskassen und Lebensversicherungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 955, 'SKR03', '0: Anlage- und Kapitalkonten', '0955', '0', 'Steuerrückstellungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 956, 'SKR03', '0: Anlage- und Kapitalkonten', '0956', '955', 'Gewerbesteuerrückstellung nach § 4 Abs. 5b EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 961, 'SKR03', '0: Anlage- und Kapitalkonten', '0961', '955', 'Urlaubsrückstellungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 962, 'SKR03', '0: Anlage- und Kapitalkonten', '0962', '955', 'Steuerrückstellung aus Steuerstundung (BStBK)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 963, 'SKR03', '0: Anlage- und Kapitalkonten', '0963', '955', 'Körperschaftsteuerrückstellung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 964, 'SKR03', '0: Anlage- und Kapitalkonten', '0964', '955', 'Rückstellungen für mit der Altersversorgung vergleichbare langfristige Verpflichtungen zum langfristigen Verbleib'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 965, 'SKR03', '0: Anlage- und Kapitalkonten', '0965', '955', 'Rückstellungen für Personalkosten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 966, 'SKR03', '0: Anlage- und Kapitalkonten', '0966', '955', 'Rückstellungen zur Erfüllung der Aufbewahrungspflichten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 967, 'SKR03', '0: Anlage- und Kapitalkonten', '0967', '955', 'Rückstellungen für mit der Altersversorgung vergleichbare langfristige Verpflichtungen zur Saldierung mit Vermögensgegenständen zum langfristigen Verbleib nach § 246 Abs. 2 HGB'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 968, 'SKR03', '0: Anlage- und Kapitalkonten', '0968', '955', 'Passive latente Steuern'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 969, 'SKR03', '0: Anlage- und Kapitalkonten', '0969', '955', 'Rückstellung für latente Steuern'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 970, 'SKR03', '0: Anlage- und Kapitalkonten', '0970', '955', 'Sonstige Rückstellungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 971, 'SKR03', '0: Anlage- und Kapitalkonten', '0971', '955', 'Rückstellungen für unterlassene Aufwendungen für Instandhaltung, Nachholung in den ersten drei Monaten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 973, 'SKR03', '0: Anlage- und Kapitalkonten', '0973', '955', 'Rückstellungen für Abraum- und Abfallbeseitigung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 974, 'SKR03', '0: Anlage- und Kapitalkonten', '0974', '955', 'Rückstellungen für Gewährleistungen (Gegenkonto 4790)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 976, 'SKR03', '0: Anlage- und Kapitalkonten', '0976', '955', 'Rückstellungen für drohende Verluste aus schwebenden Geschäften'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 977, 'SKR03', '0: Anlage- und Kapitalkonten', '0977', '955', 'Rückstellungen für Abschluss- und Prüfungskosten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 978, 'SKR03', '0: Anlage- und Kapitalkonten', '0978', '955', 'Aufwandsrückstellungen nach § 249 Abs. 2 HGB a. F.'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 979, 'SKR03', '0: Anlage- und Kapitalkonten', '0979', '955', 'Rückstellungen für Umweltschutz'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 980, 'SKR03', '0: Anlage- und Kapitalkonten', '0980', '0', 'Aktive Rechnungsabgrenzung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 983, 'SKR03', '0: Anlage- und Kapitalkonten', '0983', '980', 'Aktive latente Steuern'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 984, 'SKR03', '0: Anlage- und Kapitalkonten', '0984', '980', 'Als Aufwand berücksichtigte Zölle und Verbrauchsteuern auf Vorräte'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 985, 'SKR03', '0: Anlage- und Kapitalkonten', '0985', '980', 'Als Aufwand berücksichtigte Umsatzsteuer auf Anzahlungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 986, 'SKR03', '0: Anlage- und Kapitalkonten', '0986', '980', 'Damnum/Disagio'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 987, 'SKR03', '0: Anlage- und Kapitalkonten', '0987', '980', 'Rechnungsabgrenzungsposten (Gewinnrücklage Soll) aus erfolgsneutralen Verrechnungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 988, 'SKR03', '0: Anlage- und Kapitalkonten', '0988', '980', 'Latente Steuern (Gewinnrücklage Soll) aus erfolgsneutralen Verrechnungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 989, 'SKR03', '0: Anlage- und Kapitalkonten', '0989', '980', 'Gesamthänderisch gebundene Rücklagen (mit Aufteilung für Kapitalkontenentwicklung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 990, 'SKR03', '0: Anlage- und Kapitalkonten', '0990', '0', 'Passive Rechnungsabgrenzung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 992, 'SKR03', '0: Anlage- und Kapitalkonten', '0992', '990', 'Abgrenzungen unterjährig pauschal gebuchter Abschreibungen für BWA'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 996, 'SKR03', '0: Anlage- und Kapitalkonten', '0996', '990', 'Pauschalwertberichtigung auf Forderungen - Restlaufzeit bis zu 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 997, 'SKR03', '0: Anlage- und Kapitalkonten', '0997', '990', 'Pauschalwertberichtigung auf Forderungen - Restlaufzeit größer 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 998, 'SKR03', '0: Anlage- und Kapitalkonten', '0998', '990', 'Einzelwertberichtigungen auf Forderungen - Restlaufzeit bis zu 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 999, 'SKR03', '0: Anlage- und Kapitalkonten', '0999', '990', 'Einzelwertberichtigungen auf Forderungen - Restlaufzeit größer 1 Jahr'); +---- 1: Finanz- und Privatkonten +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1000, 'SKR03', '1: Finanz- und Privatkonten', '1000', '0', 'Kasse'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1010, 'SKR03', '1: Finanz- und Privatkonten', '1010', '1000', 'Nebenkasse 1'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1020, 'SKR03', '1: Finanz- und Privatkonten', '1020', '1000', 'Nebenkasse 2'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1100, 'SKR03', '1: Finanz- und Privatkonten', '1100', '0', 'Bank (Postbank)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1110, 'SKR03', '1: Finanz- und Privatkonten', '1110', '1100', 'Bank (Postbank 1)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1120, 'SKR03', '1: Finanz- und Privatkonten', '1120', '1100', 'Bank (Postbank 2)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1130, 'SKR03', '1: Finanz- und Privatkonten', '1130', '1100', 'Bank (Postbank 3)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1190, 'SKR03', '1: Finanz- und Privatkonten', '1190', '1100', 'LZB-Guthaben'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1195, 'SKR03', '1: Finanz- und Privatkonten', '1195', '1100', 'Bundesbankguthaben'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1200, 'SKR03', '1: Finanz- und Privatkonten', '1200', '0', 'Bank'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1210, 'SKR03', '1: Finanz- und Privatkonten', '1210', '1200', 'Bank 1'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1220, 'SKR03', '1: Finanz- und Privatkonten', '1220', '1200', 'Bank 2'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1230, 'SKR03', '1: Finanz- und Privatkonten', '1230', '1200', 'Bank 3'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1240, 'SKR03', '1: Finanz- und Privatkonten', '1240', '1200', 'Bank 4'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1250, 'SKR03', '1: Finanz- und Privatkonten', '1250', '1200', 'Bank 5'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1289, 'SKR03', '1: Finanz- und Privatkonten', '1289', '1200', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1290, 'SKR03', '1: Finanz- und Privatkonten', '1290', '1200', 'Finanzmittelanlagen im Rahmen der kurzfristigen Finanzdisposition (nicht im Finanzmittelfonds enthalten)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1295, 'SKR03', '1: Finanz- und Privatkonten', '1295', '1200', 'Verbindlichkeiten gegenüber Kreditinstituten (nicht im Finanzmittelfonds enthalten)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1300, 'SKR03', '1: Finanz- und Privatkonten', '1300', '1200', 'Wechsel aus Lieferungen und Leistungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1301, 'SKR03', '1: Finanz- und Privatkonten', '1301', '1200', 'Wechsel aus Lieferungen und Leistungen - Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1302, 'SKR03', '1: Finanz- und Privatkonten', '1302', '1200', 'Wechsel aus Lieferungen und Leistungen - Restlaufzeit größer 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1305, 'SKR03', '1: Finanz- und Privatkonten', '1305', '1200', 'Wechsel aus Lieferungen und Leistungen, bundesbankfähig'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1310, 'SKR03', '1: Finanz- und Privatkonten', '1310', '1200', 'Besitzwechsel gegen verbundene Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1311, 'SKR03', '1: Finanz- und Privatkonten', '1311', '1200', 'Besitzwechsel gegen verbundene Unternehmen - Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1312, 'SKR03', '1: Finanz- und Privatkonten', '1312', '1200', 'Besitzwechsel gegen verbundene Unternehmen - Restlaufzeit größer 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1315, 'SKR03', '1: Finanz- und Privatkonten', '1315', '1200', 'Besitzwechsel gegen verbundene Unternehmen, bundesbankfähig'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1320, 'SKR03', '1: Finanz- und Privatkonten', '1320', '1200', 'Besitzwechsel gegen Unternehmen, mit denen ein Beteiligungsverhältnis besteht'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1321, 'SKR03', '1: Finanz- und Privatkonten', '1321', '1200', 'Besitzwechsel gegen Unternehmen, mit denen ein Beteiligungsverhältnis besteht - Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1322, 'SKR03', '1: Finanz- und Privatkonten', '1322', '1200', 'Besitzwechsel gegen Unternehmen, mit denen ein Beteiligungsverhältnis besteht - Restlaufzeit größer 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1325, 'SKR03', '1: Finanz- und Privatkonten', '1325', '1200', 'Besitzwechsel gegen Unternehmen, mit denen ein Beteiligungsverhältnis besteht, bundesbankfähig'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1327, 'SKR03', '1: Finanz- und Privatkonten', '1327', '1200', 'Finanzwechsel'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1329, 'SKR03', '1: Finanz- und Privatkonten', '1329', '1200', 'Andere Wertpapiere mit unwesentlichen Wertschwankungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1330, 'SKR03', '1: Finanz- und Privatkonten', '1330', '0', 'Schecks'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1340, 'SKR03', '1: Finanz- und Privatkonten', '1340', '0', 'Anteile an verbundenen Unternehmen (Umlaufvermögen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1344, 'SKR03', '1: Finanz- und Privatkonten', '1344', '0', 'Anteile an herrschender oder mit Mehrheit beteiligter Gesellschaft'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1348, 'SKR03', '1: Finanz- und Privatkonten', '1348', '0', 'Sonstige Wertpapiere'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1349, 'SKR03', '1: Finanz- und Privatkonten', '1349', '1348', 'Wertpapieranlagen im Rahmen der kurzfristigen Finanzdisposition'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1350, 'SKR03', '1: Finanz- und Privatkonten', '1350', '0', 'GmbH-Anteile zum kurzfristigen Verbleib'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1352, 'SKR03', '1: Finanz- und Privatkonten', '1352', '0', 'Genossenschaftsanteile zum kurzfristigen Verbleib'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1353, 'SKR03', '1: Finanz- und Privatkonten', '1353', '0', 'Vermögensgegenstände zur Erfüllung von mit der Altersversorgung vergleichbaren langfristigen Verpflichtungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1354, 'SKR03', '1: Finanz- und Privatkonten', '1354', '0', 'Vermögensgegenstände zur Saldierung mit der Altersversorgung vergleichbaren langfristigen Verpflichtungen nach § 246 Abs. 2 HGB'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1355, 'SKR03', '1: Finanz- und Privatkonten', '1355', '0', 'Ansprüche aus Rückdeckungsversicherungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1356, 'SKR03', '1: Finanz- und Privatkonten', '1356', '0', 'Vermögensgegenstände zur Erfüllung von Pensionsrückstellungen und ähnlichen Verpflichtungen zum langfristigen Verbleib'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1357, 'SKR03', '1: Finanz- und Privatkonten', '1357', '0', 'Vermögensgegenstände zur Saldierung mit Pensionsrückstellungen und ähnlichen Verpflichtungen zum langfristigen Verbleib nach § 246 Abs. 2 HGB'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1358, 'SKR03', '1: Finanz- und Privatkonten', '1358', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1359, 'SKR03', '1: Finanz- und Privatkonten', '1359', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1360, 'SKR03', '1: Finanz- und Privatkonten', '1360', '0', 'Geldtransit'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1370, 'SKR03', '1: Finanz- und Privatkonten', '1370', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1371, 'SKR03', '1: Finanz- und Privatkonten', '1371', '0', 'Verrechnungskonto Gewinnermittlung § 4 Abs. 3 EStG, nicht ergebniswirksam'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1372, 'SKR03', '1: Finanz- und Privatkonten', '1372', '0', 'Wirtschaftsgüter des Umlaufvermögens nach § 4 Abs. 3 Satz 4 EStG'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1373, 'SKR03', '1: Finanz- und Privatkonten', '1373', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1374, 'SKR03', '1: Finanz- und Privatkonten', '1374', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1375, 'SKR03', '1: Finanz- und Privatkonten', '1375', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1376, 'SKR03', '1: Finanz- und Privatkonten', '1376', '0', 'Forderungen gegen typisch stille Gesellschafter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1377, 'SKR03', '1: Finanz- und Privatkonten', '1377', '0', 'Forderungen gegen typisch stille Gesellschafter - Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1378, 'SKR03', '1: Finanz- und Privatkonten', '1378', '0', 'Forderungen gegen typisch stille Gesellschafter - Restlaufzeit größer 1 Jahr'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1379, 'SKR03', '1: Finanz- und Privatkonten', '1379', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1380, 'SKR03', '1: Finanz- und Privatkonten', '1380', '0', 'Überleitungskonto Kostenstelle'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1381, 'SKR03', '1: Finanz- und Privatkonten', '1381', '0', 'Forderungen gegen GmbH-Gesellschafter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1382, 'SKR03', '1: Finanz- und Privatkonten', '1382', '0', 'Forderungen gegen GmbH-Gesellschafter - Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1383, 'SKR03', '1: Finanz- und Privatkonten', '1383', '0', 'Forderungen gegen GmbH-Gesellschafter - Restlaufzeit größer 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1385, 'SKR03', '1: Finanz- und Privatkonten', '1385', '0', 'Forderungen gegen persönlich haftende Gesellschafter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1386, 'SKR03', '1: Finanz- und Privatkonten', '1386', '0', 'Forderungen gegen persönlich haftende Gesellschafter - Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1387, 'SKR03', '1: Finanz- und Privatkonten', '1387', '0', 'Forderungen gegen persönlich haftende Gesellschafter - Restlaufzeit größer 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1389, 'SKR03', '1: Finanz- und Privatkonten', '1389', '0', 'Ansprüche aus betrieblicher Altersversorgung und Pensionsansprüche (Mitunternehmer)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1390, 'SKR03', '1: Finanz- und Privatkonten', '1390', '0', 'Verrechnungskonto Ist-Versteuerung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1391, 'SKR03', '1: Finanz- und Privatkonten', '1391', '0', 'Neutralisierung ertragswirksamer Sachverhalte für § 4 Abs. 3 EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1394, 'SKR03', '1: Finanz- und Privatkonten', '1394', '0', 'Forderungen gegen Gesellschaft/Gesamthand'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1400, 'SKR03', '1: Finanz- und Privatkonten', '1400', '0', 'Forderungen aus Lieferungen und Leistungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1401, 'SKR03', '1: Finanz- und Privatkonten', '1401', '1400', 'Forderungen aus Lieferungen und Leistungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1402, 'SKR03', '1: Finanz- und Privatkonten', '1402', '1400', 'Forderungen aus Lieferungen und Leistungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1403, 'SKR03', '1: Finanz- und Privatkonten', '1403', '1400', 'Forderungen aus Lieferungen und Leistungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1404, 'SKR03', '1: Finanz- und Privatkonten', '1404', '1400', 'Forderungen aus Lieferungen und Leistungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1405, 'SKR03', '1: Finanz- und Privatkonten', '1405', '1400', 'Forderungen aus Lieferungen und Leistungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1406, 'SKR03', '1: Finanz- und Privatkonten', '1406', '1400', 'Forderungen aus Lieferungen und Leistungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1410, 'SKR03', '1: Finanz- und Privatkonten', '1410', '1400', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1411, 'SKR03', '1: Finanz- und Privatkonten', '1411', '1400', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1412, 'SKR03', '1: Finanz- und Privatkonten', '1412', '1400', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1413, 'SKR03', '1: Finanz- und Privatkonten', '1413', '1400', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1414, 'SKR03', '1: Finanz- und Privatkonten', '1414', '1400', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1415, 'SKR03', '1: Finanz- und Privatkonten', '1415', '1400', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1416, 'SKR03', '1: Finanz- und Privatkonten', '1416', '1400', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1417, 'SKR03', '1: Finanz- und Privatkonten', '1417', '1400', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1418, 'SKR03', '1: Finanz- und Privatkonten', '1418', '1400', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1419, 'SKR03', '1: Finanz- und Privatkonten', '1419', '1400', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1420, 'SKR03', '1: Finanz- und Privatkonten', '1420', '1400', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1421, 'SKR03', '1: Finanz- und Privatkonten', '1421', '1400', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1422, 'SKR03', '1: Finanz- und Privatkonten', '1422', '1400', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1423, 'SKR03', '1: Finanz- und Privatkonten', '1423', '1400', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1424, 'SKR03', '1: Finanz- und Privatkonten', '1424', '1400', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1425, 'SKR03', '1: Finanz- und Privatkonten', '1425', '1400', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1426, 'SKR03', '1: Finanz- und Privatkonten', '1426', '1400', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1427, 'SKR03', '1: Finanz- und Privatkonten', '1427', '1400', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1428, 'SKR03', '1: Finanz- und Privatkonten', '1428', '1400', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1429, 'SKR03', '1: Finanz- und Privatkonten', '1429', '1400', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1430, 'SKR03', '1: Finanz- und Privatkonten', '1430', '1400', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1431, 'SKR03', '1: Finanz- und Privatkonten', '1431', '1400', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1432, 'SKR03', '1: Finanz- und Privatkonten', '1432', '1400', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1433, 'SKR03', '1: Finanz- und Privatkonten', '1433', '1400', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1434, 'SKR03', '1: Finanz- und Privatkonten', '1434', '1400', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1435, 'SKR03', '1: Finanz- und Privatkonten', '1435', '1400', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1436, 'SKR03', '1: Finanz- und Privatkonten', '1436', '1400', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1437, 'SKR03', '1: Finanz- und Privatkonten', '1437', '1400', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1438, 'SKR03', '1: Finanz- und Privatkonten', '1438', '1400', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1439, 'SKR03', '1: Finanz- und Privatkonten', '1439', '1400', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1440, 'SKR03', '1: Finanz- und Privatkonten', '1440', '1400', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1441, 'SKR03', '1: Finanz- und Privatkonten', '1441', '1400', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1442, 'SKR03', '1: Finanz- und Privatkonten', '1442', '1400', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1443, 'SKR03', '1: Finanz- und Privatkonten', '1443', '1400', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1444, 'SKR03', '1: Finanz- und Privatkonten', '1444', '1400', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1445, 'SKR03', '1: Finanz- und Privatkonten', '1445', '1400', 'Forderungen aus Lieferungen und Leistungen zum allgemeinen Umsatzsteuersatz oder eines Kleinunternehmers (EÜR)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1446, 'SKR03', '1: Finanz- und Privatkonten', '1446', '1400', 'Forderungen aus Lieferungen und Leistungen zum ermäßigten Umsatzsteuersatz (EÜR)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1447, 'SKR03', '1: Finanz- und Privatkonten', '1447', '1400', 'Forderungen aus steuerfreien oder nicht steuerbaren Lieferungen und Leistungen (EÜR)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1448, 'SKR03', '1: Finanz- und Privatkonten', '1448', '1400', 'Forderungen aus Lieferungen und Leistungen nach Durchschnittssätzen nach § 24 UStG (EÜR)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1449, 'SKR03', '1: Finanz- und Privatkonten', '1449', '1400', 'Gegenkonto 1445-1448 bei Aufteilung der Forderungen nach Steuersätzen (EÜR)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1450, 'SKR03', '1: Finanz- und Privatkonten', '1450', '1400', 'Forderungen nach § 11 Abs. 1 Satz 2 EStG für § 4 Abs. 3 EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1451, 'SKR03', '1: Finanz- und Privatkonten', '1451', '1400', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent (Restlaufzeit bis 1 Jahr)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1455, 'SKR03', '1: Finanz- und Privatkonten', '1455', '1400', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent (Restlaufzeit größer 1 Jahr)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1460, 'SKR03', '1: Finanz- und Privatkonten', '1460', '1400', 'Zweifelhafte Forderungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1461, 'SKR03', '1: Finanz- und Privatkonten', '1461', '1400', 'Zweifelhafte Forderungen - Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1465, 'SKR03', '1: Finanz- und Privatkonten', '1465', '1400', 'Zweifelhafte Forderungen - Restlaufzeit größer 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1470, 'SKR03', '1: Finanz- und Privatkonten', '1470', '1400', 'Forderungen aus Lieferungen und Leistungen gegen verbundene Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1471, 'SKR03', '1: Finanz- und Privatkonten', '1471', '1400', 'Forderungen aus Lieferungen und Leistungen gegen verbundene Unternehmen - Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1475, 'SKR03', '1: Finanz- und Privatkonten', '1475', '1400', 'Forderungen aus Lieferungen und Leistungen gegen verbundene Unternehmen - Restlaufzeit größer 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1478, 'SKR03', '1: Finanz- und Privatkonten', '1478', '1400', 'Wertberichtigungen auf Forderungen gegen verbundene Unternehmen - Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1479, 'SKR03', '1: Finanz- und Privatkonten', '1479', '1400', 'Wertberichtigungen auf Forderungen gegen verbundene Unternehmen - Restlaufzeit größer 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1480, 'SKR03', '1: Finanz- und Privatkonten', '1480', '1400', 'Forderungen aus Lieferungen und Leistungen gegen Unternehmen, mit denen ein Beteiligungsverhältnis besteht'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1481, 'SKR03', '1: Finanz- und Privatkonten', '1481', '1400', 'Forderungen aus Lieferungen und Leistungen gegen Unternehmen, mit denen ein Beteiligungsverhältnis besteht - Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1485, 'SKR03', '1: Finanz- und Privatkonten', '1485', '1400', 'Forderungen aus Lieferungen und Leistungen gegen Unternehmen, mit denen ein Beteiligungsverhältnis besteht - Restlaufzeit größer 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1488, 'SKR03', '1: Finanz- und Privatkonten', '1488', '1400', 'Wertberichtigungen auf Forderungen gegen Unternehmen, mit denen ein Beteiligungsverhältnis besteht - Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1489, 'SKR03', '1: Finanz- und Privatkonten', '1489', '1400', 'Wertberichtigungen auf Forderungen gegen Unternehmen, mit denen ein Beteiligungsverhältnis besteht - Restlaufzeit größer 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1490, 'SKR03', '1: Finanz- und Privatkonten', '1490', '1400', 'Forderungen aus Lieferungen und Leistungen gegen Gesellschafter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1491, 'SKR03', '1: Finanz- und Privatkonten', '1491', '1400', 'Forderungen aus Lieferungen und Leistungen gegen Gesellschafter - Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1495, 'SKR03', '1: Finanz- und Privatkonten', '1495', '1400', 'Forderungen aus Lieferungen und Leistungen gegen Gesellschafter - Restlaufzeit größer 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1498, 'SKR03', '1: Finanz- und Privatkonten', '1498', '1400', 'Gegenkonto zu sonstigen Vermögensgegenständen bei Buchungen über Debitorenkonto'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1499, 'SKR03', '1: Finanz- und Privatkonten', '1499', '1400', 'Gegenkonto 1451-1497 bei Aufteilung Debitorenkonto'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1500, 'SKR03', '1: Finanz- und Privatkonten', '1500', '0', 'Sonstige Vermögensgegenstände'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1501, 'SKR03', '1: Finanz- und Privatkonten', '1501', '1500', 'Sonstige Vermögensgegenstände - Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1502, 'SKR03', '1: Finanz- und Privatkonten', '1502', '1500', 'Sonstige Vermögensgegenstände - Restlaufzeit größer 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1503, 'SKR03', '1: Finanz- und Privatkonten', '1503', '1500', 'Forderungen gegen Vorstandsmitglieder und Geschäftsführer - Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1504, 'SKR03', '1: Finanz- und Privatkonten', '1504', '1500', 'Forderungen gegen Vorstandsmitglieder und Geschäftsführer - Restlaufzeit größer 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1505, 'SKR03', '1: Finanz- und Privatkonten', '1505', '1500', 'Forderungen gegen Aufsichtsrats- und Beiratsmitglieder - Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1506, 'SKR03', '1: Finanz- und Privatkonten', '1506', '1500', 'Forderungen gegen Aufsichtsrats- und Beiratsmitglieder - Restlaufzeit größer 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1507, 'SKR03', '1: Finanz- und Privatkonten', '1507', '1500', 'Forderungen gegen sonstige Gesellschafter - Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1508, 'SKR03', '1: Finanz- und Privatkonten', '1508', '1500', 'Forderungen gegen sonstige Gesellschafter - Restlaufzeit größer 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1510, 'SKR03', '1: Finanz- und Privatkonten', '1510', '0', 'Geleistete Anzahlungen auf Vorräte'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1511, 'SKR03', '1: Finanz- und Privatkonten', '1511', '1510', 'Geleistete Anzahlungen, 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1512, 'SKR03', '1: Finanz- und Privatkonten', '1512', '1510', 'Geleistete Anzahlungen, 5 % Vorsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1513, 'SKR03', '1: Finanz- und Privatkonten', '1513', '1510', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1514, 'SKR03', '1: Finanz- und Privatkonten', '1514', '1510', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1515, 'SKR03', '1: Finanz- und Privatkonten', '1515', '1510', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1516, 'SKR03', '1: Finanz- und Privatkonten', '1516', '1510', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1517, 'SKR03', '1: Finanz- und Privatkonten', '1517', '1510', 'Geleistete Anzahlungen, 16 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1518, 'SKR03', '1: Finanz- und Privatkonten', '1518', '1510', 'Geleistete Anzahlungen, 19 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1519, 'SKR03', '1: Finanz- und Privatkonten', '1519', '1510', 'Forderungen gegen Arbeitsgemeinschaften'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1520, 'SKR03', '1: Finanz- und Privatkonten', '1520', '1510', 'Forderungen gegenüber Krankenkassen aus Aufwendungsausgleichsgesetz'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1521, 'SKR03', '1: Finanz- und Privatkonten', '1521', '1510', 'Agenturwarenabrechnung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1522, 'SKR03', '1: Finanz- und Privatkonten', '1522', '1510', 'Genussrechte'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1524, 'SKR03', '1: Finanz- und Privatkonten', '1524', '1510', 'Einzahlungsansprüche zu Nebenleistungen oder Zuzahlungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1525, 'SKR03', '1: Finanz- und Privatkonten', '1525', '1510', 'Kautionen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1526, 'SKR03', '1: Finanz- und Privatkonten', '1526', '1510', 'Kautionen - Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1527, 'SKR03', '1: Finanz- und Privatkonten', '1527', '1510', 'Kautionen - Restlaufzeit größer 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1528, 'SKR03', '1: Finanz- und Privatkonten', '1528', '1510', 'Nachträglich abziehbare Vorsteuer nach § 15a Abs. 2 UStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1529, 'SKR03', '1: Finanz- und Privatkonten', '1529', '1510', 'Zurückzuzahlende Vorsteuer nach § 15a Abs. 2 UStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1530, 'SKR03', '1: Finanz- und Privatkonten', '1530', '1510', 'Forderungen gegen Personal aus Lohn- und Gehaltsabrechnung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1531, 'SKR03', '1: Finanz- und Privatkonten', '1531', '1510', 'Forderungen gegen Personal aus Lohn- und Gehaltsabrechnung - Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1537, 'SKR03', '1: Finanz- und Privatkonten', '1537', '1510', 'Forderungen gegen Personal aus Lohn- und Gehaltsabrechnung - Restlaufzeit größer 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1540, 'SKR03', '1: Finanz- und Privatkonten', '1540', '1510', 'Forderungen aus Gewerbesteuerüberzahlungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1542, 'SKR03', '1: Finanz- und Privatkonten', '1542', '1510', 'Steuererstattungsansprüche gegenüber anderen Ländern'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1543, 'SKR03', '1: Finanz- und Privatkonten', '1543', '1510', 'Forderungen an das Finanzamt aus abgeführtem Bauabzugsbetrag'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1544, 'SKR03', '1: Finanz- und Privatkonten', '1544', '1510', 'Forderung gegenüber Bundesagentur für Arbeit'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1545, 'SKR03', '1: Finanz- und Privatkonten', '1545', '1510', 'Forderungen aus Umsatzsteuer-Vorauszahlungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1546, 'SKR03', '1: Finanz- und Privatkonten', '1546', '1510', 'Umsatzsteuerforderungen Vorjahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1547, 'SKR03', '1: Finanz- und Privatkonten', '1547', '1510', 'Forderungen aus entrichteten Verbrauchsteuern'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1548, 'SKR03', '1: Finanz- und Privatkonten', '1548', '1510', 'Vorsteuer in Folgeperiode/im Folgejahr abziehbar'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1549, 'SKR03', '1: Finanz- und Privatkonten', '1549', '1510', 'Körperschaftsteuerrückforderung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1550, 'SKR03', '1: Finanz- und Privatkonten', '1550', '1510', 'Darlehen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1551, 'SKR03', '1: Finanz- und Privatkonten', '1551', '1510', 'Darlehen - Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1555, 'SKR03', '1: Finanz- und Privatkonten', '1555', '1510', 'Darlehen - Restlaufzeit größer 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1556, 'SKR03', '1: Finanz- und Privatkonten', '1556', '1510', 'Nachträglich abziehbare Vorsteuer nach § 15a Abs. 1 UStG, bewegliche Wirtschaftsgüter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1557, 'SKR03', '1: Finanz- und Privatkonten', '1557', '1510', 'Zurückzuzahlende Vorsteuer nach § 15a Abs. 1 UStG, bewegliche Wirtschaftsgüter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1558, 'SKR03', '1: Finanz- und Privatkonten', '1558', '1510', 'Nachträglich abziehbare Vorsteuer nach § 15a Abs. 1 UStG, unbewegliche Wirtschaftsgüter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1559, 'SKR03', '1: Finanz- und Privatkonten', '1559', '1510', 'Zurückzuzahlende Vorsteuer nach § 15a Abs. 1 UStG, unbewegliche Wirtschaftsgüter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1560, 'SKR03', '1: Finanz- und Privatkonten', '1560', '1510', 'Aufzuteilende Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1561, 'SKR03', '1: Finanz- und Privatkonten', '1561', '1510', 'Aufzuteilende Vorsteuer 7 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1562, 'SKR03', '1: Finanz- und Privatkonten', '1562', '1510', 'Aufzuteilende Vorsteuer aus innergemeinschaftlichem Erwerb'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1563, 'SKR03', '1: Finanz- und Privatkonten', '1563', '1510', 'Aufzuteilende Vorsteuer aus innergemeinschaftlichem Erwerb 19 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1564, 'SKR03', '1: Finanz- und Privatkonten', '1564', '1510', 'Aufzuteilende Vorsteuer 5 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1565, 'SKR03', '1: Finanz- und Privatkonten', '1565', '1510', 'Aufzuteilende Vorsteuer 16 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1566, 'SKR03', '1: Finanz- und Privatkonten', '1566', '1510', 'Aufzuteilende Vorsteuer 19 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1567, 'SKR03', '1: Finanz- und Privatkonten', '1567', '1510', 'Aufzuteilende Vorsteuer nach §§ 13a und 13b UStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1568, 'SKR03', '1: Finanz- und Privatkonten', '1568', '1510', 'Abziehbare Vorsteuer 5 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1569, 'SKR03', '1: Finanz- und Privatkonten', '1569', '1510', 'Aufzuteilende Vorsteuer nach §§ 13a und 13b UStG 19 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1570, 'SKR03', '1: Finanz- und Privatkonten', '1570', '1510', 'Abziehbare Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1571, 'SKR03', '1: Finanz- und Privatkonten', '1571', '1510', 'Abziehbare Vorsteuer 7 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1572, 'SKR03', '1: Finanz- und Privatkonten', '1572', '1510', 'Abziehbare Vorsteuer aus innergemeinschaftlichem Erwerb'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1573, 'SKR03', '1: Finanz- und Privatkonten', '1573', '1510', 'Vorsteuer aus Erwerb als letzter Abnehmer innerhalb eines Dreiecksgeschäfts'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1574, 'SKR03', '1: Finanz- und Privatkonten', '1574', '1510', 'Abziehbare Vorsteuer aus innergemeinschaftlichem Erwerb 19 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1575, 'SKR03', '1: Finanz- und Privatkonten', '1575', '1510', 'Abziehbare Vorsteuer 16 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1576, 'SKR03', '1: Finanz- und Privatkonten', '1576', '1510', 'Abziehbare Vorsteuer 19 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1577, 'SKR03', '1: Finanz- und Privatkonten', '1577', '1510', 'Abziehbare Vorsteuer nach § 13b UStG 19 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1578, 'SKR03', '1: Finanz- und Privatkonten', '1578', '1510', 'Abziehbare Vorsteuer nach § 13b UStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1579, 'SKR03', '1: Finanz- und Privatkonten', '1579', '1510', 'Abziehbare Vorsteuer nach § 13b UStG 16 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1580, 'SKR03', '1: Finanz- und Privatkonten', '1580', '1510', 'Gegenkonto Vorsteuer § 4 Abs. 3 EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1581, 'SKR03', '1: Finanz- und Privatkonten', '1581', '1510', 'Auflösung Vorsteuer aus Vorjahr § 4 Abs. 3 EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1582, 'SKR03', '1: Finanz- und Privatkonten', '1582', '1510', 'Vorsteuer aus Investitionen § 4 Abs. 3 EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1583, 'SKR03', '1: Finanz- und Privatkonten', '1583', '1510', 'Gegenkonto für Vorsteuer nach Durchschnittssätzen für § 4 Abs. 3 EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1584, 'SKR03', '1: Finanz- und Privatkonten', '1584', '1510', 'Abziehbare Vorsteuer aus innergemeinschaftlichem Erwerb von Neufahrzeugen von Lieferanten ohne USt-Id-Nr.'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1585, 'SKR03', '1: Finanz- und Privatkonten', '1585', '1510', 'Abziehbare Vorsteuer aus der Auslagerung von Gegenständen aus einem Umsatzsteuerlager'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1587, 'SKR03', '1: Finanz- und Privatkonten', '1587', '1510', 'Vorsteuer nach allgemeinen Durchschnittssätzen UStVA Kz. 63'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1588, 'SKR03', '1: Finanz- und Privatkonten', '1588', '1510', 'Entstandene Einfuhrumsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1589, 'SKR03', '1: Finanz- und Privatkonten', '1589', '1510', 'Abziehbare Vorsteuer aus innergemeinschaftlichem Erwerb 16 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1590, 'SKR03', '1: Finanz- und Privatkonten', '1590', '1510', 'Durchlaufende Posten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1592, 'SKR03', '1: Finanz- und Privatkonten', '1592', '1510', 'Fremdgeld'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1593, 'SKR03', '1: Finanz- und Privatkonten', '1593', '1510', 'Verrechnungskonto erhaltene Anzahlungen bei Buchung über Debitorenkonto'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1594, 'SKR03', '1: Finanz- und Privatkonten', '1594', '0', 'Forderungen gegen verbundene Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1595, 'SKR03', '1: Finanz- und Privatkonten', '1595', '1594', 'Forderungen gegen verbundene Unternehmen - Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1596, 'SKR03', '1: Finanz- und Privatkonten', '1596', '1594', 'Forderungen gegen verbundene Unternehmen - Restlaufzeit größer 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1597, 'SKR03', '1: Finanz- und Privatkonten', '1597', '1594', 'Forderungen gegen Unternehmen, mit denen ein Beteiligungsverhältnis besteht'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1598, 'SKR03', '1: Finanz- und Privatkonten', '1598', '1594', 'Forderungen gegen Unternehmen, mit denen ein Beteiligungsverhältnis besteht - Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1599, 'SKR03', '1: Finanz- und Privatkonten', '1599', '1594', 'Forderungen gegen Unternehmen, mit denen ein Beteiligungsverhältnis besteht - Restlaufzeit größer 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1600, 'SKR03', '1: Finanz- und Privatkonten', '1600', '0', 'Verbindlichkeiten aus Lieferungen und Leistungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1601, 'SKR03', '1: Finanz- und Privatkonten', '1601', '1600', 'Verbindlichkeiten aus Lieferungen und Leistungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1602, 'SKR03', '1: Finanz- und Privatkonten', '1602', '1600', 'Verbindlichkeiten aus Lieferungen und Leistungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1603, 'SKR03', '1: Finanz- und Privatkonten', '1603', '1600', 'Verbindlichkeiten aus Lieferungen und Leistungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1605, 'SKR03', '1: Finanz- und Privatkonten', '1605', '1600', 'Verbindlichkeiten aus Lieferungen und Leistungen zum allgemeinen Umsatzsteuersatz (EÜR)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1606, 'SKR03', '1: Finanz- und Privatkonten', '1606', '1600', 'Verbindlichkeiten aus Lieferungen und Leistungen zum ermäßigten Umsatzsteuersatz (EÜR)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1607, 'SKR03', '1: Finanz- und Privatkonten', '1607', '1600', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Vorsteuerabzug (EÜR)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1609, 'SKR03', '1: Finanz- und Privatkonten', '1609', '1600', 'Gegenkonto 1605-1607 bei Aufteilung der Verbindlichkeiten nach Steuersätzen (EÜR)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1610, 'SKR03', '1: Finanz- und Privatkonten', '1610', '1600', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1611, 'SKR03', '1: Finanz- und Privatkonten', '1611', '1600', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1612, 'SKR03', '1: Finanz- und Privatkonten', '1612', '1600', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1613, 'SKR03', '1: Finanz- und Privatkonten', '1613', '1600', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1614, 'SKR03', '1: Finanz- und Privatkonten', '1614', '1600', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1615, 'SKR03', '1: Finanz- und Privatkonten', '1615', '1600', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1616, 'SKR03', '1: Finanz- und Privatkonten', '1616', '1600', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1617, 'SKR03', '1: Finanz- und Privatkonten', '1617', '1600', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1618, 'SKR03', '1: Finanz- und Privatkonten', '1618', '1600', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1619, 'SKR03', '1: Finanz- und Privatkonten', '1619', '1600', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1620, 'SKR03', '1: Finanz- und Privatkonten', '1620', '1600', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1621, 'SKR03', '1: Finanz- und Privatkonten', '1621', '1600', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1622, 'SKR03', '1: Finanz- und Privatkonten', '1622', '1600', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1623, 'SKR03', '1: Finanz- und Privatkonten', '1623', '1600', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1624, 'SKR03', '1: Finanz- und Privatkonten', '1624', '1600', 'Verbindlichkeiten aus Lieferungen und Leistungen für Investitionen für § 4 Abs. 3 EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1625, 'SKR03', '1: Finanz- und Privatkonten', '1625', '1600', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent - Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1626, 'SKR03', '1: Finanz- und Privatkonten', '1626', '1600', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent - Restlaufzeit 1 bis 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1628, 'SKR03', '1: Finanz- und Privatkonten', '1628', '1600', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent - Restlaufzeit größer 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1630, 'SKR03', '1: Finanz- und Privatkonten', '1630', '1600', 'Verbindlichkeiten aus Lieferungen und Leistungen gegenüber verbundenen Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1631, 'SKR03', '1: Finanz- und Privatkonten', '1631', '1600', 'Verbindlichkeiten aus Lieferungen und Leistungen gegenüber verbundenen Unternehmen - Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1635, 'SKR03', '1: Finanz- und Privatkonten', '1635', '1600', 'Verbindlichkeiten aus Lieferungen und Leistungen gegenüber verbundenen Unternehmen - Restlaufzeit 1 bis 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1638, 'SKR03', '1: Finanz- und Privatkonten', '1638', '1600', 'Verbindlichkeiten aus Lieferungen und Leistungen gegenüber verbundenen Unternehmen - Restlaufzeit größer 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1640, 'SKR03', '1: Finanz- und Privatkonten', '1640', '1600', 'Verbindlichkeiten aus Lieferungen und Leistungen gegenüber Unternehmen, mit denen ein Beteiligungsverhältnis besteht'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1641, 'SKR03', '1: Finanz- und Privatkonten', '1641', '1600', 'Verbindlichkeiten aus Lieferungen und Leistungen gegenüber Unternehmen, mit denen ein Beteiligungsverhältnis besteht - Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1645, 'SKR03', '1: Finanz- und Privatkonten', '1645', '1600', 'Verbindlichkeiten aus Lieferungen und Leistungen gegenüber Unternehmen, mit denen ein Beteiligungsverhältnis besteht - Restlaufzeit 1 bis 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1648, 'SKR03', '1: Finanz- und Privatkonten', '1648', '1600', 'Verbindlichkeiten aus Lieferungen und Leistungen gegenüber Unternehmen, mit denen ein Beteiligungsverhältnis besteht - Restlaufzeit größer 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1650, 'SKR03', '1: Finanz- und Privatkonten', '1650', '1600', 'Verbindlichkeiten aus Lieferungen und Leistungen gegenüber Gesellschaftern'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1651, 'SKR03', '1: Finanz- und Privatkonten', '1651', '1600', 'Verbindlichkeiten aus Lieferungen und Leistungen gegenüber Gesellschaftern - Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1655, 'SKR03', '1: Finanz- und Privatkonten', '1655', '1600', 'Verbindlichkeiten aus Lieferungen und Leistungen gegenüber Gesellschaftern - Restlaufzeit 1 bis 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1658, 'SKR03', '1: Finanz- und Privatkonten', '1658', '1600', 'Verbindlichkeiten aus Lieferungen und Leistungen gegenüber Gesellschaftern - Restlaufzeit größer 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1659, 'SKR03', '1: Finanz- und Privatkonten', '1659', '1600', 'Gegenkonto 1625-1658 bei Aufteilung Kreditorenkonto'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1660, 'SKR03', '1: Finanz- und Privatkonten', '1660', '0', 'Wechselverbindlichkeiten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1661, 'SKR03', '1: Finanz- und Privatkonten', '1661', '1660', 'Wechselverbindlichkeiten - Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1662, 'SKR03', '1: Finanz- und Privatkonten', '1662', '1660', 'Wechselverbindlichkeiten - Restlaufzeit 1 bis 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1663, 'SKR03', '1: Finanz- und Privatkonten', '1663', '1660', 'Wechselverbindlichkeiten - Restlaufzeit größer 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1665, 'SKR03', '1: Finanz- und Privatkonten', '1665', '1660', 'Verbindlichkeiten gegenüber GmbH-Gesellschaftern'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1666, 'SKR03', '1: Finanz- und Privatkonten', '1666', '1660', 'Verbindlichkeiten gegenüber GmbH-Gesellschaftern - Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1667, 'SKR03', '1: Finanz- und Privatkonten', '1667', '1660', 'Verbindlichkeiten gegenüber GmbH-Gesellschaftern - Restlaufzeit 1 bis 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1668, 'SKR03', '1: Finanz- und Privatkonten', '1668', '1660', 'Verbindlichkeiten gegenüber GmbH-Gesellschaftern - Restlaufzeit größer 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1670, 'SKR03', '1: Finanz- und Privatkonten', '1670', '1660', 'Verbindlichkeiten gegenüber persönlich haftenden Gesellschaftern'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1671, 'SKR03', '1: Finanz- und Privatkonten', '1671', '1660', 'Verbindlichkeiten gegenüber persönlich haftenden Gesellschaftern - Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1672, 'SKR03', '1: Finanz- und Privatkonten', '1672', '1660', 'Verbindlichkeiten gegenüber persönlich haftenden Gesellschaftern - Restlaufzeit 1 bis 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1673, 'SKR03', '1: Finanz- und Privatkonten', '1673', '1660', 'Verbindlichkeiten gegenüber persönlich haftenden Gesellschaftern - Restlaufzeit größer 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1675, 'SKR03', '1: Finanz- und Privatkonten', '1675', '1660', 'Verbindlichkeiten gegenüber Kommanditisten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1676, 'SKR03', '1: Finanz- und Privatkonten', '1676', '1660', 'Verbindlichkeiten gegenüber Kommanditisten - Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1677, 'SKR03', '1: Finanz- und Privatkonten', '1677', '1660', 'Verbindlichkeiten gegenüber Kommanditisten - Restlaufzeit 1 bis 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1678, 'SKR03', '1: Finanz- und Privatkonten', '1678', '1660', 'Verbindlichkeiten gegenüber Kommanditisten - Restlaufzeit größer 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1691, 'SKR03', '1: Finanz- und Privatkonten', '1691', '1660', 'Verbindlichkeiten gegenüber Arbeitsgemeinschaften'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1692, 'SKR03', '1: Finanz- und Privatkonten', '1692', '1660', 'Neutralisierung aufwandswirksamer Sachverhalte für § 4 Abs. 3 EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1693, 'SKR03', '1: Finanz- und Privatkonten', '1693', '1660', 'Ergebnisneutrale Sachverhalte für § 4 Abs. 3 EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1695, 'SKR03', '1: Finanz- und Privatkonten', '1695', '1660', 'Verbindlichkeiten gegenüber stillen Gesellschaftern'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1696, 'SKR03', '1: Finanz- und Privatkonten', '1696', '1660', 'Verbindlichkeiten gegenüber stillen Gesellschaftern - Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1697, 'SKR03', '1: Finanz- und Privatkonten', '1697', '1660', 'Verbindlichkeiten gegenüber stillen Gesellschaftern - Restlaufzeit 1 bis 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1698, 'SKR03', '1: Finanz- und Privatkonten', '1698', '1660', 'Verbindlichkeiten gegenüber stillen Gesellschaftern - Restlaufzeit größer 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1700, 'SKR03', '1: Finanz- und Privatkonten', '1700', '0', 'Sonstige Verbindlichkeiten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1701, 'SKR03', '1: Finanz- und Privatkonten', '1701', '1700', 'Sonstige Verbindlichkeiten - Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1702, 'SKR03', '1: Finanz- und Privatkonten', '1702', '1700', 'Sonstige Verbindlichkeiten - Restlaufzeit 1 bis 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1703, 'SKR03', '1: Finanz- und Privatkonten', '1703', '1700', 'Sonstige Verbindlichkeiten - Restlaufzeit größer 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1704, 'SKR03', '1: Finanz- und Privatkonten', '1704', '1700', 'Sonstige Verbindlichkeiten nach § 11 Abs. 2 Satz 2 EStG für § 4 Abs. 3 EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1705, 'SKR03', '1: Finanz- und Privatkonten', '1705', '1700', 'Darlehen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1706, 'SKR03', '1: Finanz- und Privatkonten', '1706', '1700', 'Darlehen - Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1707, 'SKR03', '1: Finanz- und Privatkonten', '1707', '1700', 'Darlehen - Restlaufzeit 1 bis 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1708, 'SKR03', '1: Finanz- und Privatkonten', '1708', '1700', 'Darlehen - Restlaufzeit größer 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1709, 'SKR03', '1: Finanz- und Privatkonten', '1709', '1700', 'Gewinnverfügungskonto stille Gesellschafter - sonstige Verbindlichkeiten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1710, 'SKR03', '1: Finanz- und Privatkonten', '1710', '0', 'Erhaltene Anzahlungen auf Bestellungen (Verbindlichkeiten)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1711, 'SKR03', '1: Finanz- und Privatkonten', '1711', '1710', 'Erhaltene, versteuerte Anzahlungen 7 % USt (Verbindlichkeiten)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1712, 'SKR03', '1: Finanz- und Privatkonten', '1712', '1710', 'Erhaltene, versteuerte Anzahlungen 5 % USt (Verbindlichkeiten)'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1713, 'SKR03', '1: Finanz- und Privatkonten', '1713', '1710', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1714, 'SKR03', '1: Finanz- und Privatkonten', '1714', '1710', 'Erhaltene, versteuerte Anzahlungen 0 % USt (Verbindlichkeiten)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1715, 'SKR03', '1: Finanz- und Privatkonten', '1715', '1710', 'Erhaltene Anzahlungen - Nachsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1716, 'SKR03', '1: Finanz- und Privatkonten', '1716', '1710', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1717, 'SKR03', '1: Finanz- und Privatkonten', '1717', '1710', 'Erhaltene, versteuerte Anzahlungen 16 % USt (Verbindlichkeiten)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1718, 'SKR03', '1: Finanz- und Privatkonten', '1718', '1710', 'Erhaltene, versteuerte Anzahlungen 19 % USt (Verbindlichkeiten)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1719, 'SKR03', '1: Finanz- und Privatkonten', '1719', '1710', 'Erhaltene Anzahlungen - Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1720, 'SKR03', '1: Finanz- und Privatkonten', '1720', '1710', 'Erhaltene Anzahlungen - Restlaufzeit 1 bis 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1721, 'SKR03', '1: Finanz- und Privatkonten', '1721', '1710', 'Erhaltene Anzahlungen - Restlaufzeit größer 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1722, 'SKR03', '1: Finanz- und Privatkonten', '1722', '1710', 'Erhaltene Anzahlungen auf Bestellungen (von Vorräten offen abgesetzt)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1725, 'SKR03', '1: Finanz- und Privatkonten', '1725', '1710', 'Umsatzsteuer in Folgeperiode fällig (§§ 13 Abs. 1 Nr. 6 und 13b Abs. 2 UStG)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1728, 'SKR03', '1: Finanz- und Privatkonten', '1728', '1710', 'Umsatzsteuer aus im anderen EU-Land steuerpflichtigen elektronischen Dienstleistungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1729, 'SKR03', '1: Finanz- und Privatkonten', '1729', '1710', 'Steuerzahlungen aus im anderen EU-Land steuerpflichtigen Leistungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1730, 'SKR03', '1: Finanz- und Privatkonten', '1730', '1710', 'Kreditkartenabrechnung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1731, 'SKR03', '1: Finanz- und Privatkonten', '1731', '1710', 'Agenturwarenabrechnung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1732, 'SKR03', '1: Finanz- und Privatkonten', '1732', '1710', 'Erhaltene Kautionen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1733, 'SKR03', '1: Finanz- und Privatkonten', '1733', '1710', 'Erhaltene Kautionen - Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1734, 'SKR03', '1: Finanz- und Privatkonten', '1734', '1710', 'Erhaltene Kautionen - Restlaufzeit 1 bis 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1735, 'SKR03', '1: Finanz- und Privatkonten', '1735', '1710', 'Erhaltene Kautionen - Restlaufzeit größer 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1736, 'SKR03', '1: Finanz- und Privatkonten', '1736', '1710', 'Verbindlichkeiten aus Steuern und Abgaben'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1737, 'SKR03', '1: Finanz- und Privatkonten', '1737', '1710', 'Verbindlichkeiten aus Steuern und Abgaben - Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1738, 'SKR03', '1: Finanz- und Privatkonten', '1738', '1710', 'Verbindlichkeiten aus Steuern und Abgaben - Restlaufzeit 1 bis 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1739, 'SKR03', '1: Finanz- und Privatkonten', '1739', '1710', 'Verbindlichkeiten aus Steuern und Abgaben - Restlaufzeit größer 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1740, 'SKR03', '1: Finanz- und Privatkonten', '1740', '1710', 'Verbindlichkeiten aus Lohn und Gehalt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1741, 'SKR03', '1: Finanz- und Privatkonten', '1741', '1710', 'Verbindlichkeiten aus Lohn- und Kirchensteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1742, 'SKR03', '1: Finanz- und Privatkonten', '1742', '1710', 'Verbindlichkeiten im Rahmen der sozialen Sicherheit'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1743, 'SKR03', '1: Finanz- und Privatkonten', '1743', '1710', 'Verbindlichkeiten im Rahmen der sozialen Sicherheit - Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1744, 'SKR03', '1: Finanz- und Privatkonten', '1744', '1710', 'Verbindlichkeiten im Rahmen der sozialen Sicherheit - Restlaufzeit 1 bis 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1745, 'SKR03', '1: Finanz- und Privatkonten', '1745', '1710', 'Verbindlichkeiten im Rahmen der sozialen Sicherheit - Restlaufzeit größer 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1746, 'SKR03', '1: Finanz- und Privatkonten', '1746', '1710', 'Verbindlichkeiten aus Einbehaltungen (KapESt und SolZ, KiSt auf KapESt) für offene Ausschüttungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1747, 'SKR03', '1: Finanz- und Privatkonten', '1747', '1710', 'Verbindlichkeiten für Verbrauchsteuern'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1748, 'SKR03', '1: Finanz- und Privatkonten', '1748', '1710', 'Verbindlichkeiten für Einbehaltungen von Arbeitnehmern'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1749, 'SKR03', '1: Finanz- und Privatkonten', '1749', '1710', 'Verbindlichkeiten an das Finanzamt aus abzuführendem Bauabzugsbetrag'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1750, 'SKR03', '1: Finanz- und Privatkonten', '1750', '1710', 'Verbindlichkeiten aus Vermögensbildung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1751, 'SKR03', '1: Finanz- und Privatkonten', '1751', '1710', 'Verbindlichkeiten aus Vermögensbildung - Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1752, 'SKR03', '1: Finanz- und Privatkonten', '1752', '1710', 'Verbindlichkeiten aus Vermögensbildung - Restlaufzeit 1 bis 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1753, 'SKR03', '1: Finanz- und Privatkonten', '1753', '1710', 'Verbindlichkeiten aus Vermögensbildung - Restlaufzeit größer 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1754, 'SKR03', '1: Finanz- und Privatkonten', '1754', '1710', 'Steuerzahlungen an andere Länder'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1755, 'SKR03', '1: Finanz- und Privatkonten', '1755', '0', 'Lohn- und Gehaltsverrechnung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1756, 'SKR03', '1: Finanz- und Privatkonten', '1756', '1755', 'Lohn- und Gehaltsverrechnung nach § 11 Abs. 2 Satz 2 EStG für § 4 Abs. 3 EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1757, 'SKR03', '1: Finanz- und Privatkonten', '1757', '1755', 'Verbindlichkeiten gegenüber Gesellschaft/Gesamthand'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1758, 'SKR03', '1: Finanz- und Privatkonten', '1758', '1755', 'Sonstige Verbindlichkeiten aus genossenschaftlicher Rückvergütung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1759, 'SKR03', '1: Finanz- und Privatkonten', '1759', '1755', 'Voraussichtliche Beitragsschuld gegenüber den Sozialversicherungsträgern'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1760, 'SKR03', '1: Finanz- und Privatkonten', '1760', '1755', 'Umsatzsteuer nicht fällig'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1761, 'SKR03', '1: Finanz- und Privatkonten', '1761', '1755', 'Umsatzsteuer nicht fällig 7 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1762, 'SKR03', '1: Finanz- und Privatkonten', '1762', '1755', 'Umsatzsteuer nicht fällig aus im Inland steuerpflichtigen EU-Lieferungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1763, 'SKR03', '1: Finanz- und Privatkonten', '1763', '1755', 'Umsatzsteuer nicht fällig 5 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1764, 'SKR03', '1: Finanz- und Privatkonten', '1764', '1755', 'Umsatzsteuer nicht fällig aus im Inland steuerpflichtigen EU-Lieferungen 19 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1765, 'SKR03', '1: Finanz- und Privatkonten', '1765', '1755', 'Umsatzsteuer nicht fällig 16 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1766, 'SKR03', '1: Finanz- und Privatkonten', '1766', '1755', 'Umsatzsteuer nicht fällig 19 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1767, 'SKR03', '1: Finanz- und Privatkonten', '1767', '1755', 'Umsatzsteuer aus im anderen EU-Land steuerpflichtigen Lieferungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1768, 'SKR03', '1: Finanz- und Privatkonten', '1768', '1755', 'Umsatzsteuer aus im anderen EU-Land steuerpflichtigen sonstigen Leistungen/Werklieferungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1769, 'SKR03', '1: Finanz- und Privatkonten', '1769', '1755', 'Umsatzsteuer aus der Auslagerung von Gegenständen aus einem Umsatzsteuerlager'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1770, 'SKR03', '1: Finanz- und Privatkonten', '1770', '1755', 'Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1771, 'SKR03', '1: Finanz- und Privatkonten', '1771', '1755', 'Umsatzsteuer 7 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1772, 'SKR03', '1: Finanz- und Privatkonten', '1772', '1755', 'Umsatzsteuer aus innergemeinschaftlichem Erwerb'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1773, 'SKR03', '1: Finanz- und Privatkonten', '1773', '1755', 'Umsatzsteuer 5 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1774, 'SKR03', '1: Finanz- und Privatkonten', '1774', '1755', 'Umsatzsteuer aus innergemeinschaftlichem Erwerb 19 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1775, 'SKR03', '1: Finanz- und Privatkonten', '1775', '1755', 'Umsatzsteuer 16 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1776, 'SKR03', '1: Finanz- und Privatkonten', '1776', '1755', 'Umsatzsteuer 19 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1777, 'SKR03', '1: Finanz- und Privatkonten', '1777', '1755', 'Umsatzsteuer aus im Inland steuerpflichtigen EU-Lieferungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1778, 'SKR03', '1: Finanz- und Privatkonten', '1778', '1755', 'Umsatzsteuer aus im Inland steuerpflichtigen EU-Lieferungen 19 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1779, 'SKR03', '1: Finanz- und Privatkonten', '1779', '1755', 'Umsatzsteuer aus innergemeinschaftlichem Erwerb ohne Vorsteuerabzug'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1780, 'SKR03', '1: Finanz- und Privatkonten', '1780', '1755', 'Umsatzsteuer-Vorauszahlungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1781, 'SKR03', '1: Finanz- und Privatkonten', '1781', '1755', 'Umsatzsteuer-Vorauszahlungen 1/11'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1782, 'SKR03', '1: Finanz- und Privatkonten', '1782', '1755', 'Nachsteuer, UStVA Kz. 65'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1783, 'SKR03', '1: Finanz- und Privatkonten', '1783', '1755', 'In Rechnung unrichtig oder unberechtigt ausgewiesene Steuerbeträge, UStVA Kz. 69'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1784, 'SKR03', '1: Finanz- und Privatkonten', '1784', '1755', 'Umsatzsteuer aus innergemeinschaftlichem Erwerb von Neufahrzeugen von Lieferanten ohne Umsatzsteuer-Identifikationsnummer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1785, 'SKR03', '1: Finanz- und Privatkonten', '1785', '1755', 'Umsatzsteuer nach § 13b UStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1786, 'SKR03', '1: Finanz- und Privatkonten', '1786', '1755', 'Umsatzsteuer aus innergemeinschaftlichem Erwerb 16 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1787, 'SKR03', '1: Finanz- und Privatkonten', '1787', '1755', 'Umsatzsteuer nach § 13b UStG 19 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1788, 'SKR03', '1: Finanz- und Privatkonten', '1788', '1755', 'Einfuhrumsatzsteuer aufgeschoben bis ...'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1789, 'SKR03', '1: Finanz- und Privatkonten', '1789', '1755', 'Umsatzsteuer laufendes Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1790, 'SKR03', '1: Finanz- und Privatkonten', '1790', '1755', 'Umsatzsteuer Vorjahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1791, 'SKR03', '1: Finanz- und Privatkonten', '1791', '1755', 'Umsatzsteuer frühere Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1792, 'SKR03', '1: Finanz- und Privatkonten', '1792', '1755', 'Sonstige Verrechnungskonten (Interimskonten)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1793, 'SKR03', '1: Finanz- und Privatkonten', '1793', '1755', 'Verrechnungskonto geleistete Anzahlungen bei Buchung über Kreditorenkonto'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1794, 'SKR03', '1: Finanz- und Privatkonten', '1794', '1755', 'Umsatzsteuer aus Erwerb als letzter Abnehmer innerhalb eines Dreiecksgeschäfts'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1795, 'SKR03', '1: Finanz- und Privatkonten', '1795', '1755', 'Verbindlichkeiten im Rahmen der sozialen Sicherheit für § 4 Abs. 3 EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1796, 'SKR03', '1: Finanz- und Privatkonten', '1796', '1755', 'Ausgegebene Geschenkgutscheine'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1797, 'SKR03', '1: Finanz- und Privatkonten', '1797', '1755', 'Verbindlichkeiten aus Umsatzsteuer-Vorauszahlungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1798, 'SKR03', '1: Finanz- und Privatkonten', '1798', '1755', 'Umsatzsteuer aus im Inland steuerpflichtigen EU-Lieferungen, nur OSS'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1799, 'SKR03', '1: Finanz- und Privatkonten', '1799', '1755', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1800, 'SKR03', '1: Finanz- und Privatkonten', '1800', '0', 'Privatentnahmen allgemein'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1801, 'SKR03', '1: Finanz- und Privatkonten', '1801', '0', 'Privatentnahmen allgemein (nur Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1810, 'SKR03', '1: Finanz- und Privatkonten', '1810', '0', 'Privatsteuern'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1811, 'SKR03', '1: Finanz- und Privatkonten', '1811', '0', 'Privatsteuern (nur Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1820, 'SKR03', '1: Finanz- und Privatkonten', '1820', '0', 'Sonderausgaben beschränkt abzugsfähig'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1821, 'SKR03', '1: Finanz- und Privatkonten', '1821', '0', 'Sonderausgaben beschränkt abzugsfähig (nur Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1830, 'SKR03', '1: Finanz- und Privatkonten', '1830', '0', 'Sonderausgaben unbeschränkt abzugsfähig'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1831, 'SKR03', '1: Finanz- und Privatkonten', '1831', '0', 'Sonderausgaben unbeschränkt abzugsfähig (nur Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1840, 'SKR03', '1: Finanz- und Privatkonten', '1840', '0', 'Zuwendungen, Spenden'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1841, 'SKR03', '1: Finanz- und Privatkonten', '1841', '0', 'Zuwendungen, Spenden (nur Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1850, 'SKR03', '1: Finanz- und Privatkonten', '1850', '0', 'Außergewöhnliche Belastungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1851, 'SKR03', '1: Finanz- und Privatkonten', '1851', '0', 'Außergewöhnliche Belastungen (nur Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1860, 'SKR03', '1: Finanz- und Privatkonten', '1860', '0', 'Grundstücksaufwand'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1861, 'SKR03', '1: Finanz- und Privatkonten', '1861', '0', 'Grundstücksaufwand (nur Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1869, 'SKR03', '1: Finanz- und Privatkonten', '1869', '0', 'Grundstücksaufwand (Umsatzsteuerschlüssel möglich, nur Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1870, 'SKR03', '1: Finanz- und Privatkonten', '1870', '0', 'Grundstücksertrag'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1871, 'SKR03', '1: Finanz- und Privatkonten', '1871', '0', 'Grundstücksertrag (nur Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1879, 'SKR03', '1: Finanz- und Privatkonten', '1879', '0', 'Grundstücksertrag (Umsatzsteuerschlüssel möglich, nur Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1880, 'SKR03', '1: Finanz- und Privatkonten', '1880', '0', 'Unentgeltliche Wertabgaben'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1881, 'SKR03', '1: Finanz- und Privatkonten', '1881', '0', 'Unentgeltliche Wertabgaben (nur Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1890, 'SKR03', '1: Finanz- und Privatkonten', '1890', '0', 'Privateinlagen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1891, 'SKR03', '1: Finanz- und Privatkonten', '1891', '0', 'Privateinlagen (nur Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1900, 'SKR03', '1: Finanz- und Privatkonten', '1900', '0', 'Privatentnahmen allgemein (TH), FK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1901, 'SKR03', '1: Finanz- und Privatkonten', '1901', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1902, 'SKR03', '1: Finanz- und Privatkonten', '1902', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1903, 'SKR03', '1: Finanz- und Privatkonten', '1903', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1904, 'SKR03', '1: Finanz- und Privatkonten', '1904', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1905, 'SKR03', '1: Finanz- und Privatkonten', '1905', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1906, 'SKR03', '1: Finanz- und Privatkonten', '1906', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1907, 'SKR03', '1: Finanz- und Privatkonten', '1907', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1908, 'SKR03', '1: Finanz- und Privatkonten', '1908', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1909, 'SKR03', '1: Finanz- und Privatkonten', '1909', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1910, 'SKR03', '1: Finanz- und Privatkonten', '1910', '0', 'Privatsteuern (TH), FK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1911, 'SKR03', '1: Finanz- und Privatkonten', '1911', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1912, 'SKR03', '1: Finanz- und Privatkonten', '1912', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1913, 'SKR03', '1: Finanz- und Privatkonten', '1913', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1914, 'SKR03', '1: Finanz- und Privatkonten', '1914', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1915, 'SKR03', '1: Finanz- und Privatkonten', '1915', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1916, 'SKR03', '1: Finanz- und Privatkonten', '1916', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1917, 'SKR03', '1: Finanz- und Privatkonten', '1917', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1918, 'SKR03', '1: Finanz- und Privatkonten', '1918', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1919, 'SKR03', '1: Finanz- und Privatkonten', '1919', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1920, 'SKR03', '1: Finanz- und Privatkonten', '1920', '0', 'Sonderausgaben beschränkt abzugsfähig (TH), FK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1921, 'SKR03', '1: Finanz- und Privatkonten', '1921', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1922, 'SKR03', '1: Finanz- und Privatkonten', '1922', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1923, 'SKR03', '1: Finanz- und Privatkonten', '1923', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1924, 'SKR03', '1: Finanz- und Privatkonten', '1924', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1925, 'SKR03', '1: Finanz- und Privatkonten', '1925', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1926, 'SKR03', '1: Finanz- und Privatkonten', '1926', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1927, 'SKR03', '1: Finanz- und Privatkonten', '1927', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1928, 'SKR03', '1: Finanz- und Privatkonten', '1928', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1929, 'SKR03', '1: Finanz- und Privatkonten', '1929', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1930, 'SKR03', '1: Finanz- und Privatkonten', '1930', '0', 'Sonderausgaben unbeschränkt abzugsfähig (TH), FK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1931, 'SKR03', '1: Finanz- und Privatkonten', '1931', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1932, 'SKR03', '1: Finanz- und Privatkonten', '1932', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1933, 'SKR03', '1: Finanz- und Privatkonten', '1933', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1934, 'SKR03', '1: Finanz- und Privatkonten', '1934', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1935, 'SKR03', '1: Finanz- und Privatkonten', '1935', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1936, 'SKR03', '1: Finanz- und Privatkonten', '1936', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1937, 'SKR03', '1: Finanz- und Privatkonten', '1937', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1938, 'SKR03', '1: Finanz- und Privatkonten', '1938', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1939, 'SKR03', '1: Finanz- und Privatkonten', '1939', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1940, 'SKR03', '1: Finanz- und Privatkonten', '1940', '0', 'Zuwendungen, Spenden (TH), FK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1941, 'SKR03', '1: Finanz- und Privatkonten', '1941', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1942, 'SKR03', '1: Finanz- und Privatkonten', '1942', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1943, 'SKR03', '1: Finanz- und Privatkonten', '1943', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1944, 'SKR03', '1: Finanz- und Privatkonten', '1944', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1945, 'SKR03', '1: Finanz- und Privatkonten', '1945', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1946, 'SKR03', '1: Finanz- und Privatkonten', '1946', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1947, 'SKR03', '1: Finanz- und Privatkonten', '1947', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1948, 'SKR03', '1: Finanz- und Privatkonten', '1948', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1949, 'SKR03', '1: Finanz- und Privatkonten', '1949', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1950, 'SKR03', '1: Finanz- und Privatkonten', '1950', '0', 'Außergewöhnliche Belastungen (TH), FK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1951, 'SKR03', '1: Finanz- und Privatkonten', '1951', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1952, 'SKR03', '1: Finanz- und Privatkonten', '1952', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1953, 'SKR03', '1: Finanz- und Privatkonten', '1953', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1954, 'SKR03', '1: Finanz- und Privatkonten', '1954', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1955, 'SKR03', '1: Finanz- und Privatkonten', '1955', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1956, 'SKR03', '1: Finanz- und Privatkonten', '1956', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1957, 'SKR03', '1: Finanz- und Privatkonten', '1957', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1958, 'SKR03', '1: Finanz- und Privatkonten', '1958', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1959, 'SKR03', '1: Finanz- und Privatkonten', '1959', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1960, 'SKR03', '1: Finanz- und Privatkonten', '1960', '0', 'Grundstücksaufwand (TH), FK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1961, 'SKR03', '1: Finanz- und Privatkonten', '1961', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1962, 'SKR03', '1: Finanz- und Privatkonten', '1962', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1963, 'SKR03', '1: Finanz- und Privatkonten', '1963', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1964, 'SKR03', '1: Finanz- und Privatkonten', '1964', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1965, 'SKR03', '1: Finanz- und Privatkonten', '1965', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1966, 'SKR03', '1: Finanz- und Privatkonten', '1966', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1967, 'SKR03', '1: Finanz- und Privatkonten', '1967', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1968, 'SKR03', '1: Finanz- und Privatkonten', '1968', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1969, 'SKR03', '1: Finanz- und Privatkonten', '1969', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1970, 'SKR03', '1: Finanz- und Privatkonten', '1970', '0', 'Grundstücksertrag (TH), FK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1971, 'SKR03', '1: Finanz- und Privatkonten', '1971', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1972, 'SKR03', '1: Finanz- und Privatkonten', '1972', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1973, 'SKR03', '1: Finanz- und Privatkonten', '1973', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1974, 'SKR03', '1: Finanz- und Privatkonten', '1974', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1975, 'SKR03', '1: Finanz- und Privatkonten', '1975', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1976, 'SKR03', '1: Finanz- und Privatkonten', '1976', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1977, 'SKR03', '1: Finanz- und Privatkonten', '1977', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1978, 'SKR03', '1: Finanz- und Privatkonten', '1978', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1979, 'SKR03', '1: Finanz- und Privatkonten', '1979', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1980, 'SKR03', '1: Finanz- und Privatkonten', '1980', '0', 'Unentgeltliche Wertabgaben (TH), FK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1981, 'SKR03', '1: Finanz- und Privatkonten', '1981', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1982, 'SKR03', '1: Finanz- und Privatkonten', '1982', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1983, 'SKR03', '1: Finanz- und Privatkonten', '1983', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1984, 'SKR03', '1: Finanz- und Privatkonten', '1984', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1985, 'SKR03', '1: Finanz- und Privatkonten', '1985', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1986, 'SKR03', '1: Finanz- und Privatkonten', '1986', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1987, 'SKR03', '1: Finanz- und Privatkonten', '1987', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1988, 'SKR03', '1: Finanz- und Privatkonten', '1988', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1989, 'SKR03', '1: Finanz- und Privatkonten', '1989', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1990, 'SKR03', '1: Finanz- und Privatkonten', '1990', '0', 'Privateinlagen (TH), FK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1991, 'SKR03', '1: Finanz- und Privatkonten', '1991', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1992, 'SKR03', '1: Finanz- und Privatkonten', '1992', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1993, 'SKR03', '1: Finanz- und Privatkonten', '1993', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1994, 'SKR03', '1: Finanz- und Privatkonten', '1994', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1995, 'SKR03', '1: Finanz- und Privatkonten', '1995', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1996, 'SKR03', '1: Finanz- und Privatkonten', '1996', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1997, 'SKR03', '1: Finanz- und Privatkonten', '1997', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1998, 'SKR03', '1: Finanz- und Privatkonten', '1998', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1999, 'SKR03', '1: Finanz- und Privatkonten', '1999', '0', ''); +---- 2: Abgrenzungskonten +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2000, 'SKR03', '2: Abgrenzungskonten', '2000', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2001, 'SKR03', '2: Abgrenzungskonten', '2001', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2004, 'SKR03', '2: Abgrenzungskonten', '2004', '0', 'Verluste durch Verschmelzung und Umwandlung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2006, 'SKR03', '2: Abgrenzungskonten', '2006', '0', 'Verluste durch außergewöhnliche Schadensfälle (nur Bilanzierer)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2007, 'SKR03', '2: Abgrenzungskonten', '2007', '0', 'Aufwendungen für Restrukturierungs- und Sanierungsmaßnahmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2008, 'SKR03', '2: Abgrenzungskonten', '2008', '0', 'Verluste aus der Veräußerung oder der Aufgabe von Geschäftsaktivitäten nach Steuern'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2010, 'SKR03', '2: Abgrenzungskonten', '2010', '0', 'Betriebsfremde Aufwendungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2020, 'SKR03', '2: Abgrenzungskonten', '2020', '0', 'Periodenfremde Aufwendungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2090, 'SKR03', '2: Abgrenzungskonten', '2090', '0', 'Aufwendungen aus der Anwendung von Übergangsvorschriften'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2091, 'SKR03', '2: Abgrenzungskonten', '2091', '0', 'Aufwendungen aus der Anwendung von Übergangsvorschriften (Pensionsrückstellungen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2094, 'SKR03', '2: Abgrenzungskonten', '2094', '0', 'Aufwendungen aus der Anwendung von Übergangsvorschriften (Latente Steuern)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2100, 'SKR03', '2: Abgrenzungskonten', '2100', '0', 'Zinsen und ähnliche Aufwendungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2102, 'SKR03', '2: Abgrenzungskonten', '2102', '2100', 'Steuerlich nicht abzugsfähige andere Nebenleistungen zu Steuern § 4 Abs. 5b EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2103, 'SKR03', '2: Abgrenzungskonten', '2103', '2100', 'Steuerlich abzugsfähige andere Nebenleistungen zu Steuern'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2104, 'SKR03', '2: Abgrenzungskonten', '2104', '2100', 'Steuerlich nicht abzugsfähige andere Nebenleistungen zu Steuern'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2105, 'SKR03', '2: Abgrenzungskonten', '2105', '2100', 'Zinsaufwendungen § 233a AO nicht abzugsfähig'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2106, 'SKR03', '2: Abgrenzungskonten', '2106', '2100', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2107, 'SKR03', '2: Abgrenzungskonten', '2107', '2100', 'Zinsaufwendungen § 233a AO abzugsfähig'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2108, 'SKR03', '2: Abgrenzungskonten', '2108', '2100', 'Zinsaufwendungen §§ 234 bis 237 AO nicht abzugsfähig'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2109, 'SKR03', '2: Abgrenzungskonten', '2109', '2100', 'Zinsaufwendungen an verbundene Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2110, 'SKR03', '2: Abgrenzungskonten', '2110', '2100', 'Zinsaufwendungen für kurzfristige Verbindlichkeiten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2111, 'SKR03', '2: Abgrenzungskonten', '2111', '2100', 'Zinsaufwendungen §§ 234 bis 237 AO abzugsfähig'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2113, 'SKR03', '2: Abgrenzungskonten', '2113', '2100', 'Nicht abzugsfähige Schuldzinsen nach § 4 Abs. 4a EStG (Hinzurechnungsbetrag)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2114, 'SKR03', '2: Abgrenzungskonten', '2114', '2100', 'Zinsen für Gesellschafterdarlehen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2115, 'SKR03', '2: Abgrenzungskonten', '2115', '2100', 'Zinsen und ähnliche Aufwendungen §§ 3 Nr. 40 und 3c EStG bzw. § 8b Abs. 1 und 4 KStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2116, 'SKR03', '2: Abgrenzungskonten', '2116', '2100', 'Zinsen und ähnliche Aufwendungen an verbundene Unternehmen §§ 3 Nr. 40 und 3c EStG bzw. § 8b Abs. 1 KStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2117, 'SKR03', '2: Abgrenzungskonten', '2117', '2100', 'Zinsen an Gesellschafter mit einer Beteiligung von mehr als 25 % bzw. diesen nahe stehende Personen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2118, 'SKR03', '2: Abgrenzungskonten', '2118', '2100', 'Zinsen auf Kontokorrentkonten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2119, 'SKR03', '2: Abgrenzungskonten', '2119', '2100', 'Zinsaufwendungen für kurzfristige Verbindlichkeiten an verbundene Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2120, 'SKR03', '2: Abgrenzungskonten', '2120', '2100', 'Zinsaufwendungen für langfristige Verbindlichkeiten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2123, 'SKR03', '2: Abgrenzungskonten', '2123', '2100', 'Abschreibungen auf ein Agio oder Disagio/Damnum zur Finanzierung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2124, 'SKR03', '2: Abgrenzungskonten', '2124', '2100', 'Abschreibungen auf ein Agio oder Disagio/Damnum zur Finanzierung des Anlagevermögens'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2125, 'SKR03', '2: Abgrenzungskonten', '2125', '2100', 'Zinsaufwendungen für Gebäude, die zum Betriebsvermögen gehören'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2126, 'SKR03', '2: Abgrenzungskonten', '2126', '2100', 'Zinsen zur Finanzierung des Anlagevermögens'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2127, 'SKR03', '2: Abgrenzungskonten', '2127', '2100', 'Renten und dauernde Lasten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2128, 'SKR03', '2: Abgrenzungskonten', '2128', '2100', 'Zinsaufwendungen für Kapitalüberlassung durch Mitunternehmer § 15 EStG (mit Sonderbetriebseinnahme korrespondierend)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2129, 'SKR03', '2: Abgrenzungskonten', '2129', '2100', 'Zinsaufwendungen für langfristige Verbindlichkeiten an verbundene Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2130, 'SKR03', '2: Abgrenzungskonten', '2130', '2100', 'Diskontaufwendungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2139, 'SKR03', '2: Abgrenzungskonten', '2139', '2100', 'Diskontaufwendungen an verbundene Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2140, 'SKR03', '2: Abgrenzungskonten', '2140', '2100', 'Zinsähnliche Aufwendungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2141, 'SKR03', '2: Abgrenzungskonten', '2141', '2100', 'Kreditprovisionen und Verwaltungskostenbeiträge'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2142, 'SKR03', '2: Abgrenzungskonten', '2142', '2100', 'Zinsanteil der Zuführungen zu Pensionsrückstellungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2143, 'SKR03', '2: Abgrenzungskonten', '2143', '2100', 'Zinsaufwendungen aus der Abzinsung von Verbindlichkeiten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2144, 'SKR03', '2: Abgrenzungskonten', '2144', '2100', 'Zinsaufwendungen aus der Abzinsung von Rückstellungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2145, 'SKR03', '2: Abgrenzungskonten', '2145', '2100', 'Zinsaufwendungen aus der Abzinsung von Pensionsrückstellungen und ähnlichen/vergleichbaren Verpflichtungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2146, 'SKR03', '2: Abgrenzungskonten', '2146', '2100', 'Zinsaufwendungen aus der Abzinsung von Pensionsrückstellungen und ähnlichen/vergleichbaren Verpflichtungen zur Verrechnung nach § 246 Abs. 2 HGB'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2147, 'SKR03', '2: Abgrenzungskonten', '2147', '2100', 'Aufwendungen aus Vermögensgegenständen zur Verrechnung nach § 246 Abs. 2 HGB'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2148, 'SKR03', '2: Abgrenzungskonten', '2148', '2100', 'Steuerlich nicht abzugsfähige Zinsaufwendungen aus der Abzinsung von Rückstellungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2149, 'SKR03', '2: Abgrenzungskonten', '2149', '2100', 'Zinsähnliche Aufwendungen an verbundene Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2150, 'SKR03', '2: Abgrenzungskonten', '2150', '2100', 'Aufwendungen aus der Währungsumrechnung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2151, 'SKR03', '2: Abgrenzungskonten', '2151', '2100', 'Aufwendungen aus der Währungsumrechnung (nicht § 256a HGB)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2166, 'SKR03', '2: Abgrenzungskonten', '2166', '2100', 'Aufwendungen aus Bewertung Finanzmittelfonds'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2170, 'SKR03', '2: Abgrenzungskonten', '2170', '2100', 'Nicht abziehbare Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2171, 'SKR03', '2: Abgrenzungskonten', '2171', '2100', 'Nicht abziehbare Vorsteuer 7 %'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2174, 'SKR03', '2: Abgrenzungskonten', '2174', '2100', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2175, 'SKR03', '2: Abgrenzungskonten', '2175', '2100', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2176, 'SKR03', '2: Abgrenzungskonten', '2176', '2100', 'Nicht abziehbare Vorsteuer 19 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2200, 'SKR03', '2: Abgrenzungskonten', '2200', '0', 'Körperschaftsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2203, 'SKR03', '2: Abgrenzungskonten', '2203', '0', 'Körperschaftsteuer für Vorjahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2204, 'SKR03', '2: Abgrenzungskonten', '2204', '0', 'Körperschaftsteuererstattungen für Vorjahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2208, 'SKR03', '2: Abgrenzungskonten', '2208', '0', 'Solidaritätszuschlag'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2209, 'SKR03', '2: Abgrenzungskonten', '2209', '0', 'Solidaritätszuschlag für Vorjahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2210, 'SKR03', '2: Abgrenzungskonten', '2210', '0', 'Solidaritätszuschlagerstattungen für Vorjahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2213, 'SKR03', '2: Abgrenzungskonten', '2213', '0', 'Kapitalertragsteuer 25 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2216, 'SKR03', '2: Abgrenzungskonten', '2216', '0', 'Anrechenbarer Solidaritätszuschlag auf Kapitalertragsteuer 25 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2218, 'SKR03', '2: Abgrenzungskonten', '2218', '0', 'Ausländische Steuer auf im Inland steuerfreie DBA-Einkünfte'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2219, 'SKR03', '2: Abgrenzungskonten', '2219', '0', 'Anrechnung/Abzug ausländische Quellensteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2250, 'SKR03', '2: Abgrenzungskonten', '2250', '0', 'Aufwendungen aus der Zuführung und Auflösung von latenten Steuern'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2255, 'SKR03', '2: Abgrenzungskonten', '2255', '0', 'Erträge aus der Zuführung und Auflösung von latenten Steuern'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2260, 'SKR03', '2: Abgrenzungskonten', '2260', '0', 'Aufwendungen aus der Zuführung zu Steuerrückstellungen für Steuerstundung (BStBK)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2265, 'SKR03', '2: Abgrenzungskonten', '2265', '0', 'Erträge aus der Auflösung von Steuerrückstellungen für Steuerstundung (BStBK)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2281, 'SKR03', '2: Abgrenzungskonten', '2281', '0', 'Gewerbesteuernachzahlungen und Gewerbesteuererstattungen für Vorjahre nach § 4 Abs. 5b EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2283, 'SKR03', '2: Abgrenzungskonten', '2283', '0', 'Erträge aus der Auflösung von Gewerbesteuerrückstellungen nach § 4 Abs. 5b EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2285, 'SKR03', '2: Abgrenzungskonten', '2285', '0', 'Steuernachzahlungen Vorjahre für sonstige Steuern'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2287, 'SKR03', '2: Abgrenzungskonten', '2287', '0', 'Steuererstattungen Vorjahre für sonstige Steuern'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2289, 'SKR03', '2: Abgrenzungskonten', '2289', '0', 'Erträge aus der Auflösung von Rückstellungen für sonstige Steuern'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2300, 'SKR03', '2: Abgrenzungskonten', '2300', '0', 'Sonstige Aufwendungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2307, 'SKR03', '2: Abgrenzungskonten', '2307', '2300', 'Sonstige Aufwendungen betriebsfremd und regelmäßig'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2308, 'SKR03', '2: Abgrenzungskonten', '2308', '2300', 'Sonstige nicht abziehbare Aufwendungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2309, 'SKR03', '2: Abgrenzungskonten', '2309', '2300', 'Sonstige Aufwendungen unregelmäßig'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2310, 'SKR03', '2: Abgrenzungskonten', '2310', '2300', 'Anlagenabgänge Sachanlagen (Restbuchwert bei Buchverlust)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2311, 'SKR03', '2: Abgrenzungskonten', '2311', '2300', 'Anlagenabgänge immaterielle Vermögensgegenstände (Restbuchwert bei Buchverlust)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2312, 'SKR03', '2: Abgrenzungskonten', '2312', '2300', 'Anlagenabgänge Finanzanlagen (Restbuchwert bei Buchverlust)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2313, 'SKR03', '2: Abgrenzungskonten', '2313', '2300', 'Anlagenabgänge Finanzanlagen § 3 Nr. 40 EStG bzw. § 8b Abs. 3 KStG (Restbuchwert bei Buchverlust)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2315, 'SKR03', '2: Abgrenzungskonten', '2315', '2300', 'Anlagenabgänge Sachanlagen (Restbuchwert bei Buchgewinn)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2316, 'SKR03', '2: Abgrenzungskonten', '2316', '2300', 'Anlagenabgänge immaterielle Vermögensgegenstände (Restbuchwert bei Buchgewinn)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2317, 'SKR03', '2: Abgrenzungskonten', '2317', '2300', 'Anlagenabgänge Finanzanlagen (Restbuchwert bei Buchgewinn)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2318, 'SKR03', '2: Abgrenzungskonten', '2318', '2300', 'Anlagenabgänge Finanzanlagen § 3 Nr. 40 EStG bzw. § 8b Abs. 2 KStG (Restbuchwert bei Buchgewinn)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2320, 'SKR03', '2: Abgrenzungskonten', '2320', '2300', 'Verluste aus dem Abgang von Gegenständen des Anlagevermögens'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2323, 'SKR03', '2: Abgrenzungskonten', '2323', '2300', 'Verluste aus der Veräußerung von Anteilen an Kapitalgesellschaften (Finanzanlagevermögen) § 3 Nr. 40 EStG bzw. § 8b Abs. 3 KStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2325, 'SKR03', '2: Abgrenzungskonten', '2325', '2300', 'Verluste aus dem Abgang von Gegenständen des Umlaufvermögens (außer Vorräte)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2326, 'SKR03', '2: Abgrenzungskonten', '2326', '2300', 'Verluste aus dem Abgang von Gegenständen des Umlaufvermögens (außer Vorräte) § 3 Nr. 40 EStG bzw. § 8b Abs. 3 KStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2327, 'SKR03', '2: Abgrenzungskonten', '2327', '2300', 'Abgang von Wirtschaftsgütern des Umlaufvermögens nach § 4 Abs. 3 Satz 4 EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2328, 'SKR03', '2: Abgrenzungskonten', '2328', '2300', 'Abgang von Wirtschaftsgütern des Umlaufvermögens § 3 Nr. 40 EStG bzw. § 8b Abs. 3 KStG nach § 4 Abs. 3 Satz 4 EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2339, 'SKR03', '2: Abgrenzungskonten', '2339', '2300', 'Einstellungen in die steuerliche Rücklage nach § 4g EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2342, 'SKR03', '2: Abgrenzungskonten', '2342', '2300', 'Einstellungen in die steuerliche Rücklage nach § 6b Abs. 3 EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2343, 'SKR03', '2: Abgrenzungskonten', '2343', '2300', 'Einstellungen in die steuerliche Rücklage nach § 6b Abs. 10 EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2344, 'SKR03', '2: Abgrenzungskonten', '2344', '2300', 'Einstellungen in die Rücklage für Ersatzbeschaffung nach R 6.6 EStR'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2345, 'SKR03', '2: Abgrenzungskonten', '2345', '2300', 'Einstellungen in sonstige steuerliche Rücklagen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2347, 'SKR03', '2: Abgrenzungskonten', '2347', '2300', 'Aufwendungen aus dem Erwerb eigener Anteile'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2350, 'SKR03', '2: Abgrenzungskonten', '2350', '2300', 'Sonstige Grundstücksaufwendungen (neutral)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2375, 'SKR03', '2: Abgrenzungskonten', '2375', '2300', 'Grundsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2380, 'SKR03', '2: Abgrenzungskonten', '2380', '2300', 'Zuwendungen, Spenden, steuerlich nicht abziehbar'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2381, 'SKR03', '2: Abgrenzungskonten', '2381', '2300', 'Zuwendungen, Spenden für wissenschaftliche und kulturelle Zwecke'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2382, 'SKR03', '2: Abgrenzungskonten', '2382', '2300', 'Zuwendungen, Spenden für mildtätige Zwecke'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2383, 'SKR03', '2: Abgrenzungskonten', '2383', '2300', 'Zuwendungen, Spenden für kirchliche, religiöse und gemeinnützige Zwecke'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2384, 'SKR03', '2: Abgrenzungskonten', '2384', '2300', 'Zuwendungen, Spenden an politische Parteien'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2385, 'SKR03', '2: Abgrenzungskonten', '2385', '2300', 'Nicht abziehbare Hälfte der Aufsichtsratsvergütungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2386, 'SKR03', '2: Abgrenzungskonten', '2386', '2300', 'Abziehbare Aufsichtsratsvergütungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2387, 'SKR03', '2: Abgrenzungskonten', '2387', '2300', 'Zuwendungen, Spenden in das zu erhaltende Vermögen (Vermögensstock) einer Stiftung für gemeinnützige Zwecke'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2389, 'SKR03', '2: Abgrenzungskonten', '2389', '2300', 'Zuwendungen, Spenden in das zu erhaltende Vermögen (Vermögensstock) einer Stiftung für kirchliche, religiöse und gemeinnützige Zwecke'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2390, 'SKR03', '2: Abgrenzungskonten', '2390', '2300', 'Zuwendungen, Spenden an Stiftungen in das zu erhaltende Vermögen (Vermögensstock) für wissenschaftliche, mildtätige, kulturelle Zwecke'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2400, 'SKR03', '2: Abgrenzungskonten', '2400', '0', 'Forderungsverluste (übliche Höhe)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2401, 'SKR03', '2: Abgrenzungskonten', '2401', '2400', 'Forderungsverluste 7 % USt (übliche Höhe)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2402, 'SKR03', '2: Abgrenzungskonten', '2402', '2400', 'Forderungsverluste aus steuerfreien EU-Lieferungen (übliche Höhe)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2403, 'SKR03', '2: Abgrenzungskonten', '2403', '2400', 'Forderungsverluste aus im Inland steuerpflichtigen EU-Lieferungen 7 % USt (übliche Höhe)'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2404, 'SKR03', '2: Abgrenzungskonten', '2404', '2400', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2405, 'SKR03', '2: Abgrenzungskonten', '2405', '2400', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2406, 'SKR03', '2: Abgrenzungskonten', '2406', '2400', 'Forderungsverluste 19 % USt (übliche Höhe)'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2407, 'SKR03', '2: Abgrenzungskonten', '2407', '2400', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2408, 'SKR03', '2: Abgrenzungskonten', '2408', '2400', 'Forderungsverluste aus im Inland steuerpflichtigen EU-Lieferungen 19 % USt (übliche Höhe)'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2409, 'SKR03', '2: Abgrenzungskonten', '2409', '2400', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2430, 'SKR03', '2: Abgrenzungskonten', '2430', '2400', 'Forderungsverluste, unüblich hoch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2431, 'SKR03', '2: Abgrenzungskonten', '2431', '2400', 'Forderungsverluste 7 % USt (soweit unüblich hoch)'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2432, 'SKR03', '2: Abgrenzungskonten', '2432', '2400', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2433, 'SKR03', '2: Abgrenzungskonten', '2433', '2400', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2434, 'SKR03', '2: Abgrenzungskonten', '2434', '2400', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2435, 'SKR03', '2: Abgrenzungskonten', '2435', '2400', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2436, 'SKR03', '2: Abgrenzungskonten', '2436', '2400', 'Forderungsverluste 19 % USt (soweit unüblich hoch)'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2437, 'SKR03', '2: Abgrenzungskonten', '2437', '2400', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2438, 'SKR03', '2: Abgrenzungskonten', '2438', '2400', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2440, 'SKR03', '2: Abgrenzungskonten', '2440', '2400', 'Abschreibungen auf Forderungen gegenüber Kapitalgesellschaften, an denen eine Beteiligung besteht (soweit unüblich hoch), § 3c EStG bzw. § 8b Abs. 3 KStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2441, 'SKR03', '2: Abgrenzungskonten', '2441', '2400', 'Abschreibungen auf Forderungen gegenüber Gesellschaftern und nahe stehenden Personen (soweit unüblich hoch), § 8b Abs. 3 KStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2450, 'SKR03', '2: Abgrenzungskonten', '2450', '2400', 'Einstellungen in die Pauschalwertberichtigung auf Forderungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2451, 'SKR03', '2: Abgrenzungskonten', '2451', '2400', 'Einstellungen in die Einzelwertberichtigung auf Forderungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2480, 'SKR03', '2: Abgrenzungskonten', '2480', '2400', 'Einstellungen in die Rücklage für Anteile an einem herrschenden oder mehrheitlich beteiligten Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2481, 'SKR03', '2: Abgrenzungskonten', '2481', '2400', 'Einstellungen in gesamthänderisch gebundene Rücklagen (mit Aufteilung für Kapitalkontenentwicklung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2485, 'SKR03', '2: Abgrenzungskonten', '2485', '2400', 'Einstellungen in andere Ergebnisrücklagen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2488, 'SKR03', '2: Abgrenzungskonten', '2488', '2400', 'Änderung steuerlicher Ausgleichsposten (Körperschaften)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2489, 'SKR03', '2: Abgrenzungskonten', '2489', '2400', 'Änderung steuerlicher Ausgleichsposten (Personengesellschaften, Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2490, 'SKR03', '2: Abgrenzungskonten', '2490', '2400', 'Aufwendungen aus Verlustübernahme'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2491, 'SKR03', '2: Abgrenzungskonten', '2491', '2400', 'Abgeführte Gewinnanteile (Soll) / ausgeglichene Verlustanteile (Haben) bei atypisch stiller Beteiligung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2492, 'SKR03', '2: Abgrenzungskonten', '2492', '2400', 'Abgeführte Gewinne auf Grund einer Gewinngemeinschaft'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2493, 'SKR03', '2: Abgrenzungskonten', '2493', '2400', 'Abgeführte Gewinnanteile (Soll) / ausgeglichene Verlustanteile (Haben) bei typisch stiller Beteiligung § 8 GewStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2494, 'SKR03', '2: Abgrenzungskonten', '2494', '2400', 'Abgeführte Gewinne auf Grund eines Gewinn- oder Teilgewinnabführungsvertrags'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2495, 'SKR03', '2: Abgrenzungskonten', '2495', '2400', 'Einstellungen in die Kapitalrücklage nach den Vorschriften über die vereinfachte Kapitalherabsetzung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2496, 'SKR03', '2: Abgrenzungskonten', '2496', '2400', 'Einstellungen in die gesetzliche Rücklage'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2497, 'SKR03', '2: Abgrenzungskonten', '2497', '2400', 'Einstellungen in satzungsmäßige Rücklagen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2498, 'SKR03', '2: Abgrenzungskonten', '2498', '2400', 'Einstellungen in den Ausgleichsposten für aktivierte eigene Anteile'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2499, 'SKR03', '2: Abgrenzungskonten', '2499', '2400', 'Einstellungen in andere Gewinnrücklagen'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2500, 'SKR03', '2: Abgrenzungskonten', '2500', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2501, 'SKR03', '2: Abgrenzungskonten', '2501', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2504, 'SKR03', '2: Abgrenzungskonten', '2504', '0', 'Erträge durch Verschmelzung und Umwandlung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2508, 'SKR03', '2: Abgrenzungskonten', '2508', '0', 'Gewinn aus der Veräußerung oder der Aufgabe von Geschäftsaktivitäten nach Steuern'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2510, 'SKR03', '2: Abgrenzungskonten', '2510', '0', 'Sonstige betriebsfremde Erträge'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2520, 'SKR03', '2: Abgrenzungskonten', '2520', '0', 'Periodenfremde Erträge'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2590, 'SKR03', '2: Abgrenzungskonten', '2590', '0', 'Erträge aus der Anwendung von Übergangsvorschriften'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2594, 'SKR03', '2: Abgrenzungskonten', '2594', '0', 'Erträge aus der Anwendung von Übergangsvorschriften (latente Steuern)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2600, 'SKR03', '2: Abgrenzungskonten', '2600', '0', 'Erträge aus Beteiligungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2603, 'SKR03', '2: Abgrenzungskonten', '2603', '0', 'Erträge aus Beteiligungen an Personengesellschaften (verbundene Unternehmen), § 9 GewStG bzw. § 18 EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2613, 'SKR03', '2: Abgrenzungskonten', '2613', '0', 'Erträge aus typisch stillen Beteiligungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2614, 'SKR03', '2: Abgrenzungskonten', '2614', '0', 'Erträge aus atypisch stillen Beteiligungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2615, 'SKR03', '2: Abgrenzungskonten', '2615', '0', 'Erträge aus Anteilen an Kapitalgesellschaften (Beteiligung) § 3 Nr. 40 EStG bzw. § 8b Abs. 1 KStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2616, 'SKR03', '2: Abgrenzungskonten', '2616', '0', 'Erträge aus Anteilen an Kapitalgesellschaften (verbundene Unternehmen) § 3 Nr. 40 EStG bzw. § 8b Abs. 1 KStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2618, 'SKR03', '2: Abgrenzungskonten', '2618', '0', 'Gewinnanteile aus gewerblichen und selbständigen Mitunternehmerschaften, § 9 GewStG bzw. § 18 EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2619, 'SKR03', '2: Abgrenzungskonten', '2619', '0', 'Erträge aus Beteiligungen an verbundenen Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2620, 'SKR03', '2: Abgrenzungskonten', '2620', '0', 'Erträge aus anderen Wertpapieren und Ausleihungen des Finanzanlagevermögens'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2621, 'SKR03', '2: Abgrenzungskonten', '2621', '0', 'Erträge aus Ausleihungen des Finanzanlagevermögens'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2622, 'SKR03', '2: Abgrenzungskonten', '2622', '0', 'Erträge aus Ausleihungen des Finanzanlagevermögens an verbundenen Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2623, 'SKR03', '2: Abgrenzungskonten', '2623', '0', 'Erträge aus Anteilen an Personengesellschaften (Finanzanlagevermögen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2625, 'SKR03', '2: Abgrenzungskonten', '2625', '0', 'Erträge aus Anteilen an Kapitalgesellschaften (Finanzanlagevermögen) § 3 Nr. 40 EStG bzw. § 8b Abs. 1 und 4 KStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2626, 'SKR03', '2: Abgrenzungskonten', '2626', '0', 'Erträge aus Anteilen an Kapitalgesellschaften (verbundene Unternehmen) § 3 Nr. 40 EStG bzw. § 8b Abs. 1 KStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2640, 'SKR03', '2: Abgrenzungskonten', '2640', '0', 'Zins- und Dividendenerträge'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2641, 'SKR03', '2: Abgrenzungskonten', '2641', '0', 'Erhaltene Ausgleichszahlungen (als außenstehender Aktionär)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2646, 'SKR03', '2: Abgrenzungskonten', '2646', '0', 'Erträge aus Anteilen an Personengesellschaften (verbundene Unternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2647, 'SKR03', '2: Abgrenzungskonten', '2647', '0', 'Erträge aus anderen Wertpapieren des Finanzanlagevermögens an Kapitalgesellschaften (verbundene Unternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2648, 'SKR03', '2: Abgrenzungskonten', '2648', '0', 'Erträge aus anderen Wertpapieren des Finanzanlagevermögens an Personengesellschaften (verbundene Unternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2649, 'SKR03', '2: Abgrenzungskonten', '2649', '0', 'Erträge aus anderen Wertpapieren und Ausleihungen des Finanzanlagevermögens aus verbundenen Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2650, 'SKR03', '2: Abgrenzungskonten', '2650', '0', 'Sonstige Zinsen und ähnliche Erträge'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2653, 'SKR03', '2: Abgrenzungskonten', '2653', '2650', 'Zinserträge § 233a AO und § 4 Abs. 5b EStG, steuerfrei'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2654, 'SKR03', '2: Abgrenzungskonten', '2654', '2650', 'Erträge aus anderen Wertpapieren und Ausleihungen des Umlaufvermögens'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2655, 'SKR03', '2: Abgrenzungskonten', '2655', '2650', 'Erträge aus Anteilen an Kapitalgesellschaften (Umlaufvermögen) § 3 Nr. 40 EStG bzw. § 8b Abs. 1 und 4 KStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2656, 'SKR03', '2: Abgrenzungskonten', '2656', '2650', 'Erträge aus Anteilen an Kapitalgesellschaften (verbundene Unternehmen) § 3 Nr. 40 EStG bzw. § 8b Abs. 1 KStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2657, 'SKR03', '2: Abgrenzungskonten', '2657', '2650', 'Zinserträge § 233a AO, steuerpflichtig'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2658, 'SKR03', '2: Abgrenzungskonten', '2658', '2650', 'Zinserträge § 233a AO, steuerfrei (Anlage GK KSt)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2659, 'SKR03', '2: Abgrenzungskonten', '2659', '2650', 'Sonstige Zinsen und ähnliche Erträge aus verbundenen Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2660, 'SKR03', '2: Abgrenzungskonten', '2660', '2650', 'Erträge aus der Währungsumrechnung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2661, 'SKR03', '2: Abgrenzungskonten', '2661', '2650', 'Erträge aus der Währungsumrechnung (nicht § 256a HGB)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2666, 'SKR03', '2: Abgrenzungskonten', '2666', '2650', 'Erträge aus Bewertung Finanzmittelfonds'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2670, 'SKR03', '2: Abgrenzungskonten', '2670', '2650', 'Diskonterträge'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2679, 'SKR03', '2: Abgrenzungskonten', '2679', '2650', 'Diskonterträge aus verbundenen Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2680, 'SKR03', '2: Abgrenzungskonten', '2680', '2650', 'Zinsähnliche Erträge'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2682, 'SKR03', '2: Abgrenzungskonten', '2682', '2650', 'Steuerfreie Zinserträge aus der Abzinsung von Rückstellungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2683, 'SKR03', '2: Abgrenzungskonten', '2683', '2650', 'Zinserträge aus der Abzinsung von Verbindlichkeiten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2684, 'SKR03', '2: Abgrenzungskonten', '2684', '2650', 'Zinserträge aus der Abzinsung von Rückstellungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2685, 'SKR03', '2: Abgrenzungskonten', '2685', '2650', 'Zinserträge aus der Abzinsung von Pensionsrückstellungen und ähnlichen/vergleichbaren Verpflichtungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2686, 'SKR03', '2: Abgrenzungskonten', '2686', '2650', 'Zinserträge aus der Abzinsung von Pensionsrückstellungen und ähnlichen/vergleichbaren Verpflichtungen zur Verrechnung nach § 246 Abs. 2 HGB'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2687, 'SKR03', '2: Abgrenzungskonten', '2687', '2650', 'Erträge aus Vermögensgegenständen zur Verrechnung nach § 246 Abs. 2 HGB'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2688, 'SKR03', '2: Abgrenzungskonten', '2688', '2650', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2689, 'SKR03', '2: Abgrenzungskonten', '2689', '2650', 'Zinsähnliche Erträge aus verbundenen Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2700, 'SKR03', '2: Abgrenzungskonten', '2700', '0', 'Andere betriebs- und/oder periodenfremde (neutrale) sonstige Erträge'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2705, 'SKR03', '2: Abgrenzungskonten', '2705', '2700', 'Sonstige betriebliche und regelmäßige Erträge (neutral)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2707, 'SKR03', '2: Abgrenzungskonten', '2707', '2700', 'Sonstige Erträge betriebsfremd und regelmäßig'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2709, 'SKR03', '2: Abgrenzungskonten', '2709', '2700', 'Sonstige Erträge unregelmäßig'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2710, 'SKR03', '2: Abgrenzungskonten', '2710', '2700', 'Erträge aus Zuschreibungen des Sachanlagevermögens'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2711, 'SKR03', '2: Abgrenzungskonten', '2711', '2700', 'Erträge aus Zuschreibungen des immateriellen Anlagevermögens'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2712, 'SKR03', '2: Abgrenzungskonten', '2712', '2700', 'Erträge aus Zuschreibungen des Finanzanlagevermögens'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2713, 'SKR03', '2: Abgrenzungskonten', '2713', '2700', 'Erträge aus Zuschreibungen des Finanzanlagevermögens § 3 Nr. 40 EStG bzw. § 8b Abs. 3 Satz 8 KStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2714, 'SKR03', '2: Abgrenzungskonten', '2714', '2700', 'Erträge aus Zuschreibungen § 3 Nr. 40 EStG bzw. § 8b Abs. 2 KStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2715, 'SKR03', '2: Abgrenzungskonten', '2715', '2700', 'Erträge aus Zuschreibungen des Umlaufvermögens (außer Vorräte)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2716, 'SKR03', '2: Abgrenzungskonten', '2716', '2700', 'Erträge aus Zuschreibungen des Umlaufvermögens § 3 Nr. 40 EStG bzw. § 8b Abs. 3 Satz 8 KStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2720, 'SKR03', '2: Abgrenzungskonten', '2720', '2700', 'Erträge aus dem Abgang von Gegenständen des Anlagevermögens'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2723, 'SKR03', '2: Abgrenzungskonten', '2723', '2700', 'Erträge aus der Veräußerung von Anteilen an Kapitalgesellschaften (Finanzanlagevermögen) § 3 Nr. 40 EStG bzw. § 8b Abs. 2 KStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2725, 'SKR03', '2: Abgrenzungskonten', '2725', '2700', 'Erträge aus dem Abgang von Gegenständen des Umlaufvermögens (außer Vorräte)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2726, 'SKR03', '2: Abgrenzungskonten', '2726', '2700', 'Erträge aus dem Abgang von Gegenständen des Umlaufvermögens (außer Vorräte) § 3 Nr. 40 EStG bzw. § 8b Abs. 2 KStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2727, 'SKR03', '2: Abgrenzungskonten', '2727', '2700', 'Erträge aus der Auflösung einer steuerlichen Rücklage nach § 6b Abs. 3 EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2728, 'SKR03', '2: Abgrenzungskonten', '2728', '2700', 'Erträge aus der Auflösung einer steuerlichen Rücklage nach § 6b Abs. 10 EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2729, 'SKR03', '2: Abgrenzungskonten', '2729', '2700', 'Erträge aus der Auflösung der Rücklage für Ersatzbeschaffung, R 6.6 EStR'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2730, 'SKR03', '2: Abgrenzungskonten', '2730', '2700', 'Erträge aus der Herabsetzung der Pauschalwertberichtigung auf Forderungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2731, 'SKR03', '2: Abgrenzungskonten', '2731', '2700', 'Erträge aus der Herabsetzung der Einzelwertberichtigung auf Forderungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2732, 'SKR03', '2: Abgrenzungskonten', '2732', '2700', 'Erträge aus abgeschriebenen Forderungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2735, 'SKR03', '2: Abgrenzungskonten', '2735', '2700', 'Erträge aus der Auflösung von Rückstellungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2736, 'SKR03', '2: Abgrenzungskonten', '2736', '2700', 'Erträge aus der Herabsetzung von Verbindlichkeiten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2737, 'SKR03', '2: Abgrenzungskonten', '2737', '2700', 'Erträge aus der Auflösung einer steuerlichen Rücklage nach § 4g EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2740, 'SKR03', '2: Abgrenzungskonten', '2740', '2700', 'Erträge aus der Auflösung sonstiger steuerlicher Rücklagen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2741, 'SKR03', '2: Abgrenzungskonten', '2741', '2700', 'Erträge aus der Auflösung steuerrechtlicher Sonderabschreibungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2742, 'SKR03', '2: Abgrenzungskonten', '2742', '2700', 'Versicherungsentschädigungen und Schadenersatzleistungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2743, 'SKR03', '2: Abgrenzungskonten', '2743', '2700', 'Investitionszuschüsse (steuerpflichtig)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2744, 'SKR03', '2: Abgrenzungskonten', '2744', '2700', 'Investitionszulagen (steuerfrei)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2745, 'SKR03', '2: Abgrenzungskonten', '2745', '2700', 'Erträge aus Kapitalherabsetzung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2746, 'SKR03', '2: Abgrenzungskonten', '2746', '2700', 'Steuerfreie Erträge aus der Auflösung von steuerlichen Rücklagen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2747, 'SKR03', '2: Abgrenzungskonten', '2747', '2700', 'Sonstige steuerfreie Betriebseinnahmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2749, 'SKR03', '2: Abgrenzungskonten', '2749', '2700', 'Erstattungen Aufwendungsausgleichsgesetz'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2750, 'SKR03', '2: Abgrenzungskonten', '2750', '2700', 'Grundstückserträge'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2751, 'SKR03', '2: Abgrenzungskonten', '2751', '2700', 'Erlöse aus Vermietung und Verpachtung, umsatzsteuerfrei § 4 Nr. 12 UStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2752, 'SKR03', '2: Abgrenzungskonten', '2752', '2700', 'Erlöse aus Vermietung und Verpachtung 19 % USt'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2753, 'SKR03', '2: Abgrenzungskonten', '2753', '2700', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2754, 'SKR03', '2: Abgrenzungskonten', '2754', '2700', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2760, 'SKR03', '2: Abgrenzungskonten', '2760', '2700', 'Erträge aus der Aktivierung unentgeltlich erworbener Vermögensgegenstände'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2762, 'SKR03', '2: Abgrenzungskonten', '2762', '2700', 'Kostenerstattungen, Rückvergütungen und Gutschriften für frühere Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2764, 'SKR03', '2: Abgrenzungskonten', '2764', '2700', 'Erträge aus Verwaltungskostenumlage'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2790, 'SKR03', '2: Abgrenzungskonten', '2790', '2700', 'Erträge aus Verlustübernahme'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2792, 'SKR03', '2: Abgrenzungskonten', '2792', '2700', 'Erhaltene Gewinne auf Grund einer Gewinngemeinschaft'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2794, 'SKR03', '2: Abgrenzungskonten', '2794', '2700', 'Erhaltene Gewinne auf Grund eines Gewinn- oder Teilgewinnabführungsvertrags'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2795, 'SKR03', '2: Abgrenzungskonten', '2795', '2700', 'Entnahmen aus der Kapitalrücklage'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2796, 'SKR03', '2: Abgrenzungskonten', '2796', '2700', 'Entnahmen aus der gesetzlichen Rücklage'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2797, 'SKR03', '2: Abgrenzungskonten', '2797', '2700', 'Entnahmen aus satzungsmäßigen Rücklagen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2798, 'SKR03', '2: Abgrenzungskonten', '2798', '2700', 'Entnahmen aus dem Ausgleichsposten für aktivierte eigene Anteile'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2799, 'SKR03', '2: Abgrenzungskonten', '2799', '2700', 'Entnahmen aus anderen Gewinnrücklagen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2840, 'SKR03', '2: Abgrenzungskonten', '2840', '2700', 'Entnahmen aus der Rücklage für Anteile an einem herrschenden oder mehrheitlich beteiligten Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2841, 'SKR03', '2: Abgrenzungskonten', '2841', '2700', 'Entnahmen aus gesamthänderisch gebundenen Rücklagen (mit Aufteilung für Kapitalkontenentwicklung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2850, 'SKR03', '2: Abgrenzungskonten', '2850', '2700', 'Entnahmen aus anderen Ergebnisrücklagen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2860, 'SKR03', '2: Abgrenzungskonten', '2860', '0', 'Gewinnvortrag nach Verwendung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2865, 'SKR03', '2: Abgrenzungskonten', '2865', '2860', 'Gewinnvortrag nach Verwendung (mit Aufteilung für Kapitalkontenentwicklung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2867, 'SKR03', '2: Abgrenzungskonten', '2867', '2860', 'Verlustvortrag nach Verwendung (mit Aufteilung für Kapitalkontenentwicklung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2868, 'SKR03', '2: Abgrenzungskonten', '2868', '0', 'Verlustvortrag nach Verwendung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2870, 'SKR03', '2: Abgrenzungskonten', '2870', '2868', 'Vorabausschüttung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2890, 'SKR03', '2: Abgrenzungskonten', '2890', '0', 'Verrechneter kalkulatorischer Unternehmerlohn'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2891, 'SKR03', '2: Abgrenzungskonten', '2891', '0', 'Verrechnete kalkulatorische Miete und Pacht'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2892, 'SKR03', '2: Abgrenzungskonten', '2892', '0', 'Verrechnete kalkulatorische Zinsen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2893, 'SKR03', '2: Abgrenzungskonten', '2893', '0', 'Verrechnete kalkulatorische Abschreibungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2894, 'SKR03', '2: Abgrenzungskonten', '2894', '0', 'Verrechnete kalkulatorische Wagnisse'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2895, 'SKR03', '2: Abgrenzungskonten', '2895', '0', 'Verrechneter kalkulatorischer Lohn für unentgeltliche Mitarbeiter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2900, 'SKR03', '2: Abgrenzungskonten', '2900', '0', ''); +---- 3: Wareneingangs- und Bestandskonten +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3000, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3000', '0', 'Roh-, Hilfs- und Betriebsstoffe'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3010, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3010', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3011, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3011', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3012, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3012', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3013, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3013', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3014, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3014', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3015, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3015', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3016, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3016', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3017, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3017', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3018, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3018', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3019, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3019', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe 7 % Vorsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3020, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3020', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3021, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3021', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3022, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3022', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3023, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3023', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3024, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3024', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3025, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3025', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3026, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3026', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3027, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3027', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3028, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3028', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3029, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3029', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe ohne Vorsteuerabzug'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3030, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3030', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe 19 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3031, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3031', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe 19 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3032, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3032', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe 19 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3033, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3033', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe 19 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3034, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3034', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe 19 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3035, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3035', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe 19 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3036, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3036', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe 19 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3037, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3037', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe 19 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3038, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3038', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe 19 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3039, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3039', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe 19 % Vorsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3040, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3040', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3041, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3041', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3042, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3042', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3043, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3043', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3044, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3044', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3045, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3045', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3046, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3046', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3047, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3047', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3048, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3048', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3049, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3049', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3050, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3050', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3051, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3051', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3052, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3052', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3053, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3053', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3054, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3054', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3055, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3055', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3056, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3056', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3057, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3057', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3058, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3058', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3059, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3059', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3060, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3060', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe, innergemeinschaftlicher Erwerb 7 % Vorsteuer und 7 % Umsatzsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3061, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3061', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3062, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3062', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe, innergemeinschaftlicher Erwerb 19 % Vorsteuer und 19 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3063, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3063', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe, innergemeinschaftlicher Erwerb 19 % Vorsteuer und 19 % Umsatzsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3064, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3064', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3065, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3065', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3066, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3066', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe, innergemeinschaftlicher Erwerb ohne Vorsteuer und 7 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3067, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3067', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe, innergemeinschaftlicher Erwerb ohne Vorsteuer und 19 % Umsatzsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3068, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3068', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3069, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3069', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3070, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3070', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe 5,5 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3071, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3071', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe 9,5 % / 9,0 % Vorsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3072, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3072', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3073, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3073', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3074, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3074', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3075, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3075', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe aus einem USt-Lager § 13a UStG 7 % Vorsteuer und 7 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3076, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3076', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe aus einem USt-Lager § 13a UStG 19 % Vorsteuer und 19 % Umsatzsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3077, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3077', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3078, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3078', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3079, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3079', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3080, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3080', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3081, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3081', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3082, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3082', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3083, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3083', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3084, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3084', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3085, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3085', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3086, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3086', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3087, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3087', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3088, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3088', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3089, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3089', '0', 'Erwerb Roh-, Hilfs- und Betriebsstoffe als letzter Abnehmer innerhalb Dreiecksgeschäft 19 % Vorsteuer und 19 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3090, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3090', '0', 'Energiestoffe (Fertigung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3091, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3091', '0', 'Energiestoffe (Fertigung) 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3092, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3092', '0', 'Energiestoffe (Fertigung) 19 % Vorsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3093, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3093', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3094, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3094', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3095, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3095', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3096, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3096', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3097, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3097', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3098, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3098', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3100, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3100', '0', 'Fremdleistungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3106, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3106', '3100', 'Fremdleistungen 19 % Vorsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3107, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3107', '3100', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3108, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3108', '3100', 'Fremdleistungen 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3109, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3109', '3100', 'Fremdleistungen ohne Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3110, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3110', '0', 'Bauleistungen eines im Inland ansässigen Unternehmers 7 % Vorsteuer und 7 % Umsatzsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3111, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3111', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3112, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3112', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3113, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3113', '0', 'Sonstige Leistungen eines im anderen EU-Land ansässigen Unternehmers 7 % Vorsteuer und 7 % Umsatzsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3114, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3114', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3115, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3115', '0', 'Leistungen eines im Ausland ansässigen Unternehmers 7 % Vorsteuer und 7 % Umsatzsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3116, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3116', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3117, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3117', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3118, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3118', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3119, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3119', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3120, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3120', '0', 'Bauleistungen eines im Inland ansässigen Unternehmers 19 % Vorsteuer und 19 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3121, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3121', '0', 'Bauleistungen eines im Inland ansässigen Unternehmers 19 % Vorsteuer und 19 % Umsatzsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3122, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3122', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3123, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3123', '0', 'Sonstige Leistungen eines im anderen EU-Land ansässigen Unternehmers 19 % Vorsteuer und 19 % Umsatzsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3124, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3124', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3125, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3125', '0', 'Leistungen eines im Ausland ansässigen Unternehmers 19 % Vorsteuer und 19 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3126, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3126', '0', 'Leistungen eines im Ausland ansässigen Unternehmers 19 % Vorsteuer und 19 % Umsatzsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3127, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3127', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3128, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3128', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3129, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3129', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3130, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3130', '0', 'Bauleistungen eines im Inland ansässigen Unternehmers ohne Vorsteuer und 7 % Umsatzsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3131, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3131', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3132, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3132', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3133, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3133', '0', 'Sonstige Leistungen eines im anderen EU-Land ansässigen Unternehmers ohne Vorsteuer und 7 % Umsatzsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3134, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3134', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3135, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3135', '0', 'Leistungen eines im Ausland ansässigen Unternehmers ohne Vorsteuer und 7 % Umsatzsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3136, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3136', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3137, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3137', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3138, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3138', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3139, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3139', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3140, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3140', '0', 'Bauleistungen eines im Inland ansässigen Unternehmers ohne Vorsteuer und 19 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3141, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3141', '0', 'Bauleistungen eines im Inland ansässigen Unternehmers ohne Vorsteuer und 19 % Umsatzsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3142, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3142', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3143, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3143', '0', 'Sonstige Leistungen eines im anderen EU-Land ansässigen Unternehmers ohne Vorsteuer und 19 % Umsatzsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3144, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3144', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3145, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3145', '0', 'Leistungen eines im Ausland ansässigen Unternehmers ohne Vorsteuer und 19 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3146, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3146', '0', 'Leistungen eines im Ausland ansässigen Unternehmers ohne Vorsteuer und 19 % Umsatzsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3147, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3147', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3148, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3148', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3149, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3149', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3150, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3150', '0', 'Erhaltene Skonti aus Leistungen, für die als Leistungsempfänger die Steuer nach § 13b UStG geschuldet wird'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3151, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3151', '0', 'Erhaltene Skonti aus Leistungen, für die als Leistungsempfänger die Steuer nach § 13b UStG geschuldet wird 19 % Vorsteuer und 19 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3152, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3152', '0', 'Erhaltene Skonti aus Leistungen, für die als Leistungsempfänger die Steuer nach § 13b UStG geschuldet wird 16 % Vorsteuer und 16 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3153, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3153', '0', 'Erhaltene Skonti aus Leistungen, für die als Leistungsempfänger die Steuer nach § 13b UStG geschuldet wird ohne Vorsteuer aber mit Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3154, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3154', '0', 'Erhaltene Skonti aus Leistungen, für die als Leistungsempfänger die Steuer nach § 13b UStG geschuldet wird ohne Vorsteuer, mit 19 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3155, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3155', '0', 'Erhaltene Skonti aus Leistungen, für die als Leistungsempfänger die Steuer nach § 13b UStG geschuldet wird ohne Vorsteuer, mit 16 % Umsatzsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3156, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3156', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3157, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3157', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3158, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3158', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3159, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3159', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3160, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3160', '0', 'Leistungen nach § 13b UStG mit Vorsteuerabzug'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3165, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3165', '0', 'Leistungen nach § 13b UStG ohne Vorsteuerabzug'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3170, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3170', '0', 'Fremdleistungen (Miet- und Pachtzinsen bewegliche Wirtschaftsgüter)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3175, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3175', '0', 'Fremdleistungen (Miet- und Pachtzinsen unbewegliche Wirtschaftsgüter)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3180, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3180', '0', 'Fremdleistungen (Entgelte für Rechte und Lizenzen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3185, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3185', '0', 'Fremdleistungen (Vergütungen für die Überlassung von Wirtschaftsgütern - mit Sonderbetriebseinnahme korrespondierend)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3200, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3200', '0', 'Wareneingang'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3300, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3300', '3200', 'Wareneingang 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3301, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3301', '3200', 'Wareneingang 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3302, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3302', '3200', 'Wareneingang 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3303, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3303', '3200', 'Wareneingang 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3304, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3304', '3200', 'Wareneingang 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3305, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3305', '3200', 'Wareneingang 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3306, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3306', '3200', 'Wareneingang 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3307, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3307', '3200', 'Wareneingang 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3308, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3308', '3200', 'Wareneingang 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3309, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3309', '3200', 'Wareneingang 7 % Vorsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3310, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3310', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3311, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3311', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3312, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3312', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3313, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3313', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3314, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3314', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3315, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3315', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3316, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3316', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3317, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3317', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3318, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3318', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3319, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3319', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3320, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3320', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3321, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3321', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3322, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3322', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3323, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3323', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3324, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3324', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3325, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3325', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3326, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3326', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3327, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3327', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3328, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3328', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3329, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3329', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3330, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3330', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3331, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3331', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3332, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3332', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3333, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3333', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3334, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3334', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3335, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3335', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3336, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3336', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3337, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3337', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3338, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3338', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3339, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3339', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3340, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3340', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3341, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3341', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3342, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3342', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3343, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3343', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3344, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3344', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3345, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3345', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3346, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3346', '3200', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3347, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3347', '3200', 'Wareneingang 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3348, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3348', '3200', 'Wareneingang 5 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3349, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3349', '3200', 'Wareneingang ohne Vorsteuerabzug'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3400, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3400', '3200', 'Wareneingang 19 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3401, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3401', '3200', 'Wareneingang 19 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3402, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3402', '3200', 'Wareneingang 19 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3403, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3403', '3200', 'Wareneingang 19 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3404, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3404', '3200', 'Wareneingang 19 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3405, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3405', '3200', 'Wareneingang 19 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3406, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3406', '3200', 'Wareneingang 19 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3407, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3407', '3200', 'Wareneingang 19 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3408, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3408', '3200', 'Wareneingang 19 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3409, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3409', '3200', 'Wareneingang 19 % Vorsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3410, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3410', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3411, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3411', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3412, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3412', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3413, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3413', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3414, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3414', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3415, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3415', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3416, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3416', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3417, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3417', '3200', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3418, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3418', '3200', 'Wareneingang 19 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3419, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3419', '3200', 'Wareneingang 16 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3420, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3420', '3200', 'Innergemeinschaftlicher Erwerb 7 % Vorsteuer und 7 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3421, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3421', '3200', 'Innergemeinschaftlicher Erwerb 7 % Vorsteuer und 7 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3422, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3422', '3200', 'Innergemeinschaftlicher Erwerb 7 % Vorsteuer und 7 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3423, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3423', '3200', 'Innergemeinschaftlicher Erwerb 7 % Vorsteuer und 7 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3424, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3424', '3200', 'Innergemeinschaftlicher Erwerb 7 % Vorsteuer und 7 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3425, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3425', '3200', 'Innergemeinschaftlicher Erwerb 19 % Vorsteuer und 19 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3426, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3426', '3200', 'Innergemeinschaftlicher Erwerb 19 % Vorsteuer und 19 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3427, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3427', '3200', 'Innergemeinschaftlicher Erwerb 19 % Vorsteuer und 19 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3428, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3428', '3200', 'Innergemeinschaftlicher Erwerb 19 % Vorsteuer und 19 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3429, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3429', '3200', 'Innergemeinschaftlicher Erwerb 19 % Vorsteuer und 19 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3430, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3430', '3200', 'Innergemeinschaftlicher Erwerb ohne Vorsteuer und 7 % Umsatzsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3431, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3431', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3432, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3432', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3433, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3433', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3434, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3434', '3200', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3435, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3435', '3200', 'Innergemeinschaftlicher Erwerb ohne Vorsteuer und 19 % Umsatzsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3436, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3436', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3437, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3437', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3438, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3438', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3439, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3439', '3200', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3440, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3440', '3200', 'Innergemeinschaftlicher Erwerb von Neufahrzeugen von Lieferanten ohne USt-Id-Nr. 19 % Vorsteuer und 19 % Umsatzsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3441, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3441', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3442, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3442', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3443, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3443', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3444, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3444', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3445, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3445', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3446, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3446', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3447, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3447', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3448, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3448', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3449, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3449', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3500, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3500', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3501, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3501', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3502, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3502', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3503, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3503', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3504, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3504', '3200', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3505, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3505', '3200', 'Wareneingang 5,5 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3506, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3506', '3200', 'Wareneingang 5,5 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3507, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3507', '3200', 'Wareneingang 5,5 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3508, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3508', '3200', 'Wareneingang 5,5 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3509, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3509', '3200', 'Wareneingang 5,5 % Vorsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3510, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3510', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3511, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3511', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3512, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3512', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3513, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3513', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3514, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3514', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3515, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3515', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3516, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3516', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3517, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3517', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3518, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3518', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3519, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3519', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3520, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3520', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3521, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3521', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3522, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3522', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3523, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3523', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3524, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3524', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3525, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3525', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3526, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3526', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3527, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3527', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3528, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3528', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3529, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3529', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3530, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3530', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3531, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3531', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3532, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3532', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3533, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3533', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3534, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3534', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3535, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3535', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3536, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3536', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3537, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3537', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3538, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3538', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3539, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3539', '3200', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3540, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3540', '3200', 'Wareneingang zum Durchschnittssatz nach § 24 UStG 9,5 % / 9,0 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3541, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3541', '3200', 'Wareneingang zum Durchschnittssatz nach § 24 UStG 9,5 % / 9,0 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3542, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3542', '3200', 'Wareneingang zum Durchschnittssatz nach § 24 UStG 9,5 % / 9,0 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3543, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3543', '3200', 'Wareneingang zum Durchschnittssatz nach § 24 UStG 9,5 % / 9,0 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3544, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3544', '3200', 'Wareneingang zum Durchschnittssatz nach § 24 UStG 9,5 % / 9,0 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3545, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3545', '3200', 'Wareneingang zum Durchschnittssatz nach § 24 UStG 9,5 % / 9,0 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3546, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3546', '3200', 'Wareneingang zum Durchschnittssatz nach § 24 UStG 9,5 % / 9,0 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3547, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3547', '3200', 'Wareneingang zum Durchschnittssatz nach § 24 UStG 9,5 % / 9,0 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3548, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3548', '3200', 'Wareneingang zum Durchschnittssatz nach § 24 UStG 9,5 % / 9,0 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3549, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3549', '3200', 'Wareneingang zum Durchschnittssatz nach § 24 UStG 9,5 % / 9,0 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3550, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3550', '3200', 'Steuerfreier innergemeinschaftlicher Erwerb'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3551, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3551', '3200', 'Wareneingang im Drittland steuerbar'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3552, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3552', '3200', 'Erwerb 1. Abnehmer innerhalb eines Dreiecksgeschäftes'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3553, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3553', '3200', 'Erwerb Waren als letzter Abnehmer innerhalb Dreiecksgeschäft 19 % Vorsteuer und 19 % Umsatzsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3554, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3554', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3555, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3555', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3556, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3556', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3557, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3557', '3200', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3558, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3558', '3200', 'Wareneingang im anderen EU-Land steuerbar'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3559, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3559', '3200', 'Steuerfreie Einfuhren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3560, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3560', '3200', 'Waren aus einem Umsatzsteuerlager, § 13a UStG 7 % Vorsteuer und 7 % Umsatzsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3561, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3561', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3562, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3562', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3563, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3563', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3564, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3564', '3200', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3565, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3565', '3200', 'Waren aus einem Umsatzsteuerlager, § 13a UStG 19 % Vorsteuer und 19 % Umsatzsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3566, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3566', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3567, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3567', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3568, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3568', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3569, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3569', '3200', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3600, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3600', '3200', 'Nicht abziehbare Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3601, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3601', '3200', 'Nicht abziehbare Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3602, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3602', '3200', 'Nicht abziehbare Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3603, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3603', '3200', 'Nicht abziehbare Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3604, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3604', '3200', 'Nicht abziehbare Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3605, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3605', '3200', 'Nicht abziehbare Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3606, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3606', '3200', 'Nicht abziehbare Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3607, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3607', '3200', 'Nicht abziehbare Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3608, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3608', '3200', 'Nicht abziehbare Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3609, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3609', '3200', 'Nicht abziehbare Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3610, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3610', '3200', 'Nicht abziehbare Vorsteuer 7 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3611, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3611', '3200', 'Nicht abziehbare Vorsteuer 7 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3612, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3612', '3200', 'Nicht abziehbare Vorsteuer 7 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3613, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3613', '3200', 'Nicht abziehbare Vorsteuer 7 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3614, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3614', '3200', 'Nicht abziehbare Vorsteuer 7 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3615, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3615', '3200', 'Nicht abziehbare Vorsteuer 7 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3616, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3616', '3200', 'Nicht abziehbare Vorsteuer 7 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3617, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3617', '3200', 'Nicht abziehbare Vorsteuer 7 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3618, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3618', '3200', 'Nicht abziehbare Vorsteuer 7 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3619, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3619', '3200', 'Nicht abziehbare Vorsteuer 7 %'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3620, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3620', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3621, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3621', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3622, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3622', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3623, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3623', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3624, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3624', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3625, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3625', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3626, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3626', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3627, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3627', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3628, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3628', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3629, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3629', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3650, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3650', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3651, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3651', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3652, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3652', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3653, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3653', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3654, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3654', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3655, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3655', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3656, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3656', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3657, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3657', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3658, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3658', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3659, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3659', '3200', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3660, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3660', '3200', 'Nicht abziehbare Vorsteuer 19 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3661, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3661', '3200', 'Nicht abziehbare Vorsteuer 19 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3662, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3662', '3200', 'Nicht abziehbare Vorsteuer 19 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3663, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3663', '3200', 'Nicht abziehbare Vorsteuer 19 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3664, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3664', '3200', 'Nicht abziehbare Vorsteuer 19 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3665, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3665', '3200', 'Nicht abziehbare Vorsteuer 19 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3666, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3666', '3200', 'Nicht abziehbare Vorsteuer 19 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3667, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3667', '3200', 'Nicht abziehbare Vorsteuer 19 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3668, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3668', '3200', 'Nicht abziehbare Vorsteuer 19 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3669, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3669', '3200', 'Nicht abziehbare Vorsteuer 19 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3700, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3700', '3200', 'Nachlässe'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3701, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3701', '3200', 'Nachlässe aus Einkauf Roh-, Hilfsund Betriebsstoffe'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3710, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3710', '3200', 'Nachlässe 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3711, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3711', '3200', 'Nachlässe 7 % Vorsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3712, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3712', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3713, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3713', '3200', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3714, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3714', '3200', 'Nachlässe aus Einkauf Roh-, Hilfsund Betriebsstoffe 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3715, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3715', '3200', 'Nachlässe aus Einkauf Roh-, Hilfsund Betriebsstoffe 19 % Vorsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3716, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3716', '3200', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3717, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3717', '3200', 'Nachlässe aus Einkauf Roh-, Hilfsund Betriebsstoffe, innergemeinschaftlicher Erwerb 7 % Vorsteuer und 7 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3718, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3718', '3200', 'Nachlässe aus Einkauf Roh-, Hilfsund Betriebsstoffe, innergemeinschaftlicher Erwerb 19 % Vorsteuer und 19 % Umsatzsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3719, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3719', '3200', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3720, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3720', '3200', 'Nachlässe 19 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3721, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3721', '3200', 'Nachlässe 19 % Vorsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3722, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3722', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3723, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3723', '3200', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3724, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3724', '3200', 'Nachlässe aus innergemeinschaftlichem Erwerb 7 % Vorsteuer und 7 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3725, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3725', '3200', 'Nachlässe aus innergemeinschaftlichem Erwerb 19 % Vorsteuer und 19 % Umsatzsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3726, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3726', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3727, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3727', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3728, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3728', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3729, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3729', '3200', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3730, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3730', '3200', 'Erhaltene Skonti'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3731, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3731', '3200', 'Erhaltene Skonti 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3732, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3732', '3200', 'Erhaltene Skonti 5 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3733, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3733', '3200', 'Erhaltene Skonti aus Einkauf Roh-, Hilfs- und Betriebsstoffe'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3734, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3734', '3200', 'Erhaltene Skonti aus Einkauf Roh-, Hilfs- und Betriebsstoffe 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3735, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3735', '3200', 'Erhaltene Skonti aus Einkauf Roh-, Hilfs- und Betriebsstoffe 5 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3736, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3736', '3200', 'Erhaltene Skonti 19 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3737, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3737', '3200', 'Erhaltene Skonti 16 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3738, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3738', '3200', 'Erhaltene Skonti aus Einkauf Roh-, Hilfs- und Betriebsstoffe 19 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3739, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3739', '3200', 'Erhaltene Skonti aus Einkauf Roh-, Hilfs- und Betriebsstoffe 16 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3740, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3740', '3200', 'Erhaltene Skonti aus Einkauf Roh-, Hilfs- und Betriebsstoffe aus steuerpflichtigem innergemeinschaftlichem Erwerb 16 % Vorsteuer und 16 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3741, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3741', '3200', 'Erhaltene Skonti aus Einkauf Roh-, Hilfs- und Betriebsstoffe aus steuerpflichtigem innergemeinschaftlichem Erwerb 19 % Vorsteuer und 19 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3742, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3742', '3200', 'Erhaltene Skonti aus Einkauf Roh-, Hilfs- und Betriebsstoffe aus steuerpflichtigem innergemeinschaftlichem Erwerb 5 % Vorsteuer und 5 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3743, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3743', '3200', 'Erhaltene Skonti aus Einkauf Roh-, Hilfs- und Betriebsstoffe aus steuerpflichtigem innergemeinschaftlichem Erwerb 7 % Vorsteuer und 7 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3744, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3744', '3200', 'Erhaltene Skonti aus Einkauf Roh-, Hilfs- und Betriebsstoffe aus steuerpflichtigem innergemeinschaftlichem Erwerb'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3745, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3745', '3200', 'Erhaltene Skonti aus steuerpflichtigem innergemeinschaftlichem Erwerb'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3746, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3746', '3200', 'Erhaltene Skonti aus steuerpflichtigem innergemeinschaftlichem Erwerb 7 % Vorsteuer und 7 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3747, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3747', '3200', 'Erhaltene Skonti aus steuerpflichtigem innergemeinschaftlichem Erwerb 5 % Vorsteuer und 5 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3748, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3748', '3200', 'Erhaltene Skonti aus steuerpflichtigem innergemeinschaftlichem Erwerb 19 % Vorsteuer und 19 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3749, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3749', '3200', 'Erhaltene Skonti aus steuerpflichtigem innergemeinschaftlichem Erwerb 16 % Vorsteuer und 16 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3750, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3750', '3200', 'Erhaltene Boni 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3751, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3751', '3200', 'Erhaltene Boni 7 % Vorsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3752, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3752', '3200', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3753, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3753', '3200', 'Erhaltene Boni aus Einkauf Roh-, Hilfs- und Betriebsstoffe'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3754, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3754', '3200', 'Erhaltene Boni aus Einkauf Roh-, Hilfs- und Betriebsstoffe 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3755, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3755', '3200', 'Erhaltene Boni aus Einkauf Roh-, Hilfs- und Betriebsstoffe 19 % Vorsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3756, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3756', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3757, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3757', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3758, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3758', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3759, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3759', '3200', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3760, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3760', '3200', 'Erhaltene Boni 19 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3761, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3761', '3200', 'Erhaltene Boni 19 % Vorsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3762, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3762', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3763, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3763', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3764, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3764', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3765, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3765', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3766, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3766', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3767, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3767', '3200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3768, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3768', '3200', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3769, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3769', '3200', 'Erhaltene Boni'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3770, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3770', '3200', 'Erhaltene Rabatte'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3780, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3780', '3200', 'Erhaltene Rabatte 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3781, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3781', '3200', 'Erhaltene Rabatte 7 % Vorsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3782, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3782', '3200', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3783, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3783', '3200', 'Erhaltene Rabatte aus Einkauf Roh-, Hilfs- und Betriebsstoffe'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3784, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3784', '3200', 'Erhaltene Rabatte aus Einkauf Roh-, Hilfs- und Betriebsstoffe 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3785, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3785', '3200', 'Erhaltene Rabatte aus Einkauf Roh-, Hilfs- und Betriebsstoffe 19 % Vorsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3786, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3786', '3200', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3787, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3787', '3200', 'Erhaltene Skonti aus Einkauf Roh-, Hilfs- und Betriebsstoffe 9,0 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3788, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3788', '3200', 'Erhaltene Skonti aus Einkauf Roh-, Hilfs- und Betriebsstoffe 10,7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3789, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3789', '3200', 'Erhaltene Skonti aus Einkauf Roh-, Hilfs- und Betriebsstoffe 9,5 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3790, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3790', '3200', 'Erhaltene Rabatte 19 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3791, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3791', '3200', 'Erhaltene Rabatte 19 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3792, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3792', '3200', 'Erhaltene Skonti aus Erwerb Roh-, Hilfs- und Betriebsstoffe als letzter Abnehmer innerhalb Dreiecksgeschäft 19 % Vorsteuer und 19 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3793, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3793', '3200', 'Erhaltene Skonti aus Erwerb Waren als letzter Abnehmer innerhalb Dreiecksgeschäft 19 % Vorsteuer und 19 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3794, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3794', '3200', 'Erhaltene Skonti 5,5 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3795, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3795', '3200', 'Erhaltene Skonti 9,0 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3796, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3796', '3200', 'Erhaltene Skonti 10,7 % Vorsteuer '); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3797, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3797', '3200', 'Erhaltene Skonti 9,5 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3798, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3798', '3200', 'Erhaltene Skonti aus Einkauf Roh-, Hilfs- und Betriebsstoffe 5,5 % Vorsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3799, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3799', '3200', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3800, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3800', '3200', 'Bezugsnebenkosten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3830, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3830', '3200', 'Leergut'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3850, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3850', '3200', 'Zölle und Einfuhrabgaben'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3950, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3950', '3200', 'Bestandsveränderungen Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3951, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3951', '3200', 'Bestandsveränderungen Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3952, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3952', '3200', 'Bestandsveränderungen Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3953, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3953', '3200', 'Bestandsveränderungen Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3954, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3954', '3200', 'Bestandsveränderungen Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3955, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3955', '3200', 'Bestandsveränderungen Roh-, Hilfs- und Betriebsstoffe'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3956, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3956', '3200', 'Bestandsveränderungen Roh-, Hilfs- und Betriebsstoffe'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3957, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3957', '3200', 'Bestandsveränderungen Roh-, Hilfs- und Betriebsstoffe'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3958, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3958', '3200', 'Bestandsveränderungen Roh-, Hilfs- und Betriebsstoffe'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3959, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3959', '3200', 'Bestandsveränderungen Roh-, Hilfs- und Betriebsstoffe'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3960, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3960', '3200', 'Bestandsveränderungen Roh-, Hilfs- und Betriebsstoffe sowie bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3961, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3961', '3200', 'Bestandsveränderungen Roh-, Hilfs- und Betriebsstoffe sowie bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3962, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3962', '3200', 'Bestandsveränderungen Roh-, Hilfs- und Betriebsstoffe sowie bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3963, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3963', '3200', 'Bestandsveränderungen Roh-, Hilfs- und Betriebsstoffe sowie bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3964, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3964', '3200', 'Bestandsveränderungen Roh-, Hilfs- und Betriebsstoffe sowie bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3965, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3965', '3200', 'Bestandsveränderungen Roh-, Hilfs- und Betriebsstoffe sowie bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3966, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3966', '3200', 'Bestandsveränderungen Roh-, Hilfs- und Betriebsstoffe sowie bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3967, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3967', '3200', 'Bestandsveränderungen Roh-, Hilfs- und Betriebsstoffe sowie bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3968, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3968', '3200', 'Bestandsveränderungen Roh-, Hilfs- und Betriebsstoffe sowie bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3969, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3969', '3200', 'Bestandsveränderungen Roh-, Hilfs- und Betriebsstoffe sowie bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3970, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3970', '0', 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3971, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3971', '0', 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3972, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3972', '0', 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3973, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3973', '0', 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3974, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3974', '0', 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3975, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3975', '0', 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3976, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3976', '0', 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3977, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3977', '0', 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3978, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3978', '0', 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3979, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3979', '0', 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3980, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3980', '0', 'Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3981, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3981', '0', 'Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3982, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3982', '0', 'Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3983, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3983', '0', 'Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3984, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3984', '0', 'Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3985, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3985', '0', 'Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3986, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3986', '0', 'Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3987, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3987', '0', 'Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3988, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3988', '0', 'Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3989, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3989', '0', 'Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3990, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3990', '0', 'Verrechnete Stoffkosten (Gegenkonto zu 4000-99)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3991, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3991', '0', 'Verrechnete Stoffkosten (Gegenkonto zu 4000-99)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3992, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3992', '0', 'Verrechnete Stoffkosten (Gegenkonto zu 4000-99)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3993, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3993', '0', 'Verrechnete Stoffkosten (Gegenkonto zu 4000-99)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3994, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3994', '0', 'Verrechnete Stoffkosten (Gegenkonto zu 4000-99)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3995, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3995', '0', 'Verrechnete Stoffkosten (Gegenkonto zu 4000-99)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3996, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3996', '0', 'Verrechnete Stoffkosten (Gegenkonto zu 4000-99)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3997, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3997', '0', 'Verrechnete Stoffkosten (Gegenkonto zu 4000-99)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3998, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3998', '0', 'Verrechnete Stoffkosten (Gegenkonto zu 4000-99)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3999, 'SKR03', '3: Wareneingangs- und Bestandskonten', '3999', '0', 'Verrechnete Stoffkosten (Gegenkonto zu 4000-99)'); +---- 4: Betriebliche Aufwendungen +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4000, 'SKR03', '4: Betriebliche Aufwendungen', '4000', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4001, 'SKR03', '4: Betriebliche Aufwendungen', '4001', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4002, 'SKR03', '4: Betriebliche Aufwendungen', '4002', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4003, 'SKR03', '4: Betriebliche Aufwendungen', '4003', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4004, 'SKR03', '4: Betriebliche Aufwendungen', '4004', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4005, 'SKR03', '4: Betriebliche Aufwendungen', '4005', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4006, 'SKR03', '4: Betriebliche Aufwendungen', '4006', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4007, 'SKR03', '4: Betriebliche Aufwendungen', '4007', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4008, 'SKR03', '4: Betriebliche Aufwendungen', '4008', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4009, 'SKR03', '4: Betriebliche Aufwendungen', '4009', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4010, 'SKR03', '4: Betriebliche Aufwendungen', '4010', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4011, 'SKR03', '4: Betriebliche Aufwendungen', '4011', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4012, 'SKR03', '4: Betriebliche Aufwendungen', '4012', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4013, 'SKR03', '4: Betriebliche Aufwendungen', '4013', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4014, 'SKR03', '4: Betriebliche Aufwendungen', '4014', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4015, 'SKR03', '4: Betriebliche Aufwendungen', '4015', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4016, 'SKR03', '4: Betriebliche Aufwendungen', '4016', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4017, 'SKR03', '4: Betriebliche Aufwendungen', '4017', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4018, 'SKR03', '4: Betriebliche Aufwendungen', '4018', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4019, 'SKR03', '4: Betriebliche Aufwendungen', '4019', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4020, 'SKR03', '4: Betriebliche Aufwendungen', '4020', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4021, 'SKR03', '4: Betriebliche Aufwendungen', '4021', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4022, 'SKR03', '4: Betriebliche Aufwendungen', '4022', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4023, 'SKR03', '4: Betriebliche Aufwendungen', '4023', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4024, 'SKR03', '4: Betriebliche Aufwendungen', '4024', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4025, 'SKR03', '4: Betriebliche Aufwendungen', '4025', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4026, 'SKR03', '4: Betriebliche Aufwendungen', '4026', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4027, 'SKR03', '4: Betriebliche Aufwendungen', '4027', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4028, 'SKR03', '4: Betriebliche Aufwendungen', '4028', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4029, 'SKR03', '4: Betriebliche Aufwendungen', '4029', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4030, 'SKR03', '4: Betriebliche Aufwendungen', '4030', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4031, 'SKR03', '4: Betriebliche Aufwendungen', '4031', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4032, 'SKR03', '4: Betriebliche Aufwendungen', '4032', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4033, 'SKR03', '4: Betriebliche Aufwendungen', '4033', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4034, 'SKR03', '4: Betriebliche Aufwendungen', '4034', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4035, 'SKR03', '4: Betriebliche Aufwendungen', '4035', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4036, 'SKR03', '4: Betriebliche Aufwendungen', '4036', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4037, 'SKR03', '4: Betriebliche Aufwendungen', '4037', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4038, 'SKR03', '4: Betriebliche Aufwendungen', '4038', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4039, 'SKR03', '4: Betriebliche Aufwendungen', '4039', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4040, 'SKR03', '4: Betriebliche Aufwendungen', '4040', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4041, 'SKR03', '4: Betriebliche Aufwendungen', '4041', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4042, 'SKR03', '4: Betriebliche Aufwendungen', '4042', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4043, 'SKR03', '4: Betriebliche Aufwendungen', '4043', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4044, 'SKR03', '4: Betriebliche Aufwendungen', '4044', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4045, 'SKR03', '4: Betriebliche Aufwendungen', '4045', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4046, 'SKR03', '4: Betriebliche Aufwendungen', '4046', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4047, 'SKR03', '4: Betriebliche Aufwendungen', '4047', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4048, 'SKR03', '4: Betriebliche Aufwendungen', '4048', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4049, 'SKR03', '4: Betriebliche Aufwendungen', '4049', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4050, 'SKR03', '4: Betriebliche Aufwendungen', '4050', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4051, 'SKR03', '4: Betriebliche Aufwendungen', '4051', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4052, 'SKR03', '4: Betriebliche Aufwendungen', '4052', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4053, 'SKR03', '4: Betriebliche Aufwendungen', '4053', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4054, 'SKR03', '4: Betriebliche Aufwendungen', '4054', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4055, 'SKR03', '4: Betriebliche Aufwendungen', '4055', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4056, 'SKR03', '4: Betriebliche Aufwendungen', '4056', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4057, 'SKR03', '4: Betriebliche Aufwendungen', '4057', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4058, 'SKR03', '4: Betriebliche Aufwendungen', '4058', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4059, 'SKR03', '4: Betriebliche Aufwendungen', '4059', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4060, 'SKR03', '4: Betriebliche Aufwendungen', '4060', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4061, 'SKR03', '4: Betriebliche Aufwendungen', '4061', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4062, 'SKR03', '4: Betriebliche Aufwendungen', '4062', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4063, 'SKR03', '4: Betriebliche Aufwendungen', '4063', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4064, 'SKR03', '4: Betriebliche Aufwendungen', '4064', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4065, 'SKR03', '4: Betriebliche Aufwendungen', '4065', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4066, 'SKR03', '4: Betriebliche Aufwendungen', '4066', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4067, 'SKR03', '4: Betriebliche Aufwendungen', '4067', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4068, 'SKR03', '4: Betriebliche Aufwendungen', '4068', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4069, 'SKR03', '4: Betriebliche Aufwendungen', '4069', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4070, 'SKR03', '4: Betriebliche Aufwendungen', '4070', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4071, 'SKR03', '4: Betriebliche Aufwendungen', '4071', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4072, 'SKR03', '4: Betriebliche Aufwendungen', '4072', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4073, 'SKR03', '4: Betriebliche Aufwendungen', '4073', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4074, 'SKR03', '4: Betriebliche Aufwendungen', '4074', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4075, 'SKR03', '4: Betriebliche Aufwendungen', '4075', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4076, 'SKR03', '4: Betriebliche Aufwendungen', '4076', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4077, 'SKR03', '4: Betriebliche Aufwendungen', '4077', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4078, 'SKR03', '4: Betriebliche Aufwendungen', '4078', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4079, 'SKR03', '4: Betriebliche Aufwendungen', '4079', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4080, 'SKR03', '4: Betriebliche Aufwendungen', '4080', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4081, 'SKR03', '4: Betriebliche Aufwendungen', '4081', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4082, 'SKR03', '4: Betriebliche Aufwendungen', '4082', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4083, 'SKR03', '4: Betriebliche Aufwendungen', '4083', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4084, 'SKR03', '4: Betriebliche Aufwendungen', '4084', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4085, 'SKR03', '4: Betriebliche Aufwendungen', '4085', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4086, 'SKR03', '4: Betriebliche Aufwendungen', '4086', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4087, 'SKR03', '4: Betriebliche Aufwendungen', '4087', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4088, 'SKR03', '4: Betriebliche Aufwendungen', '4088', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4089, 'SKR03', '4: Betriebliche Aufwendungen', '4089', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4090, 'SKR03', '4: Betriebliche Aufwendungen', '4090', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4091, 'SKR03', '4: Betriebliche Aufwendungen', '4091', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4092, 'SKR03', '4: Betriebliche Aufwendungen', '4092', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4093, 'SKR03', '4: Betriebliche Aufwendungen', '4093', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4094, 'SKR03', '4: Betriebliche Aufwendungen', '4094', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4095, 'SKR03', '4: Betriebliche Aufwendungen', '4095', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4096, 'SKR03', '4: Betriebliche Aufwendungen', '4096', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4097, 'SKR03', '4: Betriebliche Aufwendungen', '4097', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4098, 'SKR03', '4: Betriebliche Aufwendungen', '4098', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4099, 'SKR03', '4: Betriebliche Aufwendungen', '4099', '0', 'Material- und Stoffverbrauch'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4100, 'SKR03', '4: Betriebliche Aufwendungen', '4100', '0', 'Löhne und Gehälter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4110, 'SKR03', '4: Betriebliche Aufwendungen', '4110', '0', 'Löhne'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4120, 'SKR03', '4: Betriebliche Aufwendungen', '4120', '0', 'Gehälter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4124, 'SKR03', '4: Betriebliche Aufwendungen', '4124', '0', 'Geschäftsführergehälter der GmbH-Gesellschafter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4125, 'SKR03', '4: Betriebliche Aufwendungen', '4125', '0', 'Ehegattengehalt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4126, 'SKR03', '4: Betriebliche Aufwendungen', '4126', '0', 'Tantiemen Gesellschafter-Geschäftsführer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4127, 'SKR03', '4: Betriebliche Aufwendungen', '4127', '0', 'Geschäftsführergehälter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4128, 'SKR03', '4: Betriebliche Aufwendungen', '4128', '0', 'Vergütungen an angestellte Mitunternehmer § 15 EStG (mit Sonderbetriebseinnahme korrespondierend)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4129, 'SKR03', '4: Betriebliche Aufwendungen', '4129', '0', 'Tantiemen Arbeitnehmer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4130, 'SKR03', '4: Betriebliche Aufwendungen', '4130', '0', 'Gesetzliche soziale Aufwendungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4137, 'SKR03', '4: Betriebliche Aufwendungen', '4137', '0', 'Gesetzliche soziale Aufwendungen für Mitunternehmer § 15 EStG (mit Sonderbetriebseinnahme korrespondierend)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4138, 'SKR03', '4: Betriebliche Aufwendungen', '4138', '0', 'Beiträge zur Berufsgenossenschaft'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4139, 'SKR03', '4: Betriebliche Aufwendungen', '4139', '0', 'Ausgleichsabgabe nach dem Schwerbehindertengesetz'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4140, 'SKR03', '4: Betriebliche Aufwendungen', '4140', '0', 'Freiwillige soziale Aufwendungen, lohnsteuerfrei'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4141, 'SKR03', '4: Betriebliche Aufwendungen', '4141', '0', 'Sonstige soziale Abgaben'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4144, 'SKR03', '4: Betriebliche Aufwendungen', '4144', '0', 'Soziale Abgaben für Minijobber'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4145, 'SKR03', '4: Betriebliche Aufwendungen', '4145', '0', 'Freiwillige soziale Aufwendungen, lohnsteuerpflichtig'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4146, 'SKR03', '4: Betriebliche Aufwendungen', '4146', '0', 'Freiwillige Zuwendungen an Minijobber'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4147, 'SKR03', '4: Betriebliche Aufwendungen', '4147', '0', 'Freiwillige Zuwendungen an Gesellschafter-Geschäftsführer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4148, 'SKR03', '4: Betriebliche Aufwendungen', '4148', '0', 'Freiwillige Zuwendungen an angestellte Mitunternehmer § 15 EStG (mit Sonderbetriebseinnahme korrespondierend)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4149, 'SKR03', '4: Betriebliche Aufwendungen', '4149', '0', 'Pauschale Steuer auf sonstige Bezüge (z. B. Fahrtkostenzuschüsse)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4150, 'SKR03', '4: Betriebliche Aufwendungen', '4150', '0', 'Krankengeldzuschüsse'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4151, 'SKR03', '4: Betriebliche Aufwendungen', '4151', '0', 'Sachzuwendungen und Dienstleistungen an Minijobber'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4152, 'SKR03', '4: Betriebliche Aufwendungen', '4152', '0', 'Sachzuwendungen und Dienstleistungen an Arbeitnehmer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4153, 'SKR03', '4: Betriebliche Aufwendungen', '4153', '0', 'Sachzuwendungen und Dienstleistungen an Gesellschafter-Geschäftsführer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4154, 'SKR03', '4: Betriebliche Aufwendungen', '4154', '0', 'Sachzuwendungen und Dienstleistungen an angestellte Mitunternehmer § 15 EStG (mit Sonderbetriebseinnahme korrespondierend)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4155, 'SKR03', '4: Betriebliche Aufwendungen', '4155', '0', 'Zuschüsse der Agenturen für Arbeit (Haben)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4156, 'SKR03', '4: Betriebliche Aufwendungen', '4156', '0', 'Aufwendungen aus der Veränderung von Urlaubsrückstellungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4157, 'SKR03', '4: Betriebliche Aufwendungen', '4157', '0', 'Aufwendungen aus der Veränderung von Urlaubsrückstellungen für Gesellschafter-Geschäftsführer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4158, 'SKR03', '4: Betriebliche Aufwendungen', '4158', '0', 'Aufwendungen aus der Veränderung von Urlaubsrückstellungen für angestellte Mitunternehmer § 15 EStG (mit Sonderbetriebseinnahme korrespondierend)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4159, 'SKR03', '4: Betriebliche Aufwendungen', '4159', '0', 'Aufwendungen aus der Veränderung von Urlaubsrückstellungen für Minijobber'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4160, 'SKR03', '4: Betriebliche Aufwendungen', '4160', '0', 'Versorgungskassen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4165, 'SKR03', '4: Betriebliche Aufwendungen', '4165', '0', 'Aufwendungen für Altersversorgung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4166, 'SKR03', '4: Betriebliche Aufwendungen', '4166', '0', 'Aufwendungen für Altersversorgung für Gesellschafter-Geschäftsführer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4167, 'SKR03', '4: Betriebliche Aufwendungen', '4167', '0', 'Pauschale Steuer auf sonstige Bezüge (z. B. Direktversicherungen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4168, 'SKR03', '4: Betriebliche Aufwendungen', '4168', '0', 'Aufwendungen für Altersversorgung für Mitunternehmer § 15 EStG (mit Sonderbetriebseinnahme korrespondierend)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4169, 'SKR03', '4: Betriebliche Aufwendungen', '4169', '0', 'Aufwendungen für Unterstützung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4170, 'SKR03', '4: Betriebliche Aufwendungen', '4170', '0', 'Vermögenswirksame Leistungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4175, 'SKR03', '4: Betriebliche Aufwendungen', '4175', '0', 'Fahrtkostenerstattung - Wohnung/Arbeitsstätte'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4180, 'SKR03', '4: Betriebliche Aufwendungen', '4180', '0', 'Bedienungsgelder'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4190, 'SKR03', '4: Betriebliche Aufwendungen', '4190', '0', 'Aushilfslöhne'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4194, 'SKR03', '4: Betriebliche Aufwendungen', '4194', '0', 'Pauschale Steuer für Minijobber'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4195, 'SKR03', '4: Betriebliche Aufwendungen', '4195', '0', 'Löhne für Minijobs'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4196, 'SKR03', '4: Betriebliche Aufwendungen', '4196', '0', 'Pauschale Steuer für Gesellschafter-Geschäftsführer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4197, 'SKR03', '4: Betriebliche Aufwendungen', '4197', '0', 'Pauschale Steuer für angestellte Mitunternehmer § 15 EStG (mit Sonderbetriebseinnahme korrespondierend)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4198, 'SKR03', '4: Betriebliche Aufwendungen', '4198', '0', 'Pauschale Steuer für Arbeitnehmer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4199, 'SKR03', '4: Betriebliche Aufwendungen', '4199', '0', 'Pauschale Steuer für Aushilfen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4200, 'SKR03', '4: Betriebliche Aufwendungen', '4200', '0', 'Raumkosten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4210, 'SKR03', '4: Betriebliche Aufwendungen', '4210', '0', 'Miete (unbewegliche Wirtschaftsgüter)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4211, 'SKR03', '4: Betriebliche Aufwendungen', '4211', '0', 'Aufwendungen für gemietete oder gepachtete unbewegliche Wirtschaftsgüter, die gewerbesteuerlich hinzuzurechnen sind'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4212, 'SKR03', '4: Betriebliche Aufwendungen', '4212', '0', 'Miete/Aufwendungen für doppelte Haushaltsführung Unternehmer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4215, 'SKR03', '4: Betriebliche Aufwendungen', '4215', '0', 'Leasing (unbewegliche Wirtschaftsgüter)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4219, 'SKR03', '4: Betriebliche Aufwendungen', '4219', '0', 'Vergütungen an Mitunternehmer für die mietweise Überlassung ihrer unbeweglichen Wirtschaftsgüter § 15 EStG (mit Sonderbetriebseinnahme korrespondierend)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4220, 'SKR03', '4: Betriebliche Aufwendungen', '4220', '0', 'Pacht (unbewegliche Wirtschaftsgüter)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4222, 'SKR03', '4: Betriebliche Aufwendungen', '4222', '0', 'Vergütungen an Gesellschafter für die miet- oder pachtweise Überlassung ihrer unbeweglichen Wirtschaftsgüter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4228, 'SKR03', '4: Betriebliche Aufwendungen', '4228', '0', 'Miet- und Pachtnebenkosten, die gewerbesteuerlich nicht hinzuzurechnen sind'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4229, 'SKR03', '4: Betriebliche Aufwendungen', '4229', '0', 'Vergütungen an Mitunternehmer für die pachtweise Überlassung ihrer unbeweglichen Wirtschaftsgüter § 15 EStG (mit Sonderbetriebseinnahme korrespondierend)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4230, 'SKR03', '4: Betriebliche Aufwendungen', '4230', '0', 'Heizung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4240, 'SKR03', '4: Betriebliche Aufwendungen', '4240', '0', 'Gas, Strom, Wasser'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4250, 'SKR03', '4: Betriebliche Aufwendungen', '4250', '0', 'Reinigung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4260, 'SKR03', '4: Betriebliche Aufwendungen', '4260', '0', 'Instandhaltung betrieblicher Räume'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4270, 'SKR03', '4: Betriebliche Aufwendungen', '4270', '0', 'Abgaben für betrieblich genutzten Grundbesitz'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4280, 'SKR03', '4: Betriebliche Aufwendungen', '4280', '0', 'Sonstige Raumkosten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4288, 'SKR03', '4: Betriebliche Aufwendungen', '4288', '0', 'Aufwendungen für ein häusliches Arbeitszimmer (abziehbarer Anteil)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4289, 'SKR03', '4: Betriebliche Aufwendungen', '4289', '0', 'Aufwendungen für ein häusliches Arbeitszimmer (nicht abziehbarer Anteil)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4290, 'SKR03', '4: Betriebliche Aufwendungen', '4290', '0', 'Grundstücksaufwendungen betrieblich'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4300, 'SKR03', '4: Betriebliche Aufwendungen', '4300', '0', 'Nicht abziehbare Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4301, 'SKR03', '4: Betriebliche Aufwendungen', '4301', '0', 'Nicht abziehbare Vorsteuer 7 %'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4304, 'SKR03', '4: Betriebliche Aufwendungen', '4304', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4305, 'SKR03', '4: Betriebliche Aufwendungen', '4305', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4306, 'SKR03', '4: Betriebliche Aufwendungen', '4306', '0', 'Nicht abziehbare Vorsteuer 19 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4320, 'SKR03', '4: Betriebliche Aufwendungen', '4320', '0', 'Gewerbesteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4340, 'SKR03', '4: Betriebliche Aufwendungen', '4340', '0', 'Sonstige Betriebssteuern'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4350, 'SKR03', '4: Betriebliche Aufwendungen', '4350', '0', 'Verbrauchsteuer (sonstige Steuern)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4355, 'SKR03', '4: Betriebliche Aufwendungen', '4355', '0', 'Ökosteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4360, 'SKR03', '4: Betriebliche Aufwendungen', '4360', '0', 'Versicherungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4366, 'SKR03', '4: Betriebliche Aufwendungen', '4366', '0', 'Versicherungen für Gebäude'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4370, 'SKR03', '4: Betriebliche Aufwendungen', '4370', '0', 'Netto-Prämie für Rückdeckung künftiger Versorgungsleistungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4380, 'SKR03', '4: Betriebliche Aufwendungen', '4380', '0', 'Beiträge'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4390, 'SKR03', '4: Betriebliche Aufwendungen', '4390', '0', 'Sonstige Abgaben'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4396, 'SKR03', '4: Betriebliche Aufwendungen', '4396', '0', 'Steuerlich abzugsfähige Verspätungszuschläge und Zwangsgelder'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4397, 'SKR03', '4: Betriebliche Aufwendungen', '4397', '0', 'Steuerlich nicht abzugsfähige Verspätungszuschläge und Zwangsgelder'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4400, 'SKR03', '4: Betriebliche Aufwendungen', '4400', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4401, 'SKR03', '4: Betriebliche Aufwendungen', '4401', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4402, 'SKR03', '4: Betriebliche Aufwendungen', '4402', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4403, 'SKR03', '4: Betriebliche Aufwendungen', '4403', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4404, 'SKR03', '4: Betriebliche Aufwendungen', '4404', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4405, 'SKR03', '4: Betriebliche Aufwendungen', '4405', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4406, 'SKR03', '4: Betriebliche Aufwendungen', '4406', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4407, 'SKR03', '4: Betriebliche Aufwendungen', '4407', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4408, 'SKR03', '4: Betriebliche Aufwendungen', '4408', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4409, 'SKR03', '4: Betriebliche Aufwendungen', '4409', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4410, 'SKR03', '4: Betriebliche Aufwendungen', '4410', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4411, 'SKR03', '4: Betriebliche Aufwendungen', '4411', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4412, 'SKR03', '4: Betriebliche Aufwendungen', '4412', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4413, 'SKR03', '4: Betriebliche Aufwendungen', '4413', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4414, 'SKR03', '4: Betriebliche Aufwendungen', '4414', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4415, 'SKR03', '4: Betriebliche Aufwendungen', '4415', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4416, 'SKR03', '4: Betriebliche Aufwendungen', '4416', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4417, 'SKR03', '4: Betriebliche Aufwendungen', '4417', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4418, 'SKR03', '4: Betriebliche Aufwendungen', '4418', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4419, 'SKR03', '4: Betriebliche Aufwendungen', '4419', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4420, 'SKR03', '4: Betriebliche Aufwendungen', '4420', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4421, 'SKR03', '4: Betriebliche Aufwendungen', '4421', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4422, 'SKR03', '4: Betriebliche Aufwendungen', '4422', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4423, 'SKR03', '4: Betriebliche Aufwendungen', '4423', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4424, 'SKR03', '4: Betriebliche Aufwendungen', '4424', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4425, 'SKR03', '4: Betriebliche Aufwendungen', '4425', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4426, 'SKR03', '4: Betriebliche Aufwendungen', '4426', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4427, 'SKR03', '4: Betriebliche Aufwendungen', '4427', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4428, 'SKR03', '4: Betriebliche Aufwendungen', '4428', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4429, 'SKR03', '4: Betriebliche Aufwendungen', '4429', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4430, 'SKR03', '4: Betriebliche Aufwendungen', '4430', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4431, 'SKR03', '4: Betriebliche Aufwendungen', '4431', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4432, 'SKR03', '4: Betriebliche Aufwendungen', '4432', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4433, 'SKR03', '4: Betriebliche Aufwendungen', '4433', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4434, 'SKR03', '4: Betriebliche Aufwendungen', '4434', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4435, 'SKR03', '4: Betriebliche Aufwendungen', '4435', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4436, 'SKR03', '4: Betriebliche Aufwendungen', '4436', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4437, 'SKR03', '4: Betriebliche Aufwendungen', '4437', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4438, 'SKR03', '4: Betriebliche Aufwendungen', '4438', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4439, 'SKR03', '4: Betriebliche Aufwendungen', '4439', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4440, 'SKR03', '4: Betriebliche Aufwendungen', '4440', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4441, 'SKR03', '4: Betriebliche Aufwendungen', '4441', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4442, 'SKR03', '4: Betriebliche Aufwendungen', '4442', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4443, 'SKR03', '4: Betriebliche Aufwendungen', '4443', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4444, 'SKR03', '4: Betriebliche Aufwendungen', '4444', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4445, 'SKR03', '4: Betriebliche Aufwendungen', '4445', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4446, 'SKR03', '4: Betriebliche Aufwendungen', '4446', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4447, 'SKR03', '4: Betriebliche Aufwendungen', '4447', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4448, 'SKR03', '4: Betriebliche Aufwendungen', '4448', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4449, 'SKR03', '4: Betriebliche Aufwendungen', '4449', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4450, 'SKR03', '4: Betriebliche Aufwendungen', '4450', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4451, 'SKR03', '4: Betriebliche Aufwendungen', '4451', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4452, 'SKR03', '4: Betriebliche Aufwendungen', '4452', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4453, 'SKR03', '4: Betriebliche Aufwendungen', '4453', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4454, 'SKR03', '4: Betriebliche Aufwendungen', '4454', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4455, 'SKR03', '4: Betriebliche Aufwendungen', '4455', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4456, 'SKR03', '4: Betriebliche Aufwendungen', '4456', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4457, 'SKR03', '4: Betriebliche Aufwendungen', '4457', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4458, 'SKR03', '4: Betriebliche Aufwendungen', '4458', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4459, 'SKR03', '4: Betriebliche Aufwendungen', '4459', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4460, 'SKR03', '4: Betriebliche Aufwendungen', '4460', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4461, 'SKR03', '4: Betriebliche Aufwendungen', '4461', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4462, 'SKR03', '4: Betriebliche Aufwendungen', '4462', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4463, 'SKR03', '4: Betriebliche Aufwendungen', '4463', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4464, 'SKR03', '4: Betriebliche Aufwendungen', '4464', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4465, 'SKR03', '4: Betriebliche Aufwendungen', '4465', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4466, 'SKR03', '4: Betriebliche Aufwendungen', '4466', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4467, 'SKR03', '4: Betriebliche Aufwendungen', '4467', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4468, 'SKR03', '4: Betriebliche Aufwendungen', '4468', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4469, 'SKR03', '4: Betriebliche Aufwendungen', '4469', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4470, 'SKR03', '4: Betriebliche Aufwendungen', '4470', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4471, 'SKR03', '4: Betriebliche Aufwendungen', '4471', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4472, 'SKR03', '4: Betriebliche Aufwendungen', '4472', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4473, 'SKR03', '4: Betriebliche Aufwendungen', '4473', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4474, 'SKR03', '4: Betriebliche Aufwendungen', '4474', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4475, 'SKR03', '4: Betriebliche Aufwendungen', '4475', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4476, 'SKR03', '4: Betriebliche Aufwendungen', '4476', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4477, 'SKR03', '4: Betriebliche Aufwendungen', '4477', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4478, 'SKR03', '4: Betriebliche Aufwendungen', '4478', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4479, 'SKR03', '4: Betriebliche Aufwendungen', '4479', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4480, 'SKR03', '4: Betriebliche Aufwendungen', '4480', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4481, 'SKR03', '4: Betriebliche Aufwendungen', '4481', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4482, 'SKR03', '4: Betriebliche Aufwendungen', '4482', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4483, 'SKR03', '4: Betriebliche Aufwendungen', '4483', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4484, 'SKR03', '4: Betriebliche Aufwendungen', '4484', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4485, 'SKR03', '4: Betriebliche Aufwendungen', '4485', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4486, 'SKR03', '4: Betriebliche Aufwendungen', '4486', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4487, 'SKR03', '4: Betriebliche Aufwendungen', '4487', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4488, 'SKR03', '4: Betriebliche Aufwendungen', '4488', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4489, 'SKR03', '4: Betriebliche Aufwendungen', '4489', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4490, 'SKR03', '4: Betriebliche Aufwendungen', '4490', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4491, 'SKR03', '4: Betriebliche Aufwendungen', '4491', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4492, 'SKR03', '4: Betriebliche Aufwendungen', '4492', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4493, 'SKR03', '4: Betriebliche Aufwendungen', '4493', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4494, 'SKR03', '4: Betriebliche Aufwendungen', '4494', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4495, 'SKR03', '4: Betriebliche Aufwendungen', '4495', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4496, 'SKR03', '4: Betriebliche Aufwendungen', '4496', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4497, 'SKR03', '4: Betriebliche Aufwendungen', '4497', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4498, 'SKR03', '4: Betriebliche Aufwendungen', '4498', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4499, 'SKR03', '4: Betriebliche Aufwendungen', '4499', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4500, 'SKR03', '4: Betriebliche Aufwendungen', '4500', '0', 'Fahrzeugkosten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4510, 'SKR03', '4: Betriebliche Aufwendungen', '4510', '0', 'Kfz-Steuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4520, 'SKR03', '4: Betriebliche Aufwendungen', '4520', '0', 'Fahrzeug-Versicherungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4530, 'SKR03', '4: Betriebliche Aufwendungen', '4530', '0', 'Laufende Fahrzeug-Betriebskosten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4540, 'SKR03', '4: Betriebliche Aufwendungen', '4540', '0', 'Fahrzeug-Reparaturen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4550, 'SKR03', '4: Betriebliche Aufwendungen', '4550', '0', 'Garagenmiete'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4560, 'SKR03', '4: Betriebliche Aufwendungen', '4560', '0', 'Mautgebühren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4570, 'SKR03', '4: Betriebliche Aufwendungen', '4570', '0', 'Mietleasing Kfz'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4575, 'SKR03', '4: Betriebliche Aufwendungen', '4575', '0', 'Mietleasingaufwendungen für Elektrofahrzeuge und Fahrräder, die gewerbesteuerlich hinzuzurechnen sind'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4580, 'SKR03', '4: Betriebliche Aufwendungen', '4580', '0', 'Sonstige Fahrzeugkosten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4590, 'SKR03', '4: Betriebliche Aufwendungen', '4590', '0', 'Kosten für betrieblich genutzte zum Privatvermögen gehörende Fahrzeuge'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4595, 'SKR03', '4: Betriebliche Aufwendungen', '4595', '0', 'Fremdfahrzeugkosten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4600, 'SKR03', '4: Betriebliche Aufwendungen', '4600', '0', 'Werbekosten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4605, 'SKR03', '4: Betriebliche Aufwendungen', '4605', '0', 'Streuartikel'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4630, 'SKR03', '4: Betriebliche Aufwendungen', '4630', '0', 'Geschenke abzugsfähig ohne § 37b EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4631, 'SKR03', '4: Betriebliche Aufwendungen', '4631', '0', 'Geschenke abzugsfähig mit § 37b EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4632, 'SKR03', '4: Betriebliche Aufwendungen', '4632', '0', 'Pauschale Steuer für Geschenke und Zuwendungen abzugsfähig'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4635, 'SKR03', '4: Betriebliche Aufwendungen', '4635', '0', 'Geschenke nicht abzugsfähig ohne § 37b EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4636, 'SKR03', '4: Betriebliche Aufwendungen', '4636', '0', 'Geschenke nicht abzugsfähig mit § 37b EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4637, 'SKR03', '4: Betriebliche Aufwendungen', '4637', '0', 'Pauschale Steuer für Geschenke und Zuwendungen nicht abzugsfähig'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4638, 'SKR03', '4: Betriebliche Aufwendungen', '4638', '0', 'Geschenke ausschließlich betrieblich genutzt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4639, 'SKR03', '4: Betriebliche Aufwendungen', '4639', '0', 'Zugaben mit § 37b EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4640, 'SKR03', '4: Betriebliche Aufwendungen', '4640', '0', 'Repräsentationskosten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4650, 'SKR03', '4: Betriebliche Aufwendungen', '4650', '0', 'Bewirtungskosten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4651, 'SKR03', '4: Betriebliche Aufwendungen', '4651', '0', 'Sonstige eingeschränkt abziehbare Betriebsausgaben (abziehbarer Anteil)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4652, 'SKR03', '4: Betriebliche Aufwendungen', '4652', '0', 'Sonstige eingeschränkt abziehbare Betriebsausgaben (nicht abziehbarer Anteil)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4653, 'SKR03', '4: Betriebliche Aufwendungen', '4653', '0', 'Aufmerksamkeiten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4654, 'SKR03', '4: Betriebliche Aufwendungen', '4654', '0', 'Nicht abzugsfähige Bewirtungskosten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4655, 'SKR03', '4: Betriebliche Aufwendungen', '4655', '0', 'Nicht abzugsfähige Betriebsausgaben aus Werbe- und Repräsentationskosten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4660, 'SKR03', '4: Betriebliche Aufwendungen', '4660', '0', 'Reisekosten Arbeitnehmer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4663, 'SKR03', '4: Betriebliche Aufwendungen', '4663', '0', 'Reisekosten Arbeitnehmer Fahrtkosten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4664, 'SKR03', '4: Betriebliche Aufwendungen', '4664', '0', 'Reisekosten Arbeitnehmer Verpflegungsmehraufwand'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4666, 'SKR03', '4: Betriebliche Aufwendungen', '4666', '0', 'Reisekosten Arbeitnehmer Übernachtungsaufwand'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4667, 'SKR03', '4: Betriebliche Aufwendungen', '4667', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4668, 'SKR03', '4: Betriebliche Aufwendungen', '4668', '0', 'Kilometergelderstattung Arbeitnehmer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4670, 'SKR03', '4: Betriebliche Aufwendungen', '4670', '0', 'Reisekosten Unternehmer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4672, 'SKR03', '4: Betriebliche Aufwendungen', '4672', '0', 'Reisekosten Unternehmer (nicht abziehbarer Anteil)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4673, 'SKR03', '4: Betriebliche Aufwendungen', '4673', '0', 'Reisekosten Unternehmer Fahrtkosten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4674, 'SKR03', '4: Betriebliche Aufwendungen', '4674', '0', 'Reisekosten Unternehmer Verpflegungsmehraufwand'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4675, 'SKR03', '4: Betriebliche Aufwendungen', '4675', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4676, 'SKR03', '4: Betriebliche Aufwendungen', '4676', '0', 'Reisekosten Unternehmer Übernachtungsaufwand und Reisenebenkosten'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4677, 'SKR03', '4: Betriebliche Aufwendungen', '4677', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4678, 'SKR03', '4: Betriebliche Aufwendungen', '4678', '0', 'Fahrten zwischen Wohnung und Betriebsstätte und Familienheimfahrten (abziehbarer Anteil)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4679, 'SKR03', '4: Betriebliche Aufwendungen', '4679', '0', 'Fahrten zwischen Wohnung und Betriebsstätte und Familienheimfahrten (nicht abziehbarer Anteil)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4680, 'SKR03', '4: Betriebliche Aufwendungen', '4680', '0', 'Fahrten zwischen Wohnung und Betriebsstätte und Familienheimfahrten (Haben)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4681, 'SKR03', '4: Betriebliche Aufwendungen', '4681', '0', 'Verpflegungsmehraufwendungen im Rahmen der doppelten Haushaltsführung Unternehmer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4685, 'SKR03', '4: Betriebliche Aufwendungen', '4685', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4700, 'SKR03', '4: Betriebliche Aufwendungen', '4700', '0', 'Kosten der Warenabgabe'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4710, 'SKR03', '4: Betriebliche Aufwendungen', '4710', '0', 'Verpackungsmaterial'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4730, 'SKR03', '4: Betriebliche Aufwendungen', '4730', '0', 'Ausgangsfrachten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4750, 'SKR03', '4: Betriebliche Aufwendungen', '4750', '0', 'Transportversicherungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4760, 'SKR03', '4: Betriebliche Aufwendungen', '4760', '0', 'Verkaufsprovisionen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4780, 'SKR03', '4: Betriebliche Aufwendungen', '4780', '0', 'Fremdarbeiten (Vertrieb)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4790, 'SKR03', '4: Betriebliche Aufwendungen', '4790', '0', 'Aufwand für Gewährleistungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4800, 'SKR03', '4: Betriebliche Aufwendungen', '4800', '0', 'Reparaturen und Instandhaltungen von technischen Anlagen und Maschinen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4801, 'SKR03', '4: Betriebliche Aufwendungen', '4801', '0', 'Reparaturen und Instandhaltung von Bauten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4805, 'SKR03', '4: Betriebliche Aufwendungen', '4805', '0', 'Reparaturen und Instandhaltungen von anderen Anlagen und Betriebsund Geschäftsausstattung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4806, 'SKR03', '4: Betriebliche Aufwendungen', '4806', '0', 'Wartungskosten für Hard- und Software'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4808, 'SKR03', '4: Betriebliche Aufwendungen', '4808', '0', 'Zuführung zu Aufwandsrückstellungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4809, 'SKR03', '4: Betriebliche Aufwendungen', '4809', '0', 'Sonstige Reparaturen und Instandhaltungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4810, 'SKR03', '4: Betriebliche Aufwendungen', '4810', '0', 'Mietleasing bewegliche Wirtschaftsgüter für technische Anlagen und Maschinen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4815, 'SKR03', '4: Betriebliche Aufwendungen', '4815', '0', 'Kaufleasing'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4822, 'SKR03', '4: Betriebliche Aufwendungen', '4822', '0', 'Abschreibungen auf immaterielle Vermögensgegenstände'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4823, 'SKR03', '4: Betriebliche Aufwendungen', '4823', '0', 'Abschreibungen auf selbst geschaffene immaterielle Vermögensgegenstände'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4824, 'SKR03', '4: Betriebliche Aufwendungen', '4824', '0', 'Abschreibungen auf den Geschäftsoder Firmenwert'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4825, 'SKR03', '4: Betriebliche Aufwendungen', '4825', '0', 'Außerplanmäßige Abschreibungen auf den Geschäfts- oder Firmenwert'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4826, 'SKR03', '4: Betriebliche Aufwendungen', '4826', '0', 'Außerplanmäßige Abschreibungen auf immaterielle Vermögensgegenstände'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4827, 'SKR03', '4: Betriebliche Aufwendungen', '4827', '0', 'Außerplanmäßige Abschreibungen auf selbst geschaffene immaterielle Vermögensgegenstände'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4830, 'SKR03', '4: Betriebliche Aufwendungen', '4830', '0', 'Abschreibungen auf Sachanlagen (ohne AfA auf Fahrzeuge und Gebäude)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4831, 'SKR03', '4: Betriebliche Aufwendungen', '4831', '0', 'Abschreibungen auf Gebäude'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4832, 'SKR03', '4: Betriebliche Aufwendungen', '4832', '0', 'Abschreibungen auf Fahrzeuge'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4833, 'SKR03', '4: Betriebliche Aufwendungen', '4833', '0', 'Abschreibungen auf Gebäudeanteil des häuslichen Arbeitszimmers'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4840, 'SKR03', '4: Betriebliche Aufwendungen', '4840', '0', 'Außerplanmäßige Abschreibungen auf Sachanlagen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4841, 'SKR03', '4: Betriebliche Aufwendungen', '4841', '0', 'Absetzung für außergewöhnliche technische und wirtschaftliche Abnutzung der Gebäude'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4842, 'SKR03', '4: Betriebliche Aufwendungen', '4842', '0', 'Absetzung für außergewöhnliche technische und wirtschaftliche Abnutzung der Fahrzeuge'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4843, 'SKR03', '4: Betriebliche Aufwendungen', '4843', '0', 'Absetzung für außergewöhnliche technische und wirtschaftliche Abnutzung sonstiger Wirtschaftsgüter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4850, 'SKR03', '4: Betriebliche Aufwendungen', '4850', '0', 'Abschreibungen auf Sachanlagen auf Grund steuerlicher Sondervorschriften'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4851, 'SKR03', '4: Betriebliche Aufwendungen', '4851', '0', 'Sonderabschreibungen nach § 7g Abs. 5 EStG (ohne Fahrzeuge)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4852, 'SKR03', '4: Betriebliche Aufwendungen', '4852', '0', 'Sonderabschreibungen nach § 7g Abs. 5 EStG (für Fahrzeuge)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4853, 'SKR03', '4: Betriebliche Aufwendungen', '4853', '0', 'Kürzung der Anschaffungs- oder Herstellungskosten nach § 7g Abs. 2 EStG (ohne Fahrzeuge)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4854, 'SKR03', '4: Betriebliche Aufwendungen', '4854', '0', 'Kürzung der Anschaffungs- oder Herstellungskosten nach § 7g Abs. 2 EStG (für Fahrzeuge)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4855, 'SKR03', '4: Betriebliche Aufwendungen', '4855', '0', 'Sofortabschreibung geringwertiger Wirtschaftsgüter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4856, 'SKR03', '4: Betriebliche Aufwendungen', '4856', '0', 'Sonderabschreibungen nach § 7b EStG (Mietwohnungsneubau)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4859, 'SKR03', '4: Betriebliche Aufwendungen', '4859', '0', 'Abzugsbetrag nach § 6b EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4860, 'SKR03', '4: Betriebliche Aufwendungen', '4860', '0', 'Abschreibungen auf aktivierte, geringwertige Wirtschaftsgüter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4862, 'SKR03', '4: Betriebliche Aufwendungen', '4862', '0', 'Abschreibungen auf den Sammelposten Wirtschaftsgüter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4865, 'SKR03', '4: Betriebliche Aufwendungen', '4865', '0', 'Außerplanmäßige Abschreibungen auf aktivierte, geringwertige Wirtschaftsgüter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4866, 'SKR03', '4: Betriebliche Aufwendungen', '4866', '0', 'Abschreibungen auf Finanzanlagen (nicht dauerhaft)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4870, 'SKR03', '4: Betriebliche Aufwendungen', '4870', '0', 'Abschreibungen auf Finanzanlagen (dauerhaft)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4871, 'SKR03', '4: Betriebliche Aufwendungen', '4871', '0', 'Abschreibungen auf Finanzanlagen § 3 Nr. 40 EStG bzw. § 8b Abs. 3 KStG (dauerhaft)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4872, 'SKR03', '4: Betriebliche Aufwendungen', '4872', '0', 'Aufwendungen auf Grund von Verlustanteilen an gewerblichen und selbständigen Mitunternehmerschaften, § 8 GewStG bzw. § 18 EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4873, 'SKR03', '4: Betriebliche Aufwendungen', '4873', '0', 'Abschreibungen auf Finanzanlagen auf Grund § 6b EStG-Rücklage, § 3 Nr. 40 EStG bzw. § 8b Abs. 3 KStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4874, 'SKR03', '4: Betriebliche Aufwendungen', '4874', '0', 'Abschreibungen auf Finanzanlagen auf Grund § 6b EStG-Rücklage'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4875, 'SKR03', '4: Betriebliche Aufwendungen', '4875', '0', 'Abschreibungen auf Wertpapiere des Umlaufvermögens'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4876, 'SKR03', '4: Betriebliche Aufwendungen', '4876', '0', 'Abschreibungen auf Wertpapiere des Umlaufvermögens § 3 Nr. 40 EStG bzw. § 8b Abs. 3 KStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4877, 'SKR03', '4: Betriebliche Aufwendungen', '4877', '0', 'Abschreibungen auf Finanzanlagen - verbundene Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4878, 'SKR03', '4: Betriebliche Aufwendungen', '4878', '0', 'Abschreibungen auf Wertpapiere des Umlaufvermögens - verbundene Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4880, 'SKR03', '4: Betriebliche Aufwendungen', '4880', '0', 'Abschreibungen auf sonstige Vermögensgegenstände des Umlaufvermögens (soweit unüblich hoch)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4882, 'SKR03', '4: Betriebliche Aufwendungen', '4882', '0', 'Abschreibungen auf Umlaufvermögen, steuerrechtlich bedingt (soweit unüblich hoch)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4886, 'SKR03', '4: Betriebliche Aufwendungen', '4886', '0', 'Abschreibungen auf Umlaufvermögen außer Vorräte und Wertpapiere des Umlaufvermögens (übliche Höhe)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4887, 'SKR03', '4: Betriebliche Aufwendungen', '4887', '0', 'Abschreibungen auf Umlaufvermögen außer Vorräte und Wertpapiere des Umlaufvermögens, steuerrechtlich bedingt (übliche Höhe)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4892, 'SKR03', '4: Betriebliche Aufwendungen', '4892', '0', 'Abschreibungen auf Roh-, Hilfs- und Betriebsstoffe/Waren (soweit unübliche Höhe)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4893, 'SKR03', '4: Betriebliche Aufwendungen', '4893', '0', 'Abschreibungen auf fertige und unfertige Erzeugnisse (soweit unübliche Höhe)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4900, 'SKR03', '4: Betriebliche Aufwendungen', '4900', '0', 'Sonstige betriebliche Aufwendungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4902, 'SKR03', '4: Betriebliche Aufwendungen', '4902', '0', 'Interimskonto für Aufwendungen in einem anderen Land, bei denen eine Vorsteuervergütung möglich ist'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4905, 'SKR03', '4: Betriebliche Aufwendungen', '4905', '0', 'Sonstige Aufwendungen betrieblich und regelmäßig'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4909, 'SKR03', '4: Betriebliche Aufwendungen', '4909', '0', 'Fremdleistungen/Fremdarbeiten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4910, 'SKR03', '4: Betriebliche Aufwendungen', '4910', '0', 'Porto'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4920, 'SKR03', '4: Betriebliche Aufwendungen', '4920', '0', 'Telefon'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4925, 'SKR03', '4: Betriebliche Aufwendungen', '4925', '0', 'Telefax und Internetkosten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4930, 'SKR03', '4: Betriebliche Aufwendungen', '4930', '0', 'Bürobedarf'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4940, 'SKR03', '4: Betriebliche Aufwendungen', '4940', '0', 'Zeitschriften, Bücher (Fachliteratur)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4945, 'SKR03', '4: Betriebliche Aufwendungen', '4945', '0', 'Fortbildungskosten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4946, 'SKR03', '4: Betriebliche Aufwendungen', '4946', '0', 'Freiwillige Sozialleistungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4948, 'SKR03', '4: Betriebliche Aufwendungen', '4948', '0', 'Vergütungen an Mitunternehmer § 15 EStG (mit Sonderbetriebseinnahme korrespondierend)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4949, 'SKR03', '4: Betriebliche Aufwendungen', '4949', '0', 'Haftungsvergütung an Mitunternehmer § 15 EStG (mit Sonderbetriebseinnahme korrespondierend)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4950, 'SKR03', '4: Betriebliche Aufwendungen', '4950', '0', 'Rechts- und Beratungskosten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4955, 'SKR03', '4: Betriebliche Aufwendungen', '4955', '0', 'Buchführungskosten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4957, 'SKR03', '4: Betriebliche Aufwendungen', '4957', '0', 'Abschluss- und Prüfungskosten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4958, 'SKR03', '4: Betriebliche Aufwendungen', '4958', '0', 'Vergütungen an Gesellschafter für die miet- oder pachtweise Überlassung ihrer beweglichen Wirtschaftsgüter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4959, 'SKR03', '4: Betriebliche Aufwendungen', '4959', '0', 'Vergütungen an Mitunternehmer für die miet- oder pachtweise Überlassung ihrer beweglichen Wirtschaftsgüter § 15 EStG (mit Sonderbetriebseinnahme korrespondierend)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4960, 'SKR03', '4: Betriebliche Aufwendungen', '4960', '0', 'Mieten für Einrichtungen (bewegliche Wirtschaftsgüter)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4961, 'SKR03', '4: Betriebliche Aufwendungen', '4961', '0', 'Pacht (bewegliche Wirtschaftsgüter)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4963, 'SKR03', '4: Betriebliche Aufwendungen', '4963', '0', 'Aufwendungen für gemietete oder gepachtete bewegliche Wirtschaftsgüter, die gewerbesteuerlich hinzuzurechnen sind'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4964, 'SKR03', '4: Betriebliche Aufwendungen', '4964', '0', 'Aufwendungen für die zeitlich befristete Überlassung von Rechten (Lizenzen, Konzessionen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4965, 'SKR03', '4: Betriebliche Aufwendungen', '4965', '0', 'Mietleasing bewegliche Wirtschaftsgüter für Betriebs- und Geschäftsausstattung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4969, 'SKR03', '4: Betriebliche Aufwendungen', '4969', '0', 'Aufwendungen für Abraum- und Abfallbeseitigung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4970, 'SKR03', '4: Betriebliche Aufwendungen', '4970', '0', 'Nebenkosten des Geldverkehrs'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4971, 'SKR03', '4: Betriebliche Aufwendungen', '4971', '0', 'Verwahrentgelt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4975, 'SKR03', '4: Betriebliche Aufwendungen', '4975', '0', 'Aufwendungen aus Anteilen an Kapitalgesellschaften §§ 3 Nr. 40 und 3c EStG bzw. § 8b Abs. 1 und 4 KStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4976, 'SKR03', '4: Betriebliche Aufwendungen', '4976', '0', 'Veräußerungskosten § 3 Nr. 40 EStG bzw. § 8b Abs. 2 KStG (bei Veräußerungsgewinn)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4977, 'SKR03', '4: Betriebliche Aufwendungen', '4977', '0', 'Veräußerungskosten § 3 Nr. 40 EStG bzw. § 8b Abs. 3 KStG (bei Veräußerungsverlust)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4980, 'SKR03', '4: Betriebliche Aufwendungen', '4980', '0', 'Sonstiger Betriebsbedarf'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4984, 'SKR03', '4: Betriebliche Aufwendungen', '4984', '0', 'Genossenschaftliche Rückvergütung an Mitglieder'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4985, 'SKR03', '4: Betriebliche Aufwendungen', '4985', '0', 'Werkzeuge und Kleingeräte'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4990, 'SKR03', '4: Betriebliche Aufwendungen', '4990', '0', 'Kalkulatorischer Unternehmerlohn'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4991, 'SKR03', '4: Betriebliche Aufwendungen', '4991', '0', 'Kalkulatorische Miete und Pacht'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4992, 'SKR03', '4: Betriebliche Aufwendungen', '4992', '0', 'Kalkulatorische Zinsen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4993, 'SKR03', '4: Betriebliche Aufwendungen', '4993', '0', 'Kalkulatorische Abschreibungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4994, 'SKR03', '4: Betriebliche Aufwendungen', '4994', '0', 'Kalkulatorische Wagnisse'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4995, 'SKR03', '4: Betriebliche Aufwendungen', '4995', '0', 'Kalkulatorischer Lohn für unentgeltliche Mitarbeiter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4996, 'SKR03', '4: Betriebliche Aufwendungen', '4996', '0', 'Herstellungskosten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4997, 'SKR03', '4: Betriebliche Aufwendungen', '4997', '0', 'Verwaltungskosten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4998, 'SKR03', '4: Betriebliche Aufwendungen', '4998', '0', 'Vertriebskosten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4999, 'SKR03', '4: Betriebliche Aufwendungen', '4999', '0', 'Gegenkonto 4996-4998'); +---- 5: +---- 6: +---- 7: Bestände an Erzeugnissen +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7000, 'SKR03', '7: Bestände an Erzeugnissen', '7000', '0', 'Unfertige Erzeugnisse, unfertige Leistungen (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7050, 'SKR03', '7: Bestände an Erzeugnissen', '7050', '7000', 'Unfertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7080, 'SKR03', '7: Bestände an Erzeugnissen', '7080', '7000', 'Unfertige Leistungen (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7090, 'SKR03', '7: Bestände an Erzeugnissen', '7090', '7000', 'In Ausführung befindliche Bauaufträge'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7095, 'SKR03', '7: Bestände an Erzeugnissen', '7095', '7000', 'In Arbeit befindliche Aufträge'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7100, 'SKR03', '7: Bestände an Erzeugnissen', '7100', '0', 'Fertige Erzeugnisse und Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7110, 'SKR03', '7: Bestände an Erzeugnissen', '7110', '7100', 'Fertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7140, 'SKR03', '7: Bestände an Erzeugnissen', '7140', '7100', 'Waren (Bestand)'); +---- 8: Erlöskonten +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8000, 'SKR03', '8: Erlöskonten', '8000', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8001, 'SKR03', '8: Erlöskonten', '8001', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8002, 'SKR03', '8: Erlöskonten', '8002', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8003, 'SKR03', '8: Erlöskonten', '8003', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8004, 'SKR03', '8: Erlöskonten', '8004', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8005, 'SKR03', '8: Erlöskonten', '8005', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8006, 'SKR03', '8: Erlöskonten', '8006', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8007, 'SKR03', '8: Erlöskonten', '8007', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8008, 'SKR03', '8: Erlöskonten', '8008', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8009, 'SKR03', '8: Erlöskonten', '8009', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8010, 'SKR03', '8: Erlöskonten', '8010', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8011, 'SKR03', '8: Erlöskonten', '8011', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8012, 'SKR03', '8: Erlöskonten', '8012', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8013, 'SKR03', '8: Erlöskonten', '8013', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8014, 'SKR03', '8: Erlöskonten', '8014', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8015, 'SKR03', '8: Erlöskonten', '8015', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8016, 'SKR03', '8: Erlöskonten', '8016', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8017, 'SKR03', '8: Erlöskonten', '8017', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8018, 'SKR03', '8: Erlöskonten', '8018', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8019, 'SKR03', '8: Erlöskonten', '8019', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8020, 'SKR03', '8: Erlöskonten', '8020', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8021, 'SKR03', '8: Erlöskonten', '8021', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8022, 'SKR03', '8: Erlöskonten', '8022', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8023, 'SKR03', '8: Erlöskonten', '8023', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8024, 'SKR03', '8: Erlöskonten', '8024', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8025, 'SKR03', '8: Erlöskonten', '8025', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8026, 'SKR03', '8: Erlöskonten', '8026', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8027, 'SKR03', '8: Erlöskonten', '8027', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8028, 'SKR03', '8: Erlöskonten', '8028', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8029, 'SKR03', '8: Erlöskonten', '8029', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8030, 'SKR03', '8: Erlöskonten', '8030', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8031, 'SKR03', '8: Erlöskonten', '8031', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8032, 'SKR03', '8: Erlöskonten', '8032', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8033, 'SKR03', '8: Erlöskonten', '8033', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8034, 'SKR03', '8: Erlöskonten', '8034', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8035, 'SKR03', '8: Erlöskonten', '8035', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8036, 'SKR03', '8: Erlöskonten', '8036', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8037, 'SKR03', '8: Erlöskonten', '8037', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8038, 'SKR03', '8: Erlöskonten', '8038', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8039, 'SKR03', '8: Erlöskonten', '8039', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8040, 'SKR03', '8: Erlöskonten', '8040', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8041, 'SKR03', '8: Erlöskonten', '8041', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8042, 'SKR03', '8: Erlöskonten', '8042', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8043, 'SKR03', '8: Erlöskonten', '8043', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8044, 'SKR03', '8: Erlöskonten', '8044', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8045, 'SKR03', '8: Erlöskonten', '8045', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8046, 'SKR03', '8: Erlöskonten', '8046', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8047, 'SKR03', '8: Erlöskonten', '8047', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8048, 'SKR03', '8: Erlöskonten', '8048', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8049, 'SKR03', '8: Erlöskonten', '8049', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8050, 'SKR03', '8: Erlöskonten', '8050', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8051, 'SKR03', '8: Erlöskonten', '8051', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8052, 'SKR03', '8: Erlöskonten', '8052', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8053, 'SKR03', '8: Erlöskonten', '8053', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8054, 'SKR03', '8: Erlöskonten', '8054', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8055, 'SKR03', '8: Erlöskonten', '8055', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8056, 'SKR03', '8: Erlöskonten', '8056', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8057, 'SKR03', '8: Erlöskonten', '8057', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8058, 'SKR03', '8: Erlöskonten', '8058', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8059, 'SKR03', '8: Erlöskonten', '8059', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8060, 'SKR03', '8: Erlöskonten', '8060', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8061, 'SKR03', '8: Erlöskonten', '8061', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8062, 'SKR03', '8: Erlöskonten', '8062', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8063, 'SKR03', '8: Erlöskonten', '8063', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8064, 'SKR03', '8: Erlöskonten', '8064', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8065, 'SKR03', '8: Erlöskonten', '8065', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8066, 'SKR03', '8: Erlöskonten', '8066', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8067, 'SKR03', '8: Erlöskonten', '8067', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8068, 'SKR03', '8: Erlöskonten', '8068', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8069, 'SKR03', '8: Erlöskonten', '8069', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8070, 'SKR03', '8: Erlöskonten', '8070', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8071, 'SKR03', '8: Erlöskonten', '8071', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8072, 'SKR03', '8: Erlöskonten', '8072', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8073, 'SKR03', '8: Erlöskonten', '8073', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8074, 'SKR03', '8: Erlöskonten', '8074', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8075, 'SKR03', '8: Erlöskonten', '8075', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8076, 'SKR03', '8: Erlöskonten', '8076', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8077, 'SKR03', '8: Erlöskonten', '8077', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8078, 'SKR03', '8: Erlöskonten', '8078', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8079, 'SKR03', '8: Erlöskonten', '8079', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8080, 'SKR03', '8: Erlöskonten', '8080', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8081, 'SKR03', '8: Erlöskonten', '8081', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8082, 'SKR03', '8: Erlöskonten', '8082', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8083, 'SKR03', '8: Erlöskonten', '8083', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8084, 'SKR03', '8: Erlöskonten', '8084', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8085, 'SKR03', '8: Erlöskonten', '8085', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8086, 'SKR03', '8: Erlöskonten', '8086', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8087, 'SKR03', '8: Erlöskonten', '8087', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8088, 'SKR03', '8: Erlöskonten', '8088', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8089, 'SKR03', '8: Erlöskonten', '8089', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8090, 'SKR03', '8: Erlöskonten', '8090', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8091, 'SKR03', '8: Erlöskonten', '8091', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8092, 'SKR03', '8: Erlöskonten', '8092', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8093, 'SKR03', '8: Erlöskonten', '8093', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8094, 'SKR03', '8: Erlöskonten', '8094', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8095, 'SKR03', '8: Erlöskonten', '8095', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8096, 'SKR03', '8: Erlöskonten', '8096', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8097, 'SKR03', '8: Erlöskonten', '8097', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8098, 'SKR03', '8: Erlöskonten', '8098', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8099, 'SKR03', '8: Erlöskonten', '8099', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8100, 'SKR03', '8: Erlöskonten', '8100', '0', 'Steuerfreie Umsätze § 4 Nr. 8 ff. UStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8101, 'SKR03', '8: Erlöskonten', '8101', '0', 'Steuerfreie Umsätze § 4 Nr. 8 ff. UStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8102, 'SKR03', '8: Erlöskonten', '8102', '0', 'Steuerfreie Umsätze § 4 Nr. 8 ff. UStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8103, 'SKR03', '8: Erlöskonten', '8103', '0', 'Steuerfreie Umsätze § 4 Nr. 8 ff. UStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8104, 'SKR03', '8: Erlöskonten', '8104', '0', 'Steuerfreie Umsätze § 4 Nr. 8 ff. UStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8105, 'SKR03', '8: Erlöskonten', '8105', '0', 'Steuerfreie Umsätze nach § 4 Nr. 12 UStG (Vermietung und Verpachtung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8110, 'SKR03', '8: Erlöskonten', '8110', '0', 'Sonstige steuerfreie Umsätze Inland'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8120, 'SKR03', '8: Erlöskonten', '8120', '0', 'Steuerfreie Umsätze nach § 4 Nr. 1a UStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8125, 'SKR03', '8: Erlöskonten', '8125', '0', 'Steuerfreie innergemeinschaftliche Lieferungen nach § 4 Nr. 1b UStG'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8128, 'SKR03', '8: Erlöskonten', '8128', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8130, 'SKR03', '8: Erlöskonten', '8130', '0', 'Lieferungen des ersten Abnehmers bei innergemeinschaftlichen Dreiecksgeschäften § 25b Abs. 2 UStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8135, 'SKR03', '8: Erlöskonten', '8135', '0', 'Steuerfreie innergemeinschaftliche Lieferungen von Neufahrzeugen an Abnehmer ohne USt-Id-Nr.'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8140, 'SKR03', '8: Erlöskonten', '8140', '0', 'Steuerfreie Umsätze Offshore usw.'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8150, 'SKR03', '8: Erlöskonten', '8150', '0', 'Sonstige steuerfreie Umsätze (z. B. § 4 Nr. 2 bis 7 UStG)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8160, 'SKR03', '8: Erlöskonten', '8160', '0', 'Steuerfreie Umsätze ohne Vorsteuerabzug zum Gesamtumsatz gehörend, § 4 UStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8165, 'SKR03', '8: Erlöskonten', '8165', '0', 'Steuerfreie Umsätze ohne Vorsteuerabzug zum Gesamtumsatz gehörend'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8190, 'SKR03', '8: Erlöskonten', '8190', '0', 'Erlöse, die mit den Durchschnittssätzen des § 24 UStG versteuert werden'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8191, 'SKR03', '8: Erlöskonten', '8191', '0', 'Umsatzerlöse nach §§ 25 und 25a UStG 19 % USt'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8192, 'SKR03', '8: Erlöskonten', '8192', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8193, 'SKR03', '8: Erlöskonten', '8193', '0', 'Umsatzerlöse nach §§ 25 und 25a UStG ohne USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8194, 'SKR03', '8: Erlöskonten', '8194', '0', 'Umsatzerlöse aus Reiseleistungen § 25 Abs. 2 UStG, steuerfrei'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8195, 'SKR03', '8: Erlöskonten', '8195', '0', 'Erlöse als Kleinunternehmer nach § 19 Abs. 1 UStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8196, 'SKR03', '8: Erlöskonten', '8196', '0', 'Erlöse aus Geldspielautomaten 19 % USt'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8197, 'SKR03', '8: Erlöskonten', '8197', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8198, 'SKR03', '8: Erlöskonten', '8198', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8200, 'SKR03', '8: Erlöskonten', '8200', '0', 'Erlöse'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8290, 'SKR03', '8: Erlöskonten', '8290', '0', 'Erlöse 0 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8300, 'SKR03', '8: Erlöskonten', '8300', '0', 'Erlöse 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8301, 'SKR03', '8: Erlöskonten', '8301', '0', 'Erlöse 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8302, 'SKR03', '8: Erlöskonten', '8302', '0', 'Erlöse 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8303, 'SKR03', '8: Erlöskonten', '8303', '0', 'Erlöse 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8304, 'SKR03', '8: Erlöskonten', '8304', '0', 'Erlöse 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8305, 'SKR03', '8: Erlöskonten', '8305', '0', 'Erlöse 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8306, 'SKR03', '8: Erlöskonten', '8306', '0', 'Erlöse 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8307, 'SKR03', '8: Erlöskonten', '8307', '0', 'Erlöse 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8308, 'SKR03', '8: Erlöskonten', '8308', '0', 'Erlöse 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8309, 'SKR03', '8: Erlöskonten', '8309', '0', 'Erlöse 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8310, 'SKR03', '8: Erlöskonten', '8310', '0', 'Erlöse aus im Inland steuerpflichtigen EU-Lieferungen 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8311, 'SKR03', '8: Erlöskonten', '8311', '0', 'Erlöse aus im Inland steuerpflichtigen EU-Lieferungen 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8312, 'SKR03', '8: Erlöskonten', '8312', '0', 'Erlöse aus im Inland steuerpflichtigen EU-Lieferungen 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8313, 'SKR03', '8: Erlöskonten', '8313', '0', 'Erlöse aus im Inland steuerpflichtigen EU-Lieferungen 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8314, 'SKR03', '8: Erlöskonten', '8314', '0', 'Erlöse aus im Inland steuerpflichtigen EU-Lieferungen 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8315, 'SKR03', '8: Erlöskonten', '8315', '0', 'Erlöse aus im Inland steuerpflichtigen EU-Lieferungen 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8316, 'SKR03', '8: Erlöskonten', '8316', '0', 'Erlöse aus im Inland steuerpflichtigen EU-Lieferungen 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8317, 'SKR03', '8: Erlöskonten', '8317', '0', 'Erlöse aus im Inland steuerpflichtigen EU-Lieferungen 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8318, 'SKR03', '8: Erlöskonten', '8318', '0', 'Erlöse aus im Inland steuerpflichtigen EU-Lieferungen 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8319, 'SKR03', '8: Erlöskonten', '8319', '0', 'Erlöse aus im Inland steuerpflichtigen EU-Lieferungen 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8320, 'SKR03', '8: Erlöskonten', '8320', '0', 'Erlöse aus im anderen EU-Land steuerpflichtigen Lieferungen, im Inland nicht steuerbar'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8321, 'SKR03', '8: Erlöskonten', '8321', '0', 'Erlöse aus im anderen EU-Land steuerpflichtigen Lieferungen, im Inland nicht steuerbar'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8322, 'SKR03', '8: Erlöskonten', '8322', '0', 'Erlöse aus im anderen EU-Land steuerpflichtigen Lieferungen, im Inland nicht steuerbar'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8323, 'SKR03', '8: Erlöskonten', '8323', '0', 'Erlöse aus im anderen EU-Land steuerpflichtigen Lieferungen, im Inland nicht steuerbar'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8324, 'SKR03', '8: Erlöskonten', '8324', '0', 'Erlöse aus im anderen EU-Land steuerpflichtigen Lieferungen, im Inland nicht steuerbar'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8325, 'SKR03', '8: Erlöskonten', '8325', '0', 'Erlöse aus im anderen EU-Land steuerpflichtigen Lieferungen, im Inland nicht steuerbar'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8326, 'SKR03', '8: Erlöskonten', '8326', '0', 'Erlöse aus im anderen EU-Land steuerpflichtigen Lieferungen, im Inland nicht steuerbar'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8327, 'SKR03', '8: Erlöskonten', '8327', '0', 'Erlöse aus im anderen EU-Land steuerpflichtigen Lieferungen, im Inland nicht steuerbar'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8328, 'SKR03', '8: Erlöskonten', '8328', '0', 'Erlöse aus im anderen EU-Land steuerpflichtigen Lieferungen, im Inland nicht steuerbar'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8329, 'SKR03', '8: Erlöskonten', '8329', '0', 'Erlöse aus im anderen EU-Land steuerpflichtigen Lieferungen, im Inland nicht steuerbar'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8330, 'SKR03', '8: Erlöskonten', '8330', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8331, 'SKR03', '8: Erlöskonten', '8331', '0', 'Erlöse aus im anderen EU-Land steuerpflichtigen elektronischen Dienstleistungen'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8332, 'SKR03', '8: Erlöskonten', '8332', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8333, 'SKR03', '8: Erlöskonten', '8333', '0', 'Erlöse 5 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8334, 'SKR03', '8: Erlöskonten', '8334', '0', 'Erlöse 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8335, 'SKR03', '8: Erlöskonten', '8335', '0', 'Erlöse aus Lieferungen von Mobilfunkgeräten, Tablet-Computern, Spielekonsolen und integrierten Schaltkreisen, für die der Leistungsempfänger die Umsatzsteuer nach § 13b UStG schuldet'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8336, 'SKR03', '8: Erlöskonten', '8336', '0', 'Erlöse aus im anderen EU-Land steuerpflichtigen sonstigen Leistungen, für die der Leistungsempfänger die Umsatzsteuer schuldet'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8337, 'SKR03', '8: Erlöskonten', '8337', '0', 'Erlöse aus Leistungen, für die der Leistungsempfänger die Umsatzsteuer nach § 13b UStG schuldet'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8338, 'SKR03', '8: Erlöskonten', '8338', '0', 'Erlöse aus im Drittland steuerbaren Leistungen, im Inland nicht steuerbare Umsätze'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8339, 'SKR03', '8: Erlöskonten', '8339', '0', 'Erlöse aus im anderen EU-Land steuerbaren Leistungen, im Inland nicht steuerbare Umsätze'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8340, 'SKR03', '8: Erlöskonten', '8340', '0', 'Erlöse 16 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8341, 'SKR03', '8: Erlöskonten', '8341', '0', 'Erlöse 16 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8342, 'SKR03', '8: Erlöskonten', '8342', '0', 'Erlöse 16 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8343, 'SKR03', '8: Erlöskonten', '8343', '0', 'Erlöse 16 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8344, 'SKR03', '8: Erlöskonten', '8344', '0', 'Erlöse 16 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8345, 'SKR03', '8: Erlöskonten', '8345', '0', 'Erlöse 16 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8346, 'SKR03', '8: Erlöskonten', '8346', '0', 'Erlöse 16 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8347, 'SKR03', '8: Erlöskonten', '8347', '0', 'Erlöse 16 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8348, 'SKR03', '8: Erlöskonten', '8348', '0', 'Erlöse 16 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8349, 'SKR03', '8: Erlöskonten', '8349', '0', 'Erlöse 16 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8400, 'SKR03', '8: Erlöskonten', '8400', '0', 'Erlöse 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8401, 'SKR03', '8: Erlöskonten', '8401', '0', 'Erlöse 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8402, 'SKR03', '8: Erlöskonten', '8402', '0', 'Erlöse 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8403, 'SKR03', '8: Erlöskonten', '8403', '0', 'Erlöse 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8404, 'SKR03', '8: Erlöskonten', '8404', '0', 'Erlöse 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8405, 'SKR03', '8: Erlöskonten', '8405', '0', 'Erlöse 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8406, 'SKR03', '8: Erlöskonten', '8406', '0', 'Erlöse 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8407, 'SKR03', '8: Erlöskonten', '8407', '0', 'Erlöse 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8408, 'SKR03', '8: Erlöskonten', '8408', '0', 'Erlöse 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8409, 'SKR03', '8: Erlöskonten', '8409', '0', 'Erlöse 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8410, 'SKR03', '8: Erlöskonten', '8410', '0', 'Erlöse 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8411, 'SKR03', '8: Erlöskonten', '8411', '0', 'Erlöse 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8412, 'SKR03', '8: Erlöskonten', '8412', '0', 'Erlöse 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8413, 'SKR03', '8: Erlöskonten', '8413', '0', 'Erlöse 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8414, 'SKR03', '8: Erlöskonten', '8414', '0', 'Erlöse 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8415, 'SKR03', '8: Erlöskonten', '8415', '0', 'Erlöse 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8416, 'SKR03', '8: Erlöskonten', '8416', '0', 'Erlöse 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8417, 'SKR03', '8: Erlöskonten', '8417', '0', 'Erlöse 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8418, 'SKR03', '8: Erlöskonten', '8418', '0', 'Erlöse 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8419, 'SKR03', '8: Erlöskonten', '8419', '0', 'Erlöse 19 % USt'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8420, 'SKR03', '8: Erlöskonten', '8420', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8421, 'SKR03', '8: Erlöskonten', '8421', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8422, 'SKR03', '8: Erlöskonten', '8422', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8423, 'SKR03', '8: Erlöskonten', '8423', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8424, 'SKR03', '8: Erlöskonten', '8424', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8425, 'SKR03', '8: Erlöskonten', '8425', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8426, 'SKR03', '8: Erlöskonten', '8426', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8427, 'SKR03', '8: Erlöskonten', '8427', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8428, 'SKR03', '8: Erlöskonten', '8428', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8429, 'SKR03', '8: Erlöskonten', '8429', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8430, 'SKR03', '8: Erlöskonten', '8430', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8431, 'SKR03', '8: Erlöskonten', '8431', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8432, 'SKR03', '8: Erlöskonten', '8432', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8433, 'SKR03', '8: Erlöskonten', '8433', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8434, 'SKR03', '8: Erlöskonten', '8434', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8435, 'SKR03', '8: Erlöskonten', '8435', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8436, 'SKR03', '8: Erlöskonten', '8436', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8437, 'SKR03', '8: Erlöskonten', '8437', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8438, 'SKR03', '8: Erlöskonten', '8438', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8439, 'SKR03', '8: Erlöskonten', '8439', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8440, 'SKR03', '8: Erlöskonten', '8440', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8441, 'SKR03', '8: Erlöskonten', '8441', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8442, 'SKR03', '8: Erlöskonten', '8442', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8443, 'SKR03', '8: Erlöskonten', '8443', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8444, 'SKR03', '8: Erlöskonten', '8444', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8445, 'SKR03', '8: Erlöskonten', '8445', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8446, 'SKR03', '8: Erlöskonten', '8446', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8447, 'SKR03', '8: Erlöskonten', '8447', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8448, 'SKR03', '8: Erlöskonten', '8448', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8449, 'SKR03', '8: Erlöskonten', '8449', '0', 'Erlöse aus im Inland steuerpflichtigen elektronischen Dienstleistungen 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8499, 'SKR03', '8: Erlöskonten', '8499', '0', 'Nebenerlöse (Bezug zu Materialaufwand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8500, 'SKR03', '8: Erlöskonten', '8500', '0', 'Sonderbetriebseinnahmen, Tätigkeitsvergütung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8501, 'SKR03', '8: Erlöskonten', '8501', '0', 'Sonderbetriebseinnahmen, Miet-/Pachteinnahmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8502, 'SKR03', '8: Erlöskonten', '8502', '0', 'Sonderbetriebseinnahmen, Zinseinnahmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8503, 'SKR03', '8: Erlöskonten', '8503', '0', 'Sonderbetriebseinnahmen, Haftungsvergütung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8504, 'SKR03', '8: Erlöskonten', '8504', '0', 'Sonderbetriebseinnahmen, Pensionszahlungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8505, 'SKR03', '8: Erlöskonten', '8505', '0', 'Sonderbetriebseinnahmen, sonstige Sonderbetriebseinnahmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8510, 'SKR03', '8: Erlöskonten', '8510', '0', 'Provisionsumsätze'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8511, 'SKR03', '8: Erlöskonten', '8511', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8512, 'SKR03', '8: Erlöskonten', '8512', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8513, 'SKR03', '8: Erlöskonten', '8513', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8514, 'SKR03', '8: Erlöskonten', '8514', '0', 'Provisionsumsätze, steuerfrei § 4 Nr. 8 ff. UStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8515, 'SKR03', '8: Erlöskonten', '8515', '0', 'Provisionsumsätze, steuerfrei § 4 Nr. 5 UStG'); +---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8516, 'SKR03', '8: Erlöskonten', '8516', '0', ''); +---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8517, 'SKR03', '8: Erlöskonten', '8517', '0', ''); +---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8518, 'SKR03', '8: Erlöskonten', '8518', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8519, 'SKR03', '8: Erlöskonten', '8519', '0', 'Provisionsumsätze 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8520, 'SKR03', '8: Erlöskonten', '8520', '0', 'Erlöse Abfallverwertung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8540, 'SKR03', '8: Erlöskonten', '8540', '0', 'Erlöse Leergut'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8570, 'SKR03', '8: Erlöskonten', '8570', '0', 'Sonstige Erträge aus Provisionen, Lizenzen und Patenten'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8571, 'SKR03', '8: Erlöskonten', '8571', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8572, 'SKR03', '8: Erlöskonten', '8572', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8573, 'SKR03', '8: Erlöskonten', '8573', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8574, 'SKR03', '8: Erlöskonten', '8574', '0', 'Sonstige Erträge aus Provisionen, Lizenzen und Patenten, steuerfrei § 4 Nr. 8 ff. UStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8575, 'SKR03', '8: Erlöskonten', '8575', '0', 'Sonstige Erträge aus Provisionen, Lizenzen und Patenten, steuerfrei § 4 Nr. 5 UStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8576, 'SKR03', '8: Erlöskonten', '8576', '0', 'Sonstige Erträge aus Provisionen, Lizenzen und Patenten 7 % USt'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8577, 'SKR03', '8: Erlöskonten', '8577', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8578, 'SKR03', '8: Erlöskonten', '8578', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8579, 'SKR03', '8: Erlöskonten', '8579', '0', 'Sonstige Erträge aus Provisionen, Lizenzen und Patenten 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8580, 'SKR03', '8: Erlöskonten', '8580', '0', 'Statistisches Konto Erlöse zum allgemeinen Umsatzsteuersatz (EÜR)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8581, 'SKR03', '8: Erlöskonten', '8581', '0', 'Statistisches Konto Erlöse zum ermäßigten Umsatzsteuersatz (EÜR)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8582, 'SKR03', '8: Erlöskonten', '8582', '0', 'Statistisches Konto Erlöse steuerfrei und nicht steuerbar (EÜR)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8589, 'SKR03', '8: Erlöskonten', '8589', '0', 'Gegenkonto 8580-8582 bei Aufteilung der Erlöse nach Steuersätzen (EÜR)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8590, 'SKR03', '8: Erlöskonten', '8590', '0', 'Verrechnete sonstige Sachbezüge (keine Waren)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8591, 'SKR03', '8: Erlöskonten', '8591', '0', 'Sachbezüge 7 % USt (Waren)'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8594, 'SKR03', '8: Erlöskonten', '8594', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8595, 'SKR03', '8: Erlöskonten', '8595', '0', 'Sachbezüge 19 % USt (Waren)'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8596, 'SKR03', '8: Erlöskonten', '8596', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8597, 'SKR03', '8: Erlöskonten', '8597', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8600, 'SKR03', '8: Erlöskonten', '8600', '0', 'Sonstige Erlöse betrieblich und regelmäßig'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8603, 'SKR03', '8: Erlöskonten', '8603', '0', 'Sonstige betriebliche Erträge'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8604, 'SKR03', '8: Erlöskonten', '8604', '0', 'Erstattete Vorsteuer anderer Länder'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8605, 'SKR03', '8: Erlöskonten', '8605', '0', 'Sonstige Erträge betrieblich und regelmäßig'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8606, 'SKR03', '8: Erlöskonten', '8606', '0', 'Sonstige betriebliche Erträge von verbundenen Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8607, 'SKR03', '8: Erlöskonten', '8607', '0', 'Andere Nebenerlöse'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8609, 'SKR03', '8: Erlöskonten', '8609', '0', 'Sonstige Erträge betrieblich und regelmäßig, steuerfrei § 4 Nr. 8 ff. UStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8610, 'SKR03', '8: Erlöskonten', '8610', '0', 'Verrechnete sonstige Sachbezüge'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8611, 'SKR03', '8: Erlöskonten', '8611', '0', 'Verrechnete sonstige Sachbezüge aus Fahrzeug-Gestellung 19 % USt'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8612, 'SKR03', '8: Erlöskonten', '8612', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8613, 'SKR03', '8: Erlöskonten', '8613', '0', 'Verrechnete sonstige Sachbezüge 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8614, 'SKR03', '8: Erlöskonten', '8614', '0', 'Verrechnete sonstige Sachbezüge ohne Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8625, 'SKR03', '8: Erlöskonten', '8625', '0', 'Sonstige betriebliche Erträge, steuerfrei z. B. § 4 Nr. 2 bis 7 UStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8626, 'SKR03', '8: Erlöskonten', '8626', '0', 'Sonstige betriebliche Erträge, steuerfrei z. B. § 4 Nr. 2 bis 7 UStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8627, 'SKR03', '8: Erlöskonten', '8627', '0', 'Sonstige betriebliche Erträge, steuerfrei z. B. § 4 Nr. 2 bis 7 UStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8628, 'SKR03', '8: Erlöskonten', '8628', '0', 'Sonstige betriebliche Erträge, steuerfrei z. B. § 4 Nr. 2 bis 7 UStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8629, 'SKR03', '8: Erlöskonten', '8629', '0', 'Sonstige betriebliche Erträge, steuerfrei z. B. § 4 Nr. 2 bis 7 UStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8630, 'SKR03', '8: Erlöskonten', '8630', '0', 'Sonstige Erträge betrieblich und regelmäßig 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8631, 'SKR03', '8: Erlöskonten', '8631', '0', 'Sonstige Erträge betrieblich und regelmäßig 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8632, 'SKR03', '8: Erlöskonten', '8632', '0', 'Sonstige Erträge betrieblich und regelmäßig 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8633, 'SKR03', '8: Erlöskonten', '8633', '0', 'Sonstige Erträge betrieblich und regelmäßig 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8634, 'SKR03', '8: Erlöskonten', '8634', '0', 'Sonstige Erträge betrieblich und regelmäßig 7 % USt'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8635, 'SKR03', '8: Erlöskonten', '8635', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8636, 'SKR03', '8: Erlöskonten', '8636', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8637, 'SKR03', '8: Erlöskonten', '8637', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8638, 'SKR03', '8: Erlöskonten', '8638', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8639, 'SKR03', '8: Erlöskonten', '8639', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8640, 'SKR03', '8: Erlöskonten', '8640', '0', 'Sonstige Erträge betrieblich und regelmäßig 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8641, 'SKR03', '8: Erlöskonten', '8641', '0', 'Sonstige Erträge betrieblich und regelmäßig 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8642, 'SKR03', '8: Erlöskonten', '8642', '0', 'Sonstige Erträge betrieblich und regelmäßig 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8643, 'SKR03', '8: Erlöskonten', '8643', '0', 'Sonstige Erträge betrieblich und regelmäßig 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8644, 'SKR03', '8: Erlöskonten', '8644', '0', 'Sonstige Erträge betrieblich und regelmäßig 19 % USt'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8645, 'SKR03', '8: Erlöskonten', '8645', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8646, 'SKR03', '8: Erlöskonten', '8646', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8647, 'SKR03', '8: Erlöskonten', '8647', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8648, 'SKR03', '8: Erlöskonten', '8648', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8649, 'SKR03', '8: Erlöskonten', '8649', '0', 'Sonstige Erträge betrieblich und regelmäßig 16 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8650, 'SKR03', '8: Erlöskonten', '8650', '0', 'Erlöse Zinsen und Diskontspesen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8660, 'SKR03', '8: Erlöskonten', '8660', '0', 'Erlöse Zinsen und Diskontspesen aus verbundenen Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8700, 'SKR03', '8: Erlöskonten', '8700', '0', 'Erlösschmälerungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8701, 'SKR03', '8: Erlöskonten', '8701', '0', 'Erlösschmälerungen für steuerfreie Umsätze nach § 4 Nr. 8 ff. UStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8702, 'SKR03', '8: Erlöskonten', '8702', '0', 'Erlösschmälerungen für steuerfreie Umsätze nach § 4 Nr. 2 bis 7 UStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8703, 'SKR03', '8: Erlöskonten', '8703', '0', 'Erlösschmälerungen für sonstige steuerfreie Umsätze ohne Vorsteuerabzug'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8704, 'SKR03', '8: Erlöskonten', '8704', '0', 'Erlösschmälerungen für sonstige steuerfreie Umsätze mit Vorsteuerabzug'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8705, 'SKR03', '8: Erlöskonten', '8705', '0', 'Erlösschmälerungen aus steuerfreien Umsätzen § 4 Nr. 1a UStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8706, 'SKR03', '8: Erlöskonten', '8706', '0', 'Erlösschmälerungen für steuerfreie innergemeinschaftliche Dreiecksgeschäfte nach § 25b Abs. 2 und 4 UStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8710, 'SKR03', '8: Erlöskonten', '8710', '0', 'Erlösschmälerungen 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8711, 'SKR03', '8: Erlöskonten', '8711', '0', 'Erlösschmälerungen 7 % USt'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8712, 'SKR03', '8: Erlöskonten', '8712', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8713, 'SKR03', '8: Erlöskonten', '8713', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8714, 'SKR03', '8: Erlöskonten', '8714', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8715, 'SKR03', '8: Erlöskonten', '8715', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8716, 'SKR03', '8: Erlöskonten', '8716', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8717, 'SKR03', '8: Erlöskonten', '8717', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8718, 'SKR03', '8: Erlöskonten', '8718', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8719, 'SKR03', '8: Erlöskonten', '8719', '0', 'Erlösschmälerungen 0 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8720, 'SKR03', '8: Erlöskonten', '8720', '0', 'Erlösschmälerungen 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8721, 'SKR03', '8: Erlöskonten', '8721', '0', 'Erlösschmälerungen 19 % USt'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8722, 'SKR03', '8: Erlöskonten', '8722', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8723, 'SKR03', '8: Erlöskonten', '8723', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8724, 'SKR03', '8: Erlöskonten', '8724', '0', 'Erlösschmälerungen aus steuerfreien innergemeinschaftlichen Lieferungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8725, 'SKR03', '8: Erlöskonten', '8725', '0', 'Erlösschmälerungen aus im Inland steuerpflichtigen EU-Lieferungen 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8726, 'SKR03', '8: Erlöskonten', '8726', '0', 'Erlösschmälerungen aus im Inland steuerpflichtigen EU-Lieferungen 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8727, 'SKR03', '8: Erlöskonten', '8727', '0', 'Erlösschmälerungen aus im anderen EU-Land steuerpflichtigen Lieferungen'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8728, 'SKR03', '8: Erlöskonten', '8728', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8729, 'SKR03', '8: Erlöskonten', '8729', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8730, 'SKR03', '8: Erlöskonten', '8730', '0', 'Gewährte Skonti'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8731, 'SKR03', '8: Erlöskonten', '8731', '0', 'Gewährte Skonti 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8732, 'SKR03', '8: Erlöskonten', '8732', '0', 'Gewährte Skonti 5 % USt'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8733, 'SKR03', '8: Erlöskonten', '8733', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8734, 'SKR03', '8: Erlöskonten', '8734', '0', 'Gewährte Skonti 0 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8735, 'SKR03', '8: Erlöskonten', '8735', '0', 'Gewährte Skonti 16 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8736, 'SKR03', '8: Erlöskonten', '8736', '0', 'Gewährte Skonti 19 % USt'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8737, 'SKR03', '8: Erlöskonten', '8737', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8738, 'SKR03', '8: Erlöskonten', '8738', '0', 'Gewährte Skonti aus Lieferungen von Mobilfunkgeräten etc., für die der Leistungsempfänger die Umsatzsteuer nach § 13b Abs. 2 Nr. 10 UStG schuldet'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8741, 'SKR03', '8: Erlöskonten', '8741', '0', 'Gewährte Skonti aus Leistungen, für die der Leistungsempfänger die Umsatzsteuer nach § 13b UStG schuldet'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8742, 'SKR03', '8: Erlöskonten', '8742', '0', 'Gewährte Skonti aus Erlösen aus im anderen EU-Land steuerpflichtigen sonstigen Leistungen, für die der Leistungsempfänger die Umsatzsteuer schuldet'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8743, 'SKR03', '8: Erlöskonten', '8743', '0', 'Gewährte Skonti aus steuerfreien innergemeinschaftlichen Lieferungen § 4 Nr. 1b UStG'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8744, 'SKR03', '8: Erlöskonten', '8744', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8745, 'SKR03', '8: Erlöskonten', '8745', '0', 'Gewährte Skonti aus im Inland steuerpflichtigen EU-Lieferungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8746, 'SKR03', '8: Erlöskonten', '8746', '0', 'Gewährte Skonti aus im Inland steuerpflichtigen EU-Lieferungen 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8747, 'SKR03', '8: Erlöskonten', '8747', '0', 'Gewährte Skonti aus im Inland steuerpflichtigen EU-Lieferungen 5 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8748, 'SKR03', '8: Erlöskonten', '8748', '0', 'Gewährte Skonti aus im Inland steuerpflichtigen EU-Lieferungen 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8749, 'SKR03', '8: Erlöskonten', '8749', '0', 'Gewährte Skonti aus im Inland steuerpflichtigen EU-Lieferungen 16 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8750, 'SKR03', '8: Erlöskonten', '8750', '0', 'Gewährte Boni 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8751, 'SKR03', '8: Erlöskonten', '8751', '0', 'Gewährte Boni 7 % USt'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8752, 'SKR03', '8: Erlöskonten', '8752', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8753, 'SKR03', '8: Erlöskonten', '8753', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8754, 'SKR03', '8: Erlöskonten', '8754', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8755, 'SKR03', '8: Erlöskonten', '8755', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8756, 'SKR03', '8: Erlöskonten', '8756', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8757, 'SKR03', '8: Erlöskonten', '8757', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8758, 'SKR03', '8: Erlöskonten', '8758', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8759, 'SKR03', '8: Erlöskonten', '8759', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8760, 'SKR03', '8: Erlöskonten', '8760', '0', 'Gewährte Boni 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8761, 'SKR03', '8: Erlöskonten', '8761', '0', 'Gewährte Boni 19 % USt'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8762, 'SKR03', '8: Erlöskonten', '8762', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8763, 'SKR03', '8: Erlöskonten', '8763', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8764, 'SKR03', '8: Erlöskonten', '8764', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8765, 'SKR03', '8: Erlöskonten', '8765', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8766, 'SKR03', '8: Erlöskonten', '8766', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8767, 'SKR03', '8: Erlöskonten', '8767', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8768, 'SKR03', '8: Erlöskonten', '8768', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8769, 'SKR03', '8: Erlöskonten', '8769', '0', 'Gewährte Boni'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8770, 'SKR03', '8: Erlöskonten', '8770', '0', 'Gewährte Rabatte'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8780, 'SKR03', '8: Erlöskonten', '8780', '0', 'Gewährte Rabatte 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8781, 'SKR03', '8: Erlöskonten', '8781', '0', 'Gewährte Rabatte 7 % USt'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8782, 'SKR03', '8: Erlöskonten', '8782', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8783, 'SKR03', '8: Erlöskonten', '8783', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8784, 'SKR03', '8: Erlöskonten', '8784', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8785, 'SKR03', '8: Erlöskonten', '8785', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8786, 'SKR03', '8: Erlöskonten', '8786', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8787, 'SKR03', '8: Erlöskonten', '8787', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8788, 'SKR03', '8: Erlöskonten', '8788', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8789, 'SKR03', '8: Erlöskonten', '8789', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8790, 'SKR03', '8: Erlöskonten', '8790', '0', 'Gewährte Rabatte 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8791, 'SKR03', '8: Erlöskonten', '8791', '0', 'Gewährte Rabatte 19 % USt'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8792, 'SKR03', '8: Erlöskonten', '8792', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8793, 'SKR03', '8: Erlöskonten', '8793', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8794, 'SKR03', '8: Erlöskonten', '8794', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8795, 'SKR03', '8: Erlöskonten', '8795', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8796, 'SKR03', '8: Erlöskonten', '8796', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8797, 'SKR03', '8: Erlöskonten', '8797', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8798, 'SKR03', '8: Erlöskonten', '8798', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8799, 'SKR03', '8: Erlöskonten', '8799', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8800, 'SKR03', '8: Erlöskonten', '8800', '0', 'Erlöse aus Verkäufen Sachanlagevermögen (bei Buchverlust)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8801, 'SKR03', '8: Erlöskonten', '8801', '0', 'Erlöse aus Verkäufen Sachanlagevermögen 19 % USt (bei Buchverlust)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8802, 'SKR03', '8: Erlöskonten', '8802', '0', 'Erlöse aus Verkäufen Sachanlagevermögen 19 % USt (bei Buchverlust)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8803, 'SKR03', '8: Erlöskonten', '8803', '0', 'Erlöse aus Verkäufen Sachanlagevermögen 19 % USt (bei Buchverlust)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8804, 'SKR03', '8: Erlöskonten', '8804', '0', 'Erlöse aus Verkäufen Sachanlagevermögen 19 % USt (bei Buchverlust)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8805, 'SKR03', '8: Erlöskonten', '8805', '0', 'Erlöse aus Verkäufen Sachanlagevermögen 19 % USt (bei Buchverlust)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8806, 'SKR03', '8: Erlöskonten', '8806', '0', 'Erlöse aus Verkäufen Sachanlagevermögen 19 % USt (bei Buchverlust)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8807, 'SKR03', '8: Erlöskonten', '8807', '0', 'Erlöse aus Verkäufen Sachanlagevermögen steuerfrei § 4 Nr. 1a UStG (bei Buchverlust)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8808, 'SKR03', '8: Erlöskonten', '8808', '0', 'Erlöse aus Verkäufen Sachanlagevermögen steuerfrei § 4 Nr. 1b UStG (bei Buchverlust)'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8809, 'SKR03', '8: Erlöskonten', '8809', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8810, 'SKR03', '8: Erlöskonten', '8810', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8811, 'SKR03', '8: Erlöskonten', '8811', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8812, 'SKR03', '8: Erlöskonten', '8812', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8813, 'SKR03', '8: Erlöskonten', '8813', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8814, 'SKR03', '8: Erlöskonten', '8814', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8815, 'SKR03', '8: Erlöskonten', '8815', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8816, 'SKR03', '8: Erlöskonten', '8816', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8817, 'SKR03', '8: Erlöskonten', '8817', '0', 'Erlöse aus Verkäufen immaterieller Vermögensgegenstände (bei Buchverlust)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8818, 'SKR03', '8: Erlöskonten', '8818', '0', 'Erlöse aus Verkäufen Finanzanlagen (bei Buchverlust)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8819, 'SKR03', '8: Erlöskonten', '8819', '0', 'Erlöse aus Verkäufen Finanzanlagen § 3 Nr. 40 EStG bzw. § 8b Abs. 3 KStG (bei Buchverlust)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8820, 'SKR03', '8: Erlöskonten', '8820', '0', 'Erlöse aus Verkäufen Sachanlagevermögen 19 % USt (bei Buchgewinn)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8821, 'SKR03', '8: Erlöskonten', '8821', '0', 'Erlöse aus Verkäufen Sachanlagevermögen 19 % USt (bei Buchgewinn)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8822, 'SKR03', '8: Erlöskonten', '8822', '0', 'Erlöse aus Verkäufen Sachanlagevermögen 19 % USt (bei Buchgewinn)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8823, 'SKR03', '8: Erlöskonten', '8823', '0', 'Erlöse aus Verkäufen Sachanlagevermögen 19 % USt (bei Buchgewinn)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8824, 'SKR03', '8: Erlöskonten', '8824', '0', 'Erlöse aus Verkäufen Sachanlagevermögen 19 % USt (bei Buchgewinn)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8825, 'SKR03', '8: Erlöskonten', '8825', '0', 'Erlöse aus Verkäufen Sachanlagevermögen 19 % USt (bei Buchgewinn)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8826, 'SKR03', '8: Erlöskonten', '8826', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8827, 'SKR03', '8: Erlöskonten', '8827', '0', 'Erlöse aus Verkäufen Sachanlagevermögen steuerfrei § 4 Nr. 1a UStG (bei Buchgewinn)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8828, 'SKR03', '8: Erlöskonten', '8828', '0', 'Erlöse aus Verkäufen Sachanlagevermögen steuerfrei § 4 Nr. 1b UStG (bei Buchgewinn)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8829, 'SKR03', '8: Erlöskonten', '8829', '0', 'Erlöse aus Verkäufen Sachanlagevermögen (bei Buchgewinn)'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8830, 'SKR03', '8: Erlöskonten', '8830', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8831, 'SKR03', '8: Erlöskonten', '8831', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8832, 'SKR03', '8: Erlöskonten', '8832', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8833, 'SKR03', '8: Erlöskonten', '8833', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8834, 'SKR03', '8: Erlöskonten', '8834', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8835, 'SKR03', '8: Erlöskonten', '8835', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8836, 'SKR03', '8: Erlöskonten', '8836', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8837, 'SKR03', '8: Erlöskonten', '8837', '0', 'Erlöse aus Verkäufen immaterieller Vermögensgegenstände (bei Buchgewinn)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8838, 'SKR03', '8: Erlöskonten', '8838', '0', 'Erlöse aus Verkäufen Finanzanlagen (bei Buchgewinn)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8839, 'SKR03', '8: Erlöskonten', '8839', '0', 'Erlöse aus Verkäufen Finanzanlagen § 3 Nr. 40 EStG bzw. § 8b Abs. 2 KStG (bei Buchgewinn)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8850, 'SKR03', '8: Erlöskonten', '8850', '0', 'Erlöse aus Verkäufen von Wirtschaftsgütern des Umlaufvermögens 19 % USt für § 4 Abs. 3 Satz 4 EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8851, 'SKR03', '8: Erlöskonten', '8851', '0', 'Erlöse aus Verkäufen von Wirtschaftsgütern des Umlaufvermögens, umsatzsteuerfrei § 4 Nr. 8 ff. UStG i. V. m. § 4 Abs. 3 Satz 4 EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8852, 'SKR03', '8: Erlöskonten', '8852', '0', 'Erlöse aus Verkäufen von Wirtschaftsgütern des Umlaufvermögens, umsatzsteuerfrei § 4 Nr. 8 ff. UStG i. V. m. § 4 Abs. 3 Satz 4 EStG und § 3 Nr. 40 EStG bzw. § 8b Abs. 2 KStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8853, 'SKR03', '8: Erlöskonten', '8853', '0', 'Erlöse aus Verkäufen von Wirtschaftsgütern des Umlaufvermögens nach § 4 Abs 3 Satz 4 EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8900, 'SKR03', '8: Erlöskonten', '8900', '0', 'Unentgeltliche Wertabgaben'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8905, 'SKR03', '8: Erlöskonten', '8905', '0', 'Entnahme von Gegenständen ohne USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8906, 'SKR03', '8: Erlöskonten', '8906', '0', 'Verwendung von Gegenständen für Zwecke außerhalb des Unternehmens ohne USt'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8908, 'SKR03', '8: Erlöskonten', '8908', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8909, 'SKR03', '8: Erlöskonten', '8909', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8910, 'SKR03', '8: Erlöskonten', '8910', '0', 'Entnahme durch den Unternehmer für Zwecke außerhalb des Unternehmens (Waren) 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8911, 'SKR03', '8: Erlöskonten', '8911', '0', 'Entnahme durch den Unternehmer für Zwecke außerhalb des Unternehmens (Waren) 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8912, 'SKR03', '8: Erlöskonten', '8912', '0', 'Entnahme durch den Unternehmer für Zwecke außerhalb des Unternehmens (Waren) 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8913, 'SKR03', '8: Erlöskonten', '8913', '0', 'Entnahme durch den Unternehmer für Zwecke außerhalb des Unternehmens (Waren) 19 % USt'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8914, 'SKR03', '8: Erlöskonten', '8914', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8915, 'SKR03', '8: Erlöskonten', '8915', '0', 'Entnahme durch den Unternehmer für Zwecke außerhalb des Unternehmens (Waren) 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8916, 'SKR03', '8: Erlöskonten', '8916', '0', 'Entnahme durch den Unternehmer für Zwecke außerhalb des Unternehmens (Waren) 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8917, 'SKR03', '8: Erlöskonten', '8917', '0', 'Entnahme durch den Unternehmer für Zwecke außerhalb des Unternehmens (Waren) 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8918, 'SKR03', '8: Erlöskonten', '8918', '0', 'Verwendung von Gegenständen für Zwecke außerhalb des Unternehmens ohne USt (Telefon-Nutzung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8919, 'SKR03', '8: Erlöskonten', '8919', '0', 'Entnahme durch den Unternehmer für Zwecke außerhalb des Unternehmens (Waren) ohne USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8920, 'SKR03', '8: Erlöskonten', '8920', '0', 'Verwendung von Gegenständen für Zwecke außerhalb des Unternehmens 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8921, 'SKR03', '8: Erlöskonten', '8921', '0', 'Verwendung von Gegenständen für Zwecke außerhalb des Unternehmens 19 % USt (Fahrzeug-Nutzung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8922, 'SKR03', '8: Erlöskonten', '8922', '0', 'Verwendung von Gegenständen für Zwecke außerhalb des Unternehmens 19 % USt (Telefon-Nutzung)'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8923, 'SKR03', '8: Erlöskonten', '8923', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8924, 'SKR03', '8: Erlöskonten', '8924', '0', 'Verwendung von Gegenständen für Zwecke außerhalb des Unternehmens ohne USt (Fahrzeug-Nutzung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8925, 'SKR03', '8: Erlöskonten', '8925', '0', 'Unentgeltliche Erbringung einer sonstigen Leistung 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8926, 'SKR03', '8: Erlöskonten', '8926', '0', 'Unentgeltliche Erbringung einer sonstigen Leistung 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8927, 'SKR03', '8: Erlöskonten', '8927', '0', 'Unentgeltliche Erbringung einer sonstigen Leistung 19 % USt'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8928, 'SKR03', '8: Erlöskonten', '8928', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8929, 'SKR03', '8: Erlöskonten', '8929', '0', 'Unentgeltliche Erbringung einer sonstigen Leistung ohne USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8930, 'SKR03', '8: Erlöskonten', '8930', '0', 'Verwendung von Gegenständen für Zwecke außerhalb des Unternehmens 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8931, 'SKR03', '8: Erlöskonten', '8931', '0', 'Verwendung von Gegenständen für Zwecke außerhalb des Unternehmens 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8932, 'SKR03', '8: Erlöskonten', '8932', '0', 'Unentgeltliche Erbringung einer sonstigen Leistung 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8933, 'SKR03', '8: Erlöskonten', '8933', '0', 'Unentgeltliche Erbringung einer sonstigen Leistung 7 % USt'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8934, 'SKR03', '8: Erlöskonten', '8934', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8935, 'SKR03', '8: Erlöskonten', '8935', '0', 'Unentgeltliche Zuwendung von Gegenständen 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8936, 'SKR03', '8: Erlöskonten', '8936', '0', 'Unentgeltliche Zuwendung von Gegenständen 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8937, 'SKR03', '8: Erlöskonten', '8937', '0', 'Unentgeltliche Zuwendung von Gegenständen 19 % USt'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8938, 'SKR03', '8: Erlöskonten', '8938', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8939, 'SKR03', '8: Erlöskonten', '8939', '0', 'Unentgeltliche Zuwendung von Gegenständen ohne USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8940, 'SKR03', '8: Erlöskonten', '8940', '0', 'Unentgeltliche Zuwendung von Waren 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8941, 'SKR03', '8: Erlöskonten', '8941', '0', 'Unentgeltliche Zuwendung von Waren 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8942, 'SKR03', '8: Erlöskonten', '8942', '0', 'Unentgeltliche Zuwendung von Waren 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8943, 'SKR03', '8: Erlöskonten', '8943', '0', 'Unentgeltliche Zuwendung von Waren 19 % USt'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8944, 'SKR03', '8: Erlöskonten', '8944', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8945, 'SKR03', '8: Erlöskonten', '8945', '0', 'Unentgeltliche Zuwendung von Waren 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8946, 'SKR03', '8: Erlöskonten', '8946', '0', 'Unentgeltliche Zuwendung von Waren 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8947, 'SKR03', '8: Erlöskonten', '8947', '0', 'Unentgeltliche Zuwendung von Waren 7 % USt'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8948, 'SKR03', '8: Erlöskonten', '8948', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8949, 'SKR03', '8: Erlöskonten', '8949', '0', 'Unentgeltliche Zuwendung von Waren ohne USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8950, 'SKR03', '8: Erlöskonten', '8950', '0', 'Nicht steuerbare Umsätze (Innenumsätze)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8955, 'SKR03', '8: Erlöskonten', '8955', '0', 'Umsatzsteuervergütungen, z. B. nach § 24 UStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8959, 'SKR03', '8: Erlöskonten', '8959', '0', 'Direkt mit dem Umsatz verbundene Steuern'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8960, 'SKR03', '8: Erlöskonten', '8960', '0', 'Bestandsveränderungen - unfertige Erzeugnisse'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8970, 'SKR03', '8: Erlöskonten', '8970', '0', 'Bestandsveränderungen - unfertige Leistungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8975, 'SKR03', '8: Erlöskonten', '8975', '0', 'Bestandsveränderungen - in Ausführung befindliche Bauaufträge'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8977, 'SKR03', '8: Erlöskonten', '8977', '0', 'Bestandsveränderungen - in Arbeit befindliche Aufträge'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8980, 'SKR03', '8: Erlöskonten', '8980', '0', 'Bestandsveränderungen - fertige Erzeugnisse'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8990, 'SKR03', '8: Erlöskonten', '8990', '0', 'Andere aktivierte Eigenleistungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8994, 'SKR03', '8: Erlöskonten', '8994', '8990', 'Aktivierte Eigenleistungen (den Herstellungskosten zurechenbare Fremdkapitalzinsen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8995, 'SKR03', '8: Erlöskonten', '8995', '8990', 'Aktivierte Eigenleistungen zur Erstellung von selbst geschaffenen immateriellen Vermögensgegenständen'); +---- 9: Vortrags-, Kapital-, Korrektur- und statistische Konten +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9000, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9000', '0', 'Saldenvorträge, Sachkonten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9001, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9001', '0', 'Saldenvorträge, Sachkonten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9002, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9002', '0', 'Saldenvorträge, Sachkonten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9003, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9003', '0', 'Saldenvorträge, Sachkonten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9004, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9004', '0', 'Saldenvorträge, Sachkonten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9005, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9005', '0', 'Saldenvorträge, Sachkonten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9006, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9006', '0', 'Saldenvorträge, Sachkonten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9007, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9007', '0', 'Saldenvorträge, Sachkonten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9008, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9008', '0', 'Saldenvorträge, Debitoren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9009, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9009', '0', 'Saldenvorträge, Kreditoren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9050, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9050', '0', 'Offene Posten aus 2020'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9051, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9051', '0', 'Offene Posten aus 2021'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9052, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9052', '0', 'Offene Posten aus 2022'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9053, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9053', '0', 'Offene Posten aus 2023'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9054, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9054', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9055, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9055', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9056, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9056', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9057, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9057', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9058, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9058', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9059, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9059', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9060, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9060', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9061, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9061', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9062, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9062', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9063, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9063', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9064, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9064', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9065, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9065', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9066, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9066', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9067, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9067', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9068, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9068', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9069, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9069', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9070, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9070', '0', 'Offene Posten aus 2000'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9071, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9071', '0', 'Offene Posten aus 2001'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9072, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9072', '0', 'Offene Posten aus 2002'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9073, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9073', '0', 'Offene Posten aus 2003'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9074, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9074', '0', 'Offene Posten aus 2004'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9075, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9075', '0', 'Offene Posten aus 2005'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9076, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9076', '0', 'Offene Posten aus 2006'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9077, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9077', '0', 'Offene Posten aus 2007'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9078, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9078', '0', 'Offene Posten aus 2008'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9079, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9079', '0', 'Offene Posten aus 2009'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9080, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9080', '0', 'Offene Posten aus 2010'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9081, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9081', '0', 'Offene Posten aus 2011'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9082, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9082', '0', 'Offene Posten aus 2012'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9083, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9083', '0', 'Offene Posten aus 2013'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9084, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9084', '0', 'Offene Posten aus 2014'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9085, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9085', '0', 'Offene Posten aus 2015'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9086, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9086', '0', 'Offene Posten aus 2016'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9087, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9087', '0', 'Offene Posten aus 2017'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9088, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9088', '0', 'Offene Posten aus 2018'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9089, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9089', '0', 'Offene Posten aus 2019'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9090, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9090', '0', 'Summenvortragskonto'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9091, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9091', '9090', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9092, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9092', '9090', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9093, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9093', '9090', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9094, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9094', '9090', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9095, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9095', '9090', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9096, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9096', '9090', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9097, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9097', '9090', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9098, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9098', '9090', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9099, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9099', '9090', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9100, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9100', '9090', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9101, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9101', '0', 'Verkaufstage'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9102, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9102', '0', 'Anzahl der Barkunden'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9103, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9103', '0', 'Beschäftigte Personen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9104, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9104', '0', 'Unbezahlte Personen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9105, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9105', '0', 'Verkaufskräfte'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9106, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9106', '0', 'Geschäftsraum qm'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9107, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9107', '0', 'Verkaufsraum qm'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9116, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9116', '0', 'Anzahl Rechnungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9117, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9117', '0', 'Anzahl Kreditkunden monatlich'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9118, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9118', '0', 'Anzahl Kreditkunden aufgelaufen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9120, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9120', '0', 'Erweiterungsinvestitionen'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9130, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9130', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9131, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9131', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9135, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9135', '0', 'Auftragseingang im Geschäftsjahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9140, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9140', '0', 'Auftragsbestand'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9141, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9141', '0', 'Variables Kapital TH'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9142, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9142', '0', 'Variables Kapital - Anteil Teilhafter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9143, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9143', '0', 'Privatsteuern Kapitalertragsteuer (Sammelposten)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9144, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9144', '0', 'Privatsteuern Solidaritätszuschlag (Sammelposten)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9145, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9145', '0', 'Privatsteuern Kirchensteuer (Sammelposten)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9146, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9146', '0', 'Variables Kapital Vollhafter - Übertragung einer § 6b EStG-Rücklage'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9147, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9147', '0', 'Variables Kapital Teilhafter - Übertragung einer § 6b EStG-Rücklage'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9148, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9148', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9149, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9149', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9150, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9150', '0', 'Festkapital - andere Kapitalkontenanpassungen VH'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9151, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9151', '0', 'Variables Kapital - andere Kapitalkontenanpassungen VH'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9152, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9152', '0', 'Verlust-/Vortragskonto - andere Kapitalkontenanpassungen VH'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9153, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9153', '0', 'Kapitalkonto III - andere Kapitalkontenanpassungen VH'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9154, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9154', '0', 'Ausstehende Einlagen auf das Komplementär-Kapital, nicht eingefordert - andere Kapitalkontenanpassungen VH'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9155, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9155', '0', 'Verrechnungskonto für Einzahlungsverpflichtungen - andere Kapitalkontenanpassungen VH'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9156, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9156', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9157, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9157', '0', 'Privatsteuern Kapitalertragsteuer (VH)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9158, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9158', '0', 'Privatsteuern Solidaritätszuschlag (VH)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9159, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9159', '0', 'Privatsteuern Kirchensteuer (VH)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9160, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9160', '0', 'Kommandit-Kapital - andere Kapitalkontenanpassungen TH'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9161, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9161', '0', 'Variables Kapital - andere Kapitalkontenanpassungen TH'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9162, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9162', '0', 'Verlustausgleichskonto - andere Kapitalkontenanpassungen TH'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9163, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9163', '0', 'Kapitalkonto III - andere Kapitalkontenanpassungen TH'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9164, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9164', '0', 'Ausstehende Einlagen auf das Kommandit-Kapital, nicht eingefordert - andere Kapitalkontenanpassungen TH'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9165, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9165', '0', 'Verrechnungskonto für Einzahlungsverpflichtungen - andere Kapitalkontenanpassungen TH'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9166, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9166', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9167, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9167', '0', 'Privatsteuern Kapitalertragsteuer (TH), EK'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9168, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9168', '0', 'Privatsteuern Solidaritätszuschlag (TH), EK'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9169, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9169', '0', 'Privatsteuern Kirchensteuer (TH), EK'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9170, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9170', '0', 'Festkapital - Umbuchungen VH'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9171, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9171', '0', 'Variables Kapital - Umbuchungen VH'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9172, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9172', '0', 'Verlust-/Vortragskonto - Umbuchungen VH'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9173, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9173', '0', 'Kapitalkonto III - Umbuchungen VH'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9174, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9174', '0', 'Ausstehende Einlagen auf das Komplementär-Kapital, nicht eingefordert - Umbuchungen VH'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9175, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9175', '0', 'Verrechnungskonto für Einzahlungsverpflichtungen - Umbuchungen VH'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9176, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9176', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9177, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9177', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9178, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9178', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9179, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9179', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9180, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9180', '0', 'Kommandit-Kapital - Umbuchungen TH'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9181, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9181', '0', 'Variables Kapital - Umbuchungen TH'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9182, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9182', '0', 'Verlustausgleichskonto - Umbuchungen TH'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9183, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9183', '0', 'Kapitalkonto III - Umbuchungen TH'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9184, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9184', '0', 'Ausstehende Einlagen auf das Kommandit-Kapital, nicht eingefordert - Umbuchungen TH'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9185, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9185', '0', 'Verrechnungskonto für Einzahlungsverpflichtungen - Umbuchungen TH'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9186, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9186', '0', 'Privatsteuern Kapitalertragsteuer (TH), FK'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9187, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9187', '0', 'Privatsteuern Solidaritätszuschlag (TH), FK'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9188, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9188', '0', 'Privatsteuern Kirchensteuer (TH), FK'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9189, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9189', '0', 'Verrechnungskonto für Umbuchungen zwischen Gesellschafter-Eigenkapitalkonten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9190, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9190', '0', 'Gegenkonto für statistische Mengeneinheiten Konten 9101-9107 und Konten 9116-9118'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9199, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9199', '0', 'Gegenkonto zu Konten 9120, 9135-9140'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9200, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9200', '0', 'Beschäftigte Personen'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9201, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9201', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9202, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9202', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9203, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9203', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9204, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9204', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9205, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9205', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9206, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9206', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9207, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9207', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9208, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9208', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9209, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9209', '0', 'Gegenkonto zu 9200'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9210, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9210', '0', 'Produktive Löhne'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9219, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9219', '0', 'Gegenkonto zu 9210'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9220, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9220', '0', 'Gezeichnetes Kapital in DM (Art. 42 Abs. 3 Satz 1 EGHGB)'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9221, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9221', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9229, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9229', '0', 'Gegenkonto zu 9220'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9240, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9240', '0', 'Investitionsverbindlichkeiten bei den Leistungsverbindlichkeiten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9241, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9241', '0', 'Investitionsverbindlichkeiten aus Sachanlagekäufen bei Leistungsverbindlichkeiten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9242, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9242', '0', 'Investitionsverbindlichkeiten aus Käufen von immateriellen Vermögensgegenständen bei Leistungsverbindlichkeiten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9243, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9243', '0', 'Investitionsverbindlichkeiten aus Käufen von Finanzanlagen bei Leistungsverbindlichkeiten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9244, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9244', '0', 'Gegenkonto zu Konten 9240-9243'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9245, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9245', '0', 'Forderungen aus Sachanlageverkäufen bei sonstigen Vermögensgegenständen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9246, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9246', '0', 'Forderungen aus Verkäufen immaterieller Vermögensgegenstände bei sonstigen Vermögensgegenständen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9247, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9247', '0', 'Forderungen aus Verkäufen von Finanzanlagen bei sonstigen Vermögensgegenständen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9249, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9249', '0', 'Gegenkonto zu Konten 9245-9247'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9258, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9258', '0', 'Änderung steuerlicher Ausgleichsposten (ohne Ergebnisverwendung – Körperschaften)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9259, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9259', '0', 'Änderung steuerlicher Ausgleichsposten (ohne Ergebnisverwendung - Personengesellschaften, Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9260, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9260', '0', 'Kurzfristige Rückstellungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9262, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9262', '0', 'Mittelfristige Rückstellungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9264, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9264', '0', 'Langfristige Rückstellungen, außer Pensionen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9269, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9269', '0', 'Gegenkonto zu Konten 9260-9268'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9270, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9270', '0', 'Gegenkonto zu 9271-9279 (Soll-Buchung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9271, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9271', '0', 'Verbindlichkeiten aus der Begebung und Übertragung von Wechseln'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9272, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9272', '0', 'Verbindlichkeiten aus der Begebung und Übertragung von Wechseln gegenüber verbundenen/assoziierten Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9273, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9273', '0', 'Verbindlichkeiten aus Bürgschaften, Wechsel- und Scheckbürgschaften'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9274, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9274', '0', 'Verbindlichkeiten aus Bürgschaften, Wechsel- und Scheckbürgschaften gegenüber verbundenen/assoziierten Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9275, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9275', '0', 'Verbindlichkeiten aus Gewährleistungsverträgen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9276, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9276', '0', 'Verbindlichkeiten aus Gewährleistungsverträgen gegenüber verbundenen/assoziierten Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9277, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9277', '0', 'Haftung aus der Bestellung von Sicherheiten für fremde Verbindlichkeiten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9278, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9278', '0', 'Haftung aus der Bestellung von Sicherheiten für fremde Verbindlichkeiten gegenüber verbundenen/assoziierten Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9279, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9279', '0', 'Verpflichtungen aus Treuhandvermögen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9280, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9280', '0', 'Gegenkonto zu 9281-9284'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9281, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9281', '0', 'Verpflichtungen aus Miet- und Leasingverträgen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9282, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9282', '0', 'Verpflichtungen aus Miet- und Leasingverträgen gegenüber verbundenen Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9283, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9283', '0', 'Andere Verpflichtungen nach § 285 Nr. 3a HGB'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9284, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9284', '0', 'Andere Verpflichtungen nach § 285 Nr. 3a HGB gegenüber verbundenen Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9285, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9285', '0', 'Unterschiedsbetrag aus der Abzinsung von Altersversorgungsverpflichtungen nach § 253 Abs. 6 HGB (Haben)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9286, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9286', '0', 'Gegenkonto zu 9285'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9287, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9287', '0', 'Zinsen bei Buchungen über Debitoren bei § 4 Abs. 3 EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9288, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9288', '0', 'Mahngebühren bei Buchungen über Debitoren bei § 4 Abs. 3 EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9289, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9289', '0', 'Gegenkonto zu 9287 und 9288'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9290, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9290', '0', 'Statistisches Konto steuerfreie Auslagen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9291, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9291', '0', 'Gegenkonto zu 9290'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9292, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9292', '0', 'Statistisches Konto Fremdgeld'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9293, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9293', '0', 'Gegenkonto zu 9292'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9295, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9295', '0', 'Einlagen atypisch stiller Gesellschafter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9297, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9297', '0', 'Steuerlicher Ausgleichsposten (Körperschaften)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9298, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9298', '0', 'Steuerlicher Ausgleichsposten VH (Personengesellschaften, Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9299, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9299', '0', 'Steuerlicher Ausgleichsposten TH (Personengesellschaften)'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9300, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9300', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9301, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9301', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9302, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9302', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9303, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9303', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9304, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9304', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9305, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9305', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9306, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9306', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9307, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9307', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9308, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9308', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9309, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9309', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9310, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9310', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9311, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9311', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9312, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9312', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9313, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9313', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9314, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9314', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9315, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9315', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9316, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9316', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9317, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9317', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9318, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9318', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9319, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9319', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9320, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9320', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9326, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9326', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9327, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9327', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9328, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9328', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9329, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9329', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9330, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9330', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9331, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9331', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9332, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9332', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9333, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9333', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9334, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9334', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9335, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9335', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9336, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9336', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9337, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9337', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9338, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9338', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9339, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9339', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9340, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9340', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9341, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9341', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9342, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9342', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9343, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9343', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9346, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9346', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9347, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9347', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9348, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9348', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9349, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9349', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9357, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9357', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9358, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9358', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9359, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9359', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9360, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9360', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9365, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9365', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9366, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9366', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9367, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9367', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9371, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9371', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9372, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9372', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9390, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9390', '0', '(Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9391, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9391', '0', '(Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9392, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9392', '0', '(Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9393, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9393', '0', '(Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9394, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9394', '0', '(Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9395, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9395', '0', '(Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9396, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9396', '0', '(Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9397, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9397', '0', '(Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9398, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9398', '0', '(Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9399, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9399', '0', '(Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9400, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9400', '0', 'Privatentnahmen allgemein (TH), EK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9401, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9401', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9402, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9402', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9403, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9403', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9404, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9404', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9405, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9405', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9406, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9406', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9407, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9407', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9408, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9408', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9409, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9409', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9410, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9410', '0', 'Privatsteuern (TH), EK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9411, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9411', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9412, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9412', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9413, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9413', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9414, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9414', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9415, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9415', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9416, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9416', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9417, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9417', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9418, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9418', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9419, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9419', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9420, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9420', '0', 'Sonderausgaben beschränkt abzugsfähig (TH), EK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9421, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9421', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9422, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9422', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9423, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9423', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9424, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9424', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9425, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9425', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9426, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9426', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9427, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9427', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9428, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9428', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9429, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9429', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9430, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9430', '0', 'Sonderausgaben unbeschränkt abzugsfähig (TH), EK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9431, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9431', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9432, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9432', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9433, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9433', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9434, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9434', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9435, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9435', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9436, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9436', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9437, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9437', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9438, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9438', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9439, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9439', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9440, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9440', '0', 'Zuwendungen, Spenden (TH), EK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9441, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9441', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9442, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9442', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9443, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9443', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9444, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9444', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9445, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9445', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9446, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9446', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9447, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9447', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9448, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9448', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9449, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9449', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9450, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9450', '0', 'Außergewöhnliche Belastungen (TH), EK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9451, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9451', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9452, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9452', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9453, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9453', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9454, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9454', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9455, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9455', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9456, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9456', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9457, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9457', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9458, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9458', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9459, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9459', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9460, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9460', '0', 'Grundstücksaufwand (TH), EK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9461, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9461', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9462, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9462', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9463, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9463', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9464, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9464', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9465, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9465', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9466, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9466', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9467, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9467', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9468, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9468', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9469, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9469', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9470, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9470', '0', 'Grundstücksertrag (TH), EK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9471, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9471', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9472, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9472', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9473, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9473', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9474, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9474', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9475, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9475', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9476, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9476', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9477, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9477', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9478, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9478', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9479, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9479', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9480, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9480', '0', 'Unentgeltliche Wertabgaben (TH), EK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9481, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9481', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9482, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9482', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9483, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9483', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9484, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9484', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9485, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9485', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9486, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9486', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9487, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9487', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9488, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9488', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9489, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9489', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9490, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9490', '0', 'Privateinlagen (TH), EK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9491, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9491', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9492, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9492', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9493, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9493', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9494, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9494', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9495, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9495', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9496, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9496', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9497, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9497', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9498, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9498', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9499, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9499', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9500, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9500', '0', 'Anteil für Konto 0900 Teilhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9501, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9501', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9502, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9502', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9503, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9503', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9504, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9504', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9505, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9505', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9506, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9506', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9507, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9507', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9508, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9508', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9509, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9509', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9510, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9510', '0', 'Anteil für Konto 0910 Teilhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9511, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9511', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9512, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9512', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9513, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9513', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9514, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9514', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9515, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9515', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9516, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9516', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9517, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9517', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9518, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9518', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9519, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9519', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9520, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9520', '0', 'Anteil für Konto 0920 Teilhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9521, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9521', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9522, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9522', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9523, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9523', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9524, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9524', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9525, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9525', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9526, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9526', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9527, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9527', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9528, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9528', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9529, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9529', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9530, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9530', '0', 'Anteil für Konto 9950 Teilhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9531, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9531', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9532, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9532', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9533, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9533', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9534, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9534', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9535, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9535', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9536, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9536', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9537, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9537', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9538, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9538', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9539, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9539', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9540, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9540', '0', 'Anteil für Konto 9930 Vollhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9541, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9541', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9542, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9542', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9543, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9543', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9544, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9544', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9545, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9545', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9546, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9546', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9547, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9547', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9548, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9548', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9549, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9549', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9550, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9550', '0', 'Anteil für Konto 9810 Vollhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9551, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9551', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9552, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9552', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9553, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9553', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9554, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9554', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9555, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9555', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9556, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9556', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9557, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9557', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9558, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9558', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9559, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9559', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9560, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9560', '0', 'Anteil für Konto 9820 Vollhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9561, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9561', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9562, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9562', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9563, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9563', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9564, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9564', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9565, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9565', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9566, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9566', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9567, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9567', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9568, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9568', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9569, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9569', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9570, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9570', '0', 'Anteil für Konto 0870 Vollhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9571, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9571', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9572, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9572', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9573, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9573', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9574, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9574', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9575, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9575', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9576, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9576', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9577, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9577', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9578, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9578', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9579, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9579', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9580, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9580', '0', 'Anteil für Konto 0880 Vollhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9581, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9581', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9582, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9582', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9583, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9583', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9584, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9584', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9585, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9585', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9586, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9586', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9587, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9587', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9588, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9588', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9589, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9589', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9590, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9590', '0', 'Anteil für Konto 0890 Vollhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9591, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9591', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9592, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9592', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9593, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9593', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9594, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9594', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9595, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9595', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9596, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9596', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9597, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9597', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9598, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9598', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9599, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9599', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9600, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9600', '0', 'Name des Gesellschafters Vollhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9601, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9601', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9602, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9602', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9603, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9603', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9604, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9604', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9605, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9605', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9606, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9606', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9607, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9607', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9608, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9608', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9609, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9609', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9610, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9610', '0', 'Tätigkeitsvergütung Vollhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9611, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9611', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9612, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9612', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9613, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9613', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9614, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9614', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9615, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9615', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9616, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9616', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9617, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9617', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9618, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9618', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9619, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9619', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9620, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9620', '0', 'Tantieme Vollhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9621, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9621', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9622, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9622', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9623, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9623', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9624, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9624', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9625, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9625', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9626, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9626', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9627, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9627', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9628, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9628', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9629, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9629', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9630, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9630', '0', 'Darlehensverzinsung Vollhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9631, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9631', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9632, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9632', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9633, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9633', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9634, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9634', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9635, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9635', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9636, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9636', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9637, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9637', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9638, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9638', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9639, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9639', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9640, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9640', '0', 'Gebrauchsüberlassung Vollhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9641, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9641', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9642, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9642', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9643, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9643', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9644, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9644', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9645, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9645', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9646, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9646', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9647, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9647', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9648, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9648', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9649, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9649', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9650, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9650', '0', 'Sonstige Vergütungen Vollhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9651, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9651', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9652, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9652', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9653, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9653', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9654, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9654', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9655, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9655', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9656, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9656', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9657, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9657', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9658, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9658', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9659, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9659', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9660, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9660', '0', 'Sonstige Vergütungen Vollhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9661, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9661', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9662, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9662', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9663, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9663', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9664, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9664', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9665, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9665', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9666, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9666', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9667, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9667', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9668, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9668', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9669, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9669', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9670, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9670', '0', 'Sonstige Vergütungen Vollhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9671, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9671', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9672, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9672', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9673, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9673', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9674, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9674', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9675, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9675', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9676, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9676', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9677, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9677', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9678, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9678', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9679, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9679', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9680, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9680', '0', 'Sonstige Vergütungen Vollhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9681, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9681', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9682, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9682', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9683, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9683', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9684, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9684', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9685, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9685', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9686, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9686', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9687, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9687', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9688, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9688', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9689, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9689', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9690, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9690', '0', 'Restanteil Vollhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9691, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9691', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9692, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9692', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9693, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9693', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9694, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9694', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9695, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9695', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9696, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9696', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9697, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9697', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9698, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9698', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9699, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9699', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9700, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9700', '0', 'Name des Gesellschafters Teilhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9701, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9701', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9702, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9702', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9703, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9703', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9704, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9704', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9705, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9705', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9706, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9706', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9707, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9707', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9708, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9708', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9709, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9709', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9710, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9710', '0', 'Tätigkeitsvergütung Teilhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9711, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9711', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9712, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9712', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9713, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9713', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9714, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9714', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9715, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9715', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9716, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9716', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9717, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9717', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9718, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9718', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9719, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9719', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9720, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9720', '0', 'Tantieme Teilhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9721, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9721', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9722, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9722', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9723, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9723', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9724, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9724', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9725, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9725', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9726, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9726', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9727, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9727', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9728, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9728', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9729, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9729', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9730, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9730', '0', 'Darlehensverzinsung Teilhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9731, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9731', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9732, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9732', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9733, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9733', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9734, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9734', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9735, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9735', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9736, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9736', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9737, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9737', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9738, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9738', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9739, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9739', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9740, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9740', '0', 'Gebrauchsüberlassung Teilhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9741, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9741', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9742, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9742', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9743, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9743', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9744, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9744', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9745, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9745', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9746, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9746', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9747, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9747', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9748, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9748', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9749, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9749', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9750, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9750', '0', 'Sonstige Vergütungen Teilhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9751, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9751', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9752, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9752', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9753, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9753', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9754, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9754', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9755, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9755', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9756, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9756', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9757, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9757', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9758, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9758', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9759, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9759', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9760, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9760', '0', 'Sonstige Vergütungen Teilhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9761, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9761', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9762, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9762', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9763, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9763', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9764, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9764', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9765, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9765', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9766, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9766', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9767, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9767', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9768, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9768', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9769, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9769', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9770, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9770', '0', 'Sonstige Vergütungen Teilhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9771, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9771', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9772, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9772', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9773, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9773', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9774, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9774', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9775, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9775', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9776, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9776', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9777, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9777', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9778, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9778', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9779, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9779', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9780, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9780', '0', 'Anteil für Konto 9840 Teilhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9781, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9781', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9782, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9782', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9783, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9783', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9784, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9784', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9785, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9785', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9786, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9786', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9787, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9787', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9788, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9788', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9789, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9789', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9790, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9790', '0', 'Restanteil Teilhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9791, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9791', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9792, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9792', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9793, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9793', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9794, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9794', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9795, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9795', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9796, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9796', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9797, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9797', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9798, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9798', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9799, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9799', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9800, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9800', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9802, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9802', '0', 'Gesamthänderisch gebundene Rücklagen - andere Kapitalkontenanpassungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9803, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9803', '0', 'Gewinnvortrag/Verlustvortrag - andere Kapitalkontenanpassungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9804, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9804', '0', 'Gesamthänderisch gebundene Rücklagen - Umbuchungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9805, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9805', '0', 'Gewinnvortrag/Verlustvortrag – Umbuchungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9806, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9806', '0', 'Zuzurechnender Anteil am Jahresüberschuss/Jahresfehlbetrag - je Gesellschafter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9807, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9807', '0', 'Zuzurechnender Anteil am Bilanzgewinn/Bilanzverlust - je Gesellschafter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9808, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9808', '0', 'Gegenkonto für zuzurechnenden Anteil am Jahresüberschuss/Jahresfehlbetrag'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9809, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9809', '0', 'Gegenkonto für zuzurechnenden Anteil am Bilanzgewinn/Bilanzverlust'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9810, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9810', '0', 'Kapitalkonto III'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9811, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9811', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9812, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9812', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9813, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9813', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9814, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9814', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9815, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9815', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9816, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9816', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9817, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9817', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9818, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9818', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9819, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9819', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9820, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9820', '0', 'Verlust-/Vortragskonto'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9821, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9821', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9822, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9822', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9823, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9823', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9824, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9824', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9825, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9825', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9826, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9826', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9827, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9827', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9828, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9828', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9829, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9829', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9830, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9830', '0', 'Verrechnungskonto für Einzahlungsverpflichtungen'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9831, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9831', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9832, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9832', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9833, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9833', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9834, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9834', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9835, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9835', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9836, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9836', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9837, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9837', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9838, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9838', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9839, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9839', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9840, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9840', '0', 'Kapitalkonto III'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9841, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9841', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9842, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9842', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9843, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9843', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9844, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9844', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9845, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9845', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9846, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9846', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9847, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9847', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9848, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9848', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9849, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9849', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9850, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9850', '0', 'Verrechnungskonto für Einzahlungsverpflichtungen'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9851, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9851', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9852, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9852', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9853, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9853', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9854, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9854', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9855, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9855', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9856, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9856', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9857, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9857', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9858, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9858', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9859, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9859', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9860, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9860', '0', 'Einzahlungsverpflichtungen persönlich haftender Gesellschafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9861, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9861', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9862, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9862', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9863, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9863', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9864, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9864', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9865, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9865', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9866, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9866', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9867, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9867', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9868, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9868', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9869, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9869', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9870, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9870', '0', 'Einzahlungsverpflichtungen Kommanditisten'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9871, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9871', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9872, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9872', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9873, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9873', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9874, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9874', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9875, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9875', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9876, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9876', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9877, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9877', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9878, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9878', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9879, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9879', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9880, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9880', '0', 'Ausgleichsposten für aktivierte eigene Anteile'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9883, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9883', '0', 'Nicht durch Vermögenseinlagen gedeckte Entnahmen persönlich haftender Gesellschafter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9884, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9884', '0', 'Nicht durch Vermögenseinlagen gedeckte Entnahmen Kommanditisten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9885, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9885', '0', 'Verrechnungskonto für nicht durch Vermögenseinlagen gedeckte Entnahmen persönlich haftender Gesellschafter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9886, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9886', '0', 'Verrechnungskonto für nicht durch Vermögenseinlagen gedeckte Entnahmen Kommanditisten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9887, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9887', '0', 'Steueraufwand der Gesellschafter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9889, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9889', '0', 'Gegenkonto zu 9887'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9890, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9890', '0', 'Statistisches Konto für den Gewinnzuschlag nach §§ 6b und 6c EStG (Haben)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9891, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9891', '0', 'Statistisches Konto für den Gewinnzuschlag nach §§ 6b und 6c EStG (Soll) - Gegenkonto zu 9890'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9892, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9892', '0', 'Veränderung der gesamthänderisch gebundenen Rücklagen (Einlagen/Entnahmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9893, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9893', '0', 'Umsatzsteuer in den Forderungen zum allgemeinen Umsatzsteuersatz (EÜR)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9894, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9894', '0', 'Umsatzsteuer in den Forderungen zum ermäßigten Umsatzsteuersatz (EÜR)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9895, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9895', '0', 'Gegenkonto 9893-9894 für die Aufteilung der Umsatzsteuer (EÜR)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9896, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9896', '0', 'Vorsteuer in den Verbindlichkeiten zum allgemeinen Umsatzsteuersatz (EÜR)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9897, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9897', '0', 'Vorsteuer in den Verbindlichkeiten zum ermäßigten Umsatzsteuersatz (EÜR)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9898, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9898', '0', 'Vorsteuer in den Verbindlichkeiten aus verschiedenen Kosten (EÜR)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9899, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9899', '0', 'Gegenkonto 9896-9897 für die Aufteilung der Vorsteuer (EÜR)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9900, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9900', '0', 'Umsatzsteuer nicht fällig - sonstige Erlöse (EÜR)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9901, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9901', '0', 'Gegenkonto zu 9900'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9902, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9902', '0', 'Umsatzsteuer in den Forderungen aus sonstigen Erlösen (EÜR)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9910, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9910', '0', 'Gegenkonto zur Minderung der Entnahmen § 4 Abs. 4a EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9911, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9911', '0', 'Minderung der Entnahmen § 4 Abs. 4a EStG (Haben)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9912, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9912', '0', 'Erhöhung der Entnahmen § 4 Abs. 4a EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9913, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9913', '0', 'Gegenkonto zur Erhöhung der Entnahmen § 4 Abs. 4a EStG (Haben)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9914, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9914', '0', 'Hinzurechnung Investitionsabzugsbetrag § 7g Abs. 2 EStG aus dem 4. vorangegangenen Wirtschaftsjahr, außerbilanziell (Haben)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9915, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9915', '0', 'Rückgängigmachung Investitionsabzugsbetrag § 7g Abs. 3 und 4 EStG im 4. vorangegangenen Wirtschaftsjahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9916, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9916', '0', 'Hinzurechnung Investitionsabzugsbetrag § 7g Abs. 2 EStG aus dem 2. vorangegangenen Wirtschaftsjahr, außerbilanziell (Haben)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9917, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9917', '0', 'Hinzurechnung Investitionsabzugsbetrag § 7g Abs. 2 EStG aus dem 3. vorangegangenen Wirtschaftsjahr, außerbilanziell (Haben)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9918, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9918', '0', 'Rückgängigmachung Investitionsabzugsbetrag § 7g Abs. 3 und 4 EStG im 2. vorangegangenen Wirtschaftsjahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9919, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9919', '0', 'Rückgängigmachung Investitionsabzugsbetrag § 7g Abs. 3 und 4 EStG im 3. vorangegangenen Wirtschaftsjahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9920, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9920', '0', 'Ausstehende Einlagen auf das Komplementär-Kapital, nicht eingefordert'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9921, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9921', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9922, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9922', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9923, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9923', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9924, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9924', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9925, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9925', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9926, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9926', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9927, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9927', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9928, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9928', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9929, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9929', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9930, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9930', '0', 'Ausstehende Einlagen auf das Komplementär-Kapital, eingefordert'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9931, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9931', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9932, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9932', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9933, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9933', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9934, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9934', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9935, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9935', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9936, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9936', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9937, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9937', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9938, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9938', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9939, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9939', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9940, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9940', '0', 'Ausstehende Einlagen auf das Kommandit-Kapital, nicht eingefordert'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9941, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9941', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9942, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9942', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9943, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9943', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9944, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9944', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9945, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9945', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9946, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9946', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9947, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9947', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9948, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9948', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9949, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9949', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9950, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9950', '0', 'Ausstehende Einlagen auf das Kommandit-Kapital, eingefordert'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9951, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9951', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9952, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9952', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9953, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9953', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9954, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9954', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9955, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9955', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9956, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9956', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9957, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9957', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9958, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9958', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9959, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9959', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9960, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9960', '0', 'Bewertungskorrektur zu Forderungen aus Lieferungen und Leistungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9961, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9961', '0', 'Bewertungskorrektur zu sonstigen Verbindlichkeiten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9962, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9962', '0', 'Bewertungskorrektur zu Guthaben bei Kreditinstituten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9963, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9963', '0', 'Bewertungskorrektur zu Verbindlichkeiten gegenüber Kreditinstituten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9964, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9964', '0', 'Bewertungskorrektur zu Verbindlichkeiten aus Lieferungen und Leistungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9965, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9965', '0', 'Bewertungskorrektur zu sonstigen Vermögensgegenständen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9966, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9966', '0', 'Hinzurechnung Investitionsabzugsbetrag § 7g Abs. 2 EStG aus dem 6. vorangegangenen Wirtschaftsjahr, außerbilanziell (Haben)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9967, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9967', '0', 'Rückgängigmachung Investitionsabzugsbetrag § 7g Abs. 3 und 4 EStG im 6. vorangegangenen Wirtschaftsjahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9968, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9968', '0', 'Hinzurechnung Investitionsabzugsbetrag § 7g Abs. 2 EStG aus dem 5. vorangegangenen Wirtschaftsjahr, außerbilanziell (Haben)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9969, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9969', '0', 'Rückgängigmachung Investitionsabzugsbetrag § 7g Abs. 3 und 4 EStG im 5. vorangegangenen Wirtschaftsjahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9970, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9970', '0', 'Investitionsabzugsbetrag § 7g Abs. 1 EStG, außerbilanziell (Soll)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9971, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9971', '0', 'Investitionsabzugsbetrag § 7g Abs. 1 EStG, außerbilanziell (Haben) - Gegenkonto zu 9970'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9972, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9972', '0', 'Hinzurechnung Investitionsabzugsbetrag § 7g Abs. 2 EStG aus dem vorangegangenen Wirtschaftsjahr, außerbilanziell (Haben)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9973, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9973', '0', 'Hinzurechnung Investitionsabzugsbetrag § 7g Abs. 2 EStG aus den vorangegangenen Wirtschaftsjahren, außerbilanziell (Soll) - Gegenkonto zu 9972, 9914, 9916, 9917, 9968, 9966'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9974, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9974', '0', 'Rückgängigmachung Investitionsabzugsbetrag § 7g Abs. 3 und 4 EStG im vorangegangenen Wirtschaftsjahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9975, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9975', '0', 'Rückgängigmachung Investitionsabzugsbetrag § 7g Abs. 3 und 4 EStG in den vorangegangenen Wirtschaftsjahren - Gegenkonto zu 9974, 9915, 9918, 9919, 9969, 9967'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9976, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9976', '0', 'Nicht abzugsfähige Zinsaufwendungen nach § 4h EStG (Haben)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9977, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9977', '0', 'Nicht abzugsfähige Zinsaufwendungen nach § 4h EStG (Soll) - Gegenkonto zu 9976'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9978, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9978', '0', 'Abziehbare Zinsaufwendungen aus Vorjahren nach § 4h EStG (Soll)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9979, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9979', '0', 'Abziehbare Zinsaufwendungen aus Vorjahren nach § 4h EStG (Haben) - Gegenkonto zu 9978'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9980, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9980', '0', 'Anteil Belastung auf Verbindlichkeitskonten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9981, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9981', '0', 'Verrechnungskonto für Anteil Belastung auf Verbindlichkeitskonten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9982, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9982', '0', 'Anteil Gutschrift auf Verbindlichkeitskonten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9983, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9983', '0', 'Verrechnungskonto für Anteil Gutschrift auf Verbindlichkeitskonten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9984, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9984', '0', 'Gewinnkorrektur nach § 60 Abs. 2 EStDV - Erhöhung handelsrechtliches Ergebnis durch Habenbuchung - Minderung handelsrechtliches Ergebnis durch Sollbuchung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9985, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9985', '0', 'Gegenkonto zu 9984'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9986, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9986', '0', 'Ergebnisverteilung auf Fremdkapital'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9987, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9987', '0', 'Korrekturkonto für die Überleitungsrechnung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9989, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9989', '0', 'Gegenkonto zu 9986-9988'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9990, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9990', '0', 'Erträge von außergewöhnlicher Größenordnung oder Bedeutung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9991, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9991', '0', 'Erträge (aperiodisch)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9992, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9992', '0', 'Erträge von außergewöhnlicher Größenordnung oder Bedeutung (aperiodisch)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9993, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9993', '0', 'Aufwendungen von außergewöhnlicher Größenordnung oder Bedeutung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9994, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9994', '0', 'Aufwendungen (aperiodisch)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9995, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9995', '0', 'Aufwendungen von außergewöhnlicher Größenordnung oder Bedeutung (aperiodisch)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 9998, 'SKR03', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9998', '0', 'Gegenkonto zu 9990-9997'); +---- 10-99: Personenkonten +----for x in {10000..69999}; do echo "INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, $x, 'SKR03', '10-99: Personenkonten', '$x', '0', 'Debitoren');"; done +----for x in {70000..99999}; do echo "INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, $x, 'SKR03', '10-99: Personenkonten', '$x', '0', 'Kreditoren');"; done -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1, 'SKR03', '0', '0001', '0', 'Aufwendungen für die Ingangsetzung und Erweiterung des Geschäftsbetriebs'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2, 'SKR03', '0', '0002', '0', 'Aufwendungen für die Währungsumstellung auf den Euro'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 10, 'SKR03', '0', '0010', '0', 'Konzessionen gewerbliche Schutzrechte und ähnliche Rechte und Werte sowie Lizenzen an solchen Rechten und Werten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 15, 'SKR03', '0', '0015', '10', 'Konzessionen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 20, 'SKR03', '0', '0020', '10', 'Gewerbliche Schutzrechte'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 25, 'SKR03', '0', '0025', '10', 'ähnliche Rechte und Werte'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 27, 'SKR03', '0', '0027', '10', 'EDV-Software'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 30, 'SKR03', '0', '0030', '10', 'Lizenzen an gewerblichen Schutzrechten und ähnlichen Rechten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 35, 'SKR03', '0', '0035', '0', 'Geschäfts- oder Firmenwert'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 38, 'SKR03', '0', '0038', '0', 'Anzahlungen auf Geschäfts- oder Firmenwert'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 39, 'SKR03', '0', '0039', '0', 'Anzahlungen auf immaterielle Vermögensgegenstände'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 40, 'SKR03', '0', '0040', '0', 'Verschmelzungsmehrwert'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 50, 'SKR03', '0', '0050', '0', 'Grundstücke grundstücksgleiche Rechte und Bauten einschließlich der Bauten auf fremden Grundstücken'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 59, 'SKR03', '0', '0059', '50', 'Grundstücksanteil des häuslichen Arbeitszimmers.'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 60, 'SKR03', '0', '0060', '0', 'Grundstücke und grundstücksgleiche Rechte ohne Bauten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 65, 'SKR03', '0', '0065', '60', 'Unbebaute Grundstücke'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 70, 'SKR03', '0', '0070', '60', 'Grundstücksgleiche Rechte - (erbbaurecht Daürwohnrecht)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 75, 'SKR03', '0', '0075', '60', 'Grundstücke mit Substanzverzehr'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 79, 'SKR03', '0', '0079', '60', 'Anzahlungen auf Grundstücke und grundstücksgleiche Rechte ohne Bauten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 80, 'SKR03', '0', '0080', '0', 'Bauten auf eigenen Grundstücken und grundstücksgleichen Rechten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 85, 'SKR03', '0', '0085', '80', 'Grundstückswerte eigener bebauter Grundstücke'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 90, 'SKR03', '0', '0090', '80', 'Geschäftsbauten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100, 'SKR03', '0', '0100', '80', 'Fabrikbauten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 110, 'SKR03', '0', '0110', '80', 'Garagen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1055, 'SKR03', '0', '0111', '80', 'Außenanlagen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1056, 'SKR03', '0', '0112', '80', 'Hof- und Wegebefestigungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1057, 'SKR03', '0', '0113', '80', 'Einrichtung Fabrik- und Geschäftsbauten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1058, 'SKR03', '0', '0115', '80', 'Andere Bauten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1059, 'SKR03', '0', '0120', '80', 'Geschäfts- Fabrik- und andere Bauten im Bau'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1060, 'SKR03', '0', '0129', '80', 'Anzahlungen auf Geshäfts- Fabrik- und andere Bauten auf eigenen Grundstücken und grundstücksgleichen Rechten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1061, 'SKR03', '0', '0140', '80', 'Wohnbauten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1062, 'SKR03', '0', '0145', '80', 'Garagen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1063, 'SKR03', '0', '0146', '80', 'Aussenanlagen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1064, 'SKR03', '0', '0147', '80', 'Hof- und Wegebefestigungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1065, 'SKR03', '0', '0148', '80', 'Einrichtungen für Wohnbauten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1066, 'SKR03', '0', '0149', '80', 'Gebäudeteil des häuslichen Arbeitszimmers'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1067, 'SKR03', '0', '0150', '80', 'Wohnbauten im Bau'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1068, 'SKR03', '0', '0159', '80', 'Anzahlgen auf Wohnbauten auf eigenen Grundstücken und grundstücksgleichen Rechten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1069, 'SKR03', '0', '0160', '0', 'Bauten auf fremden Grundstücken'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1070, 'SKR03', '0', '0165', '160', 'Geschäftsbauten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1071, 'SKR03', '0', '0170', '160', 'Fabrikbauten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1072, 'SKR03', '0', '0175', '160', 'Garagen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1073, 'SKR03', '0', '0176', '160', 'Aussenanlagen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1074, 'SKR03', '0', '0177', '160', 'Hof- und Wegebefestigungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1075, 'SKR03', '0', '0178', '160', 'Einrichtung für Fabrik- und Geschäftsbauten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1076, 'SKR03', '0', '0179', '160', 'Andere Bauten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1077, 'SKR03', '0', '0180', '160', 'Geschäfts- Fabrik- und andere Bauten im Bau'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1078, 'SKR03', '0', '0189', '160', 'Anzahlungen auf Geschäfts- Fabrik- und andere Bauten auf fremden Grundstücken'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1079, 'SKR03', '0', '0190', '160', 'Wohnbauten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1080, 'SKR03', '0', '0191', '160', 'Garagen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1081, 'SKR03', '0', '0192', '160', 'Aussenanlagen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1082, 'SKR03', '0', '0193', '160', 'Hof- und Wegebefestigungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1083, 'SKR03', '0', '0194', '160', 'Einrichtungen für Wohnbauten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1084, 'SKR03', '0', '0195', '160', 'Wohnbauten im Bau'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1085, 'SKR03', '0', '0199', '160', 'Anzahlungen a. Wohnbauten auf fremden Grundstücken'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1087, 'SKR03', '0', '0200', '0', 'Technische Anlagen und Maschinen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1088, 'SKR03', '0', '0210', '200', 'Maschinen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1089, 'SKR03', '0', '0220', '200', 'Maschinengebundene Werkzeuge'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1090, 'SKR03', '0', '0240', '200', 'Maschinelle Anlagen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1091, 'SKR03', '0', '0260', '200', 'Transportanlagen und ähnliches'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1092, 'SKR03', '0', '0280', '200', 'Betriebsvorrichtungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1093, 'SKR03', '0', '0290', '200', 'Technische Anlagen und Maschinen im Bau'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1094, 'SKR03', '0', '0299', '200', 'Anzahlungen auf technische Anlagen und Maschinen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1096, 'SKR03', '0', '0300', '0', 'Andere Anlagen Betriebs- und Geschäftsausstattung'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1097, 'SKR03', '0', '0310', '300', 'Andere Anlagen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1098, 'SKR03', '0', '0320', '300', 'PKW'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1099, 'SKR03', '0', '0350', '300', 'LKW'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1100, 'SKR03', '0', '0380', '300', 'Sonstige Transportmittel'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1101, 'SKR03', '0', '0400', '300', 'Betriebsausstattung'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1102, 'SKR03', '0', '0410', '300', 'Geschäftsausstattung'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1103, 'SKR03', '0', '0420', '300', 'Büroeinrichtung'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1104, 'SKR03', '0', '0430', '300', 'Ladeneinrichtung'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1105, 'SKR03', '0', '0440', '300', 'Werkzeuge'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1106, 'SKR03', '0', '0450', '300', 'Einbauten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1107, 'SKR03', '0', '0460', '300', 'Gerüst- und Schalungsmaterial'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1108, 'SKR03', '0', '0480', '300', 'Geringwertige Wirtschaftsgüter bis 410 Euro'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1109, 'SKR03', '0', '0490', '300', 'Sonstige Betriebs- und Geschäftsausstattung'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1110, 'SKR03', '0', '0498', '300', 'Andere Anlagen Betriebs- und Geschäftsausstattung im Bau'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1111, 'SKR03', '0', '0499', '300', 'Anzahlungen auf andere Anlagen Betriebs- und Geschäftsausstattung'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1114, 'SKR03', '0', '0500', '0', 'Anteile an verbundenen Unternehmen (Anlagevermögen)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1115, 'SKR03', '0', '0504', '500', 'Anteile an herrschender oder mit Mehrheit beteiligter Gesellschaft'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1117, 'SKR03', '0', '0505', '500', 'Ausleihungen an verbundene Unternehmen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1119, 'SKR03', '0', '0510', '500', 'Beteiligungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1120, 'SKR03', '0', '0513', '510', 'Typisch stille Beteiligungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1121, 'SKR03', '0', '0516', '510', 'Atypisch stille Beteiligungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1122, 'SKR03', '0', '0517', '510', 'Andere Beteiligungen an Kapitalgesellschaften'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1123, 'SKR03', '0', '0518', '510', 'Andere Beteiligungen an Personengesellschaften'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1124, 'SKR03', '0', '0519', '510', 'Beteiligung einer GmbH&Co.KG an einer Komplementär GmbH'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1126, 'SKR03', '0', '0520', '0', 'Ausleihungen an Unternehmen mit denen ein Beteiligungsverhältnis besteht'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1128, 'SKR03', '0', '0525', '520', 'Wertpapiere des Anlagevermögens'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1129, 'SKR03', '0', '0530', '525', 'Wertpapiere mit Gewinnbeteiligungsansprüchen die dem Halbeinkünfteverfahren unterliegen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1130, 'SKR03', '0', '0535', '525', 'Festverzinsliche Wertpapiere'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1132, 'SKR03', '0', '0540', '0', 'Sonstige Ausleihungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1133, 'SKR03', '0', '0550', '540', 'Darlehen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1135, 'SKR03', '0', '0570', '0', 'Genossenschaftsanteile zum langfristigen Verbleib'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1136, 'SKR03', '0', '0580', '570', 'Ausleihungen an Gesellschafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1137, 'SKR03', '0', '0590', '570', 'Ausleihungen an nahe stehende Personen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1139, 'SKR03', '0', '0595', '0', 'Rückdeckungsansprüche aus Lebensversicherungen zum langfristigen Verbleib'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1142, 'SKR03', '0', '0600', '0', 'Anleihen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1143, 'SKR03', '0', '0601', '600', 'Anleihen nicht konvertibel (bis 1 Jahr)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1144, 'SKR03', '0', '0605', '600', 'Anleihen nicht konvertibel (1-5 Jahre)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1145, 'SKR03', '0', '0610', '600', 'Anleihen nicht konvertibel (größer 5 Jahre)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1146, 'SKR03', '0', '0615', '600', 'Anleihen konvertibel'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1147, 'SKR03', '0', '0616', '600', 'Anleihen konvertibel(bis 1 Jahr)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1148, 'SKR03', '0', '0620', '600', 'Anleihen konvertibel(1-5 Jahre)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1149, 'SKR03', '0', '0625', '600', 'Anleihen konvertibel(größer 5 Jahre)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1151, 'SKR03', '0', '0630', '0', 'Verbindlichkeiten gegenüber Kreditinstituten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1152, 'SKR03', '0', '0631', '630', 'Verbindlichkeiten gegenüber Kreditinstitut ( bis 1Jahr )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1153, 'SKR03', '0', '0640', '630', 'Verbindlichkeiten gegenüber Kreditinstitut (1 bis 5 Jahre )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1154, 'SKR03', '0', '0650', '630', 'Verbindlichkeiten gegenüber Kreditinstitut (größer 5 Jahre )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1155, 'SKR03', '0', '0660', '630', 'Verbindlichkeit. gegenüber Kreditinstituten aus Teilzahlungsverträgen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1156, 'SKR03', '0', '0661', '630', 'Verbindlichkeit. gegenüber Kreditinstituten aus Teilzahlungsverträgen ( bis 1Jahr )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1157, 'SKR03', '0', '0670', '630', 'Verbindlichkeit. gegenüber Kreditinstituten aus Teilzahlungsverträgen (1 bis 5 Jahre )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1158, 'SKR03', '0', '0680', '630', 'Verbindlichkeit. gegenüber Kreditinstituten aus Teilzahlungsverträgen (größer 5 Jahre )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1159, 'SKR03', '0', '0690', '630', '(frei in Bilanz kein Restlaufzeitvermerk)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1160, 'SKR03', '0', '0691', '630', '(frei in Bilanz kein Restlaufzeitvermerk)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1161, 'SKR03', '0', '0692', '630', '(frei in Bilanz kein Restlaufzeitvermerk)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1162, 'SKR03', '0', '0693', '630', '(frei in Bilanz kein Restlaufzeitvermerk)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1163, 'SKR03', '0', '0694', '630', '(frei in Bilanz kein Restlaufzeitvermerk)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1164, 'SKR03', '0', '0695', '630', '(frei in Bilanz kein Restlaufzeitvermerk)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1165, 'SKR03', '0', '0696', '630', '(frei in Bilanz kein Restlaufzeitvermerk)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1166, 'SKR03', '0', '0697', '630', '(frei in Bilanz kein Restlaufzeitvermerk)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1167, 'SKR03', '0', '0698', '630', '(frei in Bilanz kein Restlaufzeitvermerk)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1169, 'SKR03', '0', '0699', '600', 'Gegenkonto 0630-0689 bei Aufteilung der Konten 0690-0698'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1171, 'SKR03', '0', '0700', '600', 'Verbindlichkeiten gegenüber verbundenen Unternehmen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1172, 'SKR03', '0', '0701', '700', 'Verbindlichkeiten gegenüber verbundenen Unternehmen ( bis 1 Jahr )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1173, 'SKR03', '0', '0705', '700', 'Verbindlichkeiten gegenüber verbundenen Unternehmen ( 1 bis 5 Jahre )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1174, 'SKR03', '0', '0710', '700', 'Verbindlichkeiten gegenüber verbundenen Unternehmen ( größer 5 Jahre )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1176, 'SKR03', '0', '0715', '600', 'Verbindlichkeit. gegenüber Unternehmen mit denen ein Beteiligungsverhältnis besteht'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1177, 'SKR03', '0', '0716', '600', 'Verbindlichkeit. gegenüber Unternehmen mit denen ein Beteiligungsverhältnis besteht ( bis 1 Jahr )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1178, 'SKR03', '0', '0720', '600', 'Verbindlichkeit. gegenüber Unternehmen mit denen ein Beteiligungsverhältnis besteht ( 1 bis 5 Jahre )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1179, 'SKR03', '0', '0725', '600', 'Verbindlichkeit. gegenüber Unternehmen mit denen ein Beteiligungsverhältnis besteht ( größer 5 Jahre)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1181, 'SKR03', '0', '0730', '600', 'Verbindlichkeit gegenüber Gesellschaftern'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1182, 'SKR03', '0', '0731', '730', 'Verbindlichkeit gegenüber Gesellschaftern ( bis 1 Jahr )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1183, 'SKR03', '0', '0740', '730', 'Verbindlichkeit gegenüber Gesellschaftern ( 1 bis 5 Jahre )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1184, 'SKR03', '0', '0750', '730', 'Verbindlichkeit gegenüber Gesellschaftern ( größer 5 Jahre )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1185, 'SKR03', '0', '0755', '730', 'Verbindlichkeit gegenüber Gesellschaftern für offene Ausschüttungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1186, 'SKR03', '0', '0760', '730', 'Darlehen typisch stiller Gesellschafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1187, 'SKR03', '0', '0761', '730', 'Darlehen typisch stiller Gesellschafter ( bis 1 Jahr)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1188, 'SKR03', '0', '0764', '730', 'Darlehen typisch stiller Gesellschafter ( 1 bis 5 Jahre )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1189, 'SKR03', '0', '0767', '730', 'Darlehen typisch stiller Gesellschafter ( größer 5 Jahre )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1190, 'SKR03', '0', '0770', '730', 'Darlehen atypisch stiller Gesellschafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1191, 'SKR03', '0', '0771', '730', 'Darlehen atypisch stiller Gesellschafter ( bis 1 Jahr)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1192, 'SKR03', '0', '0774', '730', 'Darlehen atypisch stiller Gesellschafter ( 1 bis 5 Jahre )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1193, 'SKR03', '0', '0777', '730', 'Darlehen atypisch stiller Gesellschafter ( größer 5 Jahre )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1194, 'SKR03', '0', '0780', '730', 'Partiarische Darlehen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1195, 'SKR03', '0', '0781', '730', 'Partiarische Darlehen ( bis 1 Jahr )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1196, 'SKR03', '0', '0784', '730', 'Partiarische Darlehen ( 1 bis 5 Jahre )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1197, 'SKR03', '0', '0787', '730', 'Partiarische Darlehen ( größer 5 Jahre )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1198, 'SKR03', '0', '0790', '730', '(frei in Bilanz kein Restlaufzeitvermerk)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1199, 'SKR03', '0', '0791', '730', '(frei in Bilanz kein Restlaufzeitvermerk)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1200, 'SKR03', '0', '0792', '730', '(frei in Bilanz kein Restlaufzeitvermerk)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1201, 'SKR03', '0', '0793', '730', '(frei in Bilanz kein Restlaufzeitvermerk)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1202, 'SKR03', '0', '0794', '730', '(frei in Bilanz kein Restlaufzeitvermerk)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1203, 'SKR03', '0', '0795', '730', '(frei in Bilanz kein Restlaufzeitvermerk)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1204, 'SKR03', '0', '0796', '730', '(frei in Bilanz kein Restlaufzeitvermerk)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1205, 'SKR03', '0', '0797', '730', '(frei in Bilanz kein Restlaufzeitvermerk)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1206, 'SKR03', '0', '0798', '730', '(frei in Bilanz kein Restlaufzeitvermerk)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1207, 'SKR03', '0', '0799', '730', 'Gegenkonto 0730 - 0789 bei Aufteilung der Konten 0790 - 0798'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1210, 'SKR03', '0', '0800', '0', 'Gezeichnetes Kapital'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1212, 'SKR03', '0', '0801', '801', 'Ausstehende Einlagen auf das gezeichnete Kapital'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1213, 'SKR03', '0', '0802', '801', 'Ausstehende Einlagen auf das gezeichnete Kapital nicht eingefordert (Aktivausweis)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1214, 'SKR03', '0', '0803', '801', 'Ausstehende Einlagen auf das gezeichnete Kapital nicht eingefordert (Aktivausweis)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1215, 'SKR03', '0', '0804', '801', 'Ausstehende Einlagen auf das gezeichnete Kapital nicht eingefordert (Aktivausweis)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1216, 'SKR03', '0', '0805', '801', 'Ausstehende Einlagen auf das gezeichnete Kapital nicht eingefordert (Aktivausweis)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1217, 'SKR03', '0', '0806', '801', 'Ausstehende Einlagen auf das gezeichnete Kapital nicht eingefordert (Aktivausweis)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1218, 'SKR03', '0', '0807', '801', 'Ausstehende Einlagen auf das gezeichnete Kapital nicht eingefordert (Aktivausweis)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1219, 'SKR03', '0', '0808', '801', 'Ausstehende Einlagen auf das gezeichnete Kapital nicht eingefordert (Aktivausweis)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1220, 'SKR03', '0', '0809', '801', 'Ausstehende Einlagen auf das gezeichnete Kapital nicht eingefordert (Aktivausweis)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1221, 'SKR03', '0', '0810', '801', 'Ausstehende Einlagen auf das gezeichnete Kapital eingefordert (Aktivausweis)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1222, 'SKR03', '0', '0811', '801', 'Ausstehende Einlagen auf das gezeichnete Kapital eingefordert (Aktivausweis)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1223, 'SKR03', '0', '0812', '801', 'Ausstehende Einlagen auf das gezeichnete Kapital eingefordert (Aktivausweis)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1224, 'SKR03', '0', '0813', '801', 'Ausstehende Einlagen auf das gezeichnete Kapital eingefordert (Aktivausweis)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1225, 'SKR03', '0', '0814', '801', 'Ausstehende Einlagen auf das gezeichnete Kapital eingefordert (Aktivausweis)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1226, 'SKR03', '0', '0815', '801', 'Ausstehende Einlagen auf das gezeichnete Kapital eingefordert (Aktivausweis)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1227, 'SKR03', '0', '0816', '801', 'Ausstehende Einlagen auf das gezeichnete Kapital eingefordert (Aktivausweis)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1228, 'SKR03', '0', '0817', '801', 'Ausstehende Einlagen auf das gezeichnete Kapital eingefordert (Aktivausweis)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1229, 'SKR03', '0', '0818', '801', 'Ausstehende Einlagen auf das gezeichnete Kapital eingefordert (Aktivausweis)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1230, 'SKR03', '0', '0819', '801', 'Ausstehende Einlagen auf das gezeichnete Kapital eingefordert (Aktivausweis)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1232, 'SKR03', '0', '0820', '820', 'Ausstehende Einlagen auf das gezeichnete Kapital nicht eingefordert (Passivausweis von gezeichnetem Kapital offen abgesetzt eingeforderte ausstehende Einlagen s. Konten 0830 - 0838 )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1233, 'SKR03', '0', '0821', '800', 'Ausstehende Einlagen auf das gezeichnete Kapital nicht eingefordert (Passivausweis von gezeichnetem Kapital offen abgesetzt eingeforderte ausstehende Einlagen s. Konten 0830 - 0838 )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1234, 'SKR03', '0', '0822', '820', 'Ausstehende Einlagen auf das gezeichnete Kapital nicht eingefordert (Passivausweis von gezeichnetem Kapital offen abgesetzt eingeforderte ausstehende Einlagen s. Konten 0830 - 0838 )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1235, 'SKR03', '0', '0823', '820', 'Ausstehende Einlagen auf das gezeichnete Kapital nicht eingefordert (Passivausweis von gezeichnetem Kapital offen abgesetzt eingeforderte ausstehende Einlagen s. Konten 0830 - 0838 )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1236, 'SKR03', '0', '0824', '820', 'Ausstehende Einlagen auf das gezeichnete Kapital nicht eingefordert (Passivausweis von gezeichnetem Kapital offen abgesetzt eingeforderte ausstehende Einlagen s. Konten 0830 - 0838 )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1237, 'SKR03', '0', '0825', '820', 'Ausstehende Einlagen auf das gezeichnete Kapital nicht eingefordert (Passivausweis von gezeichnetem Kapital offen abgesetzt eingeforderte ausstehende Einlagen s. Konten 0830 - 0838 )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1238, 'SKR03', '0', '0826', '820', 'Ausstehende Einlagen auf das gezeichnete Kapital nicht eingefordert (Passivausweis von gezeichnetem Kapital offen abgesetzt eingeforderte ausstehende Einlagen s. Konten 0830 - 0838 )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1239, 'SKR03', '0', '0827', '820', 'Ausstehende Einlagen auf das gezeichnete Kapital nicht eingefordert (Passivausweis von gezeichnetem Kapital offen abgesetzt eingeforderte ausstehende Einlagen s. Konten 0830 - 0838 )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1240, 'SKR03', '0', '0828', '820', 'Ausstehende Einlagen auf das gezeichnete Kapital nicht eingefordert (Passivausweis von gezeichnetem Kapital offen abgesetzt eingeforderte ausstehende Einlagen s. Konten 0830 - 0838 )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1241, 'SKR03', '0', '0829', '820', 'Ausstehende Einlagen auf das gezeichnete Kapital nicht eingefordert (Passivausweis von gezeichnetem Kapital offen abgesetzt eingeforderte ausstehende Einlagen s. Konten 0830 - 0838 )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1243, 'SKR03', '0', '0830', '800', 'Ausstehende Einlagen auf das gezeichnete Kapital eingefordert ( Forderungen nicht eingeforderte ausstehende Einlagen s. Konten 0820 - 0829 )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1244, 'SKR03', '0', '0831', '830', 'Ausstehende Einlagen auf das gezeichnete Kapital eingefordert ( Forderungen nicht eingeforderte ausstehende Einlagen s. Konten 0820 - 0829 )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1245, 'SKR03', '0', '0832', '830', 'Ausstehende Einlagen auf das gezeichnete Kapital eingefordert ( Forderungen nicht eingeforderte ausstehende Einlagen s. Konten 0820 - 0829 )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1246, 'SKR03', '0', '0833', '830', 'Ausstehende Einlagen auf das gezeichnete Kapital eingefordert ( Forderungen nicht eingeforderte ausstehende Einlagen s. Konten 0820 - 0829 )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1247, 'SKR03', '0', '0834', '830', 'Ausstehende Einlagen auf das gezeichnete Kapital eingefordert ( Forderungen nicht eingeforderte ausstehende Einlagen s. Konten 0820 - 0829 )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1248, 'SKR03', '0', '0835', '830', 'Ausstehende Einlagen auf das gezeichnete Kapital eingefordert ( Forderungen nicht eingeforderte ausstehende Einlagen s. Konten 0820 - 0829 )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1249, 'SKR03', '0', '0836', '830', 'Ausstehende Einlagen auf das gezeichnete Kapital eingefordert ( Forderungen nicht eingeforderte ausstehende Einlagen s. Konten 0820 - 0829 )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1250, 'SKR03', '0', '0837', '830', 'Ausstehende Einlagen auf das gezeichnete Kapital eingefordert ( Forderungen nicht eingeforderte ausstehende Einlagen s. Konten 0820 - 0829 )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1251, 'SKR03', '0', '0838', '830', 'Ausstehende Einlagen auf das gezeichnete Kapital eingefordert ( Forderungen nicht eingeforderte ausstehende Einlagen s. Konten 0820 - 0829 )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1253, 'SKR03', '0', '0839', '830', 'Eingeforderte Nachschüsse ( Forderungen Gegenkonto 0845 )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1256, 'SKR03', '0', '0840', '0', 'Kapitalrücklage'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1257, 'SKR03', '0', '0841', '840', 'Kapitalrücklage durch Ausgabe von Anteilen über Nennbetrag'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1258, 'SKR03', '0', '0842', '840', 'Kapitalrücklage durch Ausgabe von Schuldverschreibungen für Wandlungsrechte und Optionsrechte zum Erwerb von Anteilen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1259, 'SKR03', '0', '0843', '840', 'Kapitalrücklage durch Zuzahlungen gegen Gewährung eines Vorzugs für Anteile'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1260, 'SKR03', '0', '0844', '840', 'Kapitalrücklage durch andere Zuzahlungen in das Eigenkapital'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1261, 'SKR03', '0', '0845', '840', 'Eingefordertes Nachschusskapital ( Gegenkonto 0839 )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1264, 'SKR03', '0', '0846', '840', 'Gesetzliche Rücklage'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1266, 'SKR03', '0', '0850', '840', 'Rücklage für eigene Anteile'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1268, 'SKR03', '0', '0851', '840', 'Satzungsmässige Rücklagen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1270, 'SKR03', '0', '0855', '840', 'Andere Gewinnrücklagen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1271, 'SKR03', '0', '0856', '840', 'Eigenkapitalanteil von Wertaufholungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1273, 'SKR03', '0', '0860', '0', 'Gewinnvortrag vor Verwendung'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1274, 'SKR03', '0', '0868', '860', 'Verlustvortrag vor Verwendung'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1276, 'SKR03', '0', '0869', '860', 'Vortrag auf neue Rechnung (Bilanz)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1278, 'SKR03', '0', '0870', '0', 'Festkapital'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1279, 'SKR03', '0', '0871', '870', 'Festkapital'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1280, 'SKR03', '0', '0872', '870', 'Festkapital'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1281, 'SKR03', '0', '0873', '870', 'Festkapital'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1282, 'SKR03', '0', '0874', '870', 'Festkapital'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1283, 'SKR03', '0', '0875', '870', 'Festkapital'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1284, 'SKR03', '0', '0876', '870', 'Festkapital'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1285, 'SKR03', '0', '0877', '870', 'Festkapital'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1286, 'SKR03', '0', '0878', '870', 'Festkapital'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1287, 'SKR03', '0', '0879', '870', 'Festkapital'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1288, 'SKR03', '0', '0880', '870', 'Variables Kapital'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1289, 'SKR03', '0', '0881', '870', 'Variables Kapital'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1290, 'SKR03', '0', '0882', '870', 'Variables Kapital'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1291, 'SKR03', '0', '0883', '870', 'Variables Kapital'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1292, 'SKR03', '0', '0884', '870', 'Variables Kapital'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1293, 'SKR03', '0', '0885', '870', 'Variables Kapital'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1294, 'SKR03', '0', '0886', '870', 'Variables Kapital'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1295, 'SKR03', '0', '0887', '870', 'Variables Kapital'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1296, 'SKR03', '0', '0888', '870', 'Variables Kapital'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1297, 'SKR03', '0', '0889', '870', 'Variables Kapital'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1298, 'SKR03', '0', '0890', '870', 'Gesellschafter-Darlehen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1299, 'SKR03', '0', '0891', '870', 'Gesellschafter-Darlehen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1300, 'SKR03', '0', '0892', '870', 'Gesellschafter-Darlehen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1301, 'SKR03', '0', '0893', '870', 'Gesellschafter-Darlehen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1302, 'SKR03', '0', '0894', '870', 'Gesellschafter-Darlehen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1303, 'SKR03', '0', '0895', '870', 'Gesellschafter-Darlehen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1304, 'SKR03', '0', '0896', '870', 'Gesellschafter-Darlehen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1305, 'SKR03', '0', '0897', '870', 'Gesellschafter-Darlehen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1306, 'SKR03', '0', '0898', '870', 'Gesellschafter-Darlehen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1307, 'SKR03', '0', '0899', '870', 'Gesellschafter-Darlehen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1309, 'SKR03', '0', '0900', '0', 'Kommandit-Kapital'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1310, 'SKR03', '0', '0901', '1309', 'Kommandit-Kapital'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1311, 'SKR03', '0', '0902', '1309', 'Kommandit-Kapital'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1312, 'SKR03', '0', '0903', '1309', 'Kommandit-Kapital'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1313, 'SKR03', '0', '0904', '1309', 'Kommandit-Kapital'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1314, 'SKR03', '0', '0905', '1309', 'Kommandit-Kapital'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1315, 'SKR03', '0', '0906', '1309', 'Kommandit-Kapital'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1316, 'SKR03', '0', '0907', '1309', 'Kommandit-Kapital'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1317, 'SKR03', '0', '0908', '1309', 'Kommandit-Kapital'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1318, 'SKR03', '0', '0909', '1309', 'Kommandit-Kapital'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1319, 'SKR03', '0', '0910', '1309', 'Verlustausgleichskonto'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1320, 'SKR03', '0', '0911', '1309', 'Verlustausgleichskonto'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1321, 'SKR03', '0', '0912', '1309', 'Verlustausgleichskonto'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1322, 'SKR03', '0', '0913', '1309', 'Verlustausgleichskonto'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1323, 'SKR03', '0', '0914', '1309', 'Verlustausgleichskonto'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1324, 'SKR03', '0', '0915', '1309', 'Verlustausgleichskonto'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1325, 'SKR03', '0', '0916', '1309', 'Verlustausgleichskonto'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1326, 'SKR03', '0', '0917', '1309', 'Verlustausgleichskonto'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1327, 'SKR03', '0', '0918', '1309', 'Verlustausgleichskonto'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1328, 'SKR03', '0', '0919', '1309', 'Verlustausgleichskonto'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1329, 'SKR03', '0', '0920', '1309', 'Gesellschafter-Darlehen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1330, 'SKR03', '0', '0921', '1309', 'Gesellschafter-Darlehen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1331, 'SKR03', '0', '0922', '1309', 'Gesellschafter-Darlehen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1332, 'SKR03', '0', '0923', '1309', 'Gesellschafter-Darlehen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1333, 'SKR03', '0', '0924', '1309', 'Gesellschafter-Darlehen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1334, 'SKR03', '0', '0925', '1309', 'Gesellschafter-Darlehen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1335, 'SKR03', '0', '0926', '1309', 'Gesellschafter-Darlehen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1336, 'SKR03', '0', '0927', '1309', 'Gesellschafter-Darlehen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1337, 'SKR03', '0', '0928', '1309', 'Gesellschafter-Darlehen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1338, 'SKR03', '0', '0929', '1309', 'Gesellschafter-Darlehen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1341, 'SKR03', '0', '0930', '1309', 'Sonderposten mit Rücklageanteil steuerfreie Rücklagen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1342, 'SKR03', '0', '0931', '1341', 'Sonderposten mit Rücklageanteil nach § 6b EStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1343, 'SKR03', '0', '0932', '1341', 'Sonderposten mit Rücklageanteil nach Abschnitt 35 EStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1344, 'SKR03', '0', '0933', '1341', 'Sonderposten mit Rücklageanteil nach § 6d EStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1345, 'SKR03', '0', '0934', '1341', 'Sonderposten mit Rücklageanteil nach § 1 EntwLStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1347, 'SKR03', '0', '0935', '1309', 'Sonderposten aus der Währungsumstellung auf den Euro'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1348, 'SKR03', '0', '0936', '1341', 'Sonderposten mit Rücklageanteil nach § 7 d EStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1349, 'SKR03', '0', '0937', '1341', 'Sonderposten mit Rücklageanteil nach § 79 EStDV'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1350, 'SKR03', '0', '0938', '1341', 'Sonderposten mit Rücklageanteil nach § 80 EStDV'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1351, 'SKR03', '0', '0939', '1341', 'Sonderposten mit Rücklageanteil nach § 52 Abs.16 EStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1352, 'SKR03', '0', '0940', '1341', 'Sonderposten mit Rücklageanteil Sonderabschreibungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1353, 'SKR03', '0', '0941', '1341', 'Sonderposten mit Rücklageanteil § 82 a EStDV'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1354, 'SKR03', '0', '0942', '1341', 'Sonderposten mit Rücklageanteil § 82 d EStDV'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1355, 'SKR03', '0', '0943', '1341', 'Sonderposten mit Rücklageanteil nach § 82 e EStDV'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1356, 'SKR03', '0', '0944', '1341', 'Sonderposten mit Rücklageanteil nach § 14 BerlinFG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1357, 'SKR03', '0', '0945', '1341', 'Sonderposten mit Rücklageanteil für Förderung nach § 3 Zonen-RFG/§ 4-6 FördergebietsG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1358, 'SKR03', '0', '0946', '1341', 'Sonderposten mit Rücklageanteil nach § 4d EStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1359, 'SKR03', '0', '0947', '1341', 'Sonderposten mit Rücklageanteil nach § 7g Abs.1 EStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1360, 'SKR03', '0', '0948', '1341', 'Sonderposten mit Rücklageanteil nach § 7g Abs.3 u.7 EStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1362, 'SKR03', '0', '0949', '1309', 'Sonderposten für Zuschüsse und Zulagen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1365, 'SKR03', '0', '0950', '1309', 'Rückstellungen für Pensionen und ähnliche Verpflichtungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1367, 'SKR03', '0', '0955', '1309', 'Steuerrückstellungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1368, 'SKR03', '0', '0957', '1367', 'Gewerbesteuerrückstellung'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1369, 'SKR03', '0', '0963', '1367', 'Körperschaftsteuerrückstellung'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1371, 'SKR03', '0', '0965', '1309', 'Rückstellungen für Personalkosten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1372, 'SKR03', '0', '0966', '1309', 'Rückstellungen zur Erfüllung der Aufbewahrungspflichten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1373, 'SKR03', '0', '0969', '1309', 'Rückstellung für latente Steuern'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1374, 'SKR03', '0', '0970', '1309', 'Sonstige Rückstellungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1375, 'SKR03', '0', '0971', '1309', 'Rückstellungen für unterlassene Aufwendungen für Instandhaltung Nachholung in den ersten drei Monaten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1376, 'SKR03', '0', '0972', '1309', 'Rückstellungen für unterlassene Aufwendungen für Instandhaltung Nachholung innerhalb des 4. bis 12. Monats'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1377, 'SKR03', '0', '0973', '1309', 'Rückstellungen für Abraum- und Abfallbeseitigung'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1378, 'SKR03', '0', '0974', '1309', 'Rückstellungen für Gewährleistungen ( Gegenkonto 4790 )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1379, 'SKR03', '0', '0976', '1309', 'Rückstellungen für drohende Verluste aus schwebenden Geschäften'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1380, 'SKR03', '0', '0977', '1309', 'Rückstellungen für Abschluss- und Prüfungskosten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1381, 'SKR03', '0', '0978', '1309', 'Aufwandsrückstellungen gemäß § 249 Abs. 2 HGB'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1382, 'SKR03', '0', '0979', '1309', 'Rückstellungen für Umweltschutz'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1385, 'SKR03', '0', '0980', '1309', 'Aktive Rechnungsabgrenzung'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1387, 'SKR03', '0', '0983', '1385', 'Abgrenzung aktive latente Steuern'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1388, 'SKR03', '0', '0984', '1309', 'Als Aufwand berücksichtigte Zölle und Verbrauchsteuern'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1389, 'SKR03', '0', '0985', '1309', 'Als Aufwand berücksichtigte Umsatzsteuer auf Anzahlungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1390, 'SKR03', '0', '0986', '1309', 'Damnum / Disagio'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1393, 'SKR03', '0', '0990', '1309', 'Passive Rechnungsabgrenzung'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1395, 'SKR03', '0', '0992', '1393', 'Abgenzungsposten zur unterjährigen Kostenverrechnung für BWA'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1396, 'SKR03', '0', '0993', '1393', 'Forderungen aus Lieferungen und Leistungen H-Saldo'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1397, 'SKR03', '0', '0996', '1393', 'Pauschalwertberichtigung auf Forderungen mit einer Restlaufzeit bis zu 1 Jahr'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1398, 'SKR03', '0', '0997', '1393', 'Pauschalwertberichtigung auf Forderungen mit einer Restlaufzeit von mehr als 1 Jahr'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1399, 'SKR03', '0', '0998', '1393', 'Einzelwertberichtigungen auf Forderungen mit einer Restlaufzeit bis zu 1 Jahr'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1400, 'SKR03', '0', '0999', '1393', 'Einzelwertberichtigungen auf Forderungen mit einer Restlaufzeit von mehr als 1 Jahr'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1403, 'SKR03', '1', '1000', '0', 'Kasse'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1404, 'SKR03', '1', '1010', '1403', 'Nebenkasse 1'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1405, 'SKR03', '1', '1020', '1403', 'Nebenkasse 2'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1407, 'SKR03', '1', '1100', '1403', 'Postbank'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1408, 'SKR03', '1', '1110', '1407', 'Postbank 1'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1409, 'SKR03', '1', '1120', '1407', 'Postbank 2'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1410, 'SKR03', '1', '1130', '1407', 'Postbank 3'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1411, 'SKR03', '1', '1190', '1407', 'LZB-Guthaben'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1412, 'SKR03', '1', '1195', '1407', 'Bundesbankguthaben'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1413, 'SKR03', '1', '1200', '1403', 'Bank'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1414, 'SKR03', '1', '1201', '1413', 'Bank Kontobewegung'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1415, 'SKR03', '1', '1202', '1413', 'Bank nicht identifizierte Zahlungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1416, 'SKR03', '1', '1203', '1413', 'Bank nicht zugeordnete Zahlungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1417, 'SKR03', '1', '1210', '1413', 'Bank 1'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1418, 'SKR03', '1', '1220', '1413', 'Bank 2'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1419, 'SKR03', '1', '1230', '1413', 'Bank 3'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1420, 'SKR03', '1', '1240', '1413', 'Bank 4'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1421, 'SKR03', '1', '1250', '1413', 'Bank 5'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1422, 'SKR03', '1', '1290', '1413', 'Finanzmittelanlagen im Rahmen der kurzfristigen Finanzdisposition'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1423, 'SKR03', '1', '1295', '1413', 'Verbindlichkeiten gegenüber Kreditinstituten (nicht im Finanzmittelfonds enthalten)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1425, 'SKR03', '1', '1300', '1403', 'Wechsel aus Lieferung und Leistung'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1426, 'SKR03', '1', '1301', '1425', 'Wechsel aus Lieferung und Leistung bis 1 Jahr'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1427, 'SKR03', '1', '1302', '1425', 'Wechsel aus Lieferung und Leistung größer 1 Jahr'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1428, 'SKR03', '1', '1305', '1425', 'Wechsel aus Lieferung und Leistung Bundesbankfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1430, 'SKR03', '1', '1310', '1403', 'Besitzwechsel gegen verbundene Unternehmen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1431, 'SKR03', '1', '1311', '1430', 'Besitzwechsel gegen verbundene Unternehmen bis 1 Jahr'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1432, 'SKR03', '1', '1312', '1430', 'Besitzwechsel gegen verbundene Unternehmen größer 1 Jahr'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1433, 'SKR03', '1', '1315', '1430', 'Besitzwechsel gegen verbundene Unternehmen Bundesbankfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1435, 'SKR03', '1', '1320', '1403', 'Besitzwechsel gegen Unternehmen mit denen ein Beteiligungsverhältnis besteht'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1436, 'SKR03', '1', '1321', '1435', 'Besitzwechsel gegen Unternehmen mit denen ein Beteiligungsverhältnis besteht bis 1 Jahr'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1437, 'SKR03', '1', '1322', '1435', 'Besitzwechsel gegen Unternehmen mit denen ein Beteiligungsverhältnis besteht größer 1 Jahr'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1438, 'SKR03', '1', '1325', '1435', 'Besitzwechsel gegen Unternehmen mit denen ein Beteiligungsverhältnis besteht bundesbankfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1440, 'SKR03', '1', '1327', '1435', 'Finanzwechsel'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1441, 'SKR03', '1', '1329', '1435', 'Andere Wertpapiere mit unwesentlichen Wertschwankungen im Sinne Textziffer 18 DRS 2'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1443, 'SKR03', '1', '1330', '1425', 'Schecks'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1444, 'SKR03', '1', '1332', '1425', 'Bezahlung selektiert'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1447, 'SKR03', '1', '1340', '1425', 'Anteile an verbundenen Unternehmen (Umlaufvermögen)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1448, 'SKR03', '1', '1344', '1425', 'Anteile an herrschender oder mit Mehrheit beteiligter Gesellschaft'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1450, 'SKR03', '1', '1345', '1425', 'Eigene Anteile'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1456, 'SKR03', '1', '1350', '0', 'GmbH-Anteile zum kurzfristigen Verbleib'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1457, 'SKR03', '1', '1352', '0', 'Genossenschaftsanteile zum kurzfristigen Verbleib'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1458, 'SKR03', '1', '1355', '0', 'Ansprüche aus Rückdeckungsversicherung'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1460, 'SKR03', '1', '1360', '0', 'Geldtransit'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1461, 'SKR03', '1', '1370', '0', 'Verrechnungskonto für Gewinnermittlung § 4/3 EStG ergebniswirksam'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1462, 'SKR03', '1', '1371', '0', 'Verrechnungskonto für Gewinnermittlung § 4/3 EStG nicht ergebniswirksam'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1463, 'SKR03', '1', '1372', '0', 'Wirtschaftsgüter des Umlaufvermögens gemäß § 4 Abs 3 Satz 4 EStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1464, 'SKR03', '1', '1380', '0', 'überleitungskonto Kostenstelle'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1465, 'SKR03', '1', '1390', '0', 'Verrechnungskonto Ist-Versteuerung'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1467, 'SKR03', '1', '1400', '0', 'Forderungen aus Lieferungen und Leistungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1468, 'SKR03', '1', '1401', '0', 'Forderungen aus Lieferungen und Leistungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1469, 'SKR03', '1', '1402', '0', 'Forderungen aus Lieferungen und Leistungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1470, 'SKR03', '1', '1403', '0', 'Forderungen aus Lieferungen und Leistungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1471, 'SKR03', '1', '1404', '0', 'Forderungen aus Lieferungen und Leistungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1472, 'SKR03', '1', '1405', '0', 'Forderungen aus Lieferungen und Leistungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1473, 'SKR03', '1', '1406', '0', 'Forderungen aus Lieferungen und Leistungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1474, 'SKR03', '1', '1410', '0', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1475, 'SKR03', '1', '1411', '0', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1476, 'SKR03', '1', '1412', '0', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1477, 'SKR03', '1', '1413', '0', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1478, 'SKR03', '1', '1414', '0', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1479, 'SKR03', '1', '1415', '0', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1480, 'SKR03', '1', '1416', '0', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1481, 'SKR03', '1', '1417', '0', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1482, 'SKR03', '1', '1418', '0', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1483, 'SKR03', '1', '1419', '0', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1484, 'SKR03', '1', '1420', '0', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1485, 'SKR03', '1', '1421', '0', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1486, 'SKR03', '1', '1422', '0', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1487, 'SKR03', '1', '1423', '0', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1488, 'SKR03', '1', '1424', '0', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1489, 'SKR03', '1', '1425', '0', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1490, 'SKR03', '1', '1426', '0', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1491, 'SKR03', '1', '1427', '0', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1492, 'SKR03', '1', '1428', '0', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1493, 'SKR03', '1', '1429', '0', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1494, 'SKR03', '1', '1430', '0', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1495, 'SKR03', '1', '1431', '0', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1496, 'SKR03', '1', '1432', '0', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1497, 'SKR03', '1', '1433', '0', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1498, 'SKR03', '1', '1434', '0', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1499, 'SKR03', '1', '1435', '0', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1500, 'SKR03', '1', '1436', '0', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1501, 'SKR03', '1', '1437', '0', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1502, 'SKR03', '1', '1438', '0', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1503, 'SKR03', '1', '1439', '0', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1504, 'SKR03', '1', '1440', '0', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1505, 'SKR03', '1', '1441', '0', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1506, 'SKR03', '1', '1442', '0', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1507, 'SKR03', '1', '1443', '0', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1508, 'SKR03', '1', '1444', '0', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1509, 'SKR03', '1', '1445', '0', 'Forderungen aus Lieferungen und Leistungen zum allgemeinen Umsatzsteuersatz oder eines Kleinunternehmens (EüR)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1510, 'SKR03', '1', '1446', '0', 'Forderungen aus Lieferungen und Leistungen zum ermäßigten Umsatzsteuersatz (EüR)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1511, 'SKR03', '1', '1447', '0', 'Forderungen aus steuerfreien oder nicht steuerbaren Lieferungen und Leistungen (EüR)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1512, 'SKR03', '1', '1448', '0', 'Forderungen aus Lieferungen und Leistungen nach Durchschnittssätzen gemäß § 24 UStG (EüR)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1513, 'SKR03', '1', '1449', '0', 'Gegenkonto 1445-1448 bei Aufteilung der Forderungen nach Steuersätzen (EüR)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1514, 'SKR03', '1', '1450', '0', 'Forderungen nach § 11 Abs. 1 Satz 2 EStG für § 4/3 EStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1515, 'SKR03', '1', '1451', '0', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent ( bis 1 Jahr )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1516, 'SKR03', '1', '1452', '0', 'Projekt Werte in Arbeit'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1517, 'SKR03', '1', '1455', '0', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent ( größer 1 Jahr )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1518, 'SKR03', '1', '1460', '0', 'Zweifelhafte Forderungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1519, 'SKR03', '1', '1461', '0', 'Zweifelhafte Forderungen ( bis 1 Jahr )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1520, 'SKR03', '1', '1465', '0', 'Zweifelhafte Forderungen ( größer 1 Jahr )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1522, 'SKR03', '1', '1470', '0', 'Forderungen aus Lieferungen und Leistungen gegen verbundene Unternehmen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1523, 'SKR03', '1', '1471', '0', 'Forderungen aus Lieferungen und Leistungen gegen verbundene Unternehmen ( bis 1 Jahr )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1524, 'SKR03', '1', '1475', '0', 'Forderungen aus Lieferungen und Leistungen gegen verbundene Unternehmen ( größer 1 Jahr )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1526, 'SKR03', '1', '1478', '0', 'Wertberichtigungen auf Forderungen mit einer Restlaufzeit bis zu 1 Jahr gegen verbundene Unternehmen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1527, 'SKR03', '1', '1479', '0', 'Wertberichtigungen auf Forderungen mit einer Restlaufzeit von mehr als 1 Jahr gegen verbundene Unternehmen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1529, 'SKR03', '1', '1480', '0', 'Forderungen aus Lieferungen und Leistungen gegen Unternehmen mit denen ein Beteiligungsverhältnis besteht'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1530, 'SKR03', '1', '1481', '0', 'Forderungen aus Lieferungen und Leistungen gegen Unternehmen mit denen ein Beteiligungsverhältnis besteht ( bis 1 Jahr )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1531, 'SKR03', '1', '1485', '0', 'Forderungen aus Lieferungen und Leistungen gegen Unternehmen mit denen ein Beteiligungsverhältnis besteht ( größer 1 Jahr )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1533, 'SKR03', '1', '1488', '0', 'Wertberichtigungen auf Forderungen mit einer Restlaufzeit bis zu 1 Jahr gegen Unternehmen mit denen ein Beteiligungsverhältnis besteht.'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1534, 'SKR03', '1', '1489', '0', 'Wertberichtigungen auf Forderungen mit einer Restlaufzeit von mehr als 1 Jahr gegen Unternehmen mit denen ein Beteiligungsverhältnis besteht.'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1535, 'SKR03', '1', '1490', '0', 'Forderungen aus Lieferungen und Leistungen gegen Gesellschafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1536, 'SKR03', '1', '1491', '0', 'Forderungen aus Lieferungen und Leistungen gegen Gesellschafter ( bis 1 Jahr )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1537, 'SKR03', '1', '1495', '0', 'Forderungen aus Lieferungen und Leistungen gegen Gesellschafter ( größer 1 Jahr )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1539, 'SKR03', '1', '1498', '0', 'Gegenkonto zu sonstigen Vermögensgegenständen bei Buchungen über Debitorenkonto'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1541, 'SKR03', '1', '1499', '0', 'Gegenkonto 1451 - 1497 bei Aufteilung Debitorenkonto'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1542, 'SKR03', '1', '1500', '0', 'Sonstige Vermögensgegenstände'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1543, 'SKR03', '1', '1501', '0', 'Sonstige Vermögensgegenstände ( bis 1 Jahr )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1544, 'SKR03', '1', '1502', '0', 'Sonstige Vermögensgegenstände ( größer 1 Jahr )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1545, 'SKR03', '1', '1503', '0', 'Forderungen gegen Vorstandsmitglieder und Geschäftsführer ( bis 1 Jahr )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1546, 'SKR03', '1', '1504', '0', 'Forderungen gegen Vorstandsmitglieder und Geschäftsführer ( größer 1 Jahr )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1547, 'SKR03', '1', '1505', '0', 'Forderungen gegen Aufsichtsrats- und Beiratsmitglieder ( bis 1 Jahr )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1548, 'SKR03', '1', '1506', '0', 'Forderungen gegen Aufsichtsrats- und Beiratsmitglieder ( größer 1 Jahr )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1549, 'SKR03', '1', '1507', '0', 'Forderungen gegen Gesellschafter ( bis 1Jahr )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1550, 'SKR03', '1', '1508', '0', 'Forderungen gegen Gesellschafter ( größer 1Jahr )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1552, 'SKR03', '1', '1510', '0', 'Geleistete Anzahlungen auf Vorräte'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1553, 'SKR03', '1', '1511', '0', 'Geleistete Anzahlungen 7% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1554, 'SKR03', '1', '1516', '0', 'Geleistete Anzahlungen 15% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1555, 'SKR03', '1', '1517', '0', 'Geleistete Anzahlungen 16% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1556, 'SKR03', '1', '1518', '0', 'Geleistete Anzahlungen 19% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1557, 'SKR03', '1', '1520', '0', 'Forderungen gegenüber Krankenkassen aus Aufwendungsausgleichsgesetz'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1558, 'SKR03', '1', '1521', '0', 'Agenturwarenabrechnung'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1559, 'SKR03', '1', '1525', '0', 'Kautionen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1560, 'SKR03', '1', '1526', '0', 'Kautionen ( bis 1 Jahr )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1561, 'SKR03', '1', '1527', '0', 'Kautionen ( größer 1 Jahr )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1562, 'SKR03', '1', '1528', '0', 'Nachträgliche abziehbare Vorsteuer § 15a Abs. 2 UStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1563, 'SKR03', '1', '1529', '0', 'Zurückzuzahlende Vorsteuer § 15a Abs. 2 UStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1564, 'SKR03', '1', '1530', '0', 'Forderungen gegen Personal aus Lohn- und Gehaltsabrechnung'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1565, 'SKR03', '1', '1531', '0', 'Forderungen gegen Personal aus Lohn- und Gehaltsabrechnung ( bis 1 Jahr )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1566, 'SKR03', '1', '1537', '0', 'Forderungen gegen Personal aus Lohn- und Gehaltsabrechnung ( größer 1 Jahr )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1567, 'SKR03', '1', '1540', '0', 'Steuerüberzahlungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1568, 'SKR03', '1', '1542', '0', 'Steuererstattungsansprüche gegenüber anderen EG-Ländern'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1569, 'SKR03', '1', '1543', '0', 'Forderungen an das Finanzamt aus abgeführtem Bauabzugsbetrag'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1570, 'SKR03', '1', '1545', '0', 'Umsatzsteuerforderungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1571, 'SKR03', '1', '1547', '0', 'Forderungen aus entrichteten Verbrauchsteuern'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1572, 'SKR03', '1', '1548', '0', 'Vorsteuer im Folgejahr abziehbar'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1573, 'SKR03', '1', '1549', '0', 'Körperschaftsteuerrückforderung'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1574, 'SKR03', '1', '1550', '0', 'Darlehen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1575, 'SKR03', '1', '1551', '0', 'Darlehen ( bis 1 Jahr )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1576, 'SKR03', '1', '1555', '0', 'Darlehen ( größer 1 Jahr )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1577, 'SKR03', '1', '1556', '0', 'Nachträgliche abziehbare Vorsteuer § 15a Abs. 1 UStG bewegliche Wirtschaftsgüter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1578, 'SKR03', '1', '1557', '0', 'Zurückzuzahlende Vorsteuer § 15a Abs. 1 UStG bewegliche Wirtschaftsgüter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1579, 'SKR03', '1', '1558', '0', 'Nachträgliche abziehbare Vorsteuer § 15a Abs. 1 UStG unbewegliche Wirtschaftsgüter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1580, 'SKR03', '1', '1559', '0', 'Zurückzuzahlende Vorsteuer § 15a Abs. 1 UStG unbewegliche Wirtschaftsgüter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1581, 'SKR03', '1', '1560', '0', 'Aufzuteilende Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1582, 'SKR03', '1', '1561', '0', 'Aufzuteilende Vorsteuer 7%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1583, 'SKR03', '1', '1562', '0', 'Aufzuteilende Vorsteuer aus innergemeinschaftlichem Erwerb'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1584, 'SKR03', '1', '1563', '0', 'Aufzuteilende Vorsteuer aus innergemeinschaftlichem Erwerb 19%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1585, 'SKR03', '1', '1565', '0', 'Aufzuteilende Vorsteuer 16%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1586, 'SKR03', '1', '1566', '0', 'Aufzuteilende Vorsteuer 19%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1587, 'SKR03', '1', '1567', '0', 'Aufzuteilende Vorsteuer nach §§ 13a/13b UStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1588, 'SKR03', '1', '1568', '0', 'Aufzuteilende Vorsteuer nach §§ 13a/13b UStG 16 %'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1589, 'SKR03', '1', '1569', '0', 'Aufzuteilende Vorsteuer nach §§ 13a/13b UStG 19 %'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1590, 'SKR03', '1', '1570', '0', 'Abziehbare Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1591, 'SKR03', '1', '1571', '0', 'Abziehbare Vorsteuer 7%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1592, 'SKR03', '1', '1572', '0', 'Abziehbare Vorsteuer aus innergemeinschaftlichem Erwerb'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1593, 'SKR03', '1', '1573', '0', 'Abziehbare Vorsteuer aus innergemeinschaftlichem Erwerb 16%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1594, 'SKR03', '1', '1574', '0', 'Abziehbare Vorsteuer aus innergemeinschaftlichem Erwerb 19%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1595, 'SKR03', '1', '1575', '0', 'Abziehbare Vorsteuer 16%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1596, 'SKR03', '1', '1576', '0', 'Abziehbare Vorsteuer 19%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1597, 'SKR03', '1', '1577', '0', 'Abziehbare Vorsteuer nach § 13b UStG 19%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1598, 'SKR03', '1', '1578', '0', 'Abziehbare Vorsteuer nach § 13b UStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1599, 'SKR03', '1', '1579', '0', 'Abziehbare Vorsteuer nach § 13b UStG 16%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1600, 'SKR03', '1', '1580', '0', 'Gegenkonto Vorsteuer § 4/3 EStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1601, 'SKR03', '1', '1581', '0', 'Auflösung Vorsteuer aus Vorjahr § 4/3 EStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1602, 'SKR03', '1', '1582', '0', 'Vorsteuer aus Investitionen § 4/3 EStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1603, 'SKR03', '1', '1583', '0', 'Gegenkonto für Vorsteuer nach Durchschnittssätzen für § 4 Abs. 3 EStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1604, 'SKR03', '1', '1584', '0', 'Abziehbare Vorsteuer aus innergemeinschaftlichem Erwerb von Neufahrzeugen von Lieferabten ohne Umsatzsteuer-Identifikationsnummer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1605, 'SKR03', '1', '1585', '0', 'Abziehbare Vorsteuer aus der Auslagerung von Gegenständen aus einem Umsatzsteuerlager'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1606, 'SKR03', '1', '1587', '0', 'Vorsteuer nach allgemeinen Durchschnittssätzen UStVA Kz. 63'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1607, 'SKR03', '1', '1588', '0', 'Bezahlte Einfuhrumsatzsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1608, 'SKR03', '1', '1590', '0', 'Durchlaufende Posten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1609, 'SKR03', '1', '1591', '0', 'Durchlaufende Posten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1610, 'SKR03', '1', '1592', '0', 'Fremdgeld'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1612, 'SKR03', '1', '1593', '0', 'Verrechnungskonto erhaltene Anzahlungen bei Buchung über Debitorenkonto'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1613, 'SKR03', '1', '1594', '0', 'Forderungen gegen verbundene Unternehmen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1614, 'SKR03', '1', '1595', '0', 'Forderungen gegen verbundene Unternehmen ( bis 1 Jahr )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1615, 'SKR03', '1', '1596', '0', 'Forderungen gegen verbundene Unternehmen ( größer 1 Jahr )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1616, 'SKR03', '1', '1597', '0', 'Forderungen gegen Unternehmen mit denen ein Beteiligungsverhältnis besteht'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1617, 'SKR03', '1', '1598', '0', 'Forderungen gegen Unternehmen mit denen ein Beteiligungsverhältnis besteht ( bis 1 Jahr )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1618, 'SKR03', '1', '1599', '0', 'Forderungen gegen Unternehmen mit denen ein Beteiligungsverhältnis besteht ( größer 1 Jahr )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1621, 'SKR03', '1', '1600', '0', 'Verbindlichkeiten aus Lieferungen und Leistungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1622, 'SKR03', '1', '1601', '0', 'Verbindlichkeiten aus Lieferungen und Leistungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1623, 'SKR03', '1', '1602', '0', 'Verbindlichkeiten aus Lieferungen und Leistungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1624, 'SKR03', '1', '1603', '0', 'Verbindlichkeiten aus Lieferungen und Leistungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1625, 'SKR03', '1', '1605', '0', 'Verbindlichkeiten aus Lieferungen und Leistungen zum allgemeinen Umsatzsteuersatz (EüR)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1626, 'SKR03', '1', '1606', '0', 'Verbindlichkeiten aus Lieferungen und Leistungen zum ermäßigten Umsatzsteuersatz (EüR)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1627, 'SKR03', '1', '1607', '0', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Vorsteuer (EüR)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1628, 'SKR03', '1', '1609', '0', 'Gegenkonto 1605 - 1607 bei Aufteilung der Verbindlichkeiten nach Steuersätzen (EüR)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1629, 'SKR03', '1', '1610', '0', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1630, 'SKR03', '1', '1611', '0', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1631, 'SKR03', '1', '1612', '0', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1632, 'SKR03', '1', '1613', '0', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1633, 'SKR03', '1', '1614', '0', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1634, 'SKR03', '1', '1615', '0', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1635, 'SKR03', '1', '1616', '0', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1636, 'SKR03', '1', '1617', '0', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1637, 'SKR03', '1', '1618', '0', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1638, 'SKR03', '1', '1619', '0', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1639, 'SKR03', '1', '1620', '0', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1640, 'SKR03', '1', '1621', '0', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1641, 'SKR03', '1', '1622', '0', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1642, 'SKR03', '1', '1623', '0', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1643, 'SKR03', '1', '1624', '0', 'Verbindlichkeiten aus Lieferungen und Leistungen für Investitionen für § 4/3 EStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1644, 'SKR03', '1', '1625', '0', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent ( bis 1 Jahr )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1645, 'SKR03', '1', '1626', '0', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent ( 1 bis 5 Jahre )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1646, 'SKR03', '1', '1628', '0', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent ( größer 5 Jahre )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1648, 'SKR03', '1', '1630', '0', 'Verbindlichkeiten aus Lieferungen und Leistungen gegenüber verbundenen Unternehmen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1649, 'SKR03', '1', '1631', '0', 'Verbindlichkeiten aus Lieferungen und Leistungen gegenüber verbundenen Unternehmen ( bis 1 Jahr )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1650, 'SKR03', '1', '1635', '0', 'Verbindlichkeiten aus Lieferungen und Leistungen gegenüber verbundenen Unternehmen ( 1 bis 5 Jahre )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1651, 'SKR03', '1', '1638', '0', 'Verbindlichkeiten aus Lieferungen und Leistungen gegenüber verbundenen Unternehmen ( größer 5 Jahre )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1653, 'SKR03', '1', '1640', '0', 'Verbindlichkeiten aus Lieferungen und Leistungen gegenüber Unternehmen mit denen ein Beteiligungsverhältnis besteht'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1654, 'SKR03', '1', '1641', '0', 'Verbindlichkeiten aus Lieferungen und Leistungen gegenüber Unternehmen mit denen ein Beteiligungsverhältnis besteht ( bis 1 Jahr )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1655, 'SKR03', '1', '1645', '0', 'Verbindlichkeiten aus Lieferungen und Leistungen gegenüber Unternehmen mit denen ein Beteiligungsverhältnis besteht ( 1 bis 5 Jahre )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1656, 'SKR03', '1', '1648', '0', 'Verbindlichkeiten aus Lieferungen und Leistungen gegenüber Unternehmen mit denen ein Beteiligungsverhältnis besteht ( größer 5 Jahre )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1657, 'SKR03', '1', '1650', '0', 'Verbindlichkeiten aus Lieferungen und Leistungen gegenüber Gesellschaftern'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1658, 'SKR03', '1', '1651', '0', 'Verbindlichkeiten aus Lieferungen und Leistungen gegenüber Gesellschaftern ( bis 1 Jahr )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1659, 'SKR03', '1', '1655', '0', 'Verbindlichkeiten aus Lieferungen und Leistungen gegenüber Gesellschaftern ( 1 bis 5 Jahre )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1660, 'SKR03', '1', '1658', '0', 'Verbindlichkeiten aus Lieferungen und Leistungen gegenüber Gesellschaftern ( größer 5 Jahre )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1662, 'SKR03', '1', '1659', '0', 'Gegenkonto 1625 - 1658 bei Aufteilung Kreditorenkonto'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1664, 'SKR03', '1', '1660', '0', 'Schuldwechsel'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1665, 'SKR03', '1', '1661', '0', 'Schuldwechsel ( bis 1 Jahr )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1666, 'SKR03', '1', '1680', '0', 'Schuldwechsel ( 1 bis 5 Jahre )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1667, 'SKR03', '1', '1690', '0', 'Schuldwechsel ( größer 5 Jahre )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1669, 'SKR03', '1', '1700', '0', 'Sonstige Verbindlichkeiten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1670, 'SKR03', '1', '1701', '0', 'Sonstige Verbindlichkeiten ( bis 1 Jahr )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1671, 'SKR03', '1', '1702', '0', 'Sonstige Verbindlichkeiten ( 1 bis 5 Jahre )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1672, 'SKR03', '1', '1703', '0', 'Sonstige Verbindlichkeiten ( größer 5 Jahre )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1673, 'SKR03', '1', '1704', '0', 'Sonstige Verbindlichkeiten z.B. nach § 11 Abs. 2 Satz 2 EStG für 4/3 EStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1674, 'SKR03', '1', '1705', '0', 'Darlehen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1675, 'SKR03', '1', '1706', '0', 'Darlehen ( bis 1 Jahr )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1676, 'SKR03', '1', '1707', '0', 'Darlehen ( 1 bis 5 Jahre )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1677, 'SKR03', '1', '1708', '0', 'Darlehen ( größer 5 Jahre )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1679, 'SKR03', '1', '1709', '0', 'Gewinnverfügungskonto stiller Gesellschafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1681, 'SKR03', '1', '1710', '0', 'Erhaltene Anzahlungen ( Verbindlichkeiten )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1682, 'SKR03', '1', '1711', '0', 'Erhaltene versteuerte Anzahlungen 7% USt ( Verbindlichkeiten )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1683, 'SKR03', '1', '1716', '0', 'Erhaltene versteuerte Anzahlungen 15% USt ( Verbindlichkeiten )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1684, 'SKR03', '1', '1717', '0', 'Erhaltene versteuerte Anzahlungen 16% USt ( Verbindlichkeiten )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1685, 'SKR03', '1', '1718', '0', 'Erhaltene versteuerte Anzahlungen 19% USt ( Verbindlichkeiten )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1686, 'SKR03', '1', '1719', '0', 'Erhaltene Anzahlungen ( bis 1 Jahr )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1687, 'SKR03', '1', '1720', '0', 'Erhaltene Anzahlungen ( 1 bis 5 Jahre )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1688, 'SKR03', '1', '1721', '0', 'Erhaltene Anzahlungen ( größer 5 Jahre )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1690, 'SKR03', '1', '1722', '0', 'Erhaltene Anzahlungen (von Vorräten offen abgesetzt)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1691, 'SKR03', '1', '1730', '0', 'Kreditkartenabrechnung'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1692, 'SKR03', '1', '1731', '0', 'Agenturwarenabrechnung'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1693, 'SKR03', '1', '1732', '0', 'Erhaltene Kautionen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1694, 'SKR03', '1', '1733', '0', 'Erhaltene Kautionen ( bis 1 Jahr )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1695, 'SKR03', '1', '1734', '0', 'Erhaltene Kautionen ( 1 bis 5 Jahre )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1696, 'SKR03', '1', '1735', '0', 'Erhaltene Kautionen ( größer 5 Jahre )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1697, 'SKR03', '1', '1736', '0', 'Verbindlichkeiten aus Betriebssteuern und -abgaben'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1698, 'SKR03', '1', '1737', '0', 'Verbindlichkeiten aus Betriebssteuern und -abgaben ( bis 1 Jahr )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1699, 'SKR03', '1', '1738', '0', 'Verbindlichkeiten aus Betriebssteuern und -abgaben ( 1 bis 5 Jahre )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1700, 'SKR03', '1', '1739', '0', 'Verbindlichkeiten aus Betriebssteuern und -abgaben ( größer 5 Jahre )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1701, 'SKR03', '1', '1740', '0', 'Verbindlichkeiten aus Lohn und Gehalt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1702, 'SKR03', '1', '1741', '0', 'Verbindlichkeiten aus Lohn- und Kirchensteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1703, 'SKR03', '1', '1742', '0', 'Verbindlichkeiten im Rahmen der sozialen Sicherheit'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1704, 'SKR03', '1', '1743', '0', 'Verbindlichkeiten im Rahmen der sozialen Sicherheit ( bis 1 Jahr )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1705, 'SKR03', '1', '1744', '0', 'Verbindlichkeiten im Rahmen der sozialen Sicherheit ( 1 bis 5 Jahre )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1706, 'SKR03', '1', '1745', '0', 'Verbindlichkeiten im Rahmen der sozialen Sicherheit ( größer 5 Jahre )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1707, 'SKR03', '1', '1746', '0', 'Verbindlichkeiten aus Einbehaltungen ( KapESt und SolZ auf KapESt )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1708, 'SKR03', '1', '1747', '0', 'Verbindlichkeiten für Verbrauchsteuern'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1709, 'SKR03', '1', '1748', '0', 'Verbindlichkeiten für Einbehaltungen von Arbeitnehmern'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1710, 'SKR03', '1', '1749', '0', 'Verbindlichkeiten an das Finanzamt aus abzuführendem Bauabzugsbetrag'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1711, 'SKR03', '1', '1750', '0', 'Verbindlichkeiten aus Vermögensbildung'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1712, 'SKR03', '1', '1751', '0', 'Verbindlichkeiten aus Vermögensbildung ( bis 1 Jahr )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1713, 'SKR03', '1', '1752', '0', 'Verbindlichkeiten aus Vermögensbildung ( 1 bis 5 Jahre )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1714, 'SKR03', '1', '1753', '0', 'Verbindlichkeiten aus Vermögensbildung ( größer 5 Jahre )'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1715, 'SKR03', '1', '1754', '0', 'Steuerzahlungen an andere EG-Länder'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1716, 'SKR03', '1', '1755', '0', 'Lohn- und Gehaltsverrechnungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1717, 'SKR03', '1', '1756', '0', 'Lohn- und Gehaltsverrechnung § 11 Abs. 2 EStG für § 4/3 EStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1718, 'SKR03', '1', '1759', '0', 'Voraussichtliche Beitragsschuld gegenüber den sozialversicherungsträgern'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1720, 'SKR03', '1', '1760', '0', 'Umsatzsteuer nicht fällig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1721, 'SKR03', '1', '1761', '0', 'Umsatzsteuer nicht fällig 7%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1722, 'SKR03', '1', '1762', '0', 'Umsatzsteuer nicht fällig aus im Inland steuerpflichtigen EG-Lieferant'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1723, 'SKR03', '1', '1763', '0', 'Umsatzsteuer nicht fällig aus im Inland steuerpflichtigen EG-Lieferant 16%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1724, 'SKR03', '1', '1764', '0', 'Umsatzsteuer nicht fällig aus im Inland steuerpflichtigen EG-Lieferant 19%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1725, 'SKR03', '1', '1765', '0', 'Umsatzsteuer nicht fällig 16%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1726, 'SKR03', '1', '1766', '0', 'Umsatzsteuer nicht fällig 19%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1727, 'SKR03', '1', '1767', '0', 'Umsatzsteuer aus im anderen EG-Land steuerpflichtigen Lieferungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1728, 'SKR03', '1', '1768', '0', 'Umsatzsteuer aus im anderen EG-Land steuerpflichtigen sonstigen Leistungen / Werklieferungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1729, 'SKR03', '1', '1769', '0', 'Umsatzsteuer aus der Auslagerung von Gegenständen aus einem Umsatzsteuerlager'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1730, 'SKR03', '1', '1770', '0', 'Umsatzsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1731, 'SKR03', '1', '1771', '0', 'Umsatzsteuer 7%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1732, 'SKR03', '1', '1772', '0', 'Umsatzsteuer aus innergemeinschaftlichem Erwerb'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1733, 'SKR03', '1', '1773', '0', 'Umsatzsteuer aus innergemeinschaftlichem Erwerb 16%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1734, 'SKR03', '1', '1774', '0', 'Umsatzsteuer aus innergemeinschaftlichem Erwerb 19%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1735, 'SKR03', '1', '1775', '0', 'Umsatzsteuer 16%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1736, 'SKR03', '1', '1776', '0', 'Umsatzsteuer 19%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1737, 'SKR03', '1', '1777', '0', 'Umsatzsteuer aus im Inland steuerpflichtigen EG-Lieferungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1738, 'SKR03', '1', '1778', '0', 'Umsatzsteuer aus im Inland steuerpflichtigen EG-Lieferungen 19%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1739, 'SKR03', '1', '1779', '0', 'Umsatzsteuer aus innergemeinschaftlichem Erwerb Vorsteuerabzug'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1740, 'SKR03', '1', '1780', '0', 'Umsatzsteuer-Vorauszahlungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1741, 'SKR03', '1', '1781', '0', 'Umsatzsteuer-Vorauszahlung 1/11'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1742, 'SKR03', '1', '1782', '0', 'Nachsteuer UstVA Kz. 65'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1743, 'SKR03', '1', '1783', '0', 'In Rechnung unrichtig oder unberechtigt ausgewiesene Steuerveträge UstVA Kz. 69'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1744, 'SKR03', '1', '1784', '0', 'Umsatzsteuer aus innergemeinschaftlichem Erwerb von Neufahrzeugen von Lieferanten ohne Umsatzsteuer-Identifikationsnummer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1745, 'SKR03', '1', '1785', '0', 'Umsatzsteuer nach § 13b UStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1746, 'SKR03', '1', '1786', '0', 'Umsatzsteuer nach § 13b UStG 16%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1747, 'SKR03', '1', '1787', '0', 'Umsatzsteuer nach § 13b UStG 19%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1748, 'SKR03', '1', '1788', '0', 'Einfuhrumsatzsteuer aufgeschoben bis'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1749, 'SKR03', '1', '1789', '0', 'Umsatzsteuer laufendes Jahr'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1750, 'SKR03', '1', '1790', '0', 'Umsatzsteuer Vorjahr'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1751, 'SKR03', '1', '1791', '0', 'Umsatzsteuer frühere Jahre'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1752, 'SKR03', '1', '1792', '0', 'Sonstige Verrechnungskonten (Interimskonten)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1754, 'SKR03', '1', '1793', '0', 'Verrechnungskonto geleistete Anzahlungen bei Buchung über Kreditkonto'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1755, 'SKR03', '1', '1795', '0', 'Verbindlichkeiten im Rahmen der sozialen Sicherheit (für § 4/3 EStG)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1757, 'SKR03', '1', '1800', '0', 'Privatentnahmen allgemein'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1758, 'SKR03', '1', '1801', '0', 'Privatentnahmen allgemein'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1759, 'SKR03', '1', '1802', '0', 'Privatentnahmen allgemein'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1760, 'SKR03', '1', '1803', '0', 'Privatentnahmen allgemein'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1761, 'SKR03', '1', '1804', '0', 'Privatentnahmen allgemein'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1762, 'SKR03', '1', '1805', '0', 'Privatentnahmen allgemein'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1763, 'SKR03', '1', '1806', '0', 'Privatentnahmen allgemein'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1764, 'SKR03', '1', '1807', '0', 'Privatentnahmen allgemein'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1765, 'SKR03', '1', '1808', '0', 'Privatentnahmen allgemein'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1766, 'SKR03', '1', '1809', '0', 'Privatentnahmen allgemein'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1767, 'SKR03', '1', '1810', '0', 'Privatsteuern'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1768, 'SKR03', '1', '1811', '0', 'Privatsteuern'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1769, 'SKR03', '1', '1812', '0', 'Privatsteuern'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1770, 'SKR03', '1', '1813', '0', 'Privatsteuern'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1771, 'SKR03', '1', '1814', '0', 'Privatsteuern'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1772, 'SKR03', '1', '1815', '0', 'Privatsteuern'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1773, 'SKR03', '1', '1816', '0', 'Privatsteuern'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1774, 'SKR03', '1', '1817', '0', 'Privatsteuern'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1775, 'SKR03', '1', '1818', '0', 'Privatsteuern'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1776, 'SKR03', '1', '1819', '0', 'Privatsteuern'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1777, 'SKR03', '1', '1820', '0', 'Sonderausgaben beschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1778, 'SKR03', '1', '1821', '0', 'Sonderausgaben beschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1779, 'SKR03', '1', '1822', '0', 'Sonderausgaben beschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1780, 'SKR03', '1', '1823', '0', 'Sonderausgaben beschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1781, 'SKR03', '1', '1824', '0', 'Sonderausgaben beschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1782, 'SKR03', '1', '1825', '0', 'Sonderausgaben beschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1783, 'SKR03', '1', '1826', '0', 'Sonderausgaben beschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1784, 'SKR03', '1', '1827', '0', 'Sonderausgaben beschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1785, 'SKR03', '1', '1828', '0', 'Sonderausgaben beschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1786, 'SKR03', '1', '1829', '0', 'Sonderausgaben beschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1787, 'SKR03', '1', '1830', '0', 'Sonderausgaben unbeschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1788, 'SKR03', '1', '1831', '0', 'Sonderausgaben unbeschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1789, 'SKR03', '1', '1832', '0', 'Sonderausgaben unbeschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1790, 'SKR03', '1', '1833', '0', 'Sonderausgaben unbeschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1791, 'SKR03', '1', '1834', '0', 'Sonderausgaben unbeschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1792, 'SKR03', '1', '1835', '0', 'Sonderausgaben unbeschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1793, 'SKR03', '1', '1836', '0', 'Sonderausgaben unbeschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1794, 'SKR03', '1', '1837', '0', 'Sonderausgaben unbeschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1795, 'SKR03', '1', '1838', '0', 'Sonderausgaben unbeschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1796, 'SKR03', '1', '1839', '0', 'Sonderausgaben unbeschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1797, 'SKR03', '1', '1840', '0', 'Zuwendungen Spenden'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1798, 'SKR03', '1', '1841', '0', 'Zuwendungen Spenden'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1799, 'SKR03', '1', '1842', '0', 'Zuwendungen Spenden'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1800, 'SKR03', '1', '1843', '0', 'Zuwendungen Spenden'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1801, 'SKR03', '1', '1844', '0', 'Zuwendungen Spenden'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1802, 'SKR03', '1', '1845', '0', 'Zuwendungen Spenden'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1803, 'SKR03', '1', '1846', '0', 'Zuwendungen Spenden'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1804, 'SKR03', '1', '1847', '0', 'Zuwendungen Spenden'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1805, 'SKR03', '1', '1848', '0', 'Zuwendungen Spenden'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1806, 'SKR03', '1', '1849', '0', 'Zuwendungen Spenden'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1807, 'SKR03', '1', '1850', '0', 'Außergewöhnliche Belastungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1808, 'SKR03', '1', '1851', '0', 'Außergewöhnliche Belastungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1809, 'SKR03', '1', '1852', '0', 'Außergewöhnliche Belastungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1810, 'SKR03', '1', '1853', '0', 'Außergewöhnliche Belastungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1811, 'SKR03', '1', '1854', '0', 'Außergewöhnliche Belastungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1812, 'SKR03', '1', '1855', '0', 'Außergewöhnliche Belastungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1813, 'SKR03', '1', '1856', '0', 'Außergewöhnliche Belastungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1814, 'SKR03', '1', '1857', '0', 'Außergewöhnliche Belastungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1815, 'SKR03', '1', '1858', '0', 'Außergewöhnliche Belastungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1816, 'SKR03', '1', '1859', '0', 'Außergewöhnliche Belastungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1817, 'SKR03', '1', '1860', '0', 'Grundstücksaufwand'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1818, 'SKR03', '1', '1861', '0', 'Grundstücksaufwand'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1819, 'SKR03', '1', '1862', '0', 'Grundstücksaufwand'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1820, 'SKR03', '1', '1863', '0', 'Grundstücksaufwand'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1821, 'SKR03', '1', '1864', '0', 'Grundstücksaufwand'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1822, 'SKR03', '1', '1865', '0', 'Grundstücksaufwand'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1823, 'SKR03', '1', '1866', '0', 'Grundstücksaufwand'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1824, 'SKR03', '1', '1867', '0', 'Grundstücksaufwand'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1825, 'SKR03', '1', '1868', '0', 'Grundstücksaufwand'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1826, 'SKR03', '1', '1869', '0', 'Grundstücksaufwand (Umsatzsteuerschlüssel möglich)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1827, 'SKR03', '1', '1870', '0', 'Grundstücksertrag'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1828, 'SKR03', '1', '1871', '0', 'Grundstücksertrag'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1829, 'SKR03', '1', '1872', '0', 'Grundstücksertrag'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1830, 'SKR03', '1', '1873', '0', 'Grundstücksertrag'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1831, 'SKR03', '1', '1874', '0', 'Grundstücksertrag'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1832, 'SKR03', '1', '1875', '0', 'Grundstücksertrag'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1833, 'SKR03', '1', '1876', '0', 'Grundstücksertrag'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1834, 'SKR03', '1', '1877', '0', 'Grundstücksertrag'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1835, 'SKR03', '1', '1878', '0', 'Grundstücksertrag'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1836, 'SKR03', '1', '1879', '0', 'Grundstücksertrag (Umsatzsteuerschlüssel möglich)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1837, 'SKR03', '1', '1880', '0', 'Unentgeltliche Wertabgaben'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1838, 'SKR03', '1', '1881', '0', 'Unentgeltliche Wertabgaben'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1839, 'SKR03', '1', '1882', '0', 'Unentgeltliche Wertabgaben'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1840, 'SKR03', '1', '1883', '0', 'Unentgeltliche Wertabgaben'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1841, 'SKR03', '1', '1884', '0', 'Unentgeltliche Wertabgaben'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1842, 'SKR03', '1', '1885', '0', 'Unentgeltliche Wertabgaben'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1843, 'SKR03', '1', '1886', '0', 'Unentgeltliche Wertabgaben'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1844, 'SKR03', '1', '1887', '0', 'Unentgeltliche Wertabgaben'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1845, 'SKR03', '1', '1888', '0', 'Unentgeltliche Wertabgaben'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1846, 'SKR03', '1', '1889', '0', 'Unentgeltliche Wertabgaben'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1847, 'SKR03', '1', '1890', '0', 'Privateinlagen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1848, 'SKR03', '1', '1891', '0', 'Privateinlagen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1849, 'SKR03', '1', '1892', '0', 'Privateinlagen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1850, 'SKR03', '1', '1893', '0', 'Privateinlagen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1851, 'SKR03', '1', '1894', '0', 'Privateinlagen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1852, 'SKR03', '1', '1895', '0', 'Privateinlagen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1853, 'SKR03', '1', '1896', '0', 'Privateinlagen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1854, 'SKR03', '1', '1897', '0', 'Privateinlagen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1855, 'SKR03', '1', '1898', '0', 'Privateinlagen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1856, 'SKR03', '1', '1899', '0', 'Privateinlagen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1859, 'SKR03', '1', '1900', '0', 'Privatentnahmen allgemein'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1860, 'SKR03', '1', '1901', '0', 'Privatentnahmen allgemein'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1861, 'SKR03', '1', '1902', '0', 'Privatentnahmen allgemein'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1862, 'SKR03', '1', '1903', '0', 'Privatentnahmen allgemein'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1863, 'SKR03', '1', '1904', '0', 'Privatentnahmen allgemein'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1864, 'SKR03', '1', '1905', '0', 'Privatentnahmen allgemein'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1865, 'SKR03', '1', '1906', '0', 'Privatentnahmen allgemein'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1866, 'SKR03', '1', '1907', '0', 'Privatentnahmen allgemein'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1867, 'SKR03', '1', '1908', '0', 'Privatentnahmen allgemein'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1868, 'SKR03', '1', '1909', '0', 'Privatentnahmen allgemein'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1869, 'SKR03', '1', '1910', '0', 'Privatsteuern'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1870, 'SKR03', '1', '1911', '0', 'Privatsteuern'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1871, 'SKR03', '1', '1912', '0', 'Privatsteuern'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1872, 'SKR03', '1', '1913', '0', 'Privatsteuern'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1873, 'SKR03', '1', '1914', '0', 'Privatsteuern'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1874, 'SKR03', '1', '1915', '0', 'Privatsteuern'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1875, 'SKR03', '1', '1916', '0', 'Privatsteuern'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1876, 'SKR03', '1', '1917', '0', 'Privatsteuern'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1877, 'SKR03', '1', '1918', '0', 'Privatsteuern'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1878, 'SKR03', '1', '1919', '0', 'Privatsteuern'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1879, 'SKR03', '1', '1920', '0', 'Sonderausgaben beschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1880, 'SKR03', '1', '1921', '0', 'Sonderausgaben beschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1881, 'SKR03', '1', '1922', '0', 'Sonderausgaben beschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1882, 'SKR03', '1', '1923', '0', 'Sonderausgaben beschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1883, 'SKR03', '1', '1924', '0', 'Sonderausgaben beschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1884, 'SKR03', '1', '1925', '0', 'Sonderausgaben beschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1885, 'SKR03', '1', '1926', '0', 'Sonderausgaben beschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1886, 'SKR03', '1', '1927', '0', 'Sonderausgaben beschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1887, 'SKR03', '1', '1928', '0', 'Sonderausgaben beschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1888, 'SKR03', '1', '1929', '0', 'Sonderausgaben beschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1889, 'SKR03', '1', '1930', '0', 'Sonderausgaben unbeschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1890, 'SKR03', '1', '1931', '0', 'Sonderausgaben unbeschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1891, 'SKR03', '1', '1932', '0', 'Sonderausgaben unbeschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1892, 'SKR03', '1', '1933', '0', 'Sonderausgaben unbeschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1893, 'SKR03', '1', '1934', '0', 'Sonderausgaben unbeschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1894, 'SKR03', '1', '1935', '0', 'Sonderausgaben unbeschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1895, 'SKR03', '1', '1936', '0', 'Sonderausgaben unbeschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1896, 'SKR03', '1', '1937', '0', 'Sonderausgaben unbeschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1897, 'SKR03', '1', '1938', '0', 'Sonderausgaben unbeschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1898, 'SKR03', '1', '1939', '0', 'Sonderausgaben unbeschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1899, 'SKR03', '1', '1940', '0', 'Zuwendungen Spenden'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1900, 'SKR03', '1', '1941', '0', 'Zuwendungen Spenden'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1901, 'SKR03', '1', '1942', '0', 'Zuwendungen Spenden'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1902, 'SKR03', '1', '1943', '0', 'Zuwendungen Spenden'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1903, 'SKR03', '1', '1944', '0', 'Zuwendungen Spenden'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1904, 'SKR03', '1', '1945', '0', 'Zuwendungen Spenden'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1905, 'SKR03', '1', '1946', '0', 'Zuwendungen Spenden'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1906, 'SKR03', '1', '1947', '0', 'Zuwendungen Spenden'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1907, 'SKR03', '1', '1948', '0', 'Zuwendungen Spenden'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1908, 'SKR03', '1', '1949', '0', 'Zuwendungen Spenden'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1909, 'SKR03', '1', '1950', '0', 'Außergewöhnliche Belastungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1910, 'SKR03', '1', '1951', '0', 'Außergewöhnliche Belastungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1911, 'SKR03', '1', '1952', '0', 'Außergewöhnliche Belastungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1912, 'SKR03', '1', '1953', '0', 'Außergewöhnliche Belastungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1913, 'SKR03', '1', '1954', '0', 'Außergewöhnliche Belastungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1914, 'SKR03', '1', '1955', '0', 'Außergewöhnliche Belastungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1915, 'SKR03', '1', '1956', '0', 'Außergewöhnliche Belastungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1916, 'SKR03', '1', '1957', '0', 'Außergewöhnliche Belastungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1917, 'SKR03', '1', '1958', '0', 'Außergewöhnliche Belastungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1918, 'SKR03', '1', '1959', '0', 'Außergewöhnliche Belastungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1919, 'SKR03', '1', '1960', '0', 'Grundstücksaufwand'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1920, 'SKR03', '1', '1961', '0', 'Grundstücksaufwand'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1921, 'SKR03', '1', '1962', '0', 'Grundstücksaufwand'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1922, 'SKR03', '1', '1963', '0', 'Grundstücksaufwand'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1923, 'SKR03', '1', '1964', '0', 'Grundstücksaufwand'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1924, 'SKR03', '1', '1965', '0', 'Grundstücksaufwand'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1925, 'SKR03', '1', '1966', '0', 'Grundstücksaufwand'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1926, 'SKR03', '1', '1967', '0', 'Grundstücksaufwand'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1927, 'SKR03', '1', '1968', '0', 'Grundstücksaufwand'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1928, 'SKR03', '1', '1969', '0', 'Grundstücksaufwand'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1929, 'SKR03', '1', '1970', '0', 'Grundstücksertrag'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1930, 'SKR03', '1', '1971', '0', 'Grundstücksertrag'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1931, 'SKR03', '1', '1972', '0', 'Grundstücksertrag'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1932, 'SKR03', '1', '1973', '0', 'Grundstücksertrag'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1933, 'SKR03', '1', '1974', '0', 'Grundstücksertrag'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1934, 'SKR03', '1', '1975', '0', 'Grundstücksertrag'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1935, 'SKR03', '1', '1976', '0', 'Grundstücksertrag'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1936, 'SKR03', '1', '1977', '0', 'Grundstücksertrag'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1937, 'SKR03', '1', '1978', '0', 'Grundstücksertrag'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1938, 'SKR03', '1', '1979', '0', 'Grundstücksertrag'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1939, 'SKR03', '1', '1980', '0', 'Unentgeltliche Wertabgaben'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1940, 'SKR03', '1', '1981', '0', 'Unentgeltliche Wertabgaben'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1941, 'SKR03', '1', '1982', '0', 'Unentgeltliche Wertabgaben'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1942, 'SKR03', '1', '1983', '0', 'Unentgeltliche Wertabgaben'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1943, 'SKR03', '1', '1984', '0', 'Unentgeltliche Wertabgaben'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1944, 'SKR03', '1', '1985', '0', 'Unentgeltliche Wertabgaben'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1945, 'SKR03', '1', '1986', '0', 'Unentgeltliche Wertabgaben'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1946, 'SKR03', '1', '1987', '0', 'Unentgeltliche Wertabgaben'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1947, 'SKR03', '1', '1988', '0', 'Unentgeltliche Wertabgaben'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1948, 'SKR03', '1', '1989', '0', 'Unentgeltliche Wertabgaben'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1949, 'SKR03', '1', '1990', '0', 'Privateinlagen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1950, 'SKR03', '1', '1991', '0', 'Privateinlagen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1951, 'SKR03', '1', '1992', '0', 'Privateinlagen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1952, 'SKR03', '1', '1993', '0', 'Privateinlagen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1953, 'SKR03', '1', '1994', '0', 'Privateinlagen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1954, 'SKR03', '1', '1995', '0', 'Privateinlagen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1955, 'SKR03', '1', '1996', '0', 'Privateinlagen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1956, 'SKR03', '1', '1997', '0', 'Privateinlagen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1957, 'SKR03', '1', '1998', '0', 'Privateinlagen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1958, 'SKR03', '1', '1999', '0', 'Privateinlagen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1961, 'SKR03', '2', '2000', '0', 'Außerordentliche Aufwendungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1962, 'SKR03', '2', '2001', '0', 'Außerordentliche Aufwendungen finanzwirksam'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1963, 'SKR03', '2', '2005', '0', 'Außerordentliche Aufwendungen nicht finanzwirksam'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1966, 'SKR03', '2', '2010', '0', 'Betriebsfremde Aufwendungen (soweit nicht außerordentlich)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1967, 'SKR03', '2', '2020', '0', 'Periodenfremde Aufwendungen (soweit nicht außerordentlich)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1970, 'SKR03', '2', '2100', '0', 'Zinsen und ähnliche Aufwendungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1971, 'SKR03', '2', '2103', '0', 'Steuerlich abzugsfähige andere Nebenleistungen zu steuern'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1972, 'SKR03', '2', '2104', '0', 'Steuerlich nicht abzugsfähige andere Nebenleistungen zu Steuern'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1973, 'SKR03', '2', '2107', '0', 'Zinsaufwendungen § 233a AO betriebliche Steuern'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1974, 'SKR03', '2', '2108', '0', 'Zinsaufwendungen §§ 233a bis 237 AO Personensteuern'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1975, 'SKR03', '2', '2109', '0', 'Zinsaufwendungen an verbundene Unternehmen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1976, 'SKR03', '2', '2110', '0', 'Zinsaufwendungen für kurzfristige Verbindlichkeiten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1977, 'SKR03', '2', '2113', '0', 'Nicht abzugsfähige Schuldzinsen gemäß § 4 Abs. 4a EStG (Hinzurechnungsbetrag)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1978, 'SKR03', '2', '2115', '0', 'Zinsen und ähnliche Aufwendungen 100% / 50% nicht abzugsfähig (inländiche Kap. Ges.)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1979, 'SKR03', '2', '2116', '0', 'Zinsen und ähnliche Aufwendungen an verbundene Unternehmen 100% / 50% nicht abzugsfähig (inländiche Kap. Ges.)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1980, 'SKR03', '2', '2118', '0', 'In Dauerschuldzinsen umqualifizierte Zinsen auf kurzfristige Verbindlichkeiten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1981, 'SKR03', '2', '2119', '0', 'Zinsaufwendungen für kurzfristige Verbindlichkeiten an verbundene Unternehmen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1982, 'SKR03', '2', '2120', '0', 'Zinsaufwendungen für langfristige Verbindlichkeiten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1983, 'SKR03', '2', '2125', '0', 'Zinsaufwendungen für Gebäude die zum Betriebsvermögen gehören'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1984, 'SKR03', '2', '2126', '0', 'Zinsen zur Finanzierung des Anlagevermögen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1985, 'SKR03', '2', '2127', '0', 'Renten und dauernde Lasten aus Gründung / Erwerb §8 GewStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1986, 'SKR03', '2', '2128', '0', 'Zinsaufwendungen an Mitunternehmer für die Hingabe von Kapital § 15 EStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1987, 'SKR03', '2', '2129', '0', 'Zinsaufwendungen für langfristige Verbindlichkeiten an verbundene Unternehmen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1988, 'SKR03', '2', '2130', '0', 'Diskontaufwendungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1989, 'SKR03', '2', '2139', '0', 'Diskontaufwendungen an verbundene Unternehmen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1990, 'SKR03', '2', '2140', '0', 'Zinsähnliche Aufwendungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1991, 'SKR03', '2', '2149', '0', 'Zinsähnliche Aufwendungen an verbundene Unternehmen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1993, 'SKR03', '2', '2150', '0', 'Aufwendungen aus Kursdifferenzen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1994, 'SKR03', '2', '2166', '0', 'Aufwendungen Bewertung Finanzmittelfonds'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1995, 'SKR03', '2', '2170', '0', 'Nicht abziehbare Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1996, 'SKR03', '2', '2171', '0', 'Nicht abziehbare Vorsteuer 7%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1997, 'SKR03', '2', '2175', '0', 'Nicht abziehbare Vorsteuer 16%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 1998, 'SKR03', '2', '2176', '0', 'Nicht abziehbare Vorsteuer 19%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2001, 'SKR03', '2', '2200', '0', 'Körperschaftsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2002, 'SKR03', '2', '2203', '0', 'Körperschaftsteuer für Vorjahre'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2003, 'SKR03', '2', '2204', '0', 'Körperschaftsteuererstattungen für Vorjahre'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2004, 'SKR03', '2', '2208', '0', 'Solidaritätszuschlag'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2005, 'SKR03', '2', '2209', '0', 'Solidaritätszuschlag für Vorjahre'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2006, 'SKR03', '2', '2210', '0', 'Solidaritätszuschlag für Vorjahre für Vorjahre'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2007, 'SKR03', '2', '2212', '0', 'Kapitalertragsteuer 20%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2008, 'SKR03', '2', '2213', '0', 'Kapitalertragsteuer 25%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2009, 'SKR03', '2', '2214', '0', 'Anrechenbarer Solidaritätszuschlag auf Kapitalertragsteuer 20%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2010, 'SKR03', '2', '2215', '0', 'Zinsabschlagsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2011, 'SKR03', '2', '2216', '0', 'Anrechenbarer Solidaritätszuschlag auf Kapitalertragsteuer 25%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2012, 'SKR03', '2', '2218', '0', 'Anrechenbarer Solidaritätszuschlag auf Zinsabschlagsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2013, 'SKR03', '2', '2219', '0', 'Ausländische Quellensteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2014, 'SKR03', '2', '2280', '0', 'Steuernachzahlungen Vorjahre für Steuern vom Einkommen und Ertrag'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2015, 'SKR03', '2', '2282', '0', 'Steuererstattungen Vorjahre für Steuern vom Einkommen und Ertrag'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2016, 'SKR03', '2', '2284', '0', 'Erträge aus der Auflösung von Rückstellungen für Steuern vom Einkommen und Ertrag'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2018, 'SKR03', '2', '2285', '0', 'Steuernachzahlungen Vorjahre für sonstige Steuern'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2019, 'SKR03', '2', '2287', '0', 'Steuererstattungen Vorjahre für sonstige Steuern'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2020, 'SKR03', '2', '2289', '0', 'Erträge aus der Auflösung von Rückstellungen für sonstige Steuern'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2023, 'SKR03', '2', '2300', '0', 'Sonstige Aufwendungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2024, 'SKR03', '2', '2307', '0', 'Sonstige Aufwendungen betriebsfremde und regelmäßig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2025, 'SKR03', '2', '2309', '0', 'Sonstige Aufwendungen unregelmässig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2026, 'SKR03', '2', '2310', '0', 'Anlagenabgänge Sachanlagen (Restbuchwert bei Buchverlust)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2027, 'SKR03', '2', '2311', '0', 'Anlagenabgänge immaterielle Vermögensgegenstände (Restbuchwert bei Buchverlust)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2028, 'SKR03', '2', '2312', '0', 'Anlagenabgänge Finanzanlagen (Restbuchwert bei Buchverlust)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2029, 'SKR03', '2', '2313', '0', 'Anlagenabgänge Finanzanlagen 100% / 50% nicht abzugsfähig (inländische Kap. Ges.) (Restbuchwert bei Buchverlust)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2031, 'SKR03', '2', '2315', '0', 'Anlagenabgänge Sachanlagen (Restbuchwert bei Buchgewinn)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2032, 'SKR03', '2', '2316', '0', 'Anlagenabgänge immaterielle Vermögensgegenstände (Restbuchwert bei Buchgewinn)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2033, 'SKR03', '2', '2317', '0', 'Anlagenabgänge Finanzanlagen (Restbuchwert bei Buchgewinn)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2034, 'SKR03', '2', '2318', '0', 'Anlagenabgänge Finanzanlagen 100% / 50% steuerfrei (inländische Kap. Ges.) (Restbuchwert bei Buchgewinn)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2035, 'SKR03', '2', '2320', '0', 'Verluste aus dem Abgang von Gegenständen des Anlagevermögens'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2036, 'SKR03', '2', '2323', '0', 'Verluste aus der Veräußerung von Anteilen an Kapitalgesellschaften 100% / 50% nicht abzugsfähig (inländische Kap. Ges.)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2037, 'SKR03', '2', '2325', '0', 'Verluste aus dem Abgang von Gegenständen des Umlaufvermögens (außer Vorräte)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2038, 'SKR03', '2', '2326', '0', 'Verluste aus dem Abgang von Gegenständen des Umlaufvermögens (außer Vorräte) 100% / 50% nicht abzugsfähig (inländische Kap. Ges.)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2039, 'SKR03', '2', '2327', '0', 'Abgang von Wirtschaftsgütern des Umlaufvermögens nach §4 Abs. 3 Satz 4 EStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2040, 'SKR03', '2', '2328', '0', 'Abgang von Wirtschaftsgütern des Umlaufvermögens 100% / 50% nicht abzugsfähig (inländische Kap. Ges.) nach §4 Abs. 3 Satz 4 EStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2041, 'SKR03', '2', '2340', '0', 'Einstellungen in Sonderposten mit Rücklageanteil (steuerfreie Rücklagen)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2042, 'SKR03', '2', '2341', '0', 'Einstellungen in Sonderposten mit Rücklageanteil (Ansparabschreibungen)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2043, 'SKR03', '2', '2342', '0', 'Einstellungen in Sonderposten mit Rücklageanteil (Existenzgründerrücklage)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2044, 'SKR03', '2', '2345', '0', 'Einstellungen in Sonderposten mit Rücklageanteil (Sonderabschreibungen)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2045, 'SKR03', '2', '2346', '0', 'Einstellungen in Sonderposten mit Rücklageanteil (§ 52 Abs. 16 EStG)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2046, 'SKR03', '2', '2348', '0', 'Aufwendungen aus der Zuschreibung von steuerlich niedriger bewerteten Verbindlichkeiten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2047, 'SKR03', '2', '2349', '0', 'Aufwendungen aus der Zuschreibung von steuerlich niedriger bewerteten Rückstellungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2048, 'SKR03', '2', '2350', '0', 'Grundstücksaufwendungen neutral'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2050, 'SKR03', '2', '2375', '0', 'Grundsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2051, 'SKR03', '2', '2380', '0', 'Zuwendungen Spenden steuerlich nicht abziehbar'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2052, 'SKR03', '2', '2381', '0', 'Zuwendungen Spenden für wissenschaftliche und kulturelle Zwecke'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2053, 'SKR03', '2', '2382', '0', 'Zuwendungen Spenden für mildtätige Zwecke'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2054, 'SKR03', '2', '2383', '0', 'Zuwendungen Spenden für kirchliche religiöse und gemeinnützige Zwecke'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2055, 'SKR03', '2', '2384', '0', 'Zuwendungen Spenden an politische Parteien'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2056, 'SKR03', '2', '2385', '0', 'Nicht abziehbare Hälfte der Aufsichtsratsvergütungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2057, 'SKR03', '2', '2386', '0', 'Abziehbare Aufsichtsratsvergütung'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2058, 'SKR03', '2', '2387', '0', 'Zuwendungen Spenden an Stiftungen für gemeinnützige Zwecke i. S. d. § 52 Abs. 2 Nr. 1-3 AO'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2059, 'SKR03', '2', '2388', '0', 'Zuwendungen Spenden an Stiftungen für gemeinnützige Zwecke i. S. d. § 52 Abs. 2 Nr. 4 AO'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2060, 'SKR03', '2', '2389', '0', 'Zuwendungen Spenden an Stiftungen für kirchliche religiöse und gemeinnützige Zwecke'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2061, 'SKR03', '2', '2390', '0', 'Zuwendungen Spenden an Stiftungen für wissenschaftliche mildtätige kulturelle Zwecke'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2062, 'SKR03', '2', '2400', '0', 'Forderungsverluste (übliche Höhe)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2063, 'SKR03', '2', '2401', '0', 'Forderungsverluste 7% USt (übliche Höhe)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2064, 'SKR03', '2', '2402', '0', 'Forderungsverluste aus steuerfreien EG-Lieferungen (übliche Höhe)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2065, 'SKR03', '2', '2403', '0', 'Forderungsverluste aus im Inland steuerpflichtigen EG-Lieferungen 7% USt (übliche Höhe)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2066, 'SKR03', '2', '2404', '0', 'Forderungsverluste aus im Inland steuerpflichtigen EG-Lieferungen 16% USt (übliche Höhe)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2067, 'SKR03', '2', '2405', '0', 'Forderungsverluste 16% USt (übliche Höhe)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2068, 'SKR03', '2', '2406', '0', 'Forderungsverluste 19% USt (übliche Höhe)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2069, 'SKR03', '2', '2407', '0', 'Forderungsverluste 15% USt (übliche Höhe)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2070, 'SKR03', '2', '2408', '0', 'Forderungsverluste aus im Inland steuerpflichtigen EG-Lieferungen 19% USt (übliche Höhe)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2071, 'SKR03', '2', '2409', '0', 'Forderungsverluste aus im Inland steuerpflichtigen EG-Lieferungen 15% USt (übliche Höhe)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2073, 'SKR03', '2', '2430', '0', 'Forderungsverluste unüblich hoch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2074, 'SKR03', '2', '2450', '0', 'Einstellung in die Pauschalwertberichtigung zu Forderungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2075, 'SKR03', '2', '2451', '0', 'Einstellung in die Einzelwertberichtigung zu Forderungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2077, 'SKR03', '2', '2490', '0', 'Aufwendungen aus Verlustübernahme'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2079, 'SKR03', '2', '2492', '0', 'Abgeführte Gewinne auf Grund einer Gewinngemeinschaft'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2080, 'SKR03', '2', '2493', '0', 'Abgeführte Gewinnanteile an stille Gesellschafter § 8 GewStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2081, 'SKR03', '2', '2494', '0', 'Abgeführte Gewinne auf Grund eines Gewinn- oder Teilgewinnabführungsvetrags'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2083, 'SKR03', '2', '2495', '0', 'Einstellungen in die Kapitalrücklage nach den Vorschriften über die vereinfachte Kapitalherabsetzung'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2085, 'SKR03', '2', '2496', '0', 'Einstellung in die gesetzliche Rücklage'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2087, 'SKR03', '2', '2497', '0', 'Einstellungen in satzungsmäßige Rücklagen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2089, 'SKR03', '2', '2498', '0', 'Einstellung in die Rücklage für eigene Anteile'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2091, 'SKR03', '2', '2499', '0', 'Einstellung in andere Gewinnrücklagen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2094, 'SKR03', '2', '2500', '0', 'Außerordentliche Erträge'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2095, 'SKR03', '2', '2501', '0', 'Außerordentliche Erträge finanzwirksam'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2096, 'SKR03', '2', '2505', '0', 'Außerordentliche Erträge nicht finanzwirksam'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2099, 'SKR03', '2', '2510', '0', 'Betriebsfremde Erträge (soweit nicht außerordentlich)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2100, 'SKR03', '2', '2520', '0', 'Periodenfremde Erträge (soweit nicht außerordentlich)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2103, 'SKR03', '2', '2600', '0', 'Erträge aus Beteiligungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2104, 'SKR03', '2', '2615', '0', 'Laufende Erträge aus Anteilen an Kapitalgesellschaften (Beteiligung 100% / 50% steuerfrei) (inländische Kap. Ges.)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2105, 'SKR03', '2', '2616', '0', 'Laufende Erträge aus Anteilen an Kapitalgesellschaften (verbundene Unternehmen) 100% / 50% steuerfrei (inländische Kap. Ges.)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2106, 'SKR03', '2', '2617', '0', 'Gewinne aus Anteilen an nicht steuerbefreiten inländischen Kapitalgesellschaften § 9 Nr. 2a GewStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2107, 'SKR03', '2', '2618', '0', 'Gewinnanteile aus Mitunternehmerschaften § 9 GewStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2108, 'SKR03', '2', '2619', '0', 'Erträge aus Beteiligungen an verbundenen Unternehmen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2110, 'SKR03', '2', '2620', '0', 'Erträge aus anderen Wertpapieren und Ausleihungen des Finanzanlagevermögen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2111, 'SKR03', '2', '2625', '0', 'laufende Erträge aus Anteilen an Kapitalgesellschaften (Finanzanlagevermögen) 100% / 50% steuerfrei (inländische Kap. Ges.)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2112, 'SKR03', '2', '2626', '0', 'Laufende Erträge aus Anteilen an Kapitalgesellschaften (verbundene Unternehmen) 100% / 50% steuerfrei (inländische Kap. Ges.)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2113, 'SKR03', '2', '2649', '0', 'Erträge aus anderen Wertpapieren und Ausleihungen des Finanzanlagevermögen aus verbundenen Unternehmen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2115, 'SKR03', '2', '2650', '0', 'Sonstige Zinsen und ähnliche Erträge'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2116, 'SKR03', '2', '2655', '0', 'laufende Erträge aus Anteilen an Kapitalgesellschaften (Umlaufvermögen) 100% / 50% steuerfrei (inländische Kap. Ges.)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2117, 'SKR03', '2', '2656', '0', 'laufende Erträge aus Anteilen an Kapitalgesellschaften (verbundene Unternehmen) 100% / 50% steuerfrei (inländische Kap. Ges.)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2118, 'SKR03', '2', '2657', '0', 'Zinserträge § 233a AO'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2119, 'SKR03', '2', '2658', '0', 'Zinserträge § 233a AO Sonderfall Anlage A KSt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2120, 'SKR03', '2', '2659', '0', 'Sonstige Zinsen und ähnliche Erträge aus verbundenen Unternehmen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2122, 'SKR03', '2', '2660', '0', 'Erträge aus Kursdifferenzen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2123, 'SKR03', '2', '2661', '0', 'Nicht realisierbare Währungsdifferenzen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2124, 'SKR03', '2', '2662', '0', 'Realisierte Währungsdifferenzen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2125, 'SKR03', '2', '2663', '0', 'Produkt Rechnung Preisdifferenz'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2126, 'SKR03', '2', '2664', '0', 'Realisierte Währungsdifferenzen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2127, 'SKR03', '2', '2665', '0', 'Erträge a. Währungsumstellung auf Euro'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2128, 'SKR03', '2', '2666', '0', 'Erträge aus Bewertung Finanzmittelfonds'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2129, 'SKR03', '2', '2667', '0', 'Bank Währungsverlust (Konto)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2130, 'SKR03', '2', '2668', '0', 'Währungsdifferenz zum Kontenausgleich'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2131, 'SKR03', '2', '2669', '0', 'Nicht realisierbare Währungsdifferenzen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2133, 'SKR03', '2', '2670', '0', 'Diskonterträge'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2134, 'SKR03', '2', '2671', '0', 'Bank Bewertungsertrag'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2135, 'SKR03', '2', '2672', '0', 'Rundungsdifferenzen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2136, 'SKR03', '2', '2673', '0', 'Kassendifferenzen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2137, 'SKR03', '2', '2679', '0', 'Diskonterträge verbundene Unternehmen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2138, 'SKR03', '2', '2680', '0', 'Zinsähnliche Erträge'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2139, 'SKR03', '2', '2689', '0', 'Zinsähnliche Erträge aus verbundenen Unternehmen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2142, 'SKR03', '2', '2700', '0', 'Sonstige Erträge'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2143, 'SKR03', '2', '2705', '0', 'Sonstige Erträge betrieblich und regelmäßig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2144, 'SKR03', '2', '2707', '0', 'Sonstige Erträge betriebsfremd und regelmäßig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2145, 'SKR03', '2', '2709', '0', 'Sonstige Erträge unregelmäßig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2146, 'SKR03', '2', '2710', '0', 'Erträge aus Zuschreibungen des Sachanlagevermögens'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2147, 'SKR03', '2', '2711', '0', 'Erträge aus Zuschreibungen des immateriellen Anlagevermögens'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2148, 'SKR03', '2', '2712', '0', 'Erträge aus Zuschreibungen des Finanzanlagevermögens'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2149, 'SKR03', '2', '2713', '0', 'Erträge aus Zuschreibungen des Finanzanlagevermögens 100% / 50% steuerfrei (inländische Kap. Ges.)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2150, 'SKR03', '2', '2714', '0', 'Erträge aus Zuschreibungen des anderen Anlagevermögens 100% / 50% steuerfrei (inländische Kap. Ges.)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2151, 'SKR03', '2', '2715', '0', 'Erträge aus Zuschreibungen des Umlaufvermögens'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2152, 'SKR03', '2', '2716', '0', 'Erträge aus Zuschreibungen des Umlaufvermögens 100% / 50% steuerfrei (inländische Kap. Ges.)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2153, 'SKR03', '2', '2720', '0', 'Erträge aus dem Abgang von Gegenständen des Anlagevermögens'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2154, 'SKR03', '2', '2723', '0', 'Erträge aus der Veräußerung von Anteilen an Kapitalgesellschaften 100% / 50% steuerfrei ( inländische Kap. Ges.)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2155, 'SKR03', '2', '2725', '0', 'Erträge aus dem Abgang von Gegenständen des Umlaufvermögens (außer Vorräte)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2156, 'SKR03', '2', '2726', '0', 'Erträge aus dem Abgang von Gegenständen des Umlaufvermögens (außer Vorräte) 100% / 50% steuerfrei ( inländische Kap. Ges.)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2157, 'SKR03', '2', '2730', '0', 'Erträge aus Herabsetzung der Pauschalwertberichtigung zu Forderungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2158, 'SKR03', '2', '2731', '0', 'Erträge aus Herabsetzung der Einzelwertberichtigung zu Forderungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2159, 'SKR03', '2', '2732', '0', 'Erträge aus abgeschriebenen Forderungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2160, 'SKR03', '2', '2733', '0', 'Erträge aus der Auflösung von Sonderposten mit Rücklageanteil (Existenzgründerrücklage)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2161, 'SKR03', '2', '2734', '0', 'Erträge aus der steuerlich niedrigeren Bewertung von Verbindlichkeiten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2162, 'SKR03', '2', '2735', '0', 'Erträge aus der Auflösung von Rückstellungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2163, 'SKR03', '2', '2736', '0', 'Erträge aus der steuerlich niedrigeren Bewertung von Rückstellungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2164, 'SKR03', '2', '2737', '0', 'Erträge aus der Auflösung von Sonderposten mit Rücklageanteil (aus der Währungsumstellung auf den Euro)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2165, 'SKR03', '2', '2738', '0', 'Erträge aus der Auflösung von Sonderposten mit Rücklageanteil nach § 52 Abs. 16 EStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2166, 'SKR03', '2', '2739', '0', 'Erträge aus der Auflösung von Sonderposten mit Rücklageanteil (Ansparabschreibungen)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2167, 'SKR03', '2', '2740', '0', 'Erträge aus der Auflösung von Sonderposten mit Rücklageanteil (steuerfreie Rücklagen)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2168, 'SKR03', '2', '2741', '0', 'Erträge aus der Auflösung von Sonderposten mit Rücklageanteil (Sonderabschreibungen)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2169, 'SKR03', '2', '2742', '0', 'Versicherungsentschädigungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2170, 'SKR03', '2', '2743', '0', 'Investitionszuschüsse (steuerpflichtig)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2171, 'SKR03', '2', '2744', '0', 'Investitionszulagen (steuerfrei)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2173, 'SKR03', '2', '2745', '0', 'Erträge aus Kapitalherabsetzung'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2174, 'SKR03', '2', '2746', '0', 'Steuerfreie Erträge aus der Auflösung von Sonderposten mit Rücklageanteil'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2175, 'SKR03', '2', '2747', '0', 'Sonstige steuerfreie Betriebseinnahmen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2176, 'SKR03', '2', '2749', '0', 'Erstattungen Aufwendungsausgleichsgesetz'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2177, 'SKR03', '2', '2750', '0', 'Grundstückserträge'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2179, 'SKR03', '2', '2790', '0', 'Erträge aus Verlustübernahme'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2181, 'SKR03', '2', '2792', '0', 'Erhaltene Gewinne auf Grund einer Gewinngemeinschaft'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2182, 'SKR03', '2', '2794', '0', 'Erhaltene Gewinne auf Grund eines Gewinn- oder Teilgewinnabführungsvetrags'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2184, 'SKR03', '2', '2795', '0', 'Entnahmen aus der Kapitalrücklage'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2186, 'SKR03', '2', '2796', '0', 'Entnahmen aus der gesetzlichen Rücklage'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2188, 'SKR03', '2', '2797', '0', 'Entnahmen aus satzungsmäßigen Rücklagen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2190, 'SKR03', '2', '2798', '0', 'Entnahmen aus der Rücklage für eigene Anteile'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2192, 'SKR03', '2', '2799', '0', 'Entnahmen aus anderen Gewinnrücklagen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2194, 'SKR03', '2', '2860', '0', 'Gewinnvortrag nach Verwendung'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2195, 'SKR03', '2', '2868', '0', 'Verlustvortrag nach Verwendung'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2197, 'SKR03', '2', '2869', '0', 'Vortrag auf neue Rechnung (GuV)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2199, 'SKR03', '2', '2870', '0', 'Vorabausschüttung'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2202, 'SKR03', '2', '2890', '0', 'Verrechneter kalkulatorischer Unternehmerlohn'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2203, 'SKR03', '2', '2891', '0', 'Verrechnete kalkulatorische Miete und Pacht'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2204, 'SKR03', '2', '2892', '0', 'Verrechnete kalkulatorische Zinsen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2205, 'SKR03', '2', '2893', '0', 'Verrechnete kalkulatorische Abschreibungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2206, 'SKR03', '2', '2894', '0', 'Verrechnete kalkulatorische Wagnisse'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2207, 'SKR03', '2', '2895', '0', 'Verrechneter kalkulatorische Lohn für unentgeltliche Mitarbeiter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2209, 'SKR03', '2', '2990', '0', 'Aufwendungen/Erträge aus Umrechnungsdifferenzen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2212, 'SKR03', '3', '3000', '0', 'Roh- Hilfs- und Betriebsstoffe'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2213, 'SKR03', '3', '3090', '0', 'Energiestoffe (Fertigung'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2215, 'SKR03', '3', '3100', '0', 'Fremdleistungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2219, 'SKR03', '3', '3110', '2215', 'Bauleistungen eines im Inland ansässigen Unternehmens 7% Vorsteuer und 7% Umsatzsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2220, 'SKR03', '3', '3115', '2215', 'Leistungen eines im Ausland ansässigen Unternehmens 7% Vorsteuer und 7% Umsatzsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2221, 'SKR03', '3', '3120', '2215', 'Bauleistungen eines im Inland ansässigen Unternehmens 19% Vorsteuer und 19% Umsatzsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2222, 'SKR03', '3', '3121', '2215', 'Bauleistungen eines im Inland ansässigen Unternehmens 19% Vorsteuer und 19% Umsatzsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2223, 'SKR03', '3', '3122', '2215', 'Bauleistungen eines im Inland ansässigen Unternehmens 16% Vorsteuer und 16% Umsatzsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2224, 'SKR03', '3', '3125', '2215', 'Leistungen eines im Ausland ansässigen Unternehmens 19% Vorsteuer und 19% Umsatzsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2225, 'SKR03', '3', '3126', '2215', 'Leistungen eines im Ausland ansässigen Unternehmens 19% Vorsteuer und 19% Umsatzsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2226, 'SKR03', '3', '3127', '2215', 'Leistungen eines im Ausland ansässigen Unternehmens 16% Vorsteuer und 16% Umsatzsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2227, 'SKR03', '3', '3130', '2215', 'Bauleistungen eines im Inland ansässigen Unternehmens ohne Vorsteuer und 7% Umsatzsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2228, 'SKR03', '3', '3135', '2215', 'Leistungen eines im Ausland ansässigen Unternehmens ohne Vorsteuer und 7% Umsatzsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2229, 'SKR03', '3', '3140', '2215', 'Bauleistungen eines im Inland ansässigen Unternehmens ohne Vorsteuer und 19% Umsatzsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2230, 'SKR03', '3', '3141', '2215', 'Bauleistungen eines im Inland ansässigen Unternehmens ohne Vorsteuer und 19% Umsatzsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2231, 'SKR03', '3', '3142', '2215', 'Bauleistungen eines im Inland ansässigen Unternehmens ohne Vorsteuer und 16% Umsatzsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2232, 'SKR03', '3', '3145', '2215', 'Leistungen eines im Ausland ansässigen Unternehmens ohne Vorsteuer und 19% Umsatzsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2233, 'SKR03', '3', '3146', '2215', 'Leistungen eines im Ausland ansässigen Unternehmens ohne Vorsteuer und 19% Umsatzsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2234, 'SKR03', '3', '3147', '2215', 'Leistungen eines im Ausland ansässigen Unternehmens ohne Vorsteuer und 16% Umsatzsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2235, 'SKR03', '3', '3150', '2215', 'Erhaltene Skonti aus Leistungen für die als Leistungsempfänger die Steuer nach § 13b UStG geschuldet wird'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2236, 'SKR03', '3', '3151', '2215', 'Erhaltene Skonti aus Leistungen für die als Leistungsempfänger die Steuer nach § 13b UStG geschuldet wird 19% Vorsteuer und 19% Umsatzsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2237, 'SKR03', '3', '3152', '2215', 'Erhaltene Skonti aus Leistungen für die als Leistungsempfänger die Steuer nach § 13b UStG geschuldet wird 16% Vorsteuer und 16% Umsatzsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2238, 'SKR03', '3', '3153', '2215', 'Erhaltene Skonti aus Leistungen für die als Leistungsempfänger die Steuer nach § 13b UStG geschuldet wird ohne Vorsteuer aber mit Umsatzsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2240, 'SKR03', '3', '3200', '0', 'Wareneingang'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2241, 'SKR03', '3', '3300', '2240', 'Wareneingang 7% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2242, 'SKR03', '3', '3301', '2240', 'Wareneingang 7% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2243, 'SKR03', '3', '3302', '2240', 'Wareneingang 7% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2244, 'SKR03', '3', '3303', '2240', 'Wareneingang 7% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2245, 'SKR03', '3', '3304', '2240', 'Wareneingang 7% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2246, 'SKR03', '3', '3305', '2240', 'Wareneingang 7% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2247, 'SKR03', '3', '3306', '2240', 'Wareneingang 7% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2248, 'SKR03', '3', '3307', '2240', 'Wareneingang 7% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2249, 'SKR03', '3', '3308', '2240', 'Wareneingang 7% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2250, 'SKR03', '3', '3309', '2240', 'Wareneingang 7% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2251, 'SKR03', '3', '3340', '2240', 'Wareneingang 16% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2252, 'SKR03', '3', '3341', '2240', 'Wareneingang 16% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2253, 'SKR03', '3', '3342', '2240', 'Wareneingang 16% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2254, 'SKR03', '3', '3343', '2240', 'Wareneingang 16% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2255, 'SKR03', '3', '3344', '2240', 'Wareneingang 16% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2256, 'SKR03', '3', '3345', '2240', 'Wareneingang 16% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2257, 'SKR03', '3', '3346', '2240', 'Wareneingang 16% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2258, 'SKR03', '3', '3347', '2240', 'Wareneingang 16% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2259, 'SKR03', '3', '3348', '2240', 'Wareneingang 16% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2260, 'SKR03', '3', '3349', '2240', 'Wareneingang 16% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2261, 'SKR03', '3', '3400', '2240', 'Wareneingang 19% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2262, 'SKR03', '3', '3401', '2240', 'Produkt Ausgaben'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2263, 'SKR03', '3', '3402', '2240', 'Produkt Vertriebsausgaben'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2264, 'SKR03', '3', '3403', '2240', 'Konto Kasse Aufwand'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2265, 'SKR03', '3', '3404', '2240', 'Einstandskosten Verrechnungskonto'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2266, 'SKR03', '3', '3405', '2240', 'Wareneingang 19% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2267, 'SKR03', '3', '3406', '2240', 'Wareneingang 19% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2268, 'SKR03', '3', '3407', '2240', 'Wareneingang 19% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2269, 'SKR03', '3', '3408', '2240', 'Wareneingang 19% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2270, 'SKR03', '3', '3409', '2240', 'Wareneingang 19% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2271, 'SKR03', '3', '3420', '2240', 'Innergemeinschaftlicher Erwerb 7% Vorsteuer und 7% Umsatzsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2272, 'SKR03', '3', '3421', '2240', 'Innergemeinschaftlicher Erwerb 7% Vorsteuer und 7% Umsatzsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2273, 'SKR03', '3', '3422', '2240', 'Innergemeinschaftlicher Erwerb 7% Vorsteuer und 7% Umsatzsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2274, 'SKR03', '3', '3423', '2240', 'Innergemeinschaftlicher Erwerb 7% Vorsteuer und 7% Umsatzsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2275, 'SKR03', '3', '3424', '2240', 'Innergemeinschaftlicher Erwerb 7% Vorsteuer und 7% Umsatzsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2276, 'SKR03', '3', '3425', '2240', 'Innergemeinschaftlicher Erwerb 19% Vorsteuer und 19% Umsatzsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2277, 'SKR03', '3', '3426', '2240', 'Innergemeinschaftlicher Erwerb 19% Vorsteuer und 19% Umsatzsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2278, 'SKR03', '3', '3427', '2240', 'Innergemeinschaftlicher Erwerb 19% Vorsteuer und 19% Umsatzsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2279, 'SKR03', '3', '3428', '2240', 'Innergemeinschaftlicher Erwerb 19% Vorsteuer und 19% Umsatzsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2280, 'SKR03', '3', '3429', '2240', 'Innergemeinschaftlicher Erwerb 19% Vorsteuer und 19% Umsatzsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2281, 'SKR03', '3', '3430', '2240', 'Innergemeinschaftlicher Erwerb ohne Vorsteuer und 7% Umsatzsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2282, 'SKR03', '3', '3433', '2240', 'Innergemeinschaftlicher Erwerb 16% Vorsteuer und 16% Umsatzsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2283, 'SKR03', '3', '3434', '2240', 'Innergemeinschaftlicher Erwerb 16% Vorsteuer und 16% Umsatzsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2284, 'SKR03', '3', '3435', '2240', 'Innergemeinschaftlicher Erwerb ohne Vorsteuer und 19% Umsatzsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2285, 'SKR03', '3', '3440', '2240', 'Innergemeinschaftlicher Erwerb von Neufahrzeugen von Lieferanten ohne Umsatzsteuer-Identifikationsnummer 19% Vorsteuer und 19% Umsatzsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2286, 'SKR03', '3', '3441', '2240', 'Innergemeinschaftlicher Erwerb von Neufahrzeugen von Lieferanten ohne Umsatzsteuer-Identifikationsnummer 16% Vorsteuer und 16% Umsatzsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2287, 'SKR03', '3', '3500', '2240', 'Wareneingang 5% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2288, 'SKR03', '3', '3501', '2240', 'Wareneingang 5% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2289, 'SKR03', '3', '3502', '2240', 'Wareneingang 5% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2290, 'SKR03', '3', '3503', '2240', 'Wareneingang 5% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2291, 'SKR03', '3', '3504', '2240', 'Wareneingang 5% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2292, 'SKR03', '3', '3505', '2240', 'Wareneingang 5 5% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2293, 'SKR03', '3', '3506', '2240', 'Wareneingang 5 5% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2294, 'SKR03', '3', '3507', '2240', 'Wareneingang 5 5% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2295, 'SKR03', '3', '3508', '2240', 'Wareneingang 5 5% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2296, 'SKR03', '3', '3509', '2240', 'Wareneingang 5 5% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2297, 'SKR03', '3', '3530', '2240', 'Wareneingang 9% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2298, 'SKR03', '3', '3531', '2240', 'Wareneingang 9% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2299, 'SKR03', '3', '3532', '2240', 'Wareneingang 9% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2300, 'SKR03', '3', '3533', '2240', 'Wareneingang 9% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2301, 'SKR03', '3', '3534', '2240', 'Wareneingang 9% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2302, 'SKR03', '3', '3540', '2240', 'Wareneingang 10 7% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2303, 'SKR03', '3', '3541', '2240', 'Wareneingang 10 7% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2304, 'SKR03', '3', '3542', '2240', 'Wareneingang 10 7% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2305, 'SKR03', '3', '3543', '2240', 'Wareneingang 10 7% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2306, 'SKR03', '3', '3544', '2240', 'Wareneingang 10 7% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2307, 'SKR03', '3', '3545', '2240', 'Wareneingang 10 7% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2308, 'SKR03', '3', '3546', '2240', 'Wareneingang 10 7% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2309, 'SKR03', '3', '3547', '2240', 'Wareneingang 10 7% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2310, 'SKR03', '3', '3548', '2240', 'Wareneingang 10 7% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2311, 'SKR03', '3', '3549', '2240', 'Wareneingang 10 7% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2312, 'SKR03', '3', '3550', '2240', 'steuerfreier innergemeinschaftlicher Erwerb'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2313, 'SKR03', '3', '3551', '2240', 'Wareneingang im Drittland steuerbar'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2314, 'SKR03', '3', '3559', '2240', 'Steuerfreier Einfuhren'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2315, 'SKR03', '3', '3558', '2240', 'Wareneingang I.a. EG-Land steuerbar'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2316, 'SKR03', '3', '3560', '2240', 'waren aus einem Umsatzsteuerlager § 13a UStG 7% Vorsteuer und 7% Umsatzsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2317, 'SKR03', '3', '3565', '2240', 'waren aus einem Umsatzsteuerlager § 13a UStG 19% Vorsteuer und 19% Umsatzsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2318, 'SKR03', '3', '3566', '2240', 'waren aus einem Umsatzsteuerlager § 13a UStG 16% Vorsteuer und 16% Umsatzsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2319, 'SKR03', '3', '3600', '2240', 'Nicht abziehbare Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2320, 'SKR03', '3', '3601', '2240', 'Nicht abziehbare Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2321, 'SKR03', '3', '3602', '2240', 'Nicht abziehbare Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2322, 'SKR03', '3', '3603', '2240', 'Nicht abziehbare Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2323, 'SKR03', '3', '3604', '2240', 'Nicht abziehbare Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2324, 'SKR03', '3', '3605', '2240', 'Nicht abziehbare Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2325, 'SKR03', '3', '3606', '2240', 'Nicht abziehbare Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2326, 'SKR03', '3', '3607', '2240', 'Nicht abziehbare Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2327, 'SKR03', '3', '3608', '2240', 'Nicht abziehbare Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2328, 'SKR03', '3', '3609', '2240', 'Nicht abziehbare Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2329, 'SKR03', '3', '3610', '2240', 'Nicht abziehbare Vorsteuer 7%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2330, 'SKR03', '3', '3611', '2240', 'Nicht abziehbare Vorsteuer 7%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2331, 'SKR03', '3', '3612', '2240', 'Nicht abziehbare Vorsteuer 7%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2332, 'SKR03', '3', '3613', '2240', 'Nicht abziehbare Vorsteuer 7%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2333, 'SKR03', '3', '3614', '2240', 'Nicht abziehbare Vorsteuer 7%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2334, 'SKR03', '3', '3615', '2240', 'Nicht abziehbare Vorsteuer 7%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2335, 'SKR03', '3', '3616', '2240', 'Nicht abziehbare Vorsteuer 7%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2336, 'SKR03', '3', '3617', '2240', 'Nicht abziehbare Vorsteuer 7%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2337, 'SKR03', '3', '3618', '2240', 'Nicht abziehbare Vorsteuer 7%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2338, 'SKR03', '3', '3619', '2240', 'Nicht abziehbare Vorsteuer 7%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2339, 'SKR03', '3', '3650', '2240', 'Nicht abziehbare Vorsteuer 16%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2340, 'SKR03', '3', '3651', '2240', 'Nicht abziehbare Vorsteuer 16%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2341, 'SKR03', '3', '3652', '2240', 'Nicht abziehbare Vorsteuer 16%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2342, 'SKR03', '3', '3653', '2240', 'Nicht abziehbare Vorsteuer 16%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2343, 'SKR03', '3', '3654', '2240', 'Nicht abziehbare Vorsteuer 16%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2344, 'SKR03', '3', '3655', '2240', 'Nicht abziehbare Vorsteuer 16%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2345, 'SKR03', '3', '3656', '2240', 'Nicht abziehbare Vorsteuer 16%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2346, 'SKR03', '3', '3657', '2240', 'Nicht abziehbare Vorsteuer 16%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2347, 'SKR03', '3', '3658', '2240', 'Nicht abziehbare Vorsteuer 16%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2348, 'SKR03', '3', '3659', '2240', 'Nicht abziehbare Vorsteuer 16%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2349, 'SKR03', '3', '3660', '2240', 'Nicht abziehbare Vorsteuer 19%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2350, 'SKR03', '3', '3661', '2240', 'Nicht abziehbare Vorsteuer 19%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2351, 'SKR03', '3', '3662', '2240', 'Nicht abziehbare Vorsteuer 19%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2352, 'SKR03', '3', '3663', '2240', 'Nicht abziehbare Vorsteuer 19%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2353, 'SKR03', '3', '3664', '2240', 'Nicht abziehbare Vorsteuer 19%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2354, 'SKR03', '3', '3665', '2240', 'Nicht abziehbare Vorsteuer 19%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2355, 'SKR03', '3', '3666', '2240', 'Nicht abziehbare Vorsteuer 19%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2356, 'SKR03', '3', '3667', '2240', 'Nicht abziehbare Vorsteuer 19%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2357, 'SKR03', '3', '3668', '2240', 'Nicht abziehbare Vorsteuer 19%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2358, 'SKR03', '3', '3669', '2240', 'Nicht abziehbare Vorsteuer 19%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2359, 'SKR03', '3', '3700', '2240', 'Nachlässe'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2360, 'SKR03', '3', '3710', '2240', 'Nachlässe 7% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2361, 'SKR03', '3', '3711', '2240', 'Nachlässe 7% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2362, 'SKR03', '3', '3720', '2240', 'Nachlässe 19% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2363, 'SKR03', '3', '3721', '2240', 'Nachlässe 19% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2364, 'SKR03', '3', '3722', '2240', 'Nachlässe 16% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2365, 'SKR03', '3', '3723', '2240', 'Nachlässe 15% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2366, 'SKR03', '3', '3724', '2240', 'Nachlässe aus innergemeinschaftlichem Erwerb 7% Vorsteuer und 7% Umsatzsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2367, 'SKR03', '3', '3725', '2240', 'Nachlässe aus innergemeinschaftlichem Erwerb 19% Vorsteuer und 19% Umsatzsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2368, 'SKR03', '3', '3726', '2240', 'Nachlässe aus innergemeinschaftlichem Erwerb 16% Vorsteuer und 16% Umsatzsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2369, 'SKR03', '3', '3727', '2240', 'Nachlässe aus innergemeinschaftlichem Erwerb 15% Vorsteuer und 15% Umsatzsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2372, 'SKR03', '3', '3730', '0', 'Erhaltene Skonti'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2373, 'SKR03', '3', '3731', '0', 'Erhaltene Skonti 7% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2374, 'SKR03', '3', '3735', '0', 'Erhaltene Skonti 16% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2375, 'SKR03', '3', '3736', '0', 'Erhaltene Skonti 19% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2376, 'SKR03', '3', '3745', '0', 'Erhaltene Skonti aus steuerpflichtigem innergemeinschaftlichem Erwerb'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2377, 'SKR03', '3', '3746', '0', 'Erhaltene Skonti aus steuerpflichtigem innergemeinschaftlichem Erwerb 7% Vorsteuer und 7% Umsatzsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2378, 'SKR03', '3', '3748', '0', 'Erhaltene Skonti aus steuerpflichtigem innergemeinschaftlichem Erwerb 19% Vorsteuer und 19% Umsatzsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2379, 'SKR03', '3', '3749', '0', 'Erhaltene Skonti aus steuerpflichtigem innergemeinschaftlichem Erwerb 16% Vorsteuer und 16% Umsatzsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2380, 'SKR03', '3', '3750', '0', 'Erhaltene Boni 7% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2381, 'SKR03', '3', '3751', '0', 'Erhaltene Boni 7% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2382, 'SKR03', '3', '3760', '0', 'Erhaltene Boni 19% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2383, 'SKR03', '3', '3761', '0', 'Erhaltene Boni 19% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2384, 'SKR03', '3', '3764', '0', 'Erhaltene Boni 16% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2385, 'SKR03', '3', '3765', '0', 'Erhaltene Boni 16% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2386, 'SKR03', '3', '3769', '0', 'Erhaltene Boni'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2387, 'SKR03', '3', '3770', '0', 'Erhaltene Rabatte'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2388, 'SKR03', '3', '3780', '0', 'Erhaltene Rabatte 7% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2389, 'SKR03', '3', '3781', '0', 'Erhaltene Rabatte 7% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2390, 'SKR03', '3', '3790', '0', 'Erhaltene Rabatte 19% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2391, 'SKR03', '3', '3791', '0', 'Erhaltene Rabatte 19% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2392, 'SKR03', '3', '3794', '0', 'Erhaltene Rabatte 16% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2393, 'SKR03', '3', '3795', '0', 'Erhaltene Rabatte 16% Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2394, 'SKR03', '3', '3800', '0', 'Bezugsnebenkosten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2395, 'SKR03', '3', '3830', '0', 'Leergut'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2396, 'SKR03', '3', '3850', '0', 'Zölle und Einfuhrabgaben'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2399, 'SKR03', '3', '3960', '0', 'Bestandsveränderungen Roh- Hilfs- und Betriebsstoffe sowie bezogene Waren'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2400, 'SKR03', '3', '3961', '0', 'Bestandsveränderungen Roh- Hilfs- und Betriebsstoffe sowie bezogene Waren'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2401, 'SKR03', '3', '3962', '0', 'Bestandsveränderungen Roh- Hilfs- und Betriebsstoffe sowie bezogene Waren'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2402, 'SKR03', '3', '3963', '0', 'Bestandsveränderungen Roh- Hilfs- und Betriebsstoffe sowie bezogene Waren'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2403, 'SKR03', '3', '3964', '0', 'Bestandsveränderungen Roh- Hilfs- und Betriebsstoffe sowie bezogene Waren'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2404, 'SKR03', '3', '3965', '0', 'Bestandsveränderungen Roh- Hilfs- und Betriebsstoffe sowie bezogene Waren'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2405, 'SKR03', '3', '3966', '0', 'Bestandsveränderungen Roh- Hilfs- und Betriebsstoffe sowie bezogene Waren'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2406, 'SKR03', '3', '3967', '0', 'Bestandsveränderungen Roh- Hilfs- und Betriebsstoffe sowie bezogene Waren'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2407, 'SKR03', '3', '3968', '0', 'Bestandsveränderungen Roh- Hilfs- und Betriebsstoffe sowie bezogene Waren'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2408, 'SKR03', '3', '3969', '0', 'Bestandsveränderungen Roh- Hilfs- und Betriebsstoffe sowie bezogene Waren'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2411, 'SKR03', '3', '3970', '0', 'Bestand Roh- Hilfs- und Betriebsstoffe'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2412, 'SKR03', '3', '3971', '0', 'Bestand Roh- Hilfs- und Betriebsstoffe'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2413, 'SKR03', '3', '3972', '0', 'Bestand Roh- Hilfs- und Betriebsstoffe'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2414, 'SKR03', '3', '3973', '0', 'Bestand Roh- Hilfs- und Betriebsstoffe'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2415, 'SKR03', '3', '3974', '0', 'Bestand Roh- Hilfs- und Betriebsstoffe'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2416, 'SKR03', '3', '3975', '0', 'Bestand Roh- Hilfs- und Betriebsstoffe'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2417, 'SKR03', '3', '3976', '0', 'Bestand Roh- Hilfs- und Betriebsstoffe'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2418, 'SKR03', '3', '3977', '0', 'Bestand Roh- Hilfs- und Betriebsstoffe'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2419, 'SKR03', '3', '3978', '0', 'Bestand Roh- Hilfs- und Betriebsstoffe'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2420, 'SKR03', '3', '3979', '0', 'Bestand Roh- Hilfs- und Betriebsstoffe'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2422, 'SKR03', '3', '3980', '0', 'Bestand Waren'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2423, 'SKR03', '3', '3981', '0', 'Bestand Waren'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2424, 'SKR03', '3', '3982', '0', 'Bestand Waren'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2425, 'SKR03', '3', '3983', '0', 'Bestand Waren'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2426, 'SKR03', '3', '3984', '0', 'Bestand Waren'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2427, 'SKR03', '3', '3985', '0', 'Lager Bestandswert Korrektur'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2428, 'SKR03', '3', '3986', '0', 'Lager Differenzkorrektur Gewinn / Verlust'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2429, 'SKR03', '3', '3987', '0', 'Lager Differenzkorrektur Marktwert'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2430, 'SKR03', '3', '3988', '0', 'Lager Bestand Zwischenkonto'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2431, 'SKR03', '3', '3989', '0', 'Bestand Waren'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2434, 'SKR03', '3', '3990', '0', 'Verrechnete Stoffkosten (Gegenkonto zu 4000-99)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2435, 'SKR03', '3', '3991', '0', 'Verrechnete Stoffkosten (Gegenkonto zu 4000-99)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2436, 'SKR03', '3', '3992', '0', 'Verrechnete Stoffkosten (Gegenkonto zu 4000-99)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2437, 'SKR03', '3', '3993', '0', 'Verrechnete Stoffkosten (Gegenkonto zu 4000-99)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2438, 'SKR03', '3', '3994', '0', 'Verrechnete Stoffkosten (Gegenkonto zu 4000-99)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2439, 'SKR03', '3', '3995', '0', 'Verrechnete Stoffkosten (Gegenkonto zu 4000-99)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2440, 'SKR03', '3', '3996', '0', 'Verrechnete Stoffkosten (Gegenkonto zu 4000-99)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2441, 'SKR03', '3', '3997', '0', 'Verrechnete Stoffkosten (Gegenkonto zu 4000-99)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2442, 'SKR03', '3', '3998', '0', 'Verrechnete Stoffkosten (Gegenkonto zu 4000-99)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2443, 'SKR03', '3', '3999', '0', 'Verrechnete Stoffkosten (Gegenkonto zu 4000-99)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2446, 'SKR03', '4', '4000', '0', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2447, 'SKR03', '4', '4001', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2448, 'SKR03', '4', '4002', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2449, 'SKR03', '4', '4003', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2450, 'SKR03', '4', '4004', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2451, 'SKR03', '4', '4005', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2452, 'SKR03', '4', '4006', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2453, 'SKR03', '4', '4007', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2454, 'SKR03', '4', '4008', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2455, 'SKR03', '4', '4009', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2456, 'SKR03', '4', '4010', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2457, 'SKR03', '4', '4011', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2458, 'SKR03', '4', '4012', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2459, 'SKR03', '4', '4013', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2460, 'SKR03', '4', '4014', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2461, 'SKR03', '4', '4015', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2462, 'SKR03', '4', '4016', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2463, 'SKR03', '4', '4017', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2464, 'SKR03', '4', '4018', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2465, 'SKR03', '4', '4019', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2466, 'SKR03', '4', '4020', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2467, 'SKR03', '4', '4021', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2468, 'SKR03', '4', '4022', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2469, 'SKR03', '4', '4023', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2470, 'SKR03', '4', '4024', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2471, 'SKR03', '4', '4025', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2472, 'SKR03', '4', '4026', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2473, 'SKR03', '4', '4027', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2474, 'SKR03', '4', '4028', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2475, 'SKR03', '4', '4029', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2476, 'SKR03', '4', '4030', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2477, 'SKR03', '4', '4031', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2478, 'SKR03', '4', '4032', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2479, 'SKR03', '4', '4033', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2480, 'SKR03', '4', '4034', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2481, 'SKR03', '4', '4035', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2482, 'SKR03', '4', '4036', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2483, 'SKR03', '4', '4037', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2484, 'SKR03', '4', '4038', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2485, 'SKR03', '4', '4039', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2486, 'SKR03', '4', '4040', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2487, 'SKR03', '4', '4041', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2488, 'SKR03', '4', '4042', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2489, 'SKR03', '4', '4043', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2490, 'SKR03', '4', '4044', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2491, 'SKR03', '4', '4045', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2492, 'SKR03', '4', '4046', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2493, 'SKR03', '4', '4047', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2494, 'SKR03', '4', '4048', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2495, 'SKR03', '4', '4049', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2496, 'SKR03', '4', '4050', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2497, 'SKR03', '4', '4051', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2498, 'SKR03', '4', '4052', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2499, 'SKR03', '4', '4053', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2500, 'SKR03', '4', '4054', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2501, 'SKR03', '4', '4055', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2502, 'SKR03', '4', '4056', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2503, 'SKR03', '4', '4057', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2504, 'SKR03', '4', '4058', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2505, 'SKR03', '4', '4059', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2506, 'SKR03', '4', '4060', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2507, 'SKR03', '4', '4061', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2508, 'SKR03', '4', '4062', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2509, 'SKR03', '4', '4063', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2510, 'SKR03', '4', '4064', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2511, 'SKR03', '4', '4065', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2512, 'SKR03', '4', '4066', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2513, 'SKR03', '4', '4067', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2514, 'SKR03', '4', '4068', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2515, 'SKR03', '4', '4069', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2516, 'SKR03', '4', '4070', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2517, 'SKR03', '4', '4071', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2518, 'SKR03', '4', '4072', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2519, 'SKR03', '4', '4073', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2520, 'SKR03', '4', '4074', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2521, 'SKR03', '4', '4075', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2522, 'SKR03', '4', '4076', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2523, 'SKR03', '4', '4077', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2524, 'SKR03', '4', '4078', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2525, 'SKR03', '4', '4079', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2526, 'SKR03', '4', '4080', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2527, 'SKR03', '4', '4081', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2528, 'SKR03', '4', '4082', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2529, 'SKR03', '4', '4083', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2530, 'SKR03', '4', '4084', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2531, 'SKR03', '4', '4085', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2532, 'SKR03', '4', '4086', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2533, 'SKR03', '4', '4087', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2534, 'SKR03', '4', '4088', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2535, 'SKR03', '4', '4089', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2536, 'SKR03', '4', '4090', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2537, 'SKR03', '4', '4091', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2538, 'SKR03', '4', '4092', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2539, 'SKR03', '4', '4093', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2540, 'SKR03', '4', '4094', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2541, 'SKR03', '4', '4095', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2542, 'SKR03', '4', '4096', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2543, 'SKR03', '4', '4097', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2544, 'SKR03', '4', '4098', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2545, 'SKR03', '4', '4099', '2446', 'Material-und Stoffverbrauch'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2548, 'SKR03', '4', '4100', '0', 'Löhne und Gehälter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2549, 'SKR03', '4', '4110', '2548', 'Löhne'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2550, 'SKR03', '4', '4120', '2548', 'Gehälter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2551, 'SKR03', '4', '4124', '2548', 'Geschäftsführergehälter GmbH-Gesellschafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2552, 'SKR03', '4', '4125', '2548', 'Ehegattengehalt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2553, 'SKR03', '4', '4126', '2548', 'Tantiemen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2554, 'SKR03', '4', '4127', '2548', 'Geschäftsführergehälter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2555, 'SKR03', '4', '4128', '2548', 'Vergütungen an angestellte Mitunternehmer §15 EStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2557, 'SKR03', '4', '4130', '2548', 'Gesetzliche Soziale Aufwendungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2558, 'SKR03', '4', '4137', '2548', 'Gesetzliche soziale Aufwendungen für Mitunternehmer §15 EStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2559, 'SKR03', '4', '4138', '2548', 'Beiträge zur Berufsgenossenschaft'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2561, 'SKR03', '4', '4139', '2548', 'Ausgleichsabgabe i. S. d. Schwerbehindertengesetz'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2562, 'SKR03', '4', '4140', '2548', 'Freiwillige soziale Aufwendungen lohnsteuerfrei'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2563, 'SKR03', '4', '4145', '2548', 'Freiwillige soziale Aufwendungen lohnsteuerpflichtig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2564, 'SKR03', '4', '4149', '2548', 'Pauschale Steuer auf sonstige Bezüge (z.B. Fahrkostenzuschüsse)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2565, 'SKR03', '4', '4150', '2548', 'Krankengeldzuschüsse'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2566, 'SKR03', '4', '4155', '2548', 'Zuschüsse der Agenturen für Arbeit (Haben)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2567, 'SKR03', '4', '4160', '2548', 'Versorgungskassen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2568, 'SKR03', '4', '4165', '2548', 'Aufwendungen für Altersversorgung'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2569, 'SKR03', '4', '4167', '2548', 'Pauschale Steuer auf sonstige Bezüge (z.B. Direktversicherungen)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2570, 'SKR03', '4', '4168', '2548', 'Aufwendungen für Altersversorgung für Mitunternehmer §15 EStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2571, 'SKR03', '4', '4169', '2548', 'Aufwendungen für Unterstützung'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2572, 'SKR03', '4', '4170', '2548', 'Vermögenswirksame Leistungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2573, 'SKR03', '4', '4175', '2548', 'Fahrtkostenerstattung Wohnung/Arbeitsstätte'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2574, 'SKR03', '4', '4180', '2548', 'Bedienungsgelder'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2575, 'SKR03', '4', '4190', '2548', 'Aushilfslöhne'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2576, 'SKR03', '4', '4199', '2548', 'Pauschale Steuer für Aushilfen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2579, 'SKR03', '4', '4200', '0', 'Raumkosten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2580, 'SKR03', '4', '4210', '2579', 'Miete'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2581, 'SKR03', '4', '4218', '2579', 'Gewerbesteuerlich zu berücksichtigende Miete §8 GewStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2582, 'SKR03', '4', '4219', '2579', 'Vergütung Mitunternehmer für die mieteweise überlassung ihrer Wirtschaftsgüter § 15 EStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2583, 'SKR03', '4', '4220', '2579', 'Pacht'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2584, 'SKR03', '4', '4228', '2579', 'Gewerbesteuerlich zu berücksichtigende Pacht §8 GewStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2585, 'SKR03', '4', '4229', '2579', 'Vergütung an Mitunternehmer für die pachtweise überlassung ihrer Wirtschaftsgüter § 15 EStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2586, 'SKR03', '4', '4230', '2579', 'Heizung'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2587, 'SKR03', '4', '4240', '2579', 'Gas Strom Wasser'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2588, 'SKR03', '4', '4250', '2579', 'Reinigung'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2589, 'SKR03', '4', '4260', '2579', 'Instandhaltung betrieblicher Räume'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2590, 'SKR03', '4', '4270', '2579', 'Abgaben für betrieblich genutzten Grundbesitz'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2591, 'SKR03', '4', '4280', '2579', 'Sonstige Raumkosten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2592, 'SKR03', '4', '4288', '2579', 'Aufwendungen für ein häusliches Arbeitszimmer (abziehbarer Anteil)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2593, 'SKR03', '4', '4289', '2579', 'Aufwendungen für ein häusliches Arbeitszimmer (nicht abziehbarer Anteil)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2594, 'SKR03', '4', '4290', '2579', 'Grundstücksaufwendungen betrieblich'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2595, 'SKR03', '4', '4300', '2579', 'Nicht abziehbare Vorsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2596, 'SKR03', '4', '4301', '2579', 'Nicht abziehbare Vorsteuer 7%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2597, 'SKR03', '4', '4305', '2579', 'Nicht abziehbare Vorsteuer 16%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2598, 'SKR03', '4', '4306', '2579', 'Nicht abziehbare Vorsteuer 19%'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2600, 'SKR03', '4', '4320', '2579', 'Gewerbesteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2602, 'SKR03', '4', '4340', '2579', 'Sonstige Betriebssteuern'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2603, 'SKR03', '4', '4350', '2579', 'Verbrauchsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2604, 'SKR03', '4', '4355', '2579', 'ökosteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2605, 'SKR03', '4', '4360', '2579', 'Versicherungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2606, 'SKR03', '4', '4366', '2579', 'Versicherungen für Gebäude'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2607, 'SKR03', '4', '4370', '2579', 'Netto-Prämie für Rückdeckung künftiger Versorgungsleistungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2608, 'SKR03', '4', '4380', '2579', 'Beiträge'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2609, 'SKR03', '4', '4390', '2579', 'Sonstige Abgaben'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2610, 'SKR03', '4', '4396', '2579', 'Steuerlich abzugsfähige Verspätungszuschläge und Zwangsgelder'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2611, 'SKR03', '4', '4397', '2579', 'Steuerlich nicht abzugsfähige Verspätungszuschläge und Zwangsgelder'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2612, 'SKR03', '4', '4400', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2613, 'SKR03', '4', '4401', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2614, 'SKR03', '4', '4402', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2615, 'SKR03', '4', '4403', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2616, 'SKR03', '4', '4404', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2617, 'SKR03', '4', '4405', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2618, 'SKR03', '4', '4406', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2619, 'SKR03', '4', '4407', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2620, 'SKR03', '4', '4408', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2621, 'SKR03', '4', '4409', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2622, 'SKR03', '4', '4410', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2623, 'SKR03', '4', '4411', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2624, 'SKR03', '4', '4412', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2625, 'SKR03', '4', '4413', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2626, 'SKR03', '4', '4414', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2627, 'SKR03', '4', '4415', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2628, 'SKR03', '4', '4416', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2629, 'SKR03', '4', '4417', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2630, 'SKR03', '4', '4418', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2631, 'SKR03', '4', '4419', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2632, 'SKR03', '4', '4420', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2633, 'SKR03', '4', '4421', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2634, 'SKR03', '4', '4422', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2635, 'SKR03', '4', '4423', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2636, 'SKR03', '4', '4424', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2637, 'SKR03', '4', '4425', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2638, 'SKR03', '4', '4426', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2639, 'SKR03', '4', '4427', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2640, 'SKR03', '4', '4428', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2641, 'SKR03', '4', '4429', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2642, 'SKR03', '4', '4430', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2643, 'SKR03', '4', '4431', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2644, 'SKR03', '4', '4432', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2645, 'SKR03', '4', '4433', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2646, 'SKR03', '4', '4434', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2647, 'SKR03', '4', '4435', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2648, 'SKR03', '4', '4436', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2649, 'SKR03', '4', '4437', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2650, 'SKR03', '4', '4438', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2651, 'SKR03', '4', '4439', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2652, 'SKR03', '4', '4440', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2653, 'SKR03', '4', '4441', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2654, 'SKR03', '4', '4442', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2655, 'SKR03', '4', '4443', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2656, 'SKR03', '4', '4444', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2657, 'SKR03', '4', '4445', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2658, 'SKR03', '4', '4446', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2659, 'SKR03', '4', '4447', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2660, 'SKR03', '4', '4448', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2661, 'SKR03', '4', '4449', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2662, 'SKR03', '4', '4450', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2663, 'SKR03', '4', '4451', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2664, 'SKR03', '4', '4452', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2665, 'SKR03', '4', '4453', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2666, 'SKR03', '4', '4454', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2667, 'SKR03', '4', '4455', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2668, 'SKR03', '4', '4456', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2669, 'SKR03', '4', '4457', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2670, 'SKR03', '4', '4458', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2671, 'SKR03', '4', '4459', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2672, 'SKR03', '4', '4460', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2673, 'SKR03', '4', '4461', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2674, 'SKR03', '4', '4462', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2675, 'SKR03', '4', '4463', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2676, 'SKR03', '4', '4464', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2677, 'SKR03', '4', '4465', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2678, 'SKR03', '4', '4466', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2679, 'SKR03', '4', '4467', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2680, 'SKR03', '4', '4468', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2681, 'SKR03', '4', '4469', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2682, 'SKR03', '4', '4470', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2683, 'SKR03', '4', '4471', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2684, 'SKR03', '4', '4472', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2685, 'SKR03', '4', '4473', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2686, 'SKR03', '4', '4474', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2687, 'SKR03', '4', '4475', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2688, 'SKR03', '4', '4476', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2689, 'SKR03', '4', '4477', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2690, 'SKR03', '4', '4478', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2691, 'SKR03', '4', '4479', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2692, 'SKR03', '4', '4480', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2693, 'SKR03', '4', '4481', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2694, 'SKR03', '4', '4482', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2695, 'SKR03', '4', '4483', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2696, 'SKR03', '4', '4484', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2697, 'SKR03', '4', '4485', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2698, 'SKR03', '4', '4486', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2699, 'SKR03', '4', '4487', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2700, 'SKR03', '4', '4488', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2701, 'SKR03', '4', '4489', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2702, 'SKR03', '4', '4490', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2703, 'SKR03', '4', '4491', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2704, 'SKR03', '4', '4492', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2705, 'SKR03', '4', '4493', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2706, 'SKR03', '4', '4494', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2707, 'SKR03', '4', '4495', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2708, 'SKR03', '4', '4496', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2709, 'SKR03', '4', '4497', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2710, 'SKR03', '4', '4498', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2711, 'SKR03', '4', '4499', '2579', '(zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2712, 'SKR03', '4', '4500', '2579', 'Fahrzeugkosten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2713, 'SKR03', '4', '4510', '2579', 'Kfz-steuern'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2714, 'SKR03', '4', '4520', '2579', 'Kfz-Versicherungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2715, 'SKR03', '4', '4530', '2579', 'Laufende Kfz-Betriebskosten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2716, 'SKR03', '4', '4540', '2579', 'Kfz-Reparaturen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2717, 'SKR03', '4', '4550', '2579', 'Garagenmieten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2718, 'SKR03', '4', '4560', '2579', 'Mautgebühren'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2719, 'SKR03', '4', '4570', '2579', 'Leasingfahrzeugkosten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2720, 'SKR03', '4', '4580', '2579', 'Sonstige Kfz-Kosten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2721, 'SKR03', '4', '4590', '2579', 'Kfz-Kosten für Betrieblich genutzte zum Privatvermögen gehörende Kraftfahrzeuge'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2722, 'SKR03', '4', '4595', '2579', 'Fremdfahrzeugkosten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2723, 'SKR03', '4', '4600', '2579', 'Werbekosten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2724, 'SKR03', '4', '4630', '2579', 'Geschenke abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2725, 'SKR03', '4', '4635', '2579', 'Geschenke nicht abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2726, 'SKR03', '4', '4638', '2579', 'Geschenke ausschließlich betrieblich genutzt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2727, 'SKR03', '4', '4640', '2579', 'Repräsentationskosten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2728, 'SKR03', '4', '4650', '2579', 'Bewirtungskosten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2729, 'SKR03', '4', '4651', '2579', 'Sonstige eingeschränkt abziehbare Betriebsausgaben (abziehbarer Anteil)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2730, 'SKR03', '4', '4652', '2579', 'Sonstige eingeschränkt abziehbare Betriebsausgaben (nicht abziehbarer Anteil)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2731, 'SKR03', '4', '4653', '2579', 'Aufmerksamkeiten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2732, 'SKR03', '4', '4654', '2579', 'Nicht abzugsfähige Bewirtungskosten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2733, 'SKR03', '4', '4655', '2579', 'Nicht abzugsfähige Betriebsausgaben aus Werbe- und Repräsentationskosten (nicht abziehbarer Anteil)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2734, 'SKR03', '4', '4660', '2579', 'Reisekosten Arbeitnehmer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2735, 'SKR03', '4', '4662', '2579', 'Reisekosten Arbeitnehmer (nicht abziehbarer Anteil)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2736, 'SKR03', '4', '4663', '2579', 'Reisekosten Arbeitnehmer Fahrkosten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2737, 'SKR03', '4', '4664', '2579', 'Reisekosten Arbeitnehmer Verpflegungsmehraufwand'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2738, 'SKR03', '4', '4666', '2579', 'Reisekosten Arbeitnehmer übernachtungsaufwand'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2739, 'SKR03', '4', '4668', '2579', 'Kilometergelderstattung Arbeitnehmer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2740, 'SKR03', '4', '4670', '2579', 'Reisekosten Unternehmer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2741, 'SKR03', '4', '4672', '2579', 'Reisekosten Unternehmer (nicht abziehbarer Anteil)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2742, 'SKR03', '4', '4673', '2579', 'Reisekosten Unternehmer Fahrkosten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2743, 'SKR03', '4', '4674', '2579', 'Reisekosten Unternehmer Verpflegungsmehraufwand'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2744, 'SKR03', '4', '4676', '2579', 'Reisekosten Unternehmer übernachtungsaufwand'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2745, 'SKR03', '4', '4678', '2579', 'Fahrten zwischen Wohnung und Arbeitstätte (abziehbarer Anteil)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2746, 'SKR03', '4', '4679', '2579', 'Fahrten zwischen Wohnung und Arbeitstätte (nicht abziehbarer Anteil)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2747, 'SKR03', '4', '4680', '2579', 'Fahrten zwischen Wohnung und Arbeitstätte (Haben)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2748, 'SKR03', '4', '4700', '2579', 'Kosten der Warenabgabe'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2749, 'SKR03', '4', '4710', '2579', 'Verpackungsmaterial'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2750, 'SKR03', '4', '4730', '2579', 'Ausgangsfrachten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2751, 'SKR03', '4', '4750', '2579', 'Transportversicherungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2752, 'SKR03', '4', '4760', '2579', 'Verkaufsprovisionen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2753, 'SKR03', '4', '4780', '2579', 'Fremdarbeiten (Vertrieb)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2754, 'SKR03', '4', '4790', '2579', 'Aufwand für Gewährleistungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2755, 'SKR03', '4', '4800', '2579', 'Reparaturen und Instandhaltungen von technischen Anlagen und Maschinen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2756, 'SKR03', '4', '4805', '2579', 'Reparaturen und Instandhaltungen von anderen Anlagen und Betriebs- und Geschäftsaustattung'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2757, 'SKR03', '4', '4806', '2579', 'Wartungskosten für Hard- und Software'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2758, 'SKR03', '4', '4809', '2579', 'Sonstige Reparaturen und Instandhaltungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2759, 'SKR03', '4', '4810', '2579', 'Mietleasing'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2760, 'SKR03', '4', '4814', '2579', 'Gewerbesteuerlich zu berücksichtigendes Mietleasing § 8 GewStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2762, 'SKR03', '4', '4815', '2579', 'Kaufleasing'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2763, 'SKR03', '4', '4820', '2579', 'Abschreibung auf Aufwendungen für die Ingangsetzung und Erweiterung des Geschäftsbetriebs'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2764, 'SKR03', '4', '4821', '2579', 'Abschreibung auf Aufwendungen für die Währungsumstellung auf den Euro'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2765, 'SKR03', '4', '4822', '2579', 'Abschreibung auf immaterielle Vermögensgegenstände'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2766, 'SKR03', '4', '4824', '2579', 'Abschreibung auf den Geschäfts- oder Firmenwert'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2767, 'SKR03', '4', '4826', '2579', 'Außerplanmäßige Abschreibungen auf immaterielle Vermögensgegenstände'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2768, 'SKR03', '4', '4830', '2579', 'Abschreibungen auf Sachanlagen (ohne AfA auf Kfz und Gebäude)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2769, 'SKR03', '4', '4831', '2579', 'Abschreibungen auf Gebäude'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2770, 'SKR03', '4', '4832', '2579', 'Abschreibungen auf Kfz'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2771, 'SKR03', '4', '4833', '2579', 'Abschreibungen auf Gebäudeanteil des häuslichen Arbeitszimmers'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2772, 'SKR03', '4', '4840', '2579', 'Außerplanmäßige Abschreibungen auf Sachanlagen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2773, 'SKR03', '4', '4841', '2579', 'Absetzung für Außergewöhnliche technische und wirtschaftliche Abnutzung der Gebäude'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2774, 'SKR03', '4', '4842', '2579', 'Absetzung für Außergewöhnliche technische und wirtschaftliche Abnutzung des Kfz'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2775, 'SKR03', '4', '4843', '2579', 'Absetzung für Außergewöhnliche technische und wirtschaftliche Abnutzung sonstiger Wirtschaftsgüter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2776, 'SKR03', '4', '4850', '2579', 'Abschreibungen auf Sachanlagen auf Grund steuerlich Sondervorschriften'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2777, 'SKR03', '4', '4851', '2579', 'Sonderabschreibungen nach § 7g Abs. 1 und 2 EStG (ohne Kfz)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2778, 'SKR03', '4', '4852', '2579', 'Sonderabschreibungen nach § 7g Abs. 1 und 2 EStG (für Kfz)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2779, 'SKR03', '4', '4855', '2579', 'Sofortabschreibung geringwertiger Wirtschaftsgüter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2780, 'SKR03', '4', '4860', '2579', 'Abschreibungen auf aktivierte geringwertiger Wirtschaftsgüter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2781, 'SKR03', '4', '4862', '2579', 'Abschreibung auf Sammelposten WG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2782, 'SKR03', '4', '4865', '2579', 'Außerplanmäßige Abschreibungen auf aktivierte geringwertiger Wirtschaftsgüter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2784, 'SKR03', '4', '4870', '2579', 'Abschreibungen auf Finanzanlagen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2785, 'SKR03', '4', '4871', '2579', 'Abschreibungen auf Finanzanlagen 100% / 50% nicht abzugsfähig (inländische Kap. Ges.)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2786, 'SKR03', '4', '4872', '2579', 'Abschreibungen auf Grund von Verlustanteilen an Mitunternehmerschaften § 8 GewStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2787, 'SKR03', '4', '4873', '2579', 'Abschreibungen auf Finanzanlagen auf Grund steuerlicher Sondervorschriften 100% / 50% nicht abzugsfähig (inländische Kap. Ges.)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2788, 'SKR03', '4', '4874', '2579', 'Abschreibungen auf Finanzanlagen auf Grund steuerlicher Sondervorschriften'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2789, 'SKR03', '4', '4875', '2579', 'Abschreibungen auf Wertpapiere des Umlaufvermögens'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2790, 'SKR03', '4', '4876', '2579', 'Abschreibungen auf Wertpapiere des Umlaufvermögens 100% / 50% nicht abzugsfähig (inländische Kap. Ges.)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2791, 'SKR03', '4', '4879', '2579', 'Vorwegnahme künftiger Wertschwankungen bei Wertpapieren des Umlaufvermögens'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2793, 'SKR03', '4', '4880', '2579', 'Abschreibungen auf Umlaufvermögen ohne Wertpapiere (soweit unübliche Höhe)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2794, 'SKR03', '4', '4882', '2579', 'Abschreibungen auf Umlaufvermögen steuerrechtlich bedingt (soweit unübliche Höhe)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2795, 'SKR03', '4', '4885', '2579', 'Vorwegnahme künftiger Wertschwankungen im Umlaufvermögen außer Vorräte und Wertpapiere des Umlaufvermögens'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2796, 'SKR03', '4', '4886', '2579', 'Abschreibungen auf Umlaufvermögen außer Vorräte und Wertpapiere des Umlaufvermögens (soweit übliche Höhe)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2797, 'SKR03', '4', '4887', '2579', 'Abschreibungen auf Umlaufvermögen steuerrechtlich bedingt (soweit übliche Höhe)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2798, 'SKR03', '4', '4890', '2579', 'Vorwegnahme künftiger Wertschwankungen im Umlaufvermögen (soweit unübliche Höhe)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2799, 'SKR03', '4', '4900', '2579', 'Sonstige betriebliche Aufwendungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2800, 'SKR03', '4', '4905', '2579', 'Sonstige Aufwendungen betrieblich und regelmäßig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2801, 'SKR03', '4', '4909', '2579', 'Fremdleistungen / Fremarbeiten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2802, 'SKR03', '4', '4910', '2579', 'Porto'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2803, 'SKR03', '4', '4920', '2579', 'Telefon'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2804, 'SKR03', '4', '4925', '2579', 'Telefax und Internetkosten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2805, 'SKR03', '4', '4930', '2579', 'Bürobedarf'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2806, 'SKR03', '4', '4940', '2579', 'Zeitschriften Bücher'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2807, 'SKR03', '4', '4945', '2579', 'Fortbildungskosten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2808, 'SKR03', '4', '4946', '2579', 'Freiwillige Sozialleistungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2809, 'SKR03', '4', '4948', '2579', 'Vergütungen an Mitunternehmer § 15 EStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2810, 'SKR03', '4', '4949', '2579', 'Haftungsvergütung an Mitunternehmer § 15 EStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2811, 'SKR03', '4', '4950', '2579', 'Rechts- und Beratungskosten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2812, 'SKR03', '4', '4955', '2579', 'Buchführungskosten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2814, 'SKR03', '4', '4957', '2579', 'Abschluss- und Prüfungskosten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2815, 'SKR03', '4', '4960', '2579', 'Mieten für Einrichtungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2816, 'SKR03', '4', '4964', '2579', 'Aufwendungen für die zeitlich befristetete Überlassung von Rechten (Lizenzen,Konzessionen)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2817, 'SKR03', '4', '4965', '2579', 'Mietleasing'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2818, 'SKR03', '4', '4966', '2579', 'Gewerbesteuerlich zu berücksichtigendes Mietleasing § 8 GewStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2819, 'SKR03', '4', '4968', '2579', 'Gewerbesteuerlich zu berücksichtigendes Mietleasing für Einrichtungen § 8 GewStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2820, 'SKR03', '4', '4969', '2579', 'Aufwendungen für Abraum- und Abfallbeseitigung'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2821, 'SKR03', '4', '4970', '2579', 'Nebenkosten des Geldverkehrs'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2822, 'SKR03', '4', '4975', '2579', 'Aufwendungen aus Anteilen an Kapitalgesellschaften 100% / 50% nicht abzugsfähig (inländische Kap. Ges)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2823, 'SKR03', '4', '4976', '2579', 'Aufwendungen aus der Veräußerung von Anteilen an Kapitalgesellschaften 100% / 50% nicht abzugsfähig (inländische Kap. Ges.)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2824, 'SKR03', '4', '4980', '2579', 'Betriebsbedarf'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2825, 'SKR03', '4', '4985', '2579', 'Werkzeuge und Kleingeräte'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2828, 'SKR03', '4', '4990', '0', 'Kalkulatorischer Unternehmerlohn'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2829, 'SKR03', '4', '4991', '0', 'Kalkulatorische Miete und Pacht'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2830, 'SKR03', '4', '4992', '0', 'Kalkulatorische Zinsen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2831, 'SKR03', '4', '4993', '0', 'Kalkulatorische Abschreibungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2832, 'SKR03', '4', '4994', '0', 'Kalkulatorische Wagnisse'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2833, 'SKR03', '4', '4995', '0', 'Kalkulatorischer Lohn für unentgeltliche Mitarbeiter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2836, 'SKR03', '4', '4996', '0', 'Herstellungskosten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2837, 'SKR03', '4', '4997', '0', 'Verwaltungskosten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2838, 'SKR03', '4', '4998', '0', 'Vertriebskosten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2839, 'SKR03', '4', '4999', '0', 'Gegenkonto 4996 - 4998'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2841, 'SKR03', '7', '7000', '0', 'Unfertige Erzeugnisse und Leistungen (Bestand)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2842, 'SKR03', '7', '7050', '2841', 'Unfertige Erzeugnisse (Bestand)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2843, 'SKR03', '7', '7080', '2841', 'Unfertige Leistungen (Bestand)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2845, 'SKR03', '7', '7090', '2841', 'In Ausführung befindliche Bauaufträge'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2847, 'SKR03', '7', '7095', '2841', 'In Arbeit befindliche Aufträge'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2849, 'SKR03', '7', '7100', '0', 'Fertige Erzeugnisse und Waren (Bestand)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2850, 'SKR03', '7', '7110', '2849', 'Fertige Erzeugnisse (Bestand)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2851, 'SKR03', '7', '7140', '2849', 'Waren (Bestand)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2854, 'SKR03', '8', '8000', '0', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2855, 'SKR03', '8', '8001', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2856, 'SKR03', '8', '8002', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2857, 'SKR03', '8', '8003', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2858, 'SKR03', '8', '8004', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2859, 'SKR03', '8', '8005', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2860, 'SKR03', '8', '8006', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2861, 'SKR03', '8', '8007', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2862, 'SKR03', '8', '8008', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2863, 'SKR03', '8', '8009', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2864, 'SKR03', '8', '8010', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2865, 'SKR03', '8', '8011', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2866, 'SKR03', '8', '8012', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2867, 'SKR03', '8', '8013', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2868, 'SKR03', '8', '8014', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2869, 'SKR03', '8', '8015', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2870, 'SKR03', '8', '8016', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2871, 'SKR03', '8', '8017', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2872, 'SKR03', '8', '8018', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2873, 'SKR03', '8', '8019', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2874, 'SKR03', '8', '8020', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2875, 'SKR03', '8', '8021', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2876, 'SKR03', '8', '8022', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2877, 'SKR03', '8', '8023', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2878, 'SKR03', '8', '8024', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2879, 'SKR03', '8', '8025', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2880, 'SKR03', '8', '8026', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2881, 'SKR03', '8', '8027', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2882, 'SKR03', '8', '8028', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2883, 'SKR03', '8', '8029', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2884, 'SKR03', '8', '8030', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2885, 'SKR03', '8', '8031', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2886, 'SKR03', '8', '8032', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2887, 'SKR03', '8', '8033', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2888, 'SKR03', '8', '8034', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2889, 'SKR03', '8', '8035', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2890, 'SKR03', '8', '8036', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2891, 'SKR03', '8', '8037', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2892, 'SKR03', '8', '8038', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2893, 'SKR03', '8', '8039', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2894, 'SKR03', '8', '8040', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2895, 'SKR03', '8', '8041', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2896, 'SKR03', '8', '8042', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2897, 'SKR03', '8', '8043', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2898, 'SKR03', '8', '8044', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2899, 'SKR03', '8', '8045', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2900, 'SKR03', '8', '8046', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2901, 'SKR03', '8', '8047', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2902, 'SKR03', '8', '8048', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2903, 'SKR03', '8', '8049', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2904, 'SKR03', '8', '8050', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2905, 'SKR03', '8', '8051', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2906, 'SKR03', '8', '8052', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2907, 'SKR03', '8', '8053', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2908, 'SKR03', '8', '8054', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2909, 'SKR03', '8', '8055', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2910, 'SKR03', '8', '8056', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2911, 'SKR03', '8', '8057', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2912, 'SKR03', '8', '8058', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2913, 'SKR03', '8', '8059', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2914, 'SKR03', '8', '8060', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2915, 'SKR03', '8', '8061', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2916, 'SKR03', '8', '8062', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2917, 'SKR03', '8', '8063', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2918, 'SKR03', '8', '8064', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2919, 'SKR03', '8', '8065', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2920, 'SKR03', '8', '8066', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2921, 'SKR03', '8', '8067', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2922, 'SKR03', '8', '8068', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2923, 'SKR03', '8', '8069', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2924, 'SKR03', '8', '8070', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2925, 'SKR03', '8', '8071', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2926, 'SKR03', '8', '8072', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2927, 'SKR03', '8', '8073', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2928, 'SKR03', '8', '8074', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2929, 'SKR03', '8', '8075', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2930, 'SKR03', '8', '8076', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2931, 'SKR03', '8', '8077', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2932, 'SKR03', '8', '8078', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2933, 'SKR03', '8', '8079', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2934, 'SKR03', '8', '8080', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2935, 'SKR03', '8', '8081', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2936, 'SKR03', '8', '8082', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2937, 'SKR03', '8', '8083', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2938, 'SKR03', '8', '8084', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2939, 'SKR03', '8', '8085', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2940, 'SKR03', '8', '8086', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2941, 'SKR03', '8', '8087', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2942, 'SKR03', '8', '8088', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2943, 'SKR03', '8', '8089', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2944, 'SKR03', '8', '8090', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2945, 'SKR03', '8', '8091', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2946, 'SKR03', '8', '8092', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2947, 'SKR03', '8', '8093', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2948, 'SKR03', '8', '8094', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2949, 'SKR03', '8', '8095', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2950, 'SKR03', '8', '8096', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2951, 'SKR03', '8', '8097', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2952, 'SKR03', '8', '8098', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2953, 'SKR03', '8', '8099', '2854', '(Zur freien Verfügung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2954, 'SKR03', '8', '8100', '2854', 'steuerfreie Umsätze § 4 Nr. 8 ff. UStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2955, 'SKR03', '8', '8105', '2854', 'Steuerfreie Umsätze nach § 4 Nr. 12 UStG (Vermietung und Verpackung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2956, 'SKR03', '8', '8110', '2854', 'Sonstige steuerfreie Umsätze Inland'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2957, 'SKR03', '8', '8120', '2854', 'steuerfreie Umsätze § 4 Nr. 1a UStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2958, 'SKR03', '8', '8125', '2854', 'steuerfreie innergemeinschaftliche Lieferung § 4 Nr. 1b UStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2959, 'SKR03', '8', '8130', '2854', 'Lieferungen des ersten Abnehmers bei Innergemeinschaftlichen Dreiecksgeschäften § 25b abs. 2 UStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2960, 'SKR03', '8', '8135', '2854', 'Steuerfreie innergemeinschaftliche Lieferungen von Neufahrzeugen an Abnehmer ohne Umsatzsteuer Identifikationsnummer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2961, 'SKR03', '8', '8140', '2854', 'Steuerfreie Umsätze Offshore usw.'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2962, 'SKR03', '8', '8150', '2854', 'Sonstige steuerfreie Umsätze (z.B. § 4 Nr. 2-7 UStG)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2963, 'SKR03', '8', '8160', '2854', 'Steuerfreie Umsätze ohne Vorsteuerabzug zum Gesamtumsatz gehörend'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2964, 'SKR03', '8', '8190', '2854', 'Erlöse die mit den Durchschnittssätzen des § 24 UStG versteuert werden'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2965, 'SKR03', '8', '8195', '2854', 'Erlöse als Kleinunternehmer i. S. d. § 19 Abs. 1 UStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2966, 'SKR03', '8', '8196', '2854', 'Erlöse aus Geldspielautomaten 19% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2967, 'SKR03', '8', '8197', '2854', 'Erlöse aus Geldspielautomaten 16% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2968, 'SKR03', '8', '8200', '2854', 'Erlöse'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2969, 'SKR03', '8', '8300', '2854', 'Erlöse 7% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2970, 'SKR03', '8', '8301', '2854', 'Erlöse 7% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2971, 'SKR03', '8', '8302', '2854', 'Erlöse 7% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2972, 'SKR03', '8', '8303', '2854', 'Erlöse 7% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2973, 'SKR03', '8', '8304', '2854', 'Erlöse 7% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2974, 'SKR03', '8', '8305', '2854', 'Erlöse 7% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2975, 'SKR03', '8', '8306', '2854', 'Erlöse 7% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2976, 'SKR03', '8', '8307', '2854', 'Erlöse 7% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2977, 'SKR03', '8', '8308', '2854', 'Erlöse 7% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2978, 'SKR03', '8', '8309', '2854', 'Erlöse 7% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2979, 'SKR03', '8', '8310', '2854', 'Erlöse aus im Inland steuerpflichtigen EG-Lieferungen 7% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2980, 'SKR03', '8', '8311', '2854', 'Erlöse aus im Inland steuerpflichtigen EG-Lieferungen 7% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2981, 'SKR03', '8', '8312', '2854', 'Erlöse aus im Inland steuerpflichtigen EG-Lieferungen 7% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2982, 'SKR03', '8', '8313', '2854', 'Erlöse aus im Inland steuerpflichtigen EG-Lieferungen 7% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2983, 'SKR03', '8', '8314', '2854', 'Erlöse aus im Inland steuerpflichtigen EG-Lieferungen 7% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2984, 'SKR03', '8', '8315', '2854', 'Erlöse aus im Inland steuerpflichtigen EG-Lieferungen 19% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2985, 'SKR03', '8', '8316', '2854', 'Erlöse aus im Inland steuerpflichtigen EG-Lieferungen 19% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2986, 'SKR03', '8', '8317', '2854', 'Erlöse aus im Inland steuerpflichtigen EG-Lieferungen 19% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2987, 'SKR03', '8', '8318', '2854', 'Erlöse aus im Inland steuerpflichtigen EG-Lieferungen 19% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2988, 'SKR03', '8', '8319', '2854', 'Erlöse aus im Inland steuerpflichtigen EG-Lieferungen 19% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2989, 'SKR03', '8', '8320', '2854', 'Erlöse aus im anderen EG-Land steuerpflichtigen Lieferungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2990, 'SKR03', '8', '8330', '2854', 'Erlöse aus im Inland steuerpflichtigen EG-Lieferungen 16% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2991, 'SKR03', '8', '8337', '2854', 'Erlöse aus Leistungen für die der Leistungsempfänger die Umsatzsteuer nach § 13b UStG schuldet'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2992, 'SKR03', '8', '8338', '2854', 'Erlöse aus im Drittland steuerbaren Leistungen im Inland nicht steuerbare Umsätze'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2993, 'SKR03', '8', '8339', '2854', 'Erlöse aus im anderen EG-Land steuerbaren Lieferungen im Inland nicht steuerbare Umsätze'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2994, 'SKR03', '8', '8340', '2854', 'Erlöse 16% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2995, 'SKR03', '8', '8341', '2854', 'Erlöse 16% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2996, 'SKR03', '8', '8342', '2854', 'Erlöse 16% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2997, 'SKR03', '8', '8343', '2854', 'Erlöse 16% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2998, 'SKR03', '8', '8344', '2854', 'Erlöse 16% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 2999, 'SKR03', '8', '8345', '2854', 'Erlöse 16% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3000, 'SKR03', '8', '8346', '2854', 'Erlöse 16% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3001, 'SKR03', '8', '8347', '2854', 'Erlöse 16% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3002, 'SKR03', '8', '8348', '2854', 'Erlöse 16% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3003, 'SKR03', '8', '8349', '2854', 'Erlöse 16% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3004, 'SKR03', '8', '8400', '2854', 'Erlöse 19% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3006, 'SKR03', '8', '8401', '2854', 'Vorausberechnete Einnahmen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3007, 'SKR03', '8', '8402', '2854', 'Sontige Einnahmen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3008, 'SKR03', '8', '8403', '2854', 'Konto Kasse Ertrag'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3009, 'SKR03', '8', '8404', '2854', 'Erlöse 19% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3010, 'SKR03', '8', '8405', '2854', 'Erlöse 19% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3011, 'SKR03', '8', '8406', '2854', 'Erlöse 19% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3012, 'SKR03', '8', '8407', '2854', 'Erlöse 19% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3013, 'SKR03', '8', '8408', '2854', 'Erlöse 19% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3014, 'SKR03', '8', '8409', '2854', 'Erlöse 19% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3015, 'SKR03', '8', '8410', '2854', 'Erlöse 19% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3016, 'SKR03', '8', '8510', '2854', 'Provisionsumsätze'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3017, 'SKR03', '8', '8514', '2854', 'Provisionsumsätze steuerfrei §4 Nr. 8 ff. UStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3018, 'SKR03', '8', '8515', '2854', 'Provisionsumsätze steuerfrei §4 Nr. 5 UStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3019, 'SKR03', '8', '8516', '2854', 'Provisionsumsätze 7 % USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3020, 'SKR03', '8', '8518', '2854', 'Provisionsumsätze 16 % USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3021, 'SKR03', '8', '8519', '2854', 'Provisionsumsätze 19 % USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3022, 'SKR03', '8', '8520', '2854', 'Erlöse Abfallverwertung'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3023, 'SKR03', '8', '8540', '2854', 'Erlöse Leergut'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3025, 'SKR03', '8', '8570', '2854', 'Provision sonstige Erträge'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3026, 'SKR03', '8', '8574', '2854', 'Provision sonstige Erträge steuerfrei §4 Nr. 8 ff UStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3027, 'SKR03', '8', '8575', '2854', 'Provision sonstige Erträge steuerfrei §4 Nr. 5 UStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3028, 'SKR03', '8', '8576', '2854', 'Provision sonstige Erträge 7 % USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3029, 'SKR03', '8', '8578', '2854', 'Provision sonstige Erträge 16 % USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3030, 'SKR03', '8', '8579', '2854', 'Provision sonstige Erträge 19 % USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3033, 'SKR03', '8', '8580', '2854', 'Statistisches Konto Erlöse zum Allgemeinen Umsatzsteuerersatz (EüR)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3034, 'SKR03', '8', '8581', '2854', 'Statistisches Konto Erlöse zum ermäßigten Umsatzsteuerersatz (EüR)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3035, 'SKR03', '8', '8582', '2854', 'Statistisches Konto Erlöse steuerfrei und nicht steuerbar (EüR)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3036, 'SKR03', '8', '8589', '2854', 'Gegenkonto 8580-8582 bei Aufteilung der Erlöse nach Steuersätzen (EüR)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3038, 'SKR03', '8', '8590', '2854', 'Verrechnete sonstige Sachbezüge (keine Waren)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3039, 'SKR03', '8', '8591', '2854', 'Sachbezüge 7% USt (Waren)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3040, 'SKR03', '8', '8595', '2854', 'Sachbezüge 19% USt (Waren)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3041, 'SKR03', '8', '8596', '2854', 'Sachbezüge 16% USt (Waren)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3042, 'SKR03', '8', '8600', '2854', 'Sonstige Erlöse betrieblich und regelmäßig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3043, 'SKR03', '8', '8605', '2854', 'Sonstige Erträge betrieblich und regelmäßig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3044, 'SKR03', '8', '8609', '2854', 'Sonstige Erlöse betrieblich und regelmäßig steuerfrei § 4 Nr. 8 ff UStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3045, 'SKR03', '8', '8610', '2854', 'Verrechnete sonstige Sachbezüge'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3046, 'SKR03', '8', '8611', '2854', 'Verrechnete sonstige Sachbezüge 19% USt (z.B. Kfz-Gestellung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3047, 'SKR03', '8', '8612', '2854', 'Verrechnete sonstige Sachbezüge 16% USt (z.B. Kfz-Gestellung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3048, 'SKR03', '8', '8614', '2854', 'Verrechnete sonstige Sachbezüge ohne Umsatzsteuer'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3049, 'SKR03', '8', '8625', '2854', 'Sonstige Erlöse betrieblich und regelmäßig steuerfrei z.B. § 4 Nr. 2-7 UStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3050, 'SKR03', '8', '8626', '2854', 'Sonstige Erlöse betrieblich und regelmäßig steuerfrei z.B. § 4 Nr. 2-7 UStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3051, 'SKR03', '8', '8627', '2854', 'Sonstige Erlöse betrieblich und regelmäßig steuerfrei z.B. § 4 Nr. 2-7 UStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3052, 'SKR03', '8', '8628', '2854', 'Sonstige Erlöse betrieblich und regelmäßig steuerfrei z.B. § 4 Nr. 2-7 UStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3053, 'SKR03', '8', '8629', '2854', 'Sonstige Erlöse betrieblich und regelmäßig steuerfrei z.B. § 4 Nr. 2-7 UStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3054, 'SKR03', '8', '8630', '2854', 'Sonstige Erlöse betrieblich und regelmäßig 7% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3055, 'SKR03', '8', '8631', '2854', 'Sonstige Erlöse betrieblich und regelmäßig 7% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3056, 'SKR03', '8', '8632', '2854', 'Sonstige Erlöse betrieblich und regelmäßig 7% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3057, 'SKR03', '8', '8633', '2854', 'Sonstige Erlöse betrieblich und regelmäßig 7% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3058, 'SKR03', '8', '8634', '2854', 'Sonstige Erlöse betrieblich und regelmäßig 7% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3059, 'SKR03', '8', '8640', '2854', 'Sonstige Erlöse betrieblich und regelmäßig 19% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3060, 'SKR03', '8', '8641', '2854', 'Sonstige Erlöse betrieblich und regelmäßig 19% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3061, 'SKR03', '8', '8642', '2854', 'Sonstige Erlöse betrieblich und regelmäßig 19% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3062, 'SKR03', '8', '8643', '2854', 'Sonstige Erlöse betrieblich und regelmäßig 19% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3063, 'SKR03', '8', '8644', '2854', 'Sonstige Erlöse betrieblich und regelmäßig 19% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3064, 'SKR03', '8', '8648', '2854', 'Sonstige Erlöse betrieblich und regelmäßig 16% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3065, 'SKR03', '8', '8649', '2854', 'Sonstige Erlöse betrieblich und regelmäßig 16% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3067, 'SKR03', '8', '8650', '2854', 'Erlöse Zinsen und Diskontspesen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3068, 'SKR03', '8', '8660', '2854', 'Erlöse Zinsen und Diskontspesen aus verbundenen Unternehmen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3071, 'SKR03', '8', '8700', '0', 'Erlösschmälerungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3072, 'SKR03', '8', '8701', '3071', 'Nicht abgerechnete Einnahmen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3073, 'SKR03', '8', '8705', '3071', 'Erlösschmälerungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3074, 'SKR03', '8', '8705', '3071', 'Erlösschmälerungen aus steuerfreien Umsätzen §4 Nr. 1a UStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3075, 'SKR03', '8', '8710', '3071', 'Erlösschmälerungen 7% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3076, 'SKR03', '8', '8720', '3071', 'Erlösschmälerungen 19% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3077, 'SKR03', '8', '8721', '3071', 'Erlösschmälerungen 19% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3078, 'SKR03', '8', '8723', '3071', 'Erlösschmälerungen 16% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3079, 'SKR03', '8', '8724', '3071', 'Erlösschmälerungen aus steuerfreien innergemeinschaftlichen Lieferung'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3080, 'SKR03', '8', '8725', '3071', 'Erlösschmälerungen aus im Inland steuerpflichtigen EG-Lieferungen 7 % USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3081, 'SKR03', '8', '8726', '3071', 'Erlösschmälerungen aus im Inland steuerpflichtigen EG-Lieferungen 19 % USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3082, 'SKR03', '8', '8727', '3071', 'Erlösschmälerungen aus im anderen EG-Land steuerpflichtigen Lieferungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3083, 'SKR03', '8', '8729', '3071', 'Erlösschmälerungen aus im Inland steuerpflichtigen 16% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3084, 'SKR03', '8', '8730', '3071', 'Gewährte Skonti'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3085, 'SKR03', '8', '8731', '3071', 'Gewährte Skonti 7% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3086, 'SKR03', '8', '8735', '3071', 'Gewährte Skonti 16% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3087, 'SKR03', '8', '8736', '3071', 'Gewährte Skonti 19% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3088, 'SKR03', '8', '8741', '3071', 'Gewährte Skonti aus Lieferungen für die der Leistungsempfänger die Umsatzsteuer nach § 13b UStG schuldet'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3089, 'SKR03', '8', '8743', '3071', 'Gewährte Skonti aus steuerfreien innergemeinschaftlichen Lieferungen § 4 Nr. 1b UStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3090, 'SKR03', '8', '8745', '3071', 'Gewährte Skonti aus im Inland steuerpflichtigen EG-Lieferungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3091, 'SKR03', '8', '8746', '3071', 'Gewährte Skonti aus im Inland steuerpflichtigen EG-Lieferungen 7% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3092, 'SKR03', '8', '8748', '3071', 'Gewährte Skonti aus im Inland steuerpflichtigen EG-Lieferungen 19% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3093, 'SKR03', '8', '8749', '3071', 'Gewährte Skonti aus im Inland steuerpflichtigen EG-Lieferungen 16% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3094, 'SKR03', '8', '8750', '3071', 'Gewährte Boni 7% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3095, 'SKR03', '8', '8751', '3071', 'Gewährte Boni 7% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3096, 'SKR03', '8', '8760', '3071', 'Gewährte Boni 19% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3097, 'SKR03', '8', '8761', '3071', 'Gewährte Boni 19% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3098, 'SKR03', '8', '8764', '3071', 'Gewährte Boni 16% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3099, 'SKR03', '8', '8765', '3071', 'Gewährte Boni 16% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3100, 'SKR03', '8', '8769', '3071', 'Gewährte Boni'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3101, 'SKR03', '8', '8770', '3071', 'Gewährte Rabatte'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3102, 'SKR03', '8', '8780', '3071', 'Gewährte Rabatte 7% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3103, 'SKR03', '8', '8781', '3071', 'Gewährte Rabatte 7% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3104, 'SKR03', '8', '8790', '3071', 'Gewährte Rabatte 19% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3105, 'SKR03', '8', '8791', '3071', 'Gewährte Rabatte 19% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3106, 'SKR03', '8', '8794', '3071', 'Gewährte Rabatte 16% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3107, 'SKR03', '8', '8795', '3071', 'Gewährte Rabatte 16% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3109, 'SKR03', '8', '8800', '0', 'Erlöse aus Verkäufen Sachanlagevermögen (Bei Buchverlust)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3110, 'SKR03', '8', '8801', '3109', 'Erlöse aus Verkäufen Sachanlagevermögen 19% USt (Bei Buchverlust)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3111, 'SKR03', '8', '8802', '3109', 'Erlöse aus Verkäufen Sachanlagevermögen 19% USt (Bei Buchverlust)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3112, 'SKR03', '8', '8803', '3109', 'Erlöse aus Verkäufen Sachanlagevermögen 19% USt (Bei Buchverlust)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3113, 'SKR03', '8', '8804', '3109', 'Erlöse aus Verkäufen Sachanlagevermögen 19% USt (Bei Buchverlust)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3114, 'SKR03', '8', '8805', '3109', 'Erlöse aus Verkäufen Sachanlagevermögen 19% USt (Bei Buchverlust)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3115, 'SKR03', '8', '8806', '3109', 'Erlöse aus Verkäufen Sachanlagevermögen 19% USt (Bei Buchverlust)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3116, 'SKR03', '8', '8807', '3109', 'Erlöse aus Verkäufen Sachanlagevermögen steuerfrei § 4 Nr. 1a UStG (Bei Buchverlust)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3117, 'SKR03', '8', '8808', '3109', 'Erlöse aus Verkäufen Sachanlagevermögen steuerfrei § 4 Nr. 1b UStG (Bei Buchverlust)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3118, 'SKR03', '8', '8809', '3109', 'Erlöse aus Verkäufen Sachanlagevermögen 16% USt (Bei Buchverlust)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3119, 'SKR03', '8', '8817', '3109', 'Erlöse aus Verkäufen immaterielle Vermögensgegenstände (Bei Buchverlust)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3120, 'SKR03', '8', '8818', '3109', 'Erlöse aus Verkäufen Finanzanlagen (Bei Buchverlust)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3121, 'SKR03', '8', '8819', '3109', 'Erlöse aus Verkäufen Finanzanlagen 100% / 50% nicht abzugsfähig (inländische Kap. Ges.) (Bei Buchverlust)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3122, 'SKR03', '8', '8820', '0', 'Erlöse aus Verkäufen Sachanlagevermögen 19% USt (Bei Buchgewinn)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3123, 'SKR03', '8', '8821', '0', 'Erlöse aus Verkäufen Sachanlagevermögen 19% USt (Bei Buchgewinn)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3124, 'SKR03', '8', '8822', '0', 'Erlöse aus Verkäufen Sachanlagevermögen 19% USt (Bei Buchgewinn)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3125, 'SKR03', '8', '8823', '0', 'Erlöse aus Verkäufen Sachanlagevermögen 19% USt (Bei Buchgewinn)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3126, 'SKR03', '8', '8824', '0', 'Erlöse aus Verkäufen Sachanlagevermögen 19% USt (Bei Buchgewinn)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3127, 'SKR03', '8', '8825', '0', 'Erlöse aus Verkäufen Sachanlagevermögen 19% USt (Bei Buchgewinn)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3128, 'SKR03', '8', '8826', '0', 'Erlöse aus Verkäufen Sachanlagevermögen 16% USt (Bei Buchgewinn)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3129, 'SKR03', '8', '8827', '0', 'Erlöse aus Verkäufen Sachanlagevermögen steuerfrei §4 Nr. 1a UStG (Bei Buchgewinn)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3130, 'SKR03', '8', '8828', '0', 'Erlöse aus Verkäufen Sachanlagevermögen steuerfrei §4 Nr. 1b UStG (Bei Buchgewinn)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3131, 'SKR03', '8', '8829', '0', 'Erlöse aus Verkäufen Sachanlagevermögen (Bei Buchgewinn)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3132, 'SKR03', '8', '8837', '0', 'Erlöse aus Verkäufen immaterielle Vermögensgegenstände (Bei Buchgewinn)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3133, 'SKR03', '8', '8838', '0', 'Erlöse aus Verkäufen Finanzanlagen (Bei Buchgewinn)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3134, 'SKR03', '8', '8839', '0', 'Erlöse aus Verkäufen Finanzanlagen 100% / 50% steuerfrei (inländische Kap. Ges.) (Bei Buchgewinn)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3135, 'SKR03', '8', '8850', '0', 'Erlöse aus Verkäufen von Wirtschaftsgütern des Umlaufvermögens 19% USt für § 4 Abs. 3 Satz 4 EStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3136, 'SKR03', '8', '8851', '0', 'Erlöse aus Verkäufen von Wirtschaftsgütern des Umlaufvermögens Umsatzsteuerfrei § 4 Nr. 8 ff UStG i. V. m. § 4 Abs. 3 Satz 4 EStG 100% / 50% steuerfrei (inländische Kap. Ges.)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3137, 'SKR03', '8', '8852', '0', 'Erlöse aus Verkäufen von Wirtschaftsgütern des Umlaufvermögens Umsatzsteuerfrei § 4 Nr. 8 ff UStG i. V. m. § 4 Abs. 3 Satz 4 EStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3138, 'SKR03', '8', '8853', '0', 'Erlöse aus Verkäufen von Wirtschaftsgütern des Umlaufvermögens nach § 4 Abs. 3 Satz 4 EStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3139, 'SKR03', '8', '8900', '0', 'Unentgeltliche Wertabgaben'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3140, 'SKR03', '8', '8905', '0', 'Entnahme von Gegenständen ohne USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3141, 'SKR03', '8', '8906', '0', 'Verwendung von Gegenständen für Zwecke außerhalb des Unternehmens ohne USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3142, 'SKR03', '8', '8910', '0', 'Entnahme durch den Unternehmer für Zwecke außerhalb des Unternehmens (Waren) 19% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3143, 'SKR03', '8', '8911', '0', 'Entnahme durch den Unternehmer für Zwecke außerhalb des Unternehmens (Waren) 19% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3144, 'SKR03', '8', '8912', '0', 'Entnahme durch den Unternehmer für Zwecke außerhalb des Unternehmens (Waren) 19% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3145, 'SKR03', '8', '8913', '0', 'Entnahme durch den Unternehmer für Zwecke außerhalb des Unternehmens (Waren) 19% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3146, 'SKR03', '8', '8914', '0', 'Entnahme durch den Unternehmer für Zwecke außerhalb des Unternehmens (Waren) 16% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3147, 'SKR03', '8', '8915', '0', 'Entnahme durch den Unternehmer für Zwecke außerhalb des Unternehmens (Waren) 7% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3148, 'SKR03', '8', '8916', '0', 'Entnahme durch den Unternehmer für Zwecke außerhalb des Unternehmens (Waren) 7% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3149, 'SKR03', '8', '8917', '0', 'Entnahme durch den Unternehmer für Zwecke außerhalb des Unternehmens (Waren) 7% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3150, 'SKR03', '8', '8918', '0', 'Verwendung von Gegenständen für Zwecke außerhalb des Unternehmens ohne USt (Telefon-Nutzung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3151, 'SKR03', '8', '8919', '0', 'Entnahme durch den Unternehmer für Zwecke außerhalb des Unternehmens (Waren) ohne USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3152, 'SKR03', '8', '8920', '0', 'Verwendung von Gegenständen für Zwecke außerhalb des Unternehmens 19% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3153, 'SKR03', '8', '8921', '0', 'Verwendung von Gegenständen für Zwecke außerhalb des Unternehmens 19% USt (Kfz-Nutzung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3154, 'SKR03', '8', '8922', '0', 'Verwendung von Gegenständen für Zwecke außerhalb des Unternehmens 19% USt (Telefon-Nutzung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3155, 'SKR03', '8', '8923', '0', 'Verwendung von Gegenständen für Zwecke außerhalb des Unternehmens 16% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3156, 'SKR03', '8', '8924', '0', 'Verwendung von Gegenständen für Zwecke außerhalb des Unternehmens ohne USt (Kfz-Nutzung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3157, 'SKR03', '8', '8925', '0', 'Unentgeltliche Erbringung einer sonstigen Leistung 19% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3158, 'SKR03', '8', '8926', '0', 'Unentgeltliche Erbringung einer sonstigen Leistung 19% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3159, 'SKR03', '8', '8927', '0', 'Unentgeltliche Erbringung einer sonstigen Leistung 19% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3160, 'SKR03', '8', '8928', '0', 'Unentgeltliche Erbringung einer sonstigen Leistung 16% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3161, 'SKR03', '8', '8929', '0', 'Unentgeltliche Erbringung einer sonstigen Leistung ohne USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3162, 'SKR03', '8', '8930', '0', 'Verwendung von Gegenständen für Zwecke außerhalb des Unternehmens 7% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3163, 'SKR03', '8', '8931', '0', 'Verwendung von Gegenständen für Zwecke außerhalb des Unternehmens 7% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3164, 'SKR03', '8', '8932', '0', 'Unentgeltliche Erbringung einer sonstigen Leistung 7% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3165, 'SKR03', '8', '8933', '0', 'Unentgeltliche Erbringung einer sonstigen Leistung 7% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3166, 'SKR03', '8', '8934', '0', 'Verwendung von Gegenständen für Zwecke außerhalb des Unternehmens 16% USt (Kfz_Nutzung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3167, 'SKR03', '8', '8935', '0', 'Unentgeltliche Zuwendung von Gegenständen 19% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3168, 'SKR03', '8', '8936', '0', 'Unentgeltliche Zuwendung von Gegenständen 19% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3169, 'SKR03', '8', '8937', '0', 'Unentgeltliche Zuwendung von Gegenständen 19% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3170, 'SKR03', '8', '8938', '0', 'Unentgeltliche Zuwendung von Gegenständen 16% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3171, 'SKR03', '8', '8939', '0', 'Unentgeltliche Zuwendung von Gegenständen ohne USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3172, 'SKR03', '8', '8940', '0', 'Unentgeltliche Zuwendung von Waren 19% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3173, 'SKR03', '8', '8941', '0', 'Unentgeltliche Zuwendung von Waren 19% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3174, 'SKR03', '8', '8942', '0', 'Unentgeltliche Zuwendung von Waren 19% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3175, 'SKR03', '8', '8943', '0', 'Unentgeltliche Zuwendung von Waren 19% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3176, 'SKR03', '8', '8944', '0', 'Unentgeltliche Zuwendung von Waren 16% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3177, 'SKR03', '8', '8945', '0', 'Unentgeltliche Zuwendung von Waren 7% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3178, 'SKR03', '8', '8946', '0', 'Unentgeltliche Zuwendung von Waren 7% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3179, 'SKR03', '8', '8947', '0', 'Unentgeltliche Zuwendung von Waren 7% USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3180, 'SKR03', '8', '8948', '0', 'Verwendung von Gegenständen für Zwecke außerhalb des Unternehmens 16% USt (Telefon-Nutzung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3181, 'SKR03', '8', '8949', '0', 'Unentgeltliche Zuwendung von Waren ohne USt'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3182, 'SKR03', '8', '8950', '0', 'Nicht steuerbare Umsätze (Innenumsätze)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3183, 'SKR03', '8', '8955', '0', 'Umsatzsteuervergütungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3185, 'SKR03', '8', '8960', '0', 'Bestandsveränderungen- unfertige Erzeugnisse'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3186, 'SKR03', '8', '8970', '0', 'Bestandsveränderungen- unfertige Leistungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3188, 'SKR03', '8', '8975', '0', 'Bestandsveränderungen - in Ausführung befindliche Bauaufträge'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3190, 'SKR03', '8', '8977', '0', 'Bestandsveränderungen - in Arbeit befindliche Aufträge'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3191, 'SKR03', '8', '8980', '0', 'Bestandsveränderungen - fertige Erzeugnisse'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3192, 'SKR03', '8', '8990', '0', 'Andere aktivierte Eigenleistungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3195, 'SKR03', '9', '9000', '0', 'Saldenvorträge Sachkonten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3196, 'SKR03', '9', '9001', '3195', 'Saldenvorträge Sachkonten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3197, 'SKR03', '9', '9002', '3195', 'Saldenvorträge Sachkonten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3198, 'SKR03', '9', '9003', '3195', 'Saldenvorträge Sachkonten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3199, 'SKR03', '9', '9004', '3195', 'Saldenvorträge Sachkonten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3200, 'SKR03', '9', '9005', '3195', 'Saldenvorträge Sachkonten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3201, 'SKR03', '9', '9006', '3195', 'Saldenvorträge Sachkonten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3202, 'SKR03', '9', '9007', '3195', 'Saldenvorträge Sachkonten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3203, 'SKR03', '9', '9008', '3195', 'Saldenvorträge Debitoren'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3204, 'SKR03', '9', '9009', '3195', 'Saldenvorträge Kreditoren'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3205, 'SKR03', '9', '9060', '3195', 'Offene Posten aus 1990'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3206, 'SKR03', '9', '9069', '3195', 'Offene Posten aus 1999'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3207, 'SKR03', '9', '9070', '3195', 'Offene Posten aus 2000'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3208, 'SKR03', '9', '9071', '3195', 'Offene Posten aus 2001'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3209, 'SKR03', '9', '9072', '3195', 'Offene Posten aus 2002'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3210, 'SKR03', '9', '9073', '3195', 'Offene Posten aus 2003'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3211, 'SKR03', '9', '9074', '3195', 'Offene Posten aus 2004'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3212, 'SKR03', '9', '9075', '3195', 'Offene Posten aus 2005'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3213, 'SKR03', '9', '9076', '3195', 'Offene Posten aus 2006'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3214, 'SKR03', '9', '9077', '3195', 'Offene Posten aus 2007'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3215, 'SKR03', '9', '9090', '3195', 'Summenvortragskonto'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3216, 'SKR03', '9', '9091', '3215', 'Offene Posten aus 1991'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3217, 'SKR03', '9', '9092', '3215', 'Offene Posten aus 1992'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3218, 'SKR03', '9', '9093', '3215', 'Offene Posten aus 1993'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3219, 'SKR03', '9', '9094', '3215', 'Offene Posten aus 1994'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3220, 'SKR03', '9', '9095', '3215', 'Offene Posten aus 1995'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3221, 'SKR03', '9', '9096', '3215', 'Offene Posten aus 1996'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3222, 'SKR03', '9', '9097', '3215', 'Offene Posten aus 1997'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3223, 'SKR03', '9', '9098', '3215', 'Offene Posten aus 1998'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3225, 'SKR03', '9', '9101', '3195', 'Verkaufstage'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3226, 'SKR03', '9', '9102', '3195', 'Anzahl der Barkunden'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3227, 'SKR03', '9', '9103', '3195', 'Beschäftigte Personen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3228, 'SKR03', '9', '9104', '3195', 'Unbezahlte Personen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3229, 'SKR03', '9', '9105', '3195', 'Verkaufskräfte'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3230, 'SKR03', '9', '9106', '3195', 'Geschäftsraum qm'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3231, 'SKR03', '9', '9107', '3195', 'Verkaufsraum qm'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3232, 'SKR03', '9', '9116', '3195', 'Anzahl Rechnungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3233, 'SKR03', '9', '9117', '3195', 'Anzahl Kreditkunden monatlich'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3234, 'SKR03', '9', '9118', '3195', 'Anzahl Kreditkunden aufgelaufen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3235, 'SKR03', '9', '9120', '3195', 'Erweiterungsinvestitionen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3236, 'SKR03', '9', '9135', '3195', 'Auftragseingang im Geschäftsjahr'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3237, 'SKR03', '9', '9140', '3195', 'Auftragsbestand'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3238, 'SKR03', '9', '9190', '3195', 'Gegenkonto für statistischen Mengeneinheiten Konten 9101 - 9107 und Konten 9116 - 9118'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3239, 'SKR03', '9', '9199', '3195', 'Gegenkonto zu Konten 9120 9135 - 9140'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3241, 'SKR03', '9', '9200', '3195', 'Beschäftigte Personen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3242, 'SKR03', '9', '9209', '3195', 'Gegenkonto zu 9200'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3243, 'SKR03', '9', '9210', '3195', 'Produktive Löhne'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3244, 'SKR03', '9', '9219', '3195', 'Gegenkonto zu 9210'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3247, 'SKR03', '9', '9220', '3195', 'Gezeichnetes Kapital in DM (Art. 42 Abs. 3 S. 1 EGHGB)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3249, 'SKR03', '9', '9221', '3195', 'Gezeichnetes Kapital in Euro (Art. 42 Abs. 3 S. 2 EGHGB)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3250, 'SKR03', '9', '9229', '3195', 'Gegenkonto zu Konten 9022 - 9221'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3252, 'SKR03', '9', '9230', '3195', 'Baukostenzuschüsse'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3253, 'SKR03', '9', '9232', '3195', 'Investitionszulagen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3254, 'SKR03', '9', '9234', '3195', 'Investitionszuschüsse'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3255, 'SKR03', '9', '9239', '3195', 'Gegenkonto zu Konten 9230 - 9238'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3256, 'SKR03', '9', '9240', '3195', 'Investitionsverbindlichkeiten bei den Leistungsverbindlichkeiten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3257, 'SKR03', '9', '9241', '3195', 'Investitionsverbindlichkeiten aus Sachanlagenverkäufen bei Leistungsverbindlichkeiten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3258, 'SKR03', '9', '9242', '3195', 'Investitionsverbindlichkeiten aus Käufen von immateriellen Vermögensgegenständen bei Leistungsverbindlichkeiten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3259, 'SKR03', '9', '9243', '3195', 'Investitionsverbindlichkeiten aus Käufen von Finanzanlagen bei Leistungsverbindlichkeiten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3260, 'SKR03', '9', '9244', '3195', 'Gegenkonto zu Konten 9240 - 9243'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3261, 'SKR03', '9', '9245', '3195', 'Forderungen aus Sachanlagenverkäufen bei sonstigen Vermögensgegenständen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3262, 'SKR03', '9', '9246', '3195', 'Forderungen aus Verkäufen immaterieller Vermögensgegenständen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3263, 'SKR03', '9', '9247', '3195', 'Forderungen aus Verkäufe von Finanzanlagen bei sonstigen Vermögensgegenständen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3264, 'SKR03', '9', '9249', '3195', 'Gegenkonto zu Konten 9245 - 9247'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3266, 'SKR03', '9', '9250', '3195', 'Eigenkapitalersetzende Gesellschafterdarlehen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3267, 'SKR03', '9', '9255', '3195', 'Ungesicherte Gesellschafterdarlehen mit Restlaufzeit größer 5 Jahre'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3268, 'SKR03', '9', '9259', '3195', 'Gegenkonto zu 9250 und 9255'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3270, 'SKR03', '9', '9260', '3195', 'Kurzfristige Rückstellungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3271, 'SKR03', '9', '9262', '3195', 'Mittelfristige Rückstellungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3272, 'SKR03', '9', '9264', '3195', 'Langfristige Rückstellungen außer Pensionen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3273, 'SKR03', '9', '9269', '3195', 'Gegenkonto zu Konten 9260 - 9268'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3275, 'SKR03', '9', '9270', '3195', 'Gegenkonto zu 9271 bis 9278 (soll-Buchung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3276, 'SKR03', '9', '9271', '3195', 'Verbindlichkeiten aus der Begebung und übertragung von Wechsel'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3277, 'SKR03', '9', '9272', '3195', 'Verbindlichkeiten aus der Begebung und übertragung von Wechseln gegenüber verbundenen Unternehmen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3278, 'SKR03', '9', '9273', '3195', 'Verbindlichkeiten aus Bürgschaften Wechsel- und Scheckbürgschaften'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3279, 'SKR03', '9', '9274', '3195', 'Verbindlichkeiten aus Bürgschaften Wechsel- und Scheckbürgschaften gegenüber verbundenen Unternehmen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3280, 'SKR03', '9', '9275', '3195', 'Verbindlichkeiten aus Gewährleistungsverträgen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3281, 'SKR03', '9', '9276', '3195', 'Verbindlichkeiten aus Gewährleistungsverträgen gegenüber verbundenen Unternehmen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3282, 'SKR03', '9', '9277', '3195', 'Haftung aus der Bestellung von Sicherheiten für fremde Verbindlichkeiten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3283, 'SKR03', '9', '9278', '3195', 'Haftung aus der Bestellung von Sicherheiten für fremde Verbindlichkeiten gegenüber verbundenen Unternehmen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3284, 'SKR03', '9', '9279', '3195', 'Verpflichtungen aus Trendhandvermögen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3286, 'SKR03', '9', '9280', '3195', 'Gegenkonto zu Konten 9281 - 9284'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3287, 'SKR03', '9', '9281', '3195', 'Verpflichtungen aus Miet- und Leasingverträgen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3288, 'SKR03', '9', '9282', '3195', 'Verpflichtungen aus Miet- und Leasingverträgen gegenüber verbundenen Unternehmen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3289, 'SKR03', '9', '9283', '3195', 'Andere Verpflichtungen gemäß § 285 Nr. 3 HGB'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3290, 'SKR03', '9', '9284', '3195', 'Andere Verpflichtungen gemäß § 285 Nr. 3 HGB gegenüber verbundenen Unternehmen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3291, 'SKR03', '9', '9285', '3195', 'Statistische Konten für § 4 Abs. 3 EStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3292, 'SKR03', '9', '9287', '3195', 'Zinsen bei Buchungen über Debitoren bei § 4 Abs. 3 EStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3293, 'SKR03', '9', '9288', '3195', 'Mahngebühren bei Buchungen über Debitoren bei § 4 Abs. 3 EStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3294, 'SKR03', '9', '9289', '3195', 'Gegenkonto zu 9287 und 9288'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3295, 'SKR03', '9', '9290', '3195', 'Statistisches Konto steuerfreie Auslagen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3296, 'SKR03', '9', '9291', '3195', 'Gegenkonto zu 9290'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3297, 'SKR03', '9', '9292', '3195', 'Statistisches Konto Fremdgeld'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3298, 'SKR03', '9', '9293', '3195', 'Gegenkonto zu 9292'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3300, 'SKR03', '9', '9295', '3195', 'Einlagen stiller Gesellschafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3302, 'SKR03', '9', '9297', '3195', 'Steuerrechtlicher Ausgleichsposten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3304, 'SKR03', '9', '9400', '3195', 'Privatentnahmen Allgemein'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3305, 'SKR03', '9', '9401', '3195', 'Privatentnahmen Allgemein'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3306, 'SKR03', '9', '9402', '3195', 'Privatentnahmen Allgemein'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3307, 'SKR03', '9', '9403', '3195', 'Privatentnahmen Allgemein'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3308, 'SKR03', '9', '9404', '3195', 'Privatentnahmen Allgemein'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3309, 'SKR03', '9', '9405', '3195', 'Privatentnahmen Allgemein'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3310, 'SKR03', '9', '9406', '3195', 'Privatentnahmen Allgemein'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3311, 'SKR03', '9', '9407', '3195', 'Privatentnahmen Allgemein'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3312, 'SKR03', '9', '9408', '3195', 'Privatentnahmen Allgemein'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3313, 'SKR03', '9', '9409', '3195', 'Privatentnahmen Allgemein'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3314, 'SKR03', '9', '9410', '3195', 'Privatsteuern'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3315, 'SKR03', '9', '9411', '3195', 'Privatsteuern'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3316, 'SKR03', '9', '9412', '3195', 'Privatsteuern'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3317, 'SKR03', '9', '9413', '3195', 'Privatsteuern'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3318, 'SKR03', '9', '9414', '3195', 'Privatsteuern'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3319, 'SKR03', '9', '9415', '3195', 'Privatsteuern'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3320, 'SKR03', '9', '9416', '3195', 'Privatsteuern'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3321, 'SKR03', '9', '9417', '3195', 'Privatsteuern'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3322, 'SKR03', '9', '9418', '3195', 'Privatsteuern'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3323, 'SKR03', '9', '9419', '3195', 'Privatsteuern'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3324, 'SKR03', '9', '9420', '3195', 'Sonderausgaben beschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3325, 'SKR03', '9', '9421', '3195', 'Sonderausgaben beschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3326, 'SKR03', '9', '9422', '3195', 'Sonderausgaben beschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3327, 'SKR03', '9', '9423', '3195', 'Sonderausgaben beschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3328, 'SKR03', '9', '9424', '3195', 'Sonderausgaben beschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3329, 'SKR03', '9', '9425', '3195', 'Sonderausgaben beschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3330, 'SKR03', '9', '9426', '3195', 'Sonderausgaben beschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3331, 'SKR03', '9', '9427', '3195', 'Sonderausgaben beschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3332, 'SKR03', '9', '9428', '3195', 'Sonderausgaben beschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3333, 'SKR03', '9', '9429', '3195', 'Sonderausgaben beschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3334, 'SKR03', '9', '9430', '3195', 'Sonderausgaben unbeschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3335, 'SKR03', '9', '9431', '3195', 'Sonderausgaben unbeschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3336, 'SKR03', '9', '9432', '3195', 'Sonderausgaben unbeschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3337, 'SKR03', '9', '9433', '3195', 'Sonderausgaben unbeschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3338, 'SKR03', '9', '9434', '3195', 'Sonderausgaben unbeschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3339, 'SKR03', '9', '9435', '3195', 'Sonderausgaben unbeschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3340, 'SKR03', '9', '9436', '3195', 'Sonderausgaben unbeschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3341, 'SKR03', '9', '9437', '3195', 'Sonderausgaben unbeschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3342, 'SKR03', '9', '9438', '3195', 'Sonderausgaben unbeschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3343, 'SKR03', '9', '9439', '3195', 'Sonderausgaben unbeschränkt abzugsfähig'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3344, 'SKR03', '9', '9440', '3195', 'Zuwendungen Spenden'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3345, 'SKR03', '9', '9441', '3195', 'Zuwendungen Spenden'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3346, 'SKR03', '9', '9442', '3195', 'Zuwendungen Spenden'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3347, 'SKR03', '9', '9443', '3195', 'Zuwendungen Spenden'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3348, 'SKR03', '9', '9444', '3195', 'Zuwendungen Spenden'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3349, 'SKR03', '9', '9445', '3195', 'Zuwendungen Spenden'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3350, 'SKR03', '9', '9446', '3195', 'Zuwendungen Spenden'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3351, 'SKR03', '9', '9447', '3195', 'Zuwendungen Spenden'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3352, 'SKR03', '9', '9448', '3195', 'Zuwendungen Spenden'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3353, 'SKR03', '9', '9449', '3195', 'Zuwendungen Spenden'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3354, 'SKR03', '9', '9450', '3195', 'Außergewöhnliche Belastungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3355, 'SKR03', '9', '9451', '3195', 'Außergewöhnliche Belastungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3356, 'SKR03', '9', '9452', '3195', 'Außergewöhnliche Belastungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3357, 'SKR03', '9', '9453', '3195', 'Außergewöhnliche Belastungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3358, 'SKR03', '9', '9454', '3195', 'Außergewöhnliche Belastungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3359, 'SKR03', '9', '9455', '3195', 'Außergewöhnliche Belastungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3360, 'SKR03', '9', '9456', '3195', 'Außergewöhnliche Belastungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3361, 'SKR03', '9', '9457', '3195', 'Außergewöhnliche Belastungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3362, 'SKR03', '9', '9458', '3195', 'Außergewöhnliche Belastungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3363, 'SKR03', '9', '9459', '3195', 'Außergewöhnliche Belastungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3364, 'SKR03', '9', '9460', '3195', 'Grundstückaufwand'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3365, 'SKR03', '9', '9461', '3195', 'Grundstückaufwand'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3366, 'SKR03', '9', '9462', '3195', 'Grundstückaufwand'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3367, 'SKR03', '9', '9463', '3195', 'Grundstückaufwand'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3368, 'SKR03', '9', '9464', '3195', 'Grundstückaufwand'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3369, 'SKR03', '9', '9465', '3195', 'Grundstückaufwand'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3370, 'SKR03', '9', '9466', '3195', 'Grundstückaufwand'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3371, 'SKR03', '9', '9467', '3195', 'Grundstückaufwand'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3372, 'SKR03', '9', '9468', '3195', 'Grundstückaufwand'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3373, 'SKR03', '9', '9469', '3195', 'Grundstückaufwand'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3374, 'SKR03', '9', '9470', '3195', 'Grundstückertrag'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3375, 'SKR03', '9', '9471', '3195', 'Grundstückertrag'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3376, 'SKR03', '9', '9472', '3195', 'Grundstückertrag'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3377, 'SKR03', '9', '9473', '3195', 'Grundstückertrag'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3378, 'SKR03', '9', '9474', '3195', 'Grundstückertrag'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3379, 'SKR03', '9', '9475', '3195', 'Grundstückertrag'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3380, 'SKR03', '9', '9476', '3195', 'Grundstückertrag'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3381, 'SKR03', '9', '9477', '3195', 'Grundstückertrag'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3382, 'SKR03', '9', '9478', '3195', 'Grundstückertrag'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3383, 'SKR03', '9', '9479', '3195', 'Grundstückertrag'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3384, 'SKR03', '9', '9480', '3195', 'Unentgeltliche Wertabgaben'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3385, 'SKR03', '9', '9481', '3195', 'Unentgeltliche Wertabgaben'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3386, 'SKR03', '9', '9482', '3195', 'Unentgeltliche Wertabgaben'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3387, 'SKR03', '9', '9483', '3195', 'Unentgeltliche Wertabgaben'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3388, 'SKR03', '9', '9484', '3195', 'Unentgeltliche Wertabgaben'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3389, 'SKR03', '9', '9485', '3195', 'Unentgeltliche Wertabgaben'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3390, 'SKR03', '9', '9486', '3195', 'Unentgeltliche Wertabgaben'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3391, 'SKR03', '9', '9487', '3195', 'Unentgeltliche Wertabgaben'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3392, 'SKR03', '9', '9488', '3195', 'Unentgeltliche Wertabgaben'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3393, 'SKR03', '9', '9489', '3195', 'Unentgeltliche Wertabgaben'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3394, 'SKR03', '9', '9490', '3195', 'Privateinlagen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3395, 'SKR03', '9', '9491', '3195', 'Privateinlagen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3396, 'SKR03', '9', '9492', '3195', 'Privateinlagen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3397, 'SKR03', '9', '9493', '3195', 'Privateinlagen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3398, 'SKR03', '9', '9494', '3195', 'Privateinlagen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3399, 'SKR03', '9', '9495', '3195', 'Privateinlagen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3400, 'SKR03', '9', '9496', '3195', 'Privateinlagen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3401, 'SKR03', '9', '9497', '3195', 'Privateinlagen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3402, 'SKR03', '9', '9498', '3195', 'Privateinlagen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3403, 'SKR03', '9', '9499', '3195', 'Privateinlagen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3405, 'SKR03', '9', '9500', '3195', 'Anteil für Konto 0900 Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3406, 'SKR03', '9', '9501', '3195', 'Anteil für Konto 0901 Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3407, 'SKR03', '9', '9502', '3195', 'Anteil für Konto 0902 Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3408, 'SKR03', '9', '9503', '3195', 'Anteil für Konto 0903 Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3409, 'SKR03', '9', '9504', '3195', 'Anteil für Konto 0904 Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3410, 'SKR03', '9', '9505', '3195', 'Anteil für Konto 0905 Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3411, 'SKR03', '9', '9506', '3195', 'Anteil für Konto 0906 Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3412, 'SKR03', '9', '9507', '3195', 'Anteil für Konto 0907 Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3413, 'SKR03', '9', '9508', '3195', 'Anteil für Konto 0908 Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3414, 'SKR03', '9', '9509', '3195', 'Anteil für Konto 0909 Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3415, 'SKR03', '9', '9510', '3195', 'Anteil für Konto 0910 Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3416, 'SKR03', '9', '9511', '3195', 'Anteil für Konto 0911 Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3417, 'SKR03', '9', '9512', '3195', 'Anteil für Konto 0912 Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3418, 'SKR03', '9', '9513', '3195', 'Anteil für Konto 0913 Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3419, 'SKR03', '9', '9514', '3195', 'Anteil für Konto 0914 Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3420, 'SKR03', '9', '9515', '3195', 'Anteil für Konto 0915 Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3421, 'SKR03', '9', '9516', '3195', 'Anteil für Konto 0916 Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3422, 'SKR03', '9', '9517', '3195', 'Anteil für Konto 0917 Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3423, 'SKR03', '9', '9518', '3195', 'Anteil für Konto 0918 Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3424, 'SKR03', '9', '9519', '3195', 'Anteil für Konto 0919 Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3425, 'SKR03', '9', '9520', '3195', 'Anteil für Konto 0920 Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3426, 'SKR03', '9', '9521', '3195', 'Anteil für Konto 0921 Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3427, 'SKR03', '9', '9522', '3195', 'Anteil für Konto 0922 Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3428, 'SKR03', '9', '9523', '3195', 'Anteil für Konto 0923 Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3429, 'SKR03', '9', '9524', '3195', 'Anteil für Konto 0924 Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3430, 'SKR03', '9', '9525', '3195', 'Anteil für Konto 0925 Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3431, 'SKR03', '9', '9526', '3195', 'Anteil für Konto 0926 Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3432, 'SKR03', '9', '9527', '3195', 'Anteil für Konto 0927 Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3433, 'SKR03', '9', '9528', '3195', 'Anteil für Konto 0928 Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3434, 'SKR03', '9', '9529', '3195', 'Anteil für Konto 0929 Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3435, 'SKR03', '9', '9530', '3195', 'Anteil für Konto 0830 Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3436, 'SKR03', '9', '9531', '3195', 'Anteil für Konto 0831 Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3437, 'SKR03', '9', '9532', '3195', 'Anteil für Konto 0832 Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3438, 'SKR03', '9', '9533', '3195', 'Anteil für Konto 0833 Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3439, 'SKR03', '9', '9534', '3195', 'Anteil für Konto 0834 Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3440, 'SKR03', '9', '9535', '3195', 'Anteil für Konto 0835 Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3441, 'SKR03', '9', '9536', '3195', 'Anteil für Konto 0836 Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3442, 'SKR03', '9', '9537', '3195', 'Anteil für Konto 0837 Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3443, 'SKR03', '9', '9538', '3195', 'Anteil für Konto 0838 Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3444, 'SKR03', '9', '9539', '3195', 'Anteil für Konto 0839 Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3445, 'SKR03', '9', '9540', '3195', 'Anteil für Konto 0810 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3446, 'SKR03', '9', '9541', '3195', 'Anteil für Konto 0811 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3447, 'SKR03', '9', '9542', '3195', 'Anteil für Konto 0812 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3448, 'SKR03', '9', '9543', '3195', 'Anteil für Konto 0813 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3449, 'SKR03', '9', '9544', '3195', 'Anteil für Konto 0814 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3450, 'SKR03', '9', '9545', '3195', 'Anteil für Konto 0815 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3451, 'SKR03', '9', '9546', '3195', 'Anteil für Konto 0816 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3452, 'SKR03', '9', '9547', '3195', 'Anteil für Konto 0817 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3453, 'SKR03', '9', '9548', '3195', 'Anteil für Konto 0818 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3454, 'SKR03', '9', '9549', '3195', 'Anteil für Konto 0819 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3455, 'SKR03', '9', '9550', '3195', 'Anteil für Konto 9810 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3456, 'SKR03', '9', '9551', '3195', 'Anteil für Konto 9811 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3457, 'SKR03', '9', '9552', '3195', 'Anteil für Konto 9812 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3458, 'SKR03', '9', '9553', '3195', 'Anteil für Konto 9813 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3459, 'SKR03', '9', '9554', '3195', 'Anteil für Konto 9814 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3460, 'SKR03', '9', '9555', '3195', 'Anteil für Konto 9815 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3461, 'SKR03', '9', '9556', '3195', 'Anteil für Konto 9816 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3462, 'SKR03', '9', '9557', '3195', 'Anteil für Konto 9817 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3463, 'SKR03', '9', '9558', '3195', 'Anteil für Konto 9818 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3464, 'SKR03', '9', '9559', '3195', 'Anteil für Konto 9819 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3465, 'SKR03', '9', '9560', '3195', 'Anteil für Konto 9820 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3466, 'SKR03', '9', '9561', '3195', 'Anteil für Konto 9821 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3467, 'SKR03', '9', '9562', '3195', 'Anteil für Konto 9822 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3468, 'SKR03', '9', '9563', '3195', 'Anteil für Konto 9823 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3469, 'SKR03', '9', '9564', '3195', 'Anteil für Konto 9824 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3470, 'SKR03', '9', '9565', '3195', 'Anteil für Konto 9825 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3471, 'SKR03', '9', '9566', '3195', 'Anteil für Konto 9826 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3472, 'SKR03', '9', '9567', '3195', 'Anteil für Konto 9827 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3473, 'SKR03', '9', '9568', '3195', 'Anteil für Konto 9828 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3474, 'SKR03', '9', '9569', '3195', 'Anteil für Konto 9829 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3475, 'SKR03', '9', '9570', '3195', 'Anteil für Konto 0870 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3476, 'SKR03', '9', '9571', '3195', 'Anteil für Konto 0871 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3477, 'SKR03', '9', '9572', '3195', 'Anteil für Konto 0872 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3478, 'SKR03', '9', '9573', '3195', 'Anteil für Konto 0873 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3479, 'SKR03', '9', '9574', '3195', 'Anteil für Konto 0874 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3480, 'SKR03', '9', '9575', '3195', 'Anteil für Konto 0875 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3481, 'SKR03', '9', '9576', '3195', 'Anteil für Konto 0876 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3482, 'SKR03', '9', '9577', '3195', 'Anteil für Konto 0877 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3483, 'SKR03', '9', '9578', '3195', 'Anteil für Konto 0878 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3484, 'SKR03', '9', '9579', '3195', 'Anteil für Konto 0879 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3485, 'SKR03', '9', '9580', '3195', 'Anteil für Konto 0880 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3486, 'SKR03', '9', '9581', '3195', 'Anteil für Konto 0881 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3487, 'SKR03', '9', '9582', '3195', 'Anteil für Konto 0882 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3488, 'SKR03', '9', '9583', '3195', 'Anteil für Konto 0883 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3489, 'SKR03', '9', '9584', '3195', 'Anteil für Konto 0884 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3490, 'SKR03', '9', '9585', '3195', 'Anteil für Konto 0885 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3491, 'SKR03', '9', '9586', '3195', 'Anteil für Konto 0886 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3492, 'SKR03', '9', '9587', '3195', 'Anteil für Konto 0887 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3493, 'SKR03', '9', '9588', '3195', 'Anteil für Konto 0888 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3494, 'SKR03', '9', '9589', '3195', 'Anteil für Konto 0889 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3495, 'SKR03', '9', '9590', '3195', 'Anteil für Konto 0890 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3496, 'SKR03', '9', '9591', '3195', 'Anteil für Konto 0891 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3497, 'SKR03', '9', '9592', '3195', 'Anteil für Konto 0892 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3498, 'SKR03', '9', '9593', '3195', 'Anteil für Konto 0893 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3499, 'SKR03', '9', '9594', '3195', 'Anteil für Konto 0894 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3500, 'SKR03', '9', '9595', '3195', 'Anteil für Konto 0895 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3501, 'SKR03', '9', '9596', '3195', 'Anteil für Konto 0896 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3502, 'SKR03', '9', '9597', '3195', 'Anteil für Konto 0897 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3503, 'SKR03', '9', '9598', '3195', 'Anteil für Konto 0898 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3504, 'SKR03', '9', '9599', '3195', 'Anteil für Konto 0899 Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3505, 'SKR03', '9', '9600', '3195', 'Name des Gesellschafters Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3506, 'SKR03', '9', '9601', '3195', 'Name des Gesellschafters Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3507, 'SKR03', '9', '9602', '3195', 'Name des Gesellschafters Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3508, 'SKR03', '9', '9603', '3195', 'Name des Gesellschafters Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3509, 'SKR03', '9', '9604', '3195', 'Name des Gesellschafters Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3510, 'SKR03', '9', '9605', '3195', 'Name des Gesellschafters Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3511, 'SKR03', '9', '9606', '3195', 'Name des Gesellschafters Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3512, 'SKR03', '9', '9607', '3195', 'Name des Gesellschafters Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3513, 'SKR03', '9', '9608', '3195', 'Name des Gesellschafters Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3514, 'SKR03', '9', '9609', '3195', 'Name des Gesellschafters Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3515, 'SKR03', '9', '9610', '3195', 'Tätigkeitsvergütung Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3516, 'SKR03', '9', '9611', '3195', 'Tätigkeitsvergütung Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3517, 'SKR03', '9', '9612', '3195', 'Tätigkeitsvergütung Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3518, 'SKR03', '9', '9613', '3195', 'Tätigkeitsvergütung Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3519, 'SKR03', '9', '9614', '3195', 'Tätigkeitsvergütung Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3520, 'SKR03', '9', '9615', '3195', 'Tätigkeitsvergütung Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3521, 'SKR03', '9', '9616', '3195', 'Tätigkeitsvergütung Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3522, 'SKR03', '9', '9617', '3195', 'Tätigkeitsvergütung Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3523, 'SKR03', '9', '9618', '3195', 'Tätigkeitsvergütung Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3524, 'SKR03', '9', '9619', '3195', 'Tätigkeitsvergütung Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3525, 'SKR03', '9', '9620', '3195', 'Tantieme Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3526, 'SKR03', '9', '9621', '3195', 'Tantieme Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3527, 'SKR03', '9', '9622', '3195', 'Tantieme Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3528, 'SKR03', '9', '9623', '3195', 'Tantieme Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3529, 'SKR03', '9', '9624', '3195', 'Tantieme Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3530, 'SKR03', '9', '9625', '3195', 'Tantieme Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3531, 'SKR03', '9', '9626', '3195', 'Tantieme Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3532, 'SKR03', '9', '9627', '3195', 'Tantieme Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3533, 'SKR03', '9', '9628', '3195', 'Tantieme Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3534, 'SKR03', '9', '9629', '3195', 'Tantieme Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3535, 'SKR03', '9', '9630', '3195', 'Darlehensverzinsung Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3536, 'SKR03', '9', '9631', '3195', 'Darlehensverzinsung Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3537, 'SKR03', '9', '9632', '3195', 'Darlehensverzinsung Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3538, 'SKR03', '9', '9633', '3195', 'Darlehensverzinsung Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3539, 'SKR03', '9', '9634', '3195', 'Darlehensverzinsung Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3540, 'SKR03', '9', '9635', '3195', 'Darlehensverzinsung Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3541, 'SKR03', '9', '9636', '3195', 'Darlehensverzinsung Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3542, 'SKR03', '9', '9637', '3195', 'Darlehensverzinsung Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3543, 'SKR03', '9', '9638', '3195', 'Darlehensverzinsung Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3544, 'SKR03', '9', '9639', '3195', 'Darlehensverzinsung Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3545, 'SKR03', '9', '9640', '3195', 'Gebrauchsüberlassung Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3546, 'SKR03', '9', '9641', '3195', 'Gebrauchsüberlassung Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3547, 'SKR03', '9', '9642', '3195', 'Gebrauchsüberlassung Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3548, 'SKR03', '9', '9643', '3195', 'Gebrauchsüberlassung Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3549, 'SKR03', '9', '9644', '3195', 'Gebrauchsüberlassung Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3550, 'SKR03', '9', '9645', '3195', 'Gebrauchsüberlassung Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3551, 'SKR03', '9', '9646', '3195', 'Gebrauchsüberlassung Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3552, 'SKR03', '9', '9647', '3195', 'Gebrauchsüberlassung Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3553, 'SKR03', '9', '9648', '3195', 'Gebrauchsüberlassung Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3554, 'SKR03', '9', '9649', '3195', 'Gebrauchsüberlassung Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3555, 'SKR03', '9', '9650', '3195', 'Sonstige Vergütungen Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3556, 'SKR03', '9', '9651', '3195', 'Sonstige Vergütungen Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3557, 'SKR03', '9', '9652', '3195', 'Sonstige Vergütungen Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3558, 'SKR03', '9', '9653', '3195', 'Sonstige Vergütungen Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3559, 'SKR03', '9', '9654', '3195', 'Sonstige Vergütungen Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3560, 'SKR03', '9', '9655', '3195', 'Sonstige Vergütungen Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3561, 'SKR03', '9', '9656', '3195', 'Sonstige Vergütungen Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3562, 'SKR03', '9', '9657', '3195', 'Sonstige Vergütungen Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3563, 'SKR03', '9', '9658', '3195', 'Sonstige Vergütungen Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3564, 'SKR03', '9', '9659', '3195', 'Sonstige Vergütungen Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3565, 'SKR03', '9', '9690', '3195', 'Restanteil Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3566, 'SKR03', '9', '9691', '3195', 'Restanteil Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3567, 'SKR03', '9', '9692', '3195', 'Restanteil Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3568, 'SKR03', '9', '9693', '3195', 'Restanteil Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3569, 'SKR03', '9', '9694', '3195', 'Restanteil Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3570, 'SKR03', '9', '9695', '3195', 'Restanteil Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3571, 'SKR03', '9', '9696', '3195', 'Restanteil Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3572, 'SKR03', '9', '9697', '3195', 'Restanteil Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3573, 'SKR03', '9', '9698', '3195', 'Restanteil Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3574, 'SKR03', '9', '9699', '3195', 'Restanteil Vollhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3575, 'SKR03', '9', '9700', '3195', 'Name des Gesellschafters Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3576, 'SKR03', '9', '9701', '3195', 'Name des Gesellschafters Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3577, 'SKR03', '9', '9702', '3195', 'Name des Gesellschafters Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3578, 'SKR03', '9', '9703', '3195', 'Name des Gesellschafters Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3579, 'SKR03', '9', '9704', '3195', 'Name des Gesellschafters Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3580, 'SKR03', '9', '9705', '3195', 'Name des Gesellschafters Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3581, 'SKR03', '9', '9706', '3195', 'Name des Gesellschafters Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3582, 'SKR03', '9', '9707', '3195', 'Name des Gesellschafters Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3583, 'SKR03', '9', '9708', '3195', 'Name des Gesellschafters Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3584, 'SKR03', '9', '9709', '3195', 'Name des Gesellschafters Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3585, 'SKR03', '9', '9710', '3195', 'Tätigkeitsvergütung Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3586, 'SKR03', '9', '9711', '3195', 'Tätigkeitsvergütung Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3587, 'SKR03', '9', '9712', '3195', 'Tätigkeitsvergütung Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3588, 'SKR03', '9', '9713', '3195', 'Tätigkeitsvergütung Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3589, 'SKR03', '9', '9714', '3195', 'Tätigkeitsvergütung Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3590, 'SKR03', '9', '9715', '3195', 'Tätigkeitsvergütung Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3591, 'SKR03', '9', '9716', '3195', 'Tätigkeitsvergütung Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3592, 'SKR03', '9', '9717', '3195', 'Tätigkeitsvergütung Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3593, 'SKR03', '9', '9718', '3195', 'Tätigkeitsvergütung Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3594, 'SKR03', '9', '9719', '3195', 'Tätigkeitsvergütung Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3595, 'SKR03', '9', '9720', '3195', 'Tantieme Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3596, 'SKR03', '9', '9721', '3195', 'Tantieme Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3597, 'SKR03', '9', '9722', '3195', 'Tantieme Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3598, 'SKR03', '9', '9723', '3195', 'Tantieme Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3599, 'SKR03', '9', '9724', '3195', 'Tantieme Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3600, 'SKR03', '9', '9725', '3195', 'Tantieme Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3601, 'SKR03', '9', '9726', '3195', 'Tantieme Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3602, 'SKR03', '9', '9727', '3195', 'Tantieme Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3603, 'SKR03', '9', '9728', '3195', 'Tantieme Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3604, 'SKR03', '9', '9729', '3195', 'Tantieme Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3605, 'SKR03', '9', '9730', '3195', 'Darlehensverzinsung Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3606, 'SKR03', '9', '9731', '3195', 'Darlehensverzinsung Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3607, 'SKR03', '9', '9732', '3195', 'Darlehensverzinsung Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3608, 'SKR03', '9', '9733', '3195', 'Darlehensverzinsung Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3609, 'SKR03', '9', '9734', '3195', 'Darlehensverzinsung Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3610, 'SKR03', '9', '9735', '3195', 'Darlehensverzinsung Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3611, 'SKR03', '9', '9736', '3195', 'Darlehensverzinsung Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3612, 'SKR03', '9', '9737', '3195', 'Darlehensverzinsung Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3613, 'SKR03', '9', '9738', '3195', 'Darlehensverzinsung Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3614, 'SKR03', '9', '9739', '3195', 'Darlehensverzinsung Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3615, 'SKR03', '9', '9740', '3195', 'Gebrauchsüberlassung Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3616, 'SKR03', '9', '9741', '3195', 'Gebrauchsüberlassung Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3617, 'SKR03', '9', '9742', '3195', 'Gebrauchsüberlassung Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3618, 'SKR03', '9', '9743', '3195', 'Gebrauchsüberlassung Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3619, 'SKR03', '9', '9744', '3195', 'Gebrauchsüberlassung Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3620, 'SKR03', '9', '9745', '3195', 'Gebrauchsüberlassung Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3621, 'SKR03', '9', '9746', '3195', 'Gebrauchsüberlassung Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3622, 'SKR03', '9', '9747', '3195', 'Gebrauchsüberlassung Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3623, 'SKR03', '9', '9748', '3195', 'Gebrauchsüberlassung Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3624, 'SKR03', '9', '9749', '3195', 'Gebrauchsüberlassung Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3625, 'SKR03', '9', '9750', '3195', 'Sonstige Vergütungen Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3626, 'SKR03', '9', '9751', '3195', 'Sonstige Vergütungen Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3627, 'SKR03', '9', '9752', '3195', 'Sonstige Vergütungen Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3628, 'SKR03', '9', '9753', '3195', 'Sonstige Vergütungen Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3629, 'SKR03', '9', '9754', '3195', 'Sonstige Vergütungen Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3630, 'SKR03', '9', '9755', '3195', 'Sonstige Vergütungen Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3631, 'SKR03', '9', '9756', '3195', 'Sonstige Vergütungen Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3632, 'SKR03', '9', '9757', '3195', 'Sonstige Vergütungen Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3633, 'SKR03', '9', '9758', '3195', 'Sonstige Vergütungen Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3634, 'SKR03', '9', '9759', '3195', 'Sonstige Vergütungen Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3635, 'SKR03', '9', '9760', '3195', 'Sonstige Vergütungen Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3636, 'SKR03', '9', '9761', '3195', 'Sonstige Vergütungen Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3637, 'SKR03', '9', '9762', '3195', 'Sonstige Vergütungen Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3638, 'SKR03', '9', '9763', '3195', 'Sonstige Vergütungen Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3639, 'SKR03', '9', '9764', '3195', 'Sonstige Vergütungen Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3640, 'SKR03', '9', '9765', '3195', 'Sonstige Vergütungen Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3641, 'SKR03', '9', '9766', '3195', 'Sonstige Vergütungen Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3642, 'SKR03', '9', '9767', '3195', 'Sonstige Vergütungen Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3643, 'SKR03', '9', '9768', '3195', 'Sonstige Vergütungen Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3644, 'SKR03', '9', '9769', '3195', 'Sonstige Vergütungen Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3645, 'SKR03', '9', '9770', '3195', 'Sonstige Vergütungen Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3646, 'SKR03', '9', '9771', '3195', 'Sonstige Vergütungen Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3647, 'SKR03', '9', '9772', '3195', 'Sonstige Vergütungen Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3648, 'SKR03', '9', '9773', '3195', 'Sonstige Vergütungen Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3649, 'SKR03', '9', '9774', '3195', 'Sonstige Vergütungen Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3650, 'SKR03', '9', '9775', '3195', 'Sonstige Vergütungen Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3651, 'SKR03', '9', '9776', '3195', 'Sonstige Vergütungen Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3652, 'SKR03', '9', '9777', '3195', 'Sonstige Vergütungen Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3653, 'SKR03', '9', '9778', '3195', 'Sonstige Vergütungen Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3654, 'SKR03', '9', '9779', '3195', 'Sonstige Vergütungen Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3655, 'SKR03', '9', '9780', '3195', 'Anteil für Konto 9840 Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3656, 'SKR03', '9', '9781', '3195', 'Anteil für Konto 9841 Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3657, 'SKR03', '9', '9782', '3195', 'Anteil für Konto 9842 Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3658, 'SKR03', '9', '9783', '3195', 'Anteil für Konto 9843 Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3659, 'SKR03', '9', '9784', '3195', 'Anteil für Konto 9844 Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3660, 'SKR03', '9', '9785', '3195', 'Anteil für Konto 9845 Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3661, 'SKR03', '9', '9786', '3195', 'Anteil für Konto 9846 Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3662, 'SKR03', '9', '9787', '3195', 'Anteil für Konto 9847 Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3663, 'SKR03', '9', '9788', '3195', 'Anteil für Konto 9848 Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3664, 'SKR03', '9', '9789', '3195', 'Anteil für Konto 9849 Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3665, 'SKR03', '9', '9790', '3195', 'Restanteil Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3666, 'SKR03', '9', '9791', '3195', 'Restanteil Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3667, 'SKR03', '9', '9792', '3195', 'Restanteil Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3668, 'SKR03', '9', '9793', '3195', 'Restanteil Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3669, 'SKR03', '9', '9794', '3195', 'Restanteil Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3670, 'SKR03', '9', '9795', '3195', 'Restanteil Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3671, 'SKR03', '9', '9796', '3195', 'Restanteil Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3672, 'SKR03', '9', '9797', '3195', 'Restanteil Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3673, 'SKR03', '9', '9798', '3195', 'Restanteil Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3674, 'SKR03', '9', '9799', '3195', 'Restanteil Teilhafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3675, 'SKR03', '9', '9800', '3195', 'Lösch- und Korrekturschlüssel'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3676, 'SKR03', '9', '9801', '3195', 'Lösch- und Korrekturschlüssel'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3678, 'SKR03', '9', '9810', '3195', 'Gesellschafter Darlehen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3679, 'SKR03', '9', '9811', '3195', 'Gesellschafter Darlehen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3680, 'SKR03', '9', '9812', '3195', 'Gesellschafter Darlehen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3681, 'SKR03', '9', '9813', '3195', 'Gesellschafter Darlehen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3682, 'SKR03', '9', '9814', '3195', 'Gesellschafter Darlehen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3683, 'SKR03', '9', '9815', '3195', 'Gesellschafter Darlehen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3684, 'SKR03', '9', '9816', '3195', 'Gesellschafter Darlehen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3685, 'SKR03', '9', '9817', '3195', 'Gesellschafter Darlehen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3686, 'SKR03', '9', '9818', '3195', 'Gesellschafter Darlehen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3687, 'SKR03', '9', '9819', '3195', 'Gesellschafter Darlehen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3688, 'SKR03', '9', '9820', '3195', 'Verlust-/Vortragskonto'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3689, 'SKR03', '9', '9821', '3195', 'Verlust-/Vortragskonto'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3690, 'SKR03', '9', '9822', '3195', 'Verlust-/Vortragskonto'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3691, 'SKR03', '9', '9823', '3195', 'Verlust-/Vortragskonto'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3692, 'SKR03', '9', '9824', '3195', 'Verlust-/Vortragskonto'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3693, 'SKR03', '9', '9825', '3195', 'Verlust-/Vortragskonto'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3694, 'SKR03', '9', '9826', '3195', 'Verlust-/Vortragskonto'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3695, 'SKR03', '9', '9827', '3195', 'Verlust-/Vortragskonto'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3696, 'SKR03', '9', '9828', '3195', 'Verlust-/Vortragskonto'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3697, 'SKR03', '9', '9829', '3195', 'Verlust-/Vortragskonto'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3698, 'SKR03', '9', '9830', '3195', 'Verrechnungskonto für Einzahlungsverpflichtungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3699, 'SKR03', '9', '9831', '3195', 'Verrechnungskonto für Einzahlungsverpflichtungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3700, 'SKR03', '9', '9832', '3195', 'Verrechnungskonto für Einzahlungsverpflichtungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3701, 'SKR03', '9', '9833', '3195', 'Verrechnungskonto für Einzahlungsverpflichtungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3702, 'SKR03', '9', '9834', '3195', 'Verrechnungskonto für Einzahlungsverpflichtungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3703, 'SKR03', '9', '9835', '3195', 'Verrechnungskonto für Einzahlungsverpflichtungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3704, 'SKR03', '9', '9836', '3195', 'Verrechnungskonto für Einzahlungsverpflichtungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3705, 'SKR03', '9', '9837', '3195', 'Verrechnungskonto für Einzahlungsverpflichtungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3706, 'SKR03', '9', '9838', '3195', 'Verrechnungskonto für Einzahlungsverpflichtungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3707, 'SKR03', '9', '9839', '3195', 'Verrechnungskonto für Einzahlungsverpflichtungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3709, 'SKR03', '9', '9840', '3195', 'Gesellschafter-Darlehen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3710, 'SKR03', '9', '9841', '3195', 'Gesellschafter-Darlehen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3711, 'SKR03', '9', '9842', '3195', 'Gesellschafter-Darlehen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3712, 'SKR03', '9', '9843', '3195', 'Gesellschafter-Darlehen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3713, 'SKR03', '9', '9844', '3195', 'Gesellschafter-Darlehen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3714, 'SKR03', '9', '9845', '3195', 'Gesellschafter-Darlehen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3715, 'SKR03', '9', '9846', '3195', 'Gesellschafter-Darlehen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3716, 'SKR03', '9', '9847', '3195', 'Gesellschafter-Darlehen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3717, 'SKR03', '9', '9848', '3195', 'Gesellschafter-Darlehen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3718, 'SKR03', '9', '9849', '3195', 'Gesellschafter-Darlehen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3719, 'SKR03', '9', '9850', '3195', 'Verrechnungskonto für Einzahlungsverpflichtungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3720, 'SKR03', '9', '9851', '3195', 'Verrechnungskonto für Einzahlungsverpflichtungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3721, 'SKR03', '9', '9852', '3195', 'Verrechnungskonto für Einzahlungsverpflichtungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3722, 'SKR03', '9', '9853', '3195', 'Verrechnungskonto für Einzahlungsverpflichtungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3723, 'SKR03', '9', '9854', '3195', 'Verrechnungskonto für Einzahlungsverpflichtungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3724, 'SKR03', '9', '9855', '3195', 'Verrechnungskonto für Einzahlungsverpflichtungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3725, 'SKR03', '9', '9856', '3195', 'Verrechnungskonto für Einzahlungsverpflichtungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3726, 'SKR03', '9', '9857', '3195', 'Verrechnungskonto für Einzahlungsverpflichtungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3727, 'SKR03', '9', '9858', '3195', 'Verrechnungskonto für Einzahlungsverpflichtungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3728, 'SKR03', '9', '9859', '3195', 'Verrechnungskonto für Einzahlungsverpflichtungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3730, 'SKR03', '9', '9860', '3195', 'Einzahlungsverpflichtungen persönlich haftender Gesellschafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3731, 'SKR03', '9', '9861', '3195', 'Einzahlungsverpflichtungen persönlich haftender Gesellschafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3732, 'SKR03', '9', '9862', '3195', 'Einzahlungsverpflichtungen persönlich haftender Gesellschafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3733, 'SKR03', '9', '9863', '3195', 'Einzahlungsverpflichtungen persönlich haftender Gesellschafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3734, 'SKR03', '9', '9864', '3195', 'Einzahlungsverpflichtungen persönlich haftender Gesellschafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3735, 'SKR03', '9', '9865', '3195', 'Einzahlungsverpflichtungen persönlich haftender Gesellschafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3736, 'SKR03', '9', '9866', '3195', 'Einzahlungsverpflichtungen persönlich haftender Gesellschafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3737, 'SKR03', '9', '9867', '3195', 'Einzahlungsverpflichtungen persönlich haftender Gesellschafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3738, 'SKR03', '9', '9868', '3195', 'Einzahlungsverpflichtungen persönlich haftender Gesellschafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3739, 'SKR03', '9', '9869', '3195', 'Einzahlungsverpflichtungen persönlich haftender Gesellschafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3740, 'SKR03', '9', '9870', '3195', 'Einzahlungsverpflichtungen Kommanditisten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3741, 'SKR03', '9', '9871', '3195', 'Einzahlungsverpflichtungen Kommanditisten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3742, 'SKR03', '9', '9872', '3195', 'Einzahlungsverpflichtungen Kommanditisten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3743, 'SKR03', '9', '9873', '3195', 'Einzahlungsverpflichtungen Kommanditisten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3744, 'SKR03', '9', '9874', '3195', 'Einzahlungsverpflichtungen Kommanditisten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3745, 'SKR03', '9', '9875', '3195', 'Einzahlungsverpflichtungen Kommanditisten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3746, 'SKR03', '9', '9876', '3195', 'Einzahlungsverpflichtungen Kommanditisten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3747, 'SKR03', '9', '9877', '3195', 'Einzahlungsverpflichtungen Kommanditisten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3748, 'SKR03', '9', '9878', '3195', 'Einzahlungsverpflichtungen Kommanditisten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3749, 'SKR03', '9', '9879', '3195', 'Einzahlungsverpflichtungen Kommanditisten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3751, 'SKR03', '9', '9880', '3195', 'Ausgleichsposten für aktivierte eigene Anteile'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3752, 'SKR03', '9', '9882', '3195', 'Ausgleichsposten für aktivierte Bilanzierungshilfen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3754, 'SKR03', '9', '9883', '3195', 'Nicht durch Vermögenseinlagen gedeckte Entnahmen persönlich haftender Gesellschafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3755, 'SKR03', '9', '9884', '3195', 'Nicht durch Vermögenseinlagen gedeckte Entnahmen Kommanditisten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3757, 'SKR03', '9', '9885', '3195', 'Verrechnungskonto für nicht durch Vermögenseinlagen gedeckte Entnahmen persönlich haftender Gesellschafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3758, 'SKR03', '9', '9886', '3195', 'Verrechnungskonto für nicht durch Vermögenseinlagen gedeckte Entnahmen Kommanditisten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3760, 'SKR03', '9', '9887', '3195', 'Steueraufwand der Gesellschafter'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3761, 'SKR03', '9', '9889', '3195', 'Gegenkonto zu 9887'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3763, 'SKR03', '9', '9890', '3195', 'Statistische Konto für den Gewinnzuschlag nach §§6b 6c und 6g EStG (Haben-Buchung)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3764, 'SKR03', '9', '9891', '3195', 'Statistische Konto für den Gewinnzuschlag - Gegenkonto zu 9890'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3766, 'SKR03', '9', '9893', '3195', 'Umsatzsteuer in den Forderungen zum allgemeinen Umsatzsteuersatz (EüR)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3767, 'SKR03', '9', '9894', '3195', 'Umsatzsteuer in den Forderungen zum ermäßigten Umsatzsteuersatz (EüR)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3768, 'SKR03', '9', '9895', '3195', 'Gegenkonto 9893 - 9894 für die Aufteilung der Umsatzsteuer (EüR)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3769, 'SKR03', '9', '9896', '3195', 'Vorsteuer in den Verbindlichkeiten zum allgemeinen Umsatzsteuersatz (EüR)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3770, 'SKR03', '9', '9897', '3195', 'Vorsteuer in den Verbindlichkeiten zum ermäßigten Umsatzsteuersatz (EüR)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3771, 'SKR03', '9', '9899', '3195', 'Gegenkonto zu 9899 - 9897 für die Aufteilung der Vorsteuer (EüR)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3773, 'SKR03', '9', '9910', '3195', 'Gegenkonto zur Minderung der Entnahmen § 4 (4a) EStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3774, 'SKR03', '9', '9911', '3195', 'Minderung der Entnahmen § 4 (4a) EStG (Haben)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3775, 'SKR03', '9', '9912', '3195', 'Erhöhung der Entnahmen § 4 (4a) EStG'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3776, 'SKR03', '9', '9913', '3195', 'Gegenkonto zur Erhöhung der Entnahmen § 4 (4a) EStG (Haben)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3778, 'SKR03', '9', '9918', '3195', 'Kinderbetreuungskosten (wie Betriebsausgaben steuerlich anzusetzender Betrag)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3779, 'SKR03', '9', '9919', '3195', 'Gegenkonto zu 9918 (Haben)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3781, 'SKR03', '9', '9920', '3195', 'Ausstehende Einlagen auf das Komplementär-Kapital nicht eingefordert'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3782, 'SKR03', '9', '9921', '3195', 'Ausstehende Einlagen auf das Komplementär-Kapital nicht eingefordert'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3783, 'SKR03', '9', '9922', '3195', 'Ausstehende Einlagen auf das Komplementär-Kapital nicht eingefordert'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3784, 'SKR03', '9', '9923', '3195', 'Ausstehende Einlagen auf das Komplementär-Kapital nicht eingefordert'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3785, 'SKR03', '9', '9924', '3195', 'Ausstehende Einlagen auf das Komplementär-Kapital nicht eingefordert'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3786, 'SKR03', '9', '9925', '3195', 'Ausstehende Einlagen auf das Komplementär-Kapital nicht eingefordert'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3787, 'SKR03', '9', '9926', '3195', 'Ausstehende Einlagen auf das Komplementär-Kapital nicht eingefordert'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3788, 'SKR03', '9', '9927', '3195', 'Ausstehende Einlagen auf das Komplementär-Kapital nicht eingefordert'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3789, 'SKR03', '9', '9928', '3195', 'Ausstehende Einlagen auf das Komplementär-Kapital nicht eingefordert'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3790, 'SKR03', '9', '9929', '3195', 'Ausstehende Einlagen auf das Komplementär-Kapital nicht eingefordert'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3791, 'SKR03', '9', '9930', '3195', 'Ausstehende Einlagen auf das Komplementär-Kapital eingefordert'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3792, 'SKR03', '9', '9931', '3195', 'Ausstehende Einlagen auf das Komplementär-Kapital eingefordert'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3793, 'SKR03', '9', '9932', '3195', 'Ausstehende Einlagen auf das Komplementär-Kapital eingefordert'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3794, 'SKR03', '9', '9933', '3195', 'Ausstehende Einlagen auf das Komplementär-Kapital eingefordert'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3795, 'SKR03', '9', '9934', '3195', 'Ausstehende Einlagen auf das Komplementär-Kapital eingefordert'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3796, 'SKR03', '9', '9935', '3195', 'Ausstehende Einlagen auf das Komplementär-Kapital eingefordert'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3797, 'SKR03', '9', '9936', '3195', 'Ausstehende Einlagen auf das Komplementär-Kapital eingefordert'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3798, 'SKR03', '9', '9937', '3195', 'Ausstehende Einlagen auf das Komplementär-Kapital eingefordert'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3799, 'SKR03', '9', '9938', '3195', 'Ausstehende Einlagen auf das Komplementär-Kapital eingefordert'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3800, 'SKR03', '9', '9939', '3195', 'Ausstehende Einlagen auf das Komplementär-Kapital eingefordert'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3801, 'SKR03', '9', '9940', '3195', 'Ausstehende Einlagen auf das Kommandit-Kapital nicht eingefordert'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3802, 'SKR03', '9', '9941', '3195', 'Ausstehende Einlagen auf das Kommandit-Kapital nicht eingefordert'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3803, 'SKR03', '9', '9942', '3195', 'Ausstehende Einlagen auf das Kommandit-Kapital nicht eingefordert'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3804, 'SKR03', '9', '9943', '3195', 'Ausstehende Einlagen auf das Kommandit-Kapital nicht eingefordert'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3805, 'SKR03', '9', '9944', '3195', 'Ausstehende Einlagen auf das Kommandit-Kapital nicht eingefordert'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3806, 'SKR03', '9', '9945', '3195', 'Ausstehende Einlagen auf das Kommandit-Kapital nicht eingefordert'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3807, 'SKR03', '9', '9946', '3195', 'Ausstehende Einlagen auf das Kommandit-Kapital nicht eingefordert'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3808, 'SKR03', '9', '9947', '3195', 'Ausstehende Einlagen auf das Kommandit-Kapital nicht eingefordert'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3809, 'SKR03', '9', '9948', '3195', 'Ausstehende Einlagen auf das Kommandit-Kapital nicht eingefordert'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3810, 'SKR03', '9', '9949', '3195', 'Ausstehende Einlagen auf das Kommandit-Kapital nicht eingefordert'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3811, 'SKR03', '9', '9950', '3195', 'Ausstehende Einlagen auf das Kommandit-Kapital eingefordert'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3812, 'SKR03', '9', '9951', '3195', 'Ausstehende Einlagen auf das Kommandit-Kapital eingefordert'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3813, 'SKR03', '9', '9952', '3195', 'Ausstehende Einlagen auf das Kommandit-Kapital eingefordert'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3814, 'SKR03', '9', '9953', '3195', 'Ausstehende Einlagen auf das Kommandit-Kapital eingefordert'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3815, 'SKR03', '9', '9954', '3195', 'Ausstehende Einlagen auf das Kommandit-Kapital eingefordert'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3816, 'SKR03', '9', '9955', '3195', 'Ausstehende Einlagen auf das Kommandit-Kapital eingefordert'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3817, 'SKR03', '9', '9956', '3195', 'Ausstehende Einlagen auf das Kommandit-Kapital eingefordert'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3818, 'SKR03', '9', '9957', '3195', 'Ausstehende Einlagen auf das Kommandit-Kapital eingefordert'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3819, 'SKR03', '9', '9958', '3195', 'Ausstehende Einlagen auf das Kommandit-Kapital eingefordert'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3820, 'SKR03', '9', '9959', '3195', 'Ausstehende Einlagen auf das Kommandit-Kapital eingefordert'); +---- WARNING: SKR03 range ends at 99999 -> there must be a 100000 offset for all skr04 rowid's !!! WARNING - - - - - - --- SKR04 --- Some lines of SKR04 has been disabled because the field account_parent were wrong or there is a doubt, it must be the rowid of parent line and not the account_number of parent line - -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3838, 'SKR04', 'Anlagevermögen', 100, 0, 'Entgeltlich erworbene Konzessionen, gewerbliche Schutzrechte und ähnliche Rechte und Werte sowie Lizenzen an solchen Rechten und Werten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3839, 'SKR04', 'Anlagevermögen', 110, 3838, 'Konzessionen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3840, 'SKR04', 'Anlagevermögen', 120, 3838, 'Gewerbliche Schutzrechte'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3841, 'SKR04', 'Anlagevermögen', 130, 3838, 'Ähnliche Rechte und Werte'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3842, 'SKR04', 'Anlagevermögen', 135, 3838, 'EDV-Software'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3843, 'SKR04', 'Anlagevermögen', 140, 3838, 'Lizenzen an gewerblichen Schutzrechten und ähnlichen Rechten und Werte'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3844, 'SKR04', 'Anlagevermögen', 143, 0, 'Selbst geschaffene immaterielle Vermögensgegenstände'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3845, 'SKR04', 'Anlagevermögen', 144, 3844, 'EDV-Software'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3846, 'SKR04', 'Anlagevermögen', 145, 3844, 'Lizenzen und Franchiseverträge'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3847, 'SKR04', 'Anlagevermögen', 146, 3844, 'Konzessionen und gewerbliche Schutzrechte'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3848, 'SKR04', 'Anlagevermögen', 147, 3844, 'Rezepte, Verfahren, Prototypen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3849, 'SKR04', 'Anlagevermögen', 148, 3844, 'Immaterielle Vermögensgegenstände in Entwicklung'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3850, 'SKR04', 'Anlagevermögen', 150, 0, 'Geschäfts- oder Firmenwert'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3851, 'SKR04', 'Anlagevermögen', 160, 0, 'Verschmelzungsmehrwert'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3852, 'SKR04', 'Anlagevermögen', 170, 0, 'Geleistete Anzahlungen auf immaterielle Vermögensgegenstände'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3853, 'SKR04', 'Anlagevermögen', 179, 0, 'Anzahlungen auf Geschäfts- oder Firmenwert'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3854, 'SKR04', 'Anlagevermögen', 200, 0, 'Grundstücke, grundstücksgleiche Rechte und Bauten einschließlich der Bauten auf fremden Grundstück'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3855, 'SKR04', 'Anlagevermögen', 210, 3854, 'Grundstücksgleiche Rechte ohne Bauten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3856, 'SKR04', 'Anlagevermögen', 215, 3854,'Unbebaute Grundstücke'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3857, 'SKR04', 'Anlagevermögen', 220, 3854, 'Grundstücksgleiche Rechte (Erbbaurecht, Dauerwohnrecht, unbebaute Grundstücke)'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3858, 'SKR04', 'Anlagevermögen', 225, 3854, 'Grundstücke mit Substanzverkehr'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3859, 'SKR04', 'Anlagevermögen', 229, 3854, 'Grundstücksanteil des häuslichen Arbeitszimmers'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3860, 'SKR04', 'Anlagevermögen', 230, 3854, 'Bauten auf eigenen Grundstücken und grundstücksgleichen Rechten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3861, 'SKR04', 'Anlagevermögen', 235, 3854, 'Grundstückswerte eigener bebauter Grundstücke'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3862, 'SKR04', 'Anlagevermögen', 240, 3854, 'Geschäftsbauten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3863, 'SKR04', 'Anlagevermögen', 250, 3854, 'Fabrikbauten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3864, 'SKR04', 'Anlagevermögen', 260, 3854, 'Andere Bauten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3865, 'SKR04', 'Anlagevermögen', 270, 3854, 'Garagen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3866, 'SKR04', 'Anlagevermögen', 280, 3854, 'Außenanlagen für Geschäfts-, Fabrik- und andere Bauten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3867, 'SKR04', 'Anlagevermögen', 285, 3854, 'Hof- und Wegbefestigungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3868, 'SKR04', 'Anlagevermögen', 290, 3854, 'Einrichtungen für Geschäfts-. Fabrik- und andere Bauten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3869, 'SKR04', 'Anlagevermögen', 300, 3854, 'Wohnbauten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3870, 'SKR04', 'Anlagevermögen', 305, 3854, 'Garagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3871, 'SKR04', 'Anlagevermögen', 310, 3854, 'Außenanlagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3872, 'SKR04', 'Anlagevermögen', 315, 3854, 'Hof- und Wegbefestigungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3873, 'SKR04', 'Anlagevermögen', 320, 3854, 'Einrichtungen für Wohnbauten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3874, 'SKR04', 'Anlagevermögen', 329, 3854, 'Gebäudeteil des häuslichen Arbeitszimmers'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3875, 'SKR04', 'Anlagevermögen', 330, 3854, 'Bauten auf fremden Grundstücken'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3876, 'SKR04', 'Anlagevermögen', 340, 3854, 'Geschäftsbauten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3877, 'SKR04', 'Anlagevermögen', 350, 3854, 'Fabrikbauten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3878, 'SKR04', 'Anlagevermögen', 360, 3854, 'Wohnbauten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3879, 'SKR04', 'Anlagevermögen', 370, 3854, 'Andere Bauten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3880, 'SKR04', 'Anlagevermögen', 380, 3854, 'Garagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3881, 'SKR04', 'Anlagevermögen', 390, 3854, 'Außenanlagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3882, 'SKR04', 'Anlagevermögen', 395, 3854, 'Hof- und Wegbefestigungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3883, 'SKR04', 'Anlagevermögen', 398, 3854, 'Einrichtungen für Geschäfts-. Fabrik-, Wohn- und andere Bauten'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3884, 'SKR04', 'Anlagevermögen', 400, 0, 'Technische Anlagen und Maschinen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3885, 'SKR04', 'Anlagevermögen', 420, 3884, 'Technische Anlagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3886, 'SKR04', 'Anlagevermögen', 440, 3884, 'Maschinen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3887, 'SKR04', 'Anlagevermögen', 450, 3884, 'Transportanlagen und Ähnlichen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3888, 'SKR04', 'Anlagevermögen', 460, 3884, 'Maschinengebundene Werkzeuge'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3889, 'SKR04', 'Anlagevermögen', 470, 3884, 'Betriebsvorrichtungen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3890, 'SKR04', 'Anlagevermögen', 500, 0, 'Andere Anlagen, Betriebs- und Geschäftsausstattungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3891, 'SKR04', 'Anlagevermögen', 510, 3890, 'Andere Anlagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3892, 'SKR04', 'Anlagevermögen', 520, 3890, 'PKW'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3893, 'SKR04', 'Anlagevermögen', 540, 3890, 'LKW'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3894, 'SKR04', 'Anlagevermögen', 560, 3890, 'Sonstige Transportmittel'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3895, 'SKR04', 'Anlagevermögen', 620, 3890, 'Werkzeuge'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3896, 'SKR04', 'Anlagevermögen', 630, 3890, 'Betriebsausstattung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3897, 'SKR04', 'Anlagevermögen', 635, 3890, 'Geschäftsausstattung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3898, 'SKR04', 'Anlagevermögen', 640, 3890, 'Ladeneinrichtung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3899, 'SKR04', 'Anlagevermögen', 650, 3890, 'Büroeinrichtung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3900, 'SKR04', 'Anlagevermögen', 660, 3890, 'Gerüst- und Schalungsmaterial'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3901, 'SKR04', 'Anlagevermögen', 670, 3890, 'Geringwertige Wirtschaftsgüter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3902, 'SKR04', 'Anlagevermögen', 675, 3890, 'Wirtschaftsgüter (Sammelposten)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3903, 'SKR04', 'Anlagevermögen', 680, 3890, 'Einbauten in fremde Grundstücke'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3904, 'SKR04', 'Anlagevermögen', 690, 3890, 'Sonstige Betriebs- und Geschäftsausstattung'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3905, 'SKR04', 'Anlagevermögen', 700, 0, 'Geleistete Anzahlungen und Anlagen im Bau'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3906, 'SKR04', 'Anlagevermögen', 705, 700, 'Anzahlungen auf Grundstücke und grundstücksgleiche Rechte ohne Bauten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3907, 'SKR04', 'Anlagevermögen', 710, 700, 'Geschäfts-, Fabrik- und andere Bauten im Bau auf eigenen Grundstücken'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3908, 'SKR04', 'Anlagevermögen', 720, 700, 'Anzahlungen auf Geschäfts-, Fabrik- und andere Bauten auf eigenen Grundstücken und grundstücksgleichen Rechten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3909, 'SKR04', 'Anlagevermögen', 725, 700, 'Wohnbauten im Bau auf eigenen Grundstücken'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3910, 'SKR04', 'Anlagevermögen', 735, 700, 'Anzahlungen auf Wohnbauten auf eigene Grundstücken und grundstücksgleichen Rechten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3911, 'SKR04', 'Anlagevermögen', 740, 700, 'Geschäfts-, Fabrik- und andere Bauten im Bau auf fremden Grundstücken'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3912, 'SKR04', 'Anlagevermögen', 750, 700, 'Anzahlungen auf Geschäfts-, Fabrik- und andere Bauten im Bau auf fremden Grundstücken'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3913, 'SKR04', 'Anlagevermögen', 755, 700, 'Wohnbauten im Bau auf fremden Grundstücken'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3914, 'SKR04', 'Anlagevermögen', 765, 700, 'Anzahlungen auf Wohnbauten auf fremden Grundstücken'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3915, 'SKR04', 'Anlagevermögen', 770, 700, 'Technische Anlagen und Maschinen im Bau'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3916, 'SKR04', 'Anlagevermögen', 780, 700, 'Anzahlungen auf technische Anlagen und Maschinen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3917, 'SKR04', 'Anlagevermögen', 785, 700, 'Andere Anlagen, Betriebs- und Geschäftsausstattung im Bau'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3918, 'SKR04', 'Anlagevermögen', 795, 700, 'Anzahlungen auf andere Anlagen, Betriebs- und Geschäftsausstattung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3919, 'SKR04', 'Anlagevermögen', 800, 700, 'Anteile an verbundenen Unternehmen (Anlagevermögen)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3920, 'SKR04', 'Anlagevermögen', 803, 800, 'Anteile an verbundenen Unternehmen, Personengesellschaften'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3921, 'SKR04', 'Anlagevermögen', 804, 800, 'Anteile an verbundenen Unternehmen, Kapitalgesellschaften'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3922, 'SKR04', 'Anlagevermögen', 805, 800, 'Anteile an herrschender oder mehrheitlich beteiligter Gesellschaft, Personengesellschaften'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3923, 'SKR04', 'Anlagevermögen', 808, 800, 'Anteile an herrschender oder mehrheitlich beteiligter Gesellschaft, Kapitalgesellschaften'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3924, 'SKR04', 'Anlagevermögen', 809, 800, 'Anteile an herrschender oder mehrheitlich beteiligter Gesellschaft'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3925, 'SKR04', 'Anlagevermögen', 810, 700, 'Ausleihungen an verbundene Unternehmen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3926, 'SKR04', 'Anlagevermögen', 813, 810, 'Ausleihungen an verbundene Unternehmen, Personengesellschaften'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3927, 'SKR04', 'Anlagevermögen', 814, 810, 'Ausleihungen an verbundene Unternehmen, Kapitalgesellschaften'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3928, 'SKR04', 'Anlagevermögen', 815, 810, 'Ausleihungen an verbundene Unternehmen, Einzelunternehmen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3929, 'SKR04', 'Anlagevermögen', 820, 700, 'Beteiligungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3930, 'SKR04', 'Anlagevermögen', 829, 820, 'Beteiligung einer GmbH & Co. KG an einer Komplementär GmbH'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3931, 'SKR04', 'Anlagevermögen', 830, 820, 'Typisch stille Beteiligungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3932, 'SKR04', 'Anlagevermögen', 840, 820, 'Atypische stille Beteiligungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3933, 'SKR04', 'Anlagevermögen', 850, 820, 'Beteiligungen an Kapitalgesellschaften'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3934, 'SKR04', 'Anlagevermögen', 860, 820, 'Beteiligungen an Personengesellschaften'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3935, 'SKR04', 'Anlagevermögen', 880, 700, 'Ausleihungen an Unternehmen, mit denen ein Beteiligungsverhältnis besteht'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3936, 'SKR04', 'Anlagevermögen', 883, 880, 'Ausleihungen an Unternehmen, mit denen ein Beteiligungsverhältnis besteht, Personengesellschaften'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3937, 'SKR04', 'Anlagevermögen', 885, 880, 'Ausleihungen an Unternehmen, mit denen ein Beteiligungsverhältnis besteht, Kapitalgesellschaften'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3938, 'SKR04', 'Anlagevermögen', 900, 0, 'Wertpapiere des Anlagevermögens'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3939, 'SKR04', 'Anlagevermögen', 910, 900, 'Wertpapiere mit Gewinnbeteiligungsansprüchen, die dem Teileinkünfteverfahren unterliegen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3940, 'SKR04', 'Anlagevermögen', 920, 900, 'Festverzinsliche Wertpapiere'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3941, 'SKR04', 'Anlagevermögen', 930, 0, 'Sonstige Ausleihungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3942, 'SKR04', 'Anlagevermögen', 940, 930, 'Darlehen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3943, 'SKR04', 'Anlagevermögen', 960, 930, 'Ausleihungen an Gesellschafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3944, 'SKR04', 'Anlagevermögen', 963, 930, 'Ausleihungen an GmbH-Gesellschafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3945, 'SKR04', 'Anlagevermögen', 962, 930, 'Ausleihungen an persönlich haftende Gesellschafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3946, 'SKR04', 'Anlagevermögen', 963, 930, 'Ausleihungen an Kommanditisten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3947, 'SKR04', 'Anlagevermögen', 964, 930, 'Ausleihungen an stille Gesellschafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3948, 'SKR04', 'Anlagevermögen', 970, 930, 'Ausleihungen an nahe stehende Personen'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3949, 'SKR04', 'Anlagevermögen', 980, 0, 'Genossenschaftsanteile zum langfristigen Verbleib'); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3950, 'SKR04', 'Anlagevermögen', 990, 0, 'Rückdeckungsansprüche aus Lebensversicherungen zum langfristigen Verbleib'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3951, 'SKR04', 'Umlaufvermögen', 1, 1, 'Umlaufvermögen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3952, 'SKR04', 'Umlaufvermögen', 1000, 1, 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3953, 'SKR04', 'Umlaufvermögen', 1001, 1, 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3954, 'SKR04', 'Umlaufvermögen', 1002, 1, 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3955, 'SKR04', 'Umlaufvermögen', 1003, 1, 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3956, 'SKR04', 'Umlaufvermögen', 1004, 1, 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3957, 'SKR04', 'Umlaufvermögen', 1005, 1, 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3958, 'SKR04', 'Umlaufvermögen', 1006, 1, 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3959, 'SKR04', 'Umlaufvermögen', 1007, 1, 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3960, 'SKR04', 'Umlaufvermögen', 1008, 1, 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3961, 'SKR04', 'Umlaufvermögen', 1009, 1, 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3962, 'SKR04', 'Umlaufvermögen', 1010, 1, 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3963, 'SKR04', 'Umlaufvermögen', 1011, 1, 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3964, 'SKR04', 'Umlaufvermögen', 1012, 1, 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3965, 'SKR04', 'Umlaufvermögen', 1013, 1, 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3966, 'SKR04', 'Umlaufvermögen', 1014, 1, 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3967, 'SKR04', 'Umlaufvermögen', 1015, 1, 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3968, 'SKR04', 'Umlaufvermögen', 1016, 1, 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3969, 'SKR04', 'Umlaufvermögen', 1017, 1, 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3970, 'SKR04', 'Umlaufvermögen', 1018, 1, 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3971, 'SKR04', 'Umlaufvermögen', 1019, 1, 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3972, 'SKR04', 'Umlaufvermögen', 1020, 1, 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3973, 'SKR04', 'Umlaufvermögen', 1021, 1, 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3974, 'SKR04', 'Umlaufvermögen', 1022, 1, 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3975, 'SKR04', 'Umlaufvermögen', 1023, 1, 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3976, 'SKR04', 'Umlaufvermögen', 1024, 1, 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3977, 'SKR04', 'Umlaufvermögen', 1025, 1, 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3978, 'SKR04', 'Umlaufvermögen', 1026, 1, 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3979, 'SKR04', 'Umlaufvermögen', 1027, 1, 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3980, 'SKR04', 'Umlaufvermögen', 1028, 1, 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3981, 'SKR04', 'Umlaufvermögen', 1029, 1, 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3982, 'SKR04', 'Umlaufvermögen', 1030, 1, 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3983, 'SKR04', 'Umlaufvermögen', 1031, 1, 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3984, 'SKR04', 'Umlaufvermögen', 1032, 1, 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3985, 'SKR04', 'Umlaufvermögen', 1033, 1, 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3986, 'SKR04', 'Umlaufvermögen', 1034, 1, 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3987, 'SKR04', 'Umlaufvermögen', 1035, 1, 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3988, 'SKR04', 'Umlaufvermögen', 1036, 1, 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3989, 'SKR04', 'Umlaufvermögen', 1037, 1, 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3990, 'SKR04', 'Umlaufvermögen', 1038, 1, 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3991, 'SKR04', 'Umlaufvermögen', 1039, 1, 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3992, 'SKR04', 'Umlaufvermögen', 1040, 1, 'Unfertige Erzeugnisse, unfertige Leistungen (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3993, 'SKR04', 'Umlaufvermögen', 1041, 1, 'Unfertige Erzeugnisse, unfertige Leistungen (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3994, 'SKR04', 'Umlaufvermögen', 1042, 1, 'Unfertige Erzeugnisse, unfertige Leistungen (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3995, 'SKR04', 'Umlaufvermögen', 1043, 1, 'Unfertige Erzeugnisse, unfertige Leistungen (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3996, 'SKR04', 'Umlaufvermögen', 1044, 1, 'Unfertige Erzeugnisse, unfertige Leistungen (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3997, 'SKR04', 'Umlaufvermögen', 1045, 1, 'Unfertige Erzeugnisse, unfertige Leistungen (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3998, 'SKR04', 'Umlaufvermögen', 1046, 1, 'Unfertige Erzeugnisse, unfertige Leistungen (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 3999, 'SKR04', 'Umlaufvermögen', 1047, 1, 'Unfertige Erzeugnisse, unfertige Leistungen (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4000, 'SKR04', 'Umlaufvermögen', 1048, 1, 'Unfertige Erzeugnisse, unfertige Leistungen (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4001, 'SKR04', 'Umlaufvermögen', 1049, 1, 'Unfertige Erzeugnisse, unfertige Leistungen (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4002, 'SKR04', 'Umlaufvermögen', 1050, 1040, 'Unfertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4003, 'SKR04', 'Umlaufvermögen', 1051, 1040, 'Unfertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4004, 'SKR04', 'Umlaufvermögen', 1052, 1040, 'Unfertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4005, 'SKR04', 'Umlaufvermögen', 1053, 1040, 'Unfertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4006, 'SKR04', 'Umlaufvermögen', 1054, 1040, 'Unfertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4007, 'SKR04', 'Umlaufvermögen', 1055, 1040, 'Unfertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4008, 'SKR04', 'Umlaufvermögen', 1056, 1040, 'Unfertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4009, 'SKR04', 'Umlaufvermögen', 1057, 1040, 'Unfertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4010, 'SKR04', 'Umlaufvermögen', 1058, 1040, 'Unfertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4011, 'SKR04', 'Umlaufvermögen', 1059, 1040, 'Unfertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4012, 'SKR04', 'Umlaufvermögen', 1060, 1040, 'Unfertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4013, 'SKR04', 'Umlaufvermögen', 1061, 1040, 'Unfertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4014, 'SKR04', 'Umlaufvermögen', 1062, 1040, 'Unfertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4015, 'SKR04', 'Umlaufvermögen', 1063, 1040, 'Unfertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4016, 'SKR04', 'Umlaufvermögen', 1064, 1040, 'Unfertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4017, 'SKR04', 'Umlaufvermögen', 1065, 1040, 'Unfertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4018, 'SKR04', 'Umlaufvermögen', 1066, 1040, 'Unfertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4019, 'SKR04', 'Umlaufvermögen', 1067, 1040, 'Unfertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4020, 'SKR04', 'Umlaufvermögen', 1068, 1040, 'Unfertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4021, 'SKR04', 'Umlaufvermögen', 1069, 1040, 'Unfertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4022, 'SKR04', 'Umlaufvermögen', 1070, 1040, 'Unfertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4023, 'SKR04', 'Umlaufvermögen', 1071, 1040, 'Unfertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4024, 'SKR04', 'Umlaufvermögen', 1072, 1040, 'Unfertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4025, 'SKR04', 'Umlaufvermögen', 1073, 1040, 'Unfertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4026, 'SKR04', 'Umlaufvermögen', 1074, 1040, 'Unfertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4027, 'SKR04', 'Umlaufvermögen', 1075, 1040, 'Unfertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4028, 'SKR04', 'Umlaufvermögen', 1076, 1040, 'Unfertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4029, 'SKR04', 'Umlaufvermögen', 1077, 1040, 'Unfertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4030, 'SKR04', 'Umlaufvermögen', 1078, 1040, 'Unfertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4031, 'SKR04', 'Umlaufvermögen', 1079, 1040, 'Unfertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4032, 'SKR04', 'Umlaufvermögen', 1080, 1040, 'Unfertige Leistungen (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4033, 'SKR04', 'Umlaufvermögen', 1081, 1040, 'Unfertige Leistungen (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4034, 'SKR04', 'Umlaufvermögen', 1082, 1040, 'Unfertige Leistungen (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4035, 'SKR04', 'Umlaufvermögen', 1083, 1040, 'Unfertige Leistungen (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4036, 'SKR04', 'Umlaufvermögen', 1084, 1040, 'Unfertige Leistungen (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4037, 'SKR04', 'Umlaufvermögen', 1085, 1040, 'Unfertige Leistungen (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4038, 'SKR04', 'Umlaufvermögen', 1086, 1040, 'Unfertige Leistungen (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4039, 'SKR04', 'Umlaufvermögen', 1087, 1040, 'Unfertige Leistungen (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4040, 'SKR04', 'Umlaufvermögen', 1088, 1040, 'Unfertige Leistungen (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4041, 'SKR04', 'Umlaufvermögen', 1089, 1040, 'Unfertige Leistungen (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4042, 'SKR04', 'Umlaufvermögen', 1090, 1040, 'In Ausführung befindliche Bauaufträge'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4043, 'SKR04', 'Umlaufvermögen', 1091, 1040, 'In Ausführung befindliche Bauaufträge'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4044, 'SKR04', 'Umlaufvermögen', 1092, 1040, 'In Ausführung befindliche Bauaufträge'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4045, 'SKR04', 'Umlaufvermögen', 1093, 1040, 'In Ausführung befindliche Bauaufträge'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4046, 'SKR04', 'Umlaufvermögen', 1094, 1040, 'In Ausführung befindliche Bauaufträge'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4047, 'SKR04', 'Umlaufvermögen', 1095, 1040, 'In Arbeit befindliche Aufträge'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4048, 'SKR04', 'Umlaufvermögen', 1096, 1040, 'In Arbeit befindliche Aufträge'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4049, 'SKR04', 'Umlaufvermögen', 1097, 1040, 'In Arbeit befindliche Aufträge'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4050, 'SKR04', 'Umlaufvermögen', 1098, 1040, 'In Arbeit befindliche Aufträge'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4051, 'SKR04', 'Umlaufvermögen', 1099, 1040, 'In Arbeit befindliche Aufträge'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4052, 'SKR04', 'Umlaufvermögen', 1100, 1, 'Fertige Erzeugnisse und Waren (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4053, 'SKR04', 'Umlaufvermögen', 1101, 1, 'Fertige Erzeugnisse und Waren (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4054, 'SKR04', 'Umlaufvermögen', 1102, 1, 'Fertige Erzeugnisse und Waren (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4055, 'SKR04', 'Umlaufvermögen', 1103, 1, 'Fertige Erzeugnisse und Waren (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4056, 'SKR04', 'Umlaufvermögen', 1104, 1, 'Fertige Erzeugnisse und Waren (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4057, 'SKR04', 'Umlaufvermögen', 1105, 1, 'Fertige Erzeugnisse und Waren (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4058, 'SKR04', 'Umlaufvermögen', 1106, 1, 'Fertige Erzeugnisse und Waren (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4059, 'SKR04', 'Umlaufvermögen', 1107, 1, 'Fertige Erzeugnisse und Waren (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4060, 'SKR04', 'Umlaufvermögen', 1108, 1, 'Fertige Erzeugnisse und Waren (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4061, 'SKR04', 'Umlaufvermögen', 1109, 1, 'Fertige Erzeugnisse und Waren (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4062, 'SKR04', 'Umlaufvermögen', 1110, 1100, 'Fertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4063, 'SKR04', 'Umlaufvermögen', 1111, 1100, 'Fertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4064, 'SKR04', 'Umlaufvermögen', 1112, 1100, 'Fertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4065, 'SKR04', 'Umlaufvermögen', 1113, 1100, 'Fertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4066, 'SKR04', 'Umlaufvermögen', 1114, 1100, 'Fertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4067, 'SKR04', 'Umlaufvermögen', 1115, 1100, 'Fertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4068, 'SKR04', 'Umlaufvermögen', 1116, 1100, 'Fertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4069, 'SKR04', 'Umlaufvermögen', 1117, 1100, 'Fertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4070, 'SKR04', 'Umlaufvermögen', 1118, 1100, 'Fertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4071, 'SKR04', 'Umlaufvermögen', 1119, 1100, 'Fertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4072, 'SKR04', 'Umlaufvermögen', 1120, 1100, 'Fertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4073, 'SKR04', 'Umlaufvermögen', 1121, 1100, 'Fertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4074, 'SKR04', 'Umlaufvermögen', 1122, 1100, 'Fertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4075, 'SKR04', 'Umlaufvermögen', 1123, 1100, 'Fertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4076, 'SKR04', 'Umlaufvermögen', 1124, 1100, 'Fertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4077, 'SKR04', 'Umlaufvermögen', 1125, 1100, 'Fertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4078, 'SKR04', 'Umlaufvermögen', 1126, 1100, 'Fertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4079, 'SKR04', 'Umlaufvermögen', 1127, 1100, 'Fertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4080, 'SKR04', 'Umlaufvermögen', 1128, 1100, 'Fertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4081, 'SKR04', 'Umlaufvermögen', 1129, 1100, 'Fertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4082, 'SKR04', 'Umlaufvermögen', 1130, 1100, 'Fertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4083, 'SKR04', 'Umlaufvermögen', 1131, 1100, 'Fertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4084, 'SKR04', 'Umlaufvermögen', 1132, 1100, 'Fertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4085, 'SKR04', 'Umlaufvermögen', 1133, 1100, 'Fertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4086, 'SKR04', 'Umlaufvermögen', 1134, 1100, 'Fertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4087, 'SKR04', 'Umlaufvermögen', 1135, 1100, 'Fertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4088, 'SKR04', 'Umlaufvermögen', 1136, 1100, 'Fertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4089, 'SKR04', 'Umlaufvermögen', 1137, 1100, 'Fertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4090, 'SKR04', 'Umlaufvermögen', 1138, 1100, 'Fertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4091, 'SKR04', 'Umlaufvermögen', 1139, 1100, 'Fertige Erzeugnisse (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4092, 'SKR04', 'Umlaufvermögen', 1140, 1100, 'Waren (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4093, 'SKR04', 'Umlaufvermögen', 1141, 1100, 'Waren (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4094, 'SKR04', 'Umlaufvermögen', 1142, 1100, 'Waren (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4095, 'SKR04', 'Umlaufvermögen', 1143, 1100, 'Waren (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4096, 'SKR04', 'Umlaufvermögen', 1144, 1100, 'Waren (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4097, 'SKR04', 'Umlaufvermögen', 1145, 1100, 'Waren (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4098, 'SKR04', 'Umlaufvermögen', 1146, 1100, 'Waren (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4099, 'SKR04', 'Umlaufvermögen', 1147, 1100, 'Waren (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4100, 'SKR04', 'Umlaufvermögen', 1148, 1100, 'Waren (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4101, 'SKR04', 'Umlaufvermögen', 1149, 1100, 'Waren (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4102, 'SKR04', 'Umlaufvermögen', 1150, 1100, 'Waren (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4103, 'SKR04', 'Umlaufvermögen', 1151, 1100, 'Waren (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4104, 'SKR04', 'Umlaufvermögen', 1152, 1100, 'Waren (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4105, 'SKR04', 'Umlaufvermögen', 1153, 1100, 'Waren (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4106, 'SKR04', 'Umlaufvermögen', 1154, 1100, 'Waren (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4107, 'SKR04', 'Umlaufvermögen', 1155, 1100, 'Waren (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4108, 'SKR04', 'Umlaufvermögen', 1156, 1100, 'Waren (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4109, 'SKR04', 'Umlaufvermögen', 1157, 1100, 'Waren (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4110, 'SKR04', 'Umlaufvermögen', 1158, 1100, 'Waren (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4111, 'SKR04', 'Umlaufvermögen', 1159, 1100, 'Waren (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4112, 'SKR04', 'Umlaufvermögen', 1160, 1100, 'Waren (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4113, 'SKR04', 'Umlaufvermögen', 1161, 1100, 'Waren (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4114, 'SKR04', 'Umlaufvermögen', 1162, 1100, 'Waren (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4115, 'SKR04', 'Umlaufvermögen', 1163, 1100, 'Waren (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4116, 'SKR04', 'Umlaufvermögen', 1164, 1100, 'Waren (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4117, 'SKR04', 'Umlaufvermögen', 1165, 1100, 'Waren (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4118, 'SKR04', 'Umlaufvermögen', 1166, 1100, 'Waren (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4119, 'SKR04', 'Umlaufvermögen', 1167, 1100, 'Waren (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4120, 'SKR04', 'Umlaufvermögen', 1168, 1100, 'Waren (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4121, 'SKR04', 'Umlaufvermögen', 1169, 1100, 'Waren (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4122, 'SKR04', 'Umlaufvermögen', 1170, 1100, 'Waren (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4123, 'SKR04', 'Umlaufvermögen', 1171, 1100, 'Waren (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4124, 'SKR04', 'Umlaufvermögen', 1172, 1100, 'Waren (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4125, 'SKR04', 'Umlaufvermögen', 1173, 1100, 'Waren (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4126, 'SKR04', 'Umlaufvermögen', 1174, 1100, 'Waren (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4127, 'SKR04', 'Umlaufvermögen', 1175, 1100, 'Waren (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4128, 'SKR04', 'Umlaufvermögen', 1176, 1100, 'Waren (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4129, 'SKR04', 'Umlaufvermögen', 1177, 1100, 'Waren (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4130, 'SKR04', 'Umlaufvermögen', 1178, 1100, 'Waren (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4131, 'SKR04', 'Umlaufvermögen', 1179, 1100, 'Waren (Bestand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4132, 'SKR04', 'Umlaufvermögen', 1180, 1, 'Geleistete Anzahlungen auf Vorräte'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4133, 'SKR04', 'Umlaufvermögen', 1181, 1180, 'Geleistete Anzahlungen auf 7% Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4134, 'SKR04', 'Umlaufvermögen', 1182, 1180, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4135, 'SKR04', 'Umlaufvermögen', 1183, 1180, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4136, 'SKR04', 'Umlaufvermögen', 1184, 1180, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4137, 'SKR04', 'Umlaufvermögen', 1185, 1180, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4138, 'SKR04', 'Umlaufvermögen', 1186, 1180, 'Geleistete Anzahlungen auf 19% Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4139, 'SKR04', 'Umlaufvermögen', 1190, 1180, 'Erhaltene Anzahlungen auf Bestellungen (von Vorräten offen abgesetzt)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4140, 'SKR04', 'Umlaufvermögen', 1200, 1, 'Forderungen aus Lieferungen und Leistungen '); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4141, 'SKR04', 'Umlaufvermögen', 1201, 1200, 'Forderungen aus Lieferungen und Leistungen '); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4142, 'SKR04', 'Umlaufvermögen', 1202, 1200, 'Forderungen aus Lieferungen und Leistungen '); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4143, 'SKR04', 'Umlaufvermögen', 1203, 1200, 'Forderungen aus Lieferungen und Leistungen '); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4144, 'SKR04', 'Umlaufvermögen', 1204, 1200, 'Forderungen aus Lieferungen und Leistungen '); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4145, 'SKR04', 'Umlaufvermögen', 1205, 1200, 'Forderungen aus Lieferungen und Leistungen '); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4146, 'SKR04', 'Umlaufvermögen', 1206, 1200, 'Forderungen aus Lieferungen und Leistungen '); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4147, 'SKR04', 'Umlaufvermögen', 1210, 1200, 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4148, 'SKR04', 'Umlaufvermögen', 1211, 1200, 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4149, 'SKR04', 'Umlaufvermögen', 1212, 1200, 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4150, 'SKR04', 'Umlaufvermögen', 1213, 1200, 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4151, 'SKR04', 'Umlaufvermögen', 1214, 1200, 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4152, 'SKR04', 'Umlaufvermögen', 1215, 1200, 'Forderungen aus Lieferungen und Leistungen zum allgemeinen Umsatzsteuersatz oder eines Kleinunternehmers (EÜR)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4153, 'SKR04', 'Umlaufvermögen', 1216, 1200, 'Forderungen aus Lieferungen und Leistungen zum ermäßigten Umsatzsteuersatz (EÜR)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4154, 'SKR04', 'Umlaufvermögen', 1217, 1200, 'Forderungen aus steuerfreien oder nicht steuerbaren Lieferungen und Leistungen (EÜR)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4155, 'SKR04', 'Umlaufvermögen', 1218, 1200, 'Forderungen aus Lieferungen und Leistungen nach Durchschnittssätzen gemäß § 24 UStG (EÜR)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4156, 'SKR04', 'Umlaufvermögen', 1219, 1200, 'Gegenkonto 1215-1218 bei Aufteilung der Forderungen nach Steuersätzen (EÜR)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4157, 'SKR04', 'Umlaufvermögen', 1220, 1200, 'Forderungen nach § 11 Abs. 1 Satz 2 EStG für § 4/3 EStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4158, 'SKR04', 'Umlaufvermögen', 1221, 1200, 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent – Restlaufzeit bis 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4159, 'SKR04', 'Umlaufvermögen', 1225, 1200, '- Restlaufzeit größer 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4160, 'SKR04', 'Umlaufvermögen', 1230, 1200, 'Wechsel aus Lieferungen und Leistungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4161, 'SKR04', 'Umlaufvermögen', 1231, 1200, '- Restlaufzeit bis 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4162, 'SKR04', 'Umlaufvermögen', 1232, 1200, '- Restlaufzeit größer 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4163, 'SKR04', 'Umlaufvermögen', 1235, 1200, 'Wechsel aus Lieferungen und Leistungen, Bundesbankfertig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4164, 'SKR04', 'Umlaufvermögen', 1240, 1200, 'Zweifelhafte Forderungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4165, 'SKR04', 'Umlaufvermögen', 1241, 1200, '- Restlaufzeit bis 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4166, 'SKR04', 'Umlaufvermögen', 1245, 1200, '- Restlaufzeit größer 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4167, 'SKR04', 'Umlaufvermögen', 1246, 1200, 'Einzelwertberichtigungen auf Forderungen mit einer – Restlaufzeit bis 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4168, 'SKR04', 'Umlaufvermögen', 1247, 1200, '- Restlaufzeit größer 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4169, 'SKR04', 'Umlaufvermögen', 1248, 1200, 'Pauschalwertberichtigung auf Forderungen mit einer – Restlaufzeit bis 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4170, 'SKR04', 'Umlaufvermögen', 1249, 1200, '- Restlaufzeit größer 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4171, 'SKR04', 'Umlaufvermögen', 1250, 1200, 'Forderungen aus Lieferungen und Leistungen gegen Gesellschafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4172, 'SKR04', 'Umlaufvermögen', 1251, 1200, '- Restlaufzeit bis 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4173, 'SKR04', 'Umlaufvermögen', 1255, 1200, '- Restlaufzeit größer 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4174, 'SKR04', 'Umlaufvermögen', 1258, 1200, 'Gegenkonto zu sonstigen Vermögensgegenständen bei Buchungen über Debitorenkonto'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4175, 'SKR04', 'Umlaufvermögen', 1259, 1200, 'Gegenkonto 1221-1229, 1240-1245, 1250-1257, 1270-1279, 1290-1297 bei Aufteilung Debitorenkonto'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4176, 'SKR04', 'Umlaufvermögen', 1260, 1, 'Forderungen gegen verbundene Unternehmen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4177, 'SKR04', 'Umlaufvermögen', 1261, 1260, '- Restlaufzeit bis 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4178, 'SKR04', 'Umlaufvermögen', 1265, 1260, '- Restlaufzeit größer 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4179, 'SKR04', 'Umlaufvermögen', 1266, 1260, 'Besitzwechsel gegen verbundene Unternehmen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4180, 'SKR04', 'Umlaufvermögen', 1267, 1260, '- Restlaufzeit bis 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4181, 'SKR04', 'Umlaufvermögen', 1268, 1260, '- Restlaufzeit größer 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4182, 'SKR04', 'Umlaufvermögen', 1269, 1260, 'Besitzwechsel gegen verbundene Unternehmen, bundesbankfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4183, 'SKR04', 'Umlaufvermögen', 1270, 1260, 'Forderungen aus Lieferungen und Leistungen gegen verbundene Unternehmen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4184, 'SKR04', 'Umlaufvermögen', 1271, 1260, '- Restlaufzeit bis 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4185, 'SKR04', 'Umlaufvermögen', 1275, 1260, '- Restlaufzeit größer 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4186, 'SKR04', 'Umlaufvermögen', 1276, 1260, 'Wertberichtigung auf Forderungen gegen verbundene Unternehmen – Restlaufzeit bis 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4187, 'SKR04', 'Umlaufvermögen', 1277, 1260, '- Restlaufzeit größer 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4188, 'SKR04', 'Umlaufvermögen', 1280, 1, 'Forderungen gegen Unternehmen, mit denen ein Beteiligungsverhältnis besteht'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4189, 'SKR04', 'Umlaufvermögen', 1281, 1280, '- Restlaufzeit bis 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4190, 'SKR04', 'Umlaufvermögen', 1285, 1280, '- Restlaufzeit größer 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4191, 'SKR04', 'Umlaufvermögen', 1286, 1280, 'Besitzwechsel gegen Unternehmen, mit denen ein Beteiligungsverhältnis besteht'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4192, 'SKR04', 'Umlaufvermögen', 1287, 1280, '- Restlaufzeit bis 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4193, 'SKR04', 'Umlaufvermögen', 1288, 1280, '- Restlaufzeit größer 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4194, 'SKR04', 'Umlaufvermögen', 1289, 1280, 'Besitzwechsel gegen Unternehmen, mit denen ein Beteiligungsverhältnis besteht, bundesbankfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4195, 'SKR04', 'Umlaufvermögen', 1290, 1280, 'Forderungen aus Lieferungen und Leistungen gegen Unternehmen, mit denen ein Beteiligungsverhältnis besteht'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4196, 'SKR04', 'Umlaufvermögen', 1291, 1280, '- Restlaufzeit bis 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4197, 'SKR04', 'Umlaufvermögen', 1295, 1280, '- Restlaufzeit größer 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4198, 'SKR04', 'Umlaufvermögen', 1296, 1280, 'Wertberichtigungen auf Forderungen gegen Unternehmen, mit denen ein Beteiligungsverhältnis besteht – Restlaufzeit 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4199, 'SKR04', 'Umlaufvermögen', 1297, 1280, '- Restlaufzeit größer 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4200, 'SKR04', 'Umlaufvermögen', 1298, 1, 'Ausstehende Einlagen auf das gezeichnete Kapital, eingefordert (Forderungen, nicht eingeforderte ausstehende Einlagen s. Konto 2910)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4201, 'SKR04', 'Umlaufvermögen', 1299, 1, 'Nachschüsse (Forderungen, Gegenkonto 2929)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4202, 'SKR04', 'Umlaufvermögen', 1300, 1, 'Sonstige Vermögensgegenstände'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4203, 'SKR04', 'Umlaufvermögen', 1301, 1300, '- Restlaufzeit bis 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4204, 'SKR04', 'Umlaufvermögen', 1305, 1300, '- Restlaufzeit größer 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4205, 'SKR04', 'Umlaufvermögen', 1307, 1300, 'Forderungen gegen GmbH-Gesellschafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4206, 'SKR04', 'Umlaufvermögen', 1308, 1300, '- Restlaufzeit bis 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4207, 'SKR04', 'Umlaufvermögen', 1309, 1300, '- Restlaufzeit größer 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4208, 'SKR04', 'Umlaufvermögen', 1310, 1300, 'Forderungen gegen Vorstandsmitglieder und Geschäftsführer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4209, 'SKR04', 'Umlaufvermögen', 1311, 1300, '- Restlaufzeit bis 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4210, 'SKR04', 'Umlaufvermögen', 1315, 1300, '- Restlaufzeit größer 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4211, 'SKR04', 'Umlaufvermögen', 1317, 1300, 'Forderungen gegen persönlich haftende Gesellschafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4212, 'SKR04', 'Umlaufvermögen', 1318, 1300, '- Restlaufzeit bis 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4213, 'SKR04', 'Umlaufvermögen', 1319, 1300, '- Restlaufzeit größer 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4214, 'SKR04', 'Umlaufvermögen', 1320, 1300, 'Forderungen gegen Aufsichtsrats- und Beirats-Mitglieder'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4215, 'SKR04', 'Umlaufvermögen', 1321, 1300, '- Restlaufzeit bis 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4216, 'SKR04', 'Umlaufvermögen', 1325, 1300, '- Restlaufzeit größer 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4217, 'SKR04', 'Umlaufvermögen', 1327, 1300, 'Forderungen gegen Kommanditisten und atypisch stille Gesellschafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4218, 'SKR04', 'Umlaufvermögen', 1328, 1300, '- Restlaufzeit bis 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4219, 'SKR04', 'Umlaufvermögen', 1329, 1300, '- Restlaufzeit größer 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4220, 'SKR04', 'Umlaufvermögen', 1330, 1300, 'Forderungen gegen sonstige Gesellschafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4221, 'SKR04', 'Umlaufvermögen', 1331, 1300, '- Restlaufzeit bis 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4222, 'SKR04', 'Umlaufvermögen', 1335, 1300, '- Restlaufzeit größer 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4223, 'SKR04', 'Umlaufvermögen', 1337, 1300, 'Forderungen gegen typisch stille Gesellschafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4224, 'SKR04', 'Umlaufvermögen', 1338, 1300, '- Restlaufzeit bis 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4225, 'SKR04', 'Umlaufvermögen', 1339, 1300, '- Restlaufzeit größer 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4226, 'SKR04', 'Umlaufvermögen', 1340, 1300, 'Forderungen gegen Personal aus Lohn- und Gehaltsabrechnungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4227, 'SKR04', 'Umlaufvermögen', 1341, 1300, '- Restlaufzeit bis 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4228, 'SKR04', 'Umlaufvermögen', 1345, 1300, '- Restlaufzeit größer 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4229, 'SKR04', 'Umlaufvermögen', 1349, 1300, 'Ansprüche aus betrieblicher Altersversorgung und Pensionsansprüche (Mitunternehmer)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4230, 'SKR04', 'Umlaufvermögen', 1350, 1300, 'Kautionen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4231, 'SKR04', 'Umlaufvermögen', 1351, 1300, '- Restlaufzeit bis 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4232, 'SKR04', 'Umlaufvermögen', 1355, 1300, '- Restlaufzeit größer 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4233, 'SKR04', 'Umlaufvermögen', 1360, 1300, 'Darlehen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4234, 'SKR04', 'Umlaufvermögen', 1361, 1300, '- Restlaufzeit bis 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4235, 'SKR04', 'Umlaufvermögen', 1365, 1300, '- Restlaufzeit größer 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4236, 'SKR04', 'Umlaufvermögen', 1369, 1300, 'Forderungen gegenüber Krankenkassen aus Aufwendungsausgleichsgesetz'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4237, 'SKR04', 'Umlaufvermögen', 1370, 1300, 'Durchlaufende Posten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4238, 'SKR04', 'Umlaufvermögen', 1374, 1300, 'Fremdgeld'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4239, 'SKR04', 'Umlaufvermögen', 1375, 1300, 'Agenturwarenabrechnung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4240, 'SKR04', 'Umlaufvermögen', 1376, 1300, 'Nachträglich abziehbare Vorsteuer, § 15a Abs. 2 UStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4241, 'SKR04', 'Umlaufvermögen', 1377, 1300, 'Zurückzahlende Vorsteuer, § 15a Abs. 2 UStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4242, 'SKR04', 'Umlaufvermögen', 1378, 1300, 'Ansprüche aus Rückdeckungsversicherungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4243, 'SKR04', 'Umlaufvermögen', 1380, 1300, 'Vermögensgegenstände zur Erfüllung von Pensionsrückstellungen und ähnlichen Verpflichtungen zum langfristigen Verbleib'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4244, 'SKR04', 'Umlaufvermögen', 1381, 1300, 'Vermögensgegenstände zur Saldierung mit Pensionsrückstellungen und ähnlichen Verpflichtungen zum langfristigen Verbleib nach § 246 Abs. 2 HGB'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4245, 'SKR04', 'Umlaufvermögen', 1382, 1300, 'Vermögensgegenstände zur Erfüllung von mit der Altersvorsorge vergleichbaren langfristigen Verpflichtungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4246, 'SKR04', 'Umlaufvermögen', 1383, 1300, 'Vermögensgegenstände zur Saldierung mit der Altersversorgung vergleichbaren langfristigen Verpflichtungen nach § 246 Abs. 2 HGB'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4247, 'SKR04', 'Umlaufvermögen', 1390, 1300, 'GmbH-Anteile zum kurzfristigen Verbleib'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4248, 'SKR04', 'Umlaufvermögen', 1391, 1300, 'Forderungen gegen Arbeitsgemeinschaften'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4249, 'SKR04', 'Umlaufvermögen', 1393, 1300, 'Genussrechte'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4250, 'SKR04', 'Umlaufvermögen', 1394, 1300, 'Einzahlungsansprüche zu Nebenleistungen oder Zuzahlungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4251, 'SKR04', 'Umlaufvermögen', 1395, 1300, 'Genossenschaftsanteile zum kurzfristigen Verbleib'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4252, 'SKR04', 'Umlaufvermögen', 1396, 1300, 'Nachträglich abziehbare Vorsteuer, § 15a Abs. 1 UStG, bewegliche Wirtschaftsgüter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4253, 'SKR04', 'Umlaufvermögen', 1397, 1300, 'Zurückzahlende Vorsteuer, § 15a Abs. 1 UStG, bewegliche Wirtschaftsgüter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4254, 'SKR04', 'Umlaufvermögen', 1398, 1300, 'Nachträglich abziehbare Vorsteuer, § 15a Abs. 1 UStG, unbewegliche Wirtschaftsgüter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4255, 'SKR04', 'Umlaufvermögen', 1399, 1300, 'Zurückzahlende Vorsteuer, § 15a Abs. 1 UStG, unbewegliche Wirtschaftsgüter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4256, 'SKR04', 'Umlaufvermögen', 1400, 1300, 'Abziehbare Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4257, 'SKR04', 'Umlaufvermögen', 1401, 1300, 'Abziehbare Vorsteuer 7 %'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4258, 'SKR04', 'Umlaufvermögen', 1402, 1300, 'Abziehbare Vorsteuer aus innergemeinschaftlichem Erwerb'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4259, 'SKR04', 'Umlaufvermögen', 1403, 1300, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4260, 'SKR04', 'Umlaufvermögen', 1404, 1300, 'Abziehbare Vorsteuer aus innergemeinschaftlichem Erwerb 19 %'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4261, 'SKR04', 'Umlaufvermögen', 1405, 1300, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4262, 'SKR04', 'Umlaufvermögen', 1406, 1300, 'Abziehbare Vorsteuer 19 %'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4263, 'SKR04', 'Umlaufvermögen', 1407, 1300, 'Abziehbare Vorsteuer nach § 13b UStG 19 %'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4264, 'SKR04', 'Umlaufvermögen', 1408, 1300, 'Abziehbare Vorsteuer nach § 13b UStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4265, 'SKR04', 'Umlaufvermögen', 1409, 1300, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4266, 'SKR04', 'Umlaufvermögen', 1410, 1300, 'Aufzuteilende Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4267, 'SKR04', 'Umlaufvermögen', 1411, 1300, 'Aufzuteilende Vorsteuer 7 %'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4268, 'SKR04', 'Umlaufvermögen', 1412, 1300, 'Aufzuteilende Vorsteuer aus innergemeinschaftlichem Erwerb'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4269, 'SKR04', 'Umlaufvermögen', 1413, 1300, 'Aufzuteilende Vorsteuer aus innergemeinschaftlichem Erwerb 19 %'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4270, 'SKR04', 'Umlaufvermögen', 1414, 1300, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4271, 'SKR04', 'Umlaufvermögen', 1415, 1300, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4272, 'SKR04', 'Umlaufvermögen', 1416, 1300, 'Aufzuteilende Vorsteuer 19 %'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4273, 'SKR04', 'Umlaufvermögen', 1417, 1300, 'Aufzuteilende Vorsteuer nach §§ 13a/13b UStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4274, 'SKR04', 'Umlaufvermögen', 1418, 1300, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4275, 'SKR04', 'Umlaufvermögen', 1419, 1300, 'Aufzuteilende Vorsteuer nach §§ 13a/13b UStG 19 %'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4276, 'SKR04', 'Umlaufvermögen', 1420, 1300, 'Forderungen aus Umsatzsteuer-Vorauszahlungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4277, 'SKR04', 'Umlaufvermögen', 1421, 1300, 'Umsatzsteuerforderungen laufendes Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4278, 'SKR04', 'Umlaufvermögen', 1422, 1300, 'Umsatzsteuerforderungen Vorjahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4279, 'SKR04', 'Umlaufvermögen', 1425, 1300, 'Umsatzsteuerforderungen frühere Jahre'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4280, 'SKR04', 'Umlaufvermögen', 1427, 1300, 'Forderungen aus entrichteten Verbrauchsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4281, 'SKR04', 'Umlaufvermögen', 1431, 1300, 'Abziehbare Vorsteuer aus der Auslagerung von Gegenständen aus einem Umsatzsteuerlager'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4282, 'SKR04', 'Umlaufvermögen', 1432, 1300, 'Abziehbare Vorsteuer aus innergemeinschaftlichem Erwerb von Neufahrzeugen von Lieferanten ohne Ust-Identifikationsnummer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4283, 'SKR04', 'Umlaufvermögen', 1433, 1300, 'Entstandene Einfuhrumsatzsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4284, 'SKR04', 'Umlaufvermögen', 1434, 1300, 'Vorsteuer in Folgeperiode/im Folgejahr abziehbar'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4285, 'SKR04', 'Umlaufvermögen', 1435, 1300, 'Forderungen aus Gewerbesteuerüberzahlungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4286, 'SKR04', 'Umlaufvermögen', 1436, 1300, 'Vorsteuer aus Erwerb als letzter Abnehmer innerhalb eine Dreiecksgeschäfts'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4287, 'SKR04', 'Umlaufvermögen', 1440, 1300, 'Steuererstattungsansprüche gegenüber Ländern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4288, 'SKR04', 'Umlaufvermögen', 1450, 1300, 'Körperschaftsteuerrückforderungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4289, 'SKR04', 'Umlaufvermögen', 1452, 1300, 'Körperschaftsteuerrückforderungen nach § 37 KStG – Restlaufzeit bis 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4290, 'SKR04', 'Umlaufvermögen', 1453, 1300, '- Restlaufzeit größer 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4291, 'SKR04', 'Umlaufvermögen', 1456, 1300, 'Forderungen an das Finanzamt aus abgeführtem Bauabzugsbetrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4292, 'SKR04', 'Umlaufvermögen', 1457, 1300, 'Forderung gegenüber Bundesagentur für Arbeit'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4293, 'SKR04', 'Umlaufvermögen', 1460, 1300, 'Geldtransit'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4294, 'SKR04', 'Umlaufvermögen', 1480, 1300, 'Gegenkonto Vorsteuer § 4/3 EStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4295, 'SKR04', 'Umlaufvermögen', 1481, 1300, 'Auflösung Vorsteuer aus Vorjahr § 4/3 EStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4296, 'SKR04', 'Umlaufvermögen', 1482, 1300, 'Vorsteuer aus Investitionen § 4/3 EstG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4297, 'SKR04', 'Umlaufvermögen', 1483, 1300, 'Gegenkonto für Vorsteuer nach Durchschnittsätzen für § 4 Abs. 3 EStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4298, 'SKR04', 'Umlaufvermögen', 1484, 1300, 'Vorsteuer nach allgemeinen Durchschittssätzen UstVA Kz. 63'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4299, 'SKR04', 'Umlaufvermögen', 1485, 1300, 'Verrechnungskonto Gewinnermittlung § 4/3 EStG, ergebniswirksam'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4300, 'SKR04', 'Umlaufvermögen', 1486, 1300, 'Verrechnungskonto Gewinnermittlung § 4/3 EStG, nicht ergebniswirksam'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4301, 'SKR04', 'Umlaufvermögen', 1487, 1300, 'Wirtschaftsgüter des Umlaufvermögens gemäß § 4 Abs. 3 Satz 4 EStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4302, 'SKR04', 'Umlaufvermögen', 1490, 1300, 'Verrechnungskonto Ist-Versteuerung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4303, 'SKR04', 'Umlaufvermögen', 1495, 1300, 'Verrechnungskonto erhaltene Anzahlungen bei Buchungen über Debitorenkonten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4304, 'SKR04', 'Umlaufvermögen', 1496, 1300, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4305, 'SKR04', 'Umlaufvermögen', 1497, 1300, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4306, 'SKR04', 'Umlaufvermögen', 1498, 1300, 'Überleitungskonto Kostenstellen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4307, 'SKR04', 'Umlaufvermögen', 1500, 1, 'Anteile an verbundenen Unternehmen (Umlaufvermögen)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4308, 'SKR04', 'Umlaufvermögen', 1504, 1, 'Anteile an herrschender oder mehrheitlich beteiligter Gesellschaft'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4309, 'SKR04', 'Umlaufvermögen', 1510, 1, 'Sonstige Wertpapiere'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4310, 'SKR04', 'Umlaufvermögen', 1520, 1510, 'Finanzwechsel'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4311, 'SKR04', 'Umlaufvermögen', 1525, 1510, 'Andere Wertpapiere mit unwesentlichen Wertschwankungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4312, 'SKR04', 'Umlaufvermögen', 1530, 1510, 'Wertpapieranlagen im Rahmen der kurzfristigen Finanzdisposition'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4313, 'SKR04', 'Umlaufvermögen', 1550, 1, 'Schecks'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4314, 'SKR04', 'Umlaufvermögen', 1600, 1, 'Kasse'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4315, 'SKR04', 'Umlaufvermögen', 1610, 1600, 'Nebenkasse 1'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4316, 'SKR04', 'Umlaufvermögen', 1620, 1600, 'Nebenkasse 2'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4317, 'SKR04', 'Umlaufvermögen', 1700, 1, 'Bank (Postbank)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4318, 'SKR04', 'Umlaufvermögen', 1720, 1700, 'Bank (Postbank2)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4319, 'SKR04', 'Umlaufvermögen', 1730, 1700, 'Bank (Postbank 3)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4320, 'SKR04', 'Umlaufvermögen', 1780, 1700, 'LZB-Guthaben'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4321, 'SKR04', 'Umlaufvermögen', 1790, 1700, 'Bundesbankguthaben'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4322, 'SKR04', 'Umlaufvermögen', 1800, 1, 'Bank'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4323, 'SKR04', 'Umlaufvermögen', 1810, 1800, 'Bank 1'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4324, 'SKR04', 'Umlaufvermögen', 1820, 1800, 'Bank 2'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4325, 'SKR04', 'Umlaufvermögen', 1830, 1800, 'Bank 3'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4326, 'SKR04', 'Umlaufvermögen', 1840, 1800, 'Bank 4'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4327, 'SKR04', 'Umlaufvermögen', 1850, 1800, 'Bank 5'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4328, 'SKR04', 'Umlaufvermögen', 1889, 1800, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4329, 'SKR04', 'Umlaufvermögen', 1890, 1800, 'Finanzmittelanlagen im Rahmen der kurzfristigen Finanzdisposition (nicht im Finanzmittelfonds enthalten)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4330, 'SKR04', 'Umlaufvermögen', 1895, 1800, 'Verbindlichkeiten gegenüber Kreditinstituten (nicht im Finanzmittelfonds enthalten)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4331, 'SKR04', 'Umlaufvermögen', 1900, 1, 'Aktive Rechnungsabgrenzung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4332, 'SKR04', 'Umlaufvermögen', 1920, 1900, 'Als Aufwand berücksichtigte Zölle und Verbrauchsteuer auf Vorräte'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4333, 'SKR04', 'Umlaufvermögen', 1930, 1900, 'Als Aufwand berücksichtigte Umsatzsteuer auf Anzahlungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4334, 'SKR04', 'Umlaufvermögen', 1940, 1900, 'Damnum/Disagio'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4335, 'SKR04', 'Umlaufvermögen', 1950, 1, 'Aktive latente Steuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4336, 'SKR04', 'Umlaufvermögen', 2, 2, 'Eigenkapitalkonten/Fremdkapitalkonten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4337, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2000, 2, 'Festkapital'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4338, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2001, 2000, 'Festkapital'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4339, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2002, 2000, 'Festkapital'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4340, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2003, 2000, 'Festkapital'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4341, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2004, 2000, 'Festkapital'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4342, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2005, 2000, 'Festkapital'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4343, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2006, 2000, 'Festkapital'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4344, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2007, 2000, 'Festkapital'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4345, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2008, 2000, 'Festkapital'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4346, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2009, 2000, 'Festkapital'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4347, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2010, 2, 'Variables Kapital'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4348, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2011, 2000, 'Variables Kapital'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4349, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2012, 2000, 'Variables Kapital'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4350, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2013, 2000, 'Variables Kapital'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4351, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2014, 2000, 'Variables Kapital'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4352, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2015, 2000, 'Variables Kapital'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4353, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2016, 2000, 'Variables Kapital'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4354, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2017, 2000, 'Variables Kapital'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4355, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2018, 2000, 'Variables Kapital'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4356, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2019, 2000, 'Variables Kapital'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4357, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2020, 2, 'Gesellschafter-Darlehen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4358, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2021, 2020, 'Gesellschafter-Darlehen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4359, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2022, 2020, 'Gesellschafter-Darlehen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4360, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2023, 2020, 'Gesellschafter-Darlehen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4361, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2024, 2020, 'Gesellschafter-Darlehen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4362, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2025, 2020, 'Gesellschafter-Darlehen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4363, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2026, 2020, 'Gesellschafter-Darlehen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4364, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2027, 2020, 'Gesellschafter-Darlehen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4365, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2028, 2020, 'Gesellschafter-Darlehen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4366, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2029, 2020, 'Gesellschafter-Darlehen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4367, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2030, 2, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4368, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2031, 2, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4369, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2032, 2, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4370, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2033, 2, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4371, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2034, 2, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4372, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2035, 2, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4373, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2036, 2, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4374, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2037, 2, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4375, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2038, 2, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4376, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2039, 2, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4377, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2040, 2, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4378, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2041, 2, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4379, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2042, 2, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4380, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2043, 2, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4381, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2044, 2, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4382, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2045, 2, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4383, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2046, 2, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4384, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2047, 2, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4385, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2048, 2, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4386, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2049, 2, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4387, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2050, 2, 'Kommandit-Kapital'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4388, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2051, 2050, 'Kommandit-Kapital'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4389, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2052, 2050, 'Kommandit-Kapital'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4390, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2053, 2050, 'Kommandit-Kapital'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4391, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2054, 2050, 'Kommandit-Kapital'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4392, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2055, 2050, 'Kommandit-Kapital'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4393, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2056, 2050, 'Kommandit-Kapital'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4394, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2057, 2050, 'Kommandit-Kapital'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4395, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2058, 2050, 'Kommandit-Kapital'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4396, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2059, 2050, 'Kommandit-Kapital'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4397, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2060, 2, 'Verlustausgleichskonto'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4398, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2061, 2060, 'Verlustausgleichskonto'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4399, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2062, 2060, 'Verlustausgleichskonto'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4400, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2063, 2060, 'Verlustausgleichskonto'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4401, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2064, 2060, 'Verlustausgleichskonto'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4402, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2065, 2060, 'Verlustausgleichskonto'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4403, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2066, 2060, 'Verlustausgleichskonto'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4404, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2067, 2060, 'Verlustausgleichskonto'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4405, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2068, 2060, 'Verlustausgleichskonto'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4406, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2069, 2060, 'Verlustausgleichskonto'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4407, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2070, 2, 'Gesellschafter-Darlehen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4408, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2071, 2070, 'Gesellschafter-Darlehen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4409, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2072, 2070, 'Gesellschafter-Darlehen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4410, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2073, 2070, 'Gesellschafter-Darlehen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4411, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2074, 2070, 'Gesellschafter-Darlehen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4412, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2075, 2070, 'Gesellschafter-Darlehen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4413, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2076, 2070, 'Gesellschafter-Darlehen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4414, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2077, 2070, 'Gesellschafter-Darlehen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4415, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2078, 2070, 'Gesellschafter-Darlehen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4416, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2079, 2070, 'Gesellschafter-Darlehen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4417, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2080, 2, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4418, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2081, 2, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4419, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2082, 2, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4420, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2083, 2, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4421, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2084, 2, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4422, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2085, 2, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4423, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2086, 2, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4424, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2087, 2, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4425, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2088, 2, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4426, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2089, 2, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4427, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2090, 2, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4428, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2091, 2, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4429, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2092, 2, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4430, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2093, 2, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4431, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2094, 2, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4432, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2095, 2, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4433, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2096, 2, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4434, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2097, 2, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4435, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2098, 2, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4436, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2099, 2, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4437, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2100, 2, 'Privatentnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4438, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2101, 2100, 'Privatentnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4439, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2102, 2100, 'Privatentnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4440, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2103, 2100, 'Privatentnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4441, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2104, 2100, 'Privatentnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4442, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2105, 2100, 'Privatentnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4443, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2106, 2100, 'Privatentnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4444, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2107, 2100, 'Privatentnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4445, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2108, 2100, 'Privatentnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4446, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2109, 2100, 'Privatentnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4447, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2110, 2, 'Privatentnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4448, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2111, 2110, 'Privatentnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4449, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2112, 2110, 'Privatentnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4450, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2113, 2110, 'Privatentnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4451, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2114, 2110, 'Privatentnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4452, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2115, 2110, 'Privatentnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4453, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2116, 2110, 'Privatentnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4454, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2117, 2110, 'Privatentnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4455, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2118, 2110, 'Privatentnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4456, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2119, 2110, 'Privatentnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4457, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2120, 2, 'Privatentnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4458, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2121, 2120, 'Privatentnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4459, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2122, 2120, 'Privatentnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4460, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2123, 2120, 'Privatentnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4461, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2124, 2120, 'Privatentnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4462, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2125, 2120, 'Privatentnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4463, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2126, 2120, 'Privatentnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4464, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2127, 2120, 'Privatentnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4465, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2128, 2120, 'Privatentnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4466, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2129, 2120, 'Privatentnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4467, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2130, 2, 'Unentgeltliche Wertabgaben'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4468, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2131, 2130, 'Unentgeltliche Wertabgaben'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4469, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2132, 2130, 'Unentgeltliche Wertabgaben'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4470, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2133, 2130, 'Unentgeltliche Wertabgaben'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4471, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2134, 2130, 'Unentgeltliche Wertabgaben'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4472, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2135, 2130, 'Unentgeltliche Wertabgaben'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4473, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2136, 2130, 'Unentgeltliche Wertabgaben'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4474, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2137, 2130, 'Unentgeltliche Wertabgaben'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4475, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2138, 2130, 'Unentgeltliche Wertabgaben'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4476, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2139, 2130, 'Unentgeltliche Wertabgaben'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4477, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2140, 2, 'Unentgeltliche Wertabgaben'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4478, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2141, 2140, 'Unentgeltliche Wertabgaben'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4479, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2142, 2140, 'Unentgeltliche Wertabgaben'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4480, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2143, 2140, 'Unentgeltliche Wertabgaben'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4481, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2144, 2140, 'Unentgeltliche Wertabgaben'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4482, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2145, 2140, 'Unentgeltliche Wertabgaben'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4483, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2146, 2140, 'Unentgeltliche Wertabgaben'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4484, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2147, 2140, 'Unentgeltliche Wertabgaben'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4485, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2148, 2140, 'Unentgeltliche Wertabgaben'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4486, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2149, 2140, 'Unentgeltliche Wertabgaben'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4487, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2150, 2, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4488, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2151, 2150, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4489, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2152, 2150, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4490, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2153, 2150, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4491, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2154, 2150, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4492, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2155, 2150, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4493, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2156, 2150, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4494, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2157, 2150, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4495, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2158, 2150, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4496, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2159, 2150, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4497, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2160, 2, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4498, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2161, 2160, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4499, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2162, 2160, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4500, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2163, 2160, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4501, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2164, 2160, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4502, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2165, 2160, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4503, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2166, 2160, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4504, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2167, 2160, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4505, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2168, 2160, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4506, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2169, 2160, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4507, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2170, 2, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4508, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2171, 2170, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4509, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2172, 2170, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4510, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2173, 2170, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4511, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2174, 2170, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4512, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2175, 2170, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4513, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2176, 2170, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4514, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2177, 2170, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4515, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2178, 2170, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4516, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2179, 2170, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4517, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2180, 2, 'Privateinlagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4518, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2181, 2180, 'Privateinlagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4519, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2182, 2180, 'Privateinlagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4520, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2183, 2180, 'Privateinlagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4521, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2184, 2180, 'Privateinlagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4522, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2185, 2180, 'Privateinlagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4523, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2186, 2180, 'Privateinlagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4524, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2187, 2180, 'Privateinlagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4525, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2188, 2180, 'Privateinlagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4526, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2189, 2180, 'Privateinlagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4527, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2190, 2, 'Privateinlagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4528, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2191, 2190, 'Privateinlagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4529, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2192, 2190, 'Privateinlagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4530, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2193, 2190, 'Privateinlagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4531, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2194, 2190, 'Privateinlagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4532, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2195, 2190, 'Privateinlagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4533, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2196, 2190, 'Privateinlagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4534, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2197, 2190, 'Privateinlagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4535, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2198, 2190, 'Privateinlagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4536, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2199, 2190, 'Privateinlagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4537, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2200, 2, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4538, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2201, 2200, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4539, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2202, 2200, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4540, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2203, 2200, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4541, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2204, 2200, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4542, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2205, 2200, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4543, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2206, 2200, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4544, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2207, 2200, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4545, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2208, 2200, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4546, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2209, 2200, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4547, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2210, 2, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4548, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2211, 2210, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4549, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2212, 2210, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4550, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2213, 2210, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4551, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2214, 2210, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4552, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2215, 2210, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4553, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2216, 2210, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4554, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2217, 2210, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4555, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2218, 2210, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4556, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2219, 2210, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4557, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2220, 2, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4558, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2221, 2220, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4559, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2222, 2220, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4560, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2223, 2220, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4561, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2224, 2220, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4562, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2225, 2220, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4563, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2226, 2220, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4564, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2227, 2220, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4565, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2228, 2220, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4566, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2229, 2220, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4567, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2230, 2, 'Sonderausgaben unbeschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4568, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2231, 2230, 'Sonderausgaben unbeschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4569, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2232, 2230, 'Sonderausgaben unbeschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4570, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2233, 2230, 'Sonderausgaben unbeschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4571, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2234, 2230, 'Sonderausgaben unbeschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4572, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2235, 2230, 'Sonderausgaben unbeschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4573, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2236, 2230, 'Sonderausgaben unbeschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4574, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2237, 2230, 'Sonderausgaben unbeschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4575, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2238, 2230, 'Sonderausgaben unbeschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4576, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2239, 2230, 'Sonderausgaben unbeschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4577, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2240, 2, 'Sonderausgaben unbeschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4578, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2241, 2240, 'Sonderausgaben unbeschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4579, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2242, 2240, 'Sonderausgaben unbeschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4580, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2243, 2240, 'Sonderausgaben unbeschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4581, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2244, 2240, 'Sonderausgaben unbeschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4582, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2245, 2240, 'Sonderausgaben unbeschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4583, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2246, 2240, 'Sonderausgaben unbeschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4584, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2247, 2240, 'Sonderausgaben unbeschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4585, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2248, 2240, 'Sonderausgaben unbeschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4586, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2249, 2240, 'Sonderausgaben unbeschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4587, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2250, 2, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4588, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2251, 2250, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4589, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2252, 2250, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4590, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2253, 2250, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4591, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2254, 2250, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4592, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2255, 2250, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4593, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2256, 2250, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4594, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2257, 2250, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4595, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2258, 2250, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4596, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2259, 2250, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4597, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2260, 2, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4598, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2261, 2260, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4599, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2262, 2260, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4600, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2263, 2260, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4601, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2264, 2260, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4602, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2265, 2260, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4603, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2266, 2260, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4604, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2267, 2260, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4605, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2268, 2260, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4606, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2269, 2260, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4607, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2270, 2, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4608, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2271, 2270, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4609, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2272, 2270, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4610, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2273, 2270, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4611, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2274, 2270, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4612, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2275, 2270, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4613, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2276, 2270, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4614, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2277, 2270, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4615, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2278, 2270, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4616, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2279, 2270, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4617, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2280, 2, 'Außergewöhnliche Belastungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4618, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2281, 2280, 'Außergewöhnliche Belastungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4619, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2282, 2280, 'Außergewöhnliche Belastungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4620, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2283, 2280, 'Außergewöhnliche Belastungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4621, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2284, 2280, 'Außergewöhnliche Belastungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4622, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2285, 2280, 'Außergewöhnliche Belastungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4623, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2286, 2280, 'Außergewöhnliche Belastungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4624, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2287, 2280, 'Außergewöhnliche Belastungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4625, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2288, 2280, 'Außergewöhnliche Belastungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4626, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2289, 2280, 'Außergewöhnliche Belastungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4627, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2290, 2, 'Außergewöhnliche Belastungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4628, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2291, 2290, 'Außergewöhnliche Belastungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4629, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2292, 2290, 'Außergewöhnliche Belastungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4630, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2293, 2290, 'Außergewöhnliche Belastungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4631, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2294, 2290, 'Außergewöhnliche Belastungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4632, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2295, 2290, 'Außergewöhnliche Belastungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4633, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2296, 2290, 'Außergewöhnliche Belastungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4634, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2297, 2290, 'Außergewöhnliche Belastungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4635, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2298, 2290, 'Außergewöhnliche Belastungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4636, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2299, 2290, 'Außergewöhnliche Belastungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4637, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2300, 2, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4638, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2301, 2300, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4639, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2302, 2300, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4640, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2303, 2300, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4641, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2304, 2300, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4642, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2305, 2300, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4643, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2306, 2300, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4644, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2307, 2300, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4645, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2308, 2300, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4646, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2309, 2300, 'Grundstücksaufwand (Umsatzsteuerschlüssel möglich)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4647, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2310, 2, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4648, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2311, 2310, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4649, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2312, 2310, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4650, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2313, 2310, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4651, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2314, 2310, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4652, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2315, 2310, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4653, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2316, 2310, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4654, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2317, 2310, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4655, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2318, 2310, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4656, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2319, 2310, 'Grundstücksaufwand (Umsatzsteuerschlüssel möglich)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4657, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2320, 2, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4658, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2321, 2320, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4659, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2322, 2320, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4660, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2323, 2320, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4661, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2324, 2320, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4662, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2325, 2320, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4663, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2326, 2320, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4664, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2327, 2320, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4665, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2328, 2320, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4666, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2329, 2320, 'Grundstücksaufwand (Umsatzsteuerschlüssel möglich)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4667, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2330, 2, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4668, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2331, 2330, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4669, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2332, 2330, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4670, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2333, 2330, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4671, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2334, 2330, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4672, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2335, 2330, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4673, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2336, 2330, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4674, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2337, 2330, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4675, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2338, 2330, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4676, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2339, 2330, 'Grundstücksaufwand (Umsatzsteuerschlüssel möglich)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4677, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2340, 2, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4678, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2341, 2340, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4679, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2342, 2340, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4680, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2343, 2340, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4681, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2344, 2340, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4682, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2345, 2340, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4683, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2346, 2340, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4684, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2347, 2340, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4685, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2348, 2340, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4686, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2349, 2340, 'Grundstücksaufwand (Umsatzsteuerschlüssel möglich)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4687, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2350, 2, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4688, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2351, 2350, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4689, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2352, 2350, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4690, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2353, 2350, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4691, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2354, 2350, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4692, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2355, 2350, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4693, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2356, 2350, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4694, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2357, 2350, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4695, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2358, 2350, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4696, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2359, 2350, 'Grundstücksertrag (Umsatzsteuerschlüssel möglich)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4697, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2360, 2, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4698, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2361, 2360, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4699, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2362, 2360, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4700, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2363, 2360, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4701, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2364, 2360, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4702, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2365, 2360, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4703, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2366, 2360, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4704, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2367, 2360, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4705, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2368, 2360, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4706, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2369, 2360, 'Grundstücksertrag (Umsatzsteuerschlüssel möglich)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4707, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2370, 2, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4708, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2371, 2370, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4709, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2372, 2370, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4710, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2373, 2370, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4711, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2374, 2370, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4712, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2375, 2370, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4713, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2376, 2370, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4714, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2377, 2370, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4715, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2378, 2370, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4716, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2379, 2370, 'Grundstücksertrag (Umsatzsteuerschlüssel möglich)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4717, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2380, 2, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4718, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2381, 2380, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4719, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2382, 2380, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4720, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2383, 2380, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4721, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2384, 2380, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4722, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2385, 2380, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4723, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2386, 2380, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4724, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2387, 2380, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4725, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2388, 2380, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4726, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2389, 2380, 'Grundstücksertrag (Umsatzsteuerschlüssel möglich)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4727, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2390, 2, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4728, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2391, 2390, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4729, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2392, 2390, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4730, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2393, 2390, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4731, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2394, 2390, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4732, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2395, 2390, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4733, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2396, 2390, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4734, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2397, 2390, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4735, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2398, 2390, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4736, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2399, 2390, 'Grundstücksertrag (Umsatzsteuerschlüssel möglich)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4737, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2500, 2, 'Privateinnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4738, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2501, 2500, 'Privateinnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4739, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2502, 2500, 'Privateinnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4740, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2503, 2500, 'Privateinnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4741, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2504, 2500, 'Privateinnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4742, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2505, 2500, 'Privateinnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4743, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2506, 2500, 'Privateinnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4744, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2507, 2500, 'Privateinnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4745, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2508, 2500, 'Privateinnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4746, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2509, 2500, 'Privateinnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4747, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2510, 2, 'Privateinnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4748, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2511, 2500, 'Privateinnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4749, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2512, 2500, 'Privateinnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4750, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2513, 2500, 'Privateinnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4751, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2514, 2500, 'Privateinnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4752, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2515, 2500, 'Privateinnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4753, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2516, 2500, 'Privateinnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4754, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2517, 2500, 'Privateinnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4755, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2518, 2500, 'Privateinnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4756, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2519, 2500, 'Privateinnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4757, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2520, 2, 'Privateinnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4758, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2521, 2520, 'Privateinnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4759, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2522, 2520, 'Privateinnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4760, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2523, 2520, 'Privateinnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4761, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2524, 2520, 'Privateinnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4762, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2525, 2520, 'Privateinnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4763, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2526, 2520, 'Privateinnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4764, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2527, 2520, 'Privateinnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4765, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2528, 2520, 'Privateinnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4766, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2529, 2520, 'Privateinnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4767, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2530, 2, 'Unentgeltliche Wertabgaben'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4768, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2531, 2530, 'Unentgeltliche Wertabgaben'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4769, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2532, 2530, 'Unentgeltliche Wertabgaben'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4770, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2533, 2530, 'Unentgeltliche Wertabgaben'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4771, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2534, 2530, 'Unentgeltliche Wertabgaben'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4772, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2535, 2530, 'Unentgeltliche Wertabgaben'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4773, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2536, 2530, 'Unentgeltliche Wertabgaben'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4774, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2537, 2530, 'Unentgeltliche Wertabgaben'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4775, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2538, 2530, 'Unentgeltliche Wertabgaben'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4776, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2539, 2530, 'Unentgeltliche Wertabgaben'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4777, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2540, 2, 'Unentgeltliche Wertabgaben'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4778, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2541, 2540, 'Unentgeltliche Wertabgaben'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4779, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2542, 2540, 'Unentgeltliche Wertabgaben'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4780, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2543, 2540, 'Unentgeltliche Wertabgaben'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4781, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2544, 2540, 'Unentgeltliche Wertabgaben'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4782, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2545, 2540, 'Unentgeltliche Wertabgaben'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4783, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2546, 2540, 'Unentgeltliche Wertabgaben'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4784, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2547, 2540, 'Unentgeltliche Wertabgaben'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4785, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2548, 2540, 'Unentgeltliche Wertabgaben'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4786, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2549, 2540, 'Unentgeltliche Wertabgaben'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4787, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2550, 2, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4788, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2551, 2550, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4789, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2552, 2550, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4790, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2553, 2550, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4791, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2554, 2550, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4792, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2555, 2550, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4793, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2556, 2550, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4794, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2557, 2550, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4795, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2558, 2550, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4796, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2559, 2550, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4797, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2560, 2, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4798, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2561, 2560, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4799, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2562, 2560, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4800, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2563, 2560, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4801, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2564, 2560, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4802, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2565, 2560, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4803, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2566, 2560, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4804, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2567, 2560, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4805, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2568, 2560, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4806, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2569, 2560, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4807, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2570, 2, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4808, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2571, 2570, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4809, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2572, 2570, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4810, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2573, 2570, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4811, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2574, 2570, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4812, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2575, 2570, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4813, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2576, 2570, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4814, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2577, 2570, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4815, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2578, 2570, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4816, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2579, 2570, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4817, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2580, 2, 'Privateinlagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4818, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2581, 2580, 'Privateinlagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4819, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2582, 2580, 'Privateinlagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4820, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2583, 2580, 'Privateinlagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4821, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2584, 2580, 'Privateinlagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4822, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2585, 2580, 'Privateinlagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4823, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2586, 2580, 'Privateinlagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4824, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2587, 2580, 'Privateinlagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4825, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2588, 2580, 'Privateinlagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4826, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2589, 2580, 'Privateinlagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4827, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2590, 2, 'Privateinlagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4828, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2591, 2590, 'Privateinlagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4829, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2592, 2590, 'Privateinlagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4830, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2593, 2590, 'Privateinlagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4831, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2594, 2590, 'Privateinlagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4832, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2595, 2590, 'Privateinlagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4833, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2596, 2590, 'Privateinlagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4834, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2597, 2590, 'Privateinlagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4835, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2598, 2590, 'Privateinlagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4836, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2599, 2590, 'Privateinlagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4837, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2600, 2, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4838, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2601, 2600, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4839, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2602, 2600, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4840, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2603, 2600, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4841, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2604, 2600, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4842, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2605, 2600, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4843, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2606, 2600, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4844, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2607, 2600, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4845, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2608, 2600, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4846, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2609, 2600, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4847, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2610, 2, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4848, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2611, 2610, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4849, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2612, 2610, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4850, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2613, 2610, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4851, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2614, 2610, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4852, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2615, 2610, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4853, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2616, 2610, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4854, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2617, 2610, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4855, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2618, 2610, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4856, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2619, 2610, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4857, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2620, 2, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4858, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2621, 2620, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4859, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2622, 2620, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4860, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2623, 2620, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4861, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2624, 2620, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4862, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2625, 2620, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4863, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2626, 2620, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4864, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2627, 2620, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4865, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2628, 2620, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4866, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2629, 2620, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4867, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2630, 2, 'Sonderausgaben unbeschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4868, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2631, 2630, 'Sonderausgaben unbeschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4869, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2632, 2630, 'Sonderausgaben unbeschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4870, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2633, 2630, 'Sonderausgaben unbeschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4871, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2634, 2630, 'Sonderausgaben unbeschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4872, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2635, 2630, 'Sonderausgaben unbeschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4873, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2636, 2630, 'Sonderausgaben unbeschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4874, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2637, 2630, 'Sonderausgaben unbeschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4875, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2638, 2630, 'Sonderausgaben unbeschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4876, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2639, 2630, 'Sonderausgaben unbeschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4877, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2640, 2, 'Sonderausgaben unbeschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4878, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2641, 2640, 'Sonderausgaben unbeschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4879, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2642, 2640, 'Sonderausgaben unbeschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4880, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2643, 2640, 'Sonderausgaben unbeschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4881, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2644, 2640, 'Sonderausgaben unbeschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4882, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2645, 2640, 'Sonderausgaben unbeschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4883, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2646, 2640, 'Sonderausgaben unbeschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4884, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2647, 2640, 'Sonderausgaben unbeschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4885, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2648, 2640, 'Sonderausgaben unbeschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4886, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2649, 2640, 'Sonderausgaben unbeschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4887, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2650, 2, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4888, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2651, 2650, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4889, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2652, 2650, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4890, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2653, 2650, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4891, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2654, 2650, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4892, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2655, 2650, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4893, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2656, 2650, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4894, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2657, 2650, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4895, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2658, 2650, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4896, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2659, 2650, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4897, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2660, 2, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4898, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2661, 2660, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4899, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2662, 2660, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4900, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2663, 2660, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4901, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2664, 2660, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4902, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2665, 2660, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4903, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2666, 2660, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4904, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2667, 2660, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4905, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2668, 2660, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4906, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2669, 2660, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4907, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2670, 2, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4908, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2671, 2670, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4909, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2672, 2670, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4910, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2673, 2670, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4911, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2674, 2670, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4912, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2675, 2670, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4913, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2676, 2670, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4914, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2677, 2670, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4915, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2678, 2670, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4916, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2679, 2670, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4917, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2680, 2, 'Außergewöhnliche Belastungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4918, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2681, 2680, 'Außergewöhnliche Belastungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4919, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2682, 2680, 'Außergewöhnliche Belastungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4920, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2683, 2680, 'Außergewöhnliche Belastungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4921, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2684, 2680, 'Außergewöhnliche Belastungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4922, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2685, 2680, 'Außergewöhnliche Belastungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4923, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2686, 2680, 'Außergewöhnliche Belastungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4924, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2687, 2680, 'Außergewöhnliche Belastungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4925, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2688, 2680, 'Außergewöhnliche Belastungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4926, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2689, 2680, 'Außergewöhnliche Belastungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4927, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2690, 2, 'Außergewöhnliche Belastungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4928, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2691, 2680, 'Außergewöhnliche Belastungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4929, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2692, 2680, 'Außergewöhnliche Belastungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4930, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2693, 2680, 'Außergewöhnliche Belastungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4931, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2694, 2680, 'Außergewöhnliche Belastungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4932, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2695, 2680, 'Außergewöhnliche Belastungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4933, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2696, 2680, 'Außergewöhnliche Belastungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4934, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2697, 2680, 'Außergewöhnliche Belastungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4935, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2698, 2680, 'Außergewöhnliche Belastungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4936, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2699, 2680, 'Außergewöhnliche Belastungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4937, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2700, 2, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4938, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2701, 2700, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4939, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2702, 2700, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4940, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2703, 2700, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4941, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2704, 2700, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4942, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2705, 2700, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4943, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2706, 2700, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4944, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2707, 2700, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4945, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2708, 2700, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4946, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2709, 2700, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4947, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2710, 2, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4948, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2711, 2710, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4949, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2712, 2710, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4950, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2713, 2710, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4951, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2714, 2710, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4952, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2715, 2710, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4953, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2716, 2710, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4954, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2717, 2710, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4955, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2718, 2710, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4956, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2719, 2710, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4957, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2720, 2, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4958, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2721, 2720, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4959, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2722, 2720, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4960, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2723, 2720, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4961, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2724, 2720, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4962, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2725, 2720, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4963, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2726, 2720, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4964, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2727, 2720, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4965, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2728, 2720, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4966, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2729, 2720, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4967, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2730, 2, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4968, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2731, 2730, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4969, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2732, 2730, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4970, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2733, 2730, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4971, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2734, 2730, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4972, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2735, 2730, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4973, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2736, 2730, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4974, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2737, 2730, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4975, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2738, 2730, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4976, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2739, 2730, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4977, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2740, 2, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4978, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2741, 2740, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4979, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2742, 2740, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4980, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2743, 2740, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4981, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2744, 2740, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4982, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2745, 2740, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4983, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2746, 2740, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4984, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2747, 2740, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4985, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2748, 2740, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4986, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2749, 2740, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4987, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2750, 2, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4988, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2751, 2750, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4989, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2752, 2750, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4990, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2753, 2750, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4991, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2754, 2750, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4992, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2755, 2750, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4993, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2756, 2750, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4994, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2757, 2750, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4995, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2758, 2750, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4996, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2759, 2750, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4997, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2760, 2, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4998, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2761, 2760, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 4999, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2762, 2760, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5000, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2763, 2760, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5001, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2764, 2760, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5002, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2765, 2760, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5003, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2766, 2760, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5004, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2767, 2760, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5005, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2768, 2760, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5006, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2769, 2760, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5007, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2770, 2, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5008, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2771, 2770, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5009, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2772, 2770, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5010, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2773, 2770, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5011, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2774, 2770, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5012, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2775, 2770, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5013, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2776, 2770, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5014, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2777, 2770, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5015, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2778, 2770, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5016, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2779, 2770, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5017, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2780, 2, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5018, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2781, 2780, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5019, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2782, 2780, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5020, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2783, 2780, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5021, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2784, 2780, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5022, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2785, 2780, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5023, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2786, 2780, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5024, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2787, 2780, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5025, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2788, 2780, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5026, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2789, 2780, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5027, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2790, 2, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5028, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2791, 2790, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5029, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2792, 2790, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5030, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2793, 2790, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5031, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2794, 2790, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5032, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2795, 2790, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5033, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2796, 2790, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5034, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2797, 2790, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5035, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2798, 2790, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5036, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2799, 2790, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5037, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2900, 2, 'Gezeichnetes Kapital'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5038, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2901, 2900, 'Geschäftsguthaben der verbleibenden Mitglieder'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5039, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2902, 2900, 'Geschäftsguthaben der ausscheidenden Mitglieder'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5040, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2903, 2900, 'Geschäftsguthaben aus gekündigten Geschäftsanteilen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5041, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2906, 2900, 'Rückständige fällige Einzahlungen auf Geschäftsanteile, vermerkt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5042, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2907, 2900, 'Gegenkonto Rückständige fällige Einzahlungen auf Geschäftsanteile, vermerkt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5043, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2908, 2900, 'Kapitalerhöhung aus Gesellschaftsmitteln'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5044, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2909, 2900, 'Erworbene eigene Anteile'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5045, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2910, 2900, 'Ausstehende Einlagen auf das gezeichnete Kapital, nicht eingefordert (Passivausweis, vom gezeichneten Kapital offen abgesetzt; eingeforderte ausstehende Einlagen s. Konto 1289)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5046, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2920, 2, 'Kapitalrücklage'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5047, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2925, 2920, 'Kapitalrücklage durch Ausgabe von Anteilen über Nennbetrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5048, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2926, 2920, 'Kapitalrücklage durch Ausgabe von Schuldverschreibungen für Wandlungsrechte und Optionsrechte zum Erwerb von Anteilen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5049, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2927, 2920, 'Kapitalrücklage durch Zuzahlungen gegen Gewährung eines Vorzugs für Anteile'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5050, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2928, 2920, 'Kapitalrücklage durch Zuzahlungen in das Eigenkapital'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5051, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2929, 2920, 'Nachschusskonto (Gegenkonto 1299)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5052, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2930, 2, 'Gesetzliche Rücklagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5053, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2935, 2930, 'Rücklage für Anteile an einem herrschenden oder mehrheitlich beteiligten Unternehmen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5054, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2937, 3930, 'Andere Ergebnisrücklagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5055, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2950, 2, 'Satzungsmäßige Rücklagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5056, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2959, 2950, 'Gesamthänderisch gebundene Rücklagen (mit Aufteilung für Kapitalkontenentwicklung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5057, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2960, 2, 'Andere Gewinnrücklagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5058, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2961, 2960, 'Andere Gewinnrücklagen aus dem Erwerb eigener Anteile'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5059, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2962, 2960, 'Eigenkapitalanteil von Wertaufholungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5060, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2963, 2960, 'Gewinnrücklagen aus den Übergangsvorschriften BilMoG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5061, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2964, 2960, 'Gewinnrücklagen aus den Übergangsvorschriften BilMoG (Zuschreibung Sachanlagevermögen)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5062, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2965, 2960, 'Gewinnrücklagen aus den Übergangsvorschriften BilMoG (Zuschreibung Finanzanlagevermögen)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5063, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2966, 2960, 'Gewinnrücklagen aus den Übergangsvorschriften BilMoG (Auflösung der Sonderposten mit Rücklageanteil)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5064, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2967, 2960, 'Latente Steuern (Gewinnrücklage Haben) aus erfolgsneutralen Verrechnungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5065, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2968, 2960, 'Latente Steuern (Gewinnrücklage Soll) aus erfolgsneutralen Verrechnungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5066, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2969, 2960, 'Rechnungsabgenzungsposten (Gewinnrücklage Soll) aus erfolgsneutralen Verrechnungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5067, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2970, 2, 'Gewinnvortrag vor Verwendung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5068, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2975, 2970, 'Gewinnvortrag vor Verwendung (mit Aufteilung für Kapitalkontenentwicklung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5069, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2977, 2978, 'Verlustvortrag vor Verwendung (mit Aufteilung für Kapitalkontenentwicklung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5070, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2978, 2, 'Verlustvortrag vor Verwendung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5071, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2979, 2, 'Vortrag auf neue Rechnung (Bilanz)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5072, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2980, 2, 'Sonderposten mit Rücklageanteil, steuerfreie Rücklagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5073, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2981, 2, 'Sonderposten mit Rücklageanteil nach § 6b EStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5074, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2982, 2, 'Sonderposten mit Rücklageanteil nach EstR R 6.6'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5075, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2988, 2, 'Rücklage für Zuschüsse'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5076, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2989, 2, 'Sonderposten mit Rücklageanteil nach § 52 Abs. 16 EStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5077, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2990, 2, 'Sonderposten mit Rücklageanteil, Sonderabschreibungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5078, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2993, 2, 'Sonderposten mit Rücklageanteil nach § 7g Abs. 2 EStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5079, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2995, 2, 'Ausgleichsposten bei Entnahmen § 4g EStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5080, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2997, 2, 'Sonderposten bei Rücklageanteil § 7g Abs. 5 EStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5081, 'SKR04', 'Eigenkapitalkonten/Fremdkapitalkonten', 2999, 2, 'Sonderposten für Zuschüsse und Zulagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5082, 'SKR04', 'Fremdkapitalkonten', 3, 3, 'Fremdkapitalkonten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5083, 'SKR04', 'Fremdkapitalkonten', 3000, 3, 'Rückstellungen für Pensionen und ähnliche Verpflichtungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5084, 'SKR04', 'Fremdkapitalkonten', 3005, 3000, 'Rückstellungen für Pensionen und ähnliche Verpflichtungen gegenüber Gesellschaftern oder nahestehenden Personen (10 % Beteiligung am Kapital)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5085, 'SKR04', 'Fremdkapitalkonten', 3009, 3000, 'Rückstellungen für Pensionen und ähnliche Verpflichtungen zur Saldierung mit Vermögensgegenständen zum langfristigen Verbleib nach § 246 Abs. 2 HGB'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5086, 'SKR04', 'Fremdkapitalkonten', 3010, 3000, 'Rückstellungen für Direktzusagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5087, 'SKR04', 'Fremdkapitalkonten', 3011, 3000, 'Rückstellungen für Zuschussverpflichtungen für Pensionskassen und Lebensversicherungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5088, 'SKR04', 'Fremdkapitalkonten', 3015, 3000, 'Rückstellungen für pensionähnliche Verpflichtungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5089, 'SKR04', 'Fremdkapitalkonten', 3020, 3, 'Steuerrückstellungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5090, 'SKR04', 'Fremdkapitalkonten', 3030, 3020, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5091, 'SKR04', 'Fremdkapitalkonten', 3035, 3020, 'Gewerbesteuerrückstellungen § 4 Abs. 5b EStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5092, 'SKR04', 'Fremdkapitalkonten', 3040, 3020, 'Körperschaftsteuerrückstellungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5093, 'SKR04', 'Fremdkapitalkonten', 3050, 3020, 'Steuerrückstellung aus Steuerstundung (BstBK)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5094, 'SKR04', 'Fremdkapitalkonten', 3060, 3020, 'Rückstellungen für latente Steuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5095, 'SKR04', 'Fremdkapitalkonten', 3065, 3020, 'Passive latente Steuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5096, 'SKR04', 'Fremdkapitalkonten', 3070, 3, 'Sonstige Rückstellungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5097, 'SKR04', 'Fremdkapitalkonten', 3074, 3070, 'Rückstellungen für Personalkosten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5098, 'SKR04', 'Fremdkapitalkonten', 3075, 3070, 'Rückstellungen für unterlassene Aufwendungen für Instandhaltung, Nachholung in den ersten drei Monaten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5099, 'SKR04', 'Fremdkapitalkonten', 3076, 3070, 'Rückstellungen für mit der Altersversorgung vergleichbare langfristige Verpflichtungen zum langfristigen Verbleib'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5100, 'SKR04', 'Fremdkapitalkonten', 3077, 3070, 'Rückstellungen für mit der Altersversorgung vergleichbare langfristige Verpflichtungen zur Saldierung mit Vermögensgegenständen zum langfristigen Verbleib nach § 246 Abs. 2 HGB'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5101, 'SKR04', 'Fremdkapitalkonten', 3079, 3070, 'Urlaubsrückstellungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5102, 'SKR04', 'Fremdkapitalkonten', 3085, 3070, 'Rückstellungen für Abraum- und Abfallbeseitigung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5103, 'SKR04', 'Fremdkapitalkonten', 3090, 3070, 'Rückstellungen für Gewährleistungen (Gegenkonto 6790)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5104, 'SKR04', 'Fremdkapitalkonten', 3092, 3070, 'Rückstellungen für drohende Verluste aus schwebenden Geschäften'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5105, 'SKR04', 'Fremdkapitalkonten', 3095, 3070, 'Rückstellungen für Abschluss- und Prüfungskosten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5106, 'SKR04', 'Fremdkapitalkonten', 3096, 3070, 'Rückstellungen zur Erfüllung der Aufbewahrungspflichten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5107, 'SKR04', 'Fremdkapitalkonten', 3098, 3070, 'Aufwandsrückstellungen gemäß § 249 Abs. 2 HGB a. F.'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5108, 'SKR04', 'Fremdkapitalkonten', 3099, 3070, 'Rückstellungen für Umweltschutz'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5109, 'SKR04', 'Fremdkapitalkonten', 3100, 3, 'Anleihen, nicht konvertibel'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5110, 'SKR04', 'Fremdkapitalkonten', 3101, 3100, '- Restlaufzeit bis 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5111, 'SKR04', 'Fremdkapitalkonten', 3105, 3100, '- Restlaufzeit 1 bis 5 Jahre'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5112, 'SKR04', 'Fremdkapitalkonten', 3110, 3100, '- Restlaufzeit größer 5 Jahre'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5113, 'SKR04', 'Fremdkapitalkonten', 3120, 3100, 'Anleihen, konvertibel'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5114, 'SKR04', 'Fremdkapitalkonten', 3121, 3120, '- Restlaufzeit bis 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5115, 'SKR04', 'Fremdkapitalkonten', 3125, 3120, '- Restlaufzeit 1 bis 5 Jahre'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5116, 'SKR04', 'Fremdkapitalkonten', 3130, 3120, '- Restlaufzeit größer 5 Jahre'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5117, 'SKR04', 'Fremdkapitalkonten', 3150, 3, 'Verbindlichkeiten gegenüber Kreditinstituten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5118, 'SKR04', 'Fremdkapitalkonten', 3151, 3150, '- Restlaufzeit bis 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5119, 'SKR04', 'Fremdkapitalkonten', 3160, 3150, '- Restlaufzeit 1 bis 5 Jahre'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5120, 'SKR04', 'Fremdkapitalkonten', 3170, 3150, '- Restlaufzeit größer 5 Jahre'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5121, 'SKR04', 'Fremdkapitalkonten', 3180, 3150, 'Verbindlichkeiten gegenüber Kreditinstituten aus Teilzahlungsverträgen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5122, 'SKR04', 'Fremdkapitalkonten', 3181, 3180, '- Restlaufzeit bis 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5123, 'SKR04', 'Fremdkapitalkonten', 3190, 3180, '- Restlaufzeit 1 bis 5 Jahre'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5124, 'SKR04', 'Fremdkapitalkonten', 3200, 3180, '- Restlaufzeit größer 5 Jahre'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5125, 'SKR04', 'Fremdkapitalkonten', 3210, 3150, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5126, 'SKR04', 'Fremdkapitalkonten', 3211, 3150, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5127, 'SKR04', 'Fremdkapitalkonten', 3212, 3150, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5128, 'SKR04', 'Fremdkapitalkonten', 3213, 3150, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5129, 'SKR04', 'Fremdkapitalkonten', 3214, 3150, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5130, 'SKR04', 'Fremdkapitalkonten', 3215, 3150, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5131, 'SKR04', 'Fremdkapitalkonten', 3216, 3150, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5132, 'SKR04', 'Fremdkapitalkonten', 3217, 3150, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5133, 'SKR04', 'Fremdkapitalkonten', 3218, 3150, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5134, 'SKR04', 'Fremdkapitalkonten', 3219, 3150, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5135, 'SKR04', 'Fremdkapitalkonten', 3220, 3150, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5136, 'SKR04', 'Fremdkapitalkonten', 3221, 3150, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5137, 'SKR04', 'Fremdkapitalkonten', 3222, 3150, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5138, 'SKR04', 'Fremdkapitalkonten', 3223, 3150, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5139, 'SKR04', 'Fremdkapitalkonten', 3224, 3150, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5140, 'SKR04', 'Fremdkapitalkonten', 3225, 3150, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5141, 'SKR04', 'Fremdkapitalkonten', 3226, 3150, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5142, 'SKR04', 'Fremdkapitalkonten', 3227, 3150, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5143, 'SKR04', 'Fremdkapitalkonten', 3228, 3150, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5144, 'SKR04', 'Fremdkapitalkonten', 3229, 3150, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5145, 'SKR04', 'Fremdkapitalkonten', 3230, 3150, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5146, 'SKR04', 'Fremdkapitalkonten', 3231, 3150, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5147, 'SKR04', 'Fremdkapitalkonten', 3232, 3150, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5148, 'SKR04', 'Fremdkapitalkonten', 3233, 3150, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5149, 'SKR04', 'Fremdkapitalkonten', 3234, 3150, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5150, 'SKR04', 'Fremdkapitalkonten', 3235, 3150, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5151, 'SKR04', 'Fremdkapitalkonten', 3236, 3150, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5152, 'SKR04', 'Fremdkapitalkonten', 3237, 3150, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5153, 'SKR04', 'Fremdkapitalkonten', 3238, 3150, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5154, 'SKR04', 'Fremdkapitalkonten', 3239, 3150, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5155, 'SKR04', 'Fremdkapitalkonten', 3240, 3150, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5156, 'SKR04', 'Fremdkapitalkonten', 3241, 3150, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5157, 'SKR04', 'Fremdkapitalkonten', 3242, 3150, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5158, 'SKR04', 'Fremdkapitalkonten', 3243, 3150, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5159, 'SKR04', 'Fremdkapitalkonten', 3244, 3150, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5160, 'SKR04', 'Fremdkapitalkonten', 3245, 3150, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5161, 'SKR04', 'Fremdkapitalkonten', 3246, 3150, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5162, 'SKR04', 'Fremdkapitalkonten', 3247, 3150, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5163, 'SKR04', 'Fremdkapitalkonten', 3248, 3150, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5164, 'SKR04', 'Fremdkapitalkonten', 3249, 3150, 'Gegenkonto 3150-3109 bei Aufteilung der Konten 3210-3248'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5165, 'SKR04', 'Fremdkapitalkonten', 3250, 3, 'Erhaltene Anzahlungen auf Bestellungen (Verbindlichkeiten)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5166, 'SKR04', 'Fremdkapitalkonten', 3260, 3250, 'Erhaltene, versteuerte Anzahlungen 7 % USt (Verbindlichkeiten)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5167, 'SKR04', 'Fremdkapitalkonten', 3261, 3250, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5168, 'SKR04', 'Fremdkapitalkonten', 3262, 3250, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5169, 'SKR04', 'Fremdkapitalkonten', 3263, 3250, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5170, 'SKR04', 'Fremdkapitalkonten', 3264, 3250, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5171, 'SKR04', 'Fremdkapitalkonten', 3270, 3250, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5172, 'SKR04', 'Fremdkapitalkonten', 3271, 3250, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5173, 'SKR04', 'Fremdkapitalkonten', 3272, 3250, 'Erhaltene, versteuerte Anzahlungen 19 % USt (Verbindlichkeiten)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5174, 'SKR04', 'Fremdkapitalkonten', 3273, 3250, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5175, 'SKR04', 'Fremdkapitalkonten', 3274, 3250, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5176, 'SKR04', 'Fremdkapitalkonten', 3280, 3250, 'Erhaltene Anzahlungen – Restlaufzeit bis 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5177, 'SKR04', 'Fremdkapitalkonten', 3284, 3280, '- Restlaufzeit 1 bis 5 Jahre'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5178, 'SKR04', 'Fremdkapitalkonten', 3285, 3280, '- Restlaufzeit größer 5 Jahre'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5179, 'SKR04', 'Fremdkapitalkonten', 3300, 3, 'Verbindlichkeiten aus Lieferungen und Leistungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5180, 'SKR04', 'Fremdkapitalkonten', 3301, 3300, 'Verbindlichkeiten aus Lieferungen und Leistungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5181, 'SKR04', 'Fremdkapitalkonten', 3302, 3300, 'Verbindlichkeiten aus Lieferungen und Leistungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5182, 'SKR04', 'Fremdkapitalkonten', 3303, 3300, 'Verbindlichkeiten aus Lieferungen und Leistungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5183, 'SKR04', 'Fremdkapitalkonten', 3305, 3300, 'Verbindlichkeiten aus Lieferungen und Leistungen zum allgemeinen Umsatzsteuersatz (EÜR)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5184, 'SKR04', 'Fremdkapitalkonten', 3306, 3300, 'Verbindlichkeiten aus Lieferungen und Leistungen zum ermäßigten Umsatzsteuersatz (EÜR)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5185, 'SKR04', 'Fremdkapitalkonten', 3307, 3300, 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Vorsteuer (EÜR)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5186, 'SKR04', 'Fremdkapitalkonten', 3309, 3300, 'Gegenkonto 3305-3307 bei Aufteilung der Verbindlichkeiten nach Steuersätzen (EÜR)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5187, 'SKR04', 'Fremdkapitalkonten', 3310, 3300, 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5188, 'SKR04', 'Fremdkapitalkonten', 3311, 3300, 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5189, 'SKR04', 'Fremdkapitalkonten', 3312, 3300, 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5190, 'SKR04', 'Fremdkapitalkonten', 3313, 3300, 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5191, 'SKR04', 'Fremdkapitalkonten', 3334, 3300, 'Verbindlichkeiten aus Lieferungen und Leistungen für Investitionen für § 4/3 EStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5192, 'SKR04', 'Fremdkapitalkonten', 3335, 3300, 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent – Restlaufzeit bis 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5193, 'SKR04', 'Fremdkapitalkonten', 3337, 3335, '- Restlaufzeit 1 bis 5 Jahre'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5194, 'SKR04', 'Fremdkapitalkonten', 3338, 3335, '- Restlaufzeit größer 5 Jahre'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5195, 'SKR04', 'Fremdkapitalkonten', 3340, 3300, 'Verbindlichkeiten aus Lieferungen und Leistungen gegenüber Gesellschaftern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5196, 'SKR04', 'Fremdkapitalkonten', 3341, 3340, '- Restlaufzeit bis 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5197, 'SKR04', 'Fremdkapitalkonten', 3345, 3340, '- Restlaufzeit 1 bis 5 Jahre'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5198, 'SKR04', 'Fremdkapitalkonten', 3348, 3340, '- Restlaufzeit größer 5 Jahre'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5199, 'SKR04', 'Fremdkapitalkonten', 3349, 3300, 'Gegenkonto 3335-3348, 3420-3449, 3470-3499 bei Aufteilung Kreditorenkonto'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5200, 'SKR04', 'Fremdkapitalkonten', 3350, 3, 'Wechselverbindlichkeiten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5201, 'SKR04', 'Fremdkapitalkonten', 3351, 3350, '- Restlaufzeit bis 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5202, 'SKR04', 'Fremdkapitalkonten', 3380, 3350, '- Restlaufzeit 1 bis 5 Jahre'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5203, 'SKR04', 'Fremdkapitalkonten', 3390, 3350, '- Restlaufzeit größer 5 Jahre'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5204, 'SKR04', 'Fremdkapitalkonten', 3400, 3, 'Verbindlichkeiten gegenüber verbundenen Unternehmen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5205, 'SKR04', 'Fremdkapitalkonten', 3401, 3400, '- Restlaufzeit bis 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5206, 'SKR04', 'Fremdkapitalkonten', 3405, 3400, '- Restlaufzeit 1 bis 5 Jahre'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5207, 'SKR04', 'Fremdkapitalkonten', 3410, 3400, '- Restlaufzeit größer 5 Jahre'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5208, 'SKR04', 'Fremdkapitalkonten', 3420, 3400, 'Verbindlichkeiten aus Lieferungen und Leistungen gegenüber verbundenen Unternehmen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5209, 'SKR04', 'Fremdkapitalkonten', 3421, 3420, '- Restlaufzeit bis 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5210, 'SKR04', 'Fremdkapitalkonten', 3425, 3420, '- Restlaufzeit 1 bis 5 Jahre'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5211, 'SKR04', 'Fremdkapitalkonten', 3430, 3420, '- Restlaufzeit größer 5 Jahre'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5212, 'SKR04', 'Fremdkapitalkonten', 3450, 3, 'Verbindlichkeiten gegenüber Unternehmen, mit denen ein Beteiligungsverhältnis besteht'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5213, 'SKR04', 'Fremdkapitalkonten', 3451, 3450, '- Restlaufzeit bis 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5214, 'SKR04', 'Fremdkapitalkonten', 3455, 3450, '- Restlaufzeit 1 bis 5 Jahre'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5215, 'SKR04', 'Fremdkapitalkonten', 3460, 3450, '- Restlaufzeit größer 5 Jahre'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5216, 'SKR04', 'Fremdkapitalkonten', 3470, 3450, 'Verbindlichkeiten aus Lieferungen und Leistungen gegenüber Unternehmen, mit denen ein Beteiligungsverhältnis besteht'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5217, 'SKR04', 'Fremdkapitalkonten', 3471, 3470, '- Restlaufzeit bis 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5218, 'SKR04', 'Fremdkapitalkonten', 3475, 3470, '- Restlaufzeit 1 bis 5 Jahre'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5219, 'SKR04', 'Fremdkapitalkonten', 3480, 3470, '- Restlaufzeit größer 5 Jahre'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5220, 'SKR04', 'Fremdkapitalkonten', 3500, 3, 'Sonstige Verbindlichkeiten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5221, 'SKR04', 'Fremdkapitalkonten', 3501, 3500, '- Restlaufzeit bis 1Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5222, 'SKR04', 'Fremdkapitalkonten', 3504, 3500, '- Restlaufzeit 1 bis 5 Jahre'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5223, 'SKR04', 'Fremdkapitalkonten', 3507, 3500, '- Restlaufzeit größer 5 Jahre'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5224, 'SKR04', 'Fremdkapitalkonten', 3509, 3500, 'Sonstige Verbindlichkeiten nach § 11 Abs. 2 Satz 2 EStG für § 4/3 EStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5225, 'SKR04', 'Fremdkapitalkonten', 3510, 3500, 'Verbindlichkeiten gegenüber Gesellschaftern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5226, 'SKR04', 'Fremdkapitalkonten', 3511, 3510, '- Restlaufzeit bis 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5227, 'SKR04', 'Fremdkapitalkonten', 3514, 3510, '- Restlaufzeit 1 bis 5 Jahre'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5228, 'SKR04', 'Fremdkapitalkonten', 3517, 3510, '- Restlaufzeit größer 5 Jahre'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5229, 'SKR04', 'Fremdkapitalkonten', 3519, 3500, 'Verbindlichkeiten gegenüber Gesellschaftern für offene Ausschüttungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5230, 'SKR04', 'Fremdkapitalkonten', 3520, 3500, 'Darlehen typisch stiller Gesellschafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5231, 'SKR04', 'Fremdkapitalkonten', 3521, 3520, '- Restlaufzeit bis 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5232, 'SKR04', 'Fremdkapitalkonten', 3524, 3520, '- Restlaufzeit 1 bis 5 Jahre'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5233, 'SKR04', 'Fremdkapitalkonten', 3527, 3520, '- Restlaufzeit größer 5 Jahre'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5234, 'SKR04', 'Fremdkapitalkonten', 3530, 3500, 'Darlehen atypisch stiller Gesellschafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5235, 'SKR04', 'Fremdkapitalkonten', 3531, 3530, '- Restlaufzeit bis 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5236, 'SKR04', 'Fremdkapitalkonten', 3534, 3530, '- Restlaufzeit 1 bis 5 Jahre'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5237, 'SKR04', 'Fremdkapitalkonten', 3537, 3530, '- Restlaufzeit größer 5 Jahre'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5238, 'SKR04', 'Fremdkapitalkonten', 3540, 3500, 'Partiarische Darlehen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5239, 'SKR04', 'Fremdkapitalkonten', 3541, 3540, '- Restlaufzeit bis 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5240, 'SKR04', 'Fremdkapitalkonten', 3544, 3540, '- Restlaufzeit 1 bis 5 Jahre'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5241, 'SKR04', 'Fremdkapitalkonten', 3547, 3540, '- Restlaufzeit größer 5 Jahre'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5242, 'SKR04', 'Fremdkapitalkonten', 3550, 3500, 'Erhaltene Kautionen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5243, 'SKR04', 'Fremdkapitalkonten', 3551, 3550, '- Restlaufzeit bis 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5244, 'SKR04', 'Fremdkapitalkonten', 3554, 3550, '- Restlaufzeit 1 bis 5 Jahre'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5245, 'SKR04', 'Fremdkapitalkonten', 3557, 3550, '- Restlaufzeit größer 5 Jahre'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5246, 'SKR04', 'Fremdkapitalkonten', 3560, 3500, 'Darlehen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5247, 'SKR04', 'Fremdkapitalkonten', 3561, 3560, '- Restlaufzeit bis 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5248, 'SKR04', 'Fremdkapitalkonten', 3564, 3560, '- Restlaufzeit 1 bis 5 Jahre'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5249, 'SKR04', 'Fremdkapitalkonten', 3567, 3560, '- Restlaufzeit größer 5 Jahre'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5250, 'SKR04', 'Fremdkapitalkonten', 3570, 3500, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5251, 'SKR04', 'Fremdkapitalkonten', 3571, 3500, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5252, 'SKR04', 'Fremdkapitalkonten', 3572, 3500, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5253, 'SKR04', 'Fremdkapitalkonten', 3573, 3500, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5254, 'SKR04', 'Fremdkapitalkonten', 3574, 3500, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5255, 'SKR04', 'Fremdkapitalkonten', 3575, 3500, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5256, 'SKR04', 'Fremdkapitalkonten', 3576, 3500, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5257, 'SKR04', 'Fremdkapitalkonten', 3577, 3500, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5258, 'SKR04', 'Fremdkapitalkonten', 3578, 3500, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5259, 'SKR04', 'Fremdkapitalkonten', 3579, 3500, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5260, 'SKR04', 'Fremdkapitalkonten', 3580, 3500, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5261, 'SKR04', 'Fremdkapitalkonten', 3581, 3500, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5262, 'SKR04', 'Fremdkapitalkonten', 3582, 3500, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5263, 'SKR04', 'Fremdkapitalkonten', 3583, 3500, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5264, 'SKR04', 'Fremdkapitalkonten', 3584, 3500, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5265, 'SKR04', 'Fremdkapitalkonten', 3585, 3500, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5266, 'SKR04', 'Fremdkapitalkonten', 3586, 3500, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5267, 'SKR04', 'Fremdkapitalkonten', 3587, 3500, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5268, 'SKR04', 'Fremdkapitalkonten', 3588, 3500, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5269, 'SKR04', 'Fremdkapitalkonten', 3589, 3500, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5270, 'SKR04', 'Fremdkapitalkonten', 3590, 3500, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5271, 'SKR04', 'Fremdkapitalkonten', 3591, 3500, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5272, 'SKR04', 'Fremdkapitalkonten', 3592, 3500, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5273, 'SKR04', 'Fremdkapitalkonten', 3593, 3500, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5274, 'SKR04', 'Fremdkapitalkonten', 3594, 3500, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5275, 'SKR04', 'Fremdkapitalkonten', 3595, 3500, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5276, 'SKR04', 'Fremdkapitalkonten', 3596, 3500, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5277, 'SKR04', 'Fremdkapitalkonten', 3597, 3500, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5278, 'SKR04', 'Fremdkapitalkonten', 3598, 3500, '(frei, in Bilanz kein Restlaufzeitvermerk)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5279, 'SKR04', 'Fremdkapitalkonten', 3599, 3500, 'Gegenkonto 3500-3569 und 3640-3658 bei Aufteilung der Konten 3570-3598'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5280, 'SKR04', 'Fremdkapitalkonten', 3600, 3500, 'Agenturwarenabrechnungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5281, 'SKR04', 'Fremdkapitalkonten', 3610, 3500, 'Kreditkartenabrechnung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5282, 'SKR04', 'Fremdkapitalkonten', 3611, 3500, 'Verbindlichkeiten gegenüber Arbeitsgemeinschaften'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5283, 'SKR04', 'Fremdkapitalkonten', 3620, 3500, 'Gewinnverfügungskonto stille Gesellschafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5284, 'SKR04', 'Fremdkapitalkonten', 3630, 3500, 'Sonstige Verrechnungskosten (Interimskonto)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5285, 'SKR04', 'Fremdkapitalkonten', 3635, 3500, 'Sonstige Verbindlichkeiten aus genossenschaftlicher Rückvergütung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5286, 'SKR04', 'Fremdkapitalkonten', 3640, 3500, 'Verbindlichkeiten gegenüber GmbH-Gesellschaftern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5287, 'SKR04', 'Fremdkapitalkonten', 3641, 3640, '- Restlaufzeit bis 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5288, 'SKR04', 'Fremdkapitalkonten', 3642, 3640, '- Restlaufzeit 1 bis 5 Jahre'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5289, 'SKR04', 'Fremdkapitalkonten', 3643, 3640, '- Restlaufzeit größer 5 Jahre'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5290, 'SKR04', 'Fremdkapitalkonten', 3645, 3500, 'Verbindlichkeiten gegenüber persönlich haftenden Gesellschaftern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5291, 'SKR04', 'Fremdkapitalkonten', 3646, 3645, '- Restlaufzeit bis 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5292, 'SKR04', 'Fremdkapitalkonten', 3647, 3645, '- Restlaufzeit 1 bis 5 Jahre'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5293, 'SKR04', 'Fremdkapitalkonten', 3648, 3645, '- Restlaufzeit größer 5 Jahre'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5294, 'SKR04', 'Fremdkapitalkonten', 3650, 3500, 'Verbindlichkeiten gegenüber Kommanditisten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5295, 'SKR04', 'Fremdkapitalkonten', 3651, 3650, '- Restlaufzeit bis 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5296, 'SKR04', 'Fremdkapitalkonten', 3652, 3650, '- Restlaufzeit 1 bis 5 Jahre'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5297, 'SKR04', 'Fremdkapitalkonten', 3653, 3650, '- Restlaufzeit größer 5 Jahre'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5298, 'SKR04', 'Fremdkapitalkonten', 3655, 3500, 'Verbindlichkeiten gegenüber stillen Gesellschaftern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5299, 'SKR04', 'Fremdkapitalkonten', 3656, 3655, '- Restlaufzeit bis 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5300, 'SKR04', 'Fremdkapitalkonten', 3657, 3655, '- Restlaufzeit 1 bis 5 Jahre'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5301, 'SKR04', 'Fremdkapitalkonten', 3658, 3655, '- Restlaufzeit größer 5 Jahre'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5302, 'SKR04', 'Fremdkapitalkonten', 3695, 3500, 'Verrechnungskonto geleistete Anzahlungen bei Buchungen über Kreditorenkonto'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5303, 'SKR04', 'Fremdkapitalkonten', 3700, 3500, 'Verbindlichkeiten aus Steuern und Abgaben'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5304, 'SKR04', 'Fremdkapitalkonten', 3701, 3700, '- Restlaufzeit bis 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5305, 'SKR04', 'Fremdkapitalkonten', 3710, 3700, '- Restlaufzeit 1 bis 5 Jahre'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5306, 'SKR04', 'Fremdkapitalkonten', 3715, 3700, '- Restlaufzeit größer 5 Jahre'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5307, 'SKR04', 'Fremdkapitalkonten', 3720, 3500, 'Verbindlichkeiten aus Lohn und Gehalt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5308, 'SKR04', 'Fremdkapitalkonten', 3725, 3500, 'Verbindlichkeiten für Einbehaltungen von Arbeitnehmern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5309, 'SKR04', 'Fremdkapitalkonten', 3726, 3500, 'Verbindlichkeiten an das Finanzamt aus abzuführendem Bauabzugsbetrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5310, 'SKR04', 'Fremdkapitalkonten', 3730, 3500, 'Verbindlichkeiten aus Lohn- und Kirchensteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5311, 'SKR04', 'Fremdkapitalkonten', 3740, 3500, 'Verbindlichkeiten im Rahmen der sozialen Sicherheit'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5312, 'SKR04', 'Fremdkapitalkonten', 3741, 3740, '- Restlaufzeit bis 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5313, 'SKR04', 'Fremdkapitalkonten', 3750, 3740, '- Restlaufzeit 1 bis 5 Jahre'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5314, 'SKR04', 'Fremdkapitalkonten', 3755, 3740, '- Restlaufzeit größer 5 Jahre'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5315, 'SKR04', 'Fremdkapitalkonten', 3759, 3500, 'Voraussichtliche Beitragsschuld gegenüber den Sozialversicherungsträgern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5316, 'SKR04', 'Fremdkapitalkonten', 3760, 3500, 'Verbindlichkeiten aus Einbehaltungen (KapESt und SolZ, KiSt auf KapESt) für offene Ausschüttungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5317, 'SKR04', 'Fremdkapitalkonten', 3761, 3500, 'Verbindlichkeiten für Verbrauchsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5318, 'SKR04', 'Fremdkapitalkonten', 3770, 3500, 'Verbindlichkeiten aus Vermögensbildung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5319, 'SKR04', 'Fremdkapitalkonten', 3771, 3770, '- Restlaufzeit bis 1 Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5320, 'SKR04', 'Fremdkapitalkonten', 3780, 3770, '- Restlaufzeit 1 bis 5 Jahre'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5321, 'SKR04', 'Fremdkapitalkonten', 3785, 3770, '- Restlaufzeit größer 5 Jahre'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5322, 'SKR04', 'Fremdkapitalkonten', 3786, 3500, 'Ausgegebene Geschenkgutscheine'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5323, 'SKR04', 'Fremdkapitalkonten', 3790, 3, 'Lohn- und Gehaltsverrechnungskonto'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5324, 'SKR04', 'Fremdkapitalkonten', 3791, 3790, 'Lohn- und Gehaltsverrechnung § 11 Abs. 2 EStG für § 4 Abs. 3 EStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5325, 'SKR04', 'Fremdkapitalkonten', 3796, 3790, 'Verbindlichkeiten im Rahmen der sozialen Sicherheit (für § 4/3 EStG)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5326, 'SKR04', 'Fremdkapitalkonten', 3798, 3790, 'Umsatzsteuer aus im anderen EU-Land steuerpflichtigen elektronischen Dienstleistungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5327, 'SKR04', 'Fremdkapitalkonten', 3799, 3790, 'Steuerzahlungen aus im anderen EU-Land steuerpflichtigen elektronische Dienstleistungen an kleine einzige Anlaufstelle (KEA/MOSS)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5328, 'SKR04', 'Fremdkapitalkonten', 3800, 3, 'Umsatzsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5329, 'SKR04', 'Fremdkapitalkonten', 3801, 3800, 'Umsatzsteuer 7 %'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5330, 'SKR04', 'Fremdkapitalkonten', 3802, 3800, 'Umsatzsteuer aus innergemeinschaftlichem Erwerb'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5331, 'SKR04', 'Fremdkapitalkonten', 3803, 3800, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5332, 'SKR04', 'Fremdkapitalkonten', 3804, 3800, 'Umsatzsteuer aus innergemeinschaftlichem Erwerb 19 %'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5333, 'SKR04', 'Fremdkapitalkonten', 3805, 3800, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5334, 'SKR04', 'Fremdkapitalkonten', 3806, 3800, 'Umsatzsteuer 19 %'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5335, 'SKR04', 'Fremdkapitalkonten', 3807, 3800, 'Umsatzsteuer aus im Inland steuerpflichtigen EU-Lieferungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5336, 'SKR04', 'Fremdkapitalkonten', 3808, 3800, 'Umsatzsteuer aus im Inland steuerpflichtigen EU-Lieferungen 19 %'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5337, 'SKR04', 'Fremdkapitalkonten', 3809, 3800, 'Umsatzsteuer aus innergemeinschaftlichem Erwerb ohne Vorsteuerabzug'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5338, 'SKR04', 'Fremdkapitalkonten', 3810, 3800, 'Umsatzsteuer nicht fällig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5339, 'SKR04', 'Fremdkapitalkonten', 3811, 3800, 'Umsatzsteuer nicht fällig 7 %'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5340, 'SKR04', 'Fremdkapitalkonten', 3812, 3800, 'Umsatzsteuer nicht fällig aus im Inland steuerpflichtigen EU-Lieferungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5341, 'SKR04', 'Fremdkapitalkonten', 3813, 3800, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5342, 'SKR04', 'Fremdkapitalkonten', 3814, 3800, 'Umsatzsteuer nicht fällig aus im Inland steuerpflichtigen EU-Lieferungen 19 %'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5343, 'SKR04', 'Fremdkapitalkonten', 3815, 3800, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5344, 'SKR04', 'Fremdkapitalkonten', 3816, 3800, 'Umsatzsteuer nicht fällig 19 %'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5345, 'SKR04', 'Fremdkapitalkonten', 3817, 3800, 'Umsatzsteuer aus im anderen EU-Land steuerpflichtigen Lieferungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5346, 'SKR04', 'Fremdkapitalkonten', 3818, 3800, 'Umsatzsteuer aus im anderen EU-Land steuerpflichtigen sonstigen Leistungen/Werklieferungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5347, 'SKR04', 'Fremdkapitalkonten', 3819, 3800, 'Umsatzsteuer aus Erwerb als letzter Abnehmer innerhalb eines Dreiecksgeschäfts'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5348, 'SKR04', 'Fremdkapitalkonten', 3820, 3800, 'Umsatzsteuer-Vorauszahlungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5349, 'SKR04', 'Fremdkapitalkonten', 3830, 3800, 'Umsatzsteuer-Vorauszahlungen 1/11'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5350, 'SKR04', 'Fremdkapitalkonten', 3831, 3800, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5351, 'SKR04', 'Fremdkapitalkonten', 3832, 3800, 'Nachsteuer, UstVA Kz. 65'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5352, 'SKR04', 'Fremdkapitalkonten', 3833, 3800, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5353, 'SKR04', 'Fremdkapitalkonten', 3834, 3800, 'Umsatzsteuer aus innergemeinschaftlichem Erwerb von Neufahrzeugen von Lieferanten ohne Umsatzsteuer-Identifikationsnummer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5354, 'SKR04', 'Fremdkapitalkonten', 3835, 3800, 'Umsatzsteuer nach § 13b UStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5355, 'SKR04', 'Fremdkapitalkonten', 3836, 3800, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5356, 'SKR04', 'Fremdkapitalkonten', 3837, 3800, 'Umsatzsteuer nach § 13b UStG 19 %'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5357, 'SKR04', 'Fremdkapitalkonten', 3838, 3800, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5358, 'SKR04', 'Fremdkapitalkonten', 3839, 3800, 'Umsatzsteuer aus der Auslagerung von Gegenständen aus einem Umsatzsteuerlager'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5359, 'SKR04', 'Fremdkapitalkonten', 3840, 3800, 'Umsatzsteuer laufendes Jahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5360, 'SKR04', 'Fremdkapitalkonten', 3841, 3800, 'Umsatzsteuer Vorjahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5361, 'SKR04', 'Fremdkapitalkonten', 3845, 3800, 'Umsatzsteuer frühere Jahre'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5362, 'SKR04', 'Fremdkapitalkonten', 3850, 3800, 'Einfuhrumsatzsteuer aufgeschoben bis ...'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5363, 'SKR04', 'Fremdkapitalkonten', 3851, 3800, 'In Rechnung unrichtig oder unberechtigt ausgewiesene Steuerbeträge, UstVA Kz. 69'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5364, 'SKR04', 'Fremdkapitalkonten', 3854, 3800, 'Steuerzahlungen an andere Länder'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5365, 'SKR04', 'Fremdkapitalkonten', 3860, 3, 'Verbindlichkeiten aus Umsatzsteuer-Vorauszahlungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5366, 'SKR04', 'Fremdkapitalkonten', 3865, 3800, 'Umsatzsteuer in Folgeperiode fällig (§§ 13 Abs. 1 Nr. 6, 13b Abs. 2 UStG)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5367, 'SKR04', 'Fremdkapitalkonten', 3900, 3, 'Passive Rechnungsabgrenzung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5368, 'SKR04', 'Fremdkapitalkonten', 3950, 3900, 'Abgrenzung unterjährig pauschal gebuchter Abschreibungen für BWA'); - ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5369, 'SKR04', 'Betriebliche Erträge', 4, 4, 'Betriebliche Erträge'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5370, 'SKR04', 'Betriebliche Erträge', 4000, 4, 'Umsatzerlöse'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5371, 'SKR04', 'Betriebliche Erträge', 4001, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5372, 'SKR04', 'Betriebliche Erträge', 4002, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5373, 'SKR04', 'Betriebliche Erträge', 4003, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5374, 'SKR04', 'Betriebliche Erträge', 4004, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5375, 'SKR04', 'Betriebliche Erträge', 4005, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5376, 'SKR04', 'Betriebliche Erträge', 4006, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5377, 'SKR04', 'Betriebliche Erträge', 4007, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5378, 'SKR04', 'Betriebliche Erträge', 4008, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5379, 'SKR04', 'Betriebliche Erträge', 4009, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5380, 'SKR04', 'Betriebliche Erträge', 4010, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5381, 'SKR04', 'Betriebliche Erträge', 4011, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5382, 'SKR04', 'Betriebliche Erträge', 4012, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5383, 'SKR04', 'Betriebliche Erträge', 4013, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5384, 'SKR04', 'Betriebliche Erträge', 4014, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5385, 'SKR04', 'Betriebliche Erträge', 4015, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5386, 'SKR04', 'Betriebliche Erträge', 4016, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5387, 'SKR04', 'Betriebliche Erträge', 4017, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5388, 'SKR04', 'Betriebliche Erträge', 4018, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5389, 'SKR04', 'Betriebliche Erträge', 4019, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5390, 'SKR04', 'Betriebliche Erträge', 4020, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5391, 'SKR04', 'Betriebliche Erträge', 4021, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5392, 'SKR04', 'Betriebliche Erträge', 4022, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5393, 'SKR04', 'Betriebliche Erträge', 4023, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5394, 'SKR04', 'Betriebliche Erträge', 4024, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5395, 'SKR04', 'Betriebliche Erträge', 4025, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5396, 'SKR04', 'Betriebliche Erträge', 4026, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5397, 'SKR04', 'Betriebliche Erträge', 4027, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5398, 'SKR04', 'Betriebliche Erträge', 4028, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5399, 'SKR04', 'Betriebliche Erträge', 4029, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5400, 'SKR04', 'Betriebliche Erträge', 4030, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5401, 'SKR04', 'Betriebliche Erträge', 4031, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5402, 'SKR04', 'Betriebliche Erträge', 4032, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5403, 'SKR04', 'Betriebliche Erträge', 4033, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5404, 'SKR04', 'Betriebliche Erträge', 4034, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5405, 'SKR04', 'Betriebliche Erträge', 4035, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5406, 'SKR04', 'Betriebliche Erträge', 4036, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5407, 'SKR04', 'Betriebliche Erträge', 4037, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5408, 'SKR04', 'Betriebliche Erträge', 4038, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5409, 'SKR04', 'Betriebliche Erträge', 4039, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5410, 'SKR04', 'Betriebliche Erträge', 4040, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5411, 'SKR04', 'Betriebliche Erträge', 4041, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5412, 'SKR04', 'Betriebliche Erträge', 4042, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5413, 'SKR04', 'Betriebliche Erträge', 4043, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5414, 'SKR04', 'Betriebliche Erträge', 4044, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5415, 'SKR04', 'Betriebliche Erträge', 4045, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5416, 'SKR04', 'Betriebliche Erträge', 4046, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5417, 'SKR04', 'Betriebliche Erträge', 4047, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5418, 'SKR04', 'Betriebliche Erträge', 4048, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5419, 'SKR04', 'Betriebliche Erträge', 4049, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5420, 'SKR04', 'Betriebliche Erträge', 4050, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5421, 'SKR04', 'Betriebliche Erträge', 4051, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5422, 'SKR04', 'Betriebliche Erträge', 4052, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5423, 'SKR04', 'Betriebliche Erträge', 4053, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5424, 'SKR04', 'Betriebliche Erträge', 4054, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5425, 'SKR04', 'Betriebliche Erträge', 4055, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5426, 'SKR04', 'Betriebliche Erträge', 4056, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5427, 'SKR04', 'Betriebliche Erträge', 4057, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5428, 'SKR04', 'Betriebliche Erträge', 4058, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5429, 'SKR04', 'Betriebliche Erträge', 4059, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5430, 'SKR04', 'Betriebliche Erträge', 4060, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5431, 'SKR04', 'Betriebliche Erträge', 4061, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5432, 'SKR04', 'Betriebliche Erträge', 4062, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5433, 'SKR04', 'Betriebliche Erträge', 4063, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5434, 'SKR04', 'Betriebliche Erträge', 4064, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5435, 'SKR04', 'Betriebliche Erträge', 4065, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5436, 'SKR04', 'Betriebliche Erträge', 4066, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5437, 'SKR04', 'Betriebliche Erträge', 4067, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5438, 'SKR04', 'Betriebliche Erträge', 4068, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5439, 'SKR04', 'Betriebliche Erträge', 4069, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5440, 'SKR04', 'Betriebliche Erträge', 4070, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5441, 'SKR04', 'Betriebliche Erträge', 4071, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5442, 'SKR04', 'Betriebliche Erträge', 4072, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5443, 'SKR04', 'Betriebliche Erträge', 4073, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5444, 'SKR04', 'Betriebliche Erträge', 4074, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5445, 'SKR04', 'Betriebliche Erträge', 4075, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5446, 'SKR04', 'Betriebliche Erträge', 4076, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5447, 'SKR04', 'Betriebliche Erträge', 4077, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5448, 'SKR04', 'Betriebliche Erträge', 4078, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5449, 'SKR04', 'Betriebliche Erträge', 4079, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5450, 'SKR04', 'Betriebliche Erträge', 4080, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5451, 'SKR04', 'Betriebliche Erträge', 4081, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5452, 'SKR04', 'Betriebliche Erträge', 4082, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5453, 'SKR04', 'Betriebliche Erträge', 4083, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5454, 'SKR04', 'Betriebliche Erträge', 4084, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5455, 'SKR04', 'Betriebliche Erträge', 4085, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5456, 'SKR04', 'Betriebliche Erträge', 4086, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5457, 'SKR04', 'Betriebliche Erträge', 4087, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5458, 'SKR04', 'Betriebliche Erträge', 4088, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5459, 'SKR04', 'Betriebliche Erträge', 4089, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5460, 'SKR04', 'Betriebliche Erträge', 4090, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5461, 'SKR04', 'Betriebliche Erträge', 4091, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5462, 'SKR04', 'Betriebliche Erträge', 4092, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5463, 'SKR04', 'Betriebliche Erträge', 4093, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5464, 'SKR04', 'Betriebliche Erträge', 4094, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5465, 'SKR04', 'Betriebliche Erträge', 4095, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5466, 'SKR04', 'Betriebliche Erträge', 4096, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5467, 'SKR04', 'Betriebliche Erträge', 4097, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5468, 'SKR04', 'Betriebliche Erträge', 4098, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5469, 'SKR04', 'Betriebliche Erträge', 4099, 4000, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5470, 'SKR04', 'Betriebliche Erträge', 4100, 4000, 'Steuerfreie Umsätze § 4 Nr. 8 ff. UStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5471, 'SKR04', 'Betriebliche Erträge', 4101, 4000, 'Steuerfreie Umsätze § 4 Nr. 8 ff. UStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5472, 'SKR04', 'Betriebliche Erträge', 4102, 4000, 'Steuerfreie Umsätze § 4 Nr. 8 ff. UStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5473, 'SKR04', 'Betriebliche Erträge', 4103, 4000, 'Steuerfreie Umsätze § 4 Nr. 8 ff. UStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5474, 'SKR04', 'Betriebliche Erträge', 4104, 4000, 'Steuerfreie Umsätze § 4 Nr. 8 ff. UStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5475, 'SKR04', 'Betriebliche Erträge', 4105, 4000, 'Steuerfreie Umsätze nach § 4 Nr. 12 UStG (Vermietung und Verpachtung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5476, 'SKR04', 'Betriebliche Erträge', 4110, 4000, 'Sonstige steuerfreie Umsätze Inland'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5477, 'SKR04', 'Betriebliche Erträge', 4120, 4000, 'Steuerfreie Umsätze § 4 Nr. 1a UStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5478, 'SKR04', 'Betriebliche Erträge', 4125, 4000, 'Steuerfreie innergemeinschaftliche Lieferungen § 4 Nr. 1b UStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5479, 'SKR04', 'Betriebliche Erträge', 4130, 4000, 'Lieferungen des ersten Abnehmers bei innergemeinschaftlichen Dreiecksgeschäften § 25b Abs. 2 UStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5480, 'SKR04', 'Betriebliche Erträge', 4135, 4000, 'Steuerfreie innergemeinschaftliche Lieferungen von Neufahrzeugen an Abnehmer ohne Umsatzsteuer-Identifikationsnummer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5481, 'SKR04', 'Betriebliche Erträge', 4136, 4000, 'Umsatzerlöse nach §§ 25 und 25a UStG 19 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5482, 'SKR04', 'Betriebliche Erträge', 4137, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5483, 'SKR04', 'Betriebliche Erträge', 4138, 4000, 'Umsatzerlöse nach §§ 25 und 25a UStG ohne USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5484, 'SKR04', 'Betriebliche Erträge', 4139, 4000, 'Umsatzerlöse aus Reiseleistungen § 25 Abs. 2 UStG, steuerfrei'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5485, 'SKR04', 'Betriebliche Erträge', 4140, 4000, 'Steuerfreie Umsätze Offshore etc.'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5486, 'SKR04', 'Betriebliche Erträge', 4150, 4000, 'Sonstige steuerfreie Umsätze (z. B. § 4 Nr. 2-7 UStG)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5487, 'SKR04', 'Betriebliche Erträge', 4160, 4000, 'Steuerfreie Umsätze ohne Vorsteuerabzug zum Gesamtumsatz gehörend, § 4 UStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5488, 'SKR04', 'Betriebliche Erträge', 4165, 4000, 'Steuerfreie Umsätze ohne Vorsteuerabzug zum Gesamtumsatz gehörend'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5489, 'SKR04', 'Betriebliche Erträge', 4180, 4000, 'Erlöse, die mit den Durchschnittssätzen des § 24 UStG verteuert werden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5490, 'SKR04', 'Betriebliche Erträge', 4182, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5491, 'SKR04', 'Betriebliche Erträge', 4183, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5492, 'SKR04', 'Betriebliche Erträge', 4185, 4000, 'Erlöse als Kleinunternehmer i. S. d. $ 19 Abs. 1 UStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5493, 'SKR04', 'Betriebliche Erträge', 4186, 4000, 'Erlöse aus Geldspielautomaten 19 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5494, 'SKR04', 'Betriebliche Erträge', 4187, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5495, 'SKR04', 'Betriebliche Erträge', 4188, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5496, 'SKR04', 'Betriebliche Erträge', 4200, 4000, 'Erlöse'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5497, 'SKR04', 'Betriebliche Erträge', 4300, 4000, 'Erlöse 7 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5498, 'SKR04', 'Betriebliche Erträge', 4301, 4000, 'Erlöse 7 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5499, 'SKR04', 'Betriebliche Erträge', 4302, 4000, 'Erlöse 7 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5500, 'SKR04', 'Betriebliche Erträge', 4303, 4000, 'Erlöse 7 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5501, 'SKR04', 'Betriebliche Erträge', 4304, 4000, 'Erlöse 7 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5502, 'SKR04', 'Betriebliche Erträge', 4305, 4000, 'Erlöse 7 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5503, 'SKR04', 'Betriebliche Erträge', 4306, 4000, 'Erlöse 7 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5504, 'SKR04', 'Betriebliche Erträge', 4307, 4000, 'Erlöse 7 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5505, 'SKR04', 'Betriebliche Erträge', 4308, 4000, 'Erlöse 7 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5506, 'SKR04', 'Betriebliche Erträge', 4309, 4000, 'Erlöse 7 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5507, 'SKR04', 'Betriebliche Erträge', 4310, 4000, 'Erlöse aus im Inland steuerpflichtigen EU-Lieferungen 7 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5508, 'SKR04', 'Betriebliche Erträge', 4311, 4000, 'Erlöse aus im Inland steuerpflichtigen EU-Lieferungen 7 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5509, 'SKR04', 'Betriebliche Erträge', 4312, 4000, 'Erlöse aus im Inland steuerpflichtigen EU-Lieferungen 7 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5510, 'SKR04', 'Betriebliche Erträge', 4313, 4000, 'Erlöse aus im Inland steuerpflichtigen EU-Lieferungen 7 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5511, 'SKR04', 'Betriebliche Erträge', 4314, 4000, 'Erlöse aus im Inland steuerpflichtigen EU-Lieferungen 7 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5512, 'SKR04', 'Betriebliche Erträge', 4315, 4000, 'Erlöse aus im Inland steuerpflichtigen EU-Lieferungen 19 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5513, 'SKR04', 'Betriebliche Erträge', 4316, 4000, 'Erlöse aus im Inland steuerpflichtigen EU-Lieferungen 19 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5514, 'SKR04', 'Betriebliche Erträge', 4317, 4000, 'Erlöse aus im Inland steuerpflichtigen EU-Lieferungen 19 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5515, 'SKR04', 'Betriebliche Erträge', 4318, 4000, 'Erlöse aus im Inland steuerpflichtigen EU-Lieferungen 19 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5516, 'SKR04', 'Betriebliche Erträge', 4319, 4000, 'Erlöse aus im Inland steuerpflichtigen EU-Lieferungen 19 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5517, 'SKR04', 'Betriebliche Erträge', 4320, 4000, 'Erlöse aus im anderen EU-Land steuerpflichtigen Lieferungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5518, 'SKR04', 'Betriebliche Erträge', 4321, 4000, 'Erlöse aus im anderen EU-Land steuerpflichtigen Lieferungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5519, 'SKR04', 'Betriebliche Erträge', 4322, 4000, 'Erlöse aus im anderen EU-Land steuerpflichtigen Lieferungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5520, 'SKR04', 'Betriebliche Erträge', 4323, 4000, 'Erlöse aus im anderen EU-Land steuerpflichtigen Lieferungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5521, 'SKR04', 'Betriebliche Erträge', 4324, 4000, 'Erlöse aus im anderen EU-Land steuerpflichtigen Lieferungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5522, 'SKR04', 'Betriebliche Erträge', 4325, 4000, 'Erlöse aus im anderen EU-Land steuerpflichtigen Lieferungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5523, 'SKR04', 'Betriebliche Erträge', 4326, 4000, 'Erlöse aus im anderen EU-Land steuerpflichtigen Lieferungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5524, 'SKR04', 'Betriebliche Erträge', 4327, 4000, 'Erlöse aus im anderen EU-Land steuerpflichtigen Lieferungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5525, 'SKR04', 'Betriebliche Erträge', 4328, 4000, 'Erlöse aus im anderen EU-Land steuerpflichtigen Lieferungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5526, 'SKR04', 'Betriebliche Erträge', 4329, 4000, 'Erlöse aus im anderen EU-Land steuerpflichtigen Lieferungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5527, 'SKR04', 'Betriebliche Erträge', 4330, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5528, 'SKR04', 'Betriebliche Erträge', 4331, 4000, 'Erlöse aus im anderen EU-Land steuerpflichtigen elektronischen Dienstleistungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5529, 'SKR04', 'Betriebliche Erträge', 4332, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5530, 'SKR04', 'Betriebliche Erträge', 4333, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5531, 'SKR04', 'Betriebliche Erträge', 4334, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5532, 'SKR04', 'Betriebliche Erträge', 4335, 4000, 'Erlöse aus Lieferungen von Mobilfunkgeräten, Tablet-Computern, Spielekonsolen und integrierten Schaltkreisen, für die der Leistungsempfänger die Umsatzsteuer nach § 13b UStG schuldet'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5533, 'SKR04', 'Betriebliche Erträge', 4336, 4000, 'Erlöse aus im anderen EU-Land steuerpflichtigen sonstigen Leistungen, für die der Leistungsempfänger die Umsatzsteuer schuldet'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5534, 'SKR04', 'Betriebliche Erträge', 4337, 4000, 'Erlöse aus Leistungen, für die der Leistungsempfänger die Umsatzsteuer nach § 13b UStG schuldet'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5535, 'SKR04', 'Betriebliche Erträge', 4338, 4000, 'Erlöse aus im Drittland steuerbaren Leistungen, im Inland nicht steuerbare Umsätze'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5536, 'SKR04', 'Betriebliche Erträge', 4339, 4000, 'Erlöse aus im anderen EU-Land steuerbaren Leistungen, im Inland nicht steuerbare Umsätze'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5537, 'SKR04', 'Betriebliche Erträge', 4340, 4000, 'Erlöse 16 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5538, 'SKR04', 'Betriebliche Erträge', 4341, 4000, 'Erlöse 16 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5539, 'SKR04', 'Betriebliche Erträge', 4342, 4000, 'Erlöse 16 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5540, 'SKR04', 'Betriebliche Erträge', 4343, 4000, 'Erlöse 16 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5541, 'SKR04', 'Betriebliche Erträge', 4344, 4000, 'Erlöse 16 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5542, 'SKR04', 'Betriebliche Erträge', 4345, 4000, 'Erlöse 16 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5543, 'SKR04', 'Betriebliche Erträge', 4346, 4000, 'Erlöse 16 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5544, 'SKR04', 'Betriebliche Erträge', 4347, 4000, 'Erlöse 16 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5545, 'SKR04', 'Betriebliche Erträge', 4348, 4000, 'Erlöse 16 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5546, 'SKR04', 'Betriebliche Erträge', 4349, 4000, 'Erlöse 16 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5547, 'SKR04', 'Betriebliche Erträge', 4400, 4000, 'Erlöse 19 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5548, 'SKR04', 'Betriebliche Erträge', 4401, 4000, 'Erlöse 19 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5549, 'SKR04', 'Betriebliche Erträge', 4402, 4000, 'Erlöse 19 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5550, 'SKR04', 'Betriebliche Erträge', 4403, 4000, 'Erlöse 19 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5551, 'SKR04', 'Betriebliche Erträge', 4404, 4000, 'Erlöse 19 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5552, 'SKR04', 'Betriebliche Erträge', 4405, 4000, 'Erlöse 19 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5553, 'SKR04', 'Betriebliche Erträge', 4406, 4000, 'Erlöse 19 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5554, 'SKR04', 'Betriebliche Erträge', 4407, 4000, 'Erlöse 19 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5555, 'SKR04', 'Betriebliche Erträge', 4408, 4000, 'Erlöse 19 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5556, 'SKR04', 'Betriebliche Erträge', 4409, 4000, 'Erlöse 19 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5557, 'SKR04', 'Betriebliche Erträge', 4410, 4000, 'Erlöse 19 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5558, 'SKR04', 'Betriebliche Erträge', 4411, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5559, 'SKR04', 'Betriebliche Erträge', 4412, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5560, 'SKR04', 'Betriebliche Erträge', 4413, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5561, 'SKR04', 'Betriebliche Erträge', 4414, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5562, 'SKR04', 'Betriebliche Erträge', 4415, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5563, 'SKR04', 'Betriebliche Erträge', 4416, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5564, 'SKR04', 'Betriebliche Erträge', 4417, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5565, 'SKR04', 'Betriebliche Erträge', 4418, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5566, 'SKR04', 'Betriebliche Erträge', 4419, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5567, 'SKR04', 'Betriebliche Erträge', 4420, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5568, 'SKR04', 'Betriebliche Erträge', 4421, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5569, 'SKR04', 'Betriebliche Erträge', 4422, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5570, 'SKR04', 'Betriebliche Erträge', 4423, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5571, 'SKR04', 'Betriebliche Erträge', 4424, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5572, 'SKR04', 'Betriebliche Erträge', 4425, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5573, 'SKR04', 'Betriebliche Erträge', 4426, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5574, 'SKR04', 'Betriebliche Erträge', 4427, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5575, 'SKR04', 'Betriebliche Erträge', 4428, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5576, 'SKR04', 'Betriebliche Erträge', 4429, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5577, 'SKR04', 'Betriebliche Erträge', 4430, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5578, 'SKR04', 'Betriebliche Erträge', 4431, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5579, 'SKR04', 'Betriebliche Erträge', 4432, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5580, 'SKR04', 'Betriebliche Erträge', 4433, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5581, 'SKR04', 'Betriebliche Erträge', 4434, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5582, 'SKR04', 'Betriebliche Erträge', 4435, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5583, 'SKR04', 'Betriebliche Erträge', 4436, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5584, 'SKR04', 'Betriebliche Erträge', 4437, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5585, 'SKR04', 'Betriebliche Erträge', 4438, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5586, 'SKR04', 'Betriebliche Erträge', 4439, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5587, 'SKR04', 'Betriebliche Erträge', 4440, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5588, 'SKR04', 'Betriebliche Erträge', 4441, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5589, 'SKR04', 'Betriebliche Erträge', 4442, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5590, 'SKR04', 'Betriebliche Erträge', 4443, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5591, 'SKR04', 'Betriebliche Erträge', 4444, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5592, 'SKR04', 'Betriebliche Erträge', 4445, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5593, 'SKR04', 'Betriebliche Erträge', 4446, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5594, 'SKR04', 'Betriebliche Erträge', 4447, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5595, 'SKR04', 'Betriebliche Erträge', 4448, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5596, 'SKR04', 'Betriebliche Erträge', 4449, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5597, 'SKR04', 'Betriebliche Erträge', 4499, 4000, 'Nebenerlöse (Bezug zu Materialaufwand)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5598, 'SKR04', 'Betriebliche Erträge', 4500, 4, 'Sonderbetriebseinnahmen, Tätigkeitsvergütung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5599, 'SKR04', 'Betriebliche Erträge', 4501, 4, 'Sonderbetriebseinnahmen, Miet-/Pachteinnahmen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5600, 'SKR04', 'Betriebliche Erträge', 4502, 4, 'Sonderbetriebseinnahmen, Zinseinnahmen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5601, 'SKR04', 'Betriebliche Erträge', 4503, 4, 'Sonderbetriebseinnahmen, Haftungsvergütung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5602, 'SKR04', 'Betriebliche Erträge', 4504, 4, 'Sonderbetriebseinnahmen, Pensionszahlungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5603, 'SKR04', 'Betriebliche Erträge', 4505, 4, 'Sonderbetriebseinnahmen, sonstige Sonderbetriebseinnahmen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5604, 'SKR04', 'Betriebliche Erträge', 4510, 4000, 'Erlöse Abfallverwertung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5605, 'SKR04', 'Betriebliche Erträge', 4520, 4000, 'Erlöse Leergut'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5606, 'SKR04', 'Betriebliche Erträge', 4560, 4000, 'Provisionsumsätze'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5607, 'SKR04', 'Betriebliche Erträge', 4561, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5608, 'SKR04', 'Betriebliche Erträge', 4562, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5609, 'SKR04', 'Betriebliche Erträge', 4563, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5610, 'SKR04', 'Betriebliche Erträge', 4564, 4000, 'Provisionsumsätze, steuerfrei (§ 4 Nr. 8 ff. UStG)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5611, 'SKR04', 'Betriebliche Erträge', 4565, 4000, 'Provisionsumsätze, steuerfrei (§ 4 Nr. 5 UStG)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5612, 'SKR04', 'Betriebliche Erträge', 4566, 4000, 'Provisionsumsätze 7 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5613, 'SKR04', 'Betriebliche Erträge', 4567, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5614, 'SKR04', 'Betriebliche Erträge', 4568, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5615, 'SKR04', 'Betriebliche Erträge', 4569, 4000, 'Provisionsumsätze 19 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5616, 'SKR04', 'Betriebliche Erträge', 4570, 4000, 'Sonstige Erträge aus Provisionen, Lizenzen und Patenten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5617, 'SKR04', 'Betriebliche Erträge', 4571, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5618, 'SKR04', 'Betriebliche Erträge', 4572, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5619, 'SKR04', 'Betriebliche Erträge', 4573, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5620, 'SKR04', 'Betriebliche Erträge', 4574, 4000, 'Sonstige Erträge aus Provisionen, Lizenzen und Patenten, steuerfrei § 4 Nr. 8 ff. UStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5621, 'SKR04', 'Betriebliche Erträge', 4575, 4000, 'Sonstige Erträge aus Provisionen, Lizenzen und Patenten, steuerfrei § 4 Nr. 5 UStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5622, 'SKR04', 'Betriebliche Erträge', 4576, 4000, 'Sonstige Erträge aus Provisionen, Lizenzen und Patenten, 7 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5623, 'SKR04', 'Betriebliche Erträge', 4577, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5624, 'SKR04', 'Betriebliche Erträge', 4578, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5625, 'SKR04', 'Betriebliche Erträge', 4579, 4000, 'Sonstige Erträge aus Provisionen, Lizenzen und Patenten, 19 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5626, 'SKR04', 'Betriebliche Erträge', 4580, 4000, 'Statistisches Konto Erlöse zum allgemeinen Umsatzsteuersatz (EÜR)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5627, 'SKR04', 'Betriebliche Erträge', 4581, 4000, 'Statistisches Konto Erlöse zum ermäßigten Umsatzsteuersatz (EÜR)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5628, 'SKR04', 'Betriebliche Erträge', 4582, 4000, 'Statistisches Konto Erlöse steuerfrei und nicht steuerbar (EÜR)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5629, 'SKR04', 'Betriebliche Erträge', 4589, 4000, 'Gegenkonto 4580-4582 bei Aufteilung der Erlöse nach Steuersätzen (EÜR)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5630, 'SKR04', 'Betriebliche Erträge', 4600, 4000, 'Unentgeltliche Wertabgaben'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5631, 'SKR04', 'Betriebliche Erträge', 4605, 4000, 'Entnahme von Gegenständen ohne USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5632, 'SKR04', 'Betriebliche Erträge', 4608, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5633, 'SKR04', 'Betriebliche Erträge', 4609, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5634, 'SKR04', 'Betriebliche Erträge', 4610, 4000, 'Entnahme durch Unternehmer für Zwecke außerhalb des Unternehmens (Waren) 7 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5635, 'SKR04', 'Betriebliche Erträge', 4611, 4000, 'Entnahme durch Unternehmer für Zwecke außerhalb des Unternehmens (Waren) 7 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5636, 'SKR04', 'Betriebliche Erträge', 4612, 4000, 'Entnahme durch Unternehmer für Zwecke außerhalb des Unternehmens (Waren) 7 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5637, 'SKR04', 'Betriebliche Erträge', 4613, 4000, 'Entnahme durch Unternehmer für Zwecke außerhalb des Unternehmens (Waren) 7 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5638, 'SKR04', 'Betriebliche Erträge', 4614, 4000, 'Entnahme durch Unternehmer für Zwecke außerhalb des Unternehmens (Waren) 7 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5639, 'SKR04', 'Betriebliche Erträge', 4615, 4000, 'Entnahme durch Unternehmer für Zwecke außerhalb des Unternehmens (Waren) 7 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5640, 'SKR04', 'Betriebliche Erträge', 4616, 4000, 'Entnahme durch Unternehmer für Zwecke außerhalb des Unternehmens (Waren) 7 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5641, 'SKR04', 'Betriebliche Erträge', 4617, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5642, 'SKR04', 'Betriebliche Erträge', 4618, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5643, 'SKR04', 'Betriebliche Erträge', 4619, 4000, 'Entnahme durch Unternehmer für Zwecke außerhalb des Unternehmens (Waren) ohne USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5644, 'SKR04', 'Betriebliche Erträge', 4620, 4000, 'Entnahme durch Unternehmer für Zwecke außerhalb des Unternehmens (Waren) 19 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5645, 'SKR04', 'Betriebliche Erträge', 4621, 4000, 'Entnahme durch Unternehmer für Zwecke außerhalb des Unternehmens (Waren) 19 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5646, 'SKR04', 'Betriebliche Erträge', 4622, 4000, 'Entnahme durch Unternehmer für Zwecke außerhalb des Unternehmens (Waren) 19 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5647, 'SKR04', 'Betriebliche Erträge', 4623, 4000, 'Entnahme durch Unternehmer für Zwecke außerhalb des Unternehmens (Waren) 19 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5648, 'SKR04', 'Betriebliche Erträge', 4624, 4000, 'Entnahme durch Unternehmer für Zwecke außerhalb des Unternehmens (Waren) 19 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5649, 'SKR04', 'Betriebliche Erträge', 4625, 4000, 'Entnahme durch Unternehmer für Zwecke außerhalb des Unternehmens (Waren) 19 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5650, 'SKR04', 'Betriebliche Erträge', 4626, 4000, 'Entnahme durch Unternehmer für Zwecke außerhalb des Unternehmens (Waren) 19 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5651, 'SKR04', 'Betriebliche Erträge', 4627, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5652, 'SKR04', 'Betriebliche Erträge', 4628, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5653, 'SKR04', 'Betriebliche Erträge', 4629, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5654, 'SKR04', 'Betriebliche Erträge', 4630, 4000, 'Verwendung von Gegenständen für Zwecke außerhalb des Unternehmens 7 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5655, 'SKR04', 'Betriebliche Erträge', 4631, 4000, 'Verwendung von Gegenständen für Zwecke außerhalb des Unternehmens 7 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5656, 'SKR04', 'Betriebliche Erträge', 4632, 4000, 'Verwendung von Gegenständen für Zwecke außerhalb des Unternehmens 7 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5657, 'SKR04', 'Betriebliche Erträge', 4633, 4000, 'Verwendung von Gegenständen für Zwecke außerhalb des Unternehmens 7 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5658, 'SKR04', 'Betriebliche Erträge', 4634, 4000, 'Verwendung von Gegenständen für Zwecke außerhalb des Unternehmens 7 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5659, 'SKR04', 'Betriebliche Erträge', 4635, 4000, 'Verwendung von Gegenständen für Zwecke außerhalb des Unternehmens 7 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5660, 'SKR04', 'Betriebliche Erträge', 4636, 4000, 'Verwendung von Gegenständen für Zwecke außerhalb des Unternehmens 7 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5661, 'SKR04', 'Betriebliche Erträge', 4637, 4000, 'Verwendung von Gegenständen für Zwecke außerhalb des Unternehmens ohne USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5662, 'SKR04', 'Betriebliche Erträge', 4638, 4000, 'Verwendung von Gegenständen für Zwecke außerhalb des Unternehmens ohne USt (Telefon-Nutzung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5663, 'SKR04', 'Betriebliche Erträge', 4639, 4000, 'Verwendung von Gegenständen für Zwecke außerhalb des Unternehmens ohne USt (Kfz-Nutzung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5664, 'SKR04', 'Betriebliche Erträge', 4640, 4000, 'Verwendung von Gegenständen für Zwecke außerhalb des Unternehmens 19 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5665, 'SKR04', 'Betriebliche Erträge', 4641, 4000, 'Verwendung von Gegenständen für Zwecke außerhalb des Unternehmens 19 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5666, 'SKR04', 'Betriebliche Erträge', 4642, 4000, 'Verwendung von Gegenständen für Zwecke außerhalb des Unternehmens 19 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5667, 'SKR04', 'Betriebliche Erträge', 4643, 4000, 'Verwendung von Gegenständen für Zwecke außerhalb des Unternehmens 19 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5668, 'SKR04', 'Betriebliche Erträge', 4644, 4000, 'Verwendung von Gegenständen für Zwecke außerhalb des Unternehmens 19 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5669, 'SKR04', 'Betriebliche Erträge', 4645, 4000, 'Verwendung von Gegenständen für Zwecke außerhalb des Unternehmens 19 % USt (Kfz-Nutzung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5670, 'SKR04', 'Betriebliche Erträge', 4646, 4000, 'Verwendung von Gegenständen für Zwecke außerhalb des Unternehmens 19 % USt (Telefon-Nutzung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5671, 'SKR04', 'Betriebliche Erträge', 4647, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5672, 'SKR04', 'Betriebliche Erträge', 4648, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5673, 'SKR04', 'Betriebliche Erträge', 4649, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5674, 'SKR04', 'Betriebliche Erträge', 4650, 4000, 'Unentgeltliche Erbringung einer sonstigen Leistung 7 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5675, 'SKR04', 'Betriebliche Erträge', 4651, 4000, 'Unentgeltliche Erbringung einer sonstigen Leistung 7 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5676, 'SKR04', 'Betriebliche Erträge', 4652, 4000, 'Unentgeltliche Erbringung einer sonstigen Leistung 7 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5677, 'SKR04', 'Betriebliche Erträge', 4653, 4000, 'Unentgeltliche Erbringung einer sonstigen Leistung 7 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5678, 'SKR04', 'Betriebliche Erträge', 4654, 4000, 'Unentgeltliche Erbringung einer sonstigen Leistung 7 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5679, 'SKR04', 'Betriebliche Erträge', 4655, 4000, 'Unentgeltliche Erbringung einer sonstigen Leistung 7 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5680, 'SKR04', 'Betriebliche Erträge', 4656, 4000, 'Unentgeltliche Erbringung einer sonstigen Leistung 7 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5681, 'SKR04', 'Betriebliche Erträge', 4657, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5682, 'SKR04', 'Betriebliche Erträge', 4658, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5683, 'SKR04', 'Betriebliche Erträge', 4659, 4000, 'Unentgeltliche Erbringung einer sonstigen Leistung ohne USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5684, 'SKR04', 'Betriebliche Erträge', 4660, 4000, 'Unentgeltliche Erbringung einer sonstigen Leistung 19 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5685, 'SKR04', 'Betriebliche Erträge', 4661, 4000, 'Unentgeltliche Erbringung einer sonstigen Leistung 19 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5686, 'SKR04', 'Betriebliche Erträge', 4662, 4000, 'Unentgeltliche Erbringung einer sonstigen Leistung 19 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5687, 'SKR04', 'Betriebliche Erträge', 4663, 4000, 'Unentgeltliche Erbringung einer sonstigen Leistung 19 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5688, 'SKR04', 'Betriebliche Erträge', 4664, 4000, 'Unentgeltliche Erbringung einer sonstigen Leistung 19 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5689, 'SKR04', 'Betriebliche Erträge', 4665, 4000, 'Unentgeltliche Erbringung einer sonstigen Leistung 19 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5690, 'SKR04', 'Betriebliche Erträge', 4666, 4000, 'Unentgeltliche Erbringung einer sonstigen Leistung 19 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5691, 'SKR04', 'Betriebliche Erträge', 4667, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5692, 'SKR04', 'Betriebliche Erträge', 4668, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5693, 'SKR04', 'Betriebliche Erträge', 4669, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5694, 'SKR04', 'Betriebliche Erträge', 4670, 4000, 'Unentgeltliche Zuwendung von Waren 7 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5695, 'SKR04', 'Betriebliche Erträge', 4671, 4000, 'Unentgeltliche Zuwendung von Waren 7 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5696, 'SKR04', 'Betriebliche Erträge', 4672, 4000, 'Unentgeltliche Zuwendung von Waren 7 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5697, 'SKR04', 'Betriebliche Erträge', 4673, 4000, 'Unentgeltliche Zuwendung von Waren 7 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5698, 'SKR04', 'Betriebliche Erträge', 4674, 4000, 'Unentgeltliche Zuwendung von Waren 7 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5699, 'SKR04', 'Betriebliche Erträge', 4675, 4000, 'Unentgeltliche Zuwendung von Waren 7 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5700, 'SKR04', 'Betriebliche Erträge', 4676, 4000, 'Unentgeltliche Zuwendung von Waren 7 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5701, 'SKR04', 'Betriebliche Erträge', 4677, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5702, 'SKR04', 'Betriebliche Erträge', 4678, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5703, 'SKR04', 'Betriebliche Erträge', 4679, 4000, 'Unentgeltliche Zuwendung von Waren ohne USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5704, 'SKR04', 'Betriebliche Erträge', 4680, 4000, 'Unentgeltliche Zuwendung von Waren 19 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5705, 'SKR04', 'Betriebliche Erträge', 4681, 4000, 'Unentgeltliche Zuwendung von Waren 19 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5706, 'SKR04', 'Betriebliche Erträge', 4682, 4000, 'Unentgeltliche Zuwendung von Waren 19 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5707, 'SKR04', 'Betriebliche Erträge', 4683, 4000, 'Unentgeltliche Zuwendung von Waren 19 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5708, 'SKR04', 'Betriebliche Erträge', 4684, 4000, 'Unentgeltliche Zuwendung von Waren 19 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5709, 'SKR04', 'Betriebliche Erträge', 4685, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5710, 'SKR04', 'Betriebliche Erträge', 4686, 4000, 'Unentgeltliche Zuwendung von Gegenständen 19 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5711, 'SKR04', 'Betriebliche Erträge', 4688, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5712, 'SKR04', 'Betriebliche Erträge', 4689, 4000, 'Unentgeltliche Zuwendung von Gegenständen ohne USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5713, 'SKR04', 'Betriebliche Erträge', 4690, 4000, 'Nicht steuerbare Umsätze (Innenumsätze)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5714, 'SKR04', 'Betriebliche Erträge', 4695, 4000, 'Umsatzsteuervergütungen, z.B. nach § 24 UStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5715, 'SKR04', 'Betriebliche Erträge', 4699, 4000, 'Direkt mit dem Umsatz verbundene Steuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5716, 'SKR04', 'Betriebliche Erträge', 4700, 4000, 'Erlösschmälerungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5717, 'SKR04', 'Betriebliche Erträge', 4701, 4700, 'Erlösschmälerungen für steuerfreie Umsätze nach § 4 Nr. 8 ff. UStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5718, 'SKR04', 'Betriebliche Erträge', 4702, 4700, 'Erlösschmälerungen für steuerfreie Umsätze nach § 4 Nr. 2-7 UStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5719, 'SKR04', 'Betriebliche Erträge', 4703, 4700, 'Erlösschmälerungen für sonstige steuerfreie Umsätze ohne Vorsteuerabzug'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5720, 'SKR04', 'Betriebliche Erträge', 4704, 4700, 'Erlösschmälerungen für sonstige steuerfreie Umsätze mit Vorsteuerabzug'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5721, 'SKR04', 'Betriebliche Erträge', 4705, 4700, 'Erlösschmälerungen aus steuerfreien Umsätzen § 4 Nr. 1a UStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5722, 'SKR04', 'Betriebliche Erträge', 4706, 4700, 'Erlösschmälerungen für steuerfreie innergemeinschaftliche Dreiecksgeschäfte nach § 25b Abs. 2, 4 UStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5723, 'SKR04', 'Betriebliche Erträge', 4710, 4700, 'Erlösschmälerungen 7 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5724, 'SKR04', 'Betriebliche Erträge', 4711, 4700, 'Erlösschmälerungen 7 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5725, 'SKR04', 'Betriebliche Erträge', 4712, 4700, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5726, 'SKR04', 'Betriebliche Erträge', 4713, 4700, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5727, 'SKR04', 'Betriebliche Erträge', 4714, 4700, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5728, 'SKR04', 'Betriebliche Erträge', 4715, 4700, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5729, 'SKR04', 'Betriebliche Erträge', 4716, 4700, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5730, 'SKR04', 'Betriebliche Erträge', 4717, 4700, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5731, 'SKR04', 'Betriebliche Erträge', 4718, 4700, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5732, 'SKR04', 'Betriebliche Erträge', 4719, 4700, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5733, 'SKR04', 'Betriebliche Erträge', 4720, 4700, 'Erlösschmälerungen 19 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5734, 'SKR04', 'Betriebliche Erträge', 4721, 4700, 'Erlösschmälerungen 19 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5735, 'SKR04', 'Betriebliche Erträge', 4722, 4700, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5736, 'SKR04', 'Betriebliche Erträge', 4723, 4700, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5737, 'SKR04', 'Betriebliche Erträge', 4724, 4700, 'Erlösschmälerungen aus steuerfreien innergemeinschaftlichen Lieferungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5738, 'SKR04', 'Betriebliche Erträge', 4725, 4700, 'Erlösschmälerungen aus im Inland steuerpflichtigen EU-Lieferungen 7 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5739, 'SKR04', 'Betriebliche Erträge', 4726, 4700, 'Erlösschmälerungen aus im Inland steuerpflichtigen EU-Lieferungen 19 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5740, 'SKR04', 'Betriebliche Erträge', 4727, 4700, 'Erlösschmälerungen aus im anderen EU-Land steuerpflichtigen Lieferungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5741, 'SKR04', 'Betriebliche Erträge', 4728, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5742, 'SKR04', 'Betriebliche Erträge', 4729, 4000, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5743, 'SKR04', 'Betriebliche Erträge', 4730, 4000, 'Gewährte Skonti'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5744, 'SKR04', 'Betriebliche Erträge', 4731, 4730, 'Gewährte Skonti 7 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5745, 'SKR04', 'Betriebliche Erträge', 4732, 4730, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5746, 'SKR04', 'Betriebliche Erträge', 4733, 4730, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5747, 'SKR04', 'Betriebliche Erträge', 4734, 4730, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5748, 'SKR04', 'Betriebliche Erträge', 4735, 4730, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5749, 'SKR04', 'Betriebliche Erträge', 4736, 4730, 'Gewährte Skonti 19 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5750, 'SKR04', 'Betriebliche Erträge', 4737, 4730, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5751, 'SKR04', 'Betriebliche Erträge', 4738, 4730, 'Gewährte Skonti aus Lieferungen von Mobilfunkgeräten, Tablet-Computern, Spielekonsolen und integrierten Schaltkreisen, für die der Leistungsempfänger die Umsatzsteuer nach § 13b UStG schuldet'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5752, 'SKR04', 'Betriebliche Erträge', 4741, 4730, 'Gewährte Skonti aus Leistungen, für die der Leistungsempfänger die Umsatzsteuer nach § 13b UStG schuldet'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5753, 'SKR04', 'Betriebliche Erträge', 4742, 4730, 'Gewährte Skonti aus Erlösen aus im anderen EU-Land steuerpflichtigen sonstigen Leistungen, für die der Leistungsempfänger die Umsatzsteuer schuldet'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5754, 'SKR04', 'Betriebliche Erträge', 4743, 4730, 'Gewährte Skonti aus steuerfreien innergemeinschaftlichen Lieferungen § 4 Nr. 1b UStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5755, 'SKR04', 'Betriebliche Erträge', 4744, 4730, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5756, 'SKR04', 'Betriebliche Erträge', 4745, 4730, 'Gewährte Skonti aus im Inland steuerpflichtigen EU-Lieferungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5757, 'SKR04', 'Betriebliche Erträge', 4746, 4730, 'Gewährte Skonti aus im Inland steuerpflichtigen EU-Lieferungen 7 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5758, 'SKR04', 'Betriebliche Erträge', 4747, 4730, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5759, 'SKR04', 'Betriebliche Erträge', 4748, 4730, 'Gewährte Skonti aus im Inland steuerpflichtigen EU-Lieferungen 19 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5760, 'SKR04', 'Betriebliche Erträge', 4749, 4730, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5761, 'SKR04', 'Betriebliche Erträge', 4750, 4769, 'Gewährte Boni 7 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5762, 'SKR04', 'Betriebliche Erträge', 4751, 4769, 'Gewährte Boni 7 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5763, 'SKR04', 'Betriebliche Erträge', 4752, 4769, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5764, 'SKR04', 'Betriebliche Erträge', 4753, 4769, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5765, 'SKR04', 'Betriebliche Erträge', 4754, 4769, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5766, 'SKR04', 'Betriebliche Erträge', 4755, 4769, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5767, 'SKR04', 'Betriebliche Erträge', 4756, 4769, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5768, 'SKR04', 'Betriebliche Erträge', 4757, 4769, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5769, 'SKR04', 'Betriebliche Erträge', 4758, 4769, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5770, 'SKR04', 'Betriebliche Erträge', 4759, 4769, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5771, 'SKR04', 'Betriebliche Erträge', 4760, 4769, 'Gewährte Boni 19 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5772, 'SKR04', 'Betriebliche Erträge', 4761, 4769, 'Gewährte Boni 19 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5773, 'SKR04', 'Betriebliche Erträge', 4762, 4769, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5774, 'SKR04', 'Betriebliche Erträge', 4763, 4769, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5775, 'SKR04', 'Betriebliche Erträge', 4764, 4769, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5776, 'SKR04', 'Betriebliche Erträge', 4765, 4769, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5777, 'SKR04', 'Betriebliche Erträge', 4766, 4769, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5778, 'SKR04', 'Betriebliche Erträge', 4767, 4769, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5779, 'SKR04', 'Betriebliche Erträge', 4768, 4769, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5780, 'SKR04', 'Betriebliche Erträge', 4769, 4000, 'Gewährte Boni'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5781, 'SKR04', 'Betriebliche Erträge', 4770, 4000, 'Gewährte Rabatte'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5782, 'SKR04', 'Betriebliche Erträge', 4780, 4770, 'Gewährte Rabatte 7 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5783, 'SKR04', 'Betriebliche Erträge', 4781, 4770, 'Gewährte Rabatte 7 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5784, 'SKR04', 'Betriebliche Erträge', 4782, 4770, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5785, 'SKR04', 'Betriebliche Erträge', 4783, 4770, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5786, 'SKR04', 'Betriebliche Erträge', 4784, 4770, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5787, 'SKR04', 'Betriebliche Erträge', 4785, 4770, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5788, 'SKR04', 'Betriebliche Erträge', 4786, 4770, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5789, 'SKR04', 'Betriebliche Erträge', 4787, 4770, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5790, 'SKR04', 'Betriebliche Erträge', 4788, 4770, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5791, 'SKR04', 'Betriebliche Erträge', 4789, 4770, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5792, 'SKR04', 'Betriebliche Erträge', 4790, 4770, 'Gewährte Rabatte 19 % Ust'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5793, 'SKR04', 'Betriebliche Erträge', 4791, 4770, 'Gewährte Rabatte 19 % Ust'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5794, 'SKR04', 'Betriebliche Erträge', 4792, 4770, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5795, 'SKR04', 'Betriebliche Erträge', 4793, 4770, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5796, 'SKR04', 'Betriebliche Erträge', 4794, 4770, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5797, 'SKR04', 'Betriebliche Erträge', 4795, 4770, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5798, 'SKR04', 'Betriebliche Erträge', 4796, 4770, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5799, 'SKR04', 'Betriebliche Erträge', 4797, 4770, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5800, 'SKR04', 'Betriebliche Erträge', 4798, 4770, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5801, 'SKR04', 'Betriebliche Erträge', 4799, 4770, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5802, 'SKR04', 'Betriebliche Erträge', 4800, 4, 'Bestandsveränderungen – fertige Erzeugnisse'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5803, 'SKR04', 'Betriebliche Erträge', 4810, 4, 'Bestandsveränderungen – unfertige Erzeugnisse'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5804, 'SKR04', 'Betriebliche Erträge', 4815, 4, 'Bestandsveränderungen – unfertige Leistungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5805, 'SKR04', 'Betriebliche Erträge', 4816, 4, 'Bestandsveränderungen in Ausführung befindlicher Bauaufträge'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5806, 'SKR04', 'Betriebliche Erträge', 4818, 4, 'Bestandsveränderungen in Arbeit befindlicher Aufträge'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5807, 'SKR04', 'Betriebliche Erträge', 4820, 4, 'Andere aktivierte Eigenleistungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5808, 'SKR04', 'Betriebliche Erträge', 4824, 4820, 'Aktivierte Eigenleistungen (den Herstellungskosten zurechenbare Fremdkapitalzinsen)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5809, 'SKR04', 'Betriebliche Erträge', 4825, 4820, 'Aktivierte Eigenleistungen zur Erstellung von selbst geschaffenen immateriellen Vermögensgegenständen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5810, 'SKR04', 'Betriebliche Erträge', 4830, 4, 'Sonstige betriebliche Erträge'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5811, 'SKR04', 'Betriebliche Erträge', 4832, 4830, 'Sonstige betriebliche Erträge von verbundenen Unternehmen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5812, 'SKR04', 'Betriebliche Erträge', 4833, 4830, 'Andere Nebenerlöse'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5813, 'SKR04', 'Betriebliche Erträge', 4834, 4830, 'Sonstige Erträge betrieblich und regelmäßig 16 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5814, 'SKR04', 'Betriebliche Erträge', 4835, 4830, 'Sonstige Erträge betrieblich und regelmäßig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5815, 'SKR04', 'Betriebliche Erträge', 4836, 4830, 'Sonstige Erträge betrieblich und regelmäßig 19 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5816, 'SKR04', 'Betriebliche Erträge', 4837, 4830, 'Sonstige Erträge betriebsfremd und regelmäßig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5817, 'SKR04', 'Betriebliche Erträge', 4838, 4830, 'Erstattete Vorsteuer anderer Länder'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5818, 'SKR04', 'Betriebliche Erträge', 4839, 4830, 'Sonstige Erträge unregelmäßig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5819, 'SKR04', 'Betriebliche Erträge', 4840, 4830, 'Erträge aus der Währungsumrechnung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5820, 'SKR04', 'Betriebliche Erträge', 4841, 4830, 'Sonstige Erträge betrieblich und regelmäßig, steuerfrei § 4 Nr. 8 ff. UStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5821, 'SKR04', 'Betriebliche Erträge', 4842, 4830, 'Sonstige betriebliche Erträge steuerfrei z. B. § 4 Nr. 2-7 UStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5822, 'SKR04', 'Betriebliche Erträge', 4843, 4830, 'Erträge aus Bewertung Finanzmittelfonds'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5823, 'SKR04', 'Betriebliche Erträge', 4844, 4830, 'Erlöse aus Verkäufen Sachanlagevermögen steuerfrei § 4 Nr. 1a UStG (bei Buchgewinn)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5824, 'SKR04', 'Betriebliche Erträge', 4845, 4830, 'Erlöse aus Verkäufen Sachanlagevermögen 19 % USt (bei Buchgewinn)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5825, 'SKR04', 'Betriebliche Erträge', 4846, 4830, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5826, 'SKR04', 'Betriebliche Erträge', 4847, 4830, 'Erträge aus der Währungsumrechnung (nicht § 256a HGB)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5827, 'SKR04', 'Betriebliche Erträge', 4848, 4830, 'Erlöse aus Verkäufen Sachanlagevermögen steuerfrei § 4 Nr. 1b UStG (bei Buchgewinn)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5828, 'SKR04', 'Betriebliche Erträge', 4849, 4830, 'Erlöse aus Verkäufen Sachanlagevermögen (bei Buchgewinn)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5829, 'SKR04', 'Betriebliche Erträge', 4850, 4830, 'Erlöse aus Verkäufen immaterieller Vermögensgengenstände (bei Buchgewinn)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5830, 'SKR04', 'Betriebliche Erträge', 4851, 4830, 'Erlöse aus Verkäufen Finanzanlagen (bei Buchgewinn)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5831, 'SKR04', 'Betriebliche Erträge', 4852, 4830, 'Erlöse aus Verkäufen Finanzanlagen § 3 Nr. 40 EStG/§ 8b Abs. 2 KStG (bei Buchgewinn)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5832, 'SKR04', 'Betriebliche Erträge', 4855, 4830, 'Anlagenabgänge Sachanlagen (Restbuchwert bei Buchgewinn)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5833, 'SKR04', 'Betriebliche Erträge', 4856, 4830, 'Anlagenabgänge immaterielle Vermögensgegenstände (Restbuchwert bei Buchgewinn)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5834, 'SKR04', 'Betriebliche Erträge', 4857, 4830, 'Anlagenabgänge Finanzanlagen (Restbuchwert bei Buchgewinn)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5835, 'SKR04', 'Betriebliche Erträge', 4858, 4830, 'Anlagenabgänge Finanzanlagen § 3 Nr. 40 EStG/§ 8b Abs. 2 KStG (Restbuchwert bei Buchgewinn)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5836, 'SKR04', 'Betriebliche Erträge', 4860, 4830, 'Grundstückserträge'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5837, 'SKR04', 'Betriebliche Erträge', 4861, 4860, 'Erlöse aus Vermietung und Verpachtung, umsatzsteuerfrei § 4 Nr. 12 UStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5838, 'SKR04', 'Betriebliche Erträge', 4862, 4860, 'erlöse aus Vermietung und Verpachtung 19 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5839, 'SKR04', 'Betriebliche Erträge', 4863, 4860, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5840, 'SKR04', 'Betriebliche Erträge', 4864, 4860, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5841, 'SKR04', 'Betriebliche Erträge', 4865, 4830, 'Erlöse aus Verkäufen von Wirtschaftsgütern des Umlaufvermögens 19 % USt für § 4 Abs. 3 Satz 4 EStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5842, 'SKR04', 'Betriebliche Erträge', 4866, 4830, 'Erlöse aus Verkäufen von Wirtschaftsgütern des Umlaufvermögens, umsatzsteuerfrei § 4 Nr. 8 ff. UStG i. V. m. § 4 Abs. 3 Satz 4 EStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5843, 'SKR04', 'Betriebliche Erträge', 4867, 4830, 'Erlöse aus Verkäufen von Wirtschaftsgütern des Umlaufvermögens, umsatzsteuerfrei § 4 Nr. 8 ff. UStG i. V. m. § 4 Abs. 3 Satz 4 EStG, § 3 Nr. 40 EStG/§ 8b Abs. 2 KStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5844, 'SKR04', 'Betriebliche Erträge', 4869, 4830, 'Erlöse aus Verkäufen von Wirtschaftsgütern des Umlaufvermögens nach § 4 Abs. 3 Satz 4 EStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5845, 'SKR04', 'Betriebliche Erträge', 4900, 4830, 'Erträge aus dem Abgang von Gegenständen des Anlagevermögens'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5846, 'SKR04', 'Betriebliche Erträge', 4901, 4830, 'Erträge aus der Veräußerung von Anteilen an Kapitalgesellschaften (Finanzanlagevermögen) § 3 Nr. 40 EStG/§ 8b Abs. 2 KStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5847, 'SKR04', 'Betriebliche Erträge', 4905, 4830, 'Erträge aus dem Abgang von Gegenständen des Umlaufvermögens außer Vorräte'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5848, 'SKR04', 'Betriebliche Erträge', 4906, 4830, 'Erträge aus dem Abgang von Gegenständen des Umlaufvermögens (außer Vorräte) § 3 Nr. 40 EStG/§ 8b Abs. 2 KStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5849, 'SKR04', 'Betriebliche Erträge', 4910, 4830, 'Erträge aus Zuschreibungen des Sachanlagevermögens'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5850, 'SKR04', 'Betriebliche Erträge', 4911, 4830, 'Erträge aus Zuschreibungen des immateriellen Anlagevermögens'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5851, 'SKR04', 'Betriebliche Erträge', 4912, 4830, 'Erträge aus Zuschreibungen des Finanzanlagevermögens'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5852, 'SKR04', 'Betriebliche Erträge', 4913, 4830, 'Erträge aus Zuschreibungen des Finanzanlagevermögens § 3 Nr. 40 EStG/§ 8b Abs. 3 Satz 8 KStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5853, 'SKR04', 'Betriebliche Erträge', 4914, 4830, 'Erträge aus Zuschreibungen § 3 Nr. 40 EStG/§ 8b Abs. 2 KStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5854, 'SKR04', 'Betriebliche Erträge', 4915, 4830, 'Erträge aus Zuschreibungen des Umlaufvermögens (außer Vorräte)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5855, 'SKR04', 'Betriebliche Erträge', 4916, 4830, 'Erträge aus Zuschreibungen des Umlaufvermögens § 3 Nr. 40 EStG/§ 8b Abs. 3 Satz 8 KStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5856, 'SKR04', 'Betriebliche Erträge', 4920, 4830, 'Erträge aus der Herabsetzung der Pauschalwertberichtigung auf Forderungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5857, 'SKR04', 'Betriebliche Erträge', 4923, 4830, 'Erträge aus der Herabsetzung der Einzelwertberichtigung auf Forderungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5858, 'SKR04', 'Betriebliche Erträge', 4925, 4830, 'Erträge aus abgeschriebenen Forderungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5859, 'SKR04', 'Betriebliche Erträge', 4927, 4830, 'Erträge aus der Auflösung einer steuerlichen Rücklage nach § 6b Abs. 3 EStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5860, 'SKR04', 'Betriebliche Erträge', 4828, 4830, 'Erträge aus der Auflösung einer steuerlichen Rücklage nach § 6b Abs. 10 EStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5861, 'SKR04', 'Betriebliche Erträge', 4829, 4830, 'Erträge aus der Auflösung der Rücklage für Ersatzbeschaffung R 6.6 EstR'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5862, 'SKR04', 'Betriebliche Erträge', 4930, 4830, 'Erträge aus der Auflösung von Rückstellungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5863, 'SKR04', 'Betriebliche Erträge', 4932, 4830, 'Erträge aus der Herabsetzung von Verbindlichkeiten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5864, 'SKR04', 'Betriebliche Erträge', 4935, 4830, 'Erträge aus der Auflösung einer steuerlichen Rücklage'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5865, 'SKR04', 'Betriebliche Erträge', 4936, 4830, 'Erträge aus der Auflösung von steuerlichen Rücklagen (Ansparabschreibung nach § 7 g Abs. 2 EStG)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5866, 'SKR04', 'Betriebliche Erträge', 4937, 4830, 'Erträge aus der Auflösung steuerrechtlicher Sonderabschreibungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5867, 'SKR04', 'Betriebliche Erträge', 4938, 4830, 'Erträge aus der Auflösung einer steuerlichen Rücklage nach § 4g EStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5868, 'SKR04', 'Betriebliche Erträge', 4939, 4830, 'Erträge aus der Auflösung von steuerlichen Rücklagen nach 3 53 Abs, 16 EStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5869, 'SKR04', 'Betriebliche Erträge', 4940, 4830, 'Verrechnete sonstige Sachbezüge (keine Waren)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5870, 'SKR04', 'Betriebliche Erträge', 4941, 4830, 'Sachbezüge 7 % USt (Waren)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5871, 'SKR04', 'Betriebliche Erträge', 4942, 4830, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5872, 'SKR04', 'Betriebliche Erträge', 4943, 4830, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5873, 'SKR04', 'Betriebliche Erträge', 4944, 4830, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5874, 'SKR04', 'Betriebliche Erträge', 4945, 4830, 'Sachbezüge 19 % USt (Waren)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5875, 'SKR04', 'Betriebliche Erträge', 4946, 4830, 'Verrechnete sonstige Sachbezüge'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5876, 'SKR04', 'Betriebliche Erträge', 4947, 4830, 'Verrechnete sonstige Sachbezüge aus Kfz-Gestellung 19 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5877, 'SKR04', 'Betriebliche Erträge', 4948, 4830, 'Verrechnete sonstige Sachbezüge 19 % USt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5878, 'SKR04', 'Betriebliche Erträge', 4949, 4830, 'Verrechnete sonstige Sachbezüge ohne Umsatzsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5879, 'SKR04', 'Betriebliche Erträge', 4960, 4830, 'Periodenfremde Erträge'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5880, 'SKR04', 'Betriebliche Erträge', 4970, 4830, 'Versicherungsentschädigungen und Schadenersatzleistungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5881, 'SKR04', 'Betriebliche Erträge', 4972, 4830, 'Erstattungen Aufwendungsausgleichsgesetz'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5882, 'SKR04', 'Betriebliche Erträge', 4975, 4830, 'Investitionszuschüsse (steuerpflichtig)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5883, 'SKR04', 'Betriebliche Erträge', 4980, 4830, 'Investitionszulagen (steuerfrei)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5884, 'SKR04', 'Betriebliche Erträge', 4981, 4830, 'Steuerfreie Erträge aus der Auflösung von steuerlichen Rücklagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5885, 'SKR04', 'Betriebliche Erträge', 4982, 4830, 'Sonstige steuerfreie Betriebseinnahmen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5886, 'SKR04', 'Betriebliche Erträge', 4987, 4830, 'Erträge aus der Aktivierung unentgeltlich erworbener Vermögensgegenstände'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5887, 'SKR04', 'Betriebliche Erträge', 4989, 4830, 'Kostenerstattungen, Rückvergütungen und Gutschriften für frühere Jahre'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5888, 'SKR04', 'Betriebliche Erträge', 4992, 4830, 'Erträge aus Verwaltungskostenumlagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5889, 'SKR04', 'Betriebliche Aufwendungen', 5, 5, 'Betriebliche Aufwendungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5890, 'SKR04', 'Betriebliche Aufwendungen', 5000, 5, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5891, 'SKR04', 'Betriebliche Aufwendungen', 5001, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5892, 'SKR04', 'Betriebliche Aufwendungen', 5002, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5893, 'SKR04', 'Betriebliche Aufwendungen', 5003, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5894, 'SKR04', 'Betriebliche Aufwendungen', 5004, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5895, 'SKR04', 'Betriebliche Aufwendungen', 5005, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5896, 'SKR04', 'Betriebliche Aufwendungen', 5006, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5897, 'SKR04', 'Betriebliche Aufwendungen', 5007, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5898, 'SKR04', 'Betriebliche Aufwendungen', 5008, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5899, 'SKR04', 'Betriebliche Aufwendungen', 5009, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5900, 'SKR04', 'Betriebliche Aufwendungen', 5010, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5901, 'SKR04', 'Betriebliche Aufwendungen', 5011, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5902, 'SKR04', 'Betriebliche Aufwendungen', 5012, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5903, 'SKR04', 'Betriebliche Aufwendungen', 5013, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5904, 'SKR04', 'Betriebliche Aufwendungen', 5014, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5905, 'SKR04', 'Betriebliche Aufwendungen', 5015, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5906, 'SKR04', 'Betriebliche Aufwendungen', 5016, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5907, 'SKR04', 'Betriebliche Aufwendungen', 5017, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5908, 'SKR04', 'Betriebliche Aufwendungen', 5018, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5909, 'SKR04', 'Betriebliche Aufwendungen', 5019, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5910, 'SKR04', 'Betriebliche Aufwendungen', 5020, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5911, 'SKR04', 'Betriebliche Aufwendungen', 5021, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5912, 'SKR04', 'Betriebliche Aufwendungen', 5022, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5913, 'SKR04', 'Betriebliche Aufwendungen', 5023, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5914, 'SKR04', 'Betriebliche Aufwendungen', 5024, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5915, 'SKR04', 'Betriebliche Aufwendungen', 5025, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5916, 'SKR04', 'Betriebliche Aufwendungen', 5026, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5917, 'SKR04', 'Betriebliche Aufwendungen', 5027, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5918, 'SKR04', 'Betriebliche Aufwendungen', 5028, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5919, 'SKR04', 'Betriebliche Aufwendungen', 5029, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5920, 'SKR04', 'Betriebliche Aufwendungen', 5030, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5921, 'SKR04', 'Betriebliche Aufwendungen', 5031, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5922, 'SKR04', 'Betriebliche Aufwendungen', 5032, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5923, 'SKR04', 'Betriebliche Aufwendungen', 5033, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5924, 'SKR04', 'Betriebliche Aufwendungen', 5034, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5925, 'SKR04', 'Betriebliche Aufwendungen', 5035, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5926, 'SKR04', 'Betriebliche Aufwendungen', 5036, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5927, 'SKR04', 'Betriebliche Aufwendungen', 5037, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5928, 'SKR04', 'Betriebliche Aufwendungen', 5038, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5929, 'SKR04', 'Betriebliche Aufwendungen', 5039, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5930, 'SKR04', 'Betriebliche Aufwendungen', 5040, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5931, 'SKR04', 'Betriebliche Aufwendungen', 5041, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5932, 'SKR04', 'Betriebliche Aufwendungen', 5042, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5933, 'SKR04', 'Betriebliche Aufwendungen', 5043, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5934, 'SKR04', 'Betriebliche Aufwendungen', 5044, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5935, 'SKR04', 'Betriebliche Aufwendungen', 5045, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5936, 'SKR04', 'Betriebliche Aufwendungen', 5046, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5937, 'SKR04', 'Betriebliche Aufwendungen', 5047, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5938, 'SKR04', 'Betriebliche Aufwendungen', 5048, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5939, 'SKR04', 'Betriebliche Aufwendungen', 5049, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5940, 'SKR04', 'Betriebliche Aufwendungen', 5050, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5941, 'SKR04', 'Betriebliche Aufwendungen', 5051, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5942, 'SKR04', 'Betriebliche Aufwendungen', 5052, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5943, 'SKR04', 'Betriebliche Aufwendungen', 5053, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5944, 'SKR04', 'Betriebliche Aufwendungen', 5054, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5945, 'SKR04', 'Betriebliche Aufwendungen', 5055, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5946, 'SKR04', 'Betriebliche Aufwendungen', 5056, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5947, 'SKR04', 'Betriebliche Aufwendungen', 5057, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5948, 'SKR04', 'Betriebliche Aufwendungen', 5058, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5949, 'SKR04', 'Betriebliche Aufwendungen', 5059, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5950, 'SKR04', 'Betriebliche Aufwendungen', 5060, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5951, 'SKR04', 'Betriebliche Aufwendungen', 5061, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5952, 'SKR04', 'Betriebliche Aufwendungen', 5062, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5953, 'SKR04', 'Betriebliche Aufwendungen', 5063, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5954, 'SKR04', 'Betriebliche Aufwendungen', 5064, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5955, 'SKR04', 'Betriebliche Aufwendungen', 5065, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5956, 'SKR04', 'Betriebliche Aufwendungen', 5066, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5957, 'SKR04', 'Betriebliche Aufwendungen', 5067, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5958, 'SKR04', 'Betriebliche Aufwendungen', 5068, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5959, 'SKR04', 'Betriebliche Aufwendungen', 5069, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5960, 'SKR04', 'Betriebliche Aufwendungen', 5070, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5961, 'SKR04', 'Betriebliche Aufwendungen', 5071, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5962, 'SKR04', 'Betriebliche Aufwendungen', 5072, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5963, 'SKR04', 'Betriebliche Aufwendungen', 5073, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5964, 'SKR04', 'Betriebliche Aufwendungen', 5074, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5965, 'SKR04', 'Betriebliche Aufwendungen', 5075, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5966, 'SKR04', 'Betriebliche Aufwendungen', 5076, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5967, 'SKR04', 'Betriebliche Aufwendungen', 5077, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5968, 'SKR04', 'Betriebliche Aufwendungen', 5078, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5969, 'SKR04', 'Betriebliche Aufwendungen', 5079, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5970, 'SKR04', 'Betriebliche Aufwendungen', 5080, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5971, 'SKR04', 'Betriebliche Aufwendungen', 5081, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5972, 'SKR04', 'Betriebliche Aufwendungen', 5082, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5973, 'SKR04', 'Betriebliche Aufwendungen', 5083, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5974, 'SKR04', 'Betriebliche Aufwendungen', 5084, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5975, 'SKR04', 'Betriebliche Aufwendungen', 5085, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5976, 'SKR04', 'Betriebliche Aufwendungen', 5086, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5977, 'SKR04', 'Betriebliche Aufwendungen', 5087, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5978, 'SKR04', 'Betriebliche Aufwendungen', 5088, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5979, 'SKR04', 'Betriebliche Aufwendungen', 5089, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5980, 'SKR04', 'Betriebliche Aufwendungen', 5090, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5981, 'SKR04', 'Betriebliche Aufwendungen', 5091, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5982, 'SKR04', 'Betriebliche Aufwendungen', 5092, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5983, 'SKR04', 'Betriebliche Aufwendungen', 5093, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5984, 'SKR04', 'Betriebliche Aufwendungen', 5094, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5985, 'SKR04', 'Betriebliche Aufwendungen', 5095, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5986, 'SKR04', 'Betriebliche Aufwendungen', 5096, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5987, 'SKR04', 'Betriebliche Aufwendungen', 5097, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5988, 'SKR04', 'Betriebliche Aufwendungen', 5098, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5989, 'SKR04', 'Betriebliche Aufwendungen', 5099, 5000, 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5990, 'SKR04', 'Betriebliche Aufwendungen', 5100, 5, 'Einkauf Roh-, Hilfs- und Betriebsstoffe'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5991, 'SKR04', 'Betriebliche Aufwendungen', 5110, 5100, 'Einkauf Roh-, Hilfs- und Betriebsstoffe 7 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5992, 'SKR04', 'Betriebliche Aufwendungen', 5111, 5100, 'Einkauf Roh-, Hilfs- und Betriebsstoffe 7 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5993, 'SKR04', 'Betriebliche Aufwendungen', 5112, 5100, 'Einkauf Roh-, Hilfs- und Betriebsstoffe 7 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5994, 'SKR04', 'Betriebliche Aufwendungen', 5113, 5100, 'Einkauf Roh-, Hilfs- und Betriebsstoffe 7 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5995, 'SKR04', 'Betriebliche Aufwendungen', 5114, 5100, 'Einkauf Roh-, Hilfs- und Betriebsstoffe 7 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5996, 'SKR04', 'Betriebliche Aufwendungen', 5115, 5100, 'Einkauf Roh-, Hilfs- und Betriebsstoffe 7 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5997, 'SKR04', 'Betriebliche Aufwendungen', 5116, 5100, 'Einkauf Roh-, Hilfs- und Betriebsstoffe 7 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5998, 'SKR04', 'Betriebliche Aufwendungen', 5117, 5100, 'Einkauf Roh-, Hilfs- und Betriebsstoffe 7 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 5999, 'SKR04', 'Betriebliche Aufwendungen', 5118, 5100, 'Einkauf Roh-, Hilfs- und Betriebsstoffe 7 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6000, 'SKR04', 'Betriebliche Aufwendungen', 5119, 5100, 'Einkauf Roh-, Hilfs- und Betriebsstoffe 7 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6001, 'SKR04', 'Betriebliche Aufwendungen', 5120, 5100, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6002, 'SKR04', 'Betriebliche Aufwendungen', 5121, 5100, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6003, 'SKR04', 'Betriebliche Aufwendungen', 5122, 5100, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6004, 'SKR04', 'Betriebliche Aufwendungen', 5123, 5100, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6005, 'SKR04', 'Betriebliche Aufwendungen', 5124, 5100, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6006, 'SKR04', 'Betriebliche Aufwendungen', 5125, 5100, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6007, 'SKR04', 'Betriebliche Aufwendungen', 5126, 5100, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6008, 'SKR04', 'Betriebliche Aufwendungen', 5127, 5100, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6009, 'SKR04', 'Betriebliche Aufwendungen', 5128, 5100, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6010, 'SKR04', 'Betriebliche Aufwendungen', 5129, 5100, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6011, 'SKR04', 'Betriebliche Aufwendungen', 5130, 5100, 'Einkauf Roh-, Hilfs- und Betriebsstoffe 19 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6012, 'SKR04', 'Betriebliche Aufwendungen', 5131, 5100, 'Einkauf Roh-, Hilfs- und Betriebsstoffe 19 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6013, 'SKR04', 'Betriebliche Aufwendungen', 5132, 5100, 'Einkauf Roh-, Hilfs- und Betriebsstoffe 19 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6014, 'SKR04', 'Betriebliche Aufwendungen', 5133, 5100, 'Einkauf Roh-, Hilfs- und Betriebsstoffe 19 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6015, 'SKR04', 'Betriebliche Aufwendungen', 5134, 5100, 'Einkauf Roh-, Hilfs- und Betriebsstoffe 19 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6016, 'SKR04', 'Betriebliche Aufwendungen', 5135, 5100, 'Einkauf Roh-, Hilfs- und Betriebsstoffe 19 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6017, 'SKR04', 'Betriebliche Aufwendungen', 5136, 5100, 'Einkauf Roh-, Hilfs- und Betriebsstoffe 19 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6018, 'SKR04', 'Betriebliche Aufwendungen', 5137, 5100, 'Einkauf Roh-, Hilfs- und Betriebsstoffe 19 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6019, 'SKR04', 'Betriebliche Aufwendungen', 5138, 5100, 'Einkauf Roh-, Hilfs- und Betriebsstoffe 19 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6020, 'SKR04', 'Betriebliche Aufwendungen', 5139, 5100, 'Einkauf Roh-, Hilfs- und Betriebsstoffe 19 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6021, 'SKR04', 'Betriebliche Aufwendungen', 5140, 5100, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6022, 'SKR04', 'Betriebliche Aufwendungen', 5141, 5100, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6023, 'SKR04', 'Betriebliche Aufwendungen', 5142, 5100, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6024, 'SKR04', 'Betriebliche Aufwendungen', 5143, 5100, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6025, 'SKR04', 'Betriebliche Aufwendungen', 5144, 5100, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6026, 'SKR04', 'Betriebliche Aufwendungen', 5145, 5100, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6027, 'SKR04', 'Betriebliche Aufwendungen', 5146, 5100, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6028, 'SKR04', 'Betriebliche Aufwendungen', 5147, 5100, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6029, 'SKR04', 'Betriebliche Aufwendungen', 5148, 5100, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6030, 'SKR04', 'Betriebliche Aufwendungen', 5149, 5100, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6031, 'SKR04', 'Betriebliche Aufwendungen', 5150, 5100, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6032, 'SKR04', 'Betriebliche Aufwendungen', 5151, 5100, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6033, 'SKR04', 'Betriebliche Aufwendungen', 5152, 5100, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6034, 'SKR04', 'Betriebliche Aufwendungen', 5153, 5100, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6035, 'SKR04', 'Betriebliche Aufwendungen', 5154, 5100, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6036, 'SKR04', 'Betriebliche Aufwendungen', 5155, 5100, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6037, 'SKR04', 'Betriebliche Aufwendungen', 5156, 5100, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6038, 'SKR04', 'Betriebliche Aufwendungen', 5157, 5100, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6039, 'SKR04', 'Betriebliche Aufwendungen', 5158, 5100, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6040, 'SKR04', 'Betriebliche Aufwendungen', 5159, 5100, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6041, 'SKR04', 'Betriebliche Aufwendungen', 5160, 5100, 'Einkauf Roh-, Hilfs- und Betriebsstoffe, innergemeinschaftlicher Erwerb 7 % Vorsteuer und 7 % Umsatzsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6042, 'SKR04', 'Betriebliche Aufwendungen', 5161, 5100, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6043, 'SKR04', 'Betriebliche Aufwendungen', 5162, 5100, 'Einkauf Roh-, Hilfs- und Betriebsstoffe, innergemeinschaftlicher Erwerb 19 % Vorsteuer und 19 % Umsatzsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6044, 'SKR04', 'Betriebliche Aufwendungen', 5163, 5100, 'Einkauf Roh-, Hilfs- und Betriebsstoffe, innergemeinschaftlicher Erwerb 19 % Vorsteuer und 19 % Umsatzsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6045, 'SKR04', 'Betriebliche Aufwendungen', 5164, 5100, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6046, 'SKR04', 'Betriebliche Aufwendungen', 5165, 5100, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6047, 'SKR04', 'Betriebliche Aufwendungen', 5166, 5100, 'Einkauf Roh-, Hilfs- und Betriebsstoffe, innergemeinschaftlicher Erwerb ohne Vorsteuer und 7 % Umsatzsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6048, 'SKR04', 'Betriebliche Aufwendungen', 5167, 5100, 'Einkauf Roh-, Hilfs- und Betriebsstoffe, innergemeinschaftlicher Erwerb ohne Vorsteuer und 19 % Umsatzsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6049, 'SKR04', 'Betriebliche Aufwendungen', 5168, 5100, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6050, 'SKR04', 'Betriebliche Aufwendungen', 5169, 5100, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6051, 'SKR04', 'Betriebliche Aufwendungen', 5170, 5100, 'Einkauf Roh-, Hilfs- und Betriebsstoffe 5,5 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6052, 'SKR04', 'Betriebliche Aufwendungen', 5171, 5100, 'Einkauf Roh-, Hilfs- und Betriebsstoffe 10,7 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6053, 'SKR04', 'Betriebliche Aufwendungen', 5172, 5100, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6054, 'SKR04', 'Betriebliche Aufwendungen', 5173, 5100, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6055, 'SKR04', 'Betriebliche Aufwendungen', 5174, 5100, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6056, 'SKR04', 'Betriebliche Aufwendungen', 5175, 5100, 'Einkauf Roh-, Hilfs- und Betriebsstoffe aus einem USt-Lager § 13a UStG 7 % Vorsteuer und 7 % Umsatzsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6057, 'SKR04', 'Betriebliche Aufwendungen', 5176, 5100, 'Einkauf Roh-, Hilfs- und Betriebsstoffe aus einem USt-Lager § 13a UStG 19 % Vorsteuer und 19 % Umsatzsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6058, 'SKR04', 'Betriebliche Aufwendungen', 5177, 5100, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6059, 'SKR04', 'Betriebliche Aufwendungen', 5178, 5100, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6060, 'SKR04', 'Betriebliche Aufwendungen', 5179, 5100, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6061, 'SKR04', 'Betriebliche Aufwendungen', 5180, 5100, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6062, 'SKR04', 'Betriebliche Aufwendungen', 5181, 5100, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6063, 'SKR04', 'Betriebliche Aufwendungen', 5182, 5100, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6064, 'SKR04', 'Betriebliche Aufwendungen', 5183, 5100, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6065, 'SKR04', 'Betriebliche Aufwendungen', 5184, 5100, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6066, 'SKR04', 'Betriebliche Aufwendungen', 5185, 5100, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6067, 'SKR04', 'Betriebliche Aufwendungen', 5186, 5100, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6068, 'SKR04', 'Betriebliche Aufwendungen', 5187, 5100, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6069, 'SKR04', 'Betriebliche Aufwendungen', 5188, 5100, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6070, 'SKR04', 'Betriebliche Aufwendungen', 5189, 5100, 'Erwerb Roh-, Hilfs- und Betriebsstoffe als letzter Abnehmer innerhalb Dreiecksgeschäft 19 % Vorsteuer und 19 % Umsatzsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6071, 'SKR04', 'Betriebliche Aufwendungen', 5190, 5, 'Energiestoffe (Fertigung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6072, 'SKR04', 'Betriebliche Aufwendungen', 5191, 5190, 'Energiestoffe (Fertigung) 7 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6073, 'SKR04', 'Betriebliche Aufwendungen', 5192, 5190, 'Energiestoffe (Fertigung) 19 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6074, 'SKR04', 'Betriebliche Aufwendungen', 5193, 5190, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6075, 'SKR04', 'Betriebliche Aufwendungen', 5194, 5190, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6076, 'SKR04', 'Betriebliche Aufwendungen', 5195, 5190, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6077, 'SKR04', 'Betriebliche Aufwendungen', 5196, 5190, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6078, 'SKR04', 'Betriebliche Aufwendungen', 5197, 5190, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6079, 'SKR04', 'Betriebliche Aufwendungen', 5198, 5190, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6080, 'SKR04', 'Betriebliche Aufwendungen', 5200, 5, 'Wareneingang'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6081, 'SKR04', 'Betriebliche Aufwendungen', 5300, 5200, 'Wareneingang Vorsteuer 7 %'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6082, 'SKR04', 'Betriebliche Aufwendungen', 5301, 5200, 'Wareneingang Vorsteuer 7 %'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6083, 'SKR04', 'Betriebliche Aufwendungen', 5302, 5200, 'Wareneingang Vorsteuer 7 %'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6084, 'SKR04', 'Betriebliche Aufwendungen', 5303, 5200, 'Wareneingang Vorsteuer 7 %'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6085, 'SKR04', 'Betriebliche Aufwendungen', 5304, 5200, 'Wareneingang Vorsteuer 7 %'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6086, 'SKR04', 'Betriebliche Aufwendungen', 5305, 5200, 'Wareneingang Vorsteuer 7 %'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6087, 'SKR04', 'Betriebliche Aufwendungen', 5306, 5200, 'Wareneingang Vorsteuer 7 %'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6088, 'SKR04', 'Betriebliche Aufwendungen', 5307, 5200, 'Wareneingang Vorsteuer 7 %'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6089, 'SKR04', 'Betriebliche Aufwendungen', 5308, 5200, 'Wareneingang Vorsteuer 7 %'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6090, 'SKR04', 'Betriebliche Aufwendungen', 5309, 5200, 'Wareneingang Vorsteuer 7 %'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6091, 'SKR04', 'Betriebliche Aufwendungen', 5310, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6092, 'SKR04', 'Betriebliche Aufwendungen', 5311, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6093, 'SKR04', 'Betriebliche Aufwendungen', 5312, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6094, 'SKR04', 'Betriebliche Aufwendungen', 5313, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6095, 'SKR04', 'Betriebliche Aufwendungen', 5314, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6096, 'SKR04', 'Betriebliche Aufwendungen', 5315, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6097, 'SKR04', 'Betriebliche Aufwendungen', 5316, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6098, 'SKR04', 'Betriebliche Aufwendungen', 5317, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6099, 'SKR04', 'Betriebliche Aufwendungen', 5318, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6100, 'SKR04', 'Betriebliche Aufwendungen', 5319, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6101, 'SKR04', 'Betriebliche Aufwendungen', 5320, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6102, 'SKR04', 'Betriebliche Aufwendungen', 5321, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6103, 'SKR04', 'Betriebliche Aufwendungen', 5322, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6104, 'SKR04', 'Betriebliche Aufwendungen', 5323, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6105, 'SKR04', 'Betriebliche Aufwendungen', 5324, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6106, 'SKR04', 'Betriebliche Aufwendungen', 5325, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6107, 'SKR04', 'Betriebliche Aufwendungen', 5326, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6108, 'SKR04', 'Betriebliche Aufwendungen', 5327, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6109, 'SKR04', 'Betriebliche Aufwendungen', 5328, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6110, 'SKR04', 'Betriebliche Aufwendungen', 5329, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6111, 'SKR04', 'Betriebliche Aufwendungen', 5330, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6112, 'SKR04', 'Betriebliche Aufwendungen', 5331, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6113, 'SKR04', 'Betriebliche Aufwendungen', 5332, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6114, 'SKR04', 'Betriebliche Aufwendungen', 5333, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6115, 'SKR04', 'Betriebliche Aufwendungen', 5334, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6116, 'SKR04', 'Betriebliche Aufwendungen', 5335, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6117, 'SKR04', 'Betriebliche Aufwendungen', 5336, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6118, 'SKR04', 'Betriebliche Aufwendungen', 5337, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6119, 'SKR04', 'Betriebliche Aufwendungen', 5338, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6120, 'SKR04', 'Betriebliche Aufwendungen', 5339, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6121, 'SKR04', 'Betriebliche Aufwendungen', 5340, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6122, 'SKR04', 'Betriebliche Aufwendungen', 5341, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6123, 'SKR04', 'Betriebliche Aufwendungen', 5342, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6124, 'SKR04', 'Betriebliche Aufwendungen', 5343, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6125, 'SKR04', 'Betriebliche Aufwendungen', 5344, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6126, 'SKR04', 'Betriebliche Aufwendungen', 5345, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6127, 'SKR04', 'Betriebliche Aufwendungen', 5346, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6128, 'SKR04', 'Betriebliche Aufwendungen', 5347, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6129, 'SKR04', 'Betriebliche Aufwendungen', 5348, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6130, 'SKR04', 'Betriebliche Aufwendungen', 5349, 5200, 'Wareneingang ohne Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6131, 'SKR04', 'Betriebliche Aufwendungen', 5400, 5200, 'Wareneingang 19 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6132, 'SKR04', 'Betriebliche Aufwendungen', 5401, 5200, 'Wareneingang 19 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6133, 'SKR04', 'Betriebliche Aufwendungen', 5402, 5200, 'Wareneingang 19 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6134, 'SKR04', 'Betriebliche Aufwendungen', 5403, 5200, 'Wareneingang 19 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6135, 'SKR04', 'Betriebliche Aufwendungen', 5404, 5200, 'Wareneingang 19 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6136, 'SKR04', 'Betriebliche Aufwendungen', 5405, 5200, 'Wareneingang 19 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6137, 'SKR04', 'Betriebliche Aufwendungen', 5406, 5200, 'Wareneingang 19 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6138, 'SKR04', 'Betriebliche Aufwendungen', 5407, 5200, 'Wareneingang 19 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6139, 'SKR04', 'Betriebliche Aufwendungen', 5408, 5200, 'Wareneingang 19 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6140, 'SKR04', 'Betriebliche Aufwendungen', 5409, 5200, 'Wareneingang 19 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6141, 'SKR04', 'Betriebliche Aufwendungen', 5410, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6142, 'SKR04', 'Betriebliche Aufwendungen', 5411, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6143, 'SKR04', 'Betriebliche Aufwendungen', 5412, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6144, 'SKR04', 'Betriebliche Aufwendungen', 5413, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6145, 'SKR04', 'Betriebliche Aufwendungen', 5414, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6146, 'SKR04', 'Betriebliche Aufwendungen', 5415, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6147, 'SKR04', 'Betriebliche Aufwendungen', 5416, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6148, 'SKR04', 'Betriebliche Aufwendungen', 5417, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6149, 'SKR04', 'Betriebliche Aufwendungen', 5418, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6150, 'SKR04', 'Betriebliche Aufwendungen', 5419, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6151, 'SKR04', 'Betriebliche Aufwendungen', 5420, 5200, 'Innergemeinschaftlicher Erwerb 7 % Vorsteuer und 7 % Umsatzsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6152, 'SKR04', 'Betriebliche Aufwendungen', 5421, 5200, 'Innergemeinschaftlicher Erwerb 7 % Vorsteuer und 7 % Umsatzsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6153, 'SKR04', 'Betriebliche Aufwendungen', 5422, 5200, 'Innergemeinschaftlicher Erwerb 7 % Vorsteuer und 7 % Umsatzsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6154, 'SKR04', 'Betriebliche Aufwendungen', 5423, 5200, 'Innergemeinschaftlicher Erwerb 7 % Vorsteuer und 7 % Umsatzsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6155, 'SKR04', 'Betriebliche Aufwendungen', 5424, 5200, 'Innergemeinschaftlicher Erwerb 7 % Vorsteuer und 7 % Umsatzsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6156, 'SKR04', 'Betriebliche Aufwendungen', 5425, 5200, 'Innergemeinschaftlicher Erwerb 19 % Vorsteuer und 19 % Umsatzsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6157, 'SKR04', 'Betriebliche Aufwendungen', 5426, 5200, 'Innergemeinschaftlicher Erwerb 19 % Vorsteuer und 19 % Umsatzsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6158, 'SKR04', 'Betriebliche Aufwendungen', 5427, 5200, 'Innergemeinschaftlicher Erwerb 19 % Vorsteuer und 19 % Umsatzsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6159, 'SKR04', 'Betriebliche Aufwendungen', 5428, 5200, 'Innergemeinschaftlicher Erwerb 19 % Vorsteuer und 19 % Umsatzsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6160, 'SKR04', 'Betriebliche Aufwendungen', 5429, 5200, 'Innergemeinschaftlicher Erwerb 19 % Vorsteuer und 19 % Umsatzsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6161, 'SKR04', 'Betriebliche Aufwendungen', 5430, 5200, 'Innergemeinschaftlicher Erwerb ohne Vorsteuerabzug 7 % Umsatzsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6162, 'SKR04', 'Betriebliche Aufwendungen', 5431, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6163, 'SKR04', 'Betriebliche Aufwendungen', 5432, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6164, 'SKR04', 'Betriebliche Aufwendungen', 5433, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6165, 'SKR04', 'Betriebliche Aufwendungen', 5434, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6166, 'SKR04', 'Betriebliche Aufwendungen', 5435, 5200, 'Innergemeinschaftlicher Erwerb ohne Vorsteuerabzug und 19 % Umsatzsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6167, 'SKR04', 'Betriebliche Aufwendungen', 5436, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6168, 'SKR04', 'Betriebliche Aufwendungen', 5437, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6169, 'SKR04', 'Betriebliche Aufwendungen', 5438, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6170, 'SKR04', 'Betriebliche Aufwendungen', 5439, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6171, 'SKR04', 'Betriebliche Aufwendungen', 5440, 5200, 'Innergemeinschaftlicher Erwerb von Neufahrzeugen von Lieferanten ohne Umsatz-Identifikationsnummer 19 % Vorsteuer und 19 % Umsatzsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6172, 'SKR04', 'Betriebliche Aufwendungen', 5441, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6173, 'SKR04', 'Betriebliche Aufwendungen', 5442, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6174, 'SKR04', 'Betriebliche Aufwendungen', 5443, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6175, 'SKR04', 'Betriebliche Aufwendungen', 5444, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6176, 'SKR04', 'Betriebliche Aufwendungen', 5445, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6177, 'SKR04', 'Betriebliche Aufwendungen', 5446, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6178, 'SKR04', 'Betriebliche Aufwendungen', 5447, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6179, 'SKR04', 'Betriebliche Aufwendungen', 5448, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6180, 'SKR04', 'Betriebliche Aufwendungen', 5449, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6181, 'SKR04', 'Betriebliche Aufwendungen', 5500, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6182, 'SKR04', 'Betriebliche Aufwendungen', 5501, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6183, 'SKR04', 'Betriebliche Aufwendungen', 5502, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6184, 'SKR04', 'Betriebliche Aufwendungen', 5503, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6185, 'SKR04', 'Betriebliche Aufwendungen', 5504, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6186, 'SKR04', 'Betriebliche Aufwendungen', 5505, 5200, 'Wareneingang 5,5 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6187, 'SKR04', 'Betriebliche Aufwendungen', 5506, 5200, 'Wareneingang 5,5 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6188, 'SKR04', 'Betriebliche Aufwendungen', 5507, 5200, 'Wareneingang 5,5 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6189, 'SKR04', 'Betriebliche Aufwendungen', 5508, 5200, 'Wareneingang 5,5 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6190, 'SKR04', 'Betriebliche Aufwendungen', 5509, 5200, 'Wareneingang 5,5 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6191, 'SKR04', 'Betriebliche Aufwendungen', 5510, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6192, 'SKR04', 'Betriebliche Aufwendungen', 5511, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6193, 'SKR04', 'Betriebliche Aufwendungen', 5512, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6194, 'SKR04', 'Betriebliche Aufwendungen', 5513, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6195, 'SKR04', 'Betriebliche Aufwendungen', 5514, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6196, 'SKR04', 'Betriebliche Aufwendungen', 5515, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6197, 'SKR04', 'Betriebliche Aufwendungen', 5516, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6198, 'SKR04', 'Betriebliche Aufwendungen', 5517, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6199, 'SKR04', 'Betriebliche Aufwendungen', 5518, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6200, 'SKR04', 'Betriebliche Aufwendungen', 5519, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6201, 'SKR04', 'Betriebliche Aufwendungen', 5520, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6202, 'SKR04', 'Betriebliche Aufwendungen', 5521, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6203, 'SKR04', 'Betriebliche Aufwendungen', 5522, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6204, 'SKR04', 'Betriebliche Aufwendungen', 5523, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6205, 'SKR04', 'Betriebliche Aufwendungen', 5524, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6206, 'SKR04', 'Betriebliche Aufwendungen', 5525, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6207, 'SKR04', 'Betriebliche Aufwendungen', 5526, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6208, 'SKR04', 'Betriebliche Aufwendungen', 5527, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6209, 'SKR04', 'Betriebliche Aufwendungen', 5528, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6210, 'SKR04', 'Betriebliche Aufwendungen', 5529, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6211, 'SKR04', 'Betriebliche Aufwendungen', 5530, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6212, 'SKR04', 'Betriebliche Aufwendungen', 5531, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6213, 'SKR04', 'Betriebliche Aufwendungen', 5532, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6214, 'SKR04', 'Betriebliche Aufwendungen', 5533, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6215, 'SKR04', 'Betriebliche Aufwendungen', 5534, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6216, 'SKR04', 'Betriebliche Aufwendungen', 5535, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6217, 'SKR04', 'Betriebliche Aufwendungen', 5536, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6218, 'SKR04', 'Betriebliche Aufwendungen', 5537, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6219, 'SKR04', 'Betriebliche Aufwendungen', 5538, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6220, 'SKR04', 'Betriebliche Aufwendungen', 5539, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6221, 'SKR04', 'Betriebliche Aufwendungen', 5540, 5200, 'Wareneingang 10,7 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6222, 'SKR04', 'Betriebliche Aufwendungen', 5541, 5200, 'Wareneingang 10,7 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6223, 'SKR04', 'Betriebliche Aufwendungen', 5542, 5200, 'Wareneingang 10,7 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6224, 'SKR04', 'Betriebliche Aufwendungen', 5543, 5200, 'Wareneingang 10,7 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6225, 'SKR04', 'Betriebliche Aufwendungen', 5544, 5200, 'Wareneingang 10,7 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6226, 'SKR04', 'Betriebliche Aufwendungen', 5545, 5200, 'Wareneingang 10,7 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6227, 'SKR04', 'Betriebliche Aufwendungen', 5546, 5200, 'Wareneingang 10,7 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6228, 'SKR04', 'Betriebliche Aufwendungen', 5547, 5200, 'Wareneingang 10,7 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6229, 'SKR04', 'Betriebliche Aufwendungen', 5548, 5200, 'Wareneingang 10,7 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6230, 'SKR04', 'Betriebliche Aufwendungen', 5549, 5200, 'Wareneingang 10,7 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6231, 'SKR04', 'Betriebliche Aufwendungen', 5550, 5200, 'Steuerfreier innergemeinschaftlicher Erwerb'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6232, 'SKR04', 'Betriebliche Aufwendungen', 5551, 5200, 'Wareneingang im Drittland steuerbar'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6233, 'SKR04', 'Betriebliche Aufwendungen', 5552, 5200, 'Erwerb 1. Abnehmer innerhalb eines Dreiecksgeschäftes'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6234, 'SKR04', 'Betriebliche Aufwendungen', 5553, 5200, 'Erwerb Waren als letzter Abnehmer innerhalb Dreiecksgeschäft 19 % Vorsteuer und 19 % Umsatzsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6235, 'SKR04', 'Betriebliche Aufwendungen', 5554, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6236, 'SKR04', 'Betriebliche Aufwendungen', 5555, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6237, 'SKR04', 'Betriebliche Aufwendungen', 5556, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6238, 'SKR04', 'Betriebliche Aufwendungen', 5557, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6239, 'SKR04', 'Betriebliche Aufwendungen', 5558, 5200, 'Wareneingang im anderen EU-Land steuerbar'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6240, 'SKR04', 'Betriebliche Aufwendungen', 5559, 5200, 'Steuerfreie Einfuhren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6241, 'SKR04', 'Betriebliche Aufwendungen', 5560, 5200, 'Waren aus einem Umsatzsteuerlager, § 13a UStG 7 % Vorsteuer und 7 % Umsatzsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6242, 'SKR04', 'Betriebliche Aufwendungen', 5561, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6243, 'SKR04', 'Betriebliche Aufwendungen', 5562, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6244, 'SKR04', 'Betriebliche Aufwendungen', 5563, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6245, 'SKR04', 'Betriebliche Aufwendungen', 5564, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6246, 'SKR04', 'Betriebliche Aufwendungen', 5565, 5200, 'Waren aus einem Umsatzsteuerlager, § 13a UStG 19 % Vorsteuer und 19 % Umsatzsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6247, 'SKR04', 'Betriebliche Aufwendungen', 5566, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6248, 'SKR04', 'Betriebliche Aufwendungen', 5567, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6249, 'SKR04', 'Betriebliche Aufwendungen', 5568, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6250, 'SKR04', 'Betriebliche Aufwendungen', 5569, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6251, 'SKR04', 'Betriebliche Aufwendungen', 5600, 5200, 'Nicht abziehbare Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6252, 'SKR04', 'Betriebliche Aufwendungen', 5601, 5200, 'Nicht abziehbare Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6253, 'SKR04', 'Betriebliche Aufwendungen', 5602, 5200, 'Nicht abziehbare Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6254, 'SKR04', 'Betriebliche Aufwendungen', 5603, 5200, 'Nicht abziehbare Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6255, 'SKR04', 'Betriebliche Aufwendungen', 5604, 5200, 'Nicht abziehbare Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6256, 'SKR04', 'Betriebliche Aufwendungen', 5605, 5200, 'Nicht abziehbare Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6257, 'SKR04', 'Betriebliche Aufwendungen', 5606, 5200, 'Nicht abziehbare Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6258, 'SKR04', 'Betriebliche Aufwendungen', 5607, 5200, 'Nicht abziehbare Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6259, 'SKR04', 'Betriebliche Aufwendungen', 5608, 5200, 'Nicht abziehbare Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6260, 'SKR04', 'Betriebliche Aufwendungen', 5609, 5200, 'Nicht abziehbare Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6261, 'SKR04', 'Betriebliche Aufwendungen', 5610, 5200, 'Nicht abziehbare Vorsteuer 7 %'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6262, 'SKR04', 'Betriebliche Aufwendungen', 5611, 5200, 'Nicht abziehbare Vorsteuer 7 %'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6263, 'SKR04', 'Betriebliche Aufwendungen', 5612, 5200, 'Nicht abziehbare Vorsteuer 7 %'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6264, 'SKR04', 'Betriebliche Aufwendungen', 5613, 5200, 'Nicht abziehbare Vorsteuer 7 %'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6265, 'SKR04', 'Betriebliche Aufwendungen', 5614, 5200, 'Nicht abziehbare Vorsteuer 7 %'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6266, 'SKR04', 'Betriebliche Aufwendungen', 5615, 5200, 'Nicht abziehbare Vorsteuer 7 %'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6267, 'SKR04', 'Betriebliche Aufwendungen', 5616, 5200, 'Nicht abziehbare Vorsteuer 7 %'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6268, 'SKR04', 'Betriebliche Aufwendungen', 5617, 5200, 'Nicht abziehbare Vorsteuer 7 %'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6269, 'SKR04', 'Betriebliche Aufwendungen', 5618, 5200, 'Nicht abziehbare Vorsteuer 7 %'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6270, 'SKR04', 'Betriebliche Aufwendungen', 5619, 5200, 'Nicht abziehbare Vorsteuer 7 %'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6271, 'SKR04', 'Betriebliche Aufwendungen', 5650, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6272, 'SKR04', 'Betriebliche Aufwendungen', 5651, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6273, 'SKR04', 'Betriebliche Aufwendungen', 5652, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6274, 'SKR04', 'Betriebliche Aufwendungen', 5653, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6275, 'SKR04', 'Betriebliche Aufwendungen', 5654, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6276, 'SKR04', 'Betriebliche Aufwendungen', 5655, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6277, 'SKR04', 'Betriebliche Aufwendungen', 5656, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6278, 'SKR04', 'Betriebliche Aufwendungen', 5657, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6279, 'SKR04', 'Betriebliche Aufwendungen', 5658, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6280, 'SKR04', 'Betriebliche Aufwendungen', 5659, 5200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6281, 'SKR04', 'Betriebliche Aufwendungen', 5660, 5200, 'Nicht abziehbare Vorsteuer 19 %'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6282, 'SKR04', 'Betriebliche Aufwendungen', 5661, 5200, 'Nicht abziehbare Vorsteuer 19 %'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6283, 'SKR04', 'Betriebliche Aufwendungen', 5662, 5200, 'Nicht abziehbare Vorsteuer 19 %'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6284, 'SKR04', 'Betriebliche Aufwendungen', 5663, 5200, 'Nicht abziehbare Vorsteuer 19 %'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6285, 'SKR04', 'Betriebliche Aufwendungen', 5664, 5200, 'Nicht abziehbare Vorsteuer 19 %'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6286, 'SKR04', 'Betriebliche Aufwendungen', 5665, 5200, 'Nicht abziehbare Vorsteuer 19 %'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6287, 'SKR04', 'Betriebliche Aufwendungen', 5666, 5200, 'Nicht abziehbare Vorsteuer 19 %'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6288, 'SKR04', 'Betriebliche Aufwendungen', 5667, 5200, 'Nicht abziehbare Vorsteuer 19 %'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6289, 'SKR04', 'Betriebliche Aufwendungen', 5668, 5200, 'Nicht abziehbare Vorsteuer 19 %'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6290, 'SKR04', 'Betriebliche Aufwendungen', 5669, 5200, 'Nicht abziehbare Vorsteuer 19 %'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6291, 'SKR04', 'Betriebliche Aufwendungen', 5700, 5200, 'Nachlässe'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6292, 'SKR04', 'Betriebliche Aufwendungen', 5701, 5700, 'Nachlässe aus Einkauf Roh-, Hilfs- und Betriebsstoffe'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6293, 'SKR04', 'Betriebliche Aufwendungen', 5710, 5700, 'Nachlässe 7 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6294, 'SKR04', 'Betriebliche Aufwendungen', 5711, 5700, 'Nachlässe 7 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6295, 'SKR04', 'Betriebliche Aufwendungen', 5712, 5700, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6296, 'SKR04', 'Betriebliche Aufwendungen', 5713, 5700, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6297, 'SKR04', 'Betriebliche Aufwendungen', 5714, 5700, 'Nachlässe aus Einkauf Roh-, Hilfs- und Betriebsstoffe 7 %'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6298, 'SKR04', 'Betriebliche Aufwendungen', 5715, 5700, 'Nachlässe aus Einkauf Roh-, Hilfs- und Betriebsstoffe 19 %'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6299, 'SKR04', 'Betriebliche Aufwendungen', 5716, 5700, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6300, 'SKR04', 'Betriebliche Aufwendungen', 5717, 5700, 'Nachlässe aus Einkauf Roh-, Hilfs- und Betriebsstoffe, innergemeinschaftlicher Erwerb 7 % Vorsteuer und 7 % Umsatzsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6301, 'SKR04', 'Betriebliche Aufwendungen', 5718, 5700, 'Nachlässe aus Einkauf Roh-, Hilfs- und Betriebsstoffe, innergemeinschaftlicher Erwerb 19 % Vorsteuer und 19 % Umsatzsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6302, 'SKR04', 'Betriebliche Aufwendungen', 5719, 5700, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6303, 'SKR04', 'Betriebliche Aufwendungen', 5720, 5700, 'Nachlässe 19 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6304, 'SKR04', 'Betriebliche Aufwendungen', 5722, 5700, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6305, 'SKR04', 'Betriebliche Aufwendungen', 5723, 5700, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6306, 'SKR04', 'Betriebliche Aufwendungen', 5724, 5700, 'Nachlässe aus innergemeinschaftlichem Erwerb 7 % Vorsteuer und 7 % Umsatzsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6307, 'SKR04', 'Betriebliche Aufwendungen', 5725, 5700, 'Nachlässe aus innergemeinschaftlichem Erwerb 19 % Vorsteuer und 19 % Umsatzsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6308, 'SKR04', 'Betriebliche Aufwendungen', 5726, 5700, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6309, 'SKR04', 'Betriebliche Aufwendungen', 5727, 5700, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6310, 'SKR04', 'Betriebliche Aufwendungen', 5728, 5700, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6311, 'SKR04', 'Betriebliche Aufwendungen', 5729, 5700, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6312, 'SKR04', 'Betriebliche Aufwendungen', 5730, 5200, 'Erhaltene Skonti'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6313, 'SKR04', 'Betriebliche Aufwendungen', 5731, 5730, 'Erhaltene Skonti 7 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6314, 'SKR04', 'Betriebliche Aufwendungen', 5732, 5730, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6315, 'SKR04', 'Betriebliche Aufwendungen', 5733, 5730, 'Erhaltene Skonti aus Einkauf Roh-, Hilfs- und Betriebsstoffe'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6316, 'SKR04', 'Betriebliche Aufwendungen', 5734, 5730, 'Erhaltene Skonti aus Einkauf Roh-, Hilfs- und Betriebsstoffe 7 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6317, 'SKR04', 'Betriebliche Aufwendungen', 5735, 5730, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6318, 'SKR04', 'Betriebliche Aufwendungen', 5736, 5730, 'Erhaltene Skonti 19 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6319, 'SKR04', 'Betriebliche Aufwendungen', 5737, 5730, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6320, 'SKR04', 'Betriebliche Aufwendungen', 5738, 5730, 'Erhaltene Skonti aus Einkauf Roh-, Hilfs- und Betriebsstoffe 19 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6321, 'SKR04', 'Betriebliche Aufwendungen', 5739, 5730, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6322, 'SKR04', 'Betriebliche Aufwendungen', 5740, 5730, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6323, 'SKR04', 'Betriebliche Aufwendungen', 5741, 5730, 'Erhaltene Skonti aus Einkauf Roh-, Hilfs- und Betriebsstoffe aus steuerpflichtigem innergemeinschaftlichem Erwerb 19 % Vorsteuer und 19 % Umsatzsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6324, 'SKR04', 'Betriebliche Aufwendungen', 5742, 5730, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6325, 'SKR04', 'Betriebliche Aufwendungen', 5743, 5730, 'Erhaltene Skonti aus Einkauf Roh-, Hilfs- und Betriebsstoffe aus steuerpflichtigem innergemeinschaftlichem Erwerb 7 % Vorsteuer und 7 % Umsatzsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6326, 'SKR04', 'Betriebliche Aufwendungen', 5744, 5730, 'Erhaltene Skonti aus Einkauf Roh-, Hilfs- und Betriebsstoffe aus steuerpflichtigem innergemeinschaftlichem Erwerb'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6327, 'SKR04', 'Betriebliche Aufwendungen', 5745, 5730, 'Erhaltene Skonti aus steuerpflichtigem innergemeinschaftlichem Erwerb'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6328, 'SKR04', 'Betriebliche Aufwendungen', 5746, 5730, 'Erhaltene Skonti aus steuerpflichtigem innergemeinschaftlichem Erwerb 7 % Vorsteuer und 7 % Umsatzsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6329, 'SKR04', 'Betriebliche Aufwendungen', 5747, 5730, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6330, 'SKR04', 'Betriebliche Aufwendungen', 5748, 5730, 'Erhaltene Skonti aus steuerpflichtigem innergemeinschaftlichem Erwerb 19 % Vorsteuer und 19 % Umsatzsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6331, 'SKR04', 'Betriebliche Aufwendungen', 5749, 5730, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6332, 'SKR04', 'Betriebliche Aufwendungen', 5750, 5769, 'Erhaltene Boni 7 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6333, 'SKR04', 'Betriebliche Aufwendungen', 5751, 5769, 'Erhaltene Boni 7 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6334, 'SKR04', 'Betriebliche Aufwendungen', 5752, 5769, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6335, 'SKR04', 'Betriebliche Aufwendungen', 5753, 5769, 'Erhaltene Boni aus Einkauf Roh-, Hilfs- und Betriebsstoffe'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6336, 'SKR04', 'Betriebliche Aufwendungen', 5754, 5769, 'Erhaltene Boni aus Einkauf Roh-, Hilfs- und Betriebsstoffe 7 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6337, 'SKR04', 'Betriebliche Aufwendungen', 5755, 5769, 'Erhaltene Boni aus Einkauf Roh-, Hilfs- und Betriebsstoffe 19 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6338, 'SKR04', 'Betriebliche Aufwendungen', 5756, 5769, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6339, 'SKR04', 'Betriebliche Aufwendungen', 5757, 5769, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6340, 'SKR04', 'Betriebliche Aufwendungen', 5758, 5769, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6341, 'SKR04', 'Betriebliche Aufwendungen', 5759, 5769, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6342, 'SKR04', 'Betriebliche Aufwendungen', 5760, 5769, 'Erhaltene Boni 19 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6343, 'SKR04', 'Betriebliche Aufwendungen', 5761, 5769, 'Erhaltene Boni 19 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6344, 'SKR04', 'Betriebliche Aufwendungen', 5762, 5769, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6345, 'SKR04', 'Betriebliche Aufwendungen', 5763, 5769, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6346, 'SKR04', 'Betriebliche Aufwendungen', 5764, 5769, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6347, 'SKR04', 'Betriebliche Aufwendungen', 5765, 5769, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6348, 'SKR04', 'Betriebliche Aufwendungen', 5766, 5769, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6349, 'SKR04', 'Betriebliche Aufwendungen', 5767, 5769, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6350, 'SKR04', 'Betriebliche Aufwendungen', 5768, 5769, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6351, 'SKR04', 'Betriebliche Aufwendungen', 5769, 5200, 'Erhaltene Boni'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6352, 'SKR04', 'Betriebliche Aufwendungen', 5770, 5200, 'Erhaltene Rabatte'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6353, 'SKR04', 'Betriebliche Aufwendungen', 5780, 5770, 'Erhaltene Rabatte 7 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6354, 'SKR04', 'Betriebliche Aufwendungen', 5781, 5770, 'Erhaltene Rabatte 7 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6355, 'SKR04', 'Betriebliche Aufwendungen', 5782, 5770, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6356, 'SKR04', 'Betriebliche Aufwendungen', 5783, 5770, 'Erhaltene Rabatte aus Einkauf Roh-, Hilfs- und Betriebsstoffe'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6357, 'SKR04', 'Betriebliche Aufwendungen', 5784, 5770, 'Erhaltene Rabatte aus Einkauf Roh-, Hilfs- und Betriebsstoffe 7 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6358, 'SKR04', 'Betriebliche Aufwendungen', 5785, 5770, 'Erhaltene Rabatte aus Einkauf Roh-, Hilfs- und Betriebsstoffe 19 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6359, 'SKR04', 'Betriebliche Aufwendungen', 5786, 5770, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6360, 'SKR04', 'Betriebliche Aufwendungen', 5787, 5770, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6361, 'SKR04', 'Betriebliche Aufwendungen', 5788, 5730, 'Erhaltene Skonti aus Einkauf Roh-, Hilfs- und Betriebsstoffe 10,7 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6362, 'SKR04', 'Betriebliche Aufwendungen', 5789, 5730, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6363, 'SKR04', 'Betriebliche Aufwendungen', 5790, 5770, 'Erhaltene Rabatte 19 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6364, 'SKR04', 'Betriebliche Aufwendungen', 5791, 5770, 'Erhaltene Rabatte 19 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6365, 'SKR04', 'Betriebliche Aufwendungen', 5792, 5730, 'Erhaltene Skonti aus Erwerb Roh-, Hilfs- und Betriebsstoffe als letzter Abnehmer innerhalb Dreiecksgeschäft 19 % Vorsteuer und 19 % Umsatzsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6366, 'SKR04', 'Betriebliche Aufwendungen', 5793, 5730, 'Erhaltene Skonti aus Erwerb Waren als letzter Abnehmer innerhalb Dreiecksgeschäfte 19 % Vorsteuer und 19 % Umsatzsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6367, 'SKR04', 'Betriebliche Aufwendungen', 5794, 5730, 'Erhaltene Skonti 5,5 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6368, 'SKR04', 'Betriebliche Aufwendungen', 5795, 5730, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6369, 'SKR04', 'Betriebliche Aufwendungen', 5796, 5730, 'Erhaltene Skonti 10,7 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6370, 'SKR04', 'Betriebliche Aufwendungen', 5797, 5730, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6371, 'SKR04', 'Betriebliche Aufwendungen', 5798, 5730, 'Erhaltene Skonti aus Einkauf Roh-, Hilfs- und Betriebsstoffe 5,5 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6372, 'SKR04', 'Betriebliche Aufwendungen', 5799, 5730, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6373, 'SKR04', 'Betriebliche Aufwendungen', 5800, 5, 'Bezugsnebenkosten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6374, 'SKR04', 'Betriebliche Aufwendungen', 5820, 5, 'Leergut'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6375, 'SKR04', 'Betriebliche Aufwendungen', 5840, 5, 'Zölle und Einfuhrabgaben'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6376, 'SKR04', 'Betriebliche Aufwendungen', 5860, 5, 'Verrechnete Stoffkosten (Gegenkonto 5000-99)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6377, 'SKR04', 'Betriebliche Aufwendungen', 5880, 5, 'Bestandsveränderungen Roh-, Hilfs- und Betriebsstoffe sowie bezogene Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6378, 'SKR04', 'Betriebliche Aufwendungen', 5881, 5, 'Bestandsveränderungen Waren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6379, 'SKR04', 'Betriebliche Aufwendungen', 5885, 5, 'Bestandsveränderungen Roh-, Hilfs- und Betriebsstoffe'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6380, 'SKR04', 'Betriebliche Aufwendungen', 5900, 5, 'Fremdleistungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6381, 'SKR04', 'Betriebliche Aufwendungen', 5906, 5900, 'Fremdleistungen 19 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6382, 'SKR04', 'Betriebliche Aufwendungen', 5907, 5900, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6383, 'SKR04', 'Betriebliche Aufwendungen', 5908, 5900, 'Fremdleistungen 7 % Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6384, 'SKR04', 'Betriebliche Aufwendungen', 5909, 5900, 'Fremdleistungen ohne Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6385, 'SKR04', 'Betriebliche Aufwendungen', 5910, 5, 'Bauleistungen eine im Inland ansässigen Unternehmens 7 % Vorsteuer und 7 % Umsatzsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6386, 'SKR04', 'Betriebliche Aufwendungen', 5911, 5910, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6387, 'SKR04', 'Betriebliche Aufwendungen', 5912, 5910, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6388, 'SKR04', 'Betriebliche Aufwendungen', 5913, 5, 'Sonstige Leistungen eines im andere EU-Land ansässigen Unternehmens 7 % Vorsteuer und 7 % Umsatzsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6389, 'SKR04', 'Betriebliche Aufwendungen', 5914, 5913, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6390, 'SKR04', 'Betriebliche Aufwendungen', 5915, 5, 'Leistungen eines im Ausland ansässigen Unternehmers 7 % Vorsteuer und 7 % Umsatzsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6391, 'SKR04', 'Betriebliche Aufwendungen', 5916, 5915, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6392, 'SKR04', 'Betriebliche Aufwendungen', 5917, 5915, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6393, 'SKR04', 'Betriebliche Aufwendungen', 5918, 5915, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6394, 'SKR04', 'Betriebliche Aufwendungen', 5919, 5915, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6395, 'SKR04', 'Betriebliche Aufwendungen', 5920, 5, 'Bauleistungen eines im Inland ansässigen Unternehmers 19 % Vorsteuer und 19 % Umsatzsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6396, 'SKR04', 'Betriebliche Aufwendungen', 5921, 5, 'Bauleistungen eines im Inland ansässigen Unternehmers 19 % Vorsteuer und 19 % Umsatzsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6397, 'SKR04', 'Betriebliche Aufwendungen', 5922, 5921, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6398, 'SKR04', 'Betriebliche Aufwendungen', 5923, 5, 'Sonstige Leistungen eines im anderen EU-Land ansässigen Unternehmers 19 % Vorsteuer und 19 % Umsatzsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6399, 'SKR04', 'Betriebliche Aufwendungen', 5924, 5923, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6400, 'SKR04', 'Betriebliche Aufwendungen', 5925, 5, 'Leistungen eines im Ausland ansässigen Unternehmers 19 % Vorsteuer und 19 % Umsatzsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6401, 'SKR04', 'Betriebliche Aufwendungen', 5926, 5, 'Leistungen eines im Ausland ansässigen Unternehmers 19 % Vorsteuer und 19 % Umsatzsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6402, 'SKR04', 'Betriebliche Aufwendungen', 5927, 5926, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6403, 'SKR04', 'Betriebliche Aufwendungen', 5928, 5926, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6404, 'SKR04', 'Betriebliche Aufwendungen', 5829, 5926, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6405, 'SKR04', 'Betriebliche Aufwendungen', 5930, 5, 'Bauleistungen eines im Inland ansässigen Unternehmers ohne Vorsteuer und 7 % Umsatzsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6406, 'SKR04', 'Betriebliche Aufwendungen', 5931, 5930, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6407, 'SKR04', 'Betriebliche Aufwendungen', 5932, 5930, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6408, 'SKR04', 'Betriebliche Aufwendungen', 5933, 5, 'Sonstige Leistungen eines im anderen EU-Land ansässigen Unternehmers ohne Vorsteuer und 7 % Umsatzsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6409, 'SKR04', 'Betriebliche Aufwendungen', 5934, 5933, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6410, 'SKR04', 'Betriebliche Aufwendungen', 5935, 5, 'Leistungen eines im Ausland ansässigen Unternehmers ohne Vorsteuer und 7 % Umsatzsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6411, 'SKR04', 'Betriebliche Aufwendungen', 5936, 5935, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6412, 'SKR04', 'Betriebliche Aufwendungen', 5937, 5935, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6413, 'SKR04', 'Betriebliche Aufwendungen', 5938, 5935, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6414, 'SKR04', 'Betriebliche Aufwendungen', 5939, 5935, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6415, 'SKR04', 'Betriebliche Aufwendungen', 5940, 5, 'Bauleistungen eines im Inland ansässigen Unternehmers ohne Vorsteuer und 19 % Umsatzsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6416, 'SKR04', 'Betriebliche Aufwendungen', 5941, 5, 'Bauleistungen eines im Inland ansässigen Unternehmers ohne Vorsteuer und 19 % Umsatzsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6417, 'SKR04', 'Betriebliche Aufwendungen', 5942, 5941, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6418, 'SKR04', 'Betriebliche Aufwendungen', 5943, 5, 'Sonstige Leistungen eines im anderen EU-Land ansässigen Unternehmers ohne Vorsteuer und 19 % Umsatzsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6419, 'SKR04', 'Betriebliche Aufwendungen', 5944, 5943, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6420, 'SKR04', 'Betriebliche Aufwendungen', 5945, 5, 'Leistungen eines im Ausland ansässigen Unternehmers ohne Vorsteuer und 19 % Umsatzsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6421, 'SKR04', 'Betriebliche Aufwendungen', 5946, 5, 'Leistungen eines im Ausland ansässigen Unternehmers ohne Vorsteuer und 19 % Umsatzsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6422, 'SKR04', 'Betriebliche Aufwendungen', 5947, 5946, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6423, 'SKR04', 'Betriebliche Aufwendungen', 5948, 5946, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6424, 'SKR04', 'Betriebliche Aufwendungen', 5949, 5946, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6425, 'SKR04', 'Betriebliche Aufwendungen', 5950, 5, 'Erhaltene Skonti aus Leistungen, für die als Leistungsempfänger die Steuer nach § 13b UStG geschuldet wird'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6426, 'SKR04', 'Betriebliche Aufwendungen', 5951, 5, 'Erhaltene Skonti aus Leistungen, für die als Leistungsempfänger die Steuer nach § 13b UStG geschuldet wird 19 % Vorsteuer und 19 % Umsatzsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6427, 'SKR04', 'Betriebliche Aufwendungen', 5952, 5951, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6428, 'SKR04', 'Betriebliche Aufwendungen', 5953, 5, 'Erhaltene Skonti aus Leistungen, für die als Leistungsempfänger die Steuer nach § 13b UStG geschuldet wird ohne Vorsteuer aber mit Umsatzsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6429, 'SKR04', 'Betriebliche Aufwendungen', 5954, 5, 'Erhaltene Skonti aus Leistungen, für die als Leistungsempfänger die Steuer nach § 13b UStG geschuldet wird ohne Vorsteuer, mit 19 % Umsatzsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6430, 'SKR04', 'Betriebliche Aufwendungen', 5955, 5954, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6431, 'SKR04', 'Betriebliche Aufwendungen', 5956, 5954, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6432, 'SKR04', 'Betriebliche Aufwendungen', 5957, 5954, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6433, 'SKR04', 'Betriebliche Aufwendungen', 5958, 5954, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6434, 'SKR04', 'Betriebliche Aufwendungen', 5959, 5954, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6435, 'SKR04', 'Betriebliche Aufwendungen', 5960, 5, 'Leistungen nach § 13b UStG mit Vorsteuerabzug'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6436, 'SKR04', 'Betriebliche Aufwendungen', 5965, 5, 'Leistungen nach § 13b UStG ohne Vorsteuerabzug'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6437, 'SKR04', 'Betriebliche Aufwendungen', 5970, 5, 'Fremdleistungen (Miet- und Pachtzinsen bewegliche Wirtschaftsgüter)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6438, 'SKR04', 'Betriebliche Aufwendungen', 5975, 5, 'Fremdleistungen (Miet- und Pachtzinsen unbewegliche Wirtschaftsgüter)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6439, 'SKR04', 'Betriebliche Aufwendungen', 5980, 5, 'Fremdleistungen (Entgelte für Rechte und Lizenzen)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6440, 'SKR04', 'Betriebliche Aufwendungen', 5985, 5, 'Fremdleistungen (Vergütungen für die Überlassung von Wirtschaftsgütern – mit Sonderbetriebseinnahme korrespondierend)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6441, 'SKR04', 'Betriebliche Aufwendungen', 6, 6, 'Betriebliche Aufwendungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6442, 'SKR04', 'Betriebliche Aufwendungen', 6000, 6, 'Löhne und Gehälter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6443, 'SKR04', 'Betriebliche Aufwendungen', 6010, 6000, 'Löhne'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6444, 'SKR04', 'Betriebliche Aufwendungen', 6020, 6000, 'Gehälter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6445, 'SKR04', 'Betriebliche Aufwendungen', 6024, 6000, 'Geschäftsführergehälter der GmbH-Gesellschafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6446, 'SKR04', 'Betriebliche Aufwendungen', 6026, 6000, 'Tantiemen Gesellschafter-Geschäftsführer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6447, 'SKR04', 'Betriebliche Aufwendungen', 6027, 6000, 'Geschäftsführergehälter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6448, 'SKR04', 'Betriebliche Aufwendungen', 6028, 6000, 'Vergütung an angestellte Mitunternehmer § 15 EStG (mit Sonderbetriebseinnahme korrespondierend)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6449, 'SKR04', 'Betriebliche Aufwendungen', 6029, 6000, 'Tantiemen Arbeitnehmer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6450, 'SKR04', 'Betriebliche Aufwendungen', 6030, 6000, 'Aushilfslöhne'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6451, 'SKR04', 'Betriebliche Aufwendungen', 6035, 6000, 'Löhne für Minijobs'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6452, 'SKR04', 'Betriebliche Aufwendungen', 6036, 6000, 'Pauschale Steuern für Minijobber'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6453, 'SKR04', 'Betriebliche Aufwendungen', 6037, 6000, 'Pauschale Steuern für Gesellschafter-Geschäftsführer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6454, 'SKR04', 'Betriebliche Aufwendungen', 6038, 6000, 'Pauschale Steuern für angestellte Mitunternehmer § 15 EStG (mit Sonderbetriebseinnahme korrespondierend)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6455, 'SKR04', 'Betriebliche Aufwendungen', 6039, 6000, 'Pauschale Steuern für Arbeitnehmer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6456, 'SKR04', 'Betriebliche Aufwendungen', 6040, 6000, 'Pauschale Steuer für Aushilfen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6457, 'SKR04', 'Betriebliche Aufwendungen', 6045, 6000, 'Bedienungsgelder'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6458, 'SKR04', 'Betriebliche Aufwendungen', 6050, 6000, 'Ehegattengehalt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6459, 'SKR04', 'Betriebliche Aufwendungen', 6060, 6000, 'Freiwillige soziale Aufwendungen, lohnsteuerpflichtig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6460, 'SKR04', 'Betriebliche Aufwendungen', 6066, 6000, 'Freiwillige Zuwendungen an Minijobber'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6461, 'SKR04', 'Betriebliche Aufwendungen', 6067, 6000, 'Freiwillige Zuwendungen an Gesellschafter-Geschäftsführer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6462, 'SKR04', 'Betriebliche Aufwendungen', 6068, 6000, 'Freiwillige Zuwendungen an angestellte Mitunternehmer § 15 EStG (mit Sonderbetriebseinnahme korrespondierend)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6463, 'SKR04', 'Betriebliche Aufwendungen', 6069, 6000, 'Pauschale Steuer auf sonstige Bezüge (z. B. Fahrtkostenzuschüsse)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6464, 'SKR04', 'Betriebliche Aufwendungen', 6070, 6000, 'Krankengeldzuschüsse'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6465, 'SKR04', 'Betriebliche Aufwendungen', 6071, 6000, 'Sachzuwendungen und Dienstleistungen an Minijobber'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6466, 'SKR04', 'Betriebliche Aufwendungen', 6072, 6000, 'Sachzuwendungen und Dienstleistungen an Arbeitnehmer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6467, 'SKR04', 'Betriebliche Aufwendungen', 6073, 6000, 'Sachzuwendungen und Dienstleistungen an Gesellschafter-Geschäftsführer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6468, 'SKR04', 'Betriebliche Aufwendungen', 6074, 6000, 'Sachzuwendungen und Dienstleistungen an angestellte Mitunternehmer § 15 EStG (mit Sonderbetriebseinnahme korrespondierend)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6469, 'SKR04', 'Betriebliche Aufwendungen', 6075, 6000, 'Zuschüsse der Agenturen für Arbeit (Haben)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6470, 'SKR04', 'Betriebliche Aufwendungen', 6076, 6000, 'Aufwendungen aus der Veränderung von Urlaubsrückstellungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6471, 'SKR04', 'Betriebliche Aufwendungen', 6077, 6000, 'Aufwendungen aus der Veränderung von Urlaubsrückstellungen für Gesellschafter-Geschäftsführer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6472, 'SKR04', 'Betriebliche Aufwendungen', 6078, 6000, 'Aufwendungen aus der Veränderung von Urlaubsrückstellungen für angestellte Mitunternehmer § 15 EStG (mit Sonderbetriebseinnahme korrespondierend)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6473, 'SKR04', 'Betriebliche Aufwendungen', 6079, 6000, 'Aufwendungen aus der Veränderung von Urlaubsrückstellungen für Minijobber'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6474, 'SKR04', 'Betriebliche Aufwendungen', 6080, 6000, 'Vermögenswirksame Leistungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6475, 'SKR04', 'Betriebliche Aufwendungen', 6090, 6000, 'Fahrtkostenerstattung Wohnung/Arbeitsstätte'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6476, 'SKR04', 'Betriebliche Aufwendungen', 6100, 6, 'Soziale Abgaben und Aufwendungen für Altersversorgung und für Unterstützung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6477, 'SKR04', 'Betriebliche Aufwendungen', 6110, 6100, 'Gesetzliche soziale Aufwendungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6478, 'SKR04', 'Betriebliche Aufwendungen', 6118, 6100, 'Gesetzliche soziale Aufwendungen für Mitunternehmer § 15 EStG (mit Sonderbetriebseinnahme korrespondierend)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6479, 'SKR04', 'Betriebliche Aufwendungen', 6120, 6100, 'Beiträge zur Berufsgenossenschaft'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6480, 'SKR04', 'Betriebliche Aufwendungen', 6130, 6100, 'Freiwillige soziale Aufwendungen, lohnsteuerfrei'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6481, 'SKR04', 'Betriebliche Aufwendungen', 6140, 6100, 'Aufwendungen für Altersversorgung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6482, 'SKR04', 'Betriebliche Aufwendungen', 6147, 6100, 'Pauschale Steuer auf sonstige Bezüge (z. B. Direktversicherungen)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6483, 'SKR04', 'Betriebliche Aufwendungen', 6148, 6100, 'Aufwendungen für Altersversorgung für Mitunternehmer § 15 EStG (mit Sonderbetriebseinnahme korrespondierend)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6484, 'SKR04', 'Betriebliche Aufwendungen', 6149, 6100, 'Aufwendungen für Altersversorgung für Gesellschafter-Geschäftsführer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6485, 'SKR04', 'Betriebliche Aufwendungen', 6150, 6100, 'Versorgungskasse'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6486, 'SKR04', 'Betriebliche Aufwendungen', 6160, 6100, 'Aufwendungen für Unterstützung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6487, 'SKR04', 'Betriebliche Aufwendungen', 6170, 6100, 'Sonstige soziale Abgaben'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6488, 'SKR04', 'Betriebliche Aufwendungen', 6171, 6100, 'Soziale Abgaben für Minijobber'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6489, 'SKR04', 'Betriebliche Aufwendungen', 6200, 6, 'Abschreibungen auf immaterielle Vermögensgegenstände'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6490, 'SKR04', 'Betriebliche Aufwendungen', 6201, 6, 'Abschreibungen auf selbst geschaffene immaterielle Vermögensgegenstände'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6491, 'SKR04', 'Betriebliche Aufwendungen', 6205, 6, 'Abschreibungen auf den Geschäfts- oder Firmenwert'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6492, 'SKR04', 'Betriebliche Aufwendungen', 6209, 6, 'Außerplanmäßige Abschreibungen auf den Geschäfts- oder Firmenwert'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6493, 'SKR04', 'Betriebliche Aufwendungen', 6210, 6, 'Außerplanmäßige Abschreibungen auf immaterielle Vermögensgegenständen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6494, 'SKR04', 'Betriebliche Aufwendungen', 6211, 6, 'Außerplanmäßige Abschreibungen auf selbst geschaffene immaterielle Vermögensgegenstände'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6495, 'SKR04', 'Betriebliche Aufwendungen', 6220, 6, 'Abschreibungen auf Sachanlagen (ohne AfA auf Kfz und Gebäude)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6496, 'SKR04', 'Betriebliche Aufwendungen', 6221, 6, 'Abschreibungen auf Gebäude'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6497, 'SKR04', 'Betriebliche Aufwendungen', 6222, 6, 'Abschreibungen auf Kfz'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6498, 'SKR04', 'Betriebliche Aufwendungen', 6223, 6, 'Abschreibungen auf Gebäudeteil des häuslichen Arbeitszimmers'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6499, 'SKR04', 'Betriebliche Aufwendungen', 6230, 6, 'Außerplanmäßige Abschreibungen auf Sachanlagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6500, 'SKR04', 'Betriebliche Aufwendungen', 6231, 6, 'Absetzung für außergewöhnliche technische und wirtschaftliche Abnutzung der Gebäude'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6501, 'SKR04', 'Betriebliche Aufwendungen', 6232, 6, 'Absetzung für außergewöhnliche technische und wirtschaftliche Abnutzung des Kfz'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6502, 'SKR04', 'Betriebliche Aufwendungen', 6233, 6, 'Absetzung für außergewöhnliche technische und wirtschaftliche Abnutzung sonstiger Wirtschaftsgüter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6503, 'SKR04', 'Betriebliche Aufwendungen', 6240, 6, 'Abschreibungen auf Sachanlagen auf Grund steuerlicher Sondervorschriften'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6504, 'SKR04', 'Betriebliche Aufwendungen', 6241, 6, 'Sonderabschreibungen nach § 7g Abs. 5 EStG (ohne Kfz)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6505, 'SKR04', 'Betriebliche Aufwendungen', 6242, 6, 'Sonderabschreibungen nach § 7g Abs. 5 EStG (für Kfz)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6506, 'SKR04', 'Betriebliche Aufwendungen', 6243, 6, 'Kürzung der Anschaffungs- oder Herstellungskosten gemäß § 7g Abs. 2 EStG (ohne Kfz)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6507, 'SKR04', 'Betriebliche Aufwendungen', 6244, 6, 'Kürzung der Anschaffungs- oder Herstellungskosten gemäß § 7g Abs. 2 EStG (für Kfz)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6508, 'SKR04', 'Betriebliche Aufwendungen', 6250, 6, 'Kaufleasing'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6509, 'SKR04', 'Betriebliche Aufwendungen', 6260, 6, 'Sofortabschreibungen geringwertiger Wirtschaftsgüter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6510, 'SKR04', 'Betriebliche Aufwendungen', 6262, 6, 'Abschreibungen auf aktivierte, geringwertige Wirtschaftsgüter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6511, 'SKR04', 'Betriebliche Aufwendungen', 6264, 6, 'Abschreibungen auf den Sammelposten Wirtschaftsgüter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6512, 'SKR04', 'Betriebliche Aufwendungen', 6266, 6, 'Außerplanmäßige Abschreibungen auf aktivierte, geringwertige Wirtschaftsgüter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6513, 'SKR04', 'Betriebliche Aufwendungen', 6268, 6266, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6514, 'SKR04', 'Betriebliche Aufwendungen', 6270, 6, 'Abschreibungen auf sonstige Vermögensgegenstände des Umlaufvermögens (soweit unüblich hoch)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6515, 'SKR04', 'Betriebliche Aufwendungen', 6272, 6, 'Abschreibungen auf Umlaufvermögen, steuerrechtlich bedingt (soweit unüblich hoch)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6516, 'SKR04', 'Betriebliche Aufwendungen', 6278, 6, 'Abschreibungen auf Roh-, Hilfs- und Betriebsstoffe/Waren (soweit unüblich hoch)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6517, 'SKR04', 'Betriebliche Aufwendungen', 6279, 6, 'Abschreibungen auf fertige und unfertige Erzeugnisse (soweit unüblich hoch)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6518, 'SKR04', 'Betriebliche Aufwendungen', 6280, 6, 'Forderungsverluste (soweit unüblich hoch)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6519, 'SKR04', 'Betriebliche Aufwendungen', 6281, 6, 'Forderungsverluste 7 % USt (sowie unüblich hoch)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6520, 'SKR04', 'Betriebliche Aufwendungen', 6282, 6281, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6521, 'SKR04', 'Betriebliche Aufwendungen', 6283, 6281, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6522, 'SKR04', 'Betriebliche Aufwendungen', 6284, 6281, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6523, 'SKR04', 'Betriebliche Aufwendungen', 6285, 6281, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6524, 'SKR04', 'Betriebliche Aufwendungen', 6286, 6, 'Forderungsverluste 19 % USt (sowie unüblich hoch)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6525, 'SKR04', 'Betriebliche Aufwendungen', 6287, 6286, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6526, 'SKR04', 'Betriebliche Aufwendungen', 6288, 6286, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6527, 'SKR04', 'Betriebliche Aufwendungen', 6290, 6, 'Abschreibungen auf Forderungen gegenüber Kapitalgesellschaften, an denen eine Beteiligung besteht (soweit unüblich hoch), § 3c EstG/ § 8b Abs. 3 KStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6528, 'SKR04', 'Betriebliche Aufwendungen', 6291, 6, 'Abschreibungen auf Forderungen gegenüber Gesellschaftern und nahe stehenden Personen (soweit unüblich hoch), § 8b Abs. 3 StG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6529, 'SKR04', 'Betriebliche Aufwendungen', 6300, 6, 'Sonstige betriebliche Aufwendungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6530, 'SKR04', 'Betriebliche Aufwendungen', 6302, 6, 'Interimskonto für Aufwendungen in einem anderen Land, bei denen eine Vorsteuervergütung möglich ist'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6531, 'SKR04', 'Betriebliche Aufwendungen', 6303, 6, 'Fremdleistungen/Fremdarbeiten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6532, 'SKR04', 'Betriebliche Aufwendungen', 6304, 6, 'Sonstige Aufwendungen betrieblich und regelmäßig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6533, 'SKR04', 'Betriebliche Aufwendungen', 6305, 6, 'Raumkosten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6534, 'SKR04', 'Betriebliche Aufwendungen', 6310, 6, 'Miete (unbewegliche Wirtschaftsgüter)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6535, 'SKR04', 'Betriebliche Aufwendungen', 6312, 6, 'Miete/Aufwendungen für doppelte Haushaltsführung Unternehmer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6536, 'SKR04', 'Betriebliche Aufwendungen', 6313, 6, 'Vergütung an Gesellschafter für die miet- oder pachtweise Überlassung ihrer unbeweglichen Wirtschaftsgüter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6537, 'SKR04', 'Betriebliche Aufwendungen', 6314, 6, 'Vergütung an Mitunternehmer für die mietweise Überassung ihrer unbeweglichen Wirtschaftsgüter § 15 EStG (mit Sonderbetriebseinnahme korrespondierend)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6538, 'SKR04', 'Betriebliche Aufwendungen', 6315, 6, 'Pacht (unbewegliche Wirtschaftsgüter)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6539, 'SKR04', 'Betriebliche Aufwendungen', 6316, 6, 'Leasing (unbewegliche Wirtschaftsgüter)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6540, 'SKR04', 'Betriebliche Aufwendungen', 6317, 6, 'Aufwendungen für gemietete oder gepachtete unbewegliche Wirtschaftsgüter, die gewerbesteuerlich hinzuzurechnen sind'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6541, 'SKR04', 'Betriebliche Aufwendungen', 6318, 6, 'Miet- und Pachtnebenkosten, die gewerbesteuerlich nicht hinzuzurechnen sind'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6542, 'SKR04', 'Betriebliche Aufwendungen', 6319, 6, 'Vergütung an Mitunternehmer für die pachtweise Überlassung ihrer unbeweglichen Wirtschaftsgüter § 15 EStG (mit Sonderbetriebseinnahme korrespondierend)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6543, 'SKR04', 'Betriebliche Aufwendungen', 6320, 6, 'Heizung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6544, 'SKR04', 'Betriebliche Aufwendungen', 6325, 6, 'Gas, Strom, Wasser'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6545, 'SKR04', 'Betriebliche Aufwendungen', 6330, 6, 'Reinigung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6546, 'SKR04', 'Betriebliche Aufwendungen', 6335, 6, 'Instandhaltung betrieblicher Räume'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6547, 'SKR04', 'Betriebliche Aufwendungen', 6340, 6, 'Abgaben für betrieblich genutzten Grundbesitz'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6548, 'SKR04', 'Betriebliche Aufwendungen', 6345, 6, 'Sonstige Raumkosten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6549, 'SKR04', 'Betriebliche Aufwendungen', 6348, 6, 'Aufwendungen für ein häusliches Arbeitszimmer (abziehbarer Anteil)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6550, 'SKR04', 'Betriebliche Aufwendungen', 6349, 6, 'Aufwendungen für ein häusliches Arbeitszimmer (nicht abziehbarer Anteil)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6551, 'SKR04', 'Betriebliche Aufwendungen', 6350, 6, 'Grundstücksaufwendungen, betrieblich'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6552, 'SKR04', 'Betriebliche Aufwendungen', 6352, 6, 'Sonstige Grundstücksaufwendungen (neutral)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6553, 'SKR04', 'Betriebliche Aufwendungen', 6390, 6, 'Zuwendungen, Spenden, steuerlich nicht abziehbar'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6554, 'SKR04', 'Betriebliche Aufwendungen', 6391, 6, 'Zuwendungen, Spenden für wissenschaftliche und kulturelle Zwecke'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6555, 'SKR04', 'Betriebliche Aufwendungen', 6392, 6, 'Zuwendungen, Spenden für mildtätige Zwecke'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6556, 'SKR04', 'Betriebliche Aufwendungen', 6393, 6, 'Zuwendungen, Spenden für kirchliche, religiöse und gemeinnützige Zwecke'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6557, 'SKR04', 'Betriebliche Aufwendungen', 6394, 6, 'Zuwendungen, Spenden an politische Parteien'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6558, 'SKR04', 'Betriebliche Aufwendungen', 6395, 6, 'Zuwendungen, Spenden in das zu erhaltende Vermögen (Vermögensstock) einer Stiftung für gemeinnützige Zwecke'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6559, 'SKR04', 'Betriebliche Aufwendungen', 6396, 6395, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6560, 'SKR04', 'Betriebliche Aufwendungen', 6397, 6, 'Zuwendungen, Spenden in das zu erhaltende Vermögen (Vermögensstock) einer Stiftung für kirchliche, religiöse und gemeinnützige Zwecke'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6561, 'SKR04', 'Betriebliche Aufwendungen', 6398, 6, 'Zuwendungen, Spenden an Stiftungen in das zu erhaltene Vermögen (Vermögensstock) einer Stiftung für wissenschaftliche, mildtätige, kulturelle Zwecke'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6562, 'SKR04', 'Betriebliche Aufwendungen', 6400, 6, 'Versicherungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6563, 'SKR04', 'Betriebliche Aufwendungen', 6405, 6, 'Versicherungen für Gebäude'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6564, 'SKR04', 'Betriebliche Aufwendungen', 6410, 6, 'Netto-Prämie für Rückdeckung künftiger Versorgungsleistungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6565, 'SKR04', 'Betriebliche Aufwendungen', 6420, 6, 'Beiträge'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6566, 'SKR04', 'Betriebliche Aufwendungen', 6430, 6, 'Sonstige Abgaben'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6567, 'SKR04', 'Betriebliche Aufwendungen', 6436, 6, 'Steuerlich abzugsfähige Verspätungszuschläge und Zwangsgelder'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6568, 'SKR04', 'Betriebliche Aufwendungen', 6437, 6, 'Steuerlich nicht abzugsfähige Verspätungszuschläge und Zwangsgelder'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6569, 'SKR04', 'Betriebliche Aufwendungen', 6440, 6, 'Ausgleichsabgabe i. S d. Schwerbehindertengesetzes'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6570, 'SKR04', 'Betriebliche Aufwendungen', 6450, 6, 'Reparaturen und Instandhaltung von Bauten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6571, 'SKR04', 'Betriebliche Aufwendungen', 6460, 6, 'Reparaturen und Instandhaltung von technischen Anlagen und Maschinen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6572, 'SKR04', 'Betriebliche Aufwendungen', 6470, 6, 'Reparaturen und Instandhaltung von anderen Anlagen und Betriebs- und Geschäftsausstattung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6573, 'SKR04', 'Betriebliche Aufwendungen', 6475, 6, 'Zuführung zu Aufwandsrückstellungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6574, 'SKR04', 'Betriebliche Aufwendungen', 6485, 6, 'Reparaturen und Instandhaltung von anderen Anlagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6575, 'SKR04', 'Betriebliche Aufwendungen', 6490, 6, 'Sonstige Reparaturen und Instandhaltung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6576, 'SKR04', 'Betriebliche Aufwendungen', 6495, 6, 'Wartungskosten für Hard- und Software'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6577, 'SKR04', 'Betriebliche Aufwendungen', 6498, 6, 'Mietleasing beweglicher Wirtschaftsgüter für technische Anlagen und Maschinen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6578, 'SKR04', 'Betriebliche Aufwendungen', 6500, 6, 'Fahrzeugkosten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6579, 'SKR04', 'Betriebliche Aufwendungen', 6520, 6, 'Kfz-Versicherungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6580, 'SKR04', 'Betriebliche Aufwendungen', 6530, 6, 'Laufende Kfz-Betriebskosten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6581, 'SKR04', 'Betriebliche Aufwendungen', 6540, 6, 'Kfz-Reparaturen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6582, 'SKR04', 'Betriebliche Aufwendungen', 6550, 6, 'Garagenmiete'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6583, 'SKR04', 'Betriebliche Aufwendungen', 6560, 6, 'Mietleasing Kfz'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6584, 'SKR04', 'Betriebliche Aufwendungen', 6570, 6, 'Sonstige Kfz-Kosten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6585, 'SKR04', 'Betriebliche Aufwendungen', 6580, 6, 'Mautgebühren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6586, 'SKR04', 'Betriebliche Aufwendungen', 6590, 6, 'Kfz-Kosten für betrieblich genutzte zum Privatvermögen gehörende Kraftfahrzeuge'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6587, 'SKR04', 'Betriebliche Aufwendungen', 6595, 6, 'Fremdfahrzeugkosten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6588, 'SKR04', 'Betriebliche Aufwendungen', 6600, 6, 'Werbekosten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6589, 'SKR04', 'Betriebliche Aufwendungen', 6605, 6, 'Streuartikel'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6590, 'SKR04', 'Betriebliche Aufwendungen', 6610, 6, 'Geschenke abzugsfähig ohne § 37b EStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6591, 'SKR04', 'Betriebliche Aufwendungen', 6611, 6, 'Geschenke abzugsfähig mit § 37b EStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6592, 'SKR04', 'Betriebliche Aufwendungen', 6612, 6, 'Pauschale Steuern für Geschenke und Zugaben abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6593, 'SKR04', 'Betriebliche Aufwendungen', 6620, 6, 'Geschenke nicht abzugsfähig ohne § 37b EStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6594, 'SKR04', 'Betriebliche Aufwendungen', 6621, 6, 'Geschenke nicht abzugsfähig mit § 37b EStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6595, 'SKR04', 'Betriebliche Aufwendungen', 6622, 6, 'Pauschale Steuern für Geschenke und Zuwendungen nicht abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6596, 'SKR04', 'Betriebliche Aufwendungen', 6625, 6, 'Geschenke ausschließlich betrieblich genutzt'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6597, 'SKR04', 'Betriebliche Aufwendungen', 6629, 6, 'Zugaben mit § 37b EStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6598, 'SKR04', 'Betriebliche Aufwendungen', 6630, 6, 'Repräsentationskosten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6599, 'SKR04', 'Betriebliche Aufwendungen', 6640, 6, 'Bewirtungskosten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6600, 'SKR04', 'Betriebliche Aufwendungen', 6641, 6, 'Sonstige eingeschränkt abziehbare Betriebsausgaben (abziehbarer Anteil)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6601, 'SKR04', 'Betriebliche Aufwendungen', 6642, 6, 'Sonstige eingeschränkt abziehbare Betriebsausgaben (nicht abziehbarer Anteil)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6602, 'SKR04', 'Betriebliche Aufwendungen', 6643, 6, 'Aufmerksamkeiten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6603, 'SKR04', 'Betriebliche Aufwendungen', 6644, 6, 'Nicht abzugsfähige Bewirtungskosten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6604, 'SKR04', 'Betriebliche Aufwendungen', 6645, 6, 'Nicht abzugsfähige Betriebsausgaben aus Werbe- und Repräsentationskosten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6605, 'SKR04', 'Betriebliche Aufwendungen', 6650, 6, 'Reisekosten Arbeitnehmer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6606, 'SKR04', 'Betriebliche Aufwendungen', 6660, 6, 'Reisekosten Arbeitnehmer Übernachtungsaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6607, 'SKR04', 'Betriebliche Aufwendungen', 6663, 6, 'Reisekosten Arbeitnehmer Fahrtkosten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6608, 'SKR04', 'Betriebliche Aufwendungen', 6664, 6, 'Reisekosten Arbeitnehmer Verpflegungsmehraufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6609, 'SKR04', 'Betriebliche Aufwendungen', 6665, 6664, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6610, 'SKR04', 'Betriebliche Aufwendungen', 6668, 6, 'Kilometergelderstattung Arbeitnehmer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6611, 'SKR04', 'Betriebliche Aufwendungen', 6670, 6, 'Reisekosten Unternehmer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6612, 'SKR04', 'Betriebliche Aufwendungen', 6672, 6, 'Reisekosten Unternehmer (nicht abziehbarer Anteil)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6613, 'SKR04', 'Betriebliche Aufwendungen', 6673, 6, 'Reisekosten Unternehmer Fahrtkosten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6614, 'SKR04', 'Betriebliche Aufwendungen', 6674, 6, 'Reisekosten Unternehmer Verpflegungsmehraufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6615, 'SKR04', 'Betriebliche Aufwendungen', 6680, 6, 'Reisekosten Unternehmer Übernachtungsaufwand und Reisenebenkosten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6616, 'SKR04', 'Betriebliche Aufwendungen', 6685, 6680, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6617, 'SKR04', 'Betriebliche Aufwendungen', 6686, 6680, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6618, 'SKR04', 'Betriebliche Aufwendungen', 6688, 6, 'Fahrten zwischen Wohnung und Betriebsstätte und Familienheimfahrten (abziehbarer Anteil)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6619, 'SKR04', 'Betriebliche Aufwendungen', 6689, 6, 'Fahrten zwischen Wohnung und Betriebsstätte und Familienheimfahrten (nicht abziehbarer Anteil)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6620, 'SKR04', 'Betriebliche Aufwendungen', 6690, 6, 'Fahrten zwischen Wohnung und Betriebsstätte und Familienheimfahrten (Haben)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6621, 'SKR04', 'Betriebliche Aufwendungen', 6691, 6, 'Verpflegungsmehraufwenungen im Rahmen der doppelten Haushaltsführung Unternehmer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6622, 'SKR04', 'Betriebliche Aufwendungen', 6700, 6, 'Kosten der Warenabgabe'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6623, 'SKR04', 'Betriebliche Aufwendungen', 6710, 6, 'Verpackungsmaterial'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6624, 'SKR04', 'Betriebliche Aufwendungen', 6740, 6, 'Ausgangsfrachten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6625, 'SKR04', 'Betriebliche Aufwendungen', 6760, 6, 'Transportversicherungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6626, 'SKR04', 'Betriebliche Aufwendungen', 6770, 6, 'Verkaufsprovision'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6627, 'SKR04', 'Betriebliche Aufwendungen', 6780, 6, 'Fremdarbeiten (Vertrieb)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6628, 'SKR04', 'Betriebliche Aufwendungen', 6790, 6, 'Aufwand für Gewährleistung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6629, 'SKR04', 'Betriebliche Aufwendungen', 6800, 6, 'Porto'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6630, 'SKR04', 'Betriebliche Aufwendungen', 6805, 6, 'Telefon'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6631, 'SKR04', 'Betriebliche Aufwendungen', 6810, 6, 'Telefax und Internetkosten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6632, 'SKR04', 'Betriebliche Aufwendungen', 6815, 6, 'Bürobedarf'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6633, 'SKR04', 'Betriebliche Aufwendungen', 6820, 6, 'Zeitschriften, Bücher (Fachliteratur)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6634, 'SKR04', 'Betriebliche Aufwendungen', 6821, 6, 'Fortbildungskosten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6635, 'SKR04', 'Betriebliche Aufwendungen', 6822, 6, 'Freiwillige Sozialleistungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6636, 'SKR04', 'Betriebliche Aufwendungen', 6823, 6, 'Vergütung an Mitunternehmer § 15 EStG (mit Sonderbetriebseinnahme korrespondierend)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6637, 'SKR04', 'Betriebliche Aufwendungen', 6824, 6, 'Haftungsvergütung an Mitunternehmer § 15 EStG (mit Sonderbetriebseinnahme korrespondierend)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6638, 'SKR04', 'Betriebliche Aufwendungen', 6825, 6, 'Rechts- und Beratungskosten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6639, 'SKR04', 'Betriebliche Aufwendungen', 6827, 6, 'Abschluss- und Prüfungskosten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6640, 'SKR04', 'Betriebliche Aufwendungen', 6830, 6, 'Buchführungskosten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6641, 'SKR04', 'Betriebliche Aufwendungen', 6833, 6, 'Vergütungen an Gesellschafter für die miet- oder pachtweise Überlassung ihrer beweglichen Wirtschaftsgüter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6642, 'SKR04', 'Betriebliche Aufwendungen', 6834, 6, 'Vergütungen an Mitunternehmer für die miet- oder pachtweise Überlassung ihrer beweglichen Wirtschaftsgüter § 15 EStG (mit Sonderbetriebseinnahme korrespondierend)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6643, 'SKR04', 'Betriebliche Aufwendungen', 6835, 6, 'Mieten für Einrichtungen (bewegliche Wirtschaftsgüter)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6644, 'SKR04', 'Betriebliche Aufwendungen', 6836, 6, 'Pacht (bewegliche Wirtschaftsgüter)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6645, 'SKR04', 'Betriebliche Aufwendungen', 6837, 6, 'Aufwendungen für die zeitlich befristete Überlassung von Rechten (Lizenzen, Konzessionen)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6646, 'SKR04', 'Betriebliche Aufwendungen', 6838, 6, 'Aufwendungen für gemietete oder gepachtete bewegliche Wirtschaftsgüter, die gewerbesteuerlich hinzuzurechnen sind'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6647, 'SKR04', 'Betriebliche Aufwendungen', 6840, 6, 'Mietleasing beweglicher Wirtschaftsgüter für Betriebs- und Geschäftsausstattung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6648, 'SKR04', 'Betriebliche Aufwendungen', 6845, 6, 'Werkzeuge und Kleingeräte'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6649, 'SKR04', 'Betriebliche Aufwendungen', 6850, 6, 'Sonstiger Betriebsbedarf'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6650, 'SKR04', 'Betriebliche Aufwendungen', 6854, 6, 'Genossenschaftliche Rückvergütung an Mitglieder'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6651, 'SKR04', 'Betriebliche Aufwendungen', 6855, 6, 'Nebenkosten des Geldverkehrs'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6652, 'SKR04', 'Betriebliche Aufwendungen', 6856, 6, 'Aufwendungen aus Anteilen an Kapitalgesellschaften §§ 3Nr. 40, 3c EStG/§ 8b Abs. 1 und 4 KStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6653, 'SKR04', 'Betriebliche Aufwendungen', 6857, 6, 'Veräußerungskosten § 3 Nr. 40 EStG/§ 8b Abs. 2 KStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6654, 'SKR04', 'Betriebliche Aufwendungen', 6859, 6, 'Aufwendungen für Abraum- und Abfallbeseitigung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6655, 'SKR04', 'Betriebliche Aufwendungen', 6860, 6, 'Nicht abziehbare Vorsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6656, 'SKR04', 'Betriebliche Aufwendungen', 6865, 6, 'Nicht abziehbare Vorsteuer 7 %'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6657, 'SKR04', 'Betriebliche Aufwendungen', 6871, 6, 'Nicht abziehbare Vorsteuer 19 %'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6658, 'SKR04', 'Betriebliche Aufwendungen', 6875, 6, 'Nicht abziehbare Vorsteuer der Aufsichtsratsvergütungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6659, 'SKR04', 'Betriebliche Aufwendungen', 6876, 6, 'Abziehbare Aufsichtsratsvergütungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6660, 'SKR04', 'Betriebliche Aufwendungen', 6880, 6, 'Aufwendungen aus der Währungsumrechnung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6661, 'SKR04', 'Betriebliche Aufwendungen', 6881, 6, 'Aufwendungen aus der Währungsumrechnung (nicht § 256a HGB)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6662, 'SKR04', 'Betriebliche Aufwendungen', 6883, 6, 'Aufwendungen aus Bewertung Finanzmittelfonds'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6663, 'SKR04', 'Betriebliche Aufwendungen', 6884, 6, 'Erlöse aus Verkäufen Sachanlagevermögen steuerfrei § 4 Nr. 1a UStG (bei Buchverlust)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6664, 'SKR04', 'Betriebliche Aufwendungen', 6885, 6, 'Erlöse aus Verkäufen Sachanlagevermögen 19 % USt (bei Buchverlust)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6665, 'SKR04', 'Betriebliche Aufwendungen', 6886, 6885, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6666, 'SKR04', 'Betriebliche Aufwendungen', 6887, 6885, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6667, 'SKR04', 'Betriebliche Aufwendungen', 6888, 6, 'Erlöse aus Verkäufen Sachanlagevermögen steuerfrei § 4 Nr. 1b UStG (bei Buchverlust)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6668, 'SKR04', 'Betriebliche Aufwendungen', 6889, 6, 'Erlöse aus Verkäufen Sachanlagevermögen (bei Buchverlust)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6669, 'SKR04', 'Betriebliche Aufwendungen', 6890, 6, 'Erlöse aus Verkäufen immaterieller Vermögensgegenstände (bei Buchverlust)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6670, 'SKR04', 'Betriebliche Aufwendungen', 6891, 6, 'Erlöse aus Verkäufen Finanzanlagen (bei Buchverlust)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6671, 'SKR04', 'Betriebliche Aufwendungen', 6892, 6, 'Erlöse aus Verkäufen Finanzanlagen § 3 Nr. 40 EStG/§ 8b Abs. 3 KStG (bei Buchverlust)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6672, 'SKR04', 'Betriebliche Aufwendungen', 6895, 6, 'Anlagenabgänge Sachanlagen (Restbuchwert bei Buchverlust)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6673, 'SKR04', 'Betriebliche Aufwendungen', 6896, 6, 'Anlagenabgänge immaterielle Vermögensgengenstände (Restbuchwert bei Buchverlust)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6674, 'SKR04', 'Betriebliche Aufwendungen', 6897, 6, 'Anlagenabgänge Finanzanlagen (Restbuchwert bei Buchverlust)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6675, 'SKR04', 'Betriebliche Aufwendungen', 6898, 6, 'Anlagenabgänge Finanzanlagen § 3 Nr. 40 EStG/§ 8b Abs. 3 KStG (Restbuchwert bei Buchverlust)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6676, 'SKR04', 'Betriebliche Aufwendungen', 6900, 6, 'Verluste aus dem Abgang von Gegenständen des Anlagevermögens'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6677, 'SKR04', 'Betriebliche Aufwendungen', 6903, 6, 'Verluste aus der Veräußerung von Anteilen an Kapitalgesellschaften (Finanzanlagevermögen) § 3 Nr. 40 EStG/§ 8b Abs. 3 KStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6678, 'SKR04', 'Betriebliche Aufwendungen', 6905, 6, 'Verluste aus dem Abgang von Gegenständen des Anlagevermögens außer Vorräte'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6679, 'SKR04', 'Betriebliche Aufwendungen', 6906, 6, 'Verluste aus dem Abgang von Gegenständen des Anlagevermögens (außer Vorräte) § 3 Nr. 40 EStG/§ 8b Abs. 3 KStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6680, 'SKR04', 'Betriebliche Aufwendungen', 6907, 6, 'Abgang von Wirtschaftsgütern des Umlaufvermögens nach § 4 Abs. 3 Satz 4 EStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6681, 'SKR04', 'Betriebliche Aufwendungen', 6908, 6, 'Abgang von Wirtschaftsgütern des Umlaufvermögens § 3 Nr. 40 EStG/§ 8b Abs. 3 KStG nach § 4 Abs. 3 Satz 4 EStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6682, 'SKR04', 'Betriebliche Aufwendungen', 6910, 6, 'Abschreibungen auf Umlaufvermögen außer Vorräte und Wertpapiere des Umlaufvermögens (übliche Höhe)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6683, 'SKR04', 'Betriebliche Aufwendungen', 6912, 6, 'Abschreibungen auf Umlaufvermögen außer Vorräte und Wertpapiere des Umlaufvermögens, steuerrechtlich bedingt (übliche Höhe)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6684, 'SKR04', 'Betriebliche Aufwendungen', 6918, 6, 'Aufwendungen aus dem Erwerb eigener Anteile'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6685, 'SKR04', 'Betriebliche Aufwendungen', 6920, 6, 'Einstellung in die Pauschalwertberechtigung auf Forderungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6686, 'SKR04', 'Betriebliche Aufwendungen', 6922, 6, 'Einstellungen in die steuerliche Rücklage nach § 6b Abs. 3 EStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6687, 'SKR04', 'Betriebliche Aufwendungen', 6923, 6, 'Einstellung in die Einzelwertberichtigung auf Forderungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6688, 'SKR04', 'Betriebliche Aufwendungen', 6924, 6, 'Einstellungen in die steuerliche Rücklage nach § 6b Abs. 10 EStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6689, 'SKR04', 'Betriebliche Aufwendungen', 6927, 6, 'Einstellung in steuerliche Rücklagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6690, 'SKR04', 'Betriebliche Aufwendungen', 6928, 6, 'Einstellung in die Rücklage für Ersatzbeschaffung nach R 6.6 EstR'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6691, 'SKR04', 'Betriebliche Aufwendungen', 6929, 6, 'Einstellungen in die steuerliche Rücklage nach § 4g EStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6692, 'SKR04', 'Betriebliche Aufwendungen', 6930, 6, 'Forderungsverluste (übliche Höhe)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6693, 'SKR04', 'Betriebliche Aufwendungen', 6931, 6, 'Forderungsverluste 7 % USt (übliche Höhe)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6694, 'SKR04', 'Betriebliche Aufwendungen', 6932, 6, 'Forderungsverluste aus steuerfreien EU-Lieferungen (übliche Höhe)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6695, 'SKR04', 'Betriebliche Aufwendungen', 6933, 6, 'Forderungsverluste aus im Inland steuerpflichtigen EU-Lieferungen 7 % USt (übliche Höhe)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6696, 'SKR04', 'Betriebliche Aufwendungen', 6934, 6933, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6697, 'SKR04', 'Betriebliche Aufwendungen', 6935, 6933, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6698, 'SKR04', 'Betriebliche Aufwendungen', 6936, 6, 'Forderungsverluste 19 % USt (übliche Höhe)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6699, 'SKR04', 'Betriebliche Aufwendungen', 6937, 6936, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6700, 'SKR04', 'Betriebliche Aufwendungen', 6938, 6, 'Forderungsverluste aus im Inland steuerpflichtigen EU-Lieferungen 19 % USt (übliche Höhe)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6701, 'SKR04', 'Betriebliche Aufwendungen', 6939, 6938, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6702, 'SKR04', 'Betriebliche Aufwendungen', 6960, 6, 'Periodenfremde Aufwendungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6703, 'SKR04', 'Betriebliche Aufwendungen', 6967, 6, 'Sonstige Aufwendungen betriebsfremd und regelmäßig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6704, 'SKR04', 'Betriebliche Aufwendungen', 6968, 6, 'Sonstige nicht abziehbare Ausfwendungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6705, 'SKR04', 'Betriebliche Aufwendungen', 6969, 6, 'Sonstige Aufwendungen unregelmäßig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6706, 'SKR04', 'Betriebliche Aufwendungen', 6970, 6, 'Kalkulatorischer Unternehmerlohn'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6707, 'SKR04', 'Betriebliche Aufwendungen', 6972, 6, 'Kalkulatorische Miete/Pacht'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6708, 'SKR04', 'Betriebliche Aufwendungen', 6974, 6, 'Kalkulatorische Zinsen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6709, 'SKR04', 'Betriebliche Aufwendungen', 6976, 6, 'Kalkulatorische Abschreibungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6710, 'SKR04', 'Betriebliche Aufwendungen', 6978, 6, 'Kalkulatorische Wagnisse'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6711, 'SKR04', 'Betriebliche Aufwendungen', 6979, 6, 'Kalkulatorischer Lohn für unentgeltliche Mitarbeiter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6712, 'SKR04', 'Betriebliche Aufwendungen', 6980, 6, 'Verrechneter kalkulatorischer Unternehmerlohn'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6713, 'SKR04', 'Betriebliche Aufwendungen', 6982, 6, 'Verrechnete kalkulatorische Miete/Pacht'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6714, 'SKR04', 'Betriebliche Aufwendungen', 6984, 6, 'Verrechnete kalkulatorische Zinsen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6715, 'SKR04', 'Betriebliche Aufwendungen', 6986, 6, 'Verrechnete kalkulatorische Abschreibungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6716, 'SKR04', 'Betriebliche Aufwendungen', 6988, 6, 'Verrechnete kalkulatorische Wagnisse'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6717, 'SKR04', 'Betriebliche Aufwendungen', 6989, 6, 'Verrechneter kalkulatorischer Lohn für unentgeltliche Mitarbeiter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6718, 'SKR04', 'Betriebliche Aufwendungen', 6990, 6, 'Herstellungskosten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6719, 'SKR04', 'Betriebliche Aufwendungen', 6992, 6, 'Verwaltungskosten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6720, 'SKR04', 'Betriebliche Aufwendungen', 6994, 6, 'Vertriebskosten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6721, 'SKR04', 'Betriebliche Aufwendungen', 6999, 6, 'Gegenkonto 6990-6998'); - ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6722, 'SKR04', 'Weitere Erträge und Aufwendungen', 7, 7, 'Weitere Erträge und Aufwendungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6723, 'SKR04', 'Weitere Erträge und Aufwendungen', 7000, 7, 'Erträge aus Beteiligungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6724, 'SKR04', 'Weitere Erträge und Aufwendungen', 7004, 7000, 'Erträge aus Beteiligungen an Personengesellschaften (verbundene Unternehmen), § 9 GewStG bzw. § 18 EStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6725, 'SKR04', 'Weitere Erträge und Aufwendungen', 7005, 7000, 'Erträge aus Anteilen an Kapitalgesellschaften (Beteiligung) § 3 Nr. 40 EStG/§ 8b Abs. 1 KStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6726, 'SKR04', 'Weitere Erträge und Aufwendungen', 7006, 7000, 'Erträge aus Anteilen an Kapitalgesellschaften (verbundene Unternehmen) § 3 Nr. 40 EStG/ § 8b Abs. 1 KStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6727, 'SKR04', 'Weitere Erträge und Aufwendungen', 7008, 7000, 'Gewinnanteile aus gewerblichen und selbstständigen Mitunternehmerschaften, § 9 GewStG bzw. § 18 EStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6728, 'SKR04', 'Weitere Erträge und Aufwendungen', 7009, 7000, 'Erträge aus Beteiligungen an verbundenen Unternehmen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6729, 'SKR04', 'Weitere Erträge und Aufwendungen', 7010, 7, 'Erträge aus anderen Wertpapieren und Ausleihungen des Finanzanlagevermögens'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6730, 'SKR04', 'Weitere Erträge und Aufwendungen', 7011, 7010, 'Erträge aus Ausleihungen des Finanzanlagevermögens'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6731, 'SKR04', 'Weitere Erträge und Aufwendungen', 7012, 7100, 'Erträge aus Ausleihungen des Finanzanlagevermögens an verbundene Unternehmen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6732, 'SKR04', 'Weitere Erträge und Aufwendungen', 7013, 7100, 'Erträge aus Anteilen an Personengesellschaften (Finanzanlagevermögen)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6733, 'SKR04', 'Weitere Erträge und Aufwendungen', 7014, 7100, 'Erträge aus Anteilen an Kapitalgesellschaften (Finanzanlagevermögen) § 3 Nr. 40 EStG/§ 8b Abs. 1 und 4 KStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6734, 'SKR04', 'Weitere Erträge und Aufwendungen', 7015, 7100, 'Erträge aus Anteilen an Kapitalgesellschaften (verbundene Unternehmen) § 3 Nr. 40 EStG/ § 8b Abs. 1 KStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6735, 'SKR04', 'Weitere Erträge und Aufwendungen', 7016, 7100, 'Erträge aus Anteilen an Personengesellschaften (verbundene Unternehmen)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6736, 'SKR04', 'Weitere Erträge und Aufwendungen', 7017, 7100, 'Erträge aus anderen Wertpapieren des Finanzanlagevermögens an Kapitalgesellschaften (verbunden Unternehmen)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6737, 'SKR04', 'Weitere Erträge und Aufwendungen', 7018, 7100, 'Erträge aus anderen Wertpapieren des Finanzanlagevermögens an Personengesellschaften (verbundene Unternehmen)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6738, 'SKR04', 'Weitere Erträge und Aufwendungen', 7019, 7100, 'Erträge aus anderen Wertpapieren und Ausleihungen des Finanzanlagevermögens aus verbundenen Unternehmen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6739, 'SKR04', 'Weitere Erträge und Aufwendungen', 7020, 7100, 'Zins- und Dividendenerträge'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6740, 'SKR04', 'Weitere Erträge und Aufwendungen', 7030, 7100, 'Erhaltene Ausgleichszahlungen (als außenstehender Aktionär)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6741, 'SKR04', 'Weitere Erträge und Aufwendungen', 7100, 7, 'Sonstige Zinsen und ähnliche Erträge'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6742, 'SKR04', 'Weitere Erträge und Aufwendungen', 7102, 7100, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6743, 'SKR04', 'Weitere Erträge und Aufwendungen', 7103, 7100, 'Erträge aus Anteilen an Kapitalgesellschaften (Umlaufvermögen) § 3 Nr. 40 EStG/§ 8b Abs. 1 und 4 KStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6744, 'SKR04', 'Weitere Erträge und Aufwendungen', 7104, 7100, 'Erträge aus Anteilen an Kapitalgesellschaften (verbundene Unternehmen) § 3 Nr. 40 EStG/ § 8b Abs. 1 KStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6745, 'SKR04', 'Weitere Erträge und Aufwendungen', 7105, 7100, 'ZINSERTräge § 233a AO, steuerpflichtig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6746, 'SKR04', 'Weitere Erträge und Aufwendungen', 7106, 7100, 'ZINSERTräge § 233a AO, steuerfrei (Anlage A KSt)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6747, 'SKR04', 'Weitere Erträge und Aufwendungen', 7107, 7100, 'ZINSERTräge § 233a AO, § 4 Abs. 5b EStG, steuerfrei'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6748, 'SKR04', 'Weitere Erträge und Aufwendungen', 7109, 7100, 'Sonstige Zinsen und ähnliche Erträge aus verbundenen Unternehmen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6749, 'SKR04', 'Weitere Erträge und Aufwendungen', 7110, 7100, 'Sonstige ZINSERTräge'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6750, 'SKR04', 'Weitere Erträge und Aufwendungen', 7115, 7100, 'Erträge aus anderen Wertpapieren und Ausleihungen des Umlaufvermögens'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6751, 'SKR04', 'Weitere Erträge und Aufwendungen', 7119, 7100, 'Sonstige ZINSERTräge aus verbundenen Unternehmen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6752, 'SKR04', 'Weitere Erträge und Aufwendungen', 7120, 7100, 'Zinsähnliche Erträge'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6753, 'SKR04', 'Weitere Erträge und Aufwendungen', 7128, 7100, 'ZINSERTrag aus vorzeitiger Rückzahlung des Körperschaftsteuer-Erhöhungsbetrags § 38 KStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6754, 'SKR04', 'Weitere Erträge und Aufwendungen', 7129, 7100, 'Zinsähnliche Erträge aus verbundenen Unternehmen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6755, 'SKR04', 'Weitere Erträge und Aufwendungen', 7130, 7100, 'Diskonterträge'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6756, 'SKR04', 'Weitere Erträge und Aufwendungen', 7139, 7100, 'Diskonterträge aus verbundenen Unternehmen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6757, 'SKR04', 'Weitere Erträge und Aufwendungen', 7140, 7100, 'Steuerfreie ZINSERTräge aus der Abzinsung von Rückstellungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6758, 'SKR04', 'Weitere Erträge und Aufwendungen', 7141, 7100, 'ZINSERTräge aus der Abzinsung von Verbindlichkeiten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6759, 'SKR04', 'Weitere Erträge und Aufwendungen', 7142, 7100, 'ZINSERTräge aus der Abzinsung von Rückstellungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6760, 'SKR04', 'Weitere Erträge und Aufwendungen', 7143, 7100, 'ZINSERTräge aus der Abzinsung von Pensionsrückstellungen und ähnlichen/vergleichbaren Verpflichtungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6761, 'SKR04', 'Weitere Erträge und Aufwendungen', 7144, 7100, 'ZINSERTräge aus Abzinsung von Pensionsrückstellungen und ähnlichen/vergleichbaren Verpflichtungen zur Verrechnung nach § 246 Abs. 2HGB'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6762, 'SKR04', 'Weitere Erträge und Aufwendungen', 7145, 7100, 'Erträge aus Vermögensgegenständen zur Verrechnung nach § 246 Abs. 2 HGB'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6763, 'SKR04', 'Weitere Erträge und Aufwendungen', 7190, 7, 'Erträge aus Verlustübernahme'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6764, 'SKR04', 'Weitere Erträge und Aufwendungen', 7192, 7, 'Erhaltene Gewinne auf Grund einer Gewinngemeinschaft'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6765, 'SKR04', 'Weitere Erträge und Aufwendungen', 7194, 7, 'Erhaltene Gewinne auf Grund eines Gewinn- oder Teilgewinnabführungsvertrags'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6766, 'SKR04', 'Weitere Erträge und Aufwendungen', 7200, 7, 'Abschreibungen auf Finanzanlagen (dauerhaft)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6767, 'SKR04', 'Weitere Erträge und Aufwendungen', 7201, 7, 'Abschreibungen auf Finanzanlagen (nicht dauerhaft)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6768, 'SKR04', 'Weitere Erträge und Aufwendungen', 7204, 7, 'Abschreibungen auf Finanzanlagen § 3 Nr. 40 EStG/§ 8b Abs. 3 KStG (dauerhaft)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6769, 'SKR04', 'Weitere Erträge und Aufwendungen', 7207, 7, 'Abschreibungen auf Finanzanlagen – verbundene Unternehmen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6770, 'SKR04', 'Weitere Erträge und Aufwendungen', 7208, 7, 'Aufwendungen auf Grund von Verlustanteilen an gewerbliche und selbständigen Mitunternehmerschaften, § 8 GewStG bzw. § 18 EStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6771, 'SKR04', 'Weitere Erträge und Aufwendungen', 7210, 7, 'Abschreibungen auf Wertpapiere des Umlaufvermögens'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6772, 'SKR04', 'Weitere Erträge und Aufwendungen', 7214, 7, 'Abschreibungen auf Wertpapiere des Umlaufvermögens § 3 Nr. 40 EStG/§ 8b Abs. 3 KStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6773, 'SKR04', 'Weitere Erträge und Aufwendungen', 7217, 7, 'Abschreibungen auf Wertpapiere des Umlaufvermögens – verbundenen Unternehmen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6774, 'SKR04', 'Weitere Erträge und Aufwendungen', 7250, 7, 'Abschreibungen auf Finanzanlagen auf Grund § 6b EstG-Rücklage'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6775, 'SKR04', 'Weitere Erträge und Aufwendungen', 7255, 7, 'Abschreibungen auf Finanzanlagen auf Grund § 6b EstG-Rücklage, § 3 Nr. 40 EStG/§ 8b Abs. 3 KStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6776, 'SKR04', 'Weitere Erträge und Aufwendungen', 7300, 7, 'Zinsen und ähnliche Aufwendungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6777, 'SKR04', 'Weitere Erträge und Aufwendungen', 7302, 7300, 'Steuerlich nicht abzugsfähige andere Nebenleistungen zu Steuern § 4 Abs. 5b EStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6778, 'SKR04', 'Weitere Erträge und Aufwendungen', 7303, 7300, 'Steuerlich abzugsfähige andere Nebenleistungen zu Steuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6779, 'SKR04', 'Weitere Erträge und Aufwendungen', 7304, 7300, 'Steuerlich nicht abzugsfähige andere Nebenleistungen zu Steuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6780, 'SKR04', 'Weitere Erträge und Aufwendungen', 7305, 7300, 'Zinsaufwendungen § 233a AO abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6781, 'SKR04', 'Weitere Erträge und Aufwendungen', 7306, 7300, 'Zinsaufwendungen §§ 234 bis 2347 AO nicht abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6782, 'SKR04', 'Weitere Erträge und Aufwendungen', 7307, 7300, 'Zinsen aus Abzinsung des Körperschaftsteuer-Erhöhungsbetrags § 38 KStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6783, 'SKR04', 'Weitere Erträge und Aufwendungen', 7308, 7300, 'Zinsaufwendungen § 233a AO nicht abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6784, 'SKR04', 'Weitere Erträge und Aufwendungen', 7309, 7300, 'Zinsaufwendungen an verbundene Unternehmen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6785, 'SKR04', 'Weitere Erträge und Aufwendungen', 7310, 7300, 'Zinsaufwendungen für kurzfristige Verbindlichkeiten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6786, 'SKR04', 'Weitere Erträge und Aufwendungen', 7311, 7300, 'Zinsaufwendungen §§ 234 bis 2347 AO abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6787, 'SKR04', 'Weitere Erträge und Aufwendungen', 7313, 7300, 'Nicht abzugsfähige Schuldzinsen gemäß § 4Abs. 4A EStG (Hinzurechnungsbetrag)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6788, 'SKR04', 'Weitere Erträge und Aufwendungen', 7316, 7300, 'Zinsen für Gesellschafterdarlehen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6789, 'SKR04', 'Weitere Erträge und Aufwendungen', 7317, 7300, 'Zinsen an Gesellschafter mit einer Beteiligung von mehr als 25 % bzw. diesen nahe stehende Personen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6790, 'SKR04', 'Weitere Erträge und Aufwendungen', 7318, 7300, 'Zinsen auf Kontokorrentkonten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6791, 'SKR04', 'Weitere Erträge und Aufwendungen', 7319, 7300, 'Zinsaufwendungen für kurzfristige Verbindlichkeiten an verbundene Unternehmen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6792, 'SKR04', 'Weitere Erträge und Aufwendungen', 7320, 7300, 'Zinsaufwendungen für langfristige Verbindlichkeiten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6793, 'SKR04', 'Weitere Erträge und Aufwendungen', 7323, 7300, 'Abschreibungen auf Disagio zur Finanzierung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6794, 'SKR04', 'Weitere Erträge und Aufwendungen', 7324, 7300, 'Abschreibungen auf Disagio zur Finanzierung des Anlagevermögens'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6795, 'SKR04', 'Weitere Erträge und Aufwendungen', 7325, 7300, 'Zinsaufwendungen für Gebäude, die zum Betriebsvermögen gehören'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6796, 'SKR04', 'Weitere Erträge und Aufwendungen', 7326, 7300, 'Zinsen zur Finanzierung des Anlagevermögens'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6797, 'SKR04', 'Weitere Erträge und Aufwendungen', 7327, 7300, 'Renten und dauernde Lasten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6798, 'SKR04', 'Weitere Erträge und Aufwendungen', 7328, 7300, 'Zinsaufwendungen für Kapitalüberlassung durch Mitunternehmer § 15 EStG (mit Sonderbetriebseinnahme korrespondierend)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6799, 'SKR04', 'Weitere Erträge und Aufwendungen', 7329, 7300, 'Zinsaufwendungen für langfristige Verbindlichkeiten an verbundene Unternehmen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6800, 'SKR04', 'Weitere Erträge und Aufwendungen', 7330, 7300, 'Zinsähnliche Aufwendungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6801, 'SKR04', 'Weitere Erträge und Aufwendungen', 7339, 7300, 'Zinsähnliche Aufwendungen an verbundenen Unternehmen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6802, 'SKR04', 'Weitere Erträge und Aufwendungen', 7340, 7300, 'Diskontaufwendungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6803, 'SKR04', 'Weitere Erträge und Aufwendungen', 7349, 7300, 'Diskontaufwendungen an verbundenen Unternehmen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6804, 'SKR04', 'Weitere Erträge und Aufwendungen', 7350, 7300, 'Zinsen und ähnliche Aufwendungen §§ 3 Nr. 40, 3c EStG/§ 8b Abs. 1 KStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6805, 'SKR04', 'Weitere Erträge und Aufwendungen', 7351, 7300, 'Zinsen und ähnliche Aufwendungen an verbundene Unternehmen §§ 3 Nr. 40, 3c EStG/§ 8b Abs. 1 KStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6806, 'SKR04', 'Weitere Erträge und Aufwendungen', 7355, 7300, 'Kreditprovisionen und Verwaltungskostenbeiträge'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6807, 'SKR04', 'Weitere Erträge und Aufwendungen', 7360, 7300, 'Zinsanteil der Zuführung zu Pensionsrückstellungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6808, 'SKR04', 'Weitere Erträge und Aufwendungen', 7361, 7300, 'Zinsaufwendungen aus der Abzinsung von Verbindlichkeiten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6809, 'SKR04', 'Weitere Erträge und Aufwendungen', 7362, 7300, 'Zinsaufwendungen aus der Abzinsung von Rückstellungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6810, 'SKR04', 'Weitere Erträge und Aufwendungen', 7363, 7300, 'Zinsaufwendungen aus der Abzinsung von Pensionsrückstellungen und ähnlichen/vergleichbaren Verpflichtungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6811, 'SKR04', 'Weitere Erträge und Aufwendungen', 7364, 7300, 'Zinsaufwendungen aus der Abzinsung von Pensionsrückstellungen und ähnlichen/vergleichbaren Verpflichtungen zur Verrechnung nach § 246 Abs. 2 HGB'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6812, 'SKR04', 'Weitere Erträge und Aufwendungen', 7365, 7300, 'Aufwendungen aus Vermögensgegenständen zur Verrechnung nach § 246 Abs. 2 HGB'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6813, 'SKR04', 'Weitere Erträge und Aufwendungen', 7366, 7300, 'Steuerlich nicht abzugsfähige Zinsaufwendungen aus der Abzinsung von Rückstellungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6814, 'SKR04', 'Weitere Erträge und Aufwendungen', 7390, 7, 'Aufwendungen aus Verlustübernahme'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6815, 'SKR04', 'Weitere Erträge und Aufwendungen', 7392, 7, 'Abgeführte Gewinne auf Grund einer Gewinngemeinschaft'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6816, 'SKR04', 'Weitere Erträge und Aufwendungen', 7394, 7, 'Abgeführte Gewinne auf Grund eines Gewinn- oder Teilgewinnabführungsvertrags'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6817, 'SKR04', 'Weitere Erträge und Aufwendungen', 7399, 7, 'Abgeführte Gewinnanteile (Soll)/ausgeglichene Verlustanteile (Haben) bei stiller Gesellschaft § 8 GesStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6818, 'SKR04', 'Weitere Erträge und Aufwendungen', 7400, 7, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6819, 'SKR04', 'Weitere Erträge und Aufwendungen', 7401, 7, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6820, 'SKR04', 'Weitere Erträge und Aufwendungen', 7450, 7, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6821, 'SKR04', 'Weitere Erträge und Aufwendungen', 7451, 7, 'Erträge durch Verschmelzung und Umwandlung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6822, 'SKR04', 'Weitere Erträge und Aufwendungen', 7452, 7451, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6823, 'SKR04', 'Weitere Erträge und Aufwendungen', 7452, 7451, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6824, 'SKR04', 'Weitere Erträge und Aufwendungen', 7454, 7, 'Gewinn aus der Veräußerung oder der Aufgabe von Geschäftsaktivitäten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6825, 'SKR04', 'Weitere Erträge und Aufwendungen', 7460, 7, 'Erträge aus der Anwendungen von Übergangsvorschriften'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6826, 'SKR04', 'Weitere Erträge und Aufwendungen', 7461, 7460, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6827, 'SKR04', 'Weitere Erträge und Aufwendungen', 7462, 7460, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6828, 'SKR04', 'Weitere Erträge und Aufwendungen', 7463, 7460, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6829, 'SKR04', 'Weitere Erträge und Aufwendungen', 7464, 7, 'Erträge aus der Anwendungen von Übergangsvorschriften (latente Steuern)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6830, 'SKR04', 'Weitere Erträge und Aufwendungen', 7500, 7, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6831, 'SKR04', 'Weitere Erträge und Aufwendungen', 7501, 7, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6832, 'SKR04', 'Weitere Erträge und Aufwendungen', 7550, 7, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6833, 'SKR04', 'Weitere Erträge und Aufwendungen', 7551, 7, 'Verluste durch Verschmelzung und Umwandlung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6834, 'SKR04', 'Weitere Erträge und Aufwendungen', 7552, 7, 'Verluste durch außergewöhnliche Schadensfälle'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6835, 'SKR04', 'Weitere Erträge und Aufwendungen', 7553, 7, 'Aufwendungen für Restrukturierungs- und Sanierungsmaßnahmen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6836, 'SKR04', 'Weitere Erträge und Aufwendungen', 7554, 7, 'Verluste aus der Veräußerung oder der Aufgabe von Geschäftsaktivitäten nach Steuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6837, 'SKR04', 'Weitere Erträge und Aufwendungen', 7560, 7, 'Aufwendungen aus der Anwendung von Übergangsvorschriften'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6838, 'SKR04', 'Weitere Erträge und Aufwendungen', 7561, 7, 'Aufwendungen aus der Anwendung von Übergangsvorschriften (Pensionsrückstellungen)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6839, 'SKR04', 'Weitere Erträge und Aufwendungen', 7562, 7561, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6840, 'SKR04', 'Weitere Erträge und Aufwendungen', 7563, 7, 'Aufwendungen aus der Anwendung von Übergangsvorschriften (Latente Steuern)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6841, 'SKR04', 'Weitere Erträge und Aufwendungen', 7600, 7, 'Körperschaftsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6842, 'SKR04', 'Weitere Erträge und Aufwendungen', 7603, 7, 'Körperschaftsteuer für Vorjahre'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6843, 'SKR04', 'Weitere Erträge und Aufwendungen', 7604, 7, 'Körperschaftsteuererstattungen für Vorjahre'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6844, 'SKR04', 'Weitere Erträge und Aufwendungen', 7607, 7, 'Solidaritätszuschlagerstattungen für Vorjahre'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6845, 'SKR04', 'Weitere Erträge und Aufwendungen', 7608, 7, 'Solidaritätszuschlag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6846, 'SKR04', 'Weitere Erträge und Aufwendungen', 7608, 7, 'Solidaritätszuschlag für Vorjahre'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6847, 'SKR04', 'Weitere Erträge und Aufwendungen', 7610, 7, 'Gewerbesteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6848, 'SKR04', 'Weitere Erträge und Aufwendungen', 7630, 7, 'Kapitalertragsteuer 25 %'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6849, 'SKR04', 'Weitere Erträge und Aufwendungen', 7633, 7, 'Anrechenbarer Solidaritätszuschlag auf Kapitalertragsteuer 25 %'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6850, 'SKR04', 'Weitere Erträge und Aufwendungen', 7638, 7, 'Ausländische Steuer auf im Inland steuerfrei DBA-Einkünfte'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6851, 'SKR04', 'Weitere Erträge und Aufwendungen', 7639, 7, 'Anrechnung / Abzug ausländischer Quellensteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6852, 'SKR04', 'Weitere Erträge und Aufwendungen', 7640, 7639, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6853, 'SKR04', 'Weitere Erträge und Aufwendungen', 7641, 7, 'Gewerbesteuernachtzahlungen und Gewerbesteuererstattungen für Vorjahre, § 4 Abs. 5b EStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6854, 'SKR04', 'Weitere Erträge und Aufwendungen', 7642, 7641, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6855, 'SKR04', 'Weitere Erträge und Aufwendungen', 7643, 7, 'Erträge aus der Auflösung von Gewerbesteuerrückstellungen, § 4 Abs. 5b EStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6856, 'SKR04', 'Weitere Erträge und Aufwendungen', 7644, 7643, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6857, 'SKR04', 'Weitere Erträge und Aufwendungen', 7645, 7, 'Aufwendungen aus der Zuführung und Auflösung von latenten Steuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6858, 'SKR04', 'Weitere Erträge und Aufwendungen', 7646, 7, 'Aufwendungen aus der Zuführung zu Steuerrückstellungen für Steuerstundung (BstBK)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6859, 'SKR04', 'Weitere Erträge und Aufwendungen', 7648, 7, 'Erträge aus der Auflösung von Steuerrückstellungen für Steuerstundung (BstBK)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6860, 'SKR04', 'Weitere Erträge und Aufwendungen', 7649, 7, 'Erträge aus der Zuführung und Auflösung von latenten Steuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6861, 'SKR04', 'Weitere Erträge und Aufwendungen', 7650, 7, 'Sonstige Betriebssteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6862, 'SKR04', 'Weitere Erträge und Aufwendungen', 7675, 7, 'Verbrauchssteuer (sonstige Steuern)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6863, 'SKR04', 'Weitere Erträge und Aufwendungen', 7678, 7, 'Ökosteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6864, 'SKR04', 'Weitere Erträge und Aufwendungen', 7680, 7, 'Grundsteuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6865, 'SKR04', 'Weitere Erträge und Aufwendungen', 7685, 7, 'Kfz-Steuer'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6866, 'SKR04', 'Weitere Erträge und Aufwendungen', 7690, 7, 'Steuernachzahlungen Vorjahre für sonstige Steuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6867, 'SKR04', 'Weitere Erträge und Aufwendungen', 7692, 7, 'Steuererstattungen Vorjahre für sonstige Steuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6868, 'SKR04', 'Weitere Erträge und Aufwendungen', 7694, 7, 'Erträge aus der Auflösung von Rückstellungen für sonstige Steuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6869, 'SKR04', 'Weitere Erträge und Aufwendungen', 7700, 7, 'Gewinnvortrag nach Verwendung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6870, 'SKR04', 'Weitere Erträge und Aufwendungen', 7705, 7700, 'Gewinnvortrag nach Verwendung (mit Aufteilung für Kapitalkontenentwicklung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6871, 'SKR04', 'Weitere Erträge und Aufwendungen', 7720, 7, 'Verlustvortrag nach Verwendung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6872, 'SKR04', 'Weitere Erträge und Aufwendungen', 7725, 7720, 'Verlustvortrag nach Verwendung (mit Aufteilung für Kapitalkontenentwicklung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6873, 'SKR04', 'Weitere Erträge und Aufwendungen', 7730, 7, 'Entnahmen aus der Kapitalrücklage'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6874, 'SKR04', 'Weitere Erträge und Aufwendungen', 7735, 7, 'Entnahmen aus der gesetzlichen Rücklage'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6875, 'SKR04', 'Weitere Erträge und Aufwendungen', 7740, 7, 'Entnahmen aus dem Ausgleichsposten für aktivierte eigene Anteile'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6876, 'SKR04', 'Weitere Erträge und Aufwendungen', 7743, 7, 'Entnahmen aus der Rücklage für Anteile an einem herrschenden oder mehrheitlich beteiligten Unternehmen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6877, 'SKR04', 'Weitere Erträge und Aufwendungen', 7744, 7, 'Entnahmen aus anderen Ergebnisrücklagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6878, 'SKR04', 'Weitere Erträge und Aufwendungen', 7745, 7, 'Entnahmen aus satzungsmäßigen Rücklagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6879, 'SKR04', 'Weitere Erträge und Aufwendungen', 7750, 7, 'Entnahmen aus anderen Gewinnrücklagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6880, 'SKR04', 'Weitere Erträge und Aufwendungen', 7751, 7750, 'Entnahmen aus gesamthänderisch gebundenen Rücklagen (mit Aufteilung für Kapitalkontenentwicklung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6881, 'SKR04', 'Weitere Erträge und Aufwendungen', 7755, 7, 'Erträge aus Kapitalherabsetzung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6882, 'SKR04', 'Weitere Erträge und Aufwendungen', 7760, 7, 'Einstellungen in die Kapitalrücklage nach den Vorschriften über die vereinfachte Kapitalherabsetzung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6883, 'SKR04', 'Weitere Erträge und Aufwendungen', 7765, 7, 'Einstellungen in die gesetzliche Rücklage'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6884, 'SKR04', 'Weitere Erträge und Aufwendungen', 7770, 7, 'Einstellungen in den Ausgleichsposten für aktivierte eigen Anteile'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6885, 'SKR04', 'Weitere Erträge und Aufwendungen', 7773, 7, 'Einstellungen in die Rücklage für Anteile an einem herrschenden oder mehrheitlich beteiligten Unternehmen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6886, 'SKR04', 'Weitere Erträge und Aufwendungen', 7775, 7, 'Einstellungen in satzungsmäßige Rücklagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6887, 'SKR04', 'Weitere Erträge und Aufwendungen', 7780, 7, 'Einstellungen in andere Gewinnrücklagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6888, 'SKR04', 'Weitere Erträge und Aufwendungen', 7781, 7780, 'Einstellungen in gesamthänderisch gebundene Rücklagen (mit Aufteilung für Kapitalkontenentwicklung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6889, 'SKR04', 'Weitere Erträge und Aufwendungen', 7785, 7, 'Einstellungen in andere Ergebnisrücklagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6890, 'SKR04', 'Weitere Erträge und Aufwendungen', 7790, 7, 'Vorabausschüttungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6891, 'SKR04', 'Weitere Erträge und Aufwendungen', 7795, 7, 'Vortrag auf neue Rechnung (GuV)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6892, 'SKR04', 'Weitere Erträge und Aufwendungen', 7800, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6893, 'SKR04', 'Weitere Erträge und Aufwendungen', 7801, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6894, 'SKR04', 'Weitere Erträge und Aufwendungen', 7802, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6895, 'SKR04', 'Weitere Erträge und Aufwendungen', 7803, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6896, 'SKR04', 'Weitere Erträge und Aufwendungen', 7804, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6897, 'SKR04', 'Weitere Erträge und Aufwendungen', 7805, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6898, 'SKR04', 'Weitere Erträge und Aufwendungen', 7806, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6899, 'SKR04', 'Weitere Erträge und Aufwendungen', 7807, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6900, 'SKR04', 'Weitere Erträge und Aufwendungen', 7808, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6901, 'SKR04', 'Weitere Erträge und Aufwendungen', 7809, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6902, 'SKR04', 'Weitere Erträge und Aufwendungen', 7810, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6903, 'SKR04', 'Weitere Erträge und Aufwendungen', 7811, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6904, 'SKR04', 'Weitere Erträge und Aufwendungen', 7812, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6905, 'SKR04', 'Weitere Erträge und Aufwendungen', 7813, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6906, 'SKR04', 'Weitere Erträge und Aufwendungen', 7814, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6907, 'SKR04', 'Weitere Erträge und Aufwendungen', 7815, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6908, 'SKR04', 'Weitere Erträge und Aufwendungen', 7816, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6909, 'SKR04', 'Weitere Erträge und Aufwendungen', 7817, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6910, 'SKR04', 'Weitere Erträge und Aufwendungen', 7818, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6911, 'SKR04', 'Weitere Erträge und Aufwendungen', 7819, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6912, 'SKR04', 'Weitere Erträge und Aufwendungen', 7820, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6913, 'SKR04', 'Weitere Erträge und Aufwendungen', 7821, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6914, 'SKR04', 'Weitere Erträge und Aufwendungen', 7822, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6915, 'SKR04', 'Weitere Erträge und Aufwendungen', 7823, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6916, 'SKR04', 'Weitere Erträge und Aufwendungen', 7824, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6917, 'SKR04', 'Weitere Erträge und Aufwendungen', 7825, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6918, 'SKR04', 'Weitere Erträge und Aufwendungen', 7826, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6919, 'SKR04', 'Weitere Erträge und Aufwendungen', 7827, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6920, 'SKR04', 'Weitere Erträge und Aufwendungen', 7828, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6921, 'SKR04', 'Weitere Erträge und Aufwendungen', 7829, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6922, 'SKR04', 'Weitere Erträge und Aufwendungen', 7830, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6923, 'SKR04', 'Weitere Erträge und Aufwendungen', 7831, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6924, 'SKR04', 'Weitere Erträge und Aufwendungen', 7832, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6925, 'SKR04', 'Weitere Erträge und Aufwendungen', 7833, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6926, 'SKR04', 'Weitere Erträge und Aufwendungen', 7834, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6927, 'SKR04', 'Weitere Erträge und Aufwendungen', 7835, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6928, 'SKR04', 'Weitere Erträge und Aufwendungen', 7836, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6929, 'SKR04', 'Weitere Erträge und Aufwendungen', 7837, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6930, 'SKR04', 'Weitere Erträge und Aufwendungen', 7838, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6931, 'SKR04', 'Weitere Erträge und Aufwendungen', 7839, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6932, 'SKR04', 'Weitere Erträge und Aufwendungen', 7840, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6933, 'SKR04', 'Weitere Erträge und Aufwendungen', 7841, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6934, 'SKR04', 'Weitere Erträge und Aufwendungen', 7842, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6935, 'SKR04', 'Weitere Erträge und Aufwendungen', 7843, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6936, 'SKR04', 'Weitere Erträge und Aufwendungen', 7844, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6937, 'SKR04', 'Weitere Erträge und Aufwendungen', 7845, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6938, 'SKR04', 'Weitere Erträge und Aufwendungen', 7846, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6939, 'SKR04', 'Weitere Erträge und Aufwendungen', 7847, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6940, 'SKR04', 'Weitere Erträge und Aufwendungen', 7848, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6941, 'SKR04', 'Weitere Erträge und Aufwendungen', 7849, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6942, 'SKR04', 'Weitere Erträge und Aufwendungen', 7850, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6943, 'SKR04', 'Weitere Erträge und Aufwendungen', 7851, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6944, 'SKR04', 'Weitere Erträge und Aufwendungen', 7852, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6945, 'SKR04', 'Weitere Erträge und Aufwendungen', 7853, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6946, 'SKR04', 'Weitere Erträge und Aufwendungen', 7854, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6947, 'SKR04', 'Weitere Erträge und Aufwendungen', 7855, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6948, 'SKR04', 'Weitere Erträge und Aufwendungen', 7856, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6949, 'SKR04', 'Weitere Erträge und Aufwendungen', 7857, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6950, 'SKR04', 'Weitere Erträge und Aufwendungen', 7858, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6951, 'SKR04', 'Weitere Erträge und Aufwendungen', 7859, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6952, 'SKR04', 'Weitere Erträge und Aufwendungen', 7860, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6953, 'SKR04', 'Weitere Erträge und Aufwendungen', 7861, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6954, 'SKR04', 'Weitere Erträge und Aufwendungen', 7862, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6955, 'SKR04', 'Weitere Erträge und Aufwendungen', 7863, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6956, 'SKR04', 'Weitere Erträge und Aufwendungen', 7864, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6957, 'SKR04', 'Weitere Erträge und Aufwendungen', 7865, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6958, 'SKR04', 'Weitere Erträge und Aufwendungen', 7866, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6959, 'SKR04', 'Weitere Erträge und Aufwendungen', 7867, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6960, 'SKR04', 'Weitere Erträge und Aufwendungen', 7868, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6961, 'SKR04', 'Weitere Erträge und Aufwendungen', 7869, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6962, 'SKR04', 'Weitere Erträge und Aufwendungen', 7870, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6963, 'SKR04', 'Weitere Erträge und Aufwendungen', 7871, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6964, 'SKR04', 'Weitere Erträge und Aufwendungen', 7872, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6965, 'SKR04', 'Weitere Erträge und Aufwendungen', 7873, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6966, 'SKR04', 'Weitere Erträge und Aufwendungen', 7874, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6967, 'SKR04', 'Weitere Erträge und Aufwendungen', 7875, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6968, 'SKR04', 'Weitere Erträge und Aufwendungen', 7876, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6969, 'SKR04', 'Weitere Erträge und Aufwendungen', 7877, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6970, 'SKR04', 'Weitere Erträge und Aufwendungen', 7878, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6971, 'SKR04', 'Weitere Erträge und Aufwendungen', 7879, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6972, 'SKR04', 'Weitere Erträge und Aufwendungen', 7880, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6973, 'SKR04', 'Weitere Erträge und Aufwendungen', 7881, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6974, 'SKR04', 'Weitere Erträge und Aufwendungen', 7882, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6975, 'SKR04', 'Weitere Erträge und Aufwendungen', 7883, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6976, 'SKR04', 'Weitere Erträge und Aufwendungen', 7884, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6977, 'SKR04', 'Weitere Erträge und Aufwendungen', 7885, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6978, 'SKR04', 'Weitere Erträge und Aufwendungen', 7886, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6979, 'SKR04', 'Weitere Erträge und Aufwendungen', 7887, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6980, 'SKR04', 'Weitere Erträge und Aufwendungen', 7888, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6981, 'SKR04', 'Weitere Erträge und Aufwendungen', 7889, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6982, 'SKR04', 'Weitere Erträge und Aufwendungen', 7890, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6983, 'SKR04', 'Weitere Erträge und Aufwendungen', 7891, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6984, 'SKR04', 'Weitere Erträge und Aufwendungen', 7892, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6985, 'SKR04', 'Weitere Erträge und Aufwendungen', 7893, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6986, 'SKR04', 'Weitere Erträge und Aufwendungen', 7894, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6987, 'SKR04', 'Weitere Erträge und Aufwendungen', 7895, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6988, 'SKR04', 'Weitere Erträge und Aufwendungen', 7896, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6989, 'SKR04', 'Weitere Erträge und Aufwendungen', 7897, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6990, 'SKR04', 'Weitere Erträge und Aufwendungen', 7898, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6991, 'SKR04', 'Weitere Erträge und Aufwendungen', 7899, 7, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6992, 'SKR04', 'Weitere Erträge und Aufwendungen', 7900, 7, '(reserviertes Konto)'); - ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6993, 'SKR04', 'Zur freien Verfügung', 8, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6994, 'SKR04', 'Zur freien Verfügung', 8000, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6995, 'SKR04', 'Zur freien Verfügung', 8001, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6996, 'SKR04', 'Zur freien Verfügung', 8002, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6997, 'SKR04', 'Zur freien Verfügung', 8003, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6998, 'SKR04', 'Zur freien Verfügung', 8004, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 6999, 'SKR04', 'Zur freien Verfügung', 8005, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7000, 'SKR04', 'Zur freien Verfügung', 8006, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7001, 'SKR04', 'Zur freien Verfügung', 8007, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7002, 'SKR04', 'Zur freien Verfügung', 8008, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7003, 'SKR04', 'Zur freien Verfügung', 8009, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7004, 'SKR04', 'Zur freien Verfügung', 8010, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7005, 'SKR04', 'Zur freien Verfügung', 8011, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7006, 'SKR04', 'Zur freien Verfügung', 8012, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7007, 'SKR04', 'Zur freien Verfügung', 8013, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7008, 'SKR04', 'Zur freien Verfügung', 8014, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7009, 'SKR04', 'Zur freien Verfügung', 8015, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7010, 'SKR04', 'Zur freien Verfügung', 8016, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7011, 'SKR04', 'Zur freien Verfügung', 8017, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7012, 'SKR04', 'Zur freien Verfügung', 8018, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7013, 'SKR04', 'Zur freien Verfügung', 8019, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7014, 'SKR04', 'Zur freien Verfügung', 8020, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7015, 'SKR04', 'Zur freien Verfügung', 8021, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7016, 'SKR04', 'Zur freien Verfügung', 8022, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7017, 'SKR04', 'Zur freien Verfügung', 8023, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7018, 'SKR04', 'Zur freien Verfügung', 8024, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7019, 'SKR04', 'Zur freien Verfügung', 8025, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7020, 'SKR04', 'Zur freien Verfügung', 8026, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7021, 'SKR04', 'Zur freien Verfügung', 8027, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7022, 'SKR04', 'Zur freien Verfügung', 8028, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7023, 'SKR04', 'Zur freien Verfügung', 8029, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7024, 'SKR04', 'Zur freien Verfügung', 8030, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7025, 'SKR04', 'Zur freien Verfügung', 8031, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7026, 'SKR04', 'Zur freien Verfügung', 8032, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7027, 'SKR04', 'Zur freien Verfügung', 8033, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7028, 'SKR04', 'Zur freien Verfügung', 8034, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7029, 'SKR04', 'Zur freien Verfügung', 8035, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7030, 'SKR04', 'Zur freien Verfügung', 8036, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7031, 'SKR04', 'Zur freien Verfügung', 8037, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7032, 'SKR04', 'Zur freien Verfügung', 8038, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7033, 'SKR04', 'Zur freien Verfügung', 8039, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7034, 'SKR04', 'Zur freien Verfügung', 8040, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7035, 'SKR04', 'Zur freien Verfügung', 8041, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7036, 'SKR04', 'Zur freien Verfügung', 8042, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7037, 'SKR04', 'Zur freien Verfügung', 8043, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7038, 'SKR04', 'Zur freien Verfügung', 8044, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7039, 'SKR04', 'Zur freien Verfügung', 8045, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7040, 'SKR04', 'Zur freien Verfügung', 8046, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7041, 'SKR04', 'Zur freien Verfügung', 8047, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7042, 'SKR04', 'Zur freien Verfügung', 8048, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7043, 'SKR04', 'Zur freien Verfügung', 8049, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7044, 'SKR04', 'Zur freien Verfügung', 8050, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7045, 'SKR04', 'Zur freien Verfügung', 8051, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7046, 'SKR04', 'Zur freien Verfügung', 8052, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7047, 'SKR04', 'Zur freien Verfügung', 8053, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7048, 'SKR04', 'Zur freien Verfügung', 8054, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7049, 'SKR04', 'Zur freien Verfügung', 8055, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7050, 'SKR04', 'Zur freien Verfügung', 8056, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7051, 'SKR04', 'Zur freien Verfügung', 8057, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7052, 'SKR04', 'Zur freien Verfügung', 8058, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7053, 'SKR04', 'Zur freien Verfügung', 8059, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7054, 'SKR04', 'Zur freien Verfügung', 8060, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7055, 'SKR04', 'Zur freien Verfügung', 8061, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7056, 'SKR04', 'Zur freien Verfügung', 8062, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7057, 'SKR04', 'Zur freien Verfügung', 8063, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7058, 'SKR04', 'Zur freien Verfügung', 8064, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7059, 'SKR04', 'Zur freien Verfügung', 8065, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7060, 'SKR04', 'Zur freien Verfügung', 8066, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7061, 'SKR04', 'Zur freien Verfügung', 8067, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7062, 'SKR04', 'Zur freien Verfügung', 8068, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7063, 'SKR04', 'Zur freien Verfügung', 8069, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7064, 'SKR04', 'Zur freien Verfügung', 8070, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7065, 'SKR04', 'Zur freien Verfügung', 8071, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7066, 'SKR04', 'Zur freien Verfügung', 8072, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7067, 'SKR04', 'Zur freien Verfügung', 8073, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7068, 'SKR04', 'Zur freien Verfügung', 8074, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7069, 'SKR04', 'Zur freien Verfügung', 8075, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7070, 'SKR04', 'Zur freien Verfügung', 8076, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7071, 'SKR04', 'Zur freien Verfügung', 8077, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7072, 'SKR04', 'Zur freien Verfügung', 8078, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7073, 'SKR04', 'Zur freien Verfügung', 8079, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7074, 'SKR04', 'Zur freien Verfügung', 8080, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7075, 'SKR04', 'Zur freien Verfügung', 8081, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7076, 'SKR04', 'Zur freien Verfügung', 8082, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7077, 'SKR04', 'Zur freien Verfügung', 8083, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7078, 'SKR04', 'Zur freien Verfügung', 8084, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7079, 'SKR04', 'Zur freien Verfügung', 8085, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7080, 'SKR04', 'Zur freien Verfügung', 8086, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7081, 'SKR04', 'Zur freien Verfügung', 8087, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7082, 'SKR04', 'Zur freien Verfügung', 8088, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7083, 'SKR04', 'Zur freien Verfügung', 8089, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7084, 'SKR04', 'Zur freien Verfügung', 8090, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7085, 'SKR04', 'Zur freien Verfügung', 8091, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7086, 'SKR04', 'Zur freien Verfügung', 8092, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7087, 'SKR04', 'Zur freien Verfügung', 8093, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7088, 'SKR04', 'Zur freien Verfügung', 8094, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7089, 'SKR04', 'Zur freien Verfügung', 8095, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7090, 'SKR04', 'Zur freien Verfügung', 8096, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7091, 'SKR04', 'Zur freien Verfügung', 8097, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7092, 'SKR04', 'Zur freien Verfügung', 8098, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7093, 'SKR04', 'Zur freien Verfügung', 8099, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7094, 'SKR04', 'Zur freien Verfügung', 8100, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7095, 'SKR04', 'Zur freien Verfügung', 8101, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7096, 'SKR04', 'Zur freien Verfügung', 8102, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7097, 'SKR04', 'Zur freien Verfügung', 8103, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7098, 'SKR04', 'Zur freien Verfügung', 8104, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7099, 'SKR04', 'Zur freien Verfügung', 8105, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7100, 'SKR04', 'Zur freien Verfügung', 8106, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7101, 'SKR04', 'Zur freien Verfügung', 8107, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7102, 'SKR04', 'Zur freien Verfügung', 8108, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7103, 'SKR04', 'Zur freien Verfügung', 8109, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7104, 'SKR04', 'Zur freien Verfügung', 8110, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7105, 'SKR04', 'Zur freien Verfügung', 8111, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7106, 'SKR04', 'Zur freien Verfügung', 8112, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7107, 'SKR04', 'Zur freien Verfügung', 8113, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7108, 'SKR04', 'Zur freien Verfügung', 8114, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7109, 'SKR04', 'Zur freien Verfügung', 8115, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7110, 'SKR04', 'Zur freien Verfügung', 8116, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7111, 'SKR04', 'Zur freien Verfügung', 8117, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7112, 'SKR04', 'Zur freien Verfügung', 8118, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7113, 'SKR04', 'Zur freien Verfügung', 8119, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7114, 'SKR04', 'Zur freien Verfügung', 8120, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7115, 'SKR04', 'Zur freien Verfügung', 8121, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7116, 'SKR04', 'Zur freien Verfügung', 8122, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7117, 'SKR04', 'Zur freien Verfügung', 8123, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7118, 'SKR04', 'Zur freien Verfügung', 8124, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7119, 'SKR04', 'Zur freien Verfügung', 8125, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7120, 'SKR04', 'Zur freien Verfügung', 8126, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7121, 'SKR04', 'Zur freien Verfügung', 8127, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7122, 'SKR04', 'Zur freien Verfügung', 8128, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7123, 'SKR04', 'Zur freien Verfügung', 8129, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7124, 'SKR04', 'Zur freien Verfügung', 8130, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7125, 'SKR04', 'Zur freien Verfügung', 8131, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7126, 'SKR04', 'Zur freien Verfügung', 8132, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7127, 'SKR04', 'Zur freien Verfügung', 8133, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7128, 'SKR04', 'Zur freien Verfügung', 8134, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7129, 'SKR04', 'Zur freien Verfügung', 8135, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7130, 'SKR04', 'Zur freien Verfügung', 8136, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7131, 'SKR04', 'Zur freien Verfügung', 8137, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7132, 'SKR04', 'Zur freien Verfügung', 8138, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7133, 'SKR04', 'Zur freien Verfügung', 8139, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7134, 'SKR04', 'Zur freien Verfügung', 8140, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7135, 'SKR04', 'Zur freien Verfügung', 8141, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7136, 'SKR04', 'Zur freien Verfügung', 8142, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7137, 'SKR04', 'Zur freien Verfügung', 8143, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7138, 'SKR04', 'Zur freien Verfügung', 8144, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7139, 'SKR04', 'Zur freien Verfügung', 8145, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7140, 'SKR04', 'Zur freien Verfügung', 8146, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7141, 'SKR04', 'Zur freien Verfügung', 8147, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7142, 'SKR04', 'Zur freien Verfügung', 8148, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7143, 'SKR04', 'Zur freien Verfügung', 8149, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7144, 'SKR04', 'Zur freien Verfügung', 8150, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7145, 'SKR04', 'Zur freien Verfügung', 8151, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7146, 'SKR04', 'Zur freien Verfügung', 8152, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7147, 'SKR04', 'Zur freien Verfügung', 8153, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7148, 'SKR04', 'Zur freien Verfügung', 8154, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7149, 'SKR04', 'Zur freien Verfügung', 8155, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7150, 'SKR04', 'Zur freien Verfügung', 8156, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7151, 'SKR04', 'Zur freien Verfügung', 8157, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7152, 'SKR04', 'Zur freien Verfügung', 8158, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7153, 'SKR04', 'Zur freien Verfügung', 8159, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7154, 'SKR04', 'Zur freien Verfügung', 8160, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7155, 'SKR04', 'Zur freien Verfügung', 8161, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7156, 'SKR04', 'Zur freien Verfügung', 8162, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7157, 'SKR04', 'Zur freien Verfügung', 8163, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7158, 'SKR04', 'Zur freien Verfügung', 8164, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7159, 'SKR04', 'Zur freien Verfügung', 8165, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7160, 'SKR04', 'Zur freien Verfügung', 8166, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7161, 'SKR04', 'Zur freien Verfügung', 8167, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7162, 'SKR04', 'Zur freien Verfügung', 8168, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7163, 'SKR04', 'Zur freien Verfügung', 8169, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7164, 'SKR04', 'Zur freien Verfügung', 8170, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7165, 'SKR04', 'Zur freien Verfügung', 8171, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7166, 'SKR04', 'Zur freien Verfügung', 8172, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7167, 'SKR04', 'Zur freien Verfügung', 8173, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7168, 'SKR04', 'Zur freien Verfügung', 8174, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7169, 'SKR04', 'Zur freien Verfügung', 8175, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7170, 'SKR04', 'Zur freien Verfügung', 8176, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7171, 'SKR04', 'Zur freien Verfügung', 8177, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7172, 'SKR04', 'Zur freien Verfügung', 8178, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7173, 'SKR04', 'Zur freien Verfügung', 8179, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7174, 'SKR04', 'Zur freien Verfügung', 8180, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7175, 'SKR04', 'Zur freien Verfügung', 8181, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7176, 'SKR04', 'Zur freien Verfügung', 8182, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7177, 'SKR04', 'Zur freien Verfügung', 8183, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7178, 'SKR04', 'Zur freien Verfügung', 8184, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7179, 'SKR04', 'Zur freien Verfügung', 8185, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7180, 'SKR04', 'Zur freien Verfügung', 8186, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7181, 'SKR04', 'Zur freien Verfügung', 8187, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7182, 'SKR04', 'Zur freien Verfügung', 8188, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7183, 'SKR04', 'Zur freien Verfügung', 8189, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7184, 'SKR04', 'Zur freien Verfügung', 8190, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7185, 'SKR04', 'Zur freien Verfügung', 8191, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7186, 'SKR04', 'Zur freien Verfügung', 8192, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7187, 'SKR04', 'Zur freien Verfügung', 8193, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7188, 'SKR04', 'Zur freien Verfügung', 8194, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7189, 'SKR04', 'Zur freien Verfügung', 8195, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7190, 'SKR04', 'Zur freien Verfügung', 8196, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7191, 'SKR04', 'Zur freien Verfügung', 8197, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7192, 'SKR04', 'Zur freien Verfügung', 8198, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7193, 'SKR04', 'Zur freien Verfügung', 8199, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7194, 'SKR04', 'Zur freien Verfügung', 8200, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7195, 'SKR04', 'Zur freien Verfügung', 8201, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7196, 'SKR04', 'Zur freien Verfügung', 8202, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7197, 'SKR04', 'Zur freien Verfügung', 8203, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7198, 'SKR04', 'Zur freien Verfügung', 8204, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7199, 'SKR04', 'Zur freien Verfügung', 8205, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7200, 'SKR04', 'Zur freien Verfügung', 8206, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7201, 'SKR04', 'Zur freien Verfügung', 8207, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7202, 'SKR04', 'Zur freien Verfügung', 8208, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7203, 'SKR04', 'Zur freien Verfügung', 8209, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7204, 'SKR04', 'Zur freien Verfügung', 8210, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7205, 'SKR04', 'Zur freien Verfügung', 8211, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7206, 'SKR04', 'Zur freien Verfügung', 8212, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7207, 'SKR04', 'Zur freien Verfügung', 8213, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7208, 'SKR04', 'Zur freien Verfügung', 8214, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7209, 'SKR04', 'Zur freien Verfügung', 8215, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7210, 'SKR04', 'Zur freien Verfügung', 8216, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7211, 'SKR04', 'Zur freien Verfügung', 8217, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7212, 'SKR04', 'Zur freien Verfügung', 8218, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7213, 'SKR04', 'Zur freien Verfügung', 8219, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7214, 'SKR04', 'Zur freien Verfügung', 8220, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7215, 'SKR04', 'Zur freien Verfügung', 8221, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7216, 'SKR04', 'Zur freien Verfügung', 8222, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7217, 'SKR04', 'Zur freien Verfügung', 8223, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7218, 'SKR04', 'Zur freien Verfügung', 8224, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7219, 'SKR04', 'Zur freien Verfügung', 8225, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7220, 'SKR04', 'Zur freien Verfügung', 8226, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7221, 'SKR04', 'Zur freien Verfügung', 8227, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7222, 'SKR04', 'Zur freien Verfügung', 8228, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7223, 'SKR04', 'Zur freien Verfügung', 8229, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7224, 'SKR04', 'Zur freien Verfügung', 8230, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7225, 'SKR04', 'Zur freien Verfügung', 8231, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7226, 'SKR04', 'Zur freien Verfügung', 8232, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7227, 'SKR04', 'Zur freien Verfügung', 8233, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7228, 'SKR04', 'Zur freien Verfügung', 8234, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7229, 'SKR04', 'Zur freien Verfügung', 8235, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7230, 'SKR04', 'Zur freien Verfügung', 8236, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7231, 'SKR04', 'Zur freien Verfügung', 8237, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7232, 'SKR04', 'Zur freien Verfügung', 8238, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7233, 'SKR04', 'Zur freien Verfügung', 8239, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7234, 'SKR04', 'Zur freien Verfügung', 8240, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7235, 'SKR04', 'Zur freien Verfügung', 8241, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7236, 'SKR04', 'Zur freien Verfügung', 8242, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7237, 'SKR04', 'Zur freien Verfügung', 8243, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7238, 'SKR04', 'Zur freien Verfügung', 8244, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7239, 'SKR04', 'Zur freien Verfügung', 8245, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7240, 'SKR04', 'Zur freien Verfügung', 8246, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7241, 'SKR04', 'Zur freien Verfügung', 8247, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7242, 'SKR04', 'Zur freien Verfügung', 8248, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7243, 'SKR04', 'Zur freien Verfügung', 8249, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7244, 'SKR04', 'Zur freien Verfügung', 8250, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7245, 'SKR04', 'Zur freien Verfügung', 8251, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7246, 'SKR04', 'Zur freien Verfügung', 8252, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7247, 'SKR04', 'Zur freien Verfügung', 8253, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7248, 'SKR04', 'Zur freien Verfügung', 8254, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7249, 'SKR04', 'Zur freien Verfügung', 8255, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7250, 'SKR04', 'Zur freien Verfügung', 8256, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7251, 'SKR04', 'Zur freien Verfügung', 8257, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7252, 'SKR04', 'Zur freien Verfügung', 8258, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7253, 'SKR04', 'Zur freien Verfügung', 8259, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7254, 'SKR04', 'Zur freien Verfügung', 8260, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7255, 'SKR04', 'Zur freien Verfügung', 8261, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7256, 'SKR04', 'Zur freien Verfügung', 8262, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7257, 'SKR04', 'Zur freien Verfügung', 8263, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7258, 'SKR04', 'Zur freien Verfügung', 8264, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7259, 'SKR04', 'Zur freien Verfügung', 8265, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7260, 'SKR04', 'Zur freien Verfügung', 8266, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7261, 'SKR04', 'Zur freien Verfügung', 8267, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7262, 'SKR04', 'Zur freien Verfügung', 8268, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7263, 'SKR04', 'Zur freien Verfügung', 8269, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7264, 'SKR04', 'Zur freien Verfügung', 8270, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7265, 'SKR04', 'Zur freien Verfügung', 8271, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7266, 'SKR04', 'Zur freien Verfügung', 8272, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7267, 'SKR04', 'Zur freien Verfügung', 8273, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7268, 'SKR04', 'Zur freien Verfügung', 8274, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7269, 'SKR04', 'Zur freien Verfügung', 8275, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7270, 'SKR04', 'Zur freien Verfügung', 8276, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7271, 'SKR04', 'Zur freien Verfügung', 8277, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7272, 'SKR04', 'Zur freien Verfügung', 8278, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7273, 'SKR04', 'Zur freien Verfügung', 8279, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7274, 'SKR04', 'Zur freien Verfügung', 8280, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7275, 'SKR04', 'Zur freien Verfügung', 8281, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7276, 'SKR04', 'Zur freien Verfügung', 8282, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7277, 'SKR04', 'Zur freien Verfügung', 8283, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7278, 'SKR04', 'Zur freien Verfügung', 8284, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7279, 'SKR04', 'Zur freien Verfügung', 8285, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7280, 'SKR04', 'Zur freien Verfügung', 8286, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7281, 'SKR04', 'Zur freien Verfügung', 8287, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7282, 'SKR04', 'Zur freien Verfügung', 8288, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7283, 'SKR04', 'Zur freien Verfügung', 8289, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7284, 'SKR04', 'Zur freien Verfügung', 8290, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7285, 'SKR04', 'Zur freien Verfügung', 8291, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7286, 'SKR04', 'Zur freien Verfügung', 8292, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7287, 'SKR04', 'Zur freien Verfügung', 8293, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7288, 'SKR04', 'Zur freien Verfügung', 8294, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7289, 'SKR04', 'Zur freien Verfügung', 8295, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7290, 'SKR04', 'Zur freien Verfügung', 8296, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7291, 'SKR04', 'Zur freien Verfügung', 8297, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7292, 'SKR04', 'Zur freien Verfügung', 8298, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7293, 'SKR04', 'Zur freien Verfügung', 8299, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7294, 'SKR04', 'Zur freien Verfügung', 8300, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7295, 'SKR04', 'Zur freien Verfügung', 8301, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7296, 'SKR04', 'Zur freien Verfügung', 8302, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7297, 'SKR04', 'Zur freien Verfügung', 8303, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7298, 'SKR04', 'Zur freien Verfügung', 8304, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7299, 'SKR04', 'Zur freien Verfügung', 8305, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7300, 'SKR04', 'Zur freien Verfügung', 8306, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7301, 'SKR04', 'Zur freien Verfügung', 8307, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7302, 'SKR04', 'Zur freien Verfügung', 8308, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7303, 'SKR04', 'Zur freien Verfügung', 8309, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7304, 'SKR04', 'Zur freien Verfügung', 8310, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7305, 'SKR04', 'Zur freien Verfügung', 8311, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7306, 'SKR04', 'Zur freien Verfügung', 8312, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7307, 'SKR04', 'Zur freien Verfügung', 8313, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7308, 'SKR04', 'Zur freien Verfügung', 8314, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7309, 'SKR04', 'Zur freien Verfügung', 8315, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7310, 'SKR04', 'Zur freien Verfügung', 8316, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7311, 'SKR04', 'Zur freien Verfügung', 8317, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7312, 'SKR04', 'Zur freien Verfügung', 8318, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7313, 'SKR04', 'Zur freien Verfügung', 8319, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7314, 'SKR04', 'Zur freien Verfügung', 8320, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7315, 'SKR04', 'Zur freien Verfügung', 8321, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7316, 'SKR04', 'Zur freien Verfügung', 8322, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7317, 'SKR04', 'Zur freien Verfügung', 8323, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7318, 'SKR04', 'Zur freien Verfügung', 8324, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7319, 'SKR04', 'Zur freien Verfügung', 8325, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7320, 'SKR04', 'Zur freien Verfügung', 8326, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7321, 'SKR04', 'Zur freien Verfügung', 8327, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7322, 'SKR04', 'Zur freien Verfügung', 8328, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7323, 'SKR04', 'Zur freien Verfügung', 8329, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7324, 'SKR04', 'Zur freien Verfügung', 8330, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7325, 'SKR04', 'Zur freien Verfügung', 8331, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7326, 'SKR04', 'Zur freien Verfügung', 8332, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7327, 'SKR04', 'Zur freien Verfügung', 8333, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7328, 'SKR04', 'Zur freien Verfügung', 8334, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7329, 'SKR04', 'Zur freien Verfügung', 8335, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7330, 'SKR04', 'Zur freien Verfügung', 8336, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7331, 'SKR04', 'Zur freien Verfügung', 8337, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7332, 'SKR04', 'Zur freien Verfügung', 8338, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7333, 'SKR04', 'Zur freien Verfügung', 8339, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7334, 'SKR04', 'Zur freien Verfügung', 8340, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7335, 'SKR04', 'Zur freien Verfügung', 8341, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7336, 'SKR04', 'Zur freien Verfügung', 8342, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7337, 'SKR04', 'Zur freien Verfügung', 8343, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7338, 'SKR04', 'Zur freien Verfügung', 8344, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7339, 'SKR04', 'Zur freien Verfügung', 8345, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7340, 'SKR04', 'Zur freien Verfügung', 8346, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7341, 'SKR04', 'Zur freien Verfügung', 8347, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7342, 'SKR04', 'Zur freien Verfügung', 8348, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7343, 'SKR04', 'Zur freien Verfügung', 8349, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7344, 'SKR04', 'Zur freien Verfügung', 8350, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7345, 'SKR04', 'Zur freien Verfügung', 8351, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7346, 'SKR04', 'Zur freien Verfügung', 8352, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7347, 'SKR04', 'Zur freien Verfügung', 8353, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7348, 'SKR04', 'Zur freien Verfügung', 8354, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7349, 'SKR04', 'Zur freien Verfügung', 8355, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7350, 'SKR04', 'Zur freien Verfügung', 8356, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7351, 'SKR04', 'Zur freien Verfügung', 8357, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7352, 'SKR04', 'Zur freien Verfügung', 8358, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7353, 'SKR04', 'Zur freien Verfügung', 8359, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7354, 'SKR04', 'Zur freien Verfügung', 8360, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7355, 'SKR04', 'Zur freien Verfügung', 8361, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7356, 'SKR04', 'Zur freien Verfügung', 8362, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7357, 'SKR04', 'Zur freien Verfügung', 8363, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7358, 'SKR04', 'Zur freien Verfügung', 8364, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7359, 'SKR04', 'Zur freien Verfügung', 8365, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7360, 'SKR04', 'Zur freien Verfügung', 8366, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7361, 'SKR04', 'Zur freien Verfügung', 8367, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7362, 'SKR04', 'Zur freien Verfügung', 8368, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7363, 'SKR04', 'Zur freien Verfügung', 8369, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7364, 'SKR04', 'Zur freien Verfügung', 8370, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7365, 'SKR04', 'Zur freien Verfügung', 8371, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7366, 'SKR04', 'Zur freien Verfügung', 8372, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7367, 'SKR04', 'Zur freien Verfügung', 8373, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7368, 'SKR04', 'Zur freien Verfügung', 8374, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7369, 'SKR04', 'Zur freien Verfügung', 8375, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7370, 'SKR04', 'Zur freien Verfügung', 8376, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7371, 'SKR04', 'Zur freien Verfügung', 8377, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7372, 'SKR04', 'Zur freien Verfügung', 8378, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7373, 'SKR04', 'Zur freien Verfügung', 8379, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7374, 'SKR04', 'Zur freien Verfügung', 8380, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7375, 'SKR04', 'Zur freien Verfügung', 8381, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7376, 'SKR04', 'Zur freien Verfügung', 8382, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7377, 'SKR04', 'Zur freien Verfügung', 8383, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7378, 'SKR04', 'Zur freien Verfügung', 8384, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7379, 'SKR04', 'Zur freien Verfügung', 8385, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7380, 'SKR04', 'Zur freien Verfügung', 8386, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7381, 'SKR04', 'Zur freien Verfügung', 8387, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7382, 'SKR04', 'Zur freien Verfügung', 8388, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7383, 'SKR04', 'Zur freien Verfügung', 8389, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7384, 'SKR04', 'Zur freien Verfügung', 8390, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7385, 'SKR04', 'Zur freien Verfügung', 8391, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7386, 'SKR04', 'Zur freien Verfügung', 8392, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7387, 'SKR04', 'Zur freien Verfügung', 8393, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7388, 'SKR04', 'Zur freien Verfügung', 8394, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7389, 'SKR04', 'Zur freien Verfügung', 8395, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7390, 'SKR04', 'Zur freien Verfügung', 8396, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7391, 'SKR04', 'Zur freien Verfügung', 8397, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7392, 'SKR04', 'Zur freien Verfügung', 8398, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7393, 'SKR04', 'Zur freien Verfügung', 8399, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7394, 'SKR04', 'Zur freien Verfügung', 8400, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7395, 'SKR04', 'Zur freien Verfügung', 8401, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7396, 'SKR04', 'Zur freien Verfügung', 8402, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7397, 'SKR04', 'Zur freien Verfügung', 8403, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7398, 'SKR04', 'Zur freien Verfügung', 8404, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7399, 'SKR04', 'Zur freien Verfügung', 8405, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7400, 'SKR04', 'Zur freien Verfügung', 8406, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7401, 'SKR04', 'Zur freien Verfügung', 8407, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7402, 'SKR04', 'Zur freien Verfügung', 8408, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7403, 'SKR04', 'Zur freien Verfügung', 8409, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7404, 'SKR04', 'Zur freien Verfügung', 8410, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7405, 'SKR04', 'Zur freien Verfügung', 8411, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7406, 'SKR04', 'Zur freien Verfügung', 8412, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7407, 'SKR04', 'Zur freien Verfügung', 8413, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7408, 'SKR04', 'Zur freien Verfügung', 8414, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7409, 'SKR04', 'Zur freien Verfügung', 8415, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7410, 'SKR04', 'Zur freien Verfügung', 8416, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7411, 'SKR04', 'Zur freien Verfügung', 8417, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7412, 'SKR04', 'Zur freien Verfügung', 8418, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7413, 'SKR04', 'Zur freien Verfügung', 8419, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7414, 'SKR04', 'Zur freien Verfügung', 8420, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7415, 'SKR04', 'Zur freien Verfügung', 8421, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7416, 'SKR04', 'Zur freien Verfügung', 8422, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7417, 'SKR04', 'Zur freien Verfügung', 8423, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7418, 'SKR04', 'Zur freien Verfügung', 8424, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7419, 'SKR04', 'Zur freien Verfügung', 8425, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7420, 'SKR04', 'Zur freien Verfügung', 8426, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7421, 'SKR04', 'Zur freien Verfügung', 8427, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7422, 'SKR04', 'Zur freien Verfügung', 8428, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7423, 'SKR04', 'Zur freien Verfügung', 8429, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7424, 'SKR04', 'Zur freien Verfügung', 8430, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7425, 'SKR04', 'Zur freien Verfügung', 8431, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7426, 'SKR04', 'Zur freien Verfügung', 8432, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7427, 'SKR04', 'Zur freien Verfügung', 8433, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7428, 'SKR04', 'Zur freien Verfügung', 8434, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7429, 'SKR04', 'Zur freien Verfügung', 8435, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7430, 'SKR04', 'Zur freien Verfügung', 8436, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7431, 'SKR04', 'Zur freien Verfügung', 8437, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7432, 'SKR04', 'Zur freien Verfügung', 8438, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7433, 'SKR04', 'Zur freien Verfügung', 8439, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7434, 'SKR04', 'Zur freien Verfügung', 8440, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7435, 'SKR04', 'Zur freien Verfügung', 8441, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7436, 'SKR04', 'Zur freien Verfügung', 8442, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7437, 'SKR04', 'Zur freien Verfügung', 8443, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7438, 'SKR04', 'Zur freien Verfügung', 8444, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7439, 'SKR04', 'Zur freien Verfügung', 8445, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7440, 'SKR04', 'Zur freien Verfügung', 8446, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7441, 'SKR04', 'Zur freien Verfügung', 8447, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7442, 'SKR04', 'Zur freien Verfügung', 8448, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7443, 'SKR04', 'Zur freien Verfügung', 8449, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7444, 'SKR04', 'Zur freien Verfügung', 8450, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7445, 'SKR04', 'Zur freien Verfügung', 8451, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7446, 'SKR04', 'Zur freien Verfügung', 8452, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7447, 'SKR04', 'Zur freien Verfügung', 8453, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7448, 'SKR04', 'Zur freien Verfügung', 8454, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7449, 'SKR04', 'Zur freien Verfügung', 8455, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7450, 'SKR04', 'Zur freien Verfügung', 8456, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7451, 'SKR04', 'Zur freien Verfügung', 8457, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7452, 'SKR04', 'Zur freien Verfügung', 8458, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7453, 'SKR04', 'Zur freien Verfügung', 8459, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7454, 'SKR04', 'Zur freien Verfügung', 8460, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7455, 'SKR04', 'Zur freien Verfügung', 8461, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7456, 'SKR04', 'Zur freien Verfügung', 8462, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7457, 'SKR04', 'Zur freien Verfügung', 8463, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7458, 'SKR04', 'Zur freien Verfügung', 8464, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7459, 'SKR04', 'Zur freien Verfügung', 8465, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7460, 'SKR04', 'Zur freien Verfügung', 8466, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7461, 'SKR04', 'Zur freien Verfügung', 8467, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7462, 'SKR04', 'Zur freien Verfügung', 8468, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7463, 'SKR04', 'Zur freien Verfügung', 8469, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7464, 'SKR04', 'Zur freien Verfügung', 8470, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7465, 'SKR04', 'Zur freien Verfügung', 8471, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7466, 'SKR04', 'Zur freien Verfügung', 8472, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7467, 'SKR04', 'Zur freien Verfügung', 8473, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7468, 'SKR04', 'Zur freien Verfügung', 8474, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7469, 'SKR04', 'Zur freien Verfügung', 8475, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7470, 'SKR04', 'Zur freien Verfügung', 8476, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7471, 'SKR04', 'Zur freien Verfügung', 8477, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7472, 'SKR04', 'Zur freien Verfügung', 8478, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7473, 'SKR04', 'Zur freien Verfügung', 8479, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7474, 'SKR04', 'Zur freien Verfügung', 8480, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7475, 'SKR04', 'Zur freien Verfügung', 8481, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7476, 'SKR04', 'Zur freien Verfügung', 8482, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7477, 'SKR04', 'Zur freien Verfügung', 8483, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7478, 'SKR04', 'Zur freien Verfügung', 8484, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7479, 'SKR04', 'Zur freien Verfügung', 8485, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7480, 'SKR04', 'Zur freien Verfügung', 8486, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7481, 'SKR04', 'Zur freien Verfügung', 8487, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7482, 'SKR04', 'Zur freien Verfügung', 8488, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7483, 'SKR04', 'Zur freien Verfügung', 8489, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7484, 'SKR04', 'Zur freien Verfügung', 8490, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7485, 'SKR04', 'Zur freien Verfügung', 8491, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7486, 'SKR04', 'Zur freien Verfügung', 8492, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7487, 'SKR04', 'Zur freien Verfügung', 8493, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7488, 'SKR04', 'Zur freien Verfügung', 8494, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7489, 'SKR04', 'Zur freien Verfügung', 8495, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7490, 'SKR04', 'Zur freien Verfügung', 8496, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7491, 'SKR04', 'Zur freien Verfügung', 8497, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7492, 'SKR04', 'Zur freien Verfügung', 8498, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7493, 'SKR04', 'Zur freien Verfügung', 8499, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7494, 'SKR04', 'Zur freien Verfügung', 8500, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7495, 'SKR04', 'Zur freien Verfügung', 8501, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7496, 'SKR04', 'Zur freien Verfügung', 8502, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7497, 'SKR04', 'Zur freien Verfügung', 8503, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7498, 'SKR04', 'Zur freien Verfügung', 8504, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7499, 'SKR04', 'Zur freien Verfügung', 8505, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7500, 'SKR04', 'Zur freien Verfügung', 8506, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7501, 'SKR04', 'Zur freien Verfügung', 8507, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7502, 'SKR04', 'Zur freien Verfügung', 8508, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7503, 'SKR04', 'Zur freien Verfügung', 8509, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7504, 'SKR04', 'Zur freien Verfügung', 8510, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7505, 'SKR04', 'Zur freien Verfügung', 8511, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7506, 'SKR04', 'Zur freien Verfügung', 8512, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7507, 'SKR04', 'Zur freien Verfügung', 8513, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7508, 'SKR04', 'Zur freien Verfügung', 8514, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7509, 'SKR04', 'Zur freien Verfügung', 8515, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7510, 'SKR04', 'Zur freien Verfügung', 8516, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7511, 'SKR04', 'Zur freien Verfügung', 8517, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7512, 'SKR04', 'Zur freien Verfügung', 8518, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7513, 'SKR04', 'Zur freien Verfügung', 8519, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7514, 'SKR04', 'Zur freien Verfügung', 8520, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7515, 'SKR04', 'Zur freien Verfügung', 8521, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7516, 'SKR04', 'Zur freien Verfügung', 8522, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7517, 'SKR04', 'Zur freien Verfügung', 8523, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7518, 'SKR04', 'Zur freien Verfügung', 8524, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7519, 'SKR04', 'Zur freien Verfügung', 8525, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7520, 'SKR04', 'Zur freien Verfügung', 8526, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7521, 'SKR04', 'Zur freien Verfügung', 8527, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7522, 'SKR04', 'Zur freien Verfügung', 8528, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7523, 'SKR04', 'Zur freien Verfügung', 8529, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7524, 'SKR04', 'Zur freien Verfügung', 8530, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7525, 'SKR04', 'Zur freien Verfügung', 8531, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7526, 'SKR04', 'Zur freien Verfügung', 8532, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7527, 'SKR04', 'Zur freien Verfügung', 8533, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7528, 'SKR04', 'Zur freien Verfügung', 8534, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7529, 'SKR04', 'Zur freien Verfügung', 8535, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7530, 'SKR04', 'Zur freien Verfügung', 8536, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7531, 'SKR04', 'Zur freien Verfügung', 8537, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7532, 'SKR04', 'Zur freien Verfügung', 8538, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7533, 'SKR04', 'Zur freien Verfügung', 8539, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7534, 'SKR04', 'Zur freien Verfügung', 8540, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7535, 'SKR04', 'Zur freien Verfügung', 8541, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7536, 'SKR04', 'Zur freien Verfügung', 8542, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7537, 'SKR04', 'Zur freien Verfügung', 8543, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7538, 'SKR04', 'Zur freien Verfügung', 8544, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7539, 'SKR04', 'Zur freien Verfügung', 8545, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7540, 'SKR04', 'Zur freien Verfügung', 8546, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7541, 'SKR04', 'Zur freien Verfügung', 8547, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7542, 'SKR04', 'Zur freien Verfügung', 8548, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7543, 'SKR04', 'Zur freien Verfügung', 8549, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7544, 'SKR04', 'Zur freien Verfügung', 8550, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7545, 'SKR04', 'Zur freien Verfügung', 8551, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7546, 'SKR04', 'Zur freien Verfügung', 8552, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7547, 'SKR04', 'Zur freien Verfügung', 8553, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7548, 'SKR04', 'Zur freien Verfügung', 8554, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7549, 'SKR04', 'Zur freien Verfügung', 8555, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7550, 'SKR04', 'Zur freien Verfügung', 8556, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7551, 'SKR04', 'Zur freien Verfügung', 8557, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7552, 'SKR04', 'Zur freien Verfügung', 8558, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7553, 'SKR04', 'Zur freien Verfügung', 8559, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7554, 'SKR04', 'Zur freien Verfügung', 8560, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7555, 'SKR04', 'Zur freien Verfügung', 8561, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7556, 'SKR04', 'Zur freien Verfügung', 8562, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7557, 'SKR04', 'Zur freien Verfügung', 8563, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7558, 'SKR04', 'Zur freien Verfügung', 8564, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7559, 'SKR04', 'Zur freien Verfügung', 8565, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7560, 'SKR04', 'Zur freien Verfügung', 8566, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7561, 'SKR04', 'Zur freien Verfügung', 8567, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7562, 'SKR04', 'Zur freien Verfügung', 8568, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7563, 'SKR04', 'Zur freien Verfügung', 8569, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7564, 'SKR04', 'Zur freien Verfügung', 8570, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7565, 'SKR04', 'Zur freien Verfügung', 8571, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7566, 'SKR04', 'Zur freien Verfügung', 8572, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7567, 'SKR04', 'Zur freien Verfügung', 8573, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7568, 'SKR04', 'Zur freien Verfügung', 8574, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7569, 'SKR04', 'Zur freien Verfügung', 8575, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7570, 'SKR04', 'Zur freien Verfügung', 8576, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7571, 'SKR04', 'Zur freien Verfügung', 8577, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7572, 'SKR04', 'Zur freien Verfügung', 8578, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7573, 'SKR04', 'Zur freien Verfügung', 8579, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7574, 'SKR04', 'Zur freien Verfügung', 8580, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7575, 'SKR04', 'Zur freien Verfügung', 8581, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7576, 'SKR04', 'Zur freien Verfügung', 8582, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7577, 'SKR04', 'Zur freien Verfügung', 8583, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7578, 'SKR04', 'Zur freien Verfügung', 8584, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7579, 'SKR04', 'Zur freien Verfügung', 8585, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7580, 'SKR04', 'Zur freien Verfügung', 8586, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7581, 'SKR04', 'Zur freien Verfügung', 8587, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7582, 'SKR04', 'Zur freien Verfügung', 8588, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7583, 'SKR04', 'Zur freien Verfügung', 8589, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7584, 'SKR04', 'Zur freien Verfügung', 8590, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7585, 'SKR04', 'Zur freien Verfügung', 8591, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7586, 'SKR04', 'Zur freien Verfügung', 8592, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7587, 'SKR04', 'Zur freien Verfügung', 8593, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7588, 'SKR04', 'Zur freien Verfügung', 8594, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7589, 'SKR04', 'Zur freien Verfügung', 8595, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7590, 'SKR04', 'Zur freien Verfügung', 8596, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7591, 'SKR04', 'Zur freien Verfügung', 8597, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7592, 'SKR04', 'Zur freien Verfügung', 8598, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7593, 'SKR04', 'Zur freien Verfügung', 8599, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7594, 'SKR04', 'Zur freien Verfügung', 8600, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7595, 'SKR04', 'Zur freien Verfügung', 8601, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7596, 'SKR04', 'Zur freien Verfügung', 8602, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7597, 'SKR04', 'Zur freien Verfügung', 8603, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7598, 'SKR04', 'Zur freien Verfügung', 8604, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7599, 'SKR04', 'Zur freien Verfügung', 8605, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7600, 'SKR04', 'Zur freien Verfügung', 8606, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7601, 'SKR04', 'Zur freien Verfügung', 8607, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7602, 'SKR04', 'Zur freien Verfügung', 8608, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7603, 'SKR04', 'Zur freien Verfügung', 8609, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7604, 'SKR04', 'Zur freien Verfügung', 8610, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7605, 'SKR04', 'Zur freien Verfügung', 8611, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7606, 'SKR04', 'Zur freien Verfügung', 8612, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7607, 'SKR04', 'Zur freien Verfügung', 8613, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7608, 'SKR04', 'Zur freien Verfügung', 8614, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7609, 'SKR04', 'Zur freien Verfügung', 8615, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7610, 'SKR04', 'Zur freien Verfügung', 8616, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7611, 'SKR04', 'Zur freien Verfügung', 8617, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7612, 'SKR04', 'Zur freien Verfügung', 8618, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7613, 'SKR04', 'Zur freien Verfügung', 8619, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7614, 'SKR04', 'Zur freien Verfügung', 8620, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7615, 'SKR04', 'Zur freien Verfügung', 8621, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7616, 'SKR04', 'Zur freien Verfügung', 8622, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7617, 'SKR04', 'Zur freien Verfügung', 8623, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7618, 'SKR04', 'Zur freien Verfügung', 8624, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7619, 'SKR04', 'Zur freien Verfügung', 8625, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7620, 'SKR04', 'Zur freien Verfügung', 8626, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7621, 'SKR04', 'Zur freien Verfügung', 8627, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7622, 'SKR04', 'Zur freien Verfügung', 8628, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7623, 'SKR04', 'Zur freien Verfügung', 8629, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7624, 'SKR04', 'Zur freien Verfügung', 8630, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7625, 'SKR04', 'Zur freien Verfügung', 8631, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7626, 'SKR04', 'Zur freien Verfügung', 8632, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7627, 'SKR04', 'Zur freien Verfügung', 8633, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7628, 'SKR04', 'Zur freien Verfügung', 8634, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7629, 'SKR04', 'Zur freien Verfügung', 8635, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7630, 'SKR04', 'Zur freien Verfügung', 8636, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7631, 'SKR04', 'Zur freien Verfügung', 8637, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7632, 'SKR04', 'Zur freien Verfügung', 8638, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7633, 'SKR04', 'Zur freien Verfügung', 8639, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7634, 'SKR04', 'Zur freien Verfügung', 8640, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7635, 'SKR04', 'Zur freien Verfügung', 8641, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7636, 'SKR04', 'Zur freien Verfügung', 8642, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7637, 'SKR04', 'Zur freien Verfügung', 8643, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7638, 'SKR04', 'Zur freien Verfügung', 8644, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7639, 'SKR04', 'Zur freien Verfügung', 8645, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7640, 'SKR04', 'Zur freien Verfügung', 8646, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7641, 'SKR04', 'Zur freien Verfügung', 8647, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7642, 'SKR04', 'Zur freien Verfügung', 8648, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7643, 'SKR04', 'Zur freien Verfügung', 8649, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7644, 'SKR04', 'Zur freien Verfügung', 8650, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7645, 'SKR04', 'Zur freien Verfügung', 8651, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7646, 'SKR04', 'Zur freien Verfügung', 8652, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7647, 'SKR04', 'Zur freien Verfügung', 8653, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7648, 'SKR04', 'Zur freien Verfügung', 8654, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7649, 'SKR04', 'Zur freien Verfügung', 8655, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7650, 'SKR04', 'Zur freien Verfügung', 8656, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7651, 'SKR04', 'Zur freien Verfügung', 8657, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7652, 'SKR04', 'Zur freien Verfügung', 8658, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7653, 'SKR04', 'Zur freien Verfügung', 8659, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7654, 'SKR04', 'Zur freien Verfügung', 8660, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7655, 'SKR04', 'Zur freien Verfügung', 8661, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7656, 'SKR04', 'Zur freien Verfügung', 8662, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7657, 'SKR04', 'Zur freien Verfügung', 8663, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7658, 'SKR04', 'Zur freien Verfügung', 8664, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7659, 'SKR04', 'Zur freien Verfügung', 8665, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7660, 'SKR04', 'Zur freien Verfügung', 8666, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7661, 'SKR04', 'Zur freien Verfügung', 8667, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7662, 'SKR04', 'Zur freien Verfügung', 8668, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7663, 'SKR04', 'Zur freien Verfügung', 8669, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7664, 'SKR04', 'Zur freien Verfügung', 8670, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7665, 'SKR04', 'Zur freien Verfügung', 8671, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7666, 'SKR04', 'Zur freien Verfügung', 8672, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7667, 'SKR04', 'Zur freien Verfügung', 8673, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7668, 'SKR04', 'Zur freien Verfügung', 8674, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7669, 'SKR04', 'Zur freien Verfügung', 8675, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7670, 'SKR04', 'Zur freien Verfügung', 8676, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7671, 'SKR04', 'Zur freien Verfügung', 8677, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7672, 'SKR04', 'Zur freien Verfügung', 8678, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7673, 'SKR04', 'Zur freien Verfügung', 8679, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7674, 'SKR04', 'Zur freien Verfügung', 8680, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7675, 'SKR04', 'Zur freien Verfügung', 8681, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7676, 'SKR04', 'Zur freien Verfügung', 8682, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7677, 'SKR04', 'Zur freien Verfügung', 8683, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7678, 'SKR04', 'Zur freien Verfügung', 8684, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7679, 'SKR04', 'Zur freien Verfügung', 8685, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7680, 'SKR04', 'Zur freien Verfügung', 8686, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7681, 'SKR04', 'Zur freien Verfügung', 8687, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7682, 'SKR04', 'Zur freien Verfügung', 8688, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7683, 'SKR04', 'Zur freien Verfügung', 8689, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7684, 'SKR04', 'Zur freien Verfügung', 8690, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7685, 'SKR04', 'Zur freien Verfügung', 8691, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7686, 'SKR04', 'Zur freien Verfügung', 8692, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7687, 'SKR04', 'Zur freien Verfügung', 8693, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7688, 'SKR04', 'Zur freien Verfügung', 8694, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7689, 'SKR04', 'Zur freien Verfügung', 8695, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7690, 'SKR04', 'Zur freien Verfügung', 8696, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7691, 'SKR04', 'Zur freien Verfügung', 8697, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7692, 'SKR04', 'Zur freien Verfügung', 8698, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7693, 'SKR04', 'Zur freien Verfügung', 8699, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7694, 'SKR04', 'Zur freien Verfügung', 8700, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7695, 'SKR04', 'Zur freien Verfügung', 8701, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7696, 'SKR04', 'Zur freien Verfügung', 8702, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7697, 'SKR04', 'Zur freien Verfügung', 8703, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7698, 'SKR04', 'Zur freien Verfügung', 8704, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7699, 'SKR04', 'Zur freien Verfügung', 8705, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7700, 'SKR04', 'Zur freien Verfügung', 8706, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7701, 'SKR04', 'Zur freien Verfügung', 8707, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7702, 'SKR04', 'Zur freien Verfügung', 8708, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7703, 'SKR04', 'Zur freien Verfügung', 8709, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7704, 'SKR04', 'Zur freien Verfügung', 8710, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7705, 'SKR04', 'Zur freien Verfügung', 8711, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7706, 'SKR04', 'Zur freien Verfügung', 8712, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7707, 'SKR04', 'Zur freien Verfügung', 8713, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7708, 'SKR04', 'Zur freien Verfügung', 8714, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7709, 'SKR04', 'Zur freien Verfügung', 8715, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7710, 'SKR04', 'Zur freien Verfügung', 8716, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7711, 'SKR04', 'Zur freien Verfügung', 8717, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7712, 'SKR04', 'Zur freien Verfügung', 8718, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7713, 'SKR04', 'Zur freien Verfügung', 8719, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7714, 'SKR04', 'Zur freien Verfügung', 8720, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7715, 'SKR04', 'Zur freien Verfügung', 8721, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7716, 'SKR04', 'Zur freien Verfügung', 8722, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7717, 'SKR04', 'Zur freien Verfügung', 8723, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7718, 'SKR04', 'Zur freien Verfügung', 8724, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7719, 'SKR04', 'Zur freien Verfügung', 8725, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7720, 'SKR04', 'Zur freien Verfügung', 8726, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7721, 'SKR04', 'Zur freien Verfügung', 8727, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7722, 'SKR04', 'Zur freien Verfügung', 8728, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7723, 'SKR04', 'Zur freien Verfügung', 8729, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7724, 'SKR04', 'Zur freien Verfügung', 8730, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7725, 'SKR04', 'Zur freien Verfügung', 8731, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7726, 'SKR04', 'Zur freien Verfügung', 8732, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7727, 'SKR04', 'Zur freien Verfügung', 8733, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7728, 'SKR04', 'Zur freien Verfügung', 8734, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7729, 'SKR04', 'Zur freien Verfügung', 8735, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7730, 'SKR04', 'Zur freien Verfügung', 8736, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7731, 'SKR04', 'Zur freien Verfügung', 8737, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7732, 'SKR04', 'Zur freien Verfügung', 8738, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7733, 'SKR04', 'Zur freien Verfügung', 8739, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7734, 'SKR04', 'Zur freien Verfügung', 8740, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7735, 'SKR04', 'Zur freien Verfügung', 8741, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7736, 'SKR04', 'Zur freien Verfügung', 8742, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7737, 'SKR04', 'Zur freien Verfügung', 8743, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7738, 'SKR04', 'Zur freien Verfügung', 8744, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7739, 'SKR04', 'Zur freien Verfügung', 8745, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7740, 'SKR04', 'Zur freien Verfügung', 8746, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7741, 'SKR04', 'Zur freien Verfügung', 8747, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7742, 'SKR04', 'Zur freien Verfügung', 8748, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7743, 'SKR04', 'Zur freien Verfügung', 8749, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7744, 'SKR04', 'Zur freien Verfügung', 8750, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7745, 'SKR04', 'Zur freien Verfügung', 8751, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7746, 'SKR04', 'Zur freien Verfügung', 8752, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7747, 'SKR04', 'Zur freien Verfügung', 8753, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7748, 'SKR04', 'Zur freien Verfügung', 8754, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7749, 'SKR04', 'Zur freien Verfügung', 8755, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7750, 'SKR04', 'Zur freien Verfügung', 8756, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7751, 'SKR04', 'Zur freien Verfügung', 8757, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7752, 'SKR04', 'Zur freien Verfügung', 8758, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7753, 'SKR04', 'Zur freien Verfügung', 8759, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7754, 'SKR04', 'Zur freien Verfügung', 8760, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7755, 'SKR04', 'Zur freien Verfügung', 8761, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7756, 'SKR04', 'Zur freien Verfügung', 8762, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7757, 'SKR04', 'Zur freien Verfügung', 8763, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7758, 'SKR04', 'Zur freien Verfügung', 8764, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7759, 'SKR04', 'Zur freien Verfügung', 8765, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7760, 'SKR04', 'Zur freien Verfügung', 8766, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7761, 'SKR04', 'Zur freien Verfügung', 8767, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7762, 'SKR04', 'Zur freien Verfügung', 8768, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7763, 'SKR04', 'Zur freien Verfügung', 8769, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7764, 'SKR04', 'Zur freien Verfügung', 8770, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7765, 'SKR04', 'Zur freien Verfügung', 8771, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7766, 'SKR04', 'Zur freien Verfügung', 8772, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7767, 'SKR04', 'Zur freien Verfügung', 8773, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7768, 'SKR04', 'Zur freien Verfügung', 8774, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7769, 'SKR04', 'Zur freien Verfügung', 8775, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7770, 'SKR04', 'Zur freien Verfügung', 8776, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7771, 'SKR04', 'Zur freien Verfügung', 8777, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7772, 'SKR04', 'Zur freien Verfügung', 8778, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7773, 'SKR04', 'Zur freien Verfügung', 8779, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7774, 'SKR04', 'Zur freien Verfügung', 8780, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7775, 'SKR04', 'Zur freien Verfügung', 8781, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7776, 'SKR04', 'Zur freien Verfügung', 8782, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7777, 'SKR04', 'Zur freien Verfügung', 8783, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7778, 'SKR04', 'Zur freien Verfügung', 8784, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7779, 'SKR04', 'Zur freien Verfügung', 8785, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7780, 'SKR04', 'Zur freien Verfügung', 8786, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7781, 'SKR04', 'Zur freien Verfügung', 8787, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7782, 'SKR04', 'Zur freien Verfügung', 8788, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7783, 'SKR04', 'Zur freien Verfügung', 8789, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7784, 'SKR04', 'Zur freien Verfügung', 8790, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7785, 'SKR04', 'Zur freien Verfügung', 8791, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7786, 'SKR04', 'Zur freien Verfügung', 8792, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7787, 'SKR04', 'Zur freien Verfügung', 8793, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7788, 'SKR04', 'Zur freien Verfügung', 8794, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7789, 'SKR04', 'Zur freien Verfügung', 8795, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7790, 'SKR04', 'Zur freien Verfügung', 8796, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7791, 'SKR04', 'Zur freien Verfügung', 8797, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7792, 'SKR04', 'Zur freien Verfügung', 8798, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7793, 'SKR04', 'Zur freien Verfügung', 8799, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7794, 'SKR04', 'Zur freien Verfügung', 8800, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7795, 'SKR04', 'Zur freien Verfügung', 8801, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7796, 'SKR04', 'Zur freien Verfügung', 8802, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7797, 'SKR04', 'Zur freien Verfügung', 8803, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7798, 'SKR04', 'Zur freien Verfügung', 8804, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7799, 'SKR04', 'Zur freien Verfügung', 8805, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7800, 'SKR04', 'Zur freien Verfügung', 8806, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7801, 'SKR04', 'Zur freien Verfügung', 8807, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7802, 'SKR04', 'Zur freien Verfügung', 8808, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7803, 'SKR04', 'Zur freien Verfügung', 8809, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7804, 'SKR04', 'Zur freien Verfügung', 8810, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7805, 'SKR04', 'Zur freien Verfügung', 8811, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7806, 'SKR04', 'Zur freien Verfügung', 8812, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7807, 'SKR04', 'Zur freien Verfügung', 8813, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7808, 'SKR04', 'Zur freien Verfügung', 8814, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7809, 'SKR04', 'Zur freien Verfügung', 8815, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7810, 'SKR04', 'Zur freien Verfügung', 8816, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7811, 'SKR04', 'Zur freien Verfügung', 8817, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7812, 'SKR04', 'Zur freien Verfügung', 8818, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7813, 'SKR04', 'Zur freien Verfügung', 8819, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7814, 'SKR04', 'Zur freien Verfügung', 8820, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7815, 'SKR04', 'Zur freien Verfügung', 8821, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7816, 'SKR04', 'Zur freien Verfügung', 8822, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7817, 'SKR04', 'Zur freien Verfügung', 8823, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7818, 'SKR04', 'Zur freien Verfügung', 8824, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7819, 'SKR04', 'Zur freien Verfügung', 8825, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7820, 'SKR04', 'Zur freien Verfügung', 8826, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7821, 'SKR04', 'Zur freien Verfügung', 8827, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7822, 'SKR04', 'Zur freien Verfügung', 8828, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7823, 'SKR04', 'Zur freien Verfügung', 8829, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7824, 'SKR04', 'Zur freien Verfügung', 8830, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7825, 'SKR04', 'Zur freien Verfügung', 8831, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7826, 'SKR04', 'Zur freien Verfügung', 8832, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7827, 'SKR04', 'Zur freien Verfügung', 8833, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7828, 'SKR04', 'Zur freien Verfügung', 8834, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7829, 'SKR04', 'Zur freien Verfügung', 8835, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7830, 'SKR04', 'Zur freien Verfügung', 8836, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7831, 'SKR04', 'Zur freien Verfügung', 8837, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7832, 'SKR04', 'Zur freien Verfügung', 8838, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7833, 'SKR04', 'Zur freien Verfügung', 8839, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7834, 'SKR04', 'Zur freien Verfügung', 8840, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7835, 'SKR04', 'Zur freien Verfügung', 8841, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7836, 'SKR04', 'Zur freien Verfügung', 8842, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7837, 'SKR04', 'Zur freien Verfügung', 8843, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7838, 'SKR04', 'Zur freien Verfügung', 8844, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7839, 'SKR04', 'Zur freien Verfügung', 8845, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7840, 'SKR04', 'Zur freien Verfügung', 8846, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7841, 'SKR04', 'Zur freien Verfügung', 8847, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7842, 'SKR04', 'Zur freien Verfügung', 8848, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7843, 'SKR04', 'Zur freien Verfügung', 8849, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7844, 'SKR04', 'Zur freien Verfügung', 8850, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7845, 'SKR04', 'Zur freien Verfügung', 8851, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7846, 'SKR04', 'Zur freien Verfügung', 8852, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7847, 'SKR04', 'Zur freien Verfügung', 8853, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7848, 'SKR04', 'Zur freien Verfügung', 8854, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7849, 'SKR04', 'Zur freien Verfügung', 8855, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7850, 'SKR04', 'Zur freien Verfügung', 8856, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7851, 'SKR04', 'Zur freien Verfügung', 8857, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7852, 'SKR04', 'Zur freien Verfügung', 8858, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7853, 'SKR04', 'Zur freien Verfügung', 8859, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7854, 'SKR04', 'Zur freien Verfügung', 8860, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7855, 'SKR04', 'Zur freien Verfügung', 8861, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7856, 'SKR04', 'Zur freien Verfügung', 8862, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7857, 'SKR04', 'Zur freien Verfügung', 8863, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7858, 'SKR04', 'Zur freien Verfügung', 8864, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7859, 'SKR04', 'Zur freien Verfügung', 8865, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7860, 'SKR04', 'Zur freien Verfügung', 8866, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7861, 'SKR04', 'Zur freien Verfügung', 8867, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7862, 'SKR04', 'Zur freien Verfügung', 8868, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7863, 'SKR04', 'Zur freien Verfügung', 8869, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7864, 'SKR04', 'Zur freien Verfügung', 8870, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7865, 'SKR04', 'Zur freien Verfügung', 8871, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7866, 'SKR04', 'Zur freien Verfügung', 8872, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7867, 'SKR04', 'Zur freien Verfügung', 8873, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7868, 'SKR04', 'Zur freien Verfügung', 8874, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7869, 'SKR04', 'Zur freien Verfügung', 8875, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7870, 'SKR04', 'Zur freien Verfügung', 8876, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7871, 'SKR04', 'Zur freien Verfügung', 8877, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7872, 'SKR04', 'Zur freien Verfügung', 8878, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7873, 'SKR04', 'Zur freien Verfügung', 8879, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7874, 'SKR04', 'Zur freien Verfügung', 8880, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7875, 'SKR04', 'Zur freien Verfügung', 8881, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7876, 'SKR04', 'Zur freien Verfügung', 8882, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7877, 'SKR04', 'Zur freien Verfügung', 8883, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7878, 'SKR04', 'Zur freien Verfügung', 8884, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7879, 'SKR04', 'Zur freien Verfügung', 8885, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7880, 'SKR04', 'Zur freien Verfügung', 8886, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7881, 'SKR04', 'Zur freien Verfügung', 8887, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7882, 'SKR04', 'Zur freien Verfügung', 8888, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7883, 'SKR04', 'Zur freien Verfügung', 8889, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7884, 'SKR04', 'Zur freien Verfügung', 8890, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7885, 'SKR04', 'Zur freien Verfügung', 8891, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7886, 'SKR04', 'Zur freien Verfügung', 8892, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7887, 'SKR04', 'Zur freien Verfügung', 8893, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7888, 'SKR04', 'Zur freien Verfügung', 8894, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7889, 'SKR04', 'Zur freien Verfügung', 8895, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7890, 'SKR04', 'Zur freien Verfügung', 8896, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7891, 'SKR04', 'Zur freien Verfügung', 8897, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7892, 'SKR04', 'Zur freien Verfügung', 8898, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7893, 'SKR04', 'Zur freien Verfügung', 8899, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7894, 'SKR04', 'Zur freien Verfügung', 8900, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7895, 'SKR04', 'Zur freien Verfügung', 8901, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7896, 'SKR04', 'Zur freien Verfügung', 8902, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7897, 'SKR04', 'Zur freien Verfügung', 8903, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7898, 'SKR04', 'Zur freien Verfügung', 8904, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7899, 'SKR04', 'Zur freien Verfügung', 8905, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7900, 'SKR04', 'Zur freien Verfügung', 8906, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7901, 'SKR04', 'Zur freien Verfügung', 8907, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7902, 'SKR04', 'Zur freien Verfügung', 8908, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7903, 'SKR04', 'Zur freien Verfügung', 8909, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7904, 'SKR04', 'Zur freien Verfügung', 8910, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7905, 'SKR04', 'Zur freien Verfügung', 8911, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7906, 'SKR04', 'Zur freien Verfügung', 8912, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7907, 'SKR04', 'Zur freien Verfügung', 8913, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7908, 'SKR04', 'Zur freien Verfügung', 8914, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7909, 'SKR04', 'Zur freien Verfügung', 8915, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7910, 'SKR04', 'Zur freien Verfügung', 8916, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7911, 'SKR04', 'Zur freien Verfügung', 8917, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7912, 'SKR04', 'Zur freien Verfügung', 8918, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7913, 'SKR04', 'Zur freien Verfügung', 8919, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7914, 'SKR04', 'Zur freien Verfügung', 8920, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7915, 'SKR04', 'Zur freien Verfügung', 8921, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7916, 'SKR04', 'Zur freien Verfügung', 8922, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7917, 'SKR04', 'Zur freien Verfügung', 8923, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7918, 'SKR04', 'Zur freien Verfügung', 8924, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7919, 'SKR04', 'Zur freien Verfügung', 8925, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7920, 'SKR04', 'Zur freien Verfügung', 8926, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7921, 'SKR04', 'Zur freien Verfügung', 8927, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7922, 'SKR04', 'Zur freien Verfügung', 8928, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7923, 'SKR04', 'Zur freien Verfügung', 8929, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7924, 'SKR04', 'Zur freien Verfügung', 8930, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7925, 'SKR04', 'Zur freien Verfügung', 8931, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7926, 'SKR04', 'Zur freien Verfügung', 8932, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7927, 'SKR04', 'Zur freien Verfügung', 8933, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7928, 'SKR04', 'Zur freien Verfügung', 8934, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7929, 'SKR04', 'Zur freien Verfügung', 8935, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7930, 'SKR04', 'Zur freien Verfügung', 8936, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7931, 'SKR04', 'Zur freien Verfügung', 8937, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7932, 'SKR04', 'Zur freien Verfügung', 8938, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7933, 'SKR04', 'Zur freien Verfügung', 8939, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7934, 'SKR04', 'Zur freien Verfügung', 8940, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7935, 'SKR04', 'Zur freien Verfügung', 8941, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7936, 'SKR04', 'Zur freien Verfügung', 8942, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7937, 'SKR04', 'Zur freien Verfügung', 8943, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7938, 'SKR04', 'Zur freien Verfügung', 8944, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7939, 'SKR04', 'Zur freien Verfügung', 8945, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7940, 'SKR04', 'Zur freien Verfügung', 8946, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7941, 'SKR04', 'Zur freien Verfügung', 8947, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7942, 'SKR04', 'Zur freien Verfügung', 8948, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7943, 'SKR04', 'Zur freien Verfügung', 8949, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7944, 'SKR04', 'Zur freien Verfügung', 8950, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7945, 'SKR04', 'Zur freien Verfügung', 8951, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7946, 'SKR04', 'Zur freien Verfügung', 8952, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7947, 'SKR04', 'Zur freien Verfügung', 8953, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7948, 'SKR04', 'Zur freien Verfügung', 8954, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7949, 'SKR04', 'Zur freien Verfügung', 8955, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7950, 'SKR04', 'Zur freien Verfügung', 8956, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7951, 'SKR04', 'Zur freien Verfügung', 8957, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7952, 'SKR04', 'Zur freien Verfügung', 8958, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7953, 'SKR04', 'Zur freien Verfügung', 8959, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7954, 'SKR04', 'Zur freien Verfügung', 8960, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7955, 'SKR04', 'Zur freien Verfügung', 8961, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7956, 'SKR04', 'Zur freien Verfügung', 8962, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7957, 'SKR04', 'Zur freien Verfügung', 8963, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7958, 'SKR04', 'Zur freien Verfügung', 8964, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7959, 'SKR04', 'Zur freien Verfügung', 8965, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7960, 'SKR04', 'Zur freien Verfügung', 8966, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7961, 'SKR04', 'Zur freien Verfügung', 8967, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7962, 'SKR04', 'Zur freien Verfügung', 8968, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7963, 'SKR04', 'Zur freien Verfügung', 8969, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7964, 'SKR04', 'Zur freien Verfügung', 8970, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7965, 'SKR04', 'Zur freien Verfügung', 8971, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7966, 'SKR04', 'Zur freien Verfügung', 8972, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7967, 'SKR04', 'Zur freien Verfügung', 8973, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7968, 'SKR04', 'Zur freien Verfügung', 8974, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7969, 'SKR04', 'Zur freien Verfügung', 8975, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7970, 'SKR04', 'Zur freien Verfügung', 8976, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7971, 'SKR04', 'Zur freien Verfügung', 8977, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7972, 'SKR04', 'Zur freien Verfügung', 8978, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7973, 'SKR04', 'Zur freien Verfügung', 8979, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7974, 'SKR04', 'Zur freien Verfügung', 8980, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7975, 'SKR04', 'Zur freien Verfügung', 8981, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7976, 'SKR04', 'Zur freien Verfügung', 8982, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7977, 'SKR04', 'Zur freien Verfügung', 8983, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7978, 'SKR04', 'Zur freien Verfügung', 8984, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7979, 'SKR04', 'Zur freien Verfügung', 8985, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7980, 'SKR04', 'Zur freien Verfügung', 8986, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7981, 'SKR04', 'Zur freien Verfügung', 8987, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7982, 'SKR04', 'Zur freien Verfügung', 8988, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7983, 'SKR04', 'Zur freien Verfügung', 8989, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7984, 'SKR04', 'Zur freien Verfügung', 8990, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7985, 'SKR04', 'Zur freien Verfügung', 8991, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7986, 'SKR04', 'Zur freien Verfügung', 8992, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7987, 'SKR04', 'Zur freien Verfügung', 8993, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7988, 'SKR04', 'Zur freien Verfügung', 8994, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7989, 'SKR04', 'Zur freien Verfügung', 8995, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7990, 'SKR04', 'Zur freien Verfügung', 8996, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7991, 'SKR04', 'Zur freien Verfügung', 8997, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7992, 'SKR04', 'Zur freien Verfügung', 8998, 8, 'Zur freien Verfügung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7993, 'SKR04', 'Zur freien Verfügung', 8999, 8, 'Zur freien Verfügung'); - ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7994, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9, 9, 'Vortrags-, Kapital-, Korrektur- und statistische Konten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7995, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9000, 9, 'Saldenvorträge, Sachkonten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7996, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9001, 9000, 'Saldenvorträge, Sachkonten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7997, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9002, 9000, 'Saldenvorträge, Sachkonten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7998, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9003, 9000, 'Saldenvorträge, Sachkonten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 7999, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9004, 9000, 'Saldenvorträge, Sachkonten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8000, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9005, 9000, 'Saldenvorträge, Sachkonten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8001, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9006, 9000, 'Saldenvorträge, Sachkonten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8002, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9007, 9000, 'Saldenvorträge, Sachkonten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8003, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9008, 9, 'Saldenvorträge, Debitoren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8004, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9009, 9, 'Saldenvorträge, Kreditoren'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8005, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9060, 9009, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8006, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9069, 9009, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8007, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9070, 9, 'Offene Posten aus 2000'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8008, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9071, 9, 'Offene Posten aus 2001'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8009, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9072, 9, 'Offene Posten aus 2002'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8010, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9073, 9, 'Offene Posten aus 2003'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8011, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9074, 9, 'Offene Posten aus 2004'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8012, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9075, 9, 'Offene Posten aus 2005'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8013, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9076, 9, 'Offene Posten aus 2006'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8014, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9077, 9, 'Offene Posten aus 2007'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8015, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9078, 9, 'Offene Posten aus 2008'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8016, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9079, 9, 'Offene Posten aus 2009'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8017, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9080, 9, 'Offene Posten aus 2010'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8018, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9081, 9, 'Offene Posten aus 2011'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8019, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9082, 9, 'Offene Posten aus 2012'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8020, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9083, 9, 'Offene Posten aus 2013'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8021, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9084, 9, 'Offene Posten aus 2014'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8022, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9085, 9, 'Offene Posten aus 2015'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8023, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9086, 9, 'Offene Posten aus 2016'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8024, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9087, 9, 'Offene Posten aus 2017'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8025, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9088, 9, 'Offene Posten aus 2018'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8026, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9089, 9088, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8027, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9090, 9, 'Summenvortragskonto'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8028, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9091, 9090, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8029, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9092, 9090, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8030, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9093, 9090, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8031, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9094, 9090, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8032, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9095, 9090, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8033, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9096, 9090, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8034, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9097, 9090, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8035, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9098, 9090, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8036, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9101, 9, 'Verkaufstage'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8037, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9102, 9, 'Anzahl der Barkunden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8038, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9103, 9, 'Beschäftigte Personen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8039, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9104, 9, 'Unbezahlte Personen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8040, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9105, 9, 'Verkaufskräfte'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8041, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9106, 9, 'Geschäftsraum qm'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8042, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9107, 9, 'Verkaufsraum qm'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8043, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9116, 9, 'Anzahl Rechnungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8044, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9117, 9, 'Anzahl Kreditkunden monatlich'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8045, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9118, 9, 'Anzahl Kreditkunden aufgelaufen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8046, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9120, 9, 'Erweiterungsinvestitionen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8047, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9130, 9120, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8048, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9131, 9120, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8049, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9135, 9, 'Auftragseingang im Geschäftsjahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8050, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9140, 9, 'Auftragsbestand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8051, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9141, 9, 'Variables Kapital TH'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8052, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9142, 9, 'Variables Kapital – Anteil Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8053, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9143, 9142, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8054, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9144, 9142, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8055, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9145, 9142, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8056, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9146, 9, 'Variables Kapital Vollhafter – Übertragung einer § 6b EstG-Rücklage'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8057, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9147, 9, 'Variables Kapital Teilhafter – Übertragung einer § 6b EstG-Rücklage'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8058, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9148, 9147, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8059, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9149, 9147, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8060, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9150, 9, 'Festkapital – andere Kapitalkontenanpassungen VH'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8061, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9151, 9, 'Variables Kapital – andere Kapitalkontenanpassungen VH'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8062, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9152, 9, 'Verlust-/Vortragskonto – andere Kapitalkontenanpassungen VH'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8063, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9153, 9, 'Kapitalkonto III – andere Kapitalkontenanpassungen VH'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8064, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9154, 9, 'Ausstehende Einlagen auf das Komplementär-Kapital, nicht eingefordert – andere Kapitalkontenanpassungen VH'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8065, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9155, 9, 'Verrechnungskonto für Einzahlungsverpflichtungen – andere Kapitalkontenanpassungen VH'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8066, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9156, 9155, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8067, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9157, 9155, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8068, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9158, 9155, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8069, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9159, 9155, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8070, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9160, 9, 'Kommandit-Kapital – andere Kapitalkontenanpassungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8071, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9161, 9, 'Variables Kapital – andere Kapitalkontenanpassungen TH'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8072, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9162, 9, 'Verlustausgleichskonto – andere Kapitalkontenanpassungen TH'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8073, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9163, 9, 'Kapitalkonto III – andere Kapitalkontenanpassungen TH'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8074, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9164, 9, 'Ausstehende Einlagen auf das Kommandit-Kapital, nicht eingefordert – andere Kapitalkontenanpassungen TH'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8075, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9165, 9, 'Verrechnungskonto für Einzahlungsverpflichtungen – andere Kapitalkontenanpassungen TH'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8076, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9166, 9165, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8077, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9167, 9165, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8078, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9168, 9165, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8079, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9169, 9165, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8080, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9170, 9, 'Festkapital – Umbuchungen VH'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8081, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9171, 9, 'Variables Kapital – Umbuchungen VH'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8082, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9172, 9, 'Verlust-/Vortragskonto – Umbuchungen VH'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8083, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9173, 9, 'Kapitalkonto III – Umbuchungen VH'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8084, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9174, 9, 'Ausstehende Einlagen auf das Komplementär-Kapital, nicht eingefordert – Umbuchungen VH'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8085, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9175, 9, 'Verrechnungskonto für Einzahlungsverpflichtungen – Umbuchungen VH'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8086, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9176, 9175, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8087, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9177, 9175, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8088, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9178, 9175, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8089, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9179, 9175, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8090, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9180, 9, 'Kommandit-Kapital – Umbuchungen TH'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8091, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9181, 9, 'Variables Kapital – Umbuchungen TH'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8092, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9182, 9, 'Verlustausgleichskonto – Umbuchungen TH'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8093, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9183, 9, 'Kapitalkonto III – Umbuchungen TH'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8094, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9184, 9, 'Ausstehende Einlagen auf das Kommandit-Kapital, nicht eingefordert – Umbuchungen TH'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8095, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9185, 9, 'Verrechnungskonto für Einzahlungsverpflichtungen – Umbuchungen TH'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8096, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9186, 9185, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8097, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9187, 9185, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8098, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9188, 9185, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8099, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9189, 9, 'Verrechnungskonto für Umbuchungen zwischen Gesellschafter-Eigenkapitalkonten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8100, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9190, 9, 'Gegenkonto für Mengeneinheiten Konten 9101-9107 und Konten 9116-9118'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8101, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9199, 9, 'Gegenkonto zu Konten 9120, 9135-9140'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8102, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9200, 9, 'Beschäftigte Personen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8103, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9201, 9200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8104, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9202, 9200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8105, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9203, 9200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8106, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9204, 9200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8107, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9205, 9200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8108, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9206, 9200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8109, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9207, 9200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8110, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9208, 9200, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8111, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9209, 9, 'Gegenkonto zu 9200'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8112, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9210, 9, 'Produktive Löhne'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8113, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9219, 9, 'Gegenkonto zu 9120'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8114, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9220, 9, 'Gezeichnetes Kapital in DM (Art. 42 Abs. 3 S. 1 EGHGB)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8115, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9221, 9, 'Gezeichnetes Kapital in Euro (Art. 42 Abs. 3 S. 2 EGHGB)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8116, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9229, 9, 'Gegenkonto zu 9220-9221'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8117, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9230, 9, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8118, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9232, 9, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8119, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9234, 9, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8120, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9239, 9, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8121, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9240, 9, 'Investitionsverbindlichkeiten bei den Leistungsverbindlichkeiten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8122, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9241, 9, 'Investitionsverbindlichkeiten aus Sachanlagekäufen bei Leistungsverbindlichkeiten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8123, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9242, 9, 'Investitionsverbindlichkeiten aus Käufen von immateriellen Vermögensgegenständen bei Leistungsverbindlichkeiten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8124, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9243, 9, 'Investitionsverbindlichkeiten aus Käufen von Finanzanlagen bei Leistungsverbindlichkeiten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8125, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9244, 9, 'Gegenkonto zu Konto 9240-9243'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8126, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9245, 9, 'Forderungen aus Sachnanlageverkäufen bei sonstigen Vermögensgegenständen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8127, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9246, 9, 'Forderungen aus Verkäufen immaterieller Vermögensgegenstände bei sonstigen Vermögensgegenständen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8128, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9247, 9, 'Forderungen aus Verkäufen von Finanzanlagen bei sonstigen Vermögensgegenständen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8129, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9249, 9, 'Gegenkonto zu Konto 9245-47'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8130, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9250, 9, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8131, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9255, 9, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8132, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9259, 9, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8133, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9260, 9, 'Kurzfristige Rückstellungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8134, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9262, 9, 'Mittelfristige Rückstellungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8135, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9264, 9, 'Langfristige Rückstellungen, außer Pensionen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8136, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9269, 9, 'Gegenkonto zu Konten 9260-9268'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8137, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9270, 9, 'Gegenkonto zu 9271-9279 (Soll-Buchung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8138, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9271, 9, 'Verbindlichkeiten aus der Begebung und Übertragung von Wechseln'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8139, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9272, 9, 'Verbindlichkeiten aus der Begebung und Übertragung von Wechseln gegenüber verbundenen/assoziierten Unternehmen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8140, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9273, 9, 'Verbindlichkeiten aus Bürgschaften, Wechsel- und Scheckbürgschaften'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8141, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9274, 9, 'Verbindlichkeiten aus Bürgschaften, Wechsel- und Scheckbürgschaften gegenüber verbundenen/assoziierten Unternehmen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8142, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9275, 9, 'Verbindlichkeiten aus Gewährleistungsverträgen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8143, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9276, 9, 'Verbindlichkeiten aus Gewährleistungsverträgen gegenüber verbundenen/assoziierten Unternehmen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8144, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9277, 9, 'Haftungen aus der Bestellung von Sicherheiten für fremde Verbindlichkeiten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8145, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9278, 9, 'Haftungen aus der Bestellung von Sicherheiten für fremde Verbindlichkeiten gegenüber verbundenen/assoziierten Unternehemn'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8146, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9279, 9, 'Verpflichtungen aus Treuhandvermögen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8147, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9280, 9, 'Gegenkonto zu 9281-9284'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8148, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9281, 9, 'Verpflichtungen aus Miet- und Leasingverträgen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8149, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9282, 9, 'Verpflichtungen aus Miet- und Leasingverträgen gegenüber verbundenen Unternehmen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8150, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9283, 9, 'Andere Verpflichtungen gemäß § 285 Nr. 3 HGB'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8151, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9284, 9, 'Andere Verpflichtungen gemäß § 285 Nr. 3 HGB gegenüber verbundenen Unternehemen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8152, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9285, 9, 'Unterschiedsbetrag aus der Abzinsung von Altersversorgungsverpflichtungen nach „ 253 Abs. 6 HGB (Haben)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8153, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9286, 9, 'Gegenkonto zu 9285'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8154, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9287, 9, 'Zinsen bei Buchungen über Debitoren bei § 4 Abs. 3 EStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8155, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9288, 9, 'Mahngebühren bei Buchungen über Debitoren bei § 4 Abs. 3 EStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8156, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9289, 9, 'Gegenkonto zu 9287 und 9288'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8157, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9290, 9, 'Statistisches Konto steuerfreie Auslagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8158, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9291, 9, 'Gegenkonto zu 9290'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8159, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9292, 9, 'Statistisches Konto Fremdgeld'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8160, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9293, 9, 'Gegenkonto zu 9292'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8161, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9295, 9, 'Einlagen stiller Gesellschafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8162, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9297, 9, 'Steuerrechtlicher Ausgleichsposten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8163, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9300, 9, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8164, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9301, 9, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8165, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9302, 9, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8166, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9303, 9, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8167, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9304, 9, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8168, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9305, 9, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8169, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9306, 9, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8170, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9307, 9, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8171, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9308, 9, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8172, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9309, 9, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8173, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9310, 9, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8174, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9311, 9, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8175, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9312, 9, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8176, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9313, 9, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8177, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9314, 9, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8178, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9315, 9, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8179, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9316, 9, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8180, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9317, 9, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8181, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9318, 9, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8182, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9319, 9, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8183, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9320, 9, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8184, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9326, 9, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8185, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9327, 9, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8186, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9328, 9, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8187, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9329, 9, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8188, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9330, 9, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8189, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9331, 9, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8190, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9332, 9, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8191, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9333, 9, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8192, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9334, 9, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8193, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9335, 9, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8194, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9336, 9, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8195, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9337, 9, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8196, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9338, 9, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8197, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9339, 9, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8198, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9340, 9, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8199, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9341, 9, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8200, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9342, 9, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8201, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9343, 9, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8202, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9346, 9, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8203, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9347, 9, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8204, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9348, 9, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8205, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9349, 9, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8206, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9357, 9, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8207, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9358, 9, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8208, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9359, 9, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8209, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9360, 9, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8210, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9365, 9, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8211, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9366, 9, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8212, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9367, 9, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8213, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9371, 9, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8214, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9372, 9, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8215, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9390, 9, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8216, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9391, 9, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8217, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9392, 9, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8218, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9393, 9, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8219, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9394, 9, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8220, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9395, 9, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8221, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9396, 9, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8222, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9397, 9, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8223, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9398, 9, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8224, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9399, 9, '(zur freien Verfügung)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8225, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9400, 9, 'Privatentnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8226, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9401, 9, 'Privatentnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8227, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9402, 9, 'Privatentnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8228, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9403, 9, 'Privatentnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8229, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9404, 9, 'Privatentnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8230, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9405, 9, 'Privatentnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8231, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9406, 9, 'Privatentnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8232, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9407, 9, 'Privatentnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8233, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9408, 9, 'Privatentnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8234, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9409, 9, 'Privatentnahmen allgemein'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8235, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9410, 9, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8236, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9411, 9, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8237, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9412, 9, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8238, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9413, 9, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8239, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9414, 9, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8240, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9415, 9, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8241, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9416, 9, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8242, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9417, 9, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8243, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9418, 9, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8244, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9419, 9, 'Privatsteuern'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8245, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9420, 9, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8246, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9421, 9, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8247, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9422, 9, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8248, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9423, 9, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8249, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9424, 9, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8250, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9425, 9, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8251, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9426, 9, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8252, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9427, 9, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8253, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9428, 9, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8254, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9429, 9, 'Sonderausgaben beschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8255, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9430, 9, 'Sonderausgaben unbeschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8256, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9431, 9, 'Sonderausgaben unbeschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8257, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9432, 9, 'Sonderausgaben unbeschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8258, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9433, 9, 'Sonderausgaben unbeschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8259, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9434, 9, 'Sonderausgaben unbeschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8260, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9435, 9, 'Sonderausgaben unbeschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8261, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9436, 9, 'Sonderausgaben unbeschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8262, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9437, 9, 'Sonderausgaben unbeschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8263, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9438, 9, 'Sonderausgaben unbeschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8264, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9439, 9, 'Sonderausgaben unbeschränkt abzugsfähig'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8265, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9440, 9, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8266, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9441, 9, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8267, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9442, 9, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8268, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9443, 9, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8269, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9444, 9, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8270, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9445, 9, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8271, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9446, 9, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8272, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9447, 9, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8273, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9448, 9, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8274, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9449, 9, 'Zuwendungen, Spenden'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8275, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9450, 9, 'Außergewöhnliche Belastungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8276, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9451, 9, 'Außergewöhnliche Belastungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8277, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9452, 9, 'Außergewöhnliche Belastungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8278, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9453, 9, 'Außergewöhnliche Belastungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8279, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9454, 9, 'Außergewöhnliche Belastungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8280, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9455, 9, 'Außergewöhnliche Belastungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8281, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9456, 9, 'Außergewöhnliche Belastungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8282, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9457, 9, 'Außergewöhnliche Belastungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8283, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9458, 9, 'Außergewöhnliche Belastungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8284, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9459, 9, 'Außergewöhnliche Belastungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8285, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9460, 9, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8286, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9461, 9, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8287, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9462, 9, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8288, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9463, 9, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8289, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9464, 9, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8290, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9465, 9, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8291, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9466, 9, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8292, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9467, 9, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8293, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9468, 9, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8294, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9469, 9, 'Grundstücksaufwand'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8295, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9470, 9, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8296, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9471, 9, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8297, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9472, 9, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8298, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9473, 9, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8299, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9474, 9, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8300, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9475, 9, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8301, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9476, 9, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8302, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9477, 9, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8303, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9478, 9, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8304, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9479, 9, 'Grundstücksertrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8305, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9480, 9, 'Unentgeltliche Wertabgaben'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8306, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9481, 9, 'Unentgeltliche Wertabgaben'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8307, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9482, 9, 'Unentgeltliche Wertabgaben'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8308, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9483, 9, 'Unentgeltliche Wertabgaben'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8309, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9484, 9, 'Unentgeltliche Wertabgaben'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8310, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9485, 9, 'Unentgeltliche Wertabgaben'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8311, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9486, 9, 'Unentgeltliche Wertabgaben'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8312, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9487, 9, 'Unentgeltliche Wertabgaben'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8313, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9488, 9, 'Unentgeltliche Wertabgaben'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8314, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9489, 9, 'Unentgeltliche Wertabgaben'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8315, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9490, 9, 'Privateinlagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8316, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9491, 9, 'Privateinlagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8317, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9492, 9, 'Privateinlagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8318, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9493, 9, 'Privateinlagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8319, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9494, 9, 'Privateinlagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8320, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9495, 9, 'Privateinlagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8321, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9496, 9, 'Privateinlagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8322, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9497, 9, 'Privateinlagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8323, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9498, 9, 'Privateinlagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8324, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9499, 9, 'Privateinlagen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8325, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9500, 9, 'Anteil für Konto 2000 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8326, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9501, 9, 'Anteil für Konto 2001 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8327, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9502, 9, 'Anteil für Konto 2002 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8328, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9503, 9, 'Anteil für Konto 2003 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8329, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9504, 9, 'Anteil für Konto 2004 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8330, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9505, 9, 'Anteil für Konto 2005 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8331, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9506, 9, 'Anteil für Konto 2006 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8332, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9507, 9, 'Anteil für Konto 2007 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8333, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9508, 9, 'Anteil für Konto 2008 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8334, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9509, 9, 'Anteil für Konto 2009 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8335, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9510, 9, 'Anteil für Konto 2010 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8336, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9511, 9, 'Anteil für Konto 2011 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8337, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9512, 9, 'Anteil für Konto 2012 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8338, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9513, 9, 'Anteil für Konto 2013 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8339, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9514, 9, 'Anteil für Konto 2014 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8340, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9515, 9, 'Anteil für Konto 2015 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8341, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9516, 9, 'Anteil für Konto 2016 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8342, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9517, 9, 'Anteil für Konto 2017 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8343, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9518, 9, 'Anteil für Konto 2018 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8344, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9519, 9, 'Anteil für Konto 2019 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8345, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9520, 9, 'Anteil für Konto 2020 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8346, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9521, 9, 'Anteil für Konto 2021 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8347, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9522, 9, 'Anteil für Konto 2022 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8348, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9523, 9, 'Anteil für Konto 2023 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8349, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9524, 9, 'Anteil für Konto 2024 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8350, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9525, 9, 'Anteil für Konto 2025 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8351, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9526, 9, 'Anteil für Konto 2026 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8352, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9527, 9, 'Anteil für Konto 2027 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8353, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9528, 9, 'Anteil für Konto 2028 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8354, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9529, 9, 'Anteil für Konto 2029 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8355, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9530, 9, 'Anteil für Konto 9910 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8356, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9531, 9, 'Anteil für Konto 9911 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8357, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9532, 9, 'Anteil für Konto 9912 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8358, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9533, 9, 'Anteil für Konto 9913 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8359, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9534, 9, 'Anteil für Konto 9914 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8360, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9535, 9, 'Anteil für Konto 9915 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8361, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9536, 9, 'Anteil für Konto 9916 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8362, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9537, 9, 'Anteil für Konto 9917 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8363, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9538, 9, 'Anteil für Konto 9918 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8364, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9539, 9, 'Anteil für Konto 9919 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8365, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9540, 9, 'Anteil für Konto 0060 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8366, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9541, 9, 'Anteil für Konto 0061 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8367, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9542, 9, 'Anteil für Konto 0062 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8368, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9543, 9, 'Anteil für Konto 0063 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8369, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9544, 9, 'Anteil für Konto 0064 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8370, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9545, 9, 'Anteil für Konto 0065 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8371, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9546, 9, 'Anteil für Konto 0066 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8372, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9547, 9, 'Anteil für Konto 0067 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8373, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9548, 9, 'Anteil für Konto 0068 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8374, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9549, 9, 'Anteil für Konto 0069 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8375, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9550, 9, 'Anteil für Konto 2050 Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8376, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9551, 9, 'Anteil für Konto 2051 Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8377, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9552, 9, 'Anteil für Konto 2052 Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8378, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9553, 9, 'Anteil für Konto 2053 Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8379, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9554, 9, 'Anteil für Konto 2054 Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8380, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9555, 9, 'Anteil für Konto 2055 Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8381, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9556, 9, 'Anteil für Konto 2056 Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8382, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9557, 9, 'Anteil für Konto 2057 Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8383, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9558, 9, 'Anteil für Konto 2058 Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8384, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9559, 9, 'Anteil für Konto 2059 Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8385, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9560, 9, 'Anteil für Konto 2060 Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8386, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9561, 9, 'Anteil für Konto 2061 Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8387, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9562, 9, 'Anteil für Konto 2062 Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8388, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9563, 9, 'Anteil für Konto 2063 Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8389, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9564, 9, 'Anteil für Konto 2064 Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8390, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9565, 9, 'Anteil für Konto 2065 Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8391, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9566, 9, 'Anteil für Konto 2066 Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8392, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9567, 9, 'Anteil für Konto 2067 Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8393, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9568, 9, 'Anteil für Konto 2068 Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8394, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9569, 9, 'Anteil für Konto 2069 Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8395, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9570, 9, 'Anteil für Konto 2070 Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8396, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9571, 9, 'Anteil für Konto 2071 Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8397, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9572, 9, 'Anteil für Konto 2072 Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8398, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9573, 9, 'Anteil für Konto 2073 Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8399, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9574, 9, 'Anteil für Konto 2074 Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8400, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9575, 9, 'Anteil für Konto 2075 Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8401, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9576, 9, 'Anteil für Konto 2076 Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8402, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9577, 9, 'Anteil für Konto 2077 Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8403, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9578, 9, 'Anteil für Konto 2078 Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8404, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9579, 9, 'Anteil für Konto 2079 Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8405, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9580, 9, 'Anteil für Konto 9820 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8406, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9581, 9, 'Anteil für Konto 9821 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8407, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9582, 9, 'Anteil für Konto 9822 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8408, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9583, 9, 'Anteil für Konto 9823 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8409, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9584, 9, 'Anteil für Konto 9824 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8410, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9585, 9, 'Anteil für Konto 9825 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8411, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9586, 9, 'Anteil für Konto 9826 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8412, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9587, 9, 'Anteil für Konto 9827 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8413, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9588, 9, 'Anteil für Konto 9828 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8414, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9589, 9, 'Anteil für Konto 9829 Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8415, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9590, 9, 'Anteil für Konto 0080 Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8416, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9591, 9, 'Anteil für Konto 0081 Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8417, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9592, 9, 'Anteil für Konto 0082 Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8418, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9593, 9, 'Anteil für Konto 0083 Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8419, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9594, 9, 'Anteil für Konto 0084 Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8420, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9595, 9, 'Anteil für Konto 0085 Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8421, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9596, 9, 'Anteil für Konto 0086 Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8422, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9597, 9, 'Anteil für Konto 0087 Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8423, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9598, 9, 'Anteil für Konto 0088 Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8424, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9599, 9, 'Anteil für Konto 0089 Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8425, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9600, 9, 'Name des Gesellschafters Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8426, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9601, 9, 'Name des Gesellschafters Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8427, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9602, 9, 'Name des Gesellschafters Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8428, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9603, 9, 'Name des Gesellschafters Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8429, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9604, 9, 'Name des Gesellschafters Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8430, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9605, 9, 'Name des Gesellschafters Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8431, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9606, 9, 'Name des Gesellschafters Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8432, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9607, 9, 'Name des Gesellschafters Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8433, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9608, 9, 'Name des Gesellschafters Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8434, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9609, 9, 'Name des Gesellschafters Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8435, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9610, 9, 'Tätigkeitsvergütung Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8436, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9611, 9, 'Tätigkeitsvergütung Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8437, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9612, 9, 'Tätigkeitsvergütung Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8438, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9613, 9, 'Tätigkeitsvergütung Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8439, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9614, 9, 'Tätigkeitsvergütung Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8440, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9615, 9, 'Tätigkeitsvergütung Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8441, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9616, 9, 'Tätigkeitsvergütung Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8442, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9617, 9, 'Tätigkeitsvergütung Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8443, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9618, 9, 'Tätigkeitsvergütung Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8444, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9619, 9, 'Tätigkeitsvergütung Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8445, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9620, 9, 'Tantieme Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8446, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9621, 9, 'Tantieme Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8447, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9622, 9, 'Tantieme Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8448, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9623, 9, 'Tantieme Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8449, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9624, 9, 'Tantieme Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8450, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9625, 9, 'Tantieme Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8451, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9626, 9, 'Tantieme Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8452, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9627, 9, 'Tantieme Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8453, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9628, 9, 'Tantieme Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8454, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9629, 9, 'Tantieme Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8455, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9630, 9, 'Darlehensverzinsung Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8456, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9631, 9, 'Darlehensverzinsung Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8457, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9632, 9, 'Darlehensverzinsung Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8458, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9633, 9, 'Darlehensverzinsung Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8459, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9634, 9, 'Darlehensverzinsung Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8460, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9635, 9, 'Darlehensverzinsung Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8461, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9636, 9, 'Darlehensverzinsung Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8462, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9637, 9, 'Darlehensverzinsung Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8463, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9638, 9, 'Darlehensverzinsung Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8464, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9639, 9, 'Darlehensverzinsung Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8465, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9640, 9, 'Gebrauchsüberlassung Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8466, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9641, 9, 'Gebrauchsüberlassung Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8467, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9642, 9, 'Gebrauchsüberlassung Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8468, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9643, 9, 'Gebrauchsüberlassung Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8469, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9644, 9, 'Gebrauchsüberlassung Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8470, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9645, 9, 'Gebrauchsüberlassung Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8471, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9646, 9, 'Gebrauchsüberlassung Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8472, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9647, 9, 'Gebrauchsüberlassung Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8473, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9648, 9, 'Gebrauchsüberlassung Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8474, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9649, 9, 'Gebrauchsüberlassung Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8475, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9650, 9, 'Sonstige Vergütungen Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8476, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9651, 9, 'Sonstige Vergütungen Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8477, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9652, 9, 'Sonstige Vergütungen Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8478, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9653, 9, 'Sonstige Vergütungen Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8479, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9654, 9, 'Sonstige Vergütungen Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8480, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9655, 9, 'Sonstige Vergütungen Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8481, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9656, 9, 'Sonstige Vergütungen Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8482, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9658, 9, 'Sonstige Vergütungen Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8483, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9659, 9, 'Sonstige Vergütungen Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8484, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9660, 9, 'Sonstige Vergütungen Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8485, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9661, 9, 'Sonstige Vergütungen Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8486, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9662, 9, 'Sonstige Vergütungen Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8487, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9663, 9, 'Sonstige Vergütungen Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8488, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9664, 9, 'Sonstige Vergütungen Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8489, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9665, 9, 'Sonstige Vergütungen Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8490, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9666, 9, 'Sonstige Vergütungen Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8491, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9667, 9, 'Sonstige Vergütungen Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8492, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9668, 9, 'Sonstige Vergütungen Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8493, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9669, 9, 'Sonstige Vergütungen Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8494, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9670, 9, 'Sonstige Vergütungen Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8495, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9671, 9, 'Sonstige Vergütungen Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8496, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9672, 9, 'Sonstige Vergütungen Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8497, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9673, 9, 'Sonstige Vergütungen Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8498, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9674, 9, 'Sonstige Vergütungen Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8499, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9675, 9, 'Sonstige Vergütungen Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8500, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9676, 9, 'Sonstige Vergütungen Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8501, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9677, 9, 'Sonstige Vergütungen Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8502, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9678, 9, 'Sonstige Vergütungen Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8503, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9679, 9, 'Sonstige Vergütungen Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8504, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9680, 9, 'Sonstige Vergütungen Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8505, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9681, 9, 'Sonstige Vergütungen Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8506, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9682, 9, 'Sonstige Vergütungen Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8507, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9683, 9, 'Sonstige Vergütungen Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8508, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9684, 9, 'Sonstige Vergütungen Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8509, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9685, 9, 'Sonstige Vergütungen Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8510, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9686, 9, 'Sonstige Vergütungen Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8511, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9687, 9, 'Sonstige Vergütungen Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8512, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9688, 9, 'Sonstige Vergütungen Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8513, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9689, 9, 'Sonstige Vergütungen Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8514, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9690, 9, 'Restanteil Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8515, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9691, 9, 'Restanteil Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8516, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9692, 9, 'Restanteil Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8517, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9693, 9, 'Restanteil Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8518, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9694, 9, 'Restanteil Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8519, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9695, 9, 'Restanteil Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8520, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9696, 9, 'Restanteil Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8521, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9697, 9, 'Restanteil Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8522, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9698, 9, 'Restanteil Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8523, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9699, 9, 'Restanteil Vollhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8524, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9700, 9, 'Name des Gesellschafters Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8525, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9701, 9, 'Name des Gesellschafters Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8526, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9702, 9, 'Name des Gesellschafters Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8527, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9703, 9, 'Name des Gesellschafters Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8528, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9704, 9, 'Name des Gesellschafters Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8529, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9705, 9, 'Name des Gesellschafters Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8530, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9706, 9, 'Name des Gesellschafters Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8531, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9707, 9, 'Name des Gesellschafters Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8532, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9708, 9, 'Name des Gesellschafters Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8533, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9709, 9, 'Name des Gesellschafters Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8534, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9710, 9, 'Tätigkeitsvergütung Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8535, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9711, 9, 'Tätigkeitsvergütung Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8536, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9712, 9, 'Tätigkeitsvergütung Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8537, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9713, 9, 'Tätigkeitsvergütung Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8538, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9714, 9, 'Tätigkeitsvergütung Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8539, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9715, 9, 'Tätigkeitsvergütung Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8540, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9716, 9, 'Tätigkeitsvergütung Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8541, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9717, 9, 'Tätigkeitsvergütung Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8542, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9718, 9, 'Tätigkeitsvergütung Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8543, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9719, 9, 'Tätigkeitsvergütung Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8544, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9720, 9, 'Tantieme Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8545, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9721, 9, 'Tantieme Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8546, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9722, 9, 'Tantieme Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8547, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9723, 9, 'Tantieme Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8548, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9724, 9, 'Tantieme Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8549, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9725, 9, 'Tantieme Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8550, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9726, 9, 'Tantieme Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8551, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9727, 9, 'Tantieme Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8552, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9728, 9, 'Tantieme Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8553, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9729, 9, 'Tantieme Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8554, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9730, 9, 'Darlehensverzinsung Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8555, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9731, 9, 'Darlehensverzinsung Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8556, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9732, 9, 'Darlehensverzinsung Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8557, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9733, 9, 'Darlehensverzinsung Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8558, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9734, 9, 'Darlehensverzinsung Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8559, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9735, 9, 'Darlehensverzinsung Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8560, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9736, 9, 'Darlehensverzinsung Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8561, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9737, 9, 'Darlehensverzinsung Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8562, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9738, 9, 'Darlehensverzinsung Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8563, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9739, 9, 'Darlehensverzinsung Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8564, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9740, 9, 'Gebrauchsüberlassung Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8565, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9741, 9, 'Gebrauchsüberlassung Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8566, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9742, 9, 'Gebrauchsüberlassung Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8567, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9743, 9, 'Gebrauchsüberlassung Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8568, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9744, 9, 'Gebrauchsüberlassung Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8569, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9745, 9, 'Gebrauchsüberlassung Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8570, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9746, 9, 'Gebrauchsüberlassung Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8571, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9747, 9, 'Gebrauchsüberlassung Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8572, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9748, 9, 'Gebrauchsüberlassung Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8573, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9749, 9, 'Gebrauchsüberlassung Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8574, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9750, 9, 'Sonstige Vergütungen Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8575, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9751, 9, 'Sonstige Vergütungen Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8576, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9752, 9, 'Sonstige Vergütungen Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8577, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9753, 9, 'Sonstige Vergütungen Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8578, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9754, 9, 'Sonstige Vergütungen Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8579, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9755, 9, 'Sonstige Vergütungen Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8580, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9756, 9, 'Sonstige Vergütungen Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8581, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9757, 9, 'Sonstige Vergütungen Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8582, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9758, 9, 'Sonstige Vergütungen Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8583, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9759, 9, 'Sonstige Vergütungen Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8584, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9760, 9, 'Sonstige Vergütungen Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8585, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9761, 9, 'Sonstige Vergütungen Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8586, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9762, 9, 'Sonstige Vergütungen Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8587, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9763, 9, 'Sonstige Vergütungen Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8588, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9764, 9, 'Sonstige Vergütungen Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8589, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9765, 9, 'Sonstige Vergütungen Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8590, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9766, 9, 'Sonstige Vergütungen Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8591, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9767, 9, 'Sonstige Vergütungen Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8592, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9768, 9, 'Sonstige Vergütungen Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8593, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9769, 9, 'Sonstige Vergütungen Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8594, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9770, 9, 'Sonstige Vergütungen Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8595, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9771, 9, 'Sonstige Vergütungen Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8596, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9772, 9, 'Sonstige Vergütungen Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8597, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9773, 9, 'Sonstige Vergütungen Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8598, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9774, 9, 'Sonstige Vergütungen Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8599, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9775, 9, 'Sonstige Vergütungen Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8600, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9776, 9, 'Sonstige Vergütungen Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8601, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9777, 9, 'Sonstige Vergütungen Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8602, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9778, 9, 'Sonstige Vergütungen Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8603, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9779, 9, 'Sonstige Vergütungen Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8604, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9780, 9, 'Anteil für Konto 9840 Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8605, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9781, 9, 'Anteil für Konto 9840 Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8606, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9782, 9, 'Anteil für Konto 9840 Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8607, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9783, 9, 'Anteil für Konto 9840 Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8608, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9784, 9, 'Anteil für Konto 9840 Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8609, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9785, 9, 'Anteil für Konto 9840 Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8610, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9786, 9, 'Anteil für Konto 9840 Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8611, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9787, 9, 'Anteil für Konto 9840 Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8612, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9788, 9, 'Anteil für Konto 9840 Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8613, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9789, 9, 'Anteil für Konto 9840 Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8614, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9790, 9, 'Restanteil Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8615, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9791, 9, 'Restanteil Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8616, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9792, 9, 'Restanteil Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8617, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9793, 9, 'Restanteil Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8618, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9794, 9, 'Restanteil Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8619, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9795, 9, 'Restanteil Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8620, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9796, 9, 'Restanteil Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8621, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9797, 9, 'Restanteil Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8622, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9798, 9, 'Restanteil Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8623, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9799, 9, 'Restanteil Teilhafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8624, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9800, 9, 'Abstimmsummenkonto für den Import von Buchungssätzen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8625, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9802, 9, 'Gesamthänderisch gebundene Rücklagen – andere Kapitalkontenanpassungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8626, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9803, 9, 'Gewinnvortrag/Verlustvortrag – andere Kapitalkontenanpassungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8627, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9804, 9, 'Gesamthänderisch gebundene Rücklagen – Umbuchungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8628, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9805, 9, 'Gewinnvortrag/Verlustvortrag – Umbuchungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8629, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9806, 9, 'Zuzurechnender Anteil am Jahresüberschuss/Jahresfehlbetrag – je Gesellschafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8630, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9807, 9, 'Zuzurechnender Anteil am Bilanzgewinn/Bilanzverlust – je Gesellschafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8631, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9808, 9, 'Gegenkonto für zuzurechnenden Anteil am Jahresüberschuss/Jahresfehlbetrag'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8632, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9809, 9, 'Gegenkonto für zuzurechnenden Anteil am Bilanzgewinn/Bilanzverlust'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8633, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9810, 9, 'Kapitalkonto III'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8634, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9811, 9, 'Kapitalkonto III'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8635, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9812, 9, 'Kapitalkonto III'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8636, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9813, 9, 'Kapitalkonto III'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8637, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9814, 9, 'Kapitalkonto III'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8638, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9815, 9, 'Kapitalkonto III'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8639, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9816, 9, 'Kapitalkonto III'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8640, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9817, 9, 'Kapitalkonto III'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8641, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9818, 9, 'Kapitalkonto III'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8642, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9819, 9, 'Kapitalkonto III'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8643, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9820, 9, 'Verlust-/Vortragskonto'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8644, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9821, 9, 'Verlust-/Vortragskonto'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8645, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9822, 9, 'Verlust-/Vortragskonto'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8646, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9823, 9, 'Verlust-/Vortragskonto'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8647, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9824, 9, 'Verlust-/Vortragskonto'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8648, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9825, 9, 'Verlust-/Vortragskonto'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8649, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9826, 9, 'Verlust-/Vortragskonto'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8650, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9827, 9, 'Verlust-/Vortragskonto'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8651, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9828, 9, 'Verlust-/Vortragskonto'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8652, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9829, 9, 'Verlust-/Vortragskonto'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8653, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9830, 9, 'Verrechnungskonto für Einzahlungsverpflichtungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8654, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9831, 9, 'Verrechnungskonto für Einzahlungsverpflichtungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8655, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9832, 9, 'Verrechnungskonto für Einzahlungsverpflichtungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8656, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9833, 9, 'Verrechnungskonto für Einzahlungsverpflichtungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8657, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9834, 9, 'Verrechnungskonto für Einzahlungsverpflichtungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8658, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9835, 9, 'Verrechnungskonto für Einzahlungsverpflichtungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8659, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9836, 9, 'Verrechnungskonto für Einzahlungsverpflichtungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8660, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9837, 9, 'Verrechnungskonto für Einzahlungsverpflichtungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8661, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9838, 9, 'Verrechnungskonto für Einzahlungsverpflichtungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8662, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9839, 9, 'Verrechnungskonto für Einzahlungsverpflichtungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8663, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9840, 9, 'Kapitalkonto III'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8664, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9841, 9, 'Kapitalkonto III'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8665, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9842, 9, 'Kapitalkonto III'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8666, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9843, 9, 'Kapitalkonto III'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8667, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9844, 9, 'Kapitalkonto III'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8668, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9845, 9, 'Kapitalkonto III'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8669, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9846, 9, 'Kapitalkonto III'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8670, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9847, 9, 'Kapitalkonto III'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8671, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9848, 9, 'Kapitalkonto III'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8672, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9849, 9, 'Kapitalkonto III'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8673, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9850, 9, 'Verrechnungskonto für Einzahlungsverpflichtungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8674, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9851, 9, 'Verrechnungskonto für Einzahlungsverpflichtungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8675, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9852, 9, 'Verrechnungskonto für Einzahlungsverpflichtungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8676, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9853, 9, 'Verrechnungskonto für Einzahlungsverpflichtungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8677, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9854, 9, 'Verrechnungskonto für Einzahlungsverpflichtungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8678, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9855, 9, 'Verrechnungskonto für Einzahlungsverpflichtungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8679, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9856, 9, 'Verrechnungskonto für Einzahlungsverpflichtungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8680, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9857, 9, 'Verrechnungskonto für Einzahlungsverpflichtungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8681, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9858, 9, 'Verrechnungskonto für Einzahlungsverpflichtungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8682, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9859, 9, 'Verrechnungskonto für Einzahlungsverpflichtungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8683, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9860, 9, 'Einzahlungsverpflichtungen persönlich haftender Gesellschafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8684, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9861, 9, 'Einzahlungsverpflichtungen persönlich haftender Gesellschafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8685, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9862, 9, 'Einzahlungsverpflichtungen persönlich haftender Gesellschafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8686, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9863, 9, 'Einzahlungsverpflichtungen persönlich haftender Gesellschafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8687, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9864, 9, 'Einzahlungsverpflichtungen persönlich haftender Gesellschafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8688, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9865, 9, 'Einzahlungsverpflichtungen persönlich haftender Gesellschafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8689, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9866, 9, 'Einzahlungsverpflichtungen persönlich haftender Gesellschafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8690, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9867, 9, 'Einzahlungsverpflichtungen persönlich haftender Gesellschafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8691, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9868, 9, 'Einzahlungsverpflichtungen persönlich haftender Gesellschafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8692, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9869, 9, 'Einzahlungsverpflichtungen persönlich haftender Gesellschafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8693, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9870, 9, 'Einzahlungsverpflichtungen Kommanditisten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8694, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9871, 9, 'Einzahlungsverpflichtungen Kommanditisten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8695, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9872, 9, 'Einzahlungsverpflichtungen Kommanditisten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8696, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9873, 9, 'Einzahlungsverpflichtungen Kommanditisten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8697, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9874, 9, 'Einzahlungsverpflichtungen Kommanditisten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8698, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9875, 9, 'Einzahlungsverpflichtungen Kommanditisten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8699, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9876, 9, 'Einzahlungsverpflichtungen Kommanditisten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8700, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9877, 9, 'Einzahlungsverpflichtungen Kommanditisten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8701, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9878, 9, 'Einzahlungsverpflichtungen Kommanditisten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8702, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9879, 9, 'Einzahlungsverpflichtungen Kommanditisten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8703, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9880, 9, 'Ausgleichsposten für aktivierte eigen Anteile'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8704, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9882, 9880, ''); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8705, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9883, 9, 'Nicht durch Vermögenseinlagen gedeckte Entnahmen persönlich haftender Gesellschafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8706, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9884, 9, 'Nicht durch Vermögenseinlagen gedeckte Entnahmen Kommanditisten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8707, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9885, 9, 'Verrechnungskonto für nicht durch Vermögenseinlagen gedeckte Entnahmen persönlich haftender Gesellschafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8708, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9886, 9, 'Verrechnungskonto für nicht durch Vermögenseinlagen gedeckte Entnahmen Kommandisten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8709, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9887, 9, 'Steueraufwand der Gesellschafter'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8710, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9889, 9, 'Gegenkonto zu 9887'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8711, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9890, 9, 'Statistisches Konto für den Gewinnzuschlag nach §§ 6b, 6c EStG (Haben)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8712, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9891, 9, 'Statistisches Konto für den Gewinnzuschlag nach §§ 6b, 6c EStG (Soll) – Gegenkonto zu 9890'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8713, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9892, 9, 'Veränderung der gesamthänderisch gebundenen Rücklagen (Einlagen/Entnahmen)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8714, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9893, 9, 'Umsatzsteuer in den Forderungen zum allgemeinen Umsatzsteuersatz (EÜR)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8715, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9894, 9, 'Umsatzsteuer in den Forderungen zum ermäßigten Umsatzsteuersatz (EÜR)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8716, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9895, 9, 'Gegenkonto 9893-9894 für die Aufteilung der Umsatzsteuer (EÜR)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8717, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9696, 9, 'Vorsteuer in den Verbindlichkeiten zum allgemeinen Umsatzsteuersatz (EÜR)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8718, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9897, 9, 'Vorsteuer in den Verbindlichkeiten zum ermäßigten Umsatzsteuersatz (EÜR)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8719, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9899, 9, 'Gegenkonto 9896-9897 für die Aufteilung der Vorsteuer (EÜR)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8720, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9910, 9, 'Gegenkonto zur Minderung der Entnahmen $ 4 (4a) EStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8721, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9911, 9, 'Minderung der Entnahmen § 4 (4a) EStG (Haben)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8722, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9912, 9, 'Erhöhung der Entnahmen § 4 (4a) EStG'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8723, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9913, 9, 'Gegenkonto zur Erhöhung der Entnahmen § 4 (4a) EStG (Haben)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8724, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9916, 9, 'Hinzurechnung Investitionsabzugsbetrag § 7g Abs. 2 EStG aus dem 2. vorangegangenen Wirtschaftsjahr, außerbilanziell (Haben)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8725, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9917, 9, 'Hinzurechnung Investitionsabzugsbetrag § 7g Abs. 2 EStG aus dem 3. vorangegangenen Wirtschaftsjahr, außerbilanziell (Haben)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8726, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9918, 9, 'Rückgängigmachung Investitionsabzugsbetrag § 7b Abs. 3, 4 EStG im 2. vorangegangenen Wirtschaftsjahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8727, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9919, 9, 'Rückgängigmachung Investitionsabzugsbetrag § 7b Abs. 3, 4 EStG im 3. vorangegangenen Wirtschaftsjahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8728, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9960, 9, 'Bewertungskorrektur zu Forderungen aus Lieferungen und Leistungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8729, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9961, 9, 'Bewertungskorrektur zu sonstigen Verbindlichkeiten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8730, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9962, 9, 'Bewertungskorrektur zu Guthaben bei Kreditinstituten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8731, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9963, 9, 'Bewertungskorrektur zu Verbindlichkeiten gegenüber Kreditinstituten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8732, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9964, 9, 'Bewertungskorrektur zu Verbindlichkeiten aus Lieferungen und Leistungen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8733, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9965, 9, 'Bewertungskorrektur zu sonstigen Vermögensgegenständen'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8734, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9970, 9, 'Investitionsabzugsbetrag § 7g Abs. 1 EStG, außerbilanziell (Haben)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8735, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9971, 9, 'Investitionsabzugsbetrag § 7g Abs. 1 EStG, außerbilanziell (Haben) – Gegenkonto 9970'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8736, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9972, 9, 'Hinzurechnung Investitionsabzugsbetrag § 7g Abs. 2 EStG aus vorangegangenen Wirtschaftsjahr, außerbilanziell (Haben)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8737, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9973, 9, 'Hinzurechnung Investitionsabzugsbetrag § 7g Abs. 2 EStG aus dem 2. vorangegangenen Wirtschaftsjahren, außerbilanziell (Soll) – Gegenkonto zu 9972, 9916, 9917'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8738, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9974, 9, 'Rückgängigmachung Investitionsabzugsbetrag § 7b Abs. 3, 4 EStG im vorangegangenen Wirtschaftsjahr'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8739, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9975, 9, 'Rückgängigmachung Investitionsabzugsbetrag § 7b Abs. 3, 4 EStG im 2. vorangegangenen Wirtschaftsjahren – Gegenkonto 9974, 9918, 9919'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8740, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9976, 9, 'Nicht abzugsfähige Zinsaufwendungen gemäß § 4h EStG (Haben)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8741, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9977, 9, 'Nicht abzugsfähige Zinsaufwendungen gemäß § 4h EStG (Soll) – Gegenkonto zu 9976'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8742, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9978, 9, 'Abziehbare Zinsaufwendungen aus Vorjahren gemäß § 4h EStG (Soll)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8743, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9979, 9, 'Abziehbare Zinsaufwendungen aus Vorjahren gemäß § 4h EStG (Haben) – Gegenkonto zu 9978'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8744, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9980, 9, 'Anteil Belastung au Verbindlichkeitskonten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8745, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9981, 9, 'Verrechnungskonto für Anteil Belastung auf Verbindlichkeitskonten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8746, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9982, 9, 'Anteil Gutschrift auf Verbindlichkeitskonten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8747, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9983, 9, 'Verrechnungskonto für Anteil Gutschrift auf Verbindlichkeitskonten'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8748, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9984, 9, 'Gewinnkorrektur nach § 60 Abs. 2 EstDV – Erhöhung handelsrechtliches Ergebnis durch Habenbuchung – Minderung handelrechtliches Ergebnis durch Sollbuchung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8749, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9985, 9, 'Gegenkonto zu 9984'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8750, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9986, 9, 'Ergebnisverteilung auf Fremdkapital'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8751, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9987, 9, 'Bilanzberichtigung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8752, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9989, 9, 'Gegenkonto 9986-9988'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8753, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9990, 9, 'Erträge von außergewöhnlicher Größenordnung oder Bedeutung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8754, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9991, 9, 'Erträge (aperiodisch)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8755, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9992, 9, 'Erträge von außergewöhnlicher Größenordnung oder Bedeutung (aperiodisch)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8756, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9993, 9, 'Aufwendungen von außergewöhnlicher Größenordnung oder Bedeutung'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8757, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9994, 9, 'Aufwendungen (aperiodisch)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8758, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9995, 9, 'Aufwendungen von außergewöhnlicher Größenordnung oder Bedeutung (aperiodisch)'); ---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 8759, 'SKR04', 'Vortrags-, Kapital-, Korrektur- und statistische Konten', 9998, 9, 'Gegenkonto 9990-9997'); +-- SKR04 (based on DATEV Art.-Nr. 11175 2023-01-03) +-- https://www.datev.de/web/de/datev-shop/material/kontenrahmen-datev-skr-04/ +---- 0: Anlagevermögenskonten +--for x in {0050..0999};do echo "INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, $((10#$x + 100000)), 'SKR04', '0: Anlagevermögenskonten', '$x', '0', '');"; done +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100050, 'SKR04', '0: Anlagevermögenskonten', '0050', '0', 'Ausstehende Einlagen auf das Komplementär-Kapital, nicht eingefordert'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100051, 'SKR04', '0: Anlagevermögenskonten', '0051', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100052, 'SKR04', '0: Anlagevermögenskonten', '0052', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100053, 'SKR04', '0: Anlagevermögenskonten', '0053', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100054, 'SKR04', '0: Anlagevermögenskonten', '0054', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100055, 'SKR04', '0: Anlagevermögenskonten', '0055', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100056, 'SKR04', '0: Anlagevermögenskonten', '0056', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100057, 'SKR04', '0: Anlagevermögenskonten', '0057', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100058, 'SKR04', '0: Anlagevermögenskonten', '0058', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100059, 'SKR04', '0: Anlagevermögenskonten', '0059', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100060, 'SKR04', '0: Anlagevermögenskonten', '0060', '0', 'Ausstehende Einlagen auf das Komplementär-Kapital, eingefordert'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100061, 'SKR04', '0: Anlagevermögenskonten', '0061', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100062, 'SKR04', '0: Anlagevermögenskonten', '0062', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100063, 'SKR04', '0: Anlagevermögenskonten', '0063', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100064, 'SKR04', '0: Anlagevermögenskonten', '0064', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100065, 'SKR04', '0: Anlagevermögenskonten', '0065', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100066, 'SKR04', '0: Anlagevermögenskonten', '0066', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100067, 'SKR04', '0: Anlagevermögenskonten', '0067', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100068, 'SKR04', '0: Anlagevermögenskonten', '0068', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100069, 'SKR04', '0: Anlagevermögenskonten', '0069', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100070, 'SKR04', '0: Anlagevermögenskonten', '0070', '0', 'Ausstehende Einlagen auf das Kommandit-Kapital, nicht eingefordert'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100071, 'SKR04', '0: Anlagevermögenskonten', '0071', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100072, 'SKR04', '0: Anlagevermögenskonten', '0072', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100073, 'SKR04', '0: Anlagevermögenskonten', '0073', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100074, 'SKR04', '0: Anlagevermögenskonten', '0074', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100075, 'SKR04', '0: Anlagevermögenskonten', '0075', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100076, 'SKR04', '0: Anlagevermögenskonten', '0076', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100077, 'SKR04', '0: Anlagevermögenskonten', '0077', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100078, 'SKR04', '0: Anlagevermögenskonten', '0078', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100079, 'SKR04', '0: Anlagevermögenskonten', '0079', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100080, 'SKR04', '0: Anlagevermögenskonten', '0080', '0', 'Ausstehende Einlagen auf das Kommandit-Kapital, eingefordert'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100081, 'SKR04', '0: Anlagevermögenskonten', '0081', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100082, 'SKR04', '0: Anlagevermögenskonten', '0082', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100083, 'SKR04', '0: Anlagevermögenskonten', '0083', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100084, 'SKR04', '0: Anlagevermögenskonten', '0084', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100085, 'SKR04', '0: Anlagevermögenskonten', '0085', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100086, 'SKR04', '0: Anlagevermögenskonten', '0086', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100087, 'SKR04', '0: Anlagevermögenskonten', '0087', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100088, 'SKR04', '0: Anlagevermögenskonten', '0088', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100089, 'SKR04', '0: Anlagevermögenskonten', '0089', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100090, 'SKR04', '0: Anlagevermögenskonten', '0090', '0', 'Rückständige fällige Einzahlungen auf Geschäftsanteile'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100100, 'SKR04', '0: Anlagevermögenskonten', '0100', '0', 'Entgeltlich erworbene Konzessionen, gewerbliche Schutzrechte und ähnliche Rechte und Werte sowie Lizenzen an solchen Rechten und Werten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100110, 'SKR04', '0: Anlagevermögenskonten', '0110', '100100', 'Konzessionen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100120, 'SKR04', '0: Anlagevermögenskonten', '0120', '100100', 'Gewerbliche Schutzrechte'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100130, 'SKR04', '0: Anlagevermögenskonten', '0130', '100100', 'Ähnliche Rechte und Werte'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100135, 'SKR04', '0: Anlagevermögenskonten', '0135', '100100', 'EDV-Software'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100140, 'SKR04', '0: Anlagevermögenskonten', '0140', '100100', 'Lizenzen an gewerblichen Schutzrechten und ähnlichen Rechten und Werten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100143, 'SKR04', '0: Anlagevermögenskonten', '0143', '0', 'Selbst geschaffene immaterielle Vermögensgegenstände'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100144, 'SKR04', '0: Anlagevermögenskonten', '0144', '100143', 'EDV-Software'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100145, 'SKR04', '0: Anlagevermögenskonten', '0145', '100143', 'Lizenzen und Franchiseverträge'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100146, 'SKR04', '0: Anlagevermögenskonten', '0146', '100143', 'Konzessionen und gewerbliche Schutzrechte'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100147, 'SKR04', '0: Anlagevermögenskonten', '0147', '100143', 'Rezepte, Verfahren, Prototypen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100148, 'SKR04', '0: Anlagevermögenskonten', '0148', '100143', 'Immaterielle Vermögensgegenstände in Entwicklung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100150, 'SKR04', '0: Anlagevermögenskonten', '0150', '0', 'Geschäfts- oder Firmenwert'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100160, 'SKR04', '0: Anlagevermögenskonten', '0160', '100150', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100170, 'SKR04', '0: Anlagevermögenskonten', '0170', '0', 'Geleistete Anzahlungen auf immaterielle Vermögensgegenstände'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100179, 'SKR04', '0: Anlagevermögenskonten', '0179', '0', 'Anzahlungen auf Geschäfts- oder Firmenwert'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100200, 'SKR04', '0: Anlagevermögenskonten', '0200', '0', 'Grundstücke, grundstücksgleiche Rechte und Bauten einschließlich der Bauten auf fremden Grundstücken'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100210, 'SKR04', '0: Anlagevermögenskonten', '0210', '100200', 'Grundstücksgleiche Rechte ohne Bauten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100215, 'SKR04', '0: Anlagevermögenskonten', '0215', '100200', 'Unbebaute Grundstücke'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100220, 'SKR04', '0: Anlagevermögenskonten', '0220', '100200', 'Grundstücksgleiche Rechte (Erbbaurecht, Dauerwohnrecht, unbebaute Grundstücke)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100225, 'SKR04', '0: Anlagevermögenskonten', '0225', '100200', 'Grundstücke mit Substanzverzehr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100229, 'SKR04', '0: Anlagevermögenskonten', '0229', '100200', 'Grundstücksanteil des häuslichen Arbeitszimmers'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100230, 'SKR04', '0: Anlagevermögenskonten', '0230', '100200', 'Bauten auf eigenen Grundstücken und grundstücksgleichen Rechten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100235, 'SKR04', '0: Anlagevermögenskonten', '0235', '100200', 'Grundstückswerte eigener bebauter Grundstücke'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100240, 'SKR04', '0: Anlagevermögenskonten', '0240', '100200', 'Geschäftsbauten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100250, 'SKR04', '0: Anlagevermögenskonten', '0250', '100200', 'Fabrikbauten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100260, 'SKR04', '0: Anlagevermögenskonten', '0260', '100200', 'Andere Bauten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100270, 'SKR04', '0: Anlagevermögenskonten', '0270', '100200', 'Garagen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100280, 'SKR04', '0: Anlagevermögenskonten', '0280', '100200', 'Außenanlagen für Geschäfts-, Fabrik- und andere Bauten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100285, 'SKR04', '0: Anlagevermögenskonten', '0285', '100200', 'Hof- und Wegebefestigungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100290, 'SKR04', '0: Anlagevermögenskonten', '0290', '100200', 'Einrichtungen für Geschäfts-, Fabrik- und andere Bauten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100300, 'SKR04', '0: Anlagevermögenskonten', '0300', '100200', 'Wohnbauten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100305, 'SKR04', '0: Anlagevermögenskonten', '0305', '100200', 'Garagen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100310, 'SKR04', '0: Anlagevermögenskonten', '0310', '100200', 'Außenanlagen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100315, 'SKR04', '0: Anlagevermögenskonten', '0315', '100200', 'Hof- und Wegebefestigungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100320, 'SKR04', '0: Anlagevermögenskonten', '0320', '100200', 'Einrichtungen für Wohnbauten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100329, 'SKR04', '0: Anlagevermögenskonten', '0329', '100200', 'Gebäudeteil des häuslichen Arbeitszimmers'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100330, 'SKR04', '0: Anlagevermögenskonten', '0330', '100200', 'Bauten auf fremden Grundstücken'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100340, 'SKR04', '0: Anlagevermögenskonten', '0340', '100200', 'Geschäftsbauten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100350, 'SKR04', '0: Anlagevermögenskonten', '0350', '100200', 'Fabrikbauten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100360, 'SKR04', '0: Anlagevermögenskonten', '0360', '100200', 'Wohnbauten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100370, 'SKR04', '0: Anlagevermögenskonten', '0370', '100200', 'Andere Bauten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100380, 'SKR04', '0: Anlagevermögenskonten', '0380', '100200', 'Garagen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100390, 'SKR04', '0: Anlagevermögenskonten', '0390', '100200', 'Außenanlagen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100395, 'SKR04', '0: Anlagevermögenskonten', '0395', '100200', 'Hof- und Wegebefestigungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100398, 'SKR04', '0: Anlagevermögenskonten', '0398', '100200', 'Einrichtungen für Geschäfts-, Fabrik-, Wohn- und andere Bauten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100400, 'SKR04', '0: Anlagevermögenskonten', '0400', '0', 'Technische Anlagen und Maschinen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100420, 'SKR04', '0: Anlagevermögenskonten', '0420', '100400', 'Technische Anlagen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100440, 'SKR04', '0: Anlagevermögenskonten', '0440', '100400', 'Maschinen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100450, 'SKR04', '0: Anlagevermögenskonten', '0450', '100400', 'Transportanlagen und Ähnliches'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100460, 'SKR04', '0: Anlagevermögenskonten', '0460', '100400', 'Maschinengebundene Werkzeuge'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100470, 'SKR04', '0: Anlagevermögenskonten', '0470', '100400', 'Betriebsvorrichtungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100500, 'SKR04', '0: Anlagevermögenskonten', '0500', '0', 'Andere Anlagen, Betriebs- und Geschäftsausstattung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100510, 'SKR04', '0: Anlagevermögenskonten', '0510', '100500', 'Andere Anlagen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100520, 'SKR04', '0: Anlagevermögenskonten', '0520', '100500', 'Pkw'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100540, 'SKR04', '0: Anlagevermögenskonten', '0540', '100500', 'Lkw'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100560, 'SKR04', '0: Anlagevermögenskonten', '0560', '100500', 'Sonstige Transportmittel'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100620, 'SKR04', '0: Anlagevermögenskonten', '0620', '100500', 'Werkzeuge'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100630, 'SKR04', '0: Anlagevermögenskonten', '0630', '100500', 'Betriebsausstattung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100635, 'SKR04', '0: Anlagevermögenskonten', '0635', '100500', 'Geschäftsausstattung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100640, 'SKR04', '0: Anlagevermögenskonten', '0640', '100500', 'Ladeneinrichtung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100650, 'SKR04', '0: Anlagevermögenskonten', '0650', '100500', 'Büroeinrichtung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100660, 'SKR04', '0: Anlagevermögenskonten', '0660', '100500', 'Gerüst- und Schalungsmaterial'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100670, 'SKR04', '0: Anlagevermögenskonten', '0670', '100500', 'Geringwertige Wirtschaftsgüter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100675, 'SKR04', '0: Anlagevermögenskonten', '0675', '100500', 'Wirtschaftsgüter (Sammelposten)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100680, 'SKR04', '0: Anlagevermögenskonten', '0680', '100500', 'Einbauten in fremde Grundstücke'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100690, 'SKR04', '0: Anlagevermögenskonten', '0690', '100500', 'Sonstige Betriebs- und Geschäftsausstattung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100700, 'SKR04', '0: Anlagevermögenskonten', '0700', '0', 'Geleistete Anzahlungen und Anlagen im Bau'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100705, 'SKR04', '0: Anlagevermögenskonten', '0705', '100700', 'Anzahlungen auf Grund und Boden'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100710, 'SKR04', '0: Anlagevermögenskonten', '0710', '100700', 'Geschäfts-, Fabrik- und andere Bauten im Bau auf eigenen Grundstücken'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100720, 'SKR04', '0: Anlagevermögenskonten', '0720', '100700', 'Anzahlungen auf Geschäfts-, Fabrik- und andere Bauten auf eigenen Grundstücken'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100725, 'SKR04', '0: Anlagevermögenskonten', '0725', '100700', 'Wohnbauten im Bau auf eigenen Grundstücken'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100735, 'SKR04', '0: Anlagevermögenskonten', '0735', '100700', 'Anzahlungen auf Wohnbauten auf eigenen Grundstücken'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100740, 'SKR04', '0: Anlagevermögenskonten', '0740', '100700', 'Geschäfts-, Fabrik- und andere Bauten im Bau auf fremden Grundstücken'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100750, 'SKR04', '0: Anlagevermögenskonten', '0750', '100700', 'Anzahlungen auf Geschäfts-, Fabrik- und andere Bauten auf fremden Grundstücken'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100755, 'SKR04', '0: Anlagevermögenskonten', '0755', '100700', 'Wohnbauten im Bau auf fremden Grundstücken'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100765, 'SKR04', '0: Anlagevermögenskonten', '0765', '100700', 'Anzahlungen auf Wohnbauten auf fremden Grundstücken'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100770, 'SKR04', '0: Anlagevermögenskonten', '0770', '100700', 'Technische Anlagen und Maschinen im Bau'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100780, 'SKR04', '0: Anlagevermögenskonten', '0780', '100700', 'Anzahlungen auf technische Anlagen und Maschinen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100785, 'SKR04', '0: Anlagevermögenskonten', '0785', '100700', 'Andere Anlagen, Betriebs- und Geschäftsausstattung im Bau'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100795, 'SKR04', '0: Anlagevermögenskonten', '0795', '100700', 'Anzahlungen auf andere Anlagen, Betriebs- und Geschäftsausstattung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100800, 'SKR04', '0: Anlagevermögenskonten', '0800', '0', 'Anteile an verbundenen Unternehmen (Anlagevermögen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100803, 'SKR04', '0: Anlagevermögenskonten', '0803', '0', 'Anteile an verbundenen Unternehmen, Personengesellschaften'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100804, 'SKR04', '0: Anlagevermögenskonten', '0804', '0', 'Anteile an verbundenen Unternehmen, Kapitalgesellschaften'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100805, 'SKR04', '0: Anlagevermögenskonten', '0805', '0', 'Anteile an herrschender oder mehrheitlich beteiligter Gesellschaft, Personengesellschaften'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100806, 'SKR04', '0: Anlagevermögenskonten', '0806', '0', 'Anteile einer GmbH & Co. KG an einer Komplementär-GmbH'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100808, 'SKR04', '0: Anlagevermögenskonten', '0808', '0', 'Anteile an herrschender oder mehrheitlich beteiligter Gesellschaft, Kapitalgesellschaften'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100809, 'SKR04', '0: Anlagevermögenskonten', '0809', '0', 'Anteile an herrschender oder mehrheitlich beteiligter Gesellschaft'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100810, 'SKR04', '0: Anlagevermögenskonten', '0810', '0', 'Ausleihungen an verbundene Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100813, 'SKR04', '0: Anlagevermögenskonten', '0813', '0', 'Ausleihungen an verbundene Unternehmen, Personengesellschaften'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100814, 'SKR04', '0: Anlagevermögenskonten', '0814', '0', 'Ausleihungen an verbundene Unternehmen, Kapitalgesellschaften'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100815, 'SKR04', '0: Anlagevermögenskonten', '0815', '0', 'Ausleihungen an verbundene Unternehmen, Einzelunternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100820, 'SKR04', '0: Anlagevermögenskonten', '0820', '0', 'Beteiligungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100829, 'SKR04', '0: Anlagevermögenskonten', '0829', '0', 'Beteiligung einer GmbH & Co. KG an einer Komplementär-GmbH'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100830, 'SKR04', '0: Anlagevermögenskonten', '0830', '0', 'Typisch stille Beteiligungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100840, 'SKR04', '0: Anlagevermögenskonten', '0840', '0', 'Atypisch stille Beteiligungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100850, 'SKR04', '0: Anlagevermögenskonten', '0850', '0', 'Beteiligungen an Kapitalgesellschaften'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100860, 'SKR04', '0: Anlagevermögenskonten', '0860', '0', 'Beteiligungen an Personengesellschaften'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100880, 'SKR04', '0: Anlagevermögenskonten', '0880', '0', 'Ausleihungen an Unternehmen, mit denen ein Beteiligungsverhältnis besteht'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100883, 'SKR04', '0: Anlagevermögenskonten', '0883', '0', 'Ausleihungen an Unternehmen, mit denen ein Beteiligungsverhältnis besteht, Personengesellschaften'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100885, 'SKR04', '0: Anlagevermögenskonten', '0885', '0', 'Ausleihungen an Unternehmen, mit denen ein Beteiligungsverhältnis besteht, Kapitalgesellschaften'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100900, 'SKR04', '0: Anlagevermögenskonten', '0900', '0', 'Wertpapiere des Anlagevermögens'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100910, 'SKR04', '0: Anlagevermögenskonten', '0910', '100900', 'Wertpapiere mit Gewinnbeteiligungsansprüchen, die dem Teileinkünfteverfahren unterliegen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100920, 'SKR04', '0: Anlagevermögenskonten', '0920', '100900', 'Festverzinsliche Wertpapiere'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100930, 'SKR04', '0: Anlagevermögenskonten', '0930', '0', 'Übrige sonstige Ausleihungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100940, 'SKR04', '0: Anlagevermögenskonten', '0940', '100930', 'Darlehen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100960, 'SKR04', '0: Anlagevermögenskonten', '0960', '100930', 'Ausleihungen an Gesellschafter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100961, 'SKR04', '0: Anlagevermögenskonten', '0961', '100930', 'Ausleihungen an GmbH-Gesellschafter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100962, 'SKR04', '0: Anlagevermögenskonten', '0962', '100930', 'Ausleihungen an persönlich haftende Gesellschafter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100963, 'SKR04', '0: Anlagevermögenskonten', '0963', '100930', 'Ausleihungen an Kommanditisten'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100964, 'SKR04', '0: Anlagevermögenskonten', '0964', '100930', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100970, 'SKR04', '0: Anlagevermögenskonten', '0970', '100930', 'Ausleihungen an nahe stehende Personen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100980, 'SKR04', '0: Anlagevermögenskonten', '0980', '0', 'Genossenschaftsanteile zum langfristigen Verbleib'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 100990, 'SKR04', '0: Anlagevermögenskonten', '0990', '0', 'Rückdeckungsansprüche aus Lebensversicherungen zum langfristigen Verbleib'); +---- 1: Umlaufvermögenskonten +--for x in {1000..1999};do echo "INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, $((10#$x + 100000)), 'SKR04', '1: Umlaufvermögenskonten', '$x', '0', '');"; done +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101000, 'SKR04', '1: Umlaufvermögenskonten', '1000', '0', 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101001, 'SKR04', '1: Umlaufvermögenskonten', '1001', '0', 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101002, 'SKR04', '1: Umlaufvermögenskonten', '1002', '0', 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101003, 'SKR04', '1: Umlaufvermögenskonten', '1003', '0', 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101004, 'SKR04', '1: Umlaufvermögenskonten', '1004', '0', 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101005, 'SKR04', '1: Umlaufvermögenskonten', '1005', '0', 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101006, 'SKR04', '1: Umlaufvermögenskonten', '1006', '0', 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101007, 'SKR04', '1: Umlaufvermögenskonten', '1007', '0', 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101008, 'SKR04', '1: Umlaufvermögenskonten', '1008', '0', 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101009, 'SKR04', '1: Umlaufvermögenskonten', '1009', '0', 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101010, 'SKR04', '1: Umlaufvermögenskonten', '1010', '0', 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101011, 'SKR04', '1: Umlaufvermögenskonten', '1011', '0', 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101012, 'SKR04', '1: Umlaufvermögenskonten', '1012', '0', 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101013, 'SKR04', '1: Umlaufvermögenskonten', '1013', '0', 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101014, 'SKR04', '1: Umlaufvermögenskonten', '1014', '0', 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101015, 'SKR04', '1: Umlaufvermögenskonten', '1015', '0', 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101016, 'SKR04', '1: Umlaufvermögenskonten', '1016', '0', 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101017, 'SKR04', '1: Umlaufvermögenskonten', '1017', '0', 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101018, 'SKR04', '1: Umlaufvermögenskonten', '1018', '0', 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101019, 'SKR04', '1: Umlaufvermögenskonten', '1019', '0', 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101020, 'SKR04', '1: Umlaufvermögenskonten', '1020', '0', 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101021, 'SKR04', '1: Umlaufvermögenskonten', '1021', '0', 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101022, 'SKR04', '1: Umlaufvermögenskonten', '1022', '0', 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101023, 'SKR04', '1: Umlaufvermögenskonten', '1023', '0', 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101024, 'SKR04', '1: Umlaufvermögenskonten', '1024', '0', 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101025, 'SKR04', '1: Umlaufvermögenskonten', '1025', '0', 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101026, 'SKR04', '1: Umlaufvermögenskonten', '1026', '0', 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101027, 'SKR04', '1: Umlaufvermögenskonten', '1027', '0', 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101028, 'SKR04', '1: Umlaufvermögenskonten', '1028', '0', 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101029, 'SKR04', '1: Umlaufvermögenskonten', '1029', '0', 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101030, 'SKR04', '1: Umlaufvermögenskonten', '1030', '0', 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101031, 'SKR04', '1: Umlaufvermögenskonten', '1031', '0', 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101032, 'SKR04', '1: Umlaufvermögenskonten', '1032', '0', 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101033, 'SKR04', '1: Umlaufvermögenskonten', '1033', '0', 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101034, 'SKR04', '1: Umlaufvermögenskonten', '1034', '0', 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101035, 'SKR04', '1: Umlaufvermögenskonten', '1035', '0', 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101036, 'SKR04', '1: Umlaufvermögenskonten', '1036', '0', 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101037, 'SKR04', '1: Umlaufvermögenskonten', '1037', '0', 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101038, 'SKR04', '1: Umlaufvermögenskonten', '1038', '0', 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101039, 'SKR04', '1: Umlaufvermögenskonten', '1039', '0', 'Roh-, Hilfs- und Betriebsstoffe (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101040, 'SKR04', '1: Umlaufvermögenskonten', '1040', '0', 'Unfertige Erzeugnisse, unfertige Leistungen (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101041, 'SKR04', '1: Umlaufvermögenskonten', '1041', '0', 'Unfertige Erzeugnisse, unfertige Leistungen (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101042, 'SKR04', '1: Umlaufvermögenskonten', '1042', '0', 'Unfertige Erzeugnisse, unfertige Leistungen (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101043, 'SKR04', '1: Umlaufvermögenskonten', '1043', '0', 'Unfertige Erzeugnisse, unfertige Leistungen (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101044, 'SKR04', '1: Umlaufvermögenskonten', '1044', '0', 'Unfertige Erzeugnisse, unfertige Leistungen (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101045, 'SKR04', '1: Umlaufvermögenskonten', '1045', '0', 'Unfertige Erzeugnisse, unfertige Leistungen (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101046, 'SKR04', '1: Umlaufvermögenskonten', '1046', '0', 'Unfertige Erzeugnisse, unfertige Leistungen (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101047, 'SKR04', '1: Umlaufvermögenskonten', '1047', '0', 'Unfertige Erzeugnisse, unfertige Leistungen (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101048, 'SKR04', '1: Umlaufvermögenskonten', '1048', '0', 'Unfertige Erzeugnisse, unfertige Leistungen (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101049, 'SKR04', '1: Umlaufvermögenskonten', '1049', '0', 'Unfertige Erzeugnisse, unfertige Leistungen (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101050, 'SKR04', '1: Umlaufvermögenskonten', '1050', '0', 'Unfertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101051, 'SKR04', '1: Umlaufvermögenskonten', '1051', '0', 'Unfertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101052, 'SKR04', '1: Umlaufvermögenskonten', '1052', '0', 'Unfertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101053, 'SKR04', '1: Umlaufvermögenskonten', '1053', '0', 'Unfertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101054, 'SKR04', '1: Umlaufvermögenskonten', '1054', '0', 'Unfertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101055, 'SKR04', '1: Umlaufvermögenskonten', '1055', '0', 'Unfertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101056, 'SKR04', '1: Umlaufvermögenskonten', '1056', '0', 'Unfertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101057, 'SKR04', '1: Umlaufvermögenskonten', '1057', '0', 'Unfertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101058, 'SKR04', '1: Umlaufvermögenskonten', '1058', '0', 'Unfertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101059, 'SKR04', '1: Umlaufvermögenskonten', '1059', '0', 'Unfertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101060, 'SKR04', '1: Umlaufvermögenskonten', '1060', '0', 'Unfertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101061, 'SKR04', '1: Umlaufvermögenskonten', '1061', '0', 'Unfertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101062, 'SKR04', '1: Umlaufvermögenskonten', '1062', '0', 'Unfertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101063, 'SKR04', '1: Umlaufvermögenskonten', '1063', '0', 'Unfertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101064, 'SKR04', '1: Umlaufvermögenskonten', '1064', '0', 'Unfertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101065, 'SKR04', '1: Umlaufvermögenskonten', '1065', '0', 'Unfertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101066, 'SKR04', '1: Umlaufvermögenskonten', '1066', '0', 'Unfertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101067, 'SKR04', '1: Umlaufvermögenskonten', '1067', '0', 'Unfertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101068, 'SKR04', '1: Umlaufvermögenskonten', '1068', '0', 'Unfertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101069, 'SKR04', '1: Umlaufvermögenskonten', '1069', '0', 'Unfertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101070, 'SKR04', '1: Umlaufvermögenskonten', '1070', '0', 'Unfertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101071, 'SKR04', '1: Umlaufvermögenskonten', '1071', '0', 'Unfertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101072, 'SKR04', '1: Umlaufvermögenskonten', '1072', '0', 'Unfertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101073, 'SKR04', '1: Umlaufvermögenskonten', '1073', '0', 'Unfertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101074, 'SKR04', '1: Umlaufvermögenskonten', '1074', '0', 'Unfertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101075, 'SKR04', '1: Umlaufvermögenskonten', '1075', '0', 'Unfertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101076, 'SKR04', '1: Umlaufvermögenskonten', '1076', '0', 'Unfertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101077, 'SKR04', '1: Umlaufvermögenskonten', '1077', '0', 'Unfertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101078, 'SKR04', '1: Umlaufvermögenskonten', '1078', '0', 'Unfertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101079, 'SKR04', '1: Umlaufvermögenskonten', '1079', '0', 'Unfertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101080, 'SKR04', '1: Umlaufvermögenskonten', '1080', '0', 'Unfertige Leistungen (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101081, 'SKR04', '1: Umlaufvermögenskonten', '1081', '0', 'Unfertige Leistungen (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101082, 'SKR04', '1: Umlaufvermögenskonten', '1082', '0', 'Unfertige Leistungen (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101083, 'SKR04', '1: Umlaufvermögenskonten', '1083', '0', 'Unfertige Leistungen (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101084, 'SKR04', '1: Umlaufvermögenskonten', '1084', '0', 'Unfertige Leistungen (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101085, 'SKR04', '1: Umlaufvermögenskonten', '1085', '0', 'Unfertige Leistungen (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101086, 'SKR04', '1: Umlaufvermögenskonten', '1086', '0', 'Unfertige Leistungen (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101087, 'SKR04', '1: Umlaufvermögenskonten', '1087', '0', 'Unfertige Leistungen (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101088, 'SKR04', '1: Umlaufvermögenskonten', '1088', '0', 'Unfertige Leistungen (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101089, 'SKR04', '1: Umlaufvermögenskonten', '1089', '0', 'Unfertige Leistungen (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101090, 'SKR04', '1: Umlaufvermögenskonten', '1090', '0', 'In Ausführung befindliche Bauaufträge'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101091, 'SKR04', '1: Umlaufvermögenskonten', '1091', '0', 'In Ausführung befindliche Bauaufträge'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101092, 'SKR04', '1: Umlaufvermögenskonten', '1092', '0', 'In Ausführung befindliche Bauaufträge'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101093, 'SKR04', '1: Umlaufvermögenskonten', '1093', '0', 'In Ausführung befindliche Bauaufträge'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101094, 'SKR04', '1: Umlaufvermögenskonten', '1094', '0', 'In Ausführung befindliche Bauaufträge'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101095, 'SKR04', '1: Umlaufvermögenskonten', '1095', '0', 'In Arbeit befindliche Aufträge'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101096, 'SKR04', '1: Umlaufvermögenskonten', '1096', '0', 'In Arbeit befindliche Aufträge'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101097, 'SKR04', '1: Umlaufvermögenskonten', '1097', '0', 'In Arbeit befindliche Aufträge'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101098, 'SKR04', '1: Umlaufvermögenskonten', '1098', '0', 'In Arbeit befindliche Aufträge'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101099, 'SKR04', '1: Umlaufvermögenskonten', '1099', '0', 'In Arbeit befindliche Aufträge'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101100, 'SKR04', '1: Umlaufvermögenskonten', '1100', '0', 'Fertige Erzeugnisse und Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101101, 'SKR04', '1: Umlaufvermögenskonten', '1101', '0', 'Fertige Erzeugnisse und Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101102, 'SKR04', '1: Umlaufvermögenskonten', '1102', '0', 'Fertige Erzeugnisse und Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101103, 'SKR04', '1: Umlaufvermögenskonten', '1103', '0', 'Fertige Erzeugnisse und Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101104, 'SKR04', '1: Umlaufvermögenskonten', '1104', '0', 'Fertige Erzeugnisse und Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101105, 'SKR04', '1: Umlaufvermögenskonten', '1105', '0', 'Fertige Erzeugnisse und Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101106, 'SKR04', '1: Umlaufvermögenskonten', '1106', '0', 'Fertige Erzeugnisse und Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101107, 'SKR04', '1: Umlaufvermögenskonten', '1107', '0', 'Fertige Erzeugnisse und Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101108, 'SKR04', '1: Umlaufvermögenskonten', '1108', '0', 'Fertige Erzeugnisse und Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101109, 'SKR04', '1: Umlaufvermögenskonten', '1109', '0', 'Fertige Erzeugnisse und Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101110, 'SKR04', '1: Umlaufvermögenskonten', '1110', '0', 'Fertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101111, 'SKR04', '1: Umlaufvermögenskonten', '1111', '0', 'Fertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101112, 'SKR04', '1: Umlaufvermögenskonten', '1112', '0', 'Fertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101113, 'SKR04', '1: Umlaufvermögenskonten', '1113', '0', 'Fertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101114, 'SKR04', '1: Umlaufvermögenskonten', '1114', '0', 'Fertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101115, 'SKR04', '1: Umlaufvermögenskonten', '1115', '0', 'Fertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101116, 'SKR04', '1: Umlaufvermögenskonten', '1116', '0', 'Fertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101117, 'SKR04', '1: Umlaufvermögenskonten', '1117', '0', 'Fertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101118, 'SKR04', '1: Umlaufvermögenskonten', '1118', '0', 'Fertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101119, 'SKR04', '1: Umlaufvermögenskonten', '1119', '0', 'Fertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101120, 'SKR04', '1: Umlaufvermögenskonten', '1120', '0', 'Fertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101121, 'SKR04', '1: Umlaufvermögenskonten', '1121', '0', 'Fertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101122, 'SKR04', '1: Umlaufvermögenskonten', '1122', '0', 'Fertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101123, 'SKR04', '1: Umlaufvermögenskonten', '1123', '0', 'Fertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101124, 'SKR04', '1: Umlaufvermögenskonten', '1124', '0', 'Fertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101125, 'SKR04', '1: Umlaufvermögenskonten', '1125', '0', 'Fertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101126, 'SKR04', '1: Umlaufvermögenskonten', '1126', '0', 'Fertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101127, 'SKR04', '1: Umlaufvermögenskonten', '1127', '0', 'Fertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101128, 'SKR04', '1: Umlaufvermögenskonten', '1128', '0', 'Fertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101129, 'SKR04', '1: Umlaufvermögenskonten', '1129', '0', 'Fertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101130, 'SKR04', '1: Umlaufvermögenskonten', '1130', '0', 'Fertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101131, 'SKR04', '1: Umlaufvermögenskonten', '1131', '0', 'Fertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101132, 'SKR04', '1: Umlaufvermögenskonten', '1132', '0', 'Fertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101133, 'SKR04', '1: Umlaufvermögenskonten', '1133', '0', 'Fertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101134, 'SKR04', '1: Umlaufvermögenskonten', '1134', '0', 'Fertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101135, 'SKR04', '1: Umlaufvermögenskonten', '1135', '0', 'Fertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101136, 'SKR04', '1: Umlaufvermögenskonten', '1136', '0', 'Fertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101137, 'SKR04', '1: Umlaufvermögenskonten', '1137', '0', 'Fertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101138, 'SKR04', '1: Umlaufvermögenskonten', '1138', '0', 'Fertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101139, 'SKR04', '1: Umlaufvermögenskonten', '1139', '0', 'Fertige Erzeugnisse (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101140, 'SKR04', '1: Umlaufvermögenskonten', '1140', '0', 'Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101141, 'SKR04', '1: Umlaufvermögenskonten', '1141', '0', 'Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101142, 'SKR04', '1: Umlaufvermögenskonten', '1142', '0', 'Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101143, 'SKR04', '1: Umlaufvermögenskonten', '1143', '0', 'Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101144, 'SKR04', '1: Umlaufvermögenskonten', '1144', '0', 'Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101145, 'SKR04', '1: Umlaufvermögenskonten', '1145', '0', 'Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101146, 'SKR04', '1: Umlaufvermögenskonten', '1146', '0', 'Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101147, 'SKR04', '1: Umlaufvermögenskonten', '1147', '0', 'Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101148, 'SKR04', '1: Umlaufvermögenskonten', '1148', '0', 'Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101149, 'SKR04', '1: Umlaufvermögenskonten', '1149', '0', 'Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101150, 'SKR04', '1: Umlaufvermögenskonten', '1150', '0', 'Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101151, 'SKR04', '1: Umlaufvermögenskonten', '1151', '0', 'Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101152, 'SKR04', '1: Umlaufvermögenskonten', '1152', '0', 'Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101153, 'SKR04', '1: Umlaufvermögenskonten', '1153', '0', 'Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101154, 'SKR04', '1: Umlaufvermögenskonten', '1154', '0', 'Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101155, 'SKR04', '1: Umlaufvermögenskonten', '1155', '0', 'Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101156, 'SKR04', '1: Umlaufvermögenskonten', '1156', '0', 'Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101157, 'SKR04', '1: Umlaufvermögenskonten', '1157', '0', 'Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101158, 'SKR04', '1: Umlaufvermögenskonten', '1158', '0', 'Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101159, 'SKR04', '1: Umlaufvermögenskonten', '1159', '0', 'Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101160, 'SKR04', '1: Umlaufvermögenskonten', '1160', '0', 'Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101161, 'SKR04', '1: Umlaufvermögenskonten', '1161', '0', 'Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101162, 'SKR04', '1: Umlaufvermögenskonten', '1162', '0', 'Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101163, 'SKR04', '1: Umlaufvermögenskonten', '1163', '0', 'Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101164, 'SKR04', '1: Umlaufvermögenskonten', '1164', '0', 'Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101165, 'SKR04', '1: Umlaufvermögenskonten', '1165', '0', 'Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101166, 'SKR04', '1: Umlaufvermögenskonten', '1166', '0', 'Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101167, 'SKR04', '1: Umlaufvermögenskonten', '1167', '0', 'Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101168, 'SKR04', '1: Umlaufvermögenskonten', '1168', '0', 'Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101169, 'SKR04', '1: Umlaufvermögenskonten', '1169', '0', 'Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101170, 'SKR04', '1: Umlaufvermögenskonten', '1170', '0', 'Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101171, 'SKR04', '1: Umlaufvermögenskonten', '1171', '0', 'Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101172, 'SKR04', '1: Umlaufvermögenskonten', '1172', '0', 'Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101173, 'SKR04', '1: Umlaufvermögenskonten', '1173', '0', 'Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101174, 'SKR04', '1: Umlaufvermögenskonten', '1174', '0', 'Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101175, 'SKR04', '1: Umlaufvermögenskonten', '1175', '0', 'Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101176, 'SKR04', '1: Umlaufvermögenskonten', '1176', '0', 'Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101177, 'SKR04', '1: Umlaufvermögenskonten', '1177', '0', 'Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101178, 'SKR04', '1: Umlaufvermögenskonten', '1178', '0', 'Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101179, 'SKR04', '1: Umlaufvermögenskonten', '1179', '0', 'Waren (Bestand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101180, 'SKR04', '1: Umlaufvermögenskonten', '1180', '0', 'Geleistete Anzahlungen auf Vorräte'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101181, 'SKR04', '1: Umlaufvermögenskonten', '1181', '101180', 'Geleistete Anzahlungen 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101182, 'SKR04', '1: Umlaufvermögenskonten', '1182', '101180', 'Geleistete Anzahlungen, 5 % Vorsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101183, 'SKR04', '1: Umlaufvermögenskonten', '1183', '101180', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101184, 'SKR04', '1: Umlaufvermögenskonten', '1184', '101180', 'Geleistete Anzahlungen, 16 % Vorsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101185, 'SKR04', '1: Umlaufvermögenskonten', '1185', '101180', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101186, 'SKR04', '1: Umlaufvermögenskonten', '1186', '101180', 'Geleistete Anzahlungen 19 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101190, 'SKR04', '1: Umlaufvermögenskonten', '1190', '101180', 'Erhaltene Anzahlungen auf Bestellungen (von Vorräten offen abgesetzt)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101200, 'SKR04', '1: Umlaufvermögenskonten', '1200', '0', 'Forderungen aus Lieferungen und Leistungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101201, 'SKR04', '1: Umlaufvermögenskonten', '1201', '101200', 'Forderungen aus Lieferungen und Leistungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101202, 'SKR04', '1: Umlaufvermögenskonten', '1202', '101200', 'Forderungen aus Lieferungen und Leistungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101203, 'SKR04', '1: Umlaufvermögenskonten', '1203', '101200', 'Forderungen aus Lieferungen und Leistungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101204, 'SKR04', '1: Umlaufvermögenskonten', '1204', '101200', 'Forderungen aus Lieferungen und Leistungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101205, 'SKR04', '1: Umlaufvermögenskonten', '1205', '101200', 'Forderungen aus Lieferungen und Leistungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101206, 'SKR04', '1: Umlaufvermögenskonten', '1206', '101200', 'Forderungen aus Lieferungen und Leistungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101210, 'SKR04', '1: Umlaufvermögenskonten', '1210', '101200', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101211, 'SKR04', '1: Umlaufvermögenskonten', '1211', '101200', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101212, 'SKR04', '1: Umlaufvermögenskonten', '1212', '101200', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101213, 'SKR04', '1: Umlaufvermögenskonten', '1213', '101200', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101214, 'SKR04', '1: Umlaufvermögenskonten', '1214', '101200', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101215, 'SKR04', '1: Umlaufvermögenskonten', '1215', '101200', 'Forderungen aus Lieferungen und Leistungen zum allgemeinen Umsatzsteuersatz oder eines Kleinunternehmers (EÜR)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101216, 'SKR04', '1: Umlaufvermögenskonten', '1216', '101200', 'Forderungen aus Lieferungen und Leistungen zum ermäßigten Umsatzsteuersatz (EÜR)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101217, 'SKR04', '1: Umlaufvermögenskonten', '1217', '101200', 'Forderungen aus steuerfreien oder nicht steuerbaren Lieferungen und Leistungen (EÜR)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101218, 'SKR04', '1: Umlaufvermögenskonten', '1218', '101200', 'Forderungen aus Lieferungen und Leistungen nach Durchschnittssätzen nach § 24 UStG (EÜR)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101219, 'SKR04', '1: Umlaufvermögenskonten', '1219', '101200', 'Gegenkonto 1215-1218 bei Aufteilung der Forderungen nach Steuersätzen (EÜR)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101220, 'SKR04', '1: Umlaufvermögenskonten', '1220', '101200', 'Forderungen nach § 11 Abs. 1 Satz 2 EStG für § 4 Abs. 3 EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101221, 'SKR04', '1: Umlaufvermögenskonten', '1221', '101200', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent – Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101225, 'SKR04', '1: Umlaufvermögenskonten', '1225', '101200', 'Forderungen aus Lieferungen und Leistungen ohne Kontokorrent – Restlaufzeit größer 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101230, 'SKR04', '1: Umlaufvermögenskonten', '1230', '101200', 'Wechsel aus Lieferungen und Leistungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101231, 'SKR04', '1: Umlaufvermögenskonten', '1231', '101200', 'Wechsel aus Lieferungen und Leistungen – Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101232, 'SKR04', '1: Umlaufvermögenskonten', '1232', '101200', 'Wechsel aus Lieferungen und Leistungen – Restlaufzeit größer 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101235, 'SKR04', '1: Umlaufvermögenskonten', '1235', '101200', 'Wechsel aus Lieferungen und Leistungen, bundesbankfähig'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101240, 'SKR04', '1: Umlaufvermögenskonten', '1240', '101200', 'Zweifelhafte Forderungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101241, 'SKR04', '1: Umlaufvermögenskonten', '1241', '101200', 'Zweifelhafte Forderungen – Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101245, 'SKR04', '1: Umlaufvermögenskonten', '1245', '101200', 'Zweifelhafte Forderungen – Restlaufzeit größer 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101246, 'SKR04', '1: Umlaufvermögenskonten', '1246', '101200', 'Einzelwertberichtigungen auf Forderungen mit einer – Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101247, 'SKR04', '1: Umlaufvermögenskonten', '1247', '101200', 'Einzelwertberichtigungen auf Forderungen mit einer – Restlaufzeit größer 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101248, 'SKR04', '1: Umlaufvermögenskonten', '1248', '101200', 'Pauschalwertberichtigung auf Forderungen mit einer – Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101249, 'SKR04', '1: Umlaufvermögenskonten', '1249', '101200', 'Pauschalwertberichtigung auf Forderungen mit einer – Restlaufzeit größer 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101250, 'SKR04', '1: Umlaufvermögenskonten', '1250', '101200', 'Forderungen aus Lieferungen und Leistungen gegen Gesellschafter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101251, 'SKR04', '1: Umlaufvermögenskonten', '1251', '101200', 'Forderungen aus Lieferungen und Leistungen gegen Gesellschafter – Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101255, 'SKR04', '1: Umlaufvermögenskonten', '1255', '101200', 'Forderungen aus Lieferungen und Leistungen gegen Gesellschafter – Restlaufzeit größer 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101258, 'SKR04', '1: Umlaufvermögenskonten', '1258', '101200', 'Gegenkonto zu sonstigen Vermögensgegenständen bei Buchungen über Debitorenkonto'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101259, 'SKR04', '1: Umlaufvermögenskonten', '1259', '101200', 'Gegenkonto 1221-1229, 1240-1245,1250-1257, 1270-1279, 1290-1297 bei Aufteilung Debitorenkonto'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101260, 'SKR04', '1: Umlaufvermögenskonten', '1260', '0', 'Forderungen gegen verbundene Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101261, 'SKR04', '1: Umlaufvermögenskonten', '1261', '101260', 'Forderungen gegen verbundene Unternehmen – Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101265, 'SKR04', '1: Umlaufvermögenskonten', '1265', '101260', 'Forderungen gegen verbundene Unternehmen – Restlaufzeit größer 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101266, 'SKR04', '1: Umlaufvermögenskonten', '1266', '101260', 'Besitzwechsel gegen verbundene Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101267, 'SKR04', '1: Umlaufvermögenskonten', '1267', '101260', 'Besitzwechsel gegen verbundene Unternehmen – Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101268, 'SKR04', '1: Umlaufvermögenskonten', '1268', '101260', 'Besitzwechsel gegen verbundene Unternehmen – Restlaufzeit größer 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101269, 'SKR04', '1: Umlaufvermögenskonten', '1269', '101260', 'Besitzwechsel gegen verbundene Unternehmen, bundesbankfähig'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101270, 'SKR04', '1: Umlaufvermögenskonten', '1270', '101260', 'Forderungen aus Lieferungen und Leistungen gegen verbundene Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101271, 'SKR04', '1: Umlaufvermögenskonten', '1271', '101260', 'Forderungen aus Lieferungen und Leistungen gegen verbundene Unternehmen – Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101275, 'SKR04', '1: Umlaufvermögenskonten', '1275', '101260', 'Forderungen aus Lieferungen und Leistungen gegen verbundene Unternehmen – Restlaufzeit größer 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101276, 'SKR04', '1: Umlaufvermögenskonten', '1276', '101260', 'Wertberichtigungen auf Forderungen gegen verbundene Unternehmen – Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101277, 'SKR04', '1: Umlaufvermögenskonten', '1277', '101260', 'Wertberichtigungen auf Forderungen gegen verbundene Unternehmen – Restlaufzeit größer 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101280, 'SKR04', '1: Umlaufvermögenskonten', '1280', '0', 'Forderungen gegen Unternehmen, mit denen ein Beteiligungsverhältnis besteht'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101281, 'SKR04', '1: Umlaufvermögenskonten', '1281', '101280', 'Forderungen gegen Unternehmen, mit denen ein Beteiligungsverhältnis besteht – Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101285, 'SKR04', '1: Umlaufvermögenskonten', '1285', '101280', 'Forderungen gegen Unternehmen, mit denen ein Beteiligungsverhältnis besteht – Restlaufzeit größer 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101286, 'SKR04', '1: Umlaufvermögenskonten', '1286', '101280', 'Besitzwechsel gegen Unternehmen, mit denen ein Beteiligungsverhältnis besteht'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101287, 'SKR04', '1: Umlaufvermögenskonten', '1287', '101280', 'Besitzwechsel gegen Unternehmen, mit denen ein Beteiligungsverhältnis besteht – Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101288, 'SKR04', '1: Umlaufvermögenskonten', '1288', '101280', 'Besitzwechsel gegen Unternehmen, mit denen ein Beteiligungsverhältnis besteht – Restlaufzeit größer 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101289, 'SKR04', '1: Umlaufvermögenskonten', '1289', '101280', 'Besitzwechsel gegen Unternehmen, mit denen ein Beteiligungsverhältnis besteht, bundesbankfähig'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101290, 'SKR04', '1: Umlaufvermögenskonten', '1290', '101280', 'Forderungen aus Lieferungen und Leistungen gegen Unternehmen, mit denen ein Beteiligungsverhältnis besteht'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101291, 'SKR04', '1: Umlaufvermögenskonten', '1291', '101280', 'Forderungen aus Lieferungen und Leistungen gegen Unternehmen, mit denen ein Beteiligungsverhältnis besteht – Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101295, 'SKR04', '1: Umlaufvermögenskonten', '1295', '101280', 'Forderungen aus Lieferungen und Leistungen gegen Unternehmen, mit denen ein Beteiligungsverhältnis besteht – Restlaufzeit größer 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101296, 'SKR04', '1: Umlaufvermögenskonten', '1296', '101280', 'Wertberichtigungen auf Forderungen gegen Unternehmen, mit denen ein Beteiligungsverhältnis besteht – Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101297, 'SKR04', '1: Umlaufvermögenskonten', '1297', '101280', 'Wertberichtigungen auf Forderungen gegen Unternehmen, mit denen ein Beteiligungsverhältnis besteht – Restlaufzeit größer 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101298, 'SKR04', '1: Umlaufvermögenskonten', '1298', '0', 'Ausstehende Einlagen auf das gezeichnete Kapital, eingefordert (Forderungen, nicht eingeforderte ausstehende Einlagen s. Konto 2910)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101299, 'SKR04', '1: Umlaufvermögenskonten', '1299', '0', 'Nachschüsse (Forderungen, Gegenkonto 2929)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101300, 'SKR04', '1: Umlaufvermögenskonten', '1300', '0', 'Sonstige Vermögensgegenstände'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101301, 'SKR04', '1: Umlaufvermögenskonten', '1301', '101300', 'Sonstige Vermögensgegenstände – Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101305, 'SKR04', '1: Umlaufvermögenskonten', '1305', '101300', 'Sonstige Vermögensgegenstände – Restlaufzeit größer 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101307, 'SKR04', '1: Umlaufvermögenskonten', '1307', '101300', 'Forderungen gegen GmbH-Gesellschafter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101308, 'SKR04', '1: Umlaufvermögenskonten', '1308', '101300', 'Forderungen gegen GmbH-Gesellschafter – Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101309, 'SKR04', '1: Umlaufvermögenskonten', '1309', '101300', 'Forderungen gegen GmbH-Gesellschafter – Restlaufzeit größer 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101310, 'SKR04', '1: Umlaufvermögenskonten', '1310', '101300', 'Forderungen gegen Vorstandsmitglieder und Geschäftsführer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101311, 'SKR04', '1: Umlaufvermögenskonten', '1311', '101300', 'Forderungen gegen Vorstandsmitglieder und Geschäftsführer – Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101315, 'SKR04', '1: Umlaufvermögenskonten', '1315', '101300', 'Forderungen gegen Vorstandsmitglieder und Geschäftsführer – Restlaufzeit größer 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101317, 'SKR04', '1: Umlaufvermögenskonten', '1317', '101300', 'Forderungen gegen persönlich haftende Gesellschafter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101318, 'SKR04', '1: Umlaufvermögenskonten', '1318', '101300', 'Forderungen gegen persönlich haftende Gesellschafter – Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101319, 'SKR04', '1: Umlaufvermögenskonten', '1319', '101300', 'Forderungen gegen persönlich haftende Gesellschafter – Restlaufzeit größer 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101320, 'SKR04', '1: Umlaufvermögenskonten', '1320', '101300', 'Forderungen gegen Aufsichtsratsund Beirats-Mitglieder'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101321, 'SKR04', '1: Umlaufvermögenskonten', '1321', '101300', 'Forderungen gegen Aufsichtsratsund Beirats-Mitglieder – Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101325, 'SKR04', '1: Umlaufvermögenskonten', '1325', '101300', 'Forderungen gegen Aufsichtsratsund Beirats-Mitglieder – Restlaufzeit größer 1 Jahr'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101327, 'SKR04', '1: Umlaufvermögenskonten', '1327', '101300', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101328, 'SKR04', '1: Umlaufvermögenskonten', '1328', '101300', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101329, 'SKR04', '1: Umlaufvermögenskonten', '1329', '101300', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101330, 'SKR04', '1: Umlaufvermögenskonten', '1330', '101300', 'Forderungen gegen sonstige Gesellschafter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101331, 'SKR04', '1: Umlaufvermögenskonten', '1331', '101300', 'Forderungen gegen sonstige Gesellschafter – Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101335, 'SKR04', '1: Umlaufvermögenskonten', '1335', '101300', 'Forderungen gegen sonstige Gesellschafter – Restlaufzeit größer 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101337, 'SKR04', '1: Umlaufvermögenskonten', '1337', '101300', 'Forderungen gegen typisch stille Gesellschafter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101338, 'SKR04', '1: Umlaufvermögenskonten', '1338', '101300', 'Forderungen gegen typisch stille Gesellschafter – Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101339, 'SKR04', '1: Umlaufvermögenskonten', '1339', '101300', 'Forderungen gegen typisch stille Gesellschafter – Restlaufzeit größer 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101340, 'SKR04', '1: Umlaufvermögenskonten', '1340', '101300', 'Forderungen gegen Personal aus Lohn- und Gehaltsabrechnung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101341, 'SKR04', '1: Umlaufvermögenskonten', '1341', '101300', 'Forderungen gegen Personal aus Lohn- und Gehaltsabrechnung – Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101345, 'SKR04', '1: Umlaufvermögenskonten', '1345', '101300', 'Forderungen gegen Personal aus Lohn- und Gehaltsabrechnung – Restlaufzeit größer 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101349, 'SKR04', '1: Umlaufvermögenskonten', '1349', '101300', 'Ansprüche aus betrieblicher Altersversorgung und Pensionsansprüche (Mitunternehmer)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101350, 'SKR04', '1: Umlaufvermögenskonten', '1350', '101300', 'Kautionen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101351, 'SKR04', '1: Umlaufvermögenskonten', '1351', '101300', 'Kautionen – Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101355, 'SKR04', '1: Umlaufvermögenskonten', '1355', '101300', 'Kautionen – Restlaufzeit größer 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101360, 'SKR04', '1: Umlaufvermögenskonten', '1360', '101300', 'Darlehen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101361, 'SKR04', '1: Umlaufvermögenskonten', '1361', '101300', 'Darlehen – Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101365, 'SKR04', '1: Umlaufvermögenskonten', '1365', '101300', 'Darlehen – Restlaufzeit größer 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101369, 'SKR04', '1: Umlaufvermögenskonten', '1369', '101300', 'Forderungen gegenüber Krankenkassen aus Aufwendungsausgleichsgesetz'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101370, 'SKR04', '1: Umlaufvermögenskonten', '1370', '101300', 'Durchlaufende Posten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101374, 'SKR04', '1: Umlaufvermögenskonten', '1374', '101300', 'Fremdgeld'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101375, 'SKR04', '1: Umlaufvermögenskonten', '1375', '101300', 'Agenturwarenabrechnung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101376, 'SKR04', '1: Umlaufvermögenskonten', '1376', '101300', 'Nachträglich abziehbare Vorsteuer nach § 15a Abs. 2 UStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101377, 'SKR04', '1: Umlaufvermögenskonten', '1377', '101300', 'Zurückzuzahlende Vorsteuer nach § 15a Abs. 2 UStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101378, 'SKR04', '1: Umlaufvermögenskonten', '1378', '101300', 'Ansprüche aus Rückdeckungsversicherungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101380, 'SKR04', '1: Umlaufvermögenskonten', '1380', '101300', 'Vermögensgegenstände zur Erfüllung von Pensionsrückstellungen und ähnlichen Verpflichtungen zum langfristigen Verbleib'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101381, 'SKR04', '1: Umlaufvermögenskonten', '1381', '101300', 'Vermögensgegenstände zur Saldierung mit Pensionsrückstellungen und ähnlichen Verpflichtungen zum langfristigen Verbleib nach § 246 Abs. 2 HGB'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101382, 'SKR04', '1: Umlaufvermögenskonten', '1382', '101300', 'Vermögensgegenstände zur Erfüllung von mit der Altersversorgung vergleichbaren langfristigen Verpflichtungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101383, 'SKR04', '1: Umlaufvermögenskonten', '1383', '101300', 'Vermögensgegenstände zur Saldierung mit der Altersversorgung vergleichbaren langfristigen Verpflichtungen nach § 246 Abs. 2 HGB'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101390, 'SKR04', '1: Umlaufvermögenskonten', '1390', '101300', 'GmbH-Anteile zum kurzfristigen Verbleib'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101391, 'SKR04', '1: Umlaufvermögenskonten', '1391', '101300', 'Forderungen gegen Arbeitsgemeinschaften'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101393, 'SKR04', '1: Umlaufvermögenskonten', '1393', '101300', 'Genussrechte'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101394, 'SKR04', '1: Umlaufvermögenskonten', '1394', '101300', 'Einzahlungsansprüche zu Nebenleistungen oder Zuzahlungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101395, 'SKR04', '1: Umlaufvermögenskonten', '1395', '101300', 'Genossenschaftsanteile zum kurzfristigen Verbleib'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101396, 'SKR04', '1: Umlaufvermögenskonten', '1396', '101300', 'Nachträglich abziehbare Vorsteuer nach § 15a Abs. 1 UStG, bewegliche Wirtschaftsgüter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101397, 'SKR04', '1: Umlaufvermögenskonten', '1397', '101300', 'Zurückzuzahlende Vorsteuer nach § 15a Abs. 1 UStG, bewegliche Wirtschaftsgüter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101398, 'SKR04', '1: Umlaufvermögenskonten', '1398', '101300', 'Nachträglich abziehbare Vorsteuer nach § 15a Abs. 1 UStG, unbewegliche Wirtschaftsgüter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101399, 'SKR04', '1: Umlaufvermögenskonten', '1399', '101300', 'Zurückzuzahlende Vorsteuer nach § 15a Abs. 1 UStG, unbewegliche Wirtschaftsgüter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101400, 'SKR04', '1: Umlaufvermögenskonten', '1400', '101300', 'Abziehbare Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101401, 'SKR04', '1: Umlaufvermögenskonten', '1401', '101300', 'Abziehbare Vorsteuer 7 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101402, 'SKR04', '1: Umlaufvermögenskonten', '1402', '101300', 'Abziehbare Vorsteuer aus innergemeinschaftlichem Erwerb'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101403, 'SKR04', '1: Umlaufvermögenskonten', '1403', '101300', 'Abziehbare Vorsteuer 5 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101404, 'SKR04', '1: Umlaufvermögenskonten', '1404', '101300', 'Abziehbare Vorsteuer aus innergemeinschaftlichem Erwerb 19 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101405, 'SKR04', '1: Umlaufvermögenskonten', '1405', '101300', 'Abziehbare Vorsteuer 16 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101406, 'SKR04', '1: Umlaufvermögenskonten', '1406', '101300', 'Abziehbare Vorsteuer 19 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101407, 'SKR04', '1: Umlaufvermögenskonten', '1407', '101300', 'Abziehbare Vorsteuer nach § 13b UStG 19 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101408, 'SKR04', '1: Umlaufvermögenskonten', '1408', '101300', 'Abziehbare Vorsteuer nach § 13b UStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101409, 'SKR04', '1: Umlaufvermögenskonten', '1409', '101300', 'Abziehbare Vorsteuer nach § 13b UStG 16 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101410, 'SKR04', '1: Umlaufvermögenskonten', '1410', '101300', 'Aufzuteilende Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101411, 'SKR04', '1: Umlaufvermögenskonten', '1411', '101300', 'Aufzuteilende Vorsteuer 7 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101412, 'SKR04', '1: Umlaufvermögenskonten', '1412', '101300', 'Aufzuteilende Vorsteuer aus innergemeinschaftlichem Erwerb'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101413, 'SKR04', '1: Umlaufvermögenskonten', '1413', '101300', 'Aufzuteilende Vorsteuer aus innergemeinschaftlichem Erwerb 19 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101414, 'SKR04', '1: Umlaufvermögenskonten', '1414', '101300', 'Aufzuteilende Vorsteuer 5 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101415, 'SKR04', '1: Umlaufvermögenskonten', '1415', '101300', 'Aufzuteilende Vorsteuer 16 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101416, 'SKR04', '1: Umlaufvermögenskonten', '1416', '101300', 'Aufzuteilende Vorsteuer 19 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101417, 'SKR04', '1: Umlaufvermögenskonten', '1417', '101300', 'Aufzuteilende Vorsteuer nach §§ 13a und 13b UStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101418, 'SKR04', '1: Umlaufvermögenskonten', '1418', '101300', 'Aufzuteilende Vorsteuer nach §§ 13a und 13b UStG 16 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101419, 'SKR04', '1: Umlaufvermögenskonten', '1419', '101300', 'Aufzuteilende Vorsteuer nach §§ 13a und 13b UStG 19 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101420, 'SKR04', '1: Umlaufvermögenskonten', '1420', '101300', 'Forderungen aus Umsatzsteuer-Vorauszahlungen'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101421, 'SKR04', '1: Umlaufvermögenskonten', '1421', '101300', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101422, 'SKR04', '1: Umlaufvermögenskonten', '1422', '101300', 'Umsatzsteuerforderungen Vorjahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101425, 'SKR04', '1: Umlaufvermögenskonten', '1425', '101300', 'Umsatzsteuerforderungen frühere Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101427, 'SKR04', '1: Umlaufvermögenskonten', '1427', '101300', 'Forderungen aus entrichteten Verbrauchsteuern'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101431, 'SKR04', '1: Umlaufvermögenskonten', '1431', '101300', 'Abziehbare Vorsteuer aus der Auslagerung von Gegenständen aus einem Umsatzsteuerlager'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101432, 'SKR04', '1: Umlaufvermögenskonten', '1432', '101300', 'Abziehbare Vorsteuer aus innergemeinschaftlichem Erwerb von Neufahrzeugen von Lieferanten ohne USt-Identifikationsnummer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101433, 'SKR04', '1: Umlaufvermögenskonten', '1433', '101300', 'Entstandene Einfuhrumsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101434, 'SKR04', '1: Umlaufvermögenskonten', '1434', '101300', 'Vorsteuer in Folgeperiode/im Folgejahr abziehbar'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101435, 'SKR04', '1: Umlaufvermögenskonten', '1435', '101300', 'Forderungen aus Gewerbesteuerüberzahlungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101436, 'SKR04', '1: Umlaufvermögenskonten', '1436', '101300', 'Vorsteuer aus Erwerb als letzter Abnehmer innerhalb eines Dreiecksgeschäfts'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101440, 'SKR04', '1: Umlaufvermögenskonten', '1440', '101300', 'Steuererstattungsansprüche gegenüber anderen Ländern'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101450, 'SKR04', '1: Umlaufvermögenskonten', '1450', '101300', 'Körperschaftsteuerrückforderung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101456, 'SKR04', '1: Umlaufvermögenskonten', '1456', '101300', 'Forderungen an das Finanzamt aus abgeführtem Bauabzugsbetrag'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101457, 'SKR04', '1: Umlaufvermögenskonten', '1457', '101300', 'Forderung gegenüber Bundesagentur für Arbeit'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101460, 'SKR04', '1: Umlaufvermögenskonten', '1460', '101300', 'Geldtransit'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101480, 'SKR04', '1: Umlaufvermögenskonten', '1480', '101300', 'Gegenkonto Vorsteuer § 4 Abs. 3 EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101481, 'SKR04', '1: Umlaufvermögenskonten', '1481', '101300', 'Auflösung Vorsteuer aus Vorjahr § 4 Abs. 3 EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101482, 'SKR04', '1: Umlaufvermögenskonten', '1482', '101300', 'Vorsteuer aus Investitionen § 4 Abs. 3 EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101483, 'SKR04', '1: Umlaufvermögenskonten', '1483', '101300', 'Gegenkonto für Vorsteuer nach Durchschnittssätzen für § 4 Abs. 3 EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101484, 'SKR04', '1: Umlaufvermögenskonten', '1484', '101300', 'Vorsteuer nach allgemeinen Durchschnittssätzen UStVA Kz. 63'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101485, 'SKR04', '1: Umlaufvermögenskonten', '1485', '101300', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101486, 'SKR04', '1: Umlaufvermögenskonten', '1486', '101300', 'Verrechnungskonto für Gewinnermittlung § 4 Abs. 3 EStG, nicht ergebniswirksam'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101487, 'SKR04', '1: Umlaufvermögenskonten', '1487', '101300', 'Wirtschaftsgüter des Umlaufvermögens nach § 4 Abs. 3 Satz 4 EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101490, 'SKR04', '1: Umlaufvermögenskonten', '1490', '101300', 'Verrechnungskonto Ist-Versteuerung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101491, 'SKR04', '1: Umlaufvermögenskonten', '1491', '101300', 'Neutralisierung ertragswirksamer Sachverhalte für § 4 Abs. 3 EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101494, 'SKR04', '1: Umlaufvermögenskonten', '1494', '101300', 'Forderungen gegen Gesellschaft/Gesamthand'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101495, 'SKR04', '1: Umlaufvermögenskonten', '1495', '101300', 'Verrechnungskonto erhaltene Anzahlungen bei Buchung über Debitorenkonto'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101496, 'SKR04', '1: Umlaufvermögenskonten', '1496', '101300', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101497, 'SKR04', '1: Umlaufvermögenskonten', '1497', '101300', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101498, 'SKR04', '1: Umlaufvermögenskonten', '1498', '101300', 'Überleitungskonto Kostenstellen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101500, 'SKR04', '1: Umlaufvermögenskonten', '1500', '0', 'Anteile an verbundenen Unternehmen (Umlaufvermögen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101504, 'SKR04', '1: Umlaufvermögenskonten', '1504', '0', 'Anteile an herrschender oder mehrheitlich beteiligter Gesellschaft'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101510, 'SKR04', '1: Umlaufvermögenskonten', '1510', '0', 'Sonstige Wertpapiere'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101520, 'SKR04', '1: Umlaufvermögenskonten', '1520', '101510', 'Finanzwechsel'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101525, 'SKR04', '1: Umlaufvermögenskonten', '1525', '101510', 'Andere Wertpapiere mit unwesentlichen Wertschwankungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101530, 'SKR04', '1: Umlaufvermögenskonten', '1530', '101510', 'Wertpapieranlagen im Rahmen der kurzfristigen Finanzdisposition'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101550, 'SKR04', '1: Umlaufvermögenskonten', '1550', '0', 'Schecks'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101600, 'SKR04', '1: Umlaufvermögenskonten', '1600', '0', 'Kasse'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101610, 'SKR04', '1: Umlaufvermögenskonten', '1610', '101600', 'Nebenkasse 1'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101620, 'SKR04', '1: Umlaufvermögenskonten', '1620', '101600', 'Nebenkasse 2'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101700, 'SKR04', '1: Umlaufvermögenskonten', '1700', '0', 'Bank (Postbank)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101710, 'SKR04', '1: Umlaufvermögenskonten', '1710', '101700', 'Bank (Postbank 1)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101720, 'SKR04', '1: Umlaufvermögenskonten', '1720', '101700', 'Bank (Postbank 2)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101730, 'SKR04', '1: Umlaufvermögenskonten', '1730', '101700', 'Bank (Postbank 3)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101780, 'SKR04', '1: Umlaufvermögenskonten', '1780', '101700', 'LZB-Guthaben'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101790, 'SKR04', '1: Umlaufvermögenskonten', '1790', '101700', 'Bundesbankguthaben'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101800, 'SKR04', '1: Umlaufvermögenskonten', '1800', '0', 'Bank'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101810, 'SKR04', '1: Umlaufvermögenskonten', '1810', '101800', 'Bank 1'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101820, 'SKR04', '1: Umlaufvermögenskonten', '1820', '101800', 'Bank 2'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101830, 'SKR04', '1: Umlaufvermögenskonten', '1830', '101800', 'Bank 3'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101840, 'SKR04', '1: Umlaufvermögenskonten', '1840', '101800', 'Bank 4'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101850, 'SKR04', '1: Umlaufvermögenskonten', '1850', '101800', 'Bank 5'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101889, 'SKR04', '1: Umlaufvermögenskonten', '1889', '101800', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101890, 'SKR04', '1: Umlaufvermögenskonten', '1890', '101800', 'Finanzmittelanlagen im Rahmen der kurzfristigen Finanzdisposition (nicht im Finanzmittelfonds enthalten)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101895, 'SKR04', '1: Umlaufvermögenskonten', '1895', '101800', 'Verbindlichkeiten gegenüber Kreditinstituten (nicht im Finanzmittelfonds enthalten)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101900, 'SKR04', '1: Umlaufvermögenskonten', '1900', '0', 'Aktive Rechnungsabgrenzung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101920, 'SKR04', '1: Umlaufvermögenskonten', '1920', '101900', 'Als Aufwand berücksichtigte Zölle und Verbrauchsteuern auf Vorräte'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101930, 'SKR04', '1: Umlaufvermögenskonten', '1930', '101900', 'Als Aufwand berücksichtigte Umsatzsteuer auf Anzahlungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101940, 'SKR04', '1: Umlaufvermögenskonten', '1940', '101900', 'Damnum/Disagio'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 101950, 'SKR04', '1: Umlaufvermögenskonten', '1950', '0', 'Aktive latente Steuern'); +---- 2: Eigenkapitalkonten/Fremdkapitalkonten +--for x in {2000..2999};do echo "INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, $((10#$x + 100000)), 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '$x', '0', '');"; done +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102000, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2000', '0', 'Festkapital'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102001, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2001', '0', 'Kapital (fester Anteil nur Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102010, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2010', '0', 'Variables Kapital'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102011, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2011', '0', 'Kapital (variabler Anteil, nur Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102020, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2020', '0', 'Gesellschafter-Darlehen'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102021, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2021', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102022, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2022', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102023, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2023', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102024, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2024', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102025, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2025', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102026, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2026', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102027, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2027', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102028, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2028', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102029, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2029', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102030, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2030', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102031, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2031', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102032, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2032', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102033, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2033', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102034, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2034', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102035, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2035', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102036, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2036', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102037, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2037', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102038, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2038', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102039, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2039', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102040, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2040', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102041, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2041', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102042, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2042', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102043, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2043', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102044, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2044', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102045, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2045', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102046, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2046', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102047, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2047', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102048, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2048', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102049, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2049', '0', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102050, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2050', '0', 'Kommandit-Kapital'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102051, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2051', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102052, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2052', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102053, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2053', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102054, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2054', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102055, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2055', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102056, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2056', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102057, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2057', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102058, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2058', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102059, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2059', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102060, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2060', '0', 'Verlustausgleichskonto'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102061, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2061', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102062, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2062', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102063, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2063', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102064, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2064', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102065, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2065', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102066, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2066', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102067, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2067', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102068, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2068', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102069, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2069', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102070, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2070', '0', 'Gesellschafter-Darlehen'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102071, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2071', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102072, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2072', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102073, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2073', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102074, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2074', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102075, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2075', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102076, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2076', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102077, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2077', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102078, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2078', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102079, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2079', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102080, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2080', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102081, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2081', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102082, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2082', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102083, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2083', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102084, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2084', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102085, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2085', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102086, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2086', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102087, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2087', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102088, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2088', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102089, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2089', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102090, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2090', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102091, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2091', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102092, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2092', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102093, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2093', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102094, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2094', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102095, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2095', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102096, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2096', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102097, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2097', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102098, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2098', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102099, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2099', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102100, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2100', '0', 'Privatentnahmen allgemein'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102101, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2101', '0', 'Privatentnahmen allgemein (nur Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102110, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2110', '0', 'Privatentnahmen allgemein'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102111, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2111', '0', 'Privatentnahmen allgemein (nur Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102120, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2120', '0', 'Privatentnahmen allgemein'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102121, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2121', '0', 'Privatentnahmen allgemein (nur Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102130, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2130', '0', 'Unentgeltliche Wertabgaben'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102131, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2131', '0', 'Unentgeltliche Wertabgaben (nur Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102140, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2140', '0', 'Unentgeltliche Wertabgaben'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102141, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2141', '0', 'Unentgeltliche Wertabgaben (nur Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102150, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2150', '0', 'Privatsteuern'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102151, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2151', '0', 'Privatsteuern (nur Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102160, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2160', '0', 'Privatsteuern'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102161, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2161', '0', 'Privatsteuern (nur Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102170, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2170', '0', 'Privatsteuern'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102171, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2171', '0', 'Privatsteuern (nur Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102180, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2180', '0', 'Privateinlagen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102181, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2181', '0', 'Privateinlagen (nur Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102190, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2190', '0', 'Privateinlagen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102191, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2191', '0', 'Privateinlagen (nur Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102200, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2200', '0', 'Sonderausgaben beschränkt abzugsfähig'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102201, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2201', '0', 'Sonderausgaben beschränkt abzugsfähig (nur Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102210, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2210', '0', 'Sonderausgaben beschränkt abzugsfähig'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102211, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2211', '0', 'Sonderausgaben beschränkt abzugsfähig (nur Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102220, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2220', '0', 'Sonderausgaben beschränkt abzugsfähig'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102221, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2221', '0', 'Sonderausgaben beschränkt abzugsfähig (nur Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102230, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2230', '0', 'Sonderausgaben unbeschränkt abzugsfähig'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102231, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2231', '0', 'Sonderausgaben unbeschränkt abzugsfähig (nur Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102240, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2240', '0', 'Sonderausgaben unbeschränkt abzugsfähig'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102241, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2241', '0', 'Sonderausgaben unbeschränkt abzugsfähig (nur Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102250, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2250', '0', 'Zuwendungen, Spenden'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102251, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2251', '0', 'Zuwendungen, Spenden (nur Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102260, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2260', '0', 'Zuwendungen, Spenden'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102261, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2261', '0', 'Zuwendungen, Spenden (nur Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102270, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2270', '0', 'Zuwendungen, Spenden'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102271, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2271', '0', 'Zuwendungen, Spenden (nur Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102280, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2280', '0', 'Außergewöhnliche Belastungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102281, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2281', '0', 'Außergewöhnliche Belastungen (nur Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102290, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2290', '0', 'Außergewöhnliche Belastungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102291, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2291', '0', 'Außergewöhnliche Belastungen (nur Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102300, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2300', '0', 'Grundstücksaufwand'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102301, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2301', '0', 'Grundstücksaufwand (nur Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102309, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2309', '0', 'Grundstücksaufwand (Umsatzsteuerschlüssel möglich, nur Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102310, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2310', '0', 'Grundstücksaufwand'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102311, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2311', '0', 'Grundstücksaufwand (nur Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102319, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2319', '0', 'Grundstücksaufwand (Umsatzsteuerschlüssel möglich, nur Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102320, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2320', '0', 'Grundstücksaufwand'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102321, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2321', '0', 'Grundstücksaufwand (nur Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102329, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2329', '0', 'Grundstücksaufwand (Umsatzsteuerschlüssel möglich, nur Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102330, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2330', '0', 'Grundstücksaufwand'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102331, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2331', '0', 'Grundstücksaufwand (nur Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102339, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2339', '0', 'Grundstücksaufwand (Umsatzsteuerschlüssel möglich, nur Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102340, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2340', '0', 'Grundstücksaufwand'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102341, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2341', '0', 'Grundstücksaufwand (nur Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102349, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2349', '0', 'Grundstücksaufwand (Umsatzsteuerschlüssel möglich, nur Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102350, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2350', '0', 'Grundstücksertrag'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102351, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2351', '0', 'Grundstücksertrag (nur Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102359, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2359', '0', 'Grundstücksertrag (Umsatzsteuerschlüssel möglich, nur Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102360, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2360', '0', 'Grundstücksertrag'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102361, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2361', '0', 'Grundstücksertrag (nur Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102369, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2369', '0', 'Grundstücksertrag (Umsatzsteuerschlüssel möglich, nur Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102370, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2370', '0', 'Grundstücksertrag'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102371, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2371', '0', 'Grundstücksertrag (nur Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102379, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2379', '0', 'Grundstücksertrag (Umsatzsteuerschlüssel möglich, nur Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102380, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2380', '0', 'Grundstücksertrag'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102381, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2381', '0', 'Grundstücksertrag (nur Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102389, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2389', '0', 'Grundstücksertrag (Umsatzsteuerschlüssel möglich, nur Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102390, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2390', '0', 'Grundstücksertrag'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102391, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2391', '0', 'Grundstücksertrag (nur Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102399, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2399', '0', 'Grundstücksertrag (Umsatzsteuerschlüssel möglich, nur Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102500, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2500', '0', 'Privatentnahmen allgemein (TH), FK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102501, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2501', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102502, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2502', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102503, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2503', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102504, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2504', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102505, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2505', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102506, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2506', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102507, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2507', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102508, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2508', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102509, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2509', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102510, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2510', '0', 'Privatentnahmen allgemein (TH), FK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102511, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2511', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102512, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2512', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102513, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2513', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102514, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2514', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102515, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2515', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102516, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2516', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102517, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2517', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102518, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2518', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102519, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2519', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102520, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2520', '0', 'Privatentnahmen allgemein (TH), FK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102521, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2521', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102522, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2522', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102523, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2523', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102524, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2524', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102525, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2525', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102526, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2526', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102527, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2527', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102528, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2528', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102529, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2529', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102530, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2530', '0', 'Unentgeltliche Wertabgaben (TH), FK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102531, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2531', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102532, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2532', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102533, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2533', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102534, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2534', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102535, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2535', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102536, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2536', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102537, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2537', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102538, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2538', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102539, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2539', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102540, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2540', '0', 'Unentgeltliche Wertabgaben (TH), FK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102541, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2541', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102542, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2542', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102543, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2543', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102544, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2544', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102545, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2545', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102546, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2546', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102547, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2547', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102548, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2548', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102549, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2549', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102550, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2550', '0', 'Privatsteuern (TH), FK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102551, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2551', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102552, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2552', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102553, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2553', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102554, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2554', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102555, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2555', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102556, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2556', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102557, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2557', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102558, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2558', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102559, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2559', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102560, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2560', '0', 'Privatsteuern (TH), FK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102561, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2561', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102562, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2562', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102563, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2563', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102564, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2564', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102565, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2565', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102566, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2566', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102567, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2567', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102568, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2568', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102569, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2569', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102570, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2570', '0', 'Privatsteuern (TH), FK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102571, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2571', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102572, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2572', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102573, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2573', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102574, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2574', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102575, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2575', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102576, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2576', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102577, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2577', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102578, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2578', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102579, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2579', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102580, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2580', '0', 'Privateinlagen (TH), FK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102581, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2581', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102582, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2582', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102583, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2583', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102584, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2584', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102585, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2585', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102586, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2586', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102587, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2587', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102588, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2588', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102589, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2589', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102590, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2590', '0', 'Privateinlagen (TH), FK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102591, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2591', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102592, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2592', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102593, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2593', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102594, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2594', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102595, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2595', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102596, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2596', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102597, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2597', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102598, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2598', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102599, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2599', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102600, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2600', '0', 'Sonderausgaben beschränkt abzugsfähig (TH), FK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102601, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2601', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102602, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2602', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102603, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2603', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102604, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2604', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102605, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2605', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102606, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2606', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102607, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2607', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102608, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2608', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102609, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2609', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102610, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2610', '0', 'Sonderausgaben beschränkt abzugsfähig (TH), FK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102611, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2611', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102612, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2612', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102613, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2613', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102614, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2614', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102615, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2615', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102616, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2616', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102617, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2617', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102618, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2618', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102619, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2619', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102620, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2620', '0', 'Sonderausgaben beschränkt abzugsfähig (TH), FK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102621, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2621', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102622, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2622', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102623, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2623', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102624, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2624', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102625, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2625', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102626, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2626', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102627, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2627', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102628, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2628', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102629, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2629', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102630, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2630', '0', 'Sonderausgaben unbeschränkt abzugsfähig (TH), FK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102631, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2631', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102632, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2632', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102633, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2633', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102634, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2634', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102635, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2635', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102636, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2636', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102637, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2637', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102638, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2638', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102639, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2639', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102640, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2640', '0', 'Sonderausgaben unbeschränkt abzugsfähig (TH), FK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102641, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2641', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102642, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2642', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102643, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2643', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102644, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2644', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102645, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2645', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102646, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2646', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102647, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2647', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102648, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2648', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102649, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2649', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102650, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2650', '0', 'Zuwendungen, Spenden (TH), FK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102651, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2651', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102652, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2652', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102653, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2653', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102654, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2654', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102655, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2655', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102656, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2656', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102657, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2657', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102658, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2658', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102659, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2659', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102660, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2660', '0', 'Zuwendungen, Spenden (TH), FK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102661, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2661', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102662, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2662', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102663, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2663', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102664, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2664', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102665, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2665', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102666, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2666', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102667, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2667', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102668, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2668', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102669, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2669', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102670, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2670', '0', 'Zuwendungen, Spenden (TH), FK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102671, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2671', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102672, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2672', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102673, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2673', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102674, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2674', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102675, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2675', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102676, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2676', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102677, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2677', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102678, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2678', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102679, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2679', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102680, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2680', '0', 'Außergewöhnliche Belastungen (TH), FK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102681, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2681', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102682, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2682', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102683, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2683', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102684, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2684', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102685, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2685', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102686, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2686', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102687, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2687', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102688, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2688', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102689, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2689', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102690, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2690', '0', 'Außergewöhnliche Belastungen (TH), FK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102691, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2691', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102692, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2692', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102693, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2693', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102694, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2694', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102695, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2695', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102696, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2696', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102697, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2697', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102698, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2698', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102699, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2699', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102700, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2700', '0', 'Grundstücksaufwand (TH), FK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102701, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2701', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102702, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2702', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102703, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2703', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102704, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2704', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102705, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2705', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102706, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2706', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102707, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2707', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102708, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2708', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102709, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2709', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102710, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2710', '0', 'Grundstücksaufwand (TH), FK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102711, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2711', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102712, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2712', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102713, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2713', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102714, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2714', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102715, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2715', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102716, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2716', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102717, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2717', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102718, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2718', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102719, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2719', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102720, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2720', '0', 'Grundstücksaufwand (TH), FK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102721, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2721', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102722, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2722', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102723, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2723', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102724, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2724', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102725, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2725', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102726, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2726', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102727, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2727', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102728, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2728', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102729, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2729', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102730, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2730', '0', 'Grundstücksaufwand (TH), FK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102731, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2731', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102732, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2732', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102733, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2733', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102734, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2734', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102735, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2735', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102736, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2736', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102737, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2737', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102738, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2738', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102739, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2739', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102740, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2740', '0', 'Grundstücksaufwand (TH), FK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102741, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2741', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102742, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2742', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102743, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2743', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102744, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2744', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102745, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2745', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102746, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2746', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102747, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2747', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102748, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2748', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102749, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2749', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102750, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2750', '0', 'Grundstücksertrag (TH), FK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102751, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2751', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102752, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2752', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102753, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2753', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102754, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2754', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102755, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2755', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102756, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2756', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102757, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2757', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102758, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2758', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102759, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2759', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102760, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2760', '0', 'Grundstücksertrag (TH), FK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102761, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2761', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102762, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2762', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102763, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2763', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102764, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2764', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102765, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2765', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102766, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2766', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102767, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2767', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102768, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2768', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102769, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2769', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102770, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2770', '0', 'Grundstücksertrag (TH), FK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102771, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2771', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102772, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2772', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102773, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2773', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102774, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2774', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102775, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2775', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102776, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2776', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102777, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2777', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102778, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2778', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102779, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2779', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102780, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2780', '0', 'Grundstücksertrag (TH), FK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102781, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2781', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102782, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2782', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102783, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2783', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102784, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2784', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102785, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2785', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102786, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2786', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102787, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2787', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102788, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2788', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102789, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2789', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102790, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2790', '0', 'Grundstücksertrag (TH), FK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102791, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2791', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102792, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2792', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102793, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2793', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102794, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2794', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102795, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2795', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102796, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2796', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102797, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2797', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102798, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2798', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102799, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2799', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102900, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2900', '0', 'Gezeichnetes Kapital'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102901, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2901', '102900', 'Geschäftsguthaben der verbleibenden Mitglieder'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102902, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2902', '102900', 'Geschäftsguthaben der ausscheidenden Mitglieder'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102903, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2903', '102900', 'Geschäftsguthaben aus gekündigten Geschäftsanteilen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102906, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2906', '102900', 'Rückständige fällige Einzahlungen auf Geschäftsanteile, vermerkt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102907, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2907', '102900', 'Gegenkonto Rückständige fällige Einzahlungen auf Geschäftsanteile, vermerkt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102908, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2908', '102900', 'Kapitalerhöhung aus Gesellschaftsmitteln'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102909, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2909', '102900', 'Erworbene eigene Anteile'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102910, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2910', '102900', 'Ausstehende Einlagen auf das gezeichnete Kapital, nicht eingefordert (Passivausweis, vom gezeichneten Kapital offen abgesetzt; eingeforderte ausstehende Einlagen s. Konto 1298)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102920, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2920', '0', 'Kapitalrücklage'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102921, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2921', '102920', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102922, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2922', '102920', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102923, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2923', '102920', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102924, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2924', '102920', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102925, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2925', '102920', 'Kapitalrücklage durch Ausgabe von Anteilen über Nennbetrag'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102926, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2926', '102920', 'Kapitalrücklage durch Ausgabe von Schuldverschreibungen für Wandlungsrechte und Optionsrechte zum Erwerb von Anteilen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102927, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2927', '102920', 'Kapitalrücklage durch Zuzahlungen gegen Gewährung eines Vorzugs für Anteile'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102928, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2928', '102920', 'Kapitalrücklage durch Zuzahlungen in das Eigenkapital'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102929, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2929', '102920', 'Nachschusskapital (Gegenkonto 1299)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102930, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2930', '0', 'Gesetzliche Rücklage'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102935, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2935', '102930', 'Rücklage für Anteile an einem herrschenden oder mehrheitlich beteiligten Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102937, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2937', '102930', 'Andere Ergebnisrücklagen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102950, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2950', '0', 'Satzungsmäßige Rücklagen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102959, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2959', '102950', 'Gesamthänderisch gebundene Rücklagen (mit Aufteilung für Kapitalkontenentwicklung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102960, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2960', '0', 'Andere Gewinnrücklagen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102961, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2961', '102960', 'Andere Gewinnrücklagen aus dem Erwerb eigener Anteile '); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102962, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2962', '102960', 'Eigenkapitalanteil von Wertaufholungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102963, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2963', '102960', 'Gewinnrücklagen aus den Übergangsvorschriften BilMoG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102964, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2964', '102960', 'Gewinnrücklagen aus den Übergangsvorschriften BilMoG (Zuschreibung Sachanlagevermögen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102965, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2965', '102960', 'Gewinnrücklagen aus den Übergangsvorschriften BilMoG (Zuschreibung Finanzanlagevermögen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102966, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2966', '102960', 'Gewinnrücklagen aus den Übergangsvorschriften BilMoG (Auflösung der Sonderposten mit Rücklageanteil)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102967, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2967', '102960', 'Latente Steuern (Gewinnrücklage Haben) aus erfolgsneutralen Verrechnungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102968, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2968', '102960', 'Latente Steuern (Gewinnrücklage Soll) aus erfolgsneutralen Verrechnungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102969, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2969', '102960', 'Rechnungsabgrenzungsposten (Gewinnrücklage Soll) aus erfolgsneutralen Verrechnungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102970, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2970', '0', 'Gewinnvortrag vor Verwendung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102975, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2975', '0', 'Gewinnvortrag vor Verwendung (mit Aufteilung für Kapitalkontenentwicklung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102977, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2977', '0', 'Verlustvortrag vor Verwendung (mit Aufteilung für Kapitalkontenentwicklung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102978, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2978', '0', 'Verlustvortrag vor Verwendung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102980, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2980', '0', 'Übrige andere Sonderposten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102981, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2981', '0', 'Steuerfreie Rücklagen nach § 6b EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102982, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2982', '0', 'Rücklage für Ersatzbeschaffung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102988, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2988', '0', 'Rücklage für Zuschüsse'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102990, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2990', '0', 'Sonderposten mit Rücklageanteil, Sonderabschreibungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102995, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2995', '0', 'Ausgleichsposten bei Entnahmen § 4g EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102997, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2997', '0', 'Sonderposten mit Rücklageanteil nach § 7g Abs. 5 EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102998, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2998', '0', 'Sonderposten für Zuschüsse Dritter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 102999, 'SKR04', '2: Eigenkapitalkonten/Fremdkapitalkonten', '2999', '0', 'Sonderposten für Investitionszuylagen'); +---- 3: Fremdkapitalkonten +--for x in {3000..3999};do echo "INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, $((10#$x + 100000)), 'SKR04', '3: Fremdkapitalkonten', '$x', '0', '');"; done +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103000, 'SKR04', '3: Fremdkapitalkonten', '3000', '0', 'Rückstellungen für Pensionen und ähnliche Verpflichtungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103005, 'SKR04', '3: Fremdkapitalkonten', '3005', '103000', 'Rückstellungen für Pensionen und ähnliche Verpflichtungen gegenüber Gesellschaftern oder nahe stehenden Personen (10 % Beteiligung am Kapital)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103009, 'SKR04', '3: Fremdkapitalkonten', '3009', '103000', 'Rückstellungen für Pensionen und ähnliche Verpflichtungen zur Saldierung mit Vermögensgegenständen zum langfristigen Verbleib nach § 246 Abs. 2 HGB'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103010, 'SKR04', '3: Fremdkapitalkonten', '3010', '103000', 'Rückstellungen für Direktzusagen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103011, 'SKR04', '3: Fremdkapitalkonten', '3011', '103000', 'Rückstellungen für Zuschussverpflichtungen für Pensionskassen und Lebensversicherungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103015, 'SKR04', '3: Fremdkapitalkonten', '3015', '103000', 'Rückstellungen für pensionsähnliche Verpflichtungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103020, 'SKR04', '3: Fremdkapitalkonten', '3020', '0', 'Steuerrückstellungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103035, 'SKR04', '3: Fremdkapitalkonten', '3035', '103020', 'Gewerbesteuerrückstellung nach § 4 Abs. 5b EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103040, 'SKR04', '3: Fremdkapitalkonten', '3040', '103020', 'Körperschaftsteuerrückstellung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103050, 'SKR04', '3: Fremdkapitalkonten', '3050', '103020', 'Steuerrückstellung aus Steuerstundung (BStBK)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103060, 'SKR04', '3: Fremdkapitalkonten', '3060', '103020', 'Rückstellung für latente Steuern'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103065, 'SKR04', '3: Fremdkapitalkonten', '3065', '103020', 'Passive latente Steuern'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103070, 'SKR04', '3: Fremdkapitalkonten', '3070', '0', 'Sonstige Rückstellungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103074, 'SKR04', '3: Fremdkapitalkonten', '3074', '103070', 'Rückstellungen für Personalkosten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103075, 'SKR04', '3: Fremdkapitalkonten', '3075', '103070', 'Rückstellungen für unterlassene Aufwendungen für Instandhaltung, Nachholung in den ersten drei Monaten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103076, 'SKR04', '3: Fremdkapitalkonten', '3076', '103070', 'Rückstellungen für mit der Altersversorgung vergleichbare langfristige Verpflichtungen zum langfristigen Verbleib'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103077, 'SKR04', '3: Fremdkapitalkonten', '3077', '103070', 'Rückstellungen für mit der Altersversorgung vergleichbare langfristige Verpflichtungen zur Saldierung mit Vermögensgegenständen zum langfristigen Verbleib nach § 246 Abs. 2 HGB'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103079, 'SKR04', '3: Fremdkapitalkonten', '3079', '103070', 'Urlaubsrückstellungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103085, 'SKR04', '3: Fremdkapitalkonten', '3085', '103070', 'Rückstellungen für Abraum- und Abfallbeseitigung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103090, 'SKR04', '3: Fremdkapitalkonten', '3090', '103070', 'Rückstellungen für Gewährleistungen (Gegenkonto 6790)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103092, 'SKR04', '3: Fremdkapitalkonten', '3092', '103070', 'Rückstellungen für drohende Verluste aus schwebenden Geschäften'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103095, 'SKR04', '3: Fremdkapitalkonten', '3095', '103070', 'Rückstellungen für Abschlussund Prüfungskosten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103096, 'SKR04', '3: Fremdkapitalkonten', '3096', '103070', 'Rückstellungen zur Erfüllung der Aufbewahrungspflichten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103098, 'SKR04', '3: Fremdkapitalkonten', '3098', '103070', 'Aufwandsrückstellungen nach § 249 Abs. 2 HGB a. F.'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103099, 'SKR04', '3: Fremdkapitalkonten', '3099', '103070', 'Rückstellungen für Umweltschutz'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103100, 'SKR04', '3: Fremdkapitalkonten', '3100', '0', 'Anleihen, nicht konvertibel'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103101, 'SKR04', '3: Fremdkapitalkonten', '3101', '103100', 'Anleihen, nicht konvertibel – Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103105, 'SKR04', '3: Fremdkapitalkonten', '3105', '103100', 'Anleihen, nicht konvertibel – Restlaufzeit 1 bis 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103110, 'SKR04', '3: Fremdkapitalkonten', '3110', '103100', 'Anleihen, nicht konvertibel – Restlaufzeit größer 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103120, 'SKR04', '3: Fremdkapitalkonten', '3120', '103100', 'Anleihen, konvertibel'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103121, 'SKR04', '3: Fremdkapitalkonten', '3121', '103100', 'Anleihen, konvertibel – Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103125, 'SKR04', '3: Fremdkapitalkonten', '3125', '103100', 'Anleihen, konvertibel – Restlaufzeit 1 bis 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103130, 'SKR04', '3: Fremdkapitalkonten', '3130', '103100', 'Anleihen, konvertibel – Restlaufzeit größer 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103150, 'SKR04', '3: Fremdkapitalkonten', '3150', '0', 'Verbindlichkeiten gegenüber Kreditinstituten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103151, 'SKR04', '3: Fremdkapitalkonten', '3151', '103150', 'Verbindlichkeiten gegenüber Kreditinstituten – Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103160, 'SKR04', '3: Fremdkapitalkonten', '3160', '103150', 'Verbindlichkeiten gegenüber Kreditinstituten – Restlaufzeit 1 bis 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103170, 'SKR04', '3: Fremdkapitalkonten', '3170', '103150', 'Verbindlichkeiten gegenüber Kreditinstituten – Restlaufzeit größer 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103180, 'SKR04', '3: Fremdkapitalkonten', '3180', '103150', 'Verbindlichkeiten gegenüber Kreditinstituten aus Teilzahlungsverträgen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103181, 'SKR04', '3: Fremdkapitalkonten', '3181', '103150', 'Verbindlichkeiten gegenüber Kreditinstituten aus Teilzahlungsverträgen – Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103190, 'SKR04', '3: Fremdkapitalkonten', '3190', '103150', 'Verbindlichkeiten gegenüber Kreditinstituten aus Teilzahlungsverträgen – Restlaufzeit 1 bis 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103200, 'SKR04', '3: Fremdkapitalkonten', '3200', '103150', 'Verbindlichkeiten gegenüber Kreditinstituten aus Teilzahlungsverträgen – Restlaufzeit größer 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103210, 'SKR04', '3: Fremdkapitalkonten', '3210', '103150', 'Verbindlichkeiten gegenüber Kreditinstituten, vor Restlaufzeitdifferenzierung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103249, 'SKR04', '3: Fremdkapitalkonten', '3249', '103150', 'Gegenkonto 3150-3209 bei Aufteilung der Konten 3210-3248'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103250, 'SKR04', '3: Fremdkapitalkonten', '3250', '0', 'Erhaltene Anzahlungen auf Bestellungen (Verbindlichkeiten)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103260, 'SKR04', '3: Fremdkapitalkonten', '3260', '103250', 'Erhaltene, versteuerte Anzahlungen 7 % USt (Verbindlichkeiten)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103261, 'SKR04', '3: Fremdkapitalkonten', '3261', '103250', 'Erhaltene, versteuerte Anzahlungen 5 % USt (Verbindlichkeiten)'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103262, 'SKR04', '3: Fremdkapitalkonten', '3262', '103250', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103263, 'SKR04', '3: Fremdkapitalkonten', '3263', '103250', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103264, 'SKR04', '3: Fremdkapitalkonten', '3264', '103250', 'Erhaltene, versteuerte Anzahlungen 0 % USt (Verbindlichkeiten)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103270, 'SKR04', '3: Fremdkapitalkonten', '3270', '103250', 'Erhaltene, versteuerte Anzahlungen 16 % USt (Verbindlichkeiten)'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103271, 'SKR04', '3: Fremdkapitalkonten', '3271', '103250', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103272, 'SKR04', '3: Fremdkapitalkonten', '3272', '103250', 'Erhaltene, versteuerte Anzahlungen 19 % USt (Verbindlichkeiten)'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103273, 'SKR04', '3: Fremdkapitalkonten', '3273', '103250', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103274, 'SKR04', '3: Fremdkapitalkonten', '3274', '103250', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103279, 'SKR04', '3: Fremdkapitalkonten', '3279', '103250', 'Erhaltene Anzahlungen - Nachsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103280, 'SKR04', '3: Fremdkapitalkonten', '3280', '103250', 'Erhaltene Anzahlungen – Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103284, 'SKR04', '3: Fremdkapitalkonten', '3284', '103250', 'Erhaltene Anzahlungen – Restlaufzeit 1 bis 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103285, 'SKR04', '3: Fremdkapitalkonten', '3285', '103250', 'Erhaltene Anzahlungen – Restlaufzeit größer 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103300, 'SKR04', '3: Fremdkapitalkonten', '3300', '0', 'Verbindlichkeiten aus Lieferungen und Leistungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103301, 'SKR04', '3: Fremdkapitalkonten', '3301', '103300', 'Verbindlichkeiten aus Lieferungen und Leistungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103302, 'SKR04', '3: Fremdkapitalkonten', '3302', '103300', 'Verbindlichkeiten aus Lieferungen und Leistungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103303, 'SKR04', '3: Fremdkapitalkonten', '3303', '103300', 'Verbindlichkeiten aus Lieferungen und Leistungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103305, 'SKR04', '3: Fremdkapitalkonten', '3305', '103300', 'Verbindlichkeiten aus Lieferungen und Leistungen zum allgemeinen Umsatzsteuersatz (EÜR)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103306, 'SKR04', '3: Fremdkapitalkonten', '3306', '103300', 'Verbindlichkeiten aus Lieferungen und Leistungen zum ermäßigten Umsatzsteuersatz (EÜR)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103307, 'SKR04', '3: Fremdkapitalkonten', '3307', '103300', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Vorsteuer (EÜR)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103309, 'SKR04', '3: Fremdkapitalkonten', '3309', '103300', 'Gegenkonto 3305-3307 bei Aufteilung der Verbindlichkeiten nach Steuersätzen (EÜR)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103310, 'SKR04', '3: Fremdkapitalkonten', '3310', '103300', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103311, 'SKR04', '3: Fremdkapitalkonten', '3311', '103300', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103312, 'SKR04', '3: Fremdkapitalkonten', '3312', '103300', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103313, 'SKR04', '3: Fremdkapitalkonten', '3313', '103300', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103314, 'SKR04', '3: Fremdkapitalkonten', '3314', '103300', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103315, 'SKR04', '3: Fremdkapitalkonten', '3315', '103300', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103316, 'SKR04', '3: Fremdkapitalkonten', '3316', '103300', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103317, 'SKR04', '3: Fremdkapitalkonten', '3317', '103300', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103318, 'SKR04', '3: Fremdkapitalkonten', '3318', '103300', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103319, 'SKR04', '3: Fremdkapitalkonten', '3319', '103300', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103320, 'SKR04', '3: Fremdkapitalkonten', '3320', '103300', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103321, 'SKR04', '3: Fremdkapitalkonten', '3321', '103300', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103322, 'SKR04', '3: Fremdkapitalkonten', '3322', '103300', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103323, 'SKR04', '3: Fremdkapitalkonten', '3323', '103300', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103324, 'SKR04', '3: Fremdkapitalkonten', '3324', '103300', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103325, 'SKR04', '3: Fremdkapitalkonten', '3325', '103300', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103326, 'SKR04', '3: Fremdkapitalkonten', '3326', '103300', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103327, 'SKR04', '3: Fremdkapitalkonten', '3327', '103300', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103328, 'SKR04', '3: Fremdkapitalkonten', '3328', '103300', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103329, 'SKR04', '3: Fremdkapitalkonten', '3329', '103300', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103330, 'SKR04', '3: Fremdkapitalkonten', '3330', '103300', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103331, 'SKR04', '3: Fremdkapitalkonten', '3331', '103300', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103332, 'SKR04', '3: Fremdkapitalkonten', '3332', '103300', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103333, 'SKR04', '3: Fremdkapitalkonten', '3333', '103300', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103334, 'SKR04', '3: Fremdkapitalkonten', '3334', '103300', 'Verbindlichkeiten aus Lieferungen und Leistungen für Investitionen für § 4 Abs. 3 EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103335, 'SKR04', '3: Fremdkapitalkonten', '3335', '103300', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent – Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103337, 'SKR04', '3: Fremdkapitalkonten', '3337', '103300', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent – Restlaufzeit 1 bis 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103338, 'SKR04', '3: Fremdkapitalkonten', '3338', '103300', 'Verbindlichkeiten aus Lieferungen und Leistungen ohne Kontokorrent – Restlaufzeit größer 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103340, 'SKR04', '3: Fremdkapitalkonten', '3340', '103300', 'Verbindlichkeiten aus Lieferungen und Leistungen gegenüber Gesellschaftern'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103341, 'SKR04', '3: Fremdkapitalkonten', '3341', '103300', 'Verbindlichkeiten aus Lieferungen und Leistungen gegenüber Gesellschaftern – Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103345, 'SKR04', '3: Fremdkapitalkonten', '3345', '103300', 'Verbindlichkeiten aus Lieferungen und Leistungen gegenüber Gesellschaftern – Restlaufzeit 1 bis 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103348, 'SKR04', '3: Fremdkapitalkonten', '3348', '103300', 'Verbindlichkeiten aus Lieferungen und Leistungen gegenüber Gesellschaftern – Restlaufzeit größer 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103349, 'SKR04', '3: Fremdkapitalkonten', '3349', '103300', 'Gegenkonto 3335-3348, 3420-3449, 3470-3499 bei Aufteilung Kreditorenkonto'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103350, 'SKR04', '3: Fremdkapitalkonten', '3350', '0', 'Wechselverbindlichkeiten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103351, 'SKR04', '3: Fremdkapitalkonten', '3351', '103350', 'Wechselverbindlichkeiten – Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103380, 'SKR04', '3: Fremdkapitalkonten', '3380', '103350', 'Wechselverbindlichkeiten – Restlaufzeit 1 bis 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103390, 'SKR04', '3: Fremdkapitalkonten', '3390', '103350', 'Wechselverbindlichkeiten – Restlaufzeit größer 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103400, 'SKR04', '3: Fremdkapitalkonten', '3400', '0', 'Verbindlichkeiten gegenüber verbundenen Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103401, 'SKR04', '3: Fremdkapitalkonten', '3401', '103400', 'Verbindlichkeiten gegenüber verbundenen Unternehmen – Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103405, 'SKR04', '3: Fremdkapitalkonten', '3405', '103400', 'Verbindlichkeiten gegenüber verbundenen Unternehmen – Restlaufzeit 1 bis 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103410, 'SKR04', '3: Fremdkapitalkonten', '3410', '103400', 'Verbindlichkeiten gegenüber verbundenen Unternehmen – Restlaufzeit größer 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103420, 'SKR04', '3: Fremdkapitalkonten', '3420', '103400', 'Verbindlichkeiten aus Lieferungen und Leistungen gegenüber verbundenen Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103421, 'SKR04', '3: Fremdkapitalkonten', '3421', '103400', 'Verbindlichkeiten aus Lieferungen und Leistungen gegenüber verbundenen Unternehmen – Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103425, 'SKR04', '3: Fremdkapitalkonten', '3425', '103400', 'Verbindlichkeiten aus Lieferungen und Leistungen gegenüber verbundenen Unternehmen – Restlaufzeit 1 bis 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103430, 'SKR04', '3: Fremdkapitalkonten', '3430', '103400', 'Verbindlichkeiten aus Lieferungen und Leistungen gegenüber verbundenen Unternehmen – Restlaufzeit größer 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103450, 'SKR04', '3: Fremdkapitalkonten', '3450', '0', 'Verbindlichkeiten gegenüber Unternehmen, mit denen ein Beteiligungsverhältnis besteht'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103451, 'SKR04', '3: Fremdkapitalkonten', '3451', '103450', 'Verbindlichkeiten gegenüber Unternehmen, mit denen ein Beteiligungsverhältnis besteht – Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103455, 'SKR04', '3: Fremdkapitalkonten', '3455', '103450', 'Verbindlichkeiten gegenüber Unternehmen, mit denen ein Beteiligungsverhältnis besteht – Restlaufzeit 1 bis 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103460, 'SKR04', '3: Fremdkapitalkonten', '3460', '103450', 'Verbindlichkeiten gegenüber Unternehmen, mit denen ein Beteiligungsverhältnis besteht – Restlaufzeit größer 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103470, 'SKR04', '3: Fremdkapitalkonten', '3470', '103450', 'Verbindlichkeiten aus Lieferungen und Leistungen gegenüber Unternehmen, mit denen ein Beteiligungsverhältnis besteht'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103471, 'SKR04', '3: Fremdkapitalkonten', '3471', '103450', 'Verbindlichkeiten aus Lieferungen und Leistungen gegenüber Unternehmen, mit denen ein Beteiligungsverhältnis besteht – Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103475, 'SKR04', '3: Fremdkapitalkonten', '3475', '103450', 'Verbindlichkeiten aus Lieferungen und Leistungen gegenüber Unternehmen, mit denen ein Beteiligungsverhältnis besteht – Restlaufzeit 1 bis 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103480, 'SKR04', '3: Fremdkapitalkonten', '3480', '103450', 'Verbindlichkeiten aus Lieferungen und Leistungen gegenüber Unternehmen, mit denen ein Beteiligungsverhältnis besteht – Restlaufzeit größer 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103500, 'SKR04', '3: Fremdkapitalkonten', '3500', '0', 'Sonstige Verbindlichkeiten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103501, 'SKR04', '3: Fremdkapitalkonten', '3501', '103500', 'Sonstige Verbindlichkeiten – Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103504, 'SKR04', '3: Fremdkapitalkonten', '3504', '103500', 'Sonstige Verbindlichkeiten – Restlaufzeit 1 bis 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103507, 'SKR04', '3: Fremdkapitalkonten', '3507', '103500', 'Sonstige Verbindlichkeiten – Restlaufzeit größer 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103509, 'SKR04', '3: Fremdkapitalkonten', '3509', '103500', 'Sonstige Verbindlichkeiten nach § 11 Abs. 2 Satz 2 EStG für § 4 Abs. 3 EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103510, 'SKR04', '3: Fremdkapitalkonten', '3510', '103500', 'Verbindlichkeiten gegenüber Gesellschaftern'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103511, 'SKR04', '3: Fremdkapitalkonten', '3511', '103500', 'Verbindlichkeiten gegenüber Gesellschaftern – Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103514, 'SKR04', '3: Fremdkapitalkonten', '3514', '103500', 'Verbindlichkeiten gegenüber Gesellschaftern – Restlaufzeit 1 bis 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103517, 'SKR04', '3: Fremdkapitalkonten', '3517', '103500', 'Verbindlichkeiten gegenüber Gesellschaftern – Restlaufzeit größer 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103519, 'SKR04', '3: Fremdkapitalkonten', '3519', '103500', 'Verbindlichkeiten gegenüber Gesellschaftern für offene Ausschüttungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103520, 'SKR04', '3: Fremdkapitalkonten', '3520', '103500', 'Verbindlichkeiten gegenüber typisch stillen Gesellschaftern'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103521, 'SKR04', '3: Fremdkapitalkonten', '3521', '103500', 'Verbindlichkeiten gegenüber typisch stillen Gesellschaftern – Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103524, 'SKR04', '3: Fremdkapitalkonten', '3524', '103500', 'Verbindlichkeiten gegenüber typisch stillen Gesellschaftern – Restlaufzeit 1 bis 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103527, 'SKR04', '3: Fremdkapitalkonten', '3527', '103500', 'Verbindlichkeiten gegenüber typisch stillen Gesellschaftern – Restlaufzeit größer 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103530, 'SKR04', '3: Fremdkapitalkonten', '3530', '103500', 'Verbindlichkeiten gegenüber atypisch stillen Gesellschaftern'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103531, 'SKR04', '3: Fremdkapitalkonten', '3531', '103500', 'Verbindlichkeiten gegenüber atypisch stillen Gesellschaftern – Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103534, 'SKR04', '3: Fremdkapitalkonten', '3534', '103500', 'Verbindlichkeiten gegenüber atypisch stillen Gesellschaftern – Restlaufzeit 1 bis 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103537, 'SKR04', '3: Fremdkapitalkonten', '3537', '103500', 'Verbindlichkeiten gegenüber atypisch stillen Gesellschaftern – Restlaufzeit größer 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103540, 'SKR04', '3: Fremdkapitalkonten', '3540', '103500', 'Partiarische Darlehen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103541, 'SKR04', '3: Fremdkapitalkonten', '3541', '103500', 'Partiarische Darlehen – Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103544, 'SKR04', '3: Fremdkapitalkonten', '3544', '103500', 'Partiarische Darlehen – Restlaufzeit 1 bis 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103547, 'SKR04', '3: Fremdkapitalkonten', '3547', '103500', 'Partiarische Darlehen – Restlaufzeit größer 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103550, 'SKR04', '3: Fremdkapitalkonten', '3550', '103500', 'Erhaltene Kautionen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103551, 'SKR04', '3: Fremdkapitalkonten', '3551', '103500', 'Erhaltene Kautionen – Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103554, 'SKR04', '3: Fremdkapitalkonten', '3554', '103500', 'Erhaltene Kautionen – Restlaufzeit 1 bis 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103557, 'SKR04', '3: Fremdkapitalkonten', '3557', '103500', 'Erhaltene Kautionen – Restlaufzeit größer 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103560, 'SKR04', '3: Fremdkapitalkonten', '3560', '103500', 'Darlehen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103561, 'SKR04', '3: Fremdkapitalkonten', '3561', '103500', 'Darlehen – Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103564, 'SKR04', '3: Fremdkapitalkonten', '3564', '103500', 'Darlehen – Restlaufzeit 1 bis 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103567, 'SKR04', '3: Fremdkapitalkonten', '3567', '103500', 'Darlehen – Restlaufzeit größer 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103570, 'SKR04', '3: Fremdkapitalkonten', '3570', '103500', 'Sonstige Verbindlichkeiten, vor Restlaufzeitdifferenzierung (nur Bilanzierer)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103599, 'SKR04', '3: Fremdkapitalkonten', '3599', '103500', 'Gegenkonto 3500-3569 und 3640-3658 bei Aufteilung der Konten 3570-3598'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103600, 'SKR04', '3: Fremdkapitalkonten', '3600', '103500', 'Agenturwarenabrechnungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103610, 'SKR04', '3: Fremdkapitalkonten', '3610', '103500', 'Kreditkartenabrechnung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103611, 'SKR04', '3: Fremdkapitalkonten', '3611', '103500', 'Verbindlichkeiten gegenüber Arbeitsgemeinschaften'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103612, 'SKR04', '3: Fremdkapitalkonten', '3612', '103500', 'Neutralisierung aufwandswirksamer Sachverhalte für § 4 Abs. 3 EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103613, 'SKR04', '3: Fremdkapitalkonten', '3613', '103500', 'Ergebnisneutrale Sachverhalte für § 4 Abs. 3 EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103620, 'SKR04', '3: Fremdkapitalkonten', '3620', '103500', 'Gewinnverfügungskonto stille Gesellschafter - sonstige Verbindlichkeiten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103630, 'SKR04', '3: Fremdkapitalkonten', '3630', '103500', 'Sonstige Verrechnungskonten (Interimskonto)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103634, 'SKR04', '3: Fremdkapitalkonten', '3634', '103500', 'Verbindlichkeiten gegenüber Gesellschaft/Gesamthand'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103635, 'SKR04', '3: Fremdkapitalkonten', '3635', '103500', 'Sonstige Verbindlichkeiten aus genossenschaftlicher Rückvergütung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103640, 'SKR04', '3: Fremdkapitalkonten', '3640', '103500', 'Verbindlichkeiten gegenüber GmbH-Gesellschaftern'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103641, 'SKR04', '3: Fremdkapitalkonten', '3641', '103500', 'Verbindlichkeiten gegenüber GmbH-Gesellschaftern – Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103642, 'SKR04', '3: Fremdkapitalkonten', '3642', '103500', 'Verbindlichkeiten gegenüber GmbH-Gesellschaftern – Restlaufzeit 1 bis 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103643, 'SKR04', '3: Fremdkapitalkonten', '3643', '103500', 'Verbindlichkeiten gegenüber GmbH-Gesellschaftern – Restlaufzeit größer 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103645, 'SKR04', '3: Fremdkapitalkonten', '3645', '103500', 'Verbindlichkeiten gegenüber persönlich haftenden Gesellschaftern'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103646, 'SKR04', '3: Fremdkapitalkonten', '3646', '103500', 'Verbindlichkeiten gegenüber persönlich haftenden Gesellschaftern – Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103647, 'SKR04', '3: Fremdkapitalkonten', '3647', '103500', 'Verbindlichkeiten gegenüber persönlich haftenden Gesellschaftern – Restlaufzeit 1 bis 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103648, 'SKR04', '3: Fremdkapitalkonten', '3648', '103500', 'Verbindlichkeiten gegenüber persönlich haftenden Gesellschaftern – Restlaufzeit größer 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103650, 'SKR04', '3: Fremdkapitalkonten', '3650', '103500', 'Verbindlichkeiten gegenüber Kommanditisten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103651, 'SKR04', '3: Fremdkapitalkonten', '3651', '103500', 'Verbindlichkeiten gegenüber Kommanditisten – Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103652, 'SKR04', '3: Fremdkapitalkonten', '3652', '103500', 'Verbindlichkeiten gegenüber Kommanditisten – Restlaufzeit 1 bis 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103653, 'SKR04', '3: Fremdkapitalkonten', '3653', '103500', 'Verbindlichkeiten gegenüber Kommanditisten – Restlaufzeit größer 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103655, 'SKR04', '3: Fremdkapitalkonten', '3655', '103500', 'Verbindlichkeiten gegenüber stillen Gesellschaftern'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103656, 'SKR04', '3: Fremdkapitalkonten', '3656', '103500', 'Verbindlichkeiten gegenüber stillen Gesellschaftern – Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103657, 'SKR04', '3: Fremdkapitalkonten', '3657', '103500', 'Verbindlichkeiten gegenüber stillen Gesellschaftern – Restlaufzeit 1 bis 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103658, 'SKR04', '3: Fremdkapitalkonten', '3658', '103500', 'Verbindlichkeiten gegenüber stillen Gesellschaftern – Restlaufzeit größer 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103695, 'SKR04', '3: Fremdkapitalkonten', '3695', '103500', 'Verrechnungskonto geleistete Anzahlungen bei Buchung über Kreditorenkonto'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103700, 'SKR04', '3: Fremdkapitalkonten', '3700', '103500', 'Verbindlichkeiten aus Steuern und Abgaben'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103701, 'SKR04', '3: Fremdkapitalkonten', '3701', '103500', 'Verbindlichkeiten aus Steuern und Abgaben – Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103710, 'SKR04', '3: Fremdkapitalkonten', '3710', '103500', 'Verbindlichkeiten aus Steuern und Abgaben – Restlaufzeit 1 bis 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103715, 'SKR04', '3: Fremdkapitalkonten', '3715', '103500', 'Verbindlichkeiten aus Steuern und Abgaben – Restlaufzeit größer 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103720, 'SKR04', '3: Fremdkapitalkonten', '3720', '103500', 'Verbindlichkeiten aus Lohn und Gehalt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103725, 'SKR04', '3: Fremdkapitalkonten', '3725', '103500', 'Verbindlichkeiten für Einbehaltungen von Arbeitnehmern'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103726, 'SKR04', '3: Fremdkapitalkonten', '3726', '103500', 'Verbindlichkeiten an das Finanzamt aus abzuführendem Bauabzugsbetrag'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103730, 'SKR04', '3: Fremdkapitalkonten', '3730', '103500', 'Verbindlichkeiten aus Lohn- und Kirchensteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103740, 'SKR04', '3: Fremdkapitalkonten', '3740', '103500', 'Verbindlichkeiten im Rahmen der sozialen Sicherheit'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103741, 'SKR04', '3: Fremdkapitalkonten', '3741', '103500', 'Verbindlichkeiten im Rahmen der sozialen Sicherheit – Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103750, 'SKR04', '3: Fremdkapitalkonten', '3750', '103500', 'Verbindlichkeiten im Rahmen der sozialen Sicherheit – Restlaufzeit 1 bis 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103755, 'SKR04', '3: Fremdkapitalkonten', '3755', '103500', 'Verbindlichkeiten im Rahmen der sozialen Sicherheit – Restlaufzeit größer 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103759, 'SKR04', '3: Fremdkapitalkonten', '3759', '103500', 'Voraussichtliche Beitragsschuld gegenüber den Sozialversicherungsträgern'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103760, 'SKR04', '3: Fremdkapitalkonten', '3760', '103500', 'Verbindlichkeiten aus Einbehaltungen (KapESt und SolZ, KiSt auf KapESt) für offene Ausschüttungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103761, 'SKR04', '3: Fremdkapitalkonten', '3761', '103500', 'Verbindlichkeiten für Verbrauchsteuern'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103770, 'SKR04', '3: Fremdkapitalkonten', '3770', '103500', 'Verbindlichkeiten aus Vermögensbildung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103771, 'SKR04', '3: Fremdkapitalkonten', '3771', '103500', 'Verbindlichkeiten aus Vermögensbildung – Restlaufzeit bis 1 Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103780, 'SKR04', '3: Fremdkapitalkonten', '3780', '103500', 'Verbindlichkeiten aus Vermögensbildung – Restlaufzeit 1 bis 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103785, 'SKR04', '3: Fremdkapitalkonten', '3785', '103500', 'Verbindlichkeiten aus Vermögensbildung – Restlaufzeit größer 5 Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103786, 'SKR04', '3: Fremdkapitalkonten', '3786', '103500', 'Ausgegebene Geschenkgutscheine'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103790, 'SKR04', '3: Fremdkapitalkonten', '3790', '0', 'Lohn- und Gehaltsverrechnungskonto'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103791, 'SKR04', '3: Fremdkapitalkonten', '3791', '103790', 'Lohn- und Gehaltsverrechnung nach § 11 Abs. 2 Satz 2 EStG für § 4 Abs. 3 EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103796, 'SKR04', '3: Fremdkapitalkonten', '3796', '103790', 'Verbindlichkeiten im Rahmen der sozialen Sicherheit für § 4 Abs. 3 EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103798, 'SKR04', '3: Fremdkapitalkonten', '3798', '103790', 'Umsatzsteuer aus im anderen EU-Land steuerpflichtigen elektronischen Dienstleistungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103799, 'SKR04', '3: Fremdkapitalkonten', '3799', '103790', 'Steuerzahlungen aus im anderen EU-Land steuerpflichtigen Leistungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103800, 'SKR04', '3: Fremdkapitalkonten', '3800', '103790', 'Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103801, 'SKR04', '3: Fremdkapitalkonten', '3801', '103790', 'Umsatzsteuer 7 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103802, 'SKR04', '3: Fremdkapitalkonten', '3802', '103790', 'Umsatzsteuer aus innergemeinschaftlichem Erwerb'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103803, 'SKR04', '3: Fremdkapitalkonten', '3803', '103790', 'Umsatzsteuer 5 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103804, 'SKR04', '3: Fremdkapitalkonten', '3804', '103790', 'Umsatzsteuer aus innergemeinschaftlichem Erwerb 19 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103805, 'SKR04', '3: Fremdkapitalkonten', '3805', '103790', 'Umsatzsteuer 16 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103806, 'SKR04', '3: Fremdkapitalkonten', '3806', '103790', 'Umsatzsteuer 19 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103807, 'SKR04', '3: Fremdkapitalkonten', '3807', '103790', 'Umsatzsteuer aus im Inland steuerpflichtigen EU-Lieferungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103808, 'SKR04', '3: Fremdkapitalkonten', '3808', '103790', 'Umsatzsteuer aus im Inland steuerpflichtigen EU-Lieferungen 19 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103809, 'SKR04', '3: Fremdkapitalkonten', '3809', '103790', 'Umsatzsteuer aus innergemeinschaftlichem Erwerb ohne Vorsteuerabzug'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103810, 'SKR04', '3: Fremdkapitalkonten', '3810', '103790', 'Umsatzsteuer nicht fällig'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103811, 'SKR04', '3: Fremdkapitalkonten', '3811', '103790', 'Umsatzsteuer nicht fällig 7 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103812, 'SKR04', '3: Fremdkapitalkonten', '3812', '103790', 'Umsatzsteuer nicht fällig aus im Inland steuerpflichtigen EU-Lieferungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103813, 'SKR04', '3: Fremdkapitalkonten', '3813', '103790', 'Umsatzsteuer nicht fällig 5 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103814, 'SKR04', '3: Fremdkapitalkonten', '3814', '103790', 'Umsatzsteuer nicht fällig aus im Inland steuerpflichtigen EU-Lieferungen 19 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103815, 'SKR04', '3: Fremdkapitalkonten', '3815', '103790', 'Umsatzsteuer nicht fällig 16 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103816, 'SKR04', '3: Fremdkapitalkonten', '3816', '103790', 'Umsatzsteuer nicht fällig 19 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103817, 'SKR04', '3: Fremdkapitalkonten', '3817', '103790', 'Umsatzsteuer aus im anderen EU-Land steuerpflichtigen Lieferungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103818, 'SKR04', '3: Fremdkapitalkonten', '3818', '103790', 'Umsatzsteuer aus im anderen EU-Land steuerpflichtigen sonstigen Leistungen/Werklieferungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103819, 'SKR04', '3: Fremdkapitalkonten', '3819', '103790', 'Umsatzsteuer aus Erwerb als letzter Abnehmer innerhalb eines Dreiecksgeschäfts'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103820, 'SKR04', '3: Fremdkapitalkonten', '3820', '103790', 'Umsatzsteuer-Vorauszahlungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103830, 'SKR04', '3: Fremdkapitalkonten', '3830', '103790', 'Umsatzsteuer-Vorauszahlungen 1/11'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103831, 'SKR04', '3: Fremdkapitalkonten', '3831', '103790', 'Umsatzsteuer aus im Inland steuerpflichtigen EU-Lieferungen, nur OSS'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103832, 'SKR04', '3: Fremdkapitalkonten', '3832', '103790', 'Nachsteuer, UStVA Kz. 65'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103833, 'SKR04', '3: Fremdkapitalkonten', '3833', '103790', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103834, 'SKR04', '3: Fremdkapitalkonten', '3834', '103790', 'Umsatzsteuer aus innergemeinschaftlichem Erwerb von Neufahrzeugen von Lieferanten ohne Umsatzsteuer-Identifikationsnummer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103835, 'SKR04', '3: Fremdkapitalkonten', '3835', '103790', 'Umsatzsteuer nach § 13b UStG'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103836, 'SKR04', '3: Fremdkapitalkonten', '3836', '103790', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103837, 'SKR04', '3: Fremdkapitalkonten', '3837', '103790', 'Umsatzsteuer nach § 13b UStG 19 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103838, 'SKR04', '3: Fremdkapitalkonten', '3838', '103790', 'Umsatzsteuer nach § 13b UStG 16 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103839, 'SKR04', '3: Fremdkapitalkonten', '3839', '103790', 'Umsatzsteuer aus der Auslagerung von Gegenständen aus einem Umsatzsteuerlager'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103840, 'SKR04', '3: Fremdkapitalkonten', '3840', '103790', 'Umsatzsteuer laufendes Jahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103841, 'SKR04', '3: Fremdkapitalkonten', '3841', '103790', 'Umsatzsteuer Vorjahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103845, 'SKR04', '3: Fremdkapitalkonten', '3845', '103790', 'Umsatzsteuer frühere Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103850, 'SKR04', '3: Fremdkapitalkonten', '3850', '103790', 'Einfuhrumsatzsteuer aufgeschoben bis ...'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103851, 'SKR04', '3: Fremdkapitalkonten', '3851', '103790', 'In Rechnung unrichtig oder unberechtigt ausgewiesene Steuerbeträge, UStVA Kz. 69'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103854, 'SKR04', '3: Fremdkapitalkonten', '3854', '103790', 'Steuerzahlungen an andere Länder'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103860, 'SKR04', '3: Fremdkapitalkonten', '3860', '103790', 'Verbindlichkeiten aus Umsatzsteuer-Vorauszahlungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103865, 'SKR04', '3: Fremdkapitalkonten', '3865', '103790', 'Umsatzsteuer in Folgeperiode fällig (§§ 13 Abs. 1 Nr. 6 und 13b Abs. 2 UStG)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103900, 'SKR04', '3: Fremdkapitalkonten', '3900', '0', 'Passive Rechnungsabgrenzung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 103950, 'SKR04', '3: Fremdkapitalkonten', '3950', '103900', 'Abgrenzung unterjährig pauschal gebuchter Abschreibungen für BWA'); +---- 4: Betriebliche Erträge +--for x in {4000..4999};do echo "INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, $((10#$x + 100000)), 'SKR04', '4: Betriebliche Erträge', '$x', '0', '');"; done +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104000, 'SKR04', '4: Betriebliche Erträge', '4000', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104001, 'SKR04', '4: Betriebliche Erträge', '4001', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104002, 'SKR04', '4: Betriebliche Erträge', '4002', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104003, 'SKR04', '4: Betriebliche Erträge', '4003', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104004, 'SKR04', '4: Betriebliche Erträge', '4004', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104005, 'SKR04', '4: Betriebliche Erträge', '4005', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104006, 'SKR04', '4: Betriebliche Erträge', '4006', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104007, 'SKR04', '4: Betriebliche Erträge', '4007', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104008, 'SKR04', '4: Betriebliche Erträge', '4008', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104009, 'SKR04', '4: Betriebliche Erträge', '4009', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104010, 'SKR04', '4: Betriebliche Erträge', '4010', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104011, 'SKR04', '4: Betriebliche Erträge', '4011', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104012, 'SKR04', '4: Betriebliche Erträge', '4012', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104013, 'SKR04', '4: Betriebliche Erträge', '4013', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104014, 'SKR04', '4: Betriebliche Erträge', '4014', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104015, 'SKR04', '4: Betriebliche Erträge', '4015', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104016, 'SKR04', '4: Betriebliche Erträge', '4016', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104017, 'SKR04', '4: Betriebliche Erträge', '4017', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104018, 'SKR04', '4: Betriebliche Erträge', '4018', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104019, 'SKR04', '4: Betriebliche Erträge', '4019', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104020, 'SKR04', '4: Betriebliche Erträge', '4020', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104021, 'SKR04', '4: Betriebliche Erträge', '4021', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104022, 'SKR04', '4: Betriebliche Erträge', '4022', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104023, 'SKR04', '4: Betriebliche Erträge', '4023', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104024, 'SKR04', '4: Betriebliche Erträge', '4024', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104025, 'SKR04', '4: Betriebliche Erträge', '4025', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104026, 'SKR04', '4: Betriebliche Erträge', '4026', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104027, 'SKR04', '4: Betriebliche Erträge', '4027', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104028, 'SKR04', '4: Betriebliche Erträge', '4028', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104029, 'SKR04', '4: Betriebliche Erträge', '4029', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104030, 'SKR04', '4: Betriebliche Erträge', '4030', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104031, 'SKR04', '4: Betriebliche Erträge', '4031', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104032, 'SKR04', '4: Betriebliche Erträge', '4032', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104033, 'SKR04', '4: Betriebliche Erträge', '4033', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104034, 'SKR04', '4: Betriebliche Erträge', '4034', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104035, 'SKR04', '4: Betriebliche Erträge', '4035', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104036, 'SKR04', '4: Betriebliche Erträge', '4036', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104037, 'SKR04', '4: Betriebliche Erträge', '4037', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104038, 'SKR04', '4: Betriebliche Erträge', '4038', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104039, 'SKR04', '4: Betriebliche Erträge', '4039', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104040, 'SKR04', '4: Betriebliche Erträge', '4040', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104041, 'SKR04', '4: Betriebliche Erträge', '4041', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104042, 'SKR04', '4: Betriebliche Erträge', '4042', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104043, 'SKR04', '4: Betriebliche Erträge', '4043', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104044, 'SKR04', '4: Betriebliche Erträge', '4044', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104045, 'SKR04', '4: Betriebliche Erträge', '4045', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104046, 'SKR04', '4: Betriebliche Erträge', '4046', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104047, 'SKR04', '4: Betriebliche Erträge', '4047', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104048, 'SKR04', '4: Betriebliche Erträge', '4048', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104049, 'SKR04', '4: Betriebliche Erträge', '4049', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104050, 'SKR04', '4: Betriebliche Erträge', '4050', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104051, 'SKR04', '4: Betriebliche Erträge', '4051', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104052, 'SKR04', '4: Betriebliche Erträge', '4052', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104053, 'SKR04', '4: Betriebliche Erträge', '4053', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104054, 'SKR04', '4: Betriebliche Erträge', '4054', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104055, 'SKR04', '4: Betriebliche Erträge', '4055', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104056, 'SKR04', '4: Betriebliche Erträge', '4056', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104057, 'SKR04', '4: Betriebliche Erträge', '4057', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104058, 'SKR04', '4: Betriebliche Erträge', '4058', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104059, 'SKR04', '4: Betriebliche Erträge', '4059', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104060, 'SKR04', '4: Betriebliche Erträge', '4060', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104061, 'SKR04', '4: Betriebliche Erträge', '4061', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104062, 'SKR04', '4: Betriebliche Erträge', '4062', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104063, 'SKR04', '4: Betriebliche Erträge', '4063', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104064, 'SKR04', '4: Betriebliche Erträge', '4064', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104065, 'SKR04', '4: Betriebliche Erträge', '4065', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104066, 'SKR04', '4: Betriebliche Erträge', '4066', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104067, 'SKR04', '4: Betriebliche Erträge', '4067', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104068, 'SKR04', '4: Betriebliche Erträge', '4068', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104069, 'SKR04', '4: Betriebliche Erträge', '4069', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104070, 'SKR04', '4: Betriebliche Erträge', '4070', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104071, 'SKR04', '4: Betriebliche Erträge', '4071', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104072, 'SKR04', '4: Betriebliche Erträge', '4072', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104073, 'SKR04', '4: Betriebliche Erträge', '4073', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104074, 'SKR04', '4: Betriebliche Erträge', '4074', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104075, 'SKR04', '4: Betriebliche Erträge', '4075', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104076, 'SKR04', '4: Betriebliche Erträge', '4076', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104077, 'SKR04', '4: Betriebliche Erträge', '4077', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104078, 'SKR04', '4: Betriebliche Erträge', '4078', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104079, 'SKR04', '4: Betriebliche Erträge', '4079', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104080, 'SKR04', '4: Betriebliche Erträge', '4080', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104081, 'SKR04', '4: Betriebliche Erträge', '4081', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104082, 'SKR04', '4: Betriebliche Erträge', '4082', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104083, 'SKR04', '4: Betriebliche Erträge', '4083', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104084, 'SKR04', '4: Betriebliche Erträge', '4084', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104085, 'SKR04', '4: Betriebliche Erträge', '4085', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104086, 'SKR04', '4: Betriebliche Erträge', '4086', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104087, 'SKR04', '4: Betriebliche Erträge', '4087', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104088, 'SKR04', '4: Betriebliche Erträge', '4088', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104089, 'SKR04', '4: Betriebliche Erträge', '4089', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104090, 'SKR04', '4: Betriebliche Erträge', '4090', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104091, 'SKR04', '4: Betriebliche Erträge', '4091', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104092, 'SKR04', '4: Betriebliche Erträge', '4092', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104093, 'SKR04', '4: Betriebliche Erträge', '4093', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104094, 'SKR04', '4: Betriebliche Erträge', '4094', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104095, 'SKR04', '4: Betriebliche Erträge', '4095', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104096, 'SKR04', '4: Betriebliche Erträge', '4096', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104097, 'SKR04', '4: Betriebliche Erträge', '4097', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104098, 'SKR04', '4: Betriebliche Erträge', '4098', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104099, 'SKR04', '4: Betriebliche Erträge', '4099', '0', 'Umsatzerlöse (Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104100, 'SKR04', '4: Betriebliche Erträge', '4100', '0', 'Steuerfreie Umsätze § 4 Nr. 8 ff. UStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104101, 'SKR04', '4: Betriebliche Erträge', '4101', '0', 'Steuerfreie Umsätze § 4 Nr. 8 ff. UStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104102, 'SKR04', '4: Betriebliche Erträge', '4102', '0', 'Steuerfreie Umsätze § 4 Nr. 8 ff. UStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104103, 'SKR04', '4: Betriebliche Erträge', '4103', '0', 'Steuerfreie Umsätze § 4 Nr. 8 ff. UStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104104, 'SKR04', '4: Betriebliche Erträge', '4104', '0', 'Steuerfreie Umsätze § 4 Nr. 8 ff. UStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104105, 'SKR04', '4: Betriebliche Erträge', '4105', '0', 'Steuerfreie Umsätze nach § 4 Nr. 12 UStG (Vermietung und Verpachtung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104110, 'SKR04', '4: Betriebliche Erträge', '4110', '0', 'Sonstige steuerfreie Umsätze Inland'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104120, 'SKR04', '4: Betriebliche Erträge', '4120', '0', 'Steuerfreie Umsätze nach § 4 Nr. 1a UStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104125, 'SKR04', '4: Betriebliche Erträge', '4125', '0', 'Steuerfreie innergemeinschaftliche Lieferungen nach § 4 Nr. 1b UStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104130, 'SKR04', '4: Betriebliche Erträge', '4130', '0', 'Lieferungen des ersten Abnehmers bei innergemeinschaftlichen Dreiecksgeschäften § 25b Abs. 2 UStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104135, 'SKR04', '4: Betriebliche Erträge', '4135', '0', 'Steuerfreie innergemeinschaftliche Lieferungen von Neufahrzeugen an Abnehmer ohne Umsatzsteuer-Identifikationsnummer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104136, 'SKR04', '4: Betriebliche Erträge', '4136', '0', 'Umsatzerlöse nach §§ 25 und 25a UStG 19 % USt'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104137, 'SKR04', '4: Betriebliche Erträge', '4137', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104138, 'SKR04', '4: Betriebliche Erträge', '4138', '0', 'Umsatzerlöse nach §§ 25 und 25a UStG ohne USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104139, 'SKR04', '4: Betriebliche Erträge', '4139', '0', 'Umsatzerlöse aus Reiseleistungen § 25 Abs. 2 UStG, steuerfrei'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104140, 'SKR04', '4: Betriebliche Erträge', '4140', '0', 'Steuerfreie Umsätze Offshore etc.'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104150, 'SKR04', '4: Betriebliche Erträge', '4150', '0', 'Sonstige steuerfreie Umsätze (z. B. § 4 Nr. 2 bis 7 UStG)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104160, 'SKR04', '4: Betriebliche Erträge', '4160', '0', 'Steuerfreie Umsätze ohne Vorsteuerabzug zum Gesamtumsatz gehörend, § 4 UStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104165, 'SKR04', '4: Betriebliche Erträge', '4165', '0', 'Steuerfreie Umsätze ohne Vorsteuerabzug zum Gesamtumsatz gehörend'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104180, 'SKR04', '4: Betriebliche Erträge', '4180', '0', 'Erlöse, die mit den Durchschnittssätzen des § 24 UStG versteuert werden'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104182, 'SKR04', '4: Betriebliche Erträge', '4182', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104183, 'SKR04', '4: Betriebliche Erträge', '4183', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104185, 'SKR04', '4: Betriebliche Erträge', '4185', '0', 'Erlöse als Kleinunternehmer nach § 19 Abs. 1 UStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104186, 'SKR04', '4: Betriebliche Erträge', '4186', '0', 'Erlöse aus Geldspielautomaten 19 % USt'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104187, 'SKR04', '4: Betriebliche Erträge', '4187', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104188, 'SKR04', '4: Betriebliche Erträge', '4188', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104200, 'SKR04', '4: Betriebliche Erträge', '4200', '0', 'Erlöse'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104290, 'SKR04', '4: Betriebliche Erträge', '4290', '0', 'Erlöse 0 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104300, 'SKR04', '4: Betriebliche Erträge', '4300', '0', 'Erlöse 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104301, 'SKR04', '4: Betriebliche Erträge', '4301', '0', 'Erlöse 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104302, 'SKR04', '4: Betriebliche Erträge', '4302', '0', 'Erlöse 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104303, 'SKR04', '4: Betriebliche Erträge', '4303', '0', 'Erlöse 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104304, 'SKR04', '4: Betriebliche Erträge', '4304', '0', 'Erlöse 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104305, 'SKR04', '4: Betriebliche Erträge', '4305', '0', 'Erlöse 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104306, 'SKR04', '4: Betriebliche Erträge', '4306', '0', 'Erlöse 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104307, 'SKR04', '4: Betriebliche Erträge', '4307', '0', 'Erlöse 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104308, 'SKR04', '4: Betriebliche Erträge', '4308', '0', 'Erlöse 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104309, 'SKR04', '4: Betriebliche Erträge', '4309', '0', 'Erlöse 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104310, 'SKR04', '4: Betriebliche Erträge', '4310', '0', 'Erlöse aus im Inland steuerpflichtigen EU-Lieferungen 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104311, 'SKR04', '4: Betriebliche Erträge', '4311', '0', 'Erlöse aus im Inland steuerpflichtigen EU-Lieferungen 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104312, 'SKR04', '4: Betriebliche Erträge', '4312', '0', 'Erlöse aus im Inland steuerpflichtigen EU-Lieferungen 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104313, 'SKR04', '4: Betriebliche Erträge', '4313', '0', 'Erlöse aus im Inland steuerpflichtigen EU-Lieferungen 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104314, 'SKR04', '4: Betriebliche Erträge', '4314', '0', 'Erlöse aus im Inland steuerpflichtigen EU-Lieferungen 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104315, 'SKR04', '4: Betriebliche Erträge', '4315', '0', 'Erlöse aus im Inland steuerpflichtigen EU-Lieferungen 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104316, 'SKR04', '4: Betriebliche Erträge', '4316', '0', 'Erlöse aus im Inland steuerpflichtigen EU-Lieferungen 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104317, 'SKR04', '4: Betriebliche Erträge', '4317', '0', 'Erlöse aus im Inland steuerpflichtigen EU-Lieferungen 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104318, 'SKR04', '4: Betriebliche Erträge', '4318', '0', 'Erlöse aus im Inland steuerpflichtigen EU-Lieferungen 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104319, 'SKR04', '4: Betriebliche Erträge', '4319', '0', 'Erlöse aus im Inland steuerpflichtigen EU-Lieferungen 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104320, 'SKR04', '4: Betriebliche Erträge', '4320', '0', 'Erlöse aus im anderen EU-Land steuerpflichtigen Lieferungen, im Inland nicht steuerbar'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104321, 'SKR04', '4: Betriebliche Erträge', '4321', '0', 'Erlöse aus im anderen EU-Land steuerpflichtigen Lieferungen, im Inland nicht steuerbar'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104322, 'SKR04', '4: Betriebliche Erträge', '4322', '0', 'Erlöse aus im anderen EU-Land steuerpflichtigen Lieferungen, im Inland nicht steuerbar'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104323, 'SKR04', '4: Betriebliche Erträge', '4323', '0', 'Erlöse aus im anderen EU-Land steuerpflichtigen Lieferungen, im Inland nicht steuerbar'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104324, 'SKR04', '4: Betriebliche Erträge', '4324', '0', 'Erlöse aus im anderen EU-Land steuerpflichtigen Lieferungen, im Inland nicht steuerbar'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104325, 'SKR04', '4: Betriebliche Erträge', '4325', '0', 'Erlöse aus im anderen EU-Land steuerpflichtigen Lieferungen, im Inland nicht steuerbar'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104326, 'SKR04', '4: Betriebliche Erträge', '4326', '0', 'Erlöse aus im anderen EU-Land steuerpflichtigen Lieferungen, im Inland nicht steuerbar'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104327, 'SKR04', '4: Betriebliche Erträge', '4327', '0', 'Erlöse aus im anderen EU-Land steuerpflichtigen Lieferungen, im Inland nicht steuerbar'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104328, 'SKR04', '4: Betriebliche Erträge', '4328', '0', 'Erlöse aus im anderen EU-Land steuerpflichtigen Lieferungen, im Inland nicht steuerbar'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104329, 'SKR04', '4: Betriebliche Erträge', '4329', '0', 'Erlöse aus im anderen EU-Land steuerpflichtigen Lieferungen, im Inland nicht steuerbar'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104330, 'SKR04', '4: Betriebliche Erträge', '4330', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104331, 'SKR04', '4: Betriebliche Erträge', '4331', '0', 'Erlöse aus im anderen EU-Land steuerpflichtigen elektronischen Dienstleistungen'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104332, 'SKR04', '4: Betriebliche Erträge', '4332', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104333, 'SKR04', '4: Betriebliche Erträge', '4333', '0', 'Erlöse 5 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104334, 'SKR04', '4: Betriebliche Erträge', '4334', '0', 'Erlöse 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104335, 'SKR04', '4: Betriebliche Erträge', '4335', '0', 'Erlöse aus Lieferungen von Mobilfunkgeräten, Tablet-Computern, Spielekonsolen und integrierten Schaltkreisen, für die der Leistungsempfänger die Umsatzsteuer nach § 13b UStG schuldet'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104336, 'SKR04', '4: Betriebliche Erträge', '4336', '0', 'Erlöse aus im anderen EU-Land steuerpflichtigen sonstigen Leistungen, für die der Leistungsempfänger die Umsatzsteuer schuldet'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104337, 'SKR04', '4: Betriebliche Erträge', '4337', '0', 'Erlöse aus Leistungen, für die der Leistungsempfänger die Umsatzsteuer nach § 13b UStG schuldet'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104338, 'SKR04', '4: Betriebliche Erträge', '4338', '0', 'Erlöse aus im Drittland steuerbaren Leistungen, im Inland nicht steuerbare Umsätze'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104339, 'SKR04', '4: Betriebliche Erträge', '4339', '0', 'Erlöse aus im anderen EU-Land steuerbaren Leistungen, im Inland nicht steuerbare Umsätze'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104340, 'SKR04', '4: Betriebliche Erträge', '4340', '0', 'Erlöse 16 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104341, 'SKR04', '4: Betriebliche Erträge', '4341', '0', 'Erlöse 16 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104342, 'SKR04', '4: Betriebliche Erträge', '4342', '0', 'Erlöse 16 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104343, 'SKR04', '4: Betriebliche Erträge', '4343', '0', 'Erlöse 16 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104344, 'SKR04', '4: Betriebliche Erträge', '4344', '0', 'Erlöse 16 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104345, 'SKR04', '4: Betriebliche Erträge', '4345', '0', 'Erlöse 16 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104346, 'SKR04', '4: Betriebliche Erträge', '4346', '0', 'Erlöse 16 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104347, 'SKR04', '4: Betriebliche Erträge', '4347', '0', 'Erlöse 16 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104348, 'SKR04', '4: Betriebliche Erträge', '4348', '0', 'Erlöse 16 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104349, 'SKR04', '4: Betriebliche Erträge', '4349', '0', 'Erlöse 16 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104400, 'SKR04', '4: Betriebliche Erträge', '4400', '0', 'Erlöse 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104401, 'SKR04', '4: Betriebliche Erträge', '4401', '0', 'Erlöse 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104402, 'SKR04', '4: Betriebliche Erträge', '4402', '0', 'Erlöse 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104403, 'SKR04', '4: Betriebliche Erträge', '4403', '0', 'Erlöse 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104404, 'SKR04', '4: Betriebliche Erträge', '4404', '0', 'Erlöse 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104405, 'SKR04', '4: Betriebliche Erträge', '4405', '0', 'Erlöse 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104406, 'SKR04', '4: Betriebliche Erträge', '4406', '0', 'Erlöse 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104407, 'SKR04', '4: Betriebliche Erträge', '4407', '0', 'Erlöse 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104408, 'SKR04', '4: Betriebliche Erträge', '4408', '0', 'Erlöse 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104409, 'SKR04', '4: Betriebliche Erträge', '4409', '0', 'Erlöse 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104410, 'SKR04', '4: Betriebliche Erträge', '4410', '0', 'Erlöse 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104411, 'SKR04', '4: Betriebliche Erträge', '4411', '0', 'Erlöse 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104412, 'SKR04', '4: Betriebliche Erträge', '4412', '0', 'Erlöse 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104413, 'SKR04', '4: Betriebliche Erträge', '4413', '0', 'Erlöse 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104414, 'SKR04', '4: Betriebliche Erträge', '4414', '0', 'Erlöse 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104415, 'SKR04', '4: Betriebliche Erträge', '4415', '0', 'Erlöse 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104416, 'SKR04', '4: Betriebliche Erträge', '4416', '0', 'Erlöse 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104417, 'SKR04', '4: Betriebliche Erträge', '4417', '0', 'Erlöse 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104418, 'SKR04', '4: Betriebliche Erträge', '4418', '0', 'Erlöse 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104419, 'SKR04', '4: Betriebliche Erträge', '4419', '0', 'Erlöse 19 % USt'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104420, 'SKR04', '4: Betriebliche Erträge', '4420', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104421, 'SKR04', '4: Betriebliche Erträge', '4421', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104422, 'SKR04', '4: Betriebliche Erträge', '4422', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104423, 'SKR04', '4: Betriebliche Erträge', '4423', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104424, 'SKR04', '4: Betriebliche Erträge', '4424', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104425, 'SKR04', '4: Betriebliche Erträge', '4425', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104426, 'SKR04', '4: Betriebliche Erträge', '4426', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104427, 'SKR04', '4: Betriebliche Erträge', '4427', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104428, 'SKR04', '4: Betriebliche Erträge', '4428', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104429, 'SKR04', '4: Betriebliche Erträge', '4429', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104430, 'SKR04', '4: Betriebliche Erträge', '4430', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104431, 'SKR04', '4: Betriebliche Erträge', '4431', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104432, 'SKR04', '4: Betriebliche Erträge', '4432', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104433, 'SKR04', '4: Betriebliche Erträge', '4433', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104434, 'SKR04', '4: Betriebliche Erträge', '4434', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104435, 'SKR04', '4: Betriebliche Erträge', '4435', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104436, 'SKR04', '4: Betriebliche Erträge', '4436', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104437, 'SKR04', '4: Betriebliche Erträge', '4437', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104438, 'SKR04', '4: Betriebliche Erträge', '4438', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104439, 'SKR04', '4: Betriebliche Erträge', '4439', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104440, 'SKR04', '4: Betriebliche Erträge', '4440', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104441, 'SKR04', '4: Betriebliche Erträge', '4441', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104442, 'SKR04', '4: Betriebliche Erträge', '4442', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104443, 'SKR04', '4: Betriebliche Erträge', '4443', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104444, 'SKR04', '4: Betriebliche Erträge', '4444', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104445, 'SKR04', '4: Betriebliche Erträge', '4445', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104446, 'SKR04', '4: Betriebliche Erträge', '4446', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104447, 'SKR04', '4: Betriebliche Erträge', '4447', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104448, 'SKR04', '4: Betriebliche Erträge', '4448', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104449, 'SKR04', '4: Betriebliche Erträge', '4449', '0', 'Erlöse aus im Inland steuerpflichtigen elektronischen Dienstleistungen 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104499, 'SKR04', '4: Betriebliche Erträge', '4499', '0', 'Nebenerlöse (Bezug zu Materialaufwand)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104500, 'SKR04', '4: Betriebliche Erträge', '4500', '0', 'Sonderbetriebseinnahmen, Tätigkeitsvergütung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104501, 'SKR04', '4: Betriebliche Erträge', '4501', '0', 'Sonderbetriebseinnahmen, Miet-/Pachteinnahmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104502, 'SKR04', '4: Betriebliche Erträge', '4502', '0', 'Sonderbetriebseinnahmen, Zinseinnahmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104503, 'SKR04', '4: Betriebliche Erträge', '4503', '0', 'Sonderbetriebseinnahmen, Haftungsvergütung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104504, 'SKR04', '4: Betriebliche Erträge', '4504', '0', 'Sonderbetriebseinnahmen, Pensionszahlungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104505, 'SKR04', '4: Betriebliche Erträge', '4505', '0', 'Sonderbetriebseinnahmen, sonstige Sonderbetriebseinnahmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104510, 'SKR04', '4: Betriebliche Erträge', '4510', '0', 'Erlöse Abfallverwertung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104520, 'SKR04', '4: Betriebliche Erträge', '4520', '0', 'Erlöse Leergut'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104560, 'SKR04', '4: Betriebliche Erträge', '4560', '0', 'Provisionsumsätze'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104561, 'SKR04', '4: Betriebliche Erträge', '4561', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104562, 'SKR04', '4: Betriebliche Erträge', '4562', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104563, 'SKR04', '4: Betriebliche Erträge', '4563', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104564, 'SKR04', '4: Betriebliche Erträge', '4564', '0', 'Provisionsumsätze, steuerfrei § 4 Nr. 8 ff. UStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104565, 'SKR04', '4: Betriebliche Erträge', '4565', '0', 'Provisionsumsätze, steuerfrei § 4 Nr. 5 UStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104566, 'SKR04', '4: Betriebliche Erträge', '4566', '0', 'Provisionsumsätze 7 % USt'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104567, 'SKR04', '4: Betriebliche Erträge', '4567', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104568, 'SKR04', '4: Betriebliche Erträge', '4568', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104569, 'SKR04', '4: Betriebliche Erträge', '4569', '0', 'Provisionsumsätze 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104570, 'SKR04', '4: Betriebliche Erträge', '4570', '0', 'Sonstige Erträge aus Provisionen, Lizenzen und Patenten'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104571, 'SKR04', '4: Betriebliche Erträge', '4571', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104572, 'SKR04', '4: Betriebliche Erträge', '4572', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104573, 'SKR04', '4: Betriebliche Erträge', '4573', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104574, 'SKR04', '4: Betriebliche Erträge', '4574', '0', 'Sonstige Erträge aus Provisionen, Lizenzen und Patenten, steuerfrei § 4 Nr. 8 ff. UStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104575, 'SKR04', '4: Betriebliche Erträge', '4575', '0', 'Sonstige Erträge aus Provisionen, Lizenzen und Patenten, steuerfrei § 4 Nr. 5 UStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104576, 'SKR04', '4: Betriebliche Erträge', '4576', '0', 'Sonstige Erträge aus Provisionen, Lizenzen und Patenten 7 % USt'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104577, 'SKR04', '4: Betriebliche Erträge', '4577', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104578, 'SKR04', '4: Betriebliche Erträge', '4578', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104579, 'SKR04', '4: Betriebliche Erträge', '4579', '0', 'Sonstige Erträge aus Provisionen, Lizenzen und Patenten 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104580, 'SKR04', '4: Betriebliche Erträge', '4580', '0', 'Statistisches Konto Erlöse zum allgemeinen Umsatzsteuersatz (EÜR)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104581, 'SKR04', '4: Betriebliche Erträge', '4581', '0', 'Statistisches Konto Erlöse zum ermäßigten Umsatzsteuersatz (EÜR)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104582, 'SKR04', '4: Betriebliche Erträge', '4582', '0', 'Statistisches Konto Erlöse steuerfrei und nicht steuerbar (EÜR)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104589, 'SKR04', '4: Betriebliche Erträge', '4589', '0', 'Gegenkonto 4580-4582 bei Aufteilung der Erlöse nach Steuersätzen (EÜR)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104600, 'SKR04', '4: Betriebliche Erträge', '4600', '0', 'Unentgeltliche Wertabgaben'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104605, 'SKR04', '4: Betriebliche Erträge', '4605', '0', 'Entnahme von Gegenständen ohne USt'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104608, 'SKR04', '4: Betriebliche Erträge', '4608', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104609, 'SKR04', '4: Betriebliche Erträge', '4609', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104610, 'SKR04', '4: Betriebliche Erträge', '4610', '0', 'Entnahme durch den Unternehmer für Zwecke außerhalb des Unternehmens (Waren) 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104611, 'SKR04', '4: Betriebliche Erträge', '4611', '0', 'Entnahme durch den Unternehmer für Zwecke außerhalb des Unternehmens (Waren) 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104612, 'SKR04', '4: Betriebliche Erträge', '4612', '0', 'Entnahme durch den Unternehmer für Zwecke außerhalb des Unternehmens (Waren) 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104613, 'SKR04', '4: Betriebliche Erträge', '4613', '0', 'Entnahme durch den Unternehmer für Zwecke außerhalb des Unternehmens (Waren) 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104614, 'SKR04', '4: Betriebliche Erträge', '4614', '0', 'Entnahme durch den Unternehmer für Zwecke außerhalb des Unternehmens (Waren) 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104615, 'SKR04', '4: Betriebliche Erträge', '4615', '0', 'Entnahme durch den Unternehmer für Zwecke außerhalb des Unternehmens (Waren) 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104616, 'SKR04', '4: Betriebliche Erträge', '4616', '0', 'Entnahme durch den Unternehmer für Zwecke außerhalb des Unternehmens (Waren) 7 % USt'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104617, 'SKR04', '4: Betriebliche Erträge', '4617', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104618, 'SKR04', '4: Betriebliche Erträge', '4618', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104619, 'SKR04', '4: Betriebliche Erträge', '4619', '0', 'Entnahme durch den Unternehmer für Zwecke außerhalb des Unternehmens (Waren) ohne USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104620, 'SKR04', '4: Betriebliche Erträge', '4620', '0', 'Entnahme durch den Unternehmer für Zwecke außerhalb des Unternehmens (Waren) 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104621, 'SKR04', '4: Betriebliche Erträge', '4621', '0', 'Entnahme durch den Unternehmer für Zwecke außerhalb des Unternehmens (Waren) 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104622, 'SKR04', '4: Betriebliche Erträge', '4622', '0', 'Entnahme durch den Unternehmer für Zwecke außerhalb des Unternehmens (Waren) 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104623, 'SKR04', '4: Betriebliche Erträge', '4623', '0', 'Entnahme durch den Unternehmer für Zwecke außerhalb des Unternehmens (Waren) 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104624, 'SKR04', '4: Betriebliche Erträge', '4624', '0', 'Entnahme durch den Unternehmer für Zwecke außerhalb des Unternehmens (Waren) 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104625, 'SKR04', '4: Betriebliche Erträge', '4625', '0', 'Entnahme durch den Unternehmer für Zwecke außerhalb des Unternehmens (Waren) 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104626, 'SKR04', '4: Betriebliche Erträge', '4626', '0', 'Entnahme durch den Unternehmer für Zwecke außerhalb des Unternehmens (Waren) 19 % USt'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104627, 'SKR04', '4: Betriebliche Erträge', '4627', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104628, 'SKR04', '4: Betriebliche Erträge', '4628', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104629, 'SKR04', '4: Betriebliche Erträge', '4629', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104630, 'SKR04', '4: Betriebliche Erträge', '4630', '0', 'Verwendung von Gegenständen für Zwecke außerhalb des Unternehmens 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104631, 'SKR04', '4: Betriebliche Erträge', '4631', '0', 'Verwendung von Gegenständen für Zwecke außerhalb des Unternehmens 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104632, 'SKR04', '4: Betriebliche Erträge', '4632', '0', 'Verwendung von Gegenständen für Zwecke außerhalb des Unternehmens 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104633, 'SKR04', '4: Betriebliche Erträge', '4633', '0', 'Verwendung von Gegenständen für Zwecke außerhalb des Unternehmens 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104634, 'SKR04', '4: Betriebliche Erträge', '4634', '0', 'Verwendung von Gegenständen für Zwecke außerhalb des Unternehmens 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104635, 'SKR04', '4: Betriebliche Erträge', '4635', '0', 'Verwendung von Gegenständen für Zwecke außerhalb des Unternehmens 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104636, 'SKR04', '4: Betriebliche Erträge', '4636', '0', 'Verwendung von Gegenständen für Zwecke außerhalb des Unternehmens 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104637, 'SKR04', '4: Betriebliche Erträge', '4637', '0', 'Verwendung von Gegenständen für Zwecke außerhalb des Unternehmens ohne USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104638, 'SKR04', '4: Betriebliche Erträge', '4638', '0', 'Verwendung von Gegenständen für Zwecke außerhalb des Unternehmens ohne USt (Telefon-Nutzung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104639, 'SKR04', '4: Betriebliche Erträge', '4639', '0', 'Verwendung von Gegenständen für Zwecke außerhalb des Unternehmens ohne USt (Fahrzeug-Nutzung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104640, 'SKR04', '4: Betriebliche Erträge', '4640', '0', 'Verwendung von Gegenständen Umsatzerlöse für Zwecke außerhalb des Unternehmens 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104641, 'SKR04', '4: Betriebliche Erträge', '4641', '0', 'Verwendung von Gegenständen Umsatzerlöse für Zwecke außerhalb des Unternehmens 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104642, 'SKR04', '4: Betriebliche Erträge', '4642', '0', 'Verwendung von Gegenständen Umsatzerlöse für Zwecke außerhalb des Unternehmens 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104643, 'SKR04', '4: Betriebliche Erträge', '4643', '0', 'Verwendung von Gegenständen Umsatzerlöse für Zwecke außerhalb des Unternehmens 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104644, 'SKR04', '4: Betriebliche Erträge', '4644', '0', 'Verwendung von Gegenständen Umsatzerlöse für Zwecke außerhalb des Unternehmens 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104645, 'SKR04', '4: Betriebliche Erträge', '4645', '0', 'Verwendung von Gegenständen für Zwecke außerhalb des Unternehmens 19 % USt (Fahrzeug-Nutzung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104646, 'SKR04', '4: Betriebliche Erträge', '4646', '0', 'Verwendung von Gegenständen für Zwecke außerhalb des Unternehmens 19 % USt (Telefon-Nutzung)'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104647, 'SKR04', '4: Betriebliche Erträge', '4647', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104648, 'SKR04', '4: Betriebliche Erträge', '4648', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104649, 'SKR04', '4: Betriebliche Erträge', '4649', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104650, 'SKR04', '4: Betriebliche Erträge', '4650', '0', 'Unentgeltliche Erbringung einer sonstigen Leistung 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104651, 'SKR04', '4: Betriebliche Erträge', '4651', '0', 'Unentgeltliche Erbringung einer sonstigen Leistung 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104652, 'SKR04', '4: Betriebliche Erträge', '4652', '0', 'Unentgeltliche Erbringung einer sonstigen Leistung 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104653, 'SKR04', '4: Betriebliche Erträge', '4653', '0', 'Unentgeltliche Erbringung einer sonstigen Leistung 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104654, 'SKR04', '4: Betriebliche Erträge', '4654', '0', 'Unentgeltliche Erbringung einer sonstigen Leistung 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104655, 'SKR04', '4: Betriebliche Erträge', '4655', '0', 'Unentgeltliche Erbringung einer sonstigen Leistung 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104656, 'SKR04', '4: Betriebliche Erträge', '4656', '0', 'Unentgeltliche Erbringung einer sonstigen Leistung 7 % USt'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104657, 'SKR04', '4: Betriebliche Erträge', '4657', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104658, 'SKR04', '4: Betriebliche Erträge', '4658', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104659, 'SKR04', '4: Betriebliche Erträge', '4659', '0', 'Unentgeltliche Erbringung einer sonstigen Leistung ohne USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104660, 'SKR04', '4: Betriebliche Erträge', '4660', '0', 'Unentgeltliche Erbringung einer sonstigen Leistung 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104661, 'SKR04', '4: Betriebliche Erträge', '4661', '0', 'Unentgeltliche Erbringung einer sonstigen Leistung 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104662, 'SKR04', '4: Betriebliche Erträge', '4662', '0', 'Unentgeltliche Erbringung einer sonstigen Leistung 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104663, 'SKR04', '4: Betriebliche Erträge', '4663', '0', 'Unentgeltliche Erbringung einer sonstigen Leistung 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104664, 'SKR04', '4: Betriebliche Erträge', '4664', '0', 'Unentgeltliche Erbringung einer sonstigen Leistung 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104665, 'SKR04', '4: Betriebliche Erträge', '4665', '0', 'Unentgeltliche Erbringung einer sonstigen Leistung 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104666, 'SKR04', '4: Betriebliche Erträge', '4666', '0', 'Unentgeltliche Erbringung einer sonstigen Leistung 19 % USt'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104667, 'SKR04', '4: Betriebliche Erträge', '4667', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104668, 'SKR04', '4: Betriebliche Erträge', '4668', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104669, 'SKR04', '4: Betriebliche Erträge', '4669', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104670, 'SKR04', '4: Betriebliche Erträge', '4670', '0', 'Unentgeltliche Zuwendung von Waren 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104671, 'SKR04', '4: Betriebliche Erträge', '4671', '0', 'Unentgeltliche Zuwendung von Waren 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104672, 'SKR04', '4: Betriebliche Erträge', '4672', '0', 'Unentgeltliche Zuwendung von Waren 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104673, 'SKR04', '4: Betriebliche Erträge', '4673', '0', 'Unentgeltliche Zuwendung von Waren 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104674, 'SKR04', '4: Betriebliche Erträge', '4674', '0', 'Unentgeltliche Zuwendung von Waren 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104675, 'SKR04', '4: Betriebliche Erträge', '4675', '0', 'Unentgeltliche Zuwendung von Waren 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104676, 'SKR04', '4: Betriebliche Erträge', '4676', '0', 'Unentgeltliche Zuwendung von Waren 7 % USt'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104677, 'SKR04', '4: Betriebliche Erträge', '4677', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104678, 'SKR04', '4: Betriebliche Erträge', '4678', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104679, 'SKR04', '4: Betriebliche Erträge', '4679', '0', 'Unentgeltliche Zuwendung von Waren ohne USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104680, 'SKR04', '4: Betriebliche Erträge', '4680', '0', 'Unentgeltliche Zuwendung von Waren 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104681, 'SKR04', '4: Betriebliche Erträge', '4681', '0', 'Unentgeltliche Zuwendung von Waren 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104682, 'SKR04', '4: Betriebliche Erträge', '4682', '0', 'Unentgeltliche Zuwendung von Waren 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104683, 'SKR04', '4: Betriebliche Erträge', '4683', '0', 'Unentgeltliche Zuwendung von Waren 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104684, 'SKR04', '4: Betriebliche Erträge', '4684', '0', 'Unentgeltliche Zuwendung von Waren 19 % USt'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104685, 'SKR04', '4: Betriebliche Erträge', '4685', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104686, 'SKR04', '4: Betriebliche Erträge', '4686', '0', 'Unentgeltliche Zuwendung von Gegenständen 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104687, 'SKR04', '4: Betriebliche Erträge', '4687', '0', 'Unentgeltliche Zuwendung von Gegenständen 19 % USt'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104688, 'SKR04', '4: Betriebliche Erträge', '4688', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104689, 'SKR04', '4: Betriebliche Erträge', '4689', '0', 'Unentgeltliche Zuwendung von Gegenständen ohne USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104690, 'SKR04', '4: Betriebliche Erträge', '4690', '0', 'Nicht steuerbare Umsätze (Innenumsätze)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104695, 'SKR04', '4: Betriebliche Erträge', '4695', '0', 'Umsatzsteuervergütungen, z. B. nach § 24 UStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104699, 'SKR04', '4: Betriebliche Erträge', '4699', '0', 'Direkt mit dem Umsatz verbundene Steuern'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104700, 'SKR04', '4: Betriebliche Erträge', '4700', '0', 'Erlösschmälerungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104701, 'SKR04', '4: Betriebliche Erträge', '4701', '0', 'Erlösschmälerungen für steuerfreie Umsätze nach § 4 Nr. 8 ff. UStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104702, 'SKR04', '4: Betriebliche Erträge', '4702', '0', 'Erlösschmälerungen für steuerfreie Umsätze nach § 4 Nr. 2 bis 7 UStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104703, 'SKR04', '4: Betriebliche Erträge', '4703', '0', 'Erlösschmälerungen für sonstige steuerfreie Umsätze ohne Vorsteuerabzug'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104704, 'SKR04', '4: Betriebliche Erträge', '4704', '0', 'Erlösschmälerungen für sonstige steuerfreie Umsätze mit Vorsteuerabzug'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104705, 'SKR04', '4: Betriebliche Erträge', '4705', '0', 'Erlösschmälerungen aus steuerfreien Umsätzen § 4 Nr. 1a UStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104706, 'SKR04', '4: Betriebliche Erträge', '4706', '0', 'Erlösschmälerungen für steuerfreie innergemeinschaftliche Dreiecksgeschäfte nach § 25b Abs. 2 und 4 UStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104710, 'SKR04', '4: Betriebliche Erträge', '4710', '0', 'Erlösschmälerungen 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104711, 'SKR04', '4: Betriebliche Erträge', '4711', '0', 'Erlösschmälerungen 7 % USt'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104712, 'SKR04', '4: Betriebliche Erträge', '4712', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104713, 'SKR04', '4: Betriebliche Erträge', '4713', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104714, 'SKR04', '4: Betriebliche Erträge', '4714', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104715, 'SKR04', '4: Betriebliche Erträge', '4715', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104716, 'SKR04', '4: Betriebliche Erträge', '4716', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104717, 'SKR04', '4: Betriebliche Erträge', '4717', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104718, 'SKR04', '4: Betriebliche Erträge', '4718', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104719, 'SKR04', '4: Betriebliche Erträge', '4719', '0', 'Erlösschmälerungen 0 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104720, 'SKR04', '4: Betriebliche Erträge', '4720', '0', 'Erlösschmälerungen 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104721, 'SKR04', '4: Betriebliche Erträge', '4721', '0', 'Erlösschmälerungen 19 % USt'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104722, 'SKR04', '4: Betriebliche Erträge', '4722', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104723, 'SKR04', '4: Betriebliche Erträge', '4723', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104724, 'SKR04', '4: Betriebliche Erträge', '4724', '0', 'Erlösschmälerungen aus steuerfreien innergemeinschaftlichen Lieferungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104725, 'SKR04', '4: Betriebliche Erträge', '4725', '0', 'Erlösschmälerungen aus im Inland steuerpflichtigen EU-Lieferungen 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104726, 'SKR04', '4: Betriebliche Erträge', '4726', '0', 'Erlösschmälerungen aus im Inland steuerpflichtigen EU-Lieferungen 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104727, 'SKR04', '4: Betriebliche Erträge', '4727', '0', 'Erlösschmälerungen aus im anderen EU-Land steuerpflichtigen Lieferungen'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104728, 'SKR04', '4: Betriebliche Erträge', '4728', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104729, 'SKR04', '4: Betriebliche Erträge', '4729', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104730, 'SKR04', '4: Betriebliche Erträge', '4730', '0', 'Gewährte Skonti'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104731, 'SKR04', '4: Betriebliche Erträge', '4731', '0', 'Gewährte Skonti 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104732, 'SKR04', '4: Betriebliche Erträge', '4732', '0', 'Gewährte Skonti 5 % USt'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104733, 'SKR04', '4: Betriebliche Erträge', '4733', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104734, 'SKR04', '4: Betriebliche Erträge', '4734', '0', 'Gewährte Skonti 0 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104735, 'SKR04', '4: Betriebliche Erträge', '4735', '0', 'Gewährte Skonti 16 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104736, 'SKR04', '4: Betriebliche Erträge', '4736', '0', 'Gewährte Skonti 19 % USt'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104737, 'SKR04', '4: Betriebliche Erträge', '4737', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104738, 'SKR04', '4: Betriebliche Erträge', '4738', '0', 'Gewährte Skonti aus Lieferungen von Mobilfunkgeräten etc., für die der Leistungsempfänger die Umsatzsteuer nach § 13b Abs. 2 Nr. 10 UStG schuldet'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104741, 'SKR04', '4: Betriebliche Erträge', '4741', '0', 'Gewährte Skonti aus Leistungen, für die der Leistungsempfänger die Umsatzsteuer nach § 13b UStG schuldet'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104742, 'SKR04', '4: Betriebliche Erträge', '4742', '0', 'Gewährte Skonti aus Erlösen aus im anderen EU-Land steuerpflichtigen sonstigen Leistungen, für die der Leistungsempfänger die Umsatzsteuer schuldet'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104743, 'SKR04', '4: Betriebliche Erträge', '4743', '0', 'Gewährte Skonti aus steuerfreien innergemeinschaftlichen Lieferungen § 4 Nr. 1b UStG'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104744, 'SKR04', '4: Betriebliche Erträge', '4744', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104745, 'SKR04', '4: Betriebliche Erträge', '4745', '0', 'Gewährte Skonti aus im Inland steuerpflichtigen EU-Lieferungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104746, 'SKR04', '4: Betriebliche Erträge', '4746', '0', 'Gewährte Skonti aus im Inland steuerpflichtigen EU-Lieferungen 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104747, 'SKR04', '4: Betriebliche Erträge', '4747', '0', 'Gewährte Skonti aus im Inland steuerpflichtigen EU-Lieferungen 5 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104748, 'SKR04', '4: Betriebliche Erträge', '4748', '0', 'Gewährte Skonti aus im Inland steuerpflichtigen EU-Lieferungen 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104749, 'SKR04', '4: Betriebliche Erträge', '4749', '0', 'Gewährte Skonti aus im Inland steuerpflichtigen EU-Lieferungen 16 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104750, 'SKR04', '4: Betriebliche Erträge', '4750', '0', 'Gewährte Boni 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104751, 'SKR04', '4: Betriebliche Erträge', '4751', '0', 'Gewährte Boni 7 % USt'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104752, 'SKR04', '4: Betriebliche Erträge', '4752', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104753, 'SKR04', '4: Betriebliche Erträge', '4753', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104754, 'SKR04', '4: Betriebliche Erträge', '4754', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104755, 'SKR04', '4: Betriebliche Erträge', '4755', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104756, 'SKR04', '4: Betriebliche Erträge', '4756', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104757, 'SKR04', '4: Betriebliche Erträge', '4757', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104758, 'SKR04', '4: Betriebliche Erträge', '4758', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104759, 'SKR04', '4: Betriebliche Erträge', '4759', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104760, 'SKR04', '4: Betriebliche Erträge', '4760', '0', 'Gewährte Boni 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104761, 'SKR04', '4: Betriebliche Erträge', '4761', '0', 'Gewährte Boni 19 % USt'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104762, 'SKR04', '4: Betriebliche Erträge', '4762', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104763, 'SKR04', '4: Betriebliche Erträge', '4763', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104764, 'SKR04', '4: Betriebliche Erträge', '4764', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104765, 'SKR04', '4: Betriebliche Erträge', '4765', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104766, 'SKR04', '4: Betriebliche Erträge', '4766', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104767, 'SKR04', '4: Betriebliche Erträge', '4767', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104768, 'SKR04', '4: Betriebliche Erträge', '4768', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104769, 'SKR04', '4: Betriebliche Erträge', '4769', '0', 'Gewährte Boni'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104770, 'SKR04', '4: Betriebliche Erträge', '4770', '0', 'Gewährte Rabatte'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104780, 'SKR04', '4: Betriebliche Erträge', '4780', '0', 'Gewährte Rabatte 7 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104781, 'SKR04', '4: Betriebliche Erträge', '4781', '0', 'Gewährte Rabatte 7 % USt'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104782, 'SKR04', '4: Betriebliche Erträge', '4782', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104783, 'SKR04', '4: Betriebliche Erträge', '4783', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104784, 'SKR04', '4: Betriebliche Erträge', '4784', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104785, 'SKR04', '4: Betriebliche Erträge', '4785', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104786, 'SKR04', '4: Betriebliche Erträge', '4786', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104787, 'SKR04', '4: Betriebliche Erträge', '4787', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104788, 'SKR04', '4: Betriebliche Erträge', '4788', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104789, 'SKR04', '4: Betriebliche Erträge', '4789', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104790, 'SKR04', '4: Betriebliche Erträge', '4790', '0', 'Gewährte Rabatte 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104791, 'SKR04', '4: Betriebliche Erträge', '4791', '0', 'Gewährte Rabatte 19 % USt'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104792, 'SKR04', '4: Betriebliche Erträge', '4792', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104793, 'SKR04', '4: Betriebliche Erträge', '4793', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104794, 'SKR04', '4: Betriebliche Erträge', '4794', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104795, 'SKR04', '4: Betriebliche Erträge', '4795', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104796, 'SKR04', '4: Betriebliche Erträge', '4796', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104797, 'SKR04', '4: Betriebliche Erträge', '4797', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104798, 'SKR04', '4: Betriebliche Erträge', '4798', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104799, 'SKR04', '4: Betriebliche Erträge', '4799', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104800, 'SKR04', '4: Betriebliche Erträge', '4800', '0', 'Bestandsveränderungen - fertige Erzeugnisse'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104810, 'SKR04', '4: Betriebliche Erträge', '4810', '0', 'Bestandsveränderungen - unfertige Erzeugnisse'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104815, 'SKR04', '4: Betriebliche Erträge', '4815', '0', 'Bestandsveränderungen - unfertige Leistungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104816, 'SKR04', '4: Betriebliche Erträge', '4816', '0', 'Bestandsveränderungen in Ausführung befindlicher Bauaufträge'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104818, 'SKR04', '4: Betriebliche Erträge', '4818', '0', 'Bestandsveränderungen in Arbeit befindlicher Aufträge'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104820, 'SKR04', '4: Betriebliche Erträge', '4820', '0', 'Andere aktivierte Eigenleistungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104824, 'SKR04', '4: Betriebliche Erträge', '4824', '104820', 'Aktivierte Eigenleistungen (den Herstellungskosten zurechenbare Fremdkapitalzinsen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104825, 'SKR04', '4: Betriebliche Erträge', '4825', '104820', 'Aktivierte Eigenleistungen zur Erstellung von selbst geschaffenen immateriellen Vermögensgegenständen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104830, 'SKR04', '4: Betriebliche Erträge', '4830', '0', 'Sonstige betriebliche Erträge'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104832, 'SKR04', '4: Betriebliche Erträge', '4832', '0', 'Sonstige betriebliche Erträge von verbundenen Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104833, 'SKR04', '4: Betriebliche Erträge', '4833', '0', 'Andere Nebenerlöse'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104834, 'SKR04', '4: Betriebliche Erträge', '4834', '0', 'Sonstige Erträge betrieblich und regelmäßig 16 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104835, 'SKR04', '4: Betriebliche Erträge', '4835', '0', 'Sonstige Erträge betrieblich und regelmäßig'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104836, 'SKR04', '4: Betriebliche Erträge', '4836', '0', 'Sonstige Erträge betrieblich und regelmäßig 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104837, 'SKR04', '4: Betriebliche Erträge', '4837', '0', 'Sonstige Erträge betriebsfremd und regelmäßig'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104838, 'SKR04', '4: Betriebliche Erträge', '4838', '0', 'Erstattete Vorsteuer anderer Länder'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104839, 'SKR04', '4: Betriebliche Erträge', '4839', '0', 'Sonstige Erträge unregelmäßig'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104840, 'SKR04', '4: Betriebliche Erträge', '4840', '0', 'Erträge aus der Währungsumrechnung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104841, 'SKR04', '4: Betriebliche Erträge', '4841', '0', 'Sonstige Erträge betrieblich und regelmäßig, steuerfrei § 4 Nr. 8 ff. UStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104842, 'SKR04', '4: Betriebliche Erträge', '4842', '0', 'Sonstige betriebliche Erträge, steuerfrei z. B. § 4 Nr. 2 bis 7 UStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104843, 'SKR04', '4: Betriebliche Erträge', '4843', '0', 'Erträge aus Bewertung Finanzmittelfonds'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104844, 'SKR04', '4: Betriebliche Erträge', '4844', '0', 'Erlöse aus Verkäufen Sachanlagevermögen steuerfrei § 4 Nr. 1a UStG (bei Buchgewinn)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104845, 'SKR04', '4: Betriebliche Erträge', '4845', '0', 'Erlöse aus Verkäufen Sachanlagevermögen 19 % USt (bei Buchgewinn)'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104846, 'SKR04', '4: Betriebliche Erträge', '4846', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104847, 'SKR04', '4: Betriebliche Erträge', '4847', '0', 'Erträge aus der Währungsumrechnung (nicht § 256a HGB)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104848, 'SKR04', '4: Betriebliche Erträge', '4848', '0', 'Erlöse aus Verkäufen Sachanlagevermögen steuerfrei § 4 Nr. 1b UStG (bei Buchgewinn)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104849, 'SKR04', '4: Betriebliche Erträge', '4849', '0', 'Erlöse aus Verkäufen Sachanlagevermögen (bei Buchgewinn)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104850, 'SKR04', '4: Betriebliche Erträge', '4850', '0', 'Erlöse aus Verkäufen immaterieller Vermögensgegenstände (bei Buchgewinn)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104851, 'SKR04', '4: Betriebliche Erträge', '4851', '0', 'Erlöse aus Verkäufen Finanzanlagen (bei Buchgewinn)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104852, 'SKR04', '4: Betriebliche Erträge', '4852', '0', 'Erlöse aus Verkäufen Finanzanlagen § 3 Nr. 40 EStG bzw. § 8b Abs. 2 KStG (bei Buchgewinn)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104855, 'SKR04', '4: Betriebliche Erträge', '4855', '0', 'Anlagenabgänge Sachanlagen (Restbuchwert bei Buchgewinn)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104856, 'SKR04', '4: Betriebliche Erträge', '4856', '0', 'Anlagenabgänge immaterielle Vermögensgegenstände (Restbuchwert bei Buchgewinn)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104857, 'SKR04', '4: Betriebliche Erträge', '4857', '0', 'Anlagenabgänge Finanzanlagen (Restbuchwert bei Buchgewinn)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104858, 'SKR04', '4: Betriebliche Erträge', '4858', '0', 'Anlagenabgänge Finanzanlagen § 3 Nr. 40 EStG bzw. § 8b Abs. 2 KStG (Restbuchwert bei Buchgewinn)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104860, 'SKR04', '4: Betriebliche Erträge', '4860', '0', 'Grundstückserträge'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104861, 'SKR04', '4: Betriebliche Erträge', '4861', '0', 'Erlöse aus Vermietung und Verpachtung, umsatzsteuerfrei § 4 Nr. 12 UStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104862, 'SKR04', '4: Betriebliche Erträge', '4862', '0', 'Erlöse aus Vermietung und Verpachtung 19 % USt'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104863, 'SKR04', '4: Betriebliche Erträge', '4863', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104864, 'SKR04', '4: Betriebliche Erträge', '4864', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104865, 'SKR04', '4: Betriebliche Erträge', '4865', '0', 'Erlöse aus Verkäufen von Wirtschaftsgütern des Umlaufvermögens 19 % USt für § 4 Abs. 3 Satz 4 EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104866, 'SKR04', '4: Betriebliche Erträge', '4866', '0', 'Erlöse aus Verkäufen von Wirtschaftsgütern des Umlaufvermögens, umsatzsteuerfrei § 4 Nr. 8 ff. UStG i. V. m. § 4 Abs. 3 Satz 4 EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104867, 'SKR04', '4: Betriebliche Erträge', '4867', '0', 'Erlöse aus Verkäufen von Wirtschaftsgütern des Umlaufvermögens, umsatzsteuerfrei § 4 Nr. 8 ff. UStG i. V. m. § 4 Abs. 3 Satz 4 EStG, § 3 Nr. 40 EStG bzw. § 8b Abs. 2 KStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104869, 'SKR04', '4: Betriebliche Erträge', '4869', '0', 'Erlöse aus Verkäufen von Wirtschaftsgütern des Umlaufvermögens nach § 4 Abs. 3 Satz 4 EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104900, 'SKR04', '4: Betriebliche Erträge', '4900', '0', 'Erträge aus dem Abgang von Gegenständen des Anlagevermögens'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104901, 'SKR04', '4: Betriebliche Erträge', '4901', '0', 'Erträge aus der Veräußerung von Anteilen an Kapitalgesellschaften (Finanzanlagevermögen) § 3 Nr. 40 EStG bzw. § 8b Abs. 2 KStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104905, 'SKR04', '4: Betriebliche Erträge', '4905', '0', 'Erträge aus dem Abgang von Gegenständen des Umlaufvermögens außer Vorräte'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104906, 'SKR04', '4: Betriebliche Erträge', '4906', '0', 'Erträge aus dem Abgang von Gegenständen des Umlaufvermögens (außer Vorräte) § 3 Nr. 40 EStG bzw. § 8b Abs. 2 KStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104910, 'SKR04', '4: Betriebliche Erträge', '4910', '0', 'Erträge aus Zuschreibungen des Sachanlagevermögens'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104911, 'SKR04', '4: Betriebliche Erträge', '4911', '0', 'Erträge aus Zuschreibungen des immateriellen Anlagevermögens'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104912, 'SKR04', '4: Betriebliche Erträge', '4912', '0', 'Erträge aus Zuschreibungen des Finanzanlagevermögens'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104913, 'SKR04', '4: Betriebliche Erträge', '4913', '0', 'Erträge aus Zuschreibungen des Finanzanlagevermögens § 3 Nr. 40 EStG bzw. § 8b Abs. 3 Satz 8 KStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104914, 'SKR04', '4: Betriebliche Erträge', '4914', '0', 'Erträge aus Zuschreibungen § 3 Nr. 40 EStG bzw. § 8b Abs. 2 KStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104915, 'SKR04', '4: Betriebliche Erträge', '4915', '0', 'Erträge aus Zuschreibungen des Umlaufvermögens (außer Vorräte)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104916, 'SKR04', '4: Betriebliche Erträge', '4916', '0', 'Erträge aus Zuschreibungen des Umlaufvermögens § 3 Nr. 40 EStG bzw. § 8b Abs. 3 Satz 8 KStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104920, 'SKR04', '4: Betriebliche Erträge', '4920', '0', 'Erträge aus der Herabsetzung der Pauschalwertberichtigung auf Forderungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104923, 'SKR04', '4: Betriebliche Erträge', '4923', '0', 'Erträge aus der Herabsetzung der Einzelwertberichtigung auf Forderungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104925, 'SKR04', '4: Betriebliche Erträge', '4925', '0', 'Erträge aus abgeschriebenen Forderungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104927, 'SKR04', '4: Betriebliche Erträge', '4927', '0', 'Erträge aus der Auflösung einer steuerlichen Rücklage nach § 6b Abs. 3 EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104928, 'SKR04', '4: Betriebliche Erträge', '4928', '0', 'Erträge aus der Auflösung einer steuerlichen Rücklage nach § 6b Abs. 10 EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104929, 'SKR04', '4: Betriebliche Erträge', '4929', '0', 'Erträge aus der Auflösung der Rücklage für Ersatzbeschaffung, R 6.6 EStR'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104930, 'SKR04', '4: Betriebliche Erträge', '4930', '0', 'Erträge aus der Auflösung von Rückstellungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104932, 'SKR04', '4: Betriebliche Erträge', '4932', '0', 'Erträge aus der Herabsetzung von Verbindlichkeiten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104935, 'SKR04', '4: Betriebliche Erträge', '4935', '0', 'Erträge aus der Auflösung sonstiger steuerlicher Rücklagen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104937, 'SKR04', '4: Betriebliche Erträge', '4937', '0', 'Erträge aus der Auflösung steuerrechtlicher Sonderabschreibungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104938, 'SKR04', '4: Betriebliche Erträge', '4938', '0', 'Erträge aus der Auflösung einer steuerlichen Rücklage nach § 4g EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104940, 'SKR04', '4: Betriebliche Erträge', '4940', '0', 'Verrechnete sonstige Sachbezüge (keine Waren)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104941, 'SKR04', '4: Betriebliche Erträge', '4941', '0', 'Sachbezüge 7 % USt (Waren)'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104942, 'SKR04', '4: Betriebliche Erträge', '4942', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104943, 'SKR04', '4: Betriebliche Erträge', '4943', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104944, 'SKR04', '4: Betriebliche Erträge', '4944', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104945, 'SKR04', '4: Betriebliche Erträge', '4945', '0', 'Sachbezüge 19 % USt (Waren)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104946, 'SKR04', '4: Betriebliche Erträge', '4946', '0', 'Verrechnete sonstige Sachbezüge'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104947, 'SKR04', '4: Betriebliche Erträge', '4947', '0', 'Verrechnete sonstige Sachbezüge aus Fahrzeug-Gestellung 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104948, 'SKR04', '4: Betriebliche Erträge', '4948', '0', 'Verrechnete sonstige Sachbezüge 19 % USt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104949, 'SKR04', '4: Betriebliche Erträge', '4949', '0', 'Verrechnete sonstige Sachbezüge ohne Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104960, 'SKR04', '4: Betriebliche Erträge', '4960', '0', 'Periodenfremde Erträge'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104970, 'SKR04', '4: Betriebliche Erträge', '4970', '0', 'Versicherungsentschädigungen und Schadenersatzleistungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104972, 'SKR04', '4: Betriebliche Erträge', '4972', '0', 'Erstattungen Aufwendungsausgleichsgesetz'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104975, 'SKR04', '4: Betriebliche Erträge', '4975', '0', 'Investitionszuschüsse (steuerpflichtig)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104980, 'SKR04', '4: Betriebliche Erträge', '4980', '0', 'Investitionszulagen (steuerfrei)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104981, 'SKR04', '4: Betriebliche Erträge', '4981', '0', 'Steuerfreie Erträge aus der Auflösung von steuerlichen Rücklagen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104982, 'SKR04', '4: Betriebliche Erträge', '4982', '0', 'Sonstige steuerfreie Betriebseinnahmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104987, 'SKR04', '4: Betriebliche Erträge', '4987', '0', 'Erträge aus der Aktivierung unentgeltlich erworbener Vermögensgegenstände'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104989, 'SKR04', '4: Betriebliche Erträge', '4989', '0', 'Kostenerstattungen, Rückvergütungen und Gutschriften für frühere Jahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 104992, 'SKR04', '4: Betriebliche Erträge', '4992', '0', 'Erträge aus Verwaltungskostenumlagen'); +---- 5: Betriebliche Aufwendungen +--for x in {5000..5999};do echo "INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, $((10#$x + 100000)), 'SKR04', '5: Betriebliche Aufwendungen', '$x', '0', '');"; done +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105000, 'SKR04', '5: Betriebliche Aufwendungen', '5000', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105001, 'SKR04', '5: Betriebliche Aufwendungen', '5001', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105002, 'SKR04', '5: Betriebliche Aufwendungen', '5002', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105003, 'SKR04', '5: Betriebliche Aufwendungen', '5003', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105004, 'SKR04', '5: Betriebliche Aufwendungen', '5004', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105005, 'SKR04', '5: Betriebliche Aufwendungen', '5005', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105006, 'SKR04', '5: Betriebliche Aufwendungen', '5006', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105007, 'SKR04', '5: Betriebliche Aufwendungen', '5007', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105008, 'SKR04', '5: Betriebliche Aufwendungen', '5008', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105009, 'SKR04', '5: Betriebliche Aufwendungen', '5009', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105010, 'SKR04', '5: Betriebliche Aufwendungen', '5010', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105011, 'SKR04', '5: Betriebliche Aufwendungen', '5011', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105012, 'SKR04', '5: Betriebliche Aufwendungen', '5012', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105013, 'SKR04', '5: Betriebliche Aufwendungen', '5013', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105014, 'SKR04', '5: Betriebliche Aufwendungen', '5014', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105015, 'SKR04', '5: Betriebliche Aufwendungen', '5015', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105016, 'SKR04', '5: Betriebliche Aufwendungen', '5016', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105017, 'SKR04', '5: Betriebliche Aufwendungen', '5017', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105018, 'SKR04', '5: Betriebliche Aufwendungen', '5018', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105019, 'SKR04', '5: Betriebliche Aufwendungen', '5019', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105020, 'SKR04', '5: Betriebliche Aufwendungen', '5020', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105021, 'SKR04', '5: Betriebliche Aufwendungen', '5021', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105022, 'SKR04', '5: Betriebliche Aufwendungen', '5022', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105023, 'SKR04', '5: Betriebliche Aufwendungen', '5023', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105024, 'SKR04', '5: Betriebliche Aufwendungen', '5024', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105025, 'SKR04', '5: Betriebliche Aufwendungen', '5025', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105026, 'SKR04', '5: Betriebliche Aufwendungen', '5026', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105027, 'SKR04', '5: Betriebliche Aufwendungen', '5027', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105028, 'SKR04', '5: Betriebliche Aufwendungen', '5028', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105029, 'SKR04', '5: Betriebliche Aufwendungen', '5029', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105030, 'SKR04', '5: Betriebliche Aufwendungen', '5030', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105031, 'SKR04', '5: Betriebliche Aufwendungen', '5031', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105032, 'SKR04', '5: Betriebliche Aufwendungen', '5032', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105033, 'SKR04', '5: Betriebliche Aufwendungen', '5033', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105034, 'SKR04', '5: Betriebliche Aufwendungen', '5034', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105035, 'SKR04', '5: Betriebliche Aufwendungen', '5035', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105036, 'SKR04', '5: Betriebliche Aufwendungen', '5036', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105037, 'SKR04', '5: Betriebliche Aufwendungen', '5037', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105038, 'SKR04', '5: Betriebliche Aufwendungen', '5038', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105039, 'SKR04', '5: Betriebliche Aufwendungen', '5039', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105040, 'SKR04', '5: Betriebliche Aufwendungen', '5040', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105041, 'SKR04', '5: Betriebliche Aufwendungen', '5041', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105042, 'SKR04', '5: Betriebliche Aufwendungen', '5042', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105043, 'SKR04', '5: Betriebliche Aufwendungen', '5043', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105044, 'SKR04', '5: Betriebliche Aufwendungen', '5044', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105045, 'SKR04', '5: Betriebliche Aufwendungen', '5045', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105046, 'SKR04', '5: Betriebliche Aufwendungen', '5046', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105047, 'SKR04', '5: Betriebliche Aufwendungen', '5047', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105048, 'SKR04', '5: Betriebliche Aufwendungen', '5048', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105049, 'SKR04', '5: Betriebliche Aufwendungen', '5049', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105050, 'SKR04', '5: Betriebliche Aufwendungen', '5050', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105051, 'SKR04', '5: Betriebliche Aufwendungen', '5051', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105052, 'SKR04', '5: Betriebliche Aufwendungen', '5052', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105053, 'SKR04', '5: Betriebliche Aufwendungen', '5053', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105054, 'SKR04', '5: Betriebliche Aufwendungen', '5054', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105055, 'SKR04', '5: Betriebliche Aufwendungen', '5055', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105056, 'SKR04', '5: Betriebliche Aufwendungen', '5056', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105057, 'SKR04', '5: Betriebliche Aufwendungen', '5057', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105058, 'SKR04', '5: Betriebliche Aufwendungen', '5058', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105059, 'SKR04', '5: Betriebliche Aufwendungen', '5059', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105060, 'SKR04', '5: Betriebliche Aufwendungen', '5060', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105061, 'SKR04', '5: Betriebliche Aufwendungen', '5061', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105062, 'SKR04', '5: Betriebliche Aufwendungen', '5062', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105063, 'SKR04', '5: Betriebliche Aufwendungen', '5063', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105064, 'SKR04', '5: Betriebliche Aufwendungen', '5064', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105065, 'SKR04', '5: Betriebliche Aufwendungen', '5065', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105066, 'SKR04', '5: Betriebliche Aufwendungen', '5066', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105067, 'SKR04', '5: Betriebliche Aufwendungen', '5067', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105068, 'SKR04', '5: Betriebliche Aufwendungen', '5068', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105069, 'SKR04', '5: Betriebliche Aufwendungen', '5069', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105070, 'SKR04', '5: Betriebliche Aufwendungen', '5070', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105071, 'SKR04', '5: Betriebliche Aufwendungen', '5071', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105072, 'SKR04', '5: Betriebliche Aufwendungen', '5072', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105073, 'SKR04', '5: Betriebliche Aufwendungen', '5073', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105074, 'SKR04', '5: Betriebliche Aufwendungen', '5074', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105075, 'SKR04', '5: Betriebliche Aufwendungen', '5075', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105076, 'SKR04', '5: Betriebliche Aufwendungen', '5076', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105077, 'SKR04', '5: Betriebliche Aufwendungen', '5077', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105078, 'SKR04', '5: Betriebliche Aufwendungen', '5078', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105079, 'SKR04', '5: Betriebliche Aufwendungen', '5079', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105080, 'SKR04', '5: Betriebliche Aufwendungen', '5080', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105081, 'SKR04', '5: Betriebliche Aufwendungen', '5081', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105082, 'SKR04', '5: Betriebliche Aufwendungen', '5082', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105083, 'SKR04', '5: Betriebliche Aufwendungen', '5083', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105084, 'SKR04', '5: Betriebliche Aufwendungen', '5084', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105085, 'SKR04', '5: Betriebliche Aufwendungen', '5085', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105086, 'SKR04', '5: Betriebliche Aufwendungen', '5086', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105087, 'SKR04', '5: Betriebliche Aufwendungen', '5087', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105088, 'SKR04', '5: Betriebliche Aufwendungen', '5088', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105089, 'SKR04', '5: Betriebliche Aufwendungen', '5089', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105090, 'SKR04', '5: Betriebliche Aufwendungen', '5090', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105091, 'SKR04', '5: Betriebliche Aufwendungen', '5091', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105092, 'SKR04', '5: Betriebliche Aufwendungen', '5092', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105093, 'SKR04', '5: Betriebliche Aufwendungen', '5093', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105094, 'SKR04', '5: Betriebliche Aufwendungen', '5094', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105095, 'SKR04', '5: Betriebliche Aufwendungen', '5095', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105096, 'SKR04', '5: Betriebliche Aufwendungen', '5096', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105097, 'SKR04', '5: Betriebliche Aufwendungen', '5097', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105098, 'SKR04', '5: Betriebliche Aufwendungen', '5098', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105099, 'SKR04', '5: Betriebliche Aufwendungen', '5099', '0', 'Aufwendungen für Roh-, Hilfs- und Betriebsstoffe und für bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105100, 'SKR04', '5: Betriebliche Aufwendungen', '5100', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105110, 'SKR04', '5: Betriebliche Aufwendungen', '5110', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105111, 'SKR04', '5: Betriebliche Aufwendungen', '5111', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105112, 'SKR04', '5: Betriebliche Aufwendungen', '5112', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105113, 'SKR04', '5: Betriebliche Aufwendungen', '5113', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105114, 'SKR04', '5: Betriebliche Aufwendungen', '5114', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105115, 'SKR04', '5: Betriebliche Aufwendungen', '5115', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105116, 'SKR04', '5: Betriebliche Aufwendungen', '5116', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105117, 'SKR04', '5: Betriebliche Aufwendungen', '5117', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105118, 'SKR04', '5: Betriebliche Aufwendungen', '5118', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105119, 'SKR04', '5: Betriebliche Aufwendungen', '5119', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe 7 % Vorsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105120, 'SKR04', '5: Betriebliche Aufwendungen', '5120', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105121, 'SKR04', '5: Betriebliche Aufwendungen', '5121', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105122, 'SKR04', '5: Betriebliche Aufwendungen', '5122', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105123, 'SKR04', '5: Betriebliche Aufwendungen', '5123', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105124, 'SKR04', '5: Betriebliche Aufwendungen', '5124', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105125, 'SKR04', '5: Betriebliche Aufwendungen', '5125', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105126, 'SKR04', '5: Betriebliche Aufwendungen', '5126', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105127, 'SKR04', '5: Betriebliche Aufwendungen', '5127', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105128, 'SKR04', '5: Betriebliche Aufwendungen', '5128', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105129, 'SKR04', '5: Betriebliche Aufwendungen', '5129', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe ohne Vorsteuerabzug'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105130, 'SKR04', '5: Betriebliche Aufwendungen', '5130', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe 19 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105131, 'SKR04', '5: Betriebliche Aufwendungen', '5131', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe 19 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105132, 'SKR04', '5: Betriebliche Aufwendungen', '5132', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe 19 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105133, 'SKR04', '5: Betriebliche Aufwendungen', '5133', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe 19 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105134, 'SKR04', '5: Betriebliche Aufwendungen', '5134', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe 19 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105135, 'SKR04', '5: Betriebliche Aufwendungen', '5135', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe 19 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105136, 'SKR04', '5: Betriebliche Aufwendungen', '5136', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe 19 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105137, 'SKR04', '5: Betriebliche Aufwendungen', '5137', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe 19 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105138, 'SKR04', '5: Betriebliche Aufwendungen', '5138', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe 19 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105139, 'SKR04', '5: Betriebliche Aufwendungen', '5139', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe 19 % Vorsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105140, 'SKR04', '5: Betriebliche Aufwendungen', '5140', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105141, 'SKR04', '5: Betriebliche Aufwendungen', '5141', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105142, 'SKR04', '5: Betriebliche Aufwendungen', '5142', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105143, 'SKR04', '5: Betriebliche Aufwendungen', '5143', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105144, 'SKR04', '5: Betriebliche Aufwendungen', '5144', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105145, 'SKR04', '5: Betriebliche Aufwendungen', '5145', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105146, 'SKR04', '5: Betriebliche Aufwendungen', '5146', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105147, 'SKR04', '5: Betriebliche Aufwendungen', '5147', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105148, 'SKR04', '5: Betriebliche Aufwendungen', '5148', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105149, 'SKR04', '5: Betriebliche Aufwendungen', '5149', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105150, 'SKR04', '5: Betriebliche Aufwendungen', '5150', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105151, 'SKR04', '5: Betriebliche Aufwendungen', '5151', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105152, 'SKR04', '5: Betriebliche Aufwendungen', '5152', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105153, 'SKR04', '5: Betriebliche Aufwendungen', '5153', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105154, 'SKR04', '5: Betriebliche Aufwendungen', '5154', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105155, 'SKR04', '5: Betriebliche Aufwendungen', '5155', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105156, 'SKR04', '5: Betriebliche Aufwendungen', '5156', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105157, 'SKR04', '5: Betriebliche Aufwendungen', '5157', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105158, 'SKR04', '5: Betriebliche Aufwendungen', '5158', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105159, 'SKR04', '5: Betriebliche Aufwendungen', '5159', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105160, 'SKR04', '5: Betriebliche Aufwendungen', '5160', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe, innergemeinschaftlicher Erwerb 7 % Vorsteuer und 7 % Umsatzsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105161, 'SKR04', '5: Betriebliche Aufwendungen', '5161', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105162, 'SKR04', '5: Betriebliche Aufwendungen', '5162', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe, innergemeinschaftlicher Erwerb 19 % Vorsteuer und 19 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105163, 'SKR04', '5: Betriebliche Aufwendungen', '5163', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe, innergemeinschaftlicher Erwerb 19 % Vorsteuer und 19 % Umsatzsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105164, 'SKR04', '5: Betriebliche Aufwendungen', '5164', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105165, 'SKR04', '5: Betriebliche Aufwendungen', '5165', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105166, 'SKR04', '5: Betriebliche Aufwendungen', '5166', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe, innergemeinschaftlicher Erwerb ohne Vorsteuer und 7 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105167, 'SKR04', '5: Betriebliche Aufwendungen', '5167', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe, innergemeinschaftlicher Erwerb ohne Vorsteuer und 19 % Umsatzsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105168, 'SKR04', '5: Betriebliche Aufwendungen', '5168', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105169, 'SKR04', '5: Betriebliche Aufwendungen', '5169', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105170, 'SKR04', '5: Betriebliche Aufwendungen', '5170', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe 5,5 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105171, 'SKR04', '5: Betriebliche Aufwendungen', '5171', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe 9,5 % / 9,0 % Vorsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105172, 'SKR04', '5: Betriebliche Aufwendungen', '5172', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105173, 'SKR04', '5: Betriebliche Aufwendungen', '5173', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105174, 'SKR04', '5: Betriebliche Aufwendungen', '5174', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105175, 'SKR04', '5: Betriebliche Aufwendungen', '5175', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe aus einem USt-Lager § 13a UStG 7 % Vorsteuer und 7 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105176, 'SKR04', '5: Betriebliche Aufwendungen', '5176', '0', 'Einkauf Roh-, Hilfs- und Betriebsstoffe aus einem USt-Lager § 13a UStG 19 % Vorsteuer und 19 % Umsatzsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105177, 'SKR04', '5: Betriebliche Aufwendungen', '5177', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105178, 'SKR04', '5: Betriebliche Aufwendungen', '5178', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105179, 'SKR04', '5: Betriebliche Aufwendungen', '5179', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105180, 'SKR04', '5: Betriebliche Aufwendungen', '5180', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105181, 'SKR04', '5: Betriebliche Aufwendungen', '5181', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105182, 'SKR04', '5: Betriebliche Aufwendungen', '5182', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105183, 'SKR04', '5: Betriebliche Aufwendungen', '5183', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105184, 'SKR04', '5: Betriebliche Aufwendungen', '5184', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105185, 'SKR04', '5: Betriebliche Aufwendungen', '5185', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105186, 'SKR04', '5: Betriebliche Aufwendungen', '5186', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105187, 'SKR04', '5: Betriebliche Aufwendungen', '5187', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105188, 'SKR04', '5: Betriebliche Aufwendungen', '5188', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105189, 'SKR04', '5: Betriebliche Aufwendungen', '5189', '0', 'Erwerb Roh-, Hilfs- und Betriebsstoffe als letzter Abnehmer innerhalb Dreiecksgeschäft 19 % Vorsteuer und 19 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105190, 'SKR04', '5: Betriebliche Aufwendungen', '5190', '0', 'Energiestoffe (Fertigung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105191, 'SKR04', '5: Betriebliche Aufwendungen', '5191', '0', 'Energiestoffe (Fertigung) 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105192, 'SKR04', '5: Betriebliche Aufwendungen', '5192', '0', 'Energiestoffe (Fertigung) 19 % Vorsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105193, 'SKR04', '5: Betriebliche Aufwendungen', '5193', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105194, 'SKR04', '5: Betriebliche Aufwendungen', '5194', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105195, 'SKR04', '5: Betriebliche Aufwendungen', '5195', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105196, 'SKR04', '5: Betriebliche Aufwendungen', '5196', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105197, 'SKR04', '5: Betriebliche Aufwendungen', '5197', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105198, 'SKR04', '5: Betriebliche Aufwendungen', '5198', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105200, 'SKR04', '5: Betriebliche Aufwendungen', '5200', '0', 'Wareneingang'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105300, 'SKR04', '5: Betriebliche Aufwendungen', '5300', '105200', 'Wareneingang 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105301, 'SKR04', '5: Betriebliche Aufwendungen', '5301', '105200', 'Wareneingang 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105302, 'SKR04', '5: Betriebliche Aufwendungen', '5302', '105200', 'Wareneingang 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105303, 'SKR04', '5: Betriebliche Aufwendungen', '5303', '105200', 'Wareneingang 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105304, 'SKR04', '5: Betriebliche Aufwendungen', '5304', '105200', 'Wareneingang 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105305, 'SKR04', '5: Betriebliche Aufwendungen', '5305', '105200', 'Wareneingang 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105306, 'SKR04', '5: Betriebliche Aufwendungen', '5306', '105200', 'Wareneingang 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105307, 'SKR04', '5: Betriebliche Aufwendungen', '5307', '105200', 'Wareneingang 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105308, 'SKR04', '5: Betriebliche Aufwendungen', '5308', '105200', 'Wareneingang 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105309, 'SKR04', '5: Betriebliche Aufwendungen', '5309', '105200', 'Wareneingang 7 % Vorsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105310, 'SKR04', '5: Betriebliche Aufwendungen', '5310', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105311, 'SKR04', '5: Betriebliche Aufwendungen', '5311', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105312, 'SKR04', '5: Betriebliche Aufwendungen', '5312', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105313, 'SKR04', '5: Betriebliche Aufwendungen', '5313', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105314, 'SKR04', '5: Betriebliche Aufwendungen', '5314', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105315, 'SKR04', '5: Betriebliche Aufwendungen', '5315', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105316, 'SKR04', '5: Betriebliche Aufwendungen', '5316', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105317, 'SKR04', '5: Betriebliche Aufwendungen', '5317', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105318, 'SKR04', '5: Betriebliche Aufwendungen', '5318', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105319, 'SKR04', '5: Betriebliche Aufwendungen', '5319', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105320, 'SKR04', '5: Betriebliche Aufwendungen', '5320', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105321, 'SKR04', '5: Betriebliche Aufwendungen', '5321', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105322, 'SKR04', '5: Betriebliche Aufwendungen', '5322', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105323, 'SKR04', '5: Betriebliche Aufwendungen', '5323', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105324, 'SKR04', '5: Betriebliche Aufwendungen', '5324', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105325, 'SKR04', '5: Betriebliche Aufwendungen', '5325', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105326, 'SKR04', '5: Betriebliche Aufwendungen', '5326', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105327, 'SKR04', '5: Betriebliche Aufwendungen', '5327', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105328, 'SKR04', '5: Betriebliche Aufwendungen', '5328', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105329, 'SKR04', '5: Betriebliche Aufwendungen', '5329', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105330, 'SKR04', '5: Betriebliche Aufwendungen', '5330', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105331, 'SKR04', '5: Betriebliche Aufwendungen', '5331', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105332, 'SKR04', '5: Betriebliche Aufwendungen', '5332', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105333, 'SKR04', '5: Betriebliche Aufwendungen', '5333', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105334, 'SKR04', '5: Betriebliche Aufwendungen', '5334', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105335, 'SKR04', '5: Betriebliche Aufwendungen', '5335', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105336, 'SKR04', '5: Betriebliche Aufwendungen', '5336', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105337, 'SKR04', '5: Betriebliche Aufwendungen', '5337', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105338, 'SKR04', '5: Betriebliche Aufwendungen', '5338', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105339, 'SKR04', '5: Betriebliche Aufwendungen', '5339', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105340, 'SKR04', '5: Betriebliche Aufwendungen', '5340', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105341, 'SKR04', '5: Betriebliche Aufwendungen', '5341', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105342, 'SKR04', '5: Betriebliche Aufwendungen', '5342', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105343, 'SKR04', '5: Betriebliche Aufwendungen', '5343', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105344, 'SKR04', '5: Betriebliche Aufwendungen', '5344', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105345, 'SKR04', '5: Betriebliche Aufwendungen', '5345', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105346, 'SKR04', '5: Betriebliche Aufwendungen', '5346', '105200', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105347, 'SKR04', '5: Betriebliche Aufwendungen', '5347', '105200', 'Wareneingang 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105348, 'SKR04', '5: Betriebliche Aufwendungen', '5348', '105200', 'Wareneingang 5 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105349, 'SKR04', '5: Betriebliche Aufwendungen', '5349', '105200', 'Wareneingang ohne Vorsteuerabzug'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105400, 'SKR04', '5: Betriebliche Aufwendungen', '5400', '105200', 'Wareneingang 19 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105401, 'SKR04', '5: Betriebliche Aufwendungen', '5401', '105200', 'Wareneingang 19 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105402, 'SKR04', '5: Betriebliche Aufwendungen', '5402', '105200', 'Wareneingang 19 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105403, 'SKR04', '5: Betriebliche Aufwendungen', '5403', '105200', 'Wareneingang 19 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105404, 'SKR04', '5: Betriebliche Aufwendungen', '5404', '105200', 'Wareneingang 19 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105405, 'SKR04', '5: Betriebliche Aufwendungen', '5405', '105200', 'Wareneingang 19 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105406, 'SKR04', '5: Betriebliche Aufwendungen', '5406', '105200', 'Wareneingang 19 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105407, 'SKR04', '5: Betriebliche Aufwendungen', '5407', '105200', 'Wareneingang 19 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105408, 'SKR04', '5: Betriebliche Aufwendungen', '5408', '105200', 'Wareneingang 19 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105409, 'SKR04', '5: Betriebliche Aufwendungen', '5409', '105200', 'Wareneingang 19 % Vorsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105410, 'SKR04', '5: Betriebliche Aufwendungen', '5410', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105411, 'SKR04', '5: Betriebliche Aufwendungen', '5411', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105412, 'SKR04', '5: Betriebliche Aufwendungen', '5412', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105413, 'SKR04', '5: Betriebliche Aufwendungen', '5413', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105414, 'SKR04', '5: Betriebliche Aufwendungen', '5414', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105415, 'SKR04', '5: Betriebliche Aufwendungen', '5415', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105416, 'SKR04', '5: Betriebliche Aufwendungen', '5416', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105417, 'SKR04', '5: Betriebliche Aufwendungen', '5417', '105200', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105418, 'SKR04', '5: Betriebliche Aufwendungen', '5418', '105200', 'Wareneingang 19 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105419, 'SKR04', '5: Betriebliche Aufwendungen', '5419', '105200', 'Wareneingang 16 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105420, 'SKR04', '5: Betriebliche Aufwendungen', '5420', '105200', 'Innergemeinschaftlicher Erwerb 7 % Vorsteuer und 7 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105421, 'SKR04', '5: Betriebliche Aufwendungen', '5421', '105200', 'Innergemeinschaftlicher Erwerb 7 % Vorsteuer und 7 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105422, 'SKR04', '5: Betriebliche Aufwendungen', '5422', '105200', 'Innergemeinschaftlicher Erwerb 7 % Vorsteuer und 7 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105423, 'SKR04', '5: Betriebliche Aufwendungen', '5423', '105200', 'Innergemeinschaftlicher Erwerb 7 % Vorsteuer und 7 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105424, 'SKR04', '5: Betriebliche Aufwendungen', '5424', '105200', 'Innergemeinschaftlicher Erwerb 7 % Vorsteuer und 7 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105425, 'SKR04', '5: Betriebliche Aufwendungen', '5425', '105200', 'Innergemeinschaftlicher Erwerb 19 % Vorsteuer und 19 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105426, 'SKR04', '5: Betriebliche Aufwendungen', '5426', '105200', 'Innergemeinschaftlicher Erwerb 19 % Vorsteuer und 19 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105427, 'SKR04', '5: Betriebliche Aufwendungen', '5427', '105200', 'Innergemeinschaftlicher Erwerb 19 % Vorsteuer und 19 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105428, 'SKR04', '5: Betriebliche Aufwendungen', '5428', '105200', 'Innergemeinschaftlicher Erwerb 19 % Vorsteuer und 19 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105429, 'SKR04', '5: Betriebliche Aufwendungen', '5429', '105200', 'Innergemeinschaftlicher Erwerb 19 % Vorsteuer und 19 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105430, 'SKR04', '5: Betriebliche Aufwendungen', '5430', '105200', 'Innergemeinschaftlicher Erwerb ohne Vorsteuer und 7 % Umsatzsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105431, 'SKR04', '5: Betriebliche Aufwendungen', '5431', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105432, 'SKR04', '5: Betriebliche Aufwendungen', '5432', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105433, 'SKR04', '5: Betriebliche Aufwendungen', '5433', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105434, 'SKR04', '5: Betriebliche Aufwendungen', '5434', '105200', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105435, 'SKR04', '5: Betriebliche Aufwendungen', '5435', '105200', 'Innergemeinschaftlicher Erwerb ohne Vorsteuer und 19 % Umsatzsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105436, 'SKR04', '5: Betriebliche Aufwendungen', '5436', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105437, 'SKR04', '5: Betriebliche Aufwendungen', '5437', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105438, 'SKR04', '5: Betriebliche Aufwendungen', '5438', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105439, 'SKR04', '5: Betriebliche Aufwendungen', '5439', '105200', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105440, 'SKR04', '5: Betriebliche Aufwendungen', '5440', '105200', 'Innergemeinschaftlicher Erwerb von Neufahrzeugen von Lieferanten ohne Umsatzsteuer-Identifikationsnummer 19 % Vorsteuer und 19 % Umsatzsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105441, 'SKR04', '5: Betriebliche Aufwendungen', '5441', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105442, 'SKR04', '5: Betriebliche Aufwendungen', '5442', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105443, 'SKR04', '5: Betriebliche Aufwendungen', '5443', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105444, 'SKR04', '5: Betriebliche Aufwendungen', '5444', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105445, 'SKR04', '5: Betriebliche Aufwendungen', '5445', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105446, 'SKR04', '5: Betriebliche Aufwendungen', '5446', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105447, 'SKR04', '5: Betriebliche Aufwendungen', '5447', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105448, 'SKR04', '5: Betriebliche Aufwendungen', '5448', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105449, 'SKR04', '5: Betriebliche Aufwendungen', '5449', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105500, 'SKR04', '5: Betriebliche Aufwendungen', '5500', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105501, 'SKR04', '5: Betriebliche Aufwendungen', '5501', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105502, 'SKR04', '5: Betriebliche Aufwendungen', '5502', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105503, 'SKR04', '5: Betriebliche Aufwendungen', '5503', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105504, 'SKR04', '5: Betriebliche Aufwendungen', '5504', '105200', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105505, 'SKR04', '5: Betriebliche Aufwendungen', '5505', '105200', 'Wareneingang 5,5 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105506, 'SKR04', '5: Betriebliche Aufwendungen', '5506', '105200', 'Wareneingang 5,5 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105507, 'SKR04', '5: Betriebliche Aufwendungen', '5507', '105200', 'Wareneingang 5,5 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105508, 'SKR04', '5: Betriebliche Aufwendungen', '5508', '105200', 'Wareneingang 5,5 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105509, 'SKR04', '5: Betriebliche Aufwendungen', '5509', '105200', 'Wareneingang 5,5 % Vorsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105510, 'SKR04', '5: Betriebliche Aufwendungen', '5510', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105511, 'SKR04', '5: Betriebliche Aufwendungen', '5511', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105512, 'SKR04', '5: Betriebliche Aufwendungen', '5512', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105513, 'SKR04', '5: Betriebliche Aufwendungen', '5513', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105514, 'SKR04', '5: Betriebliche Aufwendungen', '5514', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105515, 'SKR04', '5: Betriebliche Aufwendungen', '5515', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105516, 'SKR04', '5: Betriebliche Aufwendungen', '5516', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105517, 'SKR04', '5: Betriebliche Aufwendungen', '5517', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105518, 'SKR04', '5: Betriebliche Aufwendungen', '5518', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105519, 'SKR04', '5: Betriebliche Aufwendungen', '5519', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105520, 'SKR04', '5: Betriebliche Aufwendungen', '5520', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105521, 'SKR04', '5: Betriebliche Aufwendungen', '5521', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105522, 'SKR04', '5: Betriebliche Aufwendungen', '5522', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105523, 'SKR04', '5: Betriebliche Aufwendungen', '5523', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105524, 'SKR04', '5: Betriebliche Aufwendungen', '5524', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105525, 'SKR04', '5: Betriebliche Aufwendungen', '5525', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105526, 'SKR04', '5: Betriebliche Aufwendungen', '5526', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105527, 'SKR04', '5: Betriebliche Aufwendungen', '5527', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105528, 'SKR04', '5: Betriebliche Aufwendungen', '5528', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105529, 'SKR04', '5: Betriebliche Aufwendungen', '5529', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105530, 'SKR04', '5: Betriebliche Aufwendungen', '5530', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105531, 'SKR04', '5: Betriebliche Aufwendungen', '5531', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105532, 'SKR04', '5: Betriebliche Aufwendungen', '5532', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105533, 'SKR04', '5: Betriebliche Aufwendungen', '5533', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105534, 'SKR04', '5: Betriebliche Aufwendungen', '5534', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105535, 'SKR04', '5: Betriebliche Aufwendungen', '5535', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105536, 'SKR04', '5: Betriebliche Aufwendungen', '5536', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105537, 'SKR04', '5: Betriebliche Aufwendungen', '5537', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105538, 'SKR04', '5: Betriebliche Aufwendungen', '5538', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105539, 'SKR04', '5: Betriebliche Aufwendungen', '5539', '105200', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105540, 'SKR04', '5: Betriebliche Aufwendungen', '5540', '105200', 'Wareneingang zum Durchschnittssatz nach § 24 UStG 9,5 % / 9,0 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105541, 'SKR04', '5: Betriebliche Aufwendungen', '5541', '105200', 'Wareneingang zum Durchschnittssatz nach § 24 UStG 9,5 % / 9,0 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105542, 'SKR04', '5: Betriebliche Aufwendungen', '5542', '105200', 'Wareneingang zum Durchschnittssatz nach § 24 UStG 9,5 % / 9,0 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105543, 'SKR04', '5: Betriebliche Aufwendungen', '5543', '105200', 'Wareneingang zum Durchschnittssatz nach § 24 UStG 9,5 % / 9,0 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105544, 'SKR04', '5: Betriebliche Aufwendungen', '5544', '105200', 'Wareneingang zum Durchschnittssatz nach § 24 UStG 9,5 % / 9,0 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105545, 'SKR04', '5: Betriebliche Aufwendungen', '5545', '105200', 'Wareneingang zum Durchschnittssatz nach § 24 UStG 9,5 % / 9,0 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105546, 'SKR04', '5: Betriebliche Aufwendungen', '5546', '105200', 'Wareneingang zum Durchschnittssatz nach § 24 UStG 9,5 % / 9,0 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105547, 'SKR04', '5: Betriebliche Aufwendungen', '5547', '105200', 'Wareneingang zum Durchschnittssatz nach § 24 UStG 9,5 % / 9,0 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105548, 'SKR04', '5: Betriebliche Aufwendungen', '5548', '105200', 'Wareneingang zum Durchschnittssatz nach § 24 UStG 9,5 % / 9,0 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105549, 'SKR04', '5: Betriebliche Aufwendungen', '5549', '105200', 'Wareneingang zum Durchschnittssatz nach § 24 UStG 9,5 % / 9,0 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105550, 'SKR04', '5: Betriebliche Aufwendungen', '5550', '105200', 'Steuerfreier innergemeinschaftlicher Erwerb'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105551, 'SKR04', '5: Betriebliche Aufwendungen', '5551', '105200', 'Wareneingang im Drittland steuerbar'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105552, 'SKR04', '5: Betriebliche Aufwendungen', '5552', '105200', 'Erwerb 1. Abnehmer innerhalb eines Dreiecksgeschäftes'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105553, 'SKR04', '5: Betriebliche Aufwendungen', '5553', '105200', 'Erwerb Waren als letzter Abnehmer innerhalb Dreiecksgeschäft 19 % Vorsteuer und 19 % Umsatzsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105554, 'SKR04', '5: Betriebliche Aufwendungen', '5554', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105555, 'SKR04', '5: Betriebliche Aufwendungen', '5555', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105556, 'SKR04', '5: Betriebliche Aufwendungen', '5556', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105557, 'SKR04', '5: Betriebliche Aufwendungen', '5557', '105200', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105558, 'SKR04', '5: Betriebliche Aufwendungen', '5558', '105200', 'Wareneingang im anderen EU-Land steuerbar'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105559, 'SKR04', '5: Betriebliche Aufwendungen', '5559', '105200', 'Steuerfreie Einfuhren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105560, 'SKR04', '5: Betriebliche Aufwendungen', '5560', '105200', 'Waren aus einem Umsatzsteuerlager, § 13a UStG 7 % Vorsteuer und 7 % Umsatzsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105561, 'SKR04', '5: Betriebliche Aufwendungen', '5561', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105562, 'SKR04', '5: Betriebliche Aufwendungen', '5562', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105563, 'SKR04', '5: Betriebliche Aufwendungen', '5563', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105564, 'SKR04', '5: Betriebliche Aufwendungen', '5564', '105200', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105565, 'SKR04', '5: Betriebliche Aufwendungen', '5565', '105200', 'Waren aus einem Umsatzsteuerlager, § 13a UStG 19 % Vorsteuer und 19 % Umsatzsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105566, 'SKR04', '5: Betriebliche Aufwendungen', '5566', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105567, 'SKR04', '5: Betriebliche Aufwendungen', '5567', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105568, 'SKR04', '5: Betriebliche Aufwendungen', '5568', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105569, 'SKR04', '5: Betriebliche Aufwendungen', '5569', '105200', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105600, 'SKR04', '5: Betriebliche Aufwendungen', '5600', '105200', 'Nicht abziehbare Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105601, 'SKR04', '5: Betriebliche Aufwendungen', '5601', '105200', 'Nicht abziehbare Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105602, 'SKR04', '5: Betriebliche Aufwendungen', '5602', '105200', 'Nicht abziehbare Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105603, 'SKR04', '5: Betriebliche Aufwendungen', '5603', '105200', 'Nicht abziehbare Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105604, 'SKR04', '5: Betriebliche Aufwendungen', '5604', '105200', 'Nicht abziehbare Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105605, 'SKR04', '5: Betriebliche Aufwendungen', '5605', '105200', 'Nicht abziehbare Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105606, 'SKR04', '5: Betriebliche Aufwendungen', '5606', '105200', 'Nicht abziehbare Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105607, 'SKR04', '5: Betriebliche Aufwendungen', '5607', '105200', 'Nicht abziehbare Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105608, 'SKR04', '5: Betriebliche Aufwendungen', '5608', '105200', 'Nicht abziehbare Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105609, 'SKR04', '5: Betriebliche Aufwendungen', '5609', '105200', 'Nicht abziehbare Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105610, 'SKR04', '5: Betriebliche Aufwendungen', '5610', '105200', 'Nicht abziehbare Vorsteuer 7 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105611, 'SKR04', '5: Betriebliche Aufwendungen', '5611', '105200', 'Nicht abziehbare Vorsteuer 7 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105612, 'SKR04', '5: Betriebliche Aufwendungen', '5612', '105200', 'Nicht abziehbare Vorsteuer 7 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105613, 'SKR04', '5: Betriebliche Aufwendungen', '5613', '105200', 'Nicht abziehbare Vorsteuer 7 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105614, 'SKR04', '5: Betriebliche Aufwendungen', '5614', '105200', 'Nicht abziehbare Vorsteuer 7 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105615, 'SKR04', '5: Betriebliche Aufwendungen', '5615', '105200', 'Nicht abziehbare Vorsteuer 7 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105616, 'SKR04', '5: Betriebliche Aufwendungen', '5616', '105200', 'Nicht abziehbare Vorsteuer 7 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105617, 'SKR04', '5: Betriebliche Aufwendungen', '5617', '105200', 'Nicht abziehbare Vorsteuer 7 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105618, 'SKR04', '5: Betriebliche Aufwendungen', '5618', '105200', 'Nicht abziehbare Vorsteuer 7 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105619, 'SKR04', '5: Betriebliche Aufwendungen', '5619', '105200', 'Nicht abziehbare Vorsteuer 7 %'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105650, 'SKR04', '5: Betriebliche Aufwendungen', '5650', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105651, 'SKR04', '5: Betriebliche Aufwendungen', '5651', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105652, 'SKR04', '5: Betriebliche Aufwendungen', '5652', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105653, 'SKR04', '5: Betriebliche Aufwendungen', '5653', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105654, 'SKR04', '5: Betriebliche Aufwendungen', '5654', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105655, 'SKR04', '5: Betriebliche Aufwendungen', '5655', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105656, 'SKR04', '5: Betriebliche Aufwendungen', '5656', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105657, 'SKR04', '5: Betriebliche Aufwendungen', '5657', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105658, 'SKR04', '5: Betriebliche Aufwendungen', '5658', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105659, 'SKR04', '5: Betriebliche Aufwendungen', '5659', '105200', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105660, 'SKR04', '5: Betriebliche Aufwendungen', '5660', '105200', 'Nicht abziehbare Vorsteuer 19 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105661, 'SKR04', '5: Betriebliche Aufwendungen', '5661', '105200', 'Nicht abziehbare Vorsteuer 19 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105662, 'SKR04', '5: Betriebliche Aufwendungen', '5662', '105200', 'Nicht abziehbare Vorsteuer 19 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105663, 'SKR04', '5: Betriebliche Aufwendungen', '5663', '105200', 'Nicht abziehbare Vorsteuer 19 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105664, 'SKR04', '5: Betriebliche Aufwendungen', '5664', '105200', 'Nicht abziehbare Vorsteuer 19 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105665, 'SKR04', '5: Betriebliche Aufwendungen', '5665', '105200', 'Nicht abziehbare Vorsteuer 19 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105666, 'SKR04', '5: Betriebliche Aufwendungen', '5666', '105200', 'Nicht abziehbare Vorsteuer 19 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105667, 'SKR04', '5: Betriebliche Aufwendungen', '5667', '105200', 'Nicht abziehbare Vorsteuer 19 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105668, 'SKR04', '5: Betriebliche Aufwendungen', '5668', '105200', 'Nicht abziehbare Vorsteuer 19 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105669, 'SKR04', '5: Betriebliche Aufwendungen', '5669', '105200', 'Nicht abziehbare Vorsteuer 19 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105700, 'SKR04', '5: Betriebliche Aufwendungen', '5700', '105200', 'Nachlässe'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105701, 'SKR04', '5: Betriebliche Aufwendungen', '5701', '105200', 'Nachlässe aus Einkauf Roh-, Hilfsund Betriebsstoffe'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105710, 'SKR04', '5: Betriebliche Aufwendungen', '5710', '105200', 'Nachlässe 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105711, 'SKR04', '5: Betriebliche Aufwendungen', '5711', '105200', 'Nachlässe 7 % Vorsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105712, 'SKR04', '5: Betriebliche Aufwendungen', '5712', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105713, 'SKR04', '5: Betriebliche Aufwendungen', '5713', '105200', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105714, 'SKR04', '5: Betriebliche Aufwendungen', '5714', '105200', 'Nachlässe aus Einkauf Roh-, Hilfs- und Betriebsstoffe 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105715, 'SKR04', '5: Betriebliche Aufwendungen', '5715', '105200', 'Nachlässe aus Einkauf Roh-, Hilfs- und Betriebsstoffe 19 % Vorsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105716, 'SKR04', '5: Betriebliche Aufwendungen', '5716', '105200', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105717, 'SKR04', '5: Betriebliche Aufwendungen', '5717', '105200', 'Nachlässe aus Einkauf Roh-, Hilfs- und Betriebsstoffe, innergemeinschaftlicher Erwerb 7 % Vorsteuer und 7 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105718, 'SKR04', '5: Betriebliche Aufwendungen', '5718', '105200', 'Nachlässe aus Einkauf Roh-, Hilfs- und Betriebsstoffe, innergemeinschaftlicher Erwerb 19 % Vorsteuer und 19 % Umsatzsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105719, 'SKR04', '5: Betriebliche Aufwendungen', '5719', '105200', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105720, 'SKR04', '5: Betriebliche Aufwendungen', '5720', '105200', 'Nachlässe 19 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105721, 'SKR04', '5: Betriebliche Aufwendungen', '5721', '105200', 'Nachlässe 19 % Vorsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105722, 'SKR04', '5: Betriebliche Aufwendungen', '5722', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105723, 'SKR04', '5: Betriebliche Aufwendungen', '5723', '105200', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105724, 'SKR04', '5: Betriebliche Aufwendungen', '5724', '105200', 'Nachlässe aus innergemeinschaftlichem Erwerb 7 % Vorsteuer und 7 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105725, 'SKR04', '5: Betriebliche Aufwendungen', '5725', '105200', 'Nachlässe aus innergemeinschaftlichem Erwerb 19 % Vorsteuer und 19 % Umsatzsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105726, 'SKR04', '5: Betriebliche Aufwendungen', '5726', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105727, 'SKR04', '5: Betriebliche Aufwendungen', '5727', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105728, 'SKR04', '5: Betriebliche Aufwendungen', '5728', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105729, 'SKR04', '5: Betriebliche Aufwendungen', '5729', '105200', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105730, 'SKR04', '5: Betriebliche Aufwendungen', '5730', '105200', 'Erhaltene Skonti'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105731, 'SKR04', '5: Betriebliche Aufwendungen', '5731', '105200', 'Erhaltene Skonti 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105732, 'SKR04', '5: Betriebliche Aufwendungen', '5732', '105200', 'Erhaltene Skonti 5 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105733, 'SKR04', '5: Betriebliche Aufwendungen', '5733', '105200', 'Erhaltene Skonti aus Einkauf Roh-, Hilfs- und Betriebsstoffe'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105734, 'SKR04', '5: Betriebliche Aufwendungen', '5734', '105200', 'Erhaltene Skonti aus Einkauf Roh-, Hilfs- und Betriebsstoffe 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105735, 'SKR04', '5: Betriebliche Aufwendungen', '5735', '105200', 'Erhaltene Skonti aus Einkauf Roh-, Hilfs- und Betriebsstoffe 5 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105736, 'SKR04', '5: Betriebliche Aufwendungen', '5736', '105200', 'Erhaltene Skonti 19 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105737, 'SKR04', '5: Betriebliche Aufwendungen', '5737', '105200', 'Erhaltene Skonti 16 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105738, 'SKR04', '5: Betriebliche Aufwendungen', '5738', '105200', 'Erhaltene Skonti aus Einkauf Roh-, Hilfs- und Betriebsstoffe 19 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105739, 'SKR04', '5: Betriebliche Aufwendungen', '5739', '105200', 'Erhaltene Skonti aus Einkauf Roh-, Hilfs- und Betriebsstoffe 16 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105740, 'SKR04', '5: Betriebliche Aufwendungen', '5740', '105200', 'Erhaltene Skonti aus Einkauf Roh-, Hilfs- und Betriebsstoffe aus steuerpflichtigem innergemeinschaftlichem Erwerb 16 % Vorsteuer und 16 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105741, 'SKR04', '5: Betriebliche Aufwendungen', '5741', '105200', 'Erhaltene Skonti aus Einkauf Roh-, Hilfs- und Betriebsstoffe aus steuerpflichtigem innergemeinschaftlichem Erwerb 19 % Vorsteuer und 19 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105742, 'SKR04', '5: Betriebliche Aufwendungen', '5742', '105200', 'Erhaltene Skonti aus Einkauf Roh-, Hilfs- und Betriebsstoffe aus steuerpflichtigem innergemeinschaftlichem Erwerb 5 % Vorsteuer und 5 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105743, 'SKR04', '5: Betriebliche Aufwendungen', '5743', '105200', 'Erhaltene Skonti aus Einkauf Roh-, Hilfs- und Betriebsstoffe aus steuerpflichtigem innergemeinschaftlichem Erwerb 7 % Vorsteuer und 7 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105744, 'SKR04', '5: Betriebliche Aufwendungen', '5744', '105200', 'Erhaltene Skonti aus Einkauf Roh-, Hilfs- und Betriebsstoffe aus steuerpflichtigem innergemeinschaftlichem Erwerb'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105745, 'SKR04', '5: Betriebliche Aufwendungen', '5745', '105200', 'Erhaltene Skonti aus steuerpflichtigem innergemeinschaftlichem Erwerb'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105746, 'SKR04', '5: Betriebliche Aufwendungen', '5746', '105200', 'Erhaltene Skonti aus steuerpflichtigem innergemeinschaftlichem Erwerb 7 % Vorsteuer und 7 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105747, 'SKR04', '5: Betriebliche Aufwendungen', '5747', '105200', 'Erhaltene Skonti aus steuerpflichtigem innergemeinschaftlichem Erwerb 5 % Vorsteuer und 5 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105748, 'SKR04', '5: Betriebliche Aufwendungen', '5748', '105200', 'Erhaltene Skonti aus steuerpflichtigem innergemeinschaftlichem Erwerb 19 % Vorsteuer und 19 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105749, 'SKR04', '5: Betriebliche Aufwendungen', '5749', '105200', 'Erhaltene Skonti aus steuerpflichtigem innergemeinschaftlichem Erwerb 16 % Vorsteuer und 16 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105750, 'SKR04', '5: Betriebliche Aufwendungen', '5750', '105200', 'Erhaltene Boni 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105751, 'SKR04', '5: Betriebliche Aufwendungen', '5751', '105200', 'Erhaltene Boni 7 % Vorsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105752, 'SKR04', '5: Betriebliche Aufwendungen', '5752', '105200', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105753, 'SKR04', '5: Betriebliche Aufwendungen', '5753', '105200', 'Erhaltene Boni aus Einkauf Roh-, Hilfs- und Betriebsstoffe'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105754, 'SKR04', '5: Betriebliche Aufwendungen', '5754', '105200', 'Erhaltene Boni aus Einkauf Roh-, Hilfs- und Betriebsstoffe 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105755, 'SKR04', '5: Betriebliche Aufwendungen', '5755', '105200', 'Erhaltene Boni aus Einkauf Roh-, Hilfs- und Betriebsstoffe 19 % Vorsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105756, 'SKR04', '5: Betriebliche Aufwendungen', '5756', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105757, 'SKR04', '5: Betriebliche Aufwendungen', '5757', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105758, 'SKR04', '5: Betriebliche Aufwendungen', '5758', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105759, 'SKR04', '5: Betriebliche Aufwendungen', '5759', '105200', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105760, 'SKR04', '5: Betriebliche Aufwendungen', '5760', '105200', 'Erhaltene Boni 19 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105761, 'SKR04', '5: Betriebliche Aufwendungen', '5761', '105200', 'Erhaltene Boni 19 % Vorsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105762, 'SKR04', '5: Betriebliche Aufwendungen', '5762', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105763, 'SKR04', '5: Betriebliche Aufwendungen', '5763', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105764, 'SKR04', '5: Betriebliche Aufwendungen', '5764', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105765, 'SKR04', '5: Betriebliche Aufwendungen', '5765', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105766, 'SKR04', '5: Betriebliche Aufwendungen', '5766', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105767, 'SKR04', '5: Betriebliche Aufwendungen', '5767', '105200', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105768, 'SKR04', '5: Betriebliche Aufwendungen', '5768', '105200', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105769, 'SKR04', '5: Betriebliche Aufwendungen', '5769', '105200', 'Erhaltene Boni'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105770, 'SKR04', '5: Betriebliche Aufwendungen', '5770', '105200', 'Erhaltene Rabatte'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105780, 'SKR04', '5: Betriebliche Aufwendungen', '5780', '105200', 'Erhaltene Rabatte 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105781, 'SKR04', '5: Betriebliche Aufwendungen', '5781', '105200', 'Erhaltene Rabatte 7 % Vorsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105782, 'SKR04', '5: Betriebliche Aufwendungen', '5782', '105200', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105783, 'SKR04', '5: Betriebliche Aufwendungen', '5783', '105200', 'Erhaltene Rabatte aus Einkauf Roh-, Hilfs- und Betriebsstoffe'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105784, 'SKR04', '5: Betriebliche Aufwendungen', '5784', '105200', 'Erhaltene Rabatte aus Einkauf Roh-, Hilfs- und Betriebsstoffe 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105785, 'SKR04', '5: Betriebliche Aufwendungen', '5785', '105200', 'Erhaltene Rabatte aus Einkauf Roh-, Hilfs- und Betriebsstoffe 19 % Vorsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105786, 'SKR04', '5: Betriebliche Aufwendungen', '5786', '105200', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105787, 'SKR04', '5: Betriebliche Aufwendungen', '5787', '105200', 'Erhaltene Skonti aus Einkauf Roh-, Hilfs- und Betriebsstoffe 9,0 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105788, 'SKR04', '5: Betriebliche Aufwendungen', '5788', '105200', 'Erhaltene Skonti aus Einkauf Roh-, Hilfs- und Betriebsstoffe 10,7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105789, 'SKR04', '5: Betriebliche Aufwendungen', '5789', '105200', 'Erhaltene Skonti aus Einkauf Roh-, Hilfs- und Betriebsstoffe 9,5 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105790, 'SKR04', '5: Betriebliche Aufwendungen', '5790', '105200', 'Erhaltene Rabatte 19 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105791, 'SKR04', '5: Betriebliche Aufwendungen', '5791', '105200', 'Erhaltene Rabatte 19 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105792, 'SKR04', '5: Betriebliche Aufwendungen', '5792', '105200', 'Erhaltene Skonti aus Erwerb Roh-, Hilfs- und Betriebsstoffe als letzter Abnehmer innerhalb Dreiecksgeschäft 19 % Vorsteuer und 19 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105793, 'SKR04', '5: Betriebliche Aufwendungen', '5793', '105200', 'Erhaltene Skonti aus Erwerb Waren als letzter Abnehmer innerhalb Dreiecksgeschäft 19 % Vorsteuer und 19 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105794, 'SKR04', '5: Betriebliche Aufwendungen', '5794', '105200', 'Erhaltene Skonti 5,5 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105795, 'SKR04', '5: Betriebliche Aufwendungen', '5795', '105200', 'Erhaltene Skonti 9,0 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105796, 'SKR04', '5: Betriebliche Aufwendungen', '5796', '105200', 'Erhaltene Skonti 10,7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105797, 'SKR04', '5: Betriebliche Aufwendungen', '5797', '105200', 'Erhaltene Skonti 9,5 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105798, 'SKR04', '5: Betriebliche Aufwendungen', '5798', '105200', 'Erhaltene Skonti aus Einkauf Roh-, Hilfs- und Betriebsstoffe 5,5 % Vorsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105799, 'SKR04', '5: Betriebliche Aufwendungen', '5799', '105200', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105800, 'SKR04', '5: Betriebliche Aufwendungen', '5800', '105200', 'Bezugsnebenkosten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105820, 'SKR04', '5: Betriebliche Aufwendungen', '5820', '105200', 'Leergut'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105840, 'SKR04', '5: Betriebliche Aufwendungen', '5840', '105200', 'Zölle und Einfuhrabgaben'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105860, 'SKR04', '5: Betriebliche Aufwendungen', '5860', '105200', 'Verrechnete Stoffkosten (Gegenkonto 5000-99)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105880, 'SKR04', '5: Betriebliche Aufwendungen', '5880', '105200', 'Bestandsveränderungen Roh-, Hilfs- und Betriebsstoffe sowie bezogene Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105881, 'SKR04', '5: Betriebliche Aufwendungen', '5881', '105200', 'Bestandsveränderungen Waren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105885, 'SKR04', '5: Betriebliche Aufwendungen', '5885', '105200', 'Bestandsveränderungen Roh-, Hilfs- und Betriebsstoffe'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105900, 'SKR04', '5: Betriebliche Aufwendungen', '5900', '0', 'Fremdleistungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105906, 'SKR04', '5: Betriebliche Aufwendungen', '5906', '0', 'Fremdleistungen 19 % Vorsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105907, 'SKR04', '5: Betriebliche Aufwendungen', '5907', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105908, 'SKR04', '5: Betriebliche Aufwendungen', '5908', '0', 'Fremdleistungen 7 % Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105909, 'SKR04', '5: Betriebliche Aufwendungen', '5909', '0', 'Fremdleistungen ohne Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105910, 'SKR04', '5: Betriebliche Aufwendungen', '5910', '0', 'Bauleistungen eines im Inland ansässigen Unternehmers 7 % Vorsteuer und 7 % Umsatzsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105911, 'SKR04', '5: Betriebliche Aufwendungen', '5911', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105912, 'SKR04', '5: Betriebliche Aufwendungen', '5912', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105913, 'SKR04', '5: Betriebliche Aufwendungen', '5913', '0', 'Sonstige Leistungen eines im anderen EU-Land ansässigen Unternehmers 7 % Vorsteuer und 7 % Umsatzsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105914, 'SKR04', '5: Betriebliche Aufwendungen', '5914', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105915, 'SKR04', '5: Betriebliche Aufwendungen', '5915', '0', 'Leistungen eines im Ausland ansässigen Unternehmers 7 % Vorsteuer und 7 % Umsatzsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105916, 'SKR04', '5: Betriebliche Aufwendungen', '5916', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105917, 'SKR04', '5: Betriebliche Aufwendungen', '5917', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105918, 'SKR04', '5: Betriebliche Aufwendungen', '5918', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105919, 'SKR04', '5: Betriebliche Aufwendungen', '5919', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105920, 'SKR04', '5: Betriebliche Aufwendungen', '5920', '0', 'Bauleistungen eines im Inland ansässigen Unternehmers 19 % Vorsteuer und 19 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105921, 'SKR04', '5: Betriebliche Aufwendungen', '5921', '0', 'Bauleistungen eines im Inland ansässigen Unternehmers 19 % Vorsteuer und 19 % Umsatzsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105922, 'SKR04', '5: Betriebliche Aufwendungen', '5922', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105923, 'SKR04', '5: Betriebliche Aufwendungen', '5923', '0', 'Sonstige Leistungen eines im anderen EU-Land ansässigen Unternehmers 19 % Vorsteuer und 19 % Umsatzsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105924, 'SKR04', '5: Betriebliche Aufwendungen', '5924', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105925, 'SKR04', '5: Betriebliche Aufwendungen', '5925', '0', 'Leistungen eines im Ausland ansässigen Unternehmers 19 % Vorsteuer und 19 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105926, 'SKR04', '5: Betriebliche Aufwendungen', '5926', '0', 'Leistungen eines im Ausland ansässigen Unternehmers 19 % Vorsteuer und 19 % Umsatzsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105927, 'SKR04', '5: Betriebliche Aufwendungen', '5927', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105928, 'SKR04', '5: Betriebliche Aufwendungen', '5928', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105929, 'SKR04', '5: Betriebliche Aufwendungen', '5929', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105930, 'SKR04', '5: Betriebliche Aufwendungen', '5930', '0', 'Bauleistungen eines im Inland ansässigen Unternehmers ohne Vorsteuer und 7 % Umsatzsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105931, 'SKR04', '5: Betriebliche Aufwendungen', '5931', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105932, 'SKR04', '5: Betriebliche Aufwendungen', '5932', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105933, 'SKR04', '5: Betriebliche Aufwendungen', '5933', '0', 'Sonstige Leistungen eines im anderen EU-Land ansässigen Unternehmers ohne Vorsteuer und 7 % Umsatzsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105934, 'SKR04', '5: Betriebliche Aufwendungen', '5934', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105935, 'SKR04', '5: Betriebliche Aufwendungen', '5935', '0', 'Leistungen eines im Ausland ansässigen Unternehmers ohne Vorsteuer und 7 % Umsatzsteuer'); +---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105936, 'SKR04', '5: Betriebliche Aufwendungen', '5936', '0', ''); +---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105937, 'SKR04', '5: Betriebliche Aufwendungen', '5937', '0', ''); +---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105938, 'SKR04', '5: Betriebliche Aufwendungen', '5938', '0', ''); +---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105939, 'SKR04', '5: Betriebliche Aufwendungen', '5939', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105940, 'SKR04', '5: Betriebliche Aufwendungen', '5940', '0', 'Bauleistungen eines im Inland ansässigen Unternehmers ohne Vorsteuer und 19 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105941, 'SKR04', '5: Betriebliche Aufwendungen', '5941', '0', 'Bauleistungen eines im Inland ansässigen Unternehmers ohne Vorsteuer und 19 % Umsatzsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105942, 'SKR04', '5: Betriebliche Aufwendungen', '5942', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105943, 'SKR04', '5: Betriebliche Aufwendungen', '5943', '0', 'Sonstige Leistungen eines im anderen EU-Land ansässigen Unternehmers ohne Vorsteuer und 19 % Umsatzsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105944, 'SKR04', '5: Betriebliche Aufwendungen', '5944', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105945, 'SKR04', '5: Betriebliche Aufwendungen', '5945', '0', 'Leistungen eines im Ausland ansässigen Unternehmers ohne Vorsteuer und 19 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105946, 'SKR04', '5: Betriebliche Aufwendungen', '5946', '0', 'Leistungen eines im Ausland ansässigen Unternehmers ohne Vorsteuer und 19 % Umsatzsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105947, 'SKR04', '5: Betriebliche Aufwendungen', '5947', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105948, 'SKR04', '5: Betriebliche Aufwendungen', '5948', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105949, 'SKR04', '5: Betriebliche Aufwendungen', '5949', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105950, 'SKR04', '5: Betriebliche Aufwendungen', '5950', '0', 'Erhaltene Skonti aus Leistungen, für die als Leistungsempfänger die Steuer nach § 13b UStG geschuldet wird'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105951, 'SKR04', '5: Betriebliche Aufwendungen', '5951', '0', 'Erhaltene Skonti aus Leistungen, für die als Leistungsempfänger die Steuer nach § 13b UStG geschuldet wird 19 % Vorsteuer und 19 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105952, 'SKR04', '5: Betriebliche Aufwendungen', '5952', '0', 'Erhaltene Skonti aus Leistungen, für die als Leistungsempfänger die Steuer nach § 13b UStG geschuldet wird 16 % Vorsteuer und 16 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105953, 'SKR04', '5: Betriebliche Aufwendungen', '5953', '0', 'Erhaltene Skonti aus Leistungen, für die als Leistungsempfänger die Steuer nach § 13b UStG geschuldet wird ohne Vorsteuer aber mit Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105954, 'SKR04', '5: Betriebliche Aufwendungen', '5954', '0', 'Erhaltene Skonti aus Leistungen, für die als Leistungsempfänger die Steuer nach § 13b UStG geschuldet wird ohne Vorsteuer, mit 19 % Umsatzsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105955, 'SKR04', '5: Betriebliche Aufwendungen', '5955', '0', 'Erhaltene Skonti aus Leistungen, für die als Leistungsempfänger die Steuer nach § 13b UStG geschuldet wird ohne Vorsteuer, mit 16 % Umsatzsteuer'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105956, 'SKR04', '5: Betriebliche Aufwendungen', '5956', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105957, 'SKR04', '5: Betriebliche Aufwendungen', '5957', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105958, 'SKR04', '5: Betriebliche Aufwendungen', '5958', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105959, 'SKR04', '5: Betriebliche Aufwendungen', '5959', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105960, 'SKR04', '5: Betriebliche Aufwendungen', '5960', '0', 'Leistungen nach § 13b UStG mit Vorsteuerabzug'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105965, 'SKR04', '5: Betriebliche Aufwendungen', '5965', '0', 'Leistungen nach § 13b UStG ohne Vorsteuerabzug'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105970, 'SKR04', '5: Betriebliche Aufwendungen', '5970', '0', 'Fremdleistungen (Miet- und Pachtzinsen bewegliche Wirtschaftsgüter)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105975, 'SKR04', '5: Betriebliche Aufwendungen', '5975', '0', 'Fremdleistungen (Miet- und Pachtzinsen unbewegliche Wirtschaftsgüter)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105980, 'SKR04', '5: Betriebliche Aufwendungen', '5980', '0', 'Fremdleistungen (Entgelte für Rechte und Lizenzen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 105985, 'SKR04', '5: Betriebliche Aufwendungen', '5985', '0', 'Fremdleistungen (Vergütungen für die Überlassung von Wirtschaftsgütern - mit Sonderbetriebseinnahme korrespondierend)'); +---- 6: Betriebliche Aufwendungen +--for x in {6000..6999};do echo "INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, $((10#$x + 100000)), 'SKR04', '6: Betriebliche Aufwendungen', '$x', '0', '');"; done +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106000, 'SKR04', '6: Betriebliche Aufwendungen', '6000', '0', 'Löhne und Gehälter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106010, 'SKR04', '6: Betriebliche Aufwendungen', '6010', '106000', 'Löhne'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106020, 'SKR04', '6: Betriebliche Aufwendungen', '6020', '106000', 'Gehälter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106024, 'SKR04', '6: Betriebliche Aufwendungen', '6024', '106000', 'Geschäftsführergehälter der GmbH-Gesellschafter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106026, 'SKR04', '6: Betriebliche Aufwendungen', '6026', '106000', 'Tantiemen Gesellschafter-Geschäftsführer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106027, 'SKR04', '6: Betriebliche Aufwendungen', '6027', '106000', 'Geschäftsführergehälter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106028, 'SKR04', '6: Betriebliche Aufwendungen', '6028', '106000', 'Vergütungen an angestellte Mitunternehmer § 15 EStG (mit Sonderbetriebseinnahme korrespondierend)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106029, 'SKR04', '6: Betriebliche Aufwendungen', '6029', '106000', 'Tantiemen Arbeitnehmer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106030, 'SKR04', '6: Betriebliche Aufwendungen', '6030', '106000', 'Aushilfslöhne'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106035, 'SKR04', '6: Betriebliche Aufwendungen', '6035', '106000', 'Löhne für Minijobs'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106036, 'SKR04', '6: Betriebliche Aufwendungen', '6036', '106000', 'Pauschale Steuer für Minijobber'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106037, 'SKR04', '6: Betriebliche Aufwendungen', '6037', '106000', 'Pauschale Steuer für Gesellschafter-Geschäftsführer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106038, 'SKR04', '6: Betriebliche Aufwendungen', '6038', '106000', 'Pauschale Steuer für angestellte Mitunternehmer § 15 EStG (mit Sonderbetriebseinnahme korrespondierend)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106039, 'SKR04', '6: Betriebliche Aufwendungen', '6039', '106000', 'Pauschale Steuer für Arbeitnehmer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106040, 'SKR04', '6: Betriebliche Aufwendungen', '6040', '106000', 'Pauschale Steuer für Aushilfen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106045, 'SKR04', '6: Betriebliche Aufwendungen', '6045', '106000', 'Bedienungsgelder'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106050, 'SKR04', '6: Betriebliche Aufwendungen', '6050', '106000', 'Ehegattengehalt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106060, 'SKR04', '6: Betriebliche Aufwendungen', '6060', '106000', 'Freiwillige soziale Aufwendungen, lohnsteuerpflichtig'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106066, 'SKR04', '6: Betriebliche Aufwendungen', '6066', '106000', 'Freiwillige Zuwendungen an Minijobber'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106067, 'SKR04', '6: Betriebliche Aufwendungen', '6067', '106000', 'Freiwillige Zuwendungen an Gesellschafter-Geschäftsführer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106068, 'SKR04', '6: Betriebliche Aufwendungen', '6068', '106000', 'Freiwillige Zuwendungen an angestellte Mitunternehmer § 15 EStG (mit Sonderbetriebseinnahme korrespondierend)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106069, 'SKR04', '6: Betriebliche Aufwendungen', '6069', '106000', 'Pauschale Steuer auf sonstige Bezüge (z. B. Fahrtkostenzuschüsse)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106070, 'SKR04', '6: Betriebliche Aufwendungen', '6070', '106000', 'Krankengeldzuschüsse'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106071, 'SKR04', '6: Betriebliche Aufwendungen', '6071', '106000', 'Sachzuwendungen und Dienstleistungen an Minijobber'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106072, 'SKR04', '6: Betriebliche Aufwendungen', '6072', '106000', 'Sachzuwendungen und Dienstleistungen an Arbeitnehmer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106073, 'SKR04', '6: Betriebliche Aufwendungen', '6073', '106000', 'Sachzuwendungen und Dienstleistungen an Gesellschafter-Geschäftsführer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106074, 'SKR04', '6: Betriebliche Aufwendungen', '6074', '106000', 'Sachzuwendungen und Dienstleistungen an angestellte Mitunternehmer § 15 EStG (mit Sonderbetriebseinnahme korrespondierend)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106075, 'SKR04', '6: Betriebliche Aufwendungen', '6075', '106000', 'Zuschüsse der Agenturen für Arbeit (Haben)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106076, 'SKR04', '6: Betriebliche Aufwendungen', '6076', '106000', 'Aufwendungen aus der Veränderung von Urlaubsrückstellungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106077, 'SKR04', '6: Betriebliche Aufwendungen', '6077', '106000', 'Aufwendungen aus der Veränderung von Urlaubsrückstellungen für Gesellschafter-Geschäftsführer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106078, 'SKR04', '6: Betriebliche Aufwendungen', '6078', '106000', 'Aufwendungen aus der Veränderung von Urlaubsrückstellungen für angestellte Mitunternehmer § 15 EStG (mit Sonderbetriebseinnahme korrespondierend)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106079, 'SKR04', '6: Betriebliche Aufwendungen', '6079', '106000', 'Aufwendungen aus der Veränderung von Urlaubsrückstellungen für Minijobber'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106080, 'SKR04', '6: Betriebliche Aufwendungen', '6080', '106000', 'Vermögenswirksame Leistungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106090, 'SKR04', '6: Betriebliche Aufwendungen', '6090', '106000', 'Fahrtkostenerstattung Wohnung/Arbeitsstätte'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106100, 'SKR04', '6: Betriebliche Aufwendungen', '6100', '0', 'Soziale Abgaben und Aufwendungen für Altersversorgung und für Unterstützung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106110, 'SKR04', '6: Betriebliche Aufwendungen', '6110', '106100', 'Gesetzliche soziale Aufwendungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106118, 'SKR04', '6: Betriebliche Aufwendungen', '6118', '106100', 'Gesetzliche soziale Aufwendungen für Mitunternehmer § 15 EStG (mit Sonderbetriebseinnahme korrespondierend)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106120, 'SKR04', '6: Betriebliche Aufwendungen', '6120', '106100', 'Beiträge zur Berufsgenossenschaft'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106130, 'SKR04', '6: Betriebliche Aufwendungen', '6130', '106100', 'Freiwillige soziale Aufwendungen, lohnsteuerfrei'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106140, 'SKR04', '6: Betriebliche Aufwendungen', '6140', '106100', 'Aufwendungen für Altersversorgung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106147, 'SKR04', '6: Betriebliche Aufwendungen', '6147', '106100', 'Pauschale Steuer auf sonstige Bezüge (z. B. Direktversicherungen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106148, 'SKR04', '6: Betriebliche Aufwendungen', '6148', '106100', 'Aufwendungen für Altersversorgung für Mitunternehmer § 15 EStG (mit Sonderbetriebseinnahme korrespondierend)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106149, 'SKR04', '6: Betriebliche Aufwendungen', '6149', '106100', 'Aufwendungen für Altersversorgung für Gesellschafter-Geschäftsführer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106150, 'SKR04', '6: Betriebliche Aufwendungen', '6150', '106100', 'Versorgungskassen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106160, 'SKR04', '6: Betriebliche Aufwendungen', '6160', '106100', 'Aufwendungen für Unterstützung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106170, 'SKR04', '6: Betriebliche Aufwendungen', '6170', '106100', 'Sonstige soziale Abgaben'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106171, 'SKR04', '6: Betriebliche Aufwendungen', '6171', '106100', 'Soziale Abgaben für Minijobber'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106200, 'SKR04', '6: Betriebliche Aufwendungen', '6200', '0', 'Abschreibungen auf immaterielle Vermögensgegenstände'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106201, 'SKR04', '6: Betriebliche Aufwendungen', '6201', '0', 'Abschreibungen auf selbst geschaffene immaterielle Vermögensgegenstände'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106205, 'SKR04', '6: Betriebliche Aufwendungen', '6205', '0', 'Abschreibungen auf den Geschäfts- oder Firmenwert'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106209, 'SKR04', '6: Betriebliche Aufwendungen', '6209', '0', 'Außerplanmäßige Abschreibungen auf den Geschäfts- oder Firmenwert'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106210, 'SKR04', '6: Betriebliche Aufwendungen', '6210', '0', 'Außerplanmäßige Abschreibungen auf immaterielle Vermögensgegenstände'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106211, 'SKR04', '6: Betriebliche Aufwendungen', '6211', '0', 'Außerplanmäßige Abschreibungen auf selbst geschaffene immaterielle Vermögensgegenstände'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106220, 'SKR04', '6: Betriebliche Aufwendungen', '6220', '0', 'Abschreibungen auf Sachanlagen (ohne AfA auf Fahrzeuge und Gebäude)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106221, 'SKR04', '6: Betriebliche Aufwendungen', '6221', '0', 'Abschreibungen auf Gebäude'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106222, 'SKR04', '6: Betriebliche Aufwendungen', '6222', '0', 'Abschreibungen auf Fahrzeuge'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106223, 'SKR04', '6: Betriebliche Aufwendungen', '6223', '0', 'Abschreibungen auf Gebäudeteil des häuslichen Arbeitszimmers'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106230, 'SKR04', '6: Betriebliche Aufwendungen', '6230', '0', 'Außerplanmäßige Abschreibungen auf Sachanlagen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106231, 'SKR04', '6: Betriebliche Aufwendungen', '6231', '0', 'Absetzung für außergewöhnliche technische und wirtschaftliche Abnutzung der Gebäude'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106232, 'SKR04', '6: Betriebliche Aufwendungen', '6232', '0', 'Absetzung für außergewöhnliche technische und wirtschaftliche Abnutzung der Fahrzeuge'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106233, 'SKR04', '6: Betriebliche Aufwendungen', '6233', '0', 'Absetzung für außergewöhnliche technische und wirtschaftliche Abnutzung sonstiger Wirtschaftsgüter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106240, 'SKR04', '6: Betriebliche Aufwendungen', '6240', '0', 'Abschreibungen auf Sachanlagen auf Grund steuerlicher Sondervorschriften'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106241, 'SKR04', '6: Betriebliche Aufwendungen', '6241', '0', 'Sonderabschreibungen nach § 7g Abs. 5 EStG (ohne Fahrzeuge)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106242, 'SKR04', '6: Betriebliche Aufwendungen', '6242', '0', 'Sonderabschreibungen nach § 7g Abs. 5 EStG (für Fahrzeuge)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106243, 'SKR04', '6: Betriebliche Aufwendungen', '6243', '0', 'Kürzung der Anschaffungs- oder Herstellungskosten nach § 7g Abs. 2 EStG (ohne Fahrzeuge)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106244, 'SKR04', '6: Betriebliche Aufwendungen', '6244', '0', 'Kürzung der Anschaffungs- oder Herstellungskosten nach § 7g Abs. 2 EStG (für Fahrzeuge)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106245, 'SKR04', '6: Betriebliche Aufwendungen', '6245', '0', 'Sonderabschreibungen nach § 7b EStG (Mietwohnungsneubau)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106249, 'SKR04', '6: Betriebliche Aufwendungen', '6249', '0', 'Abzugsbetrag nach § 6b EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106250, 'SKR04', '6: Betriebliche Aufwendungen', '6250', '0', 'Kaufleasing'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106260, 'SKR04', '6: Betriebliche Aufwendungen', '6260', '0', 'Sofortabschreibungen geringwertiger Wirtschaftsgüter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106262, 'SKR04', '6: Betriebliche Aufwendungen', '6262', '0', 'Abschreibungen auf aktivierte, geringwertige Wirtschaftsgüter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106264, 'SKR04', '6: Betriebliche Aufwendungen', '6264', '0', 'Abschreibungen auf den Sammelposten Wirtschaftsgüter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106266, 'SKR04', '6: Betriebliche Aufwendungen', '6266', '0', 'Außerplanmäßige Abschreibungen auf aktivierte, geringwertige Wirtschaftsgüter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106270, 'SKR04', '6: Betriebliche Aufwendungen', '6270', '0', 'Abschreibungen auf sonstige Vermögensgegenstände des Umlaufvermögens (soweit unüblich hoch)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106272, 'SKR04', '6: Betriebliche Aufwendungen', '6272', '0', 'Abschreibungen auf Umlaufvermögen, steuerrechtlich bedingt (soweit unüblich hoch)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106278, 'SKR04', '6: Betriebliche Aufwendungen', '6278', '0', 'Abschreibungen auf Roh-, Hilfs- und Betriebsstoffe/Waren (soweit unüblich hoch)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106279, 'SKR04', '6: Betriebliche Aufwendungen', '6279', '0', 'Abschreibungen auf fertige und unfertige Erzeugnisse (soweit unüblich hoch)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106280, 'SKR04', '6: Betriebliche Aufwendungen', '6280', '0', 'Forderungsverluste (soweit unüblich hoch)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106281, 'SKR04', '6: Betriebliche Aufwendungen', '6281', '0', 'Forderungsverluste 7 % USt (soweit unüblich hoch)'); +---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106282, 'SKR04', '6: Betriebliche Aufwendungen', '6282', '0', ''); +---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106283, 'SKR04', '6: Betriebliche Aufwendungen', '6283', '0', ''); +---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106284, 'SKR04', '6: Betriebliche Aufwendungen', '6284', '0', ''); +---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106285, 'SKR04', '6: Betriebliche Aufwendungen', '6285', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106286, 'SKR04', '6: Betriebliche Aufwendungen', '6286', '0', 'Forderungsverluste 19 % USt (soweit unüblich hoch)'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106287, 'SKR04', '6: Betriebliche Aufwendungen', '6287', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106288, 'SKR04', '6: Betriebliche Aufwendungen', '6288', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106290, 'SKR04', '6: Betriebliche Aufwendungen', '6290', '0', 'Abschreibungen auf Forderungen gegenüber Kapitalgesellschaften, an denen eine Beteiligung besteht (soweit unüblich hoch), § 3c EStG bzw. § 8b Abs. 3 KStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106291, 'SKR04', '6: Betriebliche Aufwendungen', '6291', '0', 'Abschreibungen auf Forderungen gegenüber Gesellschaftern und nahe stehenden Personen (soweit unüblich hoch), § 8b Abs. 3 KStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106300, 'SKR04', '6: Betriebliche Aufwendungen', '6300', '0', 'Sonstige betriebliche Aufwendungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106302, 'SKR04', '6: Betriebliche Aufwendungen', '6302', '0', 'Interimskonto für Aufwendungen in einem anderen Land, bei denen eine Vorsteuervergütung möglich ist'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106303, 'SKR04', '6: Betriebliche Aufwendungen', '6303', '0', 'Fremdleistungen/Fremdarbeiten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106304, 'SKR04', '6: Betriebliche Aufwendungen', '6304', '0', 'Sonstige Aufwendungen betrieblich und regelmäßig'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106305, 'SKR04', '6: Betriebliche Aufwendungen', '6305', '0', 'Raumkosten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106310, 'SKR04', '6: Betriebliche Aufwendungen', '6310', '0', 'Miete (unbewegliche Wirtschaftsgüter)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106312, 'SKR04', '6: Betriebliche Aufwendungen', '6312', '0', 'Miete/Aufwendungen für doppelte Haushaltsführung Unternehmer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106313, 'SKR04', '6: Betriebliche Aufwendungen', '6313', '0', 'Vergütungen an Gesellschafter für die miet- oder pachtweise Überlassung ihrer unbeweglichen Wirtschaftsgüter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106314, 'SKR04', '6: Betriebliche Aufwendungen', '6314', '0', 'Vergütungen an Mitunternehmer für die mietweise Überlassung ihrer unbeweglichen Wirtschaftsgüter § 15 EStG (mit Sonderbetriebseinnahme korrespondierend)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106315, 'SKR04', '6: Betriebliche Aufwendungen', '6315', '0', 'Pacht (unbewegliche Wirtschaftsgüter)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106316, 'SKR04', '6: Betriebliche Aufwendungen', '6316', '0', 'Leasing (unbewegliche Wirtschaftsgüter)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106317, 'SKR04', '6: Betriebliche Aufwendungen', '6317', '0', 'Aufwendungen für gemietete oder gepachtete unbewegliche Wirtschaftsgüter, die gewerbesteuerlich hinzuzurechnen sind'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106318, 'SKR04', '6: Betriebliche Aufwendungen', '6318', '0', 'Miet- und Pachtnebenkosten, die gewerbesteuerlich nicht hinzuzurechnen sind'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106319, 'SKR04', '6: Betriebliche Aufwendungen', '6319', '0', 'Vergütungen an Mitunternehmer für die pachtweise Überlassung ihrer unbeweglichen Wirtschaftsgüter § 15 EStG (mit Sonderbetriebseinnahme korrespondierend)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106320, 'SKR04', '6: Betriebliche Aufwendungen', '6320', '0', 'Heizung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106325, 'SKR04', '6: Betriebliche Aufwendungen', '6325', '0', 'Gas, Strom, Wasser'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106330, 'SKR04', '6: Betriebliche Aufwendungen', '6330', '0', 'Reinigung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106335, 'SKR04', '6: Betriebliche Aufwendungen', '6335', '0', 'Instandhaltung betrieblicher Räume'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106340, 'SKR04', '6: Betriebliche Aufwendungen', '6340', '0', 'Abgaben für betrieblich genutzten Grundbesitz'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106345, 'SKR04', '6: Betriebliche Aufwendungen', '6345', '0', 'Sonstige Raumkosten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106348, 'SKR04', '6: Betriebliche Aufwendungen', '6348', '0', 'Aufwendungen für ein häusliches Arbeitszimmer (abziehbarer Anteil)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106349, 'SKR04', '6: Betriebliche Aufwendungen', '6349', '0', 'Aufwendungen für ein häusliches Arbeitszimmer (nicht abziehbarer Anteil)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106350, 'SKR04', '6: Betriebliche Aufwendungen', '6350', '0', 'Grundstücksaufwendungen, betrieblich'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106352, 'SKR04', '6: Betriebliche Aufwendungen', '6352', '0', 'Sonstige Grundstücksaufwendungen (neutral)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106390, 'SKR04', '6: Betriebliche Aufwendungen', '6390', '0', 'Zuwendungen, Spenden, steuerlich nicht abziehbar'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106391, 'SKR04', '6: Betriebliche Aufwendungen', '6391', '0', 'Zuwendungen, Spenden für wissenschaftliche und kulturelle Zwecke'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106392, 'SKR04', '6: Betriebliche Aufwendungen', '6392', '0', 'Zuwendungen, Spenden für mildtätige Zwecke'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106393, 'SKR04', '6: Betriebliche Aufwendungen', '6393', '0', 'Zuwendungen, Spenden für kirchliche, religiöse und gemeinnützige Zwecke'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106394, 'SKR04', '6: Betriebliche Aufwendungen', '6394', '0', 'Zuwendungen, Spenden an politische Parteien'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106395, 'SKR04', '6: Betriebliche Aufwendungen', '6395', '0', 'Zuwendungen, Spenden in das zu erhaltende Vermögen (Vermögensstock) einer Stiftung für gemeinnützige Zwecke'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106397, 'SKR04', '6: Betriebliche Aufwendungen', '6397', '0', 'Zuwendungen, Spenden in das zu erhaltende Vermögen (Vermögensstock) einer Stiftung für kirchliche, religiöse und gemeinnützige Zwecke'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106398, 'SKR04', '6: Betriebliche Aufwendungen', '6398', '0', 'Zuwendungen, Spenden an Stiftungen in das zu erhaltende Vermögen (Vermögensstock) für wissenschaftliche, mildtätige, kulturelle Zwecke'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106400, 'SKR04', '6: Betriebliche Aufwendungen', '6400', '0', 'Versicherungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106405, 'SKR04', '6: Betriebliche Aufwendungen', '6405', '0', 'Versicherungen für Gebäude'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106410, 'SKR04', '6: Betriebliche Aufwendungen', '6410', '0', 'Netto-Prämie für Rückdeckung künftiger Versorgungsleistungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106420, 'SKR04', '6: Betriebliche Aufwendungen', '6420', '0', 'Beiträge'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106430, 'SKR04', '6: Betriebliche Aufwendungen', '6430', '0', 'Sonstige Abgaben'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106436, 'SKR04', '6: Betriebliche Aufwendungen', '6436', '0', 'Steuerlich abzugsfähige Verspätungszuschläge und Zwangsgelder'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106437, 'SKR04', '6: Betriebliche Aufwendungen', '6437', '0', 'Steuerlich nicht abzugsfähige Verspätungszuschläge und Zwangsgelder'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106440, 'SKR04', '6: Betriebliche Aufwendungen', '6440', '0', 'Ausgleichsabgabe nach dem Schwerbehindertengesetz'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106450, 'SKR04', '6: Betriebliche Aufwendungen', '6450', '0', 'Reparaturen und Instandhaltung von Bauten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106460, 'SKR04', '6: Betriebliche Aufwendungen', '6460', '0', 'Reparaturen und Instandhaltung von technischen Anlagen und Maschinen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106470, 'SKR04', '6: Betriebliche Aufwendungen', '6470', '0', 'Reparaturen und Instandhaltung von anderen Anlagen und Betriebs- und Geschäftsausstattung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106475, 'SKR04', '6: Betriebliche Aufwendungen', '6475', '0', 'Zuführung zu Aufwandsrückstellungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106485, 'SKR04', '6: Betriebliche Aufwendungen', '6485', '0', 'Reparaturen und Instandhaltung von anderen Anlagen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106490, 'SKR04', '6: Betriebliche Aufwendungen', '6490', '0', 'Sonstige Reparaturen und Instandhaltung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106495, 'SKR04', '6: Betriebliche Aufwendungen', '6495', '0', 'Wartungskosten für Hard- und Software'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106498, 'SKR04', '6: Betriebliche Aufwendungen', '6498', '0', 'Mietleasing bewegliche Wirtschaftsgüter für technische Anlagen und Maschinen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106500, 'SKR04', '6: Betriebliche Aufwendungen', '6500', '0', 'Fahrzeugkosten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106520, 'SKR04', '6: Betriebliche Aufwendungen', '6520', '0', 'Fahrzeug-Versicherungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106530, 'SKR04', '6: Betriebliche Aufwendungen', '6530', '0', 'Laufende Fahrzeug-Betriebskosten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106540, 'SKR04', '6: Betriebliche Aufwendungen', '6540', '0', 'Fahrzeug-Reparaturen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106550, 'SKR04', '6: Betriebliche Aufwendungen', '6550', '0', 'Garagenmiete'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106560, 'SKR04', '6: Betriebliche Aufwendungen', '6560', '0', 'Mietleasing Kfz'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106565, 'SKR04', '6: Betriebliche Aufwendungen', '6565', '0', 'Mietleasingaufwendungen für Elektrofahrzeuge und Fahrräder, die gewerbesteuerlich hinzuzurechnen sind'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106570, 'SKR04', '6: Betriebliche Aufwendungen', '6570', '0', 'Sonstige Fahrzeugkosten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106580, 'SKR04', '6: Betriebliche Aufwendungen', '6580', '0', 'Mautgebühren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106590, 'SKR04', '6: Betriebliche Aufwendungen', '6590', '0', 'Kosten für betrieblich genutzte zum Privatvermögen gehörende Fahrzeuge'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106595, 'SKR04', '6: Betriebliche Aufwendungen', '6595', '0', 'Fremdfahrzeugkosten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106600, 'SKR04', '6: Betriebliche Aufwendungen', '6600', '0', 'Werbekosten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106605, 'SKR04', '6: Betriebliche Aufwendungen', '6605', '0', 'Streuartikel'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106610, 'SKR04', '6: Betriebliche Aufwendungen', '6610', '0', 'Geschenke abzugsfähig ohne § 37b EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106611, 'SKR04', '6: Betriebliche Aufwendungen', '6611', '0', 'Geschenke abzugsfähig mit § 37b EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106612, 'SKR04', '6: Betriebliche Aufwendungen', '6612', '0', 'Pauschale Steuer für Geschenke und Zuwendungen abzugsfähig'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106620, 'SKR04', '6: Betriebliche Aufwendungen', '6620', '0', 'Geschenke nicht abzugsfähig ohne § 37b EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106621, 'SKR04', '6: Betriebliche Aufwendungen', '6621', '0', 'Geschenke nicht abzugsfähig mit § 37b EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106622, 'SKR04', '6: Betriebliche Aufwendungen', '6622', '0', 'Pauschale Steuer für Geschenke und Zuwendungen nicht abzugsfähig'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106625, 'SKR04', '6: Betriebliche Aufwendungen', '6625', '0', 'Geschenke ausschließlich betrieblich genutzt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106629, 'SKR04', '6: Betriebliche Aufwendungen', '6629', '0', 'Zugaben mit § 37b EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106630, 'SKR04', '6: Betriebliche Aufwendungen', '6630', '0', 'Repräsentationskosten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106640, 'SKR04', '6: Betriebliche Aufwendungen', '6640', '0', 'Bewirtungskosten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106641, 'SKR04', '6: Betriebliche Aufwendungen', '6641', '0', 'Sonstige eingeschränkt abziehbare Betriebsausgaben (abziehbarer Anteil)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106642, 'SKR04', '6: Betriebliche Aufwendungen', '6642', '0', 'Sonstige eingeschränkt abziehbare Betriebsausgaben (nicht abziehbarer Anteil)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106643, 'SKR04', '6: Betriebliche Aufwendungen', '6643', '0', 'Aufmerksamkeiten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106644, 'SKR04', '6: Betriebliche Aufwendungen', '6644', '0', 'Nicht abzugsfähige Bewirtungskosten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106645, 'SKR04', '6: Betriebliche Aufwendungen', '6645', '0', 'Nicht abzugsfähige Betriebsausgaben aus Werbe- und Repräsentationskosten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106650, 'SKR04', '6: Betriebliche Aufwendungen', '6650', '0', 'Reisekosten Arbeitnehmer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106660, 'SKR04', '6: Betriebliche Aufwendungen', '6660', '0', 'Reisekosten Arbeitnehmer Übernachtungsaufwand'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106663, 'SKR04', '6: Betriebliche Aufwendungen', '6663', '0', 'Reisekosten Arbeitnehmer Fahrtkosten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106664, 'SKR04', '6: Betriebliche Aufwendungen', '6664', '0', 'Reisekosten Arbeitnehmer Verpflegungsmehraufwand'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106665, 'SKR04', '6: Betriebliche Aufwendungen', '6665', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106668, 'SKR04', '6: Betriebliche Aufwendungen', '6668', '0', 'Kilometergelderstattung Arbeitnehmer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106670, 'SKR04', '6: Betriebliche Aufwendungen', '6670', '0', 'Reisekosten Unternehmer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106672, 'SKR04', '6: Betriebliche Aufwendungen', '6672', '0', 'Reisekosten Unternehmer (nicht abziehbarer Anteil)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106673, 'SKR04', '6: Betriebliche Aufwendungen', '6673', '0', 'Reisekosten Unternehmer Fahrtkosten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106674, 'SKR04', '6: Betriebliche Aufwendungen', '6674', '0', 'Reisekosten Unternehmer Verpflegungsmehraufwand'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106680, 'SKR04', '6: Betriebliche Aufwendungen', '6680', '0', 'Reisekosten Unternehmer Übernachtungsaufwand und Reisenebenkosten'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106685, 'SKR04', '6: Betriebliche Aufwendungen', '6685', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106686, 'SKR04', '6: Betriebliche Aufwendungen', '6686', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106688, 'SKR04', '6: Betriebliche Aufwendungen', '6688', '0', 'Fahrten zwischen Wohnung und Betriebsstätte und Familienheimfahrten (abziehbarer Anteil)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106689, 'SKR04', '6: Betriebliche Aufwendungen', '6689', '0', 'Fahrten zwischen Wohnung und Betriebsstätte und Familienheimfahrten (nicht abziehbarer Anteil)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106690, 'SKR04', '6: Betriebliche Aufwendungen', '6690', '0', 'Fahrten zwischen Wohnung und Betriebsstätte und Familienheimfahrten (Haben)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106691, 'SKR04', '6: Betriebliche Aufwendungen', '6691', '0', 'Verpflegungsmehraufwendungen im Rahmen der doppelten Haushaltsführung Unternehmer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106700, 'SKR04', '6: Betriebliche Aufwendungen', '6700', '0', 'Kosten der Warenabgabe'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106710, 'SKR04', '6: Betriebliche Aufwendungen', '6710', '0', 'Verpackungsmaterial'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106740, 'SKR04', '6: Betriebliche Aufwendungen', '6740', '0', 'Ausgangsfrachten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106760, 'SKR04', '6: Betriebliche Aufwendungen', '6760', '0', 'Transportversicherungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106770, 'SKR04', '6: Betriebliche Aufwendungen', '6770', '0', 'Verkaufsprovisionen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106780, 'SKR04', '6: Betriebliche Aufwendungen', '6780', '0', 'Fremdarbeiten (Vertrieb)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106790, 'SKR04', '6: Betriebliche Aufwendungen', '6790', '0', 'Aufwand für Gewährleistung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106800, 'SKR04', '6: Betriebliche Aufwendungen', '6800', '0', 'Porto'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106805, 'SKR04', '6: Betriebliche Aufwendungen', '6805', '0', 'Telefon'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106810, 'SKR04', '6: Betriebliche Aufwendungen', '6810', '0', 'Telefax und Internetkosten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106815, 'SKR04', '6: Betriebliche Aufwendungen', '6815', '0', 'Bürobedarf'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106820, 'SKR04', '6: Betriebliche Aufwendungen', '6820', '0', 'Zeitschriften, Bücher (Fachliteratur)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106821, 'SKR04', '6: Betriebliche Aufwendungen', '6821', '0', 'Fortbildungskosten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106822, 'SKR04', '6: Betriebliche Aufwendungen', '6822', '0', 'Freiwillige Sozialleistungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106823, 'SKR04', '6: Betriebliche Aufwendungen', '6823', '0', 'Vergütungen an Mitunternehmer § 15 EStG (mit Sonderbetriebseinnahme korrespondierend)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106824, 'SKR04', '6: Betriebliche Aufwendungen', '6824', '0', 'Haftungsvergütung an Mitunternehmer § 15 EStG (mit Sonderbetriebseinnahme korrespondierend)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106825, 'SKR04', '6: Betriebliche Aufwendungen', '6825', '0', 'Rechts- und Beratungskosten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106827, 'SKR04', '6: Betriebliche Aufwendungen', '6827', '0', 'Abschluss- und Prüfungskosten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106830, 'SKR04', '6: Betriebliche Aufwendungen', '6830', '0', 'Buchführungskosten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106833, 'SKR04', '6: Betriebliche Aufwendungen', '6833', '0', 'Vergütungen an Gesellschafter für die miet- oder pachtweise Überlassung ihrer beweglichen Wirtschaftsgüter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106834, 'SKR04', '6: Betriebliche Aufwendungen', '6834', '0', 'Vergütungen an Mitunternehmer für die miet- oder pachtweise Überlassung ihrer beweglichen Wirtschaftsgüter § 15 EStG (mit Sonderbetriebseinnahme korrespondierend)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106835, 'SKR04', '6: Betriebliche Aufwendungen', '6835', '0', 'Mieten für Einrichtungen (bewegliche Wirtschaftsgüter)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106836, 'SKR04', '6: Betriebliche Aufwendungen', '6836', '0', 'Pacht (bewegliche Wirtschaftsgüter)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106837, 'SKR04', '6: Betriebliche Aufwendungen', '6837', '0', 'Aufwendungen für die zeitlich befristete Überlassung von Rechten (Lizenzen, Konzessionen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106838, 'SKR04', '6: Betriebliche Aufwendungen', '6838', '0', 'Aufwendungen für gemietete oder gepachtete bewegliche Wirtschaftsgüter, die gewerbesteuerlich hinzuzurechnen sind'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106840, 'SKR04', '6: Betriebliche Aufwendungen', '6840', '0', 'Mietleasing bewegliche Wirtschaftsgüter für Betriebs- und Geschäftsausstattung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106845, 'SKR04', '6: Betriebliche Aufwendungen', '6845', '0', 'Werkzeuge und Kleingeräte'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106850, 'SKR04', '6: Betriebliche Aufwendungen', '6850', '0', 'Sonstiger Betriebsbedarf'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106854, 'SKR04', '6: Betriebliche Aufwendungen', '6854', '0', 'Genossenschaftliche Rückvergütung an Mitglieder'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106855, 'SKR04', '6: Betriebliche Aufwendungen', '6855', '0', 'Nebenkosten des Geldverkehrs'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106856, 'SKR04', '6: Betriebliche Aufwendungen', '6856', '0', 'Aufwendungen aus Anteilen an Kapitalgesellschaften §§ 3 Nr. 40 und 3c EStG bzw. § 8b Abs. 1 und 4 KStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106857, 'SKR04', '6: Betriebliche Aufwendungen', '6857', '0', 'Veräußerungskosten § 3 Nr. 40 EStG bzw. § 8b Abs. 2 KStG (bei Veräußerungsgewinn)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106858, 'SKR04', '6: Betriebliche Aufwendungen', '6858', '0', 'Veräußerungskosten § 3 Nr. 40 EStG bzw. § 8b Abs. 3 KStG (bei Veräußerungsverlust)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106859, 'SKR04', '6: Betriebliche Aufwendungen', '6859', '0', 'Aufwendungen für Abraum- und Abfallbeseitigung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106860, 'SKR04', '6: Betriebliche Aufwendungen', '6860', '0', 'Nicht abziehbare Vorsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106865, 'SKR04', '6: Betriebliche Aufwendungen', '6865', '0', 'Nicht abziehbare Vorsteuer 7 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106871, 'SKR04', '6: Betriebliche Aufwendungen', '6871', '0', 'Nicht abziehbare Vorsteuer 19 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106875, 'SKR04', '6: Betriebliche Aufwendungen', '6875', '0', 'Nicht abziehbare Hälfte der Aufsichtsratsvergütungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106876, 'SKR04', '6: Betriebliche Aufwendungen', '6876', '0', 'Abziehbare Aufsichtsratsvergütungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106879, 'SKR04', '6: Betriebliche Aufwendungen', '6879', '0', 'Verwahrentgelt'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106880, 'SKR04', '6: Betriebliche Aufwendungen', '6880', '0', 'Aufwendungen aus der Währungsumrechnung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106881, 'SKR04', '6: Betriebliche Aufwendungen', '6881', '0', 'Aufwendungen aus der Währungsumrechnung (nicht § 256a HGB)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106883, 'SKR04', '6: Betriebliche Aufwendungen', '6883', '0', 'Aufwendungen aus Bewertung Finanzmittelfonds'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106884, 'SKR04', '6: Betriebliche Aufwendungen', '6884', '0', 'Erlöse aus Verkäufen Sachanlagevermögen steuerfrei § 4 Nr. 1a UStG (bei Buchverlust)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106885, 'SKR04', '6: Betriebliche Aufwendungen', '6885', '0', 'Erlöse aus Verkäufen Sachanlagevermögen 19 % USt (bei Buchverlust)'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106886, 'SKR04', '6: Betriebliche Aufwendungen', '6886', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106887, 'SKR04', '6: Betriebliche Aufwendungen', '6887', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106888, 'SKR04', '6: Betriebliche Aufwendungen', '6888', '0', 'Erlöse aus Verkäufen Sachanlagevermögen steuerfrei § 4 Nr. 1b UStG (bei Buchverlust)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106889, 'SKR04', '6: Betriebliche Aufwendungen', '6889', '0', 'Erlöse aus Verkäufen Sachanlagevermögen (bei Buchverlust)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106890, 'SKR04', '6: Betriebliche Aufwendungen', '6890', '0', 'Erlöse aus Verkäufen immaterieller Vermögensgegenstände (bei Buchverlust)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106891, 'SKR04', '6: Betriebliche Aufwendungen', '6891', '0', 'Erlöse aus Verkäufen Finanzanlagen (bei Buchverlust)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106892, 'SKR04', '6: Betriebliche Aufwendungen', '6892', '0', 'Erlöse aus Verkäufen Finanzanlagen § 3 Nr. 40 EStG bzw. § 8b Abs. 3 KStG (bei Buchverlust)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106895, 'SKR04', '6: Betriebliche Aufwendungen', '6895', '0', 'Anlagenabgänge Sachanlagen (Restbuchwert bei Buchverlust)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106896, 'SKR04', '6: Betriebliche Aufwendungen', '6896', '0', 'Anlagenabgänge immaterielle Vermögensgegenstände (Restbuchwert bei Buchverlust)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106897, 'SKR04', '6: Betriebliche Aufwendungen', '6897', '0', 'Anlagenabgänge Finanzanlagen (Restbuchwert bei Buchverlust)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106898, 'SKR04', '6: Betriebliche Aufwendungen', '6898', '0', 'Anlagenabgänge Finanzanlagen § 3 Nr. 40 EStG bzw. § 8b Abs. 3 KStG (Restbuchwert bei Buchverlust)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106900, 'SKR04', '6: Betriebliche Aufwendungen', '6900', '0', 'Verluste aus dem Abgang von Gegenständen des Anlagevermögens'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106903, 'SKR04', '6: Betriebliche Aufwendungen', '6903', '0', 'Verluste aus der Veräußerung von Anteilen an Kapitalgesellschaften (Finanzanlagevermögen) § 3 Nr. 40 EStG bzw. § 8b Abs. 3 KStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106905, 'SKR04', '6: Betriebliche Aufwendungen', '6905', '0', 'Verluste aus dem Abgang von Gegenständen des Umlaufvermögens außer Vorräte'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106906, 'SKR04', '6: Betriebliche Aufwendungen', '6906', '0', 'Verluste aus dem Abgang von Gegenständen des Umlaufvermögens (außer Vorräte) § 3 Nr. 40 EStG bzw. § 8b Abs. 3 KStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106907, 'SKR04', '6: Betriebliche Aufwendungen', '6907', '0', 'Abgang von Wirtschaftsgütern des Umlaufvermögens nach § 4 Abs. 3 Satz 4 EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106908, 'SKR04', '6: Betriebliche Aufwendungen', '6908', '0', 'Abgang von Wirtschaftsgütern des Umlaufvermögens § 3 Nr. 40 EStG bzw. § 8b Abs. 3 KStG nach § 4 Abs. 3 Satz 4 EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106910, 'SKR04', '6: Betriebliche Aufwendungen', '6910', '0', 'Abschreibungen auf Umlaufvermögen außer Vorräte und Wertpapiere des Umlaufvermögens (übliche Höhe)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106912, 'SKR04', '6: Betriebliche Aufwendungen', '6912', '0', 'Abschreibungen auf Umlaufvermögen außer Vorräte und Wertpapiere des Umlaufvermögens, steuerrechtlich bedingt (übliche Höhe)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106918, 'SKR04', '6: Betriebliche Aufwendungen', '6918', '0', 'Aufwendungen aus dem Erwerb eigener Anteile'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106920, 'SKR04', '6: Betriebliche Aufwendungen', '6920', '0', 'Einstellung in die Pauschalwertberichtigung auf Forderungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106922, 'SKR04', '6: Betriebliche Aufwendungen', '6922', '0', 'Einstellungen in die steuerliche Rücklage nach § 6b Abs. 3 EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106923, 'SKR04', '6: Betriebliche Aufwendungen', '6923', '0', 'Einstellung in die Einzelwertberichtigung auf Forderungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106924, 'SKR04', '6: Betriebliche Aufwendungen', '6924', '0', 'Einstellungen in die steuerliche Rücklage nach § 6b Abs. 10 EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106927, 'SKR04', '6: Betriebliche Aufwendungen', '6927', '0', 'Einstellungen in sonstige steuerliche Rücklagen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106928, 'SKR04', '6: Betriebliche Aufwendungen', '6928', '0', 'Einstellungen in die Rücklage für Ersatzbeschaffung nach R 6.6 EStR'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106929, 'SKR04', '6: Betriebliche Aufwendungen', '6929', '0', 'Einstellungen in die steuerliche Rücklage nach § 4g EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106930, 'SKR04', '6: Betriebliche Aufwendungen', '6930', '0', 'Forderungsverluste (übliche Höhe)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106931, 'SKR04', '6: Betriebliche Aufwendungen', '6931', '0', 'Forderungsverluste 7 % USt (übliche Höhe)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106932, 'SKR04', '6: Betriebliche Aufwendungen', '6932', '0', 'Forderungsverluste aus steuerfreien EU-Lieferungen (übliche Höhe)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106933, 'SKR04', '6: Betriebliche Aufwendungen', '6933', '0', 'Forderungsverluste aus im Inland steuerpflichtigen EU-Lieferungen 7 % USt (übliche Höhe)'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106934, 'SKR04', '6: Betriebliche Aufwendungen', '6934', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106935, 'SKR04', '6: Betriebliche Aufwendungen', '6935', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106936, 'SKR04', '6: Betriebliche Aufwendungen', '6936', '0', 'Forderungsverluste 19 % USt (übliche Höhe)'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106937, 'SKR04', '6: Betriebliche Aufwendungen', '6937', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106938, 'SKR04', '6: Betriebliche Aufwendungen', '6938', '0', 'Forderungsverluste aus im Inland steuerpflichtigen EU-Lieferungen 19 % USt (übliche Höhe)'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106939, 'SKR04', '6: Betriebliche Aufwendungen', '6939', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106960, 'SKR04', '6: Betriebliche Aufwendungen', '6960', '0', 'Periodenfremde Aufwendungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106967, 'SKR04', '6: Betriebliche Aufwendungen', '6967', '0', 'Sonstige Aufwendungen betriebsfremd und regelmäßig'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106968, 'SKR04', '6: Betriebliche Aufwendungen', '6968', '0', 'Sonstige nicht abziehbare Aufwendungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106969, 'SKR04', '6: Betriebliche Aufwendungen', '6969', '0', 'Sonstige Aufwendungen unregelmäßig'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106970, 'SKR04', '6: Betriebliche Aufwendungen', '6970', '0', 'Kalkulatorischer Unternehmerlohn'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106972, 'SKR04', '6: Betriebliche Aufwendungen', '6972', '0', 'Kalkulatorische Miete/Pacht'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106974, 'SKR04', '6: Betriebliche Aufwendungen', '6974', '0', 'Kalkulatorische Zinsen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106976, 'SKR04', '6: Betriebliche Aufwendungen', '6976', '0', 'Kalkulatorische Abschreibungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106978, 'SKR04', '6: Betriebliche Aufwendungen', '6978', '0', 'Kalkulatorische Wagnisse'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106979, 'SKR04', '6: Betriebliche Aufwendungen', '6979', '0', 'Kalkulatorischer Lohn für unentgeltliche Mitarbeiter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106980, 'SKR04', '6: Betriebliche Aufwendungen', '6980', '0', 'Verrechneter kalkulatorischer Unternehmerlohn'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106982, 'SKR04', '6: Betriebliche Aufwendungen', '6982', '0', 'Verrechnete kalkulatorische Miete/Pacht'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106984, 'SKR04', '6: Betriebliche Aufwendungen', '6984', '0', 'Verrechnete kalkulatorische Zinsen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106986, 'SKR04', '6: Betriebliche Aufwendungen', '6986', '0', 'Verrechnete kalkulatorische Abschreibungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106988, 'SKR04', '6: Betriebliche Aufwendungen', '6988', '0', 'Verrechnete kalkulatorische Wagnisse'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106989, 'SKR04', '6: Betriebliche Aufwendungen', '6989', '0', 'Verrechneter kalkulatorischer Lohn für unentgeltliche Mitarbeiter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106990, 'SKR04', '6: Betriebliche Aufwendungen', '6990', '0', 'Herstellungskosten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106992, 'SKR04', '6: Betriebliche Aufwendungen', '6992', '0', 'Verwaltungskosten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106994, 'SKR04', '6: Betriebliche Aufwendungen', '6994', '0', 'Vertriebskosten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 106999, 'SKR04', '6: Betriebliche Aufwendungen', '6999', '0', 'Gegenkonto 6990-6998'); +---- 7: Weitere Erträge und Aufwendungen +--for x in {7000..7999};do echo "INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, $((10#$x + 100000)), 'SKR04', '7: Weitere Erträge und Aufwendungen', '$x', '0', '');"; done +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107000, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7000', '0', 'Erträge aus Beteiligungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107002, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7002', '0', 'Erträge aus typisch stillen Beteiligungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107003, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7003', '0', 'Erträge aus atypisch stillen Beteiligungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107004, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7004', '0', 'Erträge aus Beteiligungen an Personengesellschaften (verbundene Unternehmen), § 9 GewStG bzw. § 18 EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107005, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7005', '0', 'Erträge aus Anteilen an Kapitalgesellschaften (Beteiligung) § 3 Nr. 40 EStG bzw. § 8b Abs. 1 KStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107006, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7006', '0', 'Erträge aus Anteilen an Kapitalgesellschaften (verbundene Unternehmen) § 3 Nr. 40 EStG bzw. § 8b Abs. 1 KStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107008, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7008', '0', 'Gewinnanteile aus gewerblichen und selbständigen Mitunternehmerschaften, § 9 GewStG bzw. § 18 EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107009, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7009', '0', 'Erträge aus Beteiligungen an verbundenen Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107010, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7010', '0', 'Erträge aus anderen Wertpapieren und Ausleihungen des Finanzanlagevermögens'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107011, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7011', '0', 'Erträge aus Ausleihungen des Finanzanlagevermögens'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107012, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7012', '0', 'Erträge aus Ausleihungen des Finanzanlagevermögens an verbundenen Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107013, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7013', '0', 'Erträge aus Anteilen an Personengesellschaften (Finanzanlagevermögen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107014, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7014', '0', 'Erträge aus Anteilen an Kapitalgesellschaften (Finanzanlagevermögen) § 3 Nr. 40 EStG bzw. § 8b Abs. 1 und 4 KStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107015, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7015', '0', 'Erträge aus Anteilen an Kapitalgesellschaften (verbundene Unternehmen) § 3 Nr. 40 EStG bzw. § 8b Abs. 1 KStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107016, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7016', '0', 'Erträge aus Anteilen an Personengesellschaften (verbundene Unternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107017, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7017', '0', 'Erträge aus anderen Wertpapieren des Finanzanlagevermögens an Kapitalgesellschaften (verbundene Unternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107018, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7018', '0', 'Erträge aus anderen Wertpapieren des Finanzanlagevermögens an Personengesellschaften (verbundene Unternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107019, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7019', '0', 'Erträge aus anderen Wertpapieren und Ausleihungen des Finanzanlagevermögens aus verbundenen Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107020, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7020', '0', 'Zins- und Dividendenerträge'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107030, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7030', '0', 'Erhaltene Ausgleichszahlungen (als außenstehender Aktionär)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107100, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7100', '0', 'Sonstige Zinsen und ähnliche Erträge'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107103, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7103', '0', 'Erträge aus Anteilen an Kapitalgesellschaften (Umlaufvermögen) § 3 Nr. 40 EStG bzw. § 8b Abs. 1 und 4 KStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107104, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7104', '0', 'Erträge aus Anteilen an Kapitalgesellschaften (verbundene Unternehmen) § 3 Nr. 40 EStG bzw. § 8b Abs. 1 KStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107105, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7105', '0', 'Zinserträge § 233a AO, steuerpflichtig'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107106, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7106', '0', 'Zinserträge § 233a AO, steuerfrei (Anlage GK KSt)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107107, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7107', '0', 'Zinserträge § 233a AO und § 4 Abs. 5b EStG, steuerfrei'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107109, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7109', '0', 'Sonstige Zinsen und ähnliche Erträge aus verbundenen Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107110, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7110', '0', 'Sonstige Zinsen und ähnliche Erträge aus verbundenen Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107115, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7115', '0', 'Erträge aus anderen Wertpapieren und Ausleihungen des Umlaufvermögens'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107119, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7119', '0', 'Sonstige Zinserträge aus verbundenen Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107120, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7120', '0', 'Zinsähnliche Erträge'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107128, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7128', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107129, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7129', '0', 'Zinsähnliche Erträge aus verbundenen Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107130, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7130', '0', 'Diskonterträge'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107139, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7139', '0', 'Diskonterträge aus verbundenen Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107140, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7140', '0', 'Steuerfreie Zinserträge aus der Abzinsung von Rückstellungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107141, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7141', '0', 'Zinserträge aus der Abzinsung von Verbindlichkeiten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107142, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7142', '0', 'Zinserträge aus der Abzinsung von Rückstellungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107143, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7143', '0', 'Zinserträge aus der Abzinsung von Pensionsrückstellungen und ähnlichen/vergleichbaren Verpflichtungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107144, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7144', '0', 'Zinserträge aus der Abzinsung von Pensionsrückstellungen und ähnlichen/vergleichbaren Verpflichtungen zur Verrechnung nach § 246 Abs. 2 HGB'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107145, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7145', '0', 'Erträge aus Vermögensgegenständen zur Verrechnung nach § 246 Abs. 2 HGB'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107190, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7190', '0', 'Erträge aus Verlustübernahme'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107192, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7192', '0', 'Erhaltene Gewinne auf Grund einer Gewinngemeinschaft'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107194, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7194', '0', 'Erhaltene Gewinne auf Grund eines Gewinn- oder Teilgewinnabführungsvertrags'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107200, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7200', '0', 'Abschreibungen auf Finanzanlagen (dauerhaft)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107201, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7201', '0', 'Abschreibungen auf Finanzanlagen (nicht dauerhaft)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107204, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7204', '0', 'Abschreibungen auf Finanzanlagen § 3 Nr. 40 EStG bzw. § 8b Abs. 3 KStG (dauerhaft)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107207, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7207', '0', 'Abschreibungen auf Finanzanlagen - verbundene Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107208, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7208', '0', 'Aufwendungen auf Grund von Verlustanteilen an gewerblichen und selbständigen Mitunternehmerschaften, § 8 GewStG bzw. § 18 EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107210, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7210', '0', 'Abschreibungen auf Wertpapiere des Umlaufvermögens'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107214, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7214', '0', 'Abschreibungen auf Wertpapiere des Umlaufvermögens § 3 Nr. 40 EStG bzw. § 8b Abs. 3 KStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107217, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7217', '0', 'Abschreibungen auf Wertpapiere des Umlaufvermögens - verbundene Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107250, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7250', '0', 'Abschreibungen auf Finanzanlagen auf Grund § 6b EStG-Rücklage'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107255, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7255', '0', 'Abschreibungen auf Finanzanlagen auf Grund § 6b EStG-Rücklage, § 3 Nr. 40 EStG bzw. § 8b Abs. 3 KStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107300, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7300', '0', 'Zinsen und ähnliche Aufwendungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107302, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7302', '0', 'Steuerlich nicht abzugsfähige andere Nebenleistungen zu Steuern § 4 Abs. 5b EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107303, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7303', '0', 'Steuerlich abzugsfähige andere Nebenleistungen zu Steuern'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107304, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7304', '0', 'Steuerlich nicht abzugsfähige andere Nebenleistungen zu Steuern'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107305, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7305', '0', 'Zinsaufwendungen § 233a AO abzugsfähig'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107306, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7306', '0', 'Zinsaufwendungen §§ 234 bis 237 AO nicht abzugsfähig'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107307, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7307', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107308, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7308', '0', 'Zinsaufwendungen § 233a AO nicht abzugsfähig'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107309, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7309', '0', 'Zinsaufwendungen an verbundene Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107310, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7310', '0', 'Zinsaufwendungen für kurzfristige Verbindlichkeiten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107311, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7311', '0', 'Zinsaufwendungen §§ 234 bis 237 AO abzugsfähig'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107313, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7313', '0', 'Nicht abzugsfähige Schuldzinsen nach § 4 Abs. 4a EStG (Hinzurechnungsbetrag)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107316, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7316', '0', 'Zinsen für Gesellschafterdarlehen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107317, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7317', '0', 'Zinsen an Gesellschafter mit einer Beteiligung von mehr als 25 % bzw. diesen nahe stehende Personen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107318, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7318', '0', 'Zinsen auf Kontokorrentkonten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107319, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7319', '0', 'Zinsaufwendungen für kurzfristige Verbindlichkeiten an verbundene Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107320, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7320', '0', 'Zinsaufwendungen für langfristige Verbindlichkeiten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107323, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7323', '0', 'Abschreibungen auf ein Agio oder Disagio/Damnum zur Finanzierung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107324, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7324', '0', 'Abschreibungen auf ein Agio oder Disagio/Damnum zur Finanzierung des Anlagevermögens'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107325, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7325', '0', 'Zinsaufwendungen für Gebäude, die zum Betriebsvermögen gehören'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107326, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7326', '0', 'Zinsen zur Finanzierung des Anlagevermögens'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107327, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7327', '0', 'Renten und dauernde Lasten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107328, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7328', '0', 'Zinsaufwendungen für Kapitalüberlassung durch Mitunternehmer § 15 EStG (mit Sonderbetriebseinnahme korrespondierend)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107329, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7329', '0', 'Zinsaufwendungen für langfristige Verbindlichkeiten an verbundene Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107330, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7330', '0', 'Zinsähnliche Aufwendungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107339, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7339', '0', 'Zinsähnliche Aufwendungen an verbundene Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107340, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7340', '0', 'Diskontaufwendungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107349, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7349', '0', 'Diskontaufwendungen an verbundene Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107350, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7350', '0', 'Zinsen und ähnliche Aufwendungen §§ 3 Nr. 40 und 3c EStG bzw. § 8b Abs. 1 und 4 KStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107351, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7351', '0', 'Zinsen und ähnliche Aufwendungen an verbundene Unternehmen §§ 3 Nr. 40 und 3c EStG bzw. § 8b Abs. 1 KStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107355, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7355', '0', 'Kreditprovisionen und Verwaltungskostenbeiträge'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107360, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7360', '0', 'Zinsanteil der Zuführungen zu Pensionsrückstellungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107361, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7361', '0', 'Zinsaufwendungen aus der Abzinsung von Verbindlichkeiten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107362, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7362', '0', 'Zinsaufwendungen aus der Abzinsung von Rückstellungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107363, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7363', '0', 'Zinsaufwendungen aus der Abzinsung von Pensionsrückstellungen und ähnlichen/vergleichbaren Verpflichtungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107364, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7364', '0', 'Zinsaufwendungen aus der Abzinsung von Pensionsrückstellungen und ähnlichen/vergleichbaren Verpflichtungen zur Verrechnung nach § 246 Abs. 2 HGB'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107365, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7365', '0', 'Aufwendungen aus Vermögensgegenständen zur Verrechnung nach § 246 Abs. 2 HGB'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107366, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7366', '0', 'Steuerlich nicht abzugsfähige Zinsaufwendungen aus der Abzinsung von Rückstellungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107390, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7390', '0', 'Aufwendungen aus Verlustübernahme'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107392, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7392', '0', 'Abgeführte Gewinne auf Grund einer Gewinngemeinschaft'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107394, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7394', '0', 'Abgeführte Gewinne auf Grund eines Gewinn- oder Teilgewinnabführungsvertrags'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107398, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7398', '0', 'Abgeführte Gewinnanteile (Soll) / ausgeglichene Verlustanteile (Haben) bei atypisch stiller Beteiligung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107399, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7399', '0', 'Abgeführte Gewinnanteile (Soll) / ausgeglichene Verlustanteile (Haben) bei typisch stiller Beteiligung § 8 GewStG'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107400, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7400', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107401, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7401', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107450, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7450', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107451, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7451', '0', 'Erträge durch Verschmelzung und Umwandlung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107454, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7454', '0', 'Gewinn aus der Veräußerung oder der Aufgabe von Geschäftsaktivitäten nach Steuern'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107460, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7460', '0', 'Erträge aus der Anwendung von Übergangsvorschriften'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107464, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7464', '0', 'Erträge aus der Anwendung von Übergangsvorschriften (latente Steuern)'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107500, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7500', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107501, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7501', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107550, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7550', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107551, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7551', '0', 'Verluste durch Verschmelzung und Umwandlung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107552, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7552', '0', 'Verluste durch außergewöhnliche Schadensfälle (nur Bilanzierer)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107553, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7553', '0', 'Aufwendungen für Restrukturierungs- und Sanierungsmaßnahmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107554, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7554', '0', 'Verluste aus der Veräußerung oder der Aufgabe von Geschäftsaktivitäten nach Steuern'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107560, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7560', '0', 'Aufwendungen aus der Anwendung von Übergangsvorschriften'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107561, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7561', '0', 'Aufwendungen aus der Anwendung von Übergangsvorschriften (Pensionsrückstellungen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107563, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7563', '0', 'Aufwendungen aus der Anwendung von Übergangsvorschriften (Latente Steuern)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107600, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7600', '0', 'Körperschaftsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107603, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7603', '0', 'Körperschaftsteuer für Vorjahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107604, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7604', '0', 'Körperschaftsteuererstattungen für Vorjahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107607, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7607', '0', 'Solidaritätszuschlagerstattungen für Vorjahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107608, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7608', '0', 'Solidaritätszuschlag'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107609, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7609', '0', 'Solidaritätszuschlag für Vorjahre'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107610, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7610', '0', 'Gewerbesteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107630, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7630', '0', 'Kapitalertragsteuer 25 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107633, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7633', '0', 'Anrechenbarer Solidaritätszuschlag auf Kapitalertragsteuer 25 %'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107638, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7638', '0', 'Ausländische Steuer auf im Inland steuerfreie DBA-Einkünfte'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107639, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7639', '0', 'Anrechnung/Abzug ausländischer Quellensteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107641, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7641', '0', 'Gewerbesteuernachzahlungen und Gewerbesteuererstattungen für Vorjahre nach § 4 Abs. 5b EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107643, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7643', '0', 'Erträge aus der Auflösung von Gewerbesteuerrückstellungen nach § 4 Abs. 5b EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107645, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7645', '0', 'Aufwendungen aus der Zuführung und Auflösung von latenten Steuern'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107646, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7646', '0', 'Aufwendungen aus der Zuführung zu Steuerrückstellungen für Steuerstundung (BStBK)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107648, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7648', '0', 'Erträge aus der Auflösung von Steuerrückstellungen für Steuerstundung (BStBK)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107649, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7649', '0', 'Erträge aus der Zuführung und Auflösung von latenten Steuern'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107650, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7650', '0', 'Sonstige Betriebssteuern'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107675, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7675', '0', 'Verbrauchsteuer (sonstige Steuern)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107678, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7678', '0', 'Ökosteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107680, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7680', '0', 'Grundsteuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107685, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7685', '0', 'Kfz-Steuer'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107690, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7690', '0', 'Steuernachzahlungen Vorjahre für sonstige Steuern'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107692, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7692', '0', 'Steuererstattungen Vorjahre für sonstige Steuern'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107694, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7694', '0', 'Erträge aus der Auflösung von Rückstellungen für sonstige Steuern'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107700, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7700', '0', 'Gewinnvortrag nach Verwendung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107705, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7705', '107700', 'Gewinnvortrag nach Verwendung (mit Aufteilung für Kapitalkontenentwicklung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107720, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7720', '0', 'Verlustvortrag nach Verwendung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107725, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7725', '107720', 'Verlustvortrag nach Verwendung (mit Aufteilung für Kapitalkontenentwicklung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107730, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7730', '0', 'Entnahmen aus der Kapitalrücklage'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107735, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7735', '0', 'Entnahmen aus der gesetzlichen Rücklage'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107740, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7740', '0', 'Entnahmen aus dem Ausgleichsposten für aktivierte eigene Anteile'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107743, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7743', '0', 'Entnahmen aus der Rücklage für Anteile an einem herrschenden oder mehrheitlich beteiligten Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107744, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7744', '0', 'Entnahmen aus anderen Ergebnisrücklagen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107745, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7745', '0', 'Entnahmen aus satzungsmäßigen Rücklagen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107750, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7750', '0', 'Entnahmen aus anderen Gewinnrücklagen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107751, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7751', '107750', 'Entnahmen aus gesamthänderisch gebundenen Rücklagen (mit Aufteilung für Kapitalkontenentwicklung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107755, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7755', '0', 'Erträge aus Kapitalherabsetzung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107760, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7760', '0', 'Einstellungen in die Kapitalrücklage nach den Vorschriften über die vereinfachte Kapitalherabsetzung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107765, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7765', '0', 'Einstellungen in die gesetzliche Rücklage'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107770, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7770', '0', 'Einstellungen in den Ausgleichsposten für aktivierte eigene Anteile'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107773, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7773', '0', 'Einstellungen in die Rücklage für Anteile an einem herrschenden oder mehrheitlich beteiligten Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107775, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7775', '0', 'Einstellungen in satzungsmäßige Rücklagen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107780, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7780', '0', 'Einstellungen in andere Gewinnrücklagen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107781, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7781', '107780', 'Einstellungen in gesamthänderisch gebundene Rücklagen (mit Aufteilung für Kapitalkontenentwicklung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107785, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7785', '0', 'Einstellungen in andere Ergebnisrücklagen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107788, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7788', '107785', 'Änderung steuerlicher Ausgleichsposten (Körperschaften)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107789, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7789', '107785', 'Änderung steuerlicher Ausgleichsposten (Personengesellschaften, Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107790, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7790', '0', 'Vorabausschüttung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107800, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7800', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107801, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7801', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107802, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7802', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107803, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7803', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107804, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7804', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107805, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7805', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107806, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7806', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107807, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7807', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107808, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7808', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107809, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7809', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107810, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7810', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107811, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7811', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107812, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7812', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107813, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7813', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107814, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7814', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107815, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7815', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107816, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7816', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107817, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7817', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107818, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7818', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107819, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7819', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107820, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7820', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107821, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7821', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107822, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7822', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107823, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7823', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107824, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7824', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107825, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7825', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107826, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7826', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107827, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7827', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107828, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7828', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107829, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7829', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107830, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7830', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107831, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7831', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107832, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7832', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107833, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7833', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107834, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7834', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107835, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7835', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107836, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7836', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107837, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7837', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107838, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7838', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107839, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7839', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107840, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7840', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107841, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7841', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107842, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7842', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107843, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7843', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107844, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7844', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107845, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7845', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107846, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7846', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107847, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7847', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107848, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7848', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107849, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7849', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107850, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7850', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107851, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7851', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107852, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7852', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107853, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7853', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107854, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7854', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107855, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7855', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107856, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7856', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107857, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7857', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107858, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7858', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107859, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7859', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107860, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7860', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107861, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7861', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107862, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7862', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107863, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7863', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107864, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7864', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107865, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7865', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107866, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7866', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107867, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7867', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107868, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7868', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107869, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7869', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107870, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7870', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107871, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7871', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107872, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7872', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107873, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7873', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107874, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7874', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107875, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7875', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107876, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7876', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107877, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7877', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107878, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7878', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107879, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7879', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107880, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7880', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107881, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7881', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107882, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7882', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107883, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7883', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107884, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7884', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107885, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7885', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107886, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7886', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107887, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7887', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107888, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7888', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107889, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7889', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107890, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7890', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107891, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7891', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107892, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7892', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107893, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7893', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107894, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7894', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107895, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7895', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107896, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7896', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107897, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7897', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107898, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7898', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107899, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7899', '107790', '(zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 107900, 'SKR04', '7: Weitere Erträge und Aufwendungen', '7900', '107790', '(reserviertes Konto)'); +---- 8: Zur freien Verfügung (8000-8999) +--for x in {8000..8999};do echo "INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, $((10#$x + 100000)), 'SKR04', '8: Zur freien Verfügung (8000-8999)', '$x', '0', '');"; done +---- 9: Vortrags-, Kapital-, Korrektur- und statistische Konten +--for x in {9000..9999};do echo "INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, $((10#$x + 100000)), 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '$x', '0', '');"; done +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109000, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9000', '0', 'Saldenvorträge, Sachkonten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109001, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9001', '0', 'Saldenvorträge, Sachkonten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109002, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9002', '0', 'Saldenvorträge, Sachkonten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109003, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9003', '0', 'Saldenvorträge, Sachkonten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109004, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9004', '0', 'Saldenvorträge, Sachkonten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109005, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9005', '0', 'Saldenvorträge, Sachkonten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109006, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9006', '0', 'Saldenvorträge, Sachkonten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109007, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9007', '0', 'Saldenvorträge, Sachkonten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109008, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9008', '0', 'Saldenvorträge, Debitoren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109009, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9009', '0', 'Saldenvorträge, Debitoren'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109050, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9050', '0', 'Offene Posten aus 2020'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109051, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9051', '0', 'Offene Posten aus 2021'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109052, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9052', '0', 'Offene Posten aus 2022'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109053, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9053', '0', 'Offene Posten aus 2023'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109054, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9054', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109055, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9055', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109056, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9056', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109057, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9057', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109058, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9058', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109059, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9059', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109060, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9060', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109061, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9061', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109062, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9062', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109063, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9063', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109064, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9064', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109065, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9065', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109066, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9066', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109067, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9067', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109068, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9068', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109069, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9069', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109070, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9070', '0', 'Offene Posten aus 2000'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109071, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9071', '0', 'Offene Posten aus 2001'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109072, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9072', '0', 'Offene Posten aus 2002'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109073, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9073', '0', 'Offene Posten aus 2003'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109074, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9074', '0', 'Offene Posten aus 2004'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109075, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9075', '0', 'Offene Posten aus 2005'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109076, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9076', '0', 'Offene Posten aus 2006'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109077, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9077', '0', 'Offene Posten aus 2007'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109078, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9078', '0', 'Offene Posten aus 2008'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109079, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9079', '0', 'Offene Posten aus 2009'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109080, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9080', '0', 'Offene Posten aus 2010'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109081, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9081', '0', 'Offene Posten aus 2011'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109082, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9082', '0', 'Offene Posten aus 2012'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109083, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9083', '0', 'Offene Posten aus 2013'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109084, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9084', '0', 'Offene Posten aus 2014'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109085, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9085', '0', 'Offene Posten aus 2015'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109086, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9086', '0', 'Offene Posten aus 2016'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109087, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9087', '0', 'Offene Posten aus 2017'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109088, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9088', '0', 'Offene Posten aus 2018'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109089, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9089', '0', 'Offene Posten aus 2019'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109090, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9090', '0', 'Summenvortragskonto'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109091, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9091', '109090', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109092, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9092', '109090', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109093, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9093', '109090', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109094, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9094', '109090', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109095, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9095', '109090', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109096, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9096', '109090', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109097, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9097', '109090', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109098, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9098', '109090', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109099, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9099', '109090', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109100, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9100', '109090', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109101, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9101', '0', 'Verkaufstage'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109102, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9102', '0', 'Anzahl der Barkunden'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109103, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9103', '0', 'Beschäftigte Personen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109104, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9104', '0', 'Unbezahlte Personen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109105, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9105', '0', 'Verkaufskräfte'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109106, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9106', '0', 'Geschäftsraum qm'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109107, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9107', '0', 'Verkaufsraum qm'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109116, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9116', '0', 'Anzahl Rechnungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109117, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9117', '0', 'Anzahl Kreditkunden monatlich'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109118, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9118', '0', 'Anzahl Kreditkunden aufgelaufen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109120, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9120', '0', 'Erweiterungsinvestitionen'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109130, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9130', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109131, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9131', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109135, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9135', '0', 'Auftragseingang im Geschäftsjahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109140, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9140', '0', 'Auftragsbestand'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109141, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9141', '0', 'Variables Kapital TH'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109142, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9142', '0', 'Variables Kapital - Anteil Teilhafter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109143, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9143', '0', 'Privatsteuern Kapitalertragsteuer (Sammelposten)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109144, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9144', '0', 'Privatsteuern Solidaritätszuschlag (Sammelposten)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109145, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9145', '0', 'Privatsteuern Kirchensteuer (Sammelposten)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109146, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9146', '0', 'Variables Kapital Vollhafter - Übertragung einer § 6b EStG-Rücklage'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109147, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9147', '0', 'Variables Kapital Teilhafter - Übertragung einer § 6b EStG-Rücklage'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109148, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9148', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109149, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9149', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109150, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9150', '0', 'Festkapital - andere Kapitalkontenanpassungen VH'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109151, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9151', '0', 'Variables Kapital - andere Kapitalkontenanpassungen VH'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109152, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9152', '0', 'Verlust-/Vortragskonto - andere Kapitalkontenanpassungen VH'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109153, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9153', '0', 'Kapitalkonto III - andere Kapitalkontenanpassungen VH'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109154, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9154', '0', 'Ausstehende Einlagen auf das Komplementär-Kapital, nicht eingefordert - andere Kapitalkontenanpassungen VH'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109155, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9155', '0', 'Verrechnungskonto für Einzahlungsverpflichtungen - andere Kapitalkontenanpassungen VH'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109156, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9156', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109157, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9157', '0', 'Privatsteuern Kapitalertragsteuer (VH)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109158, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9158', '0', 'Privatsteuern Solidaritätszuschlag (VH)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109159, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9159', '0', 'Privatsteuern Kirchensteuer (VH)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109160, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9160', '0', 'Kommandit-Kapital - andere Kapitalkontenanpassungen TH'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109161, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9161', '0', 'Variables Kapital - andere Kapitalkontenanpassungen TH'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109162, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9162', '0', 'Verlustausgleichskonto - andere Kapitalkontenanpassungen TH'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109163, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9163', '0', 'Kapitalkonto III - andere Kapitalkontenanpassungen TH'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109164, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9164', '0', 'Ausstehende Einlagen auf das Kommandit-Kapital, nicht eingefordert - andere Kapitalkontenanpassungen TH'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109165, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9165', '0', 'Verrechnungskonto für Einzahlungsverpflichtungen - andere Kapitalkontenanpassungen TH'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109166, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9166', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109167, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9167', '0', 'Privatsteuern Kapitalertragsteuer (TH), EK'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109168, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9168', '0', 'Privatsteuern Solidaritätszuschlag (TH), EK'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109169, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9169', '0', 'Privatsteuern Kirchensteuer (TH), EK'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109170, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9170', '0', 'Festkapital - Umbuchungen VH'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109171, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9171', '0', 'Variables Kapital - Umbuchungen VH'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109172, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9172', '0', 'Verlust-/Vortragskonto - Umbuchungen VH'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109173, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9173', '0', 'Kapitalkonto III - Umbuchungen VH'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109174, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9174', '0', 'Ausstehende Einlagen auf das Komplementär-Kapital, nicht eingefordert - Umbuchungen VH'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109175, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9175', '0', 'Verrechnungskonto für Einzahlungsverpflichtungen - Umbuchungen VH'); +---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109176, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9176', '0', ''); +---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109177, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9177', '0', ''); +---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109178, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9178', '0', ''); +---INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109179, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9179', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109180, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9180', '0', 'Kommandit-Kapital - Umbuchungen TH'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109181, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9181', '0', 'Variables Kapital - Umbuchungen TH'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109182, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9182', '0', 'Verlustausgleichskonto - Umbuchungen TH'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109183, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9183', '0', 'Kapitalkonto III - Umbuchungen TH'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109184, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9184', '0', 'Ausstehende Einlagen auf das Kommandit-Kapital, nicht eingefordert - Umbuchungen TH'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109185, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9185', '0', 'Verrechnungskonto für Einzahlungsverpflichtungen - Umbuchungen TH'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109186, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9186', '0', 'Privatsteuern Kapitalertragsteuer (TH), FK'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109187, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9187', '0', 'Privatsteuern Solidaritätszuschlag (TH), FK'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109188, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9188', '0', 'Privatsteuern Kirchensteuer (TH), FK'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109189, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9189', '0', 'Verrechnungskonto für Umbuchungen zwischen Gesellschafter-Eigenkapitalkonten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109190, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9190', '0', 'Gegenkonto für statistische Mengeneinheiten Konten 9101-9107 und Konten 9116-9118'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109199, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9199', '0', 'Gegenkonto zu Konten 9120, 9135-9140'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109200, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9200', '0', 'Beschäftigte Personen'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109201, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9201', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109202, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9202', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109203, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9203', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109204, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9204', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109205, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9205', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109206, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9206', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109207, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9207', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109208, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9208', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109209, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9209', '0', 'Gegenkonto zu 9200'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109210, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9210', '0', 'Produktive Löhne'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109219, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9219', '0', 'Gegenkonto zu 9210'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109220, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9220', '0', 'Gezeichnetes Kapital in DM (Art. 42 Abs. 3 Satz 1 EGHGB)'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109221, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9221', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109229, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9229', '0', 'Gegenkonto zu 9220'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109240, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9240', '0', 'Investitionsverbindlichkeiten bei den Leistungsverbindlichkeiten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109241, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9241', '0', 'Investitionsverbindlichkeiten aus Sachanlagekäufen bei Leistungsverbindlichkeiten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109242, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9242', '0', 'Investitionsverbindlichkeiten aus Käufen von immateriellen Vermögensgegenständen bei Leistungsverbindlichkeiten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109243, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9243', '0', 'Investitionsverbindlichkeiten aus Käufen von Finanzanlagen bei Leistungsverbindlichkeiten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109244, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9244', '0', 'Gegenkonto zu Konto 9240-43'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109245, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9245', '0', 'Forderungen aus Sachanlageverkäufen bei sonstigen Vermögensgegenständen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109246, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9246', '0', 'Forderungen aus Verkäufen immaterieller Vermögensgegenstände bei sonstigen Vermögensgegenständen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109247, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9247', '0', 'Forderungen aus Verkäufen von Finanzanlagen bei sonstigen Vermögensgegenständen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109249, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9249', '0', 'Gegenkonto zu Konto 9245-47'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109258, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9258', '0', 'Änderung steuerlicher Ausgleichsposten (ohne Ergebnisverwendung - Körperschaften)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109259, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9259', '0', 'Änderung steuerlicher Ausgleichsposten (ohne Ergebnisverwendung - Personengesellschaften, Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109260, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9260', '0', 'Kurzfristige Rückstellungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109262, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9262', '0', 'Mittelfristige Rückstellungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109264, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9264', '0', 'Langfristige Rückstellungen, außer Pensionen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109269, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9269', '0', 'Gegenkonto zu Konten 9260-9268'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109270, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9270', '0', 'Gegenkonto zu 9271-9279 (Soll-Buchung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109271, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9271', '0', 'Verbindlichkeiten aus der Begebung und Übertragung von Wechseln'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109272, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9272', '0', 'Verbindlichkeiten aus der Begebung und Übertragung von Wechseln gegenüber verbundenen/assoziierten Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109273, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9273', '0', 'Verbindlichkeiten aus Bürgschaften, Wechsel- und Scheckbürgschaften'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109274, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9274', '0', 'Verbindlichkeiten aus Bürgschaften, Wechsel- und Scheckbürgschaften gegenüber verbundenen/assoziierten Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109275, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9275', '0', 'Verbindlichkeiten aus Gewährleistungsverträgen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109276, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9276', '0', 'Verbindlichkeiten aus Gewährleistungsverträgen gegenüber verbundenen/assoziierten Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109277, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9277', '0', 'Haftung aus der Bestellung von Sicherheiten für fremde Verbindlichkeiten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109278, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9278', '0', 'Haftung aus der Bestellung von Sicherheiten für fremde Verbindlichkeiten gegenüber verbundenen/assoziierten Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109279, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9279', '0', 'Verpflichtungen aus Treuhandvermögen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109280, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9280', '0', 'Gegenkonto zu 9281-9284'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109281, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9281', '0', 'Verpflichtungen aus Miet- und Leasingverträgen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109282, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9282', '0', 'Verpflichtungen aus Miet- und Leasingverträgen gegenüber verbundenen Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109283, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9283', '0', 'Andere Verpflichtungen nach § 285 Nr. 3a HGB'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109284, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9284', '0', 'Andere Verpflichtungen nach § 285 Nr. 3a HGB gegenüber verbundenen Unternehmen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109285, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9285', '0', 'Unterschiedsbetrag aus der Abzinsung von Altersversorgungsverpflichtungen nach § 253 Abs. 6 HGB (Haben)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109286, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9286', '0', 'Gegenkonto zu 9285'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109287, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9287', '0', 'Zinsen bei Buchungen über Debitoren bei § 4 Abs. 3 EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109288, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9288', '0', 'Mahngebühren bei Buchungen über Debitoren bei § 4 Abs. 3 EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109289, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9289', '0', 'Gegenkonto zu 9287 und 9288'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109290, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9290', '0', 'Statistisches Konto steuerfreie Auslagen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109291, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9291', '0', 'Gegenkonto zu 9290'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109292, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9292', '0', 'Statistisches Konto Fremdgeld'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109293, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9293', '0', 'Gegenkonto zu 9292'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109295, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9295', '0', 'Einlagen atypisch stiller Gesellschafter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109297, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9297', '0', 'Steuerlicher Ausgleichsposten (Körperschaften)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109298, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9298', '0', 'Steuerlicher Ausgleichsposten VH(Personengesellschaften, Einzelunternehmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109299, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9299', '0', 'Steuerlicher Ausgleichsposten TH (Personengesellschaften)'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109300, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9300', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109301, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9301', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109302, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9302', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109303, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9303', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109304, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9304', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109305, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9305', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109306, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9306', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109307, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9307', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109308, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9308', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109309, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9309', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109310, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9310', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109311, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9311', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109312, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9312', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109313, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9313', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109314, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9314', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109315, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9315', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109316, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9316', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109317, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9317', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109318, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9318', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109319, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9319', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109320, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9320', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109326, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9326', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109327, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9327', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109328, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9328', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109329, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9329', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109330, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9330', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109331, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9331', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109332, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9332', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109333, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9333', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109334, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9334', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109335, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9335', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109336, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9336', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109337, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9337', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109338, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9338', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109339, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9339', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109340, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9340', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109341, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9341', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109342, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9342', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109343, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9343', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109346, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9346', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109347, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9347', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109348, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9348', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109349, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9349', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109357, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9357', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109358, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9358', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109359, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9359', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109360, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9360', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109365, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9365', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109366, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9366', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109367, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9367', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109371, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9371', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109372, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9372', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109390, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9390', '0', '(Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109391, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9391', '0', '(Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109392, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9392', '0', '(Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109393, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9393', '0', '(Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109394, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9394', '0', '(Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109395, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9395', '0', '(Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109396, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9396', '0', '(Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109397, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9397', '0', '(Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109398, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9398', '0', '(Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109399, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9399', '0', '(Zur freien Verfügung)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109400, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9400', '0', 'Privatentnahmen allgemein (TH), EK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109401, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9401', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109402, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9402', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109403, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9403', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109404, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9404', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109405, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9405', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109406, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9406', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109407, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9407', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109408, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9408', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109409, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9409', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109410, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9410', '0', 'Privatsteuern (TH), EK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109411, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9411', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109412, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9412', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109413, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9413', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109414, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9414', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109415, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9415', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109416, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9416', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109417, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9417', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109418, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9418', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109419, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9419', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109420, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9420', '0', 'Sonderausgaben beschränkt abzugsfähig (TH), EK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109421, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9421', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109422, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9422', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109423, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9423', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109424, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9424', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109425, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9425', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109426, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9426', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109427, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9427', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109428, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9428', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109429, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9429', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109430, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9430', '0', 'Sonderausgaben unbeschränkt abzugsfähig (TH), EK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109431, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9431', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109432, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9432', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109433, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9433', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109434, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9434', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109435, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9435', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109436, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9436', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109437, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9437', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109438, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9438', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109439, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9439', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109440, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9440', '0', 'Zuwendungen, Spenden (TH), EK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109441, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9441', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109442, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9442', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109443, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9443', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109444, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9444', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109445, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9445', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109446, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9446', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109447, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9447', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109448, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9448', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109449, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9449', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109450, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9450', '0', 'Außergewöhnliche Belastungen (TH), EK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109451, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9451', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109452, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9452', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109453, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9453', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109454, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9454', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109455, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9455', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109456, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9456', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109457, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9457', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109458, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9458', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109459, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9459', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109460, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9460', '0', 'Grundstücksaufwand (TH), EK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109461, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9461', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109462, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9462', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109463, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9463', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109464, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9464', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109465, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9465', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109466, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9466', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109467, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9467', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109468, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9468', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109469, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9469', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109470, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9470', '0', 'Grundstücksertrag (TH), EK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109471, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9471', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109472, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9472', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109473, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9473', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109474, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9474', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109475, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9475', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109476, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9476', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109477, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9477', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109478, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9478', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109479, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9479', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109480, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9480', '0', 'Unentgeltliche Wertabgaben (TH), EK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109481, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9481', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109482, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9482', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109483, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9483', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109484, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9484', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109485, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9485', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109486, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9486', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109487, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9487', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109488, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9488', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109489, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9489', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109490, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9490', '0', 'Privateinlagen (TH), EK'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109491, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9491', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109492, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9492', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109493, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9493', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109494, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9494', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109495, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9495', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109496, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9496', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109497, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9497', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109498, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9498', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109499, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9499', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109500, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9500', '0', 'Anteil für Konto 2000 Vollhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109501, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9501', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109502, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9502', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109503, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9503', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109504, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9504', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109505, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9505', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109506, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9506', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109507, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9507', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109508, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9508', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109509, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9509', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109510, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9510', '0', 'Anteil für Konto 2010 Vollhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109511, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9511', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109512, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9512', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109513, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9513', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109514, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9514', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109515, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9515', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109516, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9516', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109517, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9517', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109518, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9518', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109519, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9519', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109520, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9520', '0', 'Anteil für Konto 2020 Vollhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109521, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9521', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109522, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9522', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109523, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9523', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109524, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9524', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109525, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9525', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109526, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9526', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109527, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9527', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109528, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9528', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109529, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9529', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109530, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9530', '0', 'Anteil für Konto 9810 Vollhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109531, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9531', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109532, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9532', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109533, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9533', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109534, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9534', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109535, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9535', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109536, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9536', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109537, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9537', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109538, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9538', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109539, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9539', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109540, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9540', '0', 'Anteil für Konto 0060 Vollhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109541, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9541', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109542, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9542', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109543, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9543', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109544, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9544', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109545, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9545', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109546, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9546', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109547, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9547', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109548, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9548', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109549, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9549', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109550, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9550', '0', 'Anteil für Konto 2050 Teilhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109551, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9551', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109552, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9552', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109553, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9553', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109554, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9554', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109555, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9555', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109556, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9556', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109557, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9557', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109558, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9558', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109559, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9559', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109560, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9560', '0', 'Anteil für Konto 2060 Teilhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109561, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9561', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109562, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9562', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109563, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9563', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109564, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9564', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109565, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9565', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109566, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9566', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109567, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9567', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109568, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9568', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109569, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9569', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109570, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9570', '0', 'Anteil für Konto 2070 Teilhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109571, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9571', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109572, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9572', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109573, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9573', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109574, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9574', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109575, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9575', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109576, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9576', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109577, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9577', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109578, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9578', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109579, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9579', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109580, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9580', '0', 'Anteil für Konto 9820 Vollhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109581, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9581', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109582, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9582', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109583, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9583', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109584, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9584', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109585, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9585', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109586, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9586', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109587, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9587', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109588, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9588', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109589, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9589', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109590, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9590', '0', 'Anteil für Konto 0080 Teilhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109591, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9591', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109592, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9592', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109593, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9593', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109594, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9594', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109595, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9595', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109596, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9596', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109597, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9597', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109598, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9598', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109599, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9599', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109600, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9600', '0', 'Name des Gesellschafters Vollhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109601, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9601', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109602, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9602', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109603, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9603', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109604, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9604', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109605, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9605', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109606, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9606', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109607, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9607', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109608, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9608', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109609, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9609', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109610, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9610', '0', 'Tätigkeitsvergütung Vollhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109611, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9611', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109612, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9612', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109613, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9613', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109614, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9614', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109615, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9615', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109616, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9616', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109617, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9617', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109618, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9618', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109619, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9619', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109620, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9620', '0', 'Tantieme Vollhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109621, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9621', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109622, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9622', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109623, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9623', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109624, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9624', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109625, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9625', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109626, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9626', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109627, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9627', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109628, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9628', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109629, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9629', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109630, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9630', '0', 'Darlehensverzinsung Vollhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109631, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9631', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109632, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9632', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109633, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9633', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109634, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9634', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109635, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9635', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109636, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9636', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109637, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9637', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109638, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9638', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109639, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9639', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109640, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9640', '0', 'Gebrauchsüberlassung Vollhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109641, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9641', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109642, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9642', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109643, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9643', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109644, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9644', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109645, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9645', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109646, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9646', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109647, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9647', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109648, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9648', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109649, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9649', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109650, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9650', '0', 'Sonstige Vergütungen Vollhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109651, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9651', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109652, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9652', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109653, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9653', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109654, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9654', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109655, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9655', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109656, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9656', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109657, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9657', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109658, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9658', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109659, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9659', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109660, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9660', '0', 'Sonstige Vergütungen Vollhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109661, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9661', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109662, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9662', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109663, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9663', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109664, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9664', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109665, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9665', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109666, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9666', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109667, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9667', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109668, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9668', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109669, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9669', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109670, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9670', '0', 'Sonstige Vergütungen Vollhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109671, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9671', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109672, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9672', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109673, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9673', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109674, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9674', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109675, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9675', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109676, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9676', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109677, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9677', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109678, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9678', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109679, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9679', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109680, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9680', '0', 'Sonstige Vergütungen Vollhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109681, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9681', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109682, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9682', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109683, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9683', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109684, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9684', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109685, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9685', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109686, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9686', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109687, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9687', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109688, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9688', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109689, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9689', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109690, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9690', '0', 'Restanteil Vollhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109691, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9691', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109692, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9692', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109693, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9693', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109694, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9694', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109695, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9695', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109696, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9696', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109697, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9697', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109698, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9698', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109699, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9699', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109700, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9700', '0', 'Name des Gesellschafters Teilhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109701, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9701', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109702, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9702', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109703, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9703', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109704, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9704', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109705, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9705', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109706, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9706', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109707, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9707', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109708, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9708', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109709, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9709', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109710, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9710', '0', 'Tätigkeitsvergütung Teilhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109711, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9711', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109712, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9712', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109713, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9713', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109714, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9714', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109715, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9715', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109716, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9716', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109717, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9717', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109718, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9718', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109719, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9719', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109720, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9720', '0', 'Tantieme Teilhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109721, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9721', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109722, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9722', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109723, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9723', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109724, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9724', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109725, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9725', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109726, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9726', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109727, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9727', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109728, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9728', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109729, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9729', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109730, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9730', '0', 'Darlehensverzinsung Teilhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109731, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9731', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109732, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9732', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109733, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9733', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109734, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9734', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109735, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9735', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109736, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9736', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109737, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9737', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109738, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9738', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109739, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9739', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109740, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9740', '0', 'Gebrauchsüberlassung Teilhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109741, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9741', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109742, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9742', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109743, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9743', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109744, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9744', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109745, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9745', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109746, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9746', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109747, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9747', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109748, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9748', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109749, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9749', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109750, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9750', '0', 'Sonstige Vergütungen Teilhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109751, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9751', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109752, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9752', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109753, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9753', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109754, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9754', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109755, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9755', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109756, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9756', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109757, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9757', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109758, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9758', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109759, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9759', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109760, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9760', '0', 'Sonstige Vergütungen Teilhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109761, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9761', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109762, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9762', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109763, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9763', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109764, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9764', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109765, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9765', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109766, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9766', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109767, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9767', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109768, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9768', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109769, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9769', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109770, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9770', '0', 'Sonstige Vergütungen Teilhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109771, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9771', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109772, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9772', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109773, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9773', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109774, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9774', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109775, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9775', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109776, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9776', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109777, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9777', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109778, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9778', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109779, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9779', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109780, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9780', '0', 'Anteil für Konto 9840 Teilhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109781, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9781', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109782, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9782', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109783, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9783', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109784, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9784', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109785, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9785', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109786, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9786', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109787, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9787', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109788, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9788', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109789, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9789', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109790, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9790', '0', 'Restanteil Teilhafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109791, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9791', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109792, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9792', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109793, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9793', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109794, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9794', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109795, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9795', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109796, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9796', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109797, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9797', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109798, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9798', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109799, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9799', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109800, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9800', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109802, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9802', '0', 'Gesamthänderisch gebundene Rücklagen - andere Kapitalkontenanpassungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109803, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9803', '0', 'Gewinnvortrag/Verlustvortrag - andere Kapitalkontenanpassungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109804, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9804', '0', 'Gesamthänderisch gebundene Rücklagen - Umbuchungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109805, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9805', '0', 'Gewinnvortrag/Verlustvortrag - Umbuchungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109806, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9806', '0', 'Zuzurechnender Anteil am Jahresüberschuss/Jahresfehlbetrag - je Gesellschafter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109807, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9807', '0', 'Zuzurechnender Anteil am Bilanzgewinn/Bilanzverlust - je Gesellschafter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109808, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9808', '0', 'Gegenkonto für zuzurechnenden Anteil am Jahresüberschuss/Jahresfehlbetrag'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109809, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9809', '0', 'Gegenkonto für zuzurechnenden Anteil am Bilanzgewinn/Bilanzverlust'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109810, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9810', '0', 'Kapitalkonto III'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109811, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9811', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109812, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9812', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109813, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9813', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109814, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9814', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109815, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9815', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109816, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9816', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109817, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9817', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109818, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9818', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109819, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9819', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109820, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9820', '0', 'Verlust-/Vortragskonto'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109821, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9821', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109822, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9822', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109823, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9823', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109824, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9824', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109825, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9825', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109826, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9826', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109827, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9827', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109828, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9828', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109829, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9829', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109830, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9830', '0', 'Verrechnungskonto für Einzahlungsverpflichtungen'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109831, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9831', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109832, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9832', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109833, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9833', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109834, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9834', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109835, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9835', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109836, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9836', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109837, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9837', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109838, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9838', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109839, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9839', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109840, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9840', '0', 'Kapitalkonto III'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109841, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9841', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109842, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9842', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109843, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9843', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109844, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9844', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109845, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9845', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109846, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9846', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109847, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9847', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109848, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9848', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109849, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9849', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109850, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9850', '0', 'Verrechnungskonto für Einzahlungsverpflichtungen'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109851, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9851', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109852, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9852', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109853, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9853', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109854, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9854', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109855, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9855', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109856, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9856', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109857, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9857', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109858, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9858', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109859, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9859', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109860, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9860', '0', 'Einzahlungsverpflichtungen persönlich haftender Gesellschafter'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109861, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9861', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109862, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9862', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109863, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9863', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109864, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9864', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109865, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9865', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109866, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9866', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109867, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9867', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109868, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9868', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109869, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9869', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109870, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9870', '0', 'Einzahlungsverpflichtungen Kommanditisten'); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109871, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9871', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109872, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9872', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109873, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9873', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109874, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9874', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109875, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9875', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109876, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9876', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109877, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9877', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109878, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9878', '0', ''); +--INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109879, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9879', '0', ''); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109880, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9880', '0', 'Ausgleichsposten für aktivierte eigene Anteile'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109883, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9883', '0', 'Nicht durch Vermögenseinlagen gedeckte Entnahmen persönlich haftender Gesellschafter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109884, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9884', '0', 'Nicht durch Vermögenseinlagen gedeckte Entnahmen Kommanditisten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109885, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9885', '0', 'Verrechnungskonto für nicht durch Vermögenseinlagen gedeckte Entnahmen persönlich haftender Gesellschafter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109886, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9886', '0', 'Verrechnungskonto für nicht durch Vermögenseinlagen gedeckte Entnahmen Kommanditisten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109887, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9887', '0', 'Steueraufwand der Gesellschafter'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109889, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9889', '0', 'Gegenkonto zu 9887'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109890, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9890', '0', 'Statistisches Konto für den Gewinnzuschlag nach §§ 6b und 6c EStG (Haben)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109891, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9891', '0', 'Statistisches Konto für den Gewinnzuschlag nach §§ 6b und 6c EStG (Soll) - Gegenkonto zu 9890'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109892, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9892', '0', 'Veränderung der gesamthänderisch gebundenen Rücklagen (Einlagen/Entnahmen)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109893, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9893', '0', 'Umsatzsteuer in den Forderungen zum allgemeinen Umsatzsteuersatz (EÜR)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109894, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9894', '0', 'Umsatzsteuer in den Forderungen zum ermäßigten Umsatzsteuersatz (EÜR)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109895, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9895', '0', 'Gegenkonto 9893-9894 für die Aufteilung der Umsatzsteuer (EÜR)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109896, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9896', '0', 'Vorsteuer in den Verbindlichkeiten zum allgemeinen Umsatzsteuersatz (EÜR)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109897, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9897', '0', 'Vorsteuer in den Verbindlichkeiten zum ermäßigten Umsatzsteuersatz (EÜR)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109898, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9898', '0', 'Vorsteuer in den Verbindlichkeiten aus verschiedenen Kosten (EÜR)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109899, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9899', '0', 'Gegenkonto 9896-9897 für die Aufteilung der Vorsteuer (EÜR)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109900, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9900', '0', 'Umsatzsteuer nicht fällig - sonstige Erlöse (EÜR)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109901, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9901', '0', 'Gegenkonto zu 9900'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109902, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9902', '0', 'Umsatzsteuer in den Forderungen aus sonstigen Erlösen (EÜR)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109910, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9910', '0', 'Gegenkonto zur Minderung der Entnahmen § 4 Abs. 4a EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109911, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9911', '0', 'Minderung der Entnahmen § 4 Abs. 4a EStG (Haben)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109912, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9912', '0', 'Erhöhung der Entnahmen § 4 Abs. 4a EStG'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109913, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9913', '0', 'Gegenkonto zur Erhöhung der Entnahmen § 4 Abs. 4a EStG (Haben)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109914, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9914', '0', 'Hinzurechnung Investitionsabzugsbetrag § 7g Abs. 2 EStG aus dem 4. vorangegangenen Wirtschaftsjahr, außerbilanziell (Haben)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109915, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9915', '0', 'Rückgängigmachung Investitionsabzugsbetrag § 7g Abs. 3 und 4 EStG im 4. vorangegangenen Wirtschaftsjahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109916, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9916', '0', 'Hinzurechnung Investitionsabzugsbetrag § 7g Abs. 2 EStG aus dem 2. vorangegangenen Wirtschaftsjahr, außerbilanziell (Haben)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109917, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9917', '0', 'Hinzurechnung Investitionsabzugsbetrag § 7g Abs. 2 EStG aus dem 3. vorangegangenen Wirtschaftsjahr, außerbilanziell (Haben)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109918, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9918', '0', 'Rückgängigmachung Investitionsabzugsbetrag § 7g Abs. 3 und 4 EStG im 2. vorangegangenen Wirtschaftsjahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109919, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9919', '0', 'Rückgängigmachung Investitionsabzugsbetrag § 7g Abs. 3 und 4 EStG im 3. vorangegangenen Wirtschaftsjahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109960, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9960', '0', 'Bewertungskorrektur zu Forderungen aus Lieferungen und Leistungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109961, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9961', '0', 'Bewertungskorrektur zu sonstigen Verbindlichkeiten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109962, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9962', '0', 'Bewertungskorrektur zu Guthaben bei Kreditinstituten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109963, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9963', '0', 'Bewertungskorrektur zu Verbindlichkeiten gegenüber Kreditinstituten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109964, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9964', '0', 'Bewertungskorrektur zu Verbindlichkeiten aus Lieferungen und Leistungen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109965, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9965', '0', 'Bewertungskorrektur zu sonstigen Vermögensgegenständen'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109966, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9966', '0', 'Hinzurechnung Investitionsabzugsbetrag § 7g Abs. 2 EStG aus dem 6. vorangegangenen Wirtschaftsjahr, außerbilanziell (Haben)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109967, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9967', '0', 'Rückgängigmachung Investitionsabzugsbetrag § 7g Abs. 3 und 4 EStG im 6. vorangegangenen Wirtschaftsjahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109968, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9968', '0', 'Hinzurechnung Investitionsabzugsbetrag § 7g Abs. 2 EStG aus dem 5. vorangegangenen Wirtschaftsjahr, außerbilanziell (Haben)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109969, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9969', '0', 'Rückgängigmachung Investitionsabzugsbetrag § 7g Abs. 3 und 4 EStG im 5. vorangegangenen Wirtschaftsjahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109970, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9970', '0', 'Investitionsabzugsbetrag § 7g Abs. 1 EStG, außerbilanziell (Soll)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109971, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9971', '0', 'Investitionsabzugsbetrag § 7g Abs. 1 EStG, außerbilanziell (Haben) - Gegenkonto zu 9970'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109972, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9972', '0', 'Hinzurechnung Investitionsabzugsbetrag § 7g Abs. 2 EStG aus dem vorangegangenen Wirtschaftsjahr, außerbilanziell (Haben)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109973, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9973', '0', 'Hinzurechnung Investitionsabzugsbetrag § 7g Abs. 2 EStG aus den vorangegangenen Wirtschaftsjahren, außerbilanziell (Soll) - Gegenkonto zu 9972, 9914, 9916, 9917, 9968, 9966'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109974, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9974', '0', 'Rückgängigmachung Investitionsabzugsbetrag § 7g Abs. 3 und 4 EStG im vorangegangenen Wirtschaftsjahr'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109975, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9975', '0', 'Rückgängigmachung Investitionsabzugsbetrag § 7g Abs. 3 und 4 EStG in den vorangegangenen Wirtschaftsjahren - Gegenkonto zu 9974, 9915, 9918, 9919, 9969, 9967'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109976, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9976', '0', 'Nicht abzugsfähige Zinsaufwendungen nach § 4h EStG (Haben)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109977, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9977', '0', 'Nicht abzugsfähige Zinsaufwendungen nach § 4h EStG (Soll) - Gegenkonto zu 9976'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109978, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9978', '0', 'Abziehbare Zinsaufwendungen aus Vorjahren nach § 4h EStG (Soll)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109979, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9979', '0', 'Abziehbare Zinsaufwendungen aus Vorjahren nach § 4h EStG (Haben) - Gegenkonto zu 9978'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109980, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9980', '0', 'Anteil Belastung auf Verbindlichkeitskonten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109981, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9981', '0', 'Verrechnungskonto für Anteil Belastung auf Verbindlichkeitskonten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109982, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9982', '0', 'Anteil Gutschrift auf Verbindlichkeitskonten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109983, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9983', '0', 'Verrechnungskonto für Anteil Gutschrift auf Verbindlichkeitskonten'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109984, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9984', '0', 'Gewinnkorrektur nach § 60 Abs. 2 EStDV - Erhöhung handelsrechtliches Ergebnis durch Habenbuchung - Minderung handelsrechtliches Ergebnis durch Sollbuchung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109985, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9985', '0', 'Gegenkonto zu 9984'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109986, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9986', '0', 'Ergebnisverteilung auf Fremdkapital'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109987, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9987', '0', 'Korrekturkonto für die Überleitungsrechnung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109989, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9989', '0', 'Gegenkonto zu 9986-9988'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109990, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9990', '0', 'Erträge von außergewöhnlicher Größenordnung oder Bedeutung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109991, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9991', '0', 'Erträge (aperiodisch)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109992, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9992', '0', 'Erträge von außergewöhnlicher Größenordnung oder Bedeutung (aperiodisch)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109993, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9993', '0', 'Aufwendungen von außergewöhnlicher Größenordnung oder Bedeutung'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109994, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9994', '0', 'Aufwendungen (aperiodisch)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109995, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9995', '0', 'Aufwendungen von außergewöhnlicher Größenordnung oder Bedeutung (aperiodisch)'); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, 109998, 'SKR04', '9: Vortrags-, Kapital-, Korrektur- und statistische Konten', '9998', '0', 'Gegenkonto zu 9990-9997'); +---- 10-99: Personenkonten +----for x in {110000..169999}; do echo "INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, $x, 'SKR04', '10-99: Personenkonten', '$x', '0', 'Debitoren');"; done +----for x in {170000..199999}; do echo "INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label) VALUES (__ENTITY__, $x, 'SKR04', '10-99: Personenkonten', '$x', '0', 'Kreditoren');"; done diff --git a/htdocs/install/mysql/data/llx_accounting_account_gr.sql b/htdocs/install/mysql/data/llx_accounting_account_gr.sql index b80aa0bef4ad5..4203507b3eaa4 100644 --- a/htdocs/install/mysql/data/llx_accounting_account_gr.sql +++ b/htdocs/install/mysql/data/llx_accounting_account_gr.sql @@ -23,463 +23,463 @@ -- ID 1 - 460 -- ADD 1020000 to rowid # Do no remove this comment -- -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 1, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '1', 0, 'Ενσώματα και άυλα μη κυκλοφορούντα (πάγια) περιουσιακά στοιχεία', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 2, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '10', 1, 'Γη', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 3, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '10.01', 2, 'Μικτή αξία (κόστος ή αναπροσαρμοσμένη) γης', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 4, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '10.02', 2, 'Σωρευμένες απομειώσεις γης', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 5, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '11', 1, 'Διαμορφώσεις γης υποκείμενες σε απόσβεση', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 6, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '11.01', 5, 'Μικτή αξία (κόστος ή αναπροσαρμοσμένη) διαμορφώσεων γης', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 7, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '11.02', 5, 'Σωρευμένες αποσβέσεις διαμορφώσεων γης', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 8, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '11.03', 5, 'Σωρευμένες απομειώσεις διαμορφώσεων γης', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 9, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '12', 1, 'Κτήρια - τεχνικά έργα', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 10, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '12.01', 9, 'Μικτή αξία (κόστος ή αναπροσαρμοσμένη) κτηρίων - τεχνικών έργων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 11, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '12.02', 9, 'Σωρευμένες αποσβέσεις κτηρίων - τεχνικών έργων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 12, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '12.03', 9, 'Σωρευμένες απομειώσεις κτηρίων - τεχνικών έργων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 13, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '13', 1, 'Μηχανολογικός εξοπλισμός', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 14, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '13.01', 13, 'Αξία κτήσης μηχανολογικού εξοπλισμού', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 15, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '13.02', 13, 'Σωρευμένες αποσβέσεις μηχανολογικού εξοπλισμού', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 16, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '13.03', 13, 'Σωρευμένες απομειώσεις μηχανολογικού εξοπλισμού', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 17, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '14', 1, 'Μεταφορικά μέσα', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 18, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '14.01', 17, 'Μικτή αξία κτήσης μεταφορικών μέσων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 19, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '14.02', 17, 'Σωρευμένες αποσβέσεις μεταφορικών μέσων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 20, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '14.03', 17, 'Σωρευμένες απομειώσεις μεταφορικών μέσων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 21, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '15', 1, 'Λοιπός εξοπλισμός', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 22, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '15.01', 21, 'Μικτή αξία κτήσης εξοπλισμού', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 23, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '15.02', 21, 'Σωρευμένες αποσβέσεις εξοπλισμού', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 24, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '15.03', 21, 'Σωρευμένες απομειώσεις εξοπλισμού', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 25, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '16', 1, 'Επενδύσεις σε ακίνητα', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 26, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '16.01', 25, 'Μικτή αξία (κόστος ή αναπροσαρμοσμένη) επενδύσεων σε ακίνητα', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 27, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '16.02', 25, 'Σωρευμένες αποσβέσεις επενδύσεων σε ακίνητα', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 28, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '16.03', 25, 'Σωρευμένες απομειώσεις επενδύσεων σε ακίνητα', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 29, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '17', 1, 'Πάγια βιολογικά περιουσιακά στοιχεία', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 30, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '17.01', 29, 'Ζώντα ζώα', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 31, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '17.01.01', 30, 'Μικτή αξία (κόστος ή αναπροσαρμοσμένη) ζώντων ζώων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 32, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '17.01.02', 30, 'Σωρευμένες αποσβέσεις ζώντων ζώων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 33, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '17.01.03', 30, 'Σωρευμένες απομειώσεις ζώντων ζώων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 34, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '17.02', 29, 'Δένδρα και φυτά', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 35, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '17.02.01', 34, 'Μικτή αξία (κόστος ή αναπροσαρμοσμένη) δένδρων και φυτών', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 36, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '17.02.02', 34, 'Σωρευμένες αποσβέσεις δένδρων και φυτών', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 37, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '17.02.03', 34, 'Σωρευμένες απομειώσεις δένδρων και φυτών', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 38, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '18', 1, 'Άυλα', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 39, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '18.01', 38, 'Δαπάνες ανάπτυξης', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 40, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '18.01.01', 39, 'Μικτή αξία κτήσης δαπανών ανάπτυξης', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 41, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '18.01.02', 39, 'Σωρευμένες αποσβέσεις δαπανών ανάπτυξης', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 42, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '18.01.03', 39, 'Σωρευμένες απομειώσεις δαπανών ανάπτυξης', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 43, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '18.02', 38, 'Υπεραξία', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 44, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '18.02.01', 43, 'Μικτή αξία κτήσης υπεραξίας', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 45, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '18.02.02', 43, 'Σωρευμένες αποσβέσεις υπεραξίας', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 46, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '18.02.03', 43, 'Σωρευμένες απομειώσεις υπεραξίας', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 47, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '18.03', 38, 'Λοιπά άυλα', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 48, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '18.03.01', 47, 'Μικτή αξία κτήσης λοιπών άυλων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 49, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '18.03.02', 47, 'Σωρευμένες αποσβέσεις λοιπών άυλων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 50, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '18.03.03', 47, 'Σωρευμένες απομειώσεις λοιπών άυλων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 51, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '2', 0, 'Αποθέματα', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 52, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '20', 51, 'Εμπορεύματα', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 53, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '20.01', 52, 'Εμπορεύματα έναρξης', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 54, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '20.02', 52, 'Αγορές εμπορευμάτων χρήσης', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 55, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '20.03', 52, 'Εκπτώσεις αγορών εμπορευμάτων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 56, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '20.04', 52, 'Επιστροφές αγορών εμπορευμάτων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 57, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '20.05', 52, 'Απομείωση εμπορευμάτων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 58, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '20.06', 52, 'Εμπορεύματα λήξης', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 59, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '21', 51, 'Προϊόντα', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 60, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '21.01', 59, 'Προϊόντα έναρξης', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 61, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '21.02', 59, 'Παραγωγή χρήσης', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 62, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '21.03', 59, 'Απομείωση προϊόντων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 63, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '21.04', 59, 'Προϊόντα λήξης', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 64, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '22', 51, 'Βιολογικά περιουσιακά στοιχεία (κυκλοφορούντα)', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 65, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '22.01', 64, 'Ζώντα ζώα', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 66, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '22.01.01', 65, 'Ζώντα ζώα έναρξης', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 67, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '22.01.02', 65, 'Αγορές ζώντων ζώων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 68, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '22.01.03', 65, 'Εκπτώσεις αγορών ζώντων ζώων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 69, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '22.01.04', 65, 'Επιστροφές αγορών ζώντων ζώων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 70, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '22.01.05', 65, 'Απομείωση ζώντων ζώων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 71, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '22.01.06', 65, 'Διαφορές επιμέτρησης εύλογης αξίας ζώντων ζώων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 72, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '22.01.07', 65, 'Ζώντα ζώα λήξης', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 73, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '22.02', 64, 'Δένδρα και φυτά', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 74, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '22.02.01', 73, 'Δένδρα και φυτά έναρξης', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 75, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '22.02.02', 73, 'Αγορές δένδρων και φυτών', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 76, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '22.02.03', 73, 'Εκπτώσεις αγορών δένδρων και φυτών', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 77, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '22.02.04', 73, 'Επιστροφές αγορών δένδρων και φυτών', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 78, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '22.02.05', 73, 'Απομείωση δένδρων και φυτών', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 79, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '22.02.06', 73, 'Διαφορές επιμέτρησης εύλογης αξίας δένδρων και φυτών', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 80, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '22.02.07', 73, 'Δένδρα και φυτά λήξης', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 81, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '23', 51, 'Παραγωγή σε εξέλιξη', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 82, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '23.01', 81, 'Παραγωγή σε εξέλιξη έναρξης', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 83, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '23.02', 81, 'Παραγωγή σε εξέλιξη λήξης', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 84, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '24', 51, 'Πρώτες ύλες και υλικά', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 85, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '24.01', 84, 'Πρώτες ύλες και υλικά έναρξης', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 86, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '24.02', 84, 'Αγορές πρώτων υλών και υλικών χρήσης', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 87, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '24.03', 84, 'Εκπτώσεις αγορών πρώτων υλών και υλικών', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 88, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '24.04', 84, 'Επιστροφές αγορών πρώτων υλών και υλικών', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 89, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '24.05', 84, 'Απομείωση πρώτων υλών και υλικών', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 90, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '24.06', 84, 'Αποθέματα λήξης πρώτων υλών και υλικών', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 91, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '25', 51, 'Υλικά συσκευασίας', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 92, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '25.01', 91, 'Υλικά συσκευασίας έναρξης', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 93, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '25.02', 91, 'Αγορές υλικών συσκευασίας', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 94, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '25.03', 91, 'Εκπτώσεις αγορών υλικών συσκευασίας', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 95, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '25.04', 91, 'Επιστροφές αγορών υλικών συσκευασίας', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 96, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '25.05', 91, 'Απομείωση υλικών συσκευασίας', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 97, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '25.06', 91, 'Υλικά συσκευασίας λήξης', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 98, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '26', 51, 'Ανταλλακτικά παγίων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 99, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '26.01', 98, 'Ανταλλακτικά παγίων έναρξης', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 100, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '26.02', 98, 'Αγορές ανταλλακτικών παγίων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 101, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '26.03', 98, 'Εκπτώσεις αγορών ανταλλακτικών παγίων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 102, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '26.04', 98, 'Επιστροφές αγορών ανταλλακτικών παγίων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 103, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '26.05', 98, 'Απομείωση ανταλλακτικών', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 104, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '26.06', 98, 'Ανταλλακτικά παγίων λήξης', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 105, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '27', 51, 'Λοιπά αποθέματα', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 106, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '27.01', 105, 'Λοιπά αποθέματα έναρξης', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 107, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '27.02', 105, 'Αγορές λοιπών αποθεμάτων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 108, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '27.03', 105, 'Εκπτώσεις αγορών λοιπών αποθεμάτων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 109, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '27.04', 105, 'Επιστροφές αγορών λοιπών αποθεμάτων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 110, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '27.05', 105, 'Απομείωση λοιπών αποθεμάτων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 111, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '27.06', 105, 'Λοιπά αποθέματα λήξης', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 112, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '3', 0, 'Χρηματοοικονομικά και λοιπά περιουσιακά στοιχεία', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 113, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '30', 112, 'Πελάτες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 114, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '30.01', 113, 'Πελάτες - μη συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 115, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '30.01.01', 114, 'Πελάτες μη συνδεδεμένες οντότητες - ονομαστικό ποσό', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 116, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '30.01.02', 114, 'Μη δουλευμένοι τόκοι μη συνδεδεμένων πελατών', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 117, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '30.01.03', 114, 'Προκαταβολές μη συνδεδεμένων πελατών', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 118, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '30.01.04', 114, 'Απομείωση μη συνδεδεμένων πελατών', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 119, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '30.02', 113, 'Πελάτες - συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 120, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '30.02.01', 119, 'Συνδεδεμένοι πελάτες - ονομαστικό ποσό', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 121, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '30.02.02', 119, 'Μη δουλευμένοι τόκοι συνδεδεμένων πελατών', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 122, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '30.02.03', 119, 'Προκαταβολές συνδεδεμένων πελατών', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 123, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '30.02.04', 119, 'Απομείωση συνδεδεμένων πελατών', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 124, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '31', 112, 'Αξιόγραφα εμπορικών απαιτήσεων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 125, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '31.01', 124, 'Αξιόγραφα εμπορικών απαιτήσεων - μη συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 126, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '31.01.01', 125, 'Αξιόγραφα εμπορικών απαιτήσεων μη συνδεδεμένων οντοτήτων - ονομαστικό ποσό', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 127, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '31.01.02', 125, 'Μη δουλευμένοι τόκοι αξιογράφων εμπορικών απαιτήσεων μη συνδεδεμένων οντοτήτων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 128, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '31.01.03', 125, 'Απομείωση αξιογράφων εμπορικών απαιτήσεων μη συνδεδεμένων οντοτήτων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 129, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '31.02', 124, 'Αξιόγραφα εμπορικών απαιτήσεων - συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 130, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '31.02.01', 129, 'Αξιόγραφα εμπορικών απαιτήσεων συνδεδεμένων οντοτήτων - ονομαστικό ποσό', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 131, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '31.02.02', 129, 'Μη δουλευμένοι τόκοι αξιογράφων εμπορικών απαιτήσεων συνδεδεμένων οντοτήτων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 132, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '31.02.03', 129, 'Απομείωση αξιογράφων εμπορικών απαιτήσεων συνδεδεμένων οντοτήτων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 133, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '32', 112, 'Χορηγηθέντα δάνεια', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 134, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '32.01', 133, 'Δάνεια χορηγηθέντα σε συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 135, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '32.02', 133, 'Δάνεια χορηγηθέντα στο προσωπικό και στη διοίκηση', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 136, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '32.03', 133, 'Λοιπά χορηγηθέντα δάνεια', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 137, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '32.04', 133, 'Απομείωση χορηγηθέντων δανείων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 138, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '33', 112, 'Λοιπές απαιτήσεις', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 139, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '33.01', 138, 'Έσοδα από πάσης φύσεως συμμετοχές εισπρακτέα', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 140, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '33.01.01', 139, 'Έσοδα από πάσης φύσεως συμμετοχές εισπρακτέα - ονομαστικό ποσό', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 141, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '33.01.02', 139, 'Απομείωση - έσοδα από πάσης φύσεως συμμετοχές εισπρακτέα', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 142, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '33.02', 138, 'Άλλες απαιτήσεις από συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 143, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '33.02.01', 142, 'Άλλες απαιτήσεις από συνδεδεμένες οντότητες - ονομαστικό ποσό', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 144, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '33.02.02', 142, 'Απομείωση - άλλες απαιτήσεις από συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 145, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '33.03', 138, 'Άλλες απαιτήσεις από μη συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 146, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '33.03.01', 145, 'Άλλες απαιτήσεις από μη συνδεδεμένες οντότητες - ονομαστικό ποσό', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 147, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '33.03.02', 145, 'Απομείωση - άλλες απαιτήσεις από μη συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 148, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '33.04', 138, 'Εγγυήσεις', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 149, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '34', 112, 'Επενδύσεις', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 150, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '34.01', 149, 'Διακρατούμενες έως τη λήξη επενδύσεις', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 151, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '34.01.01', 150, 'Διακρατούμενες έως τη λήξη επενδύσεις - ονομαστική αξία', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 152, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '34.01.02', 150, 'Διακρατούμενες έως τη λήξη επενδύσεις - συμπληρωματικά ποσά', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 153, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '34.01.03', 150, 'Απομείωση διακρατούμενων έως τη λήξη επενδύσεων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 154, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '34.02', 149, 'Διαθέσιμα για πώληση', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 155, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '34.02.01', 154, 'Διαθέσιμα για πώληση', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 156, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '34.02.02', 154, 'Απομείωση διαθέσιμων για πώληση', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 157, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '34.03', 149, 'Εμπορικό χαρτοφυλάκιο', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 158, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '35', 112, 'Χρηματοοικονομικά στοιχεία για αντιστάθμιση', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 159, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '35.01', 158, 'Χρηματοοικονομικά στοιχεία για αντιστάθμιση εύλογης αξίας', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 160, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '35.02', 158, 'Χρηματοοικονομικά στοιχεία για αντιστάθμιση ταμειακών ροών', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 161, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '36', 112, 'Συμμετοχές', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 162, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '36.01', 161, 'Συμμετοχές σε θυγατρικές', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 163, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '36.01.01', 162, 'Συμμετοχές σε θυγατρικές', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 164, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '36.01.02', 162, 'Απομείωση συμμετοχών σε θυγατρικές', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 165, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '36.02', 161, 'Συμμετοχές σε συγγενείς', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 166, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '36.02.01', 165, 'Συμμετοχές σε συγγενείς', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 167, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '36.02.02', 165, 'Απομείωση συμμετοχών σε συγγενείς', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 168, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '36.03', 161, 'Συμμετοχές σε κοινοπραξίες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 169, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '36.03.01', 168, 'Συμμετοχές σε κοινοπραξίες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 170, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '36.03.02', 168, 'Απομείωσης συμμετοχών σε κοινοπραξίες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 171, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '37', 112, 'Προπληρωμένα έξοδα και δουλευμένα έσοδα περιόδου', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 172, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '37.01', 171, 'Προπληρωμένα έξοδα', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 173, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '37.01.01', 172, 'Προπληρωμένα έξοδα σε μη συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 174, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '37.01.02', 172, 'Προπληρωμένα έξοδα σε συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 175, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '37.02', 171, 'Δουλευμένα έσοδα περιόδου', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 176, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '37.02.01', 175, 'Δουλευμένα έσοδα περιόδου από μη συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 177, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '37.02.02', 175, 'Δουλευμένα έσοδα περιόδου από συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 178, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '38', 112, 'Ταμειακά διαθέσιμα και ισοδύναμα', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 179, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '38.01', 178, 'Ταμείο', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 180, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '38.02', 178, 'Καταθέσεις όψεως', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 181, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '38.03', 178, 'Καταθέσεις προθεσμίας', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 182, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '38.04', 178, 'Λοιπά ταμειακά ισοδύναμα', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 183, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '39', 112, 'Αναβαλλόμενοι φόροι ενεργητικού', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 184, 'Ε.Λ.Π.', 'ΚΑΘΑΡΗ ΘΕΣΗ', '4', 0, 'Καθαρή θέση', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 185, 'Ε.Λ.Π.', 'ΚΑΘΑΡΗ ΘΕΣΗ', '40', 184, 'Κεφάλαιο', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 186, 'Ε.Λ.Π.', 'ΚΑΘΑΡΗ ΘΕΣΗ', '41', 184, 'Υπέρ το άρτιο', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 187, 'Ε.Λ.Π.', 'ΚΑΘΑΡΗ ΘΕΣΗ', '42', 184, 'Καταθέσεις ιδιοκτητών', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 188, 'Ε.Λ.Π.', 'ΚΑΘΑΡΗ ΘΕΣΗ', '43', 184, 'Ίδιοι τίτλοι', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 189, 'Ε.Λ.Π.', 'ΚΑΘΑΡΗ ΘΕΣΗ', '43.01', 188, 'Αξία κτήσης ίδιων τίτλων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 190, 'Ε.Λ.Π.', 'ΚΑΘΑΡΗ ΘΕΣΗ', '43.02', 188, 'Αποτέλεσμα (κέρδος/ζημία) από τη διάθεση ίδιων τίτλων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 191, 'Ε.Λ.Π.', 'ΚΑΘΑΡΗ ΘΕΣΗ', '44', 184, 'Διαφορές εύλογης αξίας', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 192, 'Ε.Λ.Π.', 'ΚΑΘΑΡΗ ΘΕΣΗ', '44.01', 191, 'Διαφορές εύλογης αξίας ενσώματων παγίων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 193, 'Ε.Λ.Π.', 'ΚΑΘΑΡΗ ΘΕΣΗ', '44.02', 191, 'Διαφορές εύλογης αξίας διαθέσιμων για πώληση', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 194, 'Ε.Λ.Π.', 'ΚΑΘΑΡΗ ΘΕΣΗ', '44.03', 191, 'Διαφορές εύλογης αξίας στοιχείων αντιστάθμισης ταμειακών ροών', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 195, 'Ε.Λ.Π.', 'ΚΑΘΑΡΗ ΘΕΣΗ', '45', 184, 'Συναλλαγματικές διαφορές', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 196, 'Ε.Λ.Π.', 'ΚΑΘΑΡΗ ΘΕΣΗ', '46', 184, 'Αποθεματικά νόμων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 197, 'Ε.Λ.Π.', 'ΚΑΘΑΡΗ ΘΕΣΗ', '47', 184, 'Αφορολόγητα αποθεματικά', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 198, 'Ε.Λ.Π.', 'ΚΑΘΑΡΗ ΘΕΣΗ', '48', 184, 'Αποθεματικά καταστατικού και λοιπά αποθεματικά', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 199, 'Ε.Λ.Π.', 'ΚΑΘΑΡΗ ΘΕΣΗ', '48.01', 198, 'Αποθεματικά καταστατικού', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 200, 'Ε.Λ.Π.', 'ΚΑΘΑΡΗ ΘΕΣΗ', '48.02', 198, 'Προαιρετικά αποθεματικά αποφάσεων γενικής συνέλευσης ιδιοκτητών', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 201, 'Ε.Λ.Π.', 'ΚΑΘΑΡΗ ΘΕΣΗ', '49', 184, 'Αποτελέσματα εις νέο', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 202, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '5', 0, 'Υποχρεώσεις', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 203, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '50', 202, 'Προμηθευτές', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 204, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '50.01', 203, 'Προμηθευτές - μη συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 205, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '50.02', 203, 'Προμηθευτές - συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 206, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '50.03', 203, 'Προκαταβολές σε προμηθευτές - μη συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 207, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '50.03.01', 206, 'Προκαταβολές σε προμηθευτές για μη κυκλοφορούντα στοιχεία - μη συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 208, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '50.03.02', 206, 'Προκαταβολές σε προμηθευτές για αποθέματα - μη συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 209, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '50.03.03', 206, 'Λοιπές προκαταβολές σε προμηθευτές - μη συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 210, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '50.04', 203, 'Προκαταβολές σε προμηθευτές - συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 211, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '50.04.01', 210, 'Προκαταβολές σε προμηθευτές για μη κυκλοφορούντα στοιχεία - συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 212, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '50.04.02', 210, 'Προκαταβολές σε προμηθευτές για αποθέματα - συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 213, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '50.04.03', 210, 'Λοιπές προκαταβολές σε προμηθευτές - συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 214, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '51', 202, 'Αξιόγραφα εμπορικών υποχρεώσεων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 215, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '51.01', 214, 'Αξιόγραφα εμπορικών υποχρεώσεων - μη συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 216, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '51.02', 214, 'Αξιόγραφα εμπορικών υποχρεώσεων - συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 217, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '52', 202, 'Τραπεζικά δάνεια', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 218, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '52.01', 217, 'Τραπεζικά δάνεια - μη συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 219, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '52.02', 217, 'Τραπεζικά δάνεια - συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 220, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '53', 202, 'Λοιπές υποχρεώσεις', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 221, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '53.01', 220, 'Δάνεια από μη συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 222, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '53.02', 220, 'Δάνεια από συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 223, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '53.03', 220, 'Αποδοχές προσωπικού πληρωτέες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 224, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '53.04', 220, 'Υποχρεώσεις προς ιδιοκτήτες και διευθυντικό προσωπικό', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 225, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '53.05', 220, 'Μερίσματα, προμερίσματα και άλλα ποσά συναφούς φύσης πληρωτέα', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 226, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '53.06', 220, 'Άλλες υποχρεώσεις προς μη συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 227, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '53.07', 220, 'Άλλες υποχρεώσεις προς συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 228, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '54', 202, 'Υποχρεώσεις από φόρους και τέλη', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 229, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '54.01', 228, 'Φόρος εισοδήματος πληρωτέος', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 230, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '54.01.01', 229, 'Φόρος εισοδήματος ετήσιας δήλωσης', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 231, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '54.01.02', 229, 'Παρακρατούμενος φόρος εισοδήματος της οντότητας (αντίθετος)', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 232, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '54.01.03', 229, 'Προκαταβολή φόρου εισοδήματος (αντίθετος)', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 233, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '54.02', 228, 'Φόρος προστιθέμενης αξίας (ΦΠΑ)', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 234, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '54.02.01', 233, 'ΦΠΑ εκροών', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 235, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '54.02.02', 233, 'ΦΠΑ εισροών', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 236, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '54.02.03', 233, 'Καταβληθείς ΦΠΑ', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 237, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '54.03', 228, 'Παρακρατούμενοι φόροι εισοδήματος τρίτων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 238, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '54.03.01', 237, 'Παρακρατούμενος φόρος από μισθωτή εργασία και συντάξεις', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 239, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '54.03.02', 237, 'Παρακρατούμενος φόρος από επιχειρηματική δραστηριότητα', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 240, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '54.03.03', 237, 'Παρακρατούμενος φόρος διανεμομένων μερισμάτων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 241, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '54.03.04', 237, 'Λοιποί παρακρατούμενοι φόροι εισοδήματος', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 242, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '54.04', 228, 'Τέλη χαρτοσήμου', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 243, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '54.05', 228, 'Λοιποί φόροι, τέλη και εισφορές', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 244, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '55', 202, 'Υποχρεώσεις σε ασφαλιστικούς οργανισμούς', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 245, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '55.01', 244, 'Υποχρεώσεις σε ασφαλιστικούς οργανισμούς κύριας ασφάλισης', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 246, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '55.02', 244, 'Υποχρεώσεις σε ασφαλιστικούς οργανισμούς επικουρικής ασφάλισης', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 247, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '56', 202, 'Δουλευμένα έξοδα και έσοδα επομένων χρήσεων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 248, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '56.01', 247, 'Έξοδα χρήσεως δουλευμένα', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 249, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '56.01.01', 248, 'Έξοδα χρήσεως δουλευμένα - μη συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 250, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '56.01.02', 248, 'Έξοδα χρήσεως δουλευμένα - συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 251, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '56.02', 247, 'Έσοδα επόμενων χρήσεων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 252, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '56.02.01', 251, 'Έσοδα επόμενων χρήσεων - μη συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 253, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '56.02.02', 251, 'Έσοδα επόμενων χρήσεων - συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 254, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '57', 202, 'Προβλέψεις', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 255, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '57.01', 254, 'Προβλέψεις για παροχές σε εργαζομένους', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 256, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '57.02', 254, 'Λοιπές προβλέψεις', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 257, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '57.02.01', 256, 'Προβλέψεις για εκκρεμοδικίες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 258, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '57.02.02', 256, 'Προβλέψεις για δοσμένες εγγυήσεις', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 259, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '57.02.03', 256, 'Προβλέψεις για αποκατάσταση περιβάλλοντος', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 260, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '57.02.04', 256, 'Προβλέψεις για διαφορές φορολογικού ελέγχου', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 261, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '57.02.05', 256, 'Άλλες προβλέψεις', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 262, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '57.03', 254, 'Προβλέψεις για συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 263, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '58', 202, 'Κρατικές επιχορηγήσεις', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 264, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '59', 202, 'Αναβαλλόμενοι φόροι παθητικού', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 265, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '6', 0, 'Έξοδα και ζημιές', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 266, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '60', 265, 'Παροχές σε εργαζόμενους', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 267, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '60.01', 266, 'Μικτές αποδοχές', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 268, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '60.02', 266, 'Εργοδοτικές εισφορές', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 269, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '60.03', 266, 'Λοιπές παροχές', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 270, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '60.04', 266, 'Προβλέψεις για παροχές μετά την έξοδο από την υπηρεσία (καθαρό ποσό)', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 271, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '60.05', 266, 'Παροχές σε εργαζόμενους σε συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 272, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '61', 265, 'Ζημιές επιμέτρησης περιουσιακών στοιχείων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 273, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '61.01', 272, 'Απομείωση ενσώματων παγίων (πλην βιολογικών)', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 274, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '61.02', 272, 'Απομείωση βιολογικών περιουσιακών στοιχείων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 275, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '61.03', 272, 'Απομείωση άυλων παγίων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 276, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '61.04', 272, 'Απομείωση αποθεμάτων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 277, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '61.05', 272, 'Απομείωση χρηματοοικονομιικών στοιχείων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 278, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '61.05.01', 277, 'Απομείωση πελατών', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 279, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '61.05.02', 277, 'Απομείωση αξιογράφων εμπορικών απαιτήσεων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 280, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '61.05.03', 277, 'Απομείωση διακρατούμενων μέχρι τη λήξη επενδύσεων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 281, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '61.05.04', 277, 'Απομείωση συμμετοχών σε θυγατρικές', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 282, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '61.05.05', 277, 'Απομείωση συμμετοχών σε συγγενείς', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 283, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '61.05.06', 277, 'Απομείωση συμμετοχών σε κοινοπραξίες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 284, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '61.06', 272, 'Απομείωση λοιπών περιουσιακών στοιχείων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 285, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '61.07', 272, 'Ζημίες από επιμέτρηση στην εύλογη αξία', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 286, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '61.07.01', 285, 'Ζημιές εύλογης αξίας ενσώματων πάγιων στοιχείων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 287, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '61.07.02', 285, 'Ζημιές εύλογης αξίας βιολογικών περιουσιακών στοιχείων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 288, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '61.07.03', 285, 'Ζημιές εύλογης αξίας χρηματοοικονομικών στοιχείων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 289, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '62', 265, 'Χρεωστικές συναλλαγματικές διαφορές', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 290, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '62.01', 289, 'Χρεωστικές συναλλαγματικές διαφορές από διακανονισμό', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 291, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '62.01.01', 290, 'Χρεωστικές συν/τικές διαφορές διακανονισμού εμπορικών απαιτήσεων και υποχρεώσεων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 292, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '62.01.02', 290, 'Χρεωστικές συν/τικές διαφορές διακανονισμού δανείων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 293, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '62.01.03', 290, 'Χρεωστικές συν/τικές διαφορές διακανονισμού λοιπών στοιχείων ισολογισμού', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 294, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '62.02', 289, 'Χρεωστικές συναλλαγματικές διαφορές επιμέτρησης', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 295, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '62.02.01', 294, 'Χρεωστικές συν/τικές διαφορές επιμέτρησης εμπορικών απαιτήσεων και υποχρεώσεων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 296, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '62.02.02', 294, 'Χρεωστικές συν/τικές διαφορές επιμέτρησης δανείων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 297, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '62.02.03', 294, 'Χρεωστικές συν/τικές διαφορές επιμέτρησης λοιπών στοιχείων ισολογισμού', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 298, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '63', 265, 'Ζημιές από διάθεση-απόσυρση μη κυκλοφορούντων περιουσιακών στοιχείων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 299, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '63.01', 298, 'Ζημιές από διάθεση-απόσυρση ενσώματων παγίων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 300, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '63.02', 298, 'Ζημιές από διάθεση-απόσυρση άυλων πάγιων στοιχείων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 301, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '63.03', 298, 'Ζημιές από διάθεση χρηματοοικονομικών στοιχείων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 302, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '63.04', 298, 'Ζημιές από διάθεση - απόσυρση περιουσιακών στοιχείων σε συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 303, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '64', 265, 'Διάφορα λειτουργικά έξοδα', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 304, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '64.01', 303, 'Αμοιβές για υπηρεσίες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 305, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '64.01.01', 304, 'Αμοιβές για υπηρεσίες - μη συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 306, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '64.01.02', 304, 'Αμοιβές για υπηρεσίες - συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 307, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '64.02', 303, 'Ενέργεια', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 308, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '64.03', 303, 'Ύδρευση', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 309, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '64.04', 303, 'Τηλεπικοινωνίες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 310, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '64.05', 303, 'Ενοίκια', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 311, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '64.05.01', 310, 'Ενοίκια - μη συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 312, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '64.05.02', 310, 'Ενοίκια - συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 313, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '64.06', 303, 'Ασφάλιστρα', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 314, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '64.07', 303, 'Μεταφορικά', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 315, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '64.08', 303, 'Αναλώσιμα', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 316, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '64.09', 303, 'Επισκευές και συντηρήσεις', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 317, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '64.10', 303, 'Διαφήμιση και προβολή', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 318, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '64.11', 303, 'Φόροι και τέλη (πλην φόρου εισοδήματος)', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 319, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '64.12', 303, 'Λοιπά έξοδα', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 320, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '64.13', 303, 'Διάφορα λειτουργικά έξοδα από συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 321, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '65', 265, 'Χρεωστικοί τόκοι και συναφή έξοδα', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 322, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '65.01', 321, 'Τόκοι τραπεζικών δανείων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 323, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '65.02', 321, 'Τόκοι δανείων από συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 324, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '65.03', 321, 'Τόκοι λοιπών δανείων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 325, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '65.04', 321, 'Τόκοι λοιπών υποχρεώσεων και προβλέψεων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 326, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '65.05', 321, 'Λοιπά χρηματοοικονομικά έξοδα', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 327, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '66', 265, 'Αποσβέσεις', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 328, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '66.01', 327, 'Αποσβέσεις διαμορφώσεων γης', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 329, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '66.02', 327, 'Αποσβέσεις κτηρίων - τεχνικών έργων', 1), +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 1, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '1', 0, 'Ενσώματα και άυλα μη κυκλοφορούντα (πάγια) περιουσιακά στοιχεία', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 2, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '10', 1, 'Γη', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 3, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '10.01', 2, 'Μικτή αξία (κόστος ή αναπροσαρμοσμένη) γης', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 4, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '10.02', 2, 'Σωρευμένες απομειώσεις γης', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 5, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '11', 1, 'Διαμορφώσεις γης υποκείμενες σε απόσβεση', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 6, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '11.01', 5, 'Μικτή αξία (κόστος ή αναπροσαρμοσμένη) διαμορφώσεων γης', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 7, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '11.02', 5, 'Σωρευμένες αποσβέσεις διαμορφώσεων γης', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 8, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '11.03', 5, 'Σωρευμένες απομειώσεις διαμορφώσεων γης', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 9, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '12', 1, 'Κτήρια - τεχνικά έργα', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 10, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '12.01', 9, 'Μικτή αξία (κόστος ή αναπροσαρμοσμένη) κτηρίων - τεχνικών έργων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 11, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '12.02', 9, 'Σωρευμένες αποσβέσεις κτηρίων - τεχνικών έργων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 12, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '12.03', 9, 'Σωρευμένες απομειώσεις κτηρίων - τεχνικών έργων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 13, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '13', 1, 'Μηχανολογικός εξοπλισμός', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 14, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '13.01', 13, 'Αξία κτήσης μηχανολογικού εξοπλισμού', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 15, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '13.02', 13, 'Σωρευμένες αποσβέσεις μηχανολογικού εξοπλισμού', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 16, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '13.03', 13, 'Σωρευμένες απομειώσεις μηχανολογικού εξοπλισμού', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 17, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '14', 1, 'Μεταφορικά μέσα', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 18, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '14.01', 17, 'Μικτή αξία κτήσης μεταφορικών μέσων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 19, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '14.02', 17, 'Σωρευμένες αποσβέσεις μεταφορικών μέσων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 20, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '14.03', 17, 'Σωρευμένες απομειώσεις μεταφορικών μέσων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 21, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '15', 1, 'Λοιπός εξοπλισμός', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 22, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '15.01', 21, 'Μικτή αξία κτήσης εξοπλισμού', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 23, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '15.02', 21, 'Σωρευμένες αποσβέσεις εξοπλισμού', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 24, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '15.03', 21, 'Σωρευμένες απομειώσεις εξοπλισμού', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 25, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '16', 1, 'Επενδύσεις σε ακίνητα', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 26, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '16.01', 25, 'Μικτή αξία (κόστος ή αναπροσαρμοσμένη) επενδύσεων σε ακίνητα', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 27, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '16.02', 25, 'Σωρευμένες αποσβέσεις επενδύσεων σε ακίνητα', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 28, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '16.03', 25, 'Σωρευμένες απομειώσεις επενδύσεων σε ακίνητα', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 29, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '17', 1, 'Πάγια βιολογικά περιουσιακά στοιχεία', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 30, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '17.01', 29, 'Ζώντα ζώα', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 31, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '17.01.01', 30, 'Μικτή αξία (κόστος ή αναπροσαρμοσμένη) ζώντων ζώων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 32, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '17.01.02', 30, 'Σωρευμένες αποσβέσεις ζώντων ζώων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 33, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '17.01.03', 30, 'Σωρευμένες απομειώσεις ζώντων ζώων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 34, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '17.02', 29, 'Δένδρα και φυτά', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 35, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '17.02.01', 34, 'Μικτή αξία (κόστος ή αναπροσαρμοσμένη) δένδρων και φυτών', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 36, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '17.02.02', 34, 'Σωρευμένες αποσβέσεις δένδρων και φυτών', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 37, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '17.02.03', 34, 'Σωρευμένες απομειώσεις δένδρων και φυτών', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 38, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '18', 1, 'Άυλα', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 39, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '18.01', 38, 'Δαπάνες ανάπτυξης', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 40, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '18.01.01', 39, 'Μικτή αξία κτήσης δαπανών ανάπτυξης', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 41, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '18.01.02', 39, 'Σωρευμένες αποσβέσεις δαπανών ανάπτυξης', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 42, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '18.01.03', 39, 'Σωρευμένες απομειώσεις δαπανών ανάπτυξης', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 43, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '18.02', 38, 'Υπεραξία', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 44, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '18.02.01', 43, 'Μικτή αξία κτήσης υπεραξίας', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 45, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '18.02.02', 43, 'Σωρευμένες αποσβέσεις υπεραξίας', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 46, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '18.02.03', 43, 'Σωρευμένες απομειώσεις υπεραξίας', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 47, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '18.03', 38, 'Λοιπά άυλα', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 48, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '18.03.01', 47, 'Μικτή αξία κτήσης λοιπών άυλων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 49, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '18.03.02', 47, 'Σωρευμένες αποσβέσεις λοιπών άυλων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 50, 'Ε.Λ.Π.', 'ΠΑΓΙΑ', '18.03.03', 47, 'Σωρευμένες απομειώσεις λοιπών άυλων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 51, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '2', 0, 'Αποθέματα', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 52, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '20', 51, 'Εμπορεύματα', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 53, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '20.01', 52, 'Εμπορεύματα έναρξης', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 54, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '20.02', 52, 'Αγορές εμπορευμάτων χρήσης', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 55, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '20.03', 52, 'Εκπτώσεις αγορών εμπορευμάτων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 56, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '20.04', 52, 'Επιστροφές αγορών εμπορευμάτων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 57, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '20.05', 52, 'Απομείωση εμπορευμάτων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 58, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '20.06', 52, 'Εμπορεύματα λήξης', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 59, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '21', 51, 'Προϊόντα', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 60, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '21.01', 59, 'Προϊόντα έναρξης', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 61, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '21.02', 59, 'Παραγωγή χρήσης', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 62, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '21.03', 59, 'Απομείωση προϊόντων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 63, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '21.04', 59, 'Προϊόντα λήξης', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 64, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '22', 51, 'Βιολογικά περιουσιακά στοιχεία (κυκλοφορούντα)', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 65, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '22.01', 64, 'Ζώντα ζώα', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 66, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '22.01.01', 65, 'Ζώντα ζώα έναρξης', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 67, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '22.01.02', 65, 'Αγορές ζώντων ζώων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 68, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '22.01.03', 65, 'Εκπτώσεις αγορών ζώντων ζώων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 69, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '22.01.04', 65, 'Επιστροφές αγορών ζώντων ζώων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 70, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '22.01.05', 65, 'Απομείωση ζώντων ζώων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 71, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '22.01.06', 65, 'Διαφορές επιμέτρησης εύλογης αξίας ζώντων ζώων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 72, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '22.01.07', 65, 'Ζώντα ζώα λήξης', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 73, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '22.02', 64, 'Δένδρα και φυτά', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 74, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '22.02.01', 73, 'Δένδρα και φυτά έναρξης', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 75, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '22.02.02', 73, 'Αγορές δένδρων και φυτών', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 76, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '22.02.03', 73, 'Εκπτώσεις αγορών δένδρων και φυτών', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 77, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '22.02.04', 73, 'Επιστροφές αγορών δένδρων και φυτών', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 78, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '22.02.05', 73, 'Απομείωση δένδρων και φυτών', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 79, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '22.02.06', 73, 'Διαφορές επιμέτρησης εύλογης αξίας δένδρων και φυτών', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 80, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '22.02.07', 73, 'Δένδρα και φυτά λήξης', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 81, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '23', 51, 'Παραγωγή σε εξέλιξη', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 82, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '23.01', 81, 'Παραγωγή σε εξέλιξη έναρξης', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 83, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '23.02', 81, 'Παραγωγή σε εξέλιξη λήξης', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 84, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '24', 51, 'Πρώτες ύλες και υλικά', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 85, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '24.01', 84, 'Πρώτες ύλες και υλικά έναρξης', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 86, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '24.02', 84, 'Αγορές πρώτων υλών και υλικών χρήσης', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 87, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '24.03', 84, 'Εκπτώσεις αγορών πρώτων υλών και υλικών', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 88, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '24.04', 84, 'Επιστροφές αγορών πρώτων υλών και υλικών', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 89, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '24.05', 84, 'Απομείωση πρώτων υλών και υλικών', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 90, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '24.06', 84, 'Αποθέματα λήξης πρώτων υλών και υλικών', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 91, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '25', 51, 'Υλικά συσκευασίας', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 92, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '25.01', 91, 'Υλικά συσκευασίας έναρξης', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 93, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '25.02', 91, 'Αγορές υλικών συσκευασίας', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 94, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '25.03', 91, 'Εκπτώσεις αγορών υλικών συσκευασίας', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 95, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '25.04', 91, 'Επιστροφές αγορών υλικών συσκευασίας', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 96, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '25.05', 91, 'Απομείωση υλικών συσκευασίας', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 97, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '25.06', 91, 'Υλικά συσκευασίας λήξης', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 98, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '26', 51, 'Ανταλλακτικά παγίων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 99, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '26.01', 98, 'Ανταλλακτικά παγίων έναρξης', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 100, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '26.02', 98, 'Αγορές ανταλλακτικών παγίων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 101, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '26.03', 98, 'Εκπτώσεις αγορών ανταλλακτικών παγίων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 102, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '26.04', 98, 'Επιστροφές αγορών ανταλλακτικών παγίων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 103, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '26.05', 98, 'Απομείωση ανταλλακτικών', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 104, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '26.06', 98, 'Ανταλλακτικά παγίων λήξης', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 105, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '27', 51, 'Λοιπά αποθέματα', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 106, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '27.01', 105, 'Λοιπά αποθέματα έναρξης', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 107, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '27.02', 105, 'Αγορές λοιπών αποθεμάτων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 108, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '27.03', 105, 'Εκπτώσεις αγορών λοιπών αποθεμάτων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 109, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '27.04', 105, 'Επιστροφές αγορών λοιπών αποθεμάτων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 110, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '27.05', 105, 'Απομείωση λοιπών αποθεμάτων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 111, 'Ε.Λ.Π.', 'ΑΠΟΘΕΜΑΤΑ', '27.06', 105, 'Λοιπά αποθέματα λήξης', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 112, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '3', 0, 'Χρηματοοικονομικά και λοιπά περιουσιακά στοιχεία', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 113, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '30', 112, 'Πελάτες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 114, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '30.01', 113, 'Πελάτες - μη συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 115, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '30.01.01', 114, 'Πελάτες μη συνδεδεμένες οντότητες - ονομαστικό ποσό', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 116, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '30.01.02', 114, 'Μη δουλευμένοι τόκοι μη συνδεδεμένων πελατών', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 117, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '30.01.03', 114, 'Προκαταβολές μη συνδεδεμένων πελατών', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 118, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '30.01.04', 114, 'Απομείωση μη συνδεδεμένων πελατών', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 119, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '30.02', 113, 'Πελάτες - συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 120, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '30.02.01', 119, 'Συνδεδεμένοι πελάτες - ονομαστικό ποσό', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 121, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '30.02.02', 119, 'Μη δουλευμένοι τόκοι συνδεδεμένων πελατών', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 122, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '30.02.03', 119, 'Προκαταβολές συνδεδεμένων πελατών', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 123, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '30.02.04', 119, 'Απομείωση συνδεδεμένων πελατών', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 124, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '31', 112, 'Αξιόγραφα εμπορικών απαιτήσεων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 125, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '31.01', 124, 'Αξιόγραφα εμπορικών απαιτήσεων - μη συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 126, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '31.01.01', 125, 'Αξιόγραφα εμπορικών απαιτήσεων μη συνδεδεμένων οντοτήτων - ονομαστικό ποσό', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 127, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '31.01.02', 125, 'Μη δουλευμένοι τόκοι αξιογράφων εμπορικών απαιτήσεων μη συνδεδεμένων οντοτήτων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 128, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '31.01.03', 125, 'Απομείωση αξιογράφων εμπορικών απαιτήσεων μη συνδεδεμένων οντοτήτων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 129, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '31.02', 124, 'Αξιόγραφα εμπορικών απαιτήσεων - συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 130, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '31.02.01', 129, 'Αξιόγραφα εμπορικών απαιτήσεων συνδεδεμένων οντοτήτων - ονομαστικό ποσό', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 131, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '31.02.02', 129, 'Μη δουλευμένοι τόκοι αξιογράφων εμπορικών απαιτήσεων συνδεδεμένων οντοτήτων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 132, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '31.02.03', 129, 'Απομείωση αξιογράφων εμπορικών απαιτήσεων συνδεδεμένων οντοτήτων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 133, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '32', 112, 'Χορηγηθέντα δάνεια', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 134, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '32.01', 133, 'Δάνεια χορηγηθέντα σε συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 135, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '32.02', 133, 'Δάνεια χορηγηθέντα στο προσωπικό και στη διοίκηση', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 136, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '32.03', 133, 'Λοιπά χορηγηθέντα δάνεια', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 137, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '32.04', 133, 'Απομείωση χορηγηθέντων δανείων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 138, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '33', 112, 'Λοιπές απαιτήσεις', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 139, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '33.01', 138, 'Έσοδα από πάσης φύσεως συμμετοχές εισπρακτέα', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 140, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '33.01.01', 139, 'Έσοδα από πάσης φύσεως συμμετοχές εισπρακτέα - ονομαστικό ποσό', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 141, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '33.01.02', 139, 'Απομείωση - έσοδα από πάσης φύσεως συμμετοχές εισπρακτέα', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 142, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '33.02', 138, 'Άλλες απαιτήσεις από συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 143, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '33.02.01', 142, 'Άλλες απαιτήσεις από συνδεδεμένες οντότητες - ονομαστικό ποσό', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 144, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '33.02.02', 142, 'Απομείωση - άλλες απαιτήσεις από συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 145, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '33.03', 138, 'Άλλες απαιτήσεις από μη συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 146, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '33.03.01', 145, 'Άλλες απαιτήσεις από μη συνδεδεμένες οντότητες - ονομαστικό ποσό', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 147, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '33.03.02', 145, 'Απομείωση - άλλες απαιτήσεις από μη συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 148, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '33.04', 138, 'Εγγυήσεις', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 149, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '34', 112, 'Επενδύσεις', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 150, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '34.01', 149, 'Διακρατούμενες έως τη λήξη επενδύσεις', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 151, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '34.01.01', 150, 'Διακρατούμενες έως τη λήξη επενδύσεις - ονομαστική αξία', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 152, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '34.01.02', 150, 'Διακρατούμενες έως τη λήξη επενδύσεις - συμπληρωματικά ποσά', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 153, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '34.01.03', 150, 'Απομείωση διακρατούμενων έως τη λήξη επενδύσεων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 154, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '34.02', 149, 'Διαθέσιμα για πώληση', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 155, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '34.02.01', 154, 'Διαθέσιμα για πώληση', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 156, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '34.02.02', 154, 'Απομείωση διαθέσιμων για πώληση', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 157, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '34.03', 149, 'Εμπορικό χαρτοφυλάκιο', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 158, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '35', 112, 'Χρηματοοικονομικά στοιχεία για αντιστάθμιση', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 159, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '35.01', 158, 'Χρηματοοικονομικά στοιχεία για αντιστάθμιση εύλογης αξίας', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 160, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '35.02', 158, 'Χρηματοοικονομικά στοιχεία για αντιστάθμιση ταμειακών ροών', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 161, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '36', 112, 'Συμμετοχές', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 162, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '36.01', 161, 'Συμμετοχές σε θυγατρικές', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 163, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '36.01.01', 162, 'Συμμετοχές σε θυγατρικές', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 164, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '36.01.02', 162, 'Απομείωση συμμετοχών σε θυγατρικές', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 165, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '36.02', 161, 'Συμμετοχές σε συγγενείς', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 166, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '36.02.01', 165, 'Συμμετοχές σε συγγενείς', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 167, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '36.02.02', 165, 'Απομείωση συμμετοχών σε συγγενείς', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 168, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '36.03', 161, 'Συμμετοχές σε κοινοπραξίες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 169, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '36.03.01', 168, 'Συμμετοχές σε κοινοπραξίες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 170, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '36.03.02', 168, 'Απομείωσης συμμετοχών σε κοινοπραξίες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 171, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '37', 112, 'Προπληρωμένα έξοδα και δουλευμένα έσοδα περιόδου', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 172, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '37.01', 171, 'Προπληρωμένα έξοδα', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 173, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '37.01.01', 172, 'Προπληρωμένα έξοδα σε μη συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 174, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '37.01.02', 172, 'Προπληρωμένα έξοδα σε συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 175, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '37.02', 171, 'Δουλευμένα έσοδα περιόδου', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 176, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '37.02.01', 175, 'Δουλευμένα έσοδα περιόδου από μη συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 177, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '37.02.02', 175, 'Δουλευμένα έσοδα περιόδου από συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 178, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '38', 112, 'Ταμειακά διαθέσιμα και ισοδύναμα', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 179, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '38.01', 178, 'Ταμείο', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 180, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '38.02', 178, 'Καταθέσεις όψεως', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 181, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '38.03', 178, 'Καταθέσεις προθεσμίας', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 182, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '38.04', 178, 'Λοιπά ταμειακά ισοδύναμα', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 183, 'Ε.Λ.Π.', 'ΧΡΗΜΑΤΟΟΙΚΟΝΟΜΙΚΑ', '39', 112, 'Αναβαλλόμενοι φόροι ενεργητικού', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 184, 'Ε.Λ.Π.', 'ΚΑΘΑΡΗ ΘΕΣΗ', '4', 0, 'Καθαρή θέση', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 185, 'Ε.Λ.Π.', 'ΚΑΘΑΡΗ ΘΕΣΗ', '40', 184, 'Κεφάλαιο', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 186, 'Ε.Λ.Π.', 'ΚΑΘΑΡΗ ΘΕΣΗ', '41', 184, 'Υπέρ το άρτιο', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 187, 'Ε.Λ.Π.', 'ΚΑΘΑΡΗ ΘΕΣΗ', '42', 184, 'Καταθέσεις ιδιοκτητών', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 188, 'Ε.Λ.Π.', 'ΚΑΘΑΡΗ ΘΕΣΗ', '43', 184, 'Ίδιοι τίτλοι', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 189, 'Ε.Λ.Π.', 'ΚΑΘΑΡΗ ΘΕΣΗ', '43.01', 188, 'Αξία κτήσης ίδιων τίτλων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 190, 'Ε.Λ.Π.', 'ΚΑΘΑΡΗ ΘΕΣΗ', '43.02', 188, 'Αποτέλεσμα (κέρδος/ζημία) από τη διάθεση ίδιων τίτλων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 191, 'Ε.Λ.Π.', 'ΚΑΘΑΡΗ ΘΕΣΗ', '44', 184, 'Διαφορές εύλογης αξίας', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 192, 'Ε.Λ.Π.', 'ΚΑΘΑΡΗ ΘΕΣΗ', '44.01', 191, 'Διαφορές εύλογης αξίας ενσώματων παγίων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 193, 'Ε.Λ.Π.', 'ΚΑΘΑΡΗ ΘΕΣΗ', '44.02', 191, 'Διαφορές εύλογης αξίας διαθέσιμων για πώληση', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 194, 'Ε.Λ.Π.', 'ΚΑΘΑΡΗ ΘΕΣΗ', '44.03', 191, 'Διαφορές εύλογης αξίας στοιχείων αντιστάθμισης ταμειακών ροών', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 195, 'Ε.Λ.Π.', 'ΚΑΘΑΡΗ ΘΕΣΗ', '45', 184, 'Συναλλαγματικές διαφορές', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 196, 'Ε.Λ.Π.', 'ΚΑΘΑΡΗ ΘΕΣΗ', '46', 184, 'Αποθεματικά νόμων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 197, 'Ε.Λ.Π.', 'ΚΑΘΑΡΗ ΘΕΣΗ', '47', 184, 'Αφορολόγητα αποθεματικά', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 198, 'Ε.Λ.Π.', 'ΚΑΘΑΡΗ ΘΕΣΗ', '48', 184, 'Αποθεματικά καταστατικού και λοιπά αποθεματικά', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 199, 'Ε.Λ.Π.', 'ΚΑΘΑΡΗ ΘΕΣΗ', '48.01', 198, 'Αποθεματικά καταστατικού', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 200, 'Ε.Λ.Π.', 'ΚΑΘΑΡΗ ΘΕΣΗ', '48.02', 198, 'Προαιρετικά αποθεματικά αποφάσεων γενικής συνέλευσης ιδιοκτητών', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 201, 'Ε.Λ.Π.', 'ΚΑΘΑΡΗ ΘΕΣΗ', '49', 184, 'Αποτελέσματα εις νέο', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 202, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '5', 0, 'Υποχρεώσεις', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 203, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '50', 202, 'Προμηθευτές', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 204, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '50.01', 203, 'Προμηθευτές - μη συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 205, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '50.02', 203, 'Προμηθευτές - συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 206, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '50.03', 203, 'Προκαταβολές σε προμηθευτές - μη συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 207, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '50.03.01', 206, 'Προκαταβολές σε προμηθευτές για μη κυκλοφορούντα στοιχεία - μη συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 208, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '50.03.02', 206, 'Προκαταβολές σε προμηθευτές για αποθέματα - μη συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 209, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '50.03.03', 206, 'Λοιπές προκαταβολές σε προμηθευτές - μη συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 210, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '50.04', 203, 'Προκαταβολές σε προμηθευτές - συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 211, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '50.04.01', 210, 'Προκαταβολές σε προμηθευτές για μη κυκλοφορούντα στοιχεία - συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 212, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '50.04.02', 210, 'Προκαταβολές σε προμηθευτές για αποθέματα - συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 213, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '50.04.03', 210, 'Λοιπές προκαταβολές σε προμηθευτές - συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 214, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '51', 202, 'Αξιόγραφα εμπορικών υποχρεώσεων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 215, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '51.01', 214, 'Αξιόγραφα εμπορικών υποχρεώσεων - μη συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 216, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '51.02', 214, 'Αξιόγραφα εμπορικών υποχρεώσεων - συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 217, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '52', 202, 'Τραπεζικά δάνεια', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 218, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '52.01', 217, 'Τραπεζικά δάνεια - μη συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 219, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '52.02', 217, 'Τραπεζικά δάνεια - συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 220, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '53', 202, 'Λοιπές υποχρεώσεις', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 221, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '53.01', 220, 'Δάνεια από μη συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 222, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '53.02', 220, 'Δάνεια από συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 223, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '53.03', 220, 'Αποδοχές προσωπικού πληρωτέες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 224, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '53.04', 220, 'Υποχρεώσεις προς ιδιοκτήτες και διευθυντικό προσωπικό', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 225, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '53.05', 220, 'Μερίσματα, προμερίσματα και άλλα ποσά συναφούς φύσης πληρωτέα', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 226, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '53.06', 220, 'Άλλες υποχρεώσεις προς μη συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 227, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '53.07', 220, 'Άλλες υποχρεώσεις προς συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 228, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '54', 202, 'Υποχρεώσεις από φόρους και τέλη', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 229, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '54.01', 228, 'Φόρος εισοδήματος πληρωτέος', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 230, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '54.01.01', 229, 'Φόρος εισοδήματος ετήσιας δήλωσης', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 231, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '54.01.02', 229, 'Παρακρατούμενος φόρος εισοδήματος της οντότητας (αντίθετος)', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 232, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '54.01.03', 229, 'Προκαταβολή φόρου εισοδήματος (αντίθετος)', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 233, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '54.02', 228, 'Φόρος προστιθέμενης αξίας (ΦΠΑ)', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 234, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '54.02.01', 233, 'ΦΠΑ εκροών', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 235, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '54.02.02', 233, 'ΦΠΑ εισροών', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 236, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '54.02.03', 233, 'Καταβληθείς ΦΠΑ', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 237, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '54.03', 228, 'Παρακρατούμενοι φόροι εισοδήματος τρίτων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 238, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '54.03.01', 237, 'Παρακρατούμενος φόρος από μισθωτή εργασία και συντάξεις', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 239, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '54.03.02', 237, 'Παρακρατούμενος φόρος από επιχειρηματική δραστηριότητα', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 240, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '54.03.03', 237, 'Παρακρατούμενος φόρος διανεμομένων μερισμάτων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 241, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '54.03.04', 237, 'Λοιποί παρακρατούμενοι φόροι εισοδήματος', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 242, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '54.04', 228, 'Τέλη χαρτοσήμου', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 243, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '54.05', 228, 'Λοιποί φόροι, τέλη και εισφορές', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 244, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '55', 202, 'Υποχρεώσεις σε ασφαλιστικούς οργανισμούς', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 245, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '55.01', 244, 'Υποχρεώσεις σε ασφαλιστικούς οργανισμούς κύριας ασφάλισης', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 246, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '55.02', 244, 'Υποχρεώσεις σε ασφαλιστικούς οργανισμούς επικουρικής ασφάλισης', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 247, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '56', 202, 'Δουλευμένα έξοδα και έσοδα επομένων χρήσεων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 248, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '56.01', 247, 'Έξοδα χρήσεως δουλευμένα', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 249, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '56.01.01', 248, 'Έξοδα χρήσεως δουλευμένα - μη συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 250, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '56.01.02', 248, 'Έξοδα χρήσεως δουλευμένα - συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 251, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '56.02', 247, 'Έσοδα επόμενων χρήσεων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 252, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '56.02.01', 251, 'Έσοδα επόμενων χρήσεων - μη συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 253, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '56.02.02', 251, 'Έσοδα επόμενων χρήσεων - συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 254, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '57', 202, 'Προβλέψεις', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 255, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '57.01', 254, 'Προβλέψεις για παροχές σε εργαζομένους', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 256, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '57.02', 254, 'Λοιπές προβλέψεις', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 257, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '57.02.01', 256, 'Προβλέψεις για εκκρεμοδικίες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 258, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '57.02.02', 256, 'Προβλέψεις για δοσμένες εγγυήσεις', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 259, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '57.02.03', 256, 'Προβλέψεις για αποκατάσταση περιβάλλοντος', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 260, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '57.02.04', 256, 'Προβλέψεις για διαφορές φορολογικού ελέγχου', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 261, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '57.02.05', 256, 'Άλλες προβλέψεις', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 262, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '57.03', 254, 'Προβλέψεις για συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 263, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '58', 202, 'Κρατικές επιχορηγήσεις', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 264, 'Ε.Λ.Π.', 'ΥΠΟΧΡΕΩΣΕΙΣ', '59', 202, 'Αναβαλλόμενοι φόροι παθητικού', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 265, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '6', 0, 'Έξοδα και ζημιές', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 266, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '60', 265, 'Παροχές σε εργαζόμενους', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 267, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '60.01', 266, 'Μικτές αποδοχές', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 268, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '60.02', 266, 'Εργοδοτικές εισφορές', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 269, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '60.03', 266, 'Λοιπές παροχές', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 270, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '60.04', 266, 'Προβλέψεις για παροχές μετά την έξοδο από την υπηρεσία (καθαρό ποσό)', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 271, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '60.05', 266, 'Παροχές σε εργαζόμενους σε συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 272, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '61', 265, 'Ζημιές επιμέτρησης περιουσιακών στοιχείων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 273, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '61.01', 272, 'Απομείωση ενσώματων παγίων (πλην βιολογικών)', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 274, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '61.02', 272, 'Απομείωση βιολογικών περιουσιακών στοιχείων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 275, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '61.03', 272, 'Απομείωση άυλων παγίων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 276, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '61.04', 272, 'Απομείωση αποθεμάτων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 277, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '61.05', 272, 'Απομείωση χρηματοοικονομιικών στοιχείων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 278, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '61.05.01', 277, 'Απομείωση πελατών', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 279, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '61.05.02', 277, 'Απομείωση αξιογράφων εμπορικών απαιτήσεων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 280, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '61.05.03', 277, 'Απομείωση διακρατούμενων μέχρι τη λήξη επενδύσεων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 281, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '61.05.04', 277, 'Απομείωση συμμετοχών σε θυγατρικές', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 282, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '61.05.05', 277, 'Απομείωση συμμετοχών σε συγγενείς', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 283, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '61.05.06', 277, 'Απομείωση συμμετοχών σε κοινοπραξίες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 284, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '61.06', 272, 'Απομείωση λοιπών περιουσιακών στοιχείων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 285, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '61.07', 272, 'Ζημίες από επιμέτρηση στην εύλογη αξία', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 286, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '61.07.01', 285, 'Ζημιές εύλογης αξίας ενσώματων πάγιων στοιχείων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 287, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '61.07.02', 285, 'Ζημιές εύλογης αξίας βιολογικών περιουσιακών στοιχείων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 288, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '61.07.03', 285, 'Ζημιές εύλογης αξίας χρηματοοικονομικών στοιχείων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 289, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '62', 265, 'Χρεωστικές συναλλαγματικές διαφορές', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 290, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '62.01', 289, 'Χρεωστικές συναλλαγματικές διαφορές από διακανονισμό', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 291, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '62.01.01', 290, 'Χρεωστικές συν/τικές διαφορές διακανονισμού εμπορικών απαιτήσεων και υποχρεώσεων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 292, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '62.01.02', 290, 'Χρεωστικές συν/τικές διαφορές διακανονισμού δανείων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 293, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '62.01.03', 290, 'Χρεωστικές συν/τικές διαφορές διακανονισμού λοιπών στοιχείων ισολογισμού', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 294, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '62.02', 289, 'Χρεωστικές συναλλαγματικές διαφορές επιμέτρησης', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 295, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '62.02.01', 294, 'Χρεωστικές συν/τικές διαφορές επιμέτρησης εμπορικών απαιτήσεων και υποχρεώσεων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 296, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '62.02.02', 294, 'Χρεωστικές συν/τικές διαφορές επιμέτρησης δανείων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 297, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '62.02.03', 294, 'Χρεωστικές συν/τικές διαφορές επιμέτρησης λοιπών στοιχείων ισολογισμού', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 298, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '63', 265, 'Ζημιές από διάθεση-απόσυρση μη κυκλοφορούντων περιουσιακών στοιχείων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 299, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '63.01', 298, 'Ζημιές από διάθεση-απόσυρση ενσώματων παγίων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 300, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '63.02', 298, 'Ζημιές από διάθεση-απόσυρση άυλων πάγιων στοιχείων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 301, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '63.03', 298, 'Ζημιές από διάθεση χρηματοοικονομικών στοιχείων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 302, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '63.04', 298, 'Ζημιές από διάθεση - απόσυρση περιουσιακών στοιχείων σε συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 303, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '64', 265, 'Διάφορα λειτουργικά έξοδα', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 304, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '64.01', 303, 'Αμοιβές για υπηρεσίες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 305, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '64.01.01', 304, 'Αμοιβές για υπηρεσίες - μη συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 306, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '64.01.02', 304, 'Αμοιβές για υπηρεσίες - συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 307, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '64.02', 303, 'Ενέργεια', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 308, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '64.03', 303, 'Ύδρευση', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 309, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '64.04', 303, 'Τηλεπικοινωνίες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 310, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '64.05', 303, 'Ενοίκια', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 311, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '64.05.01', 310, 'Ενοίκια - μη συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 312, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '64.05.02', 310, 'Ενοίκια - συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 313, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '64.06', 303, 'Ασφάλιστρα', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 314, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '64.07', 303, 'Μεταφορικά', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 315, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '64.08', 303, 'Αναλώσιμα', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 316, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '64.09', 303, 'Επισκευές και συντηρήσεις', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 317, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '64.10', 303, 'Διαφήμιση και προβολή', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 318, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '64.11', 303, 'Φόροι και τέλη (πλην φόρου εισοδήματος)', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 319, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '64.12', 303, 'Λοιπά έξοδα', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 320, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '64.13', 303, 'Διάφορα λειτουργικά έξοδα από συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 321, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '65', 265, 'Χρεωστικοί τόκοι και συναφή έξοδα', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 322, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '65.01', 321, 'Τόκοι τραπεζικών δανείων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 323, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '65.02', 321, 'Τόκοι δανείων από συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 324, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '65.03', 321, 'Τόκοι λοιπών δανείων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 325, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '65.04', 321, 'Τόκοι λοιπών υποχρεώσεων και προβλέψεων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 326, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '65.05', 321, 'Λοιπά χρηματοοικονομικά έξοδα', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 327, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '66', 265, 'Αποσβέσεις', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 328, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '66.01', 327, 'Αποσβέσεις διαμορφώσεων γης', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 329, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '66.02', 327, 'Αποσβέσεις κτηρίων - τεχνικών έργων', 1); INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 330, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '66.03', 327, 'Αποσβέσεις μηχανολογικού εξοπλισμού', 1); -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 331, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '66.04', 327, 'Αποσβέσεις μεταφορικών μέσων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 332, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '66.05', 327, 'Αποσβέσεις λοιπού εξοπλισμού', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 333, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '66.06', 327, 'Αποσβέσεις επενδύσεων σε ακίνητα', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 334, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '66.07', 327, 'Αποσβέσεις πάγιων βιολογικών περιουσιακών στοιχείων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 335, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '66.08', 327, 'Αποσβέσεις άυλων παγίων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 336, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '67', 265, 'Ασυνήθη έξοδα, ζημιές και πρόστιμα', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 337, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '67.01', 336, 'Ζημιές φυσικών καταστροφών', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 338, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '67.02', 336, 'Ζημιές άλλων καταστροφών', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 339, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '67.03', 336, 'Άλλα ασυνήθη έξοδα και ζημίες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 340, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '67.04', 336, 'Πρόστιμα, προσαυξήσεις και ποινές', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 341, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '67.05', 336, 'Ασυνήθη έξοδα και ζημιές από συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 342, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '68', 265, 'Προβλέψεις (εκτός από προβλέψεις για το προσωπικό)', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 343, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '68.01', 342, 'Προβλέψεις για εκκρεμοδικίες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 344, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '68.02', 342, 'Προβλέψεις για δοσμένες εγγυήσεις', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 345, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '68.03', 342, 'Προβλέψεις για αποκατάσταση περιβάλλοντος', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 346, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '68.04', 342, 'Προβλέψεις για διαφορές φορολογικού ελέγχου πλην φόρου εισοδήματος', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 347, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '68.05', 342, 'Άλλες προβλέψεις', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 348, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '68.06', 342, 'Προβλέψεις για συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 349, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '69', 265, 'Φόρος εισοδήματος', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 350, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '69.01', 349, 'Τρέχων φόρος (έξοδο) περιόδου', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 351, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '69.02', 349, 'Αναβαλλόμενος φόρος (έξοδο) περιόδου', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 352, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '69.03', 349, 'Προβλέψεις για διαφορές φορολογικού ελέγχου φόρου εισοδήματος', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 353, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '7', 0, 'Έσοδα και κέρδη', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 354, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70', 353, 'Πωλήσεις αγαθών και υπηρεσιών', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 355, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.01', 354, 'Πωλήσεις εμπορευμάτων (καθαρές) σε μη συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 356, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.01.01', 355, 'Πωλήσεις εμπορευμάτων σε μη συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 357, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.01.02', 355, 'Επιστροφές πωλήσεων εμπορευμάτων σε μη συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 358, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.01.03', 355, 'Εκπτώσεις πωλήσεων εμπορευμάτων σε μη συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 359, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.02', 354, 'Πωλήσεις εμπορευμάτων (καθαρές) σε συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 360, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.02.01', 359, 'Πωλήσεις εμπορευμάτων σε συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 361, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.02.02', 359, 'Επιστροφές πωλήσεων εμπορευμάτων σε συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 362, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.02.03', 359, 'Εκπτώσεις πωλήσεων εμπορευμάτων σε συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 363, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.03', 354, 'Πωλήσεις προϊόντων έτοιμων και ημιτελών (καθαρές) σε μη συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 364, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.03.01', 363, 'Πωλήσεις προϊόντων έτοιμων και ημιτελών σε μη συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 365, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.03.02', 363, 'Επιστροφές πωλήσεων προϊόντων έτοιμων και ημιτελών σε μη συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 366, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.03.03', 363, 'Εκπτώσεις πωλήσεων προϊόντων έτοιμων και ημιτελών σε μη συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 367, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.04', 354, 'Πωλήσεις προϊόντων έτοιμων και ημιτελών (καθαρές) σε συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 368, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.04.01', 367, 'Πωλήσεις προϊόντων έτοιμων και ημιτελών σε συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 369, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.04.02', 367, 'Επιστροφές πωλήσεων προϊόντων έτοιμων και ημιτελών σε συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 370, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.04.03', 367, 'Εκπτώσεις πωλήσεων προϊόντων έτοιμων και ημιτελών σε συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 371, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.05', 354, 'Πωλήσεις λοιπών αποθεμάτων (καθαρές) σε μη συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 372, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.05.01', 371, 'Πωλήσεις λοιπών αποθεμάτων σε μη συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 373, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.05.02', 371, 'Επιστροφές πωλήσεων λοιπών αποθεμάτων σε μη συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 374, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.05.03', 371, 'Εκπτώσεις πωλήσεων λοιπών αποθεμάτων σε μη συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 375, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.06', 354, 'Πωλήσεις λοιπών αποθεμάτων (καθαρές) σε συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 376, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.06.01', 375, 'Πωλήσεις λοιπών αποθεμάτων σε συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 377, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.06.02', 375, 'Επιστροφές πωλήσεων λοιπών αποθεμάτων σε συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 378, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.06.03', 375, 'Εκπτώσεις πωλήσεων λοιπών αποθεμάτων σε συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 379, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.07', 354, 'Πωλήσεις υπηρεσιών (καθαρές) σε μη συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 380, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.07.01', 379, 'Πωλήσεις υπηρεσιών σε μη συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 381, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.07.02', 379, 'Επιστροφές πωλήσεων υπηρεσιών σε μη συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 382, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.07.03', 379, 'Εκπτώσεις πωλήσεων υπηρεσιών σε μη συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 383, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.08', 354, 'Πωλήσεις υπηρεσιών (καθαρές) σε συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 384, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.08.01', 383, 'Πωλήσεις υπηρεσιών σε συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 385, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.08.02', 383, 'Επιστροφές πωλήσεων υπηρεσιών σε συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 386, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.08.03', 383, 'Εκπτώσεις πωλήσεων υπηρεσιών σε συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 387, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '71', 353, 'Λοιπά συνήθη έσοδα', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 388, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '71.01', 387, 'Αποσβέσεις επιχορηγήσεων παγίων στοιχείων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 389, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '71.02', 387, 'Επιχορηγήσεις τόκων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 390, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '71.03', 387, 'Επιχορηγήσεις λοιπών εξόδων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 391, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '71.04', 387, 'Άλλα λειτουργικά έσοδα', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 392, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '71.05', 387, 'Άλλα λειτουργικά έσοδα από συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 393, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '72', 353, 'Πιστωτικοί τόκοι και συναφή έσοδα', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 394, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '72.01', 393, 'Πιστωτικοί τόκοι πωλήσεων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 395, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '72.02', 393, 'Πιστωτικοί τόκοι δανείων και απαιτήσεων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 396, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '72.03', 393, 'Πιστωτικοί τόκοι από συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 397, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '72.04', 393, 'Πιστωτικοί τόκοι άλλων επενδύσεων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 398, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '73', 353, 'Πιστωτικές συναλλαγματικές διαφορές', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 399, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '73.01', 398, 'Πιστωτικές συναλλαγματικές διαφορές από διακανονισμό', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 400, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '73.01.01', 399, 'Πιστωτικές συν/τικές διαφορές διακανονισμού εμπορικών απαιτήσεων και υποχρ/σεων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 401, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '73.01.02', 399, 'Πιστωτικές συν/τικές διαφορές διακανονισμού δανείων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 402, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '73.01.03', 399, 'Πιστωτικές συν/τικές διαφορές διακανονισμού λοιπών στοιχείων ισολογισμού', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 403, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '73.02', 398, 'Πιστωτικές συναλλαγματικές διαφορές επιμέτρησης', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 404, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '73.02.01', 403, 'Πιστωτικές συν/τικές διαφορές επιμέτρησης εμπορικών απαιτήσεων και υποχρεώσεων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 405, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '73.02.02', 403, 'Πιστωτικές συν/τικές διαφορές επιμέτρησης δανείων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 406, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '73.02.03', 403, 'Πιστωτικές συν/τικές διαφορές επιμέτρησης λοιπών στοιχείων ισολογισμού', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 407, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '74', 353, 'Έσοδα συμμετοχών', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 408, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '74.01', 407, 'Μερίσματα από συμμετοχές σε συγγενείς', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 409, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '74.02', 407, 'Μερίσματα από συμμετοχές σε θυγατρικές', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 410, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '74.03', 407, 'Μερίσματα από συμμετοχές σε κοινοπραξίες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 411, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '74.04', 407, 'Μερίσματα από λοιπούς συμμετοχικούς τίτλους', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 412, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '75', 353, 'Κέρδη από διάθεση μη κυκλοφορούντων περιουσιακών στοιχείων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 413, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '75.01', 412, 'Κέρδη από διάθεση ενσώματων παγίων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 414, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '75.02', 412, 'Κέρδη από διάθεση άυλων πάγιων στοιχείων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 415, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '75.03', 412, 'Κέρδη από διάθεση χρηματοοικονομικών στοιχείων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 416, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '75.04', 412, 'Κέρδη από διάθεση μη κυκλοφορούντων περιουσιακών στοιχείων σε συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 417, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '76', 353, 'Κέρδη από αναστροφή προβλέψεων και απομειώσεων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 418, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '76.01', 417, 'Κέρδη από αναστροφή προβλέψεων για εκκρεμοδικίες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 419, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '76.02', 417, 'Κέρδη από αναστροφή προβλέψεων για δοσμένες εγγυήσεις', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 420, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '76.03', 417, 'Κέρδη από αναστροφή προβλέψεων για αποκατάσταση περιβάλλοντος', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 421, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '76.04', 417, 'Κέρδη από αναστροφή προβλέψεων για διαφορές φορολογικού ελέγχου πλην φόρου εισοδήματος', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 422, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '76.05', 417, 'Κέρδη από αναστροφή άλλων προβλέψεων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 423, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '76.06', 417, 'Κέρδη από αναστροφή απομείωσης ενσώματων παγίων (πλην βιολογικών)', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 424, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '76.07', 417, 'Κέρδη από αναστροφή απομείωσης βιολογικών περιουσιακών στοιχείων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 425, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '76.08', 417, 'Κέρδη από αναστροφή απομείωσης άυλων παγίων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 426, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '76.09', 417, 'Κέρδη από αναστροφή απομείωσης αποθεμάτων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 427, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '76.10', 417, 'Κέρδη από αναστροφή απομείωσης χρηματοοικονομιικών στοιχείων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 428, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '76.10.01', 427, 'Κέρδη από αναστροφή απομείωσης πελατών', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 429, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '76.10.02', 427, 'Κέρδη από αναστροφή απομείωσης αξιογράφων εμπορικών απαιτήσεων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 430, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '76.10.03', 427, 'Κέρδη από αναστροφή απομείωσης διακρατούμενων μέχρι τη λήξη επενδύσεων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 431, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '76.10.04', 427, 'Κέρδη από αναστροφή απομείωσης συμμετοχών σε θυγατρικές', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 432, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '76.10.05', 427, 'Κέρδη από αναστροφή απομείωσης συμμετοχών σε συγγενείς', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 433, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '76.10.06', 427, 'Κέρδη από αναστροφή απομείωσης συμμετοχών σε κοινοπραξίες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 434, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '76.11', 417, 'Κέρδη από αναστροφή απομείωσης λοιπών περιουσιακών στοιχείων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 435, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '77', 353, 'Κέρδη από επιμέτρηση στην εύλογη αξία', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 436, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '77.01', 435, 'Κέρδη εύλογης αξίας ενσώματων πάγιων στοιχείων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 437, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '77.02', 435, 'Κέρδη εύλογης αξίας βιολογικών περιουσιακών στοιχείων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 438, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '77.03', 435, 'Κέρδη εύλογης αξίας χρηματοοικονομικών στοιχείων', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 439, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '78', 353, 'Φόρος εισοδήματος έσοδο', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 440, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '78.01', 439, 'Τρέχων φόρος περιόδου έσοδο', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 441, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '78.02', 439, 'Αναβαλλόμενος φόρος περιόδου έσοδο', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 442, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '78.03', 439, 'Κέρδη από αναστροφή προβλέψεων για διαφορές φορολογικού ελέγχου φόρου εισοδήματος', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 443, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '79', 353, 'Ασυνήθη έσοδα και κέρδη', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 444, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '79.01', 443, 'Ασυνήθη έσοδα και κέρδη από μη συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 445, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '79.02', 443, 'Ασυνήθη έσοδα και κέρδη από συνδεδεμένες οντότητες', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 446, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '79.03', 443, 'Κέρδος από αγορά οντότητας σε τιμή ευκαιρίας', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 447, 'Ε.Λ.Π.', 'ΑΛΛΑ', '8', 0, 'Ιδιοπαραγωγή, υποκαταστήματα και αποτελέσματα περιόδου', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 448, 'Ε.Λ.Π.', 'ΑΛΛΑ', '80', 447, 'Έξοδα σε ιδιοπαραγωγή', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 449, 'Ε.Λ.Π.', 'ΑΛΛΑ', '80.01', 448, 'Παροχές σε εργαζόμενους σε ιδιοπαραγωγή', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 450, 'Ε.Λ.Π.', 'ΑΛΛΑ', '80.02', 448, 'Αποσβέσεις σε ιδιοπαραγωγή', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 451, 'Ε.Λ.Π.', 'ΑΛΛΑ', '80.03', 448, 'Άλλα λειτουργικά έξοδα σε ιδιοπαραγωγή', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 452, 'Ε.Λ.Π.', 'ΑΛΛΑ', '80.04', 448, 'Χρηματοοικονομικά έξοδα σε ιδιοπαραγωγή', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 453, 'Ε.Λ.Π.', 'ΑΛΛΑ', '80.05', 448, 'Προβλέψεις σε ιδιοπαραγωγή', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 454, 'Ε.Λ.Π.', 'ΑΛΛΑ', '81', 447, 'Δοσοληπτικοί λογαριασμοί υποκαταστημάτων αυτοτελούς παρακολούθησης', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 455, 'Ε.Λ.Π.', 'ΑΛΛΑ', '81.01', 454, 'Χρεωστικοί δοσοληπτικοί λογαριασμοί υποκαταστημάτων / κεντρικού', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 456, 'Ε.Λ.Π.', 'ΑΛΛΑ', '81.02', 454, 'Πιστωτικοί δοσοληπτικοί λογαριασμοί υποκαταστημάτων / κεντρικού', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 457, 'Ε.Λ.Π.', 'ΑΛΛΑ', '82', 447, 'Αποτέλεσμα (κέρδη ή ζημίες) περιόδου', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 458, 'Ε.Λ.Π.', 'ΑΛΛΑ', '82.01', 457, 'Συγκέντρωση αποτελεσματικών λογαριασμών', 1), -INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 459, 'Ε.Λ.Π.', 'ΑΛΛΑ', '82.02', 457, 'Καθαρό κέρδος περιόδου (μετά από φόρους)', 1), +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 331, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '66.04', 327, 'Αποσβέσεις μεταφορικών μέσων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 332, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '66.05', 327, 'Αποσβέσεις λοιπού εξοπλισμού', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 333, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '66.06', 327, 'Αποσβέσεις επενδύσεων σε ακίνητα', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 334, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '66.07', 327, 'Αποσβέσεις πάγιων βιολογικών περιουσιακών στοιχείων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 335, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '66.08', 327, 'Αποσβέσεις άυλων παγίων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 336, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '67', 265, 'Ασυνήθη έξοδα, ζημιές και πρόστιμα', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 337, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '67.01', 336, 'Ζημιές φυσικών καταστροφών', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 338, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '67.02', 336, 'Ζημιές άλλων καταστροφών', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 339, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '67.03', 336, 'Άλλα ασυνήθη έξοδα και ζημίες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 340, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '67.04', 336, 'Πρόστιμα, προσαυξήσεις και ποινές', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 341, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '67.05', 336, 'Ασυνήθη έξοδα και ζημιές από συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 342, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '68', 265, 'Προβλέψεις (εκτός από προβλέψεις για το προσωπικό)', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 343, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '68.01', 342, 'Προβλέψεις για εκκρεμοδικίες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 344, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '68.02', 342, 'Προβλέψεις για δοσμένες εγγυήσεις', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 345, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '68.03', 342, 'Προβλέψεις για αποκατάσταση περιβάλλοντος', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 346, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '68.04', 342, 'Προβλέψεις για διαφορές φορολογικού ελέγχου πλην φόρου εισοδήματος', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 347, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '68.05', 342, 'Άλλες προβλέψεις', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 348, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '68.06', 342, 'Προβλέψεις για συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 349, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '69', 265, 'Φόρος εισοδήματος', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 350, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '69.01', 349, 'Τρέχων φόρος (έξοδο) περιόδου', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 351, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '69.02', 349, 'Αναβαλλόμενος φόρος (έξοδο) περιόδου', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 352, 'Ε.Λ.Π.', 'ΕΞΟΔΑ & ΖΗΜΙΕΣ', '69.03', 349, 'Προβλέψεις για διαφορές φορολογικού ελέγχου φόρου εισοδήματος', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 353, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '7', 0, 'Έσοδα και κέρδη', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 354, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70', 353, 'Πωλήσεις αγαθών και υπηρεσιών', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 355, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.01', 354, 'Πωλήσεις εμπορευμάτων (καθαρές) σε μη συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 356, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.01.01', 355, 'Πωλήσεις εμπορευμάτων σε μη συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 357, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.01.02', 355, 'Επιστροφές πωλήσεων εμπορευμάτων σε μη συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 358, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.01.03', 355, 'Εκπτώσεις πωλήσεων εμπορευμάτων σε μη συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 359, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.02', 354, 'Πωλήσεις εμπορευμάτων (καθαρές) σε συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 360, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.02.01', 359, 'Πωλήσεις εμπορευμάτων σε συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 361, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.02.02', 359, 'Επιστροφές πωλήσεων εμπορευμάτων σε συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 362, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.02.03', 359, 'Εκπτώσεις πωλήσεων εμπορευμάτων σε συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 363, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.03', 354, 'Πωλήσεις προϊόντων έτοιμων και ημιτελών (καθαρές) σε μη συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 364, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.03.01', 363, 'Πωλήσεις προϊόντων έτοιμων και ημιτελών σε μη συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 365, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.03.02', 363, 'Επιστροφές πωλήσεων προϊόντων έτοιμων και ημιτελών σε μη συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 366, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.03.03', 363, 'Εκπτώσεις πωλήσεων προϊόντων έτοιμων και ημιτελών σε μη συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 367, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.04', 354, 'Πωλήσεις προϊόντων έτοιμων και ημιτελών (καθαρές) σε συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 368, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.04.01', 367, 'Πωλήσεις προϊόντων έτοιμων και ημιτελών σε συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 369, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.04.02', 367, 'Επιστροφές πωλήσεων προϊόντων έτοιμων και ημιτελών σε συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 370, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.04.03', 367, 'Εκπτώσεις πωλήσεων προϊόντων έτοιμων και ημιτελών σε συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 371, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.05', 354, 'Πωλήσεις λοιπών αποθεμάτων (καθαρές) σε μη συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 372, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.05.01', 371, 'Πωλήσεις λοιπών αποθεμάτων σε μη συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 373, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.05.02', 371, 'Επιστροφές πωλήσεων λοιπών αποθεμάτων σε μη συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 374, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.05.03', 371, 'Εκπτώσεις πωλήσεων λοιπών αποθεμάτων σε μη συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 375, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.06', 354, 'Πωλήσεις λοιπών αποθεμάτων (καθαρές) σε συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 376, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.06.01', 375, 'Πωλήσεις λοιπών αποθεμάτων σε συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 377, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.06.02', 375, 'Επιστροφές πωλήσεων λοιπών αποθεμάτων σε συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 378, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.06.03', 375, 'Εκπτώσεις πωλήσεων λοιπών αποθεμάτων σε συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 379, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.07', 354, 'Πωλήσεις υπηρεσιών (καθαρές) σε μη συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 380, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.07.01', 379, 'Πωλήσεις υπηρεσιών σε μη συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 381, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.07.02', 379, 'Επιστροφές πωλήσεων υπηρεσιών σε μη συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 382, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.07.03', 379, 'Εκπτώσεις πωλήσεων υπηρεσιών σε μη συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 383, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.08', 354, 'Πωλήσεις υπηρεσιών (καθαρές) σε συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 384, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.08.01', 383, 'Πωλήσεις υπηρεσιών σε συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 385, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.08.02', 383, 'Επιστροφές πωλήσεων υπηρεσιών σε συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 386, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '70.08.03', 383, 'Εκπτώσεις πωλήσεων υπηρεσιών σε συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 387, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '71', 353, 'Λοιπά συνήθη έσοδα', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 388, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '71.01', 387, 'Αποσβέσεις επιχορηγήσεων παγίων στοιχείων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 389, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '71.02', 387, 'Επιχορηγήσεις τόκων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 390, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '71.03', 387, 'Επιχορηγήσεις λοιπών εξόδων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 391, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '71.04', 387, 'Άλλα λειτουργικά έσοδα', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 392, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '71.05', 387, 'Άλλα λειτουργικά έσοδα από συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 393, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '72', 353, 'Πιστωτικοί τόκοι και συναφή έσοδα', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 394, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '72.01', 393, 'Πιστωτικοί τόκοι πωλήσεων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 395, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '72.02', 393, 'Πιστωτικοί τόκοι δανείων και απαιτήσεων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 396, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '72.03', 393, 'Πιστωτικοί τόκοι από συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 397, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '72.04', 393, 'Πιστωτικοί τόκοι άλλων επενδύσεων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 398, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '73', 353, 'Πιστωτικές συναλλαγματικές διαφορές', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 399, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '73.01', 398, 'Πιστωτικές συναλλαγματικές διαφορές από διακανονισμό', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 400, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '73.01.01', 399, 'Πιστωτικές συν/τικές διαφορές διακανονισμού εμπορικών απαιτήσεων και υποχρ/σεων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 401, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '73.01.02', 399, 'Πιστωτικές συν/τικές διαφορές διακανονισμού δανείων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 402, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '73.01.03', 399, 'Πιστωτικές συν/τικές διαφορές διακανονισμού λοιπών στοιχείων ισολογισμού', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 403, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '73.02', 398, 'Πιστωτικές συναλλαγματικές διαφορές επιμέτρησης', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 404, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '73.02.01', 403, 'Πιστωτικές συν/τικές διαφορές επιμέτρησης εμπορικών απαιτήσεων και υποχρεώσεων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 405, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '73.02.02', 403, 'Πιστωτικές συν/τικές διαφορές επιμέτρησης δανείων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 406, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '73.02.03', 403, 'Πιστωτικές συν/τικές διαφορές επιμέτρησης λοιπών στοιχείων ισολογισμού', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 407, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '74', 353, 'Έσοδα συμμετοχών', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 408, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '74.01', 407, 'Μερίσματα από συμμετοχές σε συγγενείς', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 409, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '74.02', 407, 'Μερίσματα από συμμετοχές σε θυγατρικές', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 410, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '74.03', 407, 'Μερίσματα από συμμετοχές σε κοινοπραξίες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 411, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '74.04', 407, 'Μερίσματα από λοιπούς συμμετοχικούς τίτλους', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 412, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '75', 353, 'Κέρδη από διάθεση μη κυκλοφορούντων περιουσιακών στοιχείων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 413, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '75.01', 412, 'Κέρδη από διάθεση ενσώματων παγίων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 414, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '75.02', 412, 'Κέρδη από διάθεση άυλων πάγιων στοιχείων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 415, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '75.03', 412, 'Κέρδη από διάθεση χρηματοοικονομικών στοιχείων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 416, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '75.04', 412, 'Κέρδη από διάθεση μη κυκλοφορούντων περιουσιακών στοιχείων σε συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 417, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '76', 353, 'Κέρδη από αναστροφή προβλέψεων και απομειώσεων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 418, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '76.01', 417, 'Κέρδη από αναστροφή προβλέψεων για εκκρεμοδικίες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 419, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '76.02', 417, 'Κέρδη από αναστροφή προβλέψεων για δοσμένες εγγυήσεις', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 420, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '76.03', 417, 'Κέρδη από αναστροφή προβλέψεων για αποκατάσταση περιβάλλοντος', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 421, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '76.04', 417, 'Κέρδη από αναστροφή προβλέψεων για διαφορές φορολογικού ελέγχου πλην φόρου εισοδήματος', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 422, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '76.05', 417, 'Κέρδη από αναστροφή άλλων προβλέψεων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 423, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '76.06', 417, 'Κέρδη από αναστροφή απομείωσης ενσώματων παγίων (πλην βιολογικών)', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 424, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '76.07', 417, 'Κέρδη από αναστροφή απομείωσης βιολογικών περιουσιακών στοιχείων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 425, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '76.08', 417, 'Κέρδη από αναστροφή απομείωσης άυλων παγίων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 426, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '76.09', 417, 'Κέρδη από αναστροφή απομείωσης αποθεμάτων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 427, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '76.10', 417, 'Κέρδη από αναστροφή απομείωσης χρηματοοικονομιικών στοιχείων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 428, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '76.10.01', 427, 'Κέρδη από αναστροφή απομείωσης πελατών', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 429, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '76.10.02', 427, 'Κέρδη από αναστροφή απομείωσης αξιογράφων εμπορικών απαιτήσεων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 430, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '76.10.03', 427, 'Κέρδη από αναστροφή απομείωσης διακρατούμενων μέχρι τη λήξη επενδύσεων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 431, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '76.10.04', 427, 'Κέρδη από αναστροφή απομείωσης συμμετοχών σε θυγατρικές', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 432, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '76.10.05', 427, 'Κέρδη από αναστροφή απομείωσης συμμετοχών σε συγγενείς', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 433, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '76.10.06', 427, 'Κέρδη από αναστροφή απομείωσης συμμετοχών σε κοινοπραξίες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 434, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '76.11', 417, 'Κέρδη από αναστροφή απομείωσης λοιπών περιουσιακών στοιχείων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 435, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '77', 353, 'Κέρδη από επιμέτρηση στην εύλογη αξία', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 436, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '77.01', 435, 'Κέρδη εύλογης αξίας ενσώματων πάγιων στοιχείων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 437, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '77.02', 435, 'Κέρδη εύλογης αξίας βιολογικών περιουσιακών στοιχείων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 438, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '77.03', 435, 'Κέρδη εύλογης αξίας χρηματοοικονομικών στοιχείων', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 439, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '78', 353, 'Φόρος εισοδήματος έσοδο', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 440, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '78.01', 439, 'Τρέχων φόρος περιόδου έσοδο', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 441, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '78.02', 439, 'Αναβαλλόμενος φόρος περιόδου έσοδο', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 442, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '78.03', 439, 'Κέρδη από αναστροφή προβλέψεων για διαφορές φορολογικού ελέγχου φόρου εισοδήματος', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 443, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '79', 353, 'Ασυνήθη έσοδα και κέρδη', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 444, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '79.01', 443, 'Ασυνήθη έσοδα και κέρδη από μη συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 445, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '79.02', 443, 'Ασυνήθη έσοδα και κέρδη από συνδεδεμένες οντότητες', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 446, 'Ε.Λ.Π.', 'ΕΣΟΔΑ & ΚΕΡΔΗ', '79.03', 443, 'Κέρδος από αγορά οντότητας σε τιμή ευκαιρίας', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 447, 'Ε.Λ.Π.', 'ΑΛΛΑ', '8', 0, 'Ιδιοπαραγωγή, υποκαταστήματα και αποτελέσματα περιόδου', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 448, 'Ε.Λ.Π.', 'ΑΛΛΑ', '80', 447, 'Έξοδα σε ιδιοπαραγωγή', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 449, 'Ε.Λ.Π.', 'ΑΛΛΑ', '80.01', 448, 'Παροχές σε εργαζόμενους σε ιδιοπαραγωγή', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 450, 'Ε.Λ.Π.', 'ΑΛΛΑ', '80.02', 448, 'Αποσβέσεις σε ιδιοπαραγωγή', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 451, 'Ε.Λ.Π.', 'ΑΛΛΑ', '80.03', 448, 'Άλλα λειτουργικά έξοδα σε ιδιοπαραγωγή', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 452, 'Ε.Λ.Π.', 'ΑΛΛΑ', '80.04', 448, 'Χρηματοοικονομικά έξοδα σε ιδιοπαραγωγή', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 453, 'Ε.Λ.Π.', 'ΑΛΛΑ', '80.05', 448, 'Προβλέψεις σε ιδιοπαραγωγή', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 454, 'Ε.Λ.Π.', 'ΑΛΛΑ', '81', 447, 'Δοσοληπτικοί λογαριασμοί υποκαταστημάτων αυτοτελούς παρακολούθησης', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 455, 'Ε.Λ.Π.', 'ΑΛΛΑ', '81.01', 454, 'Χρεωστικοί δοσοληπτικοί λογαριασμοί υποκαταστημάτων / κεντρικού', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 456, 'Ε.Λ.Π.', 'ΑΛΛΑ', '81.02', 454, 'Πιστωτικοί δοσοληπτικοί λογαριασμοί υποκαταστημάτων / κεντρικού', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 457, 'Ε.Λ.Π.', 'ΑΛΛΑ', '82', 447, 'Αποτέλεσμα (κέρδη ή ζημίες) περιόδου', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 458, 'Ε.Λ.Π.', 'ΑΛΛΑ', '82.01', 457, 'Συγκέντρωση αποτελεσματικών λογαριασμών', 1); +INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 459, 'Ε.Λ.Π.', 'ΑΛΛΑ', '82.02', 457, 'Καθαρό κέρδος περιόδου (μετά από φόρους)', 1); INSERT INTO llx_accounting_account (entity, rowid, fk_pcg_version, pcg_type, account_number, account_parent, label, active) VALUES (__ENTITY__, 460, 'Ε.Λ.Π.', 'ΑΛΛΑ', '82.03', 457, 'Καθαρή ζημία περιόδου (μετά από φόρους)', 1); diff --git a/htdocs/install/mysql/data/llx_c_action_trigger.sql b/htdocs/install/mysql/data/llx_c_action_trigger.sql index 987e28c7f155a..958a0c65797e1 100644 --- a/htdocs/install/mysql/data/llx_c_action_trigger.sql +++ b/htdocs/install/mysql/data/llx_c_action_trigger.sql @@ -10,6 +10,7 @@ -- Copyright (C) 2014 Raphaël Doursenaud -- Copyright (C) 2015 Bahfir Abbes -- Copyright (C) 2021-2022 Anthony Berton +-- Copyright (C) 2023 William Mead -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by @@ -113,6 +114,7 @@ insert into llx_c_action_trigger (code,label,description,elementtype,rang) value insert into llx_c_action_trigger (code,label,description,elementtype,rang) values ('FICHINTER_REOPEN','Intervention opened','Executed when a intervention is re-opened','ficheinter',34); insert into llx_c_action_trigger (code,label,description,elementtype,rang) values ('FICHINTER_SENTBYMAIL','Intervention sent by mail','Executed when a intervention is sent by mail','ficheinter',35); insert into llx_c_action_trigger (code,label,description,elementtype,rang) values ('FICHINTER_DELETE','Intervention is deleted','Executed when a intervention is deleted','ficheinter',35); +insert into llx_c_action_trigger (code,label,description,elementtype,rang) values ('FICHINTER_CLOSE','Intervention is done','Executed when a intervention is done','ficheinter',36); insert into llx_c_action_trigger (code,label,description,elementtype,rang) values ('PRODUCT_CREATE','Product or service created','Executed when a product or sevice is created','product',40); insert into llx_c_action_trigger (code,label,description,elementtype,rang) values ('PRODUCT_MODIFY','Product or service modified','Executed when a product or sevice is modified','product',41); insert into llx_c_action_trigger (code,label,description,elementtype,rang) values ('PRODUCT_DELETE','Product or service deleted','Executed when a product or sevice is deleted','product',42); @@ -179,6 +181,13 @@ insert into llx_c_action_trigger (code,label,description,elementtype,rang) value insert into llx_c_action_trigger (code,label,description,elementtype,rang) values ('HOLIDAY_CANCEL','Holiday canceled','Executed when a holiday is canceled','holiday',802); insert into llx_c_action_trigger (code,label,description,elementtype,rang) values ('HOLIDAY_DELETE','Holiday deleted','Executed when a holiday is deleted','holiday',804); +-- hrm +insert into llx_c_action_trigger (code,label,description,elementtype,rang) values ('HRM_EVALUATION_CREATE', 'HR Evaluation created', 'Executed when an evaluation is created', 'hrm', 4000); +insert into llx_c_action_trigger (code,label,description,elementtype,rang) values ('HRM_EVALUATION_MODIFY', 'HR Evaluation modified', 'Executed when an evaluation is modified', 'hrm', 4001); +insert into llx_c_action_trigger (code,label,description,elementtype,rang) values ('HRM_EVALUATION_VALIDATE', 'HR Evaluation validated', 'Executed when an evaluation is validated', 'hrm', 4002); +insert into llx_c_action_trigger (code,label,description,elementtype,rang) values ('HRM_EVALUATION_UNVALIDATE', 'HR Evaluation back to draft', 'Executed when an evaluation is back to draft', 'hrm', 4003); +insert into llx_c_action_trigger (code,label,description,elementtype,rang) values ('HRM_EVALUATION_DELETE', 'HR Evaluation deleted', 'Executed when an evaluation is dleted', 'hrm', 4005); + -- facture rec insert into llx_c_action_trigger (code,label,description,elementtype,rang) values ('BILLREC_CREATE','Template invoices created','Executed when a Template invoices is created','facturerec',900); insert into llx_c_action_trigger (code,label,description,elementtype,rang) values ('BILLREC_MODIFY','Template invoices update','Executed when a Template invoices is updated','facturerec',901); diff --git a/htdocs/install/mysql/data/llx_c_forme_juridique.sql b/htdocs/install/mysql/data/llx_c_forme_juridique.sql index 78f37920d3bac..f17ba7b1b215d 100644 --- a/htdocs/install/mysql/data/llx_c_forme_juridique.sql +++ b/htdocs/install/mysql/data/llx_c_forme_juridique.sql @@ -137,6 +137,7 @@ insert into llx_c_forme_juridique (fk_pays, code, libelle) values (1,'62','Group insert into llx_c_forme_juridique (fk_pays, code, libelle) values (1,'63','Société coopérative agricole'); insert into llx_c_forme_juridique (fk_pays, code, libelle) values (1,'64','Société d''assurance mutuelle'); insert into llx_c_forme_juridique (fk_pays, code, libelle) values (1,'65','Société civile'); +insert into llx_c_forme_juridique (fk_pays, code, libelle) values (1,'66','Société publiques locales'); insert into llx_c_forme_juridique (fk_pays, code, libelle) values (1,'69','Autre personne morale de droit privé inscrite au RCS'); insert into llx_c_forme_juridique (fk_pays, code, libelle) values (1,'71','Administration de l état'); diff --git a/htdocs/install/mysql/data/llx_c_invoice_subtype.sql b/htdocs/install/mysql/data/llx_c_invoice_subtype.sql index 70862fdd42255..ba40f026e5177 100644 --- a/htdocs/install/mysql/data/llx_c_invoice_subtype.sql +++ b/htdocs/install/mysql/data/llx_c_invoice_subtype.sql @@ -20,24 +20,27 @@ -- -- -- Greece (102) -insert into llx_c_invoice_subtype (entity, fk_country, code, label, active) VALUES (1, 102, '1.1', 'Τιμολόγιο Πώλησης', 1); -insert into llx_c_invoice_subtype (entity, fk_country, code, label, active) VALUES (1, 102, '1.2', 'Τιμολόγιο Πώλησης / Ενδοκοινοτικές Παραδόσεις', 1); -insert into llx_c_invoice_subtype (entity, fk_country, code, label, active) VALUES (1, 102, '1.3', 'Τιμολόγιο Πώλησης / Παραδόσεις Τρίτων Χωρών', 1); -insert into llx_c_invoice_subtype (entity, fk_country, code, label, active) VALUES (1, 102, '1.4', 'Τιμολόγιο Πώλησης / Πώληση για Λογαριασμό Τρίτων', 0); -insert into llx_c_invoice_subtype (entity, fk_country, code, label, active) VALUES (1, 102, '1.5', 'Τιμολόγιο Πώλησης / Εκκαθάριση Πωλήσεων Τρίτων - Αμοιβή από Πωλήσεις Τρίτων', 0); -insert into llx_c_invoice_subtype (entity, fk_country, code, label, active) VALUES (1, 102, '1.6', 'Τιμολόγιο Πώλησης / Συμπληρωματικό Παραστατικό', 0); -insert into llx_c_invoice_subtype (entity, fk_country, code, label, active) VALUES (1, 102, '2.1', 'Τιμολόγιο Παροχής', 1); -insert into llx_c_invoice_subtype (entity, fk_country, code, label, active) VALUES (1, 102, '2.2', 'Τιμολόγιο Παροχής / Ενδοκοινοτική Παροχή Υπηρεσιών', 1); -insert into llx_c_invoice_subtype (entity, fk_country, code, label, active) VALUES (1, 102, '2.3', 'Τιμολόγιο Παροχής / Παροχή Υπηρεσιών σε λήπτη Τρίτης Χώρας', 1); -insert into llx_c_invoice_subtype (entity, fk_country, code, label, active) VALUES (1, 102, '2.4', 'Τιμολόγιο Παροχής / Συμπληρωματικό Παραστατικό', 0); -insert into llx_c_invoice_subtype (entity, fk_country, code, label, active) VALUES (1, 102, '3.1', 'Τίτλος Κτήσης (μη υπόχρεος Εκδότης)', 0); -insert into llx_c_invoice_subtype (entity, fk_country, code, label, active) VALUES (1, 102, '3.2', 'Τίτλος Κτήσης (άρνηση έκδοσης από υπόχρεο Εκδότη)', 0); -insert into llx_c_invoice_subtype (entity, fk_country, code, label, active) VALUES (1, 102, '6.1', 'Στοιχείο Αυτοπαράδοσης', 0); -insert into llx_c_invoice_subtype (entity, fk_country, code, label, active) VALUES (1, 102, '6.2', 'Στοιχείο Ιδιοχρησιμοποίησης', 0); -insert into llx_c_invoice_subtype (entity, fk_country, code, label, active) VALUES (1, 102, '7.1', 'Συμβόλαιο - Έσοδο', 0); -insert into llx_c_invoice_subtype (entity, fk_country, code, label, active) VALUES (1, 102, '8.1', 'Ενοίκια - Έσοδο', 0); -insert into llx_c_invoice_subtype (entity, fk_country, code, label, active) VALUES (1, 102, '8.2', 'Ειδικό Στοιχείο – Απόδειξης Είσπραξης Φόρου Διαμονής', 0); -insert into llx_c_invoice_subtype (entity, fk_country, code, label, active) VALUES (1, 102, '11.1', 'ΑΛΠ', 1); -insert into llx_c_invoice_subtype (entity, fk_country, code, label, active) VALUES (1, 102, '11.2', 'ΑΠΥ', 1); -insert into llx_c_invoice_subtype (entity, fk_country, code, label, active) VALUES (1, 102, '11.3', 'Απλοποιημένο Τιμολόγιο', 0); -insert into llx_c_invoice_subtype (entity, fk_country, code, label, active) VALUES (1, 102, '11.5', 'Απόδειξη Λιανικής Πώλησης για Λογ/σμό Τρίτων', 0); +insert into llx_c_invoice_subtype (fk_country, code, label, active) VALUES (102, '1.1', 'Τιμολόγιο Πώλησης', 1); +insert into llx_c_invoice_subtype (fk_country, code, label, active) VALUES (102, '1.2', 'Τιμολόγιο Πώλησης / Ενδοκοινοτικές Παραδόσεις', 1); +insert into llx_c_invoice_subtype (fk_country, code, label, active) VALUES (102, '1.3', 'Τιμολόγιο Πώλησης / Παραδόσεις Τρίτων Χωρών', 1); +insert into llx_c_invoice_subtype (fk_country, code, label, active) VALUES (102, '1.4', 'Τιμολόγιο Πώλησης / Πώληση για Λογαριασμό Τρίτων', 0); +insert into llx_c_invoice_subtype (fk_country, code, label, active) VALUES (102, '1.5', 'Τιμολόγιο Πώλησης / Εκκαθάριση Πωλήσεων Τρίτων - Αμοιβή από Πωλήσεις Τρίτων', 0); +insert into llx_c_invoice_subtype (fk_country, code, label, active) VALUES (102, '1.6', 'Τιμολόγιο Πώλησης / Συμπληρωματικό Παραστατικό', 0); +insert into llx_c_invoice_subtype (fk_country, code, label, active) VALUES (102, '2.1', 'Τιμολόγιο Παροχής', 1); +insert into llx_c_invoice_subtype (fk_country, code, label, active) VALUES (102, '2.2', 'Τιμολόγιο Παροχής / Ενδοκοινοτική Παροχή Υπηρεσιών', 1); +insert into llx_c_invoice_subtype (fk_country, code, label, active) VALUES (102, '2.3', 'Τιμολόγιο Παροχής / Παροχή Υπηρεσιών σε λήπτη Τρίτης Χώρας', 1); +insert into llx_c_invoice_subtype (fk_country, code, label, active) VALUES (102, '2.4', 'Τιμολόγιο Παροχής / Συμπληρωματικό Παραστατικό', 0); +insert into llx_c_invoice_subtype (fk_country, code, label, active) VALUES (102, '3.1', 'Τίτλος Κτήσης (μη υπόχρεος Εκδότης)', 0); +insert into llx_c_invoice_subtype (fk_country, code, label, active) VALUES (102, '3.2', 'Τίτλος Κτήσης (άρνηση έκδοσης από υπόχρεο Εκδότη)', 0); +insert into llx_c_invoice_subtype (fk_country, code, label, active) VALUES (102, '6.1', 'Στοιχείο Αυτοπαράδοσης', 0); +insert into llx_c_invoice_subtype (fk_country, code, label, active) VALUES (102, '6.2', 'Στοιχείο Ιδιοχρησιμοποίησης', 0); +insert into llx_c_invoice_subtype (fk_country, code, label, active) VALUES (102, '7.1', 'Συμβόλαιο - Έσοδο', 0); +insert into llx_c_invoice_subtype (fk_country, code, label, active) VALUES (102, '8.1', 'Ενοίκια - Έσοδο', 0); +insert into llx_c_invoice_subtype (fk_country, code, label, active) VALUES (102, '8.2', 'Ειδικό Στοιχείο – Απόδειξης Είσπραξης Φόρου Διαμονής', 0); +insert into llx_c_invoice_subtype (fk_country, code, label, active) VALUES (102, '11.1', 'ΑΛΠ', 1); +insert into llx_c_invoice_subtype (fk_country, code, label, active) VALUES (102, '11.2', 'ΑΠΥ', 1); +insert into llx_c_invoice_subtype (fk_country, code, label, active) VALUES (102, '11.3', 'Απλοποιημένο Τιμολόγιο', 0); +insert into llx_c_invoice_subtype (fk_country, code, label, active) VALUES (102, '11.5', 'Απόδειξη Λιανικής Πώλησης για Λογ/σμό Τρίτων', 0); +insert into llx_c_invoice_subtype (fk_country, code, label, active) VALUES (102, '5.1', 'Πιστωτικό Τιμολόγιο / Συσχετιζόμενο', 0); +insert into llx_c_invoice_subtype (fk_country, code, label, active) VALUES (102, '5.2', 'Πιστωτικό Τιμολόγιο / Μη Συσχετιζόμενο', 1); +insert into llx_c_invoice_subtype (fk_country, code, label, active) VALUES (102, '11.4', 'Πιστωτικό Στοιχείο Λιανικής', 1); diff --git a/htdocs/install/mysql/data/llx_c_tva.sql b/htdocs/install/mysql/data/llx_c_tva.sql index ac0ffcb881259..d41b73110753c 100644 --- a/htdocs/install/mysql/data/llx_c_tva.sql +++ b/htdocs/install/mysql/data/llx_c_tva.sql @@ -84,9 +84,9 @@ insert into llx_c_tva(rowid,fk_pays,taux,recuperableonly,note,active) values ( 2 insert into llx_c_tva(rowid,fk_pays,taux,recuperableonly,note,active) values (141, 14, '0','0','VAT rate 0',1); insert into llx_c_tva(rowid,fk_pays,taux,recuperableonly,note,active) values (142, 14, '7','0','VAT rate - standard',1); insert into llx_c_tva(rowid,fk_pays,taux,recuperableonly,localtax1,localtax1_type,note,active) values (143, 14,'5','0','9.975','1','GST/TPS and PST/TVQ rate for Province',1); ---insert into llx_c_tva(rowid,fk_pays,taux,recuperableonly,localtax1,localtax1_type,note,active) values (143, 14,'5','0','9.975','1','GST/TPS and PST/TVQ rate for Quebec',1); ---insert into llx_c_tva(rowid,fk_pays,taux,recuperableonly,localtax1,localtax1_type,note,active) values (144, 14,'5','0','7','1','GST/TPS and PST/TVQ rate for British Columbia',1); ---insert into llx_c_tva(rowid,fk_pays,taux,recuperableonly,localtax1,localtax1_type,note,active) values (149, 14,'5','0',null,null,'GST/TPS and PST/TVQ rate for Yukon',1); +-- insert into llx_c_tva(rowid,fk_pays,taux,recuperableonly,localtax1,localtax1_type,note,active) values (143, 14,'5','0','9.975','1','GST/TPS and PST/TVQ rate for Quebec',1); +-- insert into llx_c_tva(rowid,fk_pays,taux,recuperableonly,localtax1,localtax1_type,note,active) values (144, 14,'5','0','7','1','GST/TPS and PST/TVQ rate for British Columbia',1); +-- insert into llx_c_tva(rowid,fk_pays,taux,recuperableonly,localtax1,localtax1_type,note,active) values (149, 14,'5','0',null,null,'GST/TPS and PST/TVQ rate for Yukon',1); -- CAMEROUN (id country=24) @@ -396,8 +396,8 @@ insert into llx_c_tva(rowid,fk_pays,taux,recuperableonly,note,active) values (23 insert into llx_c_tva(rowid,fk_pays,taux,recuperableonly,note,active) values (2333,233, '8','0','Thuế GTGT đươc khấu trừ 8%',1); insert into llx_c_tva(rowid,fk_pays,taux,recuperableonly,note,active) values (2334,233, '10','0','Thuế GTGT đươc khấu trừ 10%',1); -- Example of code to insert a VAT rate 0 for each country ---delete from llx_c_tva where rowid = 1181; -- to delete a record that does not follow rules for rowid (fk_pays+'1') ---insert into llx_c_tva(rowid, fk_pays, taux, recuperableonly, note, active) SELECT CONCAT(c.rowid, '1'), c.rowid, 0, 0, 'No VAT', 1 from llx_c_country as c where c.rowid not in (select fk_pays from llx_c_tva); +-- delete from llx_c_tva where rowid = 1181; -- to delete a record that does not follow rules for rowid (fk_pays+'1') +-- insert into llx_c_tva(rowid, fk_pays, taux, recuperableonly, note, active) SELECT CONCAT(c.rowid, '1'), c.rowid, 0, 0, 'No VAT', 1 from llx_c_country as c where c.rowid not in (select fk_pays from llx_c_tva); -- BURUNDI (id country=61) -- https://www.objectif-import-export.fr/fr/marches-internationaux/fiche-pays/burundi/presentation-fiscalite insert into llx_c_tva(rowid,fk_pays,taux,recuperableonly,note,active) values (2335,61, '0','0','No VAT',1); diff --git a/htdocs/install/mysql/data/llx_c_type_container.sql b/htdocs/install/mysql/data/llx_c_type_container-website.sql similarity index 100% rename from htdocs/install/mysql/data/llx_c_type_container.sql rename to htdocs/install/mysql/data/llx_c_type_container-website.sql diff --git a/htdocs/install/mysql/migration/16.0.0-17.0.0.sql b/htdocs/install/mysql/migration/16.0.0-17.0.0.sql index 33ab13a868327..b6cab016aa8ff 100644 --- a/htdocs/install/mysql/migration/16.0.0-17.0.0.sql +++ b/htdocs/install/mysql/migration/16.0.0-17.0.0.sql @@ -422,3 +422,6 @@ INSERT INTO llx_c_hrm_public_holiday (code, entity, fk_country, dayrule, year, m INSERT INTO llx_c_hrm_public_holiday (code, entity, fk_country, dayrule, year, month, day, active) VALUES('GR-28Η ΟΚΤΩΒΡΙΟΥ', 0, 102, '', 0, 10, 28, 1); INSERT INTO llx_c_hrm_public_holiday (code, entity, fk_country, dayrule, year, month, day, active) VALUES('GR-ΧΡΙΣΤΟΥΓΕΝΝΑ', 0, 102, '', 0, 12, 25, 1); INSERT INTO llx_c_hrm_public_holiday (code, entity, fk_country, dayrule, year, month, day, active) VALUES('GR-ΣΥΝΑΞΗ ΘΕΟΤΟΚΟΥ', 0, 102, '', 0, 12, 26, 1); + +UPDATE llx_menu SET url = '/fourn/paiement/list.php?mainmenu=billing&leftmenu=suppliers_bills_payment' WHERE leftmenu = 'suppliers_bills_payment'; + diff --git a/htdocs/install/mysql/migration/17.0.0-18.0.0.sql b/htdocs/install/mysql/migration/17.0.0-18.0.0.sql index 3e44428b2867d..a0bb45ae935c6 100644 --- a/htdocs/install/mysql/migration/17.0.0-18.0.0.sql +++ b/htdocs/install/mysql/migration/17.0.0-18.0.0.sql @@ -121,6 +121,8 @@ ALTER TABLE llx_bordereau_cheque ADD COLUMN type VARCHAR(6) DEFAULT 'CHQ'; -- Element time ALTER TABLE llx_projet_task_time RENAME TO llx_element_time; +-- VPGSQL8.2 ALTER SEQUENCE llx_projet_task_time_rowid_seq RENAME TO llx_element_time_rowid_seq; + -- VMYSQL4.1 SET sql_mode = 'ALLOW_INVALID_DATES'; -- VMYSQL4.1 update llx_element_time set task_date = NULL where DATE(STR_TO_DATE(task_date, '%Y-%m-%d')) IS NULL; -- VMYSQL4.1 SET sql_mode = 'NO_ZERO_DATE'; @@ -556,3 +558,12 @@ insert into llx_c_holiday_types(code, label, affect, delay, newbymonth, fk_count insert into llx_c_holiday_types(code, label, affect, delay, newbymonth, fk_country, sortorder, active) values ('DIS', 'Άδειες αναπήρων(30 ημέρες με αποδοχές)', 0, 0, 0, 102, 38, 0); insert into llx_c_holiday_types(code, label, affect, delay, newbymonth, fk_country, sortorder, active) values ('SE', 'Άδεια εξετάσεων μαθητών, σπουδαστών, φοιτητών(30 ημέρες χωρίς αποδοχές)', 0, 0, 0, 102, 39, 0); insert into llx_c_holiday_types(code, label, affect, delay, newbymonth, fk_country, sortorder, active) values ('NOT PAID', 'Άδεια άνευ αποδοχών(έως ένα (1) έτος)', 0, 0, 0, 102, 40, 0); + +-- hrm triggers +insert into llx_c_action_trigger (code,label,description,elementtype,rang) values ('HRM_EVALUATION_CREATE', 'HR Evaluation created', 'Executed when an evaluation is created', 'hrm', 4000); +insert into llx_c_action_trigger (code,label,description,elementtype,rang) values ('HRM_EVALUATION_MODIFY', 'HR Evaluation modified', 'Executed when an evaluation is modified', 'hrm', 4001); +insert into llx_c_action_trigger (code,label,description,elementtype,rang) values ('HRM_EVALUATION_VALIDATE', 'HR Evaluation validated', 'Executed when an evaluation is validated', 'hrm', 4002); +insert into llx_c_action_trigger (code,label,description,elementtype,rang) values ('HRM_EVALUATION_UNVALIDATE', 'HR Evaluation back to draft', 'Executed when an evaluation is back to draft', 'hrm', 4003); +insert into llx_c_action_trigger (code,label,description,elementtype,rang) values ('HRM_EVALUATION_DELETE', 'HR Evaluation deleted', 'Executed when an evaluation is dleted', 'hrm', 4005); + +UPDATE llx_menu SET url = '/fourn/paiement/list.php?mainmenu=billing&leftmenu=suppliers_bills_payment' WHERE leftmenu = 'suppliers_bills_payment'; diff --git a/htdocs/install/mysql/migration/18.0.0-19.0.0.sql b/htdocs/install/mysql/migration/18.0.0-19.0.0.sql index cb408b7cd3d3b..abb7118d27492 100644 --- a/htdocs/install/mysql/migration/18.0.0-19.0.0.sql +++ b/htdocs/install/mysql/migration/18.0.0-19.0.0.sql @@ -12,7 +12,7 @@ -- To change type of field: ALTER TABLE llx_table MODIFY COLUMN name varchar(60); -- To drop a foreign key: ALTER TABLE llx_table DROP FOREIGN KEY fk_name; -- To create a unique index ALTER TABLE llx_table ADD UNIQUE INDEX uk_table_field (field); --- To drop an index: -- VMYSQL4.1 DROP INDEX nomindex on llx_table; +-- To drop an index: -- VMYSQL4.1 DROP INDEX nomindex ON llx_table; -- To drop an index: -- VPGSQL8.2 DROP INDEX nomindex; -- To make pk to be auto increment (mysql): -- -- VMYSQL4.3 ALTER TABLE llx_table ADD PRIMARY KEY(rowid); @@ -34,13 +34,15 @@ -- v18 +-- VPGSQL8.2 ALTER SEQUENCE llx_projet_task_time_rowid_seq RENAME TO llx_element_time_rowid_seq; +ALTER TABLE llx_product_perentity ADD COLUMN pmp double(24,8); -- v19 -- VAT multientity --- VMYSQL4.1 DROP INDEX uk_c_tva_id on llx_c_tva; +-- VMYSQL4.1 DROP INDEX uk_c_tva_id ON llx_c_tva; -- VPGSQL8.2 DROP INDEX uk_c_tva_id; ALTER TABLE llx_c_tva ADD COLUMN entity integer DEFAULT 1 NOT NULL AFTER rowid; ALTER TABLE llx_c_tva ADD UNIQUE INDEX uk_c_tva_id (entity, fk_pays, code, taux, recuperableonly); @@ -57,6 +59,7 @@ UPDATE llx_societe_rib SET frstrecur = 'RCUR' WHERE frstrecur = 'RECUR'; INSERT INTO llx_c_action_trigger (code,label,description,elementtype,rang) values ('COMPANY_RIB_CREATE','Third party payment information created','Executed when a third party payment information is created','societe',1); INSERT INTO llx_c_action_trigger (code,label,description,elementtype,rang) values ('COMPANY_RIB_MODIFY','Third party payment information updated','Executed when a third party payment information is updated','societe',1); INSERT INTO llx_c_action_trigger (code,label,description,elementtype,rang) values ('COMPANY_RIB_DELETE','Third party payment information deleted','Executed when a third party payment information is deleted','societe',1); +INSERT INTO llx_c_action_trigger (code,label,description,elementtype,rang) values ('FICHINTER_CLOSE','Intervention is done','Executed when a intervention is done','ficheinter',36); UPDATE llx_bank_url SET type = 'direct-debit' WHERE type = 'withdraw' AND url like '%compta/prelevement/card%'; @@ -86,10 +89,14 @@ ALTER TABLE llx_adherent DROP COLUMN whatsapp; ALTER TABLE llx_societe DROP COLUMN skype; +ALTER TABLE llx_user ADD COLUMN email_oauth2 varchar(255); + ALTER TABLE llx_prelevement_demande ADD INDEX idx_prelevement_demande_ext_payment_id (ext_payment_id); ALTER TABLE llx_actioncomm ADD COLUMN fk_bookcal_availability integer DEFAULT NULL; +ALTER TABLE llx_actioncomm ADD INDEX idx_actioncomm_entity (entity); + ALTER TABLE llx_product_lot ADD COLUMN qc_frequency integer DEFAULT NULL; ALTER TABLE llx_product_lot ADD COLUMN lifetime integer DEFAULT NULL; @@ -112,7 +119,7 @@ ALTER TABLE llx_commande_fournisseur_dispatch ADD INDEX idx_commande_fournisseur UPDATE llx_societe_account SET site = 'dolibarr_website' WHERE fk_website > 0 AND site IS NULL; ALTER TABLE llx_societe_account MODIFY COLUMN site varchar(128) NOT NULL; -ALTER TABLE llx_accounting_account MODIFY COLUMN pcg_type varchar(32); +ALTER TABLE llx_accounting_account MODIFY COLUMN pcg_type varchar(60); -- Drop the composite unique index that exists on llx_links to rebuild a new one with objecttype included. -- The old design did not allow same label on different objects with same id. @@ -120,4 +127,76 @@ ALTER TABLE llx_accounting_account MODIFY COLUMN pcg_type varchar(32); -- VPGSQL8.2 DROP INDEX uk_links; ALTER TABLE llx_links ADD UNIQUE INDEX uk_links (objectid, objecttype,label); +ALTER TABLE llx_facture_fourn ADD COLUMN subtype smallint DEFAULT NULL; + +ALTER TABLE llx_c_invoice_subtype DROP INDEX uk_c_invoice_subtype; +ALTER TABLE llx_c_invoice_subtype ADD UNIQUE INDEX uk_c_invoice_subtype (entity, code, fk_country); +ALTER TABLE llx_c_invoice_subtype MODIFY COLUMN entity integer DEFAULT 1 NOT NULL; +ALTER TABLE llx_c_invoice_subtype MODIFY COLUMN code varchar(5) NOT NULL; + +insert into llx_c_invoice_subtype (entity, fk_country, code, label, active) VALUES (1, 102, '5.1', 'Πιστωτικό Τιμολόγιο / Συσχετιζόμενο', 0); +insert into llx_c_invoice_subtype (entity, fk_country, code, label, active) VALUES (1, 102, '5.2', 'Πιστωτικό Τιμολόγιο / Μη Συσχετιζόμενο', 1); +insert into llx_c_invoice_subtype (entity, fk_country, code, label, active) VALUES (1, 102, '11.4', 'Πιστωτικό Στοιχ. Λιανικής', 1); + +-- Product/service managed in stock +ALTER TABLE llx_product ADD COLUMN stockable_product integer DEFAULT 1 NOT NULL; +UPDATE llx_product set stockable_product = 0 WHERE type = 1; + +ALTER TABLE llx_prelevement_lignes ADD COLUMN fk_user integer NULL; + +ALTER TABLE llx_hrm_evaluationdet ADD COLUMN comment TEXT; + +ALTER TABLE llx_resource ADD COLUMN address varchar(255) DEFAULT NULL AFTER fk_code_type_resource; +ALTER TABLE llx_resource ADD COLUMN zip varchar(25) DEFAULT NULL AFTER address; +ALTER TABLE llx_resource ADD COLUMN town varchar(50) DEFAULT NULL AFTER zip; +ALTER TABLE llx_resource ADD COLUMN photo_filename varchar(255) DEFAULT NULL AFTER town; +ALTER TABLE llx_resource ADD COLUMN max_users integer DEFAULT NULL AFTER photo_filename; +ALTER TABLE llx_resource ADD COLUMN phone varchar(255) DEFAULT NULL AFTER user_places; +ALTER TABLE llx_resource ADD COLUMN email varchar(255) DEFAULT NULL AFTER phone; +ALTER TABLE llx_resource ADD COLUMN url varchar(255) DEFAULT NULL AFTER email; +ALTER TABLE llx_resource ADD COLUMN fk_state integer DEFAULT NULL AFTER fk_country; +ALTER TABLE llx_resource ADD INDEX idx_resource_fk_state (fk_state); +--ALTER TABLE llx_resource ADD CONSTRAINT fk_resource_fk_state FOREIGN KEY (fk_state) REFERENCES llx_c_departements (rowid); + + +ALTER TABLE llx_mailing ADD COLUMN note_private text; +ALTER TABLE llx_mailing ADD COLUMN note_public text; + +ALTER TABLE llx_user_rib ADD COLUMN bic_intermediate varchar(11) AFTER bic; +ALTER TABLE llx_bank_account ADD COLUMN bic_intermediate varchar(11) AFTER bic; +ALTER TABLE llx_societe_rib ADD COLUMN bic_intermediate varchar(11) AFTER bic; + +UPDATE llx_menu SET url = '/fourn/paiement/list.php?mainmenu=billing&leftmenu=suppliers_bills_payment' WHERE leftmenu = 'suppliers_bills_payment'; + +ALTER TABLE llx_facture_rec ADD INDEX idx_facture_rec_datec(datec); + +ALTER TABLE llx_facturedet ADD COLUMN batch varchar(128) NULL; -- To store the batch to consume in stock when using a POS module +ALTER TABLE llx_facturedet ADD COLUMN fk_warehouse integer NULL; -- To store the warehouse where to consume stock when using a POS module + +ALTER TABLE llx_multicurrency_rate ADD COLUMN rate_indirect double DEFAULT 0; + +ALTER TABLE llx_mrp_production ADD COLUMN fk_unit integer DEFAULT NULL; +-- VMYSQL4.1 UPDATE llx_mrp_production as mp INNER JOIN llx_bom_bomline as bbl ON mp.origin_id = bbl.rowid SET mp.fk_unit = bbl.fk_unit WHERE mp.origin_type = 'bomline' AND mk.fk_unit IS NULL; +-- VMYSQL4.1 UPDATE llx_bom_bomline as bbl INNER JOIN llx_product as p ON p.rowid = bbl.fk_product SET bbl.fk_unit = p.fk_unit WHERE bbl.fk_unit IS NULL; + +ALTER TABLE llx_facture_rec ADD COLUMN subtype smallint DEFAULT NULL AFTER entity; +ALTER TABLE llx_facture_fourn_rec ADD COLUMN subtype smallint DEFAULT NULL AFTER entity; + +CREATE TABLE llx_mrp_production_extrafields +( + rowid integer AUTO_INCREMENT PRIMARY KEY, + tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, + fk_object integer NOT NULL, + import_key varchar(14) -- import key +) ENGINE=innodb; + +ALTER TABLE llx_mrp_production_extrafields ADD INDEX idx_mrp_production_fk_object(fk_object); + +ALTER TABLE llx_salary ADD COLUMN ref_ext varchar(255); +ALTER TABLE llx_salary ADD COLUMN note_public text; + +ALTER TABLE llx_commande_fournisseur_dispatch ADD COLUMN element_type varchar(50) DEFAULT 'supplier_order' NOT NULL; + +ALTER TABLE llx_expensereport DROP INDEX idx_expensereport_fk_refuse, ADD INDEX idx_expensereport_fk_refuse(fk_user_refuse); +INSERT INTO llx_c_forme_juridique (fk_pays, code, libelle) VALUES (1,'66','Société publique locale'); diff --git a/htdocs/install/mysql/tables/llx_accounting_account.sql b/htdocs/install/mysql/tables/llx_accounting_account.sql index afd9f9f1cb47c..669fa6e2a1f87 100644 --- a/htdocs/install/mysql/tables/llx_accounting_account.sql +++ b/htdocs/install/mysql/tables/llx_accounting_account.sql @@ -26,7 +26,7 @@ create table llx_accounting_account datec datetime, tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, fk_pcg_version varchar(32) NOT NULL, -- Chart system - pcg_type varchar(32) NOT NULL, -- First part of Key for predefined groups + pcg_type varchar(60) NOT NULL, -- First part of Key for predefined groups account_number varchar(32) NOT NULL, account_parent integer DEFAULT 0, -- Hierarchic parent. label varchar(255) NOT NULL, diff --git a/htdocs/install/mysql/tables/llx_actioncomm.key.sql b/htdocs/install/mysql/tables/llx_actioncomm.key.sql index 3859f90c78dc2..452a81dbf2121 100644 --- a/htdocs/install/mysql/tables/llx_actioncomm.key.sql +++ b/htdocs/install/mysql/tables/llx_actioncomm.key.sql @@ -30,3 +30,5 @@ ALTER TABLE llx_actioncomm ADD INDEX idx_actioncomm_ref_ext (ref_ext); ALTER TABLE llx_actioncomm ADD INDEX idx_actioncomm_percent (percent); ALTER TABLE llx_actioncomm ADD INDEX idx_actioncomm_ref (ref, entity); +-- To test performance to get fast next num on actioncomm +-- ALTER TABLE llx_actioncomm ADD INDEX idx_actioncomm_entity_id (entity, id); diff --git a/htdocs/install/mysql/tables/llx_asset-asset.sql b/htdocs/install/mysql/tables/llx_asset-asset.sql index 2eed188bc1413..65cb9d6b477ff 100644 --- a/htdocs/install/mysql/tables/llx_asset-asset.sql +++ b/htdocs/install/mysql/tables/llx_asset-asset.sql @@ -43,13 +43,13 @@ CREATE TABLE llx_asset( acquisition_type smallint DEFAULT 0 NOT NULL, asset_type smallint DEFAULT 0 NOT NULL, - not_depreciated integer DEFAULT 0, + not_depreciated boolean DEFAULT false, disposal_date date, disposal_amount_ht double(24,8), fk_disposal_type integer, - disposal_depreciated integer DEFAULT 0, - disposal_subject_to_vat integer DEFAULT 0, + disposal_depreciated boolean DEFAULT false, + disposal_subject_to_vat boolean DEFAULT false, note_public text, note_private text, diff --git a/htdocs/install/mysql/tables/llx_asset_depreciation_options_economic-asset.sql b/htdocs/install/mysql/tables/llx_asset_depreciation_options_economic-asset.sql index e23a2ed141492..95ac1dc1a1a05 100644 --- a/htdocs/install/mysql/tables/llx_asset_depreciation_options_economic-asset.sql +++ b/htdocs/install/mysql/tables/llx_asset_depreciation_options_economic-asset.sql @@ -27,7 +27,7 @@ CREATE TABLE llx_asset_depreciation_options_economic( fk_asset_model integer, depreciation_type smallint DEFAULT 0 NOT NULL, -- 0:linear, 1:degressive, 2:exceptional - accelerated_depreciation_option integer, -- activate accelerated depreciation mode (fiscal) + accelerated_depreciation_option boolean DEFAULT false, -- activate accelerated depreciation mode (fiscal) degressive_coefficient double(24,8), duration smallint NOT NULL, duration_type smallint DEFAULT 0 NOT NULL, -- 0:annual, 1:monthly, 2:daily diff --git a/htdocs/install/mysql/tables/llx_bank_account.sql b/htdocs/install/mysql/tables/llx_bank_account.sql index d7b8941e69bdf..cab6987123802 100644 --- a/htdocs/install/mysql/tables/llx_bank_account.sql +++ b/htdocs/install/mysql/tables/llx_bank_account.sql @@ -1,8 +1,8 @@ -- ============================================================================= --- Copyright (C) 2000-2004 Rodolphe Quiedeville --- Copyright (C) 2004-2014 Laurent Destailleur --- Copyright (C) 2005-2012 Regis Houssin --- Copyright (C) 2014 Alexandre Spangaro +-- Copyright (C) 2000-2004 Rodolphe Quiedeville +-- Copyright (C) 2004-2014 Laurent Destailleur +-- Copyright (C) 2005-2012 Regis Houssin +-- Copyright (C) 2014-2023 Alexandre Spangaro -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by @@ -29,7 +29,7 @@ create table llx_bank_account tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, ref varchar(12) NOT NULL, label varchar(30) NOT NULL, - entity integer DEFAULT 1 NOT NULL, -- multi company id + entity integer DEFAULT 1 NOT NULL, -- multi company id fk_user_author integer, fk_user_modif integer, bank varchar(60), @@ -37,12 +37,13 @@ create table llx_bank_account code_guichet varchar(6), number varchar(255), cle_rib varchar(5), - bic varchar(11), + bic varchar(11), -- 11 according to ISO 9362 + bic_intermediate varchar(11), -- 11 according to ISO 9362. Same as bic but for intermediate bank iban_prefix varchar(34), -- full iban. 34 according to ISO 13616 country_iban varchar(2), -- deprecated cle_iban varchar(2), domiciliation varchar(255), - pti_in_ctti smallint DEFAULT 0, + pti_in_ctti smallint DEFAULT 0, state_id integer DEFAULT NULL, fk_pays integer NOT NULL, proprio varchar(60), @@ -64,6 +65,6 @@ create table llx_bank_account model_pdf varchar(255), import_key varchar(14), extraparams varchar(255), -- for other parameters with json format - ics varchar(32), -- Creditor Identifier CI - ics_transfer varchar(32) -- Creditor Identifier CI for transfer + ics varchar(32), -- Creditor Identifier CI + ics_transfer varchar(32) -- Creditor Identifier CI for transfer )ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_c_invoice_subtype.key.sql b/htdocs/install/mysql/tables/llx_c_invoice_subtype.key.sql index a362755358adf..3c6d5ef273e7e 100644 --- a/htdocs/install/mysql/tables/llx_c_invoice_subtype.key.sql +++ b/htdocs/install/mysql/tables/llx_c_invoice_subtype.key.sql @@ -16,4 +16,4 @@ -- -- ======================================================================== -ALTER TABLE llx_c_invoice_subtype ADD UNIQUE INDEX uk_c_invoice_subtype (entity, code); +ALTER TABLE llx_c_invoice_subtype ADD UNIQUE INDEX uk_c_invoice_subtype (entity, code, fk_country); diff --git a/htdocs/install/mysql/tables/llx_c_invoice_subtype.sql b/htdocs/install/mysql/tables/llx_c_invoice_subtype.sql index 2e8911d3daadb..201df19923cda 100644 --- a/htdocs/install/mysql/tables/llx_c_invoice_subtype.sql +++ b/htdocs/install/mysql/tables/llx_c_invoice_subtype.sql @@ -16,12 +16,14 @@ -- -- ======================================================================== -CREATE TABLE llx_c_invoice_subtype ( - rowid integer AUTO_INCREMENT PRIMARY KEY, - entity integer DEFAULT 1, - fk_country integer NOT NULL, - code varchar(4) NOT NULL, - label varchar(100), - active tinyint DEFAULT 1 NOT NULL +CREATE TABLE llx_c_invoice_subtype +( + rowid integer AUTO_INCREMENT PRIMARY KEY, + entity integer DEFAULT 1 NOT NULL, -- multi company id + fk_country integer NOT NULL, + code varchar(5) NOT NULL, + label varchar(100), + active tinyint DEFAULT 1 NOT NULL + ) ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_commande_fournisseur_dispatch.sql b/htdocs/install/mysql/tables/llx_commande_fournisseur_dispatch.sql index fa7cd92ba1f8d..6bbaea61c457d 100644 --- a/htdocs/install/mysql/tables/llx_commande_fournisseur_dispatch.sql +++ b/htdocs/install/mysql/tables/llx_commande_fournisseur_dispatch.sql @@ -14,21 +14,23 @@ -- You should have received a copy of the GNU General Public License -- along with this program. If not, see . -- --- This table is just an history table to track all receiving done for a +-- This table is just an history table to track all receiption to do or done for a -- particular supplier order. A movement with same information is also done -- into stock_movement so this table may be useless. -- -- Detail of each lines of a reception (qty, batch and into which warehouse must be -- received or has been receveived a purchase order line). --- This table should have been named llx_receptiondet_batch +-- +-- This table should be renamed into llx_receptiondet_batch -- =================================================================== create table llx_commande_fournisseur_dispatch ( rowid integer AUTO_INCREMENT PRIMARY KEY, fk_product integer, - fk_commande integer, - fk_commandefourndet integer, + fk_commande integer, -- should be renamed into fk_element + fk_commandefourndet integer, -- should be renamed into fk_elementdet + element_type varchar(50) DEFAULT 'supplier_order' NOT NULL, -- Type of source ('supplier_order', ...) fk_projet integer DEFAULT NULL, fk_reception integer DEFAULT NULL, qty float, -- qty to move diff --git a/htdocs/install/mysql/tables/llx_ecm_files.sql b/htdocs/install/mysql/tables/llx_ecm_files.sql index 14952d4559477..68a620c3e8192 100644 --- a/htdocs/install/mysql/tables/llx_ecm_files.sql +++ b/htdocs/install/mysql/tables/llx_ecm_files.sql @@ -26,7 +26,7 @@ CREATE TABLE llx_ecm_files entity integer DEFAULT 1 NOT NULL, -- multi company id filepath varchar(255) NOT NULL, -- relative to dolibarr document dir. Example module/def filename varchar(255) NOT NULL, -- file name only without any directory - src_object_type varchar(64), -- Source object type ('proposal', 'invoice', ...) + src_object_type varchar(64), -- Source object type ('proposal', 'invoice', ...) - object->table_element src_object_id integer, -- Source object id fullpath_orig varchar(750), -- full path of original filename, when file is uploaded from a local computer description text, diff --git a/htdocs/install/mysql/tables/llx_expedition.sql b/htdocs/install/mysql/tables/llx_expedition.sql index f61ab8224f0ed..f5c910af583d1 100644 --- a/htdocs/install/mysql/tables/llx_expedition.sql +++ b/htdocs/install/mysql/tables/llx_expedition.sql @@ -17,6 +17,7 @@ -- You should have received a copy of the GNU General Public License -- along with this program. If not, see . -- +-- Note: a shipment is linked to an order or other object using llx_element_element table. -- =================================================================== create table llx_expedition @@ -31,11 +32,11 @@ create table llx_expedition ref_ext varchar(255), -- reference into an external system (not used by dolibarr) ref_customer varchar(255), -- customer number - date_creation datetime, -- date de creation + date_creation datetime, -- date of creation fk_user_author integer, -- author of creation fk_user_modif integer, -- author of last change - date_valid datetime, -- date de validation - fk_user_valid integer, -- valideur + date_valid datetime, -- date of validation + fk_user_valid integer, -- user that validate date_delivery datetime DEFAULT NULL, -- date planned of delivery date_expedition datetime, -- not used (deprecated) fk_address integer DEFAULT NULL, -- delivery address (deprecated) diff --git a/htdocs/install/mysql/tables/llx_expensereport.key.sql b/htdocs/install/mysql/tables/llx_expensereport.key.sql index cd88299708521..329bb9089ff95 100644 --- a/htdocs/install/mysql/tables/llx_expensereport.key.sql +++ b/htdocs/install/mysql/tables/llx_expensereport.key.sql @@ -27,7 +27,7 @@ ALTER TABLE llx_expensereport ADD INDEX idx_expensereport_fk_statut (fk_statut); ALTER TABLE llx_expensereport ADD INDEX idx_expensereport_fk_user_author (fk_user_author); ALTER TABLE llx_expensereport ADD INDEX idx_expensereport_fk_user_valid (fk_user_valid); ALTER TABLE llx_expensereport ADD INDEX idx_expensereport_fk_user_approve (fk_user_approve); -ALTER TABLE llx_expensereport ADD INDEX idx_expensereport_fk_refuse (fk_user_approve); +ALTER TABLE llx_expensereport ADD INDEX idx_expensereport_fk_refuse (fk_user_refuse); --ALTER TABLE llx_expensereport ADD CONSTRAINT fk_expensereport_fk_user_author FOREIGN KEY (fk_user_author) REFERENCES llx_user (rowid); --ALTER TABLE llx_expensereport ADD CONSTRAINT fk_expensereport_fk_user_valid FOREIGN KEY (fk_user_valid) REFERENCES llx_user (rowid); diff --git a/htdocs/install/mysql/tables/llx_facture_fourn.sql b/htdocs/install/mysql/tables/llx_facture_fourn.sql index c7a2914653644..9408254db7ecb 100644 --- a/htdocs/install/mysql/tables/llx_facture_fourn.sql +++ b/htdocs/install/mysql/tables/llx_facture_fourn.sql @@ -30,6 +30,7 @@ create table llx_facture_fourn ref_ext varchar(255), -- reference into an external system (not used by dolibarr) type smallint DEFAULT 0 NOT NULL, + subtype smallint DEFAULT NULL, -- subtype of invoice (some countries need a subtype to classify invoices) fk_soc integer NOT NULL, datec datetime, -- date de creation de la facture diff --git a/htdocs/install/mysql/tables/llx_facture_fourn_rec.sql b/htdocs/install/mysql/tables/llx_facture_fourn_rec.sql index edaa49e0ea1bb..ad8d682b3f3a8 100644 --- a/htdocs/install/mysql/tables/llx_facture_fourn_rec.sql +++ b/htdocs/install/mysql/tables/llx_facture_fourn_rec.sql @@ -21,6 +21,7 @@ create table llx_facture_fourn_rec titre varchar(200) NOT NULL, ref_supplier varchar(180) NOT NULL, entity integer DEFAULT 1 NOT NULL, -- multi company id + subtype smallint DEFAULT NULL, -- subtype of invoice (some countries need a subtype to classify invoices) fk_soc integer NOT NULL, datec datetime, -- date de creation diff --git a/htdocs/install/mysql/tables/llx_facture_rec.key.sql b/htdocs/install/mysql/tables/llx_facture_rec.key.sql index c17163317c491..e9214a7f564c2 100644 --- a/htdocs/install/mysql/tables/llx_facture_rec.key.sql +++ b/htdocs/install/mysql/tables/llx_facture_rec.key.sql @@ -24,6 +24,7 @@ ALTER TABLE llx_facture_rec ADD UNIQUE INDEX idx_facture_rec_uk_titre (titre, en ALTER TABLE llx_facture_rec ADD INDEX idx_facture_rec_fk_soc (fk_soc); ALTER TABLE llx_facture_rec ADD INDEX idx_facture_rec_fk_user_author (fk_user_author); ALTER TABLE llx_facture_rec ADD INDEX idx_facture_rec_fk_projet (fk_projet); +ALTER TABLE llx_facture_rec ADD INDEX idx_facture_rec_datec(datec); ALTER TABLE llx_facture_rec ADD CONSTRAINT fk_facture_rec_fk_soc FOREIGN KEY (fk_soc) REFERENCES llx_societe (rowid); ALTER TABLE llx_facture_rec ADD CONSTRAINT fk_facture_rec_fk_user_author FOREIGN KEY (fk_user_author) REFERENCES llx_user (rowid); diff --git a/htdocs/install/mysql/tables/llx_facture_rec.sql b/htdocs/install/mysql/tables/llx_facture_rec.sql index 697e0bc4510ad..88de4f40f44ec 100644 --- a/htdocs/install/mysql/tables/llx_facture_rec.sql +++ b/htdocs/install/mysql/tables/llx_facture_rec.sql @@ -24,6 +24,7 @@ create table llx_facture_rec rowid integer AUTO_INCREMENT PRIMARY KEY, titre varchar(200) NOT NULL, entity integer DEFAULT 1 NOT NULL, -- multi company id + subtype smallint DEFAULT NULL, -- subtype of invoice (some countries need a subtype to classify invoices) fk_soc integer NOT NULL, datec datetime, -- date de creation tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, -- last modification date diff --git a/htdocs/install/mysql/tables/llx_facturedet.sql b/htdocs/install/mysql/tables/llx_facturedet.sql index 9fabf237c6210..ff717cf0e5ea1 100644 --- a/htdocs/install/mysql/tables/llx_facturedet.sql +++ b/htdocs/install/mysql/tables/llx_facturedet.sql @@ -55,6 +55,9 @@ create table llx_facturedet buy_price_ht double(24,8) DEFAULT 0, -- buying price. Note: this value is saved as an always positive value, even on credit notes (it is price we bought the product before selling it). fk_product_fournisseur_price integer DEFAULT NULL, -- reference of supplier price when line was added (may be used to update buy_price_ht current price when future invoice will be created) + batch varchar(128) NULL, -- To store the batch to consume in stock when using a POS module + fk_warehouse integer NULL, -- To store the warehouse where to consume stock when using a POS module + special_code integer DEFAULT 0, -- code for special lines (may be 1=transport, 2=ecotax, 3=option, moduleid=...) rang integer DEFAULT 0, -- position of line fk_contract_line integer NULL, -- id of contract line when invoice comes from contract lines diff --git a/htdocs/install/mysql/tables/llx_hrm_evaluationdet-hrm.sql b/htdocs/install/mysql/tables/llx_hrm_evaluationdet-hrm.sql index 4faa0a4bb9194..5edf66d25fbee 100644 --- a/htdocs/install/mysql/tables/llx_hrm_evaluationdet-hrm.sql +++ b/htdocs/install/mysql/tables/llx_hrm_evaluationdet-hrm.sql @@ -27,5 +27,6 @@ CREATE TABLE llx_hrm_evaluationdet fk_evaluation integer NOT NULL, rankorder integer NOT NULL, required_rank integer NOT NULL, + comment text, import_key varchar(14) ) ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_mailing-mailing.sql b/htdocs/install/mysql/tables/llx_mailing-mailing.sql index f8ee1c567b977..2632d1505c7c4 100644 --- a/htdocs/install/mysql/tables/llx_mailing-mailing.sql +++ b/htdocs/install/mysql/tables/llx_mailing-mailing.sql @@ -54,5 +54,7 @@ create table llx_mailing joined_file1 varchar(255), joined_file2 varchar(255), joined_file3 varchar(255), - joined_file4 varchar(255) + joined_file4 varchar(255), + note_private text, -- + note_public text, -- )ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_mrp_production.sql b/htdocs/install/mysql/tables/llx_mrp_production.sql index eac6bb1969bf8..ce3ad263e874b 100644 --- a/htdocs/install/mysql/tables/llx_mrp_production.sql +++ b/htdocs/install/mysql/tables/llx_mrp_production.sql @@ -34,6 +34,7 @@ CREATE TABLE llx_mrp_production( fk_user_creat integer NOT NULL, fk_user_modif integer, import_key varchar(14), - fk_default_workstation integer DEFAULT NULL + fk_default_workstation integer DEFAULT NULL, + fk_unit integer DEFAULT NULL ) ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_mrp_production_extrafields.key.sql b/htdocs/install/mysql/tables/llx_mrp_production_extrafields.key.sql new file mode 100644 index 0000000000000..e2a44414e61e6 --- /dev/null +++ b/htdocs/install/mysql/tables/llx_mrp_production_extrafields.key.sql @@ -0,0 +1,17 @@ +-- Copyright (C) 2019 Laurent Destailleur +-- +-- This program is free software; you can redistribute it and/or modify +-- it under the terms of the GNU General Public License as published by +-- the Free Software Foundation; either version 3 of the License, or +-- (at your option) any later version. +-- +-- This program is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU General Public License for more details. +-- +-- You should have received a copy of the GNU General Public License +-- along with this program. If not, see http://www.gnu.org/licenses/. + + +ALTER TABLE llx_mrp_production_extrafields ADD INDEX idx_mrp_production_fk_object(fk_object); diff --git a/htdocs/install/mysql/tables/llx_mrp_production_extrafields.sql b/htdocs/install/mysql/tables/llx_mrp_production_extrafields.sql new file mode 100644 index 0000000000000..1bc20db8c472d --- /dev/null +++ b/htdocs/install/mysql/tables/llx_mrp_production_extrafields.sql @@ -0,0 +1,22 @@ +-- Copyright (C) 2019 Laurent Destailleur +-- +-- This program is free software; you can redistribute it and/or modify +-- it under the terms of the GNU General Public License as published by +-- the Free Software Foundation; either version 3 of the License, or +-- (at your option) any later version. +-- +-- This program is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU General Public License for more details. +-- +-- You should have received a copy of the GNU General Public License +-- along with this program. If not, see http://www.gnu.org/licenses/. + +create table llx_mrp_production_extrafields +( + rowid integer AUTO_INCREMENT PRIMARY KEY, + tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, + fk_object integer NOT NULL, + import_key varchar(14) -- import key +) ENGINE=innodb; \ No newline at end of file diff --git a/htdocs/install/mysql/tables/llx_multicurrency_rate.sql b/htdocs/install/mysql/tables/llx_multicurrency_rate.sql index 45486acb5ec5c..a99d1e911e0b8 100644 --- a/htdocs/install/mysql/tables/llx_multicurrency_rate.sql +++ b/htdocs/install/mysql/tables/llx_multicurrency_rate.sql @@ -21,7 +21,8 @@ CREATE TABLE llx_multicurrency_rate ( rowid integer AUTO_INCREMENT PRIMARY KEY, date_sync datetime DEFAULT NULL, - rate double NOT NULL DEFAULT 0, + rate double NOT NULL DEFAULT 0, + rate_indirect double DEFAULT 0, fk_multicurrency integer NOT NULL, entity integer DEFAULT 1 ) ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_prelevement_lignes.sql b/htdocs/install/mysql/tables/llx_prelevement_lignes.sql index 6d3b8ed3b58a6..be55cab9638ba 100644 --- a/htdocs/install/mysql/tables/llx_prelevement_lignes.sql +++ b/htdocs/install/mysql/tables/llx_prelevement_lignes.sql @@ -21,6 +21,8 @@ create table llx_prelevement_lignes rowid integer AUTO_INCREMENT PRIMARY KEY, fk_prelevement_bons integer, fk_soc integer NOT NULL, + fk_user integer NULL, + statut smallint DEFAULT 0, client_nom varchar(255), @@ -31,5 +33,4 @@ create table llx_prelevement_lignes cle_rib varchar(5), note text - )ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_product.sql b/htdocs/install/mysql/tables/llx_product.sql index 2267113e98759..bbe9af415d726 100644 --- a/htdocs/install/mysql/tables/llx_product.sql +++ b/htdocs/install/mysql/tables/llx_product.sql @@ -1,10 +1,11 @@ -- ============================================================================ --- Copyright (C) 2002-2006 Rodolphe Quiedeville --- Copyright (C) 2008-2017 Laurent Destailleur --- Copyright (C) 2005-2010 Regis Houssin --- Copyright (C) 2010 Juanjo Menent --- Copyright (C) 2012-2013 Cédric Salvador --- Copyright (C) 2014 Marcos García +-- Copyright (C) 2002-2006 Rodolphe Quiedeville +-- Copyright (C) 2008-2017 Laurent Destailleur +-- Copyright (C) 2005-2010 Regis Houssin +-- Copyright (C) 2010 Juanjo Menent +-- Copyright (C) 2012-2013 Cédric Salvador +-- Copyright (C) 2014 Marcos García +-- Copyright (C) 2023 Alexandre Spangaro -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by @@ -37,9 +38,9 @@ create table llx_product description text, note_public text, note text, - customcode varchar(32), -- Optionnal custom code - fk_country integer DEFAULT NULL, -- Optionnal id of original country - fk_state integer DEFAULT NULL, -- Optionnal id of original state/province + customcode varchar(32), -- Optional custom code + fk_country integer DEFAULT NULL, -- Optional id of original country + fk_state integer DEFAULT NULL, -- Optional id of original state/province price double(24,8) DEFAULT 0, -- price without tax price_ttc double(24,8) DEFAULT 0, -- price inc vat (but not localtax1 nor localtax2) price_min double(24,8) DEFAULT 0, @@ -68,10 +69,10 @@ create table llx_product barcode varchar(180) DEFAULT NULL, -- barcode fk_barcode_type integer DEFAULT NULL, -- barcode type accountancy_code_sell varchar(32), -- Selling accountancy code - accountancy_code_sell_intra varchar(32), -- Selling accountancy code for vat intracommunity + accountancy_code_sell_intra varchar(32), -- Selling accountancy code for vat intra-community accountancy_code_sell_export varchar(32), -- Selling accountancy code for vat export accountancy_code_buy varchar(32), -- Buying accountancy code - accountancy_code_buy_intra varchar(32), -- Buying accountancy code for vat intracommunity + accountancy_code_buy_intra varchar(32), -- Buying accountancy code for vat intra-community accountancy_code_buy_export varchar(32), -- Buying accountancy code for vat export partnumber varchar(32), -- Part/Serial number. TODO To use it into screen if not a duplicate of barcode. net_measure float DEFAULT NULL, @@ -88,24 +89,25 @@ create table llx_product surface_units tinyint DEFAULT NULL, volume float DEFAULT NULL, volume_units tinyint DEFAULT NULL, - stock real, -- Current physical stock (dernormalized field) + stockable_product integer DEFAULT 1 NOT NULL, + stock real, -- Current physical stock (denormalized field) pmp double(24,8) DEFAULT 0 NOT NULL, -- To store valuation of stock calculated using average price method, for this product fifo double(24,8), -- To store valuation of stock calculated using fifo method, for this product. TODO Not used, should be replaced by stock value stored into movement table. lifo double(24,8), -- To store valuation of stock calculated using lifo method, for this product. TODO Not used, should be replaced by stock value stored into movement table. fk_default_warehouse integer DEFAULT NULL, canvas varchar(32) DEFAULT NULL, - finished tinyint DEFAULT NULL, -- see dictionnary c_product_nature + finished tinyint DEFAULT NULL, -- see dictionary c_product_nature lifetime integer DEFAULT NULL, qc_frequency integer DEFAULT NULL, -- Quality control periodicity hidden tinyint DEFAULT 0, -- Not used. Deprecated. import_key varchar(14), -- Import key - model_pdf varchar(255), -- model save dodument used + model_pdf varchar(255), -- model save document used fk_price_expression integer, -- Link to the rule for dynamic price calculation - desiredstock float DEFAULT 0, + desiredstock float DEFAULT 0, fk_unit integer DEFAULT NULL, price_autogen tinyint DEFAULT 0, - fk_project integer DEFAULT NULL, -- Used when product was generated by a project or is specifif to a project - mandatory_period tinyint DEFAULT 0, -- is used to signal to the user that the start and end dates are mandatory for this type of product the fk_product_type == 1 (service) (non-blocking action) + fk_project integer DEFAULT NULL, -- Used when product was generated by a project or is specific to a project + mandatory_period tinyint DEFAULT 0, -- is used to signal to the user that the start and end dates are mandatory for this type of product the fk_product_type == 1 (service) (non-blocking action) fk_default_bom integer DEFAULT NULL, fk_default_workstation integer DEFAULT NULL diff --git a/htdocs/install/mysql/tables/llx_reception.sql b/htdocs/install/mysql/tables/llx_reception.sql index d506215ee4a88..26f9ed0086338 100644 --- a/htdocs/install/mysql/tables/llx_reception.sql +++ b/htdocs/install/mysql/tables/llx_reception.sql @@ -17,6 +17,7 @@ -- You should have received a copy of the GNU General Public License -- along with this program. If not, see . -- +-- Note: a reception is linked to a supplier order or other object using llx_element_element table. -- =================================================================== create table llx_reception @@ -29,7 +30,7 @@ create table llx_reception fk_projet integer DEFAULT NULL, ref_ext varchar(30), -- reference into an external system (not used by dolibarr) - ref_supplier varchar(255), -- supplier number + ref_supplier varchar(255), -- reference of reception on supplier side date_creation datetime, -- date de creation fk_user_author integer, -- author of creation diff --git a/htdocs/install/mysql/tables/llx_resource.key.sql b/htdocs/install/mysql/tables/llx_resource.key.sql index bc426f3aa49a6..4bdd44bfeb2fb 100644 --- a/htdocs/install/mysql/tables/llx_resource.key.sql +++ b/htdocs/install/mysql/tables/llx_resource.key.sql @@ -1,5 +1,6 @@ -- Module to manage resources into Dolibarr ERP/CRM -- Copyright (C) 2013 Jean-François Ferry +-- Copyright (C) 2023 William Mead -- -- This program is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by @@ -21,3 +22,6 @@ ALTER TABLE llx_resource ADD INDEX fk_code_type_resource_idx (fk_code_type_resou ALTER TABLE llx_resource ADD INDEX idx_resource_fk_country (fk_country); ALTER TABLE llx_resource ADD CONSTRAINT fk_resource_fk_country FOREIGN KEY (fk_country) REFERENCES llx_c_country (rowid); + +ALTER TABLE llx_resource ADD INDEX idx_resource_fk_state (fk_state); +--ALTER TABLE llx_resource ADD CONSTRAINT fk_resource_fk_state FOREIGN KEY (fk_state) REFERENCES llx_c_departements (rowid); diff --git a/htdocs/install/mysql/tables/llx_resource.sql b/htdocs/install/mysql/tables/llx_resource.sql index 30bd2bcbbf39b..00f13469f0607 100644 --- a/htdocs/install/mysql/tables/llx_resource.sql +++ b/htdocs/install/mysql/tables/llx_resource.sql @@ -1,6 +1,7 @@ -- Module to manage resources into Dolibarr ERP/CRM -- Copyright (C) 2013 Jean-François Ferry -- Copyright (C) 2016 Gilles Poirier +-- Copyright (C) 2023 William Mead -- -- This program is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by @@ -23,6 +24,14 @@ CREATE TABLE llx_resource asset_number varchar(255), description text, fk_code_type_resource varchar(32), + address varchar(255) DEFAULT NULL, + zip varchar(25) DEFAULT NULL, + town varchar(50) DEFAULT NULL, + photo_filename varchar(255) DEFAULT NULL, + max_users integer DEFAULT NULL, + phone varchar(20) DEFAULT NULL, + email varchar(255) DEFAULT NULL, + url varchar(255) DEFAULT NULL, datec datetime DEFAULT NULL, date_valid datetime DEFAULT NULL, fk_user_author integer DEFAULT NULL, @@ -34,5 +43,6 @@ CREATE TABLE llx_resource import_key varchar(14), extraparams varchar(255), -- for stock other parameters with json format fk_country integer DEFAULT NULL, -- Optional id of original country + fk_state integer DEFAULT NULL, tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP )ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_salary.sql b/htdocs/install/mysql/tables/llx_salary.sql index b68ac1e7a1e84..92ac93511b98c 100644 --- a/htdocs/install/mysql/tables/llx_salary.sql +++ b/htdocs/install/mysql/tables/llx_salary.sql @@ -1,6 +1,7 @@ -- =================================================================== --- Copyright (C) 2011-2018 Alexandre Spangaro --- Copyright (C) 2021 Gauthier VERDOL +-- Copyright (C) 2011-2018 Alexandre Spangaro +-- Copyright (C) 2021 Gauthier VERDOL +-- Copyright (C) 2023 Laurent Destailleur -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by @@ -14,13 +15,13 @@ -- -- You should have received a copy of the GNU General Public License -- along with this program. If not, see . --- -- =================================================================== create table llx_salary ( rowid integer AUTO_INCREMENT PRIMARY KEY, ref varchar(30) NULL, -- payment reference number (currently NULL because there is no numbering manager yet) + ref_ext varchar(255), -- reference into an external system (not used by dolibarr) tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, datec datetime, -- Create date fk_user integer NOT NULL, @@ -29,13 +30,14 @@ create table llx_salary salary double(24,8), -- salary of user when payment was done amount double(24,8) NOT NULL DEFAULT 0, fk_projet integer DEFAULT NULL, - fk_typepayment integer NOT NULL, - num_payment varchar(50), -- num cheque or other + fk_typepayment integer NOT NULL, -- default expected payment + num_payment varchar(50), -- num cheque or other (deprecated, now stored into the payment) label varchar(255), datesp date, -- date start period dateep date, -- date end period entity integer DEFAULT 1 NOT NULL, -- multi company id note text, + note_public text, fk_bank integer, paye smallint default 0 NOT NULL, fk_account integer, diff --git a/htdocs/install/mysql/tables/llx_societe_rib.sql b/htdocs/install/mysql/tables/llx_societe_rib.sql index 7b8f9b6569500..2b9d1dbeb7972 100644 --- a/htdocs/install/mysql/tables/llx_societe_rib.sql +++ b/htdocs/install/mysql/tables/llx_societe_rib.sql @@ -1,8 +1,9 @@ -- ============================================================================= --- Copyright (C) 2000-2004 Rodolphe Quiedeville --- Copyright (C) 2005-2009 Regis Houssin --- Copyright (C) 2012 Juanjo Menent --- Copyright (C) 2013 Peter Fontaine +-- Copyright (C) 2000-2004 Rodolphe Quiedeville +-- Copyright (C) 2005-2009 Regis Houssin +-- Copyright (C) 2012 Juanjo Menent +-- Copyright (C) 2013 Peter Fontaine +-- Copyright (C) 2023 Alexandre Spangaro -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by @@ -36,8 +37,9 @@ create table llx_societe_rib number varchar(255), -- account number cle_rib varchar(5), -- key of bank account - bic varchar(20), -- 11 according to ISO 9362 (we keep 20 for backward compatibility) - iban_prefix varchar(34), -- full iban. 34 according to ISO 13616 + bic varchar(20), -- 11 according to ISO 9362 (we keep 20 for backward compatibility) + bic_intermediate varchar(11), -- 11 according to ISO 9362. Same as bic but for intermediate bank + iban_prefix varchar(34), -- full iban. 34 according to ISO 13616 domiciliation varchar(255), proprio varchar(60), @@ -51,42 +53,42 @@ create table llx_societe_rib last_main_doc varchar(255), -- relative filepath+filename of last main generated document -- For BAN direct debit feature - rum varchar(32), -- RUM value to use for SEPA generation - date_rum date, -- Date of mandate - frstrecur varchar(16) default 'FRST', -- 'FRST' or 'RECUR' + rum varchar(32), -- RUM value to use for SEPA generation + date_rum date, -- Date of mandate + frstrecur varchar(16) default 'FRST', -- 'FRST' or 'RECUR' -- For credit card - last_four varchar(4), -- last 4 - card_type varchar(255), -- card type 'VISA', 'MC' , ... - cvn varchar(255), - exp_date_month INTEGER, - exp_date_year INTEGER, - country_code varchar(10), + last_four varchar(4), -- last 4 + card_type varchar(255), -- card type 'VISA', 'MC' , ... + cvn varchar(255), + exp_date_month integer, + exp_date_year integer, + country_code varchar(10), -- For Paypal - approved INTEGER DEFAULT 0, - email varchar(255), - ending_date date, - max_total_amount_of_all_payments double(24,8), - preapproval_key varchar(255), - starting_date date, - total_amount_of_all_payments double(24,8), + approved integer DEFAULT 0, + email varchar(255), + ending_date date, + max_total_amount_of_all_payments double(24,8), + preapproval_key varchar(255), + starting_date date, + total_amount_of_all_payments double(24,8), --For Stripe, Stancer, ... - stripe_card_ref varchar(128), -- 'card_...' - stripe_account varchar(128), -- 'pk_live_...' + stripe_card_ref varchar(128), -- card_...' + stripe_account varchar(128), -- 'pk_live_...' - ext_payment_site varchar(128), -- name of external paymentmode (for example 'StripeLive') + ext_payment_site varchar(128), -- name of external paymentmode (for example 'StripeLive') - extraparams varchar(255), -- for other parameters with json format + extraparams varchar(255), -- for other parameters with json format -- For Online Sign - date_signature datetime, - online_sign_ip varchar(48), - online_sign_name varchar(64), + date_signature datetime, + online_sign_ip varchar(48), + online_sign_name varchar(64), - comment varchar(255), - ipaddress varchar(68), - status integer NOT NULL DEFAULT 1, -- 1=ACTIVE, 0=IN_TRASH - import_key varchar(14) -- import key + comment varchar(255), + ipaddress varchar(68), + status integer NOT NULL DEFAULT 1, -- 1=ACTIVE, 0=IN_TRASH + import_key varchar(14) -- import key )ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_user.sql b/htdocs/install/mysql/tables/llx_user.sql index 601f233e6ad7d..70dea5d7628ad 100644 --- a/htdocs/install/mysql/tables/llx_user.sql +++ b/htdocs/install/mysql/tables/llx_user.sql @@ -58,6 +58,7 @@ create table llx_user personal_mobile varchar(20), email varchar(255), personal_email varchar(255), + email_oauth2 varchar(255), -- an email to validate OAuth2 authentication when email differs from the OAuth2 email signature text DEFAULT NULL, socialnetworks text DEFAULT NULL, -- json with socialnetworks diff --git a/htdocs/install/mysql/tables/llx_user_rib.sql b/htdocs/install/mysql/tables/llx_user_rib.sql index c98e447a75e6b..909245b57eafe 100644 --- a/htdocs/install/mysql/tables/llx_user_rib.sql +++ b/htdocs/install/mysql/tables/llx_user_rib.sql @@ -1,5 +1,5 @@ -- ============================================================================= --- Copyright (C) 2015 Alexandre Spangaro +-- Copyright (C) 2015-2023 Alexandre Spangaro -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by @@ -18,23 +18,24 @@ create table llx_user_rib ( - rowid integer AUTO_INCREMENT PRIMARY KEY, - fk_user integer NOT NULL, - entity integer DEFAULT 1 NOT NULL, -- multi company id - datec datetime, - tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, - label varchar(30), - bank varchar(255), -- bank name - code_banque varchar(128), -- bank code - code_guichet varchar(6), -- desk code - number varchar(255), -- account number - cle_rib varchar(5), -- key of bank account - bic varchar(11), -- 11 according to ISO 9362 - iban_prefix varchar(34), -- full iban. 34 according to ISO 13616 - domiciliation varchar(255), - proprio varchar(60), - owner_address varchar(255), - state_id integer, - fk_country integer, - currency_code varchar(3) + rowid integer AUTO_INCREMENT PRIMARY KEY, + fk_user integer NOT NULL, + entity integer DEFAULT 1 NOT NULL, -- multi company id + datec datetime, + tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, + label varchar(30), + bank varchar(255), -- bank name + code_banque varchar(128), -- bank code + code_guichet varchar(6), -- desk code + number varchar(255), -- account number + cle_rib varchar(5), -- key of bank account + bic varchar(11), -- 11 according to ISO 9362 + bic_intermediate varchar(11), -- 11 according to ISO 9362. Same as bic but for intermediate bank + iban_prefix varchar(34), -- full iban. 34 according to ISO 13616 + domiciliation varchar(255), + proprio varchar(60), + owner_address varchar(255), + state_id integer, + fk_country integer, + currency_code varchar(3) )ENGINE=innodb; diff --git a/htdocs/install/pgsql/functions/functions.sql b/htdocs/install/pgsql/functions/functions.sql index cb4e6d90c1f42..b8f5dc60eae13 100644 --- a/htdocs/install/pgsql/functions/functions.sql +++ b/htdocs/install/pgsql/functions/functions.sql @@ -130,6 +130,7 @@ CREATE TRIGGER update_customer_modtime BEFORE UPDATE ON llx_menu FOR EACH ROW EX CREATE TRIGGER update_customer_modtime BEFORE UPDATE ON llx_mrp_mo FOR EACH ROW EXECUTE PROCEDURE update_modified_column_tms(); CREATE TRIGGER update_customer_modtime BEFORE UPDATE ON llx_mrp_mo_extrafields FOR EACH ROW EXECUTE PROCEDURE update_modified_column_tms(); CREATE TRIGGER update_customer_modtime BEFORE UPDATE ON llx_mrp_production FOR EACH ROW EXECUTE PROCEDURE update_modified_column_tms(); +CREATE TRIGGER update_customer_modtime BEFORE UPDATE ON llx_mrp_production_extrafields FOR EACH ROW EXECUTE PROCEDURE update_modified_column_tms(); CREATE TRIGGER update_customer_modtime BEFORE UPDATE ON llx_notify FOR EACH ROW EXECUTE PROCEDURE update_modified_column_tms(); CREATE TRIGGER update_customer_modtime BEFORE UPDATE ON llx_notify_def FOR EACH ROW EXECUTE PROCEDURE update_modified_column_tms(); CREATE TRIGGER update_customer_modtime BEFORE UPDATE ON llx_paiement FOR EACH ROW EXECUTE PROCEDURE update_modified_column_tms(); diff --git a/htdocs/install/step1.php b/htdocs/install/step1.php index c0b737eed096b..397fe75bcd794 100644 --- a/htdocs/install/step1.php +++ b/htdocs/install/step1.php @@ -335,12 +335,16 @@ $defaultCharacterSet = $db->forcecharset; $defaultDBSortingCollation = $db->forcecollate; - } else // If already created, we take current value - { + } else { // If already created, we take current value $defaultCharacterSet = $db->getDefaultCharacterSetDatabase(); $defaultDBSortingCollation = $db->getDefaultCollationDatabase(); } + // It seems some PHP driver mysqli does not support utf8mb3 + if ($defaultCharacterSet == 'utf8mb3' || $defaultDBSortingCollation == 'utf8mb3_unicode_ci') { + $defaultCharacterSet = 'utf8'; + $defaultDBSortingCollation = 'utf8_unicode_ci'; + } // Force to avoid utf8mb4 because index on field char 255 reach limit of 767 char for indexes (example with mysql 5.6.34 = mariadb 10.0.29) // TODO Remove this when utf8mb4 is supported if ($defaultCharacterSet == 'utf8mb4' || $defaultDBSortingCollation == 'utf8mb4_unicode_ci') { @@ -578,14 +582,14 @@ print 'Ok'; } else { if ($db->errno() == 'DB_ERROR_RECORD_ALREADY_EXISTS' - || $db->errno() == 'DB_ERROR_KEY_NAME_ALREADY_EXISTS' - || $db->errno() == 'DB_ERROR_USER_ALREADY_EXISTS') { - dolibarr_install_syslog("step1: user already exists"); - print ''; - print $langs->trans("UserCreation").' : '; - print $dolibarr_main_db_user; - print ''; - print ''.$langs->trans("LoginAlreadyExists").''; + || $db->errno() == 'DB_ERROR_KEY_NAME_ALREADY_EXISTS' + || $db->errno() == 'DB_ERROR_USER_ALREADY_EXISTS') { + dolibarr_install_syslog("step1: user already exists"); + print ''; + print $langs->trans("UserCreation").' : '; + print $dolibarr_main_db_user; + print ''; + print ''.$langs->trans("LoginAlreadyExists").''; } else { dolibarr_install_syslog("step1: failed to create user", LOG_ERR); print ''; @@ -920,7 +924,7 @@ function write_conf_file($conffile) fputs($fp, '$dolibarr_main_force_https=\''.$main_force_https.'\';'); fputs($fp, "\n"); - fputs($fp, '$dolibarr_main_restrict_os_commands=\'mysqldump, mysql, pg_dump, pgrestore, mariadb, mariadb-dump, clamdscan, clamscan.exe\';'); + fputs($fp, '$dolibarr_main_restrict_os_commands=\'mariadb-dump, mariadb, mysqldump, mysql, pg_dump, pgrestore, clamdscan, clamscan.exe\';'); fputs($fp, "\n"); fputs($fp, '$dolibarr_nocsrfcheck=\'0\';'); diff --git a/htdocs/install/step2.php b/htdocs/install/step2.php index a06408bd32c76..86e0b6b3c75bd 100644 --- a/htdocs/install/step2.php +++ b/htdocs/install/step2.php @@ -87,7 +87,7 @@ } } -dolibarr_install_syslog("- step2: entering step2.php page"); +dolibarr_install_syslog("--- step2: entering step2.php page"); /* @@ -153,9 +153,10 @@ $createdata = GETPOSTISSET('createdata') ? GETPOST('createdata') : 1; - // To say sql requests are escaped for mysql so we need to unescape them - $db->unescapeslashquot = true; - + // To say that SQL we pass to query are already escaped for mysql, so we need to unescape them + if (property_exists($db, 'unescapeslashquot')) { + $db->unescapeslashquot = true; + } /************************************************************************************** * @@ -585,7 +586,7 @@ $hash_unique_id = md5('dolibarr'.$conf->file->instance_unique_id); -$out = 'global->MAIN_FIRST_PING_OK_ID) && $conf->global->MAIN_FIRST_PING_OK_ID == 'disabled') ? '' : ' value="checked" checked="true"').'> '; +$out = ' '; $out .= ''; $out .= ''; diff --git a/htdocs/install/step4.php b/htdocs/install/step4.php index 3feb55fd63a6d..f1a2598f724a1 100644 --- a/htdocs/install/step4.php +++ b/htdocs/install/step4.php @@ -48,7 +48,7 @@ include_once $forcedfile; } -dolibarr_install_syslog("- step4: entering step4.php page"); +dolibarr_install_syslog("--- step4: entering step4.php page"); $error = 0; $ok = 0; @@ -114,7 +114,7 @@ } dolibarr_install_syslog("Exit ".$ret); -dolibarr_install_syslog("- step4: end"); +dolibarr_install_syslog("--- step4: end"); pFooter($error, $setuplang); diff --git a/htdocs/install/step5.php b/htdocs/install/step5.php index cc433c440a5d4..cf8262261e1ea 100644 --- a/htdocs/install/step5.php +++ b/htdocs/install/step5.php @@ -93,7 +93,7 @@ } } -dolibarr_install_syslog("- step5: entering step5.php page"); +dolibarr_install_syslog("--- step5: entering step5.php page ".$versionfrom." ".$versionto); $error = 0; @@ -209,7 +209,7 @@ } } - dolibarr_install_syslog('step5: DATABASE_PWD_ENCRYPTED = '.$conf->global->DATABASE_PWD_ENCRYPTED.' MAIN_SECURITY_HASH_ALGO = '.$conf->global->MAIN_SECURITY_HASH_ALGO, LOG_INFO); + dolibarr_install_syslog('step5: DATABASE_PWD_ENCRYPTED = ' . getDolGlobalString('DATABASE_PWD_ENCRYPTED').' MAIN_SECURITY_HASH_ALGO = ' . getDolGlobalString('MAIN_SECURITY_HASH_ALGO'), LOG_INFO); } // Create user used to create the admin user @@ -405,7 +405,7 @@ } $conf->global->MAIN_VERSION_LAST_UPGRADE = $targetversion; } else { - dolibarr_install_syslog('step5: we run an upgrade to version '.$targetversion.' but database was already upgraded to '.$conf->global->MAIN_VERSION_LAST_UPGRADE.'. We keep MAIN_VERSION_LAST_UPGRADE as it is.'); + dolibarr_install_syslog('step5: we run an upgrade to version '.$targetversion.' but database was already upgraded to ' . getDolGlobalString('MAIN_VERSION_LAST_UPGRADE').'. We keep MAIN_VERSION_LAST_UPGRADE as it is.'); // Force the delete of the flag that say installation is not complete dolibarr_install_syslog('step5: remove MAIN_NOT_INSTALLED const after upgrade process (should not exists but this is a security)'); @@ -473,7 +473,7 @@ print '

'; } else { // If here MAIN_VERSION_LAST_UPGRADE is not empty - print $langs->trans("VersionLastUpgrade").': '.$conf->global->MAIN_VERSION_LAST_UPGRADE.'
'; + print $langs->trans("VersionLastUpgrade").': ' . getDolGlobalString('MAIN_VERSION_LAST_UPGRADE').'
'; print $langs->trans("VersionProgram").': '.DOL_VERSION.'
'; print $langs->trans("MigrationNotFinished").'
'; print "
"; @@ -523,7 +523,7 @@ $morehtml .= '

'; } else { // If here MAIN_VERSION_LAST_UPGRADE is not empty - print $langs->trans("VersionLastUpgrade").': '.$conf->global->MAIN_VERSION_LAST_UPGRADE.'
'; + print $langs->trans("VersionLastUpgrade").': ' . getDolGlobalString('MAIN_VERSION_LAST_UPGRADE').'
'; print $langs->trans("VersionProgram").': '.DOL_VERSION.''; print "
"; @@ -545,7 +545,7 @@ } dolibarr_install_syslog("Exit ".$ret); -dolibarr_install_syslog("- step5: Dolibarr setup finished"); +dolibarr_install_syslog("--- step5: Dolibarr setup finished"); pFooter(1, $setuplang, '', 0, $morehtml); diff --git a/htdocs/install/upgrade.php b/htdocs/install/upgrade.php index a1179ac848b50..0a0c2d6321919 100644 --- a/htdocs/install/upgrade.php +++ b/htdocs/install/upgrade.php @@ -79,9 +79,9 @@ } -dolibarr_install_syslog("--- upgrade: Entering upgrade.php page"); +dolibarr_install_syslog("--- upgrade: entering upgrade.php page ".$versionfrom." ".$versionto); if (!is_object($conf)) { - dolibarr_install_syslog("upgrade2: conf file not initialized", LOG_ERR); + dolibarr_install_syslog("upgrade: conf file not initialized", LOG_ERR); } diff --git a/htdocs/install/upgrade2.php b/htdocs/install/upgrade2.php index af66817c3397d..e7a571b88a2f6 100644 --- a/htdocs/install/upgrade2.php +++ b/htdocs/install/upgrade2.php @@ -499,6 +499,15 @@ if (versioncompare($versiontoarray, $afterversionarray) >= 0 && versioncompare($versiontoarray, $beforeversionarray) <= 0) { migrate_contractdet_rank(); } + + // Scripts for 19.0 + /* + $afterversionarray = explode('.', '18.0.9'); + $beforeversionarray = explode('.', '19.0.9'); + if (versioncompare($versiontoarray, $afterversionarray) >= 0 && versioncompare($versiontoarray, $beforeversionarray) <= 0) { + migrate_contractdet_rank(); + } + */ } @@ -871,7 +880,7 @@ function migrate_paiements_orphelins_1($db, $langs, $conf) $res = 0; $num = count($row); for ($i = 0; $i < $num; $i++) { - if ($conf->global->MAIN_FEATURES_LEVEL == 2) { + if (getDolGlobalInt('MAIN_FEATURES_LEVEL') == 2) { print '* '.$row[$i]['datec'].' paymentid='.$row[$i]['paymentid'].' pamount='.$row[$i]['pamount'].' fk_bank='.$row[$i]['fk_bank'].' bamount='.$row[$i]['bamount'].' socid='.$row[$i]['socid'].'
'; } @@ -982,7 +991,7 @@ function migrate_paiements_orphelins_2($db, $langs, $conf) $res = 0; for ($i = 0; $i < $num; $i++) { - if ($conf->global->MAIN_FEATURES_LEVEL == 2) { + if (getDolGlobalInt('MAIN_FEATURES_LEVEL') == 2) { print '* '.$row[$i]['datec'].' paymentid='.$row[$i]['paymentid'].' pamount='.$row[$i]['pamount'].' fk_bank='.$row[$i]['fk_bank'].' '.$row[$i]['bamount'].' socid='.$row[$i]['socid'].'
'; } @@ -4149,7 +4158,9 @@ function migrate_delete_old_files($db, $langs, $conf) '/compta/facture/class/api_invoice.class.php', '/commande/class/api_commande.class.php', '/user/class/api_user.class.php', + '/partnership/class/api_partnership.class.php', '/product/class/api_product.class.php', + '/recruitment/class/api_recruitment.class.php', '/societe/class/api_contact.class.php', '/societe/class/api_thirdparty.class.php', '/support/online.php', @@ -4373,8 +4384,8 @@ function migrate_reload_menu($db, $langs, $conf) // Define list of menu handlers to initialize $listofmenuhandler = array(); - if ($conf->global->MAIN_MENU_STANDARD == 'auguria_menu' || $conf->global->MAIN_MENU_SMARTPHONE == 'auguria_menu' - || $conf->global->MAIN_MENUFRONT_STANDARD == 'auguria_menu' || $conf->global->MAIN_MENUFRONT_SMARTPHONE == 'auguria_menu') { + if (getDolGlobalString('MAIN_MENU_STANDARD') == 'auguria_menu' || getDolGlobalString('MAIN_MENU_SMARTPHONE') == 'auguria_menu' + || getDolGlobalString('MAIN_MENUFRONT_STANDARD') == 'auguria_menu' || getDolGlobalString('MAIN_MENUFRONT_SMARTPHONE') == 'auguria_menu') { $listofmenuhandler['auguria'] = 1; // We set here only dynamic menu handlers } diff --git a/htdocs/intracommreport/list.php b/htdocs/intracommreport/list.php index dcf95d1b943d9..84fbf12816297 100644 --- a/htdocs/intracommreport/list.php +++ b/htdocs/intracommreport/list.php @@ -371,7 +371,7 @@ $massactionbutton = $form->selectMassAction('', $arrayofmassactions); $newcardbutton = ''; -if ($user->rights->intracommreport->write) { +if ($user->hasRight('intracommreport', 'write')) { $newcardbutton .= dolGetButtonTitle($langs->trans("NewDeclaration"), '', 'fa fa-plus-circle', DOL_URL_ROOT.'/intracommreport/card.php?action=create&type='.$type); } @@ -578,13 +578,14 @@ print '
'; } // Output Kanban + $selected = -1; if ($massactionbutton || $massaction) { // If we are in select mode (massactionbutton defined) or if we have already selected and sent an action ($massaction) defined $selected = 0; if (in_array($object->id, $arrayofselected)) { $selected = 1; } } - print $object->getKanbanView('', array('selected' => in_array($object->id, $arrayofselected))); + print $object->getKanbanView('', array('selected' => $selected)); if ($i == ($imaxinloop - 1)) { print '
'; print ''; diff --git a/htdocs/knowledgemanagement/class/knowledgerecord.class.php b/htdocs/knowledgemanagement/class/knowledgerecord.class.php index 2cd065f27db2e..2ceeff6b90ff2 100644 --- a/htdocs/knowledgemanagement/class/knowledgerecord.class.php +++ b/htdocs/knowledgemanagement/class/knowledgerecord.class.php @@ -601,6 +601,12 @@ public function validate($user, $notrigger = 0) if (!$resql) { $error++; $this->error = $this->db->lasterror(); } + $sql = 'UPDATE '.MAIN_DB_PREFIX."ecm_files set filepath = 'knowledgerecord/".$this->db->escape($this->newref)."'"; + $sql .= " WHERE filepath = 'knowledgerecord/".$this->db->escape($this->ref)."' and entity = ".$conf->entity; + $resql = $this->db->query($sql); + if (!$resql) { + $error++; $this->error = $this->db->lasterror(); + } // We rename directory ($this->ref = old ref, $num = new ref) in order not to lose the attachments $oldref = dol_sanitizeFileName($this->ref); @@ -930,6 +936,7 @@ public function info($id) if ($result) { if ($this->db->num_rows($result)) { $obj = $this->db->fetch_object($result); + $this->id = $obj->rowid; $this->user_creation_id = $obj->fk_user_creat; @@ -995,7 +1002,7 @@ public function getNextNumRef() if (!empty($conf->global->KNOWLEDGEMANAGEMENT_KNOWLEDGERECORD_ADDON)) { $mybool = false; - $file = $conf->global->KNOWLEDGEMANAGEMENT_KNOWLEDGERECORD_ADDON.".php"; + $file = getDolGlobalString('KNOWLEDGEMANAGEMENT_KNOWLEDGERECORD_ADDON') . ".php"; $classname = $conf->global->KNOWLEDGEMANAGEMENT_KNOWLEDGERECORD_ADDON; // Include file with class @@ -1136,7 +1143,9 @@ public function getKanbanView($option = '', $arraydata = null) $return .= ''; $return .= '
'; $return .= ''.(method_exists($this, 'getNomUrl') ? $this->getNomUrl(1) : $this->ref).''; - $return .= ''; + if ($selected >= 0) { + $return .= ''; + } if (property_exists($this, 'lang') && !empty($this->lang)) { //$return .= '
'.$langs->trans("Language").' : lang).'">'.$langs->trans("Language_".$this->lang, '', '', '', '', 12).''; $return .= '
'.picto_from_langcode($this->lang, 'class="paddingrightonly saturatemedium opacitylow paddingrightonly"'); diff --git a/htdocs/knowledgemanagement/knowledgerecord_list.php b/htdocs/knowledgemanagement/knowledgerecord_list.php index 25f41a0c71925..4ac4376b32a98 100644 --- a/htdocs/knowledgemanagement/knowledgerecord_list.php +++ b/htdocs/knowledgemanagement/knowledgerecord_list.php @@ -667,7 +667,14 @@ print '
'; } // Output Kanban - print $object->getKanbanView('', array('selected' => in_array($object->id, $arrayofselected))); + $selected = -1; + if ($massactionbutton || $massaction) { // If we are in select mode (massactionbutton defined) or if we have already selected and sent an action ($massaction) defined + $selected = 0; + if (in_array($object->id, $arrayofselected)) { + $selected = 1; + } + } + print $object->getKanbanView('', array('selected' => $selected)); if ($i == ($imaxinloop - 1)) { print '
'; print ''; diff --git a/htdocs/langs/de_CH/banks.lang b/htdocs/langs/de_CH/banks.lang index 2a20b27b5afde..85d4b85cc3f6b 100644 --- a/htdocs/langs/de_CH/banks.lang +++ b/htdocs/langs/de_CH/banks.lang @@ -21,7 +21,6 @@ NewFinancialAccount=Neues Finanzkonto MenuNewFinancialAccount=Neues Finanzkonto LabelBankCashAccount=Bank- oder Kassebezeichnung AccountType=Kontoart -BankType1=Current, cheque or credit card account AccountsArea=Finanzkonten AccountCard=Konto-Karte ConfirmDeleteAccount=Bist du sicher, dass du dieses Konto löschen willst? diff --git a/htdocs/langs/de_CH/bills.lang b/htdocs/langs/de_CH/bills.lang index f55b03238a232..82fd7b46405bb 100644 --- a/htdocs/langs/de_CH/bills.lang +++ b/htdocs/langs/de_CH/bills.lang @@ -60,7 +60,6 @@ ConvertExcessReceivedToReduc=Überschuss in Gutschrift umwandeln ConvertExcessPaidToReduc=Überschuss in Rabatt umwandeln EnterPaymentReceivedFromCustomer=Geben Sie die vom Kunden erhaltene Zahlung ein BillStatus=Rechnung Status -StatusOfGeneratedInvoices=Status der generierten Rechnungen BillStatusPaidBackOrConverted=Rückerstattet oder in Gutschrift umgewandelt BillStatusConverted=In Rabatt umgewandelt (in Schlussrechnung anrechenbar) BillStatusNotRefunded=Nicht zurückerstattet diff --git a/htdocs/langs/de_CH/main.lang b/htdocs/langs/de_CH/main.lang index aebbe38038121..c448b2e569fb0 100644 --- a/htdocs/langs/de_CH/main.lang +++ b/htdocs/langs/de_CH/main.lang @@ -93,7 +93,6 @@ Valid=Freigabe Upload=Hochladen Select=Wählen Sie ResizeOrCrop=Skalieren oder Beschneiden -Recenter=Zentrieren NewObject=Erzeuge %s Note=Hinweis Title=Titel diff --git a/htdocs/langs/de_CH/ticket.lang b/htdocs/langs/de_CH/ticket.lang index eba15dbf9ff4a..953bd7d53ce70 100644 --- a/htdocs/langs/de_CH/ticket.lang +++ b/htdocs/langs/de_CH/ticket.lang @@ -1,6 +1,5 @@ # Dolibarr language file - Source file is en_US - ticket TypeContact_ticket_external_SUPPORTCLI=Kundenkontakt / Störfallverfolgung Read=Lesen -TicketsShowCompanyLogoHelp=Enable this option to show the logo of the main company in the pages of the public interface TicketCloseOn=Schliessungsdatum TicketAddIntervention=Einsatz erstellen diff --git a/htdocs/langs/el_CY/banks.lang b/htdocs/langs/el_CY/banks.lang deleted file mode 100644 index 1fdad6e33bb7d..0000000000000 --- a/htdocs/langs/el_CY/banks.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - banks -BankType1=Current, cheque or credit card account diff --git a/htdocs/langs/el_CY/errors.lang b/htdocs/langs/el_CY/errors.lang deleted file mode 100644 index de9df75f0bd82..0000000000000 --- a/htdocs/langs/el_CY/errors.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - errors -ErrorSessionInvalidatedAfterPasswordChange=The session was been invalidated following a change of password, email, status or dates of validity. Please relogin. diff --git a/htdocs/langs/el_CY/ticket.lang b/htdocs/langs/el_CY/ticket.lang deleted file mode 100644 index dd733640aa1db..0000000000000 --- a/htdocs/langs/el_CY/ticket.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - ticket -TicketsShowCompanyLogoHelp=Enable this option to show the logo of the main company in the pages of the public interface diff --git a/htdocs/langs/en_AE/banks.lang b/htdocs/langs/en_AE/banks.lang deleted file mode 100644 index 1fdad6e33bb7d..0000000000000 --- a/htdocs/langs/en_AE/banks.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - banks -BankType1=Current, cheque or credit card account diff --git a/htdocs/langs/en_AE/errors.lang b/htdocs/langs/en_AE/errors.lang deleted file mode 100644 index de9df75f0bd82..0000000000000 --- a/htdocs/langs/en_AE/errors.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - errors -ErrorSessionInvalidatedAfterPasswordChange=The session was been invalidated following a change of password, email, status or dates of validity. Please relogin. diff --git a/htdocs/langs/en_AE/stocks.lang b/htdocs/langs/en_AE/stocks.lang deleted file mode 100644 index 240c8a3f19c0b..0000000000000 --- a/htdocs/langs/en_AE/stocks.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - stocks -AlwaysShowFullArbo=Display the full path of a warehouse (parent warehouses) on the popup of warehouse links (Warning: This may decrease dramatically performances) diff --git a/htdocs/langs/en_AE/ticket.lang b/htdocs/langs/en_AE/ticket.lang deleted file mode 100644 index dd733640aa1db..0000000000000 --- a/htdocs/langs/en_AE/ticket.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - ticket -TicketsShowCompanyLogoHelp=Enable this option to show the logo of the main company in the pages of the public interface diff --git a/htdocs/langs/en_AU/errors.lang b/htdocs/langs/en_AU/errors.lang deleted file mode 100644 index de9df75f0bd82..0000000000000 --- a/htdocs/langs/en_AU/errors.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - errors -ErrorSessionInvalidatedAfterPasswordChange=The session was been invalidated following a change of password, email, status or dates of validity. Please relogin. diff --git a/htdocs/langs/en_AU/stocks.lang b/htdocs/langs/en_AU/stocks.lang deleted file mode 100644 index 240c8a3f19c0b..0000000000000 --- a/htdocs/langs/en_AU/stocks.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - stocks -AlwaysShowFullArbo=Display the full path of a warehouse (parent warehouses) on the popup of warehouse links (Warning: This may decrease dramatically performances) diff --git a/htdocs/langs/en_AU/ticket.lang b/htdocs/langs/en_AU/ticket.lang deleted file mode 100644 index dd733640aa1db..0000000000000 --- a/htdocs/langs/en_AU/ticket.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - ticket -TicketsShowCompanyLogoHelp=Enable this option to show the logo of the main company in the pages of the public interface diff --git a/htdocs/langs/en_CA/banks.lang b/htdocs/langs/en_CA/banks.lang deleted file mode 100644 index 1fdad6e33bb7d..0000000000000 --- a/htdocs/langs/en_CA/banks.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - banks -BankType1=Current, cheque or credit card account diff --git a/htdocs/langs/en_CA/errors.lang b/htdocs/langs/en_CA/errors.lang deleted file mode 100644 index de9df75f0bd82..0000000000000 --- a/htdocs/langs/en_CA/errors.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - errors -ErrorSessionInvalidatedAfterPasswordChange=The session was been invalidated following a change of password, email, status or dates of validity. Please relogin. diff --git a/htdocs/langs/en_CA/stocks.lang b/htdocs/langs/en_CA/stocks.lang deleted file mode 100644 index 240c8a3f19c0b..0000000000000 --- a/htdocs/langs/en_CA/stocks.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - stocks -AlwaysShowFullArbo=Display the full path of a warehouse (parent warehouses) on the popup of warehouse links (Warning: This may decrease dramatically performances) diff --git a/htdocs/langs/en_CA/ticket.lang b/htdocs/langs/en_CA/ticket.lang deleted file mode 100644 index dd733640aa1db..0000000000000 --- a/htdocs/langs/en_CA/ticket.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - ticket -TicketsShowCompanyLogoHelp=Enable this option to show the logo of the main company in the pages of the public interface diff --git a/htdocs/langs/en_GB/banks.lang b/htdocs/langs/en_GB/banks.lang index fc96f732ca1ba..b0710c3ee570b 100644 --- a/htdocs/langs/en_GB/banks.lang +++ b/htdocs/langs/en_GB/banks.lang @@ -1,5 +1,4 @@ # Dolibarr language file - Source file is en_US - banks -BankType1=Current, cheque or credit card account ValidateCheckReceipt=Validate this cheque receipt? DeleteCheckReceipt=Delete this cheque receipt? ConfirmDeleteCheckReceipt=Are you sure you want to delete this cheque receipt? diff --git a/htdocs/langs/en_GB/errors.lang b/htdocs/langs/en_GB/errors.lang deleted file mode 100644 index de9df75f0bd82..0000000000000 --- a/htdocs/langs/en_GB/errors.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - errors -ErrorSessionInvalidatedAfterPasswordChange=The session was been invalidated following a change of password, email, status or dates of validity. Please relogin. diff --git a/htdocs/langs/en_GB/main.lang b/htdocs/langs/en_GB/main.lang index b5606763a65b1..323d2d65ace40 100644 --- a/htdocs/langs/en_GB/main.lang +++ b/htdocs/langs/en_GB/main.lang @@ -27,7 +27,6 @@ PrecisionUnitIsLimitedToXDecimals=Dolibarr was setup to limit precision of unit Resiliate=Deactivate SaveAs=Save as Disapprove=Reject -Recenter=Recentre b=b AmountVAT=Amount VAT TotalVAT=Total VAT diff --git a/htdocs/langs/en_GB/ticket.lang b/htdocs/langs/en_GB/ticket.lang deleted file mode 100644 index dd733640aa1db..0000000000000 --- a/htdocs/langs/en_GB/ticket.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - ticket -TicketsShowCompanyLogoHelp=Enable this option to show the logo of the main company in the pages of the public interface diff --git a/htdocs/langs/en_IN/banks.lang b/htdocs/langs/en_IN/banks.lang deleted file mode 100644 index 1fdad6e33bb7d..0000000000000 --- a/htdocs/langs/en_IN/banks.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - banks -BankType1=Current, cheque or credit card account diff --git a/htdocs/langs/en_IN/errors.lang b/htdocs/langs/en_IN/errors.lang deleted file mode 100644 index de9df75f0bd82..0000000000000 --- a/htdocs/langs/en_IN/errors.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - errors -ErrorSessionInvalidatedAfterPasswordChange=The session was been invalidated following a change of password, email, status or dates of validity. Please relogin. diff --git a/htdocs/langs/en_IN/stocks.lang b/htdocs/langs/en_IN/stocks.lang deleted file mode 100644 index 240c8a3f19c0b..0000000000000 --- a/htdocs/langs/en_IN/stocks.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - stocks -AlwaysShowFullArbo=Display the full path of a warehouse (parent warehouses) on the popup of warehouse links (Warning: This may decrease dramatically performances) diff --git a/htdocs/langs/en_IN/ticket.lang b/htdocs/langs/en_IN/ticket.lang deleted file mode 100644 index dd733640aa1db..0000000000000 --- a/htdocs/langs/en_IN/ticket.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - ticket -TicketsShowCompanyLogoHelp=Enable this option to show the logo of the main company in the pages of the public interface diff --git a/htdocs/langs/en_SG/banks.lang b/htdocs/langs/en_SG/banks.lang deleted file mode 100644 index 1fdad6e33bb7d..0000000000000 --- a/htdocs/langs/en_SG/banks.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - banks -BankType1=Current, cheque or credit card account diff --git a/htdocs/langs/en_SG/errors.lang b/htdocs/langs/en_SG/errors.lang deleted file mode 100644 index de9df75f0bd82..0000000000000 --- a/htdocs/langs/en_SG/errors.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - errors -ErrorSessionInvalidatedAfterPasswordChange=The session was been invalidated following a change of password, email, status or dates of validity. Please relogin. diff --git a/htdocs/langs/en_SG/stocks.lang b/htdocs/langs/en_SG/stocks.lang deleted file mode 100644 index 240c8a3f19c0b..0000000000000 --- a/htdocs/langs/en_SG/stocks.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - stocks -AlwaysShowFullArbo=Display the full path of a warehouse (parent warehouses) on the popup of warehouse links (Warning: This may decrease dramatically performances) diff --git a/htdocs/langs/en_SG/ticket.lang b/htdocs/langs/en_SG/ticket.lang deleted file mode 100644 index dd733640aa1db..0000000000000 --- a/htdocs/langs/en_SG/ticket.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - ticket -TicketsShowCompanyLogoHelp=Enable this option to show the logo of the main company in the pages of the public interface diff --git a/htdocs/langs/en_US/accountancy.lang b/htdocs/langs/en_US/accountancy.lang index 7f73160e7d81a..c1b8cd1592c34 100644 --- a/htdocs/langs/en_US/accountancy.lang +++ b/htdocs/langs/en_US/accountancy.lang @@ -38,7 +38,7 @@ DeleteCptCategory=Remove accounting account from group ConfirmDeleteCptCategory=Are you sure you want to remove this accounting account from the accounting account group? JournalizationInLedgerStatus=Status of journalization AlreadyInGeneralLedger=Already transferred to accounting journals and ledger -NotYetInGeneralLedger=Not yet transferred to accouting journals and ledger +NotYetInGeneralLedger=Not yet transferred to accounting journals and ledger GroupIsEmptyCheckSetup=Group is empty, check setup of the personalized accounting group DetailByAccount=Show detail by account DetailBy=Detail by @@ -53,7 +53,7 @@ ExportAccountingSourceDocHelp=With this tool, you can search and export the sour ExportAccountingSourceDocHelp2=To export your journals, use the menu entry %s - %s. ExportAccountingProjectHelp=Specify a project if you need an accounting report only for a specific project. Expense reports and loan payments are not included in project reports. ExportAccountancy=Export accountancy -WarningDataDisappearsWhenDataIsExported=Warning, this list contains only the accounting entries that have not been already exported (Export date is empty). If you want to include the accounting entries already exported to re-export them, click on the button above. +WarningDataDisappearsWhenDataIsExported=Warning, this list contains only the accounting entries that have not been already exported (Export date is empty). If you want to include the accounting entries already exported, click on the button above. VueByAccountAccounting=View by accounting account VueBySubAccountAccounting=View by accounting subaccount @@ -68,7 +68,7 @@ UserAccountNotDefined=Accounting account for user not defined in setup AccountancyArea=Accounting area AccountancyAreaDescIntro=Usage of the accountancy module is done in several step: AccountancyAreaDescActionOnce=The following actions are usually executed one time only, or once per year... -AccountancyAreaDescActionOnceBis=Next steps should be done to save you time in future by suggesting you automaticaly the correct default accounting account when transferring data in accounting +AccountancyAreaDescActionOnceBis=Next steps should be done to save you time in future by suggesting you automatically the correct default accounting account when transferring data in accounting AccountancyAreaDescActionFreq=The following actions are usually executed every month, week or day for very large companies... AccountancyAreaDescJournalSetup=STEP %s: Check content of your journal list from menu %s @@ -169,8 +169,8 @@ ACCOUNTING_MANAGE_ZERO=Allow to manage different number of zeros at the end of a BANK_DISABLE_DIRECT_INPUT=Disable direct recording of transaction in bank account ACCOUNTING_ENABLE_EXPORT_DRAFT_JOURNAL=Enable draft export on journal ACCOUNTANCY_COMBO_FOR_AUX=Enable combo list for subsidiary account (may be slow if you have a lot of third parties, break ability to search on a part of value) -ACCOUNTING_DATE_START_BINDING=Define a date to start binding & transfer in accountancy. Below this date, the transactions will not be transferred to accounting. -ACCOUNTING_DEFAULT_PERIOD_ON_TRANSFER=On accountancy transfer, what is the period selected by default +ACCOUNTING_DATE_START_BINDING=Disable binding & transfer in accountancy when date is below this date (the transactions before this date will be excluded by default) +ACCOUNTING_DEFAULT_PERIOD_ON_TRANSFER=On the page to transfer data into accountancy, what is the period selected by default ACCOUNTING_SELL_JOURNAL=Sales journal - sales and returns ACCOUNTING_PURCHASE_JOURNAL=Purchase journal - purchase and returns @@ -184,6 +184,8 @@ ACCOUNTING_SOCIAL_JOURNAL=Social journal ACCOUNTING_RESULT_PROFIT=Result accounting account (Profit) ACCOUNTING_RESULT_LOSS=Result accounting account (Loss) ACCOUNTING_CLOSURE_DEFAULT_JOURNAL=Journal of closure +ACCOUNTING_CLOSURE_ACCOUNTING_GROUPS_USED_FOR_BALANCE_SHEET_ACCOUNT=Accounting groups used for the balance sheet account (separate by comma) +ACCOUNTING_CLOSURE_ACCOUNTING_GROUPS_USED_FOR_INCOME_STATEMENT=Accounting groups used for the income statement (separate by comma) ACCOUNTING_ACCOUNT_TRANSFER_CASH=Account (from the Chart Of Account) to be used as the account for transitional bank transfers TransitionalAccount=Transitional bank transfer account @@ -288,7 +290,7 @@ DescVentilDoneCustomer=Consult here the list of the lines of invoices customers DescVentilTodoCustomer=Bind invoice lines not already bound with a product account from chart of account ChangeAccount=Change the product/service account (from chart of account) for the selected lines with the following account: Vide=- -DescVentilSupplier=Consult here the list of vendor invoice lines bound or not yet bound to a product account from chart of account (only record not already transfered in accountancy are visible) +DescVentilSupplier=Consult here the list of vendor invoice lines bound or not yet bound to a product account from chart of account (only record not already transferred in accountancy are visible) DescVentilDoneSupplier=Consult here the list of the lines of vendor invoices and their accounting account DescVentilTodoExpenseReport=Bind expense report lines not already bound with a fee accounting account DescVentilExpenseReport=Consult here the list of expense report lines bound (or not) to a fee accounting account @@ -296,7 +298,7 @@ DescVentilExpenseReportMore=If you setup accounting account on type of expense r DescVentilDoneExpenseReport=Consult here the list of the lines of expenses reports and their fees accounting account Closure=Annual closure -DescClosure=Consult here the number of movements by month not yet validated & locked +AccountancyClosureStep1Desc=Consult here the number of movements by month not yet validated & locked OverviewOfMovementsNotValidated=Overview of movements not validated and locked AllMovementsWereRecordedAsValidated=All movements were recorded as validated and locked NotAllMovementsCouldBeRecordedAsValidated=Not all movements could be recorded as validated and locked @@ -350,14 +352,14 @@ ACCOUNTING_DISABLE_BINDING_ON_PURCHASES=Disable binding & transfer in accountanc ACCOUNTING_DISABLE_BINDING_ON_EXPENSEREPORTS=Disable binding & transfer in accountancy on expense reports (expense reports will not be taken into account in accounting) ACCOUNTING_ENABLE_LETTERING=Enable the lettering function in the accounting ACCOUNTING_ENABLE_LETTERING_DESC=When this options is enabled, you can define, on each accounting entry, a code so you can group different accounting movements together. In the past, when different journals was managed independently, this feature was necessary to group movement lines of different journals together. However, with Dolibarr accountancy, such a tracking code, called "%s" is already saved automatically, so an automatic lettering is already done, with no risk of error so this feature has become useless for a common usage. Manual lettering feature is provided for end users that really don't trust the computer engine making the transfer of data in accountancy. -EnablingThisFeatureIsNotNecessary=Enabling this feature is no more necessary for a rigourous accounting management. +EnablingThisFeatureIsNotNecessary=Enabling this feature is no more necessary for a rigorous accounting management. ACCOUNTING_ENABLE_AUTOLETTERING=Enable the automatic lettering when transferring to accounting -ACCOUNTING_ENABLE_AUTOLETTERING_DESC=The code for the lettering is automatically generated and incremented and not choosed by the end user +ACCOUNTING_ENABLE_AUTOLETTERING_DESC=The code for the lettering is automatically generated and incremented and not chosen by the end user ACCOUNTING_LETTERING_NBLETTERS=Number of letters when generating lettering code (default 3) ACCOUNTING_LETTERING_NBLETTERS_DESC=Some accounting software only accepts a two-letter code. This parameter allows you to set this aspect. The default number of letters is three. OptionsAdvanced=Advanced options ACCOUNTING_FORCE_ENABLE_VAT_REVERSE_CHARGE=Activate the management of VAT reverse charge on supplier purchases -ACCOUNTING_FORCE_ENABLE_VAT_REVERSE_CHARGE_DESC=When this option is enabled, you can define that a supplier or a given vendor invoice must be transfered into accountancy differently: A additionnal debit and a credit line will generated into the accounting on 2 given accounts from the chart of account defined into the "%s" setup page. +ACCOUNTING_FORCE_ENABLE_VAT_REVERSE_CHARGE_DESC=When this option is enabled, you can define that a supplier or a given vendor invoice must be transferred into accountancy differently: A additional debit and a credit line will generated into the accounting on 2 given accounts from the chart of account defined into the "%s" setup page. ## Export NotExportLettering=Do not export the lettering when generating the file @@ -441,12 +443,26 @@ AccountancyNoUnletteringModified=No unreconcile modified AccountancyOneUnletteringModifiedSuccessfully=One unreconcile successfully modified AccountancyUnletteringModifiedSuccessfully=%s unreconcile successfully modified +## Closure +AccountancyClosureStep1=Step 1 : Validate and lock movements +AccountancyClosureStep2=Step 2 : Close fiscal period +AccountancyClosureStep3=Step 3 : Extract entries (Optional) +AccountancyClosureClose=Close fiscal period +AccountancyClosureAccountingReversal=Extract entries +AccountancyClosureStep3NewFiscalPeriod=Next fiscal period +AccountancyClosureGenerateClosureBookkeepingRecords=Generate "has-new" entry on the next fiscal period +AccountancyClosureSeparateAuxiliaryAccounts=When generating the "has-new" entry, detail the sub-ledger accounts +AccountancyClosureCloseSuccessfully=Fiscal period has been closed successfully +AccountancyClosureInsertAccountingReversalSuccessfully=Bookkeeping records has been inserted successfully + ## Confirm box ConfirmMassUnletteringAuto=Bulk auto unreconcile confirmation ConfirmMassUnletteringManual=Bulk manual unreconcile confirmation ConfirmMassUnletteringQuestion=Are you sure you want to unreconcile the %s selected record(s)? ConfirmMassDeleteBookkeepingWriting=Bulk Delete confirmation ConfirmMassDeleteBookkeepingWritingQuestion=This will delete the transaction from the accounting (all line entries related to the same transaction will be deleted). Are you sure you want to delete the %s selected entries? +AccountancyClosureConfirmClose=Are you sure you want to close the current fiscal period ? You understand that closing the fiscal period is an irreversible action and will permanently block any modification or deletion of entries over this period. +AccountancyClosureConfirmAccountingReversal=Are you sure you want to accounting reversal ? ## Error SomeMandatoryStepsOfSetupWereNotDone=Some mandatory steps of setup was not done, please complete them @@ -465,6 +481,8 @@ AccountancyErrorMismatchBalanceAmount=The balance (%s) is not equal to 0 AccountancyErrorLetteringBookkeeping=Errors have occurred concerning the transactions: %s ErrorAccountNumberAlreadyExists=The accounting number %s already exists ErrorArchiveAddFile=Can't put "%s" file in archive +ErrorNoFiscalPeriodActiveFound=No fiscal period active found +ErrorBookkeepingDocDateNotOnActiveFiscalPeriod=The bookkeeping doc date is not on active fiscal period ## Import ImportAccountingEntries=Accounting entries diff --git a/htdocs/langs/en_US/admin.lang b/htdocs/langs/en_US/admin.lang index 9df78b592a0ac..22de1d56036c0 100644 --- a/htdocs/langs/en_US/admin.lang +++ b/htdocs/langs/en_US/admin.lang @@ -307,7 +307,7 @@ MAIN_MAIL_SMTPS_ID=SMTP ID (if sending server requires authentication) MAIN_MAIL_SMTPS_PW=SMTP Password (if sending server requires authentication) MAIN_MAIL_EMAIL_TLS=Use TLS (SSL) encryption MAIN_MAIL_EMAIL_STARTTLS=Use TLS (STARTTLS) encryption -MAIN_MAIL_EMAIL_SMTP_ALLOW_SELF_SIGNED=Authorise les certificats auto-signés +MAIN_MAIL_EMAIL_SMTP_ALLOW_SELF_SIGNED=Authorize self-signed certificates MAIN_MAIL_EMAIL_DKIM_ENABLED=Use DKIM to generate email signature MAIN_MAIL_EMAIL_DKIM_DOMAIN=Email Domain for use with dkim MAIN_MAIL_EMAIL_DKIM_SELECTOR=Name of dkim selector @@ -417,6 +417,7 @@ PDFLocaltax=Rules for %s HideLocalTaxOnPDF=Hide %s rate in column Sale Tax / VAT HideDescOnPDF=Hide products description HideRefOnPDF=Hide products ref. +ShowProductBarcodeOnPDF=Display the barcode number of the products HideDetailsOnPDF=Hide product lines details PlaceCustomerAddressToIsoLocation=Use french standard position (La Poste) for customer address position Library=Library @@ -462,7 +463,7 @@ ExtrafieldParamHelpPassword=Leaving this field blank means this value will be st ExtrafieldParamHelpselect=List of values must be lines with format key,value (where key can't be '0')

for example:
1,value1
2,value2
code3,value3
...

In order to have the list depending on another complementary attribute list:
1,value1|options_parent_list_code:parent_key
2,value2|options_parent_list_code:parent_key

In order to have the list depending on another list:
1,value1|parent_list_code:parent_key
2,value2|parent_list_code:parent_key ExtrafieldParamHelpcheckbox=List of values must be lines with format key,value (where key can't be '0')

for example:
1,value1
2,value2
3,value3
... ExtrafieldParamHelpradio=List of values must be lines with format key,value (where key can't be '0')

for example:
1,value1
2,value2
3,value3
... -ExtrafieldParamHelpsellist=List of values comes from a table
Syntax: table_name:label_field:id_field::filtersql
Example: c_typent:libelle:id::filtersql

- id_field is necessarly a primary int key
- filtersql is a SQL condition. It can be a simple test (eg active=1) to display only active value
You can also use $ID$ in filter which is the current id of current object
To use a SELECT into the filter use the keyword $SEL$ to bypass anti-injection protection.
if you want to filter on extrafields use syntax extra.fieldcode=... (where field code is the code of extrafield)

In order to have the list depending on another complementary attribute list:
c_typent:libelle:id:options_parent_list_code|parent_column:filter

In order to have the list depending on another list:
c_typent:libelle:id:parent_list_code|parent_column:filter +ExtrafieldParamHelpsellist=List of values comes from a table
Syntax: table_name:label_field:id_field::filtersql
Example: c_typent:libelle:id::filtersql

- id_field is necessarily a primary int key
- filtersql is a SQL condition. It can be a simple test (eg active=1) to display only active value
You can also use $ID$ in filter which is the current id of current object
To use a SELECT into the filter use the keyword $SEL$ to bypass anti-injection protection.
if you want to filter on extrafields use syntax extra.fieldcode=... (where field code is the code of extrafield)

In order to have the list depending on another complementary attribute list:
c_typent:libelle:id:options_parent_list_code|parent_column:filter

In order to have the list depending on another list:
c_typent:libelle:id:parent_list_code|parent_column:filter ExtrafieldParamHelpchkbxlst=List of values comes from a table
Syntax: table_name:label_field:id_field::filtersql
Example: c_typent:libelle:id::filtersql

filter can be a simple test (eg active=1) to display only active value
You can also use $ID$ in filter witch is the current id of current object
To do a SELECT in filter use $SEL$
if you want to filter on extrafields use syntax extra.fieldcode=... (where field code is the code of extrafield)

In order to have the list depending on another complementary attribute list:
c_typent:libelle:id:options_parent_list_code|parent_column:filter

In order to have the list depending on another list:
c_typent:libelle:id:parent_list_code|parent_column:filter ExtrafieldParamHelplink=Parameters must be ObjectName:Classpath
Syntax: ObjectName:Classpath ExtrafieldParamHelpSeparator=Keep empty for a simple separator
Set this to 1 for a collapsing separator (open by default for new session, then status is kept for each user session)
Set this to 2 for a collapsing separator (collapsed by default for new session, then status is kept fore each user session) @@ -473,7 +474,7 @@ LinkToTestClickToDial=Enter a phone number to call to show a link to test the Cl RefreshPhoneLink=Refresh link LinkToTest=Clickable link generated for user %s (click phone number to test) KeepEmptyToUseDefault=Keep empty to use default value -KeepThisEmptyInMostCases=In most cases, you can keep this field empy. +KeepThisEmptyInMostCases=In most cases, you can keep this field empty. DefaultLink=Default link SetAsDefault=Set as default ValueOverwrittenByUserSetup=Warning, this value may be overwritten by user specific setup (each user can set his own clicktodial url) @@ -518,7 +519,7 @@ TheKeyIsTheNameOfHtmlField=This is the name of the HTML field. Technical knowled PageUrlForDefaultValues=You must enter the relative path of the page URL. If you include parameters in URL, it will be effective if all parameters in browsed URL have the value defined here. PageUrlForDefaultValuesCreate=
Example:
For the form to create a new third party, it is %s.
For URL of external modules installed into custom directory, do not include the "custom/", so use path like mymodule/mypage.php and not custom/mymodule/mypage.php.
If you want default value only if url has some parameter, you can use %s PageUrlForDefaultValuesList=
Example:
For the page that lists third parties, it is %s.
For URL of external modules installed into custom directory, do not include the "custom/" so use a path like mymodule/mypagelist.php and not custom/mymodule/mypagelist.php.
If you want default value only if url has some parameter, you can use %s -AlsoDefaultValuesAreEffectiveForActionCreate=Also note that overwritting default values for form creation works only for pages that were correctly designed (so with parameter action=create or presend...) +AlsoDefaultValuesAreEffectiveForActionCreate=Also note that overwriting default values for form creation works only for pages that were correctly designed (so with parameter action=create or presend...) EnableDefaultValues=Enable customization of default values EnableOverwriteTranslation=Allow customization of translations GoIntoTranslationMenuToChangeThis=A translation has been found for the key with this code. To change this value, you must edit it from Home-Setup-translation. @@ -541,7 +542,7 @@ DAV_ALLOW_PRIVATE_DIRTooltip=The generic private directory is a WebDAV directory DAV_ALLOW_PUBLIC_DIR=Enable the generic public directory (WebDAV dedicated directory named "public" - no login required) DAV_ALLOW_PUBLIC_DIRTooltip=The generic public directory is a WebDAV directory anybody can access (in read and write mode), with no authorization required (login/password account). DAV_ALLOW_ECM_DIR=Enable the DMS/ECM private directory (root directory of the DMS/ECM module - login required) -DAV_ALLOW_ECM_DIRTooltip=The root directory where all files are manually uploaded when using the DMS/ECM module. Similarly as access from the web interface, you will need a valid login/password with adecuate permissions to access it. +DAV_ALLOW_ECM_DIRTooltip=The root directory where all files are manually uploaded when using the DMS/ECM module. Similarly as access from the web interface, you will need a valid login/password with adequate permissions to access it. ##### Modules ##### Module0Name=Users & Groups Module0Desc=Users / Employees and Groups management @@ -566,7 +567,7 @@ Module40Desc=Vendors and purchase management (purchase orders and billing of sup Module42Name=Debug Logs Module42Desc=Logging facilities (file, syslog, ...). Such logs are for technical/debug purposes. Module43Name=Debug Bar -Module43Desc=A tool for developper adding a debug bar in your browser. +Module43Desc=A tool for developer adding a debug bar in your browser. Module49Name=Editors Module49Desc=Editor management Module50Name=Products @@ -582,7 +583,7 @@ Module54Desc=Management of contracts (services or recurring subscriptions) Module55Name=Barcodes Module55Desc=Barcode or QR code management Module56Name=Payment by credit transfer -Module56Desc=Management of payment of suppliers by Credit Transfer orders. It includes generation of SEPA file for European countries. +Module56Desc=Management of payment of suppliers or salaries by Credit Transfer orders. It includes generation of SEPA file for European countries. Module57Name=Payments by Direct Debit Module57Desc=Management of Direct Debit orders. It includes generation of SEPA file for European countries. Module58Name=ClickToDial @@ -654,8 +655,8 @@ Module2300Name=Scheduled jobs Module2300Desc=Scheduled jobs management (alias cron or chrono table) Module2400Name=Events/Agenda Module2400Desc=Track events. Log automatic events for tracking purposes or record manual events or meetings. This is the principal module for good Customer or Vendor Relationship Management. -Module2430Name=Online Booking Calendar -Module2430Desc=Provide an online calendar to allow anyone to book rendez-vous, according to predefined ranges or availabilities. +Module2430Name=Online appointment scheduling +Module2430Desc=Provides an online appointment booking system. This allow anyone to book rendez-vous, according to predefined ranges or availabilities. Module2500Name=DMS / ECM Module2500Desc=Document Management System / Electronic Content Management. Automatic organization of your generated or stored documents. Share them when you need. Module2600Name=API / Web services (SOAP server) @@ -716,6 +717,8 @@ Module63000Desc=Manage resources (printers, cars, rooms, ...) for allocating to Module66000Name=OAuth2 token management Module66000Desc=Provide a tool to generate and manage OAuth2 tokens. The token can then be used by some other modules. Module94160Name=Receptions +ModuleBookCalName=Booking Calendar System +ModuleBookCalDesc=Manage a Calendar to book appointments ##### Permissions ##### Permission11=Read customer invoices (and payments) Permission12=Create/modify customer invoices @@ -1000,7 +1003,7 @@ Permission4031=Read personal information Permission4032=Write personal information Permission4033=Read all evaluations (even those of user not subordinates) Permission10001=Read website content -Permission10002=Create/modify website content (html and javascript content) +Permission10002=Create/modify website content (html and JavaScript content) Permission10003=Create/modify website content (dynamic php code). Dangerous, must be reserved to restricted developers. Permission10005=Delete website content Permission20001=Read leave requests (your leave and those of your subordinates) @@ -1102,6 +1105,7 @@ DictionaryExpenseTaxRange=Expense report - Range by transportation category DictionaryTransportMode=Intracomm report - Transport mode DictionaryBatchStatus=Product lot/serial Quality Control status DictionaryAssetDisposalType=Type of disposal of assets +DictionaryInvoiceSubtype=Invoice subtypes TypeOfUnit=Type of unit SetupSaved=Setup saved SetupNotSaved=Setup not saved @@ -1113,7 +1117,7 @@ BackToModuleList=Back to Module list BackToDictionaryList=Back to Dictionaries list TypeOfRevenueStamp=Type of tax stamp VATManagement=Sales Tax Management -VATIsUsedDesc=By default when creating prospects, invoices, orders etc. the Sales Tax rate follows the active standard rule:
If the seller is not subject to Sales tax, then Sales tax defaults to 0. End of rule.
If the (seller's country = buyer's country), then the Sales tax by default equals the Sales tax of the product in the seller's country. End of rule.
If the seller and buyer are both in the European Community and goods are transport-related products (haulage, shipping, airline), the default VAT is 0. This rule is dependant on the seller's country - please consult with your accountant. The VAT should be paid by the buyer to the customs office in their country and not to the seller. End of rule.
If the seller and buyer are both in the European Community and the buyer is not a company (with a registered intra-Community VAT number) then the VAT defaults to the VAT rate of the seller's country. End of rule.
If the seller and buyer are both in the European Community and the buyer is a company (with a registered intra-Community VAT number), then the VAT is 0 by default. End of rule.
In any other case the proposed default is Sales tax=0. End of rule. +VATIsUsedDesc=By default when creating prospects, invoices, orders etc. the Sales Tax rate follows the active standard rule:
If the seller is not subject to Sales tax, then Sales tax defaults to 0. End of rule.
If the (seller's country = buyer's country), then the Sales tax by default equals the Sales tax of the product in the seller's country. End of rule.
If the seller and buyer are both in the European Community and goods are transport-related products (haulage, shipping, airline), the default VAT is 0. This rule is dependent on the seller's country - please consult with your accountant. The VAT should be paid by the buyer to the customs office in their country and not to the seller. End of rule.
If the seller and buyer are both in the European Community and the buyer is not a company (with a registered intra-Community VAT number) then the VAT defaults to the VAT rate of the seller's country. End of rule.
If the seller and buyer are both in the European Community and the buyer is a company (with a registered intra-Community VAT number), then the VAT is 0 by default. End of rule.
In any other case the proposed default is Sales tax=0. End of rule. VATIsNotUsedDesc=By default the proposed Sales tax is 0 which can be used for cases like associations, individuals or small companies. VATIsUsedExampleFR=In France, it means companies or organizations having a real fiscal system (Simplified real or normal real). A system in which VAT is declared. VATIsNotUsedExampleFR=In France, it means associations that are non Sales tax declared or companies, organizations or liberal professions that have chosen the micro enterprise fiscal system (Sales tax in franchise) and paid a franchise Sales tax without any Sales tax declaration. This choice will display the reference "Non applicable Sales tax - art-293B of CGI" on invoices. @@ -1403,7 +1407,7 @@ PHPModuleLoaded=PHP component %s is loaded PreloadOPCode=Preloaded OPCode is used AddRefInList=Display Customer/Vendor ref. into combo lists.
Third Parties will appear with a name format of "CC12345 - SC45678 - The Big Company corp." instead of "The Big Company corp". AddVatInList=Display Customer/Vendor VAT number into combo lists. -AddAdressInList=Display Customer/Vendor adress into combo lists.
Third Parties will appear with a name format of "The Big Company corp. - 21 jump street 123456 Big town - USA" instead of "The Big Company corp". +AddAdressInList=Display Customer/Vendor address into combo lists.
Third Parties will appear with a name format of "The Big Company corp. - 21 jump street 123456 Big town - USA" instead of "The Big Company corp". AddEmailPhoneTownInContactList=Display Contact email (or phones if not defined) and town info list (select list or combobox)
Contacts will appear with a name format of "Dupond Durand - dupond.durand@example.com - Paris" or "Dupond Durand - 06 07 59 65 66 - Paris" instead of "Dupond Durand". AskForPreferredShippingMethod=Ask for preferred shipping method for Third Parties. FieldEdition=Edition of field %s @@ -1651,7 +1655,7 @@ LDAPFieldGroupidExample=Example : gidnumber LDAPFieldUserid=User id LDAPFieldUseridExample=Example : uidnumber LDAPFieldHomedirectory=Home directory -LDAPFieldHomedirectoryExample=Exemple : homedirectory +LDAPFieldHomedirectoryExample=Example : homedirectory LDAPFieldHomedirectoryprefix=Home directory prefix LDAPSetupNotComplete=LDAP setup not complete (go on others tabs) LDAPNoUserOrPasswordProvidedAccessIsReadOnly=No administrator or password provided. LDAP access will be anonymous and in read only mode. @@ -1673,7 +1677,7 @@ MemcachedModuleAvailableButNotSetup=Module memcached for applicative cache found MemcachedAvailableAndSetup=Module memcached dedicated to use memcached server is enabled. OPCodeCache=OPCode cache NoOPCodeCacheFound=No OPCode cache found. Maybe you are using an OPCode cache other than XCache or eAccelerator (good), or maybe you don't have OPCode cache (very bad). -HTTPCacheStaticResources=HTTP cache for static resources (css, img, javascript) +HTTPCacheStaticResources=HTTP cache for static resources (css, img, JavaScript) FilesOfTypeCached=Files of type %s are cached by HTTP server FilesOfTypeNotCached=Files of type %s are not cached by HTTP server FilesOfTypeCompressed=Files of type %s are compressed by HTTP server @@ -1974,6 +1978,7 @@ HighlightLinesOnMouseHover=Highlight table lines when mouse move passes over HighlightLinesColor=Highlight color of the line when the mouse passes over (use 'ffffff' for no highlight) HighlightLinesChecked=Highlight color of the line when it is checked (use 'ffffff' for no highlight) UseBorderOnTable=Show left-right borders on tables +TableLineHeight=Table line height BtnActionColor=Color of the action button TextBtnActionColor=Text color of the action button TextTitleColor=Text color of Page title @@ -2086,7 +2091,7 @@ MAIN_GENERATE_DOCUMENTS_SUPPLIER_PROPOSAL_WITHOUT_TOTAL_COLUMN=Hide the total pr MAIN_GENERATE_DOCUMENTS_PURCHASE_ORDER_WITHOUT_UNIT_PRICE=Hide the unit price column on purchase orders MAIN_GENERATE_DOCUMENTS_PURCHASE_ORDER_WITHOUT_TOTAL_COLUMN=Hide the total price column on puchase orders MAIN_PDF_NO_SENDER_FRAME=Hide borders on sender address frame -MAIN_PDF_NO_RECIPENT_FRAME=Hide borders on recipent address frame +MAIN_PDF_NO_RECIPENT_FRAME=Hide borders on recipient address frame MAIN_PDF_HIDE_CUSTOMER_CODE=Hide customer code MAIN_PDF_HIDE_SENDER_NAME=Hide sender/company name in address block PROPOSAL_PDF_HIDE_PAYMENTTERM=Hide payments conditions @@ -2122,7 +2127,7 @@ EMailHost=Host of email IMAP server EMailHostPort=Port of email IMAP server loginPassword=Login/Password oauthToken=OAuth2 token -accessType=Acces type +accessType=Access type oauthService=Oauth service TokenMustHaveBeenCreated=Module OAuth2 must be enabled and an oauth2 token must have been created with the correct permissions (for example scope "gmail_full" with OAuth for Gmail). ImapEncryption = IMAP encryption method @@ -2144,13 +2149,13 @@ EmailCollectorHideMailHeaders=Do not include the content of email header into th EmailCollectorHideMailHeadersHelp=When enabled, e-mail headers are not added at the end of the email content that is saved as an agenda event. EmailCollectorConfirmCollectTitle=Email collect confirmation EmailCollectorConfirmCollect=Do you want to run this collector now? -EmailCollectorExampleToCollectTicketRequestsDesc=Collect emails that match some rules and create automatically a ticket (Module Ticket must be enabled) with the email informations. You can use this collector if you provide some support by email, so your ticket request will be automatically generated. Activate also Collect_Responses to collect answers of your client directly on the ticket view (you must reply from Dolibarr). +EmailCollectorExampleToCollectTicketRequestsDesc=Collect emails that match some rules and create automatically a ticket (Module Ticket must be enabled) with the email information. You can use this collector if you provide some support by email, so your ticket request will be automatically generated. Activate also Collect_Responses to collect answers of your client directly on the ticket view (you must reply from Dolibarr). EmailCollectorExampleToCollectTicketRequests=Example collecting the ticket request (first message only) EmailCollectorExampleToCollectAnswersFromExternalEmailSoftwareDesc=Scan your mailbox "Sent" directory to find emails that was sent as an answer of another email directly from your email software and not from Dolibarr. If such an email is found, the event of answer is recorded into Dolibarr EmailCollectorExampleToCollectAnswersFromExternalEmailSoftware=Example collecting e-mail answers sent from an external e-mail software EmailCollectorExampleToCollectDolibarrAnswersDesc=Collect all emails that are an answer of an email sent from your application. An event (Module Agenda must be enabled) with the email response will be recorded at the good place. For example, if you send a commercial proposal, order, invoice or message for a ticket by email from the application, and the recipient answers your email, the system will automatically catch the answer and add it into your ERP. EmailCollectorExampleToCollectDolibarrAnswers=Example collecting all ingoing messages being answers to messages sent from Dolibarr' -EmailCollectorExampleToCollectLeadsDesc=Collect emails that match some rules and create automatically a lead (Module Project must be enabled) with the email informations. You can use this collector if you want to follow your lead using the module Project (1 lead = 1 project), so your leads will be automatically generated. If the collector Collect_Responses is also enabled, when you send an email from your leads, proposals or any other object, you may also see answers of your customers or partners directly on the application.
Note: With this initial example, the title of the lead is generated including the email. If the third party can't be found in database (new customer), the lead will be attached to the third party with ID 1. +EmailCollectorExampleToCollectLeadsDesc=Collect emails that match some rules and create automatically a lead (Module Project must be enabled) with the email information. You can use this collector if you want to follow your lead using the module Project (1 lead = 1 project), so your leads will be automatically generated. If the collector Collect_Responses is also enabled, when you send an email from your leads, proposals or any other object, you may also see answers of your customers or partners directly on the application.
Note: With this initial example, the title of the lead is generated including the email. If the third party can't be found in database (new customer), the lead will be attached to the third party with ID 1. EmailCollectorExampleToCollectLeads=Example collecting leads EmailCollectorExampleToCollectJobCandidaturesDesc=Collect emails applying to job offers (Module Recruitment must be enabled). You can complete this collector if you want to automatically create a candidature for a job request. Note: With this initial example, the title of the candidature is generated including the email. EmailCollectorExampleToCollectJobCandidatures=Example collecting job candidatures received by e-mail @@ -2195,7 +2200,7 @@ ThisValueCanOverwrittenOnUserLevel=This value can be overwritten by each user fr DefaultCustomerType=Default third-party type for "New customer" creation form ABankAccountMustBeDefinedOnPaymentModeSetup=Note: The bank account must be defined on the module of each payment mode (Paypal, Stripe, ...) to have this feature working. RootCategoryForProductsToSell=Root category of products to sell -RootCategoryForProductsToSellDesc=If defined, only products inside this category or childs of this category will be available in the Point Of Sale +RootCategoryForProductsToSellDesc=If defined, only products inside this category or children of this category will be available in the Point Of Sale DebugBar=Debug Bar DebugBarDesc=Toolbar that comes with a plenty of tools to simplify debugging DebugBarSetup=DebugBar Setup @@ -2216,7 +2221,7 @@ ImportSetup=Setup of module Import InstanceUniqueID=Unique ID of the instance SmallerThan=Smaller than LargerThan=Larger than -IfTrackingIDFoundEventWillBeLinked=Note that If a tracking ID of an object is found into email, or if the email is an answer of an email aready collected and linked to an object, the created event will be automatically linked to the known related object. +IfTrackingIDFoundEventWillBeLinked=Note that If a tracking ID of an object is found into email, or if the email is an answer of an email already collected and linked to an object, the created event will be automatically linked to the known related object. WithGMailYouCanCreateADedicatedPassword=With a GMail account, if you enabled the 2 steps validation, it is recommended to create a dedicated second password for the application instead of using your own account password from https://myaccount.google.com/. EmailCollectorTargetDir=It may be a desired behaviour to move the email into another tag/directory when it was processed successfully. Just set name of directory here to use this feature (Do NOT use special characters in name). Note that you must also use a read/write login account. EmailCollectorLoadThirdPartyHelp=You can use this action to use the email content to find and load an existing third party in your database (search will be done on the defined property among 'id','name','name_alias','email'). The found (or created) third party will be used for following actions that need it.
For example, if you want to create a third party with a name extracted from a string 'Name: name to find' present into the body, use the sender email as email, you can set the parameter field like this:
'email=HEADER:^From:(.*);name=EXTRACT:BODY:Name:\\s([^\\s]*);client=SET:2;'
@@ -2241,7 +2246,7 @@ THIRDPARTY_ALIAS=Third-party name - Third-party alias ALIAS_THIRDPARTY=Third-party alias - Third-party name PDFIn2Languages=Show labels in the PDF in 2 different languages (this feature may not work for some couple of languages) PDF_USE_ALSO_LANGUAGE_CODE=If you want to have some texts in your PDF duplicated in 2 different languages in the same generated PDF, you must set here this second language so generated PDF will contains 2 different languages in same page, the one chosen when generating PDF and this one (only few PDF templates support this). Keep empty for 1 language per PDF. -PDF_USE_A=Gererate PDF documents with format PDF/A instead of defaut format PDF +PDF_USE_A=Generate PDF documents with format PDF/A instead of default format PDF FafaIconSocialNetworksDesc=Enter here the code of a FontAwesome icon. If you don't know what is FontAwesome, you can use the generic value fa-address-book. RssNote=Note: Each RSS feed definition provides a widget that you must enable to have it available in dashboard JumpToBoxes=Jump to Setup -> Widgets @@ -2258,16 +2263,16 @@ YouMayFindSecurityAdviceHere=You may find security advisory here ModuleActivatedMayExposeInformation=This PHP extension may expose sensitive data. If you don't need it, disable it. ModuleActivatedDoNotUseInProduction=A module designed for the development has been enabled. Do not enable it on a production environment. CombinationsSeparator=Separator character for product combinations -SeeLinkToOnlineDocumentation=See link to online documention on top menu for examples +SeeLinkToOnlineDocumentation=See link to online documentation on top menu for examples SHOW_SUBPRODUCT_REF_IN_PDF=If the feature "%s" of module %s is used, show details of subproducts of a kit on PDF. AskThisIDToYourBank=Contact your bank to get this ID -AdvancedModeOnly=Permision available in Advanced permission mode only +AdvancedModeOnly=Permission available in Advanced permission mode only ConfFileIsReadableOrWritableByAnyUsers=The conf file is readable or writable by any users. Give permission to web server user and group only. MailToSendEventOrganization=Event Organization MailToPartnership=Partnership AGENDA_EVENT_DEFAULT_STATUS=Default event status when creating a event from the form YouShouldDisablePHPFunctions=You should disable PHP functions -IfCLINotRequiredYouShouldDisablePHPFunctions=Except if you need to run system commands in custom code, you shoud disable PHP functions +IfCLINotRequiredYouShouldDisablePHPFunctions=Except if you need to run system commands in custom code, you should disable PHP functions PHPFunctionsRequiredForCLI=For shell purpose (like scheduled job backup or running an antivirus program), you must keep PHP functions NoWritableFilesFoundIntoRootDir=No writable files or directories of the common programs were found into your root directory (Good) RecommendedValueIs=Recommended: %s @@ -2331,7 +2336,7 @@ WebhookSetup = Webhook setup Settings = Settings WebhookSetupPage = Webhook setup page ShowQuickAddLink=Show a button to quickly add an element in top right menu - +ShowSearchAreaInTopMenu=Show the search area in the top menu HashForPing=Hash used for ping ReadOnlyMode=Is instance in "Read Only" mode DEBUGBAR_USE_LOG_FILE=Use the dolibarr.log file to trap Logs @@ -2364,7 +2369,7 @@ CIDLookupURL=The module brings an URL that can be used by an external tool to ge OauthNotAvailableForAllAndHadToBeCreatedBefore=OAUTH2 authentication is not available for all hosts, and a token with the right permissions must have been created upstream with the OAUTH module MAIN_MAIL_SMTPS_OAUTH_SERVICE=OAUTH2 authentication service DontForgetCreateTokenOauthMod=A token with the right permissions must have been created upstream with the OAUTH module -MAIN_MAIL_SMTPS_AUTH_TYPE=Authentification method +MAIN_MAIL_SMTPS_AUTH_TYPE=Authentication method UsePassword=Use a password UseOauth=Use a OAUTH token Images=Images @@ -2417,4 +2422,10 @@ ThisValueCanBeReadBecauseInstanceIsNotInProductionMode=This value can be read be SeeConfFile=See inside conf.php file on the server ReEncryptDesc=Reencrypt data if not yet encrypted PasswordFieldEncrypted=%s new record have this field been encrypted -ExtrafieldsDeleted=Extrafields %s has been deleted \ No newline at end of file +ExtrafieldsDeleted=Extrafields %s has been deleted +LargeModern=Large - Modern +SpecialCharActivation=Enable the button to open a virtual keyboard to enter special characters +DeleteExtrafield=Delete extrafield +ConfirmDeleteExtrafield=Confirm delete %s extrafield ? All data is going to be lost +ExtraFieldsSupplierInvoicesRec=Complementary attributes (templates invoices) +ExtraFieldsSupplierInvoicesLinesRec=Complementary attributes (invoice lines) diff --git a/htdocs/langs/en_US/agenda.lang b/htdocs/langs/en_US/agenda.lang index 07d97bb967f70..78e06804d3bd1 100644 --- a/htdocs/langs/en_US/agenda.lang +++ b/htdocs/langs/en_US/agenda.lang @@ -128,6 +128,7 @@ MRP_MO_PRODUCEDInDolibarr=MO produced MRP_MO_DELETEInDolibarr=MO deleted MRP_MO_CANCELInDolibarr=MO canceled PAIDInDolibarr=%s paid +ENABLEDISABLEInDolibarr=User enabled or disabled ##### End agenda events ##### AgendaModelModule=Document templates for event DateActionStart=Start date @@ -181,4 +182,22 @@ Reminders=Reminders ActiveByDefault=Enabled by default Until=until DataFromWasMerged=Data from %s was merged -AgendaShowBookcalCalendar=Booking calendar: %s \ No newline at end of file +AgendaShowBookcalCalendar=Booking calendar: %s +MenuBookcalIndex=Online appointment +BookcalLabelAvailabilityHelp=Label of the availability range. For example:
General availability
Availability during christmas holidays +DurationOfRange=Duration of ranges +BookCalSetup = Online appointment setup +Settings = Settings +BookCalSetupPage = Online appointment setup page +BOOKCAL_PUBLIC_INTERFACE_TOPIC = Interface title +About = About +BookCalAbout = About BookCal +BookCalAboutPage = BookCal about page +Calendars=Calendars +Availabilities=Availabilities +NewAvailabilities=New availabilities +NewCalendar=New calendar +ThirdPartyBookCalHelp=Event booked in this calendar will be automatically linked to this third-party. +AppointmentDuration = Appointment Duration : %s +BookingSuccessfullyBooked=Your booking has been saved +BookingReservationHourAfter=We confirm the reservation of your meeting at the date %s diff --git a/htdocs/langs/en_US/banks.lang b/htdocs/langs/en_US/banks.lang index 62dbe855abac0..c6970765e9c5b 100644 --- a/htdocs/langs/en_US/banks.lang +++ b/htdocs/langs/en_US/banks.lang @@ -16,6 +16,7 @@ CashAccounts=Cash accounts CurrentAccounts=Current accounts SavingAccounts=Savings accounts ErrorBankLabelAlreadyExists=Financial account label already exists +ErrorBankReceiptAlreadyExists=Bank receipt reference already exists BankBalance=Balance BankBalanceBefore=Balance before BankBalanceAfter=Balance after @@ -189,7 +190,7 @@ IfYouDontReconcileDisableProperty=If you don't make the bank reconciliations on NoBankAccountDefined=No bank account defined NoRecordFoundIBankcAccount=No record found in bank account. Commonly, this occurs when a record has been deleted manually from the list of transaction in the bank account (for example during a reconciliation of the bank account). Another reason is that the payment was recorded when the module "%s" was disabled. AlreadyOneBankAccount=Already one bank account defined -SEPAXMLPlacePaymentTypeInformationInCreditTransfertransactionInformation=SEPA transfer: 'Payment Type' at 'Credit Transfer' level -SEPAXMLPlacePaymentTypeInformationInCreditTransfertransactionInformationHelp=When generatin a SEPA XML file for Credit transfers, the section "PaymentTypeInformation" can now be placed inside the "CreditTransferTransactionInformation" section (instead of "Payment" section). We strongly recommend to keep this unchecked to place PaymentTypeInformation at Payment level, as all banks will not necessarily accept it at CreditTransferTransactionInformation level. Contact your bank before placing PaymentTypeInformation at CreditTransferTransactionInformation level. +SEPAXMLPlacePaymentTypeInformationInCreditTransfertransactionInformation=SEPA file variant +SEPAXMLPlacePaymentTypeInformationInCreditTransfertransactionInformationHelp=Yes = Store 'Payment Type' in 'Credit Transfer' section of SEPA file

When generating a SEPA XML file for Credit transfers, the section "PaymentTypeInformation" can now be placed inside the "CreditTransferTransactionInformation" section (instead of "Payment" section). We strongly recommend to keep this unchecked to place PaymentTypeInformation at Payment level, as all banks will not necessarily accept it at CreditTransferTransactionInformation level. Contact your bank before placing PaymentTypeInformation at CreditTransferTransactionInformation level. ToCreateRelatedRecordIntoBank=To create missing related bank record -XNewLinesConciliated=%s new line(s) conciliated \ No newline at end of file +XNewLinesConciliated=%s new line(s) conciliated diff --git a/htdocs/langs/en_US/bills.lang b/htdocs/langs/en_US/bills.lang index 2edd2d738fa06..c0d9a1dd9d030 100644 --- a/htdocs/langs/en_US/bills.lang +++ b/htdocs/langs/en_US/bills.lang @@ -124,7 +124,7 @@ EnterPaymentDueToCustomer=Make payment due to customer DisabledBecauseRemainderToPayIsZero=Disabled because remaining unpaid is zero PriceBase=Base price BillStatus=Invoice status -StatusOfGeneratedInvoices=Status of generated invoices +StatusOfAutoGeneratedInvoices=Status of automatically generated invoices BillStatusDraft=Draft (needs to be validated) BillStatusPaid=Paid BillStatusPaidBackOrConverted=Credit note refund or marked as credit available @@ -217,7 +217,7 @@ ConfirmCustomerPayment=Do you confirm this payment input for %s %s? ConfirmSupplierPayment=Do you confirm this payment input for %s %s? ConfirmValidatePayment=Are you sure you want to validate this payment? No change can be made once payment is validated. ValidateBill=Validate invoice -UnvalidateBill=Unvalidate invoice +UnvalidateBill=Invalidate invoice NumberOfBills=No. of invoices NumberOfBillsByMonth=No. of invoices per month AmountOfBills=Amount of invoices @@ -561,10 +561,10 @@ YouMustCreateStandardInvoiceFirstDesc=You have to create a standard invoice firs PDFCrabeDescription=Invoice PDF template Crabe. A complete invoice template (old implementation of Sponge template) PDFSpongeDescription=Invoice PDF template Sponge. A complete invoice template PDFCrevetteDescription=Invoice PDF template Crevette. A complete invoice template for situation invoices -TerreNumRefModelDesc1=Return number in the format %syymm-nnnn for standard invoices and %syymm-nnnn for credit notes where yy is year, mm is month and nnnn is a sequencial auto-incrementing number with no break and no return to 0 -MarsNumRefModelDesc1=Return number in the format %syymm-nnnn for standard invoices, %syymm-nnnn for replacement invoices, %syymm-nnnn for down payment invoices and %syymm-nnnn for credit notes where yy is year, mm is month and nnnn is a sequencial auto-incrementing number with no break and no return to 0 +TerreNumRefModelDesc1=Return number in the format %syymm-nnnn for standard invoices and %syymm-nnnn for credit notes where yy is year, mm is month and nnnn is a sequential auto-incrementing number with no break and no return to 0 +MarsNumRefModelDesc1=Return number in the format %syymm-nnnn for standard invoices, %syymm-nnnn for replacement invoices, %syymm-nnnn for down payment invoices and %syymm-nnnn for credit notes where yy is year, mm is month and nnnn is a sequential auto-incrementing number with no break and no return to 0 TerreNumRefModelError=A bill starting with $syymm already exists and is not compatible with this model of sequence. Remove it or rename it to activate this module. -CactusNumRefModelDesc1=Return number in the format %syymm-nnnn for standard invoices, %syymm-nnnn for credit notes and %syymm-nnnn for down payment invoices where yy is year, mm is month and nnnn is a sequencial auto-incrementing number with no break and no return to 0 +CactusNumRefModelDesc1=Return number in the format %syymm-nnnn for standard invoices, %syymm-nnnn for credit notes and %syymm-nnnn for down payment invoices where yy is year, mm is month and nnnn is a sequential auto-incrementing number with no break and no return to 0 EarlyClosingReason=Early closing reason EarlyClosingComment=Early closing note ##### Types de contacts ##### @@ -641,3 +641,7 @@ MentionCategoryOfOperations=Category of operations MentionCategoryOfOperations0=Delivery of goods MentionCategoryOfOperations1=Provision of services MentionCategoryOfOperations2=Mixed - Delivery of goods & provision of services +Salaries=Salaries +InvoiceSubtype=Invoice Subtype +SalaryInvoice=Salary +BillsAndSalaries=Bills & Salaries diff --git a/htdocs/langs/en_US/blockedlog.lang b/htdocs/langs/en_US/blockedlog.lang index 9fdef53260fa5..63f97d523c107 100644 --- a/htdocs/langs/en_US/blockedlog.lang +++ b/htdocs/langs/en_US/blockedlog.lang @@ -22,7 +22,7 @@ Fingerprint=Fingerprint DownloadLogCSV=Export archived logs (CSV) logDOC_PREVIEW=Preview of a validated document in order to print or download logDOC_DOWNLOAD=Download of a validated document in order to print or send -DataOfArchivedEvent=Full datas of archived event +DataOfArchivedEvent=Full data of archived event ImpossibleToReloadObject=Original object (type %s, id %s) not linked (see 'Full datas' column to get unalterable saved data) BlockedLogAreRequiredByYourCountryLegislation=Unalterable Logs module may be required by the legislation of your country. Disabling this module may render any future transactions invalid with respect to the law and the use of legal software as they can not be validated by a tax audit. BlockedLogActivatedBecauseRequiredByYourCountryLegislation=Unalterable Logs module was activated because of the legislation of your country. Disabling this module may render any future transactions invalid with respect to the law and the use of legal software as they cannot be validated by a tax audit. @@ -33,6 +33,7 @@ RestrictYearToExport=Restrict month / year to export BlockedLogEnabled=System to track events into unalterable logs has been enabled BlockedLogDisabled=System to track events into unalterable logs has been disabled after some recording were done. We saved a special Fingerprint to track the chain as broken BlockedLogDisabledBis=System to track events into unalterable logs has been disabled. This is possible because no record were done yet. +LinkHasBeenDisabledForPerformancePurpose=For performance purpose, direct link to the document is not shown after the 100th line. ## logTypes logBILL_DELETE=Customer invoice logically deleted diff --git a/htdocs/langs/en_US/bookcal.lang b/htdocs/langs/en_US/bookcal.lang deleted file mode 100644 index 868bf5f2ef3d1..0000000000000 --- a/htdocs/langs/en_US/bookcal.lang +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright (C) ---Put here your own copyright and developer email--- -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . - -# -# Generic -# - -# Module label 'ModuleBookCalName' -ModuleBookCalName = Booking Calendar System -# Module description 'ModuleBookCalDesc' -ModuleBookCalDesc = Manage a Calendar to book appointments - -# -# Admin page -# -BookCalSetup = BookCal setup -Settings = Settings -BookCalSetupPage = BookCal setup page -BOOKCAL_PUBLIC_INTERFACE_TOPIC = Interface title -BOOKCAL_MYPARAM1Tooltip = My param 1 tooltip -BOOKCAL_MYPARAM2=My param 2 -BOOKCAL_MYPARAM2Tooltip=My param 2 tooltip - - -# -# About page -# -About = About -BookCalAbout = About BookCal -BookCalAboutPage = BookCal about page - -# -# Sample page -# -BookCalArea = Home BookCal -MyPageName = My page name - -# -# Sample widget -# -MyWidget = My widget -MyWidgetDescription = My widget description - -AppointmentDuration = Appointment Duration : %s -BookingSuccessfullyBooked=Your booking as been saved -BookingReservationHourAfter=We confirm the reservation of your meeting at the date %s \ No newline at end of file diff --git a/htdocs/langs/en_US/boxes.lang b/htdocs/langs/en_US/boxes.lang index 762ce5ee189e5..056161ef77ccd 100644 --- a/htdocs/langs/en_US/boxes.lang +++ b/htdocs/langs/en_US/boxes.lang @@ -115,7 +115,7 @@ BoxLastCustomerShipments=Last customer shipments BoxTitleLastCustomerShipments=Latest %s customer shipments BoxTitleLastLeaveRequests=Latest %s modified leave requests NoRecordedShipments=No recorded customer shipment -BoxCustomersOutstandingBillReached=Customers with oustanding limit reached +BoxCustomersOutstandingBillReached=Customers with outstanding limit reached # Pages UsersHome=Home users and groups MembersHome=Home Membership diff --git a/htdocs/langs/en_US/cashdesk.lang b/htdocs/langs/en_US/cashdesk.lang index 3025d67d7930f..06b5566e9b39b 100644 --- a/htdocs/langs/en_US/cashdesk.lang +++ b/htdocs/langs/en_US/cashdesk.lang @@ -48,7 +48,7 @@ Receipt=Receipt Header=Header Footer=Footer AmountAtEndOfPeriod=Amount at end of period (day, month or year) -TheoricalAmount=Theorical amount +TheoricalAmount=Theoretical amount RealAmount=Real amount CashFence=Cash box closing CashFenceDone=Cash box closing done for the period @@ -57,7 +57,7 @@ Paymentnumpad=Type of Pad to enter payment Numberspad=Numbers Pad BillsCoinsPad=Coins and banknotes Pad DolistorePosCategory=TakePOS modules and other POS solutions for Dolibarr -TakeposNeedsCategories=TakePOS needs at least one product categorie to work +TakeposNeedsCategories=TakePOS needs at least one product category to work TakeposNeedsAtLeastOnSubCategoryIntoParentCategory=TakePOS needs at least 1 product category under the category %s to work OrderNotes=Can add some notes to each ordered items CashDeskBankAccountFor=Default account to use for payments in @@ -92,7 +92,7 @@ HeadBar=Head Bar SortProductField=Field for sorting products Browser=Browser BrowserMethodDescription=Simple and easy receipt printing. Only a few parameters to configure the receipt. Print via browser. -TakeposConnectorMethodDescription=External module with extra features. Posibility to print from the cloud. +TakeposConnectorMethodDescription=External module with extra features. Possibility to print from the cloud. PrintMethod=Print method ReceiptPrinterMethodDescription=Powerful method with a lot of parameters. Full customizable with templates. The server hosting the application can't be in the Cloud (must be able to reach the printers in your network). ByTerminal=By terminal @@ -145,3 +145,11 @@ ShowProductReference=Show reference or label of products UsePriceHT=Use price excl. taxes and not price incl. taxes TerminalName=Terminal %s TerminalNameDesc=Terminal name +DefaultPOSThirdLabel=TakePOS generic customer +DefaultPOSCatLabel=Point Of Sale (POS) products +DefaultPOSProductLabel=Product example for TakePOS +TakeposNeedsPayment=TakePOS needs a payment method to work, do you want to create the payment method 'Cash'? +LineDiscount=Line discount +LineDiscountShort=Line disc. +InvoiceDiscount=Invoice discount +InvoiceDiscountShort=Invoice disc. diff --git a/htdocs/langs/en_US/companies.lang b/htdocs/langs/en_US/companies.lang index 702a22ccc4d70..3a6359db9cc99 100644 --- a/htdocs/langs/en_US/companies.lang +++ b/htdocs/langs/en_US/companies.lang @@ -119,12 +119,20 @@ ProfId3Short=Prof. id 3 ProfId4Short=Prof. id 4 ProfId5Short=Prof. id 5 ProfId6Short=Prof. id 6 +ProfId7Short=Prof. id 7 +ProfId8Short=Prof. id 8 +ProfId9Short=Prof. id 9 +ProfId10Short=Prof. id 10 ProfId1=Professional ID 1 ProfId2=Professional ID 2 ProfId3=Professional ID 3 ProfId4=Professional ID 4 ProfId5=Professional ID 5 ProfId6=Professional ID 6 +ProfId7=Professional ID 7 +ProfId8=Professional ID 8 +ProfId9=Professional ID 9 +ProfId10=Professional ID 10 ProfId1AR=Prof Id 1 (CUIT/CUIL) ProfId2AR=Prof Id 2 (Revenu brutes) ProfId3AR=- @@ -247,7 +255,7 @@ ProfId5MA=Id prof. 5 (I.C.E.) ProfId6MA=- ProfId1MX=Prof Id 1 (R.F.C). ProfId2MX=Prof Id 2 (R..P. IMSS) -ProfId3MX=Prof Id 3 (Profesional Charter) +ProfId3MX=Prof Id 3 (Professional Charter) ProfId4MX=- ProfId5MX=- ProfId6MX=- @@ -477,7 +485,7 @@ CurrentOutstandingBill=Current outstanding bill OutstandingBill=Max. for outstanding bill OutstandingBillReached=Max. for outstanding bill reached OrderMinAmount=Minimum amount for order -MonkeyNumRefModelDesc=Return a number in the format %syymm-nnnn for the customer code and %syymm-nnnn for the vendor code where yy is year, mm is month and nnnn is a sequencial auto-incrementing number with no break and no return to 0. +MonkeyNumRefModelDesc=Return a number in the format %syymm-nnnn for the customer code and %syymm-nnnn for the vendor code where yy is year, mm is month and nnnn is a sequential auto-incrementing number with no break and no return to 0. LeopardNumRefModelDesc=The code is free. This code can be modified at any time. ManagingDirectors=Manager(s) name (CEO, director, president...) MergeOriginThirdparty=Duplicate third party (third party you want to delete) @@ -502,7 +510,7 @@ InEEC=Europe (EEC) RestOfEurope=Rest of Europe (EEC) OutOfEurope=Out of Europe (EEC) CurrentOutstandingBillLate=Current outstanding bill late -BecarefullChangeThirdpartyBeforeAddProductToInvoice=Be carefull, depending on your product price settings, you should change the third party before adding product to POS. +BecarefullChangeThirdpartyBeforeAddProductToInvoice=Be careful, depending on your product price settings, you should change the third party before adding product to POS. EmailAlreadyExistsPleaseRewriteYourCompanyName=email already exists please rewrite your company name TwoRecordsOfCompanyName=more than one record exists for this company, please contact us to complete your partnership request CompanySection=Company section @@ -510,3 +518,5 @@ ShowSocialNetworks=Show social networks HideSocialNetworks=Hide social networks ExternalSystemID=External system ID IDOfPaymentInAnExternalSystem=ID of the payment mode into an external system (like Stripe, Paypal, ...) +AADEWebserviceCredentials=AADE Webservice Credentials +ThirdPartyMustBeACustomerToCreateBANOnStripe=The third-party must be a customer to allow the creation of its bank on Stripe side diff --git a/htdocs/langs/en_US/compta.lang b/htdocs/langs/en_US/compta.lang index 557364d0ae127..62cd3bca57132 100644 --- a/htdocs/langs/en_US/compta.lang +++ b/htdocs/langs/en_US/compta.lang @@ -177,7 +177,7 @@ AnnualByCompaniesDueDebtMode=Balance of income and expenses, detail by predefine AnnualByCompaniesInputOutputMode=Balance of income and expenses, detail by predefined groups, mode %sIncomes-Expenses%s said cash accounting. SeeReportInInputOutputMode=See %sanalysis of payments%s for a calculation based on recorded payments made even if they are not yet accounted in Ledger SeeReportInDueDebtMode=See %sanalysis of recorded documents%s for a calculation based on known recorded documents even if they are not yet accounted in Ledger -SeeReportInBookkeepingMode=See %sanalysis of bookeeping ledger table%s for a report based on Bookkeeping Ledger table +SeeReportInBookkeepingMode=See %sanalysis of bookkeeping ledger table%s for a report based on Bookkeeping Ledger table RulesAmountWithTaxIncluded=- Amounts shown are with all taxes included RulesAmountWithTaxExcluded=- Amounts of invoices shown are with all taxes excluded RulesResultDue=- It includes all invoices, expenses, VAT, donations, salaries, whether they are paid or not.
- It is based on the billing date of invoices and on the due date for expenses or tax payments. For salaries, the date of end of period is used. diff --git a/htdocs/langs/en_US/contracts.lang b/htdocs/langs/en_US/contracts.lang index 6b83094fabece..af909337ce76c 100644 --- a/htdocs/langs/en_US/contracts.lang +++ b/htdocs/langs/en_US/contracts.lang @@ -78,7 +78,7 @@ CloseAllContracts=Close all contract lines DeleteContractLine=Delete a contract line ConfirmDeleteContractLine=Are you sure you want to delete this contract line? MoveToAnotherContract=Move service into another contract. -ConfirmMoveToAnotherContract=I choosed new target contract and confirm I want to move this service into this contract. +ConfirmMoveToAnotherContract=I chose a new target contract and confirm I want to move this service into this contract. ConfirmMoveToAnotherContractQuestion=Choose in which existing contract (of same third party), you want to move this service to? PaymentRenewContractId=Renew contract %s (service %s) ExpiredSince=Expiration date diff --git a/htdocs/langs/en_US/cron.lang b/htdocs/langs/en_US/cron.lang index ccaa67bddf888..3d478f8edf1ad 100644 --- a/htdocs/langs/en_US/cron.lang +++ b/htdocs/langs/en_US/cron.lang @@ -67,7 +67,7 @@ CronModuleHelp=Name of Dolibarr module directory (also work with external Doliba CronClassFileHelp=The relative path and file name to load (path is relative to web server root directory).
For example to call the fetch method of Dolibarr Product object htdocs/product/class/product.class.php, the value for class file name is
product/class/product.class.php CronObjectHelp=The object name to load.
For example to call the fetch method of Dolibarr Product object /htdocs/product/class/product.class.php, the value for class file name is
Product CronMethodHelp=The object method to launch.
For example to call the fetch method of Dolibarr Product object /htdocs/product/class/product.class.php, the value for method is
fetch -CronArgsHelp=The method arguments.
For example to call the fetch method of Dolibarr Product object /htdocs/product/class/product.class.php, the value for paramters can be
0, ProductRef +CronArgsHelp=The method arguments.
For example to call the fetch method of Dolibarr Product object /htdocs/product/class/product.class.php, the value for parameters can be
0, ProductRef CronCommandHelp=The system command line to execute. CronCreateJob=Create new Scheduled Job CronFrom=From diff --git a/htdocs/langs/en_US/dict.lang b/htdocs/langs/en_US/dict.lang index bbd536679fe55..4cd89a7634889 100644 --- a/htdocs/langs/en_US/dict.lang +++ b/htdocs/langs/en_US/dict.lang @@ -158,7 +158,7 @@ CountryMX=Mexico CountryFM=Micronesia CountryMD=Moldova CountryMN=Mongolia -CountryMS=Monserrat +CountryMS=Montserrat CountryMZ=Mozambique CountryMM=Myanmar (Burma) CountryNA=Namibia @@ -233,7 +233,7 @@ CountryUY=Uruguay CountryUZ=Uzbekistan CountryVU=Vanuatu CountryVE=Venezuela -CountryVN=Viet Nam +CountryVN=Vietnam CountryVG=Virgin Islands, British CountryVI=Virgin Islands, U.S. CountryWF=Wallis and Futuna diff --git a/htdocs/langs/en_US/ecm.lang b/htdocs/langs/en_US/ecm.lang index 941977b3e40d9..4615a41ae8863 100644 --- a/htdocs/langs/en_US/ecm.lang +++ b/htdocs/langs/en_US/ecm.lang @@ -19,7 +19,7 @@ ECMArea=DMS/ECM area ECMAreaDesc=The DMS/ECM (Document Management System / Electronic Content Management) area allows you to save, share and search quickly all kind of documents in Dolibarr. ECMAreaDesc2a=* Manual directories can be used to save documents with a free organization of the tree structure. ECMAreaDesc2b=* Automatic directories are filled automatically when adding documents from the page of an element. -ECMAreaDesc3=* Public directories are files into the subdirectory /medias of the documents directory, readable by everybody with no need to be logged and no need to have the file shared explicitely. It is used to store image files for the emailing or website module for example. +ECMAreaDesc3=* Public directories are files into the subdirectory /medias of the documents directory, readable by everybody with no need to be logged and no need to have the file shared explicitly. It is used to store image files for the emailing or website module for example. ECMSectionWasRemoved=Directory %s has been deleted. ECMSectionWasCreated=Directory %s has been created. ECMSearchByKeywords=Search by keywords diff --git a/htdocs/langs/en_US/errors.lang b/htdocs/langs/en_US/errors.lang index 63a4c43c9b900..61d131e1bc4d5 100644 --- a/htdocs/langs/en_US/errors.lang +++ b/htdocs/langs/en_US/errors.lang @@ -58,17 +58,18 @@ ErrorSubjectIsRequired=The email subject is required ErrorFailedToCreateDir=Failed to create a directory. Check that Web server user has permissions to write into Dolibarr documents directory. If parameter safe_mode is enabled on this PHP, check that Dolibarr php files owns to web server user (or group). ErrorNoMailDefinedForThisUser=No mail defined for this user ErrorSetupOfEmailsNotComplete=Setup of emails is not complete -ErrorFeatureNeedJavascript=This feature need javascript to be activated to work. Change this in setup - display. +ErrorFeatureNeedJavascript=This feature needs JavaScript to be activated to work. Change this in setup - display. ErrorTopMenuMustHaveAParentWithId0=A menu of type 'Top' can't have a parent menu. Put 0 in parent menu or choose a menu of type 'Left'. ErrorLeftMenuMustHaveAParentId=A menu of type 'Left' must have a parent id. ErrorFileNotFound=File %s not found (Bad path, wrong permissions or access denied by PHP openbasedir or safe_mode parameter) ErrorDirNotFound=Directory %s not found (Bad path, wrong permissions or access denied by PHP openbasedir or safe_mode parameter) ErrorFunctionNotAvailableInPHP=Function %s is required for this feature but is not available in this version/setup of PHP. ErrorDirAlreadyExists=A directory with this name already exists. +ErrorDirNotWritable=Directory %s is not writable. ErrorFileAlreadyExists=A file with this name already exists. ErrorDestinationAlreadyExists=Another file with the name %s already exists. ErrorPartialFile=File not received completely by server. -ErrorNoTmpDir=Temporary directy %s does not exists. +ErrorNoTmpDir=Temporary directory %s does not exists. ErrorUploadBlockedByAddon=Upload blocked by a PHP/Apache plugin. ErrorFileSizeTooLarge=File size is too large or file not provided. ErrorFieldTooLong=Field %s is too long. @@ -91,9 +92,9 @@ ErrorPleaseTypeBankTransactionReportName=Please enter the bank statement name wh ErrorRecordHasChildren=Failed to delete record since it has some child records. ErrorRecordHasAtLeastOneChildOfType=Object %s has at least one child of type %s ErrorRecordIsUsedCantDelete=Can't delete record. It is already used or included into another object. -ErrorModuleRequireJavascript=Javascript must not be disabled to have this feature working. To enable/disable Javascript, go to menu Home->Setup->Display. +ErrorModuleRequireJavascript=JavaScript must not be disabled to have this feature working. To enable/disable JavaScript, go to menu Home->Setup->Display. ErrorPasswordsMustMatch=Both typed passwords must match each other -ErrorContactEMail=A technical error occured. Please, contact administrator to following email %s and provide the error code %s in your message, or add a screen copy of this page. +ErrorContactEMail=A technical error occurred. Please, contact administrator to following email %s and provide the error code %s in your message, or add a screen copy of this page. ErrorWrongValueForField=Field %s: '%s' does not match regex rule %s ErrorHtmlInjectionForField=Field %s: The value '%s' contains a malicious data not allowed ErrorFieldValueNotIn=Field %s: '%s' is not a value found in field %s of %s @@ -104,7 +105,8 @@ ErrorFileIsInfectedWithAVirus=The antivirus program was not able to validate the ErrorNumRefModel=A reference exists into database (%s) and is not compatible with this numbering rule. Remove record or renamed reference to activate this module. ErrorQtyTooLowForThisSupplier=Quantity too low for this vendor or no price defined on this product for this vendor ErrorOrdersNotCreatedQtyTooLow=Some orders haven't been created because of too-low quantities -ErrorModuleSetupNotComplete=Setup of module %s looks to be uncomplete. Go on Home - Setup - Modules to complete. +ErrorOrderStatusCantBeSetToDelivered=Order status can't be set to delivered. +ErrorModuleSetupNotComplete=Setup of module %s looks to be incomplete. Go on Home - Setup - Modules to complete. ErrorBadMask=Error on mask ErrorBadMaskFailedToLocatePosOfSequence=Error, mask without sequence number ErrorBadMaskBadRazMonth=Error, bad reset value @@ -167,7 +169,7 @@ ErrorPriceExpression4=Illegal character '%s' ErrorPriceExpression5=Unexpected '%s' ErrorPriceExpression6=Wrong number of arguments (%s given, %s expected) ErrorPriceExpression8=Unexpected operator '%s' -ErrorPriceExpression9=An unexpected error occured +ErrorPriceExpression9=An unexpected error occurred ErrorPriceExpression10=Operator '%s' lacks operand ErrorPriceExpression11=Expecting '%s' ErrorPriceExpression14=Division by zero @@ -302,6 +304,7 @@ ErrorThisPaymentModeIsNotSepa=This payment mode is not a bank account ErrorStripeCustomerNotFoundCreateFirst=Stripe customer is not set for this third party (or set to a value deleted on Stripe side). Create (or re-attach) it first. ErrorCharPlusNotSupportedByImapForSearch=IMAP search is not able to search into sender or recipient for a string containing the character + ErrorTableNotFound=Table %s not found +ErrorRefNotFound=Ref %s not found ErrorValueForTooLow=Value for %s is too low ErrorValueCantBeNull=Value for %s can't be null ErrorDateOfMovementLowerThanDateOfFileTransmission=The date of the bank transaction can't be lower than the date of the file transmission @@ -320,6 +323,7 @@ ErrorMenuExistValue=A Menu already exist with this Title or URL ErrorSVGFilesNotAllowedAsLinksWithout=SVG files are not allowed as external links without the option %s ErrorTypeMenu=Impossible to add another menu for the same module on the navbar, not handle yet ErrorObjectNotFound = The object %s is not found, please check your url +ErrorCountryCodeMustBe2Char=Country code must be a 2 character string ErrorTableExist=Table %s already exist ErrorDictionaryNotFound=Dictionary %s not found @@ -363,7 +367,7 @@ WarningPaypalPaymentNotCompatibleWithStrict=The value 'Strict' makes the online WarningThemeForcedTo=Warning, theme has been forced to %s by hidden constant MAIN_FORCETHEME WarningPagesWillBeDeleted=Warning, this will also delete all existing pages/containers of the website. You should export your website before, so you have a backup to re-import it later. WarningAutoValNotPossibleWhenStockIsDecreasedOnInvoiceVal=Automatic validation is disabled when option to decrease stock is set on "Invoice validation". -WarningModuleNeedRefrech = Module %s has been disabled. Don't forget to enable it +WarningModuleNeedRefresh = Module %s has been disabled. Don't forget to enable it WarningPermissionAlreadyExist=Existing permissions for this object WarningGoOnAccountancySetupToAddAccounts=If this list is empty, go into menu %s - %s - %s to load or create accounts for your chart of account. WarningCorrectedInvoiceNotFound=Corrected invoice not found diff --git a/htdocs/langs/en_US/eventorganization.lang b/htdocs/langs/en_US/eventorganization.lang index 4c9fd31b89622..71e1a200583ee 100644 --- a/htdocs/langs/en_US/eventorganization.lang +++ b/htdocs/langs/en_US/eventorganization.lang @@ -90,7 +90,7 @@ PriceOfRegistrationHelp=Price to pay to register or participate in the event PriceOfBooth=Subscription price to stand a booth PriceOfBoothHelp=Subscription price to stand a booth EventOrganizationICSLink=Link ICS for conferences -ConferenceOrBoothInformation=Conference Or Booth informations +ConferenceOrBoothInformation=Conference Or Booth information Attendees=Attendees ListOfAttendeesOfEvent=List of attendees of the event project DownloadICSLink = Download ICS link @@ -98,6 +98,7 @@ EVENTORGANIZATION_SECUREKEY = Seed to secure the key for the public registration SERVICE_BOOTH_LOCATION = Service used for the invoice row about a booth location SERVICE_CONFERENCE_ATTENDEE_SUBSCRIPTION = Service used for the invoice row about an attendee subscription to an event NbVotes=Number of votes + # # Status # @@ -107,8 +108,9 @@ EvntOrgConfirmed = Confirmed EvntOrgNotQualified = Not Qualified EvntOrgDone = Done EvntOrgCancelled = Cancelled + # -# Public page +# Other # SuggestForm = Suggestion page SuggestOrVoteForConfOrBooth = Page for suggestion or vote @@ -144,13 +146,8 @@ OrganizationEventBulkMailToAttendees=This is a remind about your participation i OrganizationEventBulkMailToSpeakers=This is a reminder on your participation in the event as a speaker OrganizationEventLinkToThirdParty=Link to third party (customer, supplier or partner) OrganizationEvenLabelName=Public name of the conference or booth - NewSuggestionOfBooth=Application for a booth NewSuggestionOfConference=Application to hold a conference - -# -# Vote page -# EvntOrgRegistrationWelcomeMessage = Welcome on the conference or booth suggestion page. EvntOrgRegistrationConfWelcomeMessage = Welcome on the conference suggestion page. EvntOrgRegistrationBoothWelcomeMessage = Welcome on the booth suggestion page. @@ -158,8 +155,8 @@ EvntOrgVoteHelpMessage = Here, you can view and vote for the suggested events fo VoteOk = Your vote has been accepted. AlreadyVoted = You have already voted for this event. VoteError = An error has occurred during the vote, please try again. - SubscriptionOk=Your registration has been recorded +AmountOfRegistrationPaid=Amount of registration paid ConfAttendeeSubscriptionConfirmation = Confirmation of your subscription to an event Attendee = Attendee PaymentConferenceAttendee = Conference attendee payment @@ -169,8 +166,8 @@ RegistrationAndPaymentWereAlreadyRecorder=A registration and a payment were alre EmailAttendee=Attendee email EmailCompany=Company email EmailCompanyForInvoice=Company email (for invoice, if different of attendee email) -ErrorSeveralCompaniesWithEmailContactUs=Several companies with this email has been found so we can't validate automaticaly your registration. Please contact us at %s for a manual validation -ErrorSeveralCompaniesWithNameContactUs=Several companies with this name has been found so we can't validate automaticaly your registration. Please contact us at %s for a manual validation +ErrorSeveralCompaniesWithEmailContactUs=Several companies with this email has been found so we can't validate automatically your registration. Please contact us at %s for a manual validation +ErrorSeveralCompaniesWithNameContactUs=Several companies with this name has been found so we can't validate automatically your registration. Please contact us at %s for a manual validation NoPublicActionsAllowedForThisEvent=No public actions are open to public for this event MaxNbOfAttendees=Max number of attendees DateStartEvent=Event start date @@ -180,4 +177,4 @@ ConfirmModifyStatus=Confirm status modification ConfirmModifyStatusQuestion=Are you sure you want to modify the %s selected record(s)? RecordsUpdated = %s Records updated RecordUpdated = Record updated -NoRecordUpdated = No Record updated \ No newline at end of file +NoRecordUpdated = No Record updated diff --git a/htdocs/langs/en_US/expensereports.lang b/htdocs/langs/en_US/expensereports.lang index fb47274323f5b..ae7932e6bb211 100644 --- a/htdocs/langs/en_US/expensereports.lang +++ b/htdocs/langs/en_US/expensereports.lang @@ -26,7 +26,7 @@ ConfirmPaidTrip=Are you sure you want to change status of this expense report to ConfirmRefuseTrip=Are you sure you want to deny this expense report? ConfirmSaveTrip=Are you sure you want to validate this expense report? ConfirmValideTrip=Are you sure you want to approve this expense report? -DATE_CANCEL=Cancelation date +DATE_CANCEL=Cancellation date DATE_PAIEMENT=Payment date DATE_REFUS=Deny date DATE_SAVE=Validation date @@ -41,7 +41,7 @@ expenseReportCoef=Coefficient expenseReportCoefUndefined=(value not defined) expenseReportOffset=Offset expenseReportPrintExample=offset + (d x coef) = %s -expenseReportRangeDisabled=Range disabled - see the c_exp_tax_range dictionay +expenseReportRangeDisabled=Range disabled - see the c_exp_tax_range dictionary expenseReportRangeFromTo=from %d to %d expenseReportRangeMoreThan=more than %d expenseReportTotalForFive=Example with d = 5 @@ -105,7 +105,7 @@ ShowExpenseReport=Show expense report ShowTrip=Show expense report TripCard=Expense report card TripId=Id expense report -TripNDF=Informations expense report +TripNDF=Information expense report TripSociete=Information company Trips=Expense reports TripsAndExpenses=Expense reports @@ -164,4 +164,4 @@ TaxUndefinedForThisCategory = Taxe undefined for this category ErrorRecordNotFound=Record not found errorComputeTtcOnMileageExpense=Error on computing mileage expense ErrorBadValueForParameter=Error bad value for parameter %s -ErrorOnlyDraftStatusCanBeDeletedInMassAction=Error only draft status can be deleted in mass action \ No newline at end of file +ErrorOnlyDraftStatusCanBeDeletedInMassAction=Error only draft status can be deleted in mass action diff --git a/htdocs/langs/en_US/exports.lang b/htdocs/langs/en_US/exports.lang index eb0c03fd56f61..af4c6f31b24f3 100644 --- a/htdocs/langs/en_US/exports.lang +++ b/htdocs/langs/en_US/exports.lang @@ -27,8 +27,8 @@ FieldTitle=Field title NowClickToGenerateToBuildExportFile=Now, select the file format in the combo box and click on "Generate" to build the export file... AvailableFormats=Available Formats LibraryShort=Library -ExportCsvSeparator=Csv caracter separator -ImportCsvSeparator=Csv caracter separator +ExportCsvSeparator=Csv character separator +ImportCsvSeparator=Csv character separator Step=Step FormatedImport=Import Assistant FormatedImportDesc1=This module allows you to update existing data or add new objects into the database from a file without technical knowledge, using an assistant. @@ -144,4 +144,4 @@ NotUsedFields=Fields of database not used SelectImportFieldsSource = Choose the source file fields you want to import and their target field in database by choosing the fields in each select boxes, or select a predefined import profile: MandatoryTargetFieldsNotMapped=Some mandatory target fields are not mapped AllTargetMandatoryFieldsAreMapped=All target fields that need a mandatory value are mapped -ResultOfSimulationNoError=Result of simulation: No error \ No newline at end of file +ResultOfSimulationNoError=Result of simulation: No error diff --git a/htdocs/langs/en_US/holiday.lang b/htdocs/langs/en_US/holiday.lang index f8c61f327e281..15491a2f347d4 100644 --- a/htdocs/langs/en_US/holiday.lang +++ b/htdocs/langs/en_US/holiday.lang @@ -102,7 +102,7 @@ FirstDayOfHoliday=Beginning day of leave request LastDayOfHoliday=Ending day of leave request HolidaysMonthlyUpdate=Monthly update ManualUpdate=Manual update -HolidaysCancelation=Leave request cancelation +HolidaysCancelation=Leave request cancellation EmployeeLastname=Employee last name EmployeeFirstname=Employee first name TypeWasDisabledOrRemoved=Leave type (id %s) was disabled or removed @@ -144,7 +144,7 @@ WatermarkOnDraftHolidayCards=Watermarks on draft leave requests HolidaysToApprove=Holidays to approve NobodyHasPermissionToValidateHolidays=Nobody has permission to validate leave requests HolidayBalanceMonthlyUpdate=Monthly update of leave balance -XIsAUsualNonWorkingDay=%s is usualy a NON working day +XIsAUsualNonWorkingDay=%s is usually a NON working day BlockHolidayIfNegative=Block if balance negative LeaveRequestCreationBlockedBecauseBalanceIsNegative=The creation of this leave request is blocked because your balance is negative ErrorLeaveRequestMustBeDraftCanceledOrRefusedToBeDeleted=Leave request %s must be draft, canceled or refused to be deleted diff --git a/htdocs/langs/en_US/hrm.lang b/htdocs/langs/en_US/hrm.lang index a31f09be9d73c..5cdbf97d86818 100644 --- a/htdocs/langs/en_US/hrm.lang +++ b/htdocs/langs/en_US/hrm.lang @@ -67,8 +67,8 @@ MaxLevelLowerThanShort=Level lower than expected SkillNotAcquired=Skill not acquired by all users and requested by the second comparator legend=Legend TypeSkill=Skill type -AddSkill=Add skills to job -RequiredSkills=Required skills for this job +AddSkill=Add skills to job profile +RequiredSkills=Required skills for this job profile UserRank=User Rank SkillList=Skill list SaveRank=Save rank diff --git a/htdocs/langs/en_US/interventions.lang b/htdocs/langs/en_US/interventions.lang index b92474e7f914b..ecaf9e2102066 100644 --- a/htdocs/langs/en_US/interventions.lang +++ b/htdocs/langs/en_US/interventions.lang @@ -14,10 +14,12 @@ InterventionContact=Intervention contact DeleteIntervention=Delete intervention ValidateIntervention=Validate intervention ModifyIntervention=Modify intervention +CloseIntervention=Close intervention DeleteInterventionLine=Delete intervention line ConfirmDeleteIntervention=Are you sure you want to delete this intervention? ConfirmValidateIntervention=Are you sure you want to validate this intervention under name %s? ConfirmModifyIntervention=Are you sure you want to modify this intervention? +ConfirmCloseIntervention=Are you sure you want to close this intervention? ConfirmDeleteInterventionLine=Are you sure you want to delete this intervention line? ConfirmCloneIntervention=Are you sure you want to clone this intervention? NameAndSignatureOfInternalContact=Name and signature of intervening: @@ -36,6 +38,7 @@ InterventionModifiedInDolibarr=Intervention %s modified InterventionClassifiedBilledInDolibarr=Intervention %s set as billed InterventionClassifiedUnbilledInDolibarr=Intervention %s set as unbilled InterventionSentByEMail=Intervention %s sent by email +InterventionClosedInDolibarr= Intervention %s closed InterventionDeletedInDolibarr=Intervention %s deleted InterventionsArea=Interventions area DraftFichinter=Draft interventions @@ -69,4 +72,4 @@ GenerateInter=Generate intervention FichinterNoContractLinked=Intervention %s has been created without a linked contract. ErrorFicheinterCompanyDoesNotExist=Company does not exist. Intervention has not been created. NextDateToIntervention=Date for next intervention generation -NoIntervention=No intervention \ No newline at end of file +NoIntervention=No intervention diff --git a/htdocs/langs/en_US/languages.lang b/htdocs/langs/en_US/languages.lang index 9c55f3ae4d039..8f08e5777e736 100644 --- a/htdocs/langs/en_US/languages.lang +++ b/htdocs/langs/en_US/languages.lang @@ -1,12 +1,13 @@ # Dolibarr language file - Source file is en_US - languages Language_am_ET=Ethiopian Language_af_ZA=Afrikaans (South Africa) +Language_en_AE=Arabic (United Arab Emirates) Language_ar_AR=Arabic Language_ar_DZ=Arabic (Algeria) Language_ar_EG=Arabic (Egypt) Language_ar_JO=Arabic (Jordania) Language_ar_MA=Arabic (Moroco) -Language_ar_SA=Arabic +Language_ar_SA=Arabic (Saudi Arabia) Language_ar_TN=Arabic (Tunisia) Language_ar_IQ=Arabic (Iraq) Language_as_IN=Assamese diff --git a/htdocs/langs/en_US/loan.lang b/htdocs/langs/en_US/loan.lang index 3bbb0e455d5e8..4062dd8c7c99b 100644 --- a/htdocs/langs/en_US/loan.lang +++ b/htdocs/langs/en_US/loan.lang @@ -23,7 +23,7 @@ AddLoan=Create loan FinancialCommitment=Financial commitment InterestAmount=Interest CapitalRemain=Capital remain -TermPaidAllreadyPaid = This term is allready paid +TermPaidAllreadyPaid = This term is already paid CantUseScheduleWithLoanStartedToPaid = Can't generate a timeline for a loan with a payment started CantModifyInterestIfScheduleIsUsed = You can't modify interest if you use schedule # Admin diff --git a/htdocs/langs/en_US/mails.lang b/htdocs/langs/en_US/mails.lang index 2e60d8549aac4..3089eef2ae01e 100644 --- a/htdocs/langs/en_US/mails.lang +++ b/htdocs/langs/en_US/mails.lang @@ -182,5 +182,5 @@ WarningLimitSendByDay=WARNING: The setup or contract of your instance limits you NoMoreRecipientToSendTo=No more recipient to send the email to EmailOptedOut=Email owner has requested to not contact him with this email anymore EvenUnsubscribe=Include opt-out emails -EvenUnsubscribeDesc=Include opt-out emails when you select emails as targets. Usefull for mandatory service emails for example. +EvenUnsubscribeDesc=Include opt-out emails when you select emails as targets. Useful for mandatory service emails for example. XEmailsDoneYActionsDone=%s emails pre-qualified, %s emails successfully processed (for %s record/actions done) diff --git a/htdocs/langs/en_US/main.lang b/htdocs/langs/en_US/main.lang index 38b7550b9ca11..6a226c69e30c9 100644 --- a/htdocs/langs/en_US/main.lang +++ b/htdocs/langs/en_US/main.lang @@ -36,7 +36,7 @@ NoTranslation=No translation Translation=Translation Translations=Translations CurrentTimeZone=TimeZone PHP (server) -EmptySearchString=Enter non empty search criterias +EmptySearchString=Enter non empty search criteria EnterADateCriteria=Enter a date criteria NoRecordFound=No record found NoRecordDeleted=No record deleted @@ -74,6 +74,7 @@ ErrorNoVATRateDefinedForSellerCountry=Error, no vat rates defined for country '% ErrorNoSocialContributionForSellerCountry=Error, no social/fiscal taxes type defined for country '%s'. ErrorFailedToSaveFile=Error, failed to save file. ErrorCannotAddThisParentWarehouse=You are trying to add a parent warehouse which is already a child of a existing warehouse +ErrorInvalidSubtype=Selected Subtype is not allowed FieldCannotBeNegative=Field "%s" cannot be negative MaxNbOfRecordPerPage=Max. number of records per page NotAuthorized=You are not authorized to do that. @@ -445,7 +446,7 @@ LT1ES=RE LT2ES=IRPF LT1IN=CGST LT2IN=SGST -LT1GC=Additionnal cents +LT1GC=Additional cents VATRate=Tax Rate RateOfTaxN=Rate of tax %s VATCode=Tax Rate code @@ -548,6 +549,7 @@ Reportings=Reporting Draft=Draft Drafts=Drafts StatusInterInvoiced=Invoiced +Done=Done Validated=Validated ValidatedToProduce=Validated (To produce) Opened=Open @@ -723,6 +725,7 @@ RecordModifiedSuccessfully=Record modified successfully RecordsModified=%s record(s) modified RecordsDeleted=%s record(s) deleted RecordsGenerated=%s record(s) generated +ValidatedRecordWhereFound = Some of the selected records have already been validated. No records have been deleted. AutomaticCode=Automatic code FeatureDisabled=Feature disabled MoveBox=Move widget @@ -769,7 +772,7 @@ DateOfSignature=Date of signature HidePassword=Show command with password hidden UnHidePassword=Show real command with clear password Root=Root -RootOfMedias=Root of public medias (/medias) +RootOfMedias=Root of public media (/medias) Informations=Information Page=Page Notes=Notes @@ -1165,8 +1168,8 @@ AffectTag=Assign a Tag AffectUser=Assign a User SetSupervisor=Set the supervisor CreateExternalUser=Create external user -ConfirmAffectTag=Bulk Tag Assignement -ConfirmAffectUser=Bulk User Assignement +ConfirmAffectTag=Bulk Tag Assignment +ConfirmAffectUser=Bulk User Assignment ProjectRole=Role assigned on each project/opportunity TasksRole=Role assigned on each task (if used) ConfirmSetSupervisor=Bulk Supervisor Set @@ -1251,3 +1254,5 @@ ErrorFailedToDeleteLink= Failed to remove link '%s' ErrorFailedToUpdateLink= Failed to update link '%s' URLToLink=URL to link OverwriteIfExists=Overwrite if file exists +AmountSalary=Salary amount +InvoiceSubtype=Invoice subtype diff --git a/htdocs/langs/en_US/margins.lang b/htdocs/langs/en_US/margins.lang index 9101966eff28d..7d659270184a9 100644 --- a/htdocs/langs/en_US/margins.lang +++ b/htdocs/langs/en_US/margins.lang @@ -38,7 +38,7 @@ CostPrice=Cost price UnitCharges=Unit charges Charges=Charges AgentContactType=Commercial agent contact type -AgentContactTypeDetails=Define what contact type (linked on invoices) will be used for margin report per contact/address. Note that reading statistics on a contact is not reliable since in most cases the contact may not be defined explicitely on the invoices. +AgentContactTypeDetails=Define what contact type (linked on invoices) will be used for margin report per contact/address. Note that reading statistics on a contact is not reliable since in most cases the contact may not be defined explicitly on the invoices. rateMustBeNumeric=Rate must be a numeric value markRateShouldBeLesserThan100=Mark rate should be lower than 100 ShowMarginInfos=Show margin infos diff --git a/htdocs/langs/en_US/members.lang b/htdocs/langs/en_US/members.lang index 277081d7ef320..daeec46501d31 100644 --- a/htdocs/langs/en_US/members.lang +++ b/htdocs/langs/en_US/members.lang @@ -128,7 +128,7 @@ String=String Text=Text Int=Int DateAndTime=Date and time -PublicMemberCard=Member public card +PublicMemberCard=Public member card SubscriptionNotRecorded=Contribution not recorded AddSubscription=Create contribution ShowSubscription=Show contribution @@ -138,7 +138,7 @@ SendingEmailOnAutoSubscription=Sending email on auto registration SendingEmailOnMemberValidation=Sending email on new member validation SendingEmailOnNewSubscription=Sending email on new contribution SendingReminderForExpiredSubscription=Sending reminder for expired contributions -SendingEmailOnCancelation=Sending email on cancelation +SendingEmailOnCancelation=Sending email on cancellation SendingReminderActionComm=Sending reminder for agenda event # Topic of email templates YourMembershipRequestWasReceived=Your membership was received. @@ -159,7 +159,7 @@ DescADHERENT_EMAIL_TEMPLATE_AUTOREGISTER=Email template to use to send email to DescADHERENT_EMAIL_TEMPLATE_MEMBER_VALIDATION=Email template to use to send email to a member on member validation DescADHERENT_EMAIL_TEMPLATE_SUBSCRIPTION=Email template to use to send email to a member on new contribution recording DescADHERENT_EMAIL_TEMPLATE_REMIND_EXPIRATION=Email template to use to send email reminder when contribution is about to expire -DescADHERENT_EMAIL_TEMPLATE_CANCELATION=Email template to use to send email to a member on member cancelation +DescADHERENT_EMAIL_TEMPLATE_CANCELATION=Email template to use to send email to a member on member cancellation DescADHERENT_EMAIL_TEMPLATE_EXCLUSION=Email template to use to send email to a member on member exclusion DescADHERENT_MAIL_FROM=Sender Email for automatic emails DescADHERENT_CC_MAIL_FROM=Send automatic email copy to @@ -175,7 +175,7 @@ HTPasswordExport=htpassword file generation NoThirdPartyAssociatedToMember=No third party associated with this member MembersAndSubscriptions=Members and Contributions MoreActions=Complementary action on recording -MoreActionsOnSubscription=Complementary action suggested by default when recording a contribution, also done automatially on online payment of a contribution +MoreActionsOnSubscription=Complementary action suggested by default when recording a contribution, also done automatically on online payment of a contribution MoreActionBankDirect=Create a direct entry on bank account MoreActionBankViaInvoice=Create an invoice, and a payment on bank account MoreActionInvoiceOnly=Create an invoice with no payment @@ -207,6 +207,7 @@ LatestSubscriptionDate=Latest contribution date MemberNature=Nature of the member MembersNature=Nature of the members Public=%s can publish my membership in the public register +MembershipPublic=Public membership NewMemberbyWeb=New member added. Awaiting approval NewMemberForm=New member form SubscriptionsStatistics=Contributions statistics @@ -241,3 +242,5 @@ MemberFirstname=Member firstname MemberLastname=Member lastname MemberCodeDesc=Member Code, unique for all members NoRecordedMembers=No recorded members +MemberSubscriptionStartFirstDayOf=The start date of a membership corresponds to the first day of a +MemberSubscriptionStartAfter=Minimum period before the entry into force of the start date of a subscription except renewals (example +3m = +3 months, -5d = -3 days, +1Y = +1 year) (example: +3m = +3 months, -5d = -3 days, +1Y = +1 year) diff --git a/htdocs/langs/en_US/modulebuilder.lang b/htdocs/langs/en_US/modulebuilder.lang index 4ae7d6c4968da..291cbd93837ce 100644 --- a/htdocs/langs/en_US/modulebuilder.lang +++ b/htdocs/langs/en_US/modulebuilder.lang @@ -57,7 +57,7 @@ RegenerateMissingFiles=Generate missing files SpecificationFile=File of documentation LanguageFile=File for language ObjectProperties=Object Properties -Property=Propery +Property=Property PropertyDesc=A property is an attribute that characterizes an object. This attribute has a code, a label and a type with several options. ConfirmDeleteProperty=Are you sure you want to delete the property %s? This will change code in PHP class but also remove column from table definition of object. NotNull=Not NULL @@ -71,7 +71,7 @@ ArrayOfKeyValues=Array of key-val ArrayOfKeyValuesDesc=Array of keys and values if field is a combo list with fixed values WidgetFile=Widget file CSSFile=CSS file -JSFile=Javascript file +JSFile=JavaScript file ReadmeFile=Readme file ChangeLog=ChangeLog file TestClassFile=File for PHP Unit Test class @@ -92,8 +92,8 @@ ListOfMenusEntries=List of menu entries ListOfDictionariesEntries=List of dictionaries entries ListOfPermissionsDefined=List of defined permissions SeeExamples=See examples here -EnabledDesc=Condition to have this field active.

Examples:
1
isModEnabled('MAIN_MODULE_MYMODULE')
getDolGlobalString('MYMODULE_OPTION')==2 -VisibleDesc=Is the field visible ? (Examples: 0=Never visible, 1=Visible on list and create/update/view forms, 2=Visible on list only, 3=Visible on create/update/view form only (not list), 4=Visible on list and update/view form only (not create), 5=Visible on list end view form only (not create, not update).

Using a negative value means field is not shown by default on list but can be selected for viewing). +EnabledDesc=Condition to have this field active.

Examples:
1
isModEnabled('anothermodule')
getDolGlobalString('MYMODULE_OPTION')==2 +VisibleDesc=Is the field visible ? (Examples: 0=Never visible, 1=Visible on list and create/update/view forms, 2=Visible on list only, 3=Visible on create/update/view form only (not on lists), 4=Visible on lists and update/view form only (not create), 5=Visible on list and view form only (not create, not update).

Using a negative value means field is not shown by default on list but can be selected for viewing). ItCanBeAnExpression=It can be an expression. Example:
preg_match('/public/', $_SERVER['PHP_SELF'])?0:1
$user->hasRight('holiday', 'define_holiday')?1:5 DisplayOnPdfDesc=Display this field on compatible PDF documents, you can manage position with "Position" field.
For document :
0 = not displayed
1 = display
2 = display only if not empty

For document lines :
0 = not displayed
1 = displayed in a column
3 = display in line description column after the description
4 = display in description column after the description only if not empty DisplayOnPdf=On PDF @@ -107,7 +107,7 @@ PermissionsDefDesc=Define here the new permissions provided by your module MenusDefDescTooltip=The menus provided by your module/application are defined into the array $this->menus into the module descriptor file. You can edit manually this file or use the embedded editor.

Note: Once defined (and the module re-activated), the menus are also visible into the menu editor available to administrator users on %s. DictionariesDefDescTooltip=The dictionaries provided by your module/application are defined into the array $this->dictionaries into the module descriptor file. You can edit manually this file or use the embedded editor.

Note: Once defined (and module re-activated), dictionaries are also visible into the setup area to administrator users on %s. PermissionsDefDescTooltip=The permissions provided by your module/application are defined into the array $this->rights into the module descriptor file. You can edit manually this file or use the embedded editor.

Note: Once defined (and module re-activated), permissions are visible into the default permissions setup %s. -HooksDefDesc=Define in the module_parts['hooks'] property, in the module descriptor, the context of hooks you want to manage (list of contexts can be found by a search on 'initHooks(' in core code).
Edit the hook file to add code of your hooked functions (hookable functions can be found by a search on 'executeHooks' in core code). +HooksDefDesc=Define in the property module_parts['hooks'], in the module descriptor file, the list of contexts when your hook must be executed (the list of possible contexts can be found by a search on 'initHooks(' in core code).
Then edit the file with hooks code with the code of your hooked functions (the list of hookable functions can be found by a search on 'executeHooks' in core code). TriggerDefDesc=Define in the trigger file the code that you want to execute when a business event external to your module is executed (events triggered by other modules). SeeIDsInUse=See IDs in use in your installation SeeReservedIDsRangeHere=See range of reserved IDs @@ -128,7 +128,7 @@ RealPathOfModule=Real path of module ContentCantBeEmpty=Content of file can't be empty WidgetDesc=You can generate and edit here the widgets that will be embedded with your module. CSSDesc=You can generate and edit here a file with personalized CSS embedded with your module. -JSDesc=You can generate and edit here a file with personalized Javascript embedded with your module. +JSDesc=You can generate and edit here a file with personalized JavaScript embedded with your module. CLIDesc=You can generate here some command line scripts you want to provide with your module. CLIFile=CLI File NoCLIFile=No CLI files @@ -148,8 +148,8 @@ CSSViewClass=CSS for read form CSSListClass=CSS for list NotEditable=Not editable ForeignKey=Foreign key -ForeignKeyDesc=If the value of this field must be guaranted to exists into another table. Enter here a value matching syntax: tablename.parentfieldtocheck -TypeOfFieldsHelp=Example:
varchar(99), double(24,8), real, text, html, datetime, timestamp, integer, integer:ClassName:relativepath/to/classfile.class.php[:1[:filter]]
'1' means we add a + button after the combo to create the record
'filter' is a sql condition, example: 'status=1 AND fk_user=__USER_ID__ AND entity IN (__SHARED_ENTITIES__)' +ForeignKeyDesc=If the value of this field must be guaranteed to exist into another table. Enter here a value matching syntax: tablename.parentfieldtocheck +TypeOfFieldsHelp=Example:
varchar(99)
email
phone
ip
url
password
double(24,8)
real
text
html
date
datetime
timestamp
integer
integer:ClassName:relativepath/to/classfile.class.php[:1[:filter]]

'1' means we add a + button after the combo to create the record
'filter' is an Universal Filter syntax condition, example: '((status:=:1) AND (fk_user:=:__USER_ID__) AND (entity:IN:(__SHARED_ENTITIES__))' TypeOfFieldsHelpIntro=This is the type of the field/attribute. AsciiToHtmlConverter=Ascii to HTML converter AsciiToPdfConverter=Ascii to PDF converter @@ -181,4 +181,5 @@ FailedToAddCodeIntoDescriptor=Failed to add code into descriptor. Check that the DictionariesCreated=Dictionary %s created successfully DictionaryDeleted=Dictionary %s removed successfully PropertyModuleUpdated=Property %s has been update successfully -InfoForApiFile=* When you generate file for the first time then all methods will be created for each object.
* When you click in remove you just remove all methods for the selected object. \ No newline at end of file +InfoForApiFile=* When you generate file for the first time then all methods will be created for each object.
* When you click in remove you just remove all methods for the selected object. +SetupFile=Page for module setup diff --git a/htdocs/langs/en_US/mrp.lang b/htdocs/langs/en_US/mrp.lang index 92105e3b63e16..55d002b255445 100644 --- a/htdocs/langs/en_US/mrp.lang +++ b/htdocs/langs/en_US/mrp.lang @@ -31,9 +31,14 @@ Consumption=Consumption ValueOfMeansLoss=Value of 0.95 means an average of 5%% of loss during the manufacturing or the disassembly ValueOfMeansLossForProductProduced=Value of 0.95 means an average of 5%% of loss of produced product DeleteBillOfMaterials=Delete Bill Of Materials +CancelMo=Cancel Manufacturing Order +MoCancelConsumedAndProducedLines=Cancel also all the consumed and produced lines (delete lines and rollback stocks) +ConfirmCancelMo=Are you sure you want to cancel this Manufacturing Order? DeleteMo=Delete Manufacturing Order ConfirmDeleteBillOfMaterials=Are you sure you want to delete this Bill Of Materials? ConfirmDeleteMo=Are you sure you want to delete this Manufacturing Order? +DeleteMoChild = Delete the child MOs linked to this MO %s +MoChildsDeleted = All child MOs have been deleted MenuMRP=Manufacturing Orders NewMO=New Manufacturing Order QtyToProduce=Qty to produce @@ -123,3 +128,5 @@ Manufacturing=Manufacturing Disassemble=Disassemble ProducedBy=Produced by QtyTot=Qty Total +THMOperatorEstimatedHelp=Estimated cost of operator per hour. Will be used to estimate cost of a BOM using this workstation. +THMMachineEstimatedHelp=Estimated cost of machine per hour. Will be used to estimate cost of a BOM using this workstation. \ No newline at end of file diff --git a/htdocs/langs/en_US/multicurrency.lang b/htdocs/langs/en_US/multicurrency.lang index 0345c946ce005..866a83a32edb2 100644 --- a/htdocs/langs/en_US/multicurrency.lang +++ b/htdocs/langs/en_US/multicurrency.lang @@ -18,7 +18,7 @@ MulticurrencyReceived=Received, original currency MulticurrencyRemainderToTake=Remaining amount, original currency MulticurrencyPaymentAmount=Payment amount, original currency AmountToOthercurrency=Amount To (in currency of receiving account) -CurrencyRateSyncSucceed=Currency rate synchronization done successfuly +CurrencyRateSyncSucceed=Currency rate synchronization done successfully MULTICURRENCY_USE_CURRENCY_ON_DOCUMENT=Use the currency of the document for online payments TabTitleMulticurrencyRate=Rate list ListCurrencyRate=List of exchange rates for the currency @@ -40,3 +40,4 @@ CurrencyCodeId=Currency ID CurrencyCode=Currency code CurrencyUnitPrice=Unit price in foreign currency CurrencyPrice=Price in foreign currency +MutltiCurrencyAutoUpdateCurrencies=Update all currency rates diff --git a/htdocs/langs/en_US/orders.lang b/htdocs/langs/en_US/orders.lang index 9366d9b5ec115..662348b697774 100644 --- a/htdocs/langs/en_US/orders.lang +++ b/htdocs/langs/en_US/orders.lang @@ -72,7 +72,7 @@ Approve2Order=Approve order (second level) UserApproval=User for approval UserApproval2=User for approval (second level) ValidateOrder=Validate order -UnvalidateOrder=Unvalidate order +UnvalidateOrder=Invalidate order DeleteOrder=Delete order CancelOrder=Cancel order OrderReopened= Order %s re-open diff --git a/htdocs/langs/en_US/other.lang b/htdocs/langs/en_US/other.lang index bb1b54a250b4f..a771fc5c02c56 100644 --- a/htdocs/langs/en_US/other.lang +++ b/htdocs/langs/en_US/other.lang @@ -31,7 +31,7 @@ PreviousYearOfInvoice=Previous year of invoice date NextYearOfInvoice=Following year of invoice date DateNextInvoiceBeforeGen=Date of next invoice (before generation) DateNextInvoiceAfterGen=Date of next invoice (after generation) -GraphInBarsAreLimitedToNMeasures=Grapics are limited to %s measures in 'Bars' mode. The mode 'Lines' was automatically selected instead. +GraphInBarsAreLimitedToNMeasures=Graphics are limited to %s measures in 'Bars' mode. The mode 'Lines' was automatically selected instead. OnlyOneFieldForXAxisIsPossible=Only 1 field is currently possible as X-Axis. Only the first selected field has been selected. AtLeastOneMeasureIsRequired=At least 1 field for measure is required AtLeastOneXAxisIsRequired=At least 1 field for X-Axis is required @@ -67,6 +67,7 @@ Notify_BILL_SUPPLIER_SENTBYMAIL=Vendor invoice sent by mail Notify_BILL_SUPPLIER_CANCELED=Vendor invoice cancelled Notify_CONTRACT_VALIDATE=Contract validated Notify_FICHINTER_VALIDATE=Intervention validated +Notify_FICHINTER_CLOSE=Intervention closed Notify_FICHINTER_ADD_CONTACT=Added contact to Intervention Notify_FICHINTER_SENTBYMAIL=Intervention sent by mail Notify_SHIPPING_VALIDATE=Shipping validated @@ -191,7 +192,11 @@ EnableGDLibraryDesc=Install or enable GD library on your PHP installation to use ProfIdShortDesc=Prof Id %s is an information depending on third party country.
For example, for country %s, it's code %s. DolibarrDemo=Dolibarr ERP/CRM demo StatsByAmount=Statistics on amount of products/services +StatsByAmountProducts=Statistics on amount of products +StatsByAmountServices=Statistics on amount of services StatsByNumberOfUnits=Statistics for sum of qty of products/services +StatsByNumberOfUnitsProducts=Statistics for sum of qty of products +StatsByNumberOfUnitsServices=Statistics for sum of qty of services StatsByNumberOfEntities=Statistics for number of referring entities (no. of invoices, or orders...) NumberOf=Number of %s NumberOfUnits=Number of units on %s @@ -199,6 +204,7 @@ AmountIn=Amount in %s NumberOfUnitsMos=Number of units to produce in manufacturing orders EMailTextInterventionAddedContact=A new intervention %s has been assigned to you. EMailTextInterventionValidated=The intervention %s has been validated. +EMailTextInterventionClosed=The intervention %s has been closed. EMailTextInvoiceValidated=Invoice %s has been validated. EMailTextInvoicePayed=Invoice %s has been paid. EMailTextProposalValidated=Proposal %s has been validated. @@ -292,10 +298,12 @@ LinesToImport=Lines to import MemoryUsage=Memory usage RequestDuration=Duration of request -ProductsPerPopularity=Products/Services by popularity -PopuProp=Products/Services by popularity in Proposals -PopuCom=Products/Services by popularity in Orders -ProductStatistics=Products/Services Statistics +ProductsServicesPerPopularity=Products|Services by popularity +ProductsPerPopularity=Products by popularity +ServicesPerPopularity=Services by popularity +PopuProp=Products|Services by popularity in Proposals +PopuCom=Products|Services by popularity in Orders +ProductStatistics=Products|Services Statistics NbOfQtyInOrders=Qty in orders SelectTheTypeOfObjectToAnalyze=Select an object to view its statistics... diff --git a/htdocs/langs/en_US/productbatch.lang b/htdocs/langs/en_US/productbatch.lang index c51d94b8acda2..a84816c9d3c68 100644 --- a/htdocs/langs/en_US/productbatch.lang +++ b/htdocs/langs/en_US/productbatch.lang @@ -45,3 +45,5 @@ OutOfOrder=Out of order InWorkingOrder=In working order ToReplace=Replace CantMoveNonExistantSerial=Error. You ask a move on a record for a serial that does not exists anymore. May be you take the same serial on same warehouse several times in same shipment or it was used by another shipment. Remove this shipment and prepare another one. +TableLotIncompleteRunRepairWithParamStandardEqualConfirmed=Lot table incomplete run repair with parameter '...repair.php?standard=confirmed' +IlligalQtyForSerialNumbers= Stock correction required because unique serial number. \ No newline at end of file diff --git a/htdocs/langs/en_US/products.lang b/htdocs/langs/en_US/products.lang index db290a2b9fa98..8e60cbbba5693 100644 --- a/htdocs/langs/en_US/products.lang +++ b/htdocs/langs/en_US/products.lang @@ -80,8 +80,11 @@ SoldAmount=Sold amount PurchasedAmount=Purchased amount NewPrice=New price MinPrice=Min. selling price +MinPriceHT=Min. selling price (excl. tax) +MinPriceTTC=Prix de vente min (inc. tax) EditSellingPriceLabel=Edit selling price label -CantBeLessThanMinPrice=The selling price can't be lower than minimum allowed for this product (%s without tax). This message can also appears if you type a too important discount. +CantBeLessThanMinPrice=The selling price can't be lower than minimum allowed for this product (%s without tax). This message can also appear if you type a significant discount. +CantBeLessThanMinPriceInclTax=The selling price can't be lower than minimum allowed for this product (%s including taxes). This message can also appears if you type a too important discount. ContractStatusClosed=Closed ErrorProductAlreadyExists=A product with reference %s already exists. ErrorProductBadRefOrLabel=Wrong value for reference or label. @@ -347,10 +350,11 @@ UseProductFournDesc=Add a feature to define the product description defined by t ProductSupplierDescription=Vendor description for the product UseProductSupplierPackaging=Use the "packaging" feature to round the quantities to some given multiples (when adding/updating line in a vendor documents, recalculate quantities and purchase prices according to the higher multiple set on the purchase prices of a product) PackagingForThisProduct=Packaging of quantities -PackagingForThisProductDesc=You will automaticaly purchase a multiple of this quantity. +PackagingForThisProductDesc=You will automatically purchase a multiple of this quantity. QtyRecalculatedWithPackaging=The quantity of the line were recalculated according to supplier packaging #Attributes +Attributes=Attributes VariantAttributes=Variant attributes ProductAttributes=Variant attributes for products ProductAttributeName=Variant attribute %s @@ -418,7 +422,7 @@ ErrorsProductsMerge=Errors in products merge SwitchOnSaleStatus=Switch on sale status SwitchOnPurchaseStatus=Switch on purchase status UpdatePrice=Increase/decrease customer price -StockMouvementExtraFields= Extra Fields (stock mouvement) +StockMouvementExtraFields= Extra Fields (stock movement) InventoryExtraFields= Extra Fields (inventory) ScanOrTypeOrCopyPasteYourBarCodes=Scan or type or copy/paste your barcodes PuttingPricesUpToDate=Update prices with current known prices @@ -431,3 +435,5 @@ ConfirmEditExtrafield = Select the extrafield you want modify ConfirmEditExtrafieldQuestion = Are you sure you want to modify this extrafield? ModifyValueExtrafields = Modify value of an extrafield OrProductsWithCategories=Or products with tags/categories +WarningTransferBatchStockMouvToGlobal = If you want to deserialize this product, all its serialized stock will be transformed into global stock +WarningConvertFromBatchToSerial=If you currently have a quantity higher or equal to 2 for the product, switching to this choice means you will still have a product with different objects of the same batch (while you want a unique serial number). The duplicate will remain until an inventory or a manual stock movement to fix this is done. diff --git a/htdocs/langs/en_US/projects.lang b/htdocs/langs/en_US/projects.lang index 79b64cdcdf352..5d7b4b41b7b2e 100644 --- a/htdocs/langs/en_US/projects.lang +++ b/htdocs/langs/en_US/projects.lang @@ -82,7 +82,7 @@ MyProjectsArea=My projects Area DurationEffective=Effective duration ProgressDeclared=Declared real progress TaskProgressSummary=Task progress -CurentlyOpenedTasks=Curently open tasks +CurentlyOpenedTasks=Currently open tasks TheReportedProgressIsLessThanTheCalculatedProgressionByX=The declared real progress is less %s than the progress on consumption TheReportedProgressIsMoreThanTheCalculatedProgressionByX=The declared real progress is more %s than the progress on consumption ProgressCalculated=Progress on consumption @@ -122,7 +122,7 @@ TaskHasChild=Task has child NotOwnerOfProject=Not owner of this private project AffectedTo=Allocated to CantRemoveProject=This project can't be removed as it is referenced by some other objects (invoice, orders or other). See tab '%s'. -ValidateProject=Validate projet +ValidateProject=Validate project ConfirmValidateProject=Are you sure you want to validate this project? CloseAProject=Close project ConfirmCloseAProject=Are you sure you want to close this project? @@ -226,7 +226,7 @@ ProjectsStatistics=Statistics on projects or leads TasksStatistics=Statistics on tasks of projects or leads TaskAssignedToEnterTime=Task assigned. Entering time on this task should be possible. IdTaskTime=Id task time -YouCanCompleteRef=If you want to complete the ref with some suffix, it is recommanded to add a - character to separate it, so the automatic numbering will still work correctly for next projects. For example %s-MYSUFFIX +YouCanCompleteRef=If you want to complete the ref with some suffix, it is recommended to add a - character to separate it, so the automatic numbering will still work correctly for next projects. For example %s-MYSUFFIX OpenedProjectsByThirdparties=Open projects by third parties OnlyOpportunitiesShort=Only leads OpenedOpportunitiesShort=Open leads @@ -238,7 +238,7 @@ OpportunityPonderatedAmountDesc=Leads amount weighted with probability OppStatusPROSP=Prospection OppStatusQUAL=Qualification OppStatusPROPO=Proposal -OppStatusNEGO=Negociation +OppStatusNEGO=Negotiation OppStatusPENDING=Pending OppStatusWON=Won OppStatusLOST=Lost diff --git a/htdocs/langs/en_US/receptions.lang b/htdocs/langs/en_US/receptions.lang index a2990fd51e920..b15d5b2f61c95 100644 --- a/htdocs/langs/en_US/receptions.lang +++ b/htdocs/langs/en_US/receptions.lang @@ -36,7 +36,7 @@ ValidateReception=Validate reception ConfirmDeleteReception=Are you sure you want to delete this reception? ConfirmValidateReception=Are you sure you want to validate this reception with reference %s? ConfirmCancelReception=Are you sure you want to cancel this reception? -StatsOnReceptionsOnlyValidated=Statistics conducted on receptions only validated. Date used is date of validation of reception (planed delivery date is not always known). +StatsOnReceptionsOnlyValidated=Statistics conducted on receptions only validated. Date used is date of validation of reception (planned delivery date is not always known). SendReceptionByEMail=Send reception by email SendReceptionRef=Submission of reception %s ActionsOnReception=Events on reception @@ -54,5 +54,5 @@ ReceptionClassifyClosedInDolibarr=Reception %s classified Closed ReceptionUnClassifyCloseddInDolibarr=Reception %s re-open RestoreWithCurrentQtySaved=Fill quantities with latest saved values ReceptionsRecorded=Receptions recorded -ReceptionUpdated=Reception sucessfully updated -ReceptionDistribution=Reception distribution \ No newline at end of file +ReceptionUpdated=Reception successfully updated +ReceptionDistribution=Reception distribution diff --git a/htdocs/langs/en_US/recruitment.lang b/htdocs/langs/en_US/recruitment.lang index 686722a48c5c0..d46ddaf389a95 100644 --- a/htdocs/langs/en_US/recruitment.lang +++ b/htdocs/langs/en_US/recruitment.lang @@ -77,3 +77,5 @@ ExtrafieldsApplication=Complementary attributes (job applications) MakeOffer=Make an offer WeAreRecruiting=We are recruiting. This is a list of open positions to be filled... NoPositionOpen=No positions open at the moment +ConfirmClose=Confirm cancellation +ConfirmCloseAsk=Are you sure you want to cancel this recruitment candidature diff --git a/htdocs/langs/en_US/salaries.lang b/htdocs/langs/en_US/salaries.lang index e94669516a824..9b6c53e3882f5 100644 --- a/htdocs/langs/en_US/salaries.lang +++ b/htdocs/langs/en_US/salaries.lang @@ -25,3 +25,9 @@ SalariesAndPayments=Salaries and payments ConfirmDeleteSalaryPayment=Do you want to delete this salary payment ? FillFieldFirst=Fill employee field first UpdateAmountWithLastSalary=Set amount of last salary +MakeTransferRequest=Make transfer request +VirementOrder=Credit transfer request +BankTransferAmount=Amount of credit transfer +WithdrawalReceipt=Credit transfer order +OrderWaiting=Pending order +FillEndOfMonth=Fill with end of month diff --git a/htdocs/langs/en_US/sendings.lang b/htdocs/langs/en_US/sendings.lang index 3bb6c12c4be19..73c2a942fc675 100644 --- a/htdocs/langs/en_US/sendings.lang +++ b/htdocs/langs/en_US/sendings.lang @@ -75,10 +75,12 @@ SumOfProductWeights=Sum of product weights # warehouse details DetailWarehouseNumber= Warehouse details DetailWarehouseFormat= W:%s (Qty: %d) +SHIPPING_DISPLAY_STOCK_ENTRY_DATE=Display last date of entry in stock during shipment creation for serial number or batch +CreationOptions=Available options during shipment creation ShipmentDistribution=Shipment distribution ErrorTooManyCombinationBatchcode=No dispatch for line %s as too many combinations of warehouse, product, batch code was found (%s). -ErrorNoCombinationBatchcode=No dispatch for line %s as no combination of warehouse, product, batch code was found. +ErrorNoCombinationBatchcode=Could not save the line %s as the combination of warehouse-product-lot/serial (%s, %s, %s) was not found in stock. ErrorTooMuchShipped=Quantity shipped should not be greater than quantity ordered for line %s diff --git a/htdocs/langs/en_US/stocks.lang b/htdocs/langs/en_US/stocks.lang index 961a9590f2b39..54c3f7a5a1c07 100644 --- a/htdocs/langs/en_US/stocks.lang +++ b/htdocs/langs/en_US/stocks.lang @@ -119,6 +119,7 @@ PersonalStock=Personal stock %s ThisWarehouseIsPersonalStock=This warehouse represents personal stock of %s %s SelectWarehouseForStockDecrease=Choose warehouse to use for stock decrease SelectWarehouseForStockIncrease=Choose warehouse to use for stock increase +RevertProductsToStock=Revert products to stock ? NoStockAction=No stock action DesiredStock=Desired Stock DesiredStockDesc=This stock amount will be the value used to fill the stock by replenishment feature. @@ -167,6 +168,7 @@ qtyToTranferLotIsNotEnough=You don't have enough stock, for this lot number, fro ShowWarehouse=Show warehouse MovementCorrectStock=Stock correction for product %s MovementTransferStock=Stock transfer of product %s into another warehouse +BatchStockMouvementAddInGlobal=Batch stock move into global stock (product doesn't use batch anymore) InventoryCodeShort=Inv./Mov. code NoPendingReceptionOnSupplierOrder=No pending reception due to open purchase order ThisSerialAlreadyExistWithDifferentDate=This lot/serial number (%s) already exists but with different eatby or sellby date (found %s but you enter %s). @@ -210,10 +212,10 @@ INVENTORY_USE_INVENTORY_DATE_FOR_DATE_OF_MVT=Stock movements will have the date inventoryChangePMPPermission=Allow to change PMP value for a product ColumnNewPMP=New unit PMP OnlyProdsInStock=Do not add product without stock -TheoricalQty=Theorical qty -TheoricalValue=Theorical qty +TheoricalQty=Theoretical qty +TheoricalValue=Theoretical qty LastPA=Last BP -CurrentPA=Curent BP +CurrentPA=Current BP RecordedQty=Recorded Qty RealQty=Real Qty RealValue=Real Value @@ -244,7 +246,7 @@ StockAtDatePastDesc=You can view here the stock (real stock) at a given date in StockAtDateFutureDesc=You can view here the stock (virtual stock) at a given date in the future CurrentStock=Current stock InventoryRealQtyHelp=Set value to 0 to reset qty
Keep field empty, or remove line, to keep unchanged -UpdateByScaning=Complete real qty by scaning +UpdateByScaning=Complete real qty by scanning UpdateByScaningProductBarcode=Update by scan (product barcode) UpdateByScaningLot=Update by scan (lot|serial barcode) DisableStockChangeOfSubProduct=Deactivate the stock change for all the subproducts of this Kit during this movement. @@ -307,9 +309,9 @@ StockTransferDecrementationCancel=Cancel decrease of source warehouses StockTransferIncrementationCancel=Cancel increase of destination warehouses StockStransferDecremented=Source warehouses decreased StockStransferDecrementedCancel=Decrease of source warehouses canceled -StockStransferIncremented=Closed - Stocks transfered -StockStransferIncrementedShort=Stocks transfered -StockStransferIncrementedShortCancel=Increase of destination warehouses canceled +StockStransferIncremented=Closed - Stocks transferred +StockStransferIncrementedShort=Stocks transferred +StockStransferIncrementedShortCancel=Increase of destination warehouses cancelled StockTransferNoBatchForProduct=Product %s doesn't use batch, clear batch on line and retry StockTransferSetup = Stocks Transfer module configuration Settings=Settings @@ -318,8 +320,11 @@ StockTransferRightRead=Read stocks transfers StockTransferRightCreateUpdate=Create/Update stocks transfers StockTransferRightDelete=Delete stocks transfers BatchNotFound=Lot / serial not found for this product +StockEntryDate=Date of
entry in stock StockMovementWillBeRecorded=Stock movement will be recorded StockMovementNotYetRecorded=Stock movement will not be affected by this step + + WarningThisWIllAlsoDeleteStock=Warning, this will also destroy all quantities in stock in the warehouse ValidateInventory=Inventory validation IncludeSubWarehouse=Include sub-warehouse ? @@ -329,3 +334,4 @@ ConfirmDeleteBatch=Are you sure you want to delete lot/serial ? WarehouseUsage=Warehouse usage InternalWarehouse=Internal warehouse ExternalWarehouse=External warehouse +WarningThisWIllAlsoDeleteStock=Warning, this will also destroy all quantities in stock in the warehouse diff --git a/htdocs/langs/en_US/ticket.lang b/htdocs/langs/en_US/ticket.lang index c58930d84f67e..460e73e1cf107 100644 --- a/htdocs/langs/en_US/ticket.lang +++ b/htdocs/langs/en_US/ticket.lang @@ -30,12 +30,12 @@ Permission56006=Export tickets Tickets=Tickets TicketDictType=Ticket - Types -TicketDictCategory=Ticket - Groupes +TicketDictCategory=Ticket - Groups TicketDictSeverity=Ticket - Severities TicketDictResolution=Ticket - Resolution TicketTypeShortCOM=Commercial question -TicketTypeShortHELP=Request for functionnal help +TicketTypeShortHELP=Request for functional help TicketTypeShortISSUE=Issue or bug TicketTypeShortPROBLEM=Problem TicketTypeShortREQUEST=Change or enhancement request diff --git a/htdocs/langs/en_US/trips.lang b/htdocs/langs/en_US/trips.lang index b37233a526fac..a82933bf032fd 100644 --- a/htdocs/langs/en_US/trips.lang +++ b/htdocs/langs/en_US/trips.lang @@ -24,7 +24,7 @@ ConfirmPaidTrip=Are you sure you want to change status of this expense report to ConfirmRefuseTrip=Are you sure you want to deny this expense report? ConfirmSaveTrip=Are you sure you want to validate this expense report? ConfirmValideTrip=Are you sure you want to approve this expense report? -DATE_CANCEL=Cancelation date +DATE_CANCEL=Cancellation date DATE_PAIEMENT=Payment date DATE_REFUS=Deny date DATE_SAVE=Validation date @@ -39,7 +39,7 @@ expenseReportCoef=Coefficient expenseReportCoefUndefined=(value not defined) expenseReportOffset=Offset expenseReportPrintExample=offset + (d x coef) = %s -expenseReportRangeDisabled=Range disabled - see the c_exp_tax_range dictionay +expenseReportRangeDisabled=Range disabled - see the c_exp_tax_range dictionary expenseReportRangeFromTo=from %d to %d expenseReportRangeMoreThan=more than %d expenseReportTotalForFive=Example with d = 5 @@ -103,7 +103,7 @@ ShowExpenseReport=Show expense report ShowTrip=Show expense report TripCard=Expense report card TripId=Id expense report -TripNDF=Informations expense report +TripNDF=Information expense report TripSociete=Information company Trips=Expense reports TripsAndExpenses=Expenses reports diff --git a/htdocs/langs/en_US/users.lang b/htdocs/langs/en_US/users.lang index 93bb0442de608..1506d1dadad68 100644 --- a/htdocs/langs/en_US/users.lang +++ b/htdocs/langs/en_US/users.lang @@ -109,8 +109,9 @@ ExpectedWorkedHours=Expected hours worked per week ColorUser=Color of the user DisabledInMonoUserMode=Disabled in maintenance mode UserAccountancyCode=User accounting code -UserLogoff=User logout -UserLogged=User logged +UserLogoff=User logout: %s +UserLogged=User logged: %s +UserLoginFailed=User login failed: %s DateOfEmployment=Employment date DateEmployment=Employment DateEmploymentStart=Employment Start Date @@ -122,7 +123,7 @@ ForceUserHolidayValidator=Force leave request validator ValidatorIsSupervisorByDefault=By default, the validator is the supervisor of the user. Keep empty to keep this behaviour. UserPersonalEmail=Personal email UserPersonalMobile=Personal mobile phone -WarningNotLangOfInterface=Warning, this is the main language the user speak, not the language of the interface he choosed to see. To change the interface language visible by this user, go on tab %s +WarningNotLangOfInterface=Warning, this is the main language the user speak, not the language of the interface he chose to see. To change the interface language visible by this user, go on tab %s DateLastLogin=Date last login DatePreviousLogin=Date previous login IPLastLogin=IP last login @@ -131,3 +132,4 @@ ShowAllPerms=Show all permission rows HideAllPerms=Hide all permission rows UserPublicPageDesc=You can enable a virtual card for this user. An url with the user profile and a barcode will be available to allow anybody with a smartphone to scan it and add your contact to its address book. EnablePublicVirtualCard=Enable the user's virtual business card +UserEnabledDisabled=User status changed: %s diff --git a/htdocs/langs/en_US/website.lang b/htdocs/langs/en_US/website.lang index 1390fab322f61..7127e4b9a1c26 100644 --- a/htdocs/langs/en_US/website.lang +++ b/htdocs/langs/en_US/website.lang @@ -11,7 +11,7 @@ WEBSITE_ALIASALT=Alternative page names/aliases WEBSITE_ALIASALTDesc=Use here list of other name/aliases so the page can also be accessed using this other names/aliases (for example the old name after renaming the alias to keep backlink on old link/name working). Syntax is:
alternativename1, alternativename2, ... WEBSITE_CSS_URL=URL of external CSS file WEBSITE_CSS_INLINE=CSS file content (common to all pages) -WEBSITE_JS_INLINE=Javascript file content (common to all pages) +WEBSITE_JS_INLINE=JavaScript file content (common to all pages) WEBSITE_HTML_HEADER=Addition at bottom of HTML Header (common to all pages) WEBSITE_ROBOT=Robot file (robots.txt) WEBSITE_HTACCESS=Website .htaccess file @@ -25,7 +25,7 @@ EditTheWebSiteForACommonHeader=Note: If you want to define a personalized header MediaFiles=Media library EditCss=Edit website properties EditMenu=Edit menu -EditMedias=Edit medias +EditMedias=Edit media EditPageMeta=Edit page/container properties EditInLine=Edit inline AddWebsite=Add website @@ -61,7 +61,7 @@ YouCanCreatePageOrImportTemplate=You can create a new page or import a full webs SyntaxHelp=Help on specific syntax tips YouCanEditHtmlSourceckeditor=You can edit HTML source code using the "Source" button in editor. YouCanEditHtmlSource=
You can include PHP code into this source using tags <?php ?>. The following global variables are available: $conf, $db, $mysoc, $user, $website, $websitepage, $weblangs, $pagelangs.

You can also include content of another Page/Container with the following syntax:
<?php includeContainer('alias_of_container_to_include'); ?>

You can make a redirect to another Page/Container with the following syntax (Note: do not output any content before a redirect):
<?php redirectToContainer('alias_of_container_to_redirect_to'); ?>

To add a link to another page, use the syntax:
<a href="alias_of_page_to_link_to.php">mylink<a>

To include a link to download a file stored into the documents directory, use the document.php wrapper:
Example, for a file into documents/ecm (need to be logged), syntax is:
<a href="/document.php?modulepart=ecm&file=[relative_dir/]filename.ext">
For a file into documents/medias (open directory for public access), syntax is:
<a href="/document.php?modulepart=medias&file=[relative_dir/]filename.ext">
For a file shared with a share link (open access using the sharing hash key of file), syntax is:
<a href="/document.php?hashp=publicsharekeyoffile">

To include an image stored into the documents directory, use the viewimage.php wrapper:
Example, for an image into documents/medias (open directory for public access), syntax is:
<img src="/viewimage.php?modulepart=medias&file=[relative_dir/]filename.ext">
-#YouCanEditHtmlSource2=
To include a image shared publicaly, use the viewimage.php wrapper:
Example with a shared key 123456789, syntax is:
<img src="/viewimage.php?hashp=12345679012...">
+#YouCanEditHtmlSource2=
To include a image shared publicly, use the viewimage.php wrapper:
Example with a shared key 123456789, syntax is:
<img src="/viewimage.php?hashp=12345679012...">
YouCanEditHtmlSource2=For an image shared with a share link (open access using the sharing hash key of file), syntax is:
<img src="/viewimage.php?hashp=12345679012...">
YouCanEditHtmlSourceMore=
More examples of HTML or dynamic code available on the wiki documentation
. ClonePage=Clone page/container @@ -91,7 +91,7 @@ SorryWebsiteIsCurrentlyOffLine=Sorry, this website is currently off line. Please WEBSITE_USE_WEBSITE_ACCOUNTS=Enable the web site account table WEBSITE_USE_WEBSITE_ACCOUNTSTooltip=Enable the table to store web site accounts (login/pass) for each website / third party YouMustDefineTheHomePage=You must first define the default Home page -OnlyEditionOfSourceForGrabbedContentFuture=Warning: Creating a web page by importing an external web page is reserved for experienced users. Depending on the complexity of source page, the result of importation may differ from the original. Also if the source page uses common CSS styles or conflicting javascript, it may break the look or features of the Website editor when working on this page. This method is a quicker way to create a page but it is recommended to create your new page from scratch or from a suggested page template.
Note also that the inline editor may not works correclty when used on a grabbed external page. +OnlyEditionOfSourceForGrabbedContentFuture=Warning: Creating a web page by importing an external web page is reserved for experienced users. Depending on the complexity of source page, the result of importation may differ from the original. Also if the source page uses common CSS styles or conflicting JavaScript, it may break the look or features of the Website editor when working on this page. This method is a quicker way to create a page but it is recommended to create your new page from scratch or from a suggested page template.
Note also that the inline editor may not works correctty when used on a grabbed external page. OnlyEditionOfSourceForGrabbedContent=Only edition of HTML source is possible when content was grabbed from an external site GrabImagesInto=Grab also images found into css and page. ImagesShouldBeSavedInto=Images should be saved into directory @@ -112,13 +112,13 @@ GoTo=Go to DynamicPHPCodeContainsAForbiddenInstruction=You add dynamic PHP code that contains the PHP instruction '%s' that is forbidden by default as dynamic content (see hidden options WEBSITE_PHP_ALLOW_xxx to increase list of allowed commands). NotAllowedToAddDynamicContent=You don't have permission to add or edit PHP dynamic content in websites. Ask permission or just keep code into php tags unmodified. ReplaceWebsiteContent=Search or Replace website content -DeleteAlsoJs=Delete also all javascript files specific to this website? -DeleteAlsoMedias=Delete also all medias files specific to this website? +DeleteAlsoJs=Delete also all JavaScript files specific to this website? +DeleteAlsoMedias=Delete also all media files specific to this website? MyWebsitePages=My website pages SearchReplaceInto=Search | Replace into ReplaceString=New string CSSContentTooltipHelp=Enter here CSS content. To avoid any conflict with the CSS of the application, be sure to prepend all declaration with the .bodywebsite class. For example:

#mycssselector, input.myclass:hover { ... }
must be
.bodywebsite #mycssselector, .bodywebsite input.myclass:hover { ... }

Note: If you have a large file without this prefix, you can use 'lessc' to convert it to append the .bodywebsite prefix everywhere. -LinkAndScriptsHereAreNotLoadedInEditor=Warning: This content is output only when site is accessed from a server. It is not used in Edit mode so if you need to load javascript files also in edit mode, just add your tag 'script src=...' into the page. +LinkAndScriptsHereAreNotLoadedInEditor=Warning: This content is output only when site is accessed from a server. It is not used in Edit mode so if you need to load JavaScript files also in edit mode, just add your tag 'script src=...' into the page. Dynamiccontent=Sample of a page with dynamic content ImportSite=Import website template EditInLineOnOff=Mode 'Edit inline' is %s diff --git a/htdocs/langs/en_US/withdrawals.lang b/htdocs/langs/en_US/withdrawals.lang index fa16577d5a34b..fb4ff9a9e8bba 100644 --- a/htdocs/langs/en_US/withdrawals.lang +++ b/htdocs/langs/en_US/withdrawals.lang @@ -47,7 +47,9 @@ MakeBankTransferOrder=Make a credit transfer request WithdrawRequestsDone=%s direct debit payment requests recorded BankTransferRequestsDone=%s credit transfer requests recorded ThirdPartyBankCode=Third-party bank code -NoInvoiceCouldBeWithdrawed=No invoice debited successfully. Check that invoices are on companies with a valid IBAN and that IBAN has a UMR (Unique Mandate Reference) with mode %s. +NoInvoiceCouldBeWithdrawed=No invoice processed successfully. Check that invoices are on companies with a valid IBAN and that IBAN has a UMR (Unique Mandate Reference) with mode %s. +NoInvoiceCouldBeWithdrawedSupplier=No invoice processed successfully. Check that invoices are on companies with a valid IBAN. +NoSalariesCouldBeWithdrawed=No salary processed successfully. Check that salary are on users with a valid IBAN. WithdrawalCantBeCreditedTwice=This withdrawal receipt is already marked as credited; this can't be done twice, as this would potentially create duplicate payments and bank entries. ClassCredited=Classify credited ClassDebited=Classify debited @@ -156,10 +158,16 @@ InfoTransData=Amount: %s
Method: %s
Date: %s InfoRejectSubject=Direct debit payment order refused InfoRejectMessage=Hello,

the direct debit payment order of invoice %s related to the company %s, with an amount of %s has been refused by the bank.

--
%s ModeWarning=Option for real mode was not set, we stop after this simulation -ErrorCompanyHasDuplicateDefaultBAN=Company with id %s has more than one default bank account. No way to know wich one to use. +ErrorCompanyHasDuplicateDefaultBAN=Company with id %s has more than one default bank account. No way to know which one to use. ErrorICSmissing=Missing ICS in Bank account %s TotalAmountOfdirectDebitOrderDiffersFromSumOfLines=Total amount of direct debit order differs from sum of lines WarningSomeDirectDebitOrdersAlreadyExists=Warning: There is already some pending Direct Debit orders (%s) requested for an amount of %s WarningSomeCreditTransferAlreadyExists=Warning: There is already some pending Credit Transfer (%s) requested for an amount of %s UsedFor=Used for %s -Societe_ribSigned=SEPA mandat Signed +Societe_ribSigned=SEPA mandate Signed +NbOfInvoiceToPayByBankTransferForSalaries=No. of qualified salaries waiting for a payment by credit transfer +SalaryWaitingWithdraw=Salaries waiting for payment by credit transfer +RefSalary=Salary +NoSalaryInvoiceToWithdraw=No salary waiting for a '%s'. Go on tab '%s' on salary card to make a request. +SalaryInvoiceWaitingWithdraw=Salaries waiting for payment by credit transfer + diff --git a/htdocs/langs/en_ZA/banks.lang b/htdocs/langs/en_ZA/banks.lang deleted file mode 100644 index 1fdad6e33bb7d..0000000000000 --- a/htdocs/langs/en_ZA/banks.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - banks -BankType1=Current, cheque or credit card account diff --git a/htdocs/langs/en_ZA/errors.lang b/htdocs/langs/en_ZA/errors.lang deleted file mode 100644 index de9df75f0bd82..0000000000000 --- a/htdocs/langs/en_ZA/errors.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - errors -ErrorSessionInvalidatedAfterPasswordChange=The session was been invalidated following a change of password, email, status or dates of validity. Please relogin. diff --git a/htdocs/langs/en_ZA/stocks.lang b/htdocs/langs/en_ZA/stocks.lang deleted file mode 100644 index 240c8a3f19c0b..0000000000000 --- a/htdocs/langs/en_ZA/stocks.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - stocks -AlwaysShowFullArbo=Display the full path of a warehouse (parent warehouses) on the popup of warehouse links (Warning: This may decrease dramatically performances) diff --git a/htdocs/langs/en_ZA/ticket.lang b/htdocs/langs/en_ZA/ticket.lang deleted file mode 100644 index dd733640aa1db..0000000000000 --- a/htdocs/langs/en_ZA/ticket.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - ticket -TicketsShowCompanyLogoHelp=Enable this option to show the logo of the main company in the pages of the public interface diff --git a/htdocs/langs/es_AR/banks.lang b/htdocs/langs/es_AR/banks.lang index 190760a5de93c..d297e0761b7d3 100644 --- a/htdocs/langs/es_AR/banks.lang +++ b/htdocs/langs/es_AR/banks.lang @@ -33,7 +33,6 @@ EditFinancialAccount=Editar cuentga LabelBankCashAccount=Banco o Caja AccountType=Tipo de Cuenta BankType0=Caja de ahorro -BankType1=Current, cheque or credit card account BankType2=Cuenta Caja AccountsArea=Area de Cuentas AccountCard=Ficha de la cuenta diff --git a/htdocs/langs/es_AR/main.lang b/htdocs/langs/es_AR/main.lang index 6227b5019c4c8..dd7301757dd6c 100644 --- a/htdocs/langs/es_AR/main.lang +++ b/htdocs/langs/es_AR/main.lang @@ -134,7 +134,6 @@ SearchOf=Buscar Valid=Valida Upload=Cargar ResizeOrCrop=Redimensionar o Recortar -Recenter=Recentrar Groups=Los grupos NoUserGroupDefined=No hay grupo de usuario definido NoteSomeFeaturesAreDisabled=Notar que muchas características/módulos están des habilitados en esta demostración. diff --git a/htdocs/langs/es_AR/ticket.lang b/htdocs/langs/es_AR/ticket.lang index 69b09234241a0..c608fa6569c67 100644 --- a/htdocs/langs/es_AR/ticket.lang +++ b/htdocs/langs/es_AR/ticket.lang @@ -4,4 +4,3 @@ Read=Leído Waiting=Esperando Type=Tipo TicketSettings=Ajustes -TicketsShowCompanyLogoHelp=Enable this option to show the logo of the main company in the pages of the public interface diff --git a/htdocs/langs/es_BO/banks.lang b/htdocs/langs/es_BO/banks.lang deleted file mode 100644 index 1fdad6e33bb7d..0000000000000 --- a/htdocs/langs/es_BO/banks.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - banks -BankType1=Current, cheque or credit card account diff --git a/htdocs/langs/es_BO/errors.lang b/htdocs/langs/es_BO/errors.lang deleted file mode 100644 index de9df75f0bd82..0000000000000 --- a/htdocs/langs/es_BO/errors.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - errors -ErrorSessionInvalidatedAfterPasswordChange=The session was been invalidated following a change of password, email, status or dates of validity. Please relogin. diff --git a/htdocs/langs/es_BO/stocks.lang b/htdocs/langs/es_BO/stocks.lang deleted file mode 100644 index 240c8a3f19c0b..0000000000000 --- a/htdocs/langs/es_BO/stocks.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - stocks -AlwaysShowFullArbo=Display the full path of a warehouse (parent warehouses) on the popup of warehouse links (Warning: This may decrease dramatically performances) diff --git a/htdocs/langs/es_BO/ticket.lang b/htdocs/langs/es_BO/ticket.lang deleted file mode 100644 index dd733640aa1db..0000000000000 --- a/htdocs/langs/es_BO/ticket.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - ticket -TicketsShowCompanyLogoHelp=Enable this option to show the logo of the main company in the pages of the public interface diff --git a/htdocs/langs/es_CL/banks.lang b/htdocs/langs/es_CL/banks.lang index 26062da379e68..1ecaba128c361 100644 --- a/htdocs/langs/es_CL/banks.lang +++ b/htdocs/langs/es_CL/banks.lang @@ -36,7 +36,6 @@ MenuNewFinancialAccount=Nueva cuenta financiera EditFinancialAccount=Editar cuenta LabelBankCashAccount=Etiqueta bancaria o en efectivo BankType0=Cuenta de ahorros -BankType1=Current, cheque or credit card account BankType2=Cuenta de efectivo AccountsArea=Área de cuentas AccountCard=Tarjeta de cuenta diff --git a/htdocs/langs/es_CL/ticket.lang b/htdocs/langs/es_CL/ticket.lang index c2fac79529bc2..5164729f4112d 100644 --- a/htdocs/langs/es_CL/ticket.lang +++ b/htdocs/langs/es_CL/ticket.lang @@ -33,7 +33,6 @@ TicketsDisableEmailHelp=Por defecto, los correos electrónicos se envían cuando TicketsLogEnableEmail=Habilitar registro por correo electrónico TicketsLogEnableEmailHelp=En cada cambio, se enviará un correo electrónico ** a cada contacto ** asociado con el ticket. TicketsShowModuleLogoHelp=Habilite esta opción para ocultar el módulo de logotipo en las páginas de la interfaz pública -TicketsShowCompanyLogoHelp=Enable this option to show the logo of the main company in the pages of the public interface TicketsLimitViewAssignedOnly=Restrinja la visualización a los tickets asignados al usuario actual (no es efectivo para usuarios externos, siempre debe limitarse al tercero del que dependen) TicketsLimitViewAssignedOnlyHelp=Solo las entradas asignadas al usuario actual serán visibles. No se aplica a un usuario con derechos de gestión de tickets. TicketsActivatePublicInterface=Activar la interfaz pública diff --git a/htdocs/langs/es_CO/banks.lang b/htdocs/langs/es_CO/banks.lang index dd938028b4bd2..bffcb9f61412b 100644 --- a/htdocs/langs/es_CO/banks.lang +++ b/htdocs/langs/es_CO/banks.lang @@ -36,7 +36,6 @@ MenuNewFinancialAccount=Nueva cuenta financiera EditFinancialAccount=Editar cuenta LabelBankCashAccount=Etiqueta de banco o efectivo BankType0=Cuenta de ahorros -BankType1=Current, cheque or credit card account BankType2=Cuenta de efectivo AccountsArea=Área de cuentas AccountCard=Tarjeta de cuenta diff --git a/htdocs/langs/es_CO/stocks.lang b/htdocs/langs/es_CO/stocks.lang index dbf2e8115bc5f..5db38c46ceebe 100644 --- a/htdocs/langs/es_CO/stocks.lang +++ b/htdocs/langs/es_CO/stocks.lang @@ -157,7 +157,6 @@ StockIncreaseAfterCorrectTransfer=Incrementar por corrección / transferencia StockDecreaseAfterCorrectTransfer=Disminuir por corrección / transferencia StockIncrease=Aumento de stock StockDecrease=Disminución de stock -AlwaysShowFullArbo=Display the full path of a warehouse (parent warehouses) on the popup of warehouse links (Warning: This may decrease dramatically performances) UpdateByScaning=Complete la cantidad real escaneando ImportFromCSV=Importar lista CSV de movimiento InfoTemplateImport=El archivo cargado debe tener este formato (* son campos obligatorios):
Source Warehouse * | Almacén de destino * | Producto * | Cantidad * | Lote / número de serie
El separador de caracteres CSV debe ser " %s " diff --git a/htdocs/langs/es_CO/ticket.lang b/htdocs/langs/es_CO/ticket.lang index fcfe042bfd25c..950e545284b1e 100644 --- a/htdocs/langs/es_CO/ticket.lang +++ b/htdocs/langs/es_CO/ticket.lang @@ -45,7 +45,6 @@ TicketsLogEnableEmailHelp=Con cada cambio, se enviará un correo electrónico ** TicketsShowModuleLogo=Mostrar el logotipo del módulo en la interfaz pública. TicketsShowModuleLogoHelp=Habilite esta opción para ocultar el módulo de logotipo en las páginas de la interfaz pública TicketsShowCompanyLogo=Mostrar el logotipo de la empresa en la interfaz pública. -TicketsShowCompanyLogoHelp=Enable this option to show the logo of the main company in the pages of the public interface TicketsLimitViewAssignedOnly=Restringir la visualización a los tickets asignados al usuario actual (no es efectivo para usuarios externos, siempre se limitará al tercero del que dependen) TicketsLimitViewAssignedOnlyHelp=Solo serán visibles los tickets asignados al usuario actual. No se aplica a un usuario con derechos de gestión de tickets. TicketsActivatePublicInterface=Activar interfaz pública diff --git a/htdocs/langs/es_CR/main.lang b/htdocs/langs/es_CR/main.lang index 962131131db6f..59770565a8dfe 100644 --- a/htdocs/langs/es_CR/main.lang +++ b/htdocs/langs/es_CR/main.lang @@ -130,7 +130,6 @@ QuickAdd=Adición rápida Valid=Válido Upload=Subir ResizeOrCrop=Redimensionar o Recortar -Recenter=Reciente NoUserGroupDefined=Ningún grupo de usuarios definido PasswordRetype=repita su contraseña NoteSomeFeaturesAreDisabled=Tenga en cuenta que muchas características/módulos están deshabilitados en esta demostración. diff --git a/htdocs/langs/es_CR/stocks.lang b/htdocs/langs/es_CR/stocks.lang index 7bdea83791a0a..2a5ae481d89c4 100644 --- a/htdocs/langs/es_CR/stocks.lang +++ b/htdocs/langs/es_CR/stocks.lang @@ -6,5 +6,4 @@ inventoryValidate=Validada inventoryDraft=En ejecución SelectCategory=Filtro por Categoría ListInventory=Lista -AlwaysShowFullArbo=Display the full path of a warehouse (parent warehouses) on the popup of warehouse links (Warning: This may decrease dramatically performances) InventoryStartedShort=Iniciado diff --git a/htdocs/langs/es_CR/ticket.lang b/htdocs/langs/es_CR/ticket.lang index afcf3e11925e0..b45509b6f2956 100644 --- a/htdocs/langs/es_CR/ticket.lang +++ b/htdocs/langs/es_CR/ticket.lang @@ -2,4 +2,3 @@ Read=Leer Type=Tipo TicketSettings=Configuración -TicketsShowCompanyLogoHelp=Enable this option to show the logo of the main company in the pages of the public interface diff --git a/htdocs/langs/es_CU/banks.lang b/htdocs/langs/es_CU/banks.lang index 5818459a74510..ece5a682e878d 100644 --- a/htdocs/langs/es_CU/banks.lang +++ b/htdocs/langs/es_CU/banks.lang @@ -41,7 +41,6 @@ MenuNewFinancialAccount=nueva cuenta financiera EditFinancialAccount=Editar cuenta LabelBankCashAccount=Etiqueta de banco o efectivo BankType0=Cuenta de ahorros -BankType1=Current, cheque or credit card account BankType2=Cuenta de efectivo AccountsArea=área de cuentas AccountCard=tarjeta de cuenta diff --git a/htdocs/langs/es_CU/errors.lang b/htdocs/langs/es_CU/errors.lang index de79a22355ce5..e90e7c144ff7f 100644 --- a/htdocs/langs/es_CU/errors.lang +++ b/htdocs/langs/es_CU/errors.lang @@ -220,7 +220,6 @@ ErrorNotInDictionaryPaymentConditions=No está en el Diccionario de términos de ErrorNotApproverForHoliday=No eres el aprobador de la licencia %s ErrorInvoiceLoadThirdPartyKey=Clave de terceros "%s" no configurada para factura "%s" ErrorValueCantBeNull=El valor de %s no puede ser nulo -ErrorSessionInvalidatedAfterPasswordChange=The session was been invalidated following a change of password, email, status or dates of validity. Please relogin. WarningParamUploadMaxFileSizeHigherThanPostMaxSize=Su parámetro de PHP upload_max_filesize (%s) es más alto que el parámetro de PHP post_max_size (%s). Esta no es una configuración consistente. WarningPasswordSetWithNoAccount=Se estableció una contraseña para este miembro. Sin embargo, no se creó ninguna cuenta de usuario. Por lo tanto, esta contraseña se almacena pero no se puede usar para iniciar sesión en Dolibarr. Puede ser utilizado por un módulo/interfaz externo, pero si no necesita definir ningún inicio de sesión ni contraseña para un miembro, puede deshabilitar la opción "Administrar un inicio de sesión para cada miembro" desde la configuración del módulo Miembro. Si necesita administrar un inicio de sesión pero no necesita ninguna contraseña, puede mantener este campo vacío para evitar esta advertencia. Nota: El correo electrónico también se puede usar como inicio de sesión si el miembro está vinculado a un usuario. WarningEnableYourModulesApplications=Haga clic aquí para habilitar sus módulos y aplicaciones diff --git a/htdocs/langs/es_CU/main.lang b/htdocs/langs/es_CU/main.lang index 3b7cab70e9089..9d06a77f787c0 100644 --- a/htdocs/langs/es_CU/main.lang +++ b/htdocs/langs/es_CU/main.lang @@ -133,7 +133,6 @@ QuickAdd=Adición rápida Valid=Válido Upload=Subir ResizeOrCrop=Redimensionar o Recortar -Recenter=Reciente NoUserGroupDefined=Ningún grupo de usuarios definido PasswordRetype=repita su contraseña NoteSomeFeaturesAreDisabled=Tenga en cuenta que muchas características/módulos están deshabilitados en esta demostración. diff --git a/htdocs/langs/es_CU/stocks.lang b/htdocs/langs/es_CU/stocks.lang index 32bb92c28bd44..45571a63d9754 100644 --- a/htdocs/langs/es_CU/stocks.lang +++ b/htdocs/langs/es_CU/stocks.lang @@ -173,7 +173,6 @@ StockIncrease=Aumento de existencias StockDecrease=Disminución de existencias InventoryForASpecificWarehouse=Inventario para un almacén específico InventoryForASpecificProduct=Inventario para un producto específico -AlwaysShowFullArbo=Display the full path of a warehouse (parent warehouses) on the popup of warehouse links (Warning: This may decrease dramatically performances) UpdateByScaning=Complete la cantidad real escaneando UpdateByScaningLot=Actualización por escaneo (lote|código de barras serial) DisableStockChangeOfSubProduct=Desactivar el cambio de stock para todos los subproductos de este Kit durante este movimiento. diff --git a/htdocs/langs/es_CU/ticket.lang b/htdocs/langs/es_CU/ticket.lang index 5786093b40062..f8df930c46ca5 100644 --- a/htdocs/langs/es_CU/ticket.lang +++ b/htdocs/langs/es_CU/ticket.lang @@ -55,7 +55,6 @@ TicketsLogEnableEmailHelp=En cada cambio, se enviará un correo electrónico **a TicketsShowModuleLogo=Mostrar el logo del módulo en la interfaz pública TicketsShowModuleLogoHelp=Habilite esta opción para ocultar el módulo de logotipo en las páginas de la interfaz pública TicketsShowCompanyLogo=Mostrar el logo de la empresa en la interfaz pública -TicketsShowCompanyLogoHelp=Enable this option to show the logo of the main company in the pages of the public interface TicketsLimitViewAssignedOnly=Restringir la visualización a los tickets asignados al usuario actual (no efectivo para usuarios externos, limitarse siempre al tercero del que dependen) TicketsLimitViewAssignedOnlyHelp=Solo serán visibles los tickets asignados al usuario actual. No se aplica a un usuario con derechos de gestión de tickets. TicketsActivatePublicInterface=Activar interfaz pública diff --git a/htdocs/langs/es_DO/banks.lang b/htdocs/langs/es_DO/banks.lang deleted file mode 100644 index 1fdad6e33bb7d..0000000000000 --- a/htdocs/langs/es_DO/banks.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - banks -BankType1=Current, cheque or credit card account diff --git a/htdocs/langs/es_DO/errors.lang b/htdocs/langs/es_DO/errors.lang deleted file mode 100644 index de9df75f0bd82..0000000000000 --- a/htdocs/langs/es_DO/errors.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - errors -ErrorSessionInvalidatedAfterPasswordChange=The session was been invalidated following a change of password, email, status or dates of validity. Please relogin. diff --git a/htdocs/langs/es_DO/stocks.lang b/htdocs/langs/es_DO/stocks.lang deleted file mode 100644 index 240c8a3f19c0b..0000000000000 --- a/htdocs/langs/es_DO/stocks.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - stocks -AlwaysShowFullArbo=Display the full path of a warehouse (parent warehouses) on the popup of warehouse links (Warning: This may decrease dramatically performances) diff --git a/htdocs/langs/es_DO/ticket.lang b/htdocs/langs/es_DO/ticket.lang deleted file mode 100644 index dd733640aa1db..0000000000000 --- a/htdocs/langs/es_DO/ticket.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - ticket -TicketsShowCompanyLogoHelp=Enable this option to show the logo of the main company in the pages of the public interface diff --git a/htdocs/langs/es_EC/banks.lang b/htdocs/langs/es_EC/banks.lang index 2056ebd922db0..b2e3a628ef983 100644 --- a/htdocs/langs/es_EC/banks.lang +++ b/htdocs/langs/es_EC/banks.lang @@ -31,7 +31,6 @@ MenuNewFinancialAccount=Nueva cuenta bancaria EditFinancialAccount=Editar cuenta LabelBankCashAccount=Etiqueta bancaria o de caja BankType0=Cuenta de ahorros -BankType1=Current, cheque or credit card account BankType2=Cuenta de efectivo AccountsArea=Área de cuentas AccountCard=Tarjeta de cuenta diff --git a/htdocs/langs/es_EC/ticket.lang b/htdocs/langs/es_EC/ticket.lang index a3ff5c006e0dc..fb731063b9a64 100644 --- a/htdocs/langs/es_EC/ticket.lang +++ b/htdocs/langs/es_EC/ticket.lang @@ -32,7 +32,6 @@ TicketsLogEnableEmail=Habilitar registro por correo electrónico TicketsLogEnableEmailHelp=En cada cambio, se enviará un correo electrónico ** a cada contacto ** asociado con el ticket. TicketParams=Parametros TicketsShowModuleLogoHelp=Habilite esta opción para ocultar el módulo del logotipo en las páginas de la interfaz pública -TicketsShowCompanyLogoHelp=Enable this option to show the logo of the main company in the pages of the public interface TicketsLimitViewAssignedOnly=Restrinja la visualización a los tickets asignados al usuario actual (no es efectivo para usuarios externos, siempre se limita al tercero del que dependen) TicketsLimitViewAssignedOnlyHelp=Solo los tickets asignadas al usuario actual serán visibles. No se aplica a un usuario con derechos de gestión de tickets. TicketsActivatePublicInterface=Activar la interfaz pública diff --git a/htdocs/langs/es_GT/banks.lang b/htdocs/langs/es_GT/banks.lang deleted file mode 100644 index 1fdad6e33bb7d..0000000000000 --- a/htdocs/langs/es_GT/banks.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - banks -BankType1=Current, cheque or credit card account diff --git a/htdocs/langs/es_GT/errors.lang b/htdocs/langs/es_GT/errors.lang deleted file mode 100644 index de9df75f0bd82..0000000000000 --- a/htdocs/langs/es_GT/errors.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - errors -ErrorSessionInvalidatedAfterPasswordChange=The session was been invalidated following a change of password, email, status or dates of validity. Please relogin. diff --git a/htdocs/langs/es_GT/stocks.lang b/htdocs/langs/es_GT/stocks.lang deleted file mode 100644 index 240c8a3f19c0b..0000000000000 --- a/htdocs/langs/es_GT/stocks.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - stocks -AlwaysShowFullArbo=Display the full path of a warehouse (parent warehouses) on the popup of warehouse links (Warning: This may decrease dramatically performances) diff --git a/htdocs/langs/es_GT/ticket.lang b/htdocs/langs/es_GT/ticket.lang deleted file mode 100644 index dd733640aa1db..0000000000000 --- a/htdocs/langs/es_GT/ticket.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - ticket -TicketsShowCompanyLogoHelp=Enable this option to show the logo of the main company in the pages of the public interface diff --git a/htdocs/langs/es_HN/banks.lang b/htdocs/langs/es_HN/banks.lang deleted file mode 100644 index 1fdad6e33bb7d..0000000000000 --- a/htdocs/langs/es_HN/banks.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - banks -BankType1=Current, cheque or credit card account diff --git a/htdocs/langs/es_HN/errors.lang b/htdocs/langs/es_HN/errors.lang deleted file mode 100644 index de9df75f0bd82..0000000000000 --- a/htdocs/langs/es_HN/errors.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - errors -ErrorSessionInvalidatedAfterPasswordChange=The session was been invalidated following a change of password, email, status or dates of validity. Please relogin. diff --git a/htdocs/langs/es_HN/stocks.lang b/htdocs/langs/es_HN/stocks.lang deleted file mode 100644 index 240c8a3f19c0b..0000000000000 --- a/htdocs/langs/es_HN/stocks.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - stocks -AlwaysShowFullArbo=Display the full path of a warehouse (parent warehouses) on the popup of warehouse links (Warning: This may decrease dramatically performances) diff --git a/htdocs/langs/es_HN/ticket.lang b/htdocs/langs/es_HN/ticket.lang deleted file mode 100644 index dd733640aa1db..0000000000000 --- a/htdocs/langs/es_HN/ticket.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - ticket -TicketsShowCompanyLogoHelp=Enable this option to show the logo of the main company in the pages of the public interface diff --git a/htdocs/langs/es_MX/banks.lang b/htdocs/langs/es_MX/banks.lang index 908b18da07195..1895f21cb5b4a 100644 --- a/htdocs/langs/es_MX/banks.lang +++ b/htdocs/langs/es_MX/banks.lang @@ -30,7 +30,6 @@ MenuNewFinancialAccount=Nueva cuenta financiera EditFinancialAccount=Editar cuenta LabelBankCashAccount=Etiqueta de cuenta o caja BankType0=Cuenta de ahorros -BankType1=Current, cheque or credit card account BankType2=Cuenta de caja/efectivo AccountsArea=Área de cuentas AccountCard=Ficha de cuenta diff --git a/htdocs/langs/es_PA/banks.lang b/htdocs/langs/es_PA/banks.lang deleted file mode 100644 index 1fdad6e33bb7d..0000000000000 --- a/htdocs/langs/es_PA/banks.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - banks -BankType1=Current, cheque or credit card account diff --git a/htdocs/langs/es_PA/errors.lang b/htdocs/langs/es_PA/errors.lang deleted file mode 100644 index de9df75f0bd82..0000000000000 --- a/htdocs/langs/es_PA/errors.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - errors -ErrorSessionInvalidatedAfterPasswordChange=The session was been invalidated following a change of password, email, status or dates of validity. Please relogin. diff --git a/htdocs/langs/es_PA/stocks.lang b/htdocs/langs/es_PA/stocks.lang deleted file mode 100644 index 240c8a3f19c0b..0000000000000 --- a/htdocs/langs/es_PA/stocks.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - stocks -AlwaysShowFullArbo=Display the full path of a warehouse (parent warehouses) on the popup of warehouse links (Warning: This may decrease dramatically performances) diff --git a/htdocs/langs/es_PA/ticket.lang b/htdocs/langs/es_PA/ticket.lang deleted file mode 100644 index dd733640aa1db..0000000000000 --- a/htdocs/langs/es_PA/ticket.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - ticket -TicketsShowCompanyLogoHelp=Enable this option to show the logo of the main company in the pages of the public interface diff --git a/htdocs/langs/es_PE/errors.lang b/htdocs/langs/es_PE/errors.lang deleted file mode 100644 index de9df75f0bd82..0000000000000 --- a/htdocs/langs/es_PE/errors.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - errors -ErrorSessionInvalidatedAfterPasswordChange=The session was been invalidated following a change of password, email, status or dates of validity. Please relogin. diff --git a/htdocs/langs/es_PY/banks.lang b/htdocs/langs/es_PY/banks.lang deleted file mode 100644 index 1fdad6e33bb7d..0000000000000 --- a/htdocs/langs/es_PY/banks.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - banks -BankType1=Current, cheque or credit card account diff --git a/htdocs/langs/es_PY/errors.lang b/htdocs/langs/es_PY/errors.lang deleted file mode 100644 index de9df75f0bd82..0000000000000 --- a/htdocs/langs/es_PY/errors.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - errors -ErrorSessionInvalidatedAfterPasswordChange=The session was been invalidated following a change of password, email, status or dates of validity. Please relogin. diff --git a/htdocs/langs/es_PY/stocks.lang b/htdocs/langs/es_PY/stocks.lang deleted file mode 100644 index 240c8a3f19c0b..0000000000000 --- a/htdocs/langs/es_PY/stocks.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - stocks -AlwaysShowFullArbo=Display the full path of a warehouse (parent warehouses) on the popup of warehouse links (Warning: This may decrease dramatically performances) diff --git a/htdocs/langs/es_PY/ticket.lang b/htdocs/langs/es_PY/ticket.lang deleted file mode 100644 index dd733640aa1db..0000000000000 --- a/htdocs/langs/es_PY/ticket.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - ticket -TicketsShowCompanyLogoHelp=Enable this option to show the logo of the main company in the pages of the public interface diff --git a/htdocs/langs/es_US/banks.lang b/htdocs/langs/es_US/banks.lang deleted file mode 100644 index 1fdad6e33bb7d..0000000000000 --- a/htdocs/langs/es_US/banks.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - banks -BankType1=Current, cheque or credit card account diff --git a/htdocs/langs/es_US/errors.lang b/htdocs/langs/es_US/errors.lang deleted file mode 100644 index de9df75f0bd82..0000000000000 --- a/htdocs/langs/es_US/errors.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - errors -ErrorSessionInvalidatedAfterPasswordChange=The session was been invalidated following a change of password, email, status or dates of validity. Please relogin. diff --git a/htdocs/langs/es_US/stocks.lang b/htdocs/langs/es_US/stocks.lang deleted file mode 100644 index 240c8a3f19c0b..0000000000000 --- a/htdocs/langs/es_US/stocks.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - stocks -AlwaysShowFullArbo=Display the full path of a warehouse (parent warehouses) on the popup of warehouse links (Warning: This may decrease dramatically performances) diff --git a/htdocs/langs/es_US/ticket.lang b/htdocs/langs/es_US/ticket.lang deleted file mode 100644 index dd733640aa1db..0000000000000 --- a/htdocs/langs/es_US/ticket.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - ticket -TicketsShowCompanyLogoHelp=Enable this option to show the logo of the main company in the pages of the public interface diff --git a/htdocs/langs/es_UY/banks.lang b/htdocs/langs/es_UY/banks.lang deleted file mode 100644 index 1fdad6e33bb7d..0000000000000 --- a/htdocs/langs/es_UY/banks.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - banks -BankType1=Current, cheque or credit card account diff --git a/htdocs/langs/es_UY/errors.lang b/htdocs/langs/es_UY/errors.lang deleted file mode 100644 index de9df75f0bd82..0000000000000 --- a/htdocs/langs/es_UY/errors.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - errors -ErrorSessionInvalidatedAfterPasswordChange=The session was been invalidated following a change of password, email, status or dates of validity. Please relogin. diff --git a/htdocs/langs/es_UY/stocks.lang b/htdocs/langs/es_UY/stocks.lang deleted file mode 100644 index 240c8a3f19c0b..0000000000000 --- a/htdocs/langs/es_UY/stocks.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - stocks -AlwaysShowFullArbo=Display the full path of a warehouse (parent warehouses) on the popup of warehouse links (Warning: This may decrease dramatically performances) diff --git a/htdocs/langs/es_UY/ticket.lang b/htdocs/langs/es_UY/ticket.lang deleted file mode 100644 index dd733640aa1db..0000000000000 --- a/htdocs/langs/es_UY/ticket.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - ticket -TicketsShowCompanyLogoHelp=Enable this option to show the logo of the main company in the pages of the public interface diff --git a/htdocs/langs/es_VE/banks.lang b/htdocs/langs/es_VE/banks.lang index d225bbba64056..035657a53cd04 100644 --- a/htdocs/langs/es_VE/banks.lang +++ b/htdocs/langs/es_VE/banks.lang @@ -1,5 +1,4 @@ # Dolibarr language file - Source file is en_US - banks -BankType1=Current, cheque or credit card account OnlyOpenedAccount=Sólo cuentas abiertas StatusAccountOpened=Abierta CheckTransmitter=Origen diff --git a/htdocs/langs/fr_BE/banks.lang b/htdocs/langs/fr_BE/banks.lang deleted file mode 100644 index 1fdad6e33bb7d..0000000000000 --- a/htdocs/langs/fr_BE/banks.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - banks -BankType1=Current, cheque or credit card account diff --git a/htdocs/langs/fr_BE/errors.lang b/htdocs/langs/fr_BE/errors.lang deleted file mode 100644 index de9df75f0bd82..0000000000000 --- a/htdocs/langs/fr_BE/errors.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - errors -ErrorSessionInvalidatedAfterPasswordChange=The session was been invalidated following a change of password, email, status or dates of validity. Please relogin. diff --git a/htdocs/langs/fr_BE/stocks.lang b/htdocs/langs/fr_BE/stocks.lang deleted file mode 100644 index 240c8a3f19c0b..0000000000000 --- a/htdocs/langs/fr_BE/stocks.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - stocks -AlwaysShowFullArbo=Display the full path of a warehouse (parent warehouses) on the popup of warehouse links (Warning: This may decrease dramatically performances) diff --git a/htdocs/langs/fr_BE/ticket.lang b/htdocs/langs/fr_BE/ticket.lang deleted file mode 100644 index dd733640aa1db..0000000000000 --- a/htdocs/langs/fr_BE/ticket.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - ticket -TicketsShowCompanyLogoHelp=Enable this option to show the logo of the main company in the pages of the public interface diff --git a/htdocs/langs/fr_CA/banks.lang b/htdocs/langs/fr_CA/banks.lang index 07e59a82b81ef..21499bbff899c 100644 --- a/htdocs/langs/fr_CA/banks.lang +++ b/htdocs/langs/fr_CA/banks.lang @@ -10,7 +10,6 @@ AccountStatement=Relevé de compte AccountStatements=Relevés de compte BankAccountDomiciliation=Adresse de la banque EditFinancialAccount=Modifier compte -BankType1=Current, cheque or credit card account ConfirmDeleteAccount=Êtes-vous sûr de vouloir supprimer ce compte? BankTransactionByCategories=Entrées bancaires par catégories BankTransactionForCategory=Entrées bancaires pour la catégorie %s diff --git a/htdocs/langs/fr_CA/bills.lang b/htdocs/langs/fr_CA/bills.lang index 549eaa3548560..247dae83fb1da 100644 --- a/htdocs/langs/fr_CA/bills.lang +++ b/htdocs/langs/fr_CA/bills.lang @@ -10,7 +10,6 @@ ConfirmDeletePayment=Êtes-vous sûr de vouloir supprimer ce paiement? CreateCreditNote=Créer avoir DoPayment=Entrez le paiement DoPaymentBack=Saisissez le remboursement -StatusOfGeneratedInvoices=État des factures générées BillShortStatusClosedPaidPartially=Payée NoQualifiedRecurringInvoiceTemplateFound=Aucune facture de modèle récurrent qualifié pour la génération. FoundXQualifiedRecurringInvoiceTemplate=Modèles de factures récurrentes qualifiées trouvées %s pour la génération diff --git a/htdocs/langs/fr_CH/banks.lang b/htdocs/langs/fr_CH/banks.lang deleted file mode 100644 index 1fdad6e33bb7d..0000000000000 --- a/htdocs/langs/fr_CH/banks.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - banks -BankType1=Current, cheque or credit card account diff --git a/htdocs/langs/fr_CH/errors.lang b/htdocs/langs/fr_CH/errors.lang deleted file mode 100644 index de9df75f0bd82..0000000000000 --- a/htdocs/langs/fr_CH/errors.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - errors -ErrorSessionInvalidatedAfterPasswordChange=The session was been invalidated following a change of password, email, status or dates of validity. Please relogin. diff --git a/htdocs/langs/fr_CH/stocks.lang b/htdocs/langs/fr_CH/stocks.lang deleted file mode 100644 index 240c8a3f19c0b..0000000000000 --- a/htdocs/langs/fr_CH/stocks.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - stocks -AlwaysShowFullArbo=Display the full path of a warehouse (parent warehouses) on the popup of warehouse links (Warning: This may decrease dramatically performances) diff --git a/htdocs/langs/fr_CH/ticket.lang b/htdocs/langs/fr_CH/ticket.lang deleted file mode 100644 index dd733640aa1db..0000000000000 --- a/htdocs/langs/fr_CH/ticket.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - ticket -TicketsShowCompanyLogoHelp=Enable this option to show the logo of the main company in the pages of the public interface diff --git a/htdocs/langs/fr_CI/banks.lang b/htdocs/langs/fr_CI/banks.lang deleted file mode 100644 index 1fdad6e33bb7d..0000000000000 --- a/htdocs/langs/fr_CI/banks.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - banks -BankType1=Current, cheque or credit card account diff --git a/htdocs/langs/fr_CI/errors.lang b/htdocs/langs/fr_CI/errors.lang deleted file mode 100644 index de9df75f0bd82..0000000000000 --- a/htdocs/langs/fr_CI/errors.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - errors -ErrorSessionInvalidatedAfterPasswordChange=The session was been invalidated following a change of password, email, status or dates of validity. Please relogin. diff --git a/htdocs/langs/fr_CI/stocks.lang b/htdocs/langs/fr_CI/stocks.lang deleted file mode 100644 index 240c8a3f19c0b..0000000000000 --- a/htdocs/langs/fr_CI/stocks.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - stocks -AlwaysShowFullArbo=Display the full path of a warehouse (parent warehouses) on the popup of warehouse links (Warning: This may decrease dramatically performances) diff --git a/htdocs/langs/fr_CI/ticket.lang b/htdocs/langs/fr_CI/ticket.lang deleted file mode 100644 index dd733640aa1db..0000000000000 --- a/htdocs/langs/fr_CI/ticket.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - ticket -TicketsShowCompanyLogoHelp=Enable this option to show the logo of the main company in the pages of the public interface diff --git a/htdocs/langs/fr_CM/errors.lang b/htdocs/langs/fr_CM/errors.lang deleted file mode 100644 index de9df75f0bd82..0000000000000 --- a/htdocs/langs/fr_CM/errors.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - errors -ErrorSessionInvalidatedAfterPasswordChange=The session was been invalidated following a change of password, email, status or dates of validity. Please relogin. diff --git a/htdocs/langs/fr_CM/stocks.lang b/htdocs/langs/fr_CM/stocks.lang deleted file mode 100644 index 240c8a3f19c0b..0000000000000 --- a/htdocs/langs/fr_CM/stocks.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - stocks -AlwaysShowFullArbo=Display the full path of a warehouse (parent warehouses) on the popup of warehouse links (Warning: This may decrease dramatically performances) diff --git a/htdocs/langs/fr_CM/ticket.lang b/htdocs/langs/fr_CM/ticket.lang deleted file mode 100644 index dd733640aa1db..0000000000000 --- a/htdocs/langs/fr_CM/ticket.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - ticket -TicketsShowCompanyLogoHelp=Enable this option to show the logo of the main company in the pages of the public interface diff --git a/htdocs/langs/fr_FR/accountancy.lang b/htdocs/langs/fr_FR/accountancy.lang index b8ef78e2d83f0..ea28b9370494c 100644 --- a/htdocs/langs/fr_FR/accountancy.lang +++ b/htdocs/langs/fr_FR/accountancy.lang @@ -307,7 +307,7 @@ DescValidateMovements=Toute modification ou suppression d'écriture, de lettrage ValidateHistory=Lier automatiquement AutomaticBindingDone=Liaisons automatiques effectuées (%s) - Liaison automatique impossible pour certains enregistrements (%s) -DoManualBindingForFailedRecord=Vous devez réaliser un lettrage manuel pour la/les %s ligne·s non lettré·es automatiquement. +DoManualBindingForFailedRecord=Vous devez réaliser la liaison avec le compte comptable manuellement pour la ou les %s lignes non liées automatiquement. ErrorAccountancyCodeIsAlreadyUse=Erreur, vous ne pouvez pas supprimer ou désactiver ce compte comptable car il est utilisé MvtNotCorrectlyBalanced=Mouvement non équilibré. Débit = %s & Crédit = %s diff --git a/htdocs/langs/fr_FR/admin.lang b/htdocs/langs/fr_FR/admin.lang index ec8a9795f17ee..f3fa567b4df99 100644 --- a/htdocs/langs/fr_FR/admin.lang +++ b/htdocs/langs/fr_FR/admin.lang @@ -60,7 +60,7 @@ GUISetup=Affichage SetupArea=Configuration UploadNewTemplate=Téléverser un / des nouveau(x) modèle(s) FormToTestFileUploadForm=Formulaire de test d'envoi de fichier (selon options choisies) -ModuleMustBeEnabled=Le module %sdoit être activé +ModuleMustBeEnabled=Le module %s doit être activé ModuleIsEnabled=Le module/application %s a été activé IfModuleEnabled=Rem: oui est effectif uniquement si le module %s est activé RemoveLock=Effacer le fichier %s s'il existe afin d'autoriser l'outil de mise à jour. @@ -417,6 +417,7 @@ PDFLocaltax=Règles pour %s HideLocalTaxOnPDF=Cacher le taux de %s dans la colonne Taxe HideDescOnPDF=Cacher la description des produits HideRefOnPDF=Cacher la référence des produits +ShowProductBarcodeOnPDF=Afficher le numéro code-barre des produits HideDetailsOnPDF=Cacher les détails des prix sur lignes de produits PlaceCustomerAddressToIsoLocation=Utiliser la position standard française (La Poste) pour la position de l'adresse client Library=Bibliothèque @@ -458,7 +459,7 @@ ComputedFormula=Champ calculé ComputedFormulaDesc=Vous pouvez entrer ici une formule en utilisant d’autres propriétés de l'objet ou tout autre code PHP pour obtenir une valeur calculée dynamique. Vous pouvez utiliser toutes les formules compatibles PHP, y compris l'opérateur conditionnel "?", ainsi que les objets globaux suvants : $db, $conf, $langs, $mysoc, $user, $objectoffield.
ATTENTION : Si vous avez besoin des propriétés d’un objet non disponible, il vous suffit de le charger même dans votre formule comme dans le deuxième exemple.
L'utilisation d'un champ calculé signifie que vous ne pouvez pas entrer vous-même une valeur depuis l’interface. De même, en cas d'erreur de syntaxe, la formule peut ne rien retourner.

Exemple de formule :
$objectoffield->id < 10 ? round($objectoffield->id / 2, 2) : ($objectoffield->id + 2 * $user->id) * (int) substr($mysoc->zip, 1, 2)

Exemple pour recharger l’object
(($reloadedobj = new Societe($db)) && ($reloadedobj->fetchNoCompute($objectoffield->id) > 0 ? $reloadedobj->array_options['options_extrafieldkey'] * $reloadedobj->capital / 5 : '-1')

Autre exemple de formule pour forcer le chargement d'un objet et de ses objets parents :
(($reloadedobj = new Task($db)) && ($reloadedobj->fetchNoCompute($objectoffield->id) > 0) && ($secondloadedobj = new Project($db)) && ($secondloadedobj->fetchNoCompute($reloadedobj->fk_project) > 0)) ? $secondloadedobj->ref : 'Projet parent introuvable’ Computedpersistent=Stocker le champ calculé ComputedpersistentDesc=Les champs supplémentaires calculés seront stockés dans la base de données. Toutefois, la valeur ne sera recalculée que lorsque l'objet de ce champ sera modifié. Si le champ calculé dépend d'autres objets ou de données globales, cette valeur peut être fausse !! -ExtrafieldParamHelpPassword=Laissez ce champ vide signifie que la valeur sera stockée sans cryptage (le champ doit juste être caché avec des étoiles sur l'écran).
Définissez la valeur 'auto' pour utiliser la règle de cryptage par défaut pour enregistrer le mot de passe dans la base de données (ensuite la valeur utilisée sera le hash uniquement, sans moyen de retrouver la valeur d'origine) +ExtrafieldParamHelpPassword=Laisser ce champ vide signifie que cette valeur sera stockée SANS cryptage (le champ est juste caché par des étoiles à l'écran).

Entrez la valeur 'dolcrypt' pour encoder la valeur avec un algorithme de cryptage réversible. Les données en clair peuvent toujours être connues et modifiées, mais elles sont cryptées dans la base de données.

Entrez 'auto' (ou 'md5', 'sha256', 'password_hash', ...) pour utiliser l'algorithme de cryptage de mot de passe par défaut (ou md5, sha256, password_hash...) afin d'enregistrer le mot de passe haché non réversible dans la base de données (aucun moyen de récupérer la valeur originale). ExtrafieldParamHelpselect=La liste doit être de la forme clef,valeur (où la clé ne peut être '0')

par exemple :
1,valeur1
2,valeur2
3,valeur3
...

Pour afficher une liste dépendant d'une autre liste attribut complémentaire:
1, valeur1|options_code_liste_parente:clé_parente
2,valeur2|options_ode_liste_parente:clé_parente

Pour que la liste soit dépendante d'une autre liste:
1,valeur1|code_liste_parent:clef_parent
2,valeur2|code_liste_parent:clef_parent ExtrafieldParamHelpcheckbox=La liste doit être de la forme clef,valeur (où la clé ne peut être '0')

par exemple :
1,valeur1
2,valeur2
3,valeur3
... ExtrafieldParamHelpradio=La liste doit être de la forme clef,valeur (où la clé ne peut être '0')

par exemple :
1,valeur1
2,valeur2
3,valeur3
... @@ -582,7 +583,7 @@ Module54Desc=Gestion des contrats (services ou abonnements récurrents) Module55Name=Codes-barres Module55Desc=Gestion de Code-barre ou QR Code Module56Name=Paiement par virement bancaire -Module56Desc=Gestion des paiements de fournisseurs par virement bancaire. Est incluse la génération des fichiers SEPA pour les pays européens. +Module56Desc=Gestion des paiements de fournisseurs ou salaires par virement bancaire. Cela inclut la génération des fichiers SEPA pour les pays européens. Module57Name=Règlement par Prélèvement Module57Desc=Gestion des règlements clients par prélèvements. Est incluse la génération des fichiers SEPA pour les pays européens. Module58Name=ClickToDial @@ -630,6 +631,10 @@ Module600Desc=Envoi de notifications par e-mails déclenchées par des événeme Module600Long=Notez que ce module est dédié à l'envoi d'e-mails en temps réel lorsqu'un événement métier dédié se produit. Si vous cherchez une fonctionnalité pour envoyer des rappels par email de vos événements agenda, allez dans la configuration du module Agenda. Module610Name=Variantes de produits Module610Desc=Création de variantes de produits (couleur, taille, etc.) +Module650Name=Nomenclatures (BOM) +Module650Desc=Module permettant de définir vos nomenclatures (BOM). Peut être utilisé pour la planification des ressources de fabrication (MRP) par le module ordres de fabrication (OF). +Module660Name=Planification des ressources de fabrication (MRP) +Module660Desc=Module de gestion des ordres de fabrication (OF) Module700Name=Dons Module700Desc=Gestion des dons Module770Name=Notes de frais @@ -650,8 +655,8 @@ Module2300Name=Travaux planifiés Module2300Desc=Gestion des travaux planifiées (alias cron ou table chrono) Module2400Name=Événements/Agenda Module2400Desc=Gestion des événements. Laissez l'application tracer automatiquement les événements pour des besoins de suivi ou enregistrer manuellement des événements ou rendez-vous dans l'agenda. Ceci est le module le plus important pour une bonne Gestion de la Relation Client ou Fournisseur. -Module2430Name=Calendrier de réservation en ligne -Module2430Desc=Proposez un calendrier en ligne pour permettre à quiconque de réserver un rendez-vous, en fonction de plages et de disponibilités prédéfinies. +Module2430Name=Prise de rendez-vous en ligne +Module2430Desc=Fournit un système de prise de rendez-vous en ligne. Cela permet à chacun de réserver des rendez-vous, selon des plages ou des disponibilités prédéfinies. Module2500Name=GED Module2500Desc=Gestion de documents (GED). Stockage automatic des documents générés ou stockés. Fonction de partage. Module2600Name=API / Web services (serveur SOAP) @@ -712,6 +717,8 @@ Module63000Desc=Gère les ressources (imprimantes, voitures, salles...). les res Module66000Name=Gestion des jetons OAuth2 Module66000Desc=Fournir un outil pour générer et gérer des jetons OAuth2. Le jeton peut ensuite être utilisé par d'autres modules. Module94160Name=Réceptions +ModuleBookCalName=Système de calendrier de réservation +ModuleBookCalDesc=Gère un calendrier pour prendre de rendez-vous en ligne ##### Permissions ##### Permission11=Lire les factures (et paiements) clients Permission12=Créer/modifier les factures clients @@ -1098,6 +1105,7 @@ DictionaryExpenseTaxRange=Note de frais - Tri par catégorie de déplacement DictionaryTransportMode=Déclaration d'échanges intracommunautaires - Mode de transport DictionaryBatchStatus=État du contrôle qualité du lot/série de produits DictionaryAssetDisposalType=Type de cession d'actifs +DictionaryInvoiceSubtype=Sous-types de factures TypeOfUnit=Type d'unité SetupSaved=Configuration sauvegardée SetupNotSaved=Configuration non enregistrée @@ -1400,7 +1408,7 @@ PreloadOPCode=Le code OP préchargé est utilisé AddRefInList=Afficher les références Client/Fournisseur dans les listes déroulantes.
Les tiers apparaîtront alors sous la forme "CC12345 - SC45678 - Ma Grande Société." au lieu de "Ma Grande Société". AddVatInList=Afficher le numéro de TVA du client/fournisseur dans des listes déroulantes. AddAdressInList=Affiche les informations sur l'adresse du client/fournisseur dans les listes déroulantes.
Les tiers apparaîtront sous le format de nom suivant : "Ma Grande Société. - 21 rue du Jump 123456 Grande Ville - FRANCE" au lieu de "Ma Grande Société". -AddEmailPhoneTownInContactList=Afficher l'adresse e-mail du contact (ou les téléphones si non définis) et la ville
Les contacts apparaîtront avec un nom au format "Dupond Durand - dupond.durand@email.com - Paris" ou "Dupond Durand - 06 07 59 65 66 - Paris" au lieu de "Dupond Durand". +AddEmailPhoneTownInContactList=Afficher l'adresse e-mail du contact (ou les téléphones si non définis) et la ville (liste déroulante ou combobox)
Les contacts apparaîtront avec un nom au format "Dupond Durand - dupond.durand@email.com - Paris" ou "Dupond Durand - 06 07 59 65 66 - Paris" au lieu de "Dupond Durand". AskForPreferredShippingMethod=Demander la méthode d'expédition préférée pour les Tiers FieldEdition=Édition du champ %s FillThisOnlyIfRequired=Exemple: +2 (ne remplir que si un décalage d'heure est constaté dans l'export) @@ -1509,8 +1517,8 @@ WatermarkOnDraftContractCards=Filigrane sur les brouillons de contrats (aucun si MembersSetup=Configuration du module Adhérents MemberMainOptions=Options principales MemberCodeChecker=Options de génération automatique des codes des adhérents -AdherentLoginRequired=Manage a login/password for each member -AdherentLoginRequiredDesc=Add a value for a login and a password on the member file. If the member is linked to a user, updating the member login and password will also update the user login and password. +AdherentLoginRequired=Gérer un login/mot de passe pour chaque membre +AdherentLoginRequiredDesc=Ajoutez une valeur pour un login et un mot de passe sur la fiche membre. Si le membre est lié à un utilisateur, la mise à jour du login et du mot de passe du membre mettra également à jour le login et le mot de passe de l'utilisateur. AdherentMailRequired=Email obligatoire pour créer un nouvel adhérent MemberSendInformationByMailByDefault=Case à cocher pour envoyer un email de confirmation (validation ou nouvelle cotisation) aux adhérents est à oui par défaut. MemberCreateAnExternalUserForSubscriptionValidated=Créer un utilisateur externe pour chaque nouvelle cotisation adhérent validée @@ -1773,15 +1781,15 @@ FreeLegalTextOnDeliveryReceipts=Mention complémentaire sur les bons de récepti ##### FCKeditor ##### AdvancedEditor=Editeur avancé ActivateFCKeditor=Activer l'éditeur avancé pour : -FCKeditorForNotePublic=Création/édition WYSIWIG du champ notes publiques des éléments -FCKeditorForNotePrivate=Création/édition WYSIWIG du champ notes privées des éléments -FCKeditorForCompany=Création/édition WYSIWIG de la description des éléments (autre que produits/services) -FCKeditorForProductDetails=Création/édition WYSIWYG de la description des produits ou des lignes d'un objet (propositions, commandes, factures, etc). +FCKeditorForNotePublic=Création/édition WYSIWYG du champ notes publiques des éléments +FCKeditorForNotePrivate=Création/édition WYSIWYG du champ notes privées des éléments +FCKeditorForCompany=Création/édition WYSIWYG de la description des éléments (autre que produits/services) +FCKeditorForProductDetails=Création/édition WYSIWYG de la description des produits ou des lignes d'un objet (lignes de propositions, commandes, factures, etc). FCKeditorForProductDetails2=ATTENTION : L'utilisation de cette option pour ce cas n'est vraiment pas recommandée car elle peut créer des problèmes avec des caractères spéciaux et la mise en forme des pages lors de la création de fichiers PDF. -FCKeditorForMailing= Création/édition WYSIWIG des emailings (Outils->Emailings) -FCKeditorForUserSignature=Création/édition WYSIWIG de la signature des utilisateurs -FCKeditorForMail=Création/édition WYSIWIG tous les emails (sauf Outils->Emailings) -FCKeditorForTicket=Création/édition WYSIWIG pour les tickets +FCKeditorForMailing= Création/édition WYSIWYG des emailings (Outils->Emailings) +FCKeditorForUserSignature=Création/édition WYSIWYG de la signature des utilisateurs +FCKeditorForMail=Création/édition WYSIWYG tous les emails (sauf Outils->Emailings) +FCKeditorForTicket=Création/édition WYSIWYG pour les tickets ##### Stock ##### StockSetup=Configuration du module Stock / Entrepôt IfYouUsePointOfSaleCheckModule=Si vous utilisez un module Point de Vente (module POS fourni par défaut ou un autre module externe), cette configuration peut être ignoré par votre module point de vente. La plupart de modules Point de Vente sont conçus pour créer immédiatement une facture et de réduire les stocks par défaut quelles que soient les options ici. Donc, si vous avez besoin ou non d'avoir une diminution du stock lors de l'enregistrement d'une vente dans votre Point de Vente, vérifiez également la configuration de votre module POS. @@ -1970,6 +1978,7 @@ HighlightLinesOnMouseHover=Mettre en surbrillance les lignes de la table lorsque HighlightLinesColor=Couleur de la ligne de surbrillance lorsque la souris passe au-dessus (mettre 'ffffff' pour ne pas mettre en surbrillance) HighlightLinesChecked=Couleur de la ligne cochée dans les listes (mettre 'ffffff' pour ne pas mettre de surbrillance) UseBorderOnTable=Afficher les bordures gauche-droite des tableaux +TableLineHeight=Hauteur de ligne tableaux BtnActionColor=Couleur du bouton d'action TextBtnActionColor=Couleur du texte du bouton d'action TextTitleColor=Couleur du texte du titre de la page @@ -1991,7 +2000,7 @@ EnterAnyCode=Ce champ contient une référence pour identifier l'enregistrement. Enter0or1=Saisir 0 ou 1  UnicodeCurrency=Saisissez ici entre accolades, la liste du numéro des octets qui représentent le symbole de la monnaie. Pour exemple: pour $, entrez [36] - pour le Real Brésilien R$ [82,36] - pour l'euro €, entrez [8364] ColorFormat=La couleur RVB au format HEX est, par exemple: FF0000 -PictoHelp=Nom de l'icône au format :
- image.png pour un fichier image dans le répertoire du thème courant
- image.png@module si le fichier est dans le répertoire /img/ d'un module
- fa-xxx pour un picto FontAwesome fa-xxx
- fonwtawesome_xxx_fa_color_size pour un picto FontAwesome fa-xxx (avec préfixe, couleur et taille définis) +PictoHelp=Nom de l'icône au format :
- image.png pour un fichier image dans le répertoire du thème courant
- image.png@module si le fichier est dans le répertoire /img/ d'un module
- fa-xxx pour un picto FontAwesome fa-xxx
- fonwtawesome_xxx_fa_color_size pour un picto FontAwesome fa-xxx (avec préfixe, couleur et taille forcés) PositionIntoComboList=Position de la ligne dans des listes déroulantes SellTaxRate=Taux de TVA RecuperableOnly=Oui pour une TVA "Non Perçue mais Récupérable" dédiée à certains pays comme la France. Gardez la valeur à "Non" dans tous les autres cas. @@ -2077,10 +2086,10 @@ MAIN_DOCUMENTS_LOGO_HEIGHT=Hauteur du logo sur les PDFs DOC_SHOW_FIRST_SALES_REP=Afficher le premier commercial MAIN_GENERATE_PROPOSALS_WITH_PICTURE=Ajouter une colonne pour les images dans les propositions commerciales MAIN_DOCUMENTS_WITH_PICTURE_WIDTH=Largeur de la colonne si une image est ajoutée sur les lignes -MAIN_GENERATE_DOCUMENTS_SUPPLIER_PROPOSAL_WITHOUT_UNIT_PRICE=Hide the unit price column on quotation requests -MAIN_GENERATE_DOCUMENTS_SUPPLIER_PROPOSAL_WITHOUT_TOTAL_COLUMN=Hide the total price column on quotation requests -MAIN_GENERATE_DOCUMENTS_PURCHASE_ORDER_WITHOUT_UNIT_PRICE=Hide the unit price column on purchase orders -MAIN_GENERATE_DOCUMENTS_PURCHASE_ORDER_WITHOUT_TOTAL_COLUMN=Hide the total price column on puchase orders +MAIN_GENERATE_DOCUMENTS_SUPPLIER_PROPOSAL_WITHOUT_UNIT_PRICE=Masquer la colonne prix unitaire sur les demandes de devis +MAIN_GENERATE_DOCUMENTS_SUPPLIER_PROPOSAL_WITHOUT_TOTAL_COLUMN=Masquer la colonne prix total sur les demandes de devis +MAIN_GENERATE_DOCUMENTS_PURCHASE_ORDER_WITHOUT_UNIT_PRICE=Masquer la colonne du prix unitaire sur les bons de commande +MAIN_GENERATE_DOCUMENTS_PURCHASE_ORDER_WITHOUT_TOTAL_COLUMN=Masquer la colonne du prix total sur les bons de commande MAIN_PDF_NO_SENDER_FRAME=Masquer les bordures dans le cadre de l'adresse de l'expéditeur MAIN_PDF_NO_RECIPENT_FRAME=Masquer les bordures dans le cadre de l'adresse du destinataire MAIN_PDF_HIDE_CUSTOMER_CODE=Cacher le code client @@ -2146,7 +2155,7 @@ EmailCollectorExampleToCollectAnswersFromExternalEmailSoftwareDesc=Scannez le r EmailCollectorExampleToCollectAnswersFromExternalEmailSoftware=Exemple de collecte de réponses par e-mail envoyées depuis un logiciel de messagerie externe EmailCollectorExampleToCollectDolibarrAnswersDesc=Collectez tous les e-mails qui sont une réponse à un e-mail envoyé depuis votre application. Un événement (le module Agenda doit être activé) avec la réponse par e-mail sera enregistré au bon endroit. Par exemple, si vous envoyez une proposition commerciale, une commande, une facture ou un message pour un ticket par email depuis l'application, et que le destinataire répond à votre email, le système captera automatiquement la réponse et l'ajoutera dans votre ERP. EmailCollectorExampleToCollectDolibarrAnswers=Exemple de collecte de tous les messages entrants étant des réponses aux messages envoyés depuis Dolibarr -EmailCollectorExampleToCollectLeadsDesc=Collectez les e-mails qui correspondent à certaines règles et créez automatiquement un prospect (Module Project doit être activé) avec les informations d'e-mail. Vous pouvez utiliser ce collecteur si vous souhaitez suivre votre lead à l'aide du module Project (1 lead = 1 projet), ainsi vos leads seront automatiquement générés. Si le collecteur Collect_Responses est également activé, lorsque vous envoyez un email depuis vos leads, propositions ou tout autre objet, vous pouvez également voir les réponses de vos clients ou partenaires directement sur l'application.
Remarque : Avec cet exemple initial, le titre du prospect est généré, y compris l'e-mail. Si le tiers est introuvable dans la base de données (nouveau client), le prospect sera associé au tiers avec l'ID 1. +EmailCollectorExampleToCollectLeadsDesc=Collecte les emails qui correspondent à certaines règles et crée automatiquement une opportunité (le module Projet doit être activé) avec les informations de l'email. Vous pouvez utiliser ce collecteur si vous souhaitez suivre votre opportunité en utilisant le module Projet (1 opportunité = 1 projet), ainsi vos opportunités seront générés automatiquement. Si le collecteur Collect_Responses est également activé, lorsque vous envoyez un email à partir de vos opportunités, propositions ou tout autre objet, vous pouvez également voir les réponses de vos clients ou partenaires directement sur l'application.
Note : Dans ce premier exemple, le titre de l'opportunité est généré avec l'email. Si le tiers n'est pas trouvé dans la base de données (nouveau client), l'opportunité sera attachée au tiers avec l'ID 1. EmailCollectorExampleToCollectLeads=Exemple de collecte de leads EmailCollectorExampleToCollectJobCandidaturesDesc=Collectez les e-mails postulant aux offres d'emploi (le module Recrutement doit être activé). Vous pouvez compléter ce collecteur si vous souhaitez créer automatiquement une candidature pour une demande d'emploi. Remarque : Avec ce premier exemple, le titre de la candidature est généré avec l'e-mail. EmailCollectorExampleToCollectJobCandidatures=Exemple de collecte de candidatures reçues par e-mail @@ -2232,9 +2241,9 @@ EmailTemplate=Modèle d'e-mail EMailsWillHaveMessageID=Les e-mails auront une étiquette 'References' correspondant à cette syntaxe PDF_SHOW_PROJECT=Afficher le projet sur le document ShowProjectLabel=Libellé du projet -PDF_INCLUDE_ALIAS_IN_THIRDPARTY_NAME=Inclure un alias dans le nom du tiers -THIRDPARTY_ALIAS=Nom du tiers - Alias du tiers -ALIAS_THIRDPARTY=Alias du tiers - Nom du tiers +PDF_INCLUDE_ALIAS_IN_THIRDPARTY_NAME=Inclure le nom alternatif dans le nom du tiers +THIRDPARTY_ALIAS=Nom du tiers - Nom alternatif du tiers +ALIAS_THIRDPARTY=Nom alternatif du tiers - Nom du tiers PDFIn2Languages=Afficher les libellés dans le PDF dans 2 langues différentes (cette fonctionnalité peut ne pas fonctionner pour certaines combinaisons de langues) PDF_USE_ALSO_LANGUAGE_CODE=Si vous souhaitez que certains textes de votre PDF soient dupliqués dans 2 langues différentes dans le même PDF généré, vous devez définir ici cette deuxième langue pour que le PDF généré contienne 2 langues différentes dans la même page, celle choisie lors de la génération du PDF et celle-ci (seuls quelques modèles PDF prennent en charge cette fonction). Gardez vide pour 1 langue par PDF. PDF_USE_A=Générer document PDF avec le format PDF/A à la place du format PDF standard @@ -2397,14 +2406,21 @@ WarningModuleHasChangedSecurityCsrfParameter=Attention : le module %sa désactiv EMailsInGoingDesc=La réception des e-mails est gérée par le module %s. Vous devez l'activer et le configurer si vous avez besoin de prendre en charge les messages entrants. MAIN_IMAP_USE_PHPIMAP=Utiliser la librairie PHP-IMAP pour la prise en charge IMAP, à la place du support IMAP natif de PHP. Ceci permet également l'utilisation d'une connexion OAuth2 pour IMAP (le module OAuth doit aussi être activé). MAIN_CHECKBOX_LEFT_COLUMN=Afficher la colonne de sélection de champ et de ligne à gauche (à droite par défaut) -CSSPage=Style CSS -AllowOnLineSign=Activer la signature en ligne NotAvailableByDefaultEnabledOnModuleActivation=Non créé par défaut. Créé à l'activation du module uniquement. CSSPage=Style CSS Defaultfortype=Défaut DefaultForTypeDesc=Modèle utilisé par défaut lors de la création d'un nouvel e-mail pour le type de modèle OptionXShouldBeEnabledInModuleY=L'option "%s" doit être activée dans le module %s OptionXIsCorrectlyEnabledInModuleY=L'option "%s" doit être activée dans le module %s +AllowOnLineSign=Autoriser la signature en ligne AtBottomOfPage=En bas de page FailedAuth=échecs d'authentification -MaxNumberOfFailedAuth=Max number of failed authentication in 24h to deny login. +MaxNumberOfFailedAuth=Nombre maximum d'échecs d'authentification en 24h pour refuser la connexion. +AllowPasswordResetBySendingANewPassByEmail=Si un utilisateur A dispose de cette permission, et si l'utilisateur A n'est pas un administrateur, l'utilisateur A est autorisé à réinitialiser le mot de passe d'un autre utilisateur B, le nouveau mot de passe sera envoyé à l'adresse électronique de l'autre utilisateur B mais ne sera pas visible pour A. Si l'utilisateur A est administrateur, il sera également en mesure de connaître le nouveau mot de passe généré par B et pourra donc prendre le contrôle du compte de l'utilisateur B. +AllowAnyPrivileges=Si un utilisateur A dispose de cette permission, il peut créer un utilisateur B avec tous les privilèges, puis utiliser cet utilisateur B, ou s'octroyer n'importe quel autre groupe avec n'importe quelle permission. Cela signifie que l'utilisateur A possède tous les privilèges professionnels (seul l'accès aux pages de configuration du système sera interdit). +ThisValueCanBeReadBecauseInstanceIsNotInProductionMode=Cette valeur peut être lue car votre instance n'est pas en mode production. +SeeConfFile=Voir à l'intérieur du fichier conf.php sur le serveur +ReEncryptDesc=Recrypter les données si elles ne sont pas encore cryptées +PasswordFieldEncrypted=%s nouveaux enregistrements de ce champ ont été cryptés +ExtrafieldsDeleted=%s champs supplémentaires ont été supprimés +LargeModern=Large - Moderne diff --git a/htdocs/langs/fr_FR/agenda.lang b/htdocs/langs/fr_FR/agenda.lang index 5083c7c11b912..408a4186b0d18 100644 --- a/htdocs/langs/fr_FR/agenda.lang +++ b/htdocs/langs/fr_FR/agenda.lang @@ -128,6 +128,7 @@ MRP_MO_PRODUCEDInDolibarr=OF réalisé MRP_MO_DELETEInDolibarr=OF supprimé MRP_MO_CANCELInDolibarr=OF annulé PAIDInDolibarr=%s payé +ENABLEDISABLEInDolibarr=Utilisateur activé ou désactivé ##### End agenda events ##### AgendaModelModule=Modèle de document pour les événements DateActionStart=Date de début @@ -181,3 +182,22 @@ Reminders=Rappels ActiveByDefault=Activé par défaut Until=jusqu'à DataFromWasMerged=Les données de %s ont été fusionnées +AgendaShowBookcalCalendar=Calendrier de réservation : %s +MenuBookcalIndex=Rendez-vous en ligne +BookcalLabelAvailabilityHelp=Libellé de la plage de disponibilité. Par exemple:
Disponibilité générale
Disponibilité pendant les vacances de Noël +DurationOfRange=Durée des plages +BookCalSetup = Prise de rendez-vous en ligne +Settings = Paramètres +BookCalSetupPage = Page de configuration de rendez-vous en ligne +BOOKCAL_PUBLIC_INTERFACE_TOPIC = Titre de l'interface +About = À propos +BookCalAbout = À propos de BookCal +BookCalAboutPage = Page à propos de BookCal +Calendars=Calendriers +Availabilities=Disponibilités +NewAvailabilities=Nouvelles disponibilités +NewCalendar=Nouveau calendrier +ThirdPartyBookCalHelp=L'événement réservé dans ce calendrier sera automatiquement lié à ce tiers. +AppointmentDuration = Durée du rendez-vous : %s +BookingSuccessfullyBooked=Votre réservation a été enregistrée +BookingReservationHourAfter=Nous confirmons la réservation de votre rendez-vous à la date %s diff --git a/htdocs/langs/fr_FR/banks.lang b/htdocs/langs/fr_FR/banks.lang index dafb3da22e01c..7505a861fe50e 100644 --- a/htdocs/langs/fr_FR/banks.lang +++ b/htdocs/langs/fr_FR/banks.lang @@ -16,6 +16,7 @@ CashAccounts=Comptes caisse/liquide CurrentAccounts=Comptes courants SavingAccounts=Comptes épargne/placements ErrorBankLabelAlreadyExists=Libellé de compte financier déjà existant +ErrorBankReceiptAlreadyExists=La référence du reçu bancaire existe déjà BankBalance=Solde BankBalanceBefore=Solde avant BankBalanceAfter=Solde après @@ -49,9 +50,9 @@ BankAccountDomiciliation=Domiciliation du compte BankAccountCountry=Pays du compte BankAccountOwner=Nom du propriétaire du compte BankAccountOwnerAddress=Adresse du propriétaire du compte -BankAccountOwnerZip=Code postal du détenteur du compte -BankAccountOwnerTown=Ville du détenteur du compte -BankAccountOwnerCountry=Pays du détenteur du compte +BankAccountOwnerZip=Code postal du propriétaire du compte +BankAccountOwnerTown=Ville du propriétaire du compte +BankAccountOwnerCountry=Pays du propriétaire du compte CreateAccount=Créer compte NewBankAccount=Nouveau compte NewFinancialAccount=Nouveau compte financier @@ -189,6 +190,7 @@ IfYouDontReconcileDisableProperty=Si vous ne réalisez pas le rapprochement banc NoBankAccountDefined=Aucun compte bancaire défini NoRecordFoundIBankcAccount=Aucun enregistrement trouvé dans le compte bancaire. Généralement, cela se produit lorsqu'un enregistrement a été supprimé manuellement de la liste des transactions dans le compte bancaire (par exemple lors d'un rapprochement du compte bancaire). Une autre raison est que le paiement a été enregistré lorsque le module "%s" était désactivé. AlreadyOneBankAccount=un compte bancaire est déjà défini -SEPAXMLPlacePaymentTypeInformationInCreditTransfertransactionInformation=Virement SEPA : 'Type de paiement' au niveau 'Virement' -SEPAXMLPlacePaymentTypeInformationInCreditTransfertransactionInformationHelp=A la génération d'un fichier SEPA XML pour les virements, la section "PaymentTypeInformation" peut maintenant être placée dans la section "CreditTransferTransactionInformation" (à la place de la section "Payment").\nNous recommandons fortement de ne pas cocher cette case pour conserver "PaymentTypeInformation" dans "Payment level" car toutes les banques ne l'accepterons pas obligatoirement au niveau de "CreditTransferTransactionInformation". Contactez votre banque avant de modifier ce paramètre. +SEPAXMLPlacePaymentTypeInformationInCreditTransfertransactionInformation=Variante SEPA fichier +SEPAXMLPlacePaymentTypeInformationInCreditTransfertransactionInformationHelp=Oui = Stocker le « Type de paiement » dans la section « Virement de crédit » du fichier SEPA

Lors de la génération d'un fichier XML SEPA pour les virements, la section "PaymentTypeInformation" peut désormais être placée dans la section "CreditTransferTransactionInformation" (au lieu de la section "Payment"). Nous vous recommandons fortement de laisser cette case décochée pour placer PaymentTypeInformation au niveau Payment, car toutes les banques ne l'accepteront pas nécessairement au niveau CreditTransferTransactionInformation. Contactez votre banque avant de placer PaymentTypeInformation au niveau CreditTransferTransactionInformation. ToCreateRelatedRecordIntoBank=Pour créer un enregistrement bancaire associé manquant +XNewLinesConciliated=%s nouvelle(s) ligne(s) rapprochée(s) diff --git a/htdocs/langs/fr_FR/bills.lang b/htdocs/langs/fr_FR/bills.lang index 1feb9de40bb8b..9d7c22f586924 100644 --- a/htdocs/langs/fr_FR/bills.lang +++ b/htdocs/langs/fr_FR/bills.lang @@ -167,7 +167,7 @@ ActionsOnBill=Événements sur la facture ActionsOnBillRec=Actions sur facture récurrente RecurringInvoiceTemplate=Modèle de facture / Facture récurrente NoQualifiedRecurringInvoiceTemplateFound=Pas de facture récurrente qualifiée pour la génération -FoundXQualifiedRecurringInvoiceTemplate=%s facture(s) récurrente(s) qualifiées pour la génération +FoundXQualifiedRecurringInvoiceTemplate=%s modèles de factures récurrentes qualifiées pour la génération. NotARecurringInvoiceTemplate=Pas une facture récurrente NewBill=Nouvelle facture LastBills=Les %s dernières factures @@ -641,3 +641,5 @@ MentionCategoryOfOperations=Catégorie d'opérations MentionCategoryOfOperations0=Livraison de marchandises MentionCategoryOfOperations1=Prestation de services MentionCategoryOfOperations2=Mixte - Livraison de biens & prestation de services +Salaries=Salaires +InvoiceSubtype=Sous-type de facture diff --git a/htdocs/langs/fr_FR/companies.lang b/htdocs/langs/fr_FR/companies.lang index 6e67d36fc41c2..45675be9c183a 100644 --- a/htdocs/langs/fr_FR/companies.lang +++ b/htdocs/langs/fr_FR/companies.lang @@ -1,4 +1,6 @@ # Dolibarr language file - Source file is en_US - companies +newSocieteAdded=Vos coordonnées ont été enregistrées. Nous reviendrons vers vous bientôt... +ContactUsDesc=Ce formulaire vous permet de nous envoyer un message pour un premier contact. ErrorCompanyNameAlreadyExists=Le nom de société %s existe déjà. Veuillez en choisir un autre. ErrorSetACountryFirst=Définissez d'abord le pays SelectThirdParty=Sélectionner un tiers @@ -117,12 +119,20 @@ ProfId3Short=Id. prof. 3 ProfId4Short=Id. prof. 4 ProfId5Short=Id. prof. 5 ProfId6Short=Id prof. 6 +ProfId7Short=Id prof. 7 +ProfId8Short=Id prof. 8 +ProfId9Short=Id prof. 9 +ProfId10Short=Id prof. 10 ProfId1=Identifiant professionnel 1 ProfId2=Identifiant professionnel 2 ProfId3=Identifiant professionnel 3 ProfId4=Identifiant professionnel 4 ProfId5=Identifiant professionnel 5 ProfId6=Identifiant professionnel 6 +ProfId7=Identifiant professionnel 7 +ProfId8=Identifiant professionnel 8 +ProfId9=Identifiant professionnel 9 +ProfId10=Identifiant professionnel 10 ProfId1AR=Id. prof. 1 (CUIT/CUIL) ProfId2AR=Id. prof. 2 (Revenus brutes) ProfId3AR=- @@ -387,7 +397,7 @@ EditCompany=Modification société ThisUserIsNot=Cet utilisateur n'est ni un prospect, ni un client, ni un fournisseur VATIntraCheck=Vérifier VATIntraCheckDesc=Le lien %s permet d'interroger le service européen de contrôle des numéro de TVA intracommunautaire. Un accès à Internet depuis le serveur est requis pour que ce service fonctionne. -VATIntraCheckURL=http://ec.europa.eu/taxation_customs/vies/vieshome.do +VATIntraCheckURL=https://ec.europa.eu/taxation_customs/vies/#/vat-validation VATIntraCheckableOnEUSite=Vérifier la TVA intra-communautaire sur le site de la Commission Européenne VATIntraManualCheck=Vous pouvez également vérifier manuellement sur le site de la Commission européenne %s ErrorVATCheckMS_UNAVAILABLE=Vérification impossible. Le service de vérification n'est pas fourni par ce pays membre (%s). @@ -500,7 +510,7 @@ InEEC=Union Européenne (UE) RestOfEurope=Reste de l'Union Européenne (UE) OutOfEurope=Hors Union Européenne (UE) CurrentOutstandingBillLate=Montant impayé arrivé à échéance -BecarefullChangeThirdpartyBeforeAddProductToInvoice=Attention : selon votre configuration des prix des produits/services, vous devriez changer le tiers avant d'ajouter le produit +BecarefullChangeThirdpartyBeforeAddProductToInvoice=Attention : selon votre configuration des prix des produits/services, vous devriez changer le tiers avant d'ajouter le produit sur la caisse EmailAlreadyExistsPleaseRewriteYourCompanyName=l'e-mail existe déjà, veuillez réécrire le nom de votre entreprise TwoRecordsOfCompanyName=plus d'un enregistrement existe pour cette entreprise, veuillez nous contacter pour finaliser votre demande de partenariat CompanySection=Section société @@ -508,3 +518,4 @@ ShowSocialNetworks=Afficher les réseaux sociaux HideSocialNetworks=Masquer les réseaux sociaux ExternalSystemID=ID système externe IDOfPaymentInAnExternalSystem=ID du mode de paiement dans un système externe (comme Stripe, Paypal, ...) +AADEWebserviceCredentials=Références du Webservice de l'AADE diff --git a/htdocs/langs/fr_FR/errors.lang b/htdocs/langs/fr_FR/errors.lang index 2d25697845a51..c5236e7b709e2 100644 --- a/htdocs/langs/fr_FR/errors.lang +++ b/htdocs/langs/fr_FR/errors.lang @@ -4,7 +4,7 @@ NoErrorCommitIsDone=Pas d'erreur, on valide # Errors ErrorButCommitIsDone=Erreurs trouvées mais on valide malgré tout -ErrorBadEMail=L'email '%s' est invalide +ErrorBadEMail=L'email %s est invalide ErrorBadMXDomain=L'email %s semble incorrect (domaine n'a pas d'enregistrement MX valide) ErrorBadUrl=L'URL '%s' est invalide ErrorBadValueForParamNotAString=Mauvaise valeur de paramètre. Ceci arrive lors d'une tentative de traduction d'une clé non renseignée. @@ -32,6 +32,7 @@ ErrorBadThirdPartyName=Nom de tiers incorrect ForbiddenBySetupRules=Interdit par les règles de configuration ErrorProdIdIsMandatory=Le %s est obligatoire ErrorAccountancyCodeCustomerIsMandatory=Le code comptable du client %s est obligatoire +ErrorAccountancyCodeSupplierIsMandatory=Le code comptable du fournisseur %s est obligatoire ErrorBadCustomerCodeSyntax=La syntaxe du code client est incorrecte ErrorBadBarCodeSyntax=Mauvaise syntaxe pour le code barre. Peut être que vous avez défini un mauvais type de code-barres ou que vous avez défini un masque de code à barres pour la numérotation qui ne correspond pas à la valeur scannée. ErrorCustomerCodeRequired=Code client obligatoire @@ -64,6 +65,7 @@ ErrorFileNotFound=Fichier %s introuvable (Mauvais chemin, permissions inc ErrorDirNotFound=Répertoire %s introuvable (Mauvais chemin, permissions incorrectes ou accès interdit par le paramètre PHP openbasedir ou safe_mode) ErrorFunctionNotAvailableInPHP=La fonction %s est requise pour cette fonctionnalité mais n'est pas disponible dans cette version/installation de PHP. ErrorDirAlreadyExists=Un répertoire portant ce nom existe déjà. +ErrorDirNotWritable=Le répertoire %s n'est pas accessible en écriture. ErrorFileAlreadyExists=Un fichier portant ce nom existe déjà. ErrorDestinationAlreadyExists=Un fichier portant le nom %s existe déjà. ErrorPartialFile=Fichier non reçu intégralement par le serveur. @@ -103,6 +105,7 @@ ErrorFileIsInfectedWithAVirus=L'antivirus n'a pas pu valider ce fichier (il est ErrorNumRefModel=Une référence existe en base (%s) et est incompatible avec cette numérotation. Supprimez la ligne ou renommez la référence pour activer ce module. ErrorQtyTooLowForThisSupplier=Quantité insuffisante pour ce fournisseur ou aucun tarif défini sur ce produit pour ce fournisseur ErrorOrdersNotCreatedQtyTooLow=Certaines commandes n'ont pas été créées en raison de quantités trop faibles +ErrorOrderStatusCantBeSetToDelivered=Le statut de la commande ne peut pas être défini sur livré. ErrorModuleSetupNotComplete=La configuration du module %s semble incomplète. Aller sur la page Accueil - Configuration - Modules pour corriger. ErrorBadMask=Erreur sur le masque ErrorBadMaskFailedToLocatePosOfSequence=Erreur, masque sans numéro de séquence @@ -301,6 +304,7 @@ ErrorThisPaymentModeIsNotSepa=Ce mode de paiement n'est pas un compte bancaire ErrorStripeCustomerNotFoundCreateFirst=Le client Stripe n'est pas défini pour ce tiers (ou défini sur une valeur supprimée du côté Stripe). Créez (ou rattachez) d'abord. ErrorCharPlusNotSupportedByImapForSearch=La recherche IMAP n'est pas en mesure de rechercher dans l'expéditeur ou le destinataire une chaîne contenant le caractère + ErrorTableNotFound=Table %s introuvable +ErrorRefNotFound=Réf %s introuvable ErrorValueForTooLow=La valeur pour %s est trop faible ErrorValueCantBeNull=La valeur pour %s ne peut pas être nulle ErrorDateOfMovementLowerThanDateOfFileTransmission=La date de l'opération bancaire ne peut être inférieure à la date de transmission du fichier @@ -318,11 +322,13 @@ ErrorTheUrlOfYourDolInstanceDoesNotMatchURLIntoOAuthSetup=Erreur : L'URL de vot ErrorMenuExistValue=Un menu existe déjà avec ce titre ou cette URL ErrorSVGFilesNotAllowedAsLinksWithout=Les fichiers SVG ne sont pas autorisés en tant que liens externes sans l'option %s ErrorTypeMenu=Impossible d'ajouter un autre menu pour le même module sur la barre de navigation, pas encore géré -ErrorObjectNotFound=L'objet %s est introuvable verifier votre url -ErrorTableExist=La table %s existe déja -ErrorDictionaryNotFound=Le dictionnaire %s introuvable -ErrorFailedToCreateSymLinkToMedias=Failed to create the symlinks %s to point to %s +ErrorObjectNotFound = L'objet %s n'est pas trouvé, veuillez vérifier votre url +ErrorCountryCodeMustBe2Char=Le code pays doit être une chaîne de 2 caractères +ErrorTableExist=Le tableau %s existe déjà +ErrorDictionaryNotFound=Dictionnaire %s introuvable +ErrorFailedToCreateSymLinkToMedias=Échec de la création du lien symbolique %s pour pointer vers %s +ErrorCheckTheCommandInsideTheAdvancedOptions=Vérifier la commande utilisée pour l'exportation dans les options avancées de l'export # Warnings WarningParamUploadMaxFileSizeHigherThanPostMaxSize=Votre paramètre PHP upload_max_filesize (%s) est supérieur au paramètre PHP post_max_size (%s). Ceci n'est pas une configuration cohérente. @@ -361,11 +367,11 @@ WarningPaypalPaymentNotCompatibleWithStrict=La valeur 'Strict' fait que les fonc WarningThemeForcedTo=Attention, le choix du thème a été forcé à %s par la constante cachée MAIN_FORCETHEME WarningPagesWillBeDeleted=Attention, cela supprimera également toutes les pages/conteneurs existants du site. Vous devriez exporter votre site Web avant, afin d'avoir une sauvegarde pour le réimporter plus tard. WarningAutoValNotPossibleWhenStockIsDecreasedOnInvoiceVal=La validation automatique est désactivée lorsque l'option de diminution du stock est définie sur "Validation de la facture". -WarningModuleNeedRefrech = Le module %s a été désactivé. N'oubliez pas de le réactiver +WarningModuleNeedRefresh = Le module %s a été désactivé. N'oubliez pas de le réactiver WarningPermissionAlreadyExist=Autorisations existantes pour cet objet WarningGoOnAccountancySetupToAddAccounts=Si cette liste est vide, allez dans le menu %s - %s - %s pour charger ou créer des comptes pour votre plan comptable. WarningCorrectedInvoiceNotFound=Facture corrigée introuvable -WarningCommentNotFound=Verifier l'emplacement des commentaires debut et fin pour la section %s dans le fichier %s avant de soumettre votre action +WarningCommentNotFound=Veuillez vérifier l'emplacement des commentaires de début et de fin pour la section %s fichier %s avant de soumettre votre action SwissQrOnlyVIR = La facture SwissQR ne peut être ajoutée que sur les factures définies pour être payées avec des paiements par virement. SwissQrCreditorAddressInvalid = L'adresse du créancier n'est pas valide (le code postal et la ville sont-ils définis ? (%s) diff --git a/htdocs/langs/fr_FR/eventorganization.lang b/htdocs/langs/fr_FR/eventorganization.lang index fe7dff74e9a9f..cfdccb3ad5463 100644 --- a/htdocs/langs/fr_FR/eventorganization.lang +++ b/htdocs/langs/fr_FR/eventorganization.lang @@ -98,6 +98,7 @@ EVENTORGANIZATION_SECUREKEY = Graine pour sécuriser la clé de la page d'inscri SERVICE_BOOTH_LOCATION = Service utilisé pour la ligne de facture concernant l'emplacement d'un stand SERVICE_CONFERENCE_ATTENDEE_SUBSCRIPTION = Service utilisé pour la ligne de facture relative à l'abonnement d'un participant à un événement NbVotes=Nombre de votes + # # Status # @@ -107,8 +108,9 @@ EvntOrgConfirmed = Confirmé EvntOrgNotQualified = Non qualifié EvntOrgDone = Effectuées EvntOrgCancelled = Annulé + # -# Public page +# Other # SuggestForm = Page de suggestions SuggestOrVoteForConfOrBooth = Page de suggestion ou de vote @@ -144,13 +146,8 @@ OrganizationEventBulkMailToAttendees=Ceci est une rappel de votre participation OrganizationEventBulkMailToSpeakers=Ceci est un rappel de votre participation à l'événement en tant que conférencier OrganizationEventLinkToThirdParty=Lier à un tiers (client, fournisseur ou partenaire) OrganizationEvenLabelName=Nom public de la conférence ou du stand - NewSuggestionOfBooth=Proposition de stand NewSuggestionOfConference=Postuler pour réaliser une conférence - -# -# Vote page -# EvntOrgRegistrationWelcomeMessage = Bienvenue sur la page de suggestion de conférence ou de stand. EvntOrgRegistrationConfWelcomeMessage = Bienvenue sur la page de suggestions de conférences. EvntOrgRegistrationBoothWelcomeMessage = Bienvenue sur la page de suggestion de stand. @@ -158,8 +155,8 @@ EvntOrgVoteHelpMessage = Ici, vous pouvez voir et voter pour les événements su VoteOk = Votre vote a été accepté. AlreadyVoted = Vous avez déjà voté pour cet événement. VoteError = Une erreur s'est produite lors du vote, veuillez réessayer. - SubscriptionOk=Votre inscription a été enregistrée +AmountOfRegistrationPaid=Montant de l'inscription payée ConfAttendeeSubscriptionConfirmation = Confirmation de votre inscription à un événement Attendee = Participant PaymentConferenceAttendee = Paiement de participation à la conférence diff --git a/htdocs/langs/fr_FR/hrm.lang b/htdocs/langs/fr_FR/hrm.lang index bbbec3b0ff30c..accfef665e179 100644 --- a/htdocs/langs/fr_FR/hrm.lang +++ b/htdocs/langs/fr_FR/hrm.lang @@ -26,8 +26,9 @@ HRM_DEFAULT_SKILL_DESCRIPTION=Description par défaut des rangs lors de la créa deplacement=Ctrl DateEval=Date d'évaluation JobCard=Fiche emploi -JobPosition=Profil de poste -JobsPosition=Profils de poste +NewJobProfile=Nouveau profil de poste +JobProfile=Profil de poste +JobsProfiles=Profils de poste NewSkill=Nouvelle compétence SkillType=Type de compétence Skilldets=Liste des niveaux pour cette compétence @@ -36,7 +37,7 @@ rank=Niveau ErrNoSkillSelected=Pas de compétence sélectionnée ErrSkillAlreadyAdded=Cette compétence est déjà dans la liste SkillHasNoLines=Cette compétence n'a pas de lignes affectées -skill=Compétence +Skill=Compétence Skills=Compétences SkillCard=Fiche compétence EmployeeSkillsUpdated=Compétences de l'employé mises à jour (voir onglet "Compétences" de la fiche employé) @@ -46,33 +47,34 @@ NewEval=Nouvelle évaluation ValidateEvaluation=Valider l'évaluation ConfirmValidateEvaluation=Êtes-vous sûr de vouloir valider cette évaluation sous la référence %s ? EvaluationCard=Fiche évaluation -RequiredRank=Niveau requis pour cet emploi +RequiredRank=Rang requis pour le profil de poste +PositionsWithThisProfile=Postes avec ces profils de poste EmployeeRank=Niveau de l'employée pour cette compétence EmployeePosition=Poste d'employé EmployeePositions=Postes d'employés EmployeesInThisPosition=Employés occupant ce poste group1ToCompare=Groupe d'utilisateurs à analyser group2ToCompare=Deuxième groupe d'utilisateurs pour comparaison -OrJobToCompare=Comparer aux exigences en matière de compétences professionnelles +OrJobToCompare=Comparer aux exigences de compétences d'un profil d'emploi difference=Différence CompetenceAcquiredByOneOrMore=Compétence acquise par un ou plusieurs utilisateurs mais non demandée par le deuxième comparateur -MaxlevelGreaterThan=Niveau max supérieur à celui demandé -MaxLevelEqualTo=Niveau maximum égal à cette demande -MaxLevelLowerThan=Niveau maximum inférieur à cette demande -MaxlevelGreaterThanShort=Niveau d'employé supérieur à celui demandé -MaxLevelEqualToShort=Le niveau d'employé est égal à cette demande -MaxLevelLowerThanShort=Niveau d'employé inférieur à cette demande +MaxlevelGreaterThan=Le niveau de l'employé est supérieur au niveau attendu +MaxLevelEqualTo=Le niveau de l'employé est égal au niveau attendu +MaxLevelLowerThan=Le niveau de l'employé est inférieur au niveau attendu +MaxlevelGreaterThanShort=Niveau supérieur aux attentes +MaxLevelEqualToShort=Niveau égal au niveau attendu +MaxLevelLowerThanShort=Niveau inférieur aux attentes SkillNotAcquired=Compétences non acquises par tous les employés et requis par le second comparateur legend=Légende TypeSkill=Type de compétence -AddSkill=Ajouter des compétences à cet emploi -RequiredSkills=Compétences requises pour cet emploi +AddSkill=Ajouter des compétences au profil d'emploi +RequiredSkills=Compétences requises pour ce profil d'emploi UserRank=Niveau employé SkillList=Liste compétence SaveRank=Sauvegarder niveau TypeKnowHow=Savoir-faire TypeHowToBe=Savoir-être -TypeKnowledge=Savoir +TypeKnowledge=Connaissances AbandonmentComment=Commentaire sur l'abandon DateLastEval=Date dernière évaluation NoEval=Aucune évaluation effectuée pour cet employé @@ -85,8 +87,9 @@ VacantCheckboxHelper=cocher cette option affichera tous les postes à pourvoir\n SaveAddSkill = Compétence(s) ajoutée(s) SaveLevelSkill = Niveau(x) de compétence(s) enregistré(s) DeleteSkill = Compétence supprimée -SkillsExtraFields=Attributs supplémentaires (Compétences) -JobsExtraFields=Attributs supplémentaires (Emplois) -EvaluationsExtraFields=Attributs supplémentaires (Evaluations) +SkillsExtraFields=Attributs complémentaires (Compétences) +JobsExtraFields=Attributs complémentaires (Profil de poste) +EvaluationsExtraFields=Attributs complémentaires (Évaluations) NeedBusinessTravels=Besoin de déplacements professionnels NoDescription=Pas de description +TheJobProfileHasNoSkillsDefinedFixBefore=Le profil de poste évalué de cet employé ne comporte aucune compétence définie. Veuillez ajouter des compétences, puis supprimer et relancer l'évaluation. diff --git a/htdocs/langs/fr_FR/interventions.lang b/htdocs/langs/fr_FR/interventions.lang index d8f580ff25b3b..45952a07018a0 100644 --- a/htdocs/langs/fr_FR/interventions.lang +++ b/htdocs/langs/fr_FR/interventions.lang @@ -14,10 +14,12 @@ InterventionContact=Contact intervention DeleteIntervention=Supprimer intervention ValidateIntervention=Valider intervention ModifyIntervention=Modifier intervention +CloseIntervention=Clôturer intervention DeleteInterventionLine=Supprimer ligne d'intervention ConfirmDeleteIntervention=Êtes-vous sûr de vouloir effacer cette intervention ? ConfirmValidateIntervention=Êtes-vous sûr de vouloir valider cette intervention sous la référence %s ? ConfirmModifyIntervention=Êtes-vous sûr de vouloir modifier cette intervention ? +ConfirmCloseIntervention=Êtes-vous sûr de vouloir clôturer cette intervention ? ConfirmDeleteInterventionLine=Êtes-vous sûr de vouloir effacer cette ligne ? ConfirmCloneIntervention=Êtes-vous sûr de vouloir cloner cette intervention ? NameAndSignatureOfInternalContact=Nom et signature de l'intervenant : @@ -36,6 +38,7 @@ InterventionModifiedInDolibarr=Intervention %s modifiée InterventionClassifiedBilledInDolibarr=Intervention %s positionné à facturé InterventionClassifiedUnbilledInDolibarr=Intervention %s positionné à non facturé InterventionSentByEMail=Intervention %s envoyé par email +InterventionClosedInDolibarr= Intervention %s clôturée InterventionDeletedInDolibarr=Intervention %s effacée InterventionsArea=Espace interventions DraftFichinter=Interventions brouillon @@ -50,7 +53,7 @@ UseDateWithoutHourOnFichinter=Masque les heures et les minutes du champ de la da InterventionStatistics=Statistiques des interventions NbOfinterventions=Nb de fiches d'intervention NumberOfInterventionsByMonth=Nb de fiches d'intervention par mois (date de validation) -AmountOfInteventionNotIncludedByDefault=Amount of intervention is not included by default into profit (in most cases, timesheets are used to count time spent). You can use PROJECT_ELEMENTS_FOR_ADD_MARGIN and PROJECT_ELEMENTS_FOR_MINUS_MARGIN option into home-setup-other to complete list of element included into profit. +AmountOfInteventionNotIncludedByDefault=Le montant de l'intervention n'est pas inclus par défaut dans le bénéfice (dans la plupart des cas, les feuilles de temps sont utilisées pour compter le temps passé). Vous pouvez utiliser les options PROJECT_ELEMENTS_FOR_ADD_MARGIN et PROJECT_ELEMENTS_FOR_MINUS_MARGIN dans Acceuil-Configuration-Divers pour compléter la liste des éléments inclus dans le profit. InterId=Id intervention InterRef=Intervention ref. InterDateCreation=Date création intervention diff --git a/htdocs/langs/fr_FR/languages.lang b/htdocs/langs/fr_FR/languages.lang index 0410b966b2c8d..18fa1e825f6c5 100644 --- a/htdocs/langs/fr_FR/languages.lang +++ b/htdocs/langs/fr_FR/languages.lang @@ -1,12 +1,13 @@ # Dolibarr language file - Source file is en_US - languages Language_am_ET=Ethiopien Language_af_ZA=Afrikaans (Afrique du Sud) +Language_en_AE=Arabe (Émirats Arabes Unis) Language_ar_AR=Arabe Language_ar_DZ=Arabe (Algérie) Language_ar_EG=Arabe (Egypte) Language_ar_JO=Arabe (Jordanie) Language_ar_MA=Arabe (Maroc) -Language_ar_SA=Arabe +Language_ar_SA=Arabe (Arabie Saoudite) Language_ar_TN=Arabe (Tunisie) Language_ar_IQ=Arabe (Irak) Language_as_IN=Assamais @@ -27,7 +28,7 @@ Language_de_CH=Allemand (Suisse) Language_de_LU=Allemand (Luxembourg) Language_el_GR=Grec Language_el_CY=Grec (Chypre) -Language_en_AE=Anglais (EAU) +Language_en_AE=Arabe (Émirats Arabes Unis) Language_en_AU=Anglais (Australie) Language_en_CA=Anglais (Canada) Language_en_GB=Anglais (Royaume-Uni) diff --git a/htdocs/langs/fr_FR/main.lang b/htdocs/langs/fr_FR/main.lang index 03cbe16e332f1..8a4c6ab258482 100644 --- a/htdocs/langs/fr_FR/main.lang +++ b/htdocs/langs/fr_FR/main.lang @@ -60,7 +60,7 @@ ErrorFailedToSendMail=Échec de l'envoi de l'email (émetteur=%s, destinataire=% ErrorFileNotUploaded=Le fichier n'a pas été transféré. Vérifiez que sa taille ne dépasse pas le maxium autorisé, que l'espace disque est disponible et qu'un fichier du même nom n'existe pas déjà. ErrorInternalErrorDetected=Erreur détectée ErrorWrongHostParameter=Mauvais paramètre Serveur -ErrorYourCountryIsNotDefined=Votre pays n'est pas défini. Corriger en allant dans Accueil-Configuration-Société/Institution-Editer. +ErrorYourCountryIsNotDefined=Votre pays n'est pas défini. Accédez à Accueil-Setup-société/Foundation et et publiez à nouveau le formulaire. . ErrorRecordIsUsedByChild=Impossible de supprimer cet enregistrement. Ce dernier est utilisé en tant que père par au moins un enregistrement fils. ErrorWrongValue=Valeur incorrecte ErrorWrongValueForParameterX=Valeur incorrecte pour le paramètre %s @@ -74,6 +74,7 @@ ErrorNoVATRateDefinedForSellerCountry=Erreur, aucun taux tva défini pour le pay ErrorNoSocialContributionForSellerCountry=Erreur, pas de types de charges sociales/fiscales définies pour le pays '%s'. ErrorFailedToSaveFile=Erreur, l'enregistrement du fichier a échoué. ErrorCannotAddThisParentWarehouse=Vous essayez d'ajouter un entrepôt parent qui est déjà un enfant de l'entrepôt courant +ErrorInvalidSubtype=Le sous-type sélectionné n'est pas autorisé FieldCannotBeNegative=Le champ "%s" ne peut pas être négatif MaxNbOfRecordPerPage=Nombre max d'enregistrement par page NotAuthorized=Vous n'êtes pas autorisé pour cette action. @@ -103,7 +104,8 @@ RecordGenerated=Enregistrement généré LevelOfFeature=Niveau de fonctionnalités NotDefined=Non défini DolibarrInHttpAuthenticationSoPasswordUseless=Dolibarr est configuré en mode authentification %s dans son fichier de configuration conf.php.
Cela signifie que la base des mots de passe est externe à Dolibarr, aussi toute modification de ce champ peut s'avérer sans effet. -Administrator=Administrateur +Administrator=Administrateur du système +AdministratorDesc=Administrateur système (peut administrer utilisateur, les autorisations mais aussi la configuration du système et configuration des modules) Undefined=Non défini PasswordForgotten=Mot de passe oublié ? NoAccount=Pas de compte ? @@ -203,7 +205,7 @@ QuickAdd=Création rapide Valid=Valider Approve=Approuver Disapprove=Désapprouver -ReOpen=Réouvrir +ReOpen=Rouvrir OpenVerb=Ouvert Upload=Envoyer fichier ToLink=Lier @@ -211,8 +213,8 @@ Select=Sélectionner SelectAll=Sélectionner tout Choose=Choisir Resize=Redimensionner +Crop=Recadrer ResizeOrCrop=Redimensionner ou Recadrer -Recenter=Recadrer Author=Auteur User=Utilisateur Users=Utilisateurs @@ -547,6 +549,7 @@ Reportings=Rapports Draft=Brouillon Drafts=Brouillons StatusInterInvoiced=Facturé +Done=Effectuées Validated=Validé ValidatedToProduce=Validé (à produire) Opened=Ouvert @@ -722,6 +725,7 @@ RecordModifiedSuccessfully=Enregistrement modifié avec succès RecordsModified=%s enregistrements modifiés RecordsDeleted=%s enregistrement(s) supprimé(s) RecordsGenerated=%s enregistrement(s) généré(s) +ValidatedRecordWhereFound = Certains des enregistrements sélectionnés ont déjà été validés. Aucun enregistrement n'a été supprimé. AutomaticCode=Création automatique du code FeatureDisabled=Fonction désactivée MoveBox=Déplacer le widget @@ -916,6 +920,7 @@ BackOffice=Back office Submit=Soumettre View=Vue Export=Exporter +Import=Espace import Exports=Exports ExportFilteredList=Exporter liste filtrée ExportList=Exporter liste @@ -1123,7 +1128,7 @@ ContactDefault_project_task=Tâche ContactDefault_propal=Proposition ContactDefault_supplier_proposal=Proposition commerciale fournisseur ContactDefault_ticket=Ticket -ContactAddedAutomatically=Contact ajouté à partir des rôles du contact du tiers +ContactAddedAutomatically=Contact ajouté à partir des rôles de contact tiers More=Plus ShowDetails=Afficher les détails CustomReports=Rapports personnalisés @@ -1222,7 +1227,7 @@ UserAgent=User Agent InternalUser=Utilisateur interne ExternalUser=Utilisateur externe NoSpecificContactAddress=Pas de contact ou d'adresse spécifique -NoSpecificContactAddressBis=Cet onglet est dédié à forcer des contacts ou adresses spécifiques pour l'objet courant. Ne l'utilisez que si vous souhaitez définir un ou plusieurs contacts ou adresses spécifiques pour l'objet lorsque les informations sur le tiers sont insuffisantes ou inexactes. +NoSpecificContactAddressBis=Cet onglet est dédié à forcer des contacts ou des adresses spécifiques pour l'objet actuel. Utilisez-le uniquement si vous souhaitez définir un ou plusieurs contacts ou adresses spécifiques pour l'objet lorsque les informations sur le tiers ne sont pas suffisantes ou inexactes. HideOnVCard=Cacher %s AddToContacts=Ajouter l'adresse à mes contacts LastAccess=Dernier accès @@ -1237,5 +1242,17 @@ SearchSyntaxTooltipForStringOrNum=Pour effectuer une recherche à l'intérieur d InProgress=En cours DateOfPrinting=Date d'impression ClickFullScreenEscapeToLeave=Cliquez ici pour passer en mode plein écran. Appuyez sur ÉCHAP pour quitter le mode plein écran. -UserNotYetValid=Not yet valid +UserNotYetValid=Pas encore valide UserExpired=Expiré +LinkANewFile=Lier un nouveau fichier/document +LinkedFiles=Fichiers et documents liés +NoLinkFound=Aucun lien associé +LinkComplete=Le fichier a été correctement lié +ErrorFileNotLinked=Le fichier n'a pas pu être lié +LinkRemoved=Le lien %s a été supprimé +ErrorFailedToDeleteLink= Impossible de supprimer le lien '%s' +ErrorFailedToUpdateLink= Impossible de modifier le lien '%s' +URLToLink=URL à lier +OverwriteIfExists=Remplacer si fichier existe +AmountSalary=salaire montant +InvoiceSubtype=Sous-type facture diff --git a/htdocs/langs/fr_FR/members.lang b/htdocs/langs/fr_FR/members.lang index cb6f31682771e..a8dc78ee4b1fb 100644 --- a/htdocs/langs/fr_FR/members.lang +++ b/htdocs/langs/fr_FR/members.lang @@ -236,7 +236,7 @@ XMembersClosed=%s adhérent(s) résilié(s) XExternalUserCreated=%s utilisateur(s) externe(s) créé(s) ForceMemberNature=Forcer la nature de l'adhérent (personne physique ou morale) CreateDolibarrLoginDesc=La création d'un login utilisateur pour les membres leur permet de se connecter à l'application. En fonction des autorisations accordées, ils pourront par exemple consulter ou modifier eux-mêmes leur dossier. -CreateDolibarrThirdPartyDesc=Un tiers est l'entité juridique qui sera utilisée sur la facture si vous décidez de générer une facture pour chaque cotisation. Vous pourrez le créer plus tard au cours du processus d'enregistrement de la cotisation. +CreateDolibarrThirdPartyDesc=Un tiers est l'entité juridique qui sera utilisée sur le facture si vous décidez de générer facture pour chaque contribution. Vous pourrez le créer ultérieurement lors du processus d’enregistrement de la contribution. MemberFirstname=Prénom du membre MemberLastname=Nom de famille du membre MemberCodeDesc=Code membre, unique pour tous les membres diff --git a/htdocs/langs/fr_FR/modulebuilder.lang b/htdocs/langs/fr_FR/modulebuilder.lang index 319716c258de2..9341f149b90b5 100644 --- a/htdocs/langs/fr_FR/modulebuilder.lang +++ b/htdocs/langs/fr_FR/modulebuilder.lang @@ -28,7 +28,7 @@ ModuleBuilderDescwidgets=Cet onglet est dédié à la gestion/construction de wi ModuleBuilderDescbuildpackage=Vous pouvez générer ici un fichier de package "prêt à distribuer" (un fichier .zip normalisé) de votre module et un fichier de documentation "prêt à distribuer". Cliquez simplement sur le bouton pour créer le paquet ou le fichier de documentation. EnterNameOfModuleToDeleteDesc=Vous pouvez supprimer votre module. ATTENTION: Tous les fichiers relatifs a ce module (générés ou créés manuellement) ET toutes les données et documentation seront supprimés! EnterNameOfObjectToDeleteDesc=Vous pouvez effacer un objet. ATTENTION : Tous les fichiers (générés ou créés manuellement) en rapport avec cet objet seront définitivement effacés ! -EnterNameOfDictionnaryToDeleteDesc=Vous pouvez supprimer votre dictionnaire. ATTENTION : Tous les fichiers (générés ou créés manuellement) en rapport avec ce dictionnaire seront définitivement effacés ! +EnterNameOfObjectToDeleteDesc=Vous pouvez effacer un objet. ATTENTION : Tous les fichiers (générés ou créés manuellement) en rapport avec cet objet seront définitivement effacés ! DangerZone=Zone de danger BuildPackage=Construire le package BuildPackageDesc=Vous pouvez générer un package zip de votre application afin d'être prêt à le distribuer sur n’importe quel Dolibarr. Vous pouvez également le distribuer ou le vendre sur une place de marché, comme DoliStore.com . @@ -92,7 +92,7 @@ ListOfMenusEntries=Liste des entrées du menu ListOfDictionariesEntries=Liste des entrées de dictionnaires ListOfPermissionsDefined=Liste des permissions SeeExamples=Voir des exemples ici -EnabledDesc=Condition pour que ce champs soit actif.

Exemples:
1
isModEnabled('MAIN_MODULE_MYMODULE')
getDolGlobalString('MYMODULE_OPTION')==2 +EnabledDesc=Condition pour que ce champ soit actif.

Exemples:
1
isModEnabled('anothermodule')
getDolGlobalString('MYMODULE_OPTION')= =2 VisibleDesc=Le champ est-il visible ? (Exemples : 0=Jamais visible, 1=Visible sur la liste et les formulaires de création/mise à jour/affichage, 2=Visible sur la liste uniquement, 3=Visible sur le formulaire de création/mise à jour/affichage uniquement (pas la liste), 4=Visible sur la liste et formulaire de mise à jour/affichage uniquement (pas de création), 5=Visible sur le formulaire d'affichage de fin de liste uniquement (pas de création, pas de mise à jour). ItCanBeAnExpression=Cela peut être une expression. Exemple :
preg_match('/public/', $_SERVER['PHP_SELF'])?0:1
$user->hasRight('holiday', 'define_holiday')?1:5 DisplayOnPdfDesc=Affichez ce champ sur les documents PDF compatibles, vous pouvez gérer la position avec le champ "Position".
Pour le document :
0 = non affiché
1 = affiché
2 = affiché uniquement si non vide

Pour les lignes de document :
0 = non affiché
1 = affiché dans une colonne
3 = affiché dans la colonne description après la description
4 = affiché dans la colonne description après la description uniquement si non vide @@ -107,7 +107,7 @@ PermissionsDefDesc=Définissez ici les nouvelles permissions fournies par votre MenusDefDescTooltip=Les menus fournis par votre module/application sont définis dans le tableau $this->menus dans le fichier descripteur de module. Vous pouvez modifier manuellement ce fichier ou utiliser l'éditeur intégré.

Remarque : Une fois définis (et le module réactivé), les menus sont également visibles dans l'éditeur de menus accessible aux utilisateurs administrateurs sur %s. DictionariesDefDescTooltip=Les dictionnaires fournis par votre module/application sont définis dans le tableau $this->dictionaries dans le fichier descripteur de module. Vous pouvez modifier manuellement ce fichier ou utiliser l'éditeur intégré.

Remarque: une fois définis (et module réactivé), les dictionnaires sont également visibles dans la zone de configuration par les utilisateurs administrateurs sur %s. PermissionsDefDescTooltip=Les autorisations fournies par votre module / application sont définies dans le tableau $this->rights dans le fichier descripteur de module. Vous pouvez modifier manuellement ce fichier ou utiliser l'éditeur intégré.

Remarque: une fois définies (et le module réactivé), les autorisations sont visibles dans la configuration par défaut des autorisations %s. -HooksDefDesc=Définissez dans la propriété module_parts ['hooks'] , dans le descripteur de module, le contexte des hooks à gérer (la liste des contextes peut être trouvée par une recherche sur ' initHooks (' dans le code du noyau).
Editez le fichier hook pour ajouter le code de vos fonctions hookées (les fonctions hookables peuvent être trouvées par une recherche sur ' executeHooks ' dans le code core). +HooksDefDesc=Définir dans la propriété module_parts['hooks'], dans le descripteur de module fichier , la liste des contextes dans lesquels votre hook doit être exécuté (la liste des contextes possibles peut être trouvée par une recherche sur 'initHooks(' dans le code principal).
Modifiez ensuite le fichier avec le code hooks avec le code de votre fonctions hookées (la liste des fonctions hookables peut être trouvée en effectuant une recherche sur 'executeHooks' dans le code principal). TriggerDefDesc=Définissez dans le fichier trigger le code que vous souhaitez exécuter lors de l'exécution d'un événement métier externe à votre module (événements déclenchés par d'autres modules). SeeIDsInUse=Voir les IDs utilisés dans votre installation SeeReservedIDsRangeHere=Voir la plage des ID réservés @@ -149,7 +149,7 @@ CSSListClass=CSS pour la liste NotEditable=Non éditable ForeignKey=Clé étrangère ForeignKeyDesc=Si la valeur de ce champ doit être garantie existe dans une autre table. Saisissez ici une valeur correspondant à la syntaxe : nomtable.champparentàvérifier -TypeOfFieldsHelp=Exemple :
varchar(99), double(24,8), real, text, html, datetime, timestamp, integer, integer:ClassName:relativepath/to/classfile.class.php[:1[:filter]]
' 1' signifie que nous ajoutons un bouton + après le combo pour créer l'enregistrement
'filter' est une condition sql, exemple : 'status=1 AND fk_user=__USER_ID__ AND entity IN (__SHARED_ENTITIES__)' +TypeOfFieldsHelp=Exemple:
varchar(99)
email
téléphone
ip
url
mot de passe
double(24,8)
réel
text
html
date
dateheure
timestamp
entier
entier:ClassName:relativepath/to/classfile.class.php[:1[:filter]]

'1' signifie que nous ajoutons un bouton + après la combinaison pour créer l'enregistrement
'filter' est une condition de syntaxe de filtre universel, exemple : '((état:=:1) et (fk_user:=:__USER_ID__) et (entité:IN :(__SHARED_ENTITIES__))' TypeOfFieldsHelpIntro=Il s'agit du type de champ/attribut. AsciiToHtmlConverter=Convertisseur Ascii en HTML AsciiToPdfConverter=Convertisseur Ascii en PDF @@ -163,11 +163,11 @@ ListOfTabsEntries=Liste des entrées d'onglet TabsDefDesc=Définissez ici les onglets proposés par votre module TabsDefDescTooltip=Les onglets fournis par votre module/application sont définis dans le tableau $this->tabs dans le fichier descripteur de module. Vous pouvez modifier manuellement ce fichier ou utiliser l'éditeur intégré. BadValueForType=Mauvaise valeur pour le type %s -DefinePropertiesFromExistingTable=Define the fields/properties from an existing table +DefinePropertiesFromExistingTable=Définir les champs/propriétés à partir d'une table existante DefinePropertiesFromExistingTableDesc=Si une table dans la base de données (pour l'objet à créer) existe déjà, vous pouvez l'utiliser pour définir les propriétés de l'objet. DefinePropertiesFromExistingTableDesc2=Laisser vide si la table n'existe pas encore. Le générateur de code utilisera différents types de champs pour créer un exemple de table que vous pourrez modifier ultérieurement. -GeneratePermissions=I want to manage permissions on this object -GeneratePermissionsHelp=If you check this, some code will be added to manage permissions to read, write and delete record of the objects +GeneratePermissions=Je souhaite gérer les permissions sur cet objet +GeneratePermissionsHelp=Si vous cochez ceci, du code sera ajouté pour gérer les permissions de lecture, d'écriture et de suppression des enregistrements des objets. PermissionDeletedSuccesfuly=Les permissions ont été retirées avec succès PermissionUpdatedSuccesfuly=Les permissions ont été mises à jour avec succès PermissionAddedSuccesfuly=Les permissions ont été ajoutées avec succès @@ -180,5 +180,6 @@ CRUDCreateWrite=Créer ou mettre à jour FailedToAddCodeIntoDescriptor=Échec de l'ajout de code dans le descripteur. Vérifiez que le commentaire de chaîne "%s" est toujours présent dans le fichier. DictionariesCreated=Dictionnaire %s créé avec succès DictionaryDeleted=Dictionnaire %s supprimé avec succès -PropertyModuleUpdated=Propriété %s modifiée avec succès -InfoForApiFile=* Lorsque vous générez le fichier pour la première fois, toutes les méthodes seront créées pour chaque objets.
* Lorsque vous cliquez sur supprimer, vous supprimez toutes les méthodes pour l'objet sélectionné. +PropertyModuleUpdated=La propriété %s a été mise à jour avec succès +InfoForApiFile=* Lorsque vous générez fichier pour la première fois, toutes les méthodes seront créées pour chaque objet. '>
* Lorsque vous cliquez sur supprimez vous supprimez simplement toutes les méthodes pour l'objet sélectionné. +SetupFile=Page de configuration du module diff --git a/htdocs/langs/fr_FR/mrp.lang b/htdocs/langs/fr_FR/mrp.lang index 04e1da9ea297a..b9e43ce69db41 100644 --- a/htdocs/langs/fr_FR/mrp.lang +++ b/htdocs/langs/fr_FR/mrp.lang @@ -31,9 +31,14 @@ Consumption=Consommation ValueOfMeansLoss=Une valeur de 0,95 signifie une moyenne de 5%% de perte lors de la fabrication ou du désassemblage ValueOfMeansLossForProductProduced=Une valeur de 0,95 signifie une moyenne de 5%% de perte de produit fabriqué DeleteBillOfMaterials=Supprimer la nomenclature +CancelMo=Annuler Ordre de Fabrication +MoCancelConsumedAndProducedLines=annuler également toutes les et lignes produites consommées (supprimer lignes et stocks de restauration) +ConfirmCancelMo=Êtes-vous sûr de à annuler cette fabrication commande ? DeleteMo=Supprimer l'ordre de fabrication ConfirmDeleteBillOfMaterials=Êtes-vous sûr de vouloir supprimer cette nomenclature? ConfirmDeleteMo=Êtes-vous sûr de vouloir supprimer cet ordre de fabrication ? +DeleteMoChild = Supprimer les OF enfants liés à cet OF %s +MoChildsDeleted = Tous les OF enfants ont été supprimés MenuMRP=Ordres de fabrication NewMO=Nouvel Ordre de fabrication QtyToProduce=Quantité à produire diff --git a/htdocs/langs/fr_FR/multicurrency.lang b/htdocs/langs/fr_FR/multicurrency.lang index 9f18394c50cc5..212525480a754 100644 --- a/htdocs/langs/fr_FR/multicurrency.lang +++ b/htdocs/langs/fr_FR/multicurrency.lang @@ -40,3 +40,4 @@ CurrencyCodeId=ID de devise CurrencyCode=Code de devise CurrencyUnitPrice=Prix unitaire en devise étrangère CurrencyPrice=Prix en devise étrangère +MutltiCurrencyAutoUpdateCurrencies=Mettre à jour tous les taux de devises diff --git a/htdocs/langs/fr_FR/opensurvey.lang b/htdocs/langs/fr_FR/opensurvey.lang index d1128e0ba48ff..a2fc5066a7ff1 100644 --- a/htdocs/langs/fr_FR/opensurvey.lang +++ b/htdocs/langs/fr_FR/opensurvey.lang @@ -61,3 +61,4 @@ SurveyExpiredInfo=Le sondage a été fermé ou le délai de vote est expiré EmailSomeoneVoted=%s a rempli une ligne.\nVous pouvez trouver le sondage via le lien:\n%s ShowSurvey=Afficher le sondage UserMustBeSameThanUserUsedToVote=Vous devez avoir voté et utiliser le même nom d'utilisateur que celui utilisé pour voter, pour poster un commentaire +ListOfOpenSurveys=Liste des enquêtes ouvertes diff --git a/htdocs/langs/fr_FR/orders.lang b/htdocs/langs/fr_FR/orders.lang index 96ebce6de4114..d7edcb9d829df 100644 --- a/htdocs/langs/fr_FR/orders.lang +++ b/htdocs/langs/fr_FR/orders.lang @@ -19,7 +19,7 @@ MakeOrder=Passer commande SupplierOrder=Commande fournisseur SuppliersOrders=Commandes fournisseurs SaleOrderLines=Lignes de commande de vente -PurchaseOrderLines=Lignes de bons de commande +PurchaseOrderLines=Acheter des lignes commande SuppliersOrdersRunning=Commandes fournisseurs en cours CustomerOrder=Commande client CustomersOrders=Commandes diff --git a/htdocs/langs/fr_FR/other.lang b/htdocs/langs/fr_FR/other.lang index e44e40d998889..3fd55f91434ae 100644 --- a/htdocs/langs/fr_FR/other.lang +++ b/htdocs/langs/fr_FR/other.lang @@ -45,6 +45,7 @@ Notify_ORDER_CLOSE=Commande client livrée Notify_ORDER_SUPPLIER_SENTBYMAIL=Envoi commande fournisseur par email Notify_ORDER_SUPPLIER_VALIDATE=Commande fournisseur enregistrée Notify_ORDER_SUPPLIER_APPROVE=Commande fournisseur approuvée +Notify_ORDER_SUPPLIER_SUBMIT=Achat commande soumis Notify_ORDER_SUPPLIER_REFUSE=Commande fournisseur refusée Notify_PROPAL_VALIDATE=Validation proposition commerciale client Notify_PROPAL_CLOSE_SIGNED=Proposition client fermée signée @@ -66,6 +67,7 @@ Notify_BILL_SUPPLIER_SENTBYMAIL=Envoi facture fournisseur par email Notify_BILL_SUPPLIER_CANCELED=Facture fournisseur annulée Notify_CONTRACT_VALIDATE=Validation contrat Notify_FICHINTER_VALIDATE=Validation fiche d'intervention +Notify_FICHINTER_CLOSE=Intervention clôturée Notify_FICHINTER_ADD_CONTACT=Contact ajouté à l'intervention Notify_FICHINTER_SENTBYMAIL=Envoi fiche d'intervention par email Notify_SHIPPING_VALIDATE=Validation expédition @@ -190,7 +192,11 @@ EnableGDLibraryDesc=Vous devez activer ou installer la librairie GD avec votre P ProfIdShortDesc=Id prof. %s est une information qui dépend du pays du tiers.
Par exemple, pour le pays %s, il s'agit du code %s. DolibarrDemo=Démonstration de Dolibarr ERP/CRM StatsByAmount=Statistiques sur la quantité de produits/services +StatsByAmountProducts=Statistiques sur la quantité de produits +StatsByAmountServices=Statistiques sur le montant des services StatsByNumberOfUnits=Statistiques de quantités de produits/services +StatsByNumberOfUnitsProducts=Statistiques pour la somme de la quantité de produits +StatsByNumberOfUnitsServices=Statistiques pour la somme de la quantité de services StatsByNumberOfEntities=Statistiques du nombre d'entités référentes (nb de factures, ou de commandes...) NumberOf=Nombre de %s NumberOfUnits=Nombre d'unités sur %s @@ -198,6 +204,7 @@ AmountIn=Montant en %s NumberOfUnitsMos=Quantités à produire dans les ordres de fabrication EMailTextInterventionAddedContact=Une nouvelle intervention %s vous a été assignée EMailTextInterventionValidated=La fiche intervention %s vous concernant a été validée. +EMailTextInterventionClosed=L'intervention %s a été clôturée. EMailTextInvoiceValidated=La facture %s vous concernant a été validée. EMailTextInvoicePayed=La facture %s a été payée. EMailTextProposalValidated=La proposition commerciale %s vous concernant a été validée. @@ -210,6 +217,8 @@ EMailTextOrderClose=La commande %s a été livrée. EMailTextOrderApproved=La commande %s a été approuvée. EMailTextOrderValidatedBy=La commande %s a été enregistrée par %s EMailTextOrderApprovedBy=La commande %s a été approuvée par %s. +EMailTextSupplierOrderSubmit=commande %s a été soumis. +EMailTextSupplierOrderSubmitBy=commande %s a été soumis par %s. EMailTextOrderRefused=La commande %s a été refusée. EMailTextOrderRefusedBy=La commande %s a été refusée par %s. EMailTextExpeditionValidated=L'expédition %s a été validée. @@ -289,10 +298,12 @@ LinesToImport=Lignes à importer MemoryUsage=Utilisation de la mémoire RequestDuration=Durée de la demande -ProductsPerPopularity=Produits / services par popularité -PopuProp=Produits / services par popularité dans les propositions -PopuCom=Produits/services par popularité dans les commandes -ProductStatistics=Statistiques sur les produits / services +ProductsServicesPerPopularity=Produits|Services par popularité +ProductsPerPopularity=Produits par popularité +ServicesPerPopularity=Services par popularité +PopuProp=Produits|Services par popularité dans les propositions +PopuCom=Produits|Services par popularité dans les commandes +ProductStatistics=Produits|Services Statistiques NbOfQtyInOrders=Qté en commandes SelectTheTypeOfObjectToAnalyze=Sélectionner un objet pour en voir les statistiques diff --git a/htdocs/langs/fr_FR/partnership.lang b/htdocs/langs/fr_FR/partnership.lang index 3c0aa74794a87..5bfcd6e7a35d1 100644 --- a/htdocs/langs/fr_FR/partnership.lang +++ b/htdocs/langs/fr_FR/partnership.lang @@ -38,7 +38,7 @@ ListOfPartnerships=Listes des partenariats PartnershipSetup=Page de configuration du module Partenariat PartnershipAbout=À propos de Partenariat PartnershipAboutPage=Page d'informations du module Partenariat -partnershipforthirdpartyormember=Le statut Partenaire doit être défini sur un 'tiers' ou un 'adhérent' +partnershipforthirdpartyormember=Le partenaire état doit être défini sur un « tiers » ou un « adhérent ». PARTNERSHIP_IS_MANAGED_FOR=Partenariat géré pour PARTNERSHIP_BACKLINKS_TO_CHECK=Liens de retour à vérifier PARTNERSHIP_NBDAYS_AFTER_MEMBER_EXPIRATION_BEFORE_CANCEL=Nb de jours avant l'annulation de l'état d'un partenariat lorsque la cotisation a expiré @@ -82,10 +82,10 @@ YourPartnershipRefusedTopic=Partenariat refusé YourPartnershipAcceptedTopic=Partenariat accepté YourPartnershipCanceledTopic=Partenariat annulé -YourPartnershipWillSoonBeCanceledContent=Nous vous informons que votre demande de partenariat va bientôt être annulée (lien de retour non trouvé) -YourPartnershipRefusedContent=Nous vous informons que votre demande de partenariat a été refusée. +YourPartnershipWillSoonBeCanceledContent=Nous souhaitons vous informer que votre partenariat sera bientôt annulé (nous n'avons pas obtenu de renouvellement ou il manque un prérequis à notre partenariat). Contactez-nous par email s'il s'agit d'une erreur. +YourPartnershipRefusedContent=Nous vous informons que votre demande de partenariat a été refusée. Il manque peut-être un prérequis. Contactez-nous si vous avez besoin de plus d'informations. YourPartnershipAcceptedContent=Nous vous informons que votre demande de partenariat a été acceptée. -YourPartnershipCanceledContent=Nous vous informons que votre demande de partenariat a été annulée. +YourPartnershipCanceledContent=Nous vous informons que votre partenariat a été annulé. Il manque peut-être un prérequis. Contactez-nous si vous avez besoin de plus d'informations. CountLastUrlCheckError=Nombre d'erreurs lors de la dernière vérification d'URL LastCheckBacklink=Date de la dernière vérification d'URL @@ -95,3 +95,5 @@ NewPartnershipRequest=Nouvelle demande de partenariat NewPartnershipRequestDesc=Ce formulaire vous permet de demander à faire partie de l'un de nos programmes de partenariat. Si vous avez besoin d'aide pour remplir ce formulaire, veuillez contacter par email %s . ThisUrlMustContainsAtLeastOneLinkToWebsite=Cette page doit contenir au moins un lien vers l'un des domaines suivants: %s +IPOfApplicant=IP du demandeur + diff --git a/htdocs/langs/fr_FR/productbatch.lang b/htdocs/langs/fr_FR/productbatch.lang index 042691e83ede4..d9550bfca4c7e 100644 --- a/htdocs/langs/fr_FR/productbatch.lang +++ b/htdocs/langs/fr_FR/productbatch.lang @@ -45,3 +45,5 @@ OutOfOrder=Hors d'usage InWorkingOrder=En état de marche ToReplace=Remplacer CantMoveNonExistantSerial=Erreur : un numéro de série sur lequel vous avez demandé un mouvement n'existe plus. Peut-être avez-vous utilisé plusieurs fois le même numéro de série depuis le même entrepôt sur la même expédition, ou peut-être était-il utilisé sur une autre expédition. Supprimez cette expédition et préparez-en une autre. +TableLotIncompleteRunRepairWithParamStandardEqualConfirmed=Réparation incomplète de la table des lots avec le paramètre '...repair.php?standard=confirmed' +IlligalQtyForSerialNumbers= Correction de stock requise car Numéro de série unique. diff --git a/htdocs/langs/fr_FR/products.lang b/htdocs/langs/fr_FR/products.lang index 6423e66cc1d4a..6721570207560 100644 --- a/htdocs/langs/fr_FR/products.lang +++ b/htdocs/langs/fr_FR/products.lang @@ -4,7 +4,7 @@ ProductLabel=Libellé produit ProductLabelTranslated=Libellé produit traduit ProductDescription=Description du produit ProductDescriptionTranslated=Description produit traduite -ProductNoteTranslated=Traduire la note de produit +ProductNoteTranslated=Note de produit traduite ProductServiceCard=Fiche produit/service TMenuProducts=Produits TMenuServices=Services @@ -80,8 +80,11 @@ SoldAmount=Solde PurchasedAmount=Montant des achats NewPrice=Nouveau prix MinPrice=Prix de vente min. +MinPriceHT=Prix de vente min. HT +MinPriceTTC=Prix de vente min. TTC EditSellingPriceLabel=Modifier le libellé du prix de vente CantBeLessThanMinPrice=Le prix de vente ne doit pas être inférieur au minimum pour ce produit (%s HT). Ce message peut aussi être provoqué par une remise trop importante. +CantBeLessThanMinPriceInclTax=Le prix de vente ne peut pas être inférieur au minimum autorisé pour ce produit (%s taxes comprises). Ce message peut également apparaître si vous saisissez une remise trop importante. ContractStatusClosed=Clôturé ErrorProductAlreadyExists=Un produit avec la référence %s existe déjà. ErrorProductBadRefOrLabel=La valeur de la référence ou du libellé est incorrecte. @@ -351,6 +354,7 @@ PackagingForThisProductDesc=Vous achèterez automatiquement un multiple de cette QtyRecalculatedWithPackaging=La quantité de la ligne a été recalculée en fonction de l'emballage du fournisseur #Attributes +Attributes=Attributs VariantAttributes=Attributs de variante ProductAttributes=Attributs de variantes pour les produits ProductAttributeName=Attribut de variante %s @@ -387,6 +391,7 @@ ErrorDeletingGeneratedProducts=Une erreur s'est produite lors de la suppression NbOfDifferentValues=Nb de valeurs différentes NbProducts=Nb de produits ParentProduct=Produit parent +ParentProductOfVariant=Produit parent de la variante HideChildProducts=Cacher les variantes de produits ShowChildProducts=Afficher les variantes de produits NoEditVariants=Accédez à la fiche produit parent et modifiez l'impact sur le prix des variantes dans l'onglet variantes. @@ -430,3 +435,5 @@ ConfirmEditExtrafield = Sélectionnez l'extrafield que vous souhaitez modifier ConfirmEditExtrafieldQuestion = Voulez-vous vraiment modifier cet extrafield ? ModifyValueExtrafields = Modifier la valeur d'un extrafield OrProductsWithCategories=Ou des produits avec des tags/catégories +WarningTransferBatchStockMouvToGlobal = Si vous souhaitez désérialiser ce produit, tout son stock sérialisé sera transformé en stock global +WarningConvertFromBatchToSerial=Si vous disposez actuellement d'une quantité supérieure ou égale à 2 pour le produit, passer à ce choix signifie que vous aurez toujours un produit avec différents objets du même lot (alors que vous souhaitez un Numéro de série). Le doublon restera jusqu'à ce qu'un inventaire ou un mouvement de stock manuel pour résoudre ce problème soit effectué. diff --git a/htdocs/langs/fr_FR/receiptprinter.lang b/htdocs/langs/fr_FR/receiptprinter.lang index 6964eb6130883..e58f1e57fb6e8 100644 --- a/htdocs/langs/fr_FR/receiptprinter.lang +++ b/htdocs/langs/fr_FR/receiptprinter.lang @@ -63,7 +63,7 @@ YearInvoice=Année de facturation DOL_VALUE_MONTH_LETTERS=Mois de facturation en lettres DOL_VALUE_MONTH=Mois de facturation DOL_VALUE_DAY=Jour de facturation -DOL_VALUE_DAY_LETTERS=Jour de facturation en lettres +DOL_VALUE_DAY_LETTERS=Jour de la facture en lettres DOL_LINE_FEED_REVERSE=Retour à la ligne InvoiceID=ID de facture InvoiceRef=Réf facture diff --git a/htdocs/langs/fr_FR/receptions.lang b/htdocs/langs/fr_FR/receptions.lang index 1ab350fc3c939..4272918884eab 100644 --- a/htdocs/langs/fr_FR/receptions.lang +++ b/htdocs/langs/fr_FR/receptions.lang @@ -53,5 +53,6 @@ ReceptionBackToDraftInDolibarr=Réception %s retourné en brouillon ReceptionClassifyClosedInDolibarr=Reception %s classée Fermée ReceptionUnClassifyCloseddInDolibarr=Réception %s ré-ouverte RestoreWithCurrentQtySaved=Remplir les quantités avec les dernières valeurs enregistrées +ReceptionsRecorded=Réceptions enregistrées ReceptionUpdated=Réception mise à jour avec succès ReceptionDistribution=Distribution de réception diff --git a/htdocs/langs/fr_FR/recruitment.lang b/htdocs/langs/fr_FR/recruitment.lang index ed017d8b48490..0208d6630469a 100644 --- a/htdocs/langs/fr_FR/recruitment.lang +++ b/htdocs/langs/fr_FR/recruitment.lang @@ -77,3 +77,5 @@ ExtrafieldsApplication=Attributs complémentaires (candidature) MakeOffer=Faire un offre WeAreRecruiting=Nous recrutons. Voici une liste de postes à pourvoir... NoPositionOpen=Aucun poste ouvert pour le moment +ConfirmClose=Confirmer l'annulation +ConfirmCloseAsk=Êtes-vous sûr de à annuler cette candidature de recrutement diff --git a/htdocs/langs/fr_FR/salaries.lang b/htdocs/langs/fr_FR/salaries.lang index c0b8541b1c45b..19c17210789e9 100644 --- a/htdocs/langs/fr_FR/salaries.lang +++ b/htdocs/langs/fr_FR/salaries.lang @@ -25,3 +25,9 @@ SalariesAndPayments=Salaires et paiements ConfirmDeleteSalaryPayment=Voulez-vous supprimer ce paiement de salaire ? FillFieldFirst=Remplissez d'abord le champ de l'employé UpdateAmountWithLastSalary=Définir sur le montant du dernier salaire +MakeTransferRequest=Faire une demande de virement +VirementOrder=Demande de virement +BankTransferAmount=Montant du virement bancaire +WithdrawalReceipt=Ordre de virement +OrderWaiting=Ordre en attente +FillEndOfMonth=Remplir avec fin de mois diff --git a/htdocs/langs/fr_FR/sendings.lang b/htdocs/langs/fr_FR/sendings.lang index 079df0c88a963..025d0d380ce89 100644 --- a/htdocs/langs/fr_FR/sendings.lang +++ b/htdocs/langs/fr_FR/sendings.lang @@ -62,6 +62,7 @@ ProductQtyInSuppliersShipmentAlreadyRecevied=Quantité de produit déjà reçu e NoProductToShipFoundIntoStock=Aucun produit à expédier n'a été trouvé dans l'entrepôt %s. Corrigez le stock ou choisissez un autre entrepôt. WeightVolShort=Poids/vol. ValidateOrderFirstBeforeShipment=Vous devez d'abord valider la commande pour pouvoir créer une expédition. +NoLineGoOnTabToAddSome=Aucune ligne, allez sur l'onglet "%s" pour ajouter # Sending methods # ModelDocument @@ -74,8 +75,12 @@ SumOfProductWeights=Somme des poids des produits # warehouse details DetailWarehouseNumber= Détail de l'entrepôt DetailWarehouseFormat= W:%s (Qté : %d) +SHIPPING_DISPLAY_STOCK_ENTRY_DATE=Afficher la dernière date d'entrée en stock lors de la création de l'expédition pour Numéro de série ou par lot +CreationOptions=Options disponibles lors de la création de l'envoi ShipmentDistribution=Répartition des expéditions -ErrorTooManyCombinationBatchcode=Pas de répartition pour la ligne %s car trop de combinaisons entrepôt, produit, code de lot ont été trouvées (%s). -ErrorNoCombinationBatchcode=Pas de répartition pour la ligne %s car aucune combinaison entrepôt, produit, code de lot n'a été trouvée. +ErrorTooManyCombinationBatchcode=Aucune expédition pour la ligne %s car trop de combinaisons de entrepôt, produit, code de lot ont été trouvées (%s). +ErrorNoCombinationBatchcode=Impossible d'enregistrer la ligne %s comme combinaison de entrepôt-product-lot/serial ( %s, %s, %s) n'a pas été trouvé en stock. + +ErrorTooMuchShipped=La quantité expédiée ne doit pas être supérieure à la quantité commandée pour la ligne %s diff --git a/htdocs/langs/fr_FR/stocks.lang b/htdocs/langs/fr_FR/stocks.lang index da863fc7dd12c..e0119e8003b7d 100644 --- a/htdocs/langs/fr_FR/stocks.lang +++ b/htdocs/langs/fr_FR/stocks.lang @@ -119,6 +119,7 @@ PersonalStock=Stock personnel %s ThisWarehouseIsPersonalStock=Cet entrepôt représente le stock personnel de %s %s SelectWarehouseForStockDecrease=Sélectionner l'entrepôt à utiliser pour la décrémentation du stock SelectWarehouseForStockIncrease=Sélectionner l'entrepôt à utiliser pour l'incrémentation du stock +RevertProductsToStock=Remettre les produits en stock ? NoStockAction=Pas d'action sur l'entrepôt DesiredStock=Stock désiré optimal DesiredStockDesc=Le stock optimal sera la valeur utilisée pour remplir le stock avec la fonction de réapprovisionnement @@ -167,6 +168,7 @@ qtyToTranferLotIsNotEnough=Vous n'avez pas assez de stock, pour ce numéro de lo ShowWarehouse=Afficher entrepôt MovementCorrectStock=Correction du stock pour le produit %s MovementTransferStock=Transfert de stock du produit %s dans un autre entrepôt +BatchStockMouvementAddInGlobal=Le stock par lots est transféré vers le stock global (le produit n'utilise plus de lots) InventoryCodeShort=Code Inv./Mouv. NoPendingReceptionOnSupplierOrder=Pas de réception en attente consécutive à des commandes fournisseurs ThisSerialAlreadyExistWithDifferentDate=Ce lot/numéro de série (%s) existe déjà mais avec des dates de consommation ou péremption différente (trouvé %s mais vous avez entré %s). @@ -253,7 +255,7 @@ ChooseFileToImport=Ajoutez le fichier à importer puis cliquez sur le pictogramm SelectAStockMovementFileToImport=sélectionnez un fichier de mouvement de stock à importer InfoTemplateImport=Le fichier téléchargé doit avoir ce format (* champs obligatoires):
Entrepôt source* | Entrepôt cible* | Produit* | Quantité* | Numéro de lot/série
Le caractère de séparation CSV doit être "%s" LabelOfInventoryMovemement=Inventaire %s -ReOpen=Réouvrir +ReOpen=Rouvrir ConfirmFinish=Confirmez-vous la clôture de l'inventaire ? Cela générera tous les mouvements de stock pour mettre à jour votre stock à la quantité réelle que vous avez entrée dans l'inventaire. ObjectNotFound=%s introuvable MakeMovementsAndClose=Générer les mouvements et fermer @@ -318,9 +320,18 @@ StockTransferRightRead=Lire les transferts de stocks StockTransferRightCreateUpdate=Créer/Mettre à jour les transferts de stocks StockTransferRightDelete=Supprimer les transferts de stocks BatchNotFound=Lot/série introuvable pour ce produit -IncludeSubWarehouse=Inclure les sous-entrepôts ? +StockEntryDate=Date d'
entrée en stock StockMovementWillBeRecorded=Les mouvements de stock seront enregistrés StockMovementNotYetRecorded=Le mouvement des stocks ne sera pas affecté par cette étape + + WarningThisWIllAlsoDeleteStock=Attention, cela détruira également toutes les quantités en stock dans l'entrepôt +ValidateInventory=Validation de l'inventaire +IncludeSubWarehouse=Inclure le sous-entrepôt ? +IncludeSubWarehouseExplanation=Cochez cette case si vous souhaitez inclure tous les sous-entrepôts de l'entrepôt associé à l'inventaire DeleteBatch=Supprimer le lot/série ConfirmDeleteBatch=Voulez-vous vraiment supprimer le lot/série ? +WarehouseUsage=Utilisation de entrepôt +InternalWarehouse=entrepôt interne +ExternalWarehouse=entrepôt externe + diff --git a/htdocs/langs/fr_FR/stripe.lang b/htdocs/langs/fr_FR/stripe.lang index a38360f715cd1..c07adf5a464a8 100644 --- a/htdocs/langs/fr_FR/stripe.lang +++ b/htdocs/langs/fr_FR/stripe.lang @@ -71,9 +71,9 @@ ToOfferALinkForTestWebhook=Lien pour la configuration de Stripe WebHook pour app ToOfferALinkForLiveWebhook=Lien pour la configuration de Stripe WebHook pour appeler l'IPN (mode actif) PaymentWillBeRecordedForNextPeriod=Le paiement sera enregistré pour la prochaine période. ClickHereToTryAgain=Cliquez ici pour essayer à nouveau... -CreationOfPaymentModeMustBeDoneFromStripeInterface=En raison des règles d'Authentification Client Forte, la création d'une carte doit être effectuée à partir du backoffice de Stripe. Vous pouvez cliquer ici pour basculer sur la fiche client Stripe: %s +CreationOfPaymentModeMustBeDoneFromStripeInterface=En raison des règles strictes client s'identifier, la création d'une carte doit être effectuée depuis le back-office Stripe. Vous pouvez cliquer ici pour activer l'enregistrement Stripe client : %s STRIPE_CARD_PRESENT=Carte présente pour les terminaux Stripe TERMINAL_LOCATION=Localisation (adresse) pour les terminaux Stripe RequestDirectDebitWithStripe=Demander un prélèvement automatique avec Stripe STRIPE_SEPA_DIRECT_DEBIT=Activer les paiements par débit direct avec Stripe - +StripeConnect_Mode=Mode Stripe Connect diff --git a/htdocs/langs/fr_FR/ticket.lang b/htdocs/langs/fr_FR/ticket.lang index d90ed87cba8d1..61638ef820ad5 100644 --- a/htdocs/langs/fr_FR/ticket.lang +++ b/htdocs/langs/fr_FR/ticket.lang @@ -94,7 +94,7 @@ TicketSetupDictionaries=Les types de ticket, sévérité et codes analytiques so TicketParamModule=Configuration des variables du module TicketParamMail=Configuration de la messagerie TicketEmailNotificationFrom=E-mail de l'expéditeur pour la notification des réponses -TicketEmailNotificationFromHelp=E-mail de l'expéditeur à utiliser pour envoyer l'e-mail de notification lorsqu'une réponse est fournie dans le backoffice. Par exemple noreply@example.com +TicketEmailNotificationFromHelp=E-mail de l'expéditeur à utiliser pour envoyer l'e-mail de notification lorsqu'une réponse est fournie dans le back-office. Par exemple noreply@example.com TicketEmailNotificationTo=Notifier la création du ticket à cette adresse e-mail TicketEmailNotificationToHelp=Si elle est présente, cette adresse e-mail sera notifiée de la création d'un ticket TicketNewEmailBodyLabel=Texte du message envoyé après la création d'un ticket @@ -105,7 +105,7 @@ TicketsEmailMustExistHelp=Pour accéder à l'interface publique et créer un nou TicketsShowProgression=Afficher la progression du ticket dans l'interface publique TicketsShowProgressionHelp=Activez cette option pour masquer la progression du ticket dans les pages de l'interface publique TicketCreateThirdPartyWithContactIfNotExist=Demandez le nom et le nom de l'entreprise pour les e-mails inconnus. -TicketCreateThirdPartyWithContactIfNotExistHelp=Vérifiez si un tiers ou un contact existe pour l'e-mail saisi. Sinon, demandez un nom et une raison sociale pour créer un tiers avec contact. +TicketCreateThirdPartyWithContactIfNotExistHelp=Vérifiez s'il existe un tiers ou un contact pour l'e-mail saisi. Sinon, demandez à un nom et un nom société pour créer un tiers avec contact. PublicInterface=Interface publique TicketUrlPublicInterfaceLabelAdmin=URL alternative pour l'interface publique TicketUrlPublicInterfaceHelpAdmin=Il est possible de définir un alias vers le serveur et de rendre ainsi l'interface publique accessible avec une autre URL (le serveur doit agir comme un proxy sur cette nouvelle URL) @@ -145,21 +145,21 @@ TicketsPublicNotificationNewMessage=Envoyer un ou des emails lorsqu’un nouveau TicketsPublicNotificationNewMessageHelp=Envoyer un (des) courriel(s) lorsqu’un nouveau message est ajouté à partir de l’interface publique (à l’utilisateur désigné ou au courriel de notification (mise à jour) et/ou au courriel de notification) TicketPublicNotificationNewMessageDefaultEmail=Emails de notifications à (mise à jour) TicketPublicNotificationNewMessageDefaultEmailHelp=Envoyez un email à cette adresse email pour chaque nouveau message de notifications si le ticket n'a pas d'utilisateur assigné ou si l'utilisateur n'a pas d'email connu. -TicketsAutoReadTicket=Marquer automatiquement le ticket comme "Lu" (en cas de création depuis le back-office) -TicketsAutoReadTicketHelp=Les tickets créés depuis le back-office seront automatiquement marqués comme "Lu". Les tickets créés depuis l'interface publique seront créés au statut "Non lu". +TicketsAutoReadTicket=automatiquement marquez le ticket comme lire (lorsqu'il est créé à partir du back-office) +TicketsAutoReadTicketHelp=automatiquement marque le ticket comme lire lorsqu'il est créé à partir du back-office. Lorsque ticket est créé à partir de l'interface publique, ticket reste avec le état "Pas lire". TicketsDelayBeforeFirstAnswer=Un nouveau ticket devrait recevoir une réponse avant (en heures) : TicketsDelayBeforeFirstAnswerHelp=Si un nouveau ticket n'a pas reçu de réponse dans le délai indiqué ici (en heures), une icône d'alerte est affiché dans la liste. TicketsDelayBetweenAnswers=Un ticket non résolu ne doit pas rester sans actions pendant (en heures) : TicketsDelayBetweenAnswersHelp=Si un ticket non résolu ayant un premire réponse n'a aucune autre modification apportée dans le délai indiqué ici (en heures), une icône d'alerte est affiché dans la liste. -TicketsAutoNotifyClose=Avertir automatiquement un tiers lors de la fermeture d'un ticket -TicketsAutoNotifyCloseHelp=Lors de la clôture d'un ticket, il vous sera proposé d'envoyer un message à l'un des contacts tiers. Lors de la fermeture massive, un message sera envoyé à un contact du tiers lié au ticket. +TicketsAutoNotifyClose=automatiquement avertir le tiers lors de la fermeture d'un ticket +TicketsAutoNotifyCloseHelp=Lors de la fermeture d'un ticket, il vous sera proposé d'envoyer un message à l'un des contacts tiers. En cas de clôture massive, un message sera envoyé à un contact du tiers lié au ticket. TicketWrongContact=Le contact fourni ne fait pas partie des contacts actuels du ticket. E-mail non envoyé. TicketChooseProductCategory=Catégorie de produit pour les tickets TicketChooseProductCategoryHelp=Sélectionnez la catégorie de produit du support de ticket. Celui-ci sera utilisé pour lier automatiquement un contrat à un ticket. TicketUseCaptchaCode=Utiliser le code graphique (CAPTCHA) lors de la création d'un ticket TicketUseCaptchaCodeHelp=Ajoute la vérification CAPTCHA lors de la création d'un nouveau ticket. -TicketsAllowClassificationModificationIfClosed=Permettre la modification de la classification des tickets résolus -TicketsAllowClassificationModificationIfClosedHelp=Permettre la modification de la classification (type, groupe de ticket et sévérité) même si les tickets sont résolus. +TicketsAllowClassificationModificationIfClosed=Autoriser la modification de la classification des tickets fermés +TicketsAllowClassificationModificationIfClosedHelp=Permet de modifier la classification (type, groupe ticket, gravité) même si les tickets sont fermés. # # Index & list page @@ -313,7 +313,7 @@ TicketNewEmailBodyInfosTrackUrlCustomer=Vous pouvez voir la progression du ticke TicketCloseEmailBodyInfosTrackUrlCustomer=Vous pouvez consulter l'historique de ce ticket en cliquant sur le lien suivant TicketEmailPleaseDoNotReplyToThisEmail=Merci de ne pas répondre directement à ce courriel ! Utilisez le lien pour répondre via l'interface. TicketPublicInfoCreateTicket=Ce formulaire vous permet d'enregistrer un ticket dans notre système de gestion. -TicketPublicPleaseBeAccuratelyDescribe=Veuillez décrire précisément votre question. Fournissez le plus d'informations possible pour nous permettre d'identifier correctement votre demande. +TicketPublicPleaseBeAccuratelyDescribe=Veuillez décrire avec précision votre demande. Fournissez le plus d’informations possible pour nous permettre d’identifier correctement votre demande. TicketPublicMsgViewLogIn=Merci d'entrer le code de suivi du ticket TicketTrackId=ID de suivi publique OneOfTicketTrackId=Un de vos ID de suivi diff --git a/htdocs/langs/fr_FR/users.lang b/htdocs/langs/fr_FR/users.lang index 67a2f84bd0c6d..9ea0615a448ac 100644 --- a/htdocs/langs/fr_FR/users.lang +++ b/htdocs/langs/fr_FR/users.lang @@ -32,9 +32,8 @@ CreateUser=Créer l'utilisateur LoginNotDefined=L'identifiant n'est pas défini. NameNotDefined=Le nom n'est pas défini. ListOfUsers=Liste des utilisateurs -SuperAdministrator=Super Administrateur -SuperAdministratorDesc=Administrateur global -AdministratorDesc=Administrateur +SuperAdministrator=Administrateur multi-sociétés +SuperAdministratorDesc=Administrateur système multisociété (peut modifier la configuration des et utilisateurs) DefaultRights=Permissions par défaut DefaultRightsDesc=Définissez ici les permissions par défaut, c'est-à-dire les permissions qui seront attribuées automatiquement à un nouvel utilisateur lors de sa création (Voir la fiche utilisateur pour changer les permissions d'un utilisateur existant). DolibarrUsers=Utilisateurs Dolibarr @@ -110,8 +109,9 @@ ExpectedWorkedHours=Heures de travail prévues par semaine ColorUser=Couleur de l'utilisateur DisabledInMonoUserMode=Désactivé en mode maintenance UserAccountancyCode=Code comptable de l'utilisateur -UserLogoff=Déconnexion de l'utilisateur -UserLogged=Utilisateur connecté +UserLogoff=utilisateur déconnexion : %s +UserLogged=utilisateur enregistré : %s +UserLoginFailed=utilisateur échec de connexion : %s DateOfEmployment=Date d'embauche DateEmployment=Emploi DateEmploymentStart=Date d'embauche @@ -132,3 +132,4 @@ ShowAllPerms=Afficher toutes les lignes d'autorisation HideAllPerms=Masquer toutes les lignes d'autorisation UserPublicPageDesc=Vous pouvez activer une carte virtuelle pour cet utilisateur. Une URL avec le profil utilisateur et un code barre sera disponible pour permettre à quiconque muni d'un smartphone de le scanner et d'ajouter le contact à son carnet d'adresse. EnablePublicVirtualCard=Activer la carte de visite virtuelle de l'utilisateur +UserEnabledDisabled=utilisateur état modifié : %s diff --git a/htdocs/langs/fr_FR/website.lang b/htdocs/langs/fr_FR/website.lang index 3d1ca31ef0183..b90520365d937 100644 --- a/htdocs/langs/fr_FR/website.lang +++ b/htdocs/langs/fr_FR/website.lang @@ -160,3 +160,6 @@ PagesViewedTotal=Pages vues (total) Visibility=Visibilité Everyone=Tout le monde AssignedContacts=Contacts assignés +WebsiteTypeLabel=Type de site Internet +WebsiteTypeDolibarrWebsite=Site Internet (CMS Dolibarr) +WebsiteTypeDolibarrPortal=Portail Dolibarr natif diff --git a/htdocs/langs/fr_FR/withdrawals.lang b/htdocs/langs/fr_FR/withdrawals.lang index c2c6d4adf4a40..9a99f5eb1328a 100644 --- a/htdocs/langs/fr_FR/withdrawals.lang +++ b/htdocs/langs/fr_FR/withdrawals.lang @@ -47,7 +47,9 @@ MakeBankTransferOrder=Faire une demande de virement WithdrawRequestsDone=%s demandes de prélèvements enregistrées BankTransferRequestsDone=%s demandes de prélèvements enregistrées ThirdPartyBankCode=Code banque du tiers -NoInvoiceCouldBeWithdrawed=Aucune facture traitée avec succès. Vérifiez que les factures sont sur les sociétés avec un BAN par défaut valide et que le BAN a un RUM avec le mode %s . +NoInvoiceCouldBeWithdrawed=Aucun facture n'a été traité avec succès. Vérifiez que les factures sont sur les entreprises avec un IBAN valide et que l'IBAN a une UMR (Unique Mandate Reference) avec le mode %s. +NoInvoiceCouldBeWithdrawedSupplier=Aucun facture n'a été traité avec succès. Vérifiez que les factures appartiennent à des entreprises disposant d'un IBAN valide. +NoSalariesCouldBeWithdrawed=Aucun salaire n'a été traité avec succès. Vérifiez que les salaire appartiennent à des utilisateurs disposant d'un IBAN valide. WithdrawalCantBeCreditedTwice=Le virement est déjà marqué comme étant crédité ; cela ne peut pas être fait deux fois, cela créerait potentiellement des paiements et des saisies bancaires en double. ClassCredited=Classer crédité ClassDebited=Classer Débité @@ -115,7 +117,7 @@ RUM=RUM DateRUM=Date de signature du mandat RUMLong=Référence Unique de Mandat RUMWillBeGenerated=Si vide, le numéro de RUM sera généré une fois les informations de compte bancaire enregistrées -WithdrawMode=Mode de prélévement (FRST ou RECUR) +WithdrawMode=Mode de prélévement (FRST ou RCUR) WithdrawRequestAmount=Montant de la demande de prélèvement BankTransferAmount=Montant de la demande de virement: WithdrawRequestErrorNilAmount=Impossible de créer une demande de prélèvement pour un montant nul @@ -131,6 +133,7 @@ SEPAFormYourBAN=Votre Numéro de compte bancaire (IBAN) SEPAFormYourBIC=Votre code identifiant de banque (BIC) SEPAFrstOrRecur=Type de paiement ModeRECUR=Payment récurrent +ModeRCUR=Paiement récurrent ModeFRST=Paiement unitaire PleaseCheckOne=Cocher un choix uniquement CreditTransferOrderCreated=Ordre de virement %s créé @@ -161,4 +164,10 @@ TotalAmountOfdirectDebitOrderDiffersFromSumOfLines=Le montant total de l'ordre d WarningSomeDirectDebitOrdersAlreadyExists=Attention : Il y a déjà des ordres de prélèvement automatique en attente (%s) demandés pour un montant de %s WarningSomeCreditTransferAlreadyExists=Attention : Il y a déjà des virements en attente (%s) demandés pour un montant de %s UsedFor=Utilisé pour %s -Societe_ribSigned=SEPA mandat signé +Societe_ribSigned=Mandat SEPA Signé +NbOfInvoiceToPayByBankTransferForSalaries=Nombre de salaires qualifiés en attente d'un paiement par virement bancaire +SalaryWaitingWithdraw=salaires en attente de paiement par virement bancaire +RefSalary=Salaire +NoSalaryInvoiceToWithdraw=Aucun salaire n'attend un '%s'. Allez sur l'onglet '%s' sur la fiche salaire pour faire une demande. +SalaryInvoiceWaitingWithdraw=Salaires en attente de paiement par virement bancaire + diff --git a/htdocs/langs/fr_FR/workflow.lang b/htdocs/langs/fr_FR/workflow.lang index c1d12c6751a52..be7702ac638f0 100644 --- a/htdocs/langs/fr_FR/workflow.lang +++ b/htdocs/langs/fr_FR/workflow.lang @@ -9,11 +9,11 @@ descWORKFLOW_CONTRACT_AUTOCREATE_INVOICE=Créer une facture client automatiqueme descWORKFLOW_ORDER_AUTOCREATE_INVOICE=Créer automatiquement une facture client à la cloture d'un commande (la facture sera du même montant que la commande) descWORKFLOW_TICKET_CREATE_INTERVENTION=Crée une intervention automatiquement à la création d'un ticket # Autoclassify customer proposal or order -descWORKFLOW_ORDER_CLASSIFY_BILLED_PROPAL=Classer la/les proposition(s) commerciale(s) source(s) facturée(s) au classement facturé de la commande (et si le montant de la commande est le même que le total des propositions liées) -descWORKFLOW_INVOICE_CLASSIFY_BILLED_PROPAL=Classer la/les proposition(s) commerciale(s) source facturée(s) à la validation d'une facture client (et si le montant de la facture est le même que la somme des propositions liées) -descWORKFLOW_INVOICE_AMOUNT_CLASSIFY_BILLED_ORDER=Classer la/les commande(s) client(s) source(s) facturée(s) à la validation de la facture client (et si le montant de la facture est le même que le montant total des commandes liées) -descWORKFLOW_INVOICE_CLASSIFY_BILLED_ORDER=Classer la/les commande(s) client(s) source(s) à Facturée quand une facture client est passée à Payé (et si le montant de la facture est identique à la somme des commandes sources) -descWORKFLOW_ORDER_CLASSIFY_SHIPPED_SHIPPING=Classer la commande source à expédiée à la validation d'une expédition (et si les quantités expédiées dans le bon d'expédition sont les même que dans la commande mise à jour) +descWORKFLOW_ORDER_CLASSIFY_BILLED_PROPAL=Classer les propositions commerciales sources liées comme facturées lorsqu'une commande client est définie sur à facturée (et si le montant du commande est le même que le montant total de la proposition liée signée) +descWORKFLOW_INVOICE_CLASSIFY_BILLED_PROPAL=Classer les propositions sources liées comme facturé lorsqu'une facture client est validée (et si le montant du facture est le même que le montant total de la proposition liée signée) +descWORKFLOW_INVOICE_AMOUNT_CLASSIFY_BILLED_ORDER=Classer les ventes sources liées commande comme facturé lorsqu'une facture client est validée (et si le montant du facture est le même que le montant total de la commande liée) +descWORKFLOW_INVOICE_CLASSIFY_BILLED_ORDER=Classer les commandes client source liées comme facturées lorsqu'une facture client est définie sur payée (et si le montant du facture est le même que le montant total du de la commande liée) +descWORKFLOW_ORDER_CLASSIFY_SHIPPED_SHIPPING=Classer les commandes client source liées comme expédiées lorsqu'une expédition est validée (et si la quantité expédiée par toutes les expéditions est la même que dans le commande à mettre à jour) descWORKFLOW_ORDER_CLASSIFY_SHIPPED_SHIPPING_CLOSED=Classer la commande client source liée à expédiée lorsqu'une expédition est fermée (et si la quantité expédiée par toutes les expéditions est la même que dans la commande à mettre à jour) # Autoclassify purchase proposal descWORKFLOW_ORDER_CLASSIFY_BILLED_SUPPLIER_PROPOSAL=Classer la ou les proposition(s) commerciale(s) fournisseur sources facturées quand une facture fournisseur est validée (et si le montant de la facture est le même que le total des propositions sources liées) @@ -21,16 +21,18 @@ descWORKFLOW_ORDER_CLASSIFY_BILLED_SUPPLIER_PROPOSAL=Classer la ou les propositi descWORKFLOW_INVOICE_AMOUNT_CLASSIFY_BILLED_SUPPLIER_ORDER=Classer la ou les commande(s) fournisseur(s) de source(s) à facturée(s) lorsque la facture fournisseur est validée (et si le montant de la facture est le même que le montant total des commandes liées) descWORKFLOW_ORDER_CLASSIFY_RECEIVED_RECEPTION=Classer le bon de commande source liée comme reçu lorsqu'une réception est validée (et si la quantité reçue par toutes les réceptions est la même que dans le bon de commande à mettre à jour) descWORKFLOW_ORDER_CLASSIFY_RECEIVED_RECEPTION_CLOSED=Classer le bon de commande source lié comme reçu lorsqu'une réception est clôturée (et si la quantité reçue par toutes les réceptions est la même que dans le bon de commande à mettre à jour) -# Autoclassify purchase invoice -descWORKFLOW_EXPEDITION_CLASSIFY_CLOSED_INVOICE=Classer les réceptions en "facturées" lorsqu'une facture d'achat liée est validée (et si le montant de la facture est égal au montant total des réceptions liées) +# Autoclassify shipment +descWORKFLOW_SHIPPING_CLASSIFY_CLOSED_INVOICE=Classer le bon d'epédition source lié comme fermé lorsqu'une facture client est validée (et si le montant de la facture est le même que le montant total des expéditions liées) +descWORKFLOW_SHIPPING_CLASSIFY_BILLED_INVOICE=Classer l'expédition source liée comme facturée lorsqu'une facture client est validée (et si le montant de la facture est le même que le montant total des expéditions liées) +# Autoclassify receptions +descWORKFLOW_RECEPTION_CLASSIFY_CLOSED_INVOICE=Classer les réceptions sources liées comme facturées lorsqu'une facture d'achat est validée (et si le montant de la facture est le même que le montant total des réceptions liées) +descWORKFLOW_RECEPTION_CLASSIFY_BILLED_INVOICE=Classer les réceptions sources liées comme facturé lorsqu'un facture d'achat est validée (et si le montant de la facture est le même que le montant total des réceptions liées) # Automatically link ticket to contract -descWORKFLOW_TICKET_LINK_CONTRACT=A la création d'un ticket, les contacts liés à au tiers sont liés au ticket. +descWORKFLOW_TICKET_LINK_CONTRACT=Lors de la création d'un ticket, associez tous les contrats disponibles des tiers correspondants. descWORKFLOW_TICKET_USE_PARENT_COMPANY_CONTRACTS=Les contacts liés au tiers du ticket sont utilisés pour le ticket # Autoclose intervention descWORKFLOW_TICKET_CLOSE_INTERVENTION=Fermer toutes les interventions liées au ticket lorsqu'un ticket est fermé AutomaticCreation=Création automatique AutomaticClassification=Classification automatique -# Autoclassify shipment -descWORKFLOW_SHIPPING_CLASSIFY_CLOSED_INVOICE=Classer l'expédition source liée comme fermée lorsque la facture client est validée (et si le montant de la facture est le même que le montant total des expéditions liées) AutomaticClosing=Fermeture automatique AutomaticLinking=Liaison automatique diff --git a/htdocs/langs/fr_GA/banks.lang b/htdocs/langs/fr_GA/banks.lang deleted file mode 100644 index 1fdad6e33bb7d..0000000000000 --- a/htdocs/langs/fr_GA/banks.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - banks -BankType1=Current, cheque or credit card account diff --git a/htdocs/langs/fr_GA/errors.lang b/htdocs/langs/fr_GA/errors.lang deleted file mode 100644 index de9df75f0bd82..0000000000000 --- a/htdocs/langs/fr_GA/errors.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - errors -ErrorSessionInvalidatedAfterPasswordChange=The session was been invalidated following a change of password, email, status or dates of validity. Please relogin. diff --git a/htdocs/langs/fr_GA/stocks.lang b/htdocs/langs/fr_GA/stocks.lang deleted file mode 100644 index 240c8a3f19c0b..0000000000000 --- a/htdocs/langs/fr_GA/stocks.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - stocks -AlwaysShowFullArbo=Display the full path of a warehouse (parent warehouses) on the popup of warehouse links (Warning: This may decrease dramatically performances) diff --git a/htdocs/langs/fr_GA/ticket.lang b/htdocs/langs/fr_GA/ticket.lang deleted file mode 100644 index dd733640aa1db..0000000000000 --- a/htdocs/langs/fr_GA/ticket.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - ticket -TicketsShowCompanyLogoHelp=Enable this option to show the logo of the main company in the pages of the public interface diff --git a/htdocs/langs/nl_BE/bills.lang b/htdocs/langs/nl_BE/bills.lang index 584875d8ea6b1..58a1b574d9f08 100644 --- a/htdocs/langs/nl_BE/bills.lang +++ b/htdocs/langs/nl_BE/bills.lang @@ -20,7 +20,6 @@ CreateCreditNote=Aanmaak krediet nota DoPayment=Doe een betaling DoPaymentBack=Doe een terugbetaling ConvertToReduc=Markeren als beschikbaar tegoed -StatusOfGeneratedInvoices=Lijst van genereerde facturen BillStatusDraft=Conceptfactuur (moet worden gevalideerd) BillShortStatusClosedUnpaid=Afgesloten ErrorVATIntraNotConfigured=Intracommunautair btw-nummer nog niet gedefinieerd diff --git a/htdocs/langs/nl_BE/main.lang b/htdocs/langs/nl_BE/main.lang index 4d182d236b028..20086ad890d69 100644 --- a/htdocs/langs/nl_BE/main.lang +++ b/htdocs/langs/nl_BE/main.lang @@ -48,7 +48,6 @@ LineID=Regel ID CloseAs=Zet de status op Resiliate=Beëindigen Hide=Verbergen -Recenter=Hercentreer NewObject=Nieuwe %s Model=Doc-sjabloon DefaultModel=Standaard doc-sjabloon diff --git a/htdocs/langs/nl_NL/main.lang b/htdocs/langs/nl_NL/main.lang index cd362326eaf57..269170130d2ed 100644 --- a/htdocs/langs/nl_NL/main.lang +++ b/htdocs/langs/nl_NL/main.lang @@ -25,8 +25,8 @@ FormatHourShort=%I:%M %p FormatHourShortDuration=%H:%M FormatDateTextShort=%b %d, %Y FormatDateText=%B %d, %Y -FormatDateHourShort=%m/%d/%Y %I:%M %p -FormatDateHourSecShort=%m/%d/%Y %I:%M:%S %p +FormatDateHourShort=%d-%m-%Y %I:%M %p +FormatDateHourSecShort=%d-%m-%Y %I:%M:%S %p FormatDateHourTextShort=%b %d, %Y, %I:%M %p FormatDateHourText=%B %d, %Y, %I:%M %p DatabaseConnection=Databaseverbinding diff --git a/htdocs/langs/pt_AO/stocks.lang b/htdocs/langs/pt_AO/stocks.lang deleted file mode 100644 index 240c8a3f19c0b..0000000000000 --- a/htdocs/langs/pt_AO/stocks.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - stocks -AlwaysShowFullArbo=Display the full path of a warehouse (parent warehouses) on the popup of warehouse links (Warning: This may decrease dramatically performances) diff --git a/htdocs/langs/pt_BR/bills.lang b/htdocs/langs/pt_BR/bills.lang index 5a2764dd59b0f..bb6c5b12b25b5 100644 --- a/htdocs/langs/pt_BR/bills.lang +++ b/htdocs/langs/pt_BR/bills.lang @@ -89,7 +89,6 @@ EnterPaymentReceivedFromCustomer=Entrar pagamento recebido de cliente EnterPaymentDueToCustomer=Realizar pagamento devido para cliente DisabledBecauseRemainderToPayIsZero=Desabilitado porque o restante a pagar é zero BillStatus=Status de fatura -StatusOfGeneratedInvoices=Situação das faturas geradas BillStatusDraft=Rascunho (precisa ser validada) BillStatusPaid=Pago BillStatusConverted=Pago (Pronto para consumo na fatura final) diff --git a/htdocs/langs/pt_BR/main.lang b/htdocs/langs/pt_BR/main.lang index 8d9f549285134..a13541a837e14 100644 --- a/htdocs/langs/pt_BR/main.lang +++ b/htdocs/langs/pt_BR/main.lang @@ -129,7 +129,6 @@ OpenVerb=Aberto SelectAll=Selecionar tudo Resize=Modificar tamanho ResizeOrCrop=Redimensionar ou cortar -Recenter=Recolocar no centro User=Usuário Users=Usuário UserGroup=Grupo de usuários diff --git a/htdocs/langs/pt_BR/stocks.lang b/htdocs/langs/pt_BR/stocks.lang index e9b3d49058855..a649d69ada90d 100644 --- a/htdocs/langs/pt_BR/stocks.lang +++ b/htdocs/langs/pt_BR/stocks.lang @@ -132,7 +132,6 @@ StockSupportServicesDesc=Por padrão, você pode estocar somente produtos do tip InventoryForASpecificWarehouse=Inventário para um armazém específico InventoryForASpecificProduct=Inventário para um produto específico ForceTo=Forçar a -AlwaysShowFullArbo=Display the full path of a warehouse (parent warehouses) on the popup of warehouse links (Warning: This may decrease dramatically performances) StockAtDatePastDesc=Você pode ver aqui o estoque (estoque real) em uma determinada data no passado CurrentStock=Estoque atual InventoryRealQtyHelp=Defina o valor como 0 para redefinir o campo qty
Keep vazio ou remova a linha para mantê-lo inalterado diff --git a/htdocs/langs/pt_MZ/bills.lang b/htdocs/langs/pt_MZ/bills.lang index d7d9fe1861313..b8bf1d4102fbc 100644 --- a/htdocs/langs/pt_MZ/bills.lang +++ b/htdocs/langs/pt_MZ/bills.lang @@ -90,7 +90,6 @@ EnterPaymentReceivedFromCustomer=Entrar pagamento recebido de cliente EnterPaymentDueToCustomer=Realizar pagamento devido para cliente DisabledBecauseRemainderToPayIsZero=Desabilitado porque o restante a pagar é zero BillStatus=Status de fatura -StatusOfGeneratedInvoices=Situação das faturas geradas BillStatusDraft=Rascunho (precisa ser validada) BillStatusPaid=Pago BillStatusConverted=Pago (Pronto para consumo na fatura final) diff --git a/htdocs/langs/pt_MZ/main.lang b/htdocs/langs/pt_MZ/main.lang index cb38954d76d09..f6334918d617d 100644 --- a/htdocs/langs/pt_MZ/main.lang +++ b/htdocs/langs/pt_MZ/main.lang @@ -128,7 +128,6 @@ QuickAdd=Adição rápida SelectAll=Selecionar tudo Resize=Modificar tamanho ResizeOrCrop=Redimensionar ou cortar -Recenter=Recolocar no centro User=Usuário Users=Usuário NoUserGroupDefined=Nenhum grupo definido pelo usuário diff --git a/htdocs/langs/ru_UA/errors.lang b/htdocs/langs/ru_UA/errors.lang deleted file mode 100644 index de9df75f0bd82..0000000000000 --- a/htdocs/langs/ru_UA/errors.lang +++ /dev/null @@ -1,2 +0,0 @@ -# Dolibarr language file - Source file is en_US - errors -ErrorSessionInvalidatedAfterPasswordChange=The session was been invalidated following a change of password, email, status or dates of validity. Please relogin. diff --git a/htdocs/loan/card.php b/htdocs/loan/card.php index cb684abd77267..b86c04e9a74b2 100644 --- a/htdocs/loan/card.php +++ b/htdocs/loan/card.php @@ -1,5 +1,5 @@ +/* Copyright (C) 2014-2023 Alexandre Spangaro * Copyright (C) 2015 Frederic France * Copyright (C) 2017 Laurent Destailleur * Copyright (C) 2020 Maxime DEMAREST @@ -26,11 +26,12 @@ // Load Dolibarr environment require '../main.inc.php'; -require_once DOL_DOCUMENT_ROOT.'/loan/class/loan.class.php'; -require_once DOL_DOCUMENT_ROOT.'/core/lib/loan.lib.php'; -require_once DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php'; -require_once DOL_DOCUMENT_ROOT.'/core/class/html.formprojet.class.php'; require_once DOL_DOCUMENT_ROOT.'/compta/bank/class/account.class.php'; +require_once DOL_DOCUMENT_ROOT.'/core/class/html.formprojet.class.php'; +require_once DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php'; +require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php'; +require_once DOL_DOCUMENT_ROOT.'/core/lib/loan.lib.php'; +require_once DOL_DOCUMENT_ROOT.'/loan/class/loan.class.php'; if (isModEnabled('accounting')) { require_once DOL_DOCUMENT_ROOT.'/core/class/html.formaccounting.class.php'; @@ -43,7 +44,7 @@ // Load translation files required by the page -$langs->loadLangs(array("compta", "bills", "loan")); +$langs->loadLangs(array("bills", "compta", "loan")); $id = GETPOST('id', 'int'); $action = GETPOST('action', 'aZ09'); @@ -241,6 +242,9 @@ setEventMessages($object->error, $object->errors, 'errors'); } } + + // Actions to build doc + include DOL_DOCUMENT_ROOT.'/core/actions_builddoc.inc.php'; } @@ -270,7 +274,7 @@ $datec = dol_mktime(12, 0, 0, GETPOST('remonth', 'int'), GETPOST('reday', 'int'), GETPOST('reyear', 'int')); - print '
'."\n"; + print ''."\n"; print ''; print ''; @@ -421,10 +425,9 @@ print ''; } - print dol_get_fiche_head($head, 'card', $langs->trans("Loan"), -1, 'bill'); + print dol_get_fiche_head($head, 'card', $langs->trans("Loan"), -1, 'money-bill-alt', 0, '', '', 0, '', 1); // Loan card - $linkback = ''.$langs->trans("BackToList").''; $morehtmlref = '
'; @@ -758,7 +761,7 @@ } // Delete - if (($object->paid == 0 || $object->paid == 2) && $user->rights->loan->delete) { + if (($object->paid == 0 || $object->paid == 2) && $user->hasRight('loan', 'delete')) { print ''; } diff --git a/htdocs/loan/class/loan.class.php b/htdocs/loan/class/loan.class.php index 45593dd624e40..a12d9a1b9365b 100644 --- a/htdocs/loan/class/loan.class.php +++ b/htdocs/loan/class/loan.class.php @@ -683,6 +683,7 @@ public function info($id) if ($result) { if ($this->db->num_rows($result)) { $obj = $this->db->fetch_object($result); + $this->id = $obj->rowid; $this->user_creation_id = $obj->fk_user_author; @@ -722,7 +723,9 @@ public function getKanbanView($option = '', $arraydata = null) $return .= ''; $return .= '
'; $return .= ''.(method_exists($this, 'getNomUrl') ? $this->getNomUrl(1) : $this->ref).''; - $return .= ''; + if ($selected >= 0) { + $return .= ''; + } if (property_exists($this, 'capital')) { $return .= ' | '.$langs->trans("Amount").' : '.price($this->capital).''; } diff --git a/htdocs/loan/document.php b/htdocs/loan/document.php index 04a72545738d6..fe4ce6a9a0ead 100644 --- a/htdocs/loan/document.php +++ b/htdocs/loan/document.php @@ -1,5 +1,5 @@ +/* Copyright (C) 2014-2023 Alexandre Spangaro * Copyright (C) 2017 Ferran Marcet * * This program is free software; you can redistribute it and/or modify @@ -97,7 +97,7 @@ $head = loan_prepare_head($object); - print dol_get_fiche_head($head, 'documents', $langs->trans("Loan"), -1, 'bill'); + print dol_get_fiche_head($head, 'documents', $langs->trans("Loan"), -1, 'money-bill-alt'); $morehtmlref = '
'; // Ref loan @@ -107,7 +107,7 @@ if (isModEnabled('project')) { $langs->load("projects"); $morehtmlref .= '
'.$langs->trans('Project').' : '; - if ($user->rights->loan->write) { + if ($user->hasRight('loan', 'write')) { //if ($action != 'classify') // $morehtmlref .= '' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : '; if ($action == 'classify') { diff --git a/htdocs/loan/info.php b/htdocs/loan/info.php index 2156b8891979f..5017ef4ce3f1b 100644 --- a/htdocs/loan/info.php +++ b/htdocs/loan/info.php @@ -1,5 +1,5 @@ +/* Copyright (C) 2014-2023 Alexandre Spangaro * Copyright (C) 2017 Ferran Marcet * * This program is free software; you can redistribute it and/or modify @@ -61,7 +61,7 @@ $head = loan_prepare_head($object); -print dol_get_fiche_head($head, 'info', $langs->trans("Loan"), -1, 'bill'); +print dol_get_fiche_head($head, 'info', $langs->trans("Loan"), -1, 'money-bill-alt'); $morehtmlref = '
'; // Ref loan @@ -71,7 +71,7 @@ if (isModEnabled('project')) { $langs->load("projects"); $morehtmlref .= '
'.$langs->trans('Project').' : '; - if ($user->rights->loan->write) { + if ($user->hasRight('loan', 'write')) { //if ($action != 'classify') // $morehtmlref .= '' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : '; if ($action == 'classify') { diff --git a/htdocs/loan/list.php b/htdocs/loan/list.php index 8be6e1317d689..7ade6bb92af21 100644 --- a/htdocs/loan/list.php +++ b/htdocs/loan/list.php @@ -1,5 +1,5 @@ +/* Copyright (C) 2014-2023 Alexandre Spangaro * Copyright (C) 2015 Frederic France * Copyright (C) 2015 Juanjo Menent * Copyright (C) 2016 Laurent Destailleur @@ -29,31 +29,45 @@ require_once DOL_DOCUMENT_ROOT.'/loan/class/loan.class.php'; // Load translation files required by the page -$langs->loadLangs(array("loan", "compta", "banks", "bills")); - -// Security check -$socid = GETPOST('socid', 'int'); -if ($user->socid) { - $socid = $user->socid; -} -$result = restrictedArea($user, 'loan', '', '', ''); +$langs->loadLangs(array("banks", "bills", "compta", "loan")); + +// Get parameters +$action = GETPOST('action', 'aZ09') ? GETPOST('action', 'aZ09') : 'view'; // The action 'create'/'add', 'edit'/'update', 'view', ... +$massaction = GETPOST('massaction', 'alpha'); // The bulk action (combo box choice into lists) +$show_files = GETPOST('show_files', 'int'); // Show files area generated by bulk actions ? +$confirm = GETPOST('confirm', 'alpha'); // Result of a confirmation +$cancel = GETPOST('cancel', 'alpha'); // We click on a Cancel button +$toselect = GETPOST('toselect', 'array'); // Array of ids of elements selected into a list +$contextpage = GETPOST('contextpage', 'aZ') ? GETPOST('contextpage', 'aZ') : str_replace('_', '', basename(dirname(__FILE__)).basename(__FILE__, '.php')); // To manage different context of search +$backtopage = GETPOST('backtopage', 'alpha'); // Go back to a dedicated page +$optioncss = GETPOST('optioncss', 'aZ'); // Option for the css output (always '' except when 'print') +$mode = GETPOST('mode', 'aZ'); // The output mode ('list', 'kanban', 'hierarchy', 'calendar', ...) $limit = GETPOST('limit', 'int') ? GETPOST('limit', 'int') : $conf->liste_limit; $sortfield = GETPOST('sortfield', 'aZ09comma'); $sortorder = GETPOST('sortorder', 'aZ09comma'); $page = GETPOSTISSET('pageplusone') ? (GETPOST('pageplusone') - 1) : GETPOST("page", 'int'); -$massaction = GETPOST('massaction', 'alpha'); -if (empty($page) || $page == -1 || GETPOST('button_search', 'alpha') || GETPOST('button_removefilter', 'alpha') || (empty($toselect) && $massaction === '0')) { +if (empty($page) || $page < 0 || GETPOST('button_search', 'alpha') || GETPOST('button_removefilter', 'alpha')) { + // If $page is not defined, or '' or -1 or if we click on clear filters $page = 0; -} // If $page is not defined, or '' or -1 or if we click on clear filters or if we select empty mass action +} $offset = $limit * $page; $pageprev = $page - 1; $pagenext = $page + 1; // Initialize technical objects -$loan_static = new Loan($db); +$object = new Loan($db); $extrafields = new ExtraFields($db); +$diroutputmassaction = $conf->loan->dir_output.'/temp/massgeneration/'.$user->id; +$hookmanager->initHooks(array($contextpage)); + +// Fetch optionals attributes and labels +$extrafields->fetch_name_optionals_label($object->table_element); +//$extrafields->fetch_name_optionals_label($object->table_element_line); +$search_array_options = $extrafields->getOptionalsFromPost($object->table_element, '', 'search_'); + +// Default sort order (if not yet defined by previous GETPOST) if (!$sortfield) { $sortfield = "l.rowid"; } @@ -61,13 +75,40 @@ $sortorder = "DESC"; } +// Definition of array of fields for columns +$arrayfields = array(); +foreach ($object->fields as $key => $val) { + // If $val['visible']==0, then we never show the field + if (!empty($val['visible'])) { + $visible = (int) dol_eval($val['visible'], 1); + $arrayfields['t.'.$key] = array( + 'label'=>$val['label'], + 'checked'=>(($visible < 0) ? 0 : 1), + 'enabled'=>(abs($visible) != 3 && dol_eval($val['enabled'], 1)), + 'position'=>$val['position'], + 'help'=> isset($val['help']) ? $val['help'] : '' + ); + } +} +// Extra fields +include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_list_array_fields.tpl.php'; + +$object->fields = dol_sort_array($object->fields, 'position'); +//$arrayfields['anotherfield'] = array('type'=>'integer', 'label'=>'AnotherField', 'checked'=>1, 'enabled'=>1, 'position'=>90, 'csslist'=>'right'); +$arrayfields = dol_sort_array($arrayfields, 'position'); + $search_ref = GETPOST('search_ref', 'int'); $search_label = GETPOST('search_label', 'alpha'); $search_amount = GETPOST('search_amount', 'alpha'); -$contextpage = GETPOST('contextpage', 'aZ') ?GETPOST('contextpage', 'aZ') : 'loanlist'; // To manage different context of search -$optioncss = GETPOST('optioncss', 'alpha'); -$mode = GETPOST('mode', 'alpha'); // mode view result +$permissiontoadd = $user->hasRight('loan', 'write'); + +// Security check +$socid = GETPOST('socid', 'int'); +if ($user->socid) { + $socid = $user->socid; +} +$result = restrictedArea($user, 'loan', '', '', ''); /* @@ -75,7 +116,8 @@ */ if (GETPOST('cancel', 'alpha')) { - $action = 'list'; $massaction = ''; + $action = 'list'; + $massaction = ''; } if (!GETPOST('confirmmassaction', 'alpha') && $massaction != 'presend' && $massaction != 'confirm_presend') { $massaction = ''; @@ -100,13 +142,16 @@ /* * View */ - +$form = new Form($db); $now = dol_now(); -//$help_url="EN:Module_MyObject|FR:Module_MyObject_FR|ES:Módulo_MyObject"; +$help_url="EN:Module_Loan|FR:Module_Emprunt"; $help_url = ''; $title = $langs->trans('Loans'); + +// Build and execute select +// -------------------------------------------------------------------- $sql = "SELECT l.rowid, l.label, l.capital, l.datestart, l.dateend, l.paid,"; $sql .= " SUM(pl.amount_capital) as alreadypaid"; @@ -133,7 +178,6 @@ if (!getDolGlobalInt('MAIN_DISABLE_FULL_SCANLIST')) { /* The fast and low memory method to get and count full list converts the sql into a sql count */ $sqlforcount = preg_replace('/^'.preg_quote($sqlfields, '/').'/', 'SELECT COUNT(*) as nbtotalofrecords', $sql); - $sqlforcount = preg_replace('/'.preg_quote($linktopl, '/').'/', '', $sqlforcount); $sqlforcount = preg_replace('/GROUP BY .*$/', '', $sqlforcount); $resql = $db->query($sqlforcount); if ($resql) { @@ -143,13 +187,12 @@ dol_print_error($db); } - if (($page * $limit) > $nbtotalofrecords) { // if total resultset is smaller then paging size (filtering), goto and load page 0 + if (($page * $limit) > $nbtotalofrecords) { // if total resultset is smaller than the paging size (filtering), goto and load page 0 $page = 0; $offset = 0; } $db->free($resql); } -$arrayfields = array(); // Complete request and execute it with limit $sql .= $db->order($sortfield, $sortorder); @@ -165,209 +208,291 @@ $num = $db->num_rows($resql); + + +// Direct jump if only one record found +if ($num == 1 && getDolGlobalInt('MAIN_SEARCH_DIRECT_OPEN_IF_ONLY_ONE') && $search_all && !$page) { + $obj = $db->fetch_object($resql); + $id = $obj->rowid; + header("Location: ".dol_buildpath('/mymodule/myobject_card.php', 1).'?id='.((int) $id)); + exit; +} + + // Output page // -------------------------------------------------------------------- llxHeader('', $title, $help_url); -if ($resql) { - $i = 0; +$arrayofselected = is_array($toselect) ? $toselect : array(); - $param = ''; - if (!empty($mode)) { - $param .= '&mode='.urlencode($mode); - } - if (!empty($contextpage) && $contextpage != $_SERVER["PHP_SELF"]) { - $param .= '&contextpage='.urlencode($contextpage); - } - if ($limit > 0 && $limit != $conf->liste_limit) { - $param .= '&limit='.((int) $limit); - } - if ($search_ref) { - $param .= "&search_ref=".urlencode($search_ref); - } - if ($search_label) { - $param .= "&search_label=".urlencode($search_label); - } - if ($search_amount) { - $param .= "&search_amount=".urlencode($search_amount); - } - if ($optioncss != '') { - $param .= '&optioncss='.urlencode($optioncss); - } +$param = ''; +if (!empty($mode)) { + $param .= '&mode='.urlencode($mode); +} +if (!empty($contextpage) && $contextpage != $_SERVER["PHP_SELF"]) { + $param .= '&contextpage='.urlencode($contextpage); +} +if ($limit > 0 && $limit != $conf->liste_limit) { + $param .= '&limit='.((int) $limit); +} +if ($optioncss != '') { + $param .= '&optioncss='.urlencode($optioncss); +} +if ($search_ref) { + $param .= "&search_ref=".urlencode($search_ref); +} +if ($search_label) { + $param .= "&search_label=".urlencode($search_label); +} +if ($search_amount) { + $param .= "&search_amount=".urlencode($search_amount); +} +// Add $param from extra fields +include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_list_search_param.tpl.php'; +// Add $param from hooks +$parameters = array(); +$reshook = $hookmanager->executeHooks('printFieldListSearchParam', $parameters, $object, $action); // Note that $action and $object may have been modified by hook +$param .= $hookmanager->resPrint; + +// List of mass actions available +$arrayofmassactions = array(); +if (!empty($permissiontodelete)) { + $arrayofmassactions['predelete'] = img_picto('', 'delete', 'class="pictofixedwidth"').$langs->trans("Delete"); +} +if (GETPOST('nomassaction', 'int') || in_array($massaction, array('presend', 'predelete'))) { + $arrayofmassactions = array(); +} +$massactionbutton = $form->selectMassAction('', $arrayofmassactions); - $url = DOL_URL_ROOT.'/loan/card.php?action=create'; - if (!empty($socid)) { - $url .= '&socid='.$socid; - } - $newcardbutton = ''; - $newcardbutton .= dolGetButtonTitle($langs->trans('ViewList'), '', 'fa fa-bars imgforviewmode', $_SERVER["PHP_SELF"].'?mode=common'.preg_replace('/(&|\?)*mode=[^&]+/', '', $param), '', ((empty($mode) || $mode == 'common') ? 2 : 1), array('morecss'=>'reposition')); - $newcardbutton .= dolGetButtonTitle($langs->trans('ViewKanban'), '', 'fa fa-th-list imgforviewmode', $_SERVER["PHP_SELF"].'?mode=kanban'.preg_replace('/(&|\?)*mode=[^&]+/', '', $param), '', ($mode == 'kanban' ? 2 : 1), array('morecss'=>'reposition')); - $newcardbutton .= dolGetButtonTitle($langs->trans('NewLoan'), '', 'fa fa-plus-circle', $url, '', $user->rights->loan->write); - - print ''."\n"; - if ($optioncss != '') { - print ''; - } - print ''; - print ''; - print ''; - print ''; - print ''; - print ''; - print ''; +$url = DOL_URL_ROOT.'/loan/card.php?action=create'; +if (!empty($socid)) { + $url .= '&socid='.$socid; +} +$newcardbutton = ''; +$newcardbutton .= dolGetButtonTitle($langs->trans('ViewList'), '', 'fa fa-bars imgforviewmode', $_SERVER["PHP_SELF"].'?mode=common'.preg_replace('/(&|\?)*mode=[^&]+/', '', $param), '', ((empty($mode) || $mode == 'common') ? 2 : 1), array('morecss'=>'reposition')); +$newcardbutton .= dolGetButtonTitle($langs->trans('ViewKanban'), '', 'fa fa-th-list imgforviewmode', $_SERVER["PHP_SELF"].'?mode=kanban'.preg_replace('/(&|\?)*mode=[^&]+/', '', $param), '', ($mode == 'kanban' ? 2 : 1), array('morecss'=>'reposition')); +$newcardbutton .= dolGetButtonTitleSeparator(); +$newcardbutton .= dolGetButtonTitle($langs->trans('NewLoan'), '', 'fa fa-plus-circle', $url, '', $permissiontoadd); - print_barre_liste($langs->trans("Loans"), $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, '', $num, $nbtotalofrecords, 'money-bill-alt', 0, $newcardbutton, '', $limit, 0, 0, 1); +$massactionbutton = $form->selectMassAction('', $arrayofmassactions); - $moreforfilter = ''; +print ''."\n"; +if ($optioncss != '') { + print ''; +} +print ''; +print ''; +print ''; +print ''; +print ''; +print ''; +print ''; +print ''; +print ''; + +$newcardbutton = ''; +$newcardbutton .= dolGetButtonTitle($langs->trans('ViewList'), '', 'fa fa-bars imgforviewmode', $_SERVER["PHP_SELF"].'?mode=common'.preg_replace('/(&|\?)*mode=[^&]+/', '', $param), '', ((empty($mode) || $mode == 'common') ? 2 : 1), array('morecss'=>'reposition')); +$newcardbutton .= dolGetButtonTitle($langs->trans('ViewKanban'), '', 'fa fa-th-list imgforviewmode', $_SERVER["PHP_SELF"].'?mode=kanban'.preg_replace('/(&|\?)*mode=[^&]+/', '', $param), '', ($mode == 'kanban' ? 2 : 1), array('morecss'=>'reposition')); +$newcardbutton .= dolGetButtonTitleSeparator(); +$newcardbutton .= dolGetButtonTitle($langs->trans('New'), '', 'fa fa-plus-circle', dol_buildpath('/loan/card.php', 1).'?action=create&backtopage='.urlencode($_SERVER['PHP_SELF']), '', $permissiontoadd); + +print_barre_liste($title, $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, $massactionbutton, $num, $nbtotalofrecords, 'money-bill-alt', 0, $newcardbutton, '', $limit, 0, 0, 1); + +$moreforfilter = ''; - print '
'; - print ''."\n"; +$parameters = array(); +$reshook = $hookmanager->executeHooks('printFieldPreListTitle', $parameters, $object, $action); // Note that $action and $object may have been modified by hook +if (empty($reshook)) { + $moreforfilter .= $hookmanager->resPrint; +} else { + $moreforfilter = $hookmanager->resPrint; +} - // Filters lines - print ''; - if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { - print ''; - } - print ''; - print ''; - print ''; - print ''; - print ''; - print ''; - if (!getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { - print ''; - } - print ''; +if (!empty($moreforfilter)) { + print '
'; + print $moreforfilter; + $parameters = array(); + $reshook = $hookmanager->executeHooks('printFieldPreListTitle', $parameters, $object, $action); // Note that $action and $object may have been modified by hook + print $hookmanager->resPrint; + print '
'; +} - $totalarray = array(); - $totalarray['nbfield'] = 0; +$varpage = empty($contextpage) ? $_SERVER["PHP_SELF"] : $contextpage; +$selectedfields = ($mode != 'kanban' ? $form->multiSelectArrayWithCheckbox('selectedfields', $arrayfields, $varpage, getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN', '')) : ''); // This also change content of $arrayfields +$selectedfields .= (count($arrayofmassactions) ? $form->showCheckAddButtons('checkforselect', 1) : ''); - // Fields title label - // -------------------------------------------------------------------- - print ''; - if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { - print_liste_field_titre('', $_SERVER["PHP_SELF"], "", '', '', '', $sortfield, $sortorder, 'maxwidthsearch '); - $totalarray['nbfield']++; - } - print_liste_field_titre("Ref", $_SERVER["PHP_SELF"], "l.rowid", "", $param, "", $sortfield, $sortorder); - $totalarray['nbfield']++; - print_liste_field_titre("Label", $_SERVER["PHP_SELF"], "l.label", "", $param, '', $sortfield, $sortorder, 'left '); - $totalarray['nbfield']++; - print_liste_field_titre("LoanCapital", $_SERVER["PHP_SELF"], "l.capital", "", $param, '', $sortfield, $sortorder, 'right '); - $totalarray['nbfield']++; - print_liste_field_titre("DateStart", $_SERVER["PHP_SELF"], "l.datestart", "", $param, '', $sortfield, $sortorder, 'center '); - $totalarray['nbfield']++; - print_liste_field_titre("DateEnd", $_SERVER["PHP_SELF"], "l.dateend", "", $param, '', $sortfield, $sortorder, 'center '); +print '
'; // You can use div-table-responsive-no-min if you dont need reserved height for your table +print '
'; - $searchpicto = $form->showFilterAndCheckAddButtons(); - print $searchpicto; - print '  '; - $searchpicto = $form->showFilterAndCheckAddButtons(); - print $searchpicto; - print '
'."\n"; + +// Fields title search +// -------------------------------------------------------------------- +print ''; +// Action column +if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { + print ''; +} + +// Filter: Ref +print ''; + +// Filter: Label +print ''; + +// Filter: Amount +print ''; + +// No filter: Date start +print ''; + +// No filter: Date end +print ''; + +// No filter: Status +print ''; + +// Action column +if (!getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { + print ''; +} +print ''."\n"; + +$totalarray = array(); +$totalarray['nbfield'] = 0; + +// Fields title label +// -------------------------------------------------------------------- +print ''; +// Action column +if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { + print_liste_field_titre('', $_SERVER["PHP_SELF"], "", '', '', '', $sortfield, $sortorder, 'maxwidthsearch '); $totalarray['nbfield']++; - print_liste_field_titre("Status", $_SERVER["PHP_SELF"], "l.paid", "", $param, '', $sortfield, $sortorder, 'right '); +} +print_liste_field_titre("Ref", $_SERVER["PHP_SELF"], "l.rowid", "", $param, "", $sortfield, $sortorder); +$totalarray['nbfield']++; +print_liste_field_titre("Label", $_SERVER["PHP_SELF"], "l.label", "", $param, '', $sortfield, $sortorder, 'left '); +$totalarray['nbfield']++; +print_liste_field_titre("LoanCapital", $_SERVER["PHP_SELF"], "l.capital", "", $param, '', $sortfield, $sortorder, 'right '); +$totalarray['nbfield']++; +print_liste_field_titre("DateStart", $_SERVER["PHP_SELF"], "l.datestart", "", $param, '', $sortfield, $sortorder, 'center '); +$totalarray['nbfield']++; +print_liste_field_titre("DateEnd", $_SERVER["PHP_SELF"], "l.dateend", "", $param, '', $sortfield, $sortorder, 'center '); +$totalarray['nbfield']++; +print_liste_field_titre("Status", $_SERVER["PHP_SELF"], "l.paid", "", $param, '', $sortfield, $sortorder, 'right '); +$totalarray['nbfield']++; +if (!getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { + print_liste_field_titre('', $_SERVER["PHP_SELF"], "", '', '', '', $sortfield, $sortorder, 'maxwidthsearch '); $totalarray['nbfield']++; - if (!getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { - print_liste_field_titre('', $_SERVER["PHP_SELF"], "", '', '', '', $sortfield, $sortorder, 'maxwidthsearch '); - $totalarray['nbfield']++; - } - print "\n"; - - print "\n"; - - // Loop on record - // -------------------------------------------------------------------- - $i = 0; - $savnbfield = $totalarray['nbfield']; - $totalarray = array(); - $imaxinloop = ($limit ? min($num, $limit) : $num); - while ($i < $imaxinloop) { - $obj = $db->fetch_object($resql); - if (empty($obj)) { - break; // Should not happen - } +} +print "\n"; - $loan_static->id = $obj->rowid; - $loan_static->ref = $obj->rowid; - $loan_static->label = $obj->label; - $loan_static->paid = $obj->paid; +// Loop on record +// -------------------------------------------------------------------- +$i = 0; +$savnbfield = $totalarray['nbfield']; +$totalarray = array(); +$totalarray['nbfield'] = 0; +$imaxinloop = ($limit ? min($num, $limit) : $num); +while ($i < $imaxinloop) { + $obj = $db->fetch_object($resql); + if (empty($obj)) { + break; // Should not happen + } - if ($mode == 'kanban') { - if ($i == 0) { - print ''; - } - } else { - print ''; + $object->id = $obj->rowid; + $object->ref = $obj->rowid; + $object->label = $obj->label; + $object->paid = $obj->paid; - // Action column - if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { - print ''; + + if ($mode == 'kanban') { + if ($i == 0) { + print ''; + } + } else { + // Show line of result + $j = 0; + print ''; - // Ref - print ''; + // Action column + if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { + print ''; + } - // Label - print ''; + // Ref + print ''; - // Capital - print ''; + // Label + print ''; - // Date start - print ''; + // Capital + print ''; - // Date end - print ''; + // Date start + print ''; - print ''; + // Date end + print ''; - // Action column - if (!getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { - print ''; - } + print ''; - print "\n"; + // Action column + if (!getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { + print ''; } - $i++; - } - // If no record found - if ($num == 0) { - $colspan = 7; - //foreach ($arrayfields as $key => $val) { if (!empty($val['checked'])) $colspan++; } - print ''; + print ''."\n"; } + $i++; +} - $parameters = array('arrayfields'=>$arrayfields, 'sql'=>$sql); - $reshook = $hookmanager->executeHooks('printFieldListFooter', $parameters, $object); // Note that $action and $object may have been modified by hook - print $hookmanager->resPrint; +// If no record found +if ($num == 0) { + $colspan = 7; + //foreach ($arrayfields as $key => $val) { if (!empty($val['checked'])) $colspan++; } + print ''; +} - print '
'; + $searchpicto = $form->showFilterButtons('left'); + print $searchpicto; + print '  '; + $searchpicto = $form->showFilterButtons(); + print $searchpicto; + print '
'; - print '
'; - } - // Output Kanban - $loan_static->datestart= $obj->datestart; - $loan_static->dateend = $obj->dateend; - $loan_static->capital = $obj->capital; - $loan_static->totalpaid = $obj->paid; - - print $loan_static->getKanbanView('', array('selected' => in_array($loan_static->id, $arrayofselected))); - if ($i == ($imaxinloop - 1)) { - print '
'; - print '
'; + print '
'; + } + // Output Kanban + $object->datestart= $obj->datestart; + $object->dateend = $obj->dateend; + $object->capital = $obj->capital; + $object->totalpaid = $obj->paid; + + // Output Kanban + $selected = -1; + if ($massactionbutton || $massaction) { // If we are in select mode (massactionbutton defined) or if we have already selected and sent an action ($massaction) defined + $selected = 0; + if (in_array($object->id, $arrayofselected)) { + $selected = 1; } + } + print $object->getKanbanView('', array('selected' => $selected)); + if ($i == ($imaxinloop - 1)) { + print '
'; + print '
'.$loan_static->getNomUrl(1).''.dol_trunc($obj->label, 42).''.$object->getNomUrl(1).''.price($obj->capital).''.dol_trunc($obj->label, 42).''.dol_print_date($db->jdate($obj->datestart), 'day').''.price($obj->capital).''.dol_print_date($db->jdate($obj->dateend), 'day').''.dol_print_date($db->jdate($obj->datestart), 'day').''; - print $loan_static->LibStatut($obj->paid, 5, $obj->alreadypaid); - print ''.dol_print_date($db->jdate($obj->dateend), 'day').''; + print $object->LibStatut($obj->paid, 5, $obj->alreadypaid); + print '
'.$langs->trans("NoRecordFound").'
'.$langs->trans("NoRecordFound").'
'."\n"; - print '
'."\n"; +$db->free($resql); - print ''."\n"; +$parameters = array('arrayfields'=>$arrayfields, 'sql'=>$sql); +$reshook = $hookmanager->executeHooks('printFieldListFooter', $parameters, $object, $action); // Note that $action and $object may have been modified by hook +print $hookmanager->resPrint; - $db->free($resql); -} else { - dol_print_error($db); -} +print ''."\n"; +print '
'."\n"; + +print ''."\n"; // End of page llxFooter(); diff --git a/htdocs/loan/note.php b/htdocs/loan/note.php index 96ef500d642ba..09a85f6aab08b 100644 --- a/htdocs/loan/note.php +++ b/htdocs/loan/note.php @@ -4,8 +4,8 @@ * Copyright (C) 2005-2012 Regis Houssin * Copyright (C) 2013 Florian Henry * Copyright (C) 2015 Frederic France - * Copyright (C) 2016-2018 Alexandre Spangaro - * Copyright (C) 2017 Ferran Marcet + * Copyright (C) 2016-2023 Alexandre Spangaro + * Copyright (C) 2017 Ferran Marcet * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -86,7 +86,7 @@ $head = loan_prepare_head($object); - print dol_get_fiche_head($head, 'note', $langs->trans("Loan"), -1, 'bill'); + print dol_get_fiche_head($head, 'note', $langs->trans("Loan"), -1, 'money-bill-alt'); $morehtmlref = '
'; // Ref loan @@ -96,7 +96,7 @@ if (isModEnabled('project')) { $langs->loadLangs(array("projects")); $morehtmlref .= '
'.$langs->trans('Project').' : '; - if ($user->rights->loan->write) { + if ($user->hasRight('loan', 'write')) { //if ($action != 'classify') // $morehtmlref .= '' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : '; if ($action == 'classify') { diff --git a/htdocs/loan/payment/card.php b/htdocs/loan/payment/card.php index b291b313e43c3..2310dfb89a653 100644 --- a/htdocs/loan/payment/card.php +++ b/htdocs/loan/payment/card.php @@ -56,7 +56,7 @@ */ // Delete payment -if ($action == 'confirm_delete' && $confirm == 'yes' && $user->rights->loan->delete) { +if ($action == 'confirm_delete' && $confirm == 'yes' && $user->hasRight('loan', 'delete')) { $db->begin(); $sql = "UPDATE ".MAIN_DB_PREFIX."loan_schedule SET fk_bank = 0 WHERE fk_bank = ".((int) $payment->fk_bank); @@ -221,7 +221,7 @@ print '
'; -if (empty($action) && !empty($user->rights->loan->delete)) { +if (empty($action) && $user->hasRight('loan', 'delete')) { if (!$disable_delete) { print dolGetButtonAction($langs->trans("Delete"), '', 'delete', $_SERVER["PHP_SELF"].'?id='.$id.'&action=delete&token='.newToken(), 'delete', 1); } else { diff --git a/htdocs/loan/payment/payment.php b/htdocs/loan/payment/payment.php index 6a136f8ba2e3d..1df01fc6047d5 100644 --- a/htdocs/loan/payment/payment.php +++ b/htdocs/loan/payment/payment.php @@ -45,7 +45,7 @@ } elseif (GETPOSTISSET('socid')) { $socid = GETPOST('socid', 'int'); } -if (empty($user->rights->loan->write)) { +if (!$user->hasRight('loan', 'write')) { accessforbidden(); } diff --git a/htdocs/loan/schedule.php b/htdocs/loan/schedule.php index bf57aa1261775..fda8d22c79215 100644 --- a/htdocs/loan/schedule.php +++ b/htdocs/loan/schedule.php @@ -1,6 +1,6 @@ - * Copyright (C) 2018 Alexandre Spangaro + * Copyright (C) 2018-2023 Alexandre Spangaro * Copyright (C) 2020 Maxime DEMAREST * * This program is free software; you can redistribute it and/or modify @@ -42,7 +42,7 @@ if ($user->socid) { $socid = $user->socid; } -if (empty($user->rights->loan->calc)) { +if (!$user->hasRight('loan', 'calc')) { accessforbidden(); } @@ -143,7 +143,7 @@ llxHeader("", $title, $help_url); $head = loan_prepare_head($object); -print dol_get_fiche_head($head, 'FinancialCommitment', $langs->trans("Loan"), -1, 'bill'); +print dol_get_fiche_head($head, 'FinancialCommitment', $langs->trans("Loan"), -1, 'money-bill-alt'); $linkback = ''.$langs->trans("BackToList").''; @@ -155,7 +155,7 @@ if (isModEnabled('project')) { $langs->loadLangs(array("projects")); $morehtmlref .= '
'.$langs->trans('Project').' : '; - if ($user->rights->loan->write) { + if ($user->hasRight('loan', 'write')) { if ($action != 'classify') { //$morehtmlref .= ''.img_edit($langs->transnoentitiesnoconv('SetProject')).' : '; if ($action == 'classify') { diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index 2528d40281036..654648a35f713 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -529,14 +529,14 @@ function analyseVarsForSqlAndScriptsInjection(&$var, $type) } } -//dol_syslog("aaaa - ".defined('NOCSRFCHECK')." - ".$dolibarr_nocsrfcheck." - ".$conf->global->MAIN_SECURITY_CSRF_WITH_TOKEN." - ".$_SERVER['REQUEST_METHOD']." - ".GETPOST('token', 'alpha')); +//dol_syslog("CSRF info: ".defined('NOCSRFCHECK')." - ".$dolibarr_nocsrfcheck." - ".$conf->global->MAIN_SECURITY_CSRF_WITH_TOKEN." - ".$_SERVER['REQUEST_METHOD']." - ".GETPOST('token', 'alpha')); // Check validity of token, only if option MAIN_SECURITY_CSRF_WITH_TOKEN enabled or if constant CSRFCHECK_WITH_TOKEN is set into page if ((!defined('NOCSRFCHECK') && empty($dolibarr_nocsrfcheck) && getDolGlobalInt('MAIN_SECURITY_CSRF_WITH_TOKEN')) || defined('CSRFCHECK_WITH_TOKEN')) { // Array of action code where CSRFCHECK with token will be forced (so token must be provided on url request) $sensitiveget = false; if ((GETPOSTISSET('massaction') || GETPOST('action', 'aZ09')) && getDolGlobalInt('MAIN_SECURITY_CSRF_WITH_TOKEN') >= 3) { - // All GET actions and mass actions are processed as sensitive. + // All GET actions (except the listed exception) and mass actions are processed as sensitive. if (GETPOSTISSET('massaction') || !in_array(GETPOST('action', 'aZ09'), array('create', 'createsite', 'createcard', 'edit', 'editvalidator', 'file_manager', 'presend', 'presend_addmessage', 'preview', 'specimen'))) { // We exclude some action that are legitimate $sensitiveget = true; } @@ -551,8 +551,8 @@ function analyseVarsForSqlAndScriptsInjection(&$var, $type) if (in_array(GETPOST('action', 'aZ09'), $arrayofactiontoforcetokencheck)) { $sensitiveget = true; } - // We also match for value with just a simple string that must match - if (preg_match('/^(add|classify|close|confirm|copy|del|disable|enable|remove|set|unset|update|save|sepa)/', GETPOST('action', 'aZ09'))) { + // We also need a valid token for actions matching one of these values + if (preg_match('/^(confirm_)?(add|classify|close|confirm|copy|del|disable|enable|remove|set|unset|update|save)/', GETPOST('action', 'aZ09'))) { $sensitiveget = true; } } @@ -560,7 +560,7 @@ function analyseVarsForSqlAndScriptsInjection(&$var, $type) // Check a token is provided for all cases that need a mandatory token // (all POST actions + all sensitive GET actions + all mass actions + all login/actions/logout on pages with CSRFCHECK_WITH_TOKEN set) if ( - $_SERVER['REQUEST_METHOD'] == 'POST' || + (!empty($_SERVER['REQUEST_METHOD']) && $_SERVER['REQUEST_METHOD'] == 'POST') || $sensitiveget || GETPOSTISSET('massaction') || ((GETPOSTISSET('actionlogin') || GETPOSTISSET('action')) && defined('CSRFCHECK_WITH_TOKEN')) @@ -898,7 +898,7 @@ function analyseVarsForSqlAndScriptsInjection(&$var, $type) //top_httphead(); return 'ERROR_NOT_LOGGED'; } else { - if ($_SERVER["HTTP_USER_AGENT"] == 'securitytest') { + if (!empty($_SERVER["HTTP_USER_AGENT"]) && $_SERVER["HTTP_USER_AGENT"] == 'securitytest') { http_response_code(401); // It makes easier to understand if session was broken during security tests } dol_loginfunction($langs, $conf, (!empty($mysoc) ? $mysoc : '')); // This include http headers @@ -1303,7 +1303,7 @@ function analyseVarsForSqlAndScriptsInjection(&$var, $type) ) { $conf->dol_optimize_smallscreen = 1; - if (isset($conf->global->PRODUIT_DESC_IN_FORM) && $conf->global->PRODUIT_DESC_IN_FORM == 1) { + if (getDolGlobalInt('PRODUIT_DESC_IN_FORM') == 1) { $conf->global->PRODUIT_DESC_IN_FORM_ACCORDING_TO_DEVICE = 0; } } @@ -1663,7 +1663,7 @@ function top_htmlhead($head, $title = '', $disablejs = 0, $disablehead = 0, $arr } $hookmanager->initHooks(array("main")); - $ext = 'layout='.$conf->browser->layout.'&version='.urlencode(DOL_VERSION); + $ext = 'layout='.(empty($conf->browser->layout) ? '' : $conf->browser->layout).'&version='.urlencode(DOL_VERSION); print "\n"; @@ -1896,7 +1896,7 @@ function top_htmlhead($head, $title = '', $disablejs = 0, $disablehead = 0, $arr print ''."\n"; } // Chart - if (empty($disableforlogin) && (empty($conf->global->MAIN_JS_GRAPH) || $conf->global->MAIN_JS_GRAPH == 'chart') && !defined('DISABLE_JS_GRAPH')) { + if (empty($disableforlogin) && (empty($conf->global->MAIN_JS_GRAPH) || getDolGlobalString('MAIN_JS_GRAPH') == 'chart') && !defined('DISABLE_JS_GRAPH')) { print ''."\n"; } @@ -1936,7 +1936,7 @@ function top_htmlhead($head, $title = '', $disablejs = 0, $disablehead = 0, $arr if (!$disablejs && !empty($conf->use_javascript_ajax)) { // CKEditor - if (empty($disableforlogin) && (isModEnabled('fckeditor') && (empty($conf->global->FCKEDITOR_EDITORNAME) || $conf->global->FCKEDITOR_EDITORNAME == 'ckeditor') && !defined('DISABLE_CKEDITOR')) || defined('FORCE_CKEDITOR')) { + if (empty($disableforlogin) && (isModEnabled('fckeditor') && (empty($conf->global->FCKEDITOR_EDITORNAME) || getDolGlobalString('FCKEDITOR_EDITORNAME') == 'ckeditor') && !defined('DISABLE_CKEDITOR')) || defined('FORCE_CKEDITOR')) { print ''."\n"; $pathckeditor = DOL_URL_ROOT.'/includes/ckeditor/ckeditor/'; $jsckeditor = 'ckeditor.js'; @@ -2247,7 +2247,7 @@ function top_menu($head, $title = '', $target = '', $disablejs = 0, $disablehead // Login name with photo and tooltip $mode = -1; - $toprightmenu .= '
'; + $toprightmenu .= '
'; $toprightmenu .= '
'."\n"; @@ -2906,8 +2906,8 @@ function top_menu_search() $html = ''; $usedbyinclude = 1; - $arrayresult = null; - include DOL_DOCUMENT_ROOT.'/core/ajax/selectsearchbox.php'; // This set $arrayresult + $arrayresult = array(); + include DOL_DOCUMENT_ROOT.'/core/ajax/selectsearchbox.php'; // This sets $arrayresult // accesskey is for Windows or Linux: ALT + key for chrome, ALT + SHIFT + KEY for firefox // accesskey is for Mac: CTRL + key for all browsers @@ -2920,7 +2920,7 @@ function top_menu_search() $stringforfirstkey .= ' CTL +'; } - $searchInput = ''; + $searchInput = ''; $defaultAction = ''; $buttonList = ''; - $dropDownHtml = '