dw_order_wfjg_mx_ch.srd 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. $PBExportHeader$dw_order_wfjg_mx_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=4 color="536870912" )
  6. footer(height=76 color="536870912" )
  7. detail(height=84 color="536870912" )
  8. table(column=(type=char(15) updatewhereclause=yes name=u_saletask_taskcode dbname="u_SaleTask.TaskCode" )
  9. column=(type=char(30) updatewhereclause=yes name=u_mtrldef_mtrlcode dbname="u_mtrldef.mtrlcode" )
  10. column=(type=char(50) updatewhereclause=yes name=u_mtrldef_mtrlname dbname="u_mtrldef.mtrlname" )
  11. column=(type=long updatewhereclause=yes name=u_saletaskmx_taskid dbname="u_SaleTaskMx.TaskID" )
  12. column=(type=long updatewhereclause=yes name=u_saletaskmx_printid dbname="u_SaleTaskMx.printid" )
  13. column=(type=long updatewhereclause=yes name=u_saletaskmx_mtrlid dbname="u_SaleTaskMx.MtrlID" )
  14. column=(type=decimal(5) updatewhereclause=yes name=u_saletaskmx_needwfjgqty dbname="u_SaleTaskMx.needwfjgqty" )
  15. column=(type=decimal(5) updatewhereclause=yes name=u_saletaskmx_wfjgtaskqty dbname="u_SaleTaskMx.wfjgtaskqty" )
  16. column=(type=char(255) updatewhereclause=yes name=u_saletaskmx_pcode dbname="u_SaleTaskMx.pcode" )
  17. column=(type=char(255) updatewhereclause=yes name=u_saletaskmx_woodcode dbname="u_SaleTaskMx.woodcode" )
  18. column=(type=char(255) updatewhereclause=yes name=u_saletaskmx_status dbname="u_SaleTaskMx.status" )
  19. column=(type=decimal(5) updatewhereclause=yes name=nowfjgqty dbname="nowfjgqty" )
  20. column=(type=char(30) updatewhereclause=yes name=u_mtrldef_mtrlmode dbname="u_mtrldef.mtrlmode" )
  21. column=(type=char(10) updatewhereclause=yes name=u_mtrldef_unit dbname="u_mtrldef.unit" )
  22. column=(type=decimal(10) updatewhereclause=yes name=u_mtrldef_planprice dbname="u_mtrldef.planprice" )
  23. column=(type=char(30) updatewhereclause=yes name=u_mtrldef_mtrlsectype dbname="u_mtrldef.mtrlsectype" )
  24. column=(type=char(50) updatewhereclause=yes name=u_mtrldef_zxmtrlmode dbname="u_mtrldef.zxmtrlmode" )
  25. column=(type=decimal(5) updatewhereclause=yes name=u_mtrldef_rate_buy dbname="u_mtrldef.rate_buy" )
  26. column=(type=char(20) updatewhereclause=yes name=u_mtrldef_unit_buy dbname="u_mtrldef.unit_buy" )
  27. column=(type=decimal(10) updatewhereclause=yes name=u_mtrldef_lmbuyprice dbname="u_mtrldef.lmbuyprice" )
  28. column=(type=decimal(5) updatewhereclause=yes name=u_saletaskmx_addqty dbname="u_SaleTaskMx.addqty" )
  29. column=(type=long updatewhereclause=yes name=u_mtrldef_statusflag dbname="u_mtrldef.statusflag" )
  30. column=(type=long updatewhereclause=yes name=u_mtrldef_woodcodeflag dbname="u_mtrldef.woodcodeflag" )
  31. column=(type=long updatewhereclause=yes name=u_mtrldef_pcodeflag dbname="u_mtrldef.pcodeflag" )
  32. retrieve="SELECT u_SaleTask.TaskCode,
  33. u_mtrldef.mtrlcode,
  34. u_mtrldef.mtrlname,
  35. u_SaleTaskMx.TaskID,
  36. u_SaleTaskMx.printid,
  37. u_SaleTaskMx.MtrlID,
  38. u_SaleTaskMx.needwfjgqty,
  39. u_SaleTaskMx.wfjgtaskqty,
  40. u_SaleTaskMx.pcode,
  41. u_SaleTaskMx.woodcode,
  42. u_SaleTaskMx.status,
  43. u_SaleTaskMx.needwfjgqty - u_SaleTaskMx.wfjgtaskqty as nowfjgqty,
  44. u_mtrldef.mtrlmode,
  45. u_mtrldef.unit,
  46. u_mtrldef.planprice,
  47. u_mtrldef.mtrlsectype,
  48. u_mtrldef.zxmtrlmode,
  49. u_mtrldef.rate_buy,
  50. u_mtrldef.unit_buy,
  51. u_mtrldef.lmbuyprice,
  52. u_SaleTaskMx.addqty,
  53. u_mtrldef.statusflag ,
  54. u_mtrldef.woodcodeflag,
  55. u_mtrldef.pcodeflag
  56. FROM u_SaleTask INNER JOIN
  57. u_SaleTaskMx ON u_SaleTask.scid = u_SaleTaskMx.scid AND
  58. u_SaleTask.TaskID = u_SaleTaskMx.TaskID INNER JOIN
  59. u_mtrldef ON u_SaleTaskMx.MtrlID = u_mtrldef.mtrlid
  60. WHERE (u_SaleTask.status = 1) AND
  61. (u_SaleTaskMx.needwfjgqty - u_SaleTaskMx.wfjgtaskqty > 0 ) AND
  62. (u_SaleTask.scid = :arg_scid )
  63. " arguments=(("arg_scid", number)) sort="u_saletaskmx_taskid A u_saletaskmx_printid A " )
  64. text(band=header alignment="2" text="销售订单编号" border="0" color="33554432" x="9" y="8" height="56" width="439" 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="1" background.color="536870912" )
  65. text(band=header alignment="2" text=" 编码" border="0" color="33554432" x="457" y="8" height="56" width="494" 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="1" background.color="536870912" )
  66. text(band=header alignment="2" text="品名" border="0" color="33554432" x="960" y="8" height="56" width="535" 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="1" background.color="536870912" )
  67. text(band=header alignment="2" text="属性" border="0" color="33554432" x="3557" y="8" height="56" width="384" html.valueishtml="0" name=u_saletaskmx_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" )
  68. text(band=header alignment="2" text="需外协数" border="0" color="33554432" x="2007" y="8" height="56" width="375" html.valueishtml="0" name=u_saletaskmx_needwfjgqty_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" )
  69. text(band=header alignment="2" text="已订外协数" border="0" color="33554432" x="2391" y="8" height="56" width="389" html.valueishtml="0" name=u_saletaskmx_wfjgtaskqty_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" )
  70. text(band=header alignment="2" text="未订外协数" border="0" color="33554432" x="2789" y="8" height="56" width="375" html.valueishtml="0" name=nowfjgqty_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" )
  71. text(band=header alignment="2" text="属性1" border="0" color="33554432" x="3950" y="8" height="56" width="434" html.valueishtml="0" name=u_saletaskmx_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" )
  72. text(band=header alignment="2" text="辅数" border="0" color="33554432" x="3173" y="8" height="56" width="375" html.valueishtml="0" name=u_saletaskmx_addqty_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="1073741824" )
  73. text(band=header alignment="2" text="属性2" border="0" color="33554432" x="4393" y="8" height="56" width="439" html.valueishtml="0" name=u_saletaskmx_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" )
  74. text(band=header alignment="2" text=" 规格" border="0" color="33554432" x="1504" y="8" height="56" width="494" 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="2" background.color="1073741824" )
  75. text(band=header alignment="2" text="库存单位" border="0" color="33554432" x="4841" y="8" height="56" width="261" html.valueishtml="0" name=u_mtrldef_unit_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" )
  76. text(band=header alignment="2" text="计划价" border="0" color="33554432" x="5111" y="8" height="56" width="357" html.valueishtml="0" name=u_mtrldef_planprice_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" )
  77. text(band=header alignment="2" text="自定义1" border="0" color="33554432" x="5477" y="8" height="56" width="475" html.valueishtml="0" name=u_mtrldef_mtrlsectype_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" )
  78. text(band=header alignment="2" text="自定义2" border="0" color="33554432" x="5961" y="8" height="56" width="494" html.valueishtml="0" name=u_mtrldef_zxmtrlmode_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" )
  79. column(band=detail id=1 alignment="0" tabsequence=32766 border="0" color="33554432" x="9" y="8" height="68" width="439" format="[general]" html.valueishtml="0" name=u_saletask_taskcode 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="1" background.color="536870912" )
  80. column(band=detail id=2 alignment="0" tabsequence=32766 border="0" color="33554432" x="457" y="8" height="68" width="494" format="[general]" html.valueishtml="0" name=u_mtrldef_mtrlcode visible="1" edit.limit=30 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="1" background.color="536870912" )
  81. column(band=detail id=3 alignment="0" tabsequence=32766 border="0" color="33554432" x="960" y="8" height="68" width="535" format="[general]" html.valueishtml="0" name=u_mtrldef_mtrlname visible="1" edit.limit=50 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="1" background.color="536870912" )
  82. column(band=detail id=11 alignment="0" tabsequence=32766 border="0" color="33554432" x="3557" y="8" height="68" width="384" format="[general]" html.valueishtml="0" name=u_saletaskmx_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="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  83. column(band=detail id=10 alignment="0" tabsequence=32766 border="0" color="33554432" x="3950" y="8" height="68" width="434" format="[general]" html.valueishtml="0" name=u_saletaskmx_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="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  84. column(band=detail id=9 alignment="0" tabsequence=32766 border="0" color="33554432" x="4393" y="8" height="68" width="439" format="[general]" html.valueishtml="0" name=u_saletaskmx_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="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  85. column(band=detail id=13 alignment="0" tabsequence=32766 border="0" color="33554432" x="1504" y="8" height="68" width="494" 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="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  86. column(band=detail id=14 alignment="0" tabsequence=32766 border="0" color="33554432" x="4841" y="8" height="68" width="261" format="[general]" html.valueishtml="0" name=u_mtrldef_unit 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="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  87. column(band=detail id=15 alignment="1" tabsequence=32766 border="0" color="33554432" x="5111" y="8" height="68" width="357" format="#,##0.##########" html.valueishtml="0" name=u_mtrldef_planprice 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="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  88. column(band=detail id=16 alignment="0" tabsequence=32766 border="0" color="33554432" x="5477" y="8" height="68" width="475" format="[general]" html.valueishtml="0" name=u_mtrldef_mtrlsectype 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="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  89. column(band=detail id=21 alignment="0" tabsequence=32766 border="0" color="33554432" x="3173" y="8" height="68" width="375" format="#,##0.#####" html.valueishtml="0" name=u_saletaskmx_addqty 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="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  90. column(band=detail id=17 alignment="0" tabsequence=32766 border="0" color="33554432" x="5961" y="8" height="68" width="494" format="[general]" html.valueishtml="0" name=u_mtrldef_zxmtrlmode 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="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  91. column(band=detail id=7 alignment="1" tabsequence=32766 border="0" color="33554432" x="2007" y="8" height="68" width="375" format="##,##0.#####" html.valueishtml="0" name=u_saletaskmx_needwfjgqty 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="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  92. column(band=detail id=8 alignment="1" tabsequence=32766 border="0" color="33554432" x="2391" y="8" height="68" width="389" format="##,##0.#####" html.valueishtml="0" name=u_saletaskmx_wfjgtaskqty 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="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  93. column(band=detail id=12 alignment="1" tabsequence=32766 border="0" color="33554432" x="2789" y="8" height="68" width="375" format="##,##0.#####" html.valueishtml="0" name=nowfjgqty 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="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  94. compute(band=footer alignment="2" expression="count( u_saletask_taskcode for all)"border="0" color="33554432" x="9" y="8" height="56" width="439" 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" )
  95. compute(band=footer alignment="1" expression="sum(u_saletaskmx_needwfjgqty)"border="0" color="33554432" x="2007" y="8" height="56" width="375" 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="1" background.color="536870912" )
  96. compute(band=footer alignment="1" expression="sum(u_saletaskmx_wfjgtaskqty)"border="0" color="33554432" x="2391" y="8" height="56" width="389" 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="1" background.color="536870912" )
  97. compute(band=footer alignment="1" expression="sum(nowfjgqty)"border="0" color="33554432" x="2789" y="8" height="56" width="375" 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="1" background.color="536870912" )
  98. sparse(names="u_saletask_taskcode")htmltable(border="1" )
  99. htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
  100. export.xml(usetemplate="" headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 template=(comment="" encoding="gb2312" name="1" xml="<?xml version=~"1.0~" encoding=~"gb2312~" standalone=~"no~"?><untitled><untitled_row __pbband=~"detail~"><u_saletask_taskcode>u_saletask_taskcode</u_saletask_taskcode><u_mtrldef_mtrlcode>u_mtrldef_mtrlcode</u_mtrldef_mtrlcode><u_mtrldef_mtrlname>u_mtrldef_mtrlname</u_mtrldef_mtrlname><u_saletaskmx_taskid/><u_saletaskmx_printid/><u_saletaskmx_mtrlid/><u_saletaskmx_needbuyqty>u_saletaskmx_needbuyqty</u_saletaskmx_needbuyqty><u_saletaskmx_buytaskqty>u_saletaskmx_buytaskqty</u_saletaskmx_buytaskqty><u_saletaskmx_pcode>u_saletaskmx_pcode</u_saletaskmx_pcode><u_saletaskmx_woodcode>u_saletaskmx_woodcode</u_saletaskmx_woodcode><u_saletaskmx_status>u_saletaskmx_status</u_saletaskmx_status></untitled_row></untitled>"))
  101. import.xml(usetemplate="" )
  102. export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )