$PBExportHeader$dw_initbalance_wb.srd $PBExportComments$By Kivens.Jiang(kivens@21cn.com) release 9; datawindow ( units=0 timer_interval=0 color=16777215 processing=1 print.documentname="" print.orientation=1 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=128 color="536870912" ) summary(height=0 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=long updatewhereclause=yes name=cw_subject_dcflag dbname="cw_subject.dcflag" values="借 1/贷 0/" ) column=(type=decimal(2) updatewhereclause=yes initial="0" name=cw_initbalance_rawdebit dbname="RawDebit" ) column=(type=decimal(2) updatewhereclause=yes initial="0" name=cw_initbalance_rawcredit dbname="RawCredit" ) column=(type=decimal(2) updatewhereclause=yes initial="0" name=cw_initbalance_rawbalance dbname="RawBalance" ) column=(type=decimal(2) updatewhereclause=yes initial="0" name=cw_initbalance_debit dbname="Debit" ) column=(type=decimal(2) updatewhereclause=yes initial="0" name=cw_initbalance_credit dbname="Credit" ) column=(type=decimal(2) updatewhereclause=yes initial="0" name=cw_initbalance_balance dbname="Balance" ) retrieve=" SELECT cw_subject.name, cw_subject.subid, cw_subject.dcflag, isnull(cw_InitBalance.RawDebit,0) as RawDebit, isnull(cw_InitBalance.RawCredit,0) as RawCredit, isnull(cw_InitBalance.RawBalance,0) as RawBalance, isnull(cw_InitBalance.Debit,0) as Debit, isnull(cw_InitBalance.Credit,0) as Credit, isnull(cw_InitBalance.Balance,0) as Balance FROM cw_InitBalance, cw_subject WHERE ( cw_InitBalance.accsetid =* cw_subject.accsetid) and ( cw_subject.subid *= cw_InitBalance.SubID) and ( ( cw_subject.accsetid = :arg_accsetid ) AND ( cw_subject.detailflag = 1 ) AND ( cw_subject.hswb = 1 ) AND ( cw_subject.moneyid = :arg_moneyid ) ) " arguments=(("arg_accsetid", number), ("arg_moneyid", number)) sort="cw_subject_subid A" ) 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="80269524" color="0" alignment="2" border="0" x="9" y="8" height="116" width="379" 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="80269524" color="0" alignment="2" border="0" x="398" y="8" height="116" width="635" 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="80269524" color="0" alignment="2" border="0" x="1042" y="8" height="116" width="137" 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="80269524" color="0" alignment="1" border="0" x="1189" y="8" height="56" width="347" 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="80269524" color="0" alignment="0" border="0" x="1545" y="8" height="56" width="398" 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="80269524" color="0" alignment="0" border="0" x="2304" y="8" height="56" width="407" 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="80269524" color="0" alignment="1" border="0" x="2720" y="8" height="56" width="357" 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="80269524" color="0" alignment="0" border="0" x="3086" y="8" height="56" width="421" 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="80269524" color="0" alignment="1" border="0" x="3515" y="8" height="56" width="347" 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="80269524" color="0" alignment="0" border="0" x="3872" y="8" height="56" width="421" text="余额" ) text(name=cw_subject_dcflag_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="80269524" color="0" alignment="2" border="0" x="1042" y="36" height="56" width="137" text="方向" ) text(name=cw_subject_name_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="80269524" color="0" alignment="2" border="0" x="398" y="36" height="56" width="635" text="科目名称" ) text(name=cw_subject_subid_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="80269524" color="0" alignment="2" border="0" x="9" y="36" height="56" width="379" 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="80269524" color="0" alignment="2" border="0" x="1189" y="68" height="56" width="347" 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="80269524" color="0" alignment="2" border="0" x="1545" y="68" height="56" width="398" 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="80269524" color="0" alignment="1" border="0" x="1952" y="8" height="56" width="343" text="本年借方" ) text(name=cw_initbalance_rawdebit_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="80269524" color="16711680" alignment="2" border="0" x="1952" y="68" height="56" width="343" text="原币" ) text(name=cw_initbalance_debit_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="80269524" color="16711680" alignment="2" border="0" x="2304" y="68" height="56" width="407" text="本位币" ) text(name=cw_initbalance_rawcredit_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="80269524" color="16711680" alignment="2" border="0" x="2720" y="68" height="56" width="357" text="原币" ) text(name=cw_initbalance_credit_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="80269524" color="16711680" alignment="2" border="0" x="3086" y="68" height="56" width="421" text="本位币" ) text(name=cw_initbalance_rawbalance_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="80269524" color="16711680" alignment="2" border="0" x="3515" y="68" height="56" width="347" text="原币" ) text(name=cw_initbalance_balance_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="80269524" color="16711680" alignment="2" border="0" x="3872" y="68" height="56" width="421" text="本位币" ) column(name=cw_subject_subid tag="科目代码" band=detail id=2 x="9" y="4" height="68" width="379" 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=18 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="-9" font.pitch="2" font.weight="400" tabsequence=0 ) column(name=cw_subject_name tag="科目名称" band=detail id=1 x="398" y="4" height="68" width="635" 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="-9" font.pitch="2" font.weight="400" tabsequence=0 ) column(name=cw_subject_dcflag tag="余额方向" band=detail id=3 x="1042" y="4" height="68" width="137" color="0" border="0" alignment="2" format="[general]" ddlb.allowedit=no ddlb.autohscroll=no ddlb.imemode=0 ddlb.limit=0 ddlb.showlist=no ddlb.sorted=no ddlb.useasborder=no ddlb.vscrollbar=no ddlb.nilisnull=no ddlb.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="-9" font.pitch="2" font.weight="400" tabsequence=0 ) compute(name=yrawbalance band=detail font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="2" background.color="15793151" color="0" x="1189" y="4" height="68" width="347" format="#,###.##" expression=" if( cw_subject_dcflag =1 ,if(isnull(cw_initbalance_rawbalance),0,cw_initbalance_rawbalance) + if(isnull(cw_initbalance_rawcredit),0,cw_initbalance_rawcredit) - if(isnull(cw_initbalance_rawdebit),0,cw_initbalance_rawdebit) ,if(isnull(cw_initbalance_rawbalance),0,cw_initbalance_rawbalance) - if(isnull(cw_initbalance_rawcredit),0,cw_initbalance_rawcredit) + if(isnull(cw_initbalance_rawdebit),0,cw_initbalance_rawdebit))" alignment="1" border="0" crosstab.repeat=no ) compute(name=ybalance band=detail font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" background.mode="2" background.color="15793151" color="0" x="1545" y="4" height="68" width="398" format="#,###.##" expression=" if( cw_subject_dcflag =1 ,if(isnull(cw_initbalance_balance),0,cw_initbalance_balance) + if(isnull(cw_initbalance_credit),0,cw_initbalance_credit) - if(isnull(cw_initbalance_debit),0,cw_initbalance_debit) ,if(isnull(cw_initbalance_balance),0,cw_initbalance_balance) - if(isnull(cw_initbalance_credit),0,cw_initbalance_credit) + if(isnull(cw_initbalance_debit),0,cw_initbalance_debit))" alignment="1" border="0" crosstab.repeat=no ) column(name=cw_initbalance_rawdebit tag="外币借方金额" band=detail id=4 x="1952" y="4" height="68" width="343" color="16711680" border="0" alignment="1" format="#,###.##" edit.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="-9" font.pitch="2" font.weight="400" tabsequence=0 ) column(name=cw_initbalance_debit tag="借方金额" band=detail id=7 x="2304" y="4" height="68" width="407" color="16711680" border="0" alignment="1" format="#,###.##" edit.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="-9" font.pitch="2" font.weight="400" tabsequence=0 ) column(name=cw_initbalance_rawcredit tag="外币贷方金额" band=detail id=5 x="2720" y="4" height="68" width="357" color="16711680" border="0" alignment="1" format="#,###.##" edit.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="-9" font.pitch="2" font.weight="400" tabsequence=0 ) column(name=cw_initbalance_credit tag="贷方金额" band=detail id=8 x="3086" y="4" height="68" width="421" color="16711680" border="0" alignment="1" format="#,###.##" edit.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="-9" font.pitch="2" font.weight="400" tabsequence=0 ) column(name=cw_initbalance_rawbalance tag="外币期初余额" band=detail id=6 x="3515" y="4" height="68" width="347" color="16711680" border="0" alignment="1" format="#,###.##" edit.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="-9" font.pitch="2" font.weight="400" tabsequence=0 ) column(name=cw_initbalance_balance tag="期初余额" band=detail id=9 x="3872" y="4" height="68" width="421" color="16711680" border="0" alignment="1" format="#,###.##" edit.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="-9" font.pitch="2" font.weight="400" tabsequence=0 ) htmltable(border="1" cellPadding="0" cellSpacing="0" generateCSS="no" noWrap="yes" ) htmlgen() export.xml(metadatatype=0 savemetadata=0 ) import.xml() export.pdf(method=0 )