dw_inwaremx_wfjg_edit_th.srd 17 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. $PBExportHeader$dw_inwaremx_wfjg_edit_th.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 selected.mouse=no )
  4. header(height=68 color="536870912" )
  5. summary(height=0 color="536870912" )
  6. footer(height=64 color="536870912" )
  7. detail(height=76 color="536870912" )
  8. table(column=(type=long updatewhereclause=yes name=u_inwaremx_ifrel dbname="u_inwaremx.ifrel" initial="0" values="是 1/否 0/" )
  9. column=(type=char(15) updatewhereclause=yes name=u_order_wfjg_taskcode dbname="u_order_wfjg.taskcode" initial="empty" )
  10. column=(type=char(30) updatewhereclause=yes name=u_mtrldef_mtrlcode dbname="u_mtrldef.mtrlcode" initial="empty" )
  11. column=(type=decimal(4) updatewhereclause=yes name=u_inwaremx_qty dbname="u_inwaremx.qty" initial="0" )
  12. column=(type=decimal(10) updatewhereclause=yes name=u_inwaremx_jgprice dbname="u_inwaremx.jgprice" initial="0" )
  13. column=(type=decimal(10) updatewhereclause=yes name=u_inwaremx_fprice dbname="u_inwaremx.fprice" initial="0" )
  14. column=(type=char(255) updatewhereclause=yes name=u_inwaremx_status dbname="u_inwaremx.status" initial="empty" )
  15. column=(type=char(255) updatewhereclause=yes name=u_inwaremx_mxdscrp dbname="u_inwaremx.mxdscrp" initial="empty" )
  16. column=(type=char(30) updatewhereclause=yes name=u_inwaremx_plancode dbname="u_inwaremx.plancode" initial="empty" )
  17. column=(type=decimal(4) updatewhereclause=yes name=u_inwaremx_rebate dbname="u_inwaremx.rebate" initial="1" )
  18. column=(type=decimal(10) updatewhereclause=yes name=u_inwaremx_price dbname="u_inwaremx.price" initial="0" )
  19. column=(type=long updatewhereclause=yes name=u_inwaremx_mtrlid dbname="u_inwaremx.mtrlid" initial="0" )
  20. column=(type=char(10) updatewhereclause=yes name=u_mtrldef_unit dbname="u_mtrldef.unit" initial="empty" )
  21. column=(type=char(50) updatewhereclause=yes name=u_mtrldef_mtrlname dbname="u_mtrldef.mtrlname" initial="empty" )
  22. column=(type=long updatewhereclause=yes name=u_inwaremx_inwareid dbname="u_inwaremx.inwareid" initial="0" )
  23. column=(type=long updatewhereclause=yes name=u_inwaremx_printid dbname="u_inwaremx.printid" initial="0" )
  24. column=(type=char(30) updatewhereclause=yes name=u_mtrldef_mtrlmode dbname="u_mtrldef.mtrlmode" initial="empty" )
  25. column=(type=long updatewhereclause=yes name=u_inwaremx_relid dbname="u_inwaremx.relid" initial="0" )
  26. column=(type=long updatewhereclause=yes name=u_inwaremx_sptid_cusid dbname="u_inwaremx.sptid_cusid" initial="0" )
  27. column=(type=char(50) updatewhereclause=yes name=u_inwaremx_relcode dbname="u_inwaremx.relcode" initial="empty" )
  28. retrieve=" SELECT u_inwaremx.ifrel,
  29. u_order_wfjg.taskcode,
  30. u_mtrldef.mtrlcode,
  31. u_inwaremx.qty,
  32. u_inwaremx.jgprice,
  33. u_inwaremx.fprice,
  34. u_inwaremx.status ,
  35. u_inwaremx.mxdscrp,
  36. u_inwaremx.plancode,
  37. u_inwaremx.rebate,
  38. u_inwaremx.price,
  39. u_inwaremx.mtrlid,
  40. u_mtrldef.unit,
  41. u_mtrldef.mtrlname,
  42. u_inwaremx.inwareid,
  43. u_inwaremx.printid,
  44. u_mtrldef.mtrlmode,
  45. u_inwaremx.relid ,
  46. u_inwaremx.sptid_cusid,
  47. u_inwaremx.relcode
  48. FROM u_inwaremx LEFT OUTER JOIN u_order_wfjg ON u_inwaremx.relid = u_order_wfjg.wfjgid,
  49. u_mtrldef
  50. WHERE ( u_inwaremx.mtrlid = u_mtrldef.mtrlid ) and
  51. ( u_inwaremx.inwareid = :arg_inwareid ) and
  52. ( u_inwaremx.scid=:arg_scid )
  53. " arguments=(("arg_scid", number),("arg_inwareid", number)) sort="u_inwaremx_printid A " )
  54. text(band=header alignment="2" text="品名" border="0" color="8388608" x="969" y="8" height="56" width="608" 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="16777215" )
  55. text(band=header alignment="2" text="加工金额" border="0" color="0" x="2089" y="8" height="56" width="352" html.valueishtml="0" name=amt_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="16777215" )
  56. text(band=header alignment="2" text="数量" border="0" color="16711680" x="1586" y="8" height="56" width="242" html.valueishtml="0" name=u_inwaremx_qty_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="8388608" x="4366" y="8" height="56" width="334" 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="16777215" )
  58. text(band=header alignment="2" text="批号" border="0" color="16711680" x="3991" y="8" height="56" width="366" html.valueishtml="0" name=u_inwaremx_plancode_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="16777215" )
  59. text(band=header alignment="2" text="序" border="0" color="0" x="9" y="8" height="56" width="64" html.valueishtml="0" name=t_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="16777215" )
  60. text(band=header alignment="2" text=" 编码" border="0" color="8388608" x="613" y="8" height="56" width="347" 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="15793151" )
  61. text(band=header alignment="2" text="计划" border="0" color="16711680" x="82" y="8" height="56" width="137" html.valueishtml="0" name=u_inwaremx_ifrel_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" )
  62. text(band=header alignment="2" text="加工单价" border="0" color="16711680" x="1838" y="8" height="56" width="242" html.valueishtml="0" name=u_inwaremx_jgprice_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" )
  63. text(band=header alignment="2" text="库存单位" border="0" color="8388608" x="4709" y="8" height="56" width="274" 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="16777215" )
  64. text(band=header alignment="2" text="加工计划号" border="0" color="8388608" x="229" y="8" height="56" width="375" html.valueishtml="0" name=u_order_wfjg_taskcode_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" )
  65. text(band=header alignment="2" text="明细备注" border="0" color="16711680" x="3502" y="8" height="56" width="480" html.valueishtml="0" name=u_inwaremx_mxdscrp_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="16777215" )
  66. text(band=header alignment="2" text="颜色" border="0" color="16711680" x="3186" y="8" height="56" width="306" html.valueishtml="0" name=u_inwaremx_status_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" )
  67. text(band=header alignment="2" text="加工计划[保存]" border="0" color="0" x="4992" y="8" height="56" width="462" html.valueishtml="0" name=u_inwaremx_relcode_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" )
  68. text(band=header alignment="2" text="进仓成本价" border="0" color="16711680" x="2450" y="8" height="56" width="325" html.valueishtml="0" name=u_inwaremx_fprice_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" )
  69. text(band=header alignment="2" text="进仓金额" border="0" color="33554432" x="2784" y="8" height="56" width="393" html.valueishtml="0" name=inamt_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. column(band=detail id=14 alignment="0" tabsequence=32766 border="0" color="8388608" x="969" y="4" height="68" width="608" format="[general]" html.valueishtml="0" name=u_mtrldef_mtrlname tag="物料名称" 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="2" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
  71. column(band=detail id=4 alignment="1" tabsequence=32766 border="0" color="16711680" x="1586" y="4" height="68" width="242" format="#,##0.0###" html.valueishtml="0" name=u_inwaremx_qty tag="进仓数量" visible="1" edit.limit=0 edit.case=any edit.format="#########0.0###" 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" )
  72. compute(band=detail alignment="1" expression="round(u_inwaremx_jgprice * u_inwaremx_qty ,2)"border="0" color="0" x="2089" y="4" height="68" width="352" format="#,##0.00" html.valueishtml="0" name=amt visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
  73. column(band=detail id=17 alignment="0" tabsequence=32766 border="0" color="8388608" x="4366" y="4" height="68" width="334" 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="2" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
  74. column(band=detail id=9 alignment="0" tabsequence=32766 border="0" color="16711680" x="3991" y="4" height="68" width="366" format="[general]" html.valueishtml="0" name=u_inwaremx_plancode visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="宋体" font.height="-9" font.weight="400" font.family="2" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
  75. compute(band=detail alignment="2" expression="getrow()"border="0" color="0" x="9" y="4" height="68" width="64" format="[general]" html.valueishtml="0" name=printid visible="1" font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
  76. column(band=detail id=1 alignment="2" tabsequence=32766 border="0" color="16711680" x="82" y="4" height="68" width="137" format="[general]" html.valueishtml="0" name=u_inwaremx_ifrel visible="1" ddlb.limit=0 ddlb.allowedit=no ddlb.case=any ddlb.imemode=0 font.face="宋体" font.height="-9" font.weight="400" font.family="2" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
  77. column(band=detail id=3 alignment="0" tabsequence=32766 border="0" color="8388608" x="613" y="4" height="68" width="347" format="[general]" html.valueishtml="0" name=u_mtrldef_mtrlcode tag="物料编码" 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="2" font.pitch="2" font.charset="134" background.mode="2" background.color="15793151" )
  78. column(band=detail id=5 alignment="1" tabsequence=32766 border="0" color="16711680" x="1838" y="4" height="68" width="242" format="#,##0.00########" html.valueishtml="0" name=u_inwaremx_jgprice visible="1" edit.limit=0 edit.case=any edit.format="#,##0.00########" edit.autoselect=yes edit.imemode=0 font.face="宋体" font.height="-9" font.weight="400" font.family="2" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
  79. column(band=detail id=13 alignment="2" tabsequence=32766 border="0" color="8388608" x="4709" y="4" height="68" width="274" 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="-9" font.weight="400" font.family="2" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  80. column(band=detail id=2 alignment="2" tabsequence=32766 border="0" color="8388608" x="229" y="4" height="68" width="375" format="[general]" html.valueishtml="0" name=u_order_wfjg_taskcode visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="宋体" font.height="-9" font.weight="400" font.family="2" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
  81. column(band=detail id=8 alignment="0" tabsequence=32766 border="0" color="16711680" x="3502" y="4" height="68" width="480" format="[general]" html.valueishtml="0" name=u_inwaremx_mxdscrp visible="1" edit.limit=0 edit.case=any 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="2" background.color="16777215" )
  82. column(band=detail id=7 alignment="0" tabsequence=32766 border="0" color="16711680" x="3186" y="4" height="68" width="306" format="[general]" html.valueishtml="0" name=u_inwaremx_status visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="宋体" font.height="-9" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
  83. column(band=detail id=20 alignment="0" tabsequence=32766 border="0" color="0" x="4992" y="4" height="68" width="462" format="[general]" html.valueishtml="0" name=u_inwaremx_relcode visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="宋体" font.height="-9" font.weight="400" font.family="2" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
  84. column(band=detail id=6 alignment="1" tabsequence=32766 border="0" color="16711680" x="2450" y="4" height="68" width="325" format="#,##0.00########" html.valueishtml="0" name=u_inwaremx_fprice visible="1" edit.limit=0 edit.case=any edit.format="#,##0.00########" edit.autoselect=yes edit.imemode=0 font.face="宋体" font.height="-9" font.weight="400" font.family="2" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
  85. compute(band=detail alignment="1" expression="round( u_inwaremx_fprice * u_inwaremx_qty ,2)"border="0" color="33554432" x="2784" y="4" height="68" width="393" format="#,##0.00" html.valueishtml="0" name=inamt 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" )
  86. compute(band=footer alignment="2" expression="count( u_mtrldef_mtrlcode for all )"border="0" color="16711680" x="613" y="4" height="56" width="347" 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="2" background.color="16777215" )
  87. compute(band=footer alignment="1" expression="sum( amt for all)"border="0" color="0" x="2089" y="4" height="56" width="352" format="#,##0.00" 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="16777215" )
  88. compute(band=footer alignment="1" expression="sum(u_inwaremx_qty for all)"border="0" color="16711680" x="1586" y="4" height="56" width="242" format="#,##0.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" )
  89. compute(band=footer alignment="1" expression="sum(round( u_inwaremx_fprice * u_inwaremx_qty ,2) for all)"border="0" color="33554432" x="2784" y="4" height="56" width="393" format="#,##0.00" 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" )
  90. htmltable(border="1" )
  91. htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
  92. export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
  93. import.xml()
  94. export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )