home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Report VATPREC.REP
- Caption = "VATPREC.REP"
- Width = 11175
- Height = 15795
- Reportheader = 900
- Header = 1230
- Transaction = 11220
- SubTotal = 1035
- Footer = 0
- Pagefooter = 15615
- Replicate = 420
- Style = 0
- Query = "VATREC VRMODULE="P" ORDER BY VRACCOUNT"
- Macro = "1LU:Select from PLNAME where PNCODE=VATREC.VRACCOUNT"
- Macro = "2OF:@REPVARS.REPTOT(0) = 0"
- Macro = "2CD:When VATREC.VRTYPE<>"V" then REPTOT(0)=VATREC.VRVALUE"
- Macro = "2OF:@REPVARS.REPTOT(2) = VATREC.VRVAT"
- Macro = "2CD:When VATREC.VRTYPE="V" then REPTOT(2)=REPTOT(2)*-1"
- Macro = "2OF:@REPVARS.REPTOT(1) = REPTOT(0)-REPTOT(2)"
- BreakOn = "VATREC.VRALCBATCH"
- Special = "TXNRANGE(VRALCBATCH,VRALCDATE)"
- End
- Begin Control LABEL
- Type = "Label"
- Style = 4
- Caption = "Purchase VAT Reconciliation Report"
- Font = "-285|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
- Location = "Reportheader Block"
- Height = 375
- 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 = 2745
- 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 = 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 = "Date"
- Font = "-165|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
- Location = "Header Block"
- Height = 285
- Left = 75
- Top = 855
- Width = 735
- 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 = 3630
- Top = 855
- Width = 600
- 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 = 4845
- Top = 855
- Width = 735
- End
- Begin Control LABEL
- Type = "Label"
- Style = 4
- Caption = "VAT"
- Font = "-165|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
- Location = "Header Block"
- Height = 285
- Left = 6345
- Top = 855
- Width = 600
- 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 = 1170
- Top = 855
- Width = 600
- End
- Begin Control PNNAME
- Type = "Text"
- Style = 0
- Fieldname = "PNNAME"
- Filename = "PLNAME"
- Font = "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
- Location = "Header Block"
- Height = 270
- Left = 2040
- Top = 495
- Width = 2835
- 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 = 2205
- Top = 855
- Width = 1005
- End
- Begin Control VRALCDATE
- Type = "Text"
- Style = 0
- Fieldname = "VRALCDATE"
- Filename = "VATREC"
- Font = "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
- Location = "Header Block"
- Height = 270
- Left = 6690
- Top = 495
- Width = 1005
- End
- Begin Control LABEL
- Type = "Label"
- Style = 1
- Caption = "Date of Allocation :"
- Font = "-165|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
- Location = "Header Block"
- Height = 270
- Left = 5070
- Top = 495
- Width = 1620
- End
- Begin Control LABEL
- Type = "Label"
- Style = 1
- Caption = "Allocation Batch No. :"
- Font = "-165|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
- Location = "Header Block"
- Height = 270
- Left = 7770
- Top = 495
- Width = 1890
- End
- Begin Control LABEL
- Type = "Label"
- Style = 1
- Caption = "Supplier ID :"
- Font = "-165|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
- Location = "Header Block"
- Height = 270
- Left = 30
- Top = 495
- Width = 1050
- End
- Begin Control LABEL
- Type = "Label"
- Style = 2
- Caption = "Paid/Received"
- Font = "-165|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
- Location = "Header Block"
- Height = 285
- Left = 3420
- Top = 1125
- Width = 1140
- End
- Begin Control LABEL
- Type = "Label"
- Style = 2
- Caption = "Paid/Reclaimed"
- Font = "-165|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
- Location = "Header Block"
- Height = 285
- Left = 5850
- Top = 1125
- Width = 1275
- End
- Begin Control LABEL
- Type = "Label"
- Style = 4
- Caption = "VAT"
- Font = "-165|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
- Location = "Header Block"
- Height = 285
- Left = 7290
- Top = 855
- Width = 600
- End
- Begin Control LABEL
- Type = "Label"
- Style = 4
- Caption = "Code"
- Font = "-165|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
- Location = "Header Block"
- Height = 285
- Left = 7335
- Top = 1125
- Width = 600
- End
- Begin Control VRACCOUNT
- Type = "Text"
- Style = 0
- Fieldname = "VRACCOUNT"
- Filename = "VATREC"
- Font = "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
- Location = "Header Block"
- Height = 270
- Left = 1035
- Top = 495
- Width = 960
- End
- Begin Control LABEL
- Type = "Label"
- Style = 9
- Caption = "RIGHT(VATREC.VRALCBATCH,5)"
- Font = "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
- Location = "Header Block"
- Height = 270
- Left = 9615
- Top = 495
- Width = 1050
- End
- Begin Control VRDATE
- Type = "Text"
- Style = 0
- Fieldname = "VRDATE"
- Filename = "VATREC"
- Font = "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
- Location = "Transaction Block"
- Height = 270
- Left = 75
- Top = 150
- Width = 1140
- End
- Begin Control VRREF
- Type = "Text"
- Style = 0
- Fieldname = "VRREF"
- Filename = "VATREC"
- Font = "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
- Location = "Transaction Block"
- Height = 270
- Left = 2205
- Top = 150
- Width = 1275
- 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 = "Transaction Block"
- Height = 270
- Left = 6075
- Top = 150
- Width = 990
- End
- Begin Control LABEL
- Type = "Label"
- Style = 9
- Caption = "MID(" InvCrnPayAdjDscRfdVad",INSTR("ICPADFV",VATREC.VRTYPE)*3+1,3)"
- Font = "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
- Location = "Transaction Block"
- Height = 270
- Left = 1350
- Top = 150
- Width = 810
- 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 = "Transaction Block"
- Height = 270
- Left = 3510
- Top = 150
- Width = 990
- 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 = "Transaction Block"
- Height = 270
- Left = 4725
- Top = 150
- Width = 990
- End
- Begin Control LABEL
- Type = "Label"
- Style = 9
- Caption = "IF(TRIM(VATREC.VRTYPE)="V","VAT Adjustment due to unallocated cash",VATREC.VRVATCODE)"
- Font = "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
- Location = "Transaction Block"
- Height = 270
- Left = 7560
- Top = 150
- Width = 3645
- End
-