dw_buybillmx_edit.srd 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. $PBExportHeader$dw_buybillmx_edit.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 )
  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=long update=yes updatewhereclause=yes name=scid dbname="u_buybillmx.scid" initial="0" )
  9. column=(type=long update=yes updatewhereclause=yes key=yes name=buybillid dbname="u_buybillmx.buybillid" initial="0" )
  10. column=(type=long update=yes updatewhereclause=yes key=yes name=payid dbname="u_buybillmx.payid" initial="0" )
  11. column=(type=datetime update=yes updatewhereclause=yes name=paydate dbname="u_buybillmx.paydate" initial="today" )
  12. column=(type=decimal(5) update=yes updatewhereclause=yes name=oriamt dbname="u_buybillmx.oriamt" initial="0" )
  13. column=(type=decimal(5) update=yes updatewhereclause=yes name=mstpayamt dbname="u_buybillmx.mstpayamt" initial="0" )
  14. column=(type=decimal(5) update=yes updatewhereclause=yes name=payamt dbname="u_buybillmx.payamt" initial="0" )
  15. column=(type=char(30) update=yes updatewhereclause=yes name=billcode dbname="u_buybillmx.billcode" initial="empty" )
  16. column=(type=char(255) updatewhereclause=yes name=relbillcode dbname="u_buybillmx.relbillcode" initial="empty" )
  17. column=(type=decimal(5) updatewhereclause=yes name=mainmstpayamt dbname="u_buybillmx.mainmstpayamt" initial="0" )
  18. column=(type=decimal(5) updatewhereclause=yes name=mainpayamt dbname="u_buybillmx.mainpayamt" initial="0" )
  19. column=(type=decimal(5) updatewhereclause=yes name=not_pay dbname="not_pay" initial="0" )
  20. retrieve=" SELECT u_buybillmx.scid,
  21. u_buybillmx.buybillid,
  22. u_buybillmx.payid,
  23. u_buybillmx.paydate,
  24. u_buybillmx.oriamt,
  25. u_buybillmx.mstpayamt,
  26. u_buybillmx.payamt,
  27. u_buybillmx.billcode,
  28. u_buybillmx.relbillcode ,
  29. u_buybillmx.mainmstpayamt,
  30. u_buybillmx.mainpayamt ,
  31. round( u_buybillmx.mainmstpayamt - u_buybillmx.mainpayamt,2) as not_pay
  32. FROM u_buybillmx
  33. where u_buybillmx.buybillid=:arg_buybillid" update="u_buybillmx" updatewhere=1 updatekeyinplace=no arguments=(("arg_buybillid", number)) )
  34. text(band=header alignment="2" text="发生日期" border="0" color="33554432" x="832" y="8" height="56" width="288" 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="2" background.color="16777215" )
  35. text(band=header alignment="2" text="单据金额" border="0" color="33554432" x="1129" y="8" height="56" width="375" 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="2" background.color="16777215" )
  36. text(band=header alignment="2" text="单据编号" border="0" color="33554432" x="9" y="8" height="56" width="421" 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="2" background.color="16777215" )
  37. text(band=header alignment="2" text="应付金额" border="0" color="33554432" x="1513" y="8" height="56" width="384" 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="2" background.color="16777215" )
  38. text(band=header alignment="2" text="已付金额" border="0" color="33554432" x="1906" y="8" height="56" width="361" 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="2" background.color="16777215" )
  39. text(band=header alignment="2" text="未付金额" border="0" color="33554432" x="2277" y="8" height="56" width="366" 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="16777215" )
  40. text(band=header alignment="2" text="本次已付" border="0" color="16711680" x="3013" y="8" height="56" width="393" 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="2" background.color="16777215" )
  41. text(band=header alignment="2" text="本次附加应付" border="0" color="16711680" x="2651" y="8" height="56" width="352" 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="2" background.color="16777215" )
  42. text(band=header alignment="2" text="相号凭证号" border="0" color="33554432" x="439" y="8" height="56" width="384" html.valueishtml="0" name=relbillcode_t visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
  43. column(band=detail id=4 alignment="2" tabsequence=32766 border="0" color="33554432" x="832" y="4" height="68" width="288" format="yyyy-mm-dd" html.valueishtml="0" name=paydate 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="0" background.mode="2" background.color="16777215" )
  44. column(band=detail id=8 alignment="0" tabsequence=32766 border="0" color="33554432" x="9" y="4" height="68" width="421" format="[general]" html.valueishtml="0" name=billcode 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="0" background.mode="2" background.color="16777215" )
  45. column(band=detail id=5 alignment="1" tabsequence=32766 border="0" color="33554432" x="1129" y="4" height="68" width="375" format="#,##0.00" html.valueishtml="0" name=oriamt 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="0" background.mode="2" background.color="16777215" )
  46. column(band=detail id=10 alignment="1" tabsequence=32766 border="0" color="33554432" x="1513" y="4" height="68" width="384" format="#,##0.00" html.valueishtml="0" name=mainmstpayamt 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="0" background.mode="2" background.color="16777215" )
  47. column(band=detail id=11 alignment="1" tabsequence=32766 border="0" color="33554432" x="1906" y="4" height="68" width="361" format="#,##0.00" html.valueishtml="0" name=mainpayamt 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="0" background.mode="2" background.color="16777215" )
  48. column(band=detail id=12 alignment="1" tabsequence=32766 border="0" color="33554432" x="2277" y="4" height="68" width="366" format="#,##0.00" html.valueishtml="0" name=not_pay 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="0" background.mode="2" background.color="16777215" )
  49. column(band=detail id=7 alignment="1" tabsequence=32766 border="0" color="16711680" x="3013" y="4" height="68" width="393" 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="0" background.mode="2" background.color="16777215" )
  50. column(band=detail id=6 alignment="1" tabsequence=32766 border="0" color="16711680" x="2651" y="4" height="68" width="352" format="#,##0.00" html.valueishtml="0" name=mstpayamt 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="0" background.mode="2" background.color="16777215" )
  51. column(band=detail id=9 alignment="0" tabsequence=32766 border="0" color="33554432" x="439" y="4" height="68" width="384" 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="0" background.mode="2" background.color="16777215" )
  52. compute(band=footer alignment="2" expression="count(billcode for all)"border="0" color="16711680" x="9" y="4" height="56" width="421" format="[general]" html.valueishtml="0" name=compute_7 visible="1" font.face="宋体" font.height="-9" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
  53. compute(band=footer alignment="1" expression="sum(oriamt for all)"border="0" color="33554432" x="1129" y="4" height="56" width="375" format="#,##0.00" 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="16777215" )
  54. compute(band=footer alignment="1" expression="sum(mstpayamt for all)"border="0" color="16711680" x="2651" y="4" height="56" width="352" 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="2" background.color="16777215" )
  55. compute(band=footer alignment="1" expression="sum(payamt for all)"border="0" color="16711680" x="3013" y="4" height="56" width="393" 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="2" background.color="16777215" )
  56. compute(band=footer alignment="1" expression="sum(not_pay for all)"border="0" color="33554432" x="2277" y="4" height="56" width="366" 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="2" background.color="16777215" )
  57. compute(band=footer alignment="1" expression="sum(mainpayamt for all)"border="0" color="33554432" x="1906" y="4" height="56" width="361" 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="2" background.color="16777215" )
  58. compute(band=footer alignment="1" expression="sum(mainmstpayamt for all)"border="0" color="33554432" x="1513" y="4" height="56" width="384" 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="2" background.color="16777215" )
  59. htmltable(border="1" )
  60. htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
  61. export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
  62. import.xml()
  63. export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )