/[openfoncier]/trunk/sql/pgsql/demandeur.import.inc.php
ViewVC logotype

Contents of /trunk/sql/pgsql/demandeur.import.inc.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3730 - (show annotations)
Fri Mar 18 11:50:26 2016 UTC (8 years, 10 months ago) by mbroquet
File size: 4725 byte(s)
Actualisation du trunk
1 <?php
2 //$Id: demandeur.import.inc.php 4418 2015-02-24 17:30:28Z tbenita $
3 //gen openMairie le 06/02/2015 16:44
4
5 $import= "Insertion dans la table demandeur voir rec/import_utilisateur.inc";
6 $table= DB_PREFIXE."demandeur";
7 $id='demandeur'; // numerotation automatique
8 $verrou=1;// =0 pas de mise a jour de la base / =1 mise a jour
9 $fic_rejet=1; // =0 pas de fichier pour relance / =1 fichier relance traitement
10 $ligne1=1;// = 1 : 1ere ligne contient nom des champs / o sinon
11 /**
12 *
13 */
14 $fields = array(
15 "demandeur" => array(
16 "notnull" => "1",
17 "type" => "int",
18 "len" => "11",
19 ),
20 "type_demandeur" => array(
21 "notnull" => "",
22 "type" => "string",
23 "len" => "40",
24 ),
25 "qualite" => array(
26 "notnull" => "",
27 "type" => "string",
28 "len" => "40",
29 ),
30 "particulier_nom" => array(
31 "notnull" => "",
32 "type" => "string",
33 "len" => "100",
34 ),
35 "particulier_prenom" => array(
36 "notnull" => "",
37 "type" => "string",
38 "len" => "50",
39 ),
40 "particulier_date_naissance" => array(
41 "notnull" => "",
42 "type" => "date",
43 "len" => "12",
44 ),
45 "particulier_commune_naissance" => array(
46 "notnull" => "",
47 "type" => "string",
48 "len" => "30",
49 ),
50 "particulier_departement_naissance" => array(
51 "notnull" => "",
52 "type" => "string",
53 "len" => "80",
54 ),
55 "personne_morale_denomination" => array(
56 "notnull" => "",
57 "type" => "string",
58 "len" => "40",
59 ),
60 "personne_morale_raison_sociale" => array(
61 "notnull" => "",
62 "type" => "string",
63 "len" => "50",
64 ),
65 "personne_morale_siret" => array(
66 "notnull" => "",
67 "type" => "string",
68 "len" => "15",
69 ),
70 "personne_morale_categorie_juridique" => array(
71 "notnull" => "",
72 "type" => "string",
73 "len" => "15",
74 ),
75 "personne_morale_nom" => array(
76 "notnull" => "",
77 "type" => "string",
78 "len" => "50",
79 ),
80 "personne_morale_prenom" => array(
81 "notnull" => "",
82 "type" => "string",
83 "len" => "50",
84 ),
85 "numero" => array(
86 "notnull" => "",
87 "type" => "string",
88 "len" => "5",
89 ),
90 "voie" => array(
91 "notnull" => "",
92 "type" => "string",
93 "len" => "55",
94 ),
95 "complement" => array(
96 "notnull" => "",
97 "type" => "string",
98 "len" => "50",
99 ),
100 "lieu_dit" => array(
101 "notnull" => "",
102 "type" => "string",
103 "len" => "39",
104 ),
105 "localite" => array(
106 "notnull" => "",
107 "type" => "string",
108 "len" => "50",
109 ),
110 "code_postal" => array(
111 "notnull" => "",
112 "type" => "string",
113 "len" => "5",
114 ),
115 "bp" => array(
116 "notnull" => "",
117 "type" => "string",
118 "len" => "5",
119 ),
120 "cedex" => array(
121 "notnull" => "",
122 "type" => "string",
123 "len" => "5",
124 ),
125 "pays" => array(
126 "notnull" => "",
127 "type" => "string",
128 "len" => "40",
129 ),
130 "division_territoriale" => array(
131 "notnull" => "",
132 "type" => "string",
133 "len" => "40",
134 ),
135 "telephone_fixe" => array(
136 "notnull" => "",
137 "type" => "string",
138 "len" => "20",
139 ),
140 "telephone_mobile" => array(
141 "notnull" => "",
142 "type" => "string",
143 "len" => "20",
144 ),
145 "indicatif" => array(
146 "notnull" => "",
147 "type" => "string",
148 "len" => "5",
149 ),
150 "courriel" => array(
151 "notnull" => "",
152 "type" => "string",
153 "len" => "60",
154 ),
155 "notification" => array(
156 "notnull" => "",
157 "type" => "bool",
158 "len" => "1",
159 ),
160 "frequent" => array(
161 "notnull" => "",
162 "type" => "bool",
163 "len" => "1",
164 ),
165 "particulier_civilite" => array(
166 "notnull" => "",
167 "type" => "int",
168 "len" => "11",
169 "fkey" => array(
170 "foreign_table_name" => "civilite",
171 "foreign_column_name" => "civilite",
172 "sql_exist" => "select * from ".DB_PREFIXE."civilite where civilite = '",
173 ),
174 ),
175 "personne_morale_civilite" => array(
176 "notnull" => "",
177 "type" => "int",
178 "len" => "11",
179 "fkey" => array(
180 "foreign_table_name" => "civilite",
181 "foreign_column_name" => "civilite",
182 "sql_exist" => "select * from ".DB_PREFIXE."civilite where civilite = '",
183 ),
184 ),
185 "fax" => array(
186 "notnull" => "",
187 "type" => "string",
188 "len" => "20",
189 ),
190 );
191 ?>

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26