-
Notifications
You must be signed in to change notification settings - Fork 1
/
ufrmPainelCompras.dfm
1840 lines (1838 loc) · 59.1 KB
/
ufrmPainelCompras.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
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
object frmPainelCompras: TfrmPainelCompras
Left = 0
Top = 0
BorderIcons = [biSystemMenu, biMaximize]
Caption = 'Painel de Compras'
ClientHeight = 679
ClientWidth = 1098
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
OldCreateOrder = False
Position = poDesktopCenter
OnCreate = FormCreate
PixelsPerInch = 96
TextHeight = 13
object cxGroupBox1: TcxGroupBox
Left = 0
Top = 0
Align = alTop
Style.BorderStyle = ebsNone
TabOrder = 0
Height = 89
Width = 1098
object cbFornecedor: TcxLookupComboBox
Left = 18
Top = 44
Properties.ImmediatePost = True
Properties.KeyFieldNames = 'ID'
Properties.ListColumns = <
item
FieldName = 'NOME'
end>
Properties.ListOptions.ShowHeader = False
Properties.ListSource = dtsFornecedor
Properties.OnChange = cbFornecedorPropertiesChange
EditValue = 0
Style.TransparentBorder = True
TabOrder = 0
Width = 191
end
object cxLabel1: TcxLabel
Left = 18
Top = 21
Caption = 'Fornecedor:'
end
object dtInicio: TcxDateEdit
Left = 221
Top = 44
EditValue = 44146d
TabOrder = 2
OnExit = dtInicioExit
Width = 89
end
object cxLabel2: TcxLabel
Left = 221
Top = 21
Caption = 'Filtrar por compras entre:'
end
object dtFim: TcxDateEdit
Left = 325
Top = 44
EditValue = 44146d
TabOrder = 4
OnExit = dtFimExit
Width = 89
end
object cxLabel3: TcxLabel
Left = 313
Top = 44
Caption = 'e'
end
object edtCodCompra: TcxTextEdit
Left = 427
Top = 44
TabOrder = 6
OnExit = edtCodCompraExit
Width = 128
end
object cxLabel4: TcxLabel
Left = 427
Top = 21
Caption = 'Filtrar por c'#243'd da compra:'
end
object cxLabel5: TcxLabel
Left = 569
Top = 16
Caption = 'Com pagamento:'
end
object rbTodas: TcxRadioButton
Left = 569
Top = 37
Width = 57
Height = 17
Caption = 'Todas'
Checked = True
TabOrder = 9
TabStop = True
OnClick = rbTodasClick
LookAndFeel.NativeStyle = True
end
object rbPagas: TcxRadioButton
Left = 626
Top = 37
Width = 104
Height = 17
Caption = 'Somente quitadas'
TabOrder = 10
OnClick = rbPagasClick
LookAndFeel.NativeStyle = True
end
object rbNaoPagas: TcxRadioButton
Left = 736
Top = 37
Width = 128
Height = 17
Caption = 'Somente N'#195'O quitadas'
TabOrder = 11
OnClick = rbNaoPagasClick
LookAndFeel.NativeStyle = True
end
object cxButton1: TcxButton
Left = 884
Top = 33
Width = 108
Height = 32
Caption = 'Atualizar'
LookAndFeel.Kind = lfStandard
LookAndFeel.NativeStyle = True
OptionsImage.Glyph.SourceDPI = 96
OptionsImage.Glyph.SourceHeight = 16
OptionsImage.Glyph.SourceWidth = 16
OptionsImage.Glyph.Data = {
3C3F786D6C2076657273696F6E3D22312E302220656E636F64696E673D225554
462D38223F3E0D0A3C7376672076657273696F6E3D22312E31222069643D22D0
A1D0BBD0BED0B95F312220786D6C6E733D22687474703A2F2F7777772E77332E
6F72672F323030302F7376672220786D6C6E733A786C696E6B3D22687474703A
2F2F7777772E77332E6F72672F313939392F786C696E6B2220783D2230707822
20793D22307078222076696577426F783D223020302033322033322220737479
6C653D22656E61626C652D6261636B67726F756E643A6E657720302030203332
2033323B2220786D6C3A73706163653D227072657365727665223E262331333B
262331303B3C7374796C6520747970653D22746578742F637373223E2E477265
656E7B66696C6C3A233033394332333B7D3C2F7374796C653E0D0A3C67206964
3D22D0A1D0BBD0BED0B95F32223E0D0A09093C706174682069643D2252656672
6573682220636C6173733D22477265656E2220643D224D33302C313456346C2D
332E322C332E324332342E332C342C32302E342C322C31362C3243382E332C32
2C322C382E332C322C313673362E332C31342C31342C313463372E322C302C31
332E322D352E352C31332E392D31322E3520202623393B2623393B6C2D342D30
2E35632D302E352C352E312D342E382C392D392E392C39632D352E352C302D31
302D342E352D31302D313063302D352E352C342E352D31302C31302D31306333
2E332C302C362E322C312E362C382C346C2D342C344833307A222F3E0D0A093C
2F673E0D0A3C2F7376673E0D0A}
TabOrder = 12
OnClick = cxButton1Click
end
object cxButton2: TcxButton
Left = 995
Top = 33
Width = 47
Height = 32
LookAndFeel.NativeStyle = True
OptionsImage.Glyph.SourceDPI = 96
OptionsImage.Glyph.SourceHeight = 25
OptionsImage.Glyph.SourceWidth = 25
OptionsImage.Glyph.Data = {
3C3F786D6C2076657273696F6E3D22312E302220656E636F64696E673D225554
462D38223F3E0D0A3C7376672076657273696F6E3D22312E31222069643D22D0
A1D0BBD0BED0B95F312220786D6C6E733D22687474703A2F2F7777772E77332E
6F72672F323030302F7376672220786D6C6E733A786C696E6B3D22687474703A
2F2F7777772E77332E6F72672F313939392F786C696E6B2220783D2230707822
20793D22307078222076696577426F783D223020302033322033322220737479
6C653D22656E61626C652D6261636B67726F756E643A6E657720302030203332
2033323B2220786D6C3A73706163653D227072657365727665223E262331333B
262331303B3C7374796C6520747970653D22746578742F6373732220786D6C3A
73706163653D227072657365727665223E2E57686974657B66696C6C3A234646
464646463B7D262331333B262331303B2623393B2E477265656E7B66696C6C3A
233033394332333B7D3C2F7374796C653E0D0A3C672069643D22416464223E0D
0A09093C636972636C6520636C6173733D22477265656E222063783D22313622
2063793D2231362220723D223134222F3E0D0A09093C706F6C79676F6E20636C
6173733D2257686974652220706F696E74733D2232342C31342031382C313420
31382C382031342C382031342C313420382C313420382C31382031342C313820
31342C32342031382C32342031382C31382032342C3138202623393B222F3E0D
0A093C2F673E0D0A3C2F7376673E0D0A}
TabOrder = 13
OnClick = cxButton2Click
end
object cxButton3: TcxButton
Left = 1043
Top = 33
Width = 47
Height = 32
LookAndFeel.NativeStyle = True
OptionsImage.Glyph.SourceDPI = 96
OptionsImage.Glyph.SourceHeight = 25
OptionsImage.Glyph.SourceWidth = 25
OptionsImage.Glyph.Data = {
3C3F786D6C2076657273696F6E3D22312E302220656E636F64696E673D225554
462D38223F3E0D0A3C7376672076657273696F6E3D22312E31222069643D224C
617965725F312220786D6C6E733D22687474703A2F2F7777772E77332E6F7267
2F323030302F7376672220786D6C6E733A786C696E6B3D22687474703A2F2F77
77772E77332E6F72672F313939392F786C696E6B2220783D223070782220793D
22307078222076696577426F783D2230203020333220333222207374796C653D
22656E61626C652D6261636B67726F756E643A6E657720302030203332203332
3B2220786D6C3A73706163653D227072657365727665223E262331333B262331
303B3C7374796C6520747970653D22746578742F637373223E2E426C61636B7B
66696C6C3A233732373237323B7D3C2F7374796C653E0D0A3C672069643D2250
72696E746572223E0D0A09093C673E0D0A0909093C706F6C79676F6E20636C61
73733D22426C61636B2220706F696E74733D2231302C342032322C342032322C
31322032342C31322032342C3220382C3220382C31322031302C313220262339
3B2623393B222F3E0D0A0909093C7061746820636C6173733D22426C61636B22
20643D224D32382C3130682D32763363302C302E362D302E342C312D312C3148
37632D302E362C302D312D302E342D312D31762D334834632D312E312C302D32
2C302E392D322C3276313263302C312E312C302E392C322C322C326834763468
3136762D34683420202623393B2623393B2623393B63312E312C302C322D302E
392C322D325631324333302C31302E392C32392E312C31302C32382C31307A20
4D32322C323476327632483130762D32762D32762D346831325632347A222F3E
0D0A09093C2F673E0D0A093C2F673E0D0A3C2F7376673E0D0A}
TabOrder = 14
OnClick = cxButton3Click
end
end
object cxGrid1: TcxGrid
Left = 0
Top = 89
Width = 1098
Height = 590
Align = alClient
TabOrder = 1
LookAndFeel.Kind = lfStandard
LookAndFeel.NativeStyle = True
object cxGrid1DBTableView1: TcxGridDBTableView
Navigator.Buttons.CustomButtons = <>
OnCustomDrawCell = cxGrid1DBTableView1CustomDrawCell
DataController.DataSource = dts
DataController.Summary.DefaultGroupSummaryItems = <>
DataController.Summary.FooterSummaryItems = <>
DataController.Summary.SummaryGroups = <>
OptionsData.CancelOnExit = False
OptionsData.Deleting = False
OptionsData.DeletingConfirmation = False
OptionsData.Inserting = False
object cxGrid1DBTableView1ID: TcxGridDBColumn
DataBinding.FieldName = 'ID'
Options.Editing = False
end
object cxGrid1DBTableView1DATA: TcxGridDBColumn
DataBinding.FieldName = 'DATA'
Options.Editing = False
Width = 96
end
object cxGrid1DBTableView1VRPAGO: TcxGridDBColumn
Caption = 'VR PAGO'
DataBinding.FieldName = 'VRPAGO'
PropertiesClassName = 'TcxCurrencyEditProperties'
Options.Editing = False
end
object cxGrid1DBTableView1VALORDACOMPRA: TcxGridDBColumn
Caption = 'VALOR DA COMPRA'
DataBinding.FieldName = 'VALORDACOMPRA'
PropertiesClassName = 'TcxCurrencyEditProperties'
Options.Editing = False
Width = 104
end
object cxGrid1DBTableView1FLPAGA: TcxGridDBColumn
Caption = 'QUITADA'
DataBinding.FieldName = 'FLPAGA'
PropertiesClassName = 'TcxCheckBoxProperties'
Properties.Alignment = taRightJustify
Properties.ValueChecked = '1'
Properties.ValueUnchecked = '0'
Options.Editing = False
end
object cxGrid1DBTableView1NOME: TcxGridDBColumn
DataBinding.FieldName = 'NOME'
Options.Editing = False
Width = 196
end
object cxGrid1DBTableView1TELEFONE: TcxGridDBColumn
DataBinding.FieldName = 'TELEFONE'
Options.Editing = False
Width = 127
end
object cxGrid1DBTableView1Column1: TcxGridDBColumn
Caption = 'ESTORNAR'
PropertiesClassName = 'TcxButtonEditProperties'
Properties.Buttons = <
item
Default = True
Glyph.SourceDPI = 96
Glyph.SourceHeight = 16
Glyph.SourceWidth = 16
Glyph.Data = {
3C3F786D6C2076657273696F6E3D22312E302220656E636F64696E673D227574
662D38223F3E0D0A3C212D2D2047656E657261746F723A2041646F626520496C
6C7573747261746F722032302E312E302C20535647204578706F727420506C75
672D496E202E205356472056657273696F6E3A20362E3030204275696C642030
2920202D2D3E0D0A3C7376672076657273696F6E3D22312E31222069643D22D0
A1D0BBD0BED0B95F312220786D6C6E733D22687474703A2F2F7777772E77332E
6F72672F323030302F7376672220786D6C6E733A786C696E6B3D22687474703A
2F2F7777772E77332E6F72672F313939392F786C696E6B2220783D2230707822
20793D22307078220D0A092076696577426F783D223020302033322033322220
7374796C653D22656E61626C652D6261636B67726F756E643A6E657720302030
2033322033323B2220786D6C3A73706163653D227072657365727665223E0D0A
3C7374796C6520747970653D22746578742F637373223E0D0A092E426C75657B
66696C6C3A233131373744373B7D0D0A3C2F7374796C653E0D0A3C672069643D
22D0A1D0BBD0BED0B95F32223E0D0A093C706174682069643D22526573657443
68616E6765732220636C6173733D22426C75652220643D224D32382C31366330
2C352E342D342C31302D392C3130682D39762D34683963322E382C302C352D33
2C352D3663302D332D322E322D362D352D36682D3976344C322C386C382D3676
3468390D0A09094332342C362C32382C31302E362C32382C31367A222F3E0D0A
3C2F673E0D0A3C2F7376673E0D0A}
Kind = bkGlyph
end>
Properties.HideSelection = False
Properties.ViewStyle = vsButtonsAutoWidth
Properties.OnButtonClick = cxGrid1DBTableView1Column1PropertiesButtonClick
Options.Filtering = False
Options.FilteringWithFindPanel = False
Options.FilteringAddValueItems = False
Options.FilteringFilteredItemsList = False
Options.FilteringMRUItemsList = False
Options.FilteringPopup = False
Options.FilteringPopupMultiSelect = False
Options.ShowEditButtons = isebAlways
Options.Moving = False
Width = 72
end
object cxGrid1DBTableView1Column2: TcxGridDBColumn
Caption = 'PAGAR'
PropertiesClassName = 'TcxButtonEditProperties'
Properties.Buttons = <
item
Default = True
Glyph.SourceDPI = 96
Glyph.SourceHeight = 16
Glyph.SourceWidth = 16
Glyph.Data = {
3C3F786D6C2076657273696F6E3D22312E302220656E636F64696E673D227574
662D38223F3E0D0A3C212D2D2047656E657261746F723A2041646F626520496C
6C7573747261746F722032312E312E302C20535647204578706F727420506C75
672D496E202E205356472056657273696F6E3A20362E3030204275696C642030
2920202D2D3E0D0A3C7376672076657273696F6E3D22312E31222069643D224C
617965725F312220786D6C6E733D22687474703A2F2F7777772E77332E6F7267
2F323030302F7376672220786D6C6E733A786C696E6B3D22687474703A2F2F77
77772E77332E6F72672F313939392F786C696E6B2220783D223070782220793D
22307078220D0A092076696577426F783D223020302033322033322220737479
6C653D22656E61626C652D6261636B67726F756E643A6E657720302030203332
2033323B2220786D6C3A73706163653D227072657365727665223E0D0A3C7374
796C6520747970653D22746578742F637373223E0D0A092E426C75657B66696C
6C3A233131373744373B7D0D0A092E477265656E7B66696C6C3A233033394332
333B7D0D0A092E59656C6C6F777B66696C6C3A234646423131353B7D0D0A092E
426C61636B7B66696C6C3A233732373237323B7D0D0A092E57686974657B6669
6C6C3A234646464646463B7D0D0A092E5265647B66696C6C3A23443131433143
3B7D0D0A092E7374307B6F7061636974793A302E37353B7D0D0A3C2F7374796C
653E0D0A3C672069643D22446F6C6C6172436972636C6564223E0D0A093C7061
746820636C6173733D22477265656E2220643D224D31332E392C31304331342C
31302C31342C31302C31332E392C31306C302E312C332E34632D302E322D302E
312D302E332D302E312D302E342D302E32632D302E342D302E322D302E372D30
2E342D302E392D302E360D0A0909632D302E322D302E332D302E342D302E362D
302E342D302E3963302D302E332C302E312D302E362C302E322D302E3863302E
322D302E322C302E332D302E342C302E362D302E354331332E342C31302E322C
31332E362C31302E312C31332E392C31307A204D31372E342C31362E380D0A09
09632D302E342D302E332D302E382D302E352D312E342D302E3756323063302C
302C302C302C302E312C3063302E332D302E312C302E362D302E312C302E392D
302E3373302E352D302E332C302E372D302E3663302E322D302E332C302E332D
302E362C302E332D310D0A09094331372E392C31372E352C31372E382C31372E
312C31372E342C31362E387A204D32382C313563302C372E322D352E382C3133
2D31332C313353322C32322E322C322C313553372E382C322C31352C32533238
2C372E382C32382C31357A204D32302C31372E3863302D302E362D302E312D31
2E322D302E332D312E360D0A0909632D302E322D302E342D302E352D302E382D
302E392D312E31632D302E342D302E332D302E382D302E352D312E322D302E37
632D302E352D302E322D302E392D302E332D312E342D302E34632D302E312C30
2D302E312C302D302E322C30762D332E3863302E322C302E312C302E342C302E
322C302E362C302E330D0A090963302E332C302E322C302E352C302E342C302E
362C302E3763302E312C302E322C302E322C302E352C302E332C302E3968312E
39632D302E312D302E372D302E322D312E332D302E342D312E38632D302E332D
302E352D302E362D312D312D312E33732D302E392D302E352D312E352D302E37
0D0A0909632D302E322C302D302E332D302E312D302E352D302E315636682D32
7632632D302E332C302D302E362C302E312D302E392C302E32632D302E352C30
2E312D312C302E342D312E342C302E37632D302E342C302E332D302E382C302E
372D312C312E32632D302E332C302E352D302E342C312E312D302E342C312E37
0D0A090963302C302E392C302E322C312E352C302E362C3263302E342C302E35
2C302E392C302E392C312E342C312E3163302E352C302E332C312E312C302E35
2C312E382C302E3656323063302C302C302C302C302C30632D302E342D302E31
2D302E372D302E322D312D302E340D0A0909632D302E332D302E322D302E352D
302E352D302E372D302E384331322E312C31382E352C31322C31382E332C3132
2C3138682D312E3963302E312C302E362C302E322C312E322C302E342C312E36
63302E332C302E362C302E362C312C312E312C312E3463302E352C302E342C31
2C302E362C312E362C302E380D0A090963302E332C302E312C302E362C302E31
2C302E392C302E3276326832762D3263302E332C302C302E352D302E312C302E
382D302E3163302E362D302E312C312E312D302E342C312E362D302E3763302E
352D302E332C302E392D302E382C312E322D312E330D0A09094331392E392C31
392E332C32302C31382E362C32302C31372E387A222F3E0D0A3C2F673E0D0A3C
2F7376673E0D0A}
Kind = bkGlyph
end>
Properties.ViewStyle = vsButtonsAutoWidth
Properties.OnButtonClick = cxGrid1DBTableView1Column2PropertiesButtonClick
Options.Filtering = False
Options.FilteringWithFindPanel = False
Options.FilteringAddValueItems = False
Options.FilteringFilteredItemsList = False
Options.FilteringMRUItemsList = False
Options.FilteringPopup = False
Options.FilteringPopupMultiSelect = False
Options.ShowEditButtons = isebAlways
Options.Moving = False
end
end
object cxGrid1Level1: TcxGridLevel
GridView = cxGrid1DBTableView1
end
end
object FDQuery: TFDQuery
Connection = DM.FDConn
Transaction = DM.FDTrans
UpdateTransaction = DM.FDTrans
UpdateOptions.AssignedValues = [uvGeneratorName]
UpdateOptions.GeneratorName = 'GEN_COMPRA_ID'
UpdateOptions.AutoIncFields = 'ID'
SQL.Strings = (
'select *'
'from compra c'
'INNER JOIN valorcompra v on v.idcompra=c.id'
'left join pessoa p on c.idfornecedor=p.id'
'where dtexcluiu is null')
Left = 364
Top = 274
object FDQueryID: TFDAutoIncField
FieldName = 'ID'
Origin = 'ID'
ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
IdentityInsert = True
end
object FDQueryDESCRICAO: TStringField
FieldName = 'DESCRICAO'
Origin = 'DESCRICAO'
Size = 100
end
object FDQueryIDFORNECEDOR: TIntegerField
FieldName = 'IDFORNECEDOR'
Origin = 'IDFORNECEDOR'
end
object FDQueryDATA: TDateField
FieldName = 'DATA'
Origin = '"DATA"'
end
object FDQueryOBS: TStringField
FieldName = 'OBS'
Origin = 'OBS'
Size = 1000
end
object FDQueryFLPAGA: TSmallintField
FieldName = 'FLPAGA'
Origin = 'FLPAGA'
end
object FDQueryVRPAGO: TCurrencyField
FieldName = 'VRPAGO'
Origin = 'VRPAGO'
end
object FDQueryDTEXCLUIU: TDateField
FieldName = 'DTEXCLUIU'
Origin = 'DTEXCLUIU'
end
object FDQueryIDCOMPRA: TIntegerField
AutoGenerateValue = arDefault
FieldName = 'IDCOMPRA'
Origin = 'IDCOMPRA'
ProviderFlags = []
ReadOnly = True
end
object FDQueryVALORDACOMPRA: TBCDField
AutoGenerateValue = arDefault
FieldName = 'VALORDACOMPRA'
Origin = 'VALORDACOMPRA'
ProviderFlags = []
ReadOnly = True
Precision = 18
end
object FDQueryID_1: TIntegerField
AutoGenerateValue = arDefault
FieldName = 'ID_1'
Origin = 'ID'
ProviderFlags = []
ReadOnly = True
end
object FDQueryNOME: TStringField
AutoGenerateValue = arDefault
FieldName = 'NOME'
Origin = 'NOME'
ProviderFlags = []
ReadOnly = True
Size = 60
end
object FDQueryTELEFONE: TStringField
AutoGenerateValue = arDefault
FieldName = 'TELEFONE'
Origin = 'TELEFONE'
ProviderFlags = []
ReadOnly = True
Size = 15
end
object FDQueryOBS_1: TStringField
AutoGenerateValue = arDefault
FieldName = 'OBS_1'
Origin = 'OBS'
ProviderFlags = []
ReadOnly = True
Size = 1000
end
end
object dts: TDataSource
DataSet = FDQuery
Left = 424
Top = 274
end
object FDPREALIZAPAGAMENTO: TFDStoredProc
Connection = DM.FDConn
StoredProcName = 'REALIZAPAGAMENTO'
Left = 184
Top = 358
ParamData = <
item
Position = 1
Name = 'IDCOMPRA'
DataType = ftInteger
ParamType = ptInput
end
item
Position = 2
Name = 'VRPAGO'
DataType = ftFMTBcd
Precision = 15
NumericScale = 2
ParamType = ptInput
end
item
Position = 3
Name = 'QUITA'
DataType = ftInteger
ParamType = ptInput
end>
end
object FDQFornecedor: TFDQuery
Connection = DM.FDConn
Transaction = DM.FDTrans
UpdateTransaction = DM.FDTrans
UpdateOptions.AssignedValues = [uvGeneratorName]
UpdateOptions.GeneratorName = 'GEN_COMPRA_ID'
UpdateOptions.AutoIncFields = 'ID'
SQL.Strings = (
'select id,nome||'#39' - '#39'||telefone AS NOME'
'from pessoa')
Left = 468
Top = 178
object FDQFornecedorID: TFDAutoIncField
FieldName = 'ID'
Origin = 'ID'
ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
IdentityInsert = True
end
object FDQFornecedorNOME: TStringField
AutoGenerateValue = arDefault
FieldName = 'NOME'
Origin = 'NOME'
ProviderFlags = []
ReadOnly = True
Size = 78
end
end
object dtsFornecedor: TDataSource
DataSet = FDQFornecedor
Left = 512
Top = 186
end
object FDPESTORNAPAGAMENTOCOMPRA: TFDStoredProc
Connection = DM.FDConn
StoredProcName = 'ESTORNAPAGAMENTOCOMPRA'
Left = 376
Top = 350
ParamData = <
item
Position = 1
Name = 'IDCOMPRA'
DataType = ftInteger
ParamType = ptInput
end>
end
object dsQry: TfrxDBDataset
UserName = 'dsQry'
CloseDataSource = False
FieldAliases.Strings = (
'ID=ID'
'DESCRICAO=DESCRICAO'
'IDFORNECEDOR=IDFORNECEDOR'
'DATA=DATA'
'OBS=OBS'
'FLPAGA=FLPAGA'
'VRPAGO=VRPAGO'
'DTEXCLUIU=DTEXCLUIU'
'IDCOMPRA=IDCOMPRA'
'VALORDACOMPRA=VALORDACOMPRA'
'ID_1=ID_1'
'NOME=NOMEFORNECEDOR'
'TELEFONE=TELEFONEFORNECEDOR'
'OBS_1=OBS_1'
'ID_2=ID_2'
'IDITEM=IDITEM'
'IDCOMPRA_1=IDCOMPRA_1'
'VRUNIDADE=VRUNIDADECOMPRADA'
'QTUNIDADE=QTUNIDADECOMPRADA'
'NOME_1=NOMEITEM'
'IDUNIDADEDEMEDIDA=IDUNIDADEDEMEDIDA'
'UNIDADEMEDIDA=UNIDADEMEDIDA'
'VRTOTALITEM=VRTOTALITEM'
'SIGLA=SIGLA')
DataSet = FDQryRel
BCDToCurrency = False
Left = 752
Top = 144
end
object frx: TfrxReport
Version = '6.7.9'
DotMatrixReport = False
IniFile = '\Software\Fast Reports'
PreviewOptions.Buttons = [pbPrint, pbLoad, pbSave, pbExport, pbZoom, pbFind, pbOutline, pbPageSetup, pbTools, pbEdit, pbNavigator, pbExportQuick, pbCopy, pbSelection]
PreviewOptions.Zoom = 1.000000000000000000
PrintOptions.Printer = 'Padr'#227'o'
PrintOptions.PrintOnSheet = 0
ReportOptions.CreateDate = 44211.916080856480000000
ReportOptions.LastChange = 44211.916080856480000000
ScriptLanguage = 'PascalScript'
ScriptText.Strings = (
'begin'
''
'end.')
Left = 776
Top = 248
Datasets = <
item
DataSet = dsQry
DataSetName = 'dsQry'
end>
Variables = <>
Style = <>
object Data: TfrxDataPage
Height = 1000.000000000000000000
Width = 1000.000000000000000000
end
object Page1: TfrxReportPage
PaperWidth = 210.000000000000000000
PaperHeight = 297.000000000000000000
PaperSize = 9
LeftMargin = 10.000000000000000000
RightMargin = 10.000000000000000000
TopMargin = 10.000000000000000000
BottomMargin = 10.000000000000000000
Frame.Typ = []
MirrorMode = []
object MasterData1: TfrxMasterData
FillType = ftBrush
Frame.Typ = []
Height = 18.897650000000000000
Top = 173.858380000000000000
Width = 718.110700000000000000
DataSet = dsQry
DataSetName = 'dsQry'
RowCount = 0
object dsQryNOMEITEM: TfrxMemoView
IndexTag = 1
AllowVectorExport = True
Left = 92.929190000000000000
Width = 124.724490000000000000
Height = 18.897650000000000000
DataField = 'NOMEITEM'
DataSet = dsQry
DataSetName = 'dsQry'
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'Arial'
Font.Style = []
Frame.Typ = []
Memo.UTF8W = (
'[dsQry."NOMEITEM"]')
ParentFont = False
end
object Memo2: TfrxMemoView
IndexTag = 1
AllowVectorExport = True
Left = 7.559060000000000000
Top = -0.779530000000000000
Width = 83.149660000000000000
Height = 18.897650000000000000
DataSet = dsQry
DataSetName = 'dsQry'
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'ARial'
Font.Style = []
Frame.Typ = []
Memo.UTF8W = (
'[dsQry."QTUNIDADECOMPRADA"] [dsQry."SIGLA"]'
'')
ParentFont = False
Formats = <
item
end
item
end>
end
end
object GroupHeader1: TfrxGroupHeader
FillType = ftBrush
Frame.Typ = []
Height = 131.724490000000000000
Top = 18.897650000000000000
Width = 718.110700000000000000
Condition = 'dsQry."ID"'
object Memo37: TfrxMemoView
IndexTag = 1
AllowVectorExport = True
Left = 7.559060000000000000
Top = 18.118120000000000000
Width = 98.267780000000000000
Height = 15.118120000000000000
DataField = 'ID'
DataSet = dsQry
DataSetName = 'dsQry'
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'ArIal'
Font.Style = []
Frame.Typ = []
Memo.UTF8W = (
'[dsQry."ID"]')
ParentFont = False
end
object Memo38: TfrxMemoView
IndexTag = 1
AllowVectorExport = True
Left = 110.826840000000000000
Top = 18.897650000000000000
Width = 102.047310000000000000
Height = 15.118120000000000000
DataField = 'DATA'
DataSet = dsQry
DataSetName = 'dsQry'
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'ArIal'
Font.Style = []
Frame.Typ = []
Memo.UTF8W = (
'[dsQry."DATA"]')
ParentFont = False
end
object Memo39: TfrxMemoView
IndexTag = 1
AllowVectorExport = True
Left = 7.559060000000000000
Top = 92.708720000000000000
Width = 102.047310000000000000
Height = 18.897650000000000000
DataSet = dsQry
DataSetName = 'dsQry'
DisplayFormat.DecimalSeparator = ','
DisplayFormat.FormatStr = '%2.2m'
DisplayFormat.Kind = fkNumeric
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'ARial'
Font.Style = []
Frame.Typ = []
Memo.UTF8W = (
'[dsQry."VALORDACOMPRA"]')
ParentFont = False
end
object Memo40: TfrxMemoView
IndexTag = 1
AllowVectorExport = True
Left = 6.543290000000000000
Top = 55.692950000000000000
Width = 211.653680000000000000
Height = 15.118120000000000000
DataField = 'NOMEFORNECEDOR'
DataSet = dsQry
DataSetName = 'dsQry'
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'ArIal'
Font.Style = []
Frame.Typ = []
Memo.UTF8W = (
'[dsQry."NOMEFORNECEDOR"]')
ParentFont = False
end
object Memo41: TfrxMemoView
AllowVectorExport = True
Left = 7.559060000000000000
Width = 98.267780000000000000
Height = 15.118120000000000000
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'ArIal'
Font.Style = [fsBold]
Frame.Typ = []
Memo.UTF8W = (
'C'#211'D')
ParentFont = False
end
object Memo42: TfrxMemoView
AllowVectorExport = True
Left = 110.826840000000000000
Width = 102.047310000000000000
Height = 15.118120000000000000
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'ArIal'
Font.Style = [fsBold]
Frame.Typ = []
Memo.UTF8W = (
'DATA')
ParentFont = False
end
object Memo43: TfrxMemoView
AllowVectorExport = True
Left = 7.779530000000000000
Top = 37.795300000000000000
Width = 132.283550000000000000
Height = 15.118120000000000000
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'ArIal'
Font.Style = [fsBold]
Frame.Typ = []
Memo.UTF8W = (
'FORNECEDOR')
ParentFont = False
end
object Memo44: TfrxMemoView
AllowVectorExport = True
Left = 7.559060000000000000
Top = 71.590600000000000000
Width = 105.826840000000000000
Height = 18.897650000000000000
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'ARial'
Font.Style = [fsBold]
Frame.Typ = []
Memo.UTF8W = (
'VALOR TOTAL')
ParentFont = False
end
object Memo45: TfrxMemoView
IndexTag = 1
AllowVectorExport = True
Left = 117.826840000000000000
Top = 94.708720000000000000
Width = 98.267780000000000000
Height = 18.897650000000000000
DataField = 'VRPAGO'
DataSet = dsQry
DataSetName = 'dsQry'
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'ARial'
Font.Style = []
Frame.Typ = []
Memo.UTF8W = (
'[dsQry."VRPAGO"]')
ParentFont = False
end
object Memo46: TfrxMemoView
AllowVectorExport = True
Left = 118.606370000000000000
Top = 72.811070000000000000
Width = 98.267780000000000000
Height = 18.897650000000000000
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'ARial'
Font.Style = [fsBold]
Frame.Typ = []
Memo.UTF8W = (
'VALOR PAGO')
ParentFont = False
end
object Memo1: TfrxMemoView
AllowVectorExport = True
Left = 7.559060000000000000
Top = 114.165430000000000000
Width = 102.047310000000000000
Height = 15.118120000000000000
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'ARial'
Font.Style = [fsBold]
Frame.Typ = []
Memo.UTF8W = (
'REFERENTE A:')
ParentFont = False
end
object Line2: TfrxLineView
AllowVectorExport = True
Left = 226.771800000000000000
Top = 22.677180000000000000
Height = 105.826840000000000000
Color = clBlack
Frame.Typ = []
Diagonal = True
end
end
object GroupFooter1: TfrxGroupFooter
FillType = ftBrush
Frame.Typ = []
Height = 7.559060000000000000
Top = 215.433210000000000000
Width = 718.110700000000000000
object Line1: TfrxLineView
AllowVectorExport = True
Left = 199.196970000000000000
Width = -177.637910000000000000
Color = clBlack
Frame.Typ = []
Diagonal = True
end
end
end
end
object frxEMLInhas: TfrxReport
Version = '6.7.9'
DotMatrixReport = False
IniFile = '\Software\Fast Reports'
PreviewOptions.Buttons = [pbPrint, pbLoad, pbSave, pbExport, pbZoom, pbFind, pbOutline, pbPageSetup, pbTools, pbEdit, pbNavigator, pbExportQuick, pbCopy, pbSelection]
PreviewOptions.Zoom = 1.000000000000000000
PrintOptions.Printer = 'Padr'#227'o'
PrintOptions.PrintOnSheet = 0
ReportOptions.CreateDate = 44211.916080856480000000
ReportOptions.LastChange = 44211.916080856480000000
ScriptLanguage = 'PascalScript'
ScriptText.Strings = (
'begin'
''
'end.')
Left = 768
Top = 320
Datasets = <
item
DataSet = dsQry
DataSetName = 'dsQry'
end
item
DataSet = dsSumario
DataSetName = 'dsSumario'
end>
Variables = <
item
Name = ' FUNCOES'
Value = Null
end
item
Name = 'FILTROS'
Value = ''
end>
Style = <>
object Data: TfrxDataPage
Height = 1000.000000000000000000
Width = 1000.000000000000000000
end
object Page1: TfrxReportPage
PaperWidth = 210.000000000000000000
PaperHeight = 297.000000000000000000
PaperSize = 9
LeftMargin = 10.000000000000000000
RightMargin = 10.000000000000000000
TopMargin = 10.000000000000000000
Frame.Typ = []
MirrorMode = []
object MasterData1: TfrxMasterData
FillType = ftBrush
Frame.Typ = []
Height = 20.677180000000000000
Top = 268.346630000000000000
Width = 718.110700000000000000