[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpcompta-dev] r4833 - phpcompta/branches/rel601-ovh/contrib/mono-dossi
From: |
phpcompta-dev |
Subject: |
[Phpcompta-dev] r4833 - phpcompta/branches/rel601-ovh/contrib/mono-dossier |
Date: |
Tue, 15 May 2012 16:38:06 +0200 (CEST) |
Author: danydb
Date: 2012-05-15 16:38:05 +0200 (Tue, 15 May 2012)
New Revision: 4833
Modified:
phpcompta/branches/rel601-ovh/contrib/mono-dossier/mono-belge.sql
phpcompta/branches/rel601-ovh/contrib/mono-dossier/mono-france.sql
Log:
replace copy by insert
Modified: phpcompta/branches/rel601-ovh/contrib/mono-dossier/mono-belge.sql
===================================================================
--- phpcompta/branches/rel601-ovh/contrib/mono-dossier/mono-belge.sql
2012-05-15 11:38:45 UTC (rev 4832)
+++ phpcompta/branches/rel601-ovh/contrib/mono-dossier/mono-belge.sql
2012-05-15 14:38:05 UTC (rev 4833)
@@ -419,7 +419,7 @@
AS $$
begin
insert into fiche_detail (f_id,ad_id, ad_value) values
(p_f_id,p_ad_id,p_value);
-
+
return;
end;
$$;
@@ -497,29 +497,29 @@
CREATE FUNCTION check_balance(p_grpt integer) RETURNS numeric
LANGUAGE plpgsql
AS $$
-declare
+declare
amount_jrnx_debit numeric;
amount_jrnx_credit numeric;
amount_jrn numeric;
begin
- select sum (j_montant) into amount_jrnx_credit
- from jrnx
- where
+ select sum (j_montant) into amount_jrnx_credit
+ from jrnx
+ where
j_grpt=p_grpt
and j_debit=false;
- select sum (j_montant) into amount_jrnx_debit
- from jrnx
- where
+ select sum (j_montant) into amount_jrnx_debit
+ from jrnx
+ where
j_grpt=p_grpt
and j_debit=true;
- select jr_montant into amount_jrn
+ select jr_montant into amount_jrn
from jrn
where
jr_grpt_id=p_grpt;
- if ( amount_jrnx_debit != amount_jrnx_credit )
+ if ( amount_jrnx_debit != amount_jrnx_credit )
then
return abs(amount_jrnx_debit-amount_jrnx_credit);
end if;
@@ -561,7 +561,7 @@
max_sequence := 0;
end if;
raise notice 'Max value of the sequence is %', max_sequence;
- max_sequence:= max_sequence +1;
+ max_sequence:= max_sequence +1;
execute 'alter sequence '||p_sequence||' restart with '||max_sequence;
return 0;
@@ -612,7 +612,7 @@
CREATE FUNCTION drop_index(p_constraint character varying) RETURNS void
LANGUAGE plpgsql
AS $$
-declare
+declare
nCount integer;
begin
select count(*) into nCount from pg_indexes where
indexname=p_constraint;
@@ -630,7 +630,7 @@
CREATE FUNCTION drop_it(p_constraint character varying) RETURNS void
LANGUAGE plpgsql
AS $$
-declare
+declare
nCount integer;
begin
select count(*) into nCount from pg_constraint where
conname=p_constraint;
@@ -707,17 +707,17 @@
begin
open list_missing;
loop
-
+
fetch list_missing into rec;
IF NOT FOUND then
exit;
end if;
-
+
-- now we insert into attr_value
insert into fiche_detail (f_id,ad_id,ad_value) values
(rec.f_id,rec.ad_id,null);
end loop;
close list_missing;
-end;
+end;
$$;
@@ -763,15 +763,15 @@
select p_value into sCassa from parm_code where p_code='CAISSE';
select p_value into sSupplier from parm_code where p_code='SUPPLIER';
select p_value into sCustomer from parm_code where p_code='CUSTOMER';
-
- for rec in select jr_id,jr_grpt_id from jrn
+
+ for rec in select jr_id,jr_grpt_id from jrn
where jr_def_id in (select jrn_def_id from jrn_def where
jrn_def_type='FIN')
and jr_id not in (select jr_id from quant_fin)
loop
-- there are only 2 lines for bank operations
-- first debit
select count(j_id) into nCount from jrnx where
j_grpt=rec.jr_grpt_id;
- if nCount > 2 then
+ if nCount > 2 then
raise notice 'Trop de valeur pour jr_grpt_id % count
%',rec.jr_grpt_id,nCount;
return;
end if;
@@ -783,7 +783,7 @@
select f_id into nBank from vw_poste_qcode where
j_qcode=recBank.j_qcode;
if recBank.j_debit = false then
nAmount=recBank.j_montant*(-1);
- else
+ else
nAmount=recBank.j_montant;
end if;
else
@@ -794,13 +794,13 @@
insert into quant_fin
(jr_id,qf_bank,qf_other,qf_amount) values (rec.jr_id,nBank,nOther,nAmount);
end if;
end loop;
- for rec in select jr_id,jr_grpt_id from jrn
+ for rec in select jr_id,jr_grpt_id from jrn
where jr_def_id in (select jrn_def_id from jrn_def where
jrn_def_type='FIN') and jr_id not in (select jr_id from quant_fin)
loop
-- there are only 2 lines for bank operations
-- first debit
select count(j_id) into nCount from jrnx where
j_grpt=rec.jr_grpt_id;
- if nCount > 2 then
+ if nCount > 2 then
raise notice 'Trop de valeur pour jr_grpt_id % count
%',rec.jr_grpt_id,nCount;
return;
end if;
@@ -812,7 +812,7 @@
select f_id into nBank from vw_poste_qcode where
j_qcode=recBank.j_qcode;
if recBank.j_debit = false then
nAmount=recBank.j_montant*(-1);
- else
+ else
nAmount=recBank.j_montant;
end if;
else
@@ -824,13 +824,13 @@
end if;
end loop;
- for rec in select jr_id,jr_grpt_id from jrn
+ for rec in select jr_id,jr_grpt_id from jrn
where jr_def_id in (select jrn_def_id from jrn_def where
jrn_def_type='FIN') and jr_id not in (select jr_id from quant_fin)
loop
-- there are only 2 lines for bank operations
-- first debit
select count(j_id) into nCount from jrnx where
j_grpt=rec.jr_grpt_id;
- if nCount > 2 then
+ if nCount > 2 then
raise notice 'Trop de valeur pour jr_grpt_id % count
%',rec.jr_grpt_id,nCount;
return;
end if;
@@ -842,19 +842,19 @@
select f_id into nSupp_Cust from vw_poste_qcode where
j_qcode=recSupp_Cust.j_qcode;
if recSupp_Cust.j_debit = true then
nAmount=recSupp_Cust.j_montant*(-1);
- else
+ else
nAmount=recSupp_Cust.j_montant;
end if;
else if recSupp_Cust.j_poste like sCustomer||'%' then
select f_id into nSupp_Cust from vw_poste_qcode where
j_qcode=recSupp_Cust.j_qcode;
if recSupp_Cust.j_debit = false then
nAmount=recSupp_Cust.j_montant*(-1);
- else
+ else
nAmount=recSupp_Cust.j_montant;
end if;
else
select f_id into nOther from vw_poste_qcode where
j_qcode=recSupp_Cust.j_qcode;
-
+
end if;
end if;
end loop;
@@ -862,13 +862,13 @@
insert into quant_fin
(jr_id,qf_bank,qf_other,qf_amount) values (rec.jr_id,nOther,nSupp_Cust,nAmount);
end if;
end loop;
- for rec in select jr_id,jr_grpt_id from jrn
+ for rec in select jr_id,jr_grpt_id from jrn
where jr_def_id in (select jrn_def_id from jrn_def where
jrn_def_type='FIN') and jr_id not in (select jr_id from quant_fin)
loop
-- there are only 2 lines for bank operations
-- first debit
select count(j_id) into nCount from jrnx where
j_grpt=rec.jr_grpt_id;
- if nCount > 2 then
+ if nCount > 2 then
raise notice 'Trop de valeur pour jr_grpt_id % count
%',rec.jr_grpt_id,nCount;
return;
end if;
@@ -880,13 +880,13 @@
select f_id into nSupp_Cust from vw_poste_qcode where
j_qcode=recSupp_Cust.j_qcode;
if recSupp_Cust.j_debit = false then
nAmount=recSupp_Cust.j_montant*(-1);
- else
+ else
nAmount=recSupp_Cust.j_montant;
end if;
else
select f_id into nOther from vw_poste_qcode where
j_qcode=recSupp_Cust.j_qcode;
-
-
+
+
end if;
end loop;
if nSupp_Cust != 0 and nOther != 0 then
@@ -1104,7 +1104,7 @@
CREATE FUNCTION group_analytic_ins_upd() RETURNS trigger
LANGUAGE plpgsql
AS $$
-declare
+declare
name text;
begin
name:=upper(NEW.ga_id);
@@ -1161,7 +1161,7 @@
CREATE FUNCTION info_def_ins_upd() RETURNS trigger
LANGUAGE plpgsql
AS $$
-declare
+declare
row_info_def info_def%ROWTYPE;
str_type text;
begin
@@ -1305,7 +1305,7 @@
begin
tText := upper(trim(tav_text));
tText := replace(tText,' ','');
-
+
loop
-- take the next sequence
select nextval('s_jnt_fic_att_value') into ns;
@@ -1313,9 +1313,9 @@
tText := 'FID'||ns;
end if;
-- av_text already used ?
- select count(*) into nExist
+ select count(*) into nExist
from fiche_detail
- where
+ where
ad_id=23 and ad_value=upper(tText);
if nExist = 0 then
@@ -1395,16 +1395,16 @@
delete from jrn_note where jr_id= p_jrid;
return;
end if;
-
+
select n_id into tmp from jrn_note where jr_id = p_jrid;
-
+
if FOUND then
update jrn_note set n_text=trim(p_note) where jr_id = p_jrid;
- else
+ else
insert into jrn_note (jr_id,n_text) values ( p_jrid, p_note);
end if;
-
+
return;
end;
$$;
@@ -1483,7 +1483,7 @@
CREATE FUNCTION jrn_def_delete() RETURNS trigger
LANGUAGE plpgsql
AS $$
-declare
+declare
nb numeric;
begin
select count(*) into nb from jrn where jr_def_id=OLD.jrn_def_id;
@@ -1525,7 +1525,7 @@
jr_pj_name,
jr_pj_type,
jr_pj_number,
- del_jrn_date)
+ del_jrn_date)
select jr_id,
jr_def_id,
jr_montant,
@@ -1565,10 +1565,10 @@
insert into del_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, j_qcode, f_id) SELECT 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_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, j_qcode, f_id) SELECT 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, j_qcode, f_id from jrnx where j_id=row.j_id;
return row;
end;
@@ -1622,8 +1622,8 @@
row jrnx%ROWTYPE;
begin
row:=OLD;
-delete from jnt_letter
- where (jl_id in (select jl_id from letter_deb) and jl_id not in(select
jl_id from letter_cred ))
+delete from jnt_letter
+ where (jl_id in (select jl_id from letter_deb) and jl_id not in(select
jl_id from letter_cred ))
or (jl_id not in (select jl_id from letter_deb ) and jl_id
in(select jl_id from letter_cred ));
return row;
end;
@@ -1662,7 +1662,7 @@
begin
name:=upper(NEW.po_name);
name:=trim(name);
-name:=replace(name,' ','');
+name:=replace(name,' ','');
NEW.po_name:=name;
if NEW.ga_id is NULL then
@@ -1688,7 +1688,7 @@
CREATE FUNCTION proc_check_balance() RETURNS trigger
LANGUAGE plpgsql
AS $$
-declare
+declare
diff numeric;
tt integer;
begin
@@ -1745,7 +1745,7 @@
CREATE FUNCTION t_document_modele_validate() RETURNS trigger
LANGUAGE plpgsql
AS $$
-declare
+declare
lText text;
modified document_modele%ROWTYPE;
begin
@@ -1805,7 +1805,7 @@
nCounter integer;
BEGIN
- select count(*) into nCounter
+ select count(*) into nCounter
from pg_class where relname='s_jrn_'||NEW.jrn_def_id;
if nCounter = 0 then
execute 'create sequence s_jrn_'||NEW.jrn_def_id;
@@ -1849,7 +1849,7 @@
sResult := sWhere || sql_from || sAnd || sql_to;
for ret in EXECUTE 'SELECT po.po_id,
- po.pa_id, po.po_name,
+ po.pa_id, po.po_name,
po.po_description,sum(
CASE
WHEN operation_analytique.oa_debit = true THEN
operation_analytique.oa_amount * (-1)::numeric
@@ -2020,7 +2020,7 @@
CREATE FUNCTION tva_delete(integer) RETURNS void
LANGUAGE plpgsql
- AS $_$
+ AS $_$
declare
p_tva_id alias for $1;
nCount integer;
@@ -2029,12 +2029,12 @@
select count(*) into nCount from quant_sold where qs_vat_code=p_tva_id;
if nCount != 0 then
return;
-
+
end if;
select count(*) into nCount from quant_purchase where
qp_vat_code=p_tva_id;
if nCount != 0 then
return;
-
+
end if;
delete from tva_rate where tva_id=p_tva_id;
@@ -2141,39 +2141,39 @@
if tav_text = upper( trim(old_qcode)) then
return 0;
end if;
-
+
tText := trim(upper(tav_text));
tText := replace(tText,' ','');
if length ( tText) = 0 or tText is null then
return 0;
end if;
-
+
ns := njft_id;
loop
-- av_text already used ?
- select count(*) into nExist
+ select count(*) into nExist
from fiche_detail
- where
+ where
ad_id=23 and ad_value=tText;
if nExist = 0 then
exit;
- end if;
+ end if;
if tText = 'FID'||ns then
-- take the next sequence
select nextval('s_jnt_fic_att_value') into ns;
end if;
tText :='FID'||ns;
-
+
end loop;
update fiche_detail set ad_value = tText where jft_id=njft_id;
-- update also the contact
- update fiche_detail set ad_value = tText
- where jft_id in
- ( select jft_id
- from fiche_detail
+ update fiche_detail set ad_value = tText
+ where jft_id in
+ ( select jft_id
+ from fiche_detail
where ad_id=25 and ad_value=old_qcode);
@@ -2251,7 +2251,7 @@
select jr_internal,j_id,j_montant into r_new
from jrnx join jrn on (j_grpt=jr_grpt_id)
- where
+ where
j_jrn_def=r_jrnx.j_jrn_def
and j_id not in (select j_id from quant_purchase)
and j_qcode=s_QuickCode
@@ -2261,7 +2261,7 @@
if NOT FOUND then
raise notice 'error not found %', r_invalid.j_id;
update quant_purchase set qp_valid='Y' where qp_id=r_invalid.qp_id;
- continue;
+ continue;
end if;
raise notice 'j_id % found amount %',r_new.j_id,r_new.j_montant;
@@ -2306,7 +2306,7 @@
select jr_internal,j_id,j_montant into r_new
from jrnx join jrn on (j_grpt=jr_grpt_id)
- where
+ where
j_jrn_def=r_jrnx.j_jrn_def
and j_id not in (select j_id from quant_sold)
and j_qcode=s_QuickCode
@@ -2335,7 +2335,7 @@
SET default_with_oids = true;
--
--- Name: action; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: action; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE action (
@@ -2363,7 +2363,7 @@
SET default_with_oids = false;
--
--- Name: action_detail; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: action_detail; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE action_detail (
@@ -2483,7 +2483,7 @@
SET default_with_oids = true;
--
--- Name: action_gestion; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: action_gestion; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE action_gestion (
@@ -2604,7 +2604,7 @@
--
--- Name: attr_def; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: attr_def; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE attr_def (
@@ -2623,7 +2623,7 @@
--
--- Name: attr_min; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: attr_min; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE attr_min (
@@ -2661,7 +2661,7 @@
SET default_with_oids = false;
--
--- Name: bilan; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: bilan; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE bilan (
@@ -2775,7 +2775,7 @@
SET default_with_oids = true;
--
--- Name: centralized; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: centralized; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE centralized (
@@ -2806,7 +2806,7 @@
SET default_with_oids = false;
--
--- Name: del_action; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: del_action; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE del_action (
@@ -2843,7 +2843,7 @@
--
--- Name: del_jrn; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: del_jrn; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE del_jrn (
@@ -2898,7 +2898,7 @@
--
--- Name: del_jrnx; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: del_jrnx; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE del_jrnx (
@@ -2970,7 +2970,7 @@
SET default_with_oids = true;
--
--- Name: document; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: document; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE document (
@@ -3010,7 +3010,7 @@
--
--- Name: document_modele; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: document_modele; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE document_modele (
@@ -3077,7 +3077,7 @@
--
--- Name: document_state; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: document_state; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE document_state (
@@ -3113,7 +3113,7 @@
--
--- Name: document_type; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: document_type; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE document_type (
@@ -3132,7 +3132,7 @@
SET default_with_oids = false;
--
--- Name: extension; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: extension; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE extension (
@@ -3223,7 +3223,7 @@
SET default_with_oids = true;
--
--- Name: fiche; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: fiche; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE fiche (
@@ -3240,7 +3240,7 @@
--
--- Name: fiche_def; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: fiche_def; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE fiche_def (
@@ -3260,7 +3260,7 @@
--
--- Name: fiche_def_ref; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: fiche_def_ref; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE fiche_def_ref (
@@ -3278,7 +3278,7 @@
--
--- Name: fiche_detail; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: fiche_detail; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE fiche_detail (
@@ -3299,7 +3299,7 @@
SET default_with_oids = false;
--
--- Name: forecast; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: forecast; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE forecast (
@@ -3318,7 +3318,7 @@
--
--- Name: forecast_cat; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: forecast_cat; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE forecast_cat (
@@ -3410,7 +3410,7 @@
--
--- Name: forecast_item; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: forecast_item; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE forecast_item (
@@ -3511,7 +3511,7 @@
SET default_with_oids = true;
--
--- Name: form; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: form; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE form (
@@ -3531,7 +3531,7 @@
--
--- Name: formdef; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: formdef; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE formdef (
@@ -3543,7 +3543,7 @@
SET default_with_oids = false;
--
--- Name: groupe_analytique; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: groupe_analytique; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE groupe_analytique (
@@ -3573,7 +3573,7 @@
--
--- Name: info_def; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: info_def; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE info_def (
@@ -3611,7 +3611,7 @@
SET default_with_oids = true;
--
--- Name: jnt_fic_attr; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: jnt_fic_attr; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE jnt_fic_attr (
@@ -3632,7 +3632,7 @@
SET default_with_oids = false;
--
--- Name: jnt_letter; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: jnt_letter; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE jnt_letter (
@@ -3670,7 +3670,7 @@
SET default_with_oids = true;
--
--- Name: jrn; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: jrn; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE jrn (
@@ -3705,7 +3705,7 @@
--
--- Name: jrn_action; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: jrn_action; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE jrn_action (
@@ -3727,7 +3727,7 @@
--
--- Name: jrn_def; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: jrn_def; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE jrn_def (
@@ -3759,7 +3759,7 @@
SET default_with_oids = false;
--
--- Name: jrn_info; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: jrn_info; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE jrn_info (
@@ -3797,7 +3797,7 @@
--
--- Name: jrn_note; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: jrn_note; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE jrn_note (
@@ -3841,7 +3841,7 @@
--
--- Name: jrn_periode; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: jrn_periode; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE jrn_periode (
@@ -3854,7 +3854,7 @@
SET default_with_oids = true;
--
--- Name: jrn_rapt; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: jrn_rapt; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE jrn_rapt (
@@ -3872,7 +3872,7 @@
--
--- Name: jrn_type; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: jrn_type; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE jrn_type (
@@ -3889,7 +3889,7 @@
--
--- Name: jrnx; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: jrnx; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE jrnx (
@@ -3922,7 +3922,7 @@
SET default_with_oids = false;
--
--- Name: letter_cred; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: letter_cred; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE letter_cred (
@@ -3959,7 +3959,7 @@
--
--- Name: letter_deb; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: letter_deb; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE letter_deb (
@@ -3996,7 +3996,7 @@
--
--- Name: menu_ref; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: menu_ref; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE menu_ref (
@@ -4050,7 +4050,7 @@
--
--- Name: mod_payment; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: mod_payment; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE mod_payment (
@@ -4123,7 +4123,7 @@
--
--- Name: op_predef; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: op_predef; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE op_predef (
@@ -4177,7 +4177,7 @@
--
--- Name: op_predef_detail; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: op_predef_detail; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE op_predef_detail (
@@ -4221,7 +4221,7 @@
--
--- Name: operation_analytique; Type: TABLE; Schema: public; Owner: -;
Tablespace:
+-- Name: operation_analytique; Type: TABLE; Schema: public; Owner: -;
Tablespace:
--
CREATE TABLE operation_analytique (
@@ -4248,7 +4248,7 @@
SET default_with_oids = true;
--
--- Name: parameter; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: parameter; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE parameter (
@@ -4265,7 +4265,7 @@
--
--- Name: parm_code; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: parm_code; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE parm_code (
@@ -4276,7 +4276,7 @@
--
--- Name: parm_money; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: parm_money; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE parm_money (
@@ -4294,7 +4294,7 @@
--
--- Name: parm_periode; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: parm_periode; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE parm_periode (
@@ -4318,7 +4318,7 @@
SET default_with_oids = false;
--
--- Name: parm_poste; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: parm_poste; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE parm_poste (
@@ -4354,7 +4354,7 @@
--
--- Name: plan_analytique; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: plan_analytique; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE plan_analytique (
@@ -4391,7 +4391,7 @@
--
--- Name: poste_analytique; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: poste_analytique; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE poste_analytique (
@@ -4412,7 +4412,7 @@
--
--- Name: profile; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: profile; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE profile (
@@ -4460,7 +4460,7 @@
--
--- Name: profile_menu; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: profile_menu; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE profile_menu (
@@ -4545,7 +4545,7 @@
--
--- Name: profile_menu_type; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: profile_menu_type; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE profile_menu_type (
@@ -4581,7 +4581,7 @@
--
--- Name: profile_user; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: profile_user; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE profile_user (
@@ -4639,7 +4639,7 @@
--
--- Name: quant_fin; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: quant_fin; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE quant_fin (
@@ -4685,7 +4685,7 @@
--
--- Name: quant_purchase; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: quant_purchase; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE quant_purchase (
@@ -4717,7 +4717,7 @@
SET default_with_oids = true;
--
--- Name: quant_sold; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: quant_sold; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE quant_sold (
@@ -5712,7 +5712,7 @@
--
--- Name: stock_goods; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: stock_goods; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE stock_goods (
@@ -5739,7 +5739,7 @@
--
--- Name: tmp_pcmn; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: tmp_pcmn; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE tmp_pcmn (
@@ -5779,7 +5779,7 @@
SET default_with_oids = false;
--
--- Name: todo_list; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: todo_list; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE todo_list (
@@ -5801,7 +5801,7 @@
SET default_with_oids = true;
--
--- Name: tva_rate; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: tva_rate; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE tva_rate (
@@ -5822,7 +5822,7 @@
--
--- Name: user_local_pref; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: user_local_pref; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE user_local_pref (
@@ -5861,7 +5861,7 @@
--
--- Name: user_sec_act; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: user_sec_act; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE user_sec_act (
@@ -5874,7 +5874,7 @@
SET default_with_oids = false;
--
--- Name: user_sec_extension; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: user_sec_extension; Type: TABLE; Schema: public; Owner: -;
Tablespace:
--
CREATE TABLE user_sec_extension (
@@ -5921,7 +5921,7 @@
SET default_with_oids = true;
--
--- Name: user_sec_jrn; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: user_sec_jrn; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE user_sec_jrn (
@@ -5941,7 +5941,7 @@
--
--- Name: version; Type: TABLE; Schema: public; Owner: -; Tablespace:
+-- Name: version; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE version (
@@ -6149,1792 +6149,1666 @@
-- Data for Name: action; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY action (ac_id, ac_description, ac_module, ac_code) FROM stdin;
-800 Ajout de fiche fiche FICADD
-805 Création, modification et effacement de fiche fiche FIC
-910 création, modification et effacement de catégorie de fiche fiche
FICCAT
-1020 Effacer les documents du suivi followup RMDOC
-1010 Voir les documents du suivi followup VIEWDOC
-1050 Modifier le type de document followup PARCATDOC
-\.
+INSERT INTO action VALUES (800, 'Ajout de fiche', 'fiche', 'FICADD');
+INSERT INTO action VALUES (805, 'Création, modification et effacement de
fiche', 'fiche', 'FIC');
+INSERT INTO action VALUES (910, 'création, modification et effacement de
catégorie de fiche', 'fiche', 'FICCAT');
+INSERT INTO action VALUES (1020, 'Effacer les documents du suivi', 'followup',
'RMDOC');
+INSERT INTO action VALUES (1010, 'Voir les documents du suivi', 'followup',
'VIEWDOC');
+INSERT INTO action VALUES (1050, 'Modifier le type de document', 'followup',
'PARCATDOC');
--
-- Data for Name: action_detail; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY action_detail (ad_id, f_id, ad_text, ad_pu, ad_quant, ad_tva_id,
ad_tva_amount, ad_total_amount, ag_id) FROM stdin;
-\.
--
-- Data for Name: action_gestion; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY action_gestion (ag_id, ag_type, f_id_dest, ag_title, ag_timestamp,
ag_cal, ag_ref_ag_id, ag_comment, ag_ref, ag_hour, ag_priority, ag_dest,
ag_owner, ag_contact, ag_state) FROM stdin;
-\.
--
-- Data for Name: attr_def; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY attr_def (ad_id, ad_text, ad_type, ad_size) FROM stdin;
-20 Partie fiscalement non déductible numeric 22
-10 Date début date 8
-6 Prix vente numeric 6
-7 Prix achat numeric 6
-8 Durée Amortissement numeric 6
-11 Montant initial numeric 6
-21 TVA non déductible numeric 6
-22 TVA non déductible récupérable par l'impôt numeric 6
-1 Nom text 22
-2 Taux TVA text 22
-3 Numéro de compte text 22
-4 Nom de la banque text 22
-5 Poste Comptable text 22
-9 Description text 22
-12 Personne de contact text 22
-13 numéro de tva text 22
-14 Adresse text 22
-16 pays text 22
-17 téléphone text 22
-18 email text 22
-19 Gestion stock text 22
-23 Quick Code text 22
-24 Ville text 22
-25 Société text 22
-26 Fax text 22
-27 GSM text 22
-15 code postal text 22
-30 Numero de client text 22
-32 Prénom text 22
-31 Dépense charge du grant (partie privé) text 22
-50 Contrepartie pour TVA récup par impot poste 22
-51 Contrepartie pour TVA non Ded. poste 22
-52 Contrepartie pour dépense à charge du gérant poste 22
-53 Contrepartie pour dépense fiscal. non déd. poste 22
-\.
+INSERT INTO attr_def VALUES (20, 'Partie fiscalement non déductible',
'numeric', '22');
+INSERT INTO attr_def VALUES (10, 'Date début', 'date', '8');
+INSERT INTO attr_def VALUES (6, 'Prix vente', 'numeric', '6');
+INSERT INTO attr_def VALUES (7, 'Prix achat', 'numeric', '6');
+INSERT INTO attr_def VALUES (8, 'Durée Amortissement', 'numeric', '6');
+INSERT INTO attr_def VALUES (11, 'Montant initial', 'numeric', '6');
+INSERT INTO attr_def VALUES (21, 'TVA non déductible', 'numeric', '6');
+INSERT INTO attr_def VALUES (22, 'TVA non déductible récupérable par
l''impôt', 'numeric', '6');
+INSERT INTO attr_def VALUES (1, 'Nom', 'text', '22');
+INSERT INTO attr_def VALUES (2, 'Taux TVA', 'text', '22');
+INSERT INTO attr_def VALUES (3, 'Numéro de compte', 'text', '22');
+INSERT INTO attr_def VALUES (4, 'Nom de la banque', 'text', '22');
+INSERT INTO attr_def VALUES (5, 'Poste Comptable', 'text', '22');
+INSERT INTO attr_def VALUES (9, 'Description', 'text', '22');
+INSERT INTO attr_def VALUES (12, 'Personne de contact ', 'text', '22');
+INSERT INTO attr_def VALUES (13, 'numéro de tva ', 'text', '22');
+INSERT INTO attr_def VALUES (14, 'Adresse ', 'text', '22');
+INSERT INTO attr_def VALUES (16, 'pays ', 'text', '22');
+INSERT INTO attr_def VALUES (17, 'téléphone ', 'text', '22');
+INSERT INTO attr_def VALUES (18, 'email ', 'text', '22');
+INSERT INTO attr_def VALUES (19, 'Gestion stock', 'text', '22');
+INSERT INTO attr_def VALUES (23, 'Quick Code', 'text', '22');
+INSERT INTO attr_def VALUES (24, 'Ville', 'text', '22');
+INSERT INTO attr_def VALUES (25, 'Société', 'text', '22');
+INSERT INTO attr_def VALUES (26, 'Fax', 'text', '22');
+INSERT INTO attr_def VALUES (27, 'GSM', 'text', '22');
+INSERT INTO attr_def VALUES (15, 'code postal', 'text', '22');
+INSERT INTO attr_def VALUES (30, 'Numero de client', 'text', '22');
+INSERT INTO attr_def VALUES (32, 'Prénom', 'text', '22');
+INSERT INTO attr_def VALUES (31, 'Dépense charge du grant (partie privé) ',
'text', '22');
+INSERT INTO attr_def VALUES (50, 'Contrepartie pour TVA récup par impot',
'poste', '22');
+INSERT INTO attr_def VALUES (51, 'Contrepartie pour TVA non Ded.', 'poste',
'22');
+INSERT INTO attr_def VALUES (52, 'Contrepartie pour dépense à charge du
gérant', 'poste', '22');
+INSERT INTO attr_def VALUES (53, 'Contrepartie pour dépense fiscal. non déd.',
'poste', '22');
--
-- Data for Name: attr_min; Type: TABLE DATA; Schema: public; Owner: -
--
-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 16
-9 17
-9 18
-1 6
-1 7
-2 6
-2 7
-3 7
-1 19
-2 19
-14 1
-5 1
-5 4
-5 10
-5 12
-6 1
-6 4
-6 10
-6 12
-10 1
-10 12
-11 1
-11 12
-12 1
-12 12
-13 1
-13 9
-7 1
-7 8
-7 9
-7 10
-5 11
-6 11
-1 15
-9 15
-15 1
-15 9
-1 23
-2 23
-3 23
-4 23
-5 23
-6 23
-8 23
-9 23
-10 23
-11 23
-12 23
-13 23
-14 23
-15 23
-7 23
-9 24
-8 24
-14 24
-16 1
-16 17
-16 18
-16 25
-16 26
-16 27
-16 23
-25 1
-25 4
-25 3
-25 5
-25 15
-25 16
-25 24
-25 23
-2 30
-\.
+INSERT INTO attr_min VALUES (1, 1);
+INSERT INTO attr_min VALUES (1, 2);
+INSERT INTO attr_min VALUES (2, 1);
+INSERT INTO attr_min VALUES (2, 2);
+INSERT INTO attr_min VALUES (3, 1);
+INSERT INTO attr_min VALUES (3, 2);
+INSERT INTO attr_min VALUES (4, 1);
+INSERT INTO attr_min VALUES (4, 3);
+INSERT INTO attr_min VALUES (4, 4);
+INSERT INTO attr_min VALUES (4, 12);
+INSERT INTO attr_min VALUES (4, 13);
+INSERT INTO attr_min VALUES (4, 14);
+INSERT INTO attr_min VALUES (4, 15);
+INSERT INTO attr_min VALUES (4, 16);
+INSERT INTO attr_min VALUES (4, 17);
+INSERT INTO attr_min VALUES (4, 18);
+INSERT INTO attr_min VALUES (8, 1);
+INSERT INTO attr_min VALUES (8, 12);
+INSERT INTO attr_min VALUES (8, 13);
+INSERT INTO attr_min VALUES (8, 14);
+INSERT INTO attr_min VALUES (8, 15);
+INSERT INTO attr_min VALUES (8, 16);
+INSERT INTO attr_min VALUES (8, 17);
+INSERT INTO attr_min VALUES (8, 18);
+INSERT INTO attr_min VALUES (9, 1);
+INSERT INTO attr_min VALUES (9, 12);
+INSERT INTO attr_min VALUES (9, 13);
+INSERT INTO attr_min VALUES (9, 14);
+INSERT INTO attr_min VALUES (9, 16);
+INSERT INTO attr_min VALUES (9, 17);
+INSERT INTO attr_min VALUES (9, 18);
+INSERT INTO attr_min VALUES (1, 6);
+INSERT INTO attr_min VALUES (1, 7);
+INSERT INTO attr_min VALUES (2, 6);
+INSERT INTO attr_min VALUES (2, 7);
+INSERT INTO attr_min VALUES (3, 7);
+INSERT INTO attr_min VALUES (1, 19);
+INSERT INTO attr_min VALUES (2, 19);
+INSERT INTO attr_min VALUES (14, 1);
+INSERT INTO attr_min VALUES (5, 1);
+INSERT INTO attr_min VALUES (5, 4);
+INSERT INTO attr_min VALUES (5, 10);
+INSERT INTO attr_min VALUES (5, 12);
+INSERT INTO attr_min VALUES (6, 1);
+INSERT INTO attr_min VALUES (6, 4);
+INSERT INTO attr_min VALUES (6, 10);
+INSERT INTO attr_min VALUES (6, 12);
+INSERT INTO attr_min VALUES (10, 1);
+INSERT INTO attr_min VALUES (10, 12);
+INSERT INTO attr_min VALUES (11, 1);
+INSERT INTO attr_min VALUES (11, 12);
+INSERT INTO attr_min VALUES (12, 1);
+INSERT INTO attr_min VALUES (12, 12);
+INSERT INTO attr_min VALUES (13, 1);
+INSERT INTO attr_min VALUES (13, 9);
+INSERT INTO attr_min VALUES (7, 1);
+INSERT INTO attr_min VALUES (7, 8);
+INSERT INTO attr_min VALUES (7, 9);
+INSERT INTO attr_min VALUES (7, 10);
+INSERT INTO attr_min VALUES (5, 11);
+INSERT INTO attr_min VALUES (6, 11);
+INSERT INTO attr_min VALUES (1, 15);
+INSERT INTO attr_min VALUES (9, 15);
+INSERT INTO attr_min VALUES (15, 1);
+INSERT INTO attr_min VALUES (15, 9);
+INSERT INTO attr_min VALUES (1, 23);
+INSERT INTO attr_min VALUES (2, 23);
+INSERT INTO attr_min VALUES (3, 23);
+INSERT INTO attr_min VALUES (4, 23);
+INSERT INTO attr_min VALUES (5, 23);
+INSERT INTO attr_min VALUES (6, 23);
+INSERT INTO attr_min VALUES (8, 23);
+INSERT INTO attr_min VALUES (9, 23);
+INSERT INTO attr_min VALUES (10, 23);
+INSERT INTO attr_min VALUES (11, 23);
+INSERT INTO attr_min VALUES (12, 23);
+INSERT INTO attr_min VALUES (13, 23);
+INSERT INTO attr_min VALUES (14, 23);
+INSERT INTO attr_min VALUES (15, 23);
+INSERT INTO attr_min VALUES (7, 23);
+INSERT INTO attr_min VALUES (9, 24);
+INSERT INTO attr_min VALUES (8, 24);
+INSERT INTO attr_min VALUES (14, 24);
+INSERT INTO attr_min VALUES (16, 1);
+INSERT INTO attr_min VALUES (16, 17);
+INSERT INTO attr_min VALUES (16, 18);
+INSERT INTO attr_min VALUES (16, 25);
+INSERT INTO attr_min VALUES (16, 26);
+INSERT INTO attr_min VALUES (16, 27);
+INSERT INTO attr_min VALUES (16, 23);
+INSERT INTO attr_min VALUES (25, 1);
+INSERT INTO attr_min VALUES (25, 4);
+INSERT INTO attr_min VALUES (25, 3);
+INSERT INTO attr_min VALUES (25, 5);
+INSERT INTO attr_min VALUES (25, 15);
+INSERT INTO attr_min VALUES (25, 16);
+INSERT INTO attr_min VALUES (25, 24);
+INSERT INTO attr_min VALUES (25, 23);
+INSERT INTO attr_min VALUES (2, 30);
--
-- Data for Name: bilan; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY bilan (b_id, b_name, b_file_template, b_file_form, b_type) FROM stdin;
-1 Bilan Belge complet document/fr_be/bnb.rtf document/fr_be/bnb.form
RTF
-\.
+INSERT INTO bilan VALUES (1, 'Bilan Belge complet', 'document/fr_be/bnb.rtf',
'document/fr_be/bnb.form', 'RTF');
--
-- Data for Name: centralized; Type: TABLE DATA; Schema: public; Owner: -
--
-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,
c_order) FROM stdin;
-\.
--
-- Data for Name: del_action; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY del_action (del_id, del_name, del_time) FROM stdin;
-\.
--
-- Data for Name: del_jrn; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY del_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, jr_valid,
jr_opid, jr_c_opid, jr_pj, jr_pj_name, jr_pj_type, del_jrn_date, jr_pj_number,
dj_id) FROM stdin;
-\.
--
-- Data for Name: del_jrnx; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY del_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, j_qcode, djx_id, f_id) FROM stdin;
-\.
--
-- Data for Name: document; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY document (d_id, ag_id, d_lob, d_number, d_filename, d_mimetype) FROM
stdin;
-\.
--
-- Data for Name: document_modele; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY document_modele (md_id, md_name, md_lob, md_type, md_filename,
md_mimetype, md_affect) FROM stdin;
-\.
--
-- Data for Name: document_state; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY document_state (s_id, s_value) FROM stdin;
-1 Clôturé
-2 A suivre
-3 A faire
-4 Abandonné
-\.
+INSERT INTO document_state VALUES (1, 'Clôturé');
+INSERT INTO document_state VALUES (2, 'A suivre');
+INSERT INTO document_state VALUES (3, 'A faire');
+INSERT INTO document_state VALUES (4, 'Abandonné');
--
-- Data for Name: document_type; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY document_type (dt_id, dt_value) FROM stdin;
-1 Document Interne
-2 Bons de commande client
-3 Bon de commande Fournisseur
-4 Facture
-5 Lettre de rappel
-6 Courrier
-7 Proposition
-8 Email
-9 Divers
-10 Note de frais
-20 Réception commande Fournisseur
-21 Réception commande Client
-22 Réception magazine
-\.
+INSERT INTO document_type VALUES (1, 'Document Interne');
+INSERT INTO document_type VALUES (2, 'Bons de commande client');
+INSERT INTO document_type VALUES (3, 'Bon de commande Fournisseur');
+INSERT INTO document_type VALUES (4, 'Facture');
+INSERT INTO document_type VALUES (5, 'Lettre de rappel');
+INSERT INTO document_type VALUES (6, 'Courrier');
+INSERT INTO document_type VALUES (7, 'Proposition');
+INSERT INTO document_type VALUES (8, 'Email');
+INSERT INTO document_type VALUES (9, 'Divers');
+INSERT INTO document_type VALUES (10, 'Note de frais');
+INSERT INTO document_type VALUES (20, 'Réception commande Fournisseur');
+INSERT INTO document_type VALUES (21, 'Réception commande Client');
+INSERT INTO document_type VALUES (22, 'Réception magazine');
+--
+-- Data for Name: extension; Type: TABLE DATA; Schema: public; Owner: -
+--
+INSERT INTO extension VALUES (1, 'Module de TVA', 'TVA', 'Cette extension
permet de faire les listings et declarations TVA', 'tva/index.php', 'Y');
+
+
--
-- Data for Name: fiche; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY fiche (f_id, fd_id) FROM stdin;
-\.
--
-- Data for Name: fiche_def; Type: TABLE DATA; Schema: public; Owner: -
--
-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
-\.
+INSERT INTO fiche_def VALUES (2, '400', 'Client', true, 9);
+INSERT INTO fiche_def VALUES (1, '604', 'Marchandises', true, 2);
+INSERT INTO fiche_def VALUES (3, '5500', 'Banque', true, 4);
+INSERT INTO fiche_def VALUES (4, '440', 'Fournisseur', true, 8);
+INSERT INTO fiche_def VALUES (5, '61', 'S & B D', true, 3);
+INSERT INTO fiche_def VALUES (6, '700', 'Vente', true, 1);
--
-- Data for Name: fiche_def_ref; Type: TABLE DATA; Schema: public; Owner: -
--
-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
-14 Administration des Finances \N
-15 Autres fiches \N
-7 Matériel à amortir 2400
-16 Contact \N
-25 Compte Salarié / Administrateur \N
-\.
+INSERT INTO fiche_def_ref VALUES (1, 'Vente Service', '700');
+INSERT INTO fiche_def_ref VALUES (2, 'Achat Marchandises', '604');
+INSERT INTO fiche_def_ref VALUES (3, 'Achat Service et biens divers', '61');
+INSERT INTO fiche_def_ref VALUES (4, 'Banque', '5500');
+INSERT INTO fiche_def_ref VALUES (5, 'Prêt > a un an', '17');
+INSERT INTO fiche_def_ref VALUES (6, 'Prêt < a un an', '430');
+INSERT INTO fiche_def_ref VALUES (8, 'Fournisseurs', '440');
+INSERT INTO fiche_def_ref VALUES (9, 'Clients', '400');
+INSERT INTO fiche_def_ref VALUES (10, 'Salaire Administrateur', '6200');
+INSERT INTO fiche_def_ref VALUES (11, 'Salaire Ouvrier', '6203');
+INSERT INTO fiche_def_ref VALUES (12, 'Salaire Employé', '6202');
+INSERT INTO fiche_def_ref VALUES (13, 'Dépenses non admises', '674');
+INSERT INTO fiche_def_ref VALUES (14, 'Administration des Finances', NULL);
+INSERT INTO fiche_def_ref VALUES (15, 'Autres fiches', NULL);
+INSERT INTO fiche_def_ref VALUES (7, 'Matériel à amortir', '2400');
+INSERT INTO fiche_def_ref VALUES (16, 'Contact', NULL);
+INSERT INTO fiche_def_ref VALUES (25, 'Compte Salarié / Administrateur', NULL);
--
-- Data for Name: fiche_detail; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY fiche_detail (jft_id, f_id, ad_id, ad_value) FROM stdin;
-\.
--
-- Data for Name: forecast; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY forecast (f_id, f_name, f_start_date, f_end_date) FROM stdin;
-\.
--
-- Data for Name: forecast_cat; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY forecast_cat (fc_id, fc_desc, f_id, fc_order) FROM stdin;
-\.
--
-- Data for Name: forecast_item; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY forecast_item (fi_id, fi_text, fi_account, fi_card, fi_order, fc_id,
fi_amount, fi_debit, fi_pid) FROM stdin;
-\.
--
-- Data for Name: form; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY form (fo_id, fo_fr_id, fo_pos, fo_label, fo_formula) FROM stdin;
-3000398 3000000 1 Prestation [ case 03 ] [700%]-[7000005]
-3000399 3000000 2 Prestation intra [ case 47 ] [7000005]
-3000400 3000000 3 Tva due [case 54] [4513]+[4512]+[4511]
FROM=01.2005
-3000401 3000000 4 Marchandises, matière première et auxiliaire
[case 81 ] [60%]
-3000402 3000000 7 Service et bien divers [case 82] [61%]
-3000403 3000000 8 bien d'invest [ case 83 ] [2400%]
-3000404 3000000 9 TVA déductible [ case 59 ]
abs([4117]-[411%])
-3000405 3000000 8 TVA non ded -> voiture [610022]*0.21/2
-3000406 3000000 9 Acompte TVA [4117]
-\.
+INSERT INTO form VALUES (3000398, 3000000, 1, 'Prestation [ case 03 ]',
'[700%]-[7000005]');
+INSERT INTO form VALUES (3000399, 3000000, 2, 'Prestation intra [ case 47 ]',
'[7000005]');
+INSERT INTO form VALUES (3000400, 3000000, 3, 'Tva due [case 54]',
'[4513]+[4512]+[4511] FROM=01.2005');
+INSERT INTO form VALUES (3000401, 3000000, 4, 'Marchandises, matière première
et auxiliaire [case 81 ]', '[60%]');
+INSERT INTO form VALUES (3000402, 3000000, 7, 'Service et bien divers [case
82]', '[61%]');
+INSERT INTO form VALUES (3000403, 3000000, 8, 'bien d''invest [ case 83 ]',
'[2400%]');
+INSERT INTO form VALUES (3000404, 3000000, 9, 'TVA déductible [ case 59 ]',
'abs([4117]-[411%])');
+INSERT INTO form VALUES (3000405, 3000000, 8, 'TVA non ded -> voiture',
'[610022]*0.21/2');
+INSERT INTO form VALUES (3000406, 3000000, 9, 'Acompte TVA', '[4117]');
--
-- Data for Name: formdef; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY formdef (fr_id, fr_label) FROM stdin;
-3000000 TVA déclaration Belge
-\.
+INSERT INTO formdef VALUES (3000000, 'TVA déclaration Belge');
--
-- Data for Name: groupe_analytique; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY groupe_analytique (ga_id, pa_id, ga_description) FROM stdin;
-\.
--
-- Data for Name: info_def; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY info_def (id_type, id_description) FROM stdin;
-BON_COMMANDE Numero de bon de commande
-OTHER Info diverses
-\.
+INSERT INTO info_def VALUES ('BON_COMMANDE', 'Numero de bon de commande');
+INSERT INTO info_def VALUES ('OTHER', 'Info diverses');
--
-- Data for Name: jnt_fic_attr; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY jnt_fic_attr (fd_id, ad_id, jnt_id, jnt_order) FROM stdin;
-3 1 16 0
-4 1 27 0
-5 1 36 0
-6 1 40 0
-3 4 18 2
-3 12 19 3
-6 19 44 2
-2 13 9 31
-3 13 20 31
-4 13 29 31
-1 2 3 1
-2 12 8 1
-3 3 17 1
-4 12 28 1
-5 2 37 1
-6 2 41 1
-1 6 4 120
-6 6 42 120
-1 7 5 130
-5 7 38 130
-6 7 43 130
-2 14 10 40
-3 14 21 40
-4 14 30 40
-2 16 12 70
-3 16 23 70
-4 16 32 70
-2 17 13 80
-3 17 24 80
-4 17 33 80
-2 18 14 90
-3 18 25 90
-4 18 34 90
-2 23 45 400
-1 23 46 400
-3 23 47 400
-4 23 48 400
-5 23 49 400
-6 23 50 400
-2 24 51 60
-4 24 52 60
-2 15 11 50
-3 15 22 50
-4 15 31 50
-1 5 1 30
-2 5 6 30
-3 5 15 30
-4 5 26 30
-5 5 35 30
-6 5 39 30
-1 1 2 0
-2 1 7 0
-\.
+INSERT INTO jnt_fic_attr VALUES (3, 1, 16, 0);
+INSERT INTO jnt_fic_attr VALUES (4, 1, 27, 0);
+INSERT INTO jnt_fic_attr VALUES (5, 1, 36, 0);
+INSERT INTO jnt_fic_attr VALUES (6, 1, 40, 0);
+INSERT INTO jnt_fic_attr VALUES (3, 4, 18, 2);
+INSERT INTO jnt_fic_attr VALUES (3, 12, 19, 3);
+INSERT INTO jnt_fic_attr VALUES (6, 19, 44, 2);
+INSERT INTO jnt_fic_attr VALUES (2, 13, 9, 31);
+INSERT INTO jnt_fic_attr VALUES (3, 13, 20, 31);
+INSERT INTO jnt_fic_attr VALUES (4, 13, 29, 31);
+INSERT INTO jnt_fic_attr VALUES (1, 2, 3, 1);
+INSERT INTO jnt_fic_attr VALUES (2, 12, 8, 1);
+INSERT INTO jnt_fic_attr VALUES (3, 3, 17, 1);
+INSERT INTO jnt_fic_attr VALUES (4, 12, 28, 1);
+INSERT INTO jnt_fic_attr VALUES (5, 2, 37, 1);
+INSERT INTO jnt_fic_attr VALUES (6, 2, 41, 1);
+INSERT INTO jnt_fic_attr VALUES (1, 6, 4, 120);
+INSERT INTO jnt_fic_attr VALUES (6, 6, 42, 120);
+INSERT INTO jnt_fic_attr VALUES (1, 7, 5, 130);
+INSERT INTO jnt_fic_attr VALUES (5, 7, 38, 130);
+INSERT INTO jnt_fic_attr VALUES (6, 7, 43, 130);
+INSERT INTO jnt_fic_attr VALUES (2, 14, 10, 40);
+INSERT INTO jnt_fic_attr VALUES (3, 14, 21, 40);
+INSERT INTO jnt_fic_attr VALUES (4, 14, 30, 40);
+INSERT INTO jnt_fic_attr VALUES (2, 16, 12, 70);
+INSERT INTO jnt_fic_attr VALUES (3, 16, 23, 70);
+INSERT INTO jnt_fic_attr VALUES (4, 16, 32, 70);
+INSERT INTO jnt_fic_attr VALUES (2, 17, 13, 80);
+INSERT INTO jnt_fic_attr VALUES (3, 17, 24, 80);
+INSERT INTO jnt_fic_attr VALUES (4, 17, 33, 80);
+INSERT INTO jnt_fic_attr VALUES (2, 18, 14, 90);
+INSERT INTO jnt_fic_attr VALUES (3, 18, 25, 90);
+INSERT INTO jnt_fic_attr VALUES (4, 18, 34, 90);
+INSERT INTO jnt_fic_attr VALUES (2, 23, 45, 400);
+INSERT INTO jnt_fic_attr VALUES (1, 23, 46, 400);
+INSERT INTO jnt_fic_attr VALUES (3, 23, 47, 400);
+INSERT INTO jnt_fic_attr VALUES (4, 23, 48, 400);
+INSERT INTO jnt_fic_attr VALUES (5, 23, 49, 400);
+INSERT INTO jnt_fic_attr VALUES (6, 23, 50, 400);
+INSERT INTO jnt_fic_attr VALUES (2, 24, 51, 60);
+INSERT INTO jnt_fic_attr VALUES (4, 24, 52, 60);
+INSERT INTO jnt_fic_attr VALUES (2, 15, 11, 50);
+INSERT INTO jnt_fic_attr VALUES (3, 15, 22, 50);
+INSERT INTO jnt_fic_attr VALUES (4, 15, 31, 50);
+INSERT INTO jnt_fic_attr VALUES (1, 5, 1, 30);
+INSERT INTO jnt_fic_attr VALUES (2, 5, 6, 30);
+INSERT INTO jnt_fic_attr VALUES (3, 5, 15, 30);
+INSERT INTO jnt_fic_attr VALUES (4, 5, 26, 30);
+INSERT INTO jnt_fic_attr VALUES (5, 5, 35, 30);
+INSERT INTO jnt_fic_attr VALUES (6, 5, 39, 30);
+INSERT INTO jnt_fic_attr VALUES (1, 1, 2, 0);
+INSERT INTO jnt_fic_attr VALUES (2, 1, 7, 0);
--
-- Data for Name: jnt_letter; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY jnt_letter (jl_id, jl_amount_deb) FROM stdin;
-\.
--
-- Data for Name: jrn; Type: TABLE DATA; Schema: public; Owner: -
--
-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, jr_valid,
jr_opid, jr_c_opid, jr_pj, jr_pj_name, jr_pj_type, jr_pj_number, jr_mt) FROM
stdin;
-\.
--
-- Data for Name: jrn_action; Type: TABLE DATA; Schema: public; Owner: -
--
-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
-1 Nouvelle Création d'une facture user_jrn.php
action=insert_vente&blank 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
-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
-30 Nouveau \N user_jrn.php action=new&blank FR ODS
-32 Voir Voir toutes les factures user_jrn.php action=voir_jrn
FR ODS
-40 Soldes Voir les soldes des comptes en banques user_jrn.php
action=solde FR FIN
-\.
+INSERT INTO jrn_action VALUES (2, 'Voir', 'Voir toutes les factures',
'user_jrn.php', 'action=voir_jrn', 'FR', 'VEN');
+INSERT INTO jrn_action VALUES (4, 'Voir Impayés', 'Voir toutes les factures
non payées', 'user_jrn.php', 'action=voir_jrn_non_paye', 'FR', 'VEN');
+INSERT INTO jrn_action VALUES (1, 'Nouvelle', 'Création d''une facture',
'user_jrn.php', 'action=insert_vente&blank', 'FR', 'VEN');
+INSERT INTO jrn_action VALUES (10, 'Nouveau', 'Encode un nouvel achat
(matériel, marchandises, services et biens divers)', 'user_jrn.php',
'action=new&blank', 'FR', 'ACH');
+INSERT INTO jrn_action VALUES (12, 'Voir', 'Voir toutes les factures',
'user_jrn.php', 'action=voir_jrn', 'FR', 'ACH');
+INSERT INTO jrn_action VALUES (14, 'Voir Impayés', 'Voir toutes les factures
non payées', 'user_jrn.php', 'action=voir_jrn_non_paye', 'FR', 'ACH');
+INSERT INTO jrn_action VALUES (20, 'Nouveau', 'Encode un nouvel achat
(matériel, marchandises, services et biens divers)', 'user_jrn.php',
'action=new&blank', 'FR', 'FIN');
+INSERT INTO jrn_action VALUES (22, 'Voir', 'Voir toutes les factures',
'user_jrn.php', 'action=voir_jrn', 'FR', 'FIN');
+INSERT INTO jrn_action VALUES (30, 'Nouveau', NULL, 'user_jrn.php',
'action=new&blank', 'FR', 'ODS');
+INSERT INTO jrn_action VALUES (32, 'Voir', 'Voir toutes les factures',
'user_jrn.php', 'action=voir_jrn', 'FR', 'ODS');
+INSERT INTO jrn_action VALUES (40, 'Soldes', 'Voir les soldes des comptes en
banques', 'user_jrn.php', 'action=solde', 'FR', 'FIN');
--
-- Data for Name: jrn_def; Type: TABLE DATA; Schema: public; Owner: -
--
-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, jrn_def_pj_pref,
jrn_def_bank, jrn_def_num_op) FROM stdin;
-4 Opération Diverses \N \N \N \N 5 5
f \N ODS O01 ODS \N \N
-1 Financier 5* 5* 3,2,4 3,2,4 5 5 f
\N FIN F01 FIN \N \N
-3 Achat 6* 4* 5 4 1 3 t
échéance ACH A01 ACH \N \N
-2 Vente 4* 7* 2 6 2 1 t
échéance VEN V01 VEN \N \N
-\.
+INSERT INTO jrn_def VALUES (4, 'Opération Diverses', NULL, NULL, NULL, NULL,
5, 5, false, NULL, 'ODS', 'O01', 'ODS', NULL, NULL);
+INSERT INTO jrn_def VALUES (1, 'Financier', '5* ', '5*', '3,2,4', '3,2,4', 5,
5, false, NULL, 'FIN', 'F01', 'FIN', NULL, NULL);
+INSERT INTO jrn_def VALUES (3, 'Achat', '6*', '4*', '5', '4', 1, 3, true,
'échéance', 'ACH', 'A01', 'ACH', NULL, NULL);
+INSERT INTO jrn_def VALUES (2, 'Vente', '4*', '7*', '2', '6', 2, 1, true,
'échéance', 'VEN', 'V01', 'VEN', NULL, NULL);
--
-- Data for Name: jrn_info; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY jrn_info (ji_id, jr_id, id_type, ji_value) FROM stdin;
-\.
--
-- Data for Name: jrn_note; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY jrn_note (n_id, n_text, jr_id) FROM stdin;
-\.
--
-- Data for Name: jrn_periode; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY jrn_periode (jrn_def_id, p_id, status) FROM stdin;
-4 79 OP
-1 79 OP
-3 79 OP
-2 79 OP
-4 80 OP
-1 80 OP
-3 80 OP
-2 80 OP
-4 81 OP
-1 81 OP
-3 81 OP
-2 81 OP
-4 82 OP
-1 82 OP
-3 82 OP
-2 82 OP
-4 83 OP
-1 83 OP
-3 83 OP
-2 83 OP
-4 84 OP
-1 84 OP
-3 84 OP
-2 84 OP
-4 85 OP
-1 85 OP
-3 85 OP
-2 85 OP
-4 86 OP
-1 86 OP
-3 86 OP
-2 86 OP
-4 87 OP
-1 87 OP
-3 87 OP
-2 87 OP
-4 88 OP
-1 88 OP
-3 88 OP
-2 88 OP
-4 89 OP
-1 89 OP
-3 89 OP
-2 89 OP
-4 90 OP
-1 90 OP
-3 90 OP
-2 90 OP
-4 91 OP
-1 91 OP
-3 91 OP
-2 91 OP
-\.
+INSERT INTO jrn_periode VALUES (4, 79, 'OP');
+INSERT INTO jrn_periode VALUES (1, 79, 'OP');
+INSERT INTO jrn_periode VALUES (3, 79, 'OP');
+INSERT INTO jrn_periode VALUES (2, 79, 'OP');
+INSERT INTO jrn_periode VALUES (4, 80, 'OP');
+INSERT INTO jrn_periode VALUES (1, 80, 'OP');
+INSERT INTO jrn_periode VALUES (3, 80, 'OP');
+INSERT INTO jrn_periode VALUES (2, 80, 'OP');
+INSERT INTO jrn_periode VALUES (4, 81, 'OP');
+INSERT INTO jrn_periode VALUES (1, 81, 'OP');
+INSERT INTO jrn_periode VALUES (3, 81, 'OP');
+INSERT INTO jrn_periode VALUES (2, 81, 'OP');
+INSERT INTO jrn_periode VALUES (4, 82, 'OP');
+INSERT INTO jrn_periode VALUES (1, 82, 'OP');
+INSERT INTO jrn_periode VALUES (3, 82, 'OP');
+INSERT INTO jrn_periode VALUES (2, 82, 'OP');
+INSERT INTO jrn_periode VALUES (4, 83, 'OP');
+INSERT INTO jrn_periode VALUES (1, 83, 'OP');
+INSERT INTO jrn_periode VALUES (3, 83, 'OP');
+INSERT INTO jrn_periode VALUES (2, 83, 'OP');
+INSERT INTO jrn_periode VALUES (4, 84, 'OP');
+INSERT INTO jrn_periode VALUES (1, 84, 'OP');
+INSERT INTO jrn_periode VALUES (3, 84, 'OP');
+INSERT INTO jrn_periode VALUES (2, 84, 'OP');
+INSERT INTO jrn_periode VALUES (4, 85, 'OP');
+INSERT INTO jrn_periode VALUES (1, 85, 'OP');
+INSERT INTO jrn_periode VALUES (3, 85, 'OP');
+INSERT INTO jrn_periode VALUES (2, 85, 'OP');
+INSERT INTO jrn_periode VALUES (4, 86, 'OP');
+INSERT INTO jrn_periode VALUES (1, 86, 'OP');
+INSERT INTO jrn_periode VALUES (3, 86, 'OP');
+INSERT INTO jrn_periode VALUES (2, 86, 'OP');
+INSERT INTO jrn_periode VALUES (4, 87, 'OP');
+INSERT INTO jrn_periode VALUES (1, 87, 'OP');
+INSERT INTO jrn_periode VALUES (3, 87, 'OP');
+INSERT INTO jrn_periode VALUES (2, 87, 'OP');
+INSERT INTO jrn_periode VALUES (4, 88, 'OP');
+INSERT INTO jrn_periode VALUES (1, 88, 'OP');
+INSERT INTO jrn_periode VALUES (3, 88, 'OP');
+INSERT INTO jrn_periode VALUES (2, 88, 'OP');
+INSERT INTO jrn_periode VALUES (4, 89, 'OP');
+INSERT INTO jrn_periode VALUES (1, 89, 'OP');
+INSERT INTO jrn_periode VALUES (3, 89, 'OP');
+INSERT INTO jrn_periode VALUES (2, 89, 'OP');
+INSERT INTO jrn_periode VALUES (4, 90, 'OP');
+INSERT INTO jrn_periode VALUES (1, 90, 'OP');
+INSERT INTO jrn_periode VALUES (3, 90, 'OP');
+INSERT INTO jrn_periode VALUES (2, 90, 'OP');
+INSERT INTO jrn_periode VALUES (4, 91, 'OP');
+INSERT INTO jrn_periode VALUES (1, 91, 'OP');
+INSERT INTO jrn_periode VALUES (3, 91, 'OP');
+INSERT INTO jrn_periode VALUES (2, 91, 'OP');
--
-- Data for Name: jrn_rapt; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY jrn_rapt (jra_id, jr_id, jra_concerned) FROM stdin;
-\.
--
-- Data for Name: jrn_type; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY jrn_type (jrn_type_id, jrn_desc) FROM stdin;
-FIN Financier
-VEN Vente
-ACH Achat
-ODS Opérations Diverses
-\.
+INSERT INTO jrn_type VALUES ('FIN', 'Financier');
+INSERT INTO jrn_type VALUES ('VEN', 'Vente');
+INSERT INTO jrn_type VALUES ('ACH', 'Achat');
+INSERT INTO jrn_type VALUES ('ODS', 'Opérations Diverses');
--
-- Data for Name: jrnx; Type: TABLE DATA; Schema: public; Owner: -
--
-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, j_qcode, f_id) FROM stdin;
-\.
--
-- Data for Name: letter_cred; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY letter_cred (lc_id, j_id, jl_id) FROM stdin;
-\.
--
-- Data for Name: letter_deb; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY letter_deb (ld_id, j_id, jl_id) FROM stdin;
-\.
--
-- Data for Name: menu_ref; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY menu_ref (me_code, me_menu, me_file, me_url, me_description,
me_parameter, me_javascript, me_type) FROM stdin;
-ACH Achat compta_ach.inc.php \N Nouvel achat ou dépense \N
\N ME
-ANCHOP Historique anc_history.inc.php \N Historique des
imputations analytiques \N \N ME
-ANCGL Grand'Livre anc_great_ledger.inc.php \N Grand livre
d'plan analytique \N \N ME
-ANCBS Balance simple anc_balance_simple.inc.php \N Balance simple
des imputations analytiques \N \N ME
-ANCBC2 Balance croisée double anc_balance_double.inc.php \N Balance
double croisées des imputations analytiques \N \N ME
-ANCTAB Tableau anc_acc_table.inc.php \N Tableau lié à la comptabilité
\N \N ME
-ANCBCC Balance Analytique/comptabilité anc_acc_balance.inc.php \N Lien
entre comptabilité et Comptabilité analytique \N \N ME
-ANCGR Groupe anc_group_balance.inc.php \N Balance par groupe
\N \N ME
-CSV:AncGrandLivre Impression Grand-Livre \N \N \N \N
\N PR
-CSV:AncBalGroup Export Balance groupe analytique \N \N
\N \N \N PR
-OTH:Bilan Export Bilan \N \N \N \N \N PR
-PDF:ledger Export Journaux \N \N \N \N \N PR
-CSV:postedetail Export Poste détail \N \N \N \N
\N PR
-PDF:postedetail Export Poste détail \N \N \N \N
\N PR
-CSV:fichedetail Export Fiche détail \N \N \N \N
\N PR
-SEARCH Recherche \N \N Recherche \N
popup_recherche() ME
-DIVPARM Divers \N \N Paramètres divers \N \N
ME
-CFGTVA TVA tva.inc.php \N Config. de la tva \N \N
ME
-CARD Fiche fiche.inc.php \N Fiche \N \N ME
-STOCK Stock stock.inc.php \N Stock \N \N ME
-MOD Menu et profile \N \N Menu \N \N ME
-CFGPRO Profile profile.inc.php \N Configuration profile \N \N
ME
-CFGPAY Moyen de paiement payment_middle.inc.php \N Config. des
méthodes de paiement \N \N ME
-CFGACC Poste poste.inc.php \N Config. poste comptable de base \N
\N ME
-VEN Vente compta_ven.inc.php \N Nouvelle vente ou recette
\N \N ME
-CFGMENU Config. Menu menu.inc.php \N Configuration des menus
et plugins \N \N ME
-COMPANY Sociétés company.inc.php \N Parametre societe
\N \N ME
-PERIODE Période periode.inc.php \N Gestion des périodes \N
\N ME
-PDF:fichedetail Export Fiche détail \N \N \N \N
\N PR
-CSV:fiche_balance Export Fiche balance \N \N \N \N
\N PR
-PDF:fiche_balance Export Fiche balance \N \N \N \N
\N PR
-CSV:report Export report \N \N \N \N \N PR
-PDF:report Export report \N \N \N \N \N PR
-CSV:fiche Export Fiche \N \N \N \N \N PR
-PDF:fiche Export Fiche \N \N \N \N \N PR
-CSV:glcompte Export Grand Livre \N \N \N \N \N
PR
-PDF:glcompte Export Grand Livre \N \N \N \N \N
PR
-PDF:sec Export Sécurité \N \N \N \N \N PR
-CSV:AncList Export Comptabilité analytique \N \N \N \N
\N PR
-CSV:AncBalSimple Export Comptabilité analytique balance simple \N
\N \N \N \N PR
-PDF:AncBalSimple Export Comptabilité analytique \N \N \N
\N \N PR
-CSV:AncBalDouble Export Comptabilité analytique balance double \N
\N \N \N \N PR
-PDF:AncBalDouble Export Comptabilité analytique balance double \N
\N \N \N \N PR
-CSV:balance Export Balance comptable \N \N \N \N
\N PR
-PDF:balance Export Balance comptable \N \N \N \N
\N PR
-CSV:histo Export Historique \N \N \N \N \N
PR
-CSV:ledger Export Journaux \N \N \N \N \N PR
-CSV:AncTable Export Tableau Analytique \N \N \N \N
\N PR
-CSV:AncAccList Export Historique Compt. Analytique \N \N \N
\N \N PR
-SUPPL Fournisseur supplier.inc.php \N Suivi fournisseur
\N \N ME
-LET Lettrage \N \N Lettrage \N \N ME
-ANCODS Opérations diverses anc_od.inc.php \N OD analytique \N
\N ME
-VERIFBIL Vérification verif_bilan.inc.php \N Vérification de
la comptabilité \N \N ME
-REPORT Création de rapport report.inc.php \N Création de rapport
\N \N ME
-OPEN Ecriture Ouverture opening.inc.php \N Ecriture d'ouverture
\N \N ME
-ACHIMP Historique achat history_operation.inc.php \N
Historique achat ledger_type=ACH \N ME
-FOLLOW Courrier action.inc.php \N Suivi, courrier, devis \N
\N ME
-FORECAST Prévision forecast.inc.php \N Prévision
\N \N ME
-EXT Extension extension_choice.inc.php \N Extensions
(plugins) \N \N ME
-CFGDOC Document document_modele.inc.php \N Config. modèle de
document \N \N ME
-CFGLED journaux cfgledger.inc.php \N Configuration des
journaux \N \N ME
-PREDOP Ecriture prédefinie preod.inc.php \N Gestion des opérations
prédéfinifies \N \N ME
-ADV Avancé \N \N Menu avancé \N \N ME
-ANC Compta Analytique \N \N Module comptabilité analytique
\N \N ME
-CFGSEC Sécurité param_sec.inc.php \N configuration de la
sécurité \N \N ME
-PLANANC Plan Compt. analytique anc_pa.inc.php \N Plan analytique
\N \N ME
-ANCGROUP Groupe anc_group.inc.php \N Groupe analytique
\N \N ME
-ODSIMP Historique opérations diverses history_operation.inc.php \N
Historique opérations diverses ledger_type=ODS \N ME
-VENMENU Vente / Recette \N \N Menu ventes et recettes \N
\N ME
-PREFERENCE Préférence pref.inc.php \N Préférence \N
\N ME
-HIST Historique history_operation.inc.php \N Historique
ledger_type=ALL \N ME
-MENUFIN Financier \N \N Menu Financier \N \N
ME
-FIMP Historique financier history_operation.inc.php \N
Historique financier ledger_type=FIN \N ME
-MENUACH Achat \N \N Menu achat \N \N ME
-MENUODS Opérations diverses \N \N Menu opérations
diverses \N \N ME
-ODS Opérations Diverses compta_ods.inc.php \N Nouvelle
opérations diverses \N \N ME
-FREC Rapprochement compta_fin_rec.inc.php \N Rapprochement bancaire
\N \N ME
-ADM Administration adm.inc.php \N Suivi administration, banque
\N \N ME
-FIN Nouvel extrait compta_fin.inc.php \N Nouvel extrait bancaire
\N \N ME
-CFGATCARD Attribut de fiche card_attr.inc.php \N Gestion
des modèles de fiches \N \N ME
-FSALDO Soldes compta_fin_saldo.inc.php \N Solde des comptes en
banques, caisse... \N \N ME
-JSSEARCH Recherche \N \N Recherche \N
search_reconcile() ME
-LETACC Lettrage par Poste lettering.account.inc.php \N
lettrage par poste comptable \N \N ME
-CARDBAL Balance balance_card.inc.php \N Balance par catégorie
de fiche \N \N ME
-CUST Client client.inc.php \N Suivi client \N \N ME
-CFGCARDCAT Catégorie de fiche fiche_def.inc.php \N Gestion
catégorie de fiche \N \N ME
-CFGCATDOC Catégorie de documents cat_document.inc.php \N Config.
catégorie de documents \N \N ME
-VENIMP Historique vente history_operation.inc.php \N
Historique des ventes ledger_type=VEN \N ME
-LETCARD Lettrage par Fiche lettering.card.inc.php \N
Lettrage par fiche \N \N ME
-CFGPCMN Plan Comptable param_pcmn.inc.php \N Config. du plan
comptable \N \N ME
-LOGOUT Sortie \N logout.php Sortie \N \N ME
-DASHBOARD Tableau de bord dashboard.inc.php \N Tableau de bord
\N \N ME
-COMPTA Comptabilité \N \N Module comptabilité \N \N
ME
-GESTION Gestion \N \N Module gestion \N \N ME
-PARAM Paramètre \N \N Module paramètre \N \N
ME
-PRINTJRN Historique impress_jrn.inc.php \N Impression
historique \N \N ME
-PRINTREC Rapprochement impress_rec.inc.php \N Impression des
rapprochements \N \N ME
-PRINTPOSTE Poste impress_poste.inc.php \N Impression du détail
d'un poste comptable \N \N ME
-PRINTREPORT Rapport impress_rapport.inc.php \N Impression de rapport
\N \N ME
-PRINTBILAN Bilan impress_bilan.inc.php \N Impression de bilan
\N \N ME
-PRINTGL Grand Livre impress_gl_comptes.inc.php \N
Impression du grand livre \N \N ME
-PRINTBAL Balance balance.inc.php \N Impression des balances
comptables \N \N ME
-PRINTCARD Catégorie de Fiches impress_fiche.inc.php \N
Impression catégorie de fiches \N \N ME
-PRINT Impression \N \N Menu impression \N \N ME
-ACCESS Accueil \N user_login.php Accueil \N \N ME
-ANCIMP Impression \N \N Impression compta. analytique \N
\N ME
-new_line saut de ligne \N \N Saut de ligne \N \N
SP
-TVA Module de TVA tva/index.php \N Cette extension permet de faire
les listings et declarations TVA plugin_code=TVA \N PL
-\.
+INSERT INTO menu_ref VALUES ('ACH', 'Achat', 'compta_ach.inc.php', NULL,
'Nouvel achat ou dépense', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('ANCHOP', 'Historique', 'anc_history.inc.php',
NULL, 'Historique des imputations analytiques', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('ANCGL', 'Grand''Livre',
'anc_great_ledger.inc.php', NULL, 'Grand livre d''plan analytique', NULL, NULL,
'ME');
+INSERT INTO menu_ref VALUES ('ANCBS', 'Balance simple',
'anc_balance_simple.inc.php', NULL, 'Balance simple des imputations
analytiques', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('ANCBC2', 'Balance croisée double',
'anc_balance_double.inc.php', NULL, 'Balance double croisées des imputations
analytiques', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('ANCTAB', 'Tableau', 'anc_acc_table.inc.php',
NULL, 'Tableau lié à la comptabilité', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('ANCBCC', 'Balance Analytique/comptabilité',
'anc_acc_balance.inc.php', NULL, 'Lien entre comptabilité et Comptabilité
analytique', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('ANCGR', 'Groupe', 'anc_group_balance.inc.php',
NULL, 'Balance par groupe', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('CSV:AncGrandLivre', 'Impression Grand-Livre',
NULL, NULL, NULL, NULL, NULL, 'PR');
+INSERT INTO menu_ref VALUES ('CSV:AncBalGroup', 'Export Balance groupe
analytique', NULL, NULL, NULL, NULL, NULL, 'PR');
+INSERT INTO menu_ref VALUES ('OTH:Bilan', 'Export Bilan', NULL, NULL, NULL,
NULL, NULL, 'PR');
+INSERT INTO menu_ref VALUES ('PDF:ledger', 'Export Journaux', NULL, NULL,
NULL, NULL, NULL, 'PR');
+INSERT INTO menu_ref VALUES ('CSV:postedetail', 'Export Poste détail', NULL,
NULL, NULL, NULL, NULL, 'PR');
+INSERT INTO menu_ref VALUES ('PDF:postedetail', 'Export Poste détail', NULL,
NULL, NULL, NULL, NULL, 'PR');
+INSERT INTO menu_ref VALUES ('CSV:fichedetail', 'Export Fiche détail', NULL,
NULL, NULL, NULL, NULL, 'PR');
+INSERT INTO menu_ref VALUES ('SEARCH', 'Recherche', NULL, NULL, 'Recherche',
NULL, 'popup_recherche()', 'ME');
+INSERT INTO menu_ref VALUES ('DIVPARM', 'Divers', NULL, NULL, 'Paramètres
divers', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('CFGTVA', 'TVA', 'tva.inc.php', NULL, 'Config. de
la tva', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('CARD', 'Fiche', 'fiche.inc.php', NULL, 'Fiche',
NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('STOCK', 'Stock', 'stock.inc.php', NULL, 'Stock',
NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('MOD', 'Menu et profile', NULL, NULL, 'Menu ',
NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('CFGPRO', 'Profile', 'profile.inc.php', NULL,
'Configuration profile', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('CFGPAY', 'Moyen de paiement',
'payment_middle.inc.php', NULL, 'Config. des méthodes de paiement', NULL, NULL,
'ME');
+INSERT INTO menu_ref VALUES ('CFGACC', 'Poste', 'poste.inc.php', NULL,
'Config. poste comptable de base', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('VEN', 'Vente', 'compta_ven.inc.php', NULL,
'Nouvelle vente ou recette', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('CFGMENU', 'Config. Menu', 'menu.inc.php', NULL,
'Configuration des menus et plugins', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('COMPANY', 'Sociétés', 'company.inc.php', NULL,
'Parametre societe', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('PERIODE', 'Période', 'periode.inc.php', NULL,
'Gestion des périodes', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('PDF:fichedetail', 'Export Fiche détail', NULL,
NULL, NULL, NULL, NULL, 'PR');
+INSERT INTO menu_ref VALUES ('CSV:fiche_balance', 'Export Fiche balance',
NULL, NULL, NULL, NULL, NULL, 'PR');
+INSERT INTO menu_ref VALUES ('PDF:fiche_balance', 'Export Fiche balance',
NULL, NULL, NULL, NULL, NULL, 'PR');
+INSERT INTO menu_ref VALUES ('CSV:report', 'Export report', NULL, NULL, NULL,
NULL, NULL, 'PR');
+INSERT INTO menu_ref VALUES ('PDF:report', 'Export report', NULL, NULL, NULL,
NULL, NULL, 'PR');
+INSERT INTO menu_ref VALUES ('CSV:fiche', 'Export Fiche', NULL, NULL, NULL,
NULL, NULL, 'PR');
+INSERT INTO menu_ref VALUES ('PDF:fiche', 'Export Fiche', NULL, NULL, NULL,
NULL, NULL, 'PR');
+INSERT INTO menu_ref VALUES ('CSV:glcompte', 'Export Grand Livre', NULL, NULL,
NULL, NULL, NULL, 'PR');
+INSERT INTO menu_ref VALUES ('PDF:glcompte', 'Export Grand Livre', NULL, NULL,
NULL, NULL, NULL, 'PR');
+INSERT INTO menu_ref VALUES ('PDF:sec', 'Export Sécurité', NULL, NULL, NULL,
NULL, NULL, 'PR');
+INSERT INTO menu_ref VALUES ('CSV:AncList', 'Export Comptabilité analytique',
NULL, NULL, NULL, NULL, NULL, 'PR');
+INSERT INTO menu_ref VALUES ('CSV:AncBalSimple', 'Export Comptabilité
analytique balance simple', NULL, NULL, NULL, NULL, NULL, 'PR');
+INSERT INTO menu_ref VALUES ('PDF:AncBalSimple', 'Export Comptabilité
analytique', NULL, NULL, NULL, NULL, NULL, 'PR');
+INSERT INTO menu_ref VALUES ('CSV:AncBalDouble', 'Export Comptabilité
analytique balance double', NULL, NULL, NULL, NULL, NULL, 'PR');
+INSERT INTO menu_ref VALUES ('PDF:AncBalDouble', 'Export Comptabilité
analytique balance double', NULL, NULL, NULL, NULL, NULL, 'PR');
+INSERT INTO menu_ref VALUES ('CSV:balance', 'Export Balance comptable', NULL,
NULL, NULL, NULL, NULL, 'PR');
+INSERT INTO menu_ref VALUES ('PDF:balance', 'Export Balance comptable', NULL,
NULL, NULL, NULL, NULL, 'PR');
+INSERT INTO menu_ref VALUES ('CSV:histo', 'Export Historique', NULL, NULL,
NULL, NULL, NULL, 'PR');
+INSERT INTO menu_ref VALUES ('CSV:ledger', 'Export Journaux', NULL, NULL,
NULL, NULL, NULL, 'PR');
+INSERT INTO menu_ref VALUES ('CSV:AncTable', 'Export Tableau Analytique',
NULL, NULL, NULL, NULL, NULL, 'PR');
+INSERT INTO menu_ref VALUES ('CSV:AncAccList', 'Export Historique Compt.
Analytique', NULL, NULL, NULL, NULL, NULL, 'PR');
+INSERT INTO menu_ref VALUES ('SUPPL', 'Fournisseur', 'supplier.inc.php', NULL,
'Suivi fournisseur', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('LET', 'Lettrage', NULL, NULL, 'Lettrage', NULL,
NULL, 'ME');
+INSERT INTO menu_ref VALUES ('ANCODS', 'Opérations diverses',
'anc_od.inc.php', NULL, 'OD analytique', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('VERIFBIL', 'Vérification ',
'verif_bilan.inc.php', NULL, 'Vérification de la comptabilité', NULL, NULL,
'ME');
+INSERT INTO menu_ref VALUES ('REPORT', 'Création de rapport',
'report.inc.php', NULL, 'Création de rapport', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('OPEN', 'Ecriture Ouverture', 'opening.inc.php',
NULL, 'Ecriture d''ouverture', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('ACHIMP', 'Historique achat',
'history_operation.inc.php', NULL, 'Historique achat', 'ledger_type=ACH', NULL,
'ME');
+INSERT INTO menu_ref VALUES ('FOLLOW', 'Courrier', 'action.inc.php', NULL,
'Suivi, courrier, devis', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('FORECAST', 'Prévision', 'forecast.inc.php',
NULL, 'Prévision', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('EXT', 'Extension', 'extension_choice.inc.php',
NULL, 'Extensions (plugins)', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('CFGDOC', 'Document', 'document_modele.inc.php',
NULL, 'Config. modèle de document', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('CFGLED', 'journaux', 'cfgledger.inc.php', NULL,
'Configuration des journaux', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('PREDOP', 'Ecriture prédefinie', 'preod.inc.php',
NULL, 'Gestion des opérations prédéfinifies', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('ADV', 'Avancé', NULL, NULL, 'Menu avancé', NULL,
NULL, 'ME');
+INSERT INTO menu_ref VALUES ('ANC', 'Compta Analytique', NULL, NULL, 'Module
comptabilité analytique', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('CFGSEC', 'Sécurité', 'param_sec.inc.php', NULL,
'configuration de la sécurité', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('PLANANC', 'Plan Compt. analytique',
'anc_pa.inc.php', NULL, 'Plan analytique', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('ANCGROUP', 'Groupe', 'anc_group.inc.php', NULL,
'Groupe analytique', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('ODSIMP', 'Historique opérations diverses',
'history_operation.inc.php', NULL, 'Historique opérations diverses',
'ledger_type=ODS', NULL, 'ME');
+INSERT INTO menu_ref VALUES ('VENMENU', 'Vente / Recette', NULL, NULL, 'Menu
ventes et recettes', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('PREFERENCE', 'Préférence', 'pref.inc.php', NULL,
'Préférence', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('HIST', 'Historique',
'history_operation.inc.php', NULL, 'Historique', 'ledger_type=ALL', NULL, 'ME');
+INSERT INTO menu_ref VALUES ('MENUFIN', 'Financier', NULL, NULL, 'Menu
Financier', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('FIMP', 'Historique financier',
'history_operation.inc.php', NULL, 'Historique financier', 'ledger_type=FIN',
NULL, 'ME');
+INSERT INTO menu_ref VALUES ('MENUACH', 'Achat', NULL, NULL, 'Menu achat',
NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('MENUODS', 'Opérations diverses', NULL, NULL,
'Menu opérations diverses', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('ODS', 'Opérations Diverses',
'compta_ods.inc.php', NULL, 'Nouvelle opérations diverses', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('FREC', 'Rapprochement',
'compta_fin_rec.inc.php', NULL, 'Rapprochement bancaire', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('ADM', 'Administration', 'adm.inc.php', NULL,
'Suivi administration, banque', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('FIN', 'Nouvel extrait', 'compta_fin.inc.php',
NULL, 'Nouvel extrait bancaire', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('CFGATCARD', 'Attribut de fiche',
'card_attr.inc.php', NULL, 'Gestion des modèles de fiches', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('FSALDO', 'Soldes', 'compta_fin_saldo.inc.php',
NULL, 'Solde des comptes en banques, caisse...', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('JSSEARCH', 'Recherche', NULL, NULL, 'Recherche',
NULL, 'search_reconcile()', 'ME');
+INSERT INTO menu_ref VALUES ('LETACC', 'Lettrage par Poste',
'lettering.account.inc.php', NULL, 'lettrage par poste comptable', NULL, NULL,
'ME');
+INSERT INTO menu_ref VALUES ('CARDBAL', 'Balance', 'balance_card.inc.php',
NULL, 'Balance par catégorie de fiche', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('CUST', 'Client', 'client.inc.php', NULL, 'Suivi
client', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('CFGCARDCAT', 'Catégorie de fiche',
'fiche_def.inc.php', NULL, 'Gestion catégorie de fiche', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('CFGCATDOC', 'Catégorie de documents',
'cat_document.inc.php', NULL, 'Config. catégorie de documents', NULL, NULL,
'ME');
+INSERT INTO menu_ref VALUES ('VENIMP', 'Historique vente',
'history_operation.inc.php', NULL, 'Historique des ventes', 'ledger_type=VEN',
NULL, 'ME');
+INSERT INTO menu_ref VALUES ('LETCARD', 'Lettrage par Fiche',
'lettering.card.inc.php', NULL, 'Lettrage par fiche', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('CFGPCMN', 'Plan Comptable',
'param_pcmn.inc.php', NULL, 'Config. du plan comptable', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('LOGOUT', 'Sortie', NULL, 'logout.php', 'Sortie',
NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('DASHBOARD', 'Tableau de bord',
'dashboard.inc.php', NULL, 'Tableau de bord', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('COMPTA', 'Comptabilité', NULL, NULL, 'Module
comptabilité', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('GESTION', 'Gestion', NULL, NULL, 'Module
gestion', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('PARAM', 'Paramètre', NULL, NULL, 'Module
paramètre', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('PRINTJRN', 'Historique', 'impress_jrn.inc.php',
NULL, 'Impression historique', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('PRINTREC', 'Rapprochement',
'impress_rec.inc.php', NULL, 'Impression des rapprochements', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('PRINTPOSTE', 'Poste', 'impress_poste.inc.php',
NULL, 'Impression du détail d''un poste comptable', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('PRINTREPORT', 'Rapport',
'impress_rapport.inc.php', NULL, 'Impression de rapport', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('PRINTBILAN', 'Bilan', 'impress_bilan.inc.php',
NULL, 'Impression de bilan', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('PRINTGL', 'Grand Livre',
'impress_gl_comptes.inc.php', NULL, 'Impression du grand livre', NULL, NULL,
'ME');
+INSERT INTO menu_ref VALUES ('PRINTBAL', 'Balance', 'balance.inc.php', NULL,
'Impression des balances comptables', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('PRINTCARD', 'Catégorie de Fiches',
'impress_fiche.inc.php', NULL, 'Impression catégorie de fiches', NULL, NULL,
'ME');
+INSERT INTO menu_ref VALUES ('PRINT', 'Impression', NULL, NULL, 'Menu
impression', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('ACCESS', 'Accueil', NULL, 'user_login.php',
'Accueil', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('ANCIMP', 'Impression', NULL, NULL, 'Impression
compta. analytique', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('new_line', 'saut de ligne', NULL, NULL, 'Saut de
ligne', NULL, NULL, 'SP');
+INSERT INTO menu_ref VALUES ('TVA', 'Module de TVA', 'tva/index.php', NULL,
'Cette extension permet de faire les listings et declarations TVA',
'plugin_code=TVA', NULL, 'PL');
--
-- Data for Name: mod_payment; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY mod_payment (mp_id, mp_lib, mp_jrn_def_id, mp_fd_id, mp_qcode,
jrn_def_id) FROM stdin;
-2 Caisse 1 \N \N 2
-1 Paiement électronique 1 \N \N 2
-4 Caisse 1 \N \N 3
-3 Par gérant ou administrateur 2 \N \N 3
-\.
+INSERT INTO mod_payment VALUES (2, 'Caisse', 1, NULL, NULL, 2);
+INSERT INTO mod_payment VALUES (1, 'Paiement électronique', 1, NULL, NULL, 2);
+INSERT INTO mod_payment VALUES (4, 'Caisse', 1, NULL, NULL, 3);
+INSERT INTO mod_payment VALUES (3, 'Par gérant ou administrateur', 2, NULL,
NULL, 3);
--
-- Data for Name: op_predef; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY op_predef (od_id, jrn_def_id, od_name, od_item, od_jrn_type, od_direct)
FROM stdin;
-\.
--
-- Data for Name: op_predef_detail; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY op_predef_detail (opd_id, od_id, opd_poste, opd_amount, opd_tva_id,
opd_quantity, opd_debit, opd_tva_amount, opd_comment, opd_qc) FROM stdin;
-\.
--
-- Data for Name: operation_analytique; Type: TABLE DATA; Schema: public;
Owner: -
--
-COPY operation_analytique (oa_id, po_id, oa_amount, oa_description, oa_debit,
j_id, oa_group, oa_date, oa_row) FROM stdin;
-\.
--
-- Data for Name: parameter; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY parameter (pr_id, pr_value) FROM stdin;
-MY_NAME \N
-MY_CP \N
-MY_COMMUNE \N
-MY_TVA \N
-MY_STREET \N
-MY_NUMBER \N
-MY_TEL \N
-MY_PAYS \N
-MY_FAX \N
-MY_ANALYTIC nu
-MY_COUNTRY BE
-MY_STRICT Y
-MY_TVA_USE Y
-MY_PJ_SUGGEST Y
-MY_DATE_SUGGEST Y
-MY_ALPHANUM N
-MY_CHECK_PERIODE N
-\.
+INSERT INTO parameter VALUES ('MY_NAME', NULL);
+INSERT INTO parameter VALUES ('MY_CP', NULL);
+INSERT INTO parameter VALUES ('MY_COMMUNE', NULL);
+INSERT INTO parameter VALUES ('MY_TVA', NULL);
+INSERT INTO parameter VALUES ('MY_STREET', NULL);
+INSERT INTO parameter VALUES ('MY_NUMBER', NULL);
+INSERT INTO parameter VALUES ('MY_TEL', NULL);
+INSERT INTO parameter VALUES ('MY_PAYS', NULL);
+INSERT INTO parameter VALUES ('MY_FAX', NULL);
+INSERT INTO parameter VALUES ('MY_ANALYTIC', 'nu');
+INSERT INTO parameter VALUES ('MY_COUNTRY', 'BE');
+INSERT INTO parameter VALUES ('MY_STRICT', 'Y');
+INSERT INTO parameter VALUES ('MY_TVA_USE', 'Y');
+INSERT INTO parameter VALUES ('MY_PJ_SUGGEST', 'Y');
+INSERT INTO parameter VALUES ('MY_DATE_SUGGEST', 'Y');
+INSERT INTO parameter VALUES ('MY_ALPHANUM', 'N');
+INSERT INTO parameter VALUES ('MY_CHECK_PERIODE', 'N');
--
-- Data for Name: parm_code; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY parm_code (p_code, p_value, p_comment) FROM stdin;
-DNA 6740 Dépense non déductible
-CUSTOMER 400 Poste comptable de base pour les clients
-COMPTE_TVA 451 TVA à payer
-BANQUE 550 Poste comptable de base pour les banques
-VIREMENT_INTERNE 58 Poste Comptable pour les virements internes
-COMPTE_COURANT 56 Poste comptable pour le compte courant
-CAISSE 57 Poste comptable pour la caisse
-TVA_DNA 6740 Tva non déductible s
-TVA_DED_IMPOT 619000 Tva déductible par l'impôt
-VENTE 70 Poste comptable de base pour les ventes
-DEP_PRIV 4890 Depense a charge du gerant
-SUPPLIER 440 Poste par défaut pour les fournisseurs
-\.
+INSERT INTO parm_code VALUES ('DNA', '6740', 'Dépense non déductible');
+INSERT INTO parm_code VALUES ('CUSTOMER', '400', 'Poste comptable de base pour
les clients');
+INSERT INTO parm_code VALUES ('COMPTE_TVA', '451', 'TVA à payer');
+INSERT INTO parm_code VALUES ('BANQUE', '550', 'Poste comptable de base pour
les banques');
+INSERT INTO parm_code VALUES ('VIREMENT_INTERNE', '58', 'Poste Comptable pour
les virements internes');
+INSERT INTO parm_code VALUES ('COMPTE_COURANT', '56', 'Poste comptable pour le
compte courant');
+INSERT INTO parm_code VALUES ('CAISSE', '57', 'Poste comptable pour la
caisse');
+INSERT INTO parm_code VALUES ('TVA_DNA', '6740', 'Tva non déductible s');
+INSERT INTO parm_code VALUES ('TVA_DED_IMPOT', '619000', 'Tva déductible par
l''impôt');
+INSERT INTO parm_code VALUES ('VENTE', '70', 'Poste comptable de base pour les
ventes');
+INSERT INTO parm_code VALUES ('DEP_PRIV', '4890', 'Depense a charge du
gerant');
+INSERT INTO parm_code VALUES ('SUPPLIER', '440', 'Poste par défaut pour les
fournisseurs');
--
-- Data for Name: parm_money; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY parm_money (pm_id, pm_code, pm_rate) FROM stdin;
-1 EUR 1.0000
-\.
+INSERT INTO parm_money VALUES (1, 'EUR', 1.0000);
--
-- Data for Name: parm_periode; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY parm_periode (p_id, p_start, p_end, p_exercice, p_closed, p_central) FROM
stdin;
-79 2010-01-01 2010-01-31 2010 f f
-80 2010-02-01 2010-02-28 2010 f f
-81 2010-03-01 2010-03-31 2010 f f
-82 2010-04-01 2010-04-30 2010 f f
-83 2010-05-01 2010-05-31 2010 f f
-84 2010-06-01 2010-06-30 2010 f f
-85 2010-07-01 2010-07-31 2010 f f
-86 2010-08-01 2010-08-31 2010 f f
-87 2010-09-01 2010-09-30 2010 f f
-88 2010-10-01 2010-10-31 2010 f f
-89 2010-11-01 2010-11-30 2010 f f
-90 2010-12-01 2010-12-30 2010 f f
-91 2010-12-31 2010-12-31 2010 f f
-\.
+INSERT INTO parm_periode VALUES (79, '2010-01-01', '2010-01-31', '2010',
false, false);
+INSERT INTO parm_periode VALUES (80, '2010-02-01', '2010-02-28', '2010',
false, false);
+INSERT INTO parm_periode VALUES (81, '2010-03-01', '2010-03-31', '2010',
false, false);
+INSERT INTO parm_periode VALUES (82, '2010-04-01', '2010-04-30', '2010',
false, false);
+INSERT INTO parm_periode VALUES (83, '2010-05-01', '2010-05-31', '2010',
false, false);
+INSERT INTO parm_periode VALUES (84, '2010-06-01', '2010-06-30', '2010',
false, false);
+INSERT INTO parm_periode VALUES (85, '2010-07-01', '2010-07-31', '2010',
false, false);
+INSERT INTO parm_periode VALUES (86, '2010-08-01', '2010-08-31', '2010',
false, false);
+INSERT INTO parm_periode VALUES (87, '2010-09-01', '2010-09-30', '2010',
false, false);
+INSERT INTO parm_periode VALUES (88, '2010-10-01', '2010-10-31', '2010',
false, false);
+INSERT INTO parm_periode VALUES (89, '2010-11-01', '2010-11-30', '2010',
false, false);
+INSERT INTO parm_periode VALUES (90, '2010-12-01', '2010-12-30', '2010',
false, false);
+INSERT INTO parm_periode VALUES (91, '2010-12-31', '2010-12-31', '2010',
false, false);
--
-- Data for Name: parm_poste; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY parm_poste (p_value, p_type) FROM stdin;
-1 PAS
-101 PASINV
-141 PASINV
-42 PAS
-43 PAS
-44 PAS
-45 PAS
-46 PAS
-47 PAS
-48 PAS
-492 PAS
-493 PAS
-2 ACT
-2409 ACTINV
-3 ACT
-5 ACT
-491 ACT
-490 ACT
-6 CHA
-7 PRO
-4 ACT
-40 ACT
-5501 ACTINV
-5511 ACTINV
-5521 ACTINV
-5531 ACTINV
-5541 ACTINV
-5551 ACTINV
-5561 ACTINV
-5571 ACTINV
-5581 ACTINV
-5591 ACTINV
-6311 CHAINV
-6321 CHAINV
-6331 CHAINV
-6341 CHAINV
-6351 CHAINV
-6361 CHAINV
-6371 CHAINV
-649 CHAINV
-6511 CHAINV
-6701 CHAINV
-608 CHAINV
-709 PROINV
-\.
+INSERT INTO parm_poste VALUES ('1', 'PAS');
+INSERT INTO parm_poste VALUES ('101', 'PASINV');
+INSERT INTO parm_poste VALUES ('141', 'PASINV');
+INSERT INTO parm_poste VALUES ('42', 'PAS');
+INSERT INTO parm_poste VALUES ('43', 'PAS');
+INSERT INTO parm_poste VALUES ('44', 'PAS');
+INSERT INTO parm_poste VALUES ('45', 'PAS');
+INSERT INTO parm_poste VALUES ('46', 'PAS');
+INSERT INTO parm_poste VALUES ('47', 'PAS');
+INSERT INTO parm_poste VALUES ('48', 'PAS');
+INSERT INTO parm_poste VALUES ('492', 'PAS');
+INSERT INTO parm_poste VALUES ('493', 'PAS');
+INSERT INTO parm_poste VALUES ('2', 'ACT');
+INSERT INTO parm_poste VALUES ('2409', 'ACTINV');
+INSERT INTO parm_poste VALUES ('3', 'ACT');
+INSERT INTO parm_poste VALUES ('5', 'ACT');
+INSERT INTO parm_poste VALUES ('491', 'ACT');
+INSERT INTO parm_poste VALUES ('490', 'ACT');
+INSERT INTO parm_poste VALUES ('6', 'CHA');
+INSERT INTO parm_poste VALUES ('7', 'PRO');
+INSERT INTO parm_poste VALUES ('4', 'ACT');
+INSERT INTO parm_poste VALUES ('40', 'ACT');
+INSERT INTO parm_poste VALUES ('5501', 'ACTINV');
+INSERT INTO parm_poste VALUES ('5511', 'ACTINV');
+INSERT INTO parm_poste VALUES ('5521', 'ACTINV');
+INSERT INTO parm_poste VALUES ('5531', 'ACTINV');
+INSERT INTO parm_poste VALUES ('5541', 'ACTINV');
+INSERT INTO parm_poste VALUES ('5551', 'ACTINV');
+INSERT INTO parm_poste VALUES ('5561', 'ACTINV');
+INSERT INTO parm_poste VALUES ('5571', 'ACTINV');
+INSERT INTO parm_poste VALUES ('5581', 'ACTINV');
+INSERT INTO parm_poste VALUES ('5591', 'ACTINV');
+INSERT INTO parm_poste VALUES ('6311', 'CHAINV');
+INSERT INTO parm_poste VALUES ('6321', 'CHAINV');
+INSERT INTO parm_poste VALUES ('6331', 'CHAINV');
+INSERT INTO parm_poste VALUES ('6341', 'CHAINV');
+INSERT INTO parm_poste VALUES ('6351', 'CHAINV');
+INSERT INTO parm_poste VALUES ('6361', 'CHAINV');
+INSERT INTO parm_poste VALUES ('6371', 'CHAINV');
+INSERT INTO parm_poste VALUES ('649', 'CHAINV');
+INSERT INTO parm_poste VALUES ('6511', 'CHAINV');
+INSERT INTO parm_poste VALUES ('6701', 'CHAINV');
+INSERT INTO parm_poste VALUES ('608', 'CHAINV');
+INSERT INTO parm_poste VALUES ('709', 'PROINV');
--
-- Data for Name: plan_analytique; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY plan_analytique (pa_id, pa_name, pa_description) FROM stdin;
-\.
--
-- Data for Name: poste_analytique; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY poste_analytique (po_id, po_name, pa_id, po_amount, po_description,
ga_id) FROM stdin;
-\.
--
-- Data for Name: profile; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY profile (p_name, p_id, p_desc, with_calc, with_direct_form) FROM stdin;
-Administrateur 1 Profil par défaut pour les adminstrateurs t
t
-Utilisateur 2 Profil par défaut pour les utilisateurs t t
-\.
+INSERT INTO profile VALUES ('Administrateur', 1, 'Profil par défaut pour les
adminstrateurs', true, true);
+INSERT INTO profile VALUES ('Utilisateur', 2, 'Profil par défaut pour les
utilisateurs', true, true);
--
-- Data for Name: profile_menu; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY profile_menu (pm_id, me_code, me_code_dep, p_id, p_order, p_type_display,
pm_default) FROM stdin;
-59 CFGPAY DIVPARM 1 4 E 0
-68 CFGATCARD DIVPARM 1 9 E 0
-61 CFGACC DIVPARM 1 6 E 0
-54 COMPANY PARAM 1 1 E 0
-651 ANCHOP ANCIMP 1 10 E 0
-173 COMPTA \N 1 40 M 0
-55 PERIODE PARAM 1 2 E 0
-56 DIVPARM PARAM 1 3 E 0
-652 ANCGL ANCIMP 1 20 E 0
-60 CFGTVA DIVPARM 1 5 E 0
-653 ANCBS ANCIMP 1 30 E 0
-654 ANCBC2 ANCIMP 1 40 E 0
-655 ANCTAB ANCIMP 1 50 E 0
-656 ANCBCC ANCIMP 1 60 E 0
-657 ANCGR ANCIMP 1 70 E 0
-658 CSV:AncGrandLivre \N 1 \N P 0
-662 new_line \N 1 35 M 0
-67 CFGCATDOC DIVPARM 1 8 E 0
-69 CFGPCMN PARAM 1 4 E 0
-526 PRINTGL PRINT 1 20 E 0
-23 LET COMPTA 1 8 E 0
-523 PRINTBAL PRINT 1 50 E 0
-529 PRINTREPORT PRINT 1 85 E 0
-72 PREDOP PARAM 1 7 E 0
-75 PLANANC ANC 1 1 E 0
-65 CFGCARDCAT DIVPARM 1 7 E 0
-76 ANCODS ANC 1 2 E 0
-77 ANCGROUP ANC 1 3 E 0
-78 ANCIMP ANC 1 4 E 0
-45 PARAM \N 1 20 M 0
-527 PRINTJRN PRINT 1 10 E 0
-530 PRINTREC PRINT 1 100 E 0
-524 PRINTBILAN PRINT 1 90 E 0
-79 PREFERENCE \N 1 15 M 0
-37 CUST GESTION 1 1 E 0
-38 SUPPL GESTION 1 2 E 0
-39 ADM GESTION 1 3 E 0
-36 CARD GESTION 1 6 E 0
-40 STOCK GESTION 1 5 E 0
-41 FORECAST GESTION 1 7 E 0
-42 FOLLOW GESTION 1 8 E 0
-29 VERIFBIL ADV 1 21 E 0
-30 STOCK ADV 1 22 E 0
-31 PREDOP ADV 1 23 E 0
-32 OPEN ADV 1 24 E 0
-33 REPORT ADV 1 25 E 0
-5 CARD COMPTA 1 7 E 0
-43 HIST COMPTA 1 1 E 0
-28 ADV COMPTA 1 20 E 0
-53 ACCESS \N 1 25 M 0
-123 CSV:histo \N 1 \N P 0
-20 LOGOUT \N 1 30 M 0
-35 PRINT GESTION 1 4 E 0
-124 CSV:ledger \N 1 \N P 0
-125 PDF:ledger \N 1 \N P 0
-6 PRINT COMPTA 1 6 E 0
-126 CSV:postedetail \N 1 \N P 0
-3 MENUACH COMPTA 1 3 E 0
-86 ACHIMP MENUACH 1 2 E 0
-34 GESTION \N 1 45 M 0
-18 MENUODS COMPTA 1 5 E 0
-88 ODS MENUODS 1 1 E 0
-89 ODSIMP MENUODS 1 2 E 0
-2 ANC \N 1 50 M 0
-4 VENMENU COMPTA 1 2 E 0
-90 VEN VENMENU 1 1 E 0
-91 VENIMP VENMENU 1 2 E 0
-19 FIN MENUFIN 1 1 E 0
-73 CFGDOC PARAM 1 8 E 0
-74 CFGLED PARAM 1 9 E 0
-71 CFGSEC PARAM 1 6 E 0
-82 EXT \N 1 55 M 0
-95 FREC MENUFIN 1 4 E 0
-94 FSALDO MENUFIN 1 3 E 0
-27 LETACC LET 1 2 E 0
-24 LETCARD LET 1 1 E 0
-167 MOD PARAM 1 1 E 0
-92 MENUFIN COMPTA 1 4 E 0
-93 FIMP MENUFIN 1 2 E 0
-151 SEARCH \N 1 60 M 0
-85 ACH MENUACH 1 1 E 0
-127 PDF:postedetail \N 1 \N P 0
-128 CSV:fichedetail \N 1 \N P 0
-129 PDF:fichedetail \N 1 \N P 0
-130 CSV:fiche_balance \N 1 \N P 0
-131 PDF:fiche_balance \N 1 \N P 0
-132 CSV:report \N 1 \N P 0
-133 PDF:report \N 1 \N P 0
-134 CSV:fiche \N 1 \N P 0
-135 PDF:fiche \N 1 \N P 0
-136 CSV:glcompte \N 1 \N P 0
-137 PDF:glcompte \N 1 \N P 0
-138 PDF:sec \N 1 \N P 0
-139 CSV:AncList \N 1 \N P 0
-140 CSV:AncBalSimple \N 1 \N P 0
-141 PDF:AncBalSimple \N 1 \N P 0
-142 CSV:AncBalDouble \N 1 \N P 0
-143 PDF:AncBalDouble \N 1 \N P 0
-144 CSV:balance \N 1 \N P 0
-145 PDF:balance \N 1 \N P 0
-146 CSV:AncTable \N 1 \N P 0
-147 CSV:AncAccList \N 1 \N P 0
-148 CSV:AncBalGroup \N 1 \N P 0
-149 OTH:Bilan \N 1 \N P 0
-528 PRINTPOSTE PRINT 1 30 E 0
-525 PRINTCARD PRINT 1 40 E 0
-1 DASHBOARD \N 1 10 M 1
-172 CFGPRO MOD 1 \N E 0
-171 CFGMENU MOD 1 \N E 0
-663 CFGPAY DIVPARM 2 4 E 0
-664 CFGATCARD DIVPARM 2 9 E 0
-665 CFGACC DIVPARM 2 6 E 0
-668 ANCHOP ANCIMP 2 10 E 0
-669 COMPTA \N 2 40 M 0
-672 ANCGL ANCIMP 2 20 E 0
-673 CFGTVA DIVPARM 2 5 E 0
-674 ANCBS ANCIMP 2 30 E 0
-675 ANCBC2 ANCIMP 2 40 E 0
-676 ANCTAB ANCIMP 2 50 E 0
-677 ANCBCC ANCIMP 2 60 E 0
-678 ANCGR ANCIMP 2 70 E 0
-679 CSV:AncGrandLivre \N 2 \N P 0
-680 new_line \N 2 35 M 0
-681 CFGCATDOC DIVPARM 2 8 E 0
-683 PRINTGL PRINT 2 20 E 0
-684 LET COMPTA 2 8 E 0
-685 PRINTBAL PRINT 2 50 E 0
-686 PRINTREPORT PRINT 2 85 E 0
-688 PLANANC ANC 2 1 E 0
-689 CFGCARDCAT DIVPARM 2 7 E 0
-690 ANCODS ANC 2 2 E 0
-717 CSV:ledger \N 2 \N P 0
-718 PDF:ledger \N 2 \N P 0
-719 PRINT COMPTA 2 6 E 0
-720 CSV:postedetail \N 2 \N P 0
-721 MENUACH COMPTA 2 3 E 0
-722 ACHIMP MENUACH 2 2 E 0
-723 GESTION \N 2 45 M 0
-724 MENUODS COMPTA 2 5 E 0
-725 ODS MENUODS 2 1 E 0
-726 ODSIMP MENUODS 2 2 E 0
-727 ANC \N 2 50 M 0
-728 VENMENU COMPTA 2 2 E 0
-729 VEN VENMENU 2 1 E 0
-730 VENIMP VENMENU 2 2 E 0
-731 FIN MENUFIN 2 1 E 0
-735 EXT \N 2 55 M 0
-736 FREC MENUFIN 2 4 E 0
-737 FSALDO MENUFIN 2 3 E 0
-738 LETACC LET 2 2 E 0
-691 ANCGROUP ANC 2 3 E 0
-692 ANCIMP ANC 2 4 E 0
-694 PRINTJRN PRINT 2 10 E 0
-695 PRINTREC PRINT 2 100 E 0
-696 PRINTBILAN PRINT 2 90 E 0
-697 PREFERENCE \N 2 15 M 0
-698 CUST GESTION 2 1 E 0
-699 SUPPL GESTION 2 2 E 0
-700 ADM GESTION 2 3 E 0
-701 CARD GESTION 2 6 E 0
-702 STOCK GESTION 2 5 E 0
-703 FORECAST GESTION 2 7 E 0
-704 FOLLOW GESTION 2 8 E 0
-705 VERIFBIL ADV 2 21 E 0
-706 STOCK ADV 2 22 E 0
-707 PREDOP ADV 2 23 E 0
-708 OPEN ADV 2 24 E 0
-709 REPORT ADV 2 25 E 0
-710 CARD COMPTA 2 7 E 0
-711 HIST COMPTA 2 1 E 0
-712 ADV COMPTA 2 20 E 0
-713 ACCESS \N 2 25 M 0
-714 CSV:histo \N 2 \N P 0
-715 LOGOUT \N 2 30 M 0
-716 PRINT GESTION 2 4 E 0
-739 LETCARD LET 2 1 E 0
-742 MENUFIN COMPTA 2 4 E 0
-743 FIMP MENUFIN 2 2 E 0
-744 SEARCH \N 2 60 M 0
-745 ACH MENUACH 2 1 E 0
-746 PDF:postedetail \N 2 \N P 0
-747 CSV:fichedetail \N 2 \N P 0
-748 PDF:fichedetail \N 2 \N P 0
-749 CSV:fiche_balance \N 2 \N P 0
-750 PDF:fiche_balance \N 2 \N P 0
-751 CSV:report \N 2 \N P 0
-752 PDF:report \N 2 \N P 0
-753 CSV:fiche \N 2 \N P 0
-754 PDF:fiche \N 2 \N P 0
-755 CSV:glcompte \N 2 \N P 0
-756 PDF:glcompte \N 2 \N P 0
-757 PDF:sec \N 2 \N P 0
-758 CSV:AncList \N 2 \N P 0
-759 CSV:AncBalSimple \N 2 \N P 0
-760 PDF:AncBalSimple \N 2 \N P 0
-761 CSV:AncBalDouble \N 2 \N P 0
-762 PDF:AncBalDouble \N 2 \N P 0
-763 CSV:balance \N 2 \N P 0
-764 PDF:balance \N 2 \N P 0
-765 CSV:AncTable \N 2 \N P 0
-766 CSV:AncAccList \N 2 \N P 0
-767 CSV:AncBalGroup \N 2 \N P 0
-768 OTH:Bilan \N 2 \N P 0
-769 PRINTPOSTE PRINT 2 30 E 0
-770 PRINTCARD PRINT 2 40 E 0
-777 CFGPRO MOD 2 \N E 0
-778 CFGMENU MOD 2 \N E 0
-772 DASHBOARD \N 2 10 M 1
-779 TVA EXT 1 \N S \N
-\.
+INSERT INTO profile_menu VALUES (59, 'CFGPAY', 'DIVPARM', 1, 4, 'E', 0);
+INSERT INTO profile_menu VALUES (68, 'CFGATCARD', 'DIVPARM', 1, 9, 'E', 0);
+INSERT INTO profile_menu VALUES (61, 'CFGACC', 'DIVPARM', 1, 6, 'E', 0);
+INSERT INTO profile_menu VALUES (54, 'COMPANY', 'PARAM', 1, 1, 'E', 0);
+INSERT INTO profile_menu VALUES (651, 'ANCHOP', 'ANCIMP', 1, 10, 'E', 0);
+INSERT INTO profile_menu VALUES (173, 'COMPTA', NULL, 1, 40, 'M', 0);
+INSERT INTO profile_menu VALUES (55, 'PERIODE', 'PARAM', 1, 2, 'E', 0);
+INSERT INTO profile_menu VALUES (56, 'DIVPARM', 'PARAM', 1, 3, 'E', 0);
+INSERT INTO profile_menu VALUES (652, 'ANCGL', 'ANCIMP', 1, 20, 'E', 0);
+INSERT INTO profile_menu VALUES (60, 'CFGTVA', 'DIVPARM', 1, 5, 'E', 0);
+INSERT INTO profile_menu VALUES (653, 'ANCBS', 'ANCIMP', 1, 30, 'E', 0);
+INSERT INTO profile_menu VALUES (654, 'ANCBC2', 'ANCIMP', 1, 40, 'E', 0);
+INSERT INTO profile_menu VALUES (655, 'ANCTAB', 'ANCIMP', 1, 50, 'E', 0);
+INSERT INTO profile_menu VALUES (656, 'ANCBCC', 'ANCIMP', 1, 60, 'E', 0);
+INSERT INTO profile_menu VALUES (657, 'ANCGR', 'ANCIMP', 1, 70, 'E', 0);
+INSERT INTO profile_menu VALUES (658, 'CSV:AncGrandLivre', NULL, 1, NULL, 'P',
0);
+INSERT INTO profile_menu VALUES (662, 'new_line', NULL, 1, 35, 'M', 0);
+INSERT INTO profile_menu VALUES (67, 'CFGCATDOC', 'DIVPARM', 1, 8, 'E', 0);
+INSERT INTO profile_menu VALUES (69, 'CFGPCMN', 'PARAM', 1, 4, 'E', 0);
+INSERT INTO profile_menu VALUES (526, 'PRINTGL', 'PRINT', 1, 20, 'E', 0);
+INSERT INTO profile_menu VALUES (23, 'LET', 'COMPTA', 1, 8, 'E', 0);
+INSERT INTO profile_menu VALUES (523, 'PRINTBAL', 'PRINT', 1, 50, 'E', 0);
+INSERT INTO profile_menu VALUES (529, 'PRINTREPORT', 'PRINT', 1, 85, 'E', 0);
+INSERT INTO profile_menu VALUES (72, 'PREDOP', 'PARAM', 1, 7, 'E', 0);
+INSERT INTO profile_menu VALUES (75, 'PLANANC', 'ANC', 1, 1, 'E', 0);
+INSERT INTO profile_menu VALUES (65, 'CFGCARDCAT', 'DIVPARM', 1, 7, 'E', 0);
+INSERT INTO profile_menu VALUES (76, 'ANCODS', 'ANC', 1, 2, 'E', 0);
+INSERT INTO profile_menu VALUES (77, 'ANCGROUP', 'ANC', 1, 3, 'E', 0);
+INSERT INTO profile_menu VALUES (78, 'ANCIMP', 'ANC', 1, 4, 'E', 0);
+INSERT INTO profile_menu VALUES (45, 'PARAM', NULL, 1, 20, 'M', 0);
+INSERT INTO profile_menu VALUES (527, 'PRINTJRN', 'PRINT', 1, 10, 'E', 0);
+INSERT INTO profile_menu VALUES (530, 'PRINTREC', 'PRINT', 1, 100, 'E', 0);
+INSERT INTO profile_menu VALUES (524, 'PRINTBILAN', 'PRINT', 1, 90, 'E', 0);
+INSERT INTO profile_menu VALUES (79, 'PREFERENCE', NULL, 1, 15, 'M', 0);
+INSERT INTO profile_menu VALUES (37, 'CUST', 'GESTION', 1, 1, 'E', 0);
+INSERT INTO profile_menu VALUES (38, 'SUPPL', 'GESTION', 1, 2, 'E', 0);
+INSERT INTO profile_menu VALUES (39, 'ADM', 'GESTION', 1, 3, 'E', 0);
+INSERT INTO profile_menu VALUES (36, 'CARD', 'GESTION', 1, 6, 'E', 0);
+INSERT INTO profile_menu VALUES (40, 'STOCK', 'GESTION', 1, 5, 'E', 0);
+INSERT INTO profile_menu VALUES (41, 'FORECAST', 'GESTION', 1, 7, 'E', 0);
+INSERT INTO profile_menu VALUES (42, 'FOLLOW', 'GESTION', 1, 8, 'E', 0);
+INSERT INTO profile_menu VALUES (29, 'VERIFBIL', 'ADV', 1, 21, 'E', 0);
+INSERT INTO profile_menu VALUES (30, 'STOCK', 'ADV', 1, 22, 'E', 0);
+INSERT INTO profile_menu VALUES (31, 'PREDOP', 'ADV', 1, 23, 'E', 0);
+INSERT INTO profile_menu VALUES (32, 'OPEN', 'ADV', 1, 24, 'E', 0);
+INSERT INTO profile_menu VALUES (33, 'REPORT', 'ADV', 1, 25, 'E', 0);
+INSERT INTO profile_menu VALUES (5, 'CARD', 'COMPTA', 1, 7, 'E', 0);
+INSERT INTO profile_menu VALUES (43, 'HIST', 'COMPTA', 1, 1, 'E', 0);
+INSERT INTO profile_menu VALUES (28, 'ADV', 'COMPTA', 1, 20, 'E', 0);
+INSERT INTO profile_menu VALUES (53, 'ACCESS', NULL, 1, 25, 'M', 0);
+INSERT INTO profile_menu VALUES (123, 'CSV:histo', NULL, 1, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (20, 'LOGOUT', NULL, 1, 30, 'M', 0);
+INSERT INTO profile_menu VALUES (35, 'PRINT', 'GESTION', 1, 4, 'E', 0);
+INSERT INTO profile_menu VALUES (124, 'CSV:ledger', NULL, 1, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (125, 'PDF:ledger', NULL, 1, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (6, 'PRINT', 'COMPTA', 1, 6, 'E', 0);
+INSERT INTO profile_menu VALUES (126, 'CSV:postedetail', NULL, 1, NULL, 'P',
0);
+INSERT INTO profile_menu VALUES (3, 'MENUACH', 'COMPTA', 1, 3, 'E', 0);
+INSERT INTO profile_menu VALUES (86, 'ACHIMP', 'MENUACH', 1, 2, 'E', 0);
+INSERT INTO profile_menu VALUES (34, 'GESTION', NULL, 1, 45, 'M', 0);
+INSERT INTO profile_menu VALUES (18, 'MENUODS', 'COMPTA', 1, 5, 'E', 0);
+INSERT INTO profile_menu VALUES (88, 'ODS', 'MENUODS', 1, 1, 'E', 0);
+INSERT INTO profile_menu VALUES (89, 'ODSIMP', 'MENUODS', 1, 2, 'E', 0);
+INSERT INTO profile_menu VALUES (2, 'ANC', NULL, 1, 50, 'M', 0);
+INSERT INTO profile_menu VALUES (4, 'VENMENU', 'COMPTA', 1, 2, 'E', 0);
+INSERT INTO profile_menu VALUES (90, 'VEN', 'VENMENU', 1, 1, 'E', 0);
+INSERT INTO profile_menu VALUES (91, 'VENIMP', 'VENMENU', 1, 2, 'E', 0);
+INSERT INTO profile_menu VALUES (19, 'FIN', 'MENUFIN', 1, 1, 'E', 0);
+INSERT INTO profile_menu VALUES (73, 'CFGDOC', 'PARAM', 1, 8, 'E', 0);
+INSERT INTO profile_menu VALUES (74, 'CFGLED', 'PARAM', 1, 9, 'E', 0);
+INSERT INTO profile_menu VALUES (71, 'CFGSEC', 'PARAM', 1, 6, 'E', 0);
+INSERT INTO profile_menu VALUES (82, 'EXT', NULL, 1, 55, 'M', 0);
+INSERT INTO profile_menu VALUES (95, 'FREC', 'MENUFIN', 1, 4, 'E', 0);
+INSERT INTO profile_menu VALUES (94, 'FSALDO', 'MENUFIN', 1, 3, 'E', 0);
+INSERT INTO profile_menu VALUES (27, 'LETACC', 'LET', 1, 2, 'E', 0);
+INSERT INTO profile_menu VALUES (24, 'LETCARD', 'LET', 1, 1, 'E', 0);
+INSERT INTO profile_menu VALUES (167, 'MOD', 'PARAM', 1, 1, 'E', 0);
+INSERT INTO profile_menu VALUES (92, 'MENUFIN', 'COMPTA', 1, 4, 'E', 0);
+INSERT INTO profile_menu VALUES (93, 'FIMP', 'MENUFIN', 1, 2, 'E', 0);
+INSERT INTO profile_menu VALUES (151, 'SEARCH', NULL, 1, 60, 'M', 0);
+INSERT INTO profile_menu VALUES (85, 'ACH', 'MENUACH', 1, 1, 'E', 0);
+INSERT INTO profile_menu VALUES (127, 'PDF:postedetail', NULL, 1, NULL, 'P',
0);
+INSERT INTO profile_menu VALUES (128, 'CSV:fichedetail', NULL, 1, NULL, 'P',
0);
+INSERT INTO profile_menu VALUES (129, 'PDF:fichedetail', NULL, 1, NULL, 'P',
0);
+INSERT INTO profile_menu VALUES (130, 'CSV:fiche_balance', NULL, 1, NULL, 'P',
0);
+INSERT INTO profile_menu VALUES (131, 'PDF:fiche_balance', NULL, 1, NULL, 'P',
0);
+INSERT INTO profile_menu VALUES (132, 'CSV:report', NULL, 1, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (133, 'PDF:report', NULL, 1, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (134, 'CSV:fiche', NULL, 1, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (135, 'PDF:fiche', NULL, 1, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (136, 'CSV:glcompte', NULL, 1, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (137, 'PDF:glcompte', NULL, 1, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (138, 'PDF:sec', NULL, 1, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (139, 'CSV:AncList', NULL, 1, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (140, 'CSV:AncBalSimple', NULL, 1, NULL, 'P',
0);
+INSERT INTO profile_menu VALUES (141, 'PDF:AncBalSimple', NULL, 1, NULL, 'P',
0);
+INSERT INTO profile_menu VALUES (142, 'CSV:AncBalDouble', NULL, 1, NULL, 'P',
0);
+INSERT INTO profile_menu VALUES (143, 'PDF:AncBalDouble', NULL, 1, NULL, 'P',
0);
+INSERT INTO profile_menu VALUES (144, 'CSV:balance', NULL, 1, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (145, 'PDF:balance', NULL, 1, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (146, 'CSV:AncTable', NULL, 1, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (147, 'CSV:AncAccList', NULL, 1, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (148, 'CSV:AncBalGroup', NULL, 1, NULL, 'P',
0);
+INSERT INTO profile_menu VALUES (149, 'OTH:Bilan', NULL, 1, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (528, 'PRINTPOSTE', 'PRINT', 1, 30, 'E', 0);
+INSERT INTO profile_menu VALUES (525, 'PRINTCARD', 'PRINT', 1, 40, 'E', 0);
+INSERT INTO profile_menu VALUES (1, 'DASHBOARD', NULL, 1, 10, 'M', 1);
+INSERT INTO profile_menu VALUES (172, 'CFGPRO', 'MOD', 1, NULL, 'E', 0);
+INSERT INTO profile_menu VALUES (171, 'CFGMENU', 'MOD', 1, NULL, 'E', 0);
+INSERT INTO profile_menu VALUES (663, 'CFGPAY', 'DIVPARM', 2, 4, 'E', 0);
+INSERT INTO profile_menu VALUES (664, 'CFGATCARD', 'DIVPARM', 2, 9, 'E', 0);
+INSERT INTO profile_menu VALUES (665, 'CFGACC', 'DIVPARM', 2, 6, 'E', 0);
+INSERT INTO profile_menu VALUES (668, 'ANCHOP', 'ANCIMP', 2, 10, 'E', 0);
+INSERT INTO profile_menu VALUES (669, 'COMPTA', NULL, 2, 40, 'M', 0);
+INSERT INTO profile_menu VALUES (672, 'ANCGL', 'ANCIMP', 2, 20, 'E', 0);
+INSERT INTO profile_menu VALUES (673, 'CFGTVA', 'DIVPARM', 2, 5, 'E', 0);
+INSERT INTO profile_menu VALUES (674, 'ANCBS', 'ANCIMP', 2, 30, 'E', 0);
+INSERT INTO profile_menu VALUES (675, 'ANCBC2', 'ANCIMP', 2, 40, 'E', 0);
+INSERT INTO profile_menu VALUES (676, 'ANCTAB', 'ANCIMP', 2, 50, 'E', 0);
+INSERT INTO profile_menu VALUES (677, 'ANCBCC', 'ANCIMP', 2, 60, 'E', 0);
+INSERT INTO profile_menu VALUES (678, 'ANCGR', 'ANCIMP', 2, 70, 'E', 0);
+INSERT INTO profile_menu VALUES (679, 'CSV:AncGrandLivre', NULL, 2, NULL, 'P',
0);
+INSERT INTO profile_menu VALUES (680, 'new_line', NULL, 2, 35, 'M', 0);
+INSERT INTO profile_menu VALUES (681, 'CFGCATDOC', 'DIVPARM', 2, 8, 'E', 0);
+INSERT INTO profile_menu VALUES (683, 'PRINTGL', 'PRINT', 2, 20, 'E', 0);
+INSERT INTO profile_menu VALUES (684, 'LET', 'COMPTA', 2, 8, 'E', 0);
+INSERT INTO profile_menu VALUES (685, 'PRINTBAL', 'PRINT', 2, 50, 'E', 0);
+INSERT INTO profile_menu VALUES (686, 'PRINTREPORT', 'PRINT', 2, 85, 'E', 0);
+INSERT INTO profile_menu VALUES (688, 'PLANANC', 'ANC', 2, 1, 'E', 0);
+INSERT INTO profile_menu VALUES (689, 'CFGCARDCAT', 'DIVPARM', 2, 7, 'E', 0);
+INSERT INTO profile_menu VALUES (690, 'ANCODS', 'ANC', 2, 2, 'E', 0);
+INSERT INTO profile_menu VALUES (717, 'CSV:ledger', NULL, 2, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (718, 'PDF:ledger', NULL, 2, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (719, 'PRINT', 'COMPTA', 2, 6, 'E', 0);
+INSERT INTO profile_menu VALUES (720, 'CSV:postedetail', NULL, 2, NULL, 'P',
0);
+INSERT INTO profile_menu VALUES (721, 'MENUACH', 'COMPTA', 2, 3, 'E', 0);
+INSERT INTO profile_menu VALUES (722, 'ACHIMP', 'MENUACH', 2, 2, 'E', 0);
+INSERT INTO profile_menu VALUES (723, 'GESTION', NULL, 2, 45, 'M', 0);
+INSERT INTO profile_menu VALUES (724, 'MENUODS', 'COMPTA', 2, 5, 'E', 0);
+INSERT INTO profile_menu VALUES (725, 'ODS', 'MENUODS', 2, 1, 'E', 0);
+INSERT INTO profile_menu VALUES (726, 'ODSIMP', 'MENUODS', 2, 2, 'E', 0);
+INSERT INTO profile_menu VALUES (727, 'ANC', NULL, 2, 50, 'M', 0);
+INSERT INTO profile_menu VALUES (728, 'VENMENU', 'COMPTA', 2, 2, 'E', 0);
+INSERT INTO profile_menu VALUES (729, 'VEN', 'VENMENU', 2, 1, 'E', 0);
+INSERT INTO profile_menu VALUES (730, 'VENIMP', 'VENMENU', 2, 2, 'E', 0);
+INSERT INTO profile_menu VALUES (731, 'FIN', 'MENUFIN', 2, 1, 'E', 0);
+INSERT INTO profile_menu VALUES (735, 'EXT', NULL, 2, 55, 'M', 0);
+INSERT INTO profile_menu VALUES (736, 'FREC', 'MENUFIN', 2, 4, 'E', 0);
+INSERT INTO profile_menu VALUES (737, 'FSALDO', 'MENUFIN', 2, 3, 'E', 0);
+INSERT INTO profile_menu VALUES (738, 'LETACC', 'LET', 2, 2, 'E', 0);
+INSERT INTO profile_menu VALUES (691, 'ANCGROUP', 'ANC', 2, 3, 'E', 0);
+INSERT INTO profile_menu VALUES (692, 'ANCIMP', 'ANC', 2, 4, 'E', 0);
+INSERT INTO profile_menu VALUES (694, 'PRINTJRN', 'PRINT', 2, 10, 'E', 0);
+INSERT INTO profile_menu VALUES (695, 'PRINTREC', 'PRINT', 2, 100, 'E', 0);
+INSERT INTO profile_menu VALUES (696, 'PRINTBILAN', 'PRINT', 2, 90, 'E', 0);
+INSERT INTO profile_menu VALUES (697, 'PREFERENCE', NULL, 2, 15, 'M', 0);
+INSERT INTO profile_menu VALUES (698, 'CUST', 'GESTION', 2, 1, 'E', 0);
+INSERT INTO profile_menu VALUES (699, 'SUPPL', 'GESTION', 2, 2, 'E', 0);
+INSERT INTO profile_menu VALUES (700, 'ADM', 'GESTION', 2, 3, 'E', 0);
+INSERT INTO profile_menu VALUES (701, 'CARD', 'GESTION', 2, 6, 'E', 0);
+INSERT INTO profile_menu VALUES (702, 'STOCK', 'GESTION', 2, 5, 'E', 0);
+INSERT INTO profile_menu VALUES (703, 'FORECAST', 'GESTION', 2, 7, 'E', 0);
+INSERT INTO profile_menu VALUES (704, 'FOLLOW', 'GESTION', 2, 8, 'E', 0);
+INSERT INTO profile_menu VALUES (705, 'VERIFBIL', 'ADV', 2, 21, 'E', 0);
+INSERT INTO profile_menu VALUES (706, 'STOCK', 'ADV', 2, 22, 'E', 0);
+INSERT INTO profile_menu VALUES (707, 'PREDOP', 'ADV', 2, 23, 'E', 0);
+INSERT INTO profile_menu VALUES (708, 'OPEN', 'ADV', 2, 24, 'E', 0);
+INSERT INTO profile_menu VALUES (709, 'REPORT', 'ADV', 2, 25, 'E', 0);
+INSERT INTO profile_menu VALUES (710, 'CARD', 'COMPTA', 2, 7, 'E', 0);
+INSERT INTO profile_menu VALUES (711, 'HIST', 'COMPTA', 2, 1, 'E', 0);
+INSERT INTO profile_menu VALUES (712, 'ADV', 'COMPTA', 2, 20, 'E', 0);
+INSERT INTO profile_menu VALUES (713, 'ACCESS', NULL, 2, 25, 'M', 0);
+INSERT INTO profile_menu VALUES (714, 'CSV:histo', NULL, 2, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (715, 'LOGOUT', NULL, 2, 30, 'M', 0);
+INSERT INTO profile_menu VALUES (716, 'PRINT', 'GESTION', 2, 4, 'E', 0);
+INSERT INTO profile_menu VALUES (739, 'LETCARD', 'LET', 2, 1, 'E', 0);
+INSERT INTO profile_menu VALUES (742, 'MENUFIN', 'COMPTA', 2, 4, 'E', 0);
+INSERT INTO profile_menu VALUES (743, 'FIMP', 'MENUFIN', 2, 2, 'E', 0);
+INSERT INTO profile_menu VALUES (744, 'SEARCH', NULL, 2, 60, 'M', 0);
+INSERT INTO profile_menu VALUES (745, 'ACH', 'MENUACH', 2, 1, 'E', 0);
+INSERT INTO profile_menu VALUES (746, 'PDF:postedetail', NULL, 2, NULL, 'P',
0);
+INSERT INTO profile_menu VALUES (747, 'CSV:fichedetail', NULL, 2, NULL, 'P',
0);
+INSERT INTO profile_menu VALUES (748, 'PDF:fichedetail', NULL, 2, NULL, 'P',
0);
+INSERT INTO profile_menu VALUES (749, 'CSV:fiche_balance', NULL, 2, NULL, 'P',
0);
+INSERT INTO profile_menu VALUES (750, 'PDF:fiche_balance', NULL, 2, NULL, 'P',
0);
+INSERT INTO profile_menu VALUES (751, 'CSV:report', NULL, 2, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (752, 'PDF:report', NULL, 2, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (753, 'CSV:fiche', NULL, 2, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (754, 'PDF:fiche', NULL, 2, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (755, 'CSV:glcompte', NULL, 2, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (756, 'PDF:glcompte', NULL, 2, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (757, 'PDF:sec', NULL, 2, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (758, 'CSV:AncList', NULL, 2, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (759, 'CSV:AncBalSimple', NULL, 2, NULL, 'P',
0);
+INSERT INTO profile_menu VALUES (760, 'PDF:AncBalSimple', NULL, 2, NULL, 'P',
0);
+INSERT INTO profile_menu VALUES (761, 'CSV:AncBalDouble', NULL, 2, NULL, 'P',
0);
+INSERT INTO profile_menu VALUES (762, 'PDF:AncBalDouble', NULL, 2, NULL, 'P',
0);
+INSERT INTO profile_menu VALUES (763, 'CSV:balance', NULL, 2, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (764, 'PDF:balance', NULL, 2, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (765, 'CSV:AncTable', NULL, 2, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (766, 'CSV:AncAccList', NULL, 2, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (767, 'CSV:AncBalGroup', NULL, 2, NULL, 'P',
0);
+INSERT INTO profile_menu VALUES (768, 'OTH:Bilan', NULL, 2, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (769, 'PRINTPOSTE', 'PRINT', 2, 30, 'E', 0);
+INSERT INTO profile_menu VALUES (770, 'PRINTCARD', 'PRINT', 2, 40, 'E', 0);
+INSERT INTO profile_menu VALUES (777, 'CFGPRO', 'MOD', 2, NULL, 'E', 0);
+INSERT INTO profile_menu VALUES (778, 'CFGMENU', 'MOD', 2, NULL, 'E', 0);
+INSERT INTO profile_menu VALUES (772, 'DASHBOARD', NULL, 2, 10, 'M', 1);
+INSERT INTO profile_menu VALUES (779, 'TVA', 'EXT', 1, NULL, 'S', NULL);
--
-- Data for Name: profile_menu_type; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY profile_menu_type (pm_type, pm_desc) FROM stdin;
-P Impression
-S Extension
-E Menu
-M Module
-\.
+INSERT INTO profile_menu_type VALUES ('P', 'Impression');
+INSERT INTO profile_menu_type VALUES ('S', 'Extension');
+INSERT INTO profile_menu_type VALUES ('E', 'Menu');
+INSERT INTO profile_menu_type VALUES ('M', 'Module');
--
-- Data for Name: profile_user; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY profile_user (user_name, pu_id, p_id) FROM stdin;
-phpcompta 1 1
-\.
+INSERT INTO profile_user VALUES ('phpcompta', 1, 1);
--
-- Data for Name: quant_fin; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY quant_fin (qf_id, qf_bank, jr_id, qf_other, qf_amount) FROM stdin;
-\.
--
-- Data for Name: quant_purchase; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY quant_purchase (qp_id, qp_internal, j_id, qp_fiche, qp_quantite,
qp_price, qp_vat, qp_vat_code, qp_nd_amount, qp_nd_tva, qp_nd_tva_recup,
qp_supplier, qp_valid, qp_dep_priv, qp_vat_sided) FROM stdin;
-\.
--
-- Data for Name: quant_sold; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY quant_sold (qs_id, qs_internal, qs_fiche, qs_quantite, qs_price, qs_vat,
qs_vat_code, qs_client, qs_valid, j_id, qs_vat_sided) FROM stdin;
-\.
--
-- Data for Name: stock_goods; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY stock_goods (sg_id, j_id, f_id, sg_code, sg_quantity, sg_type, sg_date,
sg_tech_date, sg_tech_user, sg_comment, sg_exercice) FROM stdin;
-\.
--
-- Data for Name: tmp_pcmn; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY tmp_pcmn (pcm_val, pcm_lib, pcm_val_parent, pcm_type) FROM stdin;
-794 Intervention d'associés (ou du propriétaire) dans la perte 79
PRO
-1 Fonds propres, provisions pour risques et charges à plus d'un an
0 PAS
-2 Frais d'établissement, actifs immobilisés et créances à plus d'un an
0 ACT
-3 Stocks et commandes en cours d'éxécution 0 ACT
-4 Créances et dettes à un an au plus 0 ACT
-5 Placements de trésorerie et valeurs disponibles 0 ACT
-6 Charges 0 CHA
-7 Produits 0 PRO
-4000001 Client 1 400 ACT
-4000002 Client 2 400 ACT
-4000003 Client 3 400 ACT
-6040001 Electricité 604 CHA
-6040002 Loyer 604 CHA
-55000002 Banque 1 5500 ACT
-55000003 Banque 2 5500 ACT
-4400001 Fournisseur 1 440 PAS
-4400002 Fournisseur 2 440 PAS
-4400003 Fournisseur 4 440 PAS
-610001 Electricité 61 CHA
-610002 Loyer 61 CHA
-610003 Assurance 61 CHA
-610004 Matériel bureau 61 CHA
-7000002 Marchandise A 700 PRO
-7000001 Prestation 700 PRO
-7000003 Déplacement 700 PRO
-101 Capital non appelé 10 PASINV
-6190 TVA récupérable par l'impôt 61 CHA
-6740 Dépense non admise 67 CHA
-9 Comptes hors Compta 0 CON
-100 Capital souscrit 10 PAS
-1311 Autres réserves indisponibles 131 PAS
-132 Réserves immunisées 13 PAS
-6711 Suppléments d'impôts estimés 671 CHA
-6712 Provisions fiscales constituées 671 CHA
-672 Impôts étrangers sur le résultat de l'exercice 67 CHA
-673 Impôts étrangers sur le résultat d'exercice antérieures 67 CHA
-68 Transferts aux réserves immunisées 6 CHA
-69 Affectations et prélévements 6 CHA
-690 Perte reportée de l'exercice précédent 69 CHA
-691 Dotation à la réserve légale 69 CHA
-692 Dotation aux autres réserves 69 CHA
-693 Bénéfice à reporter 69 CHA
-694 Rémunération du capital 69 CHA
-695 Administrateurs ou gérants 69 CHA
-696 Autres allocataires 69 CHA
-70 Chiffre d'affaire 7 PRO
-700 Ventes et prestations de services 70 PRO
-701 Ventes et prestations de services 70 PRO
-702 Ventes et prestations de services 70 PRO
-703 Ventes et prestations de services 70 PRO
-704 Ventes et prestations de services 70 PRO
-706 Ventes et prestations de services 70 PRO
-707 Ventes et prestations de services 70 PRO
-709 Remises, ristournes et rabais accordés(-) 70 PROINV
-71 Variations des stocks et commandes en cours d'éxécution 7 PRO
-712 des en-cours de fabrication 71 PRO
-713 des produits finis 71 PRO
-715 des immeubles construits destinés à la vente 71 PRO
-717 des commandes en cours d'éxécution 71 PRO
-7170 Valeur d'acquisition 717 PRO
-7171 Bénéfice pris en compte 717 PRO
-72 Production immobilisée 7 PRO
-74 Autres produits d'exploitation 7 PRO
-740 Subsides d' exploitation et montants compensatoires 74 PRO
-741 Plus-values sur réalisation courantes d' immobilisations corporelles
74 PRO
-742 Plus-values sur réalisations de créances commerciales 74 PRO
-743 Produits d'exploitations divers 74 PRO
-744 Produits d'exploitations divers 74 PRO
-745 Produits d'exploitations divers 74 PRO
-746 Produits d'exploitations divers 74 PRO
-747 Produits d'exploitations divers 74 PRO
-748 Produits d'exploitations divers 74 PRO
-75 Produits financiers 7 PRO
-750 Produits sur immobilisations financières 75 PRO
-751 Produits des actifs circulants 75 PRO
-752 Plus-value sur réalisations d'actis circulants 75 PRO
-753 Subsides en capital et intérêts 75 PRO
-754 Différences de change 75 PRO
-755 Ecarts de conversion des devises 75 PRO
-221 Construction 22 ACT
-756 Produits financiers divers 75 PRO
-757 Produits financiers divers 75 PRO
-758 Produits financiers divers 75 PRO
-759 Produits financiers divers 75 PRO
-76 Produits exceptionnels 7 PRO
-760 Reprise d'amortissements et de réductions de valeur 76 PRO
-7601 sur immobilisations corporelles 760 PRO
-7602 sur immobilisations incorporelles 760 PRO
-761 Reprises de réductions de valeur sur immobilisations financières
76 PRO
-762 Reprises de provisions pour risques et charges exceptionnels 76
PRO
-763 Plus-value sur réalisation d'actifs immobilisé 76 PRO
-764 Autres produits exceptionnels 76 PRO
-765 Autres produits exceptionnels 76 PRO
-766 Autres produits exceptionnels 76 PRO
-767 Autres produits exceptionnels 76 PRO
-768 Autres produits exceptionnels 76 PRO
-769 Autres produits exceptionnels 76 PRO
-77 Régularisations d'impôts et reprises de provisions fiscales 7
PRO
-771 impôts belges sur le résultat 77 PRO
-7710 Régularisations d'impôts dus ou versé 771 PRO
-7711 Régularisations d'impôts estimés 771 PRO
-7712 Reprises de provisions fiscales 771 PRO
-773 Impôts étrangers sur le résultats 77 PRO
-79 Affectations et prélévements 7 PRO
-790 Bénéfice reporté de l'exercice précédent 79 PRO
-791 Prélévement sur le capital et les primes d'émission 79 PRO
-792 Prélévement sur les réserves 79 PRO
-793 Perte à reporter 79 PRO
-6301 Dotations aux amortissements sur immobilisations incorporelles 630
CHA
-6302 Dotations aux amortissements sur immobilisations corporelles 630
CHA
-6308 Dotations aux réductions de valeur sur immobilisations incorporelles
630 CHA
-6309 Dotations aux réductions de valeur sur immobilisations corporelles
630 CHA
-631 Réductions de valeur sur stocks 63 CHA
-6310 Dotations 631 CHA
-6311 Reprises(-) 631 CHAINV
-632 Réductions de valeur sur commande en cours d'éxécution 63 CHA
-6320 Dotations 632 CHA
-6321 Reprises(-) 632 CHAINV
-633 Réductions de valeurs sur créances commerciales à plus d'un an 63
CHA
-6330 Dotations 633 CHA
-6331 Reprises(-) 633 CHAINV
-634 Réductions de valeur sur créances commerciales à un an au plus 63
CHA
-6340 Dotations 634 CHA
-6341 Reprise 634 CHAINV
-635 Provisions pour pensions et obligations similaires 63 CHA
-6350 Dotations 635 CHA
-6351 Utilisation et reprises 635 CHAINV
-636 Provisions pour grosses réparations et gros entretien 63 CHA
-6360 Dotations 636 CHA
-6361 Reprises(-) 636 CHAINV
-637 Provisions pour autres risques et charges 63 CHA
-6370 Dotations 637 CHA
-6371 Reprises(-) 637 CHAINV
-64 Autres charges d'exploitation 6 CHA
-640 Charges fiscales d'exploitation 64 CHA
-641 Moins-values sur réalisations courantes d'immobilisations corporelles
64 CHA
-642 Moins-value sur réalisation de créances commerciales 64 CHA
-643 Charges d'exploitations 64 CHA
-644 Charges d'exploitations 64 CHA
-645 Charges d'exploitations 64 CHA
-646 Charges d'exploitations 64 CHA
-647 Charges d'exploitations 64 CHA
-648 Charges d'exploitations 64 CHA
-649 Charges d'exploitation portées à l'actif au titre de frais de
restructuration(-) 64 CHAINV
-65 Charges financières 6 CHA
-650 Charges des dettes 65 CHA
-6500 Intérêts, commmissions et frais afférents aux dettes 650 CHA
-6501 Amortissements des frais d'émissions d'emrunts et des primes de
remboursement 650 CHA
-6502 Autres charges des dettes 650 CHA
-6503 Intérêts intercalaires portés à l'actif(-) 650 CHA
-651 Réductions de valeur sur actifs circulants 65 CHA
-6510 Dotations 651 CHA
-6511 Reprises(-) 651 CHAINV
-652 Moins-value sur réalisation d'actifs circulants 65 CHA
-653 Charges d'escompte de créances 65 CHA
-654 Différences de changes 65 CHA
-655 Ecarts de conversion des devises 65 CHA
-656 Charges financières diverses 65 CHA
-657 Charges financières diverses 65 CHA
-658 Charges financières diverses 65 CHA
-659 Charges financières diverses 65 CHA
-66 Charges exceptionnelles 6 CHA
-660 Amortissements et réductions de valeur exceptionnels (dotations)
66 CHA
-6600 sur frais d'établissement 660 CHA
-6601 sur immobilisations incorporelles 660 CHA
-6602 sur immobilisations corporelles 660 CHA
-661 Réductions de valeur sur immobilisations financières (dotations)
66 CHA
-662 Provisions pour risques et charges exceptionnels 66 CHA
-663 Moins-values sur réalisations d'actifs immobilisés 66 CHA
-664 Autres charges exceptionnelles 66 CHA
-665 Autres charges exceptionnelles 66 CHA
-666 Autres charges exceptionnelles 66 CHA
-667 Autres charges exceptionnelles 66 CHA
-668 Autres charges exceptionnelles 66 CHA
-669 Charges exceptionnelles portées à l'actif au titre de frais de
restructuration 66 CHA
-67 impôts sur le résultat 6 CHA
-670 Impôts belge sur le résultat de l'exercice 67 CHA
-6700 Impôts et précomptes dus ou versés 670 CHA
-6701 Excédents de versement d'impôts et de précomptes portés à l'actifs (-)
670 CHAINV
-6702 Charges fiscales estimées 670 CHA
-671 Impôts belges sur le résultats d'exercices antérieures 67 CHA
-6710 Suppléments d'impôt dus ou versés 671 CHA
-50 Actions propres 5 ACT
-51 Actions et parts 5 ACT
-510 Valeur d'acquisition 51 ACT
-511 Montant non appelés 51 ACT
-519 Réductions de valeur actées 51 ACT
-52 Titres à revenu fixe 5 ACT
-520 Valeur d'acquisition 52 ACT
-529 Réductions de valeur actées 52 ACT
-53 Dépôts à terme 5 ACT
-530 de plus d'un an 53 ACT
-531 de plus d'un mois et d'un an au plus 53 ACT
-532 d'un mois au plus 53 ACT
-539 Réductions de valeur actées 53 ACT
-54 Valeurs échues à l'encaissement 5 ACT
-55 Etablissement de crédit 5 ACT
-550 Banque 1 55 ACT
-5500 Comptes courants 550 ACT
-5501 Chèques émis (-) 550 ACTINV
-5509 Réduction de valeur actée 550 ACT
-5510 Comptes courants 551 ACT
-5511 Chèques émis (-) 551 ACTINV
-5519 Réduction de valeur actée 551 ACT
-5520 Comptes courants 552 ACT
-5521 Chèques émis (-) 552 ACTINV
-5529 Réduction de valeur actée 552 ACT
-5530 Comptes courants 553 ACT
-5531 Chèques émis (-) 553 ACTINV
-5539 Réduction de valeur actée 553 ACT
-5540 Comptes courants 554 ACT
-5541 Chèques émis (-) 554 ACTINV
-5549 Réduction de valeur actée 554 ACT
-5550 Comptes courants 555 ACT
-5551 Chèques émis (-) 555 ACTINV
-5559 Réduction de valeur actée 555 ACT
-5560 Comptes courants 556 ACT
-5561 Chèques émis (-) 556 ACTINV
-5569 Réduction de valeur actée 556 ACT
-5570 Comptes courants 557 ACT
-5571 Chèques émis (-) 557 ACTINV
-5579 Réduction de valeur actée 557 ACT
-5580 Comptes courants 558 ACT
-5581 Chèques émis (-) 558 ACTINV
-5589 Réduction de valeur actée 558 ACT
-5590 Comptes courants 559 ACT
-5591 Chèques émis (-) 559 ACTINV
-5599 Réduction de valeur actée 559 ACT
-56 Office des chèques postaux 5 ACT
-560 Compte courant 56 ACT
-561 Chèques émis 56 ACT
-578 Caisse timbre 57 ACT
-58 Virement interne 5 ACT
-60 Approvisionnement et marchandises 6 CHA
-600 Achats de matières premières 60 CHA
-601 Achats de fournitures 60 CHA
-602 Achats de services, travaux et études 60 CHA
-603 Sous-traitances générales 60 CHA
-604 Achats de marchandises 60 CHA
-605 Achats d'immeubles destinés à la vente 60 CHA
-608 Remises, ristournes et rabais obtenus(-) 60 CHAINV
-609 Variation de stock 60 CHA
-6090 de matières premières 609 CHA
-6091 de fournitures 609 CHA
-6094 de marchandises 609 CHA
-6095 immeubles achetés destinés à la vente 609 CHA
-61 Services et biens divers 6 CHA
-62 Rémunérations, charges sociales et pensions 6 CHA
-620 Rémunérations et avantages sociaux directs 62 CHA
-6200 Administrateurs ou gérants 620 CHA
-6201 Personnel de directions 620 CHA
-6202 Employés,620 6202 CHA
-6203 Ouvriers 620 CHA
-6204 Autres membres du personnel 620 CHA
-621 Cotisations patronales d'assurances sociales 62 CHA
-622 Primes partonales pour assurances extra-légales 62 CHA
-623 Autres frais de personnel 62 CHA
-624 Pensions de retraite et de survie 62 CHA
-6240 Administrateurs ou gérants 624 CHA
-6241 Personnel 624 CHA
-63 Amortissements, réductions de valeurs et provisions pour risques et
charges 6 CHA
-630 Dotations aux amortissements et réduction de valeurs sur
immobilisations 63 CHA
-6300 Dotations aux amortissements sur frais d'établissement 630 CHA
-705 Ventes et prestations de services 70 PRO
-414 Produits à recevoir 41 ACT
-416 Créances diverses 41 ACT
-4160 Comptes de l'exploitant 416 ACT
-417 Créances douteuses 41 ACT
-418 Cautionnements versés en numéraires 41 ACT
-419 Réductions de valeur actées 41 ACT
-42 Dettes à plus dun an échéant dans l'année 4 PAS
-420 Emprunts subordonnés 42 PAS
-4200 convertibles 420 PAS
-4201 non convertibles 420 PAS
-421 Emprunts subordonnés 42 PAS
-4210 convertibles 420 PAS
-4211 non convertibles 420 PAS
-422 Dettes de locations financement 42 PAS
-423 Etablissement de crédit 42 PAS
-4230 Dettes en comptes 423 PAS
-4231 Promesses 423 PAS
-4232 Crédits d'acceptation 423 PAS
-424 Autres emprunts 42 PAS
-425 Dettes commerciales 42 PAS
-4250 Fournisseurs 425 PAS
-4251 Effets à payer 425 PAS
-426 Acomptes reçus sur commandes 42 PAS
-428 Cautionnement reçus en numéraires 42 PAS
-429 Dettes diverses 42 PAS
-43 Dettes financières 4 PAS
-430 Etablissements de crédit - Emprunts à compte à terme fixe 43
PAS
-431 Etablissements de crédit - Promesses 43 PAS
-432 Etablissements de crédit - Crédits d'acceptation 43 PAS
-433 Etablissements de crédit -Dettes en comptes courant 43 PAS
-439 Autres emprunts 43 PAS
-44 Dettes commerciales 4 PAS
-440 Fournisseurs 44 PAS
-441 Effets à payer 44 PAS
-444 Factures à recevoir 44 PAS
-45 Dettes fiscales, salariales et sociales 4 PAS
-450 Dettes fiscales estimées 45 PAS
-4500 Impôts belges sur le résultat 450 PAS
-4501 Impôts belges sur le résultat 450 PAS
-4502 Impôts belges sur le résultat 450 PAS
-4503 Impôts belges sur le résultat 450 PAS
-4504 Impôts belges sur le résultat 450 PAS
-4505 Autres impôts et taxes belges 450 PAS
-4506 Autres impôts et taxes belges 450 PAS
-4507 Autres impôts et taxes belges 450 PAS
-4508 Impôts et taxes étrangers 450 PAS
-451 TVA à payer 45 PAS
-4511 TVA à payer 21% 451 PAS
-4512 TVA à payer 12% 451 PAS
-4513 TVA à payer 6% 451 PAS
-4514 TVA à payer 0% 451 PAS
-452 Impôts et taxes à payer 45 PAS
-4520 Impôts belges sur le résultat 452 PAS
-4521 Impôts belges sur le résultat 452 PAS
-4522 Impôts belges sur le résultat 452 PAS
-4523 Impôts belges sur le résultat 452 PAS
-4524 Impôts belges sur le résultat 452 PAS
-4525 Autres impôts et taxes belges 452 PAS
-55000001 Caisse 5500 ACT
-4526 Autres impôts et taxes belges 452 PAS
-4527 Autres impôts et taxes belges 452 PAS
-4528 Impôts et taxes étrangers 452 PAS
-453 Précomptes retenus 45 PAS
-454 Office National de la Sécurité Sociales 45 PAS
-455 Rémunérations 45 PAS
-456 Pécules de vacances 45 PAS
-459 Autres dettes sociales 45 PAS
-46 Acomptes reçus sur commandes 4 PAS
-47 Dettes découlant de l'affectation du résultat 4 PAS
-470 Dividendes et tantièmes d'exercices antérieurs 47 PAS
-471 Dividendes de l'exercice 47 PAS
-472 Tantièmes de l'exercice 47 PAS
-473 Autres allocataires 47 PAS
-48 Dettes diverses 4 PAS
-480 Obligations et coupons échus 48 PAS
-488 Cautionnements reçus en numéraires 48 PAS
-489 Autres dettes diverses 48 PAS
-4890 Compte de l'exploitant 489 PAS
-49 Comptes de régularisation 4 ACT
-490 Charges à reporter 49 ACT
-491 Produits acquis 49 ACT
-492 Charges à imputer 49 PAS
-493 Produits à reporter 49 PAS
-499 Comptes d'attentes 49 ACT
-2821 Montants non-appelés(-) 282 ACT
-2828 Plus-values actées 282 ACT
-2829 Réductions de valeurs actées 282 ACT
-283 Créances sur des entreprises avec lesquelles existe un lien de
participation 28 ACT
-2830 Créance en compte 283 ACT
-2831 Effets à recevoir 283 ACT
-57 Caisse 5 ACT
-2832 Titre à revenu fixe 283 ACT
-2837 Créances douteuses 283 ACT
-2839 Réduction de valeurs actées 283 ACT
-284 Autres actions et parts 28 ACT
-2840 Valeur d'acquisition 284 ACT
-2841 Montants non-appelés(-) 284 ACT
-2848 Plus-values actées 284 ACT
-2849 Réductions de valeurs actées 284 ACT
-285 Autres créances 28 ACT
-2850 Créance en compte 285 ACT
-2851 Effets à recevoir 285 ACT
-2852 Titre à revenu fixe 285 ACT
-2857 Créances douteuses 285 ACT
-2859 Réductions de valeurs actées 285 ACT
-288 Cautionnements versés en numéraires 28 ACT
-29 Créances à plus d'un an 2 ACT
-290 Créances commerciales 29 ACT
-2900 Clients 290 ACT
-2901 Effets à recevoir 290 ACT
-2906 Acomptes versés 290 ACT
-2907 Créances douteuses 290 ACT
-2909 Réductions de valeurs actées 290 ACT
-291 Autres créances 29 ACT
-2910 Créances en comptes 291 ACT
-2911 Effets à recevoir 291 ACT
-2917 Créances douteuses 291 ACT
-2919 Réductions de valeurs actées(-) 291 ACT
-30 Approvisionements - Matières premières 3 ACT
-300 Valeur d'acquisition 30 ACT
-309 Réductions de valeur actées 30 ACT
-31 Approvisionnements - fournitures 3 ACT
-310 Valeur d'acquisition 31 ACT
-319 Réductions de valeurs actées(-) 31 ACT
-32 En-cours de fabrication 3 ACT
-320 Valeurs d'acquisition 32 ACT
-329 Réductions de valeur actées 32 ACT
-33 Produits finis 3 ACT
-330 Valeur d'acquisition 33 ACT
-339 Réductions de valeur actées 33 ACT
-34 Marchandises 3 ACT
-340 Valeur d'acquisition 34 ACT
-349 Réductions de valeur actées 34 ACT
-35 Immeubles destinés à la vente 3 ACT
-350 Valeur d'acquisition 35 ACT
-359 Réductions de valeur actées 35 ACT
-36 Acomptes versés sur achats pour stocks 3 ACT
-360 Valeur d'acquisition 36 ACT
-369 Réductions de valeur actées 36 ACT
-37 Commandes en cours éxécution 3 ACT
-370 Valeur d'acquisition 37 ACT
-371 Bénéfice pris en compte 37 ACT
-379 Réductions de valeur actées 37 ACT
-40 Créances commerciales 4 ACT
-400 Clients 40 ACT
-401 Effets à recevoir 40 ACT
-404 Produits à recevoir 40 ACT
-406 Acomptes versés 40 ACT
-407 Créances douteuses 40 ACT
-409 Réductions de valeur actées 40 ACT
-41 Autres créances 4 ACT
-410 Capital appelé non versé 41 ACT
-411 TVA à récupérer 41 ACT
-4111 TVA à récupérer 21% 411 ACT
-4112 TVA à récupérer 12% 411 ACT
-4113 TVA à récupérer 6% 411 ACT
-4114 TVA à récupérer 0% 411 ACT
-412 Impôts et précomptes à récupérer 41 ACT
-4120 Impôt belge sur le résultat 412 ACT
-4121 Impôt belge sur le résultat 412 ACT
-4122 Impôt belge sur le résultat 412 ACT
-4123 Impôt belge sur le résultat 412 ACT
-4124 Impôt belge sur le résultat 412 ACT
-4125 Autres impôts et taxes belges 412 ACT
-4126 Autres impôts et taxes belges 412 ACT
-4127 Autres impôts et taxes belges 412 ACT
-4128 Impôts et taxes étrangers 412 ACT
-10 Capital 1 PAS
-6040003 Petit matériel 604 CHA
-11 Prime d'émission 1 PAS
-12 Plus Value de réévaluation 1 PAS
-13 Réserve 1 PAS
-130 Réserve légale 13 PAS
-131 Réserve indisponible 13 PAS
-1310 Réserve pour actions propres 131 PAS
-6040004 Assurance 604 CHA
-133 Réserves disponibles 13 PAS
-14 Bénéfice ou perte reportée 1 PAS
-140 Bénéfice reporté 14 PAS
-141 Perte reportée 14 PASINV
-15 Subside en capital 1 PAS
-16 Provisions pour risques et charges 1 PAS
-160 Provisions pour pensions et obligations similaires 16 PAS
-161 Provisions pour charges fiscales 16 PAS
-749 Produits d'exploitations divers 74 PRO
-162 Provisions pour grosses réparation et gros entretien 16 PAS
-17 Dettes à plus d'un an 1 PAS
-170 Emprunts subordonnés 17 PAS
-1700 convertibles 170 PAS
-1701 non convertibles 170 PAS
-171 Emprunts subordonnés 17 PAS
-1710 convertibles 170 PAS
-1711 non convertibles 170 PAS
-172 Dettes de locations financement 17 PAS
-173 Etablissement de crédit 17 PAS
-1730 Dettes en comptes 173 PAS
-1731 Promesses 173 PAS
-1732 Crédits d'acceptation 173 PAS
-174 Autres emprunts 17 PAS
-175 Dettes commerciales 17 PAS
-1750 Fournisseurs 175 PAS
-1751 Effets à payer 175 PAS
-176 Acomptes reçus sur commandes 17 PAS
-178 Cautionnement reçus en numéraires 17 PAS
-179 Dettes diverses 17 PAS
-20 Frais d'établissement 2 ACT
-200 Frais de constitution et d'augmentation de capital 20 ACT
-201 Frais d'émission d'emprunts et primes de remboursement 20 ACT
-202 Autres frais d'établissement 20 ACT
-204 Frais de restructuration 20 ACT
-21 Immobilisations incorporelles 2 ACT
-210 Frais de recherche et de développement 21 ACT
-211 Concessions, brevet, licence savoir faire, marque et droit similaires
21 ACT
-212 Goodwill 21 ACT
-213 Acomptes versés 21 ACT
-22 Terrains et construction 2 ACT
-220 Terrains 22 ACT
-222 Terrains bâtis 22 ACT
-223 Autres droits réels sur des immeubles 22 ACT
-23 Installations, machines et outillages 2 ACT
-24 Mobilier et Matériel roulant 2 ACT
-25 Immobilisations détenus en location-financement et droits similaires
2 ACT
-250 Terrains 25 ACT
-251 Construction 25 ACT
-252 Terrains bâtis 25 ACT
-253 Mobilier et matériels roulants 25 ACT
-26 Autres immobilisations corporelles 2 ACT
-27 Immobilisations corporelles en cours et acomptes versés 2 ACT
-28 Immobilisations financières 2 ACT
-280 Participation dans des entreprises liées 28 ACT
-2800 Valeur d'acquisition 280 ACT
-2801 Montants non-appelés(-) 280 ACT
-2808 Plus-values actées 280 ACT
-2809 Réductions de valeurs actées 280 ACT
-281 Créance sur des entreprises liées 28 ACT
-2810 Créance en compte 281 ACT
-2811 Effets à recevoir 281 ACT
-2812 Titre à reveny fixe 281 ACT
-2817 Créances douteuses 281 ACT
-2819 Réduction de valeurs actées 281 ACT
-282 Participations dans des entreprises avec lesquelles il existe un lien
de participation 28 ACT
-2820 Valeur d'acquisition 282 ACT
-4516 Tva Export 0% 451 PAS
-4115 Tva Intracomm 0% 411 ACT
-4116 Tva Export 0% 411 ACT
-41141 TVA pour l\\'export 4114 ACT
-41142 TVA sur les opérations intracommunautaires 4114 ACT
-45141 TVA pour l\\'export 451 PAS
-45142 TVA sur les opérations intracommunautaires 4514 PAS
-41143 TVA sur les opérations avec des assujettis art 44 Code TVA 4114
ACT
-45143 TVA sur les opérations avec des assujettis art 44 Code TVA 4514
PAS
-41144 TVA sur les opérations avec des cocontractants 4114 ACT
-45144 TVA sur les opérations avec des cocontractants 4514 PAS
-\.
+INSERT INTO tmp_pcmn VALUES ('794', 'Intervention d''associés (ou du
propriétaire) dans la perte', '79', 'PRO');
+INSERT INTO tmp_pcmn VALUES ('1', 'Fonds propres, provisions pour risques et
charges à plus d''un an', '0', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('2', 'Frais d''établissement, actifs immobilisés
et créances à plus d''un an', '0', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('3', 'Stocks et commandes en cours d''éxécution',
'0', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('4', 'Créances et dettes à un an au plus', '0',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('5', 'Placements de trésorerie et valeurs
disponibles', '0', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('6', 'Charges', '0', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('7', 'Produits', '0', 'PRO');
+INSERT INTO tmp_pcmn VALUES ('4000001', 'Client 1', '400', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('4000002', 'Client 2', '400', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('4000003', 'Client 3', '400', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('6040001', 'Electricité', '604', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('6040002', 'Loyer', '604', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('55000002', 'Banque 1', '5500', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('55000003', 'Banque 2', '5500', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('4400001', 'Fournisseur 1', '440', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('4400002', 'Fournisseur 2', '440', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('4400003', 'Fournisseur 4', '440', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('610001', 'Electricité', '61', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('610002', 'Loyer', '61', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('610003', 'Assurance', '61', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('610004', 'Matériel bureau', '61', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('7000002', 'Marchandise A', '700', 'PRO');
+INSERT INTO tmp_pcmn VALUES ('7000001', 'Prestation', '700', 'PRO');
+INSERT INTO tmp_pcmn VALUES ('7000003', 'Déplacement', '700', 'PRO');
+INSERT INTO tmp_pcmn VALUES ('101', 'Capital non appelé', '10', 'PASINV');
+INSERT INTO tmp_pcmn VALUES ('6190', 'TVA récupérable par l''impôt', '61',
'CHA');
+INSERT INTO tmp_pcmn VALUES ('6740', 'Dépense non admise', '67', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('9', 'Comptes hors Compta', '0', 'CON');
+INSERT INTO tmp_pcmn VALUES ('100', 'Capital souscrit', '10', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('1311', 'Autres réserves indisponibles', '131',
'PAS');
+INSERT INTO tmp_pcmn VALUES ('132', ' Réserves immunisées', '13', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('6711', 'Suppléments d''impôts estimés', '671',
'CHA');
+INSERT INTO tmp_pcmn VALUES ('6712', 'Provisions fiscales constituées', '671',
'CHA');
+INSERT INTO tmp_pcmn VALUES ('672', 'Impôts étrangers sur le résultat de
l''exercice', '67', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('673', 'Impôts étrangers sur le résultat
d''exercice antérieures', '67', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('68', 'Transferts aux réserves immunisées', '6',
'CHA');
+INSERT INTO tmp_pcmn VALUES ('69', 'Affectations et prélévements', '6', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('690', 'Perte reportée de l''exercice précédent',
'69', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('691', 'Dotation à la réserve légale', '69',
'CHA');
+INSERT INTO tmp_pcmn VALUES ('692', 'Dotation aux autres réserves', '69',
'CHA');
+INSERT INTO tmp_pcmn VALUES ('693', 'Bénéfice à reporter', '69', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('694', 'Rémunération du capital', '69', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('695', 'Administrateurs ou gérants', '69', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('696', 'Autres allocataires', '69', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('70', 'Chiffre d''affaire', '7', 'PRO');
+INSERT INTO tmp_pcmn VALUES ('700', 'Ventes et prestations de services', '70',
'PRO');
+INSERT INTO tmp_pcmn VALUES ('701', 'Ventes et prestations de services', '70',
'PRO');
+INSERT INTO tmp_pcmn VALUES ('702', 'Ventes et prestations de services', '70',
'PRO');
+INSERT INTO tmp_pcmn VALUES ('703', 'Ventes et prestations de services', '70',
'PRO');
+INSERT INTO tmp_pcmn VALUES ('704', 'Ventes et prestations de services', '70',
'PRO');
+INSERT INTO tmp_pcmn VALUES ('706', 'Ventes et prestations de services', '70',
'PRO');
+INSERT INTO tmp_pcmn VALUES ('707', 'Ventes et prestations de services', '70',
'PRO');
+INSERT INTO tmp_pcmn VALUES ('709', 'Remises, ristournes et rabais
accordés(-)', '70', 'PROINV');
+INSERT INTO tmp_pcmn VALUES ('71', 'Variations des stocks et commandes en
cours d''éxécution', '7', 'PRO');
+INSERT INTO tmp_pcmn VALUES ('712', 'des en-cours de fabrication', '71',
'PRO');
+INSERT INTO tmp_pcmn VALUES ('713', 'des produits finis', '71', 'PRO');
+INSERT INTO tmp_pcmn VALUES ('715', 'des immeubles construits destinés à la
vente', '71', 'PRO');
+INSERT INTO tmp_pcmn VALUES ('717', ' des commandes en cours d''éxécution',
'71', 'PRO');
+INSERT INTO tmp_pcmn VALUES ('7170', 'Valeur d''acquisition', '717', 'PRO');
+INSERT INTO tmp_pcmn VALUES ('7171', 'Bénéfice pris en compte', '717', 'PRO');
+INSERT INTO tmp_pcmn VALUES ('72', 'Production immobilisée', '7', 'PRO');
+INSERT INTO tmp_pcmn VALUES ('74', 'Autres produits d''exploitation', '7',
'PRO');
+INSERT INTO tmp_pcmn VALUES ('740', 'Subsides d'' exploitation et montants
compensatoires', '74', 'PRO');
+INSERT INTO tmp_pcmn VALUES ('741', 'Plus-values sur réalisation courantes d''
immobilisations corporelles', '74', 'PRO');
+INSERT INTO tmp_pcmn VALUES ('742', 'Plus-values sur réalisations de créances
commerciales', '74', 'PRO');
+INSERT INTO tmp_pcmn VALUES ('743', 'Produits d''exploitations divers', '74',
'PRO');
+INSERT INTO tmp_pcmn VALUES ('744', 'Produits d''exploitations divers', '74',
'PRO');
+INSERT INTO tmp_pcmn VALUES ('745', 'Produits d''exploitations divers', '74',
'PRO');
+INSERT INTO tmp_pcmn VALUES ('746', 'Produits d''exploitations divers', '74',
'PRO');
+INSERT INTO tmp_pcmn VALUES ('747', 'Produits d''exploitations divers', '74',
'PRO');
+INSERT INTO tmp_pcmn VALUES ('748', 'Produits d''exploitations divers', '74',
'PRO');
+INSERT INTO tmp_pcmn VALUES ('75', 'Produits financiers', '7', 'PRO');
+INSERT INTO tmp_pcmn VALUES ('750', 'Produits sur immobilisations
financières', '75', 'PRO');
+INSERT INTO tmp_pcmn VALUES ('751', 'Produits des actifs circulants', '75',
'PRO');
+INSERT INTO tmp_pcmn VALUES ('752', 'Plus-value sur réalisations d''actis
circulants', '75', 'PRO');
+INSERT INTO tmp_pcmn VALUES ('753', 'Subsides en capital et intérêts', '75',
'PRO');
+INSERT INTO tmp_pcmn VALUES ('754', 'Différences de change', '75', 'PRO');
+INSERT INTO tmp_pcmn VALUES ('755', 'Ecarts de conversion des devises', '75',
'PRO');
+INSERT INTO tmp_pcmn VALUES ('221', 'Construction', '22', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('756', 'Produits financiers divers', '75', 'PRO');
+INSERT INTO tmp_pcmn VALUES ('757', 'Produits financiers divers', '75', 'PRO');
+INSERT INTO tmp_pcmn VALUES ('758', 'Produits financiers divers', '75', 'PRO');
+INSERT INTO tmp_pcmn VALUES ('759', 'Produits financiers divers', '75', 'PRO');
+INSERT INTO tmp_pcmn VALUES ('76', 'Produits exceptionnels', '7', 'PRO');
+INSERT INTO tmp_pcmn VALUES ('760', 'Reprise d''amortissements et de
réductions de valeur', '76', 'PRO');
+INSERT INTO tmp_pcmn VALUES ('7601', 'sur immobilisations corporelles', '760',
'PRO');
+INSERT INTO tmp_pcmn VALUES ('7602', 'sur immobilisations incorporelles',
'760', 'PRO');
+INSERT INTO tmp_pcmn VALUES ('761', 'Reprises de réductions de valeur sur
immobilisations financières', '76', 'PRO');
+INSERT INTO tmp_pcmn VALUES ('762', 'Reprises de provisions pour risques et
charges exceptionnels', '76', 'PRO');
+INSERT INTO tmp_pcmn VALUES ('763', 'Plus-value sur réalisation d''actifs
immobilisé', '76', 'PRO');
+INSERT INTO tmp_pcmn VALUES ('764', 'Autres produits exceptionnels', '76',
'PRO');
+INSERT INTO tmp_pcmn VALUES ('765', 'Autres produits exceptionnels', '76',
'PRO');
+INSERT INTO tmp_pcmn VALUES ('766', 'Autres produits exceptionnels', '76',
'PRO');
+INSERT INTO tmp_pcmn VALUES ('767', 'Autres produits exceptionnels', '76',
'PRO');
+INSERT INTO tmp_pcmn VALUES ('768', 'Autres produits exceptionnels', '76',
'PRO');
+INSERT INTO tmp_pcmn VALUES ('769', 'Autres produits exceptionnels', '76',
'PRO');
+INSERT INTO tmp_pcmn VALUES ('77', 'Régularisations d''impôts et reprises de
provisions fiscales', '7', 'PRO');
+INSERT INTO tmp_pcmn VALUES ('771', 'impôts belges sur le résultat', '77',
'PRO');
+INSERT INTO tmp_pcmn VALUES ('7710', 'Régularisations d''impôts dus ou versé',
'771', 'PRO');
+INSERT INTO tmp_pcmn VALUES ('7711', 'Régularisations d''impôts estimés',
'771', 'PRO');
+INSERT INTO tmp_pcmn VALUES ('7712', 'Reprises de provisions fiscales', '771',
'PRO');
+INSERT INTO tmp_pcmn VALUES ('773', 'Impôts étrangers sur le résultats', '77',
'PRO');
+INSERT INTO tmp_pcmn VALUES ('79', 'Affectations et prélévements', '7', 'PRO');
+INSERT INTO tmp_pcmn VALUES ('790', 'Bénéfice reporté de l''exercice
précédent', '79', 'PRO');
+INSERT INTO tmp_pcmn VALUES ('791', 'Prélévement sur le capital et les primes
d''émission', '79', 'PRO');
+INSERT INTO tmp_pcmn VALUES ('792', 'Prélévement sur les réserves', '79',
'PRO');
+INSERT INTO tmp_pcmn VALUES ('793', 'Perte à reporter', '79', 'PRO');
+INSERT INTO tmp_pcmn VALUES ('6301', 'Dotations aux amortissements sur
immobilisations incorporelles', '630', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('6302', 'Dotations aux amortissements sur
immobilisations corporelles', '630', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('6308', 'Dotations aux réductions de valeur sur
immobilisations incorporelles', '630', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('6309', 'Dotations aux réductions de valeur sur
immobilisations corporelles', '630', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('631', 'Réductions de valeur sur stocks', '63',
'CHA');
+INSERT INTO tmp_pcmn VALUES ('6310', 'Dotations', '631', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('6311', 'Reprises(-)', '631', 'CHAINV');
+INSERT INTO tmp_pcmn VALUES ('632', 'Réductions de valeur sur commande en
cours d''éxécution', '63', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('6320', 'Dotations', '632', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('6321', 'Reprises(-)', '632', 'CHAINV');
+INSERT INTO tmp_pcmn VALUES ('633', 'Réductions de valeurs sur créances
commerciales à plus d''un an', '63', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('6330', 'Dotations', '633', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('6331', 'Reprises(-)', '633', 'CHAINV');
+INSERT INTO tmp_pcmn VALUES ('634', 'Réductions de valeur sur créances
commerciales à un an au plus', '63', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('6340', 'Dotations', '634', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('6341', 'Reprise', '634', 'CHAINV');
+INSERT INTO tmp_pcmn VALUES ('635', 'Provisions pour pensions et obligations
similaires', '63', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('6350', 'Dotations', '635', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('6351', 'Utilisation et reprises', '635',
'CHAINV');
+INSERT INTO tmp_pcmn VALUES ('636', 'Provisions pour grosses réparations et
gros entretien', '63', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('6360', 'Dotations', '636', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('6361', 'Reprises(-)', '636', 'CHAINV');
+INSERT INTO tmp_pcmn VALUES ('637', 'Provisions pour autres risques et
charges', '63', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('6370', 'Dotations', '637', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('6371', 'Reprises(-)', '637', 'CHAINV');
+INSERT INTO tmp_pcmn VALUES ('64', 'Autres charges d''exploitation', '6',
'CHA');
+INSERT INTO tmp_pcmn VALUES ('640', 'Charges fiscales d''exploitation', '64',
'CHA');
+INSERT INTO tmp_pcmn VALUES ('641', 'Moins-values sur réalisations courantes
d''immobilisations corporelles', '64', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('642', 'Moins-value sur réalisation de créances
commerciales', '64', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('643', 'Charges d''exploitations', '64', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('644', 'Charges d''exploitations', '64', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('645', 'Charges d''exploitations', '64', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('646', 'Charges d''exploitations', '64', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('647', 'Charges d''exploitations', '64', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('648', 'Charges d''exploitations', '64', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('649', 'Charges d''exploitation portées à
l''actif au titre de frais de restructuration(-)', '64', 'CHAINV');
+INSERT INTO tmp_pcmn VALUES ('65', 'Charges financières', '6', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('650', 'Charges des dettes', '65', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('6500', 'Intérêts, commmissions et frais
afférents aux dettes', '650', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('6501', 'Amortissements des frais d''émissions
d''emrunts et des primes de remboursement', '650', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('6502', 'Autres charges des dettes', '650',
'CHA');
+INSERT INTO tmp_pcmn VALUES ('6503', 'Intérêts intercalaires portés à
l''actif(-)', '650', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('651', 'Réductions de valeur sur actifs
circulants', '65', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('6510', 'Dotations', '651', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('6511', 'Reprises(-)', '651', 'CHAINV');
+INSERT INTO tmp_pcmn VALUES ('652', 'Moins-value sur réalisation d''actifs
circulants', '65', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('653', 'Charges d''escompte de créances', '65',
'CHA');
+INSERT INTO tmp_pcmn VALUES ('654', 'Différences de changes', '65', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('655', 'Ecarts de conversion des devises', '65',
'CHA');
+INSERT INTO tmp_pcmn VALUES ('656', 'Charges financières diverses', '65',
'CHA');
+INSERT INTO tmp_pcmn VALUES ('657', 'Charges financières diverses', '65',
'CHA');
+INSERT INTO tmp_pcmn VALUES ('658', 'Charges financières diverses', '65',
'CHA');
+INSERT INTO tmp_pcmn VALUES ('659', 'Charges financières diverses', '65',
'CHA');
+INSERT INTO tmp_pcmn VALUES ('66', 'Charges exceptionnelles', '6', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('660', 'Amortissements et réductions de valeur
exceptionnels (dotations)', '66', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('6600', 'sur frais d''établissement', '660',
'CHA');
+INSERT INTO tmp_pcmn VALUES ('6601', 'sur immobilisations incorporelles',
'660', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('6602', 'sur immobilisations corporelles', '660',
'CHA');
+INSERT INTO tmp_pcmn VALUES ('661', 'Réductions de valeur sur immobilisations
financières (dotations)', '66', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('662', 'Provisions pour risques et charges
exceptionnels', '66', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('663', 'Moins-values sur réalisations d''actifs
immobilisés', '66', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('664', 'Autres charges exceptionnelles', '66',
'CHA');
+INSERT INTO tmp_pcmn VALUES ('665', 'Autres charges exceptionnelles', '66',
'CHA');
+INSERT INTO tmp_pcmn VALUES ('666', 'Autres charges exceptionnelles', '66',
'CHA');
+INSERT INTO tmp_pcmn VALUES ('667', 'Autres charges exceptionnelles', '66',
'CHA');
+INSERT INTO tmp_pcmn VALUES ('668', 'Autres charges exceptionnelles', '66',
'CHA');
+INSERT INTO tmp_pcmn VALUES ('669', ' Charges exceptionnelles portées à
l''actif au titre de frais de restructuration', '66', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('67', 'impôts sur le résultat', '6', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('670', 'Impôts belge sur le résultat de
l''exercice', '67', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('6700', 'Impôts et précomptes dus ou versés',
'670', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('6701', 'Excédents de versement d''impôts et de
précomptes portés à l''actifs (-)', '670', 'CHAINV');
+INSERT INTO tmp_pcmn VALUES ('6702', 'Charges fiscales estimées', '670',
'CHA');
+INSERT INTO tmp_pcmn VALUES ('671', 'Impôts belges sur le résultats
d''exercices antérieures', '67', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('6710', 'Suppléments d''impôt dus ou versés',
'671', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('50', 'Actions propres', '5', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('51', 'Actions et parts', '5', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('510', 'Valeur d''acquisition', '51', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('511', 'Montant non appelés', '51', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('519', 'Réductions de valeur actées', '51',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('52', 'Titres à revenu fixe', '5', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('520', 'Valeur d''acquisition', '52', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('529', 'Réductions de valeur actées', '52',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('53', 'Dépôts à terme', '5', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('530', 'de plus d''un an', '53', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('531', 'de plus d''un mois et d''un an au plus',
'53', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('532', 'd''un mois au plus', '53', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('539', 'Réductions de valeur actées', '53',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('54', 'Valeurs échues à l''encaissement', '5',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('55', 'Etablissement de crédit', '5', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('550', 'Banque 1', '55', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('5500', 'Comptes courants', '550', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('5501', 'Chèques émis (-)', '550', 'ACTINV');
+INSERT INTO tmp_pcmn VALUES ('5509', 'Réduction de valeur actée', '550',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('5510', 'Comptes courants', '551', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('5511', 'Chèques émis (-)', '551', 'ACTINV');
+INSERT INTO tmp_pcmn VALUES ('5519', 'Réduction de valeur actée', '551',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('5520', 'Comptes courants', '552', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('5521', 'Chèques émis (-)', '552', 'ACTINV');
+INSERT INTO tmp_pcmn VALUES ('5529', 'Réduction de valeur actée', '552',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('5530', 'Comptes courants', '553', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('5531', 'Chèques émis (-)', '553', 'ACTINV');
+INSERT INTO tmp_pcmn VALUES ('5539', 'Réduction de valeur actée', '553',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('5540', 'Comptes courants', '554', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('5541', 'Chèques émis (-)', '554', 'ACTINV');
+INSERT INTO tmp_pcmn VALUES ('5549', 'Réduction de valeur actée', '554',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('5550', 'Comptes courants', '555', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('5551', 'Chèques émis (-)', '555', 'ACTINV');
+INSERT INTO tmp_pcmn VALUES ('5559', 'Réduction de valeur actée', '555',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('5560', 'Comptes courants', '556', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('5561', 'Chèques émis (-)', '556', 'ACTINV');
+INSERT INTO tmp_pcmn VALUES ('5569', 'Réduction de valeur actée', '556',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('5570', 'Comptes courants', '557', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('5571', 'Chèques émis (-)', '557', 'ACTINV');
+INSERT INTO tmp_pcmn VALUES ('5579', 'Réduction de valeur actée', '557',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('5580', 'Comptes courants', '558', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('5581', 'Chèques émis (-)', '558', 'ACTINV');
+INSERT INTO tmp_pcmn VALUES ('5589', 'Réduction de valeur actée', '558',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('5590', 'Comptes courants', '559', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('5591', 'Chèques émis (-)', '559', 'ACTINV');
+INSERT INTO tmp_pcmn VALUES ('5599', 'Réduction de valeur actée', '559',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('56', 'Office des chèques postaux', '5', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('560', 'Compte courant', '56', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('561', 'Chèques émis', '56', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('578', 'Caisse timbre', '57', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('58', 'Virement interne', '5', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('60', 'Approvisionnement et marchandises', '6',
'CHA');
+INSERT INTO tmp_pcmn VALUES ('600', 'Achats de matières premières', '60',
'CHA');
+INSERT INTO tmp_pcmn VALUES ('601', 'Achats de fournitures', '60', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('602', 'Achats de services, travaux et études',
'60', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('603', 'Sous-traitances générales', '60', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('604', 'Achats de marchandises', '60', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('605', 'Achats d''immeubles destinés à la vente',
'60', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('608', 'Remises, ristournes et rabais
obtenus(-)', '60', 'CHAINV');
+INSERT INTO tmp_pcmn VALUES ('609', 'Variation de stock', '60', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('6090', 'de matières premières', '609', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('6091', 'de fournitures', '609', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('6094', 'de marchandises', '609', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('6095', 'immeubles achetés destinés à la vente',
'609', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('61', 'Services et biens divers', '6', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('62', 'Rémunérations, charges sociales et
pensions', '6', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('620', 'Rémunérations et avantages sociaux
directs', '62', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('6200', 'Administrateurs ou gérants', '620',
'CHA');
+INSERT INTO tmp_pcmn VALUES ('6201', 'Personnel de directions', '620', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('6202', 'Employés,620', '6202', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('6203', 'Ouvriers', '620', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('6204', 'Autres membres du personnel', '620',
'CHA');
+INSERT INTO tmp_pcmn VALUES ('621', 'Cotisations patronales d''assurances
sociales', '62', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('622', 'Primes partonales pour assurances
extra-légales', '62', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('623', 'Autres frais de personnel', '62', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('624', 'Pensions de retraite et de survie', '62',
'CHA');
+INSERT INTO tmp_pcmn VALUES ('6240', 'Administrateurs ou gérants', '624',
'CHA');
+INSERT INTO tmp_pcmn VALUES ('6241', 'Personnel', '624', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('63', 'Amortissements, réductions de valeurs et
provisions pour risques et charges', '6', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('630', 'Dotations aux amortissements et réduction
de valeurs sur immobilisations', '63', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('6300', ' Dotations aux amortissements sur frais
d''établissement', '630', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('705', 'Ventes et prestations de services', '70',
'PRO');
+INSERT INTO tmp_pcmn VALUES ('414', 'Produits à recevoir', '41', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('416', 'Créances diverses', '41', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('4160', 'Comptes de l''exploitant', '416', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('417', 'Créances douteuses', '41', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('418', 'Cautionnements versés en numéraires',
'41', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('419', 'Réductions de valeur actées', '41',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('42', 'Dettes à plus dun an échéant dans
l''année', '4', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('420', 'Emprunts subordonnés', '42', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('4200', 'convertibles', '420', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('4201', 'non convertibles', '420', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('421', 'Emprunts subordonnés', '42', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('4210', 'convertibles', '420', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('4211', 'non convertibles', '420', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('422', ' Dettes de locations financement', '42',
'PAS');
+INSERT INTO tmp_pcmn VALUES ('423', ' Etablissement de crédit', '42', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('4230', 'Dettes en comptes', '423', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('4231', 'Promesses', '423', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('4232', 'Crédits d''acceptation', '423', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('424', 'Autres emprunts', '42', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('425', 'Dettes commerciales', '42', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('4250', 'Fournisseurs', '425', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('4251', 'Effets à payer', '425', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('426', 'Acomptes reçus sur commandes', '42',
'PAS');
+INSERT INTO tmp_pcmn VALUES ('428', 'Cautionnement reçus en numéraires', '42',
'PAS');
+INSERT INTO tmp_pcmn VALUES ('429', 'Dettes diverses', '42', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('43', 'Dettes financières', '4', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('430', 'Etablissements de crédit - Emprunts à
compte à terme fixe', '43', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('431', 'Etablissements de crédit - Promesses',
'43', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('432', ' Etablissements de crédit - Crédits
d''acceptation', '43', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('433', 'Etablissements de crédit -Dettes en
comptes courant', '43', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('439', 'Autres emprunts', '43', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('44', 'Dettes commerciales', '4', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('440', 'Fournisseurs', '44', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('441', 'Effets à payer', '44', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('444', 'Factures à recevoir', '44', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('45', 'Dettes fiscales, salariales et sociales',
'4', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('450', 'Dettes fiscales estimées', '45', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('4500', 'Impôts belges sur le résultat', '450',
'PAS');
+INSERT INTO tmp_pcmn VALUES ('4501', 'Impôts belges sur le résultat', '450',
'PAS');
+INSERT INTO tmp_pcmn VALUES ('4502', 'Impôts belges sur le résultat', '450',
'PAS');
+INSERT INTO tmp_pcmn VALUES ('4503', 'Impôts belges sur le résultat', '450',
'PAS');
+INSERT INTO tmp_pcmn VALUES ('4504', 'Impôts belges sur le résultat', '450',
'PAS');
+INSERT INTO tmp_pcmn VALUES ('4505', 'Autres impôts et taxes belges', '450',
'PAS');
+INSERT INTO tmp_pcmn VALUES ('4506', 'Autres impôts et taxes belges', '450',
'PAS');
+INSERT INTO tmp_pcmn VALUES ('4507', 'Autres impôts et taxes belges', '450',
'PAS');
+INSERT INTO tmp_pcmn VALUES ('4508', 'Impôts et taxes étrangers', '450',
'PAS');
+INSERT INTO tmp_pcmn VALUES ('451', 'TVA à payer', '45', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('4511', 'TVA à payer 21%', '451', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('4512', 'TVA à payer 12%', '451', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('4513', 'TVA à payer 6%', '451', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('4514', 'TVA à payer 0%', '451', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('452', 'Impôts et taxes à payer', '45', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('4520', 'Impôts belges sur le résultat', '452',
'PAS');
+INSERT INTO tmp_pcmn VALUES ('4521', 'Impôts belges sur le résultat', '452',
'PAS');
+INSERT INTO tmp_pcmn VALUES ('4522', 'Impôts belges sur le résultat', '452',
'PAS');
+INSERT INTO tmp_pcmn VALUES ('4523', 'Impôts belges sur le résultat', '452',
'PAS');
+INSERT INTO tmp_pcmn VALUES ('4524', 'Impôts belges sur le résultat', '452',
'PAS');
+INSERT INTO tmp_pcmn VALUES ('4525', 'Autres impôts et taxes belges', '452',
'PAS');
+INSERT INTO tmp_pcmn VALUES ('55000001', 'Caisse', '5500', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('4526', 'Autres impôts et taxes belges', '452',
'PAS');
+INSERT INTO tmp_pcmn VALUES ('4527', 'Autres impôts et taxes belges', '452',
'PAS');
+INSERT INTO tmp_pcmn VALUES ('4528', 'Impôts et taxes étrangers', '452',
'PAS');
+INSERT INTO tmp_pcmn VALUES ('453', 'Précomptes retenus', '45', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('454', 'Office National de la Sécurité Sociales',
'45', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('455', 'Rémunérations', '45', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('456', 'Pécules de vacances', '45', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('459', 'Autres dettes sociales', '45', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('46', 'Acomptes reçus sur commandes', '4', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('47', 'Dettes découlant de l''affectation du
résultat', '4', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('470', 'Dividendes et tantièmes d''exercices
antérieurs', '47', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('471', 'Dividendes de l''exercice', '47', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('472', 'Tantièmes de l''exercice', '47', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('473', 'Autres allocataires', '47', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('48', 'Dettes diverses', '4', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('480', 'Obligations et coupons échus', '48',
'PAS');
+INSERT INTO tmp_pcmn VALUES ('488', 'Cautionnements reçus en numéraires',
'48', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('489', 'Autres dettes diverses', '48', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('4890', 'Compte de l''exploitant', '489', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('49', 'Comptes de régularisation', '4', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('490', 'Charges à reporter', '49', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('491', 'Produits acquis', '49', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('492', 'Charges à imputer', '49', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('493', 'Produits à reporter', '49', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('499', 'Comptes d''attentes', '49', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('2821', 'Montants non-appelés(-)', '282', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('2828', 'Plus-values actées', '282', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('2829', 'Réductions de valeurs actées', '282',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('283', 'Créances sur des entreprises avec
lesquelles existe un lien de participation', '28', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('2830', 'Créance en compte', '283', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('2831', 'Effets à recevoir', '283', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('57', 'Caisse', '5', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('2832', 'Titre à revenu fixe', '283', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('2837', 'Créances douteuses', '283', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('2839', 'Réduction de valeurs actées', '283',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('284', 'Autres actions et parts', '28', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('2840', 'Valeur d''acquisition', '284', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('2841', 'Montants non-appelés(-)', '284', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('2848', 'Plus-values actées', '284', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('2849', 'Réductions de valeurs actées', '284',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('285', 'Autres créances', '28', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('2850', 'Créance en compte', '285', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('2851', 'Effets à recevoir', '285', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('2852', 'Titre à revenu fixe', '285', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('2857', 'Créances douteuses', '285', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('2859', 'Réductions de valeurs actées', '285',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('288', 'Cautionnements versés en numéraires',
'28', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('29', 'Créances à plus d''un an', '2', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('290', 'Créances commerciales', '29', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('2900', 'Clients', '290', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('2901', 'Effets à recevoir', '290', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('2906', 'Acomptes versés', '290', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('2907', 'Créances douteuses', '290', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('2909', 'Réductions de valeurs actées', '290',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('291', 'Autres créances', '29', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('2910', 'Créances en comptes', '291', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('2911', 'Effets à recevoir', '291', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('2917', 'Créances douteuses', '291', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('2919', 'Réductions de valeurs actées(-)', '291',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('30', 'Approvisionements - Matières premières',
'3', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('300', 'Valeur d''acquisition', '30', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('309', 'Réductions de valeur actées', '30',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('31', 'Approvisionnements - fournitures', '3',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('310', 'Valeur d''acquisition', '31', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('319', 'Réductions de valeurs actées(-)', '31',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('32', 'En-cours de fabrication', '3', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('320', 'Valeurs d''acquisition', '32', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('329', 'Réductions de valeur actées', '32',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('33', 'Produits finis', '3', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('330', 'Valeur d''acquisition', '33', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('339', 'Réductions de valeur actées', '33',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('34', 'Marchandises', '3', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('340', 'Valeur d''acquisition', '34', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('349', 'Réductions de valeur actées', '34',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('35', 'Immeubles destinés à la vente', '3',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('350', 'Valeur d''acquisition', '35', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('359', 'Réductions de valeur actées', '35',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('36', 'Acomptes versés sur achats pour stocks',
'3', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('360', 'Valeur d''acquisition', '36', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('369', 'Réductions de valeur actées', '36',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('37', 'Commandes en cours éxécution', '3', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('370', 'Valeur d''acquisition', '37', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('371', 'Bénéfice pris en compte ', '37', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('379', 'Réductions de valeur actées', '37',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('40', 'Créances commerciales', '4', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('400', 'Clients', '40', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('401', 'Effets à recevoir', '40', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('404', 'Produits à recevoir', '40', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('406', 'Acomptes versés', '40', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('407', 'Créances douteuses', '40', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('409', 'Réductions de valeur actées', '40',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('41', 'Autres créances', '4', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('410', 'Capital appelé non versé', '41', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('411', 'TVA à récupérer', '41', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('4111', 'TVA à récupérer 21%', '411', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('4112', 'TVA à récupérer 12%', '411', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('4113', 'TVA à récupérer 6% ', '411', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('4114', 'TVA à récupérer 0%', '411', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('412', 'Impôts et précomptes à récupérer', '41',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('4120', 'Impôt belge sur le résultat', '412',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('4121', 'Impôt belge sur le résultat', '412',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('4122', 'Impôt belge sur le résultat', '412',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('4123', 'Impôt belge sur le résultat', '412',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('4124', 'Impôt belge sur le résultat', '412',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('4125', 'Autres impôts et taxes belges', '412',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('4126', 'Autres impôts et taxes belges', '412',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('4127', 'Autres impôts et taxes belges', '412',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('4128', 'Impôts et taxes étrangers', '412',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('10', 'Capital ', '1', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('6040003', 'Petit matériel', '604', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('11', 'Prime d''émission ', '1', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('12', 'Plus Value de réévaluation ', '1', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('13', 'Réserve ', '1', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('130', 'Réserve légale', '13', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('131', 'Réserve indisponible', '13', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('1310', 'Réserve pour actions propres', '131',
'PAS');
+INSERT INTO tmp_pcmn VALUES ('6040004', 'Assurance', '604', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('133', 'Réserves disponibles', '13', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('14', 'Bénéfice ou perte reportée', '1', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('140', 'Bénéfice reporté', '14', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('141', 'Perte reportée', '14', 'PASINV');
+INSERT INTO tmp_pcmn VALUES ('15', 'Subside en capital', '1', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('16', 'Provisions pour risques et charges', '1',
'PAS');
+INSERT INTO tmp_pcmn VALUES ('160', 'Provisions pour pensions et obligations
similaires', '16', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('161', 'Provisions pour charges fiscales', '16',
'PAS');
+INSERT INTO tmp_pcmn VALUES ('749', 'Produits d''exploitations divers', '74',
'PRO');
+INSERT INTO tmp_pcmn VALUES ('162', 'Provisions pour grosses réparation et
gros entretien', '16', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('17', ' Dettes à plus d''un an', '1', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('170', 'Emprunts subordonnés', '17', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('1700', 'convertibles', '170', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('1701', 'non convertibles', '170', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('171', 'Emprunts subordonnés', '17', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('1710', 'convertibles', '170', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('1711', 'non convertibles', '170', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('172', ' Dettes de locations financement', '17',
'PAS');
+INSERT INTO tmp_pcmn VALUES ('173', ' Etablissement de crédit', '17', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('1730', 'Dettes en comptes', '173', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('1731', 'Promesses', '173', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('1732', 'Crédits d''acceptation', '173', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('174', 'Autres emprunts', '17', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('175', 'Dettes commerciales', '17', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('1750', 'Fournisseurs', '175', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('1751', 'Effets à payer', '175', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('176', 'Acomptes reçus sur commandes', '17',
'PAS');
+INSERT INTO tmp_pcmn VALUES ('178', 'Cautionnement reçus en numéraires', '17',
'PAS');
+INSERT INTO tmp_pcmn VALUES ('179', 'Dettes diverses', '17', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('20', 'Frais d''établissement', '2', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('200', 'Frais de constitution et d''augmentation
de capital', '20', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('201', ' Frais d''émission d''emprunts et primes
de remboursement', '20', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('202', 'Autres frais d''établissement', '20',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('204', 'Frais de restructuration', '20', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('21', 'Immobilisations incorporelles', '2',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('210', 'Frais de recherche et de développement',
'21', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('211', 'Concessions, brevet, licence savoir
faire, marque et droit similaires', '21', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('212', 'Goodwill', '21', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('213', 'Acomptes versés', '21', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('22', 'Terrains et construction', '2', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('220', 'Terrains', '22', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('222', 'Terrains bâtis', '22', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('223', 'Autres droits réels sur des immeubles',
'22', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('23', ' Installations, machines et outillages',
'2', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('24', 'Mobilier et Matériel roulant', '2', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('25', 'Immobilisations détenus en
location-financement et droits similaires', '2', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('250', 'Terrains', '25', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('251', 'Construction', '25', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('252', 'Terrains bâtis', '25', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('253', 'Mobilier et matériels roulants', '25',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('26', 'Autres immobilisations corporelles', '2',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('27', 'Immobilisations corporelles en cours et
acomptes versés', '2', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('28', 'Immobilisations financières', '2', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('280', 'Participation dans des entreprises
liées', '28', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('2800', 'Valeur d''acquisition', '280', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('2801', 'Montants non-appelés(-)', '280', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('2808', 'Plus-values actées', '280', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('2809', 'Réductions de valeurs actées', '280',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('281', 'Créance sur des entreprises liées',
'28', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('2810', 'Créance en compte', '281', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('2811', 'Effets à recevoir', '281', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('2812', 'Titre à reveny fixe', '281', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('2817', 'Créances douteuses', '281', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('2819', 'Réduction de valeurs actées', '281',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('282', 'Participations dans des entreprises avec
lesquelles il existe un lien de participation', '28', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('2820', 'Valeur d''acquisition', '282', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('4516', 'Tva Export 0%', '451', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('4115', 'Tva Intracomm 0%', '411', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('4116', 'Tva Export 0%', '411', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('41141', 'TVA pour l\\''export', '4114', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('41142', 'TVA sur les opérations
intracommunautaires', '4114', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('45141', 'TVA pour l\\''export', '451', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('45142', 'TVA sur les opérations
intracommunautaires', '4514', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('41143', 'TVA sur les opérations avec des
assujettis art 44 Code TVA', '4114', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('45143', 'TVA sur les opérations avec des
assujettis art 44 Code TVA', '4514', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('41144', 'TVA sur les opérations avec des
cocontractants', '4114', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('45144', 'TVA sur les opérations avec des
cocontractants', '4514', 'PAS');
--
-- Data for Name: todo_list; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY todo_list (tl_id, tl_date, tl_title, tl_desc, use_login) FROM stdin;
-\.
--
-- Data for Name: tva_rate; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY tva_rate (tva_id, tva_label, tva_rate, tva_comment, tva_poste,
tva_both_side) FROM stdin;
-1 21% 0.2100 Tva applicable à tout ce qui bien et service divers
4111,4511 0
-2 12% 0.1200 Tva 4112,4512 0
-3 6% 0.0600 Tva applicable aux journaux et livres 4113,4513 0
-4 0% 0.0000 Aucune tva n'est applicable 4114,4514 0
-6 EXPORT 0.0000 Tva pour les exportations 41141,45144 0
-5 INTRA 0.0000 Tva pour les livraisons / acquisition intra
communautaires 41142,45142 0
-7 COC 0.0000 Opérations avec des cocontractants 41144,45144 0
-8 ART44 0.0000 Opérations pour les opérations avec des assujettis à
l\\'art 44 Code TVA 41143,45143 0
-\.
+INSERT INTO tva_rate VALUES (1, '21%', 0.2100, 'Tva applicable à tout ce qui
bien et service divers', '4111,4511', 0);
+INSERT INTO tva_rate VALUES (2, '12%', 0.1200, 'Tva ', '4112,4512', 0);
+INSERT INTO tva_rate VALUES (3, '6%', 0.0600, 'Tva applicable aux journaux et
livres', '4113,4513', 0);
+INSERT INTO tva_rate VALUES (4, '0%', 0.0000, 'Aucune tva n''est applicable',
'4114,4514', 0);
+INSERT INTO tva_rate VALUES (6, 'EXPORT', 0.0000, 'Tva pour les exportations',
'41141,45144', 0);
+INSERT INTO tva_rate VALUES (5, 'INTRA', 0.0000, 'Tva pour les livraisons /
acquisition intra communautaires', '41142,45142', 0);
+INSERT INTO tva_rate VALUES (7, 'COC', 0.0000, 'Opérations avec des
cocontractants', '41144,45144', 0);
+INSERT INTO tva_rate VALUES (8, 'ART44', 0.0000, 'Opérations pour les
opérations avec des assujettis à l\\''art 44 Code TVA', '41143,45143', 0);
--
-- Data for Name: user_local_pref; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY user_local_pref (user_id, parameter_type, parameter_value) FROM stdin;
-1 MINIREPORT 0
-1 PERIODE 79
-\.
+INSERT INTO user_local_pref VALUES ('1', 'MINIREPORT', '0');
+INSERT INTO user_local_pref VALUES ('1', 'PERIODE', '79');
--
-- Data for Name: user_sec_act; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY user_sec_act (ua_id, ua_login, ua_act_id) FROM stdin;
-\.
--
-- Data for Name: user_sec_extension; Type: TABLE DATA; Schema: public; Owner:
-
--
-COPY user_sec_extension (use_id, ex_id, use_login, use_access) FROM stdin;
-1 1 phpcompta Y
-\.
+INSERT INTO user_sec_extension VALUES (1, 1, 'phpcompta', 'Y');
--
-- Data for Name: user_sec_jrn; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY user_sec_jrn (uj_id, uj_login, uj_jrn_id, uj_priv) FROM stdin;
-\.
--
-- Data for Name: version; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY version (val) FROM stdin;
-99
-\.
+INSERT INTO version VALUES (99);
--
--- Name: action_detail_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
+-- Name: action_detail_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
--
ALTER TABLE ONLY action_detail
@@ -7942,7 +7816,7 @@
--
--- Name: action_gestion_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
+-- Name: action_gestion_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
--
ALTER TABLE ONLY action_gestion
@@ -7950,7 +7824,7 @@
--
--- Name: action_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+-- Name: action_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY action
@@ -7958,7 +7832,7 @@
--
--- Name: attr_def_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+-- Name: attr_def_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
--
ALTER TABLE ONLY attr_def
@@ -7966,7 +7840,7 @@
--
--- Name: bilan_b_name_key; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
+-- Name: bilan_b_name_key; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
--
ALTER TABLE ONLY bilan
@@ -7974,7 +7848,7 @@
--
--- Name: bilan_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+-- Name: bilan_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY bilan
@@ -7982,7 +7856,7 @@
--
--- Name: centralized_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
+-- Name: centralized_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
--
ALTER TABLE ONLY centralized
@@ -7990,7 +7864,7 @@
--
--- Name: del_action_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
+-- Name: del_action_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
--
ALTER TABLE ONLY del_action
@@ -7998,7 +7872,7 @@
--
--- Name: dj_id; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+-- Name: dj_id; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY del_jrn
@@ -8006,7 +7880,7 @@
--
--- Name: djx_id; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+-- Name: djx_id; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY del_jrnx
@@ -8014,7 +7888,7 @@
--
--- Name: document_modele_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
+-- Name: document_modele_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
--
ALTER TABLE ONLY document_modele
@@ -8022,7 +7896,7 @@
--
--- Name: document_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+-- Name: document_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
--
ALTER TABLE ONLY document
@@ -8030,7 +7904,7 @@
--
--- Name: document_state_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
+-- Name: document_state_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
--
ALTER TABLE ONLY document_state
@@ -8038,7 +7912,7 @@
--
--- Name: document_type_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
+-- Name: document_type_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
--
ALTER TABLE ONLY document_type
@@ -8046,7 +7920,7 @@
--
--- Name: fiche_def_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
+-- Name: fiche_def_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
--
ALTER TABLE ONLY fiche_def
@@ -8054,7 +7928,7 @@
--
--- Name: fiche_def_ref_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
+-- Name: fiche_def_ref_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
--
ALTER TABLE ONLY fiche_def_ref
@@ -8062,7 +7936,7 @@
--
--- Name: fiche_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+-- Name: fiche_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY fiche
@@ -8070,7 +7944,7 @@
--
--- Name: forecast_cat_pk; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
+-- Name: forecast_cat_pk; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
--
ALTER TABLE ONLY forecast_cat
@@ -8078,7 +7952,7 @@
--
--- Name: forecast_item_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
+-- Name: forecast_item_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
--
ALTER TABLE ONLY forecast_item
@@ -8086,7 +7960,7 @@
--
--- Name: forecast_pk; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+-- Name: forecast_pk; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY forecast
@@ -8094,7 +7968,7 @@
--
--- Name: form_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+-- Name: form_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY form
@@ -8102,7 +7976,7 @@
--
--- Name: formdef_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+-- Name: formdef_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY formdef
@@ -8110,7 +7984,7 @@
--
--- Name: frd_ad_attr_min_pk; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
+-- Name: frd_ad_attr_min_pk; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
--
ALTER TABLE ONLY attr_min
@@ -8118,7 +7992,7 @@
--
--- Name: historique_analytique_pkey; Type: CONSTRAINT; Schema: public; Owner:
-; Tablespace:
+-- Name: historique_analytique_pkey; Type: CONSTRAINT; Schema: public; Owner:
-; Tablespace:
--
ALTER TABLE ONLY operation_analytique
@@ -8126,7 +8000,7 @@
--
--- Name: idx_ex_code; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+-- Name: idx_ex_code; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY extension
@@ -8134,7 +8008,7 @@
--
--- Name: info_def_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+-- Name: info_def_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
--
ALTER TABLE ONLY info_def
@@ -8142,7 +8016,7 @@
--
--- Name: jnt_fic_att_value_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
+-- Name: jnt_fic_att_value_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
--
ALTER TABLE ONLY fiche_detail
@@ -8150,7 +8024,7 @@
--
--- Name: jnt_letter_pk; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+-- Name: jnt_letter_pk; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
--
ALTER TABLE ONLY jnt_letter
@@ -8158,7 +8032,7 @@
--
--- Name: jrn_action_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
+-- Name: jrn_action_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
--
ALTER TABLE ONLY jrn_action
@@ -8166,7 +8040,7 @@
--
--- Name: jrn_def_jrn_def_name_key; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
+-- Name: jrn_def_jrn_def_name_key; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
--
ALTER TABLE ONLY jrn_def
@@ -8174,7 +8048,7 @@
--
--- Name: jrn_def_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+-- Name: jrn_def_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY jrn_def
@@ -8182,7 +8056,7 @@
--
--- Name: jrn_info_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+-- Name: jrn_info_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
--
ALTER TABLE ONLY jrn_info
@@ -8190,7 +8064,7 @@
--
--- Name: jrn_periode_pk; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
+-- Name: jrn_periode_pk; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
--
ALTER TABLE ONLY jrn_periode
@@ -8198,7 +8072,7 @@
--
--- Name: jrn_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+-- Name: jrn_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY jrn
@@ -8206,7 +8080,7 @@
--
--- Name: jrn_rapt_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+-- Name: jrn_rapt_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
--
ALTER TABLE ONLY jrn_rapt
@@ -8214,7 +8088,7 @@
--
--- Name: jrn_type_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+-- Name: jrn_type_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
--
ALTER TABLE ONLY jrn_type
@@ -8222,7 +8096,7 @@
--
--- Name: jrnx_note_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
+-- Name: jrnx_note_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
--
ALTER TABLE ONLY jrn_note
@@ -8230,7 +8104,7 @@
--
--- Name: jrnx_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+-- Name: jrnx_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY jrnx
@@ -8238,7 +8112,7 @@
--
--- Name: letter_cred_pk; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
+-- Name: letter_cred_pk; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
--
ALTER TABLE ONLY letter_cred
@@ -8246,7 +8120,7 @@
--
--- Name: letter_deb_pk; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+-- Name: letter_deb_pk; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
--
ALTER TABLE ONLY letter_deb
@@ -8254,7 +8128,7 @@
--
--- Name: menu_ref_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+-- Name: menu_ref_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
--
ALTER TABLE ONLY menu_ref
@@ -8262,7 +8136,7 @@
--
--- Name: mod_payment_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
+-- Name: mod_payment_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
--
ALTER TABLE ONLY mod_payment
@@ -8270,7 +8144,7 @@
--
--- Name: op_def_op_name_key; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
+-- Name: op_def_op_name_key; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
--
ALTER TABLE ONLY op_predef
@@ -8278,7 +8152,7 @@
--
--- Name: op_def_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+-- Name: op_def_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY op_predef
@@ -8286,7 +8160,7 @@
--
--- Name: op_predef_detail_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
+-- Name: op_predef_detail_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
--
ALTER TABLE ONLY op_predef_detail
@@ -8294,7 +8168,7 @@
--
--- Name: parameter_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
+-- Name: parameter_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
--
ALTER TABLE ONLY parameter
@@ -8302,7 +8176,7 @@
--
--- Name: parm_code_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
+-- Name: parm_code_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
--
ALTER TABLE ONLY parm_code
@@ -8310,7 +8184,7 @@
--
--- Name: parm_money_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
+-- Name: parm_money_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
--
ALTER TABLE ONLY parm_money
@@ -8318,7 +8192,7 @@
--
--- Name: parm_periode_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
+-- Name: parm_periode_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
--
ALTER TABLE ONLY parm_periode
@@ -8326,7 +8200,7 @@
--
--- Name: parm_poste_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
+-- Name: parm_poste_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
--
ALTER TABLE ONLY parm_poste
@@ -8334,7 +8208,7 @@
--
--- Name: pk_extension; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+-- Name: pk_extension; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY extension
@@ -8342,7 +8216,7 @@
--
--- Name: pk_ga_id; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+-- Name: pk_ga_id; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY groupe_analytique
@@ -8350,7 +8224,7 @@
--
--- Name: pk_jnt_fic_attr; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
+-- Name: pk_jnt_fic_attr; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
--
ALTER TABLE ONLY jnt_fic_attr
@@ -8358,7 +8232,7 @@
--
--- Name: pk_user_local_pref; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
+-- Name: pk_user_local_pref; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
--
ALTER TABLE ONLY user_local_pref
@@ -8366,7 +8240,7 @@
--
--- Name: plan_analytique_pa_name_key; Type: CONSTRAINT; Schema: public; Owner:
-; Tablespace:
+-- Name: plan_analytique_pa_name_key; Type: CONSTRAINT; Schema: public; Owner:
-; Tablespace:
--
ALTER TABLE ONLY plan_analytique
@@ -8374,7 +8248,7 @@
--
--- Name: plan_analytique_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
+-- Name: plan_analytique_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
--
ALTER TABLE ONLY plan_analytique
@@ -8382,7 +8256,7 @@
--
--- Name: poste_analytique_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
+-- Name: poste_analytique_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
--
ALTER TABLE ONLY poste_analytique
@@ -8390,7 +8264,7 @@
--
--- Name: profile_menu_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
+-- Name: profile_menu_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
--
ALTER TABLE ONLY profile_menu
@@ -8398,7 +8272,7 @@
--
--- Name: profile_menu_type_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
+-- Name: profile_menu_type_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
--
ALTER TABLE ONLY profile_menu_type
@@ -8406,7 +8280,7 @@
--
--- Name: profile_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+-- Name: profile_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY profile
@@ -8414,7 +8288,7 @@
--
--- Name: profile_user_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
+-- Name: profile_user_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
--
ALTER TABLE ONLY profile_user
@@ -8422,7 +8296,7 @@
--
--- Name: profile_user_user_name_key; Type: CONSTRAINT; Schema: public; Owner:
-; Tablespace:
+-- Name: profile_user_user_name_key; Type: CONSTRAINT; Schema: public; Owner:
-; Tablespace:
--
ALTER TABLE ONLY profile_user
@@ -8430,7 +8304,7 @@
--
--- Name: qp_id_pk; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+-- Name: qp_id_pk; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY quant_purchase
@@ -8438,7 +8312,7 @@
--
--- Name: qs_id_pk; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+-- Name: qs_id_pk; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY quant_sold
@@ -8446,7 +8320,7 @@
--
--- Name: quant_fin_pk; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+-- Name: quant_fin_pk; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY quant_fin
@@ -8454,7 +8328,7 @@
--
--- Name: stock_goods_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
+-- Name: stock_goods_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
--
ALTER TABLE ONLY stock_goods
@@ -8462,7 +8336,7 @@
--
--- Name: tmp_pcmn_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+-- Name: tmp_pcmn_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
--
ALTER TABLE ONLY tmp_pcmn
@@ -8470,7 +8344,7 @@
--
--- Name: todo_list_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
+-- Name: todo_list_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
--
ALTER TABLE ONLY todo_list
@@ -8478,7 +8352,7 @@
--
--- Name: tva_id_pk; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+-- Name: tva_id_pk; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY tva_rate
@@ -8486,7 +8360,7 @@
--
--- Name: user_sec_act_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
+-- Name: user_sec_act_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
--
ALTER TABLE ONLY user_sec_act
@@ -8494,7 +8368,7 @@
--
--- Name: user_sec_extension_ex_id_key; Type: CONSTRAINT; Schema: public;
Owner: -; Tablespace:
+-- Name: user_sec_extension_ex_id_key; Type: CONSTRAINT; Schema: public;
Owner: -; Tablespace:
--
ALTER TABLE ONLY user_sec_extension
@@ -8502,7 +8376,7 @@
--
--- Name: user_sec_extension_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
+-- Name: user_sec_extension_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
--
ALTER TABLE ONLY user_sec_extension
@@ -8510,7 +8384,7 @@
--
--- Name: user_sec_jrn_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
+-- Name: user_sec_jrn_pkey; Type: CONSTRAINT; Schema: public; Owner: -;
Tablespace:
--
ALTER TABLE ONLY user_sec_jrn
@@ -8518,7 +8392,7 @@
--
--- Name: ux_internal; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
+-- Name: ux_internal; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY jrn
@@ -8526,168 +8400,168 @@
--
--- Name: fd_id_ad_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
+-- Name: fd_id_ad_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE UNIQUE INDEX fd_id_ad_id_x ON jnt_fic_attr USING btree (fd_id, ad_id);
--
--- Name: fiche_detail_f_id_ad_id; Type: INDEX; Schema: public; Owner: -;
Tablespace:
+-- Name: fiche_detail_f_id_ad_id; Type: INDEX; Schema: public; Owner: -;
Tablespace:
--
CREATE UNIQUE INDEX fiche_detail_f_id_ad_id ON fiche_detail USING btree (f_id,
ad_id);
--
--- Name: fk_stock_goods_f_id; Type: INDEX; Schema: public; Owner: -;
Tablespace:
+-- Name: fk_stock_goods_f_id; Type: INDEX; Schema: public; Owner: -;
Tablespace:
--
CREATE INDEX fk_stock_goods_f_id ON stock_goods USING btree (f_id);
--
--- Name: fk_stock_goods_j_id; Type: INDEX; Schema: public; Owner: -;
Tablespace:
+-- Name: fk_stock_goods_j_id; Type: INDEX; Schema: public; Owner: -;
Tablespace:
--
CREATE INDEX fk_stock_goods_j_id ON stock_goods USING btree (j_id);
--
--- Name: fki_f_end_date; Type: INDEX; Schema: public; Owner: -; Tablespace:
+-- Name: fki_f_end_date; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX fki_f_end_date ON forecast USING btree (f_end_date);
--
--- Name: fki_f_start_date; Type: INDEX; Schema: public; Owner: -; Tablespace:
+-- Name: fki_f_start_date; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX fki_f_start_date ON forecast USING btree (f_start_date);
--
--- Name: fki_jrnx_f_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+-- Name: fki_jrnx_f_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX fki_jrnx_f_id ON jrnx USING btree (f_id);
--
--- Name: fki_profile_menu_me_code; Type: INDEX; Schema: public; Owner: -;
Tablespace:
+-- Name: fki_profile_menu_me_code; Type: INDEX; Schema: public; Owner: -;
Tablespace:
--
CREATE INDEX fki_profile_menu_me_code ON profile_menu USING btree (me_code);
--
--- Name: fki_profile_menu_profile; Type: INDEX; Schema: public; Owner: -;
Tablespace:
+-- Name: fki_profile_menu_profile; Type: INDEX; Schema: public; Owner: -;
Tablespace:
--
CREATE INDEX fki_profile_menu_profile ON profile_menu USING btree (p_id);
--
--- Name: fki_profile_menu_type_fkey; Type: INDEX; Schema: public; Owner: -;
Tablespace:
+-- Name: fki_profile_menu_type_fkey; Type: INDEX; Schema: public; Owner: -;
Tablespace:
--
CREATE INDEX fki_profile_menu_type_fkey ON profile_menu USING btree
(p_type_display);
--
--- Name: idx_qs_internal; Type: INDEX; Schema: public; Owner: -; Tablespace:
+-- Name: idx_qs_internal; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX idx_qs_internal ON quant_sold USING btree (qs_internal);
--
--- Name: jnt_fic_att_value_fd_id_idx; Type: INDEX; Schema: public; Owner: -;
Tablespace:
+-- Name: jnt_fic_att_value_fd_id_idx; Type: INDEX; Schema: public; Owner: -;
Tablespace:
--
CREATE INDEX jnt_fic_att_value_fd_id_idx ON fiche_detail USING btree (f_id);
--
--- Name: jnt_fic_attr_fd_id_idx; Type: INDEX; Schema: public; Owner: -;
Tablespace:
+-- Name: jnt_fic_attr_fd_id_idx; Type: INDEX; Schema: public; Owner: -;
Tablespace:
--
CREATE INDEX jnt_fic_attr_fd_id_idx ON jnt_fic_attr USING btree (fd_id);
--
--- Name: k_ag_ref; Type: INDEX; Schema: public; Owner: -; Tablespace:
+-- Name: k_ag_ref; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE UNIQUE INDEX k_ag_ref ON action_gestion USING btree (ag_ref);
--
--- Name: qcode_idx; Type: INDEX; Schema: public; Owner: -; Tablespace:
+-- Name: qcode_idx; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE UNIQUE INDEX qcode_idx ON fiche_detail USING btree (ad_value) WHERE
(ad_id = 23);
--
--- Name: qf_jr_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+-- Name: qf_jr_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE UNIQUE INDEX qf_jr_id ON quant_fin USING btree (jr_id);
--
--- Name: qp_j_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+-- Name: qp_j_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE UNIQUE INDEX qp_j_id ON quant_purchase USING btree (j_id);
--
--- Name: qs_j_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+-- Name: qs_j_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE UNIQUE INDEX qs_j_id ON quant_sold USING btree (j_id);
--
--- Name: uj_login_uj_jrn_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+-- Name: uj_login_uj_jrn_id; Type: INDEX; Schema: public; Owner: -;
Tablespace:
--
CREATE UNIQUE INDEX uj_login_uj_jrn_id ON user_sec_jrn USING btree (uj_login,
uj_jrn_id);
--
--- Name: ux_po_name; Type: INDEX; Schema: public; Owner: -; Tablespace:
+-- Name: ux_po_name; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE UNIQUE INDEX ux_po_name ON poste_analytique USING btree (po_name);
--
--- Name: x_jrn_jr_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
+-- Name: x_jrn_jr_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE UNIQUE INDEX x_jrn_jr_id ON jrn USING btree (jr_id);
--
--- Name: x_mt; Type: INDEX; Schema: public; Owner: -; Tablespace:
+-- Name: x_mt; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX x_mt ON jrn USING btree (jr_mt);
--
--- Name: x_periode; Type: INDEX; Schema: public; Owner: -; Tablespace:
+-- Name: x_periode; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE UNIQUE INDEX x_periode ON parm_periode USING btree (p_start, p_end);
--
--- Name: x_poste; Type: INDEX; Schema: public; Owner: -; Tablespace:
+-- Name: x_poste; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX x_poste ON jrnx USING btree (j_poste);
Modified: phpcompta/branches/rel601-ovh/contrib/mono-dossier/mono-france.sql
===================================================================
--- phpcompta/branches/rel601-ovh/contrib/mono-dossier/mono-france.sql
2012-05-15 11:38:45 UTC (rev 4832)
+++ phpcompta/branches/rel601-ovh/contrib/mono-dossier/mono-france.sql
2012-05-15 14:38:05 UTC (rev 4833)
@@ -6149,1428 +6149,1294 @@
-- Data for Name: action; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY action (ac_id, ac_description, ac_module, ac_code) FROM stdin;
-800 Ajout de fiche fiche FICADD
-805 Création, modification et effacement de fiche fiche FIC
-910 création, modification et effacement de catégorie de fiche fiche
FICCAT
-1020 Effacer les documents du suivi followup RMDOC
-1010 Voir les documents du suivi followup VIEWDOC
-1050 Modifier le type de document followup PARCATDOC
-\.
+INSERT INTO action VALUES (800, 'Ajout de fiche', 'fiche', 'FICADD');
+INSERT INTO action VALUES (805, 'Création, modification et effacement de
fiche', 'fiche', 'FIC');
+INSERT INTO action VALUES (910, 'création, modification et effacement de
catégorie de fiche', 'fiche', 'FICCAT');
+INSERT INTO action VALUES (1020, 'Effacer les documents du suivi', 'followup',
'RMDOC');
+INSERT INTO action VALUES (1010, 'Voir les documents du suivi', 'followup',
'VIEWDOC');
+INSERT INTO action VALUES (1050, 'Modifier le type de document', 'followup',
'PARCATDOC');
--
-- Data for Name: action_detail; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY action_detail (ad_id, f_id, ad_text, ad_pu, ad_quant, ad_tva_id,
ad_tva_amount, ad_total_amount, ag_id) FROM stdin;
-\.
--
-- Data for Name: action_gestion; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY action_gestion (ag_id, ag_type, f_id_dest, ag_title, ag_timestamp,
ag_cal, ag_ref_ag_id, ag_comment, ag_ref, ag_hour, ag_priority, ag_dest,
ag_owner, ag_contact, ag_state) FROM stdin;
-\.
--
-- Data for Name: attr_def; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY attr_def (ad_id, ad_text, ad_type, ad_size) FROM stdin;
-20 Partie fiscalement non déductible numeric 22
-10 Date début date 8
-6 Prix vente numeric 6
-7 Prix achat numeric 6
-8 Durée Amortissement numeric 6
-11 Montant initial numeric 6
-21 TVA non déductible numeric 6
-22 TVA non déductible récupérable par l'impôt numeric 6
-1 Nom text 22
-2 Taux TVA text 22
-3 Numéro de compte text 22
-4 Nom de la banque text 22
-5 Poste Comptable text 22
-9 Description text 22
-12 Personne de contact text 22
-13 numéro de tva text 22
-14 Adresse text 22
-16 pays text 22
-17 téléphone text 22
-18 email text 22
-19 Gestion stock text 22
-23 Quick Code text 22
-24 Ville text 22
-25 Société text 22
-26 Fax text 22
-27 GSM text 22
-15 code postal text 22
-30 Numero de client text 22
-32 Prénom text 22
-31 Dépense charge du grant (partie privé) text 22
-50 Contrepartie pour TVA récup par impot poste 22
-51 Contrepartie pour TVA non Ded. poste 22
-52 Contrepartie pour dépense à charge du gérant poste 22
-53 Contrepartie pour dépense fiscal. non déd. poste 22
-\.
+INSERT INTO attr_def VALUES (20, 'Partie fiscalement non déductible',
'numeric', '22');
+INSERT INTO attr_def VALUES (10, 'Date début', 'date', '8');
+INSERT INTO attr_def VALUES (6, 'Prix vente', 'numeric', '6');
+INSERT INTO attr_def VALUES (7, 'Prix achat', 'numeric', '6');
+INSERT INTO attr_def VALUES (8, 'Durée Amortissement', 'numeric', '6');
+INSERT INTO attr_def VALUES (11, 'Montant initial', 'numeric', '6');
+INSERT INTO attr_def VALUES (21, 'TVA non déductible', 'numeric', '6');
+INSERT INTO attr_def VALUES (22, 'TVA non déductible récupérable par
l''impôt', 'numeric', '6');
+INSERT INTO attr_def VALUES (1, 'Nom', 'text', '22');
+INSERT INTO attr_def VALUES (2, 'Taux TVA', 'text', '22');
+INSERT INTO attr_def VALUES (3, 'Numéro de compte', 'text', '22');
+INSERT INTO attr_def VALUES (4, 'Nom de la banque', 'text', '22');
+INSERT INTO attr_def VALUES (5, 'Poste Comptable', 'text', '22');
+INSERT INTO attr_def VALUES (9, 'Description', 'text', '22');
+INSERT INTO attr_def VALUES (12, 'Personne de contact ', 'text', '22');
+INSERT INTO attr_def VALUES (13, 'numéro de tva ', 'text', '22');
+INSERT INTO attr_def VALUES (14, 'Adresse ', 'text', '22');
+INSERT INTO attr_def VALUES (16, 'pays ', 'text', '22');
+INSERT INTO attr_def VALUES (17, 'téléphone ', 'text', '22');
+INSERT INTO attr_def VALUES (18, 'email ', 'text', '22');
+INSERT INTO attr_def VALUES (19, 'Gestion stock', 'text', '22');
+INSERT INTO attr_def VALUES (23, 'Quick Code', 'text', '22');
+INSERT INTO attr_def VALUES (24, 'Ville', 'text', '22');
+INSERT INTO attr_def VALUES (25, 'Société', 'text', '22');
+INSERT INTO attr_def VALUES (26, 'Fax', 'text', '22');
+INSERT INTO attr_def VALUES (27, 'GSM', 'text', '22');
+INSERT INTO attr_def VALUES (15, 'code postal', 'text', '22');
+INSERT INTO attr_def VALUES (30, 'Numero de client', 'text', '22');
+INSERT INTO attr_def VALUES (32, 'Prénom', 'text', '22');
+INSERT INTO attr_def VALUES (31, 'Dépense charge du grant (partie privé) ',
'text', '22');
+INSERT INTO attr_def VALUES (50, 'Contrepartie pour TVA récup par impot',
'poste', '22');
+INSERT INTO attr_def VALUES (51, 'Contrepartie pour TVA non Ded.', 'poste',
'22');
+INSERT INTO attr_def VALUES (52, 'Contrepartie pour dépense à charge du
gérant', 'poste', '22');
+INSERT INTO attr_def VALUES (53, 'Contrepartie pour dépense fiscal. non déd.',
'poste', '22');
--
-- Data for Name: attr_min; Type: TABLE DATA; Schema: public; Owner: -
--
-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 16
-9 17
-9 18
-1 6
-1 7
-2 6
-2 7
-3 7
-1 19
-2 19
-14 1
-5 1
-5 4
-5 10
-5 12
-6 1
-6 4
-6 10
-6 12
-10 1
-10 12
-11 1
-11 12
-12 1
-12 12
-13 1
-13 9
-7 1
-7 8
-7 9
-7 10
-5 11
-6 11
-1 15
-9 15
-15 1
-15 9
-1 23
-2 23
-3 23
-4 23
-5 23
-6 23
-8 23
-9 23
-10 23
-11 23
-12 23
-13 23
-14 23
-15 23
-7 23
-9 24
-8 24
-14 24
-16 1
-16 17
-16 18
-16 25
-16 26
-16 27
-16 23
-17 1
-17 9
-18 1
-18 9
-25 1
-25 4
-25 3
-25 5
-25 15
-25 16
-25 24
-25 23
-2 30
-\.
+INSERT INTO attr_min VALUES (1, 1);
+INSERT INTO attr_min VALUES (1, 2);
+INSERT INTO attr_min VALUES (2, 1);
+INSERT INTO attr_min VALUES (2, 2);
+INSERT INTO attr_min VALUES (3, 1);
+INSERT INTO attr_min VALUES (3, 2);
+INSERT INTO attr_min VALUES (4, 1);
+INSERT INTO attr_min VALUES (4, 3);
+INSERT INTO attr_min VALUES (4, 4);
+INSERT INTO attr_min VALUES (4, 12);
+INSERT INTO attr_min VALUES (4, 13);
+INSERT INTO attr_min VALUES (4, 14);
+INSERT INTO attr_min VALUES (4, 15);
+INSERT INTO attr_min VALUES (4, 16);
+INSERT INTO attr_min VALUES (4, 17);
+INSERT INTO attr_min VALUES (4, 18);
+INSERT INTO attr_min VALUES (8, 1);
+INSERT INTO attr_min VALUES (8, 12);
+INSERT INTO attr_min VALUES (8, 13);
+INSERT INTO attr_min VALUES (8, 14);
+INSERT INTO attr_min VALUES (8, 15);
+INSERT INTO attr_min VALUES (8, 16);
+INSERT INTO attr_min VALUES (8, 17);
+INSERT INTO attr_min VALUES (8, 18);
+INSERT INTO attr_min VALUES (9, 1);
+INSERT INTO attr_min VALUES (9, 12);
+INSERT INTO attr_min VALUES (9, 13);
+INSERT INTO attr_min VALUES (9, 14);
+INSERT INTO attr_min VALUES (9, 16);
+INSERT INTO attr_min VALUES (9, 17);
+INSERT INTO attr_min VALUES (9, 18);
+INSERT INTO attr_min VALUES (1, 6);
+INSERT INTO attr_min VALUES (1, 7);
+INSERT INTO attr_min VALUES (2, 6);
+INSERT INTO attr_min VALUES (2, 7);
+INSERT INTO attr_min VALUES (3, 7);
+INSERT INTO attr_min VALUES (1, 19);
+INSERT INTO attr_min VALUES (2, 19);
+INSERT INTO attr_min VALUES (14, 1);
+INSERT INTO attr_min VALUES (5, 1);
+INSERT INTO attr_min VALUES (5, 4);
+INSERT INTO attr_min VALUES (5, 10);
+INSERT INTO attr_min VALUES (5, 12);
+INSERT INTO attr_min VALUES (6, 1);
+INSERT INTO attr_min VALUES (6, 4);
+INSERT INTO attr_min VALUES (6, 10);
+INSERT INTO attr_min VALUES (6, 12);
+INSERT INTO attr_min VALUES (10, 1);
+INSERT INTO attr_min VALUES (10, 12);
+INSERT INTO attr_min VALUES (11, 1);
+INSERT INTO attr_min VALUES (11, 12);
+INSERT INTO attr_min VALUES (12, 1);
+INSERT INTO attr_min VALUES (12, 12);
+INSERT INTO attr_min VALUES (13, 1);
+INSERT INTO attr_min VALUES (13, 9);
+INSERT INTO attr_min VALUES (7, 1);
+INSERT INTO attr_min VALUES (7, 8);
+INSERT INTO attr_min VALUES (7, 9);
+INSERT INTO attr_min VALUES (7, 10);
+INSERT INTO attr_min VALUES (5, 11);
+INSERT INTO attr_min VALUES (6, 11);
+INSERT INTO attr_min VALUES (1, 15);
+INSERT INTO attr_min VALUES (9, 15);
+INSERT INTO attr_min VALUES (15, 1);
+INSERT INTO attr_min VALUES (15, 9);
+INSERT INTO attr_min VALUES (1, 23);
+INSERT INTO attr_min VALUES (2, 23);
+INSERT INTO attr_min VALUES (3, 23);
+INSERT INTO attr_min VALUES (4, 23);
+INSERT INTO attr_min VALUES (5, 23);
+INSERT INTO attr_min VALUES (6, 23);
+INSERT INTO attr_min VALUES (8, 23);
+INSERT INTO attr_min VALUES (9, 23);
+INSERT INTO attr_min VALUES (10, 23);
+INSERT INTO attr_min VALUES (11, 23);
+INSERT INTO attr_min VALUES (12, 23);
+INSERT INTO attr_min VALUES (13, 23);
+INSERT INTO attr_min VALUES (14, 23);
+INSERT INTO attr_min VALUES (15, 23);
+INSERT INTO attr_min VALUES (7, 23);
+INSERT INTO attr_min VALUES (9, 24);
+INSERT INTO attr_min VALUES (8, 24);
+INSERT INTO attr_min VALUES (14, 24);
+INSERT INTO attr_min VALUES (16, 1);
+INSERT INTO attr_min VALUES (16, 17);
+INSERT INTO attr_min VALUES (16, 18);
+INSERT INTO attr_min VALUES (16, 25);
+INSERT INTO attr_min VALUES (16, 26);
+INSERT INTO attr_min VALUES (16, 27);
+INSERT INTO attr_min VALUES (16, 23);
+INSERT INTO attr_min VALUES (17, 1);
+INSERT INTO attr_min VALUES (17, 9);
+INSERT INTO attr_min VALUES (18, 1);
+INSERT INTO attr_min VALUES (18, 9);
+INSERT INTO attr_min VALUES (25, 1);
+INSERT INTO attr_min VALUES (25, 4);
+INSERT INTO attr_min VALUES (25, 3);
+INSERT INTO attr_min VALUES (25, 5);
+INSERT INTO attr_min VALUES (25, 15);
+INSERT INTO attr_min VALUES (25, 16);
+INSERT INTO attr_min VALUES (25, 24);
+INSERT INTO attr_min VALUES (25, 23);
+INSERT INTO attr_min VALUES (2, 30);
--
-- Data for Name: bilan; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY bilan (b_id, b_name, b_file_template, b_file_form, b_type) FROM stdin;
-5 Comptes de résultat document/fr_fr/fr_plan_abrege_perso_cr1000.rtf
document/fr_fr/fr_plan_abrege_perso_cr1000.form rtf
-1 Bilan français document/fr_fr/fr_plan_abrege_perso_bil10000.ods
document/fr_fr/fr_plan_abrege_perso_bil10000.form ods
-\.
+INSERT INTO bilan VALUES (5, 'Comptes de résultat',
'document/fr_fr/fr_plan_abrege_perso_cr1000.rtf',
'document/fr_fr/fr_plan_abrege_perso_cr1000.form', 'rtf');
+INSERT INTO bilan VALUES (1, 'Bilan français',
'document/fr_fr/fr_plan_abrege_perso_bil10000.ods',
'document/fr_fr/fr_plan_abrege_perso_bil10000.form', 'ods');
--
-- Data for Name: centralized; Type: TABLE DATA; Schema: public; Owner: -
--
-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,
c_order) FROM stdin;
-\.
--
-- Data for Name: del_action; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY del_action (del_id, del_name, del_time) FROM stdin;
-\.
--
-- Data for Name: del_jrn; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY del_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, jr_valid,
jr_opid, jr_c_opid, jr_pj, jr_pj_name, jr_pj_type, del_jrn_date, jr_pj_number,
dj_id) FROM stdin;
-\.
--
-- Data for Name: del_jrnx; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY del_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, j_qcode, djx_id, f_id) FROM stdin;
-\.
--
-- Data for Name: document; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY document (d_id, ag_id, d_lob, d_number, d_filename, d_mimetype) FROM
stdin;
-\.
--
-- Data for Name: document_modele; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY document_modele (md_id, md_name, md_lob, md_type, md_filename,
md_mimetype, md_affect) FROM stdin;
-\.
--
-- Data for Name: document_state; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY document_state (s_id, s_value) FROM stdin;
-1 Clôturé
-2 A suivre
-3 A faire
-4 Abandonné
-\.
+INSERT INTO document_state VALUES (1, 'Clôturé');
+INSERT INTO document_state VALUES (2, 'A suivre');
+INSERT INTO document_state VALUES (3, 'A faire');
+INSERT INTO document_state VALUES (4, 'Abandonné');
--
-- Data for Name: document_type; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY document_type (dt_id, dt_value) FROM stdin;
-1 Document Interne
-2 Bons de commande client
-3 Bon de commande Fournisseur
-4 Facture
-5 Lettre de rappel
-6 Courrier
-7 Proposition
-8 Email
-9 Divers
-10 Note de frais
-20 Réception commande Fournisseur
-21 Réception commande Client
-22 Réception magazine
-\.
+INSERT INTO document_type VALUES (1, 'Document Interne');
+INSERT INTO document_type VALUES (2, 'Bons de commande client');
+INSERT INTO document_type VALUES (3, 'Bon de commande Fournisseur');
+INSERT INTO document_type VALUES (4, 'Facture');
+INSERT INTO document_type VALUES (5, 'Lettre de rappel');
+INSERT INTO document_type VALUES (6, 'Courrier');
+INSERT INTO document_type VALUES (7, 'Proposition');
+INSERT INTO document_type VALUES (8, 'Email');
+INSERT INTO document_type VALUES (9, 'Divers');
+INSERT INTO document_type VALUES (10, 'Note de frais');
+INSERT INTO document_type VALUES (20, 'Réception commande Fournisseur');
+INSERT INTO document_type VALUES (21, 'Réception commande Client');
+INSERT INTO document_type VALUES (22, 'Réception magazine');
--
-- Data for Name: extension; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY extension (ex_id, ex_name, ex_code, ex_desc, ex_file, ex_enable) FROM
stdin;
-\.
--
-- Data for Name: fiche; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY fiche (f_id, fd_id) FROM stdin;
-\.
--
-- Data for Name: fiche_def; Type: TABLE DATA; Schema: public; Owner: -
--
-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
-\.
+INSERT INTO fiche_def VALUES (2, '400', 'Client', true, 9);
+INSERT INTO fiche_def VALUES (1, '604', 'Marchandises', true, 2);
+INSERT INTO fiche_def VALUES (3, '5500', 'Banque', true, 4);
+INSERT INTO fiche_def VALUES (4, '440', 'Fournisseur', true, 8);
+INSERT INTO fiche_def VALUES (5, '61', 'S & B D', true, 3);
+INSERT INTO fiche_def VALUES (6, '700', 'Vente', true, 1);
--
-- Data for Name: fiche_def_ref; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY fiche_def_ref (frd_id, frd_text, frd_class_base) FROM stdin;
-13 Dépenses non admises 674
-14 Administration des Finances \N
-15 Autres fiches \N
-4 Banque 51
-5 Prêt > a un an 27
-8 Fournisseurs 400
-6 Prêt < a un an \N
-16 Contact \N
-1 Vente Service 706
-2 Achat Marchandises 603
-9 Clients 410
-10 Salaire Administrateur 644
-11 Salaire Ouvrier 641
-12 Salaire Employé 641
-7 Matériel à amortir, immobilisation corporelle 21
-3 Achat Service et biens divers 61
-17 Escomptes accordées 66
-18 Produits Financiers 76
-25 Compte Salarié / Administrateur \N
-\.
+INSERT INTO fiche_def_ref VALUES (13, 'Dépenses non admises', '674');
+INSERT INTO fiche_def_ref VALUES (14, 'Administration des Finances', NULL);
+INSERT INTO fiche_def_ref VALUES (15, 'Autres fiches', NULL);
+INSERT INTO fiche_def_ref VALUES (4, 'Banque', '51');
+INSERT INTO fiche_def_ref VALUES (5, 'Prêt > a un an', '27');
+INSERT INTO fiche_def_ref VALUES (8, 'Fournisseurs', '400');
+INSERT INTO fiche_def_ref VALUES (6, 'Prêt < a un an', NULL);
+INSERT INTO fiche_def_ref VALUES (16, 'Contact', NULL);
+INSERT INTO fiche_def_ref VALUES (1, 'Vente Service', '706');
+INSERT INTO fiche_def_ref VALUES (2, 'Achat Marchandises', '603');
+INSERT INTO fiche_def_ref VALUES (9, 'Clients', '410');
+INSERT INTO fiche_def_ref VALUES (10, 'Salaire Administrateur', '644');
+INSERT INTO fiche_def_ref VALUES (11, 'Salaire Ouvrier', '641');
+INSERT INTO fiche_def_ref VALUES (12, 'Salaire Employé', '641');
+INSERT INTO fiche_def_ref VALUES (7, 'Matériel à amortir, immobilisation
corporelle', '21');
+INSERT INTO fiche_def_ref VALUES (3, 'Achat Service et biens divers', '61');
+INSERT INTO fiche_def_ref VALUES (17, 'Escomptes accordées', '66');
+INSERT INTO fiche_def_ref VALUES (18, 'Produits Financiers', '76');
+INSERT INTO fiche_def_ref VALUES (25, 'Compte Salarié / Administrateur', NULL);
--
-- Data for Name: fiche_detail; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY fiche_detail (jft_id, f_id, ad_id, ad_value) FROM stdin;
-\.
--
-- Data for Name: forecast; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY forecast (f_id, f_name, f_start_date, f_end_date) FROM stdin;
-\.
--
-- Data for Name: forecast_cat; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY forecast_cat (fc_id, fc_desc, f_id, fc_order) FROM stdin;
-\.
--
-- Data for Name: forecast_item; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY forecast_item (fi_id, fi_text, fi_account, fi_card, fi_order, fc_id,
fi_amount, fi_debit, fi_pid) FROM stdin;
-\.
--
-- Data for Name: form; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY form (fo_id, fo_fr_id, fo_pos, fo_label, fo_formula) FROM stdin;
-3000398 3000000 1 Prestation [ case 03 ] [700%]-[7000005]
-3000399 3000000 2 Prestation intra [ case 47 ] [7000005]
-3000400 3000000 3 Tva due [case 54] [4513]+[4512]+[4511]
FROM=01.2005
-3000401 3000000 4 Marchandises, matière première et auxiliaire
[case 81 ] [60%]
-3000402 3000000 7 Service et bien divers [case 82] [61%]
-3000403 3000000 8 bien d'invest [ case 83 ] [2400%]
-3000404 3000000 9 TVA déductible [ case 59 ]
abs([4117]-[411%])
-3000405 3000000 8 TVA non ded -> voiture [610022]*0.21/2
-3000406 3000000 9 Acompte TVA [4117]
-\.
+INSERT INTO form VALUES (3000398, 3000000, 1, 'Prestation [ case 03 ]',
'[700%]-[7000005]');
+INSERT INTO form VALUES (3000399, 3000000, 2, 'Prestation intra [ case 47 ]',
'[7000005]');
+INSERT INTO form VALUES (3000400, 3000000, 3, 'Tva due [case 54]',
'[4513]+[4512]+[4511] FROM=01.2005');
+INSERT INTO form VALUES (3000401, 3000000, 4, 'Marchandises, matière première
et auxiliaire [case 81 ]', '[60%]');
+INSERT INTO form VALUES (3000402, 3000000, 7, 'Service et bien divers [case
82]', '[61%]');
+INSERT INTO form VALUES (3000403, 3000000, 8, 'bien d''invest [ case 83 ]',
'[2400%]');
+INSERT INTO form VALUES (3000404, 3000000, 9, 'TVA déductible [ case 59 ]',
'abs([4117]-[411%])');
+INSERT INTO form VALUES (3000405, 3000000, 8, 'TVA non ded -> voiture',
'[610022]*0.21/2');
+INSERT INTO form VALUES (3000406, 3000000, 9, 'Acompte TVA', '[4117]');
--
-- Data for Name: formdef; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY formdef (fr_id, fr_label) FROM stdin;
-3000000 TVA déclaration Belge
-\.
+INSERT INTO formdef VALUES (3000000, 'TVA déclaration Belge');
--
-- Data for Name: groupe_analytique; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY groupe_analytique (ga_id, pa_id, ga_description) FROM stdin;
-\.
--
-- Data for Name: info_def; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY info_def (id_type, id_description) FROM stdin;
-BON_COMMANDE Numero de bon de commande
-OTHER Info diverses
-\.
+INSERT INTO info_def VALUES ('BON_COMMANDE', 'Numero de bon de commande');
+INSERT INTO info_def VALUES ('OTHER', 'Info diverses');
--
-- Data for Name: jnt_fic_attr; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY jnt_fic_attr (fd_id, ad_id, jnt_id, jnt_order) FROM stdin;
-1 2 3 1
-2 12 8 1
-3 3 17 1
-4 12 28 1
-5 2 37 1
-6 2 41 1
-1 6 4 120
-6 6 42 120
-1 7 5 130
-5 7 38 130
-6 7 43 130
-2 14 10 40
-3 14 21 40
-4 14 30 40
-2 16 12 70
-3 16 23 70
-4 16 32 70
-2 17 13 80
-3 17 24 80
-4 17 33 80
-2 18 14 90
-3 18 25 90
-4 18 34 90
-2 23 45 400
-1 23 46 400
-3 23 47 400
-4 23 48 400
-5 23 49 400
-6 23 50 400
-2 24 51 60
-4 24 52 60
-2 15 11 50
-3 15 22 50
-4 15 31 50
-1 5 1 30
-2 5 6 30
-3 5 15 30
-4 5 26 30
-5 5 35 30
-6 5 39 30
-1 1 2 0
-2 1 7 0
-3 1 16 0
-4 1 27 0
-5 1 36 0
-6 1 40 0
-3 4 18 2
-3 12 19 3
-6 19 44 2
-2 13 9 31
-3 13 20 31
-4 13 29 31
-\.
+INSERT INTO jnt_fic_attr VALUES (1, 2, 3, 1);
+INSERT INTO jnt_fic_attr VALUES (2, 12, 8, 1);
+INSERT INTO jnt_fic_attr VALUES (3, 3, 17, 1);
+INSERT INTO jnt_fic_attr VALUES (4, 12, 28, 1);
+INSERT INTO jnt_fic_attr VALUES (5, 2, 37, 1);
+INSERT INTO jnt_fic_attr VALUES (6, 2, 41, 1);
+INSERT INTO jnt_fic_attr VALUES (1, 6, 4, 120);
+INSERT INTO jnt_fic_attr VALUES (6, 6, 42, 120);
+INSERT INTO jnt_fic_attr VALUES (1, 7, 5, 130);
+INSERT INTO jnt_fic_attr VALUES (5, 7, 38, 130);
+INSERT INTO jnt_fic_attr VALUES (6, 7, 43, 130);
+INSERT INTO jnt_fic_attr VALUES (2, 14, 10, 40);
+INSERT INTO jnt_fic_attr VALUES (3, 14, 21, 40);
+INSERT INTO jnt_fic_attr VALUES (4, 14, 30, 40);
+INSERT INTO jnt_fic_attr VALUES (2, 16, 12, 70);
+INSERT INTO jnt_fic_attr VALUES (3, 16, 23, 70);
+INSERT INTO jnt_fic_attr VALUES (4, 16, 32, 70);
+INSERT INTO jnt_fic_attr VALUES (2, 17, 13, 80);
+INSERT INTO jnt_fic_attr VALUES (3, 17, 24, 80);
+INSERT INTO jnt_fic_attr VALUES (4, 17, 33, 80);
+INSERT INTO jnt_fic_attr VALUES (2, 18, 14, 90);
+INSERT INTO jnt_fic_attr VALUES (3, 18, 25, 90);
+INSERT INTO jnt_fic_attr VALUES (4, 18, 34, 90);
+INSERT INTO jnt_fic_attr VALUES (2, 23, 45, 400);
+INSERT INTO jnt_fic_attr VALUES (1, 23, 46, 400);
+INSERT INTO jnt_fic_attr VALUES (3, 23, 47, 400);
+INSERT INTO jnt_fic_attr VALUES (4, 23, 48, 400);
+INSERT INTO jnt_fic_attr VALUES (5, 23, 49, 400);
+INSERT INTO jnt_fic_attr VALUES (6, 23, 50, 400);
+INSERT INTO jnt_fic_attr VALUES (2, 24, 51, 60);
+INSERT INTO jnt_fic_attr VALUES (4, 24, 52, 60);
+INSERT INTO jnt_fic_attr VALUES (2, 15, 11, 50);
+INSERT INTO jnt_fic_attr VALUES (3, 15, 22, 50);
+INSERT INTO jnt_fic_attr VALUES (4, 15, 31, 50);
+INSERT INTO jnt_fic_attr VALUES (1, 5, 1, 30);
+INSERT INTO jnt_fic_attr VALUES (2, 5, 6, 30);
+INSERT INTO jnt_fic_attr VALUES (3, 5, 15, 30);
+INSERT INTO jnt_fic_attr VALUES (4, 5, 26, 30);
+INSERT INTO jnt_fic_attr VALUES (5, 5, 35, 30);
+INSERT INTO jnt_fic_attr VALUES (6, 5, 39, 30);
+INSERT INTO jnt_fic_attr VALUES (1, 1, 2, 0);
+INSERT INTO jnt_fic_attr VALUES (2, 1, 7, 0);
+INSERT INTO jnt_fic_attr VALUES (3, 1, 16, 0);
+INSERT INTO jnt_fic_attr VALUES (4, 1, 27, 0);
+INSERT INTO jnt_fic_attr VALUES (5, 1, 36, 0);
+INSERT INTO jnt_fic_attr VALUES (6, 1, 40, 0);
+INSERT INTO jnt_fic_attr VALUES (3, 4, 18, 2);
+INSERT INTO jnt_fic_attr VALUES (3, 12, 19, 3);
+INSERT INTO jnt_fic_attr VALUES (6, 19, 44, 2);
+INSERT INTO jnt_fic_attr VALUES (2, 13, 9, 31);
+INSERT INTO jnt_fic_attr VALUES (3, 13, 20, 31);
+INSERT INTO jnt_fic_attr VALUES (4, 13, 29, 31);
--
-- Data for Name: jnt_letter; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY jnt_letter (jl_id, jl_amount_deb) FROM stdin;
-\.
--
-- Data for Name: jrn; Type: TABLE DATA; Schema: public; Owner: -
--
-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, jr_valid,
jr_opid, jr_c_opid, jr_pj, jr_pj_name, jr_pj_type, jr_pj_number, jr_mt) FROM
stdin;
-\.
--
-- Data for Name: jrn_action; Type: TABLE DATA; Schema: public; Owner: -
--
-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
-1 Nouvelle Création d'une facture user_jrn.php
action=insert_vente&blank 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
-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
-40 Soldes Voir les soldes des comptes en banques user_jrn.php
action=solde FR FIN
-30 Nouveau \N user_jrn.php action=new&blank FR ODS
-32 Voir Voir toutes les factures user_jrn.php action=voir_jrn
FR ODS
-\.
+INSERT INTO jrn_action VALUES (2, 'Voir', 'Voir toutes les factures',
'user_jrn.php', 'action=voir_jrn', 'FR', 'VEN');
+INSERT INTO jrn_action VALUES (4, 'Voir Impayés', 'Voir toutes les factures
non payées', 'user_jrn.php', 'action=voir_jrn_non_paye', 'FR', 'VEN');
+INSERT INTO jrn_action VALUES (1, 'Nouvelle', 'Création d''une facture',
'user_jrn.php', 'action=insert_vente&blank', 'FR', 'VEN');
+INSERT INTO jrn_action VALUES (10, 'Nouveau', 'Encode un nouvel achat
(matériel, marchandises, services et biens divers)', 'user_jrn.php',
'action=new&blank', 'FR', 'ACH');
+INSERT INTO jrn_action VALUES (12, 'Voir', 'Voir toutes les factures',
'user_jrn.php', 'action=voir_jrn', 'FR', 'ACH');
+INSERT INTO jrn_action VALUES (14, 'Voir Impayés', 'Voir toutes les factures
non payées', 'user_jrn.php', 'action=voir_jrn_non_paye', 'FR', 'ACH');
+INSERT INTO jrn_action VALUES (20, 'Nouveau', 'Encode un nouvel achat
(matériel, marchandises, services et biens divers)', 'user_jrn.php',
'action=new&blank', 'FR', 'FIN');
+INSERT INTO jrn_action VALUES (22, 'Voir', 'Voir toutes les factures',
'user_jrn.php', 'action=voir_jrn', 'FR', 'FIN');
+INSERT INTO jrn_action VALUES (40, 'Soldes', 'Voir les soldes des comptes en
banques', 'user_jrn.php', 'action=solde', 'FR', 'FIN');
+INSERT INTO jrn_action VALUES (30, 'Nouveau', NULL, 'user_jrn.php',
'action=new&blank', 'FR', 'ODS');
+INSERT INTO jrn_action VALUES (32, 'Voir', 'Voir toutes les factures',
'user_jrn.php', 'action=voir_jrn', 'FR', 'ODS');
--
-- Data for Name: jrn_def; Type: TABLE DATA; Schema: public; Owner: -
--
-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, jrn_def_pj_pref,
jrn_def_bank, jrn_def_num_op) FROM stdin;
-4 Opération Diverses \N \N \N \N 5 5
f \N ODS O01 ODS \N \N
-2 Vente 2 6 10 10 t
'echeance' VEN V01 VEN \N \N
-3 Achat 5 4 10 10 t
'echeance' ACH A01 ACH \N \N
-1 Financier 3,2,4,5 3,2,4,5 10 10 t
'echeance' FIN F01 FIN \N \N
-\.
+INSERT INTO jrn_def VALUES (4, 'Opération Diverses', NULL, NULL, NULL, NULL,
5, 5, false, NULL, 'ODS', 'O01', 'ODS', NULL, NULL);
+INSERT INTO jrn_def VALUES (2, 'Vente', '', '', '2', '6', 10, 10, true,
'''echeance''', 'VEN', 'V01', 'VEN', NULL, NULL);
+INSERT INTO jrn_def VALUES (3, 'Achat', '', '', '5', '4', 10, 10, true,
'''echeance''', 'ACH', 'A01', 'ACH', NULL, NULL);
+INSERT INTO jrn_def VALUES (1, 'Financier', '', '', '3,2,4,5', '3,2,4,5', 10,
10, true, '''echeance''', 'FIN', 'F01', 'FIN', NULL, NULL);
--
-- Data for Name: jrn_info; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY jrn_info (ji_id, jr_id, id_type, ji_value) FROM stdin;
-\.
--
-- Data for Name: jrn_note; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY jrn_note (n_id, n_text, jr_id) FROM stdin;
-\.
--
-- Data for Name: jrn_periode; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY jrn_periode (jrn_def_id, p_id, status) FROM stdin;
-4 105 OP
-2 105 OP
-3 105 OP
-1 105 OP
-4 106 OP
-2 106 OP
-3 106 OP
-1 106 OP
-4 107 OP
-2 107 OP
-3 107 OP
-1 107 OP
-4 108 OP
-2 108 OP
-3 108 OP
-1 108 OP
-4 109 OP
-2 109 OP
-3 109 OP
-1 109 OP
-4 110 OP
-2 110 OP
-3 110 OP
-1 110 OP
-4 111 OP
-2 111 OP
-3 111 OP
-1 111 OP
-4 112 OP
-2 112 OP
-3 112 OP
-1 112 OP
-4 113 OP
-2 113 OP
-3 113 OP
-1 113 OP
-4 114 OP
-2 114 OP
-3 114 OP
-1 114 OP
-4 115 OP
-2 115 OP
-3 115 OP
-1 115 OP
-4 116 OP
-2 116 OP
-3 116 OP
-1 116 OP
-4 117 OP
-2 117 OP
-3 117 OP
-1 117 OP
-\.
+INSERT INTO jrn_periode VALUES (4, 105, 'OP');
+INSERT INTO jrn_periode VALUES (2, 105, 'OP');
+INSERT INTO jrn_periode VALUES (3, 105, 'OP');
+INSERT INTO jrn_periode VALUES (1, 105, 'OP');
+INSERT INTO jrn_periode VALUES (4, 106, 'OP');
+INSERT INTO jrn_periode VALUES (2, 106, 'OP');
+INSERT INTO jrn_periode VALUES (3, 106, 'OP');
+INSERT INTO jrn_periode VALUES (1, 106, 'OP');
+INSERT INTO jrn_periode VALUES (4, 107, 'OP');
+INSERT INTO jrn_periode VALUES (2, 107, 'OP');
+INSERT INTO jrn_periode VALUES (3, 107, 'OP');
+INSERT INTO jrn_periode VALUES (1, 107, 'OP');
+INSERT INTO jrn_periode VALUES (4, 108, 'OP');
+INSERT INTO jrn_periode VALUES (2, 108, 'OP');
+INSERT INTO jrn_periode VALUES (3, 108, 'OP');
+INSERT INTO jrn_periode VALUES (1, 108, 'OP');
+INSERT INTO jrn_periode VALUES (4, 109, 'OP');
+INSERT INTO jrn_periode VALUES (2, 109, 'OP');
+INSERT INTO jrn_periode VALUES (3, 109, 'OP');
+INSERT INTO jrn_periode VALUES (1, 109, 'OP');
+INSERT INTO jrn_periode VALUES (4, 110, 'OP');
+INSERT INTO jrn_periode VALUES (2, 110, 'OP');
+INSERT INTO jrn_periode VALUES (3, 110, 'OP');
+INSERT INTO jrn_periode VALUES (1, 110, 'OP');
+INSERT INTO jrn_periode VALUES (4, 111, 'OP');
+INSERT INTO jrn_periode VALUES (2, 111, 'OP');
+INSERT INTO jrn_periode VALUES (3, 111, 'OP');
+INSERT INTO jrn_periode VALUES (1, 111, 'OP');
+INSERT INTO jrn_periode VALUES (4, 112, 'OP');
+INSERT INTO jrn_periode VALUES (2, 112, 'OP');
+INSERT INTO jrn_periode VALUES (3, 112, 'OP');
+INSERT INTO jrn_periode VALUES (1, 112, 'OP');
+INSERT INTO jrn_periode VALUES (4, 113, 'OP');
+INSERT INTO jrn_periode VALUES (2, 113, 'OP');
+INSERT INTO jrn_periode VALUES (3, 113, 'OP');
+INSERT INTO jrn_periode VALUES (1, 113, 'OP');
+INSERT INTO jrn_periode VALUES (4, 114, 'OP');
+INSERT INTO jrn_periode VALUES (2, 114, 'OP');
+INSERT INTO jrn_periode VALUES (3, 114, 'OP');
+INSERT INTO jrn_periode VALUES (1, 114, 'OP');
+INSERT INTO jrn_periode VALUES (4, 115, 'OP');
+INSERT INTO jrn_periode VALUES (2, 115, 'OP');
+INSERT INTO jrn_periode VALUES (3, 115, 'OP');
+INSERT INTO jrn_periode VALUES (1, 115, 'OP');
+INSERT INTO jrn_periode VALUES (4, 116, 'OP');
+INSERT INTO jrn_periode VALUES (2, 116, 'OP');
+INSERT INTO jrn_periode VALUES (3, 116, 'OP');
+INSERT INTO jrn_periode VALUES (1, 116, 'OP');
+INSERT INTO jrn_periode VALUES (4, 117, 'OP');
+INSERT INTO jrn_periode VALUES (2, 117, 'OP');
+INSERT INTO jrn_periode VALUES (3, 117, 'OP');
+INSERT INTO jrn_periode VALUES (1, 117, 'OP');
--
-- Data for Name: jrn_rapt; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY jrn_rapt (jra_id, jr_id, jra_concerned) FROM stdin;
-\.
--
-- Data for Name: jrn_type; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY jrn_type (jrn_type_id, jrn_desc) FROM stdin;
-VEN Vente
-ACH Achat
-ODS Opérations Diverses
-FIN Banque
-\.
+INSERT INTO jrn_type VALUES ('VEN', 'Vente');
+INSERT INTO jrn_type VALUES ('ACH', 'Achat');
+INSERT INTO jrn_type VALUES ('ODS', 'Opérations Diverses');
+INSERT INTO jrn_type VALUES ('FIN', 'Banque');
--
-- Data for Name: jrnx; Type: TABLE DATA; Schema: public; Owner: -
--
-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, j_qcode, f_id) FROM stdin;
-\.
--
-- Data for Name: letter_cred; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY letter_cred (lc_id, j_id, jl_id) FROM stdin;
-\.
--
-- Data for Name: letter_deb; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY letter_deb (ld_id, j_id, jl_id) FROM stdin;
-\.
--
-- Data for Name: menu_ref; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY menu_ref (me_code, me_menu, me_file, me_url, me_description,
me_parameter, me_javascript, me_type) FROM stdin;
-ACH Achat compta_ach.inc.php \N Nouvel achat ou dépense \N
\N ME
-ANCHOP Historique anc_history.inc.php \N Historique des
imputations analytiques \N \N ME
-ANCGL Grand'Livre anc_great_ledger.inc.php \N Grand livre
d'plan analytique \N \N ME
-ANCBS Balance simple anc_balance_simple.inc.php \N Balance simple
des imputations analytiques \N \N ME
-ANCBC2 Balance croisée double anc_balance_double.inc.php \N Balance
double croisées des imputations analytiques \N \N ME
-ANCTAB Tableau anc_acc_table.inc.php \N Tableau lié à la comptabilité
\N \N ME
-ANCBCC Balance Analytique/comptabilité anc_acc_balance.inc.php \N Lien
entre comptabilité et Comptabilité analytique \N \N ME
-ANCGR Groupe anc_group_balance.inc.php \N Balance par groupe
\N \N ME
-CSV:AncGrandLivre Impression Grand-Livre \N \N \N \N
\N PR
-CSV:AncBalGroup Export Balance groupe analytique \N \N
\N \N \N PR
-OTH:Bilan Export Bilan \N \N \N \N \N PR
-PDF:ledger Export Journaux \N \N \N \N \N PR
-CSV:postedetail Export Poste détail \N \N \N \N
\N PR
-PDF:postedetail Export Poste détail \N \N \N \N
\N PR
-CSV:fichedetail Export Fiche détail \N \N \N \N
\N PR
-SEARCH Recherche \N \N Recherche \N
popup_recherche() ME
-DIVPARM Divers \N \N Paramètres divers \N \N
ME
-CFGTVA TVA tva.inc.php \N Config. de la tva \N \N
ME
-CARD Fiche fiche.inc.php \N Fiche \N \N ME
-STOCK Stock stock.inc.php \N Stock \N \N ME
-MOD Menu et profile \N \N Menu \N \N ME
-CFGPRO Profile profile.inc.php \N Configuration profile \N \N
ME
-CFGPAY Moyen de paiement payment_middle.inc.php \N Config. des
méthodes de paiement \N \N ME
-CFGACC Poste poste.inc.php \N Config. poste comptable de base \N
\N ME
-VEN Vente compta_ven.inc.php \N Nouvelle vente ou recette
\N \N ME
-CFGMENU Config. Menu menu.inc.php \N Configuration des menus
et plugins \N \N ME
-COMPANY Sociétés company.inc.php \N Parametre societe
\N \N ME
-PERIODE Période periode.inc.php \N Gestion des périodes \N
\N ME
-PDF:fichedetail Export Fiche détail \N \N \N \N
\N PR
-CSV:fiche_balance Export Fiche balance \N \N \N \N
\N PR
-PDF:fiche_balance Export Fiche balance \N \N \N \N
\N PR
-CSV:report Export report \N \N \N \N \N PR
-PDF:report Export report \N \N \N \N \N PR
-CSV:fiche Export Fiche \N \N \N \N \N PR
-PDF:fiche Export Fiche \N \N \N \N \N PR
-CSV:glcompte Export Grand Livre \N \N \N \N \N
PR
-PDF:glcompte Export Grand Livre \N \N \N \N \N
PR
-PDF:sec Export Sécurité \N \N \N \N \N PR
-CSV:AncList Export Comptabilité analytique \N \N \N \N
\N PR
-CSV:AncBalSimple Export Comptabilité analytique balance simple \N
\N \N \N \N PR
-PDF:AncBalSimple Export Comptabilité analytique \N \N \N
\N \N PR
-CSV:AncBalDouble Export Comptabilité analytique balance double \N
\N \N \N \N PR
-PDF:AncBalDouble Export Comptabilité analytique balance double \N
\N \N \N \N PR
-CSV:balance Export Balance comptable \N \N \N \N
\N PR
-PDF:balance Export Balance comptable \N \N \N \N
\N PR
-CSV:histo Export Historique \N \N \N \N \N
PR
-CSV:ledger Export Journaux \N \N \N \N \N PR
-CSV:AncTable Export Tableau Analytique \N \N \N \N
\N PR
-CSV:AncAccList Export Historique Compt. Analytique \N \N \N
\N \N PR
-SUPPL Fournisseur supplier.inc.php \N Suivi fournisseur
\N \N ME
-LET Lettrage \N \N Lettrage \N \N ME
-ANCODS Opérations diverses anc_od.inc.php \N OD analytique \N
\N ME
-VERIFBIL Vérification verif_bilan.inc.php \N Vérification de
la comptabilité \N \N ME
-REPORT Création de rapport report.inc.php \N Création de rapport
\N \N ME
-OPEN Ecriture Ouverture opening.inc.php \N Ecriture d'ouverture
\N \N ME
-ACHIMP Historique achat history_operation.inc.php \N
Historique achat ledger_type=ACH \N ME
-FOLLOW Courrier action.inc.php \N Suivi, courrier, devis \N
\N ME
-FORECAST Prévision forecast.inc.php \N Prévision
\N \N ME
-EXT Extension extension_choice.inc.php \N Extensions
(plugins) \N \N ME
-CFGDOC Document document_modele.inc.php \N Config. modèle de
document \N \N ME
-CFGLED journaux cfgledger.inc.php \N Configuration des
journaux \N \N ME
-PREDOP Ecriture prédefinie preod.inc.php \N Gestion des opérations
prédéfinifies \N \N ME
-ADV Avancé \N \N Menu avancé \N \N ME
-ANC Compta Analytique \N \N Module comptabilité analytique
\N \N ME
-CFGSEC Sécurité param_sec.inc.php \N configuration de la
sécurité \N \N ME
-PLANANC Plan Compt. analytique anc_pa.inc.php \N Plan analytique
\N \N ME
-ANCGROUP Groupe anc_group.inc.php \N Groupe analytique
\N \N ME
-ODSIMP Historique opérations diverses history_operation.inc.php \N
Historique opérations diverses ledger_type=ODS \N ME
-VENMENU Vente / Recette \N \N Menu ventes et recettes \N
\N ME
-PREFERENCE Préférence pref.inc.php \N Préférence \N
\N ME
-HIST Historique history_operation.inc.php \N Historique
ledger_type=ALL \N ME
-MENUFIN Financier \N \N Menu Financier \N \N
ME
-FIMP Historique financier history_operation.inc.php \N
Historique financier ledger_type=FIN \N ME
-MENUACH Achat \N \N Menu achat \N \N ME
-MENUODS Opérations diverses \N \N Menu opérations
diverses \N \N ME
-ODS Opérations Diverses compta_ods.inc.php \N Nouvelle
opérations diverses \N \N ME
-FREC Rapprochement compta_fin_rec.inc.php \N Rapprochement bancaire
\N \N ME
-ADM Administration adm.inc.php \N Suivi administration, banque
\N \N ME
-FIN Nouvel extrait compta_fin.inc.php \N Nouvel extrait bancaire
\N \N ME
-CFGATCARD Attribut de fiche card_attr.inc.php \N Gestion
des modèles de fiches \N \N ME
-FSALDO Soldes compta_fin_saldo.inc.php \N Solde des comptes en
banques, caisse... \N \N ME
-JSSEARCH Recherche \N \N Recherche \N
search_reconcile() ME
-LETACC Lettrage par Poste lettering.account.inc.php \N
lettrage par poste comptable \N \N ME
-CARDBAL Balance balance_card.inc.php \N Balance par catégorie
de fiche \N \N ME
-CUST Client client.inc.php \N Suivi client \N \N ME
-CFGCARDCAT Catégorie de fiche fiche_def.inc.php \N Gestion
catégorie de fiche \N \N ME
-CFGCATDOC Catégorie de documents cat_document.inc.php \N Config.
catégorie de documents \N \N ME
-VENIMP Historique vente history_operation.inc.php \N
Historique des ventes ledger_type=VEN \N ME
-LETCARD Lettrage par Fiche lettering.card.inc.php \N
Lettrage par fiche \N \N ME
-CFGPCMN Plan Comptable param_pcmn.inc.php \N Config. du plan
comptable \N \N ME
-LOGOUT Sortie \N logout.php Sortie \N \N ME
-DASHBOARD Tableau de bord dashboard.inc.php \N Tableau de bord
\N \N ME
-COMPTA Comptabilité \N \N Module comptabilité \N \N
ME
-GESTION Gestion \N \N Module gestion \N \N ME
-PARAM Paramètre \N \N Module paramètre \N \N
ME
-PRINTJRN Historique impress_jrn.inc.php \N Impression
historique \N \N ME
-PRINTREC Rapprochement impress_rec.inc.php \N Impression des
rapprochements \N \N ME
-PRINTPOSTE Poste impress_poste.inc.php \N Impression du détail
d'un poste comptable \N \N ME
-PRINTREPORT Rapport impress_rapport.inc.php \N Impression de rapport
\N \N ME
-PRINTBILAN Bilan impress_bilan.inc.php \N Impression de bilan
\N \N ME
-PRINTGL Grand Livre impress_gl_comptes.inc.php \N
Impression du grand livre \N \N ME
-PRINTBAL Balance balance.inc.php \N Impression des balances
comptables \N \N ME
-PRINTCARD Catégorie de Fiches impress_fiche.inc.php \N
Impression catégorie de fiches \N \N ME
-PRINT Impression \N \N Menu impression \N \N ME
-ACCESS Accueil \N user_login.php Accueil \N \N ME
-ANCIMP Impression \N \N Impression compta. analytique \N
\N ME
-new_line saut de ligne \N \N Saut de ligne \N \N
SP
-\.
+INSERT INTO menu_ref VALUES ('ACH', 'Achat', 'compta_ach.inc.php', NULL,
'Nouvel achat ou dépense', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('ANCHOP', 'Historique', 'anc_history.inc.php',
NULL, 'Historique des imputations analytiques', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('ANCGL', 'Grand''Livre',
'anc_great_ledger.inc.php', NULL, 'Grand livre d''plan analytique', NULL, NULL,
'ME');
+INSERT INTO menu_ref VALUES ('ANCBS', 'Balance simple',
'anc_balance_simple.inc.php', NULL, 'Balance simple des imputations
analytiques', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('ANCBC2', 'Balance croisée double',
'anc_balance_double.inc.php', NULL, 'Balance double croisées des imputations
analytiques', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('ANCTAB', 'Tableau', 'anc_acc_table.inc.php',
NULL, 'Tableau lié à la comptabilité', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('ANCBCC', 'Balance Analytique/comptabilité',
'anc_acc_balance.inc.php', NULL, 'Lien entre comptabilité et Comptabilité
analytique', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('ANCGR', 'Groupe', 'anc_group_balance.inc.php',
NULL, 'Balance par groupe', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('CSV:AncGrandLivre', 'Impression Grand-Livre',
NULL, NULL, NULL, NULL, NULL, 'PR');
+INSERT INTO menu_ref VALUES ('CSV:AncBalGroup', 'Export Balance groupe
analytique', NULL, NULL, NULL, NULL, NULL, 'PR');
+INSERT INTO menu_ref VALUES ('OTH:Bilan', 'Export Bilan', NULL, NULL, NULL,
NULL, NULL, 'PR');
+INSERT INTO menu_ref VALUES ('PDF:ledger', 'Export Journaux', NULL, NULL,
NULL, NULL, NULL, 'PR');
+INSERT INTO menu_ref VALUES ('CSV:postedetail', 'Export Poste détail', NULL,
NULL, NULL, NULL, NULL, 'PR');
+INSERT INTO menu_ref VALUES ('PDF:postedetail', 'Export Poste détail', NULL,
NULL, NULL, NULL, NULL, 'PR');
+INSERT INTO menu_ref VALUES ('CSV:fichedetail', 'Export Fiche détail', NULL,
NULL, NULL, NULL, NULL, 'PR');
+INSERT INTO menu_ref VALUES ('SEARCH', 'Recherche', NULL, NULL, 'Recherche',
NULL, 'popup_recherche()', 'ME');
+INSERT INTO menu_ref VALUES ('DIVPARM', 'Divers', NULL, NULL, 'Paramètres
divers', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('CFGTVA', 'TVA', 'tva.inc.php', NULL, 'Config. de
la tva', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('CARD', 'Fiche', 'fiche.inc.php', NULL, 'Fiche',
NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('STOCK', 'Stock', 'stock.inc.php', NULL, 'Stock',
NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('MOD', 'Menu et profile', NULL, NULL, 'Menu ',
NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('CFGPRO', 'Profile', 'profile.inc.php', NULL,
'Configuration profile', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('CFGPAY', 'Moyen de paiement',
'payment_middle.inc.php', NULL, 'Config. des méthodes de paiement', NULL, NULL,
'ME');
+INSERT INTO menu_ref VALUES ('CFGACC', 'Poste', 'poste.inc.php', NULL,
'Config. poste comptable de base', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('VEN', 'Vente', 'compta_ven.inc.php', NULL,
'Nouvelle vente ou recette', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('CFGMENU', 'Config. Menu', 'menu.inc.php', NULL,
'Configuration des menus et plugins', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('COMPANY', 'Sociétés', 'company.inc.php', NULL,
'Parametre societe', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('PERIODE', 'Période', 'periode.inc.php', NULL,
'Gestion des périodes', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('PDF:fichedetail', 'Export Fiche détail', NULL,
NULL, NULL, NULL, NULL, 'PR');
+INSERT INTO menu_ref VALUES ('CSV:fiche_balance', 'Export Fiche balance',
NULL, NULL, NULL, NULL, NULL, 'PR');
+INSERT INTO menu_ref VALUES ('PDF:fiche_balance', 'Export Fiche balance',
NULL, NULL, NULL, NULL, NULL, 'PR');
+INSERT INTO menu_ref VALUES ('CSV:report', 'Export report', NULL, NULL, NULL,
NULL, NULL, 'PR');
+INSERT INTO menu_ref VALUES ('PDF:report', 'Export report', NULL, NULL, NULL,
NULL, NULL, 'PR');
+INSERT INTO menu_ref VALUES ('CSV:fiche', 'Export Fiche', NULL, NULL, NULL,
NULL, NULL, 'PR');
+INSERT INTO menu_ref VALUES ('PDF:fiche', 'Export Fiche', NULL, NULL, NULL,
NULL, NULL, 'PR');
+INSERT INTO menu_ref VALUES ('CSV:glcompte', 'Export Grand Livre', NULL, NULL,
NULL, NULL, NULL, 'PR');
+INSERT INTO menu_ref VALUES ('PDF:glcompte', 'Export Grand Livre', NULL, NULL,
NULL, NULL, NULL, 'PR');
+INSERT INTO menu_ref VALUES ('PDF:sec', 'Export Sécurité', NULL, NULL, NULL,
NULL, NULL, 'PR');
+INSERT INTO menu_ref VALUES ('CSV:AncList', 'Export Comptabilité analytique',
NULL, NULL, NULL, NULL, NULL, 'PR');
+INSERT INTO menu_ref VALUES ('CSV:AncBalSimple', 'Export Comptabilité
analytique balance simple', NULL, NULL, NULL, NULL, NULL, 'PR');
+INSERT INTO menu_ref VALUES ('PDF:AncBalSimple', 'Export Comptabilité
analytique', NULL, NULL, NULL, NULL, NULL, 'PR');
+INSERT INTO menu_ref VALUES ('CSV:AncBalDouble', 'Export Comptabilité
analytique balance double', NULL, NULL, NULL, NULL, NULL, 'PR');
+INSERT INTO menu_ref VALUES ('PDF:AncBalDouble', 'Export Comptabilité
analytique balance double', NULL, NULL, NULL, NULL, NULL, 'PR');
+INSERT INTO menu_ref VALUES ('CSV:balance', 'Export Balance comptable', NULL,
NULL, NULL, NULL, NULL, 'PR');
+INSERT INTO menu_ref VALUES ('PDF:balance', 'Export Balance comptable', NULL,
NULL, NULL, NULL, NULL, 'PR');
+INSERT INTO menu_ref VALUES ('CSV:histo', 'Export Historique', NULL, NULL,
NULL, NULL, NULL, 'PR');
+INSERT INTO menu_ref VALUES ('CSV:ledger', 'Export Journaux', NULL, NULL,
NULL, NULL, NULL, 'PR');
+INSERT INTO menu_ref VALUES ('CSV:AncTable', 'Export Tableau Analytique',
NULL, NULL, NULL, NULL, NULL, 'PR');
+INSERT INTO menu_ref VALUES ('CSV:AncAccList', 'Export Historique Compt.
Analytique', NULL, NULL, NULL, NULL, NULL, 'PR');
+INSERT INTO menu_ref VALUES ('SUPPL', 'Fournisseur', 'supplier.inc.php', NULL,
'Suivi fournisseur', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('LET', 'Lettrage', NULL, NULL, 'Lettrage', NULL,
NULL, 'ME');
+INSERT INTO menu_ref VALUES ('ANCODS', 'Opérations diverses',
'anc_od.inc.php', NULL, 'OD analytique', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('VERIFBIL', 'Vérification ',
'verif_bilan.inc.php', NULL, 'Vérification de la comptabilité', NULL, NULL,
'ME');
+INSERT INTO menu_ref VALUES ('REPORT', 'Création de rapport',
'report.inc.php', NULL, 'Création de rapport', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('OPEN', 'Ecriture Ouverture', 'opening.inc.php',
NULL, 'Ecriture d''ouverture', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('ACHIMP', 'Historique achat',
'history_operation.inc.php', NULL, 'Historique achat', 'ledger_type=ACH', NULL,
'ME');
+INSERT INTO menu_ref VALUES ('FOLLOW', 'Courrier', 'action.inc.php', NULL,
'Suivi, courrier, devis', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('FORECAST', 'Prévision', 'forecast.inc.php',
NULL, 'Prévision', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('EXT', 'Extension', 'extension_choice.inc.php',
NULL, 'Extensions (plugins)', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('CFGDOC', 'Document', 'document_modele.inc.php',
NULL, 'Config. modèle de document', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('CFGLED', 'journaux', 'cfgledger.inc.php', NULL,
'Configuration des journaux', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('PREDOP', 'Ecriture prédefinie', 'preod.inc.php',
NULL, 'Gestion des opérations prédéfinifies', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('ADV', 'Avancé', NULL, NULL, 'Menu avancé', NULL,
NULL, 'ME');
+INSERT INTO menu_ref VALUES ('ANC', 'Compta Analytique', NULL, NULL, 'Module
comptabilité analytique', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('CFGSEC', 'Sécurité', 'param_sec.inc.php', NULL,
'configuration de la sécurité', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('PLANANC', 'Plan Compt. analytique',
'anc_pa.inc.php', NULL, 'Plan analytique', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('ANCGROUP', 'Groupe', 'anc_group.inc.php', NULL,
'Groupe analytique', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('ODSIMP', 'Historique opérations diverses',
'history_operation.inc.php', NULL, 'Historique opérations diverses',
'ledger_type=ODS', NULL, 'ME');
+INSERT INTO menu_ref VALUES ('VENMENU', 'Vente / Recette', NULL, NULL, 'Menu
ventes et recettes', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('PREFERENCE', 'Préférence', 'pref.inc.php', NULL,
'Préférence', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('HIST', 'Historique',
'history_operation.inc.php', NULL, 'Historique', 'ledger_type=ALL', NULL, 'ME');
+INSERT INTO menu_ref VALUES ('MENUFIN', 'Financier', NULL, NULL, 'Menu
Financier', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('FIMP', 'Historique financier',
'history_operation.inc.php', NULL, 'Historique financier', 'ledger_type=FIN',
NULL, 'ME');
+INSERT INTO menu_ref VALUES ('MENUACH', 'Achat', NULL, NULL, 'Menu achat',
NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('MENUODS', 'Opérations diverses', NULL, NULL,
'Menu opérations diverses', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('ODS', 'Opérations Diverses',
'compta_ods.inc.php', NULL, 'Nouvelle opérations diverses', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('FREC', 'Rapprochement',
'compta_fin_rec.inc.php', NULL, 'Rapprochement bancaire', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('ADM', 'Administration', 'adm.inc.php', NULL,
'Suivi administration, banque', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('FIN', 'Nouvel extrait', 'compta_fin.inc.php',
NULL, 'Nouvel extrait bancaire', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('CFGATCARD', 'Attribut de fiche',
'card_attr.inc.php', NULL, 'Gestion des modèles de fiches', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('FSALDO', 'Soldes', 'compta_fin_saldo.inc.php',
NULL, 'Solde des comptes en banques, caisse...', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('JSSEARCH', 'Recherche', NULL, NULL, 'Recherche',
NULL, 'search_reconcile()', 'ME');
+INSERT INTO menu_ref VALUES ('LETACC', 'Lettrage par Poste',
'lettering.account.inc.php', NULL, 'lettrage par poste comptable', NULL, NULL,
'ME');
+INSERT INTO menu_ref VALUES ('CARDBAL', 'Balance', 'balance_card.inc.php',
NULL, 'Balance par catégorie de fiche', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('CUST', 'Client', 'client.inc.php', NULL, 'Suivi
client', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('CFGCARDCAT', 'Catégorie de fiche',
'fiche_def.inc.php', NULL, 'Gestion catégorie de fiche', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('CFGCATDOC', 'Catégorie de documents',
'cat_document.inc.php', NULL, 'Config. catégorie de documents', NULL, NULL,
'ME');
+INSERT INTO menu_ref VALUES ('VENIMP', 'Historique vente',
'history_operation.inc.php', NULL, 'Historique des ventes', 'ledger_type=VEN',
NULL, 'ME');
+INSERT INTO menu_ref VALUES ('LETCARD', 'Lettrage par Fiche',
'lettering.card.inc.php', NULL, 'Lettrage par fiche', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('CFGPCMN', 'Plan Comptable',
'param_pcmn.inc.php', NULL, 'Config. du plan comptable', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('LOGOUT', 'Sortie', NULL, 'logout.php', 'Sortie',
NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('DASHBOARD', 'Tableau de bord',
'dashboard.inc.php', NULL, 'Tableau de bord', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('COMPTA', 'Comptabilité', NULL, NULL, 'Module
comptabilité', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('GESTION', 'Gestion', NULL, NULL, 'Module
gestion', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('PARAM', 'Paramètre', NULL, NULL, 'Module
paramètre', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('PRINTJRN', 'Historique', 'impress_jrn.inc.php',
NULL, 'Impression historique', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('PRINTREC', 'Rapprochement',
'impress_rec.inc.php', NULL, 'Impression des rapprochements', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('PRINTPOSTE', 'Poste', 'impress_poste.inc.php',
NULL, 'Impression du détail d''un poste comptable', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('PRINTREPORT', 'Rapport',
'impress_rapport.inc.php', NULL, 'Impression de rapport', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('PRINTBILAN', 'Bilan', 'impress_bilan.inc.php',
NULL, 'Impression de bilan', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('PRINTGL', 'Grand Livre',
'impress_gl_comptes.inc.php', NULL, 'Impression du grand livre', NULL, NULL,
'ME');
+INSERT INTO menu_ref VALUES ('PRINTBAL', 'Balance', 'balance.inc.php', NULL,
'Impression des balances comptables', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('PRINTCARD', 'Catégorie de Fiches',
'impress_fiche.inc.php', NULL, 'Impression catégorie de fiches', NULL, NULL,
'ME');
+INSERT INTO menu_ref VALUES ('PRINT', 'Impression', NULL, NULL, 'Menu
impression', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('ACCESS', 'Accueil', NULL, 'user_login.php',
'Accueil', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('ANCIMP', 'Impression', NULL, NULL, 'Impression
compta. analytique', NULL, NULL, 'ME');
+INSERT INTO menu_ref VALUES ('new_line', 'saut de ligne', NULL, NULL, 'Saut de
ligne', NULL, NULL, 'SP');
--
-- Data for Name: mod_payment; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY mod_payment (mp_id, mp_lib, mp_jrn_def_id, mp_fd_id, mp_qcode,
jrn_def_id) FROM stdin;
-2 Caisse 1 \N \N 2
-1 Paiement électronique 1 \N \N 2
-4 Caisse 1 \N \N 3
-3 Par gérant ou administrateur 2 \N \N 3
-\.
+INSERT INTO mod_payment VALUES (2, 'Caisse', 1, NULL, NULL, 2);
+INSERT INTO mod_payment VALUES (1, 'Paiement électronique', 1, NULL, NULL, 2);
+INSERT INTO mod_payment VALUES (4, 'Caisse', 1, NULL, NULL, 3);
+INSERT INTO mod_payment VALUES (3, 'Par gérant ou administrateur', 2, NULL,
NULL, 3);
--
-- Data for Name: op_predef; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY op_predef (od_id, jrn_def_id, od_name, od_item, od_jrn_type, od_direct)
FROM stdin;
-\.
--
-- Data for Name: op_predef_detail; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY op_predef_detail (opd_id, od_id, opd_poste, opd_amount, opd_tva_id,
opd_quantity, opd_debit, opd_tva_amount, opd_comment, opd_qc) FROM stdin;
-\.
--
-- Data for Name: operation_analytique; Type: TABLE DATA; Schema: public;
Owner: -
--
-COPY operation_analytique (oa_id, po_id, oa_amount, oa_description, oa_debit,
j_id, oa_group, oa_date, oa_row) FROM stdin;
-\.
--
-- Data for Name: parameter; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY parameter (pr_id, pr_value) FROM stdin;
-MY_NAME LaMule
-MY_TVA FR33 123 456 789
-MY_STREET
-MY_NUMBER
-MY_CP
-MY_TEL
-MY_PAYS
-MY_COMMUNE
-MY_FAX
-MY_ANALYTIC nu
-MY_COUNTRY FR
-MY_STRICT Y
-MY_TVA_USE Y
-MY_PJ_SUGGEST Y
-MY_DATE_SUGGEST Y
-MY_ALPHANUM N
-MY_CHECK_PERIODE N
-\.
+INSERT INTO parameter VALUES ('MY_NAME', 'LaMule');
+INSERT INTO parameter VALUES ('MY_TVA', 'FR33 123 456 789');
+INSERT INTO parameter VALUES ('MY_STREET', '');
+INSERT INTO parameter VALUES ('MY_NUMBER', '');
+INSERT INTO parameter VALUES ('MY_CP', '');
+INSERT INTO parameter VALUES ('MY_TEL', '');
+INSERT INTO parameter VALUES ('MY_PAYS', '');
+INSERT INTO parameter VALUES ('MY_COMMUNE', '');
+INSERT INTO parameter VALUES ('MY_FAX', '');
+INSERT INTO parameter VALUES ('MY_ANALYTIC', 'nu');
+INSERT INTO parameter VALUES ('MY_COUNTRY', 'FR');
+INSERT INTO parameter VALUES ('MY_STRICT', 'Y');
+INSERT INTO parameter VALUES ('MY_TVA_USE', 'Y');
+INSERT INTO parameter VALUES ('MY_PJ_SUGGEST', 'Y');
+INSERT INTO parameter VALUES ('MY_DATE_SUGGEST', 'Y');
+INSERT INTO parameter VALUES ('MY_ALPHANUM', 'N');
+INSERT INTO parameter VALUES ('MY_CHECK_PERIODE', 'N');
--
-- Data for Name: parm_code; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY parm_code (p_code, p_value, p_comment) FROM stdin;
-BANQUE 51 Poste comptable par défaut pour les banques
-CAISSE 53 Poste comptable par défaut pour les caisses
-CUSTOMER 410 Poste comptable par défaut pour les clients
-VENTE 707 Poste comptable par défaut pour les ventes
-VIREMENT_INTERNE 58 Poste comptable par défaut pour les virements
internes
-DEP_PRIV 4890 Depense a charge du gerant
-SUPPLIER 400 Poste par défaut pour les fournisseurs
-\.
+INSERT INTO parm_code VALUES ('BANQUE', '51', 'Poste comptable par défaut pour
les banques');
+INSERT INTO parm_code VALUES ('CAISSE', '53', 'Poste comptable par défaut pour
les caisses');
+INSERT INTO parm_code VALUES ('CUSTOMER', '410', 'Poste comptable par défaut
pour les clients');
+INSERT INTO parm_code VALUES ('VENTE', '707', 'Poste comptable par défaut pour
les ventes');
+INSERT INTO parm_code VALUES ('VIREMENT_INTERNE', '58', 'Poste comptable par
défaut pour les virements internes');
+INSERT INTO parm_code VALUES ('DEP_PRIV', '4890', 'Depense a charge du
gerant');
+INSERT INTO parm_code VALUES ('SUPPLIER', '400', 'Poste par défaut pour les
fournisseurs');
--
-- Data for Name: parm_money; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY parm_money (pm_id, pm_code, pm_rate) FROM stdin;
-1 EUR 1.0000
-\.
+INSERT INTO parm_money VALUES (1, 'EUR', 1.0000);
--
-- Data for Name: parm_periode; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY parm_periode (p_id, p_start, p_end, p_exercice, p_closed, p_central) FROM
stdin;
-105 2009-01-01 2009-01-31 2009 f f
-106 2009-02-01 2009-02-28 2009 f f
-107 2009-03-01 2009-03-31 2009 f f
-108 2009-04-01 2009-04-30 2009 f f
-109 2009-05-01 2009-05-31 2009 f f
-110 2009-06-01 2009-06-30 2009 f f
-111 2009-07-01 2009-07-31 2009 f f
-112 2009-08-01 2009-08-31 2009 f f
-113 2009-09-01 2009-09-30 2009 f f
-114 2009-10-01 2009-10-31 2009 f f
-115 2009-11-01 2009-11-30 2009 f f
-116 2009-12-01 2009-12-30 2009 f f
-117 2009-12-31 2009-12-31 2009 f f
-\.
+INSERT INTO parm_periode VALUES (105, '2009-01-01', '2009-01-31', '2009',
false, false);
+INSERT INTO parm_periode VALUES (106, '2009-02-01', '2009-02-28', '2009',
false, false);
+INSERT INTO parm_periode VALUES (107, '2009-03-01', '2009-03-31', '2009',
false, false);
+INSERT INTO parm_periode VALUES (108, '2009-04-01', '2009-04-30', '2009',
false, false);
+INSERT INTO parm_periode VALUES (109, '2009-05-01', '2009-05-31', '2009',
false, false);
+INSERT INTO parm_periode VALUES (110, '2009-06-01', '2009-06-30', '2009',
false, false);
+INSERT INTO parm_periode VALUES (111, '2009-07-01', '2009-07-31', '2009',
false, false);
+INSERT INTO parm_periode VALUES (112, '2009-08-01', '2009-08-31', '2009',
false, false);
+INSERT INTO parm_periode VALUES (113, '2009-09-01', '2009-09-30', '2009',
false, false);
+INSERT INTO parm_periode VALUES (114, '2009-10-01', '2009-10-31', '2009',
false, false);
+INSERT INTO parm_periode VALUES (115, '2009-11-01', '2009-11-30', '2009',
false, false);
+INSERT INTO parm_periode VALUES (116, '2009-12-01', '2009-12-30', '2009',
false, false);
+INSERT INTO parm_periode VALUES (117, '2009-12-31', '2009-12-31', '2009',
false, false);
--
-- Data for Name: parm_poste; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY parm_poste (p_value, p_type) FROM stdin;
-1 PAS
-12 CON
-2 ACT
-3 ACT
-41 ACT
-42 PAS
-43 PAS
-44 PAS
-45 PAS
-46 CON
-47 CON
-481 PAS
-482 PAS
-483 PAS
-484 PAS
-485 PAS
-486 PAS
-487 ACT
-49 PAS
-5 ACT
-6 CHA
-7 PAS
-40 ACT
-\.
+INSERT INTO parm_poste VALUES ('1', 'PAS');
+INSERT INTO parm_poste VALUES ('12', 'CON');
+INSERT INTO parm_poste VALUES ('2', 'ACT');
+INSERT INTO parm_poste VALUES ('3', 'ACT');
+INSERT INTO parm_poste VALUES ('41', 'ACT');
+INSERT INTO parm_poste VALUES ('42', 'PAS');
+INSERT INTO parm_poste VALUES ('43', 'PAS');
+INSERT INTO parm_poste VALUES ('44', 'PAS');
+INSERT INTO parm_poste VALUES ('45', 'PAS');
+INSERT INTO parm_poste VALUES ('46', 'CON');
+INSERT INTO parm_poste VALUES ('47', 'CON');
+INSERT INTO parm_poste VALUES ('481', 'PAS');
+INSERT INTO parm_poste VALUES ('482', 'PAS');
+INSERT INTO parm_poste VALUES ('483', 'PAS');
+INSERT INTO parm_poste VALUES ('484', 'PAS');
+INSERT INTO parm_poste VALUES ('485', 'PAS');
+INSERT INTO parm_poste VALUES ('486', 'PAS');
+INSERT INTO parm_poste VALUES ('487', 'ACT');
+INSERT INTO parm_poste VALUES ('49', 'PAS');
+INSERT INTO parm_poste VALUES ('5', 'ACT');
+INSERT INTO parm_poste VALUES ('6', 'CHA');
+INSERT INTO parm_poste VALUES ('7', 'PAS');
+INSERT INTO parm_poste VALUES ('40', 'ACT');
--
-- Data for Name: plan_analytique; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY plan_analytique (pa_id, pa_name, pa_description) FROM stdin;
-\.
--
-- Data for Name: poste_analytique; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY poste_analytique (po_id, po_name, pa_id, po_amount, po_description,
ga_id) FROM stdin;
-\.
--
-- Data for Name: profile; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY profile (p_name, p_id, p_desc, with_calc, with_direct_form) FROM stdin;
-Administrateur 1 Profil par défaut pour les adminstrateurs t
t
-Utilisateur 2 Profil par défaut pour les utilisateurs t t
-\.
+INSERT INTO profile VALUES ('Administrateur', 1, 'Profil par défaut pour les
adminstrateurs', true, true);
+INSERT INTO profile VALUES ('Utilisateur', 2, 'Profil par défaut pour les
utilisateurs', true, true);
--
-- Data for Name: profile_menu; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY profile_menu (pm_id, me_code, me_code_dep, p_id, p_order, p_type_display,
pm_default) FROM stdin;
-59 CFGPAY DIVPARM 1 4 E 0
-68 CFGATCARD DIVPARM 1 9 E 0
-61 CFGACC DIVPARM 1 6 E 0
-54 COMPANY PARAM 1 1 E 0
-651 ANCHOP ANCIMP 1 10 E 0
-173 COMPTA \N 1 40 M 0
-55 PERIODE PARAM 1 2 E 0
-56 DIVPARM PARAM 1 3 E 0
-652 ANCGL ANCIMP 1 20 E 0
-60 CFGTVA DIVPARM 1 5 E 0
-653 ANCBS ANCIMP 1 30 E 0
-654 ANCBC2 ANCIMP 1 40 E 0
-655 ANCTAB ANCIMP 1 50 E 0
-656 ANCBCC ANCIMP 1 60 E 0
-657 ANCGR ANCIMP 1 70 E 0
-658 CSV:AncGrandLivre \N 1 \N P 0
-662 new_line \N 1 35 M 0
-67 CFGCATDOC DIVPARM 1 8 E 0
-69 CFGPCMN PARAM 1 4 E 0
-526 PRINTGL PRINT 1 20 E 0
-23 LET COMPTA 1 8 E 0
-523 PRINTBAL PRINT 1 50 E 0
-529 PRINTREPORT PRINT 1 85 E 0
-72 PREDOP PARAM 1 7 E 0
-75 PLANANC ANC 1 1 E 0
-65 CFGCARDCAT DIVPARM 1 7 E 0
-76 ANCODS ANC 1 2 E 0
-77 ANCGROUP ANC 1 3 E 0
-78 ANCIMP ANC 1 4 E 0
-45 PARAM \N 1 20 M 0
-527 PRINTJRN PRINT 1 10 E 0
-530 PRINTREC PRINT 1 100 E 0
-524 PRINTBILAN PRINT 1 90 E 0
-79 PREFERENCE \N 1 15 M 0
-37 CUST GESTION 1 1 E 0
-38 SUPPL GESTION 1 2 E 0
-39 ADM GESTION 1 3 E 0
-36 CARD GESTION 1 6 E 0
-40 STOCK GESTION 1 5 E 0
-41 FORECAST GESTION 1 7 E 0
-42 FOLLOW GESTION 1 8 E 0
-29 VERIFBIL ADV 1 21 E 0
-30 STOCK ADV 1 22 E 0
-31 PREDOP ADV 1 23 E 0
-32 OPEN ADV 1 24 E 0
-33 REPORT ADV 1 25 E 0
-5 CARD COMPTA 1 7 E 0
-43 HIST COMPTA 1 1 E 0
-28 ADV COMPTA 1 20 E 0
-53 ACCESS \N 1 25 M 0
-123 CSV:histo \N 1 \N P 0
-20 LOGOUT \N 1 30 M 0
-35 PRINT GESTION 1 4 E 0
-124 CSV:ledger \N 1 \N P 0
-125 PDF:ledger \N 1 \N P 0
-6 PRINT COMPTA 1 6 E 0
-126 CSV:postedetail \N 1 \N P 0
-3 MENUACH COMPTA 1 3 E 0
-86 ACHIMP MENUACH 1 2 E 0
-34 GESTION \N 1 45 M 0
-18 MENUODS COMPTA 1 5 E 0
-88 ODS MENUODS 1 1 E 0
-89 ODSIMP MENUODS 1 2 E 0
-2 ANC \N 1 50 M 0
-4 VENMENU COMPTA 1 2 E 0
-90 VEN VENMENU 1 1 E 0
-91 VENIMP VENMENU 1 2 E 0
-19 FIN MENUFIN 1 1 E 0
-73 CFGDOC PARAM 1 8 E 0
-74 CFGLED PARAM 1 9 E 0
-71 CFGSEC PARAM 1 6 E 0
-82 EXT \N 1 55 M 0
-95 FREC MENUFIN 1 4 E 0
-94 FSALDO MENUFIN 1 3 E 0
-27 LETACC LET 1 2 E 0
-24 LETCARD LET 1 1 E 0
-167 MOD PARAM 1 1 E 0
-92 MENUFIN COMPTA 1 4 E 0
-93 FIMP MENUFIN 1 2 E 0
-151 SEARCH \N 1 60 M 0
-85 ACH MENUACH 1 1 E 0
-127 PDF:postedetail \N 1 \N P 0
-128 CSV:fichedetail \N 1 \N P 0
-129 PDF:fichedetail \N 1 \N P 0
-130 CSV:fiche_balance \N 1 \N P 0
-131 PDF:fiche_balance \N 1 \N P 0
-132 CSV:report \N 1 \N P 0
-133 PDF:report \N 1 \N P 0
-134 CSV:fiche \N 1 \N P 0
-135 PDF:fiche \N 1 \N P 0
-136 CSV:glcompte \N 1 \N P 0
-137 PDF:glcompte \N 1 \N P 0
-138 PDF:sec \N 1 \N P 0
-139 CSV:AncList \N 1 \N P 0
-140 CSV:AncBalSimple \N 1 \N P 0
-141 PDF:AncBalSimple \N 1 \N P 0
-142 CSV:AncBalDouble \N 1 \N P 0
-143 PDF:AncBalDouble \N 1 \N P 0
-144 CSV:balance \N 1 \N P 0
-145 PDF:balance \N 1 \N P 0
-146 CSV:AncTable \N 1 \N P 0
-147 CSV:AncAccList \N 1 \N P 0
-148 CSV:AncBalGroup \N 1 \N P 0
-149 OTH:Bilan \N 1 \N P 0
-528 PRINTPOSTE PRINT 1 30 E 0
-525 PRINTCARD PRINT 1 40 E 0
-1 DASHBOARD \N 1 10 M 1
-172 CFGPRO MOD 1 \N E 0
-171 CFGMENU MOD 1 \N E 0
-663 CFGPAY DIVPARM 2 4 E 0
-664 CFGATCARD DIVPARM 2 9 E 0
-665 CFGACC DIVPARM 2 6 E 0
-668 ANCHOP ANCIMP 2 10 E 0
-669 COMPTA \N 2 40 M 0
-672 ANCGL ANCIMP 2 20 E 0
-673 CFGTVA DIVPARM 2 5 E 0
-674 ANCBS ANCIMP 2 30 E 0
-675 ANCBC2 ANCIMP 2 40 E 0
-676 ANCTAB ANCIMP 2 50 E 0
-677 ANCBCC ANCIMP 2 60 E 0
-678 ANCGR ANCIMP 2 70 E 0
-679 CSV:AncGrandLivre \N 2 \N P 0
-680 new_line \N 2 35 M 0
-681 CFGCATDOC DIVPARM 2 8 E 0
-683 PRINTGL PRINT 2 20 E 0
-684 LET COMPTA 2 8 E 0
-685 PRINTBAL PRINT 2 50 E 0
-686 PRINTREPORT PRINT 2 85 E 0
-688 PLANANC ANC 2 1 E 0
-689 CFGCARDCAT DIVPARM 2 7 E 0
-690 ANCODS ANC 2 2 E 0
-717 CSV:ledger \N 2 \N P 0
-718 PDF:ledger \N 2 \N P 0
-719 PRINT COMPTA 2 6 E 0
-720 CSV:postedetail \N 2 \N P 0
-721 MENUACH COMPTA 2 3 E 0
-722 ACHIMP MENUACH 2 2 E 0
-723 GESTION \N 2 45 M 0
-724 MENUODS COMPTA 2 5 E 0
-725 ODS MENUODS 2 1 E 0
-726 ODSIMP MENUODS 2 2 E 0
-727 ANC \N 2 50 M 0
-728 VENMENU COMPTA 2 2 E 0
-729 VEN VENMENU 2 1 E 0
-730 VENIMP VENMENU 2 2 E 0
-731 FIN MENUFIN 2 1 E 0
-735 EXT \N 2 55 M 0
-736 FREC MENUFIN 2 4 E 0
-737 FSALDO MENUFIN 2 3 E 0
-738 LETACC LET 2 2 E 0
-691 ANCGROUP ANC 2 3 E 0
-692 ANCIMP ANC 2 4 E 0
-694 PRINTJRN PRINT 2 10 E 0
-695 PRINTREC PRINT 2 100 E 0
-696 PRINTBILAN PRINT 2 90 E 0
-697 PREFERENCE \N 2 15 M 0
-698 CUST GESTION 2 1 E 0
-699 SUPPL GESTION 2 2 E 0
-700 ADM GESTION 2 3 E 0
-701 CARD GESTION 2 6 E 0
-702 STOCK GESTION 2 5 E 0
-703 FORECAST GESTION 2 7 E 0
-704 FOLLOW GESTION 2 8 E 0
-705 VERIFBIL ADV 2 21 E 0
-706 STOCK ADV 2 22 E 0
-707 PREDOP ADV 2 23 E 0
-708 OPEN ADV 2 24 E 0
-709 REPORT ADV 2 25 E 0
-710 CARD COMPTA 2 7 E 0
-711 HIST COMPTA 2 1 E 0
-712 ADV COMPTA 2 20 E 0
-713 ACCESS \N 2 25 M 0
-714 CSV:histo \N 2 \N P 0
-715 LOGOUT \N 2 30 M 0
-716 PRINT GESTION 2 4 E 0
-739 LETCARD LET 2 1 E 0
-742 MENUFIN COMPTA 2 4 E 0
-743 FIMP MENUFIN 2 2 E 0
-744 SEARCH \N 2 60 M 0
-745 ACH MENUACH 2 1 E 0
-746 PDF:postedetail \N 2 \N P 0
-747 CSV:fichedetail \N 2 \N P 0
-748 PDF:fichedetail \N 2 \N P 0
-749 CSV:fiche_balance \N 2 \N P 0
-750 PDF:fiche_balance \N 2 \N P 0
-751 CSV:report \N 2 \N P 0
-752 PDF:report \N 2 \N P 0
-753 CSV:fiche \N 2 \N P 0
-754 PDF:fiche \N 2 \N P 0
-755 CSV:glcompte \N 2 \N P 0
-756 PDF:glcompte \N 2 \N P 0
-757 PDF:sec \N 2 \N P 0
-758 CSV:AncList \N 2 \N P 0
-759 CSV:AncBalSimple \N 2 \N P 0
-760 PDF:AncBalSimple \N 2 \N P 0
-761 CSV:AncBalDouble \N 2 \N P 0
-762 PDF:AncBalDouble \N 2 \N P 0
-763 CSV:balance \N 2 \N P 0
-764 PDF:balance \N 2 \N P 0
-765 CSV:AncTable \N 2 \N P 0
-766 CSV:AncAccList \N 2 \N P 0
-767 CSV:AncBalGroup \N 2 \N P 0
-768 OTH:Bilan \N 2 \N P 0
-769 PRINTPOSTE PRINT 2 30 E 0
-770 PRINTCARD PRINT 2 40 E 0
-777 CFGPRO MOD 2 \N E 0
-778 CFGMENU MOD 2 \N E 0
-772 DASHBOARD \N 2 10 M 1
-\.
+INSERT INTO profile_menu VALUES (59, 'CFGPAY', 'DIVPARM', 1, 4, 'E', 0);
+INSERT INTO profile_menu VALUES (68, 'CFGATCARD', 'DIVPARM', 1, 9, 'E', 0);
+INSERT INTO profile_menu VALUES (61, 'CFGACC', 'DIVPARM', 1, 6, 'E', 0);
+INSERT INTO profile_menu VALUES (54, 'COMPANY', 'PARAM', 1, 1, 'E', 0);
+INSERT INTO profile_menu VALUES (651, 'ANCHOP', 'ANCIMP', 1, 10, 'E', 0);
+INSERT INTO profile_menu VALUES (173, 'COMPTA', NULL, 1, 40, 'M', 0);
+INSERT INTO profile_menu VALUES (55, 'PERIODE', 'PARAM', 1, 2, 'E', 0);
+INSERT INTO profile_menu VALUES (56, 'DIVPARM', 'PARAM', 1, 3, 'E', 0);
+INSERT INTO profile_menu VALUES (652, 'ANCGL', 'ANCIMP', 1, 20, 'E', 0);
+INSERT INTO profile_menu VALUES (60, 'CFGTVA', 'DIVPARM', 1, 5, 'E', 0);
+INSERT INTO profile_menu VALUES (653, 'ANCBS', 'ANCIMP', 1, 30, 'E', 0);
+INSERT INTO profile_menu VALUES (654, 'ANCBC2', 'ANCIMP', 1, 40, 'E', 0);
+INSERT INTO profile_menu VALUES (655, 'ANCTAB', 'ANCIMP', 1, 50, 'E', 0);
+INSERT INTO profile_menu VALUES (656, 'ANCBCC', 'ANCIMP', 1, 60, 'E', 0);
+INSERT INTO profile_menu VALUES (657, 'ANCGR', 'ANCIMP', 1, 70, 'E', 0);
+INSERT INTO profile_menu VALUES (658, 'CSV:AncGrandLivre', NULL, 1, NULL, 'P',
0);
+INSERT INTO profile_menu VALUES (662, 'new_line', NULL, 1, 35, 'M', 0);
+INSERT INTO profile_menu VALUES (67, 'CFGCATDOC', 'DIVPARM', 1, 8, 'E', 0);
+INSERT INTO profile_menu VALUES (69, 'CFGPCMN', 'PARAM', 1, 4, 'E', 0);
+INSERT INTO profile_menu VALUES (526, 'PRINTGL', 'PRINT', 1, 20, 'E', 0);
+INSERT INTO profile_menu VALUES (23, 'LET', 'COMPTA', 1, 8, 'E', 0);
+INSERT INTO profile_menu VALUES (523, 'PRINTBAL', 'PRINT', 1, 50, 'E', 0);
+INSERT INTO profile_menu VALUES (529, 'PRINTREPORT', 'PRINT', 1, 85, 'E', 0);
+INSERT INTO profile_menu VALUES (72, 'PREDOP', 'PARAM', 1, 7, 'E', 0);
+INSERT INTO profile_menu VALUES (75, 'PLANANC', 'ANC', 1, 1, 'E', 0);
+INSERT INTO profile_menu VALUES (65, 'CFGCARDCAT', 'DIVPARM', 1, 7, 'E', 0);
+INSERT INTO profile_menu VALUES (76, 'ANCODS', 'ANC', 1, 2, 'E', 0);
+INSERT INTO profile_menu VALUES (77, 'ANCGROUP', 'ANC', 1, 3, 'E', 0);
+INSERT INTO profile_menu VALUES (78, 'ANCIMP', 'ANC', 1, 4, 'E', 0);
+INSERT INTO profile_menu VALUES (45, 'PARAM', NULL, 1, 20, 'M', 0);
+INSERT INTO profile_menu VALUES (527, 'PRINTJRN', 'PRINT', 1, 10, 'E', 0);
+INSERT INTO profile_menu VALUES (530, 'PRINTREC', 'PRINT', 1, 100, 'E', 0);
+INSERT INTO profile_menu VALUES (524, 'PRINTBILAN', 'PRINT', 1, 90, 'E', 0);
+INSERT INTO profile_menu VALUES (79, 'PREFERENCE', NULL, 1, 15, 'M', 0);
+INSERT INTO profile_menu VALUES (37, 'CUST', 'GESTION', 1, 1, 'E', 0);
+INSERT INTO profile_menu VALUES (38, 'SUPPL', 'GESTION', 1, 2, 'E', 0);
+INSERT INTO profile_menu VALUES (39, 'ADM', 'GESTION', 1, 3, 'E', 0);
+INSERT INTO profile_menu VALUES (36, 'CARD', 'GESTION', 1, 6, 'E', 0);
+INSERT INTO profile_menu VALUES (40, 'STOCK', 'GESTION', 1, 5, 'E', 0);
+INSERT INTO profile_menu VALUES (41, 'FORECAST', 'GESTION', 1, 7, 'E', 0);
+INSERT INTO profile_menu VALUES (42, 'FOLLOW', 'GESTION', 1, 8, 'E', 0);
+INSERT INTO profile_menu VALUES (29, 'VERIFBIL', 'ADV', 1, 21, 'E', 0);
+INSERT INTO profile_menu VALUES (30, 'STOCK', 'ADV', 1, 22, 'E', 0);
+INSERT INTO profile_menu VALUES (31, 'PREDOP', 'ADV', 1, 23, 'E', 0);
+INSERT INTO profile_menu VALUES (32, 'OPEN', 'ADV', 1, 24, 'E', 0);
+INSERT INTO profile_menu VALUES (33, 'REPORT', 'ADV', 1, 25, 'E', 0);
+INSERT INTO profile_menu VALUES (5, 'CARD', 'COMPTA', 1, 7, 'E', 0);
+INSERT INTO profile_menu VALUES (43, 'HIST', 'COMPTA', 1, 1, 'E', 0);
+INSERT INTO profile_menu VALUES (28, 'ADV', 'COMPTA', 1, 20, 'E', 0);
+INSERT INTO profile_menu VALUES (53, 'ACCESS', NULL, 1, 25, 'M', 0);
+INSERT INTO profile_menu VALUES (123, 'CSV:histo', NULL, 1, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (20, 'LOGOUT', NULL, 1, 30, 'M', 0);
+INSERT INTO profile_menu VALUES (35, 'PRINT', 'GESTION', 1, 4, 'E', 0);
+INSERT INTO profile_menu VALUES (124, 'CSV:ledger', NULL, 1, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (125, 'PDF:ledger', NULL, 1, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (6, 'PRINT', 'COMPTA', 1, 6, 'E', 0);
+INSERT INTO profile_menu VALUES (126, 'CSV:postedetail', NULL, 1, NULL, 'P',
0);
+INSERT INTO profile_menu VALUES (3, 'MENUACH', 'COMPTA', 1, 3, 'E', 0);
+INSERT INTO profile_menu VALUES (86, 'ACHIMP', 'MENUACH', 1, 2, 'E', 0);
+INSERT INTO profile_menu VALUES (34, 'GESTION', NULL, 1, 45, 'M', 0);
+INSERT INTO profile_menu VALUES (18, 'MENUODS', 'COMPTA', 1, 5, 'E', 0);
+INSERT INTO profile_menu VALUES (88, 'ODS', 'MENUODS', 1, 1, 'E', 0);
+INSERT INTO profile_menu VALUES (89, 'ODSIMP', 'MENUODS', 1, 2, 'E', 0);
+INSERT INTO profile_menu VALUES (2, 'ANC', NULL, 1, 50, 'M', 0);
+INSERT INTO profile_menu VALUES (4, 'VENMENU', 'COMPTA', 1, 2, 'E', 0);
+INSERT INTO profile_menu VALUES (90, 'VEN', 'VENMENU', 1, 1, 'E', 0);
+INSERT INTO profile_menu VALUES (91, 'VENIMP', 'VENMENU', 1, 2, 'E', 0);
+INSERT INTO profile_menu VALUES (19, 'FIN', 'MENUFIN', 1, 1, 'E', 0);
+INSERT INTO profile_menu VALUES (73, 'CFGDOC', 'PARAM', 1, 8, 'E', 0);
+INSERT INTO profile_menu VALUES (74, 'CFGLED', 'PARAM', 1, 9, 'E', 0);
+INSERT INTO profile_menu VALUES (71, 'CFGSEC', 'PARAM', 1, 6, 'E', 0);
+INSERT INTO profile_menu VALUES (82, 'EXT', NULL, 1, 55, 'M', 0);
+INSERT INTO profile_menu VALUES (95, 'FREC', 'MENUFIN', 1, 4, 'E', 0);
+INSERT INTO profile_menu VALUES (94, 'FSALDO', 'MENUFIN', 1, 3, 'E', 0);
+INSERT INTO profile_menu VALUES (27, 'LETACC', 'LET', 1, 2, 'E', 0);
+INSERT INTO profile_menu VALUES (24, 'LETCARD', 'LET', 1, 1, 'E', 0);
+INSERT INTO profile_menu VALUES (167, 'MOD', 'PARAM', 1, 1, 'E', 0);
+INSERT INTO profile_menu VALUES (92, 'MENUFIN', 'COMPTA', 1, 4, 'E', 0);
+INSERT INTO profile_menu VALUES (93, 'FIMP', 'MENUFIN', 1, 2, 'E', 0);
+INSERT INTO profile_menu VALUES (151, 'SEARCH', NULL, 1, 60, 'M', 0);
+INSERT INTO profile_menu VALUES (85, 'ACH', 'MENUACH', 1, 1, 'E', 0);
+INSERT INTO profile_menu VALUES (127, 'PDF:postedetail', NULL, 1, NULL, 'P',
0);
+INSERT INTO profile_menu VALUES (128, 'CSV:fichedetail', NULL, 1, NULL, 'P',
0);
+INSERT INTO profile_menu VALUES (129, 'PDF:fichedetail', NULL, 1, NULL, 'P',
0);
+INSERT INTO profile_menu VALUES (130, 'CSV:fiche_balance', NULL, 1, NULL, 'P',
0);
+INSERT INTO profile_menu VALUES (131, 'PDF:fiche_balance', NULL, 1, NULL, 'P',
0);
+INSERT INTO profile_menu VALUES (132, 'CSV:report', NULL, 1, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (133, 'PDF:report', NULL, 1, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (134, 'CSV:fiche', NULL, 1, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (135, 'PDF:fiche', NULL, 1, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (136, 'CSV:glcompte', NULL, 1, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (137, 'PDF:glcompte', NULL, 1, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (138, 'PDF:sec', NULL, 1, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (139, 'CSV:AncList', NULL, 1, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (140, 'CSV:AncBalSimple', NULL, 1, NULL, 'P',
0);
+INSERT INTO profile_menu VALUES (141, 'PDF:AncBalSimple', NULL, 1, NULL, 'P',
0);
+INSERT INTO profile_menu VALUES (142, 'CSV:AncBalDouble', NULL, 1, NULL, 'P',
0);
+INSERT INTO profile_menu VALUES (143, 'PDF:AncBalDouble', NULL, 1, NULL, 'P',
0);
+INSERT INTO profile_menu VALUES (144, 'CSV:balance', NULL, 1, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (145, 'PDF:balance', NULL, 1, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (146, 'CSV:AncTable', NULL, 1, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (147, 'CSV:AncAccList', NULL, 1, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (148, 'CSV:AncBalGroup', NULL, 1, NULL, 'P',
0);
+INSERT INTO profile_menu VALUES (149, 'OTH:Bilan', NULL, 1, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (528, 'PRINTPOSTE', 'PRINT', 1, 30, 'E', 0);
+INSERT INTO profile_menu VALUES (525, 'PRINTCARD', 'PRINT', 1, 40, 'E', 0);
+INSERT INTO profile_menu VALUES (1, 'DASHBOARD', NULL, 1, 10, 'M', 1);
+INSERT INTO profile_menu VALUES (172, 'CFGPRO', 'MOD', 1, NULL, 'E', 0);
+INSERT INTO profile_menu VALUES (171, 'CFGMENU', 'MOD', 1, NULL, 'E', 0);
+INSERT INTO profile_menu VALUES (663, 'CFGPAY', 'DIVPARM', 2, 4, 'E', 0);
+INSERT INTO profile_menu VALUES (664, 'CFGATCARD', 'DIVPARM', 2, 9, 'E', 0);
+INSERT INTO profile_menu VALUES (665, 'CFGACC', 'DIVPARM', 2, 6, 'E', 0);
+INSERT INTO profile_menu VALUES (668, 'ANCHOP', 'ANCIMP', 2, 10, 'E', 0);
+INSERT INTO profile_menu VALUES (669, 'COMPTA', NULL, 2, 40, 'M', 0);
+INSERT INTO profile_menu VALUES (672, 'ANCGL', 'ANCIMP', 2, 20, 'E', 0);
+INSERT INTO profile_menu VALUES (673, 'CFGTVA', 'DIVPARM', 2, 5, 'E', 0);
+INSERT INTO profile_menu VALUES (674, 'ANCBS', 'ANCIMP', 2, 30, 'E', 0);
+INSERT INTO profile_menu VALUES (675, 'ANCBC2', 'ANCIMP', 2, 40, 'E', 0);
+INSERT INTO profile_menu VALUES (676, 'ANCTAB', 'ANCIMP', 2, 50, 'E', 0);
+INSERT INTO profile_menu VALUES (677, 'ANCBCC', 'ANCIMP', 2, 60, 'E', 0);
+INSERT INTO profile_menu VALUES (678, 'ANCGR', 'ANCIMP', 2, 70, 'E', 0);
+INSERT INTO profile_menu VALUES (679, 'CSV:AncGrandLivre', NULL, 2, NULL, 'P',
0);
+INSERT INTO profile_menu VALUES (680, 'new_line', NULL, 2, 35, 'M', 0);
+INSERT INTO profile_menu VALUES (681, 'CFGCATDOC', 'DIVPARM', 2, 8, 'E', 0);
+INSERT INTO profile_menu VALUES (683, 'PRINTGL', 'PRINT', 2, 20, 'E', 0);
+INSERT INTO profile_menu VALUES (684, 'LET', 'COMPTA', 2, 8, 'E', 0);
+INSERT INTO profile_menu VALUES (685, 'PRINTBAL', 'PRINT', 2, 50, 'E', 0);
+INSERT INTO profile_menu VALUES (686, 'PRINTREPORT', 'PRINT', 2, 85, 'E', 0);
+INSERT INTO profile_menu VALUES (688, 'PLANANC', 'ANC', 2, 1, 'E', 0);
+INSERT INTO profile_menu VALUES (689, 'CFGCARDCAT', 'DIVPARM', 2, 7, 'E', 0);
+INSERT INTO profile_menu VALUES (690, 'ANCODS', 'ANC', 2, 2, 'E', 0);
+INSERT INTO profile_menu VALUES (717, 'CSV:ledger', NULL, 2, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (718, 'PDF:ledger', NULL, 2, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (719, 'PRINT', 'COMPTA', 2, 6, 'E', 0);
+INSERT INTO profile_menu VALUES (720, 'CSV:postedetail', NULL, 2, NULL, 'P',
0);
+INSERT INTO profile_menu VALUES (721, 'MENUACH', 'COMPTA', 2, 3, 'E', 0);
+INSERT INTO profile_menu VALUES (722, 'ACHIMP', 'MENUACH', 2, 2, 'E', 0);
+INSERT INTO profile_menu VALUES (723, 'GESTION', NULL, 2, 45, 'M', 0);
+INSERT INTO profile_menu VALUES (724, 'MENUODS', 'COMPTA', 2, 5, 'E', 0);
+INSERT INTO profile_menu VALUES (725, 'ODS', 'MENUODS', 2, 1, 'E', 0);
+INSERT INTO profile_menu VALUES (726, 'ODSIMP', 'MENUODS', 2, 2, 'E', 0);
+INSERT INTO profile_menu VALUES (727, 'ANC', NULL, 2, 50, 'M', 0);
+INSERT INTO profile_menu VALUES (728, 'VENMENU', 'COMPTA', 2, 2, 'E', 0);
+INSERT INTO profile_menu VALUES (729, 'VEN', 'VENMENU', 2, 1, 'E', 0);
+INSERT INTO profile_menu VALUES (730, 'VENIMP', 'VENMENU', 2, 2, 'E', 0);
+INSERT INTO profile_menu VALUES (731, 'FIN', 'MENUFIN', 2, 1, 'E', 0);
+INSERT INTO profile_menu VALUES (735, 'EXT', NULL, 2, 55, 'M', 0);
+INSERT INTO profile_menu VALUES (736, 'FREC', 'MENUFIN', 2, 4, 'E', 0);
+INSERT INTO profile_menu VALUES (737, 'FSALDO', 'MENUFIN', 2, 3, 'E', 0);
+INSERT INTO profile_menu VALUES (738, 'LETACC', 'LET', 2, 2, 'E', 0);
+INSERT INTO profile_menu VALUES (691, 'ANCGROUP', 'ANC', 2, 3, 'E', 0);
+INSERT INTO profile_menu VALUES (692, 'ANCIMP', 'ANC', 2, 4, 'E', 0);
+INSERT INTO profile_menu VALUES (694, 'PRINTJRN', 'PRINT', 2, 10, 'E', 0);
+INSERT INTO profile_menu VALUES (695, 'PRINTREC', 'PRINT', 2, 100, 'E', 0);
+INSERT INTO profile_menu VALUES (696, 'PRINTBILAN', 'PRINT', 2, 90, 'E', 0);
+INSERT INTO profile_menu VALUES (697, 'PREFERENCE', NULL, 2, 15, 'M', 0);
+INSERT INTO profile_menu VALUES (698, 'CUST', 'GESTION', 2, 1, 'E', 0);
+INSERT INTO profile_menu VALUES (699, 'SUPPL', 'GESTION', 2, 2, 'E', 0);
+INSERT INTO profile_menu VALUES (700, 'ADM', 'GESTION', 2, 3, 'E', 0);
+INSERT INTO profile_menu VALUES (701, 'CARD', 'GESTION', 2, 6, 'E', 0);
+INSERT INTO profile_menu VALUES (702, 'STOCK', 'GESTION', 2, 5, 'E', 0);
+INSERT INTO profile_menu VALUES (703, 'FORECAST', 'GESTION', 2, 7, 'E', 0);
+INSERT INTO profile_menu VALUES (704, 'FOLLOW', 'GESTION', 2, 8, 'E', 0);
+INSERT INTO profile_menu VALUES (705, 'VERIFBIL', 'ADV', 2, 21, 'E', 0);
+INSERT INTO profile_menu VALUES (706, 'STOCK', 'ADV', 2, 22, 'E', 0);
+INSERT INTO profile_menu VALUES (707, 'PREDOP', 'ADV', 2, 23, 'E', 0);
+INSERT INTO profile_menu VALUES (708, 'OPEN', 'ADV', 2, 24, 'E', 0);
+INSERT INTO profile_menu VALUES (709, 'REPORT', 'ADV', 2, 25, 'E', 0);
+INSERT INTO profile_menu VALUES (710, 'CARD', 'COMPTA', 2, 7, 'E', 0);
+INSERT INTO profile_menu VALUES (711, 'HIST', 'COMPTA', 2, 1, 'E', 0);
+INSERT INTO profile_menu VALUES (712, 'ADV', 'COMPTA', 2, 20, 'E', 0);
+INSERT INTO profile_menu VALUES (713, 'ACCESS', NULL, 2, 25, 'M', 0);
+INSERT INTO profile_menu VALUES (714, 'CSV:histo', NULL, 2, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (715, 'LOGOUT', NULL, 2, 30, 'M', 0);
+INSERT INTO profile_menu VALUES (716, 'PRINT', 'GESTION', 2, 4, 'E', 0);
+INSERT INTO profile_menu VALUES (739, 'LETCARD', 'LET', 2, 1, 'E', 0);
+INSERT INTO profile_menu VALUES (742, 'MENUFIN', 'COMPTA', 2, 4, 'E', 0);
+INSERT INTO profile_menu VALUES (743, 'FIMP', 'MENUFIN', 2, 2, 'E', 0);
+INSERT INTO profile_menu VALUES (744, 'SEARCH', NULL, 2, 60, 'M', 0);
+INSERT INTO profile_menu VALUES (745, 'ACH', 'MENUACH', 2, 1, 'E', 0);
+INSERT INTO profile_menu VALUES (746, 'PDF:postedetail', NULL, 2, NULL, 'P',
0);
+INSERT INTO profile_menu VALUES (747, 'CSV:fichedetail', NULL, 2, NULL, 'P',
0);
+INSERT INTO profile_menu VALUES (748, 'PDF:fichedetail', NULL, 2, NULL, 'P',
0);
+INSERT INTO profile_menu VALUES (749, 'CSV:fiche_balance', NULL, 2, NULL, 'P',
0);
+INSERT INTO profile_menu VALUES (750, 'PDF:fiche_balance', NULL, 2, NULL, 'P',
0);
+INSERT INTO profile_menu VALUES (751, 'CSV:report', NULL, 2, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (752, 'PDF:report', NULL, 2, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (753, 'CSV:fiche', NULL, 2, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (754, 'PDF:fiche', NULL, 2, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (755, 'CSV:glcompte', NULL, 2, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (756, 'PDF:glcompte', NULL, 2, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (757, 'PDF:sec', NULL, 2, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (758, 'CSV:AncList', NULL, 2, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (759, 'CSV:AncBalSimple', NULL, 2, NULL, 'P',
0);
+INSERT INTO profile_menu VALUES (760, 'PDF:AncBalSimple', NULL, 2, NULL, 'P',
0);
+INSERT INTO profile_menu VALUES (761, 'CSV:AncBalDouble', NULL, 2, NULL, 'P',
0);
+INSERT INTO profile_menu VALUES (762, 'PDF:AncBalDouble', NULL, 2, NULL, 'P',
0);
+INSERT INTO profile_menu VALUES (763, 'CSV:balance', NULL, 2, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (764, 'PDF:balance', NULL, 2, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (765, 'CSV:AncTable', NULL, 2, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (766, 'CSV:AncAccList', NULL, 2, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (767, 'CSV:AncBalGroup', NULL, 2, NULL, 'P',
0);
+INSERT INTO profile_menu VALUES (768, 'OTH:Bilan', NULL, 2, NULL, 'P', 0);
+INSERT INTO profile_menu VALUES (769, 'PRINTPOSTE', 'PRINT', 2, 30, 'E', 0);
+INSERT INTO profile_menu VALUES (770, 'PRINTCARD', 'PRINT', 2, 40, 'E', 0);
+INSERT INTO profile_menu VALUES (777, 'CFGPRO', 'MOD', 2, NULL, 'E', 0);
+INSERT INTO profile_menu VALUES (778, 'CFGMENU', 'MOD', 2, NULL, 'E', 0);
+INSERT INTO profile_menu VALUES (772, 'DASHBOARD', NULL, 2, 10, 'M', 1);
--
-- Data for Name: profile_menu_type; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY profile_menu_type (pm_type, pm_desc) FROM stdin;
-P Impression
-S Extension
-E Menu
-M Module
-\.
+INSERT INTO profile_menu_type VALUES ('P', 'Impression');
+INSERT INTO profile_menu_type VALUES ('S', 'Extension');
+INSERT INTO profile_menu_type VALUES ('E', 'Menu');
+INSERT INTO profile_menu_type VALUES ('M', 'Module');
--
-- Data for Name: profile_user; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY profile_user (user_name, pu_id, p_id) FROM stdin;
-phpcompta 1 1
-\.
+INSERT INTO profile_user VALUES ('phpcompta', 1, 1);
--
-- Data for Name: quant_fin; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY quant_fin (qf_id, qf_bank, jr_id, qf_other, qf_amount) FROM stdin;
-\.
--
-- Data for Name: quant_purchase; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY quant_purchase (qp_id, qp_internal, j_id, qp_fiche, qp_quantite,
qp_price, qp_vat, qp_vat_code, qp_nd_amount, qp_nd_tva, qp_nd_tva_recup,
qp_supplier, qp_valid, qp_dep_priv, qp_vat_sided) FROM stdin;
-\.
--
-- Data for Name: quant_sold; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY quant_sold (qs_id, qs_internal, qs_fiche, qs_quantite, qs_price, qs_vat,
qs_vat_code, qs_client, qs_valid, j_id, qs_vat_sided) FROM stdin;
-\.
--
-- Data for Name: stock_goods; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY stock_goods (sg_id, j_id, f_id, sg_code, sg_quantity, sg_type, sg_date,
sg_tech_date, sg_tech_user, sg_comment, sg_exercice) FROM stdin;
-\.
--
-- Data for Name: tmp_pcmn; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY tmp_pcmn (pcm_val, pcm_lib, pcm_val_parent, pcm_type) FROM stdin;
-1 comptes de capitaux 0 PAS
-101 Capital 1 PAS
-105 Ecarts de réévaluation 1 PAS
-1061 Réserve légale 1 PAS
-1063 Réserves statutaires ou contractuelles 1 PAS
-1064 Réserves réglementées 1 PAS
-1068 Autres réserves 1 PAS
-108 Compte de l'exploitant 1 PAS
-12 résultat de l'exercice (bénéfice ou perte) 1 CON
-145 Amortissements dérogatoires 1 PAS
-146 Provision spéciale de réévaluation 1 PAS
-147 Plus-values réinvesties 1 PAS
-148 Autres provisions réglementées 1 PAS
-15 Provisions pour risques et charges 1 PAS
-16 emprunts et dettes assimilees 1 PAS
-2 comptes d'immobilisations 0 ACT
-20 immobilisations incorporelles 2 ACT
-201 Frais d'établissement 20 ACT
-206 Droit au bail 20 ACT
-207 Fonds commercial 20 ACT
-208 Autres immobilisations incorporelles 20 ACT
-21 immobilisations corporelles 2 ACT
-23 immobilisations en cours 2 ACT
-27 autres immobilisations financieres 2 ACT
-280 Amortissements des immobilisations incorporelles 2 ACT
-281 Amortissements des immobilisations corporelles 2 ACT
-290 Provisions pour dépréciation des immobilisations incorporelles 2
ACT
-291 Provisions pour dépréciation des immobilisations corporelles (même
ventilation que celle du compte 21) 2 ACT
-297 Provisions pour dépréciation des autres immobilisations financières
2 ACT
-3 comptes de stocks et en cours 0 ACT
-31 matieres premières (et fournitures) 3 ACT
-32 autres approvisionnements 3 ACT
-33 en-cours de production de biens 3 ACT
-34 en-cours de production de services 3 ACT
-35 stocks de produits 3 ACT
-37 stocks de marchandises 3 ACT
-391 Provisions pour dépréciation des matières premières (et fournitures)
3 ACT
-392 Provisions pour dépréciation des autres approvisionnements 3
ACT
-393 Provisions pour dépréciation des en-cours de production de biens
3 ACT
-394 Provisions pour dépréciation des en-cours de production de services
3 ACT
-395 Provisions pour dépréciation des stocks de produits 3 ACT
-397 Provisions pour dépréciation des stocks de marchandises 3 ACT
-4 comptes de tiers 0 CON
-400 Fournisseurs et Comptes rattachés 4 ACT
-409 Fournisseurs débiteurs 4 ACT
-410 Clients et Comptes rattachés 4 ACT
-419 Clients créditeurs 4 ACT
-421 Personnel - Rémunérations dues 4 PAS
-428 Personnel - Charges à payer et produits à recevoir 4 PAS
-43 Sécurité sociale et autres organismes sociaux 4 PAS
-444 Etat - Impôts sur les bénéfices 4 PAS
-445 Etat - Taxes sur le chiffre d'affaires 4 PAS
-447 Autres impôts, taxes et versements assimilés 4 PAS
-45 Groupe et associes 4 PAS
-455 Associés - Comptes courants 45 PAS
-46 Débiteurs divers et créditeurs divers 4 CON
-47 comptes transitoires ou d'attente 4 CON
-481 Charges à répartir sur plusieurs exercices 4 PAS
-486 Charges constatées d'avance 4 PAS
-487 Produits constatés d'avance 4 ACT
-491 Provisions pour dépréciation des comptes de clients 4 PAS
-496 Provisions pour dépréciation des comptes de débiteurs divers 4
PAS
-5 comptes financiers 0 ACT
-50 valeurs mobilières de placement 5 ACT
-51 banques, établissements financiers et assimilés 5 ACT
-53 Caisse 5 ACT
-54 régies d'avance et accréditifs 5 ACT
-58 virements internes 5 ACT
-590 Provisions pour dépréciation des valeurs mobilières de placement
5 ACT
-6 comptes de charges 0 CHA
-60 Achats (sauf 603) 6 CHA
-603 variations des stocks (approvisionnements et marchandises) 6
CHA
-61 autres charges externes - Services extérieurs 6 CHA
-62 autres charges externes - Autres services extérieurs 6 CHA
-63 Impôts, taxes et versements assimiles 6 CHA
-641 Rémunérations du personnel 6 CHA
-644 Rémunération du travail de l'exploitant 6 CHA
-645 Charges de sécurité sociale et de prévoyance 6 CHA
-646 Cotisations sociales personnelles de l'exploitant 6 CHA
-65 Autres charges de gestion courante 6 CHA
-66 Charges financières 6 CHA
-67 Charges exceptionnelles 6 CHA
-681 Dotations aux amortissements et aux provisions - Charges d'exploitation
6 CHA
-686 Dotations aux amortissements et aux provisions - Charges financières
6 CHA
-687 Dotations aux amortissements et aux provisions - Charges
exceptionnelles 6 CHA
-691 Participation des salariés aux résultats 6 CHA
-695 Impôts sur les bénéfices 6 CHA
-697 Imposition forfaitaire annuelle des sociétés 6 CHA
-699 Produits - Reports en arrière des déficits 6 CHA
-7 comptes de produits 0 PAS
-701 Ventes de produits finis 7 PAS
-706 Prestations de services 7 PAS
-707 Ventes de marchandises 7 PAS
-708 Produits des activités annexes 7 PAS
-709 Rabais, remises et ristournes accordés par l'entreprise 7 PAS
-713 Variation des stocks (en-cours de production, produits) 7 PAS
-72 Production immobilisée 7 PAS
-73 Produits nets partiels sur opérations à long terme 7 PAS
-74 Subventions d'exploitation 7 PAS
-75 Autres produits de gestion courante 7 PAS
-753 Jetons de présence et rémunérations d'administrateurs, gérants,...
75 PAS
-754 Ristournes perçues des coopératives (provenant des excédents) 75
PAS
-755 Quotes-parts de résultat sur opérations faites en commun 75
PAS
-76 Produits financiers 7 PAS
-77 Produits exceptionnels 7 PAS
-781 Reprises sur amortissements et provisions (à inscrire dans les produits
d'exploitation) 7 PAS
-786 Reprises sur provisions pour risques (à inscrire dans les produits
financiers) 7 PAS
-787 Reprises sur provisions (à inscrire dans les produits exceptionnels)
7 PAS
-79 Transferts de charges 7 PAS
-8 Comptes spéciaux 0 CON
-9 Comptes analytiques 0 CON
-4456601 TVA 19,6% - France métropolitaine - Taux immobilisations
Déductible 4456 ACT
-445701 TVA 19,6% - France métropolitaine - Taux immobilisations Collectée
4457 PAS
-4456602 TVA x% - France métropolitaine - Taux anciens Déductible
4456 ACT
-445702 TVA x% - France métropolitaine - Taux anciens Collectée 4457
PAS
-4456603 TVA 8,5% - DOM - Taux normal Déductible 4456 ACT
-445703 TVA 8,5% - DOM - Taux normal Collectée 4457 PAS
-4456604 TVA 8,5% - DOM - Taux normal NPR Déductible 4456 ACT
-445704 TVA 8,5% - DOM - Taux normal NPR Collectée 4457 PAS
-4456605 TVA 2,1% - DOM - Taux réduit Déductible 4456 ACT
-445705 TVA 2,1% - DOM - Taux réduit Collectée 4457 PAS
-4456606 TVA 1,75% - DOM - Taux I Déductible 4456 ACT
-445706 TVA 1,75% - DOM - Taux I Collectée 4457 PAS
-4456607 TVA 1,05% - DOM - Taux publications de presse Déductible
4456 ACT
-445707 TVA 1,05% - DOM - Taux publications de presse Collectée 4457
PAS
-4456608 TVA x% - DOM - Taux octroi de mer Déductible 4456 ACT
-445708 TVA x% - DOM - Taux octroi de mer Collectée 4457 PAS
-4456609 TVA x% - DOM - Taux immobilisations Déductible 4456 ACT
-445709 TVA x% - DOM - Taux immobilisations Collectée 4457 PAS
-44566010 TVA 13% - Corse - Taux I Déductible 4456 ACT
-4457010 TVA 13% - Corse - Taux I Collectée 4457 PAS
-44566011 TVA 8% - Corse - Taux II Déductible 4456 ACT
-4457011 TVA 8% - Corse - Taux II Collectée 4457 PAS
-44566012 TVA 2,1% - Corse - Taux III Déductible 4456 ACT
-4457012 TVA 2,1% - Corse - Taux III Collectée 4457 PAS
-44566013 TVA 0,9% - Corse - Taux IV Déductible 4456 ACT
-4457013 TVA 0,9% - Corse - Taux IV Collectée 4457 PAS
-44566014 TVA x% - Corse - Taux immobilisations Déductible 4456
ACT
-4457014 TVA x% - Corse - Taux immobilisations Collectée 4457
PAS
-44566015 TVA x% - Acquisitions intracommunautaires/Pays Déductible
4456 ACT
-4457015 TVA x% - Acquisitions intracommunautaires/Pays Collectée
4457 PAS
-44566016 TVA x% - Acquisitions intracommunautaires immobilisations/Pays
Déductible 4456 ACT
-4457016 TVA x% - Acquisitions intracommunautaires immobilisations/Pays
Collectée 4457 PAS
-44566017 TVA x% - Non imposable : Achats en franchise Déductible 4456
ACT
-4457017 TVA x% - Non imposable : Achats en franchise Collectée 4457
PAS
-44566018 TVA x% - Non imposable : Exports hors CE/Pays Déductible
4456 ACT
-4457018 TVA x% - Non imposable : Exports hors CE/Pays Collectée
4457 PAS
-44566019 TVA x% - Non imposable : Autres opérations Déductible 4456
ACT
-4457019 TVA x% - Non imposable : Autres opérations Collectée 4457
PAS
-44566020 TVA x% - Non imposable : Livraisons intracommunautaires/Pays
Déductible 4456 ACT
-4457020 TVA x% - Non imposable : Livraisons intracommunautaires/Pays
Collectée 4457 PAS
-445661 TVA 19,6% - France métropolitaine - Taux normal 445 PAS
-445662 TVA 5,5% - France métropolitaine - Taux réduit 445 PAS
-445663 TVA 2,1% - France métropolitaine - Taux super réduit 445 PAS
-44571 TVA 19,6% - France métropolitaine - Taux normal 445 ACT
-44572 TVA 5,5% - France métropolitaine - Taux réduit 445 ACT
-44573 TVA 2,1% - France métropolitaine - Taux super réduit 445 ACT
-\.
+INSERT INTO tmp_pcmn VALUES ('1', 'comptes de capitaux', '0', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('101', 'Capital', '1', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('105', 'Ecarts de réévaluation', '1', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('1061', 'Réserve légale', '1', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('1063', 'Réserves statutaires ou contractuelles',
'1', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('1064', 'Réserves réglementées', '1', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('1068', 'Autres réserves', '1', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('108', 'Compte de l''exploitant', '1', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('12', 'résultat de l''exercice (bénéfice ou
perte)', '1', 'CON');
+INSERT INTO tmp_pcmn VALUES ('145', 'Amortissements dérogatoires', '1', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('146', 'Provision spéciale de réévaluation', '1',
'PAS');
+INSERT INTO tmp_pcmn VALUES ('147', 'Plus-values réinvesties', '1', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('148', 'Autres provisions réglementées', '1',
'PAS');
+INSERT INTO tmp_pcmn VALUES ('15', 'Provisions pour risques et charges', '1',
'PAS');
+INSERT INTO tmp_pcmn VALUES ('16', 'emprunts et dettes assimilees', '1',
'PAS');
+INSERT INTO tmp_pcmn VALUES ('2', 'comptes d''immobilisations', '0', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('20', 'immobilisations incorporelles', '2',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('201', 'Frais d''établissement', '20', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('206', 'Droit au bail', '20', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('207', 'Fonds commercial', '20', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('208', 'Autres immobilisations incorporelles',
'20', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('21', 'immobilisations corporelles', '2', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('23', 'immobilisations en cours', '2', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('27', 'autres immobilisations financieres', '2',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('280', 'Amortissements des immobilisations
incorporelles', '2', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('281', 'Amortissements des immobilisations
corporelles', '2', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('290', 'Provisions pour dépréciation des
immobilisations incorporelles', '2', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('291', 'Provisions pour dépréciation des
immobilisations corporelles (même ventilation que celle du compte 21)', '2',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('297', 'Provisions pour dépréciation des autres
immobilisations financières', '2', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('3', 'comptes de stocks et en cours', '0', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('31', 'matieres premières (et fournitures)', '3',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('32', 'autres approvisionnements', '3', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('33', 'en-cours de production de biens', '3',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('34', 'en-cours de production de services', '3',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('35', 'stocks de produits', '3', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('37', 'stocks de marchandises', '3', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('391', 'Provisions pour dépréciation des matières
premières (et fournitures)', '3', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('392', 'Provisions pour dépréciation des autres
approvisionnements', '3', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('393', 'Provisions pour dépréciation des en-cours
de production de biens', '3', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('394', 'Provisions pour dépréciation des en-cours
de production de services', '3', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('395', 'Provisions pour dépréciation des stocks
de produits', '3', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('397', 'Provisions pour dépréciation des stocks
de marchandises', '3', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('4', 'comptes de tiers', '0', 'CON');
+INSERT INTO tmp_pcmn VALUES ('400', 'Fournisseurs et Comptes rattachés', '4',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('409', 'Fournisseurs débiteurs', '4', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('410', 'Clients et Comptes rattachés', '4',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('419', 'Clients créditeurs', '4', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('421', 'Personnel - Rémunérations dues', '4',
'PAS');
+INSERT INTO tmp_pcmn VALUES ('428', 'Personnel - Charges à payer et produits à
recevoir', '4', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('43', 'Sécurité sociale et autres organismes
sociaux', '4', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('444', 'Etat - Impôts sur les bénéfices', '4',
'PAS');
+INSERT INTO tmp_pcmn VALUES ('445', 'Etat - Taxes sur le chiffre d''affaires',
'4', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('447', 'Autres impôts, taxes et versements
assimilés', '4', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('45', 'Groupe et associes', '4', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('455', 'Associés - Comptes courants', '45',
'PAS');
+INSERT INTO tmp_pcmn VALUES ('46', 'Débiteurs divers et créditeurs divers',
'4', 'CON');
+INSERT INTO tmp_pcmn VALUES ('47', 'comptes transitoires ou d''attente', '4',
'CON');
+INSERT INTO tmp_pcmn VALUES ('481', 'Charges à répartir sur plusieurs
exercices', '4', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('486', 'Charges constatées d''avance', '4',
'PAS');
+INSERT INTO tmp_pcmn VALUES ('487', 'Produits constatés d''avance', '4',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('491', 'Provisions pour dépréciation des comptes
de clients', '4', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('496', 'Provisions pour dépréciation des comptes
de débiteurs divers', '4', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('5', 'comptes financiers', '0', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('50', 'valeurs mobilières de placement', '5',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('51', 'banques, établissements financiers et
assimilés', '5', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('53', 'Caisse', '5', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('54', 'régies d''avance et accréditifs', '5',
'ACT');
+INSERT INTO tmp_pcmn VALUES ('58', 'virements internes', '5', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('590', 'Provisions pour dépréciation des valeurs
mobilières de placement', '5', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('6', 'comptes de charges', '0', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('60', 'Achats (sauf 603)', '6', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('603', 'variations des stocks (approvisionnements
et marchandises)', '6', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('61', 'autres charges externes - Services
extérieurs', '6', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('62', 'autres charges externes - Autres services
extérieurs', '6', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('63', 'Impôts, taxes et versements assimiles',
'6', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('641', 'Rémunérations du personnel', '6', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('644', 'Rémunération du travail de
l''exploitant', '6', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('645', 'Charges de sécurité sociale et de
prévoyance', '6', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('646', 'Cotisations sociales personnelles de
l''exploitant', '6', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('65', 'Autres charges de gestion courante', '6',
'CHA');
+INSERT INTO tmp_pcmn VALUES ('66', 'Charges financières', '6', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('67', 'Charges exceptionnelles', '6', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('681', 'Dotations aux amortissements et aux
provisions - Charges d''exploitation', '6', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('686', 'Dotations aux amortissements et aux
provisions - Charges financières', '6', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('687', 'Dotations aux amortissements et aux
provisions - Charges exceptionnelles', '6', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('691', 'Participation des salariés aux
résultats', '6', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('695', 'Impôts sur les bénéfices', '6', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('697', 'Imposition forfaitaire annuelle des
sociétés', '6', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('699', 'Produits - Reports en arrière des
déficits', '6', 'CHA');
+INSERT INTO tmp_pcmn VALUES ('7', 'comptes de produits', '0', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('701', 'Ventes de produits finis', '7', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('706', 'Prestations de services', '7', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('707', 'Ventes de marchandises', '7', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('708', 'Produits des activités annexes', '7',
'PAS');
+INSERT INTO tmp_pcmn VALUES ('709', 'Rabais, remises et ristournes accordés
par l''entreprise', '7', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('713', 'Variation des stocks (en-cours de
production, produits)', '7', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('72', 'Production immobilisée', '7', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('73', 'Produits nets partiels sur opérations à
long terme', '7', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('74', 'Subventions d''exploitation', '7', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('75', 'Autres produits de gestion courante', '7',
'PAS');
+INSERT INTO tmp_pcmn VALUES ('753', 'Jetons de présence et rémunérations
d''administrateurs, gérants,...', '75', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('754', 'Ristournes perçues des coopératives
(provenant des excédents)', '75', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('755', 'Quotes-parts de résultat sur opérations
faites en commun', '75', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('76', 'Produits financiers', '7', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('77', 'Produits exceptionnels', '7', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('781', 'Reprises sur amortissements et provisions
(à inscrire dans les produits d''exploitation)', '7', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('786', 'Reprises sur provisions pour risques (à
inscrire dans les produits financiers)', '7', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('787', 'Reprises sur provisions (à inscrire dans
les produits exceptionnels)', '7', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('79', 'Transferts de charges', '7', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('8', 'Comptes spéciaux', '0', 'CON');
+INSERT INTO tmp_pcmn VALUES ('9', 'Comptes analytiques', '0', 'CON');
+INSERT INTO tmp_pcmn VALUES ('4456601', 'TVA 19,6% - France métropolitaine -
Taux immobilisations Déductible', '4456', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('445701', 'TVA 19,6% - France métropolitaine -
Taux immobilisations Collectée ', '4457', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('4456602', 'TVA x% - France métropolitaine - Taux
anciens Déductible', '4456', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('445702', 'TVA x% - France métropolitaine - Taux
anciens Collectée ', '4457', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('4456603', 'TVA 8,5% - DOM - Taux normal
Déductible', '4456', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('445703', 'TVA 8,5% - DOM - Taux normal
Collectée ', '4457', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('4456604', 'TVA 8,5% - DOM - Taux normal NPR
Déductible', '4456', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('445704', 'TVA 8,5% - DOM - Taux normal NPR
Collectée ', '4457', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('4456605', 'TVA 2,1% - DOM - Taux réduit
Déductible', '4456', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('445705', 'TVA 2,1% - DOM - Taux réduit Collectée
', '4457', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('4456606', 'TVA 1,75% - DOM - Taux I Déductible',
'4456', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('445706', 'TVA 1,75% - DOM - Taux I Collectée ',
'4457', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('4456607', 'TVA 1,05% - DOM - Taux publications
de presse Déductible', '4456', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('445707', 'TVA 1,05% - DOM - Taux publications de
presse Collectée ', '4457', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('4456608', 'TVA x% - DOM - Taux octroi de mer
Déductible', '4456', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('445708', 'TVA x% - DOM - Taux octroi de mer
Collectée ', '4457', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('4456609', 'TVA x% - DOM - Taux immobilisations
Déductible', '4456', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('445709', 'TVA x% - DOM - Taux immobilisations
Collectée ', '4457', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('44566010', 'TVA 13% - Corse - Taux I
Déductible', '4456', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('4457010', 'TVA 13% - Corse - Taux I Collectée ',
'4457', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('44566011', 'TVA 8% - Corse - Taux II
Déductible', '4456', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('4457011', 'TVA 8% - Corse - Taux II Collectée ',
'4457', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('44566012', 'TVA 2,1% - Corse - Taux III
Déductible', '4456', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('4457012', 'TVA 2,1% - Corse - Taux III Collectée
', '4457', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('44566013', 'TVA 0,9% - Corse - Taux IV
Déductible', '4456', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('4457013', 'TVA 0,9% - Corse - Taux IV Collectée
', '4457', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('44566014', 'TVA x% - Corse - Taux
immobilisations Déductible', '4456', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('4457014', 'TVA x% - Corse - Taux immobilisations
Collectée ', '4457', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('44566015', 'TVA x% - Acquisitions
intracommunautaires/Pays Déductible', '4456', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('4457015', 'TVA x% - Acquisitions
intracommunautaires/Pays Collectée ', '4457', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('44566016', 'TVA x% - Acquisitions
intracommunautaires immobilisations/Pays Déductible', '4456', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('4457016', 'TVA x% - Acquisitions
intracommunautaires immobilisations/Pays Collectée ', '4457', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('44566017', 'TVA x% - Non imposable : Achats en
franchise Déductible', '4456', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('4457017', 'TVA x% - Non imposable : Achats en
franchise Collectée ', '4457', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('44566018', 'TVA x% - Non imposable : Exports
hors CE/Pays Déductible', '4456', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('4457018', 'TVA x% - Non imposable : Exports hors
CE/Pays Collectée ', '4457', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('44566019', 'TVA x% - Non imposable : Autres
opérations Déductible', '4456', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('4457019', 'TVA x% - Non imposable : Autres
opérations Collectée ', '4457', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('44566020', 'TVA x% - Non imposable : Livraisons
intracommunautaires/Pays Déductible', '4456', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('4457020', 'TVA x% - Non imposable : Livraisons
intracommunautaires/Pays Collectée ', '4457', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('445661', 'TVA 19,6% - France métropolitaine -
Taux normal', '445', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('445662', 'TVA 5,5% - France métropolitaine -
Taux réduit', '445', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('445663', 'TVA 2,1% - France métropolitaine -
Taux super réduit', '445', 'PAS');
+INSERT INTO tmp_pcmn VALUES ('44571', 'TVA 19,6% - France métropolitaine -
Taux normal', '445', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('44572', 'TVA 5,5% - France métropolitaine - Taux
réduit', '445', 'ACT');
+INSERT INTO tmp_pcmn VALUES ('44573', 'TVA 2,1% - France métropolitaine - Taux
super réduit', '445', 'ACT');
--
-- Data for Name: todo_list; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY todo_list (tl_id, tl_date, tl_title, tl_desc, use_login) FROM stdin;
-\.
--
-- Data for Name: tva_rate; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY tva_rate (tva_id, tva_label, tva_rate, tva_comment, tva_poste,
tva_both_side) FROM stdin;
-101 FR_NOR 0.1960 TVA 19,6% - France métropolitaine - Taux normal
445661,44571 0
-102 FR_RED 0.0550 TVA 5,5% - France métropolitaine - Taux réduit
445662,44572 0
-103 FR_SRED 0.0210 TVA 2,1% - France métropolitaine - Taux super réduit
445663,44573 0
-104 FR_IMMO 0.1960 TVA 19,6% - France métropolitaine - Taux
immobilisations 4456601,445701 0
-105 FR_ANC 0.0000 TVA x% - France métropolitaine - Taux anciens
4456602,445702 0
-201 DOM 0.0850 TVA 8,5% - DOM - Taux normal 4456603,445703 0
-202 DOM_NPR 0.0850 TVA 8,5% - DOM - Taux normal NPR 4456604,445704 0
-203 DOM_REDUIT 0.0210 TVA 2,1% - DOM - Taux réduit 4456605,445705 0
-204 DOM_I 0.0175 TVA 1,75% - DOM - Taux I 4456606,445706 0
-205 DOM_PRESSE 0.0105 TVA 1,05% - DOM - Taux publications de presse
4456607,445707 0
-206 DOM_OCTROI 0.0000 TVA x% - DOM - Taux octroi de mer
4456608,445708 0
-207 DOM_IMMO 0.0000 TVA x% - DOM - Taux immobilisations
4456609,445709 0
-301 COR_I 0.1300 TVA 13% - Corse - Taux I 44566010,4457010 0
-302 COR_II 0.0800 TVA 8% - Corse - Taux II 44566011,4457011 0
-303 COR_III 0.0210 TVA 2,1% - Corse - Taux III 44566012,4457012 0
-304 COR_IV 0.0090 TVA 0,9% - Corse - Taux IV 44566013,4457013 0
-305 COR_IMMO 0.0000 TVA x% - Corse - Taux immobilisations
44566014,4457014 0
-401 INTRA 0.0000 TVA x% - Acquisitions intracommunautaires/Pays
44566015,4457015 0
-402 INTRA_IMMMO 0.0000 TVA x% - Acquisitions intracommunautaires
immobilisations/Pays 44566016,4457016 0
-501 FRANCH 0.0000 TVA x% - Non imposable : Achats en franchise
44566017,4457017 0
-502 EXPORT 0.0000 TVA x% - Non imposable : Exports hors CE/Pays
44566018,4457018 0
-503 AUTRE 0.0000 TVA x% - Non imposable : Autres opérations
44566019,4457019 0
-504 INTRA_LIV 0.0000 TVA x% - Non imposable : Livraisons
intracommunautaires/Pays 44566020,4457020 0
-\.
+INSERT INTO tva_rate VALUES (101, 'FR_NOR', 0.1960, 'TVA 19,6% - France
métropolitaine - Taux normal', '445661,44571', 0);
+INSERT INTO tva_rate VALUES (102, 'FR_RED', 0.0550, 'TVA 5,5% - France
métropolitaine - Taux réduit', '445662,44572', 0);
+INSERT INTO tva_rate VALUES (103, 'FR_SRED', 0.0210, 'TVA 2,1% - France
métropolitaine - Taux super réduit', '445663,44573', 0);
+INSERT INTO tva_rate VALUES (104, 'FR_IMMO', 0.1960, 'TVA 19,6% - France
métropolitaine - Taux immobilisations', '4456601,445701', 0);
+INSERT INTO tva_rate VALUES (105, 'FR_ANC', 0.0000, 'TVA x% - France
métropolitaine - Taux anciens', '4456602,445702', 0);
+INSERT INTO tva_rate VALUES (201, 'DOM', 0.0850, 'TVA 8,5% - DOM - Taux
normal', '4456603,445703', 0);
+INSERT INTO tva_rate VALUES (202, 'DOM_NPR', 0.0850, 'TVA 8,5% - DOM - Taux
normal NPR', '4456604,445704', 0);
+INSERT INTO tva_rate VALUES (203, 'DOM_REDUIT', 0.0210, 'TVA 2,1% - DOM - Taux
réduit', '4456605,445705', 0);
+INSERT INTO tva_rate VALUES (204, 'DOM_I', 0.0175, 'TVA 1,75% - DOM - Taux I',
'4456606,445706', 0);
+INSERT INTO tva_rate VALUES (205, 'DOM_PRESSE', 0.0105, 'TVA 1,05% - DOM -
Taux publications de presse', '4456607,445707', 0);
+INSERT INTO tva_rate VALUES (206, 'DOM_OCTROI', 0.0000, 'TVA x% - DOM - Taux
octroi de mer', '4456608,445708', 0);
+INSERT INTO tva_rate VALUES (207, 'DOM_IMMO', 0.0000, 'TVA x% - DOM - Taux
immobilisations', '4456609,445709', 0);
+INSERT INTO tva_rate VALUES (301, 'COR_I', 0.1300, 'TVA 13% - Corse - Taux I',
'44566010,4457010', 0);
+INSERT INTO tva_rate VALUES (302, 'COR_II', 0.0800, 'TVA 8% - Corse - Taux
II', '44566011,4457011', 0);
+INSERT INTO tva_rate VALUES (303, 'COR_III', 0.0210, 'TVA 2,1% - Corse - Taux
III', '44566012,4457012', 0);
+INSERT INTO tva_rate VALUES (304, 'COR_IV', 0.0090, 'TVA 0,9% - Corse - Taux
IV', '44566013,4457013', 0);
+INSERT INTO tva_rate VALUES (305, 'COR_IMMO', 0.0000, 'TVA x% - Corse - Taux
immobilisations', '44566014,4457014', 0);
+INSERT INTO tva_rate VALUES (401, 'INTRA', 0.0000, 'TVA x% - Acquisitions
intracommunautaires/Pays', '44566015,4457015', 0);
+INSERT INTO tva_rate VALUES (402, 'INTRA_IMMMO', 0.0000, 'TVA x% -
Acquisitions intracommunautaires immobilisations/Pays', '44566016,4457016', 0);
+INSERT INTO tva_rate VALUES (501, 'FRANCH', 0.0000, 'TVA x% - Non imposable :
Achats en franchise', '44566017,4457017', 0);
+INSERT INTO tva_rate VALUES (502, 'EXPORT', 0.0000, 'TVA x% - Non imposable :
Exports hors CE/Pays', '44566018,4457018', 0);
+INSERT INTO tva_rate VALUES (503, 'AUTRE', 0.0000, 'TVA x% - Non imposable :
Autres opérations', '44566019,4457019', 0);
+INSERT INTO tva_rate VALUES (504, 'INTRA_LIV', 0.0000, 'TVA x% - Non imposable
: Livraisons intracommunautaires/Pays', '44566020,4457020', 0);
--
-- Data for Name: user_local_pref; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY user_local_pref (user_id, parameter_type, parameter_value) FROM stdin;
-1 MINIREPORT 0
-1 PERIODE 105
-\.
+INSERT INTO user_local_pref VALUES ('1', 'MINIREPORT', '0');
+INSERT INTO user_local_pref VALUES ('1', 'PERIODE', '105');
--
-- Data for Name: user_sec_act; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY user_sec_act (ua_id, ua_login, ua_act_id) FROM stdin;
-\.
--
-- Data for Name: user_sec_extension; Type: TABLE DATA; Schema: public; Owner:
-
--
-COPY user_sec_extension (use_id, ex_id, use_login, use_access) FROM stdin;
-\.
--
-- Data for Name: user_sec_jrn; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY user_sec_jrn (uj_id, uj_login, uj_jrn_id, uj_priv) FROM stdin;
-\.
--
-- Data for Name: version; Type: TABLE DATA; Schema: public; Owner: -
--
-COPY version (val) FROM stdin;
-99
-\.
+INSERT INTO version VALUES (99);
--
---
PhpCompta est un logiciel de comptabilité libre en ligne (full web)
Projet opensource http://www.phpcompta.eu
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpcompta-dev] r4833 - phpcompta/branches/rel601-ovh/contrib/mono-dossier,
phpcompta-dev <=