$PBExportHeader$dw_rp_saletaskmx_day_print.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 ) header(height=72 color="536870912" ) summary(height=72 color="536870912" ) footer(height=0 color="536870912" ) detail(height=88 color="536870912" height.autosize=yes) table(column=(type=datetime updatewhereclause=yes name=u_saletask_requiredate dbname="u_SaleTask.requiredate" ) column=(type=char(15) updatewhereclause=yes name=u_saletask_taskcode dbname="u_SaleTask.taskcode" ) column=(type=char(10) updatewhereclause=yes name=u_saletask_assign_emp dbname="u_SaleTask.assign_emp" ) column=(type=char(20) updatewhereclause=yes name=u_cust_cuscode dbname="u_cust.cuscode" ) column=(type=char(50) updatewhereclause=yes name=u_cust_name dbname="u_cust.name" ) column=(type=decimal(4) update=yes updatewhereclause=yes name=saleqty dbname="u_SaleTaskMx.SaleQty" ) column=(type=char(255) updatewhereclause=yes name=u_saletaskmx_mxdscrp dbname="u_SaleTaskMx.mxdscrp" ) column=(type=long updatewhereclause=yes name=taskid dbname="u_SaleTaskMx.TaskID" ) column=(type=long updatewhereclause=yes name=mtrlid dbname="u_SaleTaskMx.MtrlID" ) column=(type=char(50) updatewhereclause=yes name=mtrlname dbname="u_mtrldef.mtrlname" ) column=(type=char(30) updatewhereclause=yes name=u_mtrldef_mtrlmode dbname="u_mtrldef.mtrlmode" ) column=(type=char(30) updatewhereclause=yes name=u_mtrldef_mtrlcode dbname="u_mtrldef.mtrlcode" ) column=(type=char(10) updatewhereclause=yes name=u_mtrldef_unit dbname="u_mtrldef.unit" ) column=(type=long updatewhereclause=yes name=u_saletaskmx_printid dbname="u_SaleTaskMx.printid" ) column=(type=char(255) updatewhereclause=yes name=u_saletaskmx_status dbname="u_SaleTaskMx.status" ) retrieve=" SELECT u_saletask.requiredate, u_saletask.taskcode, u_saletask.assign_emp, u_cust.cuscode, u_cust.name, u_SaleTaskMx.SaleQty, u_SaleTaskMx.mxdscrp, u_SaleTaskMx.TaskID, u_SaleTaskMx.MtrlID, u_mtrldef.mtrlname as mtrlname, u_mtrldef.mtrlmode, u_mtrldef.mtrlcode, u_mtrldef.unit, u_SaleTaskMx.printid , u_SaleTaskMx.status FROM u_SaleTaskMx,u_saletask, u_mtrldef,u_cust WHERE ( u_SaleTaskMx.MtrlID = u_mtrldef.mtrlid ) and ( u_SaleTaskMx.taskid = u_saletask.taskid ) and ( u_SaleTaskMx.scid = u_saletask.scid ) and ( u_saletask.cusid = u_cust.cusid ) and ( u_saletask.taskdate >= :arg_firstdate ) and ( u_saletask.taskdate <= :arg_enddate ) " arguments=(("arg_firstdate", datetime),("arg_enddate", datetime)) sort="u_saletaskmx_printid A " ) compute(band=background alignment="0" expression="/* ceiling( getrow() / arg_printrow ) */"border="0" color="33554432" x="7045" y="200" height="76" width="251" format="[GENERAL]" html.valueishtml="0" name=aa visible="1~tif(0=0,0,1)" font.face="Arial" font.height="-12" 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="0" x="9" y="8" height="60" width="59" html.valueishtml="0" name=t_1 visible="1" font.face="宋体" font.height="-10" 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="0" x="1678" y="8" height="60" width="393" html.valueishtml="0" name=u_mtrldef_mtrlcode_t visible="1" font.face="宋体" font.height="-10" 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="0" x="2080" y="8" height="60" width="526" html.valueishtml="0" name=t_2 visible="1" font.face="宋体" font.height="-10" 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="0" x="3543" y="8" height="60" width="251" html.valueishtml="0" name=t_3 visible="1" font.face="宋体" font.height="-10" 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="0" x="3282" y="8" height="60" width="251" html.valueishtml="0" name=u_mtrldef_unit_t visible="1" font.face="宋体" font.height="-10" 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="2615" y="8" height="60" width="402" html.valueishtml="0" name=u_mtrldef_mtrlmode_t visible="1" font.face="宋体" font.height="-10" 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="33554432" x="3026" y="8" height="60" width="247" html.valueishtml="0" name=u_saletaskmx_status_t visible="1" font.face="宋体" font.height="-10" 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="0" x="3803" y="8" height="60" width="352" html.valueishtml="0" name=u_saletaskmx_mxdscrp_t visible="1" font.face="宋体" font.height="-10" 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="78" y="8" height="60" width="361" html.valueishtml="0" name=u_saletask_taskcode_t visible="1" font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" ) text(band=header alignment="2" text="客户编号" border="0" color="33554432" x="448" y="8" height="60" width="306" html.valueishtml="0" name=u_cust_cuscode_t visible="1" font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" ) text(band=header alignment="2" text="客户名称" border="0" color="33554432" x="763" y="8" height="60" width="448" html.valueishtml="0" name=u_cust_name_t visible="1" font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" ) text(band=header alignment="2" text="业务员" border="0" color="33554432" x="1221" y="8" height="60" width="229" html.valueishtml="0" name=u_saletask_assign_emp_t visible="1" font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" ) text(band=header alignment="2" text="交货期" border="0" color="33554432" x="1458" y="8" height="60" width="210" html.valueishtml="0" name=u_saletask_requiredate_t visible="1" font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" ) compute(band=detail alignment="2" expression="getrow()"border="0" color="0" x="9" y="4" height="76" width="59" format="[general]" html.valueishtml="0" name=cmpl1 visible="1" font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" ) column(band=detail id=10 alignment="0" tabsequence=60 border="0" color="0" x="2080" y="4" height="76" width="526" format="[general]" html.valueishtml="0" name=mtrlname visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 edit.displayonly=yes font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" ) column(band=detail id=13 alignment="2" tabsequence=32766 border="0" color="0" x="3282" y="4" height="76" width="251" format="[general]" html.valueishtml="0" name=u_mtrldef_unit visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" ) column(band=detail id=6 alignment="1" tabsequence=32766 border="0" color="0" x="3543" y="4" height="76" width="251" format="#,##0.0###" html.valueishtml="0" name=saleqty visible="1" edit.limit=0 edit.case=any edit.format="#######0.00" edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" ) column(band=detail id=12 alignment="0" tabsequence=32766 border="0" color="0" x="1678" y="4" height="76" width="393" format="[general]" html.valueishtml="0" name=u_mtrldef_mtrlcode visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" ) column(band=detail id=11 alignment="0" tabsequence=70 border="0" color="0" x="2615" y="4" height="76" width="402" 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="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" ) column(band=detail id=15 alignment="0" tabsequence=80 border="0" color="0" x="3026" y="4" height="76" width="247" format="[general]" html.valueishtml="0" name=u_saletaskmx_status visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" ) column(band=detail id=7 alignment="0" tabsequence=90 border="0" color="0" x="3803" y="4" height="76" width="352" format="[general]" html.valueishtml="0" name=u_saletaskmx_mxdscrp visible="1" height.autosize=yes edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" ) column(band=detail id=2 alignment="0" tabsequence=10 border="0" color="0" x="78" y="4" height="76" width="361" format="[general]" html.valueishtml="0" name=u_saletask_taskcode visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" ) column(band=detail id=4 alignment="0" tabsequence=20 border="0" color="0" x="448" y="4" height="76" width="306" format="[general]" html.valueishtml="0" name=u_cust_cuscode visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" ) column(band=detail id=5 alignment="0" tabsequence=30 border="0" color="0" x="763" y="4" height="76" width="448" format="[general]" html.valueishtml="0" name=u_cust_name visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" ) column(band=detail id=3 alignment="0" tabsequence=40 border="0" color="0" x="1221" y="4" height="76" width="229" format="[general]" html.valueishtml="0" name=u_saletask_assign_emp visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" ) column(band=detail id=1 alignment="2" tabsequence=50 border="0" color="0" x="1458" y="4" height="76" width="210" format="mm/dd" html.valueishtml="0" name=u_saletask_requiredate visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" ) compute(band=summary alignment="2" expression="count(mtrlname for all)"border="0" color="0" x="2080" y="4" height="64" width="526" format="[general]" html.valueishtml="0" name=compute_3 visible="1" font.face="宋体" font.height="-10" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" ) text(band=summary alignment="2" text="合计:" border="0" color="0" x="1678" y="4" height="64" width="393" html.valueishtml="0" name=t_5 visible="1" font.face="宋体" font.height="-10" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" ) compute(band=summary alignment="1" expression="sum(saleqty for all)"border="0" color="0" x="3543" y="4" height="60" width="251" format="#,##0.0###" html.valueishtml="0" name=compute_5 visible="1" font.face="宋体" font.height="-10" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" ) sparse(names="u_saletask_assign_emp u_saletask_requiredate u_cust_cuscode u_cust_name u_saletask_taskcode")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" )