dw_initdeptbala.srd 15 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. $PBExportHeader$dw_initdeptbala.srd
  2. $PBExportComments$By Kivens.Jiang(kivens@21cn.com)
  3. release 9;
  4. 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)
  5. header(height=120 color="536870912" )
  6. summary(height=0 color="536870912" )
  7. footer(height=4 color="536870912" )
  8. detail(height=76 color="536870912" )
  9. table(column=(type=decimal(4) updatewhereclause=yes name=cw_initdeptbala_rawdebit dbname="cw_InitDeptBala.RawDebit" )
  10. column=(type=decimal(4) updatewhereclause=yes name=cw_initdeptbala_rawcredit dbname="cw_InitDeptBala.RawCredit" )
  11. column=(type=decimal(4) updatewhereclause=yes name=cw_initdeptbala_rawbalance dbname="cw_InitDeptBala.RawBalance" )
  12. column=(type=decimal(4) updatewhereclause=yes name=cw_initdeptbala_debit dbname="cw_InitDeptBala.Debit" )
  13. column=(type=decimal(4) updatewhereclause=yes name=cw_initdeptbala_credit dbname="cw_InitDeptBala.Credit" )
  14. column=(type=decimal(4) updatewhereclause=yes name=cw_initdeptbala_balance dbname="cw_InitDeptBala.Balance" )
  15. column=(type=long updatewhereclause=yes name=cw_subject_hswb dbname="cw_subject.hswb" )
  16. column=(type=char(30) updatewhereclause=yes name=cw_department_departmentname dbname="cw_department.departmentname" )
  17. column=(type=long updatewhereclause=yes name=cw_subject_dcflag dbname="cw_subject.dcflag"
  18. values="借 1/贷 0/" )
  19. column=(type=long updatewhereclause=yes name=cw_department_departmentid dbname="cw_department.departmentid" )
  20. 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) "
  21. arguments=(("arg_accsetid", number), ("arg_subid", string))
  22. sort="cw_department_departmentid A"
  23. )
  24. 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="部门名称" )
  25. 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="方向" )
  26. 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="年初余额" )
  27. 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="[原币]" )
  28. 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="年初余额" )
  29. 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="[本位币]" )
  30. 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="借方金额" )
  31. 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="[原币]" )
  32. 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="借方金额" )
  33. 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="[本位币]" )
  34. 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="贷方金额" )
  35. 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="[原币]" )
  36. 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="贷方金额" )
  37. 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="[本位币]" )
  38. 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="期初余额" )
  39. 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="[原币]" )
  40. 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="期初余额" )
  41. 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="[本位币]" )
  42. 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 )
  43. 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 )
  44. 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 )
  45. 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 )
  46. 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 )
  47. 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 )
  48. 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 )
  49. 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 )
  50. 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 )
  51. 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 )
  52. htmltable(border="1" cellPadding="0" cellSpacing="0" generateCSS="no" noWrap="yes" )
  53. htmlgen()
  54. export.xml(metadatatype=0 savemetadata=0 )
  55. import.xml()
  56. export.pdf(method=0 )