dw_rp_subid_hz_2.srd 4.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. $PBExportHeader$dw_rp_subid_hz_2.srd
  2. $PBExportComments$By Kivens.Jiang(kivens@21cn.com)
  3. release 9;
  4. datawindow ( units=0 timer_interval=60000 color=16777215 processing=0 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 selected.mouse=no)
  5. header(height=0 )
  6. summary(height=0 color="536870912" )
  7. footer(height=0 color="536870912" )
  8. detail(height=432 color="536870912" height.autosize=yes)
  9. table(column=(type=char(51) updatewhereclause=yes name=subname dbname="subname" )
  10. column=(type=char(18) updatewhereclause=yes name=cw_subject_subid dbname="cw_subject.subid" )
  11. retrieve=" SELECT distinct rtrim(cw_subject.subid) +' ' +rtrim(cw_subject.name) as subname ,cw_subject.subid
  12. FROM cw_Balance , cw_subject
  13. WHERE cw_Balance.accsetid = cw_subject.accsetid and
  14. cw_Balance.subid = cw_subject.subid and
  15. ( cw_Balance.accsetid = :arg_accsetid ) AND
  16. (cw_Balance.subaccsetid = :arg_subaccsetid ) AND
  17. cw_Balance.SubID >= :arg_firstsubid AND
  18. cw_Balance.SubID <= :arg_endsubid AND
  19. len(rtrim(cw_Balance.SubID)) <= :arg_grade AND
  20. cw_Balance.YearMon >= :arg_firstcmonth AND
  21. cw_Balance.YearMon <= :arg_endcmonth"
  22. arguments=(("arg_accsetid", number), ("arg_subaccsetid", number), ("arg_firstsubid", string), ("arg_endsubid", string), ("arg_firstcmonth", number), ("arg_endcmonth", number), ("arg_grade", number))
  23. )
  24. group(level=1 header.height=0 trailer.height=0 by=("subname" ) header.color="536870912" trailer.color="536870912" newpage=yes )
  25. compute(slideup=allabove band=detail 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="1765" y="124" height="56" width="1440" format="[general]" expression="'第 ' + string(page()) + ' 页/ 共 '+string(pageCount())+' 页'" alignment="1" border="0" crosstab.repeat=no )
  26. text(name=month slideup=allabove 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" alignment="0" border="0" x="9" y="192" height="56" width="1614" text="" )
  27. compute(slideup=allabove band=detail 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="192" height="56" width="1568" format="[general]" expression="'会计科目及编号:'+ subname " alignment="1" border="0" crosstab.repeat=no )
  28. compute(slideup=allabove band=detail 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="1765" y="360" height="60" width="1440" format="[general]" expression="'打印时间: '+string(today(),'yyyy-mm-dd hh:mm')" alignment="1" border="0" crosstab.repeat=no )
  29. text(band=detail 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="2" border="0" x="9" y="4" height="108" width="3195" text="总分类帐" )
  30. report(slideleft=yes height.autosize=yes slideup=directlyabove band=detail x="9" y="264" height="80" width="3241" border="0" trail_footer=yes criteria="" dataobject="dw_rp_subid_hz_2_mx" nest_arguments=
  31. (("arg_accsetid"),("arg_subaccsetid"),("arg_firstcmonth"),("arg_endcmonth"),("cw_subject_subid")))
  32. compute(slideup=allabove 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" x="9" y="124" height="56" width="1742" format="[general]" expression="~"单位名称:~"+f_rst_Cropname()" alignment="0" border="0" crosstab.repeat=no )
  33. htmltable(border="1" cellPadding="0" cellSpacing="0" generateCSS="no" noWrap="yes" )
  34. htmlgen()
  35. export.xml(metadatatype=0 savemetadata=0 )
  36. import.xml()
  37. export.pdf(method=0 )