dw_saletask_scllmx_ch.srd 13 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. $PBExportHeader$dw_saletask_scllmx_ch.srd
  2. release 9;
  3. datawindow(units=0 timer_interval=0 color=1073741824 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 selected.mouse=no )
  4. header(height=68 color="536870912" )
  5. summary(height=0 color="536870912" )
  6. footer(height=72 color="536870912" )
  7. detail(height=80 color="536870912" )
  8. table(column=(type=long update=yes updatewhereclause=yes name=scid dbname="u_saleRqMtrl_scll.scid" )
  9. column=(type=long update=yes updatewhereclause=yes name=taskid dbname="u_saleRqMtrl_scll.taskID" )
  10. column=(type=long update=yes updatewhereclause=yes name=mtrlid dbname="u_saleRqMtrl_scll.MtrlID" )
  11. column=(type=long update=yes updatewhereclause=yes name=printid dbname="u_saleRqMtrl_scll.printid" )
  12. column=(type=decimal(10) update=yes updatewhereclause=yes name=truerqqty dbname="u_saleRqMtrl_scll.trueRqqty" )
  13. column=(type=decimal(10) update=yes updatewhereclause=yes name=dstrqty dbname="u_saleRqMtrl_scll.DstrQty" )
  14. column=(type=decimal(5) update=yes updatewhereclause=yes name=costamt dbname="u_saleRqMtrl_scll.costamt" )
  15. column=(type=char(255) update=yes updatewhereclause=yes name=status dbname="u_saleRqMtrl_scll.status" )
  16. column=(type=char(255) update=yes updatewhereclause=yes name=woodcode dbname="u_saleRqMtrl_scll.woodcode" )
  17. column=(type=char(255) update=yes updatewhereclause=yes name=pcode dbname="u_saleRqMtrl_scll.pcode" )
  18. column=(type=long update=yes updatewhereclause=yes name=ctmint dbname="u_saleRqMtrl_scll.ctmint" )
  19. column=(type=long update=yes updatewhereclause=yes name=ifchanged dbname="u_saleRqMtrl_scll.ifchanged" values=" 1/ 0" )
  20. column=(type=decimal(10) update=yes updatewhereclause=yes name=truerqqty_ori dbname="u_saleRqMtrl_scll.truerqqty_ori" )
  21. column=(type=decimal(10) update=yes updatewhereclause=yes name=wsdstrqty dbname="u_saleRqMtrl_scll.wsdstrqty" )
  22. column=(type=long update=yes updatewhereclause=yes name=rqmtrlid dbname="u_saleRqMtrl_scll.rqmtrlid" )
  23. column=(type=char(30) updatewhereclause=yes name=u_mtrldef_mtrlcode dbname="u_mtrldef.mtrlcode" )
  24. column=(type=char(50) updatewhereclause=yes name=u_mtrldef_mtrlname dbname="u_mtrldef.mtrlname" )
  25. column=(type=decimal(10) updatewhereclause=yes name=notdstrqty dbname="notDstrQty" )
  26. column=(type=char(30) updatewhereclause=yes name=u_mtrldef_mtrlmode dbname="u_mtrldef.mtrlmode" )
  27. retrieve=" SELECT u_saleRqMtrl_scll.scid,
  28. u_saleRqMtrl_scll.taskID,
  29. u_saleRqMtrl_scll.MtrlID,
  30. u_saleRqMtrl_scll.printid,
  31. u_saleRqMtrl_scll.trueRqqty,
  32. u_saleRqMtrl_scll.DstrQty,
  33. u_saleRqMtrl_scll.costamt,
  34. u_saleRqMtrl_scll.status,
  35. u_saleRqMtrl_scll.woodcode,
  36. u_saleRqMtrl_scll.pcode,
  37. u_saleRqMtrl_scll.ctmint,
  38. u_saleRqMtrl_scll.ifchanged,
  39. u_saleRqMtrl_scll.truerqqty_ori,
  40. u_saleRqMtrl_scll.wsdstrqty,
  41. u_saleRqMtrl_scll.rqmtrlid,
  42. u_mtrldef.mtrlcode,
  43. u_mtrldef.mtrlname,
  44. u_saleRqMtrl_scll.truerqqty - u_saleRqMtrl_scll.DstrQty as notDstrQty,
  45. u_mtrldef.mtrlmode
  46. FROM u_saleRqMtrl_scll,
  47. u_mtrldef
  48. where u_saleRqMtrl_scll.mtrlid = u_mtrldef.mtrlid and
  49. u_saleRqMtrl_scll.scid = :arg_scid and
  50. u_saleRqMtrl_scll.taskID = :arg_taskid and
  51. u_saleRqMtrl_scll.printid = :arg_printid" arguments=(("arg_scid", number),("arg_taskid", number),("arg_printid", number)) )
  52. text(band=header alignment="2" text="物料编码" border="0" color="33554432" x="9" y="8" height="56" width="393" html.valueishtml="0" name=u_mtrldef_mtrlcode_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="1073741824" )
  53. text(band=header alignment="2" text="物料名称" border="0" color="33554432" x="411" y="8" height="56" width="526" html.valueishtml="0" name=u_mtrldef_mtrlname_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="1073741824" )
  54. text(band=header alignment="2" text="物料规格" border="0" color="33554432" x="946" y="8" height="56" width="530" html.valueishtml="0" name=u_mtrldef_mtrlmode_t visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  55. text(band=header alignment="2" text="需求数" border="0" color="33554432" x="1486" y="8" height="56" width="384" html.valueishtml="0" name=truerqqty_t visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  56. text(band=header alignment="2" text="已领数" border="0" color="33554432" x="1879" y="8" height="56" width="384" html.valueishtml="0" name=dstrqty_t visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  57. text(band=header alignment="2" text="未领用数" border="0" color="33554432" x="2272" y="8" height="56" width="229" html.valueishtml="0" name=notdstrqty_t visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  58. text(band=header alignment="2" text="配置" border="0" color="33554432" x="2510" y="8" height="56" width="389" html.valueishtml="0" name=status_t visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  59. text(band=header alignment="2" text="配置1" border="0" color="33554432" x="2907" y="8" height="56" width="384" html.valueishtml="0" name=woodcode_t visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  60. text(band=header alignment="2" text="配置2" border="0" color="33554432" x="3301" y="8" height="56" width="398" html.valueishtml="0" name=pcode_t visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  61. text(band=header alignment="2" text="换料" border="0" color="33554432" x="3707" y="8" height="56" width="178" html.valueishtml="0" name=ifchanged_t visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  62. column(band=detail id=8 alignment="0" tabsequence=32766 border="0" color="33554432" x="2510" y="4" height="68" width="389" format="[general]" html.valueishtml="0" name=status visible="1" edit.limit=255 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="2" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  63. column(band=detail id=9 alignment="0" tabsequence=32766 border="0" color="33554432" x="2907" y="4" height="68" width="384" format="[general]" html.valueishtml="0" name=woodcode visible="1" edit.limit=255 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="2" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  64. column(band=detail id=10 alignment="0" tabsequence=32766 border="0" color="33554432" x="3301" y="4" height="68" width="398" format="[general]" html.valueishtml="0" name=pcode visible="1" edit.limit=255 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="2" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  65. column(band=detail id=12 alignment="2" tabsequence=32766 border="0" color="33554432" x="3707" y="4" height="68" width="178" format="[general]" html.valueishtml="0" name=ifchanged visible="1" checkbox.text="" checkbox.on="1" checkbox.off="0" checkbox.scale=no checkbox.threed=yes font.face="宋体" font.height="-9" font.weight="400" font.family="2" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  66. column(band=detail id=16 alignment="0" tabsequence=32766 border="0" color="33554432" x="9" y="4" height="68" width="393" format="[general]" html.valueishtml="0" name=u_mtrldef_mtrlcode 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="1" background.color="536870912" )
  67. column(band=detail id=17 alignment="0" tabsequence=32766 border="0" color="33554432" x="411" y="4" height="68" width="526" format="[general]" html.valueishtml="0" name=u_mtrldef_mtrlname 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="1" background.color="536870912" )
  68. column(band=detail id=19 alignment="0" tabsequence=32766 border="0" color="33554432" x="946" y="4" height="68" width="530" format="[general]" html.valueishtml="0" name=u_mtrldef_mtrlmode 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="1" background.color="536870912" )
  69. column(band=detail id=5 alignment="1" tabsequence=32766 border="0" color="33554432" x="1486" y="4" height="68" width="384" format="##,##0.#####" html.valueishtml="0" name=truerqqty 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="2" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  70. column(band=detail id=6 alignment="1" tabsequence=32766 border="0" color="33554432" x="1879" y="4" height="68" width="384" format="##,##0.#####" html.valueishtml="0" name=dstrqty 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="2" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  71. column(band=detail id=18 alignment="1" tabsequence=32766 border="0" color="33554432" x="2272" y="4" height="68" width="229" format="##,##0.#####" html.valueishtml="0" name=notdstrqty 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="1" background.color="536870912" )
  72. compute(band=footer alignment="1" expression="count(u_mtrldef_mtrlcode)"border="0" color="33554432" x="9" y="8" height="56" width="393" format="[GENERAL]" html.valueishtml="0" name=compute_1 visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  73. compute(band=footer alignment="1" expression="sum( truerqqty )"border="0" color="33554432" x="1486" y="8" height="56" width="384" format="##,##0.#####" html.valueishtml="0" name=compute_2 visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" )
  74. compute(band=footer alignment="1" expression="sum( dstrqty )"border="0" color="33554432" x="1879" y="8" height="56" width="384" format="##,##0.#####" html.valueishtml="0" name=compute_3 visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" )
  75. compute(band=footer alignment="1" expression="sum( notdstrqty )"border="0" color="33554432" x="2272" y="8" height="56" width="229" format="##,##0.#####" html.valueishtml="0" name=compute_4 visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" )
  76. htmltable(border="1" )
  77. htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
  78. export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
  79. import.xml()
  80. export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )