dw_rp_saletaskmx_day_print.srd 14 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. $PBExportHeader$dw_rp_saletaskmx_day_print.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=72 color="536870912" )
  5. summary(height=72 color="536870912" )
  6. footer(height=0 color="536870912" )
  7. detail(height=88 color="536870912" height.autosize=yes)
  8. table(column=(type=datetime updatewhereclause=yes name=u_saletask_requiredate dbname="u_SaleTask.requiredate" )
  9. column=(type=char(15) updatewhereclause=yes name=u_saletask_taskcode dbname="u_SaleTask.taskcode" )
  10. column=(type=char(10) updatewhereclause=yes name=u_saletask_assign_emp dbname="u_SaleTask.assign_emp" )
  11. column=(type=char(20) updatewhereclause=yes name=u_cust_cuscode dbname="u_cust.cuscode" )
  12. column=(type=char(50) updatewhereclause=yes name=u_cust_name dbname="u_cust.name" )
  13. column=(type=decimal(4) update=yes updatewhereclause=yes name=saleqty dbname="u_SaleTaskMx.SaleQty" )
  14. column=(type=char(255) updatewhereclause=yes name=u_saletaskmx_mxdscrp dbname="u_SaleTaskMx.mxdscrp" )
  15. column=(type=long updatewhereclause=yes name=taskid dbname="u_SaleTaskMx.TaskID" )
  16. column=(type=long updatewhereclause=yes name=mtrlid dbname="u_SaleTaskMx.MtrlID" )
  17. column=(type=char(50) updatewhereclause=yes name=mtrlname dbname="u_mtrldef.mtrlname" )
  18. column=(type=char(30) updatewhereclause=yes name=u_mtrldef_mtrlmode dbname="u_mtrldef.mtrlmode" )
  19. column=(type=char(30) updatewhereclause=yes name=u_mtrldef_mtrlcode dbname="u_mtrldef.mtrlcode" )
  20. column=(type=char(10) updatewhereclause=yes name=u_mtrldef_unit dbname="u_mtrldef.unit" )
  21. column=(type=long updatewhereclause=yes name=u_saletaskmx_printid dbname="u_SaleTaskMx.printid" )
  22. column=(type=char(255) updatewhereclause=yes name=u_saletaskmx_status dbname="u_SaleTaskMx.status" )
  23. retrieve=" SELECT u_saletask.requiredate,
  24. u_saletask.taskcode,
  25. u_saletask.assign_emp,
  26. u_cust.cuscode,
  27. u_cust.name,
  28. u_SaleTaskMx.SaleQty,
  29. u_SaleTaskMx.mxdscrp,
  30. u_SaleTaskMx.TaskID,
  31. u_SaleTaskMx.MtrlID,
  32. u_mtrldef.mtrlname as mtrlname,
  33. u_mtrldef.mtrlmode,
  34. u_mtrldef.mtrlcode,
  35. u_mtrldef.unit,
  36. u_SaleTaskMx.printid ,
  37. u_SaleTaskMx.status
  38. FROM u_SaleTaskMx,u_saletask,
  39. u_mtrldef,u_cust
  40. WHERE ( u_SaleTaskMx.MtrlID = u_mtrldef.mtrlid ) and
  41. ( u_SaleTaskMx.taskid = u_saletask.taskid ) and
  42. ( u_SaleTaskMx.scid = u_saletask.scid ) and
  43. ( u_saletask.cusid = u_cust.cusid ) and
  44. ( u_saletask.taskdate >= :arg_firstdate ) and
  45. ( u_saletask.taskdate <= :arg_enddate )
  46. " arguments=(("arg_firstdate", datetime),("arg_enddate", datetime)) sort="u_saletaskmx_printid A " )
  47. 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" )
  48. 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" )
  49. 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" )
  50. 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" )
  51. 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" )
  52. 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" )
  53. 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" )
  54. 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" )
  55. 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" )
  56. 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" )
  57. 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" )
  58. 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" )
  59. 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" )
  60. 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" )
  61. 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" )
  62. 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" )
  63. 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" )
  64. 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" )
  65. 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" )
  66. 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" )
  67. 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" )
  68. 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" )
  69. 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" )
  70. 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" )
  71. 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" )
  72. 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" )
  73. 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" )
  74. 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" )
  75. 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" )
  76. 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" )
  77. sparse(names="u_saletask_assign_emp u_saletask_requiredate u_cust_cuscode u_cust_name u_saletask_taskcode")htmltable(border="1" )
  78. htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
  79. export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
  80. import.xml()
  81. export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )