dw_quote_preview_mx.srd 9.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. $PBExportHeader$dw_quote_preview_mx.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=76 color="536870912" )
  5. summary(height=72 color="536870912" )
  6. footer(height=0 color="536870912" )
  7. detail(height=88 color="536870912" height.autosize=yes)
  8. table(column=(type=long updatewhereclause=yes name=u_quotemx_quoteid dbname="u_quotemx.quoteid" initial="0" )
  9. column=(type=char(30) updatewhereclause=yes name=u_mtrldef_mtrlcode dbname="u_mtrldef.mtrlcode" initial="empty" )
  10. column=(type=decimal(10) updatewhereclause=yes name=u_quotemx_qty dbname="u_quotemx.qty" )
  11. column=(type=decimal(10) updatewhereclause=yes name=u_quotemx_sumprice dbname="u_quotemx.sumprice" initial="0" )
  12. column=(type=decimal(10) updatewhereclause=yes name=u_quotemx_sumprice_1 dbname="u_quotemx.sumprice_1" initial="0" )
  13. column=(type=char(255) updatewhereclause=yes name=u_quotemx_mxdscrp dbname="u_quotemx.mxDscrp" initial="empty" )
  14. column=(type=char(50) updatewhereclause=yes name=u_mtrldef_mtrlname dbname="u_mtrldef.mtrlname" initial="empty" )
  15. column=(type=char(30) updatewhereclause=yes name=u_mtrldef_mtrltype dbname="u_mtrldef.mtrltype" initial="empty" )
  16. column=(type=char(30) updatewhereclause=yes name=u_mtrldef_mtrlmode dbname="u_mtrldef.mtrlmode" initial="empty" )
  17. column=(type=long updatewhereclause=yes name=u_quotemx_scid dbname="u_quotemx.scid" initial="0" )
  18. column=(type=long updatewhereclause=yes name=u_quotemx_mtrlid dbname="u_quotemx.mtrlid" initial="0" )
  19. column=(type=long updatewhereclause=yes name=u_quotemx_printid dbname="u_quotemx.printid" initial="0" )
  20. retrieve="SELECT u_quotemx.quoteid,
  21. u_mtrldef.mtrlcode,
  22. u_quotemx.qty,
  23. u_quotemx.sumprice,
  24. u_quotemx.sumprice_1,
  25. u_quotemx.mxDscrp,
  26. u_mtrldef.mtrlname,
  27. u_mtrldef.mtrltype,
  28. u_mtrldef.mtrlmode ,
  29. u_quotemx.scid,
  30. u_quotemx.mtrlid,
  31. u_quotemx.printid
  32. FROM u_mtrldef,
  33. u_quotemx
  34. WHERE ( u_mtrldef.mtrlid = u_quotemx.mtrlid ) AND
  35. (u_quotemx.scid = :arg_scid) AND
  36. (u_quotemx.quoteid = :arg_quoteid) and
  37. ( :arg_printrow = :arg_printrow ) AND
  38. ( :arg_top = :arg_top )
  39. " arguments=(("arg_scid", number),("arg_quoteid", number),("arg_printrow", number),("arg_top", number)) )
  40. text(band=header alignment="2" text="序" border="0" color="33554432" x="9" y="8" height="60" width="73" 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="1" background.color="536870912" )
  41. text(band=header alignment="2" text="规格" border="0" color="33554432" x="1230" y="8" height="60" width="416" html.valueishtml="0" name=u_mtrldef_mtrlmode_t visible="1" font.face="宋体" font.height="-10" 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="33554432" x="599" y="8" height="60" width="622" html.valueishtml="0" name=u_mtrldef_mtrlname_t visible="1" font.face="宋体" font.height="-10" 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="91" y="8" height="60" width="498" html.valueishtml="0" name=u_mtrldef_mtrlcode_t visible="1" font.face="宋体" font.height="-10" 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="33554432" x="1655" y="8" height="60" width="352" html.valueishtml="0" name=u_quotemx_qty_t visible="1" font.face="宋体" font.height="-10" 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="2016" y="8" height="60" width="393" html.valueishtml="0" name=u_quotemx_sumprice_t 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" )
  46. text(band=header alignment="2" text="金额" border="0" color="33554432" x="2418" y="8" height="60" width="526" html.valueishtml="0" name=amt_t 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" )
  47. text(band=header alignment="2" text="备注" border="0" color="33554432" x="2953" y="8" height="60" width="398" html.valueishtml="0" name=u_quotemx_mxdscrp_t visible="1" font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  48. column(band=detail id=2 alignment="0" tabsequence=32766 border="0" color="33554432" x="91" y="8" height="72" width="498" format="[general]" html.valueishtml="0" name=u_mtrldef_mtrlcode visible="1" edit.limit=30 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  49. column(band=detail id=7 alignment="0" tabsequence=32766 border="0" color="33554432" x="599" y="8" height="72" width="622" format="[general]" html.valueishtml="0" name=u_mtrldef_mtrlname visible="1" edit.limit=50 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="宋体" font.height="-10" font.weight="400" font.family="0" 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="1230" y="8" height="72" width="416" format="[general]" html.valueishtml="0" name=u_mtrldef_mtrlmode visible="1" edit.limit=30 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  51. column(band=detail id=4 alignment="1" tabsequence=32766 border="0" color="33554432" x="2016" y="8" height="72" width="393" format="#,##0.00########" html.valueishtml="0" name=u_quotemx_sumprice visible="1" edit.limit=0 edit.case=any edit.format="##0.00" edit.autoselect=yes edit.imemode=0 font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  52. compute(band=detail alignment="2" expression="getrow()"border="0" color="33554432" x="9" y="8" height="72" width="73" format="[GENERAL]" html.valueishtml="0" name=pid 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" )
  53. column(band=detail id=3 alignment="1" tabsequence=32766 border="0" color="33554432" x="1655" y="8" height="72" width="352" format="###,##0.#####" html.valueishtml="0" name=u_quotemx_qty visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  54. column(band=detail id=6 alignment="0" tabsequence=32766 border="0" color="33554432" x="2953" y="8" height="72" width="398" format="[general]" html.valueishtml="0" name=u_quotemx_mxdscrp visible="1" edit.limit=100 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  55. compute(band=detail alignment="1" expression="u_quotemx_qty * u_quotemx_sumprice "border="0" color="33554432" x="2418" y="8" height="72" width="526" format="#,##0.00" html.valueishtml="0" name=amt visible="1" font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  56. text(band=summary alignment="2" text="合计" border="0" color="33554432" x="91" y="4" height="60" width="498" html.valueishtml="0" name=t_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" )
  57. compute(band=summary alignment="2" expression="count(u_mtrldef_mtrlname for all)"border="0" color="33554432" x="599" y="4" height="60" width="622" format="[GENERAL]" 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="1" background.color="536870912" )
  58. compute(band=summary alignment="1" expression="sum(amt)"border="0" color="33554432" x="2418" y="4" height="60" width="526" 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="1" background.color="536870912" )
  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" )