$PBExportHeader$dw_inititembala.srd $PBExportComments$By Kivens.Jiang(kivens@21cn.com) release 9; datawindow ( units=0 timer_interval=0 color=16777215 processing=1 print.documentname="" print.orientation=0 print.margin.left=110 print.margin.right=110 print.margin.top=96 print.margin.bottom=96 print.paper.size=0 print.paper.source=0 grid.lines=0 selected.mouse=yes) header(height=124 color="536870912" ) summary(height=0 color="536870912" ) footer(height=0 color="536870912" ) detail(height=76 color="536870912" ) table(column=(type=decimal(4) updatewhereclause=yes name=cw_inititembala_rawdebit dbname="cw_InitItemBala.RawDebit" ) column=(type=decimal(4) updatewhereclause=yes name=cw_inititembala_rawcredit dbname="cw_InitItemBala.RawCredit" ) column=(type=decimal(4) updatewhereclause=yes name=cw_inititembala_rawbalance dbname="cw_InitItemBala.RawBalance" ) column=(type=decimal(4) updatewhereclause=yes name=cw_inititembala_debit dbname="cw_InitItemBala.Debit" ) column=(type=decimal(4) updatewhereclause=yes name=cw_inititembala_credit dbname="cw_InitItemBala.Credit" ) column=(type=decimal(4) updatewhereclause=yes name=cw_inititembala_balance dbname="cw_InitItemBala.Balance" ) column=(type=long updatewhereclause=yes name=cw_hsitem_hsitemid dbname="cw_hsitem.hsitemid" ) column=(type=char(20) updatewhereclause=yes name=cw_hsitem_hsitemname dbname="cw_hsitem.hsitemname" ) column=(type=long updatewhereclause=yes name=cw_subject_dcflag dbname="cw_subject.dcflag" values="借 1/贷 0/" ) column=(type=long updatewhereclause=yes name=cw_subject_hsitem dbname="cw_subject.hsitem" ) retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"cw_hsitem~" ) TABLE(NAME=~"cw_InitItemBala~" ) TABLE(NAME=~"cw_subject~" ) COLUMN(NAME=~"cw_InitItemBala.RawDebit~") COLUMN(NAME=~"cw_InitItemBala.RawCredit~") COLUMN(NAME=~"cw_InitItemBala.RawBalance~") COLUMN(NAME=~"cw_InitItemBala.Debit~") COLUMN(NAME=~"cw_InitItemBala.Credit~") COLUMN(NAME=~"cw_InitItemBala.Balance~") COLUMN(NAME=~"cw_hsitem.hsitemid~") COLUMN(NAME=~"cw_hsitem.hsitemname~") COLUMN(NAME=~"cw_subject.dcflag~") COLUMN(NAME=~"cw_subject.hsitem~") JOIN (LEFT=~"cw_hsitem.hsitemid~" OP =~"=~"RIGHT=~"cw_InitItemBala.itemID~" OUTER1 =~"cw_hsitem.hsitemid~" ) JOIN (LEFT=~"cw_subject.subid~" OP =~"=~"RIGHT=~"cw_InitItemBala.SubID~" OUTER1 =~"cw_subject.subid~" ) JOIN (LEFT=~"cw_subject.accsetid~" OP =~"=~"RIGHT=~"cw_hsitem.accsetid~" )WHERE( EXP1 =~"( ( cw_subject.accsetid~" OP =~"=~" EXP2 =~":arg_accsetid )~" LOGIC =~"and~" ) WHERE( EXP1 =~"( cw_subject.subid~" OP =~"=~" EXP2 =~":arg_subid ) )~" LOGIC =~"and~" ) WHERE( EXP1 =~"cw_subject.detailflag~" OP =~"=~" EXP2 =~"1~" ) ) ARG(NAME = ~"arg_accsetid~" TYPE = number) ARG(NAME = ~"arg_subid~" TYPE = string) " arguments=(("arg_accsetid", number), ("arg_subid", string)) sort="cw_hsitem_hsitemid A" ) text(name=cw_hsitem_hsitemname_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="8" height="112" width="603" 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="622" y="8" height="112" width="169" 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="800" y="8" height="56" width="402" 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="1211" y="8" height="56" width="402" text="年初余额" ) text(name=cw_inititembala_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="0" alignment="2" border="0" x="1623" y="8" height="56" width="393" text="借方金额" ) text(name=cw_inititembala_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="0" alignment="2" border="0" x="2025" y="8" height="56" width="389" text="借方金额" ) text(name=cw_inititembala_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="0" alignment="2" border="0" x="2423" y="8" height="56" width="389" text="贷方金额" ) text(name=cw_inititembala_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="0" alignment="2" border="0" x="2821" y="8" height="56" width="389" text="贷方金额" ) text(name=cw_inititembala_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="0" alignment="2" border="0" x="3218" y="8" height="56" width="389" text="期初余额" ) text(name=cw_inititembala_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="0" alignment="2" border="0" x="3616" y="8" height="56" width="389" 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="800" y="64" height="56" width="402" 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="1211" y="64" height="56" width="402" 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="1623" y="64" height="56" width="393" 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="2025" y="64" height="56" width="389" 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="2423" y="64" height="56" width="389" 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="2821" y="64" height="56" width="389" 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="3218" y="64" height="56" width="389" 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="3616" y="64" height="56" width="389" text="[本位币]" ) column(name=cw_hsitem_hsitemname tag="项目名称" band=detail id=8 x="9" y="4" height="68" width="603" 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=20 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=9 x="622" y="4" height="68" width="169" 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 ) column(name=cw_inititembala_rawdebit tag="外币借方金额" band=detail id=1 x="1623" y="4" height="68" width="393" color="0" 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=10 ) column(name=cw_inititembala_rawcredit tag="外币贷方金额" band=detail id=2 x="2423" y="4" height="68" width="389" color="0" 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=30 ) column(name=cw_inititembala_rawbalance tag="外币期初余额" band=detail id=3 x="3218" y="4" height="68" width="389" color="0" 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=50 ) column(name=cw_inititembala_debit tag="借方金额" band=detail id=4 x="2025" y="4" height="68" width="389" color="0" 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=20 ) column(name=cw_inititembala_credit tag="贷方金额" band=detail id=5 x="2821" y="4" height="68" width="389" color="0" 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=40 ) column(name=cw_inititembala_balance tag="期初余额" band=detail id=6 x="3616" y="4" height="68" width="389" color="0" 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=60 ) 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="800" y="4" height="68" width="402" format="#,###.##" expression=" if( cw_subject_dcflag =1 ,if(isnull(cw_inititembala_rawbalance),0,cw_inititembala_rawbalance) + if(isnull(cw_inititembala_rawcredit),0,cw_inititembala_rawcredit) - if(isnull(cw_inititembala_rawdebit),0,cw_inititembala_rawdebit) ,if(isnull(cw_inititembala_rawbalance),0,cw_inititembala_rawbalance) - if(isnull(cw_inititembala_rawcredit),0,cw_inititembala_rawcredit) + if(isnull(cw_inititembala_rawdebit),0,cw_inititembala_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="1211" y="4" height="68" width="402" format="#,###.##" expression=" if( cw_subject_dcflag =1 ,if(isnull(cw_inititembala_balance),0,cw_inititembala_balance) + if(isnull(cw_inititembala_credit),0,cw_inititembala_credit) - if(isnull(cw_inititembala_debit),0,cw_inititembala_debit) ,if(isnull(cw_inititembala_balance),0,cw_inititembala_balance) - if(isnull(cw_inititembala_credit),0,cw_inititembala_credit) + if(isnull(cw_inititembala_debit),0,cw_inititembala_debit))" alignment="1" border="0" crosstab.repeat=no ) htmltable(border="1" cellPadding="0" cellSpacing="0" generateCSS="no" noWrap="yes" ) htmlgen() export.xml(metadatatype=0 savemetadata=0 ) import.xml() export.pdf(method=0 )