MFG制造

## 数据表：T_SFC_OPERATIONTRANSFER_LK(工序转移单反写规则表)

### T_SFC_OPERATIONTRANSFER_LK(工序转移单反写规则表)：描述

名称 | T_SFC_OPERATIONTRANSFER_LK(工序转移单反写规则表)
代码 | T_SFC_OPERATIONTRANSFER_LK
注释 |
模型 | MFG制造
主键 | PK_SFC_OPERATIONTRANSFER_LK

### T_SFC_OPERATIONTRANSFER_LK(工序转移单反写规则表)：列规格定义

名称 | 代码 | 数据类型 | 长度 | 强制 | 注释
内码 | FID | int |  | FALSE |
反写主键 | FLINKID | int |  | TRUE |
流程图标识 | FFLOWID | varchar(36) | 36 | TRUE |
流程图路线标识 | FFLOWLINEID | int |  | TRUE |
转换规则标识 | FRULEID | varchar(36) | 36 | TRUE |
表编号 | FSTABLEID | int |  | FALSE |
源单表名 | FSTABLENAME | varchar(30) | 30 | TRUE |
源单单据内码 | FSBILLID | varchar(36) | 36 | FALSE |
源单分录内码 | FSID | varchar(36) | 36 | FALSE |
控制字段(基本单位转移数量)旧值 | FTRANSFERBASEQTYOLD | decimal(23,10) | 23 | TRUE |
控制字段(基本单位转移数量) | FTRANSFERBASEQTY | decimal(23,10) | 23 | TRUE |

### T_SFC_OPERATIONTRANSFER_LK(工序转移单反写规则表)：脚本代码

if exists (select 1
from sysindexes
where id = object_id('T_SFC_OPERATIONTRANSFER_LK')
and name = 'IDX_SFC_OT_LK_STABLEID'
and indid > 0
and indid < 255)
drop index T_SFC_OPERATIONTRANSFER_LK.IDX_SFC_OT_LK_STABLEID
go
if exists (select 1
from sysindexes
where id = object_id('T_SFC_OPERATIONTRANSFER_LK')
and name = 'IDX_SFC_OT_LK_SID'
and indid > 0
and indid < 255)
drop index T_SFC_OPERATIONTRANSFER_LK.IDX_SFC_OT_LK_SID
go
if exists (select 1
from sysindexes
where id = object_id('T_SFC_OPERATIONTRANSFER_LK')
and name = 'IDX_SFC_OT_LK_SBILLID'
and indid > 0
and indid < 255)
drop index T_SFC_OPERATIONTRANSFER_LK.IDX_SFC_OT_LK_SBILLID
go
if exists (select 1
from sysindexes
where id = object_id('T_SFC_OPERATIONTRANSFER_LK')
and name = 'IDX_SFC_OT_LK_FID'
and indid > 0
and indid < 255)
drop index T_SFC_OPERATIONTRANSFER_LK.IDX_SFC_OT_LK_FID
go
if exists (select 1
from sysobjects
where id = object_id('T_SFC_OPERATIONTRANSFER_LK')
and type = 'U')
drop table T_SFC_OPERATIONTRANSFER_LK
go
/*==============================================================*/
/* Table: T_SFC_OPERATIONTRANSFER_LK */
/*==============================================================*/
create table T_SFC_OPERATIONTRANSFER_LK (
FID int null,
FLINKID int not null default 0,
FFLOWID varchar(36) not null default '',
FFLOWLINEID int not null default 0,
FRULEID varchar(36) not null default '',
FSTABLEID int null,
FSTABLENAME varchar(30) not null default '',
FSBILLID varchar(36) null,
FSID varchar(36) null,
FTRANSFERBASEQTYOLD decimal(23,10) not null default 0,
FTRANSFERBASEQTY decimal(23,10) not null default 0,
constraint PK_SFC_OPERATIONTRANSFER_LK primary key (FLINKID)
on "PRIMARY"
)
on "PRIMARY"
go
/*==============================================================*/
/* Index: IDX_SFC_OT_LK_FID */
/*==============================================================*/
create index IDX_SFC_OT_LK_FID on T_SFC_OPERATIONTRANSFER_LK (
FID ASC
)
go
/*==============================================================*/
/* Index: IDX_SFC_OT_LK_SBILLID */
/*==============================================================*/
create index IDX_SFC_OT_LK_SBILLID on T_SFC_OPERATIONTRANSFER_LK (
FSBILLID ASC
)
go
/*==============================================================*/
/* Index: IDX_SFC_OT_LK_SID */
/*==============================================================*/
create index IDX_SFC_OT_LK_SID on T_SFC_OPERATIONTRANSFER_LK (
FSID ASC
)
go
/*==============================================================*/
/* Index: IDX_SFC_OT_LK_STABLEID */
/*==============================================================*/
create index IDX_SFC_OT_LK_STABLEID on T_SFC_OPERATIONTRANSFER_LK (
FSTABLEID ASC
)
go

### T_SFC_OPERATIONTRANSFER_LK(工序转移单反写规则表)：键值定义

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

### T_SFC_OPERATIONTRANSFER_LK(工序转移单反写规则表)：索引定义

名称 | 代码 | 唯一的 | 群集器 | 主要的 | 外键 | 候选键 | 表格
IDX_SFC_OT_LK_FID | IDX_SFC_OT_LK_FID | FALSE | FALSE | FALSE | FALSE | FALSE | T_SFC_OPERATIONTRANSFER_LK(工序转移单反写规则表)
IDX_SFC_OT_LK_SBILLID | IDX_SFC_OT_LK_SBILLID | FALSE | FALSE | FALSE | FALSE | FALSE | T_SFC_OPERATIONTRANSFER_LK(工序转移单反写规则表)
IDX_SFC_OT_LK_SID | IDX_SFC_OT_LK_SID | FALSE | FALSE | FALSE | FALSE | FALSE | T_SFC_OPERATIONTRANSFER_LK(工序转移单反写规则表)
IDX_SFC_OT_LK_STABLEID | IDX_SFC_OT_LK_STABLEID | FALSE | FALSE | FALSE | FALSE | FALSE | T_SFC_OPERATIONTRANSFER_LK(工序转移单反写规则表)

上一页

主页

下一页