ds_orderrqmtrl_scll.srd 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. $PBExportHeader$ds_orderrqmtrl_scll.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=68 color="536870912" )
  7. detail(height=76 color="536870912" )
  8. table(column=(type=long updatewhereclause=yes name=mxpkid dbname="u_OrderRqMtrl.mxpkID" )
  9. column=(type=long updatewhereclause=yes name=taskid dbname="u_OrderRqMtrl.taskID" )
  10. column=(type=long updatewhereclause=yes name=printid dbname="u_OrderRqMtrl.printID" )
  11. column=(type=long updatewhereclause=yes name=mtrlid dbname="u_OrderRqMtrl.MtrlID" )
  12. column=(type=char(255) updatewhereclause=yes name=u_orderrqmtrl_status dbname="u_OrderRqMtrl.status" )
  13. column=(type=char(255) updatewhereclause=yes name=u_orderrqmtrl_pcode dbname="u_OrderRqMtrl.pcode" )
  14. column=(type=char(255) updatewhereclause=yes name=u_orderrqmtrl_woodcode dbname="u_OrderRqMtrl.woodcode" )
  15. column=(type=datetime updatewhereclause=yes name=u_orderrqmtrl_rqdate dbname="u_OrderRqMtrl.RqDate" )
  16. column=(type=decimal(10) updatewhereclause=yes name=rqqty dbname="u_OrderRqMtrl.rqqty" )
  17. column=(type=decimal(10) updatewhereclause=yes name=dstrqty dbname="u_OrderRqMtrl.DstrQty" )
  18. column=(type=decimal(10) updatewhereclause=yes name=u_orderrqmtrl_notdstrqty dbname="notDstrQty" )
  19. retrieve=" SELECT u_OrderRqMtrl.mxpkID,
  20. u_OrderRqMtrl.taskID,
  21. u_OrderRqMtrl.printID,
  22. u_OrderRqMtrl.MtrlID,
  23. u_OrderRqMtrl.status,
  24. u_OrderRqMtrl.pcode,
  25. u_OrderRqMtrl.woodcode,
  26. u_OrderRqMtrl.RqDate,
  27. u_OrderRqMtrl.rqqty AS rqqty ,
  28. u_OrderRqMtrl.DstrQty ,
  29. (dbo.u_OrderRqMtrl.rqqty - dbo.u_OrderRqMtrl.DstrQty) as notDstrQty
  30. FROM u_OrderRqMtrl
  31. WHERE ( u_OrderRqMtrl.scid = :arg_scid ) AND
  32. ( u_OrderRqMtrl.taskID = :arg_relid ) AND
  33. ( u_OrderRqMtrl.printID = :arg_relprintid ) AND
  34. ( u_OrderRqMtrl.MtrlID = :arg_mtrlid ) AND
  35. ( u_OrderRqMtrl.status = :arg_status ) AND
  36. ( u_OrderRqMtrl.woodcode = :arg_woodcode ) AND
  37. ( u_OrderRqMtrl.pcode = :arg_pcode )
  38. " arguments=(("arg_scid", number),("arg_relid", number),("arg_relprintid", number),("arg_mtrlid", number),("arg_status", string),("arg_woodcode", string),("arg_pcode", string)) sort="u_orderrqmtrl_rqdate A " )
  39. text(band=header alignment="2" text="已领数" border="0" color="33554432" x="334" y="8" height="56" width="329" 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" )
  40. text(band=header alignment="2" text="未领数" border="0" color="33554432" x="672" y="8" height="56" width="306" html.valueishtml="0" name=u_orderrqmtrl_notdstrqty_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" )
  41. text(band=header alignment="2" text="需求日期" border="0" color="33554432" x="987" y="8" height="56" width="325" html.valueishtml="0" name=u_orderrqmtrl_rqdate_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" )
  42. text(band=header alignment="2" text="需求数" border="0" color="0" x="9" y="8" height="56" width="315" html.valueishtml="0" name=rqqty_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" )
  43. column(band=detail id=8 alignment="2" tabsequence=32766 border="0" color="33554432" x="987" y="4" height="68" width="325" format="yyyy-mm-dd" html.valueishtml="0" name=u_orderrqmtrl_rqdate visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.nilisnull=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" )
  44. column(band=detail id=10 alignment="1" tabsequence=32766 border="0" color="33554432" x="334" y="4" height="68" width="329" 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="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  45. column(band=detail id=11 alignment="1" tabsequence=32766 border="0" color="0" x="672" y="4" height="68" width="306" format="#,##0.##########" html.valueishtml="0" name=u_orderrqmtrl_notdstrqty 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="1" background.color="536870912" )
  46. column(band=detail id=9 alignment="1" tabsequence=32766 border="0" color="33554432" x="9" y="4" height="68" width="315" format="#,##0.##########" html.valueishtml="0" name=rqqty 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" )
  47. compute(band=footer alignment="1" expression=" sum(dstrqty for all) "border="0" color="16711680" x="334" y="4" height="56" width="329" 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" )
  48. compute(band=footer alignment="1" expression="sum(u_orderrqmtrl_notdstrqty for all)"border="0" color="16711680" x="672" y="4" height="56" width="306" 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" )
  49. compute(band=footer alignment="1" expression="sum( rqqty for all )"border="0" color="16711680" x="9" y="4" height="56" width="315" 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" )
  50. column(band=detail id=5 alignment="0" tabsequence=0 border="0" color="33554432" x="1330" y="0" height="56" width="2656" html.valueishtml="0" name=u_orderrqmtrl_status 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" )
  51. text(band=header alignment="0" text="U Orderrqmtrl Status" border="0" color="33554432" x="1326" y="4" height="76" width="2661" html.valueishtml="0" name=u_orderrqmtrl_status_t visible="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" )
  52. column(band=detail id=6 alignment="0" tabsequence=0 border="0" color="33554432" x="4000" y="0" height="56" width="3141" html.valueishtml="0" name=u_orderrqmtrl_pcode 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" )
  53. text(band=header alignment="0" text="U Orderrqmtrl Pcode" border="0" color="33554432" x="3995" y="4" height="76" width="3145" html.valueishtml="0" name=u_orderrqmtrl_pcode_t visible="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" )
  54. column(band=detail id=7 alignment="0" tabsequence=0 border="0" color="33554432" x="7154" y="0" height="56" width="2478" html.valueishtml="0" name=u_orderrqmtrl_woodcode 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" )
  55. text(band=header alignment="0" text="U Orderrqmtrl Woodcode" border="0" color="33554432" x="7150" y="4" height="76" width="2482" html.valueishtml="0" name=u_orderrqmtrl_woodcode_t visible="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" )
  56. column(band=detail id=2 alignment="0" tabsequence=0 border="0" color="33554432" x="9646" y="0" height="56" width="73" html.valueishtml="0" name=taskid 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" )
  57. text(band=header alignment="0" text="Taskid" border="0" color="33554432" x="9641" y="4" height="76" width="78" html.valueishtml="0" name=taskid_t visible="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" )
  58. column(band=detail id=3 alignment="0" tabsequence=0 border="0" color="33554432" x="9733" y="0" height="56" width="73" html.valueishtml="0" name=printid 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" )
  59. text(band=header alignment="0" text="Printid" border="0" color="33554432" x="9728" y="4" height="76" width="78" html.valueishtml="0" name=printid_t visible="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" )
  60. column(band=detail id=4 alignment="0" tabsequence=0 border="0" color="33554432" x="9819" y="0" height="56" width="73" html.valueishtml="0" name=mtrlid 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" )
  61. text(band=header alignment="0" text="Mtrlid" border="0" color="33554432" x="9815" y="4" height="76" width="78" html.valueishtml="0" name=mtrlid_t visible="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" )
  62. column(band=detail id=1 alignment="0" tabsequence=0 border="0" color="33554432" x="9906" y="0" height="56" width="73" html.valueishtml="0" name=mxpkid 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" )
  63. text(band=header alignment="0" text="Mxpkid" border="0" color="33554432" x="9902" y="4" height="56" width="78" html.valueishtml="0" name=mxpkid_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" )
  64. htmltable(border="1" )
  65. htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
  66. export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 template=(comment="" encoding="gb2312" name="ewiserp" xml="<?xml version=~"1.0~" encoding=~"gb2312~" standalone=~"no~"?><dw_rp_mtrl_will_rqqty_mx_order_ml><dw_rp_mtrl_will_rqqty_mx_order_ml_row __pbband=~"detail~"><u_saletaskmx_taskid>u_saletaskmx_taskid</u_saletaskmx_taskid><u_saletask_requiredate/><u_saletask_relcode/><u_saletaskmx_status/><u_saletaskmx_pcode/><u_saletaskmx_woodcode/><u_saletask_taskcode/><u_orderrqmtrl_rqdate>u_orderrqmtrl_rqdate</u_orderrqmtrl_rqdate><rqqty>rqqty</rqqty><u_orderrqmtrl_dstrqty>dstrqty</u_orderrqmtrl_dstrqty><u_orderrqmtrl_notdstrqty>u_orderrqmtrl_notdstrqty</u_orderrqmtrl_notdstrqty><u_sc_workgroup_wrkgrpname/></dw_rp_mtrl_will_rqqty_mx_order_ml_row></dw_rp_mtrl_will_rqqty_mx_order_ml>"))
  67. import.xml()
  68. export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )