12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- $PBExportHeader$dw_rp_subject_hz.srd
- $PBExportComments$By Kivens.Jiang(kivens@21cn.com)
- release 9;
- datawindow ( units=0 timer_interval=60000 color=16777215 processing=1 print.printername="" print.documentname="" print.orientation=1 print.margin.left=110 print.margin.right=110 print.margin.top=96 print.margin.bottom=96 print.paper.size=0 print.paper.source=0 print.canusedefaultprinter=yes grid.lines=0 selected.mouse=yes)
- header(height=372 color="536870912" )
- summary(height=76 color="536870912" )
- footer(height=0 color="536870912" )
- detail(height=76 color="536870912" )
- table(column=(type=char(60) updatewhereclause=yes name=cw_subject_name dbname="cw_subject.name" )
- column=(type=char(18) updatewhereclause=yes name=cw_subject_subid dbname="cw_subject.subid" )
- column=(type=decimal(2) updatewhereclause=yes name=debit dbname="debit" )
- column=(type=decimal(2) updatewhereclause=yes name=credit dbname="credit" )
- retrieve=" SELECT cw_subject.name,
- cw_subject.subid,
- sum(cw_credencemx.debit) as debit,
- sum(cw_credencemx.credit) as credit
- FROM cw_credence,
- cw_credencemx,
- cw_subject
- WHERE ( cw_credence.accsetid = cw_credencemx.accsetid ) and
- ( cw_credence.subaccsetid = cw_credencemx.subaccsetid ) and
- ( cw_credencemx.accsetid = cw_subject.accsetid ) and
- ( left(cw_credencemx.subid,:arg_grade1) = cw_subject.subid ) and
- ( cw_credence.credid = cw_credencemx.credid ) and
- (cw_credence.postflag = :arg_postflag OR
- :arg_postflag = -1) AND
- (cw_credence.checkflag = :arg_checkflag OR
- :arg_checkflag = -1) AND
- cw_credence.creddate >= :arg_firstdate AND
- cw_credence.creddate <= :arg_enddate AND
- cw_credence.accsetid = :arg_accsetid AND
- cw_credence.credno >= :arg_firstcredno AND
- cw_credence.credno <= :arg_endcredno
- GROUP BY cw_subject.subid,
- cw_subject.name,
- left(cw_credencemx.subid,:arg_grade1)
- "
- arguments=(("arg_checkflag", number), ("arg_postflag", number), ("arg_firstdate", datetime), ("arg_enddate", datetime), ("arg_accsetid", number), ("arg_firstcredno", number), ("arg_endcredno", number), ("arg_grade1", number))
- sort="cw_subject_subid A"
- )
- text(name=cw_subject_subid_t visible="1" band=header font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="700" background.mode="2" background.color="16777215" color="0" alignment="2" border="2" x="9" y="312" height="60" width="448" text="科目代号" )
- text(name=cw_subject_name_t visible="1" band=header 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="2" x="466" y="312" height="60" width="914" text="科目名称" )
- text(name=debit_t visible="1" band=header 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="2" x="1390" y="312" height="60" width="571" text="借方" )
- text(name=credit_t visible="1" band=header 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="2" x="1970" y="312" height="60" width="571" text="贷方" )
- text(name=t_1 visible="1" 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="466" y="4" height="68" width="914" text="" )
- compute(name=compute_1 visible="1" 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" x="1390" y="4" height="68" width="571" format="#,##0.00" expression="sum(debit for all)" alignment="1" border="0" crosstab.repeat=no )
- compute(name=compute_2 visible="1" 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" x="1970" y="4" height="68" width="571" format="#,##0.00" expression="sum(credit for all)" alignment="1" border="0" crosstab.repeat=no )
- text(name=t_2 visible="1" band=summary font.charset="134" font.face="宋体" font.family="0" font.height="-11" font.pitch="2" font.weight="700" background.mode="1" background.color="536870912" color="0" alignment="2" border="0" x="9" y="4" height="68" width="448" text="合计" )
- column(name=cw_subject_subid visible="1" band=detail id=2 x="9" y="4" height="68" width="448" color="0" border="0" alignment="0" format="[general]" 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="-11" font.pitch="2" font.weight="400" tabsequence=0 )
- column(name=cw_subject_name visible="1" tag="科目名称" band=detail id=1 x="466" y="4" height="68" width="914" 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=32 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="-11" font.pitch="2" font.weight="400" tabsequence=0 )
- column(name=debit visible="1" band=detail id=3 x="1390" y="4" height="68" width="571" 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="-11" font.pitch="2" font.weight="400" tabsequence=0 )
- column(name=credit visible="1" band=detail id=4 x="1970" y="4" height="68" width="571" 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="-11" font.pitch="2" font.weight="400" tabsequence=0 )
- text(name=t_3 visible="1" resizeable=1 band=foreground font.charset="134" font.face="宋体" font.family="0" font.height="-10" font.pitch="2" font.weight="700" background.mode="2" background.color="33554431" color="33554431" alignment="1" border="0" x="0" y="0" height="308" width="2597" text="" )
- text(name=title visible="1" moveable=1 band=foreground font.charset="134" font.face="宋体" font.family="0" font.height="-22" font.pitch="2" font.weight="700" background.mode="2" background.color="33554431" color="0" alignment="0" border="0" x="9" y="8" height="132" width="1070" text="科目汇总表" )
- compute(name=compute_3 visible="1" band=foreground font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="1" background.color="536870912" color="0" x="9" y="232" height="56" width="1079" format="[general]" expression="~"凭证范围: ~"+string( arg_firstcredno ) +~" 至 ~"+string( arg_endcredno ) " alignment="0" border="0" crosstab.repeat=no )
- compute(name=compute_4 visible="1" band=foreground font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="1" background.color="536870912" color="0" x="9" y="156" height="56" width="1079" format="[general]" expression="~"单位名称: ~"+f_rst_Cropname()" alignment="0" border="0" crosstab.repeat=no )
- compute(name=compute_5 visible="1" band=foreground font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="1" background.color="536870912" color="0" x="1106" y="232" height="56" width="1102" format="[general]" expression="~"附件总数: ~" + f_cnt_billnumber( arg_accsetid , arg_firstdate , arg_enddate , arg_firstcredno , arg_endcredno , arg_postflag )" alignment="0" border="0" crosstab.repeat=no )
- compute(name=compute_6 visible="1" band=foreground font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="1" background.color="536870912" color="0" x="1106" y="156" height="56" width="1102" format="[general]" expression="~"日期范围: ~"+string( arg_firstdate ,'yyyy年mm月dd日') +~" 至 ~"+string( arg_enddate ,'yyyy年mm月dd日') " alignment="0" border="0" crosstab.repeat=no )
- compute(name=compute_7 visible="1" moveable=1 band=foreground font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="1" background.color="536870912" color="0" x="1106" y="88" height="56" width="1102" format="[general]" expression="'打印时间: '+string(today(),'yyyy-mm-dd')+ ' ' + string(page()) + ' / '+string(pageCount())" alignment="0" border="0" crosstab.repeat=no )
- htmltable(border="1" )
- htmlgen(clientComputedFields="1" clientEvents="1" clientFormatting="0" clientScriptable="0" clientValidation="1" generateJavaScript="1" netscapeLayers="0" netscapelayers="0" encodeSelfLinkArgs="1" )
- export.xml(headGroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
- import.xml()
- export.pdf(method=0 distill.customPostScript="0" xslfop.print="0" )
|