dw_rp_outwaremx_sale_index_th.srd 15 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. $PBExportHeader$dw_rp_outwaremx_sale_index_th.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=29 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. column=(type=char(50) updatewhereclause=yes initial="null" name=u_mtrldef_mtrlname dbname="u_mtrldef.mtrlname" )
  11. column=(type=char(30) updatewhereclause=yes initial="null" name=u_mtrldef_mtrlmode dbname="u_mtrldef.mtrlmode" )
  12. column=(type=char(10) updatewhereclause=yes initial="null" name=u_mtrldef_unit dbname="u_mtrldef.unit" )
  13. column=(type=char(255) updatewhereclause=yes initial="null" name=u_outwaremx_status dbname="u_outwaremx.status" )
  14. column=(type=char(255) updatewhereclause=yes initial="null" name=u_outwaremx_mxdscrp dbname="u_outwaremx.mxdscrp" )
  15. column=(type=decimal(10) updatewhereclause=yes initial="null" name=u_outwaremx_price dbname="u_outwaremx.price" )
  16. column=(type=decimal(10) updatewhereclause=yes initial="null" name=u_outwaremx_fprice dbname="u_outwaremx.fprice"
  17. values="出仓单明细表-人民币单价 /" )
  18. column=(type=decimal(5) updatewhereclause=yes initial="null" name=u_outwaremx_rebate dbname="u_outwaremx.rebate"
  19. values="出仓单明细表-折扣 /" )
  20. column=(type=long updatewhereclause=yes initial="null" name=u_outwaremx_packqty dbname="u_outwaremx.packqty" )
  21. column=(type=long updatewhereclause=yes initial="null" name=u_outwaremx_printid dbname="u_outwaremx.printid"
  22. values="出仓单明细表-序号 /" )
  23. retrieve="SELECT u_outwaremx.qty,
  24. u_mtrldef.mtrlcode,
  25. u_mtrldef.mtrlname,
  26. u_mtrldef.mtrlmode,
  27. u_mtrldef.unit,
  28. u_outwaremx.status,
  29. u_outwaremx.mxdscrp,
  30. u_outwaremx.price,
  31. u_outwaremx.fprice,
  32. u_outwaremx.rebate,
  33. u_outwaremx.packqty,
  34. u_outwaremx.printid
  35. FROM u_mtrldef,
  36. u_outwaremx
  37. WHERE ( u_mtrldef.mtrlid = u_outwaremx.mtrlid ) and
  38. ( u_outwaremx.outwareid = :arg_outwareid ) and
  39. ( u_outwaremx.scid = :arg_scid ) and
  40. ( :arg_printrow = :arg_printrow ) and
  41. ( :arg_top = :arg_top )
  42. union all
  43. SELECT TOP :arg_top null, null, null, null, null, null, null, null, null, null, null, 10000
  44. FROM syscolumns
  45. "
  46. arguments=(("arg_scid", number), ("arg_outwareid", number), ("arg_printrow", number), ("arg_top", number))
  47. )
  48. compute(name=aa visible="1 if(0=0,0,1)" tag="ceiling( getrow() / arg_printrow )" band=background 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="833" y="43" height="17" width="45" format="[general]" expression="ceiling( getrow() / arg_printrow )" alignment="0" border="0" crosstab.repeat=no )
  49. text(name=t_1 visible="1" band=background 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="10" text="明细备注" )
  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="13" text="序" )
  51. text(name=u_mtrldef_mtrlcode_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="2" border="0" x="17" y="6" height="15" width="76" text="编码" )
  52. text(name=u_mtrldef_mtrlname_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="2" border="0" x="95" y="6" height="15" width="103" text="品名" )
  53. text(name=u_mtrldef_mtrlmode_t 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="200" y="6" height="15" width="73" text="规格" )
  54. text(name=u_outwaremx_status_t 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="331" y="6" height="15" width="61" text="颜色" )
  55. text(name=u_mtrldef_unit_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="2" border="0" x="275" y="6" height="15" width="54" text="库存单位" )
  56. text(name=u_outwaremx_qty_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="2" border="0" x="394" y="6" height="15" width="48" text="数量" )
  57. text(name=t_4 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="622" y="6" height="15" width="95" text="明细备注" )
  58. text(name=u_outwaremx_packqty_t 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="1073741824" color="33554432" alignment="2" border="0" x="593" y="6" height="15" width="27" text="包装" )
  59. 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="2" background.color="1073741824" color="33554432" alignment="2" border="0" x="511" y="6" height="15" width="80" text="金额" )
  60. text(name=u_outwaremx_price_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="2" border="0" x="444" y="6" height="15" width="65" text="单价" )
  61. 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="394" y="1" height="17" width="48" format="#,##0.####" expression="sum(u_outwaremx_qty for all)" alignment="1" border="0" crosstab.repeat=no )
  62. 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="95" y="1" height="17" width="103" text="合计" )
  63. compute(name=compute_3 visible="1" tag="sum(u_outwaremx_packqty 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="593" y="1" height="17" width="27" format="[general]" expression="sum(u_outwaremx_packqty for all)" alignment="2" border="0" crosstab.repeat=no )
  64. compute(name=compute_1 visible="1" tag="sum(u_outwaremx_fprice * u_outwaremx_rebate * 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="511" y="1" height="17" width="80" format="#,##0.00" expression="sum(u_outwaremx_fprice * u_outwaremx_rebate * u_outwaremx_qty for all)" alignment="1" border="0" crosstab.repeat=no )
  65. compute(name=cmpl2 visible="1" tag="getrow()" 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="13" format="[general]" expression="getrow()" alignment="2" border="0" crosstab.repeat=no )
  66. column(name=u_mtrldef_mtrlcode visible="1" tag="u_mtrldef_mtrlcode" band=detail id=2 x="17" y="5" height="20" width="76" 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=30 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 )
  67. column(name=u_mtrldef_mtrlname visible="1" tag="u_mtrldef_mtrlname" height.autosize=yes band=detail id=3 x="95" y="5" height="20" 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=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 )
  68. column(name=u_mtrldef_unit visible="1" tag="u_mtrldef_unit" band=detail id=5 x="275" y="5" height="20" width="54" color="0" border="0" alignment="2" 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 )
  69. column(name=u_outwaremx_qty visible="1" tag="u_outwaremx_qty" band=detail id=1 x="394" y="5" height="20" width="48" 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 )
  70. column(name=u_mtrldef_mtrlmode visible="1" tag="u_mtrldef_mtrlmode" band=detail id=4 x="200" y="5" height="20" width="73" color="0" border="0" alignment="0" format="[general]" 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="-9" font.pitch="2" font.weight="400" tabsequence=0 )
  71. column(name=u_outwaremx_status visible="1" tag="u_outwaremx_status" band=detail id=6 x="331" y="5" height="20" width="61" color="0" border="0" alignment="0" format="[general]" 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 )
  72. column(name=u_outwaremx_mxdscrp visible="1" tag="u_outwaremx_mxdscrp" height.autosize=yes band=detail id=7 x="622" y="5" height="20" width="95" color="0" border="0" alignment="0" format="[general]" 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 )
  73. column(name=u_outwaremx_packqty visible="1" tag="u_outwaremx_packqty" band=detail id=11 x="593" y="5" height="20" width="27" color="0" border="0" alignment="2" format="[general]" 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 )
  74. compute(name=amt visible="1" tag="u_outwaremx_fprice * u_outwaremx_rebate * u_outwaremx_qty" 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="511" y="5" height="20" width="80" format="#,##0.00" expression="u_outwaremx_fprice * u_outwaremx_rebate * u_outwaremx_qty" alignment="1" border="0" crosstab.repeat=no )
  75. column(name=u_outwaremx_price visible="1" tag="u_outwaremx_price" band=detail id=8 x="444" y="5" height="20" width="65" 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 )
  76. htmltable()
  77. htmlgen()
  78. export.xml(metadatatype=0 savemetadata=0 )
  79. import.xml()
  80. export.pdf(method=0 )