MFG制造

## 数据表：T_QT_LOTSNRELATION_LK(批号序列号关系维护反写规则表)

### T_QT_LOTSNRELATION_LK(批号序列号关系维护反写规则表)：描述

名称 | T_QT_LOTSNRELATION_LK(批号序列号关系维护反写规则表)
代码 | T_QT_LOTSNRELATION_LK
注释 |
模型 | MFG制造
主键 | Key_1

### T_QT_LOTSNRELATION_LK(批号序列号关系维护反写规则表)：列规格定义

名称 | 代码 | 数据类型 | 长度 | 强制 | 注释
分录内码 | FID | int |  | TRUE |
反写主键 | FLinkId | int |  | TRUE |
流程图标识 | FFlowId | varchar(36) | 36 | TRUE |
流程图线路标识 | FFlowLineId | int |  | TRUE |
转换规则标识 | FRuleId | varchar(36) | 36 | TRUE |
源表ID | FSTableId | int |  | TRUE |
源表名称 | FSTableName | varchar(30) | 30 | TRUE |
源单内码 | FSBillId | int |  | TRUE |
源单分录内码 | FSId | int |  | TRUE |

### T_QT_LOTSNRELATION_LK(批号序列号关系维护反写规则表)：脚本代码

if exists (select 1
from sysindexes
where id = object_id('T_QT_LOTSNRELATION_LK')
and name = 'IDX_QT_LSNR_LK_SRCNAME'
and indid > 0
and indid < 255)
drop index T_QT_LOTSNRELATION_LK.IDX_QT_LSNR_LK_SRCNAME
go
if exists (select 1
from sysindexes
where id = object_id('T_QT_LOTSNRELATION_LK')
and name = 'IDX_QT_LSNR_LK_SRCEID'
and indid > 0
and indid < 255)
drop index T_QT_LOTSNRELATION_LK.IDX_QT_LSNR_LK_SRCEID
go
if exists (select 1
from sysindexes
where id = object_id('T_QT_LOTSNRELATION_LK')
and name = 'IDX_QT_LSNR_LK_SRCID'
and indid > 0
and indid < 255)
drop index T_QT_LOTSNRELATION_LK.IDX_QT_LSNR_LK_SRCID
go
if exists (select 1
from sysindexes
where id = object_id('T_QT_LOTSNRELATION_LK')
and name = 'IDX_QT_LOTSNRELATION_LK'
and indid > 0
and indid < 255)
drop index T_QT_LOTSNRELATION_LK.IDX_QT_LOTSNRELATION_LK
go
if exists (select 1
from sysobjects
where id = object_id('T_QT_LOTSNRELATION_LK')
and type = 'U')
drop table T_QT_LOTSNRELATION_LK
go
/*==============================================================*/
/* Table: T_QT_LOTSNRELATION_LK */
/*==============================================================*/
create table T_QT_LOTSNRELATION_LK (
FID int not null default 0,
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 not null default 0,
FSTableName varchar(30) not null default ' ',
FSBillId int not null default 0,
FSId int not null default 0,
constraint PK_T_QT_LOTSNRELATION_LK primary key (FLinkId)
)
go
/*==============================================================*/
/* Index: IDX_QT_LOTSNRELATION_LK */
/*==============================================================*/
create index IDX_QT_LOTSNRELATION_LK on T_QT_LOTSNRELATION_LK (
FID ASC
)
go
/*==============================================================*/
/* Index: IDX_QT_LSNR_LK_SRCID */
/*==============================================================*/
create index IDX_QT_LSNR_LK_SRCID on T_QT_LOTSNRELATION_LK (
FSBillId ASC
)
go
/*==============================================================*/
/* Index: IDX_QT_LSNR_LK_SRCEID */
/*==============================================================*/
create index IDX_QT_LSNR_LK_SRCEID on T_QT_LOTSNRELATION_LK (
FSId ASC
)
go
/*==============================================================*/
/* Index: IDX_QT_LSNR_LK_SRCNAME */
/*==============================================================*/
create index IDX_QT_LSNR_LK_SRCNAME on T_QT_LOTSNRELATION_LK (
FSTableName ASC
)
go

### T_QT_LOTSNRELATION_LK(批号序列号关系维护反写规则表)：键值定义

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

### T_QT_LOTSNRELATION_LK(批号序列号关系维护反写规则表)：索引定义

名称 | 代码 | 唯一的 | 群集器 | 主要的 | 外键 | 候选键 | 表格
IDX_QT_LOTSNRELATION_LK | IDX_QT_LOTSNRELATION_LK | FALSE | FALSE | FALSE | FALSE | FALSE | T_QT_LOTSNRELATION_LK(批号序列号关系维护反写规则表)
IDX_QT_LSNR_LK_SRCID | IDX_QT_LSNR_LK_SRCID | FALSE | FALSE | FALSE | FALSE | FALSE | T_QT_LOTSNRELATION_LK(批号序列号关系维护反写规则表)
IDX_QT_LSNR_LK_SRCEID | IDX_QT_LSNR_LK_SRCEID | FALSE | FALSE | FALSE | FALSE | FALSE | T_QT_LOTSNRELATION_LK(批号序列号关系维护反写规则表)
IDX_QT_LSNR_LK_SRCNAME | IDX_QT_LSNR_LK_SRCNAME | FALSE | FALSE | FALSE | FALSE | FALSE | T_QT_LOTSNRELATION_LK(批号序列号关系维护反写规则表)

上一页

主页

下一页