dw_rp_cashitem_mx.srd 15 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. $PBExportHeader$dw_rp_cashitem_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=2 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=64 color="536870912" )
  7. footer(height=0 color="536870912" )
  8. detail(height=76 color="536870912" )
  9. table(column=(type=char(40) updatewhereclause=yes name=cw_cashitem_brief dbname="cw_CashItem.brief" )
  10. column=(type=long updatewhereclause=yes name=cw_credence_credno dbname="cw_credence.credno" )
  11. column=(type=long updatewhereclause=yes name=cw_credence_cmonth dbname="cw_credence.cmonth" )
  12. column=(type=decimal(2) updatewhereclause=yes name=cw_cashitem_debit dbname="cw_CashItem.Debit" )
  13. column=(type=decimal(2) updatewhereclause=yes name=cw_cashitem_credit dbname="cw_CashItem.Credit" )
  14. column=(type=datetime updatewhereclause=yes name=cw_credence_creddate dbname="cw_credence.creddate" )
  15. column=(type=char(10) updatewhereclause=yes name=cw_credence_credtype dbname="cw_credence.credtype" )
  16. column=(type=long updatewhereclause=yes name=cw_credence_credid dbname="cw_credence.credid" )
  17. retrieve=" SELECT cw_CashItem.brief,
  18. cw_credence.credno,
  19. cw_credence.cmonth,
  20. case cw_CashItem.Debit when 0 then null else cw_CashItem.Debit end as Debit,
  21. case cw_CashItem.Credit when 0 then null else cw_CashItem.Credit end as Credit,
  22. cw_credence.creddate,
  23. cw_credence.credtype ,
  24. cw_credence.credid
  25. FROM cw_CashItem,
  26. cw_credence
  27. WHERE ( cw_CashItem.accsetid = cw_credence.accsetid ) and
  28. ( cw_CashItem.CredID = cw_credence.credid ) and
  29. ( ( cw_CashItem.accsetid = :arg_accsetid ) AND
  30. ( cw_CashItem.flowid = :arg_flowid ) AND
  31. ( cw_credence.cmonth >= :arg_fmonth ) AND
  32. ( cw_credence.cmonth <= :arg_emonth ) AND
  33. (cw_credence.postflag = :arg_postflag OR
  34. :arg_postflag = -1 ) )
  35. "
  36. arguments=(("arg_accsetid", number), ("arg_flowid", number), ("arg_fmonth", number), ("arg_emonth", number), ("arg_postflag", number))
  37. sort="cw_credence_cmonth A, cw_credence_credtype A, cw_credence_credno A"
  38. )
  39. group(level=1 header.height=0 trailer.height=64 by=("cw_credence_cmonth" ) header.color="536870912" trailer.color="536870912" )
  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="1" border="2" x="9" y="208" height="116" width="1513" text="" )
  41. text(band=header 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" alignment="2" border="2" x="1531" y="208" height="116" width="274" text="" )
  42. text(band=header 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" alignment="2" border="2" x="2053" y="208" height="116" width="206" text="" )
  43. text(band=header 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" alignment="2" border="2" x="2583" y="208" height="116" width="434" text="" )
  44. text(band=header 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" alignment="2" border="2" x="3026" y="208" height="116" width="411" text="" )
  45. text(band=header 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" alignment="2" border="2" x="2267" y="208" height="116" width="306" text="" )
  46. text(band=header 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" alignment="2" border="2" x="1815" y="208" height="116" width="229" text="" )
  47. text(name=cw_cashitem_brief_t band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="700" background.mode="1" background.color="536870912" color="0" alignment="2" border="0" x="9" y="236" height="56" width="1513" text="摘要" )
  48. text(name=cw_credence_cmonth_t band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="700" background.mode="1" background.color="536870912" color="0" alignment="2" border="0" x="1531" y="236" height="56" width="274" text="期间" )
  49. text(band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="700" background.mode="1" background.color="536870912" color="0" alignment="2" border="0" x="1815" y="236" height="56" width="229" text="凭证字" )
  50. text(name=cw_credence_credno_t band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="700" background.mode="1" background.color="536870912" color="0" alignment="2" border="0" x="2053" y="236" height="56" width="206" text="凭证号" )
  51. text(name=cw_credence_creddate_t band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="700" background.mode="1" background.color="536870912" color="0" alignment="2" border="0" x="2267" y="236" height="56" width="306" text="凭证日期" )
  52. text(name=cw_cashitem_debit_t band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="700" background.mode="1" background.color="536870912" color="0" alignment="2" border="0" x="2583" y="236" height="56" width="434" text="流入金额" )
  53. text(name=cw_cashitem_credit_t band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="700" background.mode="1" background.color="536870912" color="0" alignment="2" border="0" x="3026" y="236" height="56" width="411" text="流出金额" )
  54. compute(band=summary font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="700" background.mode="1" background.color="536870912" color="0" x="9" y="4" height="56" width="1513" format="[general]" expression="'合计:'+count(cw_cashitem_brief for all)" alignment="2" border="0" crosstab.repeat=no )
  55. compute(band=summary 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="2583" y="4" height="56" width="434" format="#,##0.00" expression="sum(cw_cashitem_debit for all)" alignment="1" border="0" crosstab.repeat=no )
  56. compute(band=summary 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="3026" y="4" height="56" width="411" format="#,##0.00" expression="sum(cw_cashitem_credit for all)" alignment="1" border="0" crosstab.repeat=no )
  57. column(name=cw_cashitem_brief band=detail id=1 x="9" y="4" height="68" width="1513" color="0" border="0" alignment="0" 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=40 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 )
  58. column(name=cw_credence_cmonth tag="期间" band=detail id=3 x="1531" y="4" height="68" width="274" 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 )
  59. column(name=cw_credence_credno tag="编号" band=detail id=2 x="2053" y="4" height="68" width="206" 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. column(name=cw_credence_creddate tag="日期" band=detail id=6 x="2267" y="4" height="68" width="306" color="0" border="0" alignment="2" format="yyyy-mm-dd" 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 )
  61. column(name=cw_credence_credtype band=detail id=7 x="1815" y="4" height="68" width="229" 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 )
  62. column(name=cw_cashitem_debit tag="借方金额" band=detail id=4 x="2583" y="4" height="68" width="434" 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 )
  63. column(name=cw_cashitem_credit tag="贷方金额" band=detail id=5 x="3026" y="4" height="68" width="411" 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 )
  64. 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="3520" text="" )
  65. 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="现金流量项目明细帐" )
  66. 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="1801" y="60" height="56" width="1495" format="[general]" expression="'打印时间: '+string(today(),'yyyy-mm-dd hh:mm:ss')+ ' 第 ' + string(page()) + ' 页/ 共 '+string(pageCount())+' 页'" alignment="1" border="0" crosstab.repeat=no )
  67. 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="9" y="132" height="56" width="955" text="" )
  68. 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="0" border="0" x="983" y="132" height="56" width="2437" text="" )
  69. compute(band=trailer.1 font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="2" background.color="15780518" color="0" x="9" y="4" height="56" width="1513" format="[general]" expression="'小计:'+string( cw_credence_cmonth )+'('+count(cw_cashitem_brief for group 1)+')'" alignment="2" border="0" crosstab.repeat=no )
  70. text(band=trailer.1 font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="2" background.color="15780518" color="0" alignment="1" border="0" x="1531" y="4" height="56" width="274" text="" )
  71. text(band=trailer.1 font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="2" background.color="15780518" color="0" alignment="1" border="0" x="1815" y="4" height="56" width="229" text="" )
  72. text(band=trailer.1 font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="2" background.color="15780518" color="0" alignment="1" border="0" x="2053" y="4" height="56" width="206" text="" )
  73. text(band=trailer.1 font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="2" background.color="15780518" color="0" alignment="1" border="0" x="2267" y="4" height="56" width="306" text="" )
  74. compute(band=trailer.1 font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="2" background.color="15780518" color="0" x="2583" y="4" height="56" width="434" format="#,##0.00" expression="sum(cw_cashitem_debit for group 1)" alignment="1" border="0" crosstab.repeat=no )
  75. compute(band=trailer.1 font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="2" background.color="15780518" color="0" x="3026" y="4" height="56" width="411" format="#,##0.00" expression="sum(cw_cashitem_credit for group 1)" alignment="1" border="0" crosstab.repeat=no )
  76. htmltable(border="1" cellPadding="0" cellSpacing="0" generateCSS="no" noWrap="yes" )
  77. htmlgen()
  78. export.xml(metadatatype=0 savemetadata=0 )
  79. import.xml()
  80. export.pdf(method=0 )