$PBExportHeader$dw_outwaremovemx_mod_edit.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=64 color="536870912" ) summary(height=0 color="536870912" ) footer(height=64 color="536870912" ) detail(height=76 color="536870912" ) table(column=(type=char(30) updatewhereclause=yes name=u_mtrldef_mtrlcode dbname="u_mtrldef.mtrlcode" initial="empty" ) column=(type=decimal(4) updatewhereclause=yes name=u_outwaremovemx_qty dbname="u_OutWaremoveMx.Qty" initial="0" ) column=(type=decimal(5) updatewhereclause=yes name=u_outwaremovemx_addqty dbname="u_OutWaremoveMx.addqty" initial="0" ) column=(type=decimal(10) update=yes updatewhereclause=yes name=u_outwaremovemx_price dbname="u_OutWaremoveMx.price" initial="0" ) column=(type=char(255) updatewhereclause=yes name=u_outwaremovemx_mxdscrp dbname="u_OutWaremoveMx.Mxdscrp" initial="empty" ) 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=char(30) updatewhereclause=yes name=u_mtrldef_mtrltype dbname="u_mtrldef.mtrltype" initial="empty" ) column=(type=long updatewhereclause=yes key=yes name=u_outwaremovemx_outwareid dbname="u_OutWaremoveMx.outWareID" initial="0" ) column=(type=long updatewhereclause=yes name=u_outwaremovemx_mtrlwareid dbname="u_OutWaremoveMx.MtrlWareID" initial="0" ) column=(type=long updatewhereclause=yes name=u_outwaremovemx_mtrlid dbname="u_OutWaremoveMx.MtrlID" initial="0" ) column=(type=long updatewhereclause=yes name=u_outwaremovemx_storageid dbname="u_OutWaremoveMx.StorageID" initial="0" ) column=(type=decimal(10) updatewhereclause=yes name=u_outwaremovemx_cost dbname="u_OutWaremoveMx.Cost" initial="0" ) column=(type=long updatewhereclause=yes key=yes name=u_outwaremovemx_printid dbname="u_OutWaremoveMx.Printid" initial="0" ) column=(type=char(30) updatewhereclause=yes name=u_mtrldef_mtrlmode dbname="u_mtrldef.mtrlmode" initial="empty" ) column=(type=long updatewhereclause=yes key=yes name=u_outwaremovemx_scid dbname="u_OutWaremoveMx.scid" initial="0" ) column=(type=char(30) updatewhereclause=yes name=u_outwaremovemx_plancode dbname="u_OutWaremoveMx.plancode" initial="empty" ) column=(type=char(255) updatewhereclause=yes name=u_outwaremovemx_status dbname="u_OutWaremoveMx.status" initial="empty" ) column=(type=char(255) updatewhereclause=yes name=u_outwaremovemx_pcode dbname="u_OutWaremoveMx.pcode" initial="empty" ) column=(type=char(255) updatewhereclause=yes name=u_outwaremovemx_woodcode dbname="u_OutWaremoveMx.woodcode" initial="empty" ) column=(type=char(30) updatewhereclause=yes name=u_mtrldef_mtrlsectype dbname="u_mtrldef.mtrlsectype" initial="empty" ) column=(type=char(50) updatewhereclause=yes name=u_mtrldef_zxmtrlmode dbname="u_mtrldef.zxmtrlmode" initial="empty" ) column=(type=char(20) updatewhereclause=yes name=u_cust_cuscode dbname="u_cust.cuscode" initial="empty" ) column=(type=char(50) updatewhereclause=yes name=u_cust_name dbname="u_cust.name" initial="empty" ) column=(type=char(255) updatewhereclause=yes name=u_mtrldef_waredscrp dbname="u_mtrldef.waredscrp" ) column=(type=datetime updatewhereclause=yes name=u_mtrlware_inworkdate dbname="u_mtrlware.inworkdate" ) retrieve="SELECT u_mtrldef.mtrlcode, u_OutWaremoveMx.Qty, u_OutWaremoveMx.addqty, u_OutWaremoveMx.price, 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, u_OutWaremoveMx.pcode, u_OutWaremoveMx.woodcode, u_mtrldef.mtrlsectype, u_mtrldef.zxmtrlmode, u_cust.cuscode, u_cust.name, case when u_mtrlware.waredscrp is null then '' else u_mtrlware.waredscrp end as waredscrp, u_mtrlware.inworkdate FROM u_mtrldef INNER JOIN u_OutWaremoveMx ON u_mtrldef.mtrlid = u_OutWaremoveMx.MtrlID INNER JOIN u_mtrlware ON u_OutWaremoveMx.MtrlWareID = u_mtrlware.mtrlwareid LEFT OUTER JOIN u_cust ON u_mtrlware.Sptid = u_cust.cusid where ( u_outwaremovemx.outwareid = :arg_outwareid ) " update="u_OutWaremoveMx" updatewhere=0 updatekeyinplace=no arguments=(("arg_outwareid", number)) sort="u_outwaremovemx_printid A " ) text(band=header alignment="2" text="品名" border="0" color="33554432" x="480" y="8" height="56" width="690" 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="9" y="8" height="56" width="59" 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="1" background.color="536870912" ) text(band=header alignment="2" text="编码" border="0" color="33554432" x="78" 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="2" background.color="16776960" ) text(band=header alignment="2" text="规格" border="0" color="33554432" x="1179" y="8" height="56" width="370" 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="2" background.color="16777215" ) text(band=header alignment="2" text="数量" border="0" color="33554432" x="1559" y="8" height="56" width="283" html.valueishtml="0" name=u_outwaremovemx_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="2414" y="8" height="56" width="357" html.valueishtml="0" name=amt_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="1851" y="8" height="56" width="279" html.valueishtml="0" name=u_outwaremovemx_addqty_t visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" ) text(band=header alignment="2" text="单价" border="0" color="16711680" x="2139" y="8" height="56" width="265" html.valueishtml="0" name=u_outwaremovemx_price_t visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" ) column(band=detail id=6 alignment="0" tabsequence=32766 border="0" color="33554432" x="480" y="4" height="68" width="690" 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="-9" font.weight="400" font.family="2" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" ) compute(band=detail alignment="2" expression="getrow()"border="0" color="33554432" x="9" y="4" height="68" width="59" format="[general]" html.valueishtml="0" name=pid 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" ) column(band=detail id=1 alignment="0" tabsequence=32766 border="0" color="33554432" x="78" y="4" 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="-9" font.weight="400" font.family="2" font.pitch="2" font.charset="134" background.mode="2" background.color="16776960" ) column(band=detail id=15 alignment="0" tabsequence=32766 border="0" color="33554432" x="1179" y="4" height="68" width="370" format="[general]" html.valueishtml="0" name=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="1" background.color="536870912" ) compute(band=detail alignment="1" expression=" round(u_outwaremovemx_qty * u_outwaremovemx_price ,2)"border="0" color="33554432" x="2414" y="4" height="68" width="357" format="#,##0.00" html.valueishtml="0" name=amt 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" ) column(band=detail id=2 alignment="1" tabsequence=32766 border="0" color="33554432" x="1559" y="4" height="68" width="283" format="#,##0.####" html.valueishtml="0" name=u_outwaremovemx_qty visible="1" edit.limit=0 edit.case=any edit.format="#,##0.####" 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="1" background.color="536870912" ) column(band=detail id=3 alignment="1" tabsequence=32766 border="0" color="33554432" x="1851" y="4" height="68" width="279" format="#,##0.####" html.valueishtml="0" name=u_outwaremovemx_addqty visible="1" edit.limit=0 edit.case=any edit.format="#,##0.####" 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="1" background.color="536870912" ) column(band=detail id=4 alignment="1" tabsequence=10 border="0" color="16711680" x="2139" y="4" height="68" width="265" format="#,##0.##########" html.valueishtml="0" name=u_outwaremovemx_price visible="1" edit.limit=0 edit.case=any edit.format="#,##0.##########" 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="1" background.color="536870912" ) compute(band=footer alignment="2" expression="count( u_mtrldef_mtrlcode for all )"border="0" color="33554432" x="78" y="4" height="56" width="393" format="[general]" html.valueishtml="0" name=compute_1 visible="1" font.face="宋体" font.height="-9" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" ) compute(band=footer alignment="1" expression="sum( round(u_outwaremovemx_qty * u_outwaremovemx_price ,2) for all)"border="0" color="33554432" x="2414" y="4" height="56" width="357" format="#,##0.00" html.valueishtml="0" name=compute_4 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" ) compute(band=footer alignment="1" expression="sum(u_outwaremovemx_qty for all)"border="0" color="33554432" x="1559" y="4" height="56" width="283" format="#,##0.####" html.valueishtml="0" name=compute_2 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" ) compute(band=footer alignment="1" expression="sum(u_outwaremovemx_addqty for all)"border="0" color="33554432" x="1851" y="4" height="56" width="279" format="#,##0.####" html.valueishtml="0" name=compute_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" ) 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" )