home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Report SLRECPTS.REP
- Caption = "SLRECPTS.REP"
- Width = 11175
- Height = 17370
- Reportheader = 975
- Header = 810
- Transaction = 11820
- SubTotal = 660
- Footer = 1665
- Pagefooter = 16185
- Replicate = 390
- Style = 0
- Query = "SLTRAN STTYPE="R" | STTYPE="D" ORDER BY STNOMBATCH+DTOS(STCREATION)"
- Macro = "1LU:Select from NLTRAN where NTENTRYNO=SLTRAN.STNOMBATCH & NTRECONCIL<'D'"
- Macro = "1LU:Select from NLNAME where NNACCOUNT=NLTRAN.NTCODE"
- Macro = "2LU:Select from SLNAME where SNACCOUNT=SLTRAN.STACCOUNT"
- Macro = "2PP:@REPVARS.REPTOT(0) = REPTOT(0)+SLTRAN.STVALUE"
- Macro = "2CD:When SLTRAN.STTYPE="R" & SLTRAN.STALLOC="A" then REPTOT(2)=REPTOT(2)+SLTRAN.STVALUE"
- Macro = "2CD:When SLTRAN.STTYPE="R" & SLTRAN.STALLOC=" " then REPTOT(3)=REPTOT(3)+SLTRAN.STVALUE"
- Macro = "2CD:When SLTRAN.STTYPE="D" then REPTOT(4)=REPTOT(4)+SLTRAN.STVALUE"
- Macro = "3OF:@REPVARS.REPTOT(1) = REPTOT(1)+REPTOT(0)"
- Macro = "3PP:@REPVARS.REPTOT(0) = 0"
- BreakOn = "SLTRAN.STNOMBATCH"
- 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 Receipts"
- Font = "-285|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
- Location = "Reportheader Block"
- Height = 285
- Left = 0
- 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 = 3690
- 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 = 9180
- Top = 720
- Width = 1800
- 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 = 135
- Top = 645
- Width = 1140
- 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 = 1425
- Top = 645
- Width = 870
- 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 = 3960
- Top = 645
- Width = 1005
- 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 = 5520
- Top = 645
- Width = 1005
- 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 = 6795
- Top = 645
- Width = 1815
- End
- Begin Control LABEL
- Type = "Label"
- Style = 1
- Caption = "Paying In Slip Reference:"
- Font = "-165|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
- Location = "Header Block"
- Height = 285
- Left = 135
- Top = 240
- Width = 2220
- End
- Begin Control LABEL
- Type = "Label"
- Style = 9
- Caption = "MID(SLTRAN.STNOMBATCH+" ",5,5)"
- Font = "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
- Location = "Header Block"
- Height = 285
- Left = 2295
- Top = 240
- Width = 870
- End
- Begin Control NTCODE
- Type = "Text"
- Style = 0
- Fieldname = "NTCODE"
- Filename = "NLTRAN"
- Font = "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
- Location = "Header Block"
- Height = 270
- Left = 4170
- Top = 225
- Width = 735
- End
- Begin Control NNACCNAME
- Type = "Text"
- Style = 0
- Fieldname = "NNACCNAME"
- Filename = "NLNAME"
- Font = "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
- Location = "Header Block"
- Height = 270
- Left = 5130
- Top = 225
- Width = 3075
- End
- Begin Control LABEL
- Type = "Label"
- Style = 1
- Caption = "Bank:"
- Font = "-165|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
- Location = "Header Block"
- Height = 285
- Left = 3585
- Top = 240
- Width = 465
- 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 = 2640
- Top = 645
- Width = 870
- 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 = 135
- Top = 90
- Width = 1140
- 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 = 1425
- Top = 90
- Width = 1140
- 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 = 3960
- Top = 90
- Width = 1275
- 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 = 5520
- Top = 90
- Width = 1005
- 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 = 6750
- Top = 90
- Width = 3075
- End
- Begin Control LABEL
- Type = "Label"
- Style = 9
- Caption = "IF(SLTRAN.STTYPE="D","Discount","Receipt")"
- Font = "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
- Location = "Transaction Block"
- Height = 285
- Left = 2700
- Top = 105
- Width = 1140
- 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 = "Subtotal Block"
- Height = 270
- Left = 3825
- Top = 30
- Width = 1080
- End
- Begin Control LABEL
- Type = "Label"
- Style = 1
- Caption = "Slip Total"
- Font = "-165|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
- Location = "Subtotal Block"
- Height = 270
- Left = 2295
- Top = 30
- Width = 1350
- End
- Begin Control LABEL
- Type = "Label"
- Style = 1
- Caption = "Total Receipts"
- Font = "-165|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
- Location = "Footer Block"
- Height = 270
- Left = 2295
- Top = 45
- Width = 1350
- 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 = 3825
- Top = 45
- Width = 1080
- End
- Begin Control LABEL
- Type = "Label"
- Style = 1
- Caption = "Allocated Receipts"
- Font = "-165|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
- Location = "Footer Block"
- Height = 270
- Left = 135
- Top = 585
- Width = 1620
- End
- Begin Control LABEL
- Type = "Label"
- Style = 1
- Caption = "Unallocated Receipts"
- Font = "-165|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
- Location = "Footer Block"
- Height = 270
- Left = 135
- Top = 855
- Width = 1755
- End
- Begin Control LABEL
- Type = "Label"
- Style = 1
- Caption = "Discount"
- Font = "-165|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
- Location = "Footer Block"
- Height = 270
- Left = 135
- Top = 1125
- Width = 1620
- 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 = 2070
- Top = 585
- 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 = 2070
- Top = 855
- Width = 1080
- End
- Begin Control LABEL
- Type = "Label"
- Style = 10
- Caption = "STR(REPTOT(4),10,2)"
- Font = "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
- Location = "Footer Block"
- Height = 270
- Left = 2070
- Top = 1125
- Width = 1080
- End
- Begin Control LABEL
- Type = "Label"
- Style = 1
- Caption = "Total"
- Font = "-165|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
- Location = "Footer Block"
- Height = 270
- Left = 135
- Top = 1395
- Width = 1620
- End
- Begin Control LABEL
- Type = "Label"
- Style = 10
- Caption = "STR(REPTOT(2)+REPTOT(3)+REPTOT(4),10,2)"
- Font = "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
- Location = "Footer Block"
- Height = 270
- Left = 2070
- Top = 1395
- Width = 1080
- End
-