dw_rp_mustpay_balc_2.srd 41 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. $PBExportHeader$dw_rp_mustpay_balc_2.srd
  2. release 11.5;
  3. datawindow(units=0 timer_interval=0 color=1073741824 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=4 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 110 print.margin.right = 110 print.margin.top = 96 print.margin.bottom = 96 print.paper.source = 0 print.paper.size = 0 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="" crosstab.dynamic = yes grid.lines=0 grid.columnmove=no selected.mouse=no )
  4. header[1](height=220 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. header[2](height=112 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. summary(height=68 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. 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" )
  8. detail(height=76 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" )
  9. table(column=(type=char(20) updatewhereclause=yes name=u_scdef_scname dbname="u_scdef_scname" )
  10. column=(type=char(20) updatewhereclause=yes name=cw_currency_name dbname="cw_currency_name" )
  11. column=(type=char(20) updatewhereclause=yes name=u_spt_sptcode dbname="u_spt_sptcode" )
  12. column=(type=char(20) updatewhereclause=yes name=u_spt_name dbname="u_spt_name" )
  13. column=(type=char(20) updatewhereclause=yes name=u_spt_spttype dbname="u_spt_spttype" )
  14. column=(type=number updatewhereclause=yes name=orgn_amt dbname="orgn_amt" )
  15. column=(type=number updatewhereclause=yes name=mstpayamt dbname="mstpayamt" )
  16. column=(type=number updatewhereclause=yes name=payamt dbname="payamt" )
  17. column=(type=number updatewhereclause=yes name=balcamt dbname="balcamt" )
  18. column=(type=number updatewhereclause=yes name=itemamt dbname="itemamt" )
  19. retrieve="SELECT u_scdef.scname,
  20. cw_currency.name,
  21. u_spt.sptcode,
  22. u_spt.name,
  23. u_spt.spttype,
  24. isnull(v_mustpaybalc_balcamt_mx.balcamt,0) -
  25. ISNULL(v_mustpaybalc_outdate_incdec.outdate_Mstpayamt,0) AS balcamt,
  26. ISNULL(v_mustpaybalc_incdec.Mstpayamt, 0) AS Mstpayamt,
  27. ISNULL(v_mustpaybalc_incdec.payamt, 0) AS payamt,
  28. isnull(v_mustpaybalc_balcamt_mx.balcamt,0) - ISNULL(v_mustpaybalc_incdec.Mstpayamt, 0)
  29. + ISNULL(v_mustpaybalc_incdec.payamt, 0)
  30. - ISNULL(v_mustpaybalc_outdate_incdec.outdate_Mstpayamt, 0) AS orgn_amt,
  31. isnull(v_mustpaybalc_item.itemname,'采购') as itemname ,
  32. isnull(v_mustpaybalc_item.Mstpayamt,0) as itemamt
  33. FROM v_sptid_moneyid INNER join
  34. u_spt on v_sptid_moneyid.sptid = u_spt.sptid left outer join
  35. u_scdef on
  36. v_sptid_moneyid.scid = u_scdef.scid left outer join
  37. cw_currency on
  38. v_sptid_moneyid.moneyid = cw_currency.moneyid LEFT OUTER JOIN
  39. v_mustpaybalc_balcamt_mx ON
  40. v_sptid_moneyid.sptid = v_mustpaybalc_balcamt_mx.sptid and
  41. v_sptid_moneyid.scid = v_mustpaybalc_balcamt_mx.scid and
  42. v_sptid_moneyid.moneyid = v_mustpaybalc_balcamt_mx.moneyid LEFT OUTER JOIN
  43. v_mustpaybalc_incdec ON
  44. v_sptid_moneyid.sptid = v_mustpaybalc_incdec.sptid and
  45. v_sptid_moneyid.scid = v_mustpaybalc_incdec.scid and
  46. v_sptid_moneyid.moneyid = v_mustpaybalc_incdec.moneyid LEFT OUTER JOIN
  47. v_mustpaybalc_outdate_incdec ON
  48. v_sptid_moneyid.sptid = v_mustpaybalc_outdate_incdec.sptid and
  49. v_sptid_moneyid.scid = v_mustpaybalc_outdate_incdec.scid and
  50. v_sptid_moneyid.moneyid = v_mustpaybalc_outdate_incdec.moneyid left outer join
  51. v_mustpaybalc_item ON
  52. v_sptid_moneyid.sptid = v_mustpaybalc_item.sptid and
  53. v_sptid_moneyid.scid = v_mustpaybalc_item.scid and
  54. v_sptid_moneyid.moneyid = v_mustpaybalc_item.moneyid
  55. WHERE ( :arg_flag = 1 OR
  56. :arg_flag = 2 and v_sptid_moneyid.sptid in (select sptid from v_sptid_day) or
  57. :arg_flag = 0 AND ( isnull(v_mustpaybalc_balcamt_mx.balcamt,0) - ISNULL(v_mustpaybalc_outdate_incdec.outdate_Mstpayamt,0)) <> 0 OR ISNULL(v_mustpaybalc_incdec.Mstpayamt, 0) <> 0 OR ISNULL(v_mustpaybalc_incdec.payamt, 0) <> 0 )
  58. AND ( v_sptid_moneyid.scid IN (:arg_scid))
  59. AND ( v_sptid_moneyid.moneyid = :arg_moneyid OR :arg_moneyid = -1 )
  60. and ( u_spt.spttypeid in (:arg_spttypeid_arr))
  61. and ( u_spt.spttypeid = :arg_spttypeid or :arg_spttypeid = -1)
  62. " arguments=(("arg_flag", number),("arg_scid", numberlist),("arg_spttypeid_arr", numberlist),("arg_spttypeid", number),("arg_moneyid", number)) sort="u_scdef_scname A cw_currency_name A u_spt_sptcode A u_spt_name A u_spt_spttype A orgn_amt A mstpayamt A payamt A balcamt A " )
  63. text(band=header[2] alignment="2" text="分部" border="0" color="0" x="9" y="36" height="60" width="393" html.valueishtml="0" name=u_scdef_scname_t visible="1" font.face="宋体" font.height="-10" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" 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. text(band=header[2] alignment="2" text="币种" border="0" color="0" x="411" y="36" height="60" width="293" html.valueishtml="0" name=cw_currency_name_t visible="1" font.face="宋体" font.height="-10" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" 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=header[2] alignment="2" text="编号" border="0" color="0" x="713" y="36" height="60" width="384" html.valueishtml="0" name=u_spt_sptcode_t visible="1" font.face="宋体" font.height="-10" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" 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=header[2] alignment="2" text="供应商名称" border="0" color="0" x="1106" y="36" height="60" width="759" html.valueishtml="0" name=u_spt_name_t visible="1" font.face="宋体" font.height="-10" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" 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. text(band=header[2] alignment="2" text="类别" border="0" color="0" x="1874" y="36" height="60" width="457" html.valueishtml="0" name=u_spt_spttype_t visible="1" font.face="宋体" font.height="-10" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" 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. text(band=header[2] alignment="2" text="期初金额" border="0" color="0" x="2341" y="36" height="60" width="411" html.valueishtml="0" name=orgn_amt_t visible="1" font.face="宋体" font.height="-10" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" 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=header[2] alignment="2" text="应付金额" border="0" color="0" x="2761" y="36" height="60" width="389" html.valueishtml="0" name=mstpayamt_t visible="1" font.face="宋体" font.height="-10" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" 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=header[2] alignment="2" text="已付金额" border="0" color="0" x="3159" y="36" height="60" width="402" html.valueishtml="0" name=payamt_t visible="1" font.face="宋体" font.height="-10" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" 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. text(band=header[2] alignment="2" text="结余金额" border="0" color="0" x="3570" y="36" height="60" width="416" html.valueishtml="0" name=balcamt_t visible="1" font.face="宋体" font.height="-10" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" 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. text(band=header[2] alignment="2" text="@itemname" border="0" color="0" x="3995" y="36" height="60" width="393" html.valueishtml="0" name=itemamt_t visible="1" font.face="宋体" font.height="-10" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" 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. text(band=header[2] alignment="2" text="合计" border="0" color="0" x="4398" y="36" height="60" width="466" html.valueishtml="0" name=grand_sum_itemamt_t visible="1" font.face="宋体" font.height="-10" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" 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. column(band=detail id=1 alignment="0" tabsequence=32766 border="0" color="33554432" x="9" y="4" height="68" width="393" format="[general]" html.valueishtml="0" name=u_scdef_scname visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" 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" )
  75. column(band=detail id=2 alignment="0" tabsequence=32766 border="0" color="33554432" x="411" y="4" height="68" width="293" format="[general]" html.valueishtml="0" name=cw_currency_name visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" 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" )
  76. column(band=detail id=3 alignment="0" tabsequence=32766 border="0" color="33554432" x="713" y="4" height="68" width="384" format="[general]" html.valueishtml="0" name=u_spt_sptcode visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" 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" )
  77. column(band=detail id=4 alignment="0" tabsequence=32766 border="0" color="33554432" x="1106" y="4" height="68" width="759" format="[general]" html.valueishtml="0" name=u_spt_name visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" 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" )
  78. column(band=detail id=5 alignment="0" tabsequence=32766 border="0" color="33554432" x="1874" y="4" height="68" width="457" format="[general]" html.valueishtml="0" name=u_spt_spttype visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" 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" )
  79. compute(band=detail alignment="1" expression="crosstabsum(1)"border="0" color="33554432" x="4398" y="4" height="68" width="466" format="#,##0.00" html.valueishtml="0" name=grand_sum_itemamt visible="1" font.face="宋体" font.height="-10" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" 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" )
  80. column(band=detail id=10 alignment="1" tabsequence=32766 border="0" color="33554432" x="3995" y="4" height="68" width="393" format="#,##0.00" html.valueishtml="0" name=itemamt visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes crosstab.repeat=yes font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" 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" )
  81. column(band=detail id=6 alignment="1" tabsequence=32766 border="0" color="33554432" x="2341" y="4" height="68" width="411" 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="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" 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" )
  82. column(band=detail id=7 alignment="1" tabsequence=32766 border="0" color="33554432" x="2761" y="4" height="68" width="389" format="#,##0.00" html.valueishtml="0" name=mstpayamt visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" 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" )
  83. column(band=detail id=8 alignment="1" tabsequence=32766 border="0" color="33554432" x="3159" y="4" height="68" width="402" format="#,##0.00" html.valueishtml="0" name=payamt visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" 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" )
  84. column(band=detail id=9 alignment="1" tabsequence=32766 border="0" color="33554432" x="3570" y="4" height="68" width="416" 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="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" 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" )
  85. compute(band=summary alignment="1" expression="sum(grand_sum_itemamt for all )"border="0" color="33554432" x="4398" y="4" height="68" width="466" format="#,##0.00" html.valueishtml="0" name=compute_27 visible="1" font.face="宋体" font.height="-10" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" 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" )
  86. compute(band=summary alignment="1" expression="sum(itemamt for all )"border="0" color="33554432" x="3995" y="4" height="68" width="393" format="#,##0.00" html.valueishtml="0" name=compute_26 visible="1" font.face="宋体" font.height="-10" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" 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" )
  87. text(band=summary alignment="2" text="合计" border="0" color="0" x="9" y="4" height="60" width="393" html.valueishtml="0" name=t_1 visible="1" font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" 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" )
  88. compute(band=summary alignment="2" expression="count( u_spt_sptcode for all)"border="0" color="33554432" x="713" y="4" height="60" width="384" format="[GENERAL]" html.valueishtml="0" name=compute_2 visible="1" font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" 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" )
  89. compute(band=summary alignment="1" expression="sum(orgn_amt for all)"border="0" color="33554432" x="2341" y="4" height="60" width="411" format="#,##0.00" html.valueishtml="0" name=compute_3 visible="1" font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" 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" )
  90. compute(band=summary alignment="1" expression="sum(mstpayamt for all)"border="0" color="33554432" x="2761" y="4" height="60" width="389" format="#,##0.00" html.valueishtml="0" name=compute_4 visible="1" font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" 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" )
  91. compute(band=summary alignment="1" expression="sum(payamt for all)"border="0" color="33554432" x="3159" y="4" height="60" width="402" format="#,##0.00" html.valueishtml="0" name=compute_5 visible="1" font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" 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" )
  92. compute(band=summary alignment="1" expression="sum(balcamt for all)"border="0" color="33554432" x="3570" y="4" height="60" width="416" format="#,##0.00" html.valueishtml="0" name=compute_6 visible="1" font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" 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" )
  93. text(band=foreground alignment="1" text="" border="0" color="33554431" x="0" y="4" height="228" width="7675" html.valueishtml="0" name=t_4 visible="1" resizeable=1 font.face="宋体" font.height="-10" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" 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" )
  94. text(band=foreground alignment="0" text="" border="0" color="0" x="9" y="148" height="56" width="1371" html.valueishtml="0" name=dt_ar visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" 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" )
  95. compute(band=foreground alignment="0" expression="'第 ' +page() + ' 页 共 ' + pageCount()+' 页,打印时间:'+today()+',操作员:'+f_sys_publ_operator()"border="0" color="33554432" x="1413" y="148" height="56" width="1920" format="[GENERAL]" html.valueishtml="0" name=compute_1 visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" 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" )
  96. text(band=foreground alignment="0" text="供应商应付已付汇总表" border="0" color="0" x="9" y="8" height="124" width="2263" html.valueishtml="0" name=title visible="1" moveable=1 font.face="宋体" font.height="-20" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" 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" )
  97. crosstab(band = foreground crosstabonly = yes
  98. columns = "itemname" rows = "u_scdef_scname, cw_currency_name, u_spt_sptcode, u_spt_name, u_spt_spttype, orgn_amt, mstpayamt, payamt, balcamt" values = "sum(itemamt for crosstab)" sourcenames = "u_scdef_scname, cw_currency_name, u_spt_sptcode, u_spt_name, u_spt_spttype, balcamt, mstpayamt, payamt, orgn_amt, itemname, itemamt")
  99. sparse(names="u_scdef_scname cw_currency_name u_spt_sptcode u_spt_name u_spt_spttype orgn_amt mstpayamt payamt")htmltable(border="0" cellpadding="1" cellspacing="1" )
  100. htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" pagingmethod=0 generatedddwframes="1" )
  101. xhtmlgen() cssgen(sessionspecific="0" )
  102. xmlgen(inline="0" )
  103. xsltgen()
  104. jsgen()
  105. export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 template=(comment="" encoding="gb2312" name="ewiserp" xml="<?xml version=~"1.0~" encoding=~"gb2312~" standalone=~"no~"?><dw_rp_musttake_balc_2><dw_rp_musttake_balc_2_row __pbband=~"detail~"><cusareaname/><cuscode/><name/><custype/><orgn_amt/><msttakeamt/><takeamt/><balcamt/><dscrp/><pprice/><pprice2/><itemamt>itemamt</itemamt></dw_rp_musttake_balc_2_row></dw_rp_musttake_balc_2>"))
  106. import.xml()
  107. export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
  108. export.xhtml()