dw_rp_giveback_edit.srd 18 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. $PBExportHeader$dw_rp_giveback_edit.srd
  2. release 9;
  3. datawindow ( units=1 timer_interval=0 color=1073741824 processing=0 print.orientation=0 print.margin.left=24 print.margin.right=24 print.margin.top=24 print.margin.bottom=24 print.paper.size=0 print.paper.source=0 selected.mouse=no)
  4. header(height=146 color="?" )
  5. summary(height=0 color="536870912" )
  6. footer(height=27 color="536870912" )
  7. detail(height=28 color="536870912" height.autosize=yes)
  8. table(column=(type=datetime updatewhereclause=yes initial="null" name=u_giveback_givebackdate dbname="u_giveback.givebackdate" )
  9. column=(type=datetime updatewhereclause=yes initial="null" name=u_giveback_startdate dbname="u_giveback.startdate" )
  10. column=(type=datetime updatewhereclause=yes initial="null" name=u_giveback_enddate dbname="u_giveback.enddate" )
  11. column=(type=char(20) updatewhereclause=yes initial="null" name=u_cust_cuscode dbname="u_cust.cuscode" )
  12. column=(type=char(10) updatewhereclause=yes initial="null" name=u_giveback_assign_emp dbname="u_giveback.assign_emp" )
  13. column=(type=char(20) updatewhereclause=yes initial="null" name=u_giveback_relcode dbname="u_giveback.relcode" )
  14. column=(type=char(255) updatewhereclause=yes initial="null" name=u_giveback_dscrp dbname="u_giveback.dscrp" )
  15. column=(type=char(10) updatewhereclause=yes initial="null" name=u_giveback_opemp dbname="u_giveback.opemp" )
  16. column=(type=datetime updatewhereclause=yes initial="null" name=u_giveback_opdate dbname="u_giveback.opdate" )
  17. column=(type=char(50) updatewhereclause=yes initial="null" name=u_cust_name dbname="u_cust.name" )
  18. column=(type=long updatewhereclause=yes initial="null" name=u_giveback_cusid dbname="u_giveback.cusid"
  19. values="客户ID /" )
  20. column=(type=long updatewhereclause=yes initial="null" name=u_giveback_printnum dbname="u_giveback.printnum"
  21. values="打印次数 /" )
  22. column=(type=long updatewhereclause=yes initial="null" name=u_giveback_scid dbname="u_giveback.scid"
  23. values="分部ID /" )
  24. column=(type=char(20) updatewhereclause=yes initial="null" name=u_giveback_givebackcode dbname="u_giveback.givebackcode" )
  25. column=(type=decimal(5) updatewhereclause=yes initial="null" name=u_giveback_givebackrate dbname="u_giveback.givebackrate" )
  26. column=(type=decimal(5) updatewhereclause=yes initial="null" name=u_giveback_sumamt dbname="u_giveback.sumamt" )
  27. retrieve="SELECT u_giveback.givebackdate,
  28. u_giveback.startdate,
  29. u_giveback.enddate,
  30. u_cust.cuscode,
  31. u_giveback.assign_emp,
  32. u_giveback.relcode,
  33. u_giveback.dscrp,
  34. u_giveback.opemp,
  35. u_giveback.opdate,
  36. u_cust.name ,
  37. u_giveback.cusid,
  38. u_giveback.printnum ,
  39. u_giveback.scid,
  40. u_giveback.givebackcode,
  41. u_giveback.givebackrate,
  42. u_giveback.sumamt
  43. FROM u_cust,
  44. u_giveback
  45. WHERE ( u_cust.cusid = u_giveback.cusid )
  46. and ( u_giveback.scid = :arg_scid )
  47. and ( u_giveback.givebackid = :arg_givebackid )
  48. "
  49. arguments=(("arg_scid", number), ("arg_givebackid", number))
  50. )
  51. line(name=l_1 visible="1" band=header background.mode="2" background.color="1073741824" pen.style="0" pen.width="2" pen.color="33554432" x1="239" y1="39" x2="447" y2="39" )
  52. text(name=t_6 visible="1" moveable=1 resizeable=1 band=header font.charset="134" font.face="宋体" font.family="0" font.height="-20" font.pitch="2" font.weight="700" background.mode="2" background.color="1073741824" color="33554432" alignment="2" border="0" x="184" y="5" height="31" width="318" text="返利单" )
  53. compute(name=compute_1 visible="1" tag="if( u_giveback_printnum > 0,'(重复打印-'+string( u_giveback_printnum )+')','')" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-12" font.pitch="2" font.weight="700" background.mode="1" background.color="536870912" color="0" x="509" y="15" height="21" width="121" format="[GENERAL]" expression="if( u_giveback_printnum > 0,'(重复打印-'+string( u_giveback_printnum )+')','')" alignment="0" border="0" crosstab.repeat=no )
  54. text(name=u_cust_cuscode_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="1" background.color="536870912" color="0" alignment="1" border="0" x="7" y="51" height="15" width="62" text="客户编号:" )
  55. text(name=u_giveback_givebackcode_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="1" background.color="536870912" color="0" alignment="1" border="0" x="523" y="50" height="15" width="62" text="单据编号:" )
  56. column(name=u_giveback_givebackcode visible="1" tag="u_giveback_givebackcode" band=header id=14 x="588" y="50" height="17" width="130" color="0" border="0" alignment="0" format="[general]" protect="0" edit.focusrectangle=no edit.autohscroll=yes edit.autoselect=yes edit.autovscroll=no edit.case=any edit.codetable=no edit.displayonly=no edit.hscrollbar=no edit.imemode=0 edit.limit=20 edit.password=no edit.vscrollbar=no edit.validatecode=no edit.nilisnull=no edit.required=no criteria.required=no criteria.override_edit=no crosstab.repeat=no background.mode="1" background.color="536870912" font.charset="134" font.face="宋体" font.family="2" font.height="-10" font.pitch="2" font.weight="700" tabsequence=0 )
  57. text(name=u_giveback_givebackdate_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="1" background.color="536870912" color="0" alignment="1" border="0" x="523" y="76" height="15" width="62" text="单据日期:" )
  58. text(name=u_giveback_givebackrate_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="1" background.color="536870912" color="0" alignment="1" border="0" x="7" y="76" height="15" width="62" text="返 利 率:" )
  59. column(name=u_cust_name visible="1" tag="u_cust_name" band=header id=10 x="242" y="51" height="17" width="271" color="0" border="0" alignment="0" format="[general]" protect="0" edit.focusrectangle=no edit.autohscroll=yes edit.autoselect=yes edit.autovscroll=no edit.case=any edit.codetable=no edit.displayonly=no edit.hscrollbar=no edit.imemode=0 edit.limit=50 edit.password=no edit.vscrollbar=no edit.validatecode=no edit.nilisnull=no edit.required=no criteria.required=no criteria.override_edit=no crosstab.repeat=no background.mode="1" background.color="536870912" font.charset="134" font.face="宋体" font.family="2" font.height="-11" font.pitch="2" font.weight="700" tabsequence=0 )
  60. text(name=u_cust_name_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="1" background.color="536870912" color="0" alignment="1" border="0" x="178" y="51" height="15" width="62" text="客户名称:" )
  61. text(name=u_giveback_startdate_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="1" background.color="536870912" color="0" alignment="1" border="0" x="179" y="76" height="15" width="62" text="开始日期:" )
  62. column(name=u_cust_cuscode visible="1" tag="u_cust_cuscode" band=header id=4 x="72" y="51" height="17" width="103" color="0" border="0" alignment="0" format="[general]" protect="0" edit.focusrectangle=no edit.autohscroll=yes edit.autoselect=yes edit.autovscroll=no edit.case=any edit.codetable=no edit.displayonly=no edit.hscrollbar=no edit.imemode=0 edit.limit=20 edit.password=no edit.vscrollbar=no edit.validatecode=no edit.nilisnull=no edit.required=no criteria.required=no criteria.override_edit=no crosstab.repeat=no background.mode="1" background.color="536870912" font.charset="134" font.face="宋体" font.family="2" font.height="-10" font.pitch="2" font.weight="400" tabsequence=0 )
  63. text(name=u_giveback_relcode_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="1" background.color="536870912" color="0" alignment="1" border="0" x="523" y="101" height="15" width="62" text="相关号码:" )
  64. column(name=u_giveback_givebackdate visible="1" tag="u_giveback_givebackdate" band=header id=1 x="588" y="76" height="17" width="130" color="0" border="0" alignment="0" format="yyyy-mm-dd" protect="0" editmask.focusrectangle=no editmask.autoskip=no editmask.required=no editmask.readonly=no editmask.codetable=no editmask.spin=no editmask.useformat=no editmask.mask="yyyy-mm-dd" editmask.imemode=0 criteria.required=no criteria.override_edit=no crosstab.repeat=no background.mode="1" background.color="536870912" font.charset="134" font.face="宋体" font.family="2" font.height="-10" font.pitch="2" font.weight="400" tabsequence=0 )
  65. column(name=u_giveback_relcode visible="1" tag="u_giveback_relcode" band=header id=6 x="588" y="101" height="17" width="130" color="0" border="0" alignment="0" format="[general]" protect="0" edit.focusrectangle=no edit.autohscroll=yes edit.autoselect=yes edit.autovscroll=no edit.case=any edit.codetable=no edit.displayonly=no edit.hscrollbar=no edit.imemode=0 edit.limit=20 edit.password=no edit.vscrollbar=no edit.validatecode=no edit.nilisnull=no edit.required=no criteria.required=no criteria.override_edit=no crosstab.repeat=no background.mode="1" background.color="536870912" font.charset="134" font.face="宋体" font.family="2" font.height="-10" font.pitch="2" font.weight="400" tabsequence=0 )
  66. text(name=u_giveback_enddate_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="1" background.color="536870912" color="0" alignment="1" border="0" x="337" y="76" height="15" width="69" text="结束日期:" )
  67. text(name=u_giveback_assign_emp_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="1" background.color="536870912" color="0" alignment="1" border="0" x="337" y="101" height="15" width="69" text="经 手 人:" )
  68. text(name=u_giveback_sumamt_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="1" background.color="536870912" color="0" alignment="1" border="0" x="7" y="101" height="15" width="62" text="交易金额:" )
  69. column(name=u_giveback_dscrp visible="1" tag="u_giveback_dscrp" band=header id=7 x="72" y="126" height="17" width="646" color="0" border="0" alignment="0" format="[general]" protect="0" edit.focusrectangle=no edit.autohscroll=yes edit.autoselect=yes edit.autovscroll=no edit.case=any edit.codetable=no edit.displayonly=no edit.hscrollbar=no edit.imemode=0 edit.limit=255 edit.password=no edit.vscrollbar=no edit.validatecode=no edit.nilisnull=no edit.required=no criteria.required=no criteria.override_edit=no crosstab.repeat=no background.mode="1" background.color="536870912" font.charset="134" font.face="宋体" font.family="2" font.height="-9" font.pitch="2" font.weight="400" tabsequence=0 )
  70. column(name=u_giveback_startdate visible="1" tag="u_giveback_startdate" band=header id=2 x="242" y="76" height="17" width="91" color="0" border="0" alignment="0" format="yyyy-mm-dd" protect="0" editmask.focusrectangle=no editmask.autoskip=no editmask.required=no editmask.readonly=no editmask.codetable=no editmask.spin=no editmask.useformat=no editmask.mask="yyyy-mm-dd" editmask.imemode=0 criteria.required=no criteria.override_edit=no crosstab.repeat=no background.mode="1" background.color="536870912" font.charset="134" font.face="宋体" font.family="2" font.height="-10" font.pitch="2" font.weight="400" tabsequence=0 )
  71. column(name=u_giveback_enddate visible="1" tag="u_giveback_enddate" band=header id=3 x="408" y="76" height="17" width="91" color="0" border="0" alignment="0" format="yyyy-mm-dd" protect="0" editmask.focusrectangle=no editmask.autoskip=no editmask.required=no editmask.readonly=no editmask.codetable=no editmask.spin=no editmask.useformat=no editmask.mask="yyyy-mm-dd" editmask.imemode=0 criteria.required=no criteria.override_edit=no crosstab.repeat=no background.mode="1" background.color="536870912" font.charset="134" font.face="宋体" font.family="2" font.height="-10" font.pitch="2" font.weight="400" tabsequence=0 )
  72. column(name=u_giveback_assign_emp visible="1" tag="u_giveback_assign_emp" band=header id=5 x="408" y="101" height="17" width="91" color="0" border="0" alignment="0" format="[general]" protect="0" edit.focusrectangle=no edit.autohscroll=yes edit.autoselect=yes edit.autovscroll=no edit.case=any edit.codetable=no edit.displayonly=no edit.hscrollbar=no edit.imemode=0 edit.limit=10 edit.password=no edit.vscrollbar=no edit.validatecode=no edit.nilisnull=no edit.required=no criteria.required=no criteria.override_edit=no crosstab.repeat=no background.mode="1" background.color="536870912" font.charset="134" font.face="宋体" font.family="2" font.height="-10" font.pitch="2" font.weight="400" tabsequence=0 )
  73. column(name=u_giveback_givebackrate visible="1" tag="u_giveback_givebackrate" band=header id=15 x="72" y="76" height="17" width="103" color="0" border="0" alignment="0" format="##0.00###" protect="0" edit.focusrectangle=no edit.autohscroll=yes edit.autoselect=yes edit.autovscroll=no edit.case=any edit.codetable=no edit.displayonly=no edit.hscrollbar=no edit.imemode=0 edit.limit=0 edit.password=no edit.vscrollbar=no edit.validatecode=no edit.nilisnull=no edit.required=no criteria.required=no criteria.override_edit=no crosstab.repeat=no background.mode="1" background.color="536870912" font.charset="134" font.face="宋体" font.family="2" font.height="-10" font.pitch="2" font.weight="400" tabsequence=0 )
  74. text(name=u_giveback_dscrp_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="1" background.color="536870912" color="0" alignment="1" border="0" x="7" y="126" height="15" width="62" text="备 注:" )
  75. column(name=u_giveback_sumamt visible="1" tag="u_giveback_sumamt" band=header id=16 x="72" y="101" height="17" width="103" color="0" border="0" alignment="0" format="#,###0.00###" protect="0" edit.focusrectangle=no edit.autohscroll=yes edit.autoselect=yes edit.autovscroll=no edit.case=any edit.codetable=no edit.displayonly=no edit.hscrollbar=no edit.imemode=0 edit.limit=0 edit.password=no edit.vscrollbar=no edit.validatecode=no edit.nilisnull=no edit.required=no criteria.required=no criteria.override_edit=no crosstab.repeat=no background.mode="1" background.color="536870912" font.charset="134" font.face="宋体" font.family="2" font.height="-10" font.pitch="2" font.weight="400" tabsequence=0 )
  76. text(name=amt_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="1" background.color="536870912" color="0" alignment="1" border="0" x="179" y="101" height="15" width="62" text="返利金额:" )
  77. compute(name=amt visible="1" tag="round( u_giveback_givebackrate * u_giveback_sumamt, 2)" band=header font.charset="134" font.face="宋体" font.family="2" font.height="-10" font.pitch="2" font.weight="400" background.mode="1" background.color="536870912" color="0" x="242" y="101" height="17" width="91" format="#,###0.00###" expression="round( u_giveback_givebackrate * u_giveback_sumamt, 2)" alignment="0" border="0" crosstab.repeat=no )
  78. text(name=u_giveback_opemp_t visible="1" slideup=allabove band=footer font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="1" background.color="536870912" color="0" alignment="1" border="0" x="5" y="8" height="15" width="63" text="制 单 人:" )
  79. column(name=u_giveback_opemp visible="1" tag="u_giveback_opemp" slideup=allabove band=footer id=8 x="71" y="8" height="17" width="91" color="0" border="0" alignment="0" format="[general]" protect="0" edit.focusrectangle=no edit.autohscroll=yes edit.autoselect=yes edit.autovscroll=no edit.case=any edit.codetable=no edit.displayonly=no edit.hscrollbar=no edit.imemode=0 edit.limit=10 edit.password=no edit.vscrollbar=no edit.validatecode=no edit.nilisnull=no edit.required=no criteria.required=no criteria.override_edit=no crosstab.repeat=no background.mode="1" background.color="536870912" font.charset="134" font.face="宋体" font.family="2" font.height="-10" font.pitch="2" font.weight="400" tabsequence=0 )
  80. text(name=u_giveback_opdate_t visible="1" slideup=allabove band=footer font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="1" background.color="536870912" color="0" alignment="1" border="0" x="171" y="8" height="15" width="69" text="制单时间:" )
  81. column(name=u_giveback_opdate visible="1" tag="u_giveback_opdate" slideup=allabove band=footer id=9 x="241" y="8" height="17" width="145" color="0" border="0" alignment="0" format="yyyy-mm-dd hh:mm" protect="0" edit.focusrectangle=no edit.autohscroll=yes edit.autoselect=yes edit.autovscroll=no edit.case=any edit.codetable=no edit.displayonly=no edit.hscrollbar=no edit.imemode=0 edit.limit=0 edit.password=no edit.vscrollbar=no edit.validatecode=no edit.nilisnull=no edit.required=no criteria.required=no criteria.override_edit=no crosstab.repeat=no background.mode="1" background.color="536870912" font.charset="134" font.face="宋体" font.family="2" font.height="-10" font.pitch="2" font.weight="400" tabsequence=0 )
  82. report(name=dw_1 visible="1" slideleft=yes height.autosize=yes slideup=directlyabove band=detail x="4" y="4" height="21" width="719" border="0" trail_footer=yes dataobject="dw_rp_givebackmx_index" nest_arguments=
  83. ((" arg_scid "),(" arg_givebackid ")))
  84. htmltable()
  85. htmlgen()
  86. export.xml(metadatatype=0 savemetadata=0 )
  87. import.xml()
  88. export.pdf(method=0 )