home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Report STMOVE.REP
- Caption = "STMOVE.REP"
- Width = 11460
- Height = 16185
- Reportheader = 1200
- Header = 615
- Transaction = 10155
- SubTotal = 3150
- Footer = 0
- Pagefooter = 15960
- Replicate = 330
- Style = 12
- Query = "STTRND CDPRODTYPE="2" ORDER BY CDPRODID+CDTYPE"
- Macro = "2CD:When STTRND.CDTYPE="4"|STTRND.CDTYPE="5" then REPTOT(0)=REPTOT(0)+STTRND.CDPROFIT"
- Macro = "2LU:Select from STTRNH where CHTRANNO=STTRND.CDTRANNO"
- Macro = "2LU:Select from STNAME where CNPRODID=STTRND.CDPRODID"
- Macro = "4PP:@REPVARS.REPTOT(0) = 0"
- Special = "TXNRANGE(CDTRANNO,CDCREATION)"
- 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 Movements"
- Font = "-285|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
- Location = "Reportheader Block"
- Height = 285
- 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 = 3555
- 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 = 1185
- Top = 270
- Width = 1110
- End
- Begin Control LABEL
- Type = "Label"
- Style = 1
- Caption = "Reference"
- Font = "-135|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
- Location = "Header Block"
- Height = 285
- Left = 5595
- Top = 270
- Width = 990
- End
- Begin Control LABEL
- Type = "Label"
- Style = 2
- Caption = "Qty"
- 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 = 375
- End
- Begin Control LABEL
- Type = "Label"
- Style = 4
- Caption = "Type"
- Font = "-135|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
- Location = "Header Block"
- Height = 285
- Left = 3825
- Top = 270
- Width = 600
- End
- Begin Control LABEL
- Type = "Label"
- Style = 1
- Caption = "Date"
- 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 = 585
- 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 = 7620
- Top = 270
- Width = 375
- End
- Begin Control CDPRODID
- Type = "Text"
- Style = 0
- Fieldname = "CDPRODID"
- Filename = "STTRND"
- Font = "-135|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
- Location = "Transaction Block"
- Height = 270
- Left = 30
- Top = 60
- Width = 960
- End
- Begin Control CDDESC
- Type = "Text"
- Style = 0
- Fieldname = "CDDESC"
- Filename = "STTRND"
- Font = "-135|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
- Location = "Transaction Block"
- Height = 270
- Left = 1065
- Top = 60
- Width = 2625
- End
- Begin Control CDDOCNO
- Type = "Text"
- Style = 0
- Fieldname = "CDDOCNO"
- Filename = "STTRND"
- Font = "-135|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
- Location = "Transaction Block"
- Height = 270
- Left = 5580
- Top = 60
- Width = 1005
- End
- Begin Control CDQUANTITY
- Type = "Text"
- Style = 0
- Fieldname = "CDQUANTITY"
- Filename = "STTRND"
- Font = "-135|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
- Location = "Transaction Block"
- Height = 270
- Left = 6600
- Top = 60
- Width = 735
- End
- Begin Control LABEL
- Type = "Label"
- Style = 9
- Caption = "MID(" ReceiptIssue Adjust Return CmPO POrd CmSO SOrd Prof Quot ",(INSTR("3485019BEF",STTRND.CDTYPE)*7)+1,7)"
- Font = "-135|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
- Location = "Transaction Block"
- Height = 270
- Left = 3810
- Top = 60
- Width = 675
- End
- Begin Control CDTXNDATE
- Type = "Text"
- Style = 0
- Fieldname = "CDTXNDATE"
- Filename = "STTRND"
- Font = "-135|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
- Location = "Transaction Block"
- Height = 270
- Left = 4500
- Top = 60
- Width = 1005
- 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 = 7545
- Top = 60
- Width = 465
- End
- Begin Control LABEL
- Type = "Label"
- Style = 9
- Caption = "IF(STTRND.CDTYPE="3","Cost =",IF(STTRND.CDTYPE="4"|STTRND.CDTYPE="5","Profit =",IF(STTRND.CDTYPE="0"|STTRND.CDTYPE="9","Completed ",IF(STTRND.CDTYPE="1"|STTRND.CDTYPE="B"|STTRND.CDTYPE="E"|STTRND.CDTYPE="F","Due "+IF(STTRNH.CHDUEDEL<>NULLDATE,DTOC(STTRNH.CHDUEDEL),""),""))))"
- Font = "-135|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
- Location = "Transaction Block"
- Height = 270
- Left = 8085
- Top = 60
- Width = 1080
- End
- Begin Control LABEL
- Type = "Label"
- Style = 9
- Caption = "IF(STTRND.CDTYPE="3",LTRIM(STR(STTRND.CDPRICE,10,2)),IF(STTRND.CDTYPE="4"|STTRND.CDTYPE="5",LTRIM(STR(STTRND.CDPROFIT,10,2)),IF(STTRND.CDTYPE="0"|STTRND.CDTYPE="1","From "+STTRND.CDACCID,IF(STTRND.CDTYPE="9"|STTRND.CDTYPE="B"|STTRND.CDTYPE="E"|STTRND.CDTYPE="F","To "+STTRND.CDACCID,""))))"
- Font = "-135|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
- Location = "Transaction Block"
- Height = 270
- Left = 9180
- Top = 60
- Width = 1830
- End
- Begin Control LABEL
- Type = "Label"
- Style = 9
- Caption = "STR(REPTOT(0),10,2)"
- Font = "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
- Location = "Subtotal Block"
- Height = 270
- Left = 2220
- Top = 2340
- Width = 1620
- End
- Begin Control LABEL
- Type = "Label"
- Style = 1
- Caption = "Total Expected Profit ="
- Font = "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
- Location = "Subtotal Block"
- Height = 270
- Left = 135
- Top = 2340
- Width = 2025
- End
-