dw_rp_qty_mx.srd 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  1. $PBExportHeader$dw_rp_qty_mx.srd
  2. $PBExportComments$By Kivens.Jiang(kivens@21cn.com)
  3. release 9;
  4. datawindow ( units=0 timer_interval=60000 color=16777215 processing=1 print.documentname="" print.orientation=1 print.margin.left=110 print.margin.right=110 print.margin.top=96 print.margin.bottom=96 print.paper.size=9 print.paper.source=0 grid.lines=0 selected.mouse=yes)
  5. header(height=324 color="536870912" )
  6. summary(height=0 color="536870912" )
  7. footer(height=0 color="536870912" )
  8. detail(height=76 color="553648127" height.autosize=yes)
  9. table(column=(type=long updatewhereclause=yes name=cmonth dbname="cmonth" )
  10. column=(type=decimal(4) updatewhereclause=yes name=price dbname="price" )
  11. column=(type=decimal(4) updatewhereclause=yes name=damount dbname="damount" )
  12. column=(type=decimal(4) updatewhereclause=yes name=camount dbname="camount" )
  13. column=(type=decimal(2) updatewhereclause=yes name=debit dbname="debit" )
  14. column=(type=decimal(2) updatewhereclause=yes name=credit dbname="credit" )
  15. column=(type=char(255) updatewhereclause=yes name=brief dbname="brief" )
  16. column=(type=char(10) updatewhereclause=yes name=credtype dbname="credtype" )
  17. column=(type=long updatewhereclause=yes name=credno dbname="credno" )
  18. column=(type=datetime updatewhereclause=yes name=creddate dbname="creddate" )
  19. column=(type=long updatewhereclause=yes name=subaccsetid dbname="subaccsetid" )
  20. column=(type=decimal(2) updatewhereclause=yes name=balc dbname="balc" )
  21. column=(type=decimal(4) updatewhereclause=yes name=qtybalc dbname="qtybalc" )
  22. column=(type=long updatewhereclause=yes name=dw_sort dbname="dw_sort" )
  23. column=(type=long updatewhereclause=yes name=fuluno dbname="fuluno" )
  24. column=(type=long updatewhereclause=yes name=dcflag dbname="dcflag" )
  25. column=(type=long updatewhereclause=yes name=credid dbname="credid" )
  26. retrieve="SELECT top 1 NULL as cmonth,
  27. NULL as price,
  28. NULL as damount,
  29. NULL as camount,
  30. NULL as debit,
  31. NULL as credit,
  32. '期初余额' as brief,
  33. NULL as credtype,
  34. NULL as credno,
  35. NULL as creddate,
  36. NULL as subaccsetid,
  37. 0.00 as balc,
  38. 0.00 as qtybalc,
  39. 0 as dw_sort,
  40. 0 as fuluno,
  41. uv_qty_init.dcflag as dcflag,
  42. 0 as credid
  43. FROM uv_qty_init left OUTER join uv_qty_mx on
  44. uv_qty_init.accsetid = uv_qty_mx.accsetid AND
  45. uv_qty_init.subid = uv_qty_mx.subid
  46. WHERE ( uv_qty_init.accsetid = :arg_accsetid ) AND
  47. ( uv_qty_init.subid = :arg_subid )
  48. UNION ALL
  49. SELECT uv_qty_mx.cmonth as cmonth,
  50. case uv_qty_mx.price when 0 then NULL else uv_qty_mx.price END as price,
  51. case uv_qty_mx.damount * uv_qty_mx.amount when 0 then NULL else uv_qty_mx.damount * uv_qty_mx.amount END as damount,
  52. case uv_qty_mx.camount * uv_qty_mx.amount when 0 then NULL else uv_qty_mx.camount * uv_qty_mx.amount END as camount,
  53. case uv_qty_mx.debit when 0 then NULL else uv_qty_mx.debit END as debit,
  54. case uv_qty_mx.credit when 0 then NULL else uv_qty_mx.credit END as credit,
  55. case :arg_rel when 1 then
  56. ltrim(rtrim(uv_qty_mx.brief)) + ' ' +
  57. case len(ltrim(rtrim(uv_qty_mx.reldcode))) when 0 then '' else '相关号:'+ltrim(rtrim(uv_qty_mx.reldcode)) end + ' '+
  58. case uv_qty_mx.reldate when null then '' else '相关日期:'+ convert(char(4),year(uv_qty_mx.reldate))+'-'+convert(char(2),month(uv_qty_mx.reldate))+'-'+ convert(char(2),day(uv_qty_mx.reldate)) end
  59. else
  60. ltrim(rtrim(uv_qty_mx.brief)) + ' ' +
  61. case len(ltrim(rtrim(uv_qty_mx.reldcode))) when 0 then '' else '相关号:'+ltrim(rtrim(uv_qty_mx.reldcode)) + ' '+
  62. case uv_qty_mx.reldate when null then '' else '相关日期:'+ convert(char(4),year(uv_qty_mx.reldate))+'-'+convert(char(2),month(uv_qty_mx.reldate))+'-'+ convert(char(2),day(uv_qty_mx.reldate)) end end end as brief,
  63. uv_qty_mx.credtype as credtype,
  64. uv_qty_mx.credno as credno,
  65. uv_qty_mx.creddate as creddate,
  66. uv_qty_mx.subaccsetid as subaccsetid,
  67. 0.00 as balc,
  68. 0.00 as qtybalc,
  69. 1 as dw_sort,
  70. uv_qty_mx.fuluno as fuluno,
  71. uv_qty_mx.dcflag as dcflag,
  72. uv_qty_mx.credid as credid
  73. FROM uv_qty_mx
  74. WHERE ( uv_qty_mx.accsetid = :arg_accsetid ) AND
  75. ( uv_qty_mx.cmonth >= :arg_firstcmon ) AND
  76. ( uv_qty_mx.cmonth <= :arg_endcmon ) AND
  77. ( uv_qty_mx.subid like :arg_subid_like ) AND
  78. ( uv_qty_mx.postflag = :arg_postflag OR :arg_postflag = -1 )
  79. UNION ALL
  80. SELECT uv_qty_mx.cmonth as cmonth,
  81. NULL as price,
  82. case sum(uv_qty_mx.damount * uv_qty_mx.amount) when 0 then NULL else sum(uv_qty_mx.damount * uv_qty_mx.amount) END as damount,
  83. case sum(uv_qty_mx.camount * uv_qty_mx.amount) when 0 then NULL else sum(uv_qty_mx.camount * uv_qty_mx.amount) END as camount,
  84. case sum(uv_qty_mx.debit) when 0 then NULL else sum(uv_qty_mx.debit) END as debit,
  85. case sum(uv_qty_mx.credit) when 0 then NULL else sum(uv_qty_mx.credit) END as credit,
  86. '本期合计' as brief,
  87. NULL as credtype,
  88. NULL as credno,
  89. NULL as creddate,
  90. NULL as subaccsetid,
  91. 0.00 as balc,
  92. 0.00 as qtybalc,
  93. 2 as dw_sort,
  94. 0 as fuluno,
  95. uv_qty_mx.dcflag as dcflag,
  96. 0 as credid
  97. FROM uv_qty_mx
  98. WHERE ( uv_qty_mx.accsetid = :arg_accsetid ) AND
  99. ( uv_qty_mx.cmonth >= :arg_firstcmon ) AND
  100. ( uv_qty_mx.cmonth <= :arg_endcmon ) AND
  101. ( uv_qty_mx.subid like :arg_subid_like ) AND
  102. ( uv_qty_mx.postflag = :arg_postflag OR :arg_postflag = -1 )
  103. GROUP BY uv_qty_mx.dcflag,uv_qty_mx.cmonth
  104. UNION ALL
  105. SELECT cw_Balance.YearMon as cmonth,
  106. NULL as price,
  107. case cw_Balance.ydamt when 0 then NULL else cw_Balance.ydamt END as damount,
  108. case cw_Balance.ycamt when 0 then NULL else cw_Balance.ycamt END as camount,
  109. case cw_Balance.ydebit when 0 then NULL else cw_Balance.ydebit END as debit,
  110. case cw_Balance.ycredit when 0 then NULL else cw_Balance.ycredit END as credit,
  111. '本年累计' as brief,
  112. NULL as credtype,
  113. NULL as credno,
  114. NULL as creddate,
  115. NULL as subaccsetid,
  116. cw_Balance.EDebit - cw_Balance.ecredit as balc,
  117. cw_Balance.BAmt + cw_Balance.dAmt - cw_Balance.cAmt as qtybalc,
  118. 3 as dw_sort,
  119. 0 as fuluno,
  120. cw_subject.dcflag as dcflag,
  121. 0 as credid
  122. FROM cw_Balance,cw_subject
  123. WHERE ( cw_Balance.accsetid = :arg_accsetid ) AND
  124. ( cw_Balance.YearMon >= :arg_firstcmon ) AND
  125. ( cw_Balance.YearMon <= :arg_endcmon ) AND
  126. ( cw_Balance.subid = :arg_subid ) and
  127. ( cw_Balance.accsetid = cw_subject.accsetid ) and
  128. ( cw_Balance.subid = cw_subject.subid )
  129. "
  130. arguments=(("arg_accsetid", number), ("arg_subid", string), ("arg_firstcmon", number), ("arg_endcmon", number), ("arg_postflag", number), ("arg_subid_like", string), ("arg_rel", number))
  131. sort="cmonth A, dw_sort A, credtype A, credno A"
  132. )
  133. text(band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" alignment="0" border="2" x="727" y="208" height="116" width="123" text="" )
  134. text(band=header font.charset="0" font.face="Arial" font.family="2" font.height="-12" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" alignment="0" border="2" x="590" y="208" height="116" width="128" text="" )
  135. text(band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" alignment="0" border="2" x="9" y="208" height="116" width="325" text="" )
  136. text(name=creddate_t band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="700" background.mode="2" background.color="16777215" color="0" alignment="2" border="0" x="9" y="236" height="56" width="325" text="凭证日期" )
  137. text(band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" alignment="0" border="2" x="343" y="208" height="116" width="238" text="" )
  138. text(name=cmonth_t band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="700" background.mode="2" background.color="16777215" color="0" alignment="2" border="0" x="343" y="236" height="56" width="238" text="期间" )
  139. text(band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" alignment="0" border="2" x="859" y="208" height="116" width="594" text="" )
  140. text(name=brief_t band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="700" background.mode="2" background.color="16777215" color="0" alignment="2" border="0" x="859" y="236" height="56" width="594" text="摘要" )
  141. text(band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" alignment="1" border="2" x="1463" y="208" height="56" width="311" text="" )
  142. text(band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="700" background.mode="2" background.color="16777215" color="0" alignment="2" border="2" x="1783" y="208" height="56" width="251" text="借方" )
  143. text(band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" alignment="0" border="2" x="2043" y="208" height="56" width="375" text="" )
  144. text(band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="2" background.color="15793151" color="0" alignment="1" border="2" x="2427" y="208" height="56" width="325" text="" )
  145. text(band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="700" background.mode="2" background.color="15793151" color="0" alignment="2" border="2" x="2761" y="208" height="56" width="293" text="贷方" )
  146. text(band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="2" background.color="15793151" color="0" alignment="0" border="2" x="3063" y="208" height="56" width="430" text="" )
  147. text(band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="700" background.mode="2" background.color="16777215" color="0" alignment="0" border="2" x="3502" y="208" height="116" width="123" text="" )
  148. text(band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="700" background.mode="2" background.color="16777215" color="0" alignment="2" border="0" x="3502" y="236" height="56" width="123" text="方向" )
  149. text(band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="700" background.mode="2" background.color="16777215" color="0" alignment="0" border="2" x="3634" y="208" height="56" width="329" text="" )
  150. text(band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="700" background.mode="2" background.color="16777215" color="0" alignment="2" border="2" x="3973" y="208" height="56" width="288" text="余额" )
  151. text(name=credit_t band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="700" background.mode="2" background.color="15793151" color="0" alignment="2" border="2" x="3063" y="268" height="56" width="430" text="金额" )
  152. text(band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="700" background.mode="2" background.color="16777215" color="0" alignment="0" border="2" x="4270" y="208" height="56" width="416" text="" )
  153. text(name=damount_t band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="700" background.mode="2" background.color="16777215" color="0" alignment="2" border="2" x="1463" y="268" height="56" width="311" text="数量" )
  154. text(band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="700" background.mode="2" background.color="16777215" color="0" alignment="2" border="2" x="1783" y="268" height="56" width="251" text="单价" )
  155. text(name=debit_t band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="700" background.mode="2" background.color="16777215" color="0" alignment="2" border="2" x="2043" y="268" height="56" width="375" text="金额" )
  156. text(name=camount_t band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="700" background.mode="2" background.color="15793151" color="0" alignment="2" border="2" x="2427" y="268" height="56" width="325" text="数量" )
  157. text(band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="700" background.mode="2" background.color="15793151" color="0" alignment="2" border="2" x="2761" y="268" height="56" width="293" text="单价" )
  158. text(name=qtybalc_t band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="700" background.mode="2" background.color="16777215" color="0" alignment="2" border="2" x="3634" y="268" height="56" width="329" text="数量" )
  159. text(band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="700" background.mode="2" background.color="16777215" color="0" alignment="2" border="2" x="3973" y="268" height="56" width="288" text="单价" )
  160. text(band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="700" background.mode="2" background.color="16777215" color="0" alignment="2" border="2" x="4270" y="268" height="56" width="416" text="期末金额" )
  161. text(name=credno_t band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="700" background.mode="2" background.color="16777215" color="0" alignment="2" border="0" x="727" y="236" height="56" width="123" text="号" )
  162. text(band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="700" background.mode="2" background.color="16777215" color="0" alignment="2" border="0" x="590" y="236" height="56" width="128" text="字" )
  163. column(name=cmonth band=detail id=1 x="343" y="4" height="68" width="238" color="0" border="0" alignment="2" format="[general]" edit.focusrectangle=no edit.autohscroll=yes edit.autoselect=yes edit.autovscroll=no edit.case=any edit.codetable=no edit.displayonly=no edit.hscrollbar=no edit.imemode=0 edit.limit=0 edit.password=no edit.vscrollbar=no edit.validatecode=no edit.nilisnull=no edit.required=no criteria.required=no criteria.override_edit=no crosstab.repeat=no background.mode="1" background.color="536870912" font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" tabsequence=0 )
  164. column(name=credno band=detail id=9 x="727" y="4" height="68" width="123" color="0" border="0" alignment="2" format="[general]" edit.autohscroll=no edit.autoselect=yes edit.autovscroll=no edit.case=any edit.codetable=no edit.displayonly=no edit.hscrollbar=no edit.imemode=0 edit.limit=0 edit.password=no edit.vscrollbar=no edit.validatecode=no edit.nilisnull=no edit.required=no criteria.required=no criteria.override_edit=no crosstab.repeat=no background.mode="1" background.color="536870912" font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" tabsequence=0 )
  165. column(name=creddate band=detail id=10 x="9" y="4" height="68" width="325" color="0" border="0" alignment="2" format="yyyy-mm-dd" edit.autohscroll=no edit.autoselect=yes edit.autovscroll=no edit.case=any edit.codetable=no edit.displayonly=no edit.hscrollbar=no edit.imemode=0 edit.limit=0 edit.password=no edit.vscrollbar=no edit.validatecode=no edit.nilisnull=no edit.required=no criteria.required=no criteria.override_edit=no crosstab.repeat=no background.mode="1" background.color="536870912" font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" tabsequence=0 )
  166. column(name=brief height.autosize=yes band=detail id=7 x="859" y="4" height="68" width="594" color="0" border="0" alignment="0" format="[general]" edit.autohscroll=no edit.autoselect=yes edit.autovscroll=no edit.case=any edit.codetable=no edit.displayonly=no edit.hscrollbar=no edit.imemode=0 edit.limit=0 edit.password=no edit.vscrollbar=no edit.validatecode=no edit.nilisnull=no edit.required=no criteria.required=no criteria.override_edit=no crosstab.repeat=no background.mode="1" background.color="536870912" font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" tabsequence=0 )
  167. column(name=debit band=detail id=5 x="2043" y="4" height="68" width="375" color="0" border="0" alignment="1" format="#,##0.00" edit.focusrectangle=no edit.autohscroll=yes edit.autoselect=yes edit.autovscroll=no edit.case=any edit.codetable=no edit.displayonly=no edit.hscrollbar=no edit.imemode=0 edit.limit=0 edit.password=no edit.vscrollbar=no edit.validatecode=no edit.nilisnull=no edit.required=no criteria.required=no criteria.override_edit=no crosstab.repeat=no background.mode="1" background.color="536870912" font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" tabsequence=0 )
  168. column(name=camount band=detail id=4 x="2427" y="4" height="68" width="325" color="0" border="0" alignment="1" format="#,##0.00##" edit.autohscroll=no edit.autoselect=yes edit.autovscroll=no edit.case=any edit.codetable=no edit.displayonly=no edit.hscrollbar=no edit.imemode=0 edit.limit=0 edit.password=no edit.vscrollbar=no edit.validatecode=no edit.nilisnull=no edit.required=no criteria.required=no criteria.override_edit=no crosstab.repeat=no background.mode="1" background.color="536870912" font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" tabsequence=0 )
  169. column(name=credit band=detail id=6 x="3063" y="4" height="68" width="430" color="0" border="0" alignment="1" format="#,##0.00" edit.focusrectangle=no edit.autohscroll=yes edit.autoselect=yes edit.autovscroll=no edit.case=any edit.codetable=no edit.displayonly=no edit.hscrollbar=no edit.imemode=0 edit.limit=0 edit.password=no edit.vscrollbar=no edit.validatecode=no edit.nilisnull=no edit.required=no criteria.required=no criteria.override_edit=no crosstab.repeat=no background.mode="2" background.color="16777215" font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" tabsequence=0 )
  170. compute(name=dc band=detail font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" x="3502" y="4" height="68" width="123" format="[general]" expression="if( balc =0 ,'平',if( dcflag =1,if(balc >0 ,'借','贷'),if(balc>0 ,'贷','借')) ) " alignment="2" border="0" crosstab.repeat=no )
  171. column(name=qtybalc band=detail id=13 x="3634" y="4" height="68" width="329" color="0" border="0" alignment="1" format="#,##0.00##" edit.autohscroll=no edit.autoselect=yes edit.autovscroll=no edit.case=any edit.codetable=no edit.displayonly=no edit.hscrollbar=no edit.imemode=0 edit.limit=0 edit.password=no edit.vscrollbar=no edit.validatecode=no edit.nilisnull=no edit.required=no criteria.required=no criteria.override_edit=no crosstab.repeat=no background.mode="1" background.color="536870912" font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" tabsequence=0 )
  172. compute(name=bprice band=detail font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="1" background.color="536870912" color="0" x="3973" y="4" height="68" width="288" format="[General]" expression=" round(balc / qtybalc ,2)" alignment="1" border="0" crosstab.repeat=no )
  173. column(name=damount band=detail id=3 x="1463" y="4" height="68" width="311" color="0" border="0" alignment="1" format="#,##0.00##" edit.autohscroll=no edit.autoselect=yes edit.autovscroll=no edit.case=any edit.codetable=no edit.displayonly=no edit.hscrollbar=no edit.imemode=0 edit.limit=0 edit.password=no edit.vscrollbar=no edit.validatecode=no edit.nilisnull=no edit.required=no criteria.required=no criteria.override_edit=no crosstab.repeat=no background.mode="1" background.color="536870912" font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" tabsequence=0 )
  174. compute(band=detail font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="1" background.color="536870912" color="0" x="1783" y="4" height="68" width="251" format="[general]" expression="round(debit / damount ,2)" alignment="1" border="0" crosstab.repeat=no )
  175. compute(band=detail font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="1" background.color="536870912" color="0" x="2761" y="4" height="68" width="293" format="[general]" expression="round( credit / camount ,2)" alignment="1" border="0" crosstab.repeat=no )
  176. compute(name=dept_ebala band=detail font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" x="4270" y="4" height="68" width="416" format="#,##0.00" expression="abs( balc )" alignment="1" border="0" crosstab.repeat=no )
  177. column(name=credtype band=detail id=8 x="590" y="4" height="68" width="128" color="0" border="0" alignment="2" format="[general]" edit.autohscroll=no edit.autoselect=yes edit.autovscroll=no edit.case=any edit.codetable=no edit.displayonly=no edit.hscrollbar=no edit.imemode=0 edit.limit=0 edit.password=no edit.vscrollbar=no edit.validatecode=no edit.nilisnull=no edit.required=no criteria.required=no criteria.override_edit=no crosstab.repeat=no background.mode="1" background.color="536870912" font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" tabsequence=0 )
  178. text(name=bar band=foreground font.charset="0" font.face="Arial" font.family="2" font.height="-12" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" alignment="0" border="0" x="0" y="0" height="204" width="4727" text="" )
  179. text(name=title band=foreground font.charset="134" font.face="黑体" font.family="0" font.height="-18" font.pitch="2" font.weight="700" background.mode="2" background.color="16777215" color="0" alignment="0" border="0" x="9" y="8" height="108" width="1774" text="数量金额明细帐" )
  180. compute(band=foreground font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" x="9" y="132" height="56" width="1015" format="[general]" expression="~"单位名称:~"+f_rst_Cropname()" alignment="0" border="0" crosstab.repeat=no )
  181. text(name=month band=foreground font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" alignment="0" border="0" x="1239" y="132" height="56" width="1102" text="" )
  182. compute(band=foreground font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" x="1806" y="60" height="56" width="1906" format="[general]" expression="'打印时间: '+string(today(),'yyyy-mm-dd hh:mm:ss')+ ' 第 ' + string(page()) + ' 页/ 共 '+string(pageCount())+' 页'" alignment="1" border="0" crosstab.repeat=no )
  183. text(name=mtrl band=foreground font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" alignment="1" border="0" x="2368" y="132" height="56" width="1344" text="" )
  184. htmltable(border="1" cellPadding="0" cellSpacing="0" generateCSS="no" noWrap="yes" )
  185. htmlgen()
  186. export.xml(metadatatype=0 savemetadata=0 )
  187. import.xml()
  188. export.pdf(method=0 )