1 |
<?xml version="1.0" encoding="ISO-8859-1"?> |
<?xml version="1.0" encoding="ISO-8859-1"?> |
2 |
<!DOCTYPE form SYSTEM "gnue-forms.dtd"> |
<!DOCTYPE form SYSTEM "gnue-forms.dtd"> |
3 |
|
|
4 |
<form tabbed="top" title="Clientes" |
<form tabbed="top" title="Clientes" height="18" width="64"> |
5 |
height="17" width="44"> |
<!-- <maintoolbar enabled=""/> --> |
6 |
<maintoolbar enabled=""/> |
<datasource name="focusDataSource" cache="1"/> |
7 |
<datasource name="clientDataSource" database="papo" table="entity,alienentity,persona,client" prequery=""> |
<datasource name="searchDataSource" cache="1"/> |
8 |
|
<datasource name="clientResultDataSource" database="papo" |
9 |
|
table="entity, _entity_data, alien_entity, _alien_entity_data, persona, _persona_data, client, _client_data" |
10 |
|
historytable="_entity_data, _alien_entity_data, _persona_data, _client_data"> |
11 |
<condition> |
<condition> |
12 |
<and> |
<and> |
13 |
<eq> |
<eq> |
14 |
<cfield name="entity.id"/> |
<cfield name="entity.id"/> |
15 |
<cfield name="alienentity.entity"/> |
<cfield name="_entity_data._table"/> |
16 |
</eq> |
</eq> |
17 |
<eq> |
<eq> |
18 |
<cfield name="alienentity.id"/> |
<cfield name="alien_entity.id"/> |
19 |
<cfield name="persona.alien_entity"/> |
<cfield name="_alien_entity_data._table"/> |
20 |
</eq> |
</eq> |
21 |
<eq> |
<eq> |
22 |
<cfield name="persona.id"/> |
<cfield name="persona.id"/> |
23 |
<cfield name="client.persona"/> |
<cfield name="_persona_data._table"/> |
24 |
|
</eq> |
25 |
|
<eq> |
26 |
|
<cfield name="client.id"/> |
27 |
|
<cfield name="_client_data._table"/> |
28 |
</eq> |
</eq> |
29 |
<eq> |
<eq> |
30 |
<cfield name="entity.id"/> |
<cfield name="entity.id"/> |
31 |
<cfield name="alienentity.entity"/> |
<cfield name="_alien_entity_data.entity"/> |
32 |
|
</eq> |
33 |
|
<eq> |
34 |
|
<cfield name="alien_entity.id"/> |
35 |
|
<cfield name="_persona_data.alien_entity"/> |
36 |
|
</eq> |
37 |
|
<eq> |
38 |
|
<cfield name="persona.id"/> |
39 |
|
<cfield name="_client_data.persona"/> |
40 |
</eq> |
</eq> |
41 |
|
<null> |
42 |
|
<cfield name="_entity_data._end_t"/> |
43 |
|
</null> |
44 |
|
<null> |
45 |
|
<cfield name="_alien_entity_data._end_t"/> |
46 |
|
</null> |
47 |
|
<null> |
48 |
|
<cfield name="_persona_data._end_t"/> |
49 |
|
</null> |
50 |
|
<null> |
51 |
|
<cfield name="_client_data._end_t"/> |
52 |
|
</null> |
53 |
</and> |
</and> |
54 |
</condition> |
</condition> |
55 |
</datasource> |
</datasource> |
56 |
|
|
57 |
<datasource database="papo" detaillink="creditlimit.entity" |
<datasource name="clientDataSource" database="papo" |
58 |
master="clientDataSource" masterlink="entity.id" name="creditLimitDataSource" |
table="entity, _entity_data, alien_entity, _alien_entity_data, persona, _persona_data, client, _client_data" |
59 |
table="creditlimit"/> |
historytable="_entity_data, _alien_entity_data, _persona_data, _client_data"> |
60 |
<datasource name="movementTypeDataSource" database="papo" table="movementtype"/> |
<condition> |
61 |
|
<and> |
62 |
|
<eq> |
63 |
|
<cfield name="entity.id"/> |
64 |
|
<cfield name="_entity_data._table"/> |
65 |
|
</eq> |
66 |
|
<eq> |
67 |
|
<cfield name="alien_entity.id"/> |
68 |
|
<cfield name="_alien_entity_data._table"/> |
69 |
|
</eq> |
70 |
|
<eq> |
71 |
|
<cfield name="persona.id"/> |
72 |
|
<cfield name="_persona_data._table"/> |
73 |
|
</eq> |
74 |
|
<eq> |
75 |
|
<cfield name="client.id"/> |
76 |
|
<cfield name="_client_data._table"/> |
77 |
|
</eq> |
78 |
|
<eq> |
79 |
|
<cfield name="entity.id"/> |
80 |
|
<cfield name="_alien_entity_data.entity"/> |
81 |
|
</eq> |
82 |
|
<eq> |
83 |
|
<cfield name="alien_entity.id"/> |
84 |
|
<cfield name="_persona_data.alien_entity"/> |
85 |
|
</eq> |
86 |
|
<eq> |
87 |
|
<cfield name="persona.id"/> |
88 |
|
<cfield name="_client_data.persona"/> |
89 |
|
</eq> |
90 |
|
<null> |
91 |
|
<cfield name="_entity_data._end_t"/> |
92 |
|
</null> |
93 |
|
<null> |
94 |
|
<cfield name="_alien_entity_data._end_t"/> |
95 |
|
</null> |
96 |
|
<null> |
97 |
|
<cfield name="_persona_data._end_t"/> |
98 |
|
</null> |
99 |
|
<null> |
100 |
|
<cfield name="_client_data._end_t"/> |
101 |
|
</null> |
102 |
|
</and> |
103 |
|
</condition> |
104 |
|
</datasource> |
105 |
|
|
106 |
|
<datasource name="creditLimit1DataSource" database="papo" |
107 |
|
detaillink="_credit_limit_data.entity" master="clientDataSource" |
108 |
|
masterlink="entity.id" table="credit_limit, _credit_limit_data" historytable="_credit_limit_data"> |
109 |
|
<condition> |
110 |
|
<and> |
111 |
|
<eq> |
112 |
|
<cfield name="credit_limit.id"/> |
113 |
|
<cfield name="_credit_limit_data._table"/> |
114 |
|
</eq> |
115 |
|
<eq> |
116 |
|
<cfield name="_credit_limit_data.movement_type"/> |
117 |
|
<cconst value="1"/> |
118 |
|
</eq> |
119 |
|
<null> |
120 |
|
<cfield name="_credit_limit_data._end_t"/> |
121 |
|
</null> |
122 |
|
</and> |
123 |
|
</condition> |
124 |
|
</datasource> |
125 |
|
|
126 |
|
<datasource name="movementTypeDataSource" database="papo" table="_movement_type_data"> |
127 |
|
<condition> |
128 |
|
<null> |
129 |
|
<cfield name="_movement_type_data._end_t"/> |
130 |
|
</null> |
131 |
|
</condition> |
132 |
|
</datasource> |
133 |
|
|
134 |
|
<datasource name="entityUID_CUIT_DataSource" database="papo" |
135 |
|
detaillink="_entity_uid_data.entity" master="clientDataSource" |
136 |
|
masterlink="entity.id" table="entity_uid, _entity_uid_data" historytable="_entity_uid_data"> |
137 |
|
<condition> |
138 |
|
<and> |
139 |
|
<eq> |
140 |
|
<cfield name="entity_uid.id"/> |
141 |
|
<cfield name="_entity_uid_data._table"/> |
142 |
|
</eq> |
143 |
|
<eq> |
144 |
|
<cfield name="_entity_uid_data.entity_uid_type"/> |
145 |
|
<cconst value="1"/> |
146 |
|
</eq> |
147 |
|
<null> |
148 |
|
<cfield name="_entity_uid_data._end_t"/> |
149 |
|
</null> |
150 |
|
</and> |
151 |
|
</condition> |
152 |
|
</datasource> |
153 |
|
|
154 |
|
<datasource name="entityUID_IB_DataSource" database="papo" |
155 |
|
detaillink="_entity_uid_data.entity" master="clientDataSource" |
156 |
|
masterlink="entity.id" table="entity_uid, _entity_uid_data" historytable="_entity_uid_data"> |
157 |
|
<condition> |
158 |
|
<and> |
159 |
|
<eq> |
160 |
|
<cfield name="entity_uid.id"/> |
161 |
|
<cfield name="_entity_uid_data._table"/> |
162 |
|
</eq> |
163 |
|
<eq> |
164 |
|
<cfield name="_entity_uid_data.entity_uid_type"/> |
165 |
|
<cconst value="2"/> |
166 |
|
</eq> |
167 |
|
<null> |
168 |
|
<cfield name="_entity_uid_data._end_t"/> |
169 |
|
</null> |
170 |
|
</and> |
171 |
|
</condition> |
172 |
|
</datasource> |
173 |
|
|
174 |
|
<datasource name="entityUIDTypeDataSource" database="papo" table="_entity_uid_type_data"> |
175 |
|
<condition> |
176 |
|
<null> |
177 |
|
<cfield name="_entity_uid_type_data._end_t"/> |
178 |
|
</null> |
179 |
|
</condition> |
180 |
|
</datasource> |
181 |
|
|
182 |
<datasource name="addressDataSource" |
<datasource name="addressDataSource" |
183 |
database="papo" table="address" |
database="papo" table="address, _address_data" historytable="_address_data" |
184 |
master="clientDataSource" masterlink="entity.id" detaillink="address.entity"/> |
master="clientDataSource" masterlink="entity.id" detaillink="_address_data.entity"> |
185 |
|
<condition> |
186 |
|
<and> |
187 |
|
<eq> |
188 |
|
<cfield name="address.id"/> |
189 |
|
<cfield name="_address_data._table"/> |
190 |
|
</eq> |
191 |
|
<null> |
192 |
|
<cfield name="_address_data._end_t"/> |
193 |
|
</null> |
194 |
|
</and> |
195 |
|
</condition> |
196 |
|
</datasource> |
197 |
|
|
198 |
|
<datasource name="telephoneDataSource" |
199 |
|
database="papo" table="telephone, _telephone_data" historytable="_telephone_data" |
200 |
|
master="clientDataSource" masterlink="entity.id" detaillink="_telephone_data.entity"> |
201 |
|
<condition> |
202 |
|
<and> |
203 |
|
<eq> |
204 |
|
<cfield name="telephone.id"/> |
205 |
|
<cfield name="_telephone_data._table"/> |
206 |
|
</eq> |
207 |
|
<null> |
208 |
|
<cfield name="_telephone_data._end_t"/> |
209 |
|
</null> |
210 |
|
</and> |
211 |
|
</condition> |
212 |
|
</datasource> |
213 |
|
|
214 |
|
<trigger name="clientCommitTrigger" type="NAMED"> |
215 |
|
if clientBlock.getCurrentRecord().isInserted(): |
216 |
|
tmpCL2 = str(creditLimit2Block.creditLimitEntry) |
217 |
|
if not tmpCL2: tmpCL2 = "0.0" |
218 |
|
|
219 |
|
creditLimit2Block.newRecord() |
220 |
|
creditLimit2Block.movementTypeEntry = 2 |
221 |
|
creditLimit2Block.creditLimitEntry = tmpCL2 |
222 |
|
clientBlock.commit() |
223 |
|
creditLimit2Block.commit() |
224 |
|
clientBlock.jumpRecord(2) |
225 |
|
tmpClientId = str(clientBlock.clientIdEntry) |
226 |
|
clientBlock.processRollback() |
227 |
|
clientBlock.initQuery() |
228 |
|
clientBlock.clientIdEntry = tmpClientId |
229 |
|
clientBlock.processQuery() |
230 |
|
else: |
231 |
|
clientBlock.commit() |
232 |
|
|
233 |
|
</trigger> |
234 |
|
|
235 |
|
<trigger name="clientDeleteTrigger" type="NAMED"> |
236 |
|
clientBlock.deleteRecord() |
237 |
|
clientBlock.commit() |
238 |
|
</trigger> |
239 |
|
|
240 |
|
<trigger name="clientRollbackTrigger" type="NAMED"> |
241 |
|
clientBlock.processRollback(1) |
242 |
|
</trigger> |
243 |
|
|
244 |
|
<trigger name="clientAskForChangesTrigger" type="NAMED"> |
245 |
|
if not clientBlock.isSaved(): |
246 |
|
rv = self.genericBox('Hay cambios pendientes \n¿ Qué desea hacer ?',['Grabar','Deshacer']) |
247 |
|
if rv == 1: |
248 |
|
clientBlock.commit() |
249 |
|
else: |
250 |
|
clientBlock.processRollback(1) |
251 |
|
</trigger> |
252 |
|
|
253 |
|
<trigger name="clientRollbackTrigger" type="NAMED"> |
254 |
|
clientBlock.processRollback(1) |
255 |
|
clientUID_CUIT_Block.processRollback(1) |
256 |
|
clientUID_IB_Block.processRollback(1) |
257 |
|
print "cancelar" |
258 |
|
</trigger> |
259 |
|
|
260 |
|
<trigger name="telephoneCommitTrigger" type="NAMED"> |
261 |
|
telephoneBlock.commit() |
262 |
|
</trigger> |
263 |
|
|
264 |
|
<trigger name="telephoneDeleteTrigger" type="NAMED"> |
265 |
|
telephoneBlock.deleteRecord() |
266 |
|
telephoneBlock.commit() |
267 |
|
</trigger> |
268 |
|
|
269 |
|
<trigger name="telephoneRollbackTrigger" type="NAMED"> |
270 |
|
telephoneBlock.processRollback(1) |
271 |
|
</trigger> |
272 |
|
|
273 |
<datasource name="phoneDataSource" |
<trigger name="addressCommitTrigger" type="NAMED"> |
274 |
database="papo" table="telephone" |
addressBlock.commit() |
275 |
master="clientDataSource" masterlink="entity.id" detaillink="telephone.entity"/> |
</trigger> |
276 |
|
|
277 |
|
<trigger name="addressDeleteTrigger" type="NAMED"> |
278 |
|
addressBlock.deleteRecord() |
279 |
|
addressBlock.commit() |
280 |
|
</trigger> |
281 |
|
|
282 |
|
<trigger name="addressRollbackTrigger" type="NAMED"> |
283 |
|
addressBlock.processRollback(1) |
284 |
|
</trigger> |
285 |
|
|
286 |
|
<trigger name="creditLimitCommitTrigger" type="NAMED"> |
287 |
|
creditLimit2Block.commit() |
288 |
|
</trigger> |
289 |
|
|
290 |
|
<trigger name="creditLimitRollbackTrigger" type="NAMED"> |
291 |
|
creditLimit2Block.processRollback(1) |
292 |
|
</trigger> |
293 |
|
|
294 |
|
<trigger type="NAMED" name="clientSearchTrigger"> |
295 |
|
clientResultBlock.processRollback() |
296 |
|
clientResultBlock.initQuery() |
297 |
|
clientResultBlock.nameListEntry = ("%s" % clientSearchBlock.searchNameEntry)+"%" |
298 |
|
clientResultBlock.processQuery() |
299 |
|
</trigger> |
300 |
|
|
301 |
<page name="Clientes"> |
<page name="Clientes"> |
302 |
|
<trigger type="Pre-Focusout"> |
303 |
|
clientBlock.processRollback() |
304 |
|
clientBlock.initQuery() |
305 |
|
clientBlock.clientIdEntry = ("%s" % clientResultBlock.clientIdREntry) |
306 |
|
clientBlock.processQuery() |
307 |
|
</trigger> |
308 |
|
<block name="clientSearchBlock" datasource="searchDataSource" transparentBlock=""> |
309 |
|
<label text="Nombre o Razón Social a buscar" |
310 |
|
x="1" y="1"/> |
311 |
|
<entry name="searchNameEntry" |
312 |
|
x="1" y="2" width="35"> |
313 |
|
<trigger type="Post-Focusin"> |
314 |
|
#clientResultBlock.processRollback() |
315 |
|
#clientSearchBlock.searchNameEntry = "" |
316 |
|
</trigger> |
317 |
|
</entry> |
318 |
|
<button x="36" y="2" trigger="clientSearchTrigger" width="9" label="Buscar" |
319 |
|
name="searchBtn" height="1"/> |
320 |
|
</block> |
321 |
|
<block name="clientResultBlock" datasource="clientResultDataSource"> |
322 |
|
<entry name="clientIdREntry" field="entity.id" hidden="" x="1" y="1" width="20" /> |
323 |
|
<label text="Resultado" x="1" y="3"/> |
324 |
|
<entry name="nameListEntry" field="_entity_data.name" |
325 |
|
x="1" y="4" width="40" rows="12"/> |
326 |
|
<scrollbar page="12" |
327 |
|
x="42" y="4" width="1" height="12"/> |
328 |
|
|
329 |
|
</block> |
330 |
|
</page> |
331 |
|
<page name="Cliente"> |
332 |
|
<trigger type="Pre-Focusout" src="clientAskForChangesTrigger"/> |
333 |
|
<trigger type="Pre-Focusin"> |
334 |
|
#if not str(clientUID_CUIT_Block.uid_CUIT_TypeEntry): |
335 |
|
# clientUID_CUIT_Block.uid_CUIT_TypeEntry = "1" |
336 |
|
# clientUID_IB_Block.uid_IB_TypeEntry = "2" |
337 |
|
</trigger> |
338 |
<box label="Datos" |
<box label="Datos" |
339 |
x="0" y="0" height="18" width="44"> |
x="0" y="0" height="20" width="64"> |
340 |
<block name="clientBlock" datasource="clientDataSource"> |
<block name="clientBlock" datasource="clientDataSource"> |
341 |
|
<entry name="clientIdEntry" field="entity.id" hidden="" |
342 |
|
x="1" y="1" width="20"/> |
343 |
<label text="Nombre o Razón Social" |
<label text="Nombre o Razón Social" |
344 |
x="1" y="1"/> |
x="1" y="1"/> |
345 |
<entry name="name" field="entity.name" |
<entry name="nameEntry" field="_entity_data.name" |
346 |
x="1" y="2" width="40"/> |
x="1" y="2" width="40"/> |
347 |
|
<label text="Puntaje" |
|
<label text="Comisión" |
|
348 |
x="1" y="3"/> |
x="1" y="3"/> |
349 |
<entry name="comm" field="client.commission" typecast="number" |
<entry name="scoreEntry" field="_client_data.score" typecast="number" |
350 |
x="1" y="4" width="10"/> |
x="1" y="4" width="10"/> |
|
<label text="Puntaje" |
|
|
x="1" y="5"/> |
|
|
<entry name="score" field="client.score" typecast="number" |
|
|
x="1" y="6" width="10"/> |
|
351 |
<label text="Observaciones" |
<label text="Observaciones" |
352 |
x="17" y="3"/> |
x="1" y="5"/> |
353 |
<entry name="score" field="entity.observations" |
<entry name="obs" field="_entity_data.observations" |
354 |
x="17" y="4" width="25" height="14"/> |
x="1" y="6" width="25" height="5"/> |
355 |
|
<button x="1" y="17" trigger="clientCommitTrigger" width="9" label="Aceptar" |
356 |
|
name="clientCommitBtn" height="1"/> |
357 |
|
<button x="11" y="17" trigger="clientDeleteTrigger" width="9" label="Borrar" |
358 |
|
name="clientRollbackBtn" height="1"/> |
359 |
|
<button x="21" y="17" trigger="clientRollbackTrigger" width="9" label="Cancelar" |
360 |
|
name="clientRollbackBtn" height="1"/> |
361 |
|
</block> |
362 |
|
<block name="clientUID_CUIT_Block" datasource="entityUID_CUIT_DataSource"> |
363 |
|
<entry x="1" y="12" field="_entity_uid_data.entity_uid_type" |
364 |
|
name="uid_CUIT_TypeEntry" |
365 |
|
width="14" style="textlookup" readonly="" foreign_key="entityUIDTypeDataSource.id" |
366 |
|
foreign_key_description="name" /> |
367 |
|
<entry name="uidEntry" field="_entity_uid_data.uid" |
368 |
|
x="15" y="12" width="24"/> |
369 |
|
</block> |
370 |
|
<block name="clientUID_IB_Block" datasource="entityUID_IB_DataSource"> |
371 |
|
<entry x="1" y="13" field="_entity_uid_data.entity_uid_type" |
372 |
|
name="uid_IB_TypeEntry" |
373 |
|
width="14" style="textlookup" readonly="" foreign_key="entityUIDTypeDataSource.id" |
374 |
|
foreign_key_description="name" /> |
375 |
|
<entry name="uidEntry" field="_entity_uid_data.uid" |
376 |
|
x="15" y="13" width="24"/> |
377 |
</block> |
</block> |
378 |
</box> |
</box> |
379 |
</page> |
</page> |
380 |
|
|
381 |
<page name="Direcciones"> |
<page name="Direcciones"> |
382 |
|
<trigger type="Pre-Focusout" src="clientAskForChangesTrigger"/> |
383 |
<box label="Direcciones" |
<box label="Direcciones" |
384 |
x="0" y="0" height="5" width="44"> |
x="0" y="0" height="5" width="64"> |
385 |
<block name="addressClientBlock" datasource="clientDataSource"> |
<block name="addressClientBlock" datasource="clientDataSource"> |
386 |
<label text="Nombre o Razón Social" |
<label text="Nombre o Razón Social" |
387 |
x="1" y="1"/> |
x="1" y="1"/> |
388 |
<entry name="name" field="entity.name" |
<entry name="name" field="_entity_data.name" readonly="" |
389 |
x="1" y="2" width="40"/> |
x="1" y="2" width="40"> |
390 |
|
</entry> |
391 |
</block> |
</block> |
392 |
</box> |
</box> |
393 |
<box label="Direcciones" |
<box label="Direcciones" |
394 |
x="0" y="6" height="12" width="44"> |
x="0" y="5" height="15" width="64"> |
395 |
<block name="addressBlock" datasource="addressDataSource"> |
<block name="addressBlock" datasource="addressDataSource"> |
396 |
<label text="Direcciones" |
<label text="Direcciones" |
397 |
x="1" y="1"/> |
x="1" y="1"/> |
398 |
<entry name="address" field="address.address" rows="4" |
<entry name="address" field="_address_data.address" rows="4" |
399 |
x="1" y="2" width="39"/> |
x="1" y="2" width="39"/> |
400 |
<scrollbar page="4" |
<scrollbar page="4" |
401 |
x="41" y="2" width="1" height="4"/> |
x="41" y="2" width="1" height="4"/> |
402 |
|
<button x="1" y="12" trigger="addressCommitTrigger" width="9" label="Aceptar" |
403 |
|
name="addressCommitBtn" height="1"/> |
404 |
|
<button x="11" y="12" trigger="addressDeleteTrigger" width="9" label="Borrar" |
405 |
|
name="addressDeleteBtn" height="1"/> |
406 |
|
<button x="21" y="12" trigger="addressRollbackTrigger" width="9" label="Cancelar" |
407 |
|
name="addressRollbackBtn" height="1"/> |
408 |
</block> |
</block> |
409 |
</box> |
</box> |
410 |
</page> |
</page> |
411 |
|
|
412 |
<page name="Teléfonos"> |
<page name="Teléfonos"> |
413 |
|
<trigger type="Pre-Focusout" src="clientAskForChangesTrigger"/> |
414 |
<box label="Teléfonos" |
<box label="Teléfonos" |
415 |
x="0" y="0" height="5" width="44"> |
x="0" y="0" height="5" width="64"> |
416 |
<block name="clientPhoneBlock" datasource="clientDataSource"> |
<block name="clientTelephoneBlock" datasource="clientDataSource"> |
417 |
<label text="Nombre o Razón Social" |
<label text="Nombre o Razón Social" |
418 |
x="1" y="1"/> |
x="1" y="1"/> |
419 |
<entry name="name" field="entity.name" |
<entry name="name" field="_entity_data.name" readonly="" |
420 |
x="1" y="2" width="40"/> |
x="1" y="2" width="40"/> |
421 |
</block> |
</block> |
422 |
</box> |
</box> |
423 |
<box label="Teléfonos" |
<box label="Teléfonos" |
424 |
x="0" y="6" height="12" width="44"> |
x="0" y="5" height="15" width="64"> |
425 |
<block name="phoneBlock" datasource="phoneDataSource"> |
<block name="telephoneBlock" datasource="telephoneDataSource"> |
426 |
<label text="Teléfonos" |
<label text="Teléfonos" |
427 |
x="1" y="1"/> |
x="1" y="1"/> |
428 |
<entry name="phone" field="telephone.telephone" rows="4" |
<entry name="telephone" field="_telephone_data.telephone" rows="4" |
429 |
x="1" y="2" width="39"/> |
x="1" y="2" width="39"/> |
430 |
<scrollbar page="4" |
<scrollbar page="4" |
431 |
x="41" y="2" width="1" height="4"/> |
x="41" y="2" width="1" height="4"/> |
432 |
|
<button x="1" y="12" trigger="telephoneCommitTrigger" width="9" label="Aceptar" |
433 |
|
name="telephoneCommitBtn" height="1"/> |
434 |
|
<button x="11" y="12" trigger="telephoneDeleteTrigger" width="9" label="Borrar" |
435 |
|
name="telephoneDeleteBtn" height="1"/> |
436 |
|
<button x="21" y="12" trigger="telephoneRollbackTrigger" width="9" label="Cancelar" |
437 |
|
name="telephoneRollbackBtn" height="1"/> |
438 |
</block> |
</block> |
439 |
</box> |
</box> |
440 |
</page> |
</page> |
441 |
|
|
442 |
<page name="Límites de crédito"> |
<page name="Límites de crédito"> |
443 |
|
<trigger type="Pre-Focusout" src="clientAskForChangesTrigger"/> |
444 |
<box label="Límites de Crédito" |
<box label="Límites de Crédito" |
445 |
x="0" y="0" height="5" width="44"> |
x="0" y="0" height="5" width="64"> |
446 |
<block name="clientCreditLimitBlock" datasource="clientDataSource"> |
<block name="clientCreditLimitBlock" datasource="clientDataSource"> |
447 |
<label text="Nombre o Razón Social" |
<label text="Nombre o Razón Social" |
448 |
x="1" y="1"/> |
x="1" y="1"/> |
449 |
<entry name="name" field="entity.name" |
<entry name="name" field="_entity_data.name" readonly="" |
450 |
x="1" y="2" width="40"/> |
x="1" y="2" width="40"/> |
451 |
</block> |
</block> |
452 |
</box> |
</box> |
453 |
<box label="Tipos de límite Crédito" |
<box label="Tipos de límite Crédito" |
454 |
x="0" y="6" height="12" width="44"> |
x="0" y="5" height="15" width="64"> |
455 |
<block name="creditLimitBlock" datasource="creditLimitDataSource"> |
<block name="creditLimit2Block" datasource="creditLimit1DataSource"> |
456 |
<label text="Tipo de límite" |
<entry name="movementTypeEntry" field="_credit_limit_data.movement_type" hidden="" |
457 |
x="1" y="1"/> |
x="1" y="1" width="14"/> |
458 |
<entry x="1" y="2" field="creditlimit.movement_type" |
<entry x="1" y="3" field="_credit_limit_data.movement_type" |
459 |
name="clientEntry" rows="4" |
name="movementTypeEntry" |
460 |
width="24" style="dropdown" foreign_key="movementTypeDataSource.id" |
width="24" style="textlookup" readonly="" foreign_key="movementTypeDataSource.id" |
461 |
foreign_key_description="name" /> |
foreign_key_description="name" /> |
462 |
<label text="Límite" |
<entry name="creditLimitEntry" field="_credit_limit_data.credit_limit" |
463 |
x="26" y="1"/> |
x="26" y="3" width="14"/> |
|
<entry name="name" field="creditlimit.credit_limit" rows="4" |
|
|
x="26" y="2" width="14"/> |
|
|
<scrollbar page="4" |
|
|
x="41" y="2" width="1" height="4"/> |
|
464 |
</block> |
</block> |
465 |
|
<button x="1" y="12" trigger="creditLimitCommitTrigger" width="9" label="Aceptar" |
466 |
|
name="creditLimitCommitBtn" height="1"/> |
467 |
|
<button x="11" y="12" trigger="creditLimitRollbackTrigger" width="9" label="Cancelar" |
468 |
|
name="creditLimitRollbackBtn" height="1"/> |
469 |
</box> |
</box> |
470 |
</page> |
</page> |
471 |
</form> |
</form> |