123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- $PBExportHeader$dw_rp_assetcard_hz.srd
- $PBExportComments$By Kivens.Jiang(kivens@21cn.com)
- release 9;
- datawindow ( units=0 timer_interval=60000 color=16777215 processing=1 print.documentname="" print.orientation=2 print.margin.left=110 print.margin.right=110 print.margin.top=96 print.margin.bottom=96 print.paper.size=9 print.paper.source=0 grid.lines=0 selected.mouse=yes)
- header(height=324 color="536870912" )
- summary(height=68 color="536870912" )
- footer(height=0 color="536870912" )
- detail(height=84 color="536870912" )
- table(column=(type=char(40) updatewhereclause=yes name=cw_assetcard_assetcardname dbname="assetcardname" )
- column=(type=long updatewhereclause=yes name=assetnum dbname="assetnum" )
- column=(type=decimal(2) updatewhereclause=yes name=cw_astbalance_bastdebit dbname="bastdebit" )
- column=(type=decimal(2) updatewhereclause=yes name=cw_astbalance_dprcredit dbname="dprcredit" )
- column=(type=decimal(2) updatewhereclause=yes name=cw_assetcard_remainvalue dbname="remainvalue" )
- column=(type=decimal(2) updatewhereclause=yes name=realvalue dbname="realvalue" )
- retrieve=" SELECT cw_assetcard.assetcardname,
- count(*) as assetnum,
- sum(isnull(cw_astbalance.bastdebit,0)) as bastdebit,
- sum(isnull(cw_astbalance.bdprcredit,0)) + sum(isnull(cw_astbalance.dprcredit,0)) as dprcredit,
- sum(cw_assetcard.remainvalue) as remainvalue ,
- sum(isnull(cw_astbalance.bastdebit,0)) - sum(isnull(cw_astbalance.bdprcredit,0)) + sum(isnull(cw_astbalance.dprcredit,0)) as realvalue
- FROM cw_assetcard left outer join cw_astbalance
- on ( cw_assetcard.accsetid = cw_astbalance.accsetid) and
- ( cw_assetcard.assetcardid = cw_astbalance.assetcardid)
- WHERE ( cw_astbalance.yearmon = :arg_yearmon ) AND
- ( cw_astbalance.accsetid = :arg_accsetid ) AND
- ( cw_assetcard.clearflag = :arg_clearflag or :arg_clearflag = -1 )
- group by cw_assetcard.assetcardname
- "
- arguments=(("arg_accsetid", number), ("arg_clearflag", number), ("arg_yearmon", number))
- )
- text(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="2" x="9" y="220" height="104" width="768" text="" )
- text(name=cw_assetcard_assetcardname_t band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="700" background.mode="1" background.color="536870912" color="0" alignment="2" border="0" x="9" y="244" height="56" width="768" text="固定资产名称" )
- text(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="2" x="786" y="220" height="104" width="247" text="" )
- text(band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="700" background.mode="2" background.color="16777215" color="0" alignment="2" border="0" x="786" y="244" height="56" width="247" text="数量" )
- text(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="2" x="1042" y="220" height="104" width="594" text="" )
- text(name=cw_astbalance_bastdebit_t band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="700" background.mode="1" background.color="536870912" color="0" alignment="2" border="0" x="1042" y="244" height="56" width="594" text="原值" )
- text(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="2" x="1646" y="220" height="104" width="549" text="" )
- text(name=cw_astbalance_dprcredit_t band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="700" background.mode="1" background.color="536870912" color="0" alignment="2" border="0" x="1646" y="244" height="56" width="549" text="折旧总额" )
- text(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="2" x="2203" y="220" height="104" width="503" text="" )
- text(name=cw_assetcard_remainvalue_t band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="700" background.mode="2" background.color="16777215" color="0" alignment="2" border="0" x="2203" y="244" height="56" width="503" text="预计残值" )
- text(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="2" x="2715" y="220" height="104" width="576" text="" )
- text(band=header font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="700" background.mode="2" background.color="16777215" color="0" alignment="2" border="0" x="2715" y="244" height="56" width="576" text="净值" )
- compute(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="1042" y="4" height="60" width="594" format="#,##0.00" expression="sum(cw_astbalance_bastdebit for all)" alignment="1" border="0" crosstab.repeat=no )
- compute(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="2203" y="4" height="60" width="503" format="#,##0.00" expression="sum(cw_assetcard_remainvalue for all)" alignment="1" border="0" crosstab.repeat=no )
- compute(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="1646" y="4" height="60" width="549" format="#,##0.00" expression="sum(cw_astbalance_dprcredit for all)" alignment="1" border="0" crosstab.repeat=no )
- compute(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="2715" y="4" height="60" width="576" format="#,##0.00" expression="sum(realvalue for all)" alignment="1" border="0" crosstab.repeat=no )
- compute(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="786" y="4" height="60" width="247" format="###0" expression="sum(assetnum for all)" alignment="2" border="0" crosstab.repeat=no )
- text(band=summary 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="2" border="0" x="9" y="4" height="60" width="768" text="合计" )
- column(name=cw_astbalance_bastdebit tag="固定资产期初余额" band=detail id=3 x="1042" y="8" height="68" width="594" color="0" border="0" alignment="1" format="#,##0.00" 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="0" font.height="-10" font.pitch="2" font.weight="400" tabsequence=0 )
- column(name=cw_astbalance_dprcredit band=detail id=4 x="1646" y="8" height="68" width="549" color="0" border="0" alignment="1" format="#,##0.00" 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="0" font.height="-10" font.pitch="2" font.weight="400" tabsequence=0 )
- column(name=cw_assetcard_remainvalue band=detail id=5 x="2203" y="8" height="68" width="503" color="0" border="0" alignment="1" format="#,##0.00" 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="0" font.height="-10" font.pitch="2" font.weight="400" tabsequence=0 )
- column(name=realvalue band=detail id=6 x="2715" y="8" height="68" width="576" color="0" border="0" alignment="1" format="#,##0.00" 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="0" font.height="-10" font.pitch="2" font.weight="400" tabsequence=0 )
- column(name=cw_assetcard_assetcardname tag="固定资产名称" band=detail id=1 x="9" y="8" height="68" width="768" color="0" border="0" alignment="0" format="[general]" 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=40 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="0" font.height="-10" font.pitch="2" font.weight="400" tabsequence=0 )
- column(name=assetnum band=detail id=2 x="786" y="8" height="68" width="247" color="0" border="0" alignment="2" format="###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="0" font.height="-10" font.pitch="2" font.weight="400" tabsequence=0 )
- text(band=foreground font.charset="134" font.face="黑体" font.family="0" font.height="-18" font.pitch="2" font.weight="700" background.mode="2" background.color="16777215" color="0" alignment="0" border="0" x="0" y="0" height="216" width="3337" text="" )
- compute(band=foreground font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" x="1221" y="60" height="56" width="1339" format="[general]" expression="'打印时间: '+string(today(),'yyyy-mm-dd hh:mm:ss')+ ' 第 ' + string(page()) + ' 页/ 共 '+string(pageCount())+' 页'" alignment="1" border="0" crosstab.repeat=no )
- compute(band=foreground font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="2" background.color="16777215" color="0" x="9" y="128" height="56" width="1623" format="[general]" expression="~"单位名称:~"+f_rst_Cropname()" alignment="0" border="0" crosstab.repeat=no )
- text(band=foreground font.charset="134" font.face="黑体" font.family="0" font.height="-18" font.pitch="2" font.weight="700" background.mode="2" background.color="16777215" color="0" alignment="0" border="0" x="9" y="8" height="108" width="1193" text="固定资产清单" )
- htmltable(border="1" cellPadding="0" cellSpacing="0" generateCSS="no" noWrap="yes" )
- htmlgen()
- export.xml(metadatatype=0 savemetadata=0 )
- import.xml()
- export.pdf(method=0 )
|