dw_pr_credencemx.srd 6.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. $PBExportHeader$dw_pr_credencemx.srd
  2. $PBExportComments$By Kivens.Jiang(kivens@21cn.com)
  3. release 9;
  4. datawindow ( units=0 timer_interval=0 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 row.resize=1)
  5. header(height=92 color="536870912" )
  6. summary(height=76 color="536870912" )
  7. footer(height=0 color="536870912" )
  8. detail(height=116 color="553648127" height.autosize=yes)
  9. table(column=(type=char(255) updatewhereclause=yes name=brief dbname="cw_credencemx.brief" )
  10. column=(type=char(255) updatewhereclause=yes name=cw_subject_subid dbname="cw_subject.subid" )
  11. column=(type=decimal(2) updatewhereclause=yes name=debit dbname="cw_credencemx.debit" )
  12. column=(type=decimal(2) updatewhereclause=yes name=credit dbname="cw_credencemx.credit" )
  13. column=(type=long updatewhereclause=yes name=cw_credencemx_fuluno dbname="cw_credencemx.fuluno" )
  14. retrieve=" SELECT cw_credencemx.brief,
  15. cw_subject.displaycode as subid,
  16. case cw_credencemx.debit when 0 then null else cw_credencemx.debit end as debit,
  17. case cw_credencemx.credit when 0 then null else cw_credencemx.credit end as credit,
  18. cw_credencemx.fuluno
  19. FROM cw_credencemx,cw_subject
  20. WHERE ( cw_credencemx.accsetid = :arg_accsetid ) AND
  21. ( cw_credencemx.credid = :arg_credid ) and
  22. ( :arg_printrow = :arg_printrow ) and
  23. ( :arg_top = :arg_top ) and
  24. ( cw_credencemx.accsetid = cw_subject.accsetid ) AND
  25. ( cw_credencemx.subid = cw_subject.subid )
  26. union all
  27. SELECT TOP :arg_top null, null, null, null,1000
  28. FROM cw_subject where accsetid = :arg_accsetid
  29. "
  30. arguments=(("arg_credid", number), ("arg_printrow", number), ("arg_accsetid", number), ("arg_top", number))
  31. sort="cw_credencemx_fuluno A"
  32. )
  33. group(level=1 header.height=0 trailer.height=0 by=("pageprint" ) header.color="536870912" trailer.color="536870912" newpage=yes )
  34. text(name=debit_t band=header font.charset="134" font.face="黑体" font.family="0" font.height="-12" font.pitch="2" font.weight="700" background.mode="1" background.color="536870912" color="0" alignment="2" border="0" x="2235" y="12" height="72" width="517" text="借方金额" )
  35. text(name=credit_t band=header font.charset="134" font.face="黑体" font.family="0" font.height="-12" font.pitch="2" font.weight="700" background.mode="1" background.color="536870912" color="0" alignment="2" border="0" x="2761" y="12" height="72" width="517" text="贷方金额" )
  36. text(name=cmpl1_t band=header font.charset="134" font.face="黑体" font.family="0" font.height="-12" font.pitch="2" font.weight="400" background.mode="1" background.color="536870912" color="0" alignment="2" border="0" x="9" y="12" height="72" width="841" text="摘要" )
  37. text(name=cmpl2_t band=header font.charset="134" font.face="黑体" font.family="0" font.height="-12" font.pitch="2" font.weight="700" background.mode="2" background.color="16777215" color="0" alignment="2" border="0" x="859" y="12" height="72" width="1367" text="会计科目" )
  38. compute(name=sumdebit band=summary font.charset="134" font.face="宋体" font.family="0" font.height="-11" font.pitch="2" font.weight="700" background.mode="1" background.color="536870912" color="0" x="2235" y="4" height="68" width="517" format="#,##0.00" expression="sum(debit for all)" alignment="1" border="0" crosstab.repeat=no )
  39. compute(name=sumcredit band=summary font.charset="134" font.face="宋体" font.family="0" font.height="-11" font.pitch="2" font.weight="700" background.mode="1" background.color="536870912" color="0" x="2761" y="4" height="68" width="517" format="#,##0.00" expression="sum(credit for all)" alignment="1" border="0" crosstab.repeat=no )
  40. text(band=summary font.charset="134" font.face="黑体" font.family="0" font.height="-11" font.pitch="2" font.weight="700" background.mode="1" background.color="536870912" color="0" alignment="2" border="0" x="859" y="4" height="68" width="1367" text="合 计" )
  41. column(name=debit tag="借方金额" band=detail id=3 x="2235" y="8" height="96" width="517" 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="-11" font.pitch="2" font.weight="700" tabsequence=0 )
  42. column(name=credit tag="贷方金额" band=detail id=4 x="2761" y="8" height="96" width="517" 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="-11" font.pitch="2" font.weight="700" tabsequence=0 )
  43. compute(name=cmpl1 height.autosize=yes 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="9" y="8" height="96" width="841" format="[general]" expression=" f_dwnewline(30,brief) " alignment="0" border="0" crosstab.repeat=no )
  44. compute(name=cmpl2 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="859" y="8" height="96" width="1367" format="[general]" expression=" f_dwnewline(48, cw_subject_subid ) " alignment="0" border="0" crosstab.repeat=no )
  45. compute(name=pageprint visible="1 0" 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="5879" y="208" height="96" width="46" format="[general]" expression="ceiling(getrow()/ arg_printrow )" alignment="0" border="0" crosstab.repeat=no )
  46. htmltable(border="1" cellPadding="0" cellSpacing="0" generateCSS="no" noWrap="yes" )
  47. htmlgen()
  48. export.xml(metadatatype=0 savemetadata=0 )
  49. import.xml()
  50. export.pdf(method=0 )