数据表:t_org_affiliationentry(组织隶属关系明细)

t_org_affiliationentry(组织隶属关系明细):描述

名称

t_org_affiliationentry(组织隶属关系明细)

代码

t_org_affiliationentry

注释

组织隶属关系明细

模型

BOS

主键

pk_org_affiliationentry


t_org_affiliationentry(组织隶属关系明细):列规格定义

名称

代码

数据类型

长度

强制

注释

组织隶属关系内码

FAFFILIATIONID

int

 

TRUE

 

分录内码

FENTRYID

int

 

TRUE

 

上级组织内码

FPARENTORGID

int

 

TRUE

 

组织内码

FORGID

int

 

TRUE

 


t_org_affiliationentry(组织隶属关系明细):脚本代码

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

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

/*==============================================================*/
/* Table: t_org_affiliationentry */
/*==============================================================*/
create table t_org_affiliationentry (
FAFFILIATIONID int not null default 0,
FENTRYID int not null default 0,
FPARENTORGID int not null default 0,
FORGID int not null default 0,
constraint PK_ORG_AFFILIATIONENTRY primary key (FENTRYID)
)
go

/*==============================================================*/
/* Index: idx_org_affiliationentry */
/*==============================================================*/
create index idx_org_affiliationentry on t_org_affiliationentry (
FAFFILIATIONID ASC
)
go


t_org_affiliationentry(组织隶属关系明细):键值定义

名称

代码

主要的

pk_org_affiliationentry

PK_ORG_AFFILIATIONENTRY

TRUE


t_org_affiliationentry(组织隶属关系明细):索引定义

名称

代码

唯一的

群集器

主要的

外键

候选键

表格

idx_org_affiliationentry

idx_org_affiliationentry

FALSE

FALSE

FALSE

FALSE

FALSE

t_org_affiliationentry(组织隶属关系明细)