数据表:T_BD_FLEXITEMGROUP(维度组主表)

T_BD_FLEXITEMGROUP(维度组主表):描述

名称

T_BD_FLEXITEMGROUP(维度组主表)

代码

T_BD_FLEXITEMGROUP

注释

 

模型

BOS

主键

PK_BD_FLEXITEMGROUP


T_BD_FLEXITEMGROUP(维度组主表):列规格定义

名称

代码

数据类型

长度

强制

注释

内码

FID

int

 

TRUE

 

编码

FNUMBER

nvarchar(1000)

1000

TRUE

 

创建组织

FCREATEORGID

int

 

TRUE

 

创建人

FCREATORID

int

 

TRUE

 

创建日期

FCREATEDATE

datetime

 

FALSE

 

使用组织

FUSEORGID

int

 

TRUE

 

修改人

FMODIFIERID

int

 

TRUE

 

修改日期

FMODIFYDATE

datetime

 

FALSE

 

数据状态

FDOCUMENTSTATUS

char(1)

1

TRUE

Z,暂存
A,创建
B,审核中
C,已审核
D,重新审核

审核人

FAUDITORID

int

 

TRUE

 

审核日期

FAUDITDATE

datetime

 

FALSE

 

禁用状态

FFORBIDSTATUS

char(1)

1

TRUE

A,否
B,是

禁用人

FFORBIDDERID

int

 

TRUE

 

禁用日期

FFORBIDDATE

datetime

 

FALSE

 

是否系统预设

FISSYSPRESET

char(1)

1

TRUE

是否系统预设
1 系统预设
0 非系统预设
默认0

主ID

FMASTERID

int

 

TRUE

继承与模板,用于组织隔离


T_BD_FLEXITEMGROUP(维度组主表):脚本代码

if exists (select 1
from sysindexes
where id = object_id('T_BD_FLEXITEMGROUP')
and name = 'IDX_BD_FLEXITEMGRP_FCREATEDATE'
and indid > 0
and indid < 255)
drop index T_BD_FLEXITEMGROUP.IDX_BD_FLEXITEMGRP_FCREATEDATE
go

if exists (select 1
from sysobjects
where id = object_id('T_BD_FLEXITEMGROUP')
and type = 'U')
drop table T_BD_FLEXITEMGROUP
go

/*==============================================================*/
/* Table: T_BD_FLEXITEMGROUP */
/*==============================================================*/
create table T_BD_FLEXITEMGROUP (
FID int not null,
FNUMBER nvarchar(1000) not null default '',
FCREATEORGID int not null default 0,
FCREATORID int not null default 0,
FCREATEDATE datetime null,
FUSEORGID int not null default 0,
FMODIFIERID int not null default 0,
FMODIFYDATE datetime null,
FDOCUMENTSTATUS char(1) not null default '',
FAUDITORID int not null default 0,
FAUDITDATE datetime null,
FFORBIDSTATUS char(1) not null default '',
FFORBIDDERID int not null default 0,
FFORBIDDATE datetime null,
FISSYSPRESET char(1) not null default '0',
FMASTERID int not null default 0,
constraint PK_BD_FLEXITEMGROUP primary key (FID)
)
go

/*==============================================================*/
/* Index: IDX_BD_FLEXITEMGRP_FCREATEDATE */
/*==============================================================*/
create index IDX_BD_FLEXITEMGRP_FCREATEDATE on T_BD_FLEXITEMGROUP (
FCREATEDATE ASC
)
go


T_BD_FLEXITEMGROUP(维度组主表):键值定义

名称

代码

主要的

PK_BD_FLEXITEMGROUP

PK_BD_FLEXITEMGROUP

TRUE


T_BD_FLEXITEMGROUP(维度组主表):索引定义

名称

代码

唯一的

群集器

主要的

外键

候选键

表格

IDX_BD_FLEXITEMGRP_FCREATEDATE

IDX_BD_FLEXITEMGRP_FCREATEDATE

FALSE

FALSE

FALSE

FALSE

FALSE

T_BD_FLEXITEMGROUP(维度组主表)