home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Computer Buyer 1999 March
/
Dpcb0399.iso
/
MONEY
/
Capital
/
SETUP.2
/
REPORTS
/
STISSUE.REP
< prev
next >
Wrap
Text File
|
1996-03-07
|
14KB
|
420 lines
VERSION 2.00
Begin Report STISSUE.REP
Caption = "STISSUE.REP"
Width = 11460
Height = 16185
Reportheader = 1200
Header = 825
Transaction = 9990
SubTotal = 1500
Footer = 795
Pagefooter = 15960
Replicate = 390
Style = 8
Query = "STNAME CNPRODTYPE="2"&CNQTYISS0<>0 ORDER BY CNPRODID"
Macro = "2OF:STTRND.CDPRODID = STNAME.CNPRODID"
Macro = "2CD:When STNAME.CNPRODTYPE="2" then REPTOT(0)=((STNAME.CNQTYISS0*STNAME.CNSELPRICE)-(STNAME.CNQTYISS0*STNAME.CNAVGCOS))"
Macro = "2CD:When STNAME.CNPRODTYPE="2" then REPTOT(1)=REPTOT(1)+(STNAME.CNQTYISS0*STNAME.CNAVGCOS)"
Macro = "2CD:When STNAME.CNPRODTYPE="2" then REPTOT(2)=REPTOT(2)+(STNAME.CNQTYISS0*STNAME.CNSELPRICE)"
Macro = "2PP:@REPVARS.REPTOT(0) = 0"
Macro = "3OF:@REPVARS.REPTOT(3) = REPTOT(3)+REPTOT(1)"
Macro = "3OF:@REPVARS.REPTOT(4) = REPTOT(4)+REPTOT(2)"
Macro = "3PP:@REPVARS.REPTOT(1) = 0"
Macro = "3PP:@REPVARS.REPTOT(2) = 0"
Macro = "4PP:@REPVARS.REPTOT(0) = 0"
Macro = "4PP:@REPVARS.REPTOT(1) = 0"
Macro = "4PP:@REPVARS.REPTOT(2) = 0"
Macro = "4PP:@REPVARS.REPTOT(3) = 0"
Macro = "4PP:@REPVARS.REPTOT(4) = 0"
BreakOn = "LEFT(STNAME.CNPRODID,1)"
End
Begin Control LABEL
Type = "Label"
Style = 12
Caption = "TRIM(SYSTEM.COMPNAME)"
Font = "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
Location = "Reportheader Block"
Height = 270
Left = -15
Top = 405
Width = 11070
End
Begin Control LABEL
Type = "Label"
Style = 4
Caption = "Issues"
Font = "-285|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
Location = "Reportheader Block"
Height = 420
Left = 135
Top = 675
Width = 11025
End
Begin Control LABEL
Type = "Label"
Style = 9
Caption = "DTOC(DATE())"
Font = "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
Location = "Reportheader Block"
Height = 285
Left = 135
Top = 705
Width = 1800
End
Begin Control LABEL
Type = "Label"
Style = 10
Caption = ""Page: "+PAGENUM()"
Font = "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
Location = "Reportheader Block"
Height = 285
Left = 9585
Top = 720
Width = 1395
End
Begin Control LABEL
Type = "Label"
Style = 1
Caption = "Product ID"
Font = "-135|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
Location = "Header Block"
Height = 285
Left = 30
Top = 270
Width = 945
End
Begin Control LABEL
Type = "Label"
Style = 1
Caption = "Description"
Font = "-135|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
Location = "Header Block"
Height = 285
Left = 2130
Top = 270
Width = 1785
End
Begin Control LABEL
Type = "Label"
Style = 1
Caption = "Unit"
Font = "-135|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
Location = "Header Block"
Height = 285
Left = 4380
Top = 270
Width = 510
End
Begin Control LABEL
Type = "Label"
Style = 4
Caption = "Quantity Issued"
Font = "-135|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
Location = "Header Block"
Height = 285
Left = 4920
Top = 270
Width = 1455
End
Begin Control LABEL
Type = "Label"
Style = 4
Caption = "This Period"
Font = "-135|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
Location = "Header Block"
Height = 285
Left = 4920
Top = 540
Width = 1455
End
Begin Control LABEL
Type = "Label"
Style = 4
Caption = "Cost"
Font = "-135|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
Location = "Header Block"
Height = 285
Left = 6540
Top = 270
Width = 780
End
Begin Control LABEL
Type = "Label"
Style = 4
Caption = "Value"
Font = "-135|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
Location = "Header Block"
Height = 285
Left = 6540
Top = 540
Width = 780
End
Begin Control LABEL
Type = "Label"
Style = 4
Caption = "Selling"
Font = "-135|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
Location = "Header Block"
Height = 285
Left = 7755
Top = 270
Width = 915
End
Begin Control LABEL
Type = "Label"
Style = 4
Caption = "Value"
Font = "-135|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
Location = "Header Block"
Height = 285
Left = 7755
Top = 540
Width = 915
End
Begin Control LABEL
Type = "Label"
Style = 4
Caption = "Expected"
Font = "-135|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
Location = "Header Block"
Height = 285
Left = 8835
Top = 270
Width = 1050
End
Begin Control LABEL
Type = "Label"
Style = 4
Caption = "Profit"
Font = "-135|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
Location = "Header Block"
Height = 285
Left = 8835
Top = 540
Width = 1050
End
Begin Control LABEL
Type = "Label"
Style = 4
Caption = "%"
Font = "-135|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
Location = "Header Block"
Height = 285
Left = 10050
Top = 270
Width = 1050
End
Begin Control LABEL
Type = "Label"
Style = 4
Caption = "Margin"
Font = "-135|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
Location = "Header Block"
Height = 285
Left = 10050
Top = 540
Width = 1050
End
Begin Control CNPRODID
Type = "Text"
Style = 0
Fieldname = "CNPRODID"
Filename = "STNAME"
Font = "-135|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
Location = "Transaction Block"
Height = 270
Left = 30
Top = 120
Width = 1635
End
Begin Control CNDESC
Type = "Text"
Style = 0
Fieldname = "CNDESC"
Filename = "STNAME"
Font = "-135|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
Location = "Transaction Block"
Height = 270
Left = 1695
Top = 120
Width = 2490
End
Begin Control CNUNITDESC
Type = "Text"
Style = 0
Fieldname = "CNUNITDESC"
Filename = "STNAME"
Font = "-135|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
Location = "Transaction Block"
Height = 270
Left = 4305
Top = 120
Width = 600
End
Begin Control LABEL
Type = "Label"
Style = 10
Caption = "STR((STNAME.CNQTYISS0*STNAME.CNAVGCOS),10,2)"
Font = "-135|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
Location = "Transaction Block"
Height = 270
Left = 6480
Top = 120
Width = 870
End
Begin Control LABEL
Type = "Label"
Style = 10
Caption = "STR((STNAME.CNQTYISS0*STNAME.CNSELPRICE),10,2)"
Font = "-135|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
Location = "Transaction Block"
Height = 270
Left = 7695
Top = 120
Width = 870
End
Begin Control LABEL
Type = "Label"
Style = 10
Caption = "STR(REPTOT(0),10,2)"
Font = "-135|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
Location = "Transaction Block"
Height = 270
Left = 8910
Top = 120
Width = 870
End
Begin Control CNQTYISS0
Type = "Text"
Style = 0
Fieldname = "CNQTYISS0"
Filename = "STNAME"
Font = "-135|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
Location = "Transaction Block"
Height = 270
Left = 5115
Top = 120
Width = 870
End
Begin Control LABEL
Type = "Label"
Style = 10
Caption = "STR(REPTOT(0)/(STNAME.CNQTYISS0*STNAME.CNSELPRICE)*100,6,2)"
Font = "-135|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
Location = "Transaction Block"
Height = 270
Left = 10125
Top = 120
Width = 870
End
Begin Control LABEL
Type = "Label"
Style = 10
Caption = "STR(REPTOT(1),10,2)"
Font = "-135|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
Location = "Subtotal Block"
Height = 270
Left = 6480
Top = 525
Width = 870
End
Begin Control LABEL
Type = "Label"
Style = 10
Caption = "STR(REPTOT(2),10,2)"
Font = "-135|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
Location = "Subtotal Block"
Height = 270
Left = 7695
Top = 525
Width = 870
End
Begin Control LABEL
Type = "Label"
Style = 10
Caption = "STR(REPTOT(2)-REPTOT(1),10,2)"
Font = "-135|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
Location = "Subtotal Block"
Height = 270
Left = 8910
Top = 525
Width = 870
End
Begin Control LABEL
Type = "Label"
Style = 10
Caption = "STR((REPTOT(2)-REPTOT(1))/REPTOT(2)*100,6,2)"
Font = "-135|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
Location = "Subtotal Block"
Height = 270
Left = 10125
Top = 525
Width = 870
End
Begin Control LABEL
Type = "Label"
Style = 9
Caption = ""Total Issues for Group "+LEFT(STTRND.CDPRODID,1)+" =""
Font = "-135|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
Location = "Subtotal Block"
Height = 285
Left = 4110
Top = 525
Width = 2265
End
Begin Control LABEL
Type = "Label"
Style = 10
Caption = "STR(REPTOT(3),10,2)"
Font = "-135|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
Location = "Footer Block"
Height = 270
Left = 6480
Top = 510
Width = 870
End
Begin Control LABEL
Type = "Label"
Style = 10
Caption = "STR(REPTOT(4),10,2)"
Font = "-135|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
Location = "Footer Block"
Height = 270
Left = 7695
Top = 510
Width = 870
End
Begin Control LABEL
Type = "Label"
Style = 10
Caption = "STR(REPTOT(4)-REPTOT(3),10,2)"
Font = "-135|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
Location = "Footer Block"
Height = 270
Left = 8910
Top = 510
Width = 870
End
Begin Control LABEL
Type = "Label"
Style = 10
Caption = "STR((REPTOT(4)-REPTOT(3))/REPTOT(4)*100,6,2)"
Font = "-135|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
Location = "Footer Block"
Height = 270
Left = 10125
Top = 510
Width = 870
End
Begin Control LABEL
Type = "Label"
Style = 9
Caption = ""Total Issues =""
Font = "-135|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
Location = "Footer Block"
Height = 285
Left = 4110
Top = 510
Width = 2265
End