dw_rp_order_wfjgmx_print.srd 11 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. $PBExportHeader$dw_rp_order_wfjgmx_print.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=22 color="536870912" )
  5. summary(height=20 color="536870912" )
  6. footer(height=0 color="536870912" )
  7. detail(height=28 color="536870912" height.autosize=yes)
  8. table(column=(type=decimal(4) updatewhereclause=yes initial="null" name=u_order_wfjgmx_qty dbname="u_order_wfjgMx.Qty" )
  9. column=(type=decimal(10) updatewhereclause=yes initial="null" name=u_order_wfjgmx_price dbname="u_order_wfjgMx.Price"
  10. values="加工价 /" )
  11. column=(type=char(255) updatewhereclause=yes initial="null" name=u_order_wfjgmx_dscrp dbname="u_order_wfjgMx.dscrp" )
  12. column=(type=long updatewhereclause=yes initial="null" name=u_order_wfjgmx_wfjgid dbname="u_order_wfjgMx.wfjgID"
  13. values="外协订单ID /" )
  14. column=(type=long updatewhereclause=yes initial="null" name=u_order_wfjgmx_mtrlid dbname="u_order_wfjgMx.MtrlID"
  15. values="物料ID /" )
  16. column=(type=char(50) updatewhereclause=yes initial="null" name=u_mtrldef_mtrlname dbname="u_mtrldef.mtrlname" )
  17. column=(type=char(30) updatewhereclause=yes initial="null" name=u_mtrldef_mtrlmode dbname="u_mtrldef.mtrlmode" )
  18. column=(type=char(30) updatewhereclause=yes initial="null" name=u_mtrldef_mtrlcode dbname="u_mtrldef.mtrlcode"
  19. values="编码 /" )
  20. column=(type=char(10) updatewhereclause=yes initial="null" name=u_mtrldef_unit dbname="u_mtrldef.unit" )
  21. column=(type=long updatewhereclause=yes initial="null" name=u_order_wfjgmx_printid dbname="u_order_wfjgMx.printid"
  22. values="序号 /" )
  23. column=(type=datetime updatewhereclause=yes initial="null" name=u_order_wfjgmx_requiredate dbname="u_order_wfjgMx.Requiredate" )
  24. column=(type=char(20) updatewhereclause=yes initial="null" name=u_order_wfjgmx_jgdscrp dbname="u_order_wfjgMx.jgdscrp" )
  25. retrieve="SELECT u_order_wfjgMx.Qty,
  26. u_order_wfjgMx.Price,
  27. u_order_wfjgMx.dscrp,
  28. u_order_wfjgMx.wfjgID,
  29. u_order_wfjgMx.MtrlID,
  30. u_mtrldef.mtrlname,
  31. u_mtrldef.mtrlmode,
  32. u_mtrldef.mtrlcode,
  33. u_mtrldef.unit,
  34. u_order_wfjgMx.printid,
  35. u_order_wfjgMx.Requiredate,
  36. u_order_wfjgMx.jgdscrp
  37. FROM u_order_wfjgMx ,
  38. u_mtrldef
  39. WHERE ( u_order_wfjgMx.MtrlID = u_mtrldef.mtrlid ) and
  40. ( u_order_wfjgMx.wfjgid = :arg_wfjgid ) and
  41. ( u_order_wfjgMx.scid = :arg_scid ) and
  42. ( :arg_printrow = :arg_printrow ) and
  43. ( :arg_top = :arg_top )
  44. union all
  45. SELECT TOP :arg_top null, null, null, null, null, null, null, null, null, 10000, null,null
  46. FROM syscolumns
  47. "
  48. arguments=(("arg_scid", number), ("arg_wfjgid", number), ("arg_printrow", number), ("arg_top", number))
  49. )
  50. text(name=t_1 visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-11" 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="15" text="序" )
  51. text(name=u_mtrldef_unit_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-11" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" alignment="2" border="0" x="522" y="4" height="15" width="44" text="单位" )
  52. text(name=u_mtrldef_mtrlmode_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-11" font.pitch="2" font.weight="400" background.mode="2" background.color="1073741824" color="33554432" alignment="2" border="0" x="211" y="4" height="15" width="74" text="规格" )
  53. text(name=mtrlname_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-11" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" alignment="2" border="0" x="19" y="4" height="15" width="190" text="物料名称" )
  54. text(name=u_order_wfjgmx_jgdscrp_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-11" font.pitch="2" font.weight="400" background.mode="2" background.color="1073741824" color="33554432" alignment="2" border="0" x="287" y="4" height="15" width="73" text="加工工艺" )
  55. text(name=u_order_wfjgmx_qty_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-11" font.pitch="2" font.weight="400" background.mode="2" background.color="1073741824" color="33554432" alignment="2" border="0" x="362" y="4" height="15" width="87" text="数量" )
  56. text(name=u_order_wfjgmx_dscrp_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-11" font.pitch="2" font.weight="400" background.mode="2" background.color="1073741824" color="33554432" alignment="2" border="0" x="568" y="4" height="15" width="150" text="备注" )
  57. text(name=u_order_wfjgmx_requiredate_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-11" font.pitch="2" font.weight="400" background.mode="2" background.color="1073741824" color="33554432" alignment="2" border="0" x="451" y="4" height="15" width="69" text="回厂日期" )
  58. 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="-11" font.pitch="2" font.weight="700" background.mode="2" background.color="16777215" color="0" x="19" y="1" height="16" width="190" format="[general]" expression="count(u_mtrldef_mtrlname for all)" alignment="2" border="0" crosstab.repeat=no )
  59. compute(name=compute_3 visible="1" tag="sum(u_order_wfjgmx_qty for all)" band=summary font.charset="134" font.face="宋体" font.family="0" font.height="-11" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" x="362" y="1" height="17" width="87" format="#,##0.##########" expression="sum(u_order_wfjgmx_qty for all)" alignment="1" border="0" crosstab.repeat=no )
  60. compute(name=cmpl1 visible="1" tag="getrow()" band=detail font.charset="134" font.face="宋体" font.family="0" font.height="-11" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" x="2" y="4" height="21" width="15" format="[general]" expression="getrow()" alignment="2" border="0" crosstab.repeat=no )
  61. column(name=u_mtrldef_mtrlname visible="1" tag="u_mtrldef_mtrlname" height.autosize=yes band=detail id=6 x="19" y="4" height="21" width="190" 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=yes 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="0" font.height="-11" font.pitch="2" font.weight="400" tabsequence=0 )
  62. column(name=u_mtrldef_unit visible="1" tag="u_mtrldef_unit" band=detail id=9 x="522" y="4" height="21" width="44" 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="2" background.color="16777215" font.charset="134" font.face="宋体" font.family="0" font.height="-11" font.pitch="2" font.weight="400" tabsequence=0 )
  63. column(name=u_mtrldef_mtrlmode visible="1" tag="u_mtrldef_mtrlmode" band=detail id=7 x="211" y="4" height="21" width="74" 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="0" font.height="-11" font.pitch="2" font.weight="400" tabsequence=0 )
  64. column(name=u_order_wfjgmx_jgdscrp visible="1" tag="u_order_wfjgmx_jgdscrp" band=detail id=12 x="287" y="4" height="21" width="73" 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="0" font.height="-11" font.pitch="2" font.weight="400" tabsequence=0 )
  65. column(name=u_order_wfjgmx_qty visible="1" tag="u_order_wfjgmx_qty" band=detail id=1 x="362" y="4" height="21" width="87" color="0" border="0" alignment="1" format="#,##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="2" background.color="16777215" font.charset="134" font.face="宋体" font.family="0" font.height="-11" font.pitch="2" font.weight="400" tabsequence=0 )
  66. column(name=u_order_wfjgmx_requiredate visible="1" tag="u_order_wfjgmx_requiredate" band=detail id=11 x="451" y="4" height="21" width="69" color="0" border="0" alignment="2" format="yy/mm/dd" 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="0" font.height="-11" font.pitch="2" font.weight="400" tabsequence=0 )
  67. column(name=u_order_wfjgmx_dscrp visible="1" tag="u_order_wfjgmx_dscrp" height.autosize=yes band=detail id=3 x="568" y="4" height="21" width="150" 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="0" font.height="-11" font.pitch="2" font.weight="400" tabsequence=0 )
  68. htmltable()
  69. htmlgen()
  70. export.xml(metadatatype=0 savemetadata=0 )
  71. import.xml()
  72. export.pdf(method=0 )