数据表:t_Kds_ItemRelationAllocate(表间勾稽关系分配表)

t_Kds_ItemRelationAllocate(表间勾稽关系分配表):描述

名称

t_Kds_ItemRelationAllocate(表间勾稽关系分配表)

代码

t_Kds_ItemRelationAllocate

注释

t_Kds_ItemRelationAllocate(表间勾稽关系分配表)

模型

BOS

主键

PK_KDS_RPTITEMRELATIONALLOCATE


t_Kds_ItemRelationAllocate(表间勾稽关系分配表):列规格定义

名称

代码

数据类型

长度

强制

注释

勾稽关系分配内码

FId

int

 

TRUE

主键

报表模板

FTEMPLATEID

varchar(36)

36

TRUE

核算体系内码

模板类型

FTemplateTypeID

int

 

TRUE

 

核算组织内码

FOrgId

int

 

TRUE

核算组织内码

创建人

FCREATORID

int

 

TRUE

 

创建时间

FCREATEDATE

datetime

 

FALSE

 

修改人

FMODIFIERID

int

 

TRUE

 

修改时间

FMODIFYDATE

datetime

 

FALSE

 

数据状态

FDOCUMENTSTATUS

char(1)

1

TRUE

 


t_Kds_ItemRelationAllocate(表间勾稽关系分配表):脚本代码

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

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

/*==============================================================*/
/* Table: t_Kds_ItemRelationAllocate */
/*==============================================================*/
create table t_Kds_ItemRelationAllocate (
FId int not null default 0,
FTEMPLATEID varchar(36) not null default '0',
FTemplateTypeID int not null default 0,
FOrgId int not null default 0,
FCREATORID int not null default 0,
FCREATEDATE datetime null,
FMODIFIERID int not null default 0,
FMODIFYDATE datetime null,
FDOCUMENTSTATUS char(1) not null default 'A',
constraint PK_T_KDS_ITEMRELATIONALLOCATE primary key (FId)
)
go

/*==============================================================*/
/* Index: IDX_Kds_ImRlAl_FTEMPLATEID */
/*==============================================================*/
create index IDX_Kds_ImRlAl_FTEMPLATEID on t_Kds_ItemRelationAllocate (
FTEMPLATEID ASC
)
go


t_Kds_ItemRelationAllocate(表间勾稽关系分配表):键值定义

名称

代码

主要的

PK_KDS_RPTITEMRELATIONALLOCATE

PK_KDS_RPTITEMRELATIONALLOCATE

TRUE


t_Kds_ItemRelationAllocate(表间勾稽关系分配表):索引定义

名称

代码

唯一的

群集器

主要的

外键

候选键

表格

IDX_Kds_ImRlAl_FTEMPLATEID

IDX_Kds_ImRlAl_FTEMPLATEID

FALSE

FALSE

FALSE

FALSE

FALSE

t_Kds_ItemRelationAllocate(表间勾稽关系分配表)