dw_saletask_scllmx_ch.srd 8.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. $PBExportHeader$dw_saletask_scllmx_ch.srd
  2. release 9;
  3. 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 )
  4. header(height=68 color="536870912" )
  5. summary(height=0 color="536870912" )
  6. footer(height=64 color="536870912" )
  7. detail(height=76 color="536870912" )
  8. table(column=(type=long updatewhereclause=yes name=u_saletask_taskid dbname="u_SaleTask.TaskID" )
  9. column=(type=char(15) updatewhereclause=yes name=u_saletask_taskcode dbname="u_SaleTask.TaskCode" )
  10. column=(type=datetime updatewhereclause=yes name=u_saletask_taskdate dbname="u_SaleTask.taskdate" )
  11. column=(type=datetime updatewhereclause=yes name=u_saletask_requiredate dbname="u_SaleTask.requiredate" )
  12. column=(type=char(10) updatewhereclause=yes name=u_saletask_assign_emp dbname="u_SaleTask.Assign_Emp" )
  13. column=(type=char(255) updatewhereclause=yes name=u_saletask_dscrp dbname="u_SaleTask.dscrp" )
  14. column=(type=long updatewhereclause=yes name=u_saletask_moneyid dbname="u_SaleTask.moneyid" )
  15. column=(type=char(30) updatewhereclause=yes name=u_saletask_relcode dbname="u_SaleTask.relcode" )
  16. column=(type=char(50) updatewhereclause=yes name=u_saletask_freight dbname="u_SaleTask.freight" )
  17. column=(type=char(50) updatewhereclause=yes name=u_saletask_freight_tele dbname="u_SaleTask.freight_tele" )
  18. column=(type=char(4099) updatewhereclause=yes name=u_saletask_cus_address dbname="cus_address" )
  19. column=(type=char(100) updatewhereclause=yes name=u_saletask_cus_tele dbname="u_SaleTask.cus_tele" )
  20. column=(type=char(100) updatewhereclause=yes name=u_saletask_cus_fax dbname="u_SaleTask.cus_fax" )
  21. column=(type=char(20) updatewhereclause=yes name=u_cust_cuscode dbname="u_cust.cuscode" )
  22. column=(type=char(50) updatewhereclause=yes name=u_cust_name dbname="u_cust.name" )
  23. column=(type=long updatewhereclause=yes name=u_saletask_cusid dbname="u_SaleTask.CusID" )
  24. column=(type=long updatewhereclause=yes name=u_saletask_scid dbname="u_SaleTask.scid" )
  25. column=(type=char(30) updatewhereclause=yes name=u_cust_rep dbname="u_cust.rep" )
  26. retrieve="SELECT u_SaleTask.TaskID,
  27. u_SaleTask.TaskCode,
  28. u_SaleTask.taskdate,
  29. u_SaleTask.requiredate,
  30. u_SaleTask.Assign_Emp,
  31. u_SaleTask.dscrp,
  32. u_SaleTask.moneyid,
  33. u_SaleTask.relcode,
  34. u_SaleTask.freight,
  35. u_SaleTask.freight_tele,
  36. convert (text,u_SaleTask.cus_address) as cus_address,
  37. u_SaleTask.cus_tele,
  38. u_SaleTask.cus_fax,
  39. u_cust.cuscode,
  40. u_cust.name,
  41. u_SaleTask.CusID,
  42. u_SaleTask.scid,
  43. u_cust.rep
  44. FROM u_cust,
  45. u_SaleTask,
  46. uv_saletask_ifallinware
  47. WHERE ( u_SaleTask.CusID = u_cust.cusid ) AND
  48. ( u_SaleTask.Status = 1 ) AND
  49. ( u_SaleTask.scid = :arg_scid OR :arg_scid = -1 ) and
  50. ( u_cust.cusareaid in (:arg_areaid_arr) or u_cust.cusareaid = 0 ) and
  51. ( uv_saletask_ifallinware.taskid = u_SaleTask.taskid) and
  52. ( :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 " )
  53. 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" )
  54. 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" )
  55. 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" )
  56. 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" )
  57. 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" )
  58. 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" )
  59. 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" )
  60. 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" )
  61. 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" )
  62. 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" )
  63. 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" )
  64. 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" )
  65. 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" )
  66. htmltable(border="1" )
  67. htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
  68. export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
  69. import.xml()
  70. export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )