MFG制造

## 数据表：T_PRD_FEDMTRLREA(补料原因)

### T_PRD_FEDMTRLREA(补料原因)：描述

名称 | T_PRD_FEDMTRLREA(补料原因)
代码 | T_PRD_FEDMTRLREA
注释 |
模型 | MFG制造
主键 | PK_PRD_FEDMTRLREA

### T_PRD_FEDMTRLREA(补料原因)：列规格定义

名称 | 代码 | 数据类型 | 长度 | 强制 | 注释
主键 | FID | int |  | TRUE |
组织控制字段 | FMASTERID | int |  | TRUE |
编码 | FNUMBER | nvarchar(80) | 80 | FALSE |
创建组织 | FCREATEORGID | int |  | FALSE |
使用组织 | FUSEORGID | int |  | FALSE |
创建人 | FCREATORID | int |  | FALSE |
创建日期 | FCREATEDATE | DATETIME |  | FALSE |
修改人 | FMODIFIERID | int |  | FALSE |
修改日期 | FMODIFYDATE | DATETIME |  | FALSE |
审核人 | FAPPROVERID | int |  | FALSE |
审核日期 | FAPPROVEDATE | DATETIME |  | FALSE |
禁用人 | FFORBIDDERID | int |  | FALSE |
禁用日期 | FFORBIDDATE | DATETIME |  | FALSE |
数据状态 | FDOCUMENTSTATUS | char(1) | 1 | FALSE |
禁用状态 | FFORBIDSTATUS | char(1) | 1 | FALSE |

### T_PRD_FEDMTRLREA(补料原因)：脚本代码

if exists (select 1
from sysindexes
where id = object_id('T_PRD_FEDMTRLREA')
and name = 'IDX_PRD_FEDMTRLREA_DATE'
and indid > 0
and indid < 255)
drop index T_PRD_FEDMTRLREA.IDX_PRD_FEDMTRLREA_DATE
go
if exists (select 1
from sysindexes
where id = object_id('T_PRD_FEDMTRLREA')
and name = 'IDX_PRD_FEDMTRLREA_NUMBER'
and indid > 0
and indid < 255)
drop index T_PRD_FEDMTRLREA.IDX_PRD_FEDMTRLREA_NUMBER
go
if exists (select 1
from sysobjects
where id = object_id('T_PRD_FEDMTRLREA')
and type = 'U')
drop table T_PRD_FEDMTRLREA
go
/*==============================================================*/
/* Table: T_PRD_FEDMTRLREA */
/*==============================================================*/
create table T_PRD_FEDMTRLREA (
FID int not null default 0,
FMASTERID int not null default 0,
FNUMBER nvarchar(80) null,
FCREATEORGID int null,
FUSEORGID int null,
FCREATORID int null,
FCREATEDATE DATETIME null,
FMODIFIERID int null,
FMODIFYDATE DATETIME null,
FAPPROVERID int null,
FAPPROVEDATE DATETIME null,
FFORBIDDERID int null,
FFORBIDDATE DATETIME null,
FDOCUMENTSTATUS char(1) null,
FFORBIDSTATUS char(1) null,
constraint PK_PRD_FEDMTRLREA primary key (FID)
)
go
/*==============================================================*/
/* Index: IDX_PRD_FEDMTRLREA_NUMBER */
/*==============================================================*/
create index IDX_PRD_FEDMTRLREA_NUMBER on T_PRD_FEDMTRLREA (
FNUMBER ASC,
FUSEORGID ASC
)
go
/*==============================================================*/
/* Index: IDX_PRD_FEDMTRLREA_DATE */
/*==============================================================*/
create index IDX_PRD_FEDMTRLREA_DATE on T_PRD_FEDMTRLREA (
FCREATEDATE ASC
)
go

### T_PRD_FEDMTRLREA(补料原因)：键值定义

名称 | 代码 | 主要的
PK_PRD_FEDMTRLREA | PK_PRD_FEDMTRLREA | TRUE

### T_PRD_FEDMTRLREA(补料原因)：索引定义

名称 | 代码 | 唯一的 | 群集器 | 主要的 | 外键 | 候选键 | 表格
IDX_PRD_FEDMTRLREA_NUMBER | IDX_PRD_FEDMTRLREA_NUMBER | FALSE | FALSE | FALSE | FALSE | FALSE | T_PRD_FEDMTRLREA(补料原因)
IDX_PRD_FEDMTRLREA_DATE | IDX_PRD_FEDMTRLREA_DATE | FALSE | FALSE | FALSE | FALSE | FALSE | T_PRD_FEDMTRLREA(补料原因)

上一页

主页

下一页