ds_mtrlware_assign_plan_b.srd 9.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. $PBExportHeader$ds_mtrlware_assign_plan_b.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_buytaskmx_taskid dbname="u_buyTaskMx.taskid" dbalias=".taskid" )
  9. column=(type=long updatewhereclause=yes name=u_buytaskmx_printid dbname="u_buyTaskMx.printid" dbalias=".printid" )
  10. column=(type=decimal(10) updatewhereclause=yes identity=yes name=notfpqty dbname="notfpqty" )
  11. retrieve="SELECT u_buytaskmx.taskid,
  12. u_buytaskmx.printid,
  13. case when (u_buytaskmx.qty - round(u_buytaskmx.consignedqty * u_buytaskmx.rate,u_mtrldef.mrparg)) <= u_buytaskmx.qty - u_buytaskmx.fpqty
  14. then u_buytaskmx.qty - round(u_buytaskmx.consignedqty * u_buytaskmx.rate,u_mtrldef.mrparg)
  15. else u_buytaskmx.qty - u_buytaskmx.fpqty END as notfpqty
  16. FROM u_buytaskmx,u_buytask,u_mtrldef
  17. WHERE u_buytaskmx.scid = :arg_scid
  18. AND u_buytaskmx.mtrlid = :arg_mtrlid
  19. AND u_buytaskmx.status = :arg_status
  20. AND u_buytaskmx.woodcode = :arg_woodcode
  21. AND u_buytaskmx.pcode = :arg_pcode
  22. AND u_buytaskmx.scid = u_buytask.scid
  23. AND u_buytaskmx.taskid = u_buytask.taskid
  24. AND u_buytaskmx.mtrlid = u_mtrldef.mtrlid
  25. AND u_buytaskmx.stopflag = 0
  26. AND u_buytask.status = 1
  27. And ( :arg_ifdate = 0 Or :arg_ifdate = 1 And u_buytaskmx.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 " )
  28. 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" )
  29. 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" )
  30. 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_buytaskmx_taskid 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" )
  31. text(band=header alignment="0" text="U Buytaskmx Taskid" border="0" color="33554432" x="352" y="4" height="76" width="238" html.valueishtml="0" name=u_buytaskmx_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" 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" )
  32. 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_buytaskmx_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" )
  33. text(band=header alignment="0" text="U Buytaskmx Printid" border="0" color="33554432" x="599" y="4" height="76" width="238" html.valueishtml="0" name=u_buytaskmx_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" )
  34. htmltable(border="1" )
  35. htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" pagingmethod=0 generatedddwframes="1" )
  36. xhtmlgen() cssgen(sessionspecific="0" )
  37. xmlgen(inline="0" )
  38. xsltgen()
  39. jsgen()
  40. export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
  41. import.xml()
  42. export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
  43. export.xhtml()