数据表:T_PA_BILLSTATUSITEM(单据状态明细表)

T_PA_BILLSTATUSITEM(单据状态明细表):描述

名称

T_PA_BILLSTATUSITEM(单据状态明细表)

代码

T_PA_BILLSTATUSITEM

注释

单据状态明细表

模型

PA

主键

PK_PA_BILLSTATUSITEM


T_PA_BILLSTATUSITEM(单据状态明细表):列规格定义

名称

代码

数据类型

长度

强制

注释

FID

FID

nvarchar(50)

50

TRUE

 

FFORMID

FFORMID

nvarchar(50)

50

TRUE

 

FVALUE

FVALUE

nvarchar(30)

30

TRUE

 


T_PA_BILLSTATUSITEM(单据状态明细表):脚本代码

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

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

/*==============================================================*/
/* Table: T_PA_BILLSTATUSITEM */
/*==============================================================*/
create table T_PA_BILLSTATUSITEM (
FID nvarchar(50) not null default ' ',
FFORMID nvarchar(50) not null default ' ',
FVALUE nvarchar(30) not null default ' ',
constraint PK_PA_BILLSTATUSITEM primary key (FID)
)
go

declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'单据状态明细表',
'user', @CurrentUser, 'table', 'T_PA_BILLSTATUSITEM'
go

/*==============================================================*/
/* Index: IDX_PA_BILLSTATUSITEM */
/*==============================================================*/
create index IDX_PA_BILLSTATUSITEM on T_PA_BILLSTATUSITEM (
FVALUE ASC
)
go


T_PA_BILLSTATUSITEM(单据状态明细表):键值定义

名称

代码

主要的

PK_PA_BILLSTATUSITEM

PK_PA_BILLSTATUSITEM

TRUE


T_PA_BILLSTATUSITEM(单据状态明细表):索引定义

名称

代码

唯一的

群集器

主要的

外键

候选键

表格

IDX_PA_BILLSTATUSITEM

IDX_PA_BILLSTATUSITEM

FALSE

FALSE

FALSE

FALSE

FALSE

T_PA_BILLSTATUSITEM(单据状态明细表)