-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdataModule.main.dfm
743 lines (731 loc) · 19.5 KB
/
dataModule.main.dfm
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
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
object dmCrudSimples: TdmCrudSimples
OldCreateOrder = False
OnCreate = DataModuleCreate
Height = 552
Width = 438
object connectionSQL: TFDConnection
Params.Strings = (
'Database=D:\Desenvolvimento\Delphi\Projetos\CRUD-SQLITE\CRUD-SIM' +
'PLES\crudSimples.db'
'ConnectionDef=SQLite_Demo')
Connected = True
LoginPrompt = False
Left = 24
Top = 8
end
object SQLiteDriverLink: TFDPhysSQLiteDriverLink
Left = 80
Top = 8
end
object dsVenda: TDataSource
DataSet = qryVenda
Left = 376
Top = 136
end
object qryVenda: TFDQuery
AfterPost = qryVendaAfterPost
CachedUpdates = True
Connection = connectionSQL
Transaction = Transaction
UpdateTransaction = Transaction
SQL.Strings = (
'SELECT V.*,'
'(SELECT A.NOME FROM ALUNO A WHERE A.ID_ALUNO = V.ID_ALUNO) ALUNO' +
'_NOME,'
'(SELECT U.NOME FROM UNIDADE U WHERE U.ID_UNIDADE = V.ID_UNIDADE)' +
' UNIDADE_NOME,'
'(SELECT S.DESCRICAO FROM STATUSVENDA S WHERE S.ID_STATUSVENDA = ' +
'V.ID_STATUSVENDA) STATUS_VENDA'
' FROM VENDA V'
'WHERE ID_STATUSVENDA = :PID_STATUSVENDA ')
Left = 304
Top = 136
ParamData = <
item
Name = 'PID_STATUSVENDA'
DataType = ftInteger
ParamType = ptInput
Value = 1
end>
object qryVendaID_Venda: TFDAutoIncField
FieldName = 'ID_Venda'
LookupCache = True
Origin = 'ID_Venda'
ProviderFlags = [pfInWhere, pfInKey]
ReadOnly = True
DisplayFormat = '000'
end
object qryVendaValor_Juros: TFloatField
DisplayLabel = 'Juros'
FieldName = 'Valor_Juros'
Origin = 'Valor_Juros'
currency = True
end
object qryVendaValor_Desconto: TFloatField
DisplayLabel = 'Desconto'
FieldName = 'Valor_Desconto'
Origin = 'Valor_Desconto'
currency = True
end
object qryVendaValor_TotalCompra: TFloatField
DisplayLabel = 'Total de materiais'
FieldName = 'Valor_TotalCompra'
Origin = 'Valor_TotalCompra'
currency = True
end
object qryVendaValor_Final: TFloatField
DisplayLabel = 'Valor Total da Compra'
FieldName = 'Valor_Final'
Origin = 'Valor_Final'
currency = True
end
object qryVendaData_Pagto: TDateTimeField
DisplayLabel = 'Data Pagamento'
FieldName = 'Data_pagto'
Origin = 'Data_Pagto'
EditMask = '!99/99/0000;1;_'
end
object qryVendaData_Venda: TDateTimeField
DisplayLabel = 'Data da Venda'
FieldName = 'Data_Venda'
Origin = 'Data_Venda'
end
object qryVendaValor_Frete: TFloatField
DisplayLabel = 'Frete'
FieldName = 'Valor_Frete'
Origin = 'Valor_Frete'
currency = True
end
object qryVendaPeso_Venda: TFloatField
DisplayLabel = 'Peso total'
FieldName = 'Peso_Venda'
Origin = 'Peso_Venda'
end
object qryVendaID_Unidade: TIntegerField
DisplayLabel = 'Unidade'
FieldName = 'ID_Unidade'
Origin = 'ID_Unidade'
end
object qryVendaID_TipoEntrega: TIntegerField
FieldName = 'ID_TipoEntrega'
Origin = 'ID_TipoEntrega'
end
object qryVendaID_Aluno: TIntegerField
DisplayLabel = 'Aluno'
FieldName = 'ID_Aluno'
Origin = 'ID_Aluno'
end
object qryVendaid_StatusVenda: TIntegerField
DisplayLabel = 'Status Venda'
FieldName = 'id_StatusVenda'
Origin = 'id_StatusVenda'
end
object qryVendaALUNO_NOME: TWideStringField
AutoGenerateValue = arDefault
FieldName = 'ALUNO_NOME'
Origin = 'Nome'
ProviderFlags = []
ReadOnly = True
Size = 100
end
object qryVendaUNIDADE_NOME: TWideStringField
AutoGenerateValue = arDefault
FieldName = 'UNIDADE_NOME'
Origin = 'Nome'
ProviderFlags = []
ReadOnly = True
Size = 100
end
object qryVendaSTATUS_VENDA: TWideStringField
AutoGenerateValue = arDefault
FieldName = 'STATUS_VENDA'
Origin = 'Descricao'
ProviderFlags = []
ReadOnly = True
Size = 30
end
end
object qryAluno: TFDQuery
Active = True
Connection = connectionSQL
SQL.Strings = (
'SELECT A.*, (SELECT U.UF FROM UF U WHERE U.ID_UF = A.ID_UF)AS UF' +
' FROM ALUNO A')
Left = 24
Top = 192
object qryAlunoID_Aluno: TFDAutoIncField
FieldName = 'ID_Aluno'
Origin = 'ID_Aluno'
ProviderFlags = [pfInWhere, pfInKey]
ReadOnly = True
end
object qryAlunoNome: TWideStringField
FieldName = 'Nome'
Origin = 'Nome'
Required = True
Size = 100
end
object qryAlunoCPF: TWideStringField
FieldName = 'CPF'
Origin = 'CPF'
Size = 11
end
object qryAlunoEndereco: TWideStringField
DisplayLabel = 'Endere'#231'o'
FieldName = 'Endereco'
Origin = 'Endereco'
Size = 100
end
object qryAlunoEscolaridade: TWideStringField
FieldName = 'Escolaridade'
Origin = 'Escolaridade'
Size = 30
end
object qryAlunoID_UF: TIntegerField
FieldName = 'ID_UF'
Origin = 'ID_UF'
end
object qryAlunoUF: TWideStringField
AutoGenerateValue = arDefault
FieldName = 'UF'
Origin = 'UF'
ProviderFlags = []
ReadOnly = True
Size = 2
end
end
object dsAluno: TDataSource
DataSet = qryAluno
Left = 96
Top = 192
end
object qryUnidade: TFDQuery
Active = True
Connection = connectionSQL
SQL.Strings = (
'SELECT * FROM UNIDADE')
Left = 24
Top = 248
object qryUnidadeID_Unidade: TFDAutoIncField
FieldName = 'ID_Unidade'
Origin = 'ID_Unidade'
ProviderFlags = [pfInWhere, pfInKey]
ReadOnly = True
end
object qryUnidadeNome: TWideStringField
FieldName = 'Nome'
Origin = 'Nome'
Required = True
Size = 100
end
object qryUnidadeEndereco: TWideStringField
DisplayLabel = 'Endere'#231'o'
FieldName = 'Endereco'
Origin = 'Endereco'
Size = 100
end
object qryUnidadeID_UF: TIntegerField
FieldName = 'ID_UF'
Origin = 'ID_UF'
end
end
object dsUnidade: TDataSource
DataSet = qryUnidade
Left = 96
Top = 240
end
object qryMaterial: TFDQuery
Active = True
Connection = connectionSQL
SQL.Strings = (
'SELECT * FROM MATERIAL')
Left = 16
Top = 312
object qryMaterialID_Material: TFDAutoIncField
FieldName = 'ID_Material'
Origin = 'ID_Material'
ProviderFlags = [pfInWhere, pfInKey]
ReadOnly = True
end
object qryMaterialNome: TWideStringField
FieldName = 'Nome'
Origin = 'Nome'
Required = True
Size = 100
end
object qryMaterialMedidas: TWideStringField
FieldName = 'Medidas'
Origin = 'Medidas'
Size = 10
end
object qryMaterialPeso: TFloatField
FieldName = 'Peso'
Origin = 'Peso'
end
object qryMaterialValor_Venda: TFloatField
FieldName = 'Valor_Venda'
Origin = 'Valor_Venda'
currency = True
end
end
object dsMaterial: TDataSource
DataSet = qryMaterial
Left = 88
Top = 312
end
object qryEntrega: TFDQuery
Active = True
CachedUpdates = True
Connection = connectionSQL
Transaction = Transaction
UpdateTransaction = Transaction
SQL.Strings = (
'SELECT * FROM MATERIAL')
Left = 304
Top = 8
object qryEntregaID_Material: TFDAutoIncField
FieldName = 'ID_Material'
Origin = 'ID_Material'
ProviderFlags = [pfInWhere, pfInKey]
ReadOnly = True
end
object qryEntregaNome: TWideStringField
FieldName = 'Nome'
Origin = 'Nome'
Required = True
Size = 100
end
object qryEntregaMedidas: TWideStringField
FieldName = 'Medidas'
Origin = 'Medidas'
Size = 10
end
object qryEntregaPeso: TFloatField
FieldName = 'Peso'
Origin = 'Peso'
end
object qryEntregaValor_Venda: TFloatField
FieldName = 'Valor_Venda'
Origin = 'Valor_Venda'
end
end
object dsEntrega: TDataSource
DataSet = qryEntrega
Left = 376
Top = 8
end
object dsUF: TDataSource
DataSet = qryUF
Left = 88
Top = 136
end
object qryUF: TFDQuery
Active = True
Connection = connectionSQL
SQL.Strings = (
'SELECT * FROM UF')
Left = 16
Top = 136
object qryUFID_UF: TFDAutoIncField
FieldName = 'ID_UF'
Origin = 'ID_UF'
ProviderFlags = [pfInWhere, pfInKey]
ReadOnly = True
end
object qryUFNome: TWideStringField
FieldName = 'Nome'
Origin = 'Nome'
Required = True
Size = 100
end
object qryUFUF: TWideStringField
FieldName = 'UF'
Origin = 'UF'
Size = 2
end
end
object dsVendaItem: TDataSource
DataSet = qryVendaItem
Left = 376
Top = 72
end
object qryVendaItem: TFDQuery
CachedUpdates = True
MasterSource = dsVenda
MasterFields = 'ID_Venda'
DetailFields = 'ID_Venda'
Connection = connectionSQL
Transaction = Transaction
UpdateTransaction = Transaction
FormatOptions.AssignedValues = [fvMapRules]
FormatOptions.OwnMapRules = True
FormatOptions.MapRules = <
item
SourceDataType = dtDouble
TargetDataType = dtCurrency
end
item
SourceDataType = dtInt64
TargetDataType = dtDouble
end>
SQL.Strings = (
'SELECT VI.*, '
'(SELECT M.NOME FROM MATERIAL M WHERE M.ID_MATERIAL = VI.ID_MATER' +
'IAL) MaterialDesc'
'FROM VENDAITEM VI WHERE '
'(ID_Venda = :pID_Venda ) or (ID_Venda is not NULL AND :pID_Venda' +
' IS NULL)'
'')
Left = 296
Top = 72
ParamData = <
item
Name = 'PID_VENDA'
DataType = ftInteger
ParamType = ptInput
Value = Null
end>
object qryVendaItemID_VendaItem: TFDAutoIncField
DisplayLabel = 'Venda Item'
FieldName = 'ID_VendaItem'
Origin = 'ID_VendaItem'
ProviderFlags = [pfInWhere, pfInKey]
ReadOnly = True
end
object qryVendaItemID_Material: TIntegerField
DisplayLabel = 'Material'
FieldName = 'ID_Material'
Origin = 'ID_Material'
end
object qryVendaItemMaterialDesc: TWideStringField
AutoGenerateValue = arDefault
DisplayLabel = 'Material Descri'#231#227'o'
FieldName = 'MaterialDesc'
Origin = 'Nome'
ProviderFlags = []
ReadOnly = True
Size = 100
end
object qryVendaItemID_Venda: TIntegerField
DisplayLabel = 'Venda'
FieldName = 'ID_Venda'
Origin = 'ID_Venda'
end
object qryVendaItemQuantidade: TIntegerField
FieldName = 'Quantidade'
Origin = 'Quantidade'
EditFormat = '0000000000'
end
object qryVendaItemValor_VendaItem: TCurrencyField
DisplayLabel = 'Valor unit'#225'rio'
FieldName = 'Valor_VendaItem'
Origin = 'Valor_VendaItem'
end
object qryVendaItemValor_TotalItem: TCurrencyField
DisplayLabel = 'Valor total'
FieldName = 'Valor_TotalItem'
Origin = 'Valor_TotalItem'
end
object qryVendaItemPeso_VendaItem: TFloatField
DisplayLabel = 'Peso'
FieldName = 'Peso_VendaItem'
Origin = 'Peso_VendaItem'
end
end
object dsTipoEntrega: TDataSource
DataSet = qryTipoEntrega
Left = 368
Top = 192
end
object qryTipoEntrega: TFDQuery
Active = True
CachedUpdates = True
Connection = connectionSQL
Transaction = Transaction
UpdateTransaction = Transaction
FormatOptions.AssignedValues = [fvMapRules]
FormatOptions.OwnMapRules = True
FormatOptions.MapRules = <
item
SourceDataType = dtAnsiString
TargetDataType = dtDateTimeStamp
end>
SQL.Strings = (
'SELECT * FROM TIPOENTREGA')
Left = 296
Top = 192
object qryTipoEntregaID_TipoEntrega: TFDAutoIncField
FieldName = 'ID_TipoEntrega'
Origin = 'ID_TipoEntrega'
ProviderFlags = [pfInWhere, pfInKey]
ReadOnly = True
end
object qryTipoEntregaDescricao: TWideStringField
FieldName = 'Descricao'
Origin = 'Descricao'
Size = 30
end
end
object dsStatusVenda: TDataSource
DataSet = qryStatuVenda
Left = 368
Top = 256
end
object qryStatuVenda: TFDQuery
Active = True
CachedUpdates = True
Connection = connectionSQL
Transaction = Transaction
UpdateTransaction = Transaction
FormatOptions.AssignedValues = [fvMapRules]
FormatOptions.OwnMapRules = True
FormatOptions.MapRules = <
item
SourceDataType = dtAnsiString
TargetDataType = dtDateTimeStamp
end>
SQL.Strings = (
'SELECT * FROM statusvenda')
Left = 296
Top = 256
object qryStatuVendaID_StatusVenda: TFDAutoIncField
FieldName = 'ID_StatusVenda'
Origin = 'ID_StatusVenda'
ProviderFlags = [pfInWhere, pfInKey]
ReadOnly = True
end
object qryStatuVendaDescricao: TWideStringField
FieldName = 'Descricao'
Origin = 'Descricao'
Size = 30
end
end
object qryConsultaVenda: TFDQuery
Active = True
AfterPost = qryVendaAfterPost
CachedUpdates = True
Connection = connectionSQL
Transaction = Transaction
UpdateTransaction = Transaction
SQL.Strings = (
'SELECT V.*,'
'(SELECT A.NOME FROM ALUNO A WHERE A.ID_ALUNO = V.ID_ALUNO) ALUNO' +
'_NOME,'
'(SELECT U.NOME FROM UNIDADE U WHERE U.ID_UNIDADE = V.ID_UNIDADE)' +
' UNIDADE_NOME,'
'(SELECT S.DESCRICAO FROM STATUSVENDA S WHERE S.ID_STATUSVENDA = ' +
'V.ID_STATUSVENDA) STATUS_VENDA'
' FROM VENDA V'
'WHERE ID_STATUSVENDA = :PID_STATUSVENDA '
'AND V.ID_STATUSVENDA = 1')
Left = 304
Top = 336
ParamData = <
item
Name = 'PID_STATUSVENDA'
DataType = ftInteger
ParamType = ptInput
Value = 1
end>
object qryConsultaVendaID_Aluno: TIntegerField
DisplayLabel = 'Aluno'
FieldName = 'ID_Aluno'
Origin = 'ID_Aluno'
end
object qryConsultaVendaID_Venda: TFDAutoIncField
DisplayLabel = 'Venda'
FieldName = 'ID_Venda'
Origin = 'ID_Venda'
ProviderFlags = [pfInWhere, pfInKey]
ReadOnly = True
end
object qryConsultaVendaID_Unidade: TIntegerField
DisplayLabel = 'Unidade'
FieldName = 'ID_Unidade'
Origin = 'ID_Unidade'
end
object qryConsultaVendaid_StatusVenda: TIntegerField
DisplayLabel = 'Status Venda'
FieldName = 'id_StatusVenda'
Origin = 'id_StatusVenda'
end
object qryConsultaVendaID_TipoEntrega: TIntegerField
DisplayLabel = 'Tipo Entrega'
FieldName = 'ID_TipoEntrega'
Origin = 'ID_TipoEntrega'
end
object qryConsultaVendaPeso_Venda: TFloatField
DisplayLabel = 'Peso'
FieldName = 'Peso_Venda'
Origin = 'Peso_Venda'
end
object qryConsultaVendaValor_Frete: TFloatField
DisplayLabel = 'Frete'
FieldName = 'Valor_Frete'
Origin = 'Valor_Frete'
end
object qryConsultaVendaValor_Desconto: TFloatField
DisplayLabel = 'Desconto'
FieldName = 'Valor_Desconto'
Origin = 'Valor_Desconto'
end
object qryConsultaVendaValor_Juros: TFloatField
DisplayLabel = 'Juros'
FieldName = 'Valor_Juros'
Origin = 'Valor_Juros'
end
object qryConsultaVendaValor_TotalCompra: TFloatField
DisplayLabel = 'Valor dos itens'
FieldName = 'Valor_TotalCompra'
Origin = 'Valor_TotalCompra'
end
object qryConsultaVendaValor_Final: TFloatField
DisplayLabel = 'Valor total'
FieldName = 'Valor_Final'
Origin = 'Valor_Final'
end
object qryConsultaVendaData_Pagto: TDateTimeField
DisplayLabel = 'Data de Pagto'
FieldName = 'Data_Pagto'
Origin = 'Data_Pagto'
end
object qryConsultaVendaData_Venda: TDateTimeField
DisplayLabel = 'Data de Venda'
FieldName = 'Data_Venda'
Origin = 'Data_Venda'
end
object qryConsultaVendaALUNO_NOME: TWideStringField
AutoGenerateValue = arDefault
DisplayLabel = 'Nome do Aluno'
FieldName = 'ALUNO_NOME'
Origin = 'Nome'
ProviderFlags = []
ReadOnly = True
Size = 100
end
object qryConsultaVendaUNIDADE_NOME: TWideStringField
AutoGenerateValue = arDefault
DisplayLabel = 'Nome da Unidade'
FieldName = 'UNIDADE_NOME'
Origin = 'Nome'
ProviderFlags = []
ReadOnly = True
Size = 100
end
object qryConsultaVendaSTATUS_VENDA: TWideStringField
AutoGenerateValue = arDefault
DisplayLabel = 'Status Venda desc'
FieldName = 'STATUS_VENDA'
Origin = 'Descricao'
ProviderFlags = []
ReadOnly = True
Size = 30
end
end
object dsConsultaVenda: TDataSource
DataSet = qryConsultaVenda
Left = 376
Top = 336
end
object FDSQLiteCollation1: TFDSQLiteCollation
DriverLink = SQLiteDriverLink
Left = 176
Top = 184
end
object FDGUIxWaitCursor1: TFDGUIxWaitCursor
Provider = 'Forms'
Left = 168
Top = 240
end
object FDGUIxErrorDialog1: TFDGUIxErrorDialog
Provider = 'Forms'
OnShow = FDGUIxErrorDialog1Show
Left = 176
Top = 304
end
object qryConsultaVendaItem: TFDQuery
Active = True
CachedUpdates = True
MasterSource = dsVenda
MasterFields = 'ID_Venda'
DetailFields = 'ID_Venda'
Connection = connectionSQL
Transaction = Transaction
UpdateTransaction = Transaction
FormatOptions.AssignedValues = [fvMapRules]
FormatOptions.OwnMapRules = True
FormatOptions.MapRules = <
item
SourceDataType = dtDouble
TargetDataType = dtCurrency
end
item
SourceDataType = dtInt64
TargetDataType = dtDouble
end>
SQL.Strings = (
'SELECT VI.*, '
'(SELECT M.NOME FROM MATERIAL M WHERE M.ID_MATERIAL = VI.ID_MATER' +
'IAL) MaterialDesc'
'FROM VENDAITEM VI WHERE '
'(ID_Venda = :pID_Venda ) or (ID_Venda is not NULL AND :pID_Venda' +
' IS NULL)'
'')
Left = 304
Top = 400
ParamData = <
item
Name = 'PID_VENDA'
DataType = ftInteger
ParamType = ptInput
Value = 2
end>
object qryConsultaVendaItemID_VendaItem: TFDAutoIncField
FieldName = 'ID_VendaItem'
Origin = 'ID_VendaItem'
ProviderFlags = [pfInWhere, pfInKey]
end
object qryConsultaVendaItemID_Material: TIntegerField
FieldName = 'ID_Material'
Origin = 'ID_Material'
end
object qryConsultaVendaItemID_Venda: TIntegerField
FieldName = 'ID_Venda'
Origin = 'ID_Venda'
end
object qryConsultaVendaItemQuantidade: TIntegerField
FieldName = 'Quantidade'
Origin = 'Quantidade'
end
object qryConsultaVendaItemValor_VendaItem: TCurrencyField
FieldName = 'Valor_VendaItem'
Origin = 'Valor_VendaItem'
end
object qryConsultaVendaItemValor_TotalItem: TCurrencyField
FieldName = 'Valor_TotalItem'
Origin = 'Valor_TotalItem'
end
object qryConsultaVendaItemPeso_VendaItem: TFloatField
FieldName = 'Peso_VendaItem'
Origin = 'Peso_VendaItem'
end
object qryConsultaVendaItemMaterialDesc: TWideStringField
AutoGenerateValue = arDefault
FieldName = 'MaterialDesc'
Origin = 'Nome'
ProviderFlags = []
ReadOnly = True
Size = 100
end
end
object dsConsultaVendaItem: TDataSource
DataSet = qryConsultaVendaItem
Left = 384
Top = 400
end
object Transaction: TFDTransaction
Connection = connectionSQL
Left = 168
Top = 384
end
end