dw_rp_reissuemx_bj.srd 10.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. $PBExportHeader$dw_rp_reissuemx_bj.srd
  2. release 9;
  3. datawindow ( units=1 timer_interval=0 color=16777215 processing=1 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 grid.lines=0 selected.mouse=no)
  4. header(height=17 color="536870912" )
  5. summary(height=0 color="536870912" )
  6. footer(height=16 color="536870912" )
  7. detail(height=19 color="536870912" )
  8. table(column=(type=char(100) updatewhereclause=yes initial="null" name=u_expenses_expensescode dbname="U_Expenses.Expensescode" )
  9. column=(type=decimal(4) updatewhereclause=yes initial="null" name=u_reissuemx_qty dbname="u_reissuemx.Qty" )
  10. column=(type=decimal(10) updatewhereclause=yes initial="null" name=u_reissuemx_price dbname="u_reissuemx.price" )
  11. column=(type=char(255) updatewhereclause=yes initial="null" name=u_reissuemx_dscrp dbname="u_reissuemx.dscrp"
  12. values="客户费用单明细表-明细备注 /" )
  13. column=(type=decimal(4) updatewhereclause=yes initial="null" name=u_reissuemx_amt dbname="u_reissuemx.amt"
  14. values="客户费用单明细表-金额 /" )
  15. column=(type=char(100) updatewhereclause=yes initial="null" name=u_expenses_expensesname dbname="U_Expenses.Expensesname"
  16. values="U Expenses
  17. Expensesname /" )
  18. column=(type=long updatewhereclause=yes initial="null" name=u_reissuemx_reissueid dbname="u_reissuemx.reissueid"
  19. values="客户费用单明细表-单据ID /" )
  20. column=(type=long updatewhereclause=yes initial="null" name=u_reissuemx_mtrlid dbname="u_reissuemx.MtrlID" )
  21. column=(type=long updatewhereclause=yes initial="null" name=u_reissuemx_scid dbname="u_reissuemx.scid" )
  22. column=(type=long updatewhereclause=yes initial="null" name=u_reissuemx_printid dbname="u_reissuemx.printid"
  23. values="客户费用单明细表-序号 /" )
  24. retrieve="SELECT
  25. U_Expenses.Expensescode,
  26. u_reissuemx.Qty ,
  27. u_reissuemx.price ,
  28. u_reissuemx.dscrp,
  29. u_reissuemx.amt,
  30. U_Expenses.Expensesname,
  31. u_reissuemx.reissueid,
  32. u_reissuemx.MtrlID,
  33. u_reissuemx.scid,
  34. u_reissuemx.printid
  35. FROM u_reissuemx left outer join U_Expenses on
  36. u_reissuemx.MtrlID = U_Expenses.Expensesid
  37. where u_reissuemx.scid=:arg_scid and
  38. u_reissuemx.reissueid=:arg_reissueid
  39. "
  40. arguments=(("arg_scid", number), ("arg_reissueid", number))
  41. )
  42. text(name=qty_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="33554432" alignment="2" border="0" x="248" y="2" height="14" width="68" text="数量" )
  43. text(name=pid_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="33554432" alignment="2" border="0" x="2" y="2" height="14" width="14" text="序" )
  44. text(name=price_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="33554432" alignment="2" border="0" x="318" y="2" height="14" width="60" text="单价" )
  45. text(name=dscrp_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="33554432" alignment="2" border="0" x="470" y="2" height="14" width="244" text="明细备注" )
  46. text(name=amt1_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="33554432" alignment="2" border="0" x="380" y="2" height="14" width="88" text="金额" )
  47. text(name=u_expenses_expensescode_t visible="1" band=header font.charset="0" font.face="宋体" font.family="2" font.height="-9" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="33554432" alignment="2" border="0" x="18" y="2" height="14" width="94" text="项目编号" )
  48. text(name=u_expenses_expensesname_t visible="1" band=header font.charset="0" font.face="宋体" font.family="2" font.height="-9" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="33554432" alignment="2" border="0" x="114" y="2" height="14" width="132" text="项目名称" )
  49. compute(name=compute_2 visible="1" tag="sum(u_reissuemx_qty for all)" band=footer font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="33554432" x="248" y="1" height="14" width="68" format="#,##0.##########" expression="sum(u_reissuemx_qty for all)" alignment="1" border="0" crosstab.repeat=no )
  50. compute(name=compute_5 visible="1" tag="sum(round( u_reissuemx_qty * u_reissuemx_price ,2) for all)" band=footer font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="33554432" x="380" y="1" height="14" width="88" format="####0.00###" expression="sum(round( u_reissuemx_qty * u_reissuemx_price ,2) for all)" alignment="1" border="0" crosstab.repeat=no )
  51. compute(name=compute_1 visible="1" tag="count(u_expenses_expensesname for all)" band=footer font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="33554432" x="114" y="1" height="14" width="132" format="[general]" expression="count(u_expenses_expensesname for all)" alignment="2" border="0" crosstab.repeat=no )
  52. column(name=u_reissuemx_price visible="1" tag="u_reissuemx_price" band=detail id=8 x="318" y="1" height="17" width="60" color="33554432" border="0" alignment="1" format="#,##0.00########" protect="0" edit.format="#,##0.00########" edit.focusrectangle=no edit.autohscroll=no 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="2" background.color="16777215" font.charset="134" font.face="宋体" font.family="2" font.height="-9" font.pitch="2" font.weight="400" tabsequence=0 )
  53. column(name=u_reissuemx_dscrp visible="1" tag="u_reissuemx_dscrp" band=detail id=3 x="470" y="1" height="17" width="244" color="33554432" 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=100 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="2" background.color="16777215" font.charset="134" font.face="宋体" font.family="2" font.height="-9" font.pitch="2" font.weight="400" tabsequence=0 )
  54. column(name=u_expenses_expensesname visible="1" tag="u_expenses_expensesname" band=detail id=9 x="114" y="1" height="17" width="132" color="33554432" border="0" alignment="0" format="[general]" protect="0" edit.focusrectangle=no edit.autohscroll=no edit.autoselect=no 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="2" background.color="16777215" font.charset="134" font.face="宋体" font.family="2" font.height="-9" font.pitch="2" font.weight="400" tabsequence=0 )
  55. column(name=u_reissuemx_qty visible="1" tag="u_reissuemx_qty" band=detail id=2 x="248" y="1" height="17" width="68" color="33554432" border="0" alignment="1" format="#,##0.##########" protect="0" edit.format="#,##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="2" background.color="16777215" font.charset="134" font.face="宋体" font.family="2" font.height="-9" font.pitch="2" font.weight="400" tabsequence=0 )
  56. compute(name=pid visible="1" tag="getrow()" band=detail font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="33554432" x="2" y="1" height="17" width="14" format="[GENERAL]" expression="getrow()" alignment="2" border="0" crosstab.repeat=no )
  57. compute(name=amt1 visible="1" tag="round( u_reissuemx_qty * u_reissuemx_price ,2)" band=detail font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="33554432" x="380" y="1" height="17" width="88" format="####0.00###" expression="round( u_reissuemx_qty * u_reissuemx_price ,2)" alignment="1" border="0" crosstab.repeat=no )
  58. column(name=u_expenses_expensescode visible="1" tag="u_expenses_expensescode" band=detail id=1 x="18" y="1" height="17" width="94" color="33554432" border="0" alignment="0" format="[general]" protect="0" edit.focusrectangle=no edit.autohscroll=no 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="2" background.color="16777215" font.charset="134" font.face="宋体" font.family="2" font.height="-9" font.pitch="2" font.weight="400" tabsequence=0 )
  59. htmltable()
  60. htmlgen()
  61. export.xml(metadatatype=0 savemetadata=0 )
  62. import.xml()
  63. export.pdf(method=0 )