数据表:t_org_bdctrlpropentry(基础资料控制策略之属性定义)

t_org_bdctrlpropentry(基础资料控制策略之属性定义):描述

名称

t_org_bdctrlpropentry(基础资料控制策略之属性定义)

代码

T_ORG_BDCTRLPROPENTRY

注释

基础资料控制策略之属性定义

模型

BOS

主键

pk_org_bdctrlpropentry


t_org_bdctrlpropentry(基础资料控制策略之属性定义):列规格定义

名称

代码

数据类型

长度

强制

注释

属性子分录内码

FPROPENTRYID

varchar(36)

36

TRUE

 

目的组织的分录内码

FTARGETORGENTRYID

varchar(36)

36

TRUE

 

属性key值

FKEY

varchar(30)

30

TRUE

 

控制策略

FCONTROLTYPEID

int

 

TRUE

1:携带 2:默认 3:留空

默认值

FDEFAULTVALUE

nvarchar(255)

255

TRUE

 

锁定

FLOCKED

char(1)

1

TRUE

 


t_org_bdctrlpropentry(基础资料控制策略之属性定义):脚本代码

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

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

/*==============================================================*/
/* Table: T_ORG_BDCTRLPROPENTRY */
/*==============================================================*/
create table T_ORG_BDCTRLPROPENTRY (
FPROPENTRYID varchar(36) not null default '',
FTARGETORGENTRYID varchar(36) not null default '',
FKEY varchar(30) not null default '',
FCONTROLTYPEID int not null default 0,
FDEFAULTVALUE nvarchar(255) not null default '',
FLOCKED char(1) not null default '0',
constraint PK_ORG_BDCTRLPROPENTRY primary key (FPROPENTRYID)
)
go

/*==============================================================*/
/* Index: idx_org_bddetail_entryid */
/*==============================================================*/
create index idx_org_bddetail_entryid on T_ORG_BDCTRLPROPENTRY (
FTARGETORGENTRYID ASC
)
go


t_org_bdctrlpropentry(基础资料控制策略之属性定义):键值定义

名称

代码

主要的

pk_org_bdctrlpropentry

PK_ORG_BDCTRLPROPENTRY

TRUE


t_org_bdctrlpropentry(基础资料控制策略之属性定义):索引定义

名称

代码

唯一的

群集器

主要的

外键

候选键

表格

idx_org_bddetail_entryid

idx_org_bddetail_entryid

FALSE

FALSE

FALSE

FALSE

FALSE

t_org_bdctrlpropentry(基础资料控制策略之属性定义)