$PBExportHeader$dw_rp_outwaremovemx_edit.srd release 9; datawindow ( units=1 timer_interval=0 color=16777215 processing=1 print.orientation=0 print.margin.left=24 print.margin.right=24 print.margin.top=24 print.margin.bottom=24 print.paper.size=0 print.paper.source=0 grid.lines=0 selected.mouse=no row.resize=1) header(height=18 color="536870912" ) summary(height=17 color="536870912" ) footer(height=0 color="536870912" ) detail(height=26 color="536870912" ) table(column=(type=char(30) updatewhereclause=yes initial="null" name=u_mtrldef_mtrlcode dbname="u_mtrldef.mtrlcode" ) column=(type=decimal(4) updatewhereclause=yes initial="null" name=u_outwaremovemx_qty dbname="u_OutWaremoveMx.Qty" ) column=(type=char(255) updatewhereclause=yes initial="null" name=u_outwaremovemx_mxdscrp dbname="u_OutWaremoveMx.Mxdscrp" ) column=(type=char(50) updatewhereclause=yes initial="null" name=u_mtrldef_mtrlname dbname="u_mtrldef.mtrlname" ) column=(type=char(10) updatewhereclause=yes initial="null" name=u_mtrldef_unit dbname="u_mtrldef.unit" ) column=(type=char(30) updatewhereclause=yes initial="null" name=u_mtrldef_mtrltype dbname="u_mtrldef.mtrltype" ) column=(type=long updatewhereclause=yes initial="null" name=u_outwaremovemx_outwareid dbname="u_OutWaremoveMx.outWareID" values="调拨单ID /" ) column=(type=long updatewhereclause=yes initial="null" name=u_outwaremovemx_mtrlwareid dbname="u_OutWaremoveMx.MtrlWareID" values="库存ID /" ) column=(type=long updatewhereclause=yes initial="null" name=u_outwaremovemx_mtrlid dbname="u_OutWaremoveMx.MtrlID" values="物料ID /" ) column=(type=long updatewhereclause=yes initial="null" name=u_outwaremovemx_storageid dbname="u_OutWaremoveMx.StorageID" values="仓库ID /" ) column=(type=decimal(10) updatewhereclause=yes initial="null" name=u_outwaremovemx_cost dbname="u_OutWaremoveMx.Cost" values="Cost /" ) column=(type=long updatewhereclause=yes initial="null" name=u_outwaremovemx_printid dbname="u_OutWaremoveMx.Printid" values="序号 /" ) column=(type=char(30) updatewhereclause=yes initial="null" name=u_mtrldef_mtrlmode dbname="u_mtrldef.mtrlmode" ) column=(type=long updatewhereclause=yes initial="null" name=u_outwaremovemx_scid dbname="u_OutWaremoveMx.scid" values="分部ID /" ) column=(type=char(30) updatewhereclause=yes initial="null" name=u_outwaremovemx_plancode dbname="u_OutWaremoveMx.plancode" values="批号 /" ) column=(type=char(255) updatewhereclause=yes initial="null" name=u_outwaremovemx_status dbname="u_OutWaremoveMx.status" ) column=(type=decimal(14) updatewhereclause=yes initial="null" name=amt dbname="amt" values="Amt /" ) retrieve="SELECT u_mtrldef.mtrlcode, u_OutWaremoveMx.Qty, u_OutWaremoveMx.Mxdscrp, u_mtrldef.mtrlname, u_mtrldef.unit, u_mtrldef.mtrltype, u_OutWaremoveMx.outWareID, u_OutWaremoveMx.MtrlWareID, u_OutWaremoveMx.MtrlID, u_OutWaremoveMx.StorageID, u_OutWaremoveMx.Cost, u_OutWaremoveMx.Printid, u_mtrldef.mtrlmode, u_OutWaremoveMx.scid, u_OutWaremoveMx.plancode, u_OutWaremoveMx.status , round( u_OutWaremoveMx.Qty * u_OutWaremoveMx.Cost ,2) as amt FROM u_mtrldef, u_OutWaremoveMx WHERE ( u_mtrldef.mtrlid = u_OutWaremoveMx.MtrlID ) and ( u_outwaremovemx.outwareid = :arg_outwareid ) union all SELECT TOP :arg_top null, null, null, null, null, null, null, null, null, null, null,10000, null, null, null, null, null FROM syscolumns" arguments=(("arg_outwareid", number), ("arg_printrow", number), ("arg_top", number)) ) group(level=1 header.height=0 trailer.height=18 by=("aa" ) header.color="536870912" header.pointer="aa" trailer.color="536870912" ) text(name=u_mtrldef_mtrlcode_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" alignment="2" border="0" x="17" y="2" height="15" width="65" text="物料编码" ) text(name=t_1 visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" alignment="2" border="0" x="2" y="2" height="15" width="13" text="序" ) text(name=u_mtrldef_mtrlname_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" alignment="2" border="0" x="84" y="2" height="15" width="92" text="物料名称" ) text(name=u_mtrldef_unit_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" alignment="2" border="0" x="438" y="2" height="15" width="25" text="单位" ) text(name=u_mtrldef_mtrltype_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" alignment="2" border="0" x="350" y="2" height="15" width="86" text="物料类型" ) text(name=u_mtrldef_mtrlmode_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" alignment="2" border="0" x="178" y="2" height="15" width="77" text="物料规格" ) text(name=u_outwaremovemx_qty_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" alignment="2" border="0" x="465" y="2" height="15" width="79" text="数量" ) text(name=u_outwaremovemx_mxdscrp_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" alignment="2" border="0" x="546" y="2" height="15" width="97" text="明细备注" ) text(name=u_outwaremovemx_status_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" alignment="2" border="0" x="257" y="2" height="15" width="91" text="颜色" ) compute(name=compute_1 visible="1" tag="count(u_mtrldef_mtrlname for all)" band=summary font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" x="84" y="1" height="15" width="92" format="[general]" expression="count(u_mtrldef_mtrlname for all)" alignment="0" border="0" crosstab.repeat=no ) compute(name=compute_2 visible="1" tag="sum(u_outwaremovemx_qty for all)" band=summary font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" x="465" y="1" height="15" width="79" format="#,##0.####" expression="sum(u_outwaremovemx_qty for all)" alignment="1" border="0" crosstab.repeat=no ) text(name=t_2 visible="1" band=summary font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" alignment="2" border="0" x="17" y="1" height="15" width="65" text="合计" ) compute(name=pid visible="1" tag="getrow()" band=detail font.charset="134" font.face="宋体" font.family="0" font.height="-11" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" x="2" y="5" height="17" width="13" format="[general]" expression="getrow()" alignment="2" border="0" crosstab.repeat=no ) column(name=u_mtrldef_unit visible="1" tag="u_mtrldef_unit" band=detail id=5 x="438" y="5" height="17" width="25" color="0" border="0" alignment="2" format="[general]" protect="0" edit.focusrectangle=no edit.autohscroll=yes edit.autoselect=yes edit.autovscroll=no edit.case=any edit.codetable=no edit.displayonly=no edit.hscrollbar=no edit.imemode=0 edit.limit=10 edit.password=no edit.vscrollbar=no edit.validatecode=no edit.nilisnull=no edit.required=no criteria.required=no criteria.override_edit=no crosstab.repeat=no background.mode="2" background.color="16777215" font.charset="134" font.face="宋体" font.family="2" font.height="-10" font.pitch="2" font.weight="400" tabsequence=0 ) column(name=u_mtrldef_mtrlcode visible="1" tag="u_mtrldef_mtrlcode" band=detail id=1 x="17" y="5" height="17" width="65" color="0" border="0" alignment="0" format="[general]" protect="0" edit.focusrectangle=no edit.autohscroll=yes edit.autoselect=yes edit.autovscroll=no edit.case=any edit.codetable=no edit.displayonly=no edit.hscrollbar=no edit.imemode=0 edit.limit=30 edit.password=no edit.vscrollbar=no edit.validatecode=no edit.nilisnull=no edit.required=no criteria.required=no criteria.override_edit=no crosstab.repeat=no background.mode="2" background.color="16777215" font.charset="134" font.face="宋体" font.family="2" font.height="-10" font.pitch="2" font.weight="400" tabsequence=0 ) column(name=u_outwaremovemx_qty visible="1" tag="u_outwaremovemx_qty" band=detail id=2 x="465" y="5" height="17" width="79" color="0" border="0" alignment="1" format="#,##0.####" protect="0" edit.format="#,##0.####" edit.autohscroll=no edit.autoselect=yes edit.autovscroll=no edit.case=any edit.codetable=no edit.displayonly=no edit.hscrollbar=no edit.imemode=0 edit.limit=0 edit.password=no edit.vscrollbar=no edit.validatecode=no edit.nilisnull=no edit.required=no criteria.required=no criteria.override_edit=no crosstab.repeat=no background.mode="2" background.color="16777215" font.charset="134" font.face="宋体" font.family="2" font.height="-10" font.pitch="2" font.weight="400" tabsequence=0 ) column(name=u_outwaremovemx_mxdscrp visible="1" tag="u_outwaremovemx_mxdscrp" height.autosize=yes band=detail id=3 x="546" y="5" height="17" width="97" color="0" border="0" alignment="0" format="[general]" protect="0" edit.autohscroll=no edit.autoselect=yes edit.autovscroll=no edit.case=any edit.codetable=no edit.displayonly=no edit.hscrollbar=no edit.imemode=0 edit.limit=0 edit.password=no edit.vscrollbar=no edit.validatecode=no edit.nilisnull=no edit.required=no criteria.required=no criteria.override_edit=no crosstab.repeat=no background.mode="2" background.color="16777215" font.charset="134" font.face="宋体" font.family="2" font.height="-10" font.pitch="2" font.weight="400" tabsequence=0 ) column(name=u_mtrldef_mtrltype visible="1" tag="u_mtrldef_mtrltype" height.autosize=yes band=detail id=6 x="350" y="5" height="17" width="86" color="0" border="0" alignment="2" format="[general]" protect="0" edit.autohscroll=no edit.autoselect=yes edit.autovscroll=no edit.case=any edit.codetable=no edit.displayonly=no edit.hscrollbar=no edit.imemode=0 edit.limit=0 edit.password=no edit.vscrollbar=no edit.validatecode=no edit.nilisnull=no edit.required=no criteria.required=no criteria.override_edit=no crosstab.repeat=no background.mode="2" background.color="16777215" font.charset="134" font.face="宋体" font.family="2" font.height="-10" font.pitch="2" font.weight="400" tabsequence=0 ) compute(name=aa visible="0" tag="ceiling( getrow() / arg_printrow )" band=detail font.charset="0" font.face="Arial" font.family="2" font.height="-10" font.pitch="2" font.weight="400" background.mode="2" background.color="1073741824" color="33554432" x="645" y="5" height="19" width="55" format="[GENERAL]" expression="ceiling( getrow() / arg_printrow )" alignment="0" border="0" crosstab.repeat=no ) column(name=u_mtrldef_mtrlname visible="1" tag="u_mtrldef_mtrlname" height.autosize=yes band=detail id=4 x="84" y="5" height="17" width="92" color="0" border="0" alignment="0" format="[general]" protect="0" edit.focusrectangle=no edit.autohscroll=yes edit.autoselect=yes edit.autovscroll=no edit.case=any edit.codetable=no edit.displayonly=no edit.hscrollbar=no edit.imemode=0 edit.limit=50 edit.password=no edit.vscrollbar=no edit.validatecode=no edit.nilisnull=no edit.required=no criteria.required=no criteria.override_edit=no crosstab.repeat=no background.mode="2" background.color="16777215" font.charset="134" font.face="宋体" font.family="2" font.height="-10" font.pitch="2" font.weight="400" tabsequence=0 ) column(name=u_mtrldef_mtrlmode visible="1" tag="u_mtrldef_mtrlmode" height.autosize=yes band=detail id=13 x="178" y="5" height="17" width="77" color="0" border="0" alignment="0" format="[general]" protect="0" edit.autohscroll=no edit.autoselect=yes edit.autovscroll=no edit.case=any edit.codetable=no edit.displayonly=no edit.hscrollbar=no edit.imemode=0 edit.limit=0 edit.password=no edit.vscrollbar=no edit.validatecode=no edit.nilisnull=no edit.required=no criteria.required=no criteria.override_edit=no crosstab.repeat=no background.mode="2" background.color="16777215" font.charset="134" font.face="宋体" font.family="2" font.height="-10" font.pitch="2" font.weight="400" tabsequence=0 ) column(name=u_outwaremovemx_status visible="1" tag="u_outwaremovemx_status" height.autosize=yes band=detail id=16 x="257" y="5" height="17" width="91" color="0" border="0" alignment="0" format="[general]" protect="0" edit.autohscroll=no edit.autoselect=yes edit.autovscroll=no edit.case=any edit.codetable=no edit.displayonly=no edit.hscrollbar=no edit.imemode=0 edit.limit=0 edit.password=no edit.vscrollbar=no edit.validatecode=no edit.nilisnull=no edit.required=no criteria.required=no criteria.override_edit=no crosstab.repeat=no background.mode="2" background.color="16777215" font.charset="134" font.face="宋体" font.family="2" font.height="-10" font.pitch="2" font.weight="400" tabsequence=0 ) text(name=t_3 visible="1" band=trailer.1 font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="2" background.color="1073741824" color="33554432" alignment="2" border="0" x="17" y="2" height="15" width="65" text="本页小计" ) compute(name=compute_3 visible="1" tag="count( u_mtrldef_mtrlname for group 1 )" band=trailer.1 font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="2" background.color="1073741824" color="33554432" x="84" y="1" height="16" width="92" format="[GENERAL]" expression="count( u_mtrldef_mtrlname for group 1 )" alignment="0" border="0" crosstab.repeat=no ) compute(name=compute_4 visible="1" tag="sum( u_outwaremovemx_qty for group 1 )" band=trailer.1 font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="2" background.color="1073741824" color="33554432" x="465" y="1" height="16" width="79" format="#,##0.####" expression="sum( u_outwaremovemx_qty for group 1 )" alignment="1" border="0" crosstab.repeat=no ) htmltable() htmlgen() export.xml(metadatatype=0 savemetadata=0 ) import.xml() export.pdf(method=0 )