$PBExportHeader$dw_credence_mx.srd $PBExportComments$By Kivens.Jiang(kivens@21cn.com) release 9; datawindow ( units=0 timer_interval=0 color=16777215 processing=1 print.printername="" 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 print.canusedefaultprinter=yes grid.lines=0 selected.mouse=yes) header(height=68 color="536870912" ) summary(height=0 color="536870912" ) footer(height=0 color="536870912" ) detail(height=76 color="536870912" height.autosize=yes) table(column=(type=datetime updatewhereclause=yes name=cw_credence_creddate dbname="cw_credence.creddate" ) column=(type=char(10) updatewhereclause=yes name=cw_credence_credtype dbname="cw_credence.credtype" ) column=(type=long updatewhereclause=yes name=cw_credence_credno dbname="cw_credence.credno" ) column=(type=long updatewhereclause=yes name=cw_credence_cmonth dbname="cw_credence.cmonth" ) column=(type=datetime updatewhereclause=yes name=cw_credence_reldate dbname="cw_credence.reldate" ) column=(type=char(50) updatewhereclause=yes name=cw_credence_reldcode dbname="cw_credence.reldcode" ) column=(type=long updatewhereclause=yes name=cw_credence_checkflag dbname="cw_credence.checkflag" values=" 1/ 0" ) column=(type=long updatewhereclause=yes name=cw_credence_postflag dbname="cw_credence.postflag" values=" 1/ 0" ) column=(type=char(255) updatewhereclause=yes name=cw_credencemx_brief dbname="cw_credencemx.brief" ) column=(type=char(255) updatewhereclause=yes name=cw_credencemx_subid dbname="subid" ) column=(type=long updatewhereclause=yes name=cw_credencemx_fuluno dbname="cw_credencemx.fuluno" ) column=(type=decimal(2) updatewhereclause=yes name=cw_credence_debit dbname="cw_credence.debit" ) column=(type=decimal(2) updatewhereclause=yes name=cw_credence_credit dbname="cw_credence.credit" ) column=(type=decimal(2) updatewhereclause=yes name=cw_credence_rawdebit dbname="cw_credence.rawdebit" ) column=(type=decimal(2) updatewhereclause=yes name=cw_credence_rawcredit dbname="cw_credence.rawcredit" ) column=(type=long updatewhereclause=yes name=cw_credence_credid dbname="cw_credence.credid" ) column=(type=long updatewhereclause=yes name=cw_credence_subaccsetid dbname="cw_credence.subaccsetid" ) retrieve=" SELECT cw_credence.creddate, cw_credence.credtype, cw_credence.credno, cw_credence.cmonth, cw_credence.reldate, cw_credence.reldcode, cw_credence.checkflag, cw_credence.postflag, cw_credencemx.brief, cw_subject.displaycode + case when cw_credencemx.deptid = 0 then '' else '(部门:'+rtrim(cw_department.departmentname)+')' end + case when cw_credencemx.itemid = 0 then '' else '(项目:'+rtrim(cw_hsitem.hsitemname)+')' end + case when cw_credencemx.cusid = 0 then '' else '(客户:'+rtrim(u_cust.name)+')' end + case when cw_credencemx.sptid = 0 then '' else '(供应商:'+rtrim(u_spt.name)+')'end as subid, cw_credencemx.fuluno, case cw_credencemx.debit when 0 then null else cw_credencemx.debit end as debit, case cw_credencemx.credit when 0 then null else cw_credencemx.credit end as credit, case cw_credencemx.rawdebit when 0 then null else cw_credencemx.rawdebit end as rawdebit, case cw_credencemx.rawcredit when 0 then null else cw_credencemx.rawcredit end as rawcredit, cw_credence.credid, cw_credence.subaccsetid FROM cw_credence, cw_credencemx left outer join cw_department on cw_credencemx.deptid = cw_department.departmentid left outer join cw_hsitem on cw_credencemx.itemid = cw_hsitem.hsitemid left outer join u_cust on cw_credencemx.cusid = u_cust.cusid left outer join u_spt on cw_credencemx.sptid = u_spt.sptid, cw_subject WHERE ( cw_credence.accsetid = cw_credencemx.accsetid ) and ( cw_credence.subaccsetid = cw_credencemx.subaccsetid ) and ( cw_credence.credid = cw_credencemx.credid ) and ( cw_subject.accsetid = cw_credencemx.accsetid ) and ( cw_subject.subid = cw_credencemx.subid ) and ( cw_credence.accsetid = :arg_accsetid ) AND (( cw_credence.subaccsetid = :arg_subaccsetid ) OR ( :arg_subaccsetid = -1) ) AND ( cw_credence.cmonth = :arg_cmonth ) AND (( cw_credence.checkflag = :arg_checkflag ) OR ( :arg_checkflag = -1) ) " arguments=(("arg_accsetid", number), ("arg_subaccsetid", number), ("arg_checkflag", number), ("arg_cmonth", number)) sort="cw_credence_credtype A, cw_credence_credno A, cw_credencemx_fuluno A" ) text(name=cw_credence_cmonth_t visible="1" band=header 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" alignment="2" border="0" x="9" y="8" height="56" width="242" text="期间" ) text(name=cw_credence_creddate_t visible="1" band=header 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" alignment="2" border="0" x="261" y="8" height="56" width="302" text="凭证日期" ) text(name=cw_credence_credtype_t visible="1" band=header 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" alignment="2" border="0" x="571" y="8" height="56" width="187" text="凭证字" ) text(name=cw_credence_credno_t visible="1" band=header 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" alignment="2" border="0" x="768" y="8" height="56" width="187" text="凭证号" ) text(name=cw_credence_checkflag_t visible="1" band=header 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" alignment="2" border="0" x="965" y="8" height="56" width="123" text="审核" ) text(name=cw_credence_postflag_t visible="1" band=header 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" alignment="2" border="0" x="1097" y="8" height="56" width="128" text="登帐" ) text(name=cw_credencemx_brief_t visible="1" band=header 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" alignment="2" border="0" x="1234" y="8" height="56" width="635" text="摘要" ) text(name=cw_credencemx_subid_t visible="1" band=header 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" alignment="2" border="0" x="1879" y="8" height="56" width="818" text="会计科目" ) text(name=cw_credence_debit_t visible="1" band=header 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" alignment="2" border="0" x="2706" y="8" height="56" width="384" text="借方金额" ) text(name=cw_credence_credit_t visible="1" band=header 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" alignment="2" border="0" x="3099" y="8" height="56" width="393" text="贷方金额" ) text(name=cw_credence_rawdebit_t visible="1" band=header 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" alignment="2" border="0" x="3502" y="8" height="56" width="421" text="原币借方金额" ) text(name=cw_credence_rawcredit_t visible="1" band=header 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" alignment="2" border="0" x="3931" y="8" height="56" width="402" text="原币贷方金额" ) text(name=cw_credence_reldate_t visible="1" band=header 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" alignment="2" border="0" x="4343" y="8" height="56" width="315" text="相关日期" ) text(name=cw_credence_reldcode_t visible="1" band=header 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" alignment="2" border="0" x="4667" y="8" height="56" width="370" text="相关号" ) column(name=cw_credence_creddate visible="1" tag="日期" band=detail id=1 x="261" y="4" height="68" width="302" color="0" border="0" alignment="0" format="yyyy-mm-dd" 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_credence_credno visible="1" tag="编号" band=detail id=3 x="768" y="4" height="68" width="187" color="0" border="0" alignment="2" 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=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_credence_checkflag visible="1" tag="审核标记" band=detail id=7 x="965" y="4" height="68" width="123" color="0" border="0" alignment="2" format="[general]" checkbox.lefttext=no checkbox.scale=no checkbox.threed=yes checkbox.text="" checkbox.on="1" checkbox.off="0" 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_credence_postflag visible="1" tag="登帐标记" band=detail id=8 x="1097" y="4" height="68" width="128" color="0" border="0" alignment="2" format="[general]" checkbox.lefttext=no checkbox.scale=no checkbox.threed=yes checkbox.text="" checkbox.on="1" checkbox.off="0" 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_credencemx_brief visible="1" tag="摘要" height.autosize=yes band=detail id=9 x="1234" 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=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="-9" font.pitch="2" font.weight="400" tabsequence=0 ) column(name=cw_credencemx_subid visible="1" tag="会计科目" height.autosize=yes band=detail id=10 x="1879" y="4" height="68" width="818" color="0" border="0" alignment="0" format="[general]" edit.focusrectangle=no edit.autohscroll=no edit.autoselect=no 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_credence_debit visible="1" band=detail id=12 x="2706" y="4" height="68" width="384" 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="-9" font.pitch="2" font.weight="400" tabsequence=0 ) column(name=cw_credence_credtype visible="1" band=detail id=2 x="571" y="4" height="68" width="187" color="0" border="0" alignment="2" 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="-9" font.pitch="2" font.weight="400" tabsequence=0 ) column(name=cw_credence_credit visible="1" band=detail id=13 x="3099" y="4" height="68" width="393" 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="-9" font.pitch="2" font.weight="400" tabsequence=0 ) column(name=cw_credence_cmonth visible="1" band=detail id=4 x="9" y="4" height="68" width="242" color="0" border="0" alignment="2" 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="-9" font.pitch="2" font.weight="400" tabsequence=0 ) column(name=cw_credence_reldate visible="1" band=detail id=5 x="4343" y="4" height="68" width="315" color="0" border="0" alignment="2" format="yyyy-mm-dd" 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="-9" font.pitch="2" font.weight="400" tabsequence=0 ) column(name=cw_credence_reldcode visible="1" band=detail id=6 x="4667" y="4" height="68" width="370" 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="-9" font.pitch="2" font.weight="400" tabsequence=0 ) column(name=cw_credence_rawdebit visible="1" band=detail id=14 x="3502" y="4" height="68" width="421" 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="-9" font.pitch="2" font.weight="400" tabsequence=0 ) column(name=cw_credence_rawcredit visible="1" band=detail id=15 x="3931" y="4" height="68" width="402" 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="-9" font.pitch="2" font.weight="400" tabsequence=0 ) sparse(names="cw_credence_credtype cw_credence_creddate cw_credence_credno cw_credence_checkflag cw_credence_postflag cw_credence_cmonth cw_credence_reldate cw_credence_reldcode") 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" )