$PBExportHeader$dw_initdeptbala.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=120 color="536870912" ) summary(height=0 color="536870912" ) footer(height=4 color="536870912" ) detail(height=76 color="536870912" ) table(column=(type=decimal(4) updatewhereclause=yes name=cw_initdeptbala_rawdebit dbname="cw_InitDeptBala.RawDebit" ) column=(type=decimal(4) updatewhereclause=yes name=cw_initdeptbala_rawcredit dbname="cw_InitDeptBala.RawCredit" ) column=(type=decimal(4) updatewhereclause=yes name=cw_initdeptbala_rawbalance dbname="cw_InitDeptBala.RawBalance" ) column=(type=decimal(4) updatewhereclause=yes name=cw_initdeptbala_debit dbname="cw_InitDeptBala.Debit" ) column=(type=decimal(4) updatewhereclause=yes name=cw_initdeptbala_credit dbname="cw_InitDeptBala.Credit" ) column=(type=decimal(4) updatewhereclause=yes name=cw_initdeptbala_balance dbname="cw_InitDeptBala.Balance" ) column=(type=long updatewhereclause=yes name=cw_subject_hswb dbname="cw_subject.hswb" ) column=(type=char(30) updatewhereclause=yes name=cw_department_departmentname dbname="cw_department.departmentname" ) column=(type=long updatewhereclause=yes name=cw_subject_dcflag dbname="cw_subject.dcflag" values="借 1/贷 0/" ) column=(type=long updatewhereclause=yes name=cw_department_departmentid dbname="cw_department.departmentid" ) retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"cw_department~" ) TABLE(NAME=~"cw_InitDeptBala~" ) TABLE(NAME=~"cw_subject~" ) COLUMN(NAME=~"cw_InitDeptBala.RawDebit~") COLUMN(NAME=~"cw_InitDeptBala.RawCredit~") COLUMN(NAME=~"cw_InitDeptBala.RawBalance~") COLUMN(NAME=~"cw_InitDeptBala.Debit~") COLUMN(NAME=~"cw_InitDeptBala.Credit~") COLUMN(NAME=~"cw_InitDeptBala.Balance~") COLUMN(NAME=~"cw_subject.hswb~") COLUMN(NAME=~"cw_department.departmentname~") COLUMN(NAME=~"cw_subject.dcflag~") COLUMN(NAME=~"cw_department.departmentid~") JOIN (LEFT=~"cw_department.departmentid~" OP =~"=~"RIGHT=~"cw_InitDeptBala.deptID~" OUTER1 =~"cw_department.departmentid~" ) JOIN (LEFT=~"cw_subject.subid~" OP =~"=~"RIGHT=~"cw_InitDeptBala.SubID~" OUTER1 =~"cw_subject.subid~" ) JOIN (LEFT=~"cw_subject.accsetid~" OP =~"=~"RIGHT=~"cw_department.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_department_departmentid A" ) text(name=cw_department_departmentname_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="626" 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="645" y="8" height="112" width="160" text="方向" ) text(name=yrawbalance_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="814" y="8" height="56" width="402" text="年初余额" ) text(name=yrawbalance_txt 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="814" y="64" height="56" width="402" text="[原币]" ) text(name=ybalance_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="1225" y="8" height="56" width="402" text="年初余额" ) text(name=ybalance_txt 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="1225" y="64" height="56" width="402" text="[本位币]" ) text(name=cw_initdeptbala_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="1637" y="8" height="56" width="384" text="借方金额" ) text(name=cw_initdeptbala_rawdebit_txt 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="1637" y="64" height="56" width="384" text="[原币]" ) text(name=cw_initdeptbala_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="2030" y="8" height="56" width="384" text="借方金额" ) text(name=cw_initdeptbala_debit_txt 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="2030" y="64" height="56" width="384" text="[本位币]" ) text(name=cw_initdeptbala_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_initdeptbala_rawcredit_txt 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(name=cw_initdeptbala_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_initdeptbala_credit_txt 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(name=cw_initdeptbala_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_initdeptbala_rawbalance_txt 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(name=cw_initdeptbala_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(name=cw_initdeptbala_balance_txt 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_department_departmentname tag="部门名称" band=detail id=8 x="9" y="4" height="68" width="626" 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=30 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="645" y="4" height="68" width="160" 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="814" y="4" height="68" width="402" format="#,###.##" expression=" if( cw_subject_dcflag =1 ,if(isnull(cw_initdeptbala_rawbalance),0,cw_initdeptbala_rawbalance) + if(isnull(cw_initdeptbala_rawcredit),0,cw_initdeptbala_rawcredit) - if(isnull(cw_initdeptbala_rawdebit),0,cw_initdeptbala_rawdebit) ,if(isnull(cw_initdeptbala_rawbalance),0,cw_initdeptbala_rawbalance) - if(isnull(cw_initdeptbala_rawcredit),0,cw_initdeptbala_rawcredit) + if(isnull(cw_initdeptbala_rawdebit),0,cw_initdeptbala_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="1225" y="4" height="68" width="402" format="#,###.##" expression=" if( cw_subject_dcflag =1 ,if(isnull(cw_initdeptbala_balance),0,cw_initdeptbala_balance) + if(isnull(cw_initdeptbala_credit),0,cw_initdeptbala_credit) - if(isnull(cw_initdeptbala_debit),0,cw_initdeptbala_debit) ,if(isnull(cw_initdeptbala_balance),0,cw_initdeptbala_balance) - if(isnull(cw_initdeptbala_credit),0,cw_initdeptbala_credit) + if(isnull(cw_initdeptbala_debit),0,cw_initdeptbala_debit))" alignment="1" border="0" crosstab.repeat=no ) column(name=cw_initdeptbala_rawdebit visible="1 0" tag="外币借方金额" band=detail id=1 x="1637" y="4" height="68" width="384" 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_initdeptbala_debit tag="借方金额" band=detail id=4 x="2030" y="4" height="68" width="384" 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_initdeptbala_rawcredit visible="1 0" 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_initdeptbala_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_initdeptbala_rawbalance visible="1 if( cw_subject_hswb =1,1,0)" 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="553648127" font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" tabsequence=50 ) column(name=cw_initdeptbala_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 ) htmltable(border="1" cellPadding="0" cellSpacing="0" generateCSS="no" noWrap="yes" ) htmlgen() export.xml(metadatatype=0 savemetadata=0 ) import.xml() export.pdf(method=0 )