mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 09:38:23 +01:00
* NEW Accountancy - Add the possibility to have multiple personalized reports - SQL Part * NEW Accountancy - Add the possibility to have multiple personalized reports - SQL Part * Use -modulename in naming of table
28 lines
1.2 KiB
SQL
28 lines
1.2 KiB
SQL
-- ===================================================================
|
|
-- Copyright (C) 2024 Alexandre Spangaro <alexandre@inovea-conseil.com>
|
|
--
|
|
-- 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 <https://www.gnu.org/licenses/>.
|
|
--
|
|
-- Table for personalized report for category of accounting account
|
|
-- ===================================================================
|
|
|
|
CREATE TABLE llx_c_accounting_report (
|
|
rowid integer NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
|
entity integer NOT NULL DEFAULT 1,
|
|
code varchar(16) NOT NULL,
|
|
label varchar(255) NOT NULL,
|
|
fk_country integer DEFAULT NULL, -- This report is dedicated to a country
|
|
active integer DEFAULT 1
|
|
) ENGINE=innodb;
|