数据表:T_ORG_AUTOALLOCINFO (自动分配)

T_ORG_AUTOALLOCINFO (自动分配):描述

名称

T_ORG_AUTOALLOCINFO (自动分配)

代码

T_ORG_AUTOALLOCINFO

注释

 

模型

BOS

主键

PK_ORG_AUTOALLOCINFO


T_ORG_AUTOALLOCINFO (自动分配):列规格定义

名称

代码

数据类型

长度

强制

注释

自动分配方案ID

FID

int

 

TRUE

 

内码

FAUTOALLOCATEID

int

 

TRUE

 

创建组织

FCREATEORGID

int

 

TRUE

 

分配组织

FALLOCATEORGID

int

 

TRUE

 

过滤条件名称

FAUTOFILTERNAME

nvarchar(50)

50

TRUE

 

过滤条件ID

FAUTOFILTERID

nvarchar(50)

50

TRUE

 

自动提交审核

FAUTOSUBMIT

CHAR(1)

1

TRUE

 


T_ORG_AUTOALLOCINFO (自动分配):脚本代码

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

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

/*==============================================================*/
/* Table: T_ORG_AUTOALLOCINFO */
/*==============================================================*/
create table T_ORG_AUTOALLOCINFO (
FID int not null default 0,
FAUTOALLOCATEID int not null default 0,
FCREATEORGID int not null default 0,
FALLOCATEORGID int not null default 0,
FAUTOFILTERNAME nvarchar(50) not null default ' ',
FAUTOFILTERID nvarchar(50) not null default ' ',
FAUTOSUBMIT CHAR(1) not null default ' ',
constraint PK_T_ORG_AUTOALLOCINFO primary key (FAUTOALLOCATEID)
)
go

/*==============================================================*/
/* Index: IND_ALLOCATID */
/*==============================================================*/
create index IND_ALLOCATID on T_ORG_AUTOALLOCINFO (
FID ASC,
FCREATEORGID ASC,
FALLOCATEORGID ASC,
FAUTOFILTERID ASC
)
go


T_ORG_AUTOALLOCINFO (自动分配):键值定义

名称

代码

主要的

PK_ORG_AUTOALLOCINFO

PK_ORG_AUTOALLOCINFO

TRUE


T_ORG_AUTOALLOCINFO (自动分配):索引定义

名称

代码

唯一的

群集器

主要的

外键

候选键

表格

IND_ALLOCATID

IND_ALLOCATID

FALSE

FALSE

FALSE

FALSE

FALSE

T_ORG_AUTOALLOCINFO (自动分配)