集团财务

## 数据表：T_SC_FUNDSINTERESTENTRY(资金调拨单利息明细)

### T_SC_FUNDSINTERESTENTRY(资金调拨单利息明细)：描述

名称 | T_SC_FUNDSINTERESTENTRY(资金调拨单利息明细)
代码 | T_SC_FUNDSINTERESTENTRY
注释 | T_SC_FUNDSINTERESTENTRY(资金调拨单利息明细)
模型 | 集团财务
主键 | PK_SC_FUNDSINTERESTENTRY

### T_SC_FUNDSINTERESTENTRY(资金调拨单利息明细)：列规格定义

名称 | 代码 | 数据类型 | 长度 | 强制 | 注释
分录内码 | FENTRYID | int |  | TRUE |
单据内码 | FID | int |  | TRUE |
行号 | FSEQ | int |  | TRUE |
计算日期 | FCALCDATE | datetime |  | FALSE |
开始日期 | FSTARTDATE | datetime |  | FALSE |
结束日期 | FFINISHDATE | datetime |  | FALSE |
利息金额 | FDetailInterestAmt | decimal(23,10) | 23 | FALSE |
本位币利息金额 | FMainDetailInterest | decimal(23,10) | 23 | FALSE |

### T_SC_FUNDSINTERESTENTRY(资金调拨单利息明细)：脚本代码

if exists (select 1
from sys.sysreferences r join sys.sysobjects o on (o.id = r.constid and o.type = 'F')
where r.fkeyid = object_id('T_SC_FUNDSINTERESTENTRY') and o.name = 'FK_T_SC_FUN_资金调拨单表头与利_T_SC_FUN')
alter table T_SC_FUNDSINTERESTENTRY
drop constraint FK_T_SC_FUN_资金调拨单表头与利_T_SC_FUN
go
if exists (select 1
from sysindexes
where id = object_id('T_SC_FUNDSINTERESTENTRY')
and name = 'IDX_SC_FUNDSINTERESTENTRY'
and indid > 0
and indid < 255)
drop index T_SC_FUNDSINTERESTENTRY.IDX_SC_FUNDSINTERESTENTRY
go
if exists (select 1
from sysobjects
where id = object_id('T_SC_FUNDSINTERESTENTRY')
and type = 'U')
drop table T_SC_FUNDSINTERESTENTRY
go
/*==============================================================*/
/* Table: T_SC_FUNDSINTERESTENTRY */
/*==============================================================*/
create table T_SC_FUNDSINTERESTENTRY (
FENTRYID int not null default 0,
FID int not null default 0,
FSEQ int not null default 0,
FCALCDATE datetime null,
FSTARTDATE datetime null,
FFINISHDATE datetime null,
FDetailInterestAmt decimal(23,10) null,
FMainDetailInterest decimal(23,10) null,
constraint PK_T_SC_FUNDSINTERESTENTRY primary key (FENTRYID)
)
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'T_SC_FUNDSINTERESTENTRY(资金调拨单利息明细)',
'user', @CurrentUser, 'table', 'T_SC_FUNDSINTERESTENTRY'
go
/*==============================================================*/
/* Index: IDX_SC_FUNDSINTERESTENTRY */
/*==============================================================*/
create index IDX_SC_FUNDSINTERESTENTRY on T_SC_FUNDSINTERESTENTRY (
FID ASC
)
go
alter table T_SC_FUNDSINTERESTENTRY
add constraint FK_T_SC_FUN_资金调拨单表头与利_T_SC_FUN foreign key (FID)
references T_SC_FUNDSTRANSF (FID)
go

### T_SC_FUNDSINTERESTENTRY(资金调拨单利息明细)：键值定义

名称 | 代码 | 主要的
PK_SC_FUNDSINTERESTENTRY | PK_SC_FUNDSINTERESTENTRY | TRUE

### T_SC_FUNDSINTERESTENTRY(资金调拨单利息明细)：索引定义

名称 | 代码 | 唯一的 | 群集器 | 主要的 | 外键 | 候选键 | 表格
IDX_SC_FUNDSINTERESTENTRY | IDX_SC_FUNDSINTERESTENTRY | FALSE | FALSE | FALSE | FALSE | FALSE | T_SC_FUNDSINTERESTENTRY(资金调拨单利息明细)

上一页

主页

下一页