dw_rp_mstpay_paycodehz_2.srd 22 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. $PBExportHeader$dw_rp_mstpay_paycodehz_2.srd
  2. release 11.5;
  3. datawindow(units=0 timer_interval=0 color=16777215 brushmode=0 transparency=0 gradient.angle=0 gradient.color=8421504 gradient.focus=0 gradient.repetition.count=0 gradient.repetition.length=100 gradient.repetition.mode=0 gradient.scale=100 gradient.spread=100 gradient.transparency=0 picture.blur=0 picture.clip.bottom=0 picture.clip.left=0 picture.clip.right=0 picture.clip.top=0 picture.mode=0 picture.scale.x=100 picture.scale.y=100 picture.transparency=0 processing=0 HTMLDW=no print.printername="" print.documentname="" print.orientation = 2 print.margin.left = 110 print.margin.right = 110 print.margin.top = 96 print.margin.bottom = 96 print.paper.source = 0 print.paper.size = 9 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes print.background=no print.preview.background=no print.preview.outline=yes hidegrayline=no showbackcoloronxp=no picture.file="" )
  4. header(height=0 color="536870912" transparency="0" gradient.color="8421504" gradient.transparency="0" gradient.angle="0" brushmode="0" gradient.repetition.mode="0" gradient.repetition.count="0" gradient.repetition.length="100" gradient.focus="0" gradient.scale="100" gradient.spread="100" )
  5. summary(height=0 color="536870912" transparency="0" gradient.color="8421504" gradient.transparency="0" gradient.angle="0" brushmode="0" gradient.repetition.mode="0" gradient.repetition.count="0" gradient.repetition.length="100" gradient.focus="0" gradient.scale="100" gradient.spread="100" )
  6. footer(height=0 color="536870912" transparency="0" gradient.color="8421504" gradient.transparency="0" gradient.angle="0" brushmode="0" gradient.repetition.mode="0" gradient.repetition.count="0" gradient.repetition.length="100" gradient.focus="0" gradient.scale="100" gradient.spread="100" )
  7. detail(height=936 color="536870912" transparency="0" gradient.color="8421504" gradient.transparency="0" gradient.angle="0" brushmode="0" gradient.repetition.mode="0" gradient.repetition.count="0" gradient.repetition.length="100" gradient.focus="0" gradient.scale="100" gradient.spread="100" height.autosize=yes )
  8. table(column=(type=long updatewhereclause=yes name=sptid dbname="v_mustpaybalc_balcamt_mx.SptID" )
  9. column=(type=char(50) updatewhereclause=yes name=v_spt_sptname dbname="v_spt.sptname" )
  10. column=(type=char(20) updatewhereclause=yes name=v_spt_sptcode dbname="v_spt.sptcode" )
  11. column=(type=char(20) updatewhereclause=yes name=v_spt_spttype dbname="v_spt.Spttype" )
  12. column=(type=char(30) updatewhereclause=yes name=v_spt_name dbname="v_spt.name" )
  13. column=(type=decimal(2) updatewhereclause=yes identity=yes name=balcamt dbname="balcamt" )
  14. column=(type=decimal(2) updatewhereclause=yes identity=yes name=mstpayamt dbname="Mstpayamt" )
  15. column=(type=decimal(2) updatewhereclause=yes identity=yes name=payamt dbname="payamt" )
  16. column=(type=decimal(2) updatewhereclause=yes identity=yes name=orgn_amt dbname="orgn_amt" )
  17. retrieve="SELECT v_mustpaybalc_balcamt_mx.SptID,
  18. v_spt.sptname,
  19. v_spt.sptcode,
  20. v_spt.Spttype,
  21. v_spt.name,
  22. sum(v_mustpaybalc_balcamt_mx.balcamt - ISNULL(v_mustpaybalc_outdate_incdec.outdate_Mstpayamt,
  23. 0)) AS balcamt, sum(ISNULL(v_mustpaybalc_incdec.Mstpayamt, 0)) AS Mstpayamt,
  24. sum(ISNULL(v_mustpaybalc_incdec.payamt, 0)) AS payamt,
  25. sum(v_mustpaybalc_balcamt_mx.balcamt - ISNULL(v_mustpaybalc_incdec.Mstpayamt, 0)
  26. + ISNULL(v_mustpaybalc_incdec.payamt, 0)
  27. - ISNULL(v_mustpaybalc_outdate_incdec.outdate_Mstpayamt, 0)) AS orgn_amt
  28. FROM v_spt INNER JOIN
  29. v_mustpaybalc_balcamt_mx ON
  30. v_spt.SptID = v_mustpaybalc_balcamt_mx.SptID and
  31. v_spt.moneyid = v_mustpaybalc_balcamt_mx.moneyid LEFT OUTER JOIN
  32. v_mustpaybalc_incdec ON
  33. v_mustpaybalc_balcamt_mx.moneyid = v_mustpaybalc_incdec.moneyid AND
  34. v_mustpaybalc_balcamt_mx.SptID = v_mustpaybalc_incdec.SptID AND
  35. v_mustpaybalc_balcamt_mx.scid = v_mustpaybalc_incdec.scid LEFT OUTER JOIN
  36. v_mustpaybalc_outdate_incdec ON
  37. v_mustpaybalc_incdec.SptID = v_mustpaybalc_outdate_incdec.SptID and
  38. v_mustpaybalc_incdec.moneyid = v_mustpaybalc_outdate_incdec.moneyid and
  39. v_mustpaybalc_incdec.scid = v_mustpaybalc_outdate_incdec.scid
  40. where (v_spt.sptcode like :arg_cuscode) and
  41. ( v_spt.spttypeid in (:arg_spttypeid)) and
  42. (:arg_first_date = :arg_first_date ) and
  43. ( :arg_end_date = :arg_end_date ) and
  44. (v_spt.moneyid=:arg_moneyid) and
  45. (v_mustpaybalc_balcamt_mx.scid=:arg_scid or :arg_scid=-1)
  46. group by v_mustpaybalc_balcamt_mx.SptID,
  47. v_spt.sptname,
  48. v_spt.sptcode,
  49. v_spt.Spttype,
  50. v_spt.name
  51. having sum(v_mustpaybalc_balcamt_mx.balcamt - ISNULL(v_mustpaybalc_outdate_incdec.outdate_Mstpayamt,0)) <> 0 or
  52. sum(ISNULL(v_mustpaybalc_incdec.Mstpayamt, 0)) <> 0 or
  53. sum(ISNULL(v_mustpaybalc_incdec.payamt, 0)) <> 0 or
  54. sum(v_mustpaybalc_balcamt_mx.balcamt - ISNULL(v_mustpaybalc_incdec.Mstpayamt, 0) + ISNULL(v_mustpaybalc_incdec.payamt, 0)
  55. - ISNULL(v_mustpaybalc_outdate_incdec.outdate_Mstpayamt, 0)) <> 0
  56. ORDER BY v_spt.sptcode ASC " arguments=(("arg_moneyid", number),("arg_cuscode", string),("arg_first_date", datetime),("arg_end_date", datetime),("arg_spttypeid", numberlist),("arg_scid", number)) )
  57. compute(band=detail alignment="0" expression="'第 ' +page() + ' 页 共 ' + pageCount()+' 页'"border="0" color="0" x="14" y="648" height="64" width="773" format="[general]" html.valueishtml="0" name=compute_1 visible="1" slideup=allabove font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" background.transparency="0" background.gradient.color="8421504" background.gradient.transparency="0" background.gradient.angle="0" background.brushmode="0" background.gradient.repetition.mode="0" background.gradient.repetition.count="0" background.gradient.repetition.length="100" background.gradient.focus="0" background.gradient.scale="100" background.gradient.spread="100" tooltip.backcolor="134217752" tooltip.delay.initial="0" tooltip.delay.visible="32000" tooltip.enabled="0" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="134217751" tooltip.transparency="0" transparency="0" )
  58. text(band=detail alignment="1" text="对帐日期:" border="0" color="0" x="14" y="148" height="68" width="389" html.valueishtml="0" name=t_2 visible="1" font.face="宋体" font.height="-11" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" background.transparency="0" background.gradient.color="8421504" background.gradient.transparency="0" background.gradient.angle="0" background.brushmode="0" background.gradient.repetition.mode="0" background.gradient.repetition.count="0" background.gradient.repetition.length="100" background.gradient.focus="0" background.gradient.scale="100" background.gradient.spread="100" tooltip.backcolor="134217752" tooltip.delay.initial="0" tooltip.delay.visible="32000" tooltip.enabled="0" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="134217751" tooltip.transparency="0" transparency="0" )
  59. text(band=detail alignment="1" text="供应商编号:" border="0" color="0" x="14" y="228" height="68" width="389" html.valueishtml="0" name=cuscode_t visible="1" font.face="宋体" font.height="-11" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" background.transparency="0" background.gradient.color="8421504" background.gradient.transparency="0" background.gradient.angle="0" background.brushmode="0" background.gradient.repetition.mode="0" background.gradient.repetition.count="0" background.gradient.repetition.length="100" background.gradient.focus="0" background.gradient.scale="100" background.gradient.spread="100" tooltip.backcolor="134217752" tooltip.delay.initial="0" tooltip.delay.visible="32000" tooltip.enabled="0" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="134217751" tooltip.transparency="0" transparency="0" )
  60. text(band=detail alignment="1" text="供应商类别:" border="0" color="0" x="1701" y="228" height="68" width="398" html.valueishtml="0" name=custype_t visible="1" font.face="宋体" font.height="-11" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" background.transparency="0" background.gradient.color="8421504" background.gradient.transparency="0" background.gradient.angle="0" background.brushmode="0" background.gradient.repetition.mode="0" background.gradient.repetition.count="0" background.gradient.repetition.length="100" background.gradient.focus="0" background.gradient.scale="100" background.gradient.spread="100" tooltip.backcolor="134217752" tooltip.delay.initial="0" tooltip.delay.visible="32000" tooltip.enabled="0" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="134217751" tooltip.transparency="0" transparency="0" )
  61. text(band=detail alignment="2" text="供应商对帐表2~tf_sysuser_title() + '供应商对帐表'" border="0" color="0" x="14" y="4" height="108" width="3287" html.valueishtml="0" name=t_1 visible="1" moveable=1 font.face="宋体" font.height="-18" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" background.transparency="0" background.gradient.color="8421504" background.gradient.transparency="0" background.gradient.angle="0" background.brushmode="0" background.gradient.repetition.mode="0" background.gradient.repetition.count="0" background.gradient.repetition.length="100" background.gradient.focus="0" background.gradient.scale="100" background.gradient.spread="100" tooltip.backcolor="134217752" tooltip.delay.initial="0" tooltip.delay.visible="32000" tooltip.enabled="0" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="134217751" tooltip.transparency="0" transparency="0" )
  62. report(band=detail dataobject="dw_rp_mstpay_paycodehz_chl_2" x="5" y="472" height="136" width="4640" border="0" tooltip.backcolor="134217752" tooltip.delay.initial="0" tooltip.delay.visible="32000" tooltip.enabled="0" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="134217751" tooltip.transparency="0" height.autosize=yes criteria="" nest_arguments=((" sptid "),(" arg_moneyid "),(" arg_first_date "),(" arg_end_date "),(" arg_scid ")) trail_footer = yes name=dw_1 visible="1" slideleft=yes slideup=directlyabove )
  63. text(band=detail alignment="0" text="" border="0" color="0" x="421" y="148" height="68" width="1074" html.valueishtml="0" name=txt_dzrq visible="1" font.face="宋体" font.height="-11" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" background.transparency="0" background.gradient.color="8421504" background.gradient.transparency="0" background.gradient.angle="0" background.brushmode="0" background.gradient.repetition.mode="0" background.gradient.repetition.count="0" background.gradient.repetition.length="100" background.gradient.focus="0" background.gradient.scale="100" background.gradient.spread="100" tooltip.backcolor="134217752" tooltip.delay.initial="0" tooltip.delay.visible="32000" tooltip.enabled="0" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="134217751" tooltip.transparency="0" transparency="0" )
  64. column(band=detail id=4 alignment="0" tabsequence=32766 border="0" color="0" x="2117" y="224" height="68" width="1019" format="[general]" html.valueishtml="0" name=v_spt_spttype visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no font.face="宋体" font.height="-11" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" background.transparency="0" background.gradient.color="8421504" background.gradient.transparency="0" background.gradient.angle="0" background.brushmode="0" background.gradient.repetition.mode="0" background.gradient.repetition.count="0" background.gradient.repetition.length="100" background.gradient.focus="0" background.gradient.scale="100" background.gradient.spread="100" tooltip.backcolor="134217752" tooltip.delay.initial="0" tooltip.delay.visible="32000" tooltip.enabled="0" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="134217751" tooltip.transparency="0" transparency="0" )
  65. text(band=detail alignment="1" text="期末结余:" border="0" color="0" x="2121" y="388" height="68" width="398" html.valueishtml="0" name=balcamt_t visible="1" font.face="宋体" font.height="-11" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" background.transparency="0" background.gradient.color="8421504" background.gradient.transparency="0" background.gradient.angle="0" background.brushmode="0" background.gradient.repetition.mode="0" background.gradient.repetition.count="0" background.gradient.repetition.length="100" background.gradient.focus="0" background.gradient.scale="100" background.gradient.spread="100" tooltip.backcolor="134217752" tooltip.delay.initial="0" tooltip.delay.visible="32000" tooltip.enabled="0" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="134217751" tooltip.transparency="0" transparency="0" )
  66. text(band=detail alignment="1" text="期初结余:" border="0" color="0" x="969" y="388" height="68" width="352" html.valueishtml="0" name=orgn_amt_t visible="1" font.face="宋体" font.height="-11" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" background.transparency="0" background.gradient.color="8421504" background.gradient.transparency="0" background.gradient.angle="0" background.brushmode="0" background.gradient.repetition.mode="0" background.gradient.repetition.count="0" background.gradient.repetition.length="100" background.gradient.focus="0" background.gradient.scale="100" background.gradient.spread="100" tooltip.backcolor="134217752" tooltip.delay.initial="0" tooltip.delay.visible="32000" tooltip.enabled="0" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="134217751" tooltip.transparency="0" transparency="0" )
  67. column(band=detail id=9 alignment="0" tabsequence=32766 border="0" color="0" x="1335" y="388" height="68" width="763" format="#,##0.00" html.valueishtml="0" name=orgn_amt visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes font.face="宋体" font.height="-11" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" background.transparency="0" background.gradient.color="8421504" background.gradient.transparency="0" background.gradient.angle="0" background.brushmode="0" background.gradient.repetition.mode="0" background.gradient.repetition.count="0" background.gradient.repetition.length="100" background.gradient.focus="0" background.gradient.scale="100" background.gradient.spread="100" tooltip.backcolor="134217752" tooltip.delay.initial="0" tooltip.delay.visible="32000" tooltip.enabled="0" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="134217751" tooltip.transparency="0" transparency="0" )
  68. column(band=detail id=6 alignment="0" tabsequence=32766 border="0" color="0" x="2537" y="388" height="68" width="763" format="#,##0.00" html.valueishtml="0" name=balcamt visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes font.face="宋体" font.height="-11" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" background.transparency="0" background.gradient.color="8421504" background.gradient.transparency="0" background.gradient.angle="0" background.brushmode="0" background.gradient.repetition.mode="0" background.gradient.repetition.count="0" background.gradient.repetition.length="100" background.gradient.focus="0" background.gradient.scale="100" background.gradient.spread="100" tooltip.backcolor="134217752" tooltip.delay.initial="0" tooltip.delay.visible="32000" tooltip.enabled="0" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="134217751" tooltip.transparency="0" transparency="0" )
  69. text(band=detail alignment="1" text="供应商名称:" border="0" color="0" x="14" y="308" height="68" width="389" html.valueishtml="0" name=name_t visible="1" font.face="宋体" font.height="-11" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" background.transparency="0" background.gradient.color="8421504" background.gradient.transparency="0" background.gradient.angle="0" background.brushmode="0" background.gradient.repetition.mode="0" background.gradient.repetition.count="0" background.gradient.repetition.length="100" background.gradient.focus="0" background.gradient.scale="100" background.gradient.spread="100" tooltip.backcolor="134217752" tooltip.delay.initial="0" tooltip.delay.visible="32000" tooltip.enabled="0" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="134217751" tooltip.transparency="0" transparency="0" )
  70. text(band=detail alignment="1" text="币种:" border="0" color="0" x="192" y="388" height="68" width="210" html.valueishtml="0" name=t_3 visible="1" font.face="宋体" font.height="-11" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" background.transparency="0" background.gradient.color="8421504" background.gradient.transparency="0" background.gradient.angle="0" background.brushmode="0" background.gradient.repetition.mode="0" background.gradient.repetition.count="0" background.gradient.repetition.length="100" background.gradient.focus="0" background.gradient.scale="100" background.gradient.spread="100" tooltip.backcolor="134217752" tooltip.delay.initial="0" tooltip.delay.visible="32000" tooltip.enabled="0" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="134217751" tooltip.transparency="0" transparency="0" )
  71. column(band=detail id=3 alignment="0" tabsequence=32766 border="0" color="0" x="421" y="228" height="68" width="1074" format="[general]" html.valueishtml="0" name=v_spt_sptcode visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no font.face="宋体" font.height="-11" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" background.transparency="0" background.gradient.color="8421504" background.gradient.transparency="0" background.gradient.angle="0" background.brushmode="0" background.gradient.repetition.mode="0" background.gradient.repetition.count="0" background.gradient.repetition.length="100" background.gradient.focus="0" background.gradient.scale="100" background.gradient.spread="100" tooltip.backcolor="134217752" tooltip.delay.initial="0" tooltip.delay.visible="32000" tooltip.enabled="0" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="134217751" tooltip.transparency="0" transparency="0" )
  72. column(band=detail id=2 alignment="0" tabsequence=32766 border="0" color="0" x="421" y="308" height="68" width="2725" format="[general]" html.valueishtml="0" name=v_spt_sptname visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no font.face="宋体" font.height="-11" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" background.transparency="0" background.gradient.color="8421504" background.gradient.transparency="0" background.gradient.angle="0" background.brushmode="0" background.gradient.repetition.mode="0" background.gradient.repetition.count="0" background.gradient.repetition.length="100" background.gradient.focus="0" background.gradient.scale="100" background.gradient.spread="100" tooltip.backcolor="134217752" tooltip.delay.initial="0" tooltip.delay.visible="32000" tooltip.enabled="0" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="134217751" tooltip.transparency="0" transparency="0" )
  73. column(band=detail id=5 alignment="0" tabsequence=32766 border="0" color="0" x="421" y="388" height="68" width="512" format="[general]" html.valueishtml="0" name=v_spt_name visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no font.face="宋体" font.height="-11" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" background.transparency="0" background.gradient.color="8421504" background.gradient.transparency="0" background.gradient.angle="0" background.brushmode="0" background.gradient.repetition.mode="0" background.gradient.repetition.count="0" background.gradient.repetition.length="100" background.gradient.focus="0" background.gradient.scale="100" background.gradient.spread="100" tooltip.backcolor="134217752" tooltip.delay.initial="0" tooltip.delay.visible="32000" tooltip.enabled="0" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="134217751" tooltip.transparency="0" transparency="0" )
  74. htmltable(border="1" )
  75. htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" pagingmethod=0 generatedddwframes="1" )
  76. xhtmlgen() cssgen(sessionspecific="0" )
  77. xmlgen(inline="0" )
  78. xsltgen()
  79. jsgen()
  80. export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
  81. import.xml()
  82. export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
  83. export.xhtml()