dw_outwaremx_pos_edit_hisbill.srd 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. $PBExportHeader$dw_outwaremx_pos_edit_hisbill.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=88 color="536870912" )
  5. summary(height=0 color="536870912" )
  6. footer(height=0 color="536870912" )
  7. detail(height=88 color="536870912" )
  8. table(column=(type=long updatewhereclause=yes name=u_outwaremx_ifrel dbname="u_outwaremx.ifrel" initial="0" values=" 1/ 0" )
  9. column=(type=long updatewhereclause=yes name=u_outwaremx_outtype dbname="u_outwaremx.outtype" initial="0" )
  10. column=(type=char(30) updatewhereclause=yes name=u_mtrldef_barcode dbname="u_mtrldef.barcode" )
  11. column=(type=char(30) updatewhereclause=yes name=u_mtrldef_mtrlcode dbname="u_mtrldef.mtrlcode" initial="empty" )
  12. column=(type=decimal(4) updatewhereclause=yes name=u_outwaremx_qty dbname="u_outwaremx.qty" initial="0" validationmsg="'请输入数字'" )
  13. column=(type=decimal(5) updatewhereclause=yes name=u_outwaremx_addqty dbname="u_outwaremx.addqty" initial="0" )
  14. column=(type=decimal(10) updatewhereclause=yes name=u_outwaremx_enprice dbname="u_outwaremx.enprice" initial="0" validationmsg="'请输入数字'" )
  15. column=(type=decimal(5) updatewhereclause=yes name=u_outwaremx_rebate dbname="u_outwaremx.rebate" initial="1" validationmsg="'请输入数字'" )
  16. column=(type=char(255) updatewhereclause=yes name=u_outwaremx_mxdscrp dbname="u_outwaremx.mxdscrp" initial="empty" )
  17. column=(type=decimal(10) updatewhereclause=yes name=u_outwaremx_price dbname="u_outwaremx.price" initial="0" validationmsg="'请输入数字'" )
  18. column=(type=long updatewhereclause=yes name=u_outwaremx_storageid dbname="u_outwaremx.storageid" initial="0" )
  19. column=(type=char(50) updatewhereclause=yes name=u_mtrldef_mtrlname dbname="u_mtrldef.mtrlname" initial="empty" )
  20. column=(type=char(10) updatewhereclause=yes name=u_mtrldef_unit dbname="u_mtrldef.unit" initial="empty" )
  21. column=(type=long updatewhereclause=yes name=u_outwaremx_outwareid dbname="u_outwaremx.outwareid" initial="0" )
  22. column=(type=long updatewhereclause=yes name=u_outwaremx_mtrlwareid dbname="u_outwaremx.mtrlwareid" initial="0" )
  23. column=(type=long updatewhereclause=yes name=u_outwaremx_mtrlid dbname="u_outwaremx.mtrlid" initial="0" )
  24. column=(type=char(30) updatewhereclause=yes name=u_mtrldef_mtrlmode dbname="u_mtrldef.mtrlmode" )
  25. column=(type=decimal(2) updatewhereclause=yes name=u_outwaremx_costamt dbname="u_outwaremx.costamt" )
  26. column=(type=decimal(10) updatewhereclause=yes name=u_outwaremx_fprice dbname="u_outwaremx.fprice" initial="0" )
  27. column=(type=decimal(10) updatewhereclause=yes name=u_outwaremx_planprice dbname="u_outwaremx.planprice" initial="0" )
  28. column=(type=char(30) updatewhereclause=yes name=u_outwaremx_plancode dbname="u_outwaremx.plancode" initial="empty" )
  29. column=(type=long updatewhereclause=yes name=u_outwaremx_printid dbname="u_outwaremx.printid" )
  30. column=(type=char(255) updatewhereclause=yes name=u_outwaremx_status dbname="u_outwaremx.status" )
  31. column=(type=char(30) updatewhereclause=yes name=u_mtrldef_prdpackcode dbname="u_mtrldef.prdpackcode" )
  32. column=(type=decimal(4) updatewhereclause=yes name=u_mtrldef_packqty dbname="u_mtrldef.packqty" )
  33. column=(type=long updatewhereclause=yes name=u_outwaremx_dxflag dbname="u_outwaremx.Dxflag" values=" 1/ 0" )
  34. column=(type=long updatewhereclause=yes name=u_outwaremx_relid dbname="u_outwaremx.relid" initial="0" )
  35. column=(type=char(50) updatewhereclause=yes name=u_outwaremx_relcode dbname="u_outwaremx.relcode" )
  36. column=(type=char(255) updatewhereclause=yes name=u_outwaremx_woodcode dbname="u_outwaremx.woodcode" )
  37. column=(type=char(255) updatewhereclause=yes name=u_outwaremx_pcode dbname="u_outwaremx.pcode" )
  38. column=(type=decimal(10) updatewhereclause=yes name=u_outwaremx_dftsaleprice dbname="u_outwaremx.dftsaleprice" )
  39. column=(type=char(15) updatewhereclause=yes name=taskcode dbname="taskcode" )
  40. column=(type=decimal(4) updatewhereclause=yes name=u_mtrldef_curware_qty dbname="curware_qty" )
  41. column=(type=decimal(4) updatewhereclause=yes name=u_mtrldef_sumware_qty dbname="sumware_qty" )
  42. column=(type=decimal(4) updatewhereclause=yes name=u_mtrldef_sumneed_qty dbname="sumneed_qty" )
  43. column=(type=long updatewhereclause=yes name=u_mtrldef_editflag dbname="editflag" initial="1" )
  44. column=(type=long updatewhereclause=yes name=u_mtrldef_tflag dbname="tflag" initial="0" )
  45. column=(type=char(30) updatewhereclause=yes name=u_mtrldef_mtrlsectype dbname="u_mtrldef.mtrlsectype" )
  46. column=(type=char(50) updatewhereclause=yes name=u_mtrldef_zxmtrlmode dbname="u_mtrldef.zxmtrlmode" )
  47. column=(type=long updatewhereclause=yes name=u_outwaremx_relprintid dbname="u_outwaremx.relprintid" )
  48. column=(type=char(20) updatewhereclause=yes name=u_cust_cuscode dbname="u_cust.cuscode" )
  49. column=(type=char(50) updatewhereclause=yes name=u_cust_name dbname="u_cust.name" )
  50. retrieve="SELECT u_outwaremx.ifrel, u_outwaremx.outtype, u_mtrldef.barcode,u_mtrldef.mtrlcode, u_outwaremx.qty,
  51. u_outwaremx.addqty, u_outwaremx.enprice, u_outwaremx.rebate,
  52. u_outwaremx.mxdscrp, u_outwaremx.price, u_outwaremx.storageid,
  53. u_mtrldef.mtrlname, u_mtrldef.unit, u_outwaremx.outwareid, u_outwaremx.mtrlwareid,
  54. u_outwaremx.mtrlid, u_mtrldef.mtrlmode, u_outwaremx.costamt, u_outwaremx.fprice,
  55. u_outwaremx.planprice, u_outwaremx.plancode, u_outwaremx.printid,
  56. u_outwaremx.status, u_mtrldef.prdpackcode, u_mtrldef.packqty, u_outwaremx.Dxflag,
  57. u_outwaremx.relid, u_outwaremx.relcode, u_outwaremx.woodcode,
  58. u_outwaremx.pcode, u_outwaremx.dftsaleprice, ISNULL(u_SaleTask.TaskCode, '')
  59. AS taskcode, 0.0000 AS curware_qty, 0.0000 AS sumware_qty,
  60. 0.0000 AS sumneed_qty, 0 AS editflag, 0 AS tflag, u_mtrldef.mtrlsectype,
  61. u_mtrldef.zxmtrlmode, u_outwaremx.relprintid, u_cust.cuscode, u_cust.name
  62. FROM u_mtrldef INNER JOIN
  63. u_outwaremx ON u_mtrldef.mtrlid = u_outwaremx.mtrlid LEFT OUTER JOIN
  64. u_cust ON u_outwaremx.Sptid = u_cust.cusid LEFT OUTER JOIN
  65. u_SaleTask ON u_outwaremx.scid = u_SaleTask.scid AND
  66. u_outwaremx.relid = u_SaleTask.TaskID
  67. where ( u_outwaremx.outwareid = :arg_outwareid ) and
  68. (u_outwaremx.scid = :arg_scid or :arg_scid = -1 )
  69. " arguments=(("arg_scid", number),("arg_outwareid", number)) sort="u_outwaremx_printid A " )
  70. text(band=header alignment="2" text="序" border="0" color="33554432" x="9" y="8" height="72" width="178" html.valueishtml="0" name=t_3 visible="1" font.face="宋体" font.height="-11" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  71. text(band=header alignment="2" text="品名" border="0" color="33554432" x="1408" y="8" height="72" width="731" html.valueishtml="0" name=u_mtrldef_mtrlname_t visible="1" font.face="宋体" font.height="-11" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  72. text(band=header alignment="2" text="库存单位" border="0" color="33554432" x="2149" y="8" height="68" width="302" html.valueishtml="0" name=u_mtrldef_unit_t visible="1" font.face="宋体" font.height="-11" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  73. text(band=header alignment="2" text="数量" border="0" color="33554432" x="2459" y="8" height="72" width="315" html.valueishtml="0" name=u_outwaremx_qty_t visible="1" font.face="宋体" font.height="-11" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  74. text(band=header alignment="2" text="备注" border="0" color="33554432" x="3781" y="8" height="72" width="763" html.valueishtml="0" name=u_outwaremx_mxdscrp_t visible="1" font.face="宋体" font.height="-11" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
  75. text(band=header alignment="2" text="单价" border="0" color="33554432" x="2784" y="8" height="72" width="293" html.valueishtml="0" name=u_outwaremx_enprice_t visible="1" font.face="宋体" font.height="-11" font.weight="700" font.family="0" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
  76. text(band=header alignment="2" text="折扣" border="0" color="33554432" x="3086" y="8" height="72" width="206" html.valueishtml="0" name=u_outwaremx_rebate_t visible="1" font.face="宋体" font.height="-11" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
  77. text(band=header alignment="2" text="金额" border="0" color="33554432" x="3301" y="8" height="72" width="471" html.valueishtml="0" name=enamt_t visible="1" font.face="宋体" font.height="-11" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
  78. text(band=header alignment="2" text="编码" border="0" color="33554432" x="928" y="8" height="72" width="471" html.valueishtml="0" name=u_mtrldef_mtrlcode_t visible="1" font.face="宋体" font.height="-11" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="553648127" )
  79. text(band=header alignment="2" text="条形码" border="0" color="33554432" x="197" y="8" height="72" width="722" html.valueishtml="0" name=u_mtrldef_barcode_t visible="1" font.face="宋体" font.height="-11" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="553648127" )
  80. compute(band=detail alignment="2" expression="getrow()"border="0" color="33554432" x="9" y="4" height="80" width="178" format="[general]" html.valueishtml="0" name=print_id visible="1" font.face="宋体" font.height="-11" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  81. column(band=detail id=12 alignment="0" tabsequence=32766 border="0" color="33554432" x="1408" y="4" height="80" 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="-11" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  82. column(band=detail id=13 alignment="2" tabsequence=32766 border="0" color="33554432" x="2149" y="4" height="80" width="302" 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="-11" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  83. column(band=detail id=9 alignment="0" tabsequence=32766 border="0" color="33554432" x="3781" y="4" height="80" 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="-11" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  84. column(band=detail id=7 alignment="1" tabsequence=32766 border="0" color="33554432" x="2784" y="4" height="80" width="293" format="#,##0.0###" html.valueishtml="0" name=u_outwaremx_enprice visible="1" edit.limit=0 edit.case=any edit.format="#,##0.0###" edit.autoselect=yes edit.imemode=0 font.face="宋体" font.height="-11" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  85. column(band=detail id=8 alignment="1" tabsequence=32766 border="0" color="33554432" x="3086" y="4" height="80" 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="-11" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  86. compute(band=detail alignment="1" expression=" u_outwaremx_enprice * u_outwaremx_rebate * u_outwaremx_qty "border="0" color="33554432" x="3301" y="4" height="80" width="471" format="#,##0.00" html.valueishtml="0" name=enamt visible="1" font.face="宋体" font.height="-11" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
  87. column(band=detail id=5 alignment="1" tabsequence=32766 border="0" color="33554432" x="2459" y="4" height="80" 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="-11" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  88. column(band=detail id=4 alignment="0" tabsequence=32766 border="0" color="33554432" x="928" y="4" height="80" width="471" 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="-11" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="553648127" )
  89. column(band=detail id=3 alignment="0" tabsequence=32766 border="0" color="33554432" x="197" y="4" height="80" width="722" 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="-11" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  90. compute(band=footer alignment="1" expression="sum( u_outwaremx_enprice * u_outwaremx_rebate * u_outwaremx_qty for all)"border="0" color="33554432" x="3301" y="4" height="92" width="471" format="#,##0.00" html.valueishtml="0" name=compute_amt visible="1" font.face="宋体" font.height="-11" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
  91. compute(band=footer alignment="1" expression="sum(u_outwaremx_qty for all)"border="0" color="33554432" x="2459" y="4" height="92" width="315" format="#,##0.####" html.valueishtml="0" name=compute_qty visible="1" font.face="宋体" font.height="-11" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  92. htmltable(border="1" )
  93. htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
  94. export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
  95. import.xml()
  96. export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )