-
Notifications
You must be signed in to change notification settings - Fork 0
/
crmprobcierre.scx.xml
359 lines (346 loc) · 6.6 KB
/
crmprobcierre.scx.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
<?xml version = "1.0" encoding="UTF-8" standalone="yes"?>
<VFPData>
<record>
<platform>COMMENT</platform>
<uniqueid>Screen</uniqueid>
<timestamp>0</timestamp>
<class/>
<classloc/>
<baseclass/>
<objname/>
<parent/>
<properties/>
<protected/>
<methods/>
<objcode/>
<ole/>
<ole2/>
<reserved1>VERSION = 3.00</reserved1>
<reserved2/>
<reserved3/>
<reserved4/>
<reserved5/>
<reserved6/>
<reserved7/>
<reserved8/>
<user/>
</record>
<record>
<platform>WINDOWS</platform>
<uniqueid>_49G11EF1X</uniqueid>
<timestamp>1177783136</timestamp>
<class>dataenvironment</class>
<classloc/>
<baseclass>dataenvironment</baseclass>
<objname>Dataenvironment</objname>
<parent/>
<properties>Left = 1
Top = 220
Width = 520
Height = 200
Name = "Dataenvironment"
</properties>
<protected/>
<methods/>
<objcode/>
<ole/>
<ole2/>
<reserved1/>
<reserved2>1</reserved2>
<reserved3/>
<reserved4>2</reserved4>
<reserved5/>
<reserved6/>
<reserved7/>
<reserved8/>
<user/>
</record>
<record>
<platform>WINDOWS</platform>
<uniqueid>_49G11EF1Y</uniqueid>
<timestamp>1178358365</timestamp>
<class>formamsl</class>
<classloc>..\..\msllib60\msllib60.vcx</classloc>
<baseclass>form</baseclass>
<objname>Formamsl1</objname>
<parent/>
<properties>Height = 271
Width = 290
DoCreate = .T.
Caption = "Oportunidades - Probab. Cierre"
Name = "Formamsl1"
Marco.Name = "Marco"
</properties>
<protected/>
<methods>PROCEDURE Init
*
* Init
*
* Obtener los tipos de probabilidad de cierre desde el Config.msl
cTipos = GetMsl('CrmProbCierre')
cTipoProb = ''
* Crear el temporal donde se van a almacenar los tipos
Create Cursor TipoProb(TIPO C(15))
* Agregarlos al temporal
i = 1
Do While .T.
cTipoProb = SubLin(cTipos,i)
If Empty(cTipoProb)
Exit
Endif
Insert Into TipoProb Values (cTipoProb)
i=i+1
EndDo
* Agregar 10 registros en blanco
For i=1 to 10
Append Blank
Next
Go Top
* Asignar el temporal al grid
ThisForm.Grid1.RecordSource = 'TipoProb'
ENDPROC
PROCEDURE Unload
*
* UnLoad
*
* Borrar el temporal
DelAlias('TipoProb')
ENDPROC
</methods>
<objcode/>
<ole/>
<ole2/>
<reserved1/>
<reserved2/>
<reserved3/>
<reserved4/>
<reserved5/>
<reserved6/>
<reserved7/>
<reserved8/>
<user/>
</record>
<record>
<platform>WINDOWS</platform>
<uniqueid>_49G11EF1Z</uniqueid>
<timestamp>1178358365</timestamp>
<class>grid</class>
<classloc/>
<baseclass>grid</baseclass>
<objname>Grid1</objname>
<parent>Formamsl1</parent>
<properties>ColumnCount = 1
FontSize = 8
AllowAddNew = .T.
DeleteMark = .F.
GridLines = 2
HeaderHeight = 0
Height = 201
Left = 24
RecordMark = .F.
RowHeight = 17
ScrollBars = 2
TabIndex = 1
Top = 15
Width = 242
Name = "Grid1"
Column1.FontSize = 8
Column1.Width = 220
Column1.Name = "Column1"
</properties>
<protected/>
<methods/>
<objcode/>
<ole/>
<ole2/>
<reserved1/>
<reserved2/>
<reserved3/>
<reserved4/>
<reserved5/>
<reserved6/>
<reserved7/>
<reserved8/>
<user/>
</record>
<record>
<platform>WINDOWS</platform>
<uniqueid>_49G11EF20</uniqueid>
<timestamp>1177783136</timestamp>
<class>header</class>
<classloc/>
<baseclass>header</baseclass>
<objname>Header1</objname>
<parent>Formamsl1.Grid1.Column1</parent>
<properties>FontSize = 8
Caption = "Header1"
Name = "Header1"
</properties>
<protected/>
<methods/>
<objcode/>
<ole/>
<ole2/>
<reserved1/>
<reserved2/>
<reserved3/>
<reserved4/>
<reserved5/>
<reserved6/>
<reserved7/>
<reserved8/>
<user/>
</record>
<record>
<platform>WINDOWS</platform>
<uniqueid>_49G11EF21</uniqueid>
<timestamp>1178358365</timestamp>
<class>textbox</class>
<classloc/>
<baseclass>textbox</baseclass>
<objname>Text1</objname>
<parent>Formamsl1.Grid1.Column1</parent>
<properties>FontSize = 8
BorderStyle = 0
Margin = 0
ForeColor = 0,0,0
BackColor = 255,255,255
Name = "Text1"
</properties>
<protected/>
<methods>PROCEDURE LostFocus
*
* TipoProb.TIPO
*
* Bajarme al siguiente renglon al presionar [Enter]
*
If LastKey() == 13
KeyBoard'{DNARROW}'
EndIf
ENDPROC
</methods>
<objcode/>
<ole/>
<ole2/>
<reserved1/>
<reserved2/>
<reserved3/>
<reserved4/>
<reserved5/>
<reserved6/>
<reserved7/>
<reserved8/>
<user/>
</record>
<record>
<platform>WINDOWS</platform>
<uniqueid>_49G11EF22</uniqueid>
<timestamp>1178358365</timestamp>
<class>boton</class>
<classloc>..\..\msllib60\msllib60.vcx</classloc>
<baseclass>commandbutton</baseclass>
<objname>grabar</objname>
<parent>Formamsl1</parent>
<properties>Top = 231
Left = 62
Height = 25
Width = 60
Caption = "\<Grabar"
TabIndex = 2
Name = "grabar"
</properties>
<protected/>
<methods>PROCEDURE Click
*
* Grabar
*
* Grabar en el Config.msl los tipos de probabilidad de cierre
*
With ThisForm
* Recorrer el temporal
cTipoProb = ''
Select TipoProb
Scan
If Not Empty(TIPO)
cTipoProb = cTipoProb + IIF(Not Empty(cTipoProb),'^','') + Allt(TIPO)
EndIf
EndScan
* Grabar en el Config.msl la informacion
PutMsl('CrmProbCierre', cTipoProb)
* Cerrar la ventana
.Release
EndWith
ENDPROC
</methods>
<objcode/>
<ole/>
<ole2/>
<reserved1/>
<reserved2/>
<reserved3/>
<reserved4/>
<reserved5/>
<reserved6/>
<reserved7/>
<reserved8/>
<user/>
</record>
<record>
<platform>WINDOWS</platform>
<uniqueid>_49G11EF23</uniqueid>
<timestamp>1178358365</timestamp>
<class>closebutton</class>
<classloc>..\..\msllib60\msllib60.vcx</classloc>
<baseclass>commandbutton</baseclass>
<objname>cerrar</objname>
<parent>Formamsl1</parent>
<properties>Top = 231
Left = 167
Height = 25
Width = 60
TabIndex = 3
Name = "cerrar"
</properties>
<protected/>
<methods/>
<objcode/>
<ole/>
<ole2/>
<reserved1/>
<reserved2/>
<reserved3/>
<reserved4/>
<reserved5/>
<reserved6/>
<reserved7/>
<reserved8/>
<user/>
</record>
<record>
<platform>COMMENT</platform>
<uniqueid>RESERVED</uniqueid>
<timestamp>0</timestamp>
<class/>
<classloc/>
<baseclass/>
<objname/>
<parent/>
<properties>Arial, 0, 9, 5, 15, 12, 32, 3, 0
Arial, 0, 8, 5, 14, 11, 29, 3, 0
</properties>
<protected/>
<methods/>
<objcode/>
<ole/>
<ole2/>
<reserved1/>
<reserved2/>
<reserved3/>
<reserved4/>
<reserved5/>
<reserved6/>
<reserved7/>
<reserved8/>
<user/>
</record>
</VFPData>