成本管理

## 数据表：T_CB_EQUCOEFCDETAIL(约当系数维护明细表子表)

### T_CB_EQUCOEFCDETAIL(约当系数维护明细表子表)：描述

名称 | T_CB_EQUCOEFCDETAIL(约当系数维护明细表子表)
代码 | T_CB_EQUCOEFCDETAIL
注释 |
模型 | 成本管理
主键 | PK_CB_EQUCOEFCDETAIL

### T_CB_EQUCOEFCDETAIL(约当系数维护明细表子表)：列规格定义

名称 | 代码 | 数据类型 | 长度 | 强制 | 注释
明细表分录ID | FENTRYID | int |  | FALSE |
分录ID | FDETAILID | int |  | TRUE |
成本项目 | FCostItemId | int |  | FALSE |
费用项目ID | FEXPID | int |  | FALSE |
分项系数 | FPARTIALCOEFC | decimal(23,10) | 23 | FALSE |

### T_CB_EQUCOEFCDETAIL(约当系数维护明细表子表)：脚本代码

if exists (select 1
from sysindexes
where id = object_id('T_CB_EQUCOEFCDETAIL')
and name = 'IDX_EQUCOEFCDETAIL_EID'
and indid > 0
and indid < 255)
drop index T_CB_EQUCOEFCDETAIL.IDX_EQUCOEFCDETAIL_EID
go
if exists (select 1
from sysindexes
where id = object_id('T_CB_EQUCOEFCDETAIL')
and name = 'IDX_EQUCOEFCDETAIL'
and indid > 0
and indid < 255)
drop index T_CB_EQUCOEFCDETAIL.IDX_EQUCOEFCDETAIL
go
if exists (select 1
from sysobjects
where id = object_id('T_CB_EQUCOEFCDETAIL')
and type = 'U')
drop table T_CB_EQUCOEFCDETAIL
go
/*==============================================================*/
/* Table: T_CB_EQUCOEFCDETAIL */
/*==============================================================*/
create table T_CB_EQUCOEFCDETAIL (
FENTRYID int null default 0,
FDETAILID int not null default 0,
FCostItemId int null default 0,
FEXPID int null default 0,
FPARTIALCOEFC decimal(23,10) null,
constraint PK_CB_EQUCOEFCDETAIL primary key (FDETAILID)
)
go
/*==============================================================*/
/* Index: IDX_EQUCOEFCDETAIL */
/*==============================================================*/
create index IDX_EQUCOEFCDETAIL on T_CB_EQUCOEFCDETAIL (
FEXPID ASC
)
go
/*==============================================================*/
/* Index: IDX_EQUCOEFCDETAIL_EID */
/*==============================================================*/
create index IDX_EQUCOEFCDETAIL_EID on T_CB_EQUCOEFCDETAIL (
FENTRYID ASC
)
go

### T_CB_EQUCOEFCDETAIL(约当系数维护明细表子表)：键值定义

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

### T_CB_EQUCOEFCDETAIL(约当系数维护明细表子表)：索引定义

名称 | 代码 | 唯一的 | 群集器 | 主要的 | 外键 | 候选键 | 表格
IDX_EQUCOEFCDETAIL | IDX_EQUCOEFCDETAIL | FALSE | FALSE | FALSE | FALSE | FALSE | T_CB_EQUCOEFCDETAIL(约当系数维护明细表子表)
IDX_EQUCOEFCDETAIL_EID | IDX_EQUCOEFCDETAIL_EID | FALSE | FALSE | FALSE | FALSE | FALSE | T_CB_EQUCOEFCDETAIL(约当系数维护明细表子表)

上一页

主页

下一页