dw_rp_wfjgmx_py_edit.srd 12 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. $PBExportHeader$dw_rp_wfjgmx_py_edit.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=92 color="536870912" )
  5. summary(height=0 color="536870912" )
  6. footer(height=0 color="536870912" )
  7. detail(height=104 color="536870912" height.autosize=yes)
  8. table(column=(type=decimal(10) updatewhereclause=yes name=ow_wfjgmx_out_qty dbname="ow_wfjgmx_out.qty" )
  9. column=(type=char(10) updatewhereclause=yes name=u_mtrldef_unit dbname="u_mtrldef.unit" initial="empty" )
  10. column=(type=char(30) updatewhereclause=yes name=u_mtrldef_mtrlcode dbname="u_mtrldef.mtrlcode" initial="empty" )
  11. column=(type=char(50) updatewhereclause=yes name=u_mtrldef_mtrlname dbname="u_mtrldef.mtrlname" initial="empty" )
  12. column=(type=char(30) updatewhereclause=yes name=u_mtrldef_mtrlmode dbname="u_mtrldef.mtrlmode" )
  13. column=(type=char(255) updatewhereclause=yes name=ow_wfjgmx_out_status dbname="ow_wfjgmx_out.status" )
  14. column=(type=char(255) updatewhereclause=yes name=ow_wfjgmx_out_woodcode dbname="ow_wfjgmx_out.woodcode" )
  15. column=(type=char(255) updatewhereclause=yes name=ow_wfjgmx_out_pcode dbname="ow_wfjgmx_out.pcode" )
  16. column=(type=char(100) updatewhereclause=yes name=ow_wfjgmx_out_mxdscrp dbname="ow_wfjgmx_out.mxdscrp" )
  17. column=(type=long updatewhereclause=yes name=ow_wfjgmx_out_printid dbname="ow_wfjgmx_out.printid" )
  18. column=(type=char(50) updatewhereclause=yes name=ow_wfjgmx_out_relcode dbname="ow_wfjgmx_out.relcode" )
  19. retrieve=" SELECT ow_wfjgmx_out.qty,
  20. u_mtrldef.unit,
  21. u_mtrldef.mtrlcode,
  22. u_mtrldef.mtrlname,
  23. u_mtrldef.mtrlmode,
  24. ow_wfjgmx_out.status,
  25. ow_wfjgmx_out.woodcode,
  26. ow_wfjgmx_out.pcode,
  27. ow_wfjgmx_out.mxdscrp,
  28. ow_wfjgmx_out.printid,
  29. ow_wfjgmx_out.relcode
  30. FROM ow_wfjgmx_out,
  31. u_mtrldef
  32. WHERE ( ow_wfjgmx_out.mtrlid = u_mtrldef.mtrlid ) and
  33. ( ow_wfjgmx_out.outwareid = :arg_outwareid ) and
  34. ( ow_wfjgmx_out.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,10000, null
  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=76 by=("aa" ) newpage=yes header.color="536870912" trailer.color="536870912" )
  42. text(band=header alignment="2" text="序" border="0" color="0" x="9" y="16" height="68" width="73" html.valueishtml="0" name=t_1 visible="1" font.face="宋体" font.height="-11" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
  43. text(band=header alignment="2" text="物料编码" border="0" color="0" x="91" y="16" height="68" width="315" html.valueishtml="0" name=u_mtrldef_mtrlcode_t visible="1" font.face="宋体" font.height="-11" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
  44. text(band=header alignment="2" text="物料名称" border="0" color="0" x="416" y="16" height="68" width="622" html.valueishtml="0" name=u_mtrldef_mtrlname_t visible="1" font.face="宋体" font.height="-11" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
  45. text(band=header alignment="2" text="单位" border="0" color="0" x="2181" y="16" height="68" width="142" html.valueishtml="0" name=u_mtrldef_unit_t visible="1" font.face="宋体" font.height="-11" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
  46. text(band=header alignment="2" text="规格" border="0" color="33554432" x="1047" y="16" height="68" width="517" html.valueishtml="0" name=u_mtrldef_mtrlmode_t visible="1" font.face="宋体" font.height="-11" 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="33554432" x="2331" y="16" height="68" width="302" html.valueishtml="0" name=ow_wfjgmx_out_qty_t visible="1" font.face="宋体" font.height="-11" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
  48. text(band=header alignment="2" text="材质" border="0" color="33554432" x="1874" y="16" height="68" width="297" html.valueishtml="0" name=ow_wfjgmx_out_woodcode_t visible="1" font.face="宋体" font.height="-11" 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="1573" y="16" height="68" width="293" html.valueishtml="0" name=ow_wfjgmx_out_pcode_t visible="1" font.face="宋体" font.height="-11" 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="2642" y="16" height="68" width="635" html.valueishtml="0" name=ow_wfjgmx_out_mxdscrp_t visible="1" font.face="宋体" font.height="-11" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
  51. 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" )
  52. column(band=detail id=3 alignment="0" tabsequence=32766 border="0" color="0" x="91" y="16" height="80" width="315" 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="-9" font.weight="400" font.family="2" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
  53. column(band=detail id=4 alignment="0" tabsequence=32766 border="0" color="0" x="416" y="16" height="80" width="622" format="[general]" html.valueishtml="0" name=u_mtrldef_mtrlname tag="物料名称" visible="1" height.autosize=yes edit.limit=50 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="宋体" font.height="-11" font.weight="400" font.family="2" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
  54. column(band=detail id=2 alignment="2" tabsequence=32766 border="0" color="0" x="2181" y="16" height="80" width="142" format="[general]" html.valueishtml="0" name=u_mtrldef_unit visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="宋体" font.height="-11" font.weight="400" font.family="2" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  55. column(band=detail id=5 alignment="0" tabsequence=32766 border="0" color="0" x="1047" y="16" height="80" width="517" 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="-9" font.weight="400" font.family="2" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
  56. column(band=detail id=1 alignment="1" tabsequence=32766 border="0" color="0" x="2331" y="16" height="80" width="302" format="#,##0.##########" html.valueishtml="0" name=ow_wfjgmx_out_qty visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="宋体" font.height="-9" font.weight="400" font.family="2" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
  57. column(band=detail id=9 alignment="0" tabsequence=32766 border="0" color="0" x="2642" y="16" height="80" width="635" format="[general]" html.valueishtml="0" name=ow_wfjgmx_out_mxdscrp visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="宋体" font.height="-9" font.weight="400" font.family="2" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
  58. column(band=detail id=7 alignment="2" tabsequence=32766 border="0" color="0" x="1874" y="16" height="80" width="297" format="[general]" html.valueishtml="0" name=ow_wfjgmx_out_woodcode visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="宋体" font.height="-9" font.weight="400" font.family="2" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
  59. column(band=detail id=8 alignment="2" tabsequence=32766 border="0" color="0" x="1573" y="16" height="80" width="293" format="[general]" html.valueishtml="0" name=ow_wfjgmx_out_pcode visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="宋体" font.height="-9" font.weight="400" font.family="2" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
  60. compute(band=trailer.1 alignment="2" expression="count(u_mtrldef_mtrlname for group 1)"border="0" color="0" x="416" y="4" height="68" width="622" format="[general]" html.valueishtml="0" name=compute_1 visible="1" font.face="宋体" font.height="-11" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
  61. text(band=trailer.1 alignment="2" text="本页小计" border="0" color="33554432" x="91" y="4" height="68" width="315" html.valueishtml="0" name=t_3 visible="1" font.face="宋体" font.height="-11" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" )
  62. compute(band=trailer.1 alignment="1" expression="sum( ow_wfjgmx_out_qty for group 1 )"border="0" color="33554432" x="2331" y="4" height="68" width="302" format="#,##0.##########" html.valueishtml="0" name=compute_2 visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" )
  63. compute(band=foreground alignment="0" expression="ceiling( getrow() / arg_printrow )"border="0" color="33554432" x="7749" y="220" height="76" width="315" format="[GENERAL]" html.valueishtml="0" name=aa visible="1" font.face="Arial" font.height="-12" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
  64. htmltable(border="1" )
  65. htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
  66. export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 template=(comment="" encoding="gb2312" name="q" xml="<?xml version=~"1.0~" encoding=~"gb2312~" standalone=~"no~"?><dw_rp_inwaremx_wfjg_edit_hq><dw_rp_inwaremx_wfjg_edit_hq_row><dw_rp_inwaremx_wfjg_edit_hq_group1 __pbband=~"detail~"><ow_wfjgmx_in_aft_qty/><u_mtrldef_unit>u_mtrldef_unit</u_mtrldef_unit><u_mtrldef_mtrlcode>u_mtrldef_mtrlcode</u_mtrldef_mtrlcode><u_mtrldef_mtrlname>u_mtrldef_mtrlname</u_mtrldef_mtrlname><u_mtrldef_mtrlmode>u_mtrldef_mtrlmode</u_mtrldef_mtrlmode><ow_wfjgmx_in_aft_status/><ow_wfjgmx_in_aft_jgprice/><ow_wfjgmx_in_aft_mxdscrp/><ow_wfjgmx_in_aft_relcode/><ow_wfjgmx_in_aft_printid>ow_wfjgmx_in_aft_printid</ow_wfjgmx_in_aft_printid></dw_rp_inwaremx_wfjg_edit_hq_group1></dw_rp_inwaremx_wfjg_edit_hq_row></dw_rp_inwaremx_wfjg_edit_hq>"))
  67. import.xml()
  68. export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )