$PBExportHeader$dw_rp_update_costmx_edit.srd release 9; datawindow ( units=1 timer_interval=0 color=1073741824 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=yes) header(height=18 color="536870912" ) summary(height=0 color="536870912" ) footer(height=0 color="536870912" ) detail(height=19 color="536870912" ) table(column=(type=char(30) updatewhereclause=yes initial="null" name=u_mtrldef_mtrlcode dbname="u_mtrldef.mtrlcode" ) column=(type=char(50) updatewhereclause=yes initial="null" name=u_mtrldef_mtrlname dbname="u_mtrldef.mtrlname" ) column=(type=decimal(10) updatewhereclause=yes initial="null" name=u_updatecostmx_newcost dbname="u_updatecostmx.newcost" ) column=(type=decimal(5) updatewhereclause=yes initial="null" name=u_updatecostmx_noallocqty dbname="u_updatecostmx.noallocqty" ) column=(type=char(30) updatewhereclause=yes initial="null" name=u_updatecostmx_plancode dbname="u_updatecostmx.plancode" values="库存成本价调整单明细表-批号 /" ) column=(type=char(255) updatewhereclause=yes initial="null" name=u_updatecostmx_status dbname="u_updatecostmx.status" ) column=(type=char(255) updatewhereclause=yes initial="null" name=u_updatecostmx_mxdscrp dbname="u_updatecostmx.mxdscrp" ) column=(type=decimal(5) updatewhereclause=yes initial="null" name=u_updatecostmx_wareamt dbname="u_updatecostmx.wareamt" values="U Updatecostmx Wareamt /" ) column=(type=decimal(10) updatewhereclause=yes initial="null" name=u_updatecostmx_planprice dbname="u_updatecostmx.planprice" values="U Updatecostmx Planprice /" ) column=(type=decimal(10) updatewhereclause=yes initial="null" name=u_updatecostmx_newprice dbname="u_updatecostmx.newprice" values="U Updatecostmx Newprice /" ) column=(type=char(255) updatewhereclause=yes initial="null" name=u_updatecostmx_woodcode dbname="u_updatecostmx.woodcode" values="库存成本价调整单明细表-配置1 /" ) column=(type=char(255) updatewhereclause=yes initial="null" name=u_updatecostmx_pcode dbname="u_updatecostmx.pcode" values="库存成本价调整单明细表-配置2 /" ) column=(type=decimal(10) updatewhereclause=yes initial="null" name=u_updatecostmx_cost dbname="u_updatecostmx.cost" ) column=(type=datetime updatewhereclause=yes initial="null" name=u_updatecostmx_waredate dbname="u_updatecostmx.waredate" values="U Updatecostmx Waredate /" ) column=(type=char(30) updatewhereclause=yes initial="null" name=u_mtrldef_mtrlmode dbname="u_mtrldef.mtrlmode" ) column=(type=char(10) updatewhereclause=yes initial="null" name=u_mtrldef_unit dbname="u_mtrldef.unit" values="物料定义表-标准库存单位 /" ) column=(type=decimal(4) updatewhereclause=yes initial="null" name=u_mtrldef_packqty dbname="u_mtrldef.packqty" values="物料定义表-包装件数 /" ) column=(type=char(30) updatewhereclause=yes initial="null" name=u_mtrldef_prdpackcode dbname="u_mtrldef.prdpackcode" values="物料定义表-包装单位 /" ) column=(type=long updatewhereclause=yes initial="null" name=u_updatecostmx_mtrlwareid dbname="u_updatecostmx.mtrlwareid" values="库存成本价调整单明细表-库存ID /" ) column=(type=long updatewhereclause=yes initial="null" name=u_updatecostmx_mtrlid dbname="u_updatecostmx.mtrlid" values="库存成本价调整单明细表-物料ID /" ) column=(type=char(30) updatewhereclause=yes initial="null" name=u_mtrldef_mtrlsectype dbname="u_mtrldef.mtrlsectype" values="物料定义表-自定义1 /" ) column=(type=char(50) updatewhereclause=yes initial="null" name=u_mtrldef_zxmtrlmode dbname="u_mtrldef.zxmtrlmode" values="物料定义表-自定义2 /" ) column=(type=char(50) updatewhereclause=yes initial="null" name=sptname dbname="sptname" values="Sptname /" ) column=(type=char(20) updatewhereclause=yes initial="null" name=sptcode dbname="sptcode" values="Sptcode /" ) retrieve="SELECT u_mtrldef.mtrlcode, u_mtrldef.mtrlname, u_updatecostmx.newcost, u_updatecostmx.noallocqty, u_updatecostmx.plancode, u_updatecostmx.status, u_updatecostmx.mxdscrp, u_updatecostmx.wareamt, u_updatecostmx.planprice, u_updatecostmx.newprice, u_updatecostmx.woodcode, u_updatecostmx.pcode, u_updatecostmx.cost, u_updatecostmx.waredate, u_mtrldef.mtrlmode, u_mtrldef.unit, u_mtrldef.packqty, u_mtrldef.prdpackcode, u_updatecostmx.mtrlwareid, u_updatecostmx.mtrlid , u_mtrldef.mtrlsectype, u_mtrldef.zxmtrlmode, isnull(u_cust.name,'') as sptname, isnull(u_cust.cuscode,'') as sptcode FROM u_updatecostmx left outer join u_mtrlware on u_updatecostmx.mtrlwareid = u_mtrlware.mtrlwareid left outer join u_cust on ( u_mtrlware.sptid = u_cust.cusid ), u_mtrldef WHERE ( u_updatecostmx.mtrlid = u_mtrldef.mtrlid ) and ( u_updatecostmx.wareid = :arg_wareid ) AND ( u_updatecostmx.scid = :arg_scid )" arguments=(("arg_scid", number), ("arg_wareid", number)) ) text(name=u_updatecostmx_status_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" alignment="2" border="0" x="328" y="2" height="14" width="113" text="属性" ) text(name=u_updatecostmx_mxdscrp_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" alignment="2" border="0" x="680" y="2" height="14" width="59" text="明细备注" ) text(name=u_updatecostmx_noallocqty_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" alignment="2" border="0" x="443" y="2" height="14" width="82" text="数量" ) text(name=u_updatecostmx_cost_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" alignment="2" border="0" x="527" y="2" height="14" width="72" text="成本价" ) text(name=u_mtrldef_mtrlmode_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" alignment="2" border="0" x="228" y="2" height="14" width="98" text="规格" ) text(name=u_updatecostmx_newcost_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" alignment="2" border="0" x="601" y="2" height="14" width="77" text="新成本价" ) text(name=u_mtrldef_mtrlname_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" alignment="2" border="0" x="122" y="2" height="14" width="104" text="品名" ) text(name=u_mtrldef_mtrlcode_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" alignment="2" border="0" x="23" y="2" height="14" width="97" text="编码" ) text(name=t_1 visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" alignment="2" border="0" x="2" y="2" height="14" width="19" text="序" ) column(name=u_updatecostmx_status visible="1" tag="u_updatecostmx_status" band=detail id=6 x="328" y="2" height="15" width="113" 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="-9" font.pitch="2" font.weight="400" tabsequence=0 ) column(name=u_updatecostmx_mxdscrp visible="1" tag="u_updatecostmx_mxdscrp" band=detail id=7 x="680" y="2" height="15" width="59" 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=255 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="-9" font.pitch="2" font.weight="400" tabsequence=0 ) column(name=u_updatecostmx_noallocqty visible="1" tag="u_updatecostmx_noallocqty" band=detail id=4 x="443" y="2" height="15" width="82" color="0" border="0" alignment="1" format="#,###0.###" 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=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="-9" font.pitch="2" font.weight="400" tabsequence=0 ) column(name=u_updatecostmx_cost visible="1" tag="u_updatecostmx_cost" band=detail id=13 x="527" y="2" height="15" width="72" color="0" border="0" alignment="1" format="#,##0.##########" protect="0" edit.format="#,##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=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="-9" font.pitch="2" font.weight="400" tabsequence=0 ) column(name=u_mtrldef_mtrlmode visible="1" tag="u_mtrldef_mtrlmode" band=detail id=15 x="228" y="2" height="15" width="98" 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="-9" font.pitch="2" font.weight="400" tabsequence=0 ) column(name=u_updatecostmx_newcost visible="1" tag="u_updatecostmx_newcost" band=detail id=3 x="601" y="2" height="15" width="77" color="0" border="0" alignment="1" format="#,##0.##########" protect="0" edit.format="#,##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=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="-9" font.pitch="2" font.weight="400" tabsequence=0 ) column(name=u_mtrldef_mtrlname visible="1" tag="u_mtrldef_mtrlname" band=detail id=2 x="122" y="2" height="15" width="104" 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="-9" font.pitch="2" font.weight="400" tabsequence=0 ) column(name=u_mtrldef_mtrlcode visible="1" tag="u_mtrldef_mtrlcode" band=detail id=1 x="23" y="2" height="15" width="97" 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="-9" font.pitch="2" font.weight="400" tabsequence=0 ) compute(name=printid visible="1" tag="getrow()" band=detail font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" x="2" y="2" height="15" width="19" format="[GENERAL]" expression="getrow()" alignment="2" border="0" crosstab.repeat=no ) htmltable() htmlgen() export.xml(metadatatype=0 savemetadata=0 ) import.xml() export.pdf(method=0 )