dw_rp_outwaremx_sale_index_ls.srd 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. $PBExportHeader$dw_rp_outwaremx_sale_index_ls.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=yes)
  4. header(height=25 color="536870912" )
  5. summary(height=19 color="536870912" )
  6. footer(height=0 color="536870912" )
  7. detail(height=30 color="536870912" height.autosize=yes)
  8. table(column=(type=decimal(4) updatewhereclause=yes initial="null" name=u_outwaremx_qty dbname="u_outwaremx.qty" )
  9. column=(type=char(30) updatewhereclause=yes initial="null" name=u_mtrldef_mtrlcode dbname="u_mtrldef.mtrlcode"
  10. values="编码 /" )
  11. column=(type=char(50) updatewhereclause=yes initial="null" name=u_mtrldef_mtrlname dbname="u_mtrldef.mtrlname" )
  12. column=(type=char(30) updatewhereclause=yes initial="null" name=u_mtrldef_mtrlmode dbname="u_mtrldef.mtrlmode"
  13. values="规格 /" )
  14. column=(type=char(10) updatewhereclause=yes initial="null" name=u_mtrldef_unit dbname="u_mtrldef.unit"
  15. values="标准库存单位 /" )
  16. column=(type=char(30) updatewhereclause=yes initial="null" name=u_mtrldef_barcode dbname="u_mtrldef.barcode" )
  17. column=(type=char(255) updatewhereclause=yes initial="null" name=u_outwaremx_status dbname="u_outwaremx.status"
  18. values="规格说明 /" )
  19. column=(type=char(255) updatewhereclause=yes initial="null" name=u_outwaremx_mxdscrp dbname="u_outwaremx.mxdscrp"
  20. values="明细备注 /" )
  21. column=(type=decimal(10) updatewhereclause=yes initial="null" name=u_outwaremx_price dbname="u_outwaremx.price" )
  22. column=(type=long updatewhereclause=yes initial="null" name=u_outwaremx_packqty dbname="u_outwaremx.packqty"
  23. values="包装数 /" )
  24. column=(type=char(14) updatewhereclause=yes initial="null" name=relcode dbname="relcode"
  25. values="Relcode /" )
  26. column=(type=long updatewhereclause=yes initial="null" name=u_outwaremx_printid dbname="u_outwaremx.printid"
  27. values="序号 /" )
  28. retrieve="SELECT u_outwaremx.qty,
  29. u_mtrldef.mtrlcode,
  30. u_mtrldef.mtrlname,
  31. u_mtrldef.mtrlmode,
  32. u_mtrldef.unit,
  33. u_mtrldef.barcode,
  34. u_outwaremx.status,
  35. u_outwaremx.mxdscrp,
  36. u_outwaremx.price,
  37. u_outwaremx.packqty,
  38. right(ltrim(rtrim(u_outwaremx.relcode)),7) as relcode ,
  39. u_outwaremx.printid
  40. FROM u_mtrldef,
  41. u_outwaremx
  42. WHERE ( u_mtrldef.mtrlid = u_outwaremx.mtrlid ) and
  43. ( u_outwaremx.outwareid = :arg_outwareid ) and
  44. ( u_outwaremx.scid = :arg_scid ) and
  45. ( :arg_printrow = :arg_printrow ) and
  46. ( :arg_top = :arg_top )
  47. "
  48. arguments=(("arg_scid", number), ("arg_outwareid", number), ("arg_printrow", number), ("arg_top", number))
  49. )
  50. text(name=t_2 visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" alignment="2" border="0" x="2" y="6" height="15" width="17" text="序" )
  51. text(name=u_mtrldef_mtrlname_t visible="1" height.autosize=yes 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="2" border="0" x="21" y="6" height="15" width="107" text="商品名称" )
  52. text(name=u_mtrldef_barcode_t visible="1" height.autosize=yes band=header font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="2" background.color="1073741824" color="33554432" alignment="2" border="0" x="130" y="6" height="15" width="68" text="商品条码" )
  53. text(name=u_outwaremx_qty_t visible="1" height.autosize=yes 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="2" border="0" x="200" y="6" height="15" width="42" text="数量" )
  54. text(name=amt_t visible="1" height.autosize=yes band=header font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="2" background.color="1073741824" color="33554432" alignment="2" border="0" x="298" y="6" height="15" width="66" text="金额" )
  55. text(name=u_outwaremx_price_t visible="1" height.autosize=yes 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="2" border="0" x="244" y="6" height="15" width="52" text="单价" )
  56. compute(name=compute_2 visible="1" tag="sum(u_outwaremx_qty for all)" band=summary 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" x="200" y="1" height="17" width="42" format="#,##0.####" expression="sum(u_outwaremx_qty for all)" alignment="1" border="0" crosstab.repeat=no )
  57. text(name=t_5 visible="1" band=summary font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="2" background.color="1073741824" color="33554432" alignment="2" border="0" x="21" y="1" height="17" width="107" text="合计" )
  58. compute(name=compute_1 visible="1" tag="sum(u_outwaremx_price * u_outwaremx_qty for all)" band=summary 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" x="298" y="1" height="17" width="66" format="#,##0.00" expression="sum(u_outwaremx_price * u_outwaremx_qty for all)" alignment="1" border="0" crosstab.repeat=no )
  59. compute(name=cmpl1 visible="1" tag="getrow()" height.autosize=yes band=detail font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" x="2" y="5" height="20" width="17" format="[general]" expression="getrow()" alignment="2" border="0" crosstab.repeat=no )
  60. column(name=u_mtrldef_mtrlname visible="1" tag="u_mtrldef_mtrlname" height.autosize=yes band=detail id=3 x="21" y="5" height="20" width="107" 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="-10" font.pitch="2" font.weight="400" tabsequence=0 )
  61. column(name=u_outwaremx_qty visible="1" tag="u_outwaremx_qty" height.autosize=yes band=detail id=1 x="200" y="5" height="20" width="42" color="0" 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="1" background.color="536870912" font.charset="134" font.face="宋体" font.family="2" font.height="-10" font.pitch="2" font.weight="400" tabsequence=0 )
  62. compute(name=amt visible="1" tag="u_outwaremx_price * u_outwaremx_qty" height.autosize=yes band=detail 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="298" y="5" height="20" width="66" format="#,##0.00" expression="u_outwaremx_price * u_outwaremx_qty" alignment="1" border="0" crosstab.repeat=no )
  63. column(name=u_outwaremx_price visible="1" tag="u_outwaremx_price" height.autosize=yes band=detail id=9 x="244" y="5" height="20" width="52" color="0" border="0" alignment="1" format="#,##0.00########" protect="0" 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="1" background.color="536870912" font.charset="134" font.face="宋体" font.family="2" font.height="-10" font.pitch="2" font.weight="400" tabsequence=0 )
  64. column(name=u_mtrldef_barcode visible="1" tag="u_mtrldef_barcode" height.autosize=yes band=detail id=6 x="130" y="5" height="20" width="68" color="0" border="0" alignment="2" 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="1" background.color="536870912" font.charset="134" font.face="宋体" font.family="2" font.height="-10" font.pitch="2" font.weight="400" tabsequence=0 )
  65. htmltable()
  66. htmlgen()
  67. export.xml(metadatatype=0 savemetadata=0 )
  68. import.xml()
  69. export.pdf(method=0 )