MFG制造

## 数据表：T_REM_PICKMTRLDATA_LK(生产线领料单明细反写规则表)

### T_REM_PICKMTRLDATA_LK(生产线领料单明细反写规则表)：描述

名称 | T_REM_PICKMTRLDATA_LK(生产线领料单明细反写规则表)
代码 | T_REM_PICKMTRLDATA_LK
注释 | 生产线领料单明细反写规则表
模型 | MFG制造
主键 | PK_REM_PICKMTRLDATA_LK

### T_REM_PICKMTRLDATA_LK(生产线领料单明细反写规则表)：列规格定义

名称 | 代码 | 数据类型 | 长度 | 强制 | 注释
分录ID | FENTRYID | int |  | TRUE |
反写主键 | 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 |
控制字段旧值 | FBASEACTUALQTYOLD | decimal(23,10) | 23 | TRUE |
控制字段 | FBASEACTUALQTY | decimal(23,10) | 23 | TRUE |

### T_REM_PICKMTRLDATA_LK(生产线领料单明细反写规则表)：脚本代码

if exists (select 1
from sysindexes
where id = object_id('dbo.T_REM_PICKMTRLDATA_LK')
and name = 'IDX_REM_PMDATA_LK_STABLEID'
and indid > 0
and indid < 255)
drop index dbo.T_REM_PICKMTRLDATA_LK.IDX_REM_PMDATA_LK_STABLEID
go
if exists (select 1
from sysindexes
where id = object_id('dbo.T_REM_PICKMTRLDATA_LK')
and name = 'IDX_REM_PMDATA_LK_SID'
and indid > 0
and indid < 255)
drop index dbo.T_REM_PICKMTRLDATA_LK.IDX_REM_PMDATA_LK_SID
go
if exists (select 1
from sysindexes
where id = object_id('dbo.T_REM_PICKMTRLDATA_LK')
and name = 'IDX_REM_PMDATA_LK_SBILLID'
and indid > 0
and indid < 255)
drop index dbo.T_REM_PICKMTRLDATA_LK.IDX_REM_PMDATA_LK_SBILLID
go
if exists (select 1
from sysindexes
where id = object_id('dbo.T_REM_PICKMTRLDATA_LK')
and name = 'IDX_REM_PMDATA_LK_ENTRYID'
and indid > 0
and indid < 255)
drop index dbo.T_REM_PICKMTRLDATA_LK.IDX_REM_PMDATA_LK_ENTRYID
go
if exists (select 1
from sysobjects
where id = object_id('dbo.T_REM_PICKMTRLDATA_LK')
and type = 'U')
drop table dbo.T_REM_PICKMTRLDATA_LK
go
/*==============================================================*/
/* Table: T_REM_PICKMTRLDATA_LK */
/*==============================================================*/
create table dbo.T_REM_PICKMTRLDATA_LK (
FENTRYID int not null default 0,
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,
FBASEACTUALQTYOLD decimal(23,10) not null default 0,
FBASEACTUALQTY decimal(23,10) not null default 0,
constraint PK_REM_PICKMTRLDATA_LK primary key (FLINKID)
on "PRIMARY"
)
on "PRIMARY"
go
/*==============================================================*/
/* Index: IDX_REM_PMDATA_LK_ENTRYID */
/*==============================================================*/
create index IDX_REM_PMDATA_LK_ENTRYID on dbo.T_REM_PICKMTRLDATA_LK (
FENTRYID ASC
)
go
/*==============================================================*/
/* Index: IDX_REM_PMDATA_LK_SBILLID */
/*==============================================================*/
create index IDX_REM_PMDATA_LK_SBILLID on dbo.T_REM_PICKMTRLDATA_LK (
FSBILLID ASC
)
go
/*==============================================================*/
/* Index: IDX_REM_PMDATA_LK_SID */
/*==============================================================*/
create index IDX_REM_PMDATA_LK_SID on dbo.T_REM_PICKMTRLDATA_LK (
FSID ASC
)
go
/*==============================================================*/
/* Index: IDX_REM_PMDATA_LK_STABLEID */
/*==============================================================*/
create index IDX_REM_PMDATA_LK_STABLEID on dbo.T_REM_PICKMTRLDATA_LK (
FSTABLEID ASC
)
go

### T_REM_PICKMTRLDATA_LK(生产线领料单明细反写规则表)：键值定义

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

### T_REM_PICKMTRLDATA_LK(生产线领料单明细反写规则表)：索引定义

名称 | 代码 | 唯一的 | 群集器 | 主要的 | 外键 | 候选键 | 表格
IDX_REM_PMDATA_LK_ENTRYID | IDX_REM_PMDATA_LK_ENTRYID | FALSE | FALSE | FALSE | FALSE | FALSE | T_REM_PICKMTRLDATA_LK(生产线领料单明细反写规则表)
IDX_REM_PMDATA_LK_SBILLID | IDX_REM_PMDATA_LK_SBILLID | FALSE | FALSE | FALSE | FALSE | FALSE | T_REM_PICKMTRLDATA_LK(生产线领料单明细反写规则表)
IDX_REM_PMDATA_LK_SID | IDX_REM_PMDATA_LK_SID | FALSE | FALSE | FALSE | FALSE | FALSE | T_REM_PICKMTRLDATA_LK(生产线领料单明细反写规则表)
IDX_REM_PMDATA_LK_STABLEID | IDX_REM_PMDATA_LK_STABLEID | FALSE | FALSE | FALSE | FALSE | FALSE | T_REM_PICKMTRLDATA_LK(生产线领料单明细反写规则表)

上一页

主页

下一页