dw_initbalance_wb.srd 16 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. $PBExportHeader$dw_initbalance_wb.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=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)
  5. header(height=128 color="536870912" )
  6. summary(height=0 color="536870912" )
  7. footer(height=0 color="536870912" )
  8. detail(height=76 color="536870912" )
  9. table(column=(type=char(60) updatewhereclause=yes name=cw_subject_name dbname="cw_subject.name" )
  10. column=(type=char(18) updatewhereclause=yes name=cw_subject_subid dbname="cw_subject.subid" )
  11. column=(type=long updatewhereclause=yes name=cw_subject_dcflag dbname="cw_subject.dcflag"
  12. values="借 1/贷 0/" )
  13. column=(type=decimal(2) updatewhereclause=yes initial="0" name=cw_initbalance_rawdebit dbname="RawDebit" )
  14. column=(type=decimal(2) updatewhereclause=yes initial="0" name=cw_initbalance_rawcredit dbname="RawCredit" )
  15. column=(type=decimal(2) updatewhereclause=yes initial="0" name=cw_initbalance_rawbalance dbname="RawBalance" )
  16. column=(type=decimal(2) updatewhereclause=yes initial="0" name=cw_initbalance_debit dbname="Debit" )
  17. column=(type=decimal(2) updatewhereclause=yes initial="0" name=cw_initbalance_credit dbname="Credit" )
  18. column=(type=decimal(2) updatewhereclause=yes initial="0" name=cw_initbalance_balance dbname="Balance" )
  19. retrieve=" SELECT cw_subject.name,
  20. cw_subject.subid,
  21. cw_subject.dcflag,
  22. isnull(cw_InitBalance.RawDebit,0) as RawDebit,
  23. isnull(cw_InitBalance.RawCredit,0) as RawCredit,
  24. isnull(cw_InitBalance.RawBalance,0) as RawBalance,
  25. isnull(cw_InitBalance.Debit,0) as Debit,
  26. isnull(cw_InitBalance.Credit,0) as Credit,
  27. isnull(cw_InitBalance.Balance,0) as Balance
  28. FROM cw_InitBalance,
  29. cw_subject
  30. WHERE ( cw_InitBalance.accsetid =* cw_subject.accsetid) and
  31. ( cw_subject.subid *= cw_InitBalance.SubID) and
  32. ( ( cw_subject.accsetid = :arg_accsetid ) AND
  33. ( cw_subject.detailflag = 1 ) AND
  34. ( cw_subject.hswb = 1 ) AND
  35. ( cw_subject.moneyid = :arg_moneyid ) )
  36. "
  37. arguments=(("arg_accsetid", number), ("arg_moneyid", number))
  38. sort="cw_subject_subid A"
  39. )
  40. 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="" )
  41. 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="" )
  42. 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="" )
  43. 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="年初" )
  44. 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="余额" )
  45. 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="累计发生" )
  46. 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="本年贷方" )
  47. 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="累计发生" )
  48. 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="期初" )
  49. 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="余额" )
  50. 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="方向" )
  51. 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="科目名称" )
  52. 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="科目代码" )
  53. 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="原币" )
  54. 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="本位币" )
  55. 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="本年借方" )
  56. 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="原币" )
  57. 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="本位币" )
  58. 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="原币" )
  59. 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="本位币" )
  60. 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="原币" )
  61. 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="本位币" )
  62. 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 )
  63. 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 )
  64. 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 )
  65. 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 )
  66. 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 )
  67. 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 )
  68. 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 )
  69. 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 )
  70. 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 )
  71. 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 )
  72. 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 )
  73. htmltable(border="1" cellPadding="0" cellSpacing="0" generateCSS="no" noWrap="yes" )
  74. htmlgen()
  75. export.xml(metadatatype=0 savemetadata=0 )
  76. import.xml()
  77. export.pdf(method=0 )