-- -- PostgreSQL database dump -- \connect - phpcompta SET search_path = public, pg_catalog; -- -- TOC entry 42 (OID 23691) -- Name: tmp_pcmn; Type: TABLE; Schema: public; Owner: phpcompta -- CREATE TABLE tmp_pcmn ( pcm_val integer NOT NULL, pcm_lib text, pcm_val_parent integer DEFAULT 0, pcm_country character(2) DEFAULT 'BE' NOT NULL ); -- -- TOC entry 43 (OID 23698) -- Name: version; Type: TABLE; Schema: public; Owner: phpcompta -- CREATE TABLE "version" ( val integer ); -- -- TOC entry 2 (OID 23700) -- Name: s_periode; Type: SEQUENCE; Schema: public; Owner: phpcompta -- CREATE SEQUENCE s_periode START 1 INCREMENT 1 MAXVALUE 9223372036854775807 MINVALUE 1 CACHE 1; -- -- TOC entry 4 (OID 23702) -- Name: s_currency; Type: SEQUENCE; Schema: public; Owner: phpcompta -- CREATE SEQUENCE s_currency START 1 INCREMENT 1 MAXVALUE 9223372036854775807 MINVALUE 1 CACHE 1; -- -- TOC entry 44 (OID 23704) -- Name: parm_money; Type: TABLE; Schema: public; Owner: phpcompta -- CREATE TABLE parm_money ( pm_id integer DEFAULT nextval('s_currency'::text), pm_code character(3) NOT NULL, pm_rate double precision ); -- -- TOC entry 45 (OID 23707) -- Name: parm_periode; Type: TABLE; Schema: public; Owner: phpcompta -- CREATE TABLE parm_periode ( p_id integer DEFAULT nextval('s_periode'::text) NOT NULL, p_start date NOT NULL, p_end date, p_exercice text DEFAULT to_char(now(), 'YYYY'::text) NOT NULL, p_closed boolean DEFAULT false ); -- -- TOC entry 6 (OID 23715) -- Name: s_jrn_def; Type: SEQUENCE; Schema: public; Owner: phpcompta -- CREATE SEQUENCE s_jrn_def START 5 INCREMENT 1 MAXVALUE 9223372036854775807 MINVALUE 1 CACHE 1; -- -- TOC entry 8 (OID 23717) -- Name: s_grpt; Type: SEQUENCE; Schema: public; Owner: phpcompta -- CREATE SEQUENCE s_grpt START 1 INCREMENT 1 MAXVALUE 9223372036854775807 MINVALUE 1 CACHE 1; -- -- TOC entry 10 (OID 23719) -- Name: s_jrn_op; Type: SEQUENCE; Schema: public; Owner: phpcompta -- CREATE SEQUENCE s_jrn_op START 1 INCREMENT 1 MAXVALUE 9223372036854775807 MINVALUE 1 CACHE 1; -- -- TOC entry 12 (OID 23721) -- Name: s_jrn; Type: SEQUENCE; Schema: public; Owner: phpcompta -- CREATE SEQUENCE s_jrn START 1 INCREMENT 1 MAXVALUE 9223372036854775807 MINVALUE 1 CACHE 1; -- -- TOC entry 46 (OID 23723) -- Name: jrn_type; Type: TABLE; Schema: public; Owner: phpcompta -- CREATE TABLE jrn_type ( jrn_type_id character(3) NOT NULL, jrn_desc text ); -- -- TOC entry 47 (OID 23728) -- Name: jrn_def; Type: TABLE; Schema: public; Owner: phpcompta -- CREATE TABLE jrn_def ( jrn_def_id integer DEFAULT nextval('s_jrn_def'::text) NOT NULL, jrn_def_name text NOT NULL, jrn_def_class_deb text, jrn_def_class_cred text, jrn_def_fiche_deb text, jrn_def_fiche_cred text, jrn_deb_max_line integer DEFAULT 1, jrn_cred_max_line integer DEFAULT 1, jrn_def_ech boolean DEFAULT false, jrn_def_ech_lib text, jrn_def_type character(3) NOT NULL, jrn_def_code text NOT NULL ); -- -- TOC entry 14 (OID 23737) -- Name: s_jrnx; Type: SEQUENCE; Schema: public; Owner: phpcompta -- CREATE SEQUENCE s_jrnx START 1 INCREMENT 1 MAXVALUE 9223372036854775807 MINVALUE 1 CACHE 1; -- -- TOC entry 48 (OID 23739) -- Name: jrn; Type: TABLE; Schema: public; Owner: phpcompta -- CREATE TABLE jrn ( jr_id integer DEFAULT nextval('s_jrn'::text) NOT NULL, jr_def_id integer NOT NULL, jr_montant double precision NOT NULL, jr_comment text, jr_date date, jr_grpt_id integer NOT NULL, jr_internal text, jr_tech_date timestamp without time zone DEFAULT now() NOT NULL, jr_tech_per integer NOT NULL, jrn_ech date, jr_ech date, jr_rapt text ); -- -- TOC entry 49 (OID 23746) -- Name: jrnx; Type: TABLE; Schema: public; Owner: phpcompta -- CREATE TABLE jrnx ( j_id integer DEFAULT nextval('s_jrn_op'::text) NOT NULL, j_date date DEFAULT now(), j_montant double precision DEFAULT 0, j_poste integer NOT NULL, j_grpt integer NOT NULL, j_rapt text, j_jrn_def integer NOT NULL, j_debit boolean DEFAULT true, j_text text, j_centralized boolean DEFAULT false, j_internal text, j_tech_user text NOT NULL, j_tech_date timestamp without time zone DEFAULT now() NOT NULL, j_tech_per integer ); -- -- TOC entry 50 (OID 23757) -- Name: user_pref; Type: TABLE; Schema: public; Owner: phpcompta -- CREATE TABLE user_pref ( pref_user text NOT NULL, pref_periode integer NOT NULL ); -- -- TOC entry 16 (OID 23762) -- Name: s_formdef; Type: SEQUENCE; Schema: public; Owner: phpcompta -- CREATE SEQUENCE s_formdef START 1 INCREMENT 1 MAXVALUE 9223372036854775807 MINVALUE 1 CACHE 1; -- -- TOC entry 18 (OID 23764) -- Name: s_form; Type: SEQUENCE; Schema: public; Owner: phpcompta -- CREATE SEQUENCE s_form START 1 INCREMENT 1 MAXVALUE 9223372036854775807 MINVALUE 1 CACHE 1; -- -- TOC entry 51 (OID 23766) -- Name: formdef; Type: TABLE; Schema: public; Owner: phpcompta -- CREATE TABLE formdef ( fr_id integer DEFAULT nextval('s_formdef'::text) NOT NULL, fr_label text ); -- -- TOC entry 52 (OID 23772) -- Name: form; Type: TABLE; Schema: public; Owner: phpcompta -- CREATE TABLE form ( fo_id integer DEFAULT nextval('s_form'::text) NOT NULL, fo_fr_id integer, fo_pos integer, fo_label text, fo_formula text ); -- -- TOC entry 20 (OID 23778) -- Name: s_isup; Type: SEQUENCE; Schema: public; Owner: phpcompta -- CREATE SEQUENCE s_isup START 1 INCREMENT 1 MAXVALUE 9223372036854775807 MINVALUE 1 CACHE 1; -- -- TOC entry 22 (OID 23780) -- Name: s_idef; Type: SEQUENCE; Schema: public; Owner: phpcompta -- CREATE SEQUENCE s_idef START 1 INCREMENT 1 MAXVALUE 9223372036854775807 MINVALUE 1 CACHE 1; -- -- TOC entry 24 (OID 23782) -- Name: s_centralized; Type: SEQUENCE; Schema: public; Owner: phpcompta -- CREATE SEQUENCE s_centralized START 1 INCREMENT 1 MAXVALUE 9223372036854775807 MINVALUE 1 CACHE 1; -- -- TOC entry 53 (OID 23784) -- Name: centralized; Type: TABLE; Schema: public; Owner: phpcompta -- CREATE TABLE centralized ( c_id integer DEFAULT nextval('s_centralized'::text) NOT NULL, c_j_id integer, c_date date NOT NULL, c_internal text NOT NULL, c_montant double precision NOT NULL, c_debit boolean DEFAULT 't', c_jrn_def integer NOT NULL, c_poste integer, c_description text, c_grp integer NOT NULL, c_comment text, c_rapt text, c_periode integer ); -- -- TOC entry 26 (OID 23791) -- Name: s_user_jrn; Type: SEQUENCE; Schema: public; Owner: phpcompta -- CREATE SEQUENCE s_user_jrn START 1 INCREMENT 1 MAXVALUE 9223372036854775807 MINVALUE 1 CACHE 1; -- -- TOC entry 28 (OID 23793) -- Name: s_user_act; Type: SEQUENCE; Schema: public; Owner: phpcompta -- CREATE SEQUENCE s_user_act START 1 INCREMENT 1 MAXVALUE 9223372036854775807 MINVALUE 1 CACHE 1; -- -- TOC entry 54 (OID 23795) -- Name: user_sec_jrn; Type: TABLE; Schema: public; Owner: phpcompta -- CREATE TABLE user_sec_jrn ( uj_id integer DEFAULT nextval('s_user_jrn'::text) NOT NULL, uj_login text, uj_jrn_id integer, uj_priv text ); -- -- TOC entry 55 (OID 23801) -- Name: action; Type: TABLE; Schema: public; Owner: phpcompta -- CREATE TABLE "action" ( ac_id integer NOT NULL, ac_description text NOT NULL ); -- -- TOC entry 56 (OID 23806) -- Name: user_sec_act; Type: TABLE; Schema: public; Owner: phpcompta -- CREATE TABLE user_sec_act ( ua_id integer DEFAULT nextval('s_user_act'::text) NOT NULL, ua_login text, ua_act_id integer ); -- -- TOC entry 30 (OID 23812) -- Name: s_jrnaction; Type: SEQUENCE; Schema: public; Owner: phpcompta -- CREATE SEQUENCE s_jrnaction START 1 INCREMENT 1 MAXVALUE 9223372036854775807 MINVALUE 1 CACHE 1; -- -- TOC entry 57 (OID 23814) -- Name: jrn_action; Type: TABLE; Schema: public; Owner: phpcompta -- CREATE TABLE jrn_action ( ja_id integer DEFAULT nextval('s_jrnaction'::text) NOT NULL, ja_name text NOT NULL, ja_desc text, ja_url text NOT NULL, ja_action text NOT NULL, ja_lang text DEFAULT 'FR', ja_jrn_type character(3) ); -- -- TOC entry 58 (OID 23821) -- Name: fiche_ref_def; Type: TABLE; Schema: public; Owner: phpcompta -- CREATE TABLE fiche_ref_def ( frd_id integer, frd_text text ); -- -- TOC entry 59 (OID 23826) -- Name: attr_valeur; Type: TABLE; Schema: public; Owner: phpcompta -- CREATE TABLE attr_valeur ( f_id integer, ad_id integer, av_text text ); -- -- TOC entry 60 (OID 23831) -- Name: jnt_fic_def_att_def; Type: TABLE; Schema: public; Owner: phpcompta -- CREATE TABLE jnt_fic_def_att_def ( fd_id integer, ad_id integer ); -- -- TOC entry 61 (OID 24630) -- Name: tva_rate; Type: TABLE; Schema: public; Owner: phpcompta -- CREATE TABLE tva_rate ( tva_id integer NOT NULL, tva_label text NOT NULL, tva_rate double precision DEFAULT 0.0 NOT NULL, tva_comment text, tva_poste text ); -- -- TOC entry 32 (OID 24640) -- Name: s_fiche; Type: SEQUENCE; Schema: public; Owner: phpcompta -- CREATE SEQUENCE s_fiche START 1 INCREMENT 1 MAXVALUE 9223372036854775807 MINVALUE 1 CACHE 1; -- -- TOC entry 34 (OID 24642) -- Name: s_fiche_def_ref; Type: SEQUENCE; Schema: public; Owner: phpcompta -- CREATE SEQUENCE s_fiche_def_ref START 1 INCREMENT 1 MAXVALUE 9223372036854775807 MINVALUE 1 CACHE 1; -- -- TOC entry 36 (OID 24644) -- Name: s_fdef; Type: SEQUENCE; Schema: public; Owner: phpcompta -- CREATE SEQUENCE s_fdef START 1 INCREMENT 1 MAXVALUE 9223372036854775807 MINVALUE 1 CACHE 1; -- -- TOC entry 38 (OID 24646) -- Name: s_attr_def; Type: SEQUENCE; Schema: public; Owner: phpcompta -- CREATE SEQUENCE s_attr_def START 1 INCREMENT 1 MAXVALUE 9223372036854775807 MINVALUE 1 CACHE 1; -- -- TOC entry 40 (OID 24648) -- Name: s_jnt_fic_att_value; Type: SEQUENCE; Schema: public; Owner: phpcompta -- CREATE SEQUENCE s_jnt_fic_att_value START 1 INCREMENT 1 MAXVALUE 9223372036854775807 MINVALUE 1 CACHE 1; -- -- TOC entry 62 (OID 24650) -- Name: fiche_def_ref; Type: TABLE; Schema: public; Owner: phpcompta -- CREATE TABLE fiche_def_ref ( frd_id integer DEFAULT nextval('s_fiche_def_ref'::text) NOT NULL, frd_text text, frd_class_base integer ); -- -- TOC entry 63 (OID 24658) -- Name: fiche_def; Type: TABLE; Schema: public; Owner: phpcompta -- CREATE TABLE fiche_def ( fd_id integer DEFAULT nextval('s_fdef'::text) NOT NULL, fd_class_base integer, fd_label text NOT NULL, fd_create_account boolean DEFAULT false, frd_id integer NOT NULL ); -- -- TOC entry 64 (OID 24680) -- Name: attr_def; Type: TABLE; Schema: public; Owner: phpcompta -- CREATE TABLE attr_def ( ad_id integer DEFAULT nextval('s_attr_def'::text) NOT NULL, ad_text text ); -- -- TOC entry 65 (OID 24688) -- Name: attr_min; Type: TABLE; Schema: public; Owner: phpcompta -- CREATE TABLE attr_min ( frd_id integer, ad_id integer ); -- -- TOC entry 66 (OID 24698) -- Name: fiche; Type: TABLE; Schema: public; Owner: phpcompta -- CREATE TABLE fiche ( f_id integer DEFAULT nextval('s_fiche'::text) NOT NULL, fd_id integer ); -- -- TOC entry 67 (OID 24707) -- Name: jnt_fic_att_value; Type: TABLE; Schema: public; Owner: phpcompta -- CREATE TABLE jnt_fic_att_value ( jft_id integer DEFAULT nextval('s_jnt_fic_att_value'::text) NOT NULL, f_id integer, ad_id integer ); -- -- TOC entry 68 (OID 24720) -- Name: attr_value; Type: TABLE; Schema: public; Owner: phpcompta -- CREATE TABLE attr_value ( jft_id integer, av_text text ); -- -- TOC entry 69 (OID 24729) -- Name: jnt_fic_attr; Type: TABLE; Schema: public; Owner: phpcompta -- CREATE TABLE jnt_fic_attr ( fd_id integer, ad_id integer ); -- -- TOC entry 70 (OID 25214) -- Name: vw_fiche_attr; Type: VIEW; Schema: public; Owner: phpcompta -- CREATE VIEW vw_fiche_attr AS SELECT a.f_id, fd_id, a.av_text AS vw_name, b.av_text AS vw_sell, c.av_text AS vw_buy, d.av_text AS tva_code, tva_id, tva_rate, tva_label, e.av_text AS vw_addr, f.av_text AS vw_cp, frd_id FROM ((((((((SELECT f_id, fd_id, av_text FROM (((fiche JOIN jnt_fic_att_value USING (f_id)) JOIN attr_value USING (jft_id)) JOIN attr_def USING (ad_id)) WHERE (ad_id = 1)) a LEFT JOIN (SELECT f_id, av_text FROM (((fiche JOIN jnt_fic_att_value USING (f_id)) JOIN attr_value USING (jft_id)) JOIN attr_def USING (ad_id)) WHERE (ad_id = 6)) b ON ((a.f_id = b.f_id))) LEFT JOIN (SELECT f_id, av_text FROM (((fiche JOIN jnt_fic_att_value USING (f_id)) JOIN attr_value USING (jft_id)) JOIN attr_def USING (ad_id)) WHERE (ad_id = 7)) c ON ((a.f_id = c.f_id))) LEFT JOIN (SELECT f_id, av_text FROM (((fiche JOIN jnt_fic_att_value USING (f_id)) JOIN attr_value USING (jft_id)) JOIN attr_def USING (ad_id)) WHERE (ad_id = 2)) d ON ((a.f_id = d.f_id))) LEFT JOIN (SELECT f_id, av_text FROM (((fiche JOIN jnt_fic_att_value USING (f_id)) JOIN attr_value USING (jft_id)) JOIN attr_def USING (ad_id)) WHERE (ad_id = 14)) e ON ((a.f_id = e.f_id))) LEFT JOIN (SELECT f_id, av_text FROM (((fiche JOIN jnt_fic_att_value USING (f_id)) JOIN attr_value USING (jft_id)) JOIN attr_def USING (ad_id)) WHERE (ad_id = 15)) f ON ((a.f_id = f.f_id))) LEFT JOIN tva_rate ON ((d.av_text = (tva_rate.tva_id)::text))) JOIN fiche_def USING (fd_id)); -- -- Data for TOC entry 95 (OID 23691) -- Name: tmp_pcmn; Type: TABLE DATA; Schema: public; Owner: phpcompta -- COPY tmp_pcmn (pcm_val, pcm_lib, pcm_val_parent, pcm_country) FROM stdin; 10 Capital 1 BE 100 Capital souscrit 10 BE 11 Prime d'émission 1 BE 12 Plus Value de réévaluation 1 BE 13 Réserve 1 BE 130 Réserve légale 13 BE 131 Réserve indisponible 13 BE 1310 Réserve pour actions propres 131 BE 1311 Autres réserves indisponibles 131 BE 132 Réserves immunisées 13 BE 133 Réserves disponibles 13 BE 14 Bénéfice ou perte reportée 1 BE 140 Bénéfice reporté 14 BE 141 Perte reportée 14 BE 15 Subside en capital 1 BE 16 Provisions pour risques et charges 1 BE 160 Provisions pour pensions et obligations similaires 16 BE 161 Provisions pour charges fiscales 16 BE 162 Provisions pour grosses réparation et gros entretien 16 BE 17 Dettes à plus d'un an 1 BE 170 Emprunts subordonnés 17 BE 1700 convertibles 170 BE 1701 non convertibles 170 BE 171 Emprunts subordonnés 17 BE 1710 convertibles 170 BE 1711 non convertibles 170 BE 172 Dettes de locations financement 17 BE 173 Etablissement de crédit 17 BE 1730 Dettes en comptes 173 BE 1731 Promesses 173 BE 1732 Crédits d'acceptation 173 BE 174 Autres emprunts 17 BE 175 Dettes commerciales 17 BE 1750 Fournisseurs 175 BE 1751 Effets à payer 175 BE 176 Acomptes reçus sur commandes 17 BE 178 Cautionnement reçus en numéraires 17 BE 179 Dettes diverses 17 BE 20 Frais d'établissement 2 BE 200 Frais de constitution et d'augmentation de capital 20 BE 201 Frais d'émission d'emprunts et primes de remboursement 20 BE 202 Autres frais d'établissement 20 BE 204 Frais de restructuration 20 BE 21 Immobilisations incorporelles 2 BE 210 Frais de recherche et de développement 21 BE 211 Concessions, brevet, licence savoir faire, marque et droit similaires 21 BE 212 Goodwill 21 BE 213 Acomptes versés 21 BE 22 Terrains et construction 2 BE 220 Terrains 22 BE 221 Construction 22 BE 222 Terrains bâtis 22 BE 223 Autres droits réels sur des immeubles 22 BE 23 Installations, machines et outillages 2 BE 24 Mobilier et Matériel roulant 2 BE 25 Immobilisations détenus en location-financement et droits similaires 2 BE 250 Terrains 25 BE 251 Construction 25 BE 252 Terrains bâtis 25 BE 253 Mobilier et matériels roulants 25 BE 26 Autres immobilisations corporelles 2 BE 27 Immobilisations corporelles en cours et acomptes versés 2 BE 28 Immobilisations financières 2 BE 280 Participation dans des entreprises liées 28 BE 2800 Valeur d'acquisition 280 BE 2801 Montants non-appelés(-) 280 BE 2808 Plus-values actées 280 BE 2809 Réductions de valeurs actées 280 BE 281 Créance sur des entreprises liées 28 BE 2810 Créance en compte 281 BE 2811 Effets à recevoir 281 BE 2812 Titre à reveny fixe 281 BE 2817 Créances douteuses 281 BE 2819 Réduction de valeurs actées 281 BE 282 Participations dans des entreprises avec lesquelles il existe un lien de participation 28 BE 2820 Valeur d'acquisition 282 BE 2821 Montants non-appelés(-) 282 BE 2828 Plus-values actées 282 BE 2829 Réductions de valeurs actées 282 BE 283 Créances sur des entreprises avec lesquelles existe un lien de participation 28 BE 2830 Créance en compte 283 BE 2831 Effets à recevoir 283 BE 2832 Titre à revenu fixe 283 BE 2837 Créances douteuses 283 BE 2839 Réduction de valeurs actées 283 BE 284 Autres actions et parts 28 BE 2840 Valeur d'acquisition 284 BE 2841 Montants non-appelés(-) 284 BE 2848 Plus-values actées 284 BE 2849 Réductions de valeurs actées 284 BE 285 Autres créances 28 BE 2850 Créance en compte 285 BE 2851 Effets à recevoir 285 BE 2852 Titre à revenu fixe 285 BE 2857 Créances douteuses 285 BE 2859 Réductions de valeurs actées 285 BE 288 Cautionnements versés en numéraires 28 BE 29 Créances à plus d'un an 2 BE 290 Créances commerciales 29 BE 2900 Clients 290 BE 2901 Effets à recevoir 290 BE 2906 Acomptes versés 290 BE 2907 Créances douteuses 290 BE 2909 Réductions de valeurs actées 290 BE 291 Autres créances 29 BE 2910 Créances en comptes 291 BE 2911 Effets à recevoir 291 BE 2917 Créances douteuses 291 BE 2919 Réductions de valeurs actées(-) 291 BE 30 Approvisionements - Matières premières 3 BE 300 Valeur d'acquisition 30 BE 309 Réductions de valeur actées 30 BE 31 Approvisionnements - fournitures 3 BE 310 Valeur d'acquisition 31 BE 319 Réductions de valeurs actées(-) 31 BE 32 En-cours de fabrication 3 BE 320 Valeurs d'acquisition 32 BE 329 Réductions de valeur actées 32 BE 33 Produits finis 3 BE 330 Valeur d'acquisition 33 BE 339 Réductions de valeur actées 33 BE 34 Marchandises 3 BE 340 Valeur d'acquisition 34 BE 349 Réductions de valeur actées 34 BE 35 Immeubles destinés à la vente 3 BE 350 Valeur d'acquisition 35 BE 359 Réductions de valeur actées 35 BE 36 Acomptes versés sur achats pour stocks 3 BE 360 Valeur d'acquisition 36 BE 369 Réductions de valeur actées 36 BE 37 Commandes en cours éxécution 3 BE 370 Valeur d'acquisition 37 BE 371 Bénéfice pris en compte 37 BE 379 Réductions de valeur actées 37 BE 40 Créances commerciales 4 BE 400 Clients 40 BE 401 Effets à recevoir 40 BE 404 Produits à recevoir 40 BE 406 Acomptes versés 40 BE 407 Créances douteuses 40 BE 409 Réductions de valeur actées 40 BE 41 Autres créances 4 BE 410 Capital appelé non versé 41 BE 411 TVA à récupérer 41 BE 412 Impôts et précomptes à récupérer 41 BE 4120 Impôt belge sur le résultat 412 BE 4121 Impôt belge sur le résultat 412 BE 4122 Impôt belge sur le résultat 412 BE 4123 Impôt belge sur le résultat 412 BE 4124 Impôt belge sur le résultat 412 BE 4125 Autres impôts et taxes belges 412 BE 4126 Autres impôts et taxes belges 412 BE 4127 Autres impôts et taxes belges 412 BE 4128 Impôts et taxes étrangers 412 BE 414 Produits à recevoir 41 BE 416 Créances diverses 41 BE 4160 Comptes de l'exploitant 416 BE 417 Créances douteuses 41 BE 418 Cautionnements versés en numéraires 41 BE 419 Réductions de valeur actées 41 BE 42 Dettes à plus dun an échéant dans l'année 4 BE 420 Emprunts subordonnés 42 BE 4200 convertibles 420 BE 4201 non convertibles 420 BE 421 Emprunts subordonnés 42 BE 4210 convertibles 420 BE 4211 non convertibles 420 BE 422 Dettes de locations financement 42 BE 423 Etablissement de crédit 42 BE 4230 Dettes en comptes 423 BE 4231 Promesses 423 BE 4232 Crédits d'acceptation 423 BE 424 Autres emprunts 42 BE 425 Dettes commerciales 42 BE 4250 Fournisseurs 425 BE 4251 Effets à payer 425 BE 426 Acomptes reçus sur commandes 42 BE 428 Cautionnement reçus en numéraires 42 BE 429 Dettes diverses 42 BE 43 Dettes financières 4 BE 430 Etablissements de crédit - Emprunts à compte à terme fixe 43 BE 431 Etablissements de crédit - Promesses 43 BE 432 Etablissements de crédit - Crédits d'acceptation 43 BE 433 Etablissements de crédit -Dettes en comptes courant 43 BE 439 Autres emprunts 43 BE 44 Dettes commerciales 4 BE 440 Fournisseurs 44 BE 441 Effets à payer 44 BE 444 Factures à recevoir 44 BE 45 Dettes fiscales, salariales et sociales 4 BE 450 Dettes fiscales estimées 45 BE 4500 Impôts belges sur le résultat 450 BE 4501 Impôts belges sur le résultat 450 BE 4502 Impôts belges sur le résultat 450 BE 4503 Impôts belges sur le résultat 450 BE 4504 Impôts belges sur le résultat 450 BE 4505 Autres impôts et taxes belges 450 BE 4506 Autres impôts et taxes belges 450 BE 4507 Autres impôts et taxes belges 450 BE 4508 Impôts et taxes étrangers 450 BE 451 TVA à payer 45 BE 452 Impôts et taxes à payer 45 BE 4520 Impôts belges sur le résultat 452 BE 4521 Impôts belges sur le résultat 452 BE 4522 Impôts belges sur le résultat 452 BE 4523 Impôts belges sur le résultat 452 BE 4524 Impôts belges sur le résultat 452 BE 4525 Autres impôts et taxes belges 452 BE 4526 Autres impôts et taxes belges 452 BE 4527 Autres impôts et taxes belges 452 BE 4528 Impôts et taxes étrangers 452 BE 453 Précomptes retenus 45 BE 454 Office National de la Sécurité Sociales 45 BE 455 Rémunérations 45 BE 456 Pécules de vacances 45 BE 459 Autres dettes sociales 45 BE 46 Acomptes reçus sur commandes 4 BE 47 Dettes découlant de l'affectation du résultat 4 BE 470 Dividendes et tantièmes d'exercices antérieurs 47 BE 471 Dividendes de l'exercice 47 BE 472 Tantièmes de l'exercice 47 BE 473 Autres allocataires 47 BE 48 Dettes diverses 4 BE 480 Obligations et coupons échus 48 BE 488 Cautionnements reçus en numéraires 48 BE 489 Autres dettes diverses 48 BE 4890 Compte de l'exploitant 489 BE 49 Comptes de régularisation 4 BE 490 Charges à reporter 49 BE 491 Produits acquis 49 BE 492 Charges à imputer 49 BE 493 Produits à reporter 49 BE 499 Comptes d'attentes 49 BE 50 Actions propres 5 BE 51 Actions et parts 5 BE 510 Valeur d'acquisition 51 BE 511 Montant non appelés 51 BE 519 Réductions de valeur actées 51 BE 52 Titres à revenu fixe 5 BE 520 Valeur d'acquisition 52 BE 529 Réductions de valeur actées 52 BE 53 Dépôts à terme 5 BE 530 de plus d'un an 53 BE 531 de plus d'un mois et d'un an au plus 53 BE 532 d'un mois au plus 53 BE 539 Réductions de valeur actées 53 BE 54 Valeurs échues à l'encaissement 5 BE 55 Etablissement de crédit 5 BE 550 Banque 1 55 BE 5500 Comptes courants 550 BE 5501 Chèques émis (-) 550 BE 5509 Réduction de valeur actée 550 BE 5510 Comptes courants 551 BE 5511 Chèques émis (-) 551 BE 5519 Réduction de valeur actée 551 BE 5520 Comptes courants 552 BE 5521 Chèques émis (-) 552 BE 5529 Réduction de valeur actée 552 BE 5530 Comptes courants 553 BE 5531 Chèques émis (-) 553 BE 5539 Réduction de valeur actée 553 BE 5540 Comptes courants 554 BE 5541 Chèques émis (-) 554 BE 5549 Réduction de valeur actée 554 BE 5550 Comptes courants 555 BE 5551 Chèques émis (-) 555 BE 5559 Réduction de valeur actée 555 BE 5560 Comptes courants 556 BE 5561 Chèques émis (-) 556 BE 5569 Réduction de valeur actée 556 BE 5570 Comptes courants 557 BE 5571 Chèques émis (-) 557 BE 5579 Réduction de valeur actée 557 BE 5580 Comptes courants 558 BE 5581 Chèques émis (-) 558 BE 5589 Réduction de valeur actée 558 BE 5590 Comptes courants 559 BE 5591 Chèques émis (-) 559 BE 5599 Réduction de valeur actée 559 BE 56 Office des chèques postaux 5 BE 560 Compte courant 56 BE 561 Chèques émis 56 BE 578 Caisse timbre 57 BE 58 Virement interne 5 BE 60 Approvisionnement et marchandises 6 BE 600 Achats de matières premières 60 BE 601 Achats de fournitures 60 BE 602 Achats de services, travaux et études 60 BE 603 Sous-traitances générales 60 BE 604 Achats de marchandises 60 BE 605 Achats d'immeubles destinés à la vente 60 BE 608 Remises, ristournes et rabais obtenus(-) 60 BE 609 Variation de stock 60 BE 6090 de matières premières 609 BE 6091 de fournitures 609 BE 6094 de marchandises 609 BE 6095 immeubles achetés destinés à la vente 609 BE 61 Services et biens divers 6 BE 62 Rémunérations, charges sociales et pensions 6 BE 620 Rémunérations et avantages sociaux directs 62 BE 6200 Administrateurs ou gérants 620 BE 6201 Personnel de directions 620 BE 6202 Employés,620 6202 BE 6203 Ouvriers 620 BE 6204 Autres membres du personnel 620 BE 621 Cotisations patronales d'assurances sociales 62 BE 622 Primes partonales pour assurances extra-légales 62 BE 623 Autres frais de personnel 62 BE 624 Pensions de retraite et de survie 62 BE 6240 Administrateurs ou gérants 624 BE 6241 Personnel 624 BE 63 Amortissements, réductions de valeurs et provisions pour risques et charges 6 BE 630 Dotations aux amortissements et réduction de valeurs sur immobilisations 63 BE 6300 Dotations aux amortissements sur frais d'établissement 630 BE 705 Ventes et prestations de services 70 BE 6301 Dotations aux amortissements sur immobilisations incorporelles 630 BE 6302 Dotations aux amortissements sur immobilisations corporelles 630 BE 6308 Dotations aux réductions de valeur sur immobilisations incorporelles 630 BE 6309 Dotations aux réductions de valeur sur immobilisations corporelles 630 BE 631 Réductions de valeur sur stocks 63 BE 6310 Dotations 631 BE 6311 Reprises(-) 631 BE 632 Réductions de valeur sur commande en cours d'éxécution 63 BE 6320 Dotations 632 BE 6321 Reprises(-) 632 BE 633 Réductions de valeurs sur créances commerciales à plus d'un an 63 BE 6330 Dotations 633 BE 6331 Reprises(-) 633 BE 634 Réductions de valeur sur créances commerciales à un an au plus 63 BE 6340 Dotations 634 BE 6341 Reprise 634 BE 635 Provisions pour pensions et obligations similaires 63 BE 6350 Dotations 635 BE 6351 Utilisation et reprises 635 BE 636 Provisions pour grosses réparations et gros entretien 63 BE 6360 Dotations 636 BE 6361 Reprises(-) 636 BE 637 Provisions pour autres risques et charges 63 BE 6370 Dotations 637 BE 6371 Reprises(-) 637 BE 64 Autres charges d'exploitation 6 BE 640 Charges fiscales d'exploitation 64 BE 641 Moins-values sur réalisations courantes d'immobilisations corporelles 64 BE 642 Moins-value sur réalisation de créances commerciales 64 BE 643 Charges d'exploitations 64 BE 644 Charges d'exploitations 64 BE 645 Charges d'exploitations 64 BE 646 Charges d'exploitations 64 BE 647 Charges d'exploitations 64 BE 648 Charges d'exploitations 64 BE 649 Charges d'exploitation portées à l'actif au titre de frais de restructuration(-) 64 BE 65 Charges financières 6 BE 650 Charges des dettes 65 BE 6500 Intérêts, commmissions et frais afférents aux dettes 650 BE 6501 Amortissements des frais d'émissions d'emrunts et des primes de remboursement 650 BE 6502 Autres charges des dettes 650 BE 6503 Intérêts intercalaires portés à l'actif(-) 650 BE 651 Réductions de valeur sur actifs circulants 65 BE 6510 Dotations 651 BE 6511 Reprises(-) 651 BE 652 Moins-value sur réalisation d'actifs circulants 65 BE 653 Charges d'escompte de créances 65 BE 654 Différences de changes 65 BE 655 Ecarts de conversion des devises 65 BE 656 Charges financières diverses 65 BE 657 Charges financières diverses 65 BE 658 Charges financières diverses 65 BE 659 Charges financières diverses 65 BE 66 Charges exceptionnelles 6 BE 660 Amortissements et réductions de valeur exceptionnels (dotations) 66 BE 6600 sur frais d'établissement 660 BE 6601 sur immobilisations incorporelles 660 BE 6602 sur immobilisations corporelles 660 BE 661 Réductions de valeur sur immobilisations financières (dotations) 66 BE 662 Provisions pour risques et charges exceptionnels 66 BE 663 Moins-values sur réalisations d'actifs immobilisés 66 BE 664 Autres charges exceptionnelles 66 BE 665 Autres charges exceptionnelles 66 BE 666 Autres charges exceptionnelles 66 BE 667 Autres charges exceptionnelles 66 BE 668 Autres charges exceptionnelles 66 BE 669 Charges exceptionnelles portées à l'actif au titre de frais de restructuration 66 BE 67 impôts sur le résultat 6 BE 670 Impôts belge sur le résultat de l'exercice 67 BE 6700 Impôts et précomptes dus ou versés 670 BE 6701 Excédents de versement d'impôts et de précomptes portés à l'actifs (-) 670 BE 6702 Charges fiscales estimées 670 BE 671 Impôts belges sur le résultats d'exercices antérieures 67 BE 6710 Suppléments d'impôt dus ou versés 671 BE 6711 Suppléments d'impôts estimés 671 BE 6712 Provisions fiscales constituées 671 BE 672 Impôts étrangers sur le résultat de l'exercice 67 BE 673 Impôts étrangers sur le résultat d'exercice antérieures 67 BE 68 Transferts aux réserves immunisées 6 BE 69 Affectations et prélévements 6 BE 690 Perte reportée de l'exercice précédent 69 BE 691 Dotation à la réserve légale 69 BE 692 Dotation aux autres réserves 69 BE 693 Bénéfice à reporter 69 BE 694 Rémunération du capital 69 BE 695 Administrateurs ou gérants 69 BE 696 Autres allocataires 69 BE 70 Chiffre d'affaire 7 BE 700 Ventes et prestations de services 70 BE 701 Ventes et prestations de services 70 BE 702 Ventes et prestations de services 70 BE 703 Ventes et prestations de services 70 BE 704 Ventes et prestations de services 70 BE 706 Ventes et prestations de services 70 BE 707 Ventes et prestations de services 70 BE 709 Remises, ristournes et rabais accordés(-) 70 BE 71 Variations des stocks et commandes en cours d'éxécution 7 BE 712 des en-cours de fabrication 71 BE 713 des produits finis 71 BE 715 des immeubles construits destinés à la vente 71 BE 717 des commandes en cours d'éxécution 71 BE 7170 Valeur d'acquisition 717 BE 7171 Bénéfice pris en compte 717 BE 72 Production immobilisée 7 BE 74 Autres produits d'exploitation 7 BE 740 Subsides d' exploitation et montants compensatoires 74 BE 741 Plus-values sur réalisation courantes d' immobilisations corporelles 74 BE 742 Plus-values sur réalisations de créances commerciales 74 BE 743 Produits d'exploitations divers 74 BE 744 Produits d'exploitations divers 74 BE 745 Produits d'exploitations divers 74 BE 746 Produits d'exploitations divers 74 BE 747 Produits d'exploitations divers 74 BE 748 Produits d'exploitations divers 74 BE 749 Produits d'exploitations divers 74 BE 75 Produits financiers 7 BE 750 Produits sur immobilisations financières 75 BE 751 Produits des actifs circulants 75 BE 752 Plus-value sur réalisations d'actis circulants 75 BE 753 Subsides en capital et intérêts 75 BE 754 Différences de change 75 BE 755 Ecarts de conversion des devises 75 BE 756 Produits financiers divers 75 BE 757 Produits financiers divers 75 BE 758 Produits financiers divers 75 BE 759 Produits financiers divers 75 BE 76 Produits exceptionnels 7 BE 760 Reprise d'amortissements et de réductions de valeur 76 BE 7601 sur immobilisations corporelles 760 BE 7602 sur immobilisations incorporelles 760 BE 761 Reprises de réductions de valeur sur immobilisations financières 76 BE 762 Reprises de provisions pour risques et charges exceptionnels 76 BE 763 Plus-value sur réalisation d'actifs immobilisé 76 BE 764 Autres produits exceptionnels 76 BE 765 Autres produits exceptionnels 76 BE 766 Autres produits exceptionnels 76 BE 767 Autres produits exceptionnels 76 BE 768 Autres produits exceptionnels 76 BE 769 Autres produits exceptionnels 76 BE 77 Régularisations d'impôts et reprises de provisions fiscales 7 BE 771 impôts belges sur le résultat 77 BE 7710 Régularisations d'impôts dus ou versé 771 BE 7711 Régularisations d'impôts estimés 771 BE 7712 Reprises de provisions fiscales 771 BE 773 Impôts étrangers sur le résultats 77 BE 79 Affectations et prélévements 7 BE 790 Bénéfice reporté de l'exercice précédent 79 BE 791 Prélévement sur le capital et les primes d'émission 79 BE 792 Prélévement sur les réserves 79 BE 793 Perte à reporter 79 BE 794 Intervention d'associés (ou du propriétaire) dans la perte 79 BE 1 Fonds propres, provisions pour risques et charges à plus d'un an 0 BE 2 Frais d'établissement, actifs immobilisés et créances à plus d'un an 0 BE 3 Stocks et commandes en cours d'éxécution 0 BE 4 Créances et dettes à un an au plus 0 BE 5 Placements de trésorerie et valeurs disponibles 0 BE 6 Charges 0 BE 7 Produits 0 BE 4000001 Client 1 400 BE 4000002 Client 2 400 BE 4000003 Client 3 400 BE 6040001 Electricité 604 BE 6040002 Loyer 604 BE 6040003 Petit matériel 604 BE 6040004 Assurance 604 BE 55000001 Caisse 5500 BE 57 Caisse 5 BE 55000002 Banque 1 5500 BE 55000003 Banque 2 5500 BE 4400001 Fournisseur 1 440 BE 4400002 Fournisseur 2 440 BE 4400003 Fournisseur 4 440 BE 610001 Electricité 61 BE 610002 Loyer 61 BE 610003 Assurance 61 BE 610004 Matériel bureau 61 BE 7000002 Marchandise A 700 BE 7000001 Prestation 700 BE 7000003 Déplacement 700 BE \. -- -- Data for TOC entry 96 (OID 23698) -- Name: version; Type: TABLE DATA; Schema: public; Owner: phpcompta -- COPY "version" (val) FROM stdin; 3 \. -- -- Data for TOC entry 97 (OID 23704) -- Name: parm_money; Type: TABLE DATA; Schema: public; Owner: phpcompta -- COPY parm_money (pm_id, pm_code, pm_rate) FROM stdin; 1 EUR 1 \. -- -- Data for TOC entry 98 (OID 23707) -- Name: parm_periode; Type: TABLE DATA; Schema: public; Owner: phpcompta -- COPY parm_periode (p_id, p_start, p_end, p_exercice, p_closed) FROM stdin; 1 2003-01-01 2003-01-31 2003 f 2 2003-02-01 2003-02-28 2003 f 3 2003-03-01 2003-03-31 2003 f 4 2003-04-01 2003-04-30 2003 f 5 2003-05-01 2003-05-31 2003 f 6 2003-06-01 2003-06-30 2003 f 7 2003-07-01 2003-07-31 2003 f 8 2003-08-01 2003-08-31 2003 f 9 2003-09-01 2003-09-30 2003 f 10 2003-10-01 2003-10-30 2003 f 11 2003-11-01 2003-11-30 2003 f 12 2003-12-01 2003-12-31 2003 f 13 2003-12-31 \N 2003 f 14 2004-01-01 2004-01-31 2004 f 15 2004-01-02 2004-02-28 2004 f 16 2004-01-03 2004-03-31 2004 f 17 2004-01-04 2004-04-30 2004 f 18 2004-01-05 2004-05-31 2004 f 19 2004-01-06 2004-06-30 2004 f 20 2004-01-07 2004-07-31 2004 f 21 2004-01-08 2004-08-31 2004 f 22 2004-01-09 2004-09-30 2004 f 23 2004-01-10 2004-10-30 2004 f 24 2004-01-11 2004-11-30 2004 f 25 2004-01-12 2004-12-31 2004 f 26 2004-12-31 \N 2004 f 28 2004-02-01 2004-02-28 2004 f 29 2004-03-01 2004-03-31 2004 f 30 2004-04-01 2004-04-30 2004 f 31 2004-05-01 2004-05-31 2004 f 32 2004-06-01 2004-06-30 2004 f 33 2004-07-01 2004-07-31 2004 f 34 2004-08-01 2004-08-31 2004 f 35 2004-09-01 2004-09-30 2004 f 36 2004-10-01 2004-10-30 2004 f 37 2004-11-01 2004-11-30 2004 f 38 2004-12-01 2004-12-31 2004 f \. -- -- Data for TOC entry 99 (OID 23723) -- Name: jrn_type; Type: TABLE DATA; Schema: public; Owner: phpcompta -- COPY jrn_type (jrn_type_id, jrn_desc) FROM stdin; FIN Financier VEN Vente ACH Achat OD Opérations Diverses \. -- -- Data for TOC entry 100 (OID 23728) -- Name: jrn_def; Type: TABLE DATA; Schema: public; Owner: phpcompta -- COPY jrn_def (jrn_def_id, jrn_def_name, jrn_def_class_deb, jrn_def_class_cred, jrn_def_fiche_deb, jrn_def_fiche_cred, jrn_deb_max_line, jrn_cred_max_line, jrn_def_ech, jrn_def_ech_lib, jrn_def_type, jrn_def_code) FROM stdin; 4 Opération Diverses \N \N \N \N 5 5 f \N OD OD-01 1 Financier 5* 5* 3,2,4 3,2,4 5 5 f \N FIN FIN-01 3 Achat 6* 4* 5 4 1 3 t échéance ACH ACH-01 2 Vente 4* 7* 2 6 2 1 t échéance VEN VEN-01 \. -- -- Data for TOC entry 101 (OID 23739) -- Name: jrn; Type: TABLE DATA; Schema: public; Owner: phpcompta -- COPY jrn (jr_id, jr_def_id, jr_montant, jr_comment, jr_date, jr_grpt_id, jr_internal, jr_tech_date, jr_tech_per, jrn_ech, jr_ech, jr_rapt) FROM stdin; \. -- -- Data for TOC entry 102 (OID 23746) -- Name: jrnx; Type: TABLE DATA; Schema: public; Owner: phpcompta -- COPY jrnx (j_id, j_date, j_montant, j_poste, j_grpt, j_rapt, j_jrn_def, j_debit, j_text, j_centralized, j_internal, j_tech_user, j_tech_date, j_tech_per) FROM stdin; \. -- -- Data for TOC entry 103 (OID 23757) -- Name: user_pref; Type: TABLE DATA; Schema: public; Owner: phpcompta -- COPY user_pref (pref_user, pref_periode) FROM stdin; dany 30 \. -- -- Data for TOC entry 104 (OID 23766) -- Name: formdef; Type: TABLE DATA; Schema: public; Owner: phpcompta -- COPY formdef (fr_id, fr_label) FROM stdin; \. -- -- Data for TOC entry 105 (OID 23772) -- Name: form; Type: TABLE DATA; Schema: public; Owner: phpcompta -- COPY form (fo_id, fo_fr_id, fo_pos, fo_label, fo_formula) FROM stdin; \. -- -- Data for TOC entry 106 (OID 23784) -- Name: centralized; Type: TABLE DATA; Schema: public; Owner: phpcompta -- COPY centralized (c_id, c_j_id, c_date, c_internal, c_montant, c_debit, c_jrn_def, c_poste, c_description, c_grp, c_comment, c_rapt, c_periode) FROM stdin; \. -- -- Data for TOC entry 107 (OID 23795) -- Name: user_sec_jrn; Type: TABLE DATA; Schema: public; Owner: phpcompta -- COPY user_sec_jrn (uj_id, uj_login, uj_jrn_id, uj_priv) FROM stdin; \. -- -- Data for TOC entry 108 (OID 23801) -- Name: action; Type: TABLE DATA; Schema: public; Owner: phpcompta -- COPY "action" (ac_id, ac_description) FROM stdin; 1 Journaux 2 Facturation 3 Fiche 4 Impression 5 Formulaire 6 Mise à jour Plan Comptable 7 Gestion Journaux 8 Paramètres 9 Sécurité 10 Centralise \. -- -- Data for TOC entry 109 (OID 23806) -- Name: user_sec_act; Type: TABLE DATA; Schema: public; Owner: phpcompta -- COPY user_sec_act (ua_id, ua_login, ua_act_id) FROM stdin; \. -- -- Data for TOC entry 110 (OID 23814) -- Name: jrn_action; Type: TABLE DATA; Schema: public; Owner: phpcompta -- COPY jrn_action (ja_id, ja_name, ja_desc, ja_url, ja_action, ja_lang, ja_jrn_type) FROM stdin; 2 Voir Voir toutes les factures user_jrn.php action=voir_jrn FR VEN 4 Voir Impayés Voir toutes les factures non payées user_jrn.php action=voir_jrn_non_paye FR VEN 6 Recherche Recherche dans le journal user_jrn.php action=search FR VEN 1 Nouvelle Création d'une facture user_jrn.php action=insert_vente&blank FR VEN 5 Impression Impression du journal impress.php filter=1&action=viewpdf&type=jrn FR VEN 10 Nouveau Encode un nouvel achat (matériel, marchandises, services et biens divers) user_jrn.php action=new&blank FR ACH 12 Voir Voir toutes les factures user_jrn.php action=voir_jrn FR ACH 14 Voir Impayés Voir toutes les factures non payées user_jrn.php action=voir_jrn_non_paye FR ACH 16 Impression Impression du journal impress.php filter=1&action=viewpdf&type=jrn FR ACH 18 Recherche Recherche dans le journal user_jrn.php action=search FR ACH 20 Nouveau Encode un nouvel achat (matériel, marchandises, services et biens divers) user_jrn.php action=new&blank FR FIN 22 Voir Voir toutes les factures user_jrn.php action=voir_jrn FR FIN 24 Impression Impression du journal impress.php filter=1&action=viewpdf&type=jrn FR FIN 26 Recherche Recherche dans le journal user_jrn.php action=search FR FIN 30 Nouveau \N user_jrn.php action=new&blank FR OD 32 Voir Voir toutes les factures user_jrn.php action=voir_jrn FR OD 34 Impression Impression du journal impress.php filter=1&action=viewpdf&type=jrn FR OD 36 Recherche Recherche dans le journal user_jrn.php action=search FR OD \. -- -- Data for TOC entry 111 (OID 23821) -- Name: fiche_ref_def; Type: TABLE DATA; Schema: public; Owner: phpcompta -- COPY fiche_ref_def (frd_id, frd_text) FROM stdin; \. -- -- Data for TOC entry 112 (OID 23826) -- Name: attr_valeur; Type: TABLE DATA; Schema: public; Owner: phpcompta -- COPY attr_valeur (f_id, ad_id, av_text) FROM stdin; \. -- -- Data for TOC entry 113 (OID 23831) -- Name: jnt_fic_def_att_def; Type: TABLE DATA; Schema: public; Owner: phpcompta -- COPY jnt_fic_def_att_def (fd_id, ad_id) FROM stdin; \. -- -- Data for TOC entry 114 (OID 24630) -- Name: tva_rate; Type: TABLE DATA; Schema: public; Owner: phpcompta -- COPY tva_rate (tva_id, tva_label, tva_rate, tva_comment, tva_poste) FROM stdin; 1 21% 0.21 Tva applicable à tout ce qui bien et service divers 411,451 3 0% 0 Tva applicable lors de vente/achat intracommunautaire 411,451 2 6% 0.06 Tva applicable aux journaux et livres 411,451 4 12% 0.12 Tva 411,451 \. -- -- Data for TOC entry 115 (OID 24650) -- Name: fiche_def_ref; Type: TABLE DATA; Schema: public; Owner: phpcompta -- COPY fiche_def_ref (frd_id, frd_text, frd_class_base) FROM stdin; 1 Vente Service 700 2 Achat Marchandises 604 3 Achat Service et biens divers 61 4 Banque 5500 5 Prêt > a un an 17 6 Prêt < a un an 430 8 Fournisseurs 440 9 Clients 400 10 Salaire Administrateur 6200 11 Salaire Ouvrier 6203 12 Salaire Employé 6202 13 Dépenses non admises 674 7 Matériel à amortir 24 14 Administration des Finances \N \. -- -- Data for TOC entry 116 (OID 24658) -- Name: fiche_def; Type: TABLE DATA; Schema: public; Owner: phpcompta -- COPY fiche_def (fd_id, fd_class_base, fd_label, fd_create_account, frd_id) FROM stdin; 2 400 Client t 9 1 604 Marchandises t 2 3 5500 Banque t 4 4 440 Fournisseur t 8 5 61 S & B D t 3 6 700 Vente t 1 \. -- -- Data for TOC entry 117 (OID 24680) -- Name: attr_def; Type: TABLE DATA; Schema: public; Owner: phpcompta -- COPY attr_def (ad_id, ad_text) FROM stdin; 1 Nom 2 Taux TVA 3 Numéro de compte 4 Nom de la banque 5 Poste Comptable 6 Prix vente 7 Prix achat 8 Durée Amortissement 9 Description 10 Date début 11 Montant initial 12 Personne de contact 13 numéro de tva 14 Adresse 15 code postale 16 pays 17 téléphone 18 email 19 Gestion stock \. -- -- Data for TOC entry 118 (OID 24688) -- Name: attr_min; Type: TABLE DATA; Schema: public; Owner: phpcompta -- COPY attr_min (frd_id, ad_id) FROM stdin; 1 1 1 2 2 1 2 2 3 1 3 2 4 1 4 3 4 4 4 12 4 13 4 14 4 15 4 16 4 17 4 18 8 1 8 12 8 13 8 14 8 15 8 16 8 17 8 18 9 1 9 12 9 13 9 14 9 15 9 16 9 17 9 18 1 6 1 7 2 6 2 7 3 7 1 19 2 19 14 1 \. -- -- Data for TOC entry 119 (OID 24698) -- Name: fiche; Type: TABLE DATA; Schema: public; Owner: phpcompta -- COPY fiche (f_id, fd_id) FROM stdin; 1 1 2 1 3 1 4 1 5 2 6 2 7 2 8 3 9 3 10 3 11 4 12 4 13 4 14 5 15 5 16 5 17 5 18 6 19 6 20 6 \. -- -- Data for TOC entry 120 (OID 24707) -- Name: jnt_fic_att_value; Type: TABLE DATA; Schema: public; Owner: phpcompta -- COPY jnt_fic_att_value (jft_id, f_id, ad_id) FROM stdin; 1 1 5 2 1 1 3 1 2 4 1 6 5 1 7 6 1 19 7 2 5 8 2 1 9 2 2 10 2 6 11 2 7 12 2 19 13 3 5 14 3 1 15 3 2 16 3 6 17 3 7 18 3 19 19 4 5 20 4 1 21 4 2 22 4 6 23 4 7 24 4 19 25 5 5 26 5 1 27 5 12 28 5 13 29 5 14 30 5 15 31 5 16 32 5 17 33 5 18 34 6 5 35 6 1 36 6 12 37 6 13 38 6 14 39 6 15 40 6 16 41 6 17 42 6 18 43 7 5 44 7 1 45 7 12 46 7 13 47 7 14 48 7 15 49 7 16 50 7 17 51 7 18 52 8 5 53 8 1 54 8 3 55 8 4 56 8 12 57 8 13 58 8 14 59 8 15 60 8 16 61 8 17 62 8 18 63 9 5 64 9 1 65 9 3 66 9 4 67 9 12 68 9 13 69 9 14 70 9 15 71 9 16 72 9 17 73 9 18 74 10 5 75 10 1 76 10 3 77 10 4 78 10 12 79 10 13 80 10 14 81 10 15 82 10 16 83 10 17 84 10 18 85 11 5 86 11 1 87 11 12 88 11 13 89 11 14 90 11 15 91 11 16 92 11 17 93 11 18 94 12 5 95 12 1 96 12 12 97 12 13 98 12 14 99 12 15 100 12 16 101 12 17 102 12 18 103 13 5 104 13 1 105 13 12 106 13 13 107 13 14 108 13 15 109 13 16 110 13 17 111 13 18 112 14 5 113 14 1 114 14 2 115 14 7 116 15 5 117 15 1 118 15 2 119 15 7 120 16 5 121 16 1 122 16 2 123 16 7 124 17 5 125 17 1 126 17 2 127 17 7 128 18 5 129 18 1 130 18 2 131 18 6 132 18 7 133 18 19 134 19 5 135 19 1 136 19 2 137 19 6 138 19 7 139 19 19 140 20 5 141 20 1 142 20 2 143 20 6 144 20 7 145 20 19 \. -- -- Data for TOC entry 121 (OID 24720) -- Name: attr_value; Type: TABLE DATA; Schema: public; Owner: phpcompta -- COPY attr_value (jft_id, av_text) FROM stdin; 25 4000001 26 Client 1 27 28 29 30 31 32 33 34 4000002 35 Client 2 36 37 38 39 40 41 42 43 4000003 44 Client 3 45 46 47 48 49 50 51 2 Marchandise A 3 1 1 6040001 4 5 6 8 Marchandise B 9 3 7 6040002 10 11 12 14 Marchandise C 15 1 13 6040003 16 17 18 20 Marchandise D 21 3 19 6040004 22 23 24 53 Caisse 54 55 52 57 56 57 58 59 60 61 62 63 55000002 64 Banque 1 65 66 67 68 69 70 71 72 73 74 55000003 75 Banque 2 76 77 78 79 80 81 82 83 84 85 4400001 86 Fournisseur 1 87 88 89 90 91 92 93 94 4400002 95 Fournisseur 2 96 97 98 99 100 101 102 103 4400003 104 Fournisseur 4 105 106 107 108 109 110 111 112 610001 113 Electricité 114 1 115 117 Loyer 118 3 116 610002 119 121 Assurance 122 3 120 610003 123 124 610004 125 Matériel bureau 126 1 127 134 7000002 135 Marchandise A 136 137 200 138 139 129 Prestation 130 1 128 7000001 131 15 132 133 140 7000003 141 Déplacement 142 143 50 144 145 \. -- -- Data for TOC entry 122 (OID 24729) -- Name: jnt_fic_attr; Type: TABLE DATA; Schema: public; Owner: phpcompta -- COPY jnt_fic_attr (fd_id, ad_id) FROM stdin; 1 5 1 1 1 2 1 6 1 7 1 19 2 5 2 1 2 12 2 13 2 14 2 15 2 16 2 17 2 18 3 5 3 1 3 3 3 4 3 12 3 13 3 14 3 15 3 16 3 17 3 18 4 5 4 1 4 12 4 13 4 14 4 15 4 16 4 17 4 18 5 5 5 1 5 2 5 7 6 5 6 1 6 2 6 6 6 7 6 19 \. -- -- TOC entry 87 (OID 24492) -- Name: x_act; Type: INDEX; Schema: public; Owner: phpcompta -- CREATE UNIQUE INDEX x_act ON "action" USING btree (ac_description); -- -- TOC entry 85 (OID 24493) -- Name: x_usr_jrn; Type: INDEX; Schema: public; Owner: phpcompta -- CREATE UNIQUE INDEX x_usr_jrn ON user_sec_jrn USING btree (uj_login, uj_jrn_id); -- -- TOC entry 71 (OID 24494) -- Name: tmp_pcmn_pkey; Type: CONSTRAINT; Schema: public; Owner: phpcompta -- ALTER TABLE ONLY tmp_pcmn ADD CONSTRAINT tmp_pcmn_pkey PRIMARY KEY (pcm_val); -- -- TOC entry 72 (OID 24496) -- Name: parm_money_pkey; Type: CONSTRAINT; Schema: public; Owner: phpcompta -- ALTER TABLE ONLY parm_money ADD CONSTRAINT parm_money_pkey PRIMARY KEY (pm_code); -- -- TOC entry 74 (OID 24498) -- Name: parm_periode_pkey; Type: CONSTRAINT; Schema: public; Owner: phpcompta -- ALTER TABLE ONLY parm_periode ADD CONSTRAINT parm_periode_pkey PRIMARY KEY (p_id); -- -- TOC entry 73 (OID 24500) -- Name: parm_periode_p_start_key; Type: CONSTRAINT; Schema: public; Owner: phpcompta -- ALTER TABLE ONLY parm_periode ADD CONSTRAINT parm_periode_p_start_key UNIQUE (p_start); -- -- TOC entry 75 (OID 24502) -- Name: jrn_type_pkey; Type: CONSTRAINT; Schema: public; Owner: phpcompta -- ALTER TABLE ONLY jrn_type ADD CONSTRAINT jrn_type_pkey PRIMARY KEY (jrn_type_id); -- -- TOC entry 77 (OID 24504) -- Name: jrn_def_pkey; Type: CONSTRAINT; Schema: public; Owner: phpcompta -- ALTER TABLE ONLY jrn_def ADD CONSTRAINT jrn_def_pkey PRIMARY KEY (jrn_def_id); -- -- TOC entry 76 (OID 24506) -- Name: jrn_def_jrn_def_name_key; Type: CONSTRAINT; Schema: public; Owner: phpcompta -- ALTER TABLE ONLY jrn_def ADD CONSTRAINT jrn_def_jrn_def_name_key UNIQUE (jrn_def_name); -- -- TOC entry 123 (OID 24508) -- Name: $1; Type: CONSTRAINT; Schema: public; Owner: phpcompta -- ALTER TABLE ONLY jrn_def ADD CONSTRAINT "$1" FOREIGN KEY (jrn_def_type) REFERENCES jrn_type(jrn_type_id) ON UPDATE NO ACTION ON DELETE NO ACTION; -- -- TOC entry 124 (OID 24512) -- Name: $1; Type: CONSTRAINT; Schema: public; Owner: phpcompta -- ALTER TABLE ONLY jrn ADD CONSTRAINT "$1" FOREIGN KEY (jr_def_id) REFERENCES jrn_def(jrn_def_id) ON UPDATE NO ACTION ON DELETE NO ACTION; -- -- TOC entry 78 (OID 24516) -- Name: jrn_pkey; Type: CONSTRAINT; Schema: public; Owner: phpcompta -- ALTER TABLE ONLY jrn ADD CONSTRAINT jrn_pkey PRIMARY KEY (jr_id, jr_def_id); -- -- TOC entry 79 (OID 24518) -- Name: jrnx_pkey; Type: CONSTRAINT; Schema: public; Owner: phpcompta -- ALTER TABLE ONLY jrnx ADD CONSTRAINT jrnx_pkey PRIMARY KEY (j_id); -- -- TOC entry 125 (OID 24520) -- Name: $1; Type: CONSTRAINT; Schema: public; Owner: phpcompta -- ALTER TABLE ONLY jrnx ADD CONSTRAINT "$1" FOREIGN KEY (j_poste) REFERENCES tmp_pcmn(pcm_val) ON UPDATE NO ACTION ON DELETE NO ACTION; -- -- TOC entry 126 (OID 24524) -- Name: $2; Type: CONSTRAINT; Schema: public; Owner: phpcompta -- ALTER TABLE ONLY jrnx ADD CONSTRAINT "$2" FOREIGN KEY (j_jrn_def) REFERENCES jrn_def(jrn_def_id) ON UPDATE NO ACTION ON DELETE NO ACTION; -- -- TOC entry 80 (OID 24528) -- Name: user_pref_pkey; Type: CONSTRAINT; Schema: public; Owner: phpcompta -- ALTER TABLE ONLY user_pref ADD CONSTRAINT user_pref_pkey PRIMARY KEY (pref_user); -- -- TOC entry 81 (OID 24530) -- Name: formdef_pkey; Type: CONSTRAINT; Schema: public; Owner: phpcompta -- ALTER TABLE ONLY formdef ADD CONSTRAINT formdef_pkey PRIMARY KEY (fr_id); -- -- TOC entry 82 (OID 24532) -- Name: form_pkey; Type: CONSTRAINT; Schema: public; Owner: phpcompta -- ALTER TABLE ONLY form ADD CONSTRAINT form_pkey PRIMARY KEY (fo_id); -- -- TOC entry 127 (OID 24534) -- Name: $1; Type: CONSTRAINT; Schema: public; Owner: phpcompta -- ALTER TABLE ONLY form ADD CONSTRAINT "$1" FOREIGN KEY (fo_fr_id) REFERENCES formdef(fr_id) ON UPDATE NO ACTION ON DELETE NO ACTION; -- -- TOC entry 83 (OID 24538) -- Name: centralized_pkey; Type: CONSTRAINT; Schema: public; Owner: phpcompta -- ALTER TABLE ONLY centralized ADD CONSTRAINT centralized_pkey PRIMARY KEY (c_id); -- -- TOC entry 128 (OID 24540) -- Name: $1; Type: CONSTRAINT; Schema: public; Owner: phpcompta -- ALTER TABLE ONLY centralized ADD CONSTRAINT "$1" FOREIGN KEY (c_jrn_def) REFERENCES jrn_def(jrn_def_id) ON UPDATE NO ACTION ON DELETE NO ACTION; -- -- TOC entry 129 (OID 24544) -- Name: $2; Type: CONSTRAINT; Schema: public; Owner: phpcompta -- ALTER TABLE ONLY centralized ADD CONSTRAINT "$2" FOREIGN KEY (c_poste) REFERENCES tmp_pcmn(pcm_val) ON UPDATE NO ACTION ON DELETE NO ACTION; -- -- TOC entry 84 (OID 24548) -- Name: user_sec_jrn_pkey; Type: CONSTRAINT; Schema: public; Owner: phpcompta -- ALTER TABLE ONLY user_sec_jrn ADD CONSTRAINT user_sec_jrn_pkey PRIMARY KEY (uj_id); -- -- TOC entry 130 (OID 24550) -- Name: $1; Type: CONSTRAINT; Schema: public; Owner: phpcompta -- ALTER TABLE ONLY user_sec_jrn ADD CONSTRAINT "$1" FOREIGN KEY (uj_jrn_id) REFERENCES jrn_def(jrn_def_id) ON UPDATE NO ACTION ON DELETE NO ACTION; -- -- TOC entry 86 (OID 24554) -- Name: action_pkey; Type: CONSTRAINT; Schema: public; Owner: phpcompta -- ALTER TABLE ONLY "action" ADD CONSTRAINT action_pkey PRIMARY KEY (ac_id); -- -- TOC entry 88 (OID 24556) -- Name: user_sec_act_pkey; Type: CONSTRAINT; Schema: public; Owner: phpcompta -- ALTER TABLE ONLY user_sec_act ADD CONSTRAINT user_sec_act_pkey PRIMARY KEY (ua_id); -- -- TOC entry 131 (OID 24558) -- Name: $1; Type: CONSTRAINT; Schema: public; Owner: phpcompta -- ALTER TABLE ONLY user_sec_act ADD CONSTRAINT "$1" FOREIGN KEY (ua_act_id) REFERENCES "action"(ac_id) ON UPDATE NO ACTION ON DELETE NO ACTION; -- -- TOC entry 89 (OID 24562) -- Name: jrn_action_pkey; Type: CONSTRAINT; Schema: public; Owner: phpcompta -- ALTER TABLE ONLY jrn_action ADD CONSTRAINT jrn_action_pkey PRIMARY KEY (ja_id); -- -- TOC entry 132 (OID 24564) -- Name: $1; Type: CONSTRAINT; Schema: public; Owner: phpcompta -- ALTER TABLE ONLY jrn_action ADD CONSTRAINT "$1" FOREIGN KEY (ja_jrn_type) REFERENCES jrn_type(jrn_type_id) ON UPDATE NO ACTION ON DELETE NO ACTION; -- -- TOC entry 90 (OID 24656) -- Name: fiche_def_ref_pkey; Type: CONSTRAINT; Schema: public; Owner: phpcompta -- ALTER TABLE ONLY fiche_def_ref ADD CONSTRAINT fiche_def_ref_pkey PRIMARY KEY (frd_id); -- -- TOC entry 91 (OID 24665) -- Name: fiche_def_pkey; Type: CONSTRAINT; Schema: public; Owner: phpcompta -- ALTER TABLE ONLY fiche_def ADD CONSTRAINT fiche_def_pkey PRIMARY KEY (fd_id); -- -- TOC entry 133 (OID 24667) -- Name: $1; Type: CONSTRAINT; Schema: public; Owner: phpcompta -- ALTER TABLE ONLY fiche_def ADD CONSTRAINT "$1" FOREIGN KEY (frd_id) REFERENCES fiche_def_ref(frd_id) ON UPDATE NO ACTION ON DELETE NO ACTION; -- -- TOC entry 92 (OID 24686) -- Name: attr_def_pkey; Type: CONSTRAINT; Schema: public; Owner: phpcompta -- ALTER TABLE ONLY attr_def ADD CONSTRAINT attr_def_pkey PRIMARY KEY (ad_id); -- -- TOC entry 134 (OID 24690) -- Name: $1; Type: CONSTRAINT; Schema: public; Owner: phpcompta -- ALTER TABLE ONLY attr_min ADD CONSTRAINT "$1" FOREIGN KEY (frd_id) REFERENCES fiche_def_ref(frd_id) ON UPDATE NO ACTION ON DELETE NO ACTION; -- -- TOC entry 135 (OID 24694) -- Name: $2; Type: CONSTRAINT; Schema: public; Owner: phpcompta -- ALTER TABLE ONLY attr_min ADD CONSTRAINT "$2" FOREIGN KEY (ad_id) REFERENCES attr_def(ad_id) ON UPDATE NO ACTION ON DELETE NO ACTION; -- -- TOC entry 93 (OID 24701) -- Name: fiche_pkey; Type: CONSTRAINT; Schema: public; Owner: phpcompta -- ALTER TABLE ONLY fiche ADD CONSTRAINT fiche_pkey PRIMARY KEY (f_id); -- -- TOC entry 136 (OID 24703) -- Name: $1; Type: CONSTRAINT; Schema: public; Owner: phpcompta -- ALTER TABLE ONLY fiche ADD CONSTRAINT "$1" FOREIGN KEY (fd_id) REFERENCES fiche_def(fd_id) ON UPDATE NO ACTION ON DELETE NO ACTION; -- -- TOC entry 94 (OID 24710) -- Name: jnt_fic_att_value_pkey; Type: CONSTRAINT; Schema: public; Owner: phpcompta -- ALTER TABLE ONLY jnt_fic_att_value ADD CONSTRAINT jnt_fic_att_value_pkey PRIMARY KEY (jft_id); -- -- TOC entry 137 (OID 24712) -- Name: $1; Type: CONSTRAINT; Schema: public; Owner: phpcompta -- ALTER TABLE ONLY jnt_fic_att_value ADD CONSTRAINT "$1" FOREIGN KEY (f_id) REFERENCES fiche(f_id) ON UPDATE NO ACTION ON DELETE NO ACTION; -- -- TOC entry 138 (OID 24716) -- Name: $2; Type: CONSTRAINT; Schema: public; Owner: phpcompta -- ALTER TABLE ONLY jnt_fic_att_value ADD CONSTRAINT "$2" FOREIGN KEY (ad_id) REFERENCES attr_def(ad_id) ON UPDATE NO ACTION ON DELETE NO ACTION; -- -- TOC entry 139 (OID 24725) -- Name: $1; Type: CONSTRAINT; Schema: public; Owner: phpcompta -- ALTER TABLE ONLY attr_value ADD CONSTRAINT "$1" FOREIGN KEY (jft_id) REFERENCES jnt_fic_att_value(jft_id) ON UPDATE NO ACTION ON DELETE NO ACTION; -- -- TOC entry 140 (OID 24731) -- Name: $1; Type: CONSTRAINT; Schema: public; Owner: phpcompta -- ALTER TABLE ONLY jnt_fic_attr ADD CONSTRAINT "$1" FOREIGN KEY (fd_id) REFERENCES fiche_def(fd_id) ON UPDATE NO ACTION ON DELETE NO ACTION; -- -- TOC entry 141 (OID 24735) -- Name: $2; Type: CONSTRAINT; Schema: public; Owner: phpcompta -- ALTER TABLE ONLY jnt_fic_attr ADD CONSTRAINT "$2" FOREIGN KEY (ad_id) REFERENCES attr_def(ad_id) ON UPDATE NO ACTION ON DELETE NO ACTION; -- -- TOC entry 3 (OID 23700) -- Name: s_periode; Type: SEQUENCE SET; Schema: public; Owner: phpcompta -- SELECT pg_catalog.setval ('s_periode', 39, true); -- -- TOC entry 5 (OID 23702) -- Name: s_currency; Type: SEQUENCE SET; Schema: public; Owner: phpcompta -- SELECT pg_catalog.setval ('s_currency', 1, true); -- -- TOC entry 7 (OID 23715) -- Name: s_jrn_def; Type: SEQUENCE SET; Schema: public; Owner: phpcompta -- SELECT pg_catalog.setval ('s_jrn_def', 5, false); -- -- TOC entry 9 (OID 23717) -- Name: s_grpt; Type: SEQUENCE SET; Schema: public; Owner: phpcompta -- SELECT pg_catalog.setval ('s_grpt', 1, false); -- -- TOC entry 11 (OID 23719) -- Name: s_jrn_op; Type: SEQUENCE SET; Schema: public; Owner: phpcompta -- SELECT pg_catalog.setval ('s_jrn_op', 1, false); -- -- TOC entry 13 (OID 23721) -- Name: s_jrn; Type: SEQUENCE SET; Schema: public; Owner: phpcompta -- SELECT pg_catalog.setval ('s_jrn', 1, false); -- -- TOC entry 15 (OID 23737) -- Name: s_jrnx; Type: SEQUENCE SET; Schema: public; Owner: phpcompta -- SELECT pg_catalog.setval ('s_jrnx', 1, false); -- -- TOC entry 17 (OID 23762) -- Name: s_formdef; Type: SEQUENCE SET; Schema: public; Owner: phpcompta -- SELECT pg_catalog.setval ('s_formdef', 1, false); -- -- TOC entry 19 (OID 23764) -- Name: s_form; Type: SEQUENCE SET; Schema: public; Owner: phpcompta -- SELECT pg_catalog.setval ('s_form', 1, false); -- -- TOC entry 21 (OID 23778) -- Name: s_isup; Type: SEQUENCE SET; Schema: public; Owner: phpcompta -- SELECT pg_catalog.setval ('s_isup', 1, false); -- -- TOC entry 23 (OID 23780) -- Name: s_idef; Type: SEQUENCE SET; Schema: public; Owner: phpcompta -- SELECT pg_catalog.setval ('s_idef', 1, false); -- -- TOC entry 25 (OID 23782) -- Name: s_centralized; Type: SEQUENCE SET; Schema: public; Owner: phpcompta -- SELECT pg_catalog.setval ('s_centralized', 1, false); -- -- TOC entry 27 (OID 23791) -- Name: s_user_jrn; Type: SEQUENCE SET; Schema: public; Owner: phpcompta -- SELECT pg_catalog.setval ('s_user_jrn', 1, false); -- -- TOC entry 29 (OID 23793) -- Name: s_user_act; Type: SEQUENCE SET; Schema: public; Owner: phpcompta -- SELECT pg_catalog.setval ('s_user_act', 1, false); -- -- TOC entry 31 (OID 23812) -- Name: s_jrnaction; Type: SEQUENCE SET; Schema: public; Owner: phpcompta -- SELECT pg_catalog.setval ('s_jrnaction', 5, true); -- -- TOC entry 33 (OID 24640) -- Name: s_fiche; Type: SEQUENCE SET; Schema: public; Owner: phpcompta -- SELECT pg_catalog.setval ('s_fiche', 20, true); -- -- TOC entry 35 (OID 24642) -- Name: s_fiche_def_ref; Type: SEQUENCE SET; Schema: public; Owner: phpcompta -- SELECT pg_catalog.setval ('s_fiche_def_ref', 1, false); -- -- TOC entry 37 (OID 24644) -- Name: s_fdef; Type: SEQUENCE SET; Schema: public; Owner: phpcompta -- SELECT pg_catalog.setval ('s_fdef', 6, true); -- -- TOC entry 39 (OID 24646) -- Name: s_attr_def; Type: SEQUENCE SET; Schema: public; Owner: phpcompta -- SELECT pg_catalog.setval ('s_attr_def', 1, false); -- -- TOC entry 41 (OID 24648) -- Name: s_jnt_fic_att_value; Type: SEQUENCE SET; Schema: public; Owner: phpcompta -- SELECT pg_catalog.setval ('s_jnt_fic_att_value', 145, true);