home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Report SLINVCRE.REP
- Caption = "SLINVCRE.REP"
- Width = 11460
- Height = 16185
- Reportheader = 975
- Header = 570
- Transaction = 13290
- SubTotal = 105
- Footer = 990
- Pagefooter = 15960
- Replicate = 345
- Style = 0
- Query = "SLTRAN STTYPE="I" | STTYPE="C""
- Macro = "2CD:When SLTRAN.STTYPE="I" then REPTOT(1)=REPTOT(1)+SLTRAN.STVAT"
- Macro = "2CD:When SLTRAN.STTYPE="I" then REPTOT(0)=REPTOT(0)+SLTRAN.STVALUE"
- Macro = "2LU:Select from SLNAME where SNACCOUNT=SLTRAN.STACCOUNT"
- Macro = "2CD:When SLTRAN.STTYPE="C" then REPTOT(2)=REPTOT(2)+SLTRAN.STVALUE"
- Macro = "2CD:When SLTRAN.STTYPE="C" then REPTOT(3)=REPTOT(3)+SLTRAN.STVAT"
- Macro = "4PP:@REPVARS.REPTOT(0) = 0"
- Macro = "4PP:@REPVARS.REPTOT(1) = 0"
- Macro = "4PP:@REPVARS.REPTOT(2) = 0"
- Macro = "4PP:@REPVARS.REPTOT(3) = 0"
- Special = "TXNRANGE(ST_IC_NO,STCREATION)"
- 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 = "Sales Invoices and Credit Notes"
- 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 = 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 = "Customer ID"
- Font = "-165|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
- Location = "Header Block"
- Height = 285
- Left = 30
- Top = 225
- Width = 1080
- End
- Begin Control LABEL
- Type = "Label"
- Style = 4
- Caption = "Date"
- Font = "-165|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
- Location = "Header Block"
- Height = 285
- Left = 1455
- Top = 225
- Width = 1110
- End
- Begin Control LABEL
- Type = "Label"
- Style = 1
- Caption = "Reference"
- Font = "-165|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
- Location = "Header Block"
- Height = 285
- Left = 3840
- Top = 225
- Width = 990
- End
- Begin Control LABEL
- Type = "Label"
- Style = 2
- Caption = "VAT"
- Font = "-165|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
- Location = "Header Block"
- Height = 285
- Left = 6975
- Top = 225
- Width = 960
- End
- Begin Control LABEL
- Type = "Label"
- Style = 2
- Caption = "Value"
- Font = "-165|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
- Location = "Header Block"
- Height = 285
- Left = 4920
- Top = 225
- Width = 915
- End
- Begin Control LABEL
- Type = "Label"
- Style = 2
- Caption = "Goods"
- Font = "-165|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
- Location = "Header Block"
- Height = 285
- Left = 5880
- Top = 225
- Width = 1005
- End
- Begin Control LABEL
- Type = "Label"
- Style = 4
- Caption = "Type"
- Font = "-165|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
- Location = "Header Block"
- Height = 285
- Left = 3015
- Top = 225
- Width = 600
- End
- Begin Control LABEL
- Type = "Label"
- Style = 1
- Caption = "Account Name"
- Font = "-165|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
- Location = "Header Block"
- Height = 285
- Left = 8115
- Top = 225
- Width = 2085
- End
- Begin Control STACCOUNT
- Type = "Text"
- Style = 0
- Fieldname = "STACCOUNT"
- Filename = "SLTRAN"
- Font = "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
- Location = "Transaction Block"
- Height = 270
- Left = 30
- Top = 60
- Width = 1095
- End
- Begin Control STTXNDATE
- Type = "Text"
- Style = 0
- Fieldname = "STTXNDATE"
- Filename = "SLTRAN"
- Font = "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
- Location = "Transaction Block"
- Height = 270
- Left = 1335
- Top = 60
- Width = 1275
- End
- Begin Control STREF
- Type = "Text"
- Style = 0
- Fieldname = "STREF"
- Filename = "SLTRAN"
- Font = "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
- Location = "Transaction Block"
- Height = 270
- Left = 3825
- Top = 60
- Width = 1005
- End
- Begin Control STVALUE
- Type = "Text"
- Style = 0
- Fieldname = "STVALUE"
- Filename = "SLTRAN"
- Font = "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
- Location = "Transaction Block"
- Height = 270
- Left = 4980
- Top = 60
- Width = 870
- End
- Begin Control STVAT
- Type = "Text"
- Style = 0
- Fieldname = "STVAT"
- Filename = "SLTRAN"
- Font = "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
- Location = "Transaction Block"
- Height = 270
- Left = 7080
- Top = 60
- Width = 870
- End
- Begin Control LABEL
- Type = "Label"
- Style = 10
- Caption = "STR(SLTRAN.STVALUE-SLTRAN.STVAT,10,2)"
- Font = "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
- Location = "Transaction Block"
- Height = 270
- Left = 5940
- Top = 75
- Width = 945
- End
- Begin Control LABEL
- Type = "Label"
- Style = 9
- Caption = "IF(SLTRAN.STTYPE="I","Invce","Cnote")"
- Font = "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
- Location = "Transaction Block"
- Height = 270
- Left = 2865
- Top = 75
- Width = 810
- End
- Begin Control SNNAME
- Type = "Text"
- Style = 0
- Fieldname = "SNNAME"
- Filename = "SLNAME"
- Font = "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
- Location = "Transaction Block"
- Height = 270
- Left = 8100
- Top = 60
- Width = 3075
- End
- Begin Control LABEL
- Type = "Label"
- Style = 10
- Caption = "STR(REPTOT(1),10,2)"
- Font = "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
- Location = "Footer Block"
- Height = 270
- Left = 6885
- Top = 180
- Width = 1080
- End
- Begin Control LABEL
- Type = "Label"
- Style = 10
- Caption = "STR(REPTOT(0)-REPTOT(1),10,2)"
- Font = "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
- Location = "Footer Block"
- Height = 270
- Left = 5805
- Top = 180
- Width = 1080
- End
- Begin Control LABEL
- Type = "Label"
- Style = 10
- Caption = "STR(REPTOT(0),10,2)"
- Font = "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
- Location = "Footer Block"
- Height = 270
- Left = 4785
- Top = 180
- Width = 1080
- End
- Begin Control LABEL
- Type = "Label"
- Style = 1
- Caption = "Total Invoices"
- Font = "-180|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
- Location = "Footer Block"
- Height = 270
- Left = 2430
- Top = 180
- Width = 1350
- End
- Begin Control LABEL
- Type = "Label"
- Style = 1
- Caption = "Total Credits"
- Font = "-180|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
- Location = "Footer Block"
- Height = 270
- Left = 2430
- Top = 450
- Width = 1350
- End
- Begin Control LABEL
- Type = "Label"
- Style = 10
- Caption = "STR(REPTOT(2),10,2)"
- Font = "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
- Location = "Footer Block"
- Height = 270
- Left = 4785
- Top = 435
- Width = 1080
- End
- Begin Control LABEL
- Type = "Label"
- Style = 10
- Caption = "STR(REPTOT(2)-REPTOT(3),10,2)"
- Font = "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
- Location = "Footer Block"
- Height = 270
- Left = 5805
- Top = 450
- Width = 1080
- End
- Begin Control LABEL
- Type = "Label"
- Style = 10
- Caption = "STR(REPTOT(3),10,2)"
- Font = "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
- Location = "Footer Block"
- Height = 270
- Left = 6885
- Top = 450
- Width = 1080
- End
- Begin Control LABEL
- Type = "Label"
- Style = 1
- Caption = "Total"
- Font = "-180|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
- Location = "Footer Block"
- Height = 270
- Left = 2430
- Top = 720
- Width = 1350
- End
- Begin Control LABEL
- Type = "Label"
- Style = 10
- Caption = "STR(REPTOT(2)+REPTOT(0),10,2)"
- Font = "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
- Location = "Footer Block"
- Height = 270
- Left = 4770
- Top = 720
- Width = 1080
- End
- Begin Control LABEL
- Type = "Label"
- Style = 10
- Caption = "STR(REPTOT(0)+REPTOT(2)-REPTOT(1)-REPTOT(3),10,2)"
- Font = "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
- Location = "Footer Block"
- Height = 270
- Left = 5805
- Top = 720
- Width = 1080
- End
- Begin Control LABEL
- Type = "Label"
- Style = 10
- Caption = "STR(REPTOT(1)+REPTOT(3),10,2)"
- Font = "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
- Location = "Footer Block"
- Height = 270
- Left = 6885
- Top = 720
- Width = 1080
- End
-