dw_outwaremx_pos_edit.srd 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. $PBExportHeader$dw_outwaremx_pos_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 selected.mouse=no )
  4. header(height=68 color="536870912" )
  5. summary(height=0 color="536870912" )
  6. footer(height=76 color="536870912" )
  7. detail(height=96 color="536870912" )
  8. table(column=(type=char(30) updatewhereclause=yes name=u_mtrldef_barcode dbname="u_mtrldef.barcode" )
  9. column=(type=char(30) updatewhereclause=yes name=u_mtrldef_mtrlcode dbname="u_mtrldef.mtrlcode" initial="empty" )
  10. column=(type=decimal(4) updatewhereclause=yes name=u_outwaremx_qty dbname="u_outwaremx.qty" initial="0" validationmsg="'请输入数字'" )
  11. column=(type=decimal(10) updatewhereclause=yes name=u_outwaremx_fprice dbname="u_outwaremx.fprice" initial="0" )
  12. column=(type=decimal(5) updatewhereclause=yes name=u_outwaremx_rebate dbname="u_outwaremx.rebate" initial="1" validationmsg="'请输入数字'" )
  13. column=(type=char(255) updatewhereclause=yes name=u_outwaremx_mxdscrp dbname="u_outwaremx.mxdscrp" initial="empty" )
  14. column=(type=decimal(10) updatewhereclause=yes name=u_outwaremx_price dbname="u_outwaremx.price" initial="0" validationmsg="'请输入数字'" )
  15. column=(type=char(50) updatewhereclause=yes name=u_mtrldef_mtrlname dbname="u_mtrldef.mtrlname" initial="empty" )
  16. column=(type=char(10) updatewhereclause=yes name=u_mtrldef_unit dbname="u_mtrldef.unit" initial="empty" )
  17. column=(type=long updatewhereclause=yes name=u_outwaremx_outwareid dbname="u_outwaremx.outwareid" initial="0" )
  18. column=(type=long updatewhereclause=yes name=u_outwaremx_mtrlwareid dbname="u_outwaremx.mtrlwareid" initial="0" )
  19. column=(type=long updatewhereclause=yes name=u_outwaremx_mtrlid dbname="u_outwaremx.mtrlid" initial="0" )
  20. column=(type=char(30) updatewhereclause=yes name=u_mtrldef_mtrlmode dbname="u_mtrldef.mtrlmode" )
  21. column=(type=long updatewhereclause=yes name=u_outwaremx_printid dbname="u_outwaremx.printid" )
  22. column=(type=char(30) updatewhereclause=yes name=u_mtrldef_prdpackcode dbname="u_mtrldef.prdpackcode" )
  23. column=(type=decimal(4) updatewhereclause=yes name=u_mtrldef_packqty dbname="u_mtrldef.packqty" )
  24. retrieve="SELECT u_mtrldef.barcode,
  25. u_mtrldef.mtrlcode,
  26. u_outwaremx.qty,
  27. u_outwaremx.fprice,
  28. u_outwaremx.rebate,
  29. u_outwaremx.mxdscrp,
  30. u_outwaremx.price,
  31. u_mtrldef.mtrlname,
  32. u_mtrldef.unit,
  33. u_outwaremx.outwareid,
  34. u_outwaremx.mtrlwareid,
  35. u_outwaremx.mtrlid,
  36. u_mtrldef.mtrlmode,
  37. u_outwaremx.printid,
  38. u_mtrldef.prdpackcode,
  39. u_mtrldef.packqty
  40. FROM u_mtrldef INNER JOIN
  41. u_outwaremx ON u_mtrldef.mtrlid = u_outwaremx.mtrlid
  42. WHERE ( u_outwaremx.outwareid = :arg_outwareid ) and
  43. ( u_outwaremx.scid = :arg_scid )" arguments=(("arg_scid", number),("arg_outwareid", number)) sort="u_outwaremx_printid A " )
  44. text(band=header alignment="2" text="序" border="0" color="33554432" x="9" y="8" height="56" width="119" html.valueishtml="0" name=t_3 visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  45. text(band=header alignment="2" text="品名" border="0" color="33554432" x="1216" y="8" height="56" width="731" html.valueishtml="0" name=u_mtrldef_mtrlname_t visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  46. text(band=header alignment="2" text="单位" border="0" color="33554432" x="1957" y="8" height="56" width="160" html.valueishtml="0" name=u_mtrldef_unit_t visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  47. text(band=header alignment="2" text="备注" border="0" color="33554432" x="4334" y="8" height="56" width="763" html.valueishtml="0" name=u_outwaremx_mxdscrp_t visible="1" font.face="宋体" font.height="-9" 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="2725" y="8" height="56" width="206" html.valueishtml="0" name=u_outwaremx_rebate_t visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
  49. text(band=header alignment="2" text="编码" border="0" color="33554432" x="814" y="8" height="56" width="393" html.valueishtml="0" name=u_mtrldef_mtrlcode_t visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="553648127" )
  50. text(band=header alignment="2" text="条形码" border="0" color="33554432" x="137" y="8" height="56" width="667" html.valueishtml="0" name=u_mtrldef_barcode_t visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="553648127" )
  51. text(band=header alignment="2" text="数量" border="0" color="33554432" x="2126" y="8" height="56" width="315" html.valueishtml="0" name=u_outwaremx_qty_t visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  52. text(band=header alignment="2" text="单价" border="0" color="33554432" x="2450" y="8" height="56" width="265" html.valueishtml="0" name=u_outwaremx_fprice_t 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" )
  53. text(band=header alignment="2" text="金额" border="0" color="33554432" x="2939" y="8" height="56" width="471" html.valueishtml="0" name=enamt_t visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
  54. text(band=header alignment="2" text="规格" border="0" color="33554432" x="3872" y="8" height="56" width="453" html.valueishtml="0" name=u_mtrldef_mtrlmode_t visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  55. text(band=header alignment="2" text="包装数" border="0" color="33554432" x="3419" y="8" height="56" width="443" html.valueishtml="0" name=t_1 visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
  56. compute(band=detail alignment="2" expression="getrow()"border="0" color="33554432" x="9" y="20" height="68" width="119" format="[general]" html.valueishtml="0" name=print_id visible="1" font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  57. column(band=detail id=6 alignment="0" tabsequence=32766 border="0" color="33554432" x="4334" y="20" height="68" width="763" format="[general]" html.valueishtml="0" name=u_outwaremx_mxdscrp visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  58. column(band=detail id=5 alignment="1" tabsequence=32766 border="0" color="33554432" x="2725" y="20" height="68" width="206" format="#,##0.0###" html.valueishtml="0" name=u_outwaremx_rebate visible="1" edit.limit=0 edit.case=any edit.format="#,##0.0###" edit.focusrectangle=no edit.autoselect=yes edit.imemode=0 font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  59. column(band=detail id=2 alignment="0" tabsequence=32766 border="0" color="33554432" x="814" y="20" height="68" width="393" 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="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="553648127" )
  60. column(band=detail id=1 alignment="0" tabsequence=32766 border="0" color="33554432" x="137" y="20" height="68" width="667" format="[general]" html.valueishtml="0" name=u_mtrldef_barcode visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  61. column(band=detail id=8 alignment="0" tabsequence=32766 border="0" color="33554432" x="1216" y="20" height="68" width="731" format="[general]" html.valueishtml="0" name=u_mtrldef_mtrlname tag="物料名称" visible="1" 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="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  62. column(band=detail id=9 alignment="2" tabsequence=32766 border="0" color="33554432" x="1957" y="20" height="68" width="160" format="[general]" html.valueishtml="0" name=u_mtrldef_unit tag="标准库存单位" visible="1" edit.limit=10 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="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  63. column(band=detail id=3 alignment="1" tabsequence=32766 border="0" color="33554432" x="2126" y="20" height="68" width="315" format="#,##0.####" html.valueishtml="0" name=u_outwaremx_qty tag="出仓数量" visible="1" edit.limit=0 edit.case=any edit.format="#,##0.####" edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  64. column(band=detail id=4 alignment="1" tabsequence=32766 border="0" color="33554432" x="2450" y="20" height="68" width="265" format="#,##0.00" html.valueishtml="0" name=u_outwaremx_fprice visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no 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="1073741824" )
  65. compute(band=detail alignment="1" expression="u_outwaremx_fprice * u_outwaremx_rebate * u_outwaremx_qty "border="0" color="33554432" x="2939" y="20" height="68" width="471" format="#,##0.00" html.valueishtml="0" name=enamt 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" )
  66. column(band=detail id=13 alignment="0" tabsequence=32766 border="0" color="33554432" x="3872" y="20" height="68" width="453" format="[general]" html.valueishtml="0" name=u_mtrldef_mtrlmode visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  67. compute(band=detail alignment="0" expression="f_pack_dscrp( u_outwaremx_mtrlid , u_outwaremx_qty , u_mtrldef_prdpackcode , u_mtrldef_packqty , u_mtrldef_unit )"border="0" color="33554432" x="3419" y="20" height="68" width="443" format="[GENERAL]" html.valueishtml="0" name=compute_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" )
  68. compute(band=footer alignment="2" expression="count(u_mtrldef_mtrlname for all)"border="0" color="16711680" x="1216" y="8" height="60" width="731" format="[general]" html.valueishtml="0" name=compute_2 visible="1" font.face="宋体" font.height="-10" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  69. compute(band=footer alignment="1" expression="sum(u_outwaremx_qty for all)"border="0" color="16711680" x="2126" y="8" height="60" width="315" format="#,##0.####" html.valueishtml="0" name=compute_qty visible="1" font.face="宋体" font.height="-10" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  70. compute(band=footer alignment="1" expression="sum( u_outwaremx_fprice * u_outwaremx_rebate * u_outwaremx_qty for all)"border="0" color="16711680" x="2939" y="8" height="60" width="471" format="[General]" html.valueishtml="0" name=compute_amt visible="1" font.face="宋体" font.height="-10" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
  71. htmltable(border="1" )
  72. htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
  73. export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
  74. import.xml()
  75. export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )