home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Computer Buyer 1999 March
/
Dpcb0399.iso
/
MONEY
/
Capital
/
SETUP.2
/
REPORTS
/
STVALUE.REP
< prev
next >
Wrap
Text File
|
1996-03-07
|
14KB
|
440 lines
VERSION 2.00
Begin Report STVALUE.REP
Caption = "STVALUE.REP"
Width = 11460
Height = 16185
Reportheader = 1200
Header = 900
Transaction = 9915
SubTotal = 1440
Footer = 840
Pagefooter = 15960
Replicate = 450
Style = 8
Query = "STNAME CNPRODTYPE="2" & CNPRODID => ^@0 & CNPRODID <= ^@1 ORDER BY CNPRODID"
Macro = "2OF:STTRND.CDPRODID = STNAME.CNPRODID"
Macro = "2CD:When STNAME.CNPRODTYPE="2" then REPTOT(0)=REPTOT(0)+(STNAME.CNQTYINST*STNAME.CNAVGCOS)"
Macro = "2CD:When STNAME.CNPRODTYPE="2" then REPTOT(1)=REPTOT(1)+(STNAME.CNQTYINST*STNAME.CNSELPRICE)"
Macro = "3PP:@REPVARS.REPTOT(3) = REPTOT(3)+REPTOT(0)"
Macro = "3PP:@REPVARS.REPTOT(4) = REPTOT(4)+REPTOT(1)"
Macro = "3PP:@REPVARS.REPTOT(0) = 0"
Macro = "3PP:@REPVARS.REPTOT(1) = 0"
Macro = "4PP:@REPVARS.REPTOT(0) = 0"
Macro = "4PP:@REPVARS.REPTOT(1) = 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 = "Stock Valuation"
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 = 2265
Top = 270
Width = 1785
End
Begin Control LABEL
Type = "Label"
Style = 4
Caption = "Quantity"
Font = "-135|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
Location = "Header Block"
Height = 285
Left = 4515
Top = 270
Width = 915
End
Begin Control LABEL
Type = "Label"
Style = 4
Caption = "In Stock"
Font = "-135|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
Location = "Header Block"
Height = 285
Left = 4515
Top = 540
Width = 915
End
Begin Control LABEL
Type = "Label"
Style = 4
Caption = "Average"
Font = "-135|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
Location = "Header Block"
Height = 285
Left = 5460
Top = 270
Width = 915
End
Begin Control LABEL
Type = "Label"
Style = 4
Caption = "Cost Price"
Font = "-135|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
Location = "Header Block"
Height = 285
Left = 5460
Top = 540
Width = 915
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 = 6540
Top = 270
Width = 780
End
Begin Control LABEL
Type = "Label"
Style = 4
Caption = "Price"
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 = "Cost"
Font = "-135|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
Location = "Header Block"
Height = 285
Left = 7485
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 = 7485
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 = 8430
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 = 8430
Top = 540
Width = 915
End
Begin Control LABEL
Type = "Label"
Style = 4
Caption = "Potential"
Font = "-135|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
Location = "Header Block"
Height = 285
Left = 9510
Top = 270
Width = 915
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 = 9510
Top = 540
Width = 915
End
Begin Control LABEL
Type = "Label"
Style = 4
Caption = "No. of"
Font = "-135|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
Location = "Header Block"
Height = 285
Left = 10455
Top = 270
Width = 780
End
Begin Control LABEL
Type = "Label"
Style = 4
Caption = "Days"
Font = "-135|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
Location = "Header Block"
Height = 285
Left = 10455
Top = 540
Width = 780
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 = 180
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 = 1830
Top = 180
Width = 2490
End
Begin Control CNQTYINST
Type = "Text"
Style = 0
Fieldname = "CNQTYINST"
Filename = "STNAME"
Font = "-135|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
Location = "Transaction Block"
Height = 270
Left = 4440
Top = 180
Width = 870
End
Begin Control LABEL
Type = "Label"
Style = 10
Caption = "STR((STNAME.CNQTYINST*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 = 7290
Top = 180
Width = 870
End
Begin Control CNAVGCOS
Type = "Text"
Style = 0
Fieldname = "CNAVGCOS"
Filename = "STNAME"
Font = "-135|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
Location = "Transaction Block"
Height = 270
Left = 5385
Top = 180
Width = 870
End
Begin Control CNSELPRICE
Type = "Text"
Style = 0
Fieldname = "CNSELPRICE"
Filename = "STNAME"
Font = "-135|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
Location = "Transaction Block"
Height = 270
Left = 6330
Top = 180
Width = 870
End
Begin Control LABEL
Type = "Label"
Style = 10
Caption = "STR((STNAME.CNQTYINST*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 = 8370
Top = 180
Width = 870
End
Begin Control LABEL
Type = "Label"
Style = 10
Caption = "STR(((STNAME.CNQTYINST*STNAME.CNSELPRICE)-(STNAME.CNQTYINST*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 = 9450
Top = 180
Width = 870
End
Begin Control LABEL
Type = "Label"
Style = 10
Caption = "IF(STNAME.CNLASTISS<>NULLDATE & STNAME.CNLASTISS<DATE(),IF(DATE()-STNAME.CNLASTISS>364,"1 Year+",(STR(DATE()-STNAME.CNLASTISS,3,0)),"")"
Font = "-135|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
Location = "Transaction Block"
Height = 270
Left = 10395
Top = 180
Width = 675
End
Begin Control LABEL
Type = "Label"
Style = 9
Caption = ""Actual Stock Value 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 = 405
Left = 4995
Top = 525
Width = 2565
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 = "Subtotal Block"
Height = 270
Left = 7290
Top = 525
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 = 8370
Top = 525
Width = 870
End
Begin Control LABEL
Type = "Label"
Style = 10
Caption = "STR(REPTOT(1)-REPTOT(0),10,2)"
Font = "-135|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
Location = "Subtotal Block"
Height = 270
Left = 9450
Top = 525
Width = 870
End
Begin Control LABEL
Type = "Label"
Style = 9
Caption = ""Total Stock Value =""
Font = "-135|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
Location = "Footer Block"
Height = 270
Left = 4995
Top = 525
Width = 1755
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 = 7290
Top = 570
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 = 8370
Top = 570
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 = 9450
Top = 570
Width = 870
End