home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Report INSOUT.REP
- Caption = "INSOUT.REP"
- Width = 11460
- Height = 16185
- Reportheader = 1200
- Header = 1185
- Transaction = 9585
- SubTotal = 1620
- Footer = 570
- Pagefooter = 15960
- Replicate = 435
- Style = 8
- Query = "STTRND CDTYPE="B"&CDPRODTYPE<>"0" ORDER BY CDDOCNO"
- Macro = "1LU:Select from STTRNH where CHTRANNO=STTRND.CDTRANNO"
- Macro = "2CD:When STTRND.CDQUANTITY<>STTRND.CDQTYBAL then REPTOT(0)=REPTOT(0)+((STTRND.CDQTYBAL/STTRND.CDQUANTITY)*STTRND.CDGOODSOVR)"
- Macro = "2CD:When STTRND.CDQUANTITY=STTRND.CDQTYBAL then REPTOT(0)=REPTOT(0)+STTRND.CDGOODSOVR"
- Macro = "2LU:Select from STNAME where CNPRODID=STTRND.CDPRODID"
- Macro = "3OF:@REPVARS.REPTOT(1) = REPTOT(1)+REPTOT(0)"
- Macro = "3PP:@REPVARS.REPTOT(0) = 0"
- Macro = "4PP:@REPVARS.REPTOT(0) = 0"
- Macro = "4PP:@REPVARS.REPTOT(1) = 0"
- BreakOn = "STTRND.CDTRANNO"
- 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 = "Outstanding Sales Orders"
- 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 = 3285
- 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 = 675
- 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 = 675
- Width = 1110
- End
- Begin Control LABEL
- Type = "Label"
- Style = 2
- Caption = "Quantity"
- Font = "-135|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
- Location = "Header Block"
- Height = 285
- Left = 5055
- Top = 675
- Width = 780
- 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 = 4245
- Top = 675
- Width = 510
- End
- Begin Control LABEL
- Type = "Label"
- Style = 2
- Caption = "Balance"
- Font = "-135|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
- Location = "Header Block"
- Height = 285
- Left = 6360
- Top = 675
- 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 = 7575
- Top = 675
- Width = 1050
- End
- Begin Control LABEL
- Type = "Label"
- Style = 4
- Caption = "Outstanding"
- Font = "-135|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
- Location = "Header Block"
- Height = 285
- Left = 7575
- Top = 945
- Width = 1050
- End
- Begin Control CHDOCNO
- Type = "Text"
- Style = 0
- Fieldname = "CHDOCNO"
- Filename = "STTRNH"
- Font = "-135|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
- Location = "Header Block"
- Height = 270
- Left = 1080
- Top = 270
- Width = 1275
- End
- Begin Control LABEL
- Type = "Label"
- Style = 1
- Caption = "Order No. :"
- 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 = "Customer ID :"
- Font = "-135|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
- Location = "Header Block"
- Height = 285
- Left = 2460
- Top = 270
- Width = 1080
- 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 = 5025
- Top = 270
- Width = 675
- End
- Begin Control CHTXNDATE
- Type = "Text"
- Style = 0
- Fieldname = "CHTXNDATE"
- Filename = "STTRNH"
- Font = "-135|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
- Location = "Header Block"
- Height = 270
- Left = 5790
- Top = 270
- Width = 870
- End
- Begin Control CHACCID
- Type = "Text"
- Style = 0
- Fieldname = "CHACCID"
- Filename = "STTRNH"
- Font = "-135|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
- Location = "Header Block"
- Height = 270
- Left = 3570
- Top = 270
- Width = 1140
- End
- Begin Control LABEL
- Type = "Label"
- Style = 1
- Caption = "Due Date :"
- Font = "-135|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
- Location = "Header Block"
- Height = 285
- Left = 6780
- Top = 270
- Width = 945
- End
- Begin Control LABEL
- Type = "Label"
- Style = 12
- Caption = "IF(STTRNH.CHDUEDEL<>NULLDATE & STTRNH.CHDUEDEL<DATE(),"<< Order Overdue >>","")"
- Font = "-135|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
- Location = "Header Block"
- Height = 270
- Left = 8865
- Top = 270
- Width = 1755
- End
- Begin Control LABEL
- Type = "Label"
- Style = 9
- Caption = "IF(STTRNH.CHDUEDEL<>NULLDATE,DTOC(STTRNH.CHDUEDEL),"")"
- Font = "-135|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
- Location = "Header Block"
- Height = 270
- Left = 7830
- Top = 270
- Width = 810
- 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 = 165
- Width = 1230
- 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 = 1275
- Top = 165
- Width = 2760
- 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 = 4965
- Top = 165
- Width = 870
- 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 = 4215
- Top = 165
- Width = 510
- End
- Begin Control CDQTYBAL
- Type = "Text"
- Style = 0
- Fieldname = "CDQTYBAL"
- Filename = "STTRND"
- Font = "-135|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
- Location = "Transaction Block"
- Height = 270
- Left = 6240
- Top = 165
- Width = 870
- End
- Begin Control LABEL
- Type = "Label"
- Style = 10
- Caption = "IF(STTRND.CDQUANTITY<>STTRND.CDQTYBAL,STR((STTRND.CDQTYBAL/STTRND.CDQUANTITY)*STTRND.CDGOODSOVR,10,2),STR(STTRND.CDGOODSOVR,10,2))"
- Font = "-135|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
- Location = "Transaction Block"
- Height = 270
- Left = 7515
- Top = 165
- Width = 945
- End
- Begin Control LABEL
- Type = "Label"
- Style = 9
- Caption = ""Total Value Outstanding for Order = ""
- Font = "-135|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
- Location = "Subtotal Block"
- Height = 270
- Left = 5040
- Top = 570
- Width = 2430
- 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 = 7515
- Top = 570
- Width = 945
- 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 = "Footer Block"
- Height = 270
- Left = 7515
- Top = 300
- Width = 945
- End
- Begin Control LABEL
- Type = "Label"
- Style = 9
- Caption = ""Total Value Outstanding = ""
- Font = "-135|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
- Location = "Footer Block"
- Height = 270
- Left = 5040
- Top = 300
- Width = 2430
- End
-