home *** CD-ROM | disk | FTP | other *** search
/ Computer Buyer 1999 March / Dpcb0399.iso / MONEY / Capital / SETUP.2 / REPORTS / INVINV02.REP < prev    next >
Text File  |  1996-10-15  |  37KB  |  1,085 lines

  1. VERSION 2.00
  2. Begin Report INVINV02.REP
  3.       Caption      =   "INVINV02.REP"
  4.       Width        =   11175
  5.       Height       =   16395
  6.       Reportheader =   0
  7.       Header       =   6375
  8.       Transaction  =   6330
  9.       SubTotal     =   3360
  10.       Footer       =   0
  11.       Pagefooter   =   16080
  12.       Replicate    =   375
  13.       Style        =   13
  14.       Query        =   "STTRND "
  15.       Macro        =   "0LU:Select from FACTOR where ALL"
  16.       Macro        =   "1LU:Select from SLNAME where SLNAME.SNACCOUNT=STTRND.CDACCID"
  17.       Macro        =   "1LU:Select from STTRNH where STTRNH.CHTRANNO=STTRND.CDTRANNO"
  18.       Macro        =   "1OF:@REPVARS.REPTOT(0) = REPTOT(0)+1"
  19.       Macro        =   "3PP:@REPVARS.REPTOT(0) = 0"
  20.       BreakOn      =   "STTRND.CDTRANNO"
  21. End
  22. Begin Control LABEL
  23.       Type         =   "Label"
  24.       Style        =   9
  25.       Caption      =   ""Quantity""
  26.       Font         =   "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  27.       Location     =   "Header Block"
  28.       Height       =   285
  29.       Left         =   5670
  30.       Top          =   5850
  31.       Width        =   870
  32. End
  33. Begin Control LABEL
  34.       Type         =   "Label"
  35.       Style        =   9
  36.       Caption      =   ""Description""
  37.       Font         =   "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  38.       Location     =   "Header Block"
  39.       Height       =   285
  40.       Left         =   2655
  41.       Top          =   5850
  42.       Width        =   1140
  43. End
  44. Begin Control SNNAME
  45.       Type         =   "Text"
  46.       Style        =   0
  47.       Fieldname    =   "SNNAME"
  48.       Filename     =   "SLNAME"
  49.       Font         =   "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  50.       Location     =   "Header Block"
  51.       Height       =   270
  52.       Left         =   810
  53.       Top          =   2280
  54.       Width        =   3645
  55. End
  56. Begin Control SNADD1
  57.       Type         =   "Text"
  58.       Style        =   0
  59.       Fieldname    =   "SNADD1"
  60.       Filename     =   "SLNAME"
  61.       Font         =   "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  62.       Location     =   "Header Block"
  63.       Height       =   270
  64.       Left         =   810
  65.       Top          =   2535
  66.       Width        =   3645
  67. End
  68. Begin Control SNADD2
  69.       Type         =   "Text"
  70.       Style        =   0
  71.       Fieldname    =   "SNADD2"
  72.       Filename     =   "SLNAME"
  73.       Font         =   "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  74.       Location     =   "Header Block"
  75.       Height       =   270
  76.       Left         =   810
  77.       Top          =   2790
  78.       Width        =   3645
  79. End
  80. Begin Control SNADD3
  81.       Type         =   "Text"
  82.       Style        =   0
  83.       Fieldname    =   "SNADD3"
  84.       Filename     =   "SLNAME"
  85.       Font         =   "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  86.       Location     =   "Header Block"
  87.       Height       =   270
  88.       Left         =   810
  89.       Top          =   3030
  90.       Width        =   3645
  91. End
  92. Begin Control SNADD4
  93.       Type         =   "Text"
  94.       Style        =   0
  95.       Fieldname    =   "SNADD4"
  96.       Filename     =   "SLNAME"
  97.       Font         =   "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  98.       Location     =   "Header Block"
  99.       Height       =   270
  100.       Left         =   810
  101.       Top          =   3285
  102.       Width        =   3645
  103. End
  104. Begin Control SNPOSTCODE
  105.       Type         =   "Text"
  106.       Style        =   0
  107.       Fieldname    =   "SNPOSTCODE"
  108.       Filename     =   "SLNAME"
  109.       Font         =   "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  110.       Location     =   "Header Block"
  111.       Height       =   270
  112.       Left         =   810
  113.       Top          =   3540
  114.       Width        =   3645
  115. End
  116. Begin Control LABEL
  117.       Type         =   "Label"
  118.       Style        =   9
  119.       Caption      =   ""Price""
  120.       Font         =   "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  121.       Location     =   "Header Block"
  122.       Height       =   285
  123.       Left         =   6915
  124.       Top          =   5850
  125.       Width        =   600
  126. End
  127. Begin Control LABEL
  128.       Type         =   "Label"
  129.       Style        =   9
  130.       Caption      =   ""Product ID""
  131.       Font         =   "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  132.       Location     =   "Header Block"
  133.       Height       =   285
  134.       Left         =   225
  135.       Top          =   5850
  136.       Width        =   1275
  137. End
  138. Begin Control LABEL
  139.       Type         =   "Label"
  140.       Style        =   9
  141.       Caption      =   "if(STTRNH.CHTYPE="4","Invoice To:","Credit To:")"
  142.       Font         =   "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  143.       Location     =   "Header Block"
  144.       Height       =   270
  145.       Left         =   810
  146.       Top          =   2040
  147.       Width        =   2025
  148. End
  149. Begin Control CHDEL1
  150.       Type         =   "Text"
  151.       Style        =   0
  152.       Fieldname    =   "CHDEL1"
  153.       Filename     =   "STTRNH"
  154.       Font         =   "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  155.       Location     =   "Header Block"
  156.       Height       =   270
  157.       Left         =   6615
  158.       Top          =   2280
  159.       Width        =   3645
  160. End
  161. Begin Control CHDEL2
  162.       Type         =   "Text"
  163.       Style        =   0
  164.       Fieldname    =   "CHDEL2"
  165.       Filename     =   "STTRNH"
  166.       Font         =   "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  167.       Location     =   "Header Block"
  168.       Height       =   270
  169.       Left         =   6615
  170.       Top          =   2535
  171.       Width        =   3645
  172. End
  173. Begin Control CHDEL3
  174.       Type         =   "Text"
  175.       Style        =   0
  176.       Fieldname    =   "CHDEL3"
  177.       Filename     =   "STTRNH"
  178.       Font         =   "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  179.       Location     =   "Header Block"
  180.       Height       =   270
  181.       Left         =   6615
  182.       Top          =   2790
  183.       Width        =   3645
  184. End
  185. Begin Control CHDEL4
  186.       Type         =   "Text"
  187.       Style        =   0
  188.       Fieldname    =   "CHDEL4"
  189.       Filename     =   "STTRNH"
  190.       Font         =   "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  191.       Location     =   "Header Block"
  192.       Height       =   270
  193.       Left         =   6615
  194.       Top          =   3030
  195.       Width        =   3645
  196. End
  197. Begin Control CHDEL5
  198.       Type         =   "Text"
  199.       Style        =   0
  200.       Fieldname    =   "CHDEL5"
  201.       Filename     =   "STTRNH"
  202.       Font         =   "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  203.       Location     =   "Header Block"
  204.       Height       =   270
  205.       Left         =   6615
  206.       Top          =   3285
  207.       Width        =   3645
  208. End
  209. Begin Control LABEL
  210.       Type         =   "Label"
  211.       Style        =   9
  212.       Caption      =   ""Deliver To:""
  213.       Font         =   "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  214.       Location     =   "Header Block"
  215.       Height       =   270
  216.       Left         =   6615
  217.       Top          =   2040
  218.       Width        =   2025
  219. End
  220. Begin Control LABEL
  221.       Type         =   "Label"
  222.       Style        =   9
  223.       Caption      =   ""Despatched By""
  224.       Font         =   "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  225.       Location     =   "Header Block"
  226.       Height       =   270
  227.       Left         =   5535
  228.       Top          =   4545
  229.       Width        =   1215
  230. End
  231. Begin Control CHDESPBY
  232.       Type         =   "Text"
  233.       Style        =   0
  234.       Fieldname    =   "CHDESPBY"
  235.       Filename     =   "STTRNH"
  236.       Font         =   "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  237.       Location     =   "Header Block"
  238.       Height       =   270
  239.       Left         =   6750
  240.       Top          =   4545
  241.       Width        =   1890
  242. End
  243. Begin Control LABEL
  244.       Type         =   "Label"
  245.       Style        =   9
  246.       Caption      =   ""Customer ID""
  247.       Font         =   "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  248.       Location     =   "Header Block"
  249.       Height       =   270
  250.       Left         =   810
  251.       Top          =   5010
  252.       Width        =   2025
  253. End
  254. Begin Control CHACCID
  255.       Type         =   "Text"
  256.       Style        =   0
  257.       Fieldname    =   "CHACCID"
  258.       Filename     =   "STTRNH"
  259.       Font         =   "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  260.       Location     =   "Header Block"
  261.       Height       =   270
  262.       Left         =   2835
  263.       Top          =   5010
  264.       Width        =   1890
  265. End
  266. Begin Control COMPADD1
  267.       Type         =   "Text"
  268.       Style        =   0
  269.       Fieldname    =   "COMPADD1"
  270.       Filename     =   "SYSTEM"
  271.       Font         =   "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  272.       Location     =   "Header Block"
  273.       Height       =   270
  274.       Left         =   810
  275.       Top          =   540
  276.       Width        =   3375
  277. End
  278. Begin Control COMPADD2
  279.       Type         =   "Text"
  280.       Style        =   0
  281.       Fieldname    =   "COMPADD2"
  282.       Filename     =   "SYSTEM"
  283.       Font         =   "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  284.       Location     =   "Header Block"
  285.       Height       =   270
  286.       Left         =   810
  287.       Top          =   810
  288.       Width        =   3375
  289. End
  290. Begin Control COMPADD3
  291.       Type         =   "Text"
  292.       Style        =   0
  293.       Fieldname    =   "COMPADD3"
  294.       Filename     =   "SYSTEM"
  295.       Font         =   "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  296.       Location     =   "Header Block"
  297.       Height       =   270
  298.       Left         =   810
  299.       Top          =   1080
  300.       Width        =   3375
  301. End
  302. Begin Control COMPADD4
  303.       Type         =   "Text"
  304.       Style        =   0
  305.       Fieldname    =   "COMPADD4"
  306.       Filename     =   "SYSTEM"
  307.       Font         =   "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  308.       Location     =   "Header Block"
  309.       Height       =   270
  310.       Left         =   810
  311.       Top          =   1350
  312.       Width        =   3375
  313. End
  314. Begin Control COMPTEL
  315.       Type         =   "Text"
  316.       Style        =   0
  317.       Fieldname    =   "COMPTEL"
  318.       Filename     =   "SYSTEM"
  319.       Font         =   "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  320.       Location     =   "Header Block"
  321.       Height       =   270
  322.       Left         =   5265
  323.       Top          =   810
  324.       Width        =   2160
  325. End
  326. Begin Control LABEL
  327.       Type         =   "Label"
  328.       Style        =   1
  329.       Caption      =   "Telephone No."
  330.       Font         =   "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  331.       Location     =   "Header Block"
  332.       Height       =   270
  333.       Left         =   4185
  334.       Top          =   810
  335.       Width        =   1080
  336. End
  337. Begin Control COMPFAX
  338.       Type         =   "Text"
  339.       Style        =   0
  340.       Fieldname    =   "COMPFAX"
  341.       Filename     =   "SYSTEM"
  342.       Font         =   "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  343.       Location     =   "Header Block"
  344.       Height       =   270
  345.       Left         =   5265
  346.       Top          =   1080
  347.       Width        =   2160
  348. End
  349. Begin Control LABEL
  350.       Type         =   "Label"
  351.       Style        =   9
  352.       Caption      =   ""Value""
  353.       Font         =   "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  354.       Location     =   "Header Block"
  355.       Height       =   285
  356.       Left         =   9885
  357.       Top          =   5850
  358.       Width        =   600
  359. End
  360. Begin Control LABEL
  361.       Type         =   "Label"
  362.       Style        =   10
  363.       Caption      =   "if(STTRNH.CHTYPE="4","Invoice : ","Credit : ")"
  364.       Font         =   "-240|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
  365.       Location     =   "Header Block"
  366.       Height       =   270
  367.       Left         =   7560
  368.       Top          =   360
  369.       Width        =   1350
  370. End
  371. Begin Control CHDOCNO
  372.       Type         =   "Text"
  373.       Style        =   0
  374.       Fieldname    =   "CHDOCNO"
  375.       Filename     =   "STTRNH"
  376.       Font         =   "-240|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
  377.       Location     =   "Header Block"
  378.       Height       =   270
  379.       Left         =   8910
  380.       Top          =   360
  381.       Width        =   2160
  382. End
  383. Begin Control LABEL
  384.       Type         =   "Label"
  385.       Style        =   1
  386.       Caption      =   "Facsimile No."
  387.       Font         =   "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  388.       Location     =   "Header Block"
  389.       Height       =   270
  390.       Left         =   4185
  391.       Top          =   1080
  392.       Width        =   1080
  393. End
  394. Begin Control LABEL
  395.       Type         =   "Label"
  396.       Style        =   9
  397.       Caption      =   "IF(TRIM(REPSTR(9))<>"P" & TRIM(SYSTEM.VATREG)<>"","VAT Reg. No.","")"
  398.       Font         =   "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  399.       Location     =   "Header Block"
  400.       Height       =   270
  401.       Left         =   4185
  402.       Top          =   1350
  403.       Width        =   1140
  404. End
  405. Begin Control LABEL
  406.       Type         =   "Label"
  407.       Style        =   9
  408.       Caption      =   ""Customer VAT Reg. No.""
  409.       Font         =   "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  410.       Location     =   "Header Block"
  411.       Height       =   270
  412.       Left         =   810
  413.       Top          =   4545
  414.       Width        =   2025
  415. End
  416. Begin Control LABEL
  417.       Type         =   "Label"
  418.       Style        =   10
  419.       Caption      =   ""Date : ""
  420.       Font         =   "-195|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
  421.       Location     =   "Header Block"
  422.       Height       =   270
  423.       Left         =   7950
  424.       Top          =   765
  425.       Width        =   945
  426. End
  427. Begin Control CHTXNDATE
  428.       Type         =   "Text"
  429.       Style        =   0
  430.       Fieldname    =   "CHTXNDATE"
  431.       Filename     =   "STTRNH"
  432.       Font         =   "-195|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
  433.       Location     =   "Header Block"
  434.       Height       =   270
  435.       Left         =   8910
  436.       Top          =   765
  437.       Width        =   1620
  438. End
  439. Begin Control COMPNAME
  440.       Type         =   "Text"
  441.       Style        =   0
  442.       Fieldname    =   "COMPNAME"
  443.       Filename     =   "SYSTEM"
  444.       Font         =   "-180|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
  445.       Location     =   "Header Block"
  446.       Height       =   270
  447.       Left         =   810
  448.       Top          =   270
  449.       Width        =   4995
  450. End
  451. Begin Control LABEL
  452.       Type         =   "Label"
  453.       Style        =   12
  454.       Caption      =   "IF(TRIM(SYSTEM.VATREG)<>"","VAT","")"
  455.       Font         =   "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  456.       Location     =   "Header Block"
  457.       Height       =   285
  458.       Left         =   10560
  459.       Top          =   5850
  460.       Width        =   600
  461. End
  462. Begin Control LABEL
  463.       Type         =   "Label"
  464.       Style        =   12
  465.       Caption      =   "IF(TRIM(SYSTEM.VATREG)<>"","Code","")"
  466.       Font         =   "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  467.       Location     =   "Header Block"
  468.       Height       =   285
  469.       Left         =   10545
  470.       Top          =   6090
  471.       Width        =   600
  472. End
  473. Begin Control LABEL
  474.       Type         =   "Label"
  475.       Style        =   9
  476.       Caption      =   ""Page No. "+STR(REPTOT(0),3,0)"
  477.       Font         =   "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  478.       Location     =   "Header Block"
  479.       Height       =   270
  480.       Left         =   8700
  481.       Top          =   5010
  482.       Width        =   1395
  483. End
  484. Begin Control SNVATREGNO
  485.       Type         =   "Text"
  486.       Style        =   0
  487.       Fieldname    =   "SNVATREGNO"
  488.       Filename     =   "SLNAME"
  489.       Font         =   "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  490.       Location     =   "Header Block"
  491.       Height       =   270
  492.       Left         =   3240
  493.       Top          =   4545
  494.       Width        =   2160
  495. End
  496. Begin Control LABEL
  497.       Type         =   "Label"
  498.       Style        =   9
  499.       Caption      =   "IF(TRIM(REPSTR(9))<>"P" & TRIM(SYSTEM.VATREG)<>"",SYSTEM.COUNTRY,"")"
  500.       Font         =   "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  501.       Location     =   "Header Block"
  502.       Height       =   270
  503.       Left         =   5265
  504.       Top          =   1350
  505.       Width        =   270
  506. End
  507. Begin Control VATREG
  508.       Type         =   "Text"
  509.       Style        =   0
  510.       Fieldname    =   "VATREG"
  511.       Filename     =   "SYSTEM"
  512.       Font         =   "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  513.       Location     =   "Header Block"
  514.       Height       =   270
  515.       Left         =   5535
  516.       Top          =   1350
  517.       Width        =   1890
  518. End
  519. Begin Control LABEL
  520.       Type         =   "Label"
  521.       Style        =   9
  522.       Caption      =   "IF(SLNAME.SNVATREGNO="" | SLNAME.SNCOUNTRY="XN","",SLNAME.SNCOUNTRY)"
  523.       Font         =   "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  524.       Location     =   "Header Block"
  525.       Height       =   270
  526.       Left         =   2835
  527.       Top          =   4545
  528.       Width        =   405
  529. End
  530. Begin Control LABEL
  531.       Type         =   "Label"
  532.       Style        =   9
  533.       Caption      =   ""Customer Ref.""
  534.       Font         =   "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  535.       Location     =   "Header Block"
  536.       Height       =   270
  537.       Left         =   8700
  538.       Top          =   4545
  539.       Width        =   1080
  540. End
  541. Begin Control CHREF
  542.       Type         =   "Text"
  543.       Style        =   0
  544.       Fieldname    =   "CHREF"
  545.       Filename     =   "STTRNH"
  546.       Font         =   "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  547.       Location     =   "Header Block"
  548.       Height       =   270
  549.       Left         =   9840
  550.       Top          =   4545
  551.       Width        =   1620
  552. End
  553. Begin Control LABEL
  554.       Type         =   "Label"
  555.       Style        =   10
  556.       Caption      =   "if(STTRNH.CHTYPE="4","Payment Due : ","")"
  557.       Font         =   "-195|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
  558.       Location     =   "Header Block"
  559.       Height       =   270
  560.       Left         =   7425
  561.       Top          =   1350
  562.       Width        =   1485
  563. End
  564. Begin Control LABEL
  565.       Type         =   "Label"
  566.       Style        =   9
  567.       Caption      =   "if(STTRNH.CHTYPE="4",DTOC(STTRNH.CHDUEDEL),"")"
  568.       Font         =   "-195|0|0|0|700|0|0|0|0|3|2|1|34|Arial"
  569.       Location     =   "Header Block"
  570.       Height       =   270
  571.       Left         =   8910
  572.       Top          =   1350
  573.       Width        =   1620
  574. End
  575. Begin Control CDDESC
  576.       Type         =   "Text"
  577.       Style        =   0
  578.       Fieldname    =   "CDDESC"
  579.       Filename     =   "STTRND"
  580.       Font         =   "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  581.       Location     =   "Transaction Block"
  582.       Height       =   270
  583.       Left         =   2385
  584.       Top          =   90
  585.       Width        =   3300
  586. End
  587. Begin Control LABEL
  588.       Type         =   "Label"
  589.       Style        =   9
  590.       Caption      =   "if(STTRND.CDPRODTYPE="0","",STTRND.CDPRODID)"
  591.       Font         =   "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  592.       Location     =   "Transaction Block"
  593.       Height       =   285
  594.       Left         =   285
  595.       Top          =   90
  596.       Width        =   2070
  597. End
  598. Begin Control LABEL
  599.       Type         =   "Label"
  600.       Style        =   10
  601.       Caption      =   "if(STTRND.CDPRICE=0,"",STR(STTRND.CDPRICE,10,2))"
  602.       Font         =   "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  603.       Location     =   "Transaction Block"
  604.       Height       =   285
  605.       Left         =   6495
  606.       Top          =   90
  607.       Width        =   990
  608. End
  609. Begin Control LABEL
  610.       Type         =   "Label"
  611.       Style        =   10
  612.       Caption      =   "if(STTRND.CDQUANTITY=0,"",STR(STTRND.CDQUANTITY,10,2))"
  613.       Font         =   "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  614.       Location     =   "Transaction Block"
  615.       Height       =   285
  616.       Left         =   5550
  617.       Top          =   90
  618.       Width        =   855
  619. End
  620. Begin Control LABEL
  621.       Type         =   "Label"
  622.       Style        =   10
  623.       Caption      =   "if(STTRND.CDGOODSVAL=0,"",STR(STTRND.CDGOODSVAL,10,2))"
  624.       Font         =   "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  625.       Location     =   "Transaction Block"
  626.       Height       =   285
  627.       Left         =   9465
  628.       Top          =   90
  629.       Width        =   990
  630. End
  631. Begin Control LABEL
  632.       Type         =   "Label"
  633.       Style        =   9
  634.       Caption      =   "IF(TRIM(SYSTEM.VATREG)<>"",STTRND.CDVATCODE,"")"
  635.       Font         =   "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  636.       Location     =   "Transaction Block"
  637.       Height       =   270
  638.       Left         =   10755
  639.       Top          =   90
  640.       Width        =   330
  641. End
  642. Begin Control LABEL
  643.       Type         =   "Label"
  644.       Style        =   9
  645.       Caption      =   "if(STTRNH.CHTYPE="4"&STTRNH.CHSETTVAL1<>0,"If paid within","")"
  646.       Font         =   "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  647.       Location     =   "Subtotal Block"
  648.       Height       =   285
  649.       Left         =   135
  650.       Top          =   525
  651.       Width        =   1005
  652. End
  653. Begin Control LABEL
  654.       Type         =   "Label"
  655.       Style        =   12
  656.       Caption      =   "if(STTRNH.CHTYPE="4"&STTRNH.CHSETTVAL1<>0,STR(SLNAME.SNDAYS1,2,0),"")"
  657.       Font         =   "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  658.       Location     =   "Subtotal Block"
  659.       Height       =   285
  660.       Left         =   1080
  661.       Top          =   525
  662.       Width        =   195
  663. End
  664. Begin Control LABEL
  665.       Type         =   "Label"
  666.       Style        =   9
  667.       Caption      =   "if(STTRNH.CHTYPE="4"&STTRNH.CHSETTVAL1<>0,"days of invoice date deduct ","")"
  668.       Font         =   "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  669.       Location     =   "Subtotal Block"
  670.       Height       =   285
  671.       Left         =   1350
  672.       Top          =   525
  673.       Width        =   2085
  674. End
  675. Begin Control LABEL
  676.       Type         =   "Label"
  677.       Style        =   9
  678.       Caption      =   "if(STTRNH.CHTYPE="4"&STTRNH.CHSETTVAL1<>0,STR(STTRNH.CHSETTVAL1,10,2),"")"
  679.       Font         =   "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  680.       Location     =   "Subtotal Block"
  681.       Height       =   285
  682.       Left         =   3330
  683.       Top          =   525
  684.       Width        =   1140
  685. End
  686. Begin Control CHTOTGOODS
  687.       Type         =   "Text"
  688.       Style        =   0
  689.       Fieldname    =   "CHTOTGOODS"
  690.       Filename     =   "STTRNH"
  691.       Font         =   "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  692.       Location     =   "Subtotal Block"
  693.       Height       =   270
  694.       Left         =   9465
  695.       Top          =   1335
  696.       Width        =   990
  697. End
  698. Begin Control LABEL
  699.       Type         =   "Label"
  700.       Style        =   10
  701.       Caption      =   "IF(TRIM(SYSTEM.VATREG)<>"",STR(STTRNH.CHTOTVAT,10,2),"")"
  702.       Font         =   "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  703.       Location     =   "Subtotal Block"
  704.       Height       =   270
  705.       Left         =   9465
  706.       Top          =   2145
  707.       Width        =   990
  708. End
  709. Begin Control CHTOTVALUE
  710.       Type         =   "Text"
  711.       Style        =   0
  712.       Fieldname    =   "CHTOTVALUE"
  713.       Filename     =   "STTRNH"
  714.       Font         =   "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  715.       Location     =   "Subtotal Block"
  716.       Height       =   270
  717.       Left         =   9465
  718.       Top          =   2550
  719.       Width        =   990
  720. End
  721. Begin Control LABEL
  722.       Type         =   "Label"
  723.       Style        =   9
  724.       Caption      =   ""Total Goods""
  725.       Font         =   "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  726.       Location     =   "Subtotal Block"
  727.       Height       =   285
  728.       Left         =   7830
  729.       Top          =   1335
  730.       Width        =   1275
  731. End
  732. Begin Control LABEL
  733.       Type         =   "Label"
  734.       Style        =   9
  735.       Caption      =   "IF(TRIM(SYSTEM.VATREG)<>"","Total VAT","")"
  736.       Font         =   "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  737.       Location     =   "Subtotal Block"
  738.       Height       =   285
  739.       Left         =   7830
  740.       Top          =   2145
  741.       Width        =   1275
  742. End
  743. Begin Control LABEL
  744.       Type         =   "Label"
  745.       Style        =   9
  746.       Caption      =   "if(STTRNH.CHTYPE="4","Invoice Total","Credit Total")"
  747.       Font         =   "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  748.       Location     =   "Subtotal Block"
  749.       Height       =   285
  750.       Left         =   7830
  751.       Top          =   2550
  752.       Width        =   1275
  753. End
  754. Begin Control CHNARR
  755.       Type         =   "Text"
  756.       Style        =   0
  757.       Fieldname    =   "CHNARR"
  758.       Filename     =   "STTRNH"
  759.       Font         =   "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  760.       Location     =   "Subtotal Block"
  761.       Height       =   945
  762.       Left         =   270
  763.       Top          =   2265
  764.       Width        =   6540
  765. End
  766. Begin Control LABEL
  767.       Type         =   "Label"
  768.       Style        =   9
  769.       Caption      =   "if(STTRNH.CHNETCARR=0,"","Net Carriage")"
  770.       Font         =   "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  771.       Location     =   "Subtotal Block"
  772.       Height       =   285
  773.       Left         =   7830
  774.       Top          =   1605
  775.       Width        =   1275
  776. End
  777. Begin Control LABEL
  778.       Type         =   "Label"
  779.       Style        =   10
  780.       Caption      =   "if(STTRNH.CHNETCARR=0,"",STR(STTRNH.CHNETCARR,10,2))"
  781.       Font         =   "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  782.       Location     =   "Subtotal Block"
  783.       Height       =   270
  784.       Left         =   9465
  785.       Top          =   1605
  786.       Width        =   990
  787. End
  788. Begin Control LABEL
  789.       Type         =   "Label"
  790.       Style        =   9
  791.       Caption      =   "if(STTRNH.CHOVRDISC=0,"","Overall Discount")"
  792.       Font         =   "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  793.       Location     =   "Subtotal Block"
  794.       Height       =   285
  795.       Left         =   7830
  796.       Top          =   1875
  797.       Width        =   1275
  798. End
  799. Begin Control LABEL
  800.       Type         =   "Label"
  801.       Style        =   10
  802.       Caption      =   "if(STTRNH.CHOVRDISC=0,"",STR(STTRNH.CHOVRDISC,10,2))"
  803.       Font         =   "-180|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  804.       Location     =   "Subtotal Block"
  805.       Height       =   270
  806.       Left         =   9465
  807.       Top          =   1875
  808.       Width        =   990
  809. End
  810. Begin Control LABEL
  811.       Type         =   "Label"
  812.       Style        =   9
  813.       Caption      =   "IF(TRIM(SYSTEM.VATREG)<>"","----------------------- VAT Summary -------------------","")"
  814.       Font         =   "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  815.       Location     =   "Subtotal Block"
  816.       Height       =   285
  817.       Left         =   270
  818.       Top          =   900
  819.       Width        =   5190
  820. End
  821. Begin Control LABEL
  822.       Type         =   "Label"
  823.       Style        =   9
  824.       Caption      =   "IF(TRIM(SYSTEM.VATREG)<>"",IF(STTRNH.CHSETTVAL1<>0,"Code       %         Discounted Goods            VAT","Code       %                    Goods                     VAT"),"")"
  825.       Font         =   "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  826.       Location     =   "Subtotal Block"
  827.       Height       =   285
  828.       Left         =   270
  829.       Top          =   1095
  830.       Width        =   5025
  831. End
  832. Begin Control LABEL
  833.       Type         =   "Label"
  834.       Style        =   12
  835.       Caption      =   "IF(TRIM(SYSTEM.VATREG)<>"" & TRIM(STTRNH.CHVCD1)<>"",STTRNH.CHVCD1,"")"
  836.       Font         =   "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  837.       Location     =   "Subtotal Block"
  838.       Height       =   270
  839.       Left         =   270
  840.       Top          =   1260
  841.       Width        =   330
  842. End
  843. Begin Control LABEL
  844.       Type         =   "Label"
  845.       Style        =   12
  846.       Caption      =   "IF(TRIM(SYSTEM.VATREG)<>"" & TRIM(STTRNH.CHVCD2)<>"",STTRNH.CHVCD2,"")"
  847.       Font         =   "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  848.       Location     =   "Subtotal Block"
  849.       Height       =   270
  850.       Left         =   270
  851.       Top          =   1410
  852.       Width        =   330
  853. End
  854. Begin Control LABEL
  855.       Type         =   "Label"
  856.       Style        =   12
  857.       Caption      =   "IF(TRIM(SYSTEM.VATREG)<>"" & TRIM(STTRNH.CHVCD3)<>"",STTRNH.CHVCD3,"")"
  858.       Font         =   "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  859.       Location     =   "Subtotal Block"
  860.       Height       =   270
  861.       Left         =   270
  862.       Top          =   1560
  863.       Width        =   330
  864. End
  865. Begin Control LABEL
  866.       Type         =   "Label"
  867.       Style        =   12
  868.       Caption      =   "IF(TRIM(SYSTEM.VATREG)<>"" & TRIM(STTRNH.CHVCD4)<>"",STTRNH.CHVCD4,"")"
  869.       Font         =   "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  870.       Location     =   "Subtotal Block"
  871.       Height       =   270
  872.       Left         =   270
  873.       Top          =   1710
  874.       Width        =   330
  875. End
  876. Begin Control LABEL
  877.       Type         =   "Label"
  878.       Style        =   9
  879.       Caption      =   "IF(TRIM(SYSTEM.VATREG)<>"" & TRIM(STTRNH.CHCARRVCD)<>"","<< Carriage >>","")"
  880.       Font         =   "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  881.       Location     =   "Subtotal Block"
  882.       Height       =   270
  883.       Left         =   3780
  884.       Top          =   1860
  885.       Width        =   1275
  886. End
  887. Begin Control LABEL
  888.       Type         =   "Label"
  889.       Style        =   12
  890.       Caption      =   "IF(TRIM(SYSTEM.VATREG)<>"" & TRIM(STTRNH.CHCARRVCD)<>"",STTRNH.CHCARRVCD,"")"
  891.       Font         =   "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  892.       Location     =   "Subtotal Block"
  893.       Height       =   270
  894.       Left         =   270
  895.       Top          =   1860
  896.       Width        =   330
  897. End
  898. Begin Control LABEL
  899.       Type         =   "Label"
  900.       Style        =   10
  901.       Caption      =   "IF(TRIM(SYSTEM.VATREG)<>"" & TRIM(STTRNH.CHVCD1)<>"",STR(STTRNH.CHVTPERC1,5,2),"")"
  902.       Font         =   "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  903.       Location     =   "Subtotal Block"
  904.       Height       =   270
  905.       Left         =   810
  906.       Top          =   1260
  907.       Width        =   465
  908. End
  909. Begin Control LABEL
  910.       Type         =   "Label"
  911.       Style        =   10
  912.       Caption      =   "IF(TRIM(SYSTEM.VATREG)<>"" & TRIM(STTRNH.CHVCD2)<>"",STR(STTRNH.CHVTPERC2,5,2),"")"
  913.       Font         =   "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  914.       Location     =   "Subtotal Block"
  915.       Height       =   270
  916.       Left         =   810
  917.       Top          =   1410
  918.       Width        =   465
  919. End
  920. Begin Control LABEL
  921.       Type         =   "Label"
  922.       Style        =   10
  923.       Caption      =   "IF(TRIM(SYSTEM.VATREG)<>"" & TRIM(STTRNH.CHVCD3)<>"",STR(STTRNH.CHVTPERC3,5,2),"")"
  924.       Font         =   "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  925.       Location     =   "Subtotal Block"
  926.       Height       =   270
  927.       Left         =   810
  928.       Top          =   1560
  929.       Width        =   465
  930. End
  931. Begin Control LABEL
  932.       Type         =   "Label"
  933.       Style        =   10
  934.       Caption      =   "IF(TRIM(SYSTEM.VATREG)<>"" & TRIM(STTRNH.CHVCD4)<>"",STR(STTRNH.CHVTPERC4,5,2),"")"
  935.       Font         =   "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  936.       Location     =   "Subtotal Block"
  937.       Height       =   270
  938.       Left         =   810
  939.       Top          =   1710
  940.       Width        =   465
  941. End
  942. Begin Control LABEL
  943.       Type         =   "Label"
  944.       Style        =   10
  945.       Caption      =   "IF(TRIM(SYSTEM.VATREG)<>"" & TRIM(STTRNH.CHCARRVCD)<>"",STR(STTRNH.CHCARRVP,5,2),"")"
  946.       Font         =   "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  947.       Location     =   "Subtotal Block"
  948.       Height       =   270
  949.       Left         =   810
  950.       Top          =   1860
  951.       Width        =   465
  952. End
  953. Begin Control LABEL
  954.       Type         =   "Label"
  955.       Style        =   10
  956.       Caption      =   "IF(TRIM(SYSTEM.VATREG)<>"" & TRIM(STTRNH.CHVCD1)<>"",STR(STTRNH.CHGDS1,10,2),"")"
  957.       Font         =   "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  958.       Location     =   "Subtotal Block"
  959.       Height       =   270
  960.       Left         =   1620
  961.       Top          =   1260
  962.       Width        =   870
  963. End
  964. Begin Control LABEL
  965.       Type         =   "Label"
  966.       Style        =   10
  967.       Caption      =   "IF(TRIM(SYSTEM.VATREG)<>"" & TRIM(STTRNH.CHVCD2)<>"",STR(STTRNH.CHGDS2,10,2),"")"
  968.       Font         =   "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  969.       Location     =   "Subtotal Block"
  970.       Height       =   270
  971.       Left         =   1620
  972.       Top          =   1410
  973.       Width        =   870
  974. End
  975. Begin Control LABEL
  976.       Type         =   "Label"
  977.       Style        =   10
  978.       Caption      =   "IF(TRIM(SYSTEM.VATREG)<>"" & TRIM(STTRNH.CHVCD3)<>"",STR(STTRNH.CHGDS3,10,2),"")"
  979.       Font         =   "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  980.       Location     =   "Subtotal Block"
  981.       Height       =   270
  982.       Left         =   1620
  983.       Top          =   1560
  984.       Width        =   870
  985. End
  986. Begin Control LABEL
  987.       Type         =   "Label"
  988.       Style        =   10
  989.       Caption      =   "IF(TRIM(SYSTEM.VATREG)<>"" & TRIM(STTRNH.CHVCD4)<>"",STR(STTRNH.CHGDS4,10,2),"")"
  990.       Font         =   "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  991.       Location     =   "Subtotal Block"
  992.       Height       =   270
  993.       Left         =   1620
  994.       Top          =   1710
  995.       Width        =   870
  996. End
  997. Begin Control LABEL
  998.       Type         =   "Label"
  999.       Style        =   10
  1000.       Caption      =   "IF(TRIM(SYSTEM.VATREG)<>"" & TRIM(STTRNH.CHCARRVCD)<>"",STR(STTRNH.CHNETCARR,10,2),"")"
  1001.       Font         =   "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  1002.       Location     =   "Subtotal Block"
  1003.       Height       =   270
  1004.       Left         =   1620
  1005.       Top          =   1860
  1006.       Width        =   870
  1007. End
  1008. Begin Control LABEL
  1009.       Type         =   "Label"
  1010.       Style        =   10
  1011.       Caption      =   "IF(TRIM(SYSTEM.VATREG)<>"" & TRIM(STTRNH.CHCARRVCD)<>"",STR(STTRNH.CHCARRVAT,10,2),"")"
  1012.       Font         =   "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  1013.       Location     =   "Subtotal Block"
  1014.       Height       =   270
  1015.       Left         =   2835
  1016.       Top          =   1860
  1017.       Width        =   870
  1018. End
  1019. Begin Control LABEL
  1020.       Type         =   "Label"
  1021.       Style        =   10
  1022.       Caption      =   "IF(TRIM(SYSTEM.VATREG)<>"" & TRIM(STTRNH.CHVCD1)<>"",STR(STTRNH.CHVAT1,10,2),"")"
  1023.       Font         =   "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  1024.       Location     =   "Subtotal Block"
  1025.       Height       =   270
  1026.       Left         =   2835
  1027.       Top          =   1260
  1028.       Width        =   870
  1029. End
  1030. Begin Control LABEL
  1031.       Type         =   "Label"
  1032.       Style        =   10
  1033.       Caption      =   "IF(TRIM(SYSTEM.VATREG)<>"" & TRIM(STTRNH.CHVCD2)<>"",STR(STTRNH.CHVAT2,10,2),"")"
  1034.       Font         =   "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  1035.       Location     =   "Subtotal Block"
  1036.       Height       =   270
  1037.       Left         =   2835
  1038.       Top          =   1410
  1039.       Width        =   870
  1040. End
  1041. Begin Control LABEL
  1042.       Type         =   "Label"
  1043.       Style        =   10
  1044.       Caption      =   "IF(TRIM(SYSTEM.VATREG)<>"" & TRIM(STTRNH.CHVCD3)<>"",STR(STTRNH.CHVAT3,10,2),"")"
  1045.       Font         =   "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  1046.       Location     =   "Subtotal Block"
  1047.       Height       =   270
  1048.       Left         =   2835
  1049.       Top          =   1560
  1050.       Width        =   870
  1051. End
  1052. Begin Control LABEL
  1053.       Type         =   "Label"
  1054.       Style        =   10
  1055.       Caption      =   "IF(TRIM(SYSTEM.VATREG)<>"" & TRIM(STTRNH.CHVCD4)<>"",STR(STTRNH.CHVAT4,10,2),"")"
  1056.       Font         =   "-165|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  1057.       Location     =   "Subtotal Block"
  1058.       Height       =   270
  1059.       Left         =   2835
  1060.       Top          =   1710
  1061.       Width        =   870
  1062. End
  1063. Begin Control LABEL
  1064.       Type         =   "Label"
  1065.       Style        =   9
  1066.       Caption      =   "if(STTRNH.CHFACTEF="Y",FACTOR.FACTTEXT,"")"
  1067.       Font         =   "-105|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  1068.       Location     =   "Subtotal Block"
  1069.       Height       =   1335
  1070.       Left         =   4200
  1071.       Top          =   495
  1072.       Width        =   2850
  1073. End
  1074. Begin Control LABEL
  1075.       Type         =   "Label"
  1076.       Style        =   9
  1077.       Caption      =   "if(STTRNH.CHFACTEF="Y",TRIM(FACTOR.FACTCO)+" Cust. Factoring Ref. : " + SLNAME.SNFACTR,"")"
  1078.       Font         =   "-135|0|0|0|400|0|0|0|0|3|2|1|34|Arial"
  1079.       Location     =   "Subtotal Block"
  1080.       Height       =   255
  1081.       Left         =   7305
  1082.       Top          =   570
  1083.       Width        =   3795
  1084. End
  1085.