$PBExportHeader$dw_outwaremx_pos_edit1.srd release 9; 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 ) header(height=68 color="536870912" ) summary(height=0 color="536870912" ) footer(height=0 color="536870912" ) detail(height=100 color="536870912" ) table(column=(type=long updatewhereclause=yes name=u_outwaremx_ifrel dbname="u_outwaremx.ifrel" initial="0" values=" 1/ 0" ) column=(type=long updatewhereclause=yes name=u_outwaremx_outtype dbname="u_outwaremx.outtype" initial="0" ) column=(type=char(30) updatewhereclause=yes name=u_mtrldef_barcode dbname="u_mtrldef.barcode" ) column=(type=char(30) updatewhereclause=yes name=u_mtrldef_mtrlcode dbname="u_mtrldef.mtrlcode" initial="empty" ) column=(type=decimal(4) updatewhereclause=yes name=u_outwaremx_qty dbname="u_outwaremx.qty" initial="0" validationmsg="'请输入数字'" ) column=(type=decimal(5) updatewhereclause=yes name=u_outwaremx_addqty dbname="u_outwaremx.addqty" initial="0" ) column=(type=decimal(5) updatewhereclause=yes name=u_outwaremx_enprice dbname="u_outwaremx.enprice" initial="0" validationmsg="'请输入数字'" ) column=(type=decimal(5) updatewhereclause=yes name=u_outwaremx_rebate dbname="u_outwaremx.rebate" initial="1" validationmsg="'请输入数字'" ) column=(type=char(100) updatewhereclause=yes name=u_outwaremx_mxdscrp dbname="u_outwaremx.mxdscrp" initial="empty" ) column=(type=decimal(5) updatewhereclause=yes name=u_outwaremx_price dbname="u_outwaremx.price" initial="0" validationmsg="'请输入数字'" ) column=(type=long updatewhereclause=yes name=u_outwaremx_storageid dbname="u_outwaremx.storageid" initial="0" ) column=(type=char(50) updatewhereclause=yes name=u_mtrldef_mtrlname dbname="u_mtrldef.mtrlname" initial="empty" ) column=(type=char(10) updatewhereclause=yes name=u_mtrldef_unit dbname="u_mtrldef.unit" initial="empty" ) column=(type=long updatewhereclause=yes name=u_outwaremx_outwareid dbname="u_outwaremx.outwareid" initial="0" ) column=(type=long updatewhereclause=yes name=u_outwaremx_mtrlwareid dbname="u_outwaremx.mtrlwareid" initial="0" ) column=(type=long updatewhereclause=yes name=u_outwaremx_mtrlid dbname="u_outwaremx.mtrlid" initial="0" ) column=(type=char(30) updatewhereclause=yes name=u_mtrldef_mtrlmode dbname="u_mtrldef.mtrlmode" ) column=(type=decimal(2) updatewhereclause=yes name=u_outwaremx_costamt dbname="u_outwaremx.costamt" ) column=(type=decimal(5) updatewhereclause=yes name=u_outwaremx_fprice dbname="u_outwaremx.fprice" initial="0" ) column=(type=decimal(5) updatewhereclause=yes name=u_outwaremx_planprice dbname="u_outwaremx.planprice" initial="0" ) column=(type=char(30) updatewhereclause=yes name=u_outwaremx_plancode dbname="u_outwaremx.plancode" initial="empty" ) column=(type=long updatewhereclause=yes name=u_outwaremx_printid dbname="u_outwaremx.printid" ) column=(type=char(30) updatewhereclause=yes name=u_outwaremx_status dbname="u_outwaremx.status" ) column=(type=char(30) updatewhereclause=yes name=u_mtrldef_prdpackcode dbname="u_mtrldef.prdpackcode" ) column=(type=decimal(4) updatewhereclause=yes name=u_mtrldef_packqty dbname="u_mtrldef.packqty" ) column=(type=long updatewhereclause=yes name=u_outwaremx_dxflag dbname="u_outwaremx.Dxflag" values=" 1/ 0" ) column=(type=long updatewhereclause=yes name=u_outwaremx_relid dbname="u_outwaremx.relid" initial="0" ) column=(type=char(50) updatewhereclause=yes name=u_outwaremx_relcode dbname="u_outwaremx.relcode" ) column=(type=char(30) updatewhereclause=yes name=u_outwaremx_woodcode dbname="u_outwaremx.woodcode" ) column=(type=char(30) updatewhereclause=yes name=u_outwaremx_pcode dbname="u_outwaremx.pcode" ) column=(type=decimal(5) updatewhereclause=yes name=u_outwaremx_dftsaleprice dbname="u_outwaremx.dftsaleprice" ) column=(type=char(15) updatewhereclause=yes name=taskcode dbname="taskcode" ) column=(type=decimal(4) updatewhereclause=yes name=u_mtrldef_curware_qty dbname="curware_qty" ) column=(type=decimal(4) updatewhereclause=yes name=u_mtrldef_sumware_qty dbname="sumware_qty" ) column=(type=decimal(4) updatewhereclause=yes name=u_mtrldef_sumneed_qty dbname="sumneed_qty" ) column=(type=long updatewhereclause=yes name=u_mtrldef_editflag dbname="editflag" initial="1" ) column=(type=long updatewhereclause=yes name=u_mtrldef_tflag dbname="tflag" initial="0" ) column=(type=char(30) updatewhereclause=yes name=u_mtrldef_mtrlsectype dbname="u_mtrldef.mtrlsectype" ) column=(type=char(50) updatewhereclause=yes name=u_mtrldef_zxmtrlmode dbname="u_mtrldef.zxmtrlmode" ) column=(type=long updatewhereclause=yes name=u_outwaremx_relprintid dbname="u_outwaremx.relprintid" ) column=(type=char(20) updatewhereclause=yes name=u_cust_cuscode dbname="u_cust.cuscode" ) column=(type=char(50) updatewhereclause=yes name=u_cust_name dbname="u_cust.name" ) retrieve="SELECT u_outwaremx.ifrel, u_outwaremx.outtype, u_mtrldef.barcode,u_mtrldef.mtrlcode, u_outwaremx.qty, u_outwaremx.addqty, u_outwaremx.enprice, u_outwaremx.rebate, u_outwaremx.mxdscrp, u_outwaremx.price, u_outwaremx.storageid, u_mtrldef.mtrlname, u_mtrldef.unit, u_outwaremx.outwareid, u_outwaremx.mtrlwareid, u_outwaremx.mtrlid, u_mtrldef.mtrlmode, u_outwaremx.costamt, u_outwaremx.fprice, u_outwaremx.planprice, u_outwaremx.plancode, u_outwaremx.printid, u_outwaremx.status, u_mtrldef.prdpackcode, u_mtrldef.packqty, u_outwaremx.Dxflag, u_outwaremx.relid, u_outwaremx.relcode, u_outwaremx.woodcode, u_outwaremx.pcode, u_outwaremx.dftsaleprice, ISNULL(u_SaleTask.TaskCode, '') AS taskcode, 0.0000 AS curware_qty, 0.0000 AS sumware_qty, 0.0000 AS sumneed_qty, 0 AS editflag, 0 AS tflag, u_mtrldef.mtrlsectype, u_mtrldef.zxmtrlmode, u_outwaremx.relprintid, u_cust.cuscode, u_cust.name FROM u_mtrldef INNER JOIN u_outwaremx ON u_mtrldef.mtrlid = u_outwaremx.mtrlid LEFT OUTER JOIN u_cust ON u_outwaremx.Sptid = u_cust.cusid LEFT OUTER JOIN u_SaleTask ON u_outwaremx.scid = u_SaleTask.scid AND u_outwaremx.relid = u_SaleTask.TaskID where ( u_outwaremx.outwareid = :arg_outwareid ) and (u_outwaremx.scid = :arg_scid or :arg_scid = -1 ) " arguments=(("arg_scid", number),("arg_outwareid", number)) sort="u_outwaremx_printid A " ) 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" ) text(band=header alignment="2" text="品名" border="0" color="33554432" x="1349" 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" ) text(band=header alignment="2" text="库存单位" border="0" color="33554432" x="2089" y="8" height="56" width="256" 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" ) text(band=header alignment="2" text="数量" border="0" color="33554432" x="2354" 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" ) text(band=header alignment="2" text="备注" border="0" color="33554432" x="3675" 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" ) text(band=header alignment="2" text="单价" border="0" color="33554432" x="2679" y="8" height="56" width="293" html.valueishtml="0" name=u_outwaremx_enprice_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" ) text(band=header alignment="2" text="折扣" border="0" color="33554432" x="2981" 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" ) text(band=header alignment="2" text="金额" border="0" color="33554432" x="3195" 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" ) text(band=header alignment="2" text="编码" border="0" color="33554432" x="869" y="8" height="56" width="471" 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" ) text(band=header alignment="2" text="条形码" border="0" color="33554432" x="137" y="8" height="56" width="722" 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" ) 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" ) column(band=detail id=12 alignment="0" tabsequence=32766 border="0" color="33554432" x="1349" 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" ) column(band=detail id=13 alignment="2" tabsequence=32766 border="0" color="33554432" x="2089" y="20" height="68" width="256" 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" ) column(band=detail id=9 alignment="0" tabsequence=32766 border="0" color="33554432" x="3675" 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" ) column(band=detail id=7 alignment="1" tabsequence=32766 border="0" color="33554432" x="2679" y="20" height="68" 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="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" ) column(band=detail id=8 alignment="1" tabsequence=32766 border="0" color="33554432" x="2981" 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" ) compute(band=detail alignment="1" expression=" u_outwaremx_enprice * u_outwaremx_rebate * u_outwaremx_qty "border="0" color="33554432" x="3195" 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" ) column(band=detail id=5 alignment="1" tabsequence=32766 border="0" color="33554432" x="2354" 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" ) column(band=detail id=4 alignment="0" tabsequence=32766 border="0" color="33554432" x="869" y="20" height="68" 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="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="553648127" ) column(band=detail id=3 alignment="0" tabsequence=32766 border="0" color="33554432" x="137" y="20" height="68" 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="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" ) compute(band=footer alignment="1" expression="sum( u_outwaremx_enprice * u_outwaremx_rebate * u_outwaremx_qty for all)"border="0" color="33554432" x="3195" y="4" height="92" width="471" format="#,##0.00" html.valueishtml="0" name=compute_amt visible="1" font.face="宋体" font.height="-14" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" ) compute(band=footer alignment="1" expression="sum(u_outwaremx_qty for all)"border="0" color="33554432" x="2354" y="4" height="92" width="315" format="#,##0.####" html.valueishtml="0" name=compute_qty visible="1" font.face="宋体" font.height="-14" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" ) htmltable(border="1" ) htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" ) export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 ) import.xml() export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )