$PBExportHeader$dw_saletask_scllmx_ch.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=68 color="536870912" ) summary(height=0 color="536870912" ) footer(height=64 color="536870912" ) detail(height=76 color="536870912" ) table(column=(type=long updatewhereclause=yes name=u_saletask_taskid dbname="u_SaleTask.TaskID" ) column=(type=char(15) updatewhereclause=yes name=u_saletask_taskcode dbname="u_SaleTask.TaskCode" ) column=(type=datetime updatewhereclause=yes name=u_saletask_taskdate dbname="u_SaleTask.taskdate" ) column=(type=datetime updatewhereclause=yes name=u_saletask_requiredate dbname="u_SaleTask.requiredate" ) column=(type=char(10) updatewhereclause=yes name=u_saletask_assign_emp dbname="u_SaleTask.Assign_Emp" ) column=(type=char(255) updatewhereclause=yes name=u_saletask_dscrp dbname="u_SaleTask.dscrp" ) column=(type=long updatewhereclause=yes name=u_saletask_moneyid dbname="u_SaleTask.moneyid" ) column=(type=char(30) updatewhereclause=yes name=u_saletask_relcode dbname="u_SaleTask.relcode" ) column=(type=char(50) updatewhereclause=yes name=u_saletask_freight dbname="u_SaleTask.freight" ) column=(type=char(50) updatewhereclause=yes name=u_saletask_freight_tele dbname="u_SaleTask.freight_tele" ) column=(type=char(4099) updatewhereclause=yes name=u_saletask_cus_address dbname="cus_address" ) column=(type=char(100) updatewhereclause=yes name=u_saletask_cus_tele dbname="u_SaleTask.cus_tele" ) column=(type=char(100) updatewhereclause=yes name=u_saletask_cus_fax dbname="u_SaleTask.cus_fax" ) 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=long updatewhereclause=yes name=u_saletask_cusid dbname="u_SaleTask.CusID" ) column=(type=long updatewhereclause=yes name=u_saletask_scid dbname="u_SaleTask.scid" ) column=(type=char(30) updatewhereclause=yes name=u_cust_rep dbname="u_cust.rep" ) retrieve="SELECT u_SaleTask.TaskID, u_SaleTask.TaskCode, u_SaleTask.taskdate, u_SaleTask.requiredate, u_SaleTask.Assign_Emp, u_SaleTask.dscrp, u_SaleTask.moneyid, u_SaleTask.relcode, u_SaleTask.freight, u_SaleTask.freight_tele, convert (text,u_SaleTask.cus_address) as cus_address, u_SaleTask.cus_tele, u_SaleTask.cus_fax, u_cust.cuscode, u_cust.name, u_SaleTask.CusID, u_SaleTask.scid, u_cust.rep FROM u_cust, u_SaleTask, uv_saletask_ifallinware WHERE ( u_SaleTask.CusID = u_cust.cusid ) AND ( u_SaleTask.Status = 1 ) AND ( u_SaleTask.scid = :arg_scid OR :arg_scid = -1 ) and ( u_cust.cusareaid in (:arg_areaid_arr) or u_cust.cusareaid = 0 ) and ( uv_saletask_ifallinware.taskid = u_SaleTask.taskid) and ( :arg_flag = 0 or ( :arg_flag = 1 and uv_saletask_ifallinware.if_inware = 0 ))" arguments=(("arg_scid", number),("arg_areaid_arr", numberlist),("arg_flag", number)) sort="u_saletask_requiredate D " ) text(band=header alignment="2" text="订单编号" border="0" color="0" x="9" y="8" height="56" width="370" html.valueishtml="0" name=u_saletask_taskcode_t visible="1" font.face="宋体" font.height="-9" 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="1070" y="8" height="56" width="320" html.valueishtml="0" name=u_saletask_requiredate_t visible="1" font.face="宋体" font.height="-9" 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="768" y="8" height="56" width="293" html.valueishtml="0" name=u_saletask_taskdate_t visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header alignment="2" text="相关号码 " border="0" color="33554432" x="389" y="8" height="56" width="370" html.valueishtml="0" name=u_saletask_relcode_t visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) text(band=header alignment="2" text="业务员" border="0" color="33554432" x="1399" y="8" height="56" width="462" html.valueishtml="0" name=u_saletask_assign_emp_t visible="1" font.face="宋体" font.height="-9" 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="1870" y="8" height="56" width="965" html.valueishtml="0" name=u_saletask_dscrp_t visible="1" 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=2 alignment="0" tabsequence=32766 border="0" color="0" x="9" y="4" height="68" width="370" format="[general]" html.valueishtml="0" name=u_saletask_taskcode tag="销售合同编号" visible="1" edit.limit=15 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="2" background.color="16777215" ) column(band=detail id=4 alignment="2" tabsequence=32766 border="0" color="0" x="1070" y="4" height="68" width="320" format="yyyy-mm-dd" html.valueishtml="0" name=u_saletask_requiredate tag="要求完成日期" 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="2" background.color="16777215" ) column(band=detail id=3 alignment="2" tabsequence=32766 border="0" color="0" x="768" y="4" height="68" width="293" format="yyyy-mm-dd" html.valueishtml="0" name=u_saletask_taskdate 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=8 alignment="0" tabsequence=32766 border="0" color="0" x="389" y="4" height="68" width="370" format="[general]" html.valueishtml="0" name=u_saletask_relcode 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=6 alignment="0" tabsequence=32766 border="0" color="0" x="1870" y="4" height="68" width="965" format="[general]" html.valueishtml="0" name=u_saletask_dscrp 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=5 alignment="0" tabsequence=32766 border="0" color="33554432" x="1399" y="4" height="68" width="462" 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="-9" font.weight="400" font.family="2" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" ) compute(band=footer alignment="2" expression="count(u_saletask_taskcode for all)"border="0" color="0" x="9" y="4" height="56" width="370" format="[general]" html.valueishtml="0" name=compute_1 visible="1" font.face="宋体" font.height="-9" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" ) 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" )