MFG制造

## 数据表：T_REM_FMTRL2TDIRECT_LK(生产线在制仓库调拨单反写规则表)

### T_REM_FMTRL2TDIRECT_LK(生产线在制仓库调拨单反写规则表)：描述

名称 | T_REM_FMTRL2TDIRECT_LK(生产线在制仓库调拨单反写规则表)
代码 | T_REM_FMTRL2TDIRECT_LK
注释 | 生产线在制仓库调拨单反写规则表
模型 | MFG制造
主键 | PK_REM_FMTRL2TDIRECT_LK

### T_REM_FMTRL2TDIRECT_LK(生产线在制仓库调拨单反写规则表)：列规格定义

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

### T_REM_FMTRL2TDIRECT_LK(生产线在制仓库调拨单反写规则表)：脚本代码

if exists (select 1
from sysindexes
where id = object_id('T_REM_FMTRL2TDIRECT_LK')
and name = 'IDX_REM_DIRECT_LK_FSTBID'
and indid > 0
and indid < 255)
drop index T_REM_FMTRL2TDIRECT_LK.IDX_REM_DIRECT_LK_FSTBID
go
if exists (select 1
from sysindexes
where id = object_id('T_REM_FMTRL2TDIRECT_LK')
and name = 'IDX_REM_DIRECT_LK_FSID'
and indid > 0
and indid < 255)
drop index T_REM_FMTRL2TDIRECT_LK.IDX_REM_DIRECT_LK_FSID
go
if exists (select 1
from sysindexes
where id = object_id('T_REM_FMTRL2TDIRECT_LK')
and name = 'IDX_REM_DIRECT_LK_FSBILLID'
and indid > 0
and indid < 255)
drop index T_REM_FMTRL2TDIRECT_LK.IDX_REM_DIRECT_LK_FSBILLID
go
if exists (select 1
from sysindexes
where id = object_id('T_REM_FMTRL2TDIRECT_LK')
and name = 'IDX_REM_DIRECT_LK_FENID'
and indid > 0
and indid < 255)
drop index T_REM_FMTRL2TDIRECT_LK.IDX_REM_DIRECT_LK_FENID
go
if exists (select 1
from sysobjects
where id = object_id('T_REM_FMTRL2TDIRECT_LK')
and type = 'U')
drop table T_REM_FMTRL2TDIRECT_LK
go
/*==============================================================*/
/* Table: T_REM_FMTRL2TDIRECT_LK */
/*==============================================================*/
create table T_REM_FMTRL2TDIRECT_LK (
FENTRYID int null,
FLINKID int not null default 0,
FFLOWID varchar(36) null,
FFLOWLINEID int null,
FRULEID varchar(36) null,
FSTABLEID int null,
FSTABLENAME varchar(30) null,
FSBILLID varchar(36) null,
FSID varchar(36) null,
FBASEQTYOLD decimal(23,10) not null default 0,
FBASEQTY decimal(23,10) not null default 0,
FBASEPRDQTY decimal(23,10) not null default 0,
FBASEPRDQTYOLD decimal(23,10) not null default 0,
constraint PK_REM_FMTRL2TDIRECT_LK primary key (FLINKID)
on "PRIMARY"
)
on "PRIMARY"
go
/*==============================================================*/
/* Index: IDX_REM_DIRECT_LK_FENID */
/*==============================================================*/
create index IDX_REM_DIRECT_LK_FENID on T_REM_FMTRL2TDIRECT_LK (
FENTRYID ASC
)
go
/*==============================================================*/
/* Index: IDX_REM_DIRECT_LK_FSBILLID */
/*==============================================================*/
create index IDX_REM_DIRECT_LK_FSBILLID on T_REM_FMTRL2TDIRECT_LK (
FSBILLID ASC
)
go
/*==============================================================*/
/* Index: IDX_REM_DIRECT_LK_FSID */
/*==============================================================*/
create index IDX_REM_DIRECT_LK_FSID on T_REM_FMTRL2TDIRECT_LK (
FSID ASC
)
go
/*==============================================================*/
/* Index: IDX_REM_DIRECT_LK_FSTBID */
/*==============================================================*/
create index IDX_REM_DIRECT_LK_FSTBID on T_REM_FMTRL2TDIRECT_LK (
FSTABLEID ASC
)
go

### T_REM_FMTRL2TDIRECT_LK(生产线在制仓库调拨单反写规则表)：键值定义

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

### T_REM_FMTRL2TDIRECT_LK(生产线在制仓库调拨单反写规则表)：索引定义

名称 | 代码 | 唯一的 | 群集器 | 主要的 | 外键 | 候选键 | 表格
IDX_REM_DIRECT_LK_FENID | IDX_REM_DIRECT_LK_FENID | FALSE | FALSE | FALSE | FALSE | FALSE | T_REM_FMTRL2TDIRECT_LK(生产线在制仓库调拨单反写规则表)
IDX_REM_DIRECT_LK_FSBILLID | IDX_REM_DIRECT_LK_FSBILLID | FALSE | FALSE | FALSE | FALSE | FALSE | T_REM_FMTRL2TDIRECT_LK(生产线在制仓库调拨单反写规则表)
IDX_REM_DIRECT_LK_FSID | IDX_REM_DIRECT_LK_FSID | FALSE | FALSE | FALSE | FALSE | FALSE | T_REM_FMTRL2TDIRECT_LK(生产线在制仓库调拨单反写规则表)
IDX_REM_DIRECT_LK_FSTBID | IDX_REM_DIRECT_LK_FSTBID | FALSE | FALSE | FALSE | FALSE | FALSE | T_REM_FMTRL2TDIRECT_LK(生产线在制仓库调拨单反写规则表)

上一页

主页

下一页