-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinventory.rep
179 lines (156 loc) · 5.74 KB
/
inventory.rep
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
** END HEADER -- do not remove this line
//
// Generated on 22/11/2024
//
local r
r = new INVENTORYREPORT()
r.render()
class INVENTORYREPORT of BASECREPORT from :DT_Custom2:Base.crp
set procedure to InventoryRep.dmd additive
set procedure to :DT_Custom2:CustomReportControls2.cc additive
set procedure to C:\ProgramData\dBASE\dBASE2019\dBLClasses\ReportControls\REPORT.CC additive
with (this)
title = "Inventory by Supplier"
endwith
this.INVENTORYREPDATAMODULE1 = new INVENTORYREPDATAMODULE()
this.INVENTORYREPDATAMODULE1.parent = this
form.STREAMFRAME1 = form.pagetemplate1.streamframe1
with (this.PAGETEMPLATE1.MYREPORTTITLETEXT1)
text = "Inventory by Supplier"
form.MYREPORTTITLETEXT1 = form.pagetemplate1.myreporttitletext1
endwith
form.MYDATETEXT1 = form.pagetemplate1.mydatetext1
form.PAGENUMBER1 = form.pagetemplate1.pagenumber1
this.STREAMSOURCE1.GROUP1 = new GROUP(this.STREAMSOURCE1)
with (this.STREAMSOURCE1.GROUP1)
groupBy = "Company"
endwith
this.STREAMSOURCE1.GROUP1.footerBand.MYFIELDHEADINGTEXT1 = new MYFIELDHEADINGTEXT(this.STREAMSOURCE1.GROUP1.footerBand)
with (this.STREAMSOURCE1.GROUP1.footerBand.MYFIELDHEADINGTEXT1)
height = 0.2083
left = 0.0625
top = 0.0
width = 4.0
fontSize = 10.0
fontBold = true
text = "Total mugs on hand for this supplier:"
endwith
this.STREAMSOURCE1.GROUP1.footerBand.MYFIELDTEXT1 = new MYFIELDTEXT(this.STREAMSOURCE1.GROUP1.footerBand)
with (this.STREAMSOURCE1.GROUP1.footerBand.MYFIELDTEXT1)
height = 0.2083
left = 4.1354
top = 0.0
width = 0.4583
alignHorizontal = 2 // Right
picture = "999"
fontSize = 10.0
fontBold = true
text = {||this.parent.parent.agSum( {||this.parent.rowset.parent.parent.inventory1.rowset.fields[ "qty"].value})}
endwith
this.STREAMSOURCE1.GROUP1.headerBand.TEXT1 = new TEXT(this.STREAMSOURCE1.GROUP1.headerBand)
with (this.STREAMSOURCE1.GROUP1.headerBand.TEXT1)
height = 0.2083
left = 0.0
top = 0.0313
width = 0.9271
prefixEnable = false
fontSize = 12.0
fontBold = true
text = "Supplier:"
endwith
this.STREAMSOURCE1.GROUP1.headerBand.MYFIELDTEXT1 = new MYFIELDTEXT(this.STREAMSOURCE1.GROUP1.headerBand)
with (this.STREAMSOURCE1.GROUP1.headerBand.MYFIELDTEXT1)
height = 0.2083
left = 1.0
top = 0.0313
width = 2.0
fontSize = 12.0
fontBold = true
text = {||form.streamsource1.rowset.fields["Company"].value}
endwith
this.STREAMSOURCE1.GROUP1.headerBand.MYLINE1 = new MYLINE(this.STREAMSOURCE1.GROUP1.headerBand)
with (this.STREAMSOURCE1.GROUP1.headerBand.MYLINE1)
left = 0.0
right = 7.5
top = 0.0313
bottom = 0.0313
width = 0
endwith
with (this.STREAMSOURCE1.detailBand)
height = 0.0
endwith
this.STREAMSOURCE1.detailBand.MYFIELDHEADINGTEXT1 = new MYFIELDHEADINGTEXT(this.STREAMSOURCE1.detailBand)
with (this.STREAMSOURCE1.detailBand.MYFIELDHEADINGTEXT1)
canRender = {||this.parent.firstOnFrame}
height = 0.2083
left = 0.1875
top = 0.0618
width = 1.0
suppressIfBlank = true
fontBold = true
text = "Item ID"
endwith
this.STREAMSOURCE1.detailBand.MYFIELDHEADINGTEXT2 = new MYFIELDHEADINGTEXT(this.STREAMSOURCE1.detailBand)
with (this.STREAMSOURCE1.detailBand.MYFIELDHEADINGTEXT2)
canRender = {||this.parent.firstOnFrame}
height = 0.2083
left = 1.4792
top = 0.0618
width = 1.0
alignHorizontal = 0 // Left
suppressIfBlank = true
fontBold = true
text = "Description"
endwith
this.STREAMSOURCE1.detailBand.MYFIELDHEADINGTEXT3 = new MYFIELDHEADINGTEXT(this.STREAMSOURCE1.detailBand)
with (this.STREAMSOURCE1.detailBand.MYFIELDHEADINGTEXT3)
canRender = {||this.parent.firstOnFrame}
height = 0.2083
left = 3.6354
top = 0.0521
width = 1.0
suppressIfBlank = true
fontBold = true
text = "Quantity"
endwith
this.STREAMSOURCE1.detailBand.MYFIELDTEXT1 = new MYFIELDTEXT(this.STREAMSOURCE1.detailBand)
with (this.STREAMSOURCE1.detailBand.MYFIELDTEXT1)
height = 0.2083
left = 0.6979
top = 0.2292
width = 0.5
text = {||this.form.inventoryrepdatamodule1.inventory1.rowset.fields["Item ID"].value}
endwith
this.STREAMSOURCE1.detailBand.MYFIELDTEXT2 = new MYFIELDTEXT(this.STREAMSOURCE1.detailBand)
with (this.STREAMSOURCE1.detailBand.MYFIELDTEXT2)
height = 0.2083
left = 1.4896
top = 0.2389
width = 2.0
text = {||this.form.inventoryrepdatamodule1.inventory1.rowset.fields["description"].value}
endwith
this.STREAMSOURCE1.detailBand.MYFIELDTEXT3 = new MYFIELDTEXT(this.STREAMSOURCE1.detailBand)
with (this.STREAMSOURCE1.detailBand.MYFIELDTEXT3)
height = 0.2083
left = 4.1042
top = 0.2389
width = 0.9271
text = {||this.form.inventoryrepdatamodule1.inventory1.rowset.fields["qty"].value}
endwith
with (this.printer)
duplex = 1 // None
orientation = 1 // Portrait
paperSource = 15
paperSize = 1
resolution = 0 // Default
color = 2 // Color
trueTypeFonts = 3 // Substitute
endwith
with (this.reportGroup.headerBand)
height = 0.0
endwith
this.firstPageTemplate = this.form.pagetemplate1
this.form.pagetemplate1.nextPageTemplate = this.form.pagetemplate1
this.form.pagetemplate1.streamframe1.streamSource = this.form.streamsource1
this.form.streamsource1.rowset = this.form.inventoryrepdatamodule1.supplier1.rowset
endclass