数据表:t_org_bizrelationentry(组织业务关系之表体)

t_org_bizrelationentry(组织业务关系之表体):描述

名称

t_org_bizrelationentry(组织业务关系之表体)

代码

T_ORG_BIZRELATIONENTRY

注释

组织业务关系之表体

模型

BOS

主键

pk_org_bizrelationentry


t_org_bizrelationentry(组织业务关系之表体):列规格定义

名称

代码

数据类型

长度

强制

注释

组织业务关系内码

FBIZRELATIONID

int

 

TRUE

 

分录内码

FENTRYID

int

 

TRUE

 

来源组织内码

FORGID

int

 

TRUE

 

目标组织内码

FRELATIONORGID

int

 

TRUE

 

默认目标组织

FISDEFAULT

char(1)

1

TRUE

 

明细禁用状态

FENTRYFORBIDSTATUS

char(1)

1

TRUE

 

明细禁用人

FENTRYFORBIDORID

int

 

TRUE

 

明细禁用日期

FENTRYFORBIDDATE

datetime

 

FALSE

 

明细状态

FENTRYSTATUS

char(1)

1

TRUE

 

默认源组织

FISDEFAULTSORG

char(1)

1

TRUE

 


t_org_bizrelationentry(组织业务关系之表体):脚本代码

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

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

/*==============================================================*/
/* Table: T_ORG_BIZRELATIONENTRY */
/*==============================================================*/
create table T_ORG_BIZRELATIONENTRY (
FBIZRELATIONID int not null default 0,
FENTRYID int not null default 0,
FORGID int not null default 0,
FRELATIONORGID int not null default 0,
FISDEFAULT char(1) not null default '0',
FENTRYFORBIDSTATUS char(1) not null default '',
FENTRYFORBIDORID int not null default 0,
FENTRYFORBIDDATE datetime null,
FENTRYSTATUS char(1) not null default '',
FISDEFAULTSORG char(1) not null default '0',
constraint PK_ORG_BIZRELATIONENTRY primary key (FENTRYID)
)
go

/*==============================================================*/
/* Index: idx_org_bizrelationentry */
/*==============================================================*/
create index idx_org_bizrelationentry on T_ORG_BIZRELATIONENTRY (
FBIZRELATIONID ASC
)
go


t_org_bizrelationentry(组织业务关系之表体):键值定义

名称

代码

主要的

pk_org_bizrelationentry

PK_ORG_BIZRELATIONENTRY

TRUE


t_org_bizrelationentry(组织业务关系之表体):索引定义

名称

代码

唯一的

群集器

主要的

外键

候选键

表格

idx_org_bizrelationentry

idx_org_bizrelationentry

FALSE

FALSE

FALSE

FALSE

FALSE

t_org_bizrelationentry(组织业务关系之表体)