$PBExportHeader$dw_rp_outwaremx_sale_index_ls.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=yes) header(height=25 color="536870912" ) summary(height=19 color="536870912" ) footer(height=0 color="536870912" ) detail(height=30 color="536870912" height.autosize=yes) table(column=(type=decimal(4) updatewhereclause=yes initial="null" name=u_outwaremx_qty dbname="u_outwaremx.qty" ) column=(type=char(30) updatewhereclause=yes initial="null" name=u_mtrldef_mtrlcode dbname="u_mtrldef.mtrlcode" values="编码 /" ) column=(type=char(50) updatewhereclause=yes initial="null" name=u_mtrldef_mtrlname dbname="u_mtrldef.mtrlname" ) column=(type=char(30) updatewhereclause=yes initial="null" name=u_mtrldef_mtrlmode dbname="u_mtrldef.mtrlmode" values="规格 /" ) column=(type=char(10) updatewhereclause=yes initial="null" name=u_mtrldef_unit dbname="u_mtrldef.unit" values="标准库存单位 /" ) column=(type=char(30) updatewhereclause=yes initial="null" name=u_mtrldef_barcode dbname="u_mtrldef.barcode" ) column=(type=char(255) updatewhereclause=yes initial="null" name=u_outwaremx_status dbname="u_outwaremx.status" values="规格说明 /" ) column=(type=char(255) updatewhereclause=yes initial="null" name=u_outwaremx_mxdscrp dbname="u_outwaremx.mxdscrp" values="明细备注 /" ) column=(type=decimal(10) updatewhereclause=yes initial="null" name=u_outwaremx_price dbname="u_outwaremx.price" ) column=(type=long updatewhereclause=yes initial="null" name=u_outwaremx_packqty dbname="u_outwaremx.packqty" values="包装数 /" ) column=(type=char(14) updatewhereclause=yes initial="null" name=relcode dbname="relcode" values="Relcode /" ) column=(type=long updatewhereclause=yes initial="null" name=u_outwaremx_printid dbname="u_outwaremx.printid" values="序号 /" ) retrieve="SELECT u_outwaremx.qty, u_mtrldef.mtrlcode, u_mtrldef.mtrlname, u_mtrldef.mtrlmode, u_mtrldef.unit, u_mtrldef.barcode, u_outwaremx.status, u_outwaremx.mxdscrp, u_outwaremx.price, u_outwaremx.packqty, right(ltrim(rtrim(u_outwaremx.relcode)),7) as relcode , u_outwaremx.printid FROM u_mtrldef, u_outwaremx WHERE ( u_mtrldef.mtrlid = u_outwaremx.mtrlid ) and ( u_outwaremx.outwareid = :arg_outwareid ) and ( u_outwaremx.scid = :arg_scid ) and ( :arg_printrow = :arg_printrow ) and ( :arg_top = :arg_top ) " arguments=(("arg_scid", number), ("arg_outwareid", number), ("arg_printrow", number), ("arg_top", number)) ) text(name=t_2 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="6" height="15" width="17" text="序" ) text(name=u_mtrldef_mtrlname_t visible="1" height.autosize=yes band=header font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="1" background.color="536870912" color="0" alignment="2" border="0" x="21" y="6" height="15" width="107" text="商品名称" ) text(name=u_mtrldef_barcode_t visible="1" height.autosize=yes band=header 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="130" y="6" height="15" width="68" text="商品条码" ) text(name=u_outwaremx_qty_t visible="1" height.autosize=yes band=header font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="1" background.color="536870912" color="0" alignment="2" border="0" x="200" y="6" height="15" width="42" text="数量" ) text(name=amt_t visible="1" height.autosize=yes band=header 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="298" y="6" height="15" width="66" text="金额" ) text(name=u_outwaremx_price_t visible="1" height.autosize=yes band=header font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="1" background.color="536870912" color="0" alignment="2" border="0" x="244" y="6" height="15" width="52" text="单价" ) compute(name=compute_2 visible="1" tag="sum(u_outwaremx_qty for all)" band=summary font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="1" background.color="536870912" color="0" x="200" y="1" height="17" width="42" format="#,##0.####" expression="sum(u_outwaremx_qty for all)" alignment="1" border="0" crosstab.repeat=no ) text(name=t_5 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="1073741824" color="33554432" alignment="2" border="0" x="21" y="1" height="17" width="107" text="合计" ) compute(name=compute_1 visible="1" tag="sum(u_outwaremx_price * u_outwaremx_qty for all)" band=summary font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="1" background.color="536870912" color="0" x="298" y="1" height="17" width="66" format="#,##0.00" expression="sum(u_outwaremx_price * u_outwaremx_qty for all)" alignment="1" border="0" crosstab.repeat=no ) compute(name=cmpl1 visible="1" tag="getrow()" height.autosize=yes band=detail 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="2" y="5" height="20" width="17" format="[general]" expression="getrow()" alignment="2" border="0" crosstab.repeat=no ) column(name=u_mtrldef_mtrlname visible="1" tag="u_mtrldef_mtrlname" height.autosize=yes band=detail id=3 x="21" y="5" height="20" width="107" 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="1" background.color="536870912" font.charset="134" font.face="宋体" font.family="2" font.height="-10" font.pitch="2" font.weight="400" tabsequence=0 ) column(name=u_outwaremx_qty visible="1" tag="u_outwaremx_qty" height.autosize=yes band=detail id=1 x="200" y="5" height="20" width="42" 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="1" background.color="536870912" font.charset="134" font.face="宋体" font.family="2" font.height="-10" font.pitch="2" font.weight="400" tabsequence=0 ) compute(name=amt visible="1" tag="u_outwaremx_price * u_outwaremx_qty" height.autosize=yes band=detail font.charset="134" font.face="宋体" font.family="2" font.height="-10" font.pitch="2" font.weight="400" background.mode="1" background.color="536870912" color="0" x="298" y="5" height="20" width="66" format="#,##0.00" expression="u_outwaremx_price * u_outwaremx_qty" alignment="1" border="0" crosstab.repeat=no ) column(name=u_outwaremx_price visible="1" tag="u_outwaremx_price" height.autosize=yes band=detail id=9 x="244" y="5" height="20" width="52" color="0" border="0" alignment="1" format="#,##0.00########" 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="1" background.color="536870912" font.charset="134" font.face="宋体" font.family="2" font.height="-10" font.pitch="2" font.weight="400" tabsequence=0 ) column(name=u_mtrldef_barcode visible="1" tag="u_mtrldef_barcode" height.autosize=yes band=detail id=6 x="130" y="5" height="20" width="68" color="0" border="0" alignment="2" format="[general]" protect="0" edit.focusrectangle=no edit.autohscroll=no edit.autoselect=no 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="1" background.color="536870912" font.charset="134" font.face="宋体" font.family="2" font.height="-10" font.pitch="2" font.weight="400" tabsequence=0 ) htmltable() htmlgen() export.xml(metadatatype=0 savemetadata=0 ) import.xml() export.pdf(method=0 )