ds_aps_wfjgmx_out_rqmtrl.srd 8.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. $PBExportHeader$ds_aps_wfjgmx_out_rqmtrl.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=168 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=104 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=decimal(10) updatewhereclause=yes name=qty dbname="qty" )
  9. column=(type=datetime updatewhereclause=yes name=rqdate dbname="rqdate" )
  10. retrieve="SELECT u_order_wfjgmx_out_mx.qty,
  11. CASE u_order_wfjgMx.orderid WHEN 0 THEN u_order_wfjg.requiredate ELSE v_orderrqmtrl.rqdate
  12. END AS rqdate
  13. FROM u_order_wfjgmx_out_mx INNER JOIN
  14. u_order_wfjgMx ON u_order_wfjgmx_out_mx.scid = u_order_wfjgMx.scid AND
  15. u_order_wfjgmx_out_mx.wfjgid = u_order_wfjgMx.wfjgID AND
  16. u_order_wfjgmx_out_mx.relprintid = u_order_wfjgMx.printid INNER JOIN
  17. u_order_wfjg ON u_order_wfjgMx.scid = u_order_wfjg.scid AND
  18. u_order_wfjgMx.wfjgID = u_order_wfjg.wfjgID LEFT OUTER JOIN
  19. (SELECT scid, OrderID, MtrlID, status, woodcode, pcode, MIN(eDate)
  20. AS rqdate
  21. FROM u_OrderRqMtrl
  22. GROUP BY scid, OrderID, MtrlID, status, woodcode, pcode) v_orderrqmtrl ON
  23. u_order_wfjgMx.scid = v_orderrqmtrl.scid AND
  24. u_order_wfjgMx.orderid = v_orderrqmtrl.OrderID AND
  25. u_order_wfjgMx.MtrlID = v_orderrqmtrl.MtrlID AND
  26. u_order_wfjgMx.status = v_orderrqmtrl.status AND
  27. u_order_wfjgMx.woodcode = v_orderrqmtrl.woodcode AND
  28. u_order_wfjgMx.pcode = v_orderrqmtrl.pcode
  29. where u_order_wfjgmx_out_mx.scid = :arg_scid
  30. and u_order_wfjgmx_out_mx.mtrlid = :arg_mtrlid
  31. and u_order_wfjgmx_out_mx.status = :arg_status
  32. and u_order_wfjgmx_out_mx.woodcode = :arg_woodcode
  33. and u_order_wfjgmx_out_mx.pcode = :arg_pcode
  34. and u_order_wfjgmx_out_mx.wfjgid = :arg_wfjgid" arguments=(("arg_scid", number),("arg_wfjgid", number),("arg_mtrlid", number),("arg_status", string),("arg_woodcode", string),("arg_pcode", string)) )
  35. text(band=header alignment="2" text="Qty" border="0" color="33554432" x="14" y="8" height="76" width="384" html.valueishtml="0" name=qty_t visible="1" font.face="Arial" font.height="-12" font.weight="400" font.family="2" font.pitch="2" font.charset="0" 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" )
  36. text(band=header alignment="2" text="Rqdate" border="0" color="33554432" x="411" y="8" height="76" width="704" html.valueishtml="0" name=rqdate_t visible="1" font.face="Arial" font.height="-12" font.weight="400" font.family="2" font.pitch="2" font.charset="0" 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" )
  37. column(band=detail id=1 alignment="1" tabsequence=32766 border="0" color="33554432" x="14" y="8" height="88" width="384" format="[general]" html.valueishtml="0" name=qty visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes font.face="Arial" font.height="-12" font.weight="400" font.family="2" font.pitch="2" font.charset="0" 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" )
  38. column(band=detail id=2 alignment="0" tabsequence=32766 border="0" color="33554432" x="411" y="8" height="88" width="704" format="[shortdate] [time]" html.valueishtml="0" name=rqdate visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes font.face="Arial" font.height="-12" font.weight="400" font.family="2" font.pitch="2" font.charset="0" 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" )
  39. htmltable(border="1" )
  40. htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" pagingmethod=0 generatedddwframes="1" )
  41. xhtmlgen() cssgen(sessionspecific="0" )
  42. xmlgen(inline="0" )
  43. xsltgen()
  44. jsgen()
  45. export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
  46. import.xml()
  47. export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
  48. export.xhtml()