dw_outware_check_ware.srd 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. $PBExportHeader$dw_outware_check_ware.srd
  2. release 11.5;
  3. datawindow(units=0 timer_interval=0 color=16777215 brushmode=0 transparency=0 gradient.angle=0 gradient.color=8421504 gradient.focus=0 gradient.repetition.count=0 gradient.repetition.length=100 gradient.repetition.mode=0 gradient.scale=100 gradient.spread=100 gradient.transparency=0 picture.blur=0 picture.clip.bottom=0 picture.clip.left=0 picture.clip.right=0 picture.clip.top=0 picture.mode=0 picture.scale.x=100 picture.scale.y=100 picture.transparency=0 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 print.background=no print.preview.background=no print.preview.outline=yes hidegrayline=no showbackcoloronxp=no picture.file="" grid.lines=0 )
  4. header(height=61 color="536870912" transparency="0" gradient.color="8421504" gradient.transparency="0" gradient.angle="0" brushmode="0" gradient.repetition.mode="0" gradient.repetition.count="0" gradient.repetition.length="100" gradient.focus="0" gradient.scale="100" gradient.spread="100" )
  5. summary(height=0 color="536870912" transparency="0" gradient.color="8421504" gradient.transparency="0" gradient.angle="0" brushmode="0" gradient.repetition.mode="0" gradient.repetition.count="0" gradient.repetition.length="100" gradient.focus="0" gradient.scale="100" gradient.spread="100" )
  6. footer(height=10 color="536870912" transparency="0" gradient.color="8421504" gradient.transparency="0" gradient.angle="0" brushmode="0" gradient.repetition.mode="0" gradient.repetition.count="0" gradient.repetition.length="100" gradient.focus="0" gradient.scale="100" gradient.spread="100" )
  7. detail(height=77 color="536870912" transparency="0" gradient.color="8421504" gradient.transparency="0" gradient.angle="0" brushmode="0" gradient.repetition.mode="0" gradient.repetition.count="0" gradient.repetition.length="100" gradient.focus="0" gradient.scale="100" gradient.spread="100" )
  8. table(column=(type=char(50) updatewhereclause=yes name=u_mtrldef_mtrlname dbname="mtrlname" )
  9. column=(type=char(255) updatewhereclause=yes name=status dbname="status" )
  10. column=(type=char(255) updatewhereclause=yes name=woodcode dbname="woodcode" )
  11. column=(type=char(255) updatewhereclause=yes name=pcode dbname="pcode" )
  12. column=(type=decimal(5) updatewhereclause=yes identity=yes name=noallocqty dbname="noallocqty" )
  13. column=(type=decimal(5) updatewhereclause=yes identity=yes name=minqty dbname="minqty" )
  14. retrieve="select
  15. u_mtrldef.mtrlname,
  16. u_outwaremx.status,
  17. u_outwaremx.woodcode,
  18. u_outwaremx.pcode,
  19. isnull(u_mtrlware_a.noallocqty,0) as noallocqty,
  20. isnull(u_mtrldef_maxminqty.minqty,0) as minqty
  21. from (select
  22. scid,
  23. outwareid,
  24. mtrlid,
  25. status,
  26. pcode,
  27. woodcode
  28. from u_outwaremx
  29. group by scid,
  30. outwareid,
  31. mtrlid,
  32. status,
  33. pcode,
  34. woodcode) as u_outwaremx
  35. inner join u_mtrldef on u_mtrldef.mtrlid = u_outwaremx.mtrlid
  36. left outer join u_mtrldef_maxminqty on u_mtrldef_maxminqty.mtrlid = u_outwaremx.mtrlid
  37. and u_mtrldef_maxminqty.status = u_outwaremx.status
  38. and u_mtrldef_maxminqty.woodcode = u_outwaremx.woodcode
  39. and u_mtrldef_maxminqty.pcode = u_outwaremx.pcode
  40. left outer join (select
  41. mtrlid,
  42. status,
  43. pcode,
  44. woodcode,
  45. sum(noallocqty) as noallocqty
  46. from u_mtrlware
  47. group by mtrlid,
  48. status,
  49. pcode,
  50. woodcode) as u_mtrlware_a
  51. on u_mtrldef_maxminqty.mtrlid = u_mtrlware_a.mtrlid
  52. and u_mtrldef_maxminqty.status = u_mtrlware_a.status
  53. and u_mtrldef_maxminqty.woodcode = u_mtrlware_a.woodcode
  54. and u_mtrldef_maxminqty.pcode = u_mtrlware_a.pcode
  55. where u_outwaremx.scid = :arg_scid and u_outwaremx.outwareid = :arg_outwareid" arguments=(("arg_scid", number),("arg_outwareid", number)) )
  56. text(band=header alignment="2" text="品名" border="0" color="0" x="7" y="10" height="54" width="490" 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" background.transparency="0" background.gradient.color="8421504" background.gradient.transparency="0" background.gradient.angle="0" background.brushmode="0" background.gradient.repetition.mode="0" background.gradient.repetition.count="0" background.gradient.repetition.length="100" background.gradient.focus="0" background.gradient.scale="100" background.gradient.spread="100" tooltip.backcolor="134217752" tooltip.delay.initial="0" tooltip.delay.visible="32000" tooltip.enabled="0" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="134217751" tooltip.transparency="0" transparency="0" )
  57. text(band=header alignment="2" text="配置" border="0" color="33554432" x="508" y="0" height="54" width="421" 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="2" background.color="1073741824" background.transparency="0" background.gradient.color="0" background.gradient.transparency="0" background.gradient.angle="0" background.brushmode="0" background.gradient.repetition.mode="0" background.gradient.repetition.count="0" background.gradient.repetition.length="0" background.gradient.focus="0" background.gradient.scale="0" background.gradient.spread="0" tooltip.backcolor="0" tooltip.delay.initial="0" tooltip.delay.visible="0" tooltip.enabled="0" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="0" tooltip.transparency="0" transparency="0" )
  58. text(band=header alignment="2" text="配置一" border="0" color="33554432" x="936" y="10" height="54" width="355" 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="2" background.color="1073741824" background.transparency="0" background.gradient.color="0" background.gradient.transparency="0" background.gradient.angle="0" background.brushmode="0" background.gradient.repetition.mode="0" background.gradient.repetition.count="0" background.gradient.repetition.length="0" background.gradient.focus="0" background.gradient.scale="0" background.gradient.spread="0" tooltip.backcolor="0" tooltip.delay.initial="0" tooltip.delay.visible="0" tooltip.enabled="0" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="0" tooltip.transparency="0" transparency="0" )
  59. text(band=header alignment="2" text="配置二" border="0" color="33554432" x="1298" y="10" height="54" width="362" 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="2" background.color="1073741824" background.transparency="0" background.gradient.color="0" background.gradient.transparency="0" background.gradient.angle="0" background.brushmode="0" background.gradient.repetition.mode="0" background.gradient.repetition.count="0" background.gradient.repetition.length="0" background.gradient.focus="0" background.gradient.scale="0" background.gradient.spread="0" tooltip.backcolor="0" tooltip.delay.initial="0" tooltip.delay.visible="0" tooltip.enabled="0" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="0" tooltip.transparency="0" transparency="0" )
  60. text(band=header alignment="2" text="库存数" border="0" color="0" x="1668" y="10" height="54" width="519" html.valueishtml="0" name=noallocqty_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" background.transparency="0" background.gradient.color="0" background.gradient.transparency="0" background.gradient.angle="0" background.brushmode="0" background.gradient.repetition.mode="0" background.gradient.repetition.count="0" background.gradient.repetition.length="0" background.gradient.focus="0" background.gradient.scale="0" background.gradient.spread="0" tooltip.backcolor="0" tooltip.delay.initial="0" tooltip.delay.visible="0" tooltip.enabled="0" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="0" tooltip.transparency="0" transparency="0" )
  61. text(band=header alignment="2" text="库存下限" border="0" color="0" x="2194" y="10" height="54" width="519" html.valueishtml="0" name=minqty_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" background.transparency="0" background.gradient.color="0" background.gradient.transparency="0" background.gradient.angle="0" background.brushmode="0" background.gradient.repetition.mode="0" background.gradient.repetition.count="0" background.gradient.repetition.length="0" background.gradient.focus="0" background.gradient.scale="0" background.gradient.spread="0" tooltip.backcolor="0" tooltip.delay.initial="0" tooltip.delay.visible="0" tooltip.enabled="0" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="0" tooltip.transparency="0" transparency="0" )
  62. column(band=detail id=1 alignment="0" tabsequence=32766 border="0" color="0~tif(u_outwaremx_qty<0,rgb(255,0,0),rgb(0,0,0))" x="7" y="3" height="67" width="490" 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 font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="0" background.color="1073741824~tif( noallocqty - minqty>0, rgb(245,255,250),rgb(255,69,0))" background.transparency="0" background.gradient.color="8421504" background.gradient.transparency="0" background.gradient.angle="0" background.brushmode="0" background.gradient.repetition.mode="0" background.gradient.repetition.count="0" background.gradient.repetition.length="100" background.gradient.focus="0" background.gradient.scale="100" background.gradient.spread="100" tooltip.backcolor="134217752" tooltip.delay.initial="0" tooltip.delay.visible="32000" tooltip.enabled="0" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="134217751" tooltip.transparency="0" transparency="0" )
  63. column(band=detail id=2 alignment="0" tabsequence=0 border="0" color="0" x="512" y="3" height="67" width="417" html.valueishtml="0" name=status visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="0" background.color="1073741824~tif( noallocqty - minqty>0, rgb(245,255,250),rgb(255,69,0))" background.transparency="0" background.gradient.color="8421504" background.gradient.transparency="0" background.gradient.angle="0" background.brushmode="0" background.gradient.repetition.mode="0" background.gradient.repetition.count="0" background.gradient.repetition.length="100" background.gradient.focus="0" background.gradient.scale="100" background.gradient.spread="100" tooltip.backcolor="134217752" tooltip.delay.initial="0" tooltip.delay.visible="32000" tooltip.enabled="0" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="134217751" tooltip.transparency="0" transparency="0" )
  64. column(band=detail id=3 alignment="0" tabsequence=0 border="0" color="0" x="940" y="3" height="67" width="351" html.valueishtml="0" name=woodcode visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="0" background.color="1073741824~tif( noallocqty - minqty>0, rgb(245,255,250),rgb(255,69,0))" background.transparency="0" background.gradient.color="8421504" background.gradient.transparency="0" background.gradient.angle="0" background.brushmode="0" background.gradient.repetition.mode="0" background.gradient.repetition.count="0" background.gradient.repetition.length="100" background.gradient.focus="0" background.gradient.scale="100" background.gradient.spread="100" tooltip.backcolor="134217752" tooltip.delay.initial="0" tooltip.delay.visible="32000" tooltip.enabled="0" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="134217751" tooltip.transparency="0" transparency="0" )
  65. column(band=detail id=4 alignment="0" tabsequence=0 border="0" color="0" x="1302" y="3" height="67" width="358" html.valueishtml="0" name=pcode visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="0" background.color="1073741824~tif( noallocqty - minqty>0, rgb(245,255,250),rgb(255,69,0))" background.transparency="0" background.gradient.color="8421504" background.gradient.transparency="0" background.gradient.angle="0" background.brushmode="0" background.gradient.repetition.mode="0" background.gradient.repetition.count="0" background.gradient.repetition.length="100" background.gradient.focus="0" background.gradient.scale="100" background.gradient.spread="100" tooltip.backcolor="134217752" tooltip.delay.initial="0" tooltip.delay.visible="32000" tooltip.enabled="0" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="134217751" tooltip.transparency="0" transparency="0" )
  66. column(band=detail id=5 alignment="1" tabsequence=0 border="0" color="0" x="1671" y="3" height="67" width="516" format="#,##0.######" html.valueishtml="0" name=noallocqty visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="0" background.color="1073741824~tif( noallocqty - minqty>0, rgb(245,255,250),rgb(255,69,0))" background.transparency="0" background.gradient.color="8421504" background.gradient.transparency="0" background.gradient.angle="0" background.brushmode="0" background.gradient.repetition.mode="0" background.gradient.repetition.count="0" background.gradient.repetition.length="100" background.gradient.focus="0" background.gradient.scale="100" background.gradient.spread="100" tooltip.backcolor="134217752" tooltip.delay.initial="0" tooltip.delay.visible="32000" tooltip.enabled="0" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="134217751" tooltip.transparency="0" transparency="0" )
  67. column(band=detail id=6 alignment="1" tabsequence=0 border="0" color="0" x="2198" y="3" height="67" width="516" format="#,##0.######" html.valueishtml="0" name=minqty visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no font.face="宋体" font.height="-9" font.weight="400" font.family="0" font.pitch="2" font.charset="134" background.mode="0" background.color="1073741824~tif( noallocqty - minqty>0, rgb(245,255,250),rgb(255,69,0))" background.transparency="0" background.gradient.color="8421504" background.gradient.transparency="0" background.gradient.angle="0" background.brushmode="0" background.gradient.repetition.mode="0" background.gradient.repetition.count="0" background.gradient.repetition.length="100" background.gradient.focus="0" background.gradient.scale="100" background.gradient.spread="100" tooltip.backcolor="134217752" tooltip.delay.initial="0" tooltip.delay.visible="32000" tooltip.enabled="0" tooltip.hasclosebutton="0" tooltip.icon="0" tooltip.isbubble="0" tooltip.maxwidth="0" tooltip.textcolor="134217751" tooltip.transparency="0" transparency="0" )
  68. htmltable(border="1" )
  69. htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" pagingmethod=0 generatedddwframes="1" )
  70. xhtmlgen() cssgen(sessionspecific="0" )
  71. xmlgen(inline="0" )
  72. xsltgen()
  73. jsgen()
  74. export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
  75. import.xml()
  76. export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
  77. export.xhtml()