dw_rp_outwaremx_pk_index.srd 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. $PBExportHeader$dw_rp_outwaremx_pk_index.srd
  2. release 9;
  3. datawindow(units=1 timer_interval=0 color=16777215 processing=1 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 24 print.margin.right = 24 print.margin.top = 24 print.margin.bottom = 24 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=18 color="536870912" )
  5. summary(height=17 color="536870912" )
  6. footer(height=0 color="536870912" )
  7. detail(height=25 color="536870912" )
  8. table(column=(type=decimal(4) updatewhereclause=yes name=u_outwaremx_qty dbname="u_outwaremx.qty" initial="null" )
  9. column=(type=decimal(10) updatewhereclause=yes name=u_outwaremx_price dbname="u_outwaremx.price" initial="null" )
  10. column=(type=long updatewhereclause=yes name=u_outwaremx_storageid dbname="u_outwaremx.storageid" initial="null" values="仓库ID /" )
  11. column=(type=char(30) updatewhereclause=yes name=u_mtrldef_mtrlcode dbname="u_mtrldef.mtrlcode" initial="null" )
  12. column=(type=char(50) updatewhereclause=yes name=u_mtrldef_mtrlname dbname="u_mtrldef.mtrlname" initial="null" )
  13. column=(type=char(30) updatewhereclause=yes name=u_mtrldef_mtrlmode dbname="u_mtrldef.mtrlmode" initial="null" )
  14. column=(type=char(10) updatewhereclause=yes name=u_mtrldef_unit dbname="u_mtrldef.unit" initial="null" )
  15. column=(type=char(30) updatewhereclause=yes name=u_outwaremx_plancode dbname="u_outwaremx.plancode" initial="null" )
  16. column=(type=char(255) updatewhereclause=yes name=u_outwaremx_status dbname="u_outwaremx.status" initial="null" )
  17. column=(type=long updatewhereclause=yes name=u_outwaremx_dxflag dbname="u_outwaremx.dxflag" initial="null" values="" )
  18. column=(type=long updatewhereclause=yes name=u_outwaremx_printid dbname="u_outwaremx.printid" initial="null" values="序号 /" )
  19. retrieve="SELECT u_outwaremx.qty,
  20. u_outwaremx.price,
  21. u_outwaremx.storageid,
  22. u_mtrldef.mtrlcode,
  23. u_mtrldef.mtrlname,
  24. u_mtrldef.mtrlmode,
  25. u_mtrldef.unit,
  26. u_outwaremx.plancode,
  27. u_outwaremx.status,
  28. u_outwaremx.dxflag,
  29. u_outwaremx.printid
  30. FROM u_mtrldef,
  31. u_outwaremx
  32. WHERE ( u_mtrldef.mtrlid = u_outwaremx.mtrlid ) and
  33. ( u_outwaremx.outwareid = :arg_outwareid ) and
  34. ( u_outwaremx.scid = :arg_scid ) and
  35. ( :arg_printrow = :arg_printrow ) and
  36. ( :arg_top = :arg_top )
  37. union all
  38. SELECT TOP :arg_top null, null, null, null, null, null, null, null, null, null,10000
  39. FROM syscolumns
  40. " arguments=(("arg_scid", number),("arg_outwareid", number),("arg_printrow", number),("arg_top", number)) )
  41. group(level=1 header.height=0 trailer.height=17 by=("aa" ) header.color="536870912" trailer.color="536870912" )
  42. compute(band=background alignment="0" expression="ceiling( getrow() / arg_printrow )"border="0" color="0" x="721" y="54" height="15" width="25" format="[GENERAL]" html.valueishtml="0" name=aa tag="ceiling( getrow() / arg_printrow )" visible="0" 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="0" x="2" y="2" height="15" width="19" 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" )
  44. text(band=header alignment="2" text="编码" border="0" color="0" x="23" y="2" height="15" width="84" 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" )
  45. text(band=header alignment="2" text="品名" border="0" color="0" x="109" y="2" height="15" width="149" 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" )
  46. text(band=header alignment="2" text="数量" border="0" color="0" x="315" y="2" height="15" width="62" html.valueishtml="0" name=u_outwaremx_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" )
  47. text(band=header alignment="2" text="库存单位" border="0" color="0" x="260" y="2" height="15" width="53" html.valueishtml="0" name=u_mtrldef_unit_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. text(band=header alignment="2" text="规格" border="0" color="33554432" x="506" y="2" height="15" width="69" html.valueishtml="0" name=u_mtrldef_mtrlmode_t visible="1" font.face="宋体" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
  49. text(band=header alignment="2" text="批号" border="0" color="33554432" x="577" y="2" height="15" width="59" html.valueishtml="0" name=u_outwaremx_plancode_t visible="1" font.face="宋体" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
  50. text(band=header alignment="2" text="规格说明" border="0" color="33554432" x="638" y="2" height="15" width="53" html.valueishtml="0" name=u_outwaremx_status_t visible="1" font.face="宋体" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
  51. text(band=header alignment="2" text="代销" border="0" color="33554432" x="693" y="2" height="15" width="26" html.valueishtml="0" name=u_outwaremx_dxflag_t visible="1" font.face="宋体" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
  52. text(band=header alignment="2" text="单价" border="0" color="0" x="379" y="2" height="15" width="49" html.valueishtml="0" name=u_outwaremx_price_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" )
  53. text(band=header alignment="2" text="金额" border="0" color="33554432" x="430" y="2" height="15" width="74" 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" )
  54. compute(band=detail alignment="2" expression="getrow()"border="0" color="0" x="2" y="4" height="20" width="19" format="[general]" html.valueishtml="0" name=cmpl2 tag="getrow()" 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" )
  55. column(band=detail id=4 alignment="0" tabsequence=32766 border="0" color="0" x="23" y="4" height="20" width="84" format="[general]" html.valueishtml="0" name=u_mtrldef_mtrlcode tag="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="2" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  56. column(band=detail id=5 alignment="0" tabsequence=32766 border="0" color="0" x="109" y="4" height="20" width="149" format="[general]" html.valueishtml="0" name=u_mtrldef_mtrlname tag="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="2" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  57. column(band=detail id=1 alignment="1" tabsequence=32766 border="0" color="0" x="315" y="4" height="20" width="62" format="#,##0.0###" html.valueishtml="0" name=u_outwaremx_qty tag="u_outwaremx_qty" visible="1" edit.limit=0 edit.case=any edit.format="#########0.##" edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="宋体" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  58. column(band=detail id=7 alignment="2" tabsequence=32766 border="0" color="0" x="260" y="4" height="20" width="53" format="[general]" html.valueishtml="0" name=u_mtrldef_unit tag="u_mtrldef_unit" visible="1" edit.limit=10 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="2" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  59. column(band=detail id=6 alignment="0" tabsequence=32766 border="0" color="0" x="506" y="4" height="20" width="69" format="[general]" html.valueishtml="0" name=u_mtrldef_mtrlmode tag="u_mtrldef_mtrlmode" visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="宋体" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  60. column(band=detail id=8 alignment="0" tabsequence=32766 border="0" color="0" x="577" y="4" height="20" width="59" format="[general]" html.valueishtml="0" name=u_outwaremx_plancode tag="u_outwaremx_plancode" visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="宋体" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  61. column(band=detail id=9 alignment="0" tabsequence=32766 border="0" color="0" x="638" y="4" height="20" width="53" format="[general]" html.valueishtml="0" name=u_outwaremx_status tag="u_outwaremx_status" visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="宋体" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  62. column(band=detail id=10 alignment="2" tabsequence=32766 border="0" color="0" x="693" y="4" height="20" width="26" format="[general]" html.valueishtml="0" name=u_outwaremx_dxflag tag="u_outwaremx_dxflag" visible="1" ddlb.limit=0 ddlb.allowedit=no ddlb.case=any ddlb.imemode=0 font.face="宋体" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  63. column(band=detail id=2 alignment="1" tabsequence=32766 border="0" color="0" x="379" y="4" height="20" width="49" format="#,##0.00########" html.valueishtml="0" name=u_outwaremx_price tag="u_outwaremx_price" visible="1" edit.limit=0 edit.case=any edit.format="#######0.##" edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="宋体" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  64. compute(band=detail alignment="1" expression="round(u_outwaremx_qty * u_outwaremx_price,2)"border="0" color="0" x="430" y="4" height="20" width="74" format="#,##0.00" html.valueishtml="0" name=amt tag="round(u_outwaremx_qty * u_outwaremx_price,2)" visible="1" font.face="宋体" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  65. compute(band=trailer.1 alignment="1" expression="sum(u_outwaremx_qty for group 1)"border="0" color="0" x="315" y="1" height="15" width="62" format="#,##0.0###" html.valueishtml="0" name=compute_5 tag="sum(u_outwaremx_qty for group 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" )
  66. compute(band=trailer.1 alignment="1" expression="sum(round(u_outwaremx_qty * u_outwaremx_price,2) for group 1)"border="0" color="0" x="430" y="1" height="15" width="74" format="#,##0.00" html.valueishtml="0" name=compute_6 tag="sum(round(u_outwaremx_qty * u_outwaremx_price,2) for group 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" )
  67. compute(band=trailer.1 alignment="2" expression="count(u_mtrldef_mtrlname for group 1)"border="0" color="0" x="109" y="1" height="15" width="149" format="[general]" html.valueishtml="0" name=compute_4 tag="count(u_mtrldef_mtrlname for group 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" )
  68. text(band=trailer.1 alignment="2" text="本页小计" border="0" color="33554432" x="23" y="1" height="15" width="84" 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" )
  69. compute(band=summary alignment="1" expression="sum(round(u_outwaremx_qty * u_outwaremx_price,2) for all)"border="0" color="0" x="430" y="1" height="15" width="74" format="#,##0.00" html.valueishtml="0" name=compute_1 tag="sum(round(u_outwaremx_qty * u_outwaremx_price,2) for all)" 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" )
  70. compute(band=summary alignment="2" expression="count(u_mtrldef_mtrlname for all)"border="0" color="0" x="109" y="1" height="15" width="149" format="[general]" html.valueishtml="0" name=compute_2 tag="count(u_mtrldef_mtrlname for all)" 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" )
  71. text(band=summary alignment="2" text="合计:" border="0" color="0" x="23" y="1" height="15" width="84" html.valueishtml="0" name=t_2 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" )
  72. compute(band=summary alignment="1" expression="sum(u_outwaremx_qty for all)"border="0" color="0" x="315" y="1" height="15" width="62" format="#,##0.0###" html.valueishtml="0" name=compute_3 tag="sum(u_outwaremx_qty for all)" 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" )
  73. htmltable(border="0" )
  74. htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
  75. export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
  76. import.xml()
  77. export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )