dw_rp_salebillmx_edit.srd 13 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. $PBExportHeader$dw_rp_salebillmx_edit.srd
  2. release 9;
  3. datawindow(units=0 timer_interval=0 color=1073741824 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_salebillmx.scid" )
  9. column=(type=long update=yes updatewhereclause=yes key=yes name=salebillid dbname="u_salebillmx.salebillid" )
  10. column=(type=decimal(5) update=yes updatewhereclause=yes name=msttakeamt dbname="u_salebillmx.msttakeamt" )
  11. column=(type=decimal(5) update=yes updatewhereclause=yes name=takeamt dbname="u_salebillmx.takeamt" )
  12. column=(type=long update=yes updatewhereclause=yes key=yes name=takeid dbname="u_salebillmx.takeid" )
  13. column=(type=datetime update=yes updatewhereclause=yes name=takedate dbname="u_salebillmx.takedate" )
  14. column=(type=decimal(5) update=yes updatewhereclause=yes name=oriamt dbname="u_salebillmx.oriamt" )
  15. column=(type=char(30) update=yes updatewhereclause=yes name=billcode dbname="u_salebillmx.billcode" )
  16. column=(type=char(255) updatewhereclause=yes name=relbillcode dbname="u_salebillmx.relbillcode" )
  17. column=(type=decimal(5) updatewhereclause=yes name=mainmsttakeamt dbname="u_salebillmx.mainmsttakeamt" )
  18. column=(type=decimal(5) updatewhereclause=yes name=maintakeamt dbname="u_salebillmx.maintakeamt" )
  19. column=(type=decimal(5) updatewhereclause=yes name=not_take1 dbname="not_take" )
  20. retrieve=" SELECT u_salebillmx.scid,
  21. u_salebillmx.salebillid,
  22. u_salebillmx.msttakeamt,
  23. u_salebillmx.takeamt,
  24. u_salebillmx.takeid,
  25. u_salebillmx.takedate,
  26. u_salebillmx.oriamt,
  27. u_salebillmx.billcode,
  28. u_salebillmx.relbillcode ,
  29. u_salebillmx.mainmsttakeamt,
  30. u_salebillmx.maintakeamt ,
  31. round( u_salebillmx.mainmsttakeamt - u_salebillmx.maintakeamt,2) as not_take
  32. FROM u_salebillmx
  33. where u_salebillmx.salebillid=:arg_salebillid" update="u_salebillmx" updatewhere=1 updatekeyinplace=no arguments=(("arg_salebillid", number)) )
  34. text(band=header alignment="2" text="发生日期" border="0" color="33554432" x="786" y="8" height="56" width="320" html.valueishtml="0" name=takedate_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" )
  35. text(band=header alignment="2" text="单据编号" border="0" color="33554432" x="9" y="8" height="56" width="389" 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" )
  36. text(band=header alignment="2" text="单据金额" border="0" color="33554432" x="1115" y="8" height="56" width="379" 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" )
  37. text(band=header alignment="2" text="应收金额" border="0" color="33554432" x="1504" y="8" height="56" width="315" html.valueishtml="0" name=mainmsttakeamt_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" )
  38. text(band=header alignment="2" text="本次已收" border="0" color="33554432" x="2839" y="8" height="56" width="274" html.valueishtml="0" name=takeamt_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="33554432" x="2510" y="8" height="56" width="320" html.valueishtml="0" name=msttakeamt_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="33554432" x="407" y="8" height="56" width="370" 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="1073741824" )
  41. text(band=header alignment="2" text="已收金额" border="0" color="33554432" x="1829" y="8" height="56" width="334" html.valueishtml="0" name=maintakeamt_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" )
  42. text(band=header alignment="2" text="未收金额" border="0" color="33554432" x="2171" y="8" height="56" width="329" html.valueishtml="0" name=t_1 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="33554432" x="3122" y="8" height="56" width="247" html.valueishtml="0" name=not_take_t visible="0" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  44. column(band=detail id=6 alignment="2" tabsequence=32766 border="0" color="33554432" x="786" y="4" height="68" width="320" format="yyyy-mm-dd" html.valueishtml="0" name=takedate 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" )
  45. column(band=detail id=8 alignment="0" tabsequence=32766 border="0" color="33554432" x="9" y="4" height="68" width="389" 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="134" background.mode="1" background.color="536870912" )
  46. column(band=detail id=7 alignment="1" tabsequence=32766 border="0" color="33554432" x="1115" y="4" height="68" width="379" 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="134" background.mode="1" background.color="536870912" )
  47. column(band=detail id=3 alignment="1" tabsequence=32766 border="0" color="33554432" x="2510" y="4" height="68" width="320" format="#,##0.00" html.valueishtml="0" name=msttakeamt 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" )
  48. column(band=detail id=4 alignment="1" tabsequence=32766 border="0" color="33554432" x="2839" y="4" height="68" width="274" format="#,##0.00" html.valueishtml="0" name=takeamt 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" )
  49. column(band=detail id=10 alignment="1" tabsequence=32766 border="0" color="33554432" x="1504" y="4" height="68" width="315" format="#,##0.00" html.valueishtml="0" name=mainmsttakeamt 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" )
  50. column(band=detail id=9 alignment="0" tabsequence=32766 border="0" color="33554432" x="407" y="4" height="68" width="370" 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" )
  51. column(band=detail id=11 alignment="1" tabsequence=32766 border="0" color="33554432" x="1829" y="4" height="68" width="334" format="#,##0.00" html.valueishtml="0" name=maintakeamt 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" )
  52. compute(band=detail alignment="1" expression=" mainmsttakeamt - maintakeamt "border="0" color="33554432" x="2171" y="4" height="68" width="329" format="#,##0.00" html.valueishtml="0" name=not_take 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" )
  53. column(band=detail id=12 alignment="1" tabsequence=32766 border="0" color="33554432" x="3122" y="4" height="68" width="247" format="#,##0.00" html.valueishtml="0" name=not_take1 visible="0" 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" )
  54. compute(band=footer alignment="1" expression="sum(oriamt for all)"border="0" color="33554432" x="1115" y="4" height="56" width="379" 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="1073741824" )
  55. compute(band=footer alignment="2" expression="count(billcode for all)"border="0" color="33554432" x="9" y="4" height="56" width="389" 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="1" background.color="536870912" )
  56. compute(band=footer alignment="1" expression="sum(msttakeamt for all)"border="0" color="33554432" x="2510" y="4" height="56" width="320" 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="1073741824" )
  57. compute(band=footer alignment="1" expression="sum(takeamt for all)"border="0" color="33554432" x="2839" y="4" height="56" width="274" 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="1073741824" )
  58. compute(band=footer alignment="1" expression="sum(mainmsttakeamt for all)"border="0" color="33554432" x="1504" y="4" height="56" width="315" 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" )
  59. compute(band=footer alignment="1" expression="sum(maintakeamt for all)"border="0" color="33554432" x="1829" y="4" height="56" width="334" 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" )
  60. compute(band=footer alignment="1" expression="sum( mainmsttakeamt - maintakeamt )"border="0" color="33554432" x="2171" y="4" height="56" width="329" format="#,##0.00" html.valueishtml="0" name=compute_9 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" )
  61. compute(band=footer alignment="1" expression="/* sum(not_take for all) */"border="0" color="33554432" x="3122" y="4" height="56" width="247" format="#,##0.00" html.valueishtml="0" name=compute_6 visible="0" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" )
  62. htmltable(border="1" )
  63. htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
  64. export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
  65. import.xml()
  66. export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )