dw_buybillmx_index.srd 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. $PBExportHeader$dw_buybillmx_index.srd
  2. release 9;
  3. datawindow(units=0 timer_interval=0 color=16777215 processing=1 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 hidegrayline=no grid.lines=0 selected.mouse=no )
  4. header(height=68 color="536870912" )
  5. summary(height=0 color="536870912" )
  6. footer(height=64 color="536870912" )
  7. detail(height=76 color="536870912" )
  8. table(column=(type=decimal(2) updatewhereclause=yes name=mstpayamt dbname="u_Bmstpaymx.Mstpayamt" initial="0" )
  9. column=(type=decimal(2) updatewhereclause=yes name=payamt dbname="u_Bmstpaymx.payamt" initial="0" )
  10. column=(type=long updatewhereclause=yes name=payid dbname="u_Bmstpaymx.Payid" )
  11. column=(type=datetime updatewhereclause=yes name=paydate dbname="u_Bmstpay.Paydate" )
  12. column=(type=decimal(2) updatewhereclause=yes name=oriamt dbname="u_Bmstpay.oriamt" initial="0" )
  13. column=(type=decimal(2) updatewhereclause=yes name=mainmstpayamt dbname="u_Bmstpay.Mstpayamt" initial="0" )
  14. column=(type=decimal(2) updatewhereclause=yes name=mainpayamt dbname="u_Bmstpay.Payamt" initial="0" )
  15. column=(type=char(30) updatewhereclause=yes name=billcode dbname="u_Bmstpay.Billcode" initial="empty" )
  16. column=(type=char(1) updatewhereclause=yes name=relbillcode dbname="relbillcode" )
  17. retrieve=" SELECT U_BmstpayMX.Mstpayamt,
  18. U_BmstpayMX.payamt,
  19. U_BmstpayMX.Payid,
  20. U_Bmstpay.Paydate,
  21. U_Bmstpay.oriamt,
  22. U_Bmstpay.Mstpayamt,
  23. U_Bmstpay.Payamt,
  24. U_Bmstpay.Billcode ,
  25. '' as relbillcode
  26. FROM U_Bmstpay,
  27. U_BmstpayMX
  28. WHERE ( U_Bmstpay.Payid = U_BmstpayMX.Payid ) and
  29. ( ( U_BmstpayMX.buybillid = :arg_buybillid ) )
  30. " arguments=(("arg_buybillid", number)) )
  31. compute(band=footer alignment="2" expression=" count(billcode for all) "border="0" color="16711680" x="9" y="4" height="56" width="434" format="[general]" html.valueishtml="0" name=compute_1 visible="1" font.face="宋体" font.height="-9" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  32. compute(band=footer alignment="1" expression="sum(mstpayamt for all) "border="0" color="16711680" x="2546" y="4" height="56" width="443" format="#,##0.00" html.valueishtml="0" name=compute_2 visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  33. compute(band=footer alignment="1" expression=" sum(payamt for all) "border="0" color="16711680" x="2999" y="4" height="56" width="434" format="#,##0.00" html.valueishtml="0" name=compute_3 visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  34. compute(band=footer alignment="1" expression=" sum(oriamt for all) "border="0" color="0" x="841" y="4" height="56" width="421" format="#,##0.00" html.valueishtml="0" name=compute_4 visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  35. compute(band=footer alignment="1" expression=" sum(mainpayamt for all) "border="0" color="0" x="1678" y="4" height="56" width="411" format="#,##0.00" html.valueishtml="0" name=compute_5 visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  36. compute(band=footer alignment="1" expression=" sum(mainmstpayamt for all) "border="0" color="0" x="1271" y="4" height="56" width="398" format="#,##0.00" html.valueishtml="0" name=compute_6 visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  37. compute(band=footer alignment="1" expression="/* sum( u_bmstpaymx_mstpayamt - u_bmstpaymx_payamt for all) */"border="0" color="33554432" x="2098" y="4" height="56" width="439" format="#,##0.00" html.valueishtml="0" name=compute_8 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" )
  38. text(band=header alignment="2" text="单据编号" border="0" color="0" x="9" y="8" height="56" width="434" html.valueishtml="0" name=billcode_t visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  39. text(band=header alignment="2" text="发生日期" border="0" color="0" x="453" y="8" height="56" width="379" html.valueishtml="0" name=paydate_t visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  40. text(band=header alignment="2" text="单据金额" border="0" color="0" x="841" y="8" height="56" width="421" html.valueishtml="0" name=oriamt_t visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  41. text(band=header alignment="2" text="应付金额" border="0" color="0" x="1271" y="8" height="56" width="398" html.valueishtml="0" name=mainmstpayamt_t visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  42. text(band=header alignment="2" text="已付金额" border="0" color="0" x="1678" y="8" height="56" width="411" html.valueishtml="0" name=mainpayamt_t visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  43. text(band=header alignment="2" text="应付金额" border="0" color="16711680" x="2546" y="8" height="56" width="443" html.valueishtml="0" name=mstpayamt_t visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  44. text(band=header alignment="2" text="已付金额" border="0" color="16711680" x="2999" y="8" height="56" width="434" html.valueishtml="0" name=payamt_t visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  45. text(band=header alignment="2" text="未付金额" border="0" color="33554432" x="2098" y="8" height="56" width="439" html.valueishtml="0" name=not_pay_t 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" )
  46. text(band=header alignment="0" text="Relbillcode" border="0" color="16711680" x="3442" y="8" height="56" width="338" html.valueishtml="0" name=relbillcode_t visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  47. column(band=detail id=8 alignment="0" tabsequence=32766 border="0" color="0" x="9" y="4" height="68" width="434" format="[general]" html.valueishtml="0" name=billcode tag="凭证号码" visible="1" edit.limit=30 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="宋体" font.height="-9" font.weight="400" font.family="2" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  48. column(band=detail id=4 alignment="2" tabsequence=32766 border="0" color="0" x="453" y="4" height="68" width="379" format="yyyy-mm-dd" html.valueishtml="0" name=paydate tag="发生时间" visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="宋体" font.height="-9" font.weight="400" font.family="2" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  49. column(band=detail id=6 alignment="1" tabsequence=32766 border="0" color="0" x="1271" y="4" height="68" width="398" format="#,##0.00" html.valueishtml="0" name=mainmstpayamt tag="应付金额" visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="宋体" font.height="-9" font.weight="400" font.family="2" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  50. column(band=detail id=5 alignment="1" tabsequence=32766 border="0" color="0" x="841" y="4" height="68" width="421" format="#,##0.00" html.valueishtml="0" name=oriamt tag="单据原始金额" visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="宋体" font.height="-9" font.weight="400" font.family="2" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  51. column(band=detail id=1 alignment="1" tabsequence=32766 border="0" color="16711680" x="2546" y="4" height="68" width="443" format="#,##0.00" html.valueishtml="0" name=mstpayamt tag="应付金额" visible="1" edit.limit=0 edit.case=any edit.format="#,##0.00" edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="宋体" font.height="-9" font.weight="400" font.family="2" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  52. column(band=detail id=2 alignment="1" tabsequence=32766 border="0" color="16711680" x="2999" y="4" height="68" width="434" format="#,##0.00" html.valueishtml="0" name=payamt visible="1" edit.limit=0 edit.case=any edit.format="#,##0.00" edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="宋体" font.height="-9" font.weight="400" font.family="2" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  53. column(band=detail id=7 alignment="1" tabsequence=32766 border="0" color="0" x="1678" y="4" height="68" width="411" format="#,##0.00" html.valueishtml="0" name=mainpayamt tag="已付金额" visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="宋体" font.height="-9" font.weight="400" font.family="2" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  54. compute(band=detail alignment="1" expression="mainmstpayamt - mainpayamt "border="0" color="33554432" x="2098" y="4" height="68" width="439" format="#,##0.00" html.valueishtml="0" name=not_pay 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" )
  55. column(band=detail id=9 alignment="0" tabsequence=32766 border="0" color="0" x="3442" y="4" height="68" width="338" format="[general]" html.valueishtml="0" name=relbillcode visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="宋体" font.height="-9" font.weight="400" font.family="2" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  56. htmltable(border="1" )
  57. htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
  58. export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 template=(comment="" encoding="gb2312" name="ecl" xml="<?xml version=~"1.0~" encoding=~"gb2312~" standalone=~"no~"?><dw_buybillmx_index><dw_buybillmx_index_row __pbband=~"detail~"><u_bmstpaymx_mstpayamt>mstpayamt</u_bmstpaymx_mstpayamt><u_bmstpaymx_payamt>payamt</u_bmstpaymx_payamt><u_bmstpaymx_payid>u_bmstpaymx_payid</u_bmstpaymx_payid><u_bmstpay_paydate>paydate</u_bmstpay_paydate><u_bmstpay_oriamt>oriamt</u_bmstpay_oriamt><u_bmstpay_mstpayamt>mainmstpayamt</u_bmstpay_mstpayamt><u_bmstpay_payamt>mainpayamt</u_bmstpay_payamt><u_bmstpay_billcode>billcode</u_bmstpay_billcode><relbillcode>relbillcode</relbillcode></dw_buybillmx_index_row></dw_buybillmx_index>"))
  59. import.xml()
  60. export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )