12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- $PBExportHeader$dw_rp_jg_spt.srd
- release 9;
- datawindow(units=0 timer_interval=60000 color=16777215 processing=1 HTMLDW=no print.printername="" print.documentname="" print.orientation = 2 print.margin.left = 110 print.margin.right = 110 print.margin.top = 96 print.margin.bottom = 96 print.paper.source = 0 print.paper.size = 9 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no row.resize=1 grid.lines=0 )
- header(height=284 color="536870912" )
- summary(height=76 color="536870912" )
- footer(height=0 color="536870912" )
- detail(height=84 color="536870912" )
- table(column=(type=char(20) updatewhereclause=yes name=u_spt_sptcode dbname="u_spt.sptcode" )
- column=(type=char(50) updatewhereclause=yes name=u_spt_name dbname="u_spt.name" )
- column=(type=decimal(6) updatewhereclause=yes name=amt dbname="amt" )
- retrieve="SELECT u_spt.sptcode,
- u_spt.name,
- sum(round(ow_wfjgmx_in_aft.uqty * ow_wfjgmx_in_aft.jgprice * ow_wfjgmx_in_aft.rebate,2)) as amt
- FROM u_spt,
- ow_wfjg_in,
- ow_wfjgmx_in_aft
- WHERE ( u_spt.sptid = ow_wfjg_in.sptid ) AND
- ( ow_wfjg_in.inwareid = ow_wfjgmx_in_aft.inwareid ) AND
- ( ow_wfjg_in.scid = ow_wfjgmx_in_aft.scid ) AND
- ( ow_wfjg_in.flag = :arg_flag OR :arg_flag = -1 ) AND
- ( ow_wfjg_in.secflag = :arg_secflag OR :arg_secflag = -1 ) AND
- ( ow_wfjgmx_in_aft.storageid in (:arg_storageid) ) AND
- ( ow_wfjg_in.billtype = 4 ) AND
- ( ow_wfjg_in.indate >= :arg_firstdate) AND
- ( ow_wfjg_in.indate <= :arg_enddate) and
- ( u_spt.spttypeid in (:arg_spttypeid))
- GROUP BY u_spt.sptcode,u_spt.name
- HAVING sum(ow_wfjgmx_in_aft.qty * ow_wfjgmx_in_aft.jgprice) > 0
-
-
- " arguments=(("arg_firstdate", datetime),("arg_enddate", datetime),("arg_flag", number),("arg_storageid", numberlist),("arg_secflag", number),("arg_spttypeid", numberlist)) sort="amt D " )
- text(band=header alignment="2" text="加工金额" border="2" color="0" x="1920" y="216" height="68" width="658" html.valueishtml="0" name=amt_t visible="1" font.face="宋体" font.height="-11" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
- text(band=header alignment="2" text="外协商编号" border="2" color="0" x="9" y="216" height="68" width="539" html.valueishtml="0" name=u_spt_sptcode_t visible="1" font.face="宋体" font.height="-11" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="33554431" )
- text(band=header alignment="2" text="外协商名称" border="2" color="0" x="558" y="216" height="68" width="1353" html.valueishtml="0" name=u_spt_name_t visible="1" font.face="宋体" font.height="-11" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="33554431" )
- column(band=detail id=3 alignment="1" tabsequence=32766 border="0" color="0" x="1920" y="4" height="76" width="658" format="#,##0.00" html.valueishtml="0" name=amt visible="1" height.autosize=yes edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="宋体" font.height="-11" font.weight="400" font.family="2" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
- column(band=detail id=1 alignment="0" tabsequence=32766 border="0" color="0" x="9" y="4" height="76" width="539" format="[general]" html.valueishtml="0" name=u_spt_sptcode visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="宋体" font.height="-11" font.weight="400" font.family="2" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
- column(band=detail id=2 alignment="0" tabsequence=32766 border="0" color="0" x="558" y="4" height="76" width="1353" format="[general]" html.valueishtml="0" name=u_spt_name visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="宋体" font.height="-11" font.weight="400" font.family="2" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
- compute(band=summary alignment="1" expression="sum(amt for all)"border="0" color="0" x="1920" y="4" height="68" width="658" format="#,##0.00" html.valueishtml="0" name=compute_1 visible="1" font.face="宋体" font.height="-11" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="16777215" )
- text(band=foreground alignment="0" text="" border="0" color="0" x="0" y="0" height="212" width="2624" html.valueishtml="0" name=t_1 visible="1" resizeable=1 font.face="宋体" font.height="-20" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="33554431" )
- text(band=foreground alignment="0" text="外协商加工金额汇总表" border="0" color="0" x="14" y="8" height="124" width="2053" html.valueishtml="0" name=t_2 visible="1" moveable=1 font.face="宋体" font.height="-20" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="2" background.color="33554431" )
- compute(band=foreground alignment="0" expression="'日期范围: '+string( arg_firstdate ,'yyyy-mm-dd')+' 到 '+string( arg_enddate ,'yyyy-mm-dd')+' 打印日期: '+string(today(),'yyyy-mm-dd')+' 共 '+string(pageCount())+' 页 第 ' + string(page()) + ' 页'"border="0" color="0" x="14" y="148" height="56" width="2395" format="[general]" html.valueishtml="0" name=compute_2 visible="1" font.face="宋体" font.height="-9" font.weight="700" font.family="0" font.pitch="2" font.charset="134" background.mode="1" background.color="553648127" )
- htmltable(border="1" )
- htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
- export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
- import.xml()
- export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
|