dw_rp_item_sub_hz.srd 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. $PBExportHeader$dw_rp_item_sub_hz.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=0 print.margin.left=110 print.margin.right=110 print.margin.top=96 print.margin.bottom=96 print.paper.size=0 print.paper.source=0 grid.lines=0 selected.mouse=yes)
  5. header(height=364 color="536870912" )
  6. summary(height=68 color="536870912" )
  7. footer(height=0 color="536870912" )
  8. detail(height=92 color="536870912" )
  9. table(column=(type=long updatewhereclause=yes name=cmonth dbname="uv_dept_bala.cmonth" )
  10. column=(type=long updatewhereclause=yes name=itemid dbname="uv_dept_bala.itemid" )
  11. column=(type=decimal(2) updatewhereclause=yes name=credit dbname="credit" )
  12. column=(type=decimal(2) updatewhereclause=yes name=debit dbname="debit" )
  13. column=(type=char(20) updatewhereclause=yes name=cw_hsitem_hsitemname dbname="cw_hsitem.hsitemname" )
  14. retrieve=" SELECT uv_dept_bala.cmonth,
  15. uv_dept_bala.itemid,
  16. sum(uv_dept_bala.credit) as credit,
  17. sum(uv_dept_bala.debit) as debit,
  18. cw_hsitem.hsitemname
  19. FROM uv_dept_bala,
  20. cw_hsitem
  21. WHERE ( uv_dept_bala.accsetid = cw_hsitem.accsetid ) and
  22. ( uv_dept_bala.itemid = cw_hsitem.hsitemid ) and
  23. ( uv_dept_bala.accsetid = :arg_accsetid ) AND
  24. uv_dept_bala.cmonth >= :arg_firstcmon AND
  25. uv_dept_bala.cmonth <= :arg_endcmon AND
  26. uv_dept_bala.subid = :arg_subid AND
  27. uv_dept_bala.postflag=1
  28. GROUP BY uv_dept_bala.cmonth,
  29. uv_dept_bala.itemid,
  30. cw_hsitem.hsitemname
  31. "
  32. arguments=(("arg_accsetid", number), ("arg_subid", string), ("arg_firstcmon", number), ("arg_endcmon", number))
  33. sort="cmonth A, itemid A"
  34. )
  35. group(level=1 header.height=0 trailer.height=68 by=("cmonth" ) header.color="536870912" trailer.color="536870912" )
  36. 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="2" border="2" x="9" y="248" height="116" width="622" text="" )
  37. text(name=cw_hsitem_hsitemname_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="280" height="56" width="622" text="项目名称" )
  38. 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="2" border="2" x="640" y="248" height="116" width="329" text="" )
  39. 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="640" y="280" height="56" width="329" text="期间" )
  40. 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="978" y="248" height="116" width="142" text="" )
  41. 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="2" border="2" x="1129" y="248" height="116" width="507" text="" )
  42. 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="1129" y="280" height="56" width="507" text="期初金额" )
  43. 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="1" border="2" x="1646" y="248" height="56" width="507" text="本期累" )
  44. 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="2162" y="248" height="56" width="494" text="计发生" )
  45. 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="1646" y="308" height="56" width="507" text="借方" )
  46. 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="16777215" color="0" alignment="2" border="2" x="2162" y="308" height="56" width="494" text="贷方" )
  47. 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="2665" y="248" height="116" width="151" text="" )
  48. 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="2" border="2" x="2825" y="248" height="116" width="507" text="" )
  49. 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="2825" y="280" height="56" width="507" text="期末金额" )
  50. compute(band=summary font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="1" background.color="536870912" color="0" x="2162" y="4" height="60" width="494" format="#,##0.00" expression="sum(credit for all)" alignment="1" border="0" crosstab.repeat=no )
  51. compute(band=summary font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="1" background.color="536870912" color="0" x="1646" y="4" height="60" width="507" format="#,##0.00" expression="sum(debit for all)" alignment="1" border="0" crosstab.repeat=no )
  52. text(band=summary font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="1" background.color="536870912" color="0" alignment="2" border="0" x="9" y="4" height="60" width="622" text="合计" )
  53. text(band=summary font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="1" background.color="536870912" color="0" alignment="2" border="0" x="640" y="4" height="60" width="329" text="" )
  54. text(band=summary font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="1" background.color="536870912" color="0" alignment="2" border="0" x="978" y="4" height="60" width="142" text="" )
  55. text(band=summary font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="1" background.color="536870912" color="0" alignment="2" border="0" x="1129" y="4" height="60" width="507" text="" )
  56. text(band=summary font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="1" background.color="536870912" color="0" alignment="2" border="0" x="2665" y="4" height="60" width="151" text="" )
  57. text(band=summary font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="1" background.color="536870912" color="0" alignment="2" border="0" x="2825" y="4" height="60" width="507" text="" )
  58. column(name=cw_hsitem_hsitemname band=detail id=5 x="9" y="12" height="68" width="622" 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 )
  59. column(name=cmonth band=detail id=1 x="640" y="12" height="68" width="329" 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 )
  60. compute(name=obj_6234134 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="978" y="12" height="68" width="142" format="[general]" expression="if( f_rst_item_bbala( arg_accsetid ,cmonth , arg_subid , itemid ) >0 ,'借',if (f_rst_item_bbala( arg_accsetid , cmonth , arg_subid , itemid ) =0 ,'平','贷')) " alignment="2" border="0" crosstab.repeat=no )
  61. compute(name=obj_6243878 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="2665" y="12" height="68" width="151" format="[general]" expression="if( dept_ebala >0 ,'借',if ( dept_ebala =0 ,'平','贷')) " alignment="2" border="0" crosstab.repeat=no )
  62. column(name=debit band=detail id=4 x="1646" y="12" height="68" width="507" color="0 if( debit =0,rgb(255,255,255),rgb(0,0,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="-10" font.pitch="2" font.weight="400" tabsequence=0 )
  63. column(name=credit band=detail id=3 x="2162" y="12" height="68" width="494" color="0 if( credit =0,rgb(255,255,255),rgb(0,0,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="-10" font.pitch="2" font.weight="400" tabsequence=0 )
  64. compute(name=dept_ebala band=detail font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0 if( dept_ebala =0,rgb(255,255,255),rgb(0,0,0))" x="2825" y="12" height="68" width="507" format="#,##0.00" expression="abs( debit - credit + dept_bbala )" alignment="1" border="0" crosstab.repeat=no )
  65. compute(name=dept_bbala band=detail font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0 if( dept_bbala =0,rgb(255,255,255),rgb(0,0,0))" x="1129" y="12" height="68" width="507" format="#,##0.00" expression="abs(f_rst_item_bbala( arg_accsetid , cmonth , arg_subid , itemid )) " alignment="1" border="0" crosstab.repeat=no )
  66. text(resizeable=1 band=foreground font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="700" background.mode="2" background.color="33554431" color="33554431" alignment="1" border="0" x="0" y="0" height="244" width="3415" text="" )
  67. text(band=foreground font.charset="134" font.face="宋体" font.family="0" font.height="-22" font.pitch="2" font.weight="700" background.mode="2" background.color="16777215" color="0" alignment="0" border="0" x="9" y="8" height="132" width="1486" text="项目科目总帐" )
  68. compute(moveable=1 band=foreground 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="9" y="156" height="56" width="1906" format="[general]" expression="'打印时间: '+string(today(),'yyyy-mm-dd')+ ' ' + string(page()) + ' / '+string(pageCount())" alignment="0" border="0" crosstab.repeat=no )
  69. text(band=trailer.1 font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="2" background.color="15780518" color="0" alignment="2" border="0" x="9" y="4" height="60" width="622" text="小计" )
  70. text(band=trailer.1 font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="2" background.color="15780518" color="0" alignment="2" border="0" x="640" y="4" height="60" width="329" text="" )
  71. text(band=trailer.1 font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="2" background.color="15780518" color="0" alignment="2" border="0" x="978" y="4" height="60" width="142" text="" )
  72. compute(band=trailer.1 font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="2" background.color="15780518" color="0" x="1129" y="4" height="60" width="507" format="#,##0.00" expression="sum(abs(f_rst_item_bbala( arg_accsetid , cmonth , arg_subid , itemid )) for group 1)" alignment="1" border="0" crosstab.repeat=no )
  73. compute(band=trailer.1 font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="2" background.color="15780518" color="0" x="1646" y="4" height="60" width="507" format="#,##0.00" expression="sum(debit for group 1)" alignment="1" border="0" crosstab.repeat=no )
  74. compute(band=trailer.1 font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="2" background.color="15780518" color="0" x="2162" y="4" height="60" width="494" format="#,##0.00" expression="sum(credit for group 1)" alignment="1" border="0" crosstab.repeat=no )
  75. text(band=trailer.1 font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="2" background.color="15780518" color="0" alignment="2" border="0" x="2665" y="4" height="60" width="151" text="" )
  76. compute(band=trailer.1 font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="2" background.color="15780518" color="0" x="2825" y="4" height="60" width="507" format="#,##0.00" expression="sum(abs( debit - credit + dept_bbala ) for group 1)" alignment="1" border="0" crosstab.repeat=no )
  77. htmltable(border="1" cellPadding="0" cellSpacing="0" generateCSS="no" noWrap="yes" )
  78. htmlgen()
  79. export.xml(metadatatype=0 savemetadata=0 )
  80. import.xml()
  81. export.pdf(method=0 )