llx_accounting_abc.sql 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. -- Copyright (C) 2001-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
  2. -- Copyright (C) 2003 Jean-Louis Bergamo <jlb@j1b.org>
  3. -- Copyright (C) 2004-2009 Laurent Destailleur <eldy@users.sourceforge.net>
  4. -- Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
  5. -- Copyright (C) 2004 Guillaume Delecourt <guillaume.delecourt@opensides.be>
  6. -- Copyright (C) 2005-2009 Regis Houssin <regis.houssin@inodbox.com>
  7. -- Copyright (C) 2007 Patrick Raguin <patrick.raguin@gmail.com>
  8. -- Copyright (C) 2011-2022 Alexandre Spangaro <aspangaro@open-dsi.fr>
  9. -- Copyright (C) 2015-2017 Juanjo Menent <jmenent@2byte.es>
  10. -- Copyright (C) 2018 Abbes bahfir <dolipar@dolipar.org>
  11. -- Copyright (C) 2020 Udo Tamm <dev@dolibit.de>
  12. --
  13. --
  14. --------------------------------------------------------------------------------------
  15. -- License
  16. -- #######
  17. -- This program is free software; you can redistribute it and/or modify
  18. -- it under the terms of the GNU General Public License as published by
  19. -- the Free Software Foundation; either version 3 of the License, or
  20. -- (at your option) any later version.
  21. --
  22. -- This program is distributed in the hope that it will be useful,
  23. -- but WITHOUT ANY WARRANTY; without even the implied warranty of
  24. -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  25. -- GNU General Public License for more details.
  26. --
  27. -- You should have received a copy of the GNU General Public License
  28. -- along with this program. If not, see <https://www.gnu.org/licenses/>.
  29. --
  30. --------------------------------------------------------------------------------------
  31. -- Comment
  32. -- #######
  33. -- (EN)
  34. -- Do not place a comment at the end of the line, this file is parsed at the end of the line.
  35. -- from the install and all '--' are removed.
  36. --
  37. -- (FR)
  38. -- Ne pas placer de commentaire en fin de ligne, ce fichier est parsé lors
  39. -- de l'install et tous les sigles '--' sont supprimés.
  40. --
  41. --------------------------------------------------------------------------------------
  42. -- PCG = Plan Comptable Général (FR) - General Accounting Plan (EN)
  43. --------------------------------------------------------------------------------------
  44. -- Accounting Journals
  45. INSERT INTO llx_accounting_journal (code, label, nature, active, entity) VALUES ('VT', 'ACCOUNTING_SELL_JOURNAL', 2, 1, 1);
  46. INSERT INTO llx_accounting_journal (code, label, nature, active, entity) VALUES ('AC', 'ACCOUNTING_PURCHASE_JOURNAL', 3, 1, 1);
  47. INSERT INTO llx_accounting_journal (code, label, nature, active, entity) VALUES ('BQ', 'FinanceJournal', 4, 1, 1);
  48. INSERT INTO llx_accounting_journal (code, label, nature, active, entity) VALUES ('OD', 'ACCOUNTING_MISCELLANEOUS_JOURNAL', 1, 1, 1);
  49. INSERT INTO llx_accounting_journal (code, label, nature, active, entity) VALUES ('AN', 'ACCOUNTING_HAS_NEW_JOURNAL', 9, 1, 1);
  50. INSERT INTO llx_accounting_journal (code, label, nature, active, entity) VALUES ('ER', 'ExpenseReportsJournal', 5, 1, 1);
  51. INSERT INTO llx_accounting_journal (code, label, nature, active, entity) VALUES ('INV', 'InventoryJournal', 8, 1, 1);
  52. -- Accounting Charts / Plans (Templates) for Countries
  53. -- Description of chart of account FR PCG99-ABREGE
  54. INSERT INTO llx_accounting_system (fk_country, pcg_version, label, active) VALUES ( 1, 'PCG99-ABREGE', 'The simple accountancy french plan', 1);
  55. -- Description of chart of account FR PCG99-BASE
  56. INSERT INTO llx_accounting_system (fk_country, pcg_version, label, active) VALUES ( 1, 'PCG99-BASE', 'The base accountancy french plan', 1);
  57. -- Description of chart of account FR PCG14-DEV
  58. INSERT INTO llx_accounting_system (fk_country, pcg_version, label, active) VALUES ( 1, 'PCG14-DEV', 'The developed accountancy french plan 2014', 1);
  59. -- Description of chart of account FR PCG18-ASSOC
  60. INSERT INTO llx_accounting_system (fk_country, pcg_version, label, active) VALUES ( 1, 'PCG18-ASSOC', 'French foundation chart of accounts 2018', 1);
  61. -- Description of chart of account FR PCGAFR14-DEV
  62. INSERT INTO llx_accounting_system (fk_country, pcg_version, label, active) VALUES ( 1, 'PCGAFR14-DEV', 'The developed farm accountancy french plan 2014', 1);
  63. -- Description of chart of account BE PCMN-BASE
  64. INSERT INTO llx_accounting_system (fk_country, pcg_version, label, active) VALUES ( 2, 'PCMN-BASE', 'The base accountancy belgium plan', 1);
  65. -- Description of chart of account ES PCG08-PYME
  66. INSERT INTO llx_accounting_system (fk_country, pcg_version, label, active) VALUES ( 4, 'PCG08-PYME', 'The PYME accountancy spanish plan', 1);
  67. -- Description of chart of account DE SKR-03
  68. INSERT INTO llx_accounting_system (fk_country, pcg_version, label, active) VALUES ( 5, 'SKR03', 'Standardkontenrahmen SKR 03', 1);
  69. -- Description of chart of account DE SKR-04
  70. INSERT INTO llx_accounting_system (fk_country, pcg_version, label, active) VALUES ( 5, 'SKR04', 'Standardkontenrahmen SKR 04', 1);
  71. -- Description of chart of account CH PCG_SUISSE
  72. INSERT INTO llx_accounting_system (fk_country, pcg_version, label, active) VALUES ( 6, 'PCG_SUISSE', 'Switzerland plan', 1);
  73. -- Description of chart of account GB ENG-BASE
  74. INSERT INTO llx_accounting_system (fk_country, pcg_version, label, active) VALUES ( 7, 'ENG-BASE', 'England plan', 1);
  75. -- Description of chart of account TN PCT
  76. INSERT INTO llx_accounting_system (fk_country, pcg_version, label, active) VALUES ( 10, 'PCT', 'The Tunisia plan', 1);
  77. -- Description of chart of account MA PCG
  78. INSERT INTO llx_accounting_system (fk_country, pcg_version, label, active) VALUES ( 12, 'PCG', 'The Moroccan chart of accounts', 1);
  79. -- Description of chart of account DZ NSCF
  80. INSERT INTO llx_accounting_system (fk_country, pcg_version, label, active) VALUES ( 13, 'NSCF', 'Nouveau système comptable financier', 1);
  81. -- Description of chart of account NL NL-VERKORT
  82. INSERT INTO llx_accounting_system (fk_country, pcg_version, label, active) VALUES ( 17, 'NL-VERKORT', 'Verkort rekeningschema', 1);
  83. -- Description of chart of account SE BAS-K1-MINI
  84. INSERT INTO llx_accounting_system (fk_country, pcg_version, label, active) VALUES ( 20, 'BAS-K1-MINI', 'The Swedish mini chart of accounts', 1);
  85. -- Description of chart of account AT AT-BASE
  86. INSERT INTO llx_accounting_system (fk_country, pcg_version, label, active) VALUES ( 41, 'AT-BASE', 'Plan Austria', 1);
  87. -- Description of chart of account CL CL-PYME
  88. INSERT INTO llx_accounting_system (fk_country, pcg_version, label, active) VALUES ( 67, 'PC-MIPYME', 'The PYME accountancy Chile plan', 1);
  89. -- Description of chart of account DK DK-STD
  90. INSERT INTO llx_accounting_system (fk_country, pcg_version, label, active) VALUES ( 80, 'DK-STD', 'Standardkontoplan fra SKAT', 1);
  91. -- Description of chart of account EC EC-SUPERCIAS
  92. INSERT INTO llx_accounting_system (fk_country, pcg_version, label, active) VALUES ( 84, 'EC-SUPERCIAS', 'Plan de cuentas Ecuador', 1);
  93. -- Description of chart of account LU PCN2020-LUXEMBURG
  94. INSERT INTO llx_accounting_system (fk_country, pcg_version, label, active) VALUES (140, 'PCN2020-LUXEMBURG', 'Plan comptable normalisé 2020 Luxembourgeois', 1);
  95. -- Description of chart of account RO RO-BASE
  96. INSERT INTO llx_accounting_system (fk_country, pcg_version, label, active) VALUES (188, 'RO-BASE', 'Plan de conturi romanesc', 1);
  97. --DELETE FROM llx_accounting_system WHERE pcg_version = 'SYSCOHADA';
  98. -- Plans SYSCOAHA Western Africa -- sorted alphabetical by countries abbreviations
  99. -- Description of chart of account BJ SYSCOHADA
  100. INSERT INTO llx_accounting_system (fk_country, pcg_version, label, active) VALUES ( 49,'SYSCOHADA-BJ', 'Plan comptable Ouest-Africain', 1);
  101. -- Description of chart of account BF SYSCOHADA
  102. INSERT INTO llx_accounting_system (fk_country, pcg_version, label, active) VALUES ( 60,'SYSCOHADA-BF', 'Plan comptable Ouest-Africain', 1);
  103. -- Description of chart of account CD SYSCOHADA
  104. INSERT INTO llx_accounting_system (fk_country, pcg_version, label, active) VALUES ( 73,'SYSCOHADA-CD', 'Plan comptable Ouest-Africain', 1);
  105. -- Description of chart of account CF SYSCOHADA
  106. INSERT INTO llx_accounting_system (fk_country, pcg_version, label, active) VALUES ( 65,'SYSCOHADA-CF', 'Plan comptable Ouest-Africain', 1);
  107. -- Description of chart of account CG SYSCOHADA
  108. INSERT INTO llx_accounting_system (fk_country, pcg_version, label, active) VALUES ( 72,'SYSCOHADA-CG', 'Plan comptable Ouest-Africain', 1);
  109. -- Description of chart of account CI SYSCOHADA
  110. INSERT INTO llx_accounting_system (fk_country, pcg_version, label, active) VALUES ( 21,'SYSCOHADA-CI', 'Plan comptable Ouest-Africain', 1);
  111. -- Description of chart of account CM SYSCOHADA
  112. INSERT INTO llx_accounting_system (fk_country, pcg_version, label, active) VALUES ( 24,'SYSCOHADA-CM', 'Plan comptable Ouest-Africain', 1);
  113. -- Description of chart of account GA SYSCOHADA
  114. INSERT INTO llx_accounting_system (fk_country, pcg_version, label, active) VALUES ( 16,'SYSCOHADA-GA', 'Plan comptable Ouest-Africain', 1);
  115. -- Description of chart of account GQ SYSCOHADA
  116. INSERT INTO llx_accounting_system (fk_country, pcg_version, label, active) VALUES ( 87,'SYSCOHADA-GQ', 'Plan comptable Ouest-Africain', 1);
  117. -- Description of chart of account KM SYSCOHADA
  118. INSERT INTO llx_accounting_system (fk_country, pcg_version, label, active) VALUES ( 71,'SYSCOHADA-KM', 'Plan comptable Ouest-Africain', 1);
  119. -- Description of chart of account ML SYSCOHADA
  120. INSERT INTO llx_accounting_system (fk_country, pcg_version, label, active) VALUES (147,'SYSCOHADA-ML', 'Plan comptable Ouest-Africain', 1);
  121. -- Description of chart of account NE SYSCOHADA
  122. INSERT INTO llx_accounting_system (fk_country, pcg_version, label, active) VALUES (168,'SYSCOHADA-NE', 'Plan comptable Ouest-Africain', 1);
  123. -- Description of chart of account SN SYSCOHADA
  124. INSERT INTO llx_accounting_system (fk_country, pcg_version, label, active) VALUES ( 22,'SYSCOHADA-SN', 'Plan comptable Ouest-Africain', 1);
  125. -- Description of chart of account TD SYSCOHADA
  126. INSERT INTO llx_accounting_system (fk_country, pcg_version, label, active) VALUES ( 66,'SYSCOHADA-TD', 'Plan comptable Ouest-Africain', 1);
  127. -- Description of chart of account TG SYSCOHADA
  128. INSERT INTO llx_accounting_system (fk_country, pcg_version, label, active) VALUES ( 15,'SYSCOHADA-TG', 'Plan comptable Ouest-Africain', 1);
  129. -- Description of chart of account USA US-BASE
  130. INSERT INTO llx_accounting_system (fk_country, pcg_version, label, active) VALUES ( 11, 'US-BASE', 'USA basic chart of accounts', 1);
  131. -- Description of chart of account USA US-GAAP-BASIC
  132. INSERT INTO llx_accounting_system (fk_country, pcg_version, label, active) VALUES ( 11, 'US-GAAP-BASIC', 'USA GAAP basic chart of accounts', 1);
  133. -- Description of chart of account Canada CA-ENG-BASE
  134. INSERT INTO llx_accounting_system (fk_country, pcg_version, label, active) VALUES ( 14, 'CA-ENG-BASE', 'Canadian basic chart of accounts - English', 1);
  135. -- Description of chart of account Mexico SAT/24-2019
  136. INSERT INTO llx_accounting_system (fk_country, pcg_version, label, active) VALUES ( 154, 'SAT/24-2019', 'Catalogo y codigo agrupador fiscal del 2019', 1);
  137. -- Description of chart of account Japan JPN-BASE
  138. INSERT INTO llx_accounting_system (fk_country, pcg_version, label, active) VALUES ( 123, 'JPN-BASE', '日本 勘定科目表 基本版', 1);