dw_print_temp.srd 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. $PBExportHeader$dw_print_temp.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=2 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="" label.name="" label.width=791 label.height=920 label.rows=1 label.rows.spacing=0 label.columns=2 label.columns.spacing=0 label.topdown=no label.sheet=yes label.shape=roundrectangle label.ellipse_height=0 label.ellipse_width=0 )
  4. detail(height=920 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. table(column=(type=char(500) updatewhereclause=yes name=barcode dbname="u_temp.barcode" dbalias=".barcode" )
  6. column=(type=long updatewhereclause=yes name=mtrlid dbname="u_temp.mtrlid" dbalias=".mtrlid" )
  7. column=(type=char(30) updatewhereclause=yes name=mtrlcode dbname="u_temp.mtrlcode" dbalias=".mtrlcode" )
  8. column=(type=char(50) updatewhereclause=yes name=mtrlname dbname="u_temp.mtrlname" dbalias=".mtrlname" )
  9. column=(type=char(30) updatewhereclause=yes name=mtrlmode dbname="u_temp.mtrlmode" dbalias=".mtrlmode" )
  10. column=(type=char(30) updatewhereclause=yes name=mtrlsectype dbname="u_temp.mtrlsectype" dbalias=".mtrlsectype" )
  11. column=(type=char(30) updatewhereclause=yes name=mtrltype dbname="u_temp.mtrltype" dbalias=".mtrltype" )
  12. column=(type=char(255) updatewhereclause=yes name=dscrp dbname="u_temp.dscrp" dbalias=".dscrp" )
  13. column=(type=char(255) updatewhereclause=yes name=status dbname="u_temp.status" dbalias=".status" )
  14. column=(type=char(255) updatewhereclause=yes name=woodcode dbname="u_temp.woodcode" dbalias=".woodcode" )
  15. column=(type=char(255) updatewhereclause=yes name=pcode dbname="u_temp.pcode" dbalias=".pcode" )
  16. column=(type=char(30) updatewhereclause=yes name=plancode dbname="u_temp.plancode" dbalias=".plancode" )
  17. column=(type=long updatewhereclause=yes identity=yes name=sptid dbname="u_temp.sptid" dbalias=".sptid" )
  18. retrieve="select
  19. u_temp.barcode as barcode,
  20. v_dict.mtrlid as mtrlid,
  21. v_dict.mtrlcode as mtrlcode,
  22. v_dict.mtrlname as mtrlname,
  23. v_dict.mtrlmode as mtrlmode,
  24. v_dict.mtrlsectype as mtrlsectype,
  25. v_dict.mtrltype as mtrltype,
  26. v_dict.dscrp as dscrp,
  27. v_dict.status as status,
  28. v_dict.woodcode as woodcode,
  29. v_dict.pcode as pcode,
  30. v_dict.plancode as plancode,
  31. v_dict.sptid as sptid
  32. from u_temp
  33. left join
  34. (
  35. select
  36. case when len(u_barcode_dict.barcode)>0 then u_barcode_dict.barcode else u_mtrldef.mtrlcode end as barcode,
  37. u_mtrldef.mtrlid as mtrlid,
  38. u_mtrldef.mtrlcode as mtrlcode,
  39. u_mtrldef.mtrlname as mtrlname,
  40. u_mtrldef.mtrlmode as mtrlmode,
  41. u_mtrldef.unit as unit,
  42. u_mtrldef.mtrlsectype as mtrlsectype,
  43. u_mtrldef.zxmtrlmode as zxmtrlmode,
  44. u_mtrldef.mtrlengname as mtrlengname,
  45. u_mtrldef.mtrltype as mtrltype,
  46. u_mtrldef.dscrp as dscrp,
  47. case when len(u_barcode_dict.Status)>0 then u_barcode_dict.Status else '' end as Status,
  48. case when len(u_barcode_dict.woodcode)>0 then u_barcode_dict.woodcode else '' end as woodcode,
  49. case when len(u_barcode_dict.pcode)>0 then u_barcode_dict.pcode else '' end as pcode,
  50. case when len(u_barcode_dict.plancode)>0 then u_barcode_dict.plancode else '' end as plancode,
  51. case when u_barcode_dict.sptid>0 then u_barcode_dict.Sptid else 0 end as sptid
  52. from u_mtrldef
  53. left join u_barcode_dict on u_barcode_dict.mtrlid =u_mtrldef.mtrlid and u_barcode_dict.scid =:arg_scid
  54. ) as v_dict on v_dict.barcode =u_temp.barcode
  55. where u_temp.username=:arg_username
  56. " arguments=(("arg_scid", number),("arg_username", string)) )
  57. column(band=detail id=1 alignment="0" tabsequence=32766 border="0" color="33554432" x="23" y="280" height="240" width="745" format="[general]" html.valueishtml="0" name=barcode_1 visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no font.face="C39HrP24DhTt" font.height="-40" font.weight="400" font.family="0" 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" )
  58. compute(band=detail alignment="0" expression="bitmap(f_getfilepath_pic( mtrlid ,'产品图片','dw_print_dsr_barcode_chaifen'))"border="0" color="33554432" x="23" y="44" height="212" width="722" format="[GENERAL]" html.valueishtml="0" name=compute_1 visible="1" font.face="宋体" font.height="-40" 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" )
  59. column(band=detail id=4 alignment="0" tabsequence=32766 border="0" color="33554432" x="50" y="684" height="76" width="649" format="[general]" html.valueishtml="0" name=mtrlname visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no 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="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" )
  60. column(band=detail id=5 alignment="0" tabsequence=32766 border="0" color="33554432" x="46" y="792" height="76" width="654" format="[general]" html.valueishtml="0" name=mtrlmode visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no 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="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" )
  61. column(band=detail id=3 alignment="0" tabsequence=32766 border="0" color="33554432" x="37" y="556" height="76" width="375" format="[general]" html.valueishtml="0" name=mtrlcode visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no 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="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" )
  62. htmltable(border="1" )
  63. htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" pagingmethod=0 generatedddwframes="1" )
  64. xhtmlgen() cssgen(sessionspecific="0" )
  65. xmlgen(inline="0" )
  66. xsltgen()
  67. jsgen()
  68. export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 template=(comment="" encoding="UTF-16LE" name="qqqq" xml="<?xml version=~"1.0~" encoding=~"UTF-16LE~" standalone=~"no~"?><untitled><untitled_row __pbband=~"detail~"><strkey/></untitled_row></untitled>"))
  69. import.xml()
  70. export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
  71. export.xhtml()