数据表:t_kds_RptItemRelation(报表项目间勾稽关系表)

t_kds_RptItemRelation(报表项目间勾稽关系表):描述

名称

t_kds_RptItemRelation(报表项目间勾稽关系表)

代码

t_kds_RptItemRelation

注释

报表项目间勾稽关系表(表间勾稽关系)

模型

BOS

主键

PK_RPTITEMRELATION


t_kds_RptItemRelation(报表项目间勾稽关系表):列规格定义

名称

代码

数据类型

长度

强制

注释

勾稽关系内码

FRelationID

int

 

TRUE

主键

编码

FNumber

nvarchar(30)

30

TRUE

勾稽关系编码

左表达式

FLExpress

ntext

 

TRUE

表间勾稽关系左表达式

右表达式

FRExpress

ntext

 

TRUE

表间勾稽关系右表达式

等式关系符

FRelationOperator

varchar(10)

10

TRUE

 

误差范围

FErrorRange

decimal(23,10)

23

TRUE

误差范围

提示信息

FPromptMsg

nvarchar(255)

255

TRUE

 

修改人

FModifierId

int

 

TRUE

修改人:最后修改人的ID

修改日期

FModifyDate

datetime

 

FALSE

 

审核人

FAUDITORID

bigint

 

TRUE

 

审核日期

FAUDITDATE

datetime

 

FALSE

 

禁用人

FFORBIDDERID

bigint

 

TRUE

 

禁用日期

FFORBIDDATE

datetime

 

FALSE

 

创建人

FCreatorId

int

 

TRUE

 

创建日期

FCreateDate

datetime

 

FALSE

 

数据状态

FDocumentStatus

char(1)

1

TRUE

A在制
B审核中
C已审核
D重新审核

禁用状态

FForbidStatus

char(1)

1

TRUE

A = 正常; B = 禁用

使用组织

FUseOrgId

int

 

TRUE

 

创建组织

FCreateOrgId

int

 

FALSE

FCreateOrgId

组织隔离字段

FMASTERID

int

 

TRUE

 


t_kds_RptItemRelation(报表项目间勾稽关系表):脚本代码

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

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

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

/*==============================================================*/
/* Table: t_kds_RptItemRelation */
/*==============================================================*/
create table t_kds_RptItemRelation (
FRelationID int not null default 0,
FNumber nvarchar(30) not null default '',
FLExpress ntext not null default '',
FRExpress ntext not null default '',
FRelationOperator varchar(10) not null default '',
FErrorRange decimal(23,10) not null default 0,
FPromptMsg nvarchar(255) not null default '',
FModifierId int not null default 0,
FModifyDate datetime null,
FAUDITORID bigint not null default 0,
FAUDITDATE datetime null,
FFORBIDDERID bigint not null default 0,
FFORBIDDATE datetime null,
FCreatorId int not null default 0,
FCreateDate datetime null,
FDocumentStatus char(1) not null default '',
FForbidStatus char(1) not null default '',
FUseOrgId int not null default 0,
FCreateOrgId int null default 0,
FMASTERID int not null default 0,
constraint PK_T_KDS_RPTITEMRELATION primary key (FRelationID)
)
go

/*==============================================================*/
/* Index: IDX_KDS_ITEMRELA_FNUMBER */
/*==============================================================*/
create index IDX_KDS_ITEMRELA_FNUMBER on t_kds_RptItemRelation (
FNumber ASC
)
go

/*==============================================================*/
/* Index: IDX_KDS_RptItemRel_FCREATEDATE */
/*==============================================================*/
create index IDX_KDS_RptItemRel_FCREATEDATE on t_kds_RptItemRelation (
FCreateDate ASC
)
go


t_kds_RptItemRelation(报表项目间勾稽关系表):键值定义

名称

代码

主要的

PK_RPTITEMRELATION

PK_RPTITEMRELATION

TRUE


t_kds_RptItemRelation(报表项目间勾稽关系表):索引定义

名称

代码

唯一的

群集器

主要的

外键

候选键

表格

idx_Kds_ItemRela_FNumber

IDX_KDS_ITEMRELA_FNUMBER

FALSE

FALSE

FALSE

FALSE

FALSE

t_kds_RptItemRelation(报表项目间勾稽关系表)

IDX_KDS_RptItemRel_FCREATEDATE

IDX_KDS_RptItemRel_FCREATEDATE

FALSE

FALSE

FALSE

FALSE

FALSE

t_kds_RptItemRelation(报表项目间勾稽关系表)