MFG制造

## 数据表：T_ENG_LINELOCATIONBOMPARA(生产线工位物料参数)

### T_ENG_LINELOCATIONBOMPARA(生产线工位物料参数)：描述

名称 | T_ENG_LINELOCATIONBOMPARA(生产线工位物料参数)
代码 | T_ENG_LINELOCATIONBOMPARA
注释 |
模型 | MFG制造
主键 | pk_ENG_LineLocationBomPara

### T_ENG_LINELOCATIONBOMPARA(生产线工位物料参数)：列规格定义

名称 | 代码 | 数据类型 | 长度 | 强制 | 注释
主键 | FID | int |  | TRUE |
组织控制字段 | FMasterId | int |  | TRUE |
数据状态 | FDOCUMENTSTATUS | varchar(1) | 1 | FALSE |
禁用状态 | FFORBIDSTATUS | varchar(1) | 1 | FALSE |
编码 | FNUMBER | nvarchar(80) | 80 | FALSE |
创建组织 | FCREATEORGID | int |  | FALSE |
使用组织 | FUSEORGID | int |  | FALSE |
创建人 | FCREATORID | int |  | FALSE |
修改人 | FMODIFIERID | int |  | FALSE |
创建日期 | FCREATEDATE | datetime |  | FALSE |
修改日期 | FMODIFYDATE | datetime |  | FALSE |
禁用人 | FFORBIDDERID | int |  | FALSE |
审核人 | FAPPROVERID | int |  | FALSE |
禁用日期 | FFORBIDDATE | datetime |  | FALSE |
审核日期 | FAPPROVEDATE | datetime |  | FALSE |
生产线 | FPRODUCTLINEID | int |  | FALSE |
生产线工位 | FLINELOCATION | int |  | FALSE |
物料 | FMATERIALID | int |  | FALSE |
日送料次数 | FPICKINGNUMBER | varchar(20) | 20 | FALSE |
储备定额 | FSTORAGERATION | decimal(23,10) | 23 | TRUE |
数据来源 | FDATASOURCE | varchar(20) | 20 | FALSE |
送料间隔 | FSENDINTERVAL | int |  | FALSE |
取整倍数 | FINTEGERMULTIPLE | decimal(23,10) | 23 | TRUE |
基本单位 | FUNITID | int |  | FALSE |

### T_ENG_LINELOCATIONBOMPARA(生产线工位物料参数)：脚本代码

if exists (select 1
from sysindexes
where id = object_id('dbo.T_ENG_LINELOCATIONBOMPARA')
and name = 'idx_ENG_LLBP_LOCATIONID'
and indid > 0
and indid < 255)
drop index dbo.T_ENG_LINELOCATIONBOMPARA.idx_ENG_LLBP_LOCATIONID
go
if exists (select 1
from sysindexes
where id = object_id('dbo.T_ENG_LINELOCATIONBOMPARA')
and name = 'idx_ENG_LLBP_PRDLINEID'
and indid > 0
and indid < 255)
drop index dbo.T_ENG_LINELOCATIONBOMPARA.idx_ENG_LLBP_PRDLINEID
go
if exists (select 1
from sysindexes
where id = object_id('dbo.T_ENG_LINELOCATIONBOMPARA')
and name = 'idx_ENG_LLBP_MTRLID'
and indid > 0
and indid < 255)
drop index dbo.T_ENG_LINELOCATIONBOMPARA.idx_ENG_LLBP_MTRLID
go
if exists (select 1
from sysindexes
where id = object_id('dbo.T_ENG_LINELOCATIONBOMPARA')
and name = 'idx_ENG_LLBP_USEORGID'
and indid > 0
and indid < 255)
drop index dbo.T_ENG_LINELOCATIONBOMPARA.idx_ENG_LLBP_USEORGID
go
if exists (select 1
from sysobjects
where id = object_id('dbo.T_ENG_LINELOCATIONBOMPARA')
and type = 'U')
drop table dbo.T_ENG_LINELOCATIONBOMPARA
go
/*==============================================================*/
/* Table: T_ENG_LINELOCATIONBOMPARA */
/*==============================================================*/
create table dbo.T_ENG_LINELOCATIONBOMPARA (
FID int not null default 0,
FMasterId int not null default 0,
FDOCUMENTSTATUS varchar(1) null,
FFORBIDSTATUS varchar(1) null,
FNUMBER nvarchar(80) null,
FCREATEORGID int null,
FUSEORGID int null,
FCREATORID int null,
FMODIFIERID int null,
FCREATEDATE datetime null,
FMODIFYDATE datetime null,
FFORBIDDERID int null,
FAPPROVERID int null,
FFORBIDDATE datetime null,
FAPPROVEDATE datetime null,
FPRODUCTLINEID int null,
FLINELOCATION int null,
FMATERIALID int null,
FPICKINGNUMBER varchar(20) null,
FSTORAGERATION decimal(23,10) not null default 0,
FDATASOURCE varchar(20) null,
FSENDINTERVAL int null,
FINTEGERMULTIPLE decimal(23,10) not null default 0,
FUNITID int null,
constraint pk_ENG_LineLocationBomPara primary key (FID)
on "PRIMARY"
)
on "PRIMARY"
go
/*==============================================================*/
/* Index: idx_ENG_LLBP_USEORGID */
/*==============================================================*/
create index idx_ENG_LLBP_USEORGID on dbo.T_ENG_LINELOCATIONBOMPARA (
FUSEORGID ASC
)
go
/*==============================================================*/
/* Index: idx_ENG_LLBP_MTRLID */
/*==============================================================*/
create index idx_ENG_LLBP_MTRLID on dbo.T_ENG_LINELOCATIONBOMPARA (
FMATERIALID ASC
)
go
/*==============================================================*/
/* Index: idx_ENG_LLBP_PRDLINEID */
/*==============================================================*/
create index idx_ENG_LLBP_PRDLINEID on dbo.T_ENG_LINELOCATIONBOMPARA (
FPRODUCTLINEID ASC
)
go
/*==============================================================*/
/* Index: idx_ENG_LLBP_LOCATIONID */
/*==============================================================*/
create index idx_ENG_LLBP_LOCATIONID on dbo.T_ENG_LINELOCATIONBOMPARA (
FLINELOCATION ASC
)
go

### T_ENG_LINELOCATIONBOMPARA(生产线工位物料参数)：键值定义

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

### T_ENG_LINELOCATIONBOMPARA(生产线工位物料参数)：索引定义

名称 | 代码 | 唯一的 | 群集器 | 主要的 | 外键 | 候选键 | 表格
idx_ENG_LLBP_USEORGID | idx_ENG_LLBP_USEORGID | FALSE | FALSE | FALSE | FALSE | FALSE | T_ENG_LINELOCATIONBOMPARA(生产线工位物料参数)
idx_ENG_LLBP_MTRLID | idx_ENG_LLBP_MTRLID | FALSE | FALSE | FALSE | FALSE | FALSE | T_ENG_LINELOCATIONBOMPARA(生产线工位物料参数)
idx_ENG_LLBP_PRDLINEID | idx_ENG_LLBP_PRDLINEID | FALSE | FALSE | FALSE | FALSE | FALSE | T_ENG_LINELOCATIONBOMPARA(生产线工位物料参数)
idx_ENG_LLBP_LOCATIONID | idx_ENG_LLBP_LOCATIONID | FALSE | FALSE | FALSE | FALSE | FALSE | T_ENG_LINELOCATIONBOMPARA(生产线工位物料参数)

上一页

主页

下一页