dw_rp_wfjgmx_in_th_edit.srd 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. $PBExportHeader$dw_rp_wfjgmx_in_th_edit.srd
  2. release 9;
  3. datawindow(units=1 timer_interval=0 color=16777215 processing=1 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 24 print.margin.right = 24 print.margin.top = 24 print.margin.bottom = 24 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=23 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(4) updatewhereclause=yes name=ow_wfjgmx_in_aft_qty dbname="ow_wfjgmx_in_aft.qty" initial="null" )
  9. column=(type=decimal(10) updatewhereclause=yes name=ow_wfjgmx_in_aft_planprice dbname="ow_wfjgmx_in_aft.planprice" initial="null" values="planprice /" )
  10. column=(type=char(10) updatewhereclause=yes name=u_mtrldef_unit dbname="u_mtrldef.unit" initial="null" )
  11. column=(type=char(30) updatewhereclause=yes name=u_mtrldef_mtrlcode dbname="u_mtrldef.mtrlcode" initial="null" )
  12. column=(type=char(50) updatewhereclause=yes name=u_mtrldef_mtrlname dbname="u_mtrldef.mtrlname" initial="null" )
  13. column=(type=char(255) updatewhereclause=yes name=u_mtrldef_mtrlmode dbname="u_mtrldef_mtrlmode" initial="null" )
  14. column=(type=char(30) updatewhereclause=yes name=ow_wfjgmx_in_aft_plancode dbname="ow_wfjgmx_in_aft.plancode" initial="null" values="批号 /" )
  15. column=(type=long updatewhereclause=yes name=ow_wfjgmx_in_aft_inwareid dbname="ow_wfjgmx_in_aft.inwareid" initial="null" values="外协收货单ID /" )
  16. column=(type=decimal(10) updatewhereclause=yes name=ow_wfjgmx_in_aft_jgprice dbname="ow_wfjgmx_in_aft.jgprice" initial="null" )
  17. column=(type=char(255) updatewhereclause=yes name=ow_wfjgmx_in_aft_mxdscrp dbname="ow_wfjgmx_in_aft.mxdscrp" initial="null" )
  18. column=(type=char(15) updatewhereclause=yes name=u_order_wfjg_taskcode dbname="u_order_wfjg.TaskCode" initial="null" )
  19. column=(type=long updatewhereclause=yes name=ow_wfjgmx_in_aft_printid dbname="ow_wfjgmx_in_aft.printid" initial="null" values="序号 /" )
  20. retrieve="SELECT ow_wfjgmx_in_aft.qty,
  21. ow_wfjgmx_in_aft.planprice,
  22. u_mtrldef.unit,
  23. u_mtrldef.mtrlcode,
  24. u_mtrldef.mtrlname,
  25. case len(ltrim(rtrim(ow_wfjgmx_in_aft.status))) when 0 then u_mtrldef.mtrlmode else ow_wfjgmx_in_aft.status end as u_mtrldef_mtrlmode,
  26. ow_wfjgmx_in_aft.plancode,
  27. ow_wfjgmx_in_aft.inwareid,
  28. ow_wfjgmx_in_aft.jgprice,
  29. ow_wfjgmx_in_aft.mxdscrp,
  30. u_order_wfjg.TaskCode,
  31. ow_wfjgmx_in_aft.printid
  32. FROM ow_wfjgmx_in_aft LEFT OUTER JOIN u_order_wfjg ON ow_wfjgmx_in_aft.relid = u_order_wfjg.wfjgid,
  33. u_mtrldef
  34. WHERE ( ow_wfjgmx_in_aft.mtrlid = u_mtrldef.mtrlid ) and
  35. ( ow_wfjgmx_in_aft.inwareid = :arg_inwareid ) and
  36. ( ow_wfjgmx_in_aft.scid = :arg_scid ) and
  37. ( :arg_printrow = :arg_printrow ) and
  38. ( :arg_top = :arg_top )
  39. union all
  40. SELECT TOP :arg_top null, null, null, null, null, null, null,null, null, null, null, 10000
  41. FROM syscolumns
  42. " arguments=(("arg_scid", number),("arg_inwareid", number),("arg_printrow", number),("arg_top", number)) )
  43. group(level=1 header.height=0 trailer.height=19 by=("aa" ) newpage=yes header.color="536870912" trailer.color="536870912" )
  44. compute(band=background alignment="0" expression="ceiling( getrow() / arg_printrow )"border="0" color="33554432" x="487" y="58" height="19" width="24" format="[GENERAL]" html.valueishtml="0" name=aa tag="ceiling( getrow() / arg_printrow )" 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" )
  45. text(band=header alignment="2" text="序" border="0" color="0" x="2" y="4" height="17" width="14" 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" )
  46. text(band=header alignment="2" text="编码" border="0" color="0" x="18" y="4" height="17" width="78" 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" )
  47. text(band=header alignment="2" text="品名" border="0" color="0" x="98" y="4" height="17" width="88" 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" )
  48. text(band=header alignment="2" text="数量" border="0" color="0" x="348" y="4" height="17" width="57" html.valueishtml="0" name=ow_wfjgmx_in_aft_qty_t visible="1" font.face="宋体" font.height="-11" 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="467" y="4" height="17" width="75" html.valueishtml="0" name=t_2 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" )
  50. text(band=header alignment="2" text="库存单位" border="0" color="0" x="281" y="4" height="17" width="65" 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" )
  51. text(band=header alignment="2" text="明细备注" border="0" color="33554432" x="544" y="4" height="17" width="93" html.valueishtml="0" name=ow_wfjgmx_in_aft_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" )
  52. text(band=header alignment="2" text="单价" border="0" color="33554432" x="407" y="4" height="17" width="58" html.valueishtml="0" name=ow_wfjgmx_in_aft_jgprice_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" )
  53. text(band=header alignment="2" text="加工单号" border="0" color="33554432" x="639" y="4" height="17" width="65" html.valueishtml="0" name=u_order_wfjg_taskcode_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="1073741824" )
  54. text(band=header alignment="2" text="规格" border="0" color="33554432" x="188" y="4" height="17" width="91" 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" )
  55. compute(band=detail alignment="2" expression="getrow()"border="0" color="0" x="2" y="4" height="20" width="14" format="[general]" html.valueishtml="0" name=cmpl2 tag="getrow()" 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" )
  56. column(band=detail id=4 alignment="0" tabsequence=32766 border="0" color="0" x="18" y="4" height="20" width="78" format="[general]" html.valueishtml="0" name=u_mtrldef_mtrlcode tag="u_mtrldef_mtrlcode" 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="2" background.color="16777215" )
  57. column(band=detail id=5 alignment="0" tabsequence=32766 border="0" color="0" x="98" y="4" height="20" width="88" format="[general]" html.valueishtml="0" name=u_mtrldef_mtrlname tag="u_mtrldef_mtrlname" 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" )
  58. column(band=detail id=1 alignment="1" tabsequence=32766 border="0" color="0" x="348" y="4" height="20" width="57" format="#,##0.####" html.valueishtml="0" name=ow_wfjgmx_in_aft_qty tag="ow_wfjgmx_in_aft_qty" visible="1" edit.limit=0 edit.case=any edit.format="#########0.0###" 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="1" background.color="536870912" )
  59. compute(band=detail alignment="1" expression="ow_wfjgmx_in_aft_jgprice * ow_wfjgmx_in_aft_qty "border="0" color="0" x="467" y="4" height="20" width="75" format="#,##0.00" html.valueishtml="0" name=cmpl1 tag="ow_wfjgmx_in_aft_jgprice * ow_wfjgmx_in_aft_qty " 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" )
  60. column(band=detail id=3 alignment="2" tabsequence=32766 border="0" color="0" x="281" y="4" height="20" width="65" format="[general]" html.valueishtml="0" name=u_mtrldef_unit tag="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" )
  61. column(band=detail id=10 alignment="2" tabsequence=32766 border="0" color="0" x="544" y="4" height="20" width="93" format="[general]" html.valueishtml="0" name=ow_wfjgmx_in_aft_mxdscrp tag="ow_wfjgmx_in_aft_mxdscrp" visible="1" height.autosize=yes 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="2" background.color="16777215" )
  62. column(band=detail id=9 alignment="1" tabsequence=32766 border="0" color="0" x="407" y="4" height="20" width="58" format="#,##0.00########" html.valueishtml="0" name=ow_wfjgmx_in_aft_jgprice tag="ow_wfjgmx_in_aft_jgprice" 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="2" background.color="16777215" )
  63. column(band=detail id=11 alignment="0" tabsequence=32766 border="0" color="0" x="639" y="4" height="20" width="65" format="[general]" html.valueishtml="0" name=u_order_wfjg_taskcode tag="u_order_wfjg_taskcode" 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="2" background.color="16777215" )
  64. column(band=detail id=6 alignment="0" tabsequence=32766 border="0" color="0" x="188" y="4" height="20" width="91" format="[general]" html.valueishtml="0" name=u_mtrldef_mtrlmode tag="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="2" background.color="16777215" )
  65. compute(band=trailer.1 alignment="2" expression="count(u_mtrldef_mtrlname for group 1)"border="0" color="0" x="98" y="1" height="17" width="88" format="[general]" html.valueishtml="0" name=compute_1 tag="count(u_mtrldef_mtrlname for group 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" )
  66. text(band=trailer.1 alignment="2" text="本页小计" border="0" color="33554432" x="18" y="1" height="17" width="78" 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" )
  67. compute(band=trailer.1 alignment="1" expression="sum(ow_wfjgmx_in_aft_qty for group 1)"border="0" color="0" x="348" y="1" height="17" width="57" format="#,##0.####" html.valueishtml="0" name=compute_3 tag="sum(ow_wfjgmx_in_aft_qty for group 1)" visible="1" font.face="宋体" font.height="-11" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  68. compute(band=trailer.1 alignment="1" expression="sum(ow_wfjgmx_in_aft_jgprice * ow_wfjgmx_in_aft_qty for group 1)"border="0" color="0" x="467" y="1" height="17" width="75" format="#,##0.00" html.valueishtml="0" name=compute_2 tag="sum(ow_wfjgmx_in_aft_jgprice * ow_wfjgmx_in_aft_qty for group 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" )
  69. htmltable(border="0" )
  70. htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
  71. export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
  72. import.xml()
  73. export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )