dw_rp_inwaremx_buy_edit.srd 15 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. $PBExportHeader$dw_rp_inwaremx_buy_edit.srd
  2. release 11.5;
  3. datawindow ( units=1 timer_interval=0 processing=1 color=16777215 brushmode=0 transparency=0 gradient.color=8421504 gradient.transparency=0 gradient.angle=0 gradient.repetition.mode=0 gradient.repetition.count=0 gradient.repetition.length=100 gradient.focus=0 gradient.scale=100 gradient.spread=100 picture.mode=0 picture.scale.x=100 picture.scale.y=100 picture.clip.left=0 picture.clip.right=0 picture.clip.top=0 picture.clip.bottom=0 picture.blur=0 picture.transparency=0 print.orientation=0 print.margin.left=24 print.margin.right=24 print.margin.top=24 print.margin.bottom=24 print.paper.size=0 print.paper.source=0 grid.lines=0 selected.mouse=yes hidegrayline=no showbackcoloronxp=no)
  4. header(height=24 color="536870912" )
  5. summary(height=0 color="536870912" )
  6. footer(height=0 color="536870912" )
  7. detail(height=26 color="536870912" height.autosize=yes)
  8. table(column=(type=decimal(5) updatewhereclause=yes initial="null" name=u_inwaremx_qty dbname="u_inwaremx.qty" )
  9. column=(type=decimal(10) updatewhereclause=yes initial="null" name=u_inwaremx_price dbname="u_inwaremx.price" )
  10. column=(type=char(30) updatewhereclause=yes initial="null" name=u_inwaremx_unit dbname="u_inwaremx.unit" )
  11. column=(type=char(30) updatewhereclause=yes initial="null" name=u_mtrldef_mtrlcode dbname="u_mtrldef.mtrlcode" )
  12. column=(type=char(50) updatewhereclause=yes initial="null" name=u_mtrldef_mtrlname dbname="u_mtrldef.mtrlname" )
  13. column=(type=char(30) updatewhereclause=yes initial="null" name=u_mtrldef_mtrlmode dbname="u_mtrldef.mtrlmode" )
  14. column=(type=char(255) updatewhereclause=yes initial="null" name=u_inwaremx_status dbname="u_inwaremx.status" )
  15. column=(type=char(255) updatewhereclause=yes initial="null" name=u_inwaremx_mxdscrp dbname="u_inwaremx.mxdscrp" )
  16. column=(type=char(14) updatewhereclause=yes initial="null" name=relcode dbname="relcode" )
  17. column=(type=long updatewhereclause=yes initial="null" name=u_inwaremx_printid dbname="u_inwaremx.printid"
  18. values="进仓明细表-序号 /" )
  19. retrieve="SELECT u_inwaremx.qty,
  20. u_inwaremx.price,
  21. u_inwaremx.unit,
  22. u_mtrldef.mtrlcode,
  23. u_mtrldef.mtrlname,
  24. u_mtrldef.mtrlmode,
  25. u_inwaremx.status,
  26. u_inwaremx.mxdscrp,
  27. right(ltrim(rtrim(u_inwaremx.relcode)),7) as relcode,
  28. u_inwaremx.printid
  29. FROM u_inwaremx,
  30. u_mtrldef
  31. WHERE ( u_inwaremx.mtrlid = u_mtrldef.mtrlid ) and
  32. ( u_inwaremx.scid = :arg_scid ) and
  33. ( u_inwaremx.inwareid = :arg_inwareid ) and
  34. ( :arg_printrow = :arg_printrow ) and
  35. ( :arg_top = :arg_top )
  36. union all
  37. SELECT TOP :arg_top null, null, null, null, null, null, null, null, null, 10000
  38. FROM syscolumns
  39. "
  40. arguments=(("arg_scid", number), ("arg_inwareid", number), ("arg_printrow", number), ("arg_top", number))
  41. )
  42. group(level=1 header.height=0 trailer.height=17 by=("aa" ) header.color="536870912" header.pointer="aa" trailer.color="536870912" newpage=yes )
  43. text(name=t_1 visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" alignment="2" border="0" x="2" y="4" height="15" width="14" text="序" )
  44. text(name=u_mtrldef_mtrlcode_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" alignment="2" border="0" x="68" y="4" height="15" width="71" text="编码" )
  45. text(name=u_mtrldef_mtrlname_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" alignment="2" border="0" x="141" y="4" height="15" width="101" text="品名" )
  46. text(name=u_inwaremx_qty_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="1" background.color="536870912" color="0" alignment="2" border="0" x="365" y="4" height="15" width="51" text="数量" )
  47. text(name=u_inwaremx_price_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="1" background.color="536870912" color="0" alignment="2" border="0" x="418" y="4" height="15" width="55" text="单价" )
  48. text(name=u_inwaremx_mxdscrp_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="2" background.color="1073741824" color="33554432" alignment="2" border="0" x="616" y="4" height="15" width="100" text="明细备注" )
  49. text(name=u_inwaremx_unit_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="2" background.color="1073741824" color="33554432" alignment="2" border="0" x="336" y="4" height="15" width="27" text="单位" )
  50. text(name=u_mtrldef_mtrlmode_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="2" background.color="1073741824" color="33554432" alignment="2" border="0" x="244" y="4" height="15" width="90" text="规格" )
  51. text(name=u_inwaremx_status_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="2" background.color="1073741824" color="33554432" alignment="2" border="0" x="564" y="4" height="15" width="50" text="属性" )
  52. text(name=u_inwaremx_relcode_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="2" background.color="1073741824" color="33554432" alignment="2" border="0" x="18" y="4" height="15" width="48" text="订单号" )
  53. text(name=amt_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="2" background.color="1073741824" color="33554432" alignment="2" border="0" x="475" y="4" height="15" width="87" text="金额" )
  54. compute(name=cmpl2 visible="1" tag="getrow()" band=detail font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" x="2" y="4" height="20" width="14" format="[general]" expression="getrow()" alignment="2" border="0" crosstab.repeat=no )
  55. column(name=u_mtrldef_mtrlcode visible="1" tag="u_mtrldef_mtrlcode" band=detail id=4 x="68" y="4" height="20" width="71" color="0" border="0" alignment="0" format="[general]" protect="0" edit.focusrectangle=no edit.autohscroll=yes edit.autoselect=yes edit.autovscroll=no edit.case=any edit.codetable=no edit.displayonly=no edit.hscrollbar=no edit.imemode=0 edit.limit=30 edit.password=no edit.vscrollbar=no edit.validatecode=no edit.nilisnull=no edit.required=no edit.useellipsis=no criteria.required=no criteria.override_edit=no crosstab.repeat=no background.mode="2" background.color="16777215" font.charset="134" font.face="宋体" font.family="2" font.height="-9" font.pitch="2" font.weight="400" tabsequence=0 )
  56. column(name=u_mtrldef_mtrlname visible="1" tag="u_mtrldef_mtrlname" height.autosize=yes band=detail id=5 x="141" y="4" height="20" width="101" color="0" border="0" alignment="0" format="[general]" protect="0" edit.focusrectangle=no edit.autohscroll=yes edit.autoselect=yes edit.autovscroll=no edit.case=any edit.codetable=no edit.displayonly=no edit.hscrollbar=no edit.imemode=0 edit.limit=50 edit.password=no edit.vscrollbar=no edit.validatecode=no edit.nilisnull=no edit.required=no edit.useellipsis=no criteria.required=no criteria.override_edit=no crosstab.repeat=no background.mode="2" background.color="16777215" font.charset="134" font.face="宋体" font.family="2" font.height="-10" font.pitch="2" font.weight="400" tabsequence=0 )
  57. column(name=u_inwaremx_qty visible="1" tag="u_inwaremx_qty" band=detail id=1 x="365" y="4" height="20" width="51" color="0" border="0" alignment="1" format="#,##0.####" protect="0" edit.format="#########0.0###" edit.focusrectangle=no edit.autohscroll=yes edit.autoselect=yes edit.autovscroll=no edit.case=any edit.codetable=no edit.displayonly=no edit.hscrollbar=no edit.imemode=0 edit.limit=0 edit.password=no edit.vscrollbar=no edit.validatecode=no edit.nilisnull=no edit.required=no edit.useellipsis=no criteria.required=no criteria.override_edit=no crosstab.repeat=no background.mode="1" background.color="536870912" font.charset="134" font.face="宋体" font.family="2" font.height="-10" font.pitch="2" font.weight="400" tabsequence=0 )
  58. column(name=u_inwaremx_price visible="1" tag="u_inwaremx_price" band=detail id=2 x="418" y="4" height="20" width="55" color="0" border="0" alignment="1" format="#,##0.0#########" protect="0" edit.format="###########0.0###" edit.focusrectangle=no edit.autohscroll=yes edit.autoselect=yes edit.autovscroll=no edit.case=any edit.codetable=no edit.displayonly=no edit.hscrollbar=no edit.imemode=0 edit.limit=0 edit.password=no edit.vscrollbar=no edit.validatecode=no edit.nilisnull=no edit.required=no edit.useellipsis=no criteria.required=no criteria.override_edit=no crosstab.repeat=no background.mode="1" background.color="536870912" font.charset="134" font.face="宋体" font.family="2" font.height="-10" font.pitch="2" font.weight="400" tabsequence=0 )
  59. column(name=u_inwaremx_mxdscrp visible="1" tag="u_inwaremx_mxdscrp" height.autosize=yes band=detail id=8 x="616" y="4" height="20" width="100" color="0" border="0" alignment="2" format="[general]" protect="0" edit.autohscroll=no edit.autoselect=yes edit.autovscroll=no edit.case=any edit.codetable=no edit.displayonly=no edit.hscrollbar=no edit.imemode=0 edit.limit=0 edit.password=no edit.vscrollbar=no edit.validatecode=no edit.nilisnull=no edit.required=no edit.useellipsis=no criteria.required=no criteria.override_edit=no crosstab.repeat=no background.mode="2" background.color="16777215" font.charset="134" font.face="宋体" font.family="2" font.height="-9" font.pitch="2" font.weight="400" tabsequence=0 )
  60. column(name=u_inwaremx_unit visible="1" tag="u_inwaremx_unit" band=detail id=3 x="336" y="4" height="20" width="27" color="0" border="0" alignment="2" format="[general]" protect="0" edit.autohscroll=no edit.autoselect=yes edit.autovscroll=no edit.case=any edit.codetable=no edit.displayonly=no edit.hscrollbar=no edit.imemode=0 edit.limit=0 edit.password=no edit.vscrollbar=no edit.validatecode=no edit.nilisnull=no edit.required=no edit.useellipsis=no criteria.required=no criteria.override_edit=no crosstab.repeat=no background.mode="2" background.color="16777215" font.charset="134" font.face="宋体" font.family="2" font.height="-10" font.pitch="2" font.weight="400" tabsequence=0 )
  61. column(name=u_mtrldef_mtrlmode visible="1" tag="u_mtrldef_mtrlmode" band=detail id=6 x="244" y="4" height="20" width="90" color="0" border="0" alignment="0" format="[general]" protect="0" edit.autohscroll=no edit.autoselect=yes edit.autovscroll=no edit.case=any edit.codetable=no edit.displayonly=no edit.hscrollbar=no edit.imemode=0 edit.limit=0 edit.password=no edit.vscrollbar=no edit.validatecode=no edit.nilisnull=no edit.required=no edit.useellipsis=no criteria.required=no criteria.override_edit=no crosstab.repeat=no background.mode="2" background.color="16777215" font.charset="134" font.face="宋体" font.family="2" font.height="-9" font.pitch="2" font.weight="400" tabsequence=0 )
  62. column(name=u_inwaremx_status visible="1" tag="u_inwaremx_status" band=detail id=7 x="564" y="4" height="20" width="50" color="0" border="0" alignment="0" format="[general]" protect="0" edit.autohscroll=no edit.autoselect=yes edit.autovscroll=no edit.case=any edit.codetable=no edit.displayonly=no edit.hscrollbar=no edit.imemode=0 edit.limit=0 edit.password=no edit.vscrollbar=no edit.validatecode=no edit.nilisnull=no edit.required=no edit.useellipsis=no criteria.required=no criteria.override_edit=no crosstab.repeat=no background.mode="2" background.color="16777215" font.charset="134" font.face="宋体" font.family="2" font.height="-10" font.pitch="2" font.weight="400" tabsequence=0 )
  63. column(name=relcode visible="1" tag="relcode" band=detail id=9 x="18" y="4" height="20" width="48" color="0" border="0" alignment="0" format="[general]" protect="0" edit.autohscroll=no edit.autoselect=yes edit.autovscroll=no edit.case=any edit.codetable=no edit.displayonly=no edit.hscrollbar=no edit.imemode=0 edit.limit=0 edit.password=no edit.vscrollbar=no edit.validatecode=no edit.nilisnull=no edit.required=no edit.useellipsis=no criteria.required=no criteria.override_edit=no crosstab.repeat=no background.mode="2" background.color="16777215" font.charset="134" font.face="宋体" font.family="2" font.height="-9" font.pitch="2" font.weight="400" tabsequence=0 )
  64. compute(name=amt visible="1" tag="u_inwaremx_qty * u_inwaremx_price" band=detail font.charset="134" font.face="宋体" font.family="2" font.height="-10" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" x="475" y="4" height="20" width="87" format="#,##0.00" expression="u_inwaremx_qty * u_inwaremx_price" alignment="1" border="0" crosstab.repeat=no )
  65. compute(name=aa visible="0" tag="ceiling( getrow() / arg_printrow )" band=foreground font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="2" background.color="1073741824" color="33554432" x="1283" y="58" height="17" width="30" format="[GENERAL]" expression="ceiling( getrow() / arg_printrow )" alignment="0" border="0" crosstab.repeat=no )
  66. compute(name=compute_2 visible="1" tag="sum(u_inwaremx_qty for group 1)" band=trailer.1 font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="1" background.color="536870912" color="0" x="365" y="1" height="15" width="51" format="#,##0.####" expression="sum(u_inwaremx_qty for group 1)" alignment="1" border="0" crosstab.repeat=no )
  67. compute(name=compute_3 visible="1" tag="count(u_mtrldef_mtrlname for group 1)" band=trailer.1 font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" x="141" y="1" height="15" width="101" format="[general]" expression="count(u_mtrldef_mtrlname for group 1)" alignment="2" border="0" crosstab.repeat=no )
  68. text(name=t_3 visible="1" band=trailer.1 font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="2" background.color="1073741824" color="33554432" alignment="2" border="0" x="68" y="1" height="15" width="71" text="本页小计" )
  69. compute(name=compute_1 visible="1" tag="sum(u_inwaremx_qty * u_inwaremx_price for group 1)" band=trailer.1 font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" x="475" y="1" height="15" width="87" format="#,##0.00" expression="sum(u_inwaremx_qty * u_inwaremx_price for group 1)" alignment="1" border="0" crosstab.repeat=no )
  70. htmltable()
  71. htmlgen(pagingMethod=0 )
  72. xhtmlgen() cssgen()
  73. xmlgen()
  74. xsltgen()
  75. jsgen()
  76. export.xml(metadatatype=0 savemetadata=0 )
  77. import.xml()
  78. export.pdf(method=0 )
  79. export.xhtml()