dw_rp_inwaremx_other_edit.srd 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. $PBExportHeader$dw_rp_inwaremx_other_edit.srd
  2. release 9;
  3. datawindow ( units=1 timer_interval=0 color=16777215 processing=1 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)
  4. header(height=18 color="536870912" )
  5. summary(height=16 color="536870912" )
  6. footer(height=0 color="536870912" )
  7. detail(height=26 color="536870912" height.autosize=yes)
  8. table(column=(type=decimal(4) 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(10) updatewhereclause=yes initial="null" name=u_mtrldef_unit dbname="u_mtrldef.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(30) updatewhereclause=yes initial="null" name=u_inwaremx_plancode dbname="u_inwaremx.plancode" )
  15. column=(type=long updatewhereclause=yes initial="null" name=u_inwaremx_printid dbname="u_inwaremx.printid"
  16. values="序号 /" )
  17. column=(type=char(255) updatewhereclause=yes initial="null" name=u_inwaremx_status dbname="u_inwaremx.status" )
  18. retrieve="SELECT u_inwaremx.qty,
  19. u_inwaremx.price,
  20. u_mtrldef.unit,
  21. u_mtrldef.mtrlcode,
  22. u_mtrldef.mtrlname,
  23. u_mtrldef.mtrlmode,
  24. u_inwaremx.plancode,
  25. u_inwaremx.printid,
  26. u_inwaremx.status
  27. FROM u_inwaremx,
  28. u_mtrldef
  29. WHERE ( u_inwaremx.mtrlid = u_mtrldef.mtrlid ) and
  30. ( u_inwaremx.inwareid = :arg_inwareid ) and
  31. ( u_inwaremx.scid = :arg_scid ) and
  32. ( :arg_printrow = :arg_printrow ) and
  33. ( :arg_top = :arg_top )
  34. union all
  35. SELECT TOP :arg_top null, null, null, null, null, null, null, 10000, null
  36. FROM syscolumns
  37. "
  38. arguments=(("arg_scid", number), ("arg_inwareid", number), ("arg_printrow", number), ("arg_top", number))
  39. )
  40. group(level=1 header.height=0 trailer.height=17 by=("aa" ) header.color="536870912" header.pointer="aa" trailer.color="536870912" newpage=yes )
  41. compute(name=aa visible="0" tag="ceiling( getrow() / arg_printrow )" band=background 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="738" y="50" height="20" width="55" format="[GENERAL]" expression="ceiling( getrow() / arg_printrow )" alignment="0" border="0" crosstab.repeat=no )
  42. 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="2" height="15" width="16" text="序" )
  43. 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="20" y="2" height="15" width="86" text="编码" )
  44. 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="108" y="2" height="15" width="197" text="品名" )
  45. 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="2" height="15" width="64" text="数量" )
  46. text(name=t_2 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="431" y="2" height="15" width="47" text="进仓价" )
  47. text(name=t_3 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="480" y="2" height="15" width="66" text="金额" )
  48. text(name=u_inwaremx_plancode_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="613" y="2" height="15" width="58" text="批号" )
  49. text(name=u_mtrldef_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="16777215" color="0" alignment="2" border="0" x="307" y="2" height="15" width="56" text="库存单位" )
  50. text(name=u_mtrldef_mtrlmode_t visible="1" band=header font.charset="0" font.face="宋体" font.family="2" font.height="-10" font.pitch="2" font.weight="400" background.mode="2" background.color="1073741824" color="33554432" alignment="2" border="0" x="548" y="2" height="15" width="63" text="规格" )
  51. text(name=u_inwaremx_status_t visible="1" band=header font.charset="0" font.face="宋体" font.family="2" font.height="-10" font.pitch="2" font.weight="400" background.mode="2" background.color="1073741824" color="33554432" alignment="2" border="0" x="673" y="2" height="15" width="58" text="规格说明" )
  52. text(name=t_4 visible="1" band=summary font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="700" background.mode="1" background.color="536870912" color="0" alignment="2" border="0" x="20" y="1" height="14" width="86" text="合计" )
  53. compute(name=compute_1 visible="1" tag="count(u_mtrldef_mtrlname for all)" band=summary font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="700" background.mode="2" background.color="16777215" color="0" x="108" y="1" height="14" width="197" format="[general]" expression="count(u_mtrldef_mtrlname for all)" alignment="2" border="0" crosstab.repeat=no )
  54. compute(name=compute_2 visible="1" tag="sum( u_inwaremx_qty * u_inwaremx_price for all)" band=summary 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="480" y="1" height="14" width="66" format="#,##0.00" expression="sum( u_inwaremx_qty * u_inwaremx_price for all)" alignment="1" border="0" crosstab.repeat=no )
  55. compute(name=compute_3 visible="1" tag="sum(u_inwaremx_qty for all)" band=summary 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="14" width="64" format="#,##0.0###" expression="sum(u_inwaremx_qty for all)" alignment="1" border="0" crosstab.repeat=no )
  56. column(name=u_mtrldef_mtrlcode visible="1" tag="u_mtrldef_mtrlcode" band=detail id=4 x="20" y="4" height="20" width="86" 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 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. 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="16" format="[general]" expression="getrow()" alignment="2" border="0" crosstab.repeat=no )
  58. column(name=u_mtrldef_mtrlname visible="1" tag="u_mtrldef_mtrlname" height.autosize=yes band=detail id=5 x="108" y="4" height="20" width="197" 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 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 )
  59. column(name=u_inwaremx_qty visible="1" tag="u_inwaremx_qty" band=detail id=1 x="365" y="4" height="20" width="64" 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 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 )
  60. column(name=u_inwaremx_price visible="1" tag="u_inwaremx_price" band=detail id=2 x="431" y="4" height="20" width="47" color="0" border="0" alignment="1" format="#,##0.0#########" 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 criteria.required=no criteria.override_edit=no crosstab.repeat=no background.mode="1" background.color="536870912" font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" tabsequence=0 )
  61. compute(name=cmpl1 visible="1" tag=" u_inwaremx_qty * u_inwaremx_price " band=detail 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="480" y="4" height="20" width="66" format="#,##0.00" expression=" u_inwaremx_qty * u_inwaremx_price " alignment="1" border="0" crosstab.repeat=no )
  62. column(name=u_inwaremx_plancode visible="1" tag="u_inwaremx_plancode" band=detail id=7 x="613" y="4" height="20" width="58" 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 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=u_mtrldef_unit visible="1" tag="u_mtrldef_unit" band=detail id=3 x="307" y="4" height="20" width="56" 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 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 )
  64. column(name=u_mtrldef_mtrlmode visible="1" tag="u_mtrldef_mtrlmode" band=detail id=6 x="548" y="4" height="20" width="63" 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 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 )
  65. column(name=u_inwaremx_status visible="1" tag="u_inwaremx_status" band=detail id=9 x="673" y="4" height="20" width="58" 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 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 )
  66. compute(name=compute_4 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="1" background.color="536870912" color="0" x="480" y="1" height="15" width="66" format="#,##0.00" expression="sum( u_inwaremx_qty * u_inwaremx_price for group 1)" alignment="1" border="0" crosstab.repeat=no )
  67. compute(name=compute_5 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="64" format="#,##0.0###" expression="sum(u_inwaremx_qty for group 1)" alignment="1" border="0" crosstab.repeat=no )
  68. compute(name=compute_6 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="108" y="1" height="15" width="197" format="[general]" expression="count(u_mtrldef_mtrlname for group 1)" alignment="2" border="0" crosstab.repeat=no )
  69. text(name=t_5 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="20" y="1" height="15" width="86" text="本页小计" )
  70. htmltable()
  71. htmlgen()
  72. export.xml(metadatatype=0 savemetadata=0 )
  73. import.xml()
  74. export.pdf(method=0 )