dw_rp_inwaremx_sumamt.srd 2.1 KB

123456789101112131415161718192021222324252627
  1. $PBExportHeader$dw_rp_inwaremx_sumamt.srd
  2. release 9;
  3. datawindow ( units=1 timer_interval=0 color=16777215 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=0 color="?" )
  5. summary(height=0 color="536870912" )
  6. footer(height=0 color="536870912" )
  7. detail(height=17 color="536870912" )
  8. table(column=(type=decimal(14) updatewhereclause=yes initial="null" name=amt dbname="amt"
  9. values="Amt /" )
  10. retrieve="SELECT sum(round(u_inwaremx.price* u_inwaremx.qty,2)) + u_inware.otheramt as amt
  11. FROM u_inware,u_inwaremx
  12. WHERE ( u_inware.scid = u_inwaremx.scid ) and
  13. ( u_inware.inwareid = u_inwaremx.inwareid ) and
  14. ( u_inwaremx.inwareid = :arg_inwareid ) AND
  15. ( u_inwaremx.scid = :arg_scid )
  16. group by u_inware.otheramt
  17. "
  18. arguments=(("arg_scid", number), ("arg_inwareid", number))
  19. )
  20. text(name=t_1 visible="1" band=detail font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="700" background.mode="1" background.color="536870912" color="0" alignment="1" border="0" x="3" y="1" height="15" width="124" text="合计金额(大写):" )
  21. compute(name=compute_1 visible="1" tag="f_decimaltocn(abs(amt),0)" band=detail font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="700" background.mode="1" background.color="536870912" color="0" x="131" y="1" height="15" width="325" format="[general]" expression="f_decimaltocn(abs(amt),0)" alignment="0" border="0" crosstab.repeat=no )
  22. compute(name=compute_2 visible="1" tag="'¥: '+string( amt ,'#,##0.00')" band=detail font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="700" background.mode="1" background.color="536870912" color="0" x="459" y="1" height="15" width="167" format="[general]" expression="'¥: '+string( amt ,'#,##0.00')" alignment="0" border="0" crosstab.repeat=no )
  23. htmltable()
  24. htmlgen()
  25. export.xml(metadatatype=0 savemetadata=0 )
  26. import.xml()
  27. export.pdf(method=0 )