dw_inititembala.srd 15 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. $PBExportHeader$dw_inititembala.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=124 color="536870912" )
  6. summary(height=0 color="536870912" )
  7. footer(height=0 color="536870912" )
  8. detail(height=76 color="536870912" )
  9. table(column=(type=decimal(4) updatewhereclause=yes name=cw_inititembala_rawdebit dbname="cw_InitItemBala.RawDebit" )
  10. column=(type=decimal(4) updatewhereclause=yes name=cw_inititembala_rawcredit dbname="cw_InitItemBala.RawCredit" )
  11. column=(type=decimal(4) updatewhereclause=yes name=cw_inititembala_rawbalance dbname="cw_InitItemBala.RawBalance" )
  12. column=(type=decimal(4) updatewhereclause=yes name=cw_inititembala_debit dbname="cw_InitItemBala.Debit" )
  13. column=(type=decimal(4) updatewhereclause=yes name=cw_inititembala_credit dbname="cw_InitItemBala.Credit" )
  14. column=(type=decimal(4) updatewhereclause=yes name=cw_inititembala_balance dbname="cw_InitItemBala.Balance" )
  15. column=(type=long updatewhereclause=yes name=cw_hsitem_hsitemid dbname="cw_hsitem.hsitemid" )
  16. column=(type=char(20) updatewhereclause=yes name=cw_hsitem_hsitemname dbname="cw_hsitem.hsitemname" )
  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_subject_hsitem dbname="cw_subject.hsitem" )
  20. retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"cw_hsitem~" ) TABLE(NAME=~"cw_InitItemBala~" ) TABLE(NAME=~"cw_subject~" ) COLUMN(NAME=~"cw_InitItemBala.RawDebit~") COLUMN(NAME=~"cw_InitItemBala.RawCredit~") COLUMN(NAME=~"cw_InitItemBala.RawBalance~") COLUMN(NAME=~"cw_InitItemBala.Debit~") COLUMN(NAME=~"cw_InitItemBala.Credit~") COLUMN(NAME=~"cw_InitItemBala.Balance~") COLUMN(NAME=~"cw_hsitem.hsitemid~") COLUMN(NAME=~"cw_hsitem.hsitemname~") COLUMN(NAME=~"cw_subject.dcflag~") COLUMN(NAME=~"cw_subject.hsitem~") JOIN (LEFT=~"cw_hsitem.hsitemid~" OP =~"=~"RIGHT=~"cw_InitItemBala.itemID~" OUTER1 =~"cw_hsitem.hsitemid~" ) JOIN (LEFT=~"cw_subject.subid~" OP =~"=~"RIGHT=~"cw_InitItemBala.SubID~" OUTER1 =~"cw_subject.subid~" ) JOIN (LEFT=~"cw_subject.accsetid~" OP =~"=~"RIGHT=~"cw_hsitem.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_hsitem_hsitemid A"
  23. )
  24. text(name=cw_hsitem_hsitemname_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="603" 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="622" y="8" height="112" width="169" text="方向" )
  26. 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="800" y="8" height="56" width="402" text="年初余额" )
  27. 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="1211" y="8" height="56" width="402" text="年初余额" )
  28. text(name=cw_inititembala_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="1623" y="8" height="56" width="393" text="借方金额" )
  29. text(name=cw_inititembala_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="2025" y="8" height="56" width="389" text="借方金额" )
  30. text(name=cw_inititembala_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="贷方金额" )
  31. text(name=cw_inititembala_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="贷方金额" )
  32. text(name=cw_inititembala_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="期初余额" )
  33. text(name=cw_inititembala_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="期初余额" )
  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="2" border="0" x="800" y="64" height="56" width="402" 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="0" x="1211" y="64" height="56" width="402" 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="2" border="0" x="1623" y="64" height="56" 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="2" border="0" x="2025" y="64" height="56" width="389" 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="2" border="0" x="2423" y="64" height="56" width="389" 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="2" border="0" x="2821" y="64" height="56" width="389" 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="3218" y="64" height="56" width="389" 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="3616" y="64" height="56" width="389" text="[本位币]" )
  42. column(name=cw_hsitem_hsitemname tag="项目名称" band=detail id=8 x="9" y="4" height="68" width="603" 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=20 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="622" y="4" height="68" width="169" 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. column(name=cw_inititembala_rawdebit tag="外币借方金额" band=detail id=1 x="1623" y="4" height="68" width="393" 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 )
  45. column(name=cw_inititembala_rawcredit 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 )
  46. column(name=cw_inititembala_rawbalance 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="536870912" font.charset="134" font.face="宋体" font.family="0" font.height="-9" font.pitch="2" font.weight="400" tabsequence=50 )
  47. column(name=cw_inititembala_debit tag="借方金额" band=detail id=4 x="2025" 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=20 )
  48. column(name=cw_inititembala_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 )
  49. column(name=cw_inititembala_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 )
  50. 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="800" y="4" height="68" width="402" format="#,###.##" expression=" if( cw_subject_dcflag =1 ,if(isnull(cw_inititembala_rawbalance),0,cw_inititembala_rawbalance) + if(isnull(cw_inititembala_rawcredit),0,cw_inititembala_rawcredit) - if(isnull(cw_inititembala_rawdebit),0,cw_inititembala_rawdebit) ,if(isnull(cw_inititembala_rawbalance),0,cw_inititembala_rawbalance) - if(isnull(cw_inititembala_rawcredit),0,cw_inititembala_rawcredit) + if(isnull(cw_inititembala_rawdebit),0,cw_inititembala_rawdebit))" alignment="1" border="0" crosstab.repeat=no )
  51. 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="1211" y="4" height="68" width="402" format="#,###.##" expression=" if( cw_subject_dcflag =1 ,if(isnull(cw_inititembala_balance),0,cw_inititembala_balance) + if(isnull(cw_inititembala_credit),0,cw_inititembala_credit) - if(isnull(cw_inititembala_debit),0,cw_inititembala_debit) ,if(isnull(cw_inititembala_balance),0,cw_inititembala_balance) - if(isnull(cw_inititembala_credit),0,cw_inititembala_credit) + if(isnull(cw_inititembala_debit),0,cw_inititembala_debit))" alignment="1" border="0" crosstab.repeat=no )
  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 )