dw_initbalance_native.srd 12 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. $PBExportHeader$dw_initbalance_native.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=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="name" )
  10. column=(type=char(18) updatewhereclause=yes name=cw_subject_subid dbname="subid" )
  11. column=(type=long updatewhereclause=yes name=cw_subject_dcflag dbname="dcflag"
  12. values="借 1/贷 0/" )
  13. column=(type=decimal(2) updatewhereclause=yes initial="0" name=cw_initbalance_debit dbname="Debit" )
  14. column=(type=decimal(2) updatewhereclause=yes initial="0" name=cw_initbalance_credit dbname="Credit" )
  15. column=(type=decimal(2) updatewhereclause=yes initial="0" name=cw_initbalance_balance dbname="Balance" )
  16. column=(type=decimal(2) updatewhereclause=yes initial="0" name=cw_initbalance_plhavedone dbname="PLHaveDone" )
  17. retrieve=" SELECT cw_subject.name,
  18. cw_subject.subid,
  19. cw_subject.dcflag,
  20. isnull(cw_InitBalance.Debit,0) as Debit,
  21. isnull(cw_InitBalance.Credit,0) as Credit,
  22. isnull(cw_InitBalance.Balance,0) as Balance,
  23. isnull(cw_InitBalance.PLHaveDone,0) as PLHaveDone
  24. FROM cw_subject left outer join cw_InitBalance on
  25. ( cw_InitBalance.accsetid = cw_subject.accsetid ) and
  26. ( cw_subject.subid = cw_InitBalance.SubID )
  27. WHERE ( cw_subject.accsetid = :arg_accsetid ) and
  28. ( cw_subject.detailflag = 1 ) and
  29. ( cw_subject.hswb = 0 )
  30. "
  31. arguments=(("arg_accsetid", number))
  32. sort="cw_subject_subid A"
  33. )
  34. 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="2" x="3077" y="8" height="116" width="471" text="" )
  35. 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="2" x="2606" y="8" height="116" width="462" text="" )
  36. 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="2" x="9" y="8" height="116" width="393" text="" )
  37. 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="2" x="1065" y="8" height="116" width="183" text="" )
  38. 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="2" x="411" y="8" height="116" width="645" text="" )
  39. 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="2" x="1257" y="8" height="116" width="466" text="" )
  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="1257" y="40" height="56" width="466" text="年初余额" )
  41. 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="1065" y="40" height="56" width="183" text="方向" )
  42. 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="411" y="40" height="56" width="645" text="科目名称" )
  43. 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="40" height="56" width="393" text="科目代码" )
  44. 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="2606" y="40" height="56" width="462" 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="16711680" alignment="0" border="0" x="2181" y="8" height="56" width="416" 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="16711680" alignment="1" border="0" x="1733" y="8" height="56" width="439" text="本年累" )
  47. 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="2" x="1733" y="68" height="56" width="439" text="借方" )
  48. 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="2" x="2181" y="68" height="56" width="416" text="贷方" )
  49. text(name=cw_initbalance_plhavedone_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="3077" y="40" height="56" width="471" text="本年损益累计发生" )
  50. column(name=cw_subject_subid tag="科目代码" band=detail id=2 x="9" y="4" height="68" width="393" 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 )
  51. column(name=cw_subject_name tag="科目名称" band=detail id=1 x="411" y="4" height="68" width="645" 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 )
  52. column(name=cw_subject_dcflag tag="余额方向" band=detail id=3 x="1065" y="4" height="68" width="183" 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 )
  53. 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="16777215" color="0 if( ybalance =0 , rgb(255,255,255),rgb(0,0,0))" x="1257" y="4" height="68" width="466" format="#,##0.00" 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 )
  54. column(name=cw_initbalance_debit tag="借方金额" band=detail id=4 x="1733" y="4" height="68" width="439" color="0" border="0" alignment="1" format="#,##0.00" 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 )
  55. column(name=cw_initbalance_credit tag="贷方金额" band=detail id=5 x="2181" y="4" height="68" width="416" color="0" border="0" alignment="1" format="#,##0.00" 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 )
  56. column(name=cw_initbalance_balance tag="期初余额" band=detail id=6 x="2606" y="4" height="68" width="462" color="0" border="0" alignment="1" format="#,##0.00" 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 )
  57. column(name=cw_initbalance_plhavedone band=detail id=7 x="3077" y="4" height="68" width="471" color="0" border="0" alignment="1" format="#,##0.00" 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 )
  58. htmltable(border="1" cellPadding="0" cellSpacing="0" generateCSS="no" noWrap="yes" )
  59. htmlgen()
  60. export.xml(metadatatype=0 savemetadata=0 )
  61. import.xml()
  62. export.pdf(method=0 )