dw_rp_workpricetable_mx_all.srd 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. $PBExportHeader$dw_rp_workpricetable_mx_all.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=80 color="536870912" )
  5. summary(height=76 color="536870912" )
  6. footer(height=0 color="536870912" )
  7. detail(height=96 color="536870912" )
  8. table(column=(type=long updatewhereclause=yes name=u_sc_workprice_mx_proorder dbname="u_sc_workprice_mx.Proorder" )
  9. column=(type=char(20) updatewhereclause=yes name=u_sc_workprice_mx_procode dbname="u_sc_workprice_mx.procode" )
  10. column=(type=char(50) updatewhereclause=yes name=u_sc_workprice_mx_proname dbname="u_sc_workprice_mx.Proname" )
  11. column=(type=char(30) updatewhereclause=yes name=u_sc_workgroup_wrkgrpname dbname="u_sc_workgroup.wrkGrpName" )
  12. column=(type=decimal(5) updatewhereclause=yes name=u_sc_workprice_mx_workprice dbname="u_sc_workprice_mx.workPrice" )
  13. column=(type=char(10) updatewhereclause=yes name=u_sc_workprice_mx_worklevel dbname="u_sc_workprice_mx.worklevel" )
  14. column=(type=char(10) updatewhereclause=yes name=u_sc_workprice_mx_techlevel dbname="u_sc_workprice_mx.Techlevel" )
  15. column=(type=decimal(5) updatewhereclause=yes name=u_sc_workprice_mx_workhour dbname="u_sc_workprice_mx.Workhour" )
  16. column=(type=char(250) updatewhereclause=yes name=u_sc_workprice_mx_dscrp dbname="u_sc_workprice_mx.dscrp" )
  17. column=(type=char(10) updatewhereclause=yes name=u_sc_workgroup_wrkgrpcode dbname="u_sc_workgroup.wrkGrpcode" )
  18. column=(type=decimal(5) updatewhereclause=yes name=u_sc_workprice_mx_workqty dbname="u_sc_workprice_mx.workqty" )
  19. column=(type=decimal(10) updatewhereclause=yes name=wprice dbname="wprice" )
  20. column=(type=char(50) updatewhereclause=yes name=u_mtrldef_mtrlname dbname="u_mtrldef.mtrlname" )
  21. retrieve=" SELECT u_sc_workprice_mx.Proorder,
  22. u_sc_workprice_mx.procode,
  23. u_sc_workprice_mx.Proname,
  24. u_sc_workgroup.wrkGrpName,
  25. u_sc_workprice_mx.workPrice,
  26. u_sc_workprice_mx.worklevel,
  27. u_sc_workprice_mx.Techlevel,
  28. u_sc_workprice_mx.Workhour,
  29. u_sc_workprice_mx.dscrp,
  30. u_sc_workgroup.wrkGrpcode,
  31. u_sc_workprice_mx.workqty ,
  32. u_sc_workprice_mx.workprice * u_sc_workprice_mx.workqty AS wprice,
  33. u_mtrldef.mtrlname
  34. FROM u_sc_workprice_mx INNER JOIN
  35. u_sc_workgroup ON
  36. u_sc_workprice_mx.wrkgrpid = u_sc_workgroup.wrkGrpid INNER JOIN
  37. u_mtrldef ON u_sc_workprice_mx.mtrlid = u_mtrldef.mtrlid
  38. where ( u_sc_workprice_mx.parentmtrlid = :mtrlid ) and
  39. ( u_sc_workprice_mx.wrkGrpid = :wrkGrpid or :wrkGrpid = -1)
  40. " arguments=(("mtrlid", number),("wrkGrpid", number)) sort="u_sc_workgroup_wrkgrpcode A u_sc_workprice_mx_proorder A " )
  41. group(level=1 header.height=0 trailer.height=76 by=("u_sc_workgroup_wrkgrpname" ) header.color="536870912" trailer.color="536870912" )
  42. text(band=header alignment="2" text="物料名称" border="0" color="33554432" x="9" y="4" height="68" width="443" html.valueishtml="0" name=u_mtrldef_mtrlname_t visible="1" font.face="宋体" font.height="-11" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
  43. text(band=header alignment="2" text="工序号" border="0" color="0" x="462" y="4" height="68" width="293" html.valueishtml="0" name=u_sc_workprice_mx_procode_t visible="1" font.face="宋体" font.height="-11" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="553648127" )
  44. text(band=header alignment="2" text="工序名称" border="0" color="0" x="763" y="4" height="68" width="361" html.valueishtml="0" name=u_sc_workprice_mx_proname_t visible="1" font.face="宋体" font.height="-11" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="553648127" )
  45. text(band=header alignment="2" text="单件工价" border="0" color="0" x="1792" y="4" height="68" width="315" html.valueishtml="0" name=u_sc_workprice_mx_workprice_t visible="1" font.face="宋体" font.height="-11" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="553648127" )
  46. text(band=header alignment="2" text="全套工价" border="0" color="33554432" x="2117" y="4" height="68" width="329" html.valueishtml="0" name=wprice_t visible="1" font.face="宋体" font.height="-11" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" )
  47. text(band=header alignment="2" text="劳动强度" border="0" color="0" x="2455" y="4" height="68" width="361" html.valueishtml="0" name=u_sc_workprice_mx_worklevel_t visible="1" font.face="宋体" font.height="-11" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="553648127" )
  48. text(band=header alignment="2" text="工时" border="0" color="0" x="2825" y="4" height="68" width="251" html.valueishtml="0" name=u_sc_workprice_mx_workhour_t visible="1" font.face="宋体" font.height="-11" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="553648127" )
  49. text(band=header alignment="2" text="备注" border="0" color="0" x="3086" y="4" height="68" width="293" html.valueishtml="0" name=u_sc_workprice_mx_dscrp_t visible="1" font.face="宋体" font.height="-11" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="553648127" )
  50. text(band=header alignment="2" text="工组" border="0" color="33554432" x="1134" y="4" height="68" width="343" html.valueishtml="0" name=u_sc_workgroup_wrkgrpname_t visible="1" font.face="宋体" font.height="-11" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="553648127" )
  51. text(band=header alignment="2" text="数量" border="0" color="33554432" x="1486" y="4" height="68" width="297" html.valueishtml="0" name=u_sc_workprice_mx_workqty_t visible="1" font.face="宋体" font.height="-11" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="1073741824" )
  52. column(band=detail id=2 alignment="0" tabsequence=32766 border="0" color="0" x="462" y="12" height="72" width="293" format="[general]" html.valueishtml="0" name=u_sc_workprice_mx_procode visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="宋体" font.height="-11" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="553648127" )
  53. column(band=detail id=3 alignment="0" tabsequence=32766 border="0" color="0" x="763" y="12" height="72" width="361" format="[general]" html.valueishtml="0" name=u_sc_workprice_mx_proname visible="1" height.autosize=yes edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="宋体" font.height="-11" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="553648127" )
  54. column(band=detail id=5 alignment="1" tabsequence=32766 border="0" color="0" x="1792" y="12" height="72" width="315" format="#,##0.00##" html.valueishtml="0" name=u_sc_workprice_mx_workprice visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="宋体" font.height="-11" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="553648127" )
  55. column(band=detail id=6 alignment="0" tabsequence=32766 border="0" color="0" x="2455" y="12" height="72" width="361" format="[general]" html.valueishtml="0" name=u_sc_workprice_mx_worklevel visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="宋体" font.height="-11" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="553648127" )
  56. column(band=detail id=8 alignment="1" tabsequence=32766 border="0" color="0" x="2825" y="12" height="72" width="251" format="#,##0.####" html.valueishtml="0" name=u_sc_workprice_mx_workhour visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="宋体" font.height="-11" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="553648127" )
  57. column(band=detail id=9 alignment="0" tabsequence=32766 border="0" color="0" x="3086" y="12" height="72" width="293" format="[general]" html.valueishtml="0" name=u_sc_workprice_mx_dscrp visible="1" height.autosize=yes edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="宋体" font.height="-11" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="553648127" )
  58. column(band=detail id=12 alignment="1" tabsequence=32766 border="0" color="0" x="2117" y="12" height="72" width="329" format="#,##0.00###" html.valueishtml="0" name=wprice visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="宋体" font.height="-11" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="553648127" )
  59. column(band=detail id=4 alignment="2" tabsequence=32766 border="0" color="0" x="1134" y="12" height="72" width="343" format="[general]" html.valueishtml="0" name=u_sc_workgroup_wrkgrpname visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="宋体" font.height="-11" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="553648127" )
  60. column(band=detail id=11 alignment="1" tabsequence=32766 border="0" color="0" x="1486" y="12" height="72" width="297" format="#,##0.####" html.valueishtml="0" name=u_sc_workprice_mx_workqty visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="宋体" font.height="-11" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="553648127" )
  61. column(band=detail id=13 alignment="0" tabsequence=32766 border="0" color="0" x="9" y="12" height="72" width="443" 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="-11" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="553648127" )
  62. text(band=trailer.1 alignment="2" text="小计:" border="0" color="33554432" x="462" y="0" height="68" width="293" html.valueishtml="0" name=t_1 visible="1" font.face="宋体" font.height="-11" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="553648127" )
  63. compute(band=trailer.1 alignment="0" expression="count( u_sc_workprice_mx_proname for group 1 )"border="0" color="0" x="763" y="4" height="68" width="361" format="[GENERAL]" html.valueishtml="0" name=compute_1 visible="1" font.face="宋体" font.height="-11" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="553648127" )
  64. compute(band=trailer.1 alignment="1" expression="sum( wprice for group 1 )"border="0" color="0" x="2117" y="8" height="68" width="329" format="#,##0.00###" html.valueishtml="0" name=compute_2 visible="1" font.face="宋体" font.height="-11" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="553648127" )
  65. text(band=summary alignment="2" text="合计:" border="0" color="33554432" x="462" y="0" height="68" width="293" html.valueishtml="0" name=t_2 visible="1" font.face="宋体" font.height="-11" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="553648127" )
  66. compute(band=summary alignment="0" expression="count( u_sc_workprice_mx_proname for all )"border="0" color="0" x="763" y="4" height="68" width="361" format="[GENERAL]" html.valueishtml="0" name=compute_3 visible="1" font.face="宋体" font.height="-11" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="553648127" )
  67. compute(band=summary alignment="1" expression="sum( wprice for all )"border="0" color="0" x="2117" y="8" height="68" width="329" format="#,##0.00###" html.valueishtml="0" name=compute_4 visible="1" font.face="宋体" font.height="-11" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="553648127" )
  68. htmltable(border="1" )
  69. htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
  70. export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
  71. import.xml()
  72. export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )