4Fang财务软件、四方在线软件、SaaS

简单实用的就是最好的!
帮助中心 | 登录 | 注册 | 关于 |

 
  fasub -- 固定资产子信息

zhu @ 2009-6-11 15:07:00

 
 
  1. create table [fasub](      
  2. [id] Counter not null CONSTRAINT [PK_fasubid] PRIMARY KEY,  --科目代码,唯一,主键      
  3. [ccode] text(20) not null--固定资产代码      
  4. [fatype] INTEGER not null,   --固定资产类型      
  5. [fadate] Datetime not null,  --购买日期      
  6. [summary] text(200) not null--增加方式       
  7. [CompanyID] text(50) not null,  --往来单位代码      
  8. [debitQty] INTEGER default 0,  --增加数量      
  9. [creditQty] INTEGER default 0,  --减少数量      
  10. [debit] Currency default 0,  --增加金额      
  11. [credit] Currency default 0,  --减少金额      
  12. [debitDep] Currency default 0,  --增加折旧      
  13. [creditDep] Currency default 0,  --减少      
  14. [price] double default 0,  --单价      
  15. [deped] Currency default 0, --已折旧      
  16. [acid_fee] text(50) null,  --费用科目      
  17. [DeptStaffID] TEXT(50) not null,  --核算部门代码      
  18. ac_voucher memo null,       
  19. [PrjID] TEXT(50) not null,  --核算项目代码      
  20. [S1] text(20) null,       
  21. [S2] text(100) null,      
  22. [S3] text(200) null,      
  23. [I1] INTEGER null,      
  24. [I2] INTEGER null,      
  25. [I3] INTEGER null     
  26. );    
说明:
1). [ccode] 固定资产代码 关联[fa]表主键。
2). [fatype ] 固定资产类型
        fatype=2 表示初始化,0表示变动(增加), 1表示变动(减少), 3表示折旧生成的。
3). [debitDep] [creditDep] 记录计提折旧当月折旧的金额。
4). [summary] 输入你增加固定资产时的支付方式,以便生成固定资产变动凭证。如果不输入,系统将跳过这个固定资产增加凭证的生成。
5). [debit] 固定资产增加时的金额。
6). [credit] 固定资产变动减少时的金额。