home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Report STVALUE.REP
- Caption = "STVALUE.REP"
- Width = 11460
- Height = 16185
- Reportheader = 1200
- Header = 825
- Transaction = 9990
- SubTotal = 1440
- Footer = 840
- Pagefooter = 15960
- Replicate = 390
- Style = 8
- Query = "STNAME CNPRODTYPE="2" 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 = 1725
- 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 = 3975
- 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 = 3975
- 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 = 4920
- 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 = 4920
- 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 = 6000
- 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 = 6000
- 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 = 6945
- 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 = 6945
- 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 = 7890
- 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 = 7890
- 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 = 8970
- 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 = 8970
- Top = 540
- Width = 1050
- 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 = 10050
- 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 = 10050
- 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 = 120
- Width = 1230
- 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 = 1290
- Top = 120
- 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 = 3900
- Top = 120
- 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 = 6750
- Top = 120
- 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 = 4845
- Top = 120
- 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 = 5790
- Top = 120
- 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 = 7830
- Top = 120
- 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 = 8910
- Top = 120
- 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 = 9990
- Top = 120
- 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 = 270
- Left = 4860
- 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 = 6750
- 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 = 7830
- 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 = 8910
- 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 = 4860
- Top = 525
- Width = 2565
- 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 = 6750
- 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 = 7830
- 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 = 8910
- Top = 570
- Width = 870
- End
-