ds_mtrlware_assign_plan_w.srd 10.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. $PBExportHeader$ds_mtrlware_assign_plan_w.srd
  2. release 11.5;
  3. datawindow(units=0 timer_interval=0 color=1073741824 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=128 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=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" )
  7. detail(height=84 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=long updatewhereclause=yes name=u_order_wfjgmx_orderid dbname="u_order_wfjgMx.orderid" dbalias=".orderid" )
  9. column=(type=long updatewhereclause=yes name=u_order_wfjgmx_printid dbname="u_order_wfjgMx.printid" dbalias=".printid" )
  10. column=(type=decimal(11) updatewhereclause=yes identity=yes name=notfpqty dbname="notfpqty" )
  11. retrieve="SELECT u_order_wfjgMx.orderid,
  12. u_order_wfjgMx.printid,
  13. case when (u_order_wfjgMx.qty - round(u_order_wfjgMx.consignedqty * u_order_wfjgMx.rate,u_mtrldef.mrparg)) <= u_order_wfjgMx.qty - u_order_wfjgMx.fpqty
  14. then u_order_wfjgMx.qty - round(u_order_wfjgMx.consignedqty * u_order_wfjgMx.rate,u_mtrldef.mrparg)
  15. else u_order_wfjgMx.qty - u_order_wfjgMx.fpqty END as notfpqty
  16. FROM u_order_wfjgMx,u_order_wfjg,u_mtrldef
  17. WHERE u_order_wfjgMx.mtrlid = u_mtrldef.mtrlid
  18. AND u_order_wfjgMx.scid = :arg_scid
  19. AND u_order_wfjgMx.mtrlid = :arg_mtrlid
  20. AND u_order_wfjgMx.status = :arg_status
  21. AND u_order_wfjgMx.woodcode = :arg_woodcode
  22. AND u_order_wfjgMx.pcode = :arg_pcode
  23. AND u_order_wfjgMx.scid = u_order_wfjg.scid
  24. AND u_order_wfjgMx.wfjgID = u_order_wfjg.wfjgID
  25. AND u_order_wfjg.status = 1
  26. And ( :arg_ifdate = 0 Or :arg_ifdate = 1 And u_order_wfjgMx.requiredate <= :arg_enddate )" arguments=(("arg_scid", number),("arg_mtrlid", number),("arg_status", string),("arg_woodcode", string),("arg_pcode", string),("arg_ifdate", number),("arg_enddate", datetime)) sort="notfpqty D " )
  27. text(band=header alignment="2" text="Notfpqty" border="0" color="33554432" x="14" y="8" height="56" width="329" html.valueishtml="0" name=notfpqty_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" )
  28. column(band=detail id=3 alignment="1" tabsequence=32766 border="0" color="33554432" x="14" y="8" height="68" width="329" format="[general]" html.valueishtml="0" name=notfpqty visible="1" edit.limit=0 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="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" )
  29. column(band=detail id=1 alignment="0" tabsequence=0 border="0" color="33554432" x="357" y="0" height="56" width="233" html.valueishtml="0" name=u_order_wfjgmx_orderid 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="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" )
  30. text(band=header alignment="0" text="U Order Wfjgmx Orderid" border="0" color="33554432" x="352" y="4" height="76" width="238" html.valueishtml="0" name=u_order_wfjgmx_orderid_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" 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" )
  31. column(band=detail id=2 alignment="0" tabsequence=0 border="0" color="33554432" x="603" y="0" height="56" width="233" html.valueishtml="0" name=u_order_wfjgmx_printid 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="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" )
  32. text(band=header alignment="0" text="U Order Wfjgmx Printid" border="0" color="33554432" x="599" y="4" height="76" width="238" html.valueishtml="0" name=u_order_wfjgmx_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" 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" )
  33. htmltable(border="1" )
  34. htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" pagingmethod=0 generatedddwframes="1" )
  35. xhtmlgen() cssgen(sessionspecific="0" )
  36. xmlgen(inline="0" )
  37. xsltgen()
  38. jsgen()
  39. export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
  40. import.xml()
  41. export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
  42. export.xhtml()