dw_rp_outwaremx_gj_index.srd 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. $PBExportHeader$dw_rp_outwaremx_gj_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 )
  4. header(height=72 color="536870912" )
  5. summary(height=68 color="536870912" )
  6. footer(height=0 color="536870912" )
  7. detail(height=104 color="536870912" )
  8. table(column=(type=decimal(5) updatewhereclause=yes name=u_outwaremx_fprice dbname="u_outwaremx.fprice" )
  9. column=(type=decimal(4) updatewhereclause=yes name=u_outwaremx_qty dbname="u_outwaremx.qty" initial="0" )
  10. column=(type=decimal(5) updatewhereclause=yes name=u_outwaremx_rebate dbname="u_outwaremx.rebate" )
  11. column=(type=char(255) updatewhereclause=yes name=u_outwaremx_mxdscrp dbname="u_outwaremx.mxdscrp" )
  12. column=(type=long updatewhereclause=yes name=u_outwaremx_storageid dbname="u_outwaremx.storageid" initial="0" )
  13. column=(type=char(30) updatewhereclause=yes name=u_mtrldef_mtrlcode dbname="u_mtrldef.mtrlcode" 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_mtrlmode dbname="u_mtrldef.mtrlmode" )
  16. column=(type=char(10) updatewhereclause=yes name=u_mtrldef_unit dbname="u_mtrldef.unit" initial="empty" )
  17. column=(type=char(30) updatewhereclause=yes name=u_mtrldef_mtrltype dbname="u_mtrldef.mtrltype" )
  18. column=(type=char(30) updatewhereclause=yes name=u_outwaremx_status dbname="u_outwaremx.status" )
  19. column=(type=char(30) updatewhereclause=yes name=u_outwaremx_plancode dbname="u_outwaremx.plancode" initial="empty" )
  20. column=(type=long updatewhereclause=yes name=u_outwaremx_printid dbname="u_outwaremx.printid" )
  21. retrieve=" SELECT u_outwaremx.fprice,
  22. u_outwaremx.qty,
  23. u_outwaremx.rebate,
  24. u_outwaremx.mxdscrp,
  25. u_outwaremx.storageid,
  26. u_mtrldef.mtrlcode,
  27. u_mtrldef.mtrlname,
  28. u_mtrldef.mtrlmode,
  29. u_mtrldef.unit,
  30. u_mtrldef.mtrltype,
  31. u_outwaremx.status,
  32. u_outwaremx.plancode,
  33. u_outwaremx.printid
  34. FROM u_mtrldef,
  35. u_outwaremx
  36. WHERE ( u_mtrldef.mtrlid = u_outwaremx.mtrlid ) and
  37. ( u_outwaremx.outwareid = :arg_outwareid ) and
  38. ( u_outwaremx.scid = :arg_scid ) and
  39. ( :arg_printrow = :arg_printrow ) and
  40. ( :arg_top = :arg_top )
  41. union all
  42. SELECT TOP :arg_top null, null, null, null, null, null, null, null, null, null, null, null,10000
  43. FROM syscolumns
  44. " arguments=(("arg_scid", number),("arg_outwareid", number),("arg_printrow", number),("arg_top", number)) sort="u_outwaremx_printid A " )
  45. group(level=1 header.height=0 trailer.height=68 by=("aa" ) header.color="536870912" trailer.color="536870912" )
  46. compute(band=background alignment="0" expression="ceiling( getrow() / arg_printrow )"border="0" color="33554432" x="11781" y="208" height="76" width="251" format="[GENERAL]" html.valueishtml="0" name=aa visible="0" font.face="Arial" font.height="-12" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
  47. text(band=header alignment="2" text="序" border="0" color="0" 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="2" background.color="16777215" )
  48. text(band=header alignment="2" text=" 编码" border="0" color="0" x="91" y="8" height="60" width="293" 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" )
  49. text(band=header alignment="2" text="品名" border="0" color="0" x="393" y="8" height="60" width="338" 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" )
  50. text(band=header alignment="2" text="库存单位" border="0" color="0" x="741" y="8" height="60" width="242" 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" )
  51. text(band=header alignment="2" text="数量" border="0" color="0" x="992" y="8" height="60" width="242" 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" )
  52. text(band=header alignment="2" text="金额" border="0" color="0" x="1637" y="8" height="60" width="229" 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="2" background.color="16777215" )
  53. text(band=header alignment="2" text="规格" border="0" color="33554432" x="1874" y="8" height="60" width="274" 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="2" background.color="1073741824" )
  54. text(band=header alignment="2" text="批号" border="0" color="33554432" x="2158" y="8" height="60" width="197" html.valueishtml="0" name=u_outwaremx_plancode_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" )
  55. text(band=header alignment="2" text="规格说明" border="0" color="33554432" x="2656" y="8" height="60" width="247" html.valueishtml="0" name=u_outwaremx_status_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" )
  56. text(band=header alignment="2" text="单价" border="0" color="33554432" x="1243" y="8" height="60" width="206" html.valueishtml="0" name=u_outwaremx_fprice_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" )
  57. text(band=header alignment="2" text="明细备注" border="0" color="33554432" x="2363" y="8" height="60" width="283" html.valueishtml="0" name=u_outwaremx_mxdscrp_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" )
  58. text(band=header alignment="2" text="折扣" border="0" color="33554432" x="1458" y="8" height="60" width="169" html.valueishtml="0" name=u_outwaremx_rebate_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" )
  59. compute(band=detail alignment="2" expression="getrow()"border="0" color="0" x="9" y="16" height="80" width="73" format="[general]" html.valueishtml="0" name=cmpl2 visible="1" font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
  60. column(band=detail id=6 alignment="0" tabsequence=32766 border="0" color="0" x="91" y="16" height="80" width="293" format="[general]" html.valueishtml="0" name=u_mtrldef_mtrlcode 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="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  61. column(band=detail id=7 alignment="0" tabsequence=32766 border="0" color="0" x="393" y="16" height="80" width="338" format="[general]" html.valueishtml="0" name=u_mtrldef_mtrlname tag="物料名称" 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" )
  62. column(band=detail id=9 alignment="2" tabsequence=32766 border="0" color="0" x="741" y="16" height="80" width="242" format="[general]" html.valueishtml="0" name=u_mtrldef_unit tag="标准库存单位" 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" )
  63. column(band=detail id=2 alignment="1" tabsequence=32766 border="0" color="0" x="992" y="16" height="80" width="242" format="#,##0.0###" html.valueishtml="0" name=u_outwaremx_qty tag="出仓数量" 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_fprice * u_outwaremx_qty * u_outwaremx_rebate ,2)"border="0" color="0" x="1637" y="16" height="80" width="229" format="#,##0.00" html.valueishtml="0" name=cmpl1 visible="1" font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
  65. column(band=detail id=8 alignment="0" tabsequence=32766 border="0" color="0" x="1874" y="16" height="80" width="274" format="[general]" html.valueishtml="0" name=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" )
  66. column(band=detail id=12 alignment="0" tabsequence=32766 border="0" color="33554432" x="2158" y="16" height="80" width="197" format="[general]" html.valueishtml="0" name=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="0" background.mode="2" background.color="1073741824" )
  67. column(band=detail id=11 alignment="0" tabsequence=32766 border="0" color="0" x="2656" y="16" height="80" width="247" format="[general]" html.valueishtml="0" name=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" )
  68. column(band=detail id=4 alignment="2" tabsequence=32766 border="0" color="0" x="2363" y="16" height="80" width="283" format="[general]" html.valueishtml="0" name=u_outwaremx_mxdscrp 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" )
  69. column(band=detail id=1 alignment="1" tabsequence=32766 border="0" color="0" x="1243" y="16" height="80" width="206" format="#,##0.##########" html.valueishtml="0" name=u_outwaremx_fprice visible="1" edit.limit=0 edit.case=any edit.format="#,##0.##########" 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" )
  70. column(band=detail id=3 alignment="1" tabsequence=32766 border="0" color="0" x="1458" y="16" height="80" width="169" format="#,##0.0###" html.valueishtml="0" name=u_outwaremx_rebate 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" )
  71. compute(band=trailer.1 alignment="2" expression="count(u_mtrldef_mtrlname for group 1)"border="0" color="0" x="393" y="4" height="60" width="338" format="[general]" html.valueishtml="0" name=compute_6 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=trailer.1 alignment="1" expression="sum(u_outwaremx_qty for group 1)"border="0" color="0" x="992" y="4" height="60" width="242" format="#,##0.0###" html.valueishtml="0" name=compute_5 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. compute(band=trailer.1 alignment="1" expression=" sum( round( u_outwaremx_rebate * u_outwaremx_fprice * u_outwaremx_qty,2) for group 1) "border="0" color="0" x="1637" y="4" height="60" width="229" 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="2" background.color="16777215" )
  74. text(band=trailer.1 alignment="2" text="本页小计" border="0" color="33554432" x="91" y="4" height="60" width="293" html.valueishtml="0" name=t_4 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" )
  75. compute(band=summary alignment="1" expression="sum(u_outwaremx_qty for all)"border="0" color="0" x="992" y="4" height="60" width="242" format="#,##0.0###" 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" )
  76. compute(band=summary alignment="1" expression="sum( round(u_outwaremx_fprice * u_outwaremx_rebate * u_outwaremx_qty,2) for all)"border="0" color="0" x="1637" y="4" height="60" width="229" format="#,##0.00" html.valueishtml="0" name=compute_2 visible="1" font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
  77. compute(band=summary alignment="2" expression="count(u_mtrldef_mtrlname for all)"border="0" color="0" x="393" y="4" height="60" width="338" format="[general]" html.valueishtml="0" name=compute_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" )
  78. text(band=summary alignment="2" text="合计" border="0" color="0" x="91" y="4" height="60" width="293" 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="16777215" )
  79. htmltable(border="1" )
  80. htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
  81. export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
  82. import.xml()
  83. export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )