dw_rp_quotemx_sum.srd 2.3 KB

123456789101112131415161718192021
  1. $PBExportHeader$dw_rp_quotemx_sum.srd
  2. release 9;
  3. datawindow(units=0 timer_interval=0 color=1073741824 processing=0 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 110 print.margin.right = 110 print.margin.top = 96 print.margin.bottom = 96 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no )
  4. summary(height=0 color="536870912" )
  5. footer(height=0 color="536870912" )
  6. detail(height=80 color="536870912" )
  7. table(column=(type=decimal(16) updatewhereclause=yes name=amt dbname="amt" )
  8. retrieve=" SELECT sum(u_quotemx.qty * u_quotemx.sumprice ) as amt
  9. FROM u_quotemx
  10. WHERE ( u_quotemx.quoteid = :arg_taskid ) and
  11. ( u_quotemx.scid = :arg_scid )
  12. " arguments=(("arg_scid", number),("arg_taskid", number)) )
  13. text(band=detail alignment="1" text="合计金额(大写):" border="0" color="0" x="9" y="4" height="72" width="594" html.valueishtml="0" name=t_1 visible="1" font.face="宋体" font.height="-12" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  14. compute(band=detail alignment="0" expression="f_decimaltocn(abs(amt),0)"border="0" color="0" x="613" y="4" height="72" width="1582" format="[general]" html.valueishtml="0" name=compute_1 visible="1" font.face="宋体" font.height="-12" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  15. compute(band=detail alignment="0" expression="'小写: '+string( amt ,'#,##0.00')"border="0" color="0" x="2203" y="4" height="72" width="910" format="[general]" html.valueishtml="0" name=compute_2 visible="1" font.face="宋体" font.height="-12" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="536870912" )
  16. htmltable(border="1" )
  17. htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
  18. export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
  19. import.xml()
  20. export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )