$PBExportHeader$dw_rp_saletaskmx_print_sc.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=18 color="536870912" ) summary(height=18 color="536870912" ) footer(height=0 color="536870912" ) detail(height=25 color="536870912" height.autosize=yes) table(column=(type=decimal(5) updatewhereclause=yes initial="null" name=u_saletaskmx_orderqty dbname="u_SaleTaskMx.orderqty" ) column=(type=char(255) updatewhereclause=yes initial="null" name=u_saletaskmx_mxdscrp dbname="u_SaleTaskMx.mxdscrp" ) column=(type=long updatewhereclause=yes initial="null" name=u_saletaskmx_taskid dbname="u_SaleTaskMx.TaskID" values="销售订单ID /" ) column=(type=long updatewhereclause=yes initial="null" name=u_saletaskmx_mtrlid dbname="u_SaleTaskMx.MtrlID" values="物料ID /" ) 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" ) column=(type=decimal(5) updatewhereclause=yes initial="null" name=u_saletaskmx_assignqty dbname="u_SaleTaskMx.assignQty" values="已排产数量 /" ) column=(type=char(30) updatewhereclause=yes initial="null" name=u_mtrldef_mtrlcode dbname="u_mtrldef.mtrlcode" ) column=(type=decimal(10) updatewhereclause=yes initial="null" name=u_saletaskmx_price dbname="u_SaleTaskMx.Price" values="实际单价 /" ) column=(type=char(10) updatewhereclause=yes initial="null" name=u_mtrldef_unit dbname="u_mtrldef.unit" ) column=(type=decimal(10) updatewhereclause=yes initial="null" name=u_saletaskmx_fprice dbname="u_SaleTaskMx.fprice" values="人民币单价 /" ) column=(type=decimal(5) updatewhereclause=yes initial="null" name=u_saletaskmx_rebate dbname="u_SaleTaskMx.rebate" values="折扣 /" ) column=(type=long updatewhereclause=yes initial="null" name=u_saletaskmx_printid dbname="u_SaleTaskMx.printid" values="序号 /" ) column=(type=char(255) updatewhereclause=yes initial="null" name=u_saletaskmx_status dbname="u_SaleTaskMx.status" ) retrieve="SELECT u_saletaskmx.orderqty, u_SaleTaskMx.mxdscrp, u_SaleTaskMx.TaskID, u_SaleTaskMx.MtrlID, u_mtrldef.mtrlname as mtrlname, u_mtrldef.mtrlmode, u_SaleTaskMx.assignQty, u_mtrldef.mtrlcode, u_SaleTaskMx.Price, u_mtrldef.unit, u_SaleTaskMx.fprice, u_SaleTaskMx.rebate, u_SaleTaskMx.printid , u_SaleTaskMx.status FROM u_SaleTaskMx, u_mtrldef WHERE ( u_SaleTaskMx.MtrlID = u_mtrldef.mtrlid ) and ( u_SaleTaskMx.TaskID = :taskid ) and ( u_SaleTaskMx.scid = :arg_scid ) and ( :arg_printrow = :arg_printrow ) and ( :arg_top = :arg_top ) union all SELECT TOP :arg_top null, null, null, null, null, null, null, null, null, null, null,null, 10000, null FROM syscolumns " arguments=(("arg_scid", number), ("taskid", number), ("arg_printrow", number), ("arg_top", number)) ) group(level=1 header.height=0 trailer.height=17 by=("aa" ) header.color="536870912" header.pointer="aa" trailer.color="536870912" newpage=yes ) compute(name=aa visible="1 if(0=0,0,1)" tag="ceiling( getrow() / arg_printrow )" band=background font.charset="0" font.face="Arial" font.family="2" font.height="-12" font.pitch="2" font.weight="400" background.mode="2" background.color="1073741824" color="33554432" x="1342" y="50" height="19" width="55" format="[GENERAL]" expression="ceiling( getrow() / arg_printrow )" alignment="0" border="0" crosstab.repeat=no ) 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_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="129" text="编码" ) 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="148" y="2" height="15" width="120" 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="452" y="2" height="15" width="66" text="库存单位" ) text(name=u_mtrldef_mtrlmode_t visible="1" band=header font.charset="0" font.face="宋体" font.family="2" font.height="-10" font.pitch="2" font.weight="400" background.mode="2" background.color="1073741824" color="33554432" alignment="2" border="0" x="270" y="2" height="15" width="89" text="规格" ) text(name=u_saletaskmx_status_t visible="1" band=header font.charset="0" font.face="宋体" font.family="2" font.height="-10" font.pitch="2" font.weight="400" background.mode="2" background.color="1073741824" color="33554432" alignment="2" border="0" x="361" y="2" height="15" width="89" text="颜色" ) text(name=u_saletaskmx_orderqty_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="520" y="2" height="15" width="72" text="排产数" ) text(name=u_saletaskmx_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="594" y="2" height="15" width="115" text="明细备注" ) compute(name=compute_3 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="700" background.mode="2" background.color="16777215" color="0" x="148" y="1" height="16" width="120" format="[general]" expression="count(u_mtrldef_mtrlname for all)" alignment="2" 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="700" background.mode="2" background.color="16777215" color="0" alignment="2" border="0" x="17" y="1" height="16" width="129" text="合计:" ) compute(name=compute_2 visible="1" tag="sum( u_saletaskmx_orderqty 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="1073741824" color="33554432" x="520" y="1" height="15" width="72" format="##,##0.#####" expression="sum( u_saletaskmx_orderqty for all)" alignment="1" border="0" crosstab.repeat=no ) compute(name=cmpl1 visible="1" tag="getrow()" 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="4" height="20" width="13" format="[general]" expression="getrow()" alignment="2" border="0" crosstab.repeat=no ) column(name=u_mtrldef_mtrlname visible="1" tag="u_mtrldef_mtrlname" band=detail id=5 x="148" y="4" height="20" width="120" 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=yes 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="0" font.height="-10" font.pitch="2" font.weight="400" tabsequence=10 ) column(name=u_mtrldef_unit visible="1" tag="u_mtrldef_unit" band=detail id=10 x="452" y="4" height="20" width="66" 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="0" 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=8 x="17" y="4" height="20" width="129" 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="0" 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=6 x="270" y="4" height="20" width="89" 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="0" font.height="-9" font.pitch="2" font.weight="400" tabsequence=20 ) column(name=u_saletaskmx_status visible="1" tag="u_saletaskmx_status" band=detail id=14 x="361" y="4" height="20" width="89" 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="0" font.height="-10" font.pitch="2" font.weight="400" tabsequence=30 ) column(name=u_saletaskmx_mxdscrp visible="1" tag="u_saletaskmx_mxdscrp" height.autosize=yes band=detail id=2 x="594" y="4" height="20" width="115" 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="0" font.height="-10" font.pitch="2" font.weight="400" tabsequence=50 ) column(name=u_saletaskmx_orderqty visible="1" tag="u_saletaskmx_orderqty" band=detail id=1 x="520" y="4" height="20" width="72" color="0" border="0" alignment="1" format="##,##0.#####" 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="2" background.color="16777215" font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" tabsequence=40 ) compute(name=compute_6 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="700" background.mode="2" background.color="16777215" color="0" x="148" y="1" height="15" width="120" format="[general]" expression="count(u_mtrldef_mtrlname for group 1)" alignment="2" border="0" crosstab.repeat=no ) text(name=t_7 visible="1" band=trailer.1 font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="700" background.mode="2" background.color="1073741824" color="33554432" alignment="2" border="0" x="17" y="1" height="15" width="129" text="本页小计" ) compute(name=compute_1 visible="1" tag="sum( u_saletaskmx_orderqty 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="520" y="1" height="15" width="72" format="##,##0.#####" expression="sum( u_saletaskmx_orderqty for group 1)" alignment="1" border="0" crosstab.repeat=no ) htmltable() htmlgen() export.xml(metadatatype=0 savemetadata=0 ) import.xml() export.pdf(method=0 )