dw_rp_inwaremx_buy_edit_audit.srd 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. $PBExportHeader$dw_rp_inwaremx_buy_edit_audit.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=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(4) updatewhereclause=yes name=u_inwaremx_qty dbname="u_inwaremx.qty" initial="null" )
  9. column=(type=decimal(10) updatewhereclause=yes name=u_inwaremx_price dbname="u_inwaremx.price" initial="null" )
  10. column=(type=char(30) updatewhereclause=yes name=u_inwaremx_unit dbname="u_inwaremx.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(30) updatewhereclause=yes name=u_mtrldef_mtrlmode dbname="u_mtrldef.mtrlmode" initial="null" )
  14. column=(type=char(255) updatewhereclause=yes name=u_inwaremx_status dbname="u_inwaremx.status" initial="null" )
  15. column=(type=char(255) updatewhereclause=yes name=u_inwaremx_mxdscrp dbname="u_inwaremx.mxdscrp" initial="null" )
  16. column=(type=char(14) updatewhereclause=yes name=relcode dbname="relcode" initial="null" )
  17. column=(type=long updatewhereclause=yes name=u_inwaremx_printid dbname="u_inwaremx.printid" initial="null" values="序号 /" )
  18. retrieve="SELECT u_inwaremx.qty,
  19. u_inwaremx.price,
  20. u_inwaremx.unit,
  21. u_mtrldef.mtrlcode,
  22. u_mtrldef.mtrlname,
  23. u_mtrldef.mtrlmode,
  24. u_inwaremx.status,
  25. u_inwaremx.mxdscrp,
  26. right(ltrim(rtrim(u_inwaremx.relcode)),7) as relcode,
  27. u_inwaremx.printid
  28. FROM u_inwaremx,
  29. u_mtrldef
  30. WHERE ( u_inwaremx.mtrlid = u_mtrldef.mtrlid ) and
  31. ( u_inwaremx.scid = :arg_scid ) and
  32. ( u_inwaremx.inwareid = :arg_inwareid ) and
  33. ( :arg_printrow = :arg_printrow ) and
  34. ( :arg_top = :arg_top )
  35. union all
  36. SELECT TOP :arg_top null, null, null, null, null, null, null, null, null, 10000
  37. FROM syscolumns
  38. " arguments=(("arg_scid", number),("arg_inwareid", number),("arg_printrow", number),("arg_top", number)) )
  39. group(level=1 header.height=0 trailer.height=17 by=("aa" ) newpage=yes header.color="536870912" trailer.color="536870912" )
  40. text(band=header alignment="2" text="序" border="0" color="0" x="2" y="4" height="15" width="14" html.valueishtml="0" name=t_1 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" )
  41. text(band=header alignment="2" text="编码" border="0" color="0" x="68" y="4" height="15" width="87" html.valueishtml="0" name=u_mtrldef_mtrlcode_t 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" )
  42. text(band=header alignment="2" text="品名" border="0" color="0" x="157" y="4" height="15" width="128" html.valueishtml="0" name=u_mtrldef_mtrlname_t 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" )
  43. text(band=header alignment="2" text="数量" border="0" color="0" x="424" y="4" height="15" width="85" html.valueishtml="0" name=u_inwaremx_qty_t 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" )
  44. text(band=header alignment="2" text="明细备注" border="0" color="33554432" x="563" y="4" height="15" width="156" html.valueishtml="0" name=u_inwaremx_mxdscrp_t 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" )
  45. text(band=header alignment="2" text="单位" border="0" color="33554432" x="395" y="4" height="15" width="27" html.valueishtml="0" name=u_inwaremx_unit_t 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" )
  46. text(band=header alignment="2" text="规格" border="0" color="33554432" x="287" y="4" height="15" width="106" html.valueishtml="0" name=u_mtrldef_mtrlmode_t 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" )
  47. text(band=header alignment="2" text="属性" border="0" color="33554432" x="511" y="4" height="15" width="50" html.valueishtml="0" name=u_inwaremx_status_t 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" )
  48. text(band=header alignment="2" text="订单号" border="0" color="33554432" x="18" y="4" height="15" width="48" html.valueishtml="0" name=u_inwaremx_relcode_t 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" )
  49. 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" )
  50. column(band=detail id=4 alignment="0" tabsequence=32766 border="0" color="0" x="68" y="4" height="20" width="87" 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="-9" font.weight="400" font.family="2" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
  51. column(band=detail id=5 alignment="0" tabsequence=32766 border="0" color="0" x="157" y="4" height="20" width="128" 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="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
  52. column(band=detail id=1 alignment="1" tabsequence=32766 border="0" color="0" x="424" y="4" height="20" width="85" format="#,##0.####" html.valueishtml="0" name=u_inwaremx_qty tag="u_inwaremx_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="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
  53. column(band=detail id=8 alignment="2" tabsequence=32766 border="0" color="0" x="563" y="4" height="20" width="156" format="[general]" html.valueishtml="0" name=u_inwaremx_mxdscrp tag="u_inwaremx_mxdscrp" visible="1" height.autosize=yes 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" )
  54. column(band=detail id=3 alignment="2" tabsequence=32766 border="0" color="0" x="395" y="4" height="20" width="27" format="[general]" html.valueishtml="0" name=u_inwaremx_unit tag="u_inwaremx_unit" 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" )
  55. column(band=detail id=6 alignment="0" tabsequence=32766 border="0" color="0" x="287" y="4" height="20" width="106" 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="-9" font.weight="400" font.family="2" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
  56. column(band=detail id=7 alignment="0" tabsequence=32766 border="0" color="0" x="511" y="4" height="20" width="50" format="[general]" html.valueishtml="0" name=u_inwaremx_status tag="u_inwaremx_status" 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" )
  57. column(band=detail id=9 alignment="0" tabsequence=32766 border="0" color="0" x="18" y="4" height="20" width="48" format="[general]" html.valueishtml="0" name=relcode tag="relcode" 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. compute(band=trailer.1 alignment="1" expression="sum(u_inwaremx_qty for group 1)"border="0" color="0" x="424" y="1" height="15" width="85" format="#,##0.####" html.valueishtml="0" name=compute_2 tag="sum(u_inwaremx_qty for group 1)" 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" )
  59. compute(band=trailer.1 alignment="2" expression="count(u_mtrldef_mtrlname for group 1)"border="0" color="0" x="157" y="1" height="15" width="128" format="[general]" html.valueishtml="0" name=compute_3 tag="count(u_mtrldef_mtrlname for group 1)" 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" )
  60. text(band=trailer.1 alignment="2" text="本页小计" border="0" color="33554432" x="68" y="1" height="15" width="87" html.valueishtml="0" name=t_3 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" )
  61. compute(band=foreground alignment="0" expression="ceiling( getrow() / arg_printrow )"border="0" color="33554432" x="1287" y="58" height="17" width="30" format="[GENERAL]" html.valueishtml="0" name=aa tag="ceiling( getrow() / arg_printrow )" visible="0" font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
  62. htmltable(border="0" )
  63. htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
  64. export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
  65. import.xml()
  66. export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )