$PBExportHeader$dw_orderrqmtrl_change_mtrlware.srd release 9; datawindow(units=0 timer_interval=0 color=1073741824 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=68 color="536870912" ) detail(height=76 color="536870912" ) table(column=(type=long updatewhereclause=yes name=u_mtrlware_mtrlwareid dbname="u_mtrlware.mtrlwareid" ) column=(type=long updatewhereclause=yes name=u_mtrlware_storageid dbname="u_mtrlware.storageid" ) column=(type=long updatewhereclause=yes name=u_mtrlware_mtrlid dbname="u_mtrlware.mtrlid" ) column=(type=char(30) updatewhereclause=yes name=u_mtrlware_plancode dbname="u_mtrlware.plancode" ) column=(type=decimal(5) updatewhereclause=yes name=u_mtrlware_noallocqty dbname="u_mtrlware.noallocqty" ) column=(type=char(255) updatewhereclause=yes name=u_mtrlware_status dbname="u_mtrlware.Status" ) column=(type=char(255) updatewhereclause=yes name=u_mtrlware_woodcode dbname="u_mtrlware.woodcode" ) column=(type=char(255) updatewhereclause=yes name=u_mtrlware_pcode dbname="u_mtrlware.pcode" ) column=(type=char(30) updatewhereclause=yes name=u_storage_storagename dbname="u_storage.storagename" ) column=(type=char(20) updatewhereclause=yes name=cuscode dbname="cuscode" ) column=(type=char(50) updatewhereclause=yes name=cusname dbname="cusname" ) retrieve="SELECT u_mtrlware.mtrlwareid , u_mtrlware.storageid , u_mtrlware.mtrlid , u_mtrlware.plancode , u_mtrlware.noallocqty , u_mtrlware.Status , u_mtrlware.woodcode , u_mtrlware.pcode , u_storage.storagename , ISNULL(u_cust.cuscode, '') AS cuscode, ISNULL(u_cust.name, '') AS cusname FROM u_mtrlware LEFT OUTER JOIN uv_mtrlware_noauditingqty ON u_mtrlware.mtrlwareid = uv_mtrlware_noauditingqty.mtrlwareid AND u_mtrlware.scid = uv_mtrlware_noauditingqty.scid INNER JOIN u_mtrldef ON u_mtrlware.mtrlid = u_mtrldef.mtrlid INNER JOIN u_storage ON u_mtrlware.storageid = u_storage.storageid LEFT OUTER JOIN u_cust ON u_mtrlware.Sptid = u_cust.cusid where ( u_mtrlware.noallocqty > 0 ) and (u_mtrlware.mtrlid = :arg_mtrlid) " arguments=(("arg_mtrlid", number)) ) text(band=header alignment="2" text="仓库" border="0" color="33554432" x="9" y="8" height="56" width="315" html.valueishtml="0" name=u_storage_storagename_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="334" y="8" height="56" width="329" html.valueishtml="0" name=u_mtrlware_noallocqty_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="672" y="8" height="56" width="325" html.valueishtml="0" name=u_mtrlware_status_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="配置1" border="0" color="33554432" x="1006" y="8" height="56" width="347" html.valueishtml="0" name=u_mtrlware_woodcode_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="配置2" border="0" color="33554432" x="1362" y="8" height="56" width="347" html.valueishtml="0" name=u_mtrlware_pcode_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="1719" y="8" height="56" width="407" html.valueishtml="0" name=u_mtrlware_plancode_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="2135" y="8" height="56" width="425" html.valueishtml="0" name=cuscode_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="2569" y="8" height="56" width="480" html.valueishtml="0" name=cusname_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" ) column(band=detail id=4 alignment="0" tabsequence=32766 border="0" color="33554432" x="1719" y="4" height="68" width="407" format="[general]" html.valueishtml="0" name=u_mtrlware_plancode 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="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" ) column(band=detail id=5 alignment="1" tabsequence=32766 border="0" color="33554432" x="334" y="4" height="68" width="329" format="#,##0.#####" html.valueishtml="0" name=u_mtrlware_noallocqty visible="1" edit.limit=0 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="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" ) column(band=detail id=6 alignment="0" tabsequence=32766 border="0" color="33554432" x="672" y="4" height="68" width="325" format="[general]" html.valueishtml="0" name=u_mtrlware_status visible="1" edit.limit=255 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="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" ) column(band=detail id=7 alignment="0" tabsequence=32766 border="0" color="33554432" x="1006" y="4" height="68" width="347" format="[general]" html.valueishtml="0" name=u_mtrlware_woodcode visible="1" edit.limit=255 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="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" ) column(band=detail id=8 alignment="0" tabsequence=32766 border="0" color="33554432" x="1362" y="4" height="68" width="347" format="[general]" html.valueishtml="0" name=u_mtrlware_pcode visible="1" edit.limit=255 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="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="9" y="4" height="68" width="315" format="[general]" html.valueishtml="0" name=u_storage_storagename 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="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" ) column(band=detail id=10 alignment="0" tabsequence=32766 border="0" color="33554432" x="2135" y="4" height="68" width="425" format="[general]" html.valueishtml="0" name=cuscode visible="1" edit.limit=20 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="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" ) column(band=detail id=11 alignment="0" tabsequence=32766 border="0" color="33554432" x="2569" y="4" height="68" width="480" format="[general]" html.valueishtml="0" name=cusname 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="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" ) compute(band=footer alignment="1" expression="sum( u_mtrlware_noallocqty for all )"border="0" color="33554432" x="334" y="4" height="56" width="329" format="#,##0.#####" html.valueishtml="0" name=compute_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="1073741824" ) 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" )